ChangeLog: Mention bugnumber for last commit.
[platform/upstream/gstreamer.git] / ChangeLog
1 2008-06-25  Stefan Kost  <ensonic@users.sf.net>
2
3         * ChangeLog:
4           Mention bugnumber for last commit.
5
6 2008-06-25  Stefan Kost  <ensonic@users.sf.net>
7
8         patch by: Luc Pionchon  <luc.pionchon@nokia.com>
9
10         * docs/manual/manual.xml:
11         - Reorganised the previous "introduction" bundle into Foreword,
12         Introduction, and About GStreamer. The two first are <preface>
13         docbook elements. The later is the first part of the book.
14         - added intro-gstreamer.xml (content partially from
15         intro-preface.xml)
16         - moved appendix-win32.xml into appendix-integration.xml
17
18         * docs/manual/intro-preface.xml: gstreamer section moved...
19         * docs/manual/intro-gstreamer.xml: ...here. new file.
20
21         * docs/manual/appendix-win32.xml: removed file. Content moved...
22         * docs/manual/appendix-integration.xml: ...here.
23         
24         * docs/manual/highlevel-components.xml: section about GstEditor moved...
25         * docs/manual/appendix-checklist.xml: ...here.
26         
27         Fixes: 538764
28
29 2008-06-25  Stefan Kost  <ensonic@users.sf.net>
30
31         patch by: Luc Pionchon  <luc.pionchon@nokia.com>
32
33         * docs/manual/basics-helloworld.xml:
34         * docs/manual/hello-world.fig:
35           - Explicitely include glib.h.
36           - Do not use global variables.
37           - Use g_printerr() instead of g_print().
38           - Minor formating/renaming to increase readibility.
39           - Renamed new_pad() to on_pad_added()
40           - Improved explenatory comments.
41           - renamed ogg parser to ogg demuxer
42           - Use "autoaudiosink" instead of "alsasink".
43           Fixes: #538619
44
45 2008-06-25  Stefan Kost  <ensonic@users.sf.net>
46
47         * ChangeLog:
48           Remove cvs conflict marker.
49
50 2008-06-25  Stefan Kost  <ensonic@users.sf.net>
51
52         * docs/README:
53           Document that for plgin-docs we extraxt he short-desc from the element
54           details.
55
56         * docs/design/part-states.txt:
57           Tell that devices should be closed in PAUSED -> READY.
58
59         * docs/manual/README:
60           Document how tests in the manual are handled.
61
62         * docs/manuals.mak:
63           Typo in comment.
64
65 2008-06-25  Wim Taymans  <wim.taymans@collabora.co.uk>
66
67         * gst/gstbin.c: (bin_query_latency_fold):
68         Only care about latency min and max when the sink is actually a live
69         sink.
70
71 2008-06-25  Wim Taymans  <wim.taymans@collabora.co.uk>
72
73         * docs/design/part-block.txt:
74         Fix typo.
75
76         * docs/design/part-element-transform.txt:
77         Add notes about why transform needs to know input/output sizes.
78         Add some issues that need to be solved.
79         Add some more use cases.
80
81         * tests/check/libs/test_transform.c: (gst_test_trans_base_init),
82         (gst_test_trans_class_init), (result_sink_chain),
83         (result_buffer_alloc), (gst_test_trans_new), (gst_test_trans_free),
84         (gst_test_trans_push), (gst_test_trans_pop):
85         * tests/check/libs/transform1.c: (buffer_alloc_pt1),
86         (set_caps_pt1), (GST_START_TEST), (set_caps_pt2), (transform_ip_1),
87         (set_caps_1), (set_caps_ct1), (transform_ct1),
88         (transform_caps_ct1), (transform_size_ct1), (buffer_alloc_ct1),
89         (gst_basetransform_suite):
90         Add suport for different pad templates and buffer-alloc.
91         Add more checks for caps and buffer-alloc.
92         Add checks for proxy buffer alloc.
93         Add unit test for copy transform.
94
95 2008-06-24  Tim-Philipp Müller  <tim.muller at collabora co uk>
96
97         Patch by: Luc Pionchon  <luc.pionchon@nokia.com>
98
99         * docs/manual/appendix-integration.xml:
100         * docs/manual/appendix-licensing.xml:
101         * docs/manual/basics-elements.xml:
102         * docs/manual/basics-helloworld.xml:
103         * docs/manual/basics-pads.xml:
104         * docs/manual/highlevel-components.xml:
105         * docs/manual/highlevel-xml.xml:
106         * docs/manual/intro-basics.xml:
107         * docs/manual/intro-preface.xml:
108           Typo and formatting fixes (#538594).
109
110 2008-06-24  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
111
112         * tests/check/gst/gstghostpad.c: (GST_START_TEST):
113         Fix some memory leaks and uses of object instances that we don't
114         actually own.
115
116 2008-06-22  Thijs Vermeir  <thijsvermeir@gmail.com>
117
118         * plugins/elements/gstmultiqueue.c:
119         Add functionality to extra-size-buffers property.
120
121 2008-06-22  Thijs Vermeir  <thijsvermeir@gmail.com>
122
123         * plugins/elements/gstmultiqueue.c:
124         Don't update the cur_time on GST_CLOCK_TIME_NONE (#537804) and don't
125         activate the pads if they are added in STATE_NULL.
126
127 2008-06-21  Thijs Vermeir  <thijsvermeir@gmail.com>
128
129         * docs/libs/gstreamer-libs-sections.txt:
130         Add new API to doc
131         * libs/gst/check/gstcheck.c:
132         * libs/gst/check/gstcheck.h:
133         API: gst_check_teardown_pad_by_name
134
135 2008-06-21  Thijs Vermeir  <thijsvermeir@gmail.com>
136
137         * libs/gst/check/gstcheck.c:
138         * libs/gst/check/gstcheck.h:
139         Also setup request pads and allow setup pads by name (#537812)
140         API: gst_check_setup_src_pad_by_name
141         API: gst_check_setup_sink_pad_by_name
142
143 2008-06-20  Thomas Vander Stichele  <thomas at apestaart dot org>
144
145         * tests/check/gst/gstbuffer.c:
146         * tests/check/pipelines/parse-launch.c:
147           Use HAVE_VALGRIND_H some more.
148
149 2008-06-20  Thomas Vander Stichele  <thomas at apestaart dot org>
150
151         * scripts/cvs-update.sh:
152           Pass arguments to make.
153           Run autoregen.sh if Makefile is not there.
154
155 2008-06-20  Thomas Vander Stichele  <thomas at apestaart dot org>
156
157         * configure.ac:
158         * gst/gstinfo.c:
159           Don't assume that <valgrind/valgrind.h> exists just because
160           the binary is there.
161
162 2008-06-20  Wim Taymans  <wim.taymans@collabora.co.uk>
163
164         * tests/check/Makefile.am:
165         * tests/check/libs/test_transform.c: (gst_test_trans_base_init),
166         (gst_test_trans_class_init), (gst_test_trans_init),
167         (gst_test_trans_set_data), (result_sink_chain),
168         (gst_test_trans_new), (gst_test_trans_free), (gst_test_trans_push),
169         (gst_test_trans_pop):
170         * tests/check/libs/transform1.c: (GST_START_TEST),
171         (transform_ip_1), (set_caps_1), (gst_basetransform_suite):
172         Add some test basetransform element and the beginnings of various
173         unit tests for it.
174
175 2008-06-20  Wim Taymans  <wim.taymans@collabora.co.uk>
176
177         * libs/gst/base/gsttypefindhelper.c: (helper_find_peek):
178         Increase code readability.
179         Don't try to compare buffer offsets when ther are invalid.
180
181 2008-06-20  Tim-Philipp Müller  <tim.muller at collabora co uk>
182
183         * docs/design/Makefile.am:
184           Dist some more design docs.
185
186         * docs/random/moving-plugins:
187           Small addition: good plugins mustn't have functional code
188           within assertion macros.
189
190 2008-06-20  Wim Taymans  <wim.taymans@collabora.co.uk>
191
192         * docs/design/draft-framestep.txt:
193         Some ideas about a framestep API
194
195         * docs/design/part-element-transform.txt:
196         Start design and use cases for basetransform in order to get it
197         fixed soon.
198
199 2008-06-20  Tim-Philipp Müller  <tim.muller at collabora co uk>
200
201         * gst/gsttaglist.h:
202           In GST_TAG_ATTACHEMENT docs, mention that the file name needs to
203           be in UTF-8 encoding.
204
205 2008-06-20  Tim-Philipp Müller  <tim.muller at collabora co uk>
206
207         * gst/gstbus.c:
208           Make it known that gst_bus_poll() is pure evil (fixes #538810).
209
210 2008-06-20  Stefan Kost  <ensonic@users.sf.net>
211
212         * plugins/elements/gstcapsfilter.c:
213         * plugins/elements/gstfakesink.c:
214         * plugins/elements/gstfakesrc.c:
215         * plugins/elements/gstfdsink.c:
216         * plugins/elements/gstfdsrc.c:
217         * plugins/elements/gstfilesink.c:
218         * plugins/elements/gstfilesrc.c:
219         * plugins/elements/gstidentity.c:
220         * plugins/elements/gstmultiqueue.c:
221         * plugins/elements/gstqueue.c:
222         * plugins/elements/gsttee.c:
223         * plugins/elements/gsttypefindelement.c:
224           Remove short_description. Add basic docs for gsttypefindelement.
225           Simplify markup for fakesrc/fdsrc.
226
227 2008-06-20  Wim Taymans  <wim.taymans@collabora.co.uk>
228
229         * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init):
230         Added Since doc.
231
232 2008-06-20  Wim Taymans  <wim.taymans@collabora.co.uk>
233
234         Patch by: joel larsson <tilljoel at gmail dot com>
235
236         * docs/plugins/gstreamer-plugins.args:
237         * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init),
238         (gst_fd_src_init), (gst_fd_src_update_fd),
239         (gst_fd_src_set_property), (gst_fd_src_get_property),
240         (gst_fd_src_create):
241         * plugins/elements/gstfdsrc.h:
242         Add timeout property like udpsrc. Fixes #538628.
243         Add some more docs and example pipelines.
244
245 2008-06-20  Wim Taymans  <wim.taymans@collabora.co.uk>
246
247         * docs/libs/gstreamer-libs-sections.txt:
248         * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
249         (gst_base_sink_query_latency), (gst_base_sink_set_render_delay),
250         (gst_base_sink_get_render_delay), (gst_base_sink_wait_eos),
251         (gst_base_sink_do_sync):
252         * libs/gst/base/gstbasesink.h:
253         * win32/common/libgstbase.def:
254         Add method to allow sinks to specify additional delay between the sync
255         times and the actual rendering of the data.
256         API: gst_base_sink_set_render_delay()
257         API: gst_base_sink_get_render_delay()
258
259 2008-06-20  Jan Schmidt  <jan.schmidt@sun.com>
260
261         * configure.ac:
262         Bump version number back to dev -> 0.10.20.1
263
264 2008-06-20  Sebastian Dröge  <slomo@circular-chaos.org>
265
266         * docs/gst/gstreamer-sections.txt:
267         * gst/gsttaglist.c: (_gst_tag_initialize):
268         * gst/gsttaglist.h:
269         API: Add GST_TAG_ATTACHMENT for generic file attachments to streams.
270         Fixes bug #538568.
271
272 2008-06-20  Stefan Kost  <ensonic@users.sf.net>
273
274         * libs/gst/controller/gstcontroller.c:
275           Revert one change, that make ret value possible uninitialized.
276
277 2008-06-20  Stefan Kost  <ensonic@users.sf.net>
278
279         * libs/gst/controller/gstcontroller.c:
280           Use freeze/thaw notify to sync notify emission a bit (its also more
281           efficient). Move debug output to LOG (is called a lot in a loop).
282           Always unset g_values if the have been initialized.
283
284 2008-06-20  Wim Taymans  <wim.taymans@collabora.co.uk>
285
286         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
287         (gst_base_sink_wait_eos), (gst_base_sink_event):
288         If we have not seen a buffer before EOS, use the segment values to
289         report the current position instead of invalid positions.
290
291 2008-06-20  Stefan Kost  <ensonic@users.sf.net>
292
293         * docs/plugins/tmpl/.cvsignore:
294         * tests/check/gst/.cvsignore:
295           Ignore more.
296
297 2008-06-20  Stefan Kost  <ensonic@users.sf.net>
298
299         * libs/gst/controller/gstinterpolation.c:
300         * libs/gst/controller/gstinterpolationcontrolsource.c:
301         * tests/check/libs/controller.c:
302           Rewrite handling of default values. Fix overflow with unsigned types
303           in linear interpolation. Remove now obsolete _first_value() function.
304           Add more tests. Fixes #538201.
305
306 2008-06-20  Wim Taymans  <wim.taymans@collabora.co.uk>
307
308         * libs/gst/base/gstbasetransform.c:
309         (gst_base_transform_class_init), (gst_base_transform_init),
310         (gst_base_transform_transform_caps),
311         (gst_base_transform_prepare_output_buffer):
312         Add debug info.
313         When a buffer is writable, its metadata is also writable so we don't
314         need to subbuffer (which then makes the buffer not-writable anymore).
315
316 === release 0.10.20 ===
317
318 2008-06-18  Jan Schmidt <jan.schmidt@sun.com>
319
320         * configure.ac:
321           releasing 0.10.20, "You Crazy Diamond"
322
323 2008-06-11  Jan Schmidt  <jan.schmidt@sun.com>
324
325         * configure.ac:
326         0.10.19.3 pre-release
327
328 2008-06-11  Jan Schmidt  <jan.schmidt@sun.com>
329
330         * configure.ac:
331         * gst/gstpreset.c:
332         Rename DATADIR to GST_DATADIR to avoid build problems
333         on win32. Patch By: David Schleef <ds@schleef.org>
334         Fixes: #536857
335
336 2008-06-05  Sebastian Dröge  <slomo@circular-chaos.org>
337
338         * configure.ac:
339         Explicitely link with -ldl if dladdr() is found there. Before it was
340         implicitely linked by the gmodule pkgconfig file but in glib 2.17.0
341         -ldl has moved from Libs to Libs.private. Fixes bug #536744.
342
343 2008-06-05  Tim-Philipp Müller  <tim.muller at collabora co uk>
344
345         * gst/gsterror.c: (_gst_stream_errors_init):
346           Fix typo (spotted by Fabricio Godoy, #536723).
347
348 2008-06-05  Jan Schmidt  <jan.schmidt@sun.com>
349
350         * configure.ac:
351         0.10.19.2 pre-release
352
353 2008-06-04  Wim Taymans  <wim.taymans@collabora.co.uk>
354
355         * libs/gst/base/gstbasesink.c: (gst_base_sink_set_async_enabled),
356         (gst_base_sink_set_ts_offset), (gst_base_sink_perform_qos):
357         Add some debug.
358         Make sure we don't generate invalid QoS messages.
359
360 2008-06-04  Wim Taymans  <wim.taymans@collabora.co.uk>
361
362         * gst/gstevent.c: (gst_event_new_qos):
363         Add some assert and docs for invalid input to the qos function.
364
365 2008-05-30  Wim Taymans  <wim.taymans@collabora.co.uk>
366
367         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
368         (gst_base_sink_get_position):
369         The reported position must always be smaller than the last seen
370         timestamps (or timestamp + duration for reverse).
371
372 2008-05-30  Sebastian Dröge  <slomo@circular-chaos.org>
373
374         Patch by: Rob Bradford <rob at robster dot org dot uk>
375
376         * gst/gstregistry.c: (gst_registry_scan_path_level):
377         Don't recurse into .debug directories as some distros install
378         the debugging symbols next to the plugins in .debug directories
379         and dlopen() crashes on them sometimes. Fixes bug #508070.
380
381         Add FIXME for 0.11 to not recurse into directories at all because
382         it's very inconsistent to the behaviour of other PATH environment
383         variables.
384
385 2008-05-29  Wim Taymans  <wim.taymans@collabora.co.uk>
386
387         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
388         (gst_base_sink_get_position_last), (gst_base_sink_get_position):
389         Fix position query range checks in reverse playback.
390
391 2008-05-29  Sebastian Dröge  <slomo@circular-chaos.org>
392
393         * gst/gstelement.c:
394         * gst/gstelement.h:
395         Deprecated gst_element_get_pad() as it can't be used sanely. It's not
396         clear of the reference to the resulting pad must be released later
397         or not, resulting in possible leaks. Fixes bug #533865.
398
399 2008-05-28  Wim Taymans  <wim.taymans@collabora.co.uk>
400
401         Patch by: José Alburquerque <jaalburqu at svn dot gnome dot org>
402
403         * gst/gstelementfactory.c:
404         Small doc fix. Fixes #535285.
405
406 2008-05-28  Wim Taymans  <wim.taymans@collabora.co.uk>
407
408         Based on patch by: Bjarne Rosengren <bjarne at axis dot com>
409
410         * libs/gst/base/gstbasesrc.c: (gst_base_src_send_event),
411         (gst_base_src_get_range), (gst_base_src_pad_get_range),
412         (gst_base_src_loop), (gst_base_src_set_flushing),
413         (gst_base_src_change_state):
414         Make sending an EOS event to the basesrc non-blocking even if the
415         implementation does blocking waits in the create function. This is done
416         by unlocking the create function when EOS is sent.
417         Fixes #535218.
418
419 2008-05-28  Sebastian Dröge  <slomo@circular-chaos.org>
420
421         * tools/gst-inspect.c: (print_element_properties_info):
422         If possible print the element type of GValueArray properties.
423
424 2008-05-28  Sebastian Dröge  <slomo@circular-chaos.org>
425
426         * gst/gstiterator.c:
427         Remove an unused field from the private GstListIterator struct.
428
429 2008-05-27  Stefan Kost  <ensonic@users.sf.net>
430
431         * libs/gst/controller/gstcontroller.c:
432           Add parameter guards.
433
434 2008-05-27  Stefan Kost  <ensonic@users.sf.net>
435
436         * tests/check/gst/gstpipeline.c:
437           Revert test change and add comment why it should not work.
438
439 2008-05-27  Stefan Kost  <ensonic@users.sf.net>
440
441         * tests/check/gst/gstpipeline.c:
442           Extending the test a little to verify that we also get the NULL state-
443           change message.
444
445 2008-05-27  Tim-Philipp Müller  <tim.muller at collabora co uk>
446
447         * gst/gstpreset.c: (gst_preset_default_get_meta),
448           (gst_preset_get_preset_names), (gst_preset_get_property_names),
449           (gst_preset_load_preset), (gst_preset_save_preset),
450           (gst_preset_rename_preset), (gst_preset_delete_preset),
451           (gst_preset_set_meta):
452           Add Since: markers to docs blurbs.
453
454         * win32/common/libgstreamer.def:
455           Add recently-added API.
456
457 2008-05-27  Wim Taymans  <wim.taymans@collabora.co.uk>
458
459         Patch by: Stefan Kost  <ensonic@users.sf.net>
460
461         * configure.ac:
462         Add DATADIR for storing presets.
463
464         * docs/gst/gstreamer-docs.sgml:
465         * docs/gst/gstreamer-sections.txt:
466         * docs/gst/gstreamer.types.in:
467         Add GstPreset to docs.
468
469         * gst/Makefile.am:
470         * gst/gst.h:
471         * gst/gstpreset.c: (preset_get_paths), (preset_skip_property),
472         (preset_open_and_parse_header), (preset_parse_version),
473         (preset_merge), (preset_get_keyfile),
474         (gst_preset_default_get_preset_names),
475         (gst_preset_default_get_property_names),
476         (gst_preset_default_load_preset),
477         (gst_preset_default_save_presets_file),
478         (gst_preset_default_save_preset),
479         (gst_preset_default_rename_preset),
480         (gst_preset_default_delete_preset), (gst_preset_default_set_meta),
481         (gst_preset_default_get_meta), (gst_preset_default_randomize),
482         (gst_preset_default_reset), (gst_preset_get_preset_names),
483         (gst_preset_get_property_names), (gst_preset_load_preset),
484         (gst_preset_save_preset), (gst_preset_rename_preset),
485         (gst_preset_delete_preset), (gst_preset_set_meta),
486         (gst_preset_get_meta), (gst_preset_class_init),
487         (gst_preset_base_init), (gst_preset_get_type):
488         * gst/gstpreset.h:
489         Add GstPreset to core. Fixes #396779
490
491         * tests/check/Makefile.am:
492         * tests/check/gst/gstpreset.c: (gst_preset_test_get_property),
493         (gst_preset_test_set_property), (gst_preset_test_class_init),
494         (gst_preset_test_base_init), (gst_preset_test_get_type),
495         (gst_preset_test_plugin_init), (GST_START_TEST),
496         (remove_preset_file), (test_setup), (test_teardown),
497         (gst_preset_suite):
498         Add GstPreset unit tests.
499
500 2008-05-27  Wim Taymans  <wim.taymans@collabora.co.uk>
501
502         * gst/gstpad.c: (gst_pad_event_default_dispatch):
503         The default event function on a sinkpad should return TRUE when
504         there are no internal links but should collect the return values from
505         the internal links otherwise.
506
507 2008-05-27  Wim Taymans  <wim.taymans@collabora.co.uk>
508
509         * plugins/elements/gsttypefindelement.c:
510         (gst_type_find_element_src_event),
511         (gst_type_find_element_handle_event):
512         Use faster and safer _pad_push_event().
513
514 2008-05-27  Tim-Philipp Müller  <tim.muller at collabora co uk>
515
516         * docs/gst/gstreamer-sections.txt:
517         * gst/gstutils.c: (element_find_unlinked_pad),
518           (gst_bin_find_unlinked_pad), (gst_bin_find_unconnected_pad),
519         * gst/gstutils.h:
520           API: add gst_bin_find_unlinked_pad()
521           API: deprecate gst_bin_find_unconnected_pad() (#401456)
522
523 2008-05-26  Peter Kjellerstedt  <pkj@axis.com>
524
525         * gst/gstclock.c:
526         * gst/gstclock.h:
527         * gst/gsttask.c:
528         * gst/gsttask.h:
529         Fixed a bunch of typos.
530
531 2008-05-25  Tim-Philipp Müller  <tim.muller at collabora co uk>
532
533         * gst/gstpad.h:
534         * gst/gstutils.c: (gst_element_unlink), (element_find_unlinked_pad),
535           (gst_bin_find_unconnected_pad), (gst_parse_bin_from_description),
536           (gst_parse_bin_from_description_full):
537         * gst/gstutils.h:
538           'unconnected pad' -> 'unlinked pad' for consistency (#401456).
539
540 2008-05-25  Tim-Philipp Müller  <tim.muller at collabora co uk>
541
542         * docs/pwg/advanced-tagging.xml:
543           Small docs update, can't be bothered to rewrite the nonsensical
544           examples right now.
545
546 2008-05-25  Tim-Philipp Müller  <tim.muller at collabora co uk>
547
548         * gst/gstevent.h:
549           Clarify docs for GST_SEEK_TYPE_CUR (#534505).
550
551 2008-05-25  Tim-Philipp Müller  <tim.muller at collabora co uk>
552
553         * gst/parse/grammar.y:
554           Remove unneeded casts.
555
556 2008-05-25  Tim-Philipp Müller  <tim.muller at collabora co uk>
557
558         * gst/parse/grammar.y:
559         * tests/check/pipelines/parse-launch.c:
560           Get all missing elements from a parse launch string if possible
561           (ie. if the FATAL_ERRORS flag has been specified). Fixes #528178.
562
563 2008-05-24  Tim-Philipp Müller  <tim.muller at collabora co uk>
564
565         * tests/check/Makefile.am:
566         * tests/check/pipelines/parse-launch.c:
567           Add some unit tests for the new gst_parse_launch*_full() API.
568           (Exposes a previously-existing memory leak in the error code
569           path, so adding to VALGRIND_TO_FIX for now).
570
571 2008-05-24  Tim-Philipp Müller  <tim.muller at collabora co uk>
572
573         * docs/gst/gstreamer-sections.txt:
574         * gst/gst.c: (init_post):
575         * gst/gst_private.h: (_GstParseContext):
576         * gst/gstparse.c: (gst_parse_error_quark), (gst_parse_context_new),
577           (gst_parse_context_free), (gst_parse_context_get_missing_elements),
578           (gst_parse_launchv), (gst_parse_launchv_full), (gst_parse_launch),
579           (gst_parse_launch_full):
580         * gst/gstparse.h: (GST_PARSE_FLAG_NONE), (GST_PARSE_FLAG_FATAL_ERRORS),
581           (GstParseFlags), (GstParseContext):
582         * gst/gstutils.c: (gst_parse_bin_from_description),
583           (gst_parse_bin_from_description_full):
584         * gst/gstutils.h:
585         * gst/parse/grammar.y:
586         * gst/parse/types.h:
587         * win32/common/libgstreamer.def:
588           Add new gst_parse_*_full API (#528178):
589           API: gst_parse_launch_full()
590           API: gst_parse_launchv_full()
591           API: gst_parse_bin_from_description_full()
592           API: gst_parse_context_new()
593           API: gst_parse_context_free()
594           API: gst_parse_context_get_missing_elements()
595
596 2008-05-23  Stefan Kost  <ensonic@users.sf.net>
597
598         patch by: Suresh Kumar P <sureshkumar.pp@gmail.com>
599
600         * docs/faq/gst-uninstalled:
601           Also support ffmpeg in gst-uninstalled.
602
603 2008-05-22  Sebastian Dröge  <slomo@circular-chaos.org>
604
605         * configure.ac:
606         After discussion on IRC use the binary registry as default
607         but allow to disable it with --disable-binary-registry.
608
609         * win32/common/libgstreamer.def:
610         Add the two new symbols for the binary registry.
611
612 2008-05-22  Tim-Philipp Müller  <tim.muller at collabora co uk>
613
614         * gst/gstparse.c: (_gst_parse_escape), (gst_parse_launchv):
615         * gst/gstutils.c: (gst_parse_bin_from_description):
616         * gst/parse/grammar.y: (graph):
617           More guards against bad input; typo fix; some minor clean-ups.
618
619 2008-05-22  Sebastian Dröge  <slomo@circular-chaos.org>
620
621         Patch by: Sjoerd Simons <sjoerd at luon dot net>
622
623         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
624         If nothing else can be used, use the last buffer's start time as
625         the segment's last stop. Fixes bug #534258.
626
627 2008-05-21  Tim-Philipp Müller  <tim.muller at collabora co uk>
628
629         * gst/gstpad.c: (gst_pad_alloc_buffer_full):
630           Move size sanity check to the right place: downstream may return
631           a buffer with a smaller size if the buffer caps are different than
632           the requested ones, as may happen when doing reverse negotiation.
633
634 2008-05-21  Wim Taymans  <wim.taymans@collabora.co.uk>
635
636         * plugins/elements/gstfilesink.c: (gst_file_sink_set_location),
637         (gst_file_sink_render):
638         * plugins/elements/gstfilesrc.c: (gst_file_src_set_location),
639         (gst_file_src_start):
640         Small cleanups. Add note adbout g_fopen() on windows and why we don't
641         use it yet.
642
643 2008-05-21  Wim Taymans  <wim.taymans@collabora.co.uk>
644
645         * gst/gstpad.c: (gst_pad_load_and_link):
646         * gst/gstutils.c: (gst_element_link_pads),
647         (gst_element_unlink_pads):
648         * libs/gst/check/gstcheck.c: (gst_check_setup_src_pad),
649         (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
650         (gst_check_teardown_sink_pad),
651         (gst_check_element_push_buffer_list):
652         * tests/check/elements/fakesink.c: (GST_START_TEST):
653         * tests/check/elements/filesink.c:
654         * tests/check/elements/filesrc.c: (GST_START_TEST):
655         * tests/check/elements/multiqueue.c: (setup_multiqueue),
656         (mq_sinkpad_to_srcpad):
657         * tests/check/elements/tee.c: (GST_START_TEST):
658         * tests/check/generic/sinks.c: (GST_START_TEST):
659         * tests/check/gst/gstbin.c: (GST_START_TEST):
660         * tests/check/gst/gstevent.c: (GST_START_TEST):
661         * tests/check/gst/gstghostpad.c: (GST_START_TEST):
662         * tests/check/gst/gstpipeline.c: (GST_START_TEST):
663         * tests/check/gst/gstquery.c: (GST_START_TEST):
664         * tests/check/gst/gstutils.c: (GST_START_TEST):
665         * tests/check/libs/basesrc.c: (GST_START_TEST):
666         * tests/check/pipelines/parse-launch.c: (run_delayed_test),
667         (gst_parse_test_element_change_state):
668         Don't use gst_element_get_pad().
669
670 2008-05-21  Felipe Contreras  <felipe.contreras@gmail.com>
671
672         * docs/Makefile.am:
673         Fix installing plugin documentation when gtk-doc is disabled.
674
675 2008-05-21  Wim Taymans  <wim.taymans@collabora.co.uk>
676
677         * docs/manual/advanced-autoplugging.xml:
678         * docs/manual/basics-helloworld.xml:
679         * docs/manual/basics-pads.xml:
680         * docs/manual/highlevel-components.xml:
681         Avoid using a bad function in the example code.
682
683 2008-05-21  Wim Taymans  <wim.taymans@collabora.co.uk>
684
685         * gst/gstclock.c: (gst_clock_set_calibration):
686         Fix debug of the new clock rate.
687
688 2008-05-21  Sebastian Dröge  <slomo@circular-chaos.org>
689
690         * win32/common/libgstbase.def:
691         Add gst_base_sink_wait_clock() to the exported symbols.
692
693 2008-05-20  Sebastian Dröge  <slomo@circular-chaos.org>
694
695         Patch by: Tim-Philipp Müller  <tim.muller at collabora co uk>
696
697         * libs/gst/base/gstbasetransform.c:
698         (gst_base_transform_sink_event):
699         Unref events that the GstBaseTransform::event vfunc didn't want to
700         have forwarded by the base class. Closes a leak in identity.
701         Fixes bug #446763.
702
703 2008-05-19  Wim Taymans  <wim.taymans@collabora.co.uk>
704
705         * docs/libs/gstreamer-libs-sections.txt:
706         * libs/gst/base/gstbasesink.c: (gst_base_sink_wait_clock):
707         * libs/gst/base/gstbasesink.h:
708         Expose a method that was previously used internally to synchronize
709         against the clock because it can be useful for subclasses too.
710         API: GstBaseSink::gst_base_sink_wait_clock()
711
712 2008-05-19  Tim-Philipp Müller  <tim.muller at collabora co uk>
713
714         * gst/gstpad.c: (gst_pad_buffer_alloc_unchecked):
715           Add sanity check to make sure we don't get smaller buffers
716           than requested (and fallback to normal buffer alloc if we do).
717
718 2008-05-19  Wim Taymans  <wim.taymans@collabora.co.uk>
719
720         * libs/gst/base/gstbasesink.c: (gst_base_sink_adjust_time),
721         (gst_base_sink_wait_clock), (gst_base_sink_wait_eos),
722         (gst_base_sink_do_sync), (gst_base_sink_chain_unlocked):
723         Refactor adjusting the running_time with latency and offset into a
724         separate method.
725         When doing clipping, we still want to use the subclass get_times method,
726         just in case the DURATION or TIMESTAMP are not set.
727
728 2008-05-19  Tim-Philipp Müller  <tim.muller at collabora co uk>
729
730         * docs/gst/gstreamer-sections.txt:
731         * gst/gsttypefind.c: (gst_type_find_suggest_simple):
732         * gst/gsttypefind.h:
733         * win32/common/libgstreamer.def:
734           API: add gst_type_find_suggest_simple(), #533740.
735
736 2008-05-19  Tim-Philipp Müller  <tim.muller at collabora co uk>
737
738         * libs/gst/base/gstbasesrc.c: (gst_base_src_start):
739           Use right error code when typefinding fails, so we can use
740           the default (translated) error messages.
741
742 2008-05-19  Wim Taymans  <wim.taymans@collabora.co.uk>
743
744         * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range),
745         (gst_base_src_start):
746         When the subclass did not set caps on outgoing buffers, configure the
747         caps we negotiated on the source pad.
748         When the typefind helper does not find caps, error out properly instead
749         of doing things with NULL caps.
750
751 2008-05-18  Tim-Philipp Müller  <tim.muller at collabora co uk>
752
753         * gst/gsttypefind.h:
754           Tabs to spaces, oh yes!
755
756 2008-05-18  Tim-Philipp Müller  <tim.muller at collabora co uk>
757
758         * tests/check/gst/gstcaps.c: (test_intersect2), (gst_caps_suite):
759           Add David's and Benjamin's tests for array intersection to the
760           unit test suite (#147931).
761
762 2008-05-18  Tim-Philipp Müller  <tim.muller at collabora co uk>
763
764         * gst/gstevent.c:
765           Document that gst_event_new_tag() and gst_event_new_navigation()
766           take ownership of the taglist/structure passed to them. (#533635).
767
768 2008-05-17  Jan Schmidt  <jan.schmidt@sun.com>
769
770         * docs/Makefile.am:
771         Don't descend into the plugins dir if plugin docs building
772         is disabled.
773
774         * docs/README:
775         Add a note about the new type:GTypeName syntax for the plugin
776         documentation .types file.
777
778 2008-05-17  Sebastian Dröge  <slomo@circular-chaos.org>
779
780         * gst/gstmessage.c: (gst_message_new_error),
781         (gst_message_new_warning), (gst_message_new_info):
782         * gst/gstmessage.h:
783         Mark the debug string parameters as const. Fixes bug #533490.
784
785 2008-05-16  Sebastian Dröge  <slomo@circular-chaos.org>
786
787         * libs/gst/base/gsttypefindhelper.c: (helper_find_peek):
788         Sort buffer cache list by end offsets. This makes sure that we don't
789         stop to search for a cached buffer that contains the requested data
790         too early.
791         Also read a minimum of 4k bytes instead of 512 bytes as this is a bit
792         more efficient. Fixes bug #459862.
793
794 2008-05-14  Stefan Kost  <ensonic@users.sf.net>
795
796         * gst/gstinfo.c:
797           Explain why we copy the list.
798
799         * gst/gstpipeline.c:
800           Improve docs.
801
802         * gst/gstutils.c:
803           Add one debug-log statement to help tracing probelms with linking pads.
804
805 2008-05-12  Stefan Kost  <ensonic@users.sf.net>
806
807         * tests/check/gst/gstinfo.c:
808         Add a test for removing the default log handler. Seems to fail under
809         windows.
810
811 2008-05-14  Wim Taymans  <wim.taymans@collabora.co.uk>
812
813         * gst/gstpad.c: (gst_pad_peer_accept_caps):
814         Release pad lock before calling out to avoid a possible deadlock.
815
816 2008-05-14  Wim Taymans  <wim.taymans@collabora.co.uk>
817
818         * gst/parse/grammar.y:
819         Remove unneeded value unset.
820
821         * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
822         Add unit test for de/serialization of caps.
823
824 2008-05-13  Sebastian Dröge  <slomo@circular-chaos.org>
825
826         * plugins/elements/gstfakesink.c:
827         (marshal_VOID__MINIOBJECT_OBJECT), (gst_fake_sink_class_init):
828         * plugins/elements/gstfakesrc.c: (marshal_VOID__MINIOBJECT_OBJECT),
829         (gst_fake_src_class_init):
830         Use custom marshalers that take GstMiniObject as first parameter.
831         Using OBJECT as parameter while a GstMiniObject is given will lead
832         to assertions if built with G_ENABLE_DEBUG. Fixes bug #525532.
833
834 2008-05-13  Sebastian Dröge  <slomo@circular-chaos.org>
835
836         * plugins/elements/gsttypefindelement.c:
837         (gst_type_find_element_handle_event),
838         (gst_type_find_element_send_cached_events),
839         (gst_type_find_element_change_state):
840         Clean up on FLUSH_STOP and not FLUSH_START. Forward both events
841         immediately.
842
843 2008-05-13  Sebastian Dröge  <slomo@circular-chaos.org>
844
845         * plugins/elements/gsttypefindelement.c:
846         (gst_type_find_handle_src_query), (stop_typefinding),
847         (gst_type_find_element_handle_event),
848         (gst_type_find_element_send_cached_events),
849         (gst_type_find_element_change_state):
850         Forward FLUSH_START events immediately and clean up instead of
851         caching them.
852
853 2008-05-13  Sebastian Dröge  <slomo@circular-chaos.org>
854
855         Patch by: Sjoerd Simons <sjoerd at luon dot net>
856
857         * libs/gst/base/gstbasetransform.c:
858         (gst_base_transform_buffer_alloc):
859         Check the caps of the buffer returned by gst_pad_alloc_buffer() and
860         fall back to default negotiation in the chain function if the caps
861         are different from what was requested. Fixes bug #526768.
862
863 2008-05-09  Tim-Philipp Müller  <tim.muller at collabora co uk>
864
865         * gst/gstsegment.c:
866         * tests/check/gst/gstsegment.c:
867           No, let's not use g_slice_{dup|copy} here, since they only exist
868           since GLib 2.14 and we still depend only on >= 2.12. Also add
869           unit test for gst_segment_copy().
870
871 2008-05-09  Tim-Philipp Müller  <tim.muller at collabora co uk>
872
873         * gst/gstutils.h: (GST_BOILERPLATE_FULL):
874           Try to fix 'dereferencing type-punned pointer will break strict
875           aliasing rules' warnings with C++ compilers and GLib >= 2.14.0: GLib
876           changed the default GType typedef from gulong to gsize at some point,
877           but kept GType typedef'ed to gulong for C++ for ABI reasons; the
878           g_once_* functions all take a gsize * though, so work around the type
879           mismatch for C++ by doing everything in gsize and casting to GType
880           later.
881
882 2008-05-09  Jan Schmidt  <jan.schmidt@sun.com>
883
884         * plugins/elements/gstmultiqueue.c:
885         Add documentation for the signals to push our core plugin docs
886         coverage back up to 100%.
887
888 2008-05-08  Ole André Vadla Ravnås  <ole.andre.ravnas at tandberg com>
889
890         * gst/gstinfo.h (GST_FUNCTION):
891           Reverted GST_FUNCTION to the old version as we don't want the
892           full signature in C++ code. Also added support for MSVC.
893
894 2008-05-08  Sebastian Dröge  <slomo@circular-chaos.org>
895
896         * gst/gstutils.h:
897         Intern the type name string, similar to what G_DEFINE_TYPE does.
898
899 2008-05-08  Sebastian Dröge  <slomo@circular-chaos.org>
900
901         * gst/gstutils.h:
902         Make GST_BOILERPLATE thread-safe if building with GLib 2.14 or newer.
903
904 2008-05-08  Sebastian Dröge  <slomo@circular-chaos.org>
905
906         Based on a patch by: Sjoerd Simons <sjoerd at luon dot net>
907
908         * libs/gst/base/gstbasetransform.c:
909         (gst_base_transform_buffer_alloc):
910         Don't passthrough buffer allocation too easily if the caps change.
911         This breaks when working in passthrough mode and upstream changes
912         it's caps. Fixes bug #526768.
913
914 2008-05-07  Ole André Vadla Ravnås  <ole.andre.ravnas at tandberg com>
915
916         * gst/gstinfo.c (gst_debug_log_valist):
917           Improved the __FILE__ part of debug output for MSVC.
918
919 2008-05-07  Ole André Vadla Ravnås  <ole.andre.ravnas at tandberg com>
920
921         * libs/gst/base/gstbasesrc.c (gst_base_src_default_query):
922           Declaration after statement fix for compilers like MSVC.
923
924 2008-05-07  Ole André Vadla Ravnås  <ole.andre.ravnas at tandberg com>
925
926         * win32/common/config.h.in:
927           Don't define GST_FUNCTION, if GLib supports MSVC we'd much rather
928           use the real thing than having "???" unconditionally.
929
930 2008-05-07  Ole André Vadla Ravnås  <ole.andre.ravnas at tandberg com>
931
932         * gst/gstinfo.h (GST_FUNCTION):
933           Made GST_FUNCTION an alias for G_STRFUNC to avoid duplication.
934
935 2008-05-07  Wim Taymans  <wim.taymans@collabora.co.uk>
936
937         * libs/gst/base/gstadapter.c: (gst_adapter_available_fast):
938         Small code cleanup.
939
940         * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency),
941         (gst_base_sink_set_flushing):
942         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek):
943         Fix some comments.
944
945 2008-05-07  Wim Taymans  <wim.taymans@collabora.co.uk>
946
947         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
948         (gst_fake_src_init), (gst_fake_src_set_property),
949         (gst_fake_src_get_property), (gst_fake_src_start):
950         * plugins/elements/gstfakesrc.h:
951         Added format property to control the format of the newsegment events.
952         API: GstFakeSrc:format
953
954 2008-05-06  Sebastian Dröge  <slomo@circular-chaos.org>
955
956         * win32/common/libgstreamer.def:
957         Add gst_pad_has_name() to the exported symbols.
958
959 2008-05-06  Sebastian Dröge  <slomo@circular-chaos.org>
960
961         * gst/gstpad.c: (gst_pad_alloc_buffer_full):
962         * libs/gst/base/gstbasetransform.c:
963         (gst_base_transform_prepare_output_buffer):
964         Don't allow negative sizes when allocating new buffers.
965         Fixes bug #461253.
966
967 2008-05-05  Tim-Philipp Müller  <tim.muller at collabora co uk>
968
969         Patch by: Sjoerd Simons <sjoerd at luon net>
970
971         * gst/gstbus.c: (gst_bus_source_dispatch):
972           Don't print a warning if the queue is empty when we try to pop
973           here. That could happen if another thread or callback set the
974           bus to flushing between the source's check/prepare and the
975           dispatch being called (#531538).
976
977 2008-05-05  Tim-Philipp Müller  <tim.muller at collabora co uk>
978
979         * plugins/elements/gstmultiqueue.c:
980           Small docs fix.
981         
982 2008-05-05  Sebastian Dröge  <slomo@circular-chaos.org>
983
984         * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
985         Add unit test for deserializing uint64s and check some really large
986         numbers in the int64 test.
987
988 2008-05-04  Sebastian Dröge  <slomo@circular-chaos.org>
989
990         * tools/gst-inspect.c: (n_print), (print_hierarchy),
991         (print_interfaces), (print_element_properties_info),
992         (print_signal_info):
993         Use "%s" as format string instead of printing strings directly.
994
995 2008-05-04  Sebastian Dröge  <slomo@circular-chaos.org>
996
997         * gst/gstclock.c: (gst_clock_set_calibration):
998         Make some checks actually useful.
999
1000         * gst/gstregistrybinary.c: (gst_registry_binary_load_plugin):
1001         Remove some unused code. Unsigned integers tend to be >= 0.
1002
1003 2008-05-03  Tim-Philipp Müller  <tim.muller at collabora co uk>
1004
1005         * gst/gstminiobject.c: (gst_value_get_mini_object):
1006           Fix 'Since:' version in gst_value_dup_mini_object() docs blurb: this
1007           function was not in the unscheduled 0.10.19 release.
1008
1009 2008-05-03  Tim-Philipp Müller  <tim.muller at collabora co uk>
1010
1011         * gst/gstregistry.c: (gst_registry_scan_path_level):
1012           Only print one log message per non-plugin file.
1013
1014 2008-05-03  Tim-Philipp Müller  <tim.muller at collabora co uk>
1015
1016         * gst/gstinfo.c: (gst_debug_log_default):
1017           Fix alignment of debug log columns on 64-bit.
1018
1019 2008-05-03  Tim-Philipp Müller  <tim.muller at collabora co uk>
1020
1021         * docs/libs/Makefile.am:
1022         * docs/libs/gstreamer-libs-sections.txt:
1023           Ignore private controller headers for docs.
1024
1025 2008-05-03  Sebastian Dröge  <slomo@circular-chaos.org>
1026
1027         * libs/gst/controller/gstcontrollerprivate.h:
1028         * libs/gst/controller/gsthelper.c:
1029         * libs/gst/controller/gstinterpolation.c:
1030         * libs/gst/controller/gstinterpolationcontrolsource.c:
1031         (gst_interpolation_control_source_set_interpolation_mode):
1032         * libs/gst/controller/gstinterpolationcontrolsourceprivate.h:
1033         * libs/gst/controller/lib.c:
1034         Move some private declarations into private headers.
1035
1036 2008-05-02  Sebastian Dröge  <slomo@circular-chaos.org>
1037
1038         * gst/gstdebugutils.c: (debug_dump_element_pad):
1039         Remove some code that is unused after Stefan's refactoring and uses
1040         uninitialized variables now, resulting in a compiler warning.
1041
1042 2008-05-01  Tim-Philipp Müller  <tim.muller at collabora co uk>
1043
1044         * gst/gstregistry.c: (gst_registry_scan_path_level):
1045           Run g_str_has_suffix() only on the file name, not the
1046           entire file path.
1047
1048 2008-04-30  Tim-Philipp Müller  <tim.muller at collabora co uk>
1049
1050         * plugins/elements/gstqueue.c: (gst_queue_leak_downstream):
1051           Since we're not called only from the chain function any longer,
1052           we can't assume that there's always data in the queue, so move
1053           the is_full check to the beginning of the loop (otherwise we'd
1054           hit the assert when changing the limit properties while the
1055           queue is empty or not running yet).
1056           Also, only set a discont if items were actually removed from
1057           the queue.
1058
1059         * tests/check/elements/queue.c: (test_leaky_downstream):
1060           Test case for the above.
1061
1062 2008-04-30  Wim Taymans  <wim.taymans@collabora.co.uk>
1063
1064         Patch by: Jonas Holmberg <jonas dot holmberg at axis dot com>
1065
1066         * plugins/elements/gstqueue.c: (gst_queue_leak_downstream),
1067         (gst_queue_chain), (queue_capacity_change),
1068         (gst_queue_set_property):
1069         When changing thr max capacity of a leaky queue, immediatly drop buffers
1070         instead of waiting for a push on the sinkpad. Fixes #530637.
1071
1072 2008-04-30  Stefan Kost  <ensonic@users.sf.net>
1073
1074         * gst/gstdebugutils.c:
1075           Refactor code and fix handling of ghostpads and their proxypads.
1076
1077 2008-04-29  Wim Taymans  <wim.taymans@collabora.co.uk>
1078
1079         * docs/gst/gstreamer-sections.txt:
1080         * gst/gstevent.c: (gst_event_has_name):
1081         * gst/gstevent.h:
1082         * tests/check/gst/gstevent.c: (GST_START_TEST):
1083         Add method to conveniently check the name of a custom event with
1084         gst_event_has_name().
1085         Reformat the event docs so that related methods are put together instead
1086         of the default alphabetical sort.
1087         Update unit test with new method.
1088         API: GstEvent::gst_event_has_name()
1089
1090 2008-04-28  Michael Smith <msmith@songbirdnest.com>
1091
1092         * libs/gst/check/Makefile.am:
1093           Don't add an explicit link to libgstreamer-0.10.la; it's already
1094           included in GST_OBJ_LIBS.
1095
1096 2008-04-28  Sebastian Dröge  <slomo@circular-chaos.org>
1097
1098         * gst/gst.c:
1099         Register GstClock type from a type-safe context. Fixes bug #530317.
1100
1101 2008-04-25  Michael Smith <msmith@songbirdnest.com>
1102
1103         Patch by Edward Hervey <edward.hervey@collabora.co.uk>
1104         * tools/gst-run.c:
1105           Include <unistd.h> conditionally on HAVE_UNISTD_H as elsewhere.
1106
1107 2008-04-25  Wim Taymans  <wim.taymans@collabora.co.uk>
1108
1109         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
1110         (gst_bin_dispose):
1111         Use the GLib stuff to create a private structure.
1112         Add some locking around some dispose methods to make them a little
1113         safer, see #529723. Patch by: Antoine Tremblay <hexa00 at gmail dot com>
1114
1115 2008-04-25  Stefan Kost  <ensonic@users.sf.net>
1116
1117         * libs/gst/base/gstbasesink.h:
1118         * libs/gst/base/gstbasesrc.h:
1119         * libs/gst/base/gstbasetransform.h:
1120         * libs/gst/base/gstcollectpads.h:
1121           Fix doc typos and unify caps a bit.
1122
1123 2008-04-25  Stefan Kost  <ensonic@users.sf.net>
1124
1125         * tools/gst-launch.1.in:
1126           Forgot to also add the envvar docs here.
1127
1128 2008-04-25  Tim-Philipp Müller  <tim at centricular dot net>
1129
1130         * gst/gst.c: (init_post), (gst_deinit):
1131         * tests/check/gst/gstpipeline.c: (GST_START_TEST), (pipeline_thread),
1132           (test_concurrent_create), (gst_pipeline_suite):
1133           Ref some more classes in gst_init() to work around thread-safety
1134           issues in pre-2.16 GLibs, and add basic unit test.
1135
1136 2008-04-25  Wim Taymans  <wim.taymans@collabora.co.uk>
1137
1138         * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency),
1139         (gst_base_sink_send_event):
1140         Rearrange the latency query code. We always want to do the upstream
1141         query, even if we are not live so that the upstream elements can get the
1142         latency results too. If we fail doing the query and we are live, we
1143         return TRUE afterwards.
1144
1145 2008-04-24  Stefan Kost  <ensonic@users.sf.net>
1146
1147         patch by: Jason Zhao <e3423c@motorola.com>
1148
1149         * docs/gst/running.xml:
1150         * gst/gst.c:
1151           Enable/disable scan_and_update_registry() based on commandline switch
1152           or environment variable. Fixes #520468.
1153           
1154         * ChangeLog:
1155           Fix typo in my previous commit.
1156
1157 2008-04-24  Stefan Kost  <ensonic@users.sf.net>
1158
1159         * gst/gstregistrybinary.c:
1160           Add a warning if we hit unhandled factories when saving.
1161           More debug logging detail, but move to LOG category.
1162
1163 2008-04-24  Stefan Kost  <ensonic@users.sf.net>
1164
1165         * gst/gstregistry.c:
1166           Tell the *truth* when improving the documentation.
1167
1168 2008-04-23  Sebastian Dröge  <slomo@circular-chaos.org>
1169
1170         * gst/gstelementfactory.c: (gst_element_factory_make):
1171         Unref the factory after it was used the last time, not before.
1172
1173         * gst/gstindexfactory.c: (gst_index_factory_make):
1174         Improve debugging a bit and don't leak a ref to the index factory with
1175         each call.
1176
1177 2008-04-23  Stefan Kost  <ensonic@users.sf.net>
1178
1179         * gst/gstregistry.c:
1180           Improve the documentation.
1181
1182 2008-04-23  Stefan Kost  <ensonic@users.sf.net>
1183
1184         * gst/gstsegment.c:
1185           The glib macro seems to be borked. Use g_slice_copy directly and cast
1186           in the hope that this fixes the warning on 64bit.
1187
1188 2008-04-23  Stefan Kost  <ensonic@users.sf.net>
1189
1190         * gst/gstsegment.c:
1191           Document the new function. Use g_slice_dup() (no need for
1192           gst_segment_init()).    
1193
1194 2008-04-23  Stefan Kost  <ensonic@users.sf.net>
1195
1196         * docs/gst/gstreamer-sections.txt:
1197           Move GParamSepc macros to standart section.
1198   
1199         * gst/gstbin.c:
1200           Dn't document _get_type - its in private section in docs anyway and
1201           this doc-blob was incomplete.
1202
1203         * gst/gstclock.h:
1204           Fix wrong symbol names in docs.
1205
1206         * gst/gstmacros.h:
1207           Add once doc sentence.
1208
1209         * tests/check/gst/.cvsignore:
1210           Ignore more.
1211
1212 2008-04-21  Stefan Kost  <ensonic@users.sf.net>
1213
1214         * docs/gst/Makefile.am:
1215           And remove those libs here.
1216
1217 2008-04-21  Tim-Philipp Müller  <tim at centricular dot net>
1218
1219         * docs/libs/Makefile.am:
1220           Fix docs build again by adding libgstnet-0.10.so to SCANOBJ_DEPS.
1221
1222 2008-04-21  Wim Taymans  <wim.taymans@collabora.co.uk>
1223
1224         Patch by: Olivier Crete <tester at tester dot ca>
1225
1226         * plugins/elements/gstqueue.c: (gst_queue_handle_src_query):
1227         Add the min-threshold to the min latency if possible. Fixes #529148.
1228
1229 2008-04-21  Stefan Kost  <ensonic@users.sf.net>
1230
1231         * docs/gst/gstreamer.types.in:
1232           Stupid editor, I removed that line as it should go in yet.
1233
1234 2008-04-21  Stefan Kost  <ensonic@users.sf.net>
1235
1236         * docs/gst/gstreamer.types.in:
1237         * docs/libs/gstreamer-libs.types:
1238           Remove library types fro core docs and have them in libs docs.
1239           Reformat and cleanup. Add comment for miniobject types.
1240
1241 2008-04-20  Tim-Philipp Müller  <tim at centricular dot net>
1242
1243         * gst/gsturi.c: (gst_uri_get_protocol):
1244           Fix leak: g_strdown operates on the string in place, while
1245           g_ascii_strdown() returns a newly-allocated string.
1246
1247 2008-04-20  Sebastian Dröge  <slomo@circular-chaos.org>
1248
1249         * tools/gst-inspect.c: (print_uri_handler_info),
1250         (print_element_info):
1251         Print the URI protocols and the URI type supported by the element.
1252
1253 2008-04-19  Sebastian Dröge  <slomo@circular-chaos.org>
1254
1255         * gst/gsttaglist.c: (gst_tag_merge_strings_with_comma):
1256         Use g_value_take_string() instead of the deprecated
1257         g_value_set_string_take_ownership().
1258
1259 2008-04-19  Sebastian Dröge  <slomo@circular-chaos.org>
1260
1261         * gst/gstregistrybinary.c: (_gst_crc32):
1262         Return the old CRC instead of 0 if we give a NULL buffer
1263         or a buffer with a length of 0.
1264
1265 2008-04-19  Sebastian Dröge  <slomo@circular-chaos.org>
1266
1267         * gst/gsturi.c: (gst_uri_protocol_check_internal),
1268         (gst_uri_get_protocol), (gst_uri_has_protocol),
1269         (gst_uri_construct), (gst_uri_handler_set_uri):
1270         A valid URI scheme can also include '+', '-' and '.' additional
1271         to alphanumeric characters as per RFC 3986 Section 3.1.
1272
1273         Handle URI schemes case insensitive in all places and convert
1274         to lower-case when constructing an URI or setting an URI with
1275         the GstURIHandler interface. Fixes bug #528868.
1276         All elements can still assume (as before) that they will
1277         get passed URIs with a lower-case URI scheme by the GstURIHandler
1278         interface.
1279
1280 2008-04-17  Tim-Philipp Müller  <tim at centricular dot net>
1281
1282         * gst/gstcaps.c: (gst_static_caps_get):
1283         * gst/gstclock.c: (gst_clock_entry_new):
1284           Don't use g_atomic_set_int where it's not needed.
1285
1286 2008-04-17  Wim Taymans  <wim.taymans@collabora.co.uk>
1287
1288         * gst/gstvalue.c: (gst_value_deserialize_caps):
1289         * gst/parse/grammar.y:
1290         Fix 2 caps leaks.
1291
1292 2008-04-17  Sebastian Dröge  <slomo@circular-chaos.org>
1293
1294         * gst/gstutils.c: (gst_atomic_int_set):
1295         Use g_atomic_int_set() here too instead of assignment +
1296         g_atomic_int_get().
1297
1298 2008-04-17  Sebastian Dröge  <slomo@circular-chaos.org>
1299         
1300         * gst/gstutils.c:
1301         * gst/gstutils.h:
1302         API: Deprecate gst_atomic_int_set(), g_atomic_int_set() should be used
1303         now that we depend on new enough GLib.
1304
1305         * gst/gstcaps.c: (gst_static_caps_get):
1306         * gst/gstclock.c: (gst_clock_entry_new):
1307         * gst/gstinfo.c: (_gst_debug_init), (gst_debug_set_colored),
1308         (gst_debug_set_default_threshold), (_gst_debug_category_new),
1309         (gst_debug_category_set_threshold):
1310         * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
1311         (gst_base_sink_set_qos_enabled):
1312         * libs/gst/net/gstnettimeprovider.c:
1313         (gst_net_time_provider_set_property):
1314         Use g_atomic_int_set() instead of gst_atomic_int_set().
1315
1316 2008-04-16  Stefan Kost  <ensonic@users.sf.net>
1317
1318         * gst/gstquery.c:
1319           Also use G_GINT64_CONSTANT for the queries.
1320
1321 2008-04-16  Stefan Kost  <ensonic@users.sf.net>
1322
1323         * gst/gstmessage.c:
1324           Use G_GINT64_CONSTANT in varargs function.
1325
1326 2008-04-16  Sebastian Dröge  <slomo@circular-chaos.org>
1327
1328         * gst/gstregistrybinary.c: (gst_registry_binary_initialize_magic):
1329         Initialize the registry magic with zeroes.
1330
1331 2008-04-16  Sebastian Dröge  <slomo@circular-chaos.org>
1332
1333         * gst/gstregistrybinary.c: (_gst_crc32),
1334         (gst_registry_binary_write),
1335         (gst_registry_binary_initialize_magic),
1336         (gst_registry_binary_write_cache),
1337         (gst_registry_binary_check_magic),
1338         (gst_registry_binary_read_cache):
1339         * gst/gstregistrybinary.h:
1340         Add crc32 checksum to the binary registry file and check this before
1341         accepting a registry file.
1342
1343         Also free the data list when writing to the registry file fails.
1344
1345 2008-04-16  Sebastian Dröge  <slomo@circular-chaos.org>
1346
1347         * gst/gstregistrybinary.c: (gst_registry_binary_save_feature),
1348         (gst_registry_binary_load_feature),
1349         (gst_registry_binary_load_plugin):
1350         If an element supports the Uri interface, returns a valid pointer
1351         to the supported URI protocols but this pointer contains nothing
1352         don't try to save that as it will corrupt the registry.
1353
1354         Don't unref the plugin if we added it to the registry already but
1355         fail to load a feature as gst_registry_add_plugin() takes ownership
1356         of the plugin.
1357
1358         Improve debugging a bit.
1359
1360 2008-04-16  Stefan Kost  <ensonic@users.sf.net>
1361
1362         * gst/gsttaglist.h:
1363           Clarify some tag item docs after discussion on irc.
1364
1365 2008-04-15  Stefan Kost  <ensonic@users.sf.net>
1366
1367         * docs/gst/gstreamer-docs.sgml:
1368           Remove commented out plugins (they have their own docs). Update
1369           comments.
1370
1371 2008-04-15  Stefan Kost  <ensonic@users.sf.net>
1372
1373         * docs/gst/gstreamer-docs.sgml:
1374         * docs/gst/gstreamer-sections.txt:
1375         * gst/gstparamspecs.c:
1376         * gst/gstparamspecs.h:
1377           Add GST_PARAM_CONTROLLABLE and GST_PARAM_USER_SHIFT. Move paramspec
1378           docs to own section.
1379
1380         * gst/gstvalue.c:
1381           This now only documents GValue.
1382           
1383         * docs/libs/gstreamer-libs-sections.txt:
1384         * libs/gst/controller/gstcontroller.h:
1385           Remove GST_PARAM_CONTROLLABLE.
1386
1387 2008-04-15  Stefan Kost  <ensonic@users.sf.net>
1388
1389         * docs/README:
1390           Correct file path. Tell about how to use -overrides.txt.
1391         * docs/design/draft-tagreading.txt:
1392           Small design update.
1393
1394 2008-04-14  Sebastian Dröge  <slomo@circular-chaos.org>
1395
1396         * gst/gstregistrybinary.c: (gst_registry_binary_load_feature),
1397         (gst_registry_binary_load_plugin):
1398         Fix a typo in a debug message and revert change from yesterday as
1399         gst_registry_add_plugin() will only fail if something is really wrong
1400         already and we can't survive it anyway.
1401
1402 2008-04-14  Tim-Philipp Müller  <tim at centricular dot net>
1403
1404         * gst/gst.c: (init_post), (gst_deinit):
1405           Pre-register GstGError GType from a thread-safe context
1406           (fixes #527967); unref enum type classes in deinit.
1407
1408 2008-04-13  Tim-Philipp Müller  <tim at centricular dot net>
1409
1410         Patch by: Rene Stadler <mail at renestadler de>
1411
1412         * gst/gsttagsetter.c: (gst_tag_setter_merge_tags):
1413           Merging an empty list with another list in KEEP_ALL mode should
1414           yield an empty list as result and not the second list (#512578).
1415
1416         * tests/check/gst/gsttagsetter.c:
1417           Add unit test for tag merge modes and the aforementioned bug.
1418
1419 2008-04-13  Tim-Philipp Müller  <tim at centricular dot net>
1420
1421         Patch by: Rene Stadler <mail at renestadler de>
1422
1423         * gst/gsttaglist.h:
1424           Fix description to match the order in the table (#512577).
1425   
1426 2008-04-13  Tim-Philipp Müller  <tim at centricular dot net>
1427
1428         Patch by: Kwang Yul Seo  <kwangyul.seo gmail com>
1429
1430         * libs/gst/net/gstnettimepacket.h:
1431         * docs/libs/gstreamer-libs-sections.txt:
1432           Define socklen_t as int if it's not defined yet. Fixes compilation
1433           with MSVC6 and other versions where socklen_t is not defined in
1434           the windows headers (#518022).
1435
1436 2008-04-13  Sebastian Dröge  <slomo@circular-chaos.org>
1437
1438         * gst/gstregistrybinary.c: (gst_registry_binary_load_plugin):
1439         If gst_registry_add_plugin() fails our reference to the plugin is
1440         invalid so don't try to use it anymore and instead error out.
1441
1442 2008-04-12  Tim-Philipp Müller  <tim at centricular dot net>
1443
1444         * tools/gst-xmlinspect.c: (print_element_info), (main):
1445           De-cruft a bit. If no argument is specified, print all elements in
1446           XML syntax rather than a freestyle list of elements like gst-inspect.
1447           Also, don't print XML header chunk unless we actually have something
1448           to print (ie. don't print it before an error message); print error
1449           message to stderr not stdout. Remove support for printing plugin
1450           info (it would just output something freestyle along the lines of
1451           gst-inspect so far), which fixes #514507. Also add license header.
1452
1453 2008-04-11  Julien Moutte  <julien@fluendo.com>
1454
1455         Mac OS X love...
1456         * configure.ac: Merge platform specific defines, introduce a new
1457         define on OS X to remember that forking when updating registry is
1458         unsafe.
1459         * docs/faq/gst-uninstalled: Updated to include gst-libs in the bad
1460         module.
1461         * gst/gst.c: Don't fork when updating registry if GST_HAVE_UNSAFE_FORK
1462         is defined.
1463         * gst/gstregistry.c: (gst_registry_scan_path_level): Fixed a bogus
1464         condition that leads to absolutely no plugins being registered on
1465         OS X.
1466
1467 2008-04-10  Tim-Philipp Müller  <tim at centricular dot net>
1468
1469         Based on patch by: José Alburquerque <jaalburqu at svn dot gnome dot org>
1470
1471         * gst/gstutils.c: (gst_pad_add_data_probe),
1472           (gst_pad_add_data_probe_full), (gst_pad_add_event_probe),
1473           (gst_pad_add_event_probe_full), (gst_pad_add_buffer_probe),
1474           (gst_pad_add_buffer_probe_full):
1475         * gst/gstutils.h:
1476         * docs/gst/gstreamer-sections.txt:
1477         * win32/common/libgstreamer.def:
1478           Add gst_pad_add_*_probe_full() functions with a notify callback that
1479           lets the caller free the data it passes to the probe functions. This
1480           is useful for bindings such as gst-python or gstreamermm (#526814).
1481           API: gst_pad_add_data_probe_full
1482           API: gst_pad_add_buffer_probe_full
1483           API: gst_pad_add_event_probe_full
1484
1485         * tests/check/gst/gstutils.c:
1486           Add minimal unit test to make sure freeing the data actually works
1487           as expected.
1488
1489         * tests/benchmarks/.cvsignore:
1490           Random cvsignore addendum.
1491
1492 2008-04-10  Tim-Philipp Müller  <tim at centricular dot net>
1493
1494         * gst/gstdebugutils.h: (GST_DEBUG_BIN_TO_DOT_FILE_WITH_TS),
1495           (GST_DEBUG_BIN_TO_DOT_FILE):
1496           Mention GstDebugGraphDetails enum type in doc blurb so we get a link
1497           to it in the docs (since these are macros the types of the arguments
1498           won't be shown in the docs otherwise).
1499
1500 2008-04-10  Stefan Kost  <ensonic@users.sf.net>
1501
1502         * gst/gstpad.c:
1503           Do not abort on out of memory for pad_alloc_buffer.
1504
1505 2008-04-10  Stefan Kost  <ensonic@users.sf.net>
1506
1507         * libs/gst/check/gstcheck.c:
1508           Remove blank line between symbol name ad parameters to fix gtkdoc
1509           warning.
1510
1511 2008-04-09  Tim-Philipp Müller  <tim at centricular dot net>
1512
1513         Patch by:  José Alburquerque <jaalburqu at svn dot gnome dot org>
1514
1515         * docs/gst/gstreamer-sections.txt:
1516         * gst/gstsegment.c:
1517         * gst/gstsegment.h:
1518         * win32/common/libgstreamer.def:
1519           Expose gst_segment_copy() to make things easier for the c++ bindings.
1520           Fixes #518932.
1521           API: gst_segment_copy()
1522
1523 2008-04-09  Tim-Philipp Müller  <tim at centricular dot net>
1524
1525         * gst/gst.c: (gst_init_get_option_group), (init_post):
1526           Fix const position; ref GType classes for enum types to work
1527           around thread-safety issues in GLib versions < 2.16.
1528
1529 2008-04-09  Wim Taymans  <wim.taymans@collabora.co.uk>
1530
1531         * docs/design/part-buffering.txt:
1532         Fix some typos and set the estimated total for push mode to -1.
1533
1534         * gst/gstquery.c: (gst_query_new_buffering):
1535         Set buffering-left to 0 as we're not buffering by default.
1536
1537         * libs/gst/base/gstbasesrc.c: (gst_base_src_default_query):
1538         Implement BUFFERING query.
1539
1540 2008-04-09  Tim-Philipp Müller  <tim at centricular dot net>
1541
1542         Based on patch by: Milosz Derezynski <internalerror gmail com>
1543
1544         * gst/gsterror.c: (_gst_stream_errors_init):
1545         * gst/gsterror.h:
1546           Add two new error codes for encrypted content. Fixes #524659.
1547           API: GST_STREAM_ERROR_DECRYPT
1548           API: GST_STREAM_ERROR_DECRYPT_NOKEY
1549
1550 2008-04-09  Tim-Philipp Müller  <tim at centricular dot net>
1551
1552         * gst/gstquery.h:
1553           Fix typo.
1554
1555         * win32/common/libgstreamer.def:
1556           Add new functions.
1557
1558 2008-04-09  Sebastian Dröge  <slomo@circular-chaos.org>
1559
1560         * plugins/elements/gstidentity.c: (gst_identity_event),
1561         (gst_identity_start):
1562         Fix imperfect timestamp/offset checks when we get another NEWSEGMENT
1563         event after processing some data. Fixes bug #526042.
1564
1565 2008-04-08  Wim Taymans  <wim.taymans@collabora.co.uk>
1566
1567         * docs/gst/gstreamer-sections.txt:
1568         * gst/gstquery.c: (gst_query_parse_latency),
1569         (gst_query_set_buffering_percent),
1570         (gst_query_parse_buffering_percent),
1571         (gst_query_set_buffering_range), (gst_query_parse_buffering_range):
1572         * gst/gstquery.h:
1573         Rename _avail -> _range
1574         API: gst_query_set_buffering_range
1575         API: gst_query_parse_buffering_range
1576
1577 2008-04-08  Wim Taymans  <wim.taymans@collabora.co.uk>
1578
1579         * docs/design/part-buffering.txt:
1580         * gst/gstquark.c:
1581         * gst/gstquark.h:
1582         * gst/gstquery.c: (gst_query_parse_latency),
1583         (gst_query_new_buffering), (gst_query_set_buffering_percent),
1584         (gst_query_parse_buffering_percent):
1585         * gst/gstquery.h:
1586         Add busy field and quark for the buffering query so that the app can
1587         only use the query to see if buffering is in progress.
1588
1589 2008-04-08  Wim Taymans  <wim.taymans@collabora.co.uk>
1590
1591         * docs/gst/gstreamer-sections.txt:
1592         * gst/gstmessage.c: (gst_message_set_buffering_stats),
1593         (gst_message_parse_buffering_stats):
1594         * gst/gstmessage.h:
1595         * gst/gstquery.c: (gst_query_new_latency), (gst_query_set_latency),
1596         (gst_query_parse_latency), (gst_query_new_buffering),
1597         (gst_query_set_buffering_percent),
1598         (gst_query_parse_buffering_percent),
1599         (gst_query_set_buffering_stats), (gst_query_parse_buffering_stats),
1600         (gst_query_set_buffering_avail), (gst_query_parse_buffering_avail):
1601         * gst/gstquery.h:
1602         Reorder the message docs and headers for clarity.
1603         Add aditional buffering stats API for messages.
1604         Add buffering query.
1605         Convert some leftover queries to use GstQuark.
1606         API: gst_message_set_buffering_stats
1607         API: gst_message_parse_buffering_stats
1608         API: GST_QUERY_BUFFERING
1609         API: GstBufferingMode
1610         API: gst_query_new_buffering
1611         API: gst_query_set_buffering_percent
1612         API: gst_query_parse_buffering_percent
1613         API: gst_query_set_buffering_stats
1614         API: gst_query_parse_buffering_stats
1615
1616 2008-04-08  Wim Taymans  <wim.taymans@collabora.co.uk>
1617
1618         * gst/gstmessage.c: (gst_message_new_error),
1619         (gst_message_new_warning), (gst_message_new_info),
1620         (gst_message_new_buffering), (gst_message_new_state_changed),
1621         (gst_message_new_clock_provide), (gst_message_new_clock_lost),
1622         (gst_message_new_new_clock), (gst_message_new_segment_start),
1623         (gst_message_new_segment_done), (gst_message_new_duration),
1624         (gst_message_new_async_start), (gst_message_parse_buffering),
1625         (gst_message_parse_state_changed),
1626         (gst_message_parse_clock_provide), (gst_message_parse_clock_lost),
1627         (gst_message_parse_new_clock), (gst_message_parse_error),
1628         (gst_message_parse_warning), (gst_message_parse_info),
1629         (gst_message_parse_segment_start),
1630         (gst_message_parse_segment_done), (gst_message_parse_duration),
1631         (gst_message_parse_async_start):
1632         Use GstQuark for messages.
1633
1634 2008-04-08  Wim Taymans  <wim.taymans@collabora.co.uk>
1635
1636         * gst/gstquark.c: (_priv_gst_quarks_initialize):
1637         * gst/gstquark.h:
1638         Add some more quarks needed for messages and queries.
1639
1640 2008-04-08  Wim Taymans  <wim.taymans@collabora.co.uk>
1641
1642         * docs/design/part-buffering.txt:
1643         Remove the "none" buffering mode, STREAM is a good default.
1644         Move estimated-time to the avail query, that's when it will be needed.
1645         Other small typo fixes and updates.
1646
1647 2008-04-07  Tim-Philipp Müller  <tim at centricular dot net>
1648
1649         * gst/gstindex.c: (gst_index_resolver_get_type):
1650           Don't put descriptions into the nick field of a GEnumValue: it's not
1651           meant for that and some language bindings rely on the nick field to
1652           construct constants and the like. Fixes #526705.
1653
1654 2008-04-07  Tim-Philipp Müller  <tim at centricular dot net>
1655
1656         * NEWS:
1657         * RELEASE:
1658         * gstreamer.doap:
1659           Merge other changes from 0.10.19 release branch.
1660
1661 2008-04-06  Sebastian Dröge  <slomo@circular-chaos.org>
1662
1663         Patch by: Damien Lespiau <damien dot lespiau at gmail dot com>
1664
1665         * configure.ac:
1666         Actually build dlls when cross-compiling with mingw32.
1667         Fixes bug #526247.
1668
1669 2008-04-05  Sebastian Dröge  <slomo@circular-chaos.org>
1670
1671         Patch by: Damien Lespiau <damien dot lespiau at gmail dot com>
1672
1673         * gst/gstpoll.c:
1674         Fix compilation of GstPoll with mingw32. Fixes bug #526236.
1675
1676 2008-04-04  Wim Taymans  <wim.taymans@collabora.co.uk>
1677
1678         * docs/design/draft-latency.txt:
1679         Fix typo.
1680
1681         * docs/design/part-buffering.txt:
1682         Update design docs with more buffering ideas.
1683
1684 2008-04-03  Tim-Philipp Müller  <tim at centricular dot net>
1685
1686         * configure.ac:
1687           Bump version to 0.10.19.1 after the unscheduled 0.10.19 release.
1688
1689 2008-04-03  Stefan Kost  <ensonic@users.sf.net>
1690
1691         * configure.ac:
1692           Revert part that belongs to the preset patch.
1693
1694 2008-04-03  Stefan Kost  <ensonic@users.sf.net>
1695
1696         * configure.ac:
1697           Add qoutes to the define. Fixes # 525961.
1698
1699 2008-04-03  Sebastian Dröge  <slomo@circular-chaos.org>
1700
1701         * plugins/indexers/gstfileindex.c: (_file_index_id_free),
1702         (gst_file_index_load), (gst_file_index_add_id),
1703         (gst_file_index_get_assoc_entry):
1704         * plugins/indexers/gstmemindex.c: (gst_mem_index_free_format),
1705         (gst_mem_index_free_id), (gst_mem_index_add_id),
1706         (gst_mem_index_index_format):
1707         Use GSlice when possible.
1708
1709 2008-04-02  Sebastian Dröge  <slomo@circular-chaos.org>
1710
1711         * libs/gst/controller/gstinterpolationcontrolsource.c:
1712         (gst_control_point_free),
1713         (gst_interpolation_control_source_set_internal):
1714         Use GSlice for allocating the control points.
1715
1716 2008-04-02  Wim Taymans  <wim.taymans@collabora.co.uk>
1717
1718         * plugins/elements/gsttypefindelement.c:
1719         (gst_type_find_element_class_init),
1720         (gst_type_find_element_set_property),
1721         (gst_type_find_element_get_property),
1722         (gst_type_find_element_activate):
1723         * plugins/elements/gsttypefindelement.h:
1724         Cleanup properties.
1725         Fix pad leak when peer query fails.
1726         We can still typefind when the peer returns -1.
1727         Add property to force caps and bypass typefinding. This will be used in
1728         uridecodebin.
1729         API::force-caps
1730
1731 2008-04-01  Sebastian Dröge  <slomo@circular-chaos.org>
1732
1733         * configure.ac:
1734         Require GLib 2.12.
1735
1736         * gst/glib-compat-private.h:
1737         * gst/gstcaps.c: (gst_caps_new_empty), (_gst_caps_free):
1738         * gst/gstclock.c: (gst_clock_entry_new), (_gst_clock_id_free):
1739         Unconditionally use GSlice for allocation.
1740
1741         * gst/gstpoll.c: (gst_poll_new), (gst_poll_free):
1742         * gst/gstsegment.c: (gst_segment_new), (gst_segment_free):
1743         * gst/gststructure.c: (gst_structure_id_empty_new_with_size),
1744         (gst_structure_free):
1745         Use GSlice for allocation.
1746
1747 2008-04-01  Sebastian Dröge  <slomo@circular-chaos.org>
1748
1749         * gst/parse/Makefile.am:
1750         * gst/parse/grammar.tab.pre.c:
1751         * gst/parse/grammar.tab.pre.h:
1752         * gst/parse/lex._gst_parse_yy.pre.c:
1753         Require a new enough flex and bison and remove the parser hacks to use
1754         a pre-regenerated version.
1755
1756 2008-04-01  Julien Moutte  <julien@fluendo.com>
1757
1758         patch by: Jason Zhao <E3423C@motorola.com>
1759
1760         * configure.ac: Add a configure switch to disable option parsing
1761         in gst_init.
1762         Fixes #522882.
1763
1764 2008-03-31  Stefan Kost  <ensonic@users.sf.net>
1765
1766         * configure.ac:
1767         * gst/gstregistry.c:
1768           MacOS has plugins under .so or under .dylib. Add detection for MacOS
1769           and handle this case.
1770
1771         * gst/gst.c:
1772           Add a comment here describing, why we stat each plugin and not try to
1773           be smart.
1774
1775 2008-03-31  Sebastian Dröge  <slomo@circular-chaos.org>
1776
1777         * libs/gst/base/gstbasetransform.c:
1778         (gst_base_transform_prepare_output_buffer):
1779         Also unset the GAP flag on buffers if we're working inplace but
1780         the element is not GAP-aware.
1781
1782         Mark a comment as FIXME 0.11.
1783
1784 2008-03-31  Stefan Kost  <ensonic@users.sf.net>
1785
1786         * gst/gst.c:
1787           Fix type in log message and add one to ease seeing how long registry
1788           cache verification takes.
1789
1790         * gst/gstregistry.c:
1791           Only test plugin filenames against G_MODULE_SUFFIX.
1792
1793 2008-03-31  Stefan Kost  <ensonic@users.sf.net>
1794
1795         * gst/gstdebugutils.c:
1796           Improve handling ghost/proxy pads.
1797
1798 2008-03-27  Stefan Kost  <ensonic@users.sf.net>
1799
1800         * docs/gst/gstreamer-sections.txt:
1801         * gst/gstpad.c:
1802         * gst/gstpad.h:
1803           Expose macro to docs and fix link to it.
1804
1805 2008-03-27  Michael Smith <msmith@fluendo.com>
1806
1807         * libs/gst/dataprotocol/dataprotocol.c:
1808         (gst_dp_packet_from_event_1_0):
1809           When calculating GDP body CRC, use the correct pointer. 
1810           Fixes part of #522401.
1811
1812 2008-03-24  Wim Taymans  <wim.taymans@collabora.co.uk>
1813
1814         Patch by: Mark Nauwelaerts <manauw at skynet be>
1815
1816         * plugins/elements/gstidentity.c: (gst_identity_class_init),
1817         (gst_identity_init), (gst_identity_prepare_output_buffer):
1818         Identity is not always a passthrough element, it can modify the buffer
1819         timestamps when it has a datarate and operates in single-segment mode.
1820         We therefore make it an in_place filter with a custom buffer prepare
1821         function that conditionally makes the input buffer metadata writable
1822         when needed.  Fixes #523985.
1823
1824 2008-03-24  Wim Taymans  <wim.taymans@collabora.co.uk>
1825
1826         Patch by: Mark Nauwelaerts <manauw at skynet be>
1827
1828         * gst/gstclock.h:
1829         * libs/gst/base/gstbasesrc.h:
1830         * libs/gst/base/gstbasetransform.c:
1831         * libs/gst/check/gstcheck.c:
1832         Small documentation fixes. Fixes #523978.
1833
1834 2008-03-24  Wim Taymans  <wim.taymans@collabora.co.uk>
1835
1836         * plugins/elements/gstfdsink.c: (gst_fd_sink_render):
1837         * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
1838         Also retry our poll_wait when we get EAGAIN. Fixes #524041.
1839
1840 2008-03-24  Wim Taymans  <wim.taymans@collabora.co.uk>
1841
1842         * plugins/elements/gstmultiqueue.c: (single_queue_overrun_cb),
1843         (single_queue_underrun_cb):
1844         When trying to make room in the queue, bump the max allowed buffers
1845         bigger than the current amount of buffers in the queue. this fixes some
1846         nasty deadlocks in multiqueue when dynamically changing the limits of
1847         the queue.
1848
1849 2008-03-24  Wim Taymans  <wim.taymans@collabora.co.uk>
1850
1851         Patch by:  José Alburquerque <jaalburqu at svn dot gnome dot org>
1852
1853         * gst/gstcaps.c: (gst_caps_set_simple),
1854         (gst_caps_set_simple_valist), (gst_caps_intersect):
1855         * gst/gstcaps.h:
1856         Constify the field gchar * params in set_simple and friends.
1857         Fixes #522326.
1858
1859 2008-03-24  Wim Taymans  <wim.taymans@collabora.co.uk>
1860
1861         * gst/gstvalue.c: (gst_value_transform_object_string):
1862         Transform a GstObject to a more meaningfull string that includes the
1863         object type in addition to its name.
1864
1865 2008-03-23  Stefan Kost  <ensonic@users.sf.net>
1866
1867         * ChangeLog:
1868           ChangeLog surgery to add bugnumber to commit.
1869
1870 2008-03-23  Rene Stadler  <mail@renestadler.de>
1871
1872         * libs/gst/base/gstbasetransform.c:
1873         (gst_base_transform_set_gap_aware): Fix confusing documentation.
1874
1875 2008-03-23  Sebastian Dröge  <slomo@circular-chaos.org>
1876
1877         * gst/gstregistrybinary.c: (gst_registry_binary_write):
1878         Rename constant everywhere and don't forget one occurence.
1879
1880 2008-03-23  Sebastian Dröge  <slomo@circular-chaos.org>
1881
1882         * gst/gstregistrybinary.c: (gst_registry_binary_write):
1883         Align memory to the pointer size even if the architecture allows
1884         unaligned memory access. Unaligned memory access usually comes with
1885         performance penality.
1886
1887 2008-03-23  Sebastian Dröge  <slomo@circular-chaos.org>
1888
1889         * gst/gstregistrybinary.c: (gst_registry_binary_write),
1890         (gst_registry_binary_check_magic),
1891         (gst_registry_binary_load_pad_template),
1892         (gst_registry_binary_load_feature),
1893         (gst_registry_binary_load_plugin):
1894         Align memory to the pointer size instead of always 32 bit. Fixes
1895         unaligned memory accesses on ia64 and friends.
1896
1897         * gst/gstregistrybinary.h:
1898         Bump binary registry format version for this as it changes the
1899         format on those architectures that don't have unaligned access
1900         and 64 bit pointers.
1901
1902 2008-03-22  Sebastian Dröge  <slomo@circular-chaos.org>
1903
1904         * docs/pwg/advanced-dparams.xml:
1905         * docs/pwg/building-props.xml:
1906         * docs/pwg/other-source.xml:
1907         * gst/glib-compat.h:
1908         * gst/gstbin.c: (gst_bin_class_init):
1909         * gst/gstclock.c: (gst_clock_class_init):
1910         * gst/gstindex.c: (gst_index_class_init):
1911         * gst/gstobject.c: (gst_object_class_init):
1912         * gst/gstpad.c: (gst_pad_class_init):
1913         * gst/gstpipeline.c: (gst_pipeline_class_init):
1914         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
1915         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init):
1916         * libs/gst/base/gstbasetransform.c:
1917         (gst_base_transform_class_init):
1918         * libs/gst/base/gstdataqueue.c: (gst_data_queue_class_init):
1919         * libs/gst/check/gstcheck.c: (_gst_check_fault_handler_restore),
1920         (_gst_check_fault_handler_sighandler),
1921         (_gst_check_fault_handler_setup), (gst_check_init):
1922         * libs/gst/controller/gstcontroller.c:
1923         (_gst_controller_class_init):
1924         * libs/gst/controller/gstlfocontrolsource.c:
1925         (gst_lfo_control_source_class_init):
1926         * libs/gst/net/gstnetclientclock.c:
1927         (gst_net_client_clock_class_init):
1928         * libs/gst/net/gstnettimeprovider.c:
1929         (gst_net_time_provider_class_init):
1930         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_class_init):
1931         * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init):
1932         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init):
1933         * plugins/elements/gstfdsink.c: (gst_fd_sink_class_init):
1934         * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init):
1935         * plugins/elements/gstfilesink.c: (gst_file_sink_class_init):
1936         * plugins/elements/gstfilesrc.c: (gst_file_src_class_init):
1937         * plugins/elements/gstidentity.c: (gst_identity_class_init):
1938         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_class_init):
1939         * plugins/elements/gstqueue.c: (gst_queue_class_init):
1940         * plugins/elements/gsttee.c: (gst_tee_class_init):
1941         * plugins/elements/gsttypefindelement.c:
1942         (gst_type_find_element_class_init):
1943         * plugins/indexers/gstfileindex.c: (gst_file_index_class_init):
1944         Define G_PARAM_STATIC_STRINGS if it's undefined (GLib < 2.13.0) and
1945         use it everywhere for GParamSpecs that use static strings (i.e. all).
1946         This gives us less memory usage, fewer allocations and thus less
1947         memory defragmentation. Fixes bug #523806.
1948
1949 2008-03-22  Sebastian Dröge  <slomo@circular-chaos.org>
1950
1951         * gst/gstminiobject.c: (gst_value_dup_mini_object),
1952         (gst_param_spec_mini_object):
1953         * gst/gstminiobject.h:
1954         * win32/common/libgstreamer.def:
1955         * docs/gst/gstreamer-sections.txt:
1956         API: Add GST_IS_PARAM_SPEC_MINI_OBJECT, GST_PARAM_SPEC_MINI_OBJECT
1957         GST_TYPE_PARAM_MINI_OBJECT and gst_value_dup_mini_object. Also move
1958         GstParamSpecMiniObject into a public header for this.
1959
1960         This make GstMiniObject a bit more consistent with GObject and makes
1961         it possible to extend the param specs.
1962
1963         gst_value_dup_mini_object is mainly useful for set_property methods.
1964
1965         Fixes bug #523798.
1966
1967         * tools/gst-inspect.c: (print_element_properties_info):
1968         Print something useful for GstMiniObject properties and not just
1969         "unknown type".
1970
1971 2008-03-21  Sebastian Dröge  <slomo@circular-chaos.org>
1972
1973         * docs/gst/gstreamer-sections.txt:
1974         * gst/gstregistrybinary.c: (gst_registry_binary_initialize_magic),
1975         (gst_registry_binary_check_magic):
1976         * gst/gstregistrybinary.h:
1977         Call the version GST_MAGIC_BINARY_VERSION_STR to be more consistent
1978         and add it to the (private part) of the docs to fix the build.
1979
1980 2008-03-21  Sebastian Dröge  <slomo@circular-chaos.org>
1981
1982         * gst/gstregistrybinary.c: (gst_registry_binary_initialize_magic),
1983         (gst_registry_binary_check_magic),
1984         (gst_registry_binary_read_cache):
1985         * gst/gstregistrybinary.h:
1986         Don't use GST_MAJORMINOR for the binary registry version. Instead
1987         hardcode a value that must be changed whenever the format changes
1988         in an incompatible way.
1989         Also don't GST_ERROR when there is a version mismatch, just
1990         regenerate the registry silently.
1991
1992 2008-03-21  Jan Schmidt  <jan.schmidt@sun.com>
1993
1994         * configure.ac:
1995         Back to development - 0.10.18.1
1996
1997 === release 0.10.18 ===
1998
1999 2008-03-20  Jan Schmidt <jan.schmidt@sun.com>
2000
2001         * configure.ac:
2002           releasing 0.10.18, "So far away"
2003
2004 2008-03-18  Jan Schmidt  <jan.schmidt@sun.com>
2005
2006         * configure.ac:
2007         * win32/common/config.h:
2008         0.10.17.4 pre-release
2009
2010 2008-03-18  Wim Taymans  <wim.taymans@collabora.co.uk>
2011
2012         Patch by: Ole André Vadla Ravnås
2013             <ole dot andre dot ravnas at tandberg dot com>
2014
2015         * docs/gst/gstreamer-sections.txt:
2016         * gst/gstpoll.c: (gst_poll_winsock_error_to_errno),
2017         (gst_poll_update_winsock_event_mask),
2018         (gst_poll_prepare_winsock_active_sets),
2019         (gst_poll_collect_winsock_events), (gst_poll_new), (gst_poll_free),
2020         (gst_poll_add_fd_unlocked), (gst_poll_fd_ctl_write),
2021         (gst_poll_fd_ctl_read_unlocked), (gst_poll_fd_ignored),
2022         (gst_poll_fd_has_error), (gst_poll_fd_can_read_unlocked),
2023         (gst_poll_check_ctrl_commands), (gst_poll_wait):
2024         * gst/gstpoll.h:
2025         * win32/common/libgstreamer.def:
2026         Add new function gst_poll_fd_ignored() for improved Windows
2027         compatibility.
2028         Various minor fixes and cleanups. See #520808.
2029
2030 2008-03-17  Tim-Philipp Müller  <tim at centricular dot net>
2031
2032         * gst/gstindex.c: (gst_index_entry_free):
2033         * gst/gstindex.h:
2034           Don't free key strings which we don't own. Fixes crash in
2035           gst_index_entry_free() (#522741).
2036
2037         * tests/check/Makefile.am:
2038         * tests/check/gst/.cvsignore:
2039         * tests/check/gst/gstindex.c: (test_index_entries),
2040           (gst_index_suite), (gst_index):
2041           Add unit test for the above.
2042
2043 2008-03-11  Sebastian Dröge  <slomo@circular-chaos.org>
2044
2045         * win32/common/libgstreamer.def:
2046         Remove symbols that were removed recently. Fixes bug #521740.
2047
2048 2008-03-11  Jan Schmidt  <jan.schmidt@sun.com>
2049
2050         * configure.ac:
2051         * win32/common/config.h:
2052         0.10.17.3 pre-release
2053
2054 2008-03-07  Wim Taymans  <wim.taymans@collabora.co.uk>
2055
2056         Patch by: Ole André Vadla Ravnås
2057             <ole dot andre dot ravnas at tandberg dot com>
2058
2059         * docs/gst/gstreamer-sections.txt:
2060         * gst/gstpoll.c: (find_index), (gst_poll_free_winsock_event),
2061         (gst_poll_update_winsock_event_mask), (gst_poll_new),
2062         (gst_poll_free), (gst_poll_fd_init), (gst_poll_add_fd_unlocked),
2063         (gst_poll_remove_fd), (gst_poll_fd_ctl_write),
2064         (gst_poll_fd_ctl_read_unlocked), (gst_poll_fd_has_closed),
2065         (gst_poll_fd_has_error), (gst_poll_fd_can_read_unlocked),
2066         (gst_poll_fd_can_write), (gst_poll_wait),
2067         (gst_poll_set_controllable), (gst_poll_restart),
2068         (gst_poll_set_flushing):
2069         * gst/gstpoll.h:
2070         * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_new):
2071         * libs/gst/net/gstnettimeprovider.c: (gst_net_time_provider_start),
2072         (gst_net_time_provider_new):
2073         * plugins/elements/gstfdsink.c: (gst_fd_sink_start):
2074         * plugins/elements/gstfdsrc.c: (gst_fd_src_start):
2075         * tests/benchmarks/gstpollstress.c: (main):
2076         * tests/check/gst/gstpoll.c: (GST_START_TEST), (gst_poll_suite):
2077         Remove GstPollMode from the API, it does not make sense to let the
2078         application control this.
2079         Add support for Win32.
2080         Fix the testsuite. Fixes #520671.
2081
2082 2008-03-07  Sebastian Dröge  <slomo@circular-chaos.org>
2083
2084         Patch by: Ole André Vadla Ravnås
2085             <ole dot andre dot ravnas at tandberg dot com>
2086
2087         * gst/gstregistrybinary.c:
2088         Include io.h for write() and close() when building with MSVC. Fixes
2089         bug #520877.
2090
2091 2008-03-07  Stefan Kost  <ensonic@users.sf.net>
2092
2093         * configure.ac:
2094         * gst/gst_private.h:
2095         * gst/gstconfig.h.in:
2096         * gst/gstregistry.h:
2097         * gst/gstregistrybinary.c:
2098         * win32/common/gstconfig.h:
2099           Move registry backend API to private headers where we can. Add
2100           fixme-0.11 comments for the others. Add stubs for the xml backend when
2101           using the binary to ensure they functions exists (they should not be
2102           used though). Fixes #520756.
2103
2104 2008-03-04  Jan Schmidt  <jan.schmidt@sun.com>
2105
2106         * configure.ac:
2107         * win32/common/config.h:
2108         0.10.17.2 prelease
2109
2110 2008-03-03  Edward Hervey  <edward.hervey@collabora.co.uk>
2111
2112         * gst/gstregistrybinary.c: (gst_registry_binary_write),
2113         (gst_registry_binary_read_cache):
2114         * gst/gstregistryxml.c: (gst_registry_save):
2115         * gst/gsturi.c: (unescape_string), (gst_uri_has_protocol):
2116         * plugins/elements/gstfilesink.c: (gst_file_sink_open_file):
2117         * plugins/elements/gstfilesrc.c: (gst_file_src_map_region),
2118         (gst_file_src_map_small_region), (gst_file_src_create_mmap):
2119         Switch to using portabl gsize/gssize instead of size_t/ssize_t
2120         Fixes #520152
2121
2122 2008-03-03  Edward Hervey  <edward.hervey@collabora.co.uk>
2123
2124         * gst/gstminiobject.c:
2125         Import gst_private.h before any other header that might include other
2126         glib headers. This fixes the build on windows using native compilers.
2127
2128 2008-03-03  Tim-Philipp Müller  <tim at centricular dot net>
2129
2130         * win32/common/gstconfig.h:
2131           Add here too, just for completeness.
2132
2133 2008-03-03  Tim-Philipp Müller  <tim at centricular dot net>
2134
2135         * configure.ac:
2136         * gst/gstconfig.h.in:
2137         * gst/gstregistry.h:
2138           Fix broken use of config.h-defined preprocessor directive in a public
2139           header file. Add a corresponding define to gstconfig.h, since we can't
2140           really remove those function declarations from the header file now
2141           (or can we? and why are they there in the first place?).
2142
2143 2008-03-03  Andy Wingo  <wingo@pobox.com>
2144
2145         * tests/check/gst/gststructure.c (GST_START_TEST): Add a check for
2146         the new warning.
2147
2148         * gst/gststructure.c (gst_structure_from_string): Warn if
2149         structure_from_string didn't consume the whole string, but the
2150         caller did not provide an end pointer.
2151
2152 2008-03-01  Tim-Philipp Müller  <tim at centricular dot net>
2153
2154         Patch by: Fabrizio Gennari <fabrizio.ge at tiscali it>
2155
2156         * gst/gstregistryxml.c: (read_string), (load_feature):
2157           Strings allocated by libxml2 should be freed with xmlFree(), not
2158           with g_free(). Fixes issues on windows in certain contexts (#519698).
2159
2160 2008-02-29  Tim-Philipp Müller  <tim at centricular dot net>
2161
2162         * gst/gstinterface.c: (gst_element_implements_interface):
2163           Don't crash if the element supports the interface queried, but does
2164           not implement GstImplementsInterface. Fixes #519584.
2165
2166         * tests/check/Makefile.am:
2167         * tests/check/gst/.cvsignore:
2168         * tests/check/gst/gstinterface.c:
2169           Add unit test for the above.
2170
2171 2008-02-29  Wim Taymans  <wim.taymans@collabora.co.uk>
2172
2173         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
2174         Small doc update.
2175
2176 2008-02-29  Wim Taymans  <wim.taymans@collabora.co.uk>
2177
2178         * gst/gstsegment.c: (gst_segment_set_seek),
2179         (gst_segment_to_stream_time):
2180         Improve some comment.
2181         Update variables where it makes more sense.
2182
2183 2008-02-29  Rene Stadler  <mail@renestadler.de>
2184
2185         * gst/gsturi.c: (gst_uri_handler_get_protocols):
2186         Use the get_protocols_full vfunc if get_protocols is NULL.  Fixes
2187         URIHandlers implemented using language bindings.
2188
2189 2008-02-29  Sebastian Dröge  <slomo@circular-chaos.org>
2190
2191         * gst/gstelementfactory.h:
2192         * tests/check/elements/fakesink.c:
2193         * tests/check/elements/fakesrc.c: (setup_fakesrc):
2194         * tests/check/elements/fdsrc.c: (setup_fdsrc):
2195         * tests/check/elements/filesink.c: (setup_filesink):
2196         * tests/check/elements/filesrc.c: (setup_filesrc):
2197         * tests/check/elements/identity.c: (setup_identity):
2198         * tests/check/elements/tee.c:
2199         * tests/check/generic/sinks.c:
2200         * tests/check/generic/states.c: (setup), (teardown):
2201         * tests/check/gst/gst.c:
2202         * tests/check/gst/gstabi.c:
2203         * tests/check/gst/gstbin.c:
2204         * tests/check/gst/gstbus.c: (pull_messages):
2205         * tests/check/gst/gstcaps.c:
2206         * tests/check/gst/gstelement.c:
2207         * tests/check/gst/gstevent.c:
2208         * tests/check/gst/gstghostpad.c:
2209         * tests/check/gst/gstiterator.c:
2210         * tests/check/gst/gstmessage.c:
2211         * tests/check/gst/gstminiobject.c: (my_foo_init):
2212         * tests/check/gst/gstobject.c: (thread_name_object),
2213         (gst_object_suite):
2214         * tests/check/gst/gstpad.c:
2215         * tests/check/gst/gstplugin.c:
2216         * tests/check/gst/gstpoll.c:
2217         * tests/check/gst/gstquery.c:
2218         * tests/check/gst/gstsegment.c:
2219         * tests/check/gst/gststructure.c:
2220         * tests/check/gst/gstsystemclock.c:
2221         * tests/check/gst/gsttask.c:
2222         * tests/check/gst/gstutils.c:
2223         * tests/check/gst/gstvalue.c:
2224         * tests/check/gst/struct_hppa.h:
2225         * tests/check/gst/struct_i386.h:
2226         * tests/check/gst/struct_ppc32.h:
2227         * tests/check/gst/struct_ppc64.h:
2228         * tests/check/gst/struct_x86_64.h:
2229         * tests/check/libs/adapter.c: (create_and_fill_adapter):
2230         * tests/check/libs/basesrc.c:
2231         * tests/check/libs/controller.c: (GST_START_TEST):
2232         * tests/check/libs/gdp.c:
2233         * tests/check/libs/gstnetclientclock.c:
2234         * tests/check/libs/gstnettimeprovider.c:
2235         * tests/check/libs/libsabi.c:
2236         * tests/check/libs/struct_hppa.h:
2237         * tests/check/libs/struct_i386.h:
2238         * tests/check/libs/struct_ppc32.h:
2239         * tests/check/libs/struct_ppc64.h:
2240         * tests/check/libs/struct_x86_64.h:
2241         * tests/check/pipelines/cleanup.c:
2242         * tests/check/pipelines/simple-launch-lines.c:
2243         * tests/check/pipelines/stress.c:
2244         And correct even more valid sparse warnings.
2245
2246         * win32/common/libgstreamer.def:
2247         Add gst_poll_fd_init to the list of symbols.
2248
2249 2008-02-29  Sebastian Dröge  <slomo@circular-chaos.org>
2250
2251         * gst/gstconfig.h.in:
2252         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_read_buffer):
2253         * libs/gst/check/gstcheck.c: (gst_check_log_message_func),
2254         (gst_check_log_critical_func), (gst_check_drop_buffers),
2255         (gst_check_element_push_buffer_list):
2256         * libs/gst/controller/gstcontroller.c: (gst_controller_get),
2257         (gst_controller_get_type):
2258         * libs/gst/controller/gsthelper.c: (gst_object_control_properties),
2259         (gst_object_get_controller), (gst_object_get_control_source):
2260         * libs/gst/controller/gstinterpolationcontrolsource.c:
2261         (gst_interpolation_control_source_new):
2262         * libs/gst/controller/gstlfocontrolsource.c:
2263         (gst_lfo_control_source_new):
2264         * libs/gst/dataprotocol/dataprotocol.c:
2265         (gst_dp_event_from_packet_0_2):
2266         * plugins/elements/gstfdsrc.c:
2267         * plugins/elements/gstmultiqueue.c:
2268         * plugins/elements/gsttee.c:
2269         * plugins/elements/gsttypefindelement.c:
2270         * plugins/indexers/gstfileindex.c: (_file_index_id_save_xml),
2271         (gst_file_index_add_association):
2272         * plugins/indexers/gstmemindex.c:
2273         * tests/benchmarks/gstpollstress.c: (mess_some_more):
2274         * tests/check/elements/queue.c: (setup_queue):
2275         * tests/check/gst/gstpipeline.c:
2276         * tests/check/libs/collectpads.c: (setup), (teardown),
2277         (gst_collect_pads_suite):
2278         * tests/examples/adapter/adapter_test.c:
2279         * tests/examples/metadata/read-metadata.c: (make_pipeline):
2280         * tests/examples/xml/createxml.c:
2281         * tests/examples/xml/runxml.c:
2282         * tools/gst-inspect.c:
2283         * tools/gst-run.c:
2284         Correct all relevant warnings found by the sparse semantic code
2285         analyzer. This include marking several symbols static, using
2286         NULL instead of 0 for pointers, not using variable sized arrays
2287         on the stack, moving variable declarations to the beginning of
2288         a block and using "foo (void)" instead of "foo ()" for declarations.
2289
2290 2008-02-29  Sebastian Dröge  <slomo@circular-chaos.org>
2291
2292         * plugins/elements/gstfdsink.c: (gst_fd_sink_update_fd):
2293         * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
2294         Don't reset GstPollFDs, this is not necessary at all.
2295
2296         * tests/check/gst/gstpoll.c: (test_poll_wait), (GST_START_TEST),
2297         (delayed_restart), (delayed_control):
2298         Use GST_POLL_FD_INIT.
2299
2300 2008-02-29  Wim Taymans  <wim.taymans@collabora.co.uk>
2301
2302         * gst/gstpoll.c: (gst_poll_fd_init):
2303         * gst/gstpoll.h:
2304         Added Since tags.
2305
2306         * plugins/elements/gstfdsink.c: (gst_fd_sink_update_fd):
2307         Use some more init macros.
2308
2309 2008-02-29  Wim Taymans  <wim.taymans@collabora.co.uk>
2310
2311         * plugins/elements/gstfdsink.c: (gst_fd_sink_start):
2312         * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
2313         Use init macros and functions.
2314
2315 2008-02-29  Wim Taymans  <wim.taymans@collabora.co.uk>
2316
2317         * docs/gst/gstreamer-sections.txt:
2318         * gst/gstpoll.c: (gst_poll_fd_init):
2319         * gst/gstpoll.h:
2320         Add INIT macro and _init method for initializing the GstPollFD.
2321
2322 2008-02-28  Sebastian Dröge  <slomo@circular-chaos.org>
2323
2324         * plugins/elements/gstfdsink.c: (gst_fd_sink_start),
2325         (gst_fd_sink_update_fd):
2326         * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
2327         * tests/check/gst/gstpoll.c: (test_poll_wait), (GST_START_TEST),
2328         (delayed_restart), (delayed_control):
2329         Initialize some uninitialized variables as spotted by valgrind.
2330
2331 2008-02-28  Wim Taymans  <wim.taymans@collabora.co.uk>
2332
2333         * tests/benchmarks/Makefile.am:
2334         * tests/benchmarks/gstpollstress.c: (mess_some_more), (run_test),
2335         (main):
2336         Add poll stress test.
2337
2338 2008-02-28  Wim Taymans  <wim.taymans@collabora.co.uk>
2339
2340         Patch by: Peter Kjellerstedt <pkj at axis dot com>
2341
2342         * plugins/elements/gstfdsink.c: (gst_fd_sink_render),
2343         (gst_fd_sink_start), (gst_fd_sink_stop), (gst_fd_sink_unlock),
2344         (gst_fd_sink_unlock_stop), (gst_fd_sink_update_fd):
2345         * plugins/elements/gstfdsink.h:
2346         * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd),
2347         (gst_fd_src_start), (gst_fd_src_stop), (gst_fd_src_unlock),
2348         (gst_fd_src_unlock_stop), (gst_fd_src_create),
2349         (gst_fd_src_uri_set_uri):
2350         * plugins/elements/gstfdsrc.h:
2351         Port to GstPoll. See #505417.
2352
2353 2008-02-27  Jan Schmidt  <jan.schmidt@sun.com>
2354
2355         * win32/common/libgstreamer.def:
2356         Add new gst_poll_ symbols to win32 defs.
2357
2358 2008-02-27  Wim Taymans  <wim.taymans@collabora.co.uk>
2359
2360         * docs/libs/gstreamer-libs-sections.txt:
2361         * libs/gst/net/gstnetclientclock.c:
2362         (gst_net_client_clock_class_init), (gst_net_client_clock_init),
2363         (gst_net_client_clock_finalize), (gst_net_client_clock_do_select),
2364         (gst_net_client_clock_thread), (gst_net_client_clock_start),
2365         (gst_net_client_clock_stop), (gst_net_client_clock_new):
2366         * libs/gst/net/gstnetclientclock.h:
2367         * libs/gst/net/gstnettimeprovider.c:
2368         (gst_net_time_provider_class_init), (gst_net_time_provider_init),
2369         (gst_net_time_provider_finalize), (gst_net_time_provider_thread),
2370         (gst_net_time_provider_start), (gst_net_time_provider_stop),
2371         (gst_net_time_provider_new):
2372         * libs/gst/net/gstnettimeprovider.h:
2373         Use a private stuct to not break ABI.
2374
2375 2008-02-27  Wim Taymans  <wim.taymans@collabora.co.uk>
2376
2377         Patch by: Peter Kjellerstedt <pkj at axis dot com>
2378
2379         * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_init),
2380         (gst_net_client_clock_finalize), (gst_net_client_clock_do_select),
2381         (gst_net_client_clock_thread), (gst_net_client_clock_start),
2382         (gst_net_client_clock_stop), (gst_net_client_clock_new):
2383         * libs/gst/net/gstnetclientclock.h:
2384         * libs/gst/net/gstnettimeprovider.c: (gst_net_time_provider_init),
2385         (gst_net_time_provider_finalize), (gst_net_time_provider_thread),
2386         (gst_net_time_provider_start), (gst_net_time_provider_stop),
2387         (gst_net_time_provider_new):
2388         * libs/gst/net/gstnettimeprovider.h:
2389         Massive code removal and cleanups because of GstPoll.
2390         Fixes #505417.
2391
2392 2008-02-27  Wim Taymans  <wim.taymans@collabora.co.uk>
2393
2394         * configure.ac:
2395         Add checks for poll, ppoll and pselect.
2396
2397         * docs/gst/gstreamer-docs.sgml:
2398         * docs/gst/gstreamer-sections.txt:
2399         Add docs for GstPoll.
2400
2401         * gst/Makefile.am:
2402         * gst/gst.h:
2403         * gst/gstpoll.c: (find_index), (selectable_fds),
2404         (pollable_timeout), (choose_mode), (pollfd_to_fd_set),
2405         (fd_set_to_pollfd), (gst_poll_new), (gst_poll_free),
2406         (gst_poll_set_mode), (gst_poll_get_mode),
2407         (gst_poll_add_fd_unlocked), (gst_poll_add_fd),
2408         (gst_poll_remove_fd), (gst_poll_fd_ctl_write),
2409         (gst_poll_fd_ctl_read_unlocked), (gst_poll_fd_ctl_read),
2410         (gst_poll_fd_has_closed), (gst_poll_fd_has_error),
2411         (gst_poll_fd_can_read_unlocked), (gst_poll_fd_can_read),
2412         (gst_poll_fd_can_write), (gst_poll_wait),
2413         (gst_poll_set_controllable), (gst_poll_restart),
2414         (gst_poll_set_flushing):
2415         * gst/gstpoll.h:
2416         Add generic poll abstraction. We ideally don't want to have this in core
2417         here but in glib intead...
2418         This code will be used in various network elements and ultimately for
2419         the nanosecond precision monotonic clock (that's why it's here in core).
2420         It'll allow us to implement cancelable socket operations for windows too.
2421
2422         * tests/check/Makefile.am:
2423         * tests/check/gst/gstpoll.c: (test_poll_wait), (GST_START_TEST),
2424         (delayed_stop), (delayed_restart), (delayed_flush),
2425         (delayed_control), (gst_poll_suite):
2426         Add GstPoll unit test.
2427
2428 2008-02-25  Tim-Philipp Müller  <tim at centricular dot net>
2429
2430         * gst/gstfilter.c:
2431           Improve documentation of gst_filter_run(). Fixes #518627.
2432
2433 2008-02-23  Tim-Philipp Müller  <tim at centricular dot net>
2434
2435         * docs/README:
2436           Add a few lines about the new 'check-inspected-versions' target.
2437
2438 2008-02-21  Stefan Kost  <ensonic@users.sf.net>
2439
2440         * tests/check/gst/gstevent.c:
2441           Add qos to the event test. Rename tcase/tsuite; is not only about
2442           custom events.
2443
2444 2008-02-21  Stefan Kost  <ensonic@users.sf.net>
2445
2446         * plugins/elements/gstqueue.c:
2447           Ensure that buffer metadata is writeable, before modifying. Spotted by
2448           Mike.
2449
2450 2008-02-20  Stefan Kost  <ensonic@users.sf.net>
2451
2452         * plugins/elements/gstqueue.c:
2453         * plugins/elements/gstqueue.h:
2454           When dropping buffers in leaky modes, mark next buffers we sent as
2455           DISCONT.
2456
2457 2008-02-20  Tim-Philipp Müller  <tim at centricular dot net>
2458
2459         * plugins/elements/gstfilesrc.c: (gst_file_src_map_region):
2460           Also, if mmap() fails that would be a READ error, not OPEN_READ.
2461
2462 2008-02-20  Tim-Philipp Müller  <tim at centricular dot net>
2463
2464         * plugins/elements/Makefile.am:
2465         * plugins/elements/gstbufferstore.c:
2466         * plugins/elements/gstbufferstore.h:
2467         * plugins/elements/gsttypefindelement.h:
2468           Remove GstBufferStore, no idea why we were still building it.
2469           It's not used anywhere and superseded by GstAdapter.
2470
2471         * plugins/elements/gstfilesrc.c: (gst_file_src_map_region),
2472           (gst_file_src_create_mmap):
2473         * plugins/indexers/gstfileindex.c: (gst_file_index_add_association):
2474           Printf format fixes for 64-bit integers.
2475
2476 2008-02-19  Sebastian Dröge  <slomo@circular-chaos.org>
2477
2478         * configure.ac:
2479         Don't set GST_CACHE_DIR and allow to set it by a configure parameter.
2480         We're not in 0.8 times anymore.
2481
2482 2008-02-19  Jan Schmidt  <Jan.Schmidt@sun.com>
2483
2484         * libs/gst/check/gstcheck.c: (gst_check_drop_buffers),
2485         (gst_check_element_push_buffer_list):
2486         * libs/gst/check/gstcheck.h:
2487         Make the declaration in the header for
2488         gst_check_element_push_buffer_list match the implementation.
2489
2490         Fix up spelling, grammar and wording of the documentation in a few
2491         places, and add the Since keyword to new API functions.
2492         Use g_list_delete_link instead of g_list_remove in
2493         gst_check_drop_buffers, since it's immeasurably more efficient.
2494
2495         * tests/check/elements/fakesrc.c: (GST_START_TEST):
2496         Use new gst_check_drop_buffers function where appropriate.
2497
2498         * win32/common/libgstbase.def:
2499         * win32/common/libgstreamer.def:
2500         Add new symbols gst_collect_pads_take_buffer, 
2501         gst_collect_pads_read_buffer, gst_index_set_resolver_full to the
2502         exports
2503
2504         Changelog surgery to add API keyword to new gst_check API.
2505
2506 2008-02-19  Sebastian Dröge  <slomo@circular-chaos.org>
2507
2508         * gst/parse/lex._gst_parse_yy.pre.c: (yy_get_next_buffer),
2509         (_gst_parse_yyensure_buffer_stack), (_gst_parse_yylex_init_extra):
2510         Update pre-generated flex files with flex 2.3.34.
2511
2512 2008-02-19  Sebastian Dröge  <slomo@circular-chaos.org>
2513
2514         * gst/gstminiobject.c:
2515           Add FIXME for 0.11 to make GstMiniObjectClass::copy() a bit more
2516           friendly to subclasses and not require them to know all internals
2517           of their parent class.
2518
2519 2008-02-15  Stefan Kost  <ensonic@users.sf.net>
2520
2521         * docs/libs/gstreamer-libs-sections.txt:
2522         * libs/gst/base/gstcollectpads.c:
2523         * libs/gst/base/gstcollectpads.h:
2524           Add sub-buffer functions to collectpads. Fixes #516187.
2525           API: gst_collect_pads_take_buffer(), gst_collect_pads_read_buffer()
2526
2527 2008-02-15  Stefan Kost  <ensonic@users.sf.net>
2528
2529         * gst/gstbuffer.c:
2530           Copy selected buffer-flags when creating subbuffers.
2531           Fixes #516395.
2532
2533 2008-02-12  Sebastian Dröge  <slomo@circular-chaos.org>
2534
2535         * gst/gstbuffer.c: (gst_buffer_class_init), (gst_buffer_finalize):
2536         * gst/gstevent.c: (gst_event_class_init), (gst_event_finalize):
2537         * gst/gstmessage.c: (gst_message_class_init),
2538         (gst_message_finalize):
2539         * gst/gstquery.c: (gst_query_class_init), (gst_query_finalize):
2540         * plugins/elements/gstfilesrc.c: (gst_mmap_buffer_class_init),
2541         (gst_mmap_buffer_finalize):
2542         Properly chain up finalize functions to the parent class.
2543
2544 2008-02-11  Wim Taymans  <wim.taymans@collabora.co.uk>
2545
2546         Patch by: Siavash Safi <siavash dot safi at gmail dot com>
2547
2548         * gst/gstindex.c: (gst_index_finalize), (gst_index_set_resolver),
2549         (gst_index_set_resolver_full):
2550         * gst/gstindex.h:
2551         Add new function with option to dispose of user_data in resolver.
2552         Actually call the dispose function when finalizing the object and not
2553         just when changing the resolver/filter.
2554         API: GstIndex::gst_index_set_resolver_full()
2555
2556         * docs/gst/gstreamer-sections.txt:
2557         Add new function to docs. Fixes #515469.
2558
2559 2008-02-11  Sebastian Dröge  <slomo@circular-chaos.org>
2560
2561         * gst/gstindex.c: (gst_index_finalize):
2562         Chain up finalize to the parent class. Fixes leaking the GstObject
2563         name and other things.
2564
2565 2008-02-08  Jan Schmidt  <jan.schmidt@sun.com>
2566
2567         * configure.ac:
2568         Make DISABLE_DEPRECATED defined *only* during CVS, not during
2569         pre-releases or releases.
2570
2571         * docs/faq/gst-uninstalled:
2572         Add gst-plugins-gl
2573
2574         * docs/random/release:
2575         Change one of the steps - we only upload core & base to Gnome FTP
2576
2577 2008-02-06  Stefan Kost  <ensonic@users.sf.net>
2578
2579         * gst/gstconfig.h.in:
2580           Add 'id' for example.
2581
2582         * gst/gstpad.c:
2583         * gst/gstutils.c:
2584         * plugins/elements/gstfdsink.c:
2585           Link to signals. Doc and comment fixes.
2586
2587 2008-02-05  Tim-Philipp Müller  <tim at centricular dot net>
2588
2589         * gst/gstpad.h: (GST_PAD_LINK_SUCCESSFUL):
2590         * gst/gstpluginfeature.h: (GstPluginFeatureClass):
2591           Some minor docs fixes: fix typo, mention that GST_FLOW_RESEND is
2592           unused and unimplemented; finally, it is plugin features, not
2593           plugins, that have ranks.
2594           
2595 2008-02-05  Stefan Kost  <ensonic@users.sf.net>
2596
2597         * gst/gstpluginfeature.h:
2598           Clarify GstRank range docs.
2599
2600 2008-02-05  David Schleef  <ds@schleef.org>
2601
2602         * gst/gst.c: Add a separate gst_deinitialized that prevents
2603           gst_init() from being called after gst_deinit().  Fixes #509559
2604
2605 2008-02-05  Sebastian Dröge  <slomo@circular-chaos.org>
2606
2607         * gst/gstbin.c: (gst_bin_get_type), (gst_bin_base_init),
2608         (gst_bin_class_init):
2609         * gst/gstelement.c: (gst_element_base_class_init),
2610         (gst_element_class_add_pad_template):
2611         * gst/gstpadtemplate.c: (gst_pad_template_init):
2612         * gst/gstpipeline.c: (gst_pipeline_get_type),
2613         (gst_pipeline_base_init), (gst_pipeline_class_init):
2614         * libs/gst/base/gstbasesink.c:
2615         * libs/gst/base/gstbasesrc.c: (gst_base_src_get_type),
2616         (gst_base_src_base_init), (gst_base_src_class_init):
2617         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_base_init),
2618         (gst_capsfilter_class_init):
2619         * plugins/elements/gstfakesink.c: (gst_fake_sink_base_init),
2620         (gst_fake_sink_class_init):
2621         * plugins/elements/gstfakesrc.c: (gst_fake_src_base_init),
2622         (gst_fake_src_class_init):
2623         * plugins/elements/gstfdsink.c: (gst_fd_sink_base_init),
2624         (gst_fd_sink_class_init):
2625         * plugins/elements/gstfdsrc.c: (gst_fd_src_base_init),
2626         (gst_fd_src_class_init):
2627         * plugins/elements/gstfilesink.c: (gst_file_sink_base_init),
2628         (gst_file_sink_class_init):
2629         * plugins/elements/gstfilesrc.c: (gst_file_src_base_init),
2630         (gst_file_src_class_init):
2631         * plugins/elements/gstidentity.c: (gst_identity_base_init),
2632         (gst_identity_class_init):
2633         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_base_init),
2634         (gst_multi_queue_class_init):
2635         * plugins/elements/gstqueue.c: (gst_queue_base_init),
2636         (gst_queue_class_init):
2637         * plugins/elements/gsttee.c: (gst_tee_base_init),
2638         (gst_tee_class_init):
2639         * plugins/elements/gsttypefindelement.c:
2640         (gst_type_find_element_base_init),
2641         (gst_type_find_element_class_init):
2642         * tests/check/gst/gstelement.c: (gst_element_suite):
2643         Revert previous changes to the behaviour of GstPadTemplates, etc
2644         and the possiblity to call them in class_init as it breaks too
2645         many elements. Reopens bug #491501.
2646
2647         Should be applied again for 0.11, thus added a few FIXME 0.11 at
2648         several places.
2649
2650 2008-02-05  Stefan Kost  <ensonic@users.sf.net>
2651
2652         * tools/gst-launch.c:
2653         Dump one graph per pipeline state-change and state change name
2654         (if GST_DEBUG_DUMP_DOT_DIR is set).
2655
2656 2008-02-04  Thijs Vermeir  <thijsvermeir@gmail.com>
2657
2658         * gst/gstpad.c:
2659         * tests/check/gst/gstpad.c:
2660         Be sure that we have a new copy of the caps and not
2661         reffed caps from a template
2662
2663 2008-02-03  Sebastian Dröge  <slomo@circular-chaos.org>
2664
2665         * gst/gstbin.c: (gst_bin_get_type), (gst_bin_class_init):
2666         * gst/gstpipeline.c: (gst_pipeline_get_type),
2667         (gst_pipeline_class_init):
2668         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_type),
2669         (gst_base_sink_class_init):
2670         * libs/gst/base/gstbasesrc.c: (gst_base_src_get_type),
2671         (gst_base_src_class_init):
2672         * libs/gst/base/gstbasetransform.c: (gst_base_transform_get_type),
2673         (gst_base_transform_class_init):
2674         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
2675         (gst_collect_pads_class_init):
2676         * libs/gst/base/gstdataqueue.c: (gst_data_queue_get_type):
2677         * libs/gst/net/gstnettimeprovider.c:
2678         (gst_net_time_provider_base_init),
2679         (gst_net_time_provider_class_init):
2680         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_base_init),
2681         (gst_capsfilter_class_init):
2682         * plugins/elements/gstfakesink.c: (gst_fake_sink_base_init),
2683         (gst_fake_sink_class_init):
2684         * plugins/elements/gstfakesrc.c: (gst_fake_src_base_init),
2685         (gst_fake_src_class_init):
2686         * plugins/elements/gstfdsink.c: (gst_fd_sink_base_init),
2687         (gst_fd_sink_class_init):
2688         * plugins/elements/gstfdsrc.c: (gst_fd_src_base_init),
2689         (gst_fd_src_class_init):
2690         * plugins/elements/gstfilesink.c: (gst_file_sink_base_init),
2691         (gst_file_sink_class_init):
2692         * plugins/elements/gstfilesrc.c: (gst_file_src_base_init),
2693         (gst_file_src_class_init):
2694         * plugins/elements/gstidentity.c: (gst_identity_base_init),
2695         (gst_identity_class_init):
2696         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_base_init),
2697         (gst_multi_queue_class_init):
2698         * plugins/elements/gstqueue.c: (gst_queue_base_init),
2699         (gst_queue_class_init):
2700         * plugins/elements/gsttee.c: (gst_tee_base_init),
2701         (gst_tee_class_init):
2702         * plugins/elements/gsttypefindelement.c:
2703         (gst_type_find_element_base_init),
2704         (gst_type_find_element_class_init):
2705         Don't use base_init where not absolutely necessary. For example it's
2706         not necessary anymore for adding pad templates or setting element
2707         details.
2708
2709         Leave empty base_init functions in several places as GST_BOILERPLATE
2710         still defines and uses them.
2711
2712 2008-02-03  Sebastian Dröge  <slomo@circular-chaos.org>
2713
2714         * gst/gstelement.c: (gst_element_base_class_init),
2715         (gst_element_class_add_pad_template):
2716         * gst/gstpadtemplate.c:
2717         Make it possible (and recommended) to set element details and add
2718         pad templates in the class_init functions by copying the details/pad
2719         templates in GstElement's base_init.
2720
2721         Also make it possible to replace existing pad templates by adding
2722         a new one with the same name. This was done in a hackish fashion
2723         in same elements before already.
2724
2725         Don't reference pad templates that are added a second time. A
2726         new pad template has a refcount of one and is not floating anymore
2727         and to be owned by the element's class. Make this more explicit by
2728         mentioning it in the docs of gst_element_class_add_pad_template().
2729
2730         These changes are backwards compatible. Fixes bug #491501.
2731
2732         * tests/check/gst/gstelement.c:
2733         Add unit test for setting element details, adding pad templates and
2734         replacing them in a subclass.
2735
2736 2008-02-02  Sebastian Dröge  <slomo@circular-chaos.org>
2737
2738         * tools/gst-inspect.c: (print_interfaces),
2739         (print_element_properties_info), (print_pad_info),
2740         (print_signal_info), (print_element_info):
2741         Fix a few memory leaks.
2742
2743 2008-02-01  Thijs Vermeir  <thijsvermeir@gmail.com>
2744
2745         * docs/libs/gstreamer-libs-sections.txt:
2746         * libs/gst/check/gstcheck.c:
2747         * libs/gst/check/gstcheck.h:
2748         Add more functions for unit testing: gst_check_drop_buffers,
2749         gst_check_caps_equal, gst_check_element_push_buffer_list,
2750         gst_check_element_push_buffer
2751         API: gst_check_drop_buffers
2752         API: gst_check_caps_equal
2753         API: gst_check_element_push_buffer_list
2754         API: gst_check_element_push_buffer
2755
2756 2008-02-01  Julien Moutte  <julien@fluendo.com>
2757
2758         * docs/gst/gstreamer-sections.txt: Add GST_CHECK_VERSION to the docs
2759         * gst/gstindex.c: (gst_index_class_init), (gst_index_free_writer),
2760         (gst_index_finalize), (gst_index_entry_free),
2761         (gst_index_add_association): Fix memory leaks.
2762         * gst/gstversion.h.in: Add GST_CHECK_VERSION macro.
2763         * plugins/indexers/gstmemindex.c: (gst_mem_index_class_init),
2764         (gst_mem_index_free_format), (gst_mem_index_free_id),
2765         (gst_mem_index_finalize): Fix memory leaks.
2766         * win32/common/config.h: Updated to CVS HEAD.
2767
2768 2008-02-01  Stefan Kost  <ensonic@users.sf.net>
2769
2770         * docs/README:
2771           Some more details about how the plugin docs works.
2772
2773         * docs/plugins/gstreamer-plugins-sections.txt:
2774           Whitespace cleanup.
2775
2776 2008-02-01  Stefan Kost  <ensonic@users.sf.net>
2777
2778         * gst/parse/grammar.tab.pre.c:
2779         * gst/parse/grammar.tab.pre.h:
2780         * gst/parse/grammar.y:
2781         * gst/parse/lex._gst_parse_yy.pre.c:
2782           Add delayed set-property. This allows to set properties on dynamicaly
2783           created objects (pads in videomxer). Fixes #509391.
2784
2785 2008-02-01  Thijs Vermeir  <thijsvermeir@gmail.com>
2786
2787         * gst/gstutils.c:
2788         Check if caps are not NULL (fix bug #510194)
2789
2790 2008-02-01  Wim Taymans  <wim.taymans@collabora.co.uk>
2791
2792         * libs/gst/base/gstbasesink.c: (gst_base_sink_loop),
2793         (gst_base_sink_get_position_paused):
2794         Add fixme regarding EOS in pull mode.
2795         Fix position reporting in PAUSED for negative rates.
2796
2797 2008-02-01  Wim Taymans  <wim.taymans@collabora.co.uk>
2798
2799         * gst/gstminiobject.c: (gst_mini_object_replace):
2800         When replacing a miniobject, do a quick equality check first so that we
2801         can avoid a ref/unref pair.
2802
2803 2008-02-01  Wim Taymans  <wim.taymans@collabora.co.uk>
2804
2805         * docs/design/part-synchronisation.txt:
2806         Update some docs.
2807
2808         * docs/plugins/Makefile.am:
2809         * docs/plugins/gstreamer-plugins-docs.sgml:
2810         * docs/plugins/gstreamer-plugins-sections.txt:
2811         * plugins/elements/gstmultiqueue.c:
2812         Add multiqueue to the docs.
2813
2814 2008-01-30  Jan Schmidt  <jan.schmidt@sun.com>
2815
2816         * configure.ac:
2817           Back to CVS
2818
2819 === release 0.10.17 ===
2820
2821 2008-01-30  Jan Schmidt <jan.schmidt@sun.com>
2822
2823         * configure.ac:
2824           releasing 0.10.17, "Due Negligence"
2825
2826 2008-01-30  Jan Schmidt  <jan.schmidt@sun.com>
2827
2828         * gst/gstutils.c:
2829         Revert caps != NULL check temporarily for 0.10.17 release.
2830
2831 2008-01-30  Thijs Vermeir  <thijsvermeir@gmail.com>
2832
2833         * gst/gstutils.c:
2834         Check if caps are not NULL (fix bug #510194)
2835
2836 2008-01-30  Jan Schmidt  <jan.schmidt@sun.com>
2837
2838         * gst/gstutils.c:
2839         Fix compilation on systems that have posix timers but no
2840         monotonic clock.
2841         Fixes: #512715
2842         Patch By: Cygwin Ports maintainer <yselkowitz at users dot sourceforge
2843         dot net>
2844
2845 2008-01-30  Jan Schmidt  <jan.schmidt@sun.com>
2846
2847         * tools/gst-inspect.c:
2848         Revert previous commit in preparation for an impromptu 0.10.17 release
2849
2850 2008-01-29  Sebastian Dröge  <slomo@circular-chaos.org>
2851
2852         * tools/gst-inspect.c: (print_interfaces),
2853         (print_element_properties_info), (print_pad_info),
2854         (print_signal_info), (print_element_info):
2855         Fix a few memory leaks.
2856
2857 2008-01-28  Jan Schmidt  <jan.schmidt@sun.com>
2858
2859         * configure.ac:
2860         Back to CVS
2861
2862 === release 0.10.16 ===
2863
2864 2008-01-28  Jan Schmidt <thaytan@noraisin.net>
2865
2866         * configure.ac:
2867           releasing 0.10.16, "Special Dispensation"
2868
2869 2008-01-24  Tim-Philipp Müller  <tim at centricular dot net>
2870
2871         * configure.ac:
2872           Use AC_TRY_COMPILE instead of AC_TRY_RUN to check for
2873           _POSIX_TIMER, _POSIX_MONOTONIC_CLOCK, etc. Makes configure
2874           not fail when trying to crosscompile on OpenEmbedded (#511750).
2875
2876 2008-01-20  Sebastian Dröge  <slomo@circular-chaos.org>
2877
2878         * docs/manuals.mak:
2879         Use $(MAKE) instead of make to fix the build if GNU make is
2880         called different. Fixes bug #510747.
2881
2882 2008-01-20  Tim-Philipp Müller  <tim at centricular dot net>
2883
2884         * gst/gstplugin.c: (_gst_plugin_initialize):
2885           Fix old-style static plugins via GST_PLUGIN_DEFINE_STATIC
2886           again, which I broke two commits ago when changing the API
2887           of gst_plugin_register_static(): the g_list_foreach() in
2888           _gst_plugin_register_static still assumed the old function
2889           signature and would therefore fail (re-fixes #510187).
2890
2891         * gst/gstplugin.c: (_num_static_plugins), (_static_plugins),
2892           (_gst_plugin_register_static), (gst_plugin_register_static):
2893           Revert the (technically correct) change to call g_thread_init() from
2894           the pre-main() constructor. This will break programs which call
2895           g_thread_init() without an if (!g_thread_supported()) guard in their
2896           main function. We could just blame it on GLib or the application, but
2897           it's probably best to just avoid this altogether and simply not use
2898           any GLib functions here and use plain old malloc() with a simple
2899           array to store the plugins to register later when gst_init() is
2900           finally called (re-fixes #510187).
2901
2902         * tests/check/gst/gstplugin.c: (GST_GNUC_CONSTRUCTOR_DEFINED),
2903           (GST_GNUC_CONSTRUCTOR_DEFINED), (plugin_init_counter),
2904           (plugin1_init), (plugin2_init), (plugin3_init), (GST_START_TEST),
2905           (GST_START_TEST), (gst_plugin_suite):
2906           Dumb unit test to make sure the old GST_PLUGIN_DEFINE_STATIC still
2907           works.
2908
2909 2008-01-17  Tim-Philipp Müller  <tim at centricular dot net>
2910
2911         * gst/gstplugin.h: (GST_PLUGIN_DEFINE_STATIC):
2912           Remove deprecation guards around GST_PLUGIN_DEFINE_STATIC.
2913           This makes gtk-doc complain, but results in slightly better
2914           compiler errors. The old _gst_plugin_register_static() is
2915           still guarded, so there'll be a compiler warning about that
2916           instead. Fixes #510187 too.
2917
2918 2008-01-17  Tim-Philipp Müller  <tim at centricular dot net>
2919
2920         * gst/gst.c: (init_post):
2921         * gst/gstplugin.c: (_gst_plugin_register_static),
2922           (gst_plugin_register_static), (_gst_plugin_initialize):
2923         * gst/gstplugin.h: (GstPluginFilter):
2924           Change API of gst_plugin_register_static() to not take
2925           a GstPluginDesc, but rather just take all the arguments
2926           in a GstPluginDesc directly. This is more intuitive and
2927           avoids certain mistakes when porting code from
2928           GST_PLUGIN_DEFINE_STATIC to gst_plugin_register_static().
2929           Fixes #510187.
2930
2931         * tests/check/gst/gstplugin.c:
2932           Fix up for changed API.
2933
2934 2008-01-17  Thomas Vander Stichele  <thomas at apestaart dot org>
2935
2936         * docs/faq/legal.xml:
2937           Update FAQ, Totem actually has an exception these days.
2938
2939 2008-01-14  Jan Schmidt  <jan.schmidt@sun.com>
2940
2941         * win32/common/libgstreamer.def:
2942         Add new API declarations
2943
2944 2008-01-14  Stefan Kost  <ensonic@users.sf.net>
2945
2946         * gst/gstminiobject.c:
2947           Spelling fixes for the API docs.
2948
2949 2008-01-14  Stefan Kost  <ensonic@users.sf.net>
2950
2951         * libs/gst/base/gstbasetransform.c:
2952           Fix long property description for QoS.
2953
2954 2008-01-12  Jan Schmidt  <Jan.Schmidt@sun.com>
2955
2956         * gst/gst.c:
2957         _gst_trace_on is already provided by gsttrace.h, no need to declare
2958         it ourselves.
2959
2960         * docs/libs/gstreamer-libs-sections.txt:
2961         Add 'buffers', 'check_cond' and 'check_mutex' from libgstcheck
2962         and remove strange tcase_add_test which is outputting a warning.
2963
2964         * libs/gst/check/gstcheck.c:
2965         * libs/gst/check/gstcheck.h:
2966         Properly declare 'buffers', 'check_cond', 'check_mutex' extern
2967         and define them in gstcheck.c instead of having every .c file whcih
2968         includes gstcheck.h be defining its own copy and relying on symbol
2969         interposing to marry them all, which doesn't work on Solaris.
2970
2971         * tests/check/elements/identity.c: (GST_START_TEST):
2972         Don't define 'buffers' locally, it comes from libgstcheck.
2973
2974         * tests/check/generic/sinks.c: (send_buffer):
2975         Fix type of variable (GstFlowReturn, not GstStateChangeReturn)
2976
2977         * tests/check/gst/gststructure.c: (GST_START_TEST):
2978         * tests/check/gst/gstsystemclock.c: (GST_START_TEST):
2979         * tests/check/gst/gstutils.c: (GST_START_TEST):
2980         * tests/check/gst/gstvalue.c: (GST_START_TEST):
2981         Add a bunch of casts to make various constants fit the types
2982         they're being assigned to.
2983
2984 2008-01-10  Stefan Kost  <ensonic@users.sf.net>
2985
2986         * gst/gstchildproxy.c:
2987           Improve docs and add some ideas for making this more general-purpose.
2988
2989 2008-01-10  Tim-Philipp Müller  <tim at centricular dot net>
2990
2991         * gst/gst_private.h: (GST_CAT_TYPES):
2992           Add GST_CAT_TYPES, for consistency, and so that the other
2993           debug categories don't make fun of it. Spotted by Saur on IRC.
2994
2995 2008-01-10  Sebastian Dröge  <slomo@circular-chaos.org>
2996
2997         * gst/parse/Makefile.am:
2998           Move types.h from EXTRA_DIST to noinst_HEADERS.
2999
3000 2008-01-10  Sebastian Dröge  <slomo@circular-chaos.org>
3001
3002         * autogen.sh:
3003           Add -Wno-portability to the automake parameters to stop warnings
3004           about GNU make extensions being used. We require GNU make in almost
3005           every Makefile anyway.
3006
3007         * configure.ac:
3008           Use AM_PROG_CC_C_O as a compiler that accepts both -c and -o
3009           at the same time is required for per target flags.
3010
3011 2008-01-09  Tim-Philipp Müller  <tim at centricular dot net>
3012
3013         * gst/gstmacros.h:
3014           Include glib/gmacros.h for G_BEGIN_DECLS. Check if
3015           __GNUC__ is defined before using it.
3016
3017 2008-01-09  Tim-Philipp Müller  <tim at centricular dot net>
3018
3019         * docs/gst/gstreamer-sections.txt:
3020         * gst/gst.c: (init_post):
3021         * gst/gstplugin.c: (_gst_plugin_register_static),
3022           (gst_plugin_register_static), (_gst_plugin_initialize),
3023           (gst_plugin_register_func):
3024         * gst/gstplugin.h: (GST_PLUGIN_DEFINE_STATIC):
3025           API: add gst_plugin_register_static() and deprecate
3026           GST_PLUGIN_DEFINE_STATIC, since it's not portable
3027           (#498924).
3028           Also, in _gst_plugin_register_static(), make sure to call
3029           g_thread_init() before calling GLib functions such as
3030           g_list_append() if we're not initialised yet, since that
3031           may lead to random crashes with older GSlice/GLib versions.
3032
3033         * tests/check/gst/gstplugin.c:
3034           Adapt unit test to above changes.
3035
3036 2008-01-09  Tim-Philipp Müller  <tim at centricular dot net>
3037
3038         * gst/gst_private.h: (STRUCTURE_ESTIMATED_STRING_LEN):
3039         * gst/gstcaps.c: (gst_caps_to_string):
3040         * gst/gststructure.c: (GST_ASCII_IS_STRING),
3041           (priv_gst_structure_append_to_gstring), (gst_structure_to_string):
3042           Yet another gratuitous GString micro-optimisation: add a (private)
3043           function that serialises a structure appending to an existing
3044           GString, so that when we serialise caps we don't need to alloc+free
3045           a throwaway GString for each structure (each of which also entailing
3046           multiple reallocs on the way); also use g_string_sized_new() in
3047           various places with an approximate string length to avoid reallocs
3048           within GString. See #500143.
3049
3050 2008-01-09  Tim-Philipp Müller  <tim at centricular dot net>
3051
3052         * gst/gststructure.c: (gst_structure_id_set_value):
3053           Always check UTF-8 conformance of structure strings and not only
3054           if the debugging system is enabled; reasoning: the behaviour of
3055           the actual code shouldn't really change depending on whether the
3056           debugging system is enabled or not (#508291).
3057
3058 2008-01-09  Stefan Kost  <ensonic@users.sf.net>
3059
3060         * Makefile.am:
3061           Remove old coverage target in favour of "make lcov".
3062
3063 2008-01-09  Wim Taymans  <wim.taymans@collabora.co.uk>
3064
3065         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
3066         (gst_base_src_loop):
3067         The start segment for reverse playback goes from start to last_stop.
3068
3069 2008-01-09  Wim Taymans  <wim.taymans@collabora.co.uk>
3070
3071         Patch by: Peter Kjellerstedt <pkj axis com>
3072
3073         * gst/gstclock.h:
3074         Cast the results from the timeval/spec_to_time macros to what the
3075         docs say it casts to, a GstClockTime. fixes #508175.
3076
3077 2008-01-09  Wim Taymans  <wim.taymans@collabora.co.uk>
3078
3079         * gst/gstbuffer.c:
3080         Update some comments.
3081
3082         * tools/gst-inspect.c: (print_element_properties_info):
3083         Improve printing of flags.
3084
3085 2008-01-08  Tim-Philipp Müller  <tim at centricular dot net>
3086
3087         * libs/gst/base/gstbasetransform.c:
3088           (gst_base_transform_transform_size):
3089           Print element name with g_warning() if there's a problem
3090           with the unit size.
3091
3092 2008-01-07  David Schleef  <ds@schleef.org>
3093
3094         Patch by: Damien Lespiau <damien.lespiau@gmail.com>
3095
3096         * libs/gst/controller/gstcontroller.h:
3097         * libs/gst/controller/gstcontrolsource.h:
3098         * libs/gst/controller/gstinterpolationcontrolsource.h:
3099         * libs/gst/controller/gstlfocontrolsource.h:
3100         * libs/gst/dataprotocol/dataprotocol.h:
3101           Fix empty prototypes.  Fixes bug #507957.
3102
3103 2008-01-07  David Schleef  <ds@schleef.org>
3104
3105         * docs/faq/dependencies.xml: Fix typo.
3106
3107 2008-01-07  Wim Taymans  <wim.taymans@collabora.co.uk>
3108
3109         * libs/gst/base/gstbasesrc.c: (gst_base_src_default_do_seek),
3110         (gst_base_src_loop):
3111         Don't update the last_stop position in do_seek, that's the position we
3112         did a seek to.
3113         Read backwards when we have a negative rate.
3114
3115         * tests/check/elements/filesrc.c: (event_func), (wait_eos),
3116         (setup_filesrc), (cleanup_filesrc), (GST_START_TEST),
3117         (filesrc_suite):
3118         Add check for reverse reading.
3119
3120 2008-01-07  Tim-Philipp Müller  <tim at centricular dot net>
3121
3122         Patch by: Alexis Ballier <aballier at gentoo org>
3123
3124         * tests/check/gst/gstabi.c:
3125         * tests/check/gst/struct_ppc64.h:
3126         * tests/check/libs/libsabi.c:
3127         * tests/check/libs/struct_ppc64.h:
3128           Decide which header to include based on the userland ABI target
3129           and not the kernel/cpu. Fix up structure sizes of ppc64 header
3130           for 64-bit userland (#503590).  Might need something similar for
3131           x86 too.
3132
3133 2008-01-05  Tim-Philipp Müller  <tim at centricular dot net>
3134
3135         * gst/gstdebugutils.c: (_gst_debug_bin_to_dot_file):
3136           Log the reason why fopen fails in addition to the fact that it failed.
3137           
3138 2008-01-04  Sebastian Dröge  <slomo@circular-chaos.org>
3139
3140         * gst/parse/parse.l:
3141         Use "%option never-interactive" to prevent useless calls to isatty()
3142         on every input when parsing. Also use "%option noinput" to not define
3143         the static input/yyinput functions which we don't use anyway. This
3144         removes a compiler warning with gcc 4.3 and saves some bytes in the
3145         library.
3146         
3147         * gst/parse/lex._gst_parse_yy.pre.c:
3148         Regenerated for the above change.
3149
3150 2008-01-04  Wim Taymans  <wim.taymans@collabora.co.uk>
3151
3152         * gst/gstpad.c: (fixate_value):
3153         Don't crash when trying to fixate and empty list.
3154         Fixes #506643.
3155
3156 2008-01-03  Sebastian Dröge  <slomo@circular-chaos.org>
3157
3158         * docs/faq/gst-uninstalled:
3159         Clarify the comments to make the usage of this script and what it
3160         does easier to understand.
3161
3162 2008-01-01  Thijs Vermeir  <thijsvermeir@gmail.com>
3163
3164         * tools/gst-plot-timeline.py:
3165         Add more options to gst-plot-timeline
3166
3167 2007-12-31  Wim Taymans  <wim.taymans@collabora.co.uk>
3168
3169         * docs/design/part-synchronisation.txt:
3170         Some more info on how the stream_time in GstBaseSink is done.
3171
3172 2007-12-30  Tim-Philipp Müller  <tim at centricular dot net>
3173
3174         * tests/check/generic/sinks.c: (gst_sinks_suite):
3175           Put back the tcase_set_timeout(), apparently it's needed after
3176           all; fix it up in a way that makes things work with valgrind too.
3177
3178 2007-12-30  Thijs Vermeir  <thijsvermeir@gmail.com>
3179
3180         * gst/gstdebugutils.c:
3181           Add warning when failed to open file for writing.
3182
3183 2007-12-28  Tim-Philipp Müller  <tim at centricular dot net>
3184
3185         Based on patch by: Laurent Glayal  <spglegle yahoo fr>
3186
3187         * gst/gstvalue.c: (gst_value_is_fixed):
3188           Optimisation: bail out of the loop as early as possible (#500143).
3189
3190 2007-12-28  Tim-Philipp Müller  <tim at centricular dot net>
3191
3192         * gst/gstcaps.c: (gst_caps_to_string):
3193         * gst/gstinfo.c: (gst_debug_construct_term_color):
3194         * gst/gstparse.c: (gst_parse_launchv):
3195         * gst/gstutils.c: (gst_util_dump_mem):
3196         * gst/gstvalue.c: (gst_value_serialize_any_list),
3197           (gst_value_transform_any_list_string):
3198           Bunch of gratuitous nano-optimisations.
3199
3200 2007-12-28  Tim-Philipp Müller  <tim at centricular dot net>
3201
3202         * tests/check/generic/sinks.c: (async_done_func),
3203           (async_done_eos_func):
3204           Fix leak in unit test (bus sync handler must unref the message
3205           if it returns GST_BUS_DROP). Don't fiddle with the default test
3206           timeout, this is smaller than the current preconfigured value
3207           via CK_DEFAULT_TIMEOUT, and also breaks things with valgrind
3208           because it overrides the value specified in CK_DEFAULT_TIMEOUT.
3209
3210 2007-12-24  Wim Taymans  <wim.taymans@collabora.co.uk>
3211
3212         Based on Patch by: Laurent Glayal <spglegle at yahoo dot fr>
3213
3214         * configure.ac:
3215         Check for stdio_ext.h for the filesink changes.
3216
3217         * plugins/elements/gstfilesink.c: (buffer_mode_get_type),
3218         (gst_file_sink_class_init), (gst_file_sink_init),
3219         (gst_file_sink_dispose), (gst_file_sink_set_property),
3220         (gst_file_sink_get_property), (gst_file_sink_open_file),
3221         (gst_file_sink_close_file):
3222         * plugins/elements/gstfilesink.h:
3223         Add two properties to control the buffering mode and size.
3224         API: GstFileSink::buffer-mode
3225         API: GstFileSink::buffer-size
3226         Fixes #500150.
3227
3228 2007-12-24  Wim Taymans  <wim.taymans@collabora.co.uk>
3229
3230         * gst/gstsystemclock.c: (gst_system_clock_id_wait_jitter_unlocked):
3231         Add some more docs to explain why a FIXME was wrongly added. 
3232
3233 2007-12-22  Sebastian Dröge  <slomo@circular-chaos.org>
3234
3235         * gst/gstobject.c:
3236           Fix typo in the gst_object_{ref,unref} documentation.
3237
3238 2007-12-21  Tim-Philipp Müller  <tim at centricular dot net>
3239
3240         * tests/check/libs/controller.c:
3241         * tests/check/libs/typefindhelper.c:
3242         * tests/check/pipelines/parse-launch.c:
3243           Don't use GST_PLUGIN_DEFINE_STATIC, it is not portable and is
3244           going to be deprecated (see #498924).
3245
3246 2007-12-21  Tim-Philipp Müller  <tim at centricular dot net>
3247
3248         * gst/gsttypefind.c: (gst_type_find_register):
3249           Make gst_type_find_register work for static typefind functions,
3250           ie. allow passing plugin == NULL (prerequisite for #498924).
3251
3252         * gst/gstelementfactory.c: (gst_element_register):
3253           Small docs addition.
3254
3255 2007-12-21  Wim Taymans  <wim.taymans@collabora.co.uk>
3256
3257         * gst/gstpad.c: (gst_pad_dispose):
3258         Really unlink the peer pad instead of setting the peer pointer to NULL
3259         when we dispose the pad.
3260         This correctly calls the unlink functions and makes sure that the peer
3261         does not have a handle to invalid memory. See #504671.
3262
3263         * tests/check/gst/gstpad.c: (GST_START_TEST), (gst_pad_suite):
3264         Add testsuite for above case.
3265
3266 2007-12-20  Tim-Philipp Müller  <tim at centricular dot net>
3267
3268         Patch by: Peter Kjellerstedt <pkj axis com>
3269
3270         * libs/gst/check/gstcheck.h:
3271           Fix detection of the check version we're compiling against (would
3272           otherwise break if check goes v0.10.0); correctly report the
3273           name of the failed test again in case of failure, instead of
3274           just 'tf' (fixes #504499).
3275
3276 2007-12-19  Wim Taymans  <wim.taymans@collabora.co.uk>
3277
3278         * libs/gst/base/gstbasesrc.c: (gst_base_src_send_event),
3279         (gst_base_src_get_range), (gst_base_src_pad_get_range),
3280         (gst_base_src_loop), (gst_base_src_set_flushing),
3281         (gst_base_src_change_state):
3282         Allow sending EOS to the source to make it send out an EOS event from
3283         the streaming thread.
3284         Update docs and deprecate the old NULL/READY shutdown method.
3285
3286         * tests/check/libs/basesrc.c: (GST_START_TEST),
3287         (gst_basesrc_suite):
3288         Add unit test for controlled shutdown.
3289
3290 2007-12-19  Wim Taymans  <wim.taymans@collabora.co.uk>
3291
3292         * docs/design/part-synchronisation.txt:
3293         Small updates.
3294
3295         * gst/gstsegment.c: (gst_segment_set_seek),
3296         (gst_segment_set_newsegment_full), (gst_segment_to_stream_time),
3297         (gst_segment_to_running_time):
3298         The seek format can be different from the segment format when the start
3299         and stop values are not to be updated, when we only do a rate change for
3300         example.
3301
3302         * tests/check/gst/gstsegment.c: (GST_START_TEST),
3303         (gst_segment_suite):
3304         Add a testcase for the rate-only seeks, checking that the format is
3305         correctly ignored when start and stop are not updated.
3306
3307 2007-12-18  Sebastian Dröge  <slomo@circular-chaos.org>
3308
3309         Patch by: Matthias Bolte <photon at mail dot upb dot de>
3310
3311         * win32/vs8/grammar.vcproj:
3312         * win32/vs8/libgstcontroller.vcproj:
3313         * win32/vs8/libgstreamer.vcproj:
3314         Fix compilation with VS8 and include some missing files.
3315
3316 2007-12-18  Tim-Philipp Müller  <tim at centricular dot net>
3317
3318         * gst/gsttaglist.c:
3319           Small docs addition: mention that the strings returned by
3320           gst_tag_list_get_string*() are in UTF-8 encoding.
3321
3322 2007-12-17  Tim-Philipp Müller  <tim at centricular dot net>
3323
3324         * Makefile.am:
3325           The check-exports stuff moved to common/win32.mak, so include that.
3326
3327 2007-12-17  Wim Taymans  <wim.taymans@collabora.co.uk>
3328
3329         * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
3330         (gst_base_src_perform_seek), (gst_base_src_get_range),
3331         (gst_base_src_set_playing), (gst_base_src_change_state):
3332         Make _wait_playing() not check any variables so that we can call this
3333         function from subclasses. Move the checks elsewhere similar to
3334         _wait_preroll() in basesink.
3335         Add some debugging.
3336         Only signal the LIVE cond when we are going back to PLAYING.
3337
3338 2007-12-16  Tim-Philipp Müller  <tim at centricular dot net>
3339
3340         * gst/gstregistrybinary.c: (gst_registry_binary_write_cache):
3341           Use g_remove() and g_rename(). Check result of g_rename(), and
3342           don't leak the open file descriptor if we error out when writing.
3343
3344         * gst/gstregistryxml.c: (load_plugin), (gst_registry_xml_write_cache):
3345           Must check the return value of close() after writing out the new
3346           registry file.  Sometimes write problems such as out-of-diskspace
3347           are only reported when the file is closed and not already during
3348           the write.  This may have caused partial/broken registry files in
3349           some rare circumstances. Should fix #503675.
3350
3351 2007-12-16  Edward Hervey  <edward.hervey@collabora.co.uk>
3352
3353         * docs/gst/.cvsignore:
3354         * docs/libs/.cvsignore:
3355         * docs/plugins/.cvsignore:
3356         Ignore files generated by new common/* modifications
3357
3358 2007-12-15  Stefan Kost  <ensonic@users.sf.net>
3359
3360         * win32/common/libgstbase.def:
3361           Yes, you can also have a <TAB> if you want.
3362
3363 2007-12-15  Stefan Kost  <ensonic@users.sf.net>
3364
3365         * win32/common/libgstbase.def:
3366           Add new basetransform API to win export file.
3367
3368 2007-12-15  Stefan Kost  <ensonic@users.sf.net>
3369
3370         * tests/check/gst/gstbin.c:
3371           Adjust the test to the refcount change two days ago.
3372
3373 2007-12-14  David Schleef  <ds@schleef.org>
3374
3375         * docs/faq/getting.xml: Fix typo.
3376
3377 2007-12-14  Sebastian Dröge  <slomo@circular-chaos.org>
3378
3379         * docs/libs/gstreamer-libs-sections.txt:
3380         * libs/gst/base/gstbasetransform.c: (gst_base_transform_init),
3381           (gst_base_transform_prepare_output_buffer),
3382           (gst_base_transform_set_gap_aware):
3383         * libs/gst/base/gstbasetransform.h:
3384           API: Add gst_base_transform_set_gap_aware() to control whether
3385           the element correctly handles GST_BUFFER_FLAG_GAP or shouldn't
3386           get buffers with this flag at all. Fixes #503231.
3387
3388 2007-12-13  Stefan Kost  <ensonic@users.sf.net>
3389
3390         * libs/gst/base/gstbasesink.c:
3391         * libs/gst/base/gstbasesrc.c:
3392         * libs/gst/base/gstbasetransform.c:
3393           Replace gst_pad_get_parent by GST_OBJECT_PARENT inside streaming
3394           thread. Correct log message in gstbasesrc.c.
3395
3396 2007-12-13  Tim-Philipp Müller  <tim at centricular dot net>
3397
3398         * gst/gstutils.c: (element_find_unconnected_pad):
3399           Fix possible compiler warning (#503417).
3400
3401 2007-12-13  Tim-Philipp Müller  <tim at centricular dot net>
3402
3403         * gst/gstobject.c: (gst_object_dispatch_properties_changed):
3404           Don't use GST_CAT_EVENT here for logging, it makes no sense.
3405
3406 2007-12-13  Sebastian Dröge  <slomo@circular-chaos.org>
3407
3408         * tools/gst-inspect.c: (print_element_properties_info):
3409           Add support for GstFraction properties.
3410
3411 2007-12-12  Tim-Philipp Müller  <tim at centricular dot net>
3412
3413         * Makefile.am:
3414           Add check-exports target and run it as part of 'make check'
3415           (see #499140 and #493983).
3416
3417         * gst/gst_private.h:
3418         * gst/gstelementfactory.h:
3419         * gst/gstghostpad.c: (gst_proxy_pad_class_init):
3420         * gst/gstinfo.c: (_priv_gst_in_valgrind), (_gst_debug_init),
3421           (_priv_gst_in_valgrind):
3422         * gst/gstinfo.h: (GstLogFunction):
3423         * gst/gsttypefind.c: (type_find_debug), (GST_CAT_DEFAULT),
3424           (gst_type_find_register):
3425         * gst/gsttypefindfactory.c: (type_find_debug), (GST_CAT_DEFAULT),
3426           (gst_type_find_factory_get_type):
3427         * libs/gst/controller/gstcontroller.c: (GST_CAT_DEFAULT),
3428           (GST_CAT_DEFAULT), (parent_class), (priv_gst_controller_key),
3429           (gst_controller_new_valist), (gst_controller_new_list),
3430           (_gst_controller_dispose), (_gst_controller_class_init):
3431         * libs/gst/controller/gstcontrolsource.c: (GST_CAT_DEFAULT):
3432         * libs/gst/controller/gsthelper.c: (GST_CAT_DEFAULT),
3433           (GST_CAT_DEFAULT), (gst_object_uncontrol_properties),
3434           (gst_object_get_controller), (gst_object_set_controller),
3435           (gst_object_suggest_next_sync), (gst_object_sync_values),
3436           (gst_object_set_control_source), (gst_object_get_control_source),
3437           (gst_object_get_value_arrays), (gst_object_get_value_array),
3438           (gst_object_get_control_rate), (gst_object_set_control_rate):
3439         * libs/gst/controller/gstinterpolation.c: (GST_CAT_DEFAULT):
3440         * libs/gst/controller/lib.c: (GST_CAT_DEFAULT):
3441           Make some functions that should be static static; rename some
3442           private symbols so that they don't get exported; add some FIXME
3443           comments so we can move accidentally exported functions into
3444           our private section in 0.11.
3445
3446         * win32/common/libgstreamer.def:
3447           Add gst_utils_get_timestamp().
3448
3449 2007-12-12  Stefan Kost  <ensonic@users.sf.net>
3450
3451         * gst/gstvalue.c:
3452         * gst/gstvalue.h:
3453           Add more missing "Since:" tags to docs.
3454
3455 2007-12-12  Stefan Kost  <ensonic@users.sf.net>
3456
3457         * gst/gstutils.c:
3458           Add mising "Since:" to docs.
3459
3460 2007-12-11  Stefan Kost  <ensonic@users.sf.net>
3461
3462         * gst/gstplugin.c:
3463           Include "glib-compat-private.h" to fix the build on system with
3464           glib < 2.10. Fixes #503131.
3465
3466 2007-12-11  Stefan Kost  <ensonic@users.sf.net>
3467
3468         * gst/gstutils.c:
3469         * gst/gstutils.h:
3470           Actually its not PURE as it gets the time from elsewhere.
3471
3472 2007-12-11  Stefan Kost  <ensonic@users.sf.net>
3473
3474         * docs/gst/gstreamer-sections.txt:
3475         * gst/gstclock.h:
3476         * gst/gstdebugutils.c:
3477         * gst/gstinfo.c:
3478         * gst/gstutils.c:
3479         * gst/gstutils.h:
3480         * libs/gst/base/gstbasesink.c:
3481         * tools/gst-launch.c:
3482           Change GST_GET_TIMESTAMP into gst_util_get_timestamp and replace all
3483           uses as we don't have HAVE_POSIX_TIMERS in public headers.
3484           Thanks Tim for spotting.
3485           API: gst_util_get_timestamp
3486
3487 2007-12-09  Sebastian Dröge  <slomo@circular-chaos.org>
3488
3489         * configure.ac:
3490           Don't define GST_DISABLE_DEPRECATED for releases. Fixes #498181.
3491
3492 2007-12-08  Tim-Philipp Müller  <tim at centricular dot net>
3493
3494         * gst/gststructure.c: (gst_structure_validate_name),
3495           (gst_structure_new_valist), (gst_structure_parse_value),
3496           (gst_structure_from_string):
3497           Don't crash in _from_string() if the structure name is not valid
3498           (fixes #501560).  Allow structure names to start with a number
3499           again (this apparently broke the ubuntu codec installer).
3500
3501         * tests/check/gst/gststructure.c: (GST_START_TEST), (GST_START_TEST),
3502           (GST_START_TEST):
3503           Add unit test for the crash; update unit tests for new behaviour.
3504
3505 2007-12-03  Wim Taymans  <wim.taymans@gmail.com>
3506
3507         * gst/gstutils.c:
3508         Clarify gst_element_get_compatible_pad() documentation.
3509         Fixes #500919.
3510
3511 2007-12-02  Sebastian Dröge  <slomo@circular-chaos.org>
3512
3513         * tests/check/Makefile.am:
3514           Don't forget to dist {gst,libs}/struct_hppa.h.
3515
3516 2007-11-28  Stefan Kost  <ensonic@users.sf.net>
3517
3518         * libs/gst/base/gstbasesink.c:
3519           Use new API to get elapsed time.
3520
3521 2007-11-28  Stefan Kost  <ensonic@users.sf.net>
3522
3523         * gst/gstdebugutils.c:
3524         * gst/gstinfo.c:
3525           Fix wrong order of args in GST_CLOCK_DIFF() usage.
3526
3527         * tools/gst-launch.c:
3528           Use new API to get elapsed time.
3529
3530 2007-11-28  Stefan Kost  <ensonic@users.sf.net>
3531
3532         * docs/gst/gstreamer-sections.txt:
3533         * gst/gstclock.h:
3534         * gst/gstdebugutils.c:
3535         * gst/gstinfo.c:
3536           Rename new API + ChangeLog surgery to remove old name from last entry..
3537
3538 2007-11-28  Stefan Kost  <ensonic@users.sf.net>
3539
3540         * docs/gst/gstreamer-sections.txt:
3541         * gst/gstclock.h:
3542         * gst/gstdebugutils.c:
3543         * gst/gstinfo.c:
3544           Now hide the different clock stuff behind a macro.
3545
3546 2007-11-28  Stefan Kost  <ensonic@users.sf.net>
3547
3548         * configure.ac:
3549         * gst/gstdebugutils.c:
3550         * gst/gstinfo.c:
3551           Apply the posix-timer check from #361155. Conditionally use the posix
3552           timer for logging. This gives better timestamp precission, less
3553           overhead and no ntp jitter.
3554
3555 2007-11-28  Sebastian Dröge  <slomo@circular-chaos.org>
3556
3557         * gst/gstminiobject.c: (gst_mini_object_get_type),
3558         (gst_mini_object_class_init), (gst_mini_object_copy_default),
3559         (gst_mini_object_finalize), (gst_mini_object_copy),
3560         (gst_mini_object_is_writable), (gst_mini_object_make_writable),
3561         (gst_mini_object_replace), (param_mini_object_validate),
3562         (gst_param_spec_mini_object_get_type):
3563         Some cleanup and checking against invalid function parameters.
3564
3565 2007-11-28  Wim Taymans  <wim.taymans@gmail.com>
3566
3567         * docs/gst/gstreamer-sections.txt:
3568         * gst/gstclock.h:
3569         * tests/check/gst/gstsystemclock.c: (GST_START_TEST),
3570         (gst_systemclock_suite):
3571         Start merging in the easy bits of #361155, the monotonic clock patch.
3572         This one adds a few handy macros with docs and a testsuite.
3573
3574 2007-11-27  Wim Taymans  <wim.taymans@gmail.com>
3575
3576         * plugins/elements/gstfilesink.c: (gst_file_sink_event):
3577         Be a bit smarter when seeking, like, don't try to do a seek when it's
3578         not needed. This avoids errors when the file is not seekable.
3579         Fixes #499771.
3580
3581 2007-11-26  Stefan Kost  <ensonic@users.sf.net>
3582
3583         * docs/gst/gstreamer-docs.sgml:
3584         * docs/gst/gstreamer-sections.txt:
3585         * docs/gst/gstreamer.types.in:
3586         * gst/Makefile.am:
3587         * gst/gst.h:
3588         * gst/gstpreset.c:
3589         * gst/gstpreset.h:
3590         * plugins/elements/gstqueue.c:
3591           Due to popular request remove preset interface again. :-(.
3592
3593 2007-11-22  Stefan Kost  <ensonic@users.sf.net>
3594
3595         * tools/gst-inspect.c:
3596           Print 'default value' for enums and flags too.
3597
3598 2007-11-22  Stefan Kost  <ensonic@users.sf.net>
3599
3600         * docs/random/ensonic/profiling.txt:
3601           More ideas.
3602
3603         * gst/gstbin.c:
3604           Fix typo and give better log output.
3605
3606         * gst/gstdebugutils.c:
3607         * gst/gstdebugutils.h:
3608           More ideas, make graphs a bit smaller and fix param name in macro.
3609
3610 2007-11-22  Stefan Kost  <ensonic@users.sf.net>
3611
3612         * gst/gstpreset.c:
3613           Try harder to use the return value from fgets().
3614
3615 2007-11-21  Stefan Kost  <ensonic@users.sf.net>
3616
3617         * gst/gstpreset.c:
3618           For theses two fgets we handle the error below.
3619
3620 2007-11-21  Wim Taymans  <wim.taymans@gmail.com>
3621
3622         * libs/gst/base/gstbasesink.c: (gst_base_sink_send_event):
3623         Only send upstream events upstream. Fixes #498746.
3624
3625 2007-11-21  Wim Taymans  <wim.taymans@gmail.com>
3626
3627         Patch by: Laurent Glayal <spglegle at yahoo dot fr>
3628
3629         * plugins/elements/gstidentity.c: (gst_identity_class_init),
3630         (gst_identity_init), (gst_identity_transform_ip),
3631         (gst_identity_set_property), (gst_identity_get_property):
3632         * plugins/elements/gstidentity.h:
3633         Add property to disable handoff signal emission. Fixes #498694.
3634         API: GstIdentity::signal-handoffs
3635
3636 2007-11-21  Julien Moutte  <julien@fluendo.com>
3637
3638         * docs/faq/gst-uninstalled: Yet another missing library for the
3639         uninstalled script (fft)
3640
3641 2007-11-21  Jan Schmidt  <jan.schmidt@sun.com>
3642
3643         * docs/faq/developing.xml:
3644         Add a question about how to submit new translations.
3645
3646         * docs/random/release:
3647         Update the contact email address for the Translation Project
3648
3649         * plugins/elements/gstfdsrc.c:
3650         The parent_class for fdsrc is pushsrc, not GstElement.
3651
3652 2007-11-20  Stefan Kost  <ensonic@users.sf.net>
3653
3654         * gst/gstpreset.c:
3655           Plug a leak and fix saving.
3656
3657 2007-11-20  Sebastian Dröge  <slomo@circular-chaos.org>
3658
3659         * docs/gst/gstreamer-sections.txt:
3660         Add new gst_preset__get_property_names() function to the docs
3661         to fix the build.
3662
3663 2007-11-20  Stefan Kost  <ensonic@users.sf.net>
3664
3665         * gst/gstpreset.c:
3666         * gst/gstpreset.h:
3667           Change _get_preset_names API to return a strv with copies. Add
3668           _get_property_names to allow implementations to filter and provide
3669           good default implementation.
3670
3671 2007-11-20  Julien MOUTTE  <julien@moutte.net>
3672
3673         * docs/faq/gst-uninstalled: Add another library to the uninstalled
3674         script (sdp).
3675
3676 2007-11-19  Stefan Kost  <ensonic@users.sf.net>
3677
3678         * gst/gstpreset.c:
3679           More cleanups, docs, and TODOs from comments that now slowly come in.
3680
3681 2007-11-19  Julien MOUTTE  <julien@moutte.net>
3682
3683         * docs/faq/gst-uninstalled: Add new base libraries in the LD 
3684         search path.
3685
3686 2007-11-19  Stefan Kost  <ensonic@users.sf.net>
3687
3688         * gst/gstpreset.c:
3689           Fix bogus warning and make the property type specific code more
3690           similar.
3691
3692 2007-11-19  Julien MOUTTE  <julien@moutte.net>
3693
3694         * gst/gstpreset.c: (gst_preset_default_create_preset): Make
3695         it build on OS X.
3696
3697 2007-11-19  Wim Taymans  <wim.taymans@gmail.com>
3698
3699         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
3700         (gst_bin_add_func), (gst_bin_remove_func),
3701         (gst_bin_change_state_func), (gst_bin_continue_func):
3702         Change email, cleanups add some more debug and comments.
3703         Also set bus and clock on new elements when the pipeline was in error.
3704
3705 2007-11-18  Stefan Kost  <ensonic@users.sf.net>
3706
3707         * gst/gstbin.c:
3708         * gst/gstdebugutils.c:
3709           Fix build with --disable-gst-debug. Fixes #497859.
3710           Spotted by Sameer Naik.
3711
3712 2007-11-17  Stefan Kost  <ensonic@users.sf.net>
3713
3714         * gst/gstevent.c:
3715           Little documentation improvment.
3716
3717         * gst/gstpreset.c:
3718           More TODO cleanups. Remove c++ comments.
3719
3720         * libs/gst/controller/gstcontroller.c:
3721           Add TODO and use quark from static string.
3722
3723         * tests/check/gst/gstmessage.c:
3724         * tests/check/gst/gststructure.c:
3725           Use quark from static string.
3726
3727 2007-11-17  Stefan Kost  <ensonic@users.sf.net>
3728
3729         * gst/gstpreset.c:
3730           Add some comments and TODOs.
3731
3732         * gst/gstpreset.h:
3733           Add padding for future changes.
3734
3735         * plugins/elements/gstqueue.c:
3736           Implement the iface.    
3737
3738 2007-11-17  Stefan Kost  <ensonic@users.sf.net>
3739
3740         * docs/gst/gstreamer-docs.sgml:
3741         * docs/gst/gstreamer-sections.txt:
3742         * docs/gst/gstreamer.types.in:
3743         * gst/Makefile.am:
3744         * gst/gst.h:
3745         * gst/gstpreset.c:
3746         * gst/gstpreset.h:
3747           Add the preset interface (Fixes #396779). Do some doc cleanups along.
3748
3749 2007-11-16  Jan Schmidt  <jan.schmidt@sun.com>
3750
3751         * configure.ac:
3752
3753         Back to CVS
3754
3755 === release 0.10.15 ===
3756
3757 2007-11-15  Jan Schmidt <jan.schmidt@sun.com>
3758
3759         * configure.ac:
3760           releasing 0.10.15, "October"
3761
3762 2007-11-14  Jan Schmidt  <jan.schmidt@sun.com>
3763
3764         * win32/vs6/libgstreamer.dsp:
3765         Convert line endings back to DOS.
3766
3767 2007-11-13  Stefan Kost  <ensonic@users.sf.net>
3768
3769         * docs/design/draft-tagreading.txt:
3770         * docs/random/ensonic/profiling.txt:
3771         Update fast tagreading draft and performance profiling ideas.
3772
3773 2007-11-09  Wim Taymans  <wim.taymans@gmail.com>
3774
3775         * libs/gst/base/gstbasesink.c: (gst_base_sink_set_last_buffer):
3776         Don't hold the object lock when unreffing a buffer because it could
3777         cause a deadlock when the finalize function wants to grab the object
3778         lock too. Fixes #495133.
3779
3780 2007-11-09  Wim Taymans  <wim.taymans@gmail.com>
3781
3782         * gst/gstsegment.c: (gst_segment_set_newsegment_full),
3783         (gst_segment_to_stream_time), (gst_segment_to_running_time):
3784         Also accumulate time correctly when doing reverse playback. Fixes
3785         #488201,
3786         When converting to running and stream time, use default values for
3787         start/stop/time/accum when comparing different formats. Fixes #494245.
3788
3789         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
3790         Do running/stream time in TIME format.
3791
3792         * tests/check/gst/gstsegment.c: (GST_START_TEST),
3793         (gst_segment_suite):
3794         2 new unit tests for segment accumulation.
3795
3796 2007-11-07  Tim-Philipp Müller  <tim at centricular dot net>
3797
3798         * gst/gst.c: (init_pre):
3799         * gst/gstdebugutils.c: (priv_gst_dump_dot_dir), (debug_dump_element),
3800           (_gst_debug_bin_to_dot_file):
3801           Move getenv() back into gst_init, so everyone can live happily
3802           ever after. Make sure the symbol isn't exported though.
3803
3804 2007-11-06  Tim-Philipp Müller  <tim at centricular dot net>
3805
3806         Patch by: Sebastien Moutte  <sebastien moutte net>
3807
3808         * win32/common/gstenumtypes.c:
3809         * win32/common/gstenumtypes.h:
3810           Update enum types.
3811
3812         * win32/vs6/libgstreamer.dsp:
3813           Update vs6 project files (#494343).
3814
3815 2007-11-06  Wim Taymans  <wim.taymans@gmail.com>
3816
3817         * libs/gst/base/gstbasesrc.c: (gst_base_src_default_query),
3818         (gst_base_src_perform_seek), (gst_base_src_default_event),
3819         (gst_base_src_set_flushing), (gst_base_src_activate_push),
3820         (gst_base_src_activate_pull):
3821         Unify flushing code, remove some old unlock code that is no longer used.
3822         Take the streaming lock when seeking to avoid races. Fixes #492729.
3823         Added some more comments.
3824
3825 2007-11-06  Tim-Philipp Müller  <tim at centricular dot net>
3826
3827         * gst/gst.c: (_gst_disable_segtrap):
3828           Make  _gst_disable_segtrap static, it's only used in gstplugin.c and
3829           we can use gst_segtrap_is_enabled() there now that we have that API.
3830           Move _gst_debug_dump_dot_dir into gstdebugutils.c, there's no reason
3831           to do the getenv here (and export the variable).
3832
3833         * gst/gstdebugutils.c: (debug_dump_element),
3834           (_gst_debug_bin_to_dot_file), (_gst_debug_bin_to_dot_file_with_ts):
3835           Don't use VLAs which is a C99ism and throws off MSVC (#493983).
3836
3837         * gst/gstinfo.c: (_priv_gst_info_start_time), (_gst_debug_init),
3838           (gst_debug_log_default):
3839           Rename _gst_info_start_time to priv_gst_info_start_time so it
3840           doesn't get exported (was never in any header).
3841
3842         * gst/gstplugin.c: (_gst_plugin_fault_handler_setup),
3843           (gst_plugin_loading_mutex):
3844           Make static mutex gst_plugin_loading_mutex really static (was never
3845           in any header), and use gst_segtrap_is_enabled() instead of
3846           _gst_disable_segtrap.
3847
3848         * gst/gsttrace.c: (_gst_trace_default):
3849           Make local _gst_trace_default static (was never in any header).
3850
3851 2007-11-06  Tim-Philipp Müller  <tim at centricular dot net>
3852
3853         Patch by: Ole André Vadla Ravnås  <ole.andre.ravnas@tandberg.com>
3854
3855         * win32/common/libgstbase.def:
3856         * win32/common/libgstcontroller.def:
3857         * win32/common/libgstdataprotocol.def:
3858         * win32/common/libgstnet.def:
3859         * win32/common/libgstreamer.def:
3860           Add more missing symbols, remove some duplicates, and sort
3861           as the 'sort' command sorts it (partially fixes #493983).
3862
3863 2007-11-06  Wim Taymans  <wim.taymans@gmail.com>
3864
3865         * gst/gstelement.c: (gst_element_set_state_func):
3866         Only change the state cookie if a different state was set on the
3867         element. See #492729.
3868
3869 2007-11-06  Tim-Philipp Müller  <tim at centricular dot net>
3870
3871         * gst/gstvalue.c:
3872           Remove unused and uninitialised type variables that were still
3873           exported for some reason (they were never in any header files
3874           though).
3875
3876 2007-11-06  Wim Taymans  <wim.taymans@gmail.com>
3877
3878         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
3879         (gst_base_sink_do_sync), (gst_base_sink_preroll_object),
3880         (gst_base_sink_event), (gst_base_sink_get_position_last),
3881         (gst_base_sink_get_position_paused), (gst_base_sink_get_position),
3882         (gst_base_sink_change_state):
3883         Don't try to report a 0 position when we don't know, return -1 and FALSE
3884         instead. This mostly happens when we are prerolling.
3885         Make sure we can report the right position before we post the ASYNC_DONE
3886         message so that a message handler can query position without races.
3887
3888         * tests/check/generic/sinks.c: (send_eos), (GST_START_TEST),
3889         (async_done_handoff), (async_done_func), (send_buffer),
3890         (async_done_eos_func), (gst_sinks_suite):
3891         Add two tests for the above.
3892
3893 2007-11-06  Wim Taymans  <wim.taymans@gmail.com>
3894
3895         * MAINTAINERS:
3896         Update with new email address.
3897
3898         * docs/design/part-TODO.txt:
3899         Add some more info about future pad-block and negotiation changes.
3900
3901         * docs/design/part-buffering.txt:
3902         Add some ideas about buffering reporting.
3903
3904 2007-11-06  Jan Schmidt  <jan.schmidt@sun.com>
3905
3906         * tests/check/gst/gstobject.c:
3907         Disable silly racy test that always fails on this combination of CPU
3908         and kernel.
3909
3910 2007-11-03  Tim-Philipp Müller  <tim at centricular dot net>
3911
3912         Patch by: Murray Cumming  <murrayc@murrayc.com>
3913
3914         * gst/gstobject.c:
3915           Corrected the registration of the parent-set and parent-unset
3916           signals: The parameter is a GstObject, not a GObject (#493134).
3917
3918 2007-11-02  Tim-Philipp Müller  <tim at centricular dot net>
3919
3920         * gst/gst_private.h:
3921         * gst/gstbuffer.h:
3922         * gst/gstevent.h:
3923         * gst/gstformat.h:
3924         * gst/gstmessage.h:
3925         * gst/gstplugin.h:
3926         * gst/gstquery.h:
3927         * gst/gsttaglist.h:
3928         * gst/gstvalue.h:
3929           Move declaration of private _gst_foo_initialize() functions into
3930           our private header file where they should have been all along.
3931
3932 2007-11-02  Tim-Philipp Müller  <tim at centricular dot net>
3933
3934         * docs/plugins/gstreamer-plugins-sections.txt:
3935         * gst/gstdebugutils.h:
3936         * gst/gstxml.h:
3937         * plugins/elements/gstqueue.c:
3938           gtk-doc fixes; trailing-comma-in-enum fix.
3939
3940 2007-11-02  Tim-Philipp Müller  <tim at centricular dot net>
3941
3942         * gst/gst.c: (gst_deinit):
3943           Clean up on deinit (not the external ones though, doesn't seem to be
3944           needed for some reason).
3945
3946 2007-11-01  Tim-Philipp Müller  <tim at centricular dot net>
3947
3948         * gst/gstinfo.h: (GST_DEBUG_CATEGORY_EXTERN):
3949           Remove __declspec(dllimport) for MSVC that was copied over into core
3950           from a plugin, obviously without ever having been tested (note the
3951           single underscore in _declspec in the initial commit), and that doesn't
3952           really make sense.  See #492077.
3953
3954 2007-11-01  Tim-Philipp Müller  <tim at centricular dot net>
3955
3956         * gst/gst.c: (init_post):
3957         * gst/gstevent.c: (_gst_event_initialize):
3958         * gst/gstquery.c: (_gst_query_initialize):
3959         * libs/gst/dataprotocol/dataprotocol.c (gst_dp_init):
3960           g_type_class_ref() other types as well, see #349410 and #64764.
3961
3962         * gst/gstbuffer.c: (_gst_buffer_initialize):
3963         * gst/gstmessage.c: (_gst_message_initialize):
3964           Simplify existing g_type_class_ref().
3965
3966 2007-11-01  Tim-Philipp Müller  <tim at centricular dot net>
3967
3968         * gst/gstformat.c: (_gst_format_initialize):
3969           g_type_class_ref() our GstFormat type to make sure we avoid the
3970           thread-unsafe bits of the GObject/GType system, ie. bug #349410 and
3971           bug #64764. Should fix intermittent tee unit test failures (#474823).
3972
3973 2007-11-01  Tim-Philipp Müller  <tim at centricular dot net>
3974
3975         * tests/check/elements/tee.c: (test_num_buffers):
3976           Simplify, simplify, simplify - or not.  Rewrite unit test
3977           not to use gst_parse_launch(); allow N sub-streams. Increasing
3978           the number of sub-streams seems to reproduce #474823 more easily.
3979
3980 2007-10-31  Tim-Philipp Müller  <tim at centricular dot net>
3981
3982         Patch by: Ole André Vadla Ravnås  <ole.andre.ravnas@tandberg.com>
3983
3984         * gst/gsttrace.c:
3985         * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_new):
3986         * libs/gst/net/gstnettimepacket.c: (gst_net_time_packet_send):
3987         * libs/gst/net/gstnettimeprovider.c: (gst_net_time_provider_new):
3988           Fix a couple of missing includes for MSVC2005 and a C99 issue. Also,
3989           starting with 2.14.0, GLib won't provide a pipe() macro any longer,
3990           so use _pipe() directly (#492077).
3991
3992         * win32/common/dirent.c: (_treaddir):
3993           Add a couple of casts to make it build without warnings with MSVC.
3994
3995         * win32/common/libgstreamer.def:
3996           Add some more symbols that need to be exported.
3997
3998 2007-10-31  Tim-Philipp Müller  <tim at centricular dot net>
3999
4000         * tests/examples/metadata/read-metadata.c: (message_loop):
4001           Use _KEEP as merge mode rather than _KEEP_ALL, so tags
4002           arriving in a second or third tag message are added to
4003           the tag list as well.
4004
4005 2007-10-31  Stefan Kost  <ensonic@users.sf.net>
4006
4007         * libs/gst/base/gstbasesrc.c:
4008           Its "Since:" and not "@Since:". And remove an superflous cast.
4009
4010 2007-10-30  Wim Taymans  <wim.taymans@gmail.com>
4011
4012         * docs/libs/gstreamer-libs-sections.txt:
4013         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
4014         (gst_base_sink_get_last_buffer), (gst_base_sink_set_last_buffer),
4015         (gst_base_sink_get_property), (gst_base_sink_render_object),
4016         (gst_base_sink_preroll_object),
4017         (gst_base_sink_queue_object_unlocked), (gst_base_sink_event),
4018         (gst_base_sink_change_state):
4019         * libs/gst/base/gstbasesink.h:
4020         Add a new last-buffer property that contains the last buffer used in
4021         basesink for preroll or rendering. useful for making snapshots.
4022         API: gst_base_sink_get_last_buffer()
4023         API: GstBaseSink::last-buffer
4024
4025 2007-10-29  Stefan Kost  <ensonic@users.sf.net>
4026
4027         * docs/gst/running.xml:
4028         * gst/gst.c:
4029         * gst/gstdebugutils.c:
4030         * gst/gstdebugutils.h:
4031         * tools/gst-launch.c:
4032           Improve bin graph dumping, by using the envvar to specify a path.
4033           Rename the envvar to GST_DEBUG_DUMP_DOT_DIR.
4034
4035 2007-10-29  Tim-Philipp Müller  <tim at centricular dot net>
4036
4037         * plugins/elements/gsttypefindelement.c:
4038           (gst_type_find_element_handle_event),
4039           (gst_type_find_element_activate):
4040           Post special error message if we can't determine the type of a stream
4041           because it's empty.
4042
4043 2007-10-29  Stefan Kost  <ensonic@users.sf.net>
4044
4045         * docs/gst/running.xml:
4046         * gst/gstdebugutils.c:
4047           Document new env-var. Add one log-line after dumpng a graph.
4048
4049 2007-10-26  Tim-Philipp Müller  <tim at centricular dot net>
4050
4051         * configure.ac:
4052           Ugly hack to put the (recently removed and non-portable, apparently)
4053           -Wl,--export-dynamic back into libgstcheck's LDFLAGS when we're using
4054           GNU ld, because without that 'make check' fails miserably on my debian
4055           stable box.  Someone with more knowledge of linker intricacies and
4056           portability issues than me fix this properly please.
4057
4058 2007-10-25  Wim Taymans  <wim.taymans@gmail.com>
4059
4060         * libs/gst/base/gstbasesink.c: (gst_base_sink_event):
4061         Reset last seen position after flushing so that we don't report the old
4062         position anymore.
4063
4064 2007-10-25  Jan Schmidt  <Jan.Schmidt@sun.com>
4065
4066         * gst/gstelementfactory.c: (gst_element_register):
4067         * gst/gsturi.h:
4068         Patch from Alessandro Decina adding get_type_full and
4069         get_protocols_full private vfuncs to the URIHandler interface
4070         to allow bindings to support creating URI handlers. 
4071         Partially fixes: #339279
4072         API: GstURIHandlerInterface::get_type_full
4073         API: GstURIHandlerInterface::get_protocols_full
4074
4075 2007-10-25  Jan Schmidt  <Jan.Schmidt@sun.com>
4076
4077         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_set_property),
4078         (gst_multi_queue_request_new_pad), (gst_single_queue_flush),
4079         (gst_multi_queue_loop), (gst_multi_queue_sink_activate_push):
4080         Make it so that pads are considered linked until a buffer is pushed
4081         and discovered otherwise. This avoids problems with decodebin2 hanging
4082         after a seek in the filesrc ! decodebin2 name=d ! fakesink d. ! fakesink
4083         case.
4084
4085         Make sure we lock the multiqueue when updating the max-size properties.
4086         
4087         Fix a crash on Solaris in a debug statement in get_request_pad that
4088         passes a NULL string to GST_DEBUG. 
4089
4090         * tests/check/elements/multiqueue.c: (mq_dummypad_chain),
4091         (run_output_order_test):
4092         Fix the test to allow the first buffer on not-linked pads to come out
4093         of sequence while multiqueue discovers that they are not-linked.
4094
4095 2007-10-25  Jan Schmidt  <Jan.Schmidt@sun.com>
4096
4097         * configure.ac:
4098         * libs/gst/check/Makefile.am:
4099         Use a custom export symbol regex for libgstcheck, as it needs
4100         to export symbols that don't match the standard GStreamer gst_*
4101         pattern, and  --export-dynamic is not portable (only works on 
4102         GNU ld)
4103
4104         * libs/gst/check/gstcheck.c: (gst_check_setup_src_pad),
4105         (gst_check_setup_sink_pad):
4106         Make sure to pass a message parameter to the fail_* macros.
4107
4108         * tests/check/gst/gstinfo.c: (GST_START_TEST):
4109         Fix some compiler warnings.
4110
4111 2007-10-25  Tim-Philipp Müller  <tim at centricular dot net>
4112
4113         * tests/check/gst/gststructure.c: (test_to_string):
4114           Disable test that checks that white spaces are not allowed
4115           in structure names or field names, since we need to
4116           support that for now for backwards compatibility reasons.
4117
4118 2007-10-24  Tim-Philipp Müller  <tim at centricular dot net>
4119
4120         * docs/gst/gstreamer-sections.txt:
4121         * gst/gsttaglist.c:
4122         * gst/gsttaglist.h:
4123           API: add GST_TAG_ARTIST_SORTNAME
4124           API: add GST_TAG_ALBUM_SORTNAME
4125           API: add GST_TAG_TITLE_SORTNAME
4126           Add tag variants for sorting (#414539).
4127
4128 2007-10-24  Tim-Philipp Müller  <tim at centricular dot net>
4129
4130         * gst/gststructure.c:
4131           Also allow white space for names so we don't break
4132           backwards compatibility.
4133
4134 2007-10-22  Wim Taymans  <wim.taymans@gmail.com>
4135
4136         * docs/design/part-TODO.txt:
4137         * docs/design/part-segments.txt:
4138         * docs/design/part-streams.txt:
4139         Small updates.
4140
4141 2007-10-22  Edgard Lima  <edgard.lima@indt.org.br>
4142
4143         * docs/gst/gstreamer-sections.txt:
4144          Fixed documentation from my previous commit (added new API add
4145          gst_value_set_structure(), add gst_value_get_structure() and
4146          GST_VALUE_HOLDS_STRUCTURE).
4147
4148 2007-10-22  Stefan Kost  <ensonic@users.sf.net>
4149
4150         * gst/gstdebugutils.c:
4151           Reflow code to fix uninitialized variable warning.
4152
4153 2007-10-22  Edgard Lima  <edgard.lima@indt.org.br>
4154
4155         * gst/gstcaps.c: (gst_caps_to_string),
4156         (gst_caps_from_string_inplace):
4157         * gst/gststructure.c: (gst_structure_get_abbrs),
4158         (gst_structure_to_string), (gst_structure_from_string):
4159         * gst/gstvalue.c: (gst_value_set_structure),
4160         (gst_value_get_structure), (gst_value_serialize_structure),
4161         (gst_value_deserialize_structure), (_gst_value_initialize):
4162         * gst/gstvalue.h:
4163         * tests/check/gst/gststructure.c: (GST_START_TEST),
4164         (gst_structure_suite):
4165         * tests/check/gst/gstvalue.c: (GST_START_TEST):
4166          Added GstStructure to gst_value_table and its related functions.
4167          Changed gst_structure_to_string to print ';' in the end.
4168          Changed gst_caps_to_string to not print ';' beteween its
4169          fields (structures) anymore and remove the lastes ';' from latest
4170          structure. Now it is possible to have nested structures.
4171          In addition, backward compatibilty is assured by accepting '\0' as
4172          end delimiter. Fixes: #487969.
4173          API: add gst_value_set_structure()
4174          API: add gst_value_get_structure()
4175          API: add GST_VALUE_HOLDS_STRUCTURE
4176
4177 2007-10-19  Tim-Philipp Müller  <tim at centricular dot net>
4178
4179         * gst/gstbus.c:
4180           When no GSource callback has been set up, tell developer
4181           to use a function that actually exists.
4182
4183 2007-10-17  Stefan Kost  <ensonic@users.sf.net>
4184
4185         * docs/gst/gstreamer-sections.txt:
4186         * gst/Makefile.am:
4187         * gst/gst.c:
4188         * gst/gst.h:
4189         * gst/gstdebugutils.c:
4190         * gst/gstdebugutils.h:
4191         * gst/gstinfo.c:
4192         * gst/gstinfo.h:
4193         * tools/gst-launch.c:
4194           Allow dumping pipelines as dot graphs. Fixes #456573.
4195
4196 2007-10-16  Tim-Philipp Müller  <tim at centricular dot net>
4197
4198         * gst/gststructure.c:
4199           Allow '+' as well, it can be part of media or mime types
4200           such as image/svg+xml.
4201
4202 2007-10-16  Tim-Philipp Müller  <tim at centricular dot net>
4203
4204         * docs/gst/gstreamer-sections.txt:
4205         * gst/gstbus.c:
4206         * gst/gstbus.h:
4207           API: add gst_bus_pop_filtered
4208           API: add gst_bus_timed_pop_filtered
4209           Two new functions for waiting for specific message types on the
4210           bus for a specified amount of time without iterating any main
4211           loops or main contexts.
4212
4213         * tests/check/gst/gstbus.c:
4214           Some tests for the new functions.
4215
4216 2007-10-16  Tim-Philipp Müller  <tim at centricular dot net>
4217
4218         * docs/libs/gstreamer-libs-sections.txt:
4219           Make gtk-doc ignore stuff it should ignore.
4220
4221 2007-10-16  Tim-Philipp Müller  <tim at centricular dot net>
4222
4223         * libs/gst/check/gstcheck.c:
4224         * libs/gst/check/gstcheck.h:
4225           Allow runtime selection of unit tests to run via the GST_CHECKS
4226           environment variable (test case function names, comma-separated).
4227
4228 2007-10-16  Stefan Kost  <ensonic@users.sf.net>
4229
4230         * gst/gststructure.c:
4231         * tests/check/gst/gststructure.c:
4232           Revert serialisation change and constrain structure-names after
4233           consensus on irc. Update api documentation to reflect the change.
4234
4235 2007-10-16  Stefan Kost  <ensonic@users.sf.net>
4236
4237         * gst/gststructure.c:
4238           Improve serialization and fix tests.
4239
4240         * tests/check/gst/gststructure.c:
4241           Add another test that covers why I actually did the previous structure
4242           change.
4243
4244 2007-10-15  Wim Taymans  <wim.taymans@gmail.com>
4245
4246         * tools/gst-inspect.c: (print_element_info):
4247         Don't crash when inspecting an element.
4248
4249 2007-10-15  Tim-Philipp Müller  <tim at centricular dot net>
4250
4251         * tests/check/gst/gststructure.c:
4252           Add unit test for escaping of structure name when serialising
4253           and deserialising to/from strings.
4254
4255 2007-10-15  Wim Taymans  <wim.taymans@gmail.com>
4256
4257         * plugins/elements/gstmultiqueue.c: (gst_single_queue_push_one),
4258         (gst_single_queue_new):
4259         * plugins/elements/gstqueue.c: (gst_queue_init),
4260         (gst_queue_push_one):
4261         Fix queue negotiation. If acceptcaps unconditionally returns TRUE,
4262         upstream is tricked into thinking it can suggest a format downstream
4263         while downstream does not support that format. The real problem is that
4264         core calls acceptcaps when pushing a buffer with new caps, for which we
4265         do a little workaround by setting the caps on the srcpad ourselves
4266         before pushing the buffer (until this is figured out). Fixes #486758.
4267
4268 2007-10-15  Stefan Kost  <ensonic@users.sf.net>
4269
4270         * gst/gststructure.c:
4271         * gst/gstvalue.c:
4272           Add some more comments and debug output. Quote structure name to fix
4273           deserialisation of some strings.
4274
4275 2007-10-15  Stefan Kost  <ensonic@users.sf.net>
4276
4277         * gst/gstbuffer.h:
4278           Define GST_BUFFER_FLAG_GAP more strictly to enable optimizations based
4279           on it. Fix docs for GST_BUFFER_MALLOCDATA and GstBuffer.malloc_data.
4280
4281 2007-10-15  Stefan Kost  <ensonic@users.sf.net>
4282
4283         * tools/gst-inspect.c:
4284           Save approx. 400 1 byte allocs when printing. Use API to acces element
4285           details.
4286
4287         * tools/gst-run.c:
4288           Avoid a strdup.
4289
4290         * tools/gst-xmlinspect.c:
4291           Use API to acces element details.
4292
4293 2007-10-15  Stefan Kost  <ensonic@users.sf.net>
4294
4295         * gst/gstinfo.c:
4296           Fix some spelling errors.
4297
4298 2007-10-14  Wim Taymans  <wim.taymans@gmail.com>
4299
4300         * gst/gstbin.c: (bin_handle_async_done):
4301         Correctly set the next state if all of our async children commited their
4302         state. This makes sure we can actually cancel the state change in
4303         progress. Fixes a regression in Rhythmbox when seeking.
4304
4305 2007-10-13  Tim-Philipp Müller  <tim at centricular dot net>
4306
4307         * gst/gstbin.c:
4308           Don't shadow local variable.
4309
4310         * gst/gstinfo.c:
4311           Don't shadow global function name.
4312
4313 2007-10-13  Tim-Philipp Müller  <tim at centricular dot net>
4314
4315         * gst/gstelementfactory.c:
4316         * gst/gstpluginfeature.c:
4317         * gst/gstpluginfeature.h:
4318         * gst/gstregistrybinary.c:
4319         * gst/gstregistryxml.c:
4320         * gst/gsttypefind.c:
4321           Use already-interned string for the private GstPluginFeature
4322           plugin_name field.
4323
4324 2007-10-10  Tim-Philipp Müller  <tim at centricular dot net>
4325
4326         * docs/libs/gstreamer-libs-sections.txt:
4327           Add new API to docs; fixes the build.
4328
4329 2007-10-10  Wim Taymans  <wim.taymans@gmail.com>
4330         
4331         Patch inspired by: Benoit Fouet <benoit dot fouet at purplelabs dot com>
4332
4333         * libs/gst/base/gstbasesink.c: (gst_base_sink_wait_eos),
4334         (gst_base_sink_event):
4335         * libs/gst/base/gstbasesink.h:
4336         Add function to wait for EOS, subclasses can use this to correctly wait
4337         for devices to drain before performing the EOS logic. Fixes #485343.
4338         API: gst_base_sink_wait_eos()
4339
4340 2007-10-10  Tim-Philipp Müller  <tim at centricular dot net>
4341
4342         * gst/gstplugin.h:
4343           Cast description string constants in GST_PLUGIN_DEFINE macros
4344           to a (gchar*) to make C++ code using these macros compile
4345           without warning with g++-4.2 (see #462737).  Even if slightly
4346           ugly, this seems preferable to putting the description strings
4347           into the GLib quark table or making the structure member a
4348           const gchar * and doing casts in core code that allocs and
4349           frees these strings, or requiring a cast in the C++ code.
4350
4351 2007-10-09  Tim-Philipp Müller  <tim at centricular dot net>
4352
4353         * gst/gstinfo.h:
4354           Use __FUNCTION__ instead of __PRETTY_FUNCTION__, it's silly
4355           to print the entire class/function signature into the log
4356           file for C++ code.  This only affects C++ code, for C code
4357           everything remains the same.
4358
4359 2007-10-09  Wim Taymans  <wim.taymans@gmail.com>
4360
4361         * gst/gstbin.c: (remove_from_queue):
4362         Work around a problem with pipelines containing (semi)loops until a
4363         proper, more complicated solution is ready. See #475455.
4364
4365 2007-10-09  Tim-Philipp Müller  <tim at centricular dot net>
4366
4367         * gst/gstplugin.c:
4368         * gst/gstplugin.h:
4369         * gst/gstregistrybinary.c:
4370         * gst/gstregistryxml.c:
4371           Put more strings into the GLib quark table. No need to keep
4372           a hundred-something copies of identical version strings,
4373           license strings, package name strings and package origin
4374           strings around. 
4375
4376 2007-10-09  Tim-Philipp Müller  <tim at centricular dot net>
4377
4378         * docs/manual/advanced-dataaccess.xml:
4379           Don't imply that it's okay to unconditionally change
4380           buffer data or buffer metadata in a pad probe callback,
4381           and a bunch of other comments. Fixes #430031.
4382
4383 2007-10-08  Tim-Philipp Müller  <tim at centricular dot net>
4384
4385         * win32/common/gstenumtypes.c:
4386         * win32/common/gstenumtypes.h:
4387         * win32/common/gstversion.h:
4388           Update generated files.
4389
4390 2007-10-08  Tim-Philipp Müller  <tim at centricular dot net>
4391
4392         * docs/manual/advanced-autoplugging.xml:
4393           Prefix section with broken code with a warning (see #342432).
4394
4395 2007-10-08  Tim-Philipp Müller  <tim at centricular dot net>
4396
4397         * docs/manual/appendix-integration.xml:
4398         * docs/manual/basics-init.xml:
4399           Call g_thread_init() before g_option_context_new() to
4400           avoid warnings. Spotted by Ritesh Khadgaray. Fixes #484225.
4401
4402 2007-10-08  Wim Taymans  <wim.taymans@gmail.com>
4403
4404         * libs/gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
4405         (gst_base_sink_queue_object_unlocked),
4406         (gst_base_sink_queue_object), (gst_base_sink_event),
4407         (gst_base_sink_needs_preroll), (gst_base_sink_chain_unlocked):
4408         When we received EOS and are waiting for when to post the EOS message,
4409         our state is prerolled and we should not return ASYNC.
4410         Reorganize some code paths to implement this behavior.
4411
4412         * tests/check/generic/sinks.c: (send_eos), (GST_START_TEST),
4413         (gst_sinks_suite):
4414         Add unit test to verify above EOS fix.
4415
4416 2007-10-08  Wim Taymans  <wim.taymans@gmail.com>
4417
4418         * plugins/elements/gsttypefindelement.c:
4419         (gst_type_find_element_have_type), (gst_type_find_element_init),
4420         (gst_type_find_element_setcaps), (gst_type_find_element_chain):
4421         Move detecting the input caps of the sinkpad to the setcaps function.
4422         This allows us to update the output caps when we receive new input caps
4423         instead of always using the first detected caps.
4424
4425 2007-10-08  Wim Taymans  <wim.taymans@gmail.com>
4426
4427         * libs/gst/base/gstbasesink.c: (gst_base_sink_event),
4428         (gst_base_sink_get_position):
4429         Don't try to preroll non-async elements after a flush.
4430         Subtract latency form clock times when reporting position.
4431
4432 2007-10-05  Wim Taymans  <wim.taymans@gmail.com>
4433
4434         * gst/gstpad.c: (gst_pad_pause_task):
4435         * gst/gstutils.c:
4436         Small comment and documentation update.
4437
4438 2007-10-05  Wim Taymans  <wim.taymans@gmail.com>
4439
4440         * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
4441         (gst_base_src_set_live), (gst_base_src_is_live),
4442         (gst_base_src_query_latency), (gst_base_src_perform_seek),
4443         (gst_base_src_default_event), (gst_base_src_wait),
4444         (gst_base_src_do_sync), (gst_base_src_get_range),
4445         (gst_base_src_pad_get_range), (gst_base_src_loop),
4446         (gst_base_src_unlock), (gst_base_src_unlock_stop),
4447         (gst_base_src_set_flushing), (gst_base_src_set_playing),
4448         (gst_base_src_activate_push), (gst_base_src_activate_pull),
4449         (gst_base_src_change_state):
4450         Rework the locking of basesrc in a similar fashion to basesink. We
4451         basically have one lock (LIVE_LOCK) protecting the dataflow. This allows
4452         us to handle live sources and semi live ones much better.
4453         Simplify flushing.
4454         Fix unlocking when seeking, shutting down and pausing in live sources.
4455
4456 2007-10-05  Wim Taymans  <wim.taymans@gmail.com>
4457
4458         * tests/check/pipelines/simple-launch-lines.c: (run_pipeline):
4459         Fix compilation again.
4460
4461 2007-10-03  Stefan Kost  <ensonic@users.sf.net>
4462
4463         * gst/gstelement.c:
4464           Use meaningful categories for the logs to clean the default one.
4465
4466 2007-10-03  Stefan Kost  <ensonic@users.sf.net>
4467
4468         * tests/check/pipelines/cleanup.c:
4469           Print message name and not just number.
4470
4471 2007-10-03  Stefan Kost  <ensonic@users.sf.net>
4472
4473         * docs/design/draft-tagreading.txt:
4474           Add some more thoughts.
4475
4476 2007-10-03  Stefan Kost  <ensonic@users.sf.net>
4477
4478         * tests/check/pipelines/simple-launch-lines.c:
4479           Print message name and not just number.
4480
4481 2007-10-03  Stefan Kost  <ensonic@users.sf.net>
4482
4483         * libs/gst/base/gsttypefindhelper.c:
4484           Speedup typefinding. This is work in progress (see #459862).
4485
4486 2007-10-03  Stefan Kost  <ensonic@users.sf.net>
4487
4488         * gst/gstplugin.c:
4489           Fix docs that mention 'plugin_desc' instead of 'gst_plugin_desc'.
4490           Spotted by Josep Torra Valles <josep@fluendo.com>.
4491
4492 2007-10-03  Tim-Philipp Müller  <tim at centricular dot net>
4493
4494         * gst/gstclock.h:
4495           Fix up broken GST_CLOCK_FLAGS macro and GstClock docs. The flags
4496           field has moved to GstObject.
4497
4498 2007-10-02  Wim Taymans  <wim.taymans@gmail.com>
4499
4500         * libs/gst/base/gstbasesrc.c: (gst_base_src_do_sync),
4501         (gst_base_src_get_range), (gst_base_src_change_state):
4502         Call unlock for live sources so that they can't get stuck in _create and
4503         produce a buffer before they are set back to PLAYING.
4504
4505 2007-10-02  Edward Hervey  <bilboed@bilboed.com>
4506
4507         * plugins/elements/gstqueue.c: (gst_queue_locked_enqueue),
4508         (gst_queue_locked_dequeue):
4509         Comment the segment-related code... in the PROPER function.
4510         See #482147 and my commit from yesterday.
4511
4512 2007-10-01  Wim Taymans  <wim.taymans@gmail.com>
4513
4514         * libs/gst/base/gstbasesrc.c: (gst_base_src_change_state):
4515         Also initialize the counter that calculates the first timestamp on a
4516         buffer correctly for non-live sources.
4517
4518 2007-10-01  Edward Hervey  <bilboed@bilboed.com>
4519
4520         * plugins/elements/gstqueue.c: (gst_queue_locked_dequeue):
4521         Disable code that's breaking the current-time-level reporting.
4522         See #482147
4523
4524 2007-09-30  Sebastian Dröge  <slomo@circular-chaos.org>
4525
4526         * docs/gst/gstreamer-sections.txt:
4527         Add M_PI and IMPORT_SYMBOL to the private part of the GstInfo section
4528         as they shouldn't show up. Fixes the docs build.
4529
4530 2007-09-29  Sebastien Moutte  <sebastien@moutte.net>
4531         
4532         * gst/gstinfo.h:
4533         Add an explicit variable importation needed on VS6 (only for MSC_VER)
4534         Define M_PI which is used in files which are including gstinfo.h. 
4535         VS6 includes doesn't define it.
4536         * win32/common/libgstbase.def:
4537         * win32/common/libgstcontroller.def:
4538         * win32/common/libgstreamer.def:
4539         Add new exported functions and variables.
4540         * win32/vs6/libgstcontroller.dsp:
4541         * win32/vs6/libgstreamer.dsp:
4542         Update the list of files to build.
4543         
4544 2007-09-28  Wim Taymans  <wim.taymans@gmail.com>
4545
4546         Patch by: Felipe Contreras <felipe dot contreras at gmail dot com>
4547
4548         * plugins/elements/gstqueue.c: (update_time_level), (apply_buffer),
4549         (gst_queue_locked_dequeue), (gst_queue_handle_sink_event),
4550         (gst_queue_chain), (gst_queue_loop), (gst_queue_src_activate_push):
4551         Improve debugging. Fixes #480858.
4552
4553 2007-09-28  Wim Taymans  <wim.taymans@gmail.com>
4554
4555         Patch by: Felipe Contreras <felipe dot contreras at gmail dot com>
4556
4557         * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event):
4558         First patch of code cleanups, use the macros and right arguments in the
4559         macros to signal and lock the queue. See #480858.
4560
4561 2007-09-26  Wim Taymans  <wim.taymans@gmail.com>
4562
4563         * gst/gstbus.c: (poll_func):
4564         Improve debugging when dealing with _poll().
4565
4566 2007-09-26  Tim-Philipp Müller  <tim at centricular dot net>
4567
4568         * gst/gstregistryxml.c:
4569           Fix memory leak I introduced a few days ago.
4570
4571 2007-09-26  Michael Smith <msmith@fluendo.com>
4572
4573         * gst/gstbuffer.c: (gst_buffer_finalize):
4574           Make it once again possible to free GstBuffers in the default
4575           build.
4576           The poisoning scribbles on parts of the miniobject we need in
4577           order to free it.
4578           Fixes #480341
4579
4580 2007-09-25  Tim-Philipp Müller  <tim at centricular dot net>
4581
4582         * docs/gst/gstreamer-sections.txt:
4583         * gst/gsttaglist.c:
4584         * gst/gsttaglist.h:
4585         API: add GST_TAG_COMPOSER, fixes #459809.
4586
4587 2007-09-24  Sebastian Dröge  <slomo@circular-chaos.org>
4588
4589         * gst/gstplugin.c:
4590         * gst/gstplugin.h:
4591         Add the 3-clause BSD license and the MIT/X11 license to the license
4592         list. Fixes #479784.
4593
4594 2007-09-24  Tim-Philipp Müller  <tim at centricular dot net>
4595
4596         * docs/faq/getting.xml:
4597           Add Q+A about different GStreamer versions (#364056).
4598
4599 2007-09-24  Wim Taymans  <wim.taymans@gmail.com>
4600
4601         * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency),
4602         (gst_base_sink_event), (gst_base_sink_change_state):
4603         Return correct gboolean from query function.
4604
4605 2007-09-24  Wim Taymans  <wim.taymans@gmail.com>
4606
4607         * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency),
4608         (gst_base_sink_event), (gst_base_sink_query),
4609         (gst_base_sink_change_state):
4610         Simplify latency query.
4611         When not synchronizing, we can report latency without querying the peer
4612         element.
4613
4614 2007-09-24  Wim Taymans  <wim.taymans@gmail.com>
4615
4616         * gst/gstobject.h:
4617         * gst/gstvalue.c:
4618         Fix small typos in the docs.
4619
4620 2007-09-24  Wim Taymans  <wim.taymans@gmail.com>
4621
4622         * docs/design/draft-latency.txt:
4623         * docs/design/draft-push-pull.txt:
4624         * docs/design/draft-tagreading.txt:
4625         * docs/design/part-MT-refcounting.txt:
4626         * docs/design/part-activation.txt:
4627         * docs/design/part-block.txt:
4628         * docs/design/part-element-source.txt:
4629         * docs/design/part-events.txt:
4630         * docs/design/part-gstbin.txt:
4631         * docs/design/part-gstelement.txt:
4632         * docs/design/part-gstobject.txt:
4633         * docs/design/part-gstpipeline.txt:
4634         * docs/design/part-messages.txt:
4635         * docs/design/part-preroll.txt:
4636         * docs/design/part-push-pull.txt:
4637         * docs/design/part-qos.txt:
4638         * docs/design/part-query.txt:
4639         * docs/design/part-scheduling.txt:
4640         * docs/design/part-seeking.txt:
4641         * docs/design/part-segments.txt:
4642         * docs/design/part-states.txt:
4643         Documentation updates and typo fixes.
4644
4645 2007-09-23  Tim-Philipp Müller  <tim at centricular dot net>
4646
4647         * plugins/elements/gstfakesink.c:
4648           Add some debug text to error message to indicate that
4649           we errored out on request.
4650
4651         * tools/gst-launch.c:
4652           When the state change to PLAYING fails, check for an
4653           error message on the bus and print it.
4654
4655 2007-09-22  Thomas Vander Stichele  <thomas at apestaart dot org>
4656
4657         translated by: Jorge González González <aloriel@gmail.com>
4658
4659         * po/LINGUAS:
4660         * po/es.po:
4661           Added Spanish translation.
4662
4663 2007-09-21  Wim Taymans  <wim.taymans@gmail.com>
4664
4665         * plugins/elements/gstqueue.c: (gst_queue_push_one):
4666         Fix printf arguments.
4667
4668 2007-09-20  Stefan Kost  <ensonic@users.sf.net>
4669
4670         * tests/check/generic/states.c:
4671           Improved state change unit test.
4672
4673 2007-09-20  Stefan Kost  <ensonic@users.sf.net>
4674
4675         * gst/gstbin.h:
4676           Move priv to the right place.
4677
4678         * gst/gstsystemclock.c:
4679           Add FIXME: and improve log.
4680
4681         * tests/check/Makefile.am:
4682         * tests/examples/manual/Makefile.am:
4683           Work with all types of registries.
4684
4685 2007-09-19  Wim Taymans  <wim.taymans@gmail.com>
4686
4687         * libs/gst/base/gstbasesrc.c: (gst_base_src_send_event):
4688         Don't unref the event after pushing it. Fixes #478401.
4689
4690 2007-09-19  Stefan Kost  <ensonic@users.sf.net>
4691
4692         * .cvsignore:
4693         * tests/examples/manual/.cvsignore:
4694           Ignore registries in any format.
4695
4696 2007-09-19  Tim-Philipp Müller  <tim at centricular dot net>
4697
4698         * gst/glib-compat-private.h:
4699           Add compatibility macro for g_intern_string() for
4700           GLib-2.8 (any reason we can't just bump the
4701           requirement to at least 2.10?)
4702
4703         * gst/gstpadtemplate.h:
4704         * gst/gstelementfactory.c:
4705         * gst/gstregistryxml.c:
4706         * gst/gstregistrybinary.c:
4707           Make GstStaticPadTemplate's templ_name field a const gchar * and fix
4708           up the internal code accordingly.  This shouldn't be a problem, since
4709           there is no reason external code could ever assume the string in such
4710           a structure is dynamically allocated unless it did that itself;  the
4711           use of g_strdup() is private to element factories.  The new code also
4712           saves some memory by putting pad template name strings into the GLib
4713           quark table instead of allocating them dynamically.
4714           Declaring this field constant fixes warnings with g++-4.2 when using
4715           the GST_STATIC_PAD_TEMPLATE macro in c++ code (#478092).
4716
4717 2007-09-19  Stefan Kost  <ensonic@users.sf.net>
4718
4719         * gst/gstelementfactory.c:
4720           Release static caps. Fixes #475723.
4721
4722 2007-09-18  Tim-Philipp Müller  <tim at centricular dot net>
4723
4724         * gst/gstinfo.c:
4725         * gst/gstinfo.h:
4726           Make some internal API take const gchar * instead of just
4727           gchar * to avoid compiler warnings with g++-4.2.2 when
4728           passing string constants (partially fixes #478092).
4729
4730 2007-09-17  Wim Taymans  <wim.taymans@gmail.com>
4731
4732         * gst/gstbin.c: (bin_query_latency_fold), (gst_bin_query):
4733         A latency query fails when one of the sinks fail.
4734
4735         * gst/gstelement.c: (gst_element_set_base_time):
4736         Improve debugging.
4737
4738 2007-09-17  Jan Schmidt - Sun Microsystems <jan.schmidt@sun.com>
4739
4740         * gst/gstbin.c: (gst_bin_continue_func):
4741         * libs/gst/base/gstbasesrc.c: (gst_base_src_do_sync):
4742         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_add_pad_full):
4743         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_loop):
4744
4745         Fix minor compilation warnings shown with Forte.
4746
4747 2007-09-17  Wim Taymans  <wim.taymans@gmail.com>
4748
4749         * plugins/elements/gstqueue.c: (apply_buffer),
4750         (gst_queue_locked_enqueue), (gst_queue_locked_dequeue):
4751         Measure queue level based on the diff between head and tail timestamps
4752         even when pushing the first buffer.
4753
4754 2007-09-14  Wim Taymans  <wim.taymans@gmail.com>
4755
4756         * libs/gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
4757         (gst_base_sink_event), (gst_base_sink_change_state):
4758         Sinks that don't preroll can always be queried for the latency.
4759         Don't post ASYNC start when we are not async.
4760
4761 2007-09-14  Wim Taymans  <wim.taymans@gmail.com>
4762
4763         * plugins/elements/gstqueue.c: (gst_queue_locked_enqueue),
4764         (gst_queue_handle_sink_event), (gst_queue_chain),
4765         (gst_queue_push_one), (gst_queue_handle_src_query),
4766         (gst_queue_sink_activate_push), (gst_queue_src_activate_push):
4767         * plugins/elements/gstqueue.h:
4768         When downstream returns UNEXPECTED from pushing a buffer, don't try to
4769         push more buffers but allow pushing of EOS and NEWSEGMENT.
4770         Add some more debug info here and there. Fixes #476514.
4771
4772 2007-09-14  Wim Taymans  <wim.taymans@gmail.com>
4773
4774         * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
4775         (gst_base_sink_preroll_queue_flush), (gst_base_sink_commit_state),
4776         (gst_base_sink_wait_preroll), (gst_base_sink_needs_preroll),
4777         (gst_base_sink_set_flushing), (gst_base_sink_query),
4778         (gst_base_sink_change_state):
4779         Latency query is allowed after we are prerolled. Introduce a new flag
4780         for this and stop abusing other variables.
4781
4782 2007-09-13  Wim Taymans  <wim.taymans@gmail.com>
4783
4784         * libs/gst/base/gstbasesrc.c: (gst_base_src_send_event):
4785         Push OOB events downstream when we get them in send_event. This allows
4786         the application to insert events in the pipeline.
4787         Add some more comments.
4788
4789 2007-09-13  Wim Taymans  <wim.taymans@gmail.com>
4790
4791         * gst/gstbin.c: (gst_bin_class_init), (clear_queue),
4792         (do_bin_latency), (gst_bin_change_state_func):
4793         * gst/gstpipeline.c: (gst_pipeline_change_state):
4794         Move latency query from GstPipeline to GstBin so that we can also
4795         use it when async-handling is enabled on bins.
4796
4797 2007-09-13  Wim Taymans  <wim.taymans@gmail.com>
4798
4799         * libs/gst/base/gstbasesrc.c: (gst_base_src_query_latency),
4800         (gst_base_src_do_sync), (gst_base_src_change_state):
4801         Update docs.
4802         Clean up the timestamping and syncing code for pseudo live sources.
4803
4804 2007-09-13  Tim-Philipp Müller  <tim at centricular dot net>
4805
4806         Patch by: Steve Fink  <sphink gmail com>
4807
4808         * docs/manual/appendix-checklist.xml:
4809           Mention less -R switch in the section about debug output (#474055).
4810
4811 2007-09-13  Wim Taymans  <wim.taymans@gmail.com>
4812
4813         * plugins/elements/gstqueue.c: (gst_queue_handle_src_query):
4814         Queue can latency to the pipeline up to the configured max size in time.
4815         Report this fact in the latency query.
4816
4817 2007-09-13  Sebastian Dröge  <slomo@circular-chaos.org>
4818
4819         Patch by: Sebastien Moutte <sebastien at moutte dot net>
4820
4821         * libs/gst/controller/gstinterpolation.c:
4822         * libs/gst/controller/gstlfocontrolsource.c:
4823         Use gst_guint64_to_gdouble() when converting from a uint64 or
4824         GstClockTime to double to fix the build on win32. Fixes #474371.
4825
4826 2007-09-13  Sebastian Dröge  <slomo@circular-chaos.org>
4827
4828         * gst/gstbuffer.c: (gst_buffer_finalize):
4829         Implement poisoning for GstBuffer if --enable-poisoning is specified.
4830         When finalizing a buffer the complete struct is filled with 0xff,
4831         thus making a use of the buffer after the final unref impossible.
4832
4833 2007-09-13  Sebastian Dröge  <slomo@circular-chaos.org>
4834
4835         * tests/check/libs/controller.c: (GST_START_TEST):
4836         Use fail_unless_equals_int(a, b) instead of
4837         fail_unless_equals (a == b) to get better output on failures.
4838
4839 2007-09-12  Tim-Philipp Müller  <tim at centricular dot net>
4840
4841         * tests/check/gst/gsturi.c:
4842           Also check for the other file URI variant on win32.
4843
4844 2007-09-12  Tim-Philipp Müller  <tim at centricular dot net>
4845
4846         * gst/gsturi.c: (gst_uri_get_location):
4847           If there's no hostname, we want to return 'c:/foo/bar.txt'
4848           and not '/c:/foo/bar.txt' on Windows. Fixes #469402.
4849
4850         * tests/check/gst/gsturi.c:
4851           Unit test for the above and a few more things.
4852
4853 2007-09-11  Wim Taymans  <wim.taymans@gmail.com>
4854
4855         * docs/design/part-live-source.txt:
4856         Add docs on how live sources should timestamp.
4857
4858         * libs/gst/base/gstbasesrc.c: (gst_base_src_do_sync):
4859         Add some more debug info.
4860         For subclasses that are live and like to sync, add aditional startup
4861         latency to sync time and timestamps so that we timstamp according to the
4862         design doc.
4863
4864 2007-09-11  Tim-Philipp Müller  <tim at centricular dot net>
4865
4866         * gst/gstbuffer.c:
4867           Also do a g_type_class_ref() for the subbuffer type in
4868           the init function.
4869
4870 2007-09-11  Wim Taymans  <wim.taymans@gmail.com>
4871
4872         * docs/gst/gstreamer-sections.txt:
4873         * gst/gstpad.c: (gst_pad_peer_query):
4874         * gst/gstpad.h:
4875         Add function to perform a query on the peer of a pad.
4876         API: gst_pad_peer_query()
4877
4878 2007-09-11  Stefan Kost  <ensonic@users.sf.net>
4879
4880         * tests/check/gst/gstsystemclock.c:
4881           Cleanup the test a little (use gst-logging and not g_message). Improve
4882           test to check if a wait reached the target.
4883
4884 2007-09-11  Tim-Philipp Müller  <tim at centricular dot net>
4885
4886         * docs/libs/gstreamer-libs-sections.txt:
4887           Add new API to docs and fix the build.
4888
4889 2007-09-10  Wim Taymans  <wim.taymans@gmail.com>
4890
4891         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
4892         (gst_base_src_init), (gst_base_src_set_do_timestamp),
4893         (gst_base_src_get_do_timestamp), (gst_base_src_set_property),
4894         (gst_base_src_get_property), (gst_base_src_do_sync):
4895         * libs/gst/base/gstbasesrc.h:
4896         Add property to make the basesrc timestamp buffers based on the current
4897         running time.
4898         API: GstBaseSrc::do-timestamp
4899         API: gst_base_src_set_do_timestamp()
4900         API: gst_base_src_get_do_timestamp()
4901
4902 2007-09-08  Tim-Philipp Müller  <tim at centricular dot net>
4903
4904         * docs/random/release:
4905           Really make sure translations are up-to-date before
4906           a release (#465010).
4907
4908 2007-09-07  Sebastian Dröge  <slomo@circular-chaos.org>
4909
4910         * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
4911         Always destroy the timer, also in error cases.
4912
4913 2007-09-05  Wim Taymans  <wim.taymans@gmail.com>
4914
4915         * docs/manual/highlevel-xml.xml:
4916         Fix XML example code. Fixes #472714.
4917
4918 2007-09-05  Wim Taymans  <wim.taymans@gmail.com>
4919
4920         * libs/gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
4921         (gst_base_sink_wait_preroll), (gst_base_sink_needs_preroll),
4922         (gst_base_sink_query):
4923         Protect eos and have_preroll with the OBJECT lock so we don't need to
4924         take the PREROLL lock when querying the latency. Fixes #473846.
4925
4926 2007-09-05  Stefan Kost  <ensonic@users.sf.net>
4927
4928         * gst/gstelement.c:
4929           Give some log-messages a category.
4930
4931 2007-09-04  Wim Taymans  <wim.taymans@gmail.com>
4932
4933         * gst/gststructure.c:
4934         (gst_structure_fixate_field_nearest_fraction):
4935         Fix fraction list fixation code. Take the fraction with the smallest
4936         difference with the target instead of the first one in the list.
4937
4938         * tests/check/gst/gststructure.c: (GST_START_TEST),
4939         (gst_structure_suite):
4940         Added test to verify correct fraction list fixation behaviour.
4941
4942 2007-09-02  Tim-Philipp Müller  <tim at centricular dot net>
4943
4944         * win32/common/libgstreamer.def:
4945           Export gst_bus_add_signal_watch too.
4946
4947 2007-08-30  Wim Taymans  <wim.taymans@gmail.com>
4948
4949         * docs/libs/gstreamer-libs-sections.txt:
4950         Add new methods to docs.
4951
4952         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
4953         (gst_base_sink_init), (gst_base_sink_set_ts_offset),
4954         (gst_base_sink_get_ts_offset), (gst_base_sink_set_property),
4955         (gst_base_sink_get_property), (gst_base_sink_wait_clock):
4956         * libs/gst/base/gstbasesink.h:
4957         Add ts-offset property to fine-tune the synchronisation.
4958         API: GstBaseSink::ts-offset property
4959         API: gst_base_sink_set_ts_offset()
4960         API: gst_base_sink_get_ts_offset()
4961
4962 2007-08-29  Wim Taymans  <wim.taymans@gmail.com>
4963
4964         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
4965         (gst_base_sink_init), (gst_base_sink_set_sync),
4966         (gst_base_sink_get_sync), (gst_base_sink_set_max_lateness),
4967         (gst_base_sink_get_max_lateness), (gst_base_sink_set_qos_enabled),
4968         (gst_base_sink_is_qos_enabled), (gst_base_sink_set_async_enabled),
4969         (gst_base_sink_is_async_enabled), (gst_base_sink_set_property),
4970         (gst_base_sink_get_property), (gst_base_sink_change_state):
4971         * libs/gst/base/gstbasesink.h:
4972         Add async property to instruct the sink never to inform the parent about
4973         ASYNC state changes, update docs.
4974         Check argument with g_return_* for the public functions.
4975         API: GstBaseSink::async property
4976         API: gst_base_sink_set_async_enabled()
4977         API: gst_base_sink_is_async_enabled()
4978
4979 2007-08-28  Wim Taymans  <wim.taymans@gmail.com>
4980
4981         * libs/gst/base/gstbasesink.c: (gst_base_sink_loop):
4982         Improve debugging.
4983
4984         * libs/gst/base/gstbasesrc.c: (gst_base_src_query_latency),
4985         (gst_base_src_default_query), (gst_base_src_wait),
4986         (gst_base_src_do_sync), (gst_base_src_change_state):
4987         Rearrange some code so that we can add support for measuring the 
4988         startup latency.
4989
4990 2007-08-27  Stefan Kost  <ensonic@users.sf.net>
4991
4992         * docs/random/ensonic/dynlink.txt:
4993           More thoughs on this.
4994
4995         * plugins/elements/gstcapsfilter.c:
4996           Add bugzilla ticket number to FIXME comment.
4997
4998 2007-08-24  Wim Taymans  <wim.taymans@gmail.com>
4999
5000         * docs/design/part-TODO.txt:
5001         * docs/design/part-block.txt:
5002         Update some docs.
5003
5004 2007-08-24  Jan Schmidt  <thaytan@mad.scientist.com>
5005
5006         * gst/Makefile.am:
5007           Revert patch which uses $(gst_headers) instead of $^ because it
5008           breaks make dist.
5009
5010 2007-08-24  Jan Schmidt  <thaytan@mad.scientist.com>
5011
5012         * tests/check/gst/gstbin.c: (GST_START_TEST):
5013           Fix leaks in the new unit test.
5014
5015 2007-08-23  Tim-Philipp Müller  <tim at centricular dot net>
5016
5017         * gst/gst.c:
5018           Don't use GST_INFO before the debug system is actually initialised
5019           (shouldn't do any harm, but won't print anything either, so we can
5020           just as well remove it).
5021
5022         * gst/gstinfo.h:
5023           GST_CAT_LEVEL_LOG_valist(), which is our inline helper function for
5024           compilers that don't support variadic macros (such as MSVC), should
5025           check for debug_level <= __gst_debug_min as well, since that's the
5026           function called from all the level-specific GST_CAT_*_LOG_OBJECT()
5027           inline helper functions. Should improve performance a bit, but also
5028           makes sure uses of GST_INFO et.al are ignored if the debugging
5029           system isn't initialised yet (instead of printing an assertion
5030           failure).
5031
5032 2007-08-23  Stefan Kost  <ensonic@users.sf.net>
5033
5034         patch by: David Nečas <yeti@physics.muni.cz>
5035
5036         * gst/Makefile.am:
5037           Replace some non portable makefile constructs.
5038
5039 2007-08-21  Stefan Kost  <ensonic@users.sf.net>
5040
5041         * common/gtk-doc-plugins.mak:
5042           Grrrrr. Don't remove the types file on make clean.
5043
5044 2007-08-20  Wim Taymans  <wim.taymans@gmail.com>
5045
5046         * tools/gst-launch.1.in:
5047         Add colorspace to example pipeline. Fixes #458274.
5048
5049 2007-08-20  Tim-Philipp Müller  <tim at centricular dot net>
5050
5051         * docs/random/release:
5052           The release manager should run 'make download-po' before making a
5053           release to make sure translations are up-to-date.
5054
5055         * po/LINGUAS:
5056         * po/be.po:
5057         * po/pl.po:
5058         * po/rw.po:
5059           Add some new translations.
5060
5061 2007-08-17  Wim Taymans  <wim.taymans@gmail.com>
5062
5063         * tools/gst-launch.c: (event_loop), (main):
5064         Don´t try to do any state management when a live pipeline posts
5065         buffering messages.
5066         Also make the buffering string translatable.
5067
5068 2007-08-16  Wim Taymans  <wim.taymans@gmail.com>
5069
5070         * gst/gstbin.c: (is_eos), (gst_bin_add_func),
5071         (bin_handle_async_start), (gst_bin_handle_message_func):
5072         Improve debugging.
5073         When adding elements, insert messages into the bus of the newly added
5074         element and make sure the element is the source of the message. This
5075         allows the parent bin to intercept the message and do the
5076         right thing. It also avoids us posting ASYNC_START and CLOCK_PROVIDE
5077         messages to the app (which is not allowed).
5078         Update some docs.
5079
5080         * tests/check/gst/gstghostpad.c: (GST_START_TEST):
5081         Fix testsuite so that is does not work around messages that should not
5082         have been posted in the first place.
5083
5084 2007-08-16  Wim Taymans  <wim.taymans@gmail.com>
5085
5086         * gst/gstbin.c: (add_to_queue), (remove_from_queue), (clear_queue),
5087         (update_degree), (gst_bin_sort_iterator_next):
5088         Fix annoying bug in the sorted iterator where a sink that is not really
5089         a sink (when it has downstream links) screwed up the iterator.
5090
5091         * tests/check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
5092         Unit test to verify the fix.
5093
5094 2007-08-16  Wim Taymans  <wim.taymans@gmail.com>
5095
5096         * gst/gstmessage.h:
5097         Add some more docs for the messages.
5098
5099         * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
5100         (gst_base_sink_query):
5101         Add some more debugging.
5102
5103         * tools/gst-launch.c: (event_loop):
5104         When interrupting, don't try to set pipeline to PAUSED twice.
5105
5106 2007-08-14  Wim Taymans  <wim.taymans@gmail.com>
5107
5108         
5109         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_element_set_state),
5110         (bin_handle_async_start), (gst_bin_handle_message_func):
5111         Move ASYNC_START message posting to where it belongs, similar to
5112         async_done. 
5113         Don't post ASYNC_START when we are in error. 
5114         Post ASYNC_START when we added an async element to a bin.
5115
5116 2007-08-14  Julien MOUTTE  <julien@moutte.net>
5117
5118         * gst/gstindex.c: (gst_index_add_association): Fix index entry
5119         generation from vargs. Fixes #466595.
5120
5121 2007-08-14  Wim Taymans  <wim.taymans@gmail.com>
5122
5123         * gst/gstbin.c: (gst_bin_element_set_state):
5124         Always change the state of a NO_PREROLL element even if it has ASYNC
5125         elements inside (in case of a bin).
5126
5127         * tests/check/generic/sinks.c: (GST_START_TEST), (gst_sinks_suite):
5128         Unit test for this case.
5129
5130 2007-08-13  Stefan Kost  <ensonic@users.sf.net>
5131
5132         * libs/gst/check/gstbufferstraw.c:
5133         * libs/gst/check/gstcheck.h:
5134         * libs/gst/controller/gstcontroller.c:
5135         * libs/gst/controller/gstcontrolsource.h:
5136         * libs/gst/controller/gstlfocontrolsource.h:
5137         * plugins/elements/gstcapsfilter.h:
5138         * plugins/elements/gstfdsink.h:
5139         * plugins/elements/gstfdsrc.h:
5140           Add more missing docs.
5141
5142 2007-08-12  Wim Taymans  <wim.taymans@gmail.com>
5143
5144         * gst/gststructure.c:
5145         Add Since tag to docs.
5146
5147 2007-08-12  Wim Taymans  <wim.taymans@gmail.com>
5148
5149         * docs/gst/gstreamer-sections.txt:
5150         * gst/gststructure.c: (gst_structure_get_uint):
5151         * gst/gststructure.h:
5152         Add function to get uint from a structure.
5153         API: gst_structure_get_uint()
5154
5155 2007-08-12  Wim Taymans  <wim.taymans@gmail.com>
5156
5157         * gst/gstcaps.c: (gst_caps_set_simple_valist),
5158         (gst_caps_intersect):
5159         Fix proper check for simple caps.
5160
5161 2007-08-10  Stefan Kost  <ensonic@users.sf.net>
5162
5163         * docs/gst/Makefile.am:
5164         * docs/libs/Makefile.am:
5165           Remove cruft and do some cleanups.
5166
5167         * docs/gst/gstreamer-docs.sgml:
5168         * docs/libs/gstreamer-libs-docs.sgml:
5169           Prepare for comming gtkdoc features (rebase against online docs).
5170
5171 2007-08-10  Michael Smith <msmith@fluendo.com>
5172
5173         * docs/gst/gstreamer-sections.txt:
5174           Add gst_registry_add_path to docs.
5175
5176 2007-08-10  Michael Smith <msmith@fluendo.com>
5177
5178         * gst/gstregistry.h:
5179           Add gst_registry_add_path, which was missing from this header.
5180
5181 2007-08-10  Tim-Philipp Müller  <tim at centricular dot net>
5182
5183         * libs/gst/controller/gstlfocontrolsource.c:
5184           Printf format fix.
5185
5186 2007-08-09  Philippe Kalaf <philippe.kalaf@collabora.co.uk>
5187
5188         * libs/gst/base/gstbasesink.c:
5189           Don't send an async_start message during downwards state change if 
5190           target state is less than READY
5191
5192 2007-08-09  Thomas Vander Stichele  <thomas at apestaart dot org>
5193
5194         translated by: Gabor Kelemen <kelemeng@gnome.hu>
5195
5196         * po/LINGUAS:
5197         * po/hu.po:
5198           Added Hungarian translation.
5199
5200 2007-08-09  Thomas Vander Stichele  <thomas at apestaart dot org>
5201
5202         * po/fi.po:
5203         * po/it.po:
5204         * po/nl.po:
5205         * po/sv.po:
5206         * po/uk.po:
5207           Updated translations.
5208
5209 2007-08-07  Jan Schmidt  <thaytan@mad.scientist.com>
5210
5211         * libs/gst/controller/Makefile.am:
5212         Dist gstlfocontrolsourceprivate.h
5213
5214 2007-08-07  Jan Schmidt  <thaytan@mad.scientist.com>
5215
5216         * docs/libs/gstreamer-libs.types:
5217         Don't register the enum type gst_lfo_waveform_get_type() in the
5218         .types file - only GObject derived types belong.
5219
5220 2007-08-07  Wim Taymans  <wim.taymans@gmail.com>
5221
5222         Patch by: <arenevier at fdn dot fr>
5223
5224         * gst/gstbuffer.h:
5225         Remove comma from last element in enum to avoid compile errors when
5226         using -pendantic. Fixes #464366.
5227
5228 2007-08-07  Wim Taymans  <wim.taymans@gmail.com>
5229
5230         * docs/design/part-TODO.txt:
5231         Add some more TODO items
5232
5233         * gst/gstbin.c: (find_message), (gst_bin_change_state_func):
5234         Improve debugging.
5235
5236         * gst/gstcaps.c: (gst_caps_intersect):
5237         Optimize trivial intersection case between identical caps pointers.
5238
5239         * gst/gstelement.c: (gst_element_continue_state),
5240         (gst_element_set_state_func):
5241         * gst/gstpad.c:
5242         Fix spelling and grammar mistakes.
5243
5244 2007-08-05  Stefan Kost  <ensonic@users.sf.net>
5245
5246         * po/POTFILES.in:
5247         * po/POTFILES.skip:
5248           Update POTFILES. Fixes #461599.
5249
5250 2007-08-03  Sebastian Dröge  <slomo@circular-chaos.org>
5251
5252         * gst/gst.c:
5253         Fix confusing typo in debug output.
5254
5255 2007-08-03  Sebastian Dröge  <slomo@circular-chaos.org>
5256
5257         reviewed by: Stefan Kost <ensonic@users.sf.net>
5258
5259         * libs/gst/controller/Makefile.am:
5260         * libs/gst/controller/gstlfocontrolsource.c: (_calculate_pos),
5261         (gst_lfo_waveform_get_type), (gst_lfo_control_source_reset),
5262         (gst_lfo_control_source_new),
5263         (gst_lfo_control_source_set_waveform),
5264         (gst_lfo_control_source_bind), (gst_lfo_control_source_init),
5265         (gst_lfo_control_source_finalize),
5266         (gst_lfo_control_source_dispose),
5267         (gst_lfo_control_source_set_property),
5268         (gst_lfo_control_source_get_property),
5269         (gst_lfo_control_source_class_init):
5270         * libs/gst/controller/gstlfocontrolsource.h:
5271         * libs/gst/controller/gstlfocontrolsourceprivate.h:
5272         API: Add GstLFOControlSource, a control source that gives values
5273         for specific timestamps based on several periodic waveforms.
5274         Fixes #459717.
5275
5276         * tests/check/libs/controller.c: (GST_START_TEST),
5277         (gst_controller_suite):
5278         * docs/libs/gstreamer-libs-docs.sgml:
5279         * docs/libs/gstreamer-libs-sections.txt:
5280         * docs/libs/gstreamer-libs.types:
5281         Add documentation and unit tests for GstLFOControlSource.
5282
5283 2007-08-03  Jan Schmidt  <thaytan@mad.scientist.com>
5284
5285         * configure.ac:
5286         Back to CVS
5287
5288 === release 0.10.14 ===
5289
5290 2007-08-03  Jan Schmidt <thaytan@mad.scientist.com>
5291
5292         * configure.ac:
5293           releasing 0.10.14, "Breathing Vacuum"
5294
5295 2007-08-02  Tim-Philipp Müller  <tim at centricular dot net>
5296
5297         * gst/gstelement.c: (gst_element_class_set_details_simple):
5298         * gst/gstelement.h:
5299           Make strings passed to gst_element_class_set_details_simple()
5300           constant, as they should be (#462752).
5301
5302 2007-08-02  Wim Taymans  <wim.taymans@gmail.com>
5303
5304         * gst/gstbin.c: (gst_bin_change_state_func),
5305         (bin_handle_async_done), (gst_bin_handle_message_func):
5306         Don't forget about the fact that some element went ASYNC even after a
5307         resync. This makes us post the ASYNC_DONE message correctly.
5308         Fixes #462558.
5309
5310 2007-07-31  Jan Schmidt  <thaytan@mad.scientist.com>
5311
5312         * gst/gstregistry.c: (gst_registry_add_feature):
5313         When replacing an existing feature in the registry, make sure to
5314         continue holding a reference until we've replaced the name string
5315         within our feature hash table. Make sure to use g_hash_table_replace
5316         instead of g_hash_table_insert to ensure the new name string is used
5317         as a key instead of the old one that we're about to free.
5318         Fixes: #462085
5319
5320 2007-07-31  Jan Schmidt  <thaytan@mad.scientist.com>
5321
5322         * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
5323         (gst_plugin_feature_set_name):
5324         Revert patch from #459466 until after the release and we can work
5325         out exactly what the problem is (if any).
5326
5327 2007-07-26  Tim-Philipp Müller  <tim at centricular dot net>
5328
5329         * docs/gst/gstreamer-sections.txt:
5330         * gst/gsttaglist.c:
5331         * gst/gsttaglist.h:
5332           API: add GST_TAG_LICENSE_URI and GST_TAG_COPYRIGHT_URI (#451939).
5333
5334 2007-07-26  Jan Schmidt  <thaytan@mad.scientist.com>
5335
5336         * docs/libs/Makefile.am:
5337         Include our build-prefix libs and includes before the generic ones to
5338         avoid linking against the installed libs when we want the build-tree
5339         ones.
5340
5341 2007-07-26  Tim-Philipp Müller  <tim at centricular dot net>
5342
5343         Patch by: Steve Fink  <sphink gmail com>
5344
5345         * docs/pwg/building-testapp.xml:
5346           Mention that GST_PLUGIN_PATH or --gst-plugin-path might be needed
5347           if people try to build or install the example from the plugin
5348           template against a GStreamer from package using the configure
5349           defaults.
5350
5351 2007-07-25  Tim-Philipp Müller  <tim at centricular dot net>
5352
5353         Patch by: Steve Fink  <sphink gmail com>
5354
5355         * tools/gst-inspect.1.in:
5356           Document --print-all and --print-plugin-auto-install-info command
5357           line options in man page.
5358
5359 2007-07-25  Wim Taymans  <wim.taymans@gmail.com>
5360
5361         * docs/gst/gstreamer-sections.txt:
5362         Add docs for new api function.
5363
5364 2007-07-25  Wim Taymans  <wim.taymans@gmail.com>
5365
5366         * gst/gstelementfactory.c: (gst_element_factory_has_interface):
5367         * gst/gstelementfactory.h:
5368         API: gst_element_factory_has_interface()
5369         Added method to check if an element factory implements a named
5370         interface.
5371
5372 2007-07-25  Stefan Kost  <ensonic@users.sf.net>
5373
5374         * configure.ac:
5375         * docs/gst/gstreamer.types.in:
5376           Another conditional doc check.
5377
5378         * gst/gstmessage.c:
5379         * gst/gstparamspecs.h:
5380         * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
5381         * gst/gstvalue.c:
5382         * gst/gstxml.h:
5383           API-doc fixes.
5384
5385 2007-07-24  Stefan Kost  <ensonic@users.sf.net>
5386
5387         * gst/gstregistrybinary.c: (gst_registry_binary_check_magic),
5388         (gst_registry_binary_load_feature),
5389         (gst_registry_binary_load_plugin),
5390         (gst_registry_binary_read_cache):
5391           Print error just once and with additional info.
5392
5393 2007-07-24  Stefan Kost  <ensonic@users.sf.net>
5394
5395         * libs/gst/base/gsttypefindhelper.c: (helper_find_peek),
5396         (helper_find_suggest), (helper_find_get_length),
5397         (gst_type_find_helper_get_range), (buf_helper_find_suggest),
5398         (gst_type_find_helper_for_buffer):
5399           Cleanup the typefindhelper code and add private doc comments.
5400
5401 2007-07-24  Edward Hervey  <bilboed@bilboed.com>
5402
5403         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
5404         (gst_capsfilter_transform_size), (gst_capsfilter_prepare_buf):
5405         Fix capsfilter for cases where the caps set on capsfilter will provide
5406         additional information.
5407         Fixes #449197
5408
5409 2007-07-24  Stefan Kost  <ensonic@users.sf.net>
5410
5411         * gst/gsttypefindfactory.c:
5412           Fix docs that recommened wrong function to use.
5413
5414 2007-07-23  Stefan Kost  <ensonic@users.sf.net>
5415
5416         * tools/gst-inspect.c: (print_plugin_features):
5417           Also give media-type for typefinders in element output.
5418
5419 2007-07-23  Stefan Kost  <ensonic@users.sf.net>
5420
5421         * gst/gstregistry.c: (gst_registry_init), (gst_registry_finalize),
5422         (gst_registry_remove_features_for_plugin_unlocked),
5423         (gst_registry_add_feature), (gst_registry_remove_feature),
5424         (gst_registry_lookup_feature_locked):
5425         * gst/gstregistry.h:
5426           Speed up gst_registry_lookup_feature_locked() by using a hashmap.
5427           Fixes #459501.
5428
5429 2007-07-23  Stefan Kost  <ensonic@users.sf.net>
5430
5431         * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
5432         (gst_plugin_feature_set_name):
5433           Avoid double memory usage for pluginfeature names. Fixes #459466.
5434
5435 2007-07-22  Tim-Philipp Müller  <tim at centricular dot net>
5436
5437         * gst/gstpad.h:
5438           Small addition to GST_FLOW_IS_FATAL() docs: mention that elements
5439           driving the pipeline may need to explicitly check for NOT_LINKED as
5440           well, since IS_FATAL doesn't cover that.
5441
5442 2007-07-22  Tim-Philipp Müller  <tim at centricular dot net>
5443
5444         * docs/pwg/advanced-types.xml:
5445           Fix typo and duplicate entry in video formats list.
5446
5447 2007-07-22  Sebastian Dröge  <slomo@circular-chaos.org>
5448
5449         * libs/gst/controller/gstinterpolation.c:
5450         Also round to the nearest int when using cubic interpolation.
5451
5452 2007-07-19  Jan Schmidt  <thaytan@noraisin.net>
5453
5454         * libs/gst/controller/gstinterpolation.c:
5455         When linearly interpolating integer types, round to the nearest int
5456         by adding 0.5. Don't do it for float/double types.
5457         Fixes the failing controller test on my machine, which is somehow
5458         rounding differently than on the buildbots.
5459
5460 2007-07-20  Stefan Kost  <ensonic@users.sf.net>
5461
5462         * tools/gst-plot-timeline.py:
5463           Better log parsing (categories can have -). Adjust text vs. lines, so
5464           that they span the same y-range.        
5465
5466 2007-07-20  Stefan Kost  <ensonic@users.sf.net>
5467
5468         * docs/random/ensonic/audiobaseclasses.txt:
5469         * docs/random/ensonic/dynlink.txt:
5470         * docs/random/ensonic/profiling.txt:
5471           Save my thoughts.
5472
5473         * docs/random/moving-plugins:
5474           Add note to use g_assert type macros.
5475
5476 2007-07-20  Stefan Kost  <ensonic@users.sf.net>
5477
5478         * configure.ac:
5479         * libs/gst/check/Makefile.am:
5480           Add libm check as we use in for plugins.
5481
5482 2007-07-18  Jan Schmidt  <thaytan@noraisin.net>
5483
5484         * gst/gstbin.c: (gst_bin_continue_func):
5485         Check that the state_cookie hasn't changed since the continue_func
5486         was scheduled. Avoids problems where the state changes back to
5487         something it shouldn't be because it was changed in the meantime.
5488
5489 2007-07-17  Stefan Kost  <ensonic@users.sf.net>
5490
5491         * gst/gstregistrybinary.c: (gst_registry_binary_save_const_string),
5492         (gst_registry_binary_save_string),
5493         (gst_registry_binary_save_pad_template),
5494         (gst_registry_binary_save_feature),
5495         (gst_registry_binary_save_plugin),
5496         (gst_registry_binary_load_feature),
5497         (gst_registry_binary_load_plugin),
5498         (gst_registry_binary_read_cache):
5499           Fix memory leak. Be less verbose in the log.
5500
5501 2007-07-16  Jan Schmidt  <thaytan@mad.scientist.com>
5502
5503         * tests/check/elements/.cvsignore:
5504         Add file to cvsignore as commanded.
5505
5506 2007-07-16  Jan Schmidt  <thaytan@mad.scientist.com>
5507
5508         * tests/check/elements/multiqueue.c: (mq_dummypad_chain),
5509         (mq_dummypad_event), (run_output_order_test):
5510         Use a GStaticMutex to protect all cases where libcheck
5511         fail_if/fail_unless macros might be called from multiple threads
5512         simultaneously to avoid errors like:
5513           "check_pack.c:107: :-1081725400:Bad message type arg"
5514
5515 2007-07-16  Jan Schmidt  <thaytan@mad.scientist.com>
5516
5517         * tests/check/pipelines/stress.c: (GST_START_TEST):
5518         Make sure we set the pipeline back to the NULL state before
5519         dropping our final reference.
5520
5521 2007-07-16  Jan Schmidt  <thaytan@mad.scientist.com>
5522
5523         * tests/check/elements/tee.c: (GST_START_TEST):
5524         Make the tee stress-test a little less stressful so it doesn't just
5525         time out on slow-machines, and remove a small race when it's starting 
5526         up by adding a get_state() call.
5527
5528 2007-07-16  Stefan Kost  <ensonic@users.sf.net>
5529
5530         * gst/gst.c:
5531           Avoid reading registry twice on startup. Fixes #457322.
5532
5533 2007-07-13  Jan Schmidt  <thaytan@mad.scientist.com>
5534
5535         * pkgconfig/gstreamer-check-uninstalled.pc.in:
5536         * pkgconfig/gstreamer-check.pc.in:
5537         Substitute the CFLAGS for libcheck into our .pc file too so that
5538         dependent modules will pick it up properly if libcheck is installed
5539         into some other prefix.
5540
5541 2007-07-13  Jan Schmidt  <thaytan@mad.scientist.com>
5542
5543         * configure.ac:
5544         Revert the pkg-config check for libcheck, since it pulls in the
5545         wrong non-PIC libcheck.a on Ubuntu and probably Fedora too. We need
5546         a proper solution, either from the check project, or something else.
5547
5548 2007-07-12  Stefan Kost  <ensonic@users.sf.net>
5549
5550         * configure.ac:
5551           Use pkg-config to locate check.
5552
5553 2007-07-10  Stefan Kost  <ensonic@users.sf.net>
5554
5555         * gst/gsttaglist.c:
5556           Fix doc syntax.
5557
5558         * gst/gstutils.c:
5559         * gst/gstutils.h:
5560           Add deprecation guards.
5561
5562         * libs/gst/base/gstcollectpads.h:
5563           Don't document object (this is implicitly private).
5564
5565 2007-07-08  Tim-Philipp Müller  <tim at centricular dot net>
5566
5567         * gst/gststructure.c: (gst_structure_parse_value):
5568           When deserialising foo=bar without a type cast, check if it's a
5569           boolean before falling back to a string type, otherwise things like
5570           audiotestsrc ! audio/x-raw-int,signed=true ! fakesink won't work,
5571           because the filtercaps end up having a signed=(string)true field,
5572           which causes problems later when intersection caps.
5573
5574         * tests/check/gst/gststructure.c: (GST_START_TEST):
5575           Add a unit test for this.
5576
5577 2007-07-06  Sebastian Dröge  <slomo@circular-chaos.org>
5578
5579         Reviewed by: Stefan Kost <ensonic@users.sf.net>
5580
5581         * libs/gst/controller/Makefile.am:
5582         * libs/gst/controller/gstcontroller.c:
5583         (gst_controlled_property_add_interpolation_control_source),
5584         (gst_controlled_property_new), (gst_controlled_property_free),
5585         (gst_controller_find_controlled_property),
5586         (gst_controller_new_valist), (gst_controller_new_list),
5587         (gst_controller_new), (gst_controller_remove_properties_valist),
5588         (gst_controller_remove_properties_list),
5589         (gst_controller_remove_properties),
5590         (gst_controller_set_property_disabled),
5591         (gst_controller_set_disabled), (gst_controller_set_control_source),
5592         (gst_controller_get_control_source), (gst_controller_get),
5593         (gst_controller_sync_values), (gst_controller_get_value_array),
5594         (_gst_controller_dispose), (gst_controller_get_type),
5595         (gst_controlled_property_set_interpolation_mode),
5596         (gst_controller_set), (gst_controller_set_from_list),
5597         (gst_controller_unset), (gst_controller_unset_all),
5598         (gst_controller_get_all), (gst_controller_set_interpolation_mode):
5599         * libs/gst/controller/gstcontroller.h:
5600         * libs/gst/controller/gstcontrollerprivate.h:
5601         * libs/gst/controller/gstcontrolsource.c:
5602         (gst_control_source_class_init), (gst_control_source_init),
5603         (gst_control_source_get_value),
5604         (gst_control_source_get_value_array), (gst_control_source_bind):
5605         * libs/gst/controller/gstcontrolsource.h:
5606         * libs/gst/controller/gsthelper.c: (gst_object_set_control_source),
5607         (gst_object_get_control_source):
5608         * libs/gst/controller/gstinterpolation.c:
5609         (gst_interpolation_control_source_find_control_point_node),
5610         (gst_interpolation_control_source_get_first_value),
5611         (_interpolate_none_get), (interpolate_none_get),
5612         (interpolate_none_get_boolean_value_array),
5613         (interpolate_none_get_enum_value_array),
5614         (interpolate_none_get_string_value_array),
5615         (_interpolate_trigger_get), (interpolate_trigger_get),
5616         (interpolate_trigger_get_boolean_value_array),
5617         (interpolate_trigger_get_enum_value_array),
5618         (interpolate_trigger_get_string_value_array):
5619         * libs/gst/controller/gstinterpolationcontrolsource.c:
5620         (gst_control_point_free), (gst_interpolation_control_source_reset),
5621         (gst_interpolation_control_source_new),
5622         (gst_interpolation_control_source_set_interpolation_mode),
5623         (gst_interpolation_control_source_bind),
5624         (gst_control_point_compare), (gst_control_point_find),
5625         (gst_interpolation_control_source_set_internal),
5626         (gst_interpolation_control_source_set),
5627         (gst_interpolation_control_source_set_from_list),
5628         (gst_interpolation_control_source_unset),
5629         (gst_interpolation_control_source_unset_all),
5630         (gst_interpolation_control_source_get_all),
5631         (gst_interpolation_control_source_get_count),
5632         (gst_interpolation_control_source_init),
5633         (gst_interpolation_control_source_finalize),
5634         (gst_interpolation_control_source_dispose),
5635         (gst_interpolation_control_source_class_init):
5636         * libs/gst/controller/gstinterpolationcontrolsource.h:
5637         * libs/gst/controller/gstinterpolationcontrolsourceprivate.h:
5638         API: Refactor GstController into the core controller which can take
5639         a GstControlSource for providing actual values for timestamps.
5640         Implement a interpolation control source and use this for backward
5641         compatibility, deprecate a bunch of functions that are now handled
5642         by GstControlSource or GstInterpolationControlSource.
5643         Make it possible to disable the controller completely or only for
5644         specific properties. Fixes #450711.
5645         * docs/libs/gstreamer-libs-docs.sgml:
5646         * docs/libs/gstreamer-libs-sections.txt:
5647         * docs/libs/gstreamer-libs.types:
5648         Add new functions and classes to the docs.
5649         * tests/check/libs/controller.c: (GST_START_TEST),
5650         (gst_controller_suite):
5651         * tests/examples/controller/audio-example.c: (main):
5652         Port unit test and example to the new API and add some new
5653         unit tests.
5654
5655 2007-07-05  Wim Taymans  <wim.taymans@gmail.com>
5656
5657         Patch by: Mark Nauwelaerts <manauw at skynet be>
5658
5659         * plugins/elements/gstmultiqueue.c:
5660         (gst_multi_queue_get_internal_links), (apply_buffer),
5661         (single_queue_overrun_cb), (gst_single_queue_new):
5662         Implement non-default GstPadIntLinkFunction for multiqueue pads so that
5663         the pipeline layout can be tracked correctly. Fixes #453732.
5664
5665 2007-07-05  Stefan Kost  <ensonic@users.sf.net>
5666
5667         * docs/gst/Makefile.am:
5668         * docs/libs/Makefile.am:
5669         * docs/plugins/Makefile.am:
5670           Simplify --extra-dir as gtkdoc scans recursively.
5671
5672 2007-07-03  Wim Taymans  <wim.taymans@gmail.com>
5673
5674         * tools/gst-launch.c: (main):
5675         When we got an error, there is no point in waiting for preroll when
5676         shutting down.
5677
5678 2007-07-03  Wim Taymans  <wim.taymans@gmail.com>
5679
5680         * plugins/elements/gsttee.c: (gst_tee_base_init),
5681         (gst_tee_request_new_pad), (gst_tee_release_pad),
5682         (gst_tee_find_buffer_alloc), (gst_tee_buffer_alloc),
5683         (gst_tee_do_push), (clear_pads), (gst_tee_handle_buffer),
5684         (gst_tee_chain):
5685         Be a lot smarter when deciding what srcpad to use for proxying
5686         the buffer_alloc. Also handle pad added/removed when doing so.
5687         Fixes #357959.
5688         Keep track of what pads we already pushed on in case we have pads
5689         added/removed while pushing. Fixes #374639 
5690
5691         * tests/check/Makefile.am:
5692         * tests/check/elements/tee.c: (handoff), (GST_START_TEST),
5693         (tee_suite):
5694         Added unit test for pad resync.
5695
5696 2007-07-01  Thomas Vander Stichele  <thomas at apestaart dot org>
5697
5698         * po/nl.po:
5699         * po/sv.po:
5700           Updated translations.
5701
5702 2007-07-01  Thomas Vander Stichele  <thomas at apestaart dot org>
5703
5704         translation by: Tommi Vainikainen <Tommi.Vainikainen@iki.fi>
5705
5706         * po/LINGUAS:
5707         * po/fi.po:
5708           Added new Finnish translation.
5709
5710 2007-06-28  Wim Taymans  <wim@fluendo.com>
5711
5712         * plugins/elements/gstmultiqueue.c: (apply_buffer),
5713         (single_queue_overrun_cb):
5714         When figuring out when a queue is filled, use our internal time estimate
5715         based on segments, just like check_full does.
5716
5717 2007-06-27  Stefan Kost  <ensonic@users.sf.net>
5718
5719         * gst/gstminiobject.c: (gst_mini_object_get_type):
5720           Remove 3 do-nothing methods.
5721
5722 2007-06-27  Wim Taymans  <wim@fluendo.com>
5723
5724         Patch by: Tim Angus <tim at ngus dot net>
5725
5726         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
5727         (gst_capsfilter_set_property):
5728         Take a reference instead of a copy when setting "caps".
5729         Fix documentation to clarify this behaviour. Fixes #449414.
5730
5731 2007-06-27  Stefan Kost  <ensonic@users.sf.net>
5732
5733         * gst/gstindexfactory.c: (gst_index_factory_get_type):
5734         * gst/gstplugin.c: (gst_plugin_init):
5735         * gst/gstpluginfeature.c: (gst_plugin_feature_init):
5736         * gst/gstquery.c: (gst_query_get_type):
5737         * gst/gstregistry.c: (gst_registry_init):
5738         * gst/gsturi.c: (gst_uri_handler_base_init):
5739           Remove empty instance_init() functions to save relocs and lessen the
5740           noise. Remove some of the function prototypes that are doubled by
5741           G_DEFINE_TYPE.
5742           
5743 2007-06-27  Wim Taymans  <wim@fluendo.com>
5744
5745         Patch by: Étienne Noreau-Hébert <etienne at deepunder dot org>
5746
5747         * gst/gstghostpad.c: (gst_proxy_pad_save_thyself):
5748         Add peer and direction in the XML serialisation of ghostpads.
5749         Fixes #449226.
5750
5751 2007-06-26  Stefan Kost  <ensonic@users.sf.net>
5752
5753         * configure.ac:
5754           Preserve useful information, thanks Tim.
5755
5756 2007-06-26  Jan Schmidt  <thaytan@noraisin.net>
5757
5758         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_init),
5759         (gst_single_queue_flush), (apply_segment), (apply_buffer),
5760         (gst_single_queue_push_one), (gst_multi_queue_loop),
5761         (gst_multi_queue_sink_activate_push), (gst_multi_queue_sink_event),
5762         (gst_multi_queue_src_activate_push), (wake_up_next_non_linked),
5763         (compute_high_id), (gst_single_queue_new):
5764         * plugins/elements/gstmultiqueue.h:
5765         Take the multiqueue lock when updating the fill level so we don't get
5766         confused. 
5767
5768         After applying a buffer or event on the src pad segment, make sure to
5769         call gst_data_queue_limits_changed() to get the data queue to unblock
5770         and check the filled state again.
5771         
5772         Rework the not-linked pad handling so the logic is that not-linked 
5773         pads can push as fast as they like, but only so they never get 
5774         ahead of any linked pads.
5775
5776         * tests/check/elements/multiqueue.c: (mq_sinkpad_to_srcpad),
5777         (mq_dummypad_getcaps), (mq_dummypad_chain), (mq_dummypad_event),
5778         (run_output_order_test), (GST_START_TEST), (multiqueue_suite):
5779
5780         Add a test to check that not-linked pads always stay behind
5781         linked pads.
5782
5783         Fixes: #430682
5784
5785 2007-06-26  Jan Schmidt  <thaytan@mad.scientist.com>
5786
5787         * docs/random/release:
5788           Some updates to the release procedure.
5789
5790 2007-06-26  Stefan Kost  <ensonic@users.sf.net>
5791
5792         * gst/gstelementfactory.c: (__gst_element_details_clear):
5793           Microoptimization that saves stunning 80 bytes.
5794
5795 2007-06-25  Stefan Kost  <ensonic@users.sf.net>
5796
5797         * docs/plugins/gstreamer-plugins.args:
5798         * docs/plugins/inspect/plugin-coreelements.xml:
5799         * docs/plugins/inspect/plugin-coreindexers.xml:
5800           Update docs with caps info.
5801
5802 2007-06-24  Thomas Vander Stichele  <thomas at apestaart dot org>
5803
5804         * po/it.po:
5805           Updated Italian translation.
5806
5807 2007-06-23  Thomas Vander Stichele  <thomas at apestaart dot org>
5808
5809         * ChangeLog:
5810         * po/vi.po:
5811           Update Vietnamese translations.
5812
5813 2007-06-21  Tim-Philipp Müller  <tim at centricular dot net>
5814
5815         * libs/gst/base/gstbasesink.c:
5816           Remove unused signal enum.
5817
5818 2007-06-21  Jan Schmidt  <thaytan@mad.scientist.com>
5819
5820         * docs/gst/gstreamer-sections.txt:
5821         * gst/gstelement.c:
5822         * gst/gstutils.c: (gst_type_register_static_full):
5823         Beef up and include the docs for gst_type_register_static_full and
5824         gst_element_class_set_details_simple and add the API keyword
5825         in the ChangeLog.
5826
5827 2007-06-21  Jan Schmidt  <thaytan@mad.scientist.com>
5828
5829         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_set_property),
5830         (update_time_level), (gst_single_queue_push_one),
5831         (gst_multi_queue_chain), (gst_multi_queue_sink_event),
5832         (single_queue_overrun_cb), (single_queue_underrun_cb),
5833         (single_queue_check_full):
5834         Fix setting max-* properties after adding queues.
5835         Use IS_FILLED for checking visible items.
5836         Signal overrun if multiple queues overrun.
5837         Add extra debug output.
5838         Patch by: Wim Taymans <wim@fluendo.com>
5839
5840 2007-06-21  Stefan Kost  <ensonic@users.sf.net>
5841
5842         * gst/gstelement.c: (gst_element_class_set_details_simple):
5843         * gst/gstelement.h:
5844         * gst/gstutils.c: (gst_type_register_static_full):
5845         * gst/gstutils.h:
5846         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_base_init):
5847         * plugins/elements/gstfakesink.c: (gst_fake_sink_base_init):
5848         * plugins/elements/gstfakesrc.c: (gst_fake_src_base_init):
5849         * plugins/elements/gstfdsink.c: (gst_fd_sink_base_init):
5850         * plugins/elements/gstfdsrc.c: (gst_fd_src_base_init):
5851         * plugins/elements/gstfilesink.c: (gst_file_sink_base_init):
5852         * plugins/elements/gstfilesrc.c: (gst_file_src_base_init):
5853         * plugins/elements/gstidentity.c: (gst_identity_base_init):
5854         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_base_init):
5855         * plugins/elements/gstqueue.c: (gst_queue_base_init),
5856         (apply_buffer), (gst_queue_chain):
5857         * plugins/elements/gsttee.c: (gst_tee_base_init):
5858         * plugins/elements/gsttypefindelement.c:
5859         (gst_type_find_element_base_init),
5860         (gst_type_find_element_class_init):
5861           Saving relocations for GTypeInfo and GstElementDetails. Fixes #437457.
5862           API: add gst_type_register_static_full
5863           API: add gst_element_class_set_details_simple
5864
5865 2007-06-21  Tim-Philipp Müller  <tim at centricular dot net>
5866
5867         * docs/pwg/advanced-types.xml:
5868           Fix typo in iana.org URI.
5869
5870 2007-06-19  Andy Wingo  <wingo@pobox.com>
5871
5872         * tests/check/pipelines/simple-launch-lines.c
5873         (test_state_change_returns): Enable pull-mode tests now that
5874         basesink has been fixed.
5875
5876         * libs/gst/base/gstbasesink.c (gst_base_sink_needs_preroll):
5877         Changed from gst_base_sink_is_prerolled, reversing the sense of
5878         the return value. Returns FALSE also if the sink is in pull mode,
5879         in which case it needs no preroll.
5880         (gst_base_sink_query, gst_base_sink_change_state): Update for
5881         needs_preroll change.
5882         (gst_base_sink_change_state): Add a case for READY_TO_PAUSED after
5883         chaining up, in which we return SUCCESS directly if we activated
5884         in pull mode instead of ASYNC. Involves countering an async_start
5885         message sent before chaining up; not sure if this is correct, in
5886         an ideal world we only send async-start when activating in push
5887         mode.
5888
5889         * tests/check/pipelines/simple-launch-lines.c
5890         (test_state_change_returns): New test, partially disabled until
5891         basesink is fixed.
5892
5893 2007-06-19  Wim Taymans  <wim@fluendo.com>
5894
5895         * plugins/elements/gstmultiqueue.c: (apply_buffer),
5896         (gst_multi_queue_sink_event):
5897         Fix event leak.
5898
5899 2007-06-19  Wim Taymans  <wim@fluendo.com>
5900
5901         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
5902         (gst_bin_change_state_func), (bin_push_state_continue),
5903         (bin_handle_async_start), (bin_handle_async_done),
5904         (gst_bin_handle_message_func):
5905         Move the common code for posting state-change messages into
5906         one function.
5907         Broadcast the state signal after we posted the messages.
5908         Mark the bin as busy when it's doing a state-change.
5909         Make sure async-start/done messages don't interfere with the bin's
5910         state when it's busy.
5911         After the state change, let the bin check which elements completed the
5912         state change while it was busy so that it can update its state.
5913
5914 2007-06-19  Jan Schmidt  <thaytan@mad.scientist.com>
5915
5916         * docs/random/release:
5917         Add a note about updating the doap file to the release checklist
5918
5919 2007-06-18  Wim Taymans  <wim@fluendo.com>
5920
5921         * plugins/elements/gstmultiqueue.c: (apply_buffer),
5922         (gst_single_queue_push_one), (gst_multi_queue_chain),
5923         (gst_multi_queue_sink_event):
5924         Make sure we don't reference the buffer/event after we have given away
5925         ownership in the queue.
5926
5927 2007-06-18  Wim Taymans  <wim@fluendo.com>
5928
5929         * plugins/elements/gstmultiqueue.c: (gst_single_queue_flush),
5930         (gst_multi_queue_chain), (gst_multi_queue_sink_event):
5931         Update queue state _after_ adding the item in the queue because else we
5932         could end up being full without the element added yet.
5933
5934 2007-06-18  Wim Taymans  <wim@fluendo.com>
5935
5936         * gst/gstbin.c: (gst_bin_init), (gst_bin_add_func),
5937         (gst_bin_remove_func), (gst_bin_get_state_func),
5938         (gst_bin_element_set_state), (gst_bin_continue_func),
5939         (bin_push_state_continue), (bin_handle_async_start),
5940         (bin_handle_async_done), (gst_bin_handle_message_func):
5941         * gst/gstbin.h:
5942         Immediatly commit the toplevel bin state when receiving an async-done
5943         message. This enables us to avoid spawning a thread to commit the state
5944         in some common cases and it also avoids some races.
5945         Avoid spawning a state thread when adding/removing async elements to a
5946         toplevel bin. Instead we immediatly update the bin state.
5947         Get rid of iterating all the children when getting the state in the bin
5948         because it is now always up-to-date.
5949         Fix bug where locked elements would always return _SUCCESS even it they
5950         returned NO_PREROLL before being locked.
5951         Fix the order of the state_change, async-start/done messages that was
5952         sometimes incorrect.
5953         Mark the state_dirty field as deprecated, we don't need it anymore as we
5954         are always up-to-date.
5955
5956         * gst/gstelement.c: (gst_element_get_state_func),
5957         (gst_element_continue_state):
5958         Small debug inprovements.
5959         Return the previous element state return when nothing is pending instead
5960         of blindly returning SUCCESS.
5961
5962         * tests/check/generic/sinks.c: (GST_START_TEST), (pad_blocked_cb),
5963         (gst_sinks_suite):
5964         Add a whole bunch of new testcases.
5965
5966 2007-06-17  Thomas Vander Stichele  <thomas at apestaart dot org>
5967
5968         * po/uk.po:
5969         * po/vi.po:
5970           Update translations.
5971
5972 2007-06-15  Jan Schmidt  <thaytan@mad.scientist.com>
5973
5974         * gst/gstpad.c:
5975         Fix typo in the docs.
5976
5977 2007-06-15  Wim Taymans  <wim@fluendo.com>
5978
5979         * docs/libs/gstreamer-libs-sections.txt:
5980         Add docs for new methods.
5981
5982 2007-06-15  Wim Taymans  <wim@fluendo.com>
5983
5984         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_item_destroy),
5985         (gst_multi_queue_item_new):
5986         Don't use GSlice because we don't depend on >= 2.10 yet.
5987
5988 2007-06-15  Wim Taymans  <wim@fluendo.com>
5989
5990         * plugins/elements/gstmultiqueue.c: (gst_single_queue_flush),
5991         (update_time_level), (apply_segment), (apply_buffer),
5992         (gst_single_queue_push_one), (gst_multi_queue_item_new),
5993         (gst_multi_queue_loop), (gst_multi_queue_sink_activate_push),
5994         (gst_multi_queue_sink_event), (single_queue_overrun_cb),
5995         (single_queue_underrun_cb), (single_queue_check_full):
5996         Remove debug printf.
5997
5998 2007-06-15  Wim Taymans  <wim@fluendo.com>
5999
6000         * libs/gst/base/gstdataqueue.c: (gst_data_queue_cleanup),
6001         (gst_data_queue_finalize), (gst_data_queue_locked_is_empty),
6002         (gst_data_queue_set_flushing), (gst_data_queue_push),
6003         (gst_data_queue_pop), (gst_data_queue_drop_head),
6004         (gst_data_queue_limits_changed), (gst_data_queue_get_level):
6005         * libs/gst/base/gstdataqueue.h:
6006         Various cleanups.
6007         Added methods to get the current levels and to inform the queue that the
6008         'full' limits changed.
6009
6010         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_init),
6011         (gst_multi_queue_finalize), (gst_multi_queue_set_property),
6012         (gst_single_queue_flush), (update_time_level), (apply_segment),
6013         (apply_buffer), (gst_single_queue_push_one),
6014         (gst_multi_queue_item_steal_object),
6015         (gst_multi_queue_item_destroy), (gst_multi_queue_item_new),
6016         (gst_multi_queue_loop), (gst_multi_queue_chain),
6017         (gst_multi_queue_sink_activate_push), (gst_multi_queue_sink_event),
6018         (gst_multi_queue_getcaps), (gst_multi_queue_src_activate_push),
6019         (gst_multi_queue_src_query), (single_queue_overrun_cb),
6020         (single_queue_underrun_cb), (single_queue_check_full),
6021         (gst_single_queue_new):
6022         Keep track of time in the queue by measuring the difference between
6023         running_time on input and output. This gives more accurate results and
6024         can compensate for segments correctly.
6025         Make a queue by default only 5 buffers deep. We will now increase the
6026         buffer size depending on the filledness of the other queues.
6027         Factor out commong flush code.
6028         Make sure we don't add additional refcounts to buffers when we can avoid
6029         it.
6030         Propagate GstFlowReturn differently.
6031         Use GSlice for intermediate GstMultiQueueItems.
6032         Keep track of EOS.
6033         Resize queues on over and underruns based on filled level of other
6034         queues.
6035         When checking if the queue is filled, prefer to measure in time if we
6036         can and fall back to bytes when no time is known.
6037
6038         * plugins/elements/gstqueue.c:
6039         Fix return value.
6040
6041 2007-06-15  Wim Taymans  <wim@fluendo.com>
6042
6043         * libs/gst/base/gstbasetransform.c:
6044         (gst_base_transform_sink_event):
6045         Work around the brokenness of the event vmethod in basetransform. Prefer
6046         to return TRUE when the subclass returned FALSE (meaning don't forward
6047         the event). 
6048
6049         * libs/gst/base/gstbasetransform.h:
6050         Clarify the docs.
6051
6052 2007-06-15  Wim Taymans  <wim@fluendo.com>
6053
6054         * gst/gstpad.c: (gst_pad_push_event), (gst_pad_send_event):
6055         * libs/gst/base/gstbasesrc.c: (gst_base_src_query_latency),
6056         (gst_base_src_default_query), (gst_base_src_get_range),
6057         (gst_base_src_start):
6058         * tests/check/pipelines/parse-launch.c: (setup_pipeline):
6059         Improve debugging.
6060
6061 2007-06-15  Stefan Kost  <ensonic@users.sf.net>
6062
6063         * docs/pwg/advanced-types.xml:
6064           Added more formats to caps table.
6065
6066 2007-06-15  Stefan Kost  <ensonic@users.sf.net>
6067
6068         * tools/gst-launch.c: (main):
6069           Remove crufy code. GOption does not need this workaround.
6070
6071 2007-06-14  Stefan Kost  <ensonic@users.sf.net>
6072
6073         * libs/gst/controller/gstcontroller.c:
6074         (gst_controlled_property_set_interpolation_mode):
6075           Fix wrong getter for enums in controller.
6076
6077 2007-06-14  Tim-Philipp Müller  <tim at centricular dot net>
6078
6079         * libs/gst/check/gstcheck.c: (gst_check_init):
6080           Intercept criticals and warnings in the Gst-Phonon log domain, so
6081           ASSERT_CRITICAL() etc. can be used in gst-phonon's unit tests as
6082           well.
6083         
6084 2007-06-14  Edward Hervey  <edward@fluendo.com>
6085
6086         * gst/gstparamspecs.c: (_gst_param_fraction_validate):
6087         Since this file doesn't include "gst.h" it will not go through the
6088         macros that disable GST_LOG if debugging was disabled.
6089
6090 2007-06-14  Tim-Philipp Müller  <tim at centricular dot net>
6091
6092         * libs/gst/check/Makefile.am:
6093         * libs/gst/check/gstcheck.h:
6094         * pkgconfig/gstreamer-check-uninstalled.pc.in:
6095         * pkgconfig/gstreamer-check.pc.in:
6096           Ugly 'fix' for the controller unit test on the p5 bot: in
6097           fail_unless_equals_float() check whether the values are 'almost
6098           equal' by allowing a small absolute error, which should be good
6099           enough for our use cases (normal numbers and values close to 0).
6100           Proper fixage left to floating point arithmetic aficionados.
6101
6102 2007-06-14  Stefan Kost  <ensonic@users.sf.net>
6103
6104         * libs/gst/base/gstbasesink.c: (gst_base_sink_reset_qos),
6105         (gst_base_sink_render_object), (gst_base_sink_get_position):
6106           Add two breaks thats where missing.
6107
6108 2007-06-14  Tim-Philipp Müller  <tim at centricular dot net>
6109
6110         * docs/libs/gstreamer-libs-sections.txt:
6111         * libs/gst/check/gstcheck.h:
6112           API: add fail_unless_equals_float() and assert_equals_float().
6113           Add documentation for some of the macros.
6114
6115         * tests/check/libs/controller.c: (GST_START_TEST):
6116           Use newly-added asserts.
6117
6118 2007-06-14  Stefan Kost  <ensonic@users.sf.net>
6119
6120         * gst/gstpad.c: (gst_pad_alloc_buffer_full), (gst_pad_push):
6121           Show the caps change in the log to help spotting the case of not
6122           exactly matching caps.
6123
6124 2007-06-14  Tim-Philipp Müller  <tim at centricular dot net>
6125
6126         * docs/pwg/building-boiler.xml:
6127           Fix typos, spotted by Thijs Vermeir (#447190).
6128
6129 2007-06-13  Jan Schmidt  <thaytan@mad.scientist.com>
6130
6131         * docs/plugins/tmpl/.cvsignore:
6132         Ignore file to keep the buildbots happy
6133
6134 2007-06-13  Jan Schmidt  <thaytan@mad.scientist.com>
6135
6136         * docs/plugins/Makefile.am:
6137         * docs/plugins/gstreamer-plugins-docs.sgml:
6138         * docs/plugins/gstreamer-plugins-sections.txt:
6139         Pull fdsink into the docs too.
6140
6141 2007-06-11  Sebastian Dröge  <slomo@circular-chaos.org>
6142
6143         * libs/gst/controller/gstinterpolation.c:
6144         Actually use the new functions with min/max checks for the trigger and
6145         none interpolation modes for get() and get_value_array() instead of
6146         just the latter.
6147
6148 2007-06-10  Sebastian Dröge  <slomo@circular-chaos.org>
6149
6150         * libs/gst/controller/gstcontroller.c:
6151         (gst_controlled_property_free):
6152         Unset the minimum and maximum GValues when freeing the corresponding
6153         GstControllerProperty struct.
6154
6155 2007-06-09  Sebastian Dröge  <slomo@circular-chaos.org>
6156
6157         * libs/gst/controller/gstcontroller.c:
6158         (gst_controlled_property_new):
6159         * libs/gst/controller/gstcontrollerprivate.h:
6160         * libs/gst/controller/gstinterpolation.c:
6161         (gst_controlled_property_find_control_point_node),
6162         (interpolate_none_get), (interpolate_none_get_enum_value_array),
6163         (interpolate_none_get_string_value_array),
6164         (interpolate_trigger_get),
6165         (interpolate_trigger_get_enum_value_array),
6166         (interpolate_trigger_get_string_value_array):
6167         Protect against values larger or smaller than the minimum or maximum
6168         allowed value for the property when using values that can be compared.
6169
6170         Optimize trigger interpolator a bit by taking the last requested value
6171         into account instead of always looping through the complete list.
6172
6173         Fix coding style a bit, everywhere else we use "return foo" instead
6174         of "return (foo)".
6175         
6176         * tests/check/libs/controller.c: (GST_START_TEST),
6177         (gst_controller_suite):
6178         Add unit test for the protection against too large or too small
6179         values.
6180
6181 2007-06-08  Sebastian Dröge  <slomo@circular-chaos.org>
6182
6183         * docs/random/slomo/controller.txt:
6184         Add some thoughts about the future of the controller.
6185
6186 2007-06-08  Wim Taymans  <wim@fluendo.com>
6187
6188         * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
6189         Don't overflow in retimestamping code.
6190
6191 2007-06-07  Sebastien Moutte  <sebastien@moutte.net>
6192
6193         * libs/gst/controller/gstinterpolation.c: (DEFINE_CUBIC_GET):
6194         Use gst_util_guint64_to_gdouble for conversions.
6195         * win32/common/libgstreamer.def:
6196         Add new exported functions.
6197
6198 2007-06-07  Tim-Philipp Müller  <tim at centricular dot net>
6199
6200         * gst/gstutils.c:
6201           Small docs addition.
6202
6203 2007-06-07  Stefan Kost  <ensonic@users.sf.net>
6204
6205         * README:
6206           Remove that test line again.
6207
6208 2007-06-07  Stefan Kost  <ensonic@users.sf.net>
6209
6210         * README:
6211           Test commit mail sending.
6212
6213 2007-06-07  Stefan Kost  <ensonic@users.sf.net>
6214
6215         * configure.ac:
6216           Fix typo and test commit mail sending.
6217
6218 2007-06-07  Stefan Kost  <ensonic@users.sf.net>
6219
6220         * tests/examples/controller/audio-example.c:
6221           Improve comment and test commit mail sending.
6222
6223 2007-06-07  Wim Taymans  <wim@fluendo.com>
6224
6225         * gst/gstbin.c: (find_message), (bin_replace_message), (is_eos),
6226         (gst_bin_remove_func), (gst_bin_element_set_state),
6227         (bin_handle_async_start), (bin_handle_async_done),
6228         (gst_bin_handle_message_func):
6229         Add helper function to find messages.
6230         Generate the async-done messages together with the state change
6231         messages.
6232         Small cleanups in handling toplevel bins.
6233
6234 2007-06-06  Tim-Philipp Müller  <tim at centricular dot net>
6235
6236         * libs/gst/base/gstdataqueue.c:
6237         * libs/gst/base/gstdataqueue.h:
6238         * plugins/elements/gstmultiqueue.c: (gst_single_queue_push_one),
6239         (gst_multi_queue_item_new), (gst_multi_queue_chain),
6240         (gst_multi_queue_sink_event):
6241         * tests/check/elements/multiqueue.c: (multiqueue_suite):
6242           Fix multiqueue leaking buffers and events when downstream or the
6243           queue are flushing. Make refcounting assumptions explicit and
6244           document them (shouldn't break existing code that uses it other than
6245           maybe leak miniobjects, but that already happens anyway). Add unit
6246           test for the most common flushing case. Fixes #423700.
6247           
6248 2007-06-06  Sebastian Dröge  <slomo@circular-chaos.org>
6249
6250         * libs/gst/controller/gstcontroller.c:
6251         Clarify docs: The get_all, get_value_array(s) functions
6252         don't modify the GObject properties.
6253
6254 2007-06-06  Sebastian Dröge  <slomo@circular-chaos.org>
6255
6256         * libs/gst/controller/gstcontroller.c:
6257         (gst_controlled_property_set_interpolation_mode),
6258         (gst_controlled_property_prepend_default),
6259         (gst_controlled_property_new), (gst_controller_set_unlocked),
6260         (gst_controller_set), (gst_controller_set_from_list),
6261         (gst_controller_unset), (gst_controller_unset_all):
6262         * libs/gst/controller/gstcontrollerprivate.h:
6263         * libs/gst/controller/gstinterpolation.c:
6264         Factor out the 'set' logic into gst_controller_set_unlocked for the
6265         gst_controller_set and gst_controller_set_from_list functions.
6266
6267         To make life of the interpolators easier always add a control point
6268         at timestamp zero with the default value.
6269
6270         In the linear interpolator make things more obvious by better variable
6271         naming (slope).
6272
6273         Implement cubic interpolation mode (by using a natural cubic spline)
6274         and map the quadratic interpolation mode to this too (as quadratic
6275         doesn't make much sense, see discussion on the list).
6276
6277         * tests/check/libs/controller.c: (GST_START_TEST),
6278         (gst_controller_suite):
6279         Add unit test for the cubic interpolation mode and check everywhere
6280         if the interpolation mode could be set as expected.
6281
6282 2007-06-06  Tim-Philipp Müller  <tim at centricular dot net>
6283
6284         * gst/gstparamspecs.c: (gst_param_spec_fraction_get_type):
6285           Don't use GLib-2.10 functions, we still depend on
6286           GLib-how-old-is-it-again-2.8.
6287
6288 2007-06-06  Tim-Philipp Müller  <tim at centricular dot net>
6289
6290         * docs/gst/gstreamer-sections.txt:
6291         * gst/Makefile.am:
6292         * gst/gst.c:
6293         * gst/gst.h:
6294         * gst/gstparamspecs.c: (_gst_param_fraction_init),
6295         (_gst_param_fraction_set_default), (_gst_param_fraction_validate),
6296         (_gst_param_fraction_values_cmp),
6297         (gst_param_spec_fraction_get_type), (gst_param_spec_fraction):
6298         * gst/gstparamspecs.h:
6299         * gst/gstvalue.c:
6300         * tests/check/Makefile.am:
6301         * tests/check/gst/.cvsignore:
6302         * tests/check/gst/gstparamspecs.c: (gst_dummy_obj_base_init),
6303         (gst_dummy_obj_class_init), (gst_dummy_obj_init),
6304         (gst_dummy_obj_set_property), (gst_dummy_obj_get_property),
6305         (GST_START_TEST), (gst_param_spec_suite):
6306           API: add GstParamSpecFraction, so elements can have fraction
6307           properties without lots of painful string parsing (#444648).
6308
6309 2007-06-05  Wim Taymans  <wim@fluendo.com>
6310
6311         * gst/gstobject.c: (gst_object_class_init):
6312         Fix signal signature.
6313
6314         * gst/gstsegment.c:
6315         Add small clarification in the api docs.
6316
6317         * plugins/elements/gstfilesrc.c: (gst_file_src_set_location):
6318         States are protected with object lock.
6319
6320 2007-06-05  Jan Schmidt  <thaytan@mad.scientist.com>
6321
6322         * AUTHORS:
6323         I should probably be listed as an author by now.
6324
6325         * docs/random/release:
6326         Update the release doc
6327
6328 2007-06-05  Tim-Philipp Müller  <tim at centricular dot net>
6329
6330         * gst/gstvalue.c:
6331           Make docs for gst_value_compare() mention return enums that
6332           actually exist.
6333
6334 2007-06-05  Jan Schmidt  <thaytan@mad.scientist.com>
6335
6336         * configure.ac:
6337           Back to CVS
6338
6339 === release 0.10.13 ===
6340
6341 2007-06-05  Jan Schmidt <thaytan@mad.scientist.com>
6342
6343         * configure.ac:
6344           releasing 0.10.13, "With or without you"
6345
6346 2007-05-25  Wim Taymans  <wim@fluendo.com>
6347
6348         * gst/gstbin.c: (bin_handle_async_done):
6349         Make sure that the child bin stops after completing the async state
6350         change so that the parent can continue the state change to PLAYING.
6351         Fixes #441159.
6352
6353 2007-05-25  Wim Taymans  <wim@fluendo.com>
6354
6355         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
6356         (unref_data), (gst_collect_pads_remove_pad),
6357         (gst_collect_pads_check_pads):
6358         Use additional refcounting to avoid crashes when dynamically adding and
6359         removing pads. Fixes #420206.
6360
6361 2007-05-24  Wim Taymans  <wim@fluendo.com>
6362
6363         * tools/gst-launch.c: (event_loop):
6364         When buffering goes from a two digit to a single digit number, make sure
6365         to remove the old second digit by writing a blank over it.
6366
6367 2007-05-24  Tim-Philipp Müller  <tim at centricular dot net>
6368
6369         * libs/gst/base/gstdataqueue.c:
6370           Eliminate tabs and trailing comma in enum list; fix some typos.
6371
6372 2007-05-24  Wim Taymans  <wim@fluendo.com>
6373
6374         * tests/check/gst/gstbin.c: (GST_START_TEST):
6375         Allow refcount of 3 and 4 because some state thread might still be busy
6376         with it.
6377
6378 2007-05-24  Tim-Philipp Müller  <tim at centricular dot net>
6379
6380         * plugins/elements/Makefile.am:
6381         * plugins/elements/gstmultiqueue.h:
6382         * plugins/elements/gstqueue.h:
6383           These are not installed headers, no need for padding.
6384
6385 2007-05-24  Wim Taymans  <wim@fluendo.com>
6386
6387         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_get_state_func),
6388         (gst_bin_continue_func):
6389         Enable latency for next release.
6390         Restore STATE_LOCK around recalc_state that was left out during the
6391         rewrite and could result in racy behaviour when _get_state and
6392         recalc_state are run concurrently. See #440463.
6393
6394 2007-05-23  Wim Taymans  <wim@fluendo.com>
6395
6396         * tests/check/gst/gstsystemclock.c: (store_callback),
6397         (GST_START_TEST):
6398         Improve test_async_order to also work when both timers are already
6399         expired when we get scheduled to check it.
6400
6401 2007-05-22  Tim-Philipp Müller  <tim at centricular dot net>
6402
6403         * gst/gstbin.c: (gst_bin_init), (gst_bin_dispose),
6404         (gst_bin_set_property), (gst_bin_get_property),
6405         (gst_bin_remove_func), (gst_bin_handle_message_func):
6406         * gst/gstbin.h:
6407           'private' is a c++ keyword, let's not use that in header files,
6408           otherwise c++ compilers will throw a tantrum.
6409
6410 2007-05-22  Tim-Philipp Müller  <tim at centricular dot net>
6411
6412         * plugins/elements/gstelements.c:
6413         * plugins/elements/gstfilesink.c: (gst_file_sink_do_seek),
6414         (gst_file_sink_get_current_offset):
6415         * plugins/indexers/gstindexers.c: (plugin_init):
6416           Use #ifdef for HAVE_XYZ for consistency.
6417
6418         * tests/check/Makefile.am:
6419         * tests/check/elements/.cvsignore:
6420         * tests/check/elements/filesink.c: (setup_filesink),
6421         (cleanup_filesink), (GST_START_TEST), (filesink_suite):
6422           Add some unit tests for filesink.
6423
6424 2007-05-22  Tim-Philipp Müller  <tim at centricular dot net>
6425
6426         Patch by: Mark Nauwelaerts <manauw at skynet be>
6427
6428         * plugins/elements/gstfilesink.c: (gst_file_sink_open_file),
6429         (gst_file_sink_query), (gst_file_sink_do_seek),
6430         (gst_file_sink_get_current_offset), (gst_file_sink_render):
6431         * plugins/elements/gstfilesink.h:
6432           Fix position reporting; rename data_written member to current_pos to
6433           reflect its real meaning (fixes #412648).
6434
6435 2007-05-22  Edward Hervey  <edward@fluendo.com>
6436
6437         * docs/gst/gstreamer-sections.txt:
6438         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
6439         (gst_bin_dispose), (gst_bin_set_property), (gst_bin_get_property),
6440         (gst_bin_remove_func), (gst_bin_handle_message_func):
6441         * gst/gstbin.h:
6442         Add a property for bins that handle the state change of their childs.
6443         Fixes #435880
6444
6445 2007-05-22  Sebastian Dröge  <slomo@circular-chaos.org>
6446
6447         * libs/gst/controller/gstinterpolation.c:
6448         Use an array of the correct type when using _get_value_array with
6449         linear interpolation.
6450
6451 2007-05-22  Stefan Kost  <ensonic@users.sf.net>
6452
6453         * gst/gstelement.c (gst_element_requires_clock,
6454           gst_element_provides_clock, gst_element_request_pad,
6455           gst_element_class_set_details, gst_element_class_set_details_simple,
6456           gst_element_default_send_event, gst_element_abort_state,
6457           gst_element_continue_state, gst_element_set_state,
6458           gst_element_set_state_func, iterator_activate_fold_with_resync):
6459         * gst/gstpad.c (gst_pad_activate_pull, gst_pad_set_getcaps_function,
6460           gst_pad_fixate_caps, gst_pad_configure_sink, gst_pad_configure_src,
6461           gst_pad_query, gst_pad_save_thyself, handle_pad_block, gst_pad_push,
6462           gst_pad_get_range, gst_pad_pull_range):
6463         * gst/gstpad.h (GST_PAD_LINK_SUCCESSFUL, GST_FLOW_CUSTOM_SUCCESS,
6464           GST_FLOW_NOT_SUPPORTED, GST_FLOW_IS_FATAL, GstPadActivateFunction,
6465           GstPadActivateModeFunction, GstPadChainFunction,
6466           GstPadGetCapsFunction, GstPadAcceptCapsFunction,
6467           GstPadFixateCapsFunction, GstPadTemplate):
6468         * gst/gstpipeline.c (gst_pipeline_change_state,
6469           gst_pipeline_set_new_stream_time, gst_pipeline_use_clock,
6470           gst_pipeline_set_clock, gst_pipeline_auto_clock,
6471           gst_pipeline_get_delay):
6472           Whitespace and docs fixes.
6473
6474 2007-05-21  Sebastian Dröge  <slomo@circular-chaos.org>
6475
6476         * libs/gst/controller/gstinterpolation.c:
6477         (interpolate_trigger_get_enum_value_array),
6478         (interpolate_trigger_get_string_value_array):
6479         Add support for retrieving value arrays when using the trigger
6480         interpolation mode. 
6481
6482 2007-05-21  Sebastian Dröge  <slomo@circular-chaos.org>
6483
6484         * libs/gst/controller/gstcontroller.c:
6485         (gst_controller_get_value_array):
6486         * libs/gst/controller/gstcontroller.h:
6487         Clarify the docs of gst_controller_get_value_array(): The array where
6488         the values should be written to must be allocated as there seems to be
6489         no way to get the size of a random GType. This doesn't change any
6490         behaviour. Also fix some typos all over the place and remove an unused,
6491         commented function that is not necessary as g_object_set() could be
6492         used instead.
6493         * tests/check/libs/controller.c: (GST_START_TEST),
6494         (gst_controller_suite):
6495         Add unit test for gst_controller_get_value_array().
6496
6497 2007-05-21  Jan Schmidt  <thaytan@mad.scientist.com>
6498
6499         * tests/check/gst/gstbuffer.c: (GST_START_TEST):
6500
6501         Disable part of the gst_buffer_try_new_and_alloc test, because
6502         it can happily succeed on 64-bit systems where there's more address
6503         space available.
6504
6505 2007-05-21  Sebastian Dröge  <slomo@circular-chaos.org>
6506
6507         * tests/check/gst/gstpad.c: (GST_START_TEST), (gst_pad_suite):
6508         Add unit test for the improved caps checking from bug #421543.
6509
6510 2007-05-21  Wim Taymans  <wim@fluendo.com>
6511
6512         * docs/design/part-synchronisation.txt:
6513         Small addition.
6514
6515         * gst/gstbin.c: (gst_bin_query):
6516         * plugins/elements/gstqueue.c: (apply_segment):
6517         Improve debugging.
6518
6519         * gst/gstmessage.h:
6520         Improve docs.
6521
6522 2007-05-21  Wim Taymans  <wim@fluendo.com>
6523
6524         * gst/gstpad.c: (gst_pad_get_caps_unlocked),
6525         (gst_pad_acceptcaps_default), (gst_pad_configure_sink),
6526         (gst_pad_configure_src):
6527         Added simple version of improved caps checking. It was previously
6528         assumed that a setcaps function would check the validity of the caps but
6529         people prefer us to check caps against the template automatically. 
6530         Fixes #421543.
6531
6532 2007-05-21  Wim Taymans  <wim@fluendo.com>
6533
6534         * libs/gst/base/gstbasetransform.h:
6535         Fix macro for locking/unlocking the transform lock.
6536
6537 2007-05-19  Tim-Philipp Müller  <tim at centricular dot net>
6538
6539         * docs/plugins/tmpl/.cvsignore:
6540           Ignore more.
6541
6542 2007-05-18  Edward Hervey  <edward@fluendo.com>
6543
6544         * plugins/elements/gstqueue.c: (gst_queue_loop):
6545         Hello, I am Mr Taymans' personal debugger. Today I will introduce a fix
6546         for the subtle art of warning a potentially blocking thread that it
6547         should check the source pad return value, and relay the information
6548         upstream.
6549
6550 2007-05-18  Edward Hervey  <edward@fluendo.com>
6551
6552         * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event):
6553         Release the queue lock !
6554
6555 2007-05-17  Sebastian Dröge  <slomo@circular-chaos.org>
6556
6557         * docs/libs/gstreamer-libs-sections.txt:
6558         Add the two new controller functions to the appropiate places.
6559
6560 2007-05-17  Sebastian Dröge  <slomo@circular-chaos.org>
6561
6562         reviewed by: Stefan Kost <ensonic@users.sf.net>
6563
6564         * libs/gst/controller/gstcontroller.c:
6565         (gst_controller_suggest_next_sync), (gst_controller_sync_values),
6566         (_gst_controller_get_property), (_gst_controller_set_property),
6567         (_gst_controller_init), (_gst_controller_class_init):
6568         * libs/gst/controller/gstcontroller.h:
6569         * libs/gst/controller/gsthelper.c: (gst_object_suggest_next_sync),
6570         (gst_object_get_control_rate), (gst_object_set_control_rate):
6571         API: gst_controller_suggest_next_sync(), gst_object_suggest_next_sync()
6572         Add API that provides sync suggestion timestamps for elements that
6573         call gst_object_sync_values() from which those elements can subdivide
6574         their processing loop to get the best results for the controlled
6575         properties. For now it just suggests last_sync + control_rate as
6576         new timestamp but this will be improved in the future.
6577
6578         While doing that change the control-rate property to a GstClockTime
6579         from guint and change it's meaning from samples to nanoseconds as
6580         the GstController doesn't know anything about sampling rate. Strictly
6581         speaking this breaks ABI but as the control-rate property didn't do
6582         anything in the past and as such couldn't be used this should be no
6583         problem.        
6584
6585 2007-05-17  Sebastian Dröge  <slomo@circular-chaos.org>
6586
6587         reviewed by: Stefan Kost <ensonic@users.sf.net>
6588
6589         * libs/gst/controller/gstcontroller.c: (gst_controller_unset),
6590         (gst_controller_unset_all):
6591         * libs/gst/controller/gstcontrollerprivate.h:
6592         * libs/gst/controller/gstinterpolation.c:
6593         (gst_controlled_property_find_control_point_node):
6594         Save last synced value from the list to continue searching from there
6595         in future syncs. This speeds everything up a bit.
6596         
6597 2007-05-17  Sebastian Dröge  <slomo@circular-chaos.org>
6598
6599         reviewed by: Stefan Kost <ensonic@users.sf.net>
6600
6601         * libs/gst/controller/gstcontroller.c: (gst_control_point_compare),
6602         (gst_control_point_find), (gst_controlled_property_new),
6603         (gst_control_point_free), (gst_controlled_property_free),
6604         (gst_controller_set), (gst_controller_set_from_list),
6605         (gst_controller_unset), (gst_controller_unset_all),
6606         (gst_controller_sync_values):
6607         * libs/gst/controller/gstcontroller.h:
6608         * libs/gst/controller/gstcontrollerprivate.h:
6609         * libs/gst/controller/gstinterpolation.c:
6610         (gst_controlled_property_find_control_point_node),
6611         (interpolate_none_get), (interpolate_trigger_get):
6612         Add a new private GstControlPoint struct which "inherits" from
6613         GstTimedValue to allow different interpolators to store internal
6614         values next to each control point. From the outside everything is
6615         still a GstControlPoint so we don't loose binary compatibility.
6616         Also fixup all the GValue handling to not leak GValues or list nodes.
6617         * tests/check/libs/controller.c: (GST_START_TEST):
6618         Free the list nodes and GValues in the controller_misc test.
6619
6620 2007-05-17  Edward Hervey  <edward@fluendo.com>
6621
6622         * gst/gstsegment.c:
6623         Small doc fix.
6624
6625 2007-05-16  Tim-Philipp Müller  <tim at centricular dot net>
6626
6627         * gst/gstplugin.c: (gst_plugin_load_file):
6628           If we fail to load a plugin because of unresolved symbols or missing
6629           libraries and spew a warning to stderr, we may just as well mention
6630           which plugin it was that failed to load.
6631
6632 2007-05-13  David Schleef  <ds@schleef.org>
6633
6634         * docs/Makefile.am: the gtk-doc makefile snippet correctly
6635           handles the case when ENABLE_GTK_DOC is false, and installs
6636           the prebuilt documentation.  So gtk-doc subdirs are 
6637           unconditionally enabled.  Fixes: #349099.
6638
6639 2007-05-13  David Schleef  <ds@schleef.org>
6640
6641         * gst/gstutils.h: Reword some documentation.
6642
6643 2007-05-12  David Schleef  <ds@schleef.org>
6644
6645         * gst/gstplugin.c: gst_plugin_register_func() doesn't actually
6646           do anything with the passed "module" parameter, so remove it.
6647           Allows removal of additional vestigal code.
6648
6649 2007-05-12  David Schleef  <ds@schleef.org>
6650
6651         * gst/gstplugin.c:
6652           Using sigaction should depend on HAVE_SIGACTION, not HAVE_WIN32.
6653           Switch to using g_stat() because it's more portable.
6654
6655 2007-05-12  David Schleef  <ds@schleef.org>
6656
6657         * gst/gst.c:
6658           Add GST_DISABLE_OPTION_PARSING, in order to disable option
6659           parsing for embedded systems.
6660         * gst/gstelementfactory.c:
6661           Allow gst_element_register() to be called with plugin==NULL.
6662           Did nobody notice that static elements were broken?
6663
6664 2007-05-12  Wim Taymans  <wim@fluendo.com>
6665
6666         * tools/gst-launch.c: (event_loop):
6667         Give more interesting info when buffering starts and stops.
6668         Fix case where buffering starts but we fail to update the buffering flag
6669         because the target state is not PLAYING.
6670
6671 2007-05-12  Wim Taymans  <wim@fluendo.com>
6672
6673         * plugins/elements/gstqueue.c: (gst_queue_init),
6674         (gst_queue_finalize), (update_time_level), (apply_segment),
6675         (apply_buffer), (gst_queue_locked_flush),
6676         (gst_queue_locked_enqueue), (gst_queue_locked_dequeue),
6677         (gst_queue_handle_sink_event), (gst_queue_chain),
6678         (gst_queue_push_one), (gst_queue_loop):
6679         * plugins/elements/gstqueue.h:
6680         Refactor an cleanup queue a bit.
6681         Do better time level calculations that also work when the srcpad is not
6682         yet running.
6683         Remove some unneeded debug lines.
6684
6685         * tests/check/elements/queue.c: (GST_START_TEST), (queue_suite):
6686         Added testcase for time level measurement.
6687         Try to make some stuff more racefree.
6688
6689 2007-05-11  Tim-Philipp Müller  <tim at centricular dot net>
6690
6691         * gst/gsturi.c: (gst_element_make_from_uri):
6692           Don't leak plugin feature.
6693
6694         * tests/check/Makefile.am:
6695         * tests/check/gst/.cvsignore:
6696         * tests/check/gst/gsturi.c: (GST_START_TEST), (gst_uri_suite):
6697           Add brain-dead unit test.
6698
6699 2007-05-11  Tim-Philipp Müller  <tim at centricular dot net>
6700
6701         Patch by: Jeroen Wouters <woutersj at gmail com>
6702
6703         * gst/gsturi.c: (gst_uri_get_protocol), (search_by_entry):
6704           Treat protocol strings in a case-insensitive way (#437563).
6705
6706 2007-05-11  Michael Smith <msmith@fluendo.com>
6707
6708         * gst/gstplugin.c: (gst_plugin_load_file):
6709         * gst/gstregistry.c: (gst_registry_scan_path_level):
6710           Don't print a g_warning for any failure to load a shared object.
6711           Instead, push this down into gstplugin.c, and warn _only_ if we
6712           failed to open the module (i.e. failure to link).
6713           Avoids warnings on normal, working, non-plugin .so files.
6714
6715 2007-05-11  Stefan Kost  <ensonic@users.sf.net>
6716
6717         * gst/gstplugin.c (gst_plugin_load_file):
6718         * gst/gstregistry.c (GST_CAT_DEFAULT,
6719           gst_registry_lookup_feature_locked, gst_registry_scan_path_level):
6720           Print a g_warning if there was an error when loading a plugins during
6721           registry scan. The shuld help beginners starting with gst-plugin
6722           template.
6723
6724 2007-05-10  Wim Taymans  <wim@fluendo.com>
6725
6726         * plugins/elements/gstqueue.c: (gst_queue_class_init),
6727         (update_time_level), (gst_queue_locked_flush),
6728         (gst_queue_handle_sink_event), (gst_queue_chain),
6729         (gst_queue_push_one), (gst_queue_loop):
6730         * plugins/elements/gstqueue.h:
6731         Be smarter when calculating the current amount of data in the queue by
6732         measuring the difference between start and end timestamps (in running
6733         time) inside the queue. Fixes #432876.
6734         API: GstQueue::pushing to notify elements that we are pushing data again
6735         since the running signal is rather broken for this purpose.
6736
6737 2007-05-10  Stefan Kost  <ensonic@users.sf.net>
6738
6739         * plugins/elements/gstqueue.c (_do_init, gst_queue_signals,
6740           gst_queue_base_init, gst_queue_init):
6741           use GST_BOILERPLATE
6742
6743 2007-05-09  Sebastien Moutte  <sebastien@moutte.net>
6744
6745         * win32/common/libgstreamer.def:
6746         Add new exported functions.
6747         * win32/vs6/grammar.dsp:
6748         Use grammar pre-generated files.
6749
6750 2007-05-09  Tim-Philipp Müller  <tim at centricular dot net>
6751
6752         Based on patch by: Peter Kjellerstedt  <pkj at axis com>
6753
6754         * gst/Makefile.am:
6755         * gst/gstparse.c: (gst_parse_launchv), (gst_parse_launch):
6756         * gst/gstparse.h:
6757         * gst/gstutils.c: (gst_parse_bin_from_description):
6758         * gst/gstutils.h:
6759           Maintain API and ABI when --disable-parse is used. Now that
6760           we have an appropriate error code, we can just return NULL and the
6761           appropriate error when gst_parse_launch() is used despite it having
6762           been disabled (#342564).
6763
6764         * tests/check/Makefile.am:
6765         * tests/check/pipelines/.cvsignore:
6766         * tests/check/pipelines/parse-disabled.c:
6767           Make sure these functions exist and return NULL plus a GError when
6768           --disable-parse is used.
6769
6770 2007-05-09  Tim-Philipp Müller  <tim at centricular dot net>
6771
6772         * tests/benchmarks/complexity.c: (main):
6773         * tests/benchmarks/mass-elements.c: (main):
6774           Set a good example and don't leak messages.
6775
6776 2007-05-06  Stefan Kost  <ensonic@users.sf.net>
6777
6778         * docs/gst/Makefile.am:
6779         * docs/libs/Makefile.am:
6780           Correct fixxrefs options.
6781
6782         * docs/plugins/Makefile.am:
6783         * docs/plugins/gstreamer-plugins-docs.sgml:
6784         * docs/plugins/gstreamer-plugins-sections.txt:
6785         * plugins/elements/Makefile.am:
6786         * plugins/elements/gstcapsfilter.c (gst_capsfilter_details):
6787         * plugins/elements/gstcapsfilter.h (__GST_CAPSFILTER_H__,
6788           GST_TYPE_CAPSFILTER, GST_CAPSFILTER, GST_CAPSFILTER_CLASS,
6789           GST_IS_CAPSFILTER, GST_IS_CAPSFILTER_CLASS, GstCapsFilter,
6790           GstCapsFilterClass, _GstCapsFilter, trans, filter_caps,
6791           _GstCapsFilterClass, trans_class):
6792         * plugins/elements/gstelements.c (name, rank, type, _elements):
6793         * plugins/elements/gstidentity.c
6794           (gst_identity_check_imperfect_timestamp,
6795           gst_identity_check_imperfect_offset):
6796           Document capsfilter and add doc-blurb to identity.
6797
6798 2007-05-04  Tim-Philipp Müller  <tim at centricular dot net>
6799
6800         * libs/gst/controller/gstcontroller.c:
6801         (gst_controlled_property_set_interpolation_mode):
6802         * libs/gst/controller/gstinterpolation.c:
6803           Don't crash if someone tries to set an interpolation mode that
6804           is invalid or that isn't supported yet. Fixes #422295.
6805
6806         * tests/check/libs/controller.c: (GST_START_TEST),
6807         (gst_controller_suite):
6808           Add a test case for the above.
6809
6810 2007-05-03  Edward Hervey  <edward@fluendo.com>
6811
6812         * libs/gst/base/gstbasetransform.c: (gst_base_transform_chain):
6813         Properly set the last_stop position on GstSegment. This will only happen
6814         if there is a buffer to push out.
6815
6816 2007-05-03  Wim Taymans  <wim@fluendo.com>
6817
6818         * libs/gst/base/gstbasetransform.c:
6819         (gst_base_transform_buffer_alloc):
6820         always_in_place does not mean that the sink and source caps are the
6821         same! Make sure we don't blindly proxy the buffer_alloc in this case.
6822
6823 2007-05-03  Wim Taymans  <wim@fluendo.com>
6824
6825         * docs/libs/gstreamer-libs-sections.txt:
6826         * libs/gst/base/gstbasesrc.c: (gst_base_src_query_latency),
6827         (gst_base_src_default_query), (gst_base_src_get_range):
6828         * libs/gst/base/gstbasesrc.h:
6829         API: gst_base_src_query_latency(). Added method so that subclasses can
6830         easily get the latency values of the base source class.
6831
6832 2007-05-02  Zaheer Abbas Merali  <<zaheerabbas at merali dot org>>
6833
6834         * tools/gst-inspect.c (print_implementation_info):
6835         Remove 0.8 cruft.
6836
6837 2007-05-02  Tim-Philipp Müller  <tim at centricular dot net>
6838
6839         * tools/Makefile.am:
6840         * tools/gst-launch.1.in:
6841           Don't create a customised man page based on the host architecture,
6842           describe the default registry path generically. That way the man
6843           page is the same for all architectures and packagers have one
6844           multilib issue less to deal with. Fixes #434926.
6845
6846 2007-05-02  Wim Taymans  <wim@fluendo.com>
6847
6848         * gst/gstpad.c:
6849         Fix documentation as spotted by rg on IRC. 
6850
6851 2007-04-29  Stefan Kost  <ensonic@users.sf.net>
6852
6853         * gst/gstutils.c:
6854           Improve docs for gst_element_{link,unlink}.
6855
6856 2007-04-28  Tim-Philipp Müller  <tim at centricular dot net>
6857
6858         * docs/design/part-events.txt:
6859         * docs/design/part-overview.txt:
6860         * gst/gstevent.c:
6861         * gst/gsturi.c:
6862         * gst/gsturi.h:
6863         * libs/gst/base/gstbasesink.c:
6864           Typo fixes; minor docs addition.
6865
6866 2007-04-27  Sebastian Dröge  <slomo@circular-chaos.org>
6867
6868         * docs/gst/gstreamer-sections.txt:
6869         * gst/gsturi.c: (get_element_factories_from_uri_protocol),
6870         (gst_uri_protocol_is_supported), (gst_element_make_from_uri):
6871         * gst/gsturi.h:
6872         API: Add gst_uri_protocol_is_supported(), which checks if a sink
6873         or src that supports a given URI protocol exists.
6874
6875 2007-04-27  Sebastian Dröge  <slomo@circular-chaos.org>
6876
6877         * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
6878         * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
6879         Set the location to NULL if "file://" is set as URI. Otherwise
6880         some random previous URI would still be set if "file://" is
6881         set on an already used filesink/filesrc.
6882
6883 2007-04-27  Sebastian Dröge  <slomo@circular-chaos.org>
6884
6885         * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
6886         * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
6887         Special case the "file://" URI as as this is used by some
6888         applications to test with gst_element_make_from_uri if there's
6889         an element that supports the URI protocol.
6890         Also move the g_path_is_absolute() check for the location part
6891         of the URI to also check this for "file://localhost/bla" URIs.
6892
6893 2007-04-26  Tim-Philipp Müller  <tim at centricular dot net>
6894
6895         * docs/gst/gstreamer-sections.txt:
6896         * gst/gstbuffer.c: (gst_buffer_try_new_and_alloc):
6897         * gst/gstbuffer.h:
6898         * tests/check/gst/gstbuffer.c: (GST_START_TEST),
6899         (gst_buffer_suite):
6900           API: add gst_buffer_try_new_and_alloc() plus unit test (#431940).
6901
6902 2007-04-26  Stefan Kost  <ensonic@users.sf.net>
6903
6904         * gst/gstregistrybinary.c: (gst_registry_binary_write_cache),
6905         (gst_registry_binary_load_pad_template),
6906         (gst_registry_binary_load_plugin),
6907         (gst_registry_binary_read_cache):
6908         * gst/gstregistrybinary.h:
6909           Implement no-mmap alternative for registry reading. Do code cleanups.
6910           Add more comments about avoiding strdups for all text data. Comments
6911           welcome.
6912
6913 2007-04-25  Stefan Kost  <ensonic@users.sf.net>
6914
6915         * gst/gstregistrybinary.h (GstBinaryPluginElement,
6916           GstBinaryPluginFeature, _GstBinaryElementFactory, plugin_feature,
6917           GstBinaryElementFactory, _GstBinaryTypeFindFactory, plugin_feature):
6918           Comment structs and reformat to fix the build (that stuff should go
6919           into a priv. header).
6920
6921 2007-04-25  Stefan Kost  <ensonic@users.sf.net>
6922
6923         * gst/gstregistrybinary.c: (gst_registry_binary_save_feature),
6924         (gst_registry_binary_load_feature):
6925         * gst/gstregistrybinary.h:
6926           Refactor so that we can implement multiple features. Add support for
6927           TypeFindFactory features.
6928
6929 2007-04-24  Stefan Kost  <ensonic@users.sf.net>
6930
6931         Patch by: Peter Kjellerstedt <Peter.Kjellerstedt@axis.com>
6932
6933         * configure.ac:
6934           Fix AM_CONDITIONAL(GST_DISABLE_GST_DEBUG,...) and update comment.
6935
6936 2007-04-23  Stefan Kost  <ensonic@users.sf.net>
6937
6938         * gst/gstbin.c: (gst_bin_element_set_state),
6939         (iterator_activate_fold_with_resync), (gst_bin_continue_func),
6940         (bin_handle_async_done), (gst_bin_handle_message_func):
6941           Fix build with --gst-disable-gst-debug
6942
6943 2007-04-21  Tim-Philipp Müller  <tim at centricular dot net>
6944
6945         * libs/gst/base/gstbasetransform.c: (gst_base_transform_activate):
6946           Make sure streaming has finished before calling the ::stop() vfunc,
6947           since that vfunc might clear state which is being used in the
6948           streaming thread. This fixes a race that caused crashes in
6949           audioresample when shutting down a pipeline (#420106).
6950
6951 2007-04-20  Stefan Kost  <ensonic@users.sf.net>
6952
6953         * docs/gst/gstreamer-sections.txt:
6954           That was one byte missing.
6955
6956 2007-04-20  Stefan Kost  <ensonic@users.sf.net>
6957
6958         * configure.ac:
6959         * docs/gst/gstreamer-sections.txt:
6960         * gst/Makefile.am:
6961         * gst/gstconfig.h.in:
6962         * gst/gstobject.c: (gst_object_class_init),
6963         (gst_signal_object_class_init):
6964         * gst/gstobject.h:
6965           2nd attempt to have a xml-less build as a joined effort of #413123
6966           and #421480.
6967
6968 2007-04-20  Stefan Kost  <ensonic@users.sf.net>
6969
6970         * docs/design/draft-tagreading.txt:
6971           Added open issues/thoughts to draft.
6972
6973 2007-04-19  Sebastian Dröge  <slomo@circular-chaos.org>
6974
6975         * gst/parse/grammar.tab.pre.c:
6976         * gst/parse/grammar.tab.pre.h:
6977         * gst/parse/lex._gst_parse_yy.pre.c:
6978         Update the prebuild parser sources.
6979
6980 2007-04-19  Sebastian Dröge  <slomo@circular-chaos.org>
6981
6982         * gst/parse/Makefile.am:
6983         And now fix the building of the flex sources. Now everything should
6984         work as expected.
6985
6986 2007-04-19  Sebastian Dröge  <slomo@circular-chaos.org>
6987
6988         * gst/parse/Makefile.am:
6989         Now hopefully fix the build failures by setting proper rule
6990         dependencies and moving instead of copying.
6991
6992 2007-04-19  Stefan Kost  <ensonic@users.sf.net>
6993
6994         * tests/benchmarks/complexity.gnuplot:
6995         * tests/benchmarks/complexity.scm:
6996         * tests/benchmarks/mass-elements.gnuplot:
6997         * tests/benchmarks/mass-elements.scm:
6998           Total licensification.
6999
7000 2007-04-19  Stefan Kost  <ensonic@users.sf.net>
7001
7002         * gst/parse/Makefile.am:
7003           Fix the build by correcting the rule that gave wrong files to flex.
7004
7005 2007-04-19  Stefan Kost  <ensonic@users.sf.net>
7006
7007         * tests/benchmarks/complexity.c:
7008         * tests/benchmarks/mass-elements.c:
7009           Change licence to LGPL as granted by Benjamin and Andy.
7010
7011 2007-04-19  Sebastian Dröge  <slomo@circular-chaos.org>
7012
7013         * gst/parse/Makefile.am:
7014         Add correct grammar.tab.h dependency if compiling without new enough
7015         flex. Fixes #431150.
7016
7017 2007-04-18  Sebastian Dröge  <slomo@circular-chaos.org>
7018
7019         * gst/parse/Makefile.am:
7020         Fix typo and use outdated sources if the flex/bison sources are newer
7021         than the pregenerated ones but flex is too old. Print a warning in
7022         that case. This should fix the build on the build bot.
7023
7024 2007-04-18  Sebastian Dröge  <slomo@circular-chaos.org>
7025
7026         Patch by: Marc-Andre Lureau <marcandre dot lureau at gmail dot com>
7027         * gst/parse/Makefile.am:
7028         * gst/parse/grammar.y:
7029         * gst/parse/parse.l:
7030         Make the parser reentrant and recursively callable. This requires flex
7031         >= 2.5.31, for older versions pregenerated sources are used as we
7032         can't bump the build dependency. Finally fixes #349180.
7033
7034         * gst/gstparse.c: (gst_parse_launch):
7035         Drop the HAVE_MT_SAVE_FLEX #ifdefs as we always use a new enough flex
7036         now anyway.
7037
7038         * docs/gst/Makefile.am:
7039         * docs/gst/Makefile.am:
7040         * gst/parse/grammar.tab.pre.c: (__gst_parse_strdup),
7041         (__gst_parse_strfree), (__gst_parse_link_new),
7042         (__gst_parse_link_free), (__gst_parse_chain_new),
7043         (__gst_parse_chain_free), (SET_ERROR), (YYPRINTF),
7044         (gst_parse_element_set), (gst_parse_free_link),
7045         (gst_parse_found_pad), (gst_parse_perform_delayed_link),
7046         (gst_parse_perform_link), (yytnamerr), (yysyntax_error), (yyerror),
7047         (_gst_parse_launch):
7048         * gst/parse/grammar.tab.pre.h:
7049         * gst/parse/lex._gst_parse_yy.pre.c: (PRINT), (yy_get_next_buffer),
7050         (yy_get_previous_state), (yy_try_NUL_trans), (input),
7051         (_gst_parse_yyrestart), (_gst_parse_yy_switch_to_buffer),
7052         (_gst_parse_yy_load_buffer_state), (_gst_parse_yy_create_buffer),
7053         (_gst_parse_yy_delete_buffer), (_gst_parse_yy_init_buffer),
7054         (_gst_parse_yy_flush_buffer), (_gst_parse_yypush_buffer_state),
7055         (_gst_parse_yypop_buffer_state),
7056         (_gst_parse_yyensure_buffer_stack), (_gst_parse_yy_scan_buffer),
7057         (_gst_parse_yy_scan_string), (_gst_parse_yy_scan_bytes),
7058         (yy_fatal_error), (_gst_parse_yyget_extra),
7059         (_gst_parse_yyget_lineno), (_gst_parse_yyget_column),
7060         (_gst_parse_yyget_in), (_gst_parse_yyget_out),
7061         (_gst_parse_yyget_leng), (_gst_parse_yyget_text),
7062         (_gst_parse_yyset_extra), (_gst_parse_yyset_lineno),
7063         (_gst_parse_yyset_column), (_gst_parse_yyset_in),
7064         (_gst_parse_yyset_out), (_gst_parse_yyget_debug),
7065         (_gst_parse_yyset_debug), (_gst_parse_yyget_lval),
7066         (_gst_parse_yyset_lval), (_gst_parse_yylex_init),
7067         (yy_init_globals), (_gst_parse_yylex_destroy), (yy_flex_strncpy),
7068         (yy_flex_strlen), (_gst_parse_yyalloc), (_gst_parse_yyrealloc),
7069         (_gst_parse_yyfree):
7070         If the installed flex version is too old use pre-generated parser
7071         sources. These pre-generated parser sources are always updated when
7072         the actual flex/bison sources change but require everybody who wants
7073         to change something in the parser to have flex >= 2.5.31 installed.
7074
7075 2007-04-18  Stefan Kost  <ensonic@users.sf.net>
7076
7077         * common/m4/gst-gettext.m4:
7078         * gst/gst-i18n-lib.h:
7079           Make --disable-nls to work
7080
7081 2007-04-17  Wim Taymans  <wim@fluendo.com>
7082
7083         * gst/gstconfig.h.in:
7084         Revert previous change that broke the build.
7085
7086 2007-04-17  Stefan Kost  <ensonic@users.sf.net>
7087
7088         * configure.ac:
7089         * gst/Makefile.am:
7090         * gst/gstconfig.h.in:
7091           Drop libxml2 dependency when building with 
7092           --enable-binary-registry --disable-loadsave
7093
7094 2007-04-16  Tim-Philipp Müller  <tim at centricular dot net>
7095
7096         * gst/gstregistrybinary.c: (gst_registry_binary_write_cache),
7097         (gst_registry_binary_read_cache):
7098         * gst/gstregistrybinary.h:
7099           Remove unnecessary <sys/mman.h> include which broke the win32 build
7100           with MingW; move includes from header file to .c file, even if the
7101           header file isn't installed; use g_strerror() where UTF-8 strings
7102           are expected, such as in GST_DEBUG messages.
7103
7104 2007-04-13  Jan Schmidt  <thaytan@mad.scientist.com>
7105
7106         * docs/libs/gstreamer-libs-sections.txt:
7107         Remove bogus addition for API I didn't end up keeping.
7108
7109         * libs/gst/base/gstbasesrc.h:
7110         Mention Since: 0.10.13 in the documentation.
7111
7112         Add the API keyword to the previous ChangeLog entry.
7113
7114 2007-04-13  Jan Schmidt  <thaytan@mad.scientist.com>
7115
7116         * docs/libs/gstreamer-libs-sections.txt:
7117         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
7118         (gst_base_src_default_prepare_seek_segment),
7119         (gst_base_src_prepare_seek_segment), (gst_base_src_perform_seek):
7120         * libs/gst/base/gstbasesrc.h:
7121         Allow basesrc derived classes to execute seeks in other formats
7122         by providing a prepare_seek_segment vmethod. Sub-classes can choose
7123         to prepare the GstSegment in any format that their perform_seek method
7124         will be able to understand. The default implementation provides the
7125         old behaviour of attempting to convert the seek offsets to the 
7126         configured native format.
7127
7128         API: basesrc::prepare_seek_segment vmethod.
7129
7130 2007-04-13  Jan Schmidt  <thaytan@mad.scientist.com>
7131
7132         * gst/gstelement.c: (gst_element_get_state_func):
7133         Don't output the same debug statement twice.
7134
7135         * libs/gst/base/gstadapter.c: (gst_adapter_try_to_merge_up),
7136         (gst_adapter_peek), (gst_adapter_take_buffer):
7137         Optimise the case where we have buffers at the head of the queue that
7138         can be joined quickly (because they're contiguous sub-buffers) by
7139         merging them together rather than copying data out into new memory.
7140
7141         * gst/parse/grammar.y:
7142         * tests/check/pipelines/parse-launch.c:
7143         Fix a leak in an error path for parse_launch, and add a check 
7144         for it to the testsuite.
7145
7146 2007-04-13  Jan Schmidt  <thaytan@mad.scientist.com>
7147
7148         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_release_pad):
7149           Don't deadlock when releasing a pad - gst_pad_set_active may try
7150           and take the multiqueue lock too.
7151
7152 2007-04-12  Tim-Philipp Müller  <tim at centricular dot net>
7153
7154         * gst/gsterror.c: (_gst_core_errors_init):
7155         * gst/gsterror.h:
7156           API: add GST_CORE_ERROR_DISABLED (#392804).
7157
7158 2007-04-12  Thomas Vander Stichele  <thomas at apestaart dot org>
7159
7160         * docs/faq/gst-uninstalled:
7161           don't get empty paths on the PATH variables
7162         * gst/gstpad.c (gst_pad_is_active, gst_pad_set_blocked_async):
7163           Don't format for the uncommon terminal width of 84 characters.
7164
7165 2007-04-06  Wim Taymans  <wim@fluendo.com>
7166
7167         * gst/gstpipeline.c: (reset_stream_time),
7168         (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time):
7169         Only try to select a different pipeline clock when we went back to
7170         PAUSED and not when we merely got flushed.
7171
7172 2007-04-05  Michael Smith  <msmith@fluendo.com>
7173
7174         * tools/gst-launch.1.in:
7175           fractions are better supported in gstreamer than ractions, so
7176           suggest using those.
7177
7178 2007-04-05  Thomas Vander Stichele  <thomas at apestaart dot org>
7179
7180         Submitted by: Mogens Jaeger <mogens@jaeger.tf>
7181
7182         * po/LINGUAS:
7183         * po/da.po:
7184           Added Danish translation.
7185
7186 2007-04-05  Wim Taymans  <wim@fluendo.com>
7187
7188         * libs/gst/base/gstbasesink.c:
7189         (gst_base_sink_queue_object_unlocked), (gst_base_sink_event):
7190         Fix leak caused when refusing newsegment after EOS.
7191
7192         * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init),
7193         (gst_fake_sink_init), (gst_fake_sink_set_property),
7194         (gst_fake_sink_get_property), (gst_fake_sink_preroll),
7195         (gst_fake_sink_render), (gst_fake_sink_change_state):
7196         * plugins/elements/gstfakesink.h:
7197         Add num-buffers property to make the element generate EOS after a
7198         configurable amount of buffers.
7199         API: fakesink::num-buffers property.
7200
7201         * tests/check/elements/fakesink.c: (GST_START_TEST),
7202         (fakesink_suite):
7203         Fix GstBus leak in test.
7204         Test for fakesink num-buffers.
7205
7206 2007-04-05  Wim Taymans  <wim@fluendo.com>
7207
7208         * libs/gst/base/gstbasesink.c:
7209         (gst_base_sink_queue_object_unlocked), (gst_base_sink_event),
7210         (gst_base_sink_change_state):
7211         Don't accept anything after an EOS, return UNEXPECTED instead.
7212
7213         * tests/check/elements/fakesink.c: (GST_START_TEST),
7214         (fakesink_suite):
7215         Unit test for new EOS behaviour.
7216
7217 2007-04-05  Wim Taymans  <wim@fluendo.com>
7218
7219         * gst/gstelement.c: (gst_element_get_request_pad):
7220         Make padtemplates also work when they don't contain %s or %d.
7221
7222 2007-04-05  Wim Taymans  <wim@fluendo.com>
7223
7224         * docs/gst/gstreamer-sections.txt:
7225         * gst/gstclock.c: (gst_clock_adjust_unlocked),
7226         (gst_clock_unadjust_unlocked), (gst_clock_set_calibration):
7227         * gst/gstclock.h:
7228         Improve _adjust_unlocked() so that it overflows less.
7229         Add gst_clock_unadjust_unlocked to convert from external time to
7230         internal time based on calibration.
7231         Add some more debug.
7232         API: GstClock::gst_clock_unadjust_unlocked()
7233
7234 2007-04-03  Wim Taymans  <wim@fluendo.com>
7235
7236         Patch by: Tommi Myöhänen <ext-tommi dot myohanen at nokia dot com>
7237
7238         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_release_pad):
7239         Deactivate pads and free GstSingleQueue with gst_single_queue_free()
7240         when releasing sink pad. Fixes #425400.
7241
7242 2007-04-02  Stefan Kost  <ensonic@users.sf.net>
7243
7244         * docs/random/ensonic/dynlink.txt:
7245           More work on proposal for new core api.
7246
7247         * docs/libs/gstreamer-libs-sections.txt:
7248         * libs/gst/base/gstbasetransform.h:
7249           API: GST_BASE_TRANSFORM_LOCK/UNLOCK added
7250           
7251         * libs/gst/controller/gstcontroller.c:
7252         (on_object_controlled_property_changed),
7253         (gst_controller_sync_values),
7254         (gst_controller_set_interpolation_mode):
7255         * libs/gst/controller/gstcontroller.h:
7256           Less verbose logging add docs for unimplemented parts and correctly
7257           return when using unavailable parts.
7258
7259 2007-03-29  Jan Schmidt  <thaytan@mad.scientist.com>
7260
7261         * gst/gstclock.c: (gst_clock_set_master), (do_linear_regression):
7262         Move all the debug to the CLOCK category, and associate it with
7263         the clock object.
7264
7265 2007-03-29  Jan Schmidt  <thaytan@mad.scientist.com>
7266
7267         * libs/gst/base/gstadapter.c: (gst_adapter_take_buffer):
7268         Make take_buffer a bit quicker by removing redundant checks
7269         caused by calling gst_adapter_take.
7270
7271 2007-03-28  Tim-Philipp Müller  <tim at centricular dot net>
7272
7273         * plugins/elements/gstmultiqueue.c: (gst_single_queue_free):
7274           Don't leak GCond.
7275
7276         * tests/check/Makefile.am:
7277         * tests/check/elements/.cvsignore:
7278         * tests/check/elements/multiqueue.c: (setup_multiqueue),
7279         (GST_START_TEST), (multiqueue_suite):
7280           Add some dead simple unit tests for the 'multiqueue' element
7281           (some bits don't work yet and are disabled for now).
7282
7283 2007-03-28  Tim-Philipp Müller  <tim at centricular dot net>
7284
7285         * gst/gstelement.c: (gst_element_get_request_pad),
7286         (gst_element_class_get_request_pad_template):
7287           Make gst_element_get_request_pad() create request pads only for
7288           request pad templates and not for, say, sometimes pad templates.
7289
7290 2007-03-28  Stefan Kost  <ensonic@users.sf.net>
7291
7292         * docs/design/draft-klass.txt:
7293           Add example that needs more thinking.
7294         
7295         * docs/design/draft-missing-plugins.txt:
7296           More thoughts about wrapper plugins.
7297         
7298         * docs/random/ensonic/embedded.txt:
7299         * docs/random/ensonic/profiling.txt:
7300           More design work.
7301
7302 2007-03-25  Wim Taymans  <wim@fluendo.com>
7303
7304         * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range),
7305         (gst_base_src_loop):
7306         Only push the segment events in the PLAYING state for live sources.
7307
7308 2007-03-23  Jan Schmidt  <thaytan@mad.scientist.com>
7309
7310         * gst/gstpipeline.c: (gst_pipeline_change_state):
7311         Modify the clock distribution path in PAUSED->PLAYING so that we 
7312         never attempt to choose a new clock unless we're actually leaving
7313         the PAUSED state for the first time. This prevents choosing a
7314         different clock when the state_change gets called for a 2nd time due
7315         to some element doing an async state change.
7316
7317 2007-03-22  Sebastian Dröge  <slomo@circular-chaos.org>
7318
7319         * gst/gstpad.c: (gst_pad_set_caps), (gst_pad_configure_sink),
7320         (gst_pad_configure_src), (gst_pad_alloc_buffer_full),
7321         (gst_pad_chain_unchecked), (gst_pad_push):
7322         Revert last commit. This needs some more thoughts.
7323
7324 2007-03-22  Sebastian Dröge  <slomo@circular-chaos.org>
7325
7326         * gst/gstpad.c: (gst_pad_set_caps), (gst_pad_alloc_buffer_full),
7327         (gst_pad_chain_unchecked), (gst_pad_push):
7328         Check in set_caps if the caps are compatible with the pad and remove
7329         two functions that are redundant now. Fixes #421543.
7330
7331 2007-03-22  Wim Taymans  <wim@fluendo.com>
7332
7333         * tests/check/gst/gstsystemclock.c: (GST_START_TEST),
7334         (mixed_thread), (mixed_async_cb), (gst_systemclock_suite):
7335         Unref some more to make valgrind happy.
7336
7337 2007-03-22  Wim Taymans  <wim@fluendo.com>
7338
7339         * gst/gstsystemclock.c: (gst_system_clock_id_wait_jitter_unlocked),
7340         (gst_system_clock_id_wait_jitter),
7341         (gst_system_clock_id_wait_async), (gst_system_clock_id_unschedule):
7342         Fix anoying regression that survived a few releases. When adding an
7343         async entry while blocking on a sync entry, the sync entry will unblock
7344         but still be busy, so it should continue to wait instead of returning
7345         _BUSY to the app.
7346         Add some comments here and there.
7347
7348         * tests/check/gst/gstsystemclock.c: (mixed_thread),
7349         (mixed_async_cb), (GST_START_TEST), (gst_systemclock_suite):
7350         Add testcase for this.
7351
7352 2007-03-22  Wim Taymans  <wim@fluendo.com>
7353
7354         * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range):
7355         Handle errors from the clock sync better, only UNSCHEDULED indicates a
7356         WRONG_STATE and can silently pause the task. All other cases should
7357         error out.
7358
7359 2007-03-22  Wim Taymans  <wim@fluendo.com>
7360
7361         Patch by: Ville Syrjala <syrjala at sci dot fi>
7362
7363         * gst/gstpad.c: (gst_pad_alloc_buffer_full), (gst_pad_send_event):
7364         Fix possible deadlock if pad eventfunc is not specified.  Fixes #421177.
7365         Improve debugging.
7366
7367 2007-03-21  Michael Smith  <msmith@fluendo.com>
7368
7369         * docs/pwg/advanced-types.xml:
7370           Fix some errors in the typefinding docs pointed out on irc.
7371
7372 2007-03-21  Jan Schmidt  <thaytan@mad.scientist.com>
7373
7374         * libs/gst/base/gstbasesrc.c:
7375         Clarify FIXME comment in the face of having added unlock_stop()
7376
7377 2007-03-21  Wim Taymans  <wim@fluendo.com>
7378
7379         * gst/gstbin.c: (gst_bin_get_type), (gst_bin_element_set_state):
7380         Prepare for release where we warn against possible app breakage in the
7381         case of live pipelines along with an env var to enable/disable live
7382         preroll mode (GST_COMPAT=[no-]live-preroll).
7383
7384 2007-03-20  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
7385
7386         * plugins/elements/gstidentity.c (gst_identity_check_imperfect_offset):
7387         So we should use correct constants for checking for None offset.
7388
7389 2007-03-20  Wim Taymans  <wim@fluendo.com>
7390
7391         * docs/design/part-block.txt:
7392         Mention the fact that the newly switched element should be set to at
7393         least PAUSED.
7394
7395 2007-03-20  Wim Taymans  <wim@fluendo.com>
7396
7397         * gst/gst.c:
7398         Fix compilation with registry disabled as spotted by Saur.
7399
7400 2007-03-20  Wim Taymans  <wim@fluendo.com>
7401
7402         Patch by: Olivier Crete <tester at tester dot ca>
7403
7404         * gst/gstelement.c: (gst_element_sync_state_with_parent):
7405         Look at the pending state too when syncing the element state to the
7406         parent. Fixes #420133.
7407
7408 2007-03-19  Jan Schmidt  <thaytan@mad.scientist.com>
7409
7410         * libs/gst/base/gstbasesink.c: (gst_base_sink_set_flushing),
7411         (gst_base_sink_change_state):
7412         * libs/gst/base/gstbasesink.h:
7413         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
7414         (gst_base_src_default_event), (gst_base_src_unlock_stop),
7415         (gst_base_src_deactivate):
7416         * libs/gst/base/gstbasesrc.h:
7417         Add ::unlock_stop to basesrc and basesink. This allows an opportunity
7418         for sub-classes to correctly clear any state they set trying to
7419         unlock, such as clearing out unlock commands from a command fd.
7420         API: basesrc::unlock_stop
7421         API: basesink::unlock_stop
7422
7423         * plugins/elements/gstfdsink.c: (gst_fd_sink_class_init),
7424         (gst_fd_sink_render), (gst_fd_sink_unlock),
7425         (gst_fd_sink_unlock_stop):
7426         * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init),
7427         (gst_fd_src_init), (gst_fd_src_unlock), (gst_fd_src_unlock_stop),
7428         (gst_fd_src_create), (gst_fd_src_get_size), (gst_fd_src_do_seek):
7429
7430         Implement unlock_stop in fdsrc and fdsink.
7431         Implement seeking in fdsrc when a seekable fd is passed, as in
7432         gst-launch-0.10 fdsrc ! ... ! xvimagesink < /path/to/file
7433
7434 2007-03-19  Wim Taymans  <wim@fluendo.com>
7435
7436         Patch by: Evan Nemerson <evan at coeus dash group dot com>
7437
7438         * gst/gstelement.c: (gst_element_class_init):
7439         Fix pad-added and pad-removed signal signatures so that the pad type is
7440         stated as GST_TYPE_PAD instead of G_TYPE_OBJECT. Fixes #419851.
7441
7442 2007-03-19  Wim Taymans  <wim@fluendo.com>
7443
7444         * docs/gst/gstreamer-sections.txt:
7445         Add new element field and method.
7446
7447         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
7448         (bin_remove_messages), (gst_bin_add_func), (gst_bin_remove_func),
7449         (gst_bin_recalc_state), (gst_bin_get_state_func),
7450         (gst_bin_element_set_state), (gst_bin_change_state_func),
7451         (gst_bin_continue_func), (bin_bus_handler),
7452         (bin_push_state_continue), (bin_handle_async_start),
7453         (bin_handle_async_done), (gst_bin_handle_message_func):
7454         Make async state changes a bit smarter by using new ASYNC_START and
7455         ASYNC_DONE messages. This reduces the number of times we run the state
7456         recalculation thread.
7457         Don't change state of element with a pending ASYNC_START message.
7458         Deprecate STATE_DIRTY messages.
7459         
7460         * gst/gstelement.c: (gst_element_init), (gst_element_send_event),
7461         (gst_element_get_state_func), (gst_element_continue_state),
7462         (gst_element_lost_state), (gst_element_set_state_func),
7463         (gst_element_change_state):
7464         * gst/gstelement.h:
7465         Keep the state that was last set by the app in a new element field.
7466         Don't allow state changes when handling an element event.
7467         Post ASYNC_START and ASYNC_DONE messages.
7468         Change lost_state so that we go to PAUSED and wait for the parent to set
7469         us to PLAYING again (so latency calculation can be performed)
7470         Export gst_element_change_state() method so that subclasses can use it.
7471         API: gst_element_change_state()
7472         API: GST_STATE_TARGET
7473
7474         * gst/gstpipeline.c: (gst_pipeline_class_init),
7475         (reset_stream_time), (gst_pipeline_change_state),
7476         (gst_pipeline_handle_message), (gst_pipeline_set_new_stream_time):
7477         Using the new ASYNC_START message we can reset the base_time when
7478         needed. This can then be used to implement base_time redistribution in
7479         flushing seeks so that we can remove the explicit seek handling.
7480         Perform latency query and configuration when going to PLAYING.
7481
7482         * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
7483         (gst_base_sink_query), (gst_base_sink_change_state):
7484         Post new ASYNC_START/ASYNC_DONE messages.
7485
7486         * tests/check/generic/sinks.c: (GST_START_TEST):
7487         Fix test because the bin will not set the async element to PLAYING right
7488         away.
7489
7490         * tests/check/gst/gstbin.c: (pop_async_done), (GST_START_TEST):
7491         Make the message check a little stronger.
7492         Handle ASYNC messages.
7493
7494         * tests/check/pipelines/cleanup.c: (GST_START_TEST):
7495         * tests/check/pipelines/simple-launch-lines.c: (GST_START_TEST):
7496         Expect ASYNC_DONE messages.
7497
7498 2007-03-19  Wim Taymans  <wim@fluendo.com>
7499
7500         * docs/gst/gstreamer-sections.txt:
7501         * gst/gstmessage.c: (gst_message_new_async_start),
7502         (gst_message_new_async_done), (gst_message_parse_info),
7503         (gst_message_parse_async_start):
7504         * gst/gstmessage.h:
7505         Add ASYNC_START and ASYNC_DONE messages to prepare for latency
7506         support.
7507
7508 2007-03-15  Tim-Philipp Müller  <tim at centricular dot net>
7509
7510         * tools/gst-inspect.c:
7511         (print_plugin_automatic_install_info_codecs):
7512           Now that we don't check for the 'Codec' keyword any longer in the
7513           klass, we shouldn't spew a warning if the klass isn't a decoder or
7514           encoder (since it might be a Source/Network, for example).
7515
7516 2007-03-14  Tim-Philipp Müller  <tim at centricular dot net>
7517
7518         * tools/gst-inspect.c:
7519         (print_plugin_automatic_install_info_codecs):
7520           Don't require decoder/demuxer/depayloader elements or
7521           encoder/muxer/paylader elements to have 'Codec' as part of their
7522           factory class string when introspecting a plugin's capabilities.
7523           draft-klass.txt mentions that it might be removed in future, and
7524           flump3dec doesn't have it as part of its class string, so chances
7525           are others might also not have it.
7526
7527 2007-03-14  Thomas Vander Stichele  <thomas at apestaart dot org>
7528
7529         * po/af.po:
7530         * po/az.po:
7531         * po/bg.po:
7532         * po/ca.po:
7533         * po/cs.po:
7534         * po/de.po:
7535         * po/en_GB.po:
7536         * po/fr.po:
7537         * po/it.po:
7538         * po/nb.po:
7539         * po/nl.po:
7540         * po/ru.po:
7541         * po/sq.po:
7542         * po/sr.po:
7543         * po/sv.po:
7544         * po/tr.po:
7545         * po/uk.po:
7546         * po/vi.po:
7547         * po/zh_CN.po:
7548         * po/zh_TW.po:
7549           Update translations from translation project
7550
7551 2007-03-14  Stefan Kost  <ensonic@users.sf.net>
7552
7553         * gst/gstchildproxy.c: (gst_child_proxy_get_property),
7554         (gst_child_proxy_set_property):
7555           Invert precondition check to be alike the ones in the mimiced gobject
7556           api.
7557
7558 2007-03-13  Stefan Kost  <ensonic@users.sf.net>
7559
7560         * docs/design/draft-tagreading.txt:
7561         * docs/random/ensonic/audiobaseclasses.txt:
7562           Do some Architect work.
7563
7564         * gst/gstobject.c: (gst_object_set_name):
7565           Add a WARNING.
7566
7567         * gst/gstpad.c:
7568           Add docs that point from gst_pad_get_range to gst_pad_pull_range
7569
7570 2007-03-12  Jan Schmidt  <thaytan@mad.scientist.com>
7571
7572         * gst/gstsystemclock.c: (gst_system_clock_init),
7573         (gst_system_clock_start_async), (gst_system_clock_id_wait_async):
7574         Defer starting the async system clock thread until the first async
7575         wait is scheduled. Fixes #414986.
7576
7577 2007-03-12  Tim-Philipp Müller  <tim at centricular dot net>
7578
7579         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_finalize),
7580         (gst_single_queue_free):
7581           Fix small leak (free GstSingleQueue structure too, not only contents).
7582
7583 2007-03-10  Sebastien Moutte  <sebastien@moutte.net>
7584
7585         * gst/gstbin.c:(gst_bin_add):
7586         Use GST_STR_NULL to prevent NULL pointer to be passed to GST_CAT_DEBUG.
7587         * win32/common/libgstbase.def:
7588         * win32/common/libgstreamer.def:
7589         Add new exported functions.
7590
7591 2007-03-09  Wim Taymans  <wim@fluendo.com>
7592
7593         * docs/plugins/gstreamer-plugins-sections.txt:
7594         Fix GstTee docs.
7595
7596 2007-03-09  Wim Taymans  <wim@fluendo.com>
7597
7598         * docs/gst/gstreamer-sections.txt:
7599         * gst/gstbuffer.c: (gst_buffer_copy_metadata), (_gst_buffer_copy):
7600         * gst/gstbuffer.h:
7601         Add metadata copy functions. Fixes #393099.
7602         API: gst_buffer_copy_metadata()
7603
7604         * gst/gstutils.c: (gst_buffer_stamp):
7605         * libs/gst/base/gstbasetransform.c:
7606         (gst_base_transform_prepare_output_buffer):
7607         Use new metadata copy functions.
7608
7609 2007-03-09  Thomas Vander Stichele  <thomas at apestaart dot org>
7610
7611         * plugins/elements/gstidentity.c: (gst_identity_class_init),
7612         (gst_identity_init), (gst_identity_check_perfect),
7613         (gst_identity_check_imperfect_timestamp),
7614         (gst_identity_check_imperfect_offset), (gst_identity_transform_ip),
7615         (gst_identity_set_property), (gst_identity_get_property):
7616         * plugins/elements/gstidentity.h:
7617         Separate out check-imperfect-timestamp and check-imperfect-offset.
7618         Put back check-perfect as it was to keep compatibility.
7619
7620 2007-03-09  Jan Schmidt  <thaytan@mad.scientist.com>
7621
7622         * gst/gstelement.c: (gst_element_dispose):
7623         There's no need to warn if VOID_PENDING is not NONE here, as
7624         long as the state is NULL it's ok, and that's checked immediately
7625         above.
7626
7627 2007-03-08  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
7628
7629         * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
7630         Fix check for perfect stream to ignore buffers with -1 
7631         offsets/offset ends when checking data contiguity.
7632
7633 2007-03-08  Wim Taymans  <wim@fluendo.com>
7634
7635         * tools/gst-launch.c: (event_loop):
7636         Print INFO messages.
7637
7638 2007-03-08  Wim Taymans  <wim@fluendo.com>
7639
7640         * libs/gst/base/gstbasetransform.c:
7641         (gst_base_transform_sink_eventfunc),
7642         (gst_base_transform_handle_buffer), (gst_base_transform_chain),
7643         (gst_base_transform_activate):
7644         * libs/gst/base/gstbasetransform.h:
7645         Add support for dropping buffers with custom GstFlowReturn.
7646         Set DISCONT flags on outgoing buffers based on QoS, incomming DISCONT
7647         buffers or dropped buffers.
7648
7649         * docs/libs/gstreamer-libs-sections.txt:
7650         docs for new custom return code.
7651
7652         * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
7653         Use drop support in base class to implement drop-probability.
7654
7655 2007-03-07  Tim-Philipp Müller  <tim at centricular dot net>
7656
7657         * gst/gst.c: (load_plugin_func):
7658         * gst/gstplugin.c: (gst_plugin_load_by_name), (gst_plugin_load):
7659         * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
7660         * gst/gsttrace.c: (gst_trace_new), (gst_alloc_trace_set_flags_all):
7661           Remove newlines at end of debug log strings.
7662
7663 2007-03-07  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
7664
7665         * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
7666         Only post bus message at max, once per buffer received.
7667
7668 2007-03-07  Wim Taymans  <wim@fluendo.com>
7669
7670         * docs/design/Makefile.am:
7671         * docs/design/part-synchronisation.txt:
7672         Add doc about synchronisation
7673
7674         * docs/design/draft-latency.txt:
7675         * docs/design/part-TODO.txt:
7676         * docs/design/part-clocks.txt:
7677         * docs/design/part-events.txt:
7678         * docs/design/part-gstbus.txt:
7679         * docs/design/part-gstpipeline.txt:
7680         * docs/design/part-live-source.txt:
7681         * docs/design/part-messages.txt:
7682         * docs/design/part-overview.txt:
7683         * docs/design/part-streams.txt:
7684         * docs/design/part-trickmodes.txt:
7685         Documentation updates.
7686
7687 2007-03-07  Jan Schmidt  <thaytan@mad.scientist.com>
7688
7689         * gstreamer.doap:
7690         Update the doap file.
7691
7692 2007-03-07  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
7693
7694         * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
7695         Rename non-perfect to imperfect for Mike and for the sanctity of the
7696         language.
7697         Also make sure bus message gets emitted for data-incontiguities.
7698
7699 2007-03-07  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
7700
7701         * plugins/elements/gstidentity.c: (gst_identity_check_perfect),
7702         (gst_identity_start):
7703         * plugins/elements/gstidentity.h:
7704         Emit bus message if check-perfect is true and we encounter a
7705         non-perfect stream between 2 consecutive buffers.
7706         Fixes #415394.
7707
7708 2007-03-07  Jan Schmidt  <thaytan@mad.scientist.com>
7709
7710         * configure.ac:
7711         Back to CVS
7712
7713 === release 0.10.12 ===
7714
7715 2007-03-07  Jan Schmidt <thaytan@mad.scientist.com>
7716
7717         * configure.ac:
7718           releasing 0.10.12, "Inevitable Demise"
7719
7720 2007-03-01  Jan Schmidt  <thaytan@mad.scientist.com>
7721
7722         * configure.ac:
7723          Version 0.10.11.2 (0.10.12 pre-release)
7724          Bump libtool versioning.
7725
7726 2007-03-01  Stefan Kost  <ensonic@users.sf.net>
7727
7728         * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
7729           Log flow-names and not numbers.
7730
7731 2007-02-28  Thomas Vander Stichele  <thomas at apestaart dot org>
7732
7733         * configure.ac:
7734           Convert to new AG_GST style.
7735
7736 2007-02-28  Wim Taymans  <wim@fluendo.com>
7737
7738         * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency):
7739         Don't unref query twice.
7740
7741 2007-02-28  Wim Taymans  <wim@fluendo.com>
7742
7743         * gst/gstvalue.c: (gst_value_transform_object_string),
7744         (_gst_value_initialize):
7745         Implement GstObject -> string transform so we print object names
7746         when serializing GValues containing GstObjects.
7747
7748 2007-02-28  Wim Taymans  <wim@fluendo.com>
7749
7750         * docs/gst/gstreamer-sections.txt:
7751         Add new stuff to docs.
7752
7753 2007-02-28  Wim Taymans  <wim@fluendo.com>
7754
7755         * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency),
7756         (gst_base_sink_queue_object_unlocked), (gst_base_sink_send_event),
7757         (gst_base_sink_change_state):
7758         Improve latency query code.
7759         Don't leak latency events.
7760
7761         * tests/check/gst/gstbin.c: (GST_START_TEST):
7762         Improve debugging.
7763
7764 2007-02-28  Wim Taymans  <wim@fluendo.com>
7765
7766         * gst/gstelement.c: (gst_element_message_full),
7767         (gst_element_get_state_func):
7768         * gst/gstelement.h:
7769         Improve docs a little. Added Since: for new macro.
7770
7771         * gst/gstobject.c: (gst_object_sink):
7772         * gst/gstpipeline.c: (gst_pipeline_change_state),
7773         (gst_pipeline_set_new_stream_time):
7774         * gst/gstpipeline.h:
7775         Improve debugging and docs.
7776
7777         * gst/gstutils.c: (gst_element_state_change_return_get_name):
7778         Improve debugging.
7779
7780 2007-02-28  Wim Taymans  <wim@fluendo.com>
7781
7782         * gst/gstelement.c: (gst_element_message_full),
7783         (gst_element_set_locked_state), (gst_element_get_state_func),
7784         (gst_element_change_state):
7785         Handle INFO messages from the GST_ELEMENT_INFO macro as well.
7786         Documentation updates.
7787         Small code cleanups.
7788
7789         * gst/gstmessage.c: (gst_message_new_info),
7790         (gst_message_parse_info):
7791         * gst/gstmessage.h:
7792         API: gst_message_new_info()
7793         API: gst_message_parse_info()
7794         Add INFO message create and parse code.
7795
7796 2007-02-28  Wim Taymans  <wim@fluendo.com>
7797
7798         * gst/gstbin.c: (bin_query_min_max_init), (bin_query_latency_fold),
7799         (bin_query_latency_done):
7800         Also report the live parameter of a latency query.
7801
7802 2007-02-28  Thomas Vander Stichele  <thomas at apestaart dot org>
7803
7804         * tests/check/generic/states.c: (GST_START_TEST), (states_suite):
7805           Copy the current generic/states example from -base and adapt so
7806           we can use the exact same code everywhere.
7807           Check a STATES_IGNORE_ELEMENTS env var which can be used
7808           to ignore certain element factories for this test, which is
7809           what is being done in -base
7810         * tests/check/Makefile.am:
7811           Mention this environment variable.
7812
7813 2007-02-27  Wim Taymans  <wim@fluendo.com>
7814
7815         * docs/gst/gstreamer-sections.txt:
7816         * gst/gstbus.c: (gst_bus_init), (gst_bus_dispose), (gst_bus_post),
7817         (gst_bus_timed_pop), (gst_bus_pop):
7818         * gst/gstbus.h:
7819         API: gst_bus_timed_pop()
7820         Implement gst_bus_timed_pop() to do a blocking timed wait for a
7821         message to arrive on the bus.
7822
7823         * tests/check/gst/gstbus.c: (GST_START_TEST), (pop_thread),
7824         (gst_bus_suite):
7825         Two unit tests for new _timed_pop() function.
7826
7827 2007-02-23  Wim Taymans  <wim@fluendo.com>
7828
7829         * gst/gstpipeline.c: (gst_pipeline_change_state),
7830         (gst_pipeline_provide_clock_func), (gst_pipeline_set_delay):
7831         Don't ref a NULL clock in _provide_clock_func().
7832         Don't allow an INVALID delay.
7833         Don't try to calculate base_time with an invalid start_time.
7834         Also distribute and notify a NULL clock when it was selected.
7835
7836         * tools/gst-launch.c: (event_loop):
7837         Don't crash when a NULL clock was selected in the pipeline.
7838
7839 2007-02-23  Tim-Philipp Müller  <tim at centricular dot net>
7840
7841         * docs/design/Makefile.am:
7842         * docs/design/draft-missing-plugins.txt:
7843         * docs/random/draft-missing-plugins.txt:
7844           Some small updates: update plugin system identifier prefix
7845           ('gstreamer.net' to 'gstreamer'), mention our new install
7846           API in libgstbaseutils rather than libgimme-codec, add
7847           reference to the online docs.
7848
7849 2007-02-21  Thomas Vander Stichele  <thomas at apestaart dot org>
7850
7851         * win32/common/config.h:
7852           Pretty sure Bill never made a powerpc version.  Powerpc hackers,
7853           use moap cl ci to only check in what is mentioned in the ChangeLog.
7854
7855 2007-02-21  Thomas Vander Stichele  <thomas at apestaart dot org>
7856
7857         * docs/gst/gstreamer-sections.txt:
7858         * gst/gstelement.h:
7859           Fix up documentation to link to the correct GstGError section.
7860           Add GST_ELEMENT_INFO macro since someone else added a Info message.
7861
7862 2007-02-21  Thomas Vander Stichele  <thomas at apestaart dot org>
7863
7864         * tools/gst-launch.c: (event_loop):
7865           Make sure that we actually show the important message part of a
7866           warning message.
7867           No need to check if the gerror is not NULL to free; first of all
7868           g_free accepts NULL; and second the default error handler would
7869           segfault if gerror was NULL.
7870
7871 2007-02-21  Wim Taymans  <wim@fluendo.com>
7872
7873         * docs/gst/gstreamer-sections.txt:
7874         Removed docs as well.
7875
7876 2007-02-21  Wim Taymans  <wim@fluendo.com>
7877
7878         * gst/gstmessage.c: (gst_message_parse_duration):
7879         * gst/gstmessage.h:
7880         Remove new messages for release.
7881
7882 2007-02-20  Wim Taymans  <wim@fluendo.com>
7883
7884         * docs/design/part-gstghostpad.txt:
7885         * gst/gstghostpad.c: (gst_ghost_pad_dispose),
7886         (gst_ghost_pad_new_full):
7887         Make the ghostpad a parent of the internal pad again for better backward
7888         compatibility. Don't write code that relies on this however.
7889
7890         * gst/gstpad.c: (gst_pad_activate_pull), (gst_pad_activate_push),
7891         (gst_pad_link_check_hierarchy):
7892         Require that parents should be GstElements in the hierarchy check.
7893
7894 2007-02-20  Wim Taymans  <wim@fluendo.com>
7895
7896         * gst/gstbin.c: (bin_replace_message), (gst_bin_add_func),
7897         (gst_bin_change_state_func), (bin_query_min_max_init),
7898         (bin_query_latency_fold), (bin_query_latency_done),
7899         (gst_bin_query):
7900         Improve debug info.
7901         Implement latency query.
7902
7903 2007-02-20  Wim Taymans  <wim@fluendo.com>
7904
7905         * docs/design/part-gstghostpad.txt:
7906         * gst/gstghostpad.c: (gst_ghost_pad_class_init),
7907         (gst_ghost_pad_internal_do_activate_push),
7908         (gst_ghost_pad_internal_do_activate_pull),
7909         (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
7910         (gst_ghost_pad_do_link), (gst_ghost_pad_dispose),
7911         (gst_ghost_pad_new_full), (gst_ghost_pad_set_target):
7912         Do not set the internal pad as a parent anymore so we can avoid
7913         hierarchy linking errors when the ghostpad has no parent yet. This also
7914         fixes failed activation because of unlinked internal pads, which in
7915         turn fixes the impossible case where you have to activate a pad before
7916         you can add it to a running element.
7917         Also fix the docs.
7918
7919         * gst/gstpad.c: (pre_activate), (post_activate),
7920         (gst_pad_set_active), (gst_pad_activate_pull),
7921         (gst_pad_activate_push), (gst_pad_check_pull_range):
7922         Add some more debug info.
7923         Mark activation mode in pre_activate so that we don't try to activate in
7924         endless loops. Fixes #385084.
7925
7926 2007-02-19  Wim Taymans  <wim@fluendo.com>
7927
7928         * libs/gst/base/gstbasetransform.c: (gst_base_transform_init),
7929         (gst_base_transform_check_get_range):
7930         Implement a checkgetrange function instead of relying on the default
7931         core behaviour that assumes we can operate in pull mode if we have a
7932         getrange function. First step at fixing #385084.
7933
7934 2007-02-15  Stefan Kost  <ensonic@users.sf.net>
7935
7936         * gst/gstchildproxy.h:
7937         * libs/gst/base/gstbasesink.h:
7938         * libs/gst/base/gstbasesrc.h:
7939         * libs/gst/base/gstbasetransform.h:
7940         More docs coverage and some ChangeLog surgery (add missing names)
7941
7942 2007-02-15  Wim Taymans  <wim@fluendo.com>
7943
7944         * docs/design/part-TODO.txt:
7945         * docs/design/part-activation.txt:
7946         * docs/design/part-block.txt:
7947         * docs/design/part-buffering.txt:
7948         * docs/design/part-clocks.txt:
7949         * docs/design/part-element-source.txt:
7950         * docs/design/part-events.txt:
7951         * docs/design/part-gstbin.txt:
7952         * docs/design/part-gstbus.txt:
7953         * docs/design/part-gstpipeline.txt:
7954         * docs/design/part-live-source.txt:
7955         * docs/design/part-messages.txt:
7956         * docs/design/part-overview.txt:
7957         * docs/design/part-qos.txt:
7958         * docs/design/part-query.txt:
7959         * docs/design/part-states.txt:
7960         * docs/design/part-trickmodes.txt:
7961         Some doc updates. Start renaming from stream_time to running_time where
7962         it was used wrongly.
7963
7964 2007-02-15  Wim Taymans  <wim@fluendo.com>
7965
7966         * libs/gst/base/gstbasesrc.c: (gst_base_src_default_query):
7967         Answer LATENCY query.
7968
7969 2007-02-15  Wim Taymans  <wim@fluendo.com>
7970
7971         * tests/check/gst/gstevent.c: (event_probe), (test_event),
7972         (GST_START_TEST):
7973         Improve debugging.
7974
7975 2007-02-15  Wim Taymans  <wim@fluendo.com>
7976
7977         * gst/gstpad.c: (gst_pad_get_internal_links_default),
7978         (gst_pad_dispatcher):
7979         Improve debugging of default pad dispatcher and query functions.
7980
7981 2007-02-15  Wim Taymans  <wim@fluendo.com>
7982
7983         * docs/gst/gstreamer-sections.txt:
7984         Remove old unused method.
7985
7986 2007-02-13  Wim Taymans  <wim@fluendo.com>
7987
7988         * tests/check/gst/gstsegment.c: (GST_START_TEST):
7989         Fix check
7990
7991 2007-02-13  Wim Taymans  <wim@fluendo.com>
7992
7993         * docs/design/part-seeking.txt:
7994         Some small update.
7995
7996         * gst/gstsegment.c: (gst_segment_set_seek):
7997         Revert old bogus change that should make seeking work again.
7998
7999 2007-02-13  Stefan Kost  <ensonic@users.sf.net>
8000
8001         * docs/random/ensonic/dynlink.txt:
8002         * docs/random/ensonic/interfaces.txt:
8003         * docs/random/ensonic/receipies.txt:
8004           Possible dynamic reconnection api, plus some type fixes the other two
8005           docs.
8006
8007 2007-02-13  Sebastian Dröge  <slomo@circular-chaos.org>
8008
8009         * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
8010         * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
8011         Also check for an absolute path following file:// in the filesrc
8012         element. Remove redundant check and call g_path_is_absolute() on the
8013         unescaped location.
8014
8015 2007-02-13  Stefan Kost  <ensonic@users.sf.net>
8016
8017         * docs/design/draft-klass.txt:
8018           Add existing category analysis.
8019           
8020         * gst/gstcaps.c:
8021           Fix doc example, framerate is a fraction.
8022
8023 2007-02-12  Stefan Kost  <ensonic@users.sf.net>
8024
8025         * configure.ac:
8026         * docs/gst/Makefile.am:
8027         * docs/gst/gstreamer-sections.txt:
8028         * docs/libs/Makefile.am:
8029           Erm, forgot a bunch of --extra-dir.
8030
8031 2007-02-12  Stefan Kost  <ensonic@users.sf.net>
8032
8033         * configure.ac:
8034         * docs/gst/Makefile.am:
8035         * docs/libs/Makefile.am:
8036         * docs/plugins/Makefile.am:
8037           Add crossreferences to glib/gobject docs.
8038
8039 2007-02-12  Wim Taymans  <wim@fluendo.com>
8040
8041         * docs/design/draft-latency.txt:
8042         Small update.
8043
8044         * docs/libs/gstreamer-libs-sections.txt:
8045         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
8046         (gst_base_sink_get_latency), (gst_base_sink_query_latency),
8047         (gst_base_sink_wait_clock), (gst_base_sink_send_qos),
8048         (gst_base_sink_perform_qos), (gst_base_sink_queue_object_unlocked),
8049         (gst_base_sink_chain_unlocked), (gst_base_sink_send_event),
8050         (gst_base_sink_get_position), (gst_base_sink_query),
8051         (gst_base_sink_change_state):
8052         * libs/gst/base/gstbasesink.h:
8053         API: gst_base_sink_query_latency() to let subclasses query the upstream
8054         latency.
8055         API: gst_base_sink_get_latency() to let subclasses query the configured
8056         latency in the sink.
8057         Implement query and set latency.
8058         Update some docs.
8059         As spotted by Will Newton <will dot newton at gmail dot com>: Make sure we
8060         don't continue preroll when we are flushing. Fixes #405284.
8061
8062         * tests/check/pipelines/stress.c: (change_state_timeout),
8063         (quit_timeout), (GST_START_TEST), (stress_suite):
8064         Test for #405284.
8065
8066 2007-02-09  Tim-Philipp Müller  <tim at centricular dot net>
8067
8068         Patch by: René Stadler <mail at renestadler de>
8069
8070         * docs/gst/gstreamer-sections.txt:
8071         * gst/gsttaglist.c: (_gst_tag_initialize):
8072         * gst/gsttaglist.h:
8073           API: add GST_TAG_REFERENCE_LEVEL (#403597).
8074
8075 2007-02-11  Stefan Kost  <ensonic@users.sf.net>
8076
8077         * docs/libs/Makefile.am:
8078           Fix path to core docs.
8079
8080         * gst/gstbin.c: (gst_bin_get_by_interface),
8081         (gst_bin_iterate_all_by_interface):
8082           Refix docs by also renaming 'interface' to 'iface' in implementation.
8083
8084         * docs/gst/gstreamer-sections.txt:
8085         * gst/gstcaps.c:
8086         * gst/gstchildproxy.c: (gst_child_proxy_base_init):
8087         * gst/gstchildproxy.h:
8088         * gst/gstelementfactory.c:
8089         * gst/gstpadtemplate.h:
8090         * libs/gst/controller/gstcontroller.c:
8091         (gst_controlled_property_new):
8092           Document more.
8093
8094 2007-02-10  Sébastien Moutte  <sebastien@moutte.net>
8095
8096         * gst/gstbin.h:(gst_bin_get_by_interface),
8097         (gst_bin_iterate_all_by_interface):
8098         Replace interface parameter name by iface as interface is 
8099         a reserved keyword in Visual Studio for C++ projects so it removes
8100         a build error for application developpers using VS.
8101         * plugins/elements/gstfilesrc.c:(gst_file_src_uri_set_uri):
8102         Fix a bug on Windows in uri format check. Now the prefix checked
8103         is file:// and next we check if the path after file:// is absolute.
8104         * win32/common/libgstbase.def:
8105         * win32/common/libgstdataprotocol.def:
8106         * win32/common/libgstgstreamer.def:
8107         Add new exported functions.
8108
8109 2007-02-09  Andy Wingo  <wingo@pobox.com>
8110
8111         * tests/check/pipelines/simple-launch-lines.c
8112         (simple_launch_lines_suite, test_tee): Disable tee test until I
8113         have time to fix it :-(
8114
8115         * tests/check/Makefile.am (noinst_HEADERS): 
8116         * tests/check/libs/libsabi.c: 
8117         * tests/check/libs/struct_ppc32.h: Add ABI checks for PPC32.
8118         * tests/check/gst/gstabi.c: 
8119         * tests/check/gst/struct_ppc32.h: Add ABI checks for PPC32.
8120
8121         * tests/check/pipelines/simple-launch-lines.c (test_tee): Add
8122         tests for push and pull tee behavior.
8123
8124         * plugins/elements/gsttee.h: 
8125         * plugins/elements/gsttee.c: Describe has-sink-loop better, and
8126         mark as deprecated as well as unimplemented. It was a crack idea.
8127         Add support for tee operating in pull mode, off by default.
8128
8129         * gst/gstregistryxml.c (load_feature, load_plugin): Drop some
8130         normal-case logs down to LOG, raise errors to WARNING.
8131         (gst_registry_xml_read_cache): Don't log before calling a function
8132         that logs.
8133
8134         * gst/gstregistry.c (gst_registry_finalize): Less debug on program
8135         exit (registry finalize).
8136         (gst_registry_add_plugin, gst_registry_add_feature): No need for a
8137         DEBUG log when we emit signals that people don't even have the
8138         chance to connect to.
8139         (gst_registry_scan_path_level): Less logging in the normal case.
8140
8141 2007-02-05  Sebastian Dröge  <slomo@circular-chaos.org>
8142
8143         Patch by: Michal Benes <michal dot benes at itonis dot tv>
8144
8145         * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
8146         Correctly generate EOS for non-seekable files. We don't have a total
8147         length for them and would get an unexpected end of file if we only
8148         special-cased for regular files. (Fixes: #404569)
8149
8150 2007-02-05  Sebastian Dröge  <slomo@circular-chaos.org>
8151
8152         * tests/check/elements/filesrc.c: (GST_START_TEST),
8153         (filesrc_suite):
8154         Add unit test for the GstURIHandler interface in filesrc. This also
8155         tests the newly added file://localhost/foo/bar support.
8156
8157 2007-02-04  Tim-Philipp Müller  <tim at centricular dot net>
8158
8159         * gst/gstelementfactory.h:
8160           The klass string is not a hierarchy. Add reference to the design doc
8161           for more information and common types.
8162
8163 2007-02-02  Wim Taymans  <wim@fluendo.com>
8164
8165         * gst/gstquery.c: (gst_query_new_latency):
8166         Remove old structure field.
8167
8168 2007-02-02  Stefan Kost  <ensonic@users.sf.net>
8169
8170         * tools/gst-launch.1.in:
8171           Give example for network streaming (#351998)
8172
8173 2007-02-02  Wim Taymans  <wim@fluendo.com>
8174
8175         * docs/gst/gstreamer-sections.txt:
8176         Add docs for new methods.
8177
8178         * gst/gstevent.c: (gst_event_new_latency),
8179         (gst_event_parse_latency):
8180         * gst/gstevent.h:
8181         Add new LATENCY event to configure latency in a pipeline.
8182         API: gst_event_new_latency
8183         API: gst_event_parse_latency
8184
8185         * gst/gstmessage.c: (gst_message_new_buffering),
8186         (gst_message_new_lost_preroll), (gst_message_new_prerolled),
8187         (gst_message_new_latency), (gst_message_parse_buffering),
8188         (gst_message_parse_lost_preroll):
8189         * gst/gstmessage.h:
8190         Added messages used in draft-latency.
8191         API: gst_message_new_lost_preroll
8192         API: gst_message_parse_lost_preroll
8193         API: gst_message_new_prerolled
8194         API: gst_message_new_latency
8195
8196         * gst/gstquery.c: (gst_query_new_latency), (gst_query_set_latency),
8197         (gst_query_parse_latency):
8198         * gst/gstquery.h:
8199         Implemented new latency query as in design doc.
8200         API: gst_query_new_latency
8201         API: gst_query_set_latency
8202         API: gst_query_parse_latency
8203
8204 2007-02-02  Wim Taymans  <wim@fluendo.com>
8205
8206         * docs/design/draft-latency.txt:
8207         Slight redesign to allow for dynamic latency adjustments.
8208
8209         * docs/design/part-negotiation.txt:
8210         Fix some typos.
8211
8212 2007-02-02  Sebastian Dröge  <slomo@circular-chaos.org>
8213
8214         reviewed by: Wim Taymans <wim@fluendo.com>
8215
8216         * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
8217         * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
8218         Allow file://localhost/foo/bar URLs and correctly fail for every other
8219         hostname that one sets. This was gnomevfssrc is linked for those if
8220         installed as it can handle it (#403172)
8221
8222 2007-02-01  Sebastian Dröge  <slomo@circular-chaos.org>
8223
8224         reviewed by: Tim-Philipp Müller <tim at centricular dot net>
8225
8226         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
8227         (unref_data), (gst_collect_pads_add_pad_full):
8228         * libs/gst/base/gstcollectpads.h:
8229         Don't put the previously added destroy notify in the GstCollectData
8230         struct as all it's padding is already used and we don't want to break
8231         ABI. Instead put in the pad's GObject data for now. This should be
8232         cleaned up for 0.11 (#402393).
8233
8234 2007-02-01  Sebastian Dröge  <slomo@circular-chaos.org>
8235
8236         reviewed by: Wim Taymans <wim@fluendo.com>
8237
8238         * docs/libs/gstreamer-libs-sections.txt:
8239         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
8240         (unref_data), (gst_collect_pads_add_pad),
8241         (gst_collect_pads_add_pad_full):
8242         * libs/gst/base/gstcollectpads.h:
8243         API: Add function to specify a destroy notification for custom
8244         GstCollectData when adding new pads in GstCollectPads (#402393).
8245
8246 2007-02-01  Tim-Philipp Müller  <tim at centricular dot net>
8247
8248         * po/sv.po:
8249           Update Swedish translation (#378255).
8250
8251 2007-01-31  Stefan Kost  <ensonic@users.sf.net>
8252
8253         * docs/design/draft-klass.txt:
8254           Fix the previous change, this is a list of categories and not a hierarchy.
8255
8256 2007-01-31  Stefan Kost  <ensonic@users.sf.net>
8257
8258         * docs/design/draft-klass.txt:
8259           Add info about how to get a list of used classes.
8260
8261 2007-01-30  Tim-Philipp Müller  <tim at centricular dot net>
8262
8263         * plugins/elements/gsttypefindelement.c:
8264         (gst_type_find_element_chain_do_typefinding),
8265         (gst_type_find_element_change_state):
8266           Don't leak found caps in chain function (no idea why that never
8267           showed up as a leak anywhere).
8268
8269 2007-01-30  Stefan Kost  <ensonic@users.sf.net>
8270
8271         * gst/gstplugin.h:
8272           Fix and expand GstPluginDesc API docs.
8273
8274 2007-01-29  Stefan Kost  <ensonic@users.sf.net>
8275
8276         * gst/gstcaps.c:
8277         * gst/gstelementfactory.c:
8278         * gst/gstpadtemplate.h:
8279           api doc fixes
8280
8281         * libs/gst/controller/gstcontroller.c:
8282         (gst_controlled_property_new):
8283         * tests/examples/controller/audio-example.c:
8284           comment fixes
8285
8286 2007-01-29  Stefan Kost  <ensonic@users.sf.net>
8287
8288         * configure.ac:
8289           comment about refining the xml deps
8290
8291         * docs/manuals.mak:
8292           comments about moving away from jade for docs
8293         
8294         * gst/gst.c:
8295           recommit the ifdefs to use the binary registry
8296         
8297         * gst/gstbin.c: (gst_bin_change_state_func):
8298           this break is obsolete
8299
8300         * gst/gstelementfactory.h:
8301           better GST_ELEMENT_DETAILS docs, add comment about translation
8302
8303         * gst/gstinfo.h:
8304           remove eol slash
8305
8306         * gst/gstobject.c: (gst_signal_object_get_type):
8307           add G_UNLIKELY as usual
8308
8309         * gst/gstpad.c: (gst_pad_event_default):
8310           add fall trhu comment
8311
8312         * gst/gstregistrybinary.c: (gst_registry_binary_write),
8313         (gst_registry_binary_initialize_magic),
8314         (gst_registry_binary_save_string),
8315         (gst_registry_binary_save_pad_template),
8316         (gst_registry_binary_save_feature),
8317         (gst_registry_binary_save_plugin),
8318         (gst_registry_binary_write_cache),
8319         (gst_registry_binary_check_magic),
8320         (gst_registry_binary_load_pad_template),
8321         (gst_registry_binary_load_feature),
8322         (gst_registry_binary_load_plugin),
8323         (gst_registry_binary_read_cache):
8324           comment typo and formatting
8325
8326         * gst/gstutils.c: (gst_element_state_get_name),
8327         (gst_element_state_change_return_get_name):
8328           remove obsolete breaks
8329
8330         * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
8331           add FIXME 0.11 and remove cpp comment
8332
8333 2007-01-29  Edward Hervey  <edward@fluendo.com>
8334
8335         * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
8336         Fix print statement in an even more portable way.
8337
8338 2007-01-29  Tim-Philipp Müller  <tim at centricular dot net>
8339
8340         * docs/gst/gstreamer-sections.txt:
8341         * gst/gstutils.h:
8342           API: add GST_ROUND_DOWN_* macros (#401781).
8343
8344 2007-01-27  Tim-Philipp Müller  <tim at centricular dot net>
8345
8346         * docs/gst/gstreamer.types.in:
8347         * gst/gstregistry.c: (gst_registry_class_init):
8348           Document registry signals and make gtk-doc pick them up (#401381).
8349
8350 2007-01-26  Tim-Philipp Müller  <tim at centricular dot net>
8351
8352         * docs/pwg/building-testapp.xml:
8353           Add some audioconverts and audioresample to the pipeline, and some
8354           more comments and error handling.
8355
8356 2007-01-26  Tim-Philipp Müller  <tim at centricular dot net>
8357
8358         * docs/manual/manual.xml:
8359         * docs/pwg/pwg.xml:
8360           Fix typo (#400987).
8361
8362 2007-01-26  Wim Taymans  <wim@fluendo.com>
8363
8364         * gst/gstcaps.c: (gst_static_caps_get):
8365         Init caps flags too.
8366
8367 2007-01-25  Sebastian Dröge  <slomo@circular-chaos.org>
8368
8369         Patch by: Jindrich Makovicka <jindrich.makovick at itonis dot tv>
8370
8371         * plugins/elements/gstfilesrc.c: (gst_file_src_start):
8372         If not using mmap'ed files try to seek to the end instead of the
8373         start to determine whether we can seek at all. This fixes the case
8374         of 2GB+ files over NFS, where seeks in the first 2GB can succeed but
8375         seeks for everything afterwards fail. Fixes #400656
8376
8377 2007-01-25  Wim Taymans  <wim@fluendo.com>
8378
8379         * gst/gstcaps.c: (_gst_caps_free), (gst_static_caps_get):
8380         Add some refcount debugging.
8381         Make gst_static_caps_get threadsafe, which is needed when autoplugging
8382         in multiple streaming threads.
8383
8384 2007-01-25  Wim Taymans  <wim@fluendo.com>
8385
8386         Patch by: David Schleef <ds at schleef dot org>
8387
8388         * docs/libs/gstreamer-libs-sections.txt:
8389         * libs/gst/base/gstadapter.c: (gst_adapter_copy):
8390         * libs/gst/base/gstadapter.h:
8391         API: gst_adapter_copy() that can reduce the amount of memcpy when
8392         getting data from the adapter. Fixes #388201.
8393
8394 2007-01-25  Edward Hervey  <edward@fluendo.com>
8395
8396         * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
8397         In print statements, "%x" is for guint. Fixes build on macosx.
8398
8399 2007-01-24  Edward Hervey  <edward@fluendo.com>
8400
8401         * plugins/elements/gstmultiqueue.c:
8402         (gst_multi_queue_loop):
8403         Small fix.
8404         (single_queue_overrun_cb), (single_queue_underrun_cb),
8405         (single_queue_check_full), (gst_single_queue_new):
8406         Implement single queue growth system.
8407         This uses the extra-size properties, and will grow single queues by
8408         that much if one goes full whereas there are others empty. This is
8409         called extra-mode in the code.
8410         When a single queue's levels go back below the initial max-size
8411         limits, it is no longer in extra-mode. This is to ensure we don't
8412         consume too much memory.
8413         Fixes #399875
8414
8415 2007-01-23  Tim-Philipp Müller  <tim at centricular dot net>
8416
8417         * gst/gst.c: (gst_init_get_option_group):
8418           Make warning about late g_thread_init() calls a bit more explicit,
8419           so that it's more obvious to application developers what they need
8420           to do if a user files a bug against their application.
8421
8422 2007-01-22  Edward Hervey  <edward@fluendo.com>
8423
8424         * plugins/elements/gstmultiqueue.c:
8425         (gst_multi_queue_src_activate_push), (gst_single_queue_new):
8426         Remove previous hack of unsetting the flushing flag for the source pad
8427         instead of activating it. Instead, fix the source pad activate function
8428         so that it no longer depends on having a parent set or not.
8429
8430 2007-01-22  Tim-Philipp Müller  <tim at centricular dot net>
8431
8432         Patch by: Carlos Sanmartin Dominguez <csanmartin@igalia.com>
8433
8434         * docs/manual/basics-bus.xml:
8435           Fix example code, gst_element_unref() doesn't exist any longer.
8436
8437 2007-01-21  Tim-Philipp Müller  <tim at centricular dot net>
8438
8439         Patch by: Mark Nauwelaerts <manauw at skynet be>
8440
8441         * gst/gstpad.c:
8442           Fix two docs typoes (#399094).
8443
8444 2007-01-19  Edward Hervey  <edward@fluendo.com>
8445
8446         * docs/faq/gst-uninstalled:
8447         Add gst-plugins-base/gst/utils/ to LD_LIBRARY_PATH so that plugins
8448         depending on libgstbaseutils can work in uninstalled environment.
8449
8450 2007-01-18  Stefan Kost  <ensonic@users.sf.net>
8451
8452         * gst/gsttaglist.h:
8453         * gst/gsttagsetter.c:
8454         Add more docs regarding tag merge-modes and when to send tags. Fix 'since'
8455         statement for new tag.
8456
8457 2007-01-17  Edward Hervey  <edward@fluendo.com>
8458
8459         * plugins/elements/gstmultiqueue.c: (gst_single_queue_new):
8460         When dynamically creating single queues, activate sinkpad before adding
8461         it.
8462         We should be doing the same thing for the source pad, but we can't
8463         since it would call a method which needs the parent to be set in order
8464         to work propertly. Instead of activating the source pad, we just unset
8465         the flushing flag, which is the minimal requirement for adding a pad
8466         to an element in a state greater than READY.
8467
8468 2007-01-17  Edward Hervey  <edward@fluendo.com>
8469
8470         * docs/faq/gst-uninstalled:
8471         Add DYLD_LIBRARY_PATH declarations so we can also use this script on
8472         Mac OS X.
8473
8474 2007-01-17  Tim-Philipp Müller  <tim at centricular dot net>
8475
8476         * tests/check/gst/gstabi.c:
8477         * tests/check/gst/struct_hppa.h:
8478         * tests/check/libs/libsabi.c:
8479         * tests/check/libs/struct_hppa.h:
8480           Add ABI structs for HPPA (see #393796).
8481
8482 2007-01-16  Tim-Philipp Müller  <tim at centricular dot net>
8483
8484         * libs/gst/check/gstcheck.c: (gst_check_abi_list):
8485           Actually write ABI structs to the file specified in the GST_ABI
8486           environment variable, as the message we print claims we would.
8487
8488 2007-01-15  Stefan Kost  <ensonic@users.sf.net>
8489
8490         * tests/check/gst/gsttask.c:
8491           Fix header comment.
8492
8493 2007-01-15  Stefan Kost  <ensonic@users.sf.net>
8494
8495         * gst/gsttaglist.c: (_gst_tag_initialize):
8496           Change tag type from STRING to DOUBLE. Apply ChangeLog surgery for my
8497           previous two entries.
8498
8499 2007-01-15  Stefan Kost  <ensonic@users.sf.net>
8500
8501         * docs/gst/gstreamer-sections.txt:
8502         * gst/gsttaglist.c: (_gst_tag_initialize):
8503         * gst/gsttaglist.h:
8504           Add tag support for beat-per-minute.
8505
8506 2007-01-15  Stefan Kost  <ensonic@users.sf.net>
8507
8508         * gst/gstregistrybinary.c: (gst_registry_binary_write),
8509         (gst_registry_binary_initialize_magic),
8510         (gst_registry_binary_save_string), (gst_registry_binary_make_data),
8511         (gst_registry_binary_save_pad_template),
8512         (gst_registry_binary_save_feature),
8513         (gst_registry_binary_save_plugin),
8514         (gst_registry_binary_write_cache),
8515         (gst_registry_binary_check_magic),
8516         (gst_registry_binary_load_pad_template),
8517         (gst_registry_binary_load_feature),
8518         (gst_registry_binary_load_plugin),
8519         (gst_registry_binary_read_cache):
8520         * gst/gstregistrybinary.h:
8521           Use glib types, cleanup comments, impement interfaces and uri-types.
8522
8523 2007-01-13  Andy Wingo  <wingo@pobox.com>
8524
8525         * gst/gstpad.c (gst_pad_get_range, gst_pad_pull_range): Allow
8526         getrange() to return buffers with other caps, while we fix
8527         demuxers and typefind, or otherwise change part-negotiation.txt.
8528
8529 2007-01-12  Andy Wingo  <wingo@pobox.com>
8530
8531         * libs/gst/base/gstbasetransform.c (gst_base_transform_activate):
8532         Factor start/stop into this private function instead of partially
8533         in activate functions and partially in the change_state function.
8534         Fixes setup before the element has changed from READY->PAUSED, as
8535         is the case in pull-mode pipelines.
8536         (gst_base_transform_sink_activate_push)
8537         (gst_base_transform_src_activate_pull): Refactor to use
8538         gst_base_transform_activate().
8539         (gst_base_transform_change_state): Removed, not needed any more.
8540
8541         * libs/gst/base/gstbasesink.c (gst_base_sink_negotiate_pull):
8542         Truncate before fixating.
8543         
8544         * libs/gst/base/gstbasesink.c (gst_base_sink_negotiate_pull):
8545         Don't set_caps() if the result of fixating is ANY, as it's not
8546         supported, and not necessary in the case of a link with no
8547         template caps on either side. Fixes tests/check/libs/basesrc in
8548         some pull-mode tests.
8549
8550         * libs/gst/base/gstbasetransform.c (_GstBaseTransformPrivate):
8551         (gst_base_transform_init, gst_base_transform_sink_activate_push)
8552         (gst_base_transform_src_activate_pull): 
8553         Track the activation mode.
8554         (gst_base_transform_setcaps): In pull mode, when activating the
8555         src pad, after activating the sink pad, activate the sink pad's
8556         peer, as discussed in part-negotiation.txt.
8557
8558         * libs/gst/base/gstbasesrc.h: 
8559         * libs/gst/base/gstbasesrc.c (gst_base_src_fixate): Add fixate
8560         vmethod, as in basesink.
8561
8562         * libs/gst/base/gstbasesink.h: Reformat docs, add fixate vmethod.
8563
8564         * libs/gst/base/gstbasesink.c (gst_base_sink_pad_setcaps): In pull
8565         mode, first proxy the setcaps to the peer pad.
8566         (gst_base_sink_pad_fixate): Add a fixate function that calls the
8567         new fixate vmethod.
8568         (gst_base_sink_default_activate_pull): Rename from
8569         gst_base_sink_activate_pull.
8570         (gst_base_sink_negotiate_pull): New function, performs negotiation
8571         in pull mode before calling ::activate_pull().
8572         (gst_base_sink_pad_activate_pull): Actually call the activate_pull
8573         vmethod instead of the default implementation. I have no idea how
8574         this worked before. Negotiate before calling activate_pull.
8575
8576         * gst/gstpad.c (gst_pad_activate_pull): Refuse to activate unlinked
8577         sink pads in pull mode. In addition to being correct, fixes
8578         filesrc ! decodebin ! identity ! fakesink.
8579         (gst_pad_get_range, gst_pad_pull_range): Don't call
8580         gst_pad_set_caps() if the caps changes; instead error out with
8581         GST_FLOW_NOT_NEGOTIATED, as discussed in part-negotiation.txt.
8582
8583 2007-01-12  Andy Wingo  <wingo@pobox.com>
8584
8585         * docs/design/part-negotiation.txt: Update with more policy.
8586
8587 2007-01-12  Tim-Philipp Müller  <tim at centricular dot net>
8588
8589         * libs/gst/check/gstbufferstraw.h:
8590         * libs/gst/check/gstcheck.h:
8591           Add G_BEGIN_DECLS and G_END_DECLS. Move GST_CHECK_MAIN where it
8592           belongs.
8593
8594 2007-01-12  Tim-Philipp Müller  <tim at centricular dot net>
8595
8596         * tests/check/Makefile.am:
8597         * tests/check/gst/.cvsignore:
8598         * tests/check/gst/gsttagsetter.c: (gst_dummy_enc_add_interfaces),
8599         (gst_dummy_enc_base_init), (gst_dummy_enc_class_init),
8600         (gst_dummy_enc_init), (tag_list_foreach), (tag_setter_list_length),
8601         (GST_START_TEST), (gst_tag_setter_suite):
8602           Add minimal unit test for beforementioned GstTagSetter bug.
8603
8604 2007-01-12  Tim-Philipp Müller  <tim at centricular dot net>
8605
8606         Patch by: René Stadler <mail at renestadler dot de>
8607
8608         * gst/gsttagsetter.c: (gst_tag_setter_merge_tags):
8609           gst_tag_list_merge() returns a new list, so it's not the best idea
8610           to ingore its return value. Effectively meant that tags could only
8611           be merged on a GstTagSetter once using _merge_tags(). Fixes #395554.
8612           Also add function guard to require a non-NULL taglist as input (has
8613           always been so due to gst_tag_list_copy(), just making it explicit).
8614
8615 2007-01-11  Tim-Philipp Müller  <tim at centricular dot net>
8616
8617         * docs/random/draft-missing-plugins.txt:
8618           Some additions: mention new API that is supposed to be used at the
8619           various stages; short blob about new gst-inspect introspection
8620           option; mention potential future problem with plugins that have
8621           a dynamic list of elements (such as ladspa, pitfdll, libvisual).
8622
8623 2007-01-11  Tim-Philipp Müller  <tim at centricular dot net>
8624
8625         * tools/gst-inspect.c:
8626         (print_plugin_automatic_install_info_codecs),
8627         (print_plugin_automatic_install_info_protocols),
8628         (print_plugin_automatic_install_info), (main):
8629         Add --print-plugin-auto-install-info option to gst-inspect, so we can
8630         introspect plugin files and get machine-parsable output that corresponds
8631         to the last bit of the missing-plugin installer string (small gotcha:
8632         doesn't take into account ranks).
8633
8634 2007-01-11  Stefan Kost  <ensonic@users.sf.net>
8635
8636         * configure.ac:
8637         * docs/gst/gstreamer-sections.txt:
8638         * gst/Makefile.am:
8639         * gst/gstregistry.c: (gst_registry_lookup_feature_locked),
8640         (gst_registry_lookup_locked):
8641         * gst/gstregistry.h:
8642         * gst/gstregistrybinary.c: (gst_registry_binary_write),
8643         (gst_registry_binary_initialize_magic),
8644         (gst_registry_binary_save_string),
8645         (gst_registry_binary_save_pad_template),
8646         (gst_registry_binary_save_feature),
8647         (gst_registry_binary_save_plugin),
8648         (gst_registry_binary_write_cache),
8649         (gst_registry_binary_check_magic),
8650         (gst_registry_binary_load_pad_template),
8651         (gst_registry_binary_load_feature),
8652         (gst_registry_binary_load_plugin),
8653         (gst_registry_binary_read_cache):
8654         * gst/gstregistrybinary.h:
8655         * gst/gstregistryxml.c: (load_feature),
8656         (gst_registry_xml_read_cache):
8657           commit binary registry (disabled by default, see #359653)
8658
8659 2007-01-11  Tim-Philipp Müller  <tim at centricular dot net>
8660
8661         * tests/check/gst/gstpad.c: (test_get_allowed_caps):
8662           Fix 'make check' too.
8663
8664 2007-01-10  Andy Wingo  <wingo@pobox.com>
8665
8666         * docs/design/part-negotiation.txt: Fix a typo, add a couple
8667         notes.
8668         
8669         * docs/design/part-negotiation.txt: Update with, um, one way that
8670         pull-mode negotiation might work?
8671
8672         * gst/gstpad.h: 
8673         * gst/gstpad.c (gst_pad_get_allowed_caps): Remove the restriction
8674         that the pad must be a src pad; makes sense to call it the other
8675         way in pull mode, and the logic is symmetric anyway.
8676
8677 2007-01-10  Tim-Philipp Müller  <tim at centricular dot net>
8678
8679         * plugins/elements/gstfilesink.c:
8680           Include <stdio.h> for fseeko().
8681
8682 2007-01-10  Wim Taymans  <wim@fluendo.com>
8683
8684         * gst/gstevent.c:
8685         * gst/gstevent.h:
8686         Reserve LATENCY event.
8687
8688 2007-01-09  Wim Taymans  <wim@fluendo.com>
8689
8690         * docs/design/draft-latency.txt:
8691         Updates.
8692
8693 2007-01-09  Wim Taymans  <wim@fluendo.com>
8694
8695         * docs/design/draft-latency.txt:
8696         Updates.
8697
8698         * gst/gstelement.h:
8699         * gst/gststructure.c:
8700         * gst/gsttrace.c:
8701         Small typo fixes.
8702
8703 2007-01-09  Tim-Philipp Müller  <tim at centricular dot net>
8704
8705         * tests/check/.cvsignore:
8706           Ignore test-registry.xml as well.
8707
8708 2007-01-09  Wim Taymans  <wim@fluendo.com>
8709
8710         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad):
8711         unref data at the end when we are done with the pad.
8712
8713 2007-01-08  Tim-Philipp Müller  <tim at centricular dot net>
8714
8715         * docs/gst/gstreamer-sections.txt:
8716         * gst/gst.c: (load_plugin_func), (scan_and_update_registry),
8717         (init_post), (gst_deinit), (gst_update_registry):
8718         * gst/gst.h:
8719           API: add gst_update_registry() (#391296).
8720
8721         * tests/check/Makefile.am:
8722         * tests/check/gst/gstregistry.c:
8723         * tests/check/gst/.cvsignore:
8724           Simple unit test for the above.
8725
8726 2007-01-08  Tim-Philipp Müller  <tim at centricular dot net>
8727
8728         * gst/gstregistry.c: (gst_registry_scan_path_level):
8729           Plugin extension on HP-UX is .sl, add that to the list of approved
8730           plugin extensions (see #393796).
8731
8732         * tests/check/gst/gstpad.c: (GST_START_TEST):
8733           ulong => gulong. Fixes compilation with HP-UX compiler.
8734
8735         * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
8736           Fix compilation if valgrind headers are not available.
8737
8738 2007-01-07  Sébastien Moutte  <sebastien@moutte.net>
8739
8740         * win32/common/libgstreamer.def: 
8741           Add new exported function.
8742         * win32/vs6/libgstbase.dsp: 
8743           Add gstdataqueue.c to the build.
8744         * win32/vs6/libgstcoreelements.dsp:
8745           Add gstmultiqueue.c to the build.
8746         
8747 2007-01-06  Andy Wingo  <wingo@pobox.com>
8748
8749         * libs/gst/base/gstbasesink.h: New GstBaseSinkClass vmethod,
8750         activate_pull(), providing for a way to specialize the process of
8751         spawning a thread to pull on the sink pad. There is a default
8752         implementation.
8753
8754         * libs/gst/base/gstbasesink.c (gst_base_sink_pad_activate_pull)
8755         (gst_base_sink_pad_activate_push, gst_base_sink_pad_activate)
8756         (gst_base_sink_init): Renamed pad activation functions (inserting
8757         "_pad" in their names). Refactor to use the new activate_pull
8758         vmethod, as appropriate.
8759         (gst_base_sink_class_init, gst_base_sink_activate_pull): Set the
8760         default activate_pull function to start a task pulling from the
8761         sink pad, as before.
8762
8763         * gst/gstpad.c (gst_pad_get_range, gst_pad_pull_range): Set caps
8764         on the pads if necessary, as in push()/chain(). Update docs.
8765         Shouldn't affect existing pull() usage as it is currently only
8766         being used on buffers without caps.
8767
8768 2007-01-05  Tim-Philipp Müller  <tim at centricular dot net>
8769
8770         * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
8771         (init_pre):
8772           Call g_thread_init() first thing in gst_init() / gst_check_init().
8773           When initialisation is done via gst_init_get_option_group() and
8774           GOption parsing, issue a warning if the GLib thread system has not
8775           been initialised yet by the time gst_init_get_option_group() is
8776           called, as it's quite likely other GLib functions such as
8777           g_option_context_new() have been called already then, and
8778           g_thread_init() must be called before any other GLib function. The
8779           application in question must be fixed in that case, since memory
8780           corruption might happen otherwise.
8781           We issue the warning because even if the GLib folks decide to work
8782           around the problem on their end in future, this is still an issue
8783           with all GLib versions >= 2.10.0, so we should warn until we depend
8784           on a GLib version we know to be safe.
8785           Update documentation as well.
8786           Closes bug #391278.
8787
8788 2007-01-05  Tim-Philipp Müller  <tim at centricular dot net>
8789
8790         * tools/gst-inspect.c: (main):
8791         * tools/gst-launch.c: (main):
8792         * tools/gst-typefind.c: (main):
8793         * tools/gst-xmlinspect.c: (main):
8794           Call g_thread_init() really really early, before any other GLib
8795           function (see #342564 and recent discussion on gtk-devel-list).
8796
8797 2007-01-05  Tim-Philipp Müller  <tim at centricular dot net>
8798
8799         Patch by: Vincent Torri  <vtorri at univ-evry dot fr>
8800
8801         * gst/gst_private.h:
8802         * gst/gstconfig.h.in:
8803         * gst/gstinfo.h:
8804           On win32, all the __declspec stuff for symbol exporting is
8805           apparently only needed with MSVC, but doesn't work with MingW.
8806           Fixes compilation with MingW and #391909.
8807
8808 2007-01-05  Tim-Philipp Müller  <tim at centricular dot net>
8809
8810         * libs/gst/base/gstbasesrc.c: (gst_base_src_activate_push):
8811           Change some GST_ERROR_OBJECT that aren't really errors to
8812           GST_WARNING_OBJECT in order to reduce terminal spam.
8813
8814 2007-01-04  Stefan Kost  <ensonic@users.sf.net>
8815
8816         * tests/check/Makefile.am:
8817           disable test again, as there seem to be still race problems
8818
8819 2007-01-04  Stefan Kost  <ensonic@users.sf.net>
8820
8821         * tests/check/Makefile.am:
8822         * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
8823         (GST_START_TEST), (queue_suite):
8824           enable queue test again, add tests for the leaky behaviour
8825
8826 2007-01-02  Tim-Philipp Müller  <tim at centricular dot net>
8827
8828         * configure.ac:
8829         * tests/examples/Makefile.am:
8830           Compile adapter test/example only if the required headers are
8831           available (fixes #391915).
8832
8833 2007-01-01  David Schleef  <ds@schleef.org>
8834
8835         * gst/gstplugin.c:
8836           Restore the previous signal handler for SIGSEGV instead of
8837           setting to default, since we may have stolen it away from
8838           someone.  (i.e., Mono)
8839
8840 2006-12-26  Tim-Philipp Müller  <tim at centricular dot net>
8841
8842         * docs/random/draft-missing-plugins.txt:
8843           Some small additions and clarifications.
8844
8845 2006-12-26  Tim-Philipp Müller  <tim at centricular dot net>
8846
8847         * gst/gstregistryxml.c: (gst_registry_save_escaped):
8848           Make sure we don't pass non-UTF-8 strings to g_markup_escape(),
8849           since that can lead to random memory corruptions and crashes
8850           (may or may not be related to #383244, #386711, and #386711).
8851
8852 2006-12-21  Stefan Kost  <ensonic@users.sf.net>
8853
8854         * tests/check/.cvsignore:
8855         * tests/check/Makefile.am:
8856           sync .cvsignome and CLEANFILES
8857
8858 2006-12-21  Stefan Kost  <ensonic@users.sf.net>
8859
8860         * tests/check/Makefile.am:
8861           fix distcheck
8862
8863 2006-12-21  Stefan Kost  <ensonic@users.sf.net>
8864
8865         * docs/design/part-states.txt:
8866           two tiny additional comments
8867         
8868         * gst/gststructure.c:
8869           doc fixing
8870
8871         * tests/check/Makefile.am:
8872         * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
8873         (GST_START_TEST):
8874           disable test for now, unless it gets fixed
8875
8876 2006-12-21  Stefan Kost  <ensonic@users.sf.net>
8877
8878         * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
8879         (GST_START_TEST):
8880           fix race in underrun test
8881
8882 2006-12-21  Stefan Kost  <ensonic@users.sf.net>
8883
8884         * tests/check/elements/.cvsignore:
8885           ignore more
8886
8887         * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
8888         (GST_START_TEST):
8889           try to narrow test failure
8890
8891 2006-12-21  David Schleef  <ds@schleef.org>
8892
8893         * plugins/elements/gstfakesrc.c:
8894           Use g_random_int_range(), since it produces better random
8895           numbers in a range than almost-correct floating point code.
8896
8897 2006-12-21  Stefan Kost  <ensonic@users.sf.net>
8898
8899         * libs/gst/check/gstcheck.c: (gst_check_setup_src_pad),
8900         (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
8901         (gst_check_teardown_sink_pad):
8902           do not automatically (de)activate pads
8903
8904         * tests/check/Makefile.am:
8905         * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
8906         (setup_queue), (cleanup_queue), (GST_START_TEST), (queue_suite):
8907           add new, yet simple tests for queue
8908
8909         * tests/check/elements/fakesrc.c: (cleanup_fakesrc):
8910         * tests/check/elements/fdsrc.c: (cleanup_fdsrc):
8911         * tests/check/elements/filesrc.c: (cleanup_filesrc),
8912         (GST_START_TEST):
8913         * tests/check/elements/identity.c: (cleanup_identity):
8914           consistent pad (de)activation
8915
8916 2006-12-20  Tim-Philipp Müller  <tim at centricular dot net>
8917
8918         Patch by: Sebastian Dröge  <slomo ubuntu com>
8919
8920         * libs/gst/base/gstcollectpads.c:
8921           Fix two doc typos (#387866).
8922
8923 2006-12-19  Tim-Philipp Müller  <tim at centricular dot net>
8924
8925         * docs/manual/advanced-dparams.xml:
8926           Fix typo (g_object_control_properties() doesn't exist).
8927
8928 2006-12-19  Edward Hervey  <edward@fluendo.com>
8929
8930         * gst/gstsegment.c: (gst_segment_set_seek):
8931         Fine tune the cases where the segment start/stop values are really
8932         updated.
8933         * tests/check/gst/gstsegment.c: (GST_START_TEST):
8934         Add tests for the return values of gst_segment_set_seek().
8935
8936 2006-12-19  Tim-Philipp Müller  <tim at centricular dot net>
8937
8938         * gst/gst.c:
8939           Docs typo fix.
8940
8941         * plugins/elements/gstqueue.c: (gst_queue_class_init),
8942         (gst_queue_init):
8943           Fix incorrect documentation and flesh it out a bit more.
8944           Set default values for the max properties on the GParamSpec as well,
8945           so it shows up correctly in gst-inspect.
8946
8947 2006-12-18  Stefan Kost  <ensonic@users.sf.net>
8948
8949         * plugins/elements/gstqueue.c: (queue_leaky_get_type):
8950           Correct docs of queue, add more detail and crosslink it more.
8951
8952 2006-12-16  Tim-Philipp Müller  <tim at centricular dot net>
8953
8954         * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
8955           Print additional debug info when the stream isn't perfectly
8956           timestamped; don't try to use invalid durations.
8957
8958 2006-12-16  Tim-Philipp Müller  <tim at centricular dot net>
8959
8960         * docs/design/Makefile.am:
8961           Dist new design docs.
8962
8963 2006-12-16  Wim Taymans  <wim@fluendo.com>
8964
8965         Patch by: Sjoerd Simons <sjoerd at luon dot net>
8966
8967         * libs/gst/base/gstcollectpads.c: (ref_data), (unref_data),
8968         (gst_collect_pads_add_pad), (gst_collect_pads_remove_pad),
8969         (gst_collect_pads_stop), (gst_collect_pads_event),
8970         (gst_collect_pads_chain):
8971         * libs/gst/base/gstcollectpads.h:
8972         Add refcounting to the collectpads data so we can track when it's safe
8973         to free the data. Fixes #383382.
8974
8975 2006-12-15  Wim Taymans  <wim@fluendo.com>
8976
8977         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
8978         (gst_collect_pads_remove_pad):
8979         Automatically activate/deactivate pads when they are added to a
8980         started/stoped collectpads.
8981
8982 2006-12-15  Wim Taymans  <wim@fluendo.com>
8983
8984         * gst/gstelement.c: (gst_element_add_pad):
8985         * gst/gstghostpad.c: (gst_ghost_pad_new_full):
8986         * gst/gstpad.c: (gst_pad_init):
8987         Set pads to FLUSHING when they are created. Check, warn and fix when a
8988         demuxer adds an inactive pad to itself when running. Fixes #339326.
8989
8990 2006-12-15  Wim Taymans  <wim@fluendo.com>
8991
8992         * gst/gstelement.c: (gst_element_class_init),
8993         (gst_element_default_send_event), (gst_element_send_event),
8994         (gst_element_default_query), (gst_element_query):
8995         Expose default element send_event and query handling as vmethods that
8996         subclasses can chain up to.
8997
8998 2006-12-15  Wim Taymans  <wim@fluendo.com>
8999
9000         * gst/gstelement.c: (gst_element_set_state_func):
9001         Small documentation fixes.
9002
9003 2006-12-15  Wim Taymans  <wim@fluendo.com>
9004
9005         * docs/design/draft-latency.txt:
9006         Checked in draft for handling latency in pipelines.
9007
9008 2006-12-15  Thomas Vander Stichele  <thomas at apestaart dot org>
9009
9010         * Makefile.am:
9011         * gstreamer.doap:
9012         * gstreamer.spec.in:
9013           adding .doap file
9014
9015 2006-12-14  Tim-Philipp Müller  <tim at centricular dot net>
9016
9017         * gst/gst.c: (init_pre), (init_post):
9018           init_pre() and init_post() might be called via our GOptionGroup or
9019           from gst_init(), and we should skip both of them if we've already
9020           been initialised, otherwise we will init some things twice or add
9021           two default log functions.
9022
9023 2006-12-13  Edward Hervey  <edward@fluendo.com>
9024
9025         * docs/manual/basics-bus.xml:
9026         No, gst_main_loop does not exist. Its g_main_loop.
9027         Discovered by somebody who abused the copy-paste technique of coding :)
9028
9029 2006-12-13  Tim-Philipp Müller  <tim at centricular dot net>
9030
9031         * gst/gstghostpad.c:
9032           Log ghostpad debug stuff to the GST_PADS category as well rather
9033           than just to the default category.
9034
9035 2006-12-12  Tim-Philipp Müller  <tim at centricular dot net>
9036
9037         * configure.ac:
9038         * gst/gst.c: (init_pre):
9039           Add some basic system details such as OS and architecture
9040           to the debug output if possible, courtesy of uname().
9041
9042 2006-12-11  Tim-Philipp Müller  <tim at centricular dot net>
9043
9044         * docs/gst/running.xml:
9045           Document GST_REGISTRY_FORK and GST_DEBUG_NO_COLOR
9046           environment variables.
9047
9048 2006-12-09  Jan Schmidt  <thaytan@mad.scientist.com>
9049
9050         * tests/check/gst/gstbin.c: (GST_START_TEST):
9051         It is acceptable to have a refcount of 2 or 3 at this point in the
9052         test, because the pipeline might be just posting its state_change
9053         message. The next line then waits for that message to appear using
9054         bus_poll, so that should be fine too.
9055
9056 2006-12-09  Jan Schmidt  <thaytan@mad.scientist.com>
9057
9058         * gst/gst.c: (ensure_current_registry_forking):
9059         Ignore EINTR when reading from the child registry pipe.
9060         Explicitly ignore the return value from close, since it makes no
9061         difference.
9062
9063         * gst/gstminiobject.c: (gst_mini_object_ref),
9064         (gst_mini_object_unref):
9065         When debugging refcounts, check GST_IS_MINI_OBJECT and warn.
9066
9067         * gst/gstregistry.c: (_priv_gst_registry_remove_cache_plugins):
9068         When removing cached plugins, remove their features too, so they're
9069         not visible after they've disappeared.
9070
9071         * gst/gstutils.c: (prepare_link_maybe_ghosting):
9072         In the unlikely case that we are linking pads with no parents, don't
9073         crash trying to get the non-existent parent bin.
9074
9075         * gst/parse/grammar.y:
9076         Output debug in the PIPELINE category
9077
9078 2005-03-08  Wim Taymans  <wim@fluendo.com>
9079
9080         Patch by: René Stadler <mail at renestadler dot de>
9081
9082         * gst/gstclock.c: (gst_clock_new_periodic_id):
9083         Reject invalid clock times for interval of periodic ids.
9084         Fixes ##383506.
9085
9086 2006-12-07  Jan Schmidt  <thaytan@mad.scientist.com>
9087
9088         * gst/gstelementfactory.c: (gst_element_factory_create):
9089         * gst/gstpluginfeature.c: (gst_plugin_feature_load):
9090         * gst/gsttypefindfactory.c: (gst_type_find_factory_call_function):
9091         * tools/gst-inspect.c: (print_element_info):
9092         Fix refcounting of gst_plugin_feature_load to match the docs. 
9093         Fixes: #380129
9094
9095 2006-12-07  Wim Taymans  <wim@fluendo.com>
9096
9097         * libs/gst/base/gstbasesink.c: (gst_base_sink_event),
9098         (gst_base_sink_get_position):
9099         Improve debugging of events.
9100
9101 2006-12-07  Wim Taymans  <wim@fluendo.com>
9102
9103         Patch by: René Stadler <mail at renestadler dot de>
9104
9105         * gst/gstclock.c: (gst_clock_id_wait):
9106         Make period ids add the interval to the origial requested time instead
9107         of the possibly updated time which can be wrong when there are multiple
9108         waiters for the same id. Fixes #382592.
9109
9110         * gst/gstsystemclock.c: (gst_system_clock_async_thread),
9111         (gst_system_clock_id_wait_jitter_unlocked),
9112         (gst_system_clock_id_wait_jitter):
9113         Fix restart in the async notify thread when an async entry is added to
9114         the front of the list. Fixes #381492. 
9115
9116         * tests/check/gst/gstsystemclock.c: (store_callback),
9117         (notify_callback), (GST_START_TEST), (gst_systemclock_suite):
9118         Added test for multiple async waits.
9119         Added test for async wait order.
9120
9121 2006-12-07  Wim Taymans  <wim@fluendo.com>
9122
9123         * gst/gstbin.c: (gst_bin_query):
9124         Add some more docs about the POSITION query.
9125
9126 2006-12-07  Jan Schmidt  <thaytan@mad.scientist.com>
9127
9128         * configure.ac:
9129         Bump version nano - back to CVS.
9130
9131 === release 0.10.11 ===
9132
9133 2006-12-06  Jan Schmidt <thaytan@mad.scientist.com>
9134
9135         * configure.ac:
9136           releasing 0.10.11, "Love never runs on time"
9137
9138 2006-12-01  Jan Schmidt  <thaytan@mad.scientist.com>
9139
9140         * win32/common/libgstbase.def:
9141         * win32/common/libgstreamer.def:
9142         * win32/vs8/libgstbase.vcproj:
9143         * win32/vs8/libgstcoreelements.vcproj:
9144         * win32/vs8/libgstreamer.vcproj:
9145         Fix compilation on win32 under VS8
9146         Patch by: Sergey Scobich <sergey dot scobich at gmail dot com>
9147         Partially fixes #381175
9148
9149 2006-11-29  Jan Schmidt  <thaytan@mad.scientist.com>
9150
9151         * gst/gstvalue.c: (gst_value_compare_fraction):
9152         If someone is foolish enough to compare 2 fractions with denominator =
9153         0, return UNORDERED rather than aborting.
9154
9155 2006-11-28  Edward Hervey  <edward@fluendo.com>
9156
9157         * libs/gst/base/Makefile.am:
9158         * libs/gst/base/gstdataqueue.c: (gst_data_queue_get_type),
9159         (gst_data_queue_base_init), (gst_data_queue_class_init),
9160         (gst_data_queue_init), (gst_data_queue_new),
9161         (gst_data_queue_cleanup), (gst_data_queue_finalize),
9162         (gst_data_queue_locked_flush), (gst_data_queue_locked_is_empty),
9163         (gst_data_queue_locked_is_full), (gst_data_queue_flush),
9164         (gst_data_queue_is_empty), (gst_data_queue_is_full),
9165         (gst_data_queue_set_flushing), (gst_data_queue_push),
9166         (gst_data_queue_pop), (gst_data_queue_drop_head),
9167         (gst_data_queue_set_property), (gst_data_queue_get_property):
9168         * libs/gst/base/gstdataqueue.h:
9169         New GstDataQueue object for threadsafe queueing. Most useful for
9170         elements that need some queueing functionnality.
9171         * docs/libs/gstreamer-libs-docs.sgml:
9172         * docs/libs/gstreamer-libs-sections.txt:
9173         Insert documentation for GstDataQueue
9174         * plugins/elements/Makefile.am:
9175         * plugins/elements/gstelements.c:
9176         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_base_init),
9177         (gst_multi_queue_class_init), (gst_multi_queue_init),
9178         (gst_multi_queue_finalize), (gst_multi_queue_set_property),
9179         (gst_multi_queue_get_property), (gst_multi_queue_request_new_pad),
9180         (gst_multi_queue_release_pad), (gst_single_queue_push_one),
9181         (gst_multi_queue_item_destroy), (gst_multi_queue_item_new),
9182         (gst_multi_queue_loop), (gst_multi_queue_chain),
9183         (gst_multi_queue_sink_activate_push), (gst_multi_queue_sink_event),
9184         (gst_multi_queue_getcaps), (gst_multi_queue_bufferalloc),
9185         (gst_multi_queue_src_activate_push), (gst_multi_queue_acceptcaps),
9186         (gst_multi_queue_src_event), (gst_multi_queue_src_query),
9187         (wake_up_next_non_linked), (compute_next_non_linked),
9188         (single_queue_overrun_cb), (single_queue_underrun_cb),
9189         (single_queue_check_full), (gst_single_queue_new):
9190         * plugins/elements/gstmultiqueue.h:
9191         New multiqueue element, using GstDataQueue. Used for queuing multiple
9192         streams.
9193         Closes #344639 and #347785
9194
9195 2006-11-22  Stefan Kost  <ensonic@users.sf.net>
9196
9197         * docs/pwg/advanced-types.xml:
9198           add more missing type details
9199
9200         * tools/gst-run.c: (main):
9201           remove unused variable
9202
9203 2006-11-21  Stefan Kost  <ensonic@users.sf.net>
9204
9205         * docs/libs/Makefile.am:
9206         * docs/libs/gstreamer-libs.types:
9207           add types of base classes to enable gobject specific stuff in the docs
9208
9209         * docs/random/ensonic/embedded.txt:
9210           more ideas about isolating platform specific things
9211
9212 2006-11-20  Wim Taymans  <wim@fluendo.com>
9213
9214         Patch by: Sebastian Dröge <slomo at ubuntu dot com>
9215
9216         * libs/gst/check/gstcheck.h:
9217         Fix compilation and running against 0.9.4. Fixes #377332.
9218
9219 2006-11-20  Wim Taymans  <wim@fluendo.com>
9220
9221         * gst/gstsegment.c: (gst_segment_set_seek),
9222         (gst_segment_set_newsegment_full), (gst_segment_to_stream_time),
9223         (gst_segment_to_running_time):
9224         Fix boundary checking in to_running_time() and to_stream_time().
9225         Fixes #377183.
9226
9227         * tests/check/gst/gstsegment.c: (GST_START_TEST):
9228         stream and running time can now be calculated for the complete
9229         clipped segment.
9230
9231 2006-11-15  Tim-Philipp Müller  <tim at centricular dot net>
9232
9233         * gst/gstpad.c: (gst_pad_push_event):
9234           Can't access event structure after giving away ownership of
9235           the event.
9236
9237 2006-11-15  Stefan Kost  <ensonic@users.sf.net>
9238
9239         * docs/random/ensonic/embedded.txt:
9240         * docs/random/ensonic/profiling.txt:
9241         * docs/random/ensonic/receipies.txt:
9242           more thinking
9243
9244 2006-11-13  Wim Taymans  <wim@fluendo.com>
9245
9246         Patch by: Mark Nauwelaerts <manauw at skynet dot be>
9247
9248         * gst/gstpad.c:
9249         Fix documentation for gst_pad_dispatcher. Fixes #374475.
9250
9251 2006-11-13  Wim Taymans  <wim@fluendo.com>
9252
9253         Patch by: Jonathan Matthew <jonathan at kaolin dot wh9 dot net>
9254
9255         * libs/gst/base/gstbasesrc.c: (gst_base_src_update_length):
9256         Store new length in segment duration so we don't keep on calling the
9257         potentially expensize get_size() call. Fixes #370865.
9258
9259 2006-11-10  Tim-Philipp Müller  <tim at centricular dot net>
9260
9261         Patch by: Sergey Scobich  <sergey.scobich at gmail com>
9262
9263         * win32/common/libgstreamer.def:
9264           Add two missing symbols (#366492).
9265
9266 2006-11-10  Jan Schmidt  <thaytan@mad.scientist.com>
9267
9268         * libs/gst/base/gstadapter.c: (gst_adapter_flush),
9269         (gst_adapter_take_buffer):
9270         Fix format string to use all its arguments.
9271         Remove useless >= check on a guint
9272
9273 2006-11-09  Jan Schmidt  <thaytan@mad.scientist.com>
9274
9275         * tests/examples/adapter/.cvsignore:
9276         Ignore build file as commanded by the build-bot
9277
9278 2006-11-09  Jan Schmidt  <thaytan@mad.scientist.com>
9279
9280         * tests/examples/adapter/Makefile.am:
9281         * tests/examples/adapter/adapter_test.c: (run_test_take),
9282         (run_test_take_buffer), (run_tests), (main):
9283
9284         Add new files from the previous commit
9285
9286 2006-11-09  Jan Schmidt  <thaytan@mad.scientist.com>
9287
9288         * Makefile.am:
9289         * configure.ac:
9290         * libs/gst/base/gstadapter.c: (gst_adapter_clear),
9291         (gst_adapter_push), (gst_adapter_peek_into), (gst_adapter_peek),
9292         (gst_adapter_flush), (gst_adapter_take), (gst_adapter_take_buffer):
9293         * libs/gst/base/gstadapter.h:
9294         * tests/check/libs/adapter.c: (create_and_fill_adapter),
9295         (GST_START_TEST), (gst_adapter_suite):
9296         * tests/examples/Makefile.am:
9297         Do some optimisation work in GstAdapter to avoid copies in more cases.
9298         It could still do slightly better by merging buffers when
9299         gst_buffer_is_span_fast is true, but is already faster. 
9300
9301         Also, avoid traversing a single-linked list to append each incoming 
9302         buffer inside the adapter.
9303
9304         Add simple test app that times the adapter behaviour in different
9305         situations, and extend the unit test to check that bytes enter and
9306         exit the adapter in their original order.
9307
9308 2006-11-08  Tim-Philipp Müller  <tim at centricular dot net>
9309
9310         * docs/random/draft-missing-plugins.txt:
9311           Update: use element message instead of adding a new message
9312           type to the core; don't provide GStreamer API to initiate the
9313           plugin download, just provide API to compose the strings needed
9314           and let an external libgimmestuff handle the rest.
9315
9316 2006-11-08  Jan Schmidt  <thaytan@mad.scientist.com>
9317
9318         * tools/gst-inspect.c: (print_element_properties_info):
9319         Print a string instead of 'unknown type' for GValueArray properties
9320
9321 2006-11-08  Christian F.K. Schaller  <christian@fluendo.com>
9322
9323         * docs/random/draft-missing-plugins.txt:
9324         More small fixes.
9325
9326 2006-11-07  Tim-Philipp Müller  <tim at centricular dot net>
9327
9328         * tests/examples/typefind/typefind.c: (type_found), (main):
9329           Make typefind element example work again (#371894); add a
9330           license header.
9331
9332 2006-11-07  Tim-Philipp Müller  <tim at centricular dot net>
9333
9334         * docs/random/draft-missing-plugins.txt:
9335           Commit initial draft about how to deal with missing plugins,
9336           needs work (API too).
9337
9338 2006-11-07  Stefan Kost  <ensonic@users.sf.net>
9339
9340         * docs/pwg/advanced-types.xml:
9341           documents the new caps elements (see #363118)
9342
9343 2006-11-06  Tim-Philipp Müller  <tim at centricular dot net>
9344
9345         * gst/gstplugin.c: (gst_plugin_load_file):
9346         * plugins/elements/gstfilesrc.c: (gst_mmap_buffer_finalize),
9347         (gst_file_src_map_region), (gst_file_src_start):
9348         * plugins/indexers/gstfileindex.c: (gst_file_index_load),
9349         (gst_file_index_commit):
9350           Use g_strerror() instead of strerror() - we want UTF-8.
9351
9352 2006-11-06  Tim-Philipp Müller  <tim at centricular dot net>
9353
9354         Patch by: Peter Kjellerstedt <pkj at axis com>
9355
9356         * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
9357           Another printf fix (#371493).
9358
9359 2006-11-06  Stefan Kost  <ensonic@users.sf.net>
9360
9361         * tests/check/gst/gsttag.c:
9362           relicence (okay with author=company)
9363
9364 2006-11-06  Stefan Kost  <ensonic@users.sf.net>
9365
9366         * gst/gstpad.c: (gst_pad_event_default_dispatch),
9367         (gst_pad_push_event):
9368           Enhance debug and improve docs
9369         
9370         * gst/gsturi.c:
9371           Fix docs
9372
9373 2006-11-06  Stefan Kost  <ensonic@users.sf.net>
9374
9375         * docs/random/ensonic/distributed.txt:
9376         * docs/random/ensonic/profiling.txt:
9377           more ideas
9378
9379 2006-11-06  Stefan Kost  <ensonic@users.sf.net>
9380
9381         * docs/gst/gstreamer-sections.txt:
9382           add new API and fix the build
9383           
9384         * gst/gstbin.c: (gst_bin_recalc_state):
9385         * gst/gstelement.c: (gst_element_message_full),
9386         (gst_element_get_state_func), (gst_element_set_state_func):
9387           use new API and improve logging
9388         
9389         * gst/gstutils.c: (gst_element_state_change_return_get_name):
9390         * gst/gstutils.h:
9391           API: add function to get StateChangereturn names to improve logs 
9392
9393 2006-11-04  Thomas Vander Stichele  <thomas at apestaart dot org>
9394
9395         * plugins/elements/gstfilesrc.c: (gst_file_src_start):
9396           I'm considering shooting the next person to put strerror stuff
9397           in the translateable part of the message.
9398
9399 2006-11-03  Wim Taymans  <wim@fluendo.com>
9400
9401         * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
9402         Get the type and printf conversion specifiers right.
9403
9404 2006-11-03  Wim Taymans  <wim@fluendo.com>
9405
9406         Patch by: Mark Nauwelaerts <manauw at skynet dot be>
9407
9408         * gst/gstpad.c: (gst_pad_init), (pre_activate),
9409         (gst_pad_set_blocked_async), (gst_pad_acceptcaps_default),
9410         (gst_pad_accept_caps), (handle_pad_block), (gst_pad_push_event):
9411         Some small cleanups. Improve debugging.
9412         * gst/gstpad.h:
9413         Signal all waiting threads with a broadcast instead of just one.
9414         Fixes #369942.
9415
9416 2006-11-03  Wim Taymans  <wim@fluendo.com>
9417
9418         * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd),
9419         (gst_fd_src_create):
9420         Add some debugging. 
9421         Only update fd when it's different from the old.
9422
9423 2006-11-02  Tim-Philipp Müller  <tim at centricular dot net>
9424
9425         * plugins/elements/gstfilesrc.c: (gst_file_src_create_mmap):
9426           Printf fixes for PPC/OSX, take two (#369366).
9427
9428 2006-11-02  Tim-Philipp Müller  <tim at centricular dot net>
9429
9430         Based on patch by: Jan David Mol  <j.j.d.mol at tudelft nl>
9431
9432         * plugins/elements/gstfilesink.c: (gst_file_sink_class_init):
9433         * plugins/elements/gstfilesrc.c: (gst_file_src_class_init),
9434         (gst_file_src_map_small_region), (gst_file_src_create_mmap):
9435           Printf fixes for gsize parameters on PPC/OSX (#369366). Also,
9436           don't cast to long long for portability reasons, but use
9437           GLib's types instead.
9438
9439 2006-10-30  Michael Smith  <msmith@fluendo.com>
9440
9441         * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
9442           Get the arguments to lseek() the right way around.
9443           Fixes 367677.
9444
9445 2006-10-30  Wim Taymans  <wim@fluendo.com>
9446
9447         Patch by: gorshkov <gorshkov at oghma dot on dot ca>
9448
9449         * gst/gstinfo.h:
9450         _declspec should be __declspec (two underscores, not one). Fixes 366572.
9451
9452 2006-10-28  Tim-Philipp Müller  <tim at centricular dot net>
9453
9454         Patch by: Kjartan Maraas  <kmaraas at gnome org>
9455
9456         * docs/design/part-MT-refcounting.txt:
9457         * docs/random/wtay/capsnego2-docs:
9458         * gst/gstclock.c:
9459         * gst/gstxml.c:
9460           Typo fixes (#366212).
9461
9462 2006-10-28  Wim Taymans  <wim@fluendo.com>
9463
9464         Patch by: Sergey Scobich <sergey dot scobich at gmail dot com>
9465
9466         * gst/gst.c:
9467         * win32/common/libgstbase.def:
9468         * win32/common/libgstreamer.def:
9469         * win32/vs8/libgstbase.vcproj:
9470         * win32/vs8/libgstcontroller.vcproj:
9471         Add needed entries in .def files.
9472         Use HAVE_UNISTD_H.
9473         Rearrange def files in vs8 solutions. Fixes #366286.
9474
9475 2006-10-28  Tim-Philipp Müller  <tim at centricular dot net>
9476
9477         * win32/common/gstconfig.h:
9478           Add GST_SEGMENT_FORMAT and GST_USING_PRINTF_EXTENSION to the
9479           hand-made win32 gstconfig.h. Fixes #366321.
9480
9481 2006-10-27  Wim Taymans  <wim@fluendo.com>
9482
9483         * gst/gstghostpad.c: (gst_proxy_pad_do_acceptcaps),
9484         (gst_ghost_pad_new_full):
9485         Make acceptcaps return TRUE when we don't have a target, just like
9486         setcaps does.
9487
9488 2006-10-27  Wim Taymans  <wim@fluendo.com>
9489
9490         * libs/gst/base/gstbasetransform.c: (gst_base_transform_chain):
9491         Revert previous commit, 0 sized buffers are allowed. Reopens #363095.
9492
9493 2006-10-26  Tim-Philipp Müller  <tim at centricular dot net>
9494
9495         * gst/gststructure.c: (gst_structure_id_set_value):
9496           If someone tries to set a non-UTF8 string field on a structure,
9497           don't just print a warning, but also ignore the request and do
9498           not change/add that field to the structure.
9499
9500         * tests/check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
9501           Test for the above.
9502
9503 2006-10-25  David Schleef  <ds@schleef.org>
9504
9505         * gst/gstinfo.c:
9506           g_hash_table_insert() needs a cast to a non-const pointer duh.
9507
9508 2006-10-25  David Schleef  <ds@schleef.org>
9509
9510         * gst/gstinfo.c:
9511         * gst/gstinfo.h:
9512           Change name parameter of _gst_debug_register_funcptr to const
9513           to reflect the constness of its use in the function as well
9514           as to quiet a gcc warning.
9515
9516 2006-10-25  Edward Hervey  <edward@fluendo.com>
9517
9518         * libs/gst/base/gstbasetransform.c: (gst_base_transform_chain):
9519         Don't push the buffer if it's empty.
9520         Closes #363095
9521
9522 2006-10-24  Wim Taymans  <wim@fluendo.com>
9523
9524         * gst/gstevent.h:
9525         Add small comment.
9526
9527         * libs/gst/base/gstbasetransform.c:
9528         (gst_base_transform_sink_eventfunc):
9529         Debug segment values *after* updating them as this is more
9530         interesting.
9531
9532 2006-10-23  Wim Taymans  <wim@fluendo.com>
9533
9534         * docs/design/part-events.txt:
9535         Update some docs.
9536
9537         * docs/design/part-block.txt:
9538         * gst/gstpad.c: (gst_pad_is_blocking), (handle_pad_block),
9539         (gst_pad_push_event):
9540         Revert BLOCKING patch, it tries to be smart without really having a
9541         clear idea what or how. So, now we discard all FLUSHING events again on
9542         a blocking pad. Should fix gnonlin again.
9543
9544 2006-10-23  Wim Taymans  <wim@fluendo.com>
9545
9546         Patch by: Sergey Scobich <sergey dot scobich at gmail dot com>
9547
9548         * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
9549         (gst_base_src_start), (gst_base_src_activate_push):
9550         Make sure size is always initialized. Fixes #364388.
9551
9552 2006-10-20  Stefan Kost  <ensonic@users.sf.net>
9553
9554         * docs/random/ensonic/distributed.txt:
9555           add some ideas about doing distributed processing
9556
9557         * docs/random/ensonic/profiling.txt:
9558           get_rusage look promising
9559
9560 2006-10-18  Stefan Kost  <ensonic@users.sf.net>
9561
9562         * docs/manual/basics-helloworld.xml:
9563           Add a cast in example to fix compile warning
9564
9565 2006-10-18  Wim Taymans  <wim@fluendo.com>
9566
9567         * gst/gstsegment.c: (gst_segment_set_last_stop),
9568         (gst_segment_set_seek), (gst_segment_set_newsegment_full):
9569         Relax arg checking again, -1 is allowed.
9570
9571 2006-10-18  Wim Taymans  <wim@fluendo.com>
9572
9573         * gst/gstsegment.c: (gst_segment_set_last_stop),
9574         (gst_segment_set_seek), (gst_segment_set_newsegment_full):
9575         _set_last_stop() must be with a value != -1
9576         A _TYPE_SET to -1 means seek to 0.
9577         Calc last_stop correctly for negative rates.
9578         Make sure we work with positive durations when updating a segment.
9579
9580 2006-10-18  Wim Taymans  <wim@fluendo.com>
9581
9582         * docs/design/part-live-source.txt:
9583         * gst/gstclock.h:
9584         Small docs fixes.
9585
9586 2006-10-18  Tim-Philipp Müller  <tim at centricular dot net>
9587
9588         * gst/gstbuffer.h:
9589           Add an explicit cast to GstBuffer** to keep old code that added an
9590           explicit cast to GstMiniObject** for gst_mini_object_replace()
9591           compiling without warning.
9592
9593 2006-10-18  Stefan Kost  <ensonic@users.sf.net>
9594
9595         * gst/gstvalue.c: (gst_value_set_date), (gst_date_copy):
9596           check for validity of dates
9597
9598 2006-10-17  Tim-Philipp Müller  <tim at centricular dot net>
9599
9600         * docs/gst/gstreamer-sections.txt:
9601           Forgot this one, makes gtk-doc shut up.
9602
9603 2006-10-17  Tim-Philipp Müller  <tim at centricular dot net>
9604
9605         Patch by: Peter Kjellerstedt <pkj at axis com>
9606
9607         * gst/gstobject.h:
9608           Don't define xmlNodePtr to gpointer if the core was built with
9609           --disable-loadsave and --disable-registry, this will break
9610           applications that want to use libxml2 but are buildling against a
9611           core that doesn't use libxml2. Use an intermediary type GstXmlNodePtr
9612           instead so we don't have to mess with the libxml2 namespace
9613           (#361675).
9614
9615 2006-10-17  Tim-Philipp Müller  <tim at centricular dot net>
9616
9617         * gst/gstbuffer.h:
9618           Fix gst_buffer_replace() macro to avoid gst_mini_object_replace()-related
9619           type-punned pointer warnings.
9620
9621 2006-10-16  Tim-Philipp Müller  <tim at centricular dot net>
9622
9623         * gst/gstelement.h:
9624           Add casts to the correct return type to state <=> state transition
9625           macros.
9626
9627 2006-10-16  Stefan Kost  <ensonic@users.sf.net>
9628
9629         * docs/design/part-live-source.txt:
9630           describe howto handle latency
9631         
9632         * docs/random/ensonic/profiling.txt:
9633           more ideas
9634
9635         * tools/gst-plot-timeline.py:
9636           fix log parsing for solaris, remove unused function
9637
9638 2006-10-16  Wim Taymans  <wim@fluendo.com>
9639
9640         * docs/design/part-trickmodes.txt:
9641         * gst/gstevent.c:
9642         Update some docs regarding reverse playback.
9643
9644 2006-10-15  Tim-Philipp Müller  <tim at centricular dot net>
9645
9646         Patch by: Marcus Granado  <mrc dot gran at gmail com>
9647
9648         * win32/vs8/grammar.vcproj:
9649           Error out with a warning if glib-genmarshal.exe is not in path,
9650           instead of creating bogus gstmarshal.[ch] files. Fixes #361720.
9651
9652 2006-10-13  Wim Taymans  <wim@fluendo.com>
9653
9654         * gst/gstsegment.c: (gst_segment_set_seek):
9655         When seeking to stop -1, set last_stop (current position) to the
9656         duration of the segment.
9657
9658 2006-10-13  Wim Taymans  <wim@fluendo.com>
9659
9660         * gst/gstelement.h:
9661         Clarify _NO_PREROLL a bit more.
9662
9663         * gst/gstevent.c:
9664         Fix docs.
9665
9666         * gst/gstpad.c: (gst_pad_link_check_hierarchy),
9667         (gst_pad_get_caps_unlocked), (gst_pad_save_thyself),
9668         (handle_pad_block), (gst_pad_push_event), (gst_pad_send_event):
9669         Patch by: Yves Lefebvre <ivanohe at abacom dot com> Fix possible deadlock
9670         due to wrong locking order. Fixes #361769.
9671         Remove some redundant/misplaced checks in pad_block.
9672
9673         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
9674         For negative rates, count backwards from the duration.
9675
9676 2006-10-13  Tim-Philipp Müller  <tim at centricular dot net>
9677
9678         * gst/gsterror.c: (_gst_library_errors_init):
9679           Fix error message for GST_LIBRARY_ERROR_SETTINGS (feel free to come
9680           up with something better).
9681
9682 2006-10-12  Tim-Philipp Müller  <tim at centricular dot net>
9683
9684         * win32/vs6/libgstreamer.dsp:
9685         * win32/vs7/libgstreamer.vcproj:
9686         * win32/vs8/libgstreamer.vcproj:
9687           Don't reference glib-compat.c which is currently not used and not
9688           disted; add gstquark.c which was recently added. Fixes #361730.
9689
9690 2006-10-12  Tim-Philipp Müller  <tim at centricular dot net>
9691
9692         * win32/common/libgstbase.def:
9693         * win32/common/libgstcontroller.def:
9694         * win32/common/libgstreamer.def:
9695           Add gst_caps_merge() and a bunch of other recently-added functions.
9696           Fixes #361732.
9697
9698 2006-10-11  Wim Taymans  <wim@fluendo.com>
9699
9700         * docs/plugins/gstreamer-plugins.args:
9701         * docs/plugins/inspect/plugin-coreelements.xml:
9702         * docs/plugins/inspect/plugin-coreindexers.xml:
9703         Update element args.
9704
9705         * gst/gstsystemclock.c:
9706         Small comment update.
9707
9708         * plugins/elements/gsttee.c: (gst_tee_class_init), (gst_tee_init),
9709         (gst_tee_request_new_pad), (gst_tee_release_pad),
9710         (gst_tee_buffer_alloc), (gst_tee_sink_activate_push),
9711         (gst_tee_sink_activate_pull):
9712         * plugins/elements/gsttee.h:
9713         Some tee loving:
9714         Add default property defines.
9715         Implement release pad function.
9716         Give properties better blubs etc.
9717         Activate pads before adding them to a running tee.
9718         Do simple buffer_alloc on the first requested pad.
9719         Post error when activation fails.
9720
9721 2006-10-11  Tim-Philipp Müller  <tim at centricular dot net>
9722
9723         * gst/gst.c: (ensure_current_registry_forking):
9724           Check return value of write() to make compiler happy.
9725
9726 2006-10-11  Wim Taymans  <wim@fluendo.com>
9727
9728         Patch by: Sjoerd Simons <sjoerd at luon dot net>
9729
9730         * plugins/elements/gstqueue.c: (gst_queue_chain):
9731         Recheck queue filledness after signalling the overrun when we're about
9732         to leak downstream because we released the lock when emitting the signal
9733         and the queue could be empty again. Fixes #352345.
9734
9735 2006-10-11  Tim-Philipp Müller  <tim at centricular dot net>
9736
9737         * libs/gst/controller/gstcontroller.c: (gst_controller_new_list):
9738           Fix refcounting here too, just like we did for _new_valist() a few
9739           days ago (#357180) (thanks to René Stadler). Also remove all those
9740           'Since: 0.9' from the gtk-doc blobs.
9741
9742         * tests/check/libs/controller.c: (controller_refcount_new_list),
9743         (gst_controller_suite):
9744           Unit test for the above.
9745
9746 2006-10-10  Wim Taymans  <wim@fluendo.com>
9747
9748         Patch by: Sebastien Cote <sebas642 at yahoo dot ca>
9749
9750         * gst/gstpad.c: (gst_pad_get_caps_unlocked),
9751         (gst_pad_save_thyself):
9752         Update some docs.
9753         Write pad direction in XML output. Fixes #345496.
9754
9755 2006-10-10  Wim Taymans  <wim@fluendo.com>
9756
9757         Patch by: René Stadler <mail at renestadler dot de>
9758
9759         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
9760         (gst_controller_new_list), (_gst_controller_dispose),
9761         (_gst_controller_finalize), (_gst_controller_class_init):
9762         Take ref to controlled object so that it cannot disappear. 
9763         Fixes #357432.
9764
9765 2006-10-10  Wim Taymans  <wim@fluendo.com>
9766
9767         * libs/gst/check/gstcheck.c: (gst_check_setup_src_pad),
9768         (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
9769         (gst_check_teardown_sink_pad):
9770         Activate/deactivate pads in setup/teardown respectively.
9771
9772 2006-10-10  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
9773
9774         Patch by: Josep Torra Valles <josep@fluendo.com>
9775
9776         * gst/Makefile.am:
9777         Cast values when making gstenumtypes.h.  This pacifies Forte
9778         so it doesn't warn about the ~0 as GST_MESSAGE_ANY not fitting
9779         in the enumeration.
9780
9781 2006-10-09  Wim Taymans  <wim@fluendo.com>
9782
9783         * gst/gstevent.c: (gst_event_new_seek), (gst_event_parse_seek):
9784         Rename some more @cur to @start to fix docs. 
9785
9786         * gst/gstsegment.c: (gst_segment_set_seek):
9787         Fix typo.
9788         time and start must always stay in sync as defined in design doc.
9789
9790         * gst/gsttaglist.c: (gst_tag_list_is_empty):
9791         Rename param to fix docs.
9792
9793         * tests/check/gst/gstsegment.c: (GST_START_TEST):
9794         Check that start and time are in sync.
9795
9796         * tests/check/pipelines/parse-launch.c:
9797         (gst_parse_test_element_change_state):
9798         Activate pad before adding to the element.
9799
9800 2006-10-09  Wim Taymans  <wim@fluendo.com>
9801
9802         * docs/design/part-qos.txt:
9803         Fix typo.
9804
9805         * gst/gstevent.c:
9806         * gst/gstevent.h:
9807         Update seek event docs regarding negative rates.
9808         Rename @cur to @start. 
9809
9810         * gst/gstsegment.c: (gst_segment_set_seek):
9811         * gst/gstsegment.h:
9812         Update set_seek docs regarding negative rates.
9813         Correctly update last_stop to @stop when dealing with negative
9814         rates.
9815         Rename @cur to @start. 
9816
9817         * tests/check/gst/gstpad.c: (GST_START_TEST):
9818         Activate pads before trying to use them.
9819
9820         * tests/check/gst/gstsegment.c: (GST_START_TEST),
9821         (gst_segment_suite):
9822         Add simple check for segments and negative rates.
9823
9824 2006-10-09  Tim-Philipp Müller  <tim at centricular dot net>
9825
9826         * gst/gsttaglist.c: (gst_tag_list_is_empty):
9827         * gst/gsttaglist.h:
9828         * docs/gst/gstreamer-sections.txt:
9829           API: add gst_tag_list_is_empty() (#360467).
9830
9831         * tests/check/gst/gsttag.c: (GST_START_TEST):
9832           And a test case.
9833
9834 2006-10-09  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
9835
9836         * gst/gstmessage.h:
9837         Revert change from earlier wrt GST_MESSAGE_TYPE_ANY having
9838         a value that doesn't fit on enumeration.
9839
9840 2006-10-09  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
9841
9842         * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
9843         Remove local debugging system and use Gstreamer's instead.
9844
9845 2006-10-09  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
9846
9847         Patch by: Josep Torra Valles <josep@fluendo.com>
9848
9849         * common/m4/gst-error.m4:
9850         Disable warning of statement not reached on Forte.
9851         * gst/gstmessage.h:
9852         Fix warning on Forte (value doesn't fit on enumeration).
9853         * libs/gst/base/gstbasesink.c: (gst_base_sink_chain_unlocked):
9854         Fix warning on Forte (value doesn't fit on enumeration).
9855         * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
9856         DEBUG macro says it takes minimum of 2 args and so Forte
9857         complains about the use with just 1 arg.
9858         * plugins/elements/gstfdsink.c:
9859         * plugins/elements/gstfdsrc.c:
9860         * plugins/elements/gstfilesink.c:
9861         * plugins/elements/gstfilesrc.c:
9862         Use correct return type for the uri handler implementations.
9863
9864         All these fix warnings in Forte.  Fixes bug #360860.
9865
9866 2006-10-08  Tim-Philipp Müller  <tim at centricular dot net>
9867
9868         * gst/gstelement.h:
9869           gcc versions prior to gcc 3.3 apparently complain about a NULL printf
9870           format string, so don't use G_GNUC_PRINTF for those versions.
9871
9872 2006-10-07  Tim-Philipp Müller  <tim at centricular dot net>
9873
9874         * gst/gsttaglist.c: (gst_is_tag_list):
9875         * gst/gsttaglist.h:
9876           Minor fixes to GST_IS_TAG_LIST and gst_is_tag_list().
9877
9878         * tests/check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
9879           Small test for the above.
9880
9881 2006-10-07  Tim-Philipp Müller  <tim at centricular dot net>
9882
9883         * gst/gsttaglist.h:
9884           Less tabs, more spaces.
9885
9886 2006-10-06  Tim-Philipp Müller  <tim at centricular dot net>
9887
9888         * gst/gstinfo.h:
9889           Those two function declarations do actually belong there, revert
9890           commit from yesterday that turned them intro macros.
9891
9892 2006-10-06  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
9893
9894         Patch by: Josep Torra Valles <josep@fluendo.com>
9895
9896         * gst/gst.c: (gst_init_get_option_group):
9897         Fix empty declaration and type mismatch.
9898         * gst/gstbin.c: (gst_bin_change_state_func):
9899         Fix type mismatch.
9900         * gst/gstelement.c: (gst_element_continue_state),
9901         (gst_element_set_state_func), (gst_element_change_state),
9902         (gst_element_change_state_func):
9903         Fix type mismatches.
9904         * gst/gstinfo.c: (gst_debug_compare_log_function_by_func),
9905         (gst_debug_remove_log_function), (_gst_debug_nameof_funcptr):
9906         Cast as appropriate.
9907         * gst/gstobject.c: (gst_class_signal_connect):
9908         Cast as appropriate.  The function pointer parameter really
9909         has the wrong type but would break API if we change it.
9910         * gst/gstquery.c:
9911         Fix redefinition of _FILE_OFFSET_BITS caused on Solaris wrt
9912         order of including string.h.
9913         * gst/gstutils.c: (gst_element_state_get_name):
9914         Remove unreachable line.
9915         * gst/gstxml.c: (gst_xml_parse_doc):
9916         Fix type mismatch.
9917         All these caught by Forte.
9918
9919 2006-10-06  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
9920
9921         Patch by: Josep Torra Valles <josep@fluendo.com>
9922
9923         * common/m4/gst-error.m4:
9924         Fixed bug #360151.
9925         We need to disable warnings on Forte for empty declarations
9926         due to gst-indent adding ;s to lines that just use macros
9927         where the macro actually doesn't need a ; at end to end
9928         statement.
9929
9930 2006-10-06  Wim Taymans  <wim@fluendo.com>
9931
9932         * plugins/elements/gstfilesink.c: (gst_file_sink_open_file),
9933         (gst_file_sink_close_file), (gst_file_sink_event),
9934         (gst_file_sink_render):
9935         Add some FIXME for the NEWSEGMENT handling.
9936
9937 2006-10-05  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
9938
9939         * gst/parse/grammar.y:
9940         Remove static function gst_parse_element_lock as all it does
9941         is return.  Looks like cruft from 0.8.
9942
9943 2006-10-05  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
9944
9945         Patch by: Josep Torra Valles <josep@fluendo.com>
9946
9947         * common/m4/gst-error.m4:
9948         * configure.ac:
9949         * libs/gst/net/Makefile.am:
9950         Fix a compilation issue with Forte on Solaris.  inet_aton is in
9951         libresolv.
9952
9953 2006-10-05  Tim-Philipp Müller  <tim at centricular dot net>
9954
9955         * gst/gstpad.c: (pre_activate):
9956         * gst/gstregistry.c: (gst_registry_scan_path_level):
9957         * gst/gstregistryxml.c: (load_plugin):
9958         * libs/gst/controller/gstcontroller.c:
9959         (gst_controlled_property_set_interpolation_mode):
9960         * libs/gst/dataprotocol/dataprotocol.c:
9961         (gst_dp_packet_from_event_1_0):
9962         * libs/gst/net/gstnetclientclock.c:
9963         (gst_net_client_clock_observe_times):
9964         * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
9965           Printf fixes.
9966
9967 2006-10-05  Tim-Philipp Müller  <tim at centricular dot net>
9968
9969         * configure.ac:
9970         * docs/gst/gstreamer-sections.txt:
9971         * gst/gstconfig.h.in:
9972         * gst/gstelement.h:
9973         * gst/gstinfo.h:
9974           Add GST_USING_PRINTF_EXTENSION to gstconfig.h so that we know
9975           whether we can use G_GNUC_PRINTF in other header files and at
9976           least check the printf format/arguments of debug messages and
9977           GST_ELEMENT_ERROR messages when the printf extension is not
9978           being used.
9979           Replace more tabs with spaces in gstinfo.h and remove two spurious
9980           function declarations in GST_DISABLE_DEBUG part with macros.
9981
9982 2006-10-03  Tim-Philipp Müller  <tim at centricular dot net>
9983
9984         * gst/gstbus.c: (gst_bus_class_init), (gst_bus_post):
9985           More docs for the sync-message signal (mention that it is not
9986           emitted by default); log message structures of messages posted on
9987           the bus as well.
9988
9989 2006-10-03  Jan Schmidt  <thaytan@mad.scientist.com>
9990
9991         * gst/gst.c: (ensure_current_registry_forking):
9992         Use a pipe pair to receive status results from the forked child, and
9993         ignore the result from waitpid. Fixes #355499
9994
9995 2006-10-02  Wim Taymans  <wim@fluendo.com>
9996
9997         * tests/check/gst/gstghostpad.c: (GST_START_TEST),
9998         (gst_ghost_pad_suite):
9999         Fix leak in check.
10000
10001 2006-10-02  Tim-Philipp Müller  <tim at centricular dot net>
10002
10003         * gst/gstpad.c:
10004           Add 'Since: 0.10.11' to gst_pad_is_blocking() gtk-doc blurb.
10005
10006 2006-10-02  Edward Hervey  <edward@fluendo.com>
10007
10008         * docs/design/part-block.txt:
10009         Further explain the use of flushing on blocked pads.
10010         * docs/gst/gstreamer-sections.txt:
10011         * gst/gstpad.c: (gst_pad_is_blocking), (handle_pad_block),
10012         (gst_pad_push_event):
10013         * gst/gstpad.h:
10014         Added new GstPadFlag : GST_PAD_BLOCKING.
10015         Adds the notion of pads really blocking, which enables to properly
10016         handle FLUSH_START/FLUSH_STOP events on blocked pads.
10017         Fixes #358999
10018         API: gst_pad_is_blocking()
10019         API: GST_PAD_IS_BLOCKING() macro
10020         API: GST_PAD_BLOCKING GstPadFlag
10021         
10022 2006-10-02  Wim Taymans  <wim@fluendo.com>
10023
10024         Patch by: mrcgran <mrc.gran at gmail dot com>
10025
10026         * gst/gstghostpad.c: (gst_proxy_pad_do_getcaps):
10027         Filter the proxied caps against the padtemplate if we have one.
10028
10029         * gst/gstquery.c: (gst_query_new_segment):
10030         Add include for gstinfo.h so that compilation with
10031         -DGST_DISABLE_GST_DEBUG works again. Fixes #358436.
10032
10033 2006-10-02  Wim Taymans  <wim@fluendo.com>
10034
10035         Patch by: Alessandro Decina  <alessandro at nnva org>
10036
10037         * plugins/elements/gstfilesink.c: (gst_file_sink_init),
10038         (gst_file_sink_set_location), (gst_file_sink_open_file),
10039         (gst_file_sink_close_file), (gst_file_sink_event),
10040         (gst_file_sink_render):
10041         Set file to NULL when closing filesink so that we can set a new filename
10042         in READY. Fixes #358613.
10043
10044 2006-10-02  Tim-Philipp Müller  <tim at centricular dot net>
10045
10046         Patch by: Alessandro Decina  <alessandro at nnva org>
10047
10048         * gst/gstevent.c: (_gst_event_copy):
10049           Fix gst_mini_object_make_writable() and gst_event_copy() for events
10050           with event structures by setting the parent refcount address of the
10051           copied structure to the address of the refcount member of the newly
10052           copied event rather than the address of the refcount member of the
10053           original event. Fixes #358737.
10054
10055         * tests/check/gst/gstevent.c: (GST_START_TEST):
10056           Unit test for the above.
10057
10058 2006-09-29  Stefan Kost  <ensonic@users.sf.net>
10059
10060         * docs/design/Makefile.am:
10061           Dist some more files.
10062
10063 2006-09-29  Tim-Philipp Müller  <tim at centricular dot net>
10064
10065         * tests/check/libs/controller.c: (GST_START_TEST),
10066         (gst_controller_suite):
10067           Add test for the previous fix; add some more tests
10068           for correct refcounting behaviour; fix a few leaks
10069           in test cases; call gst_controller_init() at start
10070           of all tests.
10071
10072 2006-09-29  Tim-Philipp Müller  <tim at centricular dot net>
10073
10074         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
10075         (gst_controller_set_from_list):
10076           Don't g_return_val_if_fail() on timed values with invalid timestamps
10077           inside a critical section without unlocking the mutex. Spotted by
10078           René Stadler. (#357617)
10079           Also, fix up refcounting properly: when returning an existing
10080           controller, we should increase the reference only once and not
10081           once per property and when trying to control a property again
10082           we should also increase the refcount.
10083
10084 2006-09-29  Wim Taymans  <wim@fluendo.com>
10085
10086         * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
10087         * libs/gst/net/gstnettimeprovider.c:
10088         (gst_net_time_provider_thread):
10089         Stop reading commands when EOF as well.
10090
10091         * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init):
10092         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init):
10093         * plugins/elements/gstidentity.c: (gst_identity_class_init):
10094         Unify description of the dump property.
10095
10096 2006-09-28  Jan Schmidt  <thaytan@mad.scientist.com>
10097
10098         * tests/examples/manual/.cvsignore:
10099         OK, so it's actually cvsignore that needs changing. Stop laughing.
10100
10101 2006-09-28  Jan Schmidt  <thaytan@mad.scientist.com>
10102
10103         * tests/examples/manual/Makefile.am:
10104         Gah, declare vars *before* using them
10105
10106 2006-09-28  Jan Schmidt  <thaytan@mad.scientist.com>
10107
10108         * gst/gst.c: (init_pre), (scan_and_update_registry),
10109         (ensure_current_registry_nonforking),
10110         (ensure_current_registry_forking), (ensure_current_registry),
10111         (init_post), (gst_debug_help), (gst_deinit):
10112         * gst/gst_private.h:
10113         * gst/gstregistry.c: (gst_registry_finalize),
10114         (gst_registry_remove_features_for_plugin_unlocked),
10115         (gst_registry_remove_plugin), (gst_registry_scan_path_level),
10116         (gst_registry_scan_path),
10117         (_priv_gst_registry_remove_cache_plugins),
10118         (_priv_gst_registry_cleanup):
10119         * gst/gstregistry.h:
10120         Re-commit the registry changes, along with an extra fix:
10121           When a cached plugin is encountered at a different file path,
10122           update the stored path in the registry cache so that the parent
10123           process knows where it actually is now when it re-reads the registry
10124           cache. Fixes the thing that broke distcheck with the previous commit.
10125
10126         * tests/check/Makefile.am:
10127         Clean up files named 'core' too when running make clean.
10128
10129         * tests/examples/manual/Makefile.am:
10130         Set up a registry path for running these tests, and clean it properly
10131         for distcheck.
10132
10133 2006-09-28  Jan Schmidt  <thaytan@mad.scientist.com>
10134
10135         * configure.ac:
10136         Don't pull in gmodule-2.0.pc as a dependency in our .pc files - we
10137         want gmodule-no-export-2.0.pc instead so that we don't drag in
10138         --export-dynamic on every project that links to GStreamer.
10139
10140         Also, make our export regex only match the start of symbols, rather 
10141         than any symbol that contains '_gst' somewhere.
10142
10143         * libs/gst/check/Makefile.am:
10144         The libgstcheck we build does however need export-dynamic, as it
10145         produces some symbols that don't match our _gst... style regex.
10146         Fixes: #318031
10147
10148 2006-09-27  Jan Schmidt  <thaytan@mad.scientist.com>
10149
10150         * gst/gst.c: (init_pre), (scan_and_update_registry),
10151         (ensure_current_registry_nonforking),
10152         (ensure_current_registry_forking), (ensure_current_registry),
10153         (init_post), (gst_debug_help), (gst_deinit):
10154         * gst/gst_private.h:
10155         * gst/gstregistry.c: (gst_registry_finalize),
10156         (gst_registry_remove_plugin), (gst_registry_scan_path_level),
10157         (gst_registry_scan_path), (_gst_registry_remove_cache_plugins),
10158         (_gst_registry_cleanup):
10159         * gst/gstregistry.h:
10160           Revert previous change until I figure out why it breaks distcheck.
10161
10162 2006-09-27  Jan Schmidt  <thaytan@mad.scientist.com>
10163
10164         * gst/gst.c: (init_pre), (scan_and_update_registry),
10165         (ensure_current_registry_nonforking),
10166         (ensure_current_registry_forking), (ensure_current_registry),
10167         (init_post), (gst_debug_help), (gst_deinit):
10168
10169           Make init_pre and init_post take the full complement of GOptionFunc
10170           args so they can return useful GErrors. Make the registry updating
10171           functions do so.
10172
10173           Call _priv_gst_registry_remove_cache_plugins after scanning files to
10174           ensure that the registry we're about to write out doesn't contain
10175           stale information about old-deleted plugin files.
10176
10177           Make _priv_gst_registry_remove_cache_plugins return a boolean so
10178           that deletion of plugin files is considered a registry change.
10179
10180         * gst/gst_private.h:
10181         * gst/gstregistry.c: (gst_registry_finalize),
10182         (gst_registry_remove_features_for_plugin_unlocked),
10183         (gst_registry_remove_plugin), (gst_registry_scan_path_level),
10184         (gst_registry_scan_path),
10185         (_priv_gst_registry_remove_cache_plugins),
10186         (_priv_gst_registry_cleanup):
10187         * gst/gstregistry.h:
10188         Rename _gst_registry_remove_cache_plugins and _gst_registry_cleanup
10189         by adding _priv prefix, so that they won't appear in the global
10190         symbol table. They still do atm though because of #318031. Move the
10191         prototypes to gst_private.h
10192
10193         When removing a plugin, remove all features for that plugin too. 
10194         Fixes #340878.
10195
10196 2006-09-27  Wim Taymans  <wim@fluendo.com>
10197
10198         * docs/random/moving-plugins:
10199         Make it clear that the "compiled-in descriptions" really mean
10200         the element details.
10201
10202         * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
10203         (gst_base_sink_wait_preroll):
10204         Update docs.
10205
10206         * docs/libs/gstreamer-libs-sections.txt:
10207         * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
10208         (gst_base_src_get_range), (gst_base_src_activate_push):
10209         * libs/gst/base/gstbasesrc.h:
10210         Added function to block while waiting for PLAYING, this function
10211         is used by live sources that block on the clock.
10212         API: gst_base_src_wait_playing()
10213
10214 2006-09-27  Tim-Philipp Müller  <tim at centricular dot net>
10215
10216         Patch by: Peter Kjellerstedt <pkj at axis com>
10217
10218         * Makefile.am:
10219           gst-element-check.m4 is generated and should therefore be
10220           copied from the build dir rather than the source dir (#357593).
10221           'make distcheck' hasn't noticed this because we were disting
10222           the file as well, so stop doing that.
10223
10224 2006-09-27  Tim-Philipp Müller  <tim at centricular dot net>
10225
10226         * tests/check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
10227           Add some tests for gst_caps_intersect().
10228
10229         * tools/gst-launch.c: (event_loop):
10230           Print all buffering percentages we get, even the 100% one.
10231
10232 2006-09-26  Wim Taymans  <wim@fluendo.com>
10233
10234         * tools/gst-inspect.c: (print_element_properties_info),
10235         (print_signal_info):
10236         Fix printing of flags to match the look of enums.
10237
10238 2006-09-25  Tim-Philipp Müller  <tim at centricular dot net>
10239
10240         * gst/gstelementfactory.c:
10241           Fix typo in docs blurb.
10242
10243 2006-09-25  Tim-Philipp Müller  <tim at centricular dot net>
10244
10245         * gst/gsturi.c: (search_by_entry):
10246           Don't assert/crash here if a uri handler doesn't return any
10247           supported protocols. The list of protocols could be generated
10248           dynamically at runtime or at plugin registration, and an error
10249           in the underlying library shouldn't be fatal (#353301).
10250
10251 2006-09-25  Tim-Philipp Müller  <tim at centricular dot net>
10252
10253         * gst/gstinfo.c:
10254           Fix warning if HAVE_PRINTF_EXTENSION is undefined
10255           (spotted by Peter Kjellerstedt).
10256
10257 2006-09-23  Wim Taymans  <wim@fluendo.com>
10258
10259         Based on patch by: Antoine Tremblay <hexa00 at gmail dot com>
10260
10261         * libs/gst/base/gstbasesrc.c:
10262         (gst_base_src_default_check_get_range), (gst_base_src_start),
10263         (gst_base_src_activate_push), (gst_base_src_activate_pull),
10264         (gst_base_src_change_state):
10265         Match _start/_stop calls in the activate functions. Remove redundant
10266         _stop call from the state change function. Fixes #356910.
10267         Turn failure DEBUG into ERROR. 
10268
10269 2006-09-22  Wim Taymans  <wim@fluendo.com>
10270
10271         * docs/design/part-buffering.txt:
10272         * gst/gstmessage.c: (gst_message_new_buffering),
10273         (gst_message_parse_buffering):
10274         Update docs about buffering.
10275
10276         * docs/design/part-trickmodes.txt:
10277         Fix typo.
10278
10279 2006-09-22  Stefan Kost  <ensonic@users.sf.net>
10280
10281         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
10282         (gst_controller_new_list):
10283           Ref instances when returning them again (fixes #357180)
10284
10285 2006-09-22  Tim-Philipp Müller  <tim at centricular dot net>
10286
10287         * gst/gstghostpad.c: (gst_ghost_pad_set_target):
10288           Don't forget to release proxy lock when there's an error.
10289
10290 2006-09-20  Jan Schmidt  <thaytan@mad.scientist.com>
10291
10292         * gst/gstcaps.h:
10293           Add extra initialisers for Caps things, to fix some plugin warnings
10294           when using -Wextra
10295
10296 2006-09-18  Wim Taymans  <wim@fluendo.com>
10297
10298         * gst/gstghostpad.c: (gst_ghost_pad_new_full):
10299           Also set template on the internal pad so that a getcaps from the 
10300           target pad returns the template caps.
10301
10302 2006-09-18  Wim Taymans  <wim@fluendo.com>
10303
10304         * gst/gstelement.c: (gst_element_post_message),
10305         (gst_element_dispose):
10306         Use _DEBUG_OBJECT some more.
10307
10308         * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
10309         Avoid typechecks.
10310
10311         * tools/gst-launch.c: (main):
10312         If the toplevel element is not a GstPipeline, it must be put in a
10313         pipeline so that a bus and clock is selected.
10314
10315 2006-09-17  Tim-Philipp Müller  <tim at centricular dot net>
10316
10317         * libs/gst/base/gstbasesrc.c: (gst_base_src_default_query):
10318           JITTER, RATE, and LATENCY query should be handled by the
10319           default case and not by the CONVERT query code.
10320
10321 2006-09-17  Tim-Philipp Müller  <tim at centricular dot net>
10322
10323         * gst/gstformat.c: (gst_format_register):
10324           Fix locking order (must take lock before using n_values).
10325
10326         * gst/gstvalue.c: (gst_value_serialize_enum),
10327         (gst_value_deserialize_enum_iter_cmp),
10328         (gst_value_deserialize_enum):
10329           Fix serialisation/deserialisation of custom registered GstFormats.
10330
10331         * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
10332           Unit test for custom format serialisation/deserialisation.
10333
10334 2006-09-17  Stefan Kost  <ensonic@users.sf.net>
10335
10336         * docs/pwg/building-boiler.xml:
10337         * plugins/elements/gstcapsfilter.c:
10338         More G_OBJECT macro fixing. Also Fix some details on the plugin-stamp
10339         section.
10340
10341 2006-09-16  Edward Hervey  <edward@fluendo.com>
10342
10343         * libs/gst/base/gstbasetransform.c:
10344         (gst_base_transform_buffer_alloc):
10345         Check if requested caps are the same as the sinks caps IF
10346         ->have_same_caps is TRUE. If they are not, act as if have_same_caps
10347         is FALSE.
10348         This fixes the renegotiation issues stated in #352827.
10349
10350 2006-09-16  Thomas Vander Stichele  <thomas at apestaart dot org>
10351
10352         * configure.ac:
10353         * docs/manual/advanced-autoplugging.xml:
10354         * tests/examples/Makefile.am:
10355         * tests/examples/manual/.cvsignore:
10356         * tests/examples/manual/Makefile.am:
10357         * tests/examples/manual/extract.pl:
10358           Extract the manual examples again like we used to do.
10359           Fix one of them.
10360
10361 2006-09-16  Thomas Vander Stichele  <thomas at apestaart dot org>
10362
10363         * win32/common/config.h:
10364           update for version
10365
10366 2006-09-16  Stefan Kost  <ensonic@users.sf.net>
10367
10368         * gst/gsterror.c:
10369           Documents how to receive errors.
10370
10371 2006-09-15  Wim Taymans  <wim@fluendo.com>
10372
10373         * tools/gst-launch.c: (sigint_handler_sighandler), (check_intr),
10374         (event_loop), (main):
10375         Added some comments here and there.
10376         Post an application message when an interrupt is caught instead of doing
10377         an uncontrolled state change.
10378         Clean up the event loop.
10379         Handle buffering messages, pause/resume the pipeline.
10380         Make shutdown because of an interrupt more reliable.
10381
10382 2006-09-15  Wim Taymans  <wim@fluendo.com>
10383
10384         * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
10385         (gst_base_sink_wait_preroll), (gst_base_sink_do_sync),
10386         (gst_base_sink_preroll_object):
10387         Make sure that our internal state is correct when we commit our state
10388         asynchronously. This solves a race where a state change to PLAYING
10389         could cause the sink to remain blocked in preroll in some situations.
10390
10391 2006-09-15  Wim Taymans  <wim@fluendo.com>
10392
10393         * tools/gst-inspect.c: (print_element_properties_info),
10394         (print_signal_info):
10395         List flags as hex so it's easier to deal with.
10396
10397 2006-09-15  Wim Taymans  <wim@fluendo.com>
10398
10399         * docs/libs/gstreamer-libs-sections.txt:
10400         * libs/gst/base/gstbasesink.c: (gst_base_sink_wait_preroll),
10401         (gst_base_sink_do_sync):
10402         * libs/gst/base/gstbasesink.h:
10403         Expose logic to wait for preroll so that subclasses such as audiosink
10404         can also use this method.
10405         API: gst_base_sink_wait_preroll()
10406
10407 2006-09-15  Wim Taymans  <wim@fluendo.com>
10408
10409         * gst/gstobject.c: (gst_object_set_parent):
10410         * gst/gstpipeline.c: (do_pipeline_seek):
10411         Small cleanups in docs and code.
10412
10413         * gst/gstsegment.c: (gst_segment_clip):
10414         * tests/check/gst/gstsegment.c: (GST_START_TEST):
10415         if stop == start and start is in the segment, no clipping should be
10416         done. Also add a test for this.
10417
10418 2006-09-15  Wim Taymans  <wim@fluendo.com>
10419
10420         * docs/design/part-buffering.txt:
10421         * docs/gst/gstreamer-sections.txt:
10422         * gst/gstmessage.c: (gst_message_new_buffering),
10423         (gst_message_parse_buffering):
10424         * gst/gstmessage.h:
10425         Added methods to create and parse BUFFERING messages.
10426         Added preliminary docs about buffering.
10427         API: gst_message_new_buffering
10428         API: gst_message_parse_buffering
10429
10430 2006-09-06  Wim Taymans  <wim@fluendo.com>
10431
10432         * gst/gstbin.c:
10433         Update documentation.
10434
10435         * gst/gstelement.c: (gst_element_class_init),
10436         (gst_element_release_request_pad), (gst_element_set_clock),
10437         (gst_element_get_index), (gst_element_add_pad),
10438         (gst_element_remove_pad), (gst_element_get_random_pad),
10439         (gst_element_send_event), (gst_element_get_query_types),
10440         (gst_element_query), (gst_element_post_message),
10441         (gst_element_message_full), (gst_element_continue_state),
10442         (gst_element_lost_state), (gst_element_save_thyself),
10443         (gst_element_restore_thyself):
10444         Documentation updates.
10445         Rename last bit of the new-pad -> pad-added signal rename.
10446         Fix the case where an element query would only work if the source
10447         pad was linked.
10448         Avoid some useless type checking in message handling.
10449
10450         * gst/gstevent.c:
10451         * gst/gstevent.h:
10452         * gst/gstutils.c:
10453         Documentation updates.
10454
10455 2006-09-14  Thomas Vander Stichele  <thomas at apestaart dot org>
10456
10457         * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
10458           add an INFO line for when we actually update the fd
10459
10460 2006-09-14  Thomas Vander Stichele  <thomas at apestaart dot org>
10461
10462         * configure.ac:
10463           back to TRUNK
10464
10465 === release 0.10.10 ===
10466
10467 2006-09-14  Thomas Vander Stichele <thomas at apestaart dot org>
10468
10469         * configure.ac:
10470           releasing 0.10.10, "Pais"
10471
10472 2006-09-05  Tim-Philipp Müller  <tim at centricular dot net>
10473
10474         * docs/manual/advanced-position.xml:
10475           Fix typo in sample code.
10476
10477 2006-09-05  Wim Taymans  <wim@fluendo.com>
10478
10479         * libs/gst/net/gstnetclientclock.c: (inet_aton),
10480         (gst_net_client_clock_init), (gst_net_client_clock_finalize),
10481         (gst_net_client_clock_do_select), (gst_net_client_clock_new):
10482         * libs/gst/net/gstnetclientclock.h:
10483         * libs/gst/net/gstnettimepacket.c: (gst_net_time_packet_send):
10484         * libs/gst/net/gstnettimepacket.h:
10485         * libs/gst/net/gstnettimeprovider.c: (inet_aton),
10486         (gst_net_time_provider_init), (gst_net_time_provider_finalize),
10487         (gst_net_time_provider_thread), (gst_net_time_provider_new):
10488         * libs/gst/net/gstnettimeprovider.h:
10489         Make stuff compile on windows. Fixes #345295.
10490
10491 2006-09-03  Tim-Philipp Müller  <tim at centricular dot net>
10492
10493         * gst/gst.c: (ensure_current_registry_forking):
10494           Print better details when child was terminated by signal.
10495
10496 2006-09-03  Tim-Philipp Müller  <tim at centricular dot net>
10497
10498         * gst/gstregistryxml.c: (gst_registry_xml_save_feature):
10499           Print a warning rather than g_assert() if a plugin feature
10500           is a URI handler but returns no protocols (#353976).
10501
10502 2006-09-02  Stefan Kost  <ensonic@users.sf.net>
10503
10504         * docs/random/moving-plugins:
10505         Fix two typos.         
10506
10507 2006-09-01  Tim-Philipp Müller  <tim at centricular dot net>
10508
10509         * gst/gstinfo.c: (_gst_debug_nameof_funcptr):
10510           Fix locking order, handle NULL function values properly.
10511
10512         * gst/gstinfo.h:
10513           Fix docs.
10514
10515         * gst/gstpad.c: (gst_pad_buffer_alloc_unchecked):
10516           Initialise variable before using it and fix debug statement to
10517           print the address of the function rather than the address of the
10518           variable on the stack holding the address of the function.
10519
10520 2006-09-01  Wim Taymans  <wim@fluendo.com>
10521
10522         * gst/gstghostpad.c: (gst_proxy_pad_do_event),
10523         (gst_proxy_pad_do_bufferalloc), (gst_proxy_pad_do_chain),
10524         (gst_proxy_pad_do_getrange), (gst_proxy_pad_do_checkgetrange),
10525         (gst_proxy_pad_set_target_unlocked), (gst_ghost_pad_parent_set),
10526         (gst_ghost_pad_parent_unset),
10527         (gst_ghost_pad_internal_do_activate_push),
10528         (gst_ghost_pad_internal_do_activate_pull),
10529         (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
10530         (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
10531         (gst_ghost_pad_init), (gst_ghost_pad_dispose),
10532         (gst_ghost_pad_new_full), (gst_ghost_pad_new_no_target),
10533         (gst_ghost_pad_new), (gst_ghost_pad_new_from_template),
10534         (gst_ghost_pad_new_no_target_from_template),
10535         (gst_ghost_pad_get_target), (gst_ghost_pad_set_target):
10536         More cleanups.
10537         Avoid needless typechecking in macros.
10538         Since the internal pad is always present and never changes, there is
10539         no need to locking or ref when retrieving it.
10540         Improve debugging a bit.
10541         Handle link errors when setting the target. Fixes #341029.
10542
10543 2006-09-01  Wim Taymans  <wim@fluendo.com>
10544
10545         * docs/libs/gstreamer-libs-sections.txt:
10546         * docs/plugins/gstreamer-plugins-sections.txt:
10547         Fix docs some more.
10548
10549         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad),
10550         (gst_collect_pads_event):
10551         * libs/gst/base/gstcollectpads.h:
10552         Documentation updates.
10553         Free queued buffer when removing a pad.
10554
10555 2006-08-31  Michael Smith  <msmith@fluendo.com>
10556
10557         * gst/gstutils.c: (gst_element_link_pads),
10558         (gst_element_link_pads_filtered):
10559           Ensure that we set a capsfilter to NULL if we failed to link it
10560           when doing filtered linking, to avoid criticals.
10561
10562           No need to check for unreffing srcpad, which is explicly NULLed
10563           above (a trivial code cleanup).
10564
10565 2006-08-31  Wim Taymans  <wim@fluendo.com>
10566
10567         * docs/design/part-gstghostpad.txt:
10568         Update ascii art in documentation.
10569
10570         * gst/gstghostpad.c: (gst_proxy_pad_do_internal_link),
10571         (gst_proxy_pad_set_target_unlocked), (gst_proxy_pad_init),
10572         (gst_ghost_pad_parent_set), (gst_ghost_pad_parent_unset),
10573         (gst_ghost_pad_internal_do_activate_push),
10574         (gst_ghost_pad_internal_do_activate_pull),
10575         (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
10576         (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
10577         (gst_ghost_pad_dispose), (gst_ghost_pad_new_full),
10578         (gst_ghost_pad_set_target):
10579         Small cleanups and leak fixes.
10580         Remove some checks now that the internal pad is never NULL.
10581         Fix the case where linking pads without a target would create nasty
10582         criticals. Fixes #341029.
10583         Don't assign a GstPadLinkReturn to a gboolean and mess up the return
10584         value of _set_target().
10585
10586         * tests/check/gst/gstghostpad.c: (GST_START_TEST),
10587         (gst_ghost_pad_suite):
10588         Some more tests for creating and linking untargeted ghostpads.
10589
10590 2006-08-31  Edward Hervey  <edward@fluendo.com>
10591
10592         * docs/gst/gstreamer-sections.txt:
10593         * gst/gstghostpad.c: (gst_proxy_pad_do_getcaps),
10594         (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target_unlocked),
10595         (gst_proxy_pad_dispose), (gst_ghost_pad_new_full),
10596         (gst_ghost_pad_new_no_target), (gst_ghost_pad_new),
10597         (gst_ghost_pad_new_from_template),
10598         (gst_ghost_pad_new_no_target_from_template):
10599         * gst/gstghostpad.h:
10600         Refactored *_new() functions.
10601         Templates are now used as a g_object_new() parameter.
10602         Use template in _do_getcaps() if we don't have a target.
10603         Small documentation cleanups.
10604         Added two new constructors:
10605         gst_ghost_pad_new_from_template()
10606         gst_ghost_pad_new_no_target_from_template()
10607         * tests/check/gst/gstghostpad.c: (GST_START_TEST),
10608         (gst_ghost_pad_suite):
10609         Added tests for new ghostpad instanciation functions.
10610
10611         API additions: gst_ghost_pad_new_from_template,
10612         gst_ghost_pad_new_no_target_from_template
10613
10614 2006-08-30  Stefan Kost  <ensonic@users.sf.net>
10615
10616         * docs/random/ensonic/profiling.txt:
10617           Ideas about qos profiling.
10618
10619 2006-08-29  Wim Taymans  <wim@fluendo.com>
10620
10621         * gst/gstcaps.c: (gst_caps_structure_is_subset_field):
10622         Code cleanups.
10623         Fix memleak.
10624
10625 2006-08-29  Tim-Philipp Müller  <tim at centricular dot net>
10626
10627         * gst/gstxml.c:
10628           Improve and detypofy docs.
10629
10630         * tests/check/Makefile.am:
10631         * tests/check/gst/.cvsignore:
10632         * tests/check/gst/gstxml.c: (GST_START_TEST), (gst_xml_suite):
10633           Add a basic test suite for GstXML.
10634
10635 2006-08-29  Wim Taymans  <wim@fluendo.com>
10636
10637         * gst/gstelement.c: (activate_pads), (clear_caps),
10638         (iterator_activate_fold_with_resync), (gst_element_pads_activate):
10639         Clear the pad caps when the element shut down all of the pads and
10640         is not streaming data that could modify the caps. 
10641         Fixes #352958.
10642
10643 2006-08-28  Michael Smith  <msmith@fluendo.com>
10644
10645         * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
10646           Revert previous change; I misunderstood single-segment mode.
10647
10648 2006-08-28  Michael Smith  <msmith@fluendo.com>
10649
10650         * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
10651           Unset DISCONT on buffers when using single-segment mode.
10652
10653 2006-08-28  Wim Taymans  <wim@fluendo.com>
10654
10655         * gst/gstcaps.c: (gst_caps_merge_structure):
10656         * gst/gstcaps.h:
10657         Fix docs and indentation again.
10658
10659         * tests/check/gst/gstquery.c: (GST_START_TEST):
10660         Fix leak in tests and add some more tests.
10661
10662 2006-08-28  Edward Hervey  <edward@fluendo.com>
10663
10664         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
10665         Inform GstSegment of the last stop position in order for the current
10666         segment to have a proper duration if it doesn't have a specific stop
10667         position from which a duration could be calculated.
10668         This bug was noticeable when a non-flushing, non-update new segment was
10669         followed by another segment (all buffers from the new segment were being
10670         dropped).
10671
10672 2006-08-28  Wim Taymans  <wim@fluendo.com>
10673
10674         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek):
10675         Small comment update.
10676
10677         * plugins/elements/gstidentity.c: (gst_identity_class_init),
10678         (gst_identity_transform_ip):
10679         Drop-probability is broken, mention this in the code with a 
10680         FIXME and also in the property description.
10681         Make silent also be silent about the drop messages.
10682
10683 2006-08-28  Tim-Philipp Müller  <tim at centricular dot net>
10684
10685         * docs/manual/appendix-win32.xml:
10686           Remove mention of popt, we don't depend on that any
10687           longer (#353136). Add some comments pointing out that
10688           this section is slightly outdated.
10689
10690 2006-08-28  Wim Taymans  <wim@fluendo.com>
10691
10692         Patch by: Torsten Schoenfeld <kaffeetisch at gmx dot de>
10693
10694         * gst/gstquery.c: (gst_query_new_segment):
10695         * tests/check/gst/gstquery.c: (GST_START_TEST):
10696         Initialize variables when creating a new segment query.
10697         Fixes #353121.
10698
10699 2006-08-28  Wim Taymans  <wim@fluendo.com>
10700
10701         Patch by: Torsten Schoenfeld <kaffeetisch at gmx dot de>
10702
10703         * gst/gstelement.c: (gst_element_get_bus):
10704         * tests/check/gst/gstelement.c: (GST_START_TEST):
10705         Check for NULL before _reffing the bus. Fixes #353122.
10706
10707 2006-08-25  Tim-Philipp Müller  <tim at centricular dot net>
10708
10709         * docs/manual/basics-bus.xml:
10710           Docs update: fix wrong callback return value explanation; add
10711           some lines about the implicit relationship between main loop
10712           and main context; remove duplicate main loop variable declaration.
10713
10714 2006-08-24  Tim-Philipp Müller  <tim at centricular dot net>
10715
10716         * tests/check/gst/gstcaps.c: (GST_START_TEST):
10717           Don't leak caps in unit test; add a few more simple
10718           checks. 
10719
10720 2006-08-24  Stefan Kost  <ensonic@users.sf.net>
10721
10722         * docs/gst/gstreamer-sections.txt:
10723         * gst/gstcaps.c: (gst_caps_structure_is_subset_field),
10724         (gst_caps_structure_is_subset), (gst_caps_merge),
10725         (gst_caps_merge_structure):
10726         * gst/gstcaps.h:
10727         * libs/gst/base/gstbasetransform.c:
10728         (gst_base_transform_transform_caps):
10729         * tests/check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
10730           implement caps merging (fixes #352580)
10731
10732 2006-08-23  Stefan Kost  <ensonic@users.sf.net>
10733
10734         * tools/Makefile.am:
10735         * tools/gst-plot-timeline.py:
10736           add debug-log plotting developer tool (#340674)
10737
10738 2006-08-23  Wim Taymans  <wim@fluendo.com>
10739
10740         * gst/gstpad.c: (gst_pad_start_task), (gst_pad_pause_task),
10741         (gst_pad_stop_task):
10742         Improve debugging for task functions.
10743
10744         * gst/gsttask.c: (gst_task_func), (gst_task_set_lock),
10745         (gst_task_start), (gst_task_pause), (gst_task_join):
10746         Make sure that the task function started and finished after a 
10747         join(). 
10748         Don't try to push the task function on the threadpool multiple
10749         times.
10750         Improve the g_warning message with some useful suggestions
10751         about how to fix the problem. 
10752
10753 2006-08-23  Wim Taymans  <wim@fluendo.com>
10754
10755         * gst/gstutils.c: (gst_pad_proxy_getcaps):
10756         Handle RESYNC correctly in _proxy_getcaps.
10757
10758 2006-08-21  Tim-Philipp Müller  <tim at centricular dot net>
10759
10760         * gst/gstxml.c: (gst_xml_dispose), (gst_xml_parse_file),
10761         (gst_xml_parse_memory), (gst_xml_get_element):
10762           Chain up to parent class in dispose function and also
10763           unref the elements in the toplevel_elements GList.
10764           Don't leak XmlDocPtr in _parse_file() and _parse_memory().
10765           Always return a reference in gst_xml_get_element() rather
10766           than only sometimes.
10767
10768         * tools/gst-launch.c: (xmllaunch_parse_cmdline):
10769           Don't leak GstXml object.
10770
10771 2006-08-21  Stefan Kost  <ensonic@users.sf.net>
10772
10773         * docs/gst/gstreamer-sections.txt:
10774         * gst/gstcaps.c: (gst_structure_is_equal_foreach),
10775         (gst_caps_merge):
10776         * gst/gstcaps.h:
10777         * libs/gst/base/gstbasetransform.c:
10778         (gst_base_transform_transform_caps):
10779           API: Add gst_caps_merge() and use it in basetransform, fixes #345444
10780           in a better way
10781
10782 2006-08-21  Edward Hervey  <edward@fluendo.com>
10783
10784         * gst/gstxml.c: (gst_xml_class_init), (gst_xml_dispose):
10785         Implement GObject::dispose virtual method in GstXML so we can free the
10786         top_elements GList.
10787
10788 2006-08-21  Wim Taymans  <wim@fluendo.com>
10789
10790         * gst/gstbuffer.c: (gst_buffer_make_metadata_writable),
10791         (gst_buffer_create_sub):
10792         Copy duration/offset_end/caps when creating a subbuffer of the
10793         complete parent.
10794         Make the subbuffer read-only when we make the metadata writable for
10795         now. Fixes #351768.
10796
10797         * tests/check/gst/gstbuffer.c: (GST_START_TEST):
10798         Added check for metadata copy when creating subbuffers.
10799
10800 2006-08-21  Edward Hervey  <edward@fluendo.com>
10801
10802         * libs/gst/base/gstbasetransform.c:
10803         (gst_base_transform_buffer_alloc):
10804         Only call downstream buffer_alloc if transform element is passthrough
10805         or always_in_place. Closes #350449.
10806
10807 2006-08-20  Stefan Kost  <ensonic@users.sf.net>
10808
10809         * ChangeLog:
10810           ChangeLog surgery to add comments to previous changes
10811
10812 2006-08-20  Stefan Kost  <ensonic@users.sf.net>
10813
10814         * gst/gst.c:
10815           Add comments
10816
10817         * gst/gstpad.c: (gst_pad_set_active):
10818           Be more verbose in the log
10819
10820         * libs/gst/base/gstbasetransform.c:
10821         (gst_base_transform_transform_caps):
10822           Simplify caps to get rid of duplicates, fixes #345444
10823
10824 2006-08-20  Stefan Kost  <ensonic@users.sf.net>
10825
10826         * gst/gstvalue.c:
10827         * gst/gstvalue.h:
10828           Use these optimizations only internally.
10829
10830 2006-08-20  Stefan Kost  <ensonic@users.sf.net>
10831
10832         * gst/gstvalue.c: (gst_value_compare_list),
10833         (gst_value_compare_fraction_range),
10834         (gst_value_intersect_fraction_fraction_range),
10835         (gst_value_intersect_fraction_range_fraction_range),
10836         (gst_value_subtract_fraction_fraction_range),
10837         (gst_value_subtract_fraction_range_fraction_range),
10838         (gst_value_get_compare_func), (gst_value_compare),
10839         (gst_value_compare_with_func):
10840         * gst/gstvalue.h:
10841           Saves the expensive lookup of the compare function in many cases
10842          (#345444)
10843
10844 2006-08-18  Edward Hervey  <edward@fluendo.com>
10845
10846         * tests/check/gst/gstinfo.c: (gst_info_suite):
10847         Disable test that require gstdebug if it wasn't built in core.
10848
10849 2006-08-18  Stefan Kost  <ensonic@users.sf.net>
10850
10851         * docs/random/ensonic/logging.txt:
10852           update ideas
10853           
10854         * gst/gstinfo.c: (gst_debug_log_default):
10855           reorder fields, save some columns, add optional color codes for log
10856           levels
10857
10858 2006-08-18  Stefan Kost  <ensonic@users.sf.net>
10859
10860         * docs/random/ensonic/logging.txt:
10861           add ideas about making the logs a bit more useful
10862
10863 2006-08-17  Tim-Philipp Müller  <tim at centricular dot net>
10864
10865         * docs/pwg/advanced-events.xml:
10866         * docs/pwg/titlepage.xml:
10867           Update for 0.10 API (#340627). Add myself
10868           to authors list.
10869
10870 2006-08-17  Tim-Philipp Müller  <tim at centricular dot net>
10871
10872         * docs/libs/gstreamer-libs-docs.sgml:
10873         * docs/libs/gstreamer-libs-sections.txt:
10874         * libs/gst/check/gstbufferstraw.c:
10875           Make gstcheck stuff show up in docs (still needs to
10876           be documented properly though).
10877
10878 2006-08-16  Jan Schmidt  <thaytan@mad.scientist.com>
10879
10880         * docs/gst/gstreamer-sections.txt:
10881         * gst/Makefile.am:
10882         * gst/gst.c: (init_post):
10883         * gst/gst_private.h:
10884         * gst/gstquark.c: (_priv_gst_quarks_initialize):
10885         * gst/gstquark.h:
10886         * gst/gstquery.c: (gst_query_new_position),
10887         (gst_query_set_position), (gst_query_parse_position),
10888         (gst_query_new_duration), (gst_query_set_duration),
10889         (gst_query_parse_duration), (gst_query_new_convert),
10890         (gst_query_set_convert), (gst_query_parse_convert),
10891         (gst_query_new_segment), (gst_query_set_segment),
10892         (gst_query_parse_segment), (gst_query_new_seeking),
10893         (gst_query_set_seeking), (gst_query_parse_seeking):
10894         Add internal helpers for pre-registering quarks from static strings
10895         and using the quark values directly instead of looking them up when
10896         creating and parsing queries. Can be used for event construction too.
10897         Closes #350432.
10898
10899 2006-08-16  Wim Taymans  <wim@fluendo.com>
10900
10901         * gst/gstbin.c:
10902         Fix bogus docs.
10903
10904 2006-08-15  Tim-Philipp Müller  <tim at centricular dot net>
10905
10906         * gst/gstutils.c: (gst_util_set_value_from_string):
10907           Fix memleak (#351502).
10908
10909         * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
10910           Add unit test for most of gst_util_set_value_from_string()
10911           (not that one would want to encourage use of this function).
10912
10913 2006-08-15  Tim-Philipp Müller  <tim at centricular dot net>
10914
10915         * libs/gst/check/gstcheck.h:
10916           Use const gchar * variables in fail_unless_equals_string
10917           macro to avoid compiler warnings (and don't use tabs for
10918           indenting).
10919
10920 2006-08-15  Tim-Philipp Müller  <tim at centricular dot net>
10921
10922         * tools/gst-launch.c: (print_tag):
10923           More space on the left for the tag names, to cater
10924           for the 'extended comment' tag (not touching the
10925           string for the first line since it's translated).
10926
10927 2006-08-15  Tim-Philipp Müller  <tim at centricular dot net>
10928
10929         * libs/gst/check/gstcheck.h:
10930           Fix ASSERT_CRITICAL and ASSERT_WARNING macros to actually
10931           print something when they fail.
10932
10933 2006-08-14  Tim-Philipp Müller  <tim at centricular dot net>
10934
10935         * docs/gst/gstreamer-sections.txt:
10936         * gst/gsttaglist.c: (_gst_tag_initialize):
10937         * gst/gsttaglist.h:
10938           API: add GST_TAG_EXTENDED_COMMENT (#350935).
10939           Also change merge function for GST_TAG_COMMENT to
10940           use_first.
10941
10942 2006-08-14  Tim-Philipp Müller  <tim at centricular dot net>
10943
10944         * gst/gstinfo.c: (gst_debug_print_object):
10945           Make GST_PTR_FORMAT print messages as well.
10946
10947         * tests/check/gst/gstinfo.c: (printf_extension_log_func),
10948         (GST_START_TEST), (gst_info_suite):
10949           More tests.
10950
10951 2006-08-14  Edward Hervey  <edward@fluendo.com>
10952
10953         * gst/gstelementfactory.c: (gst_element_register):
10954         If the GstElementClass doesn't have a GstElementDetails with all fields
10955         filled up correctly (longname, description AND author), then error out
10956         nicely instead of crashing.
10957
10958 2006-08-14  Tim-Philipp Müller  <tim at centricular dot net>
10959
10960         * gst/gststructure.c:
10961           Fix typo in docs and re-wrap docs blurb to not exceed 80 chars/line.
10962
10963         * gst/gstvalue.h:
10964           Expand on the difference between arrays and lists as we use them.
10965           
10966 2006-08-14  Wim Taymans  <wim@fluendo.com>
10967
10968         * libs/gst/base/gstbasesrc.c: (gst_base_src_change_state):
10969         If the parent state change function failed, don't assume we can safely
10970         stop the source, this will be done when the pads are deactivated.
10971
10972 2006-08-14  Wim Taymans  <wim@fluendo.com>
10973
10974         * gst/gstbuffer.c:
10975         * gst/gsttask.c: (gst_task_join):
10976         Small doc updates.
10977
10978         * gst/gstpad.c: (gst_pad_activate_pull), (gst_pad_activate_push),
10979         (gst_pad_stop_task):
10980         When pad (de)activation failed for some reason, restore the old
10981         activation mode and set the pad to flushing instead of assuming the
10982         pad is deactivated.
10983         If the _task_join() failed, reinstall the task on the pad so that it can
10984         be stopped later and return an error.
10985
10986 2006-08-11  Andy Wingo  <wingo@pobox.com>
10987
10988         * configure.ac:
10989         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packetizer_new):
10990         * tests/check/libs/gdp.c: (gst_dp_suite): GST_DISABLE_DEPRECATED
10991         is only for users of API that don't want to see deprecated
10992         functions in the headers; people that want to compile out
10993         deprecated code should pass -DGST_REMOVE_DEPRECATED into the
10994         CFLAGS. Fixes the build of multifdsink, or will soon..
10995
10996 2006-08-11  Wim Taymans  <wim@fluendo.com>
10997
10998         * docs/gst/gstreamer-sections.txt:
10999         Add GstClockClass vmethod docs.
11000
11001         * gst/gstcaps.h:
11002         Mark #endif with comment for associated #if
11003
11004         * gst/gstclock.c: (gst_clock_id_wait):
11005         * gst/gstclock.h:
11006         Add vmethod wait_jitter to avoid an unneeded _get_time() for
11007         most clock implementations.
11008         Document vmethods.
11009         Flesh out docs about resolution methods.
11010         API: GstClockClass::wait_jitter
11011
11012         * gst/gstsystemclock.c: (gst_system_clock_class_init),
11013         (gst_system_clock_async_thread),
11014         (gst_system_clock_id_wait_jitter_unlocked),
11015         (gst_system_clock_id_wait_jitter):
11016         Use base class wait_jitter variant for improved performance
11017         due to less clock polling.
11018
11019 2006-08-11  Edward Hervey  <edward@fluendo.com>
11020
11021         * gst/gst.c: (gst_init_check), (init_post):
11022         Set gst as being initialized before scanning/updating the registry,
11023         since there might be my python plugin loader that calls gst_init() and
11024         we don't want to loop back in.
11025         Closes #350879
11026
11027 2006-08-11  Wim Taymans  <wim@fluendo.com>
11028
11029         * docs/design/part-qos.txt:
11030         Bring docs in line with the code. Mostly the sign of the jitter was
11031         wrong in the docs. Fixes #349943.
11032
11033         * gst/gstclock.c:
11034         Fix the docs for the jitter.
11035
11036         * gst/gstevent.c: (gst_event_new_custom), (gst_event_new_tag),
11037         (gst_event_parse_tag), (gst_event_new_buffer_size),
11038         (gst_event_parse_buffer_size), (gst_event_parse_qos),
11039         (gst_event_new_seek), (gst_event_parse_seek),
11040         (gst_event_new_navigation):
11041         Make sure the GstStructure has no parent when creating custom
11042         events.
11043         Add some more argument checking so that we avoid 0.0 rates.
11044         Flesh out the docs for the QoS event some more.
11045
11046 2006-08-11  Wim Taymans  <wim@fluendo.com>
11047
11048         * docs/gst/gstreamer-sections.txt:
11049         * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
11050         (ensure_current_registry_forking), (ensure_current_registry),
11051         (parse_one_option), (parse_goption_arg), (gst_deinit),
11052         (gst_registry_fork_is_enabled), (gst_registry_fork_set_enabled):
11053         * gst/gst.h:
11054         Doc updates.
11055         Added API and command line option to disable registry forking in
11056         addition to the environment variable.
11057         Constify some static arrays.
11058         Added some more debug.
11059         Don't deinit twice.
11060         API: gst_registry_fork_is_enabled()
11061         API: gst_registry_fork_set_enabled()
11062         API: --gst-disable-registry-fork command line option
11063         Fixes #348918.
11064
11065 2006-08-11  Tim-Philipp Müller  <tim at centricular dot net>
11066
11067         * gst/gst.c: (gst_init):
11068           Fix typo in error message.
11069
11070 2006-08-10  Stefan Kost  <ensonic@users.sf.net>
11071
11072         * libs/gst/controller/gstcontroller.h:
11073           fix ABI size-correction
11074
11075         * tests/check/libs/gdp.c: (gst_dp_suite):
11076           make tests that use deprecated API conditional
11077
11078 2006-08-10  Stefan Kost  <ensonic@users.sf.net>
11079
11080         * docs/libs/gstreamer-libs-sections.txt:
11081         * libs/gst/controller/gstcontroller.c:
11082         (_gst_controller_get_property), (_gst_controller_set_property),
11083         (_gst_controller_init), (_gst_controller_class_init):
11084         * libs/gst/controller/gstcontroller.h:
11085         * libs/gst/controller/gsthelper.c: (gst_object_get_control_rate),
11086         (gst_object_set_control_rate):
11087           API: add gst_object_{s,g}et_control_rate(), add private data section,
11088           fix docs
11089
11090         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packetizer_new):
11091         * libs/gst/dataprotocol/dataprotocol.h:
11092           add deprecation guards to make gtk-doc happy and allow disabling cruft
11093
11094 2006-08-09  Tim-Philipp Müller  <tim at centricular dot net>
11095
11096         * tests/check/Makefile.am:
11097         * tests/check/gst/.cvsignore:
11098           Let's enable the new unit test as well.
11099
11100 2006-08-08  Tim-Philipp Müller  <tim at centricular dot net>
11101
11102         * configure.ac:
11103         * docs/gst/gstreamer-sections.txt:
11104         * gst/gstconfig.h.in:
11105         * gst/gstinfo.c: (_gst_debug_init), (gst_debug_print_segment),
11106         (_gst_info_printf_extension_ptr),
11107         (_gst_info_printf_extension_segment):
11108           API: add GST_SEGMENT_FORMAT, which is a printf extension we
11109           register that lets us easily dump GstSegments into debug
11110           logs (#350419).
11111
11112         * tests/check/gst/gstinfo.c: (segment_printf_extension_log_func),
11113         (info_segment_format_printf_extension), (gst_info_suite):
11114           Add simple unit test that logs a bunch of different segments (not
11115           valgrinded at the moment because of leaks in
11116           gst_debug_add_log_function).
11117
11118 2006-08-09  Edward Hervey  <edward@fluendo.com>
11119
11120         * libs/gst/base/gstbasetransform.c:
11121         (gst_base_transform_buffer_alloc):
11122         Even if we can't figure out the proper format to request downstream,
11123         call buffer_alloc() downstream with the input parameters without setting
11124         the caps on the srcpad. This will force negotiation in the chain
11125         function.
11126         Closes #350449
11127
11128 2006-08-08  Edward Hervey  <edward@fluendo.com>
11129
11130         * gst/gstghostpad.c: (gst_ghost_pad_do_unlink):
11131         Unlinking from a pad without a target is now a perfectly valid case
11132         which should NOT raise an assertion.
11133         This case would happen if a linked ghostpad its target set to NULL after
11134         it was previously linked.
11135
11136 2006-08-08  Edward Hervey  <edward@fluendo.com>
11137
11138         * tests/check/libs/gdp.c:
11139         Also comment out the test (see below).
11140
11141 2006-08-08  Edward Hervey  <edward@fluendo.com>
11142
11143         * tests/check/libs/gdp.c: (gst_dp_suite):
11144         Use the architecture information from config.h and not gcc macros
11145         in order to properly disable a test that fails on PPC64.
11146
11147 2006-08-04  Tim-Philipp Müller  <tim at centricular dot net>
11148
11149         * gst/gstelement.c: (gst_element_remove_pad):
11150           Don't crash printing the warning if the pad has no parent.
11151
11152 2006-08-02  Wim Taymans  <wim@fluendo.com>
11153
11154         * libs/gst/dataprotocol/dataprotocol.c:
11155         (gst_dp_header_from_buffer_any), (gst_dp_packet_from_caps_any),
11156         (gst_dp_crc), (gst_dp_header_payload_length),
11157         (gst_dp_header_payload_type), (gst_dp_packet_from_event),
11158         (gst_dp_packet_from_event_1_0), (gst_dp_buffer_from_header),
11159         (gst_dp_caps_from_packet), (gst_dp_event_from_packet_0_2),
11160         (gst_dp_event_from_packet), (gst_dp_validate_header),
11161         (gst_dp_validate_payload):
11162         Make debug category static
11163         Constify the crc table.
11164         Do some more arg checking in public functions.
11165         Fix some docs and do some small cleanups.
11166
11167         * tests/check/libs/gdp.c: (GST_START_TEST), (gst_dp_suite):
11168         Add some more checks to see if GDP deals with bogus input.
11169
11170 2006-07-31  Wim Taymans  <wim@fluendo.com>
11171
11172         * gst/gstvalue.c: (gst_value_compare_list):
11173         Fix GstValueList comparison code. Fixes #347293.
11174
11175         * tests/check/gst/gstvalue.c: (GST_START_TEST):
11176         Check to test GstValueList comparison.
11177
11178 2006-07-31  Jan Schmidt  <thaytan@mad.scientist.com>
11179
11180         * gst/gstelementfactory.c: (gst_element_factory_create):
11181         Remove unnecessary ref/unref pair
11182
11183         * gst/parse/grammar.y:
11184         Make sure to free the parse buffer on all code paths.
11185         Move a g_free up to the error handler where it's easier to see.
11186
11187         * tests/check/gst/gstevent.c: (test_event):
11188         Extending timeout for downstream travelling events to 10 seconds to
11189         hopefully avoid intermittent failure on the buildbots.
11190
11191         * tests/check/pipelines/parse-launch.c: (run_delayed_test):
11192         Don't manually set the state of the src element - it will happen as a
11193         natural consequence of the pipeline changing state, and that way it
11194         will do it in the right order too.
11195
11196 2006-07-31  Wim Taymans  <wim@fluendo.com>
11197
11198         * libs/gst/base/gstbasetransform.c:
11199         (gst_base_transform_buffer_alloc):
11200         Use OBJECT_LOCK and refcounting to get the pad caps in the
11201         buffer_alloc function because the caps could change while we are
11202         busy with them. Fixes #349105
11203
11204 2006-07-31  Wim Taymans  <wim@fluendo.com>
11205
11206         * gst/gstutils.c: (gst_pad_get_fixed_caps_func):
11207         Protect _PAD_CAPS with OBJECT_LOCK.
11208
11209 2006-07-31  Wim Taymans  <wim@fluendo.com>
11210
11211         * gst/gstpad.c: (gst_pad_class_init), (gst_pad_dispose),
11212         (gst_pad_get_property), (gst_pad_activate_pull),
11213         (gst_pad_activate_push), (gst_pad_set_blocked_async),
11214         (gst_pad_set_activate_function),
11215         (gst_pad_set_activatepull_function),
11216         (gst_pad_set_activatepush_function), (gst_pad_set_chain_function),
11217         (gst_pad_set_getrange_function),
11218         (gst_pad_set_checkgetrange_function), (gst_pad_set_event_function),
11219         (gst_pad_set_query_function), (gst_pad_set_query_type_function),
11220         (gst_pad_set_internal_link_function), (gst_pad_set_link_function),
11221         (gst_pad_set_unlink_function), (gst_pad_set_getcaps_function),
11222         (gst_pad_set_acceptcaps_function),
11223         (gst_pad_set_fixatecaps_function), (gst_pad_set_setcaps_function),
11224         (gst_pad_set_bufferalloc_function), (gst_pad_link_check_hierarchy),
11225         (gst_pad_get_caps_unlocked), (gst_pad_get_caps),
11226         (gst_pad_peer_get_caps), (gst_pad_accept_caps),
11227         (gst_pad_peer_accept_caps), (gst_pad_set_caps),
11228         (gst_pad_configure_sink), (gst_pad_configure_src),
11229         (gst_pad_get_allowed_caps), (gst_pad_get_negotiated_caps),
11230         (gst_pad_buffer_alloc_unchecked), (gst_pad_alloc_buffer_full),
11231         (gst_pad_query), (gst_pad_load_and_link), (handle_pad_block),
11232         (gst_pad_chain_unchecked), (gst_pad_push), (gst_pad_get_range),
11233         (gst_pad_send_event):
11234         Use _DEBUG_OBJECT when it makes sense.
11235         Protect GST_PAD_CAPS with the OBJECT_LOCK.
11236         Small cleanups and code reflows.
11237         Avoid caps refcounting in _accept_caps.
11238         Refactor alloc_buffer so that the code performed on the peer is in a
11239         separate function. Also if the pad does not implement a buffer alloc
11240         function, we should still check if the pad is flushing before falling
11241         back to the default allocator.
11242
11243 2006-07-31  Jan Schmidt  <thaytan@mad.scientist.com>
11244
11245         * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
11246         Make all uses of identity and fakesink have silent=true to avoid
11247         serialising every passing data structure, which is breaking tests
11248         on FC4 for some unknown reason.
11249
11250 2006-07-30  Stefan Kost  <ensonic@users.sf.net>
11251
11252         * gst/parse/Makefile.am:
11253         * gst/parse/grammar.y:
11254         * gst/parse/parse.l:
11255           Reverted previous patch as it required to bump the flex dependency to
11256           2.5.31, where fc4/5 seem to ship only the ancient 2.5.4a :(
11257
11258 2006-07-30  Stefan Kost  <ensonic@users.sf.net>
11259
11260         Patch by: Marc-Andre Lureau <marcandre.lureau@gmail.com>
11261
11262         * gst/parse/Makefile.am:
11263         * gst/parse/grammar.y:
11264         * gst/parse/parse.l:
11265           push & pop the state of the lexer for reentrant use case
11266           Fixes #349180
11267
11268 2006-07-29  Tim-Philipp Müller  <tim at centricular dot net>
11269
11270         * libs/gst/base/gstbasesrc.h:
11271           Note in the docs that the ::newsegment vfunc is not actually used by
11272           GstBaseSrc.
11273
11274 2006-07-28  Wim Taymans  <wim@fluendo.com>
11275
11276         * libs/gst/base/gstcollectpads.c:
11277         (gst_collect_pads_set_flushing_unlocked), (gst_collect_pads_pop),
11278         (gst_collect_pads_clear), (gst_collect_pads_flush),
11279         (gst_collect_pads_event), (gst_collect_pads_chain):
11280         When flushing a pad, also clear the queued buffer so that we don't
11281         accidentally use it when we shouldn't.
11282         Fix leaks by inreffing incomming buffer.
11283         Flush out queued buffers in case of errors.
11284         Fixes #347452.
11285
11286 2006-07-28  Wim Taymans  <wim@fluendo.com>
11287
11288         * docs/random/phonon-gst:
11289         Random notes about a Phonon backend.
11290
11291 2006-07-27  Jan Schmidt  <thaytan@mad.scientist.com>
11292
11293         * libs/gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
11294         Extra debug output
11295         * tests/check/libs/gdp.c: (gst_dp_suite):
11296         Take a whack at fixing the ppc compile using a different define to
11297         disable the broken test.
11298
11299         * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
11300         Remove excess g_print()
11301
11302 2006-07-27  Jan Schmidt <thaytan@mad.scientist.com>
11303
11304         * tests/check/pipelines/parse-launch.c: (expected_fail_pipe):
11305         Oops, meant to uncomment this line too to dampen the noise a bit.
11306
11307 2006-07-27  Jan Schmidt <thaytan@mad.scientist.com>
11308
11309         * gst/parse/grammar.y:
11310         * gst/parse/parse.l:
11311         * tests/check/pipelines/parse-launch.c: (expected_fail_pipe),
11312         (GST_START_TEST), (parse_suite):
11313         Fix some of the leaks exposed by extending the parse-launch testsuite,
11314         and move the 3 I can't figure out into a separate test that won't run
11315         the pipelines unless the appropriate line is uncommented.
11316
11317 2006-07-27  Tim-Philipp Müller  <tim at centricular dot net>
11318
11319         * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
11320           Requesting 0 bytes before the end of the file should result in
11321           FLOW_OK and an empty buffer, not FLOW_UNEXPECTED. Thank you
11322           unit test.
11323
11324 2006-07-27  Wim Taymans  <wim@fluendo.com>
11325
11326         * gst/gstcaps.c: (gst_static_caps_get), (gst_caps_get_structure):
11327         Fix useless assert, a uint is always positive.
11328
11329         * gst/gststructure.c: (gst_structure_nth_field_name),
11330         (gst_structure_foreach), (gst_structure_map_in_place):
11331         Check input arguments for public functions to avoid obvious crashes.
11332
11333         * plugins/elements/gstfakesink.c: (gst_fake_sink_render):
11334         * plugins/elements/gstfakesink.h:
11335         Do less useless typechecking.
11336
11337 2006-07-27  Tim-Philipp Müller  <tim at centricular dot net>
11338
11339         * plugins/elements/gstfilesrc.c: (gst_file_src_class_init):
11340           Do not use mmap() by default since there are a number of error
11341           conditions that we would like to handle in a non-fatal way that
11342           will result in a SIGBUS if we use mmap(). Examples: external
11343           devices (USB harddrive, portable music player) being unplugged
11344           while in use; file on mounted CD/DVD that can't be read because
11345           the medium is partly damaged. Fixes #348455 and #348475.
11346
11347 2006-07-27  Jan Schmidt  <thaytan@mad.scientist.com>
11348
11349         * gst/gstquery.h:
11350         Delete unused and misleading define of GST_QUERY_TYPE_RATE_DEN -
11351         rates are a gdouble
11352
11353 2006-07-26  Stefan Kost  <ensonic@users.sf.net>
11354
11355         * gst/gstregistry.c:
11356           Move big documentation comment into class section header, so that it
11357           appears in the API docs.
11358
11359 2006-07-26  Jan Schmidt  <thaytan@mad.scientist.com>
11360
11361         * docs/gst/gstreamer-sections.txt:
11362         Oops. Commit the docs additions too for new API.
11363         Also, remove the mention of the non-existent GST_QUERY_TYPE_RATE_DEN
11364
11365 2006-07-26  Jan Schmidt  <thaytan@mad.scientist.com>
11366
11367         * gst/gststructure.c: (gst_structure_id_set),
11368         (gst_structure_id_set_valist):
11369         * gst/gststructure.h:
11370         Add API for setting values into structures without performing
11371         a quark lookup, if the appropriate quark is already known.
11372
11373         API: gst_structure_id_set
11374         API: gst_structure_id_set_valist
11375
11376         * gst/parse/grammar.y:
11377         * gst/parse/parse.l:
11378         Remove some dead code shown by the coverage information.
11379         Don't throw a critical g_warning when encountering a syntax error,
11380         just warn and let the normal error path handle it.
11381
11382         * plugins/elements/gstelements.c:
11383         Bump the rank of filesink up to PRIMARY so that it is preferred over
11384         gnomevfssink for file:// sink uri's
11385
11386         * tests/check/pipelines/parse-launch.c: (expected_fail_pipe),
11387         (GST_START_TEST), (run_delayed_test),
11388         (gst_parse_test_element_base_init),
11389         (gst_parse_test_element_class_init), (gst_parse_test_element_init),
11390         (gst_parse_test_element_change_state),
11391         (gst_register_parse_element), (parse_suite):
11392         Beef up the tests for parse syntax to check that more error cases
11393         fail as they are supposed to. Increases the test coverage a bit.
11394
11395 2006-07-26  Tim-Philipp Müller  <tim at centricular dot net>
11396
11397         * docs/manual/basics-elements.xml:
11398           Fix gst_element_link() example.
11399
11400         * gst/gstutils.c:
11401           Mention in API docs that one should usually gst_bin_add()
11402           elements to a bin or pipeline before doing the linking.
11403           
11404 2006-07-26  Wim Taymans  <wim@fluendo.com>
11405
11406         * gst/gstbuffer.c: (gst_buffer_get_type), (gst_buffer_new),
11407         (gst_subbuffer_get_type), (gst_buffer_create_sub):
11408         Avoid function call for known types by keeping the buffer and
11409         subbuffer GType global.
11410
11411         * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
11412         Random silly optimisations in read() path.
11413
11414 2006-07-26  Jan Schmidt  <thaytan@mad.scientist.com>
11415
11416         * tools/gst-launch.c: (main):
11417           If the top-level of the parse is a normal bin, it doesn't do the
11418           right logic to run as a top-level element, so place it inside a
11419           pipeline.
11420
11421 2006-07-25  Tim-Philipp Müller  <tim at centricular dot net>
11422
11423         * plugins/elements/gstfilesrc.c: (gst_file_src_set_property):
11424           Remove superfluous g_object_notify() calls, GObject does
11425           that for us automatically.
11426
11427 2006-07-25  Stefan Kost  <ensonic@users.sf.net>
11428
11429         * gst/gstinfo.h:
11430           on Win32, use dllspec to export the debug category symbols
11431
11432 2006-07-24  Tim-Philipp Müller  <tim at centricular dot net>
11433
11434         * gst/gsttaglist.c: (_gst_tag_initialize):
11435           Allow more than one GST_TAG_IMAGE per taglist.
11436
11437 2006-07-24  Thomas Vander Stichele  <thomas at apestaart dot org>
11438
11439         * gst/gstminiobject.c:
11440           update docs
11441         * plugins/elements/gstfdsrc.c: (gst_fd_src_set_property),
11442         (gst_fd_src_create):
11443           log recurring events at LOG level
11444           add more debug for when the fd gets set
11445
11446 2006-07-21  Stefan Kost  <ensonic@users.sf.net>
11447
11448         * gst/gstparse.c: (gst_parse_launch):
11449           Also remove reentrance checks if flex is MT safe (#348179)
11450          Fix my empty ChangeLog entry below
11451
11452 2006-07-21  Andy Wingo  <wingo@pobox.com>
11453
11454         * docs/libs/gstreamer-libs-sections.txt: Attempt to pacify buildbot.
11455
11456         * libs/gst/check/Makefile.am
11457         (libgstcheck_@GST_MAJORMINOR@include_HEADERS)
11458         (libgstcheck_@GST_MAJORMINOR@_la_SOURCES): 
11459         * libs/gst/check/gstbufferstraw.h:
11460         * libs/gst/check/gstbufferstraw.c: Add some new hype testing
11461         functions, thus proving I am still a GStreamer haxor. OK I wrote
11462         them a long time ago, but anyways.
11463
11464 2006-07-21  Stefan Kost  <ensonic@users.sf.net>
11465
11466         * configure.ac:
11467         * gst/gstparse.c: (gst_parse_launch):
11468           Check for flex version and omit mutex if we have a MT save flex
11469           (fixes #348179)
11470
11471 2006-07-21  Wim Taymans  <wim@fluendo.com>
11472
11473         * gst/gstparse.c: (gst_parse_launch):
11474         Protect recursive calls to _parse with a recursive mutex
11475         and busy flag.
11476
11477 2006-07-21  Wim Taymans  <wim@fluendo.com>
11478
11479         * tests/check/gst/gstpad.c: (GST_START_TEST):
11480         Fix leak in test.
11481
11482 2006-07-20  Stefan Kost  <ensonic@users.sf.net>
11483
11484         * gst/gstparse.c: (gst_parse_launch):
11485           Do not hang on recursive usage of gst_parse_launch()
11486
11487 2006-07-20  Tim-Philipp Müller  <tim at centricular dot net>
11488
11489         * gst/gsttaglist.c:
11490           Add some more docs, comments and FIXME 0.11s here and there
11491           and also fix some typos.
11492
11493 2006-07-20  Tim-Philipp Müller  <tim at centricular dot net>
11494
11495         * gst/gstsegment.h:
11496           Convert tabs to spaces for better readability. 
11497
11498 2006-07-20  Edward Hervey  <edward@fluendo.com>
11499
11500         * tests/check/libs/gdp.c: (gst_dp_suite):
11501         the test_buffer test fails at line 140 on ppc64 at the following
11502         check:
11503         fail_unless (GST_BUFFER_FLAG_IS_SET (newbuffer,
11504                 GST_BUFFER_FLAG_IN_CAPS),
11505                 "GST_BUFFER_IN_CAPS flag should have been copied !");
11506         See bug #348114 for more details.
11507
11508 2006-07-19  Tim-Philipp Müller  <tim at centricular dot net>
11509
11510         * docs/pwg/advanced-scheduling.xml:
11511         * gst/gstpad.c:
11512           Fix typos (#348000).
11513
11514 2006-07-18  Tim-Philipp Müller  <tim at centricular dot net>
11515
11516         * docs/pwg/intro-basics.xml:
11517           Fix wrong links (#347927).
11518
11519 2006-07-18  Stefan Kost  <ensonic@users.sf.net>
11520
11521         * gst/gstregistry.h:
11522         * gst/gstregistryxml.c: (load_feature),
11523         (gst_registry_xml_read_cache), (gst_registry_xml_save_feature):
11524         * win32/common/config.h:
11525           make --disable-index work (#342564)
11526
11527 2006-07-18  Wim Taymans  <wim@fluendo.com>
11528
11529         Patch by: Peter Kjellerstedt <pkj at axis dot com>
11530
11531         * gst/Makefile.am:
11532         * gst/gsttrace.h:
11533         The attached patch adds two missing defines to gsttrace.h when tracing
11534         is disabled.  It also corrects one existing define.
11535         Fixes #347756.
11536
11537 2006-07-17  Wim Taymans  <wim@fluendo.com>
11538
11539         * docs/gst/gstreamer-sections.txt:
11540         * gst/gst.c: (gst_segtrap_is_enabled), (gst_segtrap_set_enabled):
11541         * gst/gst.h:
11542         * gst/gstplugin.c: (_gst_plugin_fault_handler_restore):
11543         Add two functions to check and change the SIGSEGV behaviour
11544         when loading plugins.
11545         Don't mess with the SIGSEGV handler when we were told not to.
11546         Fixes #347794.
11547         API: gst_segtrap_is_enabled
11548         API: gst_segtrap_set_enabled
11549
11550 2006-07-14  Wim Taymans  <wim@fluendo.com>
11551
11552         * libs/gst/base/gstbasesrc.c: (gst_base_src_update_length):
11553         * tests/check/elements/filesrc.c: (GST_START_TEST):
11554         Revert fix for regression in #347408 after release.
11555
11556 2006-07-14  Tim-Philipp Müller  <tim at centricular dot net>
11557
11558         Patch by: Antoine Tremblay <hexa00 at gmail com>
11559
11560         * gst/gstutils.c: (gst_element_unlink):
11561           Free iterator when done (#347311).
11562
11563         * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
11564           And add a test case for this.
11565
11566 2006-07-14  Jan Schmidt  <thaytan@mad.scientist.com>
11567
11568         * configure.ac:
11569         Bump nano back to CVS
11570
11571 === release 0.10.9 ===
11572
11573 2006-07-13  Jan Schmidt <thaytan@mad.scientist.com>
11574
11575         * configure.ac:
11576           releasing 0.10.9, "On the road again"
11577
11578 2006-07-13  Wim Taymans  <wim@fluendo.com>
11579
11580         * libs/gst/base/gstbasesrc.c: (gst_base_src_update_length):
11581         * tests/check/elements/filesrc.c: (GST_START_TEST):
11582         Revert pull-0 fix for release. Disable check. Fixes #347408.
11583
11584 2006-07-13  Thomas Vander Stichele  <thomas at apestaart dot org>
11585
11586         * libs/gst/dataprotocol/dataprotocol.c:
11587         (gst_dp_event_from_packet_1_0):
11588           Fixes #347337: failure to deserialize event packets with
11589           empty payload (only event type)
11590
11591 2006-07-13  Thomas Vander Stichele  <thomas at apestaart dot org>
11592
11593         * gst/Makefile.am:
11594           do not install a .c file in the header directory
11595
11596 2006-07-13  Edward Hervey  <edward@fluendo.com>
11597
11598         * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked):
11599         GhostPad no longer implicitely use the padtemplates of the targets.
11600         Fixes #347384
11601
11602 2006-07-11  Jan Schmidt  <thaytan@mad.scientist.com>
11603
11604         * gst/gstvalue.c: (gst_value_compare_list),
11605         (gst_value_compare_array), (_gst_value_initialize):
11606         * tests/check/gst/gstvalue.c: (GST_START_TEST):
11607         Make GstValueArray comparison be order dependent as designed.
11608         Add checks for value lists and value array comparisons.
11609         Fixes #347221
11610
11611 2006-07-11  Edward Hervey  <edward@fluendo.com>
11612
11613         * gst/gstbin.c: (activate_pads),
11614         (iterator_activate_fold_with_resync), (gst_bin_src_pads_activate),
11615         (gst_bin_change_state_func):
11616         (de)activate src pads before calling state_change on the childs.
11617         This is to avoid the case where a src ghostpad is blocked (holding the
11618         stream lock), which would block the deactivation of the ghostpad's
11619         target pad.
11620         * gst/gstghostpad.c: (gst_proxy_pad_do_query_type),
11621         (gst_proxy_pad_do_event), (gst_proxy_pad_do_query),
11622         (gst_proxy_pad_do_internal_link), (gst_proxy_pad_do_bufferalloc),
11623         (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange),
11624         (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_getcaps),
11625         (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
11626         (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target_unlocked),
11627         (gst_proxy_pad_set_target), (gst_proxy_pad_get_internal),
11628         (gst_proxy_pad_dispose), (gst_proxy_pad_init),
11629         (gst_ghost_pad_parent_set), (gst_ghost_pad_parent_unset),
11630         (gst_ghost_pad_class_init),
11631         (gst_ghost_pad_internal_do_activate_push),
11632         (gst_ghost_pad_internal_do_activate_pull),
11633         (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
11634         (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
11635         (gst_ghost_pad_dispose), (gst_ghost_pad_new_no_target),
11636         (gst_ghost_pad_new), (gst_ghost_pad_set_target):
11637         GhostPads now create their internal GstProxyPad at creation (and not
11638         when they're linked, as it was being done previously).
11639         The internal and target pads are linked straight away.
11640         The data will also travel through the other pad in order to make
11641         pad blocking and probes non-hackish (the probe/block now really happens
11642         on the GhostPad and not on the target).
11643         * gst/gstpad.c: (gst_pad_set_blocked_async),
11644         (gst_pad_link_prepare), (gst_pad_push_event):
11645         Remove previous ghostpad cruft.
11646         * gst/gstutils.c: (gst_pad_add_data_probe),
11647         (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
11648         (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
11649         (gst_pad_remove_buffer_probe):
11650         Remove previous ghost pad cruft.
11651         Added more detailed debug statements.
11652         * tests/check/gst/gstghostpad.c: (GST_START_TEST):
11653         Fix the testsuite for refcounting changes.
11654         The comments about who has references were correct, but the refcount
11655         being checked wasn't the same (!?!).
11656
11657         Fixes #341029
11658
11659 2006-07-10  Stefan Kost  <ensonic@users.sf.net>
11660
11661         * docs/gst/gstreamer-sections.txt:
11662         * gst/gstconfig.h.in:
11663         More docs for configuration options, add docs to gtk-doc.
11664
11665 2006-07-10  Stefan Kost  <ensonic@users.sf.net>
11666
11667         * gst/Makefile.am:
11668         * gst/gstconfig.h.in:
11669         * win32/common/config.h:
11670         Fix build when disabling tracing (fixes #344016). Also start to document
11671         the defines that disable the sub-systems.
11672
11673 2006-07-10  Edward Hervey  <edward@fluendo.com>
11674
11675         * gst/gst.c: (ensure_current_registry_forking):
11676         let's make valgrind happy...
11677
11678 2006-07-09  Wim Taymans  <wim@fluendo.com>
11679
11680         * gst/gstelement.c: (activate_pads),
11681         (iterator_activate_fold_with_resync), (gst_element_pads_activate):
11682         Better pad activation code: Reset the collect value too on resync.
11683         Add some comments.
11684
11685 2006-07-09  Wim Taymans  <wim@fluendo.com>
11686
11687         * gst/gstpad.c: (gst_pad_init), (gst_pad_activate_pull),
11688         (gst_pad_activate_push):
11689         Use some more macros where it makes sense.
11690         Allow pad mode switching instead of asserting. When a pad
11691         is activated in one mode and we activate it in another, 
11692         deactivate it first before activating it in a different mode.
11693         Fixes #329198.
11694
11695 2006-07-08  Andy Wingo  <wingo@pobox.com>
11696
11697         * tools/gst-launch.c (main): Handle err == NULL.
11698
11699         * gst/gst.c (init_post, ensure_current_registry)
11700         (ensure_current_registry_forking)
11701         (ensure_current_registry_nonforking): Reduce #ifdef ratnest by
11702         factoring out the registry scanning into separate functions. Don't
11703         fork for the rescan is GST_REGISTRY_FORK=no; useful in debugging.
11704         Better environment var name/interface suggestions accepted.
11705
11706 2006-07-07  Tim-Philipp Müller  <tim at centricular dot net>
11707
11708         * gst/gstobject.c: (gst_object_set_name_default),
11709         (gst_object_set_name):
11710           Random micro-optimisation: don't use a hash table
11711           with strings as keys and the usual strdup/strcmp
11712           involved, but rather just use the GQuark of the
11713           type name as key, since it needs to be looked up
11714           anyway to get the type name string.
11715
11716         * tests/check/gst/gstobject.c: (GST_START_TEST):
11717           Fix various leaks.
11718
11719 2006-07-07  Tim-Philipp Müller  <tim at centricular dot net>
11720
11721         * gst/gstbin.c: (compare_interface), (gst_bin_get_by_interface),
11722         (gst_bin_iterate_all_by_interface):
11723           Can't use GPOINTER_TO_INT and GINT_TO_POINTER with GTypes.
11724           GTypes are gulongs and thus the top 4 bytes might be cut
11725           off on some platforms when doing GPOINTER_TO_INT, leading
11726           to invalid GTypes and bad things happening (see RH bug #179654).
11727           Also add a check to make sure the type passed in is really
11728           an interface type.
11729
11730 2006-07-07  Tim-Philipp Müller  <tim at centricular dot net>
11731
11732         * .cvsignore:
11733           Ignore more.
11734
11735 2006-07-07  Tim-Philipp Müller  <tim at centricular dot net>
11736
11737         * Makefile.am:
11738         * configure.ac:
11739         * gst-element-check.m4:
11740         * gst-element-check.m4.in:
11741           Make gst-element-check-$VERSION.m4 call gst-inspect-$VERSION
11742           instead of the unversioned gst-inspect (#324176, #168659).
11743
11744 2006-07-06  Wim Taymans  <wim@fluendo.com>
11745
11746         * gst/gstmessage.h:
11747         Use a valid int for the _MESSAGE_ANY enum value to avoid compiler
11748         warnings.
11749
11750 2006-07-06  Wim Taymans  <wim@fluendo.com>
11751
11752         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
11753         (gst_base_src_wait), (gst_base_src_update_length),
11754         (gst_base_src_get_range), (gst_base_src_default_check_get_range),
11755         (gst_base_src_check_get_range), (gst_base_src_pad_check_get_range),
11756         (gst_base_src_loop), (gst_base_src_start),
11757         (gst_base_src_activate_pull):
11758         Update docs.
11759         blocksize == 0 now means the default blocksize when working in push
11760         based mode.
11761         Remove some pointless asserts in _wait function.
11762         Fix offset/length calculations and EOS handling. We can now pull 0
11763         bytes as well, which is allowed.
11764         use _check_get_range() to decide if we can operate in _pull based
11765         mode.
11766         Fix refcounting leak when check_get_range function was not 
11767         implemented.
11768         API GstBaseSrc::blocksize range can be 0 too now (default)
11769
11770         * tests/check/elements/filesrc.c: (GST_START_TEST),
11771         (filesrc_suite):
11772         Added check to test _get_range() behaviour.
11773
11774 2006-07-06  Wim Taymans  <wim@fluendo.com>
11775
11776         * gst/gstpad.c: (gst_pad_chain_unchecked), (gst_pad_chain),
11777         (gst_pad_push), (gst_pad_check_pull_range), (gst_pad_get_range),
11778         (gst_pad_pull_range):
11779         * gst/gstpad.h:
11780         Lots of comments and docs added to the pad functions.
11781         Flesh out the expected behaviour of the get_range() functions.
11782
11783 2006-07-06  Wim Taymans  <wim@fluendo.com>
11784
11785         * gst/gstbus.h:
11786         * gst/gstclock.h:
11787         * gst/gstevent.h:
11788         * gst/gstiterator.h:
11789         * gst/gstpad.h:
11790         * gst/gstplugin.h:
11791         * gst/gsttask.h:
11792         Remove comma at end of enumerator list. 
11793
11794 2006-07-05  Sebastien Moutte  <sebastien@moutte.net>
11795
11796         * win32/common/libgstbase.def:
11797         * win32/common/libgstdataprotocol.def:
11798         * win32/common/libsgtreamer.def:
11799         Add new exported functions.
11800
11801 2006-07-05  Wim Taymans  <wim@fluendo.com>
11802
11803         * libs/gst/base/gstpushsrc.c: (gst_push_src_check_get_range):
11804         Add some more docs here and there.
11805
11806 2006-07-05  Wim Taymans  <wim@fluendo.com>
11807
11808         * libs/gst/base/gstbasesink.c: (gst_base_sink_preroll_object),
11809         (gst_base_sink_loop), (gst_base_sink_get_position):
11810         When operating in pull mode update the offset so that we
11811         read sequentially.
11812
11813 2006-07-05  Wim Taymans  <wim@fluendo.com>
11814
11815         * gst/gstregistryxml.c: (read_string):
11816         Avoid strdup. (will happen in libxml, but hey!)
11817
11818         * gst/gsturi.c:
11819         Add some more docs.
11820
11821 2006-07-05  Wim Taymans  <wim@fluendo.com>
11822
11823         * gst/gstbuffer.c: (_gst_buffer_copy), (gst_buffer_create_sub):
11824         * tests/check/gst/gstbuffer.c: (GST_START_TEST),
11825         (gst_buffer_suite):
11826         No point in checking if the size of the subbuffer > 0, the
11827         code handles it correclty as demonstrated by unit test.
11828         Also add a unit test for the zero sized _new_and_alloc and
11829         _copy. Fixes #346663.
11830
11831 2006-07-05  Wim Taymans  <wim@fluendo.com>
11832
11833         * libs/gst/base/gstbasetransform.c:
11834         (gst_base_transform_prepare_output_buffer),
11835         (gst_base_transform_buffer_alloc),
11836         (gst_base_transform_handle_buffer):
11837         Make sure the buffer we pass to transform_ip has a refcount of
11838         1 and thus is writable. Fixes #343196
11839
11840 2006-07-04  Jan Schmidt  <thaytan@mad.scientist.com>
11841
11842         * plugins/elements/gstfilesrc.c: (gst_file_src_class_init),
11843         (gst_file_src_init), (gst_file_src_set_property),
11844         (gst_file_src_get_property), (gst_file_src_map_region):
11845         * plugins/elements/gstfilesrc.h:
11846         Add "sequential" property, off by default, to use madvise and hint
11847         to the kernel that sequential access is desired.
11848         Touch all retrieved pages by default to ensure they are pulled
11849         into memory. (Closes #345720)
11850
11851 2006-07-03  Wim Taymans  <wim@fluendo.com>
11852
11853         * docs/design/part-block.txt:
11854         * docs/design/part-dynamic.txt:
11855         Small docs updates.
11856
11857 2006-07-03  Wim Taymans  <wim@fluendo.com>
11858
11859         * gst/gstcaps.c: (gst_caps_new_empty), (_gst_caps_free),
11860         (gst_caps_unref), (gst_static_caps_get),
11861         (gst_caps_append_structure):
11862         * gst/gstclock.c: (gst_clock_entry_new), (_gst_clock_id_free):
11863         Use GSlice when the glib we build against is >= 2.10
11864
11865 2006-07-03  Wim Taymans  <wim@fluendo.com>
11866
11867         * gst/gstelement.c: (gst_element_pads_activate):
11868         Small cleanup in pad activation code.
11869
11870 2006-07-03  Wim Taymans  <wim@fluendo.com>
11871
11872         Patch by: Peter Kjellerstedt <pkj at axis dot com>
11873
11874         * gst/gst-i18n-app.h:
11875         * gst/gst-i18n-lib.h:
11876         * tools/gst-inspect.c: (print_signal_info):
11877         The attached patch will make the inclusion of gettext.h unconditional in
11878         gst/gst-i18n-app.h and gst/gst-i18n-lib.h, and it will remove the inclusion of
11879         libintl.h in tools/gst-inspect.c.
11880         This allows use of --disable-nls again and fixes #344642.
11881
11882 2006-07-03  Edward Hervey  <edward@fluendo.com>
11883
11884         * gst/gstpad.c: (handle_pad_block), (gst_pad_push_event):
11885         Implement pad blocking on events according to part-block.txt.
11886         More comments on behaviour.
11887         * tests/check/gst/gstevent.c: (test_event):
11888         Send event to peer pad of blocked pad (else it will block).
11889
11890 2006-07-03  Thomas Vander Stichele  <thomas at apestaart dot org>
11891
11892         * libs/gst/check/gstcheck.c: (gst_check_message_error),
11893         (gst_check_run_suite):
11894           if we get the wrong message, give us the types as string
11895         * plugins/elements/gstfilesrc.c: (gst_file_src_start):
11896           Fix a translatable
11897         * tests/check/elements/filesrc.c: (GST_START_TEST):
11898           add a test for trying to open a non-existing file
11899
11900 2006-07-03  Thomas Vander Stichele  <thomas at apestaart dot org>
11901
11902         * tests/check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
11903           add a test for adding self
11904
11905 2006-07-03  Thomas Vander Stichele  <thomas at apestaart dot org>
11906
11907         * libs/gst/check/gstcheck.h:
11908           add some assert_ as alias for fail_unless_*
11909         * tests/check/gst/gst.c: (GST_START_TEST), (gst_suite):
11910           increase test coverage
11911
11912 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
11913
11914         * Makefile.am:
11915           include lcov.mak for lcov coverage generation
11916         * tools/Makefile.am:
11917           add to CLEANFILES
11918
11919 2006-07-02  Edward Hervey  <edward@fluendo.com>
11920
11921         * tests/check/elements/.cvsignore:
11922         moaping
11923
11924 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
11925
11926         * configure.ac:
11927           don't set CFLAGS and friends for gcov, done from GST_GCOV now
11928         * tests/check/Makefile.am:
11929           clean up gcov files
11930
11931 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
11932
11933         * gst/gstcaps.c: (gst_caps_remove_and_get_structure):
11934           remove gst_caps_simplify; it was not declared and not used
11935           and deprecated in 0.8
11936
11937 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
11938
11939         * docs/faq/gst-uninstalled:
11940           don't put empty paths on PYTHONPATH
11941         * docs/gst/gstreamer-sections.txt:
11942           remove some symbols that are not there
11943
11944 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
11945
11946         * gst/gstcaps.c: (gst_caps_compare_structures):
11947           whitespace fixes
11948         * tests/check/gst/gstbuffer.c: (GST_START_TEST):
11949         * tests/check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
11950           add more tests
11951
11952 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
11953
11954         * libs/gst/dataprotocol/Makefile.am:
11955           build dataprotocol test by linking to the lib, instead of
11956           compiling the source, so we get coverage
11957         * tests/check/Makefile.am:
11958         * tests/check/elements/filesrc.c: (event_func), (setup_filesrc),
11959         (cleanup_filesrc), (GST_START_TEST), (filesrc_suite):
11960           add a test for filesrc
11961
11962 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
11963
11964         * tests/check/gst/gststructure.c: (GST_START_TEST),
11965         (gst_structure_suite):
11966           Push coverage from 59.04% to 70.00%
11967
11968 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
11969
11970         * tests/check/Makefile.am:
11971           gst-inspect every element; this makes sure that we also get
11972           coverage on element's get/set functions
11973
11974 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
11975
11976         * configure.ac:
11977           set CFLAGS and friends to -O0 if gcov is being used
11978           add GCOV LIBS
11979         * gst/Makefile.am:
11980         * libs/gst/base/Makefile.am:
11981         * libs/gst/check/Makefile.am:
11982         * libs/gst/controller/Makefile.am:
11983         * libs/gst/dataprotocol/Makefile.am:
11984         * libs/gst/net/Makefile.am:
11985         * plugins/elements/Makefile.am:
11986         * plugins/indexers/Makefile.am:
11987           add makefile rules to generate gcov data and clean up
11988         * tests/check/Makefile.am:
11989           add a coverage target that generates an html overview
11990           of coverage data
11991
11992 2006-07-01  Thomas Vander Stichele  <thomas at apestaart dot org>
11993
11994         * tests/check/elements/fakesink.c:
11995         * tests/check/elements/fakesrc.c:
11996         * tests/check/elements/fdsrc.c:
11997         * tests/check/elements/identity.c:
11998         * tests/check/generic/sinks.c: (gst_sinks_suite):
11999         * tests/check/generic/states.c:
12000         * tests/check/gst/gst.c:
12001         * tests/check/gst/gstabi.c:
12002         * tests/check/gst/gstbin.c:
12003         * tests/check/gst/gstbuffer.c: (gst_buffer_suite):
12004         * tests/check/gst/gstbus.c: (gst_bus_suite):
12005         * tests/check/gst/gstcaps.c: (GST_START_TEST):
12006         * tests/check/gst/gstelement.c:
12007         * tests/check/gst/gstevent.c: (gst_event_suite):
12008         * tests/check/gst/gstghostpad.c:
12009         * tests/check/gst/gstiterator.c: (gst_iterator_suite):
12010         * tests/check/gst/gstmessage.c: (gst_message_suite):
12011         * tests/check/gst/gstminiobject.c:
12012         * tests/check/gst/gstobject.c:
12013         * tests/check/gst/gstpad.c:
12014         * tests/check/gst/gstpipeline.c:
12015         * tests/check/gst/gstplugin.c:
12016         * tests/check/gst/gstquery.c: (gst_query_suite):
12017         * tests/check/gst/gstsegment.c: (gst_segment_suite):
12018         * tests/check/gst/gststructure.c:
12019         * tests/check/gst/gstsystemclock.c:
12020         * tests/check/gst/gsttag.c:
12021         * tests/check/gst/gsttask.c: (gst_task_suite):
12022         * tests/check/gst/gstutils.c:
12023         * tests/check/gst/gstvalue.c:
12024         * tests/check/libs/adapter.c:
12025         * tests/check/libs/basesrc.c:
12026         * tests/check/libs/collectpads.c:
12027         * tests/check/libs/controller.c:
12028         * tests/check/libs/gdp.c: (gst_dp_suite):
12029         * tests/check/libs/gstnetclientclock.c:
12030         * tests/check/libs/gstnettimeprovider.c:
12031         * tests/check/libs/libsabi.c: (libsabi_suite):
12032         * tests/check/libs/typefindhelper.c:
12033         * tests/check/pipelines/cleanup.c:
12034         * tests/check/pipelines/parse-launch.c:
12035         * tests/check/pipelines/simple-launch-lines.c:
12036         * tests/check/pipelines/stress.c: (stress_suite):
12037           use the new macro
12038
12039 2006-07-01  Thomas Vander Stichele  <thomas at apestaart dot org>
12040
12041         * libs/gst/check/gstcheck.c: (gst_check_run_suite):
12042         * libs/gst/check/gstcheck.h:
12043           create a macro and function so that the simple unit test
12044           case can be just one macro to create main()
12045
12046 2006-06-30  Tim-Philipp Müller  <tim at centricular dot net>
12047
12048         * gst/gstbin.c: (gst_bin_restore_thyself):
12049         * gst/gstxml.c: (gst_xml_make_element):
12050           Fix deserialisation from XML. Set parent manually
12051           instead of using gst_bin_add(), since gst_bin_add()
12052           will unlink all pads of the element being added.
12053           Fixes #341667.
12054
12055 2006-06-28  Tim-Philipp Müller  <tim at centricular dot net>
12056
12057         Patch by: Peter Kjellerstedt <pkj at axis com>
12058
12059         * gst/gst.c: (prepare_for_load_plugin_func), (split_and_iterate):
12060           Fix missing g_strdup() and double free when using the
12061           --gst-plugin-load command line option (#346097).
12062
12063 2006-06-23  Tim-Philipp Müller  <tim at centricular dot net>
12064
12065         * gst/gstinfo.c:
12066           Promote GST_DEBUG_CATEGORY_STATIC in example in docs.
12067
12068         * libs/gst/net/gstnetclientclock.c:
12069         * libs/gst/net/gstnettimeprovider.c:
12070           Use GST_DEBUG_CATEGORY_STATIC here too (#342503).
12071
12072 2006-06-23  Tim-Philipp Müller  <tim at centricular dot net>
12073
12074         * docs/manual/advanced-dataaccess.xml:
12075           Fix buffer probe example compilation in
12076           ADM (#345708).
12077         
12078 2006-06-22  Edward Hervey  <edward@fluendo.com>
12079
12080         * gst/gstelement.c: (gst_element_pads_activate):
12081         We need to deactivate src pads first and then sink pads.
12082         The reason is the src pads might be blocking while holding the streaming
12083         lock, so we need to deactivate them first so that deactivating the sink
12084         pads doesn't block (since it will require the streaming lock).
12085
12086 2006-06-22  Wim Taymans  <wim@fluendo.com>
12087
12088         * libs/gst/base/gstbasetransform.c:
12089         (gst_base_transform_buffer_alloc):
12090         Forgot to remove two unneeded unrefs.
12091         Simplify a check _is_equal allready checks the obvious case.
12092
12093 2006-06-22  Wim Taymans  <wim@fluendo.com>
12094
12095         * docs/design/part-block.txt:
12096         Some docs about what pad_block should do.
12097
12098 2006-06-22  Wim Taymans  <wim@fluendo.com>
12099
12100         * gst/gstcaps.c: (gst_caps_replace):
12101         Fix crasher when passed NULL. Doc clarification.
12102         Optimize for the trivial case.
12103
12104         * gst/gstpipeline.c: (gst_pipeline_change_state):
12105         Small cleanups.
12106
12107         * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
12108         Small documentation cleanup.
12109
12110         * libs/gst/base/gstbasetransform.c:
12111         (gst_base_transform_buffer_alloc):
12112         Don't use silly gst_pad_get_negotiated_caps, GST_PAD_CAPS
12113         is what we need and it avoids a whole lot of redundant 
12114         refcount operations.
12115
12116 2006-06-22  Tim-Philipp Müller  <tim at centricular dot net>
12117
12118         Patch by: Philip Jägenstedt  <philip at lysator liu se>
12119
12120         * docs/manual/advanced-dataaccess.xml:
12121           Fix 'Embedding static elements' section to use
12122           GST_PLUGIN_DEFINE_STATIC (#345607).
12123
12124 2006-06-21  Tim-Philipp Müller  <tim at centricular dot net>
12125
12126         * tests/check/pipelines/simple-launch-lines.c: (test_stop_from_app):
12127           Attempt to 'fix' spuriously failing test case: it seems like the
12128           timeout of half a second is simply too small when the system is under
12129           load otherwise, and the timeout doesn't really seem to serve any
12130           particular purpose here. Give the pipeline a few seconds to preroll
12131           first, and then give it another half a second to go from PAUSED to
12132           PLAYING and marshal the message into the main thread.
12133
12134 2006-06-21  Tim-Philipp Müller  <tim at centricular dot net>
12135
12136         * tools/gst-feedback-m.m:
12137           Don't only use unversioned tools, try versioned tools as well
12138           (#345086).
12139
12140 2006-06-21  Tim-Philipp Müller  <tim at centricular dot net>
12141
12142         * gst/gstbus.c: (gst_bus_class_init):
12143           Fix some typos, make docs more explicit.
12144
12145 2006-06-20  Wim Taymans  <wim@fluendo.com>
12146
12147         * tests/check/gst/gstghostpad.c: (block_callback),
12148         (GST_START_TEST), (gst_ghost_pad_suite):
12149         Added some more ghostpad tests, mainly blocking
12150         and probes.
12151
12152 2006-06-16  Wim Taymans  <wim@fluendo.com>
12153
12154         * plugins/elements/gstfilesink.c: (gst_file_sink_open_file),
12155         (gst_file_sink_close_file), (gst_file_sink_do_seek),
12156         (gst_file_sink_event), (gst_file_sink_render):
12157         * plugins/elements/gstfilesink.h:
12158         Check if we can seek in the file instead of assuming
12159         we always can. Post an error when we are asked to seek in a
12160         non-seekable file (like a fifo). Fixes #343312.
12161         Some cleanups.
12162
12163 2006-06-16  Tim-Philipp Müller  <tim at centricular dot net>
12164
12165         * tools/gst-launch.1.in:
12166           Un-garble (fourcc) bit in filtered caps section.
12167
12168 2006-06-16  Tim-Philipp Müller  <tim at centricular dot net>
12169
12170         * docs/manual/advanced-autoplugging.xml:
12171         * docs/manual/basics-helloworld.xml:
12172         * docs/manual/highlevel-components.xml:
12173           Don't leak bus reference in sample code.
12174
12175 2006-06-15  Tim-Philipp Müller  <tim at centricular dot net>
12176
12177         * autogen.sh:
12178           Add default for new --enable-plugin-docs switch.
12179
12180         * configure.ac:
12181           Use new GST_PLUGIN_DOCS macro to check for pyxml etc.
12182           Fixes #344039.
12183
12184         * docs/Makefile.am:
12185           Use new ENABLE_PLUGIN_DOCS conditional.
12186
12187 2006-06-14  Wim Taymans  <wim@fluendo.com>
12188
12189         * gst/gstbin.c: (bin_query_duration_done), (gst_bin_query):
12190         Make it clear with a FIXME and a real define what the #if 0
12191         previously disabled.
12192
12193 2006-06-14  Wim Taymans  <wim@fluendo.com>
12194
12195         * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment),
12196         (gst_base_sink_preroll_object), (gst_base_sink_get_position):
12197         * libs/gst/base/gstbasetransform.c:
12198         (gst_base_transform_sink_eventfunc):
12199         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_event):
12200         Don't randomly and silently reset a segment when the format 
12201         changes as this is a bug somewhere upstream. Fixes #330379.
12202
12203 2006-06-14  Tim-Philipp Müller  <tim at centricular dot net>
12204
12205         Patch by: Wouter Paesen  <wouter at kangaroot net>
12206
12207         * libs/gst/controller/gstcontroller.c:
12208         (gst_controlled_property_new):
12209           Fix controlling of float properties (#344849).
12210
12211         * tests/check/libs/controller.c:
12212         (gst_test_mono_source_get_property),
12213         (gst_test_mono_source_set_property),
12214         (gst_test_mono_source_class_init), (GST_START_TEST):
12215           While we're at it, add some float stuff to unit test.
12216
12217 2006-06-13  Thomas Vander Stichele  <thomas at apestaart dot org>
12218
12219         * docs/README:
12220         * docs/images/gdp-header.svg:
12221           add a gdp image
12222         * docs/libs/Makefile.am:
12223         * docs/libs/gdp-header.png:
12224         * libs/gst/dataprotocol/dataprotocol.c:
12225           add it to the API docs
12226         * docs/manual/intro-motivation.xml:
12227           fix typo
12228
12229 2006-06-13  Tim-Philipp Müller  <tim at centricular dot net>
12230
12231         * gst/gst.c: (scan_and_update_registry), (init_post):
12232           If the fork()'ed child process can't write the updated registry cache
12233           file to disk for some reason, make it exit with a failure exit code,
12234           so that the parent can then re-scan the plugins itself and update the
12235           registry structures in memory and work with that (rather than failing
12236           when creating elements because seemingly no plugins are available).
12237           Refactor registry scanning code into separate function for this and
12238           also separate fork() and non-fork() code paths. Fixes #344748.
12239
12240 2006-06-13  Wim Taymans  <wim@fluendo.com>
12241
12242         * docs/manual/advanced-dataaccess.xml:
12243         Fix wrong PluginDesc. Fixes #344755.
12244
12245 2006-06-13  Tim-Philipp Müller  <tim at centricular dot net>
12246
12247         * gst/gstregistryxml.c: (gst_registry_xml_write_cache):
12248           Fix silly bug that prevented us from creating
12249           ~/.gstreamer-0.10 and writing the registry in one
12250           go (the first call to g_mkstemp() would overwrite the
12251           placeholder in the template string, so the second call
12252           to g_mkstemp() after creating the missing directory
12253           would then error out with 'invalid argument').
12254
12255 2006-06-13  Edward Hervey  <edward@fluendo.com>
12256
12257         * gst/gst.c: (init_post):
12258         Free string.
12259
12260 2006-06-13  Thomas Vander Stichele  <thomas at apestaart dot org>
12261
12262         * gst/glib-compat-private.h:
12263         * gst/glib-compat.c:
12264         * gst/glib-compat.h:
12265         * gst/gstvalue.c: (gst_value_serialize_flags):
12266           remove GLib 2.6 compatibility code
12267
12268 2006-06-12  Tim-Philipp Müller  <tim at centricular dot net>
12269
12270         * gst/parse/Makefile.am:
12271           Fix build with 'make -j N' even more (#340016).
12272
12273 2006-06-12  Wim Taymans  <wim@fluendo.com>
12274
12275         * docs/gst/gstreamer-sections.txt:
12276         Fix docs.
12277
12278 2006-06-12  Wim Taymans  <wim@fluendo.com>
12279
12280         * gst/gstsegment.c: (gst_segment_set_duration),
12281         (gst_segment_set_last_stop), (gst_segment_set_seek),
12282         (gst_segment_set_newsegment_full), (gst_segment_to_stream_time),
12283         (gst_segment_to_running_time), (gst_segment_clip):
12284         Use G_UNLIKELY to help the compiler a bit.
12285
12286 2006-06-12  Wim Taymans  <wim@fluendo.com>
12287
12288         Patch by: Stefan Kost <ensonic at sonicpulse dot de>
12289
12290         * gst/gstevent.c: (gst_event_get_type):
12291         * gst/gstmessage.c:
12292         * gst/gstpad.c: (gst_pad_chain_unchecked), (gst_pad_chain),
12293         (gst_pad_push):
12294         constify quark registration strings. Fixes #344115
12295         Avoid unneeded type checking is _pad_push() by internally
12296         calling gst_pad_chain_unchecked().
12297
12298 2006-06-12  Wim Taymans  <wim@fluendo.com>
12299
12300         * gst/gstbuffer.c: (gst_buffer_get_type), (gst_buffer_finalize),
12301         (_gst_buffer_copy), (gst_buffer_is_metadata_writable),
12302         (gst_subbuffer_finalize), (gst_buffer_create_sub),
12303         (gst_buffer_is_span_fast), (gst_buffer_span):
12304         Init _type for consistency.
12305         Use _FLAGS macro to avoid type check.
12306         Avoid unneeded type checks in subbufer code.
12307
12308 2006-06-12  Wim Taymans  <wim@fluendo.com>
12309
12310         * gst/gst.c: (gst_debug_help):
12311         * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_list_free):
12312         * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
12313         (gst_plugin_feature_list_free):
12314         * gst/gstregistry.c: (gst_registry_add_plugin),
12315         (gst_registry_add_feature), (gst_registry_plugin_filter),
12316         (gst_registry_feature_filter), (gst_registry_find_plugin),
12317         (gst_registry_find_feature), (gst_registry_get_plugin_list),
12318         (gst_registry_lookup_feature_locked), (gst_registry_lookup_locked):
12319         * gst/gstregistryxml.c: (load_feature),
12320         (gst_registry_xml_read_cache), (gst_registry_xml_write_cache):
12321         * gst/gstminiobject.c: (gst_mini_object_unref),
12322         (gst_mini_object_replace), (gst_value_mini_object_free),
12323         (gst_value_mini_object_copy):
12324         Use _CAST macros to avoid unneeded type checking.
12325         Added some more G_UNLIKELY.
12326
12327 2006-06-12  Wim Taymans  <wim@fluendo.com>
12328
12329         * gst/gstbuffer.h:
12330         Avoid unneeded type checking.
12331         API: GST_BUFFER_IS_DISCONT
12332
12333         * gst/gstminiobject.h:
12334         Avoid type check in flag accessor.
12335
12336         * gst/gstelementfactory.h:
12337         * gst/gstplugin.h:
12338         * gst/gstpluginfeature.h:
12339         Add _CAST macros.
12340         API: GST_ELEMENT_FACTORY_CAST
12341         API: GST_PLUGIN_CAST
12342         API: GST_PLUGIN_FEATURE_CAST
12343
12344 2006-06-12  Wim Taymans  <wim@fluendo.com>
12345
12346         * gst/gstobject.c: (gst_object_get_type), (gst_object_ref),
12347         (gst_object_unref):
12348         Add G_UNLIKELY in type registration.
12349         Avoid type check in _ref/_unref since that is also
12350         done in glib.
12351
12352 2006-06-12  Wim Taymans  <wim@fluendo.com>
12353
12354         * gst/gsterror.c: (gst_g_error_get_type):
12355         * gst/gstpadtemplate.c: (gst_pad_template_get_type),
12356         (gst_static_pad_template_get_type):
12357         * gst/gsttaglist.c: (gst_tag_list_get_type):
12358         * gst/gsttagsetter.c: (gst_tag_setter_get_type):
12359         * gst/gsttypefindfactory.c: (gst_type_find_factory_get_type):
12360         * gst/gsturi.c: (gst_uri_handler_get_type):
12361         * gst/gstvalue.c: (gst_date_get_type):
12362         * gst/gstxml.c: (gst_xml_get_type):
12363         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_type),
12364         (gst_base_sink_preroll_object), (gst_base_sink_get_position):
12365         * libs/gst/base/gstbasesrc.c: (gst_base_src_get_type):
12366         Add G_UNLIKELY in type registration.
12367
12368 2006-06-12  Wim Taymans  <wim@fluendo.com>
12369
12370         * tools/gst-inspect.c: (print_signal_info):
12371         Properly print enum values.
12372
12373 2006-06-12  Wim Taymans  <wim@fluendo.com>
12374
12375         * gst/gstinfo.c: (gst_debug_set_active),
12376         (gst_debug_category_set_threshold), (_gst_debug_nameof_funcptr):
12377         * gst/gstinfo.h:
12378         Add some G_[UN]LIKELY.
12379         Maintain __gst_debug_min to avoid formatting the arguments of
12380         debug messages that will be dropped anyway to avoid a lot of 
12381         overhead from the debugging system.
12382
12383 2006-06-11  Stefan Kost  <ensonic@users.sf.net>
12384
12385         * po/POTFILES.in:
12386         * po/POTFILES.skip:
12387           add missing files containing translatable strings, tell intltool about
12388           one exception
12389
12390 2006-06-11  Stefan Kost  <ensonic@users.sf.net>
12391
12392         * tests/check/libs/.cvsignore:
12393         add test-binary to ignore list
12394
12395 2006-06-11  Stefan Kost  <ensonic@users.sf.net>
12396
12397         * docs/libs/gstreamer-libs-docs.sgml:
12398         reorder (put dp into a chapter) and indent
12399
12400 2006-06-10  Thomas Vander Stichele  <thomas at apestaart dot org>
12401
12402         * configure.ac:
12403           back to HEAD
12404
12405 === release 0.10.8 ===
12406
12407 2006-06-10  Thomas Vander Stichele <thomas at apestaart dot org>
12408
12409         * configure.ac:
12410           releasing 0.10.8, "Soepeke, ik zie ou nog altijd nie"
12411
12412 2006-06-10  Thomas Vander Stichele  <thomas at apestaart dot org>
12413
12414         * gst/gst.c: (init_post):
12415           move pid declaration to declaration block
12416
12417 2006-06-10  Thomas Vander Stichele  <thomas at apestaart dot org>
12418
12419         * gst/gst.c: (init_post):
12420           use _exit() instead of exit() in our forked child; this ensures
12421           that none of the registered exit handlers from whatever is using
12422           GStreamer get executed.  This fixes gnome-mixer-applet failing
12423           to load, because ORBit would shut down.
12424           Spotted by: Edward Hervey  <edward@fluendo.com>
12425           Fix suggested by: Tim-Philipp Müller  <tim at centricular dot net>
12426           Fixes #344474
12427
12428 2006-06-09  Thomas Vander Stichele  <thomas at apestaart dot org>
12429
12430         * configure.ac:
12431           back to TRUNK
12432
12433 === release 0.10.7 ===
12434
12435 2006-06-09  Thomas Vander Stichele <thomas at apestaart dot org>
12436
12437         * configure.ac:
12438           releasing 0.10.7, "Soepeke, ik zie ou"
12439
12440 2006-06-07  Thomas Vander Stichele  <thomas at apestaart dot org>
12441
12442         * configure.ac:
12443         * po/af.po:
12444         * po/az.po:
12445         * po/bg.po:
12446         * po/ca.po:
12447         * po/cs.po:
12448         * po/de.po:
12449         * po/en_GB.po:
12450         * po/fr.po:
12451         * po/it.po:
12452         * po/nb.po:
12453         * po/nl.po:
12454         * po/ru.po:
12455         * po/sq.po:
12456         * po/sr.po:
12457         * po/sv.po:
12458         * po/tr.po:
12459         * po/uk.po:
12460         * po/vi.po:
12461         * po/zh_CN.po:
12462         * po/zh_TW.po:
12463         * win32/common/config.h:
12464           0.10.6.2 prerelease
12465
12466 2006-06-07  Wim Taymans  <wim@fluendo.com>
12467
12468         * gst/gstindex.c: (gst_index_gtype_resolver):
12469         * tools/gst-xmlinspect.c: (print_plugin_info):
12470         Fix leak spotted by coverity checker. Fixes #343827
12471         Fix another other leak found by paolo borelli.
12472
12473 2006-06-06  Thomas Vander Stichele  <thomas at apestaart dot org>
12474
12475         * libs/gst/dataprotocol/dataprotocol.c:
12476         (gst_dp_header_from_buffer_any), (gst_dp_packet_from_caps_any),
12477         (gst_dp_version_get_type), (gst_dp_init),
12478         (gst_dp_header_from_buffer), (gst_dp_header_from_buffer_1_0),
12479         (gst_dp_packet_from_caps), (gst_dp_packet_from_caps_1_0),
12480         (gst_dp_packet_from_event), (gst_dp_packet_from_event_1_0),
12481         (gst_dp_event_from_packet_0_2), (gst_dp_event_from_packet_1_0),
12482         (gst_dp_event_from_packet), (gst_dp_packetizer_new),
12483         (gst_dp_packetizer_free):
12484         * libs/gst/dataprotocol/dataprotocol.h:
12485           API: add a GstDPPacketizer object, and create/free functions
12486           API: add GstDPVersion enum
12487           Add 1.0 event function that uses the string serialization
12488           Serialize more useful buffer flags
12489           Fixes #343988
12490
12491 2006-06-06  Thomas Vander Stichele  <thomas at apestaart dot org>
12492
12493         * tests/check/Makefile.am:
12494         * tests/check/gst/gstabi.c:
12495         * tests/check/gst/struct_ppc64.h:
12496         * tests/check/libs/libsabi.c:
12497         * tests/check/libs/struct_ppc64.h:
12498           add ppc64 structure sizes
12499
12500 2006-06-06  Thomas Vander Stichele  <thomas at apestaart dot org>
12501
12502         * tests/check/Makefile.am:
12503         * tests/check/gst/gstabi.c:
12504         * tests/check/gst/struct_x86_64.h:
12505         * tests/check/libs/libsabi.c:
12506         * tests/check/libs/struct_x86_64.h:
12507           generate and add structure size lists for x86_64
12508
12509 2006-06-06  Thomas Vander Stichele  <thomas at apestaart dot org>
12510
12511         * libs/gst/check/gstcheck.c: (gst_check_abi_list):
12512         * libs/gst/check/gstcheck.h:
12513           factor out the method from tests that checks size of structures,
12514           and add code to generate the header containing these sizes
12515         * tests/check/gst/gstabi.c: (GST_START_TEST):
12516         * tests/check/gst/struct_i386.h:
12517         * tests/check/libs/libsabi.c: (GST_START_TEST):
12518         * tests/check/libs/struct_i386.h:
12519           use it
12520
12521 2006-06-06  Michael Smith  <msmith@fluendo.com>
12522
12523         * gst/gstsegment.h:
12524           Don't use c++-style comments, fixes #343929
12525
12526 2006-06-05  Edward Hervey  <edward@fluendo.com>
12527
12528         * gst/gst.c:
12529         plugin_paths is not used if we build without registry support.
12530
12531         * gst/gstsegment.c: (gst_segment_copy): 
12532         _copy() was always returning NULL...
12533
12534 2006-06-02  Thomas Vander Stichele  <thomas at apestaart dot org>
12535
12536         * libs/gst/dataprotocol/dataprotocol.c:
12537         (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
12538         (gst_dp_packet_from_event):
12539           factor out CRC code
12540
12541 2006-06-02  Thomas Vander Stichele  <thomas at apestaart dot org>
12542
12543         * libs/gst/check/gstcheck.c: (gst_check_teardown_src_pad):
12544           make sure we unset caps
12545
12546 2006-06-02  Michael Smith  <msmith@fluendo.com>
12547
12548         * libs/gst/check/gstcheck.c: (gst_check_init),
12549         (gst_check_chain_func):
12550         * libs/gst/check/gstcheck.h:
12551           Add a cond/mutex to the check support lib, signal this whenever we
12552           add to the buffers list. This will allow tests to not busy-wait on
12553           the buffer-list.
12554
12555 2006-06-02  Thomas Vander Stichele  <thomas at apestaart dot org>
12556
12557         * libs/gst/dataprotocol/dataprotocol.c:
12558         (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
12559         (gst_dp_packet_from_event):
12560           factor out some common header init code
12561
12562 2006-06-02  Thomas Vander Stichele  <thomas at apestaart dot org>
12563
12564         * docs/libs/gstreamer-libs-sections.txt:
12565         * docs/libs/tmpl/gstdataprotocol.sgml:
12566         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_crc):
12567         * libs/gst/dataprotocol/dataprotocol.h:
12568           API: make gst_dp_crc() public
12569
12570 2006-06-01  Stefan Kost  <ensonic@users.sf.net>
12571
12572         * plugins/indexers/gstindexers.c: (plugin_init):
12573         conditionally register fileindexer (fixes #343598)
12574
12575 2006-06-01  Stefan Kost  <ensonic@users.sf.net>
12576
12577         * gst/gsttagsetter.h:
12578         Can't cast ifaces to a class
12579
12580         * libs/gst/net/gstnetclientclock.h:
12581         * libs/gst/net/gstnettimeprovider.h:
12582         * plugins/elements/gstfakesink.h:
12583         * plugins/elements/gstfakesrc.h:
12584         * plugins/elements/gstfdsink.h:
12585         * plugins/elements/gstfdsrc.h:
12586         * plugins/elements/gstfilesink.h:
12587         * plugins/elements/gstfilesrc.h:
12588         * plugins/elements/gstidentity.h:
12589         * plugins/elements/gstqueue.h:
12590         * plugins/elements/gsttee.h:
12591         * plugins/indexers/gstfileindex.c:
12592         * plugins/indexers/gstmemindex.c:
12593         * tests/old/examples/plugins/example.h:
12594         Fix more gobject macros: obj<->klass, GstXXX<->GstXXXClass
12595
12596 2006-06-01  Thomas Vander Stichele  <thomas at apestaart dot org>
12597
12598         * libs/gst/dataprotocol/dataprotocol.c:
12599         (gst_dp_header_from_buffer):
12600           make sure we zero the whole ABI-compatible area
12601
12602 2006-06-01  Wim Taymans  <wim@fluendo.com>
12603
12604         Patch by: Alessandro Decina <alessandro at nnva dot org>
12605
12606         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_stop):
12607         Make sure the EOS flag is cleared from pads after a flush
12608         or stop. Fixes #343538.
12609
12610         * tests/check/libs/collectpads.c: (GST_START_TEST),
12611         (gst_collect_pads_suite):
12612         Added test for collectpads reusage after EOS.
12613
12614 2006-05-30  Sebastien Moutte  <sebastien@moutte.net>
12615
12616         * gst/gst.c:
12617          set #include <sys/wait.h> in a #ifdef #ifdef HAVE_FORK
12618         * win32/common/libgstbase.def:
12619          export gst_collect_pads_set_flushing
12620         * win32/common/libgstreamer.def:
12621          export gst_pad_set_acceptcaps_function, gst_structure_empty_new,
12622          gst_value_fraction_multiply
12623         * win32/vs6/gst_inspect.dsp:
12624          add a link to intl.lib
12625
12626 2006-05-30  Wim Taymans  <wim@fluendo.com>
12627
12628         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad),
12629         (gst_collect_pads_chain):
12630         Handle the case where a pad is removed from the collection
12631         that could cause the other pads to become collectable.
12632
12633 2006-05-30  Wim Taymans  <wim@fluendo.com>
12634
12635         * gst/gstelement.c:
12636         Clarify the use of _release_request_pad() and
12637         _get_request_pad() a bit better.
12638
12639         * libs/gst/base/gstadapter.c: (gst_adapter_peek),
12640         (gst_adapter_take_buffer):
12641         Fix some doc and comment typos.
12642
12643 2006-05-30  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
12644
12645         * docs/gst/gstreamer-sections.txt:
12646         * docs/libs/gstreamer-libs-sections.txt:
12647           add declared symbols
12648
12649 2006-05-30  Jan Schmidt  <thaytan@mad.scientist.com>
12650
12651         * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
12652         Add debug that can be enabled using a #define at the top of the file,
12653         for dumping stats about how late/early we were when waking up from
12654         waiting on the clock.
12655
12656 2006-05-30  Wim Taymans  <wim@fluendo.com>
12657
12658         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_check_pads):
12659         When rebuilding the pad list, don't leak the previous list.
12660
12661 2006-05-30  Wim Taymans  <wim@fluendo.com>
12662
12663         Patch by: Lutz Mueller <lutz at topfrose dot de>
12664
12665         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
12666         (gst_base_src_get_query_types), (gst_base_src_update_length):
12667         Publish supported query types.
12668         Update last_stop field in get_range mode so the position
12669         query works. Fixes #342321.
12670
12671 2006-05-30  Tim-Philipp Müller  <tim at centricular dot net>
12672
12673         * docs/gst/gstreamer-sections.txt:
12674         * gst/gsttaglist.c: (_gst_tag_initialize):
12675         * gst/gsttaglist.h:
12676           API: add GST_TAG_PREVIEW_IMAGE (#343341).
12677
12678 2006-05-30  Wim Taymans  <wim@fluendo.com>
12679
12680         Patch by: Alessandro Decina <alessandro at nnva dot org>
12681
12682         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad):
12683         Unlock mutex when removing an unknown pad.
12684         Fixes #343334.
12685
12686         * tests/check/Makefile.am:
12687         * tests/check/libs/collectpads.c: (collected_cb), (push_buffer),
12688         (push_event), (setup), (teardown), (GST_START_TEST),
12689         (gst_collect_pads_suite), (main):
12690         Added collecpads check, disabled for now as check crashes for
12691         some reason.
12692
12693 2006-05-29  Wim Taymans  <wim@fluendo.com>
12694
12695         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize):
12696         Don't leak pads lists.
12697
12698 2006-05-29  Wim Taymans  <wim@fluendo.com>
12699
12700         * docs/libs/gstreamer-libs-sections.txt:
12701         * libs/gst/base/gstcollectpads.c:
12702         (gst_collect_pads_set_flushing_unlocked),
12703         (gst_collect_pads_set_flushing), (gst_collect_pads_start),
12704         (gst_collect_pads_stop):
12705         * libs/gst/base/gstcollectpads.h:
12706         API: gst_collect_pads_set_flushing()
12707         Added api to set the pads to flushing, useful for seeking
12708         code in elements using collectpads.
12709         Clear segment when receiving a flush.
12710
12711 2006-05-29  Tim-Philipp Müller  <tim at centricular dot net>
12712
12713         * gst/gst.c: (add_path_func), (init_post):
12714           Don't scan registry paths passed via --gst-plugin-path immediately
12715           (will crash, because absolutely nothing is set up and no types are
12716           registered etc.); do this later in init_post(). Fixes #343057.
12717
12718 2006-05-28  Thomas Vander Stichele  <thomas at apestaart dot org>
12719
12720         * gst/gst.c: (init_post):
12721           if we have fork, fork while reading/rebuilding the registry
12722           so the parent doesn't take the hit of having all plugins loaded
12723           in memory.  Fixes #342777.
12724         * configure.ac:
12725           Check if we have fork()
12726         * win32/common/config.h.in:
12727           no fork() on win32
12728
12729 2006-05-26  Jan Schmidt  <thaytan@mad.scientist.com>
12730
12731         * plugins/elements/gstelements.c:
12732         * plugins/elements/gstfilesrc.c: (gst_file_src_class_init),
12733         (gst_file_src_init), (gst_file_src_set_property),
12734         (gst_file_src_get_property), (gst_file_src_start):
12735         * plugins/elements/gstfilesrc.h:
12736           API: GstFileSrc::use-mmap
12737
12738         Add a use-mmap property to enable easier testing of all code paths.
12739         Bump rank to PRIMARY, so filesrc is the preferred file reader and used
12740         in the absence of gnomevfssrc. (Closes #340501)
12741
12742 2006-05-26  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
12743
12744         * tools/gst-inspect.c:
12745         Add missing include, removes warning of ngettext not being defined on
12746         some arches.
12747
12748 2006-05-26  Jan Schmidt  <thaytan@mad.scientist.com>
12749
12750         * gst/gstvalue.c: (gst_value_deserialize_fraction):
12751         Handle NULL input and output pointers silently as a failed conversion,
12752         rather than g_warnings.
12753
12754 2006-05-25  Wim Taymans  <wim@fluendo.com>
12755
12756         * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_start):
12757         Initialize variable before using. Fixes #342820.
12758
12759 2006-05-24  Tim-Philipp Müller  <tim at centricular dot net>
12760
12761         * libs/gst/base/gsttypefindhelper.c: (buf_helper_find_peek):
12762           Fix off-by-one bug that would only allow peeks of N-1 bytes
12763           from the start even if the buffer to typefind on contains
12764           in fact N bytes of data (makes vorbis typefinding from a
12765           vorbis identification header buffer work).
12766
12767         * tests/check/Makefile.am:
12768         * tests/check/libs/.cvsignore:
12769         * tests/check/libs/typefindhelper.c: (GST_START_TEST),
12770         (gst_typefindhelper_suite), (main), (foobar_typefind),
12771         (plugin_init):
12772           Add very basic unit test for gst_type_find_helper_for_buffer()
12773           that checks for the problem fixed above.
12774
12775 2006-05-24  Thomas Vander Stichele  <thomas at apestaart dot org>
12776
12777         * tools/gst-inspect.c: (print_interfaces),
12778         (print_element_properties_info), (print_element_list), (main):
12779           add more translatable strings
12780
12781 2006-05-23  Tim-Philipp Müller  <tim at centricular dot net>
12782
12783         Patch by: Julien Moutte  <julien at moutte net>
12784
12785         * docs/gst/gstreamer-sections.txt:
12786           Make new GST_FLOW_IS_SUCCESS macro visible in docs.
12787           
12788         * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init),
12789         (gst_fake_sink_preroll):
12790         * plugins/elements/gstfakesink.h:
12791           API: Add new GstFakeSink::preroll-handoff signal (#337100).
12792
12793 2006-05-23  Wim Taymans  <wim@fluendo.com>
12794
12795         * gst/gstpad.c: (gst_flow_get_name), (gst_flow_to_quark):
12796         * gst/gstpad.h:
12797         Added _CUSTOM error and success GstFlowReturn that can be
12798         used be elements internally. 
12799         Added macro to check for SUCCESS flowreturns.
12800         API: GST_FLOW_CUSTOM_SUCCESS
12801         API: GST_FLOW_CUSTOM_ERROR
12802         API: GST_FLOW_IS_SUCCESS
12803
12804         * tests/check/gst/gstpad.c: (GST_START_TEST), (gst_pad_suite):
12805         Added check for GstFlowReturn sanity.
12806
12807 2006-05-23  Wim Taymans  <wim@fluendo.com>
12808
12809         Patch by: Mark Nauwelaerts <manauw at skynet dot be>
12810
12811         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad),
12812         (gst_collect_pads_event):
12813         clear/reset segment info in FLUSH_STOP.
12814         Fixes #336929.
12815
12816 2006-05-22  Stefan Kost  <ensonic@users.sf.net>
12817
12818         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_stop),
12819         (gst_collect_pads_check_collected):
12820         Flush queued buffer on _stop(), fixes playing again (#342454)
12821
12822 2006-05-22  Thomas Vander Stichele  <thomas at apestaart dot org>
12823
12824         * tests/check/gst/gststructure.c: (GST_START_TEST),
12825         (gst_structure_suite):
12826           add a test for a complete structure
12827
12828 2006-05-19  Tim-Philipp Müller  <tim at centricular dot net>
12829
12830         * docs/faq/developing.xml:
12831         * docs/faq/faq.xml:
12832         * docs/faq/troubleshooting.xml:
12833         * docs/faq/using.xml:
12834           Some minor FAQ updates that won't change the fact that
12835           our FAQ is badly structured, full of information hardly
12836           anyone new to GStreamer needs to know and lacking lots
12837           of information people constantly ask for.
12838           
12839 2006-05-19  Jan Schmidt  <thaytan@mad.scientist.com>
12840
12841         * gst/gstpad.c: (gst_pad_set_caps):
12842           Short-circuit gst_pad_set_caps if setting the existing
12843           caps pointer again, and avoid printing debug and 
12844           reffing/unreffing the caps.
12845
12846         * plugins/elements/gstqueue.c: (gst_queue_push_one):
12847           There's actually no need to set the caps before pushing -
12848           the acceptcaps method will handle it anyway.
12849
12850 2006-05-19  Tim-Philipp Müller  <tim at centricular dot net>
12851
12852         * docs/gst/gstreamer-sections.txt:
12853         * win32/common/libgstreamer.def:
12854         * gst/gstutils.c: (gst_element_seek_simple):
12855         * gst/gstutils.h:
12856           API: add gst_element_seek_simple() (#342238).
12857
12858 2006-05-18  Edward Hervey  <edward@fluendo.com>
12859
12860         * gst/gsttypefind.c: (gst_type_find_get_type):
12861         * gst/gsttypefind.h:
12862         Added GST_TYPE_TYPE_FIND and gst_type_find_get_type() so a GType gets
12863         registered for GstTypeFind pointers. This allows wrapping the structure
12864         in bindings (i.e. gst-python).
12865
12866 2006-05-18  Tim-Philipp Müller  <tim at centricular dot net>
12867
12868         * gst/gsttagsetter.c:
12869           Docs additions and fixes (see #339918).
12870
12871 2006-05-18  Jan Schmidt  <thaytan@mad.scientist.com>
12872
12873         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
12874         The caps intersection algorithm can produce multiple copies of the
12875         caps. Until that is fixed, we need to simplify the result to be
12876         sure whether the allowed caps are fixed or not.
12877
12878         * plugins/elements/gstqueue.c: (gst_queue_init),
12879         (gst_queue_bufferalloc), (gst_queue_acceptcaps),
12880         (gst_queue_push_one):
12881         Proxied buffer alloc should not set the caps on the source pad.
12882         When pushing buffers, we always accept the caps change that triggers.
12883         This prevents negotiation errors caused by caps changing mid-stream 
12884         and then being refused on our source pad (because upstream is now
12885         refusing those caps).
12886
12887 2006-05-18  Tim-Philipp Müller  <tim at centricular dot net>
12888
12889         * tests/examples/helloworld/helloworld.c: (main):
12890           Must plug audioconvert and audioresample between decoder
12891           and audio sink.
12892
12893 2006-05-17  Jan Schmidt  <thaytan@mad.scientist.com>
12894
12895         * gst/gstregistryxml.c: (read_string), (load_pad_template),
12896         (load_feature), (load_plugin):
12897         Allow empty strings for some of the plugin fields so we don't 
12898         drop valid plugin entries that were written out correctly
12899         (Fixes #341479)
12900
12901 2006-05-17  Sebastien Moutte  <sebastien@moutte.net>
12902         
12903         * gst/gstregistryxml.c: (gst_registry_xml_write_cache):
12904           Use g_remove and g_rename instead of remove and rename that don't 
12905           handle utf8 characters. rename was failing for users who had specific
12906           characters in their name then the registry was built at each 
12907           gstreamer init.
12908         * win32/vs6/gst_inspect.dsp:
12909         * win32/vs6/gst_launch.dsp:
12910         * win32/vs6/libgstbase.dsp:
12911         * win32/vs6/libgstcoreelements.dsp:
12912         * win32/vs6/libgstreamer.dsp:
12913           Use a debug version of libxml2 (libxml2D.lib,libxml2D.dll) for DEBUG 
12914           build of libgstreamer and clean unused libraries in projects link 
12915           settings.
12916
12917 2006-05-17  Edward Hervey  <edward@fluendo.com>
12918
12919         * plugins/elements/gstqueue.c: (gst_queue_push_one):
12920         The queue is not responsible for pushing an EOS when receiving a fatal
12921         flow error. It's up to the real element driving the pipeline to do that.
12922
12923 2006-05-16  Edward Hervey  <edward@fluendo.com>
12924
12925         * plugins/elements/gstqueue.c: (gst_queue_push_one):
12926         The queue was posting a non-needed GST_MESSAGE_ERROR when pushing a
12927         buffer returned a fatal error. It should just send an EOS and stop
12928         its task.
12929         Upstream elements will then properly receive the GST_FLOW_UNEXPECTED
12930         when pushing buffers on the queue and will be able to handle the event.
12931
12932 2006-05-16  Tim-Philipp Müller  <tim at centricular dot net>
12933
12934         * docs/manual/basics-bins.xml:
12935         * docs/manual/basics-init.xml:
12936           Fix typos and minor errors in sample code (#341856).
12937
12938 2006-05-16  Wim Taymans  <wim@fluendo.com>
12939
12940         * docs/design/part-qos.txt:
12941         Fix indexes in formulas to make more sense.
12942
12943 2006-05-15  Wim Taymans  <wim@fluendo.com>
12944
12945         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
12946         Don't report POSITION based on clock time if sync is
12947         disabled in a sink.
12948
12949 2006-05-15  Tim-Philipp Müller  <tim at centricular dot net>
12950
12951         * gst/gstobject.h:
12952           Add cast to make compiler happy - refcount variable was a gint
12953           in GstObject but is a guint in GObject and g_atomic_int_get()
12954           wants a gint *.
12955
12956 2006-05-15  Thomas Vander Stichele  <thomas at apestaart dot org>
12957
12958         * gst/parse/Makefile.am:
12959           chain commands using &&, which also makes parallel make work
12960
12961 2006-05-14  Tim-Philipp Müller  <tim at centricular dot net>
12962
12963         * docs/gst/gstreamer-sections.txt:
12964         * gst/gstevent.c:
12965         * gst/gstevent.h:
12966         * gst/gstmessage.h:
12967           Minor docs fixes.
12968
12969 === release 0.10.6 ===
12970
12971 2006-05-14  Jan Schmidt <thaytan@mad.scientist.com>
12972
12973         * configure.ac:
12974           releasing 0.10.6, "Take the cannoli"
12975
12976 2006-05-13  Tim-Philipp Müller  <tim at centricular dot net>
12977
12978         * tools/gst-launch.c: (print_tag):
12979           Fix use of uninitialized variable in the hypothetical
12980           case that some broken plugin creates a GST_TAG_IMAGE
12981           tag containing a NULL buffer (#341667).
12982
12983 2006-05-12  Tim-Philipp Müller  <tim at centricular dot net>
12984
12985         * tools/gst-launch.c: (print_tag):
12986           Print something more intelligible for image tags when
12987           using the -t switch (#341556).
12988
12989 2006-05-12  Thomas Vander Stichele  <thomas at apestaart dot org>
12990
12991         * Makefile.am:
12992           updates for win32
12993         * configure.ac:
12994           define GST_MAJORMINOR so we have it available in win32/common/config.h
12995           Possibly remove it from our Makefile.am files later
12996         * win32/common/config.h:
12997         * win32/common/config.h.in:
12998           added GST_MAJORMINOR
12999         * win32/common/gstenumtypes.c: (register_gst_resource_error):
13000         * win32/common/gstversion.h:
13001           updated
13002
13003 2006-05-12  Sebastien Moutte  <sebastien@moutte.net>
13004
13005         * win32/MANIFEST:
13006           Update win32 files listing.
13007         * win32/common/gstversion.h:
13008           Add GST_MAJORMINOR definition.
13009         * win32/common/libgstreamer.def:
13010           Add new exported functions.
13011           
13012 2006-05-12  Michael Smith  <msmith@fluendo.com>
13013
13014         * gst/gstplugin.c: (gst_plugin_load_file):
13015           If an so file has no plugin entry point, unload the module.
13016
13017 2006-05-11  Wim Taymans  <wim@fluendo.com>
13018
13019         * plugins/elements/gstqueue.c: (gst_queue_chain), (gst_queue_loop),
13020         (gst_queue_set_property):
13021         Don't forget to signal the _chain or _loop function 
13022         when the queue size or thresholds change since that might
13023         cause them to make progres again.
13024
13025 2006-05-11  Stefan Kost  <ensonic@users.sf.net>
13026
13027         * gst/gstclock.c: (gst_clock_class_init):
13028         * gst/gstindex.c: (gst_index_class_init):
13029         * gst/gstobject.c: (gst_object_class_init):
13030         * gst/gstpad.c: (gst_pad_class_init):
13031         * gst/gstpipeline.c: (gst_pipeline_class_init):
13032         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
13033         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init):
13034         * libs/gst/base/gstbasetransform.c:
13035         (gst_base_transform_class_init):
13036         * libs/gst/net/gstnetclientclock.c:
13037         (gst_net_client_clock_class_init):
13038         * libs/gst/net/gstnettimeprovider.c:
13039         (gst_net_time_provider_class_init):
13040         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_class_init):
13041         * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init):
13042         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init):
13043         * plugins/elements/gstfdsink.c: (gst_fd_sink_class_init):
13044         * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init):
13045         * plugins/elements/gstfilesink.c: (gst_file_sink_class_init):
13046         * plugins/elements/gstfilesrc.c: (gst_file_src_class_init):
13047         * plugins/elements/gstidentity.c: (gst_identity_class_init):
13048         * plugins/elements/gsttee.c: (gst_tee_class_init):
13049         * tests/old/examples/plugins/example.c: (gst_example_class_init):
13050         * tests/old/testsuite/threads/signals.c: (gst_test_class_init):
13051           G_OBJECT_CLASS macro usage batch cleanup, fixes #337747 for core
13052
13053 2006-05-11  Wim Taymans  <wim@fluendo.com>
13054
13055         * gst/gstbuffer.c: (_gst_buffer_initialize):
13056         Register subbufer along with the buffer type so that
13057         it does not accidentally gets registered from N
13058         different streaming threads in a non threadsafe way.
13059
13060 2006-05-10  Tim-Philipp Müller  <tim at centricular dot net>
13061
13062         * gst/gstbuffer.h:
13063         * gst/gstevent.h:
13064         * gst/gstmessage.h:
13065           Make gtk-doc generate docs for our inlined gst_buffer_ref(),
13066           gst_event_ref() and gst_message_ref() functions again
13067           (ugly hack, please do fix if there's a better way besides
13068           overrides.txt, which doesn't seem to work).
13069
13070 2006-05-10  Thomas Vander Stichele  <thomas at apestaart dot org>
13071
13072         * libs/gst/check/gstcheck.h:
13073           add an assert for setting state to avoid lots of repetitive code
13074           in the future
13075
13076 2006-05-10  Thomas Vander Stichele  <thomas at apestaart dot org>
13077
13078         * gst/gstvalue.c: (gst_value_serialize_flags):
13079           fix a leak if no flags are set
13080         * tests/check/gst/gstvalue.c: (GST_START_TEST):
13081           fix leak in tests
13082
13083 2006-05-10  Tim-Philipp Müller  <tim at centricular dot net>
13084
13085         * docs/manual/basics-pads.xml:
13086           Expand a bit on caps and filtered links and update
13087           examples that were still using the no longer existing
13088           gst_pad_link_filtered() (#338206).
13089
13090 2006-05-10  Wim Taymans  <wim@fluendo.com>
13091
13092         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
13093         (gst_collect_pads_add_pad), (gst_collect_pads_remove_pad),
13094         (gst_collect_pads_set_flushing), (gst_collect_pads_start),
13095         (gst_collect_pads_stop):
13096         * libs/gst/base/gstcollectpads.h:
13097         No need to call _stop in _finalize.
13098         Iterate the main pad list in _finalize.
13099         Added some more debug.
13100         Free lists and data in the right order.
13101         Also free data whem doing _remove_pad when stopped for
13102         backward compatibility protect ::started with PAD_LOCK as
13103         well.
13104
13105 2006-05-10  Thomas Vander Stichele  <thomas at apestaart dot org>
13106
13107         * gst/gststructure.c: (gst_structure_gtype_from_abbr),
13108         (gst_structure_parse_value):
13109           add some comments
13110           rename a method so that it actually says what it does better
13111
13112 2006-05-10  Thomas Vander Stichele  <thomas at apestaart dot org>
13113
13114         * gst/gstevent.c: (_gst_event_initialize):
13115         * gst/gstformat.c: (_gst_format_initialize):
13116           make sure some essential types used by events are registered
13117           as part of gst_init()
13118         * gst/gstvalue.c: (gst_value_serialize_flags):
13119           if no flags are set, serialize them to a value that represents NONE
13120           so that deserializing them works
13121         * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
13122           add tests for serialization and deserialization of flags
13123
13124 2006-05-10  Wim Taymans  <wim@fluendo.com>
13125
13126         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_collect),
13127         (gst_collect_pads_collect_range), (gst_collect_pads_available),
13128         (gst_collect_pads_check_pads), (gst_collect_pads_check_collected),
13129         (gst_collect_pads_event), (gst_collect_pads_chain):
13130         Update docs.
13131         Better debug info.
13132         Catch and return errors from the collect function
13133         Refuse data on eos pads.
13134
13135 2006-05-10  Edward Hervey  <edward@fluendo.com>
13136
13137         * gst/gstinterface.h:
13138         GST_IMPLEMENTS_INTERFACE and GST_IS_IMPLEMENTS_INTERFACE use the normal
13139         GInterface type checking.
13140         They were previously using non-defined macros.
13141
13142 2006-05-09  Wim Taymans  <wim@fluendo.com>
13143
13144         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_init),
13145         (gst_collect_pads_finalize), (gst_collect_pads_add_pad),
13146         (gst_collect_pads_remove_pad), (gst_collect_pads_set_flushing),
13147         (gst_collect_pads_start), (gst_collect_pads_stop),
13148         (gst_collect_pads_peek), (gst_collect_pads_pop),
13149         (gst_collect_pads_available), (gst_collect_pads_read),
13150         (gst_collect_pads_flush), (gst_collect_pads_check_pads),
13151         (gst_collect_pads_is_collected), (gst_collect_pads_event),
13152         (gst_collect_pads_chain):
13153         * libs/gst/base/gstcollectpads.h:
13154         Clean up the mess that is collectpads, add comments and
13155         FIXMEs where needed.
13156         Maintain a separate pad list so we can add pads while
13157         collecting the other ones. For this we need a new separate 
13158         lock (see comics).
13159         Fix memory leak in finalize.
13160         Refactor some weird code to set/unset pad flushing flags, mark
13161         with comments.
13162         Don't crash in _available, _read, _flush when we're EOS.
13163
13164         * tests/check/libs/.cvsignore:
13165         Ignore adapter check binary.
13166
13167 2006-05-09  Tim-Philipp Müller  <tim at centricular dot net>
13168
13169         * gst/gstindex.c: (gst_index_resolver_get_type):
13170         * plugins/elements/gstfakesink.c:
13171         (gst_fake_sink_state_error_get_type):
13172         * plugins/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
13173         (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type):
13174         * plugins/elements/gstqueue.c: (queue_leaky_get_type):
13175           Const-ify GEnumValue arrays.
13176
13177 2006-05-09  Tim-Philipp Müller  <tim at centricular dot net>
13178
13179         * tests/check/gst/gstbuffer.c: (GST_START_TEST):
13180           Add test case for flags + gst_buffer_make_metadata_writable().
13181
13182 2006-05-09  Tim-Philipp Müller  <tim at centricular dot net>
13183
13184         * gst/gstbuffer.c: (gst_buffer_make_metadata_writable):
13185           gst_buffer_make_metadata_writable() should maintain the
13186           buffer flags (those that make sense at least) (see #340859).
13187
13188 2006-05-09  Tim-Philipp Müller  <tim at centricular dot net>
13189
13190         * tools/gst-inspect.c:
13191         * tools/gst-launch.c:
13192         * tools/gst-typefind.c:
13193         * tools/gst-xmlinspect.c:
13194         * tools/tools.h:
13195           Fix up includes: need to include stdlib.h in tools.h for exit().
13196
13197 2006-05-09  Tim-Philipp Müller  <tim at centricular dot net>
13198
13199         * gst/gsttaglist.c: (_gst_tag_initialize):
13200         * gst/gsttaglist.h:
13201           API: add GST_TAG_IMAGE tag (#340721).
13202
13203 2006-05-08  Wim Taymans  <wim@fluendo.com>
13204
13205         * gst/gstquery.c:
13206         Added some docs for the segment query.
13207
13208 2006-05-08  Wim Taymans  <wim@fluendo.com>
13209
13210         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
13211         (gst_base_src_loop), (gst_base_src_change_state):
13212         Always push non-flushing serialized events in the streaming 
13213         thread.
13214
13215 2006-05-08  Thomas Vander Stichele  <thomas at apestaart dot org>
13216
13217         * gst/gsterror.c: (_gst_stream_errors_init):
13218           Add a missing error string.
13219
13220 2006-05-08  Jan Schmidt  <thaytan@mad.scientist.com>
13221
13222         * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment):
13223         Add applied_rate to the debug
13224
13225         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek):
13226         Copy applied_rate into the outgoing NEWSEGMENT event
13227
13228 2006-05-08  Wim Taymans  <wim@fluendo.com>
13229
13230         Patch by: Philippe Rouquier <philippero at libertysurf dot fr>
13231
13232         * libs/gst/base/gstbasesink.c: (gst_base_sink_set_flushing),
13233         (gst_base_sink_change_state):
13234         call ::unlock before taking the PREROLL_LOCK so we can safely
13235         handle elements that lock in ::render.
13236         Fixes #340174.
13237
13238 2006-05-08  Edward Hervey  <edward@fluendo.com>
13239
13240         * autogen.sh: (CONFIGURE_DEF_OPT): 
13241         Darwin's libtoolize is in fact called glibtoolize.
13242         Adding glibtoolize to the list of accepted names for libtoolize.
13243
13244 2006-05-08  Wim Taymans  <wim@fluendo.com>
13245
13246         * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
13247         Unify error handling, don't post an error message
13248         when a push() returns EOS but perform our normal EOS
13249         handling code. Fixes #340772.
13250
13251 2006-05-08  Wim Taymans  <wim@fluendo.com>
13252
13253         * docs/design/part-overview.txt:
13254         Make upsteam/downstream concepts more clear.
13255         Give an example of serialized/non-serialized events.
13256
13257         * docs/design/part-events.txt:
13258         * docs/design/part-streams.txt:
13259         Mention applied_rate.
13260
13261         * docs/design/part-trickmodes.txt:
13262         Mention applied rate, flesh out some more use cases.
13263
13264         * gst/gstevent.c: (gst_event_new_new_segment),
13265         (gst_event_parse_new_segment), (gst_event_new_new_segment_full),
13266         (gst_event_parse_new_segment_full), (gst_event_new_tag),
13267         (gst_event_parse_tag), (gst_event_new_buffer_size),
13268         (gst_event_parse_buffer_size), (gst_event_new_qos),
13269         (gst_event_parse_qos), (gst_event_parse_seek),
13270         (gst_event_new_navigation):
13271         * gst/gstevent.h:
13272         Add applied_rate field to NEWSEGMENT event.
13273         API: gst_event_new_new_segment_full()
13274         API: gst_event_parse_new_segment_full()
13275
13276         * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_seek),
13277         (gst_segment_set_newsegment), (gst_segment_set_newsegment_full),
13278         (gst_segment_to_stream_time), (gst_segment_to_running_time):
13279         * gst/gstsegment.h:
13280         Add applied_rate to GstSegment structure.
13281         Make calculation of stream_time and running_time more correct
13282         wrt rate/applied_rate.
13283         Add some more docs.
13284         API: GstSegment::applied_rate field
13285         API: gst_segment_set_newsegment_full();
13286
13287         * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment),
13288         (gst_base_sink_get_sync_times), (gst_base_sink_get_position):
13289         * libs/gst/base/gstbasetransform.c:
13290         (gst_base_transform_sink_eventfunc),
13291         (gst_base_transform_handle_buffer):
13292         Parse and use applied_rate in the GstSegment field.
13293
13294         * tests/check/gst/gstevent.c: (GST_START_TEST):
13295         Add check for applied_rate field.
13296
13297         * tests/check/gst/gstsegment.c: (GST_START_TEST),
13298         (gstsegments_suite):
13299         Add more checks for various GstSegment operations.
13300
13301 2006-05-08  Wim Taymans  <wim@fluendo.com>
13302
13303         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
13304         (gst_base_sink_do_sync), (gst_base_sink_chain_unlocked),
13305         (gst_base_sink_get_position), (gst_base_sink_change_state):
13306         Store the sync time of the buffer end position separatly in a
13307         new variable eos_rtime so we can properly sync the EOS event.
13308         Fixes #340697.
13309         Fix the docs for gst_base_sink_set_qos_enabled().
13310         Don't set segment start to invalid value when we receive a 
13311         non TIME newsegment.
13312         get closer to handling position reporting for negative rates 
13313         correctly.
13314
13315 2006-05-07  Stefan Kost  <ensonic@users.sf.net>
13316
13317         * gst/gstcaps.c:
13318         Docs about how to print caps for debug purposes.
13319
13320         * gst/gstpadtemplate.c: (gst_static_pad_template_get):
13321         use gst_caps_make_writable instead of gst_caps_copy, Fixes #340608
13322
13323 2006-05-07  Stefan Kost  <ensonic@users.sf.net>
13324
13325         * gst/gstelement.c:
13326           use full enum names and preprend a '%' in docs strings to make recent 
13327           gtk-doc turn that into a link
13328
13329 2006-05-05  Tim-Philipp Müller  <tim at centricular dot net>
13330
13331         * docs/manual/basics-bins.xml:
13332         * docs/manual/basics-bus.xml:
13333         * docs/manual/basics-pads.xml:
13334           Some typo fixes, some additions, some clarifications. 
13335
13336 2006-05-05  Tim-Philipp Müller  <tim at centricular dot net>
13337
13338         * tools/gst-inspect.c: (main):
13339         * tools/gst-launch.c: (main):
13340         * tools/gst-run.c: (main):
13341         * tools/gst-typefind.c: (main):
13342         * tools/gst-xmlinspect.c: (main):
13343           Use the string passed to g_option_context_new() for
13344           what it's intended for - the program name is already
13345           printed elsewhere.
13346
13347 2006-05-05  Tim-Philipp Müller  <tim at centricular dot net>
13348
13349         * tools/Makefile.am:
13350         * tools/gst-inspect.c: (main):
13351         * tools/gst-launch.c: (main):
13352         * tools/gst-xmlinspect.c: (main):
13353         * tools/tools.h:
13354           Add back --version command line option (#340460).
13355
13356         * tools/gst-typefind.c: (have_type_handler), (typefind_file), (main):
13357           Add --version option and use GOption for argument parsing; refactor a
13358           bit; accept directories as arguments and recurse into them; lastly,
13359           print a decent error message when things go wrong.
13360
13361 2006-05-05  Maciej Katafiasz  <mathrick@freedesktop.org>
13362
13363         * docs/manual/basics-bins.xml:
13364         Don't mention GstThread (#340611)
13365         * docs/manual/basics-elements.xml:
13366         Update link to GObject tutorial (#340607)
13367         
13368 2006-05-05  Wim Taymans  <wim@fluendo.com>
13369
13370         * gst/gstbuffer.h:
13371         * gst/gstminiobject.c:
13372         Add note about refcounting and miniobject/buffer writeability
13373         to docs. Fixes #340604
13374
13375         * gst/gstelementfactory.h:
13376         Added some explanation about @klass.
13377
13378 2006-05-05  Maciej Katafiasz  <mathrick@freedesktop.org>
13379
13380         * docs/manual/intro-motivation.xml:
13381         * docs/manual/manual.xml:
13382         Avoid CORBA & Bonobo references (#340598)
13383
13384 2006-05-05  Maciej Katafiasz  <mathrick@freedesktop.org>
13385
13386         * docs/manual/basics-bus.xml:
13387         * docs/manual/basics-pads.xml:
13388         Fix up some inaccuracies and omissions (#340609)
13389         
13390 2006-05-05  Maciej Katafiasz  <mathrick@freedesktop.org>
13391
13392         * gst/gstghostpad.c:
13393           Small typo in docs (#340625)
13394
13395 2006-05-05  Tim-Philipp Müller  <tim at centricular dot net>
13396
13397         * gst/parse/Makefile.am:
13398           Make 'make -j' proof (see #340698).
13399
13400 2006-05-05  Tim-Philipp Müller  <tim at centricular dot net>
13401
13402         * configure.ac:
13403           Require GLib-2.8 here as well.
13404
13405 2006-05-05  Wim Taymans  <wim@fluendo.com>
13406
13407         * gst/glib-compat.c:
13408         * gst/gst.c: (init_pre):
13409         * gst/gstobject.c: (gst_object_init), (gst_object_ref),
13410         (gst_object_unref), (gst_object_replace), (gst_object_dispose),
13411         (gst_object_dispatch_properties_changed):
13412         * gst/gstobject.h:
13413         * gst/gstregistryxml.c: (gst_registry_xml_read_cache):
13414         * gst/gststructure.c: (gst_structure_set_valist):
13415         * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
13416         Remove pre glib2.8 compatibility, fixes #340508
13417
13418 2006-05-04  Tim-Philipp Müller  <tim at centricular dot net>
13419
13420         * gst/gsttaglist.h:
13421           Mention type of tags in doc blurbs.
13422
13423 2006-05-04  Jan Schmidt  <thaytan@mad.scientist.com>
13424
13425         * gst/gstpad.c: (gst_pad_init), (gst_pad_configure_sink),
13426         (gst_pad_configure_src), (gst_pad_push):
13427         Restore acceptcaps checking behaviour now that good plugins have
13428         been released.
13429
13430 2006-05-04  Tim-Philipp Müller  <tim at centricular dot net>
13431
13432         Patch by: James Andrewartha <trs80 at tartarus uwa edu au>
13433
13434         * gst/gst.c:
13435         * gst/gstbus.c:
13436         * gst/gstclock.c:
13437         * gst/gstevent.c:
13438         * gst/gstformat.c:
13439         * gst/gstmessage.c:
13440         * gst/gstparse.c:
13441         * gst/gstquery.c:
13442         * gst/gstutils.c:
13443         * gst/parse/Makefile.am:
13444         * libs/gst/base/gstadapter.c:
13445         * libs/gst/base/gstbasesrc.c:
13446         * libs/gst/base/gstpushsrc.c:
13447         * libs/gst/base/gsttypefindhelper.c:
13448         * plugins/elements/gstfakesrc.c:
13449         * plugins/elements/gstidentity.c:
13450           Make sure gstprivate.h and/or config.h are
13451           always included first, otherwise some of our
13452           defines (like _FILE_OFFSET_BITS) might be
13453           redefined in the system headers. Fixes build
13454           on opensolaris (#340016).
13455
13456 2006-05-04  Wim Taymans  <wim@fluendo.com>
13457
13458         * docs/libs/gstreamer-libs-sections.txt:
13459         API: addition: gst_adapter_take_buffer()
13460         
13461         * libs/gst/base/gstadapter.c: (gst_adapter_push),
13462         (gst_adapter_peek), (gst_adapter_take), (gst_adapter_take_buffer),
13463         (gst_adapter_available_fast):
13464         * libs/gst/base/gstadapter.h:
13465         Prepare for optimizing the hell out of this hugely inefficient
13466         piece of code. 
13467         Added gst_adapter_take_buffer() so we can at least start thinking
13468         about subbuffering and merging.
13469         Added some comments.
13470
13471         * tests/check/Makefile.am:
13472         * tests/check/libs/adapter.c: (GST_START_TEST),
13473         (gst_adapter_suite), (main):
13474         Added GstAdapter check.
13475
13476 2006-05-04  Wim Taymans  <wim@fluendo.com>
13477
13478         * docs/design/part-overview.txt:
13479         Fix some typos, add blurb about buffer flags.
13480
13481 2006-05-03  Thomas Vander Stichele  <thomas at apestaart dot org>
13482
13483         * docs/libs/gstreamer-libs-sections.txt:
13484           make sure GstBaseTransformClass shows up in the docs
13485         * libs/gst/base/gstbasetransform.c:
13486         * libs/gst/base/gstbasetransform.h:
13487           move docs so gtk-doc picks it up now
13488
13489 2006-05-02  Stefan Kost  <ensonic@users.sf.net>
13490
13491         * docs/libs/gstreamer-libs-sections.txt:
13492           add missing symbols to docs
13493
13494 2006-05-02  Stefan Kost  <ensonic@users.sf.net>
13495
13496         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_event):
13497           back out the newsegment handling change, see #340060 for ongoing
13498           discussion
13499
13500 2006-04-30  Tim-Philipp Müller  <tim at centricular dot net>
13501
13502         * tools/gst-run.c: (get_candidates), (main):
13503           Fix wrong g_file_test() usage (see glib docs for why it doesn't
13504           work); fix typo in error message. Fixes #340079.
13505
13506 2006-04-29  Thomas Vander Stichele  <thomas at apestaart dot org>
13507
13508         * common/Makefile.am:
13509         * docs/Makefile.am:
13510         * docs/faq/Makefile.am:
13511         * docs/gst/Makefile.am:
13512         * docs/libs/Makefile.am:
13513         * docs/manual/Makefile.am:
13514         * docs/plugins/Makefile.am:
13515         * docs/pwg/Makefile.am:
13516         * docs/slides/Makefile.am:
13517         * docs/upload.mak:
13518         * common/upload.mak:
13519           move upload.mak to common
13520
13521 2006-04-29  Thomas Vander Stichele  <thomas at apestaart dot org>
13522
13523         * tests/check/gst/gstghostpad.c: (GST_START_TEST):
13524           add more asserts on refcounts
13525           do more cleanup at end of tests
13526           fix test leaks showing in FC5
13527
13528 2006-04-29  Stefan Kost  <ensonic@users.sf.net>
13529
13530         * plugins/elements/gsttypefindelement.c:
13531         (gst_type_find_element_handle_event):
13532         reverted wrong change and reflowed code to avoid others falling into
13533         this trap
13534
13535 2006-04-28  Stefan Kost  <ensonic@users.sf.net>
13536
13537         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_event):
13538           fix changelog entry about last collectpads change,
13539           add notes about proper fix
13540
13541 2006-04-28  Stefan Kost  <ensonic@users.sf.net>
13542
13543         * gst/gst.c:
13544         * gst/gstregistry.c: (gst_registry_scan_path_level),
13545         (gst_registry_scan_path):
13546         * gst/gstregistry.h:
13547           only write out registry if it has changed, fixes #338339
13548
13549 2006-04-28  Stefan Kost  <ensonic@users.sf.net>
13550
13551         * gst/gstbin.c:
13552         * gst/gstpipeline.c:
13553         * plugins/elements/gstcapsfilter.c:
13554         * plugins/elements/gstfakesink.c:
13555         * plugins/elements/gstfakesrc.c:
13556         * plugins/elements/gstfdsink.c:
13557         * plugins/elements/gstfdsrc.c:
13558         * plugins/elements/gstfilesink.c:
13559         * plugins/elements/gstfilesrc.c:
13560         * plugins/elements/gstidentity.c:
13561         * plugins/elements/gstqueue.c:
13562         * plugins/elements/gsttee.c:
13563         * plugins/elements/gsttypefindelement.c:
13564         (gst_type_find_element_handle_event):
13565           make GstElementDetails const
13566
13567 2006-04-28  Stefan Kost  <ensonic@users.sf.net>
13568
13569         * libs/gst/base/gstbasesink.c: (gst_base_sink_event):
13570         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
13571         (gst_collect_pads_is_collected), (gst_collect_pads_event):
13572           more detailed debug and formatting cleanup,
13573           forward newsegments to src-pad (so that e.g. adder not eats them)
13574
13575 2006-04-28  Stefan Kost  <ensonic@users.sf.net>
13576
13577         * gst/gstutils.c: (gst_element_link_pads):
13578           cleanup double code
13579
13580 2006-04-28  Stefan Kost  <ensonic@users.sf.net>
13581
13582         * libs/gst/controller/gstcontroller.c:
13583         (gst_controller_sync_values):
13584           some little tuning
13585         * tests/check/libs/controller.c: (GST_START_TEST),
13586         (gst_controller_suite):
13587           a new test for live value handling
13588
13589 2006-04-28  Wim Taymans  <wim@fluendo.com>
13590
13591         * gst/gstutils.c: (push_and_ref):
13592         Added some more docs.
13593         Fix refcount issue whith gst_element_found_tags() helper 
13594         function. Fixes #338335
13595
13596         * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
13597         Added testsuite for gst_element_found_tags().
13598
13599 2006-04-28  Michael Smith  <msmith@fluendo.com>
13600
13601         * gst/gstvalue.c: (gst_value_serialize_flags):
13602           Avoid NULL dereference when trying to serialize flags containing
13603           invalid values.
13604
13605 2006-04-28  Michael Smith  <msmith@fluendo.com>
13606
13607         * plugins/elements/gsttypefindelement.c:
13608         (gst_type_find_element_handle_event):
13609           If we get EOS before any data is accumulated, don't use
13610           uninitialised local variables.
13611
13612 2006-04-28  Michael Smith  <msmith@fluendo.com>
13613
13614         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
13615         (gst_dp_event_from_packet):
13616           Fixes in reading/writing events over GDP (not currently used?) - 
13617           dereferencing NULL events for unknown/invalid event types, memory
13618           leak, and change g_warning to GST_WARNING.
13619
13620 2006-04-28  Wim Taymans  <wim@fluendo.com>
13621
13622         * libs/gst/base/gstbasesink.c: (gst_base_sink_is_too_late),
13623         (gst_base_sink_do_render_stats), (gst_base_sink_render_object),
13624         (gst_base_sink_get_position), (gst_base_sink_change_state):
13625         When frame dropping is enabled, we should not ignore frames
13626         without a duration.
13627         Update some documentation.
13628
13629 2006-04-28  Wim Taymans  <wim@fluendo.com>
13630
13631         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
13632         (gst_base_src_send_event), (gst_base_src_change_state):
13633         Documentation updates.
13634
13635 2006-04-28  Wim Taymans  <wim@fluendo.com>
13636
13637         * plugins/elements/gstfdsink.c: (gst_fd_sink_render),
13638         (gst_fd_sink_check_fd), (gst_fd_sink_update_fd):
13639         handle EAGAIN, EINTR and short writes correctly. Also clean
13640         up some error cases, avoid a deadlock on bad file descriptors and
13641         use GST_DEBUG_OBJECT.
13642         Fixes #339843
13643
13644 2006-04-28  Wim Taymans  <wim@fluendo.com>
13645
13646         * gst/gstvalue.c: (gst_value_serialize_buffer),
13647         (gst_value_deserialize_buffer):
13648         Don't try to serialize a GValue with a NULL buffer. 
13649         Fixes #339821.
13650
13651         * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
13652         Added check for serialisation of NULL buffers.
13653
13654 2006-04-28  Wim Taymans  <wim@fluendo.com>
13655
13656         * gst/gstminiobject.c: (gst_value_take_mini_object):
13657         Taking a NULL miniobject is valid, fix the case where
13658         we try to unref the NULL miniobject.
13659
13660 2006-04-28  Wim Taymans  <wim@fluendo.com>
13661
13662         Patch by: Stefan Kost <ensonic at sonicpulse dot de>
13663
13664         * gst/gstbin.c: (gst_bin_handle_message_func):
13665         Update docs.
13666         Don't leak bin refcount when a state recalc is
13667         in progress and we delay another one #339808.
13668
13669 2006-04-28  Wim Taymans  <wim@fluendo.com>
13670
13671         * docs/design/part-TODO.txt:
13672         Mention QoS as an ongoing work item.
13673
13674         * docs/design/part-buffering.txt:
13675         New doc about buffering that needs to be fleshed out
13676         at some point.
13677
13678         * docs/design/part-qos.txt:
13679         More QoS policy for decoders/demuxers/transforms
13680
13681         * docs/design/part-trickmodes.txt:
13682         Small update.
13683
13684 2006-04-28  Thomas Vander Stichele  <thomas at apestaart dot org>
13685
13686         * configure.ac:
13687           back to HEAD
13688
13689 === release 0.10.5 ===
13690
13691 2006-04-28  Thomas Vander Stichele <thomas at apestaart dot org>
13692
13693         * configure.ac:
13694           releasing 0.10.5, "Fogo"
13695
13696 2006-04-22  Thomas Vander Stichele  <thomas at apestaart dot org>
13697
13698         patch by: Wim Taymans
13699
13700         * gst/gstpad.c: (gst_pad_init), (gst_pad_configure_sink),
13701         (gst_pad_configure_src), (gst_pad_push):
13702         * gst/gstpipeline.c: (gst_pipeline_init):
13703           Fix internal data flow errors.  Fixes #338711.
13704
13705 2006-04-12  Wim Taymans  <wim@fluendo.com>
13706
13707         * tests/check/gst/gstelement.c: (GST_START_TEST):
13708         Don't leak the factory.
13709
13710 2006-04-12  Thomas Vander Stichele  <thomas at apestaart dot org>
13711
13712         * configure.ac:
13713         * win32/common/config.h:
13714           prerelease
13715
13716 2006-04-12  Tim-Philipp Müller  <tim at centricular dot net>
13717
13718         * libs/gst/controller/gstcontroller.c: (gst_controller_unset),
13719         (gst_controller_unset_all):
13720           Free allocated GstTimedValues when freeing list nodes.
13721           Should fix leaks 'make check-valgrind' complains about.
13722
13723         * win32/common/libgstcontroller.def:
13724           Add gst_controller_unset_all.
13725
13726 2006-04-11  Stefan Kost  <ensonic@users.sf.net>
13727
13728         * docs/libs/gstreamer-libs-sections.txt:
13729         * libs/gst/controller/gstcontroller.c: (gst_controller_unset),
13730         (gst_controller_unset_all):
13731         * libs/gst/controller/gstcontroller.h:
13732         API: Added new method gst_controller_unset_all()
13733         fixed gst_controller_unset()
13734         * tests/check/libs/controller.c: (GST_START_TEST),
13735         (gst_controller_suite):
13736         Added two testcases for new and fixed method
13737
13738 2006-04-11  Tim-Philipp Müller  <tim at centricular dot net>
13739
13740         * libs/gst/net/gstnettimepacket.c: (gst_net_time_packet_send):
13741           MSG_DONTWAIT is not defined on Cygwin, so work
13742           around that (fixes #317048).
13743           
13744 2006-04-11  Wim Taymans  <wim@fluendo.com>
13745
13746         * gst/gstelementfactory.c: (gst_element_register),
13747         (gst_element_factory_create), (gst_element_factory_make):
13748         Some cleanups.
13749         Fixed a FIXME.
13750         Updated docs (Fixes #131079)
13751
13752         * gst/gstpluginfeature.c: (gst_plugin_feature_load):
13753         Small cleanups.
13754
13755         * tests/check/gst/gstelement.c: (GST_START_TEST),
13756         (gst_element_suite):
13757         Added testcase for elementfactory class field.
13758
13759 2006-04-10  Wim Taymans  <wim@fluendo.com>
13760
13761         * gst/gstsegment.c:
13762         Added some more docs.
13763
13764         * libs/gst/base/gstbasesink.c: (gst_base_sink_perform_qos),
13765         (gst_base_sink_reset_qos):
13766         Calculate more accurate rate values.
13767
13768 2006-04-09  Sebastien Moutte  <sebastien@moutte.net>
13769
13770         * gst/gst_private.h:
13771           add a new #ifdef to use __declspec(dllimport) only for
13772           other modules and not for gstreamer core
13773         * gst/gstbasesink.c: (gst_base_sink_perform_qos):
13774           use gst_guint64_to_gdouble for conversion
13775         * win32/common/libgstreamer.def:
13776           add new exported functions
13777         * win32/vs6/gst_inspect.dsp:
13778         * win32/vs6/gst_launch.dsp:
13779         * win32/vs6/libgstbase.dsp:
13780         * win32/vs6/libgstcontroller.dsp:
13781         * win32/vs6/libgstcoreelements.dsp:
13782         * win32/vs6/libgstdataprotocol.dsp:
13783         * win32/vs6/libgstnet.dsp:
13784           update project files
13785
13786 2006-04-08  Stefan Kost  <ensonic@users.sf.net>
13787
13788         * gst/gstbuffer.c: (gst_subbuffer_class_init):
13789         * gst/gstclock.c: (gst_clock_class_init):
13790         * gst/gstelement.c: (gst_element_class_init):
13791         * gst/gstindex.c: (gst_index_class_init):
13792         * gst/gstindexfactory.c: (gst_index_factory_class_init):
13793         * gst/gstobject.c: (gst_object_class_init),
13794         (gst_signal_object_class_init):
13795         * gst/gstpad.c: (gst_pad_class_init):
13796         * gst/gstpadtemplate.c: (gst_pad_template_class_init):
13797         * gst/gstpluginfeature.c: (gst_plugin_feature_class_init):
13798         * gst/gstregistry.c: (gst_registry_class_init):
13799         * gst/gstsystemclock.c: (gst_system_clock_class_init):
13800         * gst/gsttask.c: (gst_task_class_init):
13801         * gst/gstxml.c: (gst_xml_class_init):
13802         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
13803         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
13804         (gst_base_src_loop):
13805         * libs/gst/controller/gstcontroller.c:/
13806         (_gst_controller_class_init):
13807         * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init):
13808         * plugins/indexers/gstfileindex.c: (gst_file_index_class_init):
13809         * plugins/indexers/gstmemindex.c: (gst_mem_index_class_init):
13810         * tests/old/examples/plugins/example.c: (gst_example_class_init):
13811         * tests/old/testsuite/threads/signals.c: (gst_test_class_init):
13812         Fix #337365 (g_type_class_ref <-> g_type_class_peek_parent)
13813
13814 2006-04-08  Tim-Philipp Müller  <tim at centricular dot net>
13815
13816         * gst/gstpad.c: (gst_pad_link):
13817           Must set peer pads before calling the link function, otherwise
13818           a task started from a link function might get a flow-not-linked
13819           result when trying to push because the other thread where the
13820           linking happens hasn't had a chance to set the peers yet. This
13821           might happen for example when a queue gets linked to a downstream
13822           element, as queue starts a streaming task when its source pad
13823           gets linked. Happens in real life when playing back flac/musepack
13824           files in playbin (#332390).
13825           
13826 2006-04-08  Stefan Kost  <ensonic@users.sf.net>
13827
13828         * gst/gstindex.h:
13829         * gst/gstxml.h:
13830         * libs/gst/base/gstadapter.h:
13831         * libs/gst/base/gstbasesink.h:
13832         * libs/gst/base/gstbasesrc.h:
13833         * libs/gst/base/gstbasetransform.h:
13834         * libs/gst/base/gstcollectpads.h:
13835         * libs/gst/base/gstpushsrc.h:
13836         Fix broken GObject macros
13837
13838 2006-04-07  Wim Taymans  <wim@fluendo.com>
13839
13840         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
13841         Initialize start and stop times, thanks valgrind.
13842
13843 2006-04-07  Wim Taymans  <wim@fluendo.com>
13844
13845         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
13846         Be a bit nicer to badly behaving upstream elements that expect
13847         us to deal with non TIME segments and timestamps (such as fakesrc
13848         in the testsuite).
13849
13850 2006-04-07  Wim Taymans  <wim@fluendo.com>
13851
13852         * gst/gstbus.c:
13853         Small documentation clarification about the signal watch.
13854
13855         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
13856         (gst_base_sink_wait_clock), (gst_base_sink_do_sync),
13857         (gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
13858         (gst_base_sink_do_render_stats), (gst_base_sink_render_object),
13859         (gst_base_sink_get_position_last),
13860         (gst_base_sink_get_position_paused), (gst_base_sink_change_state):
13861         Convert and store timestamps in stream time and running time, the
13862         raw timestamps are not useful, also document this better.
13863         Use different window sizes for good and bad QoS observations so
13864         we react to badness a little quicker.
13865         Keep track of the amount of rendered and dropped buffers.
13866         Send QoS timestamps in running time.
13867
13868         * libs/gst/base/gstbasetransform.c:
13869         (gst_base_transform_sink_eventfunc),
13870         (gst_base_transform_handle_buffer):
13871         Compare QoS timestamps against running time.
13872
13873 2006-04-06  Tim-Philipp Müller  <tim at centricular dot net>
13874
13875         * gst/gstpad.c:
13876           Typo fixes in docs.
13877
13878 2006-04-06  Michael Smith  <msmith@fluendo.com>
13879
13880         * gst/gstpad.c: (gst_pad_set_property):
13881           Use g_value_get_object() instead of g_value_dup_gst_object(),
13882           to avoid double-reffing the pad template (which we then sink,
13883           so this worked previously if (and only if) the pad template
13884           was floating.
13885
13886         * gst/gstpadtemplate.c: (gst_pad_template_init),
13887         (gst_pad_template_pad_created):
13888           Never return floating references to pad templates, create
13889           them as initially-sunken.
13890
13891           Document an extra function (and make this stop sinking our
13892           pad template, since that is now guaranteed to do nothing,
13893           since we created it sunken).
13894
13895         * gst/gstghostpad.c:
13896           Fix docs typo.
13897
13898 2006-04-06  Tim-Philipp Müller  <tim at centricular dot net>
13899
13900         * gst/gstinfo.c: (__gst_in_valgrind):
13901           Add some newlines.
13902
13903         * plugins/elements/gsttypefindelement.c:
13904         (gst_type_find_element_chain):
13905           Don't leak buffer caps.
13906
13907 2006-04-06  Michael Smith  <msmith@fluendo.com>
13908
13909         * gst/parse/grammar.y:
13910           Fix a leak in parse-launch for any source-or-sink named element 
13911           references used.
13912
13913         * tests/check/pipelines/parse-launch.c: (expected_fail_pipe):
13914           Unref the pipeline if it exists after we've failed parsing.
13915
13916 2006-04-05  Michael Smith  <msmith@fluendo.com>
13917
13918         * gst/gstpipeline.c: (gst_pipeline_init):
13919           When we create a pipeline bus, initially create it in flushing mode.
13920           Fixes leaks in at least one test, and makes a new pipeline work the
13921           same as one that has gone to READY and then back to NULL.
13922
13923         * gst/gstelement.c:
13924           Typo fix in docs.
13925
13926 2006-04-05  Michael Smith  <msmith@fluendo.com>
13927
13928         * tests/check/gst/gstghostpad.c: (GST_START_TEST):
13929           Unref a pad we reffed.
13930         * tests/check/gst/gstutils.c: (GST_START_TEST):
13931           Unref bins
13932
13933 2006-04-05  Michael Smith  <msmith@fluendo.com>
13934
13935         * gst/gstquery.c: (gst_query_set_formats),
13936         (gst_query_set_formatsv):
13937           Fix leaking GValues in queries, as shown by valgrind/testsuite.
13938
13939 2006-04-05  Michael Smith  <msmith@fluendo.com>
13940
13941         * tests/check/generic/sinks.c: (GST_START_TEST):
13942           Fix a variety of memleaks in sinks check, which are only sometimes 
13943           shown by running the tests under valgrind (weird?).
13944
13945 2006-04-05  Jan Schmidt  <thaytan@mad.scientist.com>
13946
13947         * docs/version.entities.in:
13948           Fix the substituted entity name after thomas' changes on the
13949           weekend.
13950
13951 2006-04-05  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
13952
13953         * gst/gstinfo.c: (__gst_in_valgrind): Use printf instead of
13954         VALGRIND_PRINTF
13955         
13956 2006-04-05  Andy Wingo  <wingo@pobox.com>
13957
13958         * gst/gstpad.c (gst_pad_set_blocked_async): More debug.
13959
13960         * libs/gst/base/gstbasetransform.c
13961         (gst_base_transform_sink_eventfunc): When resetting our segment on
13962         FLUSH_STOP, also update the flag saying we haven't seen a
13963         newsegment.
13964
13965 2006-04-04  Tim-Philipp Müller  <tim at centricular dot net>
13966
13967         Patch by: Paolo Borelli  <pborelli at katamail dot com>
13968
13969         * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_class_init),
13970         (gst_plugin_check_license):
13971           minor clean-ups: G_DEFINE_TYPE already takes care of the
13972           parent_class stuff, no need to do it twice. Mark array of
13973           license strings as constant. (#337103)
13974           
13975 2006-04-04  Michael Smith  <msmith@fluendo.com>
13976
13977         * tools/gst-inspect.c: (print_element_list):
13978           Free the right plugin list; fixes a memory leak.
13979
13980 2006-04-04  Tim-Philipp Müller  <tim at centricular dot net>
13981
13982         Patch by: Mark Nauwelaerts  <manauw at skynet dot be>
13983
13984         * plugins/elements/gstfilesink.c: (gst_file_sink_render):
13985           Don't error out on empty buffers (#336945).
13986           
13987 2006-04-04  Jan Schmidt  <thaytan@mad.scientist.com>
13988
13989         * docs/libs/gstreamer-libs-sections.txt:
13990         * gst/gsttaglist.c:
13991         * libs/gst/base/gstbasesink.c:
13992         * libs/gst/base/gstbasesink.h:
13993         * libs/gst/base/gstbasesrc.c:
13994         * libs/gst/base/gstbasesrc.h:
13995           Documentation updates. Make BaseSink and BaseSrc docs contain the
13996           class structure so that people can actually see the prototypes for
13997           virtual functions they're supposed to be overriding.
13998
13999 2006-04-04  Tim-Philipp Müller  <tim at centricular dot net>
14000
14001         * plugins/elements/gsttypefindelement.c:
14002         (gst_type_find_element_chain):
14003           More debug info; when skipping typefinding, send cached
14004           events in all cases.
14005
14006 2006-04-01  Thomas Vander Stichele  <thomas at apestaart dot org>
14007
14008         * configure.ac:
14009           use new AS_VERSION and AS_NANO macros
14010         * gst/gst-i18n-lib.h:
14011         * gst/gst.c:
14012         * gst/gsterror.c:
14013         * gst/gstversion.h.in:
14014         * win32/common/config.h:
14015         * win32/common/config.h.in:
14016           update accordingly
14017
14018 2006-03-31  Michael Smith  <msmith@fluendo.com>
14019
14020         * plugins/elements/gsttypefindelement.c:
14021         (gst_type_find_element_chain):
14022           Do not typefind content if the buffers already have caps.
14023           Neccesary for icydemux (#333657), and the right thing to do anyway.
14024
14025 2006-03-30  Wim Taymans  <wim@fluendo.com>
14026
14027         * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
14028         (gst_base_sink_finalize), (gst_base_sink_set_qos_enabled),
14029         (gst_base_sink_is_qos_enabled), (gst_base_sink_do_sync),
14030         (gst_base_sink_record_qos_observation),
14031         (gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
14032         (gst_base_sink_is_too_late), (gst_base_sink_render_object),
14033         (gst_base_sink_change_state):
14034         More QoS measurements as described in the design doc.
14035         Get rid of ringbuffer with observations, running average is
14036         more simple and equally good.
14037         Calculates valid proportion now.
14038         Added beginning of flood measurement.
14039
14040 2006-03-29  Wim Taymans  <wim@fluendo.com>
14041
14042         * docs/design/part-qos.txt:
14043         * gst/gstclock.c:
14044         Small documentation updates and additions.
14045
14046 2006-03-29  Wim Taymans  <wim@fluendo.com>
14047
14048         * libs/gst/base/gstbasesrc.c: (gst_base_src_finalize),
14049         (gst_base_src_send_event), (gst_base_src_loop),
14050         (gst_base_src_change_state):
14051         Perform the EOS logic when we reach the segment stop position.
14052         Fix compilation on gcc4.1
14053
14054 2006-03-29  Wim Taymans  <wim@fluendo.com>
14055
14056         Patch by: Tommi Myöhänen <ext-tommi dot myohanen at nokia dot com>
14057
14058         * plugins/elements/gstqueue.c: (gst_queue_init),
14059         (gst_queue_locked_flush), (gst_queue_handle_sink_event),
14060         (gst_queue_set_property):
14061         * plugins/elements/gstqueue.h:
14062         In queue, when EOS is received, if minimum threshold > max_size -
14063         current_level, there is chance that queue blocks forever in conditional
14064         item del wait. This is because the queue is not emptied completely due
14065         to minimum threshold.  Here is another approach. Instead of setting
14066         cur_levels to max in EOS, just zero all minimum threshold levels. This
14067         should make sure that queue gives out all data. When going to READY
14068         (stop) state, just reset the original minimum threshold levels.
14069         Fixes #336336.
14070
14071 2006-03-29  Tim-Philipp Müller  <tim at centricular dot net>
14072
14073         * plugins/elements/gsttypefindelement.c: (stop_typefinding),
14074         (gst_type_find_element_handle_event),
14075         (gst_type_find_element_send_cached_events),
14076         (gst_type_find_element_change_state):
14077         * plugins/elements/gsttypefindelement.h:
14078           When typefinding is done in push mode, we should cache
14079           events we receive during typefinding instead of just
14080           dropping them (e.g. newsegment, custom events from
14081           dvdreadsrc etc.) and then send them out once we've
14082           determined the type of the stream (and decodebin
14083           has had a chance to plug in a decoder/demuxer).
14084           
14085 2006-03-27  Wim Taymans  <wim@fluendo.com>
14086
14087         * docs/design/part-qos.txt:
14088         First QoS ideas.
14089
14090 2006-03-27  Wim Taymans  <wim@fluendo.com>
14091
14092         Inspired by a patch of: Lutz Mueller <lutz at topfrose dot de>
14093
14094         * libs/gst/base/gstbasesrc.c: (gst_base_src_finalize),
14095         (gst_base_src_send_event), (gst_base_src_change_state):
14096         Handle element seek correctly when we are streaming.
14097         Fixes #326998.
14098
14099 2006-03-24  Michael Smith  <msmith@fluendo.com>
14100
14101         * docs/faq/gst-uninstalled:
14102           Set up LD_LIBRARY_PATH to point at all the gstreamer libs. This will
14103           allow you to correctly run intalled applications built against old 
14104           core, using plugins that require updated core (e.g. running
14105           installed totem against a full uninstalled gstreamer stack)
14106
14107 2006-03-24  Stefan Kost  <ensonic@users.sf.net>
14108
14109         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_is_collected):
14110         more debug details
14111
14112 2006-03-24  Wim Taymans  <wim@fluendo.com>
14113
14114         * docs/gst/gstreamer-sections.txt:
14115         Rearrange the order of the methods so that related methods
14116         are grouped together in sections.
14117
14118 2006-03-24  Stefan Kost  <ensonic@users.sf.net>
14119
14120         * gst/gstelement.c:
14121           Little clarification in the docs
14122
14123 2006-03-24  Stefan Kost  <ensonic@users.sf.net>
14124
14125         * docs/README:
14126         formatting fix
14127         * plugins/elements/gstidentity.c:
14128         * plugins/elements/gstqueue.c:
14129         * plugins/elements/gsttee.c:
14130         * plugins/elements/gsttypefindelement.c:
14131         GST_ELEMENT_DETAILS formatting
14132
14133 2006-03-24  Wim Taymans  <wim@fluendo.com>
14134
14135         * libs/gst/base/gstbasesink.h:
14136         Only add fields, not insert or we break ABI.
14137
14138 2006-03-23  Tim-Philipp Müller  <tim at centricular dot net>
14139
14140         * win32/common/libgstbase.def:
14141         * win32/common/libgstreamer.def:
14142           Update, add recently added functions.
14143
14144 2006-03-23  Tim-Philipp Müller  <tim at centricular dot net>
14145
14146         * docs/gst/gstreamer-sections.txt:
14147         * gst/gstutils.c: (gst_pad_query_peer_position),
14148         (gst_pad_query_peer_duration), (gst_pad_query_peer_convert):
14149         * gst/gstutils.h:
14150           API: add some new utility functions:
14151            - gst_pad_query_peer_position()
14152            - gst_pad_query_peer_duration()
14153            - gst_pad_query_peer_convert()
14154           
14155 2006-03-23  Wim Taymans  <wim@fluendo.com>
14156
14157         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
14158         (gst_base_sink_init), (gst_base_sink_finalize),
14159         (gst_base_sink_set_qos_enabled), (gst_base_sink_is_qos_enabled),
14160         (gst_base_sink_set_property), (gst_base_sink_get_property),
14161         (gst_base_sink_commit_state), (gst_base_sink_get_sync_times),
14162         (gst_base_sink_wait_clock), (gst_base_sink_do_sync),
14163         (gst_base_sink_add_qos_observation), (gst_base_sink_send_qos),
14164         (gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
14165         (gst_base_sink_is_too_late), (gst_base_sink_render_object),
14166         (gst_base_sink_preroll_object), (gst_base_sink_event),
14167         (gst_base_sink_chain_unlocked), (gst_base_sink_get_position_last),
14168         (gst_base_sink_get_position_paused), (gst_base_sink_get_position),
14169         (gst_base_sink_query), (gst_base_sink_change_state):
14170         Decouple max-lateness and the fact that QoS messages are generated
14171         with a new property (qos).
14172         added API: GstBaseSink::async_play()
14173         Add vmethod so subclasses can be notified of ASYNC playing
14174         state changes.
14175         Collect timestamp start and stop to report better current
14176         position in EOS/PLAYING/PAUSED/READY/NULL.
14177         Refactor QoS/frame dropping and other measurements.
14178         API: GstBaseSrc::qos
14179         Fixes #326311
14180
14181         * libs/gst/base/gstbasesink.h:
14182         Added Private struct.
14183         API: gst_base_sink_set_qos_enabled()
14184         API: gst_base_sink_is_qos_enabled()
14185
14186 2006-03-23  Tim-Philipp Müller  <tim at centricular dot net>
14187
14188         * gst/gstregistryxml.c: (gst_registry_xml_read_cache):
14189           If compiling against GLib-2.8 or newer, try to read the
14190           registry file using GMappedFile first before falling back
14191           to fopen() + fread() (#332151).
14192
14193 2006-03-22  Wim Taymans  <wim@fluendo.com>
14194
14195         * gst/gstinfo.c: (gst_debug_set_active),
14196         (gst_debug_category_set_threshold):
14197         Disable debugging unless explicitly activated.
14198         Fixes #335480.
14199
14200 2006-03-22  Wim Taymans  <wim@fluendo.com>
14201
14202         * gst/gstelement.c: (gst_element_set_locked_state),
14203         (gst_element_dispose):
14204         Cleanup the error case.
14205
14206         * gst/gstobject.c: (gst_object_dispose):
14207         print a critical when some object was disposed with
14208         a parent, also revive the object since it might
14209         crash the parent.
14210
14211 2006-03-22  Tim-Philipp Müller  <tim at centricular dot net>
14212
14213         * tools/gst-launch.1.in:
14214           Fix another typo.
14215
14216 2006-03-21  Thomas Vander Stichele  <thomas at apestaart dot org>
14217
14218         * configure.ac:
14219         * tests/check/Makefile.am:
14220           disable some tests when we don't have a registry
14221         * tests/check/gst/gstutils.c: (gst_utils_suite):
14222           don't build the part that needs parsing
14223
14224 2006-03-21  Thomas Vander Stichele  <thomas at apestaart dot org>
14225
14226         * gst/Makefile.am
14227         * tests/examples/Makefile.am:
14228           fix --disable-parse build
14229
14230 2006-03-21  Tim-Philipp Müller  <tim at centricular dot net>
14231
14232         * tools/gst-feedback.1.in:
14233           Fix typo: s/feeback/feedback/ (#133494).
14234
14235 2006-03-21  Tim-Philipp Müller  <tim at centricular dot net>
14236
14237         * tools/Makefile.am:
14238         * tools/gst-launch.1.in:
14239           Add FILES section and correct entry about GST_REGISTRY_PATH
14240           environment variable (#133495; #133494).
14241
14242 2006-03-21  Tim-Philipp Müller  <tim at centricular dot net>
14243
14244         * tools/Makefile.am:
14245         * tools/gst-md5sum.1.in:
14246         * tools/gst-md5sum.c:
14247           Remove gst-md5sum and man page (the md5sink element
14248           required was removed ages ago)
14249
14250 2006-03-21  Tim-Philipp Müller  <tim at centricular dot net>
14251
14252         * gst/gststructure.c: (gst_structure_id_set_value):
14253           Make sure that string fields in structures/taglists
14254           contain valid UTF-8 - we don't want to pass rubbish to
14255           applications because of a buggy plugin (cp. #334167).
14256
14257 2006-03-21  Edward Hervey  <edward@fluendo.com>
14258
14259         * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
14260         (gst_bin_handle_message_func):
14261         * gst/gstclock.c: (gst_clock_dispose), (gst_clock_set_master):
14262         * gst/gstelement.c: (gst_element_set_clock), (gst_element_dispose),
14263         (gst_element_set_bus_func):
14264         * gst/gstghostpad.c: (gst_proxy_pad_dispose):
14265         * gst/gstminiobject.c: (gst_value_set_mini_object),
14266         (gst_value_take_mini_object):
14267         * gst/gstpad.c: (gst_pad_set_pad_template):
14268         * gst/gstpipeline.c: (gst_pipeline_dispose),
14269         (gst_pipeline_use_clock), (gst_pipeline_auto_clock):
14270         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_pop),
14271         (gst_collect_pads_chain):
14272         * libs/gst/net/gstnettimeprovider.c:
14273         (gst_net_time_provider_set_property):
14274         Series of fixes for dereferenced pointers that gcc 4.1 complains about.
14275         It's in fact all issues with gst_*object_replace().
14276
14277 2006-03-21  Tim-Philipp Müller  <tim at centricular dot net>
14278
14279         Patch by: Loïc Minier  <lool + gnome at via dot ecp dot fr>
14280         
14281         * pkgconfig/gstreamer-check-uninstalled.pc.in:
14282         * pkgconfig/gstreamer-check.pc.in:
14283           Use @CHECK_LIBS@ here instead of hard-coding -lcheck (#334109).
14284
14285 2006-03-21  Edward Hervey  <edward@fluendo.com>
14286
14287         * gst/gstbuffer.h:
14288         * gst/gstevent.h:
14289         * gst/gstmessage.h:
14290         gst_[buffer|event|message]_ref() macros are replaced by a static
14291         inline functions because gcc-4.1 will about if the return value
14292         isn't used.
14293         * tests/check/gst/gstevent.c: (event_probe):
14294         gst_event_ref now has to be given a GstEvent* , fix check accordingly.
14295
14296 2006-03-20  Jan Schmidt  <thaytan@mad.scientist.com>
14297
14298         * gst/gstutils.h:
14299         Add G_UNLIKELY to our boilerplate to optimise the 'already registered
14300         the type' case. (Closes: #335195 for now). In the future, when we
14301         depend on GLib 2.10, we could also intern the type name using
14302         g_intern_static_string()
14303
14304 2006-03-20  Wim Taymans  <wim@fluendo.com>
14305
14306         * gst/gstbin.c: (gst_bin_handle_message_func),
14307         (bin_query_max_init), (bin_query_position_fold),
14308         (bin_query_position_done), (gst_bin_query):
14309         Position query should also take max of all streams.
14310
14311 2006-03-20  Wim Taymans  <wim@fluendo.com>
14312
14313         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
14314         (gst_fake_src_finalize):
14315         Fix leaks in fakesrc.
14316
14317         * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
14318         Fix leaks in the testcase.
14319
14320 2006-03-19  Sebastien Moutte  <sebastien@moutte.net>
14321
14322         * gst/gst_private.h:
14323           add win32 specific import decoration(__declspec(dllimport)) 
14324           for all extern GstDebugCategory * variables
14325         * win32/common/libgstbase.def:
14326         * win32/common/libgstcontroller.def:
14327         * win32/common/libgstreamer.def:
14328           Add some exports, remove empty lines
14329         * win32/common/libgstdataprotocol.def:
14330         * win32/common/libgstdataprotocol.dsp:
14331         * win32/common/libgstnet.def:
14332         * win32/common/libgstnet.dsp:
14333           new project files and exportation files added
14334         
14335 2006-03-19  Wim Taymans  <wim@fluendo.com>
14336
14337         * tests/check/libs/basesrc.c: (eos_event_counter):
14338         Use proper return value for probe.
14339
14340 2006-03-17  Wim Taymans  <wim@fluendo.com>
14341
14342         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_alloc_buffer_full),
14343         (gst_pad_push):
14344         Don't leak buffers, caps and pads on negotiation errors.
14345
14346 2006-03-16  Stefan Kost  <ensonic@users.sf.net>
14347
14348         * docs/faq/cvs.xml:
14349         * docs/faq/dependencies.xml:
14350         * docs/faq/developing.xml:
14351         * docs/faq/faq.xml:
14352         * docs/faq/general.xml:
14353         * docs/faq/getting.xml:
14354         * docs/faq/legal.xml:
14355         * docs/faq/troubleshooting.xml:
14356         * docs/faq/using.xml:
14357         Faq review and update.
14358
14359 2006-03-16  Jan Schmidt  <thaytan@mad.scientist.com>
14360
14361         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_alloc_buffer_full),
14362         (gst_pad_push):
14363         Don't pound the cpu to pieces by checking get_caps when accept_caps
14364         is called with the same caps as the pad already has.
14365         Use GST_DEBUG_OBJECT when outputting caps change information.
14366
14367 2006-03-15  Wim Taymans  <wim@fluendo.com>
14368
14369         * gst/gstclock.c: (gst_clock_class_init):
14370         Fix docs.
14371
14372 2006-03-15  Jan Schmidt  <thaytan@mad.scientist.com>
14373
14374         * gst/gstbuffer.h:
14375         Documentation fix.
14376
14377         * gst/gstpad.c: (gst_pad_init), (gst_pad_acceptcaps_default),
14378         (gst_pad_accept_caps), (gst_pad_configure_sink),
14379         (gst_pad_configure_src), (gst_pad_chain), (gst_pad_push):
14380         Make the default acceptcaps behaviour be to check the requested 
14381         caps against the gst_pad_get_caps output. 
14382
14383         Ensure that gst_pad_accept_caps is used to check caps when a pad
14384         doesn't have a setcaps function, so that pads automatically refuse 
14385         caps that they don't allow in their pad template. (Fixes #332986)
14386
14387         When a buffer with attached caps is pushed, ensure that the source 
14388         pad receives those caps even if the element didn't call
14389         gst_pad_set_caps first.
14390
14391 2006-03-15  Wim Taymans  <wim@fluendo.com>
14392
14393         * libs/gst/base/gstadapter.c:
14394         Add some docs.
14395
14396 2006-03-15  Tim-Philipp Müller  <tim at centricular dot net>
14397
14398         * win32/common/libgstbase.def:
14399         * win32/common/libgstcontroller.def:
14400         * win32/common/libgstreamer.def:
14401           Add a whole bunch of missing functions (#334434).
14402
14403 2006-03-14  Wim Taymans  <wim@fluendo.com>
14404
14405         * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment),
14406         (gst_base_sink_get_sync_times), (gst_base_sink_wait_clock),
14407         (gst_base_sink_do_sync), (gst_base_sink_do_qos):
14408         Better debug info when we receive a segment event.
14409         Reorganize a bit so we can pass the get_times() results around.
14410         Use the segment format when calculating the running time.
14411         Don't do QoS is sync is disabled or we have no clock or the
14412         element does not want us to sync to the clock.
14413         Don't drop buffers if QoS is disabled for now.
14414
14415 2006-03-14  Wim Taymans  <wim@fluendo.com>
14416
14417         * gst/gstclock.c: (gst_clock_class_init), (do_linear_regression):
14418         Marked the stats property as unimplemented so people don't get
14419         wild ideas.
14420         Add debug message when regression goes wrong.
14421         Added some more docs.
14422
14423 2006-03-14  Wim Taymans  <wim@fluendo.com>
14424
14425         * gst/gstsegment.c: (gst_segment_to_stream_time):
14426         Return correct return type in case of errors.
14427
14428 2006-03-14  Wim Taymans  <wim@fluendo.com>
14429
14430         * gst/gstformat.c: (gst_format_get_name), (gst_format_to_quark):
14431           Don't segfault on invalid formats.
14432
14433 2006-03-14  Tim-Philipp Müller  <tim at centricular dot net>
14434
14435         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
14436           Can't use gst_segment_to_running_time() when the segment
14437           is not in GST_TIME_FORMAT (like with filesink, for example).
14438           Stops flac encoding pipelines from spewing critical warnings
14439           at EOS (#331248).
14440           
14441 2006-03-14  Tim-Philipp Müller  <tim at centricular dot net>
14442
14443         * gst/gstpipeline.c: (gst_pipeline_class_init):
14444           Add 'Since: 0.10.5' to gtk-doc blurb for added property.
14445
14446         * plugins/elements/gsttypefindelement.c:
14447         (gst_type_find_element_handle_event):
14448           Don't try to typefind empty streams.
14449
14450 2006-03-14  Wim Taymans  <wim@fluendo.com>
14451
14452         * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync),
14453         (gst_base_sink_do_qos):
14454         Separate QoS calculation.
14455         Only drop buffers when lateness is bigger than the 
14456         duration of the buffer.
14457
14458 2006-03-13  Wim Taymans  <wim@fluendo.com>
14459
14460         * gst/gstpipeline.c: (gst_pipeline_set_property),
14461         (gst_pipeline_get_property), (do_pipeline_seek),
14462         (gst_pipeline_change_state), (gst_pipeline_set_delay),
14463         (gst_pipeline_get_delay):
14464         Don't deadlock when reading properties.
14465
14466 2006-03-13  Wim Taymans  <wim@fluendo.com>
14467
14468         * libs/gst/base/gstbasetransform.c:
14469         (gst_base_transform_class_init), (gst_base_transform_init),
14470         (gst_base_transform_sink_event),
14471         (gst_base_transform_sink_eventfunc),
14472         (gst_base_transform_src_event), (gst_base_transform_src_eventfunc),
14473         (gst_base_transform_handle_buffer), (gst_base_transform_chain),
14474         (gst_base_transform_set_property),
14475         (gst_base_transform_get_property),
14476         (gst_base_transform_change_state), (gst_base_transform_update_qos),
14477         (gst_base_transform_set_qos_enabled),
14478         (gst_base_transform_is_qos_enabled):
14479         * libs/gst/base/gstbasetransform.h:
14480         Make basetransform virtual method for src events too.
14481         Handle QOS in basetransform.
14482         API: gst_base_transform_update_qos()
14483         API: gst_base_transform_set_qos_enabled()
14484         API: gst_base_transform_is_qos_enabled()
14485
14486 2006-03-13  Wim Taymans  <wim@fluendo.com>
14487
14488         * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
14489         (gst_base_sink_do_sync):
14490         Small cleanups.
14491         Use QOS debug category.
14492
14493 2006-03-13  Wim Taymans  <wim@fluendo.com>
14494
14495         * plugins/elements/gstqueue.c:
14496         Very small doc update.
14497
14498 2006-03-13  Wim Taymans  <wim@fluendo.com>
14499
14500         * gst/gst_private.h:
14501         * gst/gstinfo.c: (_gst_debug_init):
14502         Added QOS debug category
14503
14504 2006-03-13  Wim Taymans  <wim@fluendo.com>
14505
14506         * docs/gst/gstreamer-sections.txt:
14507         * gst/gstbin.c: (bin_bus_handler), (gst_bin_handle_message_func):
14508         * gst/gstbin.h:
14509         * gst/gstbus.c: (gst_bus_class_init):
14510         * gst/gstbus.h:
14511         * gst/gstclock.c:
14512         * gst/gstelement.c: (gst_element_set_locked_state):
14513         * gst/gstsegment.c:
14514         Documentation updates.
14515
14516         * gst/gstpipeline.c: (gst_pipeline_get_type),
14517         (gst_pipeline_class_init), (gst_pipeline_init),
14518         (gst_pipeline_dispose), (gst_pipeline_set_property),
14519         (gst_pipeline_get_property), (do_pipeline_seek),
14520         (gst_pipeline_send_event), (gst_pipeline_change_state),
14521         (gst_pipeline_provide_clock_func), (gst_pipeline_set_delay),
14522         (gst_pipeline_get_delay):
14523         * gst/gstpipeline.h:
14524         Added methods for setting the delay.
14525         API: gst_pipeline_set_delay()
14526         API: gst_pipeline_get_delay()
14527         Add pipeline debug category
14528         Various cleanups.
14529         Updated docs.
14530         Don't reset stream time when seek failed.
14531
14532 2006-03-13  Wim Taymans  <wim@fluendo.com>
14533
14534         * docs/design/draft-klass.txt:
14535         * docs/design/part-clocks.txt:
14536         * docs/design/part-events.txt:
14537         * docs/design/part-gstbin.txt:
14538         * docs/design/part-gstpipeline.txt:
14539         * docs/design/part-messages.txt:
14540         * docs/design/part-negotiation.txt:
14541         * docs/design/part-overview.txt:
14542         * docs/design/part-preroll.txt:
14543         * docs/design/part-seeking.txt:
14544         * docs/design/part-states.txt:
14545         * docs/design/part-streams.txt:
14546         Documentation updates.
14547
14548 2006-03-12  Julien MOUTTE  <julien@moutte.net>
14549
14550         * gst/gsttaglist.c: Fix rubbish docs that are encouraging
14551         us to leak strings...
14552
14553 2006-03-12  Thomas Vander Stichele  <thomas at apestaart dot org>
14554
14555         * libs/gst/net/gstnettimeprovider.c:
14556           fix docs
14557         * win32/common/config.h:
14558           update
14559
14560 2006-03-12  Tim-Philipp Müller  <tim at centricular dot net>
14561
14562         Patch by: Julio M. Merino Vidal <jmmv at netbsd org>
14563
14564         * configure.ac:
14565           Don't check for libgnomeui (leftover from old examples
14566           that aren't built or disted any longer) (#334303).
14567           
14568 2006-03-11  Tim-Philipp Müller  <tim at centricular dot net>
14569
14570         * plugins/elements/gstfdsink.c: (gst_fd_sink_render):
14571         * plugins/elements/gstfilesink.c: (gst_file_sink_render):
14572           Emit RESOURCE_NO_SPACE_LEFT error here as well when
14573           there's no space left on the device.
14574
14575 2006-03-10  Tim-Philipp Müller  <tim at centricular dot net>
14576
14577         * gst/gstclock.h:
14578           Fix GST_CLOCK_TIME_IS_VALID signedness issues - we need
14579           to cast the input to GstClockTime before comparing with
14580           another GstClockTime value.
14581
14582 2006-03-10  Thomas Vander Stichele  <thomas at apestaart dot org>
14583
14584         * configure.ac:
14585           back to trunk
14586
14587 === release 0.10.4 ===
14588
14589 2006-03-10  Thomas Vander Stichele <thomas at apestaart dot org>
14590
14591         * configure.ac:
14592           releasing 0.10.4, "Light"
14593
14594 2006-03-10  Michael Smith  <msmith@fluendo.com>
14595
14596         * libs/gst/dataprotocol/dataprotocol.c:
14597           Fix docs for dataprocotol to not get the return types completely
14598           wrong for a few functions.
14599
14600 2006-03-09  Tim-Philipp Müller  <tim at centricular dot net>
14601
14602         * docs/gst/gstreamer-sections.txt:
14603         * gst/gstpipeline.c: (gst_pipeline_class_init),
14604         (gst_pipeline_init), (gst_pipeline_set_property),
14605         (gst_pipeline_get_property), (gst_pipeline_change_state),
14606         (gst_pipeline_set_auto_flush_bus),
14607         (gst_pipeline_get_auto_flush_bus):
14608         * gst/gstpipeline.h:
14609           Add new API: gst_pipeline_set_auto_flush_bus() and
14610           gst_pipeline_get_auto_flush_bus() to disable automatic
14611           flushing of the pipeline's GstBus when going from READY
14612           to NULL state (#332045).
14613
14614 2006-03-09  Tim-Philipp Müller  <tim at centricular dot net>
14615
14616         * docs/gst/gstreamer-sections.txt:
14617         * gst/gsturi.c: (gst_uri_has_protocol):
14618         * gst/gsturi.h:
14619            Add new API: gst_uri_has_protocol() (#333779).
14620
14621 2006-03-09  Wim Taymans  <wim@fluendo.com>
14622
14623         * gst/gstclock.c: (gst_clock_entry_new),
14624         (gst_clock_id_compare_func), (gst_clock_id_wait),
14625         (gst_clock_id_wait_async), (gst_clock_id_unschedule),
14626         (gst_clock_init), (gst_clock_get_internal_time),
14627         (gst_clock_set_master), (do_linear_regression),
14628         (gst_clock_add_observation), (gst_clock_set_property):
14629         * gst/gstclock.h:
14630         Review docs.
14631         Small cleanups.
14632         Fix a possible segfault when the window-size is made smaller.
14633         Calculate jitter before performing the clock wait. Ideally
14634         the clock implementation should calculate jitter but we need
14635         API breakage for that.
14636
14637         * gst/gstsystemclock.c: (gst_system_clock_init):
14638         Docs review.
14639         
14640         * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync):
14641         Remove leftover else
14642
14643         * tests/check/gst/gstsystemclock.c: (GST_START_TEST),
14644         (gst_systemclock_suite):
14645         Added check to test GST_CLOCK_DIFF.
14646
14647 2006-03-09  Tim-Philipp Müller  <tim at centricular dot net>
14648
14649         * libs/gst/base/gsttypefindhelper.c: (helper_find_get_length),
14650         (gst_type_find_helper_get_range):
14651           If we are provided with the size, we should implement
14652           GstTypeFind::get_length, so that typefind functions who
14653           want to can actually peek at the middle of a file.
14654
14655 2006-03-08  Tim-Philipp Müller  <tim at centricular dot net>
14656
14657         * docs/manual/advanced-dataaccess.xml:
14658           Add some very very basic error checking.
14659
14660         * docs/pwg/appendix-checklist.xml:
14661           Some updates to the list of things to check when writing an element.
14662
14663 2006-03-08  Wim Taymans  <wim@fluendo.com>
14664
14665         * docs/design/part-element-transform.txt:
14666         Added some docs about the design of tranform elements.
14667
14668         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
14669         (gst_base_src_loop), (gst_base_src_change_state):
14670         Mark buffers with the DISCONT flag.
14671
14672 2006-03-08  Michael Smith  <msmith@fluendo.com>
14673
14674         * gst/gstregistry.h:
14675         * gst/gstregistryxml.c: (gst_registry_save),
14676         (gst_registry_save_escaped), (gst_registry_xml_save_caps),
14677         (gst_registry_xml_save_pad_template),
14678         (gst_registry_xml_save_feature), (gst_registry_xml_save_plugin),
14679         (gst_registry_xml_write_cache):
14680           Rewrite registry-saving to avoid race conditions and check for
14681           failed writes.
14682
14683 2006-03-08  Wim Taymans  <wim@fluendo.com>
14684
14685         * libs/gst/base/gstbasetransform.c:
14686         (gst_base_transform_transform_caps),
14687         (gst_base_transform_transform_size),
14688         (gst_base_transform_prepare_output_buffer),
14689         (gst_base_transform_get_unit_size),
14690         (gst_base_transform_buffer_alloc),
14691         (gst_base_transform_handle_buffer),
14692         (gst_base_transform_change_state):
14693         Cleanups, separate normal flow from errors, add sensible
14694         DEBUG lines.
14695         Don't try to renegotiate when allocating an output buffer.
14696         Also copy DISCONT buffer flag when copying a buffer.
14697         Reset the transform after we finish streaming, not during.
14698
14699 2006-03-08  Wim Taymans  <wim@fluendo.com>
14700
14701         * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync):
14702         Use last buffer timestamp in qos message.
14703
14704 2006-03-07  Wim Taymans  <wim@fluendo.com>
14705
14706         Patch by: Christophe Fergeau
14707
14708         * docs/pwg/advanced-tagging.xml:
14709         * docs/pwg/building-pads.xml:
14710           fixes #333416
14711
14712 2006-03-07  Wim Taymans  <wim@fluendo.com>
14713
14714         * docs/libs/gstreamer-libs-sections.txt:
14715         Added basesink new methods.
14716
14717         * gst/gstevent.c:
14718         * gst/gstevent.h:
14719         Docs updates. Flesh out the QoS docs.
14720
14721         * libs/gst/base/gstadapter.c:
14722         Small doc clarification about ownership and flushing.
14723
14724         * libs/gst/base/gstbasesink.c: (gst_base_sink_set_sync),
14725         (gst_base_sink_get_sync), (gst_base_sink_set_max_lateness),
14726         (gst_base_sink_get_max_lateness), (gst_base_sink_set_property),
14727         (gst_base_sink_get_property), (gst_base_sink_do_sync):
14728         * libs/gst/base/gstbasesink.h:
14729         API additions: 
14730         Added new methods to allow subclass to control max-lateness 
14731         and sync.
14732         Generate very basic QoS events based on last sync observation.
14733         Updated docs, fix typo, added some QoS blurb.
14734
14735         * libs/gst/base/gstbasesrc.c:
14736         Remove obsolete _get_state() calls from docs.
14737
14738 2006-03-07  Wim Taymans  <wim@fluendo.com>
14739
14740         * docs/libs/gstreamer-libs-sections.txt:
14741         * libs/gst/base/gstbasetransform.h:
14742         API addition: Fix #333669, Add pad accessor defines for GstBaseTransform
14743         Fix docs for GstBaseSrc.
14744
14745 2006-03-07  Wim Taymans  <wim@fluendo.com>
14746
14747         * docs/gst/gstreamer-sections.txt:
14748         * gst/gstbuffer.h:
14749         * gst/gstvalue.c:
14750         * libs/gst/base/gstbasetransform.h:
14751         Small documentation fixes.
14752
14753 2006-03-07  Tim-Philipp Müller  <tim at centricular dot net>
14754
14755         * gst/gstvalue.c:
14756           Document thread-unsafety of gst_value_register_foo_func()
14757           when used at the same time as gst_value_foo() (#322628).
14758
14759 2006-03-07  Tim-Philipp Müller  <tim at centricular dot net>
14760
14761         * libs/gst/base/gstpushsrc.c: (gst_push_src_class_init),
14762         (gst_push_src_check_get_range):
14763           Push sources don't support pull mode by default.
14764
14765 2006-03-06  Tim-Philipp Müller  <tim at centricular dot net>
14766
14767         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
14768         (gst_base_src_init), (gst_base_src_pad_check_get_range),
14769         (gst_base_src_default_check_get_range):
14770         * libs/gst/base/gstbasesrc.h:
14771           API addition:  Add ::check_get_range() vfunc to GstBaseSrc (#332611),
14772           provide default implementation, and rename
14773           gst_base_src_check_get_range() to
14774           gst_base_src_pad_check_get_range() for clarity.
14775
14776 2006-03-06  Wim Taymans  <wim@fluendo.com>
14777
14778         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
14779         Make property overridable.
14780
14781 2006-03-06  Wim Taymans  <wim@fluendo.com>
14782
14783         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
14784         (gst_base_sink_init), (gst_base_sink_set_property),
14785         (gst_base_sink_get_property), (gst_base_sink_do_sync):
14786         * libs/gst/base/gstbasesink.h:
14787         API addition: Make max-lateness a property.
14788
14789 2006-03-06  Wim Taymans  <wim@fluendo.com>
14790
14791         * libs/gst/base/gstbasesink.c: (gst_base_sink_wait_clock),
14792         (gst_base_sink_do_sync), (gst_base_sink_render_object):
14793         Don't ever draw a frame that is >10ms late.
14794
14795 2006-03-06  Michael Smith  <msmith@fluendo.com>
14796
14797         * gst/gstmessage.c: (_gst_message_copy):
14798           When copying a message, set the parent_refcount of the enclosed
14799           structure to point at the copy, not the original message.
14800
14801 2006-03-06  Tim-Philipp Müller  <tim at centricular dot net>
14802
14803         Patch by: Christophe Fergeau
14804
14805         * gst/gstutils.h:
14806           Do proper cast here to make GST_BOILERPLATE_WITH_INTERFACE
14807           usable in c++ code (#333417)
14808
14809 2006-03-06  Thomas Vander Stichele  <thomas at apestaart dot org>
14810
14811         * gst/gstclock.h:
14812           Show GST_CLOCK_TIME_NONE as 99:99:99.999999999
14813
14814 2006-03-05  Tim-Philipp Müller  <tim at centricular dot net>
14815
14816         * libs/gst/base/gstbasetransform.c:
14817         (gst_base_transform_transform_caps):
14818           Make sure caps are writable before passing them to
14819           gst_caps_append().
14820
14821 2006-03-04  Tim-Philipp Müller  <tim at centricular dot net>
14822
14823         * gst/gsterror.h:
14824           Fix some minor docs errors.
14825
14826 2006-03-04  Tim-Philipp Müller  <tim at centricular dot net>
14827
14828           Patch by: Ross Burton <ross at burtonini dot com>
14829
14830         * gst/gsterror.c: (_gst_resource_errors_init):
14831         * gst/gsterror.h:
14832           Add GST_RESOURCE_ERROR_NO_SPACE_LEFT (for #333352;
14833
14834 2006-03-03  Jan Schmidt  <thaytan@mad.scientist.com>
14835
14836         * gst/gst.c:
14837         Add a check and output a g_warning when GStreamer is built
14838         against GLib 2.6 but running against 2.8 or higher, and vice 
14839         versa. (Closes: #323542)
14840
14841 2006-03-03  Jan Schmidt  <thaytan@mad.scientist.com>
14842
14843         * gst/parse/parse.l:
14844           Commit patch for parse_launch syntax from #331255. Removes 
14845           support for quoted strings and mimetypes when writing filtered 
14846           caps. See the bug report for more details - I'm pretty sure this
14847           obscure feature is not in use by _anyone_ anywhere.
14848
14849           With this simple change, the size of the gstreamer.so here 
14850           drops from 2193KB to 1565KB.
14851
14852 2006-03-03  Tim-Philipp Müller  <tim at centricular dot net>
14853
14854         * plugins/elements/gsttypefindelement.h:
14855         * plugins/elements/gsttypefindelement.c:
14856         (gst_type_find_element_src_event), (start_typefinding),
14857         (stop_typefinding), (gst_type_find_element_handle_event),
14858         (gst_type_find_element_chain),
14859         (gst_type_find_element_chain_do_typefinding):
14860           Use gst_type_find_helper_for_buffer() for chain-based
14861           typefinding.
14862
14863 2006-03-03  Tim-Philipp Müller  <tim at centricular dot net>
14864
14865         * plugins/elements/gsttypefindelement.c:
14866         (gst_type_find_element_class_init),
14867         (gst_type_find_element_set_property),
14868         (gst_type_find_element_get_property):
14869           Deprecate "maximum" property (not only was it only taken into
14870           account for typefinding in push-mode anyway, it also was never
14871           actually possible to set it in the first place because the
14872           property was registered with the numeric property ID for the
14873           "minimum" property). Register "maximum" property correctly,
14874           for the sake of future copy'n'pasters. Remove some cruft
14875           from property get/set functions.
14876
14877 2006-03-03  Tim-Philipp Müller  <tim at centricular dot net>
14878
14879         * plugins/elements/gsttypefindelement.c:
14880         (gst_type_find_element_activate):
14881           Use gst_type_find_helper_get_range() here, so we
14882           can honour the "minimum" property and also emit
14883           the signal with the correct probability of the found caps.
14884
14885 2006-03-02  Tim-Philipp Müller  <tim at centricular dot net>
14886
14887         * docs/libs/gstreamer-libs-sections.txt:
14888         * libs/gst/base/gsttypefindhelper.c: (helper_find_peek),
14889         (helper_find_suggest), (gst_type_find_helper_get_range),
14890         (gst_type_find_helper):
14891         * libs/gst/base/gsttypefindhelper.h:
14892           New API: gst_type_find_helper_get_range() (#333042).
14893
14894 2006-03-02  Michael Smith  <msmith@fluendo.com>
14895
14896         * gst/gstregistryxml.c: (load_feature):
14897           Asserting on a failure to read part of the registry is Not Cool.
14898           Just log a warning and return NULL (which is already handled)
14899
14900 2006-02-28  Sebastien Moutte  <sebastien@moutte.net>
14901
14902         * win32/common/libgstbase.def:
14903           added export of gst_type_find_helper_for_buffer
14904         * win32/common/libgstbase.def:
14905           added some exports : gst_bin_iterate_elements, gst_iterator_resync,
14906           gst_ghost_pad_get_target
14907
14908 2006-02-28  Wim Taymans  <wim@fluendo.com>
14909
14910         * docs/design/draft-klass.txt:
14911         We use Filter now.
14912         Added Connector to mark elements that are only used to
14913         allow pipeline connections.
14914         Moved Debug to extra feature since most of them are 
14915         functionally something else.
14916
14917 2006-02-28  Wim Taymans  <wim@fluendo.com>
14918
14919         * docs/design/draft-klass.txt:
14920         Some updates and clarifications.
14921
14922 2006-02-28  Wim Taymans  <wim@fluendo.com>
14923
14924         * docs/design/draft-klass.txt:
14925         Proposal for klass field values.
14926
14927         * docs/design/part-streams.txt:
14928         Start of a doc describing stream anatomy.
14929
14930 2006-02-28  Wim Taymans  <wim@fluendo.com>
14931
14932         * gst/gstbin.c: (gst_bin_get_type), (gst_bin_handle_message_func):
14933         Help the compiler a bit with type registration.
14934         Use existing forward cod path instead of duplicating it when 
14935         handling a message.
14936         
14937         * gst/gstbus.c: (gst_bus_get_type):
14938         * gst/gstcaps.c: (gst_caps_get_type), (gst_static_caps_get_type):
14939         * gst/gstchildproxy.c: (gst_child_proxy_get_type):
14940         * gst/gstclock.c: (gst_clock_get_type):
14941         * gst/gstelement.c: (gst_element_get_type),
14942         * gst/gstelementfactory.c: (gst_element_factory_get_type):
14943         * gst/gstindexfactory.c: (gst_index_factory_get_type):
14944         * gst/gstminiobject.c: (gst_mini_object_get_type):
14945         * gst/gstpad.c: (gst_pad_get_type):
14946         * gst/gstsegment.c: (gst_segment_get_type):
14947         * gst/gststructure.c: (gst_structure_get_type):
14948         * gst/gstsystemclock.c: (gst_system_clock_get_type):
14949         * gst/gsttask.c: (gst_task_get_type), (gst_task_join):
14950         * gst/gstvalue.c:
14951         Help compiler with type registration.
14952
14953         * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event):
14954         Small doc update.
14955
14956 2006-02-27  Tim-Philipp Müller  <tim at centricular dot net>
14957
14958         * plugins/elements/gsttypefindelement.c:
14959         (gst_type_find_element_handle_event):
14960           When we get an EOS event and have not found a type yet
14961           (most likely because we had not yet accumulated
14962           TYPE_FIND_MIN_SIZE of data yet), try to determine the
14963           type given the data we have so far. Fixes typefinding
14964           for very short streams again, most notably quicktime
14965           redirections as used on Apple's trailer site (#331701).
14966
14967 2006-02-27  Tim-Philipp Müller  <tim at centricular dot net>
14968
14969         * libs/gst/base/gsttypefindhelper.c: (type_find_factory_rank_cmp),
14970         (gst_type_find_helper):
14971           Try typefinding factories with the highest rank first.
14972
14973 2006-02-27  Tim-Philipp Müller  <tim at centricular dot net>
14974
14975         * docs/libs/gstreamer-libs-docs.sgml:
14976         * docs/libs/gstreamer-libs-sections.txt:
14977         * libs/gst/base/gsttypefindhelper.c:
14978           Add section for typefind helper and add documentation
14979           for the old and the new function.
14980
14981 2006-02-27  Tim-Philipp Müller  <tim at centricular dot net>
14982
14983         * libs/gst/base/gsttypefindhelper.c: (buf_helper_find_peek),
14984         (buf_helper_find_suggest), (type_find_factory_rank_cmp),
14985         (gst_type_find_helper_for_buffer):
14986         * libs/gst/base/gsttypefindhelper.h:
14987           New API: gst_type_find_helper_for_buffer() (#332723).
14988           
14989 2006-02-27  Michael Smith  <msmith@fluendo.com>
14990
14991         Patch by: Loïc Minier
14992
14993         * configure.ac:
14994         * docs/Makefile.am:
14995         * docs/slides/Makefile.am:
14996           prevent CVS directories getting disted.
14997
14998 2006-02-27  Tim-Philipp Müller  <tim at centricular dot net>
14999
15000         * gst/gstcaps.c: (gst_caps_ref), (gst_caps_unref):
15001           Use the REFCOUNTING category for caps refcounting.
15002           
15003 2006-02-26  Tim-Philipp Müller  <tim at centricular dot net>
15004
15005         * plugins/elements/gsttypefindelement.c: (stop_typefinding):
15006           This should be 0 not GST_CLOCK_TIME_NONE (see #331701).
15007
15008 2006-02-26  Tim-Philipp Müller  <tim at centricular dot net>
15009
15010         * plugins/elements/gsttypefindelement.c:
15011         (gst_type_find_element_activate):
15012           Use gst_pad_check_pull_range() before _activate_pull()
15013           to avoid unnecessary open/close (see #331690).
15014
15015 2006-02-24  Tim-Philipp Müller  <tim at centricular dot net>
15016
15017         * gst/gstutils.c:
15018           Docs enhancement: make it crystal clear what the
15019           gst_pad_add_*_probe() callbacks should look like.
15020
15021 2006-02-24  Tim-Philipp Müller  <tim at centricular dot net>
15022
15023         * libs/gst/base/gstbasesrc.c:
15024           Document how applications can stop recording from
15025           live sources (see #330996).
15026
15027 2006-02-23  Tim-Philipp Müller  <tim at centricular dot net>
15028
15029         * tests/check/Makefile.am:
15030         * tests/check/libs/basesrc.c: (eos_event_counter),
15031         (basesrc_eos_events_pull), (basesrc_eos_events_push),
15032         (basesrc_eos_events_push_live_op), (basesrc_eos_events_pull_live_op),
15033         (gst_basesrc_suite), (main):
15034           ... and add some tests for the base source EOS stuff.
15035
15036 2006-02-23  Tim-Philipp Müller  <tim at centricular dot net>
15037
15038         * tests/check/gst/gstutils.c: (test_buffer_probe_n_times):
15039           Test case originally showed the problem fixed below,
15040           but was then amended. Add checks back at the place
15041           where they used to be.
15042
15043 2006-02-23  Tim-Philipp Müller  <tim at centricular dot net>
15044
15045         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
15046         (gst_base_src_init), (gst_base_src_loop),
15047         (gst_base_src_activate_push), (gst_base_src_activate_pull),
15048         (gst_base_src_change_state):
15049         * libs/gst/base/gstbasesrc.h:
15050           Don't unconditionally send EOS when going from PAUSED to
15051           READY state, esp. make sure we don't send two EOS events
15052           in some cases (e.g. one when reaching EOS and one when
15053           going from PAUSED to READY). Also, we don't want to send
15054           EOS events when operating in pull mode. However, we do
15055           want to send an EOS event when shutting down a live
15056           source explicitly, for example (fixes #330996).
15057           
15058 2006-02-23  Tim-Philipp Müller  <tim at centricular dot net>
15059
15060         * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
15061           Update src->read_position after a seek when not using mmap.
15062           Fixes #332277, patch by: Renchi Raju <renchi gmail com>
15063
15064 2006-02-21  Jan Schmidt  <thaytan@mad.scientist.com>
15065
15066         * gst/Makefile.am:
15067         * gst/gstparse.h:
15068         * gst/gstutils.c:
15069         * gst/gstutils.h:
15070         Make things work with --disable-parse as they do with 
15071         --disable-load-save - the symbols involved disappear, but the
15072         header is still installed and GST_DISABLE_PARSE is included via
15073         gstconfig.h
15074
15075 2006-02-20  Julien MOUTTE  <julien@moutte.net>
15076
15077         * libs/gst/base/gstbasetransform.c:
15078         (gst_base_transform_change_state): Fix a stupid bug. I was 
15079         sure I compiled that.
15080
15081 2006-02-20  Julien MOUTTE  <julien@moutte.net>
15082
15083         * gst/gstpad.c: (gst_pad_set_blocked_async):
15084         * gst/gstutils.c: (gst_pad_add_data_probe),
15085         (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
15086         (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
15087         (gst_pad_remove_buffer_probe): Make those function act on the
15088         ghostpad target when it's a ghostpad. (Closes #331727)
15089
15090 2006-02-20  Julien MOUTTE  <julien@moutte.net>
15091
15092         * libs/gst/base/gstbasetransform.c:
15093         (gst_base_transform_change_state): Make basetransform reusable.
15094         (Closes #331898)
15095
15096 2006-02-20  Jan Schmidt  <thaytan@mad.scientist.com>
15097
15098         * docs/random/release:
15099         Move the current documentation of how to do a release to the top
15100         of the file.
15101
15102         * gst/gstbin.c: (gst_bin_class_init),
15103         (gst_bin_handle_message_func):
15104         Allow multiple state-recalculation threads. (Closes #328873)
15105
15106 2006-02-19  Julien MOUTTE  <julien@moutte.net>
15107
15108         * gst/gstinfo.h: Add GST_STR_NULL to the second string.
15109         * gst/gstpad.c: (gst_pad_set_event_function),
15110         (gst_pad_set_query_function), (gst_pad_set_query_type_function),
15111         (gst_pad_set_getcaps_function): GST_DEBUG_PAD_NAME evaluates to
15112         2 strings. You can't use the STR_NULL macro on that.
15113
15114 2006-02-19  Sebastien Moutte <sebastien@moutte.net>
15115
15116         * gst/gstpad.c: (gst_pad_set_event_function),
15117         (gst_pad_set_query_function), (gst_pad_set_query_type_function),
15118         (gst_pad_set_getcaps_function)
15119         * gst/parse/grammar.y: (gst_parse_found_pad), (gst_parse_perform_delayed_link)
15120           Fixed NULL pointer used in GST_CAT_DEBUG using GST_STR_NULL macro
15121           So now, we can use --gst-debug-level=5 on Windows
15122         * win32/common/libgstcontroller.def:
15123           Added export of gst_controller_init
15124         * win32/vs6/libgstcontroller.dsp:
15125           Fixed Release post build configuration
15126
15127 2006-02-17  Wim Taymans  <wim@fluendo.com>
15128
15129         * tests/check/gst/gstquery.c: (GST_START_TEST):
15130         Added another check.
15131
15132 2006-02-15  Tim-Philipp Müller  <tim at centricular dot net>
15133
15134         * plugins/elements/gsttypefindelement.c: (find_peek):
15135           We can do peeks at non-zero offsets, as long as they
15136           fall within the buffer we have.
15137
15138 2006-02-15  Jan Schmidt  <thaytan@mad.scientist.com>
15139
15140         * tests/check/Makefile.am:
15141         * tests/check/pipelines/parse-launch.c: (setup_pipeline),
15142         (expected_fail_pipe), (check_pipeline_runs), (GST_START_TEST),
15143         (parse_suite), (main):
15144           Add testsuite for parse launch syntax
15145
15146 2006-02-14  Tim-Philipp Müller  <tim at centricular dot net>
15147
15148         * plugins/elements/gsttypefindelement.c:
15149         (gst_type_find_element_chain):
15150           When typefinding is unsuccessful in the chain function, don't
15151           error out immediately. Only error out with NO_CAPS_FOUND if
15152           the amount of data is at least MAX_TYPEFIND_SIZE bytes,
15153           otherwise simply wait for more data so we can try typefinding
15154           again with more data later. Also, don't attempt to typefind
15155           if we have less than MIN_TYPEFIND_SIZE data available. Overall,
15156           this should improve typefinding from network sources where the
15157           size of the first buffer can be somewhat random.
15158
15159 2006-02-14  Wim Taymans  <wim@fluendo.com>
15160
15161         * docs/gst/gstreamer-sections.txt:
15162         * gst/gstpadtemplate.c:
15163         * gst/gstpadtemplate.h:
15164         Fix padtemplate docs, fixes #328805.
15165
15166 2006-02-14  Wim Taymans  <wim@fluendo.com>
15167
15168         * tools/gst-launch.c: (main):
15169         NO_PREROLL is not an ERROR so don't send confusing messages
15170         to the user.
15171
15172 2006-02-14  Wim Taymans  <wim@fluendo.com>
15173
15174         Patch by: Torsten Schoenfeld
15175
15176         * gst/gstregistry.c: (gst_registry_get_default),
15177         (_gst_registry_cleanup):
15178         Protect default registry with lock and ref/sink it.
15179         Fixes #324818
15180
15181 2006-02-14  Wim Taymans  <wim@fluendo.com>
15182
15183         * gst/gstbuffer.c:
15184         * gst/gstquery.c: (gst_query_list_add_format),
15185         (gst_query_set_formatsv), (gst_query_parse_formats_length),
15186         (gst_query_parse_formats_nth):
15187         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
15188         Docs fixes.
15189
15190 2006-02-14  Wim Taymans  <wim@fluendo.com>
15191
15192         * docs/gst/gstreamer-sections.txt:
15193         Reworked query docs.
15194
15195         * gst/gstquery.c: (gst_query_new_formats),
15196         (gst_query_list_add_format), (gst_query_set_formats),
15197         (gst_query_set_formatsv), (gst_query_parse_formats_length),
15198         (gst_query_parse_formats_nth):
15199         * gst/gstquery.h:
15200         Flesh out formats query, added some new methods.
15201         Fix part of #324398.
15202
15203         * tests/check/gst/gstquery.c: (GST_START_TEST), (gstquery_suite):
15204         Added query creation tests.
15205
15206 2006-02-14  Jan Schmidt  <thaytan@mad.scientist.com>
15207
15208         * gst/gstpad.c: (fixate_value):
15209         Add a default fixation for fraction lists.
15210
15211 2006-02-13  Wim Taymans  <wim@fluendo.com>
15212
15213         * gst/gsttask.c: (gst_task_init), (gst_task_func),
15214         (gst_task_set_lock), (gst_task_start), (gst_task_pause),
15215         (gst_task_join):
15216         * gst/gsttask.h:
15217         Detect and warn for obvious deadlocks. fixes #320340
15218         Fix error case where lock was not released.
15219
15220         * tests/check/Makefile.am:
15221         * tests/check/gst/gsttask.c: (task_func2), (GST_START_TEST),
15222         (task_func), (gst_element_suite), (main):
15223         Add task check.
15224
15225 2006-02-13  Wim Taymans  <wim@fluendo.com>
15226
15227         * docs/gst/gstreamer-sections.txt:
15228         * gst/gstbus.c:
15229         Add new functions to docs.
15230
15231 2006-02-13  Wim Taymans  <wim@fluendo.com>
15232
15233         * docs/design/part-TODO.txt:
15234         Updated TODO list, basesrc supports seeking to non-bytes
15235         formats.
15236
15237         * docs/design/part-element-sink.txt:
15238         Update docs.
15239
15240         * gst/gstbin.c: (bin_replace_message),
15241         (gst_bin_handle_message_func):
15242         * gst/gstbus.c: (gst_bus_post), (gst_bus_pop):
15243         * gst/gstevent.c: (gst_event_finalize):
15244         * gst/gstpad.c: (gst_pad_event_default_dispatch),
15245         (gst_pad_send_event):
15246         Use shiny new _TYPE_NAME macros.
15247
15248         * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range):
15249         Move debug statement up.
15250
15251         * gst/gstelement.c: (gst_element_set_locked_state):
15252         Add some debugging.
15253
15254 2006-02-13  Tim-Philipp Müller  <tim at centricular dot net>
15255
15256         * docs/gst/gstreamer-sections.txt:
15257         * gst/gstmessage.h:
15258         * gst/gstquery.h:
15259           New API: add GST_MESSAGE_TYPE_NAME and GST_QUERY_TYPE_NAME
15260           macros (#330906). Also, document the already existing
15261           GST_QUERY_TYPE macro.
15262
15263 2006-02-13  Wim Taymans  <wim@fluendo.com>
15264
15265         * tests/check/gst/gstutils.c: (data_probe), (buffer_probe),
15266         (event_probe), (GST_START_TEST):
15267         Only events up to the pipeline EOS are counted, there are
15268         some more when going to NULL currently which we don't care
15269         about for now.
15270
15271 2006-02-13  Wim Taymans  <wim@fluendo.com>
15272
15273         * gst/gstpad.c: (gst_pad_send_event):
15274         Correctly check flushing and emit probes. fixes #330125
15275
15276 2006-02-10  Andy Wingo  <wingo@pobox.com>
15277
15278         * gst/gstbus.c (gst_bus_class_init): Declare our private data
15279         structure.
15280         (gst_bus_init): Cache the location of the private data in the
15281         instance structure.
15282         (gst_bus_enable_sync_message_emission) 
15283         (gst_bus_disable_sync_message_emission): Implement new public
15284         functions.
15285         (gst_bus_post): Emit the sync-message signal if the user asked for
15286         it. Fixes #330684.
15287
15288         * gst/gstbus.h (GstBus): Use a padding pointer to cache the
15289         location of the bus-private structure.
15290         (gst_bus_enable_sync_message_emission)
15291         (gst_bus_disable_sync_message_emission): API addition
15292
15293 2006-02-10  Jan Schmidt  <thaytan@mad.scientist.com>
15294
15295         Patch by: Vincent Torri
15296
15297         * docs/pwg/building-boiler.xml:
15298         PWG patch from #326800
15299
15300 2006-02-09  Tim-Philipp Müller  <tim at centricular dot net>
15301
15302         * configure.ac:
15303         * docs/Makefile.am:
15304         * docs/design/Makefile.am:
15305           Dist design docs.
15306
15307 2006-02-08  Jan Schmidt  <thaytan@mad.scientist.com>
15308
15309         * configure.ac:
15310           back to CVS
15311
15312 === release 0.10.3 ===
15313
15314 2006-02-08  Jan Schmidt <thaytan@mad.scientist.com>
15315
15316         * configure.ac:
15317           releasing 0.10.3, "Like a virgin"
15318
15319 2006-02-08  Jan Schmidt  <thaytan@mad.scientist.com>
15320
15321         * configure.ac:
15322           2nd prerelease of 0.10.3
15323           Bump libtool versioning.
15324
15325 2006-02-07  Andy Wingo  <wingo@pobox.com>
15326
15327         * libs/gst/base/gstcollectpads.c (gst_collect_pads_chain): Only
15328         update last_stop if we're in TIME format and the timestamp is
15329         valid.
15330
15331         * libs/gst/base/gstcollectpads.c (gst_collect_pads_event) 
15332         * libs/gst/base/gstbasetransform.c (gst_base_transform_eventfunc): 
15333         * libs/gst/base/gstbasesink.c (gst_base_sink_configure_segment):
15334         If we get a new newsegment with a different format, adapt
15335         accordingly.
15336
15337         * gst/gstclock.c (gst_clock_set_calibration): Accept a numerator
15338         of 0. Not a problem, really.
15339
15340         * libs/gst/base/gstbasesink.c (gst_base_sink_chain_unlocked): Only
15341         warn if sync=true.
15342
15343 2006-02-06  Jan Schmidt  <thaytan@mad.scientist.com>
15344
15345         * configure.ac:
15346           Prelease of 0.10.3
15347
15348 2006-02-06  Sebastien Moutte  <sebastien@moutte.net>
15349
15350         * win32/vs7:
15351           project files updated to the default vs7 configuration
15352         * win32/common/libgstbase.def:
15353         * win32/common/libgstreamer.def:
15354           added new symbols,
15355           removed empty lines,
15356           sorted all exported symbols alphabetically
15357         * win32/common/dirent.c:
15358         * win32/common/dirent.h:
15359         * win32/common/gchar.h:
15360           use windows line end.
15361           
15362 2006-02-06  Tim-Philipp Müller  <tim at centricular dot net>
15363
15364         * libs/gst/base/gstbasesrc.c: (gst_base_src_change_state):
15365           Send EOS event when stopping.
15366
15367 2006-02-06  Tim-Philipp Müller  <tim at centricular dot net>
15368
15369         * docs/README:
15370           Tell folks what to do if the plugin-foobar.xml file
15371           hasn't been generated for a newly-added plugin.
15372
15373 2006-02-05  Julien MOUTTE  <julien@moutte.net>
15374
15375         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
15376         (gst_collect_pads_add_pad), (gst_collect_pads_remove_pad),
15377         (gst_collect_pads_start), (gst_collect_pads_stop),
15378         (gst_collect_pads_event): Collectpads now holds a reference
15379         to the GstPad that was added. Indeed we don't want to look
15380         at pads that might just go away with no warning...
15381
15382 2006-02-05  Julien MOUTTE  <julien@moutte.net>
15383
15384         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
15385         (gst_collect_pads_start), (gst_collect_pads_stop),
15386         (gst_collect_pads_event), (gst_collect_pads_chain):
15387         * libs/gst/base/gstcollectpads.h: Handle flush. Adapted from
15388         Mark Nauwelaerts's patch on bug #328491.
15389
15390 2006-02-04  Tim-Philipp Müller  <tim at centricular dot net>
15391
15392         * tests/check/gst/gstutils.c: (test_parse_bin_from_description),
15393         (gst_utils_suite):
15394           Add some simple tests for gst_parse_bin_from_description() and
15395           gst_bin_find_unconnected_pad() (#329069).
15396
15397 2006-02-04  Tim-Philipp Müller  <tim at centricular dot net>
15398
15399         * tools/gst-launch.c: (event_loop), (main):
15400           Catch errors during preroll (#320084).
15401
15402 2006-02-03  Tim-Philipp Müller  <tim at centricular dot net>
15403
15404         * plugins/elements/gsttypefindelement.c:
15405         (gst_type_find_element_activate):
15406           Post TYPE_NOT_FOUND error message when typefinding
15407           is unsuccessful in the activate function as well.
15408
15409 2006-02-02  Wim Taymans  <wim@fluendo.com>
15410
15411         * docs/design/part-element-sink.txt:
15412         Updated doc.
15413
15414 2006-02-02  Wim Taymans  <wim@fluendo.com>
15415
15416         * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync),
15417         (gst_base_sink_render_object),
15418         (gst_base_sink_queue_object_unlocked):
15419         Only keep track of prerollable items when we are 
15420         prerolling.
15421         Before rendering after preroll, always check if we
15422         have queued items.
15423         Added some more debugging.
15424
15425 2006-02-02  Wim Taymans  <wim@fluendo.com>
15426
15427         * gst/gstelement.c: (gst_element_continue_state),
15428         (gst_element_set_state_func), (gst_element_change_state):
15429         Fixed #326576, been running this for quite some time with
15430         no regressions at all.
15431
15432 2006-02-02  Wim Taymans  <wim@fluendo.com>
15433
15434         * common/gst.supp:
15435         Added more suppressions
15436
15437 2006-02-02  Wim Taymans  <wim@fluendo.com>
15438
15439         * docs/design/part-element-sink.txt:
15440         Updated document.
15441
15442         * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
15443         (gst_base_sink_finalize), (gst_base_sink_preroll_queue_flush),
15444         (gst_base_sink_configure_segment), (gst_base_sink_commit_state),
15445         (gst_base_sink_get_sync_times), (gst_base_sink_wait_clock),
15446         (gst_base_sink_do_sync), (gst_base_sink_render_object),
15447         (gst_base_sink_preroll_object),
15448         (gst_base_sink_queue_object_unlocked),
15449         (gst_base_sink_queue_object), (gst_base_sink_event),
15450         (gst_base_sink_chain_unlocked), (gst_base_sink_chain),
15451         (gst_base_sink_loop), (gst_base_sink_activate_pull),
15452         (gst_base_sink_get_position), (gst_base_sink_change_state):
15453         * libs/gst/base/gstbasesink.h:
15454         Totally refactored matching the design doc.
15455         Use two segments, one to clip incomming buffers and another to
15456         perform sync.
15457         Handle queueing correctly, bypass the queue when playing.
15458         Make EOS cancelable.
15459         Handle errors correctly when operating in pull based mode.
15460
15461         * tests/check/elements/fakesink.c: (GST_START_TEST),
15462         (fakesink_suite):
15463         Added new check for sinks.
15464
15465 2006-02-02  Wim Taymans  <wim@fluendo.com>
15466
15467         * gst/gstsegment.c: (gst_segment_clip):
15468         No reason to refuse to clip when start == -1
15469
15470 2006-02-02  Stefan Kost  <ensonic@users.sf.net>
15471
15472         * docs/README:
15473         * docs/manual/intro-basics.xml:
15474         * docs/manual/intro-preface.xml:
15475         * docs/manual/manual.xml:
15476         * docs/pwg/advanced-dparams.xml:
15477         * docs/pwg/intro-basics.xml:
15478         * docs/pwg/intro-preface.xml:
15479         * docs/pwg/pwg.xml:
15480           describe dparams (controller) for plugins
15481           unify docs a little more
15482
15483 2006-02-02  Tim-Philipp Müller  <tim at centricular dot net>
15484
15485         * docs/gst/gstreamer-sections.txt:
15486         * gst/gstutils.c: (element_find_unconnected_pad),
15487         (gst_bin_find_unconnected_pad), (gst_parse_bin_from_description):
15488         * gst/gstutils.h:
15489           Add new API: gst_parse_bin_from_description() and
15490           gst_bin_find_unconnected_pad() (#329069).
15491
15492 2006-02-01  Stefan Kost  <ensonic@users.sf.net>
15493
15494         * docs/manual/README:
15495           uncover a nasty detail of the docs build
15496
15497 2006-01-31  Wim Taymans  <wim@fluendo.com>
15498
15499         * gst/gstbin.c: (bin_remove_messages), (bin_query_duration_done):
15500         Don't cache duration messages if we're not going to use or
15501         free them.
15502
15503 2006-01-31  Stefan Kost  <ensonic@users.sf.net>
15504
15505         * docs/manual/advanced-dparams.xml:
15506         * docs/pwg/advanced-dparams.xml:
15507           more dparam docs
15508         * gst/gstindex.c:
15509           fix docs
15510         * libs/gst/controller/lib.c: (gst_controller_init):
15511           init just once
15512
15513 2006-01-31  Thomas Vander Stichele  <thomas at apestaart dot org>
15514
15515         * gst/gstelement.c: (gst_element_message_full):
15516           also show file/line/func if no additional debug was given
15517
15518 2006-01-31  Sebastien Moutte  <sebastien@moutte.net>
15519         
15520         * win32/vs7/grammar.vcproj:
15521           activate copy of autogenerated files for Release mode
15522
15523 2006-01-30  Sebastien Moutte  <sebastien@moutte.net>
15524         
15525         * win32/common/libgstreamer.def:
15526           export gst_value_compare
15527
15528 2006-01-30  Jan Schmidt  <thaytan@mad.scientist.com>
15529
15530         * plugins/elements/Makefile.am:
15531         * plugins/elements/gstelements.c:
15532         * plugins/elements/gstfdsink.c: (_do_init),
15533         (gst_fd_sink_base_init), (gst_fd_sink_class_init),
15534         (gst_fd_sink_init), (gst_fd_sink_dispose), (gst_fd_sink_query),
15535         (gst_fd_sink_render), (gst_fd_sink_check_fd), (gst_fd_sink_start),
15536         (gst_fd_sink_stop), (gst_fd_sink_unlock), (gst_fd_sink_update_fd),
15537         (gst_fd_sink_set_property), (gst_fd_sink_uri_get_type),
15538         (gst_fd_sink_uri_get_protocols), (gst_fd_sink_uri_get_uri),
15539         (gst_fd_sink_uri_set_uri), (gst_fd_sink_uri_handler_init):
15540         * plugins/elements/gstfdsink.h:
15541         Port fdsink to 0.10 (patch by Philippe Rouquier) (Fixes #325490)
15542
15543 2006-01-30  Stefan Kost  <ensonic@users.sf.net>
15544
15545         * docs/manual/advanced-dparams.xml:
15546           describe controller
15547         * docs/manual/advanced-position.xml:
15548         * docs/manual/basics-init.xml:
15549         * docs/manual/manual.xml:
15550         * docs/manual/titlepage.xml:
15551         * docs/pwg/pwg.xml:
15552         * docs/pwg/titlepage.xml:
15553           cleanup xml (more to come)
15554         * libs/gst/controller/gstcontroller.c:
15555           fix typo
15556
15557 2006-01-30  Sebastien Moutte  <sebastien@moutte.net>
15558         
15559         * win32/vs6/grammar.dsp:
15560           add autogen of gstmarshal.c,h for Release mode
15561                 
15562 2006-01-30  Wim Taymans  <wim@fluendo.com>
15563
15564         * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
15565         (gst_base_sink_preroll_queue_empty), (gst_base_sink_commit_state),
15566         (gst_base_sink_handle_object), (gst_base_sink_event),
15567         (gst_base_sink_is_prerolled), (gst_base_sink_wait),
15568         (gst_base_sink_do_sync), (gst_base_sink_handle_event),
15569         (gst_base_sink_handle_buffer), (gst_base_sink_set_flushing),
15570         (gst_base_sink_deactivate), (gst_base_sink_activate),
15571         (gst_base_sink_activate_pull), (gst_base_sink_get_position),
15572         (gst_base_sink_query), (gst_base_sink_change_state):
15573         Basesink cleanups, remove some old code.
15574         Handle the case where a subclass can preroll in the render
15575         method (mostly audiosinks).
15576         Handle more events.
15577         Remove some locks around variables that are now protected
15578         with the PREROLL_LOCK (clock_id, flushing, ..).
15579         Optimize position query some more, do correct locking.
15580         Remove old code to push queue in state change, this is not
15581         needed anymore since preroll blocks on all prerollable items 
15582         now.
15583         Almost implemented as described in design doc.
15584
15585 2006-01-30  Wim Taymans  <wim@fluendo.com>
15586
15587         * tests/check/gst/gstbin.c: (GST_START_TEST):
15588         Wait for refcount to settle down before checking.
15589
15590 2006-01-30  Wim Taymans  <wim@fluendo.com>
15591
15592         * docs/design/part-element-sink.txt:
15593         Pseudo code overview of desired sink behaviour regarding
15594         preroll.
15595
15596 2006-01-29  Sebastien Moutte  <sebastien@moutte.net>
15597         * win32/vs6/grammar.dsp:
15598           fix some bugs in Release mode for autogenerated files
15599                 
15600 2006-01-29  Sebastien Moutte  <sebastien@moutte.net>
15601         * win32/common/libgstbase.def:
15602         * win32/common/libgstreamer.def:
15603           export some new symbols: gst_base_src_set_format,
15604           gst_iterator_next, gst_structure_set_valist
15605
15606 2006-01-29  Julien MOUTTE  <julien@moutte.net>
15607
15608         * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked):
15609         Set pad functions unconditionally. Fixes #329105.
15610
15611 2006-01-29  Sebastien Moutte  <sebastien@moutte.net>
15612         * win32/vs8:
15613           add vs8 project files created by Sergey Scobich
15614
15615 2006-01-28  Jan Schmidt  <thaytan@mad.scientist.com>
15616
15617         * gst/gstutils.c: (gst_element_unlink_pads):
15618         Don't leak pad references.
15619
15620         * tests/check/elements/fakesink.c: (GST_START_TEST):
15621         * tests/check/generic/sinks.c: (GST_START_TEST):
15622         * tests/check/generic/states.c: (GST_START_TEST):
15623         * tests/check/gst/gstbin.c: (GST_START_TEST):
15624         * tests/check/gst/gstcaps.c: (GST_START_TEST):
15625         * tests/check/gst/gstelement.c: (GST_START_TEST):
15626         * tests/check/gst/gstghostpad.c: (GST_START_TEST):
15627         * tests/check/gst/gstiterator.c: (GST_START_TEST):
15628         * tests/check/gst/gstvalue.c: (GST_START_TEST):
15629         Fix a bunch of leaks. Make generic/sinks.c
15630         use a bit less cpu by slowing the buffer rate
15631         between fakesrc and fakesink.
15632         
15633 2006-01-27  Stefan Kost  <ensonic@users.sf.net>
15634         * gst/gstcaps.c:
15635         * gst/gstelement.c: (gst_element_send_event):
15636         * gst/gstevent.c:
15637         * gst/gstinfo.c:
15638         * gst/gstiterator.c:
15639         * gst/gstiterator.h:
15640         * gst/gstpad.c: (gst_pad_send_event):
15641         * gst/gststructure.c:
15642         * gst/gsturi.c:
15643         * gst/gstutils.c:
15644         * gst/gstvalue.c:
15645         * libs/gst/base/gstadapter.c:
15646           doc fixes, to link to function, just write gst_cool_function(), don't
15647           prefix with '#'
15648
15649 2006-01-27  Jan Schmidt  <thaytan@mad.scientist.com>
15650
15651         * plugins/elements/gsttee.c: (gst_tee_do_push),
15652         (gst_tee_handle_buffer):
15653         Always prefer an actual return value from a src
15654         pad in place of NOT_LINKED. This means we return
15655         WRONG_STATE when all src pads are WRONG_STATE
15656         instead of NOT_LINKED.
15657
15658         Lock when replacing the last message to prevent
15659         racing with the get_property method.
15660
15661         Add debug output
15662
15663 2006-01-27  Jan Schmidt  <thaytan@mad.scientist.com>
15664
15665         * tests/check/Makefile.am:
15666         * tests/check/gst/gstquery.c: (GST_START_TEST), (gstquery_suite),
15667         (main):
15668         Add a very simple check that should have caught the memleak I fixed
15669         last night (if not for the slice allocator hiding it)
15670
15671 2006-01-27  Jan Schmidt  <thaytan@mad.scientist.com>
15672
15673         * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
15674         (gst_bin_remove_func), (gst_bin_handle_message_func),
15675         (bin_query_duration_fold), (bin_query_generic_fold):
15676         Clean up references to the clock provider when disposed or when
15677         handling a clock-lost message from it.
15678
15679         Unref sinks when performing a query via gst_iterator_fold, as the
15680         gst_bin_iterate_sinks iterator refs each item. (Fixes #323874)
15681
15682         * gst/gstclock.c: (gst_clock_class_init), (gst_clock_dispose),
15683         (gst_clock_set_master):
15684         Drop our reference to the master clock, if any, when we are disposed.
15685
15686         * gst/gsttypefindfactory.c: (gst_type_find_factory_dispose):
15687         Chain up in dispose. 
15688
15689 2006-01-26  Wim Taymans  <wim@fluendo.com>
15690
15691         * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range):
15692         Add some debugging.
15693
15694 2006-01-26  Julien MOUTTE  <julien@moutte.net>
15695
15696         * plugins/elements/gsttee.c: (gst_tee_do_push),
15697         (gst_tee_handle_buffer): Apply patch from #328715. Tee now
15698         handles pad being NOT_LINKED or in WRONG_STATE.
15699
15700 2006-01-26  Stefan Kost  <ensonic@users.sf.net>
15701
15702         * win32/MANIFEST:
15703           more updating
15704
15705 2006-01-26  Stefan Kost  <ensonic@users.sf.net>
15706
15707         * win32/MANIFEST:
15708           remove obsolete entry
15709
15710 2006-01-26  Stefan Kost  <ensonic@users.sf.net>
15711
15712         * docs/gst/gstreamer-sections.txt:
15713         * gst/gstbin.c: (bin_element_is_src), (src_iterator_filter),
15714         (gst_bin_iterate_sources), (gst_bin_send_event):
15715         * gst/gstbin.h:
15716         * gst/gstelement.c: (gst_element_send_event):
15717         * gst/gstevent.c:
15718         * gst/gstpad.c: (gst_pad_send_event):
15719           added code for downstream events, reviewed docs in gstevent.c
15720
15721 2006-01-25  Julien MOUTTE  <julien@moutte.net>
15722
15723         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
15724         We only query position using the clock in the playing state.
15725         Query peer in the other cases.
15726         * win32/common/config.h: Updates.
15727
15728 2006-01-24  Wim Taymans  <wim@fluendo.com>
15729
15730         * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
15731         A clock entry that is scheduled for the exact time of the
15732         clock is still in time.
15733
15734         * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
15735         (gst_base_sink_do_sync):
15736         Add some more debug info.
15737
15738 2006-01-23  Sebastien Moutte  <sebastien@moutte.net>
15739
15740         * win32/vs7:
15741           Add new vs7 project files and solution.
15742
15743 2006-01-23  Sebastien Moutte  <sebastien@moutte.net>
15744
15745         * win32/vs7:
15746           all files removed as they were out-dated.
15747
15748 2006-01-20  Thomas Vander Stichele  <thomas at apestaart dot org>
15749
15750         * docs/random/release:
15751           update notes
15752         * gst/gstbin.c: (gst_bin_init):
15753         * gst/gstbus.c: (gst_bus_new):
15754         * gst/gstbus.h:
15755         * gst/gstpipeline.c: (gst_pipeline_init):
15756           use gst_bus_new(), improve logging, fix docs
15757         * win32/common/config.h:
15758           update for cvs build
15759
15760 2006-01-20  Thomas Vander Stichele  <thomas at apestaart dot org>
15761
15762         * autogen.sh:
15763           up required version of automake to 1.7
15764
15765 2006-01-20  Sebastien Moutte  <sebastien@moutte.net>
15766
15767         * win32/common/libgstreamer.def:
15768           export gst_buffer_is_metadata_writable
15769
15770 2006-01-20  Tim-Philipp Müller  <tim at centricular dot net>
15771
15772         * docs/gst/gstreamer-sections.txt:
15773         * gst/gstevent.h:
15774           Add gst_event_replace() (#327001)
15775
15776 2006-01-20  Wim Taymans  <wim@fluendo.com>
15777
15778         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked):
15779         Make it actually compile too..
15780
15781 2006-01-20  Wim Taymans  <wim@fluendo.com>
15782
15783         * gst/gstcaps.c:
15784         Clarify behaviour of _is_equal() when passing NULL parameters.
15785
15786         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
15787         (gst_pad_set_caps):
15788         Cleanups. Don't unref NULL caps.
15789         When setting the same caps, protect caps of the pad with
15790         proper lock.
15791         Use full functionality of _is_equal() when comparing caps.
15792
15793 2006-01-20  Jan Schmidt  <thaytan@mad.scientist.com>
15794
15795         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_is_collected):
15796         Don't loop infinitely if there are no buffers to present. Partially
15797         fixes #327197, but collectpads is just broken for reusing elements
15798         to do multiple encodes atm.
15799
15800 2006-01-20  Jan Schmidt  <thaytan@mad.scientist.com>
15801
15802         * tools/gst-inspect.c: (print_element_features):
15803         * tools/gst-xmlinspect.c: (main):
15804         URL_HANDLER is not a plugin feature we can search for in
15805         the registry.
15806
15807 2006-01-19  Edward Hervey  <edward@fluendo.com>
15808
15809         * gst/gstelement.c: (gst_element_pads_activate): 
15810         When activating, do src pads first, then sink pads.
15811         When de-activating, do sink pads first, then src pads.
15812
15813 2006-01-19  Jan Schmidt  <thaytan@mad.scientist.com>
15814
15815         * docs/gst/gstreamer-sections.txt:
15816         Add gst_index_add_associationv to the docs
15817
15818 2006-01-19  Jan Schmidt  <thaytan@mad.scientist.com>
15819
15820         * gst/gstevent.c:
15821           Fix docs typo
15822
15823         * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event),
15824         (gst_queue_chain), (gst_queue_push_one), (gst_queue_loop):
15825           Do some refactoring. Doesn't actually change functionality,
15826           but makes landing the DRAIN event easier later.
15827
15828 2006-01-19  Tim-Philipp Müller  <tim at centricular dot net>
15829
15830         * docs/pwg/advanced-scheduling.xml:
15831           Update from 0.9.x to 0.10 API and make example a bit
15832           clearer.
15833
15834 2006-01-19  Jan Schmidt  <thaytan@mad.scientist.com>
15835
15836         * docs/gst/gstreamer-sections.txt:
15837         Add gst_buffer_(is|make)_metadata_writable methods.
15838
15839 2006-01-19  Jan Schmidt  <thaytan@mad.scientist.com>
15840
15841         * docs/design/part-sparsestreams.txt:
15842         Update sparse streams doc, hopefully for greater clarity
15843
15844 2006-01-18  Jan Schmidt  <thaytan@mad.scientist.com>
15845
15846         * docs/design/part-events.txt:
15847         Remove mention of FILLER events.
15848         Add DRAIN event.
15849
15850         * docs/design/part-sparsestreams.txt:
15851         Write some things about using NEWSEGMENT to keep sparse streams
15852         flowing.
15853
15854 2006-01-18  Tim-Philipp Müller  <tim at centricular dot net>
15855
15856         * gst/gstbin.c: (gst_bin_dispose):
15857           Guard gst_object_unref call against a NULL object (dispose
15858           can theoretically be called multiple times).
15859           
15860 2006-01-18  Wim Taymans  <wim@fluendo.com>
15861
15862         * gst/gstbin.c: (gst_bin_element_set_state):
15863         * gst/gstclock.c: (gst_clock_id_wait):
15864         Added some more debug info.
15865
15866         * libs/gst/base/gstadapter.c:
15867         Added more docs.
15868
15869         * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
15870         (gst_base_sink_do_sync), (gst_base_sink_chain):
15871         Added some comments.
15872
15873 2006-01-18  Wim Taymans  <wim@fluendo.com>
15874
15875         * tests/check/Makefile.am:
15876         * tests/check/elements/fakesink.c: (chain_async_buffer),
15877         (chain_async), (chain_async_return), (GST_START_TEST),
15878         (fakesink_suite), (main):
15879         Added fakesink test that checks prerolling and clipping
15880         behaviour.
15881
15882         * tests/check/gst/gstutils.c: (GST_START_TEST):
15883         Make check run faster so that buildbots don't timeout.
15884
15885 2006-01-18  Wim Taymans  <wim@fluendo.com>
15886
15887         * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
15888         (gst_base_sink_do_sync):
15889         Some cleanups.
15890         When the sink finishes blocking on the preroll buffer, it can
15891         immediatly render it instead of rendering when the next buffer
15892         arrives.
15893
15894 2006-01-18  Wim Taymans  <wim@fluendo.com>
15895
15896         * libs/gst/base/gstbasesink.c: (gst_base_sink_set_property),
15897         (gst_base_sink_get_property), (gst_base_sink_do_sync),
15898         (gst_base_sink_chain):
15899         Small cleanups.
15900         GST_ELEMENT_CLOCK and sync are protected with LOCK.
15901         Don't store _last_stop if the buffer is dropped.
15902
15903 2006-01-18  Tim-Philipp Müller  <tim at centricular dot net>
15904
15905         * plugins/elements/gsttypefindelement.c:
15906         (gst_type_find_element_class_init):
15907           'have-type' signal needs to be G_SIGNAL_RUN_FIRST, as it is the
15908           object method handler that sets the caps on the pad and we want
15909           that to happen before we emit the signal (fixes e.g. feeding a
15910           plain text file to decodebin).
15911
15912 2006-01-18  Christian Schaller  <Christian@fluendo.com>
15913
15914         * gst/gstplugin.c: Add MPL and Proprietary as license options
15915
15916 2006-01-18  Andy Wingo  <wingo@pobox.com>
15917
15918         * gst/gstindex.h (gst_index_add_associationv): Add to header. The
15919         symbol was exported before, it appears this was just an oversight.
15920         Fixes #168703.
15921         Patch by: Torsten Schoenfeld <kaffeetisch at gmx.de>
15922
15923         * gst/gstindex.c (gst_index_add_associationv): Changed int in
15924         prototype to gint. OK since this prototype was not in the header.
15925
15926 2006-01-17  Andy Wingo  <wingo@pobox.com>
15927
15928         * gst/gstregistry.c (_gst_registry_remove_cache_plugins): Lock the
15929         registry while we remove plugins.
15930
15931         * tools/gst-inspect.c (print_element_info): Don't unref the
15932         factory arg, that should be the responsibility of whatever code
15933         received the ref. Fixes a double-free when called from
15934         print_element_list via gst-inspect-0.10 -a. Fixes #327324.
15935         (main): Unref the factory if we have one.
15936         (print_element_list): No change -- relies on the
15937         plugin_feature_list_free to free the list of features.
15938
15939 2006-01-17  Jan Schmidt  <thaytan@mad.scientist.com>
15940
15941         * gst/gstbuffer.c: (gst_buffer_is_metadata_writable),
15942         (gst_buffer_make_metadata_writable):
15943         * gst/gstbuffer.h:
15944         * libs/gst/base/gstbasetransform.c:
15945         (gst_base_transform_prepare_output_buf):
15946         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
15947         * tests/check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
15948           Replace gst_buffer_(make|is)_metadata_writable patch now
15949           that the release is out.
15950
15951 2006-01-17  Andy Wingo  <wingo@pobox.com>
15952
15953         * gst/gstregistry.c: Reflow design comment. Update so as to speak
15954         in the present tense without reference to versions.
15955
15956         * gst/gstregistry.c (gst_registry_add_plugin)
15957         (gst_registry_remove_plugin, gst_registry_remove_feature)
15958         (gst_registry_find_feature, gst_registry_get_feature_list)
15959         (gst_registry_get_plugin_list, gst_registry_lookup_feature)
15960         (gst_registry_lookup, gst_registry_scan_path)
15961         (_gst_registry_remove_cache_plugins)
15962         (gst_registry_get_feature_list_by_plugin): Add argument
15963         validation.
15964
15965 === release 0.10.2 ===
15966
15967 2006-01-16  Thomas Vander Stichele <thomas at apestaart dot org>
15968
15969         * configure.ac:
15970           releasing 0.10.2, "If man is five"
15971
15972 2006-01-16  Jan Schmidt  <thaytan@mad.scientist.com>
15973
15974         * gst/gstbuffer.c:
15975         * gst/gstbuffer.h:
15976         * libs/gst/base/gstbasetransform.c:
15977         (gst_base_transform_prepare_output_buf):
15978         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
15979         * tests/check/gst/gstbuffer.c: (gst_test_suite):
15980           Back out patch until after the release.
15981
15982 2006-01-16  Jan Schmidt  <thaytan@mad.scientist.com>
15983
15984         * gst/gstminiobject.c:
15985           Spelling fix in docs.
15986         * ChangeLog - remove conflict indicator
15987
15988 2006-01-16  Jan Schmidt  <thaytan@mad.scientist.com>
15989
15990         Reviewed By: Andy Wingo
15991
15992         * gst/gstbuffer.c: (gst_buffer_is_metadata_writable),
15993         (gst_buffer_make_metadata_writable):
15994         * gst/gstbuffer.h:
15995           Add gst_buffer_(is|make)_metadata_writable as analogues of
15996           gst_buffer_(is|make)_writable.
15997
15998         * libs/gst/base/gstbasetransform.c:
15999         (gst_base_transform_prepare_output_buf):
16000         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
16001           Use name gst_buffer_(is|make)_metadata_writable functions.
16002
16003         * tests/check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
16004           Test gst_buffer_(is|make)_metadata_writable
16005         
16006           (Closes: #324162)
16007
16008 2006-01-14  Thomas Vander Stichele  <thomas at apestaart dot org>
16009
16010         * docs/manual/Makefile.am:
16011           don't do parallel make
16012         * configure.ac:
16013           AC_SUBST HOST_CPU
16014         * win32/common/config.h.in:
16015           add generations for HOST_CPU and GST_MAJORMINOR
16016         * win32/common/config.h:
16017           commit generated result
16018
16019 2006-01-13  Tim-Philipp Müller  <tim at centricular dot net>
16020
16021         * docs/manual/appendix-integration.xml:
16022           Update GNOME integration section to use gst_init_get_option_group()
16023           instead of the old popt stuff (#322911). Also, GNOME applications
16024           should  now use gconf*sink and gconf*src instead of the old gconf
16025           helper lib we had.
16026
16027 2006-01-13  Stefan Kost  <ensonic@users.sf.net>
16028
16029
16030         * docs/gst/gstreamer-docs.sgml:
16031         * docs/gst/gstreamer-sections.txt:
16032         * docs/libs/gstreamer-libs-sections.txt:
16033           add new API entries to the docs
16034         * libs/gst/controller/Makefile.am:
16035         * libs/gst/controller/gstcontroller.c:
16036         * libs/gst/controller/gstcontroller.h:
16037         * libs/gst/controller/gstcontrollerprivate.h:
16038         * libs/gst/controller/gsthelper.c:
16039         * libs/gst/controller/gstinterpolation.c:
16040           move private structs to private header
16041         * po/README:
16042           gstreamer-0.7 -> gstreamer-0.10
16043         * tests/check/libs/struct_i386.h:
16044           remove private structs
16045
16046 2006-01-13  Thomas Vander Stichele  <thomas at apestaart dot org>
16047
16048         * plugins/indexers/Makefile.am:
16049           Fixes as part of #317048
16050
16051 2006-01-13  Thomas Vander Stichele  <thomas at apestaart dot org>
16052
16053         * plugins/indexers/Makefile.am:
16054           fix #316086 - compilation when mmap is missing
16055
16056 2006-01-12  Sebastien Moutte  <sebastien@moutte.net>
16057
16058         * libs/gst/base/gstbasesink.c:
16059           *cur = (now - base) * basesink->segment.abs_rate + time; replaced by 
16060           *cur = gst_guint64_to_gdouble(now - base) * basesink->segment.abs_rate + time; for vs6
16061         * win32/common/config.h:
16062           added some defines GST_MAJORMINOR and HOST_CPU
16063         * win32/common/libgstbase.def:
16064         * win32/common/libgstreamer.def:
16065           added some exported functions.
16066
16067 2006-01-12  Stefan Kost  <ensonic@users.sf.net>
16068
16069         * libs/gst/controller/gstcontroller.c:
16070         (gst_controlled_property_set_interpolation_mode),
16071         (gst_controlled_property_new):
16072         * libs/gst/controller/gstcontroller.h:
16073         * libs/gst/controller/gstinterpolation.c:
16074         (interpolate_none_get_string_value_array):
16075           make G_TYPE_STRING controlable
16076
16077 2006-01-12  Stefan Kost  <ensonic@users.sf.net>
16078
16079         * tools/README:
16080         * tools/gst-feedback.1.in:
16081         * tools/gst-inspect.1.in:
16082         * tools/gst-launch.1.in:
16083         * tools/gst-md5sum.1.in:
16084         * tools/gst-typefind.1.in:
16085         * tools/gst-xmlinspect.1.in:
16086         * tools/gst-xmllaunch.1.in:
16087           cleanup man-pages, remove reference to gst-register, document env-vars
16088
16089 2006-01-12  Jan Schmidt  <thaytan@mad.scientist.com>
16090
16091         * gst/gstbuffer.c: (gst_buffer_span):
16092           gst_buffer_span should copy the timestamp of the first buffer
16093           if they were both originally overlapping subbuffers of the 
16094           same parent, using the same logic as the 'slow copy' case.
16095
16096 2006-01-11  Jan Schmidt  <thaytan@mad.scientist.com>
16097
16098         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_pop):
16099           Need to awaken ALL the pads when we pop a buffer, otherwise
16100           collectpads only works when there is 2 input streams.
16101
16102 2006-01-11  Stefan Kost  <ensonic@users.sf.net>
16103
16104         * docs/random/ensonic/media-device-daemon.txt:
16105           more ideas (dbus)
16106         * gst/gstbuffer.c:
16107           fix doc example, add clarification
16108         * tools/gst-launch.1.in:
16109           add initial info about GST_PLUGIN_PATH, needs more work
16110
16111 2006-01-11  Tim-Philipp Müller  <tim at centricular dot net>
16112
16113         * docs/manual/basics-bins.xml:
16114         * docs/manual/basics-elements.xml:
16115         * docs/manual/intro-basics.xml:
16116           Some more minor docs additions and updates.
16117
16118 2006-01-11  Wim Taymans  <wim@fluendo.com>
16119
16120         * docs/manual/basics-bins.xml:
16121         * docs/manual/basics-elements.xml:
16122         Some small fixes as pointed out by Ser-ver on IRC.
16123
16124 2006-01-10  Edward Hervey  <edward@fluendo.com>
16125
16126         * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
16127         Set the buffer offset/offset_end to GST_CLOCK_TIME_NONE when using
16128         the single-segment mode.
16129
16130 2006-01-10  Brian Cameron  <brian dot cameron at sun dot com>
16131
16132         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
16133
16134         * libs/gst/base/gstbasesrc.c: (gst_base_src_init),
16135         (gst_base_src_perform_seek), (gst_base_src_send_event),
16136         (gst_base_src_set_property), (gst_base_src_get_property),
16137         (gst_base_src_loop), (gst_base_src_start),
16138         (gst_base_src_activate_push):
16139         * libs/gst/base/gstbasesrc.h:
16140           Name (private) union; makes Sun's Forte compiler happy (#324900).
16141
16142 2006-01-09  Tim-Philipp Müller  <tim at centricular dot net>
16143
16144         * README:
16145           gst-register is gone.
16146
16147 2006-01-07  Thomas Vander Stichele  <thomas at apestaart dot org>
16148
16149         * gst/gstvalue.c: (_gst_value_initialize):
16150           make the G_TYPE_DATE instantiation work if debug is disabled
16151
16152 2006-01-06  Tim-Philipp Müller  <tim at centricular dot net>
16153
16154         * gst/gstmessage.c: (gst_message_parse_tag),
16155         (gst_message_parse_error), (gst_message_parse_warning):
16156           Don't crash when return location for error/warning debug
16157           string is NULL; add fact that return locations can be
16158           NULL to docs where appropriate.
16159
16160 2006-01-05  Wim Taymans  <wim@fluendo.com>
16161
16162         * gst/gstplugin.c: (gst_plugin_load_file):
16163         Replace strdup by g_strdup.
16164
16165 2006-01-05  Thomas Vander Stichele  <thomas at apestaart dot org>
16166
16167         * docs/pwg/advanced-types.xml:
16168           fix doc borkage
16169
16170 2006-01-05  Thomas Vander Stichele  <thomas at apestaart dot org>
16171
16172         submitted by: Abel Cheung
16173
16174         * po/LINGUAS:
16175         * po/zh_TW.po:
16176           Added Chinese (traditional) translation
16177
16178 2006-01-04  Wim Taymans  <wim@fluendo.com>
16179
16180         * docs/manual/basics-pads.xml:
16181         * docs/plugins/Makefile.am:
16182         * docs/plugins/gstreamer-plugins-docs.sgml:
16183         * docs/plugins/gstreamer-plugins-sections.txt:
16184         * docs/pwg/advanced-clock.xml:
16185         * docs/pwg/advanced-scheduling.xml:
16186         * docs/pwg/advanced-types.xml:
16187         * plugins/elements/gstfdsink.c:
16188         * plugins/elements/gstfdsrc.c:
16189         * plugins/elements/gstfdsrc.h:
16190         * plugins/elements/gstidentity.c: (gst_identity_class_init):
16191         * plugins/elements/gstidentity.h:
16192         * plugins/elements/gstqueue.h:
16193         * plugins/elements/gsttee.c:
16194         * plugins/elements/gsttee.h:
16195         * plugins/elements/gsttypefindelement.c:
16196         (gst_type_find_element_class_init):
16197         * plugins/elements/gsttypefindelement.h:
16198         Small updates to various docs.
16199         Added core plugins to docs.
16200
16201 2006-01-03  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
16202
16203         * common/gst.supp:
16204           add a suppression for liboil's uninitialized variable
16205
16206 2006-01-02  James Livingston  <jrl at ids dot org dot au>
16207
16208         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
16209
16210         * gst/gstutils.h:
16211           Add prototype for _get_type() function to GST_BOILERPLATE_FULL
16212           macro, so that gcc doesn't complain if the -Wmissing-prototypes
16213           compiler switch is being used (#325429).
16214
16215 2005-12-29  Tim-Philipp Müller  <tim at centricular dot net>
16216
16217         * gst/gstbin.c: (gst_bin_query):
16218           Disable duration query caching in bins until it gets
16219           fixed (see #324807).
16220
16221 2005-12-27  Tim-Philipp Müller  <tim at centricular dot net>
16222
16223         * tools/gst-inspect.c: (print_element_properties_info):
16224           Handle properties of POINTER and BOXED type.
16225
16226 2005-12-27  Tim-Philipp Müller  <tim at centricular dot net>
16227
16228         * gst/gst.c: (init_post):
16229           Init tags stuff and some other things before loading
16230           any static plugins (there may be other static plugins
16231           than just the GStreamer ones, and they may want to
16232           register their own tags or formats or whatever, and
16233           preferably without segfaulting).
16234
16235         * plugins/elements/gstqueue.c: (gst_queue_handle_src_query):
16236           Print at least a warning in the debug logs if we drop a
16237           query just because we don't know how to adjust the value
16238           in the particular format.
16239
16240 2005-12-24  David Schleef  <ds@schleef.org>
16241
16242         * tools/gstreamer-completion:
16243           Replacement for gst-complete written in sh and sed.  Only
16244           completes names of features, but that's 90% of what I want
16245           it for.  Properties are not available in registry.xml.  (Maybe
16246           they should be...)
16247
16248 === release 0.10.1 ===
16249
16250 2005-12-23  Thomas Vander Stichele <thomas at apestaart dot org>
16251
16252         * configure.ac:
16253           releasing 0.10.1, "Nollaig chridheil"
16254
16255 2005-12-22  Tim-Philipp Müller  <tim at centricular dot net>
16256
16257         * docs/faq/cvs.xml:
16258           Add missing quote, should be make ERROR_CFLAGS="".
16259
16260 2005-12-20  Wim Taymans  <wim@fluendo.com>
16261
16262         * docs/design/part-trickmodes.txt:
16263         More documentation on trickmodes.
16264
16265 2005-12-20  Edward Hervey  <edward@fluendo.com>
16266
16267         * gst/gstcaps.c: (gst_static_caps_get_type):
16268         * gst/gstcaps.h:
16269           API addition: GST_TYPE_STATIC_CAPS
16270         Added gpointer GType for GstStaticCaps so we can wrap them in bindings.
16271         * gst/gstpadtemplate.c: (gst_static_pad_template_get_type):
16272         * gst/gstpadtemplate.h:
16273           API addition: GST_TYPE_STATIC_PAD_TEMPLATE
16274         Added gpointer GType for GstStaticPadTemplate so we can wrap them in
16275         bindings.
16276
16277 2005-12-18  Wim Taymans  <wim@fluendo.com>
16278
16279         * libs/gst/base/gstadapter.c:
16280         * libs/gst/base/gstadapter.h:
16281         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
16282         (gst_base_sink_get_position):
16283         * libs/gst/base/gstbasesink.h:
16284         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
16285         (gst_base_src_default_query), (gst_base_src_default_do_seek),
16286         (gst_base_src_do_seek), (gst_base_src_perform_seek),
16287         (gst_base_src_send_event), (gst_base_src_update_length),
16288         (gst_base_src_get_range), (gst_base_src_loop),
16289         (gst_base_src_start):
16290         * libs/gst/base/gstbasesrc.h:
16291         * libs/gst/base/gstbasetransform.h:
16292         * libs/gst/base/gstcollectpads.h:
16293         * libs/gst/base/gstpushsrc.c:
16294         * libs/gst/base/gstpushsrc.h:
16295         * libs/gst/dataprotocol/dataprotocol.c:
16296         * libs/gst/dataprotocol/dataprotocol.h:
16297         * libs/gst/net/gstnetclientclock.h:
16298         * libs/gst/net/gstnettimeprovider.h:
16299         Documentation updates.
16300
16301 2005-12-18  Tim-Philipp Müller  <tim at centricular dot net>
16302
16303         * docs/manual/basics-helloworld.xml:
16304           Remove superfluous closing bracket in helloworld example.
16305
16306 2005-12-17  Tim-Philipp Müller  <tim at centricular dot net>
16307
16308         * tools/gst-launch.1.in:
16309           Update gst-launch man page; add a section with useful
16310           environment variables. Fixes #323882.
16311
16312 2005-12-16  Stefan Kost  <ensonic@users.sf.net>
16313
16314         * gst/gst.c:
16315         * gst/gst_private.h:
16316           change some char* into char[]
16317
16318 2005-12-16  Wim Taymans  <wim@fluendo.com>
16319
16320         * gst/gstregistryxml.c: (load_feature):
16321         Cleanups.
16322         Don't use g_object_unref on GstObjects so that we avoid
16323         leaks on unsafe glibs.
16324
16325 2005-12-16  Wim Taymans  <wim@fluendo.com>
16326
16327         * gst/gstbin.c: (gst_bin_recalc_state):
16328         Small doc updates.
16329
16330 2005-12-16  Wim Taymans  <wim@fluendo.com>
16331
16332         * common/check.mak:
16333         Added make forever target for check.
16334
16335 2005-12-16  Thomas Vander Stichele  <thomas at apestaart dot org>
16336
16337         * gst/gst.c: (init_post):
16338           make the registry cache file HOST_CPU-dependent
16339
16340 2005-12-16  Andy Wingo  <wingo@pobox.com>
16341
16342         * plugins/elements/gstbufferstore.c
16343         (gst_buffer_store_cleared_func): Pay attention to g_list_append
16344         return value.
16345
16346         * tests/check/gst/gstobject.c
16347         (test_fake_object_name_threaded_unique): Pay attention to
16348         g_list_sort return value.
16349
16350 2005-12-16  Tim-Philipp Müller  <tim at centricular dot net>
16351
16352         * tools/gst-feedback-m.m:
16353           Update for 0.9/0.10 (fixes #323870).
16354
16355 2005-12-15  Tim-Philipp Müller  <tim at centricular dot net>
16356
16357         * gst/gstminiobject.c: (gst_value_mini_object_lcopy):
16358           Fix lcopy for mini objects, the mini object needs to be ref'ed.
16359           
16360         * tests/check/gst/gstminiobject.c: (my_foo_init),
16361         (my_foo_get_property), (my_foo_set_property), (my_foo_class_init),
16362         (test_value_collection), (gst_mini_object_suite):
16363           Add test to ensure refcounts end up as expected when passing
16364           GstMiniObjects through g_object_get() and g_object_set().
16365
16366 2005-12-14  Julien MOUTTE  <julien@moutte.net>
16367
16368         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
16369         (gst_collect_pads_remove_pad), (gst_collect_pads_is_collected),
16370         (gst_collect_pads_event), (gst_collect_pads_chain): Refactoring
16371         of collectpads. This version removes a lot of races without
16372         touching API/ABI. Yay !
16373
16374 2005-12-14  Jan Schmidt  <thaytan@mad.scientist.com>
16375
16376         * gst/gstpad.c: (gst_pad_activate_pull), (gst_pad_link_prepare):
16377           Don't allow activation of a srcpad in pull_range if it has no
16378           getrange function.
16379           Change some debug statements to be a little clearer
16380
16381         * plugins/elements/gsttypefindelement.c:
16382         (gst_type_find_handle_src_query):
16383           Check that we have a peer before executing queries thereupon.
16384
16385         * tests/examples/metadata/read-metadata.c: (message_loop):
16386           Use gst_bus_pop instead of gst_bus_poll when we just want it to
16387           immediately return us any available message with 0 timeout.
16388
16389 2005-12-12  Michael Smith  <msmith@fluendo.com>
16390
16391         * gst/gsttypefindfactory.c: (gst_type_find_factory_call_function):
16392           Don't unref factories after calling them.
16393         * libs/gst/base/gsttypefindhelper.c: (gst_type_find_helper):
16394         * plugins/elements/gsttypefindelement.c:
16395         (gst_type_find_element_chain):
16396           Free lists of factories after using them. Fixing typefinding memory
16397           leaks.
16398
16399 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
16400
16401         * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
16402         (gst_plugin_feature_load):
16403           more meaningful debug output
16404         * configure.ac:
16405         * tests/Makefile.am:
16406         * tests/old/examples/Makefile.am:
16407           make make distcheck happy again
16408
16409 2005-12-12  Tim-Philipp Müller  <tim at centricular dot net>
16410
16411         * plugins/elements/gsttypefindelement.c: (stop_typefinding):
16412           Catch the special case where we are operating chain-based,
16413           but the downstream peer pad has no chain function. Emit a
16414           custom error message in this case instead of letting the
16415           core generate one implying that this is some sort of core
16416           bug. It's not, it just means that whatever got plugged
16417           into the pipeline downstream when we announced the type
16418           can only operate pull-based, while our source can only
16419           operate push-based (e.g. http://foo/bar.mov ! qtdemux ! ...)
16420           Error string has not been marked for translation yet, as
16421           it probably needs some more work first.
16422
16423         (gst_type_find_element_get_best_possibility):
16424           Add helper function to find the best of all available
16425           found possibilities that qualify given the min. threshold.
16426
16427         (gst_type_find_element_handle_event):
16428           Fix the case where we get an EOS while still in TYPEFIND
16429           mode (we want to chose the best of all possible types,
16430           not just the first type that happens to be in our unsorted
16431           list of possible types).
16432
16433         (gst_type_find_element_chain):
16434           Make sure we return GST_FLOW_ERROR when we errored out
16435           in stop_typefinding(); also, don't just find the best of
16436           all found type entries and then use the last examined
16437           type entry, but actually use the best entry.
16438
16439 2005-12-12  Tim-Philipp Müller  <tim at centricular dot net>
16440
16441         * tests/examples/typefind/typefind.c: (type_found):
16442         * tests/examples/xml/runxml.c: (xml_loaded):
16443           More gcc4 fixes and a mem leak fix.
16444
16445 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
16446
16447         * tests/examples/xml/createxml.c: (object_saved):
16448           gcc 4 fixes
16449
16450 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
16451
16452         * tests/Makefile.am:
16453           enable the examples even more
16454
16455 2005-12-12  Andy Wingo  <wingo@pobox.com>
16456
16457         * libs/gst/net/gstnettimeprovider.c
16458         (gst_net_time_provider_class_init, gst_net_time_provider_init)
16459         (gst_net_time_provider_set_property)
16460         (gst_net_time_provider_get_property):
16461         API addition: Export "active" as a GObject property.
16462         (gst_net_time_provider_thread): Only respond to time queries if
16463         the time provider is active.
16464
16465         * libs/gst/net/gstnettimeprovider.h: Add an "active" boolean to
16466         NetTimeProvider, preserving binary compat.
16467
16468 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
16469
16470         * tests/examples/controller/audio-example.c: (main):
16471         * tests/examples/launch/Makefile.am:
16472           convert comments again
16473
16474 2005-12-12  Wim Taymans  <wim@fluendo.com>
16475
16476         * libs/gst/base/gstpushsrc.c:
16477         Fix typo.
16478
16479 2005-12-12  Wim Taymans  <wim@fluendo.com>
16480
16481         * docs/libs/gstreamer-libs-sections.txt:
16482         Added new symbol to docs.
16483
16484         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
16485         (gst_base_src_init), (gst_base_src_set_format),
16486         (gst_base_src_default_query), (gst_base_src_query),
16487         (gst_base_src_default_do_seek), (gst_base_src_do_seek),
16488         (gst_base_src_perform_seek), (gst_base_src_send_event),
16489         (gst_base_src_default_event), (gst_base_src_event_handler),
16490         (gst_base_src_set_property), (gst_base_src_get_property),
16491         (gst_base_src_wait), (gst_base_src_do_sync),
16492         (gst_base_src_update_length), (gst_base_src_get_range),
16493         (gst_base_src_check_get_range), (gst_base_src_loop),
16494         (gst_base_src_default_negotiate), (gst_base_src_start),
16495         (gst_base_src_activate_push), (gst_base_src_activate_pull),
16496         (gst_base_src_change_state):
16497         * libs/gst/base/gstbasesrc.h:
16498         Implement seeking to other formats than _BYTES.
16499         Implement more seeking methods correctly.
16500         Doc updates.
16501         Added query vmethod.
16502         Added do_seek vmethod to make life easier for subclasses
16503         when seeking.
16504         API addition: gst_base_src_set_format()
16505
16506 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
16507
16508         * tests/examples/Makefile.am:
16509           added that too
16510
16511 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
16512
16513         * configure.ac:
16514         * docs/random/ensonic/media-device-daemon.txt:
16515         * tests/examples/controller/.cvsignore:
16516         * tests/examples/controller/Makefile.am:
16517         * tests/examples/controller/audio-example.c: (main):
16518         * tests/examples/helloworld/.cvsignore:
16519         * tests/examples/helloworld/Makefile.am:
16520         * tests/examples/helloworld/helloworld.c: (event_loop), (main):
16521         * tests/examples/launch/.cvsignore:
16522         * tests/examples/launch/Makefile.am:
16523         * tests/examples/launch/mp3parselaunch.c: (event_loop), (main):
16524         * tests/examples/metadata/.cvsignore:
16525         * tests/examples/metadata/Makefile.am:
16526         * tests/examples/metadata/read-metadata.c: (message_loop),
16527         (make_pipeline), (print_tag), (main):
16528         * tests/examples/queue/.cvsignore:
16529         * tests/examples/queue/Makefile.am:
16530         * tests/examples/queue/queue.c: (event_loop), (main):
16531         * tests/examples/typefind/.cvsignore:
16532         * tests/examples/typefind/Makefile.am:
16533         * tests/examples/typefind/typefind.c: (type_found), (event_loop),
16534         (main):
16535         * tests/examples/xml/.cvsignore:
16536         * tests/examples/xml/Makefile.am:
16537         * tests/examples/xml/createxml.c: (object_saved), (main):
16538         * tests/examples/xml/runxml.c: (xml_loaded), (event_loop), (main):
16539         * tests/old/examples/Makefile.am:
16540         * tests/old/examples/TODO:
16541         * tests/old/examples/controller/.cvsignore:
16542         * tests/old/examples/controller/Makefile.am:
16543         * tests/old/examples/controller/audio-example.c:
16544         * tests/old/examples/helloworld/.cvsignore:
16545         * tests/old/examples/helloworld/Makefile.am:
16546         * tests/old/examples/helloworld/helloworld.c:
16547         * tests/old/examples/launch/.cvsignore:
16548         * tests/old/examples/launch/Makefile.am:
16549         * tests/old/examples/launch/mp3parselaunch.c:
16550         * tests/old/examples/launch/mp3play:
16551         * tests/old/examples/manual/Makefile.am:
16552         * tests/old/examples/metadata/Makefile.am:
16553         * tests/old/examples/metadata/read-metadata.c:
16554         * tests/old/examples/queue/.cvsignore:
16555         * tests/old/examples/queue/Makefile.am:
16556         * tests/old/examples/queue/queue.c:
16557         * tests/old/examples/typefind/.cvsignore:
16558         * tests/old/examples/typefind/Makefile.am:
16559         * tests/old/examples/typefind/typefind.c:
16560         * tests/old/examples/xml/.cvsignore:
16561         * tests/old/examples/xml/Makefile.am:
16562         * tests/old/examples/xml/createxml.c:
16563         * tests/old/examples/xml/runxml.c:
16564           applied some simple fixing to some examples
16565           re-enabled the working examples
16566
16567 2005-12-12  Wim Taymans  <wim@fluendo.com>
16568
16569         * gst/gstsegment.c: (gst_segment_init),
16570         (gst_segment_set_last_stop), (gst_segment_set_seek),
16571         (gst_segment_set_newsegment), (gst_segment_to_stream_time),
16572         (gst_segment_to_running_time):
16573         Added more documentation.
16574         Make sure the last_pos value is updated properly.
16575         Make sure to_stream_time and to_running_time don't
16576         operate on wrong values.
16577
16578         * tests/check/gst/gstsegment.c: (GST_START_TEST):
16579         Update check.
16580
16581 2005-12-12  Michael Smith  <msmith@fluendo.com>
16582
16583         * plugins/elements/gsttypefindelement.c: (free_entry),
16584         (gst_type_find_element_chain):
16585           Now that we're not leaking factories, make sure we keep references
16586           to them while we need them.
16587
16588 2005-12-12  Thomas Vander Stichele  <thomas at apestaart dot org>
16589
16590         * tests/check/gst/struct_i386.h:
16591           ifdef out the XML structs
16592
16593 2005-12-12  Thomas Vander Stichele  <thomas at apestaart dot org>
16594
16595         * gst/gstvalue.c: (gst_value_transform_double_fraction):
16596           floor is not needed, F is always positive; this obviates the
16597           need for adding -lm when building without libxml
16598
16599 2005-12-12  Wim Taymans  <wim@fluendo.com>
16600
16601         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
16602         Take current playback rate into account when reporting
16603         the position.
16604
16605 2005-12-11  Tim-Philipp Müller  <tim at centricular dot net>
16606
16607         * docs/manual/mime-world.fig:
16608           Let's try this again, this time with a file that is
16609           actually in XFig format.
16610
16611 2005-12-11  Tim-Philipp Müller  <tim at centricular dot net>
16612
16613         * docs/manual/mime-world.fig:
16614           Add audioconvert element to diagram so that it
16615           matches the text and the code (fixes #319526).
16616
16617 2005-12-11  Tim-Philipp Müller  <tim at centricular dot net>
16618
16619         * docs/pwg/building-chainfn.xml:
16620         * docs/pwg/building-pads.xml:
16621         * docs/pwg/building-state.xml:
16622         * docs/pwg/other-source.xml:
16623           Update state change stuff for 0.10 (fixes #322969).
16624
16625 2005-12-11  Tim-Philipp Müller  <tim at centricular dot net>
16626
16627         * docs/manual/advanced-dataaccess.xml:
16628         * docs/manual/appendix-checklist.xml:
16629         * docs/manual/appendix-programs.xml:
16630         * docs/manual/basics-pads.xml:
16631         * docs/manual/highlevel-components.xml:
16632         * docs/manual/manual.xml:
16633           Update for 0.10: s/0.9/0.10/; s/audioscale/audiorsample/;
16634           add converters in front of pipelines; remove curly
16635           brackets for threads stuff, they no longer exist; use
16636           GST_TYPE_FRACTION for framerates; update some pieces of
16637           code to 0.10, but there's plenty more to do.
16638
16639         * docs/manual/appendix-porting.xml:
16640           Expand on asynchroneous state changes; s/0.9/0.10/;
16641           mention disappearance of gst_init_get_popt_table()
16642           (fixes #322916).
16643
16644 2005-12-11  Tim-Philipp Müller  <tim at centricular dot net>
16645
16646         * docs/faq/using.xml:
16647           Spider no longer exists, and neither does gst-launch-ext.
16648           Update examples to use decodebin and playbin and put
16649           converters in front of sinks (fixes #323726).
16650
16651 2005-12-09  Michael Smith  <msmith@fluendo.com>
16652
16653         * plugins/elements/gsttypefindelement.c: (find_peek),
16654         (gst_type_find_element_chain):
16655           Fix leaking element factories in typefinding.
16656           Fix problem where we forgot about a probable type on non-seekable
16657           files, and thus later mis-typefound it.
16658
16659 2005-12-09  Michael Smith  <msmith@fluendo.com>
16660
16661         * common/m4/gst-makecontext.m4:
16662         * common/m4/gst-mcsc.m4:
16663         * configure.ac:
16664         * win32/common/config.h:
16665         * win32/common/config.h.in:
16666           Remove makecontext stuff; not used in 0.10 and causes problems on
16667           HPUX according to bug #322441
16668
16669 2005-12-07  Wim Taymans  <wim@fluendo.com>
16670
16671         * tests/check/Makefile.am:
16672         * tests/check/libs/libsabi.c: (GST_START_TEST), (gstabi_suite),
16673         (main):
16674         * tests/check/libs/struct_i386.h:
16675         Added ABI check for libs
16676
16677 2005-12-07  Wim Taymans  <wim@fluendo.com>
16678
16679         * tests/check/Makefile.am:
16680         And add the struct_i386.h to dist.
16681
16682 2005-12-07  Wim Taymans  <wim@fluendo.com>
16683
16684         * tests/check/Makefile.am:
16685         * tests/check/gst/.cvsignore:
16686         * tests/check/gst/gstabi.c: (GST_START_TEST), (gstabi_suite),
16687         (main):
16688         * tests/check/gst/struct_i386.h:
16689         Added check for ABI compatibility.
16690
16691 2005-12-07  Wim Taymans  <wim@fluendo.com>
16692
16693         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
16694         (gst_fake_src_get_times), (gst_fake_src_create):
16695         Fix broken sync option, fixes #323259
16696
16697 2005-12-07  Wim Taymans  <wim@fluendo.com>
16698
16699         * gst/gstbuffer.c:
16700         Small docs update.
16701
16702         * gst/gstcaps.c: (gst_caps_is_equal):
16703         Don't assert on NULL <--> X. Fixes #323260
16704
16705         * gst/gstminiobject.c: (gst_mini_object_replace):
16706         If we're doing atomic operations, we might just as well use
16707         the proper way to get an atomic pointer.
16708
16709         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
16710         Clean up debugging.
16711
16712 2005-12-07  Michael Smith  <msmith@fluendo.com>
16713
16714         * gst/parse/grammar.y:
16715           Remove handling of { } for threads.
16716
16717 2005-12-06  David Schleef  <ds@schleef.org>
16718
16719         * libs/gst/base/gstbasetransform.c: speling fix.
16720
16721 2005-12-06  Thomas Vander Stichele  <thomas at apestaart dot org>
16722
16723         * docs/libs/tmpl/gstdataprotocol.sgml:
16724         * docs/random/omega/testing/gstobject.c:
16725         * gst/gst.c:
16726         * gst/gstclock.c:
16727         * gst/gstelement.c:
16728         * gst/gstelementfactory.c:
16729         * gst/gsterror.c:
16730         * gst/gstevent.c:
16731         * gst/gstghostpad.c:
16732         * gst/gstinfo.c:
16733         * gst/gstpadtemplate.c:
16734         * gst/gstregistryxml.c:
16735         * gst/gsttaglist.c:
16736         * gst/gsttagsetter.c:
16737         * gst/gsttypefind.c:
16738         * gst/gstvalue.c:
16739         * libs/gst/base/gstbasesrc.c:
16740         * libs/gst/net/gstnetclientclock.c:
16741         * libs/gst/net/gstnettimeprovider.c:
16742         * plugins/elements/gstfakesrc.c:
16743         * plugins/elements/gstfdsrc.c:
16744         * plugins/elements/gstfilesrc.c:
16745         * plugins/elements/gstidentity.c:
16746         * plugins/elements/gstqueue.c:
16747         * plugins/elements/gsttypefindelement.c:
16748         * plugins/indexers/gstfileindex.c:
16749         * plugins/indexers/gstmemindex.c:
16750         * tests/check/gst/gsttag.c:
16751         * tests/old/examples/cutter/cutter.c:
16752         * tests/old/examples/mixer/mixer.c:
16753         * tests/old/examples/xml/runxml.c: (main):
16754         * tests/old/testsuite/caps/normalisation.c:
16755         * tests/old/testsuite/debug/global.c:
16756         * tests/old/testsuite/parse/parse1.c:
16757         * tools/gst-xmlinspect.c:
16758         * win32/common/dirent.c:
16759           expand tabs
16760
16761 === release 0.10.0 ===
16762
16763 2005-12-05  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
16764
16765         * configure.ac:
16766           releasing 0.10.0, "Maroilles"
16767
16768 2005-12-05  Thomas Vander Stichele  <thomas at apestaart dot org>
16769
16770         submitted by: Funda Wang <fundawang@linux.net.cn>
16771
16772         * po/LINGUAS:
16773         * po/zh_CN.po:
16774           added Chinese (Traditional) translation
16775
16776 2005-12-05  Thomas Vander Stichele  <thomas at apestaart dot org>
16777
16778         * docs/gst/gstreamer-sections.txt:
16779         * docs/libs/tmpl/gstdataprotocol.sgml:
16780         * docs/random/thomasvs/TODO:
16781         * gst/gstutils.c:
16782         * gst/gstutils.h:
16783           fix docs
16784
16785 2005-12-05  Andy Wingo  <wingo@pobox.com>
16786
16787         patch by: Wim Taymans <wim@fluendo.com>
16788
16789         * libs/gst/base/gstbasetransform.c
16790         (gst_base_transform_prepare_output_buf)
16791         (gst_base_transform_buffer_alloc):
16792         * plugins/elements/gstqueue.c (gst_queue_bufferalloc): Call
16793         alloc_buffer_and_set_caps.
16794
16795         * gst/gstpad.c (gst_pad_alloc_buffer): Changed to not call
16796         set_caps on the source pad.
16797         (gst_pad_alloc_buffer_and_set_caps): New function, does what
16798         alloc_buffer used to do. Fixes #322874.
16799
16800         * docs/gst/gstreamer-sections.txt: 
16801         * docs/design/part-negotiation.txt: 
16802         * docs/pwg/advanced-negotiation.xml: Update for the alloc_buffer
16803         changes.
16804
16805 2005-12-05  Thomas Vander Stichele  <thomas at apestaart dot org>
16806
16807         patch by: Sebastien Moutte
16808
16809         * win32/MANIFEST:
16810         * win32/common/config.h.in:
16811         * win32/vs6/libgstcontroller.dsp:
16812           win32 build fixes
16813
16814 2005-12-05  Wim Taymans  <wim@fluendo.com>
16815
16816         * gst/gstcaps.c: (gst_caps_is_equal):
16817         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
16818         (gst_fake_src_create):
16819         Back out previous code changes, leave doc updates, file bugs 
16820         instead. 
16821
16822 2005-12-05  Wim Taymans  <wim@fluendo.com>
16823
16824         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
16825         (gst_fake_src_get_times), (gst_fake_src_create):
16826         * plugins/elements/gstfakesrc.h:
16827         Fix broken sync code.
16828
16829 2005-12-05  Wim Taymans  <wim@fluendo.com>
16830
16831         * gst/gstcaps.c: (gst_caps_is_equal):
16832         Comparing NULL against !NULL yields different caps, not a
16833         failure.
16834
16835 2005-12-05  Wim Taymans  <wim@fluendo.com>
16836
16837         * gst/gstpipeline.c:
16838         Fix small typo in docs.
16839
16840 2005-12-05  Andy Wingo  <wingo@pobox.com>
16841
16842         patch by: Thomas Vander Stichele  <thomas at apestaart dot org>
16843
16844         * gst/gst.c (init_post): remove hard-coded 0.9 location for
16845         registries/plugins with a MAJORMINOR one.
16846         (plugin_desc): Rename library from gstcoreleements to
16847         staticelements. Fixes #323222.
16848
16849 2005-12-05  Tim-Philipp Müller  <tim at centricular dot net>
16850
16851         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init):
16852           Change debug category to 'collectpads' from 'collect_pads'
16853           (fixes #323250).
16854
16855 2005-12-04  Thomas Vander Stichele  <thomas at apestaart dot org>
16856
16857         patch by: Sebastien Moutte
16858
16859         * libs/gst/controller/gstinterpolation.c:
16860           use convert function for uint64/double
16861         * win32/vs6/libgstcontroller.dsp:
16862           link to GLib
16863
16864 2005-12-04  Thomas Vander Stichele  <thomas at apestaart dot org>
16865
16866         * gst/gstutils.c: (gst_util_guint64_to_gdouble),
16867         (gst_util_gdouble_to_guint64), (gst_util_uint64_scale_int64):
16868         * gst/gstutils.h:
16869         * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
16870           add tests that seem to show that the guint64/gdouble conversions
16871           are correct.
16872
16873 2005-12-02  Wim Taymans  <wim@fluendo.com>
16874
16875         * gst/gstregistry.c: (gst_registry_add_path):
16876         * gst/gstregistry.h:
16877         * gst/gstregistryxml.c:
16878         Fix docs again.
16879
16880 2005-12-02  Wim Taymans  <wim@fluendo.com>
16881
16882         * gst/gstutils.c: (gst_util_uint64_scale_int64),
16883         (gst_util_uint64_scale_int):
16884         Small cleanup.
16885
16886         * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object):
16887         Add debug log line.
16888
16889         * libs/gst/base/gstbasetransform.c: (gst_base_transform_event):
16890         Add FIXME.
16891
16892 2005-12-02  Thomas Vander Stichele  <thomas at apestaart dot org>
16893
16894         * win32/MANIFEST:
16895         * win32/common/config.h:
16896         * win32/vs6/gstreamer.dsw:
16897         * win32/vs6/libgstcoreelements.dsp:
16898         * win32/vs6/libgstelements.dsp:
16899           renamed core elements plugin
16900
16901 2005-12-02  Thomas Vander Stichele  <thomas at apestaart dot org>
16902
16903         * tools/gst-run.c: (compare_major_minor), (find_highest_version),
16904         (get_candidates):
16905           do piece-wise major/minor comparison so 0.9 < 0.10
16906           also allow .exe extensions for tools
16907
16908 2005-12-02  Michael Smith  <msmith@fluendo.com>
16909
16910         * gst/gst.c:
16911           Escape a % to make gtkdoc happier; bug 322958.
16912
16913 === release 0.9.7 ===
16914
16915 2005-12-01  Thomas Vander Stichele <thomas (at) apestaart (dot) org>
16916
16917         * configure.ac:
16918           releasing 0.9.7, "My Dog Has No Nose"
16919
16920 2005-12-01  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
16921
16922         * common/gst-xmlinspect.py:
16923         * configure.ac:
16924         * docs/libs/tmpl/gstdataprotocol.sgml:
16925         * docs/random/release:
16926         * po/af.po:
16927         * po/az.po:
16928         * po/bg.po:
16929         * po/ca.po:
16930         * po/cs.po:
16931         * po/de.po:
16932         * po/en_GB.po:
16933         * po/fr.po:
16934         * po/it.po:
16935         * po/nb.po:
16936         * po/nl.po:
16937         * po/ru.po:
16938         * po/sq.po:
16939         * po/sr.po:
16940         * po/sv.po:
16941         * po/tr.po:
16942         * po/uk.po:
16943         * po/vi.po:
16944         * win32/common/config.h:
16945         * win32/common/config.h.in:
16946         * win32/vs6/gst_inspect.dsp:
16947         * win32/vs6/gst_launch.dsp:
16948         * win32/vs6/libgstbase.dsp:
16949         * win32/vs6/libgstelements.dsp:
16950         * win32/vs6/libgstreamer.dsp:
16951         * win32/vs7/GStreamer.vcproj:
16952         * win32/vs7/gst-inspect.vcproj:
16953         * win32/vs7/gst-launch.vcproj:
16954         * win32/vs7/libgstbase.vcproj:
16955           bump GST_MAJORMINOR to 0.10
16956           reset libtool version
16957
16958 2005-12-01  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
16959
16960         * po/LINGUAS:
16961         * po/bg.po:
16962           Added Bulgarian translation by (Alexander Shopov)
16963
16964 2005-12-01  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
16965
16966         * tests/check/gst/gstplugin.c:
16967           fix test
16968
16969 2005-12-01  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
16970
16971         * common/gst-xmlinspect.py:
16972         * common/gtk-doc-plugins.mak:
16973         * configure.ac:
16974         * docs/Makefile.am:
16975         * docs/gst/Makefile.am:
16976         * docs/gst/gstreamer-docs.sgml:
16977         * docs/gst/gstreamer-sections.txt:
16978         * docs/gst/gstreamer.types:
16979         * docs/gst/gstreamer.types.in:
16980         * docs/plugins/Makefile.am:
16981         * docs/plugins/gstreamer-plugins-docs.sgml:
16982         * docs/plugins/gstreamer-plugins-sections.txt:
16983         * docs/plugins/gstreamer-plugins.types:
16984         * docs/plugins/inspect.stamp:
16985         * docs/plugins/inspect/plugin-coreelements.xml:
16986         * docs/plugins/inspect/plugin-coreindexers.xml:
16987         * docs/plugins/scanobj-build.stamp:
16988         * gstreamer.spec.in:
16989         * plugins/elements/Makefile.am:
16990         * plugins/elements/gstelements.c:
16991         * plugins/elements/gstfakesink.c:
16992         * plugins/elements/gstfakesrc.c:
16993         * plugins/elements/gstfilesink.c:
16994         * plugins/elements/gstfilesrc.c:
16995         * plugins/elements/gstqueue.c:
16996         * plugins/indexers/Makefile.am:
16997         * plugins/indexers/gstindexers.c:
16998           document core plugins in a separate document just like all the
16999           others
17000           rename these plugins to something starting with core
17001
17002 2005-12-01  Andy Wingo  <wingo@pobox.com>
17003
17004         * gst/gstevent.h (struct _GstEvent): Meant to remove the extra
17005         padding here before, but it missed the commit.
17006
17007 2005-12-01  Thomas Vander Stichele  <thomas at apestaart dot org>
17008
17009         * libs/gst/controller/gstinterpolation.c:
17010           whitespace prices have crashed, we should feel free to use some now
17011           use gst_guint64_to_gdouble
17012
17013 2005-12-01  Thomas Vander Stichele  <thomas at apestaart dot org>
17014
17015         * libs/gst/controller/gstcontroller.c:
17016         * libs/gst/controller/gsthelper.c:
17017         * libs/gst/controller/gstinterpolation.c:
17018         * libs/gst/controller/lib.c:
17019           wrap config.h include
17020
17021 2005-12-01  Thomas Vander Stichele  <thomas at apestaart dot org>
17022
17023         * docs/gst/gstreamer-sections.txt:
17024           update docs
17025
17026 2005-12-01  Thomas Vander Stichele  <thomas at apestaart dot org>
17027
17028         * plugins/elements/gstelements.c:
17029         * plugins/elements/gstfdsink.c: (gst_fd_sink__base_init),
17030         (gst_fd_sink__class_init), (gst_fd_sink__init),
17031         (gst_fd_sink__chain), (gst_fd_sink__set_property),
17032         (gst_fd_sink__get_property):
17033         * plugins/elements/gstfdsink.h:
17034         * plugins/elements/gstfdsrc.c: (_do_init), (gst_fd_src_base_init),
17035         (gst_fd_src_class_init), (gst_fd_src_init), (gst_fd_src_dispose),
17036         (gst_fd_src_update_fd), (gst_fd_src_start), (gst_fd_src_stop),
17037         (gst_fd_src_unlock), (gst_fd_src_set_property),
17038         (gst_fd_src_get_property), (gst_fd_src_create),
17039         (gst_fd_src_is_seekable), (gst_fd_src_get_size),
17040         (gst_fd_src_uri_get_type), (gst_fd_src_uri_get_protocols),
17041         (gst_fd_src_uri_get_uri), (gst_fd_src_uri_set_uri),
17042         (gst_fd_src_uri_handler_init):
17043         * plugins/elements/gstfdsrc.h:
17044         * plugins/elements/gstqueue.c: (gst_queue_get_type):
17045           more anal cleanup
17046
17047 2005-11-30  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
17048
17049         * docs/gst/Makefile.am:
17050         * docs/gst/gstreamer.types.in:
17051         * gst/Makefile.am:
17052           fix the docs build
17053
17054 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
17055
17056         * configure.ac:
17057         * gst/Makefile.am:
17058         * gst/gst.c:
17059         * gst/gstplugin.h:
17060         * gst/gstregistry.h:
17061         * tests/benchmarks/complexity.c:
17062         * tests/benchmarks/mass-elements.c:
17063         * tests/check/Makefile.am:
17064         * tools/Makefile.am:
17065         * tools/gst-inspect.c:
17066         * tools/gst-xmlinspect.c:
17067           various fixes to make
17068           --disable-nls --disable-registry --disable-loadsave
17069           --disable-parse --disable-gst-debug
17070           work and get the core .so down to 360444 bytes after stripping
17071
17072 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
17073
17074         * Makefile.am:
17075         * configure.ac:
17076           descend into tests
17077         * docs/random/thomasvs/TODO:
17078         * tests/Makefile.am:
17079         * tests/README:
17080           add a README
17081
17082 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
17083
17084         * win32/GStreamer.vcproj:
17085         * win32/MANIFEST:
17086         * win32/Makefile:
17087         * win32/Makefile.inspect:
17088         * win32/Makefile.launch:
17089         * win32/Makefile.register:
17090         * win32/README.txt:
17091         * win32/gst-inspect.vcproj:
17092         * win32/gst-launch.vcproj:
17093         * win32/gst-register.vcproj:
17094         * win32/gstelements.vcproj:
17095         * win32/gstgetbits.def:
17096         * win32/gstgetbits.vcproj:
17097         * win32/gstreamer-dbg.def:
17098         * win32/gstreamer.def:
17099         * win32/libgstbase.def:
17100         * win32/libgstbase.vcproj:
17101         * win32/link_oldruntime.c:
17102         * win32/mman.c:
17103         * win32/mman.h:
17104         * win32/mman.inl:
17105         * win32/msvc71.sln:
17106           move even more stuff, win32/ is nice and clean now
17107
17108 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
17109
17110         * libs/gst/control/.cvsignore:
17111         * win32/MANIFEST:
17112         * win32/config.h:
17113         * win32/dirent.c:
17114         * win32/dirent.h:
17115         * win32/gstbytestream.def:
17116         * win32/gstbytestream.vcproj:
17117         * win32/gstconfig.h:
17118         * win32/gstenumtypes.c:
17119         * win32/gstenumtypes.h:
17120         * win32/gstoptimalscheduler.vcproj:
17121         * win32/gstversion.h:
17122         * win32/gtchar.h:
17123         * win32/testsuite/bins.vcproj:
17124         * win32/testsuite/bytestream.vcproj:
17125         * win32/testsuite/caps.vcproj:
17126         * win32/testsuite/cleanup.vcproj:
17127         * win32/testsuite/clock.vcproj:
17128         * win32/testsuite/debug.vcproj:
17129         * win32/testsuite/dlopen.vcproj:
17130         * win32/testsuite/dynparams.vcproj:
17131         * win32/testsuite/elements.vcproj:
17132         * win32/testsuite/ghostpads.vcproj:
17133         * win32/testsuite/indexers.vcproj:
17134         * win32/testsuite/negotiation.vcproj:
17135         * win32/testsuite/parse.vcproj:
17136         * win32/testsuite/plugin.vcproj:
17137         * win32/testsuite/refcounting.vcproj:
17138         * win32/testsuite/schedulers.vcproj:
17139         * win32/testsuite/states.vcproj:
17140         * win32/testsuite/tags.vcproj:
17141         * win32/testsuite/threads.vcproj:
17142           remove old win32 stuff that isn't maintained and should be
17143           reorganized
17144
17145 2005-11-30  Andy Wingo  <wingo@pobox.com>
17146
17147         * configure.ac (GST_PKG_DEPS): Revert previous patch, makes
17148         loading the gst.interfaces python module bork.
17149
17150         * configure.ac (GST_PKG_DEPS): Use gmodule-no-export-2.0.pc,
17151         available since GLib 2.2. Fixes #318031.
17152
17153 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
17154
17155         * Makefile.am:
17156         * check/.cvsignore:
17157         * check/Makefile.am:
17158         * check/elements/.cvsignore:
17159         * check/elements/fakesrc.c:
17160         * check/elements/fdsrc.c:
17161         * check/elements/identity.c:
17162         * check/generic/.cvsignore:
17163         * check/generic/states.c:
17164         * check/gst-libs/.cvsignore:
17165         * check/gst-libs/controller.c:
17166         * check/gst-libs/gdp.c:
17167         * check/gst/.cvsignore:
17168         * check/gst/capslist.h:
17169         * check/gst/gst.c:
17170         * check/gst/gstbin.c:
17171         * check/gst/gstbuffer.c:
17172         * check/gst/gstbus.c:
17173         * check/gst/gstcaps.c:
17174         * check/gst/gstelement.c:
17175         * check/gst/gstevent.c:
17176         * check/gst/gstghostpad.c:
17177         * check/gst/gstiterator.c:
17178         * check/gst/gstmessage.c:
17179         * check/gst/gstminiobject.c:
17180         * check/gst/gstobject.c:
17181         * check/gst/gstpad.c:
17182         * check/gst/gstpipeline.c:
17183         * check/gst/gstplugin.c:
17184         * check/gst/gstsegment.c:
17185         * check/gst/gststructure.c:
17186         * check/gst/gstsystemclock.c:
17187         * check/gst/gsttag.c:
17188         * check/gst/gstutils.c:
17189         * check/gst/gstvalue.c:
17190         * check/net/.cvsignore:
17191         * check/net/gstnetclientclock.c:
17192         * check/net/gstnettimeprovider.c:
17193         * check/pipelines/.cvsignore:
17194         * check/pipelines/cleanup.c:
17195         * check/pipelines/simple_launch_lines.c:
17196         * check/pipelines/stress.c:
17197         * check/states/.cvsignore:
17198         * check/states/sinks.c:
17199         * configure.ac:
17200         * examples/Makefile.am:
17201         * examples/appreader/.cvsignore:
17202         * examples/appreader/Makefile.am:
17203         * examples/appreader/appreader.c:
17204         * examples/controller/.cvsignore:
17205         * examples/controller/Makefile.am:
17206         * examples/controller/audio-example.c:
17207         * examples/cutter/.cvsignore:
17208         * examples/cutter/Makefile.am:
17209         * examples/cutter/cutter.c:
17210         * examples/cutter/cutter.h:
17211         * examples/events/Makefile.am:
17212         * examples/events/seek.c:
17213         * examples/helloworld/.cvsignore:
17214         * examples/helloworld/Makefile.am:
17215         * examples/helloworld/helloworld.c:
17216         * examples/helloworld2/.cvsignore:
17217         * examples/helloworld2/Makefile.am:
17218         * examples/helloworld2/helloworld2.c:
17219         * examples/launch/.cvsignore:
17220         * examples/launch/Makefile.am:
17221         * examples/launch/mp3parselaunch.c:
17222         * examples/launch/mp3play:
17223         * examples/manual/.cvsignore:
17224         * examples/manual/Makefile.am:
17225         * examples/manual/extract.pl:
17226         * examples/metadata/Makefile.am:
17227         * examples/metadata/read-metadata.c:
17228         * examples/mixer/.cvsignore:
17229         * examples/mixer/Makefile.am:
17230         * examples/mixer/mixer.c:
17231         * examples/mixer/mixer.h:
17232         * examples/pingpong/.cvsignore:
17233         * examples/pingpong/Makefile.am:
17234         * examples/pingpong/pingpong.c:
17235         * examples/plugins/.cvsignore:
17236         * examples/plugins/Makefile.am:
17237         * examples/plugins/example.c:
17238         * examples/plugins/example.h:
17239         * examples/pwg/.cvsignore:
17240         * examples/pwg/Makefile.am:
17241         * examples/pwg/extract.pl:
17242         * examples/queue/.cvsignore:
17243         * examples/queue/Makefile.am:
17244         * examples/queue/queue.c:
17245         * examples/queue2/.cvsignore:
17246         * examples/queue2/Makefile.am:
17247         * examples/queue2/queue2.c:
17248         * examples/queue3/.cvsignore:
17249         * examples/queue3/Makefile.am:
17250         * examples/queue3/queue3.c:
17251         * examples/queue4/.cvsignore:
17252         * examples/queue4/Makefile.am:
17253         * examples/queue4/queue4.c:
17254         * examples/retag/.cvsignore:
17255         * examples/retag/Makefile.am:
17256         * examples/retag/retag.c:
17257         * examples/retag/transcode.c:
17258         * examples/thread/.cvsignore:
17259         * examples/thread/Makefile.am:
17260         * examples/thread/thread.c:
17261         * examples/typefind/.cvsignore:
17262         * examples/typefind/Makefile.am:
17263         * examples/typefind/typefind.c:
17264         * examples/xml/.cvsignore:
17265         * examples/xml/Makefile.am:
17266         * examples/xml/createxml.c:
17267         * examples/xml/runxml.c:
17268         * tests/Makefile.am:
17269         * tests/check/Makefile.am:
17270         * testsuite/.cvsignore:
17271         * testsuite/Makefile.am:
17272         * testsuite/Rules:
17273         * testsuite/caps/.cvsignore:
17274         * testsuite/caps/Makefile.am:
17275         * testsuite/caps/app_fixate.c:
17276         * testsuite/caps/audioscale.c:
17277         * testsuite/caps/caps.c:
17278         * testsuite/caps/caps.h:
17279         * testsuite/caps/caps_strings:
17280         * testsuite/caps/compatibility.c:
17281         * testsuite/caps/deserialize.c:
17282         * testsuite/caps/enumcaps.c:
17283         * testsuite/caps/eratosthenes.c:
17284         * testsuite/caps/filtercaps.c:
17285         * testsuite/caps/fixed.c:
17286         * testsuite/caps/fraction-convert.c:
17287         * testsuite/caps/fraction-multiply-and-zero.c:
17288         * testsuite/caps/intersect2.c:
17289         * testsuite/caps/intersection.c:
17290         * testsuite/caps/normalisation.c:
17291         * testsuite/caps/random.c:
17292         * testsuite/caps/renegotiate.c:
17293         * testsuite/caps/sets.c:
17294         * testsuite/caps/simplify.c:
17295         * testsuite/caps/string-conversions.c:
17296         * testsuite/caps/structure.c:
17297         * testsuite/caps/subtract.c:
17298         * testsuite/caps/union.c:
17299         * testsuite/debug/.cvsignore:
17300         * testsuite/debug/Makefile.am:
17301         * testsuite/debug/category.c:
17302         * testsuite/debug/commandline.c:
17303         * testsuite/debug/global.c:
17304         * testsuite/debug/output.c:
17305         * testsuite/debug/printf_extension.c:
17306         * testsuite/dlopen/.cvsignore:
17307         * testsuite/dlopen/Makefile.am:
17308         * testsuite/dlopen/dlopen_gst.c:
17309         * testsuite/dlopen/loadgst.c:
17310         * testsuite/elements/.cvsignore:
17311         * testsuite/elements/Makefile.am:
17312         * testsuite/elements/gst-inspect-check.in:
17313         * testsuite/elements/struct_i386.h:
17314         * testsuite/elements/struct_size.c:
17315         * testsuite/indexers/.cvsignore:
17316         * testsuite/indexers/Makefile.am:
17317         * testsuite/indexers/cache1.c:
17318         * testsuite/indexers/indexdump.c:
17319         * testsuite/parse/.cvsignore:
17320         * testsuite/parse/Makefile.am:
17321         * testsuite/parse/parse1.c:
17322         * testsuite/parse/parse2.c:
17323         * testsuite/plugin/.cvsignore:
17324         * testsuite/plugin/Makefile.am:
17325         * testsuite/plugin/README:
17326         * testsuite/plugin/dynamic.c:
17327         * testsuite/plugin/linked.c:
17328         * testsuite/plugin/loading.c:
17329         * testsuite/plugin/registry.c:
17330         * testsuite/plugin/static.c:
17331         * testsuite/plugin/static2.c:
17332         * testsuite/plugin/testplugin.c:
17333         * testsuite/plugin/testplugin2.c:
17334         * testsuite/plugin/testplugin2_s.c:
17335         * testsuite/plugin/testplugin_s.c:
17336         * testsuite/refcounting/.cvsignore:
17337         * testsuite/refcounting/Makefile.am:
17338         * testsuite/refcounting/bin.c:
17339         * testsuite/refcounting/element.c:
17340         * testsuite/refcounting/element_pad.c:
17341         * testsuite/refcounting/mainloop.c:
17342         * testsuite/refcounting/mem.c:
17343         * testsuite/refcounting/mem.h:
17344         * testsuite/refcounting/object.c:
17345         * testsuite/refcounting/pad.c:
17346         * testsuite/refcounting/sched.c:
17347         * testsuite/refcounting/thread.c:
17348         * testsuite/states/.cvsignore:
17349         * testsuite/states/Makefile.am:
17350         * testsuite/states/bin.c:
17351         * testsuite/states/locked.c:
17352         * testsuite/states/parent.c:
17353         * testsuite/threads/.cvsignore:
17354         * testsuite/threads/159566.c:
17355         * testsuite/threads/159852.c:
17356         * testsuite/threads/Makefile.am:
17357         * testsuite/threads/queue.c:
17358         * testsuite/threads/signals.c:
17359         * testsuite/threads/staticrec.c:
17360         * testsuite/threads/thread.c:
17361         * testsuite/threads/threadb.c:
17362         * testsuite/threads/threadc.c:
17363         * testsuite/threads/threadd.c:
17364         * testsuite/threads/threade.c:
17365         * testsuite/threads/threadf.c:
17366         * testsuite/threads/threadg.c:
17367         * testsuite/threads/threadh.c:
17368         * testsuite/threads/threadi.c:
17369           move all of these under tests
17370
17371 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
17372
17373         * configure.ac:
17374         * tests/Makefile.am:
17375           fix distcheck
17376
17377 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
17378
17379         * docs/gst/gstreamer-sections.txt:
17380         * tests/sched/.cvsignore:
17381         * tests/sched/Makefile.am:
17382         * tests/sched/cases/(fs-fs).xml:
17383         * tests/sched/cases/(fs-i-fs).xml:
17384         * tests/sched/cases/(fs-i-i-fs).xml:
17385         * tests/sched/cases/(fs-i-q[i-fs]).xml:
17386         * tests/sched/dynamic-pipeline.c:
17387         * tests/sched/interrupt1.c:
17388         * tests/sched/interrupt2.c:
17389         * tests/sched/interrupt3.c:
17390         * tests/sched/runtestcases:
17391         * tests/sched/runxml.c:
17392         * tests/sched/sched-stress.c:
17393         * tests/sched/sort.c:
17394         * tests/sched/testcases:
17395         * tests/sched/testcases1.tc:
17396         * tests/seeking/.cvsignore:
17397         * tests/seeking/Makefile.am:
17398         * tests/seeking/seeking1.c:
17399         * tests/threadstate/.cvsignore:
17400         * tests/threadstate/Makefile.am:
17401         * tests/threadstate/test1.c:
17402         * tests/threadstate/test2.c:
17403         * tests/threadstate/threadstate1.c:
17404         * tests/threadstate/threadstate2.c:
17405         * tests/threadstate/threadstate3.c:
17406         * tests/threadstate/threadstate4.c:
17407         * tests/threadstate/threadstate5.c:
17408           remove obsolete tests
17409         * configure.ac:
17410         * tests/bench-complexity.scm:
17411         * tests/bench-mass_elements.scm:
17412         * tests/complexity.c:
17413         * tests/complexity.gnuplot:
17414         * tests/instantiate/.cvsignore:
17415         * tests/instantiate/Makefile.am:
17416         * tests/instantiate/caps.c:
17417         * tests/mass_elements.c:
17418         * tests/network-clock-utils.scm:
17419         * tests/network-clock.scm:
17420         * tests/plot-data:
17421         First pass at cleaning up tests/ dir before moving the rest
17422         Combined with CVS surgery
17423
17424 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
17425
17426         * po/POTFILES.in:
17427           queue has moved, update
17428
17429 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
17430
17431         * docs/gst/gstreamer-sections.txt:
17432           remove double entries from the docs
17433         * gst/gst_private.h:
17434         * gst/gstinfo.c: (_gst_debug_init):
17435           remove the THREAD debug category
17436         * gst/Makefile.am:
17437         * gst/gstqueue.c:
17438         * gst/gstqueue.h:
17439         * docs/gst/gstreamer.types:
17440         * plugins/elements/gstqueue.c: (gst_queue_get_type),
17441         (gst_queue_init), (gst_queue_finalize), (gst_queue_change_state):
17442           completely move queue and fix up debugging categories
17443
17444 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
17445
17446         * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
17447           make initialization portable, using LL is not
17448
17449 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
17450
17451         * win32/common/gstconfig.h:
17452           add large padding
17453
17454 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
17455
17456         * win32/common/libgstreamer.def:
17457           rename symbols; sort base section
17458
17459 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
17460
17461         * gst/gstclock.c: (do_linear_regression):
17462           remove crack non-portable handrolled DEBUG macro
17463
17464 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
17465
17466         * docs/random/release:
17467           update notes
17468         * win32/common/gstenumtypes.c: (register_gst_object_flags),
17469         (gst_object_flags_get_type), (register_gst_bin_flags),
17470         (gst_bin_flags_get_type), (register_gst_buffer_flag),
17471         (gst_buffer_flag_get_type), (register_gst_bus_flags),
17472         (gst_bus_flags_get_type), (register_gst_bus_sync_reply),
17473         (gst_bus_sync_reply_get_type), (register_gst_caps_flags),
17474         (gst_caps_flags_get_type), (register_gst_clock_return),
17475         (gst_clock_return_get_type), (register_gst_clock_entry_type),
17476         (gst_clock_entry_type_get_type), (register_gst_clock_flags),
17477         (gst_clock_flags_get_type), (register_gst_state),
17478         (gst_state_get_type), (register_gst_state_change_return),
17479         (gst_state_change_return_get_type), (register_gst_state_change),
17480         (gst_state_change_get_type), (register_gst_element_flags),
17481         (gst_element_flags_get_type), (register_gst_core_error),
17482         (gst_core_error_get_type), (register_gst_library_error),
17483         (gst_library_error_get_type), (register_gst_resource_error),
17484         (gst_resource_error_get_type), (register_gst_stream_error),
17485         (gst_stream_error_get_type), (register_gst_event_type_flags),
17486         (gst_event_type_flags_get_type), (register_gst_event_type),
17487         (gst_event_type_get_type), (register_gst_seek_type),
17488         (gst_seek_type_get_type), (register_gst_seek_flags),
17489         (gst_seek_flags_get_type), (register_gst_format),
17490         (gst_format_get_type), (register_gst_index_certainty),
17491         (gst_index_certainty_get_type), (register_gst_index_entry_type),
17492         (gst_index_entry_type_get_type),
17493         (register_gst_index_lookup_method),
17494         (gst_index_lookup_method_get_type), (register_gst_assoc_flags),
17495         (gst_assoc_flags_get_type), (register_gst_index_resolver_method),
17496         (gst_index_resolver_method_get_type), (register_gst_index_flags),
17497         (gst_index_flags_get_type), (register_gst_debug_level),
17498         (gst_debug_level_get_type), (register_gst_debug_color_flags),
17499         (gst_debug_color_flags_get_type), (register_gst_iterator_result),
17500         (gst_iterator_result_get_type), (register_gst_iterator_item),
17501         (gst_iterator_item_get_type), (register_gst_message_type),
17502         (gst_message_type_get_type), (register_gst_mini_object_flags),
17503         (gst_mini_object_flags_get_type), (register_gst_pad_link_return),
17504         (gst_pad_link_return_get_type), (register_gst_flow_return),
17505         (gst_flow_return_get_type), (register_gst_activate_mode),
17506         (gst_activate_mode_get_type), (register_gst_pad_direction),
17507         (gst_pad_direction_get_type), (register_gst_pad_flags),
17508         (gst_pad_flags_get_type), (register_gst_pad_presence),
17509         (gst_pad_presence_get_type), (register_gst_pad_template_flags),
17510         (gst_pad_template_flags_get_type), (register_gst_pipeline_flags),
17511         (gst_pipeline_flags_get_type), (register_gst_plugin_error),
17512         (gst_plugin_error_get_type), (register_gst_plugin_flags),
17513         (gst_plugin_flags_get_type), (register_gst_rank),
17514         (gst_rank_get_type), (register_gst_query_type),
17515         (gst_query_type_get_type), (register_gst_tag_merge_mode),
17516         (gst_tag_merge_mode_get_type), (register_gst_tag_flag),
17517         (gst_tag_flag_get_type), (register_gst_task_state),
17518         (gst_task_state_get_type), (register_gst_alloc_trace_flags),
17519         (gst_alloc_trace_flags_get_type),
17520         (register_gst_type_find_probability),
17521         (gst_type_find_probability_get_type), (register_gst_uri_type),
17522         (gst_uri_type_get_type), (register_gst_parse_error),
17523         (gst_parse_error_get_type):
17524         * win32/common/gstenumtypes.h:
17525         * win32/common/gstversion.h:
17526           update visual studio generated files
17527
17528 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
17529
17530         * win32/vs6/libgstbase.dsp:
17531         * win32/vs6/libgstelements.dsp:
17532           update project files for new locations
17533
17534 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
17535
17536         * Makefile.am:
17537           remove some files
17538         * README:
17539           reinstate and update
17540         * DEVEL:
17541         * REQUIREMENTS:
17542           removed
17543         * LICENSE:
17544         * docs/random/LICENSE:
17545           moved to random
17546
17547 2005-11-30  Edward Hervey  <edward@fluendo.com>
17548
17549         * gst/gsttypefind.c: (gst_type_find_register):
17550         * gst/gsttypefind.h:
17551         * gst/gsttypefindfactory.c: (gst_type_find_factory_init),
17552         (gst_type_find_factory_dispose):
17553         * gst/gsttypefindfactory.h:
17554         Fix memory leak in GstTypeFindFactory.
17555
17556 2005-11-29  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
17557
17558         * gst/gst.c:
17559         * plugins/elements/Makefile.am:
17560         * plugins/elements/gstelements.c:
17561         * plugins/elements/gstqueue.c:
17562           move queue from core to the elements plugin
17563
17564 2005-11-29  Andy Wingo  <wingo@pobox.com>
17565
17566         * libs/gst/base/gstbasetransform.h: 
17567         * libs/gst/base/gstbasesrc.h: 
17568         * libs/gst/base/gstbasesink.h: en-LARGE the padding.
17569
17570         * gst/gstconfig.h.in (GST_PADDING_LARGE): New define, the number
17571         of pointers by which to pad very extensible base classes (like the
17572         ones in libs/gst/base).
17573
17574 2005-11-29  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
17575
17576         * docs/gst/gstreamer-docs.sgml:
17577         * docs/gst/gstreamer-sections.txt:
17578         * docs/libs/gstreamer-libs-docs.sgml:
17579         * docs/libs/gstreamer-libs-sections.txt:
17580           moving documentation from core to lib
17581
17582 2005-11-29  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
17583
17584         * check/Makefile.am:
17585         * configure.ac:
17586         * docs/gst/Makefile.am:
17587         * gst/Makefile.am:
17588         * gst/base/.cvsignore:
17589         * gst/base/Makefile.am:
17590         * gst/base/README:
17591         * gst/base/gstadapter.c:
17592         * gst/base/gstadapter.h:
17593         * gst/base/gstbasesink.c:
17594         * gst/base/gstbasesink.h:
17595         * gst/base/gstbasesrc.c:
17596         * gst/base/gstbasesrc.h:
17597         * gst/base/gstbasetransform.c:
17598         * gst/base/gstbasetransform.h:
17599         * gst/base/gstcollectpads.c:
17600         * gst/base/gstcollectpads.h:
17601         * gst/base/gstpushsrc.c:
17602         * gst/base/gstpushsrc.h:
17603         * gst/base/gsttypefindhelper.c:
17604         * gst/base/gsttypefindhelper.h:
17605         * gst/check/Makefile.am:
17606         * gst/check/gstcheck.c:
17607         * gst/check/gstcheck.h:
17608         * gst/net/Makefile.am:
17609         * gst/net/gstnet.h:
17610         * gst/net/gstnetclientclock.c:
17611         * gst/net/gstnetclientclock.h:
17612         * gst/net/gstnettimepacket.c:
17613         * gst/net/gstnettimepacket.h:
17614         * gst/net/gstnettimeprovider.c:
17615         * gst/net/gstnettimeprovider.h:
17616         * libs/gst/Makefile.am:
17617         * libs/gst/base/Makefile.am:
17618         * libs/gst/base/gstbasetransform.c:
17619         * libs/gst/check/Makefile.am:
17620         * plugins/elements/Makefile.am:
17621         * po/POTFILES.in:
17622           CVS surgery + support to move base, check, and net out of gst
17623           and into libs/gst
17624
17625 2005-11-29  Andy Wingo  <wingo@pobox.com>
17626
17627         * gst/gstevent.h (struct _GstEvent): Only one pointer of padding.
17628
17629         * gst/gststructure.h (struct _GstStructure): Only one pointer of
17630         padding.
17631
17632         * gst/gstquery.h (struct _GstQuery): Only one pointer of padding.
17633
17634         * gst/gstpluginfeature.h: Remove a comment in PluginFeature.
17635
17636         * gst/gstplugin.h (struct _GstPluginClass): Add some padding.
17637
17638         * gst/gstobject.h: (struct _GstObject): Only one pointer of
17639         padding; reduces object size by about 30%. We don't expect
17640         anything else to go into gstobject.
17641
17642         * gst/gstminiobject.h (struct _GstMiniObject)
17643         (struct _GstMiniObjectClass): Only one pointer of padding; the
17644         payload is only a pointer and two ints anyway. For the class there
17645         are only two methods as well.
17646         
17647         * gst/gstelement.h (struct _GstElementClass): Removed
17648         the state_changed signal callback, it is not used.
17649
17650 2005-11-29  Thomas Vander Stichele  <thomas at apestaart dot org>
17651
17652         * docs/gst/gstreamer.types:
17653           fix includes, though they are a little dinky
17654
17655 2005-11-29  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
17656
17657         * check/Makefile.am:
17658           look in the right place for elements, a lot more chance of
17659           success
17660         * gst/Makefile.am:
17661           remove indexers and elements subdirs
17662         * plugins/Makefile.am:
17663           make indexers conditional
17664
17665 2005-11-29  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
17666
17667         * Makefile.am:
17668         * configure.ac:
17669         * plugins/elements/Makefile.am:
17670         * plugins/elements/gstcapsfilter.c:
17671         * plugins/elements/gstfilesink.c:
17672         * plugins/elements/gstfilesrc.c:
17673         * plugins/elements/gstidentity.c:
17674         * plugins/indexers/Makefile.am:
17675           do CVS surgery and related build fixery to move elements
17676           and indexers in a new gstreamer/plugins directory, out of the
17677           gst/ directory
17678
17679 2005-11-29  Andy Wingo  <wingo@pobox.com>
17680
17681         * check/Makefile.am:
17682         * pkgconfig/gstreamer-net-uninstalled.pc.in:
17683         * pkgconfig/gstreamer-net.pc.in:
17684         * gst/net/Makefile.am: Rename gstnet-tempname to gstnet. Fixes
17685         #322257.
17686
17687 2005-11-29  Thomas Vander Stichele  <thomas at apestaart dot org>
17688
17689         * tools/Makefile.am:
17690         * tools/gst-complete.1.in:
17691         * tools/gst-complete.c:
17692         * tools/gst-compprep.1.in:
17693         * tools/gst-compprep.c:
17694           removing -compprep and -complete
17695
17696 2005-11-29  Thomas Vander Stichele  <thomas at apestaart dot org>
17697
17698         * gst/gstevent.c: (gst_event_new_new_segment),
17699         (gst_event_parse_new_segment):
17700         * gst/gstevent.h:
17701           fix #320529 - clean up new_segment API and structure.
17702           Let's hope everyone was using the methods, and not the structure.
17703
17704 2005-11-29  Edward Hervey  <edward@fluendo.com>
17705
17706         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
17707         (gst_base_sink_event), (gst_base_sink_do_sync),
17708         (gst_base_sink_activate_pull), (gst_base_sink_change_state):
17709         Properly handle non GST_FORMAT_TIME segment
17710         * gst/elements/gstidentity.c: (gst_identity_transform_ip):
17711         Properly handle non GST_FORMAT_TIME segment
17712         * gst/gstsegment.c:
17713         This function is valid if the accumulator is 0 and the format
17714         is different from the requested format.
17715         
17716 2005-11-29  Jan Schmidt  <thaytan@mad.scientist.com>
17717
17718         * docs/gst/gstreamer-sections.txt:
17719         Add gst_query_new_seeking and gst_query_parse_seeking to the
17720         docs.
17721
17722 2005-11-29  Jan Schmidt  <thaytan@mad.scientist.com>
17723
17724         * gst/base/gstbasetransform.c: (gst_base_transform_buffer_alloc):
17725           Treat a pad alloc with new caps the same as if we were not
17726           negotiated, in order to allow a changing upstream output
17727           to produce a new format of data.
17728
17729 2005-11-29  Edward Hervey  <edward@fluendo.com>
17730
17731         * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
17732         (gst_base_transform_event), (gst_base_transform_eventfunc):
17733         The event virtual method is now properly implemented, with a default
17734         handler
17735         Sub classes should call the parent_class event method. They should
17736         return FALSE if they had a problem handling the given event, or don't
17737         want GstBaseTransform to send that even downstream
17738         * gst/elements/gstidentity.c: (gst_identity_class_init),
17739         (gst_identity_init), (gst_identity_event),
17740         (gst_identity_transform_ip), (gst_identity_set_property),
17741         (gst_identity_get_property):
17742         * gst/elements/gstidentity.h:
17743         Added the single-segment boolean property.
17744         If set to TRUE, it will output a single segment of data, starting from
17745         0, will eat up all incoming newsegment, and modify the timestamp of the
17746         buffers accordingly
17747
17748 2005-11-29  Tim-Philipp Müller  <tim at centricular dot net>
17749
17750         * gst/gstghostpad.c: (gst_proxy_pad_get_target):
17751           Don't ref NULL target pad (#322751). Improve docs.
17752
17753 2005-11-29  Michael Smith  <msmith@fluendo.com>
17754
17755         * gst/gstregistryxml.c: (load_plugin):
17756           Don't crash if we failed to load a feature from a plugin. 
17757
17758 2005-11-28  Thomas Vander Stichele  <thomas at apestaart dot org>
17759
17760         * check/pipelines/simple_launch_lines.c: (setup_pipeline),
17761         (GST_START_TEST):
17762           use more check API and less GLib API
17763
17764 2005-11-28  Thomas Vander Stichele  <thomas at apestaart dot org>
17765
17766         * Makefile.am:
17767           don't run checks if we don't have check
17768         * common/check.mak:
17769           remove the registry when running make torture
17770         * docs/gst/gstreamer-sections.txt:
17771           remove second multiply
17772         * gst/gstqueue.c: (gst_queue_loop):
17773           fix a compile warning when disabling debug
17774
17775 2005-11-28  Jan Schmidt  <thaytan@mad.scientist.com>
17776
17777         * gst/gstinfo.h:
17778         Hey! Let's print the pad name if the pointer != NULL instead
17779         of when it == NULL :-)
17780
17781 2005-11-28  Wim Taymans  <wim@fluendo.com>
17782
17783         * check/gst/gstutils.c: (GST_START_TEST):
17784         Updated check, add some scaling accuracy checking code.
17785
17786         * gst/gstutils.c: (gst_util_div128_64),
17787         (gst_util_uint64_scale_int64), (gst_util_uint64_scale),
17788         (gst_util_uint64_scale_int):
17789         Fix 6 times faster division code. Optimize for common 
17790         1/1 and less common X/1 cases.
17791
17792 2005-11-28  Wim Taymans  <wim@fluendo.com>
17793
17794         * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
17795         More checks.
17796
17797         * gst/gstclock.c: (gst_clock_finalize), (gst_clock_set_master),
17798         (do_linear_regression), (gst_clock_add_observation):
17799         Cleanups.
17800         Release lock when the clock cannot be slaved.
17801         Catch the case where the regression returned an invalid denominator.
17802
17803         * gst/gstutils.c: (gst_util_div128_64_iterate),
17804         (gst_util_div128_64), (gst_util_uint64_scale_int64),
17805         (gst_util_uint64_scale), (gst_util_uint64_scale_int):
17806         Add protentially more performant non-iterative 128/64 divide function
17807         that unfortunatly does not work yet.
17808         Shortcut the trivial 0/X = 0 case.
17809         Remove the warnings on overflow.
17810
17811 2005-11-28  Thomas Vander Stichele  <thomas at apestaart dot org>
17812
17813         * gst/gstplugin.c: (gst_plugin_register_func):
17814           everything causing a plugin not to load should be at least a WARNING
17815
17816 2005-11-28  Stefan Kost  <ensonic@users.sf.net>
17817
17818         * docs/random/ensonic/dparams.txt:
17819           some TODOs for the next dev cycle
17820         * libs/gst/controller/gstcontroller.c:
17821         (gst_controlled_property_set_interpolation_mode),
17822         (gst_controlled_property_new):
17823         * libs/gst/controller/gstcontroller.h:
17824           use base type to assign acccessor functions
17825
17826 2005-11-28  Jan Schmidt  <thaytan@mad.scientist.com>
17827
17828         * check/Makefile.am:
17829         Oops, that should have been top_srcdir
17830
17831 2005-11-28  Jan Schmidt  <thaytan@mad.scientist.com>
17832
17833         * check/Makefile.am:
17834         * check/elements/fdsrc.c: (GST_START_TEST):
17835         Use a cmdline define to specify the location of a file to use for
17836         testing, to avoid breaking distcheck.
17837
17838 2005-11-28  Andy Wingo  <wingo@pobox.com>
17839
17840         * gst/gstpad.c (fixate_value): Use array functions for arrays.
17841
17842 2005-11-28  Edward Hervey  <edward@fluendo.com>
17843
17844         * tools/gst-launch.c: (main):
17845         Clarify the output strings, makes it easier to translate.
17846         Fixes #322626
17847
17848 2005-11-28  Thomas Vander Stichele  <thomas at apestaart dot org>
17849
17850         * gst/Makefile.am:
17851           don't try and build net if we don't even have <sys/socket.h>
17852
17853 2005-11-27  Jan Schmidt  <thaytan@mad.scientist.com>
17854
17855         * check/Makefile.am:
17856         * check/elements/fdsrc.c: (event_func), (setup_fdsrc),
17857         (cleanup_fdsrc), (GST_START_TEST), (fdsrc_suite), (main):
17858           Add tests for fdsrc seekability
17859
17860         * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init),
17861         (gst_fdsrc_init), (gst_fdsrc_update_fd), (gst_fdsrc_start),
17862         (gst_fdsrc_set_property), (gst_fdsrc_is_seekable),
17863         (gst_fdsrc_get_size), (gst_fdsrc_uri_set_uri):
17864         * gst/elements/gstfdsrc.h:
17865           fdsrc should not be a 'live' source.
17866           Implement seeking on seekable fd's.
17867
17868         * gst/gstquery.c: (gst_query_new_seeking),
17869         (gst_query_parse_seeking):
17870         * gst/gstquery.h:
17871           Implement SEEKING query functions: 
17872             *_new_seeking and *_parse_seeking
17873
17874 2005-11-27  Stefan Kost  <ensonic@users.sf.net>
17875
17876         * gst/gstelement.c: (gst_element_dispose):
17877           don't loop forever
17878
17879         * gst/gstiterator.c:
17880         * gst/gststructure.c:
17881           doc fixes
17882
17883         * libs/gst/controller/gstcontroller.c:
17884         (gst_controlled_property_set_interpolation_mode):
17885         * libs/gst/controller/gstcontroller.h:
17886         * libs/gst/controller/gstinterpolation.c:
17887         (interpolate_none_get_enum_value_array):
17888           support controlling enums
17889
17890 2005-11-27  Tim-Philipp Müller  <tim at centricular dot net>
17891
17892         * gst/gstvalue.c:
17893           Improve documentation for gst_value_union().
17894
17895         * gst/gstvalue.h:
17896           Change return value for union, intersect and subtract functions
17897           from gint to gboolean.
17898
17899 2005-11-27  Tim-Philipp Müller  <tim at centricular dot net>
17900
17901         * gst/gstvalue.c: (gst_value_serialize_any_list),
17902         (gst_value_transform_any_list_string),
17903         (gst_value_deserialize_list), (gst_value_deserialize_array),
17904         (gst_value_set_int_range), (gst_value_deserialize_int_range),
17905         (gst_value_set_double_range), (gst_value_deserialize_double_range),
17906         (gst_value_set_fraction_range_full),
17907         (gst_value_deserialize_fraction_range),
17908         (gst_value_deserialize_caps), (gst_value_deserialize_buffer),
17909         (gst_value_deserialize_boolean),
17910         (gst_value_deserialize_int_helper), (gst_value_deserialize_double),
17911         (gst_value_serialize_float), (gst_value_deserialize_float),
17912         (gst_string_wrap), (gst_value_deserialize_string),
17913         (gst_value_deserialize_enum), (gst_value_deserialize_flags),
17914         (gst_value_union_int_range_int_range),
17915         (gst_value_intersect_int_range_int_range),
17916         (gst_value_intersect_double_range_double_range),
17917         (gst_value_create_new_range), (gst_value_subtract_int_range_int),
17918         (gst_value_subtract_int_range_int_range),
17919         (gst_value_subtract_double_double_range),
17920         (gst_value_subtract_double_range_double_range),
17921         (gst_value_deserialize_fraction):
17922         * gst/gstvalue.h:
17923           Use gint, gdouble and gchar in our API instead of int, double and
17924           char (and make usage in gstvalue.c more consistent).
17925
17926 2005-11-27  Thomas Vander Stichele  <thomas at apestaart dot org>
17927
17928         * check/Makefile.am:
17929         * libs/gst/controller/Makefile.am:
17930         * libs/gst/dataprotocol/Makefile.am:
17931           fix up Makefile.am and remove GST_ENABLE_NEW
17932
17933 2005-11-27  Thomas Vander Stichele  <thomas at apestaart dot org>
17934
17935         * configure.ac:
17936         * gst/Makefile.am:
17937         * gst/base/Makefile.am:
17938         * gst/check/Makefile.am:
17939         * gst/elements/Makefile.am:
17940         * gst/net/Makefile.am:
17941           update LDFLAGS use some more
17942
17943 2005-11-27  Thomas Vander Stichele  <thomas at apestaart dot org>
17944
17945         * common/m4/gst-doc.m4:
17946           Fixes #312589
17947
17948 2005-11-26  Edward Hervey  <edward@fluendo.com>
17949
17950         * gst/gstpluginfeature.c: (gst_plugin_feature_load):
17951         This shouldn't issue a g_warning since it returns NULL if it
17952         couldn't find the plugin, and all functions using this behave
17953         properly on a NULL return. Switching to a GST_WARNING.
17954
17955 2005-11-25  Jan Schmidt  <thaytan@mad.scientist.com>
17956
17957         * gst/gstbin.c: (gst_bin_handle_message_func):
17958         Don't leak clock messages.
17959
17960 2005-11-25  Wim Taymans  <wim@fluendo.com>
17961
17962         * gst/gstutils.c: (gst_util_uint64_scale_int64),
17963         (gst_util_uint64_scale_int):
17964         Optimisations, remove unneeded vars.
17965
17966 2005-11-25  Wim Taymans  <wim@fluendo.com>
17967
17968         * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
17969         Added more checks for the high precision uint64 cases.
17970
17971         * gst/gstutils.c: (gst_util_uint64_scale_int64),
17972         (gst_util_uint64_scale), (gst_util_uint64_scale_int):
17973         Implement high precision (guint64 * guint64) / guint64.
17974
17975 2005-11-24  Wim Taymans  <wim@fluendo.com>
17976
17977         * gst/base/gstbasesrc.c: (gst_base_src_query):
17978         Fix wrong percentage query.
17979
17980         * gst/gstutils.c: (gst_util_uint64_scale),
17981         (gst_util_uint64_scale_int):
17982         Add some more common cases that can be handled 
17983         efficiently to _scale.
17984
17985 2005-11-24  Thomas Vander Stichele  <thomas at apestaart dot org>
17986
17987         * check/gst/gstminiobject.c: (thread_ref), (GST_START_TEST),
17988         (gst_mini_object_suite):
17989           don't use check calls from threads; check probably isn't
17990           threadsafe and using a lock to make it threadsafe would
17991           defeat the purpose of this check
17992         * gst/check/gstcheck.c:
17993         * gst/check/gstcheck.h:
17994           use GST_DEBUG some more
17995
17996 2005-11-24  Wim Taymans  <wim@fluendo.com>
17997
17998         * gst/gstutils.c: (gst_util_uint64_scale),
17999         (gst_util_uint64_scale_int):
18000         Chain trivial case to _scale_int.
18001
18002 2005-11-24  Wim Taymans  <wim@fluendo.com>
18003
18004         * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
18005         Added test for scaling.
18006
18007         * gst/gstclock.h:
18008         Small doc fix.
18009
18010         * gst/gstutils.c: (gst_util_uint64_scale_int):
18011         Implemented high precision scaling code.
18012
18013 2005-11-24  Stefan Kost  <ensonic@users.sf.net>
18014
18015         * gst/gstinfo.h:
18016           do not crash on pad==NULL
18017
18018 2005-11-24  Thomas Vander Stichele  <thomas at apestaart dot org>
18019
18020         Patch by: Stefan Kost
18021
18022         * common/gtk-doc.mak:
18023         * docs/gst/Makefile.am:
18024         * docs/libs/Makefile.am:
18025           Fix distcheck issues for the libraries docs build
18026           Closes #319599.
18027
18028 2005-11-24  Michael Smith <msmith@fluendo.com>
18029
18030         * docs/manual/basics-helloworld.xml:
18031           Fix bug #315027: memory leak in example code in docs.
18032
18033 2005-11-24  Michael Smith <msmith@fluendo.com>
18034
18035         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
18036           Unlock the PREROLL_LOCK in a failure case.
18037
18038 2005-11-24  Wim Taymans  <wim@fluendo.com>
18039
18040         * docs/gst/gstreamer-sections.txt:
18041         * gst/base/gstadapter.h:
18042         * gst/base/gstbasesink.h:
18043         * gst/base/gstbasesrc.h:
18044         * gst/base/gstbasetransform.h:
18045         * gst/base/gstpushsrc.h:
18046         * gst/elements/gstfakesink.h:
18047         * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type):
18048         * gst/elements/gstfakesrc.h:
18049         * gst/elements/gstfilesink.h:
18050         * gst/elements/gstfilesrc.h:
18051         * gst/gst.c:
18052         * gst/gstbin.c:
18053         * gst/gstbuffer.c: (_gst_buffer_copy):
18054         * gst/gstbus.h:
18055         * gst/gstcaps.c:
18056         * gst/gstchildproxy.c:
18057         * gst/gstclock.c:
18058         * gst/gstelement.c:
18059         * gst/gstelementfactory.c:
18060         * gst/gstelementfactory.h:
18061         * gst/gstevent.c:
18062         * gst/gstghostpad.h:
18063         * gst/gstindex.h:
18064         * gst/gstinterface.h:
18065         * gst/gstminiobject.c:
18066         * gst/gstminiobject.h:
18067         * gst/gstpad.c:
18068         * gst/gstpad.h:
18069         * gst/gstpadtemplate.h:
18070         * gst/gstpipeline.h:
18071         * gst/gstpluginfeature.h:
18072         * gst/gstquery.h:
18073         * gst/gstqueue.h:
18074         * gst/gsttaglist.c:
18075         * gst/gsttaglist.h:
18076         * gst/gsttagsetter.c:
18077         * gst/gsttagsetter.h:
18078         * gst/gsttrace.c:
18079         * gst/gsttrace.h:
18080         * gst/gsttypefind.h:
18081         * gst/gsturi.h:
18082         * gst/gstvalue.c:
18083         * gst/net/gstnetclientclock.c:
18084         * gst/net/gstnetclientclock.h:
18085         * gst/net/gstnettimepacket.c:
18086         * gst/net/gstnettimeprovider.c:
18087         * gst/net/gstnettimeprovider.h:
18088         Doc fixes.
18089
18090 2005-11-23  Thomas Vander Stichele  <thomas at apestaart dot org>
18091
18092         * configure.ac: back to HEAD
18093
18094 === release 0.9.6 ===
18095
18096 2005-11-23  Thomas Vander Stichele <thomas at apestaart dot org>
18097
18098         * configure.ac:
18099           releasing 0.9.6, "Always On Time"
18100
18101 2005-11-23  Wim Taymans  <wim@fluendo.com>
18102
18103         * docs/gst/gstreamer-sections.txt:
18104         * gst/glib-compat.c:
18105         * gst/gsttagsetter.c:
18106         * gst/gstvalue.c:
18107         * gst/net/gstnetclientclock.c:
18108         * gst/net/gstnettimepacket.h:
18109         Doc updates.
18110
18111 2005-11-23  Thomas Vander Stichele  <thomas at apestaart dot org>
18112
18113         * docs/faq/using.xml:
18114         * docs/libs/tmpl/gstcontrol.sgml:
18115         * docs/manual/advanced-dparams.xml:
18116         * docs/manual/appendix-checklist.xml:
18117         * docs/manual/basics-elements.xml:
18118         * docs/pwg/other-source.xml:
18119         * docs/random/moving-plugins:
18120         * gst/gstpad.c:
18121         * tools/gst-launch.1.in:
18122           remove mentions of sinesrc
18123
18124 2005-11-23  Michael Smith <msmith@fluendo.com>
18125
18126         * docs/gst/gstreamer-sections.txt:
18127           Update for new API and API changes.
18128         * gst/gstobject.h:
18129           Documentation fix: GST_TRYLOCK -> GST_OBJECT_TRYLOCK
18130         * gst/gstvalue.c:
18131           Documentation typo fix.
18132         * gst/net/gstnettimepacket.c:
18133           Documentation fixes for arguments.
18134
18135 2005-11-23  Jan Schmidt  <thaytan@mad.scientist.com>
18136
18137         * gst/gststructure.c: (gst_structure_get_fraction),
18138         (gst_structure_parse_value),
18139         (gst_structure_fixate_field_nearest_fraction):
18140         * gst/gststructure.h:
18141         * gst/gstutils.c: (gst_util_uint64_scale_int):
18142         * gst/gstutils.h:
18143         * scripts/update-funcnames:
18144         API Changes. 
18145         Rename gst_util_clock_time_scale to gst_util_uint64_scale_int
18146         Make gst_structure_fixate_field_nearest_fraction take a numerator
18147         and denominator argument instead of a GValue
18148         add gst_structure_get_fraction helper function.
18149
18150 2005-11-23  Wim Taymans  <wim@fluendo.com>
18151
18152         * docs/design/part-TODO.txt:
18153         Update TODO.
18154
18155         * gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
18156         * gst/net/gstnetclientclock.h:
18157         Use parent fields for timeout and window_size.
18158
18159 2005-11-23  Andy Wingo  <wingo@pobox.com>
18160
18161         * check/net/gstnetclientclock.c (test_functioning): Adjust to
18162         rate_num/rate_denom change.
18163
18164         * gst/net/gstnetclientclock.c
18165         (gst_net_client_clock_observe_times): Take the SLAVE_LOCK not the
18166         OBJECT_LOCK. Don't call add_observation with the lock.
18167
18168         * gst/gstclock.c (gst_clock_init): Initialize the rate as a
18169         fraction.
18170         (gst_clock_adjust_unlocked): Adjust using uint64_scale and the
18171         rate fraction.
18172         (gst_clock_set_calibration, gst_clock_get_calibration): Change to
18173         deal with rate as a fraction whose numerator and denominator are
18174         GstClockTime values.
18175         (gst_clock_set_master): Only use the OBJECT_LOCK to set the
18176         master; the other fields are protected by the SLAVE_LOCK.
18177         (do_linear_regression): Note that this must be called with the
18178         SLAVE_LOCK.
18179         (gst_clock_add_observation): Take the SLAVE_LOCK, not the
18180         OBJECT_LOCK. Call set_calibration instead of touching the
18181         variables directly.
18182         (gst_clock_set_property, gst_clock_get_property): Protect
18183         master/slave parameters with the SLAVE_LOCK.
18184
18185         * gst/gstclock.h (GstClock): Remove rate, add rate_numerator and
18186         rate_denominator. PR3C1S3. Add a new lock, the SLAVE_LOCK, and
18187         note that all of the instance variables that add_observation and
18188         the set_master functions use are protected by that lock and not
18189         the OBJECT_LOCK.
18190         (GST_CLOCK_SLAVE_LOCK, GST_CLOCK_SLAVE_UNLOCK): New macros.
18191
18192         * gst/gstclock.c (gst_clock_add_observation): No longer requires
18193         the caller to take the object lock.
18194
18195 2005-11-23  Wim Taymans  <wim@fluendo.com>
18196
18197         * gst/gsterror.c: (_gst_core_errors_init):
18198         * gst/gsterror.h:
18199         Add error for clock stuff.
18200
18201         * gst/gstpipeline.c: (gst_pipeline_change_state),
18202         (gst_pipeline_set_clock):
18203         Post clock error when clock cannot be used in a pipeline.
18204
18205 2005-11-23  Stefan Kost  <ensonic@users.sf.net>
18206
18207         * docs/gst/gstreamer-sections.txt:
18208           make two symbols from gstinfo private for the docs
18209         * gst/base/gstcollectpads.h:
18210         * gst/gstutils.c:
18211           fix doc typos, update docs
18212
18213 2005-11-22  Wim Taymans  <wim@fluendo.com>
18214
18215         * gst/base/gstbasesink.c: (gst_base_sink_class_init),
18216         (gst_base_sink_wait), (gst_base_sink_do_sync),
18217         (gst_base_sink_handle_event):
18218         * gst/base/gstbasesink.h:
18219         No need to store the clock, the parent element class already
18220         has it.
18221
18222         * gst/gstbin.c: (gst_bin_set_clock_func), (gst_bin_add_func):
18223         Updates for clock_set returning a gboolean
18224
18225         * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_id_wait),
18226         (gst_clock_id_wait_async), (gst_clock_class_init),
18227         (gst_clock_init), (gst_clock_finalize),
18228         (gst_clock_get_internal_time), (gst_clock_get_time),
18229         (gst_clock_slave_callback), (gst_clock_set_master),
18230         (gst_clock_get_master), (do_linear_regression),
18231         (gst_clock_add_observation), (gst_clock_set_property),
18232         (gst_clock_get_property):
18233         * gst/gstclock.h:
18234         Implement master/slave. When setting a clock as a slave, a
18235         periodic timeout is scheduled to sample master and slave times.
18236         Then the slave clock is recalibrated to match offset and rate
18237         of the master clock.
18238         Update logging a bit.
18239         Add flag so that a clock can state that is cannot be slaved to
18240         another clock.
18241
18242         * gst/gstelement.c: (gst_element_set_clock):
18243         * gst/gstelement.h:
18244         The set clock returns a gboolean for when an element cannot
18245         deal with the selected clock in the pipeline. 
18246
18247         * gst/gstpipeline.c: (gst_pipeline_change_state),
18248         (gst_pipeline_set_clock):
18249         * gst/gstpipeline.h:
18250         Handle the case where the selected clock cannot be set on
18251         the pipeline.
18252
18253         * gst/net/gstnetclientclock.c: (gst_net_client_clock_class_init),
18254         (gst_net_client_clock_init), (gst_net_client_clock_finalize),
18255         (gst_net_client_clock_set_property),
18256         (gst_net_client_clock_get_property),
18257         (gst_net_client_clock_observe_times):
18258         * gst/net/gstnetclientclock.h:
18259         Use regression code in GstClock parent, remove duplicated
18260         functionality.
18261
18262 2005-11-22  Michael Smith <msmith@fluendo.com>
18263
18264         * gst/gstutils.c: (gst_util_clock_time_scale):
18265         * gst/gstutils.h:
18266         * docs/gst/gstreamer-sections.txt:
18267           Rename method to have extra underscore.
18268
18269 2005-11-22  Thomas Vander Stichele  <thomas at apestaart dot org>
18270
18271         * gst/elements/Makefile.am:
18272         * gst/elements/gstfakesink.c: (gst_fake_sink_state_error_get_type):
18273         * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
18274         (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type),
18275         (gst_fake_src_init), (gst_fake_src_prepare_buffer),
18276         (gst_fake_src_alloc_buffer), (gst_fake_src_get_size):
18277         * gst/elements/gstfakesrc.h:
18278         * gst/gstqueue.c: (queue_leaky_get_type):
18279           correctly fix GEnumValues so that nick is the short lowercase
18280           dashed tag
18281         * tools/gst-inspect.c: (print_element_properties_info):
18282           also show the nick, since it's useful to use from parse_launch
18283           syntax
18284           Fixes #322139
18285
18286 2005-11-22  Michael Smith <msmith@fluendo.com>
18287
18288         * gst/gstutils.c: (gst_util_clocktime_scale):
18289         * gst/gstutils.h:
18290         * docs/gst/gstreamer-sections.txt:
18291           Add util method for scaling a clocktime by a fraction. Useful 
18292           implementation is left as an exercise for the reader.
18293
18294 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
18295
18296         * gst/gstvalue.c: (gst_value_collect_fraction_range):
18297         If needed, allocate storage in the destination value during
18298         collection.
18299
18300 2005-11-22  Edward Hervey  <edward@fluendo.com>
18301
18302         * docs/gst/gstreamer-sections.txt:
18303         * gst/Makefile.am:
18304         * gst/gst.h:
18305         * gst/gsturitype.c:
18306         * gst/gsturitype.h:
18307         * gst/gstutils.c: (gst_util_set_object_arg):
18308         * tools/gst-compprep.c: (main):
18309         * tools/gst-inspect.c: (print_element_properties_info):
18310         Removed GstURI, closes bug #321061
18311
18312 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
18313
18314         * check/gst/gststructure.c: (GST_START_TEST):
18315         * gst/gststructure.c: (gst_structure_parse_value):
18316           Oops, broke automatic string type parsing.
18317           Add a test to catch it in future.
18318
18319 2005-11-22  Andy Wingo  <wingo@pobox.com>
18320
18321         * gst/gsttagsetter.c (gst_tag_setter_get_tag_merge_mode) 
18322         (gst_tag_setter_set_tag_merge_mode, gst_tag_setter_get_tag_list):
18323         Actually rename the function implementations. Grr.
18324
18325 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
18326
18327         * check/gst/capslist.h:
18328           Comment test cases
18329         * check/gst/gststructure.c: (GST_START_TEST),
18330         (gst_structure_suite):
18331           Test automatic value type detection in gst_structure_from_string.
18332         * gst/gststructure.c: (gst_structure_parse_value):
18333           Add fraction as a type we try and guess automatically in
18334           caps/structure strings.
18335
18336 2005-11-22  Andy Wingo  <wingo@pobox.com>
18337
18338         patch by: Torsten Schoenfeld <kaffeetisch gmx de>
18339
18340         * gst/gsttagsetter.h:
18341         * gst/gsttagsetter.c: (gst_tag_setter_merge_tags)
18342         (gst_tag_setter_add_tags, gst_tag_setter_add_tag_values)
18343         (gst_tag_setter_add_tag_valist)
18344         (gst_tag_setter_add_tag_valist_values): Renamed from _merge, _add,
18345         _add_values, _add_valist, and _add_valist_values. Since this is an
18346         interface the function suffixes should be more explicit so
18347         language binding don't end up with element.add_valist ->
18348         gst_tag_setter_add_valist, for example. Fixes #322069.
18349
18350 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
18351
18352         * check/gst/gstcaps.c: (GST_START_TEST):
18353           Extend caps string tests to check that a caps to string
18354           conversion is reversible and produces the same caps.
18355
18356         * gst/gststructure.c: (gst_structure_value_get_generic_type):
18357           Output "fraction" as the generic type fraction range, so caps
18358           serialisation and deserialisation works.
18359         * check/gst/capslist.h:
18360         * gst/gstvalue.c: (gst_value_deserialize_fraction):
18361           Support 'MIN' and 'MAX' for deserialising fractions.
18362
18363 2005-11-22  Andy Wingo  <wingo@pobox.com>
18364
18365         * gst/gstevent.h (gst_event_new_new_segment)
18366         (gst_event_parse_new_segment, gst_event_new_buffer_size)
18367         (gst_event_parse_buffer_size, gst_ghost_pad_new_no_target):
18368         Renamed from *_newsegment, *_buffersize, *_notarget.
18369
18370         * scripts/update-funcnames: New script, performs the changes
18371         listed above.
18372
18373 2005-11-22  Wim Taymans  <wim@fluendo.com>
18374
18375         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
18376         Make sure the GstFlowReturn is returned.
18377
18378         * gst/gstbus.c: (gst_bus_add_signal_watch_full),
18379         (gst_bus_add_signal_watch):
18380         * gst/gstbus.h:
18381         add gst_bus_add_signal_watch_full.
18382
18383         * gst/gstplugin.c: (gst_plugin_load_file):
18384         Small style cleanup.
18385
18386 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
18387
18388         * check/gst/gstevent.c: (test_event), (GST_START_TEST):
18389           Block the fakesrc srcpad when we send an event, to avoid
18390           contention on the stream_lock causing random test failures.
18391
18392 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
18393
18394         * check/gst/gstvalue.c: (GST_START_TEST):
18395         * gst/gstvalue.c: (gst_value_fraction_subtract):
18396           Fix subtraction.
18397
18398 2005-11-22  Stefan Kost  <ensonic@users.sf.net>
18399
18400         * gst/gst.h:
18401           include "gstchildproxy.h"
18402         * gst/gstchildproxy.h:
18403         * libs/gst/controller/gstcontroller.h:
18404           use G_GNUC_NULL_TERMINATED
18405
18406 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
18407
18408         * check/gst/capslist.h:
18409         * check/gst/gstcaps.c: (GST_START_TEST):
18410         * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
18411         * gst/gststructure.c: (gst_structure_parse_range),
18412         (gst_structure_fixate_field_nearest_fraction):
18413         * gst/gststructure.h:
18414         * gst/gstvalue.c: (gst_value_init_fraction_range),
18415         (gst_value_free_fraction_range), (gst_value_copy_fraction_range),
18416         (gst_value_collect_fraction_range),
18417         (gst_value_lcopy_fraction_range), (gst_value_set_fraction_range),
18418         (gst_value_set_fraction_range_full),
18419         (gst_value_get_fraction_range_min),
18420         (gst_value_get_fraction_range_max),
18421         (gst_value_serialize_fraction_range),
18422         (gst_value_transform_fraction_range_string),
18423         (gst_value_compare_fraction_range),
18424         (gst_value_deserialize_fraction_range),
18425         (gst_value_intersect_fraction_fraction_range),
18426         (gst_value_intersect_fraction_range_fraction_range),
18427         (gst_value_subtract_fraction_fraction_range),
18428         (gst_value_subtract_fraction_range_fraction),
18429         (gst_value_subtract_fraction_range_fraction_range),
18430         (gst_value_collect_fraction), (gst_value_fraction_multiply),
18431         (gst_value_fraction_subtract), (gst_value_deserialize_fraction),
18432         (gst_value_transform_string_fraction), (_gst_value_initialize):
18433         * gst/gstvalue.h:
18434           Implement fraction ranges and extend GstFraction to support
18435           arithmetic subtraction, as well as deserialization from integer
18436           strings such as "100"
18437           Add a testsuite as for int and double range set operations
18438
18439 2005-11-21  Andy Wingo  <wingo@pobox.com>
18440
18441         * gst/gsttaglist.h: 
18442         * gst/gstcaps.h: 
18443         * gst/gststructure.h: Add glib-compat.h.
18444
18445 2005-11-21  Wim Taymans  <wim@fluendo.com>
18446
18447         * gst/gstbin.c: (gst_bin_change_state_func):
18448         Fix for #321595
18449
18450 2005-11-21  Wim Taymans  <wim@fluendo.com>
18451
18452         * gst/gstsegment.h:
18453         And add a nice define too.
18454
18455 2005-11-21  Wim Taymans  <wim@fluendo.com>
18456
18457         * gst/gstsegment.c: (gst_segment_copy), (gst_segment_get_type),
18458         (gst_segment_new), (gst_segment_free), (gst_segment_init),
18459         (gst_segment_set_duration), (gst_segment_set_last_stop),
18460         (gst_segment_set_seek), (gst_segment_set_newsegment),
18461         (gst_segment_to_stream_time), (gst_segment_to_running_time),
18462         (gst_segment_clip):
18463         * gst/gstsegment.h:
18464         Make binding friendly.
18465
18466 2005-11-21  Andy Wingo  <wingo@pobox.com>
18467
18468         * gst/gsttagsetter.h: 
18469         * gst/gsttaglist.h: 
18470         * gst/gststructure.h: 
18471         * gst/gstcaps.h: 
18472         * gst/gstutils.h: Sprinkle NULL_TERMINATED to taste. Fixes
18473         #319940.
18474
18475         * gst/gsterror.c (_gst_core_errors_init):
18476         * gst/gsterror.h (GST_CORE_ERROR_MISSING_PLUGIN): New error
18477         category.
18478
18479         * gst/Makefile.am (gst_headers): Add glib-compat.h.
18480         (noinst_HEADERS): noinst the -private.
18481
18482 2005-11-21  Michael Smith <msmith@fluendo.com>
18483
18484         * gst/gstplugin.h:
18485         * gst/gstregistry.h:
18486           Remove unimplemented declarations for which we can see no sensible
18487           use.
18488
18489 2005-11-21  Andy Wingo  <wingo@pobox.com>
18490
18491         * gst/gst.h: Include glib-compat.h.
18492
18493         * gst/glib-compat.h: Add G_GNUC_NULL_TERMINATED.
18494
18495         * gst/glib-compat.c: Include the public and the private header.
18496
18497         * gst/glib-compat-private.h: Copied here from glib-compat.h.
18498
18499         * gst/gstvalue.c: 
18500         * gst/gstpad.c: 
18501         * gst/gstregistryxml.c: s/glib-compat/glib-compat-private/.
18502
18503         * check/gst/gstevent.c (create_custom_events): Check that
18504         FLUSH_STOP is serialized.
18505
18506         * check/elements/identity.c (event_func): 
18507         * check/elements/fakesrc.c (event_func): No stream lock, the core
18508         takes it.
18509
18510         * gst/base/gstbasetransform.c (gst_base_transform_event): No more
18511         stream lock taking, yay.
18512
18513         * gst/gstevent.h (GST_EVENT_FLUSH_STOP): Marked as serialized to
18514         ensure that core takes the stream lock.
18515
18516         * gst/base/gstbasesrc.c (gst_base_src_do_seek): Update for stream
18517         lock name change.
18518
18519         * gst/base/gstbasesink.c (gst_base_sink_event): No need to take
18520         the stream lock for EOS, NEWSEGMENT, or FLUSH_STOP, the core does
18521         it already. For the flush start we do take it though so we get the
18522         right preroll state change messages.
18523
18524         * gst/gstqueue.c (gst_queue_sink_activate_push): No need to take
18525         the stream lock here, the core does it for us.
18526
18527         * gst/gstpad.h (GST_PAD_GET_STREAM_LOCK): Renamed from
18528         GST_STREAM_GET_LOCK.
18529         (GST_PAD_STREAM_LOCK, GST_PAD_STREAM_TRYLOCK) 
18530         (GST_PAD_STREAM_UNLOCK, GST_PAD_STREAM_UNLOCK_FULL) 
18531         (GST_PAD_STREAM_LOCK_FULL): Renamed from GST_STREAM_*.
18532         (GST_PAD_GET_PREROLL_LOCK): Renamed from GST_PREROLL_GET_LOCK.
18533         (GST_PAD_PREROLL_LOCK, GST_PAD_PREROLL_TRYLOCK) 
18534         (GST_PAD_PREROLL_UNLOCK): Renamed from GST_PREROLL_*.
18535
18536         * gst/gstpad.c: Update for stream lock name change.
18537
18538         * gst/base/gstbasesink.c: Update for preroll lock name change.
18539
18540 2005-11-21  Wim Taymans  <wim@fluendo.com>
18541
18542         * gst/gstclock.c: (gst_clock_init), (gst_clock_set_master),
18543         (gst_clock_get_master):
18544         * gst/gstclock.h:
18545         * gst/gstsystemclock.c: (gst_system_clock_init):
18546         Convert Clock flags to object flags.
18547         Added methods to manage master/slave clocks.
18548
18549 2005-11-21  Wim Taymans  <wim@fluendo.com>
18550
18551         * check/gst/gstsegment.c: (GST_START_TEST):
18552         * docs/design/part-TODO.txt:
18553         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
18554         (gst_base_sink_event), (gst_base_sink_do_sync),
18555         (gst_base_sink_activate_pull), (gst_base_sink_get_position),
18556         (gst_base_sink_query), (gst_base_sink_change_state):
18557         * gst/base/gstbasesink.h:
18558         * gst/base/gstbasesrc.c: (gst_base_src_init), (gst_base_src_query),
18559         (gst_base_src_default_newsegment),
18560         (gst_base_src_configure_segment), (gst_base_src_do_seek),
18561         (gst_base_src_get_range), (gst_base_src_loop),
18562         (gst_base_src_change_state):
18563         * gst/base/gstbasesrc.h:
18564         * gst/base/gstbasetransform.c:
18565         (gst_base_transform_prepare_output_buf),
18566         (gst_base_transform_event), (gst_base_transform_change_state):
18567         * gst/base/gstbasetransform.h:
18568         * gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
18569         (gst_collect_pads_event):
18570         * gst/base/gstcollectpads.h:
18571         * gst/elements/gstfakesrc.c: (gst_fake_src_init),
18572         (gst_fake_src_create):
18573         * gst/elements/gstfakesrc.h:
18574         * gst/elements/gstidentity.c: (gst_identity_transform_ip):
18575         * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_duration),
18576         (gst_segment_set_last_stop), (gst_segment_set_seek),
18577         (gst_segment_set_newsegment), (gst_segment_to_stream_time),
18578         (gst_segment_to_running_time), (gst_segment_clip):
18579         * gst/gstsegment.h:
18580         More segment updates, replace code in plugins with segment
18581         helper functions.
18582
18583 2005-11-21  Jan Schmidt  <thaytan@mad.scientist.com>
18584
18585         * gst/elements/gstfdsrc.c: (gst_fdsrc_uri_set_uri):
18586         Don't ignore sscanf results
18587
18588 2005-11-21  Andy Wingo  <wingo@pobox.com>
18589
18590         * gst/gstpad.h (GST_IS_PAD_FAST): Removed.
18591
18592         * *.h:
18593         * *.c: Ran scripts/update-macros. Oh yes.
18594
18595         * gst/gstobject.h (GST_OBJECT_GET_LOCK, GST_OBJECT_LOCK)
18596         (GST_OBJECT_TRYLOCK, GST_OBJECT_UNLOCK): Renamed from
18597         GST_GET_LOCK, etc.
18598
18599         * scripts/update-macros: New script. Run it on your files to
18600         change GST_LOCK to GST_OBJECT_LOCK, and the same for UNLOCK as
18601         well.
18602
18603 2005-11-21  Stefan Kost  <ensonic@users.sf.net>
18604
18605         * docs/gst/Makefile.am:
18606         * docs/gst/gstreamer-docs.sgml:
18607         * docs/gst/gstreamer-sections.txt:
18608         * docs/gst/gstreamer.types:
18609         * gst/gstinfo.h:
18610           more docs fixes, add new api to the docs
18611
18612 2005-11-21  Andy Wingo  <wingo@pobox.com>
18613
18614         * gst/gstbin.c (gst_bin_remove_func): Wim claims I can remove this
18615         state_broadcast call.
18616
18617         * gst/gstsegment.c (gst_segment_init): Initialize abs_rate.
18618
18619 2005-11-21  Julien MOUTTE  <julien@moutte.net>
18620
18621         * gst/gstvalue.c: (gst_value_intersect_array): Fix wrong
18622         function calls for arrays.
18623
18624 2005-11-21  Stefan Kost  <ensonic@users.sf.net>
18625
18626         * docs/random/ensonic/media-device-daemon.txt:
18627           wild idea, can this be done?
18628         * docs/gst/gstreamer-sections.txt:
18629         * gst/gsterror.h:
18630         * gst/gstfilter.c:
18631         * gst/gstfilter.h:
18632         * gst/gstplugin.h:
18633         * gst/gstpluginfeature.c:
18634         * gst/gsttrace.c:
18635         * gst/gstvalue.c:
18636         * gst/gstvalue.h:
18637           doc fixes and additions
18638
18639 2005-11-21  Andy Wingo  <wingo@pobox.com>
18640
18641         * gst/base/gstbasesrc.c (GST_LIVE_BROADCAST, GST_LIVE_SIGNAL) 
18642         (GST_LIVE_TIMED_WAIT, GST_LIVE_WAIT, GST_LIVE_GET_COND) 
18643         (GST_LIVE_UNLOCK, GST_LIVE_TRYLOCK, GST_LIVE_LOCK) 
18644         (GST_LIVE_GET_LOCK): Moved here from gstbasesrc.h. They are
18645         private to the basesrc implementation.
18646
18647         * gst/gstpad.c (gst_pad_send_event): Doc more. Take stream lock on
18648         behalf of event function if necessary. It should no longer be
18649         necessary to take the stream lock in pad's event functions. Fixes
18650         #320299.
18651
18652 2005-11-21  Jan Schmidt  <thaytan@mad.scientist.com>
18653         * docs/gst/gstreamer-sections.txt:
18654         * gst/gststructure.c: (gst_structure_fixate_field_nearest_int),
18655         (gst_structure_fixate_field_nearest_double),
18656         (gst_structure_fixate_field_boolean):
18657         * gst/gststructure.h:
18658         * win32/common/libgstreamer.def:
18659         * win32/gstreamer.def:
18660
18661         Rename gst_caps_structure_fixate_* to gst_structure_fixate_*
18662         (#322027)
18663
18664 2005-11-21  Jan Schmidt  <thaytan@mad.scientist.com>
18665
18666         * gst/elements/gstfdsrc.c: (_do_init), (gst_fdsrc_class_init),
18667         (gst_fdsrc_init), (gst_fdsrc_dispose), (gst_fdsrc_set_property),
18668         (gst_fdsrc_uri_get_type), (gst_fdsrc_uri_get_protocols),
18669         (gst_fdsrc_uri_get_uri), (gst_fdsrc_uri_set_uri),
18670         (gst_fdsrc_uri_handler_init):
18671         * gst/elements/gstfdsrc.h:
18672           Port fd:// URI handler from 0.8 to fdsrc
18673
18674 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
18675
18676         * gst/gstvalue.c: (gst_value_transform_fourcc_string),
18677         (gst_value_serialize_fourcc):
18678         * gst/gstvalue.h:
18679           Drop leading '%' from GST_FOURCC_FORMAT, thus making it
18680           consistent with our other format defines (#320324).
18681
18682 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
18683
18684         * gst/gstvalue.c: (gst_value_is_fixed):
18685           Revert previous commit. Value lists are by definition
18686           not fixed, as they are a list of possible values.
18687
18688 2005-11-21  Andy Wingo  <wingo@pobox.com>
18689
18690         * gst/gstevent.h (GST_EVENT_FILLER): Removed. Can be added back
18691         during the stable series if we need it. Fixes #319178.
18692
18693         * gst/gstevent.c (gst_event_new_filler): Removed.
18694
18695         * check/gst/gstevent.c: Update comment about filler events.
18696
18697 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
18698
18699         * gst/gstvalue.c: (gst_value_is_fixed):
18700           Should handle both value arrays and value lists.
18701
18702 2005-11-21  Andy Wingo  <wingo@pobox.com>
18703
18704         patch by: Alessandro Dessina <alessandro nnva org>
18705
18706         * gst/gstvalue.c (gst_value_is_fixed): Use gst_value_array
18707         functions to access arrays. Fixes #321962.
18708
18709 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
18710
18711         * docs/gst/gstreamer.types:
18712           gst_collectpads_get_type => gst_collect_pads_get_type.
18713           
18714         * gst/base/gstbasetransform.c:
18715           Remove unused SIGNAL_HANDOFF enum.
18716
18717 2005-11-21  Andy Wingo  <wingo@pobox.com>
18718
18719         * gst/gstevent.h (GstEventTypeFlags): New data type, the flags of
18720         the event type (upstream, downstream, serialized). Renamed
18721         GST_EVDIR_* and GST_EVSER to GST_EVENT_TYPE_*.
18722         (GstEventType): Use GstEventTypeFlags. Rename CUSTOM_UP to
18723         CUSTOM_UPSTREAM, CUSTOM_DS to CUSTOM_DOWNSTREAM, etc.
18724
18725         * gst/gstevent.c: Update for new CUSTOM event names.
18726
18727         * check/gst/gstevent.c: Update check for new CUSTOM event names.
18728
18729         * gst/gstevent.h:
18730         * gst/gstevent.c (gst_event_type_get_flags): New function. Fixes
18731         bug #319392.
18732
18733 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
18734
18735         * docs/gst/gstreamer-sections.txt:
18736         * win32/common/libgstbase.def:
18737         * win32/libgstbase.def:
18738         * gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
18739         (gst_collect_pads_class_init), (gst_collect_pads_init),
18740         (gst_collect_pads_finalize), (gst_collect_pads_new),
18741         (gst_collect_pads_set_function), (gst_collect_pads_add_pad),
18742         (gst_collect_pads_remove_pad), (gst_collect_pads_is_active),
18743         (gst_collect_pads_collect), (gst_collect_pads_collect_range),
18744         (gst_collect_pads_start), (gst_collect_pads_stop),
18745         (gst_collect_pads_peek), (gst_collect_pads_pop),
18746         (gst_collect_pads_available), (gst_collect_pads_read),
18747         (gst_collect_pads_flush), (gst_collect_pads_event),
18748         (gst_collect_pads_chain):
18749         * gst/base/gstcollectpads.h:
18750           Rename gst_collecpads_foo() => gst_collect_pads_foo(). Document
18751           unimplemented functions as unimplemented. Add padding to
18752           GstCollectData. (#320766, #320423)
18753
18754 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
18755
18756         * gst/gstmessage.c:
18757           Improve docs for DURATION message (usage of duration parameter)
18758           (#320113)
18759
18760 2005-11-20  Wim Taymans  <wim@fluendo.com>
18761
18762         * check/Makefile.am:
18763         * check/gst/gstsegment.c: (GST_START_TEST), (gstevents_suite),
18764         (main):
18765         * gst/Makefile.am:
18766         * gst/gst.h:
18767         * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_duration),
18768         (gst_segment_set_seek), (gst_segment_set_newsegment),
18769         (gst_segment_to_stream_time), (gst_segment_to_running_time),
18770         (gst_segment_clip):
18771         * gst/gstsegment.h:
18772         Added segment helper structure and methods. Not fully implemented
18773         yet.
18774         Added segment check.
18775
18776 2005-11-20  Jan Schmidt  <thaytan@mad.scientist.com>
18777
18778         * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
18779           Add a deserialisation test for fractions
18780         * examples/metadata/read-metadata.c: (message_loop),
18781         (make_pipeline), (main):
18782           Fix up metadata reading sample.
18783         * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
18784           Debug format fix
18785         * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
18786           Don't try and fixate empty caps
18787         * gst/gst_private.h:
18788           Wrap in G_BEGIN_DECLS/G_END_DECLS
18789         * gst/gstvalue.c: (gst_value_collect_fraction),
18790         (gst_value_set_fraction), (gst_value_get_fraction_denominator),
18791         (gst_value_transform_string_fraction),
18792         (gst_value_compare_fraction):
18793           Add some extra guards to ensure that we don't end up 
18794           with an invalid denominator of 0 in a gstfraction and
18795           that fractions always get reduced.
18796
18797 2005-11-20  Wim Taymans  <wim@fluendo.com>
18798
18799         * docs/gst/gstreamer-sections.txt:
18800         * gst/gstbuffer.h:
18801         * gst/gstelement.c:
18802         * gst/gstformat.c:
18803         * gst/gstformat.h:
18804         * gst/gstindex.h:
18805         * gst/gstquery.c:
18806         * gst/gstquery.h:
18807         * gst/gstvalue.c:
18808         Doc fixes.
18809
18810 2005-11-20  Wim Taymans  <wim@fluendo.com>
18811
18812         * docs/design/part-TODO.txt:
18813         * gst/gstcaps.h:
18814         Make a proper enum of the flag.
18815
18816 2005-11-19  Wim Taymans  <wim@fluendo.com>
18817
18818         * docs/design/part-TODO.txt:
18819         * gst/gstformat.c: (_gst_format_initialize), (gst_format_get_name),
18820         (gst_format_to_quark), (gst_format_register):
18821         * gst/gstformat.h:
18822         * gst/gstquery.c: (_gst_query_initialize),
18823         (gst_query_type_get_name), (gst_query_type_to_quark),
18824         (gst_query_type_register):
18825         * gst/gstquery.h:
18826         Add type to quark and type to string conversions.
18827
18828 2005-11-19  Andy Wingo  <wingo@pobox.com>
18829
18830         * gst/gstbuffer.h (GST_BUFFER_FLAG_ORIGINAL): Removed. Fixes
18831         #320097.
18832
18833 2005-11-19  Wim Taymans  <wim@fluendo.com>
18834
18835         * docs/design/part-TODO.txt:
18836         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_provide_clock_func),
18837         (gst_bin_add_func), (gst_bin_remove_func), (bin_bus_handler),
18838         (gst_bin_handle_message_func):
18839         * gst/gstbin.h:
18840         Make message handling overridable.
18841
18842 2005-11-19  Andy Wingo  <wingo@pobox.com>
18843
18844         * gst/gstpad.h (GST_PAD_IS_USABLE): Removed. Fixes #321235.
18845
18846         * gst/gstclock.h:
18847         * gst/gstclock.c (GstClock, GstClockClass): Change resolution to
18848         be a GstClockTime.
18849         (gst_clock_set_resolution, gst_clock_get_resolution): Resolution
18850         is a GstClockTime. Fixes #321710.
18851
18852         * gst/gstclock.h (GstClock): Remove offset property. Add
18853         internal_calibration and external_calibration. Fix padding. Pad
18854         also by GstClockTime so we don't run into problems.
18855
18856         * gst/gstclock.c (gst_clock_set_rate_offset): Remove.
18857         (gst_clock_get_rate_offset): Remove.
18858         (gst_clock_set_time_adjust): Remove. Fixes #321712.
18859
18860         * gst/gstutils.h:
18861         * gst/gstutils.c (g_static_rec_cond_wait)
18862         (g_static_rec_cond_timed_wait): Removed, no longer needed.
18863
18864         * gst/gstbin.c: Remove terrible continue_state prototype.
18865
18866         * gst/gstelement.h (gst_element_continue_state): Make public.
18867
18868         * gst/gstelement.h:
18869         * gst/gstelement.c (gst_element_commit_state): Removed, replaced
18870         by continue_state. Fixes #319389.
18871
18872         * gst/gstindex.h (GstIndexFilter): Actually pass on the user_data.
18873         Really fixes #168438. However I don't see anywhere where the
18874         filter function is called... stupid GStreamer...
18875         
18876         * gst/gstindex.h (GstIndex): Add field for user_data_destroy. We
18877         don't have a dispose function, so it won't get called when the
18878         object is unreffed, but oh well!
18879
18880         * gst/gstindex.c (gst_index_set_filter_full): New API function,
18881         allows a destroy function to be set so user_data can be freed.
18882         Fixes #168438.
18883         (gst_index_set_filter): Call gst_index_set_filter_full.
18884
18885         * check/gst/gstvalue.c (test_string): Add test for bug #165650.
18886
18887         * gst/gstvalue.c (gst_string_wrap): Trying to serialize a NULL
18888         string should produce an error, given the lack of a way to
18889         represent NULL strings. Fixes #165650.
18890         
18891         * gst/gstvalue.h: 
18892         * gst/gstvalue.c (gst_value_array_append_value) 
18893         (gst_value_array_prepend_value, gst_value_array_get_size) 
18894         (gst_value_array_get_value): New API, copied from
18895         gst_value_list_*, only operates on arrays.
18896         (gst_value_list_append_value, gst_value_list_prepend_value) 
18897         (gst_value_list_concat, gst_value_list_get_size) 
18898         (gst_value_list_get_value): Only operate on lists. Fixes #156633.
18899
18900         * gst/gstvalue.c (gst_value_init_list_or_array): Renamed from
18901         init_list, because it works on both.
18902         (copy_garray_of_gstvalue): Renamed from gst_value_list_copy_array.
18903         (gst_value_copy_list_or_array): Renamed from copy_list.
18904         (gst_value_free_list_or_array): Renamed from free_list.
18905         (gst_value_collect_list_or_array): Renamed from collect_list.
18906         (gst_value_lcopy_list_or_array): Renamed from lcopy_list.
18907         (gst_value_list_or_array_peek_pointer): Renamed from
18908         list_peek_pointer.
18909         (_gst_value_array_value_table, _gst_value_list_value_table):
18910         Update value table functions.
18911         (gst_value_compare_list_or_array): Renamed from compare_list.
18912
18913         * gsttaglist.h: Whoops, foreach function returns void. Also fix
18914         some constness.
18915
18916         * gst/gsttaglist.c:
18917         * gst/gsttaglist.h (gst_tag_list_foreach): Operates on a const
18918         GstTagList*. Fixes #143472.
18919
18920         * gst/gststructure.h: Clarify what the foreach/map functions can
18921         or can't do to their arguments.
18922
18923 2005-11-18  Wim Taymans  <wim@fluendo.com>
18924
18925         * gst/gstclock.c: (gst_clock_set_calibration),
18926         (gst_clock_get_calibration):
18927         Doc and API fixes.
18928         Calibration can be set with internal time equal to current
18929         internal time too.
18930
18931 2005-11-18  Thomas Vander Stichele  <thomas at apestaart dot org>
18932
18933         * gst/gsterror.c:
18934         * gst/gsterror.h:
18935           document
18936
18937 2005-11-18  Andy Wingo  <wingo@pobox.com>
18938
18939         * configure.ac: 
18940         * pkgconfig/gstreamer-net.pc.in:
18941         * pkgconfig/gstreamer-net-uninstalled.pc.in:
18942         * pkgconfig/Makefile.am: Add net pkgconfig files.
18943
18944 2005-11-18  Stefan Kost  <ensonic@users.sf.net>
18945
18946         * gst/gstcaps.c:
18947         * gst/gstghostpad.c:
18948         * gst/gsttrace.c:
18949         * gst/gstvalue.c:
18950         * gst/gstvalue.h:
18951           docs fixes
18952
18953 2005-11-18  Andy Wingo  <wingo@pobox.com>
18954
18955         * gst/net/gstnetclientclock.c: Turn off debugging.
18956
18957         * check/net/gstnetclientclock.c (test_functioning): Assert that the
18958         times connverge somewhat. Can't make a real test.
18959
18960         * gst/net/gstnetclientclock.c (do_linear_regression): Use all
18961         integer arithmetic. Return the minimum of the domain, which can be
18962         set as "internal" for gst_clock_set_calibration.
18963         (gst_net_client_clock_observe_times): Call _set_calibration.
18964         (gst_net_client_clock_new): Call _set_calibration instead of
18965         rate_offset.
18966
18967         * check/net/gstnetclientclock.c (test_functioning): Use the right
18968         adjustment api.
18969
18970         * gst/gstclock.h:
18971         * gst/gstclock.c (gst_clock_get_calibration) 
18972         (gst_clock_set_calibration): New functions, obsolete the ones I
18973         added yesterday. Doh. Precision issues mean we have to extrapolate
18974         from a point in the more recent past than 1970.
18975         (gst_clock_get_rate_offset, gst_clock_set_rate_offset): Mark as
18976         obsolete.
18977         (gst_clock_adjust_unlocked): Use the right calibration data.
18978
18979 2005-11-18  Edward Hervey  <edward@fluendo.com>
18980
18981         * gst/base/gstbasesink.c: (gst_base_sink_change_state): 
18982         Also reset the ->current_* values in READY->PAUSED
18983
18984 2005-11-18  Andy Wingo  <wingo@pobox.com>
18985
18986         * gst/net/gstnetclientclock.c (gst_net_client_clock_thread):
18987         Whoops, check the right fd. Also add some debugging.
18988         (gst_net_client_clock_observe_times): Adjust for int64 offset.
18989         (do_linear_regression): Add a crapload of debugging. Subtract off
18990         the minimum values from the input series to discard unneeded bits.
18991         Use only int arithmetic. There is still double arithmetic when
18992         calculating the intercept that needs fixing. Return boolean to
18993         indicate success; FALSE would mean the domain or range is too
18994         great. Still needs fixes.
18995
18996 2005-11-18  Wim Taymans  <wim@fluendo.com>
18997
18998         * gst/base/gstbasesink.c: (gst_base_sink_get_position):
18999         For the current position in stream time, we need to subtract
19000         accumulated time.
19001         
19002         * gst/gstsystemclock.c: (gst_system_clock_async_thread):
19003         Release lock before calling the callback function of async
19004         entries.
19005
19006 2005-11-18  Andy Wingo  <wingo@pobox.com>
19007
19008         * gst/net/gstnetclientclock.c (gst_net_client_clock_class_init):
19009         Port goes all the way to MAXUINT16.
19010
19011         * gst/net/gstnettimeprovider.c: Make the port range the same as
19012         for the kernel: 0 assigns, otherwise ports are less than
19013         MAXUINT16.
19014
19015         * check/net/gstnettimeprovider.c: Adapt for 0 == kernel assigns
19016         port change.
19017
19018         * check/net/gstnetclientclock.c (test_functioning): Add the start
19019         of another test. 
19020
19021 2005-11-18  Wim Taymans  <wim@fluendo.com>
19022
19023         * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
19024         (gst_bin_remove_func), (bin_bus_handler):
19025         * gst/gstbin.h:
19026         Removing a clock provider from a bin, triggers a clock lost message
19027         so that a new clock will be selected.
19028         Adding a clock to a bin triggers a clock provider message.
19029         Make sure we reselect a clock when we received a clock lost message.
19030         Keep a reference to the element that provided the clock.
19031
19032 2005-11-18  Andy Wingo  <wingo@pobox.com>
19033
19034         * gst/net/gstnetclientclock.c (gst_net_client_clock_new): Adjust
19035         the clock initially so it produces values around the base time.
19036         (gst_net_client_clock_class_init): Typo fix.
19037         (gst_net_client_clock_thread): Add note on when the socket gets
19038         closed.
19039
19040 2005-11-17  Wim Taymans  <wim@fluendo.com>
19041
19042         * gst/net/gstnetclientclock.c: (gst_net_client_clock_finalize):
19043         Free remote and local time arrays.
19044
19045 2005-11-17  Wim Taymans  <wim@fluendo.com>
19046
19047         * gst/net/gstnetclientclock.c: (do_linear_regression),
19048         (gst_net_client_clock_do_select), (gst_net_client_clock_thread):
19049         Fix compilation, uninitialized vars and a forgotten continue.
19050
19051 2005-11-17  Andy Wingo  <wingo@pobox.com>
19052
19053         * check/Makefile.am (check_PROGRAMS): 
19054         * check/net/gstnetclientclock.c: Add a most minimal test for the
19055         net client clock. More to come later.
19056
19057         * gst/net/gstnet.h: 
19058         * gst/net/Makefile.am: Add netclientclock.
19059
19060         * gst/net/gstnetclientclock.h:
19061         * gst/net/gstnetclientclock.c: New files, implement an untested
19062         GstClock that takes its time from a network time provider.
19063         Implements the algorithm in network-clock.scm.
19064
19065         * tests/network-clock.scm (*window-size*): Rename from
19066         *queue-length*.
19067         * tests/network-clock.scm (network-time): 
19068         * tests/network-clock-utils.scm (q-push): Update callers.
19069
19070 2005-11-17  Wim Taymans  <wim@fluendo.com>
19071
19072         * gst/gstbin.c: (gst_bin_provide_clock_func),
19073         (gst_bin_sort_iterator_new):
19074         And unref the child too..
19075
19076 2005-11-17  Wim Taymans  <wim@fluendo.com>
19077
19078         * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
19079         (gst_bin_sort_iterator_new), (gst_bin_iterate_sorted):
19080         Refactor the sort iterator so it can be used while holding the
19081         LOCK too.
19082         Make clock selection select a clock closest to the source.
19083
19084 2005-11-17  Michael Smith <msmith@fluendo.com>
19085
19086         * gst/gstclock.c: (gst_clock_init), (gst_clock_adjust_unlocked),
19087         (gst_clock_set_rate_offset), (gst_clock_get_rate_offset):
19088         * gst/gstclock.h:
19089           Anonymous structs are a gcc (and some other compilers) extension, so
19090           don't use them. Since this is only for ABI-compatibility, and our
19091           API/ABI freeze is over in a few days, this whole thing will only
19092           last a few days, so don't bother trying to think up a meaningful
19093           name for the struct.
19094
19095 2005-11-17  Andy Wingo  <wingo@pobox.com>
19096
19097         * gst/gstclock.h (GstClock): Add rate and offset properties,
19098         preserving ABI stability. Add rate/offset accessors. Will file bug
19099         for the freeze break.
19100
19101         * gst/gstclock.c (gst_clock_adjust_unlocked): Implement using rate
19102         and offset, trying to keep precision and avoiding
19103         underflow/overflow.
19104         (gst_clock_set_rate_offset, gst_clock_get_rate_offset): New
19105         functions. Make gst_clock_set_time_adjust obsolete.
19106         (gst_clock_set_time_adjust): Note that this function is obsolete.
19107         Will file bug soon.
19108
19109         * gst/base/gstbasetransform.h: Make the ABI-stability hack
19110         greppable by using GST_PADDING-1+1.
19111
19112 2005-11-17  Torsten Schoenfeld  <kaffeetisch at gmx dot net>
19113
19114         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
19115
19116         * gst/gstmessage.c: (gst_message_parse_clock_lost):
19117           Assertion should check for CLOCK_LOST, not NEW_CLOCK (#321648).
19118
19119         * gst/gstpadtemplate.h:
19120         * gst/gstpluginfeature.h:
19121           Don't use c++ style comments in headers (#321638).
19122
19123 2005-11-16  Andy Wingo  <wingo@pobox.com>
19124
19125         * gst/net/gstnettimepacket.c (gst_net_time_packet_send): Free
19126         buffer.
19127
19128         * check/net/gstnettimeprovider.c: Check to see that the time
19129         provider actually provides times. Works, yo!
19130
19131 2005-11-16  Wim Taymans  <wim@fluendo.com>
19132
19133         * check/Makefile.am:
19134         Enable more tests.
19135
19136         * check/elements/fakesrc.c: (GST_START_TEST):
19137         Set element to NULL before disposing it.
19138
19139 2005-11-16  Andy Wingo  <wingo@pobox.com>
19140
19141         * gst/net/Makefile.am:
19142         * gst/net/gstnet.h:
19143         * gst/net/gstnettimeprovider.c: 
19144         * gst/net/gstnettimeprovider.h: Use the timepacket stuff in the
19145         provider, include it from gstnet.h, and add it to the build.
19146
19147         * gst/net/gstnettimepacket.h: 
19148         * gst/net/gstnettimepacket.c: New files, abstracts out the packet
19149         sending and receiving.
19150
19151 2005-11-16  Wim Taymans  <wim@fluendo.com>
19152
19153         * check/Makefile.am:
19154         Enable valgrind check.
19155
19156         * gst/elements/gstfakesrc.c: (gst_fake_src_alloc_parent),
19157         (gst_fake_src_alloc_buffer):
19158         Fix memleak.
19159
19160 2005-11-16  Wim Taymans  <wim@fluendo.com>
19161
19162         * gst/net/gstnettimeprovider.c: (gst_net_time_provider_finalize):
19163         Call parent finalize too.
19164
19165 2005-11-16  Wim Taymans  <wim@fluendo.com>
19166
19167         * check/Makefile.am:
19168         Enable valgrind check that should work fine now.
19169
19170         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
19171         * gst/gstqueue.c: (gst_queue_init):
19172         Fix memleaks in pad allocation.
19173
19174 2005-11-16  Andy Wingo  <wingo@pobox.com>
19175
19176         * gst/net/Makefile.am:
19177         * gst/net/gstnet.h: New part of core to hold network elements and
19178         objects. Put in core because it exposes API that applications want
19179         to use. The library is named libgstnet-tempname right now because
19180         of the existing libgstnet in gst-plugins-base. Solution is
19181         probably to rename the one in plugins-base; will file a bug for
19182         the freeze break.
19183
19184         * gst/net/gstnettimeprovider.c: 
19185         * gst/net/gstnettimeprovider.h: New object to export a GstClock's
19186         get_time call over the network.
19187
19188         * configure.ac: 
19189         * gst/Makefile.am (lib_LTLIBRARIES): Add gstnet to the build.
19190
19191         * check/Makefile.am:
19192         * check/net/gstnettimeprovider.c: A most minimal test suite. Will
19193         get additions shortly.
19194
19195 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
19196
19197         * gst/gstpad.c: (gst_pad_new_from_static_template):
19198         * gst/gstpad.h:
19199           add gst_pad_new_from_static_template functions
19200         * gst/check/gstcheck.c: (gst_check_setup_src_pad),
19201         (gst_check_setup_sink_pad):
19202         * gst/elements/gsttee.c: (gst_tee_init):
19203           and use them
19204
19205 2005-11-16  Wim Taymans  <wim@fluendo.com>
19206
19207         * gst/gstpad.c: (gst_pad_pause_task):
19208         Removed warning, it's not really an error either.
19209
19210 2005-11-16  Wim Taymans  <wim@fluendo.com>
19211
19212         * gst/base/gstbasetransform.c:
19213         (gst_base_transform_prepare_output_buf),
19214         (gst_base_transform_event):
19215         Check if the caps are NULL, this can happen if the element
19216         is shutting down and the pad caps are set to NULL.
19217
19218 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
19219
19220         * gst/elements/gsttee.c: (gst_tee_init):
19221           fix pad template leak in tee
19222
19223 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
19224
19225         * gst/glib-compat.c: (g_value_dup_gst_object):
19226         * gst/glib-compat.h:
19227         * gst/gstpad.c: (gst_pad_set_property):
19228           use gst_object_ref when setting the pad template; this will
19229           trigger the pad template leaks on GLib 2.6 and the slaves
19230
19231 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
19232
19233         * gst/glib-compat.c: (gst_flags_get_first_value):
19234         * gst/glib-compat.h:
19235         * gst/gstregistryxml.c:
19236           remove functions copied from GLib 2.6
19237
19238 2005-11-16  Michael Smith <msmith@fluendo.com>
19239
19240         * gst/Makefile.am:
19241           Don't link against VALGRIND_LIBS. That was always the wrong thing to
19242           do, but only breaks with newer valgrind versions. We're not a
19243           valgrind tool, we have no link-time dependencies on libcoregrind.
19244
19245 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
19246
19247         * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
19248           some debug changes
19249         * gst/gstmessage.h:
19250           typo fixes
19251
19252 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
19253
19254         * gst/base/gstbasesrc.c: (gst_base_src_init):
19255         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
19256         * gst/gstqueue.c: (gst_queue_init):
19257         * gst/gstregistryxml.c: (load_feature):
19258           Revert all these unrefs, they don't even pass make check !
19259
19260 2005-11-15  Johan Dahlin  <johan@gnome.org>
19261
19262         * gst/base/gstbasesrc.c: (gst_base_src_init):
19263         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
19264         * gst/gstqueue.c: (gst_queue_init): 
19265         Free pad templates, fixes a couple of leaks.
19266
19267 2005-11-15  Daniel Fischer  <dan at f3c dot com>
19268
19269         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
19270
19271         * gst/gstpad.c: (gst_pad_get_property):
19272           GST_PAD_PAD_TEMPLATE(pad) gets the pad template, while
19273           GST_PAD_TEMPLATE(pad) does a cast. We want the former here.
19274           (#321452)
19275
19276 2005-11-15  Wim Taymans  <wim@fluendo.com>
19277
19278         * gst/gstevent.c:
19279         Small doc update.
19280
19281 2005-11-15  Andy Wingo  <wingo@pobox.com>
19282
19283         * gst/gstelement.c (gst_element_set_base_time): Add debugging.
19284
19285         * gst/gstpipeline.c (gst_pipeline_set_new_stream_time): Document
19286         using GST_CLOCK_TIME_NONE to disable base time management.
19287         (do_pipeline_seek, gst_pipeline_change_state): Don't reset stream
19288         time if it was NONE before.
19289         (gst_pipeline_change_state): Only munge the base time if
19290         stream_time != GST_CLOCK_TIME_NONE.
19291
19292         * check/gst/gstpipeline.c (test_base_time): Punt around the
19293         problem of the probe not being called, because that's not the
19294         issue I'm looking at. Add a check that setting stream_time to NONE
19295         disables base time management.
19296         
19297 2005-11-15  Wim Taymans  <wim@fluendo.com>
19298
19299         * gst/base/gstbasesink.c: (gst_base_sink_change_state):
19300         segment_stop == -1 at startup.
19301
19302         * gst/base/gstbasetransform.c: (gst_base_transform_event),
19303         (gst_base_transform_change_state):
19304         Init segment values at start.
19305
19306 2005-11-15  Wim Taymans  <wim@fluendo.com>
19307
19308         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
19309         0 segment values are 0 in any format.
19310
19311         * gst/base/gstbasetransform.c: (gst_base_transform_event):
19312         * gst/base/gstbasetransform.h:
19313         Parse newsegment correctly in basetransform
19314
19315         * gst/elements/gstidentity.c: (gst_identity_transform_ip):
19316         Sync to clock using updated segment values.
19317
19318 2005-11-15  Andy Wingo  <wingo@pobox.com>
19319
19320         * check/gst/gstpipeline.c (test_base_time): Add check that the
19321         base time and stream time are reset correctly.
19322
19323 2005-11-15  Wim Taymans  <wim@fluendo.com>
19324
19325         * docs/design/part-TODO.txt:
19326         Some more TODO items.
19327
19328 2005-11-15  Andy Wingo  <wingo@pobox.com>
19329
19330         * gst/elements/gstfakesrc.c (gst_fake_src_create): It's not an
19331         error if the user selected "no clock" as the clocking method.
19332
19333         * check/gst/gstpipeline.c (test_base_time): New test for buffer
19334         timestamps with live capture.
19335
19336         * gst/elements/gstfakesrc.c (gst_fake_src_create): If the datarate
19337         is 0 but we are a live source, timestamp the buffers using the
19338         element's clock.
19339
19340 2005-11-14  Stefan Kost  <ensonic@users.sf.net>
19341
19342         * docs/gst/gstreamer-sections.txt:
19343         * gst/gsterror.c:
19344         * gst/gstghostpad.c:
19345         * gst/gstobject.h:
19346         * gst/gstxml.c:
19347           more section docs
19348
19349 2005-11-14  Wim Taymans  <wim@fluendo.com>
19350
19351         * common/gst.supp:
19352           add suppressions from Wim's Debian machine
19353
19354 2005-11-14  Thomas Vander Stichele  <thomas at apestaart dot org>
19355
19356         * common/gst.supp:
19357           add suppressions from Andy's AMD64 Ubuntu machine
19358
19359 2005-11-14  Andy Wingo  <wingo@pobox.com>
19360
19361         * gst/gstpad.c (gst_pad_set_active): Change docs; parent's
19362         STATE_LOCK not necessary. Fixes #311489.
19363
19364         * gst/gsterror.c (FILE_A_BUG): Be polite *and* helpful. Fixes
19365         #305291.
19366
19367         * gst/gstindex.c (gst_index_add_object): Note in the docs that
19368         this function is not implemented.
19369
19370 2005-11-14  Julien MOUTTE  <julien@moutte.net>
19371
19372         * gst/base/gstbasetransform.c:
19373         (gst_base_transform_prepare_output_buf):
19374         Ref the source pad caps while we need them.
19375         Fixes (#321386)
19376
19377 2005-11-11  Wim Taymans  <wim@fluendo.com>
19378
19379         * docs/gst/gstreamer-sections.txt:
19380         Added some docs for GstCollectData.
19381
19382         * gst/base/gstadapter.c:
19383         Some small code example fix.
19384
19385         * gst/base/gstcollectpads.c:
19386         * gst/base/gstcollectpads.h:
19387         Document some more.
19388
19389 2005-11-11  Thomas Vander Stichele  <thomas at apestaart dot org>
19390
19391         * configure.ac: back to HEAD
19392
19393 === release 0.9.5 ===
19394
19395 2005-11-11  Thomas Vander Stichele <thomas at apestaart dot org>
19396
19397         * configure.ac:
19398           releasing 0.9.5, "Bike Lunch Day"
19399
19400 2005-11-11  Wim Taymans  <wim@fluendo.com>
19401
19402         * gst/gstbuffer.c: (_gst_buffer_copy):
19403         Copy more flags.
19404
19405         * gst/gstcaps.c: (gst_caps_is_equal):
19406         Fix some docs.
19407         Make _is_equal fast in the trivial cases.
19408
19409         * gst/gstminiobject.c:
19410         * gst/gstminiobject.h:
19411         More docs. Spifify .h file.
19412
19413         * gst/gstutils.c:
19414         Small doc update.
19415
19416 2005-11-11  Wim Taymans  <wim@fluendo.com>
19417
19418         * gst/base/gstbasetransform.c:
19419         (gst_base_transform_prepare_output_buf),
19420         (gst_base_transform_handle_buffer):
19421         Small cleanups.
19422         If we're processing a buffer and need to allocate an output
19423         buffer, we cannot accept a format change. If we did get a 
19424         format change, we have to alloc a buffer ourselves of the 
19425         right size.
19426
19427 2005-11-11  Wim Taymans  <wim@fluendo.com>
19428
19429         * gst/gstpad.c: (gst_pad_get_caps), (gst_pad_peer_get_caps):
19430         While checking the flag for reentrancy in the gstcaps function
19431         is nice to detect recursive invocations, it also makes it 
19432         impossible to call getcaps from multiple threads, which must be
19433         possible. So, checking for recursive calls has to go.
19434
19435 2005-11-11  Michael Smith <msmith@fluendo.com>
19436
19437         * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
19438           Don't sync on buffers that fall partially outside our current
19439           segment. Prevents an assertion failure/abort playing some files.
19440
19441 2005-11-10  Andy Wingo  <wingo@pobox.com>
19442
19443         * check/gst/gstbin.c (test_message_state_changed_children): Style
19444         fix..
19445
19446         * gst/gstbus.c (poll_destroy, poll_func, gst_bus_poll): Implement
19447         gst_bus_poll with the signal watch. Ensures that poll and a signal
19448         watch see the same messages.
19449
19450         * check/gst/gstbus.c (test_watch_with_poll): New test, checks that
19451         a poll and a watch at the same time get the same messages.
19452
19453 2005-11-10  Thomas Vander Stichele  <thomas at apestaart dot org>
19454
19455         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps):
19456         * gst/gstcaps.c: (gst_caps_intersect):
19457           Don't call gst_caps_do_simplify - it doesn't respect order of caps
19458           and it's not needed.
19459
19460 2005-11-10  Wim Taymans  <wim@fluendo.com>
19461
19462         * docs/design/part-TODO.txt:
19463         Updated todo.
19464
19465 2005-11-10  Wim Taymans  <wim@fluendo.com>
19466
19467         * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
19468         * gst/base/gstbasesrc.c: (gst_base_src_wait),
19469         (gst_base_src_do_sync), (gst_base_src_get_range):
19470         Implement clock sync in base class.
19471
19472 2005-11-10  Thomas Vander Stichele  <thomas at apestaart dot org>
19473
19474         patch by: Tim-Philipp Müller <tim at centricular dot net>
19475
19476         * gst/gststructure.c: (gst_structure_parse_field),
19477         (gst_structure_from_string):
19478           Forward-port a 0.8 patch to handle escaped spaces in structure string,
19479           so that gst_parse_launch() can deal with spaces in filtered link
19480           caps (fixes #164479)
19481         * check/gst/capslist.h:
19482         * check/gst/gststructure.c: (GST_START_TEST):
19483           add unit tests for this change
19484
19485 2005-11-10  Wim Taymans  <wim@fluendo.com>
19486
19487         * docs/gst/gstreamer-sections.txt:
19488         * gst/gstelement.c:
19489         * gst/gstelement.h:
19490         Fix docs, move some STATE macros to private.
19491
19492 2005-11-10  Wim Taymans  <wim@fluendo.com>
19493
19494         * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
19495         Added check for bug #317341
19496
19497         * gst/gstbuffer.c:
19498         * gst/gstbuffer.h:
19499         Some more spiffifying.
19500
19501         * gst/gstghostpad.c: (gst_ghost_pad_do_link):
19502         Call peer linkfunction if we are a source pad. Totally fixes
19503         #317341
19504
19505         * gst/gstpad.c:
19506         Update docs, source pads should call the peer linkfunction
19507         so they can atomically perform the pad link.
19508
19509 2005-11-09  Wim Taymans  <wim@fluendo.com>
19510
19511         * gst/gstbuffer.c:
19512         * gst/gstbuffer.h:
19513         Uber-spiffy-spiffify some more.
19514
19515 2005-11-09  Tim-Philipp Müller  <tim at centricular dot net>
19516
19517         * gst/base/gstcollectpads.c: (gst_collectpads_add_pad):
19518         * gst/elements/gstfilesink.c: (gst_file_sink_init):
19519         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
19520         * gst/gstghostpad.c: (gst_ghost_pad_set_internal),
19521         (gst_ghost_pad_init), (gst_ghost_pad_new_notarget):
19522         * gst/gstpad.c: (gst_pad_init):
19523           Use GST_DEBUG_FUNCPTR() more extensively.
19524
19525 2005-11-09  Wim Taymans  <wim@fluendo.com>
19526
19527         * gst/gstobject.c: (gst_object_class_init):
19528         * gst/gstobject.h:
19529         Documentation fixes.
19530
19531 2005-11-09  Edward Hervey  <edward@fluendo.com>
19532
19533         * gst/gsttypefindfactory.c:
19534         Fix docs.
19535         
19536 2005-11-09  Edward Hervey  <edward@fluendo.com>
19537
19538         * gst/base/gsttypefindhelper.c:
19539         * gst/gsttypefind.c:
19540         * gst/gsttypefind.h:
19541         Fix docs.
19542
19543 2005-11-09  Wim Taymans  <wim@fluendo.com>
19544
19545         * gst/gstiterator.c:
19546         Fix revision data.
19547
19548         * gst/gsttask.c:
19549         * gst/gsttask.h:
19550         Fix docs.
19551
19552 2005-11-09  Wim Taymans  <wim@fluendo.com>
19553
19554         * gst/gstevent.h:
19555         * gst/gsturi.h:
19556         Fix docs.
19557
19558 2005-11-09  Wim Taymans  <wim@fluendo.com>
19559
19560         * docs/gst/gstreamer-sections.txt:
19561         Moved the message async delivery private lock and cond
19562         to the private section.
19563
19564         * gst/gstmessage.c:
19565         * gst/gstmessage.h:
19566         Fixed docs.
19567
19568 2005-11-09  Edward Hervey  <edward@fluendo.com>
19569
19570         * docs/gst/gstreamer-sections.txt:
19571         * gst/gsturi.c:
19572         * gst/gsturi.h:
19573         Document GstURIHandler
19574
19575 2005-11-09  Wim Taymans  <wim@fluendo.com>
19576
19577         * gst/gstiterator.c: (gst_iterator_fold), (gst_iterator_foreach),
19578         (gst_iterator_find_custom):
19579         * gst/gstiterator.h:
19580         Fix iterator docs.
19581
19582 2005-11-09  Wim Taymans  <wim@fluendo.com>
19583
19584         * gst/gstbin.h:
19585         Document another field.
19586
19587         * gst/gststructure.c:
19588         * gst/gststructure.h:
19589         Document.
19590
19591 2005-11-09  Wim Taymans  <wim@fluendo.com>
19592
19593         * gst/gstbin.h:
19594         Documented structs.
19595
19596 2005-11-09  Wim Taymans  <wim@fluendo.com>
19597
19598         * docs/gst/gstreamer-sections.txt:
19599         Added some new macros.
19600
19601         * gst/gstclock.c:
19602         * gst/gstclock.h:
19603         * gst/gstobject.h:
19604         Docs updates.
19605
19606 2005-11-09  Wim Taymans  <wim@fluendo.com>
19607
19608         * docs/design/part-TODO.txt:
19609         Some more items for the TODO
19610
19611         * gst/gstcaps.c:
19612         * gst/gstcaps.h:
19613         Document GstCaps.
19614
19615 2005-11-09  Andy Wingo  <wingo@pobox.com>
19616
19617         * gst/base/gstbasesink.c: Add the beginning of docs here -- have
19618         to work on something else now tho...
19619
19620         * gst/base/gstadapter.c: More adapter docs.
19621
19622         * gst/elements/gstfilesink.c (gst_file_sink_start) 
19623         (gst_file_sink_stop): New functions, replace the state change
19624         handler.
19625         (gst_file_sink_class_init): Hook up the start and stop functions.
19626         (gst_file_sink_base_init): Don't set the state change handler any
19627         more. It was a bit ugly too, being set from here...
19628         (gst_file_sink_get_property, gst_file_sink_set_property):
19629         Cleanups...
19630         (gst_file_sink_set_location): More robust check that doesn't call
19631         GST_STATE. Ugggggg.
19632
19633 2005-11-08  Tim-Philipp Müller  <tim at centricular dot net>
19634
19635         * gst/base/gstbasetransform.c: (gst_base_transform_event):
19636           Hold STREAM_LOCK while pushing newsegment or tag events as well.
19637
19638 2005-11-08  Wim Taymans  <wim@fluendo.com>
19639
19640         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
19641         (gst_base_sink_do_sync), (gst_base_sink_handle_event),
19642         (gst_base_sink_chain), (gst_base_sink_change_state):
19643         * gst/base/gstbasesink.h:
19644         * gst/base/gstbasesrc.h:
19645         * gst/gstelement.h:
19646         * gst/gstevent.h:
19647         Avoid excessive typechecking in macros.
19648
19649         * gst/gstminiobject.c: (gst_mini_object_get_type),
19650         (gst_mini_object_init), (gst_mini_object_new),
19651         (gst_mini_object_free):
19652         * gst/gstobject.c: (gst_object_class_init), (gst_object_init),
19653         (gst_object_finalize):
19654         Remove cruft code, optimize alloc_trace.
19655
19656 2005-11-07  Thomas Vander Stichele  <thomas at apestaart dot org>
19657
19658         * docs/faq/gst-uninstalled:
19659           fix up PS1 for systems that try to reset it
19660
19661 2005-11-07  Wim Taymans  <wim@fluendo.com>
19662
19663         * gst/base/gstbasesrc.c: (gst_base_src_init),
19664         (gst_base_src_get_range):
19665         Set the segment_end to -1 initially. Fixed typefind.
19666
19667 2005-11-07  Tim-Philipp Müller  <tim at centricular dot net>
19668
19669         * gst/base/gstadapter.c:
19670           Debug category should be 'adapter', not 'GstAdapter'.
19671           
19672         * gst/base/gstcollectpads.c: (gst_collectpads_base_init),
19673         (gst_collectpads_class_init), (gst_collectpads_init),
19674         (gst_collectpads_peek), (gst_collectpads_pop),
19675         (gst_collectpads_event), (gst_collectpads_chain):
19676           Add debug category and some debugging output. Use boilerplate
19677           macros. Remove some extraneous words from docs.
19678
19679 2005-11-05  Andy Wingo  <wingo@pobox.com>
19680
19681         * gst/base/gstpushsrc.c: Shorten by 30% via use of boilerplate
19682         macro.
19683
19684 2005-11-04  Stefan Kost  <ensonic@users.sf.net>
19685
19686         * docs/gst/gstreamer-sections.txt:
19687         * gst/gstcaps.h:
19688         * gst/gstinfo.c:
19689         * gst/gstminiobject.h:
19690         * gst/gstobject.h:
19691         * gst/gstutils.h:
19692           more docs added
19693
19694 2005-11-04  Wim Taymans  <wim@fluendo.com>
19695
19696         * gst/base/gstbasesrc.c: (gst_base_src_get_range):
19697         Small update to stop at the configured segment_end
19698         position.
19699
19700 2005-11-04  Stefan Kost  <ensonic@users.sf.net>
19701
19702         * gst/gstregistry.c:
19703         * gst/gstregistry.h:
19704           added missing docs
19705
19706 2005-11-04  Edward Hervey  <edward@fluendo.com>
19707
19708         * gst/base/gstbasesrc.c: (gst_base_src_get_range):
19709         Check if we are doing a segment seek and have arrived at the
19710         end of that segment.
19711
19712 2005-11-04  Wim Taymans  <wim@fluendo.com>
19713
19714         * gst/gstbus.c: (gst_bus_post), (gst_bus_set_sync_handler):
19715         Don't leak a mutex unlock in case of an error.
19716
19717         * gst/gstbus.h:
19718         Doc fixes.
19719
19720 2005-11-04  Wim Taymans  <wim@fluendo.com>
19721
19722         * gst/gstbus.c: (gst_bus_class_init), (gst_bus_init),
19723         (gst_bus_post):
19724         Get the context to wake up only once.
19725
19726 2005-11-03  Wim Taymans  <wim@fluendo.com>
19727
19728         * check/states/sinks.c: (GST_START_TEST):
19729         Uncomment fixed check.
19730
19731         * docs/design/part-TODO.txt:
19732         Updated TODO.
19733
19734         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
19735         (gst_base_sink_handle_object), (gst_base_sink_do_sync),
19736         (gst_base_sink_get_position):
19737         If we are going to PLAYING, post the right pending state
19738         when we post the intermediate paused message.
19739
19740         * gst/gstelement.c: (gst_element_continue_state),
19741         (gst_element_set_state_func), (gst_element_change_state):
19742         Don't post state changes that were between the same state
19743         and were not ASYNC.
19744
19745 2005-11-03  Stefan Kost  <ensonic@users.sf.net>
19746
19747         * docs/gst/gstreamer-sections.txt:
19748         * gst/gstcaps.h:
19749         * gst/gstinfo.c:
19750         * gst/gstminiobject.h:
19751         * gst/gstobject.h:
19752         * gst/gstutils.h:
19753           more docs and doc style fixes
19754
19755 2005-11-03  Stefan Kost  <ensonic@users.sf.net>
19756
19757         * docs/gst/gstreamer-sections.txt:
19758         * gst/gstelement.c:
19759         * gst/gstminiobject.c:
19760         doc fixes
19761
19762 2005-11-03  Andy Wingo  <wingo@pobox.com>
19763
19764         * check/states/sinks.c (test_livesrc_sink): Add checks that the
19765         state-changed messages actually have the right order and the right
19766         values.
19767
19768 2005-11-03  Wim Taymans  <wim@fluendo.com>
19769
19770         * check/states/sinks.c: (GST_START_TEST), (gst_object_suite):
19771         Added some more checks. Specifically the case where NO_PREROLL
19772         elements are in the pipeline.
19773
19774         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
19775         (gst_base_sink_handle_object), (gst_base_sink_do_sync),
19776         (gst_base_sink_get_position):
19777         Post READY->PAUSED state change messages too.
19778         Fix bug where VOID was posted as pending state...
19779
19780         * gst/gstbin.c: (gst_bin_recalc_state):
19781         use _element_continue_state() to continue the state change.
19782
19783         * gst/gstelement.c: (gst_element_continue_state),
19784         (gst_element_commit_state), (gst_element_set_state_func),
19785         (gst_element_change_state), (gst_element_change_state_func):
19786         Lots of state change cleanups, assign the STATE_RETURN in
19787         a new continue_state() function that also propagates the
19788         last return value from a state change to the app.
19789         Update some debug statements with proper category.
19790
19791 2005-11-03  Wim Taymans  <wim@fluendo.com>
19792
19793         * docs/design/part-events.txt:
19794         * docs/design/part-gstpipeline.txt:
19795         * docs/design/part-messages.txt:
19796         * docs/design/part-overview.txt:
19797         * docs/design/part-seeking.txt:
19798         * docs/design/part-states.txt:
19799         * docs/design/part-trickmodes.txt:
19800         * docs/manual/advanced-position.xml:
19801         Small docs updates.
19802
19803         * gst/gstobject.h:
19804         People think !! is ugly, this looks better.
19805
19806         * gst/gstpad.c: (gst_pad_set_blocked_async):
19807         Remove !! since it's fixed elsewhere now.
19808
19809 2005-11-03  Tim-Philipp Müller  <tim at centricular dot net>
19810
19811         * gst/gstminiobject.h:
19812         * gst/gstobject.h:
19813           Add !! to _FLAG_IS_SET macros to make the result boolean.
19814
19815 2005-11-03  Edward Hervey  <edward@fluendo.com>
19816
19817         * gst/gstpad.c: (gst_pad_set_blocked_async):
19818         comparing a flag and a gboolean rarely returns coherent results...
19819         Added two characters (!!) to make that work correctly.
19820         
19821 2005-11-03  Tim-Philipp Müller  <tim at centricular dot net>
19822
19823         * gst/gstbus.c: (gst_bus_class_init):
19824           Fix some typos.
19825           
19826         * gst/gstqueue.c: (gst_queue_loop):
19827           Don't assume a miniobject that isn't a buffer is an
19828           event (it could be that there is a refcounting
19829           problem somewhere and the pointer is stale and
19830           refers to an already destroyed miniobject).
19831
19832 2005-11-03  Julien MOUTTE  <julien@moutte.net>
19833
19834         * gst/gstpad.c: (gst_pad_alloc_buffer): Fix some typos.
19835
19836 2005-11-03  Tim-Philipp Müller  <tim at centricular dot net>
19837
19838         * docs/manual/advanced-position.xml:
19839           Update seek example and explanations to current 0.9 API.
19840
19841         * gst/elements/gsttypefindelement.c:
19842         (gst_type_find_element_activate):
19843           Remove FIXME comment now that the found caps
19844           are unreffed.
19845
19846 2005-11-03  Thomas Vander Stichele  <thomas at apestaart dot org>
19847
19848         * gst/gstregistryxml.c: (load_feature):
19849           Add another GST_STR_NULL instance
19850
19851 2005-11-02  Edward Hervey  <edward@fluendo.com>
19852
19853         * gst/gstpad.c: (handle_pad_block):
19854         Follow-up to Wim's patch, solves deadlock for blocked and flushing pads
19855         
19856 2005-11-02  Wim Taymans  <wim@fluendo.com>
19857
19858         * gst/gstbin.c:
19859         Fix typo in docs.
19860
19861         * gst/gstelement.c: (gst_element_commit_state):
19862         Remove unused value.
19863
19864         * gst/gstiterator.c:
19865         Mention that the returned element is reffed in the docs.
19866
19867 2005-11-02  Wim Taymans  <wim@fluendo.com>
19868
19869         * gst/gstpad.c: (gst_pad_alloc_buffer), (handle_pad_block),
19870         (gst_pad_push), (gst_pad_push_event):
19871         Unlock blocked pads when they are flushed.
19872
19873 2005-11-02  Thomas Vander Stichele  <thomas at apestaart dot org>
19874
19875         * docs/README:
19876         * docs/gst/gstreamer-sections.txt:
19877         * gst/gstbin.c:
19878           doc updates
19879         * gst/gstregistry.c: (gst_registry_scan_path_level):
19880           fix for a nasty little missed situation where an installed plug-in
19881           which was in the cache did not get overridden by an uninstalled one
19882           which was earlier in the plugin path because the newly created plugin
19883           for the uninstalled one (not in the registry) didn't get its
19884           ->registered set to TRUE
19885
19886 2005-11-02  Tim-Philipp Müller  <tim at centricular dot net>
19887
19888         * gst/base/gstcollectpads.c: (gst_collectpads_set_function),
19889         (gst_collectpads_add_pad), (gst_collectpads_remove_pad),
19890         (gst_collectpads_is_active), (gst_collectpads_collect),
19891         (gst_collectpads_collect_range), (gst_collectpads_start),
19892         (gst_collectpads_stop), (gst_collectpads_peek),
19893         (gst_collectpads_pop), (gst_collectpads_available),
19894         (gst_collectpads_read), (gst_collectpads_flush):
19895           Guard public API with assertions.
19896         
19897         * gst/gstpad.c:
19898           Fix docs for gst_pad_set_link_function().
19899
19900 2005-11-02  Johan Dahlin  <johan@gnome.org>
19901
19902         * gst/elements/gsttypefindelement.c (gst_type_find_element_activate): 
19903         Unref found_caps after we used it.
19904
19905 2005-11-02  Tim-Philipp Müller  <tim at centricular dot net>
19906
19907         * gst/base/gstcollectpads.c: (gst_collectpads_peek):
19908           Don't try to ref NULL.
19909
19910 2005-11-02  Thomas Vander Stichele  <thomas at apestaart dot org>
19911
19912         * win32/common/config.h.in:
19913           provide a GST_FUNCTION that just gives a string for now
19914
19915 2005-11-02  Thomas Vander Stichele  <thomas at apestaart dot org>
19916
19917         * win32/common/gstenumtypes.c: (register_gst_object_flags),
19918         (gst_object_flags_get_type), (register_gst_bin_flags),
19919         (gst_bin_flags_get_type), (register_gst_buffer_flag),
19920         (gst_buffer_flag_get_type), (register_gst_bus_flags),
19921         (gst_bus_flags_get_type), (register_gst_bus_sync_reply),
19922         (gst_bus_sync_reply_get_type), (register_gst_clock_return),
19923         (gst_clock_return_get_type), (register_gst_clock_entry_type),
19924         (gst_clock_entry_type_get_type), (register_gst_clock_flags),
19925         (gst_clock_flags_get_type), (register_gst_state),
19926         (gst_state_get_type), (register_gst_state_change_return),
19927         (gst_state_change_return_get_type), (register_gst_state_change),
19928         (gst_state_change_get_type), (register_gst_element_flags),
19929         (gst_element_flags_get_type), (register_gst_core_error),
19930         (gst_core_error_get_type), (register_gst_library_error),
19931         (gst_library_error_get_type), (register_gst_resource_error),
19932         (gst_resource_error_get_type), (register_gst_stream_error),
19933         (gst_stream_error_get_type), (register_gst_event_type),
19934         (gst_event_type_get_type), (register_gst_seek_type),
19935         (gst_seek_type_get_type), (register_gst_seek_flags),
19936         (gst_seek_flags_get_type), (register_gst_format),
19937         (gst_format_get_type), (register_gst_index_certainty),
19938         (gst_index_certainty_get_type), (register_gst_index_entry_type),
19939         (gst_index_entry_type_get_type),
19940         (register_gst_index_lookup_method),
19941         (gst_index_lookup_method_get_type), (register_gst_assoc_flags),
19942         (gst_assoc_flags_get_type), (register_gst_index_resolver_method),
19943         (gst_index_resolver_method_get_type), (register_gst_index_flags),
19944         (gst_index_flags_get_type), (register_gst_debug_level),
19945         (gst_debug_level_get_type), (register_gst_debug_color_flags),
19946         (gst_debug_color_flags_get_type), (register_gst_iterator_result),
19947         (gst_iterator_result_get_type), (register_gst_iterator_item),
19948         (gst_iterator_item_get_type), (register_gst_message_type),
19949         (gst_message_type_get_type), (register_gst_mini_object_flags),
19950         (gst_mini_object_flags_get_type), (register_gst_pad_link_return),
19951         (gst_pad_link_return_get_type), (register_gst_flow_return),
19952         (gst_flow_return_get_type), (register_gst_activate_mode),
19953         (gst_activate_mode_get_type), (register_gst_pad_direction),
19954         (gst_pad_direction_get_type), (register_gst_pad_flags),
19955         (gst_pad_flags_get_type), (register_gst_pad_presence),
19956         (gst_pad_presence_get_type), (register_gst_pad_template_flags),
19957         (gst_pad_template_flags_get_type), (register_gst_pipeline_flags),
19958         (gst_pipeline_flags_get_type), (register_gst_plugin_error),
19959         (gst_plugin_error_get_type), (register_gst_plugin_flags),
19960         (gst_plugin_flags_get_type), (register_gst_rank),
19961         (gst_rank_get_type), (register_gst_query_type),
19962         (gst_query_type_get_type), (register_gst_tag_merge_mode),
19963         (gst_tag_merge_mode_get_type), (register_gst_tag_flag),
19964         (gst_tag_flag_get_type), (register_gst_task_state),
19965         (gst_task_state_get_type), (register_gst_alloc_trace_flags),
19966         (gst_alloc_trace_flags_get_type),
19967         (register_gst_type_find_probability),
19968         (gst_type_find_probability_get_type), (register_gst_uri_type),
19969         (gst_uri_type_get_type), (register_gst_parse_error),
19970         (gst_parse_error_get_type):
19971         * win32/common/gstversion.h:
19972           update win32 copies
19973
19974 2005-11-01  Luca Ognibene  <luogni@tin.it>
19975
19976         * gst/gst.c:
19977           fix docs. popt is dead, long live GOption.
19978
19979 2005-10-31  Wim Taymans  <wim@fluendo.com>
19980
19981         * gst/gstbuffer.h:
19982         Small doc fix.
19983
19984 2005-10-31  Andy Wingo  <wingo@pobox.com>
19985
19986         * Boo!
19987
19988         * gst/gstqueue.c (gst_queue_chain): Fix downstream leaky mode.
19989
19990         * gst/gstobject.c (gst_object_dispatch_properties_changed): No
19991         need to serialize property notifications on GLib 2.8. GLib 2.6 has
19992         the possibility of deadlocks here if code calling notify() or
19993         set() has a lock that can be taken in another notify handler (ABBA
19994         with class lock and e.g. python GIL state lock).
19995
19996 2005-10-28  Julien MOUTTE  <julien@moutte.net>
19997
19998         * gst/gstbus.c: Doc updates.
19999
20000 2005-10-28  Wim Taymans  <wim@fluendo.com>
20001
20002         * docs/design/part-TODO.txt:
20003         * gst/gstiterator.c:
20004         * gst/gstsystemclock.c:
20005         * gst/gstsystemclock.h:
20006         Doc updates.
20007
20008 2005-10-28  Edward Hervey  <edward@fluendo.com>
20009
20010         * docs/gst/gstreamer-docs.sgml:
20011         * docs/gst/gstreamer-sections.txt:
20012         the GstURIType documentation page is private, it only defines GstURIType
20013         which should be defined in the GstURIHandler page
20014         
20015 2005-10-28  Thomas Vander Stichele  <thomas at apestaart dot org>
20016
20017         * gst/gstbin.c: (gst_bin_class_init):
20018         * gst/gstbin.h:
20019         * gst/gstutils.c:
20020         Documentation updates.
20021
20022 2005-10-28  Wim Taymans  <wim@fluendo.com>
20023
20024         * docs/gst/gstreamer-sections.txt:
20025         * gst/gstclock.c:
20026         * gst/gstclock.h:
20027         Documented the clocks.
20028
20029 2005-10-28  Stefan Kost  <ensonic@users.sf.net>
20030
20031         * docs/gst/gstreamer-sections.txt:
20032           move some macros to private sections
20033         * gst/gstminiobject.c:
20034         * gst/gstminiobject.h:
20035           add descriptions provided by ds and some more
20036         * gst/gstpad.h:
20037           mark macro as to be removed
20038
20039 2005-10-28  Wim Taymans  <wim@fluendo.com>
20040
20041         * docs/design/part-TODO.txt:
20042         Add an item to TODO.
20043
20044         * gst/gstiterator.c: (gst_iterator_fold),
20045         (gst_iterator_find_custom):
20046         * gst/gstiterator.h:
20047         Add iterator docs.
20048
20049 2005-10-28  Wim Taymans  <wim@fluendo.com>
20050
20051         * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
20052         (gst_base_transform_init):
20053         Don't leak class.
20054
20055         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_loop):
20056         An EOS event marks the queue as completely filled.
20057
20058 2005-10-27  Wim Taymans  <wim@fluendo.com>
20059
20060         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
20061         (gst_base_sink_do_sync), (gst_base_sink_get_position):
20062         Some more debugging.
20063
20064         * gst/base/gstbasetransform.c: (gst_base_transform_finalize),
20065         (gst_base_transform_init), (gst_base_transform_buffer_alloc),
20066         (gst_base_transform_event), (gst_base_transform_getrange),
20067         (gst_base_transform_chain):
20068         * gst/base/gstbasetransform.h:
20069         Fix debugging,
20070         Protect transform and concurrent buffer alloc with a new lock.
20071         Try not to break ABI/API.
20072
20073 2005-10-27  Wim Taymans  <wim@fluendo.com>
20074
20075         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
20076         (gst_base_src_init), (gst_base_src_query),
20077         (gst_base_src_default_newsegment),
20078         (gst_base_src_configure_segment), (gst_base_src_do_seek),
20079         (gst_base_src_send_event), (gst_base_src_event_handler),
20080         (gst_base_src_pad_get_range), (gst_base_src_loop),
20081         (gst_base_src_unlock), (gst_base_src_default_negotiate),
20082         (gst_base_src_start), (gst_base_src_deactivate),
20083         (gst_base_src_activate_push), (gst_base_src_change_state):
20084         Move some stuff around and cleanup things.
20085
20086 2005-10-27  Tim-Philipp Müller  <tim at centricular dot net>
20087
20088         * gst/base/gstbasesrc.c: (gst_base_src_query):
20089           Add missing break statements.
20090
20091 2005-10-27  Wim Taymans  <wim@fluendo.com>
20092
20093         * check/gst/gstbin.c: (GST_START_TEST):
20094         An extra refcount is taken in basesrc.
20095
20096         * gst/base/gstbasesrc.c: (gst_base_src_init), (gst_base_src_query),
20097         (gst_base_src_get_range), (gst_base_src_pad_get_range),
20098         (gst_base_src_loop):
20099         Small cleanups, check for flushing after being unlocked from the 
20100         LIVE_LOCK. take refcounts correctly (not yet everywhere).
20101         Don't send out EOS when going to READY.
20102
20103 2005-10-27  Wim Taymans  <wim@fluendo.com>
20104
20105         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
20106         (gst_base_sink_get_position):
20107         Some more debug.
20108
20109         * gst/gstbin.c: (message_check), (bin_replace_message),
20110         (bin_remove_messages), (is_eos), (gst_bin_add_func),
20111         (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
20112         (bin_query_duration_init), (bin_query_duration_fold),
20113         (bin_query_duration_done), (bin_query_generic_fold),
20114         (gst_bin_query):
20115         * tools/gst-launch.c: (main):
20116         Remove old option.
20117
20118 2005-10-26  Stefan Kost  <ensonic@users.sf.net>
20119
20120         * examples/controller/audio-example.c: (main):
20121         * examples/queue/queue.c: (event_loop):
20122         * gst/base/gstbasetransform.h:
20123         * gst/gstelement.c: (gst_element_send_event):
20124         * gst/gstevent.h:
20125         * gst/gstpad.c: (gst_pad_send_event):
20126           fixing examples
20127           fixing docs typos
20128           changing log priority in error situations
20129
20130 2005-10-25  Wim Taymans  <wim@fluendo.com>
20131
20132         * gst/gstbin.c: (message_check), (bin_replace_message),
20133         (bin_remove_messages), (is_eos), (gst_bin_add_func),
20134         (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
20135         (bin_query_duration_init), (bin_query_duration_fold),
20136         (bin_query_duration_done), (bin_query_generic_fold),
20137         (gst_bin_query):
20138         Some doc and debug updates.
20139         Cache previously requested query DURATION for speed. invalidate
20140         cached duration if element posts a DURATION message.
20141
20142 2005-10-25  Wim Taymans  <wim@fluendo.com>
20143
20144         * docs/design/part-TODO.txt:
20145         Update TODO.
20146
20147         * gst/gstbin.c: (message_check), (bin_replace_message),
20148         (bin_remove_messages), (is_eos), (gst_bin_add_func),
20149         (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
20150         (bin_query_duration_init), (bin_query_duration_fold),
20151         (bin_query_duration_done), (bin_query_generic_fold),
20152         (gst_bin_query):
20153         Handle SEGMENT_START/DONE messages correctly.
20154         More evolved query algorithm that handles duration queries
20155         correctly.
20156
20157         * gst/gstelement.c: (gst_element_send_event), (gst_element_query),
20158         (gst_element_get_state_func), (gst_element_abort_state),
20159         (gst_element_commit_state), (gst_element_lost_state):
20160         Some more debugging.
20161
20162         * gst/gstmessage.h:
20163         Added doc.
20164
20165 2005-10-25  Wim Taymans  <wim@fluendo.com>
20166
20167         * gst/base/gstbasesink.c: (gst_base_sink_get_position):
20168         Don't use invalid stream_time.
20169
20170         * gst/gstevent.c: (gst_event_new_newsegment):
20171         stream_time in newsegment cannot be undefined.
20172
20173 2005-10-24  Wim Taymans  <wim@fluendo.com>
20174
20175         * gst/gstbus.c:
20176         Doc fix.
20177
20178         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
20179         (gst_queue_loop):
20180         Fix potential deadlock when QUEUE_LOCK is taken before STREAM_LOCK.
20181
20182 2005-10-24  Stefan Kost  <ensonic@users.sf.net>
20183
20184         * docs/libs/tmpl/gstdparam.sgml:
20185         * docs/libs/tmpl/gstdplinint.sgml:
20186         * docs/libs/tmpl/gstdpman.sgml:
20187         * docs/libs/tmpl/gstdpsmooth.sgml:
20188         * docs/libs/tmpl/gstunitconvert.sgml:
20189           these are obsolete
20190
20191 2005-10-24  Thomas Vander Stichele  <thomas at apestaart dot org>
20192
20193         * configure.ac:
20194           back to HEAD
20195
20196 === release 0.9.4 ===
20197
20198 2005-10-23  Thomas Vander Stichele  <thomas at apestaart dot org>
20199
20200         * configure.ac:
20201           releasing 0.9.4, "Tyrannosaurus Rex"
20202
20203 2005-10-23  Tim-Philipp Müller  <tim at centricular dot net>
20204
20205         * gst/elements/gstfilesink.c: (gst_file_sink_do_seek),
20206         (gst_file_sink_get_current_offset):
20207           Use fseeko() and ftello() if available. When falling back on
20208           lseek() to get the current offset, fflush() first to make sure
20209           everything is up-to-date and we get the right offset.
20210
20211 2005-10-23  Thomas Vander Stichele  <thomas at apestaart dot org>
20212
20213         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
20214         * gst/base/gstbasesrc.c: (gst_base_src_loop):
20215         * gst/gsterror.c: (_gst_stream_errors_init):
20216         * gst/gsterror.h:
20217         * gst/gstqueue.c: (gst_queue_loop):
20218         * po/POTFILES.in:
20219           remove prematurely added error category and clean up the instances
20220
20221 2005-10-21  Wim Taymans  <wim@fluendo.com>
20222
20223         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
20224         (gst_base_sink_get_position), (gst_base_sink_query),
20225         (gst_base_sink_change_state):
20226         Simply set the right flag when going to playing, that's all
20227         we need to do instead of calling a function inside the object
20228         lock (that could take the lock as well and deadlock)
20229
20230 2005-10-21  Wim Taymans  <wim@fluendo.com>
20231
20232         * gst/base/gstbasesrc.c: (gst_base_src_do_seek),
20233         (gst_base_src_loop):
20234         Don't warn, the peer element knows what to do best when
20235         the seek failed, it might try something else.
20236
20237 2005-10-21  Wim Taymans  <wim@fluendo.com>
20238
20239         * gst/base/gstbasesrc.c: (gst_base_src_init),
20240         (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start):
20241         Fix seeking.
20242
20243 2005-10-21  Wim Taymans  <wim@fluendo.com>
20244
20245         * docs/design/part-segments.txt:
20246         More docs.
20247
20248         * gst/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
20249         Correctly set caps, even on the subbufer.
20250
20251 2005-10-21  Wim Taymans  <wim@fluendo.com>
20252
20253         * docs/gst/gstreamer-docs.sgml:
20254         * docs/gst/gstreamer-sections.txt:
20255         * gst/gstelement.h:
20256         * gst/gstevent.c:
20257         * gst/gstevent.h:
20258         * gst/gstmessage.h:
20259         * gst/gstpad.h:
20260         * gst/gstparse.h:
20261         * gst/gsttask.c: (gst_task_finalize), (gst_task_func):
20262         * gst/gsttask.h:
20263         * gst/gstutils.c:
20264         * gst/gstutils.h:
20265         And 2% more doc coverage.
20266
20267 2005-10-21  Andy Wingo  <wingo@pobox.com>
20268
20269         * gst/base/gstbasesrc.c (gst_base_src_query): Clean up percent
20270         position reporting.
20271
20272 2005-10-20  Wim Taymans  <wim@fluendo.com>
20273
20274         * gst/gsterror.c: (gst_error_get_message):
20275         * gst/gstparse.h:
20276         * gst/gstquery.h:
20277         * gst/gststructure.c:
20278         * gst/gsttrace.c:
20279         * gst/gstutils.c:
20280         More docs.
20281
20282 2005-10-20  Wim Taymans  <wim@fluendo.com>
20283
20284         * gst/gstbuffer.h:
20285         * gst/gstpad.c:
20286         * gst/gstparse.c:
20287         Another 1% more coverage.
20288
20289 2005-10-20  Wim Taymans  <wim@fluendo.com>
20290
20291         * docs/gst/gstreamer-sections.txt:
20292         * gst/gstelement.c: (gst_element_get_state_func),
20293         (gst_element_abort_state), (gst_element_commit_state),
20294         (gst_element_lost_state):
20295         * gst/gstevent.h:
20296         * gst/gstquery.c: (gst_query_set_position),
20297         (gst_query_parse_position), (gst_query_set_duration),
20298         (gst_query_parse_duration), (gst_query_new_convert):
20299         * gst/gstutils.c:
20300         Yay! 1% more docs coverage.
20301
20302 2005-10-20  Wim Taymans  <wim@fluendo.com>
20303
20304         * gst/gstpad.h:
20305         * gst/gstquery.c: (gst_query_set_position),
20306         (gst_query_parse_position), (gst_query_set_duration),
20307         (gst_query_parse_duration), (gst_query_new_convert):
20308         * gst/gstquery.h:
20309         * gst/gstutils.c: (gst_element_query_convert):
20310         * gst/gstutils.h:
20311         Docs and consistency fixes.
20312
20313 2005-10-20  Wim Taymans  <wim@fluendo.com>
20314
20315         * gst/gsttask.c:
20316         * gst/gsttask.h:
20317         More docs.
20318
20319 2005-10-20  Wim Taymans  <wim@fluendo.com>
20320
20321         * gst/gstbin.c: (message_check), (bin_replace_message),
20322         (bin_remove_messages), (is_eos), (gst_bin_add_func),
20323         (update_degree), (gst_bin_sort_iterator_next),
20324         (gst_bin_change_state_func), (gst_bin_dispose), (bin_bus_handler):
20325         Reworked the message handling a bit, cache the messages instead of
20326         only the senders. alows us to do more in the future.
20327
20328 2005-10-20  Wim Taymans  <wim@fluendo.com>
20329
20330         * docs/design/part-TODO.txt:
20331         Update TODO
20332
20333         * gst/base/gstbasesink.c: (gst_base_sink_get_position),
20334         (gst_base_sink_query):
20335         Don't use clock time to report position when in EOS.
20336
20337 2005-10-20  Tim-Philipp Müller  <tim at centricular dot net>
20338
20339         * tools/gst-inspect.c: (print_interfaces),
20340         (print_element_properties_info), (print_element_info):
20341           Fix interface output with gst-inspect -a; don't print
20342           newlines after double/float properties.
20343
20344 2005-10-20  Wim Taymans  <wim@fluendo.com>
20345
20346         * gst/base/gstbasesink.c: (gst_base_sink_get_position),
20347         (gst_base_sink_query):
20348         Speed up current position calculation.
20349
20350         * gst/base/gstbasesrc.c: (gst_base_src_query),
20351         (gst_base_src_default_newsegment):
20352         Correctly set stream position in newsegment.
20353
20354         * gst/gstbin.c: (gst_bin_add_func), (add_to_queue),
20355         (update_degree), (gst_bin_sort_iterator_next),
20356         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free):
20357         * gst/gstmessage.c: (gst_message_new_custom):
20358         Clean up debugging info
20359
20360         * gst/gstqueue.c: (gst_queue_link_src), (gst_queue_chain),
20361         (gst_queue_loop), (gst_queue_handle_src_query):
20362         Pause task faster.
20363
20364 2005-10-19  Wim Taymans  <wim@fluendo.com>
20365
20366         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
20367         (gst_base_sink_handle_object), (gst_base_sink_query), (do_playing):
20368         Fix query handling again.
20369
20370 2005-10-19  Wim Taymans  <wim@fluendo.com>
20371
20372         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
20373         (gst_base_sink_handle_object), (gst_base_sink_query), (do_playing):
20374         * gst/base/gstbasesrc.c: (gst_base_src_query):
20375         * gst/elements/gstfilesink.c: (gst_file_sink_query):
20376         * gst/elements/gsttypefindelement.c:
20377         (gst_type_find_handle_src_query), (find_element_get_length),
20378         (gst_type_find_element_activate):
20379         API change fix.
20380
20381         * gst/gstquery.c: (gst_query_new_position),
20382         (gst_query_set_position), (gst_query_parse_position),
20383         (gst_query_new_duration), (gst_query_set_duration),
20384         (gst_query_parse_duration), (gst_query_set_segment),
20385         (gst_query_parse_segment):
20386         * gst/gstquery.h:
20387         Bundling query position/duration is not a good idea since duration
20388         does not change much and we don't want to recalculate it for every
20389         position query, so they are separated again..
20390         Base value in segment query is not needed.
20391
20392         * gst/gstqueue.c: (gst_queue_handle_src_query):
20393         * gst/gstutils.c: (gst_element_query_position),
20394         (gst_element_query_duration), (gst_pad_query_position),
20395         (gst_pad_query_duration):
20396         * gst/gstutils.h:
20397         Updates for query API change.
20398         Added some docs here and there.
20399
20400 2005-10-19  Thomas Vander Stichele  <thomas at apestaart dot org>
20401
20402         * check/gst/gstbin.c: (GST_START_TEST):
20403         * check/gst/gstghostpad.c: (GST_START_TEST):
20404         * check/pipelines/cleanup.c: (GST_START_TEST):
20405           wait on thread to die so we can check refcount correctly
20406
20407 2005-10-18  Wim Taymans  <wim@fluendo.com>
20408
20409         * check/pipelines/stress.c: (GST_START_TEST):
20410         Make check a little more time consuming.
20411
20412 2005-10-18  Wim Taymans  <wim@fluendo.com>
20413
20414         * check/Makefile.am:
20415         * check/pipelines/stress.c: (GST_START_TEST),
20416         (simple_launch_lines_suite), (main):
20417         Small state change torture test.
20418
20419         * docs/design/part-states.txt:
20420         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
20421         (gst_base_sink_handle_object), (gst_base_sink_event), (do_playing),
20422         (gst_base_sink_change_state):
20423         Never take state lock from streaming thread, clean up ugly
20424         hacks. Unfortunatly core does not yet support nice ways to
20425         async commit state.
20426         
20427         * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_recalc_state),
20428         (bin_bus_handler):
20429         Start state recalc if a STATE_DIRTY message is posted, but only
20430         on the toplevel bin.
20431
20432         * gst/gstelement.c: (gst_element_sync_state_with_parent),
20433         (gst_element_get_state_func), (gst_element_abort_state),
20434         (gst_element_commit_state), (gst_element_lost_state),
20435         (gst_element_set_state_func), (gst_element_change_state):
20436         * gst/gstelement.h:
20437         State variables are now protected with the LOCK, the state
20438         lock is only used to serialize _set_state().
20439
20440 2005-10-18  Wim Taymans  <wim@fluendo.com>
20441
20442         * check/gst/gstbin.c: (GST_START_TEST):
20443         * check/gst/gstmessage.c: (GST_START_TEST):
20444         * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
20445         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_recalc_func),
20446         (bin_bus_handler):
20447         * gst/gstelement.c: (gst_element_abort_state),
20448         (gst_element_commit_state), (gst_element_lost_state):
20449         * gst/gstmessage.c: (gst_message_new_state_changed),
20450         (gst_message_new_state_dirty), (gst_message_new_segment_start),
20451         (gst_message_new_segment_done), (gst_message_new_duration),
20452         (gst_message_parse_state_changed),
20453         (gst_message_parse_segment_start),
20454         (gst_message_parse_segment_done), (gst_message_parse_duration):
20455         * gst/gstmessage.h:
20456         * tools/gst-launch.c: (event_loop):
20457         Seriously, this is better than a previous commit as we only need
20458         to notify the fact that an element changed state in a streaming
20459         thread, marking the state of the parents dirty, hence the 
20460         STATE_DIRTY message instead of abusing a boolean in a STATE_CHANGE
20461         message.
20462
20463 2005-10-18  Wim Taymans  <wim@fluendo.com>
20464
20465         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_get_state_func),
20466         (gst_bin_recalc_func):
20467         * gst/gstelement.c: (gst_element_set_clock),
20468         (gst_element_abort_state), (gst_element_lost_state):
20469         Cleanups, prepare for state change fixes.
20470
20471 2005-10-18  Wim Taymans  <wim@fluendo.com>
20472
20473         * gst/gstbin.h:
20474         * gst/gstelement.c: (gst_element_class_init),
20475         (gst_element_set_state), (gst_element_set_state_func):
20476         * gst/gstelement.h:
20477         Pending ABI changes.
20478         GThreadPool in GstBinClass to monitor async state changes.
20479         state_cookie in GstElement to detect concurrent gst/set state.
20480         set_state is now virtual too in case a very complicated element
20481         has to be constructed.
20482
20483 2005-10-18  Wim Taymans  <wim@fluendo.com>
20484
20485         * check/gst/gstbin.c: (GST_START_TEST):
20486         * check/gst/gstmessage.c: (GST_START_TEST):
20487         * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
20488         * gst/gstbin.c: (bin_bus_handler):
20489         * gst/gstelement.c: (gst_element_commit_state),
20490         (gst_element_lost_state):
20491         * gst/gstmessage.c: (gst_message_new_state_changed),
20492         (gst_message_new_segment_start), (gst_message_new_segment_done),
20493         (gst_message_new_duration), (gst_message_parse_state_changed),
20494         (gst_message_parse_segment_start),
20495         (gst_message_parse_segment_done), (gst_message_parse_duration):
20496         * gst/gstmessage.h:
20497         * tools/gst-launch.c: (event_loop):
20498         Make messages future proof.
20499         state-change gets a flag if it was a message comming from the
20500         streaming thread.
20501         segment-start/stop can also be specified in other formats.
20502         A message to notify an app that a pipeline changed playback 
20503         duration.
20504         Also fix a GstMessage leak in -launch
20505
20506 2005-10-18  Andy Wingo  <wingo@pobox.com>
20507
20508         * gst/gstelement.c (gst_element_dispose): More helpful message.
20509
20510 2005-10-18  Thomas Vander Stichele  <thomas at apestaart dot org>
20511
20512         reviewed by: <delete if not using a buddy>
20513
20514         * common/gtk-doc.mak:
20515
20516 2005-10-18  Thomas Vander Stichele  <thomas at apestaart dot org>
20517
20518         * gst/gstregistry.c: (gst_registry_scan_path_level):
20519           unref a plug-in we get that was already initialized
20520
20521 2005-10-18  Stefan Kost  <ensonic@users.sf.net>
20522
20523         * docs/gst/gstreamer-sections.txt:
20524         * docs/libs/gstreamer-libs-sections.txt:
20525         * gst/gstelement.h:
20526           add new api entries
20527           hide internal macro
20528
20529 2005-10-17  Andy Wingo  <wingo@pobox.com>
20530
20531         * gst/base/gstcollectpads.c (gst_collectpads_chain): Slight
20532         cleanup.
20533
20534         * gst/Makefile.am (gstenumtypes.c): Threadsafe now.
20535
20536         * gst/gstevent.c (gst_event_new, gst_event_finalize): LOG.
20537
20538         * gst/gstelement.c (gst_element_get_state_func): s/INFO/DEBUG/.
20539         (gst_element_get_state_func): Better debug message.
20540         (gst_element_commit_state): s/INFO/DEBUG/.
20541         (gst_element_lost_state, gst_element_change_state): 
20542
20543         * gst/gstmessage.c (gst_message_init): s/INFO/LOG/.
20544         (gst_message_new_custom): s/INFO/LOG/.
20545
20546 2005-10-17  Michael Smith <msmith@fluendo.com>
20547
20548         * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
20549           Check if end time is valid using end time, not start time.
20550
20551 2005-10-17  Stefan Kost  <ensonic@users.sf.net>
20552
20553         * check/gst-libs/controller.c: (GST_START_TEST),
20554         (gst_controller_suite):
20555         * libs/gst/controller/gstcontroller.c:
20556         (gst_controlled_property_set_interpolation_mode):
20557         * libs/gst/controller/gstcontroller.h:
20558         * libs/gst/controller/gstinterpolation.c:
20559         * testsuite/controller/.cvsignore:
20560         * testsuite/controller/Makefile.am:
20561         * testsuite/controller/interpolator.c:
20562           merge controller testsuites
20563           fix broken tests
20564           remove mem-chunk from docs
20565
20566 2005-10-17  Thomas Vander Stichele  <thomas at apestaart dot org>
20567
20568         * gst/gstmemchunk.c:
20569         * gst/gstmemchunk.h:
20570         * gst/gsttrashstack.c:
20571         * gst/gsttrashstack.h:
20572           out.  get out.  you're fired.  to the Attic !
20573
20574 2005-10-17  Thomas Vander Stichele  <thomas at apestaart dot org>
20575
20576         * gst/gstcaps.c: (gst_caps_intersect):
20577           fix signedness issues in a (hopefully) correct way
20578         * gst/gstelement.c: (gst_element_pads_activate):
20579           some debugging
20580         * gst/gstobject.c: (gst_object_set_parent):
20581           some debugging
20582
20583 2005-10-17  Julien MOUTTE  <julien@moutte.net>
20584
20585         * gst/gstvalue.h: Fix prototypes.
20586
20587 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
20588
20589         * docs/gst/gstreamer-sections.txt:
20590         * gst/gst.c: (gst_version_string):
20591         * gst/gst.h:
20592         * gst/gstversion.h.in:
20593         * win32/common/libgstreamer.def:
20594           add gst_version_string ()
20595
20596 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
20597
20598         * configure.ac:
20599           clean up further
20600         * gst/gst.c: (init_post):
20601         * win32/common/config.h.in:
20602           it's PLUGINDIR now
20603         * gst/gstcaps.c: (gst_caps_intersect):
20604           use gint64, the range could be bigger than a guint
20605
20606 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
20607
20608         * gst/gstclock.h:
20609           document potential problem in 2038
20610
20611 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
20612
20613         * gst/gstcaps.c: (gst_caps_intersect):
20614           Fix guint j diving under 0
20615
20616 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
20617
20618         * configure.ac:
20619         * win32/common/config.h:
20620         * win32/common/config.h.in:
20621           check for process.h, declares getpid() on Windows
20622         * gst/gstinfo.c:
20623           include process.h if we have it
20624         * gst/gstmemchunk.c: (populate), (gst_mem_chunk_new):
20625         * gst/gstmemchunk.h:
20626           fix signedness issues
20627         * win32/common/libgstreamer.def:
20628           fix get_type's
20629
20630 2005-10-16  Julien MOUTTE  <julien@moutte.net>
20631
20632         * gst/gstcaps.c: (gst_caps_intersect): Fix a bad bug with a simple
20633         fix. Because of unsigned ints, caps intersection was going nuts and
20634         trying to access structures with G_MAXUINT index. That fixes
20635         videotestsrc ! ffmpegcolorspace ! fakesink
20636         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked): logs
20637         consistency.
20638
20639 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
20640
20641         * configure.ac:
20642           use the gettext macro
20643         * gst/elements/gstelements.c:
20644         * gst/gst.c:
20645         * gst/indexers/gstindexers.c:
20646           update for GST_PACKAGE_NAME, GST_PACKAGE_ORIGIN
20647         * win32/common/config.h:
20648           updated config.h
20649         * win32/common/config.h.in:
20650           add the template to generate config.h
20651         * win32/common/gstenumtypes.c:
20652         * win32/common/gstversion.h:
20653           updated copies
20654
20655 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
20656
20657         * gst/gst.c: (gst_version):
20658         * gst/gstversion.h.in:
20659           add the nano
20660
20661 2005-10-15  Tim-Philipp Müller  <tim at centricular dot net>
20662
20663         * gst/gstevent.h:
20664           Oops, add missing closing bracket.
20665
20666 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
20667
20668         * configure.ac:
20669           use common m4's for argument checking
20670
20671 2005-10-15  Tim-Philipp Müller  <tim at centricular dot net>
20672
20673         * docs/gst/gstreamer-sections.txt:
20674         * gst/gstevent.h:
20675           Add GST_EVENT_TYPE_NAME() macro.
20676
20677 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
20678
20679         * gst/gstinfo.c:
20680         * gst/gstpluginfeature.c:
20681         * gst/gsttask.c:
20682           privatize more symbols
20683
20684 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
20685
20686         * configure.ac:
20687           add srcdir, builddir includes to GST_ALL_CFLAGS, since
20688           everything that uses GStreamer API should have the includes
20689
20690 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
20691
20692         * docs/gst/gstreamer-sections.txt:
20693         * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
20694         * gst/gstvalue.h:
20695           give each value a _get_type, removes the DATA exports
20696
20697 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
20698
20699         * gst/gst.c:
20700         * gst/gst.h:
20701           remove _gst_registry_auto_load, not used anymore
20702         * gst/gstbin.c: (gst_bin_get_type):
20703         * gst/gstbin.h:
20704         * gst/gstelement.c: (gst_element_get_type):
20705         * gst/gstelement.h:
20706         * gst/gstobject.c: (gst_object_get_type):
20707         * gst/gstobject.h:
20708         * gst/gstpad.c: (gst_pad_get_type):
20709         * gst/gstpad.h:
20710           make _get_type functions similar, fixes data export from library
20711
20712 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
20713
20714         * configure.ac:
20715           correctly make conditionals
20716         * gst/elements/Makefile.am:
20717         * gst/elements/gstelements.c:
20718           fix typo causing fdsrc not to build
20719
20720 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
20721
20722         * testsuite/Makefile.am:
20723         * testsuite/bytestream/.cvsignore:
20724         * testsuite/bytestream/Makefile.am:
20725         * testsuite/bytestream/filepadsink.c:
20726         * testsuite/bytestream/gstbstest.c:
20727         * testsuite/bytestream/test1.c:
20728         * testsuite/bytestream/testfile1:
20729         * testsuite/caps/normalisation.c:
20730         * testsuite/caps/random.c: (main):
20731         * testsuite/cleanup/.cvsignore:
20732         * testsuite/cleanup/Makefile.am:
20733         * testsuite/cleanup/cleanup1.c:
20734         * testsuite/cleanup/cleanup2.c:
20735         * testsuite/cleanup/cleanup3.c:
20736         * testsuite/cleanup/cleanup4.c:
20737         * testsuite/cleanup/cleanup5.c:
20738         * testsuite/controller/interpolator.c:
20739         * testsuite/debug/printf_extension.c: (main):
20740         * testsuite/elements/tee.c:
20741         * testsuite/negotiation/.cvsignore:
20742         * testsuite/negotiation/Makefile.am:
20743         * testsuite/negotiation/pad_link.c:
20744         * testsuite/pad/Makefile.am:
20745         * testsuite/pad/chainnopull.c:
20746         * testsuite/pad/getnopush.c:
20747         * testsuite/pad/link.c:
20748         * testsuite/refcounting/sched.c: (create_pipeline):
20749         * testsuite/registry/Makefile.am:
20750         * testsuite/registry/gst-print-formats.c:
20751         * testsuite/schedulers/.cvsignore:
20752         * testsuite/schedulers/142183-2.c:
20753         * testsuite/schedulers/142183.c:
20754         * testsuite/schedulers/143777-2.c:
20755         * testsuite/schedulers/143777.c:
20756         * testsuite/schedulers/147713.c:
20757         * testsuite/schedulers/147819.c:
20758         * testsuite/schedulers/147894-2.c:
20759         * testsuite/schedulers/147894.c:
20760         * testsuite/schedulers/Makefile.am:
20761         * testsuite/schedulers/group_link.c:
20762         * testsuite/schedulers/queue_link.c:
20763         * testsuite/schedulers/relink.c:
20764         * testsuite/schedulers/unlink.c:
20765         * testsuite/schedulers/unref.c:
20766         * testsuite/schedulers/useless_iteration.c:
20767         * testsuite/states/bin.c:
20768           clean out/remove some stuff from the testsuite directories
20769
20770 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
20771
20772         * configure.ac:
20773           check for some headers
20774         * gst/elements/Makefile.am:
20775         * gst/elements/gstelements.c:
20776           don't compile fdsrc without sys/socket.h
20777         * gst/indexers/Makefile.am:
20778         * gst/indexers/gstindexers.c: (plugin_init):
20779           don't compile fileindex without mmap
20780
20781 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
20782
20783         * configure.ac:
20784           reorganize
20785           clean up
20786           document more
20787           remove cruft
20788         * check/Makefile.am:
20789         * docs/gst/Makefile.am:
20790         * examples/helloworld/Makefile.am:
20791         * gst/Makefile.am:
20792         * gst/base/Makefile.am:
20793         * gst/check/Makefile.am:
20794         * gst/elements/Makefile.am:
20795         * gst/indexers/Makefile.am:
20796         * gst/parse/Makefile.am:
20797         * libs/gst/controller/Makefile.am:
20798         * libs/gst/dataprotocol/Makefile.am:
20799         * examples/helloworld/helloworld.c: (event_loop):
20800           compile fixes, though it's not being compiled currently
20801
20802 2005-10-14  Tim-Philipp Müller  <tim at centricular dot net>
20803
20804         * check/gst/gsttag.c: (test_date_tags), (gst_tag_suite):
20805           Add some simple tests for the new taglist date API.
20806
20807 2005-10-14  Tim-Philipp Müller  <tim at centricular dot net>
20808
20809         * gst/elements/gstfakesink.c: (gst_fake_sink_render):
20810         * gst/elements/gstfakesrc.c: (gst_fake_src_create):
20811           Beautify 'last-message' output: print 'none' for buffer timestamps
20812           and durations if none is set; improve alignment with next messages.
20813
20814 2005-10-14  Tim-Philipp Müller  <tim at centricular dot net>
20815
20816         * gst/gstpluginfeature.c: (gst_plugin_feature_check_version):
20817         * gst/gstpluginfeature.h:
20818         * gst/gstregistry.c: (gst_default_registry_check_feature_version):
20819         * gst/gstregistry.h:
20820         * docs/gst/gstreamer-sections.txt:
20821           Add new API to check plugin feature version requirements.
20822
20823         * check/gst/gstplugin.c: (test_version_checks), (gst_plugin_suite):
20824           Some basic tests for the above.         
20825
20826 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
20827
20828         * gst/gststructure.c: (gst_structure_to_string):
20829           guard against NULL printf - happens when for example
20830           a message structure with GstClock gets serialized
20831
20832 2005-10-13  Tim-Philipp Müller  <tim at centricular dot net>
20833
20834         * gst/base/gstcollectpads.c: (gst_collectpads_event):
20835           Fix presumable copy'n'pasto.
20836
20837 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
20838
20839         * gst/elements/gstfakesrc.h:
20840         * gst/elements/gstfilesrc.c: (gst_file_src_create_read):
20841         * gst/elements/gsttypefindelement.c:
20842           fix some signedness
20843         * gst/elements/gstfilesink.c: (gst_file_sink_render):
20844           I wonder if this could actually write +2GB files before
20845
20846 2005-10-13  Andy Wingo  <wingo@pobox.com>
20847
20848         * libs/gst/dataprotocol/dataprotocol.c (gst_dp_packet_from_caps):
20849         Fix Timmeke Waymans bug.
20850         (gst_dp_caps_from_packet): Make sure we pass a NUL-terminated
20851         string of the proper length to gst_caps_from_string. There's a
20852         potential for, before this fix, that this could cause someone
20853         connecting over the network to cause a segfault if the payload is
20854         not NUL-terminated.
20855
20856 2005-10-13  Stefan Kost  <ensonic@users.sf.net>
20857
20858         * docs/design/draft-push-pull.txt:
20859         * docs/design/part-overview.txt:
20860         * docs/random/TODO-pre-0.9:
20861         * docs/random/old/ChangeLog.gstreamer:
20862         * gst/base/gstpushsrc.c:
20863         * gst/gstclock.c:
20864           fixed typos
20865
20866 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
20867
20868         * gst/glib-compat.c: (gst_flags_get_first_value):
20869         * gst/glib-compat.h:
20870         * gst/gstvalue.c: (gst_value_deserialize_int_helper),
20871         (gst_value_compare_double), (gst_value_serialize_flags):
20872           GLib 2.6 g_flags_get_first_value has a bug that triggers an
20873           infinite loop
20874
20875 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
20876
20877         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
20878         * gst/base/gstbasesrc.c: (gst_base_src_get_range):
20879           fix up debugging
20880         * tools/gst-launch.c: (event_loop):
20881           print out clock nicely
20882
20883 2005-10-13  Tim-Philipp Müller  <tim at centricular dot net>
20884
20885         * docs/gst/gstreamer-sections.txt:
20886         * gst/gsttaglist.h:
20887         * gst/gsttaglist.c: (_gst_tag_initialize), (gst_tag_list_get_date),
20888         (gst_tag_list_get_date_index):
20889           Added gst_tag_list_get_date() and gst_tag_list_get_date_index().
20890           GST_TAG_DATE now has a tag type of GST_TYPE_DATE (#170777).
20891
20892 2005-10-13  Julien MOUTTE  <julien@moutte.net>
20893
20894         * gst/base/gstcollectpads.c: (gst_collectpads_event),
20895         (gst_collectpads_chain):
20896         * gst/base/gstcollectpads.h: Handle newsegment and store informations
20897         in CollectData.
20898
20899 2005-10-13  Stefan Kost  <ensonic@users.sf.net>
20900
20901         * docs/gst/gstreamer-sections.txt:
20902         * gst/gst.c:
20903         * gst/gsterror.h:
20904         * tools/gst-inspect.c: (main):
20905         * tools/gst-launch.c: (main):
20906         * tools/gst-run.c: (main):
20907         * tools/gst-xmlinspect.c: (main):
20908           fix GOption context leaks
20909           doc fixes
20910
20911 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
20912
20913         * gst/gstbus.c:
20914           use HAVE_UNISTD_H
20915         * win32/common/config.h:
20916           update config
20917         * win32/vs6/grammar.dsp:
20918         * win32/vs6/libgstelements.dsp:
20919         * win32/vs6/libgstreamer.dsp:
20920           update vs6 files
20921
20922 2005-10-12  Thomas Vander Stichele  <thomas at apestaart dot org>
20923
20924         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
20925         * gst/base/gstbasesrc.c: (gst_base_src_query):
20926           fix more guint64<->gdouble conversions
20927
20928 2005-10-12  Thomas Vander Stichele  <thomas at apestaart dot org>
20929
20930         * Makefile.am:
20931           add win32-update target
20932         * win32/common/gstconfig.h:
20933         * win32/common/gstenumtypes.c:
20934         * win32/common/gstenumtypes.h:
20935         * win32/common/gstversion.h:
20936           add files that visual studio can't generate
20937
20938 2005-10-12  Thomas Vander Stichele  <thomas at apestaart dot org>
20939
20940         * Makefile.am:
20941           add a win32-update target
20942         * configure.ac:
20943
20944 2005-10-12  Wim Taymans  <wim@fluendo.com>
20945
20946         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
20947         (reset_degree), (gst_bin_dispose), (bin_bus_handler):
20948         * gst/gstelement.c: (gst_element_commit_state),
20949         (gst_element_set_state):
20950         Protect flags with proper lock.
20951         unref provided cached clock in dispose.
20952
20953 2005-10-12  Stefan Kost  <ensonic@users.sf.net>
20954
20955         * gst/gst.c:
20956         * gst/gstminiobject.h:
20957         * gst/gstpad.h:
20958         * win32/gstenumtypes.c: (gst_mini_object_flags_get_type):
20959           removed unused flags from miniobject
20960           doc fixes
20961
20962 2005-10-12  Wim Taymans  <wim@fluendo.com>
20963
20964         * gst/elements/gstfilesink.c: (gst_file_sink_do_seek),
20965         (gst_file_sink_event), (gst_file_sink_render):
20966         Flush before seeking.
20967
20968 2005-10-12  Andy Wingo  <wingo@pobox.com>
20969
20970         * gst/gst.c (gst_init_check): Ignore unknown options, as has
20971         always been the case.
20972
20973 2005-10-12  Stefan Kost  <ensonic@users.sf.net>
20974
20975         * check/gst/gstbin.c: (GST_START_TEST):
20976         * docs/gst/gstreamer-sections.txt:
20977         * gst/base/gstbasesink.c: (gst_base_sink_init):
20978         * gst/base/gstbasesrc.c: (gst_base_src_init),
20979         (gst_base_src_get_range), (gst_base_src_check_get_range),
20980         (gst_base_src_start), (gst_base_src_stop):
20981         * gst/base/gstbasesrc.h:
20982         * gst/elements/gstfakesrc.c: (gst_fake_src_set_property):
20983         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
20984         (bin_element_is_sink), (reset_degree), (gst_bin_element_set_state),
20985         (bin_bus_handler):
20986         * gst/gstbin.h:
20987         * gst/gstbuffer.h:
20988         * gst/gstbus.c: (gst_bus_post), (gst_bus_set_flushing):
20989         * gst/gstbus.h:
20990         * gst/gstelement.c: (gst_element_is_locked_state),
20991         (gst_element_set_locked_state), (gst_element_commit_state),
20992         (gst_element_set_state):
20993         * gst/gstelement.h:
20994         * gst/gstindex.c: (gst_index_init):
20995         * gst/gstindex.h:
20996         * gst/gstminiobject.h:
20997         * gst/gstobject.c: (gst_object_init), (gst_object_sink),
20998         (gst_object_set_parent):
20999         * gst/gstobject.h:
21000         * gst/gstpad.c: (gst_pad_set_blocked_async), (gst_pad_is_blocked),
21001         (gst_pad_get_caps_unlocked), (gst_pad_set_caps):
21002         * gst/gstpad.h:
21003         * gst/gstpadtemplate.h:
21004         * gst/gstpipeline.c: (gst_pipeline_provide_clock_func),
21005         (gst_pipeline_use_clock), (gst_pipeline_auto_clock):
21006         * gst/gstpipeline.h:
21007         * gst/indexers/gstfileindex.c: (gst_file_index_load),
21008         (gst_file_index_commit):
21009         * testsuite/bytestream/filepadsink.c: (gst_fp_sink_init):
21010         * testsuite/pad/link.c: (gst_test_src_init),
21011         (gst_test_filter_init), (gst_test_sink_init):
21012         * testsuite/states/locked.c: (main):
21013           renamed GST_FLAGS macros to GST_OBJECT_FLAGS
21014           moved bitshift from macro to enum definition
21015
21016 2005-10-12  Wim Taymans  <wim@fluendo.com>
21017
21018         * gst/base/gstbasesink.c: (gst_base_sink_handle_buffer):
21019         * gst/elements/gstfilesink.c: (gst_file_sink_event),
21020         (gst_file_sink_render):
21021         Some more debugging info.
21022
21023 2005-10-12  Wim Taymans  <wim@fluendo.com>
21024
21025         * docs/design/part-states.txt:
21026         * tools/gst-launch.c: (main):
21027         Some doc updates.
21028         Revert non-intentional change.
21029
21030 2005-10-12  Wim Taymans  <wim@fluendo.com>
21031
21032         * check/gst/gstbin.c: (GST_START_TEST):
21033         * check/gst/gstelement.c: (GST_START_TEST):
21034         * check/gst/gstevent.c: (GST_START_TEST), (test_event):
21035         * check/gst/gstghostpad.c: (GST_START_TEST):
21036         * check/gst/gstpipeline.c: (GST_START_TEST):
21037         * check/pipelines/simple_launch_lines.c: (run_pipeline):
21038         * check/states/sinks.c: (GST_START_TEST):
21039         * gst/elements/gsttypefindelement.c: (stop_typefinding):
21040         * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
21041         (gst_bin_remove_func), (gst_bin_get_state_func),
21042         (gst_bin_recalc_state), (gst_bin_change_state_func),
21043         (bin_bus_handler):
21044         * gst/gstelement.c: (gst_element_get_state_func),
21045         (gst_element_get_state), (gst_element_abort_state),
21046         (gst_element_commit_state), (gst_element_set_state),
21047         (gst_element_change_state), (gst_element_change_state_func):
21048         * gst/gstelement.h:
21049         * gst/gstpipeline.c: (gst_pipeline_class_init), (do_pipeline_seek),
21050         (gst_pipeline_provide_clock_func):
21051         * gst/gstutils.c: (gst_element_link_pads_filtered):
21052         * tools/gst-launch.c: (main):
21053         * tools/gst-typefind.c: (main):
21054         Use GstClockTime in _get_state() instead of GTimeVal.
21055         Remove old code in gstutils.c
21056
21057 2005-10-12  Andy Wingo  <wingo@pobox.com>
21058
21059         * gst/gstregistry.h (gst_registry_scan_paths): Not implemented, so
21060         removed.
21061
21062         * gst/gstpad.c (gst_pad_pause_task): Actually return FALSE if
21063         there is no task. Shouldn't affect any code, as nothing in our
21064         plugins checks this return value.
21065         (gst_pad_stop_task): Also take the stream lock if the pad has no
21066         task. Docs updated.
21067
21068 2005-10-12  Wim Taymans  <wim@fluendo.com>
21069
21070         * gst/gstpad.c: (pre_activate), (post_activate),
21071         (gst_pad_activate_pull), (gst_pad_activate_push):
21072         Cleanup activation code. Reset old state if
21073         activation failed.
21074
21075 2005-10-12  Wim Taymans  <wim@fluendo.com>
21076
21077         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
21078         (gst_base_sink_change_state):
21079         No need to prerol after receiving EOS.
21080
21081         * gst/elements/gstfakesink.c: (gst_fake_sink_event):
21082         * gst/elements/gstfakesrc.c: (gst_fake_src_event_handler):
21083         * gst/elements/gstidentity.c: (gst_identity_event):
21084         Print events more verbosely.
21085
21086 2005-10-12  Wim Taymans  <wim@fluendo.com>
21087
21088         * check/Makefile.am:
21089         * check/states/sinks.c: (GST_START_TEST), (gst_object_suite):
21090         * check/states/sinks2.c:
21091         Moved sinks2 testcode in sinks check.
21092
21093         * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
21094         (gst_bin_remove_func), (gst_bin_recalc_state),
21095         (gst_bin_change_state_func), (bin_bus_handler):
21096         Fix potential race condition when _get_state() iterated over an
21097         ASYNC element right before it posted a state completion.
21098
21099         * gst/gstclock.h:
21100         Do proper cast here.
21101
21102         * gst/gstevent.c: (gst_event_new_newsegment),
21103         (gst_event_parse_newsegment):
21104         A playback rate of 0.0 is not allowed.
21105
21106 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
21107
21108         * win32/common/config.h:
21109         * win32/common/dirent.c: (_topendir), (_treaddir), (_tclosedir),
21110         (_trewinddir), (_ttelldir), (_tseekdir):
21111         * win32/common/dirent.h:
21112         * win32/common/gtchar.h:
21113         * win32/common/libgstbase.def:
21114         * win32/common/libgstreamer.def:
21115         * win32/vs6/grammar.dsp:
21116         * win32/vs6/gst_inspect.dsp:
21117         * win32/vs6/gst_launch.dsp:
21118         * win32/vs6/gstreamer.dsw:
21119         * win32/vs6/libgstbase.dsp:
21120         * win32/vs6/libgstelements.dsp:
21121         * win32/vs6/libgstreamer.dsp:
21122           Visual Studio 6 project files, and a new common directory.
21123           Phear.
21124
21125 2005-10-11  Wim Taymans  <wim@fluendo.com>
21126
21127         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
21128         (gst_base_sink_do_sync), (gst_base_sink_query),
21129         (gst_base_sink_change_state):
21130         * gst/base/gstbasesink.h:
21131         Correctly parse newsegment info.
21132
21133 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
21134
21135         * gst/gst.c: (init_post):
21136           split plugin paths correctly
21137
21138 2005-10-11  Wim Taymans  <wim@fluendo.com>
21139
21140         * check/gst/gstevent.c: (GST_START_TEST):
21141         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
21142         (gst_base_sink_change_state):
21143         * gst/base/gstbasesrc.c: (gst_base_src_default_newsegment):
21144         * gst/base/gstbasetransform.c: (gst_base_transform_event):
21145         * gst/elements/gstfilesink.c: (gst_file_sink_event):
21146         * gst/gstevent.c: (gst_event_new_newsegment),
21147         (gst_event_parse_newsegment):
21148         * gst/gstevent.h:
21149         Added extra flag to newsegment for future API freeze.
21150         Updated check and base elements.
21151
21152 2005-10-11  Julien MOUTTE  <julien@moutte.net>
21153
21154         * gst/base/gstcollectpads.c: (gst_collectpads_init),
21155         (gst_collectpads_add_pad), (gst_collectpads_pop),
21156         (gst_collectpads_event), (gst_collectpads_chain):
21157         * gst/base/gstcollectpads.h: Handle EOS correctly.
21158
21159 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
21160
21161         * tools/gst-launch.c: (main):
21162           more null protecting
21163
21164 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
21165
21166         * gst/gst-i18n-lib.h:
21167           check for ENABLE_NLS, not GETTEXT_PACKAGE
21168         * gst/gstregistry.c: (gst_registry_add_plugin),
21169         (gst_registry_scan_path_level),
21170         (_gst_registry_remove_cache_plugins):
21171           protect possibly NULL strings
21172         * gst/parse/types.h:
21173           config.h already included before
21174         * tools/gst-inspect.c: (main):
21175           sys/wait.h also doesn�t exist on mingw, so change the ifdef check
21176           check for ENABLE_NLS, not GETTEXT_PACKAGE
21177         * tools/gst-launch.c: (main):
21178           check for ENABLE_NLS, not GETTEXT_PACKAGE
21179
21180 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
21181
21182         * configure.ac:
21183           if we don't have glib, fail before testing 2.8
21184         * gst/base/gstbasetransform.c: (gst_base_transform_change_state):
21185           fix a leak, should fix plugins-base testsuite
21186
21187 2005-10-11  Andy Wingo  <wingo@pobox.com>
21188
21189         * gst/gstpad.c (pre_activate): Renamed from pre_activate_switch,
21190         take the mode we're going to as an arg. Go head and set the mode
21191         and flushing flags now, so that if the activate function starts a
21192         thread all the flags will be in the right state.
21193         (post_activate): Renamed also. Just handle making sure streaming
21194         finishes for the deactivation case, and setting the deactivated
21195         mode.
21196         (gst_pad_set_active): Complain loudly if deactivation fails.
21197         (gst_pad_activate_pull): Adapt to pre/post_activate changes.
21198         (gst_pad_activate_push): Adapt to pre/post_activate changes,
21199         remove the terrible hack.
21200
21201 2005-10-11  Wim Taymans  <wim@fluendo.com>
21202
21203         * gst/gstbin.c: (gst_bin_init), (gst_bin_provide_clock_func),
21204         (is_eos), (gst_bin_add_func), (gst_bin_remove_func),
21205         (gst_bin_recalc_state), (gst_bin_change_state_func),
21206         (gst_bin_dispose), (bin_bus_handler):
21207         * gst/gstbin.h:
21208         Prepare to make current EOS message queue more generic.
21209         Fix some typos.
21210
21211         * gst/gstevent.c: (gst_event_new_newsegment),
21212         (gst_event_parse_newsegment):
21213         * gst/gstevent.h:
21214         Rename base to stream_time.
21215
21216         * gst/gstmessage.h:
21217         Fix typo in docs.
21218
21219 2005-10-11  Wim Taymans  <wim@fluendo.com>
21220
21221         * gst/gstbin.c: (gst_bin_init), (gst_bin_provide_clock_func),
21222         (gst_bin_add_func), (gst_bin_remove_func), (gst_bin_recalc_state),
21223         (gst_bin_change_state_func), (bin_bus_handler):
21224         * gst/gstbin.h:
21225         Work on proper clock selection.
21226
21227 2005-10-11  Edward Hervey  <edward@fluendo.com>
21228
21229         * libs/gst/controller/gstcontroller.c: (gst_controller_remove_properties_list): 
21230         * libs/gst/controller/gstcontroller.h:
21231         Added GList* version of _remove_properties() in order to be able to wrap
21232         it in bindings.
21233
21234 2005-10-11  Wim Taymans  <wim@fluendo.com>
21235
21236         * docs/design/part-states.txt:
21237         Some more docs.
21238
21239         * gst/gstbin.c: (gst_bin_set_clock_func), (gst_bin_recalc_state),
21240         (gst_bin_change_state_func), (bin_bus_handler):
21241         Doc updates. Don't distribute the same clock over and over again.
21242
21243         * gst/gstclock.c:
21244         * gst/gstclock.h:
21245         Doc updates.
21246
21247         * gst/gstpad.c: (gst_flow_get_name), (gst_flow_to_quark),
21248         (gst_pad_get_type), (gst_pad_push), (gst_pad_push_event),
21249         (gst_pad_send_event):
21250         * gst/gstpad.h:
21251         Make probe emission threadsafe again.
21252         Register quarks and move _get_name() from utils.
21253         Doc updates.
21254
21255         * gst/gstpipeline.c: (gst_pipeline_class_init),
21256         (gst_pipeline_change_state), (gst_pipeline_provide_clock_func):
21257         Only redistribute the clock of it changed.
21258
21259         * gst/gstsystemclock.h:
21260         Doc updates. 
21261
21262         * gst/gstutils.c:
21263         * gst/gstutils.h:
21264         Moved the _flow_get_name() to GstPad.
21265
21266 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
21267
21268         * check/gst-libs/gdp.c: (GST_START_TEST):
21269         * check/gst/gstcaps.c: (GST_START_TEST):
21270         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_crc),
21271         (gst_dp_dump_byte_array), (gst_dp_header_from_buffer),
21272         (gst_dp_packet_from_caps):
21273           fix more valgrind warnings before turning up the heat
21274
21275 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
21276
21277         * gst/parse/grammar.y:
21278           some cleanup before the hacking
21279
21280 2005-10-10  Thomas Vander Stichele  <thomas at apestaart dot org>
21281
21282         * gst/base/gstbasesrc.c: (gst_base_src_query):
21283           use conversions
21284         * gst/gstutils.c: (gst_guint64_to_gdouble),
21285         (gst_gdouble_to_guint64), (gst_util_uint64_scale):
21286         * gst/gstutils.h:
21287           externalize, basesrc uses it
21288           obviously the implementation needs testing
21289
21290 2005-10-10  Wim Taymans  <wim@fluendo.com>
21291
21292         * tests/sched/Makefile.am:
21293         * tests/sched/sort.c: (make_pipeline1), (make_pipeline2),
21294         (make_pipeline3), (make_pipeline4), (print_elem), (main):
21295
21296 2005-10-10  Thomas Vander Stichele  <thomas at apestaart dot org>
21297
21298         * gst/gstutils.c: (guint64_to_gdouble), (gst_util_uint64_scale):
21299           apparently converting from guint64 to double is not implemented
21300           on MSVC
21301
21302 2005-10-10  Wim Taymans  <wim@fluendo.com>
21303
21304         * check/Makefile.am:
21305         * check/generic/states.c: (GST_START_TEST):
21306         * check/gst/gstbin.c: (GST_START_TEST):
21307         * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
21308         * check/states/sinks.c: (GST_START_TEST):
21309         * check/states/sinks2.c: (GST_START_TEST), (gst_object_suite),
21310         (main):
21311         Check fixes, use API as stated in design docs, remove hacks.
21312
21313         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
21314         (gst_base_sink_change_state):
21315         Catch stopping our task while we're shutting down.
21316
21317         * gst/gstbin.c: (gst_bin_init), (gst_bin_add_func),
21318         (gst_bin_remove_func), (gst_bin_get_state_func),
21319         (gst_bin_recalc_state), (gst_bin_change_state_func),
21320         (bin_bus_handler):
21321         * gst/gstbin.h:
21322         * gst/gstelement.c: (gst_element_init),
21323         (gst_element_get_state_func), (gst_element_abort_state),
21324         (gst_element_commit_state), (gst_element_lost_state),
21325         (gst_element_set_state), (gst_element_change_state),
21326         (gst_element_change_state_func):
21327         * gst/gstelement.h:
21328         New state change algorithm (see #318116)
21329
21330         * gst/gstpipeline.c: (gst_pipeline_class_init),
21331         (gst_pipeline_init), (gst_pipeline_set_property),
21332         (gst_pipeline_get_property), (do_pipeline_seek),
21333         (gst_pipeline_change_state), (gst_pipeline_provide_clock_func):
21334         * gst/gstpipeline.h:
21335         Remove crude state change hacks.
21336
21337         * gst/gstutils.h:
21338         Remove crude hacks.
21339
21340         * tools/gst-launch.c: (main):
21341         Fixes for state change. Needs some more work to fully use the
21342         new stuff.
21343
21344 2005-10-10  Andy Wingo  <wingo@pobox.com>
21345
21346         * tests/Makefile.am (noinst_PROGRAMS): No more init.c.
21347
21348         * gst/gst.c (G_OPTION_FLAG_NO_ARG): Apparently GLib 2.8 requires
21349         this flag, but it's not even in GLib 2.6. Odd. Hack around the
21350         issue.
21351
21352 2005-10-10  Tim-Philipp Müller  <tim at centricular dot net>
21353
21354         * gst/gstiterator.c: (gst_iterator_new):
21355           Fix my previous commit: GTypes passed to gst_iterator_new()
21356           can be fundamental types.
21357
21358 2005-10-10  Wim Taymans  <wim@fluendo.com>
21359
21360         * gst/gstelement.c: (gst_element_iterate_pad_list),
21361         (gst_element_iterate_pads), (gst_element_iterate_src_pads),
21362         (gst_element_iterate_sink_pads):
21363         Use src/sink pads lists for the respective iterators instead
21364         of filtering.
21365
21366 2005-10-10  Andy Wingo  <wingo@pobox.com>
21367
21368         Merged in popt removal + GOption addition patch from Ronald, bug
21369         #169772.
21370
21371         * docs/gst/gstreamer-sections.txt: Add STATE_(UN)LOCK_FULL, move
21372         GstElement macros around, remove popt-related symbols, add goption
21373         stuff.
21374
21375         * configure.ac: Remove popt checks, require GLib 2.6 for GOption.
21376         
21377         * docs/gst/Makefile.am:
21378         * docs/libs/Makefile.am: No POPT_CFLAGS.
21379         
21380         * examples/manual/Makefile.am:
21381         * docs/manual/basics-init.xml: Doc updates with an example.
21382         
21383         * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
21384         (gst_init), (parse_one_option), (parse_goption_arg):
21385         * gst/gst.h: Removed gst_init_with_popt_table and friends. Took a
21386         bit of hand merging and debugging to get the GOption stuff working
21387         tho.
21388         
21389         * tests/Makefile.am:
21390         * tools/Makefile.am:
21391         * tools/gst-inspect.c: (main):
21392         * tools/gst-launch.c: (main):
21393         * tools/gst-run.c: (main):
21394         * tools/gst-xmlinspect.c: (main): Thanks Ronald!
21395
21396 2005-10-10  Tim-Philipp Müller  <tim at centricular dot net>
21397
21398         * gst/gstiterator.c: (gst_iterator_new):
21399           Add assertions to make sure passed GType is likely to really
21400           be a GType (as the compiler won't catch it if the size and
21401           GType arguments get mixed up, see #318447).
21402
21403 2005-10-10  Josef Zlomek  <josef dot zlomek at xeris dot cz>
21404
21405         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
21406
21407         * gst/gstbin.c: (gst_bin_iterate_sorted):
21408           Pass GType and size arguments to gst_iterator_new() in the right
21409           order (maybe we should make _new() take the GType as first argument
21410           just like _new_list()?) (#318447).
21411           
21412
21413 2005-10-10  Wim Taymans  <wim@fluendo.com>
21414
21415         * gst/gstelement.c: (gst_element_finalize):
21416         And free the GStaticRecMutex too
21417
21418 2005-10-10  Andy Wingo  <wingo@pobox.com>
21419
21420         * gst/gstelement.c (gst_element_init, gst_element_finalize):
21421         Allocate and free the mutex properly.
21422
21423         * gst/gstelement.h (GST_STATE_UNLOCK_FULL, GST_STATE_LOCK_FULL):
21424         New macros.
21425         (GstElement): The state_lock is now recursive. Rebuild your
21426         plugins, suckers. Old macros adapted.
21427
21428         * docs/gst/gstreamer-sections.txt: Doc updates.
21429
21430         * gst/gstutils.h:
21431         * gst/gstutils.c (g_static_rec_cond_timed_wait) 
21432         (g_static_rec_cond_wait): Ported from state changes patch, while
21433         we wait on bug #317802 to be solved in a well-distributed GLib.
21434
21435         * gst/gstelement.c (gst_element_change_state_func): Renamed from
21436         gst_element_change_state, variable name changes.
21437         (gst_element_change_state): Split out of gst_element_set_state in
21438         preparation for the state change merge. Doesn't pay attention to
21439         the 'transition' argument.
21440         (gst_element_set_state): Updates, hopefully purely cosmetic.
21441         (gst_element_sync_state_with_parent): MT-safety. Ported from the
21442         state change patch.
21443         (gst_element_get_state_func): Renamed from get_state, cosmetic
21444         changes.
21445
21446 2005-10-10  Thomas Vander Stichele  <thomas at apestaart dot org>
21447
21448         * gst/elements/gstelements.c:
21449         * win32/GStreamer.vcproj:
21450         * win32/config.h:
21451         * win32/dirent.c: (_tseekdir):
21452         * win32/gst-inspect.vcproj:
21453         * win32/gst-launch.vcproj:
21454         * win32/gstconfig.h:
21455         * win32/gstelements.vcproj:
21456         * win32/gstenumtypes.c: (gst_object_flags_get_type):
21457         * win32/gstreamer.def:
21458         * win32/msvc71.sln:
21459           updates for the win32 build (patch from Sebastien Moutte)
21460
21461 2005-10-10  Andy Wingo  <wingo@pobox.com>
21462
21463         * gst/gstbin.c (gst_bin_get_state_func): Renamed from
21464         gst_bin_get_state, cleaned up (but no logic changes).
21465         (bin_element_is_sink): Comment updates.
21466         (sink_iterator_filter): Remove needless cast.
21467         (gst_bin_iterate_sinks): Doc update.
21468         (gst_bin_change_state_func): Renamed from gst_bin_change_state,
21469         cleaned up (but no logic changes).
21470
21471         * check/states/sinks.c (test_src_sink): Cleanups from the state
21472         change patch.
21473         (test_livesrc_sink): Sync on the state.
21474
21475         * check/pipelines/simple_launch_lines.c (run_pipeline): Merge from
21476         the state change patch.
21477
21478         * check/gst/gstghostpad.c (test_ghost_pads): Merge from the state
21479         change patch.
21480
21481         * check/gst/gstbin.c: Merge in some style fixes and additional
21482         checks from Wim's state change patch.
21483
21484 2005-10-10  Tim-Philipp Müller  <tim at centricular dot net>
21485
21486         * gst/base/gsttypefindhelper.c: (helper_find_peek),
21487         (gst_type_find_helper):
21488           Check whether we have the requested data already in our list of
21489           cached buffers before pulling a new buffer; also make the buffer
21490           list a GSList. Speeds up typefinding by ca. 5-10% altogether.
21491
21492 2005-10-10  Thomas Vander Stichele  <thomas at apestaart dot org>
21493
21494         * gst/gstcaps.c:
21495         * gst/gstevent.c:
21496           doc updates
21497         * gst/gstvalue.c: (gst_value_deserialize_int_helper):
21498           don't use long long, it's not portable.  Replacing with
21499           gint64 seems to work; let's hope no skeletons fall out of the closet.
21500
21501 2005-10-10  Andy Wingo  <wingo@pobox.com>
21502
21503         * autogen.sh (CONFIGURE_DEF_OPT): No more --plugin-buiddir, yay
21504
21505 2005-10-09  Stefan Kost  <ensonic@users.sf.net>
21506
21507         * docs/gst/gstreamer-sections.txt:
21508         * gst/gstevent.c:
21509         * gst/gstevent.h:
21510         * gst/gstinfo.c:
21511         * gst/gstinfo.h:
21512         * gst/gstmessage.c: (gst_message_parse_state_changed):
21513         * gst/gstpad.c:
21514         * gst/gstpad.h:
21515           more docs, fix compilation
21516
21517 2005-10-09  Philippe Khalaf <burger@speedy.org>
21518         * gst/gstmessage.c:
21519           Fixed a few forgotten variables on previous commit
21520
21521 2005-10-09  Tim-Philipp Müller  <tim at centricular dot net>
21522
21523         * gst/base/gsttypefindhelper.c: (helper_find_peek):
21524           Fix evil typefind crasher: getrange() might return a short
21525           buffer at the end of a file, but gst_type_find_peek() must
21526           either return the full data as requested or NULL, but
21527           never a short buffer.
21528
21529 2005-10-09  Thomas Vander Stichele  <thomas at apestaart dot org>
21530
21531         * gst/gstmessage.c: (gst_message_new_state_changed),
21532         (gst_message_parse_state_changed):
21533         * gst/gstmessage.h:
21534           don't use "new", it's a C++ keyword
21535
21536 2005-10-08  Wim Taymans  <wim@fluendo.com>
21537
21538         * gst/gstbin.c: (is_eos), (update_degree), (gst_bin_query):
21539         * gst/gstelement.c: (gst_element_post_message):
21540         * gst/gstpipeline.c: (gst_pipeline_change_state):
21541         Small docs and debug updates.
21542
21543 2005-10-08  Stefan Kost  <ensonic@users.sf.net>
21544
21545         * docs/gst/gstreamer-sections.txt:
21546         * gst/gstelementfactory.c:
21547         * gst/gstevent.c:
21548         * gst/gsttaglist.c:
21549           more docs
21550
21551 2005-10-08  Wim Taymans  <wim@fluendo.com>
21552
21553         * gst/gstbin.c: (is_eos), (update_degree), (gst_bin_change_state),
21554         (gst_bin_dispose), (bin_bus_handler):
21555         Fix typos, add comments.
21556         Clear EOS list when going to PAUSED from any direction and do it
21557         in a threadsafe way.
21558         Get base time in a threadsafe way too.
21559         Fix confusing debug in the change_state function.
21560         Various other small cleanups.
21561         
21562         * gst/gstelement.c: (gst_element_post_message):
21563         Fix very verbose bus posting code.
21564
21565         * gst/gstpipeline.c: (gst_pipeline_class_init),
21566         (gst_pipeline_set_property), (gst_pipeline_get_property),
21567         (gst_pipeline_change_state):
21568         Small ARG_ -> PROP_ cleanup
21569
21570 2005-10-08  Wim Taymans  <wim@fluendo.com>
21571
21572         * gst/gstbin.c: (is_eos), (bin_bus_handler):
21573         Do a less CPU demanding EOS check because we can.
21574
21575 2005-10-08  Wim Taymans  <wim@fluendo.com>
21576
21577         * libs/gst/dataprotocol/dataprotocol.c:
21578         (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
21579         (gst_dp_packet_from_event):
21580         * libs/gst/dataprotocol/dataprotocol.h:
21581         * libs/gst/dataprotocol/dp-private.h:
21582         It's about time we bump the version number.
21583         Since event types don't fit in the guint8 anymore describing
21584         the payload type, make payload type 16 bits wide.
21585
21586 2005-10-08  Wim Taymans  <wim@fluendo.com>
21587
21588         * docs/design/part-TODO.txt:
21589         * docs/design/part-clocks.txt:
21590         * docs/design/part-events.txt:
21591         * docs/design/part-gstbin.txt:
21592         * docs/design/part-gstelement.txt:
21593         * docs/design/part-gstpipeline.txt:
21594         * docs/design/part-live-source.txt:
21595         * docs/design/part-messages.txt:
21596         * docs/design/part-overview.txt:
21597         * docs/design/part-states.txt:
21598         Many doc updates.
21599
21600 2005-10-08  Wim Taymans  <wim@fluendo.com>
21601
21602         * gst/gstevent.c:
21603         * gst/gstevent.h:
21604         Fix event quark registration.
21605         Add some space between events so we can insert them in the
21606         right groups.
21607
21608 2005-10-08  Wim Taymans  <wim@fluendo.com>
21609
21610         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
21611         (gst_base_sink_handle_buffer):
21612         Better log message.
21613
21614         * gst/gstbus.h:
21615         * gst/gstelement.h:
21616         More docs.
21617
21618         * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
21619         (gst_queue_set_property), (gst_queue_get_property):
21620         * gst/gstqueue.h:
21621         Remove old unused properties.
21622
21623 2005-10-08  Stefan Kost  <ensonic@users.sf.net>
21624         * docs/gst/gstreamer-sections.txt:
21625         * gst/gstmessage.c:
21626         * gst/gstmessage.h:
21627         * gst/gstminiobject.c:
21628         * gst/gstminiobject.h:
21629         * gst/gstobject.h:
21630         * gst/gstpad.h:
21631         * gst/gstutils.h:
21632           lots of new docs and doc fixes
21633
21634 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
21635
21636         * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_load_file):
21637         * gst/gstplugin.h:
21638         * gst/gstregistry.c: (gst_registry_lookup_locked),
21639         (gst_registry_scan_path_level):
21640         * gst/gstregistryxml.c: (load_plugin):
21641           Only ever load one plugin for a given plugin basename.
21642           This ensures correct overriding of GST_PLUGIN_PATH over
21643           GST_PLUGIN_SYSTEM_PATH and of home dir plugins over
21644           system installed plugins.
21645
21646 2005-10-08  Wim Taymans  <wim@fluendo.com>
21647
21648         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
21649         (gst_base_sink_do_sync), (gst_base_sink_handle_buffer):
21650         Prepare for doing QOS.
21651
21652 2005-10-08  Wim Taymans  <wim@fluendo.com>
21653
21654         * check/gst/gstbin.c: (GST_START_TEST):
21655         * check/pipelines/cleanup.c: (GST_START_TEST):
21656         * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
21657         Allow new clock message too.
21658
21659 2005-10-08  Wim Taymans  <wim@fluendo.com>
21660
21661         * gst/gstmessage.c: (gst_message_new_error),
21662         (gst_message_new_warning), (gst_message_new_tag),
21663         (gst_message_new_state_changed), (gst_message_new_clock_provide),
21664         (gst_message_new_clock_lost), (gst_message_new_new_clock),
21665         (gst_message_new_segment_start), (gst_message_new_segment_done),
21666         (gst_message_parse_state_changed),
21667         (gst_message_parse_clock_provide), (gst_message_parse_clock_lost),
21668         (gst_message_parse_new_clock):
21669         * gst/gstmessage.h:
21670         Also carry the clock in question.
21671
21672 2005-10-08  Wim Taymans  <wim@fluendo.com>
21673
21674         * gst/gstmessage.c: (gst_message_new_custom),
21675         (gst_message_new_eos), (gst_message_new_error),
21676         (gst_message_new_warning), (gst_message_new_tag),
21677         (gst_message_new_state_changed), (gst_message_new_clock_provide),
21678         (gst_message_new_new_clock), (gst_message_new_segment_start),
21679         (gst_message_new_segment_done), (gst_message_parse_state_changed),
21680         (gst_message_parse_clock_provide), (gst_message_parse_new_clock):
21681         * gst/gstmessage.h:
21682         Clean up.
21683         Added clock related messages.
21684
21685         * gst/gstpipeline.c: (gst_pipeline_change_state):
21686         Post message when the clock changed.
21687
21688         * tools/gst-launch.c: (event_loop):
21689         Print new clock.
21690
21691 2005-10-08  Tim-Philipp Müller  <tim at centricular dot net>
21692
21693         * tools/gst-inspect.c: (print_element_properties_info):
21694           Can't pass NULL strings to g_print() on windows.
21695
21696 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
21697
21698         * docs/Makefile.am:
21699         * docs/gst/Makefile.am:
21700         * docs/gst/gstreamer-docs.sgml:
21701         * docs/gst/running.xml:
21702         * docs/version.entities.in:
21703           add a chapter on running GStreamer.
21704           document GST_DEBUG and GST_PLUGIN* env vars
21705
21706 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
21707
21708         * Makefile.am:
21709           remove include dir
21710         * configure.ac:
21711           remove PLUGINS_BUILDDIR stuff
21712         * gst/gst.c: (init_post):
21713           reorder parsing of GST_PLUGIN_PATH and GST_PLUGIN_SYSTEM_PATH
21714         * idiottest.mak:
21715           remove, it was condescending and not needed
21716
21717 2005-10-08  Wim Taymans  <wim@fluendo.com>
21718
21719         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
21720         (gst_base_sink_handle_object), (gst_base_sink_event),
21721         (gst_base_sink_wait), (gst_base_sink_handle_event),
21722         (gst_base_sink_change_state):
21723         * gst/base/gstbasesink.h:
21724         Repost EOS message while going to PLAYING if still EOS.
21725         Make sure that when receiving a FLUSH_START we don't attempt
21726         to sync on the clock anymore.
21727
21728 2005-10-08  Wim Taymans  <wim@fluendo.com>
21729
21730         * tools/gst-launch.c: (event_loop):
21731         Better message printout.
21732
21733 2005-10-08  Wim Taymans  <wim@fluendo.com>
21734
21735         * gst/gstbin.c: (gst_bin_child_proxy_get_child_by_index),
21736         (gst_bin_child_proxy_get_children_count):
21737         * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
21738         (gst_child_proxy_lookup), (gst_child_proxy_get_property),
21739         (gst_child_proxy_get_valist), (gst_child_proxy_set_property),
21740         (gst_child_proxy_set_valist):
21741         * gst/parse/grammar.y:
21742         Make ChildProxy threadsafe and fix mem leaks.
21743
21744 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
21745
21746         * gst/gst.c: (init_post):
21747           debug the GST_PLUGIN_ env vars
21748
21749 2005-10-08  Wim Taymans  <wim@fluendo.com>
21750
21751         * check/gst/gstbin.c: (GST_START_TEST):
21752         * check/gst/gstmessage.c: (GST_START_TEST):
21753         * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
21754         * gst/gstelement.c: (gst_element_commit_state),
21755         (gst_element_lost_state):
21756         * gst/gstmessage.c: (gst_message_new_state_changed),
21757         (gst_message_parse_state_changed):
21758         * gst/gstmessage.h:
21759         * tools/gst-launch.c: (event_loop):
21760         Added extra field to STATE_CHANGE message with the pending
21761         state, which will be different from the new state soon.
21762
21763 2005-10-08  Wim Taymans  <wim@fluendo.com>
21764
21765         * gst/gstbus.c: (gst_bus_pop):
21766         * gst/gstclock.c:
21767         * gst/gstsystemclock.c: (gst_system_clock_async_thread):
21768         Small cleanups and doc updates.
21769
21770 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
21771
21772         * gst/gst.c: (init_pre):
21773         * gst/gstbin.c: (gst_bin_add_func):
21774           log distributing clocks and base time
21775         * gst/gstregistry.c: (gst_registry_add_plugin),
21776         (gst_registry_scan_path_level), (gst_registry_scan_path):
21777           clean up the debugging output a little
21778         * gst/gstutils.c: (gst_element_state_get_name):
21779           warn about a memleak (I've actually seen this be used, though
21780           it was probably a bug)
21781
21782 2005-10-07  Wim Taymans  <wim@fluendo.com>
21783
21784         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
21785         (gst_base_src_init), (gst_base_src_default_newsegment),
21786         (gst_base_src_newsegment), (gst_base_src_do_seek),
21787         (gst_base_src_loop), (gst_base_src_start):
21788         * gst/base/gstbasesrc.h:
21789         Make the newsegment event customizable by subclasses.
21790
21791 2005-10-07  Wim Taymans  <wim@fluendo.com>
21792
21793         * gst/gstevent.c: (gst_event_new_buffersize),
21794         (gst_event_parse_buffersize):
21795         * gst/gstevent.h:
21796         New event for future idea.
21797
21798 2005-10-07  Andy Wingo  <wingo@pobox.com>
21799
21800         * gst/gstelement.c (gst_element_post_message): Doc update.
21801
21802         * docs/gst/gstreamer-sections.txt: Update.
21803
21804         * gst/gstmessage.c (gst_message_new_application): Made into a
21805         function like honest API calls.
21806         (gst_message_new_element): New message type.
21807
21808         * gst/gstmessage.h (enum): Add GST_MESSAGE_ELEMENT type.
21809
21810         * check/elements/fakesrc.c (test_no_preroll): New check, checks
21811         that setting a live fakesrc to PAUSED returns NO_PREROLL both
21812         times.
21813
21814         * gst/base/gstbasesrc.c (gst_base_src_change_state): Allow a
21815         NO_PREROLL from gst_element_change_state to fall through.
21816
21817 2005-10-07  Wim Taymans  <wim@fluendo.com>
21818
21819         * gst/gstghostpad.c: (gst_ghost_pad_get_internal),
21820         (gst_ghost_pad_do_activate_push):
21821         Activating a ghostpad with no internal pad in push mode
21822         is ok.
21823
21824 2005-10-07  Thomas Vander Stichele  <thomas at apestaart dot org>
21825
21826         * gst/gstobject.h:
21827           there's no point in wrapping FLAG_SET/_UNSET in STMT macros.
21828           Fixes compilation on Windows.
21829
21830 2005-10-07  Michael Smith <msmith@fluendo.com>
21831
21832         * tools/gst-inspect.c:
21833           Print out feature and plugin count at the end when printing out
21834           all features.
21835
21836 2005-10-04  Michael Smith <msmith@fluendo.com>
21837
21838         * gst/gsterror.c: (_gst_stream_errors_init):
21839           Add another error string used in a few existing plugins.
21840
21841         * gst/gstplugin.c:
21842         * gst/gstpluginfeature.c: (gst_plugin_feature_load):
21843         * tools/gst-inspect.c: (print_element_info):
21844           When a feature disappears from a plugin (and the feature exists in
21845           the cached registry file), things went horribly wrong. This isn't a
21846           complete fix, we should actually be removing the 'missing' features
21847           from the features list when we load the actual plugin. That's not
21848           yet implemented. 
21849
21850 2005-10-04  Johan Dahlin  <johan@gnome.org>
21851
21852         * check/gst/gstiterator.c: (GST_START_TEST):
21853         * gst/gstbin.c: (gst_bin_iterate_elements),
21854         (gst_bin_iterate_recurse), (gst_bin_iterate_sorted):
21855         * gst/gstelement.c: (gst_element_iterate_pads):
21856         * gst/gstformat.c: (gst_format_iterate_definitions):
21857         * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
21858         (gst_iterator_new_list), (gst_iterator_filter):
21859         * gst/gstiterator.h:
21860         * gst/gstquery.c: (gst_query_type_iterate_definitions):
21861         Add a GType to GstIterator, update callsites and tests.
21862
21863 2005-10-06  Thomas Vander Stichele  <thomas at apestaart dot org>
21864
21865         * gst/gstpad.c: (gst_pad_event_default_dispatch):
21866           give events a chance to be handled by event probes when the pad
21867           is not linked
21868
21869 2005-10-06  Thomas Vander Stichele  <thomas at apestaart dot org>
21870
21871         * gst/gstevent.c: (gst_event_type_get_name),
21872         (gst_event_type_to_quark), (gst_event_finalize), (gst_event_new):
21873         * gst/gstevent.h:
21874           add string representations for event types
21875
21876 2005-10-06  Wim Taymans  <wim@fluendo.com>
21877
21878         * gst/elements/gstfilesink.c: (gst_file_sink_close_file):
21879         Don't use NULL pointers.
21880
21881 2005-10-06  Thomas Vander Stichele  <thomas at apestaart dot org>
21882
21883         * gst/gst_private.h:
21884         * gst/gstbus.c:
21885         * gst/gstelement.c:
21886         * gst/gstinfo.c:
21887         * gst/gstpluginfeature.c:
21888           widen the debug category in output to fit the biggest one we have
21889           add a bus category and use it
21890           play with the colors
21891           fix up some categories
21892
21893 2005-10-06  Thomas Vander Stichele  <thomas at apestaart dot org>
21894
21895         * gst/gstghostpad.c: (gst_ghost_pad_internal_do_activate_push):
21896           add push activation of sink ghost pads.
21897           Andye, please verify
21898
21899 2005-10-05  Thomas Vander Stichele  <thomas at apestaart dot org>
21900
21901         * gst/gstutils.c: (gst_element_link_pads):
21902           fix a bug in the case where neither element has a pad
21903         * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
21904           add a test for that case
21905
21906 2005-10-05  Thomas Vander Stichele  <thomas at apestaart dot org>
21907
21908         * gst/gstpad.c: (gst_pad_push), (gst_pad_push_event):
21909           emit have-data before checking for peers.  This allows
21910           for probe handlers to connect elements.  This helps autopluggers.
21911         * check/gst/gstpad.c: (GST_START_TEST), (_probe_handler),
21912         (gst_pad_suite):
21913           add six checks, linked/unlinked with no/true/false probe
21914
21915 2005-10-04  Wim Taymans  <wim@fluendo.com>
21916
21917         * gst/elements/gstfakesink.c: (gst_fake_sink_get_property),
21918         (gst_fake_sink_event), (gst_fake_sink_preroll),
21919         (gst_fake_sink_render), (gst_fake_sink_change_state):
21920         * gst/elements/gstfakesrc.c: (gst_fake_src_event_handler),
21921         (gst_fake_src_get_property), (gst_fake_src_create),
21922         (gst_fake_src_stop):
21923         * gst/elements/gstidentity.c: (gst_identity_stop):
21924         Protect last_message with lock.
21925
21926 2005-10-04  Edward Hervey  <edward@fluendo.com>
21927
21928         * gst/gstformat.h: 
21929         Added precision in the comments for GST_FORMAT_DEFAULT
21930
21931 2005-10-04  Tim-Philipp Müller  <tim at centricular dot net>
21932
21933         * tools/gst-launch.c: (main):
21934           Don't try to run erroneous pipelines.
21935
21936 2005-10-04  Julien MOUTTE  <julien@moutte.net>
21937
21938         * gst/gstbus.c: We don't need this header.
21939
21940 2005-10-03  Thomas Vander Stichele  <thomas at apestaart dot org>
21941
21942         * configure.ac:
21943           back to development
21944
21945 === release 0.9.3 ===
21946
21947 2005-10-03  Thomas Vander Stichele  <thomas at apestaart dot org>
21948
21949         * README:
21950         * configure.ac:
21951           Releasing 0.9.3, "Unregistered"
21952
21953 2005-10-03  Andy Wingo  <wingo@pobox.com>
21954
21955         * gst/gstpad.c (gst_pad_activate_push): There is a race condition
21956         whereby calling a pad's activatepush() function can start a thread
21957         that starts to push or pull before the pad gets the FLUSHING flag
21958         unset. Hack around it by holding the stream lock until the flag is
21959         set. Need to replace this with a proper solution. Together with
21960         the ghost pad fixes, this fixes mp3 playing/tagreading.
21961
21962         * docs/design/part-gstghostpad.txt: Add a note about activation of
21963         proxy pads outside of ghost pads.
21964
21965         * gst/gstghostpad.c: Implement the ghost pad activation design.
21966
21967 2005-10-02  Andy Wingo  <wingo@pobox.com>
21968
21969         * gst/gstobject.h (GST_OBJECT_REFCOUNT_VALUE): Just use the int.
21970         It is volatile, after all.
21971
21972         * docs/design/part-gstghostpad.txt: Flesh out activation with
21973         ghost pads.
21974
21975         * gst/base/gstbasesrc.c (gst_base_src_init): Use
21976         GST_DEBUG_FUNCPTR.
21977
21978 2005-10-02  Tim-Philipp Müller  <tim at centricular dot net>
21979
21980         * configure.ac:
21981           Fix (unused) AM_CONDITIONAL tests.
21982
21983 2005-10-01  Alessandro Decina  <alessandro at nnva dot org>
21984
21985         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
21986
21987         * gst/gstutils.c: (gst_pad_query_convert):
21988           Add assertion that makes sure src_val is >=0, just like
21989           gst_query_new_convert() has. (#315895)
21990
21991 2005-09-30  Edward Hervey  <edward@fluendo.com>
21992
21993         * gst/elements/gsttee.c: (gst_tee_do_push), (gst_tee_handle_buffer):
21994         Let's not iterate pads we're not interested in, it avoids getting 
21995         sky-high refcounts on sinkpad.
21996
21997 2005-09-30  Wim Taymans  <wim@fluendo.com>
21998
21999         * gst/gstelement.c: (gst_element_set_state),
22000         (gst_element_change_state):
22001         Small tweak, element in ASYNC remains ASYNC.
22002
22003 2005-09-30  Wim Taymans  <wim@fluendo.com>
22004
22005         * gst/base/gstbasesink.c: (gst_base_sink_change_state):
22006         Only error is an error.
22007
22008         * gst/gstbin.c: (gst_bin_change_state):
22009         Better debugging.
22010
22011         * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_chain):
22012         Also call pad_block in pad alloc.
22013
22014         * gst/gstutils.c: (gst_flow_get_name):
22015         Better debugging.
22016
22017 2005-09-29  Tim-Philipp Müller  <tim at centricular dot net>
22018
22019         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
22020         (gst_base_src_get_range):
22021           Fix documentation typos. Add some more debug info.
22022
22023 2005-09-29  David Schleef  <ds@schleef.org>
22024
22025         * gst/gstplugin.c: (gst_plugin_load_file): Make some error messages
22026           more end-user friendly.
22027         * tools/gst-inspect.c: (main): Check if command-line argument is
22028           a file and attempt to load that file as a plugin.
22029
22030 2005-09-29  Thomas Vander Stichele  <thomas at apestaart dot org>
22031
22032         * check/gst/gstbin.c:
22033         * check/states/sinks.c:
22034           fix tests for the new warning
22035         * check/gst/gstpipeline.c:
22036           add a test for pipeline and bus interaction
22037         * gst/gstelement.c:
22038           elements should be NULL if they get disposed; add a warning if not
22039
22040 2005-09-29  Thomas Vander Stichele  <thomas at apestaart dot org>
22041
22042         * gst/gstobject.c:
22043           for 2.6 refcounting, make debug log more correct by printing
22044           the actual refcounts at the time of swap (Wim)
22045
22046 2005-09-29  Andy Wingo  <wingo@pobox.com>
22047
22048         * gst/gstbus.c (gst_bus_remove_signal_watch): New function,
22049         removes signal watches previously added via
22050         gst_bus_add_signal_watch.
22051         (gst_bus_add_signal_watch): Don't return the source id, just store
22052         it on the bus if there wasn't an id already.
22053
22054         * gst/gstbus.h (GstBus): Add a couple new fields. API changes for
22055         add_signal_watch and remove_signal_watch.
22056
22057 2005-09-29  Edward Hervey  <edward@fluendo.com>
22058
22059         * libs/gst/controller/gstcontroller.c: (gst_controller_new_list): 
22060         Better if we actually iterate the list :)
22061
22062 2005-09-29  Wim Taymans  <wim@fluendo.com>
22063
22064         * check/gst/gstbin.c: (GST_START_TEST):
22065         Change for new bus API.
22066
22067         * check/gst/gstbus.c: (message_func_eos), (message_func_app),
22068         (send_messages), (GST_START_TEST), (gstbus_suite):
22069         Change for new bus signal API.
22070
22071         * gst/gstbus.c: (gst_bus_class_init), (gst_bus_have_pending),
22072         (gst_bus_source_prepare), (gst_bus_source_check),
22073         (gst_bus_create_watch), (gst_bus_add_watch_full),
22074         (gst_bus_add_watch), (gst_bus_poll), (gst_bus_async_signal_func),
22075         (gst_bus_sync_signal_handler), (gst_bus_add_signal_watch):
22076         * gst/gstbus.h:
22077         Remove support for multiple GSources operating on different
22078         message types as it is too complex and unneeded when using
22079         signals.
22080         Added support for receiving signals from the bus.
22081
22082 2005-09-29  Thomas Vander Stichele  <thomas at apestaart dot org>
22083
22084         * docs/libs/tmpl/gstdataprotocol.sgml:
22085         * docs/manual/advanced-dataaccess.xml:
22086         * gst/elements/gstcapsfilter.c:
22087         * gst/gstutils.c:
22088           rename filter-caps to caps property
22089
22090 2005-09-29  Tim-Philipp Müller  <tim at centricular dot net>
22091
22092         * gst/gstvalue.c: (gst_value_deserialize_fraction):
22093           More robust fraction string parsing.
22094
22095         * docs/pwg/appendix-porting.xml:
22096           Mention gst_pad_use_explicit_caps() => gst_pad_use_fixed_caps()
22097
22098 2005-09-29  Tim-Philipp Müller  <tim at centricular dot net>
22099
22100         * gst/gstcaps.c: (gst_caps_do_simplify):
22101           Thou shalt not free a structure and then continue using it
22102           in the next loop iteration.
22103
22104         * check/gst/gstcaps.c: (check_fourcc_list), (test_simplify),
22105         (gst_caps_suite):
22106           Add test case for caps simplification.
22107
22108 2005-09-29  Wim Taymans  <wim@fluendo.com>
22109
22110         * check/gst/gstbin.c: (GST_START_TEST):
22111         Oops.
22112
22113 2005-09-29  Wim Taymans  <wim@fluendo.com>
22114
22115         * check/gst/gstbin.c: (GST_START_TEST):
22116         Add bus to bin.
22117
22118         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
22119         (add_to_queue), (clear_queue), (reset_degree), (update_degree),
22120         (find_element), (gst_bin_sort_iterator_next),
22121         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
22122         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
22123         (gst_bin_change_state), (gst_bin_dispose):
22124         A bin does not have a bus, it gets the bus from the parent.
22125
22126         * gst/gstelement.c: (gst_element_requires_clock),
22127         (gst_element_provides_clock), (gst_element_is_indexable),
22128         (gst_element_is_locked_state), (gst_element_change_state),
22129         (gst_element_set_bus_func):
22130         Small cleanups.
22131
22132         * gst/gstpipeline.c: (gst_pipeline_class_init),
22133         (gst_pipeline_init), (gst_pipeline_provide_clock_func):
22134         The pipeline provides a bus.
22135
22136 2005-09-28  Johan Dahlin  <johan@gnome.org>
22137
22138         * gst/gstmessage.c (gst_message_parse_state_changed): Use
22139         gst_structure_get_enum instead of gst_structure_get_int
22140
22141         * gst/gststructure.c (gst_structure_get_enum): Impl.
22142
22143         * gst/gststructure.h (gst_structure_get_enum): Add
22144
22145         * docs/gst/gstreamer-sections.txt: Ditto
22146
22147         * gst/gstmessage.c (gst_message_new_state_changed): Use
22148         GST_TYPE_STATE instead of G_TYPE_INT, mainly for language bindings
22149         which does introspection.
22150         Reviewed by Christian Schaller
22151
22152 2005-09-28  Stefan Kost  <ensonic@users.sf.net>
22153
22154         * gst/gstinfo.c: (gst_debug_log_default):
22155           don't do dummy g_strdup()s
22156         * libs/gst/controller/gstcontroller.c:
22157         (on_object_controlled_property_changed),
22158         (gst_controlled_property_new), (gst_controller_new_valist),
22159         (gst_controller_new_list),
22160         (gst_controller_remove_properties_valist), (gst_controller_set),
22161         (gst_controller_get), (gst_controller_sync_values),
22162         (gst_controller_get_value_array), (_gst_controller_class_init),
22163         (gst_controller_get_type):
22164         * libs/gst/controller/gstcontroller.h:
22165         * libs/gst/controller/gstinterpolation.c:
22166         (gst_controlled_property_find_timed_value_node):
22167           convert // to /**/ comments
22168
22169 2005-09-28  Wim Taymans  <wim@fluendo.com>
22170
22171         * gst/gstbus.c: (marshal_VOID__MINIOBJECT), (gst_bus_class_init),
22172         (gst_bus_post), (poll_func), (gst_bus_async_signal_func),
22173         (gst_bus_sync_signal_handler):
22174         * gst/gstbus.h:
22175         Added async-message and sync-message signals to the bus.
22176         Added helper BusFunc to emit signals for all posted messages.
22177
22178         * gst/gstmessage.c: (gst_message_type_get_name),
22179         (gst_message_type_to_quark), (gst_message_get_type):
22180         * gst/gstmessage.h:
22181         Register quarks for message names.
22182
22183 2005-09-28  Stefan Kost  <ensonic@users.sf.net>
22184
22185         * docs/libs/gstreamer-libs-sections.txt:
22186         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
22187         (gst_controller_new_list):
22188         * libs/gst/controller/gstcontroller.h:
22189           added another constructor for language bindings
22190
22191 2005-09-28  Thomas Vander Stichele  <thomas at apestaart dot org>
22192
22193         * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
22194           add another check
22195         * gst/gstbus.c:
22196           add some doc
22197         * gst/gstinfo.c: (_gst_debug_init):
22198           slightly more readable color for refcount debugging
22199
22200 2005-09-28  Wim Taymans  <wim@fluendo.com>
22201
22202         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_provide_clock_func),
22203         (add_to_queue), (clear_queue), (reset_degree), (update_degree),
22204         (find_element), (gst_bin_sort_iterator_next),
22205         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
22206         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
22207         (gst_bin_change_state), (gst_bin_dispose):
22208         Small doc fixes. get_clock -> provide_clock.
22209
22210         * gst/gstelement.c: (gst_element_class_init),
22211         (gst_element_provides_clock), (gst_element_provide_clock),
22212         (gst_element_get_clock), (gst_element_commit_state),
22213         (gst_element_lost_state):
22214         * gst/gstelement.h:
22215         Make get/set_clock() symetric. Add provide_clock vmethod since
22216         that is actually what this function does.
22217
22218         * gst/gstpipeline.c: (gst_pipeline_class_init),
22219         (gst_pipeline_change_state), (gst_pipeline_provide_clock_func),
22220         (gst_pipeline_get_clock):
22221         get_clock -> provide_clock.
22222
22223 2005-09-28  Andy Wingo  <wingo@pobox.com>
22224
22225         * gst/base/gstbasesrc.c (gst_base_src_unlock): Comment a bit in
22226         lieu of real docs...
22227
22228         * gst/elements/gstfdsrc.c: Cleaned up a bit.
22229
22230 2005-09-28  Tim-Philipp Müller  <tim at centricular dot net>
22231
22232         * gst/elements/gstcapsfilter.c:
22233         * gst/elements/gstfakesink.c:
22234         * gst/elements/gstfakesrc.c:
22235         * gst/elements/gstfdsink.c:
22236         * gst/elements/gstfdsrc.c:
22237         * gst/elements/gstfilesink.c:
22238         * gst/elements/gstfilesrc.c:
22239         * gst/elements/gstidentity.c:
22240         * gst/elements/gsttee.c:
22241         * gst/elements/gsttypefindelement.c:
22242           Make element details static.
22243
22244 2005-09-28  Wim Taymans  <wim@fluendo.com>
22245
22246         * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
22247         (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
22248         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
22249         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
22250         (gst_bin_change_state), (gst_bin_dispose):
22251         Some documentation updates.
22252         Clean up dispose handlers.
22253
22254         * gst/gstobject.c: (gst_object_ref), (gst_object_unref):
22255         * gst/gstpad.c: (gst_pad_dispose):
22256         Clean up dispose handler.
22257
22258         * gst/gstpipeline.c: (gst_pipeline_change_state):
22259         Removed spurious UNLOCK.
22260
22261 2005-09-27  Stefan Kost  <ensonic@users.sf.net>
22262
22263         * docs/gst/gstreamer-sections.txt:
22264         * gst/base/gstbasesrc.h:
22265         * gst/gstelement.h:
22266         * gst/gstevent.h:
22267         * gst/gstobject.h:
22268         * gst/gstpad.h:
22269         * gst/gstpipeline.c:
22270         * gst/gstpipeline.h:
22271         * gst/gstutils.h:
22272         * gst/gstxml.h:
22273           added two new functions to the docs
22274                 documents all undocumented GstXXXFlags
22275                 completed some incomplete docs 
22276
22277 2005-09-27  Thomas Vander Stichele  <thomas at apestaart dot org>
22278
22279         * gst/gstbin.c: (gst_bin_dispose):
22280         * gst/gstelement.c: (gst_element_dispose):
22281           remove now useless and leaky resurrection code in dispose
22282         * gst/base/gstbasesrc.c: (gst_base_src_init):
22283         * gst/gstelementfactory.c: (gst_element_factory_create):
22284         * gst/gstobject.c: (gst_object_set_parent):
22285           add some debugging
22286
22287 2005-09-27  Wim Taymans  <wim@fluendo.com>
22288
22289         * docs/design/part-TODO.txt:
22290         Update TODO.
22291
22292         * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
22293         (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
22294         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
22295         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
22296         (gst_bin_change_state):
22297         * gst/gstelement.h:
22298         Remove element variable, we keep element info in the iterator now.
22299
22300 2005-09-27  Andy Wingo  <wingo@pobox.com>
22301
22302         * libs/gst/dataprotocol/dataprotocol.c: Fix error-checking return
22303         values.
22304
22305 2005-09-27  Wim Taymans  <wim@fluendo.com>
22306
22307         * check/gst/gstbin.c: (GST_START_TEST):
22308         Enable check that works now.
22309
22310         * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
22311         (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
22312         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
22313         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
22314         (gst_bin_change_state):
22315         * gst/gstbin.h:
22316         Redid the state change algorithm using a topological sort algo.
22317         Handles all cases correctly.
22318         Exposed iterator for state change order.
22319
22320         * gst/gstelement.h:
22321         Temp storage for state changes. Need to get rid of this soon.
22322
22323 2005-09-27  Wim Taymans  <wim@fluendo.com>
22324
22325         * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_do_push):
22326         * gst/gstutils.c: (intersect_caps_func), (gst_pad_proxy_getcaps),
22327         (link_fold_func), (gst_pad_proxy_setcaps):
22328         Leak fixes, the fold functions need to unref the passed object and
22329         _get_parent_*() returns ref to parent.
22330
22331 2005-09-27  Tim-Philipp Müller  <tim at centricular dot net>
22332
22333         * check/gst/gstbuffer.c: (test_make_writable):
22334           Plug leak in test case and fix 'make check-valgrind'
22335
22336 2005-09-27  Tim-Philipp Müller  <tim at centricular dot net>
22337
22338         * gst/gstbuffer.c: (gst_subbuffer_init):
22339           Set READONLY flag on subbuffers, so that gst_buffer_make_writable()
22340           works correctly in all circumstances (we could have just copied
22341           the parent buffer's readonly flag, but conceptually it seems
22342           cleaner to mark all subbuffers as read-only). (based on patch
22343           by Alessandro Decina, #314710).
22344         
22345         * check/gst/gstbuffer.c: (create_read_only_buffer),
22346         (test_make_writable), (test_subbuffer_make_writable),
22347         (gst_test_suite):
22348           Add some tests for gst_buffer_make_writable().
22349
22350 2005-09-27  Wim Taymans  <wim@fluendo.com>
22351
22352         * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_change_state):
22353         use gst_object_has_ancestor().
22354
22355         * gst/gstobject.c: (gst_object_has_ancestor):
22356         * gst/gstobject.h:
22357         gst_object_has_ancestor() copied from gstbin.c as it is a
22358         useful function.
22359
22360         * tests/instantiate/create.c: (create_all_elements):
22361         * tests/lat.c: (handoff_src), (handoff_sink):
22362         * tests/sched/runxml.c: (main):
22363         * tests/seeking/seeking1.c: (main):
22364         * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
22365         (main):
22366         Fix compilation of some tests.
22367
22368 2005-09-27  Tim-Philipp Müller  <tim at centricular dot net>
22369
22370         * gst/gsterror.h:
22371           Remove comment. GST_TYPE_G_ERROR is here to stay,
22372           G_TYPE_ERROR has been WONTFIX'ed by the GLib folks
22373           (#316961, #300610).
22374
22375 2005-09-26  Wim Taymans  <wim@fluendo.com>
22376
22377         * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
22378         Added check that shows error in state change order.
22379
22380 2005-09-26  Wim Taymans  <wim@fluendo.com>
22381
22382         * gst/gstbin.c: (gst_bin_change_state):
22383         Make state change function use 3 queues again, we were
22384         adding elements in the wrong order.
22385
22386         * gst/gstghostpad.c: (gst_ghost_pad_do_unlink):
22387         Some debug info,
22388
22389         * gst/gstpad.c: (gst_pad_dispose):
22390         Added some debug info first.
22391
22392 2005-09-26  Tim-Philipp Müller  <tim at centricular dot net>
22393
22394         * docs/design/draft-push-pull.txt:
22395         * docs/design/part-events.txt:
22396         * docs/design/part-overview.txt:
22397         * docs/design/part-scheduling.txt:
22398           Replace all _pull_region() with _pull_range()
22399           
22400 2005-09-26  Andy Wingo  <wingo@pobox.com>
22401
22402         * gst/gstvalue.c (_gst_value_initialize): Better fakeout.
22403
22404         * check/gst-libs/controller.c: Update for controller api change.
22405
22406         * configure.ac: 
22407         * tests/Makefile.am:
22408         * tests/memchunk: Remove memchunk benchmark stuff, this is taken
22409         over by GLib bug 118439.
22410         
22411         * gst/base/gstbasesink.c (gst_base_sink_wait): Factor out the wait
22412         routines to a function.
22413
22414         * docs/libs/gstreamer-libs-sections.txt: I am a good person today.
22415
22416         * libs/gst/controller/gsthelper.c:
22417         * libs/gst/controller/gstcontroller.h (gst_controller_sync_values)
22418         (gst_object_sync_values): Renamed from sink_values. Ugh.
22419
22420         * libs/gst/controller/gsthelper.c: Update for __gst_controller_key.
22421
22422         * libs/gst/controller/gstcontroller.c (__gst_controller_key):
22423         Renamed from controller_key, as it is exported.
22424
22425         * gst/gstvalue.c (_gst_value_initialize): Fake out the compiler.
22426
22427 2005-09-26  Thomas Vander Stichele  <thomas at apestaart dot org>
22428
22429         * gst/Makefile.am:
22430         * gst/gst.h:
22431         * gst/gstpad.h:
22432         * gst/gstpadtemplate.h:
22433         * gst/gstquery.c:
22434         * gst/gstquery.h:
22435         * gst/gstqueryutils.c:
22436         * gst/gstqueryutils.h:
22437           remove queryutils headers after moving the two used functions
22438           to gstquery.  also fixes build problem for gstsiddec
22439
22440 2005-09-26  Michael Smith <msmith@fluendo.com>
22441
22442         * tools/gst-launch.1.in:
22443         Correct documentation in manpage of debug syntax
22444
22445 2005-09-26  Wim Taymans  <wim@fluendo.com>
22446
22447         * gst/base/gstbasesrc.c: (gst_base_src_get_range),
22448         (gst_base_src_is_seekable), (gst_base_src_change_state):
22449         Some more debugging info.
22450
22451 2005-09-25  Stefan Kost  <ensonic@users.sf.net>
22452
22453         * docs/gst/gstreamer-sections.txt:
22454         * gst/base/gstbasetransform.h:
22455         * gst/gstindex.h:
22456           added more docs
22457
22458 2005-09-25  Stefan Kost  <ensonic@users.sf.net>
22459
22460         * docs/gst/.cvsignore:
22461         * docs/gst/tmpl/.cvsignore:
22462         * docs/gst/tmpl/gstpipeline.sgml:
22463         * docs/gst/tmpl/gstplugin.sgml:
22464         * gst/gstpipeline.c:
22465         * gst/gstplugin.c:
22466         * gst/gstplugin.h:
22467           inlined the last two docs files
22468           removed the tmpl directory from cvs (no more conflicts here!)
22469
22470 2005-09-25  Stefan Kost  <ensonic@users.sf.net>
22471
22472         * docs/gst/gstreamer-sections.txt:
22473         * docs/gst/tmpl/.cvsignore:
22474         * docs/gst/tmpl/gstpad.sgml:
22475         * docs/gst/tmpl/gstpadtemplate.sgml:
22476         * gst/Makefile.am:
22477         * gst/gstpad.c: (gst_pad_class_init), (gst_pad_dispose),
22478         (gst_pad_finalize), (gst_pad_set_pad_template):
22479         * gst/gstpad.h:
22480         * gst/gstpadtemplate.c: (gst_pad_template_get_type),
22481         (gst_pad_template_class_init), (gst_pad_template_init),
22482         (gst_pad_template_dispose), (name_is_valid),
22483         (gst_static_pad_template_get), (gst_pad_template_new),
22484         (gst_static_pad_template_get_caps), (gst_pad_template_get_caps),
22485         (gst_pad_template_pad_created):
22486         * gst/gstpadtemplate.h:
22487           inlined two more docs
22488           factored gstpadtemplate out of gstpad
22489
22490 2005-09-24  Tim-Philipp Müller  <tim at centricular dot net>
22491
22492         * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
22493         (test_children_state_change_order_semi_sink):
22494           Fix test case: we can't rely on a fixed state change order when
22495           going from READY => PAUSED because the sink might commit its 
22496           new state first when the first buffer created by the source 
22497           reaches the sink before the source has finished its change state.
22498           (Test case still fails at times, see #316856, comment 5 onwards)
22499
22500 2005-09-24  Wim Taymans  <wim@fluendo.com>
22501
22502         * docs/design/part-events.txt:
22503         * docs/design/part-gstbus.txt:
22504         * docs/design/part-gstpipeline.txt:
22505         * docs/design/part-messages.txt:
22506         * docs/design/part-overview.txt:
22507         * docs/design/part-segments.txt:
22508         * gst/gstbin.c:
22509         * gst/gstbuffer.c:
22510         * gst/gstclock.c:
22511         * gst/gstelement.c:
22512         * gst/gstevent.c:
22513         * gst/gstfilter.c:
22514         * gst/gstiterator.c:
22515         Various documentation updates.
22516
22517 2005-09-24  Thomas Vander Stichele  <thomas at apestaart dot org>
22518
22519         * gst/gstclock.h:
22520           Well, that's embarassing.  Luckily we weren't using
22521           GST_CLOCK_DIFF anywhere.
22522
22523 2005-09-23  Thomas Vander Stichele  <thomas at apestaart dot org>
22524
22525         * common/gtk-doc.mak:
22526           don't fail on building XML, FC4 slave shows a bunch of doc
22527           missing bits that I don't get
22528         * gst/gstpad.c:
22529         * gst/gstpipeline.c:
22530         * gst/gststructure.c:
22531           some doc updates
22532
22533 2005-09-23  Tim-Philipp Müller  <tim at centricular dot net>
22534
22535         * docs/design/part-gstbin.txt:
22536         * docs/design/part-gstbus.txt:
22537         * gst/gstbus.c:
22538           Add blurb about how the bus goes into flushing mode and
22539           drops all messages when its bin goes from READY into NULL 
22540           state.
22541
22542 2005-09-23  Thomas Vander Stichele  <thomas at apestaart dot org>
22543
22544         * docs/gst/gstreamer-sections.txt:
22545         * gst/gststructure.c: (gst_structure_get_clock_time):
22546         * gst/gststructure.h:
22547           add a method to get a GstClockTime out of a structure
22548
22549 2005-09-23  Tim-Philipp Müller  <tim at centricular dot net>
22550
22551         * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
22552         (test_children_state_change_order_semi_sink), (gst_bin_suite):
22553           Added test to check state change order in bins (can still be made
22554           to fail here under heavy disk load; bails out with 'Push on pad
22555           fakesink:sink0, but it was not activated in push mode').
22556
22557         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_change_state):
22558           Fix state change order when there is only a semi sink (#316856)
22559
22560         * gst/gstbus.c: (gst_bus_class_init):
22561           Use _class_peek_parent(), not _class_ref(); fix docs to say
22562           'default main context' instead of 'mainloop' where that is
22563           what's meant.
22564
22565         * gst/gstelement.c: (gst_element_commit_state),
22566         (gst_element_set_state):
22567           Fix typos in debug messages
22568
22569 2005-09-23  Thomas Vander Stichele  <thomas at apestaart dot org>
22570
22571         * docs/README:
22572         * gst/gstpad.c: (gst_pad_class_init), (gst_pad_chain):
22573         * gst/gstpluginfeature.c:
22574         * gst/gstutils.c:
22575           various doc updates
22576         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
22577           change an assert into an error until it gets fixed properly
22578
22579 2005-09-23  Stefan Kost  <ensonic@users.sf.net>
22580
22581         * docs/gst/gstreamer-sections.txt:
22582         * docs/gst/tmpl/.cvsignore:
22583         * docs/gst/tmpl/gstelement.sgml:
22584         * docs/gst/tmpl/gstinfo.sgml:
22585         * docs/gst/tmpl/gstobject.sgml:
22586         * gst/gstelement.c:
22587         * gst/gstelement.h:
22588         * gst/gstinfo.c:
22589         * gst/gstinfo.h:
22590         * gst/gstobject.c: (gst_object_class_init):
22591         * gst/gstobject.h:
22592           inlined 3 more biiiig doc files and added some missing docs on the fly
22593
22594 2005-09-23  Thomas Vander Stichele  <thomas at apestaart dot org>
22595
22596         * check/gst/.cvsignore:
22597         * check/gst/gstplugin.c: (GST_START_TEST), (gst_plugin_suite):
22598         * gst/gstregistryxml.c: (load_plugin),
22599         (gst_registry_xml_save_plugin):
22600           put back source in registry.  add checks for find_plugin.
22601         * testsuite/states/bin.c: (assert_state), (empty_bin),
22602         (test_adding_one_element), (main):
22603         * testsuite/states/locked.c: (main):
22604           some compile/run fixes
22605
22606 2005-09-22  Thomas Vander Stichele  <thomas at apestaart dot org>
22607
22608         * check/gst/gstvalue.c: (GST_START_TEST):
22609           fix leaks in the test itself
22610
22611 2005-09-22  Wim Taymans  <wim@fluendo.com>
22612
22613         * gst/base/gstbasesink.c: (gst_base_sink_class_init),
22614         (gst_base_sink_send_event), (gst_base_sink_peer_query),
22615         (gst_base_sink_query):
22616         Prepare for more accurate position reporting and query
22617         handling.
22618
22619         * gst/gstelement.c: (gst_element_send_event),
22620         (gst_element_set_state):
22621         Add some comment.
22622
22623 2005-09-22  Wim Taymans  <wim@fluendo.com>
22624
22625         * gst/gstquery.c: (gst_query_new_segment), (gst_query_set_segment),
22626         (gst_query_parse_segment):
22627         * gst/gstquery.h:
22628         More documentation.
22629         Add segment query for future use.
22630
22631 2005-09-22  Wim Taymans  <wim@fluendo.com>
22632
22633         * gst/gstbin.c: (gst_bin_add_func):
22634         Some more debug info.
22635
22636         * gst/gstelement.c: (gst_element_send_event):
22637         Simplify send_event
22638
22639         * gst/gstelement.h:
22640         Don't know how flags got broken.
22641
22642         * gst/gstquery.h:
22643         Added new query.
22644
22645 2005-09-22  Tim-Philipp Müller  <tim at centricular dot net>
22646
22647         * check/gst/gstvalue.c: (test_date), (gst_value_suite):
22648           Add simplistic test suite for GST_TYPE_DATE serialisation and
22649           deserialisation.
22650
22651 2005-09-22  Tim-Philipp Müller  <tim at centricular dot net>
22652
22653         * docs/gst/gstreamer-sections.txt:
22654         * gst/gststructure.c: (gst_structure_set_valist),
22655         (gst_structure_get_date):
22656         * gst/gststructure.h:
22657         * gst/gstvalue.c: (gst_value_set_date), (gst_value_get_date),
22658         (gst_date_copy), (gst_value_compare_date),
22659         (gst_value_serialize_date), (gst_value_deserialize_date),
22660         (gst_value_transform_date_string),
22661         (gst_value_transform_string_date), (_gst_value_initialize):
22662         * gst/gstvalue.h:
22663           Add GST_TYPE_DATE, a boxed type that wraps GDate, and the usual
22664           bunch of utility functions along with a hack that checks that
22665           developers don't accidentally use G_TYPE_DATE where GST_TYPE_DATE
22666           is required. Part of the grand scheme in #170777.
22667
22668 2005-09-22  Andy Wingo  <wingo@pobox.com>
22669
22670         * gst/gstconfig.h.in: Psych out gtk-doc.
22671
22672         * docs/gst/gstreamer-sections.txt: Add GST_HAVE_GLIB_2_8.
22673
22674         * check/Makefile.am (check_PROGRAMS): Add gstplugin to the tests.
22675
22676         * tools/gst-inspect.c (print_element_list): Plug some
22677         inconsequential leaks.
22678
22679         * gst/gstregistry.c (gst_registry_get_default): Doc.
22680
22681         * check/gst/gstplugin.c: 
22682         * gst/gsttypefindfactory.c (gst_type_find_factory_call_function):
22683         * gst/gstelementfactory.c (gst_element_factory_create): 
22684         * gst/gstindexfactory.c (gst_index_factory_create): Update for
22685         refcount changes.
22686
22687         * gst/gstpluginfeature.c (gst_plugin_feature_list_free): Doc.
22688         (gst_plugin_feature_load): Doc, don't eat refs.
22689
22690         * gst/gstplugin.c (gst_plugin_load): Doc, don't eat refs.
22691         (gst_plugin_list_free): Doc.
22692         (gst_plugin_load_file): Doc updates.
22693
22694         * gst/gstbuffer.c (gst_buffer_get_caps): Like all our _get
22695         accessors returning refcounted objects, return a ref.
22696
22697         * check/gst/gstbuffer.c (GST_START_TEST): Use refcount-idempotent
22698         accessor for caps. IDEMPOTENCE. Oh yes.
22699
22700 2005-09-21  Francis Labonte  <francis_labonte at hotmail dot com>
22701
22702         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
22703
22704         * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
22705         (_gst_debug_register_funcptr):
22706           Add mutex to serialise access to the hash table with
22707           the function pointer => function name string mapping;
22708           make that hash table static scope (#316809).
22709
22710         * gst/registries/.cvsignore:
22711           Remove left-over file.
22712
22713 2005-09-21  Tim-Philipp Müller  <tim at centricular dot net>
22714
22715         * docs/pwg/appendix-porting.xml:
22716           And something about newsegment events and caps-on-buffers to
22717           the porting guide (feel free to improve).
22718
22719 2005-09-21  Andy Wingo  <wingo@pobox.com>
22720
22721         * check/gst/gstutils.c (test_buffer_probe_n_times): Add tests for
22722         data and event probes on the same pad.
22723         (test_buffer_probe_once): Test that removing probes from within
22724         the probe functions works.
22725
22726 2005-09-21  Andy Wingo  <wingo@pobox.com>
22727
22728         * check/gst/gstutils.c: New file.
22729         (test_buffer_probe_n_times): A simple buffer probe test. More to
22730         come, foolios.
22731
22732         * gst/gstutils.c (gst_pad_add_buffer_probe): Connect to
22733         have-data::buffer, not have-data.
22734         (gst_pad_add_event_probe): Likewise for have-data::event.
22735         (gst_pad_add_data_probe): More docs. The part about 'resolving the
22736         peer' isn't quite right yet though.
22737         (gst_pad_remove_buffer_probe, gst_pad_remove_event_probe) 
22738         (gst_pad_remove_data_probe): Change to take the guint handler_id
22739         as their arg, not the function+data, which is more glib-like.
22740
22741         * gst/gstpad.c (gst_pad_emit_have_data_signal): Add a detail to
22742         the signal emission to indicate if the data is a buffer or an
22743         event.
22744         (gst_pad_get_type): Initialize buffer and event quarks.
22745         (gst_pad_class_init): have-data is now a detailed signal, yes it
22746         is.
22747
22748 2005-09-21  Tim-Philipp Müller  <tim at centricular dot net>
22749
22750         * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
22751         * gst/gstutils.c: (gst_util_set_value_from_string),
22752         (gst_util_set_object_arg):
22753           Don't put functional code in g_return_if_fail() or
22754           g_return_val_if_fail() statements, otherwise things will 
22755           break when G_DISABLE_CHECKS is defined during compilation.
22756
22757 2005-09-21  Stefan Kost  <ensonic@users.sf.net>
22758
22759         * docs/gst/tmpl/.cvsignore:
22760         * docs/gst/tmpl/gstvalue.sgml:
22761         * gst/gstvalue.c:
22762         * gst/gstvalue.h:
22763           inlied another one and added  some obvious docs
22764
22765 2005-09-21  Wim Taymans  <wim@fluendo.com>
22766
22767         * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init),
22768         (gst_fdsrc_init), (gst_fdsrc_start), (gst_fdsrc_stop),
22769         (gst_fdsrc_unlock), (gst_fdsrc_set_property),
22770         (gst_fdsrc_get_property), (gst_fdsrc_create):
22771         * gst/elements/gstfdsrc.h:
22772         Properly implement fdsrc. Removed signal and timeout,
22773         better implemented somewhere else.
22774
22775 2005-09-21  Stefan Kost  <ensonic@users.sf.net>
22776
22777         * docs/gst/tmpl/.cvsignore:
22778         * docs/gst/tmpl/gstimplementsinterface.sgml:
22779         * gst/gstinterface.c:
22780           inlined more docs
22781
22782 2005-09-21  Stefan Kost  <ensonic@users.sf.net>
22783
22784         * docs/gst/gstreamer-sections.txt:
22785         * docs/gst/tmpl/.cvsignore:
22786         * docs/gst/tmpl/gstenumtypes.sgml:
22787           remove obsolete doc file
22788
22789 2005-09-21  David Schleef  <ds@schleef.org>
22790
22791         * gst/gstelementfactory.c: (gst_element_factory_make): Drink a
22792         little beer, fix a little leak.
22793
22794 2005-09-21  Stefan Kost  <ensonic@users.sf.net>
22795
22796         * docs/gst/gstreamer-docs.sgml:
22797         * docs/gst/gstreamer-sections.txt:
22798         * docs/gst/tmpl/.cvsignore:
22799         * gst/Makefile.am:
22800         * gst/gst.h:
22801         * gst/gstbin.c:
22802         * gst/gstelement.h:
22803         * gst/gstindex.c: (gst_index_class_init):
22804         * gst/gstindex.h:
22805         * gst/gstindexfactory.c: (gst_index_factory_get_type),
22806         (gst_index_factory_class_init), (gst_index_factory_init),
22807         (gst_index_factory_finalize), (gst_index_factory_new),
22808         (gst_index_factory_destroy), (gst_index_factory_find),
22809         (gst_index_factory_create), (gst_index_factory_make):
22810         * gst/gstindexfactory.h:
22811         * gst/gstpluginfeature.c:
22812         * gst/gstpluginfeature.h:
22813         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
22814           more docs inlined, splitted gstindex.{c,h}
22815
22816 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
22817
22818         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
22819           fix a leak
22820
22821 2005-09-20  Tim-Philipp Müller  <tim at centricular dot net>
22822
22823         * gst/elements/gstfilesink.c: (gst_file_sink_init):
22824           Set sync to FALSE by default.
22825
22826 2005-09-20  Wim Taymans  <wim@fluendo.com>
22827
22828         * gst/base/gstbasesink.c: (gst_base_sink_class_init),
22829         (gst_base_sink_init):
22830         Make sync property settable from subclass.
22831
22832         * gst/elements/gstfakesink.c: (gst_fake_sink_init),
22833         (gst_fake_sink_change_state):
22834         Set sync to FALSE by default.
22835
22836 2005-09-20  Wim Taymans  <wim@fluendo.com>
22837
22838         * gst/gstbus.c: (poll_func), (poll_timeout), (gst_bus_poll):
22839         * tools/gst-launch.c: (main):
22840         The timeout handler should have lower priority than the source
22841         so we don't timeout before popping a message with 0 timeout.
22842         Dump error messages after failed state change.
22843
22844 2005-09-20  Tim-Philipp Müller  <tim at centricular dot net>
22845
22846         * tools/gst-inspect.c: (print_element_properties_info):
22847           Fix two typos.
22848
22849 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
22850
22851         * check/gst/gstevent.c:
22852         * gst/elements/gstfakesink.c:
22853         * gst/elements/gstfakesink.h:
22854           remove the sync property from fakesink.
22855           has the side effect of setting sync TRUE
22856           for fakesink, which is a change.  Anyone who knows how
22857           to fix this nicely in a GObject-y way, feel free.
22858
22859 2005-09-20  Stefan Kost  <ensonic@users.sf.net>
22860
22861         * docs/gst/gstreamer-docs.sgml:
22862           remove probe refsection
22863
22864 2005-09-20  Stefan Kost  <ensonic@users.sf.net>
22865
22866         * check/Makefile.am:
22867           disable valgrinding the controller test again
22868         * docs/gst/gstreamer-sections.txt:
22869           update for api-changes
22870
22871 2005-09-20  Wim Taymans  <wim@fluendo.com>
22872
22873         * gst/base/gstbasesink.c: (gst_base_sink_class_init),
22874         (gst_base_sink_set_property), (gst_base_sink_get_property),
22875         (gst_base_sink_do_sync):
22876         * gst/base/gstbasesink.h:
22877         Added sync property to basesink to disable clock sync.
22878
22879 2005-09-20  Andy Wingo  <wingo@pobox.com>
22880
22881         * gst/gstelementfactory.c (gst_element_factory_create): Avoid
22882         eating the caller's refcount.
22883
22884         * gst/gstobject.h (GST_OBJECT_REFCOUNT) 
22885         (GST_OBJECT_REFCOUNT_VALUE): Conditionally fondle the right
22886         refcount.
22887
22888         * gst/gstconfig.h.in (GST_HAVE_GLIB_2_8):
22889         * configure.ac (GST_HAVE_GLIB_2_8_DEFINE): Make the availability
22890         of GLib 2.8 public, so we can know which refcount to check in
22891         tests.
22892
22893         * gst/gstobject.c: Use the GST_HAVE_GLIB_2_8 define.
22894         (gst_object_init): Only set the gst refcount if we're going ahead
22895         with the refcount hack.
22896
22897 2005-09-20  Stefan Kost  <ensonic@users.sf.net>
22898
22899         * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
22900         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
22901           more leaks plumbed, added more debug-logging
22902         * gst/gstmacros.h:
22903           whitespace fix
22904
22905 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
22906
22907         * gst/gstmessage.c:
22908           remove include of gstmemchunk.h
22909
22910 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
22911
22912         * gst/gstclock.c: (_gst_clock_id_free):
22913           Commit from the Political Party For More Atomic CVS Commits,
22914           so that people don't waste too much of their day fishing
22915           out obvious leaks out of massive commits.
22916           Oh, and fix a pretty damn obvious leak in the memchunk
22917           removal code.
22918
22919 2005-09-20  Stefan Kost  <ensonic@users.sf.net>
22920
22921         * check/Makefile.am:
22922         * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
22923           plug mem-leak, re-add to valgrindable tests
22924
22925 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
22926
22927         * gst/gstplugin.h:
22928           unbreak the build for those who have chronic arthritis
22929           and typing "make check" is just too taxing on the hands
22930
22931 2005-09-20  Andy Wingo  <wingo@pobox.com>
22932
22933         * gst/gst.h: Re-add marshal to gst.h's include list -- if we
22934         really want it out, you should fix plugins at the same time.
22935
22936 2005-09-19  Stefan Kost  <ensonic@users.sf.net>
22937
22938         * configure.ac:
22939         * docs/gst/gstreamer-sections.txt:
22940         * gst/gstobject.c:
22941           added missing symbols to api docs
22942           disable ref-count hack if we have glib >= 2.8
22943
22944 2005-09-19  David Schleef  <ds@schleef.org>
22945
22946         * docs/gst/Makefile.am: Ignore a few more internal headers
22947         * docs/gst/gstreamer-docs.sgml: Remove old sections
22948         * docs/gst/gstreamer-sections.txt: Remove old sections
22949         * docs/gst/tmpl/gstobject.sgml: update
22950         * docs/gst/tmpl/gstplugin.sgml: update
22951         * docs/gst/tmpl/gstpluginfeature.sgml: update
22952         * docs/random/ds/0.9-suggested-changes: update.
22953         * gst/Makefile.am: remove memchunk and trashstack, since they're
22954           not used.
22955         * gst/gst.c: (gst_deinit): rename gst_registry_deinit to _cleanup
22956         * gst/gst.h: don't include some headers
22957         * gst/gstchildproxy.c: add gstmarshal.h
22958         * gst/gstclock.c: Don't use memchunks
22959         * gst/gstminiobject.c: Add some docs
22960         * gst/gstobject.c: remove DESTROYED flag, since it's redundant
22961         * gst/gstobject.h: same
22962         * gst/gstplugin.c: include gstmacros.h
22963         * gst/gstplugin.h: don't include gstmacros.h, since it's private
22964         * gst/gstquery.c: don't use memchunks
22965         * gst/gstregistry.c: rename gst_registry_deinit()
22966         * gst/gstregistry.h: same
22967
22968 2005-09-19  David Schleef  <ds@schleef.org>
22969
22970         * docs/libs/gstreamer-libs-docs.sgml: Remove docs for getbits
22971         * docs/libs/gstreamer-libs-sections.txt:
22972         * docs/libs/tmpl/gstgetbits.sgml:
22973         * docs/libs/tmpl/gstputbits.sgml:
22974
22975 2005-09-19  Tim-Philipp Müller  <tim at centricular dot net>
22976
22977         * win32/gstenumtypes.c:
22978         * win32/gstenumtypes.h:
22979           Update.
22980
22981 2005-09-19  Wim Taymans  <wim@fluendo.com>
22982
22983         * gst/gstpipeline.c: (do_pipeline_seek), (gst_pipeline_send_event):
22984         Automatically PAUSE and RESUME a pipeline when a flushing seek
22985         is performed.
22986
22987 2005-09-19  Andy Wingo  <wingo@pobox.com>
22988
22989         * gst/gstregistry.h: Spacing fixen.
22990
22991 2005-09-19  Wim Taymans  <wim@fluendo.com>
22992
22993         * gst/base/gstbasesrc.c: (gst_base_src_change_state):
22994         Handle state change failure more correctly.
22995
22996 2005-09-19  Thomas Vander Stichele  <thomas at apestaart dot org>
22997
22998         * check/Makefile.am:
22999         * check/pipelines/cleanup.c: (run_pipeline):
23000         * check/pipelines/simple_launch_lines.c: (run_pipeline),
23001         (GST_START_TEST):
23002           enable cleanup again after fixing the leak
23003         * docs/README:
23004           some more info on docs
23005
23006 2005-09-19  Thomas Vander Stichele  <thomas at apestaart dot org>
23007
23008         * check/Makefile.am:
23009           re-enable tests now that leaks are plugged
23010         * check/gst/gst.c:
23011         * check/gst/gstbin.c:
23012         * check/gst/gstpipeline.c:
23013           add some more tests while fixing leaks
23014         * common/check.mak:
23015           make sure binaries are uptodate when valgrinding/gdbing
23016         * gst/gst.c:
23017         * gst/gstelementfactory.c:
23018           remove a ref too many, and add a FIXME for when we get
23019           round to disposing of classes
23020         * gst/gstplugin.c:
23021           fix the refcounting when loading a plugin from a file and
23022           the code pretends that the pointer is the same even though
23023           of course it can change
23024         * gst/gstpluginfeature.c:
23025           unref plugins marked cached (a bit confusing as a name)
23026           as the docs state should be done
23027           various doc additions to explain refcounting
23028         * gst/gstregistry.c:
23029         * gst/gstregistryxml.c:
23030           debugging
23031
23032 2005-09-19  Wim Taymans  <wim@fluendo.com>
23033
23034         * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
23035         * check/gst/gstbus.c: (message_func_eos), (message_func_app),
23036         (send_messages), (GST_START_TEST), (gstbus_suite):
23037         * check/gst/gstpipeline.c: (GST_START_TEST):
23038         * check/pipelines/cleanup.c: (run_pipeline):
23039         * check/pipelines/simple_launch_lines.c: (run_pipeline),
23040         (GST_START_TEST):
23041         * gst/gstbus.c: (gst_bus_have_pending), (gst_bus_source_prepare),
23042         (gst_bus_source_check), (gst_bus_source_dispatch),
23043         (gst_bus_create_watch), (gst_bus_add_watch_full),
23044         (gst_bus_add_watch), (poll_func), (poll_timeout), (gst_bus_poll):
23045         * gst/gstbus.h:
23046         * tools/gst-launch.c: (event_loop):
23047         * tools/gst-md5sum.c: (event_loop):
23048         GstBusHandler -> GstBusFunc, return value has the same meaning as
23049         any other GSource (FALSE == remove source).
23050         _add_watch() and _add_watch_full() now take a MessageType mask to
23051         only handle specific types of messages.
23052         _poll() returns the GstMessage instead of the message type to avoid
23053         race conditions.
23054         _have_pending() takes a MessageType mask now too.
23055         Added testsuite for multiple bus watches.
23056         Fix testsuites and applications for new bus API.
23057
23058 2005-09-19  Thomas Vander Stichele  <thomas at apestaart dot org>
23059
23060         * check/Makefile.am:
23061           mark a bunch of the tests as to fix until we fix them
23062
23063 2005-09-18  Thomas Vander Stichele  <thomas at apestaart dot org>
23064
23065         * common/check.mak:
23066           use GST_PLUGIN settings for valgrind tests as well, so we're
23067           valgrinding the correct thing
23068         * gst/gst.c: (init_post):
23069           plug another leak
23070
23071 2005-09-18  Thomas Vander Stichele  <thomas at apestaart dot org>
23072
23073         * gst/gst.c: (init_post), (gst_deinit):
23074         * gst/gstelementfactory.c: (gst_element_factory_class_init),
23075         (gst_element_factory_finalize), (gst_element_factory_cleanup):
23076         * gst/gstindex.c: (gst_index_factory_class_init),
23077         (gst_index_factory_finalize):
23078         * gst/gstobject.c: (gst_object_dispose):
23079         * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_class_init),
23080         (gst_plugin_load_file), (gst_plugin_desc_free):
23081         * gst/gstpluginfeature.c: (gst_plugin_feature_class_init),
23082         (gst_plugin_feature_finalize):
23083         * gst/gstregistry.c: (gst_registry_class_init),
23084         (gst_registry_init), (gst_registry_finalize),
23085         (gst_registry_get_default), (gst_registry_deinit):
23086         * gst/gstregistry.h:
23087         * gst/gstregistryxml.c: (load_feature), (load_plugin):
23088           various cleanups and memleak plugging.  make valgrind is happy now.
23089
23090 2005-09-18  Thomas Vander Stichele  <thomas at apestaart dot org>
23091
23092         * common/check.mak:
23093           add a check-valgrind target
23094
23095 2005-09-18  David Schleef  <ds@schleef.org>
23096
23097         * tools/gst-inspect.c: Revert the GOption code.
23098
23099 2005-09-17  David Schleef  <ds@schleef.org>
23100
23101         * check/Makefile.am: Fix environment variables.
23102         * check/gst/gstplugin.c: Fix for API changes.
23103         * tools/gst-inspect.c: Fix for API changes.
23104         * tools/gst-xmlinspect.c: Fix for API changes.
23105         * gst/gstelementfactory.c:
23106         * gst/gstplugin.c:
23107         * gst/gstplugin.h:
23108         * gst/gstpluginfeature.c:
23109         * gst/gstpluginfeature.h:
23110         * gst/gstregistry.c:
23111         * gst/gstregistry.h:
23112         * gst/gstregistryxml.c:
23113         * gst/gsttypefind.c:
23114         * gst/gsttypefindfactory.c:
23115         * gst/indexers/gstfileindex.c:
23116         * gst/indexers/gstmemindex.c:
23117         * gst/schedulers/Makefile.am:
23118           Change registry to keep track of both plugins and features,
23119           removing the feature tracking from plugins themselves.
23120
23121 2005-09-16  Thomas Vander Stichele  <thomas at apestaart dot org>
23122
23123         * check/Makefile.am:
23124         * tools/gst-register.1.in:
23125           remove gst-register
23126
23127 2005-09-15  David Schleef  <ds@schleef.org>
23128
23129         * check/gst/gstplugin.c:
23130         * gst/gstelementfactory.c:
23131         * gst/gstplugin.c:
23132         * gst/gstpluginfeature.c:
23133         * gst/gstregistry.c:
23134           Getting tired of debugging.  Disabled all the unreffing of
23135           plugins and features, which fixes the segfaults, but of
23136           course leaks like crazy.  At least playbin works.
23137
23138 2005-09-15  David Schleef  <ds@schleef.org>
23139
23140         * check/gst/gstplugin.c: (register_check_elements),
23141         (GST_START_TEST), (peek), (suggest), (gst_plugin_suite):
23142         More testing
23143         * gst/elements/gsttypefindelement.c: Fix refcounting.
23144         * gst/gsttypefind.c:
23145         * gst/gsttypefindfactory.c:
23146         * gst/gsttypefindfactory.h:
23147
23148 2005-09-15  David Schleef  <ds@schleef.org>
23149
23150         * gst/gstindex.c: get refcounting correct.
23151         * gst/gstregistry.c: Handle the case where a feature/plugin is
23152           not found.
23153
23154 2005-09-15  David Schleef  <ds@schleef.org>
23155
23156         * check/Makefile.am:
23157         * check/gst/gstplugin.c: Add test
23158         * gst/gstplugin.c: Fix problems noticed by testsuite
23159         * gst/gstplugin.h:
23160         * gst/gstregistry.c: 
23161         * gst/gstregistry.h:
23162
23163 2005-09-15  David Schleef  <ds@schleef.org>
23164
23165         * gst/gstplugin.c: Implement semi-decent recounting and locking
23166           in plugins and plugin features.
23167         * gst/gstplugin.h:
23168         * gst/gstpluginfeature.c:
23169         * gst/gstpluginfeature.h:
23170         * gst/gstregistry.c:
23171
23172 2005-09-15  Michael Smith <msmith@fluendo.com>
23173
23174         * gst/gstregistry.c: (gst_registry_get_feature_list):
23175           Implement this. Makes oggdemux work; decodebin still broken.
23176
23177 2005-09-14  David Schleef  <ds@schleef.org>
23178
23179         * configure.ac: Add -no-undefined to GST_PLUGIN_LDFLAGS (bug
23180           #316076)
23181         * gst/base/Makefile.am: Add -no-undefined to LDFLAGS for libs
23182         * gst/check/Makefile.am:
23183         * libs/gst/controller/Makefile.am:
23184         * libs/gst/dataprotocol/Makefile.am:
23185
23186 2005-09-14  David Schleef  <ds@schleef.org>
23187
23188         * configure.ac: Remove getbits library.  Nothing uses it, and
23189           it should be in something like liboil if someone did want
23190           to use it.
23191         * libs/gst/Makefile.am:
23192         * libs/gst/getbits/Makefile.am:
23193         * libs/gst/getbits/gbtest.c:
23194         * libs/gst/getbits/getbits.c:
23195         * libs/gst/getbits/getbits.h:
23196         * libs/gst/getbits/gstgetbits_generic.c:
23197         * libs/gst/getbits/gstgetbits_i386.s:
23198         * libs/gst/getbits/gstgetbits_inl.h:
23199
23200 2005-09-14  David Schleef  <ds@schleef.org>
23201
23202         * gst/Makefile.am: Dist glib-compat.h
23203
23204 2005-09-14  David Schleef  <ds@schleef.org>
23205
23206         * configure.ac: Remove gst/registries, since it's no longer used.
23207         * gst/registries/Makefile.am:
23208         * gst/registries/gstlibxmlregistry.c:
23209         * gst/registries/gstlibxmlregistry.h:
23210         * gst/registries/gstxmlregistry.c:
23211         * gst/registries/gstxmlregistry.h:
23212         * gst/registries/registrytest.c:
23213
23214 2005-09-14  David Schleef  <ds@schleef.org>
23215
23216         * gst/glib-compat.h:
23217         * gst/gstregistryxml.c:
23218           Convergence is near.  Seriously.
23219
23220 2005-09-14  David Schleef  <ds@schleef.org>
23221
23222         * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
23223         * gst/glib-compat.h:
23224           Attempt #4 to appease the buildbots.
23225
23226 2005-09-14  David Schleef  <ds@schleef.org>
23227
23228         * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
23229           Attempt #3.
23230
23231 2005-09-14  David Schleef  <ds@schleef.org>
23232
23233         * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
23234         Attempt #2.
23235
23236 2005-09-14  David Schleef  <ds@schleef.org>
23237
23238         * gst/Makefile.am: Oh yeah, libgstreamer.so needs to contain
23239           the new functions.
23240
23241 2005-09-14  David Schleef  <ds@schleef.org>
23242
23243         * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
23244         * gst/glib-compat.h: Add some functions that are in newer versions
23245           of glib than we care to require.
23246         * gst/gstregistryxml.c: Use them.
23247
23248 2005-09-14  David Schleef  <ds@schleef.org>
23249
23250         * po/POTFILES.in: remove gst-register.c
23251
23252 2005-09-14  David Schleef  <ds@schleef.org>
23253
23254         * docs/gst/gstreamer-docs.sgml:
23255         * docs/gst/gstreamer-sections.txt:
23256         * docs/gst/gstreamer.types:
23257         * docs/gst/tmpl/gstelement.sgml:
23258         * docs/gst/tmpl/gstplugin.sgml:
23259         * docs/gst/tmpl/gstpluginfeature.sgml:
23260           Documentation updates for registry changes.
23261
23262 2005-09-14  David Schleef  <ds@schleef.org>
23263
23264         * gst/gstregistryxml.c: Copy g_mkdir_with_parent() from glib,
23265           because we don't require glib-2.8.
23266
23267 2005-09-14  David Schleef  <ds@schleef.org>
23268
23269         * gst/gstregistryxml.c: Added.  Essentially moved out of the
23270           registries directory.
23271
23272 2005-09-14  David Schleef  <ds@schleef.org>
23273
23274         * check/Makefile.am:
23275         * check/generic/states.c:
23276         * gst/Makefile.am:
23277         * gst/gst.c:
23278         * gst/gst.h:
23279         * gst/gst_private.h:
23280         * gst/gstelementfactory.c:
23281         * gst/gstindex.c:
23282         * gst/gstinfo.c:
23283         * gst/gstplugin.c:
23284         * gst/gstplugin.h:
23285         * gst/gstpluginfeature.c:
23286         * gst/gstpluginfeature.h:
23287         * gst/gstregistry.c:
23288         * gst/gstregistry.h:
23289         * gst/gstregistrypool.c: remove
23290         * gst/gstregistrypool.h: remove
23291         * gst/gsttypefind.c:
23292         * gst/gsttypefindfactory.c:
23293         * gst/gsturi.c:
23294         * tools/Makefile.am:
23295         * tools/gst-compprep.c:
23296         * tools/gst-inspect.c:
23297         * tools/gst-register.c: remove
23298         * tools/gst-xmlinspect.c:
23299           Registry rewrite.  Changes registry from being a file created
23300           by a tool into a simple cache file created automatically by 
23301           libgstreamer.  Removed gst-register (because it's no longer
23302           needed).  Remove registry pools, because we only have one
23303           registry implementation (XML).  Fix up other subsystems as
23304           necessary.
23305
23306 2005-09-13  Michael Smith <msmith@fluendo.com>
23307
23308         * gst/gstconfig.h.in:
23309           Don't Use windows linking attributes for MinGW. Fixes #316157
23310
23311 2005-09-13  Thomas Vander Stichele  <thomas at apestaart dot org>
23312
23313         * gst/gstutils.c: (set_state_async_thread_func),
23314         (gst_element_set_state_async):
23315           Apparently people think it's better if this function doesn't
23316           try to set the state to whatever state was asked for on the first
23317           call to this function for any object.  Seriously.
23318
23319 2005-09-12  Thomas Vander Stichele  <thomas at apestaart dot org>
23320
23321         * check/gst/gstpipeline.c: (GST_START_TEST):
23322         * docs/gst/gstreamer-sections.txt:
23323         * gst/gstutils.c: (set_state_async_thread_func),
23324         (gst_element_set_state_async):
23325         * gst/gstutils.h:
23326           add a "gst_element_set_state_async" method that
23327           sets the state and starts a thread to make sure the state
23328           change completes as best as it can
23329
23330 2005-09-12  Thomas Vander Stichele  <thomas at apestaart dot org>
23331
23332         * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
23333           codify design+behaviour in testsuite after discussion
23334
23335 2005-09-12  Thomas Vander Stichele  <thomas at apestaart dot org>
23336
23337         * docs/gst/tmpl/gstelement.sgml:
23338         * docs/manual/appendix-quotes.xml:
23339           add a quote
23340         * gst/gstelement.c: (gst_element_set_state):
23341           add some debug
23342
23343 2005-09-12  Jan Schmidt  <thaytan@mad.scientist.com>
23344
23345         * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
23346         (gst_base_transform_prepare_output_buf),
23347         (gst_base_transform_handle_buffer):
23348         * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip),
23349         (gst_capsfilter_prepare_buf):
23350           Remove the requirement for sub-classes to call the parent
23351           implementation of prepare_output_buffer with a wrapper function.
23352           
23353         * gst/gsttaglist.h:
23354         * gst/gsttagsetter.h:
23355           Fix #define wrapper
23356
23357 2005-09-11  Stefan Kost  <ensonic@users.sf.net>
23358
23359         * docs/gst/gstreamer-sections.txt:
23360           more doc cleanups
23361
23362 2005-09-11  Thomas Vander Stichele  <thomas at apestaart dot org>
23363
23364         * docs/gst/gstreamer-sections.txt:
23365         * docs/gst/tmpl/gstelement.sgml:
23366         * docs/gst/tmpl/gstplugin.sgml:
23367         * gst/gstminiobject.c:
23368         * gst/gstvalue.h:
23369           docs now stop throwing warnings
23370
23371 2005-09-11  Thomas Vander Stichele  <thomas at apestaart dot org>
23372
23373         * docs/gst/gstreamer-sections.txt:
23374         * docs/gst/gstreamer.types:
23375         * docs/gst/tmpl/gstpad.sgml:
23376         * docs/gst/tmpl/gsttypes.sgml:
23377         * gst/base/gstadapter.h:
23378         * gst/base/gstbasesink.h:
23379         * gst/base/gstbasesrc.h:
23380         * gst/gstbin.h:
23381         * gst/gstbuffer.h:
23382         * gst/gstbus.h:
23383         * gst/gstcaps.h:
23384         * gst/gstclock.h:
23385         * gst/gstelement.h:
23386         * gst/gstevent.h:
23387         * gst/gstmessage.h:
23388         * gst/gstpad.h:
23389         * gst/gststructure.c:
23390         * gst/registries/gstlibxmlregistry.h:
23391           various documentation fixes
23392
23393 2005-09-11  Thomas Vander Stichele  <thomas at apestaart dot org>
23394
23395         * docs/gst/gstreamer-sections.txt:
23396         * docs/gst/tmpl/gstvalue.sgml:
23397           rearrange gstvalue section
23398         * gst/gstutils.c: (gst_element_state_get_name):
23399           NONE -> VOID
23400         * gst/gstvalue.c: (_gst_value_initialize):
23401         * gst/gstvalue.h:
23402           doc updates
23403
23404 2005-09-10  Jan Schmidt  <thaytan@mad.scientist.com>
23405
23406         * check/gst-libs/controller.c:
23407           Header include fix.
23408         * gst/base/gstbasetransform.c:
23409         (gst_base_transform_default_prepare_buf),
23410         (gst_base_transform_handle_buffer):
23411         * gst/base/gstbasetransform.h:
23412           Some more basetransform changes and fixes to enable sub-classes
23413           that modify buffer metadata only.
23414         * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
23415         (gst_capsfilter_init), (gst_capsfilter_transform_ip),
23416         (gst_capsfilter_prepare_buf):
23417           If the output pad has fixed allowed caps and input buffers 
23418           don't have any, set the fixed caps on outgoing buffers.
23419
23420 2005-09-09  Jan Schmidt  <thaytan@mad.scientist.com>
23421         * check/elements/identity.c: (GST_START_TEST):
23422           Make the error a little clearer when the test fails because
23423           identity made a copy of the buffer.
23424         * docs/gst/gstreamer-sections.txt:
23425           New symbols in gstbasetransform.h
23426         * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
23427         (gst_base_transform_init), (gst_base_transform_transform_size),
23428         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
23429         (gst_base_transform_default_prepare_buf),
23430         (gst_base_transform_get_unit_size),
23431         (gst_base_transform_buffer_alloc),
23432         (gst_base_transform_handle_buffer), (gst_base_transform_chain),
23433         (gst_base_transform_change_state),
23434         (gst_base_transform_set_passthrough),
23435         (gst_base_transform_set_in_place),
23436         (gst_base_transform_is_in_place):
23437         * gst/base/gstbasetransform.h:
23438           Change BaseTransform to separate in_place operate from same_caps
23439           output. in_place implies that the element can perform the transform
23440           on incoming buffers in-place, even if the caps on the output are
23441           different.
23442           Sub-class elements can now implement special buffer allocation
23443           methods for outgoing buffers if they wish to.
23444           Big documentation addition.
23445         * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip):
23446         * gst/elements/gstelements.c:
23447           Changes for basetransform modifications.
23448         * gst/elements/Makefile.am:
23449         * gst/elements/gstfdsrc.c: (gst_fdsrc_init), (gst_fdsrc_create):
23450           Compile fix. Extra debug output.
23451
23452 2005-09-09  Thomas Vander Stichele  <thomas at apestaart dot org>
23453
23454         * check/gst/gstpad.c: (GST_START_TEST), (name_is_valid),
23455         (gst_pad_suite):
23456           add tests for valid pad naming
23457         * gst/check/gstcheck.c: (gst_check_log_message_func),
23458         (gst_check_log_critical_func):
23459           add ASSERT_WARNING
23460           remove printing of code, it is fragile when the code contains
23461           % and the line number is enough info
23462         * gst/check/gstcheck.h:
23463         * gst/gstpad.c: (gst_pad_template_new):
23464           fix memleaks
23465
23466 2005-09-09  Thomas Vander Stichele  <thomas at apestaart dot org>
23467
23468         * configure.ac:
23469           say what CHECK flags we use
23470         * docs/libs/gstreamer-libs.types:
23471         * libs/gst/controller/Makefile.am:
23472         * libs/gst/controller/gst-controller.c:
23473         * libs/gst/controller/gst-controller.h:
23474         * libs/gst/controller/gst-helper.c:
23475         * libs/gst/controller/gst-interpolation.c:
23476         * libs/gst/controller/gstcontroller.c:
23477         * libs/gst/controller/gsthelper.c:
23478         * libs/gst/controller/gstinterpolation.c:
23479         * tools/gst-inspect.c: (print_plugin_info):
23480           we don't use dashes in header names
23481
23482 2005-09-09  Thomas Vander Stichele  <thomas at apestaart dot org>
23483
23484         * check/Makefile.am:
23485         * check/gst/.cvsignore:
23486         * check/gst/gstpipeline.c: (pop_messages), (GST_START_TEST),
23487         (gst_pipeline_suite), (main):
23488           adding a test for pipelines and state changes
23489         * gst/gstutils.c: (get_state_func):
23490           add some debugging
23491         * gstreamer.spec.in:
23492           fix up spec file
23493
23494 2005-09-08  Michael Smith <msmith@fluendo.com>
23495
23496         * gst/elements/gstfilesrc.c: (gst_file_src_map_region),
23497         (gst_file_src_map_small_region), (gst_file_src_create_mmap),
23498         (gst_file_src_is_seekable), (gst_file_src_get_size),
23499         (gst_file_src_start):
23500         * gst/elements/gstfilesrc.h:
23501           Various fixes for unseekable, unmmapable, and non-normal files, so
23502           that fallback to read() rather than mmap() works.
23503         * gst/gstevent.c: (gst_event_new_newsegment):
23504           Allow newsegment events with segment_start == segment_end, as will
23505           correctly happen if you use filesrc on a zero-size file, for
23506           example.
23507
23508 2005-09-07  Jan Schmidt  <thaytan@mad.scientist.com>
23509
23510         * gst/gstplugin.c: (gst_plugin_load_file):
23511           Call g_module_close when we don't load the module
23512
23513         * gst/registries/gstlibxmlregistry.c:
23514         (gst_xml_registry_get_property):
23515           Port leak fix from 0.8
23516
23517 2005-09-07  Stefan Kost  <ensonic@users.sf.net>
23518
23519         * docs/gst/gstreamer-docs.sgml:
23520         * docs/gst/tmpl/.cvsignore:
23521         * docs/gst/tmpl/gsttrace.sgml:
23522         * docs/gst/tmpl/gsttrashstack.sgml:
23523         * gst/Makefile.am:
23524         * gst/gst.h:
23525         * gst/gstelement.h:
23526         * gst/gstevent.h:
23527         * gst/gstmessage.c:
23528         * gst/gstmessage.h:
23529         * gst/gsttag.c:
23530         * gst/gsttag.h:
23531         * gst/gsttaginterface.c:
23532         * gst/gsttaginterface.h:
23533         * gst/gsttaglist.c:
23534         * gst/gsttaglist.h:
23535         * gst/gsttagsetter.c:
23536         * gst/gsttagsetter.h:
23537         * gst/gsttrace.c:
23538         * gst/gsttrace.h:
23539         * gst/gsttrashstack.c:
23540           renamed gsttag -> gsttaglist, gsttaginterface -> gsttagsetter
23541           inlined docs for gsttrace, gsttrashstack
23542
23543 2005-09-07  Stefan Kost  <ensonic@users.sf.net>
23544
23545         * gst/Makefile.am:
23546         * gst/elements/gstbufferstore.h:
23547         * gst/elements/gsttypefindelement.c:
23548         * gst/elements/gsttypefindelement.h:
23549         * gst/gst.h:
23550         * gst/gsttypefind.c:
23551         * gst/gsttypefind.h:
23552         * gst/gsttypefindfactory.c: (gst_type_find_factory_get_type),
23553         (gst_type_find_factory_class_init), (gst_type_find_factory_init),
23554         (gst_type_find_factory_dispose),
23555         (gst_type_find_factory_unload_thyself),
23556         (gst_type_find_load_plugin), (gst_type_find_factory_get_list),
23557         (gst_type_find_factory_get_caps),
23558         (gst_type_find_factory_get_extensions),
23559         (gst_type_find_factory_call_function):
23560         * gst/gsttypefindfactory.h:
23561         * gst/registries/gstlibxmlregistry.c:
23562         * gst/registries/gstxmlregistry.c:
23563           splitted gsttypefind into gsttypefind, gsttypefindfactory
23564
23565 2005-09-07  Andy Wingo  <wingo@pobox.com>
23566
23567         * gst/base/gstbasesink.c (gst_base_sink_activate_pull): Fix a race
23568         condition whereby the pad's task function is entered before the
23569         pad_mode variable was set.
23570
23571 2005-09-07  Jan Schmidt  <thaytan@mad.scientist.com>
23572
23573         * gst/gstpad.c: (gst_pad_alloc_buffer):
23574           Catch misbehaving pad_alloc functions that don't
23575           set up caps and do it for them.
23576
23577 2005-09-07  Stefan Kost  <ensonic@users.sf.net>
23578
23579         * check/pipelines/simple_launch_lines.c: (run_pipeline):
23580           test for pipe!=NULL
23581         * docs/gst/tmpl/.cvsignore:
23582         * docs/gst/tmpl/gstmemchunk.sgml:
23583         * docs/gst/tmpl/gstparse.sgml:
23584         * docs/gst/tmpl/gsttaglist.sgml:
23585         * docs/gst/tmpl/gsttagsetter.sgml:
23586         * docs/gst/tmpl/gsttypefind.sgml:
23587         * docs/gst/tmpl/gsttypefindfactory.sgml:
23588         * gst/gstmemchunk.c:
23589         * gst/gstparse.c:
23590         * gst/gsttag.c:
23591         * gst/gsttaginterface.c:
23592         * gst/gsttypefind.c:
23593         * gst/gsttypefind.h:
23594           inlined more docs
23595
23596 === release 0.9.2 ===
23597
23598 2005-09-06  Thomas Vander Stichele  <thomas at apestaart dot org>
23599
23600         * NEWS:
23601         * RELEASE:
23602         * configure.ac:
23603           releasing 0.9.2, "South"
23604
23605 2005-09-05  Andy Wingo  <wingo@pobox.com>
23606
23607         * gst/registries/gstxmlregistry.h:
23608         * gst/registries/gstxmlregistry.c: Um... resurrect...
23609         
23610         * gst/registries/gstxmlregistry.h:
23611         * gst/registries/gstxmlregistry.c: and update to newer API.
23612         Incidentally they should be a bit faster now that they don't have
23613         to parse the caps.
23614         
23615 2005-09-05  Andy Wingo  <wingo@pobox.com>
23616
23617         * gst/registries/gstxmlregistry.h:
23618         * gst/registries/gstxmlregistry.c: Remove from CVS, they were
23619         replaced by the libxml registry a while back
23620
23621 2005-09-03  Thomas Vander Stichele  <thomas at apestaart dot org>
23622
23623         * docs/gst/tmpl/gstplugin.sgml:
23624         * gst/elements/gstelements.c:
23625         * gst/gst.c:
23626         * gst/gstplugin.c: (gst_plugin_register_func),
23627         (gst_plugin_desc_copy), (gst_plugin_desc_free),
23628         (gst_plugin_get_source):
23629         * gst/gstplugin.h:
23630         * gst/registries/gstlibxmlregistry.c: (load_plugin),
23631         (gst_xml_registry_save_plugin):
23632         * gst/registries/gstxmlregistry.c: (gst_xml_registry_parse_plugin),
23633         (gst_xml_registry_save_plugin):
23634         * tools/gst-inspect.c: (print_plugin_info):
23635           add a "source" plugin description field, to represent the source
23636           module this plugin is a part of.  By default GST_PLUGIN_DEFINE
23637           will set it to PACKAGE, which is automake's idea of the name of
23638           the source project.
23639
23640 2005-09-03  Thomas Vander Stichele  <thomas at apestaart dot org>
23641
23642         * Makefile.am:
23643         * autogen.sh:
23644         * configure.ac:
23645         * docs/Makefile.am:
23646         * docs/faq/Makefile.am:
23647         * docs/gst/tmpl/gstelement.sgml:
23648         * docs/gst/tmpl/gsttypes.sgml:
23649         * docs/htmlinstall.mak:
23650         * docs/manual/Makefile.am:
23651         * docs/pwg/Makefile.am:
23652           reorganize doc build a little
23653           split out docbook and gtk-doc stuff
23654           have two separate --enable's and enable them through autogen
23655           but disable by default in configure (to be similar to other
23656           projects)
23657         * gstreamer.spec.in:
23658           clean up docs install
23659         * po/af.po:
23660         * po/az.po:
23661         * po/ca.po:
23662         * po/cs.po:
23663         * po/de.po:
23664         * po/en_GB.po:
23665         * po/fr.po:
23666         * po/it.po:
23667         * po/nb.po:
23668         * po/nl.po:
23669         * po/ru.po:
23670         * po/sq.po:
23671         * po/sr.po:
23672         * po/sv.po:
23673         * po/tr.po:
23674         * po/uk.po:
23675         * po/vi.po:
23676           translation updates
23677
23678 2005-09-03  Tim-Philipp Müller  <tim at centricular dot net>
23679
23680         * gst/base/gstbasesink.c: (gst_base_sink_pad_buffer_alloc):
23681           Add comment.
23682           
23683         * gst/elements/gstfakesink.c: (gst_fake_sink_init),
23684         (gst_fake_sink_change_state):
23685           Make state change function thread-safe.
23686           
23687         * gst/gstpad.c: (gst_pad_alloc_buffer):
23688           Set offset on generic buffer allocated by fallback.
23689
23690 2005-09-03  Stefan Kost  <ensonic@users.sf.net>
23691
23692         * docs/gst/gstreamer-sections.txt:
23693         * docs/gst/tmpl/gstelement.sgml:
23694         * gst/gstpad.c:
23695         * libs/gst/controller/gst-controller.c:
23696         (gst_controlled_property_set_interpolation_mode),
23697         (gst_controlled_property_new),
23698         (gst_controller_find_controlled_property):
23699          run the wingo-magic script against the docs
23700
23701 2005-09-02  Stefan Kost  <ensonic@users.sf.net>
23702
23703         * docs/gst/gstreamer-docs.sgml:
23704         * docs/gst/gstreamer-sections.txt:
23705         * docs/gst/tmpl/.cvsignore:
23706         * docs/gst/tmpl/gstelementdetails.sgml:
23707         * docs/gst/tmpl/gstelementfactory.sgml:
23708         * gst/gst.c:
23709         * gst/gstbus.c:
23710         * gst/gstelementfactory.c:
23711         * gst/gstelementfactory.h:
23712           merged elementdetails docs into elementfactory docs
23713           inlined both
23714
23715 2005-09-02  Andy Wingo  <wingo@pobox.com>
23716
23717         * gst/gstelement.h: Add magical pixie dust to make glib-mkenums
23718         consider this enum an enum and not a flags.
23719
23720 2005-09-02  Stefan Kost  <ensonic@users.sf.net>
23721
23722         * docs/gst/gstreamer-docs.sgml:
23723         * docs/gst/tmpl/.cvsignore:
23724         * docs/gst/tmpl/gstghostpad.sgml:
23725         * docs/gst/tmpl/gstiterator.sgml:
23726         * docs/gst/tmpl/gstmacros.sgml:
23727         * docs/gst/tmpl/gstrealpad.sgml:
23728         * docs/gst/tmpl/gstregistry.sgml:
23729         * docs/gst/tmpl/gstregistrypool.sgml:
23730         * docs/gst/tmpl/gststructure.sgml:
23731         * docs/gst/tmpl/gstsystemclock.sgml:
23732         * docs/gst/tmpl/gsttrace.sgml:
23733         * gst/gstghostpad.c:
23734         * gst/gstmacros.h:
23735         * gst/gstmemchunk.c:
23736         * gst/gstmemchunk.h:
23737         * gst/gstqueue.c:
23738         * gst/gstregistry.c:
23739         * gst/gstregistrypool.c:
23740         * gst/gststructure.c:
23741         * gst/gstsystemclock.c:
23742           more docs inlined
23743
23744 2005-09-02  Andy Wingo  <wingo@pobox.com>
23745
23746         * gst/gstelement.h (GstState): Renamed from GstElementState,
23747         changed to be a normal enum instead of flags.
23748         (GstStateChangeReturn): Renamed from GstElementStateReturn, names
23749         munged to be GST_STATE_CHANGE_*.
23750         (GST_STATE_CHANGE): Renamed from GST_STATE_TRANSITION, updated to
23751         work with the new state representation.
23752         (GstStateChange): New enumeration of possible state transitions.
23753         Replaces GST_STATE_FOO_TO_BAR with GST_STATE_CHANGE_FOO_TO_BAR.
23754         (GstElementClass::change_state): Pass the GstStateChange along as
23755         an argument. Helps language bindings, so they don't have to use
23756         tricky lock-needing macros like GST_STATE_CHANGE ().
23757
23758         * scripts/update-states (file): New script. Run it on a file to
23759         update it for state naming and API changes. Updates files in
23760         place.
23761
23762         * All files updated for the new API.
23763
23764 2005-09-02  Thomas Vander Stichele  <thomas at apestaart dot org>
23765
23766         * gst/gsttrace.c: (gst_trace_flush), (gst_trace_text_flush):
23767         * gst/gstutils.c: (gst_util_set_value_from_string),
23768         (gst_util_set_object_arg):
23769           fix a bunch of unchecked return values
23770         * tools/gst-complete.c: (main):
23771         * gstreamer.spec.in:
23772           clean up a little
23773
23774 2005-09-01  Wim Taymans  <wim@fluendo.com>
23775
23776         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
23777         (gst_base_sink_event), (gst_base_sink_do_sync),
23778         (gst_base_sink_handle_event):
23779         * gst/base/gstbasesink.h:
23780         Handle newsegments more correctly.
23781
23782         * gst/gstbus.c:
23783         Fix docs.
23784
23785         * gst/gstevent.c: (gst_event_new_newsegment):
23786         A newsegment cannot have a start_time of -1
23787
23788 2005-09-01  Tim-Philipp Müller  <tim at centricular dot net>
23789
23790         * win32/gstenumtypes.c:
23791         * win32/gstenumtypes.h:
23792           Update
23793
23794 2005-08-31  Stefan Kost  <ensonic@users.sf.net>
23795
23796         * libs/gst/controller/gst-controller.c:
23797         (gst_controlled_property_set_interpolation_mode),
23798         (gst_controlled_property_new):
23799          fixed boolean again
23800
23801 2005-08-31  Thomas Vander Stichele  <thomas at apestaart dot org>
23802
23803         * docs/faq/gst-uninstalled:
23804           add -good
23805         * gst/gstevent.c:
23806         * gst/gstevent.h:
23807           remove wrong docs
23808         * gst/gstutils.c: (gst_element_link_filtered):
23809         * gst/gstutils.h:
23810           add gst_element_link_filtered
23811
23812 2005-08-31  Stefan Kost  <ensonic@users.sf.net>
23813
23814         * docs/gst/gstreamer-docs.sgml:
23815         * docs/gst/gstreamer-sections.txt:
23816         * docs/gst/tmpl/.cvsignore:
23817         * docs/gst/tmpl/gsterror.sgml:
23818         * docs/gst/tmpl/gstfilter.sgml:
23819         * docs/gst/tmpl/gsturihandler.sgml:
23820         * docs/gst/tmpl/gsturitype.sgml:
23821         * docs/gst/tmpl/gstutils.sgml:
23822         * docs/gst/tmpl/gstxml.sgml:
23823         * gst/gsterror.c:
23824         * gst/gsterror.h:
23825         * gst/gstfilter.c:
23826         * gst/gsturi.c:
23827         * gst/gsturitype.c:
23828         * gst/gstutils.c:
23829         * gst/gstxml.c:
23830           inlined more docs, fixed double id-ref
23831
23832 2005-08-31  Wim Taymans  <wim@fluendo.com>
23833
23834         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
23835         (gst_base_transform_handle_buffer):
23836         Passthrough elements don't need the caps as they don't care.
23837
23838 2005-08-31  Wim Taymans  <wim@fluendo.com>
23839
23840         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
23841         (gst_base_transform_handle_buffer), (gst_base_transform_chain):
23842         Don't leak refcounts on buffers.
23843
23844 2005-08-31  Wim Taymans  <wim@fluendo.com>
23845
23846         * gst/base/gstbasetransform.c: (gst_base_transform_configure_caps),
23847         (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
23848         (gst_base_transform_chain), (gst_base_transform_change_state):
23849         * gst/base/gstbasetransform.h:
23850         Handle the case where we are not negotiated more gracefully.
23851
23852 2005-08-31  Tim-Philipp Müller  <tim at centricular dot net>
23853
23854         * gst/elements/gstfilesrc.c: (gst_mmap_buffer_init),
23855         (gst_file_src_map_region):
23856           Set READONLY flag on mmap'ed buffers, otherwise
23857           gst_buffer_make_writable() won't work properly (#314708).
23858
23859 2005-08-31  Wim Taymans  <wim@fluendo.com>
23860
23861         * gst/base/gstbasetransform.c: (gst_base_transform_handle_buffer):
23862         passthrough elements can even do inplace on non writable
23863         buffers (as they don't touch them).
23864
23865 2005-08-31  Stefan Kost  <ensonic@users.sf.net>
23866
23867         * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
23868         (gst_test_mono_source_set_property),
23869         (gst_test_mono_source_class_init), (GST_START_TEST),
23870         (gst_controller_suite):
23871           more tests (hehe I have the most)
23872         * gst/gstbus.c:
23873           describe popping messages whenusing mulltiple sources
23874         * libs/gst/controller/gst-controller.c:
23875         (gst_controlled_property_set_interpolation_mode),
23876         (gst_controlled_property_new):
23877         * libs/gst/controller/gst-controller.h:
23878         * libs/gst/controller/gst-interpolation.c:
23879           implement boolean properties
23880
23881 2005-08-31  Wim Taymans  <wim@fluendo.com>
23882
23883         * gst/gstminiobject.c: (gst_mini_object_ref):
23884         Cannot assert that the refcount has to be positive
23885         since a disposed object can be resurrected.
23886
23887 2005-08-31  Wim Taymans  <wim@fluendo.com>
23888
23889         * gst/gstpad.c: (gst_pad_init):
23890         Revert change, need to first fix badly behaving 
23891         apps.
23892
23893 2005-08-30  Wim Taymans  <wim@fluendo.com>
23894
23895         * check/elements/fakesrc.c: (setup_fakesrc):
23896         * check/elements/identity.c: (setup_identity):
23897         Activate pads before using them.
23898
23899 2005-08-30  Wim Taymans  <wim@fluendo.com>
23900
23901         * gst/base/gstadapter.c: (gst_adapter_flush):
23902         Flushing out 0 bytes is ok for this function.
23903
23904         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
23905         no newsegment gives a warning and sets the start/stop to 
23906         invalid.
23907
23908         * gst/base/gstbasetransform.c: (gst_base_transform_change_state),
23909         (gst_base_transform_set_passthrough):
23910         Some debug info.
23911
23912         * gst/gstminiobject.c: (gst_mini_object_ref):
23913         Check refcount here too.
23914
23915         * gst/gstpad.c: (gst_pad_init):
23916         Pads are initially flushing and refusing data.
23917
23918         * gst/gstutils.c: (gst_element_link_pads_filtered):
23919         When adding a capsfilter element make sure it has the
23920         same state as the parent bin.
23921
23922 2005-08-30  Stefan Kost  <ensonic@users.sf.net>
23923
23924         * docs/gst/tmpl/.cvsignore:
23925         * docs/gst/tmpl/gstformat.sgml:
23926         * docs/gst/tmpl/gstversion.sgml:
23927         * gst/gstbus.h:
23928         * gst/gstformat.c:
23929         * gst/gstformat.h:
23930         * gst/gstversion.h.in:
23931           more docs and two more inlined
23932
23933 2005-08-30  Wim Taymans  <wim@fluendo.com>
23934
23935         * gst/elements/gstfilesink.c: (gst_file_sink_class_init):
23936         Don't sync to clock.
23937
23938 2005-08-30  Stefan Kost  <ensonic@users.sf.net>
23939
23940         * docs/gst/gstreamer-sections.txt:
23941           ultral33t func10ns deserve to appear in the docs actually
23942         * docs/gst/tmpl/.cvsignore:
23943         * docs/gst/tmpl/gstcompat.sgml:
23944         * docs/gst/tmpl/gstconfig.sgml:
23945         * gst/check/gstcheck.c:
23946         * gst/gstcompat.h:
23947         * gst/gstconfig.h.in:
23948           inlined more docs
23949
23950 2005-08-30  Stefan Kost  <ensonic@users.sf.net>
23951
23952         * docs/gst/tmpl/.cvsignore:
23953         * docs/gst/tmpl/gstquery.sgml:
23954         * docs/gst/tmpl/gstutils.sgml:
23955         * gst/gstquery.c:
23956         * gst/gstquery.h:
23957           inlined and extended docs
23958
23959 2005-08-30  Stefan Kost  <ensonic@users.sf.net>
23960
23961         * check/gst-libs/controller.c: (GST_START_TEST),
23962         (gst_controller_suite):
23963           more tests
23964         * docs/gst/tmpl/gstutils.sgml:
23965         * docs/libs/gstreamer-libs-sections.txt:
23966         * docs/libs/tmpl/gstdataprotocol.sgml:
23967           include path fixes
23968         * examples/controller/audio-example.c: (main):
23969           controller example works now
23970         * gst/gstclock.h:
23971           doc fixes
23972         * tools/gst-inspect.c: (print_element_properties_info):
23973           show param spec flags
23974
23975 2005-08-29  Andy Wingo  <wingo@pobox.com>
23976
23977         * gst/gstutils.c (gst_util_uint64_scale): New 3733t funct10n.
23978
23979 2005-08-28  Andy Wingo  <wingo@pobox.com>
23980
23981         * gst/gstutils.h (GST_BOILERPLATE_FULL): Prototype instance_init
23982         as having two arguments instead of just one. Allows superclasses
23983         to access information on subclasses -- see the terrible for() loop
23984         in gtype.c:g_type_create_instance for the reason why. All callers
23985         changed.
23986
23987 2005-08-27  Stefan Kost  <ensonic@users.sf.net>
23988
23989         * docs/design/part-messages.txt:
23990           update info
23991         * docs/gst/tmpl/.cvsignore:
23992         * docs/gst/tmpl/gstcaps.sgml:
23993         * docs/gst/tmpl/gstclock.sgml:
23994         * gst/gstbus.c:
23995         * gst/gstcaps.c:
23996         * gst/gstcaps.h:
23997         * gst/gstclock.c:
23998         * gst/gstclock.h:
23999         * gst/gstmessage.c:
24000           added descriptions for bus and message
24001           inline caps and clock docs
24002
24003 2005-08-27  Stefan Kost  <ensonic@users.sf.net>
24004
24005         * gst/gstmessage.c:
24006         * gst/gstmessage.h:
24007           doc fixes
24008
24009 2005-08-27  Stefan Kost  <ensonic@users.sf.net>
24010
24011         * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
24012           fix div-by-zero
24013
24014 2005-08-26  Andy Wingo  <wingo@pobox.com>
24015
24016         * check/pipelines/simple_launch_lines.c (run_pipeline): Check
24017         element_set_state's return val.
24018         (test_2_elements): Add test that's been disabled for months.
24019
24020         * gst/elements/gstfakesink.c: Cleanups. Add can-activate-push and
24021         can-activate-pull properties.
24022
24023         * gst/elements/gstfakesrc.c: Cleanups. Add can-activate-push and
24024         can-activate-pull properties. Implement is_seekable so fakesrc can
24025         operate in pull mode.
24026
24027         * gst/base/gstbasesink.c (GstBaseSink): Remove has-loop, has-chain
24028         properties.
24029         (gst_base_sink_activate, gst_base_sink_activate_pull)
24030         (gst_base_sink_activate_push): Make activation mode choosing work.
24031         Cleanups.
24032         (gst_base_sink_chain, gst_base_sink_loop): Assert activation mode
24033         is right. Make pull mode work. Post an eos before pausing in pull
24034         mode.
24035         (gst_base_sink_change_state): Pay attention to the core's
24036         change_state() return val.
24037         
24038         * gst/base/gstbasesrc.c (GstBaseSrc): Remove has-loop,
24039         has-getrange properties. Cleanups.
24040         
24041         * gst/base/gstbasesrc.h (GstBaseSrc): Remove has_loop,
24042         has_getrange and replace with can_activate_pull and
24043         can_activate_push.
24044
24045         * gst/base/gstbasesink.h (GstBaseSink): Rearrange fields, add
24046         locking comments. Remove has_loop, has_chain and replace with
24047         can_activate_pull and can_activate_push.
24048
24049 2005-08-26  Jan Schmidt  <thaytan@mad.scientist.com>
24050
24051         * configure.ac:
24052         * examples/Makefile.am:
24053         * examples/metadata/Makefile.am:
24054         * examples/metadata/read-metadata.c: (message_loop),
24055         (have_pad_handler), (make_pipeline), (print_tag), (main):
24056           Add metadata reading example that loops over a list of filenames,
24057           dumping any tags found.
24058
24059         * gst/gstbus.c: (gst_bus_dispose):
24060         * gst/gstelement.c: (gst_element_dispose):
24061           Release a few potentially-held references in dispose.
24062
24063 2005-08-26  Stefan Kost  <ensonic@users.sf.net>
24064
24065         * docs/gst/tmpl/gstminiobject.sgml:
24066           do *not* add tmpl/*.sgml files to CVS!
24067
24068 2005-08-26  Stefan Kost  <ensonic@users.sf.net>
24069
24070         * libs/gst/bytestream/.cvsignore:
24071         * libs/gst/bytestream/Makefile.am:
24072         * libs/gst/bytestream/adapter.c:
24073         * libs/gst/bytestream/adapter.h:
24074         * libs/gst/bytestream/bytestream.c:
24075         * libs/gst/bytestream/bytestream.h:
24076         * libs/gst/bytestream/filepad.c:
24077         * libs/gst/bytestream/filepad.h:
24078           removing obsolete files
24079
24080 2005-08-26  Stefan Kost  <ensonic@users.sf.net>
24081
24082         * docs/gst/gstreamer-docs.sgml:
24083         * docs/libs/gstreamer-libs-docs.sgml:
24084           disabed additional index entries again, as this makes docs-gen just
24085           slow and they aren't useful yet
24086         * docs/libs/gstreamer-libs-sections.txt:
24087           little -section.txt cleanup for libs
24088
24089 2005-08-26  Thomas Vander Stichele  <thomas at apestaart dot org>
24090
24091         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
24092         * gst/base/gstbasetransform.c: (gst_base_transform_transform_size),
24093           fix up some debugging
24094         (gst_base_transform_get_unit_size),
24095         (gst_base_transform_buffer_alloc), (gst_base_transform_event),
24096         (gst_base_transform_handle_buffer):
24097         * gst/base/gstbasetransform.h:
24098           handle and store timed NEWSEGMENT events so that subclasses that
24099           calculate time by counting samples have a segment_start time they
24100           need to add to their timestamps - see audioresample
24101
24102 2005-08-26  Stefan Kost  <ensonic@users.sf.net>
24103
24104         * gst/gstbin.h:
24105           removed ';' from the end of macro defs
24106         * docs/gst/gstreamer-docs.sgml:
24107         * docs/gst/gstreamer-sections.txt:
24108         * docs/gst/tmpl/.cvsignore:
24109         * gst/gstbus.h:
24110         * gst/gstelement.c: (gst_element_class_init),
24111         (gst_element_set_state), (activate_pads),
24112         (gst_element_save_thyself):
24113         * gst/gstevent.c: (gst_event_new_newsegment):
24114         * gst/gstevent.h:
24115         * gst/gstiterator.c:
24116         * gst/gstiterator.h:
24117         * gst/gstpad.c:
24118         * gst/gstprobe.h:
24119         * gst/gstutils.c: (gst_pad_query_convert):
24120         * gst/gstutils.h:
24121           fixed parameter name mismatches between source, header and docs
24122           added some more docs, resolved the last batch of unused elements in
24123           docs (now someone needs to doc them)
24124
24125 2005-08-25  Thomas Vander Stichele  <thomas at apestaart dot org>
24126
24127         * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_rebuild):
24128         * gst/registries/gstxmlregistry.c: (gst_xml_registry_rebuild):
24129           don't walk through the plugins backwards.  Where is all this
24130           reversed logic coming from ?
24131
24132 2005-08-25  Wim Taymans  <wim@fluendo.com>
24133
24134         * gst/base/gstbasetransform.c: (gst_base_transform_init),
24135         (gst_base_transform_transform_size),
24136         (gst_base_transform_configure_caps),
24137         (gst_base_transform_get_unit_size),
24138         (gst_base_transform_buffer_alloc),
24139         (gst_base_transform_change_state):
24140         * gst/base/gstbasetransform.h:
24141         Cache caps unit_size.
24142         Make sure we cannot negotiate up and downstream at the
24143         same time.
24144
24145 2005-08-25  Thomas Vander Stichele  <thomas at apestaart dot org>
24146
24147         * gst/gst.c: (init_pre), (init_post):
24148           register the installed plugin path after the env var
24149         * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_save):
24150         * gst/registries/gstxmlregistry.c: (gst_xml_registry_save):
24151           don't reverse order of paths; conserve the order of GST_PLUGIN_PATH
24152           directories, so the tests can prefer uninstalled over installed
24153
24154 2005-08-25  Thomas Vander Stichele  <thomas at apestaart dot org>
24155
24156         * gst/base/gstbasetransform.h:
24157           comment
24158         * gst/gstpad.c:
24159           add to docs
24160
24161 2005-08-25  Wim Taymans  <wim@fluendo.com>
24162
24163         * gst/gstbin.c: (bin_bus_handler):
24164         Be a bit more conservative about the posted message.
24165         
24166         * gst/gstbus.c: (gst_bus_post):
24167         Some cleanups, warn wrong return values.
24168
24169 2005-08-25  Jan Schmidt  <thaytan@mad.scientist.com>
24170
24171         * check/gst/gstbin.c: (GST_START_TEST):
24172         * gst/gstbin.c: (bin_bus_handler):
24173         * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
24174         (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
24175         (gst_message_new_warning), (gst_message_new_tag),
24176         (gst_message_new_state_changed), (gst_message_new_segment_start),
24177         (gst_message_new_segment_done), (gst_message_new_custom):
24178         * gst/gstmessage.h:
24179         * tools/gst-launch.c: (event_loop):
24180         * tools/gst-md5sum.c: (event_loop):
24181           Revert unpopular change for GST_MESSAGE_SRC to GObject.
24182
24183 2005-08-25  Wim Taymans  <wim@fluendo.com>
24184
24185         * check/generic/states.c: (GST_START_TEST):
24186         Cleanup can be done at the end.
24187
24188         * gst/gsttask.c: (gst_task_get_type), (gst_task_finalize),
24189         (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
24190         (gst_task_get_state), (gst_task_start), (gst_task_pause):
24191         Oh boy.. Thanks for finding this, Thomas. 
24192
24193 2005-08-25  Stefan Kost  <ensonic@users.sf.net>
24194
24195         * docs/gst/gstreamer.types:
24196           added missing types
24197
24198 2005-08-25  Stefan Kost  <ensonic@users.sf.net>
24199
24200         * docs/gst/gstreamer-docs.sgml:
24201         * docs/gst/gstreamer-sections.txt:
24202         * docs/gst/tmpl/.cvsignore:
24203         * gst/gstbin.c:
24204         * gst/gstiterator.c:
24205         * gst/gstutils.c:
24206         * gst/registries/gstxmlregistry.h:
24207           added missing classes and symbols (123 more to go)
24208           removed removed symbols from section file
24209           fixed many doc-comments
24210
24211 2005-08-24  Wim Taymans  <wim@fluendo.com>
24212
24213         * check/generic/states.c: (GST_START_TEST):
24214         Make sure all tasks are stopped.
24215
24216         * check/gst/gstbin.c: (GST_START_TEST):
24217         Unref after usage for proper valgrinding.
24218
24219         * gst/gstpad.c: (gst_pad_finalize), (gst_pad_stop_task):
24220         Really wait for the task to stop before destroying the
24221         mutex.
24222
24223         * gst/gstqueue.c: (gst_queue_sink_activate_push),
24224         (gst_queue_src_activate_push):
24225         Small cleanups. Don't stop the task when we did not start
24226         it.
24227
24228         * gst/gsttask.c: (gst_task_get_type), (gst_task_init),
24229         (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
24230         (gst_task_get_state), (gst_task_start), (gst_task_pause),
24231         (gst_task_join):
24232         * gst/gsttask.h:
24233         Protect the stream lock with the object lock.
24234         Disallow setting the stream lock when running.
24235         Add cleanup_all to wait for the threadpool to finish.
24236         Remove code to autoallocate a mutex if none was provided.
24237         Add _join() to wait for a task to stop.
24238         Protect the thread pool with a global lock.
24239
24240 2005-08-24  Wim Taymans  <wim@fluendo.com>
24241
24242         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
24243         (gst_base_sink_get_times), (gst_base_sink_do_sync),
24244         (gst_base_sink_handle_buffer), (gst_base_sink_change_state):
24245         * gst/base/gstbasesink.h:
24246         Handle newsegment events correctly.
24247         Drop buffers out of the segment range.
24248
24249 2005-08-22  Andy Wingo  <wingo@pobox.com>
24250
24251         * gst/gstutils.h (GST_BOILERPLATE_WITH_INTERFACE): New ghetto
24252         macro, implements an interface and gstimplementsinterface for a
24253         new type.
24254
24255 2005-08-24  Thomas Vander Stichele  <thomas at apestaart dot org>
24256
24257         * check/Makefile.am:
24258         * check/generic/states.c: (GST_START_TEST), (states_suite), (main):
24259           add a test that does a bunch of state changes on elements
24260           needs some fixing for valgrind
24261         * check/states/sinks.c: (gst_object_suite):
24262           whitespace
24263         * gst/gstcaps.h:
24264           add prototype for gst_caps_is_equal_fixed
24265         * gst/gstplugin.c:
24266         * gst/gstregistrypool.c:
24267           doc fixes
24268
24269 2005-08-24  Andy Wingo  <wingo@pobox.com>
24270
24271         * gst/gstquery.c (gst_query_new_convert): Spew if we try to
24272         convert a negative value. Doesn't make much sense. Mostly this is
24273         here to force callers to ensure -1 maps to -1.
24274
24275 2005-08-24  Jan Schmidt  <thaytan@mad.scientist.com>
24276
24277         * docs/pwg/advanced-types.xml:
24278           Well done to Michael for catching my deliberate introduction
24279           of this spelling mistake. 
24280         * gst/gstbin.c: (gst_bin_remove_func), (bin_bus_handler):
24281         * gst/gstelement.h:
24282           Add GST_ELEMENT_UNPARENTING to prevent races so that we can
24283           unlink pads before removing the element from the bin.
24284
24285 2005-08-24  Andy Wingo  <wingo@pobox.com>
24286
24287         * gst/gst.c (parse_debug_list): Accept e.g. GST_DEBUG=4 to mean
24288         the same thing as GST_DEBUG=*:4.
24289         (parse_debug_level, parse_debug_category): New helper parsers.
24290
24291 2005-08-24  Thomas Vander Stichele  <thomas at apestaart dot org>
24292
24293         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
24294         (gst_base_transform_transform_size), (gst_base_transform_getcaps),
24295         (gst_base_transform_setcaps), (gst_base_transform_get_unit_size),
24296         (gst_base_transform_buffer_alloc),
24297         (gst_base_transform_handle_buffer):
24298           use gboolean return values and pointers to size so we can use the
24299           full GST_BUFFER_SIZE range (guint) for buffer sizes
24300           use GstPadDirection for transform_caps
24301         * gst/base/gstbasetransform.h:
24302           rename get_size to get_unit_size since that's what it is
24303         * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_caps):
24304           use GstPadDirection for transform_caps
24305         * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
24306         * gst/gstutils.h:
24307           cleanup and debugging
24308
24309 2005-08-24  Stefan Kost  <ensonic@users.sf.net>
24310
24311         * gst/gstelement.c: (gst_element_class_init),
24312         (gst_element_set_state), (activate_pads),
24313         (gst_element_save_thyself):
24314         * tools/gst-compprep.c: (main):
24315         * tools/gst-inspect.c: (print_element_properties_info):
24316         * tools/gst-xmlinspect.c: (print_element_properties):
24317           Fixed long standing mem-leak
24318
24319 2005-08-24  Jan Schmidt  <thaytan@mad.scientist.com>
24320
24321         * check/gst/gstbin.c: (GST_START_TEST):
24322         * gst/gstbin.c: (bin_bus_handler):
24323         * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
24324         (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
24325         (gst_message_new_warning), (gst_message_new_tag),
24326         (gst_message_new_state_changed), (gst_message_new_segment_start),
24327         (gst_message_new_segment_done), (gst_message_new_custom):
24328         * gst/gstmessage.h:
24329         * tools/gst-launch.c: (event_loop):
24330         * tools/gst-md5sum.c: (event_loop):
24331           Change GST_MESSAGE_SRC to be a GObject rather than a GstObject, so
24332           that applications can sensibly post custom messages with references
24333           to their own objects.
24334
24335 2005-08-24  Andy Wingo  <wingo@pobox.com>
24336
24337         * gst/gstpad.c (gst_pad_fixate_caps): Check if the caps is fixed
24338         already.
24339
24340 2005-08-24  Wim Taymans  <wim@fluendo.com>
24341
24342         * gst/base/gstbasetransform.c: (gst_base_transform_init),
24343         (gst_base_transform_transform_caps),
24344         (gst_base_transform_transform_size),
24345         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
24346         (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
24347         (gst_base_transform_handle_buffer):
24348         * gst/base/gstbasetransform.h:
24349         Many fixes and new features added by Thomas. Can now also do
24350         transforms with variable sizes and a custom fixate_caps function.
24351
24352 2005-08-24  Wim Taymans  <wim@fluendo.com>
24353
24354         * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
24355         Some debugging.
24356
24357         * gst/gstclock.h:
24358         Cast to ClockTime before formatting to time.
24359
24360         * gst/gstutils.h:
24361         Cleanups.
24362
24363 2005-08-24  Stefan Kost  <ensonic@users.sf.net>
24364
24365         * check/gst-libs/controller.c: (GST_START_TEST),
24366         (gst_controller_suite):
24367         * docs/gst/tmpl/gstcaps.sgml:
24368         * docs/gst/tmpl/gstghostpad.sgml:
24369         * docs/gst/tmpl/gstquery.sgml:
24370         * docs/gst/tmpl/gstutils.sgml:
24371         * libs/gst/controller/gst-helper.c: (gst_object_set_controller),
24372         (gst_object_sink_values), (gst_object_get_value_arrays),
24373         (gst_object_get_value_array):
24374           gracefully handle helper method calls to objects that are not beeing
24375           controlled, added test case for that          
24376
24377 2005-08-23  Wim Taymans  <wim@fluendo.com>
24378
24379         * gst/gstevent.c: (_gst_event_copy), (gst_event_new_custom),
24380         (gst_event_new_newsegment), (gst_event_parse_newsegment),
24381         (gst_event_new_tag), (gst_event_parse_tag), (gst_event_new_qos),
24382         (gst_event_parse_qos), (gst_event_new_seek),
24383         (gst_event_parse_seek):
24384         * gst/gstevent.h:
24385         Some more debugging output and doc cleanups.
24386
24387         * gst/gstqueue.c: (gst_queue_handle_sink_event):
24388         Fix possible deadlock.
24389
24390 2005-08-23  Stefan Kost  <ensonic@users.sf.net>
24391
24392         * docs/gst/gstreamer-docs.sgml:
24393         * docs/gst/gstreamer-sections.txt:
24394         * docs/gst/gstreamer.types:
24395         * docs/gst/tmpl/.cvsignore:
24396         * gst/gstbin.h:
24397         * gst/gstbus.c:
24398         * gst/gstelement.c:
24399         * gst/gstevent.h:
24400           added 100 symbols from gstreamer-unused.txt to the right sections
24401           fixed more broken comments
24402           added GstBus to docs
24403
24404 2005-08-23  Stefan Kost  <ensonic@users.sf.net>
24405
24406         * docs/gst/gstreamer-sections.txt:
24407         * docs/gst/tmpl/.cvsignore:
24408         * docs/gst/tmpl/gstbin.sgml:
24409         * docs/gst/tmpl/gstbuffer.sgml:
24410         * gst/base/gstbasesrc.c:
24411         * gst/gstbin.c: (gst_bin_get_type), (gst_bin_class_init):
24412         * gst/gstbuffer.c:
24413         * gst/gstbuffer.h:
24414         * tools/gst-launch.1.in:
24415           inlined more doc comments, added missing comments and fixed comments
24416           fixed typos
24417
24418 2005-08-23  Thomas Vander Stichele  <thomas at apestaart dot org>
24419
24420         * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
24421           some debugging
24422         * gst/gstcaps.h:
24423           whitespace fixes
24424         * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_alloc_buffer):
24425           more debugging
24426         * gst/gststructure.c: (gst_caps_structure_fixate_field_boolean):
24427         * gst/gststructure.h:
24428           add a fixate function for booleans; add a FIXME that these func
24429           names should probably be gst_structure_fixate_*
24430
24431 2005-08-23  Stefan Kost  <ensonic@users.sf.net>
24432
24433         * docs/gst/gstreamer-docs.sgml:
24434         * docs/gst/gstreamer-sections.txt:
24435         * gst/Makefile.am:
24436         * gst/gstbin.c: (gst_bin_get_type),
24437         (gst_bin_child_proxy_get_child_by_index),
24438         (gst_bin_child_proxy_get_children_count),
24439         (gst_bin_child_proxy_init):
24440         * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
24441         (gst_child_proxy_get_child_by_index),
24442         (gst_child_proxy_get_children_count), (gst_child_proxy_lookup),
24443         (gst_child_proxy_get_property), (gst_child_proxy_get_valist),
24444         (gst_child_proxy_get), (gst_child_proxy_set_property),
24445         (gst_child_proxy_set_valist), (gst_child_proxy_set),
24446         (gst_child_proxy_child_added), (gst_child_proxy_child_removed),
24447         (gst_child_proxy_base_init), (gst_child_proxy_get_type):
24448         * gst/gstchildproxy.h:
24449         * gst/parse/grammar.y:
24450         * tools/gst-inspect.c: (print_interfaces),
24451         (print_element_properties_info), (print_element_info):
24452           ported gstchildproxy over from 0.8
24453           ported gst-inspect fixes and enhancements over from 0.8
24454
24455 2005-08-22  Wim Taymans  <wim@fluendo.com>
24456
24457         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
24458         (gst_base_transform_handle_buffer):
24459         Also call the transform function if we have ANY caps.
24460
24461         * gst/gstpipeline.c: (gst_pipeline_set_new_stream_time):
24462         Fix debug info.
24463
24464 2005-08-22  Jan Schmidt  <thaytan@mad.scientist.com>
24465
24466         * gst/base/gstbasesrc.c: (gst_base_src_event_handler)
24467           Don't pretend to handle seek events if the source is not seekable
24468
24469 2005-08-22  Jan Schmidt  <thaytan@mad.scientist.com>
24470
24471         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
24472           Remove extra parameter to debug output
24473
24474         * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
24475         (gst_base_src_do_seek), (gst_base_src_activate_push):
24476           Fix seek event handling.
24477
24478         * gst/gstpipeline.c: (gst_pipeline_change_state):
24479         * gst/gstqueue.c: (gst_queue_handle_sink_event),
24480         (gst_queue_src_activate_push):
24481           Don't start the src pad task on FLUSH_STOP if the pad
24482           isn't linked.
24483           Debug changes.
24484
24485 2005-08-22  Wim Taymans  <wim@fluendo.com>
24486
24487         * check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
24488         Added check for gst_static_caps_get() refcounting.
24489
24490 2005-08-22  Wim Taymans  <wim@fluendo.com>
24491
24492         * gst/gstcaps.c: (gst_static_caps_get), (gst_caps_to_string):
24493         Make _static_caps_get() refcounting sane.
24494         
24495         * gst/gstelement.c: (gst_element_set_state):
24496         Add g_return_val_if_fail() to protect against segfaults.
24497
24498 2005-08-22  Stefan Kost  <ensonic@users.sf.net>
24499
24500         * docs/gst/tmpl/gstevent.sgml:
24501         * gst/gstevent.c:
24502         * gst/gstevent.h:
24503           inlined remaining docs, added missing doc comments
24504
24505 2005-08-22  Thomas Vander Stichele  <thomas at apestaart dot org>
24506
24507         * check/gst/gstbin.c: (GST_START_TEST):
24508           since we don't know when preroll is done, use refcount range
24509           check for the sink
24510         * gst/check/gstcheck.h:
24511           add macro for checking refcount range
24512
24513 2005-08-21  Thomas Vander Stichele  <thomas at apestaart dot org>
24514
24515         * check/Makefile.am:
24516           clean up environment for when registry gets built versus
24517           when actual tests are run; valgrind seems to not report
24518           leaks if GST_PLUGIN_PATH is set to some specific values
24519         * check/gst/gstbin.c: (GST_START_TEST):
24520           add more refcounting checks; maybe this exposes a
24521           preroll lock bug ?
24522         * common/check.mak:
24523         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
24524         * gst/check/gstcheck.h:
24525         * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_get_state),
24526         (gst_bin_change_state):
24527         * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_chain):
24528           add/fix debugging/whitespace
24529
24530 2005-08-21  Jan Schmidt  <thaytan@mad.scientist.com>
24531
24532         * check/gst/gstevent.c: (event_probe), (test_event),
24533         (GST_START_TEST):
24534          Er, don't call gst_bin_watch_for_state_change you idiot.
24535
24536 2005-08-21  Jan Schmidt  <thaytan@mad.scientist.com>
24537
24538         * check/Makefile.am:
24539           Use CHECK_CFLAGS and CHECK_LIBS
24540         * check/gst/gstevent.c: (event_probe), (test_event),
24541         (GST_START_TEST):
24542           Don't leak events.
24543         * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
24544         (gst_base_src_start), (gst_base_src_stop),
24545         (gst_base_src_activate_push), (gst_base_src_activate_pull),
24546         (gst_base_src_change_state):
24547           Sprinkle gst_base_src_stop liberally around error paths to fix
24548           problems reusing a source after failed state changes.
24549         * gst/base/gsttypefindhelper.c: (helper_find_peek),
24550         (helper_find_suggest), (gst_type_find_helper):
24551           Extra debug output. Don't segfault on GST_PAD_GETRANGEFUNC = NULL
24552         * gst/gstevent.h:
24553         * docs/gst/tmpl/gstevent.sgml:
24554           Migrate part of the docs from the SGML file. Wait for ensonic to
24555           tell me how I did it wrong ;)
24556         * tools/gst-typefind.c: (main):
24557           Extra robustness to state changes between files.
24558
24559 2005-08-21  Thomas Vander Stichele  <thomas at apestaart dot org>
24560
24561         * check/Makefile.am:
24562           don't valgrind the controller test - it's leaking - Stefan, HELP
24563         * gst/check/gstcheck.c: (gst_check_message_error),
24564         (gst_check_chain_func), (gst_check_setup_element),
24565         (gst_check_teardown_element), (gst_check_setup_src_pad),
24566         (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
24567         (gst_check_teardown_sink_pad):
24568         * gst/check/gstcheck.h:
24569           add a bunch of methods to set up elements, and src and sink pads
24570         * check/elements/fakesrc.c: (setup_fakesrc), (cleanup_fakesrc):
24571         * check/elements/identity.c: (setup_identity), (cleanup_identity),
24572         (GST_START_TEST):
24573           use them
24574         * gst/gstmessage.c:
24575         * gst/gsttag.h:
24576           whitespace/doc fixes
24577
24578 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
24579
24580         * gst/gstelement.h:
24581           make GST_ELEMENT_ERROR not do GST_ERROR_OBJECT - these errors should
24582           be handled by the application and not always printed as well
24583
24584 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
24585
24586         * check/Makefile.am:
24587           set GST_TOOLS_DIR
24588         * gst/check/gstcheck.c: (gst_check_message_error):
24589         * gst/check/gstcheck.h:
24590           add a fail_unless_equals_int
24591           add fail_unless for error messages
24592
24593 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
24594
24595         * check/Makefile.am:
24596         * check/gst.supp:
24597         * common/Makefile.am:
24598         * common/check.mak:
24599         * common/gst.supp:
24600           factor out some of the common stuff so we can use it
24601
24602 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
24603
24604         * check/Makefile.am:
24605         * check/gst/gstiterator.c: (GST_START_TEST):
24606         * check/gst/gstsystemclock.c: (GST_START_TEST),
24607         (gst_systemclock_suite):
24608         * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
24609         * gst/gstclock.c:
24610           valgrind more tests
24611
24612 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
24613
24614         * check/elements/.cvsignore:
24615         * check/elements/gstfakesrc.c:
24616           rename to name of element
24617         * check/elements/identity.c: (chain_func), (event_func),
24618         (setup_identity), (cleanup_identity), (GST_START_TEST),
24619         (identity_suite), (main):
24620           add a test for identity
24621         * check/Makefile.am:
24622         * pkgconfig/Makefile.am:
24623         * pkgconfig/gstreamer-check.pc.in:
24624         * pkgconfig/gstreamer-check-uninstalled.pc.in:
24625         * gst/check:
24626         * gst/Makefile.am:
24627         * configure.ac:
24628           move the check stuff to a library that gets installed
24629         * check/gst-libs/controller.c: (GST_START_TEST):
24630         * check/gst-libs/gdp.c:
24631         * check/gst/gst.c: (GST_START_TEST):
24632         * check/gst/gstbin.c:
24633         * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
24634         * check/gst/gstbus.c:
24635         * check/gst/gstcaps.c: (GST_START_TEST):
24636         * check/gst/gstelement.c:
24637         * check/gst/gstghostpad.c:
24638         * check/gst/gstiterator.c:
24639         * check/gst/gstmessage.c:
24640         * check/gst/gstminiobject.c: (thread_ref), (GST_START_TEST):
24641         * check/gst/gstobject.c:
24642         * check/gst/gstpad.c: (GST_START_TEST):
24643         * check/gst/gststructure.c: (GST_START_TEST):
24644         * check/gst/gstsystemclock.c: (GST_START_TEST),
24645         (gst_systemclock_suite):
24646         * check/gst/gsttag.c: (gst_tag_suite):
24647         * check/gst/gstvalue.c:
24648         * check/pipelines/cleanup.c:
24649         * check/pipelines/simple_launch_lines.c:
24650         * check/states/sinks.c:
24651           change include statement
24652
24653         * docs/gst/gstreamer-sections.txt:
24654         * docs/gst/tmpl/gstpad.sgml:
24655           document more pad stuff
24656         * gst/gstminiobject.c: (gst_mini_object_ref),
24657         (gst_mini_object_unref):
24658           debug refcounting
24659
24660 2005-08-19  Stefan Kost  <ensonic@users.sf.net>
24661
24662         * docs/gst/tmpl/gst.sgml:
24663         * gst/gst.c:
24664           eliminate another tmpl file, fix spelling in the long-description
24665
24666 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
24667
24668         * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
24669         (test_event), (timediff), (gstevents_suite):
24670           Should fix build on 64-bit arch's
24671
24672 2005-08-18  Andy Wingo  <wingo@pobox.com>
24673
24674         Make sure that when a pipeline goes to PLAYING, that data has
24675         actually hit the sink.
24676
24677         * check/states/sinks.c (test_sink): A sink that doesn't get any
24678         data shouldn't return SUCCESS for going to either PLAYING or
24679         PAUSED. Test also the return values on the way back down.
24680
24681         * gst/gstelement.c (gst_element_set_state): When changing the
24682         state of an element currently changing state asynchronously, go to
24683         lost-state after commiting the pending state. Makes future calls
24684         to get_state continue to return ASYNC.
24685
24686         * gst/base/gstbasesink.c (gst_base_sink_change_state): Return
24687         ASYNC when going to PLAYING if we still don't have preroll, as can
24688         happen with live sources.
24689
24690 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
24691
24692         * docs/pwg/advanced-types.xml:
24693           Hack long paragraph into 2 chunks as a workaround for buggy
24694           jadetex version in sid and breezy that loops infinitely and
24695           eats all RAM.
24696
24697 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
24698
24699         * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
24700         (test_event), (timediff), (gstevents_suite):
24701           Provide more error margin in clock measurements to allow for 
24702           g_get_current_time inaccuracies.
24703
24704 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
24705
24706         * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
24707         (test_event), (timediff), (gstevents_suite):
24708            Fix error message output so I might be able to tell why the
24709            test works here but fails on the build farm.
24710
24711 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
24712
24713         * check/Makefile.am:
24714         * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
24715         (test_event), (timediff), (gstevents_suite), (main):
24716           I wrote a test!
24717
24718         * docs/design/part-seeking.txt:
24719           Spelling correction
24720
24721         * docs/gst/tmpl/gstevent.sgml:
24722         * docs/gst/tmpl/gstfakesrc.sgml:
24723           Docs updates.
24724
24725         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
24726           Treat a buffer-without-newsegment the same as a receiving 
24727           a newsegment not in time format, and disable syncing to the clock
24728           with a warning.
24729
24730         * gst/gstbus.c: (gst_bus_set_sync_handler):
24731           Assert if anyone tries to replace the existing sync_handler for bus, 
24732           as only the owner should be setting it.
24733
24734         * gst/gstevent.h:
24735           Have a fixed set of custom event enums with events identified by
24736           their structure name (as in 0.8), rather than a free-for-all
24737           allowing collisions between enum values from different plugins.
24738
24739         * gst/gstpad.c: (gst_pad_class_init):
24740           Docs change.
24741           
24742         * gst/gstqueue.c: (gst_queue_handle_sink_event):
24743           Handle out-of-band downstream events from the sending thread.
24744
24745 2005-08-17  Andy Wingo  <wingo@pobox.com>
24746
24747         * gst/gstpipeline.c (gst_pipeline_change_state): Interpret
24748         play-timeout==0 to mean no timeout at all. In that case, don't
24749         bother with a get_state or a warning, just return directly, even
24750         if it's ASYNC.
24751
24752         * gst/base/gstbasetransform.c: Debug changes.
24753
24754         * gst/gstutils.h:
24755         * gst/gstutils.c (gst_bin_watch_for_state_change): Add function to
24756         ensure bins post state change messages. A bit of a hack but I can't
24757         think of a way to avoid it.
24758
24759         * check/gst/gstbin.c (test_watch_for_state_change): Added test.
24760
24761 2005-08-16  Andy Wingo  <wingo@pobox.com>
24762
24763         * gst/base/gstadapter.h:
24764         * gst/base/gstadapter.c (gst_adapter_take): New function, like
24765         peek() but you own the data. Not terribly efficient atm.
24766
24767 2005-08-16  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
24768
24769         * gst/gstutils.c: (gst_element_found_tags_for_pad), (push_and_ref),
24770         (gst_element_found_tags):
24771         * gst/gstutils.h:
24772           Add two utility functions for tag handling.
24773
24774 2005-08-16  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
24775
24776         * docs/manual/advanced-dataaccess.xml:
24777         * docs/manual/basics-helloworld.xml:
24778           Fix docs to use _bin_add() before _link(), which fixes the examples
24779           with recent core versions (reported by Madhan Raj M
24780           <raj_madan@rediffmail.com>, #313199).
24781
24782 2005-08-16  Wim Taymans  <wim@fluendo.com>
24783
24784         * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
24785         Added subtract checks.
24786
24787         * docs/design/part-events.txt:
24788         Some more docs about newsegment
24789
24790         * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
24791         Fix FIXME
24792
24793         * gst/gstcaps.c: (gst_caps_to_string):
24794         Add comments, cleanups.
24795         
24796         * gst/gstelement.c: (gst_element_save_thyself):
24797         cleanups
24798         
24799         * gst/gstvalue.c: (gst_value_collect_int_range),
24800         (gst_string_unwrap), (gst_value_union_int_int_range),
24801         (gst_value_union_int_range_int_range),
24802         (gst_value_intersect_int_int_range),
24803         (gst_value_intersect_int_range_int_range),
24804         (gst_value_intersect_double_double_range),
24805         (gst_value_intersect_double_range_double_range),
24806         (gst_value_intersect_list), (gst_value_subtract_int_int_range),
24807         (gst_value_subtract_int_range_int),
24808         (gst_value_subtract_double_range_double),
24809         (gst_value_subtract_double_range_double_range),
24810         (gst_value_subtract_from_list), (gst_value_subtract_list),
24811         (gst_value_can_compare), (gst_value_compare_fraction):
24812         Cleanups, add comments, remove unneeded asserts.
24813
24814 2005-08-15  Thomas Vander Stichele  <thomas at apestaart dot org>
24815
24816         * tools/gst-launch.c: (event_loop):
24817           don't convert NULL structures to strings
24818
24819 2005-08-15  Stefan Kost  <ensonic@users.sf.net>
24820
24821         * docs/gst/gstreamer-sections.txt:
24822           made some defines private
24823         * docs/gst/tmpl/gstconfig.sgml:
24824         * docs/gst/tmpl/gstqueue.sgml:
24825         * docs/gst/tmpl/gsttaglist.sgml:
24826         * docs/gst/tmpl/gsttypes.sgml:
24827         * docs/gst/tmpl/gstutils.sgml:
24828         * docs/pwg/appendix-porting.xml:
24829         * gst/base/gstbasesink.h:
24830         * gst/base/gstbasesrc.c:
24831         * gst/base/gstbasesrc.h:
24832         * gst/elements/gstfakesink.c: (gst_fake_sink_class_init):
24833         * gst/elements/gstfakesrc.c: (gst_fake_src_class_init):
24834         * gst/gstelement.c: (gst_element_class_init):
24835         * gst/gstpad.c: (gst_pad_class_init):
24836         * gst/gstqueue.c: (gst_queue_class_init):
24837         * gst/gstxml.c: (gst_xml_class_init):
24838           documented all undocumented signal inline
24839         * libs/gst/controller/gst-controller.h:
24840           added padding
24841
24842 2005-08-15  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
24843
24844         * docs/pwg/appendix-porting.xml:
24845           Document _set_link_function -> _set_setcaps_function.
24846
24847 2005-08-15  Thomas Vander Stichele  <thomas at apestaart dot org>
24848
24849         * check/Makefile.am:
24850           add a .check target for running the check
24851         * check/gst-libs/controller.c: (GST_START_TEST):
24852           cosmetic fixups
24853         * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
24854           complete checks for gstbuffer; would be nice if I could get the
24855           gcov stuff to work so I can see if I actually completed gstbuffer.c
24856         * check/gstcheck.h:
24857           add ASSERT_BUFFER_REFCOUNT
24858
24859 2005-08-13  Tim-Philipp Müller  <tim at centricular dot net>
24860
24861         * docs/gst/gstreamer-sections.txt:
24862         * gst/gsttag.c: (_gst_tag_initialize), (gst_tag_register):
24863         * gst/gsttag.h:
24864           Add GST_TAG_LANGUAGE_CODE as we have in 0.8, and don't
24865           spew out a warning if a tag that is already registered
24866           is re-registered, unless it is re-registered with a 
24867           different type (#308438).
24868
24869 2005-08-12  Tim-Philipp Müller  <tim at centricular dot net>
24870
24871         * docs/pwg/appendix-porting.xml:
24872         * docs/pwg/building-state.xml:
24873           Add some paragraphs about state changes in 0.9 to the PWG
24874           and the porting guide, in particular about the new meaning
24875           of GST_STATE_PAUSED and how to write state change functions
24876           with concurrent access by multiple threads in mind.
24877
24878 2005-08-11  Stefan Kost  <ensonic@users.sf.net>
24879
24880         * docs/gst/gstreamer-docs.sgml:
24881         * docs/libs/gstreamer-libs-docs.sgml:
24882           added deprecation and since indexes
24883         * libs/gst/controller/gst-controller.c:
24884         * libs/gst/controller/gst-helper.c:
24885           added since tags
24886
24887
24888 2005-08-11  Wim Taymans  <wim@fluendo.com>
24889
24890         * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked),
24891         (gst_proxy_pad_set_target), (gst_proxy_pad_get_target),
24892         (gst_proxy_pad_dispose), (gst_ghost_pad_do_activate_push),
24893         (gst_ghost_pad_do_link), (gst_ghost_pad_set_internal),
24894         (gst_ghost_pad_new_notarget), (gst_ghost_pad_get_target),
24895         (gst_ghost_pad_set_target):
24896         Actually implement (re)setting the target on a ghostpad
24897         as described in the docs.
24898
24899 2005-08-10  Tim-Philipp Müller  <tim at centricular dot net>
24900
24901         * gst/gst.c: (gst_init_check_with_popt_table), (init_pre):
24902           Check whether GST_DEBUG_NO_COLOR environment variable is
24903           set and disable coloured debug output if that is the case.
24904
24905 2005-08-10  Tim-Philipp Müller  <tim at centricular dot net>
24906
24907         * gst/base/gsttypefindhelper.c: (helper_find_peek),
24908         (gst_type_find_helper):
24909           The memory returned by gst_type_find_peek() needs to
24910           stay valid until the end of a typefind function, and
24911           typefind functions may keep results from different 
24912           offsets around, so we can't just unref the buffer from
24913           the previous _peek(), but have to save all buffers 
24914           returned by _peek() until typefinding is done and only
24915           free them then.
24916
24917 2005-08-09  Tim-Philipp Müller  <tim at centricular dot net>
24918
24919         * docs/gst/gstreamer-sections.txt:
24920         * gst/gstutils.h:
24921           New macros: GST_ROUND_UP_2() through GST_ROUND_UP_64().
24922
24923 2005-08-08  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
24924
24925         * gst/base/gstbasetransform.c: (gst_base_transform_buffer_alloc):
24926           Fix a pretty good memleak.
24927
24928 2005-08-08  Tim-Philipp Müller  <tim at centricular dot net>
24929
24930         * gst/gstiterator.h:
24931           Fix wrong include and 'make distcheck'.
24932
24933 2005-08-08  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
24934
24935         * gst/gstbin.c: (bin_bus_handler):
24936           Use gst_element_post_message() instead.
24937
24938 2005-08-08  Tim-Philipp Müller  <tim at centricular dot net>
24939
24940         * gst/base/gstadapter.h:
24941         * gst/base/gstbasesink.h:
24942         * gst/base/gstbasesrc.h:
24943         * gst/base/gstbasetransform.h:
24944         * gst/base/gstcollectpads.h:
24945         * gst/base/gstpushsrc.h:
24946         * gst/gstiterator.h:
24947           Add padding to our base elements' class and instance structs and
24948           to GstIterator (you will need to rebuild all plugins and apps!)
24949
24950 2005-08-08  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
24951
24952         * gst/gstbin.c: (bin_bus_handler):
24953           Make default message forwarding from child->bus to bin->bus
24954           threadsafe and make it not emit warnings if the parent has no bus.
24955
24956 2005-08-08  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
24957
24958         * gst/gstelement.c: (activate_pads):
24959           On paused->ready, set pad->caps to NULL, as is the documented
24960           behaviour in this state change. Fixes playback of series of
24961           media files when visualization is enabled in Totem.
24962
24963 2005-08-07  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
24964
24965         * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
24966           Allow NULL as filter-caps (which means "any").
24967
24968 2005-08-05  Stefan Kost  <ensonic@users.sf.net>
24969
24970         * docs/libs/gstreamer-libs-sections.txt:
24971         * libs/gst/controller/gst-controller.c:
24972         * libs/gst/controller/gst-controller.h:
24973         * libs/gst/controller/gst-helper.c:
24974           adding more entries to the docs and fix small doc-bugs
24975
24976 2005-08-05  Stefan Kost  <ensonic@users.sf.net>
24977
24978         * docs/gst/gstreamer-docs.sgml:
24979         * docs/gst/gstreamer-sections.txt:
24980         * docs/gst/gstreamer.types:
24981         * docs/gst/tmpl/gstbasesink.sgml:
24982         * docs/gst/tmpl/gstbasesrc.sgml:
24983         * docs/gst/tmpl/gstbasetransform.sgml:
24984         * docs/gst/tmpl/gstfakesrc.sgml:
24985         * gst/base/gstcollectpads.c:
24986         * gst/base/gstcollectpads.h:
24987         * libs/gst/controller/gst-controller.c:
24988         * libs/gst/controller/gst-controller.h:
24989         * libs/gst/controller/gst-helper.c:
24990         * libs/gst/controller/gst-interpolation.c:
24991         * libs/gst/controller/lib.c:
24992           added long/short desc for controller docs
24993           added collectpads base class docs
24994           added correct includes to base-class docs
24995
24996 2005-08-05  Stefan Kost  <ensonic@users.sf.net>
24997
24998         * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
24999         (gst_test_mono_source_set_property),
25000         (gst_test_mono_source_class_init), (GST_START_TEST),
25001         (gst_controller_suite):
25002         * docs/gst/gstreamer-docs.sgml:
25003         * docs/gst/gstreamer-sections.txt:
25004         * docs/gst/gstreamer.types:
25005         * docs/libs/gstreamer-libs-docs.sgml:
25006         * docs/libs/gstreamer-libs-sections.txt:
25007         * gst/base/gstadapter.c:
25008         * libs/gst/controller/gst-controller.c:
25009         (gst_controlled_property_new), (gst_controlled_property_free),
25010         (gst_controller_new_valist),
25011         (gst_controller_remove_properties_valist),
25012         (gst_controller_sink_values), (_gst_controller_finalize):
25013         * libs/gst/controller/gst-controller.h:
25014         * libs/gst/controller/gst-helper.c:
25015         (gst_object_control_properties), (gst_object_uncontrol_properties),
25016         (gst_object_get_controller), (gst_object_set_controller),
25017         (gst_object_sink_values), (gst_object_get_value_arrays),
25018         (gst_object_get_value_array):
25019           more tests (and fixes) for the controller
25020           more docs for the controller
25021           integrated companies docs for the adapter 
25022
25023 2005-08-05  Thomas Vander Stichele  <thomas at apestaart dot org>
25024
25025         * check/elements/gstfakesrc.c: (setup_fakesrc), (cleanup_fakesrc),
25026         (GST_START_TEST), (fakesrc_suite):
25027           add tests for sizetype
25028
25029 2005-08-04  Andy Wingo  <wingo@pobox.com>
25030
25031         * gst/elements/gstcapsfilter.c: Reimplement using basetransform,
25032         fixes buffer_alloc proxying among other things.
25033
25034         * gst/base/gstbasetransform.c:
25035         * gst/base/gstbasetransform.h:
25036         Revert patch to gstbasetransform from 7-28 removing
25037         delay_configure.
25038
25039         * gst/base/gstbasetransform.h (GstBaseTransformClass.get_size):
25040         * gst/base/gstbasetransform.c (gst_base_transform_get_size):
25041         Semantics changed, should return not the size of the output buffer
25042         but the byte size of a buffer with a given caps.
25043
25044         * gst/base/gstbasetransform.c (gst_base_transform_getcaps): Better
25045         debug object.
25046         (gst_base_transform_configure_caps): Don't set out_size here: (in,
25047         out) are not the pad caps until setcaps finishes.
25048         (gst_base_transform_buffer_alloc): Proxy the buffer_alloc for the
25049         not-in-place case as well. Deal with changing from in-place to
25050         not-in-place within calling pad_alloc_buffer. Still a bit
25051         concerned about the overhead here...
25052
25053 2005-08-03  Andy Wingo  <wingo@pobox.com>
25054
25055         * gst/base/gstbasetransform.c (gst_base_transform_setcaps): Not
25056         fixating is an error.
25057
25058 2005-08-04  Edward Hervey  <edward@fluendo.com>
25059
25060         * gst/base/gstadapter.h: 
25061         Added gst_adapter_get_type() to the header
25062
25063 2005-08-03  Stefan Kost  <ensonic@users.sf.net>
25064
25065         * check/Makefile.am:
25066         * check/gst-libs/controller.c:
25067         * libs/gst/controller/gst-controller.c:
25068         (gst_controller_new_valist):
25069           added check test suite for the controller
25070         * gst/base/gstpushsrc.c:
25071           fixed a doc typo
25072
25073 2005-08-03  Stefan Kost  <ensonic@users.sf.net>
25074
25075         * docs/gst/Makefile.am:
25076         * docs/gst/gstreamer-docs.sgml:
25077         * docs/gst/gstreamer-sections.txt:
25078         * docs/gst/gstreamer.types:
25079         * docs/gst/tmpl/gstfakesrc.sgml:
25080         * gst/base/README:
25081         * gst/base/gstbasesink.c:
25082         * gst/base/gstbasesink.h:
25083         * gst/base/gstbasesrc.c:
25084         * gst/base/gstbasesrc.h:
25085         * gst/base/gstbasetransform.c:
25086         * gst/base/gstpushsrc.c:
25087         * gst/base/gstpushsrc.h:
25088           add short/long description docs to base classes
25089           add pushsrc to the docs
25090           remove consolidated doc fragments
25091
25092 2005-08-03  Stefan Kost  <ensonic@users.sf.net>
25093
25094         * configure.ac:
25095         * docs/libs/Makefile.am:
25096         * docs/libs/gstreamer-libs-docs.sgml:
25097         * docs/libs/gstreamer-libs-sections.txt:
25098         * docs/libs/gstreamer-libs.types:
25099         * examples/Makefile.am:
25100         * examples/controller/.cvsignore:
25101         * examples/controller/Makefile.am:
25102         * examples/controller/audio-example.c: (main):
25103         * libs/gst/Makefile.am:
25104         * libs/gst/controller/.cvsignore:
25105         * libs/gst/controller/Makefile.am:
25106         * libs/gst/controller/gst-controller.c:
25107         (on_object_controlled_property_changed), (gst_timed_value_compare),
25108         (gst_timed_value_find),
25109         (gst_controlled_property_set_interpolation_mode),
25110         (gst_controlled_property_new), (gst_controlled_property_free),
25111         (gst_controller_find_controlled_property),
25112         (gst_controller_new_valist), (gst_controller_new),
25113         (gst_controller_remove_properties_valist),
25114         (gst_controller_remove_properties), (gst_controller_set),
25115         (gst_controller_set_from_list), (gst_controller_unset),
25116         (gst_controller_get), (gst_controller_get_all),
25117         (gst_controller_sink_values), (gst_controller_get_value_arrays),
25118         (gst_controller_get_value_array),
25119         (gst_controller_set_interpolation_mode),
25120         (_gst_controller_finalize), (_gst_controller_init),
25121         (_gst_controller_class_init), (gst_controller_get_type):
25122         * libs/gst/controller/gst-controller.h:
25123         * libs/gst/controller/gst-helper.c: (g_object_control_properties),
25124         (g_object_uncontrol_properties), (g_object_get_controller),
25125         (g_object_set_controller), (g_object_sink_values),
25126         (g_object_get_value_arrays), (g_object_get_value_array):
25127         * libs/gst/controller/gst-interpolation.c:
25128         (gst_controlled_property_find_timed_value_node),
25129         (interpolate_none_get), (interpolate_trigger_get),
25130         (interpolate_trigger_get_value_array):
25131         * libs/gst/controller/lib.c: (gst_controller_init):
25132         * pkgconfig/Makefile.am:
25133         * pkgconfig/gstreamer-control-uninstalled.pc.in:
25134         * pkgconfig/gstreamer-control.pc.in:
25135         * testsuite/Makefile.am:
25136         * testsuite/controller/.cvsignore:
25137         * testsuite/controller/Makefile.am:
25138         * testsuite/controller/interpolator.c: (main):
25139           added controller code
25140           removed dparam pc files
25141
25142 2005-08-01  Jan Schmidt  <thaytan@mad.scientist.com>
25143         * gst/base/gstcollectpads.c: (gst_collectpads_finalize),
25144         (gst_collectpads_stop):
25145           Broadcast the condition when shutting down, to make sure we wake all
25146           threads up. Shut down pads on finalize, for safety.
25147
25148 2005-08-01  Jan Schmidt  <thaytan@mad.scientist.com>
25149         * gst/base/gstbasetransform.c: (gst_base_transform_init),
25150         (gst_base_transform_handle_buffer),
25151         (gst_base_transform_change_state):
25152           Handle PAUSED->READY->PAUSED transition after negotiation
25153           occurred already.
25154         * gst/gstmessage.c: (gst_message_init):
25155           Extra piece of debug for new messages.
25156
25157 2005-08-01  Stefan Kost  <ensonic@users.sf.net>
25158
25159         * configure.ac:
25160         * docs/gst/tmpl/gstbasesrc.sgml:
25161         * docs/gst/tmpl/gstelement.sgml:
25162         * docs/gst/tmpl/gstevent.sgml:
25163         * docs/gst/tmpl/gstfakesrc.sgml:
25164         * docs/gst/tmpl/gstformat.sgml:
25165         * docs/gst/tmpl/gstghostpad.sgml:
25166         * docs/gst/tmpl/gstpad.sgml:
25167         * docs/gst/tmpl/gstquery.sgml:
25168         * docs/gst/tmpl/gststructure.sgml:
25169         * docs/gst/tmpl/gsttaglist.sgml:
25170         * docs/gst/tmpl/gstvalue.sgml:
25171         * docs/libs/gstreamer-libs-docs.sgml:
25172         * docs/libs/gstreamer-libs-sections.txt:
25173         * docs/libs/gstreamer-libs.types:
25174         * libs/gst/Makefile.am:
25175         * libs/gst/control/.cvsignore:
25176         * libs/gst/control/Makefile.am:
25177         * libs/gst/control/control.c:
25178         * libs/gst/control/control.h:
25179         * libs/gst/control/dparam.c:
25180         * libs/gst/control/dparam.h:
25181         * libs/gst/control/dparam_smooth.c:
25182         * libs/gst/control/dparam_smooth.h:
25183         * libs/gst/control/dparamcommon.h:
25184         * libs/gst/control/dparammanager.c:
25185         * libs/gst/control/dparammanager.h:
25186         * libs/gst/control/dplinearinterp.c:
25187         * libs/gst/control/dplinearinterp.h:
25188         * libs/gst/control/unitconvert.c:
25189         * libs/gst/control/unitconvert.h:
25190         * testsuite/Makefile.am:
25191         * testsuite/dynparams/.cvsignore:
25192         * testsuite/dynparams/Makefile.am:
25193         * testsuite/dynparams/dparamstest.c:
25194         * tools/Makefile.am:
25195         * tools/gst-inspect.c: (print_element_info), (main):
25196         * tools/gst-xmlinspect.c: (print_element_info), (main):
25197           deactivate and remove dparams (libgstcontrol)
25198
25199 2005-08-01  Tim-Philipp Müller  <tim at centricular dot net>
25200
25201         * gst/elements/gsttypefindelement.c:
25202         (gst_type_find_element_have_type), (gst_type_find_element_init),
25203         (stop_typefinding), (gst_type_find_element_handle_event),
25204         (gst_type_find_element_chain), (gst_type_find_element_getrange):
25205         * gst/elements/gsttypefindelement.h:
25206           Set caps on all outgoing buffers, not just the first one.
25207
25208 2005-08-01  Tim-Philipp Müller  <tim at centricular dot net>
25209
25210         * gst/elements/gsttypefindelement.c:
25211         (gst_type_find_element_have_type),
25212         (gst_type_find_element_check_set_buffer_caps),
25213         (gst_type_find_element_init), (stop_typefinding),
25214         (gst_type_find_element_handle_event),
25215         (gst_type_find_element_chain), (gst_type_find_element_getrange):
25216         * gst/elements/gsttypefindelement.h:
25217           Set caps on first outgoing buffer when we've found the type.
25218
25219 2005-08-01  Tim-Philipp Müller  <tim at centricular dot net>
25220
25221         * docs/gst/gstreamer-docs.sgml:
25222         * docs/gst/gstreamer-sections.txt:
25223         * docs/gst/tmpl/gstscheduler.sgml:
25224         * docs/gst/tmpl/gstschedulerfactory.sgml:
25225           Remove some old cruft from docs.
25226
25227 2005-07-31  Tim-Philipp Müller  <tim at centricular dot net>
25228
25229         * gst/gstpad.h:
25230           Fix inline docs for GstPadLinkReturn.
25231           
25232         * gst/gststructure.c: (gst_structure_has_name):
25233         * gst/gststructure.h:
25234         * docs/gst/gstreamer-sections.txt:
25235           New API: gst_structure_has_name().
25236
25237 2005-07-30  Tim-Philipp Müller  <tim at centricular dot net>
25238
25239         * configure.ac:
25240           Use AC_SYS_LARGEFILE, which will set _FILE_OFFSET_BITS=64
25241           and _LARGEFILE_SOURCE in config.h as required. Do not 
25242           export those flags in our .pc files any longer (#142209).
25243
25244           Remove unused GST_DISABLE_OMEGA_COTHREADS stuff.
25245
25246         * gst/elements/gstfilesink.c: (gst_file_sink_class_init),
25247         (gst_file_sink_do_seek), (gst_file_sink_event),
25248         (gst_file_sink_get_current_offset), (gst_file_sink_render):
25249           Redo seek/tell calls with large file support in mind; add some
25250           debugging messages; add log message that tells us when large
25251           file support is unavailable or not enabled for some reason.
25252
25253         * gst/elements/gstfilesrc.c: (gst_file_src_class_init):
25254           Add log message that tells us when large file support 
25255           is unavailable or not enabled for some reason.
25256
25257 2005-07-29  Wim Taymans  <wim@fluendo.com>
25258
25259         * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
25260         Added test for removing an element with ghostpad from a bin.
25261         Fixed test as current implementation does the right thing.
25262
25263         * gst/gstghostpad.c: (gst_proxy_pad_class_init),
25264         (gst_proxy_pad_do_query_type), (gst_proxy_pad_do_event),
25265         (gst_proxy_pad_do_query), (gst_proxy_pad_do_internal_link),
25266         (gst_proxy_pad_do_bufferalloc), (gst_proxy_pad_do_activate),
25267         (gst_proxy_pad_do_activatepull), (gst_proxy_pad_do_activatepush),
25268         (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange),
25269         (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_getcaps),
25270         (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
25271         (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target),
25272         (gst_proxy_pad_get_target), (gst_proxy_pad_init),
25273         (gst_proxy_pad_dispose), (gst_proxy_pad_finalize),
25274         (gst_ghost_pad_class_init), (gst_ghost_pad_do_activate_push),
25275         (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
25276         (gst_ghost_pad_set_internal), (gst_ghost_pad_dispose),
25277         (gst_ghost_pad_new_notarget), (gst_ghost_pad_new),
25278         (gst_ghost_pad_get_target), (gst_ghost_pad_set_target):
25279         * gst/gstghostpad.h:
25280         Clean up ghostpads, remove properties for internal stuff.
25281         Make threadsafe.
25282         Fix refcounting.
25283         Prepare for switching targets, not all use cases work yet.
25284
25285 2005-07-29  Wim Taymans  <wim@fluendo.com>
25286
25287         * docs/design/part-gstghostpad.txt:
25288         Small update.
25289
25290         * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
25291         (gst_bin_remove_func):
25292         Unlinking pads while holding the bin LOCK is not a good
25293         idea.
25294
25295         * gst/gstpad.c: (gst_pad_class_init),
25296         (gst_pad_link_check_hierarchy), (gst_pad_get_caps_unlocked),
25297         (gst_pad_accept_caps), (gst_pad_set_caps), (gst_pad_send_event):
25298         No prob setting template after creating the pad.
25299
25300 2005-07-29  Jan Schmidt  <thaytan@mad.scientist.com>
25301
25302         * gst/gstbus.c: (gst_bus_set_flushing), (gst_bus_pop),
25303         (gst_bus_peek), (gst_bus_source_dispatch),
25304         (gst_bus_add_watch_full), (poll_handler), (poll_timeout),
25305         (poll_destroy), (poll_destroy_timeout), (gst_bus_poll):
25306           gst_bus_poll may be called from other threads. Handle
25307           this nicely by not making poll_data disappear off the
25308           stack once gst_bus_poll returns.
25309           gst_bus_peek now increments the refcount on the returned
25310           message.
25311
25312 2005-07-29  Wim Taymans  <wim@fluendo.com>
25313
25314         * docs/design/part-gstghostpad.txt:
25315         Overview of current GhostPad datastructures and use
25316         cases for changing the target.
25317
25318 2005-07-28  Wim Taymans  <wim@fluendo.com>
25319
25320         * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
25321         Added checks for hierarchy consistency whan adding linked
25322         elements to bins.
25323
25324         * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
25325         Added check to test element scheduling without bin/pipeline.
25326
25327         * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
25328         First add elements to bin, then link.
25329         
25330         * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
25331         (gst_bin_remove_func):
25332         Unlink pads from elements added/removed from bin to maintain
25333         hierarchy consistency.
25334
25335 2005-07-28  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
25336
25337         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
25338         (gst_base_transform_handle_buffer):
25339         * gst/base/gstbasetransform.h:
25340           Remove broken delay_configure (fixes renegotiation of software
25341           scaling pipelines); remove some leftover printf()s.
25342
25343 2005-07-28  Wim Taymans  <wim@fluendo.com>
25344
25345         * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
25346         Added some more tests for wrong hierarchy
25347
25348         * docs/design/part-overview.txt:
25349         Some updates.
25350
25351         * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_dispose):
25352         Cleanups.
25353
25354         * gst/gstelement.c: (gst_element_remove_pad), (gst_element_seek),
25355         (gst_element_dispose):
25356         Some more cleanups.
25357
25358         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
25359         (gst_pad_link_check_hierarchy), (gst_pad_link_prepare),
25360         (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
25361         (gst_pad_set_caps), (gst_pad_send_event):
25362         Check for correct hierarchy when linking pads. Moving to
25363         strict requirement for ghostpads when linking elements in
25364         different bins.
25365
25366         * gst/gstpad.h:
25367         Clean ups. Added WRONG_HIERARCHY return value.
25368
25369 2005-07-28  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
25370
25371         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
25372           Better debug if no transform is possible.
25373
25374 2005-07-27  Wim Taymans  <wim@fluendo.com>
25375
25376         * docs/random/wtay/network-transp:
25377         Some old doc I had.
25378
25379 2005-07-27  Wim Taymans  <wim@fluendo.com>
25380
25381         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
25382         (gst_dp_event_from_packet):
25383         Fix serialization of seek events.
25384
25385 2005-07-27  Wim Taymans  <wim@fluendo.com>
25386
25387         * check/gst-libs/gdp.c: (GST_START_TEST):
25388         * gst/elements/gstfakesink.c: (gst_fake_sink_event):
25389         Fix compilation and fix event serialization.
25390
25391 2005-07-27  Wim Taymans  <wim@fluendo.com>
25392
25393         * CHANGES-0.9:
25394         * docs/design/part-TODO.txt:
25395         * docs/design/part-events.txt:
25396         Some docs updates
25397
25398         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
25399         (gst_base_sink_event), (gst_base_sink_do_sync),
25400         (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
25401         * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
25402         (gst_base_src_do_seek), (gst_base_src_event_handler),
25403         (gst_base_src_loop):
25404         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
25405         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
25406         (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
25407         (gst_base_transform_event), (gst_base_transform_handle_buffer),
25408         (gst_base_transform_set_passthrough),
25409         (gst_base_transform_is_passthrough):
25410         * gst/elements/gstfakesink.c: (gst_fake_sink_event):
25411         * gst/elements/gstfilesink.c: (gst_file_sink_event):
25412         Event updates.
25413
25414         * gst/gstbuffer.h:
25415         Use faster casts.
25416
25417         * gst/gstelement.c: (gst_element_seek):
25418         * gst/gstelement.h:
25419         Update gst_element_seek.
25420
25421         * gst/gstevent.c: (gst_event_finalize), (_gst_event_copy),
25422         (gst_event_new), (gst_event_new_custom), (gst_event_get_structure),
25423         (gst_event_new_flush_start), (gst_event_new_flush_stop),
25424         (gst_event_new_eos), (gst_event_new_newsegment),
25425         (gst_event_parse_newsegment), (gst_event_new_tag),
25426         (gst_event_parse_tag), (gst_event_new_filler), (gst_event_new_qos),
25427         (gst_event_parse_qos), (gst_event_new_seek),
25428         (gst_event_parse_seek), (gst_event_new_navigation):
25429         * gst/gstevent.h:
25430         Make GstEvent use GstStructure. Add parsing code, make sure the
25431         API is sufficiently generic.
25432         Mark possible directions of events and serialization.
25433
25434         * gst/gstmessage.c: (gst_message_init), (gst_message_finalize),
25435         (_gst_message_copy), (gst_message_new_segment_start),
25436         (gst_message_new_segment_done), (gst_message_new_custom),
25437         (gst_message_parse_segment_start),
25438         (gst_message_parse_segment_done):
25439         Small cleanups.
25440
25441         * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
25442         (gst_pad_set_caps), (gst_pad_send_event):
25443         Update for new events. 
25444         Catch events sent in wrong directions.
25445
25446         * gst/gstqueue.c: (gst_queue_link_src),
25447         (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
25448         (gst_queue_handle_src_query):
25449         Event updates.
25450
25451         * gst/gsttag.c:
25452         * gst/gsttag.h:
25453         Remove event code from this file.
25454
25455         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
25456         (gst_dp_event_from_packet):
25457         Event updates.
25458
25459 2005-07-27  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
25460
25461         * gst/base/gstbasetransform.c: (gst_base_transform_getcaps),
25462         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
25463         (gst_base_transform_get_size), (gst_base_transform_handle_buffer):
25464           Make debugging actually useful.
25465
25466 2005-07-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
25467
25468         * gst/gstpad.c: (fixate_value), (gst_pad_default_fixate),
25469         (gst_pad_fixate_caps):
25470           Implement default fixation once again, so that gst_pad_fixate()
25471           actually does anything at all. This probably needs to be some
25472           sort of a last resort, and use profile-based fixation first, but
25473           since that doesn't exist yet, this is the best we have. Fixes
25474           visualization in Totem.
25475
25476 2005-07-22  Wim Taymans  <wim@fluendo.com>
25477
25478         * docs/design/part-events.txt:
25479         Small update.
25480
25481         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
25482         (gst_base_sink_do_sync), (gst_base_sink_activate_push),
25483         (gst_base_sink_activate_pull):
25484         Some more comments.
25485
25486         * gst/elements/gstfakesrc.c: (gst_fake_src_class_init),
25487         (gst_fake_src_create):
25488         Fix handoff marshall.
25489
25490         * gst/elements/gstidentity.c: (gst_identity_class_init),
25491         (gst_identity_transform_ip):
25492         We're a real inplace element.
25493
25494         * gst/gstbus.c: (gst_bus_post):
25495         Added some comments.
25496
25497         * tests/lat.c: (fakesrc), (fakesink), (simple), (queue), (main):
25498         * tests/muxing/case1.c: (main):
25499         * tests/sched/dynamic-pipeline.c: (main):
25500         * tests/sched/interrupt1.c: (main):
25501         * tests/sched/interrupt2.c: (main):
25502         * tests/sched/interrupt3.c: (main):
25503         * tests/sched/runxml.c: (main):
25504         * tests/sched/sched-stress.c: (main):
25505         * tests/seeking/seeking1.c: (event_received), (main):
25506         * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
25507         (main):
25508         * tests/threadstate/threadstate3.c: (main):
25509         * tests/threadstate/threadstate4.c: (main):
25510         * tests/threadstate/threadstate5.c: (main):
25511         Fix the tests.
25512
25513 2005-07-21  Wim Taymans  <wim@fluendo.com>
25514
25515         * docs/design/part-seeking.txt:
25516         Some small additions.
25517
25518         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
25519         (gst_base_sink_get_times), (gst_base_sink_do_sync),
25520         (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
25521         * gst/base/gstbasesink.h:
25522         discont values are gint64, handle the math correctly.
25523
25524         * gst/base/gstbasesrc.c: (gst_base_src_loop):
25525         Make the basesrc report error if the source pad is not linked.
25526
25527         * gst/gstqueue.c: (gst_queue_link_src), (gst_queue_chain),
25528         (gst_queue_loop), (gst_queue_handle_src_query),
25529         (gst_queue_src_activate_push):
25530         Make queue collect data even if the srcpad is not linked.
25531         Start pushing out data as soon as it is linked.
25532
25533         * gst/gstutils.c: (gst_element_unlink), (gst_flow_get_name):
25534         * gst/gstutils.h:
25535         Added gst_flow_get_name() to ease error reporting.
25536
25537 2005-07-20  Wim Taymans  <wim@fluendo.com>
25538
25539         * gst/gstmessage.c: (gst_message_new_segment_start),
25540         (gst_message_new_segment_done), (gst_message_parse_segment_start),
25541         (gst_message_parse_segment_done):
25542         * gst/gstmessage.h:
25543         Added a bunch of messages for advanced seeking.
25544
25545         * gst/parse/grammar.y:
25546         * libs/gst/control/dparammanager.c: (gst_dpman_set_parent),
25547         (gst_dpman_state_changed):
25548         Fix some new-pad -> pad-added signals
25549
25550 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
25551
25552         * docs/manual/appendix-porting.xml:
25553         * docs/pwg/appendix-porting.xml:
25554           Document new-pad/state-change signal renames and the FixedList
25555           type rename.
25556
25557 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
25558
25559         * docs/manual/advanced-autoplugging.xml:
25560         * docs/manual/basics-helloworld.xml:
25561         * docs/manual/basics-pads.xml:
25562         * docs/random/ds/0.9-suggested-changes:
25563         * gst/gstelement.c: (gst_element_class_init), (gst_element_seek):
25564         * gst/gstelement.h:
25565         * gst/gstevent.h:
25566         * gst/gstformat.h:
25567         * gst/gstquery.h:
25568         * gst/gststructure.c: (gst_structure_value_get_generic_type),
25569         (gst_structure_parse_array), (gst_structure_parse_value):
25570         * gst/gstvalue.c: (gst_type_is_fixed),
25571         (gst_value_list_prepend_value), (gst_value_list_append_value),
25572         (gst_value_list_get_size), (gst_value_list_get_value),
25573         (gst_value_transform_array_string), (gst_value_serialize_array),
25574         (gst_value_deserialize_array), (gst_value_intersect_array),
25575         (gst_value_is_fixed), (_gst_value_initialize):
25576         * gst/gstvalue.h:
25577           GstElement::new-pad -> pad-added, GstElement::state-change ->
25578           state-changed, GstValueFixedList -> GstValueArray, add format and
25579           flags as their own arguments in gst_element_seek() (should improve
25580           "bindeability"), remove function generators since they don't work
25581           under a whole bunch of compilers (they were deprecated already
25582           anyway).
25583
25584 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
25585
25586         * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
25587         (_gst_debug_register_funcptr):
25588         * gst/gstinfo.h:
25589           Fix illegal cast on some platforms (#309253).
25590
25591 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
25592
25593         * gst/gstmessage.c: (gst_message_new_custom):
25594         * gst/gstmessage.h:
25595           Add _new_custom, make _new_application a macro to _new_custom.
25596
25597 2005-07-20  Wim Taymans  <wim@fluendo.com>
25598
25599         * gst/base/gstbasesrc.c: (gst_base_src_init),
25600         (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start):
25601         * gst/base/gstbasesrc.h:
25602         Add a gboolean to decide when to push out a discont.
25603
25604         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
25605         (gst_queue_loop), (gst_queue_handle_src_query),
25606         (gst_queue_sink_activate_push), (gst_queue_src_activate_push),
25607         (gst_queue_set_property), (gst_queue_get_property):
25608         Some cleanups.
25609
25610         * tests/threadstate/threadstate1.c: (main):
25611         Make a thread test compile and run... very silly..
25612
25613
25614 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
25615
25616         * docs/manual/appendix-porting.xml:
25617           Mention removal of libgstgconf-0.9.la and existence of gconf
25618           elements.
25619
25620 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
25621
25622         * docs/pwg/advanced-clock.xml:
25623         * docs/pwg/appendix-porting.xml:
25624         * docs/pwg/intro-preface.xml:
25625         * docs/pwg/other-base.xml:
25626         * docs/pwg/other-manager.xml:
25627         * docs/pwg/other-nton.xml:
25628         * docs/pwg/other-ntoone.xml:
25629         * docs/pwg/other-oneton.xml:
25630         * docs/pwg/pwg.xml:
25631           Document base classes, update sections of n-to-1 and 1-to-n (muxer,
25632           demuxer), remove n-to-n (was never written), fix some code examples
25633           and links and update the porting section to include all this.
25634
25635 2005-07-19  Wim Taymans  <wim@fluendo.com>
25636
25637         * gst/gstqueue.c: (gst_queue_init), (gst_queue_handle_sink_event),
25638         (gst_queue_chain), (gst_queue_loop), (gst_queue_handle_src_event),
25639         (gst_queue_handle_src_query), (gst_queue_sink_activate_push),
25640         (gst_queue_src_activate_push), (gst_queue_change_state),
25641         (gst_queue_get_property):
25642         * gst/gstqueue.h:
25643         Propagate GstFlowReturn more intelligently upstream and output
25644         an ERROR/EOS when streaming stopped due to fatal error.
25645
25646 2005-07-19  Wim Taymans  <wim@fluendo.com>
25647
25648         * tools/gst-launch.c: (check_intr), (event_loop), (main):
25649         Don't block forever for the state change to complete, the
25650         pipeline already did with a sensible timeout.
25651
25652 2005-07-19  Wim Taymans  <wim@fluendo.com>
25653
25654         * gst/base/gstbasesrc.c: (gst_base_src_get_range):
25655         Make sure we never call the create function is we
25656         got deactivated.
25657
25658 2005-07-19  Andy Wingo  <wingo@pobox.com>
25659
25660         * gst/parse/parse.l: Attempt to solve bug #172815.
25661
25662 2005-07-19  Wim Taymans  <wim@fluendo.com>
25663
25664         * docs/design/part-clocks.txt:
25665         * docs/design/part-events.txt:
25666         * gst/base/gstbasesrc.c: (gst_base_src_do_seek):
25667         Small docs updates.
25668         Only update the seeking values when we are not
25669         busy streaming.
25670
25671 2005-07-19  Jan Schmidt  <thaytan@mad.scientist.com>
25672
25673         * gst/base/gstbasesrc.c: (gst_base_src_loop):
25674           Oops, ignore the result of gst_pad_push_event here.
25675
25676 2005-07-19  Jan Schmidt  <thaytan@mad.scientist.com>
25677
25678         * gst/base/gstbasesrc.c: (gst_base_src_loop),
25679         (gst_base_src_activate_push):
25680           Send discont event from the loop function, as pads
25681           aren't activated yet in the activate_push handler.
25682
25683         * gst/gstbin.c: (bin_bus_handler):
25684           Don't leak element name.
25685
25686 2005-07-18  Andy Wingo  <wingo@pobox.com>
25687
25688         * configure.ac: Use AS_LIBTOOL_TAGS.
25689
25690 2005-07-18  Wim Taymans  <wim@fluendo.com>
25691
25692         * docs/gst/gstreamer.types:
25693         Remove deleted types.
25694
25695 2005-07-18  Wim Taymans  <wim@fluendo.com>
25696
25697         * check/elements/gstfakesrc.c: (GST_START_TEST):
25698         * configure.ac:
25699         * gst/Makefile.am:
25700         * gst/gst.c: (gst_init_get_popt_table), (init_pre), (init_post),
25701         (init_popt_callback):
25702         * gst/gst.h:
25703         * gst/gst_private.h:
25704         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_add_func),
25705         (gst_bin_remove_func), (gst_bin_get_state), (gst_bin_change_state):
25706         * gst/gstbin.h:
25707         * gst/gstbus.h:
25708         * gst/gstconfig.h.in:
25709         * gst/gstelement.c: (gst_element_class_init),
25710         (gst_element_set_base_time), (gst_element_get_base_time),
25711         (iterator_fold_with_resync), (gst_element_change_state),
25712         (gst_element_dispose), (gst_element_get_bus):
25713         * gst/gstelement.h:
25714         * gst/gstelementfactory.h:
25715         * gst/gsterror.c: (_gst_core_errors_init):
25716         * gst/gsterror.h:
25717         * gst/gstevent.h:
25718         * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
25719         * gst/gstindex.c:
25720         * gst/gstinfo.c: (_gst_debug_init):
25721         * gst/gstmessage.c: (_gst_message_copy):
25722         * gst/gstmessage.h:
25723         * gst/gstminiobject.h:
25724         * gst/gstobject.c:
25725         * gst/gstobject.h:
25726         * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
25727         (gst_pad_set_caps), (gst_pad_start_task), (gst_pad_stop_task):
25728         * gst/gstpad.h:
25729         * gst/gstparse.h:
25730         * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
25731         (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
25732         (gst_pipeline_get_last_stream_time):
25733         * gst/gstpipeline.h:
25734         * gst/gstpluginfeature.h:
25735         * gst/gstquery.h:
25736         * gst/gstscheduler.c:
25737         * gst/gstscheduler.h:
25738         * gst/gststructure.h:
25739         * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
25740         (gst_task_finalize), (gst_task_func), (gst_task_create),
25741         (gst_task_set_lock), (gst_task_get_state), (gst_task_start),
25742         (gst_task_stop), (gst_task_pause):
25743         * gst/gsttask.h:
25744         * gst/gsttypefind.h:
25745         * gst/gsttypes.h:
25746         * gst/registries/gstlibxmlregistry.c: (load_feature),
25747         (gst_xml_registry_load), (gst_xml_registry_save_feature):
25748         * gst/registries/gstxmlregistry.c:
25749         (gst_xml_registry_start_element), (gst_xml_registry_save_feature):
25750         * gst/schedulers/threadscheduler.c:
25751         * libs/gst/control/dparammanager.h:
25752         * tools/gst-inspect.c: (print_element_list),
25753         (print_plugin_features), (print_element_features):
25754         * tools/gst-xmlinspect.c: (print_element_list),
25755         (print_plugin_info), (main):
25756         Removed plugable schedulers.
25757         Removed Scheduler/Manager from elements.
25758         Removed gsttypes.h, rearranged includes.
25759         Removed dependency pad<->element, element<>pipeline, and
25760         various others,  fix includes.
25761         implement gst_pad_get_parent() with gst_object_get_parent()
25762         Make GstTask sefcontained.
25763         Fix _get_state() on GstBin, it did not return ASYNC with a 0
25764         timeout.
25765         Fix endless loop in iterator_fold_with_resync.
25766
25767
25768 2005-07-18  Wim Taymans  <wim@fluendo.com>
25769
25770         * gst/Makefile.am:
25771         * gst/gstarch.h:
25772         Remove old file.
25773
25774 2005-07-18  Wim Taymans  <wim@fluendo.com>
25775
25776         * gst/Makefile.am:
25777         No more cothreads.h
25778
25779 2005-07-18  Wim Taymans  <wim@fluendo.com>
25780
25781         * gst/cothreads.c:
25782         * gst/cothreads.h:
25783         Let's remove these.
25784
25785 2005-07-18  Wim Taymans  <wim@fluendo.com>
25786
25787         * docs/design/part-dynamic.txt:
25788         * docs/design/part-events.txt:
25789         * docs/design/part-seeking.txt:
25790         Some more docs in the works.
25791
25792         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
25793         (gst_base_transform_getcaps), (gst_base_transform_configure_caps),
25794         (gst_base_transform_setcaps), (gst_base_transform_get_size),
25795         (gst_base_transform_buffer_alloc), (gst_base_transform_event),
25796         (gst_base_transform_handle_buffer),
25797         (gst_base_transform_sink_activate_push),
25798         (gst_base_transform_src_activate_pull),
25799         (gst_base_transform_set_passthrough),
25800         (gst_base_transform_is_passthrough):
25801         Refcounting fixes.
25802
25803         * gst/gstbus.c: (gst_bus_source_dispatch), (gst_bus_poll):
25804         Cleanups.
25805
25806         * gst/gstevent.c: (gst_event_finalize):
25807         Set SRC to NULL.
25808
25809         * gst/gstutils.c: (gst_element_unlink),
25810         (gst_pad_get_parent_element), (gst_pad_proxy_getcaps),
25811         (gst_pad_proxy_setcaps):
25812         * gst/gstutils.h:
25813         Add _get_parent_element() to get a pads parent as an element.
25814
25815 2005-07-18  Wim Taymans  <wim@fluendo.com>
25816
25817         * check/gst/gstbin.c: (GST_START_TEST):
25818         Remove bogus test.
25819
25820 2005-07-18  Wim Taymans  <wim@fluendo.com>
25821
25822         * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
25823         (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
25824         (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
25825         (gst_base_sink_event), (gst_base_sink_do_sync),
25826         (gst_base_sink_chain), (gst_base_sink_loop),
25827         (gst_base_sink_deactivate), (gst_base_sink_activate_push),
25828         (gst_base_sink_activate_pull), (gst_base_sink_change_state):
25829         Refcounting fixes.
25830         Fix logic for returning ASYNC when not prerolled.
25831
25832 2005-07-18  Wim Taymans  <wim@fluendo.com>
25833
25834         * gst/gstqueue.c: (gst_queue_handle_sink_event):
25835         Fix nasty refcount bug.
25836
25837 2005-07-16 Philippe Khalaf <burger@speedy.org>
25838
25839         * gst/elements/gstfdsrc.c:
25840         * gst/elements/gstfdsrc.h:
25841         * gst/elements/gstelements.c:
25842         * gst/elements/Makefile.am:
25843         Ported fdsrc to 0.9.
25844
25845 2005-07-16  Wim Taymans  <wim@fluendo.com>
25846
25847         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
25848         (gst_base_sink_do_sync):
25849         Fix compile error.
25850
25851 2005-07-16  Wim Taymans  <wim@fluendo.com>
25852
25853         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
25854         (gst_base_sink_event), (gst_base_sink_get_times),
25855         (gst_base_sink_do_sync), (gst_base_sink_change_state):
25856         * gst/base/gstbasesink.h:
25857         Store and use discont values when syncing buffers as described
25858         in design docs.
25859         
25860         * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
25861         (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start),
25862         (gst_base_src_activate_push):
25863         Push discont event when starting.
25864
25865         * gst/elements/gstidentity.c: (gst_identity_transform):
25866         Small cleanups.
25867
25868         * gst/gstbin.c: (gst_bin_change_state):
25869         Small cleanups in base_time  distribution.
25870
25871         * gst/gstelement.c: (gst_element_set_base_time),
25872         (gst_element_get_base_time), (gst_element_change_state):
25873         * gst/gstelement.h:
25874         Added methods for the base_time of the element.
25875         Some MT fixes.
25876
25877         * gst/gstpipeline.c: (gst_pipeline_send_event),
25878         (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
25879         (gst_pipeline_get_last_stream_time):
25880         * gst/gstpipeline.h:
25881         MT fixes.
25882         Handle seeking as described in design doc, remove stream_time
25883         hack.
25884         Cleanups clock and stream_time selection code. Added accessors
25885         for the stream_time.
25886         
25887
25888 2005-07-16  Andy Wingo  <wingo@pobox.com>
25889
25890         * gst/gsterror.c (_gst_core_errors_init): Use the magic word
25891         (#305291).
25892
25893 2005-07-16  Wim Taymans  <wim@fluendo.com>
25894
25895         * check/gst/gstbin.c: (GST_START_TEST):
25896         Make elements silent as the deep_notify refs the
25897         parent, which might make the test fail.
25898
25899         * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
25900         Don't hold the lock for too long.
25901
25902 2005-07-16  Tim-Philipp Müller  <tim at centricular dot net>
25903
25904         * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
25905           Don't unref the caps we passed to gst_caps_make_writable() after
25906           passing them. gst_caps_make_writable() will do that for us.
25907
25908 2005-07-15  Andy Wingo  <wingo@pobox.com>
25909
25910         * gst/gstcaps.h (gst_caps_is_simple): Removed deprecated macro
25911         (#157311).
25912
25913         * gst/elements/gstidentity.c (marshal_VOID__MINIOBJECT): Write our
25914         own marshalling function for the handoff signal. Properly type the
25915         buffer as a buffer. Fixes some warnings. Should do a more general
25916         solution.
25917         (gst_identity_class_init): Plug into the right marshaller.
25918
25919 2005-07-15  Wim Taymans  <wim@fluendo.com>
25920
25921         * docs/design/part-TODO.txt:
25922         * docs/design/part-clocks.txt:
25923         * docs/design/part-element-sink.txt:
25924         * docs/design/part-events.txt:
25925         * docs/design/part-gstpipeline.txt:
25926         Updated docs, mostly DISCONT related.
25927
25928 2005-07-15  Tim-Philipp Müller  <tim at centricular dot net>
25929
25930         * docs/pwg/building-pads.xml:
25931           s/GST_PAD_LINK_REFUSED/FALSE/ in gst_my_filter_setcaps()
25932
25933 2005-07-15  Andy Wingo  <wingo@pobox.com>
25934
25935         * tools/gst-typefind.c: Update, add copyright block.
25936
25937         * gst/base/gstbasesrc.c (gst_base_src_default_negotiate):
25938         Normalize and truncate caps before fixation.
25939
25940         * gst/gstcaps.h:
25941         * gst/gstcaps.c (gst_caps_truncate): New function, destructively
25942         discards all but the first structure from its argument.
25943
25944 2005-07-15  Wim Taymans  <wim@fluendo.com>
25945
25946         * gst/base/gstbasetransform.c: (gst_base_transform_init),
25947         (gst_base_transform_transform_caps), (gst_base_transform_getcaps),
25948         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
25949         (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
25950         (gst_base_transform_handle_buffer), (gst_base_transform_getrange),
25951         (gst_base_transform_chain), (gst_base_transform_change_state),
25952         (gst_base_transform_set_passthrough),
25953         (gst_base_transform_is_passthrough):
25954         * gst/base/gstbasetransform.h:
25955         Make passthrough work using the bufferpools.
25956         Changed API a bit, subclasses have to write into a buffer
25957         provided by the base class.
25958         More debug info in nego functions.
25959         
25960         * gst/elements/gstidentity.c: (gst_identity_init),
25961         (gst_identity_transform):
25962         Port to new base class.
25963
25964 2005-07-15  Wim Taymans  <wim@fluendo.com>
25965
25966         * gst/gstmessage.c: (gst_message_new_state_changed):
25967         * tools/gst-launch.c: (event_loop), (main):
25968         Totally dump messages in -launch with the -m option.
25969         Fix message name for State messages,
25970
25971 2005-07-14  Wim Taymans  <wim@fluendo.com>
25972
25973         * gst/base/gstbasesrc.c: (gst_base_src_loop):
25974         Post error messages on errors.
25975
25976 2005-07-14  Wim Taymans  <wim@fluendo.com>
25977
25978         * gst/gstcaps.c: (gst_caps_do_simplify):
25979         Remove debug info.
25980
25981         * gst/gsterror.h:
25982         Define error for stream stopped.
25983
25984         * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
25985         (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange):
25986         Do proper return values.
25987
25988         * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
25989         (gst_pad_set_caps), (gst_pad_chain), (gst_pad_push),
25990         (gst_pad_get_range):
25991         Better return values.
25992
25993         * gst/gstpad.h:
25994         Reorganise return values, add macro to check for fatal errors.
25995
25996         * gst/gstqueue.c: (gst_queue_chain):
25997         Return proper GstFlowReturn values,
25998
25999 2005-07-14  Thomas Vander Stichele  <thomas at apestaart dot org>
26000
26001         * docs/gst/gstreamer-sections.txt:
26002         * docs/gst/gstreamer.types:
26003         * docs/gst/tmpl/gst.sgml:
26004         * docs/gst/tmpl/gstbasesink.sgml:
26005         * docs/gst/tmpl/gstbasesrc.sgml:
26006         * docs/gst/tmpl/gstbasetransform.sgml:
26007         * docs/gst/tmpl/gstbin.sgml:
26008         * docs/gst/tmpl/gstbuffer.sgml:
26009         * docs/gst/tmpl/gstcaps.sgml:
26010         * docs/gst/tmpl/gstclock.sgml:
26011         * docs/gst/tmpl/gstcompat.sgml:
26012         * docs/gst/tmpl/gstconfig.sgml:
26013         * docs/gst/tmpl/gstelement.sgml:
26014         * docs/gst/tmpl/gstelementdetails.sgml:
26015         * docs/gst/tmpl/gstelementfactory.sgml:
26016         * docs/gst/tmpl/gstenumtypes.sgml:
26017         * docs/gst/tmpl/gsterror.sgml:
26018         * docs/gst/tmpl/gstevent.sgml:
26019         * docs/gst/tmpl/gstfakesink.sgml:
26020         * docs/gst/tmpl/gstfakesrc.sgml:
26021         * docs/gst/tmpl/gstfilesink.sgml:
26022         * docs/gst/tmpl/gstfilesrc.sgml:
26023         * docs/gst/tmpl/gstfilter.sgml:
26024         * docs/gst/tmpl/gstformat.sgml:
26025         * docs/gst/tmpl/gstghostpad.sgml:
26026         * docs/gst/tmpl/gstimplementsinterface.sgml:
26027         * docs/gst/tmpl/gstindex.sgml:
26028         * docs/gst/tmpl/gstindexfactory.sgml:
26029         * docs/gst/tmpl/gstinfo.sgml:
26030         * docs/gst/tmpl/gstiterator.sgml:
26031         * docs/gst/tmpl/gstmacros.sgml:
26032         * docs/gst/tmpl/gstmemchunk.sgml:
26033         * docs/gst/tmpl/gstminiobject.sgml:
26034         * docs/gst/tmpl/gstobject.sgml:
26035         * docs/gst/tmpl/gstpad.sgml:
26036         * docs/gst/tmpl/gstpadtemplate.sgml:
26037         * docs/gst/tmpl/gstparse.sgml:
26038         * docs/gst/tmpl/gstpipeline.sgml:
26039         * docs/gst/tmpl/gstplugin.sgml:
26040         * docs/gst/tmpl/gstpluginfeature.sgml:
26041         * docs/gst/tmpl/gstquery.sgml:
26042         * docs/gst/tmpl/gstqueue.sgml:
26043         * docs/gst/tmpl/gstregistry.sgml:
26044         * docs/gst/tmpl/gstregistrypool.sgml:
26045         * docs/gst/tmpl/gstscheduler.sgml:
26046         * docs/gst/tmpl/gstschedulerfactory.sgml:
26047         * docs/gst/tmpl/gststructure.sgml:
26048         * docs/gst/tmpl/gstsystemclock.sgml:
26049         * docs/gst/tmpl/gsttaglist.sgml:
26050         * docs/gst/tmpl/gsttagsetter.sgml:
26051         * docs/gst/tmpl/gsttrace.sgml:
26052         * docs/gst/tmpl/gsttrashstack.sgml:
26053         * docs/gst/tmpl/gsttypefind.sgml:
26054         * docs/gst/tmpl/gsttypefindfactory.sgml:
26055         * docs/gst/tmpl/gsttypes.sgml:
26056         * docs/gst/tmpl/gsturihandler.sgml:
26057         * docs/gst/tmpl/gsturitype.sgml:
26058         * docs/gst/tmpl/gstutils.sgml:
26059         * docs/gst/tmpl/gstvalue.sgml:
26060         * docs/gst/tmpl/gstversion.sgml:
26061         * docs/gst/tmpl/gstxml.sgml:
26062         * docs/libs/tmpl/gstcontrol.sgml:
26063         * docs/libs/tmpl/gstdataprotocol.sgml:
26064         * docs/libs/tmpl/gstdparam.sgml:
26065         * docs/libs/tmpl/gstdplinint.sgml:
26066         * docs/libs/tmpl/gstdpman.sgml:
26067         * docs/libs/tmpl/gstdpsmooth.sgml:
26068         * docs/libs/tmpl/gstgetbits.sgml:
26069         * docs/libs/tmpl/gstunitconvert.sgml:
26070         * gst/base/gstpushsrc.c: (gst_push_src_get_type),
26071         (gst_push_src_base_init), (gst_push_src_class_init),
26072         (gst_push_src_init), (gst_push_src_create):
26073         * gst/base/gstpushsrc.h:
26074         * gst/elements/gstelements.c:
26075         * gst/elements/gstfakesink.c: (gst_fake_sink_state_error_get_type),
26076         (gst_fake_sink_base_init), (gst_fake_sink_class_init),
26077         (gst_fake_sink_init), (gst_fake_sink_set_property),
26078         (gst_fake_sink_get_property), (gst_fake_sink_get_times),
26079         (gst_fake_sink_event), (gst_fake_sink_preroll),
26080         (gst_fake_sink_render), (gst_fake_sink_change_state):
26081         * gst/elements/gstfakesink.h:
26082         * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
26083         (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type),
26084         (gst_fake_src_base_init), (gst_fake_src_class_init),
26085         (gst_fake_src_init), (gst_fake_src_event_handler),
26086         (gst_fake_src_alloc_parent), (gst_fake_src_set_property),
26087         (gst_fake_src_get_property), (gst_fake_src_prepare_buffer),
26088         (gst_fake_src_alloc_buffer), (gst_fake_src_get_size),
26089         (gst_fake_src_create_buffer), (gst_fake_src_create),
26090         (gst_fake_src_start), (gst_fake_src_stop):
26091         * gst/elements/gstfakesrc.h:
26092         * gst/elements/gstfilesink.c: (_do_init),
26093         (gst_file_sink_base_init), (gst_file_sink_class_init),
26094         (gst_file_sink_init), (gst_file_sink_dispose),
26095         (gst_file_sink_set_location), (gst_file_sink_set_property),
26096         (gst_file_sink_get_property), (gst_file_sink_open_file),
26097         (gst_file_sink_close_file), (gst_file_sink_query),
26098         (gst_file_sink_event), (gst_file_sink_render),
26099         (gst_file_sink_change_state), (gst_file_sink_uri_get_type),
26100         (gst_file_sink_uri_get_protocols), (gst_file_sink_uri_get_uri),
26101         (gst_file_sink_uri_set_uri), (gst_file_sink_uri_handler_init):
26102         * gst/elements/gstfilesink.h:
26103         * gst/elements/gstfilesrc.c: (_do_init), (gst_file_src_base_init),
26104         (gst_file_src_class_init), (gst_file_src_init),
26105         (gst_file_src_finalize), (gst_file_src_set_location),
26106         (gst_file_src_set_property), (gst_file_src_get_property),
26107         (gst_file_src_map_region), (gst_file_src_map_small_region),
26108         (gst_file_src_create_mmap), (gst_file_src_create_read),
26109         (gst_file_src_create), (gst_file_src_is_seekable),
26110         (gst_file_src_get_size), (gst_file_src_start), (gst_file_src_stop),
26111         (gst_file_src_uri_get_type), (gst_file_src_uri_get_protocols),
26112         (gst_file_src_uri_get_uri), (gst_file_src_uri_set_uri),
26113         (gst_file_src_uri_handler_init):
26114         * gst/elements/gstfilesrc.h:
26115           more autistic cleanliness in functions/names/defines
26116
26117 2005-07-13  Andy Wingo  <wingo@pobox.com>
26118
26119         * gst/base/gstbasesrc.c (gst_base_src_start): Post an error if the
26120         source couldn't negotiate.
26121
26122         * gst/parse/grammar.y: Revert 1.54->1.55, so we now do filtered
26123         connections again.
26124
26125         * gst/gstutils.h:
26126         * gst/gstutils.c (gst_element_link_pads_filtered): New old
26127         function. I am channeling Hades. Put your boots on suckers!!!
26128
26129 2005-07-13  Thomas Vander Stichele  <thomas at apestaart dot org>
26130
26131         * testsuite/caps/Makefile.am:
26132         * testsuite/caps/value_compare.c:
26133         * testsuite/caps/value_intersect.c:
26134         * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
26135           move two testsuite apps over to the check dir
26136
26137 2005-07-12  Wim Taymans  <wim@fluendo.com>
26138
26139         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
26140         Added more debug info in the negotiate process.
26141
26142         * gst/gstmessage.h:
26143         Prepare for segment playback.
26144
26145         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps):
26146         Better debugging.
26147
26148         * gst/gstutils.c:
26149         Some more docs.
26150
26151         * tools/gst-launch.c: (main):
26152         NULL pipeline on errors.
26153
26154 2005-07-12  Andy Wingo  <wingo@pobox.com>
26155
26156         * gst/gstbuffer.c (_gst_buffer_copy): Copy the buffer whether or
26157         not it comes from a malloc region. Make sure our copy gets freed.
26158
26159 2005-07-12  Thomas Vander Stichele  <thomas at apestaart dot org>
26160
26161         * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
26162         * check/gst/gstmessage.c: (GST_START_TEST):
26163         * check/gst/gststructure.c: (GST_START_TEST),
26164         (gst_structure_suite), (main):
26165           more testing
26166         * gst/gstelement.c: (gst_element_message_full):
26167           clean up GError and debug string now that they get copied
26168         * gst/gstmessage.c: (gst_message_new_error),
26169         (gst_message_new_warning), (gst_message_parse_error),
26170         (gst_message_parse_warning):
26171           use GST_TYPE_G_ERROR for structure_new, and take copies of
26172           arguments, so that we don't mess up refcounting
26173
26174 2005-07-12  Thomas Vander Stichele  <thomas at apestaart dot org>
26175
26176         * check/Makefile.am:
26177           add per-test valgrind targets
26178         * check/gst-libs/gdp.c: (GST_START_TEST),
26179         (gst_data_protocol_suite), (main):
26180           clean up
26181
26182 2005-07-12  Thomas Vander Stichele  <thomas at apestaart dot org>
26183
26184         * check/Makefile.am:
26185           instate more valgrindable tests
26186         * check/elements/gstfakesrc.c: (chain_func), (event_func),
26187         (GST_START_TEST), (fakesrc_suite):
26188         * check/gst/gstpad.c: (GST_START_TEST):
26189         * check/gst/gststructure.c: (GST_START_TEST):
26190           fix test leaks
26191         * docs/gst/tmpl/gstminiobject.sgml:
26192         * gst/gstpad.c: (gst_pad_finalize):
26193           fix the static mutex leak
26194
26195 2005-07-11  Thomas Vander Stichele  <thomas at apestaart dot org>
26196
26197         * check/Makefile.am:
26198           add two more tests for valgrinding
26199         * check/gst/gstvalue.c: (GST_START_TEST):
26200           test refcount of deserialized buffer, found a leak
26201         * docs/gst/gstreamer-docs.sgml:
26202         * docs/gst/gstreamer-sections.txt:
26203         * docs/gst/gstreamer.types:
26204         * docs/gst/tmpl/gstminiobject.sgml:
26205           add miniobject to docs
26206         * gst/gstminiobject.c:
26207           add some docs
26208         * gst/gstvalue.c: (gst_value_deserialize_buffer),
26209         (gst_string_unwrap):
26210           fix a hard-to-find invalid write for one of the tests
26211           fix a leak for deserialized buffers
26212
26213 2005-07-11  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
26214
26215         * docs/pwg/advanced-events.xml:
26216         * docs/pwg/advanced-request.xml:
26217         * docs/pwg/advanced-scheduling.xml:
26218         * docs/pwg/appendix-porting.xml:
26219         * docs/pwg/building-boiler.xml:
26220         * docs/pwg/intro-preface.xml:
26221         * docs/pwg/other-ntoone.xml:
26222           Rewrite scheduling-chapter for scheduling model in 0.9. Add lots
26223           of example code and explanation for pad activation, loop() and
26224           getrange() functions and a bit more. Remove old comments pointing
26225           to loop-functions.
26226         * examples/pwg/Makefile.am:
26227           Add loop/getrange examples.
26228
26229 2005-07-11  Thomas Vander Stichele  <thomas at apestaart dot org>
26230
26231         * configure.ac:
26232           check for valgrind binary + some fixes
26233         * check/gst.supp:
26234           valgrind suppressions for the tests
26235         * check/Makefile.am:
26236           add a valgrind: target that valgrinds the unit tests
26237         * check/gst/gst.c: (GST_START_TEST), (gst_suite):
26238         * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
26239         * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
26240         * check/gst/gstghostpad.c:
26241           added some cleanup
26242         * check/gst/gstdata.c:
26243           removed
26244         * check/gst/gstminiobject.c: (GST_START_TEST), (thread_ref),
26245         (thread_unref), (gst_mini_object_suite), (main):
26246           added
26247         * gst/gst.c: (gst_deinit):
26248         * gst/gst.h:
26249           add a method to clean up.
26250         * gst/gstsystemclock.c: (gst_system_clock_dispose),
26251         (gst_system_clock_obtain):
26252           allow for disposing the system clock.
26253         * tools/gst-launch.c: (main):
26254           deinit
26255
26256 2005-07-11  Thomas Vander Stichele  <thomas at apestaart dot org>
26257
26258         * docs/gst/tmpl/gstbasesrc.sgml:
26259         * docs/gst/tmpl/gstfakesrc.sgml:
26260         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
26261         (gst_base_src_init), (gst_base_src_set_property),
26262         (gst_base_src_get_property), (gst_base_src_get_range),
26263         (gst_base_src_start):
26264         * gst/base/gstbasesrc.h:
26265           add num-buffers property
26266         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
26267         (gst_fakesrc_init), (gst_fakesrc_set_property),
26268         (gst_fakesrc_get_property), (gst_fakesrc_create),
26269         (gst_fakesrc_start):
26270           remove num-buffers property
26271
26272 2005-07-10  Thomas Vander Stichele  <thomas at apestaart dot org>
26273
26274         * docs/gst/gstreamer-sections.txt:
26275         * docs/gst/tmpl/gstbasesink.sgml:
26276         * docs/gst/tmpl/gstbasesrc.sgml:
26277         * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
26278         (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
26279         (gst_base_sink_finalize), (gst_base_sink_set_clock),
26280         (gst_base_sink_set_property), (gst_base_sink_get_property),
26281         (gst_base_sink_handle_object), (gst_base_sink_event),
26282         (gst_base_sink_do_sync), (gst_base_sink_handle_event),
26283         (gst_base_sink_handle_buffer), (gst_base_sink_chain),
26284         (gst_base_sink_loop), (gst_base_sink_deactivate),
26285         (gst_base_sink_activate_push), (gst_base_sink_activate_pull),
26286         (gst_base_sink_change_state):
26287         * gst/base/gstbasesink.h:
26288         * gst/base/gstbasesrc.h:
26289         * gst/elements/gstfakesink.c: (gst_fakesink_get_times):
26290         * gst/elements/gstfilesink.c: (gst_filesink_class_init),
26291         (gst_filesink_init):
26292           more macro splitting
26293
26294 2005-07-10  Thomas Vander Stichele  <thomas at apestaart dot org>
26295
26296         * gst/gstelement.c: (gst_element_get_bus):
26297           add debug
26298         * tools/gst-launch.c: (check_intr), (event_loop):
26299           fix bus leaks
26300
26301 2005-07-10  Thomas Vander Stichele  <thomas at apestaart dot org>
26302
26303         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked):
26304           fix a caps leak
26305
26306 2005-07-10  Thomas Vander Stichele  <thomas at apestaart dot org>
26307
26308         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
26309         (gst_base_src_finalize):
26310           add finalize method and clean up properly
26311         * gst/gstpipeline.c: (gst_pipeline_dispose):
26312           add debug
26313
26314 2005-07-09  Thomas Vander Stichele  <thomas at apestaart dot org>
26315
26316         * check/gst/gstbin.c: (pop_messages), (GST_START_TEST),
26317         (gst_bin_suite):
26318           add more things to check
26319         * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
26320         * gst/gstelement.c:
26321           more debug
26322
26323 2005-07-09  Thomas Vander Stichele  <thomas at apestaart dot org>
26324
26325         * check/elements/gstfakesrc.c: (chain_func), (event_func),
26326         (GST_START_TEST), (fakesrc_suite):
26327         * check/gst-libs/gdp.c: (GST_START_TEST):
26328         * check/gst/gst.c: (GST_START_TEST):
26329         * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
26330         * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
26331         * check/gst/gstbus.c: (GST_START_TEST):
26332         * check/gst/gstcaps.c: (GST_START_TEST):
26333         * check/gst/gstdata.c: (GST_START_TEST):
26334         * check/gst/gstelement.c: (GST_START_TEST):
26335         * check/gst/gstghostpad.c: (GST_START_TEST):
26336         * check/gst/gstiterator.c: (GST_START_TEST):
26337         * check/gst/gstmessage.c: (GST_START_TEST):
26338         * check/gst/gstobject.c: (GST_START_TEST):
26339         * check/gst/gstpad.c: (GST_START_TEST):
26340         * check/gst/gststructure.c: (GST_START_TEST):
26341         * check/gst/gstsystemclock.c: (GST_START_TEST),
26342         (gst_systemclock_suite):
26343         * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
26344         * check/gst/gstvalue.c: (GST_START_TEST):
26345         * check/pipelines/cleanup.c: (GST_START_TEST):
26346         * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
26347         * check/states/sinks.c: (GST_START_TEST):
26348         * check/gstcheck.c: (gst_check_init):
26349         * check/gstcheck.h:
26350           add debugging category
26351           use GST_START_TEST now, so we add a debug line
26352
26353 2005-07-09  Thomas Vander Stichele  <thomas at apestaart dot org>
26354
26355         * check/gst/gstbin.c: (START_TEST), (gst_bin_suite):
26356           add test for state change message on a bin
26357         * check/gst/gstelement.c: (START_TEST), (gst_element_suite):
26358           add another test
26359         * gst/gstbin.c: (gst_bin_init):
26360         * gst/gstbus.c: (gst_bus_init), (gst_bus_post):
26361         * gst/gstelement.c: (gst_element_post_message),
26362         (gst_element_set_state):
26363         * gst/gstelementfactory.c: (gst_element_factory_create):
26364         * gst/gstmessage.c: (gst_message_new):
26365         * gst/gstscheduler.c:
26366           various debugging additions and cleanups
26367
26368 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
26369
26370         * check/Makefile.am:
26371         * check/gst/gstelement.c: (START_TEST), (gst_element_suite),
26372         (main):
26373           adding tests for elements
26374         * gst/gstelement.c: (gst_element_dispose):
26375
26376 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
26377
26378         * gst/registries/gstlibxmlregistry.c: (load_feature):
26379           plug more leaks.  A simple gst_init() now is leakfree, yay.
26380
26381 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
26382
26383         * gst/registries/gstlibxmlregistry.c: (read_string), (load_paths),
26384         (gst_xml_registry_load):
26385           plug another memleak
26386
26387 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
26388
26389         * configure.ac:
26390           use GST_SET_ERROR_CFLAGS
26391         * docs/faq/cvs.xml:
26392           change to ERROR_CFLAGS
26393
26394 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
26395
26396         * configure.ac:
26397           make GST_ERROR_CFLAGS overridable and re-enable Werror
26398         * docs/faq/cvs.xml:
26399           add a note about error CFLAGS
26400         * docs/gst/tmpl/gstfakesrc.sgml:
26401         * gst/elements/gstfakesrc.c:
26402           comment out some unused code
26403         * gst/gst.c: (split_and_iterate):
26404         * gst/registries/gstlibxmlregistry.c: (load_pad_template),
26405         (load_feature):
26406           plug some memleaks
26407
26408 2005-07-07  Thomas Vander Stichele  <thomas at apestaart dot org>
26409
26410         * common/Makefile.am:
26411         * common/gtk-doc.mak:
26412         * docs/gst/Makefile.am:
26413           factor out gtk-doc.mak
26414
26415 2005-07-07  Wim Taymans  <wim@fluendo.com>
26416
26417         * gst/schedulers/threadscheduler.c: (gst_thread_scheduler_func),
26418         (gst_thread_scheduler_dispose):
26419         Unlock the STREAM_LOCK completely.
26420
26421 2005-07-07  Thomas Vander Stichele  <thomas at apestaart dot org>
26422
26423         * check/Makefile.am:
26424         * check/elements/.cvsignore:
26425         * check/elements/gstfakesrc.c: (chain_func), (event_func),
26426         (START_TEST), (fakesrc_suite), (main):
26427         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
26428         (gst_fakesrc_set_property), (gst_fakesrc_get_property),
26429         (gst_fakesrc_create), (gst_fakesrc_start):
26430         * gst/elements/gstfakesrc.h:
26431           adding a first element test
26432
26433 2005-07-07  Andy Wingo  <wingo@pobox.com>
26434
26435         * gst/gstbus.c (gst_bus_have_pending): Remove intensely irritating
26436         debug message.
26437
26438 2005-07-07  Wim Taymans  <wim@fluendo.com>
26439
26440         * gst/gstquery.c:
26441         * gst/gstquery.h:
26442         Remove old types
26443
26444 2005-07-07  Wim Taymans  <wim@fluendo.com>
26445
26446         * gst/base/gstbasesrc.c: (gst_base_src_get_range),
26447         (gst_base_src_default_negotiate), (gst_base_src_negotiate):
26448         Allow subclasses to implement their own negotiation.
26449
26450 2005-07-07  Jan Schmidt  <thaytan@mad.scientist.com>
26451
26452         * docs/design/part-gstbin.txt:
26453         * docs/design/part-gstpipeline.txt:
26454           Update design notes to reflect the movement of
26455           responsibility for bus handling from GstPipeline to
26456           GstBin
26457
26458 2005-07-07  Jan Schmidt  <thaytan@mad.scientist.com>
26459
26460         * configure.ac:
26461           Remove unnecessary queue2/3/4 examples.
26462
26463 2005-07-07  Jan Schmidt  <thaytan@mad.scientist.com>
26464
26465         * examples/Makefile.am:
26466         * examples/helloworld/helloworld.c: (event_loop), (main):
26467         * examples/queue/queue.c: (event_loop), (main):
26468         * examples/queue2/queue2.c: (main):
26469           Update a couple of the examples to work again.
26470
26471         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
26472         (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_event):
26473          Spelling corrections and extra debug.
26474         
26475         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init), (is_eos),
26476         (gst_bin_add_func), (bin_element_is_sink), (gst_bin_get_state),
26477         (gst_bin_change_state), (gst_bin_dispose), (bin_bus_handler):
26478         * gst/gstbin.h:
26479         * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
26480         (gst_pipeline_change_state):
26481         * gst/gstpipeline.h:
26482           Move the bus handler for children to the GstBin, and create a
26483           separate bus for receiving messages from children to the one the
26484           bus sends 'upwards' on.
26485
26486 2005-07-06  Wim Taymans  <wim@fluendo.com>
26487
26488         * gst/base/README:
26489         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
26490         (gst_base_sink_handle_object), (gst_base_sink_loop),
26491         (gst_base_sink_change_state):
26492         * gst/base/gstbasesink.h:
26493         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
26494         (gst_base_src_init), (gst_base_src_setcaps),
26495         (gst_base_src_getcaps), (gst_base_src_loop),
26496         (gst_base_src_default_negotiate), (gst_base_src_negotiate),
26497         (gst_base_src_start), (gst_base_src_change_state):
26498         * gst/base/gstbasesrc.h:
26499         Make basesrc negotiate.
26500         Handle the case where preroll fails in basesink.
26501         Update README.
26502
26503 2005-07-06  Wim Taymans  <wim@fluendo.com>
26504
26505         * gst/gstpad.c: (gst_pad_fixate_caps), (gst_pad_accept_caps):
26506         Implement the fixate function.
26507         Clean up acceptcaps.
26508
26509 2005-07-06  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
26510
26511         * docs/pwg/building-filterfactory.xml:
26512         * docs/pwg/pwg.xml:
26513           Remove never-written filter-factory chapter; I'll add the various
26514           base classes to part 4 ("other element types") later on.
26515
26516 2005-07-06  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
26517
26518         * docs/pwg/advanced-negotiation.xml:
26519         * docs/pwg/building-boiler.xml:
26520         * docs/pwg/building-pads.xml:
26521         * docs/pwg/pwg.xml:
26522         * examples/pwg/Makefile.am:
26523           Add a chapter on caps negotiation, simplify the original code
26524           samples a bit w.r.t. caps negotiation, add link to the advanced
26525           section. Add a bunch of examples showing different use cases of
26526           different types of caps negotiation. Upstream renegotiation isn't
26527           fully documented yet since nobody knows how that works.
26528
26529 2005-07-06  Thomas Vander Stichele  <thomas at apestaart dot org>
26530
26531         * check/gst/gstpad.c:
26532         * check/gstcheck.c:
26533         * gst/gstpad.c: (gst_pad_get_internal_links_default):
26534           if pad has no parent, return NULL as list of internal links
26535
26536 2005-07-05  Andy Wingo  <wingo@pobox.com>
26537
26538         * gst/elements/gstfilesrc.c:
26539         * gst/elements/gstfakesrc.c: 
26540         * gst/base/gstpushsrc.c:
26541         * gst/base/gstbasesrc.h: 
26542         * gst/base/gstbasesrc.c: s/BASESRC/BASE_SRC/g.
26543         
26544 2005-07-05  Stefan Kost  <ensonic@users.sf.net>
26545
26546         * Makefile.am:
26547           better report generation target (lcov needs a patch)
26548
26549 2005-07-05  Andy Wingo  <wingo@pobox.com>
26550
26551         * gst/elements, testsuite: Null if we got it...
26552
26553 2005-07-05  Wim Taymans  <wim@fluendo.com>
26554
26555         * configure.ac:
26556         * libs/gst/dataprotocol/Makefile.am:
26557         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_validate_packet):
26558         * libs/gst/dataprotocol/dataprotocol.h:
26559         * pkgconfig/Makefile.am:
26560         * pkgconfig/gstreamer-dataprotocol-uninstalled.pc.in:
26561         * pkgconfig/gstreamer-dataprotocol.pc.in:
26562         Ported dataprotol to 0.9. 
26563         Added pkgconfig files.
26564
26565 2005-07-05  Andy Wingo  <wingo@pobox.com>
26566
26567         * gst/base/gstbasetransform.c (gst_base_transform_setcaps):
26568         Default to returning TRUE for the case when tranform_caps returns
26569         a fixed caps, like for identity or volume.
26570
26571         * check/gst/gstbus.c (pound_bus_with_messages): 
26572         * check/gst/gstmessage.c (START_TEST): 
26573         * check/pipelines/simple_launch_lines.c (got_handoff): Application
26574         message API change.
26575
26576         * gst/base/gstbasetransform.c (gst_base_transform_setcaps): More
26577         logic weaks here: always run transform_caps, trying passthrough
26578         operation only if the original caps intersects with the transform.
26579
26580         * gst/gstpad.c (gst_pad_link_check_compatible_unlocked): Debug
26581         source and sink caps.
26582
26583         * gst/base/gstbasetransform.c (gst_base_transform_getcaps):
26584         Intersect the peer caps with the pad template before going into
26585         transform_caps.
26586         (gst_base_transform_transform_caps): More debugging.
26587
26588         * gst/gstmessage.h (gst_message_new_application): Take a GstObject
26589         src argument.
26590
26591 2005-07-04  Edward Hervey  <edward@fluendo.com>
26592
26593         * gst/gstutils.c:
26594         * gst/gstutils.h:
26595         (gst_pad_add_*_probe): now returns the signal id for better wrapping
26596         in bindings.
26597
26598 2005-07-04  Andy Wingo  <wingo@pobox.com>
26599
26600         * check/gst/gstpad.c: Only set explicit caps on pads.
26601
26602 2005-07-01  Andy Wingo  <wingo@pobox.com>
26603
26604         * tests/network-clock.scm: Commentary update.
26605
26606         * gst/elements/gstidentity.c (PROP_DUPLICATE): Gone daddy gone.
26607         Didn't really make sense, not implementable with basetransform,
26608         etc.
26609         (gst_identity_transform): Unref inbuf via make_writable. Feeble
26610         attempt at implementing the sync property, needs an unlock method.
26611
26612         * gst/base/gstbasetransform.c (gst_base_transform_transform_caps):
26613         New func, by default returns the same caps (the identity
26614         transformation).
26615         (gst_base_transform_getcaps): Uses transform_caps to return
26616         something sensible.
26617         (gst_base_transform_setcaps): Complicated logic to get caps on
26618         both pads, even if they are different, and to call set_caps once
26619         for every time both pads get their caps set.
26620         (gst_base_transform_handle_buffer): Give the ref to the transform
26621         function. Allows in-place modification of the buffer.
26622
26623         * gst/base/gstbasetransform.h (transform_caps): New class method.
26624         Given caps on one side, what can I do on the other.
26625         (set_caps): Take two caps, one for each side of the element.
26626
26627         * gst/gstpad.h:
26628         * gst/gstpad.c (gst_pad_fixate_caps): Change prototype to modify
26629         caps in place. This is safe because we can check the mutability of
26630         the caps, and a good idea because fixate functions are just called
26631         as a matter of last resort. (Not actually implemented.)
26632         (gst_pad_set_caps): If the caps we're setting is actually the same
26633         as the existing pad caps, just update the pointer without calling
26634         setcaps. Assert that caps is either NULL or fixed, as per the
26635         docs.
26636
26637         * gst/gstghostpad.c: Update for fixate changes.
26638
26639 2005-07-02  Andy Wingo  <wingo@pobox.com>
26640
26641         * gst/gstcaps.c:
26642         * gst/gstcaps.h (gst_static_caps_get): Not const return, having
26643         two refcounts makes it immutable, which is enough. Doc more.
26644
26645 2005-07-02  Jan Schmidt  <thaytan@mad.scientist.com>
26646
26647         * gst/gstpad.c: (gst_pad_emit_have_data_signal):
26648           Put the mini_object into GValue as a mini_object,
26649           not a gpointer, since that's how we declared
26650           the signal.
26651
26652 2005-07-01  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
26653
26654         * examples/pwg/Makefile.am:
26655           Fix buildbot again.
26656
26657 2005-07-01  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
26658
26659         * docs/pwg/building-testapp.xml:
26660           Add extra check.
26661         * examples/pwg/Makefile.am:
26662           Fix buildbot.
26663
26664 2005-07-01  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
26665
26666         * configure.ac:
26667         * examples/Makefile.am:
26668         * examples/pwg/Makefile.am:
26669         * examples/pwg/extract.pl:
26670           Enable building the PWG examples.
26671         * docs/pwg/advanced-interfaces.xml:
26672           Add URI interface stub.
26673         * docs/pwg/advanced-types.xml:
26674         * docs/pwg/other-autoplugger.xml:
26675         * docs/pwg/appendix-porting.xml:
26676         * docs/pwg/pwg.xml:
26677           Add porting guide (mostly stubs), remove autoplugging (see ADM).
26678         * docs/pwg/building-boiler.xml:
26679         * docs/pwg/building-chainfn.xml:
26680         * docs/pwg/building-pads.xml:
26681         * docs/pwg/building-props.xml:
26682         * docs/pwg/building-state.xml:
26683         * docs/pwg/building-testapp.xml:
26684           Update the building-*.xml parts for 0.9 changes. All examples
26685           code blocks compile in examples/pwg/*.
26686
26687 2005-06-30  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
26688
26689         * docs/manual/advanced-autoplugging.xml:
26690         * docs/manual/appendix-checklist.xml:
26691         * docs/manual/appendix-integration.xml:
26692         * docs/manual/highlevel-components.xml:
26693           Fix playbin/decodebin examples, update docs a bit, mention bus
26694           instead of signals in various places, mention kmplayer and
26695           kaffeine since they have a working GStreamer backend in the KDE
26696           section.
26697
26698 2005-06-30  Wim Taymans  <wim@fluendo.com>
26699
26700         * CHANGES-0.9:
26701         * docs/design/draft-ghostpads.txt:
26702         * docs/design/draft-push-pull.txt:
26703         * docs/design/draft-query.txt:
26704         * docs/design/part-TODO.txt:
26705         * docs/design/part-query.txt:
26706         Added CHANGES-0.9 doc, updated status of other docs.
26707         
26708         * gst/gstquery.h:
26709         Remove "hmm" macro
26710
26711 2005-06-30  Wim Taymans  <wim@fluendo.com>
26712
26713         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
26714         (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
26715         (gst_base_sink_change_state):
26716         * gst/base/gstbasesink.h:
26717         Some tweaks, only EOS and a buffer complete a preroll.
26718
26719 2005-06-30  Andy Wingo  <wingo@pobox.com>
26720
26721         * gst/gstghostpad.c (gst_ghost_pad_do_activate_push): Proxy
26722         activate_push down to the internal pad as well.
26723
26724 2005-06-30  Torsten Schoenfeld  <kaffeetisch@gmx.de>
26725
26726         Reviewed by:  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
26727
26728         * gst/gsttaginterface.c:
26729           Some documentation fixes (#307394 and #307397).
26730
26731 2005-06-30  Antoine Tremblay  <hexa00@gmail.com>
26732
26733         Reviewed by:  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
26734
26735         * gst/gstvalue.c: (gst_value_intersect_list):
26736           Fix memleak (#309125).
26737
26738 2005-06-30  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
26739
26740         * docs/manual/advanced-dataaccess.xml:
26741           Fix fakesrc example to compile; doesn't work, bug somewhere...?
26742         * docs/manual/basics-pads.xml:
26743           Add reference for filtered caps to above chapter.
26744
26745 2005-06-30  Wim Taymans  <wim@fluendo.com>
26746
26747         * gst/gstbin.c: (clear_queue), (remove_all_from_queue),
26748         (gst_bin_change_state):
26749         Probes are gone.
26750         Lame attempt at making the state change function a bit
26751         more readable.
26752
26753 2005-06-30  Wim Taymans  <wim@fluendo.com>
26754
26755         * docs/design/part-clocks.txt:
26756         * docs/design/part-element-sink.txt:
26757         * docs/design/part-events.txt:
26758         * docs/design/part-preroll.txt:
26759         * docs/design/part-states.txt:
26760         Some more tweeks and additions to the docs.
26761
26762 2005-06-30  Wim Taymans  <wim@fluendo.com>
26763
26764         * gst/gstpad.c: (_gst_do_pass_data_accumulator),
26765         (default_have_data), (gst_pad_class_init), (gst_pad_init),
26766         (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
26767         (gst_pad_check_pull_range), (gst_pad_get_range),
26768         (gst_pad_pull_range), (gst_pad_push_event), (gst_pad_send_event):
26769         * gst/gstpad.h:
26770         * gst/gstutils.c: (gst_atomic_int_set), (gst_pad_add_data_probe),
26771         (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
26772         (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
26773         (gst_pad_remove_buffer_probe):
26774         Removed atomic operations, use existing LOCK.
26775         Move exception handling out of main code path.
26776
26777 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
26778
26779         * gst/gstpad.c: (_gst_do_pass_data_accumulator),
26780         (silly_return_true_function), (gst_pad_class_init),
26781         (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
26782         (gst_pad_get_range), (gst_pad_pull_range), (gst_pad_push_event),
26783         (gst_pad_send_event):
26784           Fix accumulator, add default value by using _emitv() instead
26785           of _emit() for signal emission.
26786
26787 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
26788
26789         * docs/manual/advanced-dataaccess.xml:
26790         * examples/manual/Makefile.am:
26791           Add probe example.
26792         * gst/gstpad.c: (_gst_do_pass_data_accumulator):
26793           Make work (??).
26794
26795 2005-06-29  Tim-Philipp Müller  <tim at centricular dot net>
26796
26797         * gst/elements/gstfilesink.c: (gst_filesink_render):
26798           Simplify code so that we don't have to handle short
26799           writes and return GST_FLOW_ERROR if an error occured.
26800
26801 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
26802
26803         * docs/gst/gstreamer-docs.sgml:
26804           Remove probes more.
26805
26806 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
26807
26808         * docs/gst/gstreamer-sections.txt:
26809         * docs/gst/tmpl/gstpad.sgml:
26810         * docs/gst/tmpl/gstprobe.sgml:
26811         * gst/Makefile.am:
26812         * gst/gstpad.c: (_gst_do_pass_data_accumulator),
26813         (gst_pad_class_init), (gst_pad_init), (gst_pad_chain),
26814         (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
26815         (gst_pad_push_event), (gst_pad_send_event):
26816         * gst/gstpad.h:
26817         * gst/gstutils.c: (gst_pad_add_data_probe),
26818         (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
26819         (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
26820         (gst_pad_remove_buffer_probe):
26821         * gst/gstutils.h:
26822           Remove old probes, add new g-signal-based probes and some utility
26823           functions.
26824
26825 2005-06-29  Edward Hervey  <edward@fluendo.com>
26826
26827         * gst/gstelementfactory.c:
26828         * gst/gstutils.h:
26829         * gst/gstutils.c:
26830         Moved gst_element_factory_can_[sink|src]_caps() to gstutils and added
26831         the definition to the header file.
26832
26833 2005-06-29  Andy Wingo  <wingo@pobox.com>
26834
26835         * docs/gst/Makefile.am (scan-build.stamp): Totally only check
26836         plugins from the source directory.
26837
26838 2005-06-29  Wim Taymans  <wim@fluendo.com>
26839
26840         * docs/gst/tmpl/gstbuffer.sgml:
26841         * docs/gst/tmpl/gstclock.sgml:
26842         Some fixings for blantently wrong text.
26843
26844 2005-06-29  Thomas Vander Stichele  <thomas at apestaart dot org>
26845
26846         * check/Makefile.am:
26847         * gst/gst.c: (add_path_func), (init_pre):
26848         * gst/gstregistry.c: (gst_registry_add_path):
26849           add A GST_PLUGIN_PATH_ONLY env var; if it is set, it will
26850           only scan the GST_PLUGIN_PATH locations, and not add
26851           system locations
26852
26853 2005-06-29  Thomas Vander Stichele  <thomas at apestaart dot org>
26854
26855         * docs/gst/gstreamer-sections.txt:
26856         * docs/gst/tmpl/gstbasesrc.sgml:
26857         * gst/gstelement.c:
26858         * gst/gstelement.h:
26859         * gst/gstevent.c:
26860         * gst/gstutils.c:
26861           doc fixes
26862
26863 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
26864
26865         * docs/manual/advanced-autoplugging.xml:
26866           Fix autoplugging example.
26867
26868 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
26869
26870         * docs/manual/advanced-autoplugging.xml:
26871         * docs/manual/mime-world.fig:
26872           Try to get autoplugging working, fix type detection. Fix text
26873           in hello-world image.
26874
26875 2005-06-29  Wim Taymans  <wim@fluendo.com>
26876
26877         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
26878         (gst_base_sink_change_state):
26879         Small debug line.
26880
26881         * gst/gstclock.h:
26882         map SIGNAL and BROADCAST to the right function.
26883
26884         * gst/gstobject.h:
26885         Remove redundant braces.
26886
26887         * gst/gstpad.c: (gst_pad_set_caps):
26888         Don't call setcaps function when reseting caps to NULL.
26889
26890         * gst/gstsystemclock.c: (gst_system_clock_dispose),
26891         (gst_system_clock_async_thread), (gst_system_clock_id_wait_async),
26892         (gst_system_clock_id_unschedule):
26893         Use BROADCAST as this is what we do.
26894
26895 2005-06-29  Wim Taymans  <wim@fluendo.com>
26896
26897         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
26898         We are actually prerolling before commiting the state
26899         change. 
26900
26901 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
26902
26903         * docs/manual/advanced-clocks.xml:
26904         * docs/manual/advanced-interfaces.xml:
26905         * docs/manual/advanced-metadata.xml:
26906         * docs/manual/advanced-position.xml:
26907         * docs/manual/advanced-schedulers.xml:
26908         * docs/manual/advanced-threads.xml:
26909         * docs/manual/appendix-porting.xml:
26910         * docs/manual/basics-bins.xml:
26911         * docs/manual/basics-bus.xml:
26912         * docs/manual/basics-elements.xml:
26913         * docs/manual/basics-helloworld.xml:
26914         * docs/manual/basics-pads.xml:
26915         * docs/manual/highlevel-components.xml:
26916         * docs/manual/manual.xml:
26917         * docs/manual/thread.fig:
26918           Update (until threads/scheduling) Application Development Manual;
26919           remove GstThread, add GstBus, add simple porting checklist, add
26920           documentation for tag writing, clocks, make all examples until this
26921           part compile and run.
26922         * examples/manual/Makefile.am:
26923           Update from changes to Application Development Manual; add bus
26924           example, remove thread example.
26925
26926 2005-06-28  Wim Taymans  <wim@fluendo.com>
26927
26928         * gst/gstbus.c: (gst_bus_post), (gst_bus_have_pending),
26929         (gst_bus_set_flushing), (gst_bus_pop), (gst_bus_peek),
26930         (gst_bus_source_dispatch):
26931         Add debugging messages.
26932         Make internal methods static.
26933         Handle the case where the bus is flushed in the handler.
26934         
26935         * gst/gstelement.c: (gst_element_get_bus):
26936         Fix refcount in _get_bus();
26937
26938         * gst/gstpipeline.c: (gst_pipeline_change_state),
26939         (gst_pipeline_get_clock_func):
26940         Clock refcounting fixes.
26941         Handle the case where preroll timed out more gracefully.
26942         
26943         * gst/gstsystemclock.c: (gst_system_clock_dispose):
26944         Clean up the internal thread in dispose. This is needed
26945         for subclasses that actually get disposed.
26946         
26947         * gst/schedulers/threadscheduler.c:
26948         (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
26949         (gst_thread_scheduler_dispose):
26950         Free thread pool in dispose.
26951
26952 2005-06-28  Andy Wingo  <wingo@pobox.com>
26953
26954         * tests/network-clock-utils.scm (debug, print-event): New utils.
26955
26956         * tests/network-clock.scm (*debug*, *with-graph*): New parameters.
26957         (*packet-loss*): Unified loss probability.
26958         (network-time): Report out-of-band events.
26959
26960         * tests/plot-data: Add support for out-of-band events. Hack it
26961         into this script instead of passing it down the pipe; should fix
26962         this later.
26963
26964 2005-06-28  Wim Taymans  <wim@fluendo.com>
26965
26966         * docs/gst/gstreamer.types:
26967         * docs/gst/tmpl/gstbasesrc.sgml:
26968         * docs/gst/tmpl/gstpad.sgml:
26969         Docs fixes.
26970
26971 2005-06-28  Wim Taymans  <wim@fluendo.com>
26972
26973         * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
26974         (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_acceptcaps),
26975         (gst_proxy_pad_do_fixatecaps):
26976         Correctly proxy the check_pull_range function.
26977
26978 2005-06-28  Andy Wingo  <wingo@pobox.com>
26979
26980         * tests/network-clock.scm: Removed need for slib.
26981         
26982 2005-06-28  Wim Taymans  <wim@fluendo.com>
26983
26984         * gst/base/gstbasesink.c: (gst_basesink_set_pad_functions),
26985         (gst_basesink_preroll_queue_flush):
26986         * gst/base/gstbasesrc.c: (gst_basesrc_set_dataflow_funcs):
26987         * gst/elements/gsttee.c: (gst_tee_update_pad_functions):
26988         * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
26989         (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
26990         (gst_proxy_pad_set_property):
26991         * gst/gstpad.c:
26992         * gst/gstpad.h:
26993         * gst/gstqueue.c: (gst_queue_init):
26994         The deprecated pad loop function is removed now.
26995
26996 2005-06-28  Andy Wingo  <wingo@pobox.com>
26997
26998         * tests/network-clock.scm (*timeout*, *send-loss*, *recv-loss*):
26999         New parameters, simulate network packet loss.
27000
27001         * tests/network-clock-utils.scm: Initialize the RNG.
27002
27003 2005-06-28  Wim Taymans  <wim@fluendo.com>
27004
27005         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_flush),
27006         (gst_basesink_event), (gst_basesink_deactivate):
27007         Flushing the preroll queue always needs to unlock the waiters.
27008
27009 2005-06-28  Edward Hervey  <edward@fluendo.com>
27010
27011         * gst/gstpipeline.c: (gst_pipeline_send_event): 
27012         Wheen a seek was successful on a pipeline, set the stream_time to the
27013         seek offset in order to have a synchronized stream_time.
27014
27015 2005-06-28  Wim Taymans  <wim@fluendo.com>
27016
27017         * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
27018         (gst_proxy_pad_do_getrange), (gst_proxy_pad_do_checkgetrange),
27019         (gst_proxy_pad_do_getcaps), (gst_proxy_pad_do_acceptcaps),
27020         (gst_proxy_pad_do_fixatecaps):
27021         Call wrapper function instead of just calling the function
27022         pointers. This takes care of any locking and whatmore.
27023
27024 2005-06-28  Wim Taymans  <wim@fluendo.com>
27025
27026         * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push),
27027         (gst_pad_pull_range):
27028         * gst/gstpad.h:
27029         CONNECTED -> LINKED.
27030
27031 2005-06-28  Andy Wingo  <wingo@pobox.com>
27032
27033         * *.c: Don't cast to GST_OBJECT when reffing or unreffing. Large
27034         source-munging commit!!!
27035
27036         * gst/gstobject.c (gst_object_unref, gst_object_ref) 
27037         (gst_object_sink): Take gpointer arguments, not GstObject --
27038         avoids casts. Like GLib.
27039
27040         * gst/gstghostpad.c (gst_proxy_pad_do_activate): Don't proxy
27041         activate.
27042
27043 2005-06-27  Andy Wingo  <wingo@pobox.com>
27044
27045         * gst/base/gsttypefindhelper.c (gst_type_find_helper): Unref any
27046         remaining buffer.
27047
27048         * gst/gsttrace.c (gst_alloc_trace_list_sorted): New helper,
27049         returns a sorted copy of the trace list.
27050         (gst_alloc_trace_print_live): New API, only prints traces with
27051         live objects. Sort the list.
27052         (gst_alloc_trace_print_all): Sort the list.
27053         (gst_alloc_trace_print): Align columns.
27054
27055         * gst/elements/gstttypefindelement.c:
27056         * gst/elements/gsttee.c:
27057         * gst/base/gstbasesrc.c:
27058         * gst/base/gstbasesink.c:
27059         * gst/base/gstbasetransform.c:
27060         * gst/gstqueue.c: Adapt for pad activation changes.
27061
27062         * gst/gstpipeline.c (gst_pipeline_init): Unref after parenting
27063         sched.
27064         (gst_pipeline_dispose): Drop ref on sched.
27065
27066         * gst/gstpad.c (gst_pad_init): Set the default activate func.
27067         (gst_pad_activate_default): Push mode by default.
27068         (pre_activate_switch, post_activate_switch): New stubs, things to
27069         do before and after switching activation modes on pads.
27070         (gst_pad_set_active): Take a boolean and not a mode, dispatch to
27071         the pad's activate function to choose which mode to activate.
27072         Shortcut on deactivation and call the right function directly.
27073         (gst_pad_activate_pull): New API, (de)activates a pad in pull
27074         mode.
27075         (gst_pad_activate_push): New API, same for push mode.
27076         (gst_pad_set_activate_function) 
27077         (gst_pad_set_activatepull_function) 
27078         (gst_pad_set_activatepush_function): Setters for new API.
27079
27080         * gst/gstminiobject.c (gst_mini_object_new, gst_mini_object_free):
27081         Trace all miniobjects.
27082         (gst_mini_object_make_writable): Unref the arg if we copy, like
27083         gst_caps_make_writable.
27084
27085         * gst/gstmessage.c (_gst_message_initialize): No trace init.
27086
27087         * gst/gstghostpad.c (gst_proxy_pad_do_activate) 
27088         (gst_proxy_pad_do_activatepull, gst_proxy_pad_do_activatepush):
27089         Adapt for new pad API.
27090
27091         * gst/gstevent.c (_gst_event_initialize): Don't initialize trace.
27092
27093         * gst/gstelement.h:
27094         * gst/gstelement.c (gst_element_iterate_src_pads) 
27095         (gst_element_iterate_sink_pads): New API functions.
27096         
27097         * gst/gstelement.c (iterator_fold_with_resync): New utility,
27098         should fold into gstiterator.c in some form.
27099         (gst_element_pads_activate): Simplified via use of fold and
27100         delegation of decisions to gstpad->activate.
27101
27102         * gst/gstbus.c (gst_bus_source_finalize): Set the bus to NULL,
27103         help in debugging.
27104
27105         * gst/gstbuffer.c (_gst_buffer_initialize): Ref the buffer type
27106         class once in init, like gstmessage. Didn't run into this issue
27107         but it seems correct. Don't initialize a trace, gstminiobject does
27108         that.
27109
27110         * check/pipelines/simple_launch_lines.c (test_stop_from_app): New
27111         test, runs fakesrc ! fakesink, stopping on ::handoff via a message
27112         to the bus.
27113         (assert_live_count): New util function, uses alloc traces to check
27114         cleanup.
27115
27116         * check/gst/gstghostpad.c (test_ghost_pads): More refcount checks.
27117         To be modified when unlink drops the internal pad.
27118
27119 2005-06-27  Wim Taymans  <wim@fluendo.com>
27120
27121         * gst/gstbin.c: (gst_bin_get_state), (gst_bin_iterate_state_order),
27122         (gst_bin_change_state):
27123         Cleanup the get_state() function a little, make sure it
27124         iterates the same set of elements.
27125         Added stub iterate_state_order().
27126
27127 2005-06-27  Thomas Vander Stichele  <thomas at apestaart dot org>
27128
27129         * docs/gst/gstreamer-docs.sgml:
27130         * docs/gst/gstreamer-sections.txt:
27131         * docs/gst/gstreamer.types:
27132         * docs/gst/tmpl/gstbasesink.sgml:
27133         * docs/gst/tmpl/gstbasesrc.sgml:
27134         * docs/gst/tmpl/gstbasetransform.sgml:
27135         * docs/gst/tmpl/gstelement.sgml:
27136         * docs/gst/tmpl/gstiterator.sgml:
27137         * gst/base/gstbasesrc.c:
27138         * gst/base/gstbasesrc.h:
27139         * gst/base/gstbasetransform.h:
27140         * gst/gstelement.c:
27141         * gst/gstiterator.h:
27142           adding basetransform and iterator docs
27143
27144 2005-06-27  Andy Wingo  <wingo@pobox.com>
27145
27146         * docs/design/part-activation.txt: Notes on how activation should
27147         work -- not quite implemented yet.
27148
27149 2005-06-25  Wim Taymans  <wim@fluendo.com>
27150
27151         * gst/gstghostpad.c: (gst_proxy_pad_do_chain):
27152         At least get the chain function correct, needs more
27153         fixing.
27154
27155 2005-06-25  Wim Taymans  <wim@fluendo.com>
27156
27157         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
27158         (gst_basesink_handle_object), (gst_basesink_event),
27159         (gst_basesink_do_sync), (gst_basesink_handle_event),
27160         (gst_basesink_change_state):
27161         * gst/gsttask.h:
27162         Right, two problems here: ghostpads don't take locks and
27163         glib _rec_mutex_lock_full() with depth==0 still locks.
27164         Catch illegal locking and g_warn them.
27165
27166 2005-06-25  Wim Taymans  <wim@fluendo.com>
27167
27168         * check/states/sinks.c: (START_TEST), (gst_object_suite):
27169         Have to check for completion now...
27170
27171 2005-06-25  Wim Taymans  <wim@fluendo.com>
27172
27173         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
27174         (gst_basesink_handle_object), (gst_basesink_event),
27175         (gst_basesink_do_sync), (gst_basesink_handle_event),
27176         (gst_basesink_change_state):
27177         * gst/gstpad.h:
27178         Unlock STREAM_LOCK whatever the recursion was.
27179
27180 2005-06-25  Wim Taymans  <wim@fluendo.com>
27181
27182         * gst/base/gstbasesink.c: (gst_basesink_set_property),
27183         (gst_basesink_preroll_queue_empty),
27184         (gst_basesink_preroll_queue_flush), (gst_basesink_handle_object),
27185         (gst_basesink_event), (gst_basesink_do_sync),
27186         (gst_basesink_handle_event), (gst_basesink_handle_buffer),
27187         (gst_basesink_chain), (gst_basesink_loop), (gst_basesink_activate),
27188         (gst_basesink_change_state):
27189         Reworked the base sink, handle event and buffer serialisation
27190         correctly and removed possible deadlock.
27191         Handle EOS correctly.
27192
27193 2005-06-25  Wim Taymans  <wim@fluendo.com>
27194
27195         * gst/gstpipeline.c: (is_eos), (pipeline_bus_handler),
27196         (gst_pipeline_change_state):
27197         * tools/gst-launch.c: (check_intr), (event_loop), (main):
27198         Allow elements to post EOS in the state change function.
27199         Fix up -launch, make it exit the poll loop when the
27200         pipeline actually changed state.
27201         Fix up warning parsing in -launch.
27202
27203 2005-06-25  Wim Taymans  <wim@fluendo.com>
27204
27205         * gst/elements/gsttee.c: (gst_tee_chain), (gst_tee_loop),
27206         (gst_tee_sink_activate):
27207         Core takes STREAM_LOCK for us now.
27208
27209 2005-06-25  Wim Taymans  <wim@fluendo.com>
27210
27211         * gst/gstelement.c: (gst_element_get_state_func),
27212         (gst_element_set_state):
27213         * gst/gstelement.h:
27214         * gst/gstmessage.c: (gst_message_parse_error),
27215         (gst_message_parse_warning):
27216         Keep track of current target state while performing a state
27217         change so that subclasses can do something interesting.
27218         Fix parsing of warning/error messages when GError is NULL.
27219
27220 2005-06-24  Thomas Vander Stichele  <thomas at apestaart dot org>
27221
27222         * docs/gst/Makefile.am:
27223         * docs/gst/gstreamer-docs.sgml:
27224         * docs/gst/gstreamer-sections.txt:
27225         * docs/gst/gstreamer.types:
27226         * docs/gst/tmpl/gstbasesink.sgml:
27227         * docs/gst/tmpl/gstbasesrc.sgml:
27228         * docs/gst/tmpl/gstbin.sgml:
27229         * docs/gst/tmpl/gstcompat.sgml:
27230         * docs/gst/tmpl/gstfakesink.sgml:
27231         * docs/gst/tmpl/gstfakesrc.sgml:
27232         * docs/gst/tmpl/gstfilesink.sgml:
27233         * docs/gst/tmpl/gstfilesrc.sgml:
27234         * docs/gst/tmpl/gstindex.sgml:
27235         * docs/manual/appendix-quotes.xml:
27236         * gst/base/gstbasesrc.h:
27237         * gst/elements/gstfakesrc.h:
27238         * gst/gstmessage.h:
27239           start pulling in base classes and elements in our docs
27240
27241 2005-06-24  Stefan Kost  <ensonic@users.sf.net>
27242
27243         * docs/gst/Makefile.am:
27244         * docs/libs/Makefile.am:
27245           fixed make distcheck with gtk-doc 1.3
27246
27247 2005-06-23  Wim Taymans  <wim@fluendo.com>
27248
27249         * gst/gstelement.c: (gst_element_get_state_func),
27250         (gst_element_set_state), (gst_element_change_state):
27251         When the state did not change, also report NO_PREROLL
27252         when it matters.
27253
27254 2005-06-23  Wim Taymans  <wim@fluendo.com>
27255
27256         * gst/gstpad.c: (gst_pad_event_default):
27257         * gst/gstqueue.c: (gst_queue_loop):
27258         No unsafe task pausing please.
27259
27260 2005-06-23  Wim Taymans  <wim@fluendo.com>
27261
27262         * gst/schedulers/threadscheduler.c:
27263         (gst_thread_scheduler_task_start),
27264         (gst_thread_scheduler_task_pause), (gst_thread_scheduler_func):
27265         Ref the task before pushing it on the threadpool. This
27266         makes sure that we have a ref when the threadfunction is
27267         actually called.
27268
27269 2005-06-23  Andy Wingo  <wingo@pobox.com>
27270
27271         * gst/base/gstbasesrc.c (gst_basesrc_get_range): Check if the
27272         offset is greater than the file's size.
27273
27274         * gst/gstobject.h (GST_CLASS_LOCK, GST_CLASS_TRYLOCK) 
27275         (GST_CLASS_UNLOCK, GST_CLASS_GET_LOCK, GstObjectClass)
27276         * gst/gstobject.c (gst_object_class_init): Make the class lock
27277         recursive. Wim won't let me drop deep_notify. Decodebin works
27278         again, whoopdy doo.
27279
27280         * gst/gstghostpad.c (on_int_notify): Catches notify::caps on the
27281         internal pad, and hacks accordingly. Doesn't do it on the target
27282         pad because we change its caps. Probably catches all cases of
27283         interest tho.
27284         (gst_ghost_pad_set_property): Connect to notify::caps as
27285         appropritate.
27286
27287         * tests/network-clock.scm (plot-simulation): Pipe data to the
27288         elite python skript.
27289
27290         * tests/network-clock-utils.scm (define-parameter): New macro,
27291         defines a parameter that can be set via the command line.
27292         (set-parameter!, parse-parameter-arguments): Command line args
27293         parser.
27294
27295         * tests/plot-data: Simple matplotlib-based plotter, takes input on
27296         stdin.
27297
27298 2005-06-23  Jan Schmidt  <thaytan@mad.scientist.com>
27299
27300         * gst/elements/gsttypefindelement.c:
27301         (gst_type_find_element_handle_event):
27302           Don't restart typefinding on a discont.
27303         * gst/gstelement.c: (gst_element_set_state):
27304           Debug spelling fix.
27305         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_send_event):
27306           Allow changing mode of an active pad.
27307           Debug output fixes.
27308         * gst/registries/gstlibxmlregistry.c: (load_feature):
27309           Don't cast a static pad template to a normal pad template.
27310
27311 2005-06-23  Thomas Vander Stichele  <thomas at apestaart dot org>
27312
27313         * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
27314         * gst/gstvalue.c: (gst_value_deserialize_int_helper):
27315           remove gst_strtoll completely, since it didn't actually do
27316           anything more than what g_ascii_strtoull already does.
27317           check for range errors when deserializing
27318           do a cast for the unsigned cases; but further fixing needs
27319           a decision on what the interpretation of "(int)" and
27320           deserialization should be for values that fall outside the
27321           type's boundaries (ie, refuse, or interpret as casting)
27322
27323 2005-06-23  Wim Taymans  <wim@fluendo.com>
27324
27325         * check/Makefile.am:
27326         * check/states/sinks.c: (START_TEST), (gst_object_suite), (main):
27327         * docs/design/part-live-source.txt:
27328         * docs/design/part-states.txt:
27329         * gst/base/gstbasesrc.c: (gst_basesrc_init),
27330         (gst_basesrc_set_live), (gst_basesrc_is_live),
27331         (gst_basesrc_get_range), (gst_basesrc_activate),
27332         (gst_basesrc_change_state):
27333         * gst/base/gstbasesrc.h:
27334         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
27335         (gst_fakesrc_set_property), (gst_fakesrc_get_property):
27336         * gst/gstbin.c: (gst_bin_get_state), (gst_bin_change_state):
27337         * gst/gstelement.c: (gst_element_get_state_func),
27338         (gst_element_set_state):
27339         * gst/gstelement.h:
27340         * gst/gsttypes.h:
27341         * tools/gst-launch.c: (event_loop), (main):
27342         Added support for live sources and other elements that
27343         cannot do preroll.
27344         Updated design docs, added live-source design doc.
27345         Implemented live source functionality in basesrc
27346         Fix error condition in _bin_get_state()
27347         Implement live source handling in -launch.
27348         Added check for live sources.
27349         Fixed case in GstBin where elements were changed state
27350         multiple times.
27351
27352
27353 2005-06-23  Andy Wingo  <wingo@pobox.com>
27354
27355         * check/gst/gstpad.c (test_get_allowed_caps, test_refcount): Fix
27356         borken refcounting.
27357
27358         * gst/gstpad.c (gst_pad_set_caps): Remove needless refs,
27359         gst_caps_replace takes care of this for us.
27360
27361         * gst/gstghostpad.c (gst_proxy_pad_do_setcaps): Call the full
27362         gst_pad_set_caps on the target, not just its setcaps() function.
27363
27364         * tests/network-clock.scm: 
27365         * tests/network-clock-utils.scm: A network clock simulator.
27366         Something of an algorithmic testbed before doing something in C.
27367
27368 2005-06-22  Thomas Vander Stichele  <thomas at apestaart dot org>
27369
27370         * check/Makefile.am:
27371         * check/gst/capslist.h:
27372           copy over from 0.8, and add two with bitmasks specified with
27373           (int) 0xFF...
27374         * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
27375           add test to parse everything from capslist.h
27376         * check/gst/gststructure.c: (START_TEST), (gst_value_suite),
27377         (main):
27378           add test for structure deserialization
27379         * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
27380           add tests for deserialization of strings to int types
27381         * gst/gststructure.c: (gst_structure_nth_field_name):
27382         * gst/gststructure.h:
27383           add a way to get the name of a field referenced by index
27384         * gst/gstvalue.c: (gst_value_deserialize_int_helper):
27385           instead of checking if the resulting long long lies between
27386           min and max, we check if the long long would fit into
27387           a number of bytes for the final type.
27388           This fixes cases where a string represents 2^32 - 1, which
27389           when cast to int would be the (valid) -1, but is bigger than
27390           G_MAXINT
27391
27392 2005-06-22  Thomas Vander Stichele  <thomas at apestaart dot org>
27393
27394         * gst/parse/grammar.y:
27395           add a log line for type deserialization
27396
27397 2005-06-22  Thomas Vander Stichele  <thomas at apestaart dot org>
27398
27399         * check/gst/gstvalue.c: (START_TEST):
27400         * gst/gstvalue.c: (gst_value_deserialize):
27401           return long long, not int, so gint64 deserialization actually
27402           works.  Is there any flag that makes the compiler check this ?
27403           Fixes #308559
27404
27405 2005-06-22  Wim Taymans  <wim@fluendo.com>
27406
27407         * gst/gstbuffer.h:
27408         Added convenience macros for setting buffers in GValue.
27409
27410 2005-06-21  Thomas Vander Stichele  <thomas at apestaart dot org>
27411
27412         * check/gst/.cvsignore:
27413         * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
27414           add a test deserializing int64, and comment part out because
27415           it fails, yay !
27416
27417 2005-06-21  Thomas Vander Stichele  <thomas at apestaart dot org>
27418
27419         * check/Makefile.am:
27420         * check/gst/gstvalue.c: (START_TEST), (gst_value_suite), (main):
27421         * testsuite/Makefile.am:
27422         * testsuite/caps/Makefile.am:
27423         * testsuite/caps/value_serialize.c:
27424         * testsuite/test_gst_init.c:
27425           move a value_serialize test over
27426
27427 2005-06-20  Wim Taymans  <wim@fluendo.com>
27428
27429         * gst/gstpad.c:
27430         Small doc updates.
27431         
27432         * gst/gstvalue.c: (gst_value_compare_buffer),
27433         (gst_value_serialize_buffer), (gst_value_deserialize_buffer),
27434         (gst_value_compare_flags), (gst_value_serialize_flags),
27435         (gst_value_deserialize_flags), (_gst_value_initialize):
27436         Fix serialisation of buffers, they are not boxed types anymore
27437
27438 2005-06-20  Wim Taymans  <wim@fluendo.com>
27439
27440         * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
27441         Testcase to show error in buffer-on-caps serialisation.
27442
27443 2005-06-20  Andy Wingo  <wingo@pobox.com>
27444
27445         * docs/random/wingo/porting-plugins-to-0.9: A pitiful document I
27446         will be adding to later.
27447
27448         * gst/gstsystemclock.c (gst_system_clock_init): Unlock the clock
27449         if its socks fill with rocks.
27450         (gst_system_clock_obtain): Set the name on object construction.
27451         Avoid double-checked locking.
27452
27453 2005-06-20  Tim-Philipp Müller  <tim at centricular dot net>
27454
27455         * gst/gsturi.c: (gst_element_make_from_uri):
27456           Fix potential endless loop.
27457
27458 2005-06-19  Thomas Vander Stichele  <thomas at apestaart dot org>
27459
27460         * check/Makefile.am:
27461           add gsttag
27462         * check/gst/gsttag.c: (check_tags), (START_TEST), (gst_tag_suite),
27463         (main):
27464           move over from testsuite dir and clean up
27465         * configure.ac:
27466         * gst/gsttag.c:
27467         * testsuite/Makefile.am:
27468         * testsuite/tags/.cvsignore:
27469         * testsuite/tags/Makefile.am:
27470         * testsuite/tags/merge.c:
27471           remove testsuite/tags
27472
27473 2005-06-19  Thomas Vander Stichele  <thomas at apestaart dot org>
27474
27475         * docs/gst/gstreamer-sections.txt:
27476         * docs/gst/tmpl/gstenumtypes.sgml:
27477         * win32/gstenumtypes.c:
27478           clean up documentation build a little
27479
27480 2005-06-19  Thomas Vander Stichele  <thomas at apestaart dot org>
27481
27482         * check/gstcheck.h:
27483           add macros for checking refcounts on objects and caps
27484         * check/gst/gstpad.c: (START_TEST), (gst_pad_suite):
27485           add some more unit tests
27486         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
27487         (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_allowed_caps):
27488           fix leaked refcounts (I hope :)) so unittest works
27489         * gst/gstpad.h:
27490           whitespace removal
27491
27492 2005-06-19  Thomas Vander Stichele  <thomas at apestaart dot org>
27493
27494         * configure.ac: back to HEAD
27495
27496 === release 0.9.1 ===
27497
27498 2005-06-17  Thomas Vander Stichele  <thomas at apestaart dot org>
27499
27500         * NEWS:
27501         * RELEASE:
27502           updated
27503
27504 2005-06-17  Andy Wingo  <wingo@pobox.com>
27505
27506         * gst/base/gstbasesink.c (gst_basesink_chain): Remove bogus
27507         assert; it's always possible that the pad gets deactivated in
27508         between the checks in gstpad.c and the implementation. Rely on
27509         finish_preroll() to return a FLUSHING or similar instead of on the
27510         assert.
27511         
27512         * gst/base/gstbasesink.c (gst_basesink_event): Only wait for the
27513         clock and post an EOS message if we come out of finish_preroll in
27514         the playing state.
27515
27516 2005-06-16  David Schleef  <ds@schleef.org>
27517
27518         * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
27519         (gst_capsfilter_set_property): Allow NULL as possible value
27520         for filter_caps property, indicating GST_CAPS_ANY.
27521
27522 2005-06-09  Thomas Vander Stichele  <thomas at apestaart dot org>
27523
27524         * gst/elements/gstfakesrc.c: (gst_fakesrc_create):
27525           fix debug output
27526         * gst/schedulers/Makefile.am:
27527           use libgst prefix
27528         * gstreamer.spec.in:
27529           fix spec for it
27530
27531 2005-06-09  Thomas Vander Stichele  <thomas at apestaart dot org>
27532
27533         * gstreamer.spec.in:
27534           clean up
27535
27536 2005-06-08  Andy Wingo  <wingo@pobox.com>
27537
27538         * gst/gstutils.c: RPAD fixes all around.
27539         (gst_element_link_pads): Refcounting fixes.
27540
27541         * tools/gst-inspect.c:
27542         * tools/gst-xmlinspect.c:
27543         * parse/grammar.y:
27544         * gst/base/gsttypefindhelper.c:
27545         * gst/base/gstbasesink.c:
27546         * gst/gstqueue.c: RPAD fixes.
27547
27548         * gst/gstghostpad.h:
27549         * gst/gstghostpad.c: New ghost pad implementation as full proxy
27550         pads. The tricky thing is they provide both source and sink
27551         interfaces, since they proxy the internal pad for the external
27552         pad, and vice versa. Implement with lower-level ProxyPad objects,
27553         with the interior proxy pad as a child of the exterior ghost pad.
27554         Should write a doc on this.
27555         
27556         * gst/gstpad.h: s/RPAD/PAD/, s/RealPad/Pad/.
27557         (gst_pad_set_name, gst_pad_set_parent): Macros removed, use
27558         gst_object API.
27559         
27560         * gst/gstpad.c: Big changes. No more stub base GstPad, now all
27561         pads are real pads. No ghost pads in this file. Not documenting
27562         the myriad s/RPAD/PAD/ and REALIZE fixes.
27563         (gst_pad_class_init): Add properties for "direction" and
27564         "template". Both are construct-only, so they can't change during
27565         the life of the pad. Fixes properly deriving from GstPad.
27566         (gst_pad_custom_new, gst_pad_custom_new_from_template): Gone. For
27567         derived objects, just set properties when creating the objects via
27568         g_object_new.
27569         (gst_pad_get_parent): Implement as a function, return NULL if the
27570         parent is not an element.
27571         (gst_pad_get_real_parent, gst_pad_add_ghost_pad)
27572         (gst_pad_remove_ghost_pad, gst_pad_realize): Removed.
27573         
27574         * gst/gstobject.c (gst_object_class_init): Make name a construct
27575         property. Don't set it in the object init.
27576
27577         * gst/gstelement.c (gst_element_add_pad): Don't allow adding pads
27578         with UNKNOWN direction.
27579         (gst_element_add_ghost_pad): Remove non-orthogonal API. Replace
27580         with gst_element_add_pad (e, gst_ghost_pad_new (name, pad)).
27581         (gst_element_remove_pad): Remove ghost-pad special cases.
27582         (gst_element_pads_activate): Remove rpad cruft.
27583
27584         * gst/gstbin.c (gst_bin_change_state): Use gst_pad_get_parent to
27585         catch the pad's-parent-not-an-element case.
27586
27587         * gst/gst.h: Include gstghostpad.h.
27588
27589         * gst/gst.c (init_post): No more real, ghost pads.
27590
27591         * gst/Makefile.am: Add gstghostpad.[ch].
27592
27593         * check/Makefile.am:
27594         * check/gst/gstbin.c:
27595         * check/gst/gstghostpad.c (test_ghost_pads): Check that linking
27596         into a bin creates ghost pads, and that the refcounts are right.
27597         Partly moved from gstbin.c.
27598
27599 2005-06-08  Thomas Vander Stichele  <thomas at apestaart dot org>
27600
27601         * check/gst-libs/.cvsignore:
27602         * check/gst/.cvsignore:
27603         * check/pipelines/.cvsignore:
27604           ignore more
27605         * check/pipelines/cleanup.c: (setup_pipeline), (run_pipeline),
27606         (START_TEST), (cleanup_suite), (main):
27607           add some tests related to cleanup after running pipelines
27608
27609 2005-06-08  Thomas Vander Stichele  <thomas at apestaart dot org>
27610
27611         * check/gst/gstbuffer.c: (START_TEST), (gst_test_suite), (main):
27612           add a testsuite for GstBuffer
27613
27614 2005-06-08  Thomas Vander Stichele  <thomas at apestaart dot org>
27615
27616         * gst/gstminiobject.h:
27617           add defines for accessing the refcount
27618
27619 2005-06-03  Stefan Kost  <ensonic@users.sf.net>
27620
27621         * Makefile.am: added support for html unit test coverage reports
27622
27623 2005-06-03  Jan Schmidt  <thaytan@mad.scientist.com>
27624
27625         * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
27626           Free existing caps if the capsfilter changes. Add a FIXME about
27627           setting those caps on the pads.
27628
27629         * gst/gstutils.c: (gst_element_get_compatible_pad), (ghost_up):
27630           Before adding a ghost pad to a parent bin, check that there isn't
27631           already one for the element on the bin. Prevents infinite recursion
27632           when using decodebin in parse pipelines. Andy says he'll rewrite the
27633           way this works anyway, so ignore the hack.
27634
27635 2005-06-02  Andy Wingo  <wingo@pobox.com>
27636
27637         * gst/elements/gsttypefindelement.c (do_pull_typefind): Query the
27638         file size, pass it on to the type find helper.
27639
27640         * gst/base/gstbasesrc.c (gst_basesrc_do_seek): Set the
27641         segment_start and segment_end properly according to the seek
27642         method. Segment_end is still a bit flaky because offset can be
27643         negative for CUR and END cases, but it takes -1 as an "unset"
27644         value.
27645
27646 2005-06-02  Wim Taymans  <wim@fluendo.com>
27647
27648         * gst/base/gstbasesink.c: (gst_basesink_pad_buffer_alloc),
27649         (gst_base_sink_buffer_alloc), (gst_basesink_preroll_queue_push),
27650         (gst_basesink_activate):
27651         * gst/base/gstbasesink.h:
27652         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
27653         (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
27654         (gst_pad_query), (gst_pad_start_task):
27655         * gst/gstpad.h:
27656         * gst/gstqueue.c: (gst_queue_bufferalloc),
27657         (gst_queue_handle_sink_event), (gst_queue_chain):
27658         Bufferalloc: return GstFlowReturn to more accuratly report
27659         why allocation failed.
27660
27661 2005-06-02  Wim Taymans  <wim@fluendo.com>
27662
27663         * gst/gstpipeline.c: (gst_pipeline_send_event):
27664         Take snapshot of state without blocking.
27665
27666 2005-06-02  Wim Taymans  <wim@fluendo.com>
27667
27668         * docs/design/part-TODO.txt:
27669         * docs/design/part-caps.txt:
27670         * docs/design/part-clocks.txt:
27671         * docs/design/part-negotiation.txt:
27672         * docs/design/part-preroll.txt:
27673         Small doc updates 
27674
27675 2005-05-30  Wim Taymans  <wim@fluendo.com>
27676
27677         * gst/elements/gstidentity.c: (gst_identity_event),
27678         (gst_identity_transform), (gst_identity_get_property):
27679         Protect last_message property as it is accessed from
27680         multiple threads.
27681
27682 2005-05-30  Wim Taymans  <wim@fluendo.com>
27683
27684         * gst/gstelement.c: (gst_element_init),
27685         (gst_element_pads_activate), (gst_element_change_state):
27686         Slicker pad activation code.
27687
27688 2005-05-30  Wim Taymans  <wim@fluendo.com>
27689
27690         * gst/Makefile.am:
27691         * gst/gstelement.h:
27692         * gst/gstelementfactory.h:
27693         * gst/gsttypes.h:
27694         Move elementfactory methods to separate .h file.
27695
27696 2005-05-30  Wim Taymans  <wim@fluendo.com>
27697
27698         * docs/design/part-overview.txt:
27699         * gst/gstsystemclock.h:
27700         Small typo fixes, doc updates.
27701
27702 2005-05-30  Wim Taymans  <wim@fluendo.com>
27703
27704         * gst/gst.c: (gst_init_get_popt_table), (init_post),
27705         (init_popt_callback):
27706         Remove cpu-opt flag.
27707
27708 2005-05-30  Wim Taymans  <wim@fluendo.com>
27709
27710         * gst/gstbuffer.c: (gst_subbuffer_finalize),
27711         (gst_buffer_create_sub), (gst_buffer_is_span_fast):
27712         * gst/gstbuffer.h:
27713         Avoid typechecking in places where not needed.
27714         Added accessor for malloc_data.
27715
27716 2005-05-30  Wim Taymans  <wim@fluendo.com>
27717
27718         * gst/gstpad.c: (gst_real_pad_init), (gst_pad_set_active),
27719         (gst_pad_link_prepare), (gst_pad_link), (gst_pad_accept_caps),
27720         (gst_pad_configure_sink), (gst_pad_configure_src),
27721         (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_send_event),
27722         (gst_pad_start_task):
27723         Propagate errors from _set_caps() in configure_src/sink
27724         functions instead of returning TRUE.
27725         FLUSH events can travel up and downstream
27726
27727
27728 2005-05-30  Wim Taymans  <wim@fluendo.com>
27729
27730         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
27731         (gst_basesink_activate):
27732         Handle EOS in preroll.
27733
27734 2005-05-30  Wim Taymans  <wim@fluendo.com>
27735
27736         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
27737         (gst_queue_loop), (gst_queue_handle_src_event):
27738         Remove old pieces of code
27739         Flushing the queue in an upstream event is a very bad idea.
27740
27741 2005-05-26  Andy Wingo  <wingo@pobox.com>
27742
27743         * gst/gstminiobject.c (gst_value_mini_object_collect): Use
27744         gst_value_set_mini_object so as to add a ref on the object (which
27745         will be removed when the value is unset).
27746
27747         * gst/elements/gstfakesink.c (gst_fakesink_class_init): Fix signal
27748         arg type in ::handoff.
27749
27750         * gst/gstelement.c (gst_element_change_state): Also deactivate
27751         pads in READY->NULL, just in case the element didn't make it to
27752         PAUSED. Wingo tested, Wim approved.
27753
27754 2005-05-26  Wim Taymans  <wim@fluendo.com>
27755
27756         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
27757         (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
27758         (gst_pad_query), (gst_pad_send_event), (gst_pad_start_task):
27759         A flushing pad cannot be used to alloc_buffer from.
27760
27761 2005-05-26  Wim Taymans  <wim@fluendo.com>
27762
27763         * gst/gstbus.c: (gst_bus_init), (gst_bus_dispose), (gst_bus_post),
27764         (gst_bus_pop), (gst_bus_source_prepare), (gst_bus_source_check),
27765         (gst_bus_source_dispatch), (gst_bus_source_finalize),
27766         (gst_bus_create_watch), (gst_bus_add_watch_full):
27767         * gst/gstbus.h:
27768         Implement a real GSource and use g_main_context_wakeup() to
27769         signal new messages instead of the socketpair.
27770
27771 2005-05-25  Wim Taymans  <wim@fluendo.com>
27772
27773         * gst/gstbin.c: (bin_element_is_sink), (has_ancestor),
27774         (bin_element_is_semi_sink), (append_child), (gst_bin_change_state):
27775         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
27776         (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
27777         (gst_pad_send_event), (gst_pad_start_task):
27778         * gst/gstqueue.c: (gst_queue_init), (gst_queue_locked_flush),
27779         (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
27780         (gst_queue_sink_activate), (gst_queue_src_activate),
27781         (gst_queue_change_state):
27782         * gst/gstqueue.h:
27783         Fix state changes for non sinks. We now change sinks, then elements
27784         with unconnected srcpads, then the rest.
27785         More efficient queue unlocking in flush and state changes.
27786         Set the pad activate mode even if it does not have an activate
27787         function.
27788
27789 2005-05-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
27790
27791         * gst/base/gstbasesrc.c: (gst_basesrc_activate):
27792           Don't go in pull mode for non-seekable sources.
27793         * gst/elements/gsttypefindelement.h:
27794         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
27795         (gst_type_find_element_dispose), (gst_type_find_handle_src_query),
27796         (free_entry), (stop_typefinding),
27797         (gst_type_find_element_handle_event), (find_peek),
27798         (gst_type_find_element_chain), (do_pull_typefind),
27799         (gst_type_find_element_change_state):
27800           Allow typefinding (w/o seeking) in push-mode, simplified version
27801           of what was in 0.8.
27802         * gst/gstutils.c: (gst_buffer_join):
27803         * gst/gstutils.h:
27804           gst_buffer_join() from 0.8.
27805
27806 2005-05-25  Wim Taymans  <wim@fluendo.com>
27807
27808         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
27809         (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
27810         (gst_pad_send_event), (gst_pad_start_task):
27811         Disable attempt at mode switching until it is figured out.
27812
27813 2005-05-25  Wim Taymans  <wim@fluendo.com>
27814
27815         * gst/base/gstadapter.c: (gst_adapter_peek), (gst_adapter_flush):
27816         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
27817         (gst_basesink_finish_preroll), (gst_basesink_chain),
27818         (gst_basesink_loop), (gst_basesink_activate),
27819         (gst_basesink_change_state):
27820         * gst/base/gstbasesrc.c: (gst_basesrc_do_seek),
27821         (gst_basesrc_get_range), (gst_basesrc_loop),
27822         (gst_basesrc_activate):
27823         * gst/elements/gsttee.c: (gst_tee_sink_activate):
27824         * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
27825         (gst_real_pad_init), (gst_real_pad_set_property),
27826         (gst_real_pad_get_property), (gst_pad_set_active),
27827         (gst_pad_is_active), (gst_pad_get_query_types), (gst_pad_unlink),
27828         (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_real_parent),
27829         (gst_real_pad_get_caps_unlocked), (gst_pad_peer_get_caps),
27830         (gst_pad_accept_caps), (gst_pad_get_peer), (gst_pad_realize),
27831         (gst_pad_event_default_dispatch), (gst_pad_event_default),
27832         (gst_pad_dispatcher), (gst_pad_query), (gst_real_pad_dispose),
27833         (gst_pad_save_thyself), (handle_pad_block), (gst_pad_chain),
27834         (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
27835         (gst_pad_send_event), (gst_pad_start_task), (gst_pad_pause_task),
27836         (gst_pad_stop_task):
27837         * gst/gstpad.h:
27838         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
27839         (gst_queue_loop), (gst_queue_src_activate):
27840         * gst/gsttask.c: (gst_task_init), (gst_task_set_lock),
27841         (gst_task_get_state):
27842         * gst/gsttask.h:
27843         * gst/schedulers/threadscheduler.c:
27844         (gst_thread_scheduler_task_start), (gst_thread_scheduler_func):
27845         Implement gst_pad_pause/start/stop_task(), take STREAM lock
27846         in task function.
27847         Remove ACTIVE pad flag, use FLUSHING everywhere
27848         Added _pad_chain(), _pad_get_range() to call chain/getrange 
27849         functions.
27850         Add locks around IS_FLUSHING when reading.
27851         Take STREAM lock in chain(), get_range() functions so plugins
27852         don't need to take it anymore.
27853         
27854
27855
27856 2005-05-25  Wim Taymans  <wim@fluendo.com>
27857
27858         * tools/gst-launch.c: (event_loop):
27859         Unref message after using its contents instead of
27860         before.
27861
27862 2005-05-24  Wim Taymans  <wim@fluendo.com>
27863
27864         * docs/design/draft-ghostpads.txt:
27865         * docs/design/draft-push-pull.txt:
27866         * docs/design/draft-query.txt:
27867         * docs/design/part-overview.txt:
27868         Docs updates, added general overview doc.
27869
27870 2005-05-21  David Schleef  <ds@schleef.org>
27871
27872         * docs/gst/tmpl/old/GstBin.sgml:
27873         * docs/gst/tmpl/old/GstBuffer.sgml:
27874         * docs/gst/tmpl/old/GstCaps.sgml:
27875         * docs/gst/tmpl/old/GstClock.sgml:
27876         * docs/gst/tmpl/old/GstCompat.sgml:
27877         * docs/gst/tmpl/old/GstData.sgml:
27878         * docs/gst/tmpl/old/GstElement.sgml:
27879         * docs/gst/tmpl/old/GstEvent.sgml:
27880         * docs/gst/tmpl/old/GstIndex.sgml:
27881         * docs/gst/tmpl/old/GstStructure.sgml:
27882         * docs/gst/tmpl/old/GstTag.sgml:
27883         * docs/gst/tmpl/old/cothreads.sgml:
27884         * docs/gst/tmpl/old/cothreads_compat.sgml:
27885         * docs/gst/tmpl/old/gettext.sgml:
27886         * docs/gst/tmpl/old/gobject2gtk.sgml:
27887         * docs/gst/tmpl/old/grammar.tab.sgml:
27888         * docs/gst/tmpl/old/gst-i18n-app.sgml:
27889         * docs/gst/tmpl/old/gst-i18n-lib.sgml:
27890         * docs/gst/tmpl/old/gst_private.sgml:
27891         * docs/gst/tmpl/old/gstaggregator.sgml:
27892         * docs/gst/tmpl/old/gstarch.sgml:
27893         * docs/gst/tmpl/old/gstatomic_impl.sgml:
27894         * docs/gst/tmpl/old/gstbufferstore.sgml:
27895         * docs/gst/tmpl/old/gstdata_private.sgml:
27896         * docs/gst/tmpl/old/gstdisksink.sgml:
27897         * docs/gst/tmpl/old/gstdisksrc.sgml:
27898         * docs/gst/tmpl/old/gstelementfactory.sgml:
27899         * docs/gst/tmpl/old/gstextratypes.sgml:
27900         * docs/gst/tmpl/old/gstfakesink.sgml:
27901         * docs/gst/tmpl/old/gstfakesrc.sgml:
27902         * docs/gst/tmpl/old/gstfdsink.sgml:
27903         * docs/gst/tmpl/old/gstfdsrc.sgml:
27904         * docs/gst/tmpl/old/gstfilesink.sgml:
27905         * docs/gst/tmpl/old/gstfilesrc.sgml:
27906         * docs/gst/tmpl/old/gsthttpsrc.sgml:
27907         * docs/gst/tmpl/old/gstidentity.sgml:
27908         * docs/gst/tmpl/old/gstindexfactory.sgml:
27909         * docs/gst/tmpl/old/gstmarshal.sgml:
27910         * docs/gst/tmpl/old/gstmd5sink.sgml:
27911         * docs/gst/tmpl/old/gstmultidisksrc.sgml:
27912         * docs/gst/tmpl/old/gstmultifilesrc.sgml:
27913         * docs/gst/tmpl/old/gstpadtemplate.sgml:
27914         * docs/gst/tmpl/old/gstpipefilter.sgml:
27915         * docs/gst/tmpl/old/gstschedulerfactory.sgml:
27916         * docs/gst/tmpl/old/gstsearchfuncs.sgml:
27917         * docs/gst/tmpl/old/gstshaper.sgml:
27918         * docs/gst/tmpl/old/gstspider.sgml:
27919         * docs/gst/tmpl/old/gstspideridentity.sgml:
27920         * docs/gst/tmpl/old/gststatistics.sgml:
27921         * docs/gst/tmpl/old/gsttee.sgml:
27922         * docs/gst/tmpl/old/gsttimecache.sgml:
27923         * docs/gst/tmpl/old/gsttypefindfactory.sgml:
27924         * docs/gst/tmpl/old/gstxmlregistry.sgml:
27925         * docs/gst/tmpl/old/gthread-cothreads.sgml:
27926         * docs/gst/tmpl/old/types.sgml:
27927           I didn't intend to add these or check them in.
27928
27929 2005-05-19  David Schleef  <ds@schleef.org>
27930
27931         * configure.ac: Use -no-common everywhere.  In a sane world, it
27932           would be the default in libtool, because without it, you can't
27933           build DLLs on Windows.
27934         * docs/gst/gstreamer-docs.sgml: Remove GstCpu, GstData, GstThread
27935         * docs/gst/gstreamer-sections.txt:
27936         * docs/gst/tmpl/gstcpu.sgml:
27937         * docs/gst/tmpl/gstdata.sgml:
27938         * docs/gst/tmpl/gstthread.sgml:
27939
27940 2005-05-19  David Schleef  <ds@schleef.org>
27941
27942         * gst/gstminiobject.c: (gst_value_set_mini_object),
27943         (gst_value_take_mini_object), (gst_value_get_mini_object):
27944         * gst/gstminiobject.h: Add GValue set/get functions.
27945
27946 2005-05-19  Wim Taymans  <wim@fluendo.com>
27947
27948         * gst/gstbuffer.c: (gst_buffer_init), (gst_subbuffer_get_type),
27949         (gst_subbuffer_class_init), (gst_subbuffer_finalize),
27950         (gst_subbuffer_init), (gst_buffer_is_span_fast):
27951         * gst/gstbuffer.h:
27952         * gst/gstbus.c: (gst_bus_post):
27953         * gst/gstelement.c: (gst_element_get_random_pad):
27954         * gst/gstmessage.c: (gst_message_init), (gst_message_finalize):
27955         Make subbufer unref the parent in finalize.
27956         some more debugging info.
27957
27958
27959 2005-05-19  Wim Taymans  <wim@fluendo.com>
27960
27961         * gst/base/gstbasesink.c: (gst_basesink_class_init),
27962         (gst_basesink_init), (gst_basesink_finalize),
27963         (gst_basesink_activate), (gst_basesink_change_state):
27964         Don't free preroll queue too early.
27965
27966 2005-05-19  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
27967
27968         * gst/Makefile.am:
27969         * gst/ROADMAP:
27970           Hi, I'm outdated. Please shoot me.
27971
27972 2005-05-19  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
27973
27974         * gst/gstpipeline.c: (gst_pipeline_send_event):
27975           Do not access variables after they have been deleted.
27976
27977 2005-05-19  Wim Taymans  <wim@fluendo.com>
27978
27979         * tools/gst-inspect.c: (print_plugin_features):
27980         A plugin feature does unfortunatly not use the
27981         object name yet...
27982
27983 2005-05-18  Wim Taymans  <wim@fluendo.com>
27984
27985         * gst/gstbuffer.c: (gst_buffer_is_span_fast), (gst_buffer_span):
27986         Port _span() functions to new subbuffers.
27987
27988 2005-05-18  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
27989
27990         * gst/gstbin.c: (gst_bin_add_func):
27991           Fix clock settery in bins when adding kids after the clock has
27992           been selected.
27993
27994 2005-05-18  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
27995
27996         * gst/elements/gstidentity.c: (gst_identity_class_init):
27997           Workaround until signals support GstMiniObject.
27998
27999 2005-05-18  Jan Schmidt  <thaytan@mad.scientist.com>
28000
28001         * gst/gstbuffer.c:
28002         Oops, fix a typo GST_TYPE_BUFFER -> GST_TYPE_SUBBUFFER.
28003
28004 2005-05-18  Wim Taymans  <wim@fluendo.com>
28005
28006         * gst/base/Makefile.am:
28007         * gst/base/gstadapter.c: (gst_adapter_base_init),
28008         (gst_adapter_class_init), (gst_adapter_init),
28009         (gst_adapter_dispose), (gst_adapter_finalize), (gst_adapter_new),
28010         (gst_adapter_clear), (gst_adapter_push), (gst_adapter_peek),
28011         (gst_adapter_flush), (gst_adapter_available),
28012         (gst_adapter_available_fast):
28013         * gst/base/gstadapter.h:
28014         Ported and added adapter to the base classes.
28015
28016 2005-05-17  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
28017
28018         * gst/gst.c:
28019         * gst/gstmessage.c:
28020           Make sure the class is reffed/unreffed once before threads can be
28021           used.  Fixes #304551.
28022
28023 2005-05-17  Wim Taymans  <wim@fluendo.com>
28024
28025         * gst/base/gstbasesink.c: (gst_basesink_finish_preroll),
28026         (gst_basesink_chain_unlocked), (gst_basesink_activate):
28027         * gst/gstminiobject.c: (gst_mini_object_get_type),
28028         (gst_mini_object_free):
28029         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query),
28030         (gst_pad_push), (gst_pad_push_event):
28031         * gst/gstqueue.c: (gst_queue_change_state):
28032         Don't queue buffers in basesink when we are flushing.
28033         Unref buffer when flushing in basesink.
28034         Flush queue when going to READY
28035         Unref buffer when _push() returns an error.
28036         Don't free MiniObject instance when refcount is incremented
28037         in _finalize() so that we can recover objects.
28038
28039 2005-05-17  Thomas Vander Stichele  <thomas at apestaart dot org>
28040
28041         * docs/manual/advanced-schedulers.xml:
28042         * docs/manual/appendix-checklist.xml:
28043         * docs/pwg/advanced-clock.xml:
28044         * docs/pwg/advanced-interfaces.xml:
28045         * docs/pwg/advanced-request.xml:
28046         * docs/pwg/advanced-types.xml:
28047         * docs/pwg/intro-preface.xml:
28048         * examples/plugins/example.c: (gst_example_get_type),
28049         (gst_example_class_init), (gst_example_chain),
28050         (gst_example_set_property), (gst_example_get_property),
28051         (gst_example_change_state), (plugin_init):
28052         * examples/plugins/example.h:
28053           small doc fixes
28054
28055 2005-05-17  Wim Taymans  <wim@fluendo.com>
28056
28057         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps),
28058         (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_push):
28059         * gst/gstqueue.c: (gst_queue_change_state):
28060         Clear queue when going to READY.
28061         Remove IN_SETCAPS flag too.
28062
28063 2005-05-17  Tim-Philipp Müller  <tim at centricular dot net>
28064
28065         * gst/base/gstbasesrc.c: (gst_basesrc_change_state):
28066           Remove implicit cast from gboolean to GstElementStateReturn;
28067           make sure we still return failure in paused => ready case if
28068           the parent class fails to change state and our own stop 
28069           vfunc succeeds.
28070
28071 2005-05-17  Wim Taymans  <wim@fluendo.com>
28072
28073         * tools/gst-launch.c: (event_loop):
28074         Message was unreffed too soon.
28075
28076 2005-05-16  Andy Wingo  <wingo@pobox.com>
28077
28078         * gst/gstbin.c (sink_iterator_filter): Err... um...
28079
28080         * check/gst/gstbin.c (test_ghost_pads): New test for the
28081         ghosting-if-elements-not-in-same-bin behavior.
28082
28083 2005-05-16  David Schleef  <ds@schleef.org>
28084
28085         * gst/gstminiobject.c: Use g_atomic_int_get() instead of
28086         accessing refcount directly.
28087
28088 2005-05-15  David Schleef  <ds@schleef.org>
28089
28090         * check/Makefile.am: remove GstData checks
28091         * check/gst-libs/gdp.c: (START_TEST): fix for API changes
28092         * gst/Makefile.am: add miniobject, remove data
28093         * gst/gst.h: add miniobject, remove data
28094         * gst/gstdata.c: remove
28095         * gst/gstdata.h: remove
28096         * gst/gstdata_private.h: remove
28097         * gst/gsttypes.h: remove GstEvent and GstMessage
28098         * gst/gstelement.c: (gst_element_post_message): fix for API changes
28099         * gst/gstmarshal.list: change BOXED -> OBJECT
28100
28101         Implement GstMiniObject.
28102         * gst/gstminiobject.c:
28103         * gst/gstminiobject.h:
28104
28105         Modify to be subclasses of GstMiniObject.
28106         * gst/gstbuffer.c: (_gst_buffer_initialize), (gst_buffer_get_type),
28107         (gst_buffer_class_init), (gst_buffer_finalize), (_gst_buffer_copy),
28108         (gst_buffer_init), (gst_buffer_new), (gst_buffer_new_and_alloc),
28109         (gst_subbuffer_get_type), (gst_subbuffer_init),
28110         (gst_buffer_create_sub), (gst_buffer_is_span_fast),
28111         (gst_buffer_span):
28112         * gst/gstbuffer.h:
28113         * gst/gstevent.c: (_gst_event_initialize), (gst_event_get_type),
28114         (gst_event_class_init), (gst_event_init), (gst_event_finalize),
28115         (_gst_event_copy), (gst_event_new):
28116         * gst/gstevent.h:
28117         * gst/gstmessage.c: (_gst_message_initialize),
28118         (gst_message_get_type), (gst_message_class_init),
28119         (gst_message_init), (gst_message_finalize), (_gst_message_copy),
28120         (gst_message_new), (gst_message_new_error),
28121         (gst_message_new_warning), (gst_message_new_tag),
28122         (gst_message_new_state_changed), (gst_message_new_application):
28123         * gst/gstmessage.h:
28124         * gst/gstprobe.c: (gst_probe_perform),
28125         (gst_probe_dispatcher_dispatch):
28126         * gst/gstprobe.h:
28127         * gst/gstquery.c: (_gst_query_initialize), (gst_query_get_type),
28128         (gst_query_class_init), (gst_query_finalize), (gst_query_init),
28129         (_gst_query_copy), (gst_query_new):
28130
28131         Update elements for GstData -> GstMiniObject changes
28132         * gst/gstquery.h:
28133         * gst/gstqueue.c: (gst_queue_finalize), (gst_queue_locked_flush),
28134         (gst_queue_chain), (gst_queue_loop):
28135         * gst/elements/gstbufferstore.c:
28136         (gst_buffer_store_add_buffer_func),
28137         (gst_buffer_store_cleared_func), (gst_buffer_store_get_buffer):
28138         * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
28139         (gst_fakesink_render):
28140         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
28141         * gst/elements/gstfilesrc.c: (gst_mmap_buffer_get_type),
28142         (gst_mmap_buffer_class_init), (gst_mmap_buffer_init),
28143         (gst_mmap_buffer_finalize), (gst_filesrc_map_region),
28144         (gst_filesrc_create_read):
28145         * gst/elements/gstidentity.c: (gst_identity_class_init):
28146         * gst/elements/gsttypefindelement.c:
28147         (gst_type_find_element_src_event), (free_entry_buffers),
28148         (gst_type_find_element_handle_event):
28149         * libs/gst/dataprotocol/dataprotocol.c:
28150         (gst_dp_header_from_buffer):
28151         * libs/gst/dataprotocol/dataprotocol.h:
28152         * libs/gst/dataprotocol/dp-private.h:
28153
28154 2005-05-15  David Schleef  <ds@schleef.org>
28155
28156         * gst/elements/gstelements.c: Don't include headers that were
28157         just removed.
28158
28159 2005-05-15  David Schleef  <ds@schleef.org>
28160
28161         * gst/elements/Makefile.am: Remove some elements that don't
28162         need to be in the core (or even exist at all).
28163         * gst/elements/gstaggregator.c:
28164         * gst/elements/gstaggregator.h:
28165         * gst/elements/gstmd5sink.c:
28166         * gst/elements/gstmd5sink.h:
28167         * gst/elements/gstmultifilesrc.c:
28168         * gst/elements/gstmultifilesrc.h:
28169         * gst/elements/gstpipefilter.c:
28170         * gst/elements/gstpipefilter.h:
28171         * gst/elements/gstshaper.c:
28172         * gst/elements/gstshaper.h:
28173         * gst/elements/gststatistics.c:
28174         * gst/elements/gststatistics.h:
28175         * po/POTFILES.in: Remove above files.
28176
28177 2005-05-14  Andy Wingo  <wingo@pobox.com>
28178
28179         * gst/gstbin.c (gst_bin_iterate_sinks): Use sink_iterator_filter
28180         so as to get the refs right.
28181         (sink_iterator_filter): New function, wraps bin_element_is_sink,
28182         unreffing objects that don't pass the filter.
28183
28184         * gst/gstpipeline.c (gst_pipeline_init): Drop ref on bus after
28185         gst_element_set_bus.
28186         (gst_pipeline_dispose): Set the bus on the pipeline to NULL. In
28187         normal cases, this will destroy the bus.
28188
28189         * gst/gstutils.c (prepare_link_maybe_ghosting): Drop ref on root
28190         object.
28191
28192         * gst/gstbin.c (gst_bin_change_state): Fix state changes if a bin
28193         has no sinks.
28194
28195 2005-05-13  Andy Wingo  <wingo@pobox.com>
28196
28197         * gst/gstutils.c (gst_element_link_pads): Instead of calling
28198         gst_pad_link, call pad_link_maybe_ghosting,
28199         (pad_link_maybe_ghosting): Links pads, making sure that the
28200         elements being linked are in the same bin.
28201         (find_common_root, object_has_ancestor, ghost_up, remove_pad):
28202         Helpers for pad_link_maybe_ghosting.
28203
28204 2005-05-13  Tim-Philipp Müller  <tim at centricular dot net>
28205
28206         * configure.ac:
28207           Require GLib >= 2.4.0 (for the g_atomic_* funcs)
28208
28209 2005-05-13  Tim-Philipp Müller  <tim at centricular dot net>
28210
28211         * docs/design/part-element-source.txt:
28212           Mention GstPushSrc
28213
28214 2005-05-12  Wim Taymans  <wim@fluendo.com>
28215
28216         * gst/base/gstbasesink.c: (gst_basesink_init),
28217         (gst_basesink_activate):
28218         * gst/base/gstbasesrc.c: (gst_basesrc_unlock),
28219         (gst_basesrc_is_seekable):
28220         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
28221         (bin_element_is_sink), (gst_bin_change_state):
28222         * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
28223         * gst/gstelement.h:
28224         Identify sinks by their flag to avoid overly complicated
28225         checks (fow now).
28226         Do state changes even for elements not reachable from the
28227         sinks.
28228         BaseSink is a sink now :)
28229         Some more debugging info in the basesrc.
28230
28231
28232 2005-05-12  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
28233
28234         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_query):
28235           Implement _query on a bin, similar to _send_event.
28236
28237 2005-05-12  Tim-Philipp Müller  <tim at centricular dot net>
28238
28239         * gst/base/gstbasesrc.c: (gst_basesrc_do_seek):
28240           Discont event offset format should be GST_FORMAT_BYTES,
28241           not GST_FORMAT_TIME.
28242
28243 2005-05-12  Wim Taymans  <wim@fluendo.com>
28244
28245         * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_get_state):
28246         Same fix as Ronald's but without the signal. 
28247
28248 2005-05-12  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
28249
28250         * gst/gstutils.c: (gst_element_query_position):
28251           No, an element is not a pad.
28252
28253 2005-05-12  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
28254
28255         * gst/gstbin.c: (gst_bin_add_func), (cb_parent_unset),
28256         (gst_bin_get_state):
28257           If a child is removed from a bin while we remove the child from
28258           the bin and while we're retrieving its state, signal this to the
28259           get_state function so we abort the wait (instead of waiting for
28260           a timeout) and can immediately re-iterate over all other elements.
28261
28262 2005-05-12  Wim Taymans  <wim@fluendo.com>
28263
28264         * gst/base/Makefile.am:
28265         * gst/base/gstbasesrc.c: (gst_basesrc_is_seekable),
28266         (gst_basesrc_start):
28267         * gst/base/gstbasesrc.h:
28268         * gst/base/gstpushsrc.c: (gst_pushsrc_get_type),
28269         (gst_pushsrc_base_init), (gst_pushsrc_class_init),
28270         (gst_pushsrc_init), (gst_pushsrc_create):
28271         * gst/base/gstpushsrc.h:
28272         Added is_seekable to BaseSrc
28273         Added simple PushSrc.
28274
28275 2005-05-11  Wim Taymans  <wim@fluendo.com>
28276
28277         * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
28278         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
28279         (gst_element_link_pads), (gst_element_query_position),
28280         (gst_element_query_convert), (intersect_caps_func),
28281         (gst_pad_query_position), (gst_pad_query_convert):
28282         Fix refcounting in utils function.
28283         No point in trying to activate a pad when it's added, it could
28284         be added from the state change function and then we deadlock, the
28285         element has to decide what to do.
28286
28287 2005-05-10  Andy Wingo  <wingo@pobox.com>
28288
28289         * gst/elements/gstfakesink.c (gst_fakesink_render): Er, emit with
28290         *all* the arguments.
28291
28292         * gst/base/gstbasetransform.c (gst_base_transform_event): Grab the
28293         stream lock if it's a FLUSH_DONE; normal flushes don't get the
28294         lock (according to the docs -- if this is wrong change the docs).
28295
28296         * gst/gstpipeline.c (gst_pipeline_change_state): Set the bus to
28297         flush messages in the NULL state.
28298
28299         * gst/gstbus.c (gst_bus_post): If a bus is flushing, unref the
28300         message immediately and return.
28301         (gst_bus_set_flushing): New function. If a bus is flushing, it
28302         flushes out any queued messages and immediately unrefs new
28303         messages. This is so when an element goes to NULL, all of the
28304         unhandled messages coming from it can be freed, and their
28305         references to the element dropped. In other words: message source
28306         ref considered harmful :P
28307
28308         * gst/gstbin.c (gst_bin_change_state): Unref peer element when
28309         we're finished with it.
28310
28311         * gst/gstmessage.c (gst_message_new_state_changed): 
28312
28313 2005-05-10  Wim Taymans  <wim@fluendo.com>
28314
28315         * gst/gstvalue.c: (gst_value_compare_flags),
28316         (gst_value_serialize_flags), (gst_value_deserialize_flags),
28317         (_gst_value_initialize):
28318         Added flags serialize/deserialize/compare code.
28319
28320 2005-05-09  Andy Wingo  <wingo@pobox.com>
28321
28322         * gst/base/gstbasetransform.c (gst_base_transform_proxy_getcaps):
28323         Intersect the peer's caps with our caps.
28324
28325 2005-05-09  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
28326
28327         * gst/base/gsttypefindhelper.c: (helper_find_peek):
28328         * gst/elements/gsttypefindelement.c: (find_peek):
28329           Handle negative offsets better. Fixes decodebin.
28330
28331 2005-05-09  Wim Taymans  <wim@fluendo.com>
28332
28333         * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps),
28334         (gst_base_transform_event):
28335         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query):
28336         Implement accept_caps.
28337         Fix silly lock/unlock mismatch in base class.
28338
28339 2005-05-09  Wim Taymans  <wim@fluendo.com>
28340
28341         * docs/design/draft-push-pull.txt:
28342         * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_query):
28343         * gst/elements/gstfilesink.c: (gst_filesink_init),
28344         (gst_filesink_query):
28345         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
28346         (gst_type_find_handle_src_query), (find_element_get_length):
28347         * gst/gstelement.c: (gst_element_seek), (gst_element_query):
28348         * gst/gstelement.h:
28349         * gst/gstmessage.c:
28350         * gst/gstmessage.h:
28351         * gst/gstpad.c: (gst_real_pad_init), (gst_pad_get_query_types),
28352         (gst_real_pad_get_caps_unlocked),
28353         (gst_pad_get_internal_links_default), (gst_pad_get_internal_links),
28354         (gst_pad_event_default_dispatch), (gst_pad_event_default),
28355         (gst_pad_dispatcher), (gst_pad_query), (gst_pad_query_default),
28356         (gst_real_pad_dispose), (gst_real_pad_finalize),
28357         (gst_pad_load_and_link), (gst_pad_save_thyself),
28358         (gst_ghost_pad_save_thyself), (handle_pad_block), (gst_pad_push),
28359         (gst_pad_check_pull_range), (gst_pad_pull_range),
28360         (gst_pad_template_get_type), (gst_pad_template_class_init),
28361         (gst_pad_template_init), (gst_pad_template_dispose),
28362         (name_is_valid), (gst_static_pad_template_get),
28363         (gst_pad_template_new), (gst_static_pad_template_get_caps),
28364         (gst_pad_template_get_caps), (gst_pad_set_element_private),
28365         (gst_pad_get_element_private), (gst_pad_start_task),
28366         (gst_pad_pause_task), (gst_pad_stop_task),
28367         (gst_ghost_pad_get_type), (gst_ghost_pad_class_init),
28368         (gst_ghost_pad_init), (gst_ghost_pad_dispose),
28369         (gst_ghost_pad_set_property), (gst_ghost_pad_get_property),
28370         (gst_ghost_pad_new):
28371         * gst/gstpad.h:
28372         * gst/gstquery.c: (_gst_query_initialize), (gst_query_new),
28373         (gst_query_new_position), (gst_query_set_position),
28374         (gst_query_parse_position), (gst_query_new_convert),
28375         (gst_query_set_convert), (gst_query_parse_convert):
28376         * gst/gstquery.h:
28377         * gst/gstqueryutils.c:
28378         * gst/gstqueryutils.h:
28379         * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
28380         (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
28381         (gst_queue_handle_src_query):
28382         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
28383         (gst_element_query_position), (gst_element_query_convert),
28384         (intersect_caps_func), (gst_pad_query_position),
28385         (gst_pad_query_convert):
28386         * gst/gstutils.h:
28387         * tools/gst-inspect.c: (print_pad_info):
28388         * tools/gst-xmlinspect.c: (print_element_info):
28389         Remove old query functions. Ported old code.
28390         Added position/convert helper functions to gstutils.
28391         Reordered gstpad.c code, grouping relevant things.
28392         Remove gst_message_new(), always need to speficy a specific
28393         message.
28394
28395
28396 2005-05-09  Andy Wingo  <wingo@pobox.com>
28397
28398         * gst/gstiterator.h: Add some includes.
28399
28400         * gst/gstqueryutils.h: Include more headers.
28401
28402         * gst/gstpad.h:
28403         * gst/gstpad.c (gst_pad_query_position): New routine, replaces
28404         some uses of gst_pad_query.
28405
28406         * gst/gstqueryutils.c: Build fixes. Make parse functions ignore
28407         NULL out parameters.
28408         (gst_query_new_position): New proc, allocates a new position
28409         query.
28410
28411         * gst/Makefile.am (libgstreamer_@GST_MAJORMINOR@_la_SOURCES): Add
28412         gstqueryutils.c to the build.
28413
28414         * gst/gststructure.c (gst_structure_set_valist): Implement with
28415         the generic G_VALUE_COLLECT.
28416         
28417 2005-05-08  Edward Hervey  <bilboed@bilboed.com>
28418
28419         * gst/Makefile.am: (gst_headers):
28420         Added gstqueryutils.h to the list of headers to install, that was
28421         a 'nachty' move wingo :)
28422
28423 2005-05-06  Andy Wingo  <wingo@pobox.com>
28424
28425         * gst/gstquery.h
28426         * gst/gstquery.c (_gst_query_initialize): Extend GstQuery from
28427         GstData, init a memchunk.
28428         (standard_definitions): Add a few query types, deprecate a few.
28429         (gst_query_get_type): New proc.
28430         (_gst_query_copy, _gst_query_free, gst_query_new): GstData
28431         implementation.
28432         (gst_query_new_application, gst_query_get_structure): New public
28433         procs.
28434
28435         * docs/design/draft-query.txt: Removed LINKS from the query types,
28436         because all the rest can be dispatched to other pads -- seemed
28437         ugly to have a query that couldn't be dispatched. internal_links
28438         is fine as a pad method.
28439
28440         * gst/gstpad.h: Add query2 as a pad method, add the new functions
28441         in gstpad.c, but maintain binary compatibility for the moment.
28442         Will fix before 0.9 is out.
28443
28444         * gst/gstqueryutils.c: 
28445         * gst/gstqueryutils.h: New files, implement 3 methods for each
28446         query type: parse_query, parse_response, and set. Probably need an
28447         allocator as well.
28448
28449         * gst/gst.h: Add gstquery.h and gstqueryutils.h to the list.
28450
28451         * gst/elements/gstfilesink.c (gst_filesink_query2):
28452         * gst/base/gstbasesrc.c (gst_basesrc_query2): Replace old query,
28453         query_types, and formats methods.
28454
28455         * gst/gstpad.c (gst_pad_query2, gst_pad_query2_default)
28456         (gst_pad_set_query2_function): New functions.
28457         (gst_real_pad_init): Set query2_default as the default query2
28458         function. Basically just dispatches to internally linked pads.
28459
28460         Needs review!
28461         
28462         * gst/gstdata_private.h (_GST_DATA_INIT): Set data->refcount to 1
28463         without using the atomic operations. Only one thread can possibly
28464         be accessing the data at this point. Changed so as to avoid
28465         gst_atomic operations.
28466
28467 2005-05-06  Wim Taymans  <wim@fluendo.com>
28468
28469         * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push):
28470         Also set caps if we use the fallback buffer alloc.
28471
28472 2005-05-06  Tim-Philipp Müller  <tim at centricular dot net>
28473
28474         * docs/gst/Makefile.am:
28475         * docs/gst/gstreamer-docs.sgml:
28476         * docs/gst/gstreamer-sections.txt:
28477         * docs/gst/tmpl/gstatomic.sgml:
28478         * docs/gst/tmpl/gstmemchunk.sgml:
28479         * testsuite/elements/struct_i386.h:
28480         * win32/GStreamer.vcproj:
28481         * win32/Makefile:
28482           Purge GstAtomic stuff from docs and win32 makefiles as well
28483
28484 2005-05-06  Wim Taymans  <wim@fluendo.com>
28485
28486         * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps):
28487         * gst/elements/gstcapsfilter.c: (gst_capsfilter_getcaps):
28488         * gst/gstpad.c: (gst_pad_peer_get_caps):
28489         * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
28490         (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
28491         (gst_queue_src_activate), (gst_queue_change_state):
28492         * gst/gstqueue.h:
28493         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
28494         (intersect_caps_func):
28495         Fix gst_pad_peer_get_caps(), make it return NULL if no peer.
28496         Always take QUEUE_LOCK after STREAM_LOCK or we might deadlock.
28497         Some fixes for the peer_get_caps() change.
28498
28499 2005-05-06  Wim Taymans  <wim@fluendo.com>
28500
28501         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
28502         (gst_basesink_handle_buffer), (gst_basesink_chain_unlocked),
28503         (gst_basesink_activate):
28504         Actually do something with error codes returned from the push
28505         functions.
28506
28507 2005-05-06  Wim Taymans  <wim@fluendo.com>
28508
28509         * docs/design/part-element-sink.txt:
28510         * docs/design/part-element-source.txt:
28511         * gst/base/gstbasesink.c: (gst_basesink_class_init),
28512         (gst_basesink_event), (gst_basesink_activate):
28513         * gst/base/gstbasesink.h:
28514         * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_unlock),
28515         (gst_basesrc_activate):
28516         * gst/base/gstbasesrc.h:
28517         * gst/gstelement.c: (gst_element_pads_activate):
28518         Some more documentation.
28519         Fixed scheduling decision in _pads_activate().
28520
28521 2005-05-05  Andy Wingo  <wingo@pobox.com>
28522
28523         * check/pipelines/simple_launch_lines.c (test_2_elements): "Fix"
28524         the test suite.
28525
28526 2005-05-05  Wim Taymans  <wim@fluendo.com>
28527
28528         * gst/base/Makefile.am:
28529         * gst/base/gstbasesink.h:
28530         * gst/base/gstbasesrc.c: (gst_basesrc_init),
28531         (gst_basesrc_set_dataflow_funcs), (gst_basesrc_query):
28532         * gst/base/gstcollectpads.c: (gst_collectpads_get_type),
28533         (gst_collectpads_class_init), (gst_collectpads_init),
28534         (gst_collectpads_finalize), (gst_collectpads_new),
28535         (gst_collectpads_set_function), (gst_collectpads_add_pad),
28536         (find_pad), (gst_collectpads_remove_pad),
28537         (gst_collectpads_is_active), (gst_collectpads_collect),
28538         (gst_collectpads_collect_range), (gst_collectpads_start),
28539         (gst_collectpads_stop), (gst_collectpads_peek),
28540         (gst_collectpads_pop), (gst_collectpads_available),
28541         (gst_collectpads_read), (gst_collectpads_flush),
28542         (gst_collectpads_chain):
28543         * gst/base/gstcollectpads.h:
28544         * gst/elements/Makefile.am:
28545         * gst/elements/gstelements.c:
28546         * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
28547         (gst_fakesink_get_times), (gst_fakesink_event),
28548         (gst_fakesink_preroll), (gst_fakesink_render):
28549         * gst/elements/gstfilesink.c: (gst_filesink_class_init),
28550         (gst_filesink_init), (gst_filesink_set_location),
28551         (gst_filesink_open_file), (gst_filesink_close_file),
28552         (gst_filesink_pad_query), (gst_filesink_event),
28553         (gst_filesink_render), (gst_filesink_change_state):
28554         * gst/elements/gstfilesink.h:
28555         Added object to help in making collect pad based elements.
28556         Ported filesink.
28557         Make event function in sink baseclass return gboolean.
28558
28559 2005-05-05  Wim Taymans  <wim@fluendo.com>
28560
28561         * gst/gstbin.c: (gst_bin_send_event), (compare_name),
28562         (gst_bin_get_by_name):
28563         * gst/gstbuffer.h:
28564         * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_class_init),
28565         (gst_clock_finalize):
28566         * gst/gstdata.c: (gst_data_replace):
28567         * gst/gstdata.h:
28568         * gst/gstelement.c: (gst_element_request_pad),
28569         (gst_element_pads_activate):
28570         * gst/gstobject.c: (gst_object_init), (gst_object_ref),
28571         (gst_object_unref):
28572         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
28573         (gst_pad_set_checkgetrange_function),
28574         (gst_pad_link_check_compatible_unlocked), (gst_pad_set_caps),
28575         (gst_pad_check_pull_range), (gst_pad_pull_range),
28576         (gst_static_pad_template_get_caps), (gst_pad_start_task),
28577         (gst_pad_pause_task), (gst_pad_stop_task):
28578         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
28579         (gst_element_request_pad), (gst_pad_proxy_getcaps):
28580         Fix name lookup in GstBin.
28581         Added _data_replace() function and _buffer_replace()
28582         Use finalize method to clean up clock.
28583         Fix refcounting on request pads.
28584         Fix pad schedule mode error.
28585         Some more object refcounting debug info,
28586
28587
28588 2005-05-04  Andy Wingo <wingo@pobox.com>
28589
28590         * check/Makefile.am:
28591         * docs/gst/tmpl/gstatomic.sgml:
28592         * docs/gst/tmpl/gstplugin.sgml:
28593         * gst/base/gstbasesink.c: (gst_basesink_activate):
28594         * gst/base/gstbasesrc.c: (gst_basesrc_class_init),
28595         (gst_basesrc_init), (gst_basesrc_set_dataflow_funcs),
28596         (gst_basesrc_query), (gst_basesrc_set_property),
28597         (gst_basesrc_get_property), (gst_basesrc_check_get_range),
28598         (gst_basesrc_activate):
28599         * gst/base/gstbasesrc.h:
28600         * gst/base/gstbasetransform.c: (gst_base_transform_sink_activate),
28601         (gst_base_transform_src_activate):
28602         * gst/elements/gstelements.c:
28603         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
28604         (gst_fakesrc_set_property), (gst_fakesrc_get_property):
28605         * gst/elements/gsttee.c: (gst_tee_sink_activate):
28606         * gst/elements/gsttypefindelement.c: (find_element_get_length),
28607         (gst_type_find_element_checkgetrange),
28608         (gst_type_find_element_activate):
28609         * gst/gstbin.c: (gst_bin_save_thyself), (gst_bin_restore_thyself):
28610         * gst/gstcaps.c: (gst_caps_do_simplify), (gst_caps_save_thyself),
28611         (gst_caps_load_thyself):
28612         * gst/gstelement.c: (gst_element_pads_activate),
28613         (gst_element_save_thyself), (gst_element_restore_thyself):
28614         * gst/gstpad.c: (gst_pad_load_and_link), (gst_pad_save_thyself),
28615         (gst_ghost_pad_save_thyself), (gst_pad_check_pull_range):
28616         * gst/gstpad.h:
28617         * gst/gstxml.c: (gst_xml_write), (gst_xml_parse_doc),
28618         (gst_xml_parse_file), (gst_xml_parse_memory),
28619         (gst_xml_get_element), (gst_xml_make_element):
28620         * gst/indexers/gstfileindex.c: (gst_file_index_load),
28621         (_file_index_id_save_xml), (gst_file_index_commit):
28622         * gst/registries/gstlibxmlregistry.c: (read_string), (read_uint),
28623         (read_enum), (load_pad_template), (load_feature), (load_plugin),
28624         (load_paths):
28625         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_caps),
28626         (gst_dp_packet_from_event), (gst_dp_caps_from_packet):
28627         * tools/gst-complete.c: (main):
28628         * tools/gst-compprep.c: (main):
28629         * tools/gst-inspect.c: (print_element_properties_info):
28630         * tools/gst-launch.c: (xmllaunch_parse_cmdline):
28631         * tools/gst-xmlinspect.c: (print_element_properties):
28632         GCC 4 fixen.
28633         
28634 2005-05-03  Thomas Vander Stichele  <thomas at apestaart dot org>
28635
28636         * gst/gstplugin.c: (gst_plugin_check_module),
28637         (gst_plugin_check_file), (gst_plugin_load_file):
28638             apply patch from #172526 to make register work on MacOSX
28639
28640 2005-05-02  Thomas Vander Stichele  <thomas at apestaart dot org>
28641
28642         * docs/gst/tmpl/gstconfig.sgml:
28643         * gst/gstconfig.h.in:
28644           move documentation for some symbols.  Add doc for GST_PTR_FORMAT
28645         * testsuite/debug/printf_extension.c: (main):
28646           Do not use GST_PTR_FORMAT on pointers to types with
28647           sizeof < sizeof(gpointer).  Fixes test on 64-bit
28648         * testsuite/elements/property.h:
28649           use correct printf format
28650
28651 2005-05-02  Wim Taymans  <wim@fluendo.com>
28652
28653         * docs/design/draft-push-pull.txt:
28654         * docs/design/draft-query.txt:
28655         * gst/base/gstbasesrc.c: (gst_basesrc_get_range_unlocked),
28656         (gst_basesrc_start):
28657         Added draft for new query API.
28658         Added draft for better selecting scheduling methods.
28659         Make basesrc ignore length if the subclass does not support
28660         it.
28661
28662 2005-05-02  Thomas Vander Stichele  <thomas at apestaart dot org>
28663
28664         * gst/Makefile.am:
28665           possible fixes for automake-1.5 - _LIBADD is reserved
28666
28667 2005-05-02  Thomas Vander Stichele  <thomas at apestaart dot org>
28668
28669         * docs/faq/Makefile.am:
28670         * docs/manual/Makefile.am:
28671         * docs/manuals.mak:
28672         * docs/pwg/Makefile.am:
28673         * gst/Makefile.am:
28674           possible fixes for automake-1.5
28675
28676 2005-04-28  Wim Taymans  <wim@fluendo.com>
28677
28678         * gst/base/gstbasesink.c: (gst_basesink_base_init),
28679         (gst_basesink_pad_getcaps), (gst_basesink_init),
28680         (gst_basesink_do_sync):
28681         * gst/gstclock.c: (gst_clock_entry_new):
28682         * gst/gstevent.c: (gst_event_discont_get_value):
28683         * gst/gstpipeline.c: (pipeline_bus_handler),
28684         (gst_pipeline_change_state):
28685         * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
28686         Better debugging of clocking info.
28687         Allow NULL values when getting discont values.
28688
28689 2005-04-27  Wim Taymans  <wim@fluendo.com>
28690
28691         * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
28692         * check/gst/gstpad.c: (gst_pad_suite):
28693         Increase timeout for checks.
28694
28695 2005-04-27  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
28696
28697         * check/Makefile.am:
28698           fix the broken rule for cleanup.  Apparently this rule is
28699           only needed on FC2, so maybe this warrants further autotool
28700           inspection.
28701
28702 2005-04-26  Wim Taymans  <wim@fluendo.com>
28703
28704         * gst/gsttrashstack.h:
28705         Ooohh. a nasty one! After having a failed pop() from the stack,
28706         it's possible that the stack is empty. In that case, don't
28707         follow the NULL pointer.
28708
28709 2005-04-25  Wim Taymans  <wim@fluendo.com>
28710
28711         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
28712         (gst_pad_set_checkgetrange_function),
28713         (gst_pad_link_check_compatible_unlocked), (gst_pad_link_prepare),
28714         (gst_pad_check_pull_range), (gst_pad_pull_range),
28715         (gst_static_pad_template_get_caps), (gst_pad_start_task),
28716         (gst_pad_pause_task), (gst_pad_stop_task):
28717         * gst/gstplugin.c: (gst_plugin_load):
28718         * gst/gstplugin.h:
28719         Remove gst_library_load as it does more harm than good with
28720         the new g_module flags.
28721         Revert bogus caps template check in pad linking, pad caps
28722         are important when linking not the template, which is more
28723         general than the current caps.
28724
28725 2005-04-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
28726
28727         * gst/autoplug/.cvsignore:
28728         * gst/autoplug/Makefile.am:
28729         * gst/autoplug/gstsearchfuncs.c:
28730         * gst/autoplug/gstsearchfuncs.h:
28731         * gst/autoplug/gstspider.c:
28732         * gst/autoplug/gstspider.h:
28733         * gst/autoplug/gstspideridentity.c:
28734         * gst/autoplug/gstspideridentity.h:
28735         * gst/autoplug/spidertest.c:
28736           Die, spider, die.
28737
28738 2005-04-25  Wim Taymans  <wim@fluendo.com>
28739
28740         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
28741         (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
28742         (gst_pad_pull_range), (gst_static_pad_template_get_caps),
28743         (gst_pad_start_task), (gst_pad_pause_task), (gst_pad_stop_task):
28744         * gst/gstpad.h:
28745         Added stubs for unimplemented functions. 
28746
28747 2005-04-24  David Schleef  <ds@schleef.org>
28748
28749         * gst/gstpad.h: Disable some unimplemented functions.  Wim,
28750         please fix.
28751
28752 2005-04-24  David Schleef  <ds@schleef.org>
28753
28754         Convert everything from GstAtomicInt to g_atomic_int_*, and
28755         remove gstatomic.
28756         * gst/Makefile.am:
28757         * gst/gstatomic.c:
28758         * gst/gstatomic.h:
28759         * gst/gstatomic_impl.h:
28760         * gst/gstbuffer.c:
28761         * gst/gstcaps.c:
28762         * gst/gstcaps.h:
28763         * gst/gstclock.c:
28764         * gst/gstclock.h:
28765         * gst/gstdata.c:
28766         * gst/gstdata.h:
28767         * gst/gstdata_private.h:
28768         * gst/gstevent.c:
28769         * gst/gstinfo.c:
28770         * gst/gstinfo.h:
28771         * gst/gstmessage.c:
28772         * gst/gstobject.c:
28773         * gst/gstobject.h:
28774         * gst/gststructure.c:
28775         * gst/gststructure.h:
28776         * gst/gstutils.c: Add gst_atomic_int_set() compaitibility function.
28777         * gst/gstutils.h:
28778
28779 2005-04-24  David Schleef  <ds@schleef.org>
28780
28781         * check/gst/gstpad.c: (START_TEST): Oh yeah, it's always nice to
28782         make the regressions tests work.  Remove some code that is no
28783         longer true.
28784         * gst/gstpad.c: (gst_pad_link_check_templates_compatible_unlocked):
28785         Disable warning for pads without templates.
28786
28787 2005-04-24  David Schleef  <ds@schleef.org>
28788
28789         * gst/gstpad.c: Remove handling of filtered caps.  Fix/merge
28790         functions that handle filtered links.
28791         * gst/gstpad.h: Remove 'appfilter' field and prototypes of
28792         removed functions.
28793         * gst/gstutils.c: Fix/remove utility functions that handle
28794         filtered caps.
28795         * gst/gstutils.h:
28796         * gst/gstvalue.c: Add serialization/deserialization of caps
28797         * gst/parse/grammar.y: Ignore filtered caps when linking.  This
28798         requires fixing so that the filter caps notation creates
28799         a capsfilter element and sets the filter_caps property.  I
28800         think everyone probably wants to keep the shorthand notation.
28801         * docs/gst/tmpl/gstelement.sgml: updates for API changes.
28802         * docs/gst/tmpl/gstpad.sgml:
28803
28804         * gst/elements/gstelements.c: Register capsfilter element.
28805         * gst/Makefile.am: fix spacing
28806         * docs/random/ds/0.9-suggested-changes: random
28807
28808 2005-04-23  David Schleef  <ds@schleef.org>
28809
28810         * gst/elements/Makefile.am:
28811         * gst/elements/gstcapsfilter.c: New element that acts like an
28812         identity, but filters caps.  Will eventually replace filtered
28813         caps in pad linking.
28814         * gst/gstutils.c: (gst_element_create_all_pads): New function
28815         to create all the ALWAYS pads that are registered with an
28816         element class.  This functionality should eventually be
28817         merged in with GstElement initialization.
28818         * gst/gstutils.h:
28819         * testsuite/trigger/README: part of trigger test code that should
28820         have been checked in a long time ago.
28821
28822 2005-04-23  David Schleef  <ds@schleef.org>
28823
28824         * gst/Makefile.am: Remove as-libtool stuff.  It's likely not
28825         needed with new versions of libtool (nobody will confirm this),
28826         and hard to carry around.
28827         * gst/autoplug/Makefile.am:
28828         * gst/base/Makefile.am:
28829         * gst/elements/Makefile.am:
28830         * gst/indexers/Makefile.am:
28831         * gst/schedulers/Makefile.am:
28832         * libs/gst/bytestream/Makefile.am:
28833         * libs/gst/control/Makefile.am:
28834         * libs/gst/dataprotocol/Makefile.am:
28835         * libs/gst/getbits/Makefile.am:
28836
28837 2005-04-21  Wim Taymans  <wim@fluendo.com>
28838
28839         * docs/design/draft-push-pull.txt:
28840         * docs/design/part-MT-refcounting.txt:
28841         * docs/design/part-TODO.txt:
28842         * docs/design/part-caps.txt:
28843         * docs/design/part-events.txt:
28844         * docs/design/part-gstbus.txt:
28845         * docs/design/part-gstpipeline.txt:
28846         * docs/design/part-messages.txt:
28847         * docs/design/part-push-pull.txt:
28848         * docs/design/part-query.txt:
28849         Some more docs.
28850
28851 2005-04-21  Wim Taymans  <wim@fluendo.com>
28852
28853         * gst/gstmessage.c: (_gst_message_copy), (_gst_message_free),
28854         (gst_message_new), (gst_message_new_error),
28855         (gst_message_new_warning), (gst_message_new_tag),
28856         (gst_message_new_state_changed), (gst_message_new_application),
28857         (gst_message_get_structure):
28858         * gst/gstmessage.h:
28859         * gst/gststructure.c: (gst_structure_set_parent_refcount),
28860         (gst_structure_copy_conditional):
28861         Use parent refcount in GstMessage to ensure GstStructure
28862         consistency.
28863         Cleaned up headers a bit.
28864         
28865
28866 2005-04-20  Wim Taymans  <wim@fluendo.com>
28867
28868         * gst/base/gstbasesink.c: (gst_basesink_base_init),
28869         (gst_basesink_pad_getcaps), (gst_basesink_init),
28870         (gst_basesink_chain_unlocked):
28871         * gst/base/gsttypefindhelper.c: (helper_find_suggest),
28872         (gst_type_find_helper):
28873         * gst/elements/gsttypefindelement.c:
28874         (gst_type_find_element_have_type), (gst_type_find_element_init),
28875         (stop_typefinding), (gst_type_find_element_handle_event),
28876         (find_suggest), (gst_type_find_element_chain),
28877         (gst_type_find_element_checkgetrange),
28878         (gst_type_find_element_getrange), (do_typefind),
28879         (gst_type_find_element_activate):
28880         * gst/gstbuffer.c: (_gst_buffer_sub_free),
28881         (gst_buffer_default_free), (gst_buffer_default_copy),
28882         (gst_buffer_set_caps):
28883         * gst/gstcaps.c: (gst_caps_ref), (gst_caps_unref),
28884         (gst_caps_replace):
28885         * gst/gstmessage.c: (gst_message_new),
28886         (gst_message_new_state_changed):
28887         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
28888         (gst_pad_set_checkgetrange_function),
28889         (gst_pad_link_prepare_filtered), (gst_pad_relink_filtered),
28890         (gst_pad_set_caps), (gst_pad_check_pull_range),
28891         (gst_pad_pull_range), (gst_static_pad_template_get_caps):
28892         * gst/gstpad.h:
28893         * gst/gsttypefind.c: (gst_type_find_register):
28894         Make gst_caps_replace() work like other _replace() functions.
28895         Use _caps_replace() where possible.
28896         Make sure _message_new() initialises its field.
28897         Add gst_static_pad_template_get_caps()
28898
28899
28900 2005-04-18  Andy Wingo  <wingo@pobox.com>
28901
28902         * gst/gstelement.c (gst_element_pads_activate): Check pull_range
28903         on the peer, not the pad. I think that was a typo. Pass an extra
28904         arg to see if random access is possible. Activate the pads as
28905         PULL_RANGE if possible.
28906
28907         * gst/elements/gstfakesrc.c: s/ARG_/PROP_/.
28908
28909         * gst/base/gstbasesrc.c (gst_basesrc_set_property) 
28910         (gst_basesrc_get_property): BLOCKSIZE is a ULONG. Rename ARG_...
28911         to PROP_....
28912
28913 2005-04-14  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
28914
28915         * docs/faq/using.xml:
28916           Add note on gstreamer-properties (#154996).
28917
28918 2005-04-13  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
28919
28920         * docs/random/bbb/optional-properties:
28921           Some analysis on optional properties.
28922
28923 2005-04-12  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
28924
28925         * docs/gst/tmpl/gstelementfactory.sgml:
28926         * gst/gstelement.h:
28927         * gst/gstelementfactory.c: (gst_element_factory_init),
28928         (gst_element_factory_cleanup), (gst_element_register),
28929         (__gst_element_factory_add_static_pad_template),
28930         (gst_element_factory_get_static_pad_templates),
28931         (gst_element_factory_can_src_caps),
28932         (gst_element_factory_can_sink_caps):
28933         * gst/registries/Makefile.am:
28934         * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_get_type),
28935         (gst_xml_registry_class_init), (gst_xml_registry_init),
28936         (gst_xml_registry_new), (gst_xml_registry_set_property),
28937         (gst_xml_registry_get_property), (get_time), (make_dir),
28938         (gst_xml_registry_get_perms_func),
28939         (plugin_times_older_than_recurse), (plugin_times_older_than),
28940         (gst_xml_registry_open_func), (gst_xml_registry_load_func),
28941         (gst_xml_registry_save_func), (gst_xml_registry_close_func),
28942         (add_to_char_array), (read_string), (read_uint), (read_enum),
28943         (load_pad_template), (load_feature), (load_plugin), (load_paths),
28944         (gst_xml_registry_load), (gst_xml_registry_load_plugin),
28945         (gst_xml_registry_save_caps), (gst_xml_registry_save_pad_template),
28946         (gst_xml_registry_save_feature), (gst_xml_registry_save_plugin),
28947         (gst_xml_registry_save), (gst_xml_registry_rebuild_recurse),
28948         (gst_xml_registry_rebuild):
28949         * gst/registries/gstlibxmlregistry.h:
28950         * tools/gst-compprep.c: (main):
28951         * tools/gst-inspect.c: (print_pad_templates_info):
28952         * tools/gst-xmlinspect.c: (print_element_info):
28953           Use libxml2 for registry parsing, use staticpadtemplates in
28954           elementfactories. Makes gst_init() +/- 10x faster.
28955
28956 2005-04-12  Wim Taymans  <wim@fluendo.com>
28957
28958         * gst/base/Makefile.am:
28959         * gst/base/gstbasesink.c: (gst_basesink_base_init),
28960         (gst_basesink_pad_getcaps), (gst_basesink_init),
28961         (gst_basesink_event), (gst_basesink_change_state):
28962         * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
28963         (gst_basesrc_init), (gst_basesrc_query),
28964         (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
28965         (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
28966         (gst_basesrc_check_get_range), (gst_basesrc_loop),
28967         (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
28968         (gst_basesrc_stop), (gst_basesrc_activate),
28969         (gst_basesrc_change_state):
28970         * gst/base/gsttypefindhelper.c: (helper_find_peek),
28971         (helper_find_suggest), (gst_type_find_helper):
28972         * gst/base/gsttypefindhelper.h:
28973         * gst/elements/Makefile.am:
28974         * gst/elements/gstelements.c:
28975         * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
28976         (gst_fakesink_get_times), (gst_fakesink_event),
28977         (gst_fakesink_preroll), (gst_fakesink_render):
28978         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
28979         (gst_fakesrc_init), (gst_fakesrc_event_handler),
28980         (gst_fakesrc_get_property), (gst_fakesrc_create),
28981         (gst_fakesrc_start), (gst_fakesrc_stop):
28982         * gst/elements/gstfakesrc.h:
28983         * gst/elements/gstfilesrc.c: (gst_filesrc_class_init),
28984         (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
28985         (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
28986         (gst_filesrc_create_read), (gst_filesrc_create),
28987         (gst_filesrc_is_seekable), (gst_filesrc_get_size),
28988         (gst_filesrc_start):
28989         * gst/elements/gsttypefindelement.c:
28990         (gst_type_find_element_have_type), (gst_type_find_element_init),
28991         (start_typefinding), (stop_typefinding), (push_buffer_store),
28992         (gst_type_find_element_handle_event),
28993         (gst_type_find_element_chain),
28994         (gst_type_find_element_checkgetrange),
28995         (gst_type_find_element_getrange), (do_typefind),
28996         (gst_type_find_element_activate),
28997         (gst_type_find_element_change_state):
28998         * gst/elements/gsttypefindelement.h:
28999         * gst/gstpipeline.c: (pipeline_bus_handler):
29000         Added typefind helper.
29001         Small preroll fix in the base sink.
29002         Disable typefind code in basesrc.
29003         Crude port of typefindelement.
29004         Fakesrc cleanups.
29005
29006
29007 2005-04-11  Wim Taymans  <wim@fluendo.com>
29008
29009         * check/gst/gstbus.c: (gstbus_suite):
29010         * check/gst/gstdata.c: (thread_ref), (gst_data_suite):
29011         * check/gstcheck.h:
29012           Fix up the timeout so that the test does not fail.
29013
29014 2005-04-06  Wim Taymans  <wim@fluendo.com>
29015
29016         * gst/base/README:
29017         * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
29018         (gst_basesrc_init), (gst_basesrc_get_formats), (gst_basesrc_query),
29019         (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
29020         (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
29021         (gst_basesrc_check_get_range), (gst_basesrc_loop),
29022         (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
29023         (gst_basesrc_stop), (gst_basesrc_activate),
29024         (gst_basesrc_change_state), (basesrc_find_peek),
29025         (basesrc_find_suggest), (gst_basesrc_type_find):
29026         * gst/base/gstbasesrc.h:
29027         * gst/elements/gstfilesrc.c: (gst_filesrc_base_init),
29028         (gst_filesrc_class_init), (gst_filesrc_init),
29029         (gst_filesrc_finalize), (gst_filesrc_set_location),
29030         (gst_filesrc_set_property), (gst_filesrc_get_property),
29031         (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
29032         (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
29033         (gst_filesrc_create_read), (gst_filesrc_create),
29034         (gst_filesrc_get_size), (gst_filesrc_start), (gst_filesrc_stop):
29035         * gst/elements/gstfilesrc.h:
29036         * gst/gstelement.c: (gst_element_get_state_func),
29037         (gst_element_lost_state), (gst_element_pads_activate):
29038         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
29039         (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
29040         (gst_pad_pull_range):
29041         * gst/gstpad.h:
29042         More work on the generic source base class, implement seeking,
29043         query.
29044         Make filesrc extend the base source class.
29045         Added gst_pad_set_checkgetrange_function to GstPad.
29046
29047 2005-04-06  Andy Wingo  <wingo@pobox.com>
29048
29049         * pkgconfig/gstreamer-base.pc.in:
29050         * pkgconfig/gstreamer-base-uninstalled.pc.in: New files.
29051
29052         * pkgconfig/Makefile.am:
29053         * configure.ac (AC_OUTPUT): Add gstreamer-base pkgconfig files.
29054
29055 2005-04-04  Wim Taymans  <wim@fluendo.com>
29056
29057         * gst/base/Makefile.am:
29058         * gst/base/README:
29059         * gst/base/gstbasesink.c: (gst_basesink_base_init),
29060         (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
29061         (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
29062         (gst_basesink_do_sync), (gst_basesink_chain_unlocked):
29063         * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
29064         (gst_basesrc_base_init), (gst_basesrc_class_init),
29065         (gst_basesrc_init), (gst_basesrc_get_formats),
29066         (gst_basesrc_get_query_types), (gst_basesrc_query),
29067         (gst_basesrc_get_event_mask), (gst_basesrc_event_handler),
29068         (gst_basesrc_set_property), (gst_basesrc_get_property),
29069         (gst_basesrc_get_range_unlocked), (gst_basesrc_get_range),
29070         (gst_basesrc_loop), (gst_basesrc_activate),
29071         (gst_basesrc_change_state):
29072         * gst/base/gstbasesrc.h:
29073         * gst/elements/gstfakesrc.c: (gst_fakesrc_base_init),
29074         (gst_fakesrc_class_init), (gst_fakesrc_init),
29075         (gst_fakesrc_event_handler), (gst_fakesrc_set_property),
29076         (gst_fakesrc_get_property), (gst_fakesrc_create):
29077         * gst/elements/gstfakesrc.h:
29078         * gst/elements/gstfilesrc.c: (gst_filesrc_getrange),
29079         (gst_filesrc_open_file), (gst_filesrc_loop),
29080         (gst_filesrc_activate), (filesrc_find_peek),
29081         (gst_filesrc_type_find):
29082         Made base source class, make fakesrc extend it.
29083         Add comments to basesink class.
29084         Some filesrc cleanup.
29085
29086 2005-03-31  David Schleef  <ds@schleef.org>
29087
29088         * gst/gstplugin.c: (gst_plugin_check_file), (gst_plugin_load_file):
29089         Switch to using G_MODULE_BIND_LOCAL, which means plugins are now
29090         expected to link against libgstreamer.
29091         * gst/base/Makefile.am: link against libgstreamer
29092         * gst/elements/Makefile.am: same
29093
29094 2005-03-31  Andy Wingo  <wingo@pobox.com>
29095
29096         * tests/instantiate/Makefile.am:
29097         * tests/instantiate/caps.c: Add test to test speed of caps copy
29098         and free.
29099
29100         * tests/memchunk/gmemchunktest.c (main): Use alloc only on the
29101         GMemChunk to be fair.
29102
29103         * gst/gsttrashstack.h: Remove warning about using the fallback
29104         trash stack implementation, it's still faster than malloc.
29105
29106 2005-03-30  Andy Wingo  <wingo@pobox.com>
29107
29108         * tests/complexity.c: Add a copyright.
29109
29110 2005-03-31  Wim Taymans  <wim@fluendo.com>
29111
29112         * gst/base/gstbasetransform.c: (gst_base_transform_base_init),
29113         (gst_base_transform_class_init), (gst_base_transform_init),
29114         (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
29115         (gst_base_transform_get_property),
29116         (gst_base_transform_sink_activate),
29117         (gst_base_transform_src_activate),
29118         (gst_base_transform_change_state):
29119         * gst/base/gstbasetransform.h:
29120         * gst/elements/gstidentity.c: (gst_identity_class_init),
29121         (gst_identity_event), (gst_identity_check_perfect),
29122         (gst_identity_transform), (gst_identity_start),
29123         (gst_identity_stop):
29124         Added start/stop methods to transform base class so subclasses 
29125         don't need to deal with state changes even.
29126
29127 2005-03-31  Wim Taymans  <wim@fluendo.com>
29128
29129         * gst/gstevent.c: (gst_event_new_discontinuous_valist),
29130         (gst_event_new_discontinuous), (gst_event_discont_get_value):
29131         * gst/gstevent.h:
29132         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
29133         (gst_pad_pull_range):
29134         Added rate to the discont event to prepare for variable speed
29135         and reverse playback.
29136
29137 2005-03-29  David Schleef  <ds@schleef.org>
29138
29139         * configure.ac:
29140         * testsuite/trigger/Makefile.am:
29141         * testsuite/trigger/trigger.c: A little example program to show
29142         how trigger-based elements can work.
29143
29144 2005-03-29  Wim Taymans  <wim@fluendo.com>
29145
29146         * gst/base/Makefile.am:
29147         * gst/base/README:
29148         * gst/base/gstbasesink.c: (gst_basesink_get_type),
29149         (gst_basesink_base_init), (gst_basesink_class_init),
29150         (gst_basesink_pad_getcaps), (gst_basesink_init),
29151         (gst_basesink_activate), (gst_basesink_change_state):
29152         * gst/base/gstbasesink.h:
29153         * gst/base/gstbasetransform.c: (gst_base_transform_get_type),
29154         (gst_base_transform_base_init), (gst_base_transform_finalize),
29155         (gst_base_transform_class_init), (gst_base_transform_init),
29156         (gst_base_transform_proxy_getcaps), (gst_base_transform_setcaps),
29157         (gst_base_transform_event), (gst_base_transform_getrange),
29158         (gst_base_transform_chain), (gst_base_transform_handle_buffer),
29159         (gst_base_transform_set_property),
29160         (gst_base_transform_get_property),
29161         (gst_base_transform_sink_activate),
29162         (gst_base_transform_src_activate),
29163         (gst_base_transform_change_state):
29164         * gst/base/gstbasetransform.h:
29165         * gst/elements/gstidentity.c: (gst_identity_finalize),
29166         (gst_identity_class_init), (gst_identity_init),
29167         (gst_identity_event), (gst_identity_check_perfect),
29168         (gst_identity_transform), (gst_identity_set_property),
29169         (gst_identity_get_property), (gst_identity_change_state):
29170         * gst/elements/gstidentity.h:
29171         * gst/gstelement.c: (gst_element_get_state_func),
29172         (gst_element_lost_state), (gst_element_pads_activate):
29173         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
29174         (gst_pad_check_pull_range), (gst_pad_pull_range):
29175         * gst/gstpad.h:
29176         Simplify pad activation.
29177         Added function to check if pull_range can be performed.
29178         Error out when pulling inactive or flushing pads.
29179         Removed const from refcounted types as it does not make sense.
29180         Simplify pad templates in basesink
29181         Added base class for simple 1-to-1 transforms.
29182         Make identity subclass the base transform.
29183
29184 2005-03-29  Andy Wingo  <wingo@pobox.com>
29185
29186         * docs/libs/gstreamer-libs-overrides.txt: 
29187         * docs/gst/gstreamer-overrides.txt: Add these files to CVS. Now I
29188         really don't understand what's going on, but like whatever. I want
29189         green buildbot!
29190
29191         * docs/gst/Makefile.am:
29192         * docs/libs/Makefile.am: Dist the overrides files.
29193
29194         * check/Makefile.am (clean-local): Remove .libs directories.
29195
29196         * gst/elements/Makefile.am (EXTRA_DIST): Add all the attic
29197         elements to EXTRA_DIST, so po/ files are happy.
29198
29199         * po/POTFILES.in: Er, remove it here.
29200
29201         * po/POTFILES: Remove gstspider.c.
29202
29203         * configure.ac (AC_OUTPUT): Add missing testsuite makefiles.
29204
29205         * docs/libs/gstreamer-libs-docs.sgml: 
29206         * docs/libs/gstreamer-libs-sections.txt: Remove the section on
29207         bytestream.
29208
29209         * tests/complexity.c (main): Set the length of the preroll queue
29210         on the sinks to prevent a lockup.
29211
29212         * libs/gst/dataprotocol/Makefile.am: 
29213         * libs/gst/dataprotocol/dataprotocol-test.c: Remove test, it's
29214         the same as the one in check/gst-libs/gdp.c.
29215
29216         * po/, docs/gst/: Commit automatic changes to docs and po files.
29217
29218         * gst/elements/Makefile.am (libgstelements_la_LDFLAGS): Link to
29219         the versioned libgstbase.
29220
29221         * check/Makefile.am: Depend on an unversioned gst-register, seems
29222         to make autoconf happier.
29223
29224         * gst/base/Makefile.am: Make libgstbase a versioned lib.
29225
29226 2005-03-28  Wim Taymans  <wim@fluendo.com>
29227
29228         * configure.ac:
29229         * docs/design/part-gstelement.txt:
29230         * docs/design/part-negotiation.txt:
29231         * docs/design/part-preroll.txt:
29232         * docs/design/part-scheduling.txt:
29233         * docs/design/part-states.txt:
29234         * gst/Makefile.am:
29235         * gst/base/Makefile.am:
29236         * gst/base/README:
29237         * gst/base/gstbasesink.c: (gst_basesink_get_template),
29238         (gst_basesink_base_init), (gst_basesink_class_init),
29239         (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
29240         (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
29241         (gst_basesink_set_pad_functions),
29242         (gst_basesink_set_all_pad_functions), (gst_basesink_set_clock),
29243         (gst_basesink_set_property), (gst_basesink_get_property),
29244         (gst_base_sink_get_template), (gst_base_sink_get_caps),
29245         (gst_base_sink_set_caps), (gst_base_sink_buffer_alloc),
29246         (gst_basesink_preroll_queue_push),
29247         (gst_basesink_preroll_queue_empty),
29248         (gst_basesink_preroll_queue_flush), (gst_basesink_finish_preroll),
29249         (gst_basesink_event), (gst_basesink_get_times),
29250         (gst_basesink_do_sync), (gst_basesink_handle_buffer),
29251         (gst_basesink_chain_unlocked), (gst_basesink_chain),
29252         (gst_basesink_loop), (gst_basesink_activate),
29253         (gst_basesink_change_state):
29254         * gst/base/gstbasesink.h:
29255         * gst/elements/Makefile.am:
29256         * gst/elements/gstfakesink.c: (gst_fakesink_base_init),
29257         (gst_fakesink_class_init), (gst_fakesink_init),
29258         (gst_fakesink_set_property), (gst_fakesink_get_property),
29259         (gst_fakesink_get_times), (gst_fakesink_event),
29260         (gst_fakesink_preroll), (gst_fakesink_render),
29261         (gst_fakesink_change_state):
29262         * gst/elements/gstfakesink.h:
29263         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
29264         (gst_bin_get_state), (gst_bin_change_state), (gst_bin_send_event):
29265         * gst/gstelement.c: (gst_element_add_pad),
29266         (gst_element_get_state_func), (gst_element_abort_state),
29267         (gst_element_commit_state), (gst_element_lost_state),
29268         (gst_element_set_state), (gst_element_pads_activate):
29269         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_event_default):
29270         * gst/gstpipeline.c: (gst_pipeline_send_event),
29271         (gst_pipeline_change_state):
29272         Added state change code.
29273         Added/updated docs.
29274         Added sink base class, make fakesink extend the base class.
29275         Small cleanups in GstPipeline.
29276
29277 2005-03-26  David Schleef  <ds@schleef.org>
29278
29279         * gst/Makefile.am: remove gstcpu.[ch].  The gst_cpu functionality
29280         is broken and should be implemented in a different library.
29281         * gst/gst.c: (init_post): don't call _gst_cpu_initialize()
29282         * gst/gst.h: remove gstcpu.h
29283         * gst/gstcpu.c: remove
29284         * gst/gstcpu.h: remove
29285         * gst/Makefile.am.future: Remove this file.  It's ancient.
29286
29287 2005-03-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
29288
29289         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
29290         (gst_bin_send_event):
29291           Add default event/set_manager handlers. The set_manager handler
29292           takes care that the manager is distributed over kids that were
29293           already in the bin before the manager was set. The event handler
29294           is a utility virtual function that sends the event over all sinks,
29295           so that gst_element_send_event (bin, event); has the expected
29296           behaviour.
29297         * gst/gstpad.c: (gst_pad_event_default):
29298           Re-install default event handling for discontinuities, so that
29299           seeking works without requiring hacks in applications or extra
29300           code in sinks.
29301         * gst/gstpipeline.c: (gst_pipeline_class_init),
29302         (gst_pipeline_send_event):
29303           Half hack, half utility: set a pipeline to PAUSED for seek events,
29304           since that is the only way we can guarantee a/v sync. Means that
29305           you can do gst_element_seek (pipeline, method, pos); on a pipeline
29306           and it "just works".
29307
29308 2005-03-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
29309
29310         * gst/gstpipeline.c: (gst_pipeline_use_clock):
29311           Lock/unlock mismatch.
29312
29313 2005-03-25  Thomas Vander Stichele  <thomas at apestaart dot org>
29314
29315         * docs/faq/gst-uninstalled:
29316           add gst-plugins-base
29317         * docs/gst/Makefile.am:
29318           don't error out until docs are fixed
29319         * docs/gst/gstreamer.types:
29320           remove thread
29321
29322 2005-03-22  Wim Taymans  <wim@fluendo.com>
29323
29324         * check/Makefile.am:
29325         * check/gst/gstmessage.c: (START_TEST), (gst_data_suite), (main):
29326         * gst/gststructure.c: (gst_structure_set_valist),
29327         (gst_structure_copy_conditional):
29328         Activated more tests.
29329         Added message test.
29330         Added G_TYPE_POINTER to GstStructure.
29331         
29332
29333 2005-03-22  Wim Taymans  <wim@fluendo.com>
29334
29335         * docs/design/part-TODO.txt:
29336         * docs/design/part-events.txt:
29337         * docs/design/part-gstbin.txt:
29338         * docs/design/part-gstbus.txt:
29339         * docs/design/part-gstpipeline.txt:
29340         * docs/design/part-messages.txt:
29341         * gst/gstbus.c:
29342         * gst/gstmessage.c:
29343         Docs updates
29344
29345 2005-03-21  Wim Taymans  <wim@fluendo.com>
29346
29347         * gst/gstbus.c: (gst_bus_post):
29348         Fix copy-and-paste error.
29349
29350 2005-03-21  Wim Taymans  <wim@fluendo.com>
29351
29352         * check/Makefile.am:
29353         * gst/Makefile.am:
29354         * gst/elements/Makefile.am:
29355         * gst/elements/gstelements.c:
29356         * gst/elements/gstfakesink.c: (gst_fakesink_init),
29357         (gst_fakesink_event), (gst_fakesink_chain):
29358         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
29359         (gst_fakesrc_init), (gst_fakesrc_get_event_mask),
29360         (gst_fakesrc_event_handler), (gst_fakesrc_set_pad_functions),
29361         (gst_fakesrc_set_all_pad_functions), (gst_fakesrc_request_new_pad),
29362         (gst_fakesrc_set_property), (gst_fakesrc_get_property),
29363         (gst_fakesrc_get_range_unlocked), (gst_fakesrc_get_range),
29364         (gst_fakesrc_loop), (gst_fakesrc_activate),
29365         (gst_fakesrc_change_state):
29366         * gst/elements/gstfakesrc.h:
29367         * gst/elements/gstfilesrc.c: (gst_filesrc_init),
29368         (gst_filesrc_get_read), (gst_filesrc_getrange), (gst_filesrc_get),
29369         (gst_filesrc_open_file), (gst_filesrc_loop),
29370         (gst_filesrc_activate), (gst_filesrc_change_state),
29371         (filesrc_find_peek), (filesrc_find_suggest),
29372         (gst_filesrc_type_find):
29373         * gst/elements/gstidentity.c: (gst_identity_finalize),
29374         (gst_identity_class_init), (gst_identity_init),
29375         (gst_identity_proxy_getcaps), (identity_queue_push),
29376         (identity_queue_pop), (identity_queue_flush), (gst_identity_event),
29377         (gst_identity_getrange), (gst_identity_chain),
29378         (gst_identity_sink_loop), (gst_identity_src_loop),
29379         (gst_identity_handle_buffer), (gst_identity_set_dataflow_funcs),
29380         (gst_identity_set_property), (gst_identity_get_property),
29381         (gst_identity_change_state):
29382         * gst/elements/gstidentity.h:
29383         * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_init),
29384         (gst_tee_update_pad_functions), (gst_tee_request_new_pad),
29385         (gst_tee_set_property), (gst_tee_get_property), (gst_tee_do_push),
29386         (gst_tee_handle_buffer), (gst_tee_chain), (gst_tee_loop),
29387         (gst_tee_sink_activate):
29388         * gst/elements/gsttee.h:
29389         * gst/gst.c: (gst_register_core_elements), (init_post):
29390         * gst/gst.h:
29391         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_bus),
29392         (gst_bin_set_scheduler), (gst_bin_add_func), (gst_bin_add),
29393         (gst_bin_remove_func), (gst_bin_remove), (gst_bin_get_state),
29394         (gst_bin_change_state):
29395         * gst/gstbin.h:
29396         * gst/gstbus.c: (gst_bus_get_type), (gst_bus_class_init),
29397         (gst_bus_init), (gst_bus_dispose), (gst_bus_set_property),
29398         (gst_bus_get_property), (gst_bus_new), (gst_bus_post),
29399         (gst_bus_have_pending), (gst_bus_pop), (gst_bus_peek),
29400         (gst_bus_set_sync_handler), (gst_bus_create_watch),
29401         (bus_watch_callback), (bus_watch_destroy),
29402         (gst_bus_add_watch_full), (gst_bus_add_watch), (poll_handler),
29403         (poll_timeout), (gst_bus_poll):
29404         * gst/gstbus.h:
29405         * gst/gstcaps.h:
29406         * gst/gstdata.h:
29407         * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
29408         (gst_element_post_message), (gst_element_message_full),
29409         (gst_element_get_state_func), (gst_element_get_state),
29410         (gst_element_abort_state), (gst_element_commit_state),
29411         (gst_element_lost_state), (gst_element_set_state),
29412         (gst_element_pads_activate), (gst_element_change_state),
29413         (gst_element_dispose), (gst_element_set_manager_func),
29414         (gst_element_set_bus_func), (gst_element_set_scheduler_func),
29415         (gst_element_set_manager), (gst_element_get_manager),
29416         (gst_element_set_bus), (gst_element_get_bus),
29417         (gst_element_set_scheduler), (gst_element_get_scheduler):
29418         * gst/gstelement.h:
29419         * gst/gstevent.c: (gst_event_new_segment_seek),
29420         (gst_event_new_flush):
29421         * gst/gstevent.h:
29422         * gst/gstmessage.c: (_gst_message_initialize), (_gst_message_copy),
29423         (_gst_message_free), (gst_message_get_type), (gst_message_new),
29424         (gst_message_new_eos), (gst_message_new_error),
29425         (gst_message_new_warning), (gst_message_new_tag),
29426         (gst_message_new_state_changed), (gst_message_new_application),
29427         (gst_message_get_structure), (gst_message_parse_tag),
29428         (gst_message_parse_state_changed), (gst_message_parse_error),
29429         (gst_message_parse_warning):
29430         * gst/gstmessage.h:
29431         * gst/gstpad.c: (gst_real_pad_class_init), (gst_real_pad_init),
29432         (gst_real_pad_set_property), (gst_pad_set_active),
29433         (gst_pad_is_active), (gst_pad_set_blocked_async),
29434         (gst_pad_set_blocked), (gst_pad_is_blocked),
29435         (gst_pad_set_activate_function), (gst_pad_set_loop_function),
29436         (gst_pad_set_getrange_function), (gst_pad_set_acceptcaps_function),
29437         (gst_pad_set_fixatecaps_function), (gst_pad_set_setcaps_function),
29438         (gst_pad_unlink), (gst_pad_link_prepare_filtered),
29439         (gst_pad_link_filtered), (gst_pad_relink_filtered),
29440         (gst_real_pad_get_caps_unlocked), (gst_pad_get_caps),
29441         (gst_pad_peer_get_caps), (gst_pad_fixate_caps),
29442         (gst_pad_accept_caps), (gst_pad_peer_accept_caps),
29443         (gst_pad_set_caps), (gst_pad_configure_sink),
29444         (gst_pad_configure_src), (gst_pad_get_negotiated_caps),
29445         (gst_pad_get_filter_caps), (gst_pad_alloc_buffer),
29446         (gst_real_pad_dispose), (gst_real_pad_finalize),
29447         (handle_pad_block), (gst_pad_push), (gst_pad_pull_range),
29448         (gst_pad_event_default_dispatch), (gst_pad_event_default),
29449         (gst_pad_push_event), (gst_pad_send_event), (gst_pad_get_formats):
29450         * gst/gstpad.h:
29451         * gst/gstpipeline.c: (gst_pipeline_init), (is_eos),
29452         (pipeline_bus_handler), (gst_pipeline_change_state),
29453         (gst_pipeline_get_scheduler), (gst_pipeline_get_bus):
29454         * gst/gstpipeline.h:
29455         * gst/gstprobe.h:
29456         * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
29457         (gst_queue_finalize), (gst_queue_getcaps), (gst_queue_link_sink),
29458         (gst_queue_link_src), (gst_queue_bufferalloc),
29459         (gst_queue_locked_flush), (gst_queue_handle_sink_event),
29460         (gst_queue_is_empty), (gst_queue_is_filled), (gst_queue_chain),
29461         (gst_queue_loop), (gst_queue_handle_src_event),
29462         (gst_queue_handle_src_query), (gst_queue_src_activate),
29463         (gst_queue_change_state):
29464         * gst/gstqueue.h:
29465         * gst/gstscheduler.c: (gst_scheduler_init),
29466         (gst_scheduler_dispose), (gst_scheduler_create_task),
29467         (gst_scheduler_factory_create):
29468         * gst/gstscheduler.h:
29469         * gst/gststructure.c: (gst_structure_get_type),
29470         (gst_structure_copy_conditional):
29471         * gst/gststructure.h:
29472         * gst/gsttaginterface.h:
29473         * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
29474         (gst_task_init), (gst_task_dispose), (gst_task_create),
29475         (gst_task_get_state), (gst_task_start), (gst_task_stop),
29476         (gst_task_pause):
29477         * gst/gsttask.h:
29478         * gst/gstthread.c:
29479         * gst/gstthread.h:
29480         * gst/gsttypes.h:
29481         * gst/schedulers/Makefile.am:
29482         * gst/schedulers/cothreads_compat.h:
29483         * gst/schedulers/entryscheduler.c:
29484         * gst/schedulers/faircothreads.c:
29485         * gst/schedulers/faircothreads.h:
29486         * gst/schedulers/fairscheduler.c:
29487         * gst/schedulers/gstbasicscheduler.c:
29488         * gst/schedulers/gstoptimalscheduler.c:
29489         * gst/schedulers/gthread-cothreads.h:
29490         * gst/schedulers/threadscheduler.c:
29491         (gst_thread_scheduler_task_get_type),
29492         (gst_thread_scheduler_task_class_init),
29493         (gst_thread_scheduler_task_init),
29494         (gst_thread_scheduler_task_start),
29495         (gst_thread_scheduler_task_stop),
29496         (gst_thread_scheduler_task_pause), (gst_thread_scheduler_get_type),
29497         (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
29498         (gst_thread_scheduler_init), (gst_thread_scheduler_create_task),
29499         (gst_thread_scheduler_setup), (gst_thread_scheduler_reset),
29500         (plugin_init):
29501         * libs/gst/Makefile.am:
29502         * libs/gst/bytestream/bytestream.c: (gst_bytestream_get_next_buf):
29503         * libs/gst/bytestream/filepad.c: (gst_file_pad_init),
29504         (gst_file_pad_parent_set):
29505         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
29506         (gst_dp_event_from_packet):
29507         * tests/complexity.c: (main):
29508         * tests/mass_elements.c: (main):
29509         * testsuite/states/locked.c: (message_received), (main):
29510         * testsuite/states/parent.c: (main):
29511         * tools/gst-inspect.c: (print_element_flag_info),
29512         (print_implementation_info), (print_pad_info):
29513         * tools/gst-launch.c: (check_intr), (play_handler), (event_loop),
29514         (main):
29515         * tools/gst-md5sum.c: (event_loop), (main):
29516         * tools/gst-typefind.c: (main):
29517         * tools/gst-xmlinspect.c: (print_element_info):
29518         Next big merge.
29519         Added GstBus for mainloop integration.
29520         Added GstMessage for sending notifications on the bus.
29521         Added GstTask as an abstraction for pipeline entry points.
29522         Removed GstThread.
29523         Removed Schedulers.
29524         Simplified GstQueue for multithreaded core.
29525         Made _link threadsafe, removed old capsnego.
29526         Added STREAM_LOCK and PREROLL_LOCK in GstPad.
29527         Added pad blocking functions.
29528         Reworked scheduling functions in GstPad to prepare for
29529         scheduling updates soon.
29530         Moved events out of data stream.
29531         Simplified GstEvent types.
29532         Added return values to push/pull.
29533         Removed clocking from GstElement.
29534         Added prototypes for state change function for next merge.
29535         Removed iterate from bins and state change management.
29536         Fixed some elements, disabled others for now.
29537         Fixed -inspect and -launch.
29538         Added check for GstBus.
29539
29540 2005-03-10  Wim Taymans  <wim@fluendo.com>
29541
29542         * docs/design/part-MT-refcounting.txt:
29543         * docs/design/part-clocks.txt:
29544         * docs/design/part-gstelement.txt:
29545         * docs/design/part-gstobject.txt:
29546         * docs/design/part-standards.txt:
29547         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
29548         (gst_bin_remove_func), (gst_bin_remove):
29549         * gst/gstbin.h:
29550         * gst/gstbuffer.c:
29551         * gst/gstcaps.h:
29552         * testsuite/clock/clock1.c: (main):
29553         * testsuite/clock/clock2.c: (gst_clock_debug), (element_wait),
29554         (main):
29555         * testsuite/dlopen/loadgst.c: (do_test):
29556         * testsuite/refcounting/bin.c: (add_remove_test1),
29557         (add_remove_test2), (main):
29558         * testsuite/refcounting/element.c: (main):
29559         * testsuite/refcounting/element_pad.c: (main):
29560         * testsuite/refcounting/pad.c: (main):
29561         * tools/gst-launch.c: (sigint_handler_sighandler):
29562         * tools/gst-typefind.c: (main):
29563         Doc updates.
29564         Added doc about clock.
29565         removed gst_bin_iterate_recurse_up(), marked methods
29566         for removal.
29567         Fix more testsuites.
29568
29569 2005-03-09  Wim Taymans  <wim@fluendo.com>
29570
29571         * gst/gstpad.c: (gst_pad_get_direction),
29572         (_gst_pad_default_fixate_foreach), (gst_pad_collectv),
29573         (gst_pad_collect_valist):
29574         * testsuite/bins/interface.c: (main):
29575         * testsuite/caps/audioscale.c: (test_caps):
29576         * testsuite/caps/caps.c: (test1), (test2), (test3):
29577         * testsuite/caps/deserialize.c: (main):
29578         * testsuite/caps/enumcaps.c: (main):
29579         * testsuite/caps/filtercaps.c: (main):
29580         * testsuite/caps/intersect2.c: (main):
29581         * testsuite/caps/random.c: (main):
29582         * testsuite/caps/renegotiate.c: (my_fixate), (main):
29583         * testsuite/caps/sets.c: (check_caps):
29584         * testsuite/caps/simplify.c: (check_caps), (main):
29585         * testsuite/caps/subtract.c: (check_caps):
29586         Fix _pad_get_direction wrt ghostpads.
29587         Fix caps testsuite.
29588
29589 2005-03-09  Wim Taymans  <wim@fluendo.com>
29590
29591         * check/Makefile.am:
29592         * check/gst/gstbin.c: (START_TEST), (gst_bin_suite), (main):
29593         * check/gst/gstsystemclock.c: (START_TEST), (gst_clock_debug),
29594         (ok_callback), (error_callback), (gst_systemclock_suite), (main):
29595         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_index_func),
29596         (gst_bin_set_clock_func), (gst_bin_get_clock_func),
29597         (gst_bin_add_func), (gst_bin_add), (gst_bin_remove_func),
29598         (gst_bin_remove), (gst_bin_iterate_recurse_up),
29599         (bin_element_is_sink), (gst_bin_iterate_sinks),
29600         (gst_bin_iterate_all_by_interface):
29601         * gst/gstbin.h:
29602         * gst/gstelement.c: (gst_element_init), (gst_element_error_full),
29603         (gst_element_change_state), (gst_element_dispose),
29604         (gst_element_finalize), (gst_element_set_loop_function):
29605         * gst/gstelement.h:
29606         * gst/gstiterator.c: (find_custom_fold_func):
29607         * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
29608         (gst_pad_collectv), (gst_pad_collect_valist),
29609         (gst_pad_template_new):
29610         * gst/gstpipeline.c: (gst_pipeline_class_init),
29611         (gst_pipeline_dispose), (gst_pipeline_set_property),
29612         (gst_pipeline_get_property), (gst_pipeline_get_clock_func),
29613         (gst_pipeline_get_clock), (gst_pipeline_use_clock),
29614         (gst_pipeline_set_clock), (gst_pipeline_auto_clock):
29615         * gst/gstutils.h:
29616         * gst/schedulers/entryscheduler.c:
29617         * gst/schedulers/gstbasicscheduler.c:
29618         (gst_basic_scheduler_cothreaded_chain),
29619         (gst_basic_scheduler_chain_add_element):
29620         * testsuite/bins/interface.c: (main):
29621         Added GstBin test.
29622         Added GstSystemClock test.
29623         Implemented clock distribution code in GstBin.
29624         Implemented iterate sinks method for future use.
29625         Rearranged gstelement.h
29626         Fix GstIterator comparison bug.
29627         Moved some code to GstPipeline, mostly clocking related.
29628
29629 2005-03-09  Wim Taymans  <wim@fluendo.com>
29630
29631         * configure.ac:
29632         * gst/gst_private.h:
29633         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
29634         (gst_bin_remove_func), (gst_bin_remove),
29635         (gst_bin_get_by_name_recurse_up):
29636         * gst/gstclock.c: (gst_clock_id_ref), (gst_clock_id_unref),
29637         (gst_clock_id_compare_func), (gst_clock_id_wait),
29638         (gst_clock_id_wait_async), (gst_clock_init),
29639         (gst_clock_adjust_unlocked), (gst_clock_get_time):
29640         * gst/gstelement.h:
29641         * gst/gstinfo.c: (_gst_debug_init):
29642         * gst/gstobject.h:
29643         * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
29644         (gst_pad_collectv), (gst_pad_collect_valist), (gst_pad_query):
29645         * gst/gstpad.h:
29646         Bump version number, we're now 0.9.0
29647         Add future debugging category.
29648         Fix NULL _unref() in _get_by_name_recurse_up
29649         Rearrange gstpad.h.
29650         Update some docs.
29651
29652 2005-03-08  Wim Taymans  <wim@fluendo.com>
29653
29654         * gst/elements/gstaggregator.c: (gst_aggregator_class_init):
29655         * gst/elements/gstfakesink.c: (gst_fakesink_class_init):
29656         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
29657         * gst/elements/gstfdsink.c: (gst_fdsink_class_init):
29658         * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init):
29659         * gst/elements/gstfilesink.c: (gst_filesink_class_init):
29660         * gst/elements/gstfilesrc.c: (gst_filesrc_class_init):
29661         * gst/elements/gstidentity.c: (gst_identity_class_init):
29662         * gst/elements/gstmd5sink.c: (gst_md5sink_class_init):
29663         * gst/elements/gstmultifilesrc.c: (gst_multifilesrc_class_init):
29664         * gst/elements/gstshaper.c: (gst_shaper_class_init):
29665         * gst/elements/gststatistics.c: (gst_statistics_class_init):
29666         * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_getcaps),
29667         (gst_tee_link):
29668         * gst/gstelement.c: (gst_element_class_init),
29669         (gst_element_base_class_init), (gst_element_init),
29670         (gst_element_get_random_pad), (gst_element_wait_state_change),
29671         (gst_element_change_state), (gst_element_dispose),
29672         (gst_element_finalize), (gst_element_set_loop_function):
29673         * gst/gstelement.h:
29674         * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_link_src):
29675         * gst/gstthread.c: (gst_thread_class_init),
29676         (gst_thread_release_children_locks), (gst_thread_change_state):
29677         * gst/schedulers/gstbasicscheduler.c:
29678         (gst_basic_scheduler_loopfunc_wrapper),
29679         (gst_basic_scheduler_chain_wrapper),
29680         (gst_basic_scheduler_src_wrapper),
29681         (gst_basic_scheduler_remove_element):
29682         * gst/schedulers/gstoptimalscheduler.c: (schedule_group):
29683         Remove threadsafe properties. Fix elements because GObject
29684         complains when installing a property before declaring a
29685         set/get_property handler.
29686         Rearrange gstelement.h file, use STATE macros for state locks.
29687         Free mutexes in the finalize method instead of dispose.
29688
29689 2005-03-08  Wim Taymans  <wim@fluendo.com>
29690
29691         * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
29692         * gst/gstthread.c: (gst_thread_release_children_locks):
29693         Added parentage check.
29694         Fix build og GstThread again.
29695
29696 2005-03-08  Wim Taymans  <wim@fluendo.com>
29697
29698         * docs/design/part-MT-refcounting.txt:
29699         * docs/design/part-conventions.txt:
29700         * docs/design/part-gstobject.txt:
29701         * docs/design/part-relations.txt:
29702         * docs/design/part-standards.txt:
29703         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
29704         (gst_bin_remove_func), (gst_bin_remove), (gst_bin_iterate_recurse),
29705         (gst_bin_get_by_name), (gst_bin_get_by_interface),
29706         (gst_bin_iterate_all_by_interface):
29707         * gst/gstbuffer.h:
29708         * gst/gstclock.h:
29709         * gst/gstelement.c: (gst_element_class_init),
29710         (gst_element_change_state), (gst_element_set_loop_function):
29711         * gst/gstelement.h:
29712         * gst/gstiterator.c:
29713         * gst/gstobject.c: (gst_object_class_init), (gst_object_ref),
29714         (gst_object_unref), (gst_object_sink), (gst_object_dispose),
29715         (gst_object_dispatch_properties_changed), (gst_object_set_name),
29716         (gst_object_set_parent), (gst_object_unparent),
29717         (gst_object_check_uniqueness):
29718         * gst/gstobject.h:
29719         Docs updates, clean up some headers.
29720
29721 2005-03-07  Wim Taymans  <wim@fluendo.com>
29722
29723         * check/.cvsignore:
29724         * check/Makefile.am:
29725         * check/gst-libs/.cvsignore:
29726         * check/gst-libs/gdp.c: (START_TEST), (gst_object_suite), (main):
29727         * check/gst/.cvsignore:
29728         * check/gst/gstbus.c: (pound_bus_with_messages), (pull_messages),
29729         (START_TEST), (gstbus_suite), (main):
29730         * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite), (main):
29731         * check/gst/gstdata.c: (START_TEST), (thread_ref), (thread_unref),
29732         (gst_data_suite), (main):
29733         * check/gst/gstiterator.c: (make_list_of_ints), (START_TEST),
29734         (add_fold_func), (gstiterator_suite), (main):
29735         * check/gst/gstobject.c: (gst_fake_object_get_type), (START_TEST),
29736         (thread_name_object), (thread_name_object_default),
29737         (gst_object_name_compare), (gst_object_suite), (main):
29738         * check/gst/gstpad.c: (START_TEST), (thread_link_unlink),
29739         (gst_pad_suite), (main):
29740         * check/gstcheck.c: (gst_check_log_message_func),
29741         (gst_check_log_critical_func), (gst_check_init):
29742         * check/gstcheck.h:
29743         * check/pipelines/simple_launch_lines.c: (setup_pipeline),
29744         (run_pipeline), (START_TEST), (simple_launch_lines_suite), (main):
29745         Added checks.
29746
29747 2005-03-07  Wim Taymans  <wim@fluendo.com>
29748
29749         * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
29750         (gst_list_iterator_next), (gst_list_iterator_resync),
29751         (gst_list_iterator_free), (gst_iterator_new_list),
29752         (gst_iterator_pop), (gst_iterator_next), (gst_iterator_resync),
29753         (gst_iterator_free), (gst_iterator_push), (filter_next),
29754         (filter_resync), (filter_uninit), (filter_free),
29755         (gst_iterator_filter), (gst_iterator_fold), (foreach_fold_func),
29756         (gst_iterator_foreach), (find_custom_fold_func),
29757         (gst_iterator_find_custom):
29758         * gst/gstiterator.h:
29759         Added missing files.
29760
29761 2005-03-07  Wim Taymans  <wim@fluendo.com>
29762
29763         * Makefile.am:
29764         * configure.ac:
29765         * docs/design/part-MT-refcounting.txt:
29766         * docs/design/part-conventions.txt:
29767         * docs/design/part-gstobject.txt:
29768         * docs/design/part-relations.txt:
29769         * examples/mixer/mixer.c: (main):
29770         * examples/thread/thread.c: (eos), (main):
29771         * gst/Makefile.am:
29772         * gst/autoplug/gstsearchfuncs.c: (gst_autoplug_caps_intersect):
29773         * gst/autoplug/gstspider.c: (gst_spider_identity_plug),
29774         (gst_spider_plug_from_srcpad):
29775         * gst/autoplug/gstspideridentity.c: (gst_spider_identity_getcaps),
29776         (gst_spider_identity_change_state),
29777         (gst_spider_identity_sink_loop_type_finding):
29778         * gst/elements/gstfakesrc.c: (gst_fakesrc_loop):
29779         * gst/elements/gstidentity.c: (gst_identity_init):
29780         * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_getcaps),
29781         (gst_tee_link), (gst_tee_request_new_pad), (gst_tee_chain):
29782         * gst/elements/gsttypefindelement.c: (free_entry):
29783         * gst/gst.c:
29784         * gst/gst.h:
29785         * gst/gstbin.c: (gst_bin_init), (gst_bin_get_clock_func),
29786         (gst_bin_set_clock_func), (gst_bin_auto_clock),
29787         (gst_bin_set_index), (gst_bin_set_element_sched),
29788         (gst_bin_unset_element_sched), (gst_bin_add_func), (gst_bin_add),
29789         (gst_bin_remove_func), (gst_bin_remove), (iterate_child),
29790         (gst_bin_iterate_elements), (iterate_child_recurse),
29791         (gst_bin_iterate_recurse), (gst_bin_dispose), (compare_name),
29792         (gst_bin_get_by_name), (gst_bin_get_by_name_recurse_up),
29793         (compare_interface), (gst_bin_get_by_interface),
29794         (gst_bin_iterate_all_by_interface), (gst_bin_iterate_func):
29795         * gst/gstbin.h:
29796         * gst/gstbuffer.c: (gst_buffer_get_type), (_gst_buffer_sub_free),
29797         (gst_buffer_default_free), (gst_buffer_default_copy),
29798         (gst_buffer_new), (gst_buffer_get_caps), (gst_buffer_set_caps),
29799         (gst_buffer_create_sub):
29800         * gst/gstbuffer.h:
29801         * gst/gstcaps.c: (gst_caps_get_type), (gst_caps_new_empty),
29802         (_gst_caps_free), (gst_caps_make_writable), (gst_caps_ref),
29803         (gst_caps_unref), (gst_static_caps_get),
29804         (gst_caps_remove_and_get_structure), (gst_caps_append),
29805         (gst_caps_append_structure), (gst_caps_remove_structure),
29806         (gst_caps_copy_nth), (gst_caps_set_simple),
29807         (gst_caps_set_simple_valist), (gst_caps_is_fixed_foreach),
29808         (gst_structure_is_equal_foreach), (gst_caps_is_subset),
29809         (gst_caps_structure_intersect_field), (gst_caps_intersect),
29810         (gst_caps_structure_subtract_field), (gst_caps_subtract),
29811         (gst_caps_normalize_foreach), (gst_caps_compare_structures),
29812         (gst_caps_structure_figure_out_union),
29813         (gst_caps_switch_structures), (gst_caps_do_simplify),
29814         (gst_caps_replace), (gst_caps_from_string),
29815         (gst_caps_copy_conditional):
29816         * gst/gstcaps.h:
29817         * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_id_ref),
29818         (_gst_clock_id_free), (gst_clock_id_unref),
29819         (gst_clock_id_compare_func), (gst_clock_id_wait),
29820         (gst_clock_id_wait_async), (gst_clock_class_init),
29821         (gst_clock_init), (gst_clock_dispose), (gst_clock_adjust_unlocked),
29822         (gst_clock_get_time), (gst_clock_set_time_adjust),
29823         (gst_clock_set_property), (gst_clock_get_property):
29824         * gst/gstclock.h:
29825         * gst/gstcompat.h:
29826         * gst/gstcpu.c: (_gst_cpu_initialize_i386), (gst_cpu_get_flags):
29827         * gst/gstdata.c: (gst_data_is_writable), (gst_data_copy_on_write):
29828         * gst/gstdata.h:
29829         * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
29830         (gst_element_requires_clock), (gst_element_provides_clock),
29831         (gst_element_set_clock), (gst_element_clock_wait),
29832         (gst_element_wait), (gst_element_set_time_delay),
29833         (gst_element_is_indexable), (gst_element_add_pad),
29834         (gst_element_add_ghost_pad), (gst_element_remove_pad),
29835         (pad_compare_name), (gst_element_get_static_pad),
29836         (gst_element_request_pad), (gst_element_get_request_pad),
29837         (gst_element_get_pad), (iterate_pad), (gst_element_iterate_pads),
29838         (gst_element_class_get_pad_template_list),
29839         (gst_element_class_get_pad_template), (gst_element_error_func),
29840         (gst_element_get_random_pad), (gst_element_get_event_masks),
29841         (gst_element_send_event), (gst_element_seek),
29842         (gst_element_get_query_types), (gst_element_query),
29843         (gst_element_get_formats), (gst_element_convert),
29844         (gst_element_is_locked_state), (gst_element_set_locked_state),
29845         (gst_element_sync_state_with_parent), (gst_element_change_state),
29846         (gst_element_finalize), (gst_element_yield),
29847         (gst_element_interrupt), (gst_element_set_scheduler),
29848         (gst_element_get_scheduler), (gst_element_set_loop_function):
29849         * gst/gstelement.h:
29850         * gst/gstevent.h:
29851         * gst/gstformat.c: (_gst_format_initialize), (gst_format_register),
29852         (gst_format_get_by_nick), (gst_format_get_details),
29853         (gst_format_iterate_definitions):
29854         * gst/gstformat.h:
29855         * gst/gstindex.c: (gst_index_gtype_resolver):
29856         * gst/gstinfo.c:
29857         * gst/gstinfo.h:
29858         * gst/gstmemchunk.c: (gst_mem_chunk_alloc), (gst_mem_chunk_alloc0),
29859         (gst_mem_chunk_free):
29860         * gst/gstobject.c: (gst_object_class_init), (gst_object_init),
29861         (gst_object_ref), (gst_object_unref), (gst_object_sink),
29862         (gst_object_replace), (gst_object_dispose), (gst_object_finalize),
29863         (gst_object_dispatch_properties_changed),
29864         (gst_object_set_name_default), (gst_object_set_name),
29865         (gst_object_get_name), (gst_object_set_name_prefix),
29866         (gst_object_get_name_prefix), (gst_object_set_parent),
29867         (gst_object_get_parent), (gst_object_unparent),
29868         (gst_object_check_uniqueness), (gst_object_save_thyself),
29869         (gst_object_restore_thyself), (gst_object_real_restore_thyself),
29870         (gst_object_set_property), (gst_object_get_property),
29871         (gst_object_get_path_string):
29872         * gst/gstobject.h:
29873         * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
29874         (gst_real_pad_init), (gst_real_pad_get_property),
29875         (gst_pad_custom_new), (gst_pad_get_direction),
29876         (gst_pad_set_active), (gst_pad_is_active),
29877         (gst_pad_set_event_function), (gst_pad_is_linked),
29878         (gst_pad_link_free), (gst_pad_link_intersect),
29879         (gst_pad_link_fixate), (gst_pad_set_caps),
29880         (gst_pad_try_set_caps_nonfixed), (gst_pad_set_pad_template),
29881         (gst_pad_get_real_parent), (gst_pad_add_ghost_pad),
29882         (gst_pad_remove_ghost_pad), (_gst_pad_default_fixate_foreach),
29883         (gst_pad_link_unnegotiate), (gst_pad_proxy_fixate),
29884         (gst_pad_get_caps), (gst_pad_peer_get_caps),
29885         (gst_pad_get_pad_template_caps), (gst_pad_get_peer),
29886         (gst_pad_realize), (gst_pad_get_allowed_caps),
29887         (gst_real_pad_dispose), (gst_real_pad_finalize),
29888         (gst_pad_collectv), (gst_pad_collect_valist),
29889         (gst_pad_template_dispose), (gst_pad_template_new),
29890         (gst_pad_get_internal_links):
29891         * gst/gstpad.h:
29892         * gst/gstpipeline.c: (gst_pipeline_dispose),
29893         (gst_pipeline_change_state):
29894         * gst/gstpipeline.h:
29895         * gst/gstplugin.c:
29896         * gst/gstpluginfeature.c: (gst_plugin_feature_get_name),
29897         (gst_plugin_feature_set_rank), (gst_plugin_feature_get_rank):
29898         * gst/gstpluginfeature.h:
29899         * gst/gstprobe.c: (gst_probe_dispatcher_dispatch):
29900         * gst/gstquery.c: (_gst_query_type_initialize),
29901         (gst_query_type_register), (gst_query_type_get_by_nick),
29902         (gst_query_type_get_details), (gst_query_type_iterate_definitions):
29903         * gst/gstquery.h:
29904         * gst/gstqueue.c: (gst_queue_link_sink), (gst_queue_link_src):
29905         * gst/gstscheduler.c: (gst_scheduler_add_element),
29906         (gst_scheduler_factory_create):
29907         * gst/gststructure.c: (gst_structure_set_parent_refcount),
29908         (gst_structure_free), (gst_structure_set_name),
29909         (gst_structure_id_set_value), (gst_structure_set_value),
29910         (gst_structure_set_valist), (gst_structure_remove_field),
29911         (gst_structure_remove_fields),
29912         (gst_structure_remove_fields_valist),
29913         (gst_structure_remove_all_fields), (gst_structure_foreach),
29914         (gst_structure_map_in_place),
29915         (gst_caps_structure_fixate_field_nearest_int),
29916         (gst_caps_structure_fixate_field_nearest_double):
29917         * gst/gststructure.h:
29918         * gst/gstsystemclock.c: (gst_system_clock_class_init),
29919         (gst_system_clock_init), (gst_system_clock_dispose),
29920         (gst_system_clock_async_thread),
29921         (gst_system_clock_id_wait_unlocked), (gst_system_clock_id_wait),
29922         (gst_system_clock_id_wait_async), (gst_system_clock_id_unschedule):
29923         * gst/gstsystemclock.h:
29924         * gst/gsttag.c: (gst_tag_list_add_value_internal),
29925         (gst_tag_list_copy_foreach), (structure_foreach_wrapper):
29926         * gst/gsttaginterface.c:
29927         * gst/gstthread.c: (gst_thread_dispose),
29928         (gst_thread_release_children_locks), (gst_thread_change_state),
29929         (gst_thread_main_loop):
29930         * gst/gsttrashstack.h:
29931         * gst/gsttypefind.c: (gst_type_find_factory_dispose):
29932         * gst/gsttypes.h:
29933         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
29934         (gst_element_request_pad), (gst_element_get_pad_from_template),
29935         (gst_element_request_compatible_pad),
29936         (gst_element_get_compatible_pad_filtered),
29937         (gst_element_get_compatible_pad), (gst_element_state_get_name),
29938         (gst_element_link_pads_filtered), (gst_element_link_filtered),
29939         (gst_element_link_many), (gst_element_link),
29940         (gst_element_link_pads), (gst_element_unlink_pads),
29941         (gst_element_unlink_many), (gst_element_unlink),
29942         (gst_pad_can_link_filtered), (gst_pad_can_link),
29943         (gst_pad_use_fixed_caps), (gst_pad_get_fixed_caps_func),
29944         (gst_object_default_error), (gst_bin_add_many),
29945         (gst_bin_remove_many), (gst_element_populate_std_props),
29946         (gst_element_class_install_std_props), (gst_buffer_merge),
29947         (gst_buffer_stamp), (intersect_caps_func), (gst_pad_proxy_getcaps),
29948         (link_fold_func), (gst_pad_proxy_setcaps):
29949         * gst/gstutils.h:
29950         * gst/gstvalue.c: (gst_value_deserialize_string):
29951         * gst/parse/grammar.y:
29952         * gst/schedulers/gstbasicscheduler.c:
29953         (gst_basic_scheduler_cothreaded_chain),
29954         (gst_basic_scheduler_chain_recursive_add),
29955         (gst_basic_scheduler_pad_link):
29956         * gst/schedulers/gstoptimalscheduler.c:
29957         (get_group_schedule_function),
29958         (gst_opt_scheduler_state_transition),
29959         (gst_opt_scheduler_add_element), (element_get_reachables_func):
29960         * libs/gst/bytestream/bytestream.c:
29961         * libs/gst/dataprotocol/dataprotocol.c:
29962         (gst_dp_header_from_buffer):
29963         * po/nb.po:
29964         * po/ru.po:
29965         * tests/threadstate/threadstate2.c: (eos):
29966         * tools/gst-compprep.c: (main):
29967         * tools/gst-inspect.c: (print_field), (print_element_flag_info),
29968         (print_pad_info), (print_children_info):
29969         * tools/gst-launch.c: (idle_func), (main):
29970         * tools/gst-md5sum.c: (idle_func), (main):
29971         * tools/gst-xmlinspect.c: (print_element_info):
29972         First THREADED backport attempt, focusing on adding locks and
29973         making sure the API is threadsafe. Needs more work. More docs
29974         follow this week.
29975
29976 2005-02-24  Andy Wingo  <wingo@pobox.com>
29977
29978         * tests/bench-complexity.scm:
29979         * tests/complexity.gnuplot: New files, good for running complexity
29980         benchmarks.
29981
29982         * tests/Makefile.am:
29983         * tests/complexity.c: New test, sets up N elements, at each level
29984         teeing into M streams per element. Eeeenteresting.
29985
29986         * tests/mass_elements.gnuplot: gnuplot file for the mass_elements
29987         benchmark. Run as gnuplot mass_elements.gnuplot > foo.ps, after
29988         running bench-mass_elements.scm.
29989
29990         * tests/bench-mass_elements.scm: New script, runs mass_elements
29991         for various numbers of identities, outputting the results to a
29992         file. Requires guile 1.6. Just for testing.
29993
29994 2005-02-23  Thomas Vander Stichele  <thomas at apestaart dot org>
29995
29996         * gst/schedulers/fairscheduler.c:
29997           compile with debug disabled
29998
29999 2005-02-22  Thomas Vander Stichele  <thomas at apestaart dot org>
30000
30001         * configure.ac:
30002           hunting season on 0.9 is now OPEN