docs/design/part-states.txt: Fix device open/close docs.
[platform/upstream/gstreamer.git] / ChangeLog
1 2008-06-25  Wim Taymans  <wim.taymans@collabora.co.uk>
2
3         * docs/design/part-states.txt:
4         Fix device open/close docs.
5
6 2008-06-25  Stefan Kost  <ensonic@users.sf.net>
7
8         * ChangeLog:
9           Mention bugnumber for last commit.
10
11 2008-06-25  Stefan Kost  <ensonic@users.sf.net>
12
13         patch by: Luc Pionchon  <luc.pionchon@nokia.com>
14
15         * docs/manual/manual.xml:
16         - Reorganised the previous "introduction" bundle into Foreword,
17         Introduction, and About GStreamer. The two first are <preface>
18         docbook elements. The later is the first part of the book.
19         - added intro-gstreamer.xml (content partially from
20         intro-preface.xml)
21         - moved appendix-win32.xml into appendix-integration.xml
22
23         * docs/manual/intro-preface.xml: gstreamer section moved...
24         * docs/manual/intro-gstreamer.xml: ...here. new file.
25
26         * docs/manual/appendix-win32.xml: removed file. Content moved...
27         * docs/manual/appendix-integration.xml: ...here.
28         
29         * docs/manual/highlevel-components.xml: section about GstEditor moved...
30         * docs/manual/appendix-checklist.xml: ...here.
31         
32         Fixes: 538764
33
34 2008-06-25  Stefan Kost  <ensonic@users.sf.net>
35
36         patch by: Luc Pionchon  <luc.pionchon@nokia.com>
37
38         * docs/manual/basics-helloworld.xml:
39         * docs/manual/hello-world.fig:
40           - Explicitely include glib.h.
41           - Do not use global variables.
42           - Use g_printerr() instead of g_print().
43           - Minor formating/renaming to increase readibility.
44           - Renamed new_pad() to on_pad_added()
45           - Improved explenatory comments.
46           - renamed ogg parser to ogg demuxer
47           - Use "autoaudiosink" instead of "alsasink".
48           Fixes: #538619
49
50 2008-06-25  Stefan Kost  <ensonic@users.sf.net>
51
52         * ChangeLog:
53           Remove cvs conflict marker.
54
55 2008-06-25  Stefan Kost  <ensonic@users.sf.net>
56
57         * docs/README:
58           Document that for plgin-docs we extraxt he short-desc from the element
59           details.
60
61         * docs/design/part-states.txt:
62           Tell that devices should be closed in PAUSED -> READY.
63
64         * docs/manual/README:
65           Document how tests in the manual are handled.
66
67         * docs/manuals.mak:
68           Typo in comment.
69
70 2008-06-25  Wim Taymans  <wim.taymans@collabora.co.uk>
71
72         * gst/gstbin.c: (bin_query_latency_fold):
73         Only care about latency min and max when the sink is actually a live
74         sink.
75
76 2008-06-25  Wim Taymans  <wim.taymans@collabora.co.uk>
77
78         * docs/design/part-block.txt:
79         Fix typo.
80
81         * docs/design/part-element-transform.txt:
82         Add notes about why transform needs to know input/output sizes.
83         Add some issues that need to be solved.
84         Add some more use cases.
85
86         * tests/check/libs/test_transform.c: (gst_test_trans_base_init),
87         (gst_test_trans_class_init), (result_sink_chain),
88         (result_buffer_alloc), (gst_test_trans_new), (gst_test_trans_free),
89         (gst_test_trans_push), (gst_test_trans_pop):
90         * tests/check/libs/transform1.c: (buffer_alloc_pt1),
91         (set_caps_pt1), (GST_START_TEST), (set_caps_pt2), (transform_ip_1),
92         (set_caps_1), (set_caps_ct1), (transform_ct1),
93         (transform_caps_ct1), (transform_size_ct1), (buffer_alloc_ct1),
94         (gst_basetransform_suite):
95         Add suport for different pad templates and buffer-alloc.
96         Add more checks for caps and buffer-alloc.
97         Add checks for proxy buffer alloc.
98         Add unit test for copy transform.
99
100 2008-06-24  Tim-Philipp Müller  <tim.muller at collabora co uk>
101
102         Patch by: Luc Pionchon  <luc.pionchon@nokia.com>
103
104         * docs/manual/appendix-integration.xml:
105         * docs/manual/appendix-licensing.xml:
106         * docs/manual/basics-elements.xml:
107         * docs/manual/basics-helloworld.xml:
108         * docs/manual/basics-pads.xml:
109         * docs/manual/highlevel-components.xml:
110         * docs/manual/highlevel-xml.xml:
111         * docs/manual/intro-basics.xml:
112         * docs/manual/intro-preface.xml:
113           Typo and formatting fixes (#538594).
114
115 2008-06-24  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
116
117         * tests/check/gst/gstghostpad.c: (GST_START_TEST):
118         Fix some memory leaks and uses of object instances that we don't
119         actually own.
120
121 2008-06-22  Thijs Vermeir  <thijsvermeir@gmail.com>
122
123         * plugins/elements/gstmultiqueue.c:
124         Add functionality to extra-size-buffers property.
125
126 2008-06-22  Thijs Vermeir  <thijsvermeir@gmail.com>
127
128         * plugins/elements/gstmultiqueue.c:
129         Don't update the cur_time on GST_CLOCK_TIME_NONE (#537804) and don't
130         activate the pads if they are added in STATE_NULL.
131
132 2008-06-21  Thijs Vermeir  <thijsvermeir@gmail.com>
133
134         * docs/libs/gstreamer-libs-sections.txt:
135         Add new API to doc
136         * libs/gst/check/gstcheck.c:
137         * libs/gst/check/gstcheck.h:
138         API: gst_check_teardown_pad_by_name
139
140 2008-06-21  Thijs Vermeir  <thijsvermeir@gmail.com>
141
142         * libs/gst/check/gstcheck.c:
143         * libs/gst/check/gstcheck.h:
144         Also setup request pads and allow setup pads by name (#537812)
145         API: gst_check_setup_src_pad_by_name
146         API: gst_check_setup_sink_pad_by_name
147
148 2008-06-20  Thomas Vander Stichele  <thomas at apestaart dot org>
149
150         * tests/check/gst/gstbuffer.c:
151         * tests/check/pipelines/parse-launch.c:
152           Use HAVE_VALGRIND_H some more.
153
154 2008-06-20  Thomas Vander Stichele  <thomas at apestaart dot org>
155
156         * scripts/cvs-update.sh:
157           Pass arguments to make.
158           Run autoregen.sh if Makefile is not there.
159
160 2008-06-20  Thomas Vander Stichele  <thomas at apestaart dot org>
161
162         * configure.ac:
163         * gst/gstinfo.c:
164           Don't assume that <valgrind/valgrind.h> exists just because
165           the binary is there.
166
167 2008-06-20  Wim Taymans  <wim.taymans@collabora.co.uk>
168
169         * tests/check/Makefile.am:
170         * tests/check/libs/test_transform.c: (gst_test_trans_base_init),
171         (gst_test_trans_class_init), (gst_test_trans_init),
172         (gst_test_trans_set_data), (result_sink_chain),
173         (gst_test_trans_new), (gst_test_trans_free), (gst_test_trans_push),
174         (gst_test_trans_pop):
175         * tests/check/libs/transform1.c: (GST_START_TEST),
176         (transform_ip_1), (set_caps_1), (gst_basetransform_suite):
177         Add some test basetransform element and the beginnings of various
178         unit tests for it.
179
180 2008-06-20  Wim Taymans  <wim.taymans@collabora.co.uk>
181
182         * libs/gst/base/gsttypefindhelper.c: (helper_find_peek):
183         Increase code readability.
184         Don't try to compare buffer offsets when ther are invalid.
185
186 2008-06-20  Tim-Philipp Müller  <tim.muller at collabora co uk>
187
188         * docs/design/Makefile.am:
189           Dist some more design docs.
190
191         * docs/random/moving-plugins:
192           Small addition: good plugins mustn't have functional code
193           within assertion macros.
194
195 2008-06-20  Wim Taymans  <wim.taymans@collabora.co.uk>
196
197         * docs/design/draft-framestep.txt:
198         Some ideas about a framestep API
199
200         * docs/design/part-element-transform.txt:
201         Start design and use cases for basetransform in order to get it
202         fixed soon.
203
204 2008-06-20  Tim-Philipp Müller  <tim.muller at collabora co uk>
205
206         * gst/gsttaglist.h:
207           In GST_TAG_ATTACHEMENT docs, mention that the file name needs to
208           be in UTF-8 encoding.
209
210 2008-06-20  Tim-Philipp Müller  <tim.muller at collabora co uk>
211
212         * gst/gstbus.c:
213           Make it known that gst_bus_poll() is pure evil (fixes #538810).
214
215 2008-06-20  Stefan Kost  <ensonic@users.sf.net>
216
217         * plugins/elements/gstcapsfilter.c:
218         * plugins/elements/gstfakesink.c:
219         * plugins/elements/gstfakesrc.c:
220         * plugins/elements/gstfdsink.c:
221         * plugins/elements/gstfdsrc.c:
222         * plugins/elements/gstfilesink.c:
223         * plugins/elements/gstfilesrc.c:
224         * plugins/elements/gstidentity.c:
225         * plugins/elements/gstmultiqueue.c:
226         * plugins/elements/gstqueue.c:
227         * plugins/elements/gsttee.c:
228         * plugins/elements/gsttypefindelement.c:
229           Remove short_description. Add basic docs for gsttypefindelement.
230           Simplify markup for fakesrc/fdsrc.
231
232 2008-06-20  Wim Taymans  <wim.taymans@collabora.co.uk>
233
234         * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init):
235         Added Since doc.
236
237 2008-06-20  Wim Taymans  <wim.taymans@collabora.co.uk>
238
239         Patch by: joel larsson <tilljoel at gmail dot com>
240
241         * docs/plugins/gstreamer-plugins.args:
242         * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init),
243         (gst_fd_src_init), (gst_fd_src_update_fd),
244         (gst_fd_src_set_property), (gst_fd_src_get_property),
245         (gst_fd_src_create):
246         * plugins/elements/gstfdsrc.h:
247         Add timeout property like udpsrc. Fixes #538628.
248         Add some more docs and example pipelines.
249
250 2008-06-20  Wim Taymans  <wim.taymans@collabora.co.uk>
251
252         * docs/libs/gstreamer-libs-sections.txt:
253         * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
254         (gst_base_sink_query_latency), (gst_base_sink_set_render_delay),
255         (gst_base_sink_get_render_delay), (gst_base_sink_wait_eos),
256         (gst_base_sink_do_sync):
257         * libs/gst/base/gstbasesink.h:
258         * win32/common/libgstbase.def:
259         Add method to allow sinks to specify additional delay between the sync
260         times and the actual rendering of the data.
261         API: gst_base_sink_set_render_delay()
262         API: gst_base_sink_get_render_delay()
263
264 2008-06-20  Jan Schmidt  <jan.schmidt@sun.com>
265
266         * configure.ac:
267         Bump version number back to dev -> 0.10.20.1
268
269 2008-06-20  Sebastian Dröge  <slomo@circular-chaos.org>
270
271         * docs/gst/gstreamer-sections.txt:
272         * gst/gsttaglist.c: (_gst_tag_initialize):
273         * gst/gsttaglist.h:
274         API: Add GST_TAG_ATTACHMENT for generic file attachments to streams.
275         Fixes bug #538568.
276
277 2008-06-20  Stefan Kost  <ensonic@users.sf.net>
278
279         * libs/gst/controller/gstcontroller.c:
280           Revert one change, that make ret value possible uninitialized.
281
282 2008-06-20  Stefan Kost  <ensonic@users.sf.net>
283
284         * libs/gst/controller/gstcontroller.c:
285           Use freeze/thaw notify to sync notify emission a bit (its also more
286           efficient). Move debug output to LOG (is called a lot in a loop).
287           Always unset g_values if the have been initialized.
288
289 2008-06-20  Wim Taymans  <wim.taymans@collabora.co.uk>
290
291         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
292         (gst_base_sink_wait_eos), (gst_base_sink_event):
293         If we have not seen a buffer before EOS, use the segment values to
294         report the current position instead of invalid positions.
295
296 2008-06-20  Stefan Kost  <ensonic@users.sf.net>
297
298         * docs/plugins/tmpl/.cvsignore:
299         * tests/check/gst/.cvsignore:
300           Ignore more.
301
302 2008-06-20  Stefan Kost  <ensonic@users.sf.net>
303
304         * libs/gst/controller/gstinterpolation.c:
305         * libs/gst/controller/gstinterpolationcontrolsource.c:
306         * tests/check/libs/controller.c:
307           Rewrite handling of default values. Fix overflow with unsigned types
308           in linear interpolation. Remove now obsolete _first_value() function.
309           Add more tests. Fixes #538201.
310
311 2008-06-20  Wim Taymans  <wim.taymans@collabora.co.uk>
312
313         * libs/gst/base/gstbasetransform.c:
314         (gst_base_transform_class_init), (gst_base_transform_init),
315         (gst_base_transform_transform_caps),
316         (gst_base_transform_prepare_output_buffer):
317         Add debug info.
318         When a buffer is writable, its metadata is also writable so we don't
319         need to subbuffer (which then makes the buffer not-writable anymore).
320
321 === release 0.10.20 ===
322
323 2008-06-18  Jan Schmidt <jan.schmidt@sun.com>
324
325         * configure.ac:
326           releasing 0.10.20, "You Crazy Diamond"
327
328 2008-06-11  Jan Schmidt  <jan.schmidt@sun.com>
329
330         * configure.ac:
331         0.10.19.3 pre-release
332
333 2008-06-11  Jan Schmidt  <jan.schmidt@sun.com>
334
335         * configure.ac:
336         * gst/gstpreset.c:
337         Rename DATADIR to GST_DATADIR to avoid build problems
338         on win32. Patch By: David Schleef <ds@schleef.org>
339         Fixes: #536857
340
341 2008-06-05  Sebastian Dröge  <slomo@circular-chaos.org>
342
343         * configure.ac:
344         Explicitely link with -ldl if dladdr() is found there. Before it was
345         implicitely linked by the gmodule pkgconfig file but in glib 2.17.0
346         -ldl has moved from Libs to Libs.private. Fixes bug #536744.
347
348 2008-06-05  Tim-Philipp Müller  <tim.muller at collabora co uk>
349
350         * gst/gsterror.c: (_gst_stream_errors_init):
351           Fix typo (spotted by Fabricio Godoy, #536723).
352
353 2008-06-05  Jan Schmidt  <jan.schmidt@sun.com>
354
355         * configure.ac:
356         0.10.19.2 pre-release
357
358 2008-06-04  Wim Taymans  <wim.taymans@collabora.co.uk>
359
360         * libs/gst/base/gstbasesink.c: (gst_base_sink_set_async_enabled),
361         (gst_base_sink_set_ts_offset), (gst_base_sink_perform_qos):
362         Add some debug.
363         Make sure we don't generate invalid QoS messages.
364
365 2008-06-04  Wim Taymans  <wim.taymans@collabora.co.uk>
366
367         * gst/gstevent.c: (gst_event_new_qos):
368         Add some assert and docs for invalid input to the qos function.
369
370 2008-05-30  Wim Taymans  <wim.taymans@collabora.co.uk>
371
372         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
373         (gst_base_sink_get_position):
374         The reported position must always be smaller than the last seen
375         timestamps (or timestamp + duration for reverse).
376
377 2008-05-30  Sebastian Dröge  <slomo@circular-chaos.org>
378
379         Patch by: Rob Bradford <rob at robster dot org dot uk>
380
381         * gst/gstregistry.c: (gst_registry_scan_path_level):
382         Don't recurse into .debug directories as some distros install
383         the debugging symbols next to the plugins in .debug directories
384         and dlopen() crashes on them sometimes. Fixes bug #508070.
385
386         Add FIXME for 0.11 to not recurse into directories at all because
387         it's very inconsistent to the behaviour of other PATH environment
388         variables.
389
390 2008-05-29  Wim Taymans  <wim.taymans@collabora.co.uk>
391
392         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
393         (gst_base_sink_get_position_last), (gst_base_sink_get_position):
394         Fix position query range checks in reverse playback.
395
396 2008-05-29  Sebastian Dröge  <slomo@circular-chaos.org>
397
398         * gst/gstelement.c:
399         * gst/gstelement.h:
400         Deprecated gst_element_get_pad() as it can't be used sanely. It's not
401         clear of the reference to the resulting pad must be released later
402         or not, resulting in possible leaks. Fixes bug #533865.
403
404 2008-05-28  Wim Taymans  <wim.taymans@collabora.co.uk>
405
406         Patch by: José Alburquerque <jaalburqu at svn dot gnome dot org>
407
408         * gst/gstelementfactory.c:
409         Small doc fix. Fixes #535285.
410
411 2008-05-28  Wim Taymans  <wim.taymans@collabora.co.uk>
412
413         Based on patch by: Bjarne Rosengren <bjarne at axis dot com>
414
415         * libs/gst/base/gstbasesrc.c: (gst_base_src_send_event),
416         (gst_base_src_get_range), (gst_base_src_pad_get_range),
417         (gst_base_src_loop), (gst_base_src_set_flushing),
418         (gst_base_src_change_state):
419         Make sending an EOS event to the basesrc non-blocking even if the
420         implementation does blocking waits in the create function. This is done
421         by unlocking the create function when EOS is sent.
422         Fixes #535218.
423
424 2008-05-28  Sebastian Dröge  <slomo@circular-chaos.org>
425
426         * tools/gst-inspect.c: (print_element_properties_info):
427         If possible print the element type of GValueArray properties.
428
429 2008-05-28  Sebastian Dröge  <slomo@circular-chaos.org>
430
431         * gst/gstiterator.c:
432         Remove an unused field from the private GstListIterator struct.
433
434 2008-05-27  Stefan Kost  <ensonic@users.sf.net>
435
436         * libs/gst/controller/gstcontroller.c:
437           Add parameter guards.
438
439 2008-05-27  Stefan Kost  <ensonic@users.sf.net>
440
441         * tests/check/gst/gstpipeline.c:
442           Revert test change and add comment why it should not work.
443
444 2008-05-27  Stefan Kost  <ensonic@users.sf.net>
445
446         * tests/check/gst/gstpipeline.c:
447           Extending the test a little to verify that we also get the NULL state-
448           change message.
449
450 2008-05-27  Tim-Philipp Müller  <tim.muller at collabora co uk>
451
452         * gst/gstpreset.c: (gst_preset_default_get_meta),
453           (gst_preset_get_preset_names), (gst_preset_get_property_names),
454           (gst_preset_load_preset), (gst_preset_save_preset),
455           (gst_preset_rename_preset), (gst_preset_delete_preset),
456           (gst_preset_set_meta):
457           Add Since: markers to docs blurbs.
458
459         * win32/common/libgstreamer.def:
460           Add recently-added API.
461
462 2008-05-27  Wim Taymans  <wim.taymans@collabora.co.uk>
463
464         Patch by: Stefan Kost  <ensonic@users.sf.net>
465
466         * configure.ac:
467         Add DATADIR for storing presets.
468
469         * docs/gst/gstreamer-docs.sgml:
470         * docs/gst/gstreamer-sections.txt:
471         * docs/gst/gstreamer.types.in:
472         Add GstPreset to docs.
473
474         * gst/Makefile.am:
475         * gst/gst.h:
476         * gst/gstpreset.c: (preset_get_paths), (preset_skip_property),
477         (preset_open_and_parse_header), (preset_parse_version),
478         (preset_merge), (preset_get_keyfile),
479         (gst_preset_default_get_preset_names),
480         (gst_preset_default_get_property_names),
481         (gst_preset_default_load_preset),
482         (gst_preset_default_save_presets_file),
483         (gst_preset_default_save_preset),
484         (gst_preset_default_rename_preset),
485         (gst_preset_default_delete_preset), (gst_preset_default_set_meta),
486         (gst_preset_default_get_meta), (gst_preset_default_randomize),
487         (gst_preset_default_reset), (gst_preset_get_preset_names),
488         (gst_preset_get_property_names), (gst_preset_load_preset),
489         (gst_preset_save_preset), (gst_preset_rename_preset),
490         (gst_preset_delete_preset), (gst_preset_set_meta),
491         (gst_preset_get_meta), (gst_preset_class_init),
492         (gst_preset_base_init), (gst_preset_get_type):
493         * gst/gstpreset.h:
494         Add GstPreset to core. Fixes #396779
495
496         * tests/check/Makefile.am:
497         * tests/check/gst/gstpreset.c: (gst_preset_test_get_property),
498         (gst_preset_test_set_property), (gst_preset_test_class_init),
499         (gst_preset_test_base_init), (gst_preset_test_get_type),
500         (gst_preset_test_plugin_init), (GST_START_TEST),
501         (remove_preset_file), (test_setup), (test_teardown),
502         (gst_preset_suite):
503         Add GstPreset unit tests.
504
505 2008-05-27  Wim Taymans  <wim.taymans@collabora.co.uk>
506
507         * gst/gstpad.c: (gst_pad_event_default_dispatch):
508         The default event function on a sinkpad should return TRUE when
509         there are no internal links but should collect the return values from
510         the internal links otherwise.
511
512 2008-05-27  Wim Taymans  <wim.taymans@collabora.co.uk>
513
514         * plugins/elements/gsttypefindelement.c:
515         (gst_type_find_element_src_event),
516         (gst_type_find_element_handle_event):
517         Use faster and safer _pad_push_event().
518
519 2008-05-27  Tim-Philipp Müller  <tim.muller at collabora co uk>
520
521         * docs/gst/gstreamer-sections.txt:
522         * gst/gstutils.c: (element_find_unlinked_pad),
523           (gst_bin_find_unlinked_pad), (gst_bin_find_unconnected_pad),
524         * gst/gstutils.h:
525           API: add gst_bin_find_unlinked_pad()
526           API: deprecate gst_bin_find_unconnected_pad() (#401456)
527
528 2008-05-26  Peter Kjellerstedt  <pkj@axis.com>
529
530         * gst/gstclock.c:
531         * gst/gstclock.h:
532         * gst/gsttask.c:
533         * gst/gsttask.h:
534         Fixed a bunch of typos.
535
536 2008-05-25  Tim-Philipp Müller  <tim.muller at collabora co uk>
537
538         * gst/gstpad.h:
539         * gst/gstutils.c: (gst_element_unlink), (element_find_unlinked_pad),
540           (gst_bin_find_unconnected_pad), (gst_parse_bin_from_description),
541           (gst_parse_bin_from_description_full):
542         * gst/gstutils.h:
543           'unconnected pad' -> 'unlinked pad' for consistency (#401456).
544
545 2008-05-25  Tim-Philipp Müller  <tim.muller at collabora co uk>
546
547         * docs/pwg/advanced-tagging.xml:
548           Small docs update, can't be bothered to rewrite the nonsensical
549           examples right now.
550
551 2008-05-25  Tim-Philipp Müller  <tim.muller at collabora co uk>
552
553         * gst/gstevent.h:
554           Clarify docs for GST_SEEK_TYPE_CUR (#534505).
555
556 2008-05-25  Tim-Philipp Müller  <tim.muller at collabora co uk>
557
558         * gst/parse/grammar.y:
559           Remove unneeded casts.
560
561 2008-05-25  Tim-Philipp Müller  <tim.muller at collabora co uk>
562
563         * gst/parse/grammar.y:
564         * tests/check/pipelines/parse-launch.c:
565           Get all missing elements from a parse launch string if possible
566           (ie. if the FATAL_ERRORS flag has been specified). Fixes #528178.
567
568 2008-05-24  Tim-Philipp Müller  <tim.muller at collabora co uk>
569
570         * tests/check/Makefile.am:
571         * tests/check/pipelines/parse-launch.c:
572           Add some unit tests for the new gst_parse_launch*_full() API.
573           (Exposes a previously-existing memory leak in the error code
574           path, so adding to VALGRIND_TO_FIX for now).
575
576 2008-05-24  Tim-Philipp Müller  <tim.muller at collabora co uk>
577
578         * docs/gst/gstreamer-sections.txt:
579         * gst/gst.c: (init_post):
580         * gst/gst_private.h: (_GstParseContext):
581         * gst/gstparse.c: (gst_parse_error_quark), (gst_parse_context_new),
582           (gst_parse_context_free), (gst_parse_context_get_missing_elements),
583           (gst_parse_launchv), (gst_parse_launchv_full), (gst_parse_launch),
584           (gst_parse_launch_full):
585         * gst/gstparse.h: (GST_PARSE_FLAG_NONE), (GST_PARSE_FLAG_FATAL_ERRORS),
586           (GstParseFlags), (GstParseContext):
587         * gst/gstutils.c: (gst_parse_bin_from_description),
588           (gst_parse_bin_from_description_full):
589         * gst/gstutils.h:
590         * gst/parse/grammar.y:
591         * gst/parse/types.h:
592         * win32/common/libgstreamer.def:
593           Add new gst_parse_*_full API (#528178):
594           API: gst_parse_launch_full()
595           API: gst_parse_launchv_full()
596           API: gst_parse_bin_from_description_full()
597           API: gst_parse_context_new()
598           API: gst_parse_context_free()
599           API: gst_parse_context_get_missing_elements()
600
601 2008-05-23  Stefan Kost  <ensonic@users.sf.net>
602
603         patch by: Suresh Kumar P <sureshkumar.pp@gmail.com>
604
605         * docs/faq/gst-uninstalled:
606           Also support ffmpeg in gst-uninstalled.
607
608 2008-05-22  Sebastian Dröge  <slomo@circular-chaos.org>
609
610         * configure.ac:
611         After discussion on IRC use the binary registry as default
612         but allow to disable it with --disable-binary-registry.
613
614         * win32/common/libgstreamer.def:
615         Add the two new symbols for the binary registry.
616
617 2008-05-22  Tim-Philipp Müller  <tim.muller at collabora co uk>
618
619         * gst/gstparse.c: (_gst_parse_escape), (gst_parse_launchv):
620         * gst/gstutils.c: (gst_parse_bin_from_description):
621         * gst/parse/grammar.y: (graph):
622           More guards against bad input; typo fix; some minor clean-ups.
623
624 2008-05-22  Sebastian Dröge  <slomo@circular-chaos.org>
625
626         Patch by: Sjoerd Simons <sjoerd at luon dot net>
627
628         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
629         If nothing else can be used, use the last buffer's start time as
630         the segment's last stop. Fixes bug #534258.
631
632 2008-05-21  Tim-Philipp Müller  <tim.muller at collabora co uk>
633
634         * gst/gstpad.c: (gst_pad_alloc_buffer_full):
635           Move size sanity check to the right place: downstream may return
636           a buffer with a smaller size if the buffer caps are different than
637           the requested ones, as may happen when doing reverse negotiation.
638
639 2008-05-21  Wim Taymans  <wim.taymans@collabora.co.uk>
640
641         * plugins/elements/gstfilesink.c: (gst_file_sink_set_location),
642         (gst_file_sink_render):
643         * plugins/elements/gstfilesrc.c: (gst_file_src_set_location),
644         (gst_file_src_start):
645         Small cleanups. Add note adbout g_fopen() on windows and why we don't
646         use it yet.
647
648 2008-05-21  Wim Taymans  <wim.taymans@collabora.co.uk>
649
650         * gst/gstpad.c: (gst_pad_load_and_link):
651         * gst/gstutils.c: (gst_element_link_pads),
652         (gst_element_unlink_pads):
653         * libs/gst/check/gstcheck.c: (gst_check_setup_src_pad),
654         (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
655         (gst_check_teardown_sink_pad),
656         (gst_check_element_push_buffer_list):
657         * tests/check/elements/fakesink.c: (GST_START_TEST):
658         * tests/check/elements/filesink.c:
659         * tests/check/elements/filesrc.c: (GST_START_TEST):
660         * tests/check/elements/multiqueue.c: (setup_multiqueue),
661         (mq_sinkpad_to_srcpad):
662         * tests/check/elements/tee.c: (GST_START_TEST):
663         * tests/check/generic/sinks.c: (GST_START_TEST):
664         * tests/check/gst/gstbin.c: (GST_START_TEST):
665         * tests/check/gst/gstevent.c: (GST_START_TEST):
666         * tests/check/gst/gstghostpad.c: (GST_START_TEST):
667         * tests/check/gst/gstpipeline.c: (GST_START_TEST):
668         * tests/check/gst/gstquery.c: (GST_START_TEST):
669         * tests/check/gst/gstutils.c: (GST_START_TEST):
670         * tests/check/libs/basesrc.c: (GST_START_TEST):
671         * tests/check/pipelines/parse-launch.c: (run_delayed_test),
672         (gst_parse_test_element_change_state):
673         Don't use gst_element_get_pad().
674
675 2008-05-21  Felipe Contreras  <felipe.contreras@gmail.com>
676
677         * docs/Makefile.am:
678         Fix installing plugin documentation when gtk-doc is disabled.
679
680 2008-05-21  Wim Taymans  <wim.taymans@collabora.co.uk>
681
682         * docs/manual/advanced-autoplugging.xml:
683         * docs/manual/basics-helloworld.xml:
684         * docs/manual/basics-pads.xml:
685         * docs/manual/highlevel-components.xml:
686         Avoid using a bad function in the example code.
687
688 2008-05-21  Wim Taymans  <wim.taymans@collabora.co.uk>
689
690         * gst/gstclock.c: (gst_clock_set_calibration):
691         Fix debug of the new clock rate.
692
693 2008-05-21  Sebastian Dröge  <slomo@circular-chaos.org>
694
695         * win32/common/libgstbase.def:
696         Add gst_base_sink_wait_clock() to the exported symbols.
697
698 2008-05-20  Sebastian Dröge  <slomo@circular-chaos.org>
699
700         Patch by: Tim-Philipp Müller  <tim.muller at collabora co uk>
701
702         * libs/gst/base/gstbasetransform.c:
703         (gst_base_transform_sink_event):
704         Unref events that the GstBaseTransform::event vfunc didn't want to
705         have forwarded by the base class. Closes a leak in identity.
706         Fixes bug #446763.
707
708 2008-05-19  Wim Taymans  <wim.taymans@collabora.co.uk>
709
710         * docs/libs/gstreamer-libs-sections.txt:
711         * libs/gst/base/gstbasesink.c: (gst_base_sink_wait_clock):
712         * libs/gst/base/gstbasesink.h:
713         Expose a method that was previously used internally to synchronize
714         against the clock because it can be useful for subclasses too.
715         API: GstBaseSink::gst_base_sink_wait_clock()
716
717 2008-05-19  Tim-Philipp Müller  <tim.muller at collabora co uk>
718
719         * gst/gstpad.c: (gst_pad_buffer_alloc_unchecked):
720           Add sanity check to make sure we don't get smaller buffers
721           than requested (and fallback to normal buffer alloc if we do).
722
723 2008-05-19  Wim Taymans  <wim.taymans@collabora.co.uk>
724
725         * libs/gst/base/gstbasesink.c: (gst_base_sink_adjust_time),
726         (gst_base_sink_wait_clock), (gst_base_sink_wait_eos),
727         (gst_base_sink_do_sync), (gst_base_sink_chain_unlocked):
728         Refactor adjusting the running_time with latency and offset into a
729         separate method.
730         When doing clipping, we still want to use the subclass get_times method,
731         just in case the DURATION or TIMESTAMP are not set.
732
733 2008-05-19  Tim-Philipp Müller  <tim.muller at collabora co uk>
734
735         * docs/gst/gstreamer-sections.txt:
736         * gst/gsttypefind.c: (gst_type_find_suggest_simple):
737         * gst/gsttypefind.h:
738         * win32/common/libgstreamer.def:
739           API: add gst_type_find_suggest_simple(), #533740.
740
741 2008-05-19  Tim-Philipp Müller  <tim.muller at collabora co uk>
742
743         * libs/gst/base/gstbasesrc.c: (gst_base_src_start):
744           Use right error code when typefinding fails, so we can use
745           the default (translated) error messages.
746
747 2008-05-19  Wim Taymans  <wim.taymans@collabora.co.uk>
748
749         * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range),
750         (gst_base_src_start):
751         When the subclass did not set caps on outgoing buffers, configure the
752         caps we negotiated on the source pad.
753         When the typefind helper does not find caps, error out properly instead
754         of doing things with NULL caps.
755
756 2008-05-18  Tim-Philipp Müller  <tim.muller at collabora co uk>
757
758         * gst/gsttypefind.h:
759           Tabs to spaces, oh yes!
760
761 2008-05-18  Tim-Philipp Müller  <tim.muller at collabora co uk>
762
763         * tests/check/gst/gstcaps.c: (test_intersect2), (gst_caps_suite):
764           Add David's and Benjamin's tests for array intersection to the
765           unit test suite (#147931).
766
767 2008-05-18  Tim-Philipp Müller  <tim.muller at collabora co uk>
768
769         * gst/gstevent.c:
770           Document that gst_event_new_tag() and gst_event_new_navigation()
771           take ownership of the taglist/structure passed to them. (#533635).
772
773 2008-05-17  Jan Schmidt  <jan.schmidt@sun.com>
774
775         * docs/Makefile.am:
776         Don't descend into the plugins dir if plugin docs building
777         is disabled.
778
779         * docs/README:
780         Add a note about the new type:GTypeName syntax for the plugin
781         documentation .types file.
782
783 2008-05-17  Sebastian Dröge  <slomo@circular-chaos.org>
784
785         * gst/gstmessage.c: (gst_message_new_error),
786         (gst_message_new_warning), (gst_message_new_info):
787         * gst/gstmessage.h:
788         Mark the debug string parameters as const. Fixes bug #533490.
789
790 2008-05-16  Sebastian Dröge  <slomo@circular-chaos.org>
791
792         * libs/gst/base/gsttypefindhelper.c: (helper_find_peek):
793         Sort buffer cache list by end offsets. This makes sure that we don't
794         stop to search for a cached buffer that contains the requested data
795         too early.
796         Also read a minimum of 4k bytes instead of 512 bytes as this is a bit
797         more efficient. Fixes bug #459862.
798
799 2008-05-14  Stefan Kost  <ensonic@users.sf.net>
800
801         * gst/gstinfo.c:
802           Explain why we copy the list.
803
804         * gst/gstpipeline.c:
805           Improve docs.
806
807         * gst/gstutils.c:
808           Add one debug-log statement to help tracing probelms with linking pads.
809
810 2008-05-12  Stefan Kost  <ensonic@users.sf.net>
811
812         * tests/check/gst/gstinfo.c:
813         Add a test for removing the default log handler. Seems to fail under
814         windows.
815
816 2008-05-14  Wim Taymans  <wim.taymans@collabora.co.uk>
817
818         * gst/gstpad.c: (gst_pad_peer_accept_caps):
819         Release pad lock before calling out to avoid a possible deadlock.
820
821 2008-05-14  Wim Taymans  <wim.taymans@collabora.co.uk>
822
823         * gst/parse/grammar.y:
824         Remove unneeded value unset.
825
826         * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
827         Add unit test for de/serialization of caps.
828
829 2008-05-13  Sebastian Dröge  <slomo@circular-chaos.org>
830
831         * plugins/elements/gstfakesink.c:
832         (marshal_VOID__MINIOBJECT_OBJECT), (gst_fake_sink_class_init):
833         * plugins/elements/gstfakesrc.c: (marshal_VOID__MINIOBJECT_OBJECT),
834         (gst_fake_src_class_init):
835         Use custom marshalers that take GstMiniObject as first parameter.
836         Using OBJECT as parameter while a GstMiniObject is given will lead
837         to assertions if built with G_ENABLE_DEBUG. Fixes bug #525532.
838
839 2008-05-13  Sebastian Dröge  <slomo@circular-chaos.org>
840
841         * plugins/elements/gsttypefindelement.c:
842         (gst_type_find_element_handle_event),
843         (gst_type_find_element_send_cached_events),
844         (gst_type_find_element_change_state):
845         Clean up on FLUSH_STOP and not FLUSH_START. Forward both events
846         immediately.
847
848 2008-05-13  Sebastian Dröge  <slomo@circular-chaos.org>
849
850         * plugins/elements/gsttypefindelement.c:
851         (gst_type_find_handle_src_query), (stop_typefinding),
852         (gst_type_find_element_handle_event),
853         (gst_type_find_element_send_cached_events),
854         (gst_type_find_element_change_state):
855         Forward FLUSH_START events immediately and clean up instead of
856         caching them.
857
858 2008-05-13  Sebastian Dröge  <slomo@circular-chaos.org>
859
860         Patch by: Sjoerd Simons <sjoerd at luon dot net>
861
862         * libs/gst/base/gstbasetransform.c:
863         (gst_base_transform_buffer_alloc):
864         Check the caps of the buffer returned by gst_pad_alloc_buffer() and
865         fall back to default negotiation in the chain function if the caps
866         are different from what was requested. Fixes bug #526768.
867
868 2008-05-09  Tim-Philipp Müller  <tim.muller at collabora co uk>
869
870         * gst/gstsegment.c:
871         * tests/check/gst/gstsegment.c:
872           No, let's not use g_slice_{dup|copy} here, since they only exist
873           since GLib 2.14 and we still depend only on >= 2.12. Also add
874           unit test for gst_segment_copy().
875
876 2008-05-09  Tim-Philipp Müller  <tim.muller at collabora co uk>
877
878         * gst/gstutils.h: (GST_BOILERPLATE_FULL):
879           Try to fix 'dereferencing type-punned pointer will break strict
880           aliasing rules' warnings with C++ compilers and GLib >= 2.14.0: GLib
881           changed the default GType typedef from gulong to gsize at some point,
882           but kept GType typedef'ed to gulong for C++ for ABI reasons; the
883           g_once_* functions all take a gsize * though, so work around the type
884           mismatch for C++ by doing everything in gsize and casting to GType
885           later.
886
887 2008-05-09  Jan Schmidt  <jan.schmidt@sun.com>
888
889         * plugins/elements/gstmultiqueue.c:
890         Add documentation for the signals to push our core plugin docs
891         coverage back up to 100%.
892
893 2008-05-08  Ole André Vadla Ravnås  <ole.andre.ravnas at tandberg com>
894
895         * gst/gstinfo.h (GST_FUNCTION):
896           Reverted GST_FUNCTION to the old version as we don't want the
897           full signature in C++ code. Also added support for MSVC.
898
899 2008-05-08  Sebastian Dröge  <slomo@circular-chaos.org>
900
901         * gst/gstutils.h:
902         Intern the type name string, similar to what G_DEFINE_TYPE does.
903
904 2008-05-08  Sebastian Dröge  <slomo@circular-chaos.org>
905
906         * gst/gstutils.h:
907         Make GST_BOILERPLATE thread-safe if building with GLib 2.14 or newer.
908
909 2008-05-08  Sebastian Dröge  <slomo@circular-chaos.org>
910
911         Based on a patch by: Sjoerd Simons <sjoerd at luon dot net>
912
913         * libs/gst/base/gstbasetransform.c:
914         (gst_base_transform_buffer_alloc):
915         Don't passthrough buffer allocation too easily if the caps change.
916         This breaks when working in passthrough mode and upstream changes
917         it's caps. Fixes bug #526768.
918
919 2008-05-07  Ole André Vadla Ravnås  <ole.andre.ravnas at tandberg com>
920
921         * gst/gstinfo.c (gst_debug_log_valist):
922           Improved the __FILE__ part of debug output for MSVC.
923
924 2008-05-07  Ole André Vadla Ravnås  <ole.andre.ravnas at tandberg com>
925
926         * libs/gst/base/gstbasesrc.c (gst_base_src_default_query):
927           Declaration after statement fix for compilers like MSVC.
928
929 2008-05-07  Ole André Vadla Ravnås  <ole.andre.ravnas at tandberg com>
930
931         * win32/common/config.h.in:
932           Don't define GST_FUNCTION, if GLib supports MSVC we'd much rather
933           use the real thing than having "???" unconditionally.
934
935 2008-05-07  Ole André Vadla Ravnås  <ole.andre.ravnas at tandberg com>
936
937         * gst/gstinfo.h (GST_FUNCTION):
938           Made GST_FUNCTION an alias for G_STRFUNC to avoid duplication.
939
940 2008-05-07  Wim Taymans  <wim.taymans@collabora.co.uk>
941
942         * libs/gst/base/gstadapter.c: (gst_adapter_available_fast):
943         Small code cleanup.
944
945         * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency),
946         (gst_base_sink_set_flushing):
947         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek):
948         Fix some comments.
949
950 2008-05-07  Wim Taymans  <wim.taymans@collabora.co.uk>
951
952         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
953         (gst_fake_src_init), (gst_fake_src_set_property),
954         (gst_fake_src_get_property), (gst_fake_src_start):
955         * plugins/elements/gstfakesrc.h:
956         Added format property to control the format of the newsegment events.
957         API: GstFakeSrc:format
958
959 2008-05-06  Sebastian Dröge  <slomo@circular-chaos.org>
960
961         * win32/common/libgstreamer.def:
962         Add gst_pad_has_name() to the exported symbols.
963
964 2008-05-06  Sebastian Dröge  <slomo@circular-chaos.org>
965
966         * gst/gstpad.c: (gst_pad_alloc_buffer_full):
967         * libs/gst/base/gstbasetransform.c:
968         (gst_base_transform_prepare_output_buffer):
969         Don't allow negative sizes when allocating new buffers.
970         Fixes bug #461253.
971
972 2008-05-05  Tim-Philipp Müller  <tim.muller at collabora co uk>
973
974         Patch by: Sjoerd Simons <sjoerd at luon net>
975
976         * gst/gstbus.c: (gst_bus_source_dispatch):
977           Don't print a warning if the queue is empty when we try to pop
978           here. That could happen if another thread or callback set the
979           bus to flushing between the source's check/prepare and the
980           dispatch being called (#531538).
981
982 2008-05-05  Tim-Philipp Müller  <tim.muller at collabora co uk>
983
984         * plugins/elements/gstmultiqueue.c:
985           Small docs fix.
986         
987 2008-05-05  Sebastian Dröge  <slomo@circular-chaos.org>
988
989         * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
990         Add unit test for deserializing uint64s and check some really large
991         numbers in the int64 test.
992
993 2008-05-04  Sebastian Dröge  <slomo@circular-chaos.org>
994
995         * tools/gst-inspect.c: (n_print), (print_hierarchy),
996         (print_interfaces), (print_element_properties_info),
997         (print_signal_info):
998         Use "%s" as format string instead of printing strings directly.
999
1000 2008-05-04  Sebastian Dröge  <slomo@circular-chaos.org>
1001
1002         * gst/gstclock.c: (gst_clock_set_calibration):
1003         Make some checks actually useful.
1004
1005         * gst/gstregistrybinary.c: (gst_registry_binary_load_plugin):
1006         Remove some unused code. Unsigned integers tend to be >= 0.
1007
1008 2008-05-03  Tim-Philipp Müller  <tim.muller at collabora co uk>
1009
1010         * gst/gstminiobject.c: (gst_value_get_mini_object):
1011           Fix 'Since:' version in gst_value_dup_mini_object() docs blurb: this
1012           function was not in the unscheduled 0.10.19 release.
1013
1014 2008-05-03  Tim-Philipp Müller  <tim.muller at collabora co uk>
1015
1016         * gst/gstregistry.c: (gst_registry_scan_path_level):
1017           Only print one log message per non-plugin file.
1018
1019 2008-05-03  Tim-Philipp Müller  <tim.muller at collabora co uk>
1020
1021         * gst/gstinfo.c: (gst_debug_log_default):
1022           Fix alignment of debug log columns on 64-bit.
1023
1024 2008-05-03  Tim-Philipp Müller  <tim.muller at collabora co uk>
1025
1026         * docs/libs/Makefile.am:
1027         * docs/libs/gstreamer-libs-sections.txt:
1028           Ignore private controller headers for docs.
1029
1030 2008-05-03  Sebastian Dröge  <slomo@circular-chaos.org>
1031
1032         * libs/gst/controller/gstcontrollerprivate.h:
1033         * libs/gst/controller/gsthelper.c:
1034         * libs/gst/controller/gstinterpolation.c:
1035         * libs/gst/controller/gstinterpolationcontrolsource.c:
1036         (gst_interpolation_control_source_set_interpolation_mode):
1037         * libs/gst/controller/gstinterpolationcontrolsourceprivate.h:
1038         * libs/gst/controller/lib.c:
1039         Move some private declarations into private headers.
1040
1041 2008-05-02  Sebastian Dröge  <slomo@circular-chaos.org>
1042
1043         * gst/gstdebugutils.c: (debug_dump_element_pad):
1044         Remove some code that is unused after Stefan's refactoring and uses
1045         uninitialized variables now, resulting in a compiler warning.
1046
1047 2008-05-01  Tim-Philipp Müller  <tim.muller at collabora co uk>
1048
1049         * gst/gstregistry.c: (gst_registry_scan_path_level):
1050           Run g_str_has_suffix() only on the file name, not the
1051           entire file path.
1052
1053 2008-04-30  Tim-Philipp Müller  <tim.muller at collabora co uk>
1054
1055         * plugins/elements/gstqueue.c: (gst_queue_leak_downstream):
1056           Since we're not called only from the chain function any longer,
1057           we can't assume that there's always data in the queue, so move
1058           the is_full check to the beginning of the loop (otherwise we'd
1059           hit the assert when changing the limit properties while the
1060           queue is empty or not running yet).
1061           Also, only set a discont if items were actually removed from
1062           the queue.
1063
1064         * tests/check/elements/queue.c: (test_leaky_downstream):
1065           Test case for the above.
1066
1067 2008-04-30  Wim Taymans  <wim.taymans@collabora.co.uk>
1068
1069         Patch by: Jonas Holmberg <jonas dot holmberg at axis dot com>
1070
1071         * plugins/elements/gstqueue.c: (gst_queue_leak_downstream),
1072         (gst_queue_chain), (queue_capacity_change),
1073         (gst_queue_set_property):
1074         When changing thr max capacity of a leaky queue, immediatly drop buffers
1075         instead of waiting for a push on the sinkpad. Fixes #530637.
1076
1077 2008-04-30  Stefan Kost  <ensonic@users.sf.net>
1078
1079         * gst/gstdebugutils.c:
1080           Refactor code and fix handling of ghostpads and their proxypads.
1081
1082 2008-04-29  Wim Taymans  <wim.taymans@collabora.co.uk>
1083
1084         * docs/gst/gstreamer-sections.txt:
1085         * gst/gstevent.c: (gst_event_has_name):
1086         * gst/gstevent.h:
1087         * tests/check/gst/gstevent.c: (GST_START_TEST):
1088         Add method to conveniently check the name of a custom event with
1089         gst_event_has_name().
1090         Reformat the event docs so that related methods are put together instead
1091         of the default alphabetical sort.
1092         Update unit test with new method.
1093         API: GstEvent::gst_event_has_name()
1094
1095 2008-04-28  Michael Smith <msmith@songbirdnest.com>
1096
1097         * libs/gst/check/Makefile.am:
1098           Don't add an explicit link to libgstreamer-0.10.la; it's already
1099           included in GST_OBJ_LIBS.
1100
1101 2008-04-28  Sebastian Dröge  <slomo@circular-chaos.org>
1102
1103         * gst/gst.c:
1104         Register GstClock type from a type-safe context. Fixes bug #530317.
1105
1106 2008-04-25  Michael Smith <msmith@songbirdnest.com>
1107
1108         Patch by Edward Hervey <edward.hervey@collabora.co.uk>
1109         * tools/gst-run.c:
1110           Include <unistd.h> conditionally on HAVE_UNISTD_H as elsewhere.
1111
1112 2008-04-25  Wim Taymans  <wim.taymans@collabora.co.uk>
1113
1114         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
1115         (gst_bin_dispose):
1116         Use the GLib stuff to create a private structure.
1117         Add some locking around some dispose methods to make them a little
1118         safer, see #529723. Patch by: Antoine Tremblay <hexa00 at gmail dot com>
1119
1120 2008-04-25  Stefan Kost  <ensonic@users.sf.net>
1121
1122         * libs/gst/base/gstbasesink.h:
1123         * libs/gst/base/gstbasesrc.h:
1124         * libs/gst/base/gstbasetransform.h:
1125         * libs/gst/base/gstcollectpads.h:
1126           Fix doc typos and unify caps a bit.
1127
1128 2008-04-25  Stefan Kost  <ensonic@users.sf.net>
1129
1130         * tools/gst-launch.1.in:
1131           Forgot to also add the envvar docs here.
1132
1133 2008-04-25  Tim-Philipp Müller  <tim at centricular dot net>
1134
1135         * gst/gst.c: (init_post), (gst_deinit):
1136         * tests/check/gst/gstpipeline.c: (GST_START_TEST), (pipeline_thread),
1137           (test_concurrent_create), (gst_pipeline_suite):
1138           Ref some more classes in gst_init() to work around thread-safety
1139           issues in pre-2.16 GLibs, and add basic unit test.
1140
1141 2008-04-25  Wim Taymans  <wim.taymans@collabora.co.uk>
1142
1143         * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency),
1144         (gst_base_sink_send_event):
1145         Rearrange the latency query code. We always want to do the upstream
1146         query, even if we are not live so that the upstream elements can get the
1147         latency results too. If we fail doing the query and we are live, we
1148         return TRUE afterwards.
1149
1150 2008-04-24  Stefan Kost  <ensonic@users.sf.net>
1151
1152         patch by: Jason Zhao <e3423c@motorola.com>
1153
1154         * docs/gst/running.xml:
1155         * gst/gst.c:
1156           Enable/disable scan_and_update_registry() based on commandline switch
1157           or environment variable. Fixes #520468.
1158           
1159         * ChangeLog:
1160           Fix typo in my previous commit.
1161
1162 2008-04-24  Stefan Kost  <ensonic@users.sf.net>
1163
1164         * gst/gstregistrybinary.c:
1165           Add a warning if we hit unhandled factories when saving.
1166           More debug logging detail, but move to LOG category.
1167
1168 2008-04-24  Stefan Kost  <ensonic@users.sf.net>
1169
1170         * gst/gstregistry.c:
1171           Tell the *truth* when improving the documentation.
1172
1173 2008-04-23  Sebastian Dröge  <slomo@circular-chaos.org>
1174
1175         * gst/gstelementfactory.c: (gst_element_factory_make):
1176         Unref the factory after it was used the last time, not before.
1177
1178         * gst/gstindexfactory.c: (gst_index_factory_make):
1179         Improve debugging a bit and don't leak a ref to the index factory with
1180         each call.
1181
1182 2008-04-23  Stefan Kost  <ensonic@users.sf.net>
1183
1184         * gst/gstregistry.c:
1185           Improve the documentation.
1186
1187 2008-04-23  Stefan Kost  <ensonic@users.sf.net>
1188
1189         * gst/gstsegment.c:
1190           The glib macro seems to be borked. Use g_slice_copy directly and cast
1191           in the hope that this fixes the warning on 64bit.
1192
1193 2008-04-23  Stefan Kost  <ensonic@users.sf.net>
1194
1195         * gst/gstsegment.c:
1196           Document the new function. Use g_slice_dup() (no need for
1197           gst_segment_init()).    
1198
1199 2008-04-23  Stefan Kost  <ensonic@users.sf.net>
1200
1201         * docs/gst/gstreamer-sections.txt:
1202           Move GParamSepc macros to standart section.
1203   
1204         * gst/gstbin.c:
1205           Dn't document _get_type - its in private section in docs anyway and
1206           this doc-blob was incomplete.
1207
1208         * gst/gstclock.h:
1209           Fix wrong symbol names in docs.
1210
1211         * gst/gstmacros.h:
1212           Add once doc sentence.
1213
1214         * tests/check/gst/.cvsignore:
1215           Ignore more.
1216
1217 2008-04-21  Stefan Kost  <ensonic@users.sf.net>
1218
1219         * docs/gst/Makefile.am:
1220           And remove those libs here.
1221
1222 2008-04-21  Tim-Philipp Müller  <tim at centricular dot net>
1223
1224         * docs/libs/Makefile.am:
1225           Fix docs build again by adding libgstnet-0.10.so to SCANOBJ_DEPS.
1226
1227 2008-04-21  Wim Taymans  <wim.taymans@collabora.co.uk>
1228
1229         Patch by: Olivier Crete <tester at tester dot ca>
1230
1231         * plugins/elements/gstqueue.c: (gst_queue_handle_src_query):
1232         Add the min-threshold to the min latency if possible. Fixes #529148.
1233
1234 2008-04-21  Stefan Kost  <ensonic@users.sf.net>
1235
1236         * docs/gst/gstreamer.types.in:
1237           Stupid editor, I removed that line as it should go in yet.
1238
1239 2008-04-21  Stefan Kost  <ensonic@users.sf.net>
1240
1241         * docs/gst/gstreamer.types.in:
1242         * docs/libs/gstreamer-libs.types:
1243           Remove library types fro core docs and have them in libs docs.
1244           Reformat and cleanup. Add comment for miniobject types.
1245
1246 2008-04-20  Tim-Philipp Müller  <tim at centricular dot net>
1247
1248         * gst/gsturi.c: (gst_uri_get_protocol):
1249           Fix leak: g_strdown operates on the string in place, while
1250           g_ascii_strdown() returns a newly-allocated string.
1251
1252 2008-04-20  Sebastian Dröge  <slomo@circular-chaos.org>
1253
1254         * tools/gst-inspect.c: (print_uri_handler_info),
1255         (print_element_info):
1256         Print the URI protocols and the URI type supported by the element.
1257
1258 2008-04-19  Sebastian Dröge  <slomo@circular-chaos.org>
1259
1260         * gst/gsttaglist.c: (gst_tag_merge_strings_with_comma):
1261         Use g_value_take_string() instead of the deprecated
1262         g_value_set_string_take_ownership().
1263
1264 2008-04-19  Sebastian Dröge  <slomo@circular-chaos.org>
1265
1266         * gst/gstregistrybinary.c: (_gst_crc32):
1267         Return the old CRC instead of 0 if we give a NULL buffer
1268         or a buffer with a length of 0.
1269
1270 2008-04-19  Sebastian Dröge  <slomo@circular-chaos.org>
1271
1272         * gst/gsturi.c: (gst_uri_protocol_check_internal),
1273         (gst_uri_get_protocol), (gst_uri_has_protocol),
1274         (gst_uri_construct), (gst_uri_handler_set_uri):
1275         A valid URI scheme can also include '+', '-' and '.' additional
1276         to alphanumeric characters as per RFC 3986 Section 3.1.
1277
1278         Handle URI schemes case insensitive in all places and convert
1279         to lower-case when constructing an URI or setting an URI with
1280         the GstURIHandler interface. Fixes bug #528868.
1281         All elements can still assume (as before) that they will
1282         get passed URIs with a lower-case URI scheme by the GstURIHandler
1283         interface.
1284
1285 2008-04-17  Tim-Philipp Müller  <tim at centricular dot net>
1286
1287         * gst/gstcaps.c: (gst_static_caps_get):
1288         * gst/gstclock.c: (gst_clock_entry_new):
1289           Don't use g_atomic_set_int where it's not needed.
1290
1291 2008-04-17  Wim Taymans  <wim.taymans@collabora.co.uk>
1292
1293         * gst/gstvalue.c: (gst_value_deserialize_caps):
1294         * gst/parse/grammar.y:
1295         Fix 2 caps leaks.
1296
1297 2008-04-17  Sebastian Dröge  <slomo@circular-chaos.org>
1298
1299         * gst/gstutils.c: (gst_atomic_int_set):
1300         Use g_atomic_int_set() here too instead of assignment +
1301         g_atomic_int_get().
1302
1303 2008-04-17  Sebastian Dröge  <slomo@circular-chaos.org>
1304         
1305         * gst/gstutils.c:
1306         * gst/gstutils.h:
1307         API: Deprecate gst_atomic_int_set(), g_atomic_int_set() should be used
1308         now that we depend on new enough GLib.
1309
1310         * gst/gstcaps.c: (gst_static_caps_get):
1311         * gst/gstclock.c: (gst_clock_entry_new):
1312         * gst/gstinfo.c: (_gst_debug_init), (gst_debug_set_colored),
1313         (gst_debug_set_default_threshold), (_gst_debug_category_new),
1314         (gst_debug_category_set_threshold):
1315         * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
1316         (gst_base_sink_set_qos_enabled):
1317         * libs/gst/net/gstnettimeprovider.c:
1318         (gst_net_time_provider_set_property):
1319         Use g_atomic_int_set() instead of gst_atomic_int_set().
1320
1321 2008-04-16  Stefan Kost  <ensonic@users.sf.net>
1322
1323         * gst/gstquery.c:
1324           Also use G_GINT64_CONSTANT for the queries.
1325
1326 2008-04-16  Stefan Kost  <ensonic@users.sf.net>
1327
1328         * gst/gstmessage.c:
1329           Use G_GINT64_CONSTANT in varargs function.
1330
1331 2008-04-16  Sebastian Dröge  <slomo@circular-chaos.org>
1332
1333         * gst/gstregistrybinary.c: (gst_registry_binary_initialize_magic):
1334         Initialize the registry magic with zeroes.
1335
1336 2008-04-16  Sebastian Dröge  <slomo@circular-chaos.org>
1337
1338         * gst/gstregistrybinary.c: (_gst_crc32),
1339         (gst_registry_binary_write),
1340         (gst_registry_binary_initialize_magic),
1341         (gst_registry_binary_write_cache),
1342         (gst_registry_binary_check_magic),
1343         (gst_registry_binary_read_cache):
1344         * gst/gstregistrybinary.h:
1345         Add crc32 checksum to the binary registry file and check this before
1346         accepting a registry file.
1347
1348         Also free the data list when writing to the registry file fails.
1349
1350 2008-04-16  Sebastian Dröge  <slomo@circular-chaos.org>
1351
1352         * gst/gstregistrybinary.c: (gst_registry_binary_save_feature),
1353         (gst_registry_binary_load_feature),
1354         (gst_registry_binary_load_plugin):
1355         If an element supports the Uri interface, returns a valid pointer
1356         to the supported URI protocols but this pointer contains nothing
1357         don't try to save that as it will corrupt the registry.
1358
1359         Don't unref the plugin if we added it to the registry already but
1360         fail to load a feature as gst_registry_add_plugin() takes ownership
1361         of the plugin.
1362
1363         Improve debugging a bit.
1364
1365 2008-04-16  Stefan Kost  <ensonic@users.sf.net>
1366
1367         * gst/gsttaglist.h:
1368           Clarify some tag item docs after discussion on irc.
1369
1370 2008-04-15  Stefan Kost  <ensonic@users.sf.net>
1371
1372         * docs/gst/gstreamer-docs.sgml:
1373           Remove commented out plugins (they have their own docs). Update
1374           comments.
1375
1376 2008-04-15  Stefan Kost  <ensonic@users.sf.net>
1377
1378         * docs/gst/gstreamer-docs.sgml:
1379         * docs/gst/gstreamer-sections.txt:
1380         * gst/gstparamspecs.c:
1381         * gst/gstparamspecs.h:
1382           Add GST_PARAM_CONTROLLABLE and GST_PARAM_USER_SHIFT. Move paramspec
1383           docs to own section.
1384
1385         * gst/gstvalue.c:
1386           This now only documents GValue.
1387           
1388         * docs/libs/gstreamer-libs-sections.txt:
1389         * libs/gst/controller/gstcontroller.h:
1390           Remove GST_PARAM_CONTROLLABLE.
1391
1392 2008-04-15  Stefan Kost  <ensonic@users.sf.net>
1393
1394         * docs/README:
1395           Correct file path. Tell about how to use -overrides.txt.
1396         * docs/design/draft-tagreading.txt:
1397           Small design update.
1398
1399 2008-04-14  Sebastian Dröge  <slomo@circular-chaos.org>
1400
1401         * gst/gstregistrybinary.c: (gst_registry_binary_load_feature),
1402         (gst_registry_binary_load_plugin):
1403         Fix a typo in a debug message and revert change from yesterday as
1404         gst_registry_add_plugin() will only fail if something is really wrong
1405         already and we can't survive it anyway.
1406
1407 2008-04-14  Tim-Philipp Müller  <tim at centricular dot net>
1408
1409         * gst/gst.c: (init_post), (gst_deinit):
1410           Pre-register GstGError GType from a thread-safe context
1411           (fixes #527967); unref enum type classes in deinit.
1412
1413 2008-04-13  Tim-Philipp Müller  <tim at centricular dot net>
1414
1415         Patch by: Rene Stadler <mail at renestadler de>
1416
1417         * gst/gsttagsetter.c: (gst_tag_setter_merge_tags):
1418           Merging an empty list with another list in KEEP_ALL mode should
1419           yield an empty list as result and not the second list (#512578).
1420
1421         * tests/check/gst/gsttagsetter.c:
1422           Add unit test for tag merge modes and the aforementioned bug.
1423
1424 2008-04-13  Tim-Philipp Müller  <tim at centricular dot net>
1425
1426         Patch by: Rene Stadler <mail at renestadler de>
1427
1428         * gst/gsttaglist.h:
1429           Fix description to match the order in the table (#512577).
1430   
1431 2008-04-13  Tim-Philipp Müller  <tim at centricular dot net>
1432
1433         Patch by: Kwang Yul Seo  <kwangyul.seo gmail com>
1434
1435         * libs/gst/net/gstnettimepacket.h:
1436         * docs/libs/gstreamer-libs-sections.txt:
1437           Define socklen_t as int if it's not defined yet. Fixes compilation
1438           with MSVC6 and other versions where socklen_t is not defined in
1439           the windows headers (#518022).
1440
1441 2008-04-13  Sebastian Dröge  <slomo@circular-chaos.org>
1442
1443         * gst/gstregistrybinary.c: (gst_registry_binary_load_plugin):
1444         If gst_registry_add_plugin() fails our reference to the plugin is
1445         invalid so don't try to use it anymore and instead error out.
1446
1447 2008-04-12  Tim-Philipp Müller  <tim at centricular dot net>
1448
1449         * tools/gst-xmlinspect.c: (print_element_info), (main):
1450           De-cruft a bit. If no argument is specified, print all elements in
1451           XML syntax rather than a freestyle list of elements like gst-inspect.
1452           Also, don't print XML header chunk unless we actually have something
1453           to print (ie. don't print it before an error message); print error
1454           message to stderr not stdout. Remove support for printing plugin
1455           info (it would just output something freestyle along the lines of
1456           gst-inspect so far), which fixes #514507. Also add license header.
1457
1458 2008-04-11  Julien Moutte  <julien@fluendo.com>
1459
1460         Mac OS X love...
1461         * configure.ac: Merge platform specific defines, introduce a new
1462         define on OS X to remember that forking when updating registry is
1463         unsafe.
1464         * docs/faq/gst-uninstalled: Updated to include gst-libs in the bad
1465         module.
1466         * gst/gst.c: Don't fork when updating registry if GST_HAVE_UNSAFE_FORK
1467         is defined.
1468         * gst/gstregistry.c: (gst_registry_scan_path_level): Fixed a bogus
1469         condition that leads to absolutely no plugins being registered on
1470         OS X.
1471
1472 2008-04-10  Tim-Philipp Müller  <tim at centricular dot net>
1473
1474         Based on patch by: José Alburquerque <jaalburqu at svn dot gnome dot org>
1475
1476         * gst/gstutils.c: (gst_pad_add_data_probe),
1477           (gst_pad_add_data_probe_full), (gst_pad_add_event_probe),
1478           (gst_pad_add_event_probe_full), (gst_pad_add_buffer_probe),
1479           (gst_pad_add_buffer_probe_full):
1480         * gst/gstutils.h:
1481         * docs/gst/gstreamer-sections.txt:
1482         * win32/common/libgstreamer.def:
1483           Add gst_pad_add_*_probe_full() functions with a notify callback that
1484           lets the caller free the data it passes to the probe functions. This
1485           is useful for bindings such as gst-python or gstreamermm (#526814).
1486           API: gst_pad_add_data_probe_full
1487           API: gst_pad_add_buffer_probe_full
1488           API: gst_pad_add_event_probe_full
1489
1490         * tests/check/gst/gstutils.c:
1491           Add minimal unit test to make sure freeing the data actually works
1492           as expected.
1493
1494         * tests/benchmarks/.cvsignore:
1495           Random cvsignore addendum.
1496
1497 2008-04-10  Tim-Philipp Müller  <tim at centricular dot net>
1498
1499         * gst/gstdebugutils.h: (GST_DEBUG_BIN_TO_DOT_FILE_WITH_TS),
1500           (GST_DEBUG_BIN_TO_DOT_FILE):
1501           Mention GstDebugGraphDetails enum type in doc blurb so we get a link
1502           to it in the docs (since these are macros the types of the arguments
1503           won't be shown in the docs otherwise).
1504
1505 2008-04-10  Stefan Kost  <ensonic@users.sf.net>
1506
1507         * gst/gstpad.c:
1508           Do not abort on out of memory for pad_alloc_buffer.
1509
1510 2008-04-10  Stefan Kost  <ensonic@users.sf.net>
1511
1512         * libs/gst/check/gstcheck.c:
1513           Remove blank line between symbol name ad parameters to fix gtkdoc
1514           warning.
1515
1516 2008-04-09  Tim-Philipp Müller  <tim at centricular dot net>
1517
1518         Patch by:  José Alburquerque <jaalburqu at svn dot gnome dot org>
1519
1520         * docs/gst/gstreamer-sections.txt:
1521         * gst/gstsegment.c:
1522         * gst/gstsegment.h:
1523         * win32/common/libgstreamer.def:
1524           Expose gst_segment_copy() to make things easier for the c++ bindings.
1525           Fixes #518932.
1526           API: gst_segment_copy()
1527
1528 2008-04-09  Tim-Philipp Müller  <tim at centricular dot net>
1529
1530         * gst/gst.c: (gst_init_get_option_group), (init_post):
1531           Fix const position; ref GType classes for enum types to work
1532           around thread-safety issues in GLib versions < 2.16.
1533
1534 2008-04-09  Wim Taymans  <wim.taymans@collabora.co.uk>
1535
1536         * docs/design/part-buffering.txt:
1537         Fix some typos and set the estimated total for push mode to -1.
1538
1539         * gst/gstquery.c: (gst_query_new_buffering):
1540         Set buffering-left to 0 as we're not buffering by default.
1541
1542         * libs/gst/base/gstbasesrc.c: (gst_base_src_default_query):
1543         Implement BUFFERING query.
1544
1545 2008-04-09  Tim-Philipp Müller  <tim at centricular dot net>
1546
1547         Based on patch by: Milosz Derezynski <internalerror gmail com>
1548
1549         * gst/gsterror.c: (_gst_stream_errors_init):
1550         * gst/gsterror.h:
1551           Add two new error codes for encrypted content. Fixes #524659.
1552           API: GST_STREAM_ERROR_DECRYPT
1553           API: GST_STREAM_ERROR_DECRYPT_NOKEY
1554
1555 2008-04-09  Tim-Philipp Müller  <tim at centricular dot net>
1556
1557         * gst/gstquery.h:
1558           Fix typo.
1559
1560         * win32/common/libgstreamer.def:
1561           Add new functions.
1562
1563 2008-04-09  Sebastian Dröge  <slomo@circular-chaos.org>
1564
1565         * plugins/elements/gstidentity.c: (gst_identity_event),
1566         (gst_identity_start):
1567         Fix imperfect timestamp/offset checks when we get another NEWSEGMENT
1568         event after processing some data. Fixes bug #526042.
1569
1570 2008-04-08  Wim Taymans  <wim.taymans@collabora.co.uk>
1571
1572         * docs/gst/gstreamer-sections.txt:
1573         * gst/gstquery.c: (gst_query_parse_latency),
1574         (gst_query_set_buffering_percent),
1575         (gst_query_parse_buffering_percent),
1576         (gst_query_set_buffering_range), (gst_query_parse_buffering_range):
1577         * gst/gstquery.h:
1578         Rename _avail -> _range
1579         API: gst_query_set_buffering_range
1580         API: gst_query_parse_buffering_range
1581
1582 2008-04-08  Wim Taymans  <wim.taymans@collabora.co.uk>
1583
1584         * docs/design/part-buffering.txt:
1585         * gst/gstquark.c:
1586         * gst/gstquark.h:
1587         * gst/gstquery.c: (gst_query_parse_latency),
1588         (gst_query_new_buffering), (gst_query_set_buffering_percent),
1589         (gst_query_parse_buffering_percent):
1590         * gst/gstquery.h:
1591         Add busy field and quark for the buffering query so that the app can
1592         only use the query to see if buffering is in progress.
1593
1594 2008-04-08  Wim Taymans  <wim.taymans@collabora.co.uk>
1595
1596         * docs/gst/gstreamer-sections.txt:
1597         * gst/gstmessage.c: (gst_message_set_buffering_stats),
1598         (gst_message_parse_buffering_stats):
1599         * gst/gstmessage.h:
1600         * gst/gstquery.c: (gst_query_new_latency), (gst_query_set_latency),
1601         (gst_query_parse_latency), (gst_query_new_buffering),
1602         (gst_query_set_buffering_percent),
1603         (gst_query_parse_buffering_percent),
1604         (gst_query_set_buffering_stats), (gst_query_parse_buffering_stats),
1605         (gst_query_set_buffering_avail), (gst_query_parse_buffering_avail):
1606         * gst/gstquery.h:
1607         Reorder the message docs and headers for clarity.
1608         Add aditional buffering stats API for messages.
1609         Add buffering query.
1610         Convert some leftover queries to use GstQuark.
1611         API: gst_message_set_buffering_stats
1612         API: gst_message_parse_buffering_stats
1613         API: GST_QUERY_BUFFERING
1614         API: GstBufferingMode
1615         API: gst_query_new_buffering
1616         API: gst_query_set_buffering_percent
1617         API: gst_query_parse_buffering_percent
1618         API: gst_query_set_buffering_stats
1619         API: gst_query_parse_buffering_stats
1620
1621 2008-04-08  Wim Taymans  <wim.taymans@collabora.co.uk>
1622
1623         * gst/gstmessage.c: (gst_message_new_error),
1624         (gst_message_new_warning), (gst_message_new_info),
1625         (gst_message_new_buffering), (gst_message_new_state_changed),
1626         (gst_message_new_clock_provide), (gst_message_new_clock_lost),
1627         (gst_message_new_new_clock), (gst_message_new_segment_start),
1628         (gst_message_new_segment_done), (gst_message_new_duration),
1629         (gst_message_new_async_start), (gst_message_parse_buffering),
1630         (gst_message_parse_state_changed),
1631         (gst_message_parse_clock_provide), (gst_message_parse_clock_lost),
1632         (gst_message_parse_new_clock), (gst_message_parse_error),
1633         (gst_message_parse_warning), (gst_message_parse_info),
1634         (gst_message_parse_segment_start),
1635         (gst_message_parse_segment_done), (gst_message_parse_duration),
1636         (gst_message_parse_async_start):
1637         Use GstQuark for messages.
1638
1639 2008-04-08  Wim Taymans  <wim.taymans@collabora.co.uk>
1640
1641         * gst/gstquark.c: (_priv_gst_quarks_initialize):
1642         * gst/gstquark.h:
1643         Add some more quarks needed for messages and queries.
1644
1645 2008-04-08  Wim Taymans  <wim.taymans@collabora.co.uk>
1646
1647         * docs/design/part-buffering.txt:
1648         Remove the "none" buffering mode, STREAM is a good default.
1649         Move estimated-time to the avail query, that's when it will be needed.
1650         Other small typo fixes and updates.
1651
1652 2008-04-07  Tim-Philipp Müller  <tim at centricular dot net>
1653
1654         * gst/gstindex.c: (gst_index_resolver_get_type):
1655           Don't put descriptions into the nick field of a GEnumValue: it's not
1656           meant for that and some language bindings rely on the nick field to
1657           construct constants and the like. Fixes #526705.
1658
1659 2008-04-07  Tim-Philipp Müller  <tim at centricular dot net>
1660
1661         * NEWS:
1662         * RELEASE:
1663         * gstreamer.doap:
1664           Merge other changes from 0.10.19 release branch.
1665
1666 2008-04-06  Sebastian Dröge  <slomo@circular-chaos.org>
1667
1668         Patch by: Damien Lespiau <damien dot lespiau at gmail dot com>
1669
1670         * configure.ac:
1671         Actually build dlls when cross-compiling with mingw32.
1672         Fixes bug #526247.
1673
1674 2008-04-05  Sebastian Dröge  <slomo@circular-chaos.org>
1675
1676         Patch by: Damien Lespiau <damien dot lespiau at gmail dot com>
1677
1678         * gst/gstpoll.c:
1679         Fix compilation of GstPoll with mingw32. Fixes bug #526236.
1680
1681 2008-04-04  Wim Taymans  <wim.taymans@collabora.co.uk>
1682
1683         * docs/design/draft-latency.txt:
1684         Fix typo.
1685
1686         * docs/design/part-buffering.txt:
1687         Update design docs with more buffering ideas.
1688
1689 2008-04-03  Tim-Philipp Müller  <tim at centricular dot net>
1690
1691         * configure.ac:
1692           Bump version to 0.10.19.1 after the unscheduled 0.10.19 release.
1693
1694 2008-04-03  Stefan Kost  <ensonic@users.sf.net>
1695
1696         * configure.ac:
1697           Revert part that belongs to the preset patch.
1698
1699 2008-04-03  Stefan Kost  <ensonic@users.sf.net>
1700
1701         * configure.ac:
1702           Add qoutes to the define. Fixes # 525961.
1703
1704 2008-04-03  Sebastian Dröge  <slomo@circular-chaos.org>
1705
1706         * plugins/indexers/gstfileindex.c: (_file_index_id_free),
1707         (gst_file_index_load), (gst_file_index_add_id),
1708         (gst_file_index_get_assoc_entry):
1709         * plugins/indexers/gstmemindex.c: (gst_mem_index_free_format),
1710         (gst_mem_index_free_id), (gst_mem_index_add_id),
1711         (gst_mem_index_index_format):
1712         Use GSlice when possible.
1713
1714 2008-04-02  Sebastian Dröge  <slomo@circular-chaos.org>
1715
1716         * libs/gst/controller/gstinterpolationcontrolsource.c:
1717         (gst_control_point_free),
1718         (gst_interpolation_control_source_set_internal):
1719         Use GSlice for allocating the control points.
1720
1721 2008-04-02  Wim Taymans  <wim.taymans@collabora.co.uk>
1722
1723         * plugins/elements/gsttypefindelement.c:
1724         (gst_type_find_element_class_init),
1725         (gst_type_find_element_set_property),
1726         (gst_type_find_element_get_property),
1727         (gst_type_find_element_activate):
1728         * plugins/elements/gsttypefindelement.h:
1729         Cleanup properties.
1730         Fix pad leak when peer query fails.
1731         We can still typefind when the peer returns -1.
1732         Add property to force caps and bypass typefinding. This will be used in
1733         uridecodebin.
1734         API::force-caps
1735
1736 2008-04-01  Sebastian Dröge  <slomo@circular-chaos.org>
1737
1738         * configure.ac:
1739         Require GLib 2.12.
1740
1741         * gst/glib-compat-private.h:
1742         * gst/gstcaps.c: (gst_caps_new_empty), (_gst_caps_free):
1743         * gst/gstclock.c: (gst_clock_entry_new), (_gst_clock_id_free):
1744         Unconditionally use GSlice for allocation.
1745
1746         * gst/gstpoll.c: (gst_poll_new), (gst_poll_free):
1747         * gst/gstsegment.c: (gst_segment_new), (gst_segment_free):
1748         * gst/gststructure.c: (gst_structure_id_empty_new_with_size),
1749         (gst_structure_free):
1750         Use GSlice for allocation.
1751
1752 2008-04-01  Sebastian Dröge  <slomo@circular-chaos.org>
1753
1754         * gst/parse/Makefile.am:
1755         * gst/parse/grammar.tab.pre.c:
1756         * gst/parse/grammar.tab.pre.h:
1757         * gst/parse/lex._gst_parse_yy.pre.c:
1758         Require a new enough flex and bison and remove the parser hacks to use
1759         a pre-regenerated version.
1760
1761 2008-04-01  Julien Moutte  <julien@fluendo.com>
1762
1763         patch by: Jason Zhao <E3423C@motorola.com>
1764
1765         * configure.ac: Add a configure switch to disable option parsing
1766         in gst_init.
1767         Fixes #522882.
1768
1769 2008-03-31  Stefan Kost  <ensonic@users.sf.net>
1770
1771         * configure.ac:
1772         * gst/gstregistry.c:
1773           MacOS has plugins under .so or under .dylib. Add detection for MacOS
1774           and handle this case.
1775
1776         * gst/gst.c:
1777           Add a comment here describing, why we stat each plugin and not try to
1778           be smart.
1779
1780 2008-03-31  Sebastian Dröge  <slomo@circular-chaos.org>
1781
1782         * libs/gst/base/gstbasetransform.c:
1783         (gst_base_transform_prepare_output_buffer):
1784         Also unset the GAP flag on buffers if we're working inplace but
1785         the element is not GAP-aware.
1786
1787         Mark a comment as FIXME 0.11.
1788
1789 2008-03-31  Stefan Kost  <ensonic@users.sf.net>
1790
1791         * gst/gst.c:
1792           Fix type in log message and add one to ease seeing how long registry
1793           cache verification takes.
1794
1795         * gst/gstregistry.c:
1796           Only test plugin filenames against G_MODULE_SUFFIX.
1797
1798 2008-03-31  Stefan Kost  <ensonic@users.sf.net>
1799
1800         * gst/gstdebugutils.c:
1801           Improve handling ghost/proxy pads.
1802
1803 2008-03-27  Stefan Kost  <ensonic@users.sf.net>
1804
1805         * docs/gst/gstreamer-sections.txt:
1806         * gst/gstpad.c:
1807         * gst/gstpad.h:
1808           Expose macro to docs and fix link to it.
1809
1810 2008-03-27  Michael Smith <msmith@fluendo.com>
1811
1812         * libs/gst/dataprotocol/dataprotocol.c:
1813         (gst_dp_packet_from_event_1_0):
1814           When calculating GDP body CRC, use the correct pointer. 
1815           Fixes part of #522401.
1816
1817 2008-03-24  Wim Taymans  <wim.taymans@collabora.co.uk>
1818
1819         Patch by: Mark Nauwelaerts <manauw at skynet be>
1820
1821         * plugins/elements/gstidentity.c: (gst_identity_class_init),
1822         (gst_identity_init), (gst_identity_prepare_output_buffer):
1823         Identity is not always a passthrough element, it can modify the buffer
1824         timestamps when it has a datarate and operates in single-segment mode.
1825         We therefore make it an in_place filter with a custom buffer prepare
1826         function that conditionally makes the input buffer metadata writable
1827         when needed.  Fixes #523985.
1828
1829 2008-03-24  Wim Taymans  <wim.taymans@collabora.co.uk>
1830
1831         Patch by: Mark Nauwelaerts <manauw at skynet be>
1832
1833         * gst/gstclock.h:
1834         * libs/gst/base/gstbasesrc.h:
1835         * libs/gst/base/gstbasetransform.c:
1836         * libs/gst/check/gstcheck.c:
1837         Small documentation fixes. Fixes #523978.
1838
1839 2008-03-24  Wim Taymans  <wim.taymans@collabora.co.uk>
1840
1841         * plugins/elements/gstfdsink.c: (gst_fd_sink_render):
1842         * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
1843         Also retry our poll_wait when we get EAGAIN. Fixes #524041.
1844
1845 2008-03-24  Wim Taymans  <wim.taymans@collabora.co.uk>
1846
1847         * plugins/elements/gstmultiqueue.c: (single_queue_overrun_cb),
1848         (single_queue_underrun_cb):
1849         When trying to make room in the queue, bump the max allowed buffers
1850         bigger than the current amount of buffers in the queue. this fixes some
1851         nasty deadlocks in multiqueue when dynamically changing the limits of
1852         the queue.
1853
1854 2008-03-24  Wim Taymans  <wim.taymans@collabora.co.uk>
1855
1856         Patch by:  José Alburquerque <jaalburqu at svn dot gnome dot org>
1857
1858         * gst/gstcaps.c: (gst_caps_set_simple),
1859         (gst_caps_set_simple_valist), (gst_caps_intersect):
1860         * gst/gstcaps.h:
1861         Constify the field gchar * params in set_simple and friends.
1862         Fixes #522326.
1863
1864 2008-03-24  Wim Taymans  <wim.taymans@collabora.co.uk>
1865
1866         * gst/gstvalue.c: (gst_value_transform_object_string):
1867         Transform a GstObject to a more meaningfull string that includes the
1868         object type in addition to its name.
1869
1870 2008-03-23  Stefan Kost  <ensonic@users.sf.net>
1871
1872         * ChangeLog:
1873           ChangeLog surgery to add bugnumber to commit.
1874
1875 2008-03-23  Rene Stadler  <mail@renestadler.de>
1876
1877         * libs/gst/base/gstbasetransform.c:
1878         (gst_base_transform_set_gap_aware): Fix confusing documentation.
1879
1880 2008-03-23  Sebastian Dröge  <slomo@circular-chaos.org>
1881
1882         * gst/gstregistrybinary.c: (gst_registry_binary_write):
1883         Rename constant everywhere and don't forget one occurence.
1884
1885 2008-03-23  Sebastian Dröge  <slomo@circular-chaos.org>
1886
1887         * gst/gstregistrybinary.c: (gst_registry_binary_write):
1888         Align memory to the pointer size even if the architecture allows
1889         unaligned memory access. Unaligned memory access usually comes with
1890         performance penality.
1891
1892 2008-03-23  Sebastian Dröge  <slomo@circular-chaos.org>
1893
1894         * gst/gstregistrybinary.c: (gst_registry_binary_write),
1895         (gst_registry_binary_check_magic),
1896         (gst_registry_binary_load_pad_template),
1897         (gst_registry_binary_load_feature),
1898         (gst_registry_binary_load_plugin):
1899         Align memory to the pointer size instead of always 32 bit. Fixes
1900         unaligned memory accesses on ia64 and friends.
1901
1902         * gst/gstregistrybinary.h:
1903         Bump binary registry format version for this as it changes the
1904         format on those architectures that don't have unaligned access
1905         and 64 bit pointers.
1906
1907 2008-03-22  Sebastian Dröge  <slomo@circular-chaos.org>
1908
1909         * docs/pwg/advanced-dparams.xml:
1910         * docs/pwg/building-props.xml:
1911         * docs/pwg/other-source.xml:
1912         * gst/glib-compat.h:
1913         * gst/gstbin.c: (gst_bin_class_init):
1914         * gst/gstclock.c: (gst_clock_class_init):
1915         * gst/gstindex.c: (gst_index_class_init):
1916         * gst/gstobject.c: (gst_object_class_init):
1917         * gst/gstpad.c: (gst_pad_class_init):
1918         * gst/gstpipeline.c: (gst_pipeline_class_init):
1919         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
1920         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init):
1921         * libs/gst/base/gstbasetransform.c:
1922         (gst_base_transform_class_init):
1923         * libs/gst/base/gstdataqueue.c: (gst_data_queue_class_init):
1924         * libs/gst/check/gstcheck.c: (_gst_check_fault_handler_restore),
1925         (_gst_check_fault_handler_sighandler),
1926         (_gst_check_fault_handler_setup), (gst_check_init):
1927         * libs/gst/controller/gstcontroller.c:
1928         (_gst_controller_class_init):
1929         * libs/gst/controller/gstlfocontrolsource.c:
1930         (gst_lfo_control_source_class_init):
1931         * libs/gst/net/gstnetclientclock.c:
1932         (gst_net_client_clock_class_init):
1933         * libs/gst/net/gstnettimeprovider.c:
1934         (gst_net_time_provider_class_init):
1935         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_class_init):
1936         * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init):
1937         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init):
1938         * plugins/elements/gstfdsink.c: (gst_fd_sink_class_init):
1939         * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init):
1940         * plugins/elements/gstfilesink.c: (gst_file_sink_class_init):
1941         * plugins/elements/gstfilesrc.c: (gst_file_src_class_init):
1942         * plugins/elements/gstidentity.c: (gst_identity_class_init):
1943         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_class_init):
1944         * plugins/elements/gstqueue.c: (gst_queue_class_init):
1945         * plugins/elements/gsttee.c: (gst_tee_class_init):
1946         * plugins/elements/gsttypefindelement.c:
1947         (gst_type_find_element_class_init):
1948         * plugins/indexers/gstfileindex.c: (gst_file_index_class_init):
1949         Define G_PARAM_STATIC_STRINGS if it's undefined (GLib < 2.13.0) and
1950         use it everywhere for GParamSpecs that use static strings (i.e. all).
1951         This gives us less memory usage, fewer allocations and thus less
1952         memory defragmentation. Fixes bug #523806.
1953
1954 2008-03-22  Sebastian Dröge  <slomo@circular-chaos.org>
1955
1956         * gst/gstminiobject.c: (gst_value_dup_mini_object),
1957         (gst_param_spec_mini_object):
1958         * gst/gstminiobject.h:
1959         * win32/common/libgstreamer.def:
1960         * docs/gst/gstreamer-sections.txt:
1961         API: Add GST_IS_PARAM_SPEC_MINI_OBJECT, GST_PARAM_SPEC_MINI_OBJECT
1962         GST_TYPE_PARAM_MINI_OBJECT and gst_value_dup_mini_object. Also move
1963         GstParamSpecMiniObject into a public header for this.
1964
1965         This make GstMiniObject a bit more consistent with GObject and makes
1966         it possible to extend the param specs.
1967
1968         gst_value_dup_mini_object is mainly useful for set_property methods.
1969
1970         Fixes bug #523798.
1971
1972         * tools/gst-inspect.c: (print_element_properties_info):
1973         Print something useful for GstMiniObject properties and not just
1974         "unknown type".
1975
1976 2008-03-21  Sebastian Dröge  <slomo@circular-chaos.org>
1977
1978         * docs/gst/gstreamer-sections.txt:
1979         * gst/gstregistrybinary.c: (gst_registry_binary_initialize_magic),
1980         (gst_registry_binary_check_magic):
1981         * gst/gstregistrybinary.h:
1982         Call the version GST_MAGIC_BINARY_VERSION_STR to be more consistent
1983         and add it to the (private part) of the docs to fix the build.
1984
1985 2008-03-21  Sebastian Dröge  <slomo@circular-chaos.org>
1986
1987         * gst/gstregistrybinary.c: (gst_registry_binary_initialize_magic),
1988         (gst_registry_binary_check_magic),
1989         (gst_registry_binary_read_cache):
1990         * gst/gstregistrybinary.h:
1991         Don't use GST_MAJORMINOR for the binary registry version. Instead
1992         hardcode a value that must be changed whenever the format changes
1993         in an incompatible way.
1994         Also don't GST_ERROR when there is a version mismatch, just
1995         regenerate the registry silently.
1996
1997 2008-03-21  Jan Schmidt  <jan.schmidt@sun.com>
1998
1999         * configure.ac:
2000         Back to development - 0.10.18.1
2001
2002 === release 0.10.18 ===
2003
2004 2008-03-20  Jan Schmidt <jan.schmidt@sun.com>
2005
2006         * configure.ac:
2007           releasing 0.10.18, "So far away"
2008
2009 2008-03-18  Jan Schmidt  <jan.schmidt@sun.com>
2010
2011         * configure.ac:
2012         * win32/common/config.h:
2013         0.10.17.4 pre-release
2014
2015 2008-03-18  Wim Taymans  <wim.taymans@collabora.co.uk>
2016
2017         Patch by: Ole André Vadla Ravnås
2018             <ole dot andre dot ravnas at tandberg dot com>
2019
2020         * docs/gst/gstreamer-sections.txt:
2021         * gst/gstpoll.c: (gst_poll_winsock_error_to_errno),
2022         (gst_poll_update_winsock_event_mask),
2023         (gst_poll_prepare_winsock_active_sets),
2024         (gst_poll_collect_winsock_events), (gst_poll_new), (gst_poll_free),
2025         (gst_poll_add_fd_unlocked), (gst_poll_fd_ctl_write),
2026         (gst_poll_fd_ctl_read_unlocked), (gst_poll_fd_ignored),
2027         (gst_poll_fd_has_error), (gst_poll_fd_can_read_unlocked),
2028         (gst_poll_check_ctrl_commands), (gst_poll_wait):
2029         * gst/gstpoll.h:
2030         * win32/common/libgstreamer.def:
2031         Add new function gst_poll_fd_ignored() for improved Windows
2032         compatibility.
2033         Various minor fixes and cleanups. See #520808.
2034
2035 2008-03-17  Tim-Philipp Müller  <tim at centricular dot net>
2036
2037         * gst/gstindex.c: (gst_index_entry_free):
2038         * gst/gstindex.h:
2039           Don't free key strings which we don't own. Fixes crash in
2040           gst_index_entry_free() (#522741).
2041
2042         * tests/check/Makefile.am:
2043         * tests/check/gst/.cvsignore:
2044         * tests/check/gst/gstindex.c: (test_index_entries),
2045           (gst_index_suite), (gst_index):
2046           Add unit test for the above.
2047
2048 2008-03-11  Sebastian Dröge  <slomo@circular-chaos.org>
2049
2050         * win32/common/libgstreamer.def:
2051         Remove symbols that were removed recently. Fixes bug #521740.
2052
2053 2008-03-11  Jan Schmidt  <jan.schmidt@sun.com>
2054
2055         * configure.ac:
2056         * win32/common/config.h:
2057         0.10.17.3 pre-release
2058
2059 2008-03-07  Wim Taymans  <wim.taymans@collabora.co.uk>
2060
2061         Patch by: Ole André Vadla Ravnås
2062             <ole dot andre dot ravnas at tandberg dot com>
2063
2064         * docs/gst/gstreamer-sections.txt:
2065         * gst/gstpoll.c: (find_index), (gst_poll_free_winsock_event),
2066         (gst_poll_update_winsock_event_mask), (gst_poll_new),
2067         (gst_poll_free), (gst_poll_fd_init), (gst_poll_add_fd_unlocked),
2068         (gst_poll_remove_fd), (gst_poll_fd_ctl_write),
2069         (gst_poll_fd_ctl_read_unlocked), (gst_poll_fd_has_closed),
2070         (gst_poll_fd_has_error), (gst_poll_fd_can_read_unlocked),
2071         (gst_poll_fd_can_write), (gst_poll_wait),
2072         (gst_poll_set_controllable), (gst_poll_restart),
2073         (gst_poll_set_flushing):
2074         * gst/gstpoll.h:
2075         * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_new):
2076         * libs/gst/net/gstnettimeprovider.c: (gst_net_time_provider_start),
2077         (gst_net_time_provider_new):
2078         * plugins/elements/gstfdsink.c: (gst_fd_sink_start):
2079         * plugins/elements/gstfdsrc.c: (gst_fd_src_start):
2080         * tests/benchmarks/gstpollstress.c: (main):
2081         * tests/check/gst/gstpoll.c: (GST_START_TEST), (gst_poll_suite):
2082         Remove GstPollMode from the API, it does not make sense to let the
2083         application control this.
2084         Add support for Win32.
2085         Fix the testsuite. Fixes #520671.
2086
2087 2008-03-07  Sebastian Dröge  <slomo@circular-chaos.org>
2088
2089         Patch by: Ole André Vadla Ravnås
2090             <ole dot andre dot ravnas at tandberg dot com>
2091
2092         * gst/gstregistrybinary.c:
2093         Include io.h for write() and close() when building with MSVC. Fixes
2094         bug #520877.
2095
2096 2008-03-07  Stefan Kost  <ensonic@users.sf.net>
2097
2098         * configure.ac:
2099         * gst/gst_private.h:
2100         * gst/gstconfig.h.in:
2101         * gst/gstregistry.h:
2102         * gst/gstregistrybinary.c:
2103         * win32/common/gstconfig.h:
2104           Move registry backend API to private headers where we can. Add
2105           fixme-0.11 comments for the others. Add stubs for the xml backend when
2106           using the binary to ensure they functions exists (they should not be
2107           used though). Fixes #520756.
2108
2109 2008-03-04  Jan Schmidt  <jan.schmidt@sun.com>
2110
2111         * configure.ac:
2112         * win32/common/config.h:
2113         0.10.17.2 prelease
2114
2115 2008-03-03  Edward Hervey  <edward.hervey@collabora.co.uk>
2116
2117         * gst/gstregistrybinary.c: (gst_registry_binary_write),
2118         (gst_registry_binary_read_cache):
2119         * gst/gstregistryxml.c: (gst_registry_save):
2120         * gst/gsturi.c: (unescape_string), (gst_uri_has_protocol):
2121         * plugins/elements/gstfilesink.c: (gst_file_sink_open_file):
2122         * plugins/elements/gstfilesrc.c: (gst_file_src_map_region),
2123         (gst_file_src_map_small_region), (gst_file_src_create_mmap):
2124         Switch to using portabl gsize/gssize instead of size_t/ssize_t
2125         Fixes #520152
2126
2127 2008-03-03  Edward Hervey  <edward.hervey@collabora.co.uk>
2128
2129         * gst/gstminiobject.c:
2130         Import gst_private.h before any other header that might include other
2131         glib headers. This fixes the build on windows using native compilers.
2132
2133 2008-03-03  Tim-Philipp Müller  <tim at centricular dot net>
2134
2135         * win32/common/gstconfig.h:
2136           Add here too, just for completeness.
2137
2138 2008-03-03  Tim-Philipp Müller  <tim at centricular dot net>
2139
2140         * configure.ac:
2141         * gst/gstconfig.h.in:
2142         * gst/gstregistry.h:
2143           Fix broken use of config.h-defined preprocessor directive in a public
2144           header file. Add a corresponding define to gstconfig.h, since we can't
2145           really remove those function declarations from the header file now
2146           (or can we? and why are they there in the first place?).
2147
2148 2008-03-03  Andy Wingo  <wingo@pobox.com>
2149
2150         * tests/check/gst/gststructure.c (GST_START_TEST): Add a check for
2151         the new warning.
2152
2153         * gst/gststructure.c (gst_structure_from_string): Warn if
2154         structure_from_string didn't consume the whole string, but the
2155         caller did not provide an end pointer.
2156
2157 2008-03-01  Tim-Philipp Müller  <tim at centricular dot net>
2158
2159         Patch by: Fabrizio Gennari <fabrizio.ge at tiscali it>
2160
2161         * gst/gstregistryxml.c: (read_string), (load_feature):
2162           Strings allocated by libxml2 should be freed with xmlFree(), not
2163           with g_free(). Fixes issues on windows in certain contexts (#519698).
2164
2165 2008-02-29  Tim-Philipp Müller  <tim at centricular dot net>
2166
2167         * gst/gstinterface.c: (gst_element_implements_interface):
2168           Don't crash if the element supports the interface queried, but does
2169           not implement GstImplementsInterface. Fixes #519584.
2170
2171         * tests/check/Makefile.am:
2172         * tests/check/gst/.cvsignore:
2173         * tests/check/gst/gstinterface.c:
2174           Add unit test for the above.
2175
2176 2008-02-29  Wim Taymans  <wim.taymans@collabora.co.uk>
2177
2178         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
2179         Small doc update.
2180
2181 2008-02-29  Wim Taymans  <wim.taymans@collabora.co.uk>
2182
2183         * gst/gstsegment.c: (gst_segment_set_seek),
2184         (gst_segment_to_stream_time):
2185         Improve some comment.
2186         Update variables where it makes more sense.
2187
2188 2008-02-29  Rene Stadler  <mail@renestadler.de>
2189
2190         * gst/gsturi.c: (gst_uri_handler_get_protocols):
2191         Use the get_protocols_full vfunc if get_protocols is NULL.  Fixes
2192         URIHandlers implemented using language bindings.
2193
2194 2008-02-29  Sebastian Dröge  <slomo@circular-chaos.org>
2195
2196         * gst/gstelementfactory.h:
2197         * tests/check/elements/fakesink.c:
2198         * tests/check/elements/fakesrc.c: (setup_fakesrc):
2199         * tests/check/elements/fdsrc.c: (setup_fdsrc):
2200         * tests/check/elements/filesink.c: (setup_filesink):
2201         * tests/check/elements/filesrc.c: (setup_filesrc):
2202         * tests/check/elements/identity.c: (setup_identity):
2203         * tests/check/elements/tee.c:
2204         * tests/check/generic/sinks.c:
2205         * tests/check/generic/states.c: (setup), (teardown):
2206         * tests/check/gst/gst.c:
2207         * tests/check/gst/gstabi.c:
2208         * tests/check/gst/gstbin.c:
2209         * tests/check/gst/gstbus.c: (pull_messages):
2210         * tests/check/gst/gstcaps.c:
2211         * tests/check/gst/gstelement.c:
2212         * tests/check/gst/gstevent.c:
2213         * tests/check/gst/gstghostpad.c:
2214         * tests/check/gst/gstiterator.c:
2215         * tests/check/gst/gstmessage.c:
2216         * tests/check/gst/gstminiobject.c: (my_foo_init):
2217         * tests/check/gst/gstobject.c: (thread_name_object),
2218         (gst_object_suite):
2219         * tests/check/gst/gstpad.c:
2220         * tests/check/gst/gstplugin.c:
2221         * tests/check/gst/gstpoll.c:
2222         * tests/check/gst/gstquery.c:
2223         * tests/check/gst/gstsegment.c:
2224         * tests/check/gst/gststructure.c:
2225         * tests/check/gst/gstsystemclock.c:
2226         * tests/check/gst/gsttask.c:
2227         * tests/check/gst/gstutils.c:
2228         * tests/check/gst/gstvalue.c:
2229         * tests/check/gst/struct_hppa.h:
2230         * tests/check/gst/struct_i386.h:
2231         * tests/check/gst/struct_ppc32.h:
2232         * tests/check/gst/struct_ppc64.h:
2233         * tests/check/gst/struct_x86_64.h:
2234         * tests/check/libs/adapter.c: (create_and_fill_adapter):
2235         * tests/check/libs/basesrc.c:
2236         * tests/check/libs/controller.c: (GST_START_TEST):
2237         * tests/check/libs/gdp.c:
2238         * tests/check/libs/gstnetclientclock.c:
2239         * tests/check/libs/gstnettimeprovider.c:
2240         * tests/check/libs/libsabi.c:
2241         * tests/check/libs/struct_hppa.h:
2242         * tests/check/libs/struct_i386.h:
2243         * tests/check/libs/struct_ppc32.h:
2244         * tests/check/libs/struct_ppc64.h:
2245         * tests/check/libs/struct_x86_64.h:
2246         * tests/check/pipelines/cleanup.c:
2247         * tests/check/pipelines/simple-launch-lines.c:
2248         * tests/check/pipelines/stress.c:
2249         And correct even more valid sparse warnings.
2250
2251         * win32/common/libgstreamer.def:
2252         Add gst_poll_fd_init to the list of symbols.
2253
2254 2008-02-29  Sebastian Dröge  <slomo@circular-chaos.org>
2255
2256         * gst/gstconfig.h.in:
2257         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_read_buffer):
2258         * libs/gst/check/gstcheck.c: (gst_check_log_message_func),
2259         (gst_check_log_critical_func), (gst_check_drop_buffers),
2260         (gst_check_element_push_buffer_list):
2261         * libs/gst/controller/gstcontroller.c: (gst_controller_get),
2262         (gst_controller_get_type):
2263         * libs/gst/controller/gsthelper.c: (gst_object_control_properties),
2264         (gst_object_get_controller), (gst_object_get_control_source):
2265         * libs/gst/controller/gstinterpolationcontrolsource.c:
2266         (gst_interpolation_control_source_new):
2267         * libs/gst/controller/gstlfocontrolsource.c:
2268         (gst_lfo_control_source_new):
2269         * libs/gst/dataprotocol/dataprotocol.c:
2270         (gst_dp_event_from_packet_0_2):
2271         * plugins/elements/gstfdsrc.c:
2272         * plugins/elements/gstmultiqueue.c:
2273         * plugins/elements/gsttee.c:
2274         * plugins/elements/gsttypefindelement.c:
2275         * plugins/indexers/gstfileindex.c: (_file_index_id_save_xml),
2276         (gst_file_index_add_association):
2277         * plugins/indexers/gstmemindex.c:
2278         * tests/benchmarks/gstpollstress.c: (mess_some_more):
2279         * tests/check/elements/queue.c: (setup_queue):
2280         * tests/check/gst/gstpipeline.c:
2281         * tests/check/libs/collectpads.c: (setup), (teardown),
2282         (gst_collect_pads_suite):
2283         * tests/examples/adapter/adapter_test.c:
2284         * tests/examples/metadata/read-metadata.c: (make_pipeline):
2285         * tests/examples/xml/createxml.c:
2286         * tests/examples/xml/runxml.c:
2287         * tools/gst-inspect.c:
2288         * tools/gst-run.c:
2289         Correct all relevant warnings found by the sparse semantic code
2290         analyzer. This include marking several symbols static, using
2291         NULL instead of 0 for pointers, not using variable sized arrays
2292         on the stack, moving variable declarations to the beginning of
2293         a block and using "foo (void)" instead of "foo ()" for declarations.
2294
2295 2008-02-29  Sebastian Dröge  <slomo@circular-chaos.org>
2296
2297         * plugins/elements/gstfdsink.c: (gst_fd_sink_update_fd):
2298         * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
2299         Don't reset GstPollFDs, this is not necessary at all.
2300
2301         * tests/check/gst/gstpoll.c: (test_poll_wait), (GST_START_TEST),
2302         (delayed_restart), (delayed_control):
2303         Use GST_POLL_FD_INIT.
2304
2305 2008-02-29  Wim Taymans  <wim.taymans@collabora.co.uk>
2306
2307         * gst/gstpoll.c: (gst_poll_fd_init):
2308         * gst/gstpoll.h:
2309         Added Since tags.
2310
2311         * plugins/elements/gstfdsink.c: (gst_fd_sink_update_fd):
2312         Use some more init macros.
2313
2314 2008-02-29  Wim Taymans  <wim.taymans@collabora.co.uk>
2315
2316         * plugins/elements/gstfdsink.c: (gst_fd_sink_start):
2317         * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
2318         Use init macros and functions.
2319
2320 2008-02-29  Wim Taymans  <wim.taymans@collabora.co.uk>
2321
2322         * docs/gst/gstreamer-sections.txt:
2323         * gst/gstpoll.c: (gst_poll_fd_init):
2324         * gst/gstpoll.h:
2325         Add INIT macro and _init method for initializing the GstPollFD.
2326
2327 2008-02-28  Sebastian Dröge  <slomo@circular-chaos.org>
2328
2329         * plugins/elements/gstfdsink.c: (gst_fd_sink_start),
2330         (gst_fd_sink_update_fd):
2331         * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
2332         * tests/check/gst/gstpoll.c: (test_poll_wait), (GST_START_TEST),
2333         (delayed_restart), (delayed_control):
2334         Initialize some uninitialized variables as spotted by valgrind.
2335
2336 2008-02-28  Wim Taymans  <wim.taymans@collabora.co.uk>
2337
2338         * tests/benchmarks/Makefile.am:
2339         * tests/benchmarks/gstpollstress.c: (mess_some_more), (run_test),
2340         (main):
2341         Add poll stress test.
2342
2343 2008-02-28  Wim Taymans  <wim.taymans@collabora.co.uk>
2344
2345         Patch by: Peter Kjellerstedt <pkj at axis dot com>
2346
2347         * plugins/elements/gstfdsink.c: (gst_fd_sink_render),
2348         (gst_fd_sink_start), (gst_fd_sink_stop), (gst_fd_sink_unlock),
2349         (gst_fd_sink_unlock_stop), (gst_fd_sink_update_fd):
2350         * plugins/elements/gstfdsink.h:
2351         * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd),
2352         (gst_fd_src_start), (gst_fd_src_stop), (gst_fd_src_unlock),
2353         (gst_fd_src_unlock_stop), (gst_fd_src_create),
2354         (gst_fd_src_uri_set_uri):
2355         * plugins/elements/gstfdsrc.h:
2356         Port to GstPoll. See #505417.
2357
2358 2008-02-27  Jan Schmidt  <jan.schmidt@sun.com>
2359
2360         * win32/common/libgstreamer.def:
2361         Add new gst_poll_ symbols to win32 defs.
2362
2363 2008-02-27  Wim Taymans  <wim.taymans@collabora.co.uk>
2364
2365         * docs/libs/gstreamer-libs-sections.txt:
2366         * libs/gst/net/gstnetclientclock.c:
2367         (gst_net_client_clock_class_init), (gst_net_client_clock_init),
2368         (gst_net_client_clock_finalize), (gst_net_client_clock_do_select),
2369         (gst_net_client_clock_thread), (gst_net_client_clock_start),
2370         (gst_net_client_clock_stop), (gst_net_client_clock_new):
2371         * libs/gst/net/gstnetclientclock.h:
2372         * libs/gst/net/gstnettimeprovider.c:
2373         (gst_net_time_provider_class_init), (gst_net_time_provider_init),
2374         (gst_net_time_provider_finalize), (gst_net_time_provider_thread),
2375         (gst_net_time_provider_start), (gst_net_time_provider_stop),
2376         (gst_net_time_provider_new):
2377         * libs/gst/net/gstnettimeprovider.h:
2378         Use a private stuct to not break ABI.
2379
2380 2008-02-27  Wim Taymans  <wim.taymans@collabora.co.uk>
2381
2382         Patch by: Peter Kjellerstedt <pkj at axis dot com>
2383
2384         * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_init),
2385         (gst_net_client_clock_finalize), (gst_net_client_clock_do_select),
2386         (gst_net_client_clock_thread), (gst_net_client_clock_start),
2387         (gst_net_client_clock_stop), (gst_net_client_clock_new):
2388         * libs/gst/net/gstnetclientclock.h:
2389         * libs/gst/net/gstnettimeprovider.c: (gst_net_time_provider_init),
2390         (gst_net_time_provider_finalize), (gst_net_time_provider_thread),
2391         (gst_net_time_provider_start), (gst_net_time_provider_stop),
2392         (gst_net_time_provider_new):
2393         * libs/gst/net/gstnettimeprovider.h:
2394         Massive code removal and cleanups because of GstPoll.
2395         Fixes #505417.
2396
2397 2008-02-27  Wim Taymans  <wim.taymans@collabora.co.uk>
2398
2399         * configure.ac:
2400         Add checks for poll, ppoll and pselect.
2401
2402         * docs/gst/gstreamer-docs.sgml:
2403         * docs/gst/gstreamer-sections.txt:
2404         Add docs for GstPoll.
2405
2406         * gst/Makefile.am:
2407         * gst/gst.h:
2408         * gst/gstpoll.c: (find_index), (selectable_fds),
2409         (pollable_timeout), (choose_mode), (pollfd_to_fd_set),
2410         (fd_set_to_pollfd), (gst_poll_new), (gst_poll_free),
2411         (gst_poll_set_mode), (gst_poll_get_mode),
2412         (gst_poll_add_fd_unlocked), (gst_poll_add_fd),
2413         (gst_poll_remove_fd), (gst_poll_fd_ctl_write),
2414         (gst_poll_fd_ctl_read_unlocked), (gst_poll_fd_ctl_read),
2415         (gst_poll_fd_has_closed), (gst_poll_fd_has_error),
2416         (gst_poll_fd_can_read_unlocked), (gst_poll_fd_can_read),
2417         (gst_poll_fd_can_write), (gst_poll_wait),
2418         (gst_poll_set_controllable), (gst_poll_restart),
2419         (gst_poll_set_flushing):
2420         * gst/gstpoll.h:
2421         Add generic poll abstraction. We ideally don't want to have this in core
2422         here but in glib intead...
2423         This code will be used in various network elements and ultimately for
2424         the nanosecond precision monotonic clock (that's why it's here in core).
2425         It'll allow us to implement cancelable socket operations for windows too.
2426
2427         * tests/check/Makefile.am:
2428         * tests/check/gst/gstpoll.c: (test_poll_wait), (GST_START_TEST),
2429         (delayed_stop), (delayed_restart), (delayed_flush),
2430         (delayed_control), (gst_poll_suite):
2431         Add GstPoll unit test.
2432
2433 2008-02-25  Tim-Philipp Müller  <tim at centricular dot net>
2434
2435         * gst/gstfilter.c:
2436           Improve documentation of gst_filter_run(). Fixes #518627.
2437
2438 2008-02-23  Tim-Philipp Müller  <tim at centricular dot net>
2439
2440         * docs/README:
2441           Add a few lines about the new 'check-inspected-versions' target.
2442
2443 2008-02-21  Stefan Kost  <ensonic@users.sf.net>
2444
2445         * tests/check/gst/gstevent.c:
2446           Add qos to the event test. Rename tcase/tsuite; is not only about
2447           custom events.
2448
2449 2008-02-21  Stefan Kost  <ensonic@users.sf.net>
2450
2451         * plugins/elements/gstqueue.c:
2452           Ensure that buffer metadata is writeable, before modifying. Spotted by
2453           Mike.
2454
2455 2008-02-20  Stefan Kost  <ensonic@users.sf.net>
2456
2457         * plugins/elements/gstqueue.c:
2458         * plugins/elements/gstqueue.h:
2459           When dropping buffers in leaky modes, mark next buffers we sent as
2460           DISCONT.
2461
2462 2008-02-20  Tim-Philipp Müller  <tim at centricular dot net>
2463
2464         * plugins/elements/gstfilesrc.c: (gst_file_src_map_region):
2465           Also, if mmap() fails that would be a READ error, not OPEN_READ.
2466
2467 2008-02-20  Tim-Philipp Müller  <tim at centricular dot net>
2468
2469         * plugins/elements/Makefile.am:
2470         * plugins/elements/gstbufferstore.c:
2471         * plugins/elements/gstbufferstore.h:
2472         * plugins/elements/gsttypefindelement.h:
2473           Remove GstBufferStore, no idea why we were still building it.
2474           It's not used anywhere and superseded by GstAdapter.
2475
2476         * plugins/elements/gstfilesrc.c: (gst_file_src_map_region),
2477           (gst_file_src_create_mmap):
2478         * plugins/indexers/gstfileindex.c: (gst_file_index_add_association):
2479           Printf format fixes for 64-bit integers.
2480
2481 2008-02-19  Sebastian Dröge  <slomo@circular-chaos.org>
2482
2483         * configure.ac:
2484         Don't set GST_CACHE_DIR and allow to set it by a configure parameter.
2485         We're not in 0.8 times anymore.
2486
2487 2008-02-19  Jan Schmidt  <Jan.Schmidt@sun.com>
2488
2489         * libs/gst/check/gstcheck.c: (gst_check_drop_buffers),
2490         (gst_check_element_push_buffer_list):
2491         * libs/gst/check/gstcheck.h:
2492         Make the declaration in the header for
2493         gst_check_element_push_buffer_list match the implementation.
2494
2495         Fix up spelling, grammar and wording of the documentation in a few
2496         places, and add the Since keyword to new API functions.
2497         Use g_list_delete_link instead of g_list_remove in
2498         gst_check_drop_buffers, since it's immeasurably more efficient.
2499
2500         * tests/check/elements/fakesrc.c: (GST_START_TEST):
2501         Use new gst_check_drop_buffers function where appropriate.
2502
2503         * win32/common/libgstbase.def:
2504         * win32/common/libgstreamer.def:
2505         Add new symbols gst_collect_pads_take_buffer, 
2506         gst_collect_pads_read_buffer, gst_index_set_resolver_full to the
2507         exports
2508
2509         Changelog surgery to add API keyword to new gst_check API.
2510
2511 2008-02-19  Sebastian Dröge  <slomo@circular-chaos.org>
2512
2513         * gst/parse/lex._gst_parse_yy.pre.c: (yy_get_next_buffer),
2514         (_gst_parse_yyensure_buffer_stack), (_gst_parse_yylex_init_extra):
2515         Update pre-generated flex files with flex 2.3.34.
2516
2517 2008-02-19  Sebastian Dröge  <slomo@circular-chaos.org>
2518
2519         * gst/gstminiobject.c:
2520           Add FIXME for 0.11 to make GstMiniObjectClass::copy() a bit more
2521           friendly to subclasses and not require them to know all internals
2522           of their parent class.
2523
2524 2008-02-15  Stefan Kost  <ensonic@users.sf.net>
2525
2526         * docs/libs/gstreamer-libs-sections.txt:
2527         * libs/gst/base/gstcollectpads.c:
2528         * libs/gst/base/gstcollectpads.h:
2529           Add sub-buffer functions to collectpads. Fixes #516187.
2530           API: gst_collect_pads_take_buffer(), gst_collect_pads_read_buffer()
2531
2532 2008-02-15  Stefan Kost  <ensonic@users.sf.net>
2533
2534         * gst/gstbuffer.c:
2535           Copy selected buffer-flags when creating subbuffers.
2536           Fixes #516395.
2537
2538 2008-02-12  Sebastian Dröge  <slomo@circular-chaos.org>
2539
2540         * gst/gstbuffer.c: (gst_buffer_class_init), (gst_buffer_finalize):
2541         * gst/gstevent.c: (gst_event_class_init), (gst_event_finalize):
2542         * gst/gstmessage.c: (gst_message_class_init),
2543         (gst_message_finalize):
2544         * gst/gstquery.c: (gst_query_class_init), (gst_query_finalize):
2545         * plugins/elements/gstfilesrc.c: (gst_mmap_buffer_class_init),
2546         (gst_mmap_buffer_finalize):
2547         Properly chain up finalize functions to the parent class.
2548
2549 2008-02-11  Wim Taymans  <wim.taymans@collabora.co.uk>
2550
2551         Patch by: Siavash Safi <siavash dot safi at gmail dot com>
2552
2553         * gst/gstindex.c: (gst_index_finalize), (gst_index_set_resolver),
2554         (gst_index_set_resolver_full):
2555         * gst/gstindex.h:
2556         Add new function with option to dispose of user_data in resolver.
2557         Actually call the dispose function when finalizing the object and not
2558         just when changing the resolver/filter.
2559         API: GstIndex::gst_index_set_resolver_full()
2560
2561         * docs/gst/gstreamer-sections.txt:
2562         Add new function to docs. Fixes #515469.
2563
2564 2008-02-11  Sebastian Dröge  <slomo@circular-chaos.org>
2565
2566         * gst/gstindex.c: (gst_index_finalize):
2567         Chain up finalize to the parent class. Fixes leaking the GstObject
2568         name and other things.
2569
2570 2008-02-08  Jan Schmidt  <jan.schmidt@sun.com>
2571
2572         * configure.ac:
2573         Make DISABLE_DEPRECATED defined *only* during CVS, not during
2574         pre-releases or releases.
2575
2576         * docs/faq/gst-uninstalled:
2577         Add gst-plugins-gl
2578
2579         * docs/random/release:
2580         Change one of the steps - we only upload core & base to Gnome FTP
2581
2582 2008-02-06  Stefan Kost  <ensonic@users.sf.net>
2583
2584         * gst/gstconfig.h.in:
2585           Add 'id' for example.
2586
2587         * gst/gstpad.c:
2588         * gst/gstutils.c:
2589         * plugins/elements/gstfdsink.c:
2590           Link to signals. Doc and comment fixes.
2591
2592 2008-02-05  Tim-Philipp Müller  <tim at centricular dot net>
2593
2594         * gst/gstpad.h: (GST_PAD_LINK_SUCCESSFUL):
2595         * gst/gstpluginfeature.h: (GstPluginFeatureClass):
2596           Some minor docs fixes: fix typo, mention that GST_FLOW_RESEND is
2597           unused and unimplemented; finally, it is plugin features, not
2598           plugins, that have ranks.
2599           
2600 2008-02-05  Stefan Kost  <ensonic@users.sf.net>
2601
2602         * gst/gstpluginfeature.h:
2603           Clarify GstRank range docs.
2604
2605 2008-02-05  David Schleef  <ds@schleef.org>
2606
2607         * gst/gst.c: Add a separate gst_deinitialized that prevents
2608           gst_init() from being called after gst_deinit().  Fixes #509559
2609
2610 2008-02-05  Sebastian Dröge  <slomo@circular-chaos.org>
2611
2612         * gst/gstbin.c: (gst_bin_get_type), (gst_bin_base_init),
2613         (gst_bin_class_init):
2614         * gst/gstelement.c: (gst_element_base_class_init),
2615         (gst_element_class_add_pad_template):
2616         * gst/gstpadtemplate.c: (gst_pad_template_init):
2617         * gst/gstpipeline.c: (gst_pipeline_get_type),
2618         (gst_pipeline_base_init), (gst_pipeline_class_init):
2619         * libs/gst/base/gstbasesink.c:
2620         * libs/gst/base/gstbasesrc.c: (gst_base_src_get_type),
2621         (gst_base_src_base_init), (gst_base_src_class_init):
2622         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_base_init),
2623         (gst_capsfilter_class_init):
2624         * plugins/elements/gstfakesink.c: (gst_fake_sink_base_init),
2625         (gst_fake_sink_class_init):
2626         * plugins/elements/gstfakesrc.c: (gst_fake_src_base_init),
2627         (gst_fake_src_class_init):
2628         * plugins/elements/gstfdsink.c: (gst_fd_sink_base_init),
2629         (gst_fd_sink_class_init):
2630         * plugins/elements/gstfdsrc.c: (gst_fd_src_base_init),
2631         (gst_fd_src_class_init):
2632         * plugins/elements/gstfilesink.c: (gst_file_sink_base_init),
2633         (gst_file_sink_class_init):
2634         * plugins/elements/gstfilesrc.c: (gst_file_src_base_init),
2635         (gst_file_src_class_init):
2636         * plugins/elements/gstidentity.c: (gst_identity_base_init),
2637         (gst_identity_class_init):
2638         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_base_init),
2639         (gst_multi_queue_class_init):
2640         * plugins/elements/gstqueue.c: (gst_queue_base_init),
2641         (gst_queue_class_init):
2642         * plugins/elements/gsttee.c: (gst_tee_base_init),
2643         (gst_tee_class_init):
2644         * plugins/elements/gsttypefindelement.c:
2645         (gst_type_find_element_base_init),
2646         (gst_type_find_element_class_init):
2647         * tests/check/gst/gstelement.c: (gst_element_suite):
2648         Revert previous changes to the behaviour of GstPadTemplates, etc
2649         and the possiblity to call them in class_init as it breaks too
2650         many elements. Reopens bug #491501.
2651
2652         Should be applied again for 0.11, thus added a few FIXME 0.11 at
2653         several places.
2654
2655 2008-02-05  Stefan Kost  <ensonic@users.sf.net>
2656
2657         * tools/gst-launch.c:
2658         Dump one graph per pipeline state-change and state change name
2659         (if GST_DEBUG_DUMP_DOT_DIR is set).
2660
2661 2008-02-04  Thijs Vermeir  <thijsvermeir@gmail.com>
2662
2663         * gst/gstpad.c:
2664         * tests/check/gst/gstpad.c:
2665         Be sure that we have a new copy of the caps and not
2666         reffed caps from a template
2667
2668 2008-02-03  Sebastian Dröge  <slomo@circular-chaos.org>
2669
2670         * gst/gstbin.c: (gst_bin_get_type), (gst_bin_class_init):
2671         * gst/gstpipeline.c: (gst_pipeline_get_type),
2672         (gst_pipeline_class_init):
2673         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_type),
2674         (gst_base_sink_class_init):
2675         * libs/gst/base/gstbasesrc.c: (gst_base_src_get_type),
2676         (gst_base_src_class_init):
2677         * libs/gst/base/gstbasetransform.c: (gst_base_transform_get_type),
2678         (gst_base_transform_class_init):
2679         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
2680         (gst_collect_pads_class_init):
2681         * libs/gst/base/gstdataqueue.c: (gst_data_queue_get_type):
2682         * libs/gst/net/gstnettimeprovider.c:
2683         (gst_net_time_provider_base_init),
2684         (gst_net_time_provider_class_init):
2685         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_base_init),
2686         (gst_capsfilter_class_init):
2687         * plugins/elements/gstfakesink.c: (gst_fake_sink_base_init),
2688         (gst_fake_sink_class_init):
2689         * plugins/elements/gstfakesrc.c: (gst_fake_src_base_init),
2690         (gst_fake_src_class_init):
2691         * plugins/elements/gstfdsink.c: (gst_fd_sink_base_init),
2692         (gst_fd_sink_class_init):
2693         * plugins/elements/gstfdsrc.c: (gst_fd_src_base_init),
2694         (gst_fd_src_class_init):
2695         * plugins/elements/gstfilesink.c: (gst_file_sink_base_init),
2696         (gst_file_sink_class_init):
2697         * plugins/elements/gstfilesrc.c: (gst_file_src_base_init),
2698         (gst_file_src_class_init):
2699         * plugins/elements/gstidentity.c: (gst_identity_base_init),
2700         (gst_identity_class_init):
2701         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_base_init),
2702         (gst_multi_queue_class_init):
2703         * plugins/elements/gstqueue.c: (gst_queue_base_init),
2704         (gst_queue_class_init):
2705         * plugins/elements/gsttee.c: (gst_tee_base_init),
2706         (gst_tee_class_init):
2707         * plugins/elements/gsttypefindelement.c:
2708         (gst_type_find_element_base_init),
2709         (gst_type_find_element_class_init):
2710         Don't use base_init where not absolutely necessary. For example it's
2711         not necessary anymore for adding pad templates or setting element
2712         details.
2713
2714         Leave empty base_init functions in several places as GST_BOILERPLATE
2715         still defines and uses them.
2716
2717 2008-02-03  Sebastian Dröge  <slomo@circular-chaos.org>
2718
2719         * gst/gstelement.c: (gst_element_base_class_init),
2720         (gst_element_class_add_pad_template):
2721         * gst/gstpadtemplate.c:
2722         Make it possible (and recommended) to set element details and add
2723         pad templates in the class_init functions by copying the details/pad
2724         templates in GstElement's base_init.
2725
2726         Also make it possible to replace existing pad templates by adding
2727         a new one with the same name. This was done in a hackish fashion
2728         in same elements before already.
2729
2730         Don't reference pad templates that are added a second time. A
2731         new pad template has a refcount of one and is not floating anymore
2732         and to be owned by the element's class. Make this more explicit by
2733         mentioning it in the docs of gst_element_class_add_pad_template().
2734
2735         These changes are backwards compatible. Fixes bug #491501.
2736
2737         * tests/check/gst/gstelement.c:
2738         Add unit test for setting element details, adding pad templates and
2739         replacing them in a subclass.
2740
2741 2008-02-02  Sebastian Dröge  <slomo@circular-chaos.org>
2742
2743         * tools/gst-inspect.c: (print_interfaces),
2744         (print_element_properties_info), (print_pad_info),
2745         (print_signal_info), (print_element_info):
2746         Fix a few memory leaks.
2747
2748 2008-02-01  Thijs Vermeir  <thijsvermeir@gmail.com>
2749
2750         * docs/libs/gstreamer-libs-sections.txt:
2751         * libs/gst/check/gstcheck.c:
2752         * libs/gst/check/gstcheck.h:
2753         Add more functions for unit testing: gst_check_drop_buffers,
2754         gst_check_caps_equal, gst_check_element_push_buffer_list,
2755         gst_check_element_push_buffer
2756         API: gst_check_drop_buffers
2757         API: gst_check_caps_equal
2758         API: gst_check_element_push_buffer_list
2759         API: gst_check_element_push_buffer
2760
2761 2008-02-01  Julien Moutte  <julien@fluendo.com>
2762
2763         * docs/gst/gstreamer-sections.txt: Add GST_CHECK_VERSION to the docs
2764         * gst/gstindex.c: (gst_index_class_init), (gst_index_free_writer),
2765         (gst_index_finalize), (gst_index_entry_free),
2766         (gst_index_add_association): Fix memory leaks.
2767         * gst/gstversion.h.in: Add GST_CHECK_VERSION macro.
2768         * plugins/indexers/gstmemindex.c: (gst_mem_index_class_init),
2769         (gst_mem_index_free_format), (gst_mem_index_free_id),
2770         (gst_mem_index_finalize): Fix memory leaks.
2771         * win32/common/config.h: Updated to CVS HEAD.
2772
2773 2008-02-01  Stefan Kost  <ensonic@users.sf.net>
2774
2775         * docs/README:
2776           Some more details about how the plugin docs works.
2777
2778         * docs/plugins/gstreamer-plugins-sections.txt:
2779           Whitespace cleanup.
2780
2781 2008-02-01  Stefan Kost  <ensonic@users.sf.net>
2782
2783         * gst/parse/grammar.tab.pre.c:
2784         * gst/parse/grammar.tab.pre.h:
2785         * gst/parse/grammar.y:
2786         * gst/parse/lex._gst_parse_yy.pre.c:
2787           Add delayed set-property. This allows to set properties on dynamicaly
2788           created objects (pads in videomxer). Fixes #509391.
2789
2790 2008-02-01  Thijs Vermeir  <thijsvermeir@gmail.com>
2791
2792         * gst/gstutils.c:
2793         Check if caps are not NULL (fix bug #510194)
2794
2795 2008-02-01  Wim Taymans  <wim.taymans@collabora.co.uk>
2796
2797         * libs/gst/base/gstbasesink.c: (gst_base_sink_loop),
2798         (gst_base_sink_get_position_paused):
2799         Add fixme regarding EOS in pull mode.
2800         Fix position reporting in PAUSED for negative rates.
2801
2802 2008-02-01  Wim Taymans  <wim.taymans@collabora.co.uk>
2803
2804         * gst/gstminiobject.c: (gst_mini_object_replace):
2805         When replacing a miniobject, do a quick equality check first so that we
2806         can avoid a ref/unref pair.
2807
2808 2008-02-01  Wim Taymans  <wim.taymans@collabora.co.uk>
2809
2810         * docs/design/part-synchronisation.txt:
2811         Update some docs.
2812
2813         * docs/plugins/Makefile.am:
2814         * docs/plugins/gstreamer-plugins-docs.sgml:
2815         * docs/plugins/gstreamer-plugins-sections.txt:
2816         * plugins/elements/gstmultiqueue.c:
2817         Add multiqueue to the docs.
2818
2819 2008-01-30  Jan Schmidt  <jan.schmidt@sun.com>
2820
2821         * configure.ac:
2822           Back to CVS
2823
2824 === release 0.10.17 ===
2825
2826 2008-01-30  Jan Schmidt <jan.schmidt@sun.com>
2827
2828         * configure.ac:
2829           releasing 0.10.17, "Due Negligence"
2830
2831 2008-01-30  Jan Schmidt  <jan.schmidt@sun.com>
2832
2833         * gst/gstutils.c:
2834         Revert caps != NULL check temporarily for 0.10.17 release.
2835
2836 2008-01-30  Thijs Vermeir  <thijsvermeir@gmail.com>
2837
2838         * gst/gstutils.c:
2839         Check if caps are not NULL (fix bug #510194)
2840
2841 2008-01-30  Jan Schmidt  <jan.schmidt@sun.com>
2842
2843         * gst/gstutils.c:
2844         Fix compilation on systems that have posix timers but no
2845         monotonic clock.
2846         Fixes: #512715
2847         Patch By: Cygwin Ports maintainer <yselkowitz at users dot sourceforge
2848         dot net>
2849
2850 2008-01-30  Jan Schmidt  <jan.schmidt@sun.com>
2851
2852         * tools/gst-inspect.c:
2853         Revert previous commit in preparation for an impromptu 0.10.17 release
2854
2855 2008-01-29  Sebastian Dröge  <slomo@circular-chaos.org>
2856
2857         * tools/gst-inspect.c: (print_interfaces),
2858         (print_element_properties_info), (print_pad_info),
2859         (print_signal_info), (print_element_info):
2860         Fix a few memory leaks.
2861
2862 2008-01-28  Jan Schmidt  <jan.schmidt@sun.com>
2863
2864         * configure.ac:
2865         Back to CVS
2866
2867 === release 0.10.16 ===
2868
2869 2008-01-28  Jan Schmidt <thaytan@noraisin.net>
2870
2871         * configure.ac:
2872           releasing 0.10.16, "Special Dispensation"
2873
2874 2008-01-24  Tim-Philipp Müller  <tim at centricular dot net>
2875
2876         * configure.ac:
2877           Use AC_TRY_COMPILE instead of AC_TRY_RUN to check for
2878           _POSIX_TIMER, _POSIX_MONOTONIC_CLOCK, etc. Makes configure
2879           not fail when trying to crosscompile on OpenEmbedded (#511750).
2880
2881 2008-01-20  Sebastian Dröge  <slomo@circular-chaos.org>
2882
2883         * docs/manuals.mak:
2884         Use $(MAKE) instead of make to fix the build if GNU make is
2885         called different. Fixes bug #510747.
2886
2887 2008-01-20  Tim-Philipp Müller  <tim at centricular dot net>
2888
2889         * gst/gstplugin.c: (_gst_plugin_initialize):
2890           Fix old-style static plugins via GST_PLUGIN_DEFINE_STATIC
2891           again, which I broke two commits ago when changing the API
2892           of gst_plugin_register_static(): the g_list_foreach() in
2893           _gst_plugin_register_static still assumed the old function
2894           signature and would therefore fail (re-fixes #510187).
2895
2896         * gst/gstplugin.c: (_num_static_plugins), (_static_plugins),
2897           (_gst_plugin_register_static), (gst_plugin_register_static):
2898           Revert the (technically correct) change to call g_thread_init() from
2899           the pre-main() constructor. This will break programs which call
2900           g_thread_init() without an if (!g_thread_supported()) guard in their
2901           main function. We could just blame it on GLib or the application, but
2902           it's probably best to just avoid this altogether and simply not use
2903           any GLib functions here and use plain old malloc() with a simple
2904           array to store the plugins to register later when gst_init() is
2905           finally called (re-fixes #510187).
2906
2907         * tests/check/gst/gstplugin.c: (GST_GNUC_CONSTRUCTOR_DEFINED),
2908           (GST_GNUC_CONSTRUCTOR_DEFINED), (plugin_init_counter),
2909           (plugin1_init), (plugin2_init), (plugin3_init), (GST_START_TEST),
2910           (GST_START_TEST), (gst_plugin_suite):
2911           Dumb unit test to make sure the old GST_PLUGIN_DEFINE_STATIC still
2912           works.
2913
2914 2008-01-17  Tim-Philipp Müller  <tim at centricular dot net>
2915
2916         * gst/gstplugin.h: (GST_PLUGIN_DEFINE_STATIC):
2917           Remove deprecation guards around GST_PLUGIN_DEFINE_STATIC.
2918           This makes gtk-doc complain, but results in slightly better
2919           compiler errors. The old _gst_plugin_register_static() is
2920           still guarded, so there'll be a compiler warning about that
2921           instead. Fixes #510187 too.
2922
2923 2008-01-17  Tim-Philipp Müller  <tim at centricular dot net>
2924
2925         * gst/gst.c: (init_post):
2926         * gst/gstplugin.c: (_gst_plugin_register_static),
2927           (gst_plugin_register_static), (_gst_plugin_initialize):
2928         * gst/gstplugin.h: (GstPluginFilter):
2929           Change API of gst_plugin_register_static() to not take
2930           a GstPluginDesc, but rather just take all the arguments
2931           in a GstPluginDesc directly. This is more intuitive and
2932           avoids certain mistakes when porting code from
2933           GST_PLUGIN_DEFINE_STATIC to gst_plugin_register_static().
2934           Fixes #510187.
2935
2936         * tests/check/gst/gstplugin.c:
2937           Fix up for changed API.
2938
2939 2008-01-17  Thomas Vander Stichele  <thomas at apestaart dot org>
2940
2941         * docs/faq/legal.xml:
2942           Update FAQ, Totem actually has an exception these days.
2943
2944 2008-01-14  Jan Schmidt  <jan.schmidt@sun.com>
2945
2946         * win32/common/libgstreamer.def:
2947         Add new API declarations
2948
2949 2008-01-14  Stefan Kost  <ensonic@users.sf.net>
2950
2951         * gst/gstminiobject.c:
2952           Spelling fixes for the API docs.
2953
2954 2008-01-14  Stefan Kost  <ensonic@users.sf.net>
2955
2956         * libs/gst/base/gstbasetransform.c:
2957           Fix long property description for QoS.
2958
2959 2008-01-12  Jan Schmidt  <Jan.Schmidt@sun.com>
2960
2961         * gst/gst.c:
2962         _gst_trace_on is already provided by gsttrace.h, no need to declare
2963         it ourselves.
2964
2965         * docs/libs/gstreamer-libs-sections.txt:
2966         Add 'buffers', 'check_cond' and 'check_mutex' from libgstcheck
2967         and remove strange tcase_add_test which is outputting a warning.
2968
2969         * libs/gst/check/gstcheck.c:
2970         * libs/gst/check/gstcheck.h:
2971         Properly declare 'buffers', 'check_cond', 'check_mutex' extern
2972         and define them in gstcheck.c instead of having every .c file whcih
2973         includes gstcheck.h be defining its own copy and relying on symbol
2974         interposing to marry them all, which doesn't work on Solaris.
2975
2976         * tests/check/elements/identity.c: (GST_START_TEST):
2977         Don't define 'buffers' locally, it comes from libgstcheck.
2978
2979         * tests/check/generic/sinks.c: (send_buffer):
2980         Fix type of variable (GstFlowReturn, not GstStateChangeReturn)
2981
2982         * tests/check/gst/gststructure.c: (GST_START_TEST):
2983         * tests/check/gst/gstsystemclock.c: (GST_START_TEST):
2984         * tests/check/gst/gstutils.c: (GST_START_TEST):
2985         * tests/check/gst/gstvalue.c: (GST_START_TEST):
2986         Add a bunch of casts to make various constants fit the types
2987         they're being assigned to.
2988
2989 2008-01-10  Stefan Kost  <ensonic@users.sf.net>
2990
2991         * gst/gstchildproxy.c:
2992           Improve docs and add some ideas for making this more general-purpose.
2993
2994 2008-01-10  Tim-Philipp Müller  <tim at centricular dot net>
2995
2996         * gst/gst_private.h: (GST_CAT_TYPES):
2997           Add GST_CAT_TYPES, for consistency, and so that the other
2998           debug categories don't make fun of it. Spotted by Saur on IRC.
2999
3000 2008-01-10  Sebastian Dröge  <slomo@circular-chaos.org>
3001
3002         * gst/parse/Makefile.am:
3003           Move types.h from EXTRA_DIST to noinst_HEADERS.
3004
3005 2008-01-10  Sebastian Dröge  <slomo@circular-chaos.org>
3006
3007         * autogen.sh:
3008           Add -Wno-portability to the automake parameters to stop warnings
3009           about GNU make extensions being used. We require GNU make in almost
3010           every Makefile anyway.
3011
3012         * configure.ac:
3013           Use AM_PROG_CC_C_O as a compiler that accepts both -c and -o
3014           at the same time is required for per target flags.
3015
3016 2008-01-09  Tim-Philipp Müller  <tim at centricular dot net>
3017
3018         * gst/gstmacros.h:
3019           Include glib/gmacros.h for G_BEGIN_DECLS. Check if
3020           __GNUC__ is defined before using it.
3021
3022 2008-01-09  Tim-Philipp Müller  <tim at centricular dot net>
3023
3024         * docs/gst/gstreamer-sections.txt:
3025         * gst/gst.c: (init_post):
3026         * gst/gstplugin.c: (_gst_plugin_register_static),
3027           (gst_plugin_register_static), (_gst_plugin_initialize),
3028           (gst_plugin_register_func):
3029         * gst/gstplugin.h: (GST_PLUGIN_DEFINE_STATIC):
3030           API: add gst_plugin_register_static() and deprecate
3031           GST_PLUGIN_DEFINE_STATIC, since it's not portable
3032           (#498924).
3033           Also, in _gst_plugin_register_static(), make sure to call
3034           g_thread_init() before calling GLib functions such as
3035           g_list_append() if we're not initialised yet, since that
3036           may lead to random crashes with older GSlice/GLib versions.
3037
3038         * tests/check/gst/gstplugin.c:
3039           Adapt unit test to above changes.
3040
3041 2008-01-09  Tim-Philipp Müller  <tim at centricular dot net>
3042
3043         * gst/gst_private.h: (STRUCTURE_ESTIMATED_STRING_LEN):
3044         * gst/gstcaps.c: (gst_caps_to_string):
3045         * gst/gststructure.c: (GST_ASCII_IS_STRING),
3046           (priv_gst_structure_append_to_gstring), (gst_structure_to_string):
3047           Yet another gratuitous GString micro-optimisation: add a (private)
3048           function that serialises a structure appending to an existing
3049           GString, so that when we serialise caps we don't need to alloc+free
3050           a throwaway GString for each structure (each of which also entailing
3051           multiple reallocs on the way); also use g_string_sized_new() in
3052           various places with an approximate string length to avoid reallocs
3053           within GString. See #500143.
3054
3055 2008-01-09  Tim-Philipp Müller  <tim at centricular dot net>
3056
3057         * gst/gststructure.c: (gst_structure_id_set_value):
3058           Always check UTF-8 conformance of structure strings and not only
3059           if the debugging system is enabled; reasoning: the behaviour of
3060           the actual code shouldn't really change depending on whether the
3061           debugging system is enabled or not (#508291).
3062
3063 2008-01-09  Stefan Kost  <ensonic@users.sf.net>
3064
3065         * Makefile.am:
3066           Remove old coverage target in favour of "make lcov".
3067
3068 2008-01-09  Wim Taymans  <wim.taymans@collabora.co.uk>
3069
3070         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
3071         (gst_base_src_loop):
3072         The start segment for reverse playback goes from start to last_stop.
3073
3074 2008-01-09  Wim Taymans  <wim.taymans@collabora.co.uk>
3075
3076         Patch by: Peter Kjellerstedt <pkj axis com>
3077
3078         * gst/gstclock.h:
3079         Cast the results from the timeval/spec_to_time macros to what the
3080         docs say it casts to, a GstClockTime. fixes #508175.
3081
3082 2008-01-09  Wim Taymans  <wim.taymans@collabora.co.uk>
3083
3084         * gst/gstbuffer.c:
3085         Update some comments.
3086
3087         * tools/gst-inspect.c: (print_element_properties_info):
3088         Improve printing of flags.
3089
3090 2008-01-08  Tim-Philipp Müller  <tim at centricular dot net>
3091
3092         * libs/gst/base/gstbasetransform.c:
3093           (gst_base_transform_transform_size):
3094           Print element name with g_warning() if there's a problem
3095           with the unit size.
3096
3097 2008-01-07  David Schleef  <ds@schleef.org>
3098
3099         Patch by: Damien Lespiau <damien.lespiau@gmail.com>
3100
3101         * libs/gst/controller/gstcontroller.h:
3102         * libs/gst/controller/gstcontrolsource.h:
3103         * libs/gst/controller/gstinterpolationcontrolsource.h:
3104         * libs/gst/controller/gstlfocontrolsource.h:
3105         * libs/gst/dataprotocol/dataprotocol.h:
3106           Fix empty prototypes.  Fixes bug #507957.
3107
3108 2008-01-07  David Schleef  <ds@schleef.org>
3109
3110         * docs/faq/dependencies.xml: Fix typo.
3111
3112 2008-01-07  Wim Taymans  <wim.taymans@collabora.co.uk>
3113
3114         * libs/gst/base/gstbasesrc.c: (gst_base_src_default_do_seek),
3115         (gst_base_src_loop):
3116         Don't update the last_stop position in do_seek, that's the position we
3117         did a seek to.
3118         Read backwards when we have a negative rate.
3119
3120         * tests/check/elements/filesrc.c: (event_func), (wait_eos),
3121         (setup_filesrc), (cleanup_filesrc), (GST_START_TEST),
3122         (filesrc_suite):
3123         Add check for reverse reading.
3124
3125 2008-01-07  Tim-Philipp Müller  <tim at centricular dot net>
3126
3127         Patch by: Alexis Ballier <aballier at gentoo org>
3128
3129         * tests/check/gst/gstabi.c:
3130         * tests/check/gst/struct_ppc64.h:
3131         * tests/check/libs/libsabi.c:
3132         * tests/check/libs/struct_ppc64.h:
3133           Decide which header to include based on the userland ABI target
3134           and not the kernel/cpu. Fix up structure sizes of ppc64 header
3135           for 64-bit userland (#503590).  Might need something similar for
3136           x86 too.
3137
3138 2008-01-05  Tim-Philipp Müller  <tim at centricular dot net>
3139
3140         * gst/gstdebugutils.c: (_gst_debug_bin_to_dot_file):
3141           Log the reason why fopen fails in addition to the fact that it failed.
3142           
3143 2008-01-04  Sebastian Dröge  <slomo@circular-chaos.org>
3144
3145         * gst/parse/parse.l:
3146         Use "%option never-interactive" to prevent useless calls to isatty()
3147         on every input when parsing. Also use "%option noinput" to not define
3148         the static input/yyinput functions which we don't use anyway. This
3149         removes a compiler warning with gcc 4.3 and saves some bytes in the
3150         library.
3151         
3152         * gst/parse/lex._gst_parse_yy.pre.c:
3153         Regenerated for the above change.
3154
3155 2008-01-04  Wim Taymans  <wim.taymans@collabora.co.uk>
3156
3157         * gst/gstpad.c: (fixate_value):
3158         Don't crash when trying to fixate and empty list.
3159         Fixes #506643.
3160
3161 2008-01-03  Sebastian Dröge  <slomo@circular-chaos.org>
3162
3163         * docs/faq/gst-uninstalled:
3164         Clarify the comments to make the usage of this script and what it
3165         does easier to understand.
3166
3167 2008-01-01  Thijs Vermeir  <thijsvermeir@gmail.com>
3168
3169         * tools/gst-plot-timeline.py:
3170         Add more options to gst-plot-timeline
3171
3172 2007-12-31  Wim Taymans  <wim.taymans@collabora.co.uk>
3173
3174         * docs/design/part-synchronisation.txt:
3175         Some more info on how the stream_time in GstBaseSink is done.
3176
3177 2007-12-30  Tim-Philipp Müller  <tim at centricular dot net>
3178
3179         * tests/check/generic/sinks.c: (gst_sinks_suite):
3180           Put back the tcase_set_timeout(), apparently it's needed after
3181           all; fix it up in a way that makes things work with valgrind too.
3182
3183 2007-12-30  Thijs Vermeir  <thijsvermeir@gmail.com>
3184
3185         * gst/gstdebugutils.c:
3186           Add warning when failed to open file for writing.
3187
3188 2007-12-28  Tim-Philipp Müller  <tim at centricular dot net>
3189
3190         Based on patch by: Laurent Glayal  <spglegle yahoo fr>
3191
3192         * gst/gstvalue.c: (gst_value_is_fixed):
3193           Optimisation: bail out of the loop as early as possible (#500143).
3194
3195 2007-12-28  Tim-Philipp Müller  <tim at centricular dot net>
3196
3197         * gst/gstcaps.c: (gst_caps_to_string):
3198         * gst/gstinfo.c: (gst_debug_construct_term_color):
3199         * gst/gstparse.c: (gst_parse_launchv):
3200         * gst/gstutils.c: (gst_util_dump_mem):
3201         * gst/gstvalue.c: (gst_value_serialize_any_list),
3202           (gst_value_transform_any_list_string):
3203           Bunch of gratuitous nano-optimisations.
3204
3205 2007-12-28  Tim-Philipp Müller  <tim at centricular dot net>
3206
3207         * tests/check/generic/sinks.c: (async_done_func),
3208           (async_done_eos_func):
3209           Fix leak in unit test (bus sync handler must unref the message
3210           if it returns GST_BUS_DROP). Don't fiddle with the default test
3211           timeout, this is smaller than the current preconfigured value
3212           via CK_DEFAULT_TIMEOUT, and also breaks things with valgrind
3213           because it overrides the value specified in CK_DEFAULT_TIMEOUT.
3214
3215 2007-12-24  Wim Taymans  <wim.taymans@collabora.co.uk>
3216
3217         Based on Patch by: Laurent Glayal <spglegle at yahoo dot fr>
3218
3219         * configure.ac:
3220         Check for stdio_ext.h for the filesink changes.
3221
3222         * plugins/elements/gstfilesink.c: (buffer_mode_get_type),
3223         (gst_file_sink_class_init), (gst_file_sink_init),
3224         (gst_file_sink_dispose), (gst_file_sink_set_property),
3225         (gst_file_sink_get_property), (gst_file_sink_open_file),
3226         (gst_file_sink_close_file):
3227         * plugins/elements/gstfilesink.h:
3228         Add two properties to control the buffering mode and size.
3229         API: GstFileSink::buffer-mode
3230         API: GstFileSink::buffer-size
3231         Fixes #500150.
3232
3233 2007-12-24  Wim Taymans  <wim.taymans@collabora.co.uk>
3234
3235         * gst/gstsystemclock.c: (gst_system_clock_id_wait_jitter_unlocked):
3236         Add some more docs to explain why a FIXME was wrongly added. 
3237
3238 2007-12-22  Sebastian Dröge  <slomo@circular-chaos.org>
3239
3240         * gst/gstobject.c:
3241           Fix typo in the gst_object_{ref,unref} documentation.
3242
3243 2007-12-21  Tim-Philipp Müller  <tim at centricular dot net>
3244
3245         * tests/check/libs/controller.c:
3246         * tests/check/libs/typefindhelper.c:
3247         * tests/check/pipelines/parse-launch.c:
3248           Don't use GST_PLUGIN_DEFINE_STATIC, it is not portable and is
3249           going to be deprecated (see #498924).
3250
3251 2007-12-21  Tim-Philipp Müller  <tim at centricular dot net>
3252
3253         * gst/gsttypefind.c: (gst_type_find_register):
3254           Make gst_type_find_register work for static typefind functions,
3255           ie. allow passing plugin == NULL (prerequisite for #498924).
3256
3257         * gst/gstelementfactory.c: (gst_element_register):
3258           Small docs addition.
3259
3260 2007-12-21  Wim Taymans  <wim.taymans@collabora.co.uk>
3261
3262         * gst/gstpad.c: (gst_pad_dispose):
3263         Really unlink the peer pad instead of setting the peer pointer to NULL
3264         when we dispose the pad.
3265         This correctly calls the unlink functions and makes sure that the peer
3266         does not have a handle to invalid memory. See #504671.
3267
3268         * tests/check/gst/gstpad.c: (GST_START_TEST), (gst_pad_suite):
3269         Add testsuite for above case.
3270
3271 2007-12-20  Tim-Philipp Müller  <tim at centricular dot net>
3272
3273         Patch by: Peter Kjellerstedt <pkj axis com>
3274
3275         * libs/gst/check/gstcheck.h:
3276           Fix detection of the check version we're compiling against (would
3277           otherwise break if check goes v0.10.0); correctly report the
3278           name of the failed test again in case of failure, instead of
3279           just 'tf' (fixes #504499).
3280
3281 2007-12-19  Wim Taymans  <wim.taymans@collabora.co.uk>
3282
3283         * libs/gst/base/gstbasesrc.c: (gst_base_src_send_event),
3284         (gst_base_src_get_range), (gst_base_src_pad_get_range),
3285         (gst_base_src_loop), (gst_base_src_set_flushing),
3286         (gst_base_src_change_state):
3287         Allow sending EOS to the source to make it send out an EOS event from
3288         the streaming thread.
3289         Update docs and deprecate the old NULL/READY shutdown method.
3290
3291         * tests/check/libs/basesrc.c: (GST_START_TEST),
3292         (gst_basesrc_suite):
3293         Add unit test for controlled shutdown.
3294
3295 2007-12-19  Wim Taymans  <wim.taymans@collabora.co.uk>
3296
3297         * docs/design/part-synchronisation.txt:
3298         Small updates.
3299
3300         * gst/gstsegment.c: (gst_segment_set_seek),
3301         (gst_segment_set_newsegment_full), (gst_segment_to_stream_time),
3302         (gst_segment_to_running_time):
3303         The seek format can be different from the segment format when the start
3304         and stop values are not to be updated, when we only do a rate change for
3305         example.
3306
3307         * tests/check/gst/gstsegment.c: (GST_START_TEST),
3308         (gst_segment_suite):
3309         Add a testcase for the rate-only seeks, checking that the format is
3310         correctly ignored when start and stop are not updated.
3311
3312 2007-12-18  Sebastian Dröge  <slomo@circular-chaos.org>
3313
3314         Patch by: Matthias Bolte <photon at mail dot upb dot de>
3315
3316         * win32/vs8/grammar.vcproj:
3317         * win32/vs8/libgstcontroller.vcproj:
3318         * win32/vs8/libgstreamer.vcproj:
3319         Fix compilation with VS8 and include some missing files.
3320
3321 2007-12-18  Tim-Philipp Müller  <tim at centricular dot net>
3322
3323         * gst/gsttaglist.c:
3324           Small docs addition: mention that the strings returned by
3325           gst_tag_list_get_string*() are in UTF-8 encoding.
3326
3327 2007-12-17  Tim-Philipp Müller  <tim at centricular dot net>
3328
3329         * Makefile.am:
3330           The check-exports stuff moved to common/win32.mak, so include that.
3331
3332 2007-12-17  Wim Taymans  <wim.taymans@collabora.co.uk>
3333
3334         * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
3335         (gst_base_src_perform_seek), (gst_base_src_get_range),
3336         (gst_base_src_set_playing), (gst_base_src_change_state):
3337         Make _wait_playing() not check any variables so that we can call this
3338         function from subclasses. Move the checks elsewhere similar to
3339         _wait_preroll() in basesink.
3340         Add some debugging.
3341         Only signal the LIVE cond when we are going back to PLAYING.
3342
3343 2007-12-16  Tim-Philipp Müller  <tim at centricular dot net>
3344
3345         * gst/gstregistrybinary.c: (gst_registry_binary_write_cache):
3346           Use g_remove() and g_rename(). Check result of g_rename(), and
3347           don't leak the open file descriptor if we error out when writing.
3348
3349         * gst/gstregistryxml.c: (load_plugin), (gst_registry_xml_write_cache):
3350           Must check the return value of close() after writing out the new
3351           registry file.  Sometimes write problems such as out-of-diskspace
3352           are only reported when the file is closed and not already during
3353           the write.  This may have caused partial/broken registry files in
3354           some rare circumstances. Should fix #503675.
3355
3356 2007-12-16  Edward Hervey  <edward.hervey@collabora.co.uk>
3357
3358         * docs/gst/.cvsignore:
3359         * docs/libs/.cvsignore:
3360         * docs/plugins/.cvsignore:
3361         Ignore files generated by new common/* modifications
3362
3363 2007-12-15  Stefan Kost  <ensonic@users.sf.net>
3364
3365         * win32/common/libgstbase.def:
3366           Yes, you can also have a <TAB> if you want.
3367
3368 2007-12-15  Stefan Kost  <ensonic@users.sf.net>
3369
3370         * win32/common/libgstbase.def:
3371           Add new basetransform API to win export file.
3372
3373 2007-12-15  Stefan Kost  <ensonic@users.sf.net>
3374
3375         * tests/check/gst/gstbin.c:
3376           Adjust the test to the refcount change two days ago.
3377
3378 2007-12-14  David Schleef  <ds@schleef.org>
3379
3380         * docs/faq/getting.xml: Fix typo.
3381
3382 2007-12-14  Sebastian Dröge  <slomo@circular-chaos.org>
3383
3384         * docs/libs/gstreamer-libs-sections.txt:
3385         * libs/gst/base/gstbasetransform.c: (gst_base_transform_init),
3386           (gst_base_transform_prepare_output_buffer),
3387           (gst_base_transform_set_gap_aware):
3388         * libs/gst/base/gstbasetransform.h:
3389           API: Add gst_base_transform_set_gap_aware() to control whether
3390           the element correctly handles GST_BUFFER_FLAG_GAP or shouldn't
3391           get buffers with this flag at all. Fixes #503231.
3392
3393 2007-12-13  Stefan Kost  <ensonic@users.sf.net>
3394
3395         * libs/gst/base/gstbasesink.c:
3396         * libs/gst/base/gstbasesrc.c:
3397         * libs/gst/base/gstbasetransform.c:
3398           Replace gst_pad_get_parent by GST_OBJECT_PARENT inside streaming
3399           thread. Correct log message in gstbasesrc.c.
3400
3401 2007-12-13  Tim-Philipp Müller  <tim at centricular dot net>
3402
3403         * gst/gstutils.c: (element_find_unconnected_pad):
3404           Fix possible compiler warning (#503417).
3405
3406 2007-12-13  Tim-Philipp Müller  <tim at centricular dot net>
3407
3408         * gst/gstobject.c: (gst_object_dispatch_properties_changed):
3409           Don't use GST_CAT_EVENT here for logging, it makes no sense.
3410
3411 2007-12-13  Sebastian Dröge  <slomo@circular-chaos.org>
3412
3413         * tools/gst-inspect.c: (print_element_properties_info):
3414           Add support for GstFraction properties.
3415
3416 2007-12-12  Tim-Philipp Müller  <tim at centricular dot net>
3417
3418         * Makefile.am:
3419           Add check-exports target and run it as part of 'make check'
3420           (see #499140 and #493983).
3421
3422         * gst/gst_private.h:
3423         * gst/gstelementfactory.h:
3424         * gst/gstghostpad.c: (gst_proxy_pad_class_init):
3425         * gst/gstinfo.c: (_priv_gst_in_valgrind), (_gst_debug_init),
3426           (_priv_gst_in_valgrind):
3427         * gst/gstinfo.h: (GstLogFunction):
3428         * gst/gsttypefind.c: (type_find_debug), (GST_CAT_DEFAULT),
3429           (gst_type_find_register):
3430         * gst/gsttypefindfactory.c: (type_find_debug), (GST_CAT_DEFAULT),
3431           (gst_type_find_factory_get_type):
3432         * libs/gst/controller/gstcontroller.c: (GST_CAT_DEFAULT),
3433           (GST_CAT_DEFAULT), (parent_class), (priv_gst_controller_key),
3434           (gst_controller_new_valist), (gst_controller_new_list),
3435           (_gst_controller_dispose), (_gst_controller_class_init):
3436         * libs/gst/controller/gstcontrolsource.c: (GST_CAT_DEFAULT):
3437         * libs/gst/controller/gsthelper.c: (GST_CAT_DEFAULT),
3438           (GST_CAT_DEFAULT), (gst_object_uncontrol_properties),
3439           (gst_object_get_controller), (gst_object_set_controller),
3440           (gst_object_suggest_next_sync), (gst_object_sync_values),
3441           (gst_object_set_control_source), (gst_object_get_control_source),
3442           (gst_object_get_value_arrays), (gst_object_get_value_array),
3443           (gst_object_get_control_rate), (gst_object_set_control_rate):
3444         * libs/gst/controller/gstinterpolation.c: (GST_CAT_DEFAULT):
3445         * libs/gst/controller/lib.c: (GST_CAT_DEFAULT):
3446           Make some functions that should be static static; rename some
3447           private symbols so that they don't get exported; add some FIXME
3448           comments so we can move accidentally exported functions into
3449           our private section in 0.11.
3450
3451         * win32/common/libgstreamer.def:
3452           Add gst_utils_get_timestamp().
3453
3454 2007-12-12  Stefan Kost  <ensonic@users.sf.net>
3455
3456         * gst/gstvalue.c:
3457         * gst/gstvalue.h:
3458           Add more missing "Since:" tags to docs.
3459
3460 2007-12-12  Stefan Kost  <ensonic@users.sf.net>
3461
3462         * gst/gstutils.c:
3463           Add mising "Since:" to docs.
3464
3465 2007-12-11  Stefan Kost  <ensonic@users.sf.net>
3466
3467         * gst/gstplugin.c:
3468           Include "glib-compat-private.h" to fix the build on system with
3469           glib < 2.10. Fixes #503131.
3470
3471 2007-12-11  Stefan Kost  <ensonic@users.sf.net>
3472
3473         * gst/gstutils.c:
3474         * gst/gstutils.h:
3475           Actually its not PURE as it gets the time from elsewhere.
3476
3477 2007-12-11  Stefan Kost  <ensonic@users.sf.net>
3478
3479         * docs/gst/gstreamer-sections.txt:
3480         * gst/gstclock.h:
3481         * gst/gstdebugutils.c:
3482         * gst/gstinfo.c:
3483         * gst/gstutils.c:
3484         * gst/gstutils.h:
3485         * libs/gst/base/gstbasesink.c:
3486         * tools/gst-launch.c:
3487           Change GST_GET_TIMESTAMP into gst_util_get_timestamp and replace all
3488           uses as we don't have HAVE_POSIX_TIMERS in public headers.
3489           Thanks Tim for spotting.
3490           API: gst_util_get_timestamp
3491
3492 2007-12-09  Sebastian Dröge  <slomo@circular-chaos.org>
3493
3494         * configure.ac:
3495           Don't define GST_DISABLE_DEPRECATED for releases. Fixes #498181.
3496
3497 2007-12-08  Tim-Philipp Müller  <tim at centricular dot net>
3498
3499         * gst/gststructure.c: (gst_structure_validate_name),
3500           (gst_structure_new_valist), (gst_structure_parse_value),
3501           (gst_structure_from_string):
3502           Don't crash in _from_string() if the structure name is not valid
3503           (fixes #501560).  Allow structure names to start with a number
3504           again (this apparently broke the ubuntu codec installer).
3505
3506         * tests/check/gst/gststructure.c: (GST_START_TEST), (GST_START_TEST),
3507           (GST_START_TEST):
3508           Add unit test for the crash; update unit tests for new behaviour.
3509
3510 2007-12-03  Wim Taymans  <wim.taymans@gmail.com>
3511
3512         * gst/gstutils.c:
3513         Clarify gst_element_get_compatible_pad() documentation.
3514         Fixes #500919.
3515
3516 2007-12-02  Sebastian Dröge  <slomo@circular-chaos.org>
3517
3518         * tests/check/Makefile.am:
3519           Don't forget to dist {gst,libs}/struct_hppa.h.
3520
3521 2007-11-28  Stefan Kost  <ensonic@users.sf.net>
3522
3523         * libs/gst/base/gstbasesink.c:
3524           Use new API to get elapsed time.
3525
3526 2007-11-28  Stefan Kost  <ensonic@users.sf.net>
3527
3528         * gst/gstdebugutils.c:
3529         * gst/gstinfo.c:
3530           Fix wrong order of args in GST_CLOCK_DIFF() usage.
3531
3532         * tools/gst-launch.c:
3533           Use new API to get elapsed time.
3534
3535 2007-11-28  Stefan Kost  <ensonic@users.sf.net>
3536
3537         * docs/gst/gstreamer-sections.txt:
3538         * gst/gstclock.h:
3539         * gst/gstdebugutils.c:
3540         * gst/gstinfo.c:
3541           Rename new API + ChangeLog surgery to remove old name from last entry..
3542
3543 2007-11-28  Stefan Kost  <ensonic@users.sf.net>
3544
3545         * docs/gst/gstreamer-sections.txt:
3546         * gst/gstclock.h:
3547         * gst/gstdebugutils.c:
3548         * gst/gstinfo.c:
3549           Now hide the different clock stuff behind a macro.
3550
3551 2007-11-28  Stefan Kost  <ensonic@users.sf.net>
3552
3553         * configure.ac:
3554         * gst/gstdebugutils.c:
3555         * gst/gstinfo.c:
3556           Apply the posix-timer check from #361155. Conditionally use the posix
3557           timer for logging. This gives better timestamp precission, less
3558           overhead and no ntp jitter.
3559
3560 2007-11-28  Sebastian Dröge  <slomo@circular-chaos.org>
3561
3562         * gst/gstminiobject.c: (gst_mini_object_get_type),
3563         (gst_mini_object_class_init), (gst_mini_object_copy_default),
3564         (gst_mini_object_finalize), (gst_mini_object_copy),
3565         (gst_mini_object_is_writable), (gst_mini_object_make_writable),
3566         (gst_mini_object_replace), (param_mini_object_validate),
3567         (gst_param_spec_mini_object_get_type):
3568         Some cleanup and checking against invalid function parameters.
3569
3570 2007-11-28  Wim Taymans  <wim.taymans@gmail.com>
3571
3572         * docs/gst/gstreamer-sections.txt:
3573         * gst/gstclock.h:
3574         * tests/check/gst/gstsystemclock.c: (GST_START_TEST),
3575         (gst_systemclock_suite):
3576         Start merging in the easy bits of #361155, the monotonic clock patch.
3577         This one adds a few handy macros with docs and a testsuite.
3578
3579 2007-11-27  Wim Taymans  <wim.taymans@gmail.com>
3580
3581         * plugins/elements/gstfilesink.c: (gst_file_sink_event):
3582         Be a bit smarter when seeking, like, don't try to do a seek when it's
3583         not needed. This avoids errors when the file is not seekable.
3584         Fixes #499771.
3585
3586 2007-11-26  Stefan Kost  <ensonic@users.sf.net>
3587
3588         * docs/gst/gstreamer-docs.sgml:
3589         * docs/gst/gstreamer-sections.txt:
3590         * docs/gst/gstreamer.types.in:
3591         * gst/Makefile.am:
3592         * gst/gst.h:
3593         * gst/gstpreset.c:
3594         * gst/gstpreset.h:
3595         * plugins/elements/gstqueue.c:
3596           Due to popular request remove preset interface again. :-(.
3597
3598 2007-11-22  Stefan Kost  <ensonic@users.sf.net>
3599
3600         * tools/gst-inspect.c:
3601           Print 'default value' for enums and flags too.
3602
3603 2007-11-22  Stefan Kost  <ensonic@users.sf.net>
3604
3605         * docs/random/ensonic/profiling.txt:
3606           More ideas.
3607
3608         * gst/gstbin.c:
3609           Fix typo and give better log output.
3610
3611         * gst/gstdebugutils.c:
3612         * gst/gstdebugutils.h:
3613           More ideas, make graphs a bit smaller and fix param name in macro.
3614
3615 2007-11-22  Stefan Kost  <ensonic@users.sf.net>
3616
3617         * gst/gstpreset.c:
3618           Try harder to use the return value from fgets().
3619
3620 2007-11-21  Stefan Kost  <ensonic@users.sf.net>
3621
3622         * gst/gstpreset.c:
3623           For theses two fgets we handle the error below.
3624
3625 2007-11-21  Wim Taymans  <wim.taymans@gmail.com>
3626
3627         * libs/gst/base/gstbasesink.c: (gst_base_sink_send_event):
3628         Only send upstream events upstream. Fixes #498746.
3629
3630 2007-11-21  Wim Taymans  <wim.taymans@gmail.com>
3631
3632         Patch by: Laurent Glayal <spglegle at yahoo dot fr>
3633
3634         * plugins/elements/gstidentity.c: (gst_identity_class_init),
3635         (gst_identity_init), (gst_identity_transform_ip),
3636         (gst_identity_set_property), (gst_identity_get_property):
3637         * plugins/elements/gstidentity.h:
3638         Add property to disable handoff signal emission. Fixes #498694.
3639         API: GstIdentity::signal-handoffs
3640
3641 2007-11-21  Julien Moutte  <julien@fluendo.com>
3642
3643         * docs/faq/gst-uninstalled: Yet another missing library for the
3644         uninstalled script (fft)
3645
3646 2007-11-21  Jan Schmidt  <jan.schmidt@sun.com>
3647
3648         * docs/faq/developing.xml:
3649         Add a question about how to submit new translations.
3650
3651         * docs/random/release:
3652         Update the contact email address for the Translation Project
3653
3654         * plugins/elements/gstfdsrc.c:
3655         The parent_class for fdsrc is pushsrc, not GstElement.
3656
3657 2007-11-20  Stefan Kost  <ensonic@users.sf.net>
3658
3659         * gst/gstpreset.c:
3660           Plug a leak and fix saving.
3661
3662 2007-11-20  Sebastian Dröge  <slomo@circular-chaos.org>
3663
3664         * docs/gst/gstreamer-sections.txt:
3665         Add new gst_preset__get_property_names() function to the docs
3666         to fix the build.
3667
3668 2007-11-20  Stefan Kost  <ensonic@users.sf.net>
3669
3670         * gst/gstpreset.c:
3671         * gst/gstpreset.h:
3672           Change _get_preset_names API to return a strv with copies. Add
3673           _get_property_names to allow implementations to filter and provide
3674           good default implementation.
3675
3676 2007-11-20  Julien MOUTTE  <julien@moutte.net>
3677
3678         * docs/faq/gst-uninstalled: Add another library to the uninstalled
3679         script (sdp).
3680
3681 2007-11-19  Stefan Kost  <ensonic@users.sf.net>
3682
3683         * gst/gstpreset.c:
3684           More cleanups, docs, and TODOs from comments that now slowly come in.
3685
3686 2007-11-19  Julien MOUTTE  <julien@moutte.net>
3687
3688         * docs/faq/gst-uninstalled: Add new base libraries in the LD 
3689         search path.
3690
3691 2007-11-19  Stefan Kost  <ensonic@users.sf.net>
3692
3693         * gst/gstpreset.c:
3694           Fix bogus warning and make the property type specific code more
3695           similar.
3696
3697 2007-11-19  Julien MOUTTE  <julien@moutte.net>
3698
3699         * gst/gstpreset.c: (gst_preset_default_create_preset): Make
3700         it build on OS X.
3701
3702 2007-11-19  Wim Taymans  <wim.taymans@gmail.com>
3703
3704         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
3705         (gst_bin_add_func), (gst_bin_remove_func),
3706         (gst_bin_change_state_func), (gst_bin_continue_func):
3707         Change email, cleanups add some more debug and comments.
3708         Also set bus and clock on new elements when the pipeline was in error.
3709
3710 2007-11-18  Stefan Kost  <ensonic@users.sf.net>
3711
3712         * gst/gstbin.c:
3713         * gst/gstdebugutils.c:
3714           Fix build with --disable-gst-debug. Fixes #497859.
3715           Spotted by Sameer Naik.
3716
3717 2007-11-17  Stefan Kost  <ensonic@users.sf.net>
3718
3719         * gst/gstevent.c:
3720           Little documentation improvment.
3721
3722         * gst/gstpreset.c:
3723           More TODO cleanups. Remove c++ comments.
3724
3725         * libs/gst/controller/gstcontroller.c:
3726           Add TODO and use quark from static string.
3727
3728         * tests/check/gst/gstmessage.c:
3729         * tests/check/gst/gststructure.c:
3730           Use quark from static string.
3731
3732 2007-11-17  Stefan Kost  <ensonic@users.sf.net>
3733
3734         * gst/gstpreset.c:
3735           Add some comments and TODOs.
3736
3737         * gst/gstpreset.h:
3738           Add padding for future changes.
3739
3740         * plugins/elements/gstqueue.c:
3741           Implement the iface.    
3742
3743 2007-11-17  Stefan Kost  <ensonic@users.sf.net>
3744
3745         * docs/gst/gstreamer-docs.sgml:
3746         * docs/gst/gstreamer-sections.txt:
3747         * docs/gst/gstreamer.types.in:
3748         * gst/Makefile.am:
3749         * gst/gst.h:
3750         * gst/gstpreset.c:
3751         * gst/gstpreset.h:
3752           Add the preset interface (Fixes #396779). Do some doc cleanups along.
3753
3754 2007-11-16  Jan Schmidt  <jan.schmidt@sun.com>
3755
3756         * configure.ac:
3757
3758         Back to CVS
3759
3760 === release 0.10.15 ===
3761
3762 2007-11-15  Jan Schmidt <jan.schmidt@sun.com>
3763
3764         * configure.ac:
3765           releasing 0.10.15, "October"
3766
3767 2007-11-14  Jan Schmidt  <jan.schmidt@sun.com>
3768
3769         * win32/vs6/libgstreamer.dsp:
3770         Convert line endings back to DOS.
3771
3772 2007-11-13  Stefan Kost  <ensonic@users.sf.net>
3773
3774         * docs/design/draft-tagreading.txt:
3775         * docs/random/ensonic/profiling.txt:
3776         Update fast tagreading draft and performance profiling ideas.
3777
3778 2007-11-09  Wim Taymans  <wim.taymans@gmail.com>
3779
3780         * libs/gst/base/gstbasesink.c: (gst_base_sink_set_last_buffer):
3781         Don't hold the object lock when unreffing a buffer because it could
3782         cause a deadlock when the finalize function wants to grab the object
3783         lock too. Fixes #495133.
3784
3785 2007-11-09  Wim Taymans  <wim.taymans@gmail.com>
3786
3787         * gst/gstsegment.c: (gst_segment_set_newsegment_full),
3788         (gst_segment_to_stream_time), (gst_segment_to_running_time):
3789         Also accumulate time correctly when doing reverse playback. Fixes
3790         #488201,
3791         When converting to running and stream time, use default values for
3792         start/stop/time/accum when comparing different formats. Fixes #494245.
3793
3794         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
3795         Do running/stream time in TIME format.
3796
3797         * tests/check/gst/gstsegment.c: (GST_START_TEST),
3798         (gst_segment_suite):
3799         2 new unit tests for segment accumulation.
3800
3801 2007-11-07  Tim-Philipp Müller  <tim at centricular dot net>
3802
3803         * gst/gst.c: (init_pre):
3804         * gst/gstdebugutils.c: (priv_gst_dump_dot_dir), (debug_dump_element),
3805           (_gst_debug_bin_to_dot_file):
3806           Move getenv() back into gst_init, so everyone can live happily
3807           ever after. Make sure the symbol isn't exported though.
3808
3809 2007-11-06  Tim-Philipp Müller  <tim at centricular dot net>
3810
3811         Patch by: Sebastien Moutte  <sebastien moutte net>
3812
3813         * win32/common/gstenumtypes.c:
3814         * win32/common/gstenumtypes.h:
3815           Update enum types.
3816
3817         * win32/vs6/libgstreamer.dsp:
3818           Update vs6 project files (#494343).
3819
3820 2007-11-06  Wim Taymans  <wim.taymans@gmail.com>
3821
3822         * libs/gst/base/gstbasesrc.c: (gst_base_src_default_query),
3823         (gst_base_src_perform_seek), (gst_base_src_default_event),
3824         (gst_base_src_set_flushing), (gst_base_src_activate_push),
3825         (gst_base_src_activate_pull):
3826         Unify flushing code, remove some old unlock code that is no longer used.
3827         Take the streaming lock when seeking to avoid races. Fixes #492729.
3828         Added some more comments.
3829
3830 2007-11-06  Tim-Philipp Müller  <tim at centricular dot net>
3831
3832         * gst/gst.c: (_gst_disable_segtrap):
3833           Make  _gst_disable_segtrap static, it's only used in gstplugin.c and
3834           we can use gst_segtrap_is_enabled() there now that we have that API.
3835           Move _gst_debug_dump_dot_dir into gstdebugutils.c, there's no reason
3836           to do the getenv here (and export the variable).
3837
3838         * gst/gstdebugutils.c: (debug_dump_element),
3839           (_gst_debug_bin_to_dot_file), (_gst_debug_bin_to_dot_file_with_ts):
3840           Don't use VLAs which is a C99ism and throws off MSVC (#493983).
3841
3842         * gst/gstinfo.c: (_priv_gst_info_start_time), (_gst_debug_init),
3843           (gst_debug_log_default):
3844           Rename _gst_info_start_time to priv_gst_info_start_time so it
3845           doesn't get exported (was never in any header).
3846
3847         * gst/gstplugin.c: (_gst_plugin_fault_handler_setup),
3848           (gst_plugin_loading_mutex):
3849           Make static mutex gst_plugin_loading_mutex really static (was never
3850           in any header), and use gst_segtrap_is_enabled() instead of
3851           _gst_disable_segtrap.
3852
3853         * gst/gsttrace.c: (_gst_trace_default):
3854           Make local _gst_trace_default static (was never in any header).
3855
3856 2007-11-06  Tim-Philipp Müller  <tim at centricular dot net>
3857
3858         Patch by: Ole André Vadla Ravnås  <ole.andre.ravnas@tandberg.com>
3859
3860         * win32/common/libgstbase.def:
3861         * win32/common/libgstcontroller.def:
3862         * win32/common/libgstdataprotocol.def:
3863         * win32/common/libgstnet.def:
3864         * win32/common/libgstreamer.def:
3865           Add more missing symbols, remove some duplicates, and sort
3866           as the 'sort' command sorts it (partially fixes #493983).
3867
3868 2007-11-06  Wim Taymans  <wim.taymans@gmail.com>
3869
3870         * gst/gstelement.c: (gst_element_set_state_func):
3871         Only change the state cookie if a different state was set on the
3872         element. See #492729.
3873
3874 2007-11-06  Tim-Philipp Müller  <tim at centricular dot net>
3875
3876         * gst/gstvalue.c:
3877           Remove unused and uninitialised type variables that were still
3878           exported for some reason (they were never in any header files
3879           though).
3880
3881 2007-11-06  Wim Taymans  <wim.taymans@gmail.com>
3882
3883         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
3884         (gst_base_sink_do_sync), (gst_base_sink_preroll_object),
3885         (gst_base_sink_event), (gst_base_sink_get_position_last),
3886         (gst_base_sink_get_position_paused), (gst_base_sink_get_position),
3887         (gst_base_sink_change_state):
3888         Don't try to report a 0 position when we don't know, return -1 and FALSE
3889         instead. This mostly happens when we are prerolling.
3890         Make sure we can report the right position before we post the ASYNC_DONE
3891         message so that a message handler can query position without races.
3892
3893         * tests/check/generic/sinks.c: (send_eos), (GST_START_TEST),
3894         (async_done_handoff), (async_done_func), (send_buffer),
3895         (async_done_eos_func), (gst_sinks_suite):
3896         Add two tests for the above.
3897
3898 2007-11-06  Wim Taymans  <wim.taymans@gmail.com>
3899
3900         * MAINTAINERS:
3901         Update with new email address.
3902
3903         * docs/design/part-TODO.txt:
3904         Add some more info about future pad-block and negotiation changes.
3905
3906         * docs/design/part-buffering.txt:
3907         Add some ideas about buffering reporting.
3908
3909 2007-11-06  Jan Schmidt  <jan.schmidt@sun.com>
3910
3911         * tests/check/gst/gstobject.c:
3912         Disable silly racy test that always fails on this combination of CPU
3913         and kernel.
3914
3915 2007-11-03  Tim-Philipp Müller  <tim at centricular dot net>
3916
3917         Patch by: Murray Cumming  <murrayc@murrayc.com>
3918
3919         * gst/gstobject.c:
3920           Corrected the registration of the parent-set and parent-unset
3921           signals: The parameter is a GstObject, not a GObject (#493134).
3922
3923 2007-11-02  Tim-Philipp Müller  <tim at centricular dot net>
3924
3925         * gst/gst_private.h:
3926         * gst/gstbuffer.h:
3927         * gst/gstevent.h:
3928         * gst/gstformat.h:
3929         * gst/gstmessage.h:
3930         * gst/gstplugin.h:
3931         * gst/gstquery.h:
3932         * gst/gsttaglist.h:
3933         * gst/gstvalue.h:
3934           Move declaration of private _gst_foo_initialize() functions into
3935           our private header file where they should have been all along.
3936
3937 2007-11-02  Tim-Philipp Müller  <tim at centricular dot net>
3938
3939         * docs/plugins/gstreamer-plugins-sections.txt:
3940         * gst/gstdebugutils.h:
3941         * gst/gstxml.h:
3942         * plugins/elements/gstqueue.c:
3943           gtk-doc fixes; trailing-comma-in-enum fix.
3944
3945 2007-11-02  Tim-Philipp Müller  <tim at centricular dot net>
3946
3947         * gst/gst.c: (gst_deinit):
3948           Clean up on deinit (not the external ones though, doesn't seem to be
3949           needed for some reason).
3950
3951 2007-11-01  Tim-Philipp Müller  <tim at centricular dot net>
3952
3953         * gst/gstinfo.h: (GST_DEBUG_CATEGORY_EXTERN):
3954           Remove __declspec(dllimport) for MSVC that was copied over into core
3955           from a plugin, obviously without ever having been tested (note the
3956           single underscore in _declspec in the initial commit), and that doesn't
3957           really make sense.  See #492077.
3958
3959 2007-11-01  Tim-Philipp Müller  <tim at centricular dot net>
3960
3961         * gst/gst.c: (init_post):
3962         * gst/gstevent.c: (_gst_event_initialize):
3963         * gst/gstquery.c: (_gst_query_initialize):
3964         * libs/gst/dataprotocol/dataprotocol.c (gst_dp_init):
3965           g_type_class_ref() other types as well, see #349410 and #64764.
3966
3967         * gst/gstbuffer.c: (_gst_buffer_initialize):
3968         * gst/gstmessage.c: (_gst_message_initialize):
3969           Simplify existing g_type_class_ref().
3970
3971 2007-11-01  Tim-Philipp Müller  <tim at centricular dot net>
3972
3973         * gst/gstformat.c: (_gst_format_initialize):
3974           g_type_class_ref() our GstFormat type to make sure we avoid the
3975           thread-unsafe bits of the GObject/GType system, ie. bug #349410 and
3976           bug #64764. Should fix intermittent tee unit test failures (#474823).
3977
3978 2007-11-01  Tim-Philipp Müller  <tim at centricular dot net>
3979
3980         * tests/check/elements/tee.c: (test_num_buffers):
3981           Simplify, simplify, simplify - or not.  Rewrite unit test
3982           not to use gst_parse_launch(); allow N sub-streams. Increasing
3983           the number of sub-streams seems to reproduce #474823 more easily.
3984
3985 2007-10-31  Tim-Philipp Müller  <tim at centricular dot net>
3986
3987         Patch by: Ole André Vadla Ravnås  <ole.andre.ravnas@tandberg.com>
3988
3989         * gst/gsttrace.c:
3990         * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_new):
3991         * libs/gst/net/gstnettimepacket.c: (gst_net_time_packet_send):
3992         * libs/gst/net/gstnettimeprovider.c: (gst_net_time_provider_new):
3993           Fix a couple of missing includes for MSVC2005 and a C99 issue. Also,
3994           starting with 2.14.0, GLib won't provide a pipe() macro any longer,
3995           so use _pipe() directly (#492077).
3996
3997         * win32/common/dirent.c: (_treaddir):
3998           Add a couple of casts to make it build without warnings with MSVC.
3999
4000         * win32/common/libgstreamer.def:
4001           Add some more symbols that need to be exported.
4002
4003 2007-10-31  Tim-Philipp Müller  <tim at centricular dot net>
4004
4005         * tests/examples/metadata/read-metadata.c: (message_loop):
4006           Use _KEEP as merge mode rather than _KEEP_ALL, so tags
4007           arriving in a second or third tag message are added to
4008           the tag list as well.
4009
4010 2007-10-31  Stefan Kost  <ensonic@users.sf.net>
4011
4012         * libs/gst/base/gstbasesrc.c:
4013           Its "Since:" and not "@Since:". And remove an superflous cast.
4014
4015 2007-10-30  Wim Taymans  <wim.taymans@gmail.com>
4016
4017         * docs/libs/gstreamer-libs-sections.txt:
4018         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
4019         (gst_base_sink_get_last_buffer), (gst_base_sink_set_last_buffer),
4020         (gst_base_sink_get_property), (gst_base_sink_render_object),
4021         (gst_base_sink_preroll_object),
4022         (gst_base_sink_queue_object_unlocked), (gst_base_sink_event),
4023         (gst_base_sink_change_state):
4024         * libs/gst/base/gstbasesink.h:
4025         Add a new last-buffer property that contains the last buffer used in
4026         basesink for preroll or rendering. useful for making snapshots.
4027         API: gst_base_sink_get_last_buffer()
4028         API: GstBaseSink::last-buffer
4029
4030 2007-10-29  Stefan Kost  <ensonic@users.sf.net>
4031
4032         * docs/gst/running.xml:
4033         * gst/gst.c:
4034         * gst/gstdebugutils.c:
4035         * gst/gstdebugutils.h:
4036         * tools/gst-launch.c:
4037           Improve bin graph dumping, by using the envvar to specify a path.
4038           Rename the envvar to GST_DEBUG_DUMP_DOT_DIR.
4039
4040 2007-10-29  Tim-Philipp Müller  <tim at centricular dot net>
4041
4042         * plugins/elements/gsttypefindelement.c:
4043           (gst_type_find_element_handle_event),
4044           (gst_type_find_element_activate):
4045           Post special error message if we can't determine the type of a stream
4046           because it's empty.
4047
4048 2007-10-29  Stefan Kost  <ensonic@users.sf.net>
4049
4050         * docs/gst/running.xml:
4051         * gst/gstdebugutils.c:
4052           Document new env-var. Add one log-line after dumpng a graph.
4053
4054 2007-10-26  Tim-Philipp Müller  <tim at centricular dot net>
4055
4056         * configure.ac:
4057           Ugly hack to put the (recently removed and non-portable, apparently)
4058           -Wl,--export-dynamic back into libgstcheck's LDFLAGS when we're using
4059           GNU ld, because without that 'make check' fails miserably on my debian
4060           stable box.  Someone with more knowledge of linker intricacies and
4061           portability issues than me fix this properly please.
4062
4063 2007-10-25  Wim Taymans  <wim.taymans@gmail.com>
4064
4065         * libs/gst/base/gstbasesink.c: (gst_base_sink_event):
4066         Reset last seen position after flushing so that we don't report the old
4067         position anymore.
4068
4069 2007-10-25  Jan Schmidt  <Jan.Schmidt@sun.com>
4070
4071         * gst/gstelementfactory.c: (gst_element_register):
4072         * gst/gsturi.h:
4073         Patch from Alessandro Decina adding get_type_full and
4074         get_protocols_full private vfuncs to the URIHandler interface
4075         to allow bindings to support creating URI handlers. 
4076         Partially fixes: #339279
4077         API: GstURIHandlerInterface::get_type_full
4078         API: GstURIHandlerInterface::get_protocols_full
4079
4080 2007-10-25  Jan Schmidt  <Jan.Schmidt@sun.com>
4081
4082         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_set_property),
4083         (gst_multi_queue_request_new_pad), (gst_single_queue_flush),
4084         (gst_multi_queue_loop), (gst_multi_queue_sink_activate_push):
4085         Make it so that pads are considered linked until a buffer is pushed
4086         and discovered otherwise. This avoids problems with decodebin2 hanging
4087         after a seek in the filesrc ! decodebin2 name=d ! fakesink d. ! fakesink
4088         case.
4089
4090         Make sure we lock the multiqueue when updating the max-size properties.
4091         
4092         Fix a crash on Solaris in a debug statement in get_request_pad that
4093         passes a NULL string to GST_DEBUG. 
4094
4095         * tests/check/elements/multiqueue.c: (mq_dummypad_chain),
4096         (run_output_order_test):
4097         Fix the test to allow the first buffer on not-linked pads to come out
4098         of sequence while multiqueue discovers that they are not-linked.
4099
4100 2007-10-25  Jan Schmidt  <Jan.Schmidt@sun.com>
4101
4102         * configure.ac:
4103         * libs/gst/check/Makefile.am:
4104         Use a custom export symbol regex for libgstcheck, as it needs
4105         to export symbols that don't match the standard GStreamer gst_*
4106         pattern, and  --export-dynamic is not portable (only works on 
4107         GNU ld)
4108
4109         * libs/gst/check/gstcheck.c: (gst_check_setup_src_pad),
4110         (gst_check_setup_sink_pad):
4111         Make sure to pass a message parameter to the fail_* macros.
4112
4113         * tests/check/gst/gstinfo.c: (GST_START_TEST):
4114         Fix some compiler warnings.
4115
4116 2007-10-25  Tim-Philipp Müller  <tim at centricular dot net>
4117
4118         * tests/check/gst/gststructure.c: (test_to_string):
4119           Disable test that checks that white spaces are not allowed
4120           in structure names or field names, since we need to
4121           support that for now for backwards compatibility reasons.
4122
4123 2007-10-24  Tim-Philipp Müller  <tim at centricular dot net>
4124
4125         * docs/gst/gstreamer-sections.txt:
4126         * gst/gsttaglist.c:
4127         * gst/gsttaglist.h:
4128           API: add GST_TAG_ARTIST_SORTNAME
4129           API: add GST_TAG_ALBUM_SORTNAME
4130           API: add GST_TAG_TITLE_SORTNAME
4131           Add tag variants for sorting (#414539).
4132
4133 2007-10-24  Tim-Philipp Müller  <tim at centricular dot net>
4134
4135         * gst/gststructure.c:
4136           Also allow white space for names so we don't break
4137           backwards compatibility.
4138
4139 2007-10-22  Wim Taymans  <wim.taymans@gmail.com>
4140
4141         * docs/design/part-TODO.txt:
4142         * docs/design/part-segments.txt:
4143         * docs/design/part-streams.txt:
4144         Small updates.
4145
4146 2007-10-22  Edgard Lima  <edgard.lima@indt.org.br>
4147
4148         * docs/gst/gstreamer-sections.txt:
4149          Fixed documentation from my previous commit (added new API add
4150          gst_value_set_structure(), add gst_value_get_structure() and
4151          GST_VALUE_HOLDS_STRUCTURE).
4152
4153 2007-10-22  Stefan Kost  <ensonic@users.sf.net>
4154
4155         * gst/gstdebugutils.c:
4156           Reflow code to fix uninitialized variable warning.
4157
4158 2007-10-22  Edgard Lima  <edgard.lima@indt.org.br>
4159
4160         * gst/gstcaps.c: (gst_caps_to_string),
4161         (gst_caps_from_string_inplace):
4162         * gst/gststructure.c: (gst_structure_get_abbrs),
4163         (gst_structure_to_string), (gst_structure_from_string):
4164         * gst/gstvalue.c: (gst_value_set_structure),
4165         (gst_value_get_structure), (gst_value_serialize_structure),
4166         (gst_value_deserialize_structure), (_gst_value_initialize):
4167         * gst/gstvalue.h:
4168         * tests/check/gst/gststructure.c: (GST_START_TEST),
4169         (gst_structure_suite):
4170         * tests/check/gst/gstvalue.c: (GST_START_TEST):
4171          Added GstStructure to gst_value_table and its related functions.
4172          Changed gst_structure_to_string to print ';' in the end.
4173          Changed gst_caps_to_string to not print ';' beteween its
4174          fields (structures) anymore and remove the lastes ';' from latest
4175          structure. Now it is possible to have nested structures.
4176          In addition, backward compatibilty is assured by accepting '\0' as
4177          end delimiter. Fixes: #487969.
4178          API: add gst_value_set_structure()
4179          API: add gst_value_get_structure()
4180          API: add GST_VALUE_HOLDS_STRUCTURE
4181
4182 2007-10-19  Tim-Philipp Müller  <tim at centricular dot net>
4183
4184         * gst/gstbus.c:
4185           When no GSource callback has been set up, tell developer
4186           to use a function that actually exists.
4187
4188 2007-10-17  Stefan Kost  <ensonic@users.sf.net>
4189
4190         * docs/gst/gstreamer-sections.txt:
4191         * gst/Makefile.am:
4192         * gst/gst.c:
4193         * gst/gst.h:
4194         * gst/gstdebugutils.c:
4195         * gst/gstdebugutils.h:
4196         * gst/gstinfo.c:
4197         * gst/gstinfo.h:
4198         * tools/gst-launch.c:
4199           Allow dumping pipelines as dot graphs. Fixes #456573.
4200
4201 2007-10-16  Tim-Philipp Müller  <tim at centricular dot net>
4202
4203         * gst/gststructure.c:
4204           Allow '+' as well, it can be part of media or mime types
4205           such as image/svg+xml.
4206
4207 2007-10-16  Tim-Philipp Müller  <tim at centricular dot net>
4208
4209         * docs/gst/gstreamer-sections.txt:
4210         * gst/gstbus.c:
4211         * gst/gstbus.h:
4212           API: add gst_bus_pop_filtered
4213           API: add gst_bus_timed_pop_filtered
4214           Two new functions for waiting for specific message types on the
4215           bus for a specified amount of time without iterating any main
4216           loops or main contexts.
4217
4218         * tests/check/gst/gstbus.c:
4219           Some tests for the new functions.
4220
4221 2007-10-16  Tim-Philipp Müller  <tim at centricular dot net>
4222
4223         * docs/libs/gstreamer-libs-sections.txt:
4224           Make gtk-doc ignore stuff it should ignore.
4225
4226 2007-10-16  Tim-Philipp Müller  <tim at centricular dot net>
4227
4228         * libs/gst/check/gstcheck.c:
4229         * libs/gst/check/gstcheck.h:
4230           Allow runtime selection of unit tests to run via the GST_CHECKS
4231           environment variable (test case function names, comma-separated).
4232
4233 2007-10-16  Stefan Kost  <ensonic@users.sf.net>
4234
4235         * gst/gststructure.c:
4236         * tests/check/gst/gststructure.c:
4237           Revert serialisation change and constrain structure-names after
4238           consensus on irc. Update api documentation to reflect the change.
4239
4240 2007-10-16  Stefan Kost  <ensonic@users.sf.net>
4241
4242         * gst/gststructure.c:
4243           Improve serialization and fix tests.
4244
4245         * tests/check/gst/gststructure.c:
4246           Add another test that covers why I actually did the previous structure
4247           change.
4248
4249 2007-10-15  Wim Taymans  <wim.taymans@gmail.com>
4250
4251         * tools/gst-inspect.c: (print_element_info):
4252         Don't crash when inspecting an element.
4253
4254 2007-10-15  Tim-Philipp Müller  <tim at centricular dot net>
4255
4256         * tests/check/gst/gststructure.c:
4257           Add unit test for escaping of structure name when serialising
4258           and deserialising to/from strings.
4259
4260 2007-10-15  Wim Taymans  <wim.taymans@gmail.com>
4261
4262         * plugins/elements/gstmultiqueue.c: (gst_single_queue_push_one),
4263         (gst_single_queue_new):
4264         * plugins/elements/gstqueue.c: (gst_queue_init),
4265         (gst_queue_push_one):
4266         Fix queue negotiation. If acceptcaps unconditionally returns TRUE,
4267         upstream is tricked into thinking it can suggest a format downstream
4268         while downstream does not support that format. The real problem is that
4269         core calls acceptcaps when pushing a buffer with new caps, for which we
4270         do a little workaround by setting the caps on the srcpad ourselves
4271         before pushing the buffer (until this is figured out). Fixes #486758.
4272
4273 2007-10-15  Stefan Kost  <ensonic@users.sf.net>
4274
4275         * gst/gststructure.c:
4276         * gst/gstvalue.c:
4277           Add some more comments and debug output. Quote structure name to fix
4278           deserialisation of some strings.
4279
4280 2007-10-15  Stefan Kost  <ensonic@users.sf.net>
4281
4282         * gst/gstbuffer.h:
4283           Define GST_BUFFER_FLAG_GAP more strictly to enable optimizations based
4284           on it. Fix docs for GST_BUFFER_MALLOCDATA and GstBuffer.malloc_data.
4285
4286 2007-10-15  Stefan Kost  <ensonic@users.sf.net>
4287
4288         * tools/gst-inspect.c:
4289           Save approx. 400 1 byte allocs when printing. Use API to acces element
4290           details.
4291
4292         * tools/gst-run.c:
4293           Avoid a strdup.
4294
4295         * tools/gst-xmlinspect.c:
4296           Use API to acces element details.
4297
4298 2007-10-15  Stefan Kost  <ensonic@users.sf.net>
4299
4300         * gst/gstinfo.c:
4301           Fix some spelling errors.
4302
4303 2007-10-14  Wim Taymans  <wim.taymans@gmail.com>
4304
4305         * gst/gstbin.c: (bin_handle_async_done):
4306         Correctly set the next state if all of our async children commited their
4307         state. This makes sure we can actually cancel the state change in
4308         progress. Fixes a regression in Rhythmbox when seeking.
4309
4310 2007-10-13  Tim-Philipp Müller  <tim at centricular dot net>
4311
4312         * gst/gstbin.c:
4313           Don't shadow local variable.
4314
4315         * gst/gstinfo.c:
4316           Don't shadow global function name.
4317
4318 2007-10-13  Tim-Philipp Müller  <tim at centricular dot net>
4319
4320         * gst/gstelementfactory.c:
4321         * gst/gstpluginfeature.c:
4322         * gst/gstpluginfeature.h:
4323         * gst/gstregistrybinary.c:
4324         * gst/gstregistryxml.c:
4325         * gst/gsttypefind.c:
4326           Use already-interned string for the private GstPluginFeature
4327           plugin_name field.
4328
4329 2007-10-10  Tim-Philipp Müller  <tim at centricular dot net>
4330
4331         * docs/libs/gstreamer-libs-sections.txt:
4332           Add new API to docs; fixes the build.
4333
4334 2007-10-10  Wim Taymans  <wim.taymans@gmail.com>
4335         
4336         Patch inspired by: Benoit Fouet <benoit dot fouet at purplelabs dot com>
4337
4338         * libs/gst/base/gstbasesink.c: (gst_base_sink_wait_eos),
4339         (gst_base_sink_event):
4340         * libs/gst/base/gstbasesink.h:
4341         Add function to wait for EOS, subclasses can use this to correctly wait
4342         for devices to drain before performing the EOS logic. Fixes #485343.
4343         API: gst_base_sink_wait_eos()
4344
4345 2007-10-10  Tim-Philipp Müller  <tim at centricular dot net>
4346
4347         * gst/gstplugin.h:
4348           Cast description string constants in GST_PLUGIN_DEFINE macros
4349           to a (gchar*) to make C++ code using these macros compile
4350           without warning with g++-4.2 (see #462737).  Even if slightly
4351           ugly, this seems preferable to putting the description strings
4352           into the GLib quark table or making the structure member a
4353           const gchar * and doing casts in core code that allocs and
4354           frees these strings, or requiring a cast in the C++ code.
4355
4356 2007-10-09  Tim-Philipp Müller  <tim at centricular dot net>
4357
4358         * gst/gstinfo.h:
4359           Use __FUNCTION__ instead of __PRETTY_FUNCTION__, it's silly
4360           to print the entire class/function signature into the log
4361           file for C++ code.  This only affects C++ code, for C code
4362           everything remains the same.
4363
4364 2007-10-09  Wim Taymans  <wim.taymans@gmail.com>
4365
4366         * gst/gstbin.c: (remove_from_queue):
4367         Work around a problem with pipelines containing (semi)loops until a
4368         proper, more complicated solution is ready. See #475455.
4369
4370 2007-10-09  Tim-Philipp Müller  <tim at centricular dot net>
4371
4372         * gst/gstplugin.c:
4373         * gst/gstplugin.h:
4374         * gst/gstregistrybinary.c:
4375         * gst/gstregistryxml.c:
4376           Put more strings into the GLib quark table. No need to keep
4377           a hundred-something copies of identical version strings,
4378           license strings, package name strings and package origin
4379           strings around. 
4380
4381 2007-10-09  Tim-Philipp Müller  <tim at centricular dot net>
4382
4383         * docs/manual/advanced-dataaccess.xml:
4384           Don't imply that it's okay to unconditionally change
4385           buffer data or buffer metadata in a pad probe callback,
4386           and a bunch of other comments. Fixes #430031.
4387
4388 2007-10-08  Tim-Philipp Müller  <tim at centricular dot net>
4389
4390         * win32/common/gstenumtypes.c:
4391         * win32/common/gstenumtypes.h:
4392         * win32/common/gstversion.h:
4393           Update generated files.
4394
4395 2007-10-08  Tim-Philipp Müller  <tim at centricular dot net>
4396
4397         * docs/manual/advanced-autoplugging.xml:
4398           Prefix section with broken code with a warning (see #342432).
4399
4400 2007-10-08  Tim-Philipp Müller  <tim at centricular dot net>
4401
4402         * docs/manual/appendix-integration.xml:
4403         * docs/manual/basics-init.xml:
4404           Call g_thread_init() before g_option_context_new() to
4405           avoid warnings. Spotted by Ritesh Khadgaray. Fixes #484225.
4406
4407 2007-10-08  Wim Taymans  <wim.taymans@gmail.com>
4408
4409         * libs/gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
4410         (gst_base_sink_queue_object_unlocked),
4411         (gst_base_sink_queue_object), (gst_base_sink_event),
4412         (gst_base_sink_needs_preroll), (gst_base_sink_chain_unlocked):
4413         When we received EOS and are waiting for when to post the EOS message,
4414         our state is prerolled and we should not return ASYNC.
4415         Reorganize some code paths to implement this behavior.
4416
4417         * tests/check/generic/sinks.c: (send_eos), (GST_START_TEST),
4418         (gst_sinks_suite):
4419         Add unit test to verify above EOS fix.
4420
4421 2007-10-08  Wim Taymans  <wim.taymans@gmail.com>
4422
4423         * plugins/elements/gsttypefindelement.c:
4424         (gst_type_find_element_have_type), (gst_type_find_element_init),
4425         (gst_type_find_element_setcaps), (gst_type_find_element_chain):
4426         Move detecting the input caps of the sinkpad to the setcaps function.
4427         This allows us to update the output caps when we receive new input caps
4428         instead of always using the first detected caps.
4429
4430 2007-10-08  Wim Taymans  <wim.taymans@gmail.com>
4431
4432         * libs/gst/base/gstbasesink.c: (gst_base_sink_event),
4433         (gst_base_sink_get_position):
4434         Don't try to preroll non-async elements after a flush.
4435         Subtract latency form clock times when reporting position.
4436
4437 2007-10-05  Wim Taymans  <wim.taymans@gmail.com>
4438
4439         * gst/gstpad.c: (gst_pad_pause_task):
4440         * gst/gstutils.c:
4441         Small comment and documentation update.
4442
4443 2007-10-05  Wim Taymans  <wim.taymans@gmail.com>
4444
4445         * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
4446         (gst_base_src_set_live), (gst_base_src_is_live),
4447         (gst_base_src_query_latency), (gst_base_src_perform_seek),
4448         (gst_base_src_default_event), (gst_base_src_wait),
4449         (gst_base_src_do_sync), (gst_base_src_get_range),
4450         (gst_base_src_pad_get_range), (gst_base_src_loop),
4451         (gst_base_src_unlock), (gst_base_src_unlock_stop),
4452         (gst_base_src_set_flushing), (gst_base_src_set_playing),
4453         (gst_base_src_activate_push), (gst_base_src_activate_pull),
4454         (gst_base_src_change_state):
4455         Rework the locking of basesrc in a similar fashion to basesink. We
4456         basically have one lock (LIVE_LOCK) protecting the dataflow. This allows
4457         us to handle live sources and semi live ones much better.
4458         Simplify flushing.
4459         Fix unlocking when seeking, shutting down and pausing in live sources.
4460
4461 2007-10-05  Wim Taymans  <wim.taymans@gmail.com>
4462
4463         * tests/check/pipelines/simple-launch-lines.c: (run_pipeline):
4464         Fix compilation again.
4465
4466 2007-10-03  Stefan Kost  <ensonic@users.sf.net>
4467
4468         * gst/gstelement.c:
4469           Use meaningful categories for the logs to clean the default one.
4470
4471 2007-10-03  Stefan Kost  <ensonic@users.sf.net>
4472
4473         * tests/check/pipelines/cleanup.c:
4474           Print message name and not just number.
4475
4476 2007-10-03  Stefan Kost  <ensonic@users.sf.net>
4477
4478         * docs/design/draft-tagreading.txt:
4479           Add some more thoughts.
4480
4481 2007-10-03  Stefan Kost  <ensonic@users.sf.net>
4482
4483         * tests/check/pipelines/simple-launch-lines.c:
4484           Print message name and not just number.
4485
4486 2007-10-03  Stefan Kost  <ensonic@users.sf.net>
4487
4488         * libs/gst/base/gsttypefindhelper.c:
4489           Speedup typefinding. This is work in progress (see #459862).
4490
4491 2007-10-03  Stefan Kost  <ensonic@users.sf.net>
4492
4493         * gst/gstplugin.c:
4494           Fix docs that mention 'plugin_desc' instead of 'gst_plugin_desc'.
4495           Spotted by Josep Torra Valles <josep@fluendo.com>.
4496
4497 2007-10-03  Tim-Philipp Müller  <tim at centricular dot net>
4498
4499         * gst/gstclock.h:
4500           Fix up broken GST_CLOCK_FLAGS macro and GstClock docs. The flags
4501           field has moved to GstObject.
4502
4503 2007-10-02  Wim Taymans  <wim.taymans@gmail.com>
4504
4505         * libs/gst/base/gstbasesrc.c: (gst_base_src_do_sync),
4506         (gst_base_src_get_range), (gst_base_src_change_state):
4507         Call unlock for live sources so that they can't get stuck in _create and
4508         produce a buffer before they are set back to PLAYING.
4509
4510 2007-10-02  Edward Hervey  <bilboed@bilboed.com>
4511
4512         * plugins/elements/gstqueue.c: (gst_queue_locked_enqueue),
4513         (gst_queue_locked_dequeue):
4514         Comment the segment-related code... in the PROPER function.
4515         See #482147 and my commit from yesterday.
4516
4517 2007-10-01  Wim Taymans  <wim.taymans@gmail.com>
4518
4519         * libs/gst/base/gstbasesrc.c: (gst_base_src_change_state):
4520         Also initialize the counter that calculates the first timestamp on a
4521         buffer correctly for non-live sources.
4522
4523 2007-10-01  Edward Hervey  <bilboed@bilboed.com>
4524
4525         * plugins/elements/gstqueue.c: (gst_queue_locked_dequeue):
4526         Disable code that's breaking the current-time-level reporting.
4527         See #482147
4528
4529 2007-09-30  Sebastian Dröge  <slomo@circular-chaos.org>
4530
4531         * docs/gst/gstreamer-sections.txt:
4532         Add M_PI and IMPORT_SYMBOL to the private part of the GstInfo section
4533         as they shouldn't show up. Fixes the docs build.
4534
4535 2007-09-29  Sebastien Moutte  <sebastien@moutte.net>
4536         
4537         * gst/gstinfo.h:
4538         Add an explicit variable importation needed on VS6 (only for MSC_VER)
4539         Define M_PI which is used in files which are including gstinfo.h. 
4540         VS6 includes doesn't define it.
4541         * win32/common/libgstbase.def:
4542         * win32/common/libgstcontroller.def:
4543         * win32/common/libgstreamer.def:
4544         Add new exported functions and variables.
4545         * win32/vs6/libgstcontroller.dsp:
4546         * win32/vs6/libgstreamer.dsp:
4547         Update the list of files to build.
4548         
4549 2007-09-28  Wim Taymans  <wim.taymans@gmail.com>
4550
4551         Patch by: Felipe Contreras <felipe dot contreras at gmail dot com>
4552
4553         * plugins/elements/gstqueue.c: (update_time_level), (apply_buffer),
4554         (gst_queue_locked_dequeue), (gst_queue_handle_sink_event),
4555         (gst_queue_chain), (gst_queue_loop), (gst_queue_src_activate_push):
4556         Improve debugging. Fixes #480858.
4557
4558 2007-09-28  Wim Taymans  <wim.taymans@gmail.com>
4559
4560         Patch by: Felipe Contreras <felipe dot contreras at gmail dot com>
4561
4562         * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event):
4563         First patch of code cleanups, use the macros and right arguments in the
4564         macros to signal and lock the queue. See #480858.
4565
4566 2007-09-26  Wim Taymans  <wim.taymans@gmail.com>
4567
4568         * gst/gstbus.c: (poll_func):
4569         Improve debugging when dealing with _poll().
4570
4571 2007-09-26  Tim-Philipp Müller  <tim at centricular dot net>
4572
4573         * gst/gstregistryxml.c:
4574           Fix memory leak I introduced a few days ago.
4575
4576 2007-09-26  Michael Smith <msmith@fluendo.com>
4577
4578         * gst/gstbuffer.c: (gst_buffer_finalize):
4579           Make it once again possible to free GstBuffers in the default
4580           build.
4581           The poisoning scribbles on parts of the miniobject we need in
4582           order to free it.
4583           Fixes #480341
4584
4585 2007-09-25  Tim-Philipp Müller  <tim at centricular dot net>
4586
4587         * docs/gst/gstreamer-sections.txt:
4588         * gst/gsttaglist.c:
4589         * gst/gsttaglist.h:
4590         API: add GST_TAG_COMPOSER, fixes #459809.
4591
4592 2007-09-24  Sebastian Dröge  <slomo@circular-chaos.org>
4593
4594         * gst/gstplugin.c:
4595         * gst/gstplugin.h:
4596         Add the 3-clause BSD license and the MIT/X11 license to the license
4597         list. Fixes #479784.
4598
4599 2007-09-24  Tim-Philipp Müller  <tim at centricular dot net>
4600
4601         * docs/faq/getting.xml:
4602           Add Q+A about different GStreamer versions (#364056).
4603
4604 2007-09-24  Wim Taymans  <wim.taymans@gmail.com>
4605
4606         * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency),
4607         (gst_base_sink_event), (gst_base_sink_change_state):
4608         Return correct gboolean from query function.
4609
4610 2007-09-24  Wim Taymans  <wim.taymans@gmail.com>
4611
4612         * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency),
4613         (gst_base_sink_event), (gst_base_sink_query),
4614         (gst_base_sink_change_state):
4615         Simplify latency query.
4616         When not synchronizing, we can report latency without querying the peer
4617         element.
4618
4619 2007-09-24  Wim Taymans  <wim.taymans@gmail.com>
4620
4621         * gst/gstobject.h:
4622         * gst/gstvalue.c:
4623         Fix small typos in the docs.
4624
4625 2007-09-24  Wim Taymans  <wim.taymans@gmail.com>
4626
4627         * docs/design/draft-latency.txt:
4628         * docs/design/draft-push-pull.txt:
4629         * docs/design/draft-tagreading.txt:
4630         * docs/design/part-MT-refcounting.txt:
4631         * docs/design/part-activation.txt:
4632         * docs/design/part-block.txt:
4633         * docs/design/part-element-source.txt:
4634         * docs/design/part-events.txt:
4635         * docs/design/part-gstbin.txt:
4636         * docs/design/part-gstelement.txt:
4637         * docs/design/part-gstobject.txt:
4638         * docs/design/part-gstpipeline.txt:
4639         * docs/design/part-messages.txt:
4640         * docs/design/part-preroll.txt:
4641         * docs/design/part-push-pull.txt:
4642         * docs/design/part-qos.txt:
4643         * docs/design/part-query.txt:
4644         * docs/design/part-scheduling.txt:
4645         * docs/design/part-seeking.txt:
4646         * docs/design/part-segments.txt:
4647         * docs/design/part-states.txt:
4648         Documentation updates and typo fixes.
4649
4650 2007-09-23  Tim-Philipp Müller  <tim at centricular dot net>
4651
4652         * plugins/elements/gstfakesink.c:
4653           Add some debug text to error message to indicate that
4654           we errored out on request.
4655
4656         * tools/gst-launch.c:
4657           When the state change to PLAYING fails, check for an
4658           error message on the bus and print it.
4659
4660 2007-09-22  Thomas Vander Stichele  <thomas at apestaart dot org>
4661
4662         translated by: Jorge González González <aloriel@gmail.com>
4663
4664         * po/LINGUAS:
4665         * po/es.po:
4666           Added Spanish translation.
4667
4668 2007-09-21  Wim Taymans  <wim.taymans@gmail.com>
4669
4670         * plugins/elements/gstqueue.c: (gst_queue_push_one):
4671         Fix printf arguments.
4672
4673 2007-09-20  Stefan Kost  <ensonic@users.sf.net>
4674
4675         * tests/check/generic/states.c:
4676           Improved state change unit test.
4677
4678 2007-09-20  Stefan Kost  <ensonic@users.sf.net>
4679
4680         * gst/gstbin.h:
4681           Move priv to the right place.
4682
4683         * gst/gstsystemclock.c:
4684           Add FIXME: and improve log.
4685
4686         * tests/check/Makefile.am:
4687         * tests/examples/manual/Makefile.am:
4688           Work with all types of registries.
4689
4690 2007-09-19  Wim Taymans  <wim.taymans@gmail.com>
4691
4692         * libs/gst/base/gstbasesrc.c: (gst_base_src_send_event):
4693         Don't unref the event after pushing it. Fixes #478401.
4694
4695 2007-09-19  Stefan Kost  <ensonic@users.sf.net>
4696
4697         * .cvsignore:
4698         * tests/examples/manual/.cvsignore:
4699           Ignore registries in any format.
4700
4701 2007-09-19  Tim-Philipp Müller  <tim at centricular dot net>
4702
4703         * gst/glib-compat-private.h:
4704           Add compatibility macro for g_intern_string() for
4705           GLib-2.8 (any reason we can't just bump the
4706           requirement to at least 2.10?)
4707
4708         * gst/gstpadtemplate.h:
4709         * gst/gstelementfactory.c:
4710         * gst/gstregistryxml.c:
4711         * gst/gstregistrybinary.c:
4712           Make GstStaticPadTemplate's templ_name field a const gchar * and fix
4713           up the internal code accordingly.  This shouldn't be a problem, since
4714           there is no reason external code could ever assume the string in such
4715           a structure is dynamically allocated unless it did that itself;  the
4716           use of g_strdup() is private to element factories.  The new code also
4717           saves some memory by putting pad template name strings into the GLib
4718           quark table instead of allocating them dynamically.
4719           Declaring this field constant fixes warnings with g++-4.2 when using
4720           the GST_STATIC_PAD_TEMPLATE macro in c++ code (#478092).
4721
4722 2007-09-19  Stefan Kost  <ensonic@users.sf.net>
4723
4724         * gst/gstelementfactory.c:
4725           Release static caps. Fixes #475723.
4726
4727 2007-09-18  Tim-Philipp Müller  <tim at centricular dot net>
4728
4729         * gst/gstinfo.c:
4730         * gst/gstinfo.h:
4731           Make some internal API take const gchar * instead of just
4732           gchar * to avoid compiler warnings with g++-4.2.2 when
4733           passing string constants (partially fixes #478092).
4734
4735 2007-09-17  Wim Taymans  <wim.taymans@gmail.com>
4736
4737         * gst/gstbin.c: (bin_query_latency_fold), (gst_bin_query):
4738         A latency query fails when one of the sinks fail.
4739
4740         * gst/gstelement.c: (gst_element_set_base_time):
4741         Improve debugging.
4742
4743 2007-09-17  Jan Schmidt - Sun Microsystems <jan.schmidt@sun.com>
4744
4745         * gst/gstbin.c: (gst_bin_continue_func):
4746         * libs/gst/base/gstbasesrc.c: (gst_base_src_do_sync):
4747         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_add_pad_full):
4748         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_loop):
4749
4750         Fix minor compilation warnings shown with Forte.
4751
4752 2007-09-17  Wim Taymans  <wim.taymans@gmail.com>
4753
4754         * plugins/elements/gstqueue.c: (apply_buffer),
4755         (gst_queue_locked_enqueue), (gst_queue_locked_dequeue):
4756         Measure queue level based on the diff between head and tail timestamps
4757         even when pushing the first buffer.
4758
4759 2007-09-14  Wim Taymans  <wim.taymans@gmail.com>
4760
4761         * libs/gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
4762         (gst_base_sink_event), (gst_base_sink_change_state):
4763         Sinks that don't preroll can always be queried for the latency.
4764         Don't post ASYNC start when we are not async.
4765
4766 2007-09-14  Wim Taymans  <wim.taymans@gmail.com>
4767
4768         * plugins/elements/gstqueue.c: (gst_queue_locked_enqueue),
4769         (gst_queue_handle_sink_event), (gst_queue_chain),
4770         (gst_queue_push_one), (gst_queue_handle_src_query),
4771         (gst_queue_sink_activate_push), (gst_queue_src_activate_push):
4772         * plugins/elements/gstqueue.h:
4773         When downstream returns UNEXPECTED from pushing a buffer, don't try to
4774         push more buffers but allow pushing of EOS and NEWSEGMENT.
4775         Add some more debug info here and there. Fixes #476514.
4776
4777 2007-09-14  Wim Taymans  <wim.taymans@gmail.com>
4778
4779         * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
4780         (gst_base_sink_preroll_queue_flush), (gst_base_sink_commit_state),
4781         (gst_base_sink_wait_preroll), (gst_base_sink_needs_preroll),
4782         (gst_base_sink_set_flushing), (gst_base_sink_query),
4783         (gst_base_sink_change_state):
4784         Latency query is allowed after we are prerolled. Introduce a new flag
4785         for this and stop abusing other variables.
4786
4787 2007-09-13  Wim Taymans  <wim.taymans@gmail.com>
4788
4789         * libs/gst/base/gstbasesrc.c: (gst_base_src_send_event):
4790         Push OOB events downstream when we get them in send_event. This allows
4791         the application to insert events in the pipeline.
4792         Add some more comments.
4793
4794 2007-09-13  Wim Taymans  <wim.taymans@gmail.com>
4795
4796         * gst/gstbin.c: (gst_bin_class_init), (clear_queue),
4797         (do_bin_latency), (gst_bin_change_state_func):
4798         * gst/gstpipeline.c: (gst_pipeline_change_state):
4799         Move latency query from GstPipeline to GstBin so that we can also
4800         use it when async-handling is enabled on bins.
4801
4802 2007-09-13  Wim Taymans  <wim.taymans@gmail.com>
4803
4804         * libs/gst/base/gstbasesrc.c: (gst_base_src_query_latency),
4805         (gst_base_src_do_sync), (gst_base_src_change_state):
4806         Update docs.
4807         Clean up the timestamping and syncing code for pseudo live sources.
4808
4809 2007-09-13  Tim-Philipp Müller  <tim at centricular dot net>
4810
4811         Patch by: Steve Fink  <sphink gmail com>
4812
4813         * docs/manual/appendix-checklist.xml:
4814           Mention less -R switch in the section about debug output (#474055).
4815
4816 2007-09-13  Wim Taymans  <wim.taymans@gmail.com>
4817
4818         * plugins/elements/gstqueue.c: (gst_queue_handle_src_query):
4819         Queue can latency to the pipeline up to the configured max size in time.
4820         Report this fact in the latency query.
4821
4822 2007-09-13  Sebastian Dröge  <slomo@circular-chaos.org>
4823
4824         Patch by: Sebastien Moutte <sebastien at moutte dot net>
4825
4826         * libs/gst/controller/gstinterpolation.c:
4827         * libs/gst/controller/gstlfocontrolsource.c:
4828         Use gst_guint64_to_gdouble() when converting from a uint64 or
4829         GstClockTime to double to fix the build on win32. Fixes #474371.
4830
4831 2007-09-13  Sebastian Dröge  <slomo@circular-chaos.org>
4832
4833         * gst/gstbuffer.c: (gst_buffer_finalize):
4834         Implement poisoning for GstBuffer if --enable-poisoning is specified.
4835         When finalizing a buffer the complete struct is filled with 0xff,
4836         thus making a use of the buffer after the final unref impossible.
4837
4838 2007-09-13  Sebastian Dröge  <slomo@circular-chaos.org>
4839
4840         * tests/check/libs/controller.c: (GST_START_TEST):
4841         Use fail_unless_equals_int(a, b) instead of
4842         fail_unless_equals (a == b) to get better output on failures.
4843
4844 2007-09-12  Tim-Philipp Müller  <tim at centricular dot net>
4845
4846         * tests/check/gst/gsturi.c:
4847           Also check for the other file URI variant on win32.
4848
4849 2007-09-12  Tim-Philipp Müller  <tim at centricular dot net>
4850
4851         * gst/gsturi.c: (gst_uri_get_location):
4852           If there's no hostname, we want to return 'c:/foo/bar.txt'
4853           and not '/c:/foo/bar.txt' on Windows. Fixes #469402.
4854
4855         * tests/check/gst/gsturi.c:
4856           Unit test for the above and a few more things.
4857
4858 2007-09-11  Wim Taymans  <wim.taymans@gmail.com>
4859
4860         * docs/design/part-live-source.txt:
4861         Add docs on how live sources should timestamp.
4862
4863         * libs/gst/base/gstbasesrc.c: (gst_base_src_do_sync):
4864         Add some more debug info.
4865         For subclasses that are live and like to sync, add aditional startup
4866         latency to sync time and timestamps so that we timstamp according to the
4867         design doc.
4868
4869 2007-09-11  Tim-Philipp Müller  <tim at centricular dot net>
4870
4871         * gst/gstbuffer.c:
4872           Also do a g_type_class_ref() for the subbuffer type in
4873           the init function.
4874
4875 2007-09-11  Wim Taymans  <wim.taymans@gmail.com>
4876
4877         * docs/gst/gstreamer-sections.txt:
4878         * gst/gstpad.c: (gst_pad_peer_query):
4879         * gst/gstpad.h:
4880         Add function to perform a query on the peer of a pad.
4881         API: gst_pad_peer_query()
4882
4883 2007-09-11  Stefan Kost  <ensonic@users.sf.net>
4884
4885         * tests/check/gst/gstsystemclock.c:
4886           Cleanup the test a little (use gst-logging and not g_message). Improve
4887           test to check if a wait reached the target.
4888
4889 2007-09-11  Tim-Philipp Müller  <tim at centricular dot net>
4890
4891         * docs/libs/gstreamer-libs-sections.txt:
4892           Add new API to docs and fix the build.
4893
4894 2007-09-10  Wim Taymans  <wim.taymans@gmail.com>
4895
4896         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
4897         (gst_base_src_init), (gst_base_src_set_do_timestamp),
4898         (gst_base_src_get_do_timestamp), (gst_base_src_set_property),
4899         (gst_base_src_get_property), (gst_base_src_do_sync):
4900         * libs/gst/base/gstbasesrc.h:
4901         Add property to make the basesrc timestamp buffers based on the current
4902         running time.
4903         API: GstBaseSrc::do-timestamp
4904         API: gst_base_src_set_do_timestamp()
4905         API: gst_base_src_get_do_timestamp()
4906
4907 2007-09-08  Tim-Philipp Müller  <tim at centricular dot net>
4908
4909         * docs/random/release:
4910           Really make sure translations are up-to-date before
4911           a release (#465010).
4912
4913 2007-09-07  Sebastian Dröge  <slomo@circular-chaos.org>
4914
4915         * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
4916         Always destroy the timer, also in error cases.
4917
4918 2007-09-05  Wim Taymans  <wim.taymans@gmail.com>
4919
4920         * docs/manual/highlevel-xml.xml:
4921         Fix XML example code. Fixes #472714.
4922
4923 2007-09-05  Wim Taymans  <wim.taymans@gmail.com>
4924
4925         * libs/gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
4926         (gst_base_sink_wait_preroll), (gst_base_sink_needs_preroll),
4927         (gst_base_sink_query):
4928         Protect eos and have_preroll with the OBJECT lock so we don't need to
4929         take the PREROLL lock when querying the latency. Fixes #473846.
4930
4931 2007-09-05  Stefan Kost  <ensonic@users.sf.net>
4932
4933         * gst/gstelement.c:
4934           Give some log-messages a category.
4935
4936 2007-09-04  Wim Taymans  <wim.taymans@gmail.com>
4937
4938         * gst/gststructure.c:
4939         (gst_structure_fixate_field_nearest_fraction):
4940         Fix fraction list fixation code. Take the fraction with the smallest
4941         difference with the target instead of the first one in the list.
4942
4943         * tests/check/gst/gststructure.c: (GST_START_TEST),
4944         (gst_structure_suite):
4945         Added test to verify correct fraction list fixation behaviour.
4946
4947 2007-09-02  Tim-Philipp Müller  <tim at centricular dot net>
4948
4949         * win32/common/libgstreamer.def:
4950           Export gst_bus_add_signal_watch too.
4951
4952 2007-08-30  Wim Taymans  <wim.taymans@gmail.com>
4953
4954         * docs/libs/gstreamer-libs-sections.txt:
4955         Add new methods to docs.
4956
4957         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
4958         (gst_base_sink_init), (gst_base_sink_set_ts_offset),
4959         (gst_base_sink_get_ts_offset), (gst_base_sink_set_property),
4960         (gst_base_sink_get_property), (gst_base_sink_wait_clock):
4961         * libs/gst/base/gstbasesink.h:
4962         Add ts-offset property to fine-tune the synchronisation.
4963         API: GstBaseSink::ts-offset property
4964         API: gst_base_sink_set_ts_offset()
4965         API: gst_base_sink_get_ts_offset()
4966
4967 2007-08-29  Wim Taymans  <wim.taymans@gmail.com>
4968
4969         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
4970         (gst_base_sink_init), (gst_base_sink_set_sync),
4971         (gst_base_sink_get_sync), (gst_base_sink_set_max_lateness),
4972         (gst_base_sink_get_max_lateness), (gst_base_sink_set_qos_enabled),
4973         (gst_base_sink_is_qos_enabled), (gst_base_sink_set_async_enabled),
4974         (gst_base_sink_is_async_enabled), (gst_base_sink_set_property),
4975         (gst_base_sink_get_property), (gst_base_sink_change_state):
4976         * libs/gst/base/gstbasesink.h:
4977         Add async property to instruct the sink never to inform the parent about
4978         ASYNC state changes, update docs.
4979         Check argument with g_return_* for the public functions.
4980         API: GstBaseSink::async property
4981         API: gst_base_sink_set_async_enabled()
4982         API: gst_base_sink_is_async_enabled()
4983
4984 2007-08-28  Wim Taymans  <wim.taymans@gmail.com>
4985
4986         * libs/gst/base/gstbasesink.c: (gst_base_sink_loop):
4987         Improve debugging.
4988
4989         * libs/gst/base/gstbasesrc.c: (gst_base_src_query_latency),
4990         (gst_base_src_default_query), (gst_base_src_wait),
4991         (gst_base_src_do_sync), (gst_base_src_change_state):
4992         Rearrange some code so that we can add support for measuring the 
4993         startup latency.
4994
4995 2007-08-27  Stefan Kost  <ensonic@users.sf.net>
4996
4997         * docs/random/ensonic/dynlink.txt:
4998           More thoughs on this.
4999
5000         * plugins/elements/gstcapsfilter.c:
5001           Add bugzilla ticket number to FIXME comment.
5002
5003 2007-08-24  Wim Taymans  <wim.taymans@gmail.com>
5004
5005         * docs/design/part-TODO.txt:
5006         * docs/design/part-block.txt:
5007         Update some docs.
5008
5009 2007-08-24  Jan Schmidt  <thaytan@mad.scientist.com>
5010
5011         * gst/Makefile.am:
5012           Revert patch which uses $(gst_headers) instead of $^ because it
5013           breaks make dist.
5014
5015 2007-08-24  Jan Schmidt  <thaytan@mad.scientist.com>
5016
5017         * tests/check/gst/gstbin.c: (GST_START_TEST):
5018           Fix leaks in the new unit test.
5019
5020 2007-08-23  Tim-Philipp Müller  <tim at centricular dot net>
5021
5022         * gst/gst.c:
5023           Don't use GST_INFO before the debug system is actually initialised
5024           (shouldn't do any harm, but won't print anything either, so we can
5025           just as well remove it).
5026
5027         * gst/gstinfo.h:
5028           GST_CAT_LEVEL_LOG_valist(), which is our inline helper function for
5029           compilers that don't support variadic macros (such as MSVC), should
5030           check for debug_level <= __gst_debug_min as well, since that's the
5031           function called from all the level-specific GST_CAT_*_LOG_OBJECT()
5032           inline helper functions. Should improve performance a bit, but also
5033           makes sure uses of GST_INFO et.al are ignored if the debugging
5034           system isn't initialised yet (instead of printing an assertion
5035           failure).
5036
5037 2007-08-23  Stefan Kost  <ensonic@users.sf.net>
5038
5039         patch by: David Nečas <yeti@physics.muni.cz>
5040
5041         * gst/Makefile.am:
5042           Replace some non portable makefile constructs.
5043
5044 2007-08-21  Stefan Kost  <ensonic@users.sf.net>
5045
5046         * common/gtk-doc-plugins.mak:
5047           Grrrrr. Don't remove the types file on make clean.
5048
5049 2007-08-20  Wim Taymans  <wim.taymans@gmail.com>
5050
5051         * tools/gst-launch.1.in:
5052         Add colorspace to example pipeline. Fixes #458274.
5053
5054 2007-08-20  Tim-Philipp Müller  <tim at centricular dot net>
5055
5056         * docs/random/release:
5057           The release manager should run 'make download-po' before making a
5058           release to make sure translations are up-to-date.
5059
5060         * po/LINGUAS:
5061         * po/be.po:
5062         * po/pl.po:
5063         * po/rw.po:
5064           Add some new translations.
5065
5066 2007-08-17  Wim Taymans  <wim.taymans@gmail.com>
5067
5068         * tools/gst-launch.c: (event_loop), (main):
5069         Don´t try to do any state management when a live pipeline posts
5070         buffering messages.
5071         Also make the buffering string translatable.
5072
5073 2007-08-16  Wim Taymans  <wim.taymans@gmail.com>
5074
5075         * gst/gstbin.c: (is_eos), (gst_bin_add_func),
5076         (bin_handle_async_start), (gst_bin_handle_message_func):
5077         Improve debugging.
5078         When adding elements, insert messages into the bus of the newly added
5079         element and make sure the element is the source of the message. This
5080         allows the parent bin to intercept the message and do the
5081         right thing. It also avoids us posting ASYNC_START and CLOCK_PROVIDE
5082         messages to the app (which is not allowed).
5083         Update some docs.
5084
5085         * tests/check/gst/gstghostpad.c: (GST_START_TEST):
5086         Fix testsuite so that is does not work around messages that should not
5087         have been posted in the first place.
5088
5089 2007-08-16  Wim Taymans  <wim.taymans@gmail.com>
5090
5091         * gst/gstbin.c: (add_to_queue), (remove_from_queue), (clear_queue),
5092         (update_degree), (gst_bin_sort_iterator_next):
5093         Fix annoying bug in the sorted iterator where a sink that is not really
5094         a sink (when it has downstream links) screwed up the iterator.
5095
5096         * tests/check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
5097         Unit test to verify the fix.
5098
5099 2007-08-16  Wim Taymans  <wim.taymans@gmail.com>
5100
5101         * gst/gstmessage.h:
5102         Add some more docs for the messages.
5103
5104         * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
5105         (gst_base_sink_query):
5106         Add some more debugging.
5107
5108         * tools/gst-launch.c: (event_loop):
5109         When interrupting, don't try to set pipeline to PAUSED twice.
5110
5111 2007-08-14  Wim Taymans  <wim.taymans@gmail.com>
5112
5113         
5114         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_element_set_state),
5115         (bin_handle_async_start), (gst_bin_handle_message_func):
5116         Move ASYNC_START message posting to where it belongs, similar to
5117         async_done. 
5118         Don't post ASYNC_START when we are in error. 
5119         Post ASYNC_START when we added an async element to a bin.
5120
5121 2007-08-14  Julien MOUTTE  <julien@moutte.net>
5122
5123         * gst/gstindex.c: (gst_index_add_association): Fix index entry
5124         generation from vargs. Fixes #466595.
5125
5126 2007-08-14  Wim Taymans  <wim.taymans@gmail.com>
5127
5128         * gst/gstbin.c: (gst_bin_element_set_state):
5129         Always change the state of a NO_PREROLL element even if it has ASYNC
5130         elements inside (in case of a bin).
5131
5132         * tests/check/generic/sinks.c: (GST_START_TEST), (gst_sinks_suite):
5133         Unit test for this case.
5134
5135 2007-08-13  Stefan Kost  <ensonic@users.sf.net>
5136
5137         * libs/gst/check/gstbufferstraw.c:
5138         * libs/gst/check/gstcheck.h:
5139         * libs/gst/controller/gstcontroller.c:
5140         * libs/gst/controller/gstcontrolsource.h:
5141         * libs/gst/controller/gstlfocontrolsource.h:
5142         * plugins/elements/gstcapsfilter.h:
5143         * plugins/elements/gstfdsink.h:
5144         * plugins/elements/gstfdsrc.h:
5145           Add more missing docs.
5146
5147 2007-08-12  Wim Taymans  <wim.taymans@gmail.com>
5148
5149         * gst/gststructure.c:
5150         Add Since tag to docs.
5151
5152 2007-08-12  Wim Taymans  <wim.taymans@gmail.com>
5153
5154         * docs/gst/gstreamer-sections.txt:
5155         * gst/gststructure.c: (gst_structure_get_uint):
5156         * gst/gststructure.h:
5157         Add function to get uint from a structure.
5158         API: gst_structure_get_uint()
5159
5160 2007-08-12  Wim Taymans  <wim.taymans@gmail.com>
5161
5162         * gst/gstcaps.c: (gst_caps_set_simple_valist),
5163         (gst_caps_intersect):
5164         Fix proper check for simple caps.
5165
5166 2007-08-10  Stefan Kost  <ensonic@users.sf.net>
5167
5168         * docs/gst/Makefile.am:
5169         * docs/libs/Makefile.am:
5170           Remove cruft and do some cleanups.
5171
5172         * docs/gst/gstreamer-docs.sgml:
5173         * docs/libs/gstreamer-libs-docs.sgml:
5174           Prepare for comming gtkdoc features (rebase against online docs).
5175
5176 2007-08-10  Michael Smith <msmith@fluendo.com>
5177
5178         * docs/gst/gstreamer-sections.txt:
5179           Add gst_registry_add_path to docs.
5180
5181 2007-08-10  Michael Smith <msmith@fluendo.com>
5182
5183         * gst/gstregistry.h:
5184           Add gst_registry_add_path, which was missing from this header.
5185
5186 2007-08-10  Tim-Philipp Müller  <tim at centricular dot net>
5187
5188         * libs/gst/controller/gstlfocontrolsource.c:
5189           Printf format fix.
5190
5191 2007-08-09  Philippe Kalaf <philippe.kalaf@collabora.co.uk>
5192
5193         * libs/gst/base/gstbasesink.c:
5194           Don't send an async_start message during downwards state change if 
5195           target state is less than READY
5196
5197 2007-08-09  Thomas Vander Stichele  <thomas at apestaart dot org>
5198
5199         translated by: Gabor Kelemen <kelemeng@gnome.hu>
5200
5201         * po/LINGUAS:
5202         * po/hu.po:
5203           Added Hungarian translation.
5204
5205 2007-08-09  Thomas Vander Stichele  <thomas at apestaart dot org>
5206
5207         * po/fi.po:
5208         * po/it.po:
5209         * po/nl.po:
5210         * po/sv.po:
5211         * po/uk.po:
5212           Updated translations.
5213
5214 2007-08-07  Jan Schmidt  <thaytan@mad.scientist.com>
5215
5216         * libs/gst/controller/Makefile.am:
5217         Dist gstlfocontrolsourceprivate.h
5218
5219 2007-08-07  Jan Schmidt  <thaytan@mad.scientist.com>
5220
5221         * docs/libs/gstreamer-libs.types:
5222         Don't register the enum type gst_lfo_waveform_get_type() in the
5223         .types file - only GObject derived types belong.
5224
5225 2007-08-07  Wim Taymans  <wim.taymans@gmail.com>
5226
5227         Patch by: <arenevier at fdn dot fr>
5228
5229         * gst/gstbuffer.h:
5230         Remove comma from last element in enum to avoid compile errors when
5231         using -pendantic. Fixes #464366.
5232
5233 2007-08-07  Wim Taymans  <wim.taymans@gmail.com>
5234
5235         * docs/design/part-TODO.txt:
5236         Add some more TODO items
5237
5238         * gst/gstbin.c: (find_message), (gst_bin_change_state_func):
5239         Improve debugging.
5240
5241         * gst/gstcaps.c: (gst_caps_intersect):
5242         Optimize trivial intersection case between identical caps pointers.
5243
5244         * gst/gstelement.c: (gst_element_continue_state),
5245         (gst_element_set_state_func):
5246         * gst/gstpad.c:
5247         Fix spelling and grammar mistakes.
5248
5249 2007-08-05  Stefan Kost  <ensonic@users.sf.net>
5250
5251         * po/POTFILES.in:
5252         * po/POTFILES.skip:
5253           Update POTFILES. Fixes #461599.
5254
5255 2007-08-03  Sebastian Dröge  <slomo@circular-chaos.org>
5256
5257         * gst/gst.c:
5258         Fix confusing typo in debug output.
5259
5260 2007-08-03  Sebastian Dröge  <slomo@circular-chaos.org>
5261
5262         reviewed by: Stefan Kost <ensonic@users.sf.net>
5263
5264         * libs/gst/controller/Makefile.am:
5265         * libs/gst/controller/gstlfocontrolsource.c: (_calculate_pos),
5266         (gst_lfo_waveform_get_type), (gst_lfo_control_source_reset),
5267         (gst_lfo_control_source_new),
5268         (gst_lfo_control_source_set_waveform),
5269         (gst_lfo_control_source_bind), (gst_lfo_control_source_init),
5270         (gst_lfo_control_source_finalize),
5271         (gst_lfo_control_source_dispose),
5272         (gst_lfo_control_source_set_property),
5273         (gst_lfo_control_source_get_property),
5274         (gst_lfo_control_source_class_init):
5275         * libs/gst/controller/gstlfocontrolsource.h:
5276         * libs/gst/controller/gstlfocontrolsourceprivate.h:
5277         API: Add GstLFOControlSource, a control source that gives values
5278         for specific timestamps based on several periodic waveforms.
5279         Fixes #459717.
5280
5281         * tests/check/libs/controller.c: (GST_START_TEST),
5282         (gst_controller_suite):
5283         * docs/libs/gstreamer-libs-docs.sgml:
5284         * docs/libs/gstreamer-libs-sections.txt:
5285         * docs/libs/gstreamer-libs.types:
5286         Add documentation and unit tests for GstLFOControlSource.
5287
5288 2007-08-03  Jan Schmidt  <thaytan@mad.scientist.com>
5289
5290         * configure.ac:
5291         Back to CVS
5292
5293 === release 0.10.14 ===
5294
5295 2007-08-03  Jan Schmidt <thaytan@mad.scientist.com>
5296
5297         * configure.ac:
5298           releasing 0.10.14, "Breathing Vacuum"
5299
5300 2007-08-02  Tim-Philipp Müller  <tim at centricular dot net>
5301
5302         * gst/gstelement.c: (gst_element_class_set_details_simple):
5303         * gst/gstelement.h:
5304           Make strings passed to gst_element_class_set_details_simple()
5305           constant, as they should be (#462752).
5306
5307 2007-08-02  Wim Taymans  <wim.taymans@gmail.com>
5308
5309         * gst/gstbin.c: (gst_bin_change_state_func),
5310         (bin_handle_async_done), (gst_bin_handle_message_func):
5311         Don't forget about the fact that some element went ASYNC even after a
5312         resync. This makes us post the ASYNC_DONE message correctly.
5313         Fixes #462558.
5314
5315 2007-07-31  Jan Schmidt  <thaytan@mad.scientist.com>
5316
5317         * gst/gstregistry.c: (gst_registry_add_feature):
5318         When replacing an existing feature in the registry, make sure to
5319         continue holding a reference until we've replaced the name string
5320         within our feature hash table. Make sure to use g_hash_table_replace
5321         instead of g_hash_table_insert to ensure the new name string is used
5322         as a key instead of the old one that we're about to free.
5323         Fixes: #462085
5324
5325 2007-07-31  Jan Schmidt  <thaytan@mad.scientist.com>
5326
5327         * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
5328         (gst_plugin_feature_set_name):
5329         Revert patch from #459466 until after the release and we can work
5330         out exactly what the problem is (if any).
5331
5332 2007-07-26  Tim-Philipp Müller  <tim at centricular dot net>
5333
5334         * docs/gst/gstreamer-sections.txt:
5335         * gst/gsttaglist.c:
5336         * gst/gsttaglist.h:
5337           API: add GST_TAG_LICENSE_URI and GST_TAG_COPYRIGHT_URI (#451939).
5338
5339 2007-07-26  Jan Schmidt  <thaytan@mad.scientist.com>
5340
5341         * docs/libs/Makefile.am:
5342         Include our build-prefix libs and includes before the generic ones to
5343         avoid linking against the installed libs when we want the build-tree
5344         ones.
5345
5346 2007-07-26  Tim-Philipp Müller  <tim at centricular dot net>
5347
5348         Patch by: Steve Fink  <sphink gmail com>
5349
5350         * docs/pwg/building-testapp.xml:
5351           Mention that GST_PLUGIN_PATH or --gst-plugin-path might be needed
5352           if people try to build or install the example from the plugin
5353           template against a GStreamer from package using the configure
5354           defaults.
5355
5356 2007-07-25  Tim-Philipp Müller  <tim at centricular dot net>
5357
5358         Patch by: Steve Fink  <sphink gmail com>
5359
5360         * tools/gst-inspect.1.in:
5361           Document --print-all and --print-plugin-auto-install-info command
5362           line options in man page.
5363
5364 2007-07-25  Wim Taymans  <wim.taymans@gmail.com>
5365
5366         * docs/gst/gstreamer-sections.txt:
5367         Add docs for new api function.
5368
5369 2007-07-25  Wim Taymans  <wim.taymans@gmail.com>
5370
5371         * gst/gstelementfactory.c: (gst_element_factory_has_interface):
5372         * gst/gstelementfactory.h:
5373         API: gst_element_factory_has_interface()
5374         Added method to check if an element factory implements a named
5375         interface.
5376
5377 2007-07-25  Stefan Kost  <ensonic@users.sf.net>
5378
5379         * configure.ac:
5380         * docs/gst/gstreamer.types.in:
5381           Another conditional doc check.
5382
5383         * gst/gstmessage.c:
5384         * gst/gstparamspecs.h:
5385         * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
5386         * gst/gstvalue.c:
5387         * gst/gstxml.h:
5388           API-doc fixes.
5389
5390 2007-07-24  Stefan Kost  <ensonic@users.sf.net>
5391
5392         * gst/gstregistrybinary.c: (gst_registry_binary_check_magic),
5393         (gst_registry_binary_load_feature),
5394         (gst_registry_binary_load_plugin),
5395         (gst_registry_binary_read_cache):
5396           Print error just once and with additional info.
5397
5398 2007-07-24  Stefan Kost  <ensonic@users.sf.net>
5399
5400         * libs/gst/base/gsttypefindhelper.c: (helper_find_peek),
5401         (helper_find_suggest), (helper_find_get_length),
5402         (gst_type_find_helper_get_range), (buf_helper_find_suggest),
5403         (gst_type_find_helper_for_buffer):
5404           Cleanup the typefindhelper code and add private doc comments.
5405
5406 2007-07-24  Edward Hervey  <bilboed@bilboed.com>
5407
5408         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
5409         (gst_capsfilter_transform_size), (gst_capsfilter_prepare_buf):
5410         Fix capsfilter for cases where the caps set on capsfilter will provide
5411         additional information.
5412         Fixes #449197
5413
5414 2007-07-24  Stefan Kost  <ensonic@users.sf.net>
5415
5416         * gst/gsttypefindfactory.c:
5417           Fix docs that recommened wrong function to use.
5418
5419 2007-07-23  Stefan Kost  <ensonic@users.sf.net>
5420
5421         * tools/gst-inspect.c: (print_plugin_features):
5422           Also give media-type for typefinders in element output.
5423
5424 2007-07-23  Stefan Kost  <ensonic@users.sf.net>
5425
5426         * gst/gstregistry.c: (gst_registry_init), (gst_registry_finalize),
5427         (gst_registry_remove_features_for_plugin_unlocked),
5428         (gst_registry_add_feature), (gst_registry_remove_feature),
5429         (gst_registry_lookup_feature_locked):
5430         * gst/gstregistry.h:
5431           Speed up gst_registry_lookup_feature_locked() by using a hashmap.
5432           Fixes #459501.
5433
5434 2007-07-23  Stefan Kost  <ensonic@users.sf.net>
5435
5436         * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
5437         (gst_plugin_feature_set_name):
5438           Avoid double memory usage for pluginfeature names. Fixes #459466.
5439
5440 2007-07-22  Tim-Philipp Müller  <tim at centricular dot net>
5441
5442         * gst/gstpad.h:
5443           Small addition to GST_FLOW_IS_FATAL() docs: mention that elements
5444           driving the pipeline may need to explicitly check for NOT_LINKED as
5445           well, since IS_FATAL doesn't cover that.
5446
5447 2007-07-22  Tim-Philipp Müller  <tim at centricular dot net>
5448
5449         * docs/pwg/advanced-types.xml:
5450           Fix typo and duplicate entry in video formats list.
5451
5452 2007-07-22  Sebastian Dröge  <slomo@circular-chaos.org>
5453
5454         * libs/gst/controller/gstinterpolation.c:
5455         Also round to the nearest int when using cubic interpolation.
5456
5457 2007-07-19  Jan Schmidt  <thaytan@noraisin.net>
5458
5459         * libs/gst/controller/gstinterpolation.c:
5460         When linearly interpolating integer types, round to the nearest int
5461         by adding 0.5. Don't do it for float/double types.
5462         Fixes the failing controller test on my machine, which is somehow
5463         rounding differently than on the buildbots.
5464
5465 2007-07-20  Stefan Kost  <ensonic@users.sf.net>
5466
5467         * tools/gst-plot-timeline.py:
5468           Better log parsing (categories can have -). Adjust text vs. lines, so
5469           that they span the same y-range.        
5470
5471 2007-07-20  Stefan Kost  <ensonic@users.sf.net>
5472
5473         * docs/random/ensonic/audiobaseclasses.txt:
5474         * docs/random/ensonic/dynlink.txt:
5475         * docs/random/ensonic/profiling.txt:
5476           Save my thoughts.
5477
5478         * docs/random/moving-plugins:
5479           Add note to use g_assert type macros.
5480
5481 2007-07-20  Stefan Kost  <ensonic@users.sf.net>
5482
5483         * configure.ac:
5484         * libs/gst/check/Makefile.am:
5485           Add libm check as we use in for plugins.
5486
5487 2007-07-18  Jan Schmidt  <thaytan@noraisin.net>
5488
5489         * gst/gstbin.c: (gst_bin_continue_func):
5490         Check that the state_cookie hasn't changed since the continue_func
5491         was scheduled. Avoids problems where the state changes back to
5492         something it shouldn't be because it was changed in the meantime.
5493
5494 2007-07-17  Stefan Kost  <ensonic@users.sf.net>
5495
5496         * gst/gstregistrybinary.c: (gst_registry_binary_save_const_string),
5497         (gst_registry_binary_save_string),
5498         (gst_registry_binary_save_pad_template),
5499         (gst_registry_binary_save_feature),
5500         (gst_registry_binary_save_plugin),
5501         (gst_registry_binary_load_feature),
5502         (gst_registry_binary_load_plugin),
5503         (gst_registry_binary_read_cache):
5504           Fix memory leak. Be less verbose in the log.
5505
5506 2007-07-16  Jan Schmidt  <thaytan@mad.scientist.com>
5507
5508         * tests/check/elements/.cvsignore:
5509         Add file to cvsignore as commanded.
5510
5511 2007-07-16  Jan Schmidt  <thaytan@mad.scientist.com>
5512
5513         * tests/check/elements/multiqueue.c: (mq_dummypad_chain),
5514         (mq_dummypad_event), (run_output_order_test):
5515         Use a GStaticMutex to protect all cases where libcheck
5516         fail_if/fail_unless macros might be called from multiple threads
5517         simultaneously to avoid errors like:
5518           "check_pack.c:107: :-1081725400:Bad message type arg"
5519
5520 2007-07-16  Jan Schmidt  <thaytan@mad.scientist.com>
5521
5522         * tests/check/pipelines/stress.c: (GST_START_TEST):
5523         Make sure we set the pipeline back to the NULL state before
5524         dropping our final reference.
5525
5526 2007-07-16  Jan Schmidt  <thaytan@mad.scientist.com>
5527
5528         * tests/check/elements/tee.c: (GST_START_TEST):
5529         Make the tee stress-test a little less stressful so it doesn't just
5530         time out on slow-machines, and remove a small race when it's starting 
5531         up by adding a get_state() call.
5532
5533 2007-07-16  Stefan Kost  <ensonic@users.sf.net>
5534
5535         * gst/gst.c:
5536           Avoid reading registry twice on startup. Fixes #457322.
5537
5538 2007-07-13  Jan Schmidt  <thaytan@mad.scientist.com>
5539
5540         * pkgconfig/gstreamer-check-uninstalled.pc.in:
5541         * pkgconfig/gstreamer-check.pc.in:
5542         Substitute the CFLAGS for libcheck into our .pc file too so that
5543         dependent modules will pick it up properly if libcheck is installed
5544         into some other prefix.
5545
5546 2007-07-13  Jan Schmidt  <thaytan@mad.scientist.com>
5547
5548         * configure.ac:
5549         Revert the pkg-config check for libcheck, since it pulls in the
5550         wrong non-PIC libcheck.a on Ubuntu and probably Fedora too. We need
5551         a proper solution, either from the check project, or something else.
5552
5553 2007-07-12  Stefan Kost  <ensonic@users.sf.net>
5554
5555         * configure.ac:
5556           Use pkg-config to locate check.
5557
5558 2007-07-10  Stefan Kost  <ensonic@users.sf.net>
5559
5560         * gst/gsttaglist.c:
5561           Fix doc syntax.
5562
5563         * gst/gstutils.c:
5564         * gst/gstutils.h:
5565           Add deprecation guards.
5566
5567         * libs/gst/base/gstcollectpads.h:
5568           Don't document object (this is implicitly private).
5569
5570 2007-07-08  Tim-Philipp Müller  <tim at centricular dot net>
5571
5572         * gst/gststructure.c: (gst_structure_parse_value):
5573           When deserialising foo=bar without a type cast, check if it's a
5574           boolean before falling back to a string type, otherwise things like
5575           audiotestsrc ! audio/x-raw-int,signed=true ! fakesink won't work,
5576           because the filtercaps end up having a signed=(string)true field,
5577           which causes problems later when intersection caps.
5578
5579         * tests/check/gst/gststructure.c: (GST_START_TEST):
5580           Add a unit test for this.
5581
5582 2007-07-06  Sebastian Dröge  <slomo@circular-chaos.org>
5583
5584         Reviewed by: Stefan Kost <ensonic@users.sf.net>
5585
5586         * libs/gst/controller/Makefile.am:
5587         * libs/gst/controller/gstcontroller.c:
5588         (gst_controlled_property_add_interpolation_control_source),
5589         (gst_controlled_property_new), (gst_controlled_property_free),
5590         (gst_controller_find_controlled_property),
5591         (gst_controller_new_valist), (gst_controller_new_list),
5592         (gst_controller_new), (gst_controller_remove_properties_valist),
5593         (gst_controller_remove_properties_list),
5594         (gst_controller_remove_properties),
5595         (gst_controller_set_property_disabled),
5596         (gst_controller_set_disabled), (gst_controller_set_control_source),
5597         (gst_controller_get_control_source), (gst_controller_get),
5598         (gst_controller_sync_values), (gst_controller_get_value_array),
5599         (_gst_controller_dispose), (gst_controller_get_type),
5600         (gst_controlled_property_set_interpolation_mode),
5601         (gst_controller_set), (gst_controller_set_from_list),
5602         (gst_controller_unset), (gst_controller_unset_all),
5603         (gst_controller_get_all), (gst_controller_set_interpolation_mode):
5604         * libs/gst/controller/gstcontroller.h:
5605         * libs/gst/controller/gstcontrollerprivate.h:
5606         * libs/gst/controller/gstcontrolsource.c:
5607         (gst_control_source_class_init), (gst_control_source_init),
5608         (gst_control_source_get_value),
5609         (gst_control_source_get_value_array), (gst_control_source_bind):
5610         * libs/gst/controller/gstcontrolsource.h:
5611         * libs/gst/controller/gsthelper.c: (gst_object_set_control_source),
5612         (gst_object_get_control_source):
5613         * libs/gst/controller/gstinterpolation.c:
5614         (gst_interpolation_control_source_find_control_point_node),
5615         (gst_interpolation_control_source_get_first_value),
5616         (_interpolate_none_get), (interpolate_none_get),
5617         (interpolate_none_get_boolean_value_array),
5618         (interpolate_none_get_enum_value_array),
5619         (interpolate_none_get_string_value_array),
5620         (_interpolate_trigger_get), (interpolate_trigger_get),
5621         (interpolate_trigger_get_boolean_value_array),
5622         (interpolate_trigger_get_enum_value_array),
5623         (interpolate_trigger_get_string_value_array):
5624         * libs/gst/controller/gstinterpolationcontrolsource.c:
5625         (gst_control_point_free), (gst_interpolation_control_source_reset),
5626         (gst_interpolation_control_source_new),
5627         (gst_interpolation_control_source_set_interpolation_mode),
5628         (gst_interpolation_control_source_bind),
5629         (gst_control_point_compare), (gst_control_point_find),
5630         (gst_interpolation_control_source_set_internal),
5631         (gst_interpolation_control_source_set),
5632         (gst_interpolation_control_source_set_from_list),
5633         (gst_interpolation_control_source_unset),
5634         (gst_interpolation_control_source_unset_all),
5635         (gst_interpolation_control_source_get_all),
5636         (gst_interpolation_control_source_get_count),
5637         (gst_interpolation_control_source_init),
5638         (gst_interpolation_control_source_finalize),
5639         (gst_interpolation_control_source_dispose),
5640         (gst_interpolation_control_source_class_init):
5641         * libs/gst/controller/gstinterpolationcontrolsource.h:
5642         * libs/gst/controller/gstinterpolationcontrolsourceprivate.h:
5643         API: Refactor GstController into the core controller which can take
5644         a GstControlSource for providing actual values for timestamps.
5645         Implement a interpolation control source and use this for backward
5646         compatibility, deprecate a bunch of functions that are now handled
5647         by GstControlSource or GstInterpolationControlSource.
5648         Make it possible to disable the controller completely or only for
5649         specific properties. Fixes #450711.
5650         * docs/libs/gstreamer-libs-docs.sgml:
5651         * docs/libs/gstreamer-libs-sections.txt:
5652         * docs/libs/gstreamer-libs.types:
5653         Add new functions and classes to the docs.
5654         * tests/check/libs/controller.c: (GST_START_TEST),
5655         (gst_controller_suite):
5656         * tests/examples/controller/audio-example.c: (main):
5657         Port unit test and example to the new API and add some new
5658         unit tests.
5659
5660 2007-07-05  Wim Taymans  <wim.taymans@gmail.com>
5661
5662         Patch by: Mark Nauwelaerts <manauw at skynet be>
5663
5664         * plugins/elements/gstmultiqueue.c:
5665         (gst_multi_queue_get_internal_links), (apply_buffer),
5666         (single_queue_overrun_cb), (gst_single_queue_new):
5667         Implement non-default GstPadIntLinkFunction for multiqueue pads so that
5668         the pipeline layout can be tracked correctly. Fixes #453732.
5669
5670 2007-07-05  Stefan Kost  <ensonic@users.sf.net>
5671
5672         * docs/gst/Makefile.am:
5673         * docs/libs/Makefile.am:
5674         * docs/plugins/Makefile.am:
5675           Simplify --extra-dir as gtkdoc scans recursively.
5676
5677 2007-07-03  Wim Taymans  <wim.taymans@gmail.com>
5678
5679         * tools/gst-launch.c: (main):
5680         When we got an error, there is no point in waiting for preroll when
5681         shutting down.
5682
5683 2007-07-03  Wim Taymans  <wim.taymans@gmail.com>
5684
5685         * plugins/elements/gsttee.c: (gst_tee_base_init),
5686         (gst_tee_request_new_pad), (gst_tee_release_pad),
5687         (gst_tee_find_buffer_alloc), (gst_tee_buffer_alloc),
5688         (gst_tee_do_push), (clear_pads), (gst_tee_handle_buffer),
5689         (gst_tee_chain):
5690         Be a lot smarter when deciding what srcpad to use for proxying
5691         the buffer_alloc. Also handle pad added/removed when doing so.
5692         Fixes #357959.
5693         Keep track of what pads we already pushed on in case we have pads
5694         added/removed while pushing. Fixes #374639 
5695
5696         * tests/check/Makefile.am:
5697         * tests/check/elements/tee.c: (handoff), (GST_START_TEST),
5698         (tee_suite):
5699         Added unit test for pad resync.
5700
5701 2007-07-01  Thomas Vander Stichele  <thomas at apestaart dot org>
5702
5703         * po/nl.po:
5704         * po/sv.po:
5705           Updated translations.
5706
5707 2007-07-01  Thomas Vander Stichele  <thomas at apestaart dot org>
5708
5709         translation by: Tommi Vainikainen <Tommi.Vainikainen@iki.fi>
5710
5711         * po/LINGUAS:
5712         * po/fi.po:
5713           Added new Finnish translation.
5714
5715 2007-06-28  Wim Taymans  <wim@fluendo.com>
5716
5717         * plugins/elements/gstmultiqueue.c: (apply_buffer),
5718         (single_queue_overrun_cb):
5719         When figuring out when a queue is filled, use our internal time estimate
5720         based on segments, just like check_full does.
5721
5722 2007-06-27  Stefan Kost  <ensonic@users.sf.net>
5723
5724         * gst/gstminiobject.c: (gst_mini_object_get_type):
5725           Remove 3 do-nothing methods.
5726
5727 2007-06-27  Wim Taymans  <wim@fluendo.com>
5728
5729         Patch by: Tim Angus <tim at ngus dot net>
5730
5731         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
5732         (gst_capsfilter_set_property):
5733         Take a reference instead of a copy when setting "caps".
5734         Fix documentation to clarify this behaviour. Fixes #449414.
5735
5736 2007-06-27  Stefan Kost  <ensonic@users.sf.net>
5737
5738         * gst/gstindexfactory.c: (gst_index_factory_get_type):
5739         * gst/gstplugin.c: (gst_plugin_init):
5740         * gst/gstpluginfeature.c: (gst_plugin_feature_init):
5741         * gst/gstquery.c: (gst_query_get_type):
5742         * gst/gstregistry.c: (gst_registry_init):
5743         * gst/gsturi.c: (gst_uri_handler_base_init):
5744           Remove empty instance_init() functions to save relocs and lessen the
5745           noise. Remove some of the function prototypes that are doubled by
5746           G_DEFINE_TYPE.
5747           
5748 2007-06-27  Wim Taymans  <wim@fluendo.com>
5749
5750         Patch by: Étienne Noreau-Hébert <etienne at deepunder dot org>
5751
5752         * gst/gstghostpad.c: (gst_proxy_pad_save_thyself):
5753         Add peer and direction in the XML serialisation of ghostpads.
5754         Fixes #449226.
5755
5756 2007-06-26  Stefan Kost  <ensonic@users.sf.net>
5757
5758         * configure.ac:
5759           Preserve useful information, thanks Tim.
5760
5761 2007-06-26  Jan Schmidt  <thaytan@noraisin.net>
5762
5763         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_init),
5764         (gst_single_queue_flush), (apply_segment), (apply_buffer),
5765         (gst_single_queue_push_one), (gst_multi_queue_loop),
5766         (gst_multi_queue_sink_activate_push), (gst_multi_queue_sink_event),
5767         (gst_multi_queue_src_activate_push), (wake_up_next_non_linked),
5768         (compute_high_id), (gst_single_queue_new):
5769         * plugins/elements/gstmultiqueue.h:
5770         Take the multiqueue lock when updating the fill level so we don't get
5771         confused. 
5772
5773         After applying a buffer or event on the src pad segment, make sure to
5774         call gst_data_queue_limits_changed() to get the data queue to unblock
5775         and check the filled state again.
5776         
5777         Rework the not-linked pad handling so the logic is that not-linked 
5778         pads can push as fast as they like, but only so they never get 
5779         ahead of any linked pads.
5780
5781         * tests/check/elements/multiqueue.c: (mq_sinkpad_to_srcpad),
5782         (mq_dummypad_getcaps), (mq_dummypad_chain), (mq_dummypad_event),
5783         (run_output_order_test), (GST_START_TEST), (multiqueue_suite):
5784
5785         Add a test to check that not-linked pads always stay behind
5786         linked pads.
5787
5788         Fixes: #430682
5789
5790 2007-06-26  Jan Schmidt  <thaytan@mad.scientist.com>
5791
5792         * docs/random/release:
5793           Some updates to the release procedure.
5794
5795 2007-06-26  Stefan Kost  <ensonic@users.sf.net>
5796
5797         * gst/gstelementfactory.c: (__gst_element_details_clear):
5798           Microoptimization that saves stunning 80 bytes.
5799
5800 2007-06-25  Stefan Kost  <ensonic@users.sf.net>
5801
5802         * docs/plugins/gstreamer-plugins.args:
5803         * docs/plugins/inspect/plugin-coreelements.xml:
5804         * docs/plugins/inspect/plugin-coreindexers.xml:
5805           Update docs with caps info.
5806
5807 2007-06-24  Thomas Vander Stichele  <thomas at apestaart dot org>
5808
5809         * po/it.po:
5810           Updated Italian translation.
5811
5812 2007-06-23  Thomas Vander Stichele  <thomas at apestaart dot org>
5813
5814         * ChangeLog:
5815         * po/vi.po:
5816           Update Vietnamese translations.
5817
5818 2007-06-21  Tim-Philipp Müller  <tim at centricular dot net>
5819
5820         * libs/gst/base/gstbasesink.c:
5821           Remove unused signal enum.
5822
5823 2007-06-21  Jan Schmidt  <thaytan@mad.scientist.com>
5824
5825         * docs/gst/gstreamer-sections.txt:
5826         * gst/gstelement.c:
5827         * gst/gstutils.c: (gst_type_register_static_full):
5828         Beef up and include the docs for gst_type_register_static_full and
5829         gst_element_class_set_details_simple and add the API keyword
5830         in the ChangeLog.
5831
5832 2007-06-21  Jan Schmidt  <thaytan@mad.scientist.com>
5833
5834         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_set_property),
5835         (update_time_level), (gst_single_queue_push_one),
5836         (gst_multi_queue_chain), (gst_multi_queue_sink_event),
5837         (single_queue_overrun_cb), (single_queue_underrun_cb),
5838         (single_queue_check_full):
5839         Fix setting max-* properties after adding queues.
5840         Use IS_FILLED for checking visible items.
5841         Signal overrun if multiple queues overrun.
5842         Add extra debug output.
5843         Patch by: Wim Taymans <wim@fluendo.com>
5844
5845 2007-06-21  Stefan Kost  <ensonic@users.sf.net>
5846
5847         * gst/gstelement.c: (gst_element_class_set_details_simple):
5848         * gst/gstelement.h:
5849         * gst/gstutils.c: (gst_type_register_static_full):
5850         * gst/gstutils.h:
5851         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_base_init):
5852         * plugins/elements/gstfakesink.c: (gst_fake_sink_base_init):
5853         * plugins/elements/gstfakesrc.c: (gst_fake_src_base_init):
5854         * plugins/elements/gstfdsink.c: (gst_fd_sink_base_init):
5855         * plugins/elements/gstfdsrc.c: (gst_fd_src_base_init):
5856         * plugins/elements/gstfilesink.c: (gst_file_sink_base_init):
5857         * plugins/elements/gstfilesrc.c: (gst_file_src_base_init):
5858         * plugins/elements/gstidentity.c: (gst_identity_base_init):
5859         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_base_init):
5860         * plugins/elements/gstqueue.c: (gst_queue_base_init),
5861         (apply_buffer), (gst_queue_chain):
5862         * plugins/elements/gsttee.c: (gst_tee_base_init):
5863         * plugins/elements/gsttypefindelement.c:
5864         (gst_type_find_element_base_init),
5865         (gst_type_find_element_class_init):
5866           Saving relocations for GTypeInfo and GstElementDetails. Fixes #437457.
5867           API: add gst_type_register_static_full
5868           API: add gst_element_class_set_details_simple
5869
5870 2007-06-21  Tim-Philipp Müller  <tim at centricular dot net>
5871
5872         * docs/pwg/advanced-types.xml:
5873           Fix typo in iana.org URI.
5874
5875 2007-06-19  Andy Wingo  <wingo@pobox.com>
5876
5877         * tests/check/pipelines/simple-launch-lines.c
5878         (test_state_change_returns): Enable pull-mode tests now that
5879         basesink has been fixed.
5880
5881         * libs/gst/base/gstbasesink.c (gst_base_sink_needs_preroll):
5882         Changed from gst_base_sink_is_prerolled, reversing the sense of
5883         the return value. Returns FALSE also if the sink is in pull mode,
5884         in which case it needs no preroll.
5885         (gst_base_sink_query, gst_base_sink_change_state): Update for
5886         needs_preroll change.
5887         (gst_base_sink_change_state): Add a case for READY_TO_PAUSED after
5888         chaining up, in which we return SUCCESS directly if we activated
5889         in pull mode instead of ASYNC. Involves countering an async_start
5890         message sent before chaining up; not sure if this is correct, in
5891         an ideal world we only send async-start when activating in push
5892         mode.
5893
5894         * tests/check/pipelines/simple-launch-lines.c
5895         (test_state_change_returns): New test, partially disabled until
5896         basesink is fixed.
5897
5898 2007-06-19  Wim Taymans  <wim@fluendo.com>
5899
5900         * plugins/elements/gstmultiqueue.c: (apply_buffer),
5901         (gst_multi_queue_sink_event):
5902         Fix event leak.
5903
5904 2007-06-19  Wim Taymans  <wim@fluendo.com>
5905
5906         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
5907         (gst_bin_change_state_func), (bin_push_state_continue),
5908         (bin_handle_async_start), (bin_handle_async_done),
5909         (gst_bin_handle_message_func):
5910         Move the common code for posting state-change messages into
5911         one function.
5912         Broadcast the state signal after we posted the messages.
5913         Mark the bin as busy when it's doing a state-change.
5914         Make sure async-start/done messages don't interfere with the bin's
5915         state when it's busy.
5916         After the state change, let the bin check which elements completed the
5917         state change while it was busy so that it can update its state.
5918
5919 2007-06-19  Jan Schmidt  <thaytan@mad.scientist.com>
5920
5921         * docs/random/release:
5922         Add a note about updating the doap file to the release checklist
5923
5924 2007-06-18  Wim Taymans  <wim@fluendo.com>
5925
5926         * plugins/elements/gstmultiqueue.c: (apply_buffer),
5927         (gst_single_queue_push_one), (gst_multi_queue_chain),
5928         (gst_multi_queue_sink_event):
5929         Make sure we don't reference the buffer/event after we have given away
5930         ownership in the queue.
5931
5932 2007-06-18  Wim Taymans  <wim@fluendo.com>
5933
5934         * plugins/elements/gstmultiqueue.c: (gst_single_queue_flush),
5935         (gst_multi_queue_chain), (gst_multi_queue_sink_event):
5936         Update queue state _after_ adding the item in the queue because else we
5937         could end up being full without the element added yet.
5938
5939 2007-06-18  Wim Taymans  <wim@fluendo.com>
5940
5941         * gst/gstbin.c: (gst_bin_init), (gst_bin_add_func),
5942         (gst_bin_remove_func), (gst_bin_get_state_func),
5943         (gst_bin_element_set_state), (gst_bin_continue_func),
5944         (bin_push_state_continue), (bin_handle_async_start),
5945         (bin_handle_async_done), (gst_bin_handle_message_func):
5946         * gst/gstbin.h:
5947         Immediatly commit the toplevel bin state when receiving an async-done
5948         message. This enables us to avoid spawning a thread to commit the state
5949         in some common cases and it also avoids some races.
5950         Avoid spawning a state thread when adding/removing async elements to a
5951         toplevel bin. Instead we immediatly update the bin state.
5952         Get rid of iterating all the children when getting the state in the bin
5953         because it is now always up-to-date.
5954         Fix bug where locked elements would always return _SUCCESS even it they
5955         returned NO_PREROLL before being locked.
5956         Fix the order of the state_change, async-start/done messages that was
5957         sometimes incorrect.
5958         Mark the state_dirty field as deprecated, we don't need it anymore as we
5959         are always up-to-date.
5960
5961         * gst/gstelement.c: (gst_element_get_state_func),
5962         (gst_element_continue_state):
5963         Small debug inprovements.
5964         Return the previous element state return when nothing is pending instead
5965         of blindly returning SUCCESS.
5966
5967         * tests/check/generic/sinks.c: (GST_START_TEST), (pad_blocked_cb),
5968         (gst_sinks_suite):
5969         Add a whole bunch of new testcases.
5970
5971 2007-06-17  Thomas Vander Stichele  <thomas at apestaart dot org>
5972
5973         * po/uk.po:
5974         * po/vi.po:
5975           Update translations.
5976
5977 2007-06-15  Jan Schmidt  <thaytan@mad.scientist.com>
5978
5979         * gst/gstpad.c:
5980         Fix typo in the docs.
5981
5982 2007-06-15  Wim Taymans  <wim@fluendo.com>
5983
5984         * docs/libs/gstreamer-libs-sections.txt:
5985         Add docs for new methods.
5986
5987 2007-06-15  Wim Taymans  <wim@fluendo.com>
5988
5989         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_item_destroy),
5990         (gst_multi_queue_item_new):
5991         Don't use GSlice because we don't depend on >= 2.10 yet.
5992
5993 2007-06-15  Wim Taymans  <wim@fluendo.com>
5994
5995         * plugins/elements/gstmultiqueue.c: (gst_single_queue_flush),
5996         (update_time_level), (apply_segment), (apply_buffer),
5997         (gst_single_queue_push_one), (gst_multi_queue_item_new),
5998         (gst_multi_queue_loop), (gst_multi_queue_sink_activate_push),
5999         (gst_multi_queue_sink_event), (single_queue_overrun_cb),
6000         (single_queue_underrun_cb), (single_queue_check_full):
6001         Remove debug printf.
6002
6003 2007-06-15  Wim Taymans  <wim@fluendo.com>
6004
6005         * libs/gst/base/gstdataqueue.c: (gst_data_queue_cleanup),
6006         (gst_data_queue_finalize), (gst_data_queue_locked_is_empty),
6007         (gst_data_queue_set_flushing), (gst_data_queue_push),
6008         (gst_data_queue_pop), (gst_data_queue_drop_head),
6009         (gst_data_queue_limits_changed), (gst_data_queue_get_level):
6010         * libs/gst/base/gstdataqueue.h:
6011         Various cleanups.
6012         Added methods to get the current levels and to inform the queue that the
6013         'full' limits changed.
6014
6015         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_init),
6016         (gst_multi_queue_finalize), (gst_multi_queue_set_property),
6017         (gst_single_queue_flush), (update_time_level), (apply_segment),
6018         (apply_buffer), (gst_single_queue_push_one),
6019         (gst_multi_queue_item_steal_object),
6020         (gst_multi_queue_item_destroy), (gst_multi_queue_item_new),
6021         (gst_multi_queue_loop), (gst_multi_queue_chain),
6022         (gst_multi_queue_sink_activate_push), (gst_multi_queue_sink_event),
6023         (gst_multi_queue_getcaps), (gst_multi_queue_src_activate_push),
6024         (gst_multi_queue_src_query), (single_queue_overrun_cb),
6025         (single_queue_underrun_cb), (single_queue_check_full),
6026         (gst_single_queue_new):
6027         Keep track of time in the queue by measuring the difference between
6028         running_time on input and output. This gives more accurate results and
6029         can compensate for segments correctly.
6030         Make a queue by default only 5 buffers deep. We will now increase the
6031         buffer size depending on the filledness of the other queues.
6032         Factor out commong flush code.
6033         Make sure we don't add additional refcounts to buffers when we can avoid
6034         it.
6035         Propagate GstFlowReturn differently.
6036         Use GSlice for intermediate GstMultiQueueItems.
6037         Keep track of EOS.
6038         Resize queues on over and underruns based on filled level of other
6039         queues.
6040         When checking if the queue is filled, prefer to measure in time if we
6041         can and fall back to bytes when no time is known.
6042
6043         * plugins/elements/gstqueue.c:
6044         Fix return value.
6045
6046 2007-06-15  Wim Taymans  <wim@fluendo.com>
6047
6048         * libs/gst/base/gstbasetransform.c:
6049         (gst_base_transform_sink_event):
6050         Work around the brokenness of the event vmethod in basetransform. Prefer
6051         to return TRUE when the subclass returned FALSE (meaning don't forward
6052         the event). 
6053
6054         * libs/gst/base/gstbasetransform.h:
6055         Clarify the docs.
6056
6057 2007-06-15  Wim Taymans  <wim@fluendo.com>
6058
6059         * gst/gstpad.c: (gst_pad_push_event), (gst_pad_send_event):
6060         * libs/gst/base/gstbasesrc.c: (gst_base_src_query_latency),
6061         (gst_base_src_default_query), (gst_base_src_get_range),
6062         (gst_base_src_start):
6063         * tests/check/pipelines/parse-launch.c: (setup_pipeline):
6064         Improve debugging.
6065
6066 2007-06-15  Stefan Kost  <ensonic@users.sf.net>
6067
6068         * docs/pwg/advanced-types.xml:
6069           Added more formats to caps table.
6070
6071 2007-06-15  Stefan Kost  <ensonic@users.sf.net>
6072
6073         * tools/gst-launch.c: (main):
6074           Remove crufy code. GOption does not need this workaround.
6075
6076 2007-06-14  Stefan Kost  <ensonic@users.sf.net>
6077
6078         * libs/gst/controller/gstcontroller.c:
6079         (gst_controlled_property_set_interpolation_mode):
6080           Fix wrong getter for enums in controller.
6081
6082 2007-06-14  Tim-Philipp Müller  <tim at centricular dot net>
6083
6084         * libs/gst/check/gstcheck.c: (gst_check_init):
6085           Intercept criticals and warnings in the Gst-Phonon log domain, so
6086           ASSERT_CRITICAL() etc. can be used in gst-phonon's unit tests as
6087           well.
6088         
6089 2007-06-14  Edward Hervey  <edward@fluendo.com>
6090
6091         * gst/gstparamspecs.c: (_gst_param_fraction_validate):
6092         Since this file doesn't include "gst.h" it will not go through the
6093         macros that disable GST_LOG if debugging was disabled.
6094
6095 2007-06-14  Tim-Philipp Müller  <tim at centricular dot net>
6096
6097         * libs/gst/check/Makefile.am:
6098         * libs/gst/check/gstcheck.h:
6099         * pkgconfig/gstreamer-check-uninstalled.pc.in:
6100         * pkgconfig/gstreamer-check.pc.in:
6101           Ugly 'fix' for the controller unit test on the p5 bot: in
6102           fail_unless_equals_float() check whether the values are 'almost
6103           equal' by allowing a small absolute error, which should be good
6104           enough for our use cases (normal numbers and values close to 0).
6105           Proper fixage left to floating point arithmetic aficionados.
6106
6107 2007-06-14  Stefan Kost  <ensonic@users.sf.net>
6108
6109         * libs/gst/base/gstbasesink.c: (gst_base_sink_reset_qos),
6110         (gst_base_sink_render_object), (gst_base_sink_get_position):
6111           Add two breaks thats where missing.
6112
6113 2007-06-14  Tim-Philipp Müller  <tim at centricular dot net>
6114
6115         * docs/libs/gstreamer-libs-sections.txt:
6116         * libs/gst/check/gstcheck.h:
6117           API: add fail_unless_equals_float() and assert_equals_float().
6118           Add documentation for some of the macros.
6119
6120         * tests/check/libs/controller.c: (GST_START_TEST):
6121           Use newly-added asserts.
6122
6123 2007-06-14  Stefan Kost  <ensonic@users.sf.net>
6124
6125         * gst/gstpad.c: (gst_pad_alloc_buffer_full), (gst_pad_push):
6126           Show the caps change in the log to help spotting the case of not
6127           exactly matching caps.
6128
6129 2007-06-14  Tim-Philipp Müller  <tim at centricular dot net>
6130
6131         * docs/pwg/building-boiler.xml:
6132           Fix typos, spotted by Thijs Vermeir (#447190).
6133
6134 2007-06-13  Jan Schmidt  <thaytan@mad.scientist.com>
6135
6136         * docs/plugins/tmpl/.cvsignore:
6137         Ignore file to keep the buildbots happy
6138
6139 2007-06-13  Jan Schmidt  <thaytan@mad.scientist.com>
6140
6141         * docs/plugins/Makefile.am:
6142         * docs/plugins/gstreamer-plugins-docs.sgml:
6143         * docs/plugins/gstreamer-plugins-sections.txt:
6144         Pull fdsink into the docs too.
6145
6146 2007-06-11  Sebastian Dröge  <slomo@circular-chaos.org>
6147
6148         * libs/gst/controller/gstinterpolation.c:
6149         Actually use the new functions with min/max checks for the trigger and
6150         none interpolation modes for get() and get_value_array() instead of
6151         just the latter.
6152
6153 2007-06-10  Sebastian Dröge  <slomo@circular-chaos.org>
6154
6155         * libs/gst/controller/gstcontroller.c:
6156         (gst_controlled_property_free):
6157         Unset the minimum and maximum GValues when freeing the corresponding
6158         GstControllerProperty struct.
6159
6160 2007-06-09  Sebastian Dröge  <slomo@circular-chaos.org>
6161
6162         * libs/gst/controller/gstcontroller.c:
6163         (gst_controlled_property_new):
6164         * libs/gst/controller/gstcontrollerprivate.h:
6165         * libs/gst/controller/gstinterpolation.c:
6166         (gst_controlled_property_find_control_point_node),
6167         (interpolate_none_get), (interpolate_none_get_enum_value_array),
6168         (interpolate_none_get_string_value_array),
6169         (interpolate_trigger_get),
6170         (interpolate_trigger_get_enum_value_array),
6171         (interpolate_trigger_get_string_value_array):
6172         Protect against values larger or smaller than the minimum or maximum
6173         allowed value for the property when using values that can be compared.
6174
6175         Optimize trigger interpolator a bit by taking the last requested value
6176         into account instead of always looping through the complete list.
6177
6178         Fix coding style a bit, everywhere else we use "return foo" instead
6179         of "return (foo)".
6180         
6181         * tests/check/libs/controller.c: (GST_START_TEST),
6182         (gst_controller_suite):
6183         Add unit test for the protection against too large or too small
6184         values.
6185
6186 2007-06-08  Sebastian Dröge  <slomo@circular-chaos.org>
6187
6188         * docs/random/slomo/controller.txt:
6189         Add some thoughts about the future of the controller.
6190
6191 2007-06-08  Wim Taymans  <wim@fluendo.com>
6192
6193         * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
6194         Don't overflow in retimestamping code.
6195
6196 2007-06-07  Sebastien Moutte  <sebastien@moutte.net>
6197
6198         * libs/gst/controller/gstinterpolation.c: (DEFINE_CUBIC_GET):
6199         Use gst_util_guint64_to_gdouble for conversions.
6200         * win32/common/libgstreamer.def:
6201         Add new exported functions.
6202
6203 2007-06-07  Tim-Philipp Müller  <tim at centricular dot net>
6204
6205         * gst/gstutils.c:
6206           Small docs addition.
6207
6208 2007-06-07  Stefan Kost  <ensonic@users.sf.net>
6209
6210         * README:
6211           Remove that test line again.
6212
6213 2007-06-07  Stefan Kost  <ensonic@users.sf.net>
6214
6215         * README:
6216           Test commit mail sending.
6217
6218 2007-06-07  Stefan Kost  <ensonic@users.sf.net>
6219
6220         * configure.ac:
6221           Fix typo and test commit mail sending.
6222
6223 2007-06-07  Stefan Kost  <ensonic@users.sf.net>
6224
6225         * tests/examples/controller/audio-example.c:
6226           Improve comment and test commit mail sending.
6227
6228 2007-06-07  Wim Taymans  <wim@fluendo.com>
6229
6230         * gst/gstbin.c: (find_message), (bin_replace_message), (is_eos),
6231         (gst_bin_remove_func), (gst_bin_element_set_state),
6232         (bin_handle_async_start), (bin_handle_async_done),
6233         (gst_bin_handle_message_func):
6234         Add helper function to find messages.
6235         Generate the async-done messages together with the state change
6236         messages.
6237         Small cleanups in handling toplevel bins.
6238
6239 2007-06-06  Tim-Philipp Müller  <tim at centricular dot net>
6240
6241         * libs/gst/base/gstdataqueue.c:
6242         * libs/gst/base/gstdataqueue.h:
6243         * plugins/elements/gstmultiqueue.c: (gst_single_queue_push_one),
6244         (gst_multi_queue_item_new), (gst_multi_queue_chain),
6245         (gst_multi_queue_sink_event):
6246         * tests/check/elements/multiqueue.c: (multiqueue_suite):
6247           Fix multiqueue leaking buffers and events when downstream or the
6248           queue are flushing. Make refcounting assumptions explicit and
6249           document them (shouldn't break existing code that uses it other than
6250           maybe leak miniobjects, but that already happens anyway). Add unit
6251           test for the most common flushing case. Fixes #423700.
6252           
6253 2007-06-06  Sebastian Dröge  <slomo@circular-chaos.org>
6254
6255         * libs/gst/controller/gstcontroller.c:
6256         Clarify docs: The get_all, get_value_array(s) functions
6257         don't modify the GObject properties.
6258
6259 2007-06-06  Sebastian Dröge  <slomo@circular-chaos.org>
6260
6261         * libs/gst/controller/gstcontroller.c:
6262         (gst_controlled_property_set_interpolation_mode),
6263         (gst_controlled_property_prepend_default),
6264         (gst_controlled_property_new), (gst_controller_set_unlocked),
6265         (gst_controller_set), (gst_controller_set_from_list),
6266         (gst_controller_unset), (gst_controller_unset_all):
6267         * libs/gst/controller/gstcontrollerprivate.h:
6268         * libs/gst/controller/gstinterpolation.c:
6269         Factor out the 'set' logic into gst_controller_set_unlocked for the
6270         gst_controller_set and gst_controller_set_from_list functions.
6271
6272         To make life of the interpolators easier always add a control point
6273         at timestamp zero with the default value.
6274
6275         In the linear interpolator make things more obvious by better variable
6276         naming (slope).
6277
6278         Implement cubic interpolation mode (by using a natural cubic spline)
6279         and map the quadratic interpolation mode to this too (as quadratic
6280         doesn't make much sense, see discussion on the list).
6281
6282         * tests/check/libs/controller.c: (GST_START_TEST),
6283         (gst_controller_suite):
6284         Add unit test for the cubic interpolation mode and check everywhere
6285         if the interpolation mode could be set as expected.
6286
6287 2007-06-06  Tim-Philipp Müller  <tim at centricular dot net>
6288
6289         * gst/gstparamspecs.c: (gst_param_spec_fraction_get_type):
6290           Don't use GLib-2.10 functions, we still depend on
6291           GLib-how-old-is-it-again-2.8.
6292
6293 2007-06-06  Tim-Philipp Müller  <tim at centricular dot net>
6294
6295         * docs/gst/gstreamer-sections.txt:
6296         * gst/Makefile.am:
6297         * gst/gst.c:
6298         * gst/gst.h:
6299         * gst/gstparamspecs.c: (_gst_param_fraction_init),
6300         (_gst_param_fraction_set_default), (_gst_param_fraction_validate),
6301         (_gst_param_fraction_values_cmp),
6302         (gst_param_spec_fraction_get_type), (gst_param_spec_fraction):
6303         * gst/gstparamspecs.h:
6304         * gst/gstvalue.c:
6305         * tests/check/Makefile.am:
6306         * tests/check/gst/.cvsignore:
6307         * tests/check/gst/gstparamspecs.c: (gst_dummy_obj_base_init),
6308         (gst_dummy_obj_class_init), (gst_dummy_obj_init),
6309         (gst_dummy_obj_set_property), (gst_dummy_obj_get_property),
6310         (GST_START_TEST), (gst_param_spec_suite):
6311           API: add GstParamSpecFraction, so elements can have fraction
6312           properties without lots of painful string parsing (#444648).
6313
6314 2007-06-05  Wim Taymans  <wim@fluendo.com>
6315
6316         * gst/gstobject.c: (gst_object_class_init):
6317         Fix signal signature.
6318
6319         * gst/gstsegment.c:
6320         Add small clarification in the api docs.
6321
6322         * plugins/elements/gstfilesrc.c: (gst_file_src_set_location):
6323         States are protected with object lock.
6324
6325 2007-06-05  Jan Schmidt  <thaytan@mad.scientist.com>
6326
6327         * AUTHORS:
6328         I should probably be listed as an author by now.
6329
6330         * docs/random/release:
6331         Update the release doc
6332
6333 2007-06-05  Tim-Philipp Müller  <tim at centricular dot net>
6334
6335         * gst/gstvalue.c:
6336           Make docs for gst_value_compare() mention return enums that
6337           actually exist.
6338
6339 2007-06-05  Jan Schmidt  <thaytan@mad.scientist.com>
6340
6341         * configure.ac:
6342           Back to CVS
6343
6344 === release 0.10.13 ===
6345
6346 2007-06-05  Jan Schmidt <thaytan@mad.scientist.com>
6347
6348         * configure.ac:
6349           releasing 0.10.13, "With or without you"
6350
6351 2007-05-25  Wim Taymans  <wim@fluendo.com>
6352
6353         * gst/gstbin.c: (bin_handle_async_done):
6354         Make sure that the child bin stops after completing the async state
6355         change so that the parent can continue the state change to PLAYING.
6356         Fixes #441159.
6357
6358 2007-05-25  Wim Taymans  <wim@fluendo.com>
6359
6360         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
6361         (unref_data), (gst_collect_pads_remove_pad),
6362         (gst_collect_pads_check_pads):
6363         Use additional refcounting to avoid crashes when dynamically adding and
6364         removing pads. Fixes #420206.
6365
6366 2007-05-24  Wim Taymans  <wim@fluendo.com>
6367
6368         * tools/gst-launch.c: (event_loop):
6369         When buffering goes from a two digit to a single digit number, make sure
6370         to remove the old second digit by writing a blank over it.
6371
6372 2007-05-24  Tim-Philipp Müller  <tim at centricular dot net>
6373
6374         * libs/gst/base/gstdataqueue.c:
6375           Eliminate tabs and trailing comma in enum list; fix some typos.
6376
6377 2007-05-24  Wim Taymans  <wim@fluendo.com>
6378
6379         * tests/check/gst/gstbin.c: (GST_START_TEST):
6380         Allow refcount of 3 and 4 because some state thread might still be busy
6381         with it.
6382
6383 2007-05-24  Tim-Philipp Müller  <tim at centricular dot net>
6384
6385         * plugins/elements/Makefile.am:
6386         * plugins/elements/gstmultiqueue.h:
6387         * plugins/elements/gstqueue.h:
6388           These are not installed headers, no need for padding.
6389
6390 2007-05-24  Wim Taymans  <wim@fluendo.com>
6391
6392         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_get_state_func),
6393         (gst_bin_continue_func):
6394         Enable latency for next release.
6395         Restore STATE_LOCK around recalc_state that was left out during the
6396         rewrite and could result in racy behaviour when _get_state and
6397         recalc_state are run concurrently. See #440463.
6398
6399 2007-05-23  Wim Taymans  <wim@fluendo.com>
6400
6401         * tests/check/gst/gstsystemclock.c: (store_callback),
6402         (GST_START_TEST):
6403         Improve test_async_order to also work when both timers are already
6404         expired when we get scheduled to check it.
6405
6406 2007-05-22  Tim-Philipp Müller  <tim at centricular dot net>
6407
6408         * gst/gstbin.c: (gst_bin_init), (gst_bin_dispose),
6409         (gst_bin_set_property), (gst_bin_get_property),
6410         (gst_bin_remove_func), (gst_bin_handle_message_func):
6411         * gst/gstbin.h:
6412           'private' is a c++ keyword, let's not use that in header files,
6413           otherwise c++ compilers will throw a tantrum.
6414
6415 2007-05-22  Tim-Philipp Müller  <tim at centricular dot net>
6416
6417         * plugins/elements/gstelements.c:
6418         * plugins/elements/gstfilesink.c: (gst_file_sink_do_seek),
6419         (gst_file_sink_get_current_offset):
6420         * plugins/indexers/gstindexers.c: (plugin_init):
6421           Use #ifdef for HAVE_XYZ for consistency.
6422
6423         * tests/check/Makefile.am:
6424         * tests/check/elements/.cvsignore:
6425         * tests/check/elements/filesink.c: (setup_filesink),
6426         (cleanup_filesink), (GST_START_TEST), (filesink_suite):
6427           Add some unit tests for filesink.
6428
6429 2007-05-22  Tim-Philipp Müller  <tim at centricular dot net>
6430
6431         Patch by: Mark Nauwelaerts <manauw at skynet be>
6432
6433         * plugins/elements/gstfilesink.c: (gst_file_sink_open_file),
6434         (gst_file_sink_query), (gst_file_sink_do_seek),
6435         (gst_file_sink_get_current_offset), (gst_file_sink_render):
6436         * plugins/elements/gstfilesink.h:
6437           Fix position reporting; rename data_written member to current_pos to
6438           reflect its real meaning (fixes #412648).
6439
6440 2007-05-22  Edward Hervey  <edward@fluendo.com>
6441
6442         * docs/gst/gstreamer-sections.txt:
6443         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
6444         (gst_bin_dispose), (gst_bin_set_property), (gst_bin_get_property),
6445         (gst_bin_remove_func), (gst_bin_handle_message_func):
6446         * gst/gstbin.h:
6447         Add a property for bins that handle the state change of their childs.
6448         Fixes #435880
6449
6450 2007-05-22  Sebastian Dröge  <slomo@circular-chaos.org>
6451
6452         * libs/gst/controller/gstinterpolation.c:
6453         Use an array of the correct type when using _get_value_array with
6454         linear interpolation.
6455
6456 2007-05-22  Stefan Kost  <ensonic@users.sf.net>
6457
6458         * gst/gstelement.c (gst_element_requires_clock,
6459           gst_element_provides_clock, gst_element_request_pad,
6460           gst_element_class_set_details, gst_element_class_set_details_simple,
6461           gst_element_default_send_event, gst_element_abort_state,
6462           gst_element_continue_state, gst_element_set_state,
6463           gst_element_set_state_func, iterator_activate_fold_with_resync):
6464         * gst/gstpad.c (gst_pad_activate_pull, gst_pad_set_getcaps_function,
6465           gst_pad_fixate_caps, gst_pad_configure_sink, gst_pad_configure_src,
6466           gst_pad_query, gst_pad_save_thyself, handle_pad_block, gst_pad_push,
6467           gst_pad_get_range, gst_pad_pull_range):
6468         * gst/gstpad.h (GST_PAD_LINK_SUCCESSFUL, GST_FLOW_CUSTOM_SUCCESS,
6469           GST_FLOW_NOT_SUPPORTED, GST_FLOW_IS_FATAL, GstPadActivateFunction,
6470           GstPadActivateModeFunction, GstPadChainFunction,
6471           GstPadGetCapsFunction, GstPadAcceptCapsFunction,
6472           GstPadFixateCapsFunction, GstPadTemplate):
6473         * gst/gstpipeline.c (gst_pipeline_change_state,
6474           gst_pipeline_set_new_stream_time, gst_pipeline_use_clock,
6475           gst_pipeline_set_clock, gst_pipeline_auto_clock,
6476           gst_pipeline_get_delay):
6477           Whitespace and docs fixes.
6478
6479 2007-05-21  Sebastian Dröge  <slomo@circular-chaos.org>
6480
6481         * libs/gst/controller/gstinterpolation.c:
6482         (interpolate_trigger_get_enum_value_array),
6483         (interpolate_trigger_get_string_value_array):
6484         Add support for retrieving value arrays when using the trigger
6485         interpolation mode. 
6486
6487 2007-05-21  Sebastian Dröge  <slomo@circular-chaos.org>
6488
6489         * libs/gst/controller/gstcontroller.c:
6490         (gst_controller_get_value_array):
6491         * libs/gst/controller/gstcontroller.h:
6492         Clarify the docs of gst_controller_get_value_array(): The array where
6493         the values should be written to must be allocated as there seems to be
6494         no way to get the size of a random GType. This doesn't change any
6495         behaviour. Also fix some typos all over the place and remove an unused,
6496         commented function that is not necessary as g_object_set() could be
6497         used instead.
6498         * tests/check/libs/controller.c: (GST_START_TEST),
6499         (gst_controller_suite):
6500         Add unit test for gst_controller_get_value_array().
6501
6502 2007-05-21  Jan Schmidt  <thaytan@mad.scientist.com>
6503
6504         * tests/check/gst/gstbuffer.c: (GST_START_TEST):
6505
6506         Disable part of the gst_buffer_try_new_and_alloc test, because
6507         it can happily succeed on 64-bit systems where there's more address
6508         space available.
6509
6510 2007-05-21  Sebastian Dröge  <slomo@circular-chaos.org>
6511
6512         * tests/check/gst/gstpad.c: (GST_START_TEST), (gst_pad_suite):
6513         Add unit test for the improved caps checking from bug #421543.
6514
6515 2007-05-21  Wim Taymans  <wim@fluendo.com>
6516
6517         * docs/design/part-synchronisation.txt:
6518         Small addition.
6519
6520         * gst/gstbin.c: (gst_bin_query):
6521         * plugins/elements/gstqueue.c: (apply_segment):
6522         Improve debugging.
6523
6524         * gst/gstmessage.h:
6525         Improve docs.
6526
6527 2007-05-21  Wim Taymans  <wim@fluendo.com>
6528
6529         * gst/gstpad.c: (gst_pad_get_caps_unlocked),
6530         (gst_pad_acceptcaps_default), (gst_pad_configure_sink),
6531         (gst_pad_configure_src):
6532         Added simple version of improved caps checking. It was previously
6533         assumed that a setcaps function would check the validity of the caps but
6534         people prefer us to check caps against the template automatically. 
6535         Fixes #421543.
6536
6537 2007-05-21  Wim Taymans  <wim@fluendo.com>
6538
6539         * libs/gst/base/gstbasetransform.h:
6540         Fix macro for locking/unlocking the transform lock.
6541
6542 2007-05-19  Tim-Philipp Müller  <tim at centricular dot net>
6543
6544         * docs/plugins/tmpl/.cvsignore:
6545           Ignore more.
6546
6547 2007-05-18  Edward Hervey  <edward@fluendo.com>
6548
6549         * plugins/elements/gstqueue.c: (gst_queue_loop):
6550         Hello, I am Mr Taymans' personal debugger. Today I will introduce a fix
6551         for the subtle art of warning a potentially blocking thread that it
6552         should check the source pad return value, and relay the information
6553         upstream.
6554
6555 2007-05-18  Edward Hervey  <edward@fluendo.com>
6556
6557         * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event):
6558         Release the queue lock !
6559
6560 2007-05-17  Sebastian Dröge  <slomo@circular-chaos.org>
6561
6562         * docs/libs/gstreamer-libs-sections.txt:
6563         Add the two new controller functions to the appropiate places.
6564
6565 2007-05-17  Sebastian Dröge  <slomo@circular-chaos.org>
6566
6567         reviewed by: Stefan Kost <ensonic@users.sf.net>
6568
6569         * libs/gst/controller/gstcontroller.c:
6570         (gst_controller_suggest_next_sync), (gst_controller_sync_values),
6571         (_gst_controller_get_property), (_gst_controller_set_property),
6572         (_gst_controller_init), (_gst_controller_class_init):
6573         * libs/gst/controller/gstcontroller.h:
6574         * libs/gst/controller/gsthelper.c: (gst_object_suggest_next_sync),
6575         (gst_object_get_control_rate), (gst_object_set_control_rate):
6576         API: gst_controller_suggest_next_sync(), gst_object_suggest_next_sync()
6577         Add API that provides sync suggestion timestamps for elements that
6578         call gst_object_sync_values() from which those elements can subdivide
6579         their processing loop to get the best results for the controlled
6580         properties. For now it just suggests last_sync + control_rate as
6581         new timestamp but this will be improved in the future.
6582
6583         While doing that change the control-rate property to a GstClockTime
6584         from guint and change it's meaning from samples to nanoseconds as
6585         the GstController doesn't know anything about sampling rate. Strictly
6586         speaking this breaks ABI but as the control-rate property didn't do
6587         anything in the past and as such couldn't be used this should be no
6588         problem.        
6589
6590 2007-05-17  Sebastian Dröge  <slomo@circular-chaos.org>
6591
6592         reviewed by: Stefan Kost <ensonic@users.sf.net>
6593
6594         * libs/gst/controller/gstcontroller.c: (gst_controller_unset),
6595         (gst_controller_unset_all):
6596         * libs/gst/controller/gstcontrollerprivate.h:
6597         * libs/gst/controller/gstinterpolation.c:
6598         (gst_controlled_property_find_control_point_node):
6599         Save last synced value from the list to continue searching from there
6600         in future syncs. This speeds everything up a bit.
6601         
6602 2007-05-17  Sebastian Dröge  <slomo@circular-chaos.org>
6603
6604         reviewed by: Stefan Kost <ensonic@users.sf.net>
6605
6606         * libs/gst/controller/gstcontroller.c: (gst_control_point_compare),
6607         (gst_control_point_find), (gst_controlled_property_new),
6608         (gst_control_point_free), (gst_controlled_property_free),
6609         (gst_controller_set), (gst_controller_set_from_list),
6610         (gst_controller_unset), (gst_controller_unset_all),
6611         (gst_controller_sync_values):
6612         * libs/gst/controller/gstcontroller.h:
6613         * libs/gst/controller/gstcontrollerprivate.h:
6614         * libs/gst/controller/gstinterpolation.c:
6615         (gst_controlled_property_find_control_point_node),
6616         (interpolate_none_get), (interpolate_trigger_get):
6617         Add a new private GstControlPoint struct which "inherits" from
6618         GstTimedValue to allow different interpolators to store internal
6619         values next to each control point. From the outside everything is
6620         still a GstControlPoint so we don't loose binary compatibility.
6621         Also fixup all the GValue handling to not leak GValues or list nodes.
6622         * tests/check/libs/controller.c: (GST_START_TEST):
6623         Free the list nodes and GValues in the controller_misc test.
6624
6625 2007-05-17  Edward Hervey  <edward@fluendo.com>
6626
6627         * gst/gstsegment.c:
6628         Small doc fix.
6629
6630 2007-05-16  Tim-Philipp Müller  <tim at centricular dot net>
6631
6632         * gst/gstplugin.c: (gst_plugin_load_file):
6633           If we fail to load a plugin because of unresolved symbols or missing
6634           libraries and spew a warning to stderr, we may just as well mention
6635           which plugin it was that failed to load.
6636
6637 2007-05-13  David Schleef  <ds@schleef.org>
6638
6639         * docs/Makefile.am: the gtk-doc makefile snippet correctly
6640           handles the case when ENABLE_GTK_DOC is false, and installs
6641           the prebuilt documentation.  So gtk-doc subdirs are 
6642           unconditionally enabled.  Fixes: #349099.
6643
6644 2007-05-13  David Schleef  <ds@schleef.org>
6645
6646         * gst/gstutils.h: Reword some documentation.
6647
6648 2007-05-12  David Schleef  <ds@schleef.org>
6649
6650         * gst/gstplugin.c: gst_plugin_register_func() doesn't actually
6651           do anything with the passed "module" parameter, so remove it.
6652           Allows removal of additional vestigal code.
6653
6654 2007-05-12  David Schleef  <ds@schleef.org>
6655
6656         * gst/gstplugin.c:
6657           Using sigaction should depend on HAVE_SIGACTION, not HAVE_WIN32.
6658           Switch to using g_stat() because it's more portable.
6659
6660 2007-05-12  David Schleef  <ds@schleef.org>
6661
6662         * gst/gst.c:
6663           Add GST_DISABLE_OPTION_PARSING, in order to disable option
6664           parsing for embedded systems.
6665         * gst/gstelementfactory.c:
6666           Allow gst_element_register() to be called with plugin==NULL.
6667           Did nobody notice that static elements were broken?
6668
6669 2007-05-12  Wim Taymans  <wim@fluendo.com>
6670
6671         * tools/gst-launch.c: (event_loop):
6672         Give more interesting info when buffering starts and stops.
6673         Fix case where buffering starts but we fail to update the buffering flag
6674         because the target state is not PLAYING.
6675
6676 2007-05-12  Wim Taymans  <wim@fluendo.com>
6677
6678         * plugins/elements/gstqueue.c: (gst_queue_init),
6679         (gst_queue_finalize), (update_time_level), (apply_segment),
6680         (apply_buffer), (gst_queue_locked_flush),
6681         (gst_queue_locked_enqueue), (gst_queue_locked_dequeue),
6682         (gst_queue_handle_sink_event), (gst_queue_chain),
6683         (gst_queue_push_one), (gst_queue_loop):
6684         * plugins/elements/gstqueue.h:
6685         Refactor an cleanup queue a bit.
6686         Do better time level calculations that also work when the srcpad is not
6687         yet running.
6688         Remove some unneeded debug lines.
6689
6690         * tests/check/elements/queue.c: (GST_START_TEST), (queue_suite):
6691         Added testcase for time level measurement.
6692         Try to make some stuff more racefree.
6693
6694 2007-05-11  Tim-Philipp Müller  <tim at centricular dot net>
6695
6696         * gst/gsturi.c: (gst_element_make_from_uri):
6697           Don't leak plugin feature.
6698
6699         * tests/check/Makefile.am:
6700         * tests/check/gst/.cvsignore:
6701         * tests/check/gst/gsturi.c: (GST_START_TEST), (gst_uri_suite):
6702           Add brain-dead unit test.
6703
6704 2007-05-11  Tim-Philipp Müller  <tim at centricular dot net>
6705
6706         Patch by: Jeroen Wouters <woutersj at gmail com>
6707
6708         * gst/gsturi.c: (gst_uri_get_protocol), (search_by_entry):
6709           Treat protocol strings in a case-insensitive way (#437563).
6710
6711 2007-05-11  Michael Smith <msmith@fluendo.com>
6712
6713         * gst/gstplugin.c: (gst_plugin_load_file):
6714         * gst/gstregistry.c: (gst_registry_scan_path_level):
6715           Don't print a g_warning for any failure to load a shared object.
6716           Instead, push this down into gstplugin.c, and warn _only_ if we
6717           failed to open the module (i.e. failure to link).
6718           Avoids warnings on normal, working, non-plugin .so files.
6719
6720 2007-05-11  Stefan Kost  <ensonic@users.sf.net>
6721
6722         * gst/gstplugin.c (gst_plugin_load_file):
6723         * gst/gstregistry.c (GST_CAT_DEFAULT,
6724           gst_registry_lookup_feature_locked, gst_registry_scan_path_level):
6725           Print a g_warning if there was an error when loading a plugins during
6726           registry scan. The shuld help beginners starting with gst-plugin
6727           template.
6728
6729 2007-05-10  Wim Taymans  <wim@fluendo.com>
6730
6731         * plugins/elements/gstqueue.c: (gst_queue_class_init),
6732         (update_time_level), (gst_queue_locked_flush),
6733         (gst_queue_handle_sink_event), (gst_queue_chain),
6734         (gst_queue_push_one), (gst_queue_loop):
6735         * plugins/elements/gstqueue.h:
6736         Be smarter when calculating the current amount of data in the queue by
6737         measuring the difference between start and end timestamps (in running
6738         time) inside the queue. Fixes #432876.
6739         API: GstQueue::pushing to notify elements that we are pushing data again
6740         since the running signal is rather broken for this purpose.
6741
6742 2007-05-10  Stefan Kost  <ensonic@users.sf.net>
6743
6744         * plugins/elements/gstqueue.c (_do_init, gst_queue_signals,
6745           gst_queue_base_init, gst_queue_init):
6746           use GST_BOILERPLATE
6747
6748 2007-05-09  Sebastien Moutte  <sebastien@moutte.net>
6749
6750         * win32/common/libgstreamer.def:
6751         Add new exported functions.
6752         * win32/vs6/grammar.dsp:
6753         Use grammar pre-generated files.
6754
6755 2007-05-09  Tim-Philipp Müller  <tim at centricular dot net>
6756
6757         Based on patch by: Peter Kjellerstedt  <pkj at axis com>
6758
6759         * gst/Makefile.am:
6760         * gst/gstparse.c: (gst_parse_launchv), (gst_parse_launch):
6761         * gst/gstparse.h:
6762         * gst/gstutils.c: (gst_parse_bin_from_description):
6763         * gst/gstutils.h:
6764           Maintain API and ABI when --disable-parse is used. Now that
6765           we have an appropriate error code, we can just return NULL and the
6766           appropriate error when gst_parse_launch() is used despite it having
6767           been disabled (#342564).
6768
6769         * tests/check/Makefile.am:
6770         * tests/check/pipelines/.cvsignore:
6771         * tests/check/pipelines/parse-disabled.c:
6772           Make sure these functions exist and return NULL plus a GError when
6773           --disable-parse is used.
6774
6775 2007-05-09  Tim-Philipp Müller  <tim at centricular dot net>
6776
6777         * tests/benchmarks/complexity.c: (main):
6778         * tests/benchmarks/mass-elements.c: (main):
6779           Set a good example and don't leak messages.
6780
6781 2007-05-06  Stefan Kost  <ensonic@users.sf.net>
6782
6783         * docs/gst/Makefile.am:
6784         * docs/libs/Makefile.am:
6785           Correct fixxrefs options.
6786
6787         * docs/plugins/Makefile.am:
6788         * docs/plugins/gstreamer-plugins-docs.sgml:
6789         * docs/plugins/gstreamer-plugins-sections.txt:
6790         * plugins/elements/Makefile.am:
6791         * plugins/elements/gstcapsfilter.c (gst_capsfilter_details):
6792         * plugins/elements/gstcapsfilter.h (__GST_CAPSFILTER_H__,
6793           GST_TYPE_CAPSFILTER, GST_CAPSFILTER, GST_CAPSFILTER_CLASS,
6794           GST_IS_CAPSFILTER, GST_IS_CAPSFILTER_CLASS, GstCapsFilter,
6795           GstCapsFilterClass, _GstCapsFilter, trans, filter_caps,
6796           _GstCapsFilterClass, trans_class):
6797         * plugins/elements/gstelements.c (name, rank, type, _elements):
6798         * plugins/elements/gstidentity.c
6799           (gst_identity_check_imperfect_timestamp,
6800           gst_identity_check_imperfect_offset):
6801           Document capsfilter and add doc-blurb to identity.
6802
6803 2007-05-04  Tim-Philipp Müller  <tim at centricular dot net>
6804
6805         * libs/gst/controller/gstcontroller.c:
6806         (gst_controlled_property_set_interpolation_mode):
6807         * libs/gst/controller/gstinterpolation.c:
6808           Don't crash if someone tries to set an interpolation mode that
6809           is invalid or that isn't supported yet. Fixes #422295.
6810
6811         * tests/check/libs/controller.c: (GST_START_TEST),
6812         (gst_controller_suite):
6813           Add a test case for the above.
6814
6815 2007-05-03  Edward Hervey  <edward@fluendo.com>
6816
6817         * libs/gst/base/gstbasetransform.c: (gst_base_transform_chain):
6818         Properly set the last_stop position on GstSegment. This will only happen
6819         if there is a buffer to push out.
6820
6821 2007-05-03  Wim Taymans  <wim@fluendo.com>
6822
6823         * libs/gst/base/gstbasetransform.c:
6824         (gst_base_transform_buffer_alloc):
6825         always_in_place does not mean that the sink and source caps are the
6826         same! Make sure we don't blindly proxy the buffer_alloc in this case.
6827
6828 2007-05-03  Wim Taymans  <wim@fluendo.com>
6829
6830         * docs/libs/gstreamer-libs-sections.txt:
6831         * libs/gst/base/gstbasesrc.c: (gst_base_src_query_latency),
6832         (gst_base_src_default_query), (gst_base_src_get_range):
6833         * libs/gst/base/gstbasesrc.h:
6834         API: gst_base_src_query_latency(). Added method so that subclasses can
6835         easily get the latency values of the base source class.
6836
6837 2007-05-02  Zaheer Abbas Merali  <<zaheerabbas at merali dot org>>
6838
6839         * tools/gst-inspect.c (print_implementation_info):
6840         Remove 0.8 cruft.
6841
6842 2007-05-02  Tim-Philipp Müller  <tim at centricular dot net>
6843
6844         * tools/Makefile.am:
6845         * tools/gst-launch.1.in:
6846           Don't create a customised man page based on the host architecture,
6847           describe the default registry path generically. That way the man
6848           page is the same for all architectures and packagers have one
6849           multilib issue less to deal with. Fixes #434926.
6850
6851 2007-05-02  Wim Taymans  <wim@fluendo.com>
6852
6853         * gst/gstpad.c:
6854         Fix documentation as spotted by rg on IRC. 
6855
6856 2007-04-29  Stefan Kost  <ensonic@users.sf.net>
6857
6858         * gst/gstutils.c:
6859           Improve docs for gst_element_{link,unlink}.
6860
6861 2007-04-28  Tim-Philipp Müller  <tim at centricular dot net>
6862
6863         * docs/design/part-events.txt:
6864         * docs/design/part-overview.txt:
6865         * gst/gstevent.c:
6866         * gst/gsturi.c:
6867         * gst/gsturi.h:
6868         * libs/gst/base/gstbasesink.c:
6869           Typo fixes; minor docs addition.
6870
6871 2007-04-27  Sebastian Dröge  <slomo@circular-chaos.org>
6872
6873         * docs/gst/gstreamer-sections.txt:
6874         * gst/gsturi.c: (get_element_factories_from_uri_protocol),
6875         (gst_uri_protocol_is_supported), (gst_element_make_from_uri):
6876         * gst/gsturi.h:
6877         API: Add gst_uri_protocol_is_supported(), which checks if a sink
6878         or src that supports a given URI protocol exists.
6879
6880 2007-04-27  Sebastian Dröge  <slomo@circular-chaos.org>
6881
6882         * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
6883         * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
6884         Set the location to NULL if "file://" is set as URI. Otherwise
6885         some random previous URI would still be set if "file://" is
6886         set on an already used filesink/filesrc.
6887
6888 2007-04-27  Sebastian Dröge  <slomo@circular-chaos.org>
6889
6890         * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
6891         * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
6892         Special case the "file://" URI as as this is used by some
6893         applications to test with gst_element_make_from_uri if there's
6894         an element that supports the URI protocol.
6895         Also move the g_path_is_absolute() check for the location part
6896         of the URI to also check this for "file://localhost/bla" URIs.
6897
6898 2007-04-26  Tim-Philipp Müller  <tim at centricular dot net>
6899
6900         * docs/gst/gstreamer-sections.txt:
6901         * gst/gstbuffer.c: (gst_buffer_try_new_and_alloc):
6902         * gst/gstbuffer.h:
6903         * tests/check/gst/gstbuffer.c: (GST_START_TEST),
6904         (gst_buffer_suite):
6905           API: add gst_buffer_try_new_and_alloc() plus unit test (#431940).
6906
6907 2007-04-26  Stefan Kost  <ensonic@users.sf.net>
6908
6909         * gst/gstregistrybinary.c: (gst_registry_binary_write_cache),
6910         (gst_registry_binary_load_pad_template),
6911         (gst_registry_binary_load_plugin),
6912         (gst_registry_binary_read_cache):
6913         * gst/gstregistrybinary.h:
6914           Implement no-mmap alternative for registry reading. Do code cleanups.
6915           Add more comments about avoiding strdups for all text data. Comments
6916           welcome.
6917
6918 2007-04-25  Stefan Kost  <ensonic@users.sf.net>
6919
6920         * gst/gstregistrybinary.h (GstBinaryPluginElement,
6921           GstBinaryPluginFeature, _GstBinaryElementFactory, plugin_feature,
6922           GstBinaryElementFactory, _GstBinaryTypeFindFactory, plugin_feature):
6923           Comment structs and reformat to fix the build (that stuff should go
6924           into a priv. header).
6925
6926 2007-04-25  Stefan Kost  <ensonic@users.sf.net>
6927
6928         * gst/gstregistrybinary.c: (gst_registry_binary_save_feature),
6929         (gst_registry_binary_load_feature):
6930         * gst/gstregistrybinary.h:
6931           Refactor so that we can implement multiple features. Add support for
6932           TypeFindFactory features.
6933
6934 2007-04-24  Stefan Kost  <ensonic@users.sf.net>
6935
6936         Patch by: Peter Kjellerstedt <Peter.Kjellerstedt@axis.com>
6937
6938         * configure.ac:
6939           Fix AM_CONDITIONAL(GST_DISABLE_GST_DEBUG,...) and update comment.
6940
6941 2007-04-23  Stefan Kost  <ensonic@users.sf.net>
6942
6943         * gst/gstbin.c: (gst_bin_element_set_state),
6944         (iterator_activate_fold_with_resync), (gst_bin_continue_func),
6945         (bin_handle_async_done), (gst_bin_handle_message_func):
6946           Fix build with --gst-disable-gst-debug
6947
6948 2007-04-21  Tim-Philipp Müller  <tim at centricular dot net>
6949
6950         * libs/gst/base/gstbasetransform.c: (gst_base_transform_activate):
6951           Make sure streaming has finished before calling the ::stop() vfunc,
6952           since that vfunc might clear state which is being used in the
6953           streaming thread. This fixes a race that caused crashes in
6954           audioresample when shutting down a pipeline (#420106).
6955
6956 2007-04-20  Stefan Kost  <ensonic@users.sf.net>
6957
6958         * docs/gst/gstreamer-sections.txt:
6959           That was one byte missing.
6960
6961 2007-04-20  Stefan Kost  <ensonic@users.sf.net>
6962
6963         * configure.ac:
6964         * docs/gst/gstreamer-sections.txt:
6965         * gst/Makefile.am:
6966         * gst/gstconfig.h.in:
6967         * gst/gstobject.c: (gst_object_class_init),
6968         (gst_signal_object_class_init):
6969         * gst/gstobject.h:
6970           2nd attempt to have a xml-less build as a joined effort of #413123
6971           and #421480.
6972
6973 2007-04-20  Stefan Kost  <ensonic@users.sf.net>
6974
6975         * docs/design/draft-tagreading.txt:
6976           Added open issues/thoughts to draft.
6977
6978 2007-04-19  Sebastian Dröge  <slomo@circular-chaos.org>
6979
6980         * gst/parse/grammar.tab.pre.c:
6981         * gst/parse/grammar.tab.pre.h:
6982         * gst/parse/lex._gst_parse_yy.pre.c:
6983         Update the prebuild parser sources.
6984
6985 2007-04-19  Sebastian Dröge  <slomo@circular-chaos.org>
6986
6987         * gst/parse/Makefile.am:
6988         And now fix the building of the flex sources. Now everything should
6989         work as expected.
6990
6991 2007-04-19  Sebastian Dröge  <slomo@circular-chaos.org>
6992
6993         * gst/parse/Makefile.am:
6994         Now hopefully fix the build failures by setting proper rule
6995         dependencies and moving instead of copying.
6996
6997 2007-04-19  Stefan Kost  <ensonic@users.sf.net>
6998
6999         * tests/benchmarks/complexity.gnuplot:
7000         * tests/benchmarks/complexity.scm:
7001         * tests/benchmarks/mass-elements.gnuplot:
7002         * tests/benchmarks/mass-elements.scm:
7003           Total licensification.
7004
7005 2007-04-19  Stefan Kost  <ensonic@users.sf.net>
7006
7007         * gst/parse/Makefile.am:
7008           Fix the build by correcting the rule that gave wrong files to flex.
7009
7010 2007-04-19  Stefan Kost  <ensonic@users.sf.net>
7011
7012         * tests/benchmarks/complexity.c:
7013         * tests/benchmarks/mass-elements.c:
7014           Change licence to LGPL as granted by Benjamin and Andy.
7015
7016 2007-04-19  Sebastian Dröge  <slomo@circular-chaos.org>
7017
7018         * gst/parse/Makefile.am:
7019         Add correct grammar.tab.h dependency if compiling without new enough
7020         flex. Fixes #431150.
7021
7022 2007-04-18  Sebastian Dröge  <slomo@circular-chaos.org>
7023
7024         * gst/parse/Makefile.am:
7025         Fix typo and use outdated sources if the flex/bison sources are newer
7026         than the pregenerated ones but flex is too old. Print a warning in
7027         that case. This should fix the build on the build bot.
7028
7029 2007-04-18  Sebastian Dröge  <slomo@circular-chaos.org>
7030
7031         Patch by: Marc-Andre Lureau <marcandre dot lureau at gmail dot com>
7032         * gst/parse/Makefile.am:
7033         * gst/parse/grammar.y:
7034         * gst/parse/parse.l:
7035         Make the parser reentrant and recursively callable. This requires flex
7036         >= 2.5.31, for older versions pregenerated sources are used as we
7037         can't bump the build dependency. Finally fixes #349180.
7038
7039         * gst/gstparse.c: (gst_parse_launch):
7040         Drop the HAVE_MT_SAVE_FLEX #ifdefs as we always use a new enough flex
7041         now anyway.
7042
7043         * docs/gst/Makefile.am:
7044         * docs/gst/Makefile.am:
7045         * gst/parse/grammar.tab.pre.c: (__gst_parse_strdup),
7046         (__gst_parse_strfree), (__gst_parse_link_new),
7047         (__gst_parse_link_free), (__gst_parse_chain_new),
7048         (__gst_parse_chain_free), (SET_ERROR), (YYPRINTF),
7049         (gst_parse_element_set), (gst_parse_free_link),
7050         (gst_parse_found_pad), (gst_parse_perform_delayed_link),
7051         (gst_parse_perform_link), (yytnamerr), (yysyntax_error), (yyerror),
7052         (_gst_parse_launch):
7053         * gst/parse/grammar.tab.pre.h:
7054         * gst/parse/lex._gst_parse_yy.pre.c: (PRINT), (yy_get_next_buffer),
7055         (yy_get_previous_state), (yy_try_NUL_trans), (input),
7056         (_gst_parse_yyrestart), (_gst_parse_yy_switch_to_buffer),
7057         (_gst_parse_yy_load_buffer_state), (_gst_parse_yy_create_buffer),
7058         (_gst_parse_yy_delete_buffer), (_gst_parse_yy_init_buffer),
7059         (_gst_parse_yy_flush_buffer), (_gst_parse_yypush_buffer_state),
7060         (_gst_parse_yypop_buffer_state),
7061         (_gst_parse_yyensure_buffer_stack), (_gst_parse_yy_scan_buffer),
7062         (_gst_parse_yy_scan_string), (_gst_parse_yy_scan_bytes),
7063         (yy_fatal_error), (_gst_parse_yyget_extra),
7064         (_gst_parse_yyget_lineno), (_gst_parse_yyget_column),
7065         (_gst_parse_yyget_in), (_gst_parse_yyget_out),
7066         (_gst_parse_yyget_leng), (_gst_parse_yyget_text),
7067         (_gst_parse_yyset_extra), (_gst_parse_yyset_lineno),
7068         (_gst_parse_yyset_column), (_gst_parse_yyset_in),
7069         (_gst_parse_yyset_out), (_gst_parse_yyget_debug),
7070         (_gst_parse_yyset_debug), (_gst_parse_yyget_lval),
7071         (_gst_parse_yyset_lval), (_gst_parse_yylex_init),
7072         (yy_init_globals), (_gst_parse_yylex_destroy), (yy_flex_strncpy),
7073         (yy_flex_strlen), (_gst_parse_yyalloc), (_gst_parse_yyrealloc),
7074         (_gst_parse_yyfree):
7075         If the installed flex version is too old use pre-generated parser
7076         sources. These pre-generated parser sources are always updated when
7077         the actual flex/bison sources change but require everybody who wants
7078         to change something in the parser to have flex >= 2.5.31 installed.
7079
7080 2007-04-18  Stefan Kost  <ensonic@users.sf.net>
7081
7082         * common/m4/gst-gettext.m4:
7083         * gst/gst-i18n-lib.h:
7084           Make --disable-nls to work
7085
7086 2007-04-17  Wim Taymans  <wim@fluendo.com>
7087
7088         * gst/gstconfig.h.in:
7089         Revert previous change that broke the build.
7090
7091 2007-04-17  Stefan Kost  <ensonic@users.sf.net>
7092
7093         * configure.ac:
7094         * gst/Makefile.am:
7095         * gst/gstconfig.h.in:
7096           Drop libxml2 dependency when building with 
7097           --enable-binary-registry --disable-loadsave
7098
7099 2007-04-16  Tim-Philipp Müller  <tim at centricular dot net>
7100
7101         * gst/gstregistrybinary.c: (gst_registry_binary_write_cache),
7102         (gst_registry_binary_read_cache):
7103         * gst/gstregistrybinary.h:
7104           Remove unnecessary <sys/mman.h> include which broke the win32 build
7105           with MingW; move includes from header file to .c file, even if the
7106           header file isn't installed; use g_strerror() where UTF-8 strings
7107           are expected, such as in GST_DEBUG messages.
7108
7109 2007-04-13  Jan Schmidt  <thaytan@mad.scientist.com>
7110
7111         * docs/libs/gstreamer-libs-sections.txt:
7112         Remove bogus addition for API I didn't end up keeping.
7113
7114         * libs/gst/base/gstbasesrc.h:
7115         Mention Since: 0.10.13 in the documentation.
7116
7117         Add the API keyword to the previous ChangeLog entry.
7118
7119 2007-04-13  Jan Schmidt  <thaytan@mad.scientist.com>
7120
7121         * docs/libs/gstreamer-libs-sections.txt:
7122         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
7123         (gst_base_src_default_prepare_seek_segment),
7124         (gst_base_src_prepare_seek_segment), (gst_base_src_perform_seek):
7125         * libs/gst/base/gstbasesrc.h:
7126         Allow basesrc derived classes to execute seeks in other formats
7127         by providing a prepare_seek_segment vmethod. Sub-classes can choose
7128         to prepare the GstSegment in any format that their perform_seek method
7129         will be able to understand. The default implementation provides the
7130         old behaviour of attempting to convert the seek offsets to the 
7131         configured native format.
7132
7133         API: basesrc::prepare_seek_segment vmethod.
7134
7135 2007-04-13  Jan Schmidt  <thaytan@mad.scientist.com>
7136
7137         * gst/gstelement.c: (gst_element_get_state_func):
7138         Don't output the same debug statement twice.
7139
7140         * libs/gst/base/gstadapter.c: (gst_adapter_try_to_merge_up),
7141         (gst_adapter_peek), (gst_adapter_take_buffer):
7142         Optimise the case where we have buffers at the head of the queue that
7143         can be joined quickly (because they're contiguous sub-buffers) by
7144         merging them together rather than copying data out into new memory.
7145
7146         * gst/parse/grammar.y:
7147         * tests/check/pipelines/parse-launch.c:
7148         Fix a leak in an error path for parse_launch, and add a check 
7149         for it to the testsuite.
7150
7151 2007-04-13  Jan Schmidt  <thaytan@mad.scientist.com>
7152
7153         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_release_pad):
7154           Don't deadlock when releasing a pad - gst_pad_set_active may try
7155           and take the multiqueue lock too.
7156
7157 2007-04-12  Tim-Philipp Müller  <tim at centricular dot net>
7158
7159         * gst/gsterror.c: (_gst_core_errors_init):
7160         * gst/gsterror.h:
7161           API: add GST_CORE_ERROR_DISABLED (#392804).
7162
7163 2007-04-12  Thomas Vander Stichele  <thomas at apestaart dot org>
7164
7165         * docs/faq/gst-uninstalled:
7166           don't get empty paths on the PATH variables
7167         * gst/gstpad.c (gst_pad_is_active, gst_pad_set_blocked_async):
7168           Don't format for the uncommon terminal width of 84 characters.
7169
7170 2007-04-06  Wim Taymans  <wim@fluendo.com>
7171
7172         * gst/gstpipeline.c: (reset_stream_time),
7173         (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time):
7174         Only try to select a different pipeline clock when we went back to
7175         PAUSED and not when we merely got flushed.
7176
7177 2007-04-05  Michael Smith  <msmith@fluendo.com>
7178
7179         * tools/gst-launch.1.in:
7180           fractions are better supported in gstreamer than ractions, so
7181           suggest using those.
7182
7183 2007-04-05  Thomas Vander Stichele  <thomas at apestaart dot org>
7184
7185         Submitted by: Mogens Jaeger <mogens@jaeger.tf>
7186
7187         * po/LINGUAS:
7188         * po/da.po:
7189           Added Danish translation.
7190
7191 2007-04-05  Wim Taymans  <wim@fluendo.com>
7192
7193         * libs/gst/base/gstbasesink.c:
7194         (gst_base_sink_queue_object_unlocked), (gst_base_sink_event):
7195         Fix leak caused when refusing newsegment after EOS.
7196
7197         * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init),
7198         (gst_fake_sink_init), (gst_fake_sink_set_property),
7199         (gst_fake_sink_get_property), (gst_fake_sink_preroll),
7200         (gst_fake_sink_render), (gst_fake_sink_change_state):
7201         * plugins/elements/gstfakesink.h:
7202         Add num-buffers property to make the element generate EOS after a
7203         configurable amount of buffers.
7204         API: fakesink::num-buffers property.
7205
7206         * tests/check/elements/fakesink.c: (GST_START_TEST),
7207         (fakesink_suite):
7208         Fix GstBus leak in test.
7209         Test for fakesink num-buffers.
7210
7211 2007-04-05  Wim Taymans  <wim@fluendo.com>
7212
7213         * libs/gst/base/gstbasesink.c:
7214         (gst_base_sink_queue_object_unlocked), (gst_base_sink_event),
7215         (gst_base_sink_change_state):
7216         Don't accept anything after an EOS, return UNEXPECTED instead.
7217
7218         * tests/check/elements/fakesink.c: (GST_START_TEST),
7219         (fakesink_suite):
7220         Unit test for new EOS behaviour.
7221
7222 2007-04-05  Wim Taymans  <wim@fluendo.com>
7223
7224         * gst/gstelement.c: (gst_element_get_request_pad):
7225         Make padtemplates also work when they don't contain %s or %d.
7226
7227 2007-04-05  Wim Taymans  <wim@fluendo.com>
7228
7229         * docs/gst/gstreamer-sections.txt:
7230         * gst/gstclock.c: (gst_clock_adjust_unlocked),
7231         (gst_clock_unadjust_unlocked), (gst_clock_set_calibration):
7232         * gst/gstclock.h:
7233         Improve _adjust_unlocked() so that it overflows less.
7234         Add gst_clock_unadjust_unlocked to convert from external time to
7235         internal time based on calibration.
7236         Add some more debug.
7237         API: GstClock::gst_clock_unadjust_unlocked()
7238
7239 2007-04-03  Wim Taymans  <wim@fluendo.com>
7240
7241         Patch by: Tommi Myöhänen <ext-tommi dot myohanen at nokia dot com>
7242
7243         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_release_pad):
7244         Deactivate pads and free GstSingleQueue with gst_single_queue_free()
7245         when releasing sink pad. Fixes #425400.
7246
7247 2007-04-02  Stefan Kost  <ensonic@users.sf.net>
7248
7249         * docs/random/ensonic/dynlink.txt:
7250           More work on proposal for new core api.
7251
7252         * docs/libs/gstreamer-libs-sections.txt:
7253         * libs/gst/base/gstbasetransform.h:
7254           API: GST_BASE_TRANSFORM_LOCK/UNLOCK added
7255           
7256         * libs/gst/controller/gstcontroller.c:
7257         (on_object_controlled_property_changed),
7258         (gst_controller_sync_values),
7259         (gst_controller_set_interpolation_mode):
7260         * libs/gst/controller/gstcontroller.h:
7261           Less verbose logging add docs for unimplemented parts and correctly
7262           return when using unavailable parts.
7263
7264 2007-03-29  Jan Schmidt  <thaytan@mad.scientist.com>
7265
7266         * gst/gstclock.c: (gst_clock_set_master), (do_linear_regression):
7267         Move all the debug to the CLOCK category, and associate it with
7268         the clock object.
7269
7270 2007-03-29  Jan Schmidt  <thaytan@mad.scientist.com>
7271
7272         * libs/gst/base/gstadapter.c: (gst_adapter_take_buffer):
7273         Make take_buffer a bit quicker by removing redundant checks
7274         caused by calling gst_adapter_take.
7275
7276 2007-03-28  Tim-Philipp Müller  <tim at centricular dot net>
7277
7278         * plugins/elements/gstmultiqueue.c: (gst_single_queue_free):
7279           Don't leak GCond.
7280
7281         * tests/check/Makefile.am:
7282         * tests/check/elements/.cvsignore:
7283         * tests/check/elements/multiqueue.c: (setup_multiqueue),
7284         (GST_START_TEST), (multiqueue_suite):
7285           Add some dead simple unit tests for the 'multiqueue' element
7286           (some bits don't work yet and are disabled for now).
7287
7288 2007-03-28  Tim-Philipp Müller  <tim at centricular dot net>
7289
7290         * gst/gstelement.c: (gst_element_get_request_pad),
7291         (gst_element_class_get_request_pad_template):
7292           Make gst_element_get_request_pad() create request pads only for
7293           request pad templates and not for, say, sometimes pad templates.
7294
7295 2007-03-28  Stefan Kost  <ensonic@users.sf.net>
7296
7297         * docs/design/draft-klass.txt:
7298           Add example that needs more thinking.
7299         
7300         * docs/design/draft-missing-plugins.txt:
7301           More thoughts about wrapper plugins.
7302         
7303         * docs/random/ensonic/embedded.txt:
7304         * docs/random/ensonic/profiling.txt:
7305           More design work.
7306
7307 2007-03-25  Wim Taymans  <wim@fluendo.com>
7308
7309         * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range),
7310         (gst_base_src_loop):
7311         Only push the segment events in the PLAYING state for live sources.
7312
7313 2007-03-23  Jan Schmidt  <thaytan@mad.scientist.com>
7314
7315         * gst/gstpipeline.c: (gst_pipeline_change_state):
7316         Modify the clock distribution path in PAUSED->PLAYING so that we 
7317         never attempt to choose a new clock unless we're actually leaving
7318         the PAUSED state for the first time. This prevents choosing a
7319         different clock when the state_change gets called for a 2nd time due
7320         to some element doing an async state change.
7321
7322 2007-03-22  Sebastian Dröge  <slomo@circular-chaos.org>
7323
7324         * gst/gstpad.c: (gst_pad_set_caps), (gst_pad_configure_sink),
7325         (gst_pad_configure_src), (gst_pad_alloc_buffer_full),
7326         (gst_pad_chain_unchecked), (gst_pad_push):
7327         Revert last commit. This needs some more thoughts.
7328
7329 2007-03-22  Sebastian Dröge  <slomo@circular-chaos.org>
7330
7331         * gst/gstpad.c: (gst_pad_set_caps), (gst_pad_alloc_buffer_full),
7332         (gst_pad_chain_unchecked), (gst_pad_push):
7333         Check in set_caps if the caps are compatible with the pad and remove
7334         two functions that are redundant now. Fixes #421543.
7335
7336 2007-03-22  Wim Taymans  <wim@fluendo.com>
7337
7338         * tests/check/gst/gstsystemclock.c: (GST_START_TEST),
7339         (mixed_thread), (mixed_async_cb), (gst_systemclock_suite):
7340         Unref some more to make valgrind happy.
7341
7342 2007-03-22  Wim Taymans  <wim@fluendo.com>
7343
7344         * gst/gstsystemclock.c: (gst_system_clock_id_wait_jitter_unlocked),
7345         (gst_system_clock_id_wait_jitter),
7346         (gst_system_clock_id_wait_async), (gst_system_clock_id_unschedule):
7347         Fix anoying regression that survived a few releases. When adding an
7348         async entry while blocking on a sync entry, the sync entry will unblock
7349         but still be busy, so it should continue to wait instead of returning
7350         _BUSY to the app.
7351         Add some comments here and there.
7352
7353         * tests/check/gst/gstsystemclock.c: (mixed_thread),
7354         (mixed_async_cb), (GST_START_TEST), (gst_systemclock_suite):
7355         Add testcase for this.
7356
7357 2007-03-22  Wim Taymans  <wim@fluendo.com>
7358
7359         * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range):
7360         Handle errors from the clock sync better, only UNSCHEDULED indicates a
7361         WRONG_STATE and can silently pause the task. All other cases should
7362         error out.
7363
7364 2007-03-22  Wim Taymans  <wim@fluendo.com>
7365
7366         Patch by: Ville Syrjala <syrjala at sci dot fi>
7367
7368         * gst/gstpad.c: (gst_pad_alloc_buffer_full), (gst_pad_send_event):
7369         Fix possible deadlock if pad eventfunc is not specified.  Fixes #421177.
7370         Improve debugging.
7371
7372 2007-03-21  Michael Smith  <msmith@fluendo.com>
7373
7374         * docs/pwg/advanced-types.xml:
7375           Fix some errors in the typefinding docs pointed out on irc.
7376
7377 2007-03-21  Jan Schmidt  <thaytan@mad.scientist.com>
7378
7379         * libs/gst/base/gstbasesrc.c:
7380         Clarify FIXME comment in the face of having added unlock_stop()
7381
7382 2007-03-21  Wim Taymans  <wim@fluendo.com>
7383
7384         * gst/gstbin.c: (gst_bin_get_type), (gst_bin_element_set_state):
7385         Prepare for release where we warn against possible app breakage in the
7386         case of live pipelines along with an env var to enable/disable live
7387         preroll mode (GST_COMPAT=[no-]live-preroll).
7388
7389 2007-03-20  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
7390
7391         * plugins/elements/gstidentity.c (gst_identity_check_imperfect_offset):
7392         So we should use correct constants for checking for None offset.
7393
7394 2007-03-20  Wim Taymans  <wim@fluendo.com>
7395
7396         * docs/design/part-block.txt:
7397         Mention the fact that the newly switched element should be set to at
7398         least PAUSED.
7399
7400 2007-03-20  Wim Taymans  <wim@fluendo.com>
7401
7402         * gst/gst.c:
7403         Fix compilation with registry disabled as spotted by Saur.
7404
7405 2007-03-20  Wim Taymans  <wim@fluendo.com>
7406
7407         Patch by: Olivier Crete <tester at tester dot ca>
7408
7409         * gst/gstelement.c: (gst_element_sync_state_with_parent):
7410         Look at the pending state too when syncing the element state to the
7411         parent. Fixes #420133.
7412
7413 2007-03-19  Jan Schmidt  <thaytan@mad.scientist.com>
7414
7415         * libs/gst/base/gstbasesink.c: (gst_base_sink_set_flushing),
7416         (gst_base_sink_change_state):
7417         * libs/gst/base/gstbasesink.h:
7418         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
7419         (gst_base_src_default_event), (gst_base_src_unlock_stop),
7420         (gst_base_src_deactivate):
7421         * libs/gst/base/gstbasesrc.h:
7422         Add ::unlock_stop to basesrc and basesink. This allows an opportunity
7423         for sub-classes to correctly clear any state they set trying to
7424         unlock, such as clearing out unlock commands from a command fd.
7425         API: basesrc::unlock_stop
7426         API: basesink::unlock_stop
7427
7428         * plugins/elements/gstfdsink.c: (gst_fd_sink_class_init),
7429         (gst_fd_sink_render), (gst_fd_sink_unlock),
7430         (gst_fd_sink_unlock_stop):
7431         * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init),
7432         (gst_fd_src_init), (gst_fd_src_unlock), (gst_fd_src_unlock_stop),
7433         (gst_fd_src_create), (gst_fd_src_get_size), (gst_fd_src_do_seek):
7434
7435         Implement unlock_stop in fdsrc and fdsink.
7436         Implement seeking in fdsrc when a seekable fd is passed, as in
7437         gst-launch-0.10 fdsrc ! ... ! xvimagesink < /path/to/file
7438
7439 2007-03-19  Wim Taymans  <wim@fluendo.com>
7440
7441         Patch by: Evan Nemerson <evan at coeus dash group dot com>
7442
7443         * gst/gstelement.c: (gst_element_class_init):
7444         Fix pad-added and pad-removed signal signatures so that the pad type is
7445         stated as GST_TYPE_PAD instead of G_TYPE_OBJECT. Fixes #419851.
7446
7447 2007-03-19  Wim Taymans  <wim@fluendo.com>
7448
7449         * docs/gst/gstreamer-sections.txt:
7450         Add new element field and method.
7451
7452         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
7453         (bin_remove_messages), (gst_bin_add_func), (gst_bin_remove_func),
7454         (gst_bin_recalc_state), (gst_bin_get_state_func),
7455         (gst_bin_element_set_state), (gst_bin_change_state_func),
7456         (gst_bin_continue_func), (bin_bus_handler),
7457         (bin_push_state_continue), (bin_handle_async_start),
7458         (bin_handle_async_done), (gst_bin_handle_message_func):
7459         Make async state changes a bit smarter by using new ASYNC_START and
7460         ASYNC_DONE messages. This reduces the number of times we run the state
7461         recalculation thread.
7462         Don't change state of element with a pending ASYNC_START message.
7463         Deprecate STATE_DIRTY messages.
7464         
7465         * gst/gstelement.c: (gst_element_init), (gst_element_send_event),
7466         (gst_element_get_state_func), (gst_element_continue_state),
7467         (gst_element_lost_state), (gst_element_set_state_func),
7468         (gst_element_change_state):
7469         * gst/gstelement.h:
7470         Keep the state that was last set by the app in a new element field.
7471         Don't allow state changes when handling an element event.
7472         Post ASYNC_START and ASYNC_DONE messages.
7473         Change lost_state so that we go to PAUSED and wait for the parent to set
7474         us to PLAYING again (so latency calculation can be performed)
7475         Export gst_element_change_state() method so that subclasses can use it.
7476         API: gst_element_change_state()
7477         API: GST_STATE_TARGET
7478
7479         * gst/gstpipeline.c: (gst_pipeline_class_init),
7480         (reset_stream_time), (gst_pipeline_change_state),
7481         (gst_pipeline_handle_message), (gst_pipeline_set_new_stream_time):
7482         Using the new ASYNC_START message we can reset the base_time when
7483         needed. This can then be used to implement base_time redistribution in
7484         flushing seeks so that we can remove the explicit seek handling.
7485         Perform latency query and configuration when going to PLAYING.
7486
7487         * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
7488         (gst_base_sink_query), (gst_base_sink_change_state):
7489         Post new ASYNC_START/ASYNC_DONE messages.
7490
7491         * tests/check/generic/sinks.c: (GST_START_TEST):
7492         Fix test because the bin will not set the async element to PLAYING right
7493         away.
7494
7495         * tests/check/gst/gstbin.c: (pop_async_done), (GST_START_TEST):
7496         Make the message check a little stronger.
7497         Handle ASYNC messages.
7498
7499         * tests/check/pipelines/cleanup.c: (GST_START_TEST):
7500         * tests/check/pipelines/simple-launch-lines.c: (GST_START_TEST):
7501         Expect ASYNC_DONE messages.
7502
7503 2007-03-19  Wim Taymans  <wim@fluendo.com>
7504
7505         * docs/gst/gstreamer-sections.txt:
7506         * gst/gstmessage.c: (gst_message_new_async_start),
7507         (gst_message_new_async_done), (gst_message_parse_info),
7508         (gst_message_parse_async_start):
7509         * gst/gstmessage.h:
7510         Add ASYNC_START and ASYNC_DONE messages to prepare for latency
7511         support.
7512
7513 2007-03-15  Tim-Philipp Müller  <tim at centricular dot net>
7514
7515         * tools/gst-inspect.c:
7516         (print_plugin_automatic_install_info_codecs):
7517           Now that we don't check for the 'Codec' keyword any longer in the
7518           klass, we shouldn't spew a warning if the klass isn't a decoder or
7519           encoder (since it might be a Source/Network, for example).
7520
7521 2007-03-14  Tim-Philipp Müller  <tim at centricular dot net>
7522
7523         * tools/gst-inspect.c:
7524         (print_plugin_automatic_install_info_codecs):
7525           Don't require decoder/demuxer/depayloader elements or
7526           encoder/muxer/paylader elements to have 'Codec' as part of their
7527           factory class string when introspecting a plugin's capabilities.
7528           draft-klass.txt mentions that it might be removed in future, and
7529           flump3dec doesn't have it as part of its class string, so chances
7530           are others might also not have it.
7531
7532 2007-03-14  Thomas Vander Stichele  <thomas at apestaart dot org>
7533
7534         * po/af.po:
7535         * po/az.po:
7536         * po/bg.po:
7537         * po/ca.po:
7538         * po/cs.po:
7539         * po/de.po:
7540         * po/en_GB.po:
7541         * po/fr.po:
7542         * po/it.po:
7543         * po/nb.po:
7544         * po/nl.po:
7545         * po/ru.po:
7546         * po/sq.po:
7547         * po/sr.po:
7548         * po/sv.po:
7549         * po/tr.po:
7550         * po/uk.po:
7551         * po/vi.po:
7552         * po/zh_CN.po:
7553         * po/zh_TW.po:
7554           Update translations from translation project
7555
7556 2007-03-14  Stefan Kost  <ensonic@users.sf.net>
7557
7558         * gst/gstchildproxy.c: (gst_child_proxy_get_property),
7559         (gst_child_proxy_set_property):
7560           Invert precondition check to be alike the ones in the mimiced gobject
7561           api.
7562
7563 2007-03-13  Stefan Kost  <ensonic@users.sf.net>
7564
7565         * docs/design/draft-tagreading.txt:
7566         * docs/random/ensonic/audiobaseclasses.txt:
7567           Do some Architect work.
7568
7569         * gst/gstobject.c: (gst_object_set_name):
7570           Add a WARNING.
7571
7572         * gst/gstpad.c:
7573           Add docs that point from gst_pad_get_range to gst_pad_pull_range
7574
7575 2007-03-12  Jan Schmidt  <thaytan@mad.scientist.com>
7576
7577         * gst/gstsystemclock.c: (gst_system_clock_init),
7578         (gst_system_clock_start_async), (gst_system_clock_id_wait_async):
7579         Defer starting the async system clock thread until the first async
7580         wait is scheduled. Fixes #414986.
7581
7582 2007-03-12  Tim-Philipp Müller  <tim at centricular dot net>
7583
7584         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_finalize),
7585         (gst_single_queue_free):
7586           Fix small leak (free GstSingleQueue structure too, not only contents).
7587
7588 2007-03-10  Sebastien Moutte  <sebastien@moutte.net>
7589
7590         * gst/gstbin.c:(gst_bin_add):
7591         Use GST_STR_NULL to prevent NULL pointer to be passed to GST_CAT_DEBUG.
7592         * win32/common/libgstbase.def:
7593         * win32/common/libgstreamer.def:
7594         Add new exported functions.
7595
7596 2007-03-09  Wim Taymans  <wim@fluendo.com>
7597
7598         * docs/plugins/gstreamer-plugins-sections.txt:
7599         Fix GstTee docs.
7600
7601 2007-03-09  Wim Taymans  <wim@fluendo.com>
7602
7603         * docs/gst/gstreamer-sections.txt:
7604         * gst/gstbuffer.c: (gst_buffer_copy_metadata), (_gst_buffer_copy):
7605         * gst/gstbuffer.h:
7606         Add metadata copy functions. Fixes #393099.
7607         API: gst_buffer_copy_metadata()
7608
7609         * gst/gstutils.c: (gst_buffer_stamp):
7610         * libs/gst/base/gstbasetransform.c:
7611         (gst_base_transform_prepare_output_buffer):
7612         Use new metadata copy functions.
7613
7614 2007-03-09  Thomas Vander Stichele  <thomas at apestaart dot org>
7615
7616         * plugins/elements/gstidentity.c: (gst_identity_class_init),
7617         (gst_identity_init), (gst_identity_check_perfect),
7618         (gst_identity_check_imperfect_timestamp),
7619         (gst_identity_check_imperfect_offset), (gst_identity_transform_ip),
7620         (gst_identity_set_property), (gst_identity_get_property):
7621         * plugins/elements/gstidentity.h:
7622         Separate out check-imperfect-timestamp and check-imperfect-offset.
7623         Put back check-perfect as it was to keep compatibility.
7624
7625 2007-03-09  Jan Schmidt  <thaytan@mad.scientist.com>
7626
7627         * gst/gstelement.c: (gst_element_dispose):
7628         There's no need to warn if VOID_PENDING is not NONE here, as
7629         long as the state is NULL it's ok, and that's checked immediately
7630         above.
7631
7632 2007-03-08  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
7633
7634         * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
7635         Fix check for perfect stream to ignore buffers with -1 
7636         offsets/offset ends when checking data contiguity.
7637
7638 2007-03-08  Wim Taymans  <wim@fluendo.com>
7639
7640         * tools/gst-launch.c: (event_loop):
7641         Print INFO messages.
7642
7643 2007-03-08  Wim Taymans  <wim@fluendo.com>
7644
7645         * libs/gst/base/gstbasetransform.c:
7646         (gst_base_transform_sink_eventfunc),
7647         (gst_base_transform_handle_buffer), (gst_base_transform_chain),
7648         (gst_base_transform_activate):
7649         * libs/gst/base/gstbasetransform.h:
7650         Add support for dropping buffers with custom GstFlowReturn.
7651         Set DISCONT flags on outgoing buffers based on QoS, incomming DISCONT
7652         buffers or dropped buffers.
7653
7654         * docs/libs/gstreamer-libs-sections.txt:
7655         docs for new custom return code.
7656
7657         * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
7658         Use drop support in base class to implement drop-probability.
7659
7660 2007-03-07  Tim-Philipp Müller  <tim at centricular dot net>
7661
7662         * gst/gst.c: (load_plugin_func):
7663         * gst/gstplugin.c: (gst_plugin_load_by_name), (gst_plugin_load):
7664         * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
7665         * gst/gsttrace.c: (gst_trace_new), (gst_alloc_trace_set_flags_all):
7666           Remove newlines at end of debug log strings.
7667
7668 2007-03-07  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
7669
7670         * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
7671         Only post bus message at max, once per buffer received.
7672
7673 2007-03-07  Wim Taymans  <wim@fluendo.com>
7674
7675         * docs/design/Makefile.am:
7676         * docs/design/part-synchronisation.txt:
7677         Add doc about synchronisation
7678
7679         * docs/design/draft-latency.txt:
7680         * docs/design/part-TODO.txt:
7681         * docs/design/part-clocks.txt:
7682         * docs/design/part-events.txt:
7683         * docs/design/part-gstbus.txt:
7684         * docs/design/part-gstpipeline.txt:
7685         * docs/design/part-live-source.txt:
7686         * docs/design/part-messages.txt:
7687         * docs/design/part-overview.txt:
7688         * docs/design/part-streams.txt:
7689         * docs/design/part-trickmodes.txt:
7690         Documentation updates.
7691
7692 2007-03-07  Jan Schmidt  <thaytan@mad.scientist.com>
7693
7694         * gstreamer.doap:
7695         Update the doap file.
7696
7697 2007-03-07  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
7698
7699         * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
7700         Rename non-perfect to imperfect for Mike and for the sanctity of the
7701         language.
7702         Also make sure bus message gets emitted for data-incontiguities.
7703
7704 2007-03-07  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
7705
7706         * plugins/elements/gstidentity.c: (gst_identity_check_perfect),
7707         (gst_identity_start):
7708         * plugins/elements/gstidentity.h:
7709         Emit bus message if check-perfect is true and we encounter a
7710         non-perfect stream between 2 consecutive buffers.
7711         Fixes #415394.
7712
7713 2007-03-07  Jan Schmidt  <thaytan@mad.scientist.com>
7714
7715         * configure.ac:
7716         Back to CVS
7717
7718 === release 0.10.12 ===
7719
7720 2007-03-07  Jan Schmidt <thaytan@mad.scientist.com>
7721
7722         * configure.ac:
7723           releasing 0.10.12, "Inevitable Demise"
7724
7725 2007-03-01  Jan Schmidt  <thaytan@mad.scientist.com>
7726
7727         * configure.ac:
7728          Version 0.10.11.2 (0.10.12 pre-release)
7729          Bump libtool versioning.
7730
7731 2007-03-01  Stefan Kost  <ensonic@users.sf.net>
7732
7733         * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
7734           Log flow-names and not numbers.
7735
7736 2007-02-28  Thomas Vander Stichele  <thomas at apestaart dot org>
7737
7738         * configure.ac:
7739           Convert to new AG_GST style.
7740
7741 2007-02-28  Wim Taymans  <wim@fluendo.com>
7742
7743         * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency):
7744         Don't unref query twice.
7745
7746 2007-02-28  Wim Taymans  <wim@fluendo.com>
7747
7748         * gst/gstvalue.c: (gst_value_transform_object_string),
7749         (_gst_value_initialize):
7750         Implement GstObject -> string transform so we print object names
7751         when serializing GValues containing GstObjects.
7752
7753 2007-02-28  Wim Taymans  <wim@fluendo.com>
7754
7755         * docs/gst/gstreamer-sections.txt:
7756         Add new stuff to docs.
7757
7758 2007-02-28  Wim Taymans  <wim@fluendo.com>
7759
7760         * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency),
7761         (gst_base_sink_queue_object_unlocked), (gst_base_sink_send_event),
7762         (gst_base_sink_change_state):
7763         Improve latency query code.
7764         Don't leak latency events.
7765
7766         * tests/check/gst/gstbin.c: (GST_START_TEST):
7767         Improve debugging.
7768
7769 2007-02-28  Wim Taymans  <wim@fluendo.com>
7770
7771         * gst/gstelement.c: (gst_element_message_full),
7772         (gst_element_get_state_func):
7773         * gst/gstelement.h:
7774         Improve docs a little. Added Since: for new macro.
7775
7776         * gst/gstobject.c: (gst_object_sink):
7777         * gst/gstpipeline.c: (gst_pipeline_change_state),
7778         (gst_pipeline_set_new_stream_time):
7779         * gst/gstpipeline.h:
7780         Improve debugging and docs.
7781
7782         * gst/gstutils.c: (gst_element_state_change_return_get_name):
7783         Improve debugging.
7784
7785 2007-02-28  Wim Taymans  <wim@fluendo.com>
7786
7787         * gst/gstelement.c: (gst_element_message_full),
7788         (gst_element_set_locked_state), (gst_element_get_state_func),
7789         (gst_element_change_state):
7790         Handle INFO messages from the GST_ELEMENT_INFO macro as well.
7791         Documentation updates.
7792         Small code cleanups.
7793
7794         * gst/gstmessage.c: (gst_message_new_info),
7795         (gst_message_parse_info):
7796         * gst/gstmessage.h:
7797         API: gst_message_new_info()
7798         API: gst_message_parse_info()
7799         Add INFO message create and parse code.
7800
7801 2007-02-28  Wim Taymans  <wim@fluendo.com>
7802
7803         * gst/gstbin.c: (bin_query_min_max_init), (bin_query_latency_fold),
7804         (bin_query_latency_done):
7805         Also report the live parameter of a latency query.
7806
7807 2007-02-28  Thomas Vander Stichele  <thomas at apestaart dot org>
7808
7809         * tests/check/generic/states.c: (GST_START_TEST), (states_suite):
7810           Copy the current generic/states example from -base and adapt so
7811           we can use the exact same code everywhere.
7812           Check a STATES_IGNORE_ELEMENTS env var which can be used
7813           to ignore certain element factories for this test, which is
7814           what is being done in -base
7815         * tests/check/Makefile.am:
7816           Mention this environment variable.
7817
7818 2007-02-27  Wim Taymans  <wim@fluendo.com>
7819
7820         * docs/gst/gstreamer-sections.txt:
7821         * gst/gstbus.c: (gst_bus_init), (gst_bus_dispose), (gst_bus_post),
7822         (gst_bus_timed_pop), (gst_bus_pop):
7823         * gst/gstbus.h:
7824         API: gst_bus_timed_pop()
7825         Implement gst_bus_timed_pop() to do a blocking timed wait for a
7826         message to arrive on the bus.
7827
7828         * tests/check/gst/gstbus.c: (GST_START_TEST), (pop_thread),
7829         (gst_bus_suite):
7830         Two unit tests for new _timed_pop() function.
7831
7832 2007-02-23  Wim Taymans  <wim@fluendo.com>
7833
7834         * gst/gstpipeline.c: (gst_pipeline_change_state),
7835         (gst_pipeline_provide_clock_func), (gst_pipeline_set_delay):
7836         Don't ref a NULL clock in _provide_clock_func().
7837         Don't allow an INVALID delay.
7838         Don't try to calculate base_time with an invalid start_time.
7839         Also distribute and notify a NULL clock when it was selected.
7840
7841         * tools/gst-launch.c: (event_loop):
7842         Don't crash when a NULL clock was selected in the pipeline.
7843
7844 2007-02-23  Tim-Philipp Müller  <tim at centricular dot net>
7845
7846         * docs/design/Makefile.am:
7847         * docs/design/draft-missing-plugins.txt:
7848         * docs/random/draft-missing-plugins.txt:
7849           Some small updates: update plugin system identifier prefix
7850           ('gstreamer.net' to 'gstreamer'), mention our new install
7851           API in libgstbaseutils rather than libgimme-codec, add
7852           reference to the online docs.
7853
7854 2007-02-21  Thomas Vander Stichele  <thomas at apestaart dot org>
7855
7856         * win32/common/config.h:
7857           Pretty sure Bill never made a powerpc version.  Powerpc hackers,
7858           use moap cl ci to only check in what is mentioned in the ChangeLog.
7859
7860 2007-02-21  Thomas Vander Stichele  <thomas at apestaart dot org>
7861
7862         * docs/gst/gstreamer-sections.txt:
7863         * gst/gstelement.h:
7864           Fix up documentation to link to the correct GstGError section.
7865           Add GST_ELEMENT_INFO macro since someone else added a Info message.
7866
7867 2007-02-21  Thomas Vander Stichele  <thomas at apestaart dot org>
7868
7869         * tools/gst-launch.c: (event_loop):
7870           Make sure that we actually show the important message part of a
7871           warning message.
7872           No need to check if the gerror is not NULL to free; first of all
7873           g_free accepts NULL; and second the default error handler would
7874           segfault if gerror was NULL.
7875
7876 2007-02-21  Wim Taymans  <wim@fluendo.com>
7877
7878         * docs/gst/gstreamer-sections.txt:
7879         Removed docs as well.
7880
7881 2007-02-21  Wim Taymans  <wim@fluendo.com>
7882
7883         * gst/gstmessage.c: (gst_message_parse_duration):
7884         * gst/gstmessage.h:
7885         Remove new messages for release.
7886
7887 2007-02-20  Wim Taymans  <wim@fluendo.com>
7888
7889         * docs/design/part-gstghostpad.txt:
7890         * gst/gstghostpad.c: (gst_ghost_pad_dispose),
7891         (gst_ghost_pad_new_full):
7892         Make the ghostpad a parent of the internal pad again for better backward
7893         compatibility. Don't write code that relies on this however.
7894
7895         * gst/gstpad.c: (gst_pad_activate_pull), (gst_pad_activate_push),
7896         (gst_pad_link_check_hierarchy):
7897         Require that parents should be GstElements in the hierarchy check.
7898
7899 2007-02-20  Wim Taymans  <wim@fluendo.com>
7900
7901         * gst/gstbin.c: (bin_replace_message), (gst_bin_add_func),
7902         (gst_bin_change_state_func), (bin_query_min_max_init),
7903         (bin_query_latency_fold), (bin_query_latency_done),
7904         (gst_bin_query):
7905         Improve debug info.
7906         Implement latency query.
7907
7908 2007-02-20  Wim Taymans  <wim@fluendo.com>
7909
7910         * docs/design/part-gstghostpad.txt:
7911         * gst/gstghostpad.c: (gst_ghost_pad_class_init),
7912         (gst_ghost_pad_internal_do_activate_push),
7913         (gst_ghost_pad_internal_do_activate_pull),
7914         (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
7915         (gst_ghost_pad_do_link), (gst_ghost_pad_dispose),
7916         (gst_ghost_pad_new_full), (gst_ghost_pad_set_target):
7917         Do not set the internal pad as a parent anymore so we can avoid
7918         hierarchy linking errors when the ghostpad has no parent yet. This also
7919         fixes failed activation because of unlinked internal pads, which in
7920         turn fixes the impossible case where you have to activate a pad before
7921         you can add it to a running element.
7922         Also fix the docs.
7923
7924         * gst/gstpad.c: (pre_activate), (post_activate),
7925         (gst_pad_set_active), (gst_pad_activate_pull),
7926         (gst_pad_activate_push), (gst_pad_check_pull_range):
7927         Add some more debug info.
7928         Mark activation mode in pre_activate so that we don't try to activate in
7929         endless loops. Fixes #385084.
7930
7931 2007-02-19  Wim Taymans  <wim@fluendo.com>
7932
7933         * libs/gst/base/gstbasetransform.c: (gst_base_transform_init),
7934         (gst_base_transform_check_get_range):
7935         Implement a checkgetrange function instead of relying on the default
7936         core behaviour that assumes we can operate in pull mode if we have a
7937         getrange function. First step at fixing #385084.
7938
7939 2007-02-15  Stefan Kost  <ensonic@users.sf.net>
7940
7941         * gst/gstchildproxy.h:
7942         * libs/gst/base/gstbasesink.h:
7943         * libs/gst/base/gstbasesrc.h:
7944         * libs/gst/base/gstbasetransform.h:
7945         More docs coverage and some ChangeLog surgery (add missing names)
7946
7947 2007-02-15  Wim Taymans  <wim@fluendo.com>
7948
7949         * docs/design/part-TODO.txt:
7950         * docs/design/part-activation.txt:
7951         * docs/design/part-block.txt:
7952         * docs/design/part-buffering.txt:
7953         * docs/design/part-clocks.txt:
7954         * docs/design/part-element-source.txt:
7955         * docs/design/part-events.txt:
7956         * docs/design/part-gstbin.txt:
7957         * docs/design/part-gstbus.txt:
7958         * docs/design/part-gstpipeline.txt:
7959         * docs/design/part-live-source.txt:
7960         * docs/design/part-messages.txt:
7961         * docs/design/part-overview.txt:
7962         * docs/design/part-qos.txt:
7963         * docs/design/part-query.txt:
7964         * docs/design/part-states.txt:
7965         * docs/design/part-trickmodes.txt:
7966         Some doc updates. Start renaming from stream_time to running_time where
7967         it was used wrongly.
7968
7969 2007-02-15  Wim Taymans  <wim@fluendo.com>
7970
7971         * libs/gst/base/gstbasesrc.c: (gst_base_src_default_query):
7972         Answer LATENCY query.
7973
7974 2007-02-15  Wim Taymans  <wim@fluendo.com>
7975
7976         * tests/check/gst/gstevent.c: (event_probe), (test_event),
7977         (GST_START_TEST):
7978         Improve debugging.
7979
7980 2007-02-15  Wim Taymans  <wim@fluendo.com>
7981
7982         * gst/gstpad.c: (gst_pad_get_internal_links_default),
7983         (gst_pad_dispatcher):
7984         Improve debugging of default pad dispatcher and query functions.
7985
7986 2007-02-15  Wim Taymans  <wim@fluendo.com>
7987
7988         * docs/gst/gstreamer-sections.txt:
7989         Remove old unused method.
7990
7991 2007-02-13  Wim Taymans  <wim@fluendo.com>
7992
7993         * tests/check/gst/gstsegment.c: (GST_START_TEST):
7994         Fix check
7995
7996 2007-02-13  Wim Taymans  <wim@fluendo.com>
7997
7998         * docs/design/part-seeking.txt:
7999         Some small update.
8000
8001         * gst/gstsegment.c: (gst_segment_set_seek):
8002         Revert old bogus change that should make seeking work again.
8003
8004 2007-02-13  Stefan Kost  <ensonic@users.sf.net>
8005
8006         * docs/random/ensonic/dynlink.txt:
8007         * docs/random/ensonic/interfaces.txt:
8008         * docs/random/ensonic/receipies.txt:
8009           Possible dynamic reconnection api, plus some type fixes the other two
8010           docs.
8011
8012 2007-02-13  Sebastian Dröge  <slomo@circular-chaos.org>
8013
8014         * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
8015         * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
8016         Also check for an absolute path following file:// in the filesrc
8017         element. Remove redundant check and call g_path_is_absolute() on the
8018         unescaped location.
8019
8020 2007-02-13  Stefan Kost  <ensonic@users.sf.net>
8021
8022         * docs/design/draft-klass.txt:
8023           Add existing category analysis.
8024           
8025         * gst/gstcaps.c:
8026           Fix doc example, framerate is a fraction.
8027
8028 2007-02-12  Stefan Kost  <ensonic@users.sf.net>
8029
8030         * configure.ac:
8031         * docs/gst/Makefile.am:
8032         * docs/gst/gstreamer-sections.txt:
8033         * docs/libs/Makefile.am:
8034           Erm, forgot a bunch of --extra-dir.
8035
8036 2007-02-12  Stefan Kost  <ensonic@users.sf.net>
8037
8038         * configure.ac:
8039         * docs/gst/Makefile.am:
8040         * docs/libs/Makefile.am:
8041         * docs/plugins/Makefile.am:
8042           Add crossreferences to glib/gobject docs.
8043
8044 2007-02-12  Wim Taymans  <wim@fluendo.com>
8045
8046         * docs/design/draft-latency.txt:
8047         Small update.
8048
8049         * docs/libs/gstreamer-libs-sections.txt:
8050         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
8051         (gst_base_sink_get_latency), (gst_base_sink_query_latency),
8052         (gst_base_sink_wait_clock), (gst_base_sink_send_qos),
8053         (gst_base_sink_perform_qos), (gst_base_sink_queue_object_unlocked),
8054         (gst_base_sink_chain_unlocked), (gst_base_sink_send_event),
8055         (gst_base_sink_get_position), (gst_base_sink_query),
8056         (gst_base_sink_change_state):
8057         * libs/gst/base/gstbasesink.h:
8058         API: gst_base_sink_query_latency() to let subclasses query the upstream
8059         latency.
8060         API: gst_base_sink_get_latency() to let subclasses query the configured
8061         latency in the sink.
8062         Implement query and set latency.
8063         Update some docs.
8064         As spotted by Will Newton <will dot newton at gmail dot com>: Make sure we
8065         don't continue preroll when we are flushing. Fixes #405284.
8066
8067         * tests/check/pipelines/stress.c: (change_state_timeout),
8068         (quit_timeout), (GST_START_TEST), (stress_suite):
8069         Test for #405284.
8070
8071 2007-02-09  Tim-Philipp Müller  <tim at centricular dot net>
8072
8073         Patch by: René Stadler <mail at renestadler de>
8074
8075         * docs/gst/gstreamer-sections.txt:
8076         * gst/gsttaglist.c: (_gst_tag_initialize):
8077         * gst/gsttaglist.h:
8078           API: add GST_TAG_REFERENCE_LEVEL (#403597).
8079
8080 2007-02-11  Stefan Kost  <ensonic@users.sf.net>
8081
8082         * docs/libs/Makefile.am:
8083           Fix path to core docs.
8084
8085         * gst/gstbin.c: (gst_bin_get_by_interface),
8086         (gst_bin_iterate_all_by_interface):
8087           Refix docs by also renaming 'interface' to 'iface' in implementation.
8088
8089         * docs/gst/gstreamer-sections.txt:
8090         * gst/gstcaps.c:
8091         * gst/gstchildproxy.c: (gst_child_proxy_base_init):
8092         * gst/gstchildproxy.h:
8093         * gst/gstelementfactory.c:
8094         * gst/gstpadtemplate.h:
8095         * libs/gst/controller/gstcontroller.c:
8096         (gst_controlled_property_new):
8097           Document more.
8098
8099 2007-02-10  Sébastien Moutte  <sebastien@moutte.net>
8100
8101         * gst/gstbin.h:(gst_bin_get_by_interface),
8102         (gst_bin_iterate_all_by_interface):
8103         Replace interface parameter name by iface as interface is 
8104         a reserved keyword in Visual Studio for C++ projects so it removes
8105         a build error for application developpers using VS.
8106         * plugins/elements/gstfilesrc.c:(gst_file_src_uri_set_uri):
8107         Fix a bug on Windows in uri format check. Now the prefix checked
8108         is file:// and next we check if the path after file:// is absolute.
8109         * win32/common/libgstbase.def:
8110         * win32/common/libgstdataprotocol.def:
8111         * win32/common/libgstgstreamer.def:
8112         Add new exported functions.
8113
8114 2007-02-09  Andy Wingo  <wingo@pobox.com>
8115
8116         * tests/check/pipelines/simple-launch-lines.c
8117         (simple_launch_lines_suite, test_tee): Disable tee test until I
8118         have time to fix it :-(
8119
8120         * tests/check/Makefile.am (noinst_HEADERS): 
8121         * tests/check/libs/libsabi.c: 
8122         * tests/check/libs/struct_ppc32.h: Add ABI checks for PPC32.
8123         * tests/check/gst/gstabi.c: 
8124         * tests/check/gst/struct_ppc32.h: Add ABI checks for PPC32.
8125
8126         * tests/check/pipelines/simple-launch-lines.c (test_tee): Add
8127         tests for push and pull tee behavior.
8128
8129         * plugins/elements/gsttee.h: 
8130         * plugins/elements/gsttee.c: Describe has-sink-loop better, and
8131         mark as deprecated as well as unimplemented. It was a crack idea.
8132         Add support for tee operating in pull mode, off by default.
8133
8134         * gst/gstregistryxml.c (load_feature, load_plugin): Drop some
8135         normal-case logs down to LOG, raise errors to WARNING.
8136         (gst_registry_xml_read_cache): Don't log before calling a function
8137         that logs.
8138
8139         * gst/gstregistry.c (gst_registry_finalize): Less debug on program
8140         exit (registry finalize).
8141         (gst_registry_add_plugin, gst_registry_add_feature): No need for a
8142         DEBUG log when we emit signals that people don't even have the
8143         chance to connect to.
8144         (gst_registry_scan_path_level): Less logging in the normal case.
8145
8146 2007-02-05  Sebastian Dröge  <slomo@circular-chaos.org>
8147
8148         Patch by: Michal Benes <michal dot benes at itonis dot tv>
8149
8150         * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
8151         Correctly generate EOS for non-seekable files. We don't have a total
8152         length for them and would get an unexpected end of file if we only
8153         special-cased for regular files. (Fixes: #404569)
8154
8155 2007-02-05  Sebastian Dröge  <slomo@circular-chaos.org>
8156
8157         * tests/check/elements/filesrc.c: (GST_START_TEST),
8158         (filesrc_suite):
8159         Add unit test for the GstURIHandler interface in filesrc. This also
8160         tests the newly added file://localhost/foo/bar support.
8161
8162 2007-02-04  Tim-Philipp Müller  <tim at centricular dot net>
8163
8164         * gst/gstelementfactory.h:
8165           The klass string is not a hierarchy. Add reference to the design doc
8166           for more information and common types.
8167
8168 2007-02-02  Wim Taymans  <wim@fluendo.com>
8169
8170         * gst/gstquery.c: (gst_query_new_latency):
8171         Remove old structure field.
8172
8173 2007-02-02  Stefan Kost  <ensonic@users.sf.net>
8174
8175         * tools/gst-launch.1.in:
8176           Give example for network streaming (#351998)
8177
8178 2007-02-02  Wim Taymans  <wim@fluendo.com>
8179
8180         * docs/gst/gstreamer-sections.txt:
8181         Add docs for new methods.
8182
8183         * gst/gstevent.c: (gst_event_new_latency),
8184         (gst_event_parse_latency):
8185         * gst/gstevent.h:
8186         Add new LATENCY event to configure latency in a pipeline.
8187         API: gst_event_new_latency
8188         API: gst_event_parse_latency
8189
8190         * gst/gstmessage.c: (gst_message_new_buffering),
8191         (gst_message_new_lost_preroll), (gst_message_new_prerolled),
8192         (gst_message_new_latency), (gst_message_parse_buffering),
8193         (gst_message_parse_lost_preroll):
8194         * gst/gstmessage.h:
8195         Added messages used in draft-latency.
8196         API: gst_message_new_lost_preroll
8197         API: gst_message_parse_lost_preroll
8198         API: gst_message_new_prerolled
8199         API: gst_message_new_latency
8200
8201         * gst/gstquery.c: (gst_query_new_latency), (gst_query_set_latency),
8202         (gst_query_parse_latency):
8203         * gst/gstquery.h:
8204         Implemented new latency query as in design doc.
8205         API: gst_query_new_latency
8206         API: gst_query_set_latency
8207         API: gst_query_parse_latency
8208
8209 2007-02-02  Wim Taymans  <wim@fluendo.com>
8210
8211         * docs/design/draft-latency.txt:
8212         Slight redesign to allow for dynamic latency adjustments.
8213
8214         * docs/design/part-negotiation.txt:
8215         Fix some typos.
8216
8217 2007-02-02  Sebastian Dröge  <slomo@circular-chaos.org>
8218
8219         reviewed by: Wim Taymans <wim@fluendo.com>
8220
8221         * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
8222         * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
8223         Allow file://localhost/foo/bar URLs and correctly fail for every other
8224         hostname that one sets. This was gnomevfssrc is linked for those if
8225         installed as it can handle it (#403172)
8226
8227 2007-02-01  Sebastian Dröge  <slomo@circular-chaos.org>
8228
8229         reviewed by: Tim-Philipp Müller <tim at centricular dot net>
8230
8231         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
8232         (unref_data), (gst_collect_pads_add_pad_full):
8233         * libs/gst/base/gstcollectpads.h:
8234         Don't put the previously added destroy notify in the GstCollectData
8235         struct as all it's padding is already used and we don't want to break
8236         ABI. Instead put in the pad's GObject data for now. This should be
8237         cleaned up for 0.11 (#402393).
8238
8239 2007-02-01  Sebastian Dröge  <slomo@circular-chaos.org>
8240
8241         reviewed by: Wim Taymans <wim@fluendo.com>
8242
8243         * docs/libs/gstreamer-libs-sections.txt:
8244         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
8245         (unref_data), (gst_collect_pads_add_pad),
8246         (gst_collect_pads_add_pad_full):
8247         * libs/gst/base/gstcollectpads.h:
8248         API: Add function to specify a destroy notification for custom
8249         GstCollectData when adding new pads in GstCollectPads (#402393).
8250
8251 2007-02-01  Tim-Philipp Müller  <tim at centricular dot net>
8252
8253         * po/sv.po:
8254           Update Swedish translation (#378255).
8255
8256 2007-01-31  Stefan Kost  <ensonic@users.sf.net>
8257
8258         * docs/design/draft-klass.txt:
8259           Fix the previous change, this is a list of categories and not a hierarchy.
8260
8261 2007-01-31  Stefan Kost  <ensonic@users.sf.net>
8262
8263         * docs/design/draft-klass.txt:
8264           Add info about how to get a list of used classes.
8265
8266 2007-01-30  Tim-Philipp Müller  <tim at centricular dot net>
8267
8268         * plugins/elements/gsttypefindelement.c:
8269         (gst_type_find_element_chain_do_typefinding),
8270         (gst_type_find_element_change_state):
8271           Don't leak found caps in chain function (no idea why that never
8272           showed up as a leak anywhere).
8273
8274 2007-01-30  Stefan Kost  <ensonic@users.sf.net>
8275
8276         * gst/gstplugin.h:
8277           Fix and expand GstPluginDesc API docs.
8278
8279 2007-01-29  Stefan Kost  <ensonic@users.sf.net>
8280
8281         * gst/gstcaps.c:
8282         * gst/gstelementfactory.c:
8283         * gst/gstpadtemplate.h:
8284           api doc fixes
8285
8286         * libs/gst/controller/gstcontroller.c:
8287         (gst_controlled_property_new):
8288         * tests/examples/controller/audio-example.c:
8289           comment fixes
8290
8291 2007-01-29  Stefan Kost  <ensonic@users.sf.net>
8292
8293         * configure.ac:
8294           comment about refining the xml deps
8295
8296         * docs/manuals.mak:
8297           comments about moving away from jade for docs
8298         
8299         * gst/gst.c:
8300           recommit the ifdefs to use the binary registry
8301         
8302         * gst/gstbin.c: (gst_bin_change_state_func):
8303           this break is obsolete
8304
8305         * gst/gstelementfactory.h:
8306           better GST_ELEMENT_DETAILS docs, add comment about translation
8307
8308         * gst/gstinfo.h:
8309           remove eol slash
8310
8311         * gst/gstobject.c: (gst_signal_object_get_type):
8312           add G_UNLIKELY as usual
8313
8314         * gst/gstpad.c: (gst_pad_event_default):
8315           add fall trhu comment
8316
8317         * gst/gstregistrybinary.c: (gst_registry_binary_write),
8318         (gst_registry_binary_initialize_magic),
8319         (gst_registry_binary_save_string),
8320         (gst_registry_binary_save_pad_template),
8321         (gst_registry_binary_save_feature),
8322         (gst_registry_binary_save_plugin),
8323         (gst_registry_binary_write_cache),
8324         (gst_registry_binary_check_magic),
8325         (gst_registry_binary_load_pad_template),
8326         (gst_registry_binary_load_feature),
8327         (gst_registry_binary_load_plugin),
8328         (gst_registry_binary_read_cache):
8329           comment typo and formatting
8330
8331         * gst/gstutils.c: (gst_element_state_get_name),
8332         (gst_element_state_change_return_get_name):
8333           remove obsolete breaks
8334
8335         * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
8336           add FIXME 0.11 and remove cpp comment
8337
8338 2007-01-29  Edward Hervey  <edward@fluendo.com>
8339
8340         * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
8341         Fix print statement in an even more portable way.
8342
8343 2007-01-29  Tim-Philipp Müller  <tim at centricular dot net>
8344
8345         * docs/gst/gstreamer-sections.txt:
8346         * gst/gstutils.h:
8347           API: add GST_ROUND_DOWN_* macros (#401781).
8348
8349 2007-01-27  Tim-Philipp Müller  <tim at centricular dot net>
8350
8351         * docs/gst/gstreamer.types.in:
8352         * gst/gstregistry.c: (gst_registry_class_init):
8353           Document registry signals and make gtk-doc pick them up (#401381).
8354
8355 2007-01-26  Tim-Philipp Müller  <tim at centricular dot net>
8356
8357         * docs/pwg/building-testapp.xml:
8358           Add some audioconverts and audioresample to the pipeline, and some
8359           more comments and error handling.
8360
8361 2007-01-26  Tim-Philipp Müller  <tim at centricular dot net>
8362
8363         * docs/manual/manual.xml:
8364         * docs/pwg/pwg.xml:
8365           Fix typo (#400987).
8366
8367 2007-01-26  Wim Taymans  <wim@fluendo.com>
8368
8369         * gst/gstcaps.c: (gst_static_caps_get):
8370         Init caps flags too.
8371
8372 2007-01-25  Sebastian Dröge  <slomo@circular-chaos.org>
8373
8374         Patch by: Jindrich Makovicka <jindrich.makovick at itonis dot tv>
8375
8376         * plugins/elements/gstfilesrc.c: (gst_file_src_start):
8377         If not using mmap'ed files try to seek to the end instead of the
8378         start to determine whether we can seek at all. This fixes the case
8379         of 2GB+ files over NFS, where seeks in the first 2GB can succeed but
8380         seeks for everything afterwards fail. Fixes #400656
8381
8382 2007-01-25  Wim Taymans  <wim@fluendo.com>
8383
8384         * gst/gstcaps.c: (_gst_caps_free), (gst_static_caps_get):
8385         Add some refcount debugging.
8386         Make gst_static_caps_get threadsafe, which is needed when autoplugging
8387         in multiple streaming threads.
8388
8389 2007-01-25  Wim Taymans  <wim@fluendo.com>
8390
8391         Patch by: David Schleef <ds at schleef dot org>
8392
8393         * docs/libs/gstreamer-libs-sections.txt:
8394         * libs/gst/base/gstadapter.c: (gst_adapter_copy):
8395         * libs/gst/base/gstadapter.h:
8396         API: gst_adapter_copy() that can reduce the amount of memcpy when
8397         getting data from the adapter. Fixes #388201.
8398
8399 2007-01-25  Edward Hervey  <edward@fluendo.com>
8400
8401         * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
8402         In print statements, "%x" is for guint. Fixes build on macosx.
8403
8404 2007-01-24  Edward Hervey  <edward@fluendo.com>
8405
8406         * plugins/elements/gstmultiqueue.c:
8407         (gst_multi_queue_loop):
8408         Small fix.
8409         (single_queue_overrun_cb), (single_queue_underrun_cb),
8410         (single_queue_check_full), (gst_single_queue_new):
8411         Implement single queue growth system.
8412         This uses the extra-size properties, and will grow single queues by
8413         that much if one goes full whereas there are others empty. This is
8414         called extra-mode in the code.
8415         When a single queue's levels go back below the initial max-size
8416         limits, it is no longer in extra-mode. This is to ensure we don't
8417         consume too much memory.
8418         Fixes #399875
8419
8420 2007-01-23  Tim-Philipp Müller  <tim at centricular dot net>
8421
8422         * gst/gst.c: (gst_init_get_option_group):
8423           Make warning about late g_thread_init() calls a bit more explicit,
8424           so that it's more obvious to application developers what they need
8425           to do if a user files a bug against their application.
8426
8427 2007-01-22  Edward Hervey  <edward@fluendo.com>
8428
8429         * plugins/elements/gstmultiqueue.c:
8430         (gst_multi_queue_src_activate_push), (gst_single_queue_new):
8431         Remove previous hack of unsetting the flushing flag for the source pad
8432         instead of activating it. Instead, fix the source pad activate function
8433         so that it no longer depends on having a parent set or not.
8434
8435 2007-01-22  Tim-Philipp Müller  <tim at centricular dot net>
8436
8437         Patch by: Carlos Sanmartin Dominguez <csanmartin@igalia.com>
8438
8439         * docs/manual/basics-bus.xml:
8440           Fix example code, gst_element_unref() doesn't exist any longer.
8441
8442 2007-01-21  Tim-Philipp Müller  <tim at centricular dot net>
8443
8444         Patch by: Mark Nauwelaerts <manauw at skynet be>
8445
8446         * gst/gstpad.c:
8447           Fix two docs typoes (#399094).
8448
8449 2007-01-19  Edward Hervey  <edward@fluendo.com>
8450
8451         * docs/faq/gst-uninstalled:
8452         Add gst-plugins-base/gst/utils/ to LD_LIBRARY_PATH so that plugins
8453         depending on libgstbaseutils can work in uninstalled environment.
8454
8455 2007-01-18  Stefan Kost  <ensonic@users.sf.net>
8456
8457         * gst/gsttaglist.h:
8458         * gst/gsttagsetter.c:
8459         Add more docs regarding tag merge-modes and when to send tags. Fix 'since'
8460         statement for new tag.
8461
8462 2007-01-17  Edward Hervey  <edward@fluendo.com>
8463
8464         * plugins/elements/gstmultiqueue.c: (gst_single_queue_new):
8465         When dynamically creating single queues, activate sinkpad before adding
8466         it.
8467         We should be doing the same thing for the source pad, but we can't
8468         since it would call a method which needs the parent to be set in order
8469         to work propertly. Instead of activating the source pad, we just unset
8470         the flushing flag, which is the minimal requirement for adding a pad
8471         to an element in a state greater than READY.
8472
8473 2007-01-17  Edward Hervey  <edward@fluendo.com>
8474
8475         * docs/faq/gst-uninstalled:
8476         Add DYLD_LIBRARY_PATH declarations so we can also use this script on
8477         Mac OS X.
8478
8479 2007-01-17  Tim-Philipp Müller  <tim at centricular dot net>
8480
8481         * tests/check/gst/gstabi.c:
8482         * tests/check/gst/struct_hppa.h:
8483         * tests/check/libs/libsabi.c:
8484         * tests/check/libs/struct_hppa.h:
8485           Add ABI structs for HPPA (see #393796).
8486
8487 2007-01-16  Tim-Philipp Müller  <tim at centricular dot net>
8488
8489         * libs/gst/check/gstcheck.c: (gst_check_abi_list):
8490           Actually write ABI structs to the file specified in the GST_ABI
8491           environment variable, as the message we print claims we would.
8492
8493 2007-01-15  Stefan Kost  <ensonic@users.sf.net>
8494
8495         * tests/check/gst/gsttask.c:
8496           Fix header comment.
8497
8498 2007-01-15  Stefan Kost  <ensonic@users.sf.net>
8499
8500         * gst/gsttaglist.c: (_gst_tag_initialize):
8501           Change tag type from STRING to DOUBLE. Apply ChangeLog surgery for my
8502           previous two entries.
8503
8504 2007-01-15  Stefan Kost  <ensonic@users.sf.net>
8505
8506         * docs/gst/gstreamer-sections.txt:
8507         * gst/gsttaglist.c: (_gst_tag_initialize):
8508         * gst/gsttaglist.h:
8509           Add tag support for beat-per-minute.
8510
8511 2007-01-15  Stefan Kost  <ensonic@users.sf.net>
8512
8513         * gst/gstregistrybinary.c: (gst_registry_binary_write),
8514         (gst_registry_binary_initialize_magic),
8515         (gst_registry_binary_save_string), (gst_registry_binary_make_data),
8516         (gst_registry_binary_save_pad_template),
8517         (gst_registry_binary_save_feature),
8518         (gst_registry_binary_save_plugin),
8519         (gst_registry_binary_write_cache),
8520         (gst_registry_binary_check_magic),
8521         (gst_registry_binary_load_pad_template),
8522         (gst_registry_binary_load_feature),
8523         (gst_registry_binary_load_plugin),
8524         (gst_registry_binary_read_cache):
8525         * gst/gstregistrybinary.h:
8526           Use glib types, cleanup comments, impement interfaces and uri-types.
8527
8528 2007-01-13  Andy Wingo  <wingo@pobox.com>
8529
8530         * gst/gstpad.c (gst_pad_get_range, gst_pad_pull_range): Allow
8531         getrange() to return buffers with other caps, while we fix
8532         demuxers and typefind, or otherwise change part-negotiation.txt.
8533
8534 2007-01-12  Andy Wingo  <wingo@pobox.com>
8535
8536         * libs/gst/base/gstbasetransform.c (gst_base_transform_activate):
8537         Factor start/stop into this private function instead of partially
8538         in activate functions and partially in the change_state function.
8539         Fixes setup before the element has changed from READY->PAUSED, as
8540         is the case in pull-mode pipelines.
8541         (gst_base_transform_sink_activate_push)
8542         (gst_base_transform_src_activate_pull): Refactor to use
8543         gst_base_transform_activate().
8544         (gst_base_transform_change_state): Removed, not needed any more.
8545
8546         * libs/gst/base/gstbasesink.c (gst_base_sink_negotiate_pull):
8547         Truncate before fixating.
8548         
8549         * libs/gst/base/gstbasesink.c (gst_base_sink_negotiate_pull):
8550         Don't set_caps() if the result of fixating is ANY, as it's not
8551         supported, and not necessary in the case of a link with no
8552         template caps on either side. Fixes tests/check/libs/basesrc in
8553         some pull-mode tests.
8554
8555         * libs/gst/base/gstbasetransform.c (_GstBaseTransformPrivate):
8556         (gst_base_transform_init, gst_base_transform_sink_activate_push)
8557         (gst_base_transform_src_activate_pull): 
8558         Track the activation mode.
8559         (gst_base_transform_setcaps): In pull mode, when activating the
8560         src pad, after activating the sink pad, activate the sink pad's
8561         peer, as discussed in part-negotiation.txt.
8562
8563         * libs/gst/base/gstbasesrc.h: 
8564         * libs/gst/base/gstbasesrc.c (gst_base_src_fixate): Add fixate
8565         vmethod, as in basesink.
8566
8567         * libs/gst/base/gstbasesink.h: Reformat docs, add fixate vmethod.
8568
8569         * libs/gst/base/gstbasesink.c (gst_base_sink_pad_setcaps): In pull
8570         mode, first proxy the setcaps to the peer pad.
8571         (gst_base_sink_pad_fixate): Add a fixate function that calls the
8572         new fixate vmethod.
8573         (gst_base_sink_default_activate_pull): Rename from
8574         gst_base_sink_activate_pull.
8575         (gst_base_sink_negotiate_pull): New function, performs negotiation
8576         in pull mode before calling ::activate_pull().
8577         (gst_base_sink_pad_activate_pull): Actually call the activate_pull
8578         vmethod instead of the default implementation. I have no idea how
8579         this worked before. Negotiate before calling activate_pull.
8580
8581         * gst/gstpad.c (gst_pad_activate_pull): Refuse to activate unlinked
8582         sink pads in pull mode. In addition to being correct, fixes
8583         filesrc ! decodebin ! identity ! fakesink.
8584         (gst_pad_get_range, gst_pad_pull_range): Don't call
8585         gst_pad_set_caps() if the caps changes; instead error out with
8586         GST_FLOW_NOT_NEGOTIATED, as discussed in part-negotiation.txt.
8587
8588 2007-01-12  Andy Wingo  <wingo@pobox.com>
8589
8590         * docs/design/part-negotiation.txt: Update with more policy.
8591
8592 2007-01-12  Tim-Philipp Müller  <tim at centricular dot net>
8593
8594         * libs/gst/check/gstbufferstraw.h:
8595         * libs/gst/check/gstcheck.h:
8596           Add G_BEGIN_DECLS and G_END_DECLS. Move GST_CHECK_MAIN where it
8597           belongs.
8598
8599 2007-01-12  Tim-Philipp Müller  <tim at centricular dot net>
8600
8601         * tests/check/Makefile.am:
8602         * tests/check/gst/.cvsignore:
8603         * tests/check/gst/gsttagsetter.c: (gst_dummy_enc_add_interfaces),
8604         (gst_dummy_enc_base_init), (gst_dummy_enc_class_init),
8605         (gst_dummy_enc_init), (tag_list_foreach), (tag_setter_list_length),
8606         (GST_START_TEST), (gst_tag_setter_suite):
8607           Add minimal unit test for beforementioned GstTagSetter bug.
8608
8609 2007-01-12  Tim-Philipp Müller  <tim at centricular dot net>
8610
8611         Patch by: René Stadler <mail at renestadler dot de>
8612
8613         * gst/gsttagsetter.c: (gst_tag_setter_merge_tags):
8614           gst_tag_list_merge() returns a new list, so it's not the best idea
8615           to ingore its return value. Effectively meant that tags could only
8616           be merged on a GstTagSetter once using _merge_tags(). Fixes #395554.
8617           Also add function guard to require a non-NULL taglist as input (has
8618           always been so due to gst_tag_list_copy(), just making it explicit).
8619
8620 2007-01-11  Tim-Philipp Müller  <tim at centricular dot net>
8621
8622         * docs/random/draft-missing-plugins.txt:
8623           Some additions: mention new API that is supposed to be used at the
8624           various stages; short blob about new gst-inspect introspection
8625           option; mention potential future problem with plugins that have
8626           a dynamic list of elements (such as ladspa, pitfdll, libvisual).
8627
8628 2007-01-11  Tim-Philipp Müller  <tim at centricular dot net>
8629
8630         * tools/gst-inspect.c:
8631         (print_plugin_automatic_install_info_codecs),
8632         (print_plugin_automatic_install_info_protocols),
8633         (print_plugin_automatic_install_info), (main):
8634         Add --print-plugin-auto-install-info option to gst-inspect, so we can
8635         introspect plugin files and get machine-parsable output that corresponds
8636         to the last bit of the missing-plugin installer string (small gotcha:
8637         doesn't take into account ranks).
8638
8639 2007-01-11  Stefan Kost  <ensonic@users.sf.net>
8640
8641         * configure.ac:
8642         * docs/gst/gstreamer-sections.txt:
8643         * gst/Makefile.am:
8644         * gst/gstregistry.c: (gst_registry_lookup_feature_locked),
8645         (gst_registry_lookup_locked):
8646         * gst/gstregistry.h:
8647         * gst/gstregistrybinary.c: (gst_registry_binary_write),
8648         (gst_registry_binary_initialize_magic),
8649         (gst_registry_binary_save_string),
8650         (gst_registry_binary_save_pad_template),
8651         (gst_registry_binary_save_feature),
8652         (gst_registry_binary_save_plugin),
8653         (gst_registry_binary_write_cache),
8654         (gst_registry_binary_check_magic),
8655         (gst_registry_binary_load_pad_template),
8656         (gst_registry_binary_load_feature),
8657         (gst_registry_binary_load_plugin),
8658         (gst_registry_binary_read_cache):
8659         * gst/gstregistrybinary.h:
8660         * gst/gstregistryxml.c: (load_feature),
8661         (gst_registry_xml_read_cache):
8662           commit binary registry (disabled by default, see #359653)
8663
8664 2007-01-11  Tim-Philipp Müller  <tim at centricular dot net>
8665
8666         * tests/check/gst/gstpad.c: (test_get_allowed_caps):
8667           Fix 'make check' too.
8668
8669 2007-01-10  Andy Wingo  <wingo@pobox.com>
8670
8671         * docs/design/part-negotiation.txt: Fix a typo, add a couple
8672         notes.
8673         
8674         * docs/design/part-negotiation.txt: Update with, um, one way that
8675         pull-mode negotiation might work?
8676
8677         * gst/gstpad.h: 
8678         * gst/gstpad.c (gst_pad_get_allowed_caps): Remove the restriction
8679         that the pad must be a src pad; makes sense to call it the other
8680         way in pull mode, and the logic is symmetric anyway.
8681
8682 2007-01-10  Tim-Philipp Müller  <tim at centricular dot net>
8683
8684         * plugins/elements/gstfilesink.c:
8685           Include <stdio.h> for fseeko().
8686
8687 2007-01-10  Wim Taymans  <wim@fluendo.com>
8688
8689         * gst/gstevent.c:
8690         * gst/gstevent.h:
8691         Reserve LATENCY event.
8692
8693 2007-01-09  Wim Taymans  <wim@fluendo.com>
8694
8695         * docs/design/draft-latency.txt:
8696         Updates.
8697
8698 2007-01-09  Wim Taymans  <wim@fluendo.com>
8699
8700         * docs/design/draft-latency.txt:
8701         Updates.
8702
8703         * gst/gstelement.h:
8704         * gst/gststructure.c:
8705         * gst/gsttrace.c:
8706         Small typo fixes.
8707
8708 2007-01-09  Tim-Philipp Müller  <tim at centricular dot net>
8709
8710         * tests/check/.cvsignore:
8711           Ignore test-registry.xml as well.
8712
8713 2007-01-09  Wim Taymans  <wim@fluendo.com>
8714
8715         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad):
8716         unref data at the end when we are done with the pad.
8717
8718 2007-01-08  Tim-Philipp Müller  <tim at centricular dot net>
8719
8720         * docs/gst/gstreamer-sections.txt:
8721         * gst/gst.c: (load_plugin_func), (scan_and_update_registry),
8722         (init_post), (gst_deinit), (gst_update_registry):
8723         * gst/gst.h:
8724           API: add gst_update_registry() (#391296).
8725
8726         * tests/check/Makefile.am:
8727         * tests/check/gst/gstregistry.c:
8728         * tests/check/gst/.cvsignore:
8729           Simple unit test for the above.
8730
8731 2007-01-08  Tim-Philipp Müller  <tim at centricular dot net>
8732
8733         * gst/gstregistry.c: (gst_registry_scan_path_level):
8734           Plugin extension on HP-UX is .sl, add that to the list of approved
8735           plugin extensions (see #393796).
8736
8737         * tests/check/gst/gstpad.c: (GST_START_TEST):
8738           ulong => gulong. Fixes compilation with HP-UX compiler.
8739
8740         * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
8741           Fix compilation if valgrind headers are not available.
8742
8743 2007-01-07  Sébastien Moutte  <sebastien@moutte.net>
8744
8745         * win32/common/libgstreamer.def: 
8746           Add new exported function.
8747         * win32/vs6/libgstbase.dsp: 
8748           Add gstdataqueue.c to the build.
8749         * win32/vs6/libgstcoreelements.dsp:
8750           Add gstmultiqueue.c to the build.
8751         
8752 2007-01-06  Andy Wingo  <wingo@pobox.com>
8753
8754         * libs/gst/base/gstbasesink.h: New GstBaseSinkClass vmethod,
8755         activate_pull(), providing for a way to specialize the process of
8756         spawning a thread to pull on the sink pad. There is a default
8757         implementation.
8758
8759         * libs/gst/base/gstbasesink.c (gst_base_sink_pad_activate_pull)
8760         (gst_base_sink_pad_activate_push, gst_base_sink_pad_activate)
8761         (gst_base_sink_init): Renamed pad activation functions (inserting
8762         "_pad" in their names). Refactor to use the new activate_pull
8763         vmethod, as appropriate.
8764         (gst_base_sink_class_init, gst_base_sink_activate_pull): Set the
8765         default activate_pull function to start a task pulling from the
8766         sink pad, as before.
8767
8768         * gst/gstpad.c (gst_pad_get_range, gst_pad_pull_range): Set caps
8769         on the pads if necessary, as in push()/chain(). Update docs.
8770         Shouldn't affect existing pull() usage as it is currently only
8771         being used on buffers without caps.
8772
8773 2007-01-05  Tim-Philipp Müller  <tim at centricular dot net>
8774
8775         * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
8776         (init_pre):
8777           Call g_thread_init() first thing in gst_init() / gst_check_init().
8778           When initialisation is done via gst_init_get_option_group() and
8779           GOption parsing, issue a warning if the GLib thread system has not
8780           been initialised yet by the time gst_init_get_option_group() is
8781           called, as it's quite likely other GLib functions such as
8782           g_option_context_new() have been called already then, and
8783           g_thread_init() must be called before any other GLib function. The
8784           application in question must be fixed in that case, since memory
8785           corruption might happen otherwise.
8786           We issue the warning because even if the GLib folks decide to work
8787           around the problem on their end in future, this is still an issue
8788           with all GLib versions >= 2.10.0, so we should warn until we depend
8789           on a GLib version we know to be safe.
8790           Update documentation as well.
8791           Closes bug #391278.
8792
8793 2007-01-05  Tim-Philipp Müller  <tim at centricular dot net>
8794
8795         * tools/gst-inspect.c: (main):
8796         * tools/gst-launch.c: (main):
8797         * tools/gst-typefind.c: (main):
8798         * tools/gst-xmlinspect.c: (main):
8799           Call g_thread_init() really really early, before any other GLib
8800           function (see #342564 and recent discussion on gtk-devel-list).
8801
8802 2007-01-05  Tim-Philipp Müller  <tim at centricular dot net>
8803
8804         Patch by: Vincent Torri  <vtorri at univ-evry dot fr>
8805
8806         * gst/gst_private.h:
8807         * gst/gstconfig.h.in:
8808         * gst/gstinfo.h:
8809           On win32, all the __declspec stuff for symbol exporting is
8810           apparently only needed with MSVC, but doesn't work with MingW.
8811           Fixes compilation with MingW and #391909.
8812
8813 2007-01-05  Tim-Philipp Müller  <tim at centricular dot net>
8814
8815         * libs/gst/base/gstbasesrc.c: (gst_base_src_activate_push):
8816           Change some GST_ERROR_OBJECT that aren't really errors to
8817           GST_WARNING_OBJECT in order to reduce terminal spam.
8818
8819 2007-01-04  Stefan Kost  <ensonic@users.sf.net>
8820
8821         * tests/check/Makefile.am:
8822           disable test again, as there seem to be still race problems
8823
8824 2007-01-04  Stefan Kost  <ensonic@users.sf.net>
8825
8826         * tests/check/Makefile.am:
8827         * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
8828         (GST_START_TEST), (queue_suite):
8829           enable queue test again, add tests for the leaky behaviour
8830
8831 2007-01-02  Tim-Philipp Müller  <tim at centricular dot net>
8832
8833         * configure.ac:
8834         * tests/examples/Makefile.am:
8835           Compile adapter test/example only if the required headers are
8836           available (fixes #391915).
8837
8838 2007-01-01  David Schleef  <ds@schleef.org>
8839
8840         * gst/gstplugin.c:
8841           Restore the previous signal handler for SIGSEGV instead of
8842           setting to default, since we may have stolen it away from
8843           someone.  (i.e., Mono)
8844
8845 2006-12-26  Tim-Philipp Müller  <tim at centricular dot net>
8846
8847         * docs/random/draft-missing-plugins.txt:
8848           Some small additions and clarifications.
8849
8850 2006-12-26  Tim-Philipp Müller  <tim at centricular dot net>
8851
8852         * gst/gstregistryxml.c: (gst_registry_save_escaped):
8853           Make sure we don't pass non-UTF-8 strings to g_markup_escape(),
8854           since that can lead to random memory corruptions and crashes
8855           (may or may not be related to #383244, #386711, and #386711).
8856
8857 2006-12-21  Stefan Kost  <ensonic@users.sf.net>
8858
8859         * tests/check/.cvsignore:
8860         * tests/check/Makefile.am:
8861           sync .cvsignome and CLEANFILES
8862
8863 2006-12-21  Stefan Kost  <ensonic@users.sf.net>
8864
8865         * tests/check/Makefile.am:
8866           fix distcheck
8867
8868 2006-12-21  Stefan Kost  <ensonic@users.sf.net>
8869
8870         * docs/design/part-states.txt:
8871           two tiny additional comments
8872         
8873         * gst/gststructure.c:
8874           doc fixing
8875
8876         * tests/check/Makefile.am:
8877         * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
8878         (GST_START_TEST):
8879           disable test for now, unless it gets fixed
8880
8881 2006-12-21  Stefan Kost  <ensonic@users.sf.net>
8882
8883         * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
8884         (GST_START_TEST):
8885           fix race in underrun test
8886
8887 2006-12-21  Stefan Kost  <ensonic@users.sf.net>
8888
8889         * tests/check/elements/.cvsignore:
8890           ignore more
8891
8892         * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
8893         (GST_START_TEST):
8894           try to narrow test failure
8895
8896 2006-12-21  David Schleef  <ds@schleef.org>
8897
8898         * plugins/elements/gstfakesrc.c:
8899           Use g_random_int_range(), since it produces better random
8900           numbers in a range than almost-correct floating point code.
8901
8902 2006-12-21  Stefan Kost  <ensonic@users.sf.net>
8903
8904         * libs/gst/check/gstcheck.c: (gst_check_setup_src_pad),
8905         (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
8906         (gst_check_teardown_sink_pad):
8907           do not automatically (de)activate pads
8908
8909         * tests/check/Makefile.am:
8910         * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
8911         (setup_queue), (cleanup_queue), (GST_START_TEST), (queue_suite):
8912           add new, yet simple tests for queue
8913
8914         * tests/check/elements/fakesrc.c: (cleanup_fakesrc):
8915         * tests/check/elements/fdsrc.c: (cleanup_fdsrc):
8916         * tests/check/elements/filesrc.c: (cleanup_filesrc),
8917         (GST_START_TEST):
8918         * tests/check/elements/identity.c: (cleanup_identity):
8919           consistent pad (de)activation
8920
8921 2006-12-20  Tim-Philipp Müller  <tim at centricular dot net>
8922
8923         Patch by: Sebastian Dröge  <slomo ubuntu com>
8924
8925         * libs/gst/base/gstcollectpads.c:
8926           Fix two doc typos (#387866).
8927
8928 2006-12-19  Tim-Philipp Müller  <tim at centricular dot net>
8929
8930         * docs/manual/advanced-dparams.xml:
8931           Fix typo (g_object_control_properties() doesn't exist).
8932
8933 2006-12-19  Edward Hervey  <edward@fluendo.com>
8934
8935         * gst/gstsegment.c: (gst_segment_set_seek):
8936         Fine tune the cases where the segment start/stop values are really
8937         updated.
8938         * tests/check/gst/gstsegment.c: (GST_START_TEST):
8939         Add tests for the return values of gst_segment_set_seek().
8940
8941 2006-12-19  Tim-Philipp Müller  <tim at centricular dot net>
8942
8943         * gst/gst.c:
8944           Docs typo fix.
8945
8946         * plugins/elements/gstqueue.c: (gst_queue_class_init),
8947         (gst_queue_init):
8948           Fix incorrect documentation and flesh it out a bit more.
8949           Set default values for the max properties on the GParamSpec as well,
8950           so it shows up correctly in gst-inspect.
8951
8952 2006-12-18  Stefan Kost  <ensonic@users.sf.net>
8953
8954         * plugins/elements/gstqueue.c: (queue_leaky_get_type):
8955           Correct docs of queue, add more detail and crosslink it more.
8956
8957 2006-12-16  Tim-Philipp Müller  <tim at centricular dot net>
8958
8959         * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
8960           Print additional debug info when the stream isn't perfectly
8961           timestamped; don't try to use invalid durations.
8962
8963 2006-12-16  Tim-Philipp Müller  <tim at centricular dot net>
8964
8965         * docs/design/Makefile.am:
8966           Dist new design docs.
8967
8968 2006-12-16  Wim Taymans  <wim@fluendo.com>
8969
8970         Patch by: Sjoerd Simons <sjoerd at luon dot net>
8971
8972         * libs/gst/base/gstcollectpads.c: (ref_data), (unref_data),
8973         (gst_collect_pads_add_pad), (gst_collect_pads_remove_pad),
8974         (gst_collect_pads_stop), (gst_collect_pads_event),
8975         (gst_collect_pads_chain):
8976         * libs/gst/base/gstcollectpads.h:
8977         Add refcounting to the collectpads data so we can track when it's safe
8978         to free the data. Fixes #383382.
8979
8980 2006-12-15  Wim Taymans  <wim@fluendo.com>
8981
8982         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
8983         (gst_collect_pads_remove_pad):
8984         Automatically activate/deactivate pads when they are added to a
8985         started/stoped collectpads.
8986
8987 2006-12-15  Wim Taymans  <wim@fluendo.com>
8988
8989         * gst/gstelement.c: (gst_element_add_pad):
8990         * gst/gstghostpad.c: (gst_ghost_pad_new_full):
8991         * gst/gstpad.c: (gst_pad_init):
8992         Set pads to FLUSHING when they are created. Check, warn and fix when a
8993         demuxer adds an inactive pad to itself when running. Fixes #339326.
8994
8995 2006-12-15  Wim Taymans  <wim@fluendo.com>
8996
8997         * gst/gstelement.c: (gst_element_class_init),
8998         (gst_element_default_send_event), (gst_element_send_event),
8999         (gst_element_default_query), (gst_element_query):
9000         Expose default element send_event and query handling as vmethods that
9001         subclasses can chain up to.
9002
9003 2006-12-15  Wim Taymans  <wim@fluendo.com>
9004
9005         * gst/gstelement.c: (gst_element_set_state_func):
9006         Small documentation fixes.
9007
9008 2006-12-15  Wim Taymans  <wim@fluendo.com>
9009
9010         * docs/design/draft-latency.txt:
9011         Checked in draft for handling latency in pipelines.
9012
9013 2006-12-15  Thomas Vander Stichele  <thomas at apestaart dot org>
9014
9015         * Makefile.am:
9016         * gstreamer.doap:
9017         * gstreamer.spec.in:
9018           adding .doap file
9019
9020 2006-12-14  Tim-Philipp Müller  <tim at centricular dot net>
9021
9022         * gst/gst.c: (init_pre), (init_post):
9023           init_pre() and init_post() might be called via our GOptionGroup or
9024           from gst_init(), and we should skip both of them if we've already
9025           been initialised, otherwise we will init some things twice or add
9026           two default log functions.
9027
9028 2006-12-13  Edward Hervey  <edward@fluendo.com>
9029
9030         * docs/manual/basics-bus.xml:
9031         No, gst_main_loop does not exist. Its g_main_loop.
9032         Discovered by somebody who abused the copy-paste technique of coding :)
9033
9034 2006-12-13  Tim-Philipp Müller  <tim at centricular dot net>
9035
9036         * gst/gstghostpad.c:
9037           Log ghostpad debug stuff to the GST_PADS category as well rather
9038           than just to the default category.
9039
9040 2006-12-12  Tim-Philipp Müller  <tim at centricular dot net>
9041
9042         * configure.ac:
9043         * gst/gst.c: (init_pre):
9044           Add some basic system details such as OS and architecture
9045           to the debug output if possible, courtesy of uname().
9046
9047 2006-12-11  Tim-Philipp Müller  <tim at centricular dot net>
9048
9049         * docs/gst/running.xml:
9050           Document GST_REGISTRY_FORK and GST_DEBUG_NO_COLOR
9051           environment variables.
9052
9053 2006-12-09  Jan Schmidt  <thaytan@mad.scientist.com>
9054
9055         * tests/check/gst/gstbin.c: (GST_START_TEST):
9056         It is acceptable to have a refcount of 2 or 3 at this point in the
9057         test, because the pipeline might be just posting its state_change
9058         message. The next line then waits for that message to appear using
9059         bus_poll, so that should be fine too.
9060
9061 2006-12-09  Jan Schmidt  <thaytan@mad.scientist.com>
9062
9063         * gst/gst.c: (ensure_current_registry_forking):
9064         Ignore EINTR when reading from the child registry pipe.
9065         Explicitly ignore the return value from close, since it makes no
9066         difference.
9067
9068         * gst/gstminiobject.c: (gst_mini_object_ref),
9069         (gst_mini_object_unref):
9070         When debugging refcounts, check GST_IS_MINI_OBJECT and warn.
9071
9072         * gst/gstregistry.c: (_priv_gst_registry_remove_cache_plugins):
9073         When removing cached plugins, remove their features too, so they're
9074         not visible after they've disappeared.
9075
9076         * gst/gstutils.c: (prepare_link_maybe_ghosting):
9077         In the unlikely case that we are linking pads with no parents, don't
9078         crash trying to get the non-existent parent bin.
9079
9080         * gst/parse/grammar.y:
9081         Output debug in the PIPELINE category
9082
9083 2005-03-08  Wim Taymans  <wim@fluendo.com>
9084
9085         Patch by: René Stadler <mail at renestadler dot de>
9086
9087         * gst/gstclock.c: (gst_clock_new_periodic_id):
9088         Reject invalid clock times for interval of periodic ids.
9089         Fixes ##383506.
9090
9091 2006-12-07  Jan Schmidt  <thaytan@mad.scientist.com>
9092
9093         * gst/gstelementfactory.c: (gst_element_factory_create):
9094         * gst/gstpluginfeature.c: (gst_plugin_feature_load):
9095         * gst/gsttypefindfactory.c: (gst_type_find_factory_call_function):
9096         * tools/gst-inspect.c: (print_element_info):
9097         Fix refcounting of gst_plugin_feature_load to match the docs. 
9098         Fixes: #380129
9099
9100 2006-12-07  Wim Taymans  <wim@fluendo.com>
9101
9102         * libs/gst/base/gstbasesink.c: (gst_base_sink_event),
9103         (gst_base_sink_get_position):
9104         Improve debugging of events.
9105
9106 2006-12-07  Wim Taymans  <wim@fluendo.com>
9107
9108         Patch by: René Stadler <mail at renestadler dot de>
9109
9110         * gst/gstclock.c: (gst_clock_id_wait):
9111         Make period ids add the interval to the origial requested time instead
9112         of the possibly updated time which can be wrong when there are multiple
9113         waiters for the same id. Fixes #382592.
9114
9115         * gst/gstsystemclock.c: (gst_system_clock_async_thread),
9116         (gst_system_clock_id_wait_jitter_unlocked),
9117         (gst_system_clock_id_wait_jitter):
9118         Fix restart in the async notify thread when an async entry is added to
9119         the front of the list. Fixes #381492. 
9120
9121         * tests/check/gst/gstsystemclock.c: (store_callback),
9122         (notify_callback), (GST_START_TEST), (gst_systemclock_suite):
9123         Added test for multiple async waits.
9124         Added test for async wait order.
9125
9126 2006-12-07  Wim Taymans  <wim@fluendo.com>
9127
9128         * gst/gstbin.c: (gst_bin_query):
9129         Add some more docs about the POSITION query.
9130
9131 2006-12-07  Jan Schmidt  <thaytan@mad.scientist.com>
9132
9133         * configure.ac:
9134         Bump version nano - back to CVS.
9135
9136 === release 0.10.11 ===
9137
9138 2006-12-06  Jan Schmidt <thaytan@mad.scientist.com>
9139
9140         * configure.ac:
9141           releasing 0.10.11, "Love never runs on time"
9142
9143 2006-12-01  Jan Schmidt  <thaytan@mad.scientist.com>
9144
9145         * win32/common/libgstbase.def:
9146         * win32/common/libgstreamer.def:
9147         * win32/vs8/libgstbase.vcproj:
9148         * win32/vs8/libgstcoreelements.vcproj:
9149         * win32/vs8/libgstreamer.vcproj:
9150         Fix compilation on win32 under VS8
9151         Patch by: Sergey Scobich <sergey dot scobich at gmail dot com>
9152         Partially fixes #381175
9153
9154 2006-11-29  Jan Schmidt  <thaytan@mad.scientist.com>
9155
9156         * gst/gstvalue.c: (gst_value_compare_fraction):
9157         If someone is foolish enough to compare 2 fractions with denominator =
9158         0, return UNORDERED rather than aborting.
9159
9160 2006-11-28  Edward Hervey  <edward@fluendo.com>
9161
9162         * libs/gst/base/Makefile.am:
9163         * libs/gst/base/gstdataqueue.c: (gst_data_queue_get_type),
9164         (gst_data_queue_base_init), (gst_data_queue_class_init),
9165         (gst_data_queue_init), (gst_data_queue_new),
9166         (gst_data_queue_cleanup), (gst_data_queue_finalize),
9167         (gst_data_queue_locked_flush), (gst_data_queue_locked_is_empty),
9168         (gst_data_queue_locked_is_full), (gst_data_queue_flush),
9169         (gst_data_queue_is_empty), (gst_data_queue_is_full),
9170         (gst_data_queue_set_flushing), (gst_data_queue_push),
9171         (gst_data_queue_pop), (gst_data_queue_drop_head),
9172         (gst_data_queue_set_property), (gst_data_queue_get_property):
9173         * libs/gst/base/gstdataqueue.h:
9174         New GstDataQueue object for threadsafe queueing. Most useful for
9175         elements that need some queueing functionnality.
9176         * docs/libs/gstreamer-libs-docs.sgml:
9177         * docs/libs/gstreamer-libs-sections.txt:
9178         Insert documentation for GstDataQueue
9179         * plugins/elements/Makefile.am:
9180         * plugins/elements/gstelements.c:
9181         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_base_init),
9182         (gst_multi_queue_class_init), (gst_multi_queue_init),
9183         (gst_multi_queue_finalize), (gst_multi_queue_set_property),
9184         (gst_multi_queue_get_property), (gst_multi_queue_request_new_pad),
9185         (gst_multi_queue_release_pad), (gst_single_queue_push_one),
9186         (gst_multi_queue_item_destroy), (gst_multi_queue_item_new),
9187         (gst_multi_queue_loop), (gst_multi_queue_chain),
9188         (gst_multi_queue_sink_activate_push), (gst_multi_queue_sink_event),
9189         (gst_multi_queue_getcaps), (gst_multi_queue_bufferalloc),
9190         (gst_multi_queue_src_activate_push), (gst_multi_queue_acceptcaps),
9191         (gst_multi_queue_src_event), (gst_multi_queue_src_query),
9192         (wake_up_next_non_linked), (compute_next_non_linked),
9193         (single_queue_overrun_cb), (single_queue_underrun_cb),
9194         (single_queue_check_full), (gst_single_queue_new):
9195         * plugins/elements/gstmultiqueue.h:
9196         New multiqueue element, using GstDataQueue. Used for queuing multiple
9197         streams.
9198         Closes #344639 and #347785
9199
9200 2006-11-22  Stefan Kost  <ensonic@users.sf.net>
9201
9202         * docs/pwg/advanced-types.xml:
9203           add more missing type details
9204
9205         * tools/gst-run.c: (main):
9206           remove unused variable
9207
9208 2006-11-21  Stefan Kost  <ensonic@users.sf.net>
9209
9210         * docs/libs/Makefile.am:
9211         * docs/libs/gstreamer-libs.types:
9212           add types of base classes to enable gobject specific stuff in the docs
9213
9214         * docs/random/ensonic/embedded.txt:
9215           more ideas about isolating platform specific things
9216
9217 2006-11-20  Wim Taymans  <wim@fluendo.com>
9218
9219         Patch by: Sebastian Dröge <slomo at ubuntu dot com>
9220
9221         * libs/gst/check/gstcheck.h:
9222         Fix compilation and running against 0.9.4. Fixes #377332.
9223
9224 2006-11-20  Wim Taymans  <wim@fluendo.com>
9225
9226         * gst/gstsegment.c: (gst_segment_set_seek),
9227         (gst_segment_set_newsegment_full), (gst_segment_to_stream_time),
9228         (gst_segment_to_running_time):
9229         Fix boundary checking in to_running_time() and to_stream_time().
9230         Fixes #377183.
9231
9232         * tests/check/gst/gstsegment.c: (GST_START_TEST):
9233         stream and running time can now be calculated for the complete
9234         clipped segment.
9235
9236 2006-11-15  Tim-Philipp Müller  <tim at centricular dot net>
9237
9238         * gst/gstpad.c: (gst_pad_push_event):
9239           Can't access event structure after giving away ownership of
9240           the event.
9241
9242 2006-11-15  Stefan Kost  <ensonic@users.sf.net>
9243
9244         * docs/random/ensonic/embedded.txt:
9245         * docs/random/ensonic/profiling.txt:
9246         * docs/random/ensonic/receipies.txt:
9247           more thinking
9248
9249 2006-11-13  Wim Taymans  <wim@fluendo.com>
9250
9251         Patch by: Mark Nauwelaerts <manauw at skynet dot be>
9252
9253         * gst/gstpad.c:
9254         Fix documentation for gst_pad_dispatcher. Fixes #374475.
9255
9256 2006-11-13  Wim Taymans  <wim@fluendo.com>
9257
9258         Patch by: Jonathan Matthew <jonathan at kaolin dot wh9 dot net>
9259
9260         * libs/gst/base/gstbasesrc.c: (gst_base_src_update_length):
9261         Store new length in segment duration so we don't keep on calling the
9262         potentially expensize get_size() call. Fixes #370865.
9263
9264 2006-11-10  Tim-Philipp Müller  <tim at centricular dot net>
9265
9266         Patch by: Sergey Scobich  <sergey.scobich at gmail com>
9267
9268         * win32/common/libgstreamer.def:
9269           Add two missing symbols (#366492).
9270
9271 2006-11-10  Jan Schmidt  <thaytan@mad.scientist.com>
9272
9273         * libs/gst/base/gstadapter.c: (gst_adapter_flush),
9274         (gst_adapter_take_buffer):
9275         Fix format string to use all its arguments.
9276         Remove useless >= check on a guint
9277
9278 2006-11-09  Jan Schmidt  <thaytan@mad.scientist.com>
9279
9280         * tests/examples/adapter/.cvsignore:
9281         Ignore build file as commanded by the build-bot
9282
9283 2006-11-09  Jan Schmidt  <thaytan@mad.scientist.com>
9284
9285         * tests/examples/adapter/Makefile.am:
9286         * tests/examples/adapter/adapter_test.c: (run_test_take),
9287         (run_test_take_buffer), (run_tests), (main):
9288
9289         Add new files from the previous commit
9290
9291 2006-11-09  Jan Schmidt  <thaytan@mad.scientist.com>
9292
9293         * Makefile.am:
9294         * configure.ac:
9295         * libs/gst/base/gstadapter.c: (gst_adapter_clear),
9296         (gst_adapter_push), (gst_adapter_peek_into), (gst_adapter_peek),
9297         (gst_adapter_flush), (gst_adapter_take), (gst_adapter_take_buffer):
9298         * libs/gst/base/gstadapter.h:
9299         * tests/check/libs/adapter.c: (create_and_fill_adapter),
9300         (GST_START_TEST), (gst_adapter_suite):
9301         * tests/examples/Makefile.am:
9302         Do some optimisation work in GstAdapter to avoid copies in more cases.
9303         It could still do slightly better by merging buffers when
9304         gst_buffer_is_span_fast is true, but is already faster. 
9305
9306         Also, avoid traversing a single-linked list to append each incoming 
9307         buffer inside the adapter.
9308
9309         Add simple test app that times the adapter behaviour in different
9310         situations, and extend the unit test to check that bytes enter and
9311         exit the adapter in their original order.
9312
9313 2006-11-08  Tim-Philipp Müller  <tim at centricular dot net>
9314
9315         * docs/random/draft-missing-plugins.txt:
9316           Update: use element message instead of adding a new message
9317           type to the core; don't provide GStreamer API to initiate the
9318           plugin download, just provide API to compose the strings needed
9319           and let an external libgimmestuff handle the rest.
9320
9321 2006-11-08  Jan Schmidt  <thaytan@mad.scientist.com>
9322
9323         * tools/gst-inspect.c: (print_element_properties_info):
9324         Print a string instead of 'unknown type' for GValueArray properties
9325
9326 2006-11-08  Christian F.K. Schaller  <christian@fluendo.com>
9327
9328         * docs/random/draft-missing-plugins.txt:
9329         More small fixes.
9330
9331 2006-11-07  Tim-Philipp Müller  <tim at centricular dot net>
9332
9333         * tests/examples/typefind/typefind.c: (type_found), (main):
9334           Make typefind element example work again (#371894); add a
9335           license header.
9336
9337 2006-11-07  Tim-Philipp Müller  <tim at centricular dot net>
9338
9339         * docs/random/draft-missing-plugins.txt:
9340           Commit initial draft about how to deal with missing plugins,
9341           needs work (API too).
9342
9343 2006-11-07  Stefan Kost  <ensonic@users.sf.net>
9344
9345         * docs/pwg/advanced-types.xml:
9346           documents the new caps elements (see #363118)
9347
9348 2006-11-06  Tim-Philipp Müller  <tim at centricular dot net>
9349
9350         * gst/gstplugin.c: (gst_plugin_load_file):
9351         * plugins/elements/gstfilesrc.c: (gst_mmap_buffer_finalize),
9352         (gst_file_src_map_region), (gst_file_src_start):
9353         * plugins/indexers/gstfileindex.c: (gst_file_index_load),
9354         (gst_file_index_commit):
9355           Use g_strerror() instead of strerror() - we want UTF-8.
9356
9357 2006-11-06  Tim-Philipp Müller  <tim at centricular dot net>
9358
9359         Patch by: Peter Kjellerstedt <pkj at axis com>
9360
9361         * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
9362           Another printf fix (#371493).
9363
9364 2006-11-06  Stefan Kost  <ensonic@users.sf.net>
9365
9366         * tests/check/gst/gsttag.c:
9367           relicence (okay with author=company)
9368
9369 2006-11-06  Stefan Kost  <ensonic@users.sf.net>
9370
9371         * gst/gstpad.c: (gst_pad_event_default_dispatch),
9372         (gst_pad_push_event):
9373           Enhance debug and improve docs
9374         
9375         * gst/gsturi.c:
9376           Fix docs
9377
9378 2006-11-06  Stefan Kost  <ensonic@users.sf.net>
9379
9380         * docs/random/ensonic/distributed.txt:
9381         * docs/random/ensonic/profiling.txt:
9382           more ideas
9383
9384 2006-11-06  Stefan Kost  <ensonic@users.sf.net>
9385
9386         * docs/gst/gstreamer-sections.txt:
9387           add new API and fix the build
9388           
9389         * gst/gstbin.c: (gst_bin_recalc_state):
9390         * gst/gstelement.c: (gst_element_message_full),
9391         (gst_element_get_state_func), (gst_element_set_state_func):
9392           use new API and improve logging
9393         
9394         * gst/gstutils.c: (gst_element_state_change_return_get_name):
9395         * gst/gstutils.h:
9396           API: add function to get StateChangereturn names to improve logs 
9397
9398 2006-11-04  Thomas Vander Stichele  <thomas at apestaart dot org>
9399
9400         * plugins/elements/gstfilesrc.c: (gst_file_src_start):
9401           I'm considering shooting the next person to put strerror stuff
9402           in the translateable part of the message.
9403
9404 2006-11-03  Wim Taymans  <wim@fluendo.com>
9405
9406         * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
9407         Get the type and printf conversion specifiers right.
9408
9409 2006-11-03  Wim Taymans  <wim@fluendo.com>
9410
9411         Patch by: Mark Nauwelaerts <manauw at skynet dot be>
9412
9413         * gst/gstpad.c: (gst_pad_init), (pre_activate),
9414         (gst_pad_set_blocked_async), (gst_pad_acceptcaps_default),
9415         (gst_pad_accept_caps), (handle_pad_block), (gst_pad_push_event):
9416         Some small cleanups. Improve debugging.
9417         * gst/gstpad.h:
9418         Signal all waiting threads with a broadcast instead of just one.
9419         Fixes #369942.
9420
9421 2006-11-03  Wim Taymans  <wim@fluendo.com>
9422
9423         * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd),
9424         (gst_fd_src_create):
9425         Add some debugging. 
9426         Only update fd when it's different from the old.
9427
9428 2006-11-02  Tim-Philipp Müller  <tim at centricular dot net>
9429
9430         * plugins/elements/gstfilesrc.c: (gst_file_src_create_mmap):
9431           Printf fixes for PPC/OSX, take two (#369366).
9432
9433 2006-11-02  Tim-Philipp Müller  <tim at centricular dot net>
9434
9435         Based on patch by: Jan David Mol  <j.j.d.mol at tudelft nl>
9436
9437         * plugins/elements/gstfilesink.c: (gst_file_sink_class_init):
9438         * plugins/elements/gstfilesrc.c: (gst_file_src_class_init),
9439         (gst_file_src_map_small_region), (gst_file_src_create_mmap):
9440           Printf fixes for gsize parameters on PPC/OSX (#369366). Also,
9441           don't cast to long long for portability reasons, but use
9442           GLib's types instead.
9443
9444 2006-10-30  Michael Smith  <msmith@fluendo.com>
9445
9446         * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
9447           Get the arguments to lseek() the right way around.
9448           Fixes 367677.
9449
9450 2006-10-30  Wim Taymans  <wim@fluendo.com>
9451
9452         Patch by: gorshkov <gorshkov at oghma dot on dot ca>
9453
9454         * gst/gstinfo.h:
9455         _declspec should be __declspec (two underscores, not one). Fixes 366572.
9456
9457 2006-10-28  Tim-Philipp Müller  <tim at centricular dot net>
9458
9459         Patch by: Kjartan Maraas  <kmaraas at gnome org>
9460
9461         * docs/design/part-MT-refcounting.txt:
9462         * docs/random/wtay/capsnego2-docs:
9463         * gst/gstclock.c:
9464         * gst/gstxml.c:
9465           Typo fixes (#366212).
9466
9467 2006-10-28  Wim Taymans  <wim@fluendo.com>
9468
9469         Patch by: Sergey Scobich <sergey dot scobich at gmail dot com>
9470
9471         * gst/gst.c:
9472         * win32/common/libgstbase.def:
9473         * win32/common/libgstreamer.def:
9474         * win32/vs8/libgstbase.vcproj:
9475         * win32/vs8/libgstcontroller.vcproj:
9476         Add needed entries in .def files.
9477         Use HAVE_UNISTD_H.
9478         Rearrange def files in vs8 solutions. Fixes #366286.
9479
9480 2006-10-28  Tim-Philipp Müller  <tim at centricular dot net>
9481
9482         * win32/common/gstconfig.h:
9483           Add GST_SEGMENT_FORMAT and GST_USING_PRINTF_EXTENSION to the
9484           hand-made win32 gstconfig.h. Fixes #366321.
9485
9486 2006-10-27  Wim Taymans  <wim@fluendo.com>
9487
9488         * gst/gstghostpad.c: (gst_proxy_pad_do_acceptcaps),
9489         (gst_ghost_pad_new_full):
9490         Make acceptcaps return TRUE when we don't have a target, just like
9491         setcaps does.
9492
9493 2006-10-27  Wim Taymans  <wim@fluendo.com>
9494
9495         * libs/gst/base/gstbasetransform.c: (gst_base_transform_chain):
9496         Revert previous commit, 0 sized buffers are allowed. Reopens #363095.
9497
9498 2006-10-26  Tim-Philipp Müller  <tim at centricular dot net>
9499
9500         * gst/gststructure.c: (gst_structure_id_set_value):
9501           If someone tries to set a non-UTF8 string field on a structure,
9502           don't just print a warning, but also ignore the request and do
9503           not change/add that field to the structure.
9504
9505         * tests/check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
9506           Test for the above.
9507
9508 2006-10-25  David Schleef  <ds@schleef.org>
9509
9510         * gst/gstinfo.c:
9511           g_hash_table_insert() needs a cast to a non-const pointer duh.
9512
9513 2006-10-25  David Schleef  <ds@schleef.org>
9514
9515         * gst/gstinfo.c:
9516         * gst/gstinfo.h:
9517           Change name parameter of _gst_debug_register_funcptr to const
9518           to reflect the constness of its use in the function as well
9519           as to quiet a gcc warning.
9520
9521 2006-10-25  Edward Hervey  <edward@fluendo.com>
9522
9523         * libs/gst/base/gstbasetransform.c: (gst_base_transform_chain):
9524         Don't push the buffer if it's empty.
9525         Closes #363095
9526
9527 2006-10-24  Wim Taymans  <wim@fluendo.com>
9528
9529         * gst/gstevent.h:
9530         Add small comment.
9531
9532         * libs/gst/base/gstbasetransform.c:
9533         (gst_base_transform_sink_eventfunc):
9534         Debug segment values *after* updating them as this is more
9535         interesting.
9536
9537 2006-10-23  Wim Taymans  <wim@fluendo.com>
9538
9539         * docs/design/part-events.txt:
9540         Update some docs.
9541
9542         * docs/design/part-block.txt:
9543         * gst/gstpad.c: (gst_pad_is_blocking), (handle_pad_block),
9544         (gst_pad_push_event):
9545         Revert BLOCKING patch, it tries to be smart without really having a
9546         clear idea what or how. So, now we discard all FLUSHING events again on
9547         a blocking pad. Should fix gnonlin again.
9548
9549 2006-10-23  Wim Taymans  <wim@fluendo.com>
9550
9551         Patch by: Sergey Scobich <sergey dot scobich at gmail dot com>
9552
9553         * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
9554         (gst_base_src_start), (gst_base_src_activate_push):
9555         Make sure size is always initialized. Fixes #364388.
9556
9557 2006-10-20  Stefan Kost  <ensonic@users.sf.net>
9558
9559         * docs/random/ensonic/distributed.txt:
9560           add some ideas about doing distributed processing
9561
9562         * docs/random/ensonic/profiling.txt:
9563           get_rusage look promising
9564
9565 2006-10-18  Stefan Kost  <ensonic@users.sf.net>
9566
9567         * docs/manual/basics-helloworld.xml:
9568           Add a cast in example to fix compile warning
9569
9570 2006-10-18  Wim Taymans  <wim@fluendo.com>
9571
9572         * gst/gstsegment.c: (gst_segment_set_last_stop),
9573         (gst_segment_set_seek), (gst_segment_set_newsegment_full):
9574         Relax arg checking again, -1 is allowed.
9575
9576 2006-10-18  Wim Taymans  <wim@fluendo.com>
9577
9578         * gst/gstsegment.c: (gst_segment_set_last_stop),
9579         (gst_segment_set_seek), (gst_segment_set_newsegment_full):
9580         _set_last_stop() must be with a value != -1
9581         A _TYPE_SET to -1 means seek to 0.
9582         Calc last_stop correctly for negative rates.
9583         Make sure we work with positive durations when updating a segment.
9584
9585 2006-10-18  Wim Taymans  <wim@fluendo.com>
9586
9587         * docs/design/part-live-source.txt:
9588         * gst/gstclock.h:
9589         Small docs fixes.
9590
9591 2006-10-18  Tim-Philipp Müller  <tim at centricular dot net>
9592
9593         * gst/gstbuffer.h:
9594           Add an explicit cast to GstBuffer** to keep old code that added an
9595           explicit cast to GstMiniObject** for gst_mini_object_replace()
9596           compiling without warning.
9597
9598 2006-10-18  Stefan Kost  <ensonic@users.sf.net>
9599
9600         * gst/gstvalue.c: (gst_value_set_date), (gst_date_copy):
9601           check for validity of dates
9602
9603 2006-10-17  Tim-Philipp Müller  <tim at centricular dot net>
9604
9605         * docs/gst/gstreamer-sections.txt:
9606           Forgot this one, makes gtk-doc shut up.
9607
9608 2006-10-17  Tim-Philipp Müller  <tim at centricular dot net>
9609
9610         Patch by: Peter Kjellerstedt <pkj at axis com>
9611
9612         * gst/gstobject.h:
9613           Don't define xmlNodePtr to gpointer if the core was built with
9614           --disable-loadsave and --disable-registry, this will break
9615           applications that want to use libxml2 but are buildling against a
9616           core that doesn't use libxml2. Use an intermediary type GstXmlNodePtr
9617           instead so we don't have to mess with the libxml2 namespace
9618           (#361675).
9619
9620 2006-10-17  Tim-Philipp Müller  <tim at centricular dot net>
9621
9622         * gst/gstbuffer.h:
9623           Fix gst_buffer_replace() macro to avoid gst_mini_object_replace()-related
9624           type-punned pointer warnings.
9625
9626 2006-10-16  Tim-Philipp Müller  <tim at centricular dot net>
9627
9628         * gst/gstelement.h:
9629           Add casts to the correct return type to state <=> state transition
9630           macros.
9631
9632 2006-10-16  Stefan Kost  <ensonic@users.sf.net>
9633
9634         * docs/design/part-live-source.txt:
9635           describe howto handle latency
9636         
9637         * docs/random/ensonic/profiling.txt:
9638           more ideas
9639
9640         * tools/gst-plot-timeline.py:
9641           fix log parsing for solaris, remove unused function
9642
9643 2006-10-16  Wim Taymans  <wim@fluendo.com>
9644
9645         * docs/design/part-trickmodes.txt:
9646         * gst/gstevent.c:
9647         Update some docs regarding reverse playback.
9648
9649 2006-10-15  Tim-Philipp Müller  <tim at centricular dot net>
9650
9651         Patch by: Marcus Granado  <mrc dot gran at gmail com>
9652
9653         * win32/vs8/grammar.vcproj:
9654           Error out with a warning if glib-genmarshal.exe is not in path,
9655           instead of creating bogus gstmarshal.[ch] files. Fixes #361720.
9656
9657 2006-10-13  Wim Taymans  <wim@fluendo.com>
9658
9659         * gst/gstsegment.c: (gst_segment_set_seek):
9660         When seeking to stop -1, set last_stop (current position) to the
9661         duration of the segment.
9662
9663 2006-10-13  Wim Taymans  <wim@fluendo.com>
9664
9665         * gst/gstelement.h:
9666         Clarify _NO_PREROLL a bit more.
9667
9668         * gst/gstevent.c:
9669         Fix docs.
9670
9671         * gst/gstpad.c: (gst_pad_link_check_hierarchy),
9672         (gst_pad_get_caps_unlocked), (gst_pad_save_thyself),
9673         (handle_pad_block), (gst_pad_push_event), (gst_pad_send_event):
9674         Patch by: Yves Lefebvre <ivanohe at abacom dot com> Fix possible deadlock
9675         due to wrong locking order. Fixes #361769.
9676         Remove some redundant/misplaced checks in pad_block.
9677
9678         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
9679         For negative rates, count backwards from the duration.
9680
9681 2006-10-13  Tim-Philipp Müller  <tim at centricular dot net>
9682
9683         * gst/gsterror.c: (_gst_library_errors_init):
9684           Fix error message for GST_LIBRARY_ERROR_SETTINGS (feel free to come
9685           up with something better).
9686
9687 2006-10-12  Tim-Philipp Müller  <tim at centricular dot net>
9688
9689         * win32/vs6/libgstreamer.dsp:
9690         * win32/vs7/libgstreamer.vcproj:
9691         * win32/vs8/libgstreamer.vcproj:
9692           Don't reference glib-compat.c which is currently not used and not
9693           disted; add gstquark.c which was recently added. Fixes #361730.
9694
9695 2006-10-12  Tim-Philipp Müller  <tim at centricular dot net>
9696
9697         * win32/common/libgstbase.def:
9698         * win32/common/libgstcontroller.def:
9699         * win32/common/libgstreamer.def:
9700           Add gst_caps_merge() and a bunch of other recently-added functions.
9701           Fixes #361732.
9702
9703 2006-10-11  Wim Taymans  <wim@fluendo.com>
9704
9705         * docs/plugins/gstreamer-plugins.args:
9706         * docs/plugins/inspect/plugin-coreelements.xml:
9707         * docs/plugins/inspect/plugin-coreindexers.xml:
9708         Update element args.
9709
9710         * gst/gstsystemclock.c:
9711         Small comment update.
9712
9713         * plugins/elements/gsttee.c: (gst_tee_class_init), (gst_tee_init),
9714         (gst_tee_request_new_pad), (gst_tee_release_pad),
9715         (gst_tee_buffer_alloc), (gst_tee_sink_activate_push),
9716         (gst_tee_sink_activate_pull):
9717         * plugins/elements/gsttee.h:
9718         Some tee loving:
9719         Add default property defines.
9720         Implement release pad function.
9721         Give properties better blubs etc.
9722         Activate pads before adding them to a running tee.
9723         Do simple buffer_alloc on the first requested pad.
9724         Post error when activation fails.
9725
9726 2006-10-11  Tim-Philipp Müller  <tim at centricular dot net>
9727
9728         * gst/gst.c: (ensure_current_registry_forking):
9729           Check return value of write() to make compiler happy.
9730
9731 2006-10-11  Wim Taymans  <wim@fluendo.com>
9732
9733         Patch by: Sjoerd Simons <sjoerd at luon dot net>
9734
9735         * plugins/elements/gstqueue.c: (gst_queue_chain):
9736         Recheck queue filledness after signalling the overrun when we're about
9737         to leak downstream because we released the lock when emitting the signal
9738         and the queue could be empty again. Fixes #352345.
9739
9740 2006-10-11  Tim-Philipp Müller  <tim at centricular dot net>
9741
9742         * libs/gst/controller/gstcontroller.c: (gst_controller_new_list):
9743           Fix refcounting here too, just like we did for _new_valist() a few
9744           days ago (#357180) (thanks to René Stadler). Also remove all those
9745           'Since: 0.9' from the gtk-doc blobs.
9746
9747         * tests/check/libs/controller.c: (controller_refcount_new_list),
9748         (gst_controller_suite):
9749           Unit test for the above.
9750
9751 2006-10-10  Wim Taymans  <wim@fluendo.com>
9752
9753         Patch by: Sebastien Cote <sebas642 at yahoo dot ca>
9754
9755         * gst/gstpad.c: (gst_pad_get_caps_unlocked),
9756         (gst_pad_save_thyself):
9757         Update some docs.
9758         Write pad direction in XML output. Fixes #345496.
9759
9760 2006-10-10  Wim Taymans  <wim@fluendo.com>
9761
9762         Patch by: René Stadler <mail at renestadler dot de>
9763
9764         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
9765         (gst_controller_new_list), (_gst_controller_dispose),
9766         (_gst_controller_finalize), (_gst_controller_class_init):
9767         Take ref to controlled object so that it cannot disappear. 
9768         Fixes #357432.
9769
9770 2006-10-10  Wim Taymans  <wim@fluendo.com>
9771
9772         * libs/gst/check/gstcheck.c: (gst_check_setup_src_pad),
9773         (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
9774         (gst_check_teardown_sink_pad):
9775         Activate/deactivate pads in setup/teardown respectively.
9776
9777 2006-10-10  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
9778
9779         Patch by: Josep Torra Valles <josep@fluendo.com>
9780
9781         * gst/Makefile.am:
9782         Cast values when making gstenumtypes.h.  This pacifies Forte
9783         so it doesn't warn about the ~0 as GST_MESSAGE_ANY not fitting
9784         in the enumeration.
9785
9786 2006-10-09  Wim Taymans  <wim@fluendo.com>
9787
9788         * gst/gstevent.c: (gst_event_new_seek), (gst_event_parse_seek):
9789         Rename some more @cur to @start to fix docs. 
9790
9791         * gst/gstsegment.c: (gst_segment_set_seek):
9792         Fix typo.
9793         time and start must always stay in sync as defined in design doc.
9794
9795         * gst/gsttaglist.c: (gst_tag_list_is_empty):
9796         Rename param to fix docs.
9797
9798         * tests/check/gst/gstsegment.c: (GST_START_TEST):
9799         Check that start and time are in sync.
9800
9801         * tests/check/pipelines/parse-launch.c:
9802         (gst_parse_test_element_change_state):
9803         Activate pad before adding to the element.
9804
9805 2006-10-09  Wim Taymans  <wim@fluendo.com>
9806
9807         * docs/design/part-qos.txt:
9808         Fix typo.
9809
9810         * gst/gstevent.c:
9811         * gst/gstevent.h:
9812         Update seek event docs regarding negative rates.
9813         Rename @cur to @start. 
9814
9815         * gst/gstsegment.c: (gst_segment_set_seek):
9816         * gst/gstsegment.h:
9817         Update set_seek docs regarding negative rates.
9818         Correctly update last_stop to @stop when dealing with negative
9819         rates.
9820         Rename @cur to @start. 
9821
9822         * tests/check/gst/gstpad.c: (GST_START_TEST):
9823         Activate pads before trying to use them.
9824
9825         * tests/check/gst/gstsegment.c: (GST_START_TEST),
9826         (gst_segment_suite):
9827         Add simple check for segments and negative rates.
9828
9829 2006-10-09  Tim-Philipp Müller  <tim at centricular dot net>
9830
9831         * gst/gsttaglist.c: (gst_tag_list_is_empty):
9832         * gst/gsttaglist.h:
9833         * docs/gst/gstreamer-sections.txt:
9834           API: add gst_tag_list_is_empty() (#360467).
9835
9836         * tests/check/gst/gsttag.c: (GST_START_TEST):
9837           And a test case.
9838
9839 2006-10-09  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
9840
9841         * gst/gstmessage.h:
9842         Revert change from earlier wrt GST_MESSAGE_TYPE_ANY having
9843         a value that doesn't fit on enumeration.
9844
9845 2006-10-09  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
9846
9847         * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
9848         Remove local debugging system and use Gstreamer's instead.
9849
9850 2006-10-09  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
9851
9852         Patch by: Josep Torra Valles <josep@fluendo.com>
9853
9854         * common/m4/gst-error.m4:
9855         Disable warning of statement not reached on Forte.
9856         * gst/gstmessage.h:
9857         Fix warning on Forte (value doesn't fit on enumeration).
9858         * libs/gst/base/gstbasesink.c: (gst_base_sink_chain_unlocked):
9859         Fix warning on Forte (value doesn't fit on enumeration).
9860         * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
9861         DEBUG macro says it takes minimum of 2 args and so Forte
9862         complains about the use with just 1 arg.
9863         * plugins/elements/gstfdsink.c:
9864         * plugins/elements/gstfdsrc.c:
9865         * plugins/elements/gstfilesink.c:
9866         * plugins/elements/gstfilesrc.c:
9867         Use correct return type for the uri handler implementations.
9868
9869         All these fix warnings in Forte.  Fixes bug #360860.
9870
9871 2006-10-08  Tim-Philipp Müller  <tim at centricular dot net>
9872
9873         * gst/gstelement.h:
9874           gcc versions prior to gcc 3.3 apparently complain about a NULL printf
9875           format string, so don't use G_GNUC_PRINTF for those versions.
9876
9877 2006-10-07  Tim-Philipp Müller  <tim at centricular dot net>
9878
9879         * gst/gsttaglist.c: (gst_is_tag_list):
9880         * gst/gsttaglist.h:
9881           Minor fixes to GST_IS_TAG_LIST and gst_is_tag_list().
9882
9883         * tests/check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
9884           Small test for the above.
9885
9886 2006-10-07  Tim-Philipp Müller  <tim at centricular dot net>
9887
9888         * gst/gsttaglist.h:
9889           Less tabs, more spaces.
9890
9891 2006-10-06  Tim-Philipp Müller  <tim at centricular dot net>
9892
9893         * gst/gstinfo.h:
9894           Those two function declarations do actually belong there, revert
9895           commit from yesterday that turned them intro macros.
9896
9897 2006-10-06  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
9898
9899         Patch by: Josep Torra Valles <josep@fluendo.com>
9900
9901         * gst/gst.c: (gst_init_get_option_group):
9902         Fix empty declaration and type mismatch.
9903         * gst/gstbin.c: (gst_bin_change_state_func):
9904         Fix type mismatch.
9905         * gst/gstelement.c: (gst_element_continue_state),
9906         (gst_element_set_state_func), (gst_element_change_state),
9907         (gst_element_change_state_func):
9908         Fix type mismatches.
9909         * gst/gstinfo.c: (gst_debug_compare_log_function_by_func),
9910         (gst_debug_remove_log_function), (_gst_debug_nameof_funcptr):
9911         Cast as appropriate.
9912         * gst/gstobject.c: (gst_class_signal_connect):
9913         Cast as appropriate.  The function pointer parameter really
9914         has the wrong type but would break API if we change it.
9915         * gst/gstquery.c:
9916         Fix redefinition of _FILE_OFFSET_BITS caused on Solaris wrt
9917         order of including string.h.
9918         * gst/gstutils.c: (gst_element_state_get_name):
9919         Remove unreachable line.
9920         * gst/gstxml.c: (gst_xml_parse_doc):
9921         Fix type mismatch.
9922         All these caught by Forte.
9923
9924 2006-10-06  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
9925
9926         Patch by: Josep Torra Valles <josep@fluendo.com>
9927
9928         * common/m4/gst-error.m4:
9929         Fixed bug #360151.
9930         We need to disable warnings on Forte for empty declarations
9931         due to gst-indent adding ;s to lines that just use macros
9932         where the macro actually doesn't need a ; at end to end
9933         statement.
9934
9935 2006-10-06  Wim Taymans  <wim@fluendo.com>
9936
9937         * plugins/elements/gstfilesink.c: (gst_file_sink_open_file),
9938         (gst_file_sink_close_file), (gst_file_sink_event),
9939         (gst_file_sink_render):
9940         Add some FIXME for the NEWSEGMENT handling.
9941
9942 2006-10-05  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
9943
9944         * gst/parse/grammar.y:
9945         Remove static function gst_parse_element_lock as all it does
9946         is return.  Looks like cruft from 0.8.
9947
9948 2006-10-05  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
9949
9950         Patch by: Josep Torra Valles <josep@fluendo.com>
9951
9952         * common/m4/gst-error.m4:
9953         * configure.ac:
9954         * libs/gst/net/Makefile.am:
9955         Fix a compilation issue with Forte on Solaris.  inet_aton is in
9956         libresolv.
9957
9958 2006-10-05  Tim-Philipp Müller  <tim at centricular dot net>
9959
9960         * gst/gstpad.c: (pre_activate):
9961         * gst/gstregistry.c: (gst_registry_scan_path_level):
9962         * gst/gstregistryxml.c: (load_plugin):
9963         * libs/gst/controller/gstcontroller.c:
9964         (gst_controlled_property_set_interpolation_mode):
9965         * libs/gst/dataprotocol/dataprotocol.c:
9966         (gst_dp_packet_from_event_1_0):
9967         * libs/gst/net/gstnetclientclock.c:
9968         (gst_net_client_clock_observe_times):
9969         * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
9970           Printf fixes.
9971
9972 2006-10-05  Tim-Philipp Müller  <tim at centricular dot net>
9973
9974         * configure.ac:
9975         * docs/gst/gstreamer-sections.txt:
9976         * gst/gstconfig.h.in:
9977         * gst/gstelement.h:
9978         * gst/gstinfo.h:
9979           Add GST_USING_PRINTF_EXTENSION to gstconfig.h so that we know
9980           whether we can use G_GNUC_PRINTF in other header files and at
9981           least check the printf format/arguments of debug messages and
9982           GST_ELEMENT_ERROR messages when the printf extension is not
9983           being used.
9984           Replace more tabs with spaces in gstinfo.h and remove two spurious
9985           function declarations in GST_DISABLE_DEBUG part with macros.
9986
9987 2006-10-03  Tim-Philipp Müller  <tim at centricular dot net>
9988
9989         * gst/gstbus.c: (gst_bus_class_init), (gst_bus_post):
9990           More docs for the sync-message signal (mention that it is not
9991           emitted by default); log message structures of messages posted on
9992           the bus as well.
9993
9994 2006-10-03  Jan Schmidt  <thaytan@mad.scientist.com>
9995
9996         * gst/gst.c: (ensure_current_registry_forking):
9997         Use a pipe pair to receive status results from the forked child, and
9998         ignore the result from waitpid. Fixes #355499
9999
10000 2006-10-02  Wim Taymans  <wim@fluendo.com>
10001
10002         * tests/check/gst/gstghostpad.c: (GST_START_TEST),
10003         (gst_ghost_pad_suite):
10004         Fix leak in check.
10005
10006 2006-10-02  Tim-Philipp Müller  <tim at centricular dot net>
10007
10008         * gst/gstpad.c:
10009           Add 'Since: 0.10.11' to gst_pad_is_blocking() gtk-doc blurb.
10010
10011 2006-10-02  Edward Hervey  <edward@fluendo.com>
10012
10013         * docs/design/part-block.txt:
10014         Further explain the use of flushing on blocked pads.
10015         * docs/gst/gstreamer-sections.txt:
10016         * gst/gstpad.c: (gst_pad_is_blocking), (handle_pad_block),
10017         (gst_pad_push_event):
10018         * gst/gstpad.h:
10019         Added new GstPadFlag : GST_PAD_BLOCKING.
10020         Adds the notion of pads really blocking, which enables to properly
10021         handle FLUSH_START/FLUSH_STOP events on blocked pads.
10022         Fixes #358999
10023         API: gst_pad_is_blocking()
10024         API: GST_PAD_IS_BLOCKING() macro
10025         API: GST_PAD_BLOCKING GstPadFlag
10026         
10027 2006-10-02  Wim Taymans  <wim@fluendo.com>
10028
10029         Patch by: mrcgran <mrc.gran at gmail dot com>
10030
10031         * gst/gstghostpad.c: (gst_proxy_pad_do_getcaps):
10032         Filter the proxied caps against the padtemplate if we have one.
10033
10034         * gst/gstquery.c: (gst_query_new_segment):
10035         Add include for gstinfo.h so that compilation with
10036         -DGST_DISABLE_GST_DEBUG works again. Fixes #358436.
10037
10038 2006-10-02  Wim Taymans  <wim@fluendo.com>
10039
10040         Patch by: Alessandro Decina  <alessandro at nnva org>
10041
10042         * plugins/elements/gstfilesink.c: (gst_file_sink_init),
10043         (gst_file_sink_set_location), (gst_file_sink_open_file),
10044         (gst_file_sink_close_file), (gst_file_sink_event),
10045         (gst_file_sink_render):
10046         Set file to NULL when closing filesink so that we can set a new filename
10047         in READY. Fixes #358613.
10048
10049 2006-10-02  Tim-Philipp Müller  <tim at centricular dot net>
10050
10051         Patch by: Alessandro Decina  <alessandro at nnva org>
10052
10053         * gst/gstevent.c: (_gst_event_copy):
10054           Fix gst_mini_object_make_writable() and gst_event_copy() for events
10055           with event structures by setting the parent refcount address of the
10056           copied structure to the address of the refcount member of the newly
10057           copied event rather than the address of the refcount member of the
10058           original event. Fixes #358737.
10059
10060         * tests/check/gst/gstevent.c: (GST_START_TEST):
10061           Unit test for the above.
10062
10063 2006-09-29  Stefan Kost  <ensonic@users.sf.net>
10064
10065         * docs/design/Makefile.am:
10066           Dist some more files.
10067
10068 2006-09-29  Tim-Philipp Müller  <tim at centricular dot net>
10069
10070         * tests/check/libs/controller.c: (GST_START_TEST),
10071         (gst_controller_suite):
10072           Add test for the previous fix; add some more tests
10073           for correct refcounting behaviour; fix a few leaks
10074           in test cases; call gst_controller_init() at start
10075           of all tests.
10076
10077 2006-09-29  Tim-Philipp Müller  <tim at centricular dot net>
10078
10079         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
10080         (gst_controller_set_from_list):
10081           Don't g_return_val_if_fail() on timed values with invalid timestamps
10082           inside a critical section without unlocking the mutex. Spotted by
10083           René Stadler. (#357617)
10084           Also, fix up refcounting properly: when returning an existing
10085           controller, we should increase the reference only once and not
10086           once per property and when trying to control a property again
10087           we should also increase the refcount.
10088
10089 2006-09-29  Wim Taymans  <wim@fluendo.com>
10090
10091         * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
10092         * libs/gst/net/gstnettimeprovider.c:
10093         (gst_net_time_provider_thread):
10094         Stop reading commands when EOF as well.
10095
10096         * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init):
10097         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init):
10098         * plugins/elements/gstidentity.c: (gst_identity_class_init):
10099         Unify description of the dump property.
10100
10101 2006-09-28  Jan Schmidt  <thaytan@mad.scientist.com>
10102
10103         * tests/examples/manual/.cvsignore:
10104         OK, so it's actually cvsignore that needs changing. Stop laughing.
10105
10106 2006-09-28  Jan Schmidt  <thaytan@mad.scientist.com>
10107
10108         * tests/examples/manual/Makefile.am:
10109         Gah, declare vars *before* using them
10110
10111 2006-09-28  Jan Schmidt  <thaytan@mad.scientist.com>
10112
10113         * gst/gst.c: (init_pre), (scan_and_update_registry),
10114         (ensure_current_registry_nonforking),
10115         (ensure_current_registry_forking), (ensure_current_registry),
10116         (init_post), (gst_debug_help), (gst_deinit):
10117         * gst/gst_private.h:
10118         * gst/gstregistry.c: (gst_registry_finalize),
10119         (gst_registry_remove_features_for_plugin_unlocked),
10120         (gst_registry_remove_plugin), (gst_registry_scan_path_level),
10121         (gst_registry_scan_path),
10122         (_priv_gst_registry_remove_cache_plugins),
10123         (_priv_gst_registry_cleanup):
10124         * gst/gstregistry.h:
10125         Re-commit the registry changes, along with an extra fix:
10126           When a cached plugin is encountered at a different file path,
10127           update the stored path in the registry cache so that the parent
10128           process knows where it actually is now when it re-reads the registry
10129           cache. Fixes the thing that broke distcheck with the previous commit.
10130
10131         * tests/check/Makefile.am:
10132         Clean up files named 'core' too when running make clean.
10133
10134         * tests/examples/manual/Makefile.am:
10135         Set up a registry path for running these tests, and clean it properly
10136         for distcheck.
10137
10138 2006-09-28  Jan Schmidt  <thaytan@mad.scientist.com>
10139
10140         * configure.ac:
10141         Don't pull in gmodule-2.0.pc as a dependency in our .pc files - we
10142         want gmodule-no-export-2.0.pc instead so that we don't drag in
10143         --export-dynamic on every project that links to GStreamer.
10144
10145         Also, make our export regex only match the start of symbols, rather 
10146         than any symbol that contains '_gst' somewhere.
10147
10148         * libs/gst/check/Makefile.am:
10149         The libgstcheck we build does however need export-dynamic, as it
10150         produces some symbols that don't match our _gst... style regex.
10151         Fixes: #318031
10152
10153 2006-09-27  Jan Schmidt  <thaytan@mad.scientist.com>
10154
10155         * gst/gst.c: (init_pre), (scan_and_update_registry),
10156         (ensure_current_registry_nonforking),
10157         (ensure_current_registry_forking), (ensure_current_registry),
10158         (init_post), (gst_debug_help), (gst_deinit):
10159         * gst/gst_private.h:
10160         * gst/gstregistry.c: (gst_registry_finalize),
10161         (gst_registry_remove_plugin), (gst_registry_scan_path_level),
10162         (gst_registry_scan_path), (_gst_registry_remove_cache_plugins),
10163         (_gst_registry_cleanup):
10164         * gst/gstregistry.h:
10165           Revert previous change until I figure out why it breaks distcheck.
10166
10167 2006-09-27  Jan Schmidt  <thaytan@mad.scientist.com>
10168
10169         * gst/gst.c: (init_pre), (scan_and_update_registry),
10170         (ensure_current_registry_nonforking),
10171         (ensure_current_registry_forking), (ensure_current_registry),
10172         (init_post), (gst_debug_help), (gst_deinit):
10173
10174           Make init_pre and init_post take the full complement of GOptionFunc
10175           args so they can return useful GErrors. Make the registry updating
10176           functions do so.
10177
10178           Call _priv_gst_registry_remove_cache_plugins after scanning files to
10179           ensure that the registry we're about to write out doesn't contain
10180           stale information about old-deleted plugin files.
10181
10182           Make _priv_gst_registry_remove_cache_plugins return a boolean so
10183           that deletion of plugin files is considered a registry change.
10184
10185         * gst/gst_private.h:
10186         * gst/gstregistry.c: (gst_registry_finalize),
10187         (gst_registry_remove_features_for_plugin_unlocked),
10188         (gst_registry_remove_plugin), (gst_registry_scan_path_level),
10189         (gst_registry_scan_path),
10190         (_priv_gst_registry_remove_cache_plugins),
10191         (_priv_gst_registry_cleanup):
10192         * gst/gstregistry.h:
10193         Rename _gst_registry_remove_cache_plugins and _gst_registry_cleanup
10194         by adding _priv prefix, so that they won't appear in the global
10195         symbol table. They still do atm though because of #318031. Move the
10196         prototypes to gst_private.h
10197
10198         When removing a plugin, remove all features for that plugin too. 
10199         Fixes #340878.
10200
10201 2006-09-27  Wim Taymans  <wim@fluendo.com>
10202
10203         * docs/random/moving-plugins:
10204         Make it clear that the "compiled-in descriptions" really mean
10205         the element details.
10206
10207         * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
10208         (gst_base_sink_wait_preroll):
10209         Update docs.
10210
10211         * docs/libs/gstreamer-libs-sections.txt:
10212         * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
10213         (gst_base_src_get_range), (gst_base_src_activate_push):
10214         * libs/gst/base/gstbasesrc.h:
10215         Added function to block while waiting for PLAYING, this function
10216         is used by live sources that block on the clock.
10217         API: gst_base_src_wait_playing()
10218
10219 2006-09-27  Tim-Philipp Müller  <tim at centricular dot net>
10220
10221         Patch by: Peter Kjellerstedt <pkj at axis com>
10222
10223         * Makefile.am:
10224           gst-element-check.m4 is generated and should therefore be
10225           copied from the build dir rather than the source dir (#357593).
10226           'make distcheck' hasn't noticed this because we were disting
10227           the file as well, so stop doing that.
10228
10229 2006-09-27  Tim-Philipp Müller  <tim at centricular dot net>
10230
10231         * tests/check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
10232           Add some tests for gst_caps_intersect().
10233
10234         * tools/gst-launch.c: (event_loop):
10235           Print all buffering percentages we get, even the 100% one.
10236
10237 2006-09-26  Wim Taymans  <wim@fluendo.com>
10238
10239         * tools/gst-inspect.c: (print_element_properties_info),
10240         (print_signal_info):
10241         Fix printing of flags to match the look of enums.
10242
10243 2006-09-25  Tim-Philipp Müller  <tim at centricular dot net>
10244
10245         * gst/gstelementfactory.c:
10246           Fix typo in docs blurb.
10247
10248 2006-09-25  Tim-Philipp Müller  <tim at centricular dot net>
10249
10250         * gst/gsturi.c: (search_by_entry):
10251           Don't assert/crash here if a uri handler doesn't return any
10252           supported protocols. The list of protocols could be generated
10253           dynamically at runtime or at plugin registration, and an error
10254           in the underlying library shouldn't be fatal (#353301).
10255
10256 2006-09-25  Tim-Philipp Müller  <tim at centricular dot net>
10257
10258         * gst/gstinfo.c:
10259           Fix warning if HAVE_PRINTF_EXTENSION is undefined
10260           (spotted by Peter Kjellerstedt).
10261
10262 2006-09-23  Wim Taymans  <wim@fluendo.com>
10263
10264         Based on patch by: Antoine Tremblay <hexa00 at gmail dot com>
10265
10266         * libs/gst/base/gstbasesrc.c:
10267         (gst_base_src_default_check_get_range), (gst_base_src_start),
10268         (gst_base_src_activate_push), (gst_base_src_activate_pull),
10269         (gst_base_src_change_state):
10270         Match _start/_stop calls in the activate functions. Remove redundant
10271         _stop call from the state change function. Fixes #356910.
10272         Turn failure DEBUG into ERROR. 
10273
10274 2006-09-22  Wim Taymans  <wim@fluendo.com>
10275
10276         * docs/design/part-buffering.txt:
10277         * gst/gstmessage.c: (gst_message_new_buffering),
10278         (gst_message_parse_buffering):
10279         Update docs about buffering.
10280
10281         * docs/design/part-trickmodes.txt:
10282         Fix typo.
10283
10284 2006-09-22  Stefan Kost  <ensonic@users.sf.net>
10285
10286         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
10287         (gst_controller_new_list):
10288           Ref instances when returning them again (fixes #357180)
10289
10290 2006-09-22  Tim-Philipp Müller  <tim at centricular dot net>
10291
10292         * gst/gstghostpad.c: (gst_ghost_pad_set_target):
10293           Don't forget to release proxy lock when there's an error.
10294
10295 2006-09-20  Jan Schmidt  <thaytan@mad.scientist.com>
10296
10297         * gst/gstcaps.h:
10298           Add extra initialisers for Caps things, to fix some plugin warnings
10299           when using -Wextra
10300
10301 2006-09-18  Wim Taymans  <wim@fluendo.com>
10302
10303         * gst/gstghostpad.c: (gst_ghost_pad_new_full):
10304           Also set template on the internal pad so that a getcaps from the 
10305           target pad returns the template caps.
10306
10307 2006-09-18  Wim Taymans  <wim@fluendo.com>
10308
10309         * gst/gstelement.c: (gst_element_post_message),
10310         (gst_element_dispose):
10311         Use _DEBUG_OBJECT some more.
10312
10313         * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
10314         Avoid typechecks.
10315
10316         * tools/gst-launch.c: (main):
10317         If the toplevel element is not a GstPipeline, it must be put in a
10318         pipeline so that a bus and clock is selected.
10319
10320 2006-09-17  Tim-Philipp Müller  <tim at centricular dot net>
10321
10322         * libs/gst/base/gstbasesrc.c: (gst_base_src_default_query):
10323           JITTER, RATE, and LATENCY query should be handled by the
10324           default case and not by the CONVERT query code.
10325
10326 2006-09-17  Tim-Philipp Müller  <tim at centricular dot net>
10327
10328         * gst/gstformat.c: (gst_format_register):
10329           Fix locking order (must take lock before using n_values).
10330
10331         * gst/gstvalue.c: (gst_value_serialize_enum),
10332         (gst_value_deserialize_enum_iter_cmp),
10333         (gst_value_deserialize_enum):
10334           Fix serialisation/deserialisation of custom registered GstFormats.
10335
10336         * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
10337           Unit test for custom format serialisation/deserialisation.
10338
10339 2006-09-17  Stefan Kost  <ensonic@users.sf.net>
10340
10341         * docs/pwg/building-boiler.xml:
10342         * plugins/elements/gstcapsfilter.c:
10343         More G_OBJECT macro fixing. Also Fix some details on the plugin-stamp
10344         section.
10345
10346 2006-09-16  Edward Hervey  <edward@fluendo.com>
10347
10348         * libs/gst/base/gstbasetransform.c:
10349         (gst_base_transform_buffer_alloc):
10350         Check if requested caps are the same as the sinks caps IF
10351         ->have_same_caps is TRUE. If they are not, act as if have_same_caps
10352         is FALSE.
10353         This fixes the renegotiation issues stated in #352827.
10354
10355 2006-09-16  Thomas Vander Stichele  <thomas at apestaart dot org>
10356
10357         * configure.ac:
10358         * docs/manual/advanced-autoplugging.xml:
10359         * tests/examples/Makefile.am:
10360         * tests/examples/manual/.cvsignore:
10361         * tests/examples/manual/Makefile.am:
10362         * tests/examples/manual/extract.pl:
10363           Extract the manual examples again like we used to do.
10364           Fix one of them.
10365
10366 2006-09-16  Thomas Vander Stichele  <thomas at apestaart dot org>
10367
10368         * win32/common/config.h:
10369           update for version
10370
10371 2006-09-16  Stefan Kost  <ensonic@users.sf.net>
10372
10373         * gst/gsterror.c:
10374           Documents how to receive errors.
10375
10376 2006-09-15  Wim Taymans  <wim@fluendo.com>
10377
10378         * tools/gst-launch.c: (sigint_handler_sighandler), (check_intr),
10379         (event_loop), (main):
10380         Added some comments here and there.
10381         Post an application message when an interrupt is caught instead of doing
10382         an uncontrolled state change.
10383         Clean up the event loop.
10384         Handle buffering messages, pause/resume the pipeline.
10385         Make shutdown because of an interrupt more reliable.
10386
10387 2006-09-15  Wim Taymans  <wim@fluendo.com>
10388
10389         * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
10390         (gst_base_sink_wait_preroll), (gst_base_sink_do_sync),
10391         (gst_base_sink_preroll_object):
10392         Make sure that our internal state is correct when we commit our state
10393         asynchronously. This solves a race where a state change to PLAYING
10394         could cause the sink to remain blocked in preroll in some situations.
10395
10396 2006-09-15  Wim Taymans  <wim@fluendo.com>
10397
10398         * tools/gst-inspect.c: (print_element_properties_info),
10399         (print_signal_info):
10400         List flags as hex so it's easier to deal with.
10401
10402 2006-09-15  Wim Taymans  <wim@fluendo.com>
10403
10404         * docs/libs/gstreamer-libs-sections.txt:
10405         * libs/gst/base/gstbasesink.c: (gst_base_sink_wait_preroll),
10406         (gst_base_sink_do_sync):
10407         * libs/gst/base/gstbasesink.h:
10408         Expose logic to wait for preroll so that subclasses such as audiosink
10409         can also use this method.
10410         API: gst_base_sink_wait_preroll()
10411
10412 2006-09-15  Wim Taymans  <wim@fluendo.com>
10413
10414         * gst/gstobject.c: (gst_object_set_parent):
10415         * gst/gstpipeline.c: (do_pipeline_seek):
10416         Small cleanups in docs and code.
10417
10418         * gst/gstsegment.c: (gst_segment_clip):
10419         * tests/check/gst/gstsegment.c: (GST_START_TEST):
10420         if stop == start and start is in the segment, no clipping should be
10421         done. Also add a test for this.
10422
10423 2006-09-15  Wim Taymans  <wim@fluendo.com>
10424
10425         * docs/design/part-buffering.txt:
10426         * docs/gst/gstreamer-sections.txt:
10427         * gst/gstmessage.c: (gst_message_new_buffering),
10428         (gst_message_parse_buffering):
10429         * gst/gstmessage.h:
10430         Added methods to create and parse BUFFERING messages.
10431         Added preliminary docs about buffering.
10432         API: gst_message_new_buffering
10433         API: gst_message_parse_buffering
10434
10435 2006-09-06  Wim Taymans  <wim@fluendo.com>
10436
10437         * gst/gstbin.c:
10438         Update documentation.
10439
10440         * gst/gstelement.c: (gst_element_class_init),
10441         (gst_element_release_request_pad), (gst_element_set_clock),
10442         (gst_element_get_index), (gst_element_add_pad),
10443         (gst_element_remove_pad), (gst_element_get_random_pad),
10444         (gst_element_send_event), (gst_element_get_query_types),
10445         (gst_element_query), (gst_element_post_message),
10446         (gst_element_message_full), (gst_element_continue_state),
10447         (gst_element_lost_state), (gst_element_save_thyself),
10448         (gst_element_restore_thyself):
10449         Documentation updates.
10450         Rename last bit of the new-pad -> pad-added signal rename.
10451         Fix the case where an element query would only work if the source
10452         pad was linked.
10453         Avoid some useless type checking in message handling.
10454
10455         * gst/gstevent.c:
10456         * gst/gstevent.h:
10457         * gst/gstutils.c:
10458         Documentation updates.
10459
10460 2006-09-14  Thomas Vander Stichele  <thomas at apestaart dot org>
10461
10462         * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
10463           add an INFO line for when we actually update the fd
10464
10465 2006-09-14  Thomas Vander Stichele  <thomas at apestaart dot org>
10466
10467         * configure.ac:
10468           back to TRUNK
10469
10470 === release 0.10.10 ===
10471
10472 2006-09-14  Thomas Vander Stichele <thomas at apestaart dot org>
10473
10474         * configure.ac:
10475           releasing 0.10.10, "Pais"
10476
10477 2006-09-05  Tim-Philipp Müller  <tim at centricular dot net>
10478
10479         * docs/manual/advanced-position.xml:
10480           Fix typo in sample code.
10481
10482 2006-09-05  Wim Taymans  <wim@fluendo.com>
10483
10484         * libs/gst/net/gstnetclientclock.c: (inet_aton),
10485         (gst_net_client_clock_init), (gst_net_client_clock_finalize),
10486         (gst_net_client_clock_do_select), (gst_net_client_clock_new):
10487         * libs/gst/net/gstnetclientclock.h:
10488         * libs/gst/net/gstnettimepacket.c: (gst_net_time_packet_send):
10489         * libs/gst/net/gstnettimepacket.h:
10490         * libs/gst/net/gstnettimeprovider.c: (inet_aton),
10491         (gst_net_time_provider_init), (gst_net_time_provider_finalize),
10492         (gst_net_time_provider_thread), (gst_net_time_provider_new):
10493         * libs/gst/net/gstnettimeprovider.h:
10494         Make stuff compile on windows. Fixes #345295.
10495
10496 2006-09-03  Tim-Philipp Müller  <tim at centricular dot net>
10497
10498         * gst/gst.c: (ensure_current_registry_forking):
10499           Print better details when child was terminated by signal.
10500
10501 2006-09-03  Tim-Philipp Müller  <tim at centricular dot net>
10502
10503         * gst/gstregistryxml.c: (gst_registry_xml_save_feature):
10504           Print a warning rather than g_assert() if a plugin feature
10505           is a URI handler but returns no protocols (#353976).
10506
10507 2006-09-02  Stefan Kost  <ensonic@users.sf.net>
10508
10509         * docs/random/moving-plugins:
10510         Fix two typos.         
10511
10512 2006-09-01  Tim-Philipp Müller  <tim at centricular dot net>
10513
10514         * gst/gstinfo.c: (_gst_debug_nameof_funcptr):
10515           Fix locking order, handle NULL function values properly.
10516
10517         * gst/gstinfo.h:
10518           Fix docs.
10519
10520         * gst/gstpad.c: (gst_pad_buffer_alloc_unchecked):
10521           Initialise variable before using it and fix debug statement to
10522           print the address of the function rather than the address of the
10523           variable on the stack holding the address of the function.
10524
10525 2006-09-01  Wim Taymans  <wim@fluendo.com>
10526
10527         * gst/gstghostpad.c: (gst_proxy_pad_do_event),
10528         (gst_proxy_pad_do_bufferalloc), (gst_proxy_pad_do_chain),
10529         (gst_proxy_pad_do_getrange), (gst_proxy_pad_do_checkgetrange),
10530         (gst_proxy_pad_set_target_unlocked), (gst_ghost_pad_parent_set),
10531         (gst_ghost_pad_parent_unset),
10532         (gst_ghost_pad_internal_do_activate_push),
10533         (gst_ghost_pad_internal_do_activate_pull),
10534         (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
10535         (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
10536         (gst_ghost_pad_init), (gst_ghost_pad_dispose),
10537         (gst_ghost_pad_new_full), (gst_ghost_pad_new_no_target),
10538         (gst_ghost_pad_new), (gst_ghost_pad_new_from_template),
10539         (gst_ghost_pad_new_no_target_from_template),
10540         (gst_ghost_pad_get_target), (gst_ghost_pad_set_target):
10541         More cleanups.
10542         Avoid needless typechecking in macros.
10543         Since the internal pad is always present and never changes, there is
10544         no need to locking or ref when retrieving it.
10545         Improve debugging a bit.
10546         Handle link errors when setting the target. Fixes #341029.
10547
10548 2006-09-01  Wim Taymans  <wim@fluendo.com>
10549
10550         * docs/libs/gstreamer-libs-sections.txt:
10551         * docs/plugins/gstreamer-plugins-sections.txt:
10552         Fix docs some more.
10553
10554         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad),
10555         (gst_collect_pads_event):
10556         * libs/gst/base/gstcollectpads.h:
10557         Documentation updates.
10558         Free queued buffer when removing a pad.
10559
10560 2006-08-31  Michael Smith  <msmith@fluendo.com>
10561
10562         * gst/gstutils.c: (gst_element_link_pads),
10563         (gst_element_link_pads_filtered):
10564           Ensure that we set a capsfilter to NULL if we failed to link it
10565           when doing filtered linking, to avoid criticals.
10566
10567           No need to check for unreffing srcpad, which is explicly NULLed
10568           above (a trivial code cleanup).
10569
10570 2006-08-31  Wim Taymans  <wim@fluendo.com>
10571
10572         * docs/design/part-gstghostpad.txt:
10573         Update ascii art in documentation.
10574
10575         * gst/gstghostpad.c: (gst_proxy_pad_do_internal_link),
10576         (gst_proxy_pad_set_target_unlocked), (gst_proxy_pad_init),
10577         (gst_ghost_pad_parent_set), (gst_ghost_pad_parent_unset),
10578         (gst_ghost_pad_internal_do_activate_push),
10579         (gst_ghost_pad_internal_do_activate_pull),
10580         (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
10581         (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
10582         (gst_ghost_pad_dispose), (gst_ghost_pad_new_full),
10583         (gst_ghost_pad_set_target):
10584         Small cleanups and leak fixes.
10585         Remove some checks now that the internal pad is never NULL.
10586         Fix the case where linking pads without a target would create nasty
10587         criticals. Fixes #341029.
10588         Don't assign a GstPadLinkReturn to a gboolean and mess up the return
10589         value of _set_target().
10590
10591         * tests/check/gst/gstghostpad.c: (GST_START_TEST),
10592         (gst_ghost_pad_suite):
10593         Some more tests for creating and linking untargeted ghostpads.
10594
10595 2006-08-31  Edward Hervey  <edward@fluendo.com>
10596
10597         * docs/gst/gstreamer-sections.txt:
10598         * gst/gstghostpad.c: (gst_proxy_pad_do_getcaps),
10599         (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target_unlocked),
10600         (gst_proxy_pad_dispose), (gst_ghost_pad_new_full),
10601         (gst_ghost_pad_new_no_target), (gst_ghost_pad_new),
10602         (gst_ghost_pad_new_from_template),
10603         (gst_ghost_pad_new_no_target_from_template):
10604         * gst/gstghostpad.h:
10605         Refactored *_new() functions.
10606         Templates are now used as a g_object_new() parameter.
10607         Use template in _do_getcaps() if we don't have a target.
10608         Small documentation cleanups.
10609         Added two new constructors:
10610         gst_ghost_pad_new_from_template()
10611         gst_ghost_pad_new_no_target_from_template()
10612         * tests/check/gst/gstghostpad.c: (GST_START_TEST),
10613         (gst_ghost_pad_suite):
10614         Added tests for new ghostpad instanciation functions.
10615
10616         API additions: gst_ghost_pad_new_from_template,
10617         gst_ghost_pad_new_no_target_from_template
10618
10619 2006-08-30  Stefan Kost  <ensonic@users.sf.net>
10620
10621         * docs/random/ensonic/profiling.txt:
10622           Ideas about qos profiling.
10623
10624 2006-08-29  Wim Taymans  <wim@fluendo.com>
10625
10626         * gst/gstcaps.c: (gst_caps_structure_is_subset_field):
10627         Code cleanups.
10628         Fix memleak.
10629
10630 2006-08-29  Tim-Philipp Müller  <tim at centricular dot net>
10631
10632         * gst/gstxml.c:
10633           Improve and detypofy docs.
10634
10635         * tests/check/Makefile.am:
10636         * tests/check/gst/.cvsignore:
10637         * tests/check/gst/gstxml.c: (GST_START_TEST), (gst_xml_suite):
10638           Add a basic test suite for GstXML.
10639
10640 2006-08-29  Wim Taymans  <wim@fluendo.com>
10641
10642         * gst/gstelement.c: (activate_pads), (clear_caps),
10643         (iterator_activate_fold_with_resync), (gst_element_pads_activate):
10644         Clear the pad caps when the element shut down all of the pads and
10645         is not streaming data that could modify the caps. 
10646         Fixes #352958.
10647
10648 2006-08-28  Michael Smith  <msmith@fluendo.com>
10649
10650         * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
10651           Revert previous change; I misunderstood single-segment mode.
10652
10653 2006-08-28  Michael Smith  <msmith@fluendo.com>
10654
10655         * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
10656           Unset DISCONT on buffers when using single-segment mode.
10657
10658 2006-08-28  Wim Taymans  <wim@fluendo.com>
10659
10660         * gst/gstcaps.c: (gst_caps_merge_structure):
10661         * gst/gstcaps.h:
10662         Fix docs and indentation again.
10663
10664         * tests/check/gst/gstquery.c: (GST_START_TEST):
10665         Fix leak in tests and add some more tests.
10666
10667 2006-08-28  Edward Hervey  <edward@fluendo.com>
10668
10669         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
10670         Inform GstSegment of the last stop position in order for the current
10671         segment to have a proper duration if it doesn't have a specific stop
10672         position from which a duration could be calculated.
10673         This bug was noticeable when a non-flushing, non-update new segment was
10674         followed by another segment (all buffers from the new segment were being
10675         dropped).
10676
10677 2006-08-28  Wim Taymans  <wim@fluendo.com>
10678
10679         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek):
10680         Small comment update.
10681
10682         * plugins/elements/gstidentity.c: (gst_identity_class_init),
10683         (gst_identity_transform_ip):
10684         Drop-probability is broken, mention this in the code with a 
10685         FIXME and also in the property description.
10686         Make silent also be silent about the drop messages.
10687
10688 2006-08-28  Tim-Philipp Müller  <tim at centricular dot net>
10689
10690         * docs/manual/appendix-win32.xml:
10691           Remove mention of popt, we don't depend on that any
10692           longer (#353136). Add some comments pointing out that
10693           this section is slightly outdated.
10694
10695 2006-08-28  Wim Taymans  <wim@fluendo.com>
10696
10697         Patch by: Torsten Schoenfeld <kaffeetisch at gmx dot de>
10698
10699         * gst/gstquery.c: (gst_query_new_segment):
10700         * tests/check/gst/gstquery.c: (GST_START_TEST):
10701         Initialize variables when creating a new segment query.
10702         Fixes #353121.
10703
10704 2006-08-28  Wim Taymans  <wim@fluendo.com>
10705
10706         Patch by: Torsten Schoenfeld <kaffeetisch at gmx dot de>
10707
10708         * gst/gstelement.c: (gst_element_get_bus):
10709         * tests/check/gst/gstelement.c: (GST_START_TEST):
10710         Check for NULL before _reffing the bus. Fixes #353122.
10711
10712 2006-08-25  Tim-Philipp Müller  <tim at centricular dot net>
10713
10714         * docs/manual/basics-bus.xml:
10715           Docs update: fix wrong callback return value explanation; add
10716           some lines about the implicit relationship between main loop
10717           and main context; remove duplicate main loop variable declaration.
10718
10719 2006-08-24  Tim-Philipp Müller  <tim at centricular dot net>
10720
10721         * tests/check/gst/gstcaps.c: (GST_START_TEST):
10722           Don't leak caps in unit test; add a few more simple
10723           checks. 
10724
10725 2006-08-24  Stefan Kost  <ensonic@users.sf.net>
10726
10727         * docs/gst/gstreamer-sections.txt:
10728         * gst/gstcaps.c: (gst_caps_structure_is_subset_field),
10729         (gst_caps_structure_is_subset), (gst_caps_merge),
10730         (gst_caps_merge_structure):
10731         * gst/gstcaps.h:
10732         * libs/gst/base/gstbasetransform.c:
10733         (gst_base_transform_transform_caps):
10734         * tests/check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
10735           implement caps merging (fixes #352580)
10736
10737 2006-08-23  Stefan Kost  <ensonic@users.sf.net>
10738
10739         * tools/Makefile.am:
10740         * tools/gst-plot-timeline.py:
10741           add debug-log plotting developer tool (#340674)
10742
10743 2006-08-23  Wim Taymans  <wim@fluendo.com>
10744
10745         * gst/gstpad.c: (gst_pad_start_task), (gst_pad_pause_task),
10746         (gst_pad_stop_task):
10747         Improve debugging for task functions.
10748
10749         * gst/gsttask.c: (gst_task_func), (gst_task_set_lock),
10750         (gst_task_start), (gst_task_pause), (gst_task_join):
10751         Make sure that the task function started and finished after a 
10752         join(). 
10753         Don't try to push the task function on the threadpool multiple
10754         times.
10755         Improve the g_warning message with some useful suggestions
10756         about how to fix the problem. 
10757
10758 2006-08-23  Wim Taymans  <wim@fluendo.com>
10759
10760         * gst/gstutils.c: (gst_pad_proxy_getcaps):
10761         Handle RESYNC correctly in _proxy_getcaps.
10762
10763 2006-08-21  Tim-Philipp Müller  <tim at centricular dot net>
10764
10765         * gst/gstxml.c: (gst_xml_dispose), (gst_xml_parse_file),
10766         (gst_xml_parse_memory), (gst_xml_get_element):
10767           Chain up to parent class in dispose function and also
10768           unref the elements in the toplevel_elements GList.
10769           Don't leak XmlDocPtr in _parse_file() and _parse_memory().
10770           Always return a reference in gst_xml_get_element() rather
10771           than only sometimes.
10772
10773         * tools/gst-launch.c: (xmllaunch_parse_cmdline):
10774           Don't leak GstXml object.
10775
10776 2006-08-21  Stefan Kost  <ensonic@users.sf.net>
10777
10778         * docs/gst/gstreamer-sections.txt:
10779         * gst/gstcaps.c: (gst_structure_is_equal_foreach),
10780         (gst_caps_merge):
10781         * gst/gstcaps.h:
10782         * libs/gst/base/gstbasetransform.c:
10783         (gst_base_transform_transform_caps):
10784           API: Add gst_caps_merge() and use it in basetransform, fixes #345444
10785           in a better way
10786
10787 2006-08-21  Edward Hervey  <edward@fluendo.com>
10788
10789         * gst/gstxml.c: (gst_xml_class_init), (gst_xml_dispose):
10790         Implement GObject::dispose virtual method in GstXML so we can free the
10791         top_elements GList.
10792
10793 2006-08-21  Wim Taymans  <wim@fluendo.com>
10794
10795         * gst/gstbuffer.c: (gst_buffer_make_metadata_writable),
10796         (gst_buffer_create_sub):
10797         Copy duration/offset_end/caps when creating a subbuffer of the
10798         complete parent.
10799         Make the subbuffer read-only when we make the metadata writable for
10800         now. Fixes #351768.
10801
10802         * tests/check/gst/gstbuffer.c: (GST_START_TEST):
10803         Added check for metadata copy when creating subbuffers.
10804
10805 2006-08-21  Edward Hervey  <edward@fluendo.com>
10806
10807         * libs/gst/base/gstbasetransform.c:
10808         (gst_base_transform_buffer_alloc):
10809         Only call downstream buffer_alloc if transform element is passthrough
10810         or always_in_place. Closes #350449.
10811
10812 2006-08-20  Stefan Kost  <ensonic@users.sf.net>
10813
10814         * ChangeLog:
10815           ChangeLog surgery to add comments to previous changes
10816
10817 2006-08-20  Stefan Kost  <ensonic@users.sf.net>
10818
10819         * gst/gst.c:
10820           Add comments
10821
10822         * gst/gstpad.c: (gst_pad_set_active):
10823           Be more verbose in the log
10824
10825         * libs/gst/base/gstbasetransform.c:
10826         (gst_base_transform_transform_caps):
10827           Simplify caps to get rid of duplicates, fixes #345444
10828
10829 2006-08-20  Stefan Kost  <ensonic@users.sf.net>
10830
10831         * gst/gstvalue.c:
10832         * gst/gstvalue.h:
10833           Use these optimizations only internally.
10834
10835 2006-08-20  Stefan Kost  <ensonic@users.sf.net>
10836
10837         * gst/gstvalue.c: (gst_value_compare_list),
10838         (gst_value_compare_fraction_range),
10839         (gst_value_intersect_fraction_fraction_range),
10840         (gst_value_intersect_fraction_range_fraction_range),
10841         (gst_value_subtract_fraction_fraction_range),
10842         (gst_value_subtract_fraction_range_fraction_range),
10843         (gst_value_get_compare_func), (gst_value_compare),
10844         (gst_value_compare_with_func):
10845         * gst/gstvalue.h:
10846           Saves the expensive lookup of the compare function in many cases
10847          (#345444)
10848
10849 2006-08-18  Edward Hervey  <edward@fluendo.com>
10850
10851         * tests/check/gst/gstinfo.c: (gst_info_suite):
10852         Disable test that require gstdebug if it wasn't built in core.
10853
10854 2006-08-18  Stefan Kost  <ensonic@users.sf.net>
10855
10856         * docs/random/ensonic/logging.txt:
10857           update ideas
10858           
10859         * gst/gstinfo.c: (gst_debug_log_default):
10860           reorder fields, save some columns, add optional color codes for log
10861           levels
10862
10863 2006-08-18  Stefan Kost  <ensonic@users.sf.net>
10864
10865         * docs/random/ensonic/logging.txt:
10866           add ideas about making the logs a bit more useful
10867
10868 2006-08-17  Tim-Philipp Müller  <tim at centricular dot net>
10869
10870         * docs/pwg/advanced-events.xml:
10871         * docs/pwg/titlepage.xml:
10872           Update for 0.10 API (#340627). Add myself
10873           to authors list.
10874
10875 2006-08-17  Tim-Philipp Müller  <tim at centricular dot net>
10876
10877         * docs/libs/gstreamer-libs-docs.sgml:
10878         * docs/libs/gstreamer-libs-sections.txt:
10879         * libs/gst/check/gstbufferstraw.c:
10880           Make gstcheck stuff show up in docs (still needs to
10881           be documented properly though).
10882
10883 2006-08-16  Jan Schmidt  <thaytan@mad.scientist.com>
10884
10885         * docs/gst/gstreamer-sections.txt:
10886         * gst/Makefile.am:
10887         * gst/gst.c: (init_post):
10888         * gst/gst_private.h:
10889         * gst/gstquark.c: (_priv_gst_quarks_initialize):
10890         * gst/gstquark.h:
10891         * gst/gstquery.c: (gst_query_new_position),
10892         (gst_query_set_position), (gst_query_parse_position),
10893         (gst_query_new_duration), (gst_query_set_duration),
10894         (gst_query_parse_duration), (gst_query_new_convert),
10895         (gst_query_set_convert), (gst_query_parse_convert),
10896         (gst_query_new_segment), (gst_query_set_segment),
10897         (gst_query_parse_segment), (gst_query_new_seeking),
10898         (gst_query_set_seeking), (gst_query_parse_seeking):
10899         Add internal helpers for pre-registering quarks from static strings
10900         and using the quark values directly instead of looking them up when
10901         creating and parsing queries. Can be used for event construction too.
10902         Closes #350432.
10903
10904 2006-08-16  Wim Taymans  <wim@fluendo.com>
10905
10906         * gst/gstbin.c:
10907         Fix bogus docs.
10908
10909 2006-08-15  Tim-Philipp Müller  <tim at centricular dot net>
10910
10911         * gst/gstutils.c: (gst_util_set_value_from_string):
10912           Fix memleak (#351502).
10913
10914         * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
10915           Add unit test for most of gst_util_set_value_from_string()
10916           (not that one would want to encourage use of this function).
10917
10918 2006-08-15  Tim-Philipp Müller  <tim at centricular dot net>
10919
10920         * libs/gst/check/gstcheck.h:
10921           Use const gchar * variables in fail_unless_equals_string
10922           macro to avoid compiler warnings (and don't use tabs for
10923           indenting).
10924
10925 2006-08-15  Tim-Philipp Müller  <tim at centricular dot net>
10926
10927         * tools/gst-launch.c: (print_tag):
10928           More space on the left for the tag names, to cater
10929           for the 'extended comment' tag (not touching the
10930           string for the first line since it's translated).
10931
10932 2006-08-15  Tim-Philipp Müller  <tim at centricular dot net>
10933
10934         * libs/gst/check/gstcheck.h:
10935           Fix ASSERT_CRITICAL and ASSERT_WARNING macros to actually
10936           print something when they fail.
10937
10938 2006-08-14  Tim-Philipp Müller  <tim at centricular dot net>
10939
10940         * docs/gst/gstreamer-sections.txt:
10941         * gst/gsttaglist.c: (_gst_tag_initialize):
10942         * gst/gsttaglist.h:
10943           API: add GST_TAG_EXTENDED_COMMENT (#350935).
10944           Also change merge function for GST_TAG_COMMENT to
10945           use_first.
10946
10947 2006-08-14  Tim-Philipp Müller  <tim at centricular dot net>
10948
10949         * gst/gstinfo.c: (gst_debug_print_object):
10950           Make GST_PTR_FORMAT print messages as well.
10951
10952         * tests/check/gst/gstinfo.c: (printf_extension_log_func),
10953         (GST_START_TEST), (gst_info_suite):
10954           More tests.
10955
10956 2006-08-14  Edward Hervey  <edward@fluendo.com>
10957
10958         * gst/gstelementfactory.c: (gst_element_register):
10959         If the GstElementClass doesn't have a GstElementDetails with all fields
10960         filled up correctly (longname, description AND author), then error out
10961         nicely instead of crashing.
10962
10963 2006-08-14  Tim-Philipp Müller  <tim at centricular dot net>
10964
10965         * gst/gststructure.c:
10966           Fix typo in docs and re-wrap docs blurb to not exceed 80 chars/line.
10967
10968         * gst/gstvalue.h:
10969           Expand on the difference between arrays and lists as we use them.
10970           
10971 2006-08-14  Wim Taymans  <wim@fluendo.com>
10972
10973         * libs/gst/base/gstbasesrc.c: (gst_base_src_change_state):
10974         If the parent state change function failed, don't assume we can safely
10975         stop the source, this will be done when the pads are deactivated.
10976
10977 2006-08-14  Wim Taymans  <wim@fluendo.com>
10978
10979         * gst/gstbuffer.c:
10980         * gst/gsttask.c: (gst_task_join):
10981         Small doc updates.
10982
10983         * gst/gstpad.c: (gst_pad_activate_pull), (gst_pad_activate_push),
10984         (gst_pad_stop_task):
10985         When pad (de)activation failed for some reason, restore the old
10986         activation mode and set the pad to flushing instead of assuming the
10987         pad is deactivated.
10988         If the _task_join() failed, reinstall the task on the pad so that it can
10989         be stopped later and return an error.
10990
10991 2006-08-11  Andy Wingo  <wingo@pobox.com>
10992
10993         * configure.ac:
10994         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packetizer_new):
10995         * tests/check/libs/gdp.c: (gst_dp_suite): GST_DISABLE_DEPRECATED
10996         is only for users of API that don't want to see deprecated
10997         functions in the headers; people that want to compile out
10998         deprecated code should pass -DGST_REMOVE_DEPRECATED into the
10999         CFLAGS. Fixes the build of multifdsink, or will soon..
11000
11001 2006-08-11  Wim Taymans  <wim@fluendo.com>
11002
11003         * docs/gst/gstreamer-sections.txt:
11004         Add GstClockClass vmethod docs.
11005
11006         * gst/gstcaps.h:
11007         Mark #endif with comment for associated #if
11008
11009         * gst/gstclock.c: (gst_clock_id_wait):
11010         * gst/gstclock.h:
11011         Add vmethod wait_jitter to avoid an unneeded _get_time() for
11012         most clock implementations.
11013         Document vmethods.
11014         Flesh out docs about resolution methods.
11015         API: GstClockClass::wait_jitter
11016
11017         * gst/gstsystemclock.c: (gst_system_clock_class_init),
11018         (gst_system_clock_async_thread),
11019         (gst_system_clock_id_wait_jitter_unlocked),
11020         (gst_system_clock_id_wait_jitter):
11021         Use base class wait_jitter variant for improved performance
11022         due to less clock polling.
11023
11024 2006-08-11  Edward Hervey  <edward@fluendo.com>
11025
11026         * gst/gst.c: (gst_init_check), (init_post):
11027         Set gst as being initialized before scanning/updating the registry,
11028         since there might be my python plugin loader that calls gst_init() and
11029         we don't want to loop back in.
11030         Closes #350879
11031
11032 2006-08-11  Wim Taymans  <wim@fluendo.com>
11033
11034         * docs/design/part-qos.txt:
11035         Bring docs in line with the code. Mostly the sign of the jitter was
11036         wrong in the docs. Fixes #349943.
11037
11038         * gst/gstclock.c:
11039         Fix the docs for the jitter.
11040
11041         * gst/gstevent.c: (gst_event_new_custom), (gst_event_new_tag),
11042         (gst_event_parse_tag), (gst_event_new_buffer_size),
11043         (gst_event_parse_buffer_size), (gst_event_parse_qos),
11044         (gst_event_new_seek), (gst_event_parse_seek),
11045         (gst_event_new_navigation):
11046         Make sure the GstStructure has no parent when creating custom
11047         events.
11048         Add some more argument checking so that we avoid 0.0 rates.
11049         Flesh out the docs for the QoS event some more.
11050
11051 2006-08-11  Wim Taymans  <wim@fluendo.com>
11052
11053         * docs/gst/gstreamer-sections.txt:
11054         * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
11055         (ensure_current_registry_forking), (ensure_current_registry),
11056         (parse_one_option), (parse_goption_arg), (gst_deinit),
11057         (gst_registry_fork_is_enabled), (gst_registry_fork_set_enabled):
11058         * gst/gst.h:
11059         Doc updates.
11060         Added API and command line option to disable registry forking in
11061         addition to the environment variable.
11062         Constify some static arrays.
11063         Added some more debug.
11064         Don't deinit twice.
11065         API: gst_registry_fork_is_enabled()
11066         API: gst_registry_fork_set_enabled()
11067         API: --gst-disable-registry-fork command line option
11068         Fixes #348918.
11069
11070 2006-08-11  Tim-Philipp Müller  <tim at centricular dot net>
11071
11072         * gst/gst.c: (gst_init):
11073           Fix typo in error message.
11074
11075 2006-08-10  Stefan Kost  <ensonic@users.sf.net>
11076
11077         * libs/gst/controller/gstcontroller.h:
11078           fix ABI size-correction
11079
11080         * tests/check/libs/gdp.c: (gst_dp_suite):
11081           make tests that use deprecated API conditional
11082
11083 2006-08-10  Stefan Kost  <ensonic@users.sf.net>
11084
11085         * docs/libs/gstreamer-libs-sections.txt:
11086         * libs/gst/controller/gstcontroller.c:
11087         (_gst_controller_get_property), (_gst_controller_set_property),
11088         (_gst_controller_init), (_gst_controller_class_init):
11089         * libs/gst/controller/gstcontroller.h:
11090         * libs/gst/controller/gsthelper.c: (gst_object_get_control_rate),
11091         (gst_object_set_control_rate):
11092           API: add gst_object_{s,g}et_control_rate(), add private data section,
11093           fix docs
11094
11095         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packetizer_new):
11096         * libs/gst/dataprotocol/dataprotocol.h:
11097           add deprecation guards to make gtk-doc happy and allow disabling cruft
11098
11099 2006-08-09  Tim-Philipp Müller  <tim at centricular dot net>
11100
11101         * tests/check/Makefile.am:
11102         * tests/check/gst/.cvsignore:
11103           Let's enable the new unit test as well.
11104
11105 2006-08-08  Tim-Philipp Müller  <tim at centricular dot net>
11106
11107         * configure.ac:
11108         * docs/gst/gstreamer-sections.txt:
11109         * gst/gstconfig.h.in:
11110         * gst/gstinfo.c: (_gst_debug_init), (gst_debug_print_segment),
11111         (_gst_info_printf_extension_ptr),
11112         (_gst_info_printf_extension_segment):
11113           API: add GST_SEGMENT_FORMAT, which is a printf extension we
11114           register that lets us easily dump GstSegments into debug
11115           logs (#350419).
11116
11117         * tests/check/gst/gstinfo.c: (segment_printf_extension_log_func),
11118         (info_segment_format_printf_extension), (gst_info_suite):
11119           Add simple unit test that logs a bunch of different segments (not
11120           valgrinded at the moment because of leaks in
11121           gst_debug_add_log_function).
11122
11123 2006-08-09  Edward Hervey  <edward@fluendo.com>
11124
11125         * libs/gst/base/gstbasetransform.c:
11126         (gst_base_transform_buffer_alloc):
11127         Even if we can't figure out the proper format to request downstream,
11128         call buffer_alloc() downstream with the input parameters without setting
11129         the caps on the srcpad. This will force negotiation in the chain
11130         function.
11131         Closes #350449
11132
11133 2006-08-08  Edward Hervey  <edward@fluendo.com>
11134
11135         * gst/gstghostpad.c: (gst_ghost_pad_do_unlink):
11136         Unlinking from a pad without a target is now a perfectly valid case
11137         which should NOT raise an assertion.
11138         This case would happen if a linked ghostpad its target set to NULL after
11139         it was previously linked.
11140
11141 2006-08-08  Edward Hervey  <edward@fluendo.com>
11142
11143         * tests/check/libs/gdp.c:
11144         Also comment out the test (see below).
11145
11146 2006-08-08  Edward Hervey  <edward@fluendo.com>
11147
11148         * tests/check/libs/gdp.c: (gst_dp_suite):
11149         Use the architecture information from config.h and not gcc macros
11150         in order to properly disable a test that fails on PPC64.
11151
11152 2006-08-04  Tim-Philipp Müller  <tim at centricular dot net>
11153
11154         * gst/gstelement.c: (gst_element_remove_pad):
11155           Don't crash printing the warning if the pad has no parent.
11156
11157 2006-08-02  Wim Taymans  <wim@fluendo.com>
11158
11159         * libs/gst/dataprotocol/dataprotocol.c:
11160         (gst_dp_header_from_buffer_any), (gst_dp_packet_from_caps_any),
11161         (gst_dp_crc), (gst_dp_header_payload_length),
11162         (gst_dp_header_payload_type), (gst_dp_packet_from_event),
11163         (gst_dp_packet_from_event_1_0), (gst_dp_buffer_from_header),
11164         (gst_dp_caps_from_packet), (gst_dp_event_from_packet_0_2),
11165         (gst_dp_event_from_packet), (gst_dp_validate_header),
11166         (gst_dp_validate_payload):
11167         Make debug category static
11168         Constify the crc table.
11169         Do some more arg checking in public functions.
11170         Fix some docs and do some small cleanups.
11171
11172         * tests/check/libs/gdp.c: (GST_START_TEST), (gst_dp_suite):
11173         Add some more checks to see if GDP deals with bogus input.
11174
11175 2006-07-31  Wim Taymans  <wim@fluendo.com>
11176
11177         * gst/gstvalue.c: (gst_value_compare_list):
11178         Fix GstValueList comparison code. Fixes #347293.
11179
11180         * tests/check/gst/gstvalue.c: (GST_START_TEST):
11181         Check to test GstValueList comparison.
11182
11183 2006-07-31  Jan Schmidt  <thaytan@mad.scientist.com>
11184
11185         * gst/gstelementfactory.c: (gst_element_factory_create):
11186         Remove unnecessary ref/unref pair
11187
11188         * gst/parse/grammar.y:
11189         Make sure to free the parse buffer on all code paths.
11190         Move a g_free up to the error handler where it's easier to see.
11191
11192         * tests/check/gst/gstevent.c: (test_event):
11193         Extending timeout for downstream travelling events to 10 seconds to
11194         hopefully avoid intermittent failure on the buildbots.
11195
11196         * tests/check/pipelines/parse-launch.c: (run_delayed_test):
11197         Don't manually set the state of the src element - it will happen as a
11198         natural consequence of the pipeline changing state, and that way it
11199         will do it in the right order too.
11200
11201 2006-07-31  Wim Taymans  <wim@fluendo.com>
11202
11203         * libs/gst/base/gstbasetransform.c:
11204         (gst_base_transform_buffer_alloc):
11205         Use OBJECT_LOCK and refcounting to get the pad caps in the
11206         buffer_alloc function because the caps could change while we are
11207         busy with them. Fixes #349105
11208
11209 2006-07-31  Wim Taymans  <wim@fluendo.com>
11210
11211         * gst/gstutils.c: (gst_pad_get_fixed_caps_func):
11212         Protect _PAD_CAPS with OBJECT_LOCK.
11213
11214 2006-07-31  Wim Taymans  <wim@fluendo.com>
11215
11216         * gst/gstpad.c: (gst_pad_class_init), (gst_pad_dispose),
11217         (gst_pad_get_property), (gst_pad_activate_pull),
11218         (gst_pad_activate_push), (gst_pad_set_blocked_async),
11219         (gst_pad_set_activate_function),
11220         (gst_pad_set_activatepull_function),
11221         (gst_pad_set_activatepush_function), (gst_pad_set_chain_function),
11222         (gst_pad_set_getrange_function),
11223         (gst_pad_set_checkgetrange_function), (gst_pad_set_event_function),
11224         (gst_pad_set_query_function), (gst_pad_set_query_type_function),
11225         (gst_pad_set_internal_link_function), (gst_pad_set_link_function),
11226         (gst_pad_set_unlink_function), (gst_pad_set_getcaps_function),
11227         (gst_pad_set_acceptcaps_function),
11228         (gst_pad_set_fixatecaps_function), (gst_pad_set_setcaps_function),
11229         (gst_pad_set_bufferalloc_function), (gst_pad_link_check_hierarchy),
11230         (gst_pad_get_caps_unlocked), (gst_pad_get_caps),
11231         (gst_pad_peer_get_caps), (gst_pad_accept_caps),
11232         (gst_pad_peer_accept_caps), (gst_pad_set_caps),
11233         (gst_pad_configure_sink), (gst_pad_configure_src),
11234         (gst_pad_get_allowed_caps), (gst_pad_get_negotiated_caps),
11235         (gst_pad_buffer_alloc_unchecked), (gst_pad_alloc_buffer_full),
11236         (gst_pad_query), (gst_pad_load_and_link), (handle_pad_block),
11237         (gst_pad_chain_unchecked), (gst_pad_push), (gst_pad_get_range),
11238         (gst_pad_send_event):
11239         Use _DEBUG_OBJECT when it makes sense.
11240         Protect GST_PAD_CAPS with the OBJECT_LOCK.
11241         Small cleanups and code reflows.
11242         Avoid caps refcounting in _accept_caps.
11243         Refactor alloc_buffer so that the code performed on the peer is in a
11244         separate function. Also if the pad does not implement a buffer alloc
11245         function, we should still check if the pad is flushing before falling
11246         back to the default allocator.
11247
11248 2006-07-31  Jan Schmidt  <thaytan@mad.scientist.com>
11249
11250         * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
11251         Make all uses of identity and fakesink have silent=true to avoid
11252         serialising every passing data structure, which is breaking tests
11253         on FC4 for some unknown reason.
11254
11255 2006-07-30  Stefan Kost  <ensonic@users.sf.net>
11256
11257         * gst/parse/Makefile.am:
11258         * gst/parse/grammar.y:
11259         * gst/parse/parse.l:
11260           Reverted previous patch as it required to bump the flex dependency to
11261           2.5.31, where fc4/5 seem to ship only the ancient 2.5.4a :(
11262
11263 2006-07-30  Stefan Kost  <ensonic@users.sf.net>
11264
11265         Patch by: Marc-Andre Lureau <marcandre.lureau@gmail.com>
11266
11267         * gst/parse/Makefile.am:
11268         * gst/parse/grammar.y:
11269         * gst/parse/parse.l:
11270           push & pop the state of the lexer for reentrant use case
11271           Fixes #349180
11272
11273 2006-07-29  Tim-Philipp Müller  <tim at centricular dot net>
11274
11275         * libs/gst/base/gstbasesrc.h:
11276           Note in the docs that the ::newsegment vfunc is not actually used by
11277           GstBaseSrc.
11278
11279 2006-07-28  Wim Taymans  <wim@fluendo.com>
11280
11281         * libs/gst/base/gstcollectpads.c:
11282         (gst_collect_pads_set_flushing_unlocked), (gst_collect_pads_pop),
11283         (gst_collect_pads_clear), (gst_collect_pads_flush),
11284         (gst_collect_pads_event), (gst_collect_pads_chain):
11285         When flushing a pad, also clear the queued buffer so that we don't
11286         accidentally use it when we shouldn't.
11287         Fix leaks by inreffing incomming buffer.
11288         Flush out queued buffers in case of errors.
11289         Fixes #347452.
11290
11291 2006-07-28  Wim Taymans  <wim@fluendo.com>
11292
11293         * docs/random/phonon-gst:
11294         Random notes about a Phonon backend.
11295
11296 2006-07-27  Jan Schmidt  <thaytan@mad.scientist.com>
11297
11298         * libs/gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
11299         Extra debug output
11300         * tests/check/libs/gdp.c: (gst_dp_suite):
11301         Take a whack at fixing the ppc compile using a different define to
11302         disable the broken test.
11303
11304         * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
11305         Remove excess g_print()
11306
11307 2006-07-27  Jan Schmidt <thaytan@mad.scientist.com>
11308
11309         * tests/check/pipelines/parse-launch.c: (expected_fail_pipe):
11310         Oops, meant to uncomment this line too to dampen the noise a bit.
11311
11312 2006-07-27  Jan Schmidt <thaytan@mad.scientist.com>
11313
11314         * gst/parse/grammar.y:
11315         * gst/parse/parse.l:
11316         * tests/check/pipelines/parse-launch.c: (expected_fail_pipe),
11317         (GST_START_TEST), (parse_suite):
11318         Fix some of the leaks exposed by extending the parse-launch testsuite,
11319         and move the 3 I can't figure out into a separate test that won't run
11320         the pipelines unless the appropriate line is uncommented.
11321
11322 2006-07-27  Tim-Philipp Müller  <tim at centricular dot net>
11323
11324         * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
11325           Requesting 0 bytes before the end of the file should result in
11326           FLOW_OK and an empty buffer, not FLOW_UNEXPECTED. Thank you
11327           unit test.
11328
11329 2006-07-27  Wim Taymans  <wim@fluendo.com>
11330
11331         * gst/gstcaps.c: (gst_static_caps_get), (gst_caps_get_structure):
11332         Fix useless assert, a uint is always positive.
11333
11334         * gst/gststructure.c: (gst_structure_nth_field_name),
11335         (gst_structure_foreach), (gst_structure_map_in_place):
11336         Check input arguments for public functions to avoid obvious crashes.
11337
11338         * plugins/elements/gstfakesink.c: (gst_fake_sink_render):
11339         * plugins/elements/gstfakesink.h:
11340         Do less useless typechecking.
11341
11342 2006-07-27  Tim-Philipp Müller  <tim at centricular dot net>
11343
11344         * plugins/elements/gstfilesrc.c: (gst_file_src_class_init):
11345           Do not use mmap() by default since there are a number of error
11346           conditions that we would like to handle in a non-fatal way that
11347           will result in a SIGBUS if we use mmap(). Examples: external
11348           devices (USB harddrive, portable music player) being unplugged
11349           while in use; file on mounted CD/DVD that can't be read because
11350           the medium is partly damaged. Fixes #348455 and #348475.
11351
11352 2006-07-27  Jan Schmidt  <thaytan@mad.scientist.com>
11353
11354         * gst/gstquery.h:
11355         Delete unused and misleading define of GST_QUERY_TYPE_RATE_DEN -
11356         rates are a gdouble
11357
11358 2006-07-26  Stefan Kost  <ensonic@users.sf.net>
11359
11360         * gst/gstregistry.c:
11361           Move big documentation comment into class section header, so that it
11362           appears in the API docs.
11363
11364 2006-07-26  Jan Schmidt  <thaytan@mad.scientist.com>
11365
11366         * docs/gst/gstreamer-sections.txt:
11367         Oops. Commit the docs additions too for new API.
11368         Also, remove the mention of the non-existent GST_QUERY_TYPE_RATE_DEN
11369
11370 2006-07-26  Jan Schmidt  <thaytan@mad.scientist.com>
11371
11372         * gst/gststructure.c: (gst_structure_id_set),
11373         (gst_structure_id_set_valist):
11374         * gst/gststructure.h:
11375         Add API for setting values into structures without performing
11376         a quark lookup, if the appropriate quark is already known.
11377
11378         API: gst_structure_id_set
11379         API: gst_structure_id_set_valist
11380
11381         * gst/parse/grammar.y:
11382         * gst/parse/parse.l:
11383         Remove some dead code shown by the coverage information.
11384         Don't throw a critical g_warning when encountering a syntax error,
11385         just warn and let the normal error path handle it.
11386
11387         * plugins/elements/gstelements.c:
11388         Bump the rank of filesink up to PRIMARY so that it is preferred over
11389         gnomevfssink for file:// sink uri's
11390
11391         * tests/check/pipelines/parse-launch.c: (expected_fail_pipe),
11392         (GST_START_TEST), (run_delayed_test),
11393         (gst_parse_test_element_base_init),
11394         (gst_parse_test_element_class_init), (gst_parse_test_element_init),
11395         (gst_parse_test_element_change_state),
11396         (gst_register_parse_element), (parse_suite):
11397         Beef up the tests for parse syntax to check that more error cases
11398         fail as they are supposed to. Increases the test coverage a bit.
11399
11400 2006-07-26  Tim-Philipp Müller  <tim at centricular dot net>
11401
11402         * docs/manual/basics-elements.xml:
11403           Fix gst_element_link() example.
11404
11405         * gst/gstutils.c:
11406           Mention in API docs that one should usually gst_bin_add()
11407           elements to a bin or pipeline before doing the linking.
11408           
11409 2006-07-26  Wim Taymans  <wim@fluendo.com>
11410
11411         * gst/gstbuffer.c: (gst_buffer_get_type), (gst_buffer_new),
11412         (gst_subbuffer_get_type), (gst_buffer_create_sub):
11413         Avoid function call for known types by keeping the buffer and
11414         subbuffer GType global.
11415
11416         * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
11417         Random silly optimisations in read() path.
11418
11419 2006-07-26  Jan Schmidt  <thaytan@mad.scientist.com>
11420
11421         * tools/gst-launch.c: (main):
11422           If the top-level of the parse is a normal bin, it doesn't do the
11423           right logic to run as a top-level element, so place it inside a
11424           pipeline.
11425
11426 2006-07-25  Tim-Philipp Müller  <tim at centricular dot net>
11427
11428         * plugins/elements/gstfilesrc.c: (gst_file_src_set_property):
11429           Remove superfluous g_object_notify() calls, GObject does
11430           that for us automatically.
11431
11432 2006-07-25  Stefan Kost  <ensonic@users.sf.net>
11433
11434         * gst/gstinfo.h:
11435           on Win32, use dllspec to export the debug category symbols
11436
11437 2006-07-24  Tim-Philipp Müller  <tim at centricular dot net>
11438
11439         * gst/gsttaglist.c: (_gst_tag_initialize):
11440           Allow more than one GST_TAG_IMAGE per taglist.
11441
11442 2006-07-24  Thomas Vander Stichele  <thomas at apestaart dot org>
11443
11444         * gst/gstminiobject.c:
11445           update docs
11446         * plugins/elements/gstfdsrc.c: (gst_fd_src_set_property),
11447         (gst_fd_src_create):
11448           log recurring events at LOG level
11449           add more debug for when the fd gets set
11450
11451 2006-07-21  Stefan Kost  <ensonic@users.sf.net>
11452
11453         * gst/gstparse.c: (gst_parse_launch):
11454           Also remove reentrance checks if flex is MT safe (#348179)
11455          Fix my empty ChangeLog entry below
11456
11457 2006-07-21  Andy Wingo  <wingo@pobox.com>
11458
11459         * docs/libs/gstreamer-libs-sections.txt: Attempt to pacify buildbot.
11460
11461         * libs/gst/check/Makefile.am
11462         (libgstcheck_@GST_MAJORMINOR@include_HEADERS)
11463         (libgstcheck_@GST_MAJORMINOR@_la_SOURCES): 
11464         * libs/gst/check/gstbufferstraw.h:
11465         * libs/gst/check/gstbufferstraw.c: Add some new hype testing
11466         functions, thus proving I am still a GStreamer haxor. OK I wrote
11467         them a long time ago, but anyways.
11468
11469 2006-07-21  Stefan Kost  <ensonic@users.sf.net>
11470
11471         * configure.ac:
11472         * gst/gstparse.c: (gst_parse_launch):
11473           Check for flex version and omit mutex if we have a MT save flex
11474           (fixes #348179)
11475
11476 2006-07-21  Wim Taymans  <wim@fluendo.com>
11477
11478         * gst/gstparse.c: (gst_parse_launch):
11479         Protect recursive calls to _parse with a recursive mutex
11480         and busy flag.
11481
11482 2006-07-21  Wim Taymans  <wim@fluendo.com>
11483
11484         * tests/check/gst/gstpad.c: (GST_START_TEST):
11485         Fix leak in test.
11486
11487 2006-07-20  Stefan Kost  <ensonic@users.sf.net>
11488
11489         * gst/gstparse.c: (gst_parse_launch):
11490           Do not hang on recursive usage of gst_parse_launch()
11491
11492 2006-07-20  Tim-Philipp Müller  <tim at centricular dot net>
11493
11494         * gst/gsttaglist.c:
11495           Add some more docs, comments and FIXME 0.11s here and there
11496           and also fix some typos.
11497
11498 2006-07-20  Tim-Philipp Müller  <tim at centricular dot net>
11499
11500         * gst/gstsegment.h:
11501           Convert tabs to spaces for better readability. 
11502
11503 2006-07-20  Edward Hervey  <edward@fluendo.com>
11504
11505         * tests/check/libs/gdp.c: (gst_dp_suite):
11506         the test_buffer test fails at line 140 on ppc64 at the following
11507         check:
11508         fail_unless (GST_BUFFER_FLAG_IS_SET (newbuffer,
11509                 GST_BUFFER_FLAG_IN_CAPS),
11510                 "GST_BUFFER_IN_CAPS flag should have been copied !");
11511         See bug #348114 for more details.
11512
11513 2006-07-19  Tim-Philipp Müller  <tim at centricular dot net>
11514
11515         * docs/pwg/advanced-scheduling.xml:
11516         * gst/gstpad.c:
11517           Fix typos (#348000).
11518
11519 2006-07-18  Tim-Philipp Müller  <tim at centricular dot net>
11520
11521         * docs/pwg/intro-basics.xml:
11522           Fix wrong links (#347927).
11523
11524 2006-07-18  Stefan Kost  <ensonic@users.sf.net>
11525
11526         * gst/gstregistry.h:
11527         * gst/gstregistryxml.c: (load_feature),
11528         (gst_registry_xml_read_cache), (gst_registry_xml_save_feature):
11529         * win32/common/config.h:
11530           make --disable-index work (#342564)
11531
11532 2006-07-18  Wim Taymans  <wim@fluendo.com>
11533
11534         Patch by: Peter Kjellerstedt <pkj at axis dot com>
11535
11536         * gst/Makefile.am:
11537         * gst/gsttrace.h:
11538         The attached patch adds two missing defines to gsttrace.h when tracing
11539         is disabled.  It also corrects one existing define.
11540         Fixes #347756.
11541
11542 2006-07-17  Wim Taymans  <wim@fluendo.com>
11543
11544         * docs/gst/gstreamer-sections.txt:
11545         * gst/gst.c: (gst_segtrap_is_enabled), (gst_segtrap_set_enabled):
11546         * gst/gst.h:
11547         * gst/gstplugin.c: (_gst_plugin_fault_handler_restore):
11548         Add two functions to check and change the SIGSEGV behaviour
11549         when loading plugins.
11550         Don't mess with the SIGSEGV handler when we were told not to.
11551         Fixes #347794.
11552         API: gst_segtrap_is_enabled
11553         API: gst_segtrap_set_enabled
11554
11555 2006-07-14  Wim Taymans  <wim@fluendo.com>
11556
11557         * libs/gst/base/gstbasesrc.c: (gst_base_src_update_length):
11558         * tests/check/elements/filesrc.c: (GST_START_TEST):
11559         Revert fix for regression in #347408 after release.
11560
11561 2006-07-14  Tim-Philipp Müller  <tim at centricular dot net>
11562
11563         Patch by: Antoine Tremblay <hexa00 at gmail com>
11564
11565         * gst/gstutils.c: (gst_element_unlink):
11566           Free iterator when done (#347311).
11567
11568         * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
11569           And add a test case for this.
11570
11571 2006-07-14  Jan Schmidt  <thaytan@mad.scientist.com>
11572
11573         * configure.ac:
11574         Bump nano back to CVS
11575
11576 === release 0.10.9 ===
11577
11578 2006-07-13  Jan Schmidt <thaytan@mad.scientist.com>
11579
11580         * configure.ac:
11581           releasing 0.10.9, "On the road again"
11582
11583 2006-07-13  Wim Taymans  <wim@fluendo.com>
11584
11585         * libs/gst/base/gstbasesrc.c: (gst_base_src_update_length):
11586         * tests/check/elements/filesrc.c: (GST_START_TEST):
11587         Revert pull-0 fix for release. Disable check. Fixes #347408.
11588
11589 2006-07-13  Thomas Vander Stichele  <thomas at apestaart dot org>
11590
11591         * libs/gst/dataprotocol/dataprotocol.c:
11592         (gst_dp_event_from_packet_1_0):
11593           Fixes #347337: failure to deserialize event packets with
11594           empty payload (only event type)
11595
11596 2006-07-13  Thomas Vander Stichele  <thomas at apestaart dot org>
11597
11598         * gst/Makefile.am:
11599           do not install a .c file in the header directory
11600
11601 2006-07-13  Edward Hervey  <edward@fluendo.com>
11602
11603         * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked):
11604         GhostPad no longer implicitely use the padtemplates of the targets.
11605         Fixes #347384
11606
11607 2006-07-11  Jan Schmidt  <thaytan@mad.scientist.com>
11608
11609         * gst/gstvalue.c: (gst_value_compare_list),
11610         (gst_value_compare_array), (_gst_value_initialize):
11611         * tests/check/gst/gstvalue.c: (GST_START_TEST):
11612         Make GstValueArray comparison be order dependent as designed.
11613         Add checks for value lists and value array comparisons.
11614         Fixes #347221
11615
11616 2006-07-11  Edward Hervey  <edward@fluendo.com>
11617
11618         * gst/gstbin.c: (activate_pads),
11619         (iterator_activate_fold_with_resync), (gst_bin_src_pads_activate),
11620         (gst_bin_change_state_func):
11621         (de)activate src pads before calling state_change on the childs.
11622         This is to avoid the case where a src ghostpad is blocked (holding the
11623         stream lock), which would block the deactivation of the ghostpad's
11624         target pad.
11625         * gst/gstghostpad.c: (gst_proxy_pad_do_query_type),
11626         (gst_proxy_pad_do_event), (gst_proxy_pad_do_query),
11627         (gst_proxy_pad_do_internal_link), (gst_proxy_pad_do_bufferalloc),
11628         (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange),
11629         (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_getcaps),
11630         (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
11631         (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target_unlocked),
11632         (gst_proxy_pad_set_target), (gst_proxy_pad_get_internal),
11633         (gst_proxy_pad_dispose), (gst_proxy_pad_init),
11634         (gst_ghost_pad_parent_set), (gst_ghost_pad_parent_unset),
11635         (gst_ghost_pad_class_init),
11636         (gst_ghost_pad_internal_do_activate_push),
11637         (gst_ghost_pad_internal_do_activate_pull),
11638         (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
11639         (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
11640         (gst_ghost_pad_dispose), (gst_ghost_pad_new_no_target),
11641         (gst_ghost_pad_new), (gst_ghost_pad_set_target):
11642         GhostPads now create their internal GstProxyPad at creation (and not
11643         when they're linked, as it was being done previously).
11644         The internal and target pads are linked straight away.
11645         The data will also travel through the other pad in order to make
11646         pad blocking and probes non-hackish (the probe/block now really happens
11647         on the GhostPad and not on the target).
11648         * gst/gstpad.c: (gst_pad_set_blocked_async),
11649         (gst_pad_link_prepare), (gst_pad_push_event):
11650         Remove previous ghostpad cruft.
11651         * gst/gstutils.c: (gst_pad_add_data_probe),
11652         (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
11653         (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
11654         (gst_pad_remove_buffer_probe):
11655         Remove previous ghost pad cruft.
11656         Added more detailed debug statements.
11657         * tests/check/gst/gstghostpad.c: (GST_START_TEST):
11658         Fix the testsuite for refcounting changes.
11659         The comments about who has references were correct, but the refcount
11660         being checked wasn't the same (!?!).
11661
11662         Fixes #341029
11663
11664 2006-07-10  Stefan Kost  <ensonic@users.sf.net>
11665
11666         * docs/gst/gstreamer-sections.txt:
11667         * gst/gstconfig.h.in:
11668         More docs for configuration options, add docs to gtk-doc.
11669
11670 2006-07-10  Stefan Kost  <ensonic@users.sf.net>
11671
11672         * gst/Makefile.am:
11673         * gst/gstconfig.h.in:
11674         * win32/common/config.h:
11675         Fix build when disabling tracing (fixes #344016). Also start to document
11676         the defines that disable the sub-systems.
11677
11678 2006-07-10  Edward Hervey  <edward@fluendo.com>
11679
11680         * gst/gst.c: (ensure_current_registry_forking):
11681         let's make valgrind happy...
11682
11683 2006-07-09  Wim Taymans  <wim@fluendo.com>
11684
11685         * gst/gstelement.c: (activate_pads),
11686         (iterator_activate_fold_with_resync), (gst_element_pads_activate):
11687         Better pad activation code: Reset the collect value too on resync.
11688         Add some comments.
11689
11690 2006-07-09  Wim Taymans  <wim@fluendo.com>
11691
11692         * gst/gstpad.c: (gst_pad_init), (gst_pad_activate_pull),
11693         (gst_pad_activate_push):
11694         Use some more macros where it makes sense.
11695         Allow pad mode switching instead of asserting. When a pad
11696         is activated in one mode and we activate it in another, 
11697         deactivate it first before activating it in a different mode.
11698         Fixes #329198.
11699
11700 2006-07-08  Andy Wingo  <wingo@pobox.com>
11701
11702         * tools/gst-launch.c (main): Handle err == NULL.
11703
11704         * gst/gst.c (init_post, ensure_current_registry)
11705         (ensure_current_registry_forking)
11706         (ensure_current_registry_nonforking): Reduce #ifdef ratnest by
11707         factoring out the registry scanning into separate functions. Don't
11708         fork for the rescan is GST_REGISTRY_FORK=no; useful in debugging.
11709         Better environment var name/interface suggestions accepted.
11710
11711 2006-07-07  Tim-Philipp Müller  <tim at centricular dot net>
11712
11713         * gst/gstobject.c: (gst_object_set_name_default),
11714         (gst_object_set_name):
11715           Random micro-optimisation: don't use a hash table
11716           with strings as keys and the usual strdup/strcmp
11717           involved, but rather just use the GQuark of the
11718           type name as key, since it needs to be looked up
11719           anyway to get the type name string.
11720
11721         * tests/check/gst/gstobject.c: (GST_START_TEST):
11722           Fix various leaks.
11723
11724 2006-07-07  Tim-Philipp Müller  <tim at centricular dot net>
11725
11726         * gst/gstbin.c: (compare_interface), (gst_bin_get_by_interface),
11727         (gst_bin_iterate_all_by_interface):
11728           Can't use GPOINTER_TO_INT and GINT_TO_POINTER with GTypes.
11729           GTypes are gulongs and thus the top 4 bytes might be cut
11730           off on some platforms when doing GPOINTER_TO_INT, leading
11731           to invalid GTypes and bad things happening (see RH bug #179654).
11732           Also add a check to make sure the type passed in is really
11733           an interface type.
11734
11735 2006-07-07  Tim-Philipp Müller  <tim at centricular dot net>
11736
11737         * .cvsignore:
11738           Ignore more.
11739
11740 2006-07-07  Tim-Philipp Müller  <tim at centricular dot net>
11741
11742         * Makefile.am:
11743         * configure.ac:
11744         * gst-element-check.m4:
11745         * gst-element-check.m4.in:
11746           Make gst-element-check-$VERSION.m4 call gst-inspect-$VERSION
11747           instead of the unversioned gst-inspect (#324176, #168659).
11748
11749 2006-07-06  Wim Taymans  <wim@fluendo.com>
11750
11751         * gst/gstmessage.h:
11752         Use a valid int for the _MESSAGE_ANY enum value to avoid compiler
11753         warnings.
11754
11755 2006-07-06  Wim Taymans  <wim@fluendo.com>
11756
11757         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
11758         (gst_base_src_wait), (gst_base_src_update_length),
11759         (gst_base_src_get_range), (gst_base_src_default_check_get_range),
11760         (gst_base_src_check_get_range), (gst_base_src_pad_check_get_range),
11761         (gst_base_src_loop), (gst_base_src_start),
11762         (gst_base_src_activate_pull):
11763         Update docs.
11764         blocksize == 0 now means the default blocksize when working in push
11765         based mode.
11766         Remove some pointless asserts in _wait function.
11767         Fix offset/length calculations and EOS handling. We can now pull 0
11768         bytes as well, which is allowed.
11769         use _check_get_range() to decide if we can operate in _pull based
11770         mode.
11771         Fix refcounting leak when check_get_range function was not 
11772         implemented.
11773         API GstBaseSrc::blocksize range can be 0 too now (default)
11774
11775         * tests/check/elements/filesrc.c: (GST_START_TEST),
11776         (filesrc_suite):
11777         Added check to test _get_range() behaviour.
11778
11779 2006-07-06  Wim Taymans  <wim@fluendo.com>
11780
11781         * gst/gstpad.c: (gst_pad_chain_unchecked), (gst_pad_chain),
11782         (gst_pad_push), (gst_pad_check_pull_range), (gst_pad_get_range),
11783         (gst_pad_pull_range):
11784         * gst/gstpad.h:
11785         Lots of comments and docs added to the pad functions.
11786         Flesh out the expected behaviour of the get_range() functions.
11787
11788 2006-07-06  Wim Taymans  <wim@fluendo.com>
11789
11790         * gst/gstbus.h:
11791         * gst/gstclock.h:
11792         * gst/gstevent.h:
11793         * gst/gstiterator.h:
11794         * gst/gstpad.h:
11795         * gst/gstplugin.h:
11796         * gst/gsttask.h:
11797         Remove comma at end of enumerator list. 
11798
11799 2006-07-05  Sebastien Moutte  <sebastien@moutte.net>
11800
11801         * win32/common/libgstbase.def:
11802         * win32/common/libgstdataprotocol.def:
11803         * win32/common/libsgtreamer.def:
11804         Add new exported functions.
11805
11806 2006-07-05  Wim Taymans  <wim@fluendo.com>
11807
11808         * libs/gst/base/gstpushsrc.c: (gst_push_src_check_get_range):
11809         Add some more docs here and there.
11810
11811 2006-07-05  Wim Taymans  <wim@fluendo.com>
11812
11813         * libs/gst/base/gstbasesink.c: (gst_base_sink_preroll_object),
11814         (gst_base_sink_loop), (gst_base_sink_get_position):
11815         When operating in pull mode update the offset so that we
11816         read sequentially.
11817
11818 2006-07-05  Wim Taymans  <wim@fluendo.com>
11819
11820         * gst/gstregistryxml.c: (read_string):
11821         Avoid strdup. (will happen in libxml, but hey!)
11822
11823         * gst/gsturi.c:
11824         Add some more docs.
11825
11826 2006-07-05  Wim Taymans  <wim@fluendo.com>
11827
11828         * gst/gstbuffer.c: (_gst_buffer_copy), (gst_buffer_create_sub):
11829         * tests/check/gst/gstbuffer.c: (GST_START_TEST),
11830         (gst_buffer_suite):
11831         No point in checking if the size of the subbuffer > 0, the
11832         code handles it correclty as demonstrated by unit test.
11833         Also add a unit test for the zero sized _new_and_alloc and
11834         _copy. Fixes #346663.
11835
11836 2006-07-05  Wim Taymans  <wim@fluendo.com>
11837
11838         * libs/gst/base/gstbasetransform.c:
11839         (gst_base_transform_prepare_output_buffer),
11840         (gst_base_transform_buffer_alloc),
11841         (gst_base_transform_handle_buffer):
11842         Make sure the buffer we pass to transform_ip has a refcount of
11843         1 and thus is writable. Fixes #343196
11844
11845 2006-07-04  Jan Schmidt  <thaytan@mad.scientist.com>
11846
11847         * plugins/elements/gstfilesrc.c: (gst_file_src_class_init),
11848         (gst_file_src_init), (gst_file_src_set_property),
11849         (gst_file_src_get_property), (gst_file_src_map_region):
11850         * plugins/elements/gstfilesrc.h:
11851         Add "sequential" property, off by default, to use madvise and hint
11852         to the kernel that sequential access is desired.
11853         Touch all retrieved pages by default to ensure they are pulled
11854         into memory. (Closes #345720)
11855
11856 2006-07-03  Wim Taymans  <wim@fluendo.com>
11857
11858         * docs/design/part-block.txt:
11859         * docs/design/part-dynamic.txt:
11860         Small docs updates.
11861
11862 2006-07-03  Wim Taymans  <wim@fluendo.com>
11863
11864         * gst/gstcaps.c: (gst_caps_new_empty), (_gst_caps_free),
11865         (gst_caps_unref), (gst_static_caps_get),
11866         (gst_caps_append_structure):
11867         * gst/gstclock.c: (gst_clock_entry_new), (_gst_clock_id_free):
11868         Use GSlice when the glib we build against is >= 2.10
11869
11870 2006-07-03  Wim Taymans  <wim@fluendo.com>
11871
11872         * gst/gstelement.c: (gst_element_pads_activate):
11873         Small cleanup in pad activation code.
11874
11875 2006-07-03  Wim Taymans  <wim@fluendo.com>
11876
11877         Patch by: Peter Kjellerstedt <pkj at axis dot com>
11878
11879         * gst/gst-i18n-app.h:
11880         * gst/gst-i18n-lib.h:
11881         * tools/gst-inspect.c: (print_signal_info):
11882         The attached patch will make the inclusion of gettext.h unconditional in
11883         gst/gst-i18n-app.h and gst/gst-i18n-lib.h, and it will remove the inclusion of
11884         libintl.h in tools/gst-inspect.c.
11885         This allows use of --disable-nls again and fixes #344642.
11886
11887 2006-07-03  Edward Hervey  <edward@fluendo.com>
11888
11889         * gst/gstpad.c: (handle_pad_block), (gst_pad_push_event):
11890         Implement pad blocking on events according to part-block.txt.
11891         More comments on behaviour.
11892         * tests/check/gst/gstevent.c: (test_event):
11893         Send event to peer pad of blocked pad (else it will block).
11894
11895 2006-07-03  Thomas Vander Stichele  <thomas at apestaart dot org>
11896
11897         * libs/gst/check/gstcheck.c: (gst_check_message_error),
11898         (gst_check_run_suite):
11899           if we get the wrong message, give us the types as string
11900         * plugins/elements/gstfilesrc.c: (gst_file_src_start):
11901           Fix a translatable
11902         * tests/check/elements/filesrc.c: (GST_START_TEST):
11903           add a test for trying to open a non-existing file
11904
11905 2006-07-03  Thomas Vander Stichele  <thomas at apestaart dot org>
11906
11907         * tests/check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
11908           add a test for adding self
11909
11910 2006-07-03  Thomas Vander Stichele  <thomas at apestaart dot org>
11911
11912         * libs/gst/check/gstcheck.h:
11913           add some assert_ as alias for fail_unless_*
11914         * tests/check/gst/gst.c: (GST_START_TEST), (gst_suite):
11915           increase test coverage
11916
11917 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
11918
11919         * Makefile.am:
11920           include lcov.mak for lcov coverage generation
11921         * tools/Makefile.am:
11922           add to CLEANFILES
11923
11924 2006-07-02  Edward Hervey  <edward@fluendo.com>
11925
11926         * tests/check/elements/.cvsignore:
11927         moaping
11928
11929 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
11930
11931         * configure.ac:
11932           don't set CFLAGS and friends for gcov, done from GST_GCOV now
11933         * tests/check/Makefile.am:
11934           clean up gcov files
11935
11936 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
11937
11938         * gst/gstcaps.c: (gst_caps_remove_and_get_structure):
11939           remove gst_caps_simplify; it was not declared and not used
11940           and deprecated in 0.8
11941
11942 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
11943
11944         * docs/faq/gst-uninstalled:
11945           don't put empty paths on PYTHONPATH
11946         * docs/gst/gstreamer-sections.txt:
11947           remove some symbols that are not there
11948
11949 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
11950
11951         * gst/gstcaps.c: (gst_caps_compare_structures):
11952           whitespace fixes
11953         * tests/check/gst/gstbuffer.c: (GST_START_TEST):
11954         * tests/check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
11955           add more tests
11956
11957 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
11958
11959         * libs/gst/dataprotocol/Makefile.am:
11960           build dataprotocol test by linking to the lib, instead of
11961           compiling the source, so we get coverage
11962         * tests/check/Makefile.am:
11963         * tests/check/elements/filesrc.c: (event_func), (setup_filesrc),
11964         (cleanup_filesrc), (GST_START_TEST), (filesrc_suite):
11965           add a test for filesrc
11966
11967 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
11968
11969         * tests/check/gst/gststructure.c: (GST_START_TEST),
11970         (gst_structure_suite):
11971           Push coverage from 59.04% to 70.00%
11972
11973 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
11974
11975         * tests/check/Makefile.am:
11976           gst-inspect every element; this makes sure that we also get
11977           coverage on element's get/set functions
11978
11979 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
11980
11981         * configure.ac:
11982           set CFLAGS and friends to -O0 if gcov is being used
11983           add GCOV LIBS
11984         * gst/Makefile.am:
11985         * libs/gst/base/Makefile.am:
11986         * libs/gst/check/Makefile.am:
11987         * libs/gst/controller/Makefile.am:
11988         * libs/gst/dataprotocol/Makefile.am:
11989         * libs/gst/net/Makefile.am:
11990         * plugins/elements/Makefile.am:
11991         * plugins/indexers/Makefile.am:
11992           add makefile rules to generate gcov data and clean up
11993         * tests/check/Makefile.am:
11994           add a coverage target that generates an html overview
11995           of coverage data
11996
11997 2006-07-01  Thomas Vander Stichele  <thomas at apestaart dot org>
11998
11999         * tests/check/elements/fakesink.c:
12000         * tests/check/elements/fakesrc.c:
12001         * tests/check/elements/fdsrc.c:
12002         * tests/check/elements/identity.c:
12003         * tests/check/generic/sinks.c: (gst_sinks_suite):
12004         * tests/check/generic/states.c:
12005         * tests/check/gst/gst.c:
12006         * tests/check/gst/gstabi.c:
12007         * tests/check/gst/gstbin.c:
12008         * tests/check/gst/gstbuffer.c: (gst_buffer_suite):
12009         * tests/check/gst/gstbus.c: (gst_bus_suite):
12010         * tests/check/gst/gstcaps.c: (GST_START_TEST):
12011         * tests/check/gst/gstelement.c:
12012         * tests/check/gst/gstevent.c: (gst_event_suite):
12013         * tests/check/gst/gstghostpad.c:
12014         * tests/check/gst/gstiterator.c: (gst_iterator_suite):
12015         * tests/check/gst/gstmessage.c: (gst_message_suite):
12016         * tests/check/gst/gstminiobject.c:
12017         * tests/check/gst/gstobject.c:
12018         * tests/check/gst/gstpad.c:
12019         * tests/check/gst/gstpipeline.c:
12020         * tests/check/gst/gstplugin.c:
12021         * tests/check/gst/gstquery.c: (gst_query_suite):
12022         * tests/check/gst/gstsegment.c: (gst_segment_suite):
12023         * tests/check/gst/gststructure.c:
12024         * tests/check/gst/gstsystemclock.c:
12025         * tests/check/gst/gsttag.c:
12026         * tests/check/gst/gsttask.c: (gst_task_suite):
12027         * tests/check/gst/gstutils.c:
12028         * tests/check/gst/gstvalue.c:
12029         * tests/check/libs/adapter.c:
12030         * tests/check/libs/basesrc.c:
12031         * tests/check/libs/collectpads.c:
12032         * tests/check/libs/controller.c:
12033         * tests/check/libs/gdp.c: (gst_dp_suite):
12034         * tests/check/libs/gstnetclientclock.c:
12035         * tests/check/libs/gstnettimeprovider.c:
12036         * tests/check/libs/libsabi.c: (libsabi_suite):
12037         * tests/check/libs/typefindhelper.c:
12038         * tests/check/pipelines/cleanup.c:
12039         * tests/check/pipelines/parse-launch.c:
12040         * tests/check/pipelines/simple-launch-lines.c:
12041         * tests/check/pipelines/stress.c: (stress_suite):
12042           use the new macro
12043
12044 2006-07-01  Thomas Vander Stichele  <thomas at apestaart dot org>
12045
12046         * libs/gst/check/gstcheck.c: (gst_check_run_suite):
12047         * libs/gst/check/gstcheck.h:
12048           create a macro and function so that the simple unit test
12049           case can be just one macro to create main()
12050
12051 2006-06-30  Tim-Philipp Müller  <tim at centricular dot net>
12052
12053         * gst/gstbin.c: (gst_bin_restore_thyself):
12054         * gst/gstxml.c: (gst_xml_make_element):
12055           Fix deserialisation from XML. Set parent manually
12056           instead of using gst_bin_add(), since gst_bin_add()
12057           will unlink all pads of the element being added.
12058           Fixes #341667.
12059
12060 2006-06-28  Tim-Philipp Müller  <tim at centricular dot net>
12061
12062         Patch by: Peter Kjellerstedt <pkj at axis com>
12063
12064         * gst/gst.c: (prepare_for_load_plugin_func), (split_and_iterate):
12065           Fix missing g_strdup() and double free when using the
12066           --gst-plugin-load command line option (#346097).
12067
12068 2006-06-23  Tim-Philipp Müller  <tim at centricular dot net>
12069
12070         * gst/gstinfo.c:
12071           Promote GST_DEBUG_CATEGORY_STATIC in example in docs.
12072
12073         * libs/gst/net/gstnetclientclock.c:
12074         * libs/gst/net/gstnettimeprovider.c:
12075           Use GST_DEBUG_CATEGORY_STATIC here too (#342503).
12076
12077 2006-06-23  Tim-Philipp Müller  <tim at centricular dot net>
12078
12079         * docs/manual/advanced-dataaccess.xml:
12080           Fix buffer probe example compilation in
12081           ADM (#345708).
12082         
12083 2006-06-22  Edward Hervey  <edward@fluendo.com>
12084
12085         * gst/gstelement.c: (gst_element_pads_activate):
12086         We need to deactivate src pads first and then sink pads.
12087         The reason is the src pads might be blocking while holding the streaming
12088         lock, so we need to deactivate them first so that deactivating the sink
12089         pads doesn't block (since it will require the streaming lock).
12090
12091 2006-06-22  Wim Taymans  <wim@fluendo.com>
12092
12093         * libs/gst/base/gstbasetransform.c:
12094         (gst_base_transform_buffer_alloc):
12095         Forgot to remove two unneeded unrefs.
12096         Simplify a check _is_equal allready checks the obvious case.
12097
12098 2006-06-22  Wim Taymans  <wim@fluendo.com>
12099
12100         * docs/design/part-block.txt:
12101         Some docs about what pad_block should do.
12102
12103 2006-06-22  Wim Taymans  <wim@fluendo.com>
12104
12105         * gst/gstcaps.c: (gst_caps_replace):
12106         Fix crasher when passed NULL. Doc clarification.
12107         Optimize for the trivial case.
12108
12109         * gst/gstpipeline.c: (gst_pipeline_change_state):
12110         Small cleanups.
12111
12112         * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
12113         Small documentation cleanup.
12114
12115         * libs/gst/base/gstbasetransform.c:
12116         (gst_base_transform_buffer_alloc):
12117         Don't use silly gst_pad_get_negotiated_caps, GST_PAD_CAPS
12118         is what we need and it avoids a whole lot of redundant 
12119         refcount operations.
12120
12121 2006-06-22  Tim-Philipp Müller  <tim at centricular dot net>
12122
12123         Patch by: Philip Jägenstedt  <philip at lysator liu se>
12124
12125         * docs/manual/advanced-dataaccess.xml:
12126           Fix 'Embedding static elements' section to use
12127           GST_PLUGIN_DEFINE_STATIC (#345607).
12128
12129 2006-06-21  Tim-Philipp Müller  <tim at centricular dot net>
12130
12131         * tests/check/pipelines/simple-launch-lines.c: (test_stop_from_app):
12132           Attempt to 'fix' spuriously failing test case: it seems like the
12133           timeout of half a second is simply too small when the system is under
12134           load otherwise, and the timeout doesn't really seem to serve any
12135           particular purpose here. Give the pipeline a few seconds to preroll
12136           first, and then give it another half a second to go from PAUSED to
12137           PLAYING and marshal the message into the main thread.
12138
12139 2006-06-21  Tim-Philipp Müller  <tim at centricular dot net>
12140
12141         * tools/gst-feedback-m.m:
12142           Don't only use unversioned tools, try versioned tools as well
12143           (#345086).
12144
12145 2006-06-21  Tim-Philipp Müller  <tim at centricular dot net>
12146
12147         * gst/gstbus.c: (gst_bus_class_init):
12148           Fix some typos, make docs more explicit.
12149
12150 2006-06-20  Wim Taymans  <wim@fluendo.com>
12151
12152         * tests/check/gst/gstghostpad.c: (block_callback),
12153         (GST_START_TEST), (gst_ghost_pad_suite):
12154         Added some more ghostpad tests, mainly blocking
12155         and probes.
12156
12157 2006-06-16  Wim Taymans  <wim@fluendo.com>
12158
12159         * plugins/elements/gstfilesink.c: (gst_file_sink_open_file),
12160         (gst_file_sink_close_file), (gst_file_sink_do_seek),
12161         (gst_file_sink_event), (gst_file_sink_render):
12162         * plugins/elements/gstfilesink.h:
12163         Check if we can seek in the file instead of assuming
12164         we always can. Post an error when we are asked to seek in a
12165         non-seekable file (like a fifo). Fixes #343312.
12166         Some cleanups.
12167
12168 2006-06-16  Tim-Philipp Müller  <tim at centricular dot net>
12169
12170         * tools/gst-launch.1.in:
12171           Un-garble (fourcc) bit in filtered caps section.
12172
12173 2006-06-16  Tim-Philipp Müller  <tim at centricular dot net>
12174
12175         * docs/manual/advanced-autoplugging.xml:
12176         * docs/manual/basics-helloworld.xml:
12177         * docs/manual/highlevel-components.xml:
12178           Don't leak bus reference in sample code.
12179
12180 2006-06-15  Tim-Philipp Müller  <tim at centricular dot net>
12181
12182         * autogen.sh:
12183           Add default for new --enable-plugin-docs switch.
12184
12185         * configure.ac:
12186           Use new GST_PLUGIN_DOCS macro to check for pyxml etc.
12187           Fixes #344039.
12188
12189         * docs/Makefile.am:
12190           Use new ENABLE_PLUGIN_DOCS conditional.
12191
12192 2006-06-14  Wim Taymans  <wim@fluendo.com>
12193
12194         * gst/gstbin.c: (bin_query_duration_done), (gst_bin_query):
12195         Make it clear with a FIXME and a real define what the #if 0
12196         previously disabled.
12197
12198 2006-06-14  Wim Taymans  <wim@fluendo.com>
12199
12200         * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment),
12201         (gst_base_sink_preroll_object), (gst_base_sink_get_position):
12202         * libs/gst/base/gstbasetransform.c:
12203         (gst_base_transform_sink_eventfunc):
12204         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_event):
12205         Don't randomly and silently reset a segment when the format 
12206         changes as this is a bug somewhere upstream. Fixes #330379.
12207
12208 2006-06-14  Tim-Philipp Müller  <tim at centricular dot net>
12209
12210         Patch by: Wouter Paesen  <wouter at kangaroot net>
12211
12212         * libs/gst/controller/gstcontroller.c:
12213         (gst_controlled_property_new):
12214           Fix controlling of float properties (#344849).
12215
12216         * tests/check/libs/controller.c:
12217         (gst_test_mono_source_get_property),
12218         (gst_test_mono_source_set_property),
12219         (gst_test_mono_source_class_init), (GST_START_TEST):
12220           While we're at it, add some float stuff to unit test.
12221
12222 2006-06-13  Thomas Vander Stichele  <thomas at apestaart dot org>
12223
12224         * docs/README:
12225         * docs/images/gdp-header.svg:
12226           add a gdp image
12227         * docs/libs/Makefile.am:
12228         * docs/libs/gdp-header.png:
12229         * libs/gst/dataprotocol/dataprotocol.c:
12230           add it to the API docs
12231         * docs/manual/intro-motivation.xml:
12232           fix typo
12233
12234 2006-06-13  Tim-Philipp Müller  <tim at centricular dot net>
12235
12236         * gst/gst.c: (scan_and_update_registry), (init_post):
12237           If the fork()'ed child process can't write the updated registry cache
12238           file to disk for some reason, make it exit with a failure exit code,
12239           so that the parent can then re-scan the plugins itself and update the
12240           registry structures in memory and work with that (rather than failing
12241           when creating elements because seemingly no plugins are available).
12242           Refactor registry scanning code into separate function for this and
12243           also separate fork() and non-fork() code paths. Fixes #344748.
12244
12245 2006-06-13  Wim Taymans  <wim@fluendo.com>
12246
12247         * docs/manual/advanced-dataaccess.xml:
12248         Fix wrong PluginDesc. Fixes #344755.
12249
12250 2006-06-13  Tim-Philipp Müller  <tim at centricular dot net>
12251
12252         * gst/gstregistryxml.c: (gst_registry_xml_write_cache):
12253           Fix silly bug that prevented us from creating
12254           ~/.gstreamer-0.10 and writing the registry in one
12255           go (the first call to g_mkstemp() would overwrite the
12256           placeholder in the template string, so the second call
12257           to g_mkstemp() after creating the missing directory
12258           would then error out with 'invalid argument').
12259
12260 2006-06-13  Edward Hervey  <edward@fluendo.com>
12261
12262         * gst/gst.c: (init_post):
12263         Free string.
12264
12265 2006-06-13  Thomas Vander Stichele  <thomas at apestaart dot org>
12266
12267         * gst/glib-compat-private.h:
12268         * gst/glib-compat.c:
12269         * gst/glib-compat.h:
12270         * gst/gstvalue.c: (gst_value_serialize_flags):
12271           remove GLib 2.6 compatibility code
12272
12273 2006-06-12  Tim-Philipp Müller  <tim at centricular dot net>
12274
12275         * gst/parse/Makefile.am:
12276           Fix build with 'make -j N' even more (#340016).
12277
12278 2006-06-12  Wim Taymans  <wim@fluendo.com>
12279
12280         * docs/gst/gstreamer-sections.txt:
12281         Fix docs.
12282
12283 2006-06-12  Wim Taymans  <wim@fluendo.com>
12284
12285         * gst/gstsegment.c: (gst_segment_set_duration),
12286         (gst_segment_set_last_stop), (gst_segment_set_seek),
12287         (gst_segment_set_newsegment_full), (gst_segment_to_stream_time),
12288         (gst_segment_to_running_time), (gst_segment_clip):
12289         Use G_UNLIKELY to help the compiler a bit.
12290
12291 2006-06-12  Wim Taymans  <wim@fluendo.com>
12292
12293         Patch by: Stefan Kost <ensonic at sonicpulse dot de>
12294
12295         * gst/gstevent.c: (gst_event_get_type):
12296         * gst/gstmessage.c:
12297         * gst/gstpad.c: (gst_pad_chain_unchecked), (gst_pad_chain),
12298         (gst_pad_push):
12299         constify quark registration strings. Fixes #344115
12300         Avoid unneeded type checking is _pad_push() by internally
12301         calling gst_pad_chain_unchecked().
12302
12303 2006-06-12  Wim Taymans  <wim@fluendo.com>
12304
12305         * gst/gstbuffer.c: (gst_buffer_get_type), (gst_buffer_finalize),
12306         (_gst_buffer_copy), (gst_buffer_is_metadata_writable),
12307         (gst_subbuffer_finalize), (gst_buffer_create_sub),
12308         (gst_buffer_is_span_fast), (gst_buffer_span):
12309         Init _type for consistency.
12310         Use _FLAGS macro to avoid type check.
12311         Avoid unneeded type checks in subbufer code.
12312
12313 2006-06-12  Wim Taymans  <wim@fluendo.com>
12314
12315         * gst/gst.c: (gst_debug_help):
12316         * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_list_free):
12317         * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
12318         (gst_plugin_feature_list_free):
12319         * gst/gstregistry.c: (gst_registry_add_plugin),
12320         (gst_registry_add_feature), (gst_registry_plugin_filter),
12321         (gst_registry_feature_filter), (gst_registry_find_plugin),
12322         (gst_registry_find_feature), (gst_registry_get_plugin_list),
12323         (gst_registry_lookup_feature_locked), (gst_registry_lookup_locked):
12324         * gst/gstregistryxml.c: (load_feature),
12325         (gst_registry_xml_read_cache), (gst_registry_xml_write_cache):
12326         * gst/gstminiobject.c: (gst_mini_object_unref),
12327         (gst_mini_object_replace), (gst_value_mini_object_free),
12328         (gst_value_mini_object_copy):
12329         Use _CAST macros to avoid unneeded type checking.
12330         Added some more G_UNLIKELY.
12331
12332 2006-06-12  Wim Taymans  <wim@fluendo.com>
12333
12334         * gst/gstbuffer.h:
12335         Avoid unneeded type checking.
12336         API: GST_BUFFER_IS_DISCONT
12337
12338         * gst/gstminiobject.h:
12339         Avoid type check in flag accessor.
12340
12341         * gst/gstelementfactory.h:
12342         * gst/gstplugin.h:
12343         * gst/gstpluginfeature.h:
12344         Add _CAST macros.
12345         API: GST_ELEMENT_FACTORY_CAST
12346         API: GST_PLUGIN_CAST
12347         API: GST_PLUGIN_FEATURE_CAST
12348
12349 2006-06-12  Wim Taymans  <wim@fluendo.com>
12350
12351         * gst/gstobject.c: (gst_object_get_type), (gst_object_ref),
12352         (gst_object_unref):
12353         Add G_UNLIKELY in type registration.
12354         Avoid type check in _ref/_unref since that is also
12355         done in glib.
12356
12357 2006-06-12  Wim Taymans  <wim@fluendo.com>
12358
12359         * gst/gsterror.c: (gst_g_error_get_type):
12360         * gst/gstpadtemplate.c: (gst_pad_template_get_type),
12361         (gst_static_pad_template_get_type):
12362         * gst/gsttaglist.c: (gst_tag_list_get_type):
12363         * gst/gsttagsetter.c: (gst_tag_setter_get_type):
12364         * gst/gsttypefindfactory.c: (gst_type_find_factory_get_type):
12365         * gst/gsturi.c: (gst_uri_handler_get_type):
12366         * gst/gstvalue.c: (gst_date_get_type):
12367         * gst/gstxml.c: (gst_xml_get_type):
12368         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_type),
12369         (gst_base_sink_preroll_object), (gst_base_sink_get_position):
12370         * libs/gst/base/gstbasesrc.c: (gst_base_src_get_type):
12371         Add G_UNLIKELY in type registration.
12372
12373 2006-06-12  Wim Taymans  <wim@fluendo.com>
12374
12375         * tools/gst-inspect.c: (print_signal_info):
12376         Properly print enum values.
12377
12378 2006-06-12  Wim Taymans  <wim@fluendo.com>
12379
12380         * gst/gstinfo.c: (gst_debug_set_active),
12381         (gst_debug_category_set_threshold), (_gst_debug_nameof_funcptr):
12382         * gst/gstinfo.h:
12383         Add some G_[UN]LIKELY.
12384         Maintain __gst_debug_min to avoid formatting the arguments of
12385         debug messages that will be dropped anyway to avoid a lot of 
12386         overhead from the debugging system.
12387
12388 2006-06-11  Stefan Kost  <ensonic@users.sf.net>
12389
12390         * po/POTFILES.in:
12391         * po/POTFILES.skip:
12392           add missing files containing translatable strings, tell intltool about
12393           one exception
12394
12395 2006-06-11  Stefan Kost  <ensonic@users.sf.net>
12396
12397         * tests/check/libs/.cvsignore:
12398         add test-binary to ignore list
12399
12400 2006-06-11  Stefan Kost  <ensonic@users.sf.net>
12401
12402         * docs/libs/gstreamer-libs-docs.sgml:
12403         reorder (put dp into a chapter) and indent
12404
12405 2006-06-10  Thomas Vander Stichele  <thomas at apestaart dot org>
12406
12407         * configure.ac:
12408           back to HEAD
12409
12410 === release 0.10.8 ===
12411
12412 2006-06-10  Thomas Vander Stichele <thomas at apestaart dot org>
12413
12414         * configure.ac:
12415           releasing 0.10.8, "Soepeke, ik zie ou nog altijd nie"
12416
12417 2006-06-10  Thomas Vander Stichele  <thomas at apestaart dot org>
12418
12419         * gst/gst.c: (init_post):
12420           move pid declaration to declaration block
12421
12422 2006-06-10  Thomas Vander Stichele  <thomas at apestaart dot org>
12423
12424         * gst/gst.c: (init_post):
12425           use _exit() instead of exit() in our forked child; this ensures
12426           that none of the registered exit handlers from whatever is using
12427           GStreamer get executed.  This fixes gnome-mixer-applet failing
12428           to load, because ORBit would shut down.
12429           Spotted by: Edward Hervey  <edward@fluendo.com>
12430           Fix suggested by: Tim-Philipp Müller  <tim at centricular dot net>
12431           Fixes #344474
12432
12433 2006-06-09  Thomas Vander Stichele  <thomas at apestaart dot org>
12434
12435         * configure.ac:
12436           back to TRUNK
12437
12438 === release 0.10.7 ===
12439
12440 2006-06-09  Thomas Vander Stichele <thomas at apestaart dot org>
12441
12442         * configure.ac:
12443           releasing 0.10.7, "Soepeke, ik zie ou"
12444
12445 2006-06-07  Thomas Vander Stichele  <thomas at apestaart dot org>
12446
12447         * configure.ac:
12448         * po/af.po:
12449         * po/az.po:
12450         * po/bg.po:
12451         * po/ca.po:
12452         * po/cs.po:
12453         * po/de.po:
12454         * po/en_GB.po:
12455         * po/fr.po:
12456         * po/it.po:
12457         * po/nb.po:
12458         * po/nl.po:
12459         * po/ru.po:
12460         * po/sq.po:
12461         * po/sr.po:
12462         * po/sv.po:
12463         * po/tr.po:
12464         * po/uk.po:
12465         * po/vi.po:
12466         * po/zh_CN.po:
12467         * po/zh_TW.po:
12468         * win32/common/config.h:
12469           0.10.6.2 prerelease
12470
12471 2006-06-07  Wim Taymans  <wim@fluendo.com>
12472
12473         * gst/gstindex.c: (gst_index_gtype_resolver):
12474         * tools/gst-xmlinspect.c: (print_plugin_info):
12475         Fix leak spotted by coverity checker. Fixes #343827
12476         Fix another other leak found by paolo borelli.
12477
12478 2006-06-06  Thomas Vander Stichele  <thomas at apestaart dot org>
12479
12480         * libs/gst/dataprotocol/dataprotocol.c:
12481         (gst_dp_header_from_buffer_any), (gst_dp_packet_from_caps_any),
12482         (gst_dp_version_get_type), (gst_dp_init),
12483         (gst_dp_header_from_buffer), (gst_dp_header_from_buffer_1_0),
12484         (gst_dp_packet_from_caps), (gst_dp_packet_from_caps_1_0),
12485         (gst_dp_packet_from_event), (gst_dp_packet_from_event_1_0),
12486         (gst_dp_event_from_packet_0_2), (gst_dp_event_from_packet_1_0),
12487         (gst_dp_event_from_packet), (gst_dp_packetizer_new),
12488         (gst_dp_packetizer_free):
12489         * libs/gst/dataprotocol/dataprotocol.h:
12490           API: add a GstDPPacketizer object, and create/free functions
12491           API: add GstDPVersion enum
12492           Add 1.0 event function that uses the string serialization
12493           Serialize more useful buffer flags
12494           Fixes #343988
12495
12496 2006-06-06  Thomas Vander Stichele  <thomas at apestaart dot org>
12497
12498         * tests/check/Makefile.am:
12499         * tests/check/gst/gstabi.c:
12500         * tests/check/gst/struct_ppc64.h:
12501         * tests/check/libs/libsabi.c:
12502         * tests/check/libs/struct_ppc64.h:
12503           add ppc64 structure sizes
12504
12505 2006-06-06  Thomas Vander Stichele  <thomas at apestaart dot org>
12506
12507         * tests/check/Makefile.am:
12508         * tests/check/gst/gstabi.c:
12509         * tests/check/gst/struct_x86_64.h:
12510         * tests/check/libs/libsabi.c:
12511         * tests/check/libs/struct_x86_64.h:
12512           generate and add structure size lists for x86_64
12513
12514 2006-06-06  Thomas Vander Stichele  <thomas at apestaart dot org>
12515
12516         * libs/gst/check/gstcheck.c: (gst_check_abi_list):
12517         * libs/gst/check/gstcheck.h:
12518           factor out the method from tests that checks size of structures,
12519           and add code to generate the header containing these sizes
12520         * tests/check/gst/gstabi.c: (GST_START_TEST):
12521         * tests/check/gst/struct_i386.h:
12522         * tests/check/libs/libsabi.c: (GST_START_TEST):
12523         * tests/check/libs/struct_i386.h:
12524           use it
12525
12526 2006-06-06  Michael Smith  <msmith@fluendo.com>
12527
12528         * gst/gstsegment.h:
12529           Don't use c++-style comments, fixes #343929
12530
12531 2006-06-05  Edward Hervey  <edward@fluendo.com>
12532
12533         * gst/gst.c:
12534         plugin_paths is not used if we build without registry support.
12535
12536         * gst/gstsegment.c: (gst_segment_copy): 
12537         _copy() was always returning NULL...
12538
12539 2006-06-02  Thomas Vander Stichele  <thomas at apestaart dot org>
12540
12541         * libs/gst/dataprotocol/dataprotocol.c:
12542         (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
12543         (gst_dp_packet_from_event):
12544           factor out CRC code
12545
12546 2006-06-02  Thomas Vander Stichele  <thomas at apestaart dot org>
12547
12548         * libs/gst/check/gstcheck.c: (gst_check_teardown_src_pad):
12549           make sure we unset caps
12550
12551 2006-06-02  Michael Smith  <msmith@fluendo.com>
12552
12553         * libs/gst/check/gstcheck.c: (gst_check_init),
12554         (gst_check_chain_func):
12555         * libs/gst/check/gstcheck.h:
12556           Add a cond/mutex to the check support lib, signal this whenever we
12557           add to the buffers list. This will allow tests to not busy-wait on
12558           the buffer-list.
12559
12560 2006-06-02  Thomas Vander Stichele  <thomas at apestaart dot org>
12561
12562         * libs/gst/dataprotocol/dataprotocol.c:
12563         (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
12564         (gst_dp_packet_from_event):
12565           factor out some common header init code
12566
12567 2006-06-02  Thomas Vander Stichele  <thomas at apestaart dot org>
12568
12569         * docs/libs/gstreamer-libs-sections.txt:
12570         * docs/libs/tmpl/gstdataprotocol.sgml:
12571         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_crc):
12572         * libs/gst/dataprotocol/dataprotocol.h:
12573           API: make gst_dp_crc() public
12574
12575 2006-06-01  Stefan Kost  <ensonic@users.sf.net>
12576
12577         * plugins/indexers/gstindexers.c: (plugin_init):
12578         conditionally register fileindexer (fixes #343598)
12579
12580 2006-06-01  Stefan Kost  <ensonic@users.sf.net>
12581
12582         * gst/gsttagsetter.h:
12583         Can't cast ifaces to a class
12584
12585         * libs/gst/net/gstnetclientclock.h:
12586         * libs/gst/net/gstnettimeprovider.h:
12587         * plugins/elements/gstfakesink.h:
12588         * plugins/elements/gstfakesrc.h:
12589         * plugins/elements/gstfdsink.h:
12590         * plugins/elements/gstfdsrc.h:
12591         * plugins/elements/gstfilesink.h:
12592         * plugins/elements/gstfilesrc.h:
12593         * plugins/elements/gstidentity.h:
12594         * plugins/elements/gstqueue.h:
12595         * plugins/elements/gsttee.h:
12596         * plugins/indexers/gstfileindex.c:
12597         * plugins/indexers/gstmemindex.c:
12598         * tests/old/examples/plugins/example.h:
12599         Fix more gobject macros: obj<->klass, GstXXX<->GstXXXClass
12600
12601 2006-06-01  Thomas Vander Stichele  <thomas at apestaart dot org>
12602
12603         * libs/gst/dataprotocol/dataprotocol.c:
12604         (gst_dp_header_from_buffer):
12605           make sure we zero the whole ABI-compatible area
12606
12607 2006-06-01  Wim Taymans  <wim@fluendo.com>
12608
12609         Patch by: Alessandro Decina <alessandro at nnva dot org>
12610
12611         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_stop):
12612         Make sure the EOS flag is cleared from pads after a flush
12613         or stop. Fixes #343538.
12614
12615         * tests/check/libs/collectpads.c: (GST_START_TEST),
12616         (gst_collect_pads_suite):
12617         Added test for collectpads reusage after EOS.
12618
12619 2006-05-30  Sebastien Moutte  <sebastien@moutte.net>
12620
12621         * gst/gst.c:
12622          set #include <sys/wait.h> in a #ifdef #ifdef HAVE_FORK
12623         * win32/common/libgstbase.def:
12624          export gst_collect_pads_set_flushing
12625         * win32/common/libgstreamer.def:
12626          export gst_pad_set_acceptcaps_function, gst_structure_empty_new,
12627          gst_value_fraction_multiply
12628         * win32/vs6/gst_inspect.dsp:
12629          add a link to intl.lib
12630
12631 2006-05-30  Wim Taymans  <wim@fluendo.com>
12632
12633         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad),
12634         (gst_collect_pads_chain):
12635         Handle the case where a pad is removed from the collection
12636         that could cause the other pads to become collectable.
12637
12638 2006-05-30  Wim Taymans  <wim@fluendo.com>
12639
12640         * gst/gstelement.c:
12641         Clarify the use of _release_request_pad() and
12642         _get_request_pad() a bit better.
12643
12644         * libs/gst/base/gstadapter.c: (gst_adapter_peek),
12645         (gst_adapter_take_buffer):
12646         Fix some doc and comment typos.
12647
12648 2006-05-30  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
12649
12650         * docs/gst/gstreamer-sections.txt:
12651         * docs/libs/gstreamer-libs-sections.txt:
12652           add declared symbols
12653
12654 2006-05-30  Jan Schmidt  <thaytan@mad.scientist.com>
12655
12656         * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
12657         Add debug that can be enabled using a #define at the top of the file,
12658         for dumping stats about how late/early we were when waking up from
12659         waiting on the clock.
12660
12661 2006-05-30  Wim Taymans  <wim@fluendo.com>
12662
12663         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_check_pads):
12664         When rebuilding the pad list, don't leak the previous list.
12665
12666 2006-05-30  Wim Taymans  <wim@fluendo.com>
12667
12668         Patch by: Lutz Mueller <lutz at topfrose dot de>
12669
12670         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
12671         (gst_base_src_get_query_types), (gst_base_src_update_length):
12672         Publish supported query types.
12673         Update last_stop field in get_range mode so the position
12674         query works. Fixes #342321.
12675
12676 2006-05-30  Tim-Philipp Müller  <tim at centricular dot net>
12677
12678         * docs/gst/gstreamer-sections.txt:
12679         * gst/gsttaglist.c: (_gst_tag_initialize):
12680         * gst/gsttaglist.h:
12681           API: add GST_TAG_PREVIEW_IMAGE (#343341).
12682
12683 2006-05-30  Wim Taymans  <wim@fluendo.com>
12684
12685         Patch by: Alessandro Decina <alessandro at nnva dot org>
12686
12687         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad):
12688         Unlock mutex when removing an unknown pad.
12689         Fixes #343334.
12690
12691         * tests/check/Makefile.am:
12692         * tests/check/libs/collectpads.c: (collected_cb), (push_buffer),
12693         (push_event), (setup), (teardown), (GST_START_TEST),
12694         (gst_collect_pads_suite), (main):
12695         Added collecpads check, disabled for now as check crashes for
12696         some reason.
12697
12698 2006-05-29  Wim Taymans  <wim@fluendo.com>
12699
12700         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize):
12701         Don't leak pads lists.
12702
12703 2006-05-29  Wim Taymans  <wim@fluendo.com>
12704
12705         * docs/libs/gstreamer-libs-sections.txt:
12706         * libs/gst/base/gstcollectpads.c:
12707         (gst_collect_pads_set_flushing_unlocked),
12708         (gst_collect_pads_set_flushing), (gst_collect_pads_start),
12709         (gst_collect_pads_stop):
12710         * libs/gst/base/gstcollectpads.h:
12711         API: gst_collect_pads_set_flushing()
12712         Added api to set the pads to flushing, useful for seeking
12713         code in elements using collectpads.
12714         Clear segment when receiving a flush.
12715
12716 2006-05-29  Tim-Philipp Müller  <tim at centricular dot net>
12717
12718         * gst/gst.c: (add_path_func), (init_post):
12719           Don't scan registry paths passed via --gst-plugin-path immediately
12720           (will crash, because absolutely nothing is set up and no types are
12721           registered etc.); do this later in init_post(). Fixes #343057.
12722
12723 2006-05-28  Thomas Vander Stichele  <thomas at apestaart dot org>
12724
12725         * gst/gst.c: (init_post):
12726           if we have fork, fork while reading/rebuilding the registry
12727           so the parent doesn't take the hit of having all plugins loaded
12728           in memory.  Fixes #342777.
12729         * configure.ac:
12730           Check if we have fork()
12731         * win32/common/config.h.in:
12732           no fork() on win32
12733
12734 2006-05-26  Jan Schmidt  <thaytan@mad.scientist.com>
12735
12736         * plugins/elements/gstelements.c:
12737         * plugins/elements/gstfilesrc.c: (gst_file_src_class_init),
12738         (gst_file_src_init), (gst_file_src_set_property),
12739         (gst_file_src_get_property), (gst_file_src_start):
12740         * plugins/elements/gstfilesrc.h:
12741           API: GstFileSrc::use-mmap
12742
12743         Add a use-mmap property to enable easier testing of all code paths.
12744         Bump rank to PRIMARY, so filesrc is the preferred file reader and used
12745         in the absence of gnomevfssrc. (Closes #340501)
12746
12747 2006-05-26  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
12748
12749         * tools/gst-inspect.c:
12750         Add missing include, removes warning of ngettext not being defined on
12751         some arches.
12752
12753 2006-05-26  Jan Schmidt  <thaytan@mad.scientist.com>
12754
12755         * gst/gstvalue.c: (gst_value_deserialize_fraction):
12756         Handle NULL input and output pointers silently as a failed conversion,
12757         rather than g_warnings.
12758
12759 2006-05-25  Wim Taymans  <wim@fluendo.com>
12760
12761         * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_start):
12762         Initialize variable before using. Fixes #342820.
12763
12764 2006-05-24  Tim-Philipp Müller  <tim at centricular dot net>
12765
12766         * libs/gst/base/gsttypefindhelper.c: (buf_helper_find_peek):
12767           Fix off-by-one bug that would only allow peeks of N-1 bytes
12768           from the start even if the buffer to typefind on contains
12769           in fact N bytes of data (makes vorbis typefinding from a
12770           vorbis identification header buffer work).
12771
12772         * tests/check/Makefile.am:
12773         * tests/check/libs/.cvsignore:
12774         * tests/check/libs/typefindhelper.c: (GST_START_TEST),
12775         (gst_typefindhelper_suite), (main), (foobar_typefind),
12776         (plugin_init):
12777           Add very basic unit test for gst_type_find_helper_for_buffer()
12778           that checks for the problem fixed above.
12779
12780 2006-05-24  Thomas Vander Stichele  <thomas at apestaart dot org>
12781
12782         * tools/gst-inspect.c: (print_interfaces),
12783         (print_element_properties_info), (print_element_list), (main):
12784           add more translatable strings
12785
12786 2006-05-23  Tim-Philipp Müller  <tim at centricular dot net>
12787
12788         Patch by: Julien Moutte  <julien at moutte net>
12789
12790         * docs/gst/gstreamer-sections.txt:
12791           Make new GST_FLOW_IS_SUCCESS macro visible in docs.
12792           
12793         * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init),
12794         (gst_fake_sink_preroll):
12795         * plugins/elements/gstfakesink.h:
12796           API: Add new GstFakeSink::preroll-handoff signal (#337100).
12797
12798 2006-05-23  Wim Taymans  <wim@fluendo.com>
12799
12800         * gst/gstpad.c: (gst_flow_get_name), (gst_flow_to_quark):
12801         * gst/gstpad.h:
12802         Added _CUSTOM error and success GstFlowReturn that can be
12803         used be elements internally. 
12804         Added macro to check for SUCCESS flowreturns.
12805         API: GST_FLOW_CUSTOM_SUCCESS
12806         API: GST_FLOW_CUSTOM_ERROR
12807         API: GST_FLOW_IS_SUCCESS
12808
12809         * tests/check/gst/gstpad.c: (GST_START_TEST), (gst_pad_suite):
12810         Added check for GstFlowReturn sanity.
12811
12812 2006-05-23  Wim Taymans  <wim@fluendo.com>
12813
12814         Patch by: Mark Nauwelaerts <manauw at skynet dot be>
12815
12816         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad),
12817         (gst_collect_pads_event):
12818         clear/reset segment info in FLUSH_STOP.
12819         Fixes #336929.
12820
12821 2006-05-22  Stefan Kost  <ensonic@users.sf.net>
12822
12823         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_stop),
12824         (gst_collect_pads_check_collected):
12825         Flush queued buffer on _stop(), fixes playing again (#342454)
12826
12827 2006-05-22  Thomas Vander Stichele  <thomas at apestaart dot org>
12828
12829         * tests/check/gst/gststructure.c: (GST_START_TEST),
12830         (gst_structure_suite):
12831           add a test for a complete structure
12832
12833 2006-05-19  Tim-Philipp Müller  <tim at centricular dot net>
12834
12835         * docs/faq/developing.xml:
12836         * docs/faq/faq.xml:
12837         * docs/faq/troubleshooting.xml:
12838         * docs/faq/using.xml:
12839           Some minor FAQ updates that won't change the fact that
12840           our FAQ is badly structured, full of information hardly
12841           anyone new to GStreamer needs to know and lacking lots
12842           of information people constantly ask for.
12843           
12844 2006-05-19  Jan Schmidt  <thaytan@mad.scientist.com>
12845
12846         * gst/gstpad.c: (gst_pad_set_caps):
12847           Short-circuit gst_pad_set_caps if setting the existing
12848           caps pointer again, and avoid printing debug and 
12849           reffing/unreffing the caps.
12850
12851         * plugins/elements/gstqueue.c: (gst_queue_push_one):
12852           There's actually no need to set the caps before pushing -
12853           the acceptcaps method will handle it anyway.
12854
12855 2006-05-19  Tim-Philipp Müller  <tim at centricular dot net>
12856
12857         * docs/gst/gstreamer-sections.txt:
12858         * win32/common/libgstreamer.def:
12859         * gst/gstutils.c: (gst_element_seek_simple):
12860         * gst/gstutils.h:
12861           API: add gst_element_seek_simple() (#342238).
12862
12863 2006-05-18  Edward Hervey  <edward@fluendo.com>
12864
12865         * gst/gsttypefind.c: (gst_type_find_get_type):
12866         * gst/gsttypefind.h:
12867         Added GST_TYPE_TYPE_FIND and gst_type_find_get_type() so a GType gets
12868         registered for GstTypeFind pointers. This allows wrapping the structure
12869         in bindings (i.e. gst-python).
12870
12871 2006-05-18  Tim-Philipp Müller  <tim at centricular dot net>
12872
12873         * gst/gsttagsetter.c:
12874           Docs additions and fixes (see #339918).
12875
12876 2006-05-18  Jan Schmidt  <thaytan@mad.scientist.com>
12877
12878         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
12879         The caps intersection algorithm can produce multiple copies of the
12880         caps. Until that is fixed, we need to simplify the result to be
12881         sure whether the allowed caps are fixed or not.
12882
12883         * plugins/elements/gstqueue.c: (gst_queue_init),
12884         (gst_queue_bufferalloc), (gst_queue_acceptcaps),
12885         (gst_queue_push_one):
12886         Proxied buffer alloc should not set the caps on the source pad.
12887         When pushing buffers, we always accept the caps change that triggers.
12888         This prevents negotiation errors caused by caps changing mid-stream 
12889         and then being refused on our source pad (because upstream is now
12890         refusing those caps).
12891
12892 2006-05-18  Tim-Philipp Müller  <tim at centricular dot net>
12893
12894         * tests/examples/helloworld/helloworld.c: (main):
12895           Must plug audioconvert and audioresample between decoder
12896           and audio sink.
12897
12898 2006-05-17  Jan Schmidt  <thaytan@mad.scientist.com>
12899
12900         * gst/gstregistryxml.c: (read_string), (load_pad_template),
12901         (load_feature), (load_plugin):
12902         Allow empty strings for some of the plugin fields so we don't 
12903         drop valid plugin entries that were written out correctly
12904         (Fixes #341479)
12905
12906 2006-05-17  Sebastien Moutte  <sebastien@moutte.net>
12907         
12908         * gst/gstregistryxml.c: (gst_registry_xml_write_cache):
12909           Use g_remove and g_rename instead of remove and rename that don't 
12910           handle utf8 characters. rename was failing for users who had specific
12911           characters in their name then the registry was built at each 
12912           gstreamer init.
12913         * win32/vs6/gst_inspect.dsp:
12914         * win32/vs6/gst_launch.dsp:
12915         * win32/vs6/libgstbase.dsp:
12916         * win32/vs6/libgstcoreelements.dsp:
12917         * win32/vs6/libgstreamer.dsp:
12918           Use a debug version of libxml2 (libxml2D.lib,libxml2D.dll) for DEBUG 
12919           build of libgstreamer and clean unused libraries in projects link 
12920           settings.
12921
12922 2006-05-17  Edward Hervey  <edward@fluendo.com>
12923
12924         * plugins/elements/gstqueue.c: (gst_queue_push_one):
12925         The queue is not responsible for pushing an EOS when receiving a fatal
12926         flow error. It's up to the real element driving the pipeline to do that.
12927
12928 2006-05-16  Edward Hervey  <edward@fluendo.com>
12929
12930         * plugins/elements/gstqueue.c: (gst_queue_push_one):
12931         The queue was posting a non-needed GST_MESSAGE_ERROR when pushing a
12932         buffer returned a fatal error. It should just send an EOS and stop
12933         its task.
12934         Upstream elements will then properly receive the GST_FLOW_UNEXPECTED
12935         when pushing buffers on the queue and will be able to handle the event.
12936
12937 2006-05-16  Tim-Philipp Müller  <tim at centricular dot net>
12938
12939         * docs/manual/basics-bins.xml:
12940         * docs/manual/basics-init.xml:
12941           Fix typos and minor errors in sample code (#341856).
12942
12943 2006-05-16  Wim Taymans  <wim@fluendo.com>
12944
12945         * docs/design/part-qos.txt:
12946         Fix indexes in formulas to make more sense.
12947
12948 2006-05-15  Wim Taymans  <wim@fluendo.com>
12949
12950         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
12951         Don't report POSITION based on clock time if sync is
12952         disabled in a sink.
12953
12954 2006-05-15  Tim-Philipp Müller  <tim at centricular dot net>
12955
12956         * gst/gstobject.h:
12957           Add cast to make compiler happy - refcount variable was a gint
12958           in GstObject but is a guint in GObject and g_atomic_int_get()
12959           wants a gint *.
12960
12961 2006-05-15  Thomas Vander Stichele  <thomas at apestaart dot org>
12962
12963         * gst/parse/Makefile.am:
12964           chain commands using &&, which also makes parallel make work
12965
12966 2006-05-14  Tim-Philipp Müller  <tim at centricular dot net>
12967
12968         * docs/gst/gstreamer-sections.txt:
12969         * gst/gstevent.c:
12970         * gst/gstevent.h:
12971         * gst/gstmessage.h:
12972           Minor docs fixes.
12973
12974 === release 0.10.6 ===
12975
12976 2006-05-14  Jan Schmidt <thaytan@mad.scientist.com>
12977
12978         * configure.ac:
12979           releasing 0.10.6, "Take the cannoli"
12980
12981 2006-05-13  Tim-Philipp Müller  <tim at centricular dot net>
12982
12983         * tools/gst-launch.c: (print_tag):
12984           Fix use of uninitialized variable in the hypothetical
12985           case that some broken plugin creates a GST_TAG_IMAGE
12986           tag containing a NULL buffer (#341667).
12987
12988 2006-05-12  Tim-Philipp Müller  <tim at centricular dot net>
12989
12990         * tools/gst-launch.c: (print_tag):
12991           Print something more intelligible for image tags when
12992           using the -t switch (#341556).
12993
12994 2006-05-12  Thomas Vander Stichele  <thomas at apestaart dot org>
12995
12996         * Makefile.am:
12997           updates for win32
12998         * configure.ac:
12999           define GST_MAJORMINOR so we have it available in win32/common/config.h
13000           Possibly remove it from our Makefile.am files later
13001         * win32/common/config.h:
13002         * win32/common/config.h.in:
13003           added GST_MAJORMINOR
13004         * win32/common/gstenumtypes.c: (register_gst_resource_error):
13005         * win32/common/gstversion.h:
13006           updated
13007
13008 2006-05-12  Sebastien Moutte  <sebastien@moutte.net>
13009
13010         * win32/MANIFEST:
13011           Update win32 files listing.
13012         * win32/common/gstversion.h:
13013           Add GST_MAJORMINOR definition.
13014         * win32/common/libgstreamer.def:
13015           Add new exported functions.
13016           
13017 2006-05-12  Michael Smith  <msmith@fluendo.com>
13018
13019         * gst/gstplugin.c: (gst_plugin_load_file):
13020           If an so file has no plugin entry point, unload the module.
13021
13022 2006-05-11  Wim Taymans  <wim@fluendo.com>
13023
13024         * plugins/elements/gstqueue.c: (gst_queue_chain), (gst_queue_loop),
13025         (gst_queue_set_property):
13026         Don't forget to signal the _chain or _loop function 
13027         when the queue size or thresholds change since that might
13028         cause them to make progres again.
13029
13030 2006-05-11  Stefan Kost  <ensonic@users.sf.net>
13031
13032         * gst/gstclock.c: (gst_clock_class_init):
13033         * gst/gstindex.c: (gst_index_class_init):
13034         * gst/gstobject.c: (gst_object_class_init):
13035         * gst/gstpad.c: (gst_pad_class_init):
13036         * gst/gstpipeline.c: (gst_pipeline_class_init):
13037         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
13038         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init):
13039         * libs/gst/base/gstbasetransform.c:
13040         (gst_base_transform_class_init):
13041         * libs/gst/net/gstnetclientclock.c:
13042         (gst_net_client_clock_class_init):
13043         * libs/gst/net/gstnettimeprovider.c:
13044         (gst_net_time_provider_class_init):
13045         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_class_init):
13046         * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init):
13047         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init):
13048         * plugins/elements/gstfdsink.c: (gst_fd_sink_class_init):
13049         * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init):
13050         * plugins/elements/gstfilesink.c: (gst_file_sink_class_init):
13051         * plugins/elements/gstfilesrc.c: (gst_file_src_class_init):
13052         * plugins/elements/gstidentity.c: (gst_identity_class_init):
13053         * plugins/elements/gsttee.c: (gst_tee_class_init):
13054         * tests/old/examples/plugins/example.c: (gst_example_class_init):
13055         * tests/old/testsuite/threads/signals.c: (gst_test_class_init):
13056           G_OBJECT_CLASS macro usage batch cleanup, fixes #337747 for core
13057
13058 2006-05-11  Wim Taymans  <wim@fluendo.com>
13059
13060         * gst/gstbuffer.c: (_gst_buffer_initialize):
13061         Register subbufer along with the buffer type so that
13062         it does not accidentally gets registered from N
13063         different streaming threads in a non threadsafe way.
13064
13065 2006-05-10  Tim-Philipp Müller  <tim at centricular dot net>
13066
13067         * gst/gstbuffer.h:
13068         * gst/gstevent.h:
13069         * gst/gstmessage.h:
13070           Make gtk-doc generate docs for our inlined gst_buffer_ref(),
13071           gst_event_ref() and gst_message_ref() functions again
13072           (ugly hack, please do fix if there's a better way besides
13073           overrides.txt, which doesn't seem to work).
13074
13075 2006-05-10  Thomas Vander Stichele  <thomas at apestaart dot org>
13076
13077         * libs/gst/check/gstcheck.h:
13078           add an assert for setting state to avoid lots of repetitive code
13079           in the future
13080
13081 2006-05-10  Thomas Vander Stichele  <thomas at apestaart dot org>
13082
13083         * gst/gstvalue.c: (gst_value_serialize_flags):
13084           fix a leak if no flags are set
13085         * tests/check/gst/gstvalue.c: (GST_START_TEST):
13086           fix leak in tests
13087
13088 2006-05-10  Tim-Philipp Müller  <tim at centricular dot net>
13089
13090         * docs/manual/basics-pads.xml:
13091           Expand a bit on caps and filtered links and update
13092           examples that were still using the no longer existing
13093           gst_pad_link_filtered() (#338206).
13094
13095 2006-05-10  Wim Taymans  <wim@fluendo.com>
13096
13097         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
13098         (gst_collect_pads_add_pad), (gst_collect_pads_remove_pad),
13099         (gst_collect_pads_set_flushing), (gst_collect_pads_start),
13100         (gst_collect_pads_stop):
13101         * libs/gst/base/gstcollectpads.h:
13102         No need to call _stop in _finalize.
13103         Iterate the main pad list in _finalize.
13104         Added some more debug.
13105         Free lists and data in the right order.
13106         Also free data whem doing _remove_pad when stopped for
13107         backward compatibility protect ::started with PAD_LOCK as
13108         well.
13109
13110 2006-05-10  Thomas Vander Stichele  <thomas at apestaart dot org>
13111
13112         * gst/gststructure.c: (gst_structure_gtype_from_abbr),
13113         (gst_structure_parse_value):
13114           add some comments
13115           rename a method so that it actually says what it does better
13116
13117 2006-05-10  Thomas Vander Stichele  <thomas at apestaart dot org>
13118
13119         * gst/gstevent.c: (_gst_event_initialize):
13120         * gst/gstformat.c: (_gst_format_initialize):
13121           make sure some essential types used by events are registered
13122           as part of gst_init()
13123         * gst/gstvalue.c: (gst_value_serialize_flags):
13124           if no flags are set, serialize them to a value that represents NONE
13125           so that deserializing them works
13126         * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
13127           add tests for serialization and deserialization of flags
13128
13129 2006-05-10  Wim Taymans  <wim@fluendo.com>
13130
13131         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_collect),
13132         (gst_collect_pads_collect_range), (gst_collect_pads_available),
13133         (gst_collect_pads_check_pads), (gst_collect_pads_check_collected),
13134         (gst_collect_pads_event), (gst_collect_pads_chain):
13135         Update docs.
13136         Better debug info.
13137         Catch and return errors from the collect function
13138         Refuse data on eos pads.
13139
13140 2006-05-10  Edward Hervey  <edward@fluendo.com>
13141
13142         * gst/gstinterface.h:
13143         GST_IMPLEMENTS_INTERFACE and GST_IS_IMPLEMENTS_INTERFACE use the normal
13144         GInterface type checking.
13145         They were previously using non-defined macros.
13146
13147 2006-05-09  Wim Taymans  <wim@fluendo.com>
13148
13149         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_init),
13150         (gst_collect_pads_finalize), (gst_collect_pads_add_pad),
13151         (gst_collect_pads_remove_pad), (gst_collect_pads_set_flushing),
13152         (gst_collect_pads_start), (gst_collect_pads_stop),
13153         (gst_collect_pads_peek), (gst_collect_pads_pop),
13154         (gst_collect_pads_available), (gst_collect_pads_read),
13155         (gst_collect_pads_flush), (gst_collect_pads_check_pads),
13156         (gst_collect_pads_is_collected), (gst_collect_pads_event),
13157         (gst_collect_pads_chain):
13158         * libs/gst/base/gstcollectpads.h:
13159         Clean up the mess that is collectpads, add comments and
13160         FIXMEs where needed.
13161         Maintain a separate pad list so we can add pads while
13162         collecting the other ones. For this we need a new separate 
13163         lock (see comics).
13164         Fix memory leak in finalize.
13165         Refactor some weird code to set/unset pad flushing flags, mark
13166         with comments.
13167         Don't crash in _available, _read, _flush when we're EOS.
13168
13169         * tests/check/libs/.cvsignore:
13170         Ignore adapter check binary.
13171
13172 2006-05-09  Tim-Philipp Müller  <tim at centricular dot net>
13173
13174         * gst/gstindex.c: (gst_index_resolver_get_type):
13175         * plugins/elements/gstfakesink.c:
13176         (gst_fake_sink_state_error_get_type):
13177         * plugins/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
13178         (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type):
13179         * plugins/elements/gstqueue.c: (queue_leaky_get_type):
13180           Const-ify GEnumValue arrays.
13181
13182 2006-05-09  Tim-Philipp Müller  <tim at centricular dot net>
13183
13184         * tests/check/gst/gstbuffer.c: (GST_START_TEST):
13185           Add test case for flags + gst_buffer_make_metadata_writable().
13186
13187 2006-05-09  Tim-Philipp Müller  <tim at centricular dot net>
13188
13189         * gst/gstbuffer.c: (gst_buffer_make_metadata_writable):
13190           gst_buffer_make_metadata_writable() should maintain the
13191           buffer flags (those that make sense at least) (see #340859).
13192
13193 2006-05-09  Tim-Philipp Müller  <tim at centricular dot net>
13194
13195         * tools/gst-inspect.c:
13196         * tools/gst-launch.c:
13197         * tools/gst-typefind.c:
13198         * tools/gst-xmlinspect.c:
13199         * tools/tools.h:
13200           Fix up includes: need to include stdlib.h in tools.h for exit().
13201
13202 2006-05-09  Tim-Philipp Müller  <tim at centricular dot net>
13203
13204         * gst/gsttaglist.c: (_gst_tag_initialize):
13205         * gst/gsttaglist.h:
13206           API: add GST_TAG_IMAGE tag (#340721).
13207
13208 2006-05-08  Wim Taymans  <wim@fluendo.com>
13209
13210         * gst/gstquery.c:
13211         Added some docs for the segment query.
13212
13213 2006-05-08  Wim Taymans  <wim@fluendo.com>
13214
13215         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
13216         (gst_base_src_loop), (gst_base_src_change_state):
13217         Always push non-flushing serialized events in the streaming 
13218         thread.
13219
13220 2006-05-08  Thomas Vander Stichele  <thomas at apestaart dot org>
13221
13222         * gst/gsterror.c: (_gst_stream_errors_init):
13223           Add a missing error string.
13224
13225 2006-05-08  Jan Schmidt  <thaytan@mad.scientist.com>
13226
13227         * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment):
13228         Add applied_rate to the debug
13229
13230         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek):
13231         Copy applied_rate into the outgoing NEWSEGMENT event
13232
13233 2006-05-08  Wim Taymans  <wim@fluendo.com>
13234
13235         Patch by: Philippe Rouquier <philippero at libertysurf dot fr>
13236
13237         * libs/gst/base/gstbasesink.c: (gst_base_sink_set_flushing),
13238         (gst_base_sink_change_state):
13239         call ::unlock before taking the PREROLL_LOCK so we can safely
13240         handle elements that lock in ::render.
13241         Fixes #340174.
13242
13243 2006-05-08  Edward Hervey  <edward@fluendo.com>
13244
13245         * autogen.sh: (CONFIGURE_DEF_OPT): 
13246         Darwin's libtoolize is in fact called glibtoolize.
13247         Adding glibtoolize to the list of accepted names for libtoolize.
13248
13249 2006-05-08  Wim Taymans  <wim@fluendo.com>
13250
13251         * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
13252         Unify error handling, don't post an error message
13253         when a push() returns EOS but perform our normal EOS
13254         handling code. Fixes #340772.
13255
13256 2006-05-08  Wim Taymans  <wim@fluendo.com>
13257
13258         * docs/design/part-overview.txt:
13259         Make upsteam/downstream concepts more clear.
13260         Give an example of serialized/non-serialized events.
13261
13262         * docs/design/part-events.txt:
13263         * docs/design/part-streams.txt:
13264         Mention applied_rate.
13265
13266         * docs/design/part-trickmodes.txt:
13267         Mention applied rate, flesh out some more use cases.
13268
13269         * gst/gstevent.c: (gst_event_new_new_segment),
13270         (gst_event_parse_new_segment), (gst_event_new_new_segment_full),
13271         (gst_event_parse_new_segment_full), (gst_event_new_tag),
13272         (gst_event_parse_tag), (gst_event_new_buffer_size),
13273         (gst_event_parse_buffer_size), (gst_event_new_qos),
13274         (gst_event_parse_qos), (gst_event_parse_seek),
13275         (gst_event_new_navigation):
13276         * gst/gstevent.h:
13277         Add applied_rate field to NEWSEGMENT event.
13278         API: gst_event_new_new_segment_full()
13279         API: gst_event_parse_new_segment_full()
13280
13281         * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_seek),
13282         (gst_segment_set_newsegment), (gst_segment_set_newsegment_full),
13283         (gst_segment_to_stream_time), (gst_segment_to_running_time):
13284         * gst/gstsegment.h:
13285         Add applied_rate to GstSegment structure.
13286         Make calculation of stream_time and running_time more correct
13287         wrt rate/applied_rate.
13288         Add some more docs.
13289         API: GstSegment::applied_rate field
13290         API: gst_segment_set_newsegment_full();
13291
13292         * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment),
13293         (gst_base_sink_get_sync_times), (gst_base_sink_get_position):
13294         * libs/gst/base/gstbasetransform.c:
13295         (gst_base_transform_sink_eventfunc),
13296         (gst_base_transform_handle_buffer):
13297         Parse and use applied_rate in the GstSegment field.
13298
13299         * tests/check/gst/gstevent.c: (GST_START_TEST):
13300         Add check for applied_rate field.
13301
13302         * tests/check/gst/gstsegment.c: (GST_START_TEST),
13303         (gstsegments_suite):
13304         Add more checks for various GstSegment operations.
13305
13306 2006-05-08  Wim Taymans  <wim@fluendo.com>
13307
13308         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
13309         (gst_base_sink_do_sync), (gst_base_sink_chain_unlocked),
13310         (gst_base_sink_get_position), (gst_base_sink_change_state):
13311         Store the sync time of the buffer end position separatly in a
13312         new variable eos_rtime so we can properly sync the EOS event.
13313         Fixes #340697.
13314         Fix the docs for gst_base_sink_set_qos_enabled().
13315         Don't set segment start to invalid value when we receive a 
13316         non TIME newsegment.
13317         get closer to handling position reporting for negative rates 
13318         correctly.
13319
13320 2006-05-07  Stefan Kost  <ensonic@users.sf.net>
13321
13322         * gst/gstcaps.c:
13323         Docs about how to print caps for debug purposes.
13324
13325         * gst/gstpadtemplate.c: (gst_static_pad_template_get):
13326         use gst_caps_make_writable instead of gst_caps_copy, Fixes #340608
13327
13328 2006-05-07  Stefan Kost  <ensonic@users.sf.net>
13329
13330         * gst/gstelement.c:
13331           use full enum names and preprend a '%' in docs strings to make recent 
13332           gtk-doc turn that into a link
13333
13334 2006-05-05  Tim-Philipp Müller  <tim at centricular dot net>
13335
13336         * docs/manual/basics-bins.xml:
13337         * docs/manual/basics-bus.xml:
13338         * docs/manual/basics-pads.xml:
13339           Some typo fixes, some additions, some clarifications. 
13340
13341 2006-05-05  Tim-Philipp Müller  <tim at centricular dot net>
13342
13343         * tools/gst-inspect.c: (main):
13344         * tools/gst-launch.c: (main):
13345         * tools/gst-run.c: (main):
13346         * tools/gst-typefind.c: (main):
13347         * tools/gst-xmlinspect.c: (main):
13348           Use the string passed to g_option_context_new() for
13349           what it's intended for - the program name is already
13350           printed elsewhere.
13351
13352 2006-05-05  Tim-Philipp Müller  <tim at centricular dot net>
13353
13354         * tools/Makefile.am:
13355         * tools/gst-inspect.c: (main):
13356         * tools/gst-launch.c: (main):
13357         * tools/gst-xmlinspect.c: (main):
13358         * tools/tools.h:
13359           Add back --version command line option (#340460).
13360
13361         * tools/gst-typefind.c: (have_type_handler), (typefind_file), (main):
13362           Add --version option and use GOption for argument parsing; refactor a
13363           bit; accept directories as arguments and recurse into them; lastly,
13364           print a decent error message when things go wrong.
13365
13366 2006-05-05  Maciej Katafiasz  <mathrick@freedesktop.org>
13367
13368         * docs/manual/basics-bins.xml:
13369         Don't mention GstThread (#340611)
13370         * docs/manual/basics-elements.xml:
13371         Update link to GObject tutorial (#340607)
13372         
13373 2006-05-05  Wim Taymans  <wim@fluendo.com>
13374
13375         * gst/gstbuffer.h:
13376         * gst/gstminiobject.c:
13377         Add note about refcounting and miniobject/buffer writeability
13378         to docs. Fixes #340604
13379
13380         * gst/gstelementfactory.h:
13381         Added some explanation about @klass.
13382
13383 2006-05-05  Maciej Katafiasz  <mathrick@freedesktop.org>
13384
13385         * docs/manual/intro-motivation.xml:
13386         * docs/manual/manual.xml:
13387         Avoid CORBA & Bonobo references (#340598)
13388
13389 2006-05-05  Maciej Katafiasz  <mathrick@freedesktop.org>
13390
13391         * docs/manual/basics-bus.xml:
13392         * docs/manual/basics-pads.xml:
13393         Fix up some inaccuracies and omissions (#340609)
13394         
13395 2006-05-05  Maciej Katafiasz  <mathrick@freedesktop.org>
13396
13397         * gst/gstghostpad.c:
13398           Small typo in docs (#340625)
13399
13400 2006-05-05  Tim-Philipp Müller  <tim at centricular dot net>
13401
13402         * gst/parse/Makefile.am:
13403           Make 'make -j' proof (see #340698).
13404
13405 2006-05-05  Tim-Philipp Müller  <tim at centricular dot net>
13406
13407         * configure.ac:
13408           Require GLib-2.8 here as well.
13409
13410 2006-05-05  Wim Taymans  <wim@fluendo.com>
13411
13412         * gst/glib-compat.c:
13413         * gst/gst.c: (init_pre):
13414         * gst/gstobject.c: (gst_object_init), (gst_object_ref),
13415         (gst_object_unref), (gst_object_replace), (gst_object_dispose),
13416         (gst_object_dispatch_properties_changed):
13417         * gst/gstobject.h:
13418         * gst/gstregistryxml.c: (gst_registry_xml_read_cache):
13419         * gst/gststructure.c: (gst_structure_set_valist):
13420         * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
13421         Remove pre glib2.8 compatibility, fixes #340508
13422
13423 2006-05-04  Tim-Philipp Müller  <tim at centricular dot net>
13424
13425         * gst/gsttaglist.h:
13426           Mention type of tags in doc blurbs.
13427
13428 2006-05-04  Jan Schmidt  <thaytan@mad.scientist.com>
13429
13430         * gst/gstpad.c: (gst_pad_init), (gst_pad_configure_sink),
13431         (gst_pad_configure_src), (gst_pad_push):
13432         Restore acceptcaps checking behaviour now that good plugins have
13433         been released.
13434
13435 2006-05-04  Tim-Philipp Müller  <tim at centricular dot net>
13436
13437         Patch by: James Andrewartha <trs80 at tartarus uwa edu au>
13438
13439         * gst/gst.c:
13440         * gst/gstbus.c:
13441         * gst/gstclock.c:
13442         * gst/gstevent.c:
13443         * gst/gstformat.c:
13444         * gst/gstmessage.c:
13445         * gst/gstparse.c:
13446         * gst/gstquery.c:
13447         * gst/gstutils.c:
13448         * gst/parse/Makefile.am:
13449         * libs/gst/base/gstadapter.c:
13450         * libs/gst/base/gstbasesrc.c:
13451         * libs/gst/base/gstpushsrc.c:
13452         * libs/gst/base/gsttypefindhelper.c:
13453         * plugins/elements/gstfakesrc.c:
13454         * plugins/elements/gstidentity.c:
13455           Make sure gstprivate.h and/or config.h are
13456           always included first, otherwise some of our
13457           defines (like _FILE_OFFSET_BITS) might be
13458           redefined in the system headers. Fixes build
13459           on opensolaris (#340016).
13460
13461 2006-05-04  Wim Taymans  <wim@fluendo.com>
13462
13463         * docs/libs/gstreamer-libs-sections.txt:
13464         API: addition: gst_adapter_take_buffer()
13465         
13466         * libs/gst/base/gstadapter.c: (gst_adapter_push),
13467         (gst_adapter_peek), (gst_adapter_take), (gst_adapter_take_buffer),
13468         (gst_adapter_available_fast):
13469         * libs/gst/base/gstadapter.h:
13470         Prepare for optimizing the hell out of this hugely inefficient
13471         piece of code. 
13472         Added gst_adapter_take_buffer() so we can at least start thinking
13473         about subbuffering and merging.
13474         Added some comments.
13475
13476         * tests/check/Makefile.am:
13477         * tests/check/libs/adapter.c: (GST_START_TEST),
13478         (gst_adapter_suite), (main):
13479         Added GstAdapter check.
13480
13481 2006-05-04  Wim Taymans  <wim@fluendo.com>
13482
13483         * docs/design/part-overview.txt:
13484         Fix some typos, add blurb about buffer flags.
13485
13486 2006-05-03  Thomas Vander Stichele  <thomas at apestaart dot org>
13487
13488         * docs/libs/gstreamer-libs-sections.txt:
13489           make sure GstBaseTransformClass shows up in the docs
13490         * libs/gst/base/gstbasetransform.c:
13491         * libs/gst/base/gstbasetransform.h:
13492           move docs so gtk-doc picks it up now
13493
13494 2006-05-02  Stefan Kost  <ensonic@users.sf.net>
13495
13496         * docs/libs/gstreamer-libs-sections.txt:
13497           add missing symbols to docs
13498
13499 2006-05-02  Stefan Kost  <ensonic@users.sf.net>
13500
13501         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_event):
13502           back out the newsegment handling change, see #340060 for ongoing
13503           discussion
13504
13505 2006-04-30  Tim-Philipp Müller  <tim at centricular dot net>
13506
13507         * tools/gst-run.c: (get_candidates), (main):
13508           Fix wrong g_file_test() usage (see glib docs for why it doesn't
13509           work); fix typo in error message. Fixes #340079.
13510
13511 2006-04-29  Thomas Vander Stichele  <thomas at apestaart dot org>
13512
13513         * common/Makefile.am:
13514         * docs/Makefile.am:
13515         * docs/faq/Makefile.am:
13516         * docs/gst/Makefile.am:
13517         * docs/libs/Makefile.am:
13518         * docs/manual/Makefile.am:
13519         * docs/plugins/Makefile.am:
13520         * docs/pwg/Makefile.am:
13521         * docs/slides/Makefile.am:
13522         * docs/upload.mak:
13523         * common/upload.mak:
13524           move upload.mak to common
13525
13526 2006-04-29  Thomas Vander Stichele  <thomas at apestaart dot org>
13527
13528         * tests/check/gst/gstghostpad.c: (GST_START_TEST):
13529           add more asserts on refcounts
13530           do more cleanup at end of tests
13531           fix test leaks showing in FC5
13532
13533 2006-04-29  Stefan Kost  <ensonic@users.sf.net>
13534
13535         * plugins/elements/gsttypefindelement.c:
13536         (gst_type_find_element_handle_event):
13537         reverted wrong change and reflowed code to avoid others falling into
13538         this trap
13539
13540 2006-04-28  Stefan Kost  <ensonic@users.sf.net>
13541
13542         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_event):
13543           fix changelog entry about last collectpads change,
13544           add notes about proper fix
13545
13546 2006-04-28  Stefan Kost  <ensonic@users.sf.net>
13547
13548         * gst/gst.c:
13549         * gst/gstregistry.c: (gst_registry_scan_path_level),
13550         (gst_registry_scan_path):
13551         * gst/gstregistry.h:
13552           only write out registry if it has changed, fixes #338339
13553
13554 2006-04-28  Stefan Kost  <ensonic@users.sf.net>
13555
13556         * gst/gstbin.c:
13557         * gst/gstpipeline.c:
13558         * plugins/elements/gstcapsfilter.c:
13559         * plugins/elements/gstfakesink.c:
13560         * plugins/elements/gstfakesrc.c:
13561         * plugins/elements/gstfdsink.c:
13562         * plugins/elements/gstfdsrc.c:
13563         * plugins/elements/gstfilesink.c:
13564         * plugins/elements/gstfilesrc.c:
13565         * plugins/elements/gstidentity.c:
13566         * plugins/elements/gstqueue.c:
13567         * plugins/elements/gsttee.c:
13568         * plugins/elements/gsttypefindelement.c:
13569         (gst_type_find_element_handle_event):
13570           make GstElementDetails const
13571
13572 2006-04-28  Stefan Kost  <ensonic@users.sf.net>
13573
13574         * libs/gst/base/gstbasesink.c: (gst_base_sink_event):
13575         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
13576         (gst_collect_pads_is_collected), (gst_collect_pads_event):
13577           more detailed debug and formatting cleanup,
13578           forward newsegments to src-pad (so that e.g. adder not eats them)
13579
13580 2006-04-28  Stefan Kost  <ensonic@users.sf.net>
13581
13582         * gst/gstutils.c: (gst_element_link_pads):
13583           cleanup double code
13584
13585 2006-04-28  Stefan Kost  <ensonic@users.sf.net>
13586
13587         * libs/gst/controller/gstcontroller.c:
13588         (gst_controller_sync_values):
13589           some little tuning
13590         * tests/check/libs/controller.c: (GST_START_TEST),
13591         (gst_controller_suite):
13592           a new test for live value handling
13593
13594 2006-04-28  Wim Taymans  <wim@fluendo.com>
13595
13596         * gst/gstutils.c: (push_and_ref):
13597         Added some more docs.
13598         Fix refcount issue whith gst_element_found_tags() helper 
13599         function. Fixes #338335
13600
13601         * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
13602         Added testsuite for gst_element_found_tags().
13603
13604 2006-04-28  Michael Smith  <msmith@fluendo.com>
13605
13606         * gst/gstvalue.c: (gst_value_serialize_flags):
13607           Avoid NULL dereference when trying to serialize flags containing
13608           invalid values.
13609
13610 2006-04-28  Michael Smith  <msmith@fluendo.com>
13611
13612         * plugins/elements/gsttypefindelement.c:
13613         (gst_type_find_element_handle_event):
13614           If we get EOS before any data is accumulated, don't use
13615           uninitialised local variables.
13616
13617 2006-04-28  Michael Smith  <msmith@fluendo.com>
13618
13619         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
13620         (gst_dp_event_from_packet):
13621           Fixes in reading/writing events over GDP (not currently used?) - 
13622           dereferencing NULL events for unknown/invalid event types, memory
13623           leak, and change g_warning to GST_WARNING.
13624
13625 2006-04-28  Wim Taymans  <wim@fluendo.com>
13626
13627         * libs/gst/base/gstbasesink.c: (gst_base_sink_is_too_late),
13628         (gst_base_sink_do_render_stats), (gst_base_sink_render_object),
13629         (gst_base_sink_get_position), (gst_base_sink_change_state):
13630         When frame dropping is enabled, we should not ignore frames
13631         without a duration.
13632         Update some documentation.
13633
13634 2006-04-28  Wim Taymans  <wim@fluendo.com>
13635
13636         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
13637         (gst_base_src_send_event), (gst_base_src_change_state):
13638         Documentation updates.
13639
13640 2006-04-28  Wim Taymans  <wim@fluendo.com>
13641
13642         * plugins/elements/gstfdsink.c: (gst_fd_sink_render),
13643         (gst_fd_sink_check_fd), (gst_fd_sink_update_fd):
13644         handle EAGAIN, EINTR and short writes correctly. Also clean
13645         up some error cases, avoid a deadlock on bad file descriptors and
13646         use GST_DEBUG_OBJECT.
13647         Fixes #339843
13648
13649 2006-04-28  Wim Taymans  <wim@fluendo.com>
13650
13651         * gst/gstvalue.c: (gst_value_serialize_buffer),
13652         (gst_value_deserialize_buffer):
13653         Don't try to serialize a GValue with a NULL buffer. 
13654         Fixes #339821.
13655
13656         * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
13657         Added check for serialisation of NULL buffers.
13658
13659 2006-04-28  Wim Taymans  <wim@fluendo.com>
13660
13661         * gst/gstminiobject.c: (gst_value_take_mini_object):
13662         Taking a NULL miniobject is valid, fix the case where
13663         we try to unref the NULL miniobject.
13664
13665 2006-04-28  Wim Taymans  <wim@fluendo.com>
13666
13667         Patch by: Stefan Kost <ensonic at sonicpulse dot de>
13668
13669         * gst/gstbin.c: (gst_bin_handle_message_func):
13670         Update docs.
13671         Don't leak bin refcount when a state recalc is
13672         in progress and we delay another one #339808.
13673
13674 2006-04-28  Wim Taymans  <wim@fluendo.com>
13675
13676         * docs/design/part-TODO.txt:
13677         Mention QoS as an ongoing work item.
13678
13679         * docs/design/part-buffering.txt:
13680         New doc about buffering that needs to be fleshed out
13681         at some point.
13682
13683         * docs/design/part-qos.txt:
13684         More QoS policy for decoders/demuxers/transforms
13685
13686         * docs/design/part-trickmodes.txt:
13687         Small update.
13688
13689 2006-04-28  Thomas Vander Stichele  <thomas at apestaart dot org>
13690
13691         * configure.ac:
13692           back to HEAD
13693
13694 === release 0.10.5 ===
13695
13696 2006-04-28  Thomas Vander Stichele <thomas at apestaart dot org>
13697
13698         * configure.ac:
13699           releasing 0.10.5, "Fogo"
13700
13701 2006-04-22  Thomas Vander Stichele  <thomas at apestaart dot org>
13702
13703         patch by: Wim Taymans
13704
13705         * gst/gstpad.c: (gst_pad_init), (gst_pad_configure_sink),
13706         (gst_pad_configure_src), (gst_pad_push):
13707         * gst/gstpipeline.c: (gst_pipeline_init):
13708           Fix internal data flow errors.  Fixes #338711.
13709
13710 2006-04-12  Wim Taymans  <wim@fluendo.com>
13711
13712         * tests/check/gst/gstelement.c: (GST_START_TEST):
13713         Don't leak the factory.
13714
13715 2006-04-12  Thomas Vander Stichele  <thomas at apestaart dot org>
13716
13717         * configure.ac:
13718         * win32/common/config.h:
13719           prerelease
13720
13721 2006-04-12  Tim-Philipp Müller  <tim at centricular dot net>
13722
13723         * libs/gst/controller/gstcontroller.c: (gst_controller_unset),
13724         (gst_controller_unset_all):
13725           Free allocated GstTimedValues when freeing list nodes.
13726           Should fix leaks 'make check-valgrind' complains about.
13727
13728         * win32/common/libgstcontroller.def:
13729           Add gst_controller_unset_all.
13730
13731 2006-04-11  Stefan Kost  <ensonic@users.sf.net>
13732
13733         * docs/libs/gstreamer-libs-sections.txt:
13734         * libs/gst/controller/gstcontroller.c: (gst_controller_unset),
13735         (gst_controller_unset_all):
13736         * libs/gst/controller/gstcontroller.h:
13737         API: Added new method gst_controller_unset_all()
13738         fixed gst_controller_unset()
13739         * tests/check/libs/controller.c: (GST_START_TEST),
13740         (gst_controller_suite):
13741         Added two testcases for new and fixed method
13742
13743 2006-04-11  Tim-Philipp Müller  <tim at centricular dot net>
13744
13745         * libs/gst/net/gstnettimepacket.c: (gst_net_time_packet_send):
13746           MSG_DONTWAIT is not defined on Cygwin, so work
13747           around that (fixes #317048).
13748           
13749 2006-04-11  Wim Taymans  <wim@fluendo.com>
13750
13751         * gst/gstelementfactory.c: (gst_element_register),
13752         (gst_element_factory_create), (gst_element_factory_make):
13753         Some cleanups.
13754         Fixed a FIXME.
13755         Updated docs (Fixes #131079)
13756
13757         * gst/gstpluginfeature.c: (gst_plugin_feature_load):
13758         Small cleanups.
13759
13760         * tests/check/gst/gstelement.c: (GST_START_TEST),
13761         (gst_element_suite):
13762         Added testcase for elementfactory class field.
13763
13764 2006-04-10  Wim Taymans  <wim@fluendo.com>
13765
13766         * gst/gstsegment.c:
13767         Added some more docs.
13768
13769         * libs/gst/base/gstbasesink.c: (gst_base_sink_perform_qos),
13770         (gst_base_sink_reset_qos):
13771         Calculate more accurate rate values.
13772
13773 2006-04-09  Sebastien Moutte  <sebastien@moutte.net>
13774
13775         * gst/gst_private.h:
13776           add a new #ifdef to use __declspec(dllimport) only for
13777           other modules and not for gstreamer core
13778         * gst/gstbasesink.c: (gst_base_sink_perform_qos):
13779           use gst_guint64_to_gdouble for conversion
13780         * win32/common/libgstreamer.def:
13781           add new exported functions
13782         * win32/vs6/gst_inspect.dsp:
13783         * win32/vs6/gst_launch.dsp:
13784         * win32/vs6/libgstbase.dsp:
13785         * win32/vs6/libgstcontroller.dsp:
13786         * win32/vs6/libgstcoreelements.dsp:
13787         * win32/vs6/libgstdataprotocol.dsp:
13788         * win32/vs6/libgstnet.dsp:
13789           update project files
13790
13791 2006-04-08  Stefan Kost  <ensonic@users.sf.net>
13792
13793         * gst/gstbuffer.c: (gst_subbuffer_class_init):
13794         * gst/gstclock.c: (gst_clock_class_init):
13795         * gst/gstelement.c: (gst_element_class_init):
13796         * gst/gstindex.c: (gst_index_class_init):
13797         * gst/gstindexfactory.c: (gst_index_factory_class_init):
13798         * gst/gstobject.c: (gst_object_class_init),
13799         (gst_signal_object_class_init):
13800         * gst/gstpad.c: (gst_pad_class_init):
13801         * gst/gstpadtemplate.c: (gst_pad_template_class_init):
13802         * gst/gstpluginfeature.c: (gst_plugin_feature_class_init):
13803         * gst/gstregistry.c: (gst_registry_class_init):
13804         * gst/gstsystemclock.c: (gst_system_clock_class_init):
13805         * gst/gsttask.c: (gst_task_class_init):
13806         * gst/gstxml.c: (gst_xml_class_init):
13807         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
13808         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
13809         (gst_base_src_loop):
13810         * libs/gst/controller/gstcontroller.c:/
13811         (_gst_controller_class_init):
13812         * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init):
13813         * plugins/indexers/gstfileindex.c: (gst_file_index_class_init):
13814         * plugins/indexers/gstmemindex.c: (gst_mem_index_class_init):
13815         * tests/old/examples/plugins/example.c: (gst_example_class_init):
13816         * tests/old/testsuite/threads/signals.c: (gst_test_class_init):
13817         Fix #337365 (g_type_class_ref <-> g_type_class_peek_parent)
13818
13819 2006-04-08  Tim-Philipp Müller  <tim at centricular dot net>
13820
13821         * gst/gstpad.c: (gst_pad_link):
13822           Must set peer pads before calling the link function, otherwise
13823           a task started from a link function might get a flow-not-linked
13824           result when trying to push because the other thread where the
13825           linking happens hasn't had a chance to set the peers yet. This
13826           might happen for example when a queue gets linked to a downstream
13827           element, as queue starts a streaming task when its source pad
13828           gets linked. Happens in real life when playing back flac/musepack
13829           files in playbin (#332390).
13830           
13831 2006-04-08  Stefan Kost  <ensonic@users.sf.net>
13832
13833         * gst/gstindex.h:
13834         * gst/gstxml.h:
13835         * libs/gst/base/gstadapter.h:
13836         * libs/gst/base/gstbasesink.h:
13837         * libs/gst/base/gstbasesrc.h:
13838         * libs/gst/base/gstbasetransform.h:
13839         * libs/gst/base/gstcollectpads.h:
13840         * libs/gst/base/gstpushsrc.h:
13841         Fix broken GObject macros
13842
13843 2006-04-07  Wim Taymans  <wim@fluendo.com>
13844
13845         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
13846         Initialize start and stop times, thanks valgrind.
13847
13848 2006-04-07  Wim Taymans  <wim@fluendo.com>
13849
13850         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
13851         Be a bit nicer to badly behaving upstream elements that expect
13852         us to deal with non TIME segments and timestamps (such as fakesrc
13853         in the testsuite).
13854
13855 2006-04-07  Wim Taymans  <wim@fluendo.com>
13856
13857         * gst/gstbus.c:
13858         Small documentation clarification about the signal watch.
13859
13860         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
13861         (gst_base_sink_wait_clock), (gst_base_sink_do_sync),
13862         (gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
13863         (gst_base_sink_do_render_stats), (gst_base_sink_render_object),
13864         (gst_base_sink_get_position_last),
13865         (gst_base_sink_get_position_paused), (gst_base_sink_change_state):
13866         Convert and store timestamps in stream time and running time, the
13867         raw timestamps are not useful, also document this better.
13868         Use different window sizes for good and bad QoS observations so
13869         we react to badness a little quicker.
13870         Keep track of the amount of rendered and dropped buffers.
13871         Send QoS timestamps in running time.
13872
13873         * libs/gst/base/gstbasetransform.c:
13874         (gst_base_transform_sink_eventfunc),
13875         (gst_base_transform_handle_buffer):
13876         Compare QoS timestamps against running time.
13877
13878 2006-04-06  Tim-Philipp Müller  <tim at centricular dot net>
13879
13880         * gst/gstpad.c:
13881           Typo fixes in docs.
13882
13883 2006-04-06  Michael Smith  <msmith@fluendo.com>
13884
13885         * gst/gstpad.c: (gst_pad_set_property):
13886           Use g_value_get_object() instead of g_value_dup_gst_object(),
13887           to avoid double-reffing the pad template (which we then sink,
13888           so this worked previously if (and only if) the pad template
13889           was floating.
13890
13891         * gst/gstpadtemplate.c: (gst_pad_template_init),
13892         (gst_pad_template_pad_created):
13893           Never return floating references to pad templates, create
13894           them as initially-sunken.
13895
13896           Document an extra function (and make this stop sinking our
13897           pad template, since that is now guaranteed to do nothing,
13898           since we created it sunken).
13899
13900         * gst/gstghostpad.c:
13901           Fix docs typo.
13902
13903 2006-04-06  Tim-Philipp Müller  <tim at centricular dot net>
13904
13905         * gst/gstinfo.c: (__gst_in_valgrind):
13906           Add some newlines.
13907
13908         * plugins/elements/gsttypefindelement.c:
13909         (gst_type_find_element_chain):
13910           Don't leak buffer caps.
13911
13912 2006-04-06  Michael Smith  <msmith@fluendo.com>
13913
13914         * gst/parse/grammar.y:
13915           Fix a leak in parse-launch for any source-or-sink named element 
13916           references used.
13917
13918         * tests/check/pipelines/parse-launch.c: (expected_fail_pipe):
13919           Unref the pipeline if it exists after we've failed parsing.
13920
13921 2006-04-05  Michael Smith  <msmith@fluendo.com>
13922
13923         * gst/gstpipeline.c: (gst_pipeline_init):
13924           When we create a pipeline bus, initially create it in flushing mode.
13925           Fixes leaks in at least one test, and makes a new pipeline work the
13926           same as one that has gone to READY and then back to NULL.
13927
13928         * gst/gstelement.c:
13929           Typo fix in docs.
13930
13931 2006-04-05  Michael Smith  <msmith@fluendo.com>
13932
13933         * tests/check/gst/gstghostpad.c: (GST_START_TEST):
13934           Unref a pad we reffed.
13935         * tests/check/gst/gstutils.c: (GST_START_TEST):
13936           Unref bins
13937
13938 2006-04-05  Michael Smith  <msmith@fluendo.com>
13939
13940         * gst/gstquery.c: (gst_query_set_formats),
13941         (gst_query_set_formatsv):
13942           Fix leaking GValues in queries, as shown by valgrind/testsuite.
13943
13944 2006-04-05  Michael Smith  <msmith@fluendo.com>
13945
13946         * tests/check/generic/sinks.c: (GST_START_TEST):
13947           Fix a variety of memleaks in sinks check, which are only sometimes 
13948           shown by running the tests under valgrind (weird?).
13949
13950 2006-04-05  Jan Schmidt  <thaytan@mad.scientist.com>
13951
13952         * docs/version.entities.in:
13953           Fix the substituted entity name after thomas' changes on the
13954           weekend.
13955
13956 2006-04-05  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
13957
13958         * gst/gstinfo.c: (__gst_in_valgrind): Use printf instead of
13959         VALGRIND_PRINTF
13960         
13961 2006-04-05  Andy Wingo  <wingo@pobox.com>
13962
13963         * gst/gstpad.c (gst_pad_set_blocked_async): More debug.
13964
13965         * libs/gst/base/gstbasetransform.c
13966         (gst_base_transform_sink_eventfunc): When resetting our segment on
13967         FLUSH_STOP, also update the flag saying we haven't seen a
13968         newsegment.
13969
13970 2006-04-04  Tim-Philipp Müller  <tim at centricular dot net>
13971
13972         Patch by: Paolo Borelli  <pborelli at katamail dot com>
13973
13974         * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_class_init),
13975         (gst_plugin_check_license):
13976           minor clean-ups: G_DEFINE_TYPE already takes care of the
13977           parent_class stuff, no need to do it twice. Mark array of
13978           license strings as constant. (#337103)
13979           
13980 2006-04-04  Michael Smith  <msmith@fluendo.com>
13981
13982         * tools/gst-inspect.c: (print_element_list):
13983           Free the right plugin list; fixes a memory leak.
13984
13985 2006-04-04  Tim-Philipp Müller  <tim at centricular dot net>
13986
13987         Patch by: Mark Nauwelaerts  <manauw at skynet dot be>
13988
13989         * plugins/elements/gstfilesink.c: (gst_file_sink_render):
13990           Don't error out on empty buffers (#336945).
13991           
13992 2006-04-04  Jan Schmidt  <thaytan@mad.scientist.com>
13993
13994         * docs/libs/gstreamer-libs-sections.txt:
13995         * gst/gsttaglist.c:
13996         * libs/gst/base/gstbasesink.c:
13997         * libs/gst/base/gstbasesink.h:
13998         * libs/gst/base/gstbasesrc.c:
13999         * libs/gst/base/gstbasesrc.h:
14000           Documentation updates. Make BaseSink and BaseSrc docs contain the
14001           class structure so that people can actually see the prototypes for
14002           virtual functions they're supposed to be overriding.
14003
14004 2006-04-04  Tim-Philipp Müller  <tim at centricular dot net>
14005
14006         * plugins/elements/gsttypefindelement.c:
14007         (gst_type_find_element_chain):
14008           More debug info; when skipping typefinding, send cached
14009           events in all cases.
14010
14011 2006-04-01  Thomas Vander Stichele  <thomas at apestaart dot org>
14012
14013         * configure.ac:
14014           use new AS_VERSION and AS_NANO macros
14015         * gst/gst-i18n-lib.h:
14016         * gst/gst.c:
14017         * gst/gsterror.c:
14018         * gst/gstversion.h.in:
14019         * win32/common/config.h:
14020         * win32/common/config.h.in:
14021           update accordingly
14022
14023 2006-03-31  Michael Smith  <msmith@fluendo.com>
14024
14025         * plugins/elements/gsttypefindelement.c:
14026         (gst_type_find_element_chain):
14027           Do not typefind content if the buffers already have caps.
14028           Neccesary for icydemux (#333657), and the right thing to do anyway.
14029
14030 2006-03-30  Wim Taymans  <wim@fluendo.com>
14031
14032         * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
14033         (gst_base_sink_finalize), (gst_base_sink_set_qos_enabled),
14034         (gst_base_sink_is_qos_enabled), (gst_base_sink_do_sync),
14035         (gst_base_sink_record_qos_observation),
14036         (gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
14037         (gst_base_sink_is_too_late), (gst_base_sink_render_object),
14038         (gst_base_sink_change_state):
14039         More QoS measurements as described in the design doc.
14040         Get rid of ringbuffer with observations, running average is
14041         more simple and equally good.
14042         Calculates valid proportion now.
14043         Added beginning of flood measurement.
14044
14045 2006-03-29  Wim Taymans  <wim@fluendo.com>
14046
14047         * docs/design/part-qos.txt:
14048         * gst/gstclock.c:
14049         Small documentation updates and additions.
14050
14051 2006-03-29  Wim Taymans  <wim@fluendo.com>
14052
14053         * libs/gst/base/gstbasesrc.c: (gst_base_src_finalize),
14054         (gst_base_src_send_event), (gst_base_src_loop),
14055         (gst_base_src_change_state):
14056         Perform the EOS logic when we reach the segment stop position.
14057         Fix compilation on gcc4.1
14058
14059 2006-03-29  Wim Taymans  <wim@fluendo.com>
14060
14061         Patch by: Tommi Myöhänen <ext-tommi dot myohanen at nokia dot com>
14062
14063         * plugins/elements/gstqueue.c: (gst_queue_init),
14064         (gst_queue_locked_flush), (gst_queue_handle_sink_event),
14065         (gst_queue_set_property):
14066         * plugins/elements/gstqueue.h:
14067         In queue, when EOS is received, if minimum threshold > max_size -
14068         current_level, there is chance that queue blocks forever in conditional
14069         item del wait. This is because the queue is not emptied completely due
14070         to minimum threshold.  Here is another approach. Instead of setting
14071         cur_levels to max in EOS, just zero all minimum threshold levels. This
14072         should make sure that queue gives out all data. When going to READY
14073         (stop) state, just reset the original minimum threshold levels.
14074         Fixes #336336.
14075
14076 2006-03-29  Tim-Philipp Müller  <tim at centricular dot net>
14077
14078         * plugins/elements/gsttypefindelement.c: (stop_typefinding),
14079         (gst_type_find_element_handle_event),
14080         (gst_type_find_element_send_cached_events),
14081         (gst_type_find_element_change_state):
14082         * plugins/elements/gsttypefindelement.h:
14083           When typefinding is done in push mode, we should cache
14084           events we receive during typefinding instead of just
14085           dropping them (e.g. newsegment, custom events from
14086           dvdreadsrc etc.) and then send them out once we've
14087           determined the type of the stream (and decodebin
14088           has had a chance to plug in a decoder/demuxer).
14089           
14090 2006-03-27  Wim Taymans  <wim@fluendo.com>
14091
14092         * docs/design/part-qos.txt:
14093         First QoS ideas.
14094
14095 2006-03-27  Wim Taymans  <wim@fluendo.com>
14096
14097         Inspired by a patch of: Lutz Mueller <lutz at topfrose dot de>
14098
14099         * libs/gst/base/gstbasesrc.c: (gst_base_src_finalize),
14100         (gst_base_src_send_event), (gst_base_src_change_state):
14101         Handle element seek correctly when we are streaming.
14102         Fixes #326998.
14103
14104 2006-03-24  Michael Smith  <msmith@fluendo.com>
14105
14106         * docs/faq/gst-uninstalled:
14107           Set up LD_LIBRARY_PATH to point at all the gstreamer libs. This will
14108           allow you to correctly run intalled applications built against old 
14109           core, using plugins that require updated core (e.g. running
14110           installed totem against a full uninstalled gstreamer stack)
14111
14112 2006-03-24  Stefan Kost  <ensonic@users.sf.net>
14113
14114         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_is_collected):
14115         more debug details
14116
14117 2006-03-24  Wim Taymans  <wim@fluendo.com>
14118
14119         * docs/gst/gstreamer-sections.txt:
14120         Rearrange the order of the methods so that related methods
14121         are grouped together in sections.
14122
14123 2006-03-24  Stefan Kost  <ensonic@users.sf.net>
14124
14125         * gst/gstelement.c:
14126           Little clarification in the docs
14127
14128 2006-03-24  Stefan Kost  <ensonic@users.sf.net>
14129
14130         * docs/README:
14131         formatting fix
14132         * plugins/elements/gstidentity.c:
14133         * plugins/elements/gstqueue.c:
14134         * plugins/elements/gsttee.c:
14135         * plugins/elements/gsttypefindelement.c:
14136         GST_ELEMENT_DETAILS formatting
14137
14138 2006-03-24  Wim Taymans  <wim@fluendo.com>
14139
14140         * libs/gst/base/gstbasesink.h:
14141         Only add fields, not insert or we break ABI.
14142
14143 2006-03-23  Tim-Philipp Müller  <tim at centricular dot net>
14144
14145         * win32/common/libgstbase.def:
14146         * win32/common/libgstreamer.def:
14147           Update, add recently added functions.
14148
14149 2006-03-23  Tim-Philipp Müller  <tim at centricular dot net>
14150
14151         * docs/gst/gstreamer-sections.txt:
14152         * gst/gstutils.c: (gst_pad_query_peer_position),
14153         (gst_pad_query_peer_duration), (gst_pad_query_peer_convert):
14154         * gst/gstutils.h:
14155           API: add some new utility functions:
14156            - gst_pad_query_peer_position()
14157            - gst_pad_query_peer_duration()
14158            - gst_pad_query_peer_convert()
14159           
14160 2006-03-23  Wim Taymans  <wim@fluendo.com>
14161
14162         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
14163         (gst_base_sink_init), (gst_base_sink_finalize),
14164         (gst_base_sink_set_qos_enabled), (gst_base_sink_is_qos_enabled),
14165         (gst_base_sink_set_property), (gst_base_sink_get_property),
14166         (gst_base_sink_commit_state), (gst_base_sink_get_sync_times),
14167         (gst_base_sink_wait_clock), (gst_base_sink_do_sync),
14168         (gst_base_sink_add_qos_observation), (gst_base_sink_send_qos),
14169         (gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
14170         (gst_base_sink_is_too_late), (gst_base_sink_render_object),
14171         (gst_base_sink_preroll_object), (gst_base_sink_event),
14172         (gst_base_sink_chain_unlocked), (gst_base_sink_get_position_last),
14173         (gst_base_sink_get_position_paused), (gst_base_sink_get_position),
14174         (gst_base_sink_query), (gst_base_sink_change_state):
14175         Decouple max-lateness and the fact that QoS messages are generated
14176         with a new property (qos).
14177         added API: GstBaseSink::async_play()
14178         Add vmethod so subclasses can be notified of ASYNC playing
14179         state changes.
14180         Collect timestamp start and stop to report better current
14181         position in EOS/PLAYING/PAUSED/READY/NULL.
14182         Refactor QoS/frame dropping and other measurements.
14183         API: GstBaseSrc::qos
14184         Fixes #326311
14185
14186         * libs/gst/base/gstbasesink.h:
14187         Added Private struct.
14188         API: gst_base_sink_set_qos_enabled()
14189         API: gst_base_sink_is_qos_enabled()
14190
14191 2006-03-23  Tim-Philipp Müller  <tim at centricular dot net>
14192
14193         * gst/gstregistryxml.c: (gst_registry_xml_read_cache):
14194           If compiling against GLib-2.8 or newer, try to read the
14195           registry file using GMappedFile first before falling back
14196           to fopen() + fread() (#332151).
14197
14198 2006-03-22  Wim Taymans  <wim@fluendo.com>
14199
14200         * gst/gstinfo.c: (gst_debug_set_active),
14201         (gst_debug_category_set_threshold):
14202         Disable debugging unless explicitly activated.
14203         Fixes #335480.
14204
14205 2006-03-22  Wim Taymans  <wim@fluendo.com>
14206
14207         * gst/gstelement.c: (gst_element_set_locked_state),
14208         (gst_element_dispose):
14209         Cleanup the error case.
14210
14211         * gst/gstobject.c: (gst_object_dispose):
14212         print a critical when some object was disposed with
14213         a parent, also revive the object since it might
14214         crash the parent.
14215
14216 2006-03-22  Tim-Philipp Müller  <tim at centricular dot net>
14217
14218         * tools/gst-launch.1.in:
14219           Fix another typo.
14220
14221 2006-03-21  Thomas Vander Stichele  <thomas at apestaart dot org>
14222
14223         * configure.ac:
14224         * tests/check/Makefile.am:
14225           disable some tests when we don't have a registry
14226         * tests/check/gst/gstutils.c: (gst_utils_suite):
14227           don't build the part that needs parsing
14228
14229 2006-03-21  Thomas Vander Stichele  <thomas at apestaart dot org>
14230
14231         * gst/Makefile.am
14232         * tests/examples/Makefile.am:
14233           fix --disable-parse build
14234
14235 2006-03-21  Tim-Philipp Müller  <tim at centricular dot net>
14236
14237         * tools/gst-feedback.1.in:
14238           Fix typo: s/feeback/feedback/ (#133494).
14239
14240 2006-03-21  Tim-Philipp Müller  <tim at centricular dot net>
14241
14242         * tools/Makefile.am:
14243         * tools/gst-launch.1.in:
14244           Add FILES section and correct entry about GST_REGISTRY_PATH
14245           environment variable (#133495; #133494).
14246
14247 2006-03-21  Tim-Philipp Müller  <tim at centricular dot net>
14248
14249         * tools/Makefile.am:
14250         * tools/gst-md5sum.1.in:
14251         * tools/gst-md5sum.c:
14252           Remove gst-md5sum and man page (the md5sink element
14253           required was removed ages ago)
14254
14255 2006-03-21  Tim-Philipp Müller  <tim at centricular dot net>
14256
14257         * gst/gststructure.c: (gst_structure_id_set_value):
14258           Make sure that string fields in structures/taglists
14259           contain valid UTF-8 - we don't want to pass rubbish to
14260           applications because of a buggy plugin (cp. #334167).
14261
14262 2006-03-21  Edward Hervey  <edward@fluendo.com>
14263
14264         * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
14265         (gst_bin_handle_message_func):
14266         * gst/gstclock.c: (gst_clock_dispose), (gst_clock_set_master):
14267         * gst/gstelement.c: (gst_element_set_clock), (gst_element_dispose),
14268         (gst_element_set_bus_func):
14269         * gst/gstghostpad.c: (gst_proxy_pad_dispose):
14270         * gst/gstminiobject.c: (gst_value_set_mini_object),
14271         (gst_value_take_mini_object):
14272         * gst/gstpad.c: (gst_pad_set_pad_template):
14273         * gst/gstpipeline.c: (gst_pipeline_dispose),
14274         (gst_pipeline_use_clock), (gst_pipeline_auto_clock):
14275         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_pop),
14276         (gst_collect_pads_chain):
14277         * libs/gst/net/gstnettimeprovider.c:
14278         (gst_net_time_provider_set_property):
14279         Series of fixes for dereferenced pointers that gcc 4.1 complains about.
14280         It's in fact all issues with gst_*object_replace().
14281
14282 2006-03-21  Tim-Philipp Müller  <tim at centricular dot net>
14283
14284         Patch by: Loïc Minier  <lool + gnome at via dot ecp dot fr>
14285         
14286         * pkgconfig/gstreamer-check-uninstalled.pc.in:
14287         * pkgconfig/gstreamer-check.pc.in:
14288           Use @CHECK_LIBS@ here instead of hard-coding -lcheck (#334109).
14289
14290 2006-03-21  Edward Hervey  <edward@fluendo.com>
14291
14292         * gst/gstbuffer.h:
14293         * gst/gstevent.h:
14294         * gst/gstmessage.h:
14295         gst_[buffer|event|message]_ref() macros are replaced by a static
14296         inline functions because gcc-4.1 will about if the return value
14297         isn't used.
14298         * tests/check/gst/gstevent.c: (event_probe):
14299         gst_event_ref now has to be given a GstEvent* , fix check accordingly.
14300
14301 2006-03-20  Jan Schmidt  <thaytan@mad.scientist.com>
14302
14303         * gst/gstutils.h:
14304         Add G_UNLIKELY to our boilerplate to optimise the 'already registered
14305         the type' case. (Closes: #335195 for now). In the future, when we
14306         depend on GLib 2.10, we could also intern the type name using
14307         g_intern_static_string()
14308
14309 2006-03-20  Wim Taymans  <wim@fluendo.com>
14310
14311         * gst/gstbin.c: (gst_bin_handle_message_func),
14312         (bin_query_max_init), (bin_query_position_fold),
14313         (bin_query_position_done), (gst_bin_query):
14314         Position query should also take max of all streams.
14315
14316 2006-03-20  Wim Taymans  <wim@fluendo.com>
14317
14318         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
14319         (gst_fake_src_finalize):
14320         Fix leaks in fakesrc.
14321
14322         * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
14323         Fix leaks in the testcase.
14324
14325 2006-03-19  Sebastien Moutte  <sebastien@moutte.net>
14326
14327         * gst/gst_private.h:
14328           add win32 specific import decoration(__declspec(dllimport)) 
14329           for all extern GstDebugCategory * variables
14330         * win32/common/libgstbase.def:
14331         * win32/common/libgstcontroller.def:
14332         * win32/common/libgstreamer.def:
14333           Add some exports, remove empty lines
14334         * win32/common/libgstdataprotocol.def:
14335         * win32/common/libgstdataprotocol.dsp:
14336         * win32/common/libgstnet.def:
14337         * win32/common/libgstnet.dsp:
14338           new project files and exportation files added
14339         
14340 2006-03-19  Wim Taymans  <wim@fluendo.com>
14341
14342         * tests/check/libs/basesrc.c: (eos_event_counter):
14343         Use proper return value for probe.
14344
14345 2006-03-17  Wim Taymans  <wim@fluendo.com>
14346
14347         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_alloc_buffer_full),
14348         (gst_pad_push):
14349         Don't leak buffers, caps and pads on negotiation errors.
14350
14351 2006-03-16  Stefan Kost  <ensonic@users.sf.net>
14352
14353         * docs/faq/cvs.xml:
14354         * docs/faq/dependencies.xml:
14355         * docs/faq/developing.xml:
14356         * docs/faq/faq.xml:
14357         * docs/faq/general.xml:
14358         * docs/faq/getting.xml:
14359         * docs/faq/legal.xml:
14360         * docs/faq/troubleshooting.xml:
14361         * docs/faq/using.xml:
14362         Faq review and update.
14363
14364 2006-03-16  Jan Schmidt  <thaytan@mad.scientist.com>
14365
14366         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_alloc_buffer_full),
14367         (gst_pad_push):
14368         Don't pound the cpu to pieces by checking get_caps when accept_caps
14369         is called with the same caps as the pad already has.
14370         Use GST_DEBUG_OBJECT when outputting caps change information.
14371
14372 2006-03-15  Wim Taymans  <wim@fluendo.com>
14373
14374         * gst/gstclock.c: (gst_clock_class_init):
14375         Fix docs.
14376
14377 2006-03-15  Jan Schmidt  <thaytan@mad.scientist.com>
14378
14379         * gst/gstbuffer.h:
14380         Documentation fix.
14381
14382         * gst/gstpad.c: (gst_pad_init), (gst_pad_acceptcaps_default),
14383         (gst_pad_accept_caps), (gst_pad_configure_sink),
14384         (gst_pad_configure_src), (gst_pad_chain), (gst_pad_push):
14385         Make the default acceptcaps behaviour be to check the requested 
14386         caps against the gst_pad_get_caps output. 
14387
14388         Ensure that gst_pad_accept_caps is used to check caps when a pad
14389         doesn't have a setcaps function, so that pads automatically refuse 
14390         caps that they don't allow in their pad template. (Fixes #332986)
14391
14392         When a buffer with attached caps is pushed, ensure that the source 
14393         pad receives those caps even if the element didn't call
14394         gst_pad_set_caps first.
14395
14396 2006-03-15  Wim Taymans  <wim@fluendo.com>
14397
14398         * libs/gst/base/gstadapter.c:
14399         Add some docs.
14400
14401 2006-03-15  Tim-Philipp Müller  <tim at centricular dot net>
14402
14403         * win32/common/libgstbase.def:
14404         * win32/common/libgstcontroller.def:
14405         * win32/common/libgstreamer.def:
14406           Add a whole bunch of missing functions (#334434).
14407
14408 2006-03-14  Wim Taymans  <wim@fluendo.com>
14409
14410         * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment),
14411         (gst_base_sink_get_sync_times), (gst_base_sink_wait_clock),
14412         (gst_base_sink_do_sync), (gst_base_sink_do_qos):
14413         Better debug info when we receive a segment event.
14414         Reorganize a bit so we can pass the get_times() results around.
14415         Use the segment format when calculating the running time.
14416         Don't do QoS is sync is disabled or we have no clock or the
14417         element does not want us to sync to the clock.
14418         Don't drop buffers if QoS is disabled for now.
14419
14420 2006-03-14  Wim Taymans  <wim@fluendo.com>
14421
14422         * gst/gstclock.c: (gst_clock_class_init), (do_linear_regression):
14423         Marked the stats property as unimplemented so people don't get
14424         wild ideas.
14425         Add debug message when regression goes wrong.
14426         Added some more docs.
14427
14428 2006-03-14  Wim Taymans  <wim@fluendo.com>
14429
14430         * gst/gstsegment.c: (gst_segment_to_stream_time):
14431         Return correct return type in case of errors.
14432
14433 2006-03-14  Wim Taymans  <wim@fluendo.com>
14434
14435         * gst/gstformat.c: (gst_format_get_name), (gst_format_to_quark):
14436           Don't segfault on invalid formats.
14437
14438 2006-03-14  Tim-Philipp Müller  <tim at centricular dot net>
14439
14440         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
14441           Can't use gst_segment_to_running_time() when the segment
14442           is not in GST_TIME_FORMAT (like with filesink, for example).
14443           Stops flac encoding pipelines from spewing critical warnings
14444           at EOS (#331248).
14445           
14446 2006-03-14  Tim-Philipp Müller  <tim at centricular dot net>
14447
14448         * gst/gstpipeline.c: (gst_pipeline_class_init):
14449           Add 'Since: 0.10.5' to gtk-doc blurb for added property.
14450
14451         * plugins/elements/gsttypefindelement.c:
14452         (gst_type_find_element_handle_event):
14453           Don't try to typefind empty streams.
14454
14455 2006-03-14  Wim Taymans  <wim@fluendo.com>
14456
14457         * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync),
14458         (gst_base_sink_do_qos):
14459         Separate QoS calculation.
14460         Only drop buffers when lateness is bigger than the 
14461         duration of the buffer.
14462
14463 2006-03-13  Wim Taymans  <wim@fluendo.com>
14464
14465         * gst/gstpipeline.c: (gst_pipeline_set_property),
14466         (gst_pipeline_get_property), (do_pipeline_seek),
14467         (gst_pipeline_change_state), (gst_pipeline_set_delay),
14468         (gst_pipeline_get_delay):
14469         Don't deadlock when reading properties.
14470
14471 2006-03-13  Wim Taymans  <wim@fluendo.com>
14472
14473         * libs/gst/base/gstbasetransform.c:
14474         (gst_base_transform_class_init), (gst_base_transform_init),
14475         (gst_base_transform_sink_event),
14476         (gst_base_transform_sink_eventfunc),
14477         (gst_base_transform_src_event), (gst_base_transform_src_eventfunc),
14478         (gst_base_transform_handle_buffer), (gst_base_transform_chain),
14479         (gst_base_transform_set_property),
14480         (gst_base_transform_get_property),
14481         (gst_base_transform_change_state), (gst_base_transform_update_qos),
14482         (gst_base_transform_set_qos_enabled),
14483         (gst_base_transform_is_qos_enabled):
14484         * libs/gst/base/gstbasetransform.h:
14485         Make basetransform virtual method for src events too.
14486         Handle QOS in basetransform.
14487         API: gst_base_transform_update_qos()
14488         API: gst_base_transform_set_qos_enabled()
14489         API: gst_base_transform_is_qos_enabled()
14490
14491 2006-03-13  Wim Taymans  <wim@fluendo.com>
14492
14493         * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
14494         (gst_base_sink_do_sync):
14495         Small cleanups.
14496         Use QOS debug category.
14497
14498 2006-03-13  Wim Taymans  <wim@fluendo.com>
14499
14500         * plugins/elements/gstqueue.c:
14501         Very small doc update.
14502
14503 2006-03-13  Wim Taymans  <wim@fluendo.com>
14504
14505         * gst/gst_private.h:
14506         * gst/gstinfo.c: (_gst_debug_init):
14507         Added QOS debug category
14508
14509 2006-03-13  Wim Taymans  <wim@fluendo.com>
14510
14511         * docs/gst/gstreamer-sections.txt:
14512         * gst/gstbin.c: (bin_bus_handler), (gst_bin_handle_message_func):
14513         * gst/gstbin.h:
14514         * gst/gstbus.c: (gst_bus_class_init):
14515         * gst/gstbus.h:
14516         * gst/gstclock.c:
14517         * gst/gstelement.c: (gst_element_set_locked_state):
14518         * gst/gstsegment.c:
14519         Documentation updates.
14520
14521         * gst/gstpipeline.c: (gst_pipeline_get_type),
14522         (gst_pipeline_class_init), (gst_pipeline_init),
14523         (gst_pipeline_dispose), (gst_pipeline_set_property),
14524         (gst_pipeline_get_property), (do_pipeline_seek),
14525         (gst_pipeline_send_event), (gst_pipeline_change_state),
14526         (gst_pipeline_provide_clock_func), (gst_pipeline_set_delay),
14527         (gst_pipeline_get_delay):
14528         * gst/gstpipeline.h:
14529         Added methods for setting the delay.
14530         API: gst_pipeline_set_delay()
14531         API: gst_pipeline_get_delay()
14532         Add pipeline debug category
14533         Various cleanups.
14534         Updated docs.
14535         Don't reset stream time when seek failed.
14536
14537 2006-03-13  Wim Taymans  <wim@fluendo.com>
14538
14539         * docs/design/draft-klass.txt:
14540         * docs/design/part-clocks.txt:
14541         * docs/design/part-events.txt:
14542         * docs/design/part-gstbin.txt:
14543         * docs/design/part-gstpipeline.txt:
14544         * docs/design/part-messages.txt:
14545         * docs/design/part-negotiation.txt:
14546         * docs/design/part-overview.txt:
14547         * docs/design/part-preroll.txt:
14548         * docs/design/part-seeking.txt:
14549         * docs/design/part-states.txt:
14550         * docs/design/part-streams.txt:
14551         Documentation updates.
14552
14553 2006-03-12  Julien MOUTTE  <julien@moutte.net>
14554
14555         * gst/gsttaglist.c: Fix rubbish docs that are encouraging
14556         us to leak strings...
14557
14558 2006-03-12  Thomas Vander Stichele  <thomas at apestaart dot org>
14559
14560         * libs/gst/net/gstnettimeprovider.c:
14561           fix docs
14562         * win32/common/config.h:
14563           update
14564
14565 2006-03-12  Tim-Philipp Müller  <tim at centricular dot net>
14566
14567         Patch by: Julio M. Merino Vidal <jmmv at netbsd org>
14568
14569         * configure.ac:
14570           Don't check for libgnomeui (leftover from old examples
14571           that aren't built or disted any longer) (#334303).
14572           
14573 2006-03-11  Tim-Philipp Müller  <tim at centricular dot net>
14574
14575         * plugins/elements/gstfdsink.c: (gst_fd_sink_render):
14576         * plugins/elements/gstfilesink.c: (gst_file_sink_render):
14577           Emit RESOURCE_NO_SPACE_LEFT error here as well when
14578           there's no space left on the device.
14579
14580 2006-03-10  Tim-Philipp Müller  <tim at centricular dot net>
14581
14582         * gst/gstclock.h:
14583           Fix GST_CLOCK_TIME_IS_VALID signedness issues - we need
14584           to cast the input to GstClockTime before comparing with
14585           another GstClockTime value.
14586
14587 2006-03-10  Thomas Vander Stichele  <thomas at apestaart dot org>
14588
14589         * configure.ac:
14590           back to trunk
14591
14592 === release 0.10.4 ===
14593
14594 2006-03-10  Thomas Vander Stichele <thomas at apestaart dot org>
14595
14596         * configure.ac:
14597           releasing 0.10.4, "Light"
14598
14599 2006-03-10  Michael Smith  <msmith@fluendo.com>
14600
14601         * libs/gst/dataprotocol/dataprotocol.c:
14602           Fix docs for dataprocotol to not get the return types completely
14603           wrong for a few functions.
14604
14605 2006-03-09  Tim-Philipp Müller  <tim at centricular dot net>
14606
14607         * docs/gst/gstreamer-sections.txt:
14608         * gst/gstpipeline.c: (gst_pipeline_class_init),
14609         (gst_pipeline_init), (gst_pipeline_set_property),
14610         (gst_pipeline_get_property), (gst_pipeline_change_state),
14611         (gst_pipeline_set_auto_flush_bus),
14612         (gst_pipeline_get_auto_flush_bus):
14613         * gst/gstpipeline.h:
14614           Add new API: gst_pipeline_set_auto_flush_bus() and
14615           gst_pipeline_get_auto_flush_bus() to disable automatic
14616           flushing of the pipeline's GstBus when going from READY
14617           to NULL state (#332045).
14618
14619 2006-03-09  Tim-Philipp Müller  <tim at centricular dot net>
14620
14621         * docs/gst/gstreamer-sections.txt:
14622         * gst/gsturi.c: (gst_uri_has_protocol):
14623         * gst/gsturi.h:
14624            Add new API: gst_uri_has_protocol() (#333779).
14625
14626 2006-03-09  Wim Taymans  <wim@fluendo.com>
14627
14628         * gst/gstclock.c: (gst_clock_entry_new),
14629         (gst_clock_id_compare_func), (gst_clock_id_wait),
14630         (gst_clock_id_wait_async), (gst_clock_id_unschedule),
14631         (gst_clock_init), (gst_clock_get_internal_time),
14632         (gst_clock_set_master), (do_linear_regression),
14633         (gst_clock_add_observation), (gst_clock_set_property):
14634         * gst/gstclock.h:
14635         Review docs.
14636         Small cleanups.
14637         Fix a possible segfault when the window-size is made smaller.
14638         Calculate jitter before performing the clock wait. Ideally
14639         the clock implementation should calculate jitter but we need
14640         API breakage for that.
14641
14642         * gst/gstsystemclock.c: (gst_system_clock_init):
14643         Docs review.
14644         
14645         * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync):
14646         Remove leftover else
14647
14648         * tests/check/gst/gstsystemclock.c: (GST_START_TEST),
14649         (gst_systemclock_suite):
14650         Added check to test GST_CLOCK_DIFF.
14651
14652 2006-03-09  Tim-Philipp Müller  <tim at centricular dot net>
14653
14654         * libs/gst/base/gsttypefindhelper.c: (helper_find_get_length),
14655         (gst_type_find_helper_get_range):
14656           If we are provided with the size, we should implement
14657           GstTypeFind::get_length, so that typefind functions who
14658           want to can actually peek at the middle of a file.
14659
14660 2006-03-08  Tim-Philipp Müller  <tim at centricular dot net>
14661
14662         * docs/manual/advanced-dataaccess.xml:
14663           Add some very very basic error checking.
14664
14665         * docs/pwg/appendix-checklist.xml:
14666           Some updates to the list of things to check when writing an element.
14667
14668 2006-03-08  Wim Taymans  <wim@fluendo.com>
14669
14670         * docs/design/part-element-transform.txt:
14671         Added some docs about the design of tranform elements.
14672
14673         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
14674         (gst_base_src_loop), (gst_base_src_change_state):
14675         Mark buffers with the DISCONT flag.
14676
14677 2006-03-08  Michael Smith  <msmith@fluendo.com>
14678
14679         * gst/gstregistry.h:
14680         * gst/gstregistryxml.c: (gst_registry_save),
14681         (gst_registry_save_escaped), (gst_registry_xml_save_caps),
14682         (gst_registry_xml_save_pad_template),
14683         (gst_registry_xml_save_feature), (gst_registry_xml_save_plugin),
14684         (gst_registry_xml_write_cache):
14685           Rewrite registry-saving to avoid race conditions and check for
14686           failed writes.
14687
14688 2006-03-08  Wim Taymans  <wim@fluendo.com>
14689
14690         * libs/gst/base/gstbasetransform.c:
14691         (gst_base_transform_transform_caps),
14692         (gst_base_transform_transform_size),
14693         (gst_base_transform_prepare_output_buffer),
14694         (gst_base_transform_get_unit_size),
14695         (gst_base_transform_buffer_alloc),
14696         (gst_base_transform_handle_buffer),
14697         (gst_base_transform_change_state):
14698         Cleanups, separate normal flow from errors, add sensible
14699         DEBUG lines.
14700         Don't try to renegotiate when allocating an output buffer.
14701         Also copy DISCONT buffer flag when copying a buffer.
14702         Reset the transform after we finish streaming, not during.
14703
14704 2006-03-08  Wim Taymans  <wim@fluendo.com>
14705
14706         * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync):
14707         Use last buffer timestamp in qos message.
14708
14709 2006-03-07  Wim Taymans  <wim@fluendo.com>
14710
14711         Patch by: Christophe Fergeau
14712
14713         * docs/pwg/advanced-tagging.xml:
14714         * docs/pwg/building-pads.xml:
14715           fixes #333416
14716
14717 2006-03-07  Wim Taymans  <wim@fluendo.com>
14718
14719         * docs/libs/gstreamer-libs-sections.txt:
14720         Added basesink new methods.
14721
14722         * gst/gstevent.c:
14723         * gst/gstevent.h:
14724         Docs updates. Flesh out the QoS docs.
14725
14726         * libs/gst/base/gstadapter.c:
14727         Small doc clarification about ownership and flushing.
14728
14729         * libs/gst/base/gstbasesink.c: (gst_base_sink_set_sync),
14730         (gst_base_sink_get_sync), (gst_base_sink_set_max_lateness),
14731         (gst_base_sink_get_max_lateness), (gst_base_sink_set_property),
14732         (gst_base_sink_get_property), (gst_base_sink_do_sync):
14733         * libs/gst/base/gstbasesink.h:
14734         API additions: 
14735         Added new methods to allow subclass to control max-lateness 
14736         and sync.
14737         Generate very basic QoS events based on last sync observation.
14738         Updated docs, fix typo, added some QoS blurb.
14739
14740         * libs/gst/base/gstbasesrc.c:
14741         Remove obsolete _get_state() calls from docs.
14742
14743 2006-03-07  Wim Taymans  <wim@fluendo.com>
14744
14745         * docs/libs/gstreamer-libs-sections.txt:
14746         * libs/gst/base/gstbasetransform.h:
14747         API addition: Fix #333669, Add pad accessor defines for GstBaseTransform
14748         Fix docs for GstBaseSrc.
14749
14750 2006-03-07  Wim Taymans  <wim@fluendo.com>
14751
14752         * docs/gst/gstreamer-sections.txt:
14753         * gst/gstbuffer.h:
14754         * gst/gstvalue.c:
14755         * libs/gst/base/gstbasetransform.h:
14756         Small documentation fixes.
14757
14758 2006-03-07  Tim-Philipp Müller  <tim at centricular dot net>
14759
14760         * gst/gstvalue.c:
14761           Document thread-unsafety of gst_value_register_foo_func()
14762           when used at the same time as gst_value_foo() (#322628).
14763
14764 2006-03-07  Tim-Philipp Müller  <tim at centricular dot net>
14765
14766         * libs/gst/base/gstpushsrc.c: (gst_push_src_class_init),
14767         (gst_push_src_check_get_range):
14768           Push sources don't support pull mode by default.
14769
14770 2006-03-06  Tim-Philipp Müller  <tim at centricular dot net>
14771
14772         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
14773         (gst_base_src_init), (gst_base_src_pad_check_get_range),
14774         (gst_base_src_default_check_get_range):
14775         * libs/gst/base/gstbasesrc.h:
14776           API addition:  Add ::check_get_range() vfunc to GstBaseSrc (#332611),
14777           provide default implementation, and rename
14778           gst_base_src_check_get_range() to
14779           gst_base_src_pad_check_get_range() for clarity.
14780
14781 2006-03-06  Wim Taymans  <wim@fluendo.com>
14782
14783         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
14784         Make property overridable.
14785
14786 2006-03-06  Wim Taymans  <wim@fluendo.com>
14787
14788         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
14789         (gst_base_sink_init), (gst_base_sink_set_property),
14790         (gst_base_sink_get_property), (gst_base_sink_do_sync):
14791         * libs/gst/base/gstbasesink.h:
14792         API addition: Make max-lateness a property.
14793
14794 2006-03-06  Wim Taymans  <wim@fluendo.com>
14795
14796         * libs/gst/base/gstbasesink.c: (gst_base_sink_wait_clock),
14797         (gst_base_sink_do_sync), (gst_base_sink_render_object):
14798         Don't ever draw a frame that is >10ms late.
14799
14800 2006-03-06  Michael Smith  <msmith@fluendo.com>
14801
14802         * gst/gstmessage.c: (_gst_message_copy):
14803           When copying a message, set the parent_refcount of the enclosed
14804           structure to point at the copy, not the original message.
14805
14806 2006-03-06  Tim-Philipp Müller  <tim at centricular dot net>
14807
14808         Patch by: Christophe Fergeau
14809
14810         * gst/gstutils.h:
14811           Do proper cast here to make GST_BOILERPLATE_WITH_INTERFACE
14812           usable in c++ code (#333417)
14813
14814 2006-03-06  Thomas Vander Stichele  <thomas at apestaart dot org>
14815
14816         * gst/gstclock.h:
14817           Show GST_CLOCK_TIME_NONE as 99:99:99.999999999
14818
14819 2006-03-05  Tim-Philipp Müller  <tim at centricular dot net>
14820
14821         * libs/gst/base/gstbasetransform.c:
14822         (gst_base_transform_transform_caps):
14823           Make sure caps are writable before passing them to
14824           gst_caps_append().
14825
14826 2006-03-04  Tim-Philipp Müller  <tim at centricular dot net>
14827
14828         * gst/gsterror.h:
14829           Fix some minor docs errors.
14830
14831 2006-03-04  Tim-Philipp Müller  <tim at centricular dot net>
14832
14833           Patch by: Ross Burton <ross at burtonini dot com>
14834
14835         * gst/gsterror.c: (_gst_resource_errors_init):
14836         * gst/gsterror.h:
14837           Add GST_RESOURCE_ERROR_NO_SPACE_LEFT (for #333352;
14838
14839 2006-03-03  Jan Schmidt  <thaytan@mad.scientist.com>
14840
14841         * gst/gst.c:
14842         Add a check and output a g_warning when GStreamer is built
14843         against GLib 2.6 but running against 2.8 or higher, and vice 
14844         versa. (Closes: #323542)
14845
14846 2006-03-03  Jan Schmidt  <thaytan@mad.scientist.com>
14847
14848         * gst/parse/parse.l:
14849           Commit patch for parse_launch syntax from #331255. Removes 
14850           support for quoted strings and mimetypes when writing filtered 
14851           caps. See the bug report for more details - I'm pretty sure this
14852           obscure feature is not in use by _anyone_ anywhere.
14853
14854           With this simple change, the size of the gstreamer.so here 
14855           drops from 2193KB to 1565KB.
14856
14857 2006-03-03  Tim-Philipp Müller  <tim at centricular dot net>
14858
14859         * plugins/elements/gsttypefindelement.h:
14860         * plugins/elements/gsttypefindelement.c:
14861         (gst_type_find_element_src_event), (start_typefinding),
14862         (stop_typefinding), (gst_type_find_element_handle_event),
14863         (gst_type_find_element_chain),
14864         (gst_type_find_element_chain_do_typefinding):
14865           Use gst_type_find_helper_for_buffer() for chain-based
14866           typefinding.
14867
14868 2006-03-03  Tim-Philipp Müller  <tim at centricular dot net>
14869
14870         * plugins/elements/gsttypefindelement.c:
14871         (gst_type_find_element_class_init),
14872         (gst_type_find_element_set_property),
14873         (gst_type_find_element_get_property):
14874           Deprecate "maximum" property (not only was it only taken into
14875           account for typefinding in push-mode anyway, it also was never
14876           actually possible to set it in the first place because the
14877           property was registered with the numeric property ID for the
14878           "minimum" property). Register "maximum" property correctly,
14879           for the sake of future copy'n'pasters. Remove some cruft
14880           from property get/set functions.
14881
14882 2006-03-03  Tim-Philipp Müller  <tim at centricular dot net>
14883
14884         * plugins/elements/gsttypefindelement.c:
14885         (gst_type_find_element_activate):
14886           Use gst_type_find_helper_get_range() here, so we
14887           can honour the "minimum" property and also emit
14888           the signal with the correct probability of the found caps.
14889
14890 2006-03-02  Tim-Philipp Müller  <tim at centricular dot net>
14891
14892         * docs/libs/gstreamer-libs-sections.txt:
14893         * libs/gst/base/gsttypefindhelper.c: (helper_find_peek),
14894         (helper_find_suggest), (gst_type_find_helper_get_range),
14895         (gst_type_find_helper):
14896         * libs/gst/base/gsttypefindhelper.h:
14897           New API: gst_type_find_helper_get_range() (#333042).
14898
14899 2006-03-02  Michael Smith  <msmith@fluendo.com>
14900
14901         * gst/gstregistryxml.c: (load_feature):
14902           Asserting on a failure to read part of the registry is Not Cool.
14903           Just log a warning and return NULL (which is already handled)
14904
14905 2006-02-28  Sebastien Moutte  <sebastien@moutte.net>
14906
14907         * win32/common/libgstbase.def:
14908           added export of gst_type_find_helper_for_buffer
14909         * win32/common/libgstbase.def:
14910           added some exports : gst_bin_iterate_elements, gst_iterator_resync,
14911           gst_ghost_pad_get_target
14912
14913 2006-02-28  Wim Taymans  <wim@fluendo.com>
14914
14915         * docs/design/draft-klass.txt:
14916         We use Filter now.
14917         Added Connector to mark elements that are only used to
14918         allow pipeline connections.
14919         Moved Debug to extra feature since most of them are 
14920         functionally something else.
14921
14922 2006-02-28  Wim Taymans  <wim@fluendo.com>
14923
14924         * docs/design/draft-klass.txt:
14925         Some updates and clarifications.
14926
14927 2006-02-28  Wim Taymans  <wim@fluendo.com>
14928
14929         * docs/design/draft-klass.txt:
14930         Proposal for klass field values.
14931
14932         * docs/design/part-streams.txt:
14933         Start of a doc describing stream anatomy.
14934
14935 2006-02-28  Wim Taymans  <wim@fluendo.com>
14936
14937         * gst/gstbin.c: (gst_bin_get_type), (gst_bin_handle_message_func):
14938         Help the compiler a bit with type registration.
14939         Use existing forward cod path instead of duplicating it when 
14940         handling a message.
14941         
14942         * gst/gstbus.c: (gst_bus_get_type):
14943         * gst/gstcaps.c: (gst_caps_get_type), (gst_static_caps_get_type):
14944         * gst/gstchildproxy.c: (gst_child_proxy_get_type):
14945         * gst/gstclock.c: (gst_clock_get_type):
14946         * gst/gstelement.c: (gst_element_get_type),
14947         * gst/gstelementfactory.c: (gst_element_factory_get_type):
14948         * gst/gstindexfactory.c: (gst_index_factory_get_type):
14949         * gst/gstminiobject.c: (gst_mini_object_get_type):
14950         * gst/gstpad.c: (gst_pad_get_type):
14951         * gst/gstsegment.c: (gst_segment_get_type):
14952         * gst/gststructure.c: (gst_structure_get_type):
14953         * gst/gstsystemclock.c: (gst_system_clock_get_type):
14954         * gst/gsttask.c: (gst_task_get_type), (gst_task_join):
14955         * gst/gstvalue.c:
14956         Help compiler with type registration.
14957
14958         * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event):
14959         Small doc update.
14960
14961 2006-02-27  Tim-Philipp Müller  <tim at centricular dot net>
14962
14963         * plugins/elements/gsttypefindelement.c:
14964         (gst_type_find_element_handle_event):
14965           When we get an EOS event and have not found a type yet
14966           (most likely because we had not yet accumulated
14967           TYPE_FIND_MIN_SIZE of data yet), try to determine the
14968           type given the data we have so far. Fixes typefinding
14969           for very short streams again, most notably quicktime
14970           redirections as used on Apple's trailer site (#331701).
14971
14972 2006-02-27  Tim-Philipp Müller  <tim at centricular dot net>
14973
14974         * libs/gst/base/gsttypefindhelper.c: (type_find_factory_rank_cmp),
14975         (gst_type_find_helper):
14976           Try typefinding factories with the highest rank first.
14977
14978 2006-02-27  Tim-Philipp Müller  <tim at centricular dot net>
14979
14980         * docs/libs/gstreamer-libs-docs.sgml:
14981         * docs/libs/gstreamer-libs-sections.txt:
14982         * libs/gst/base/gsttypefindhelper.c:
14983           Add section for typefind helper and add documentation
14984           for the old and the new function.
14985
14986 2006-02-27  Tim-Philipp Müller  <tim at centricular dot net>
14987
14988         * libs/gst/base/gsttypefindhelper.c: (buf_helper_find_peek),
14989         (buf_helper_find_suggest), (type_find_factory_rank_cmp),
14990         (gst_type_find_helper_for_buffer):
14991         * libs/gst/base/gsttypefindhelper.h:
14992           New API: gst_type_find_helper_for_buffer() (#332723).
14993           
14994 2006-02-27  Michael Smith  <msmith@fluendo.com>
14995
14996         Patch by: Loïc Minier
14997
14998         * configure.ac:
14999         * docs/Makefile.am:
15000         * docs/slides/Makefile.am:
15001           prevent CVS directories getting disted.
15002
15003 2006-02-27  Tim-Philipp Müller  <tim at centricular dot net>
15004
15005         * gst/gstcaps.c: (gst_caps_ref), (gst_caps_unref):
15006           Use the REFCOUNTING category for caps refcounting.
15007           
15008 2006-02-26  Tim-Philipp Müller  <tim at centricular dot net>
15009
15010         * plugins/elements/gsttypefindelement.c: (stop_typefinding):
15011           This should be 0 not GST_CLOCK_TIME_NONE (see #331701).
15012
15013 2006-02-26  Tim-Philipp Müller  <tim at centricular dot net>
15014
15015         * plugins/elements/gsttypefindelement.c:
15016         (gst_type_find_element_activate):
15017           Use gst_pad_check_pull_range() before _activate_pull()
15018           to avoid unnecessary open/close (see #331690).
15019
15020 2006-02-24  Tim-Philipp Müller  <tim at centricular dot net>
15021
15022         * gst/gstutils.c:
15023           Docs enhancement: make it crystal clear what the
15024           gst_pad_add_*_probe() callbacks should look like.
15025
15026 2006-02-24  Tim-Philipp Müller  <tim at centricular dot net>
15027
15028         * libs/gst/base/gstbasesrc.c:
15029           Document how applications can stop recording from
15030           live sources (see #330996).
15031
15032 2006-02-23  Tim-Philipp Müller  <tim at centricular dot net>
15033
15034         * tests/check/Makefile.am:
15035         * tests/check/libs/basesrc.c: (eos_event_counter),
15036         (basesrc_eos_events_pull), (basesrc_eos_events_push),
15037         (basesrc_eos_events_push_live_op), (basesrc_eos_events_pull_live_op),
15038         (gst_basesrc_suite), (main):
15039           ... and add some tests for the base source EOS stuff.
15040
15041 2006-02-23  Tim-Philipp Müller  <tim at centricular dot net>
15042
15043         * tests/check/gst/gstutils.c: (test_buffer_probe_n_times):
15044           Test case originally showed the problem fixed below,
15045           but was then amended. Add checks back at the place
15046           where they used to be.
15047
15048 2006-02-23  Tim-Philipp Müller  <tim at centricular dot net>
15049
15050         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
15051         (gst_base_src_init), (gst_base_src_loop),
15052         (gst_base_src_activate_push), (gst_base_src_activate_pull),
15053         (gst_base_src_change_state):
15054         * libs/gst/base/gstbasesrc.h:
15055           Don't unconditionally send EOS when going from PAUSED to
15056           READY state, esp. make sure we don't send two EOS events
15057           in some cases (e.g. one when reaching EOS and one when
15058           going from PAUSED to READY). Also, we don't want to send
15059           EOS events when operating in pull mode. However, we do
15060           want to send an EOS event when shutting down a live
15061           source explicitly, for example (fixes #330996).
15062           
15063 2006-02-23  Tim-Philipp Müller  <tim at centricular dot net>
15064
15065         * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
15066           Update src->read_position after a seek when not using mmap.
15067           Fixes #332277, patch by: Renchi Raju <renchi gmail com>
15068
15069 2006-02-21  Jan Schmidt  <thaytan@mad.scientist.com>
15070
15071         * gst/Makefile.am:
15072         * gst/gstparse.h:
15073         * gst/gstutils.c:
15074         * gst/gstutils.h:
15075         Make things work with --disable-parse as they do with 
15076         --disable-load-save - the symbols involved disappear, but the
15077         header is still installed and GST_DISABLE_PARSE is included via
15078         gstconfig.h
15079
15080 2006-02-20  Julien MOUTTE  <julien@moutte.net>
15081
15082         * libs/gst/base/gstbasetransform.c:
15083         (gst_base_transform_change_state): Fix a stupid bug. I was 
15084         sure I compiled that.
15085
15086 2006-02-20  Julien MOUTTE  <julien@moutte.net>
15087
15088         * gst/gstpad.c: (gst_pad_set_blocked_async):
15089         * gst/gstutils.c: (gst_pad_add_data_probe),
15090         (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
15091         (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
15092         (gst_pad_remove_buffer_probe): Make those function act on the
15093         ghostpad target when it's a ghostpad. (Closes #331727)
15094
15095 2006-02-20  Julien MOUTTE  <julien@moutte.net>
15096
15097         * libs/gst/base/gstbasetransform.c:
15098         (gst_base_transform_change_state): Make basetransform reusable.
15099         (Closes #331898)
15100
15101 2006-02-20  Jan Schmidt  <thaytan@mad.scientist.com>
15102
15103         * docs/random/release:
15104         Move the current documentation of how to do a release to the top
15105         of the file.
15106
15107         * gst/gstbin.c: (gst_bin_class_init),
15108         (gst_bin_handle_message_func):
15109         Allow multiple state-recalculation threads. (Closes #328873)
15110
15111 2006-02-19  Julien MOUTTE  <julien@moutte.net>
15112
15113         * gst/gstinfo.h: Add GST_STR_NULL to the second string.
15114         * gst/gstpad.c: (gst_pad_set_event_function),
15115         (gst_pad_set_query_function), (gst_pad_set_query_type_function),
15116         (gst_pad_set_getcaps_function): GST_DEBUG_PAD_NAME evaluates to
15117         2 strings. You can't use the STR_NULL macro on that.
15118
15119 2006-02-19  Sebastien Moutte <sebastien@moutte.net>
15120
15121         * gst/gstpad.c: (gst_pad_set_event_function),
15122         (gst_pad_set_query_function), (gst_pad_set_query_type_function),
15123         (gst_pad_set_getcaps_function)
15124         * gst/parse/grammar.y: (gst_parse_found_pad), (gst_parse_perform_delayed_link)
15125           Fixed NULL pointer used in GST_CAT_DEBUG using GST_STR_NULL macro
15126           So now, we can use --gst-debug-level=5 on Windows
15127         * win32/common/libgstcontroller.def:
15128           Added export of gst_controller_init
15129         * win32/vs6/libgstcontroller.dsp:
15130           Fixed Release post build configuration
15131
15132 2006-02-17  Wim Taymans  <wim@fluendo.com>
15133
15134         * tests/check/gst/gstquery.c: (GST_START_TEST):
15135         Added another check.
15136
15137 2006-02-15  Tim-Philipp Müller  <tim at centricular dot net>
15138
15139         * plugins/elements/gsttypefindelement.c: (find_peek):
15140           We can do peeks at non-zero offsets, as long as they
15141           fall within the buffer we have.
15142
15143 2006-02-15  Jan Schmidt  <thaytan@mad.scientist.com>
15144
15145         * tests/check/Makefile.am:
15146         * tests/check/pipelines/parse-launch.c: (setup_pipeline),
15147         (expected_fail_pipe), (check_pipeline_runs), (GST_START_TEST),
15148         (parse_suite), (main):
15149           Add testsuite for parse launch syntax
15150
15151 2006-02-14  Tim-Philipp Müller  <tim at centricular dot net>
15152
15153         * plugins/elements/gsttypefindelement.c:
15154         (gst_type_find_element_chain):
15155           When typefinding is unsuccessful in the chain function, don't
15156           error out immediately. Only error out with NO_CAPS_FOUND if
15157           the amount of data is at least MAX_TYPEFIND_SIZE bytes,
15158           otherwise simply wait for more data so we can try typefinding
15159           again with more data later. Also, don't attempt to typefind
15160           if we have less than MIN_TYPEFIND_SIZE data available. Overall,
15161           this should improve typefinding from network sources where the
15162           size of the first buffer can be somewhat random.
15163
15164 2006-02-14  Wim Taymans  <wim@fluendo.com>
15165
15166         * docs/gst/gstreamer-sections.txt:
15167         * gst/gstpadtemplate.c:
15168         * gst/gstpadtemplate.h:
15169         Fix padtemplate docs, fixes #328805.
15170
15171 2006-02-14  Wim Taymans  <wim@fluendo.com>
15172
15173         * tools/gst-launch.c: (main):
15174         NO_PREROLL is not an ERROR so don't send confusing messages
15175         to the user.
15176
15177 2006-02-14  Wim Taymans  <wim@fluendo.com>
15178
15179         Patch by: Torsten Schoenfeld
15180
15181         * gst/gstregistry.c: (gst_registry_get_default),
15182         (_gst_registry_cleanup):
15183         Protect default registry with lock and ref/sink it.
15184         Fixes #324818
15185
15186 2006-02-14  Wim Taymans  <wim@fluendo.com>
15187
15188         * gst/gstbuffer.c:
15189         * gst/gstquery.c: (gst_query_list_add_format),
15190         (gst_query_set_formatsv), (gst_query_parse_formats_length),
15191         (gst_query_parse_formats_nth):
15192         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
15193         Docs fixes.
15194
15195 2006-02-14  Wim Taymans  <wim@fluendo.com>
15196
15197         * docs/gst/gstreamer-sections.txt:
15198         Reworked query docs.
15199
15200         * gst/gstquery.c: (gst_query_new_formats),
15201         (gst_query_list_add_format), (gst_query_set_formats),
15202         (gst_query_set_formatsv), (gst_query_parse_formats_length),
15203         (gst_query_parse_formats_nth):
15204         * gst/gstquery.h:
15205         Flesh out formats query, added some new methods.
15206         Fix part of #324398.
15207
15208         * tests/check/gst/gstquery.c: (GST_START_TEST), (gstquery_suite):
15209         Added query creation tests.
15210
15211 2006-02-14  Jan Schmidt  <thaytan@mad.scientist.com>
15212
15213         * gst/gstpad.c: (fixate_value):
15214         Add a default fixation for fraction lists.
15215
15216 2006-02-13  Wim Taymans  <wim@fluendo.com>
15217
15218         * gst/gsttask.c: (gst_task_init), (gst_task_func),
15219         (gst_task_set_lock), (gst_task_start), (gst_task_pause),
15220         (gst_task_join):
15221         * gst/gsttask.h:
15222         Detect and warn for obvious deadlocks. fixes #320340
15223         Fix error case where lock was not released.
15224
15225         * tests/check/Makefile.am:
15226         * tests/check/gst/gsttask.c: (task_func2), (GST_START_TEST),
15227         (task_func), (gst_element_suite), (main):
15228         Add task check.
15229
15230 2006-02-13  Wim Taymans  <wim@fluendo.com>
15231
15232         * docs/gst/gstreamer-sections.txt:
15233         * gst/gstbus.c:
15234         Add new functions to docs.
15235
15236 2006-02-13  Wim Taymans  <wim@fluendo.com>
15237
15238         * docs/design/part-TODO.txt:
15239         Updated TODO list, basesrc supports seeking to non-bytes
15240         formats.
15241
15242         * docs/design/part-element-sink.txt:
15243         Update docs.
15244
15245         * gst/gstbin.c: (bin_replace_message),
15246         (gst_bin_handle_message_func):
15247         * gst/gstbus.c: (gst_bus_post), (gst_bus_pop):
15248         * gst/gstevent.c: (gst_event_finalize):
15249         * gst/gstpad.c: (gst_pad_event_default_dispatch),
15250         (gst_pad_send_event):
15251         Use shiny new _TYPE_NAME macros.
15252
15253         * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range):
15254         Move debug statement up.
15255
15256         * gst/gstelement.c: (gst_element_set_locked_state):
15257         Add some debugging.
15258
15259 2006-02-13  Tim-Philipp Müller  <tim at centricular dot net>
15260
15261         * docs/gst/gstreamer-sections.txt:
15262         * gst/gstmessage.h:
15263         * gst/gstquery.h:
15264           New API: add GST_MESSAGE_TYPE_NAME and GST_QUERY_TYPE_NAME
15265           macros (#330906). Also, document the already existing
15266           GST_QUERY_TYPE macro.
15267
15268 2006-02-13  Wim Taymans  <wim@fluendo.com>
15269
15270         * tests/check/gst/gstutils.c: (data_probe), (buffer_probe),
15271         (event_probe), (GST_START_TEST):
15272         Only events up to the pipeline EOS are counted, there are
15273         some more when going to NULL currently which we don't care
15274         about for now.
15275
15276 2006-02-13  Wim Taymans  <wim@fluendo.com>
15277
15278         * gst/gstpad.c: (gst_pad_send_event):
15279         Correctly check flushing and emit probes. fixes #330125
15280
15281 2006-02-10  Andy Wingo  <wingo@pobox.com>
15282
15283         * gst/gstbus.c (gst_bus_class_init): Declare our private data
15284         structure.
15285         (gst_bus_init): Cache the location of the private data in the
15286         instance structure.
15287         (gst_bus_enable_sync_message_emission) 
15288         (gst_bus_disable_sync_message_emission): Implement new public
15289         functions.
15290         (gst_bus_post): Emit the sync-message signal if the user asked for
15291         it. Fixes #330684.
15292
15293         * gst/gstbus.h (GstBus): Use a padding pointer to cache the
15294         location of the bus-private structure.
15295         (gst_bus_enable_sync_message_emission)
15296         (gst_bus_disable_sync_message_emission): API addition
15297
15298 2006-02-10  Jan Schmidt  <thaytan@mad.scientist.com>
15299
15300         Patch by: Vincent Torri
15301
15302         * docs/pwg/building-boiler.xml:
15303         PWG patch from #326800
15304
15305 2006-02-09  Tim-Philipp Müller  <tim at centricular dot net>
15306
15307         * configure.ac:
15308         * docs/Makefile.am:
15309         * docs/design/Makefile.am:
15310           Dist design docs.
15311
15312 2006-02-08  Jan Schmidt  <thaytan@mad.scientist.com>
15313
15314         * configure.ac:
15315           back to CVS
15316
15317 === release 0.10.3 ===
15318
15319 2006-02-08  Jan Schmidt <thaytan@mad.scientist.com>
15320
15321         * configure.ac:
15322           releasing 0.10.3, "Like a virgin"
15323
15324 2006-02-08  Jan Schmidt  <thaytan@mad.scientist.com>
15325
15326         * configure.ac:
15327           2nd prerelease of 0.10.3
15328           Bump libtool versioning.
15329
15330 2006-02-07  Andy Wingo  <wingo@pobox.com>
15331
15332         * libs/gst/base/gstcollectpads.c (gst_collect_pads_chain): Only
15333         update last_stop if we're in TIME format and the timestamp is
15334         valid.
15335
15336         * libs/gst/base/gstcollectpads.c (gst_collect_pads_event) 
15337         * libs/gst/base/gstbasetransform.c (gst_base_transform_eventfunc): 
15338         * libs/gst/base/gstbasesink.c (gst_base_sink_configure_segment):
15339         If we get a new newsegment with a different format, adapt
15340         accordingly.
15341
15342         * gst/gstclock.c (gst_clock_set_calibration): Accept a numerator
15343         of 0. Not a problem, really.
15344
15345         * libs/gst/base/gstbasesink.c (gst_base_sink_chain_unlocked): Only
15346         warn if sync=true.
15347
15348 2006-02-06  Jan Schmidt  <thaytan@mad.scientist.com>
15349
15350         * configure.ac:
15351           Prelease of 0.10.3
15352
15353 2006-02-06  Sebastien Moutte  <sebastien@moutte.net>
15354
15355         * win32/vs7:
15356           project files updated to the default vs7 configuration
15357         * win32/common/libgstbase.def:
15358         * win32/common/libgstreamer.def:
15359           added new symbols,
15360           removed empty lines,
15361           sorted all exported symbols alphabetically
15362         * win32/common/dirent.c:
15363         * win32/common/dirent.h:
15364         * win32/common/gchar.h:
15365           use windows line end.
15366           
15367 2006-02-06  Tim-Philipp Müller  <tim at centricular dot net>
15368
15369         * libs/gst/base/gstbasesrc.c: (gst_base_src_change_state):
15370           Send EOS event when stopping.
15371
15372 2006-02-06  Tim-Philipp Müller  <tim at centricular dot net>
15373
15374         * docs/README:
15375           Tell folks what to do if the plugin-foobar.xml file
15376           hasn't been generated for a newly-added plugin.
15377
15378 2006-02-05  Julien MOUTTE  <julien@moutte.net>
15379
15380         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
15381         (gst_collect_pads_add_pad), (gst_collect_pads_remove_pad),
15382         (gst_collect_pads_start), (gst_collect_pads_stop),
15383         (gst_collect_pads_event): Collectpads now holds a reference
15384         to the GstPad that was added. Indeed we don't want to look
15385         at pads that might just go away with no warning...
15386
15387 2006-02-05  Julien MOUTTE  <julien@moutte.net>
15388
15389         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
15390         (gst_collect_pads_start), (gst_collect_pads_stop),
15391         (gst_collect_pads_event), (gst_collect_pads_chain):
15392         * libs/gst/base/gstcollectpads.h: Handle flush. Adapted from
15393         Mark Nauwelaerts's patch on bug #328491.
15394
15395 2006-02-04  Tim-Philipp Müller  <tim at centricular dot net>
15396
15397         * tests/check/gst/gstutils.c: (test_parse_bin_from_description),
15398         (gst_utils_suite):
15399           Add some simple tests for gst_parse_bin_from_description() and
15400           gst_bin_find_unconnected_pad() (#329069).
15401
15402 2006-02-04  Tim-Philipp Müller  <tim at centricular dot net>
15403
15404         * tools/gst-launch.c: (event_loop), (main):
15405           Catch errors during preroll (#320084).
15406
15407 2006-02-03  Tim-Philipp Müller  <tim at centricular dot net>
15408
15409         * plugins/elements/gsttypefindelement.c:
15410         (gst_type_find_element_activate):
15411           Post TYPE_NOT_FOUND error message when typefinding
15412           is unsuccessful in the activate function as well.
15413
15414 2006-02-02  Wim Taymans  <wim@fluendo.com>
15415
15416         * docs/design/part-element-sink.txt:
15417         Updated doc.
15418
15419 2006-02-02  Wim Taymans  <wim@fluendo.com>
15420
15421         * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync),
15422         (gst_base_sink_render_object),
15423         (gst_base_sink_queue_object_unlocked):
15424         Only keep track of prerollable items when we are 
15425         prerolling.
15426         Before rendering after preroll, always check if we
15427         have queued items.
15428         Added some more debugging.
15429
15430 2006-02-02  Wim Taymans  <wim@fluendo.com>
15431
15432         * gst/gstelement.c: (gst_element_continue_state),
15433         (gst_element_set_state_func), (gst_element_change_state):
15434         Fixed #326576, been running this for quite some time with
15435         no regressions at all.
15436
15437 2006-02-02  Wim Taymans  <wim@fluendo.com>
15438
15439         * common/gst.supp:
15440         Added more suppressions
15441
15442 2006-02-02  Wim Taymans  <wim@fluendo.com>
15443
15444         * docs/design/part-element-sink.txt:
15445         Updated document.
15446
15447         * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
15448         (gst_base_sink_finalize), (gst_base_sink_preroll_queue_flush),
15449         (gst_base_sink_configure_segment), (gst_base_sink_commit_state),
15450         (gst_base_sink_get_sync_times), (gst_base_sink_wait_clock),
15451         (gst_base_sink_do_sync), (gst_base_sink_render_object),
15452         (gst_base_sink_preroll_object),
15453         (gst_base_sink_queue_object_unlocked),
15454         (gst_base_sink_queue_object), (gst_base_sink_event),
15455         (gst_base_sink_chain_unlocked), (gst_base_sink_chain),
15456         (gst_base_sink_loop), (gst_base_sink_activate_pull),
15457         (gst_base_sink_get_position), (gst_base_sink_change_state):
15458         * libs/gst/base/gstbasesink.h:
15459         Totally refactored matching the design doc.
15460         Use two segments, one to clip incomming buffers and another to
15461         perform sync.
15462         Handle queueing correctly, bypass the queue when playing.
15463         Make EOS cancelable.
15464         Handle errors correctly when operating in pull based mode.
15465
15466         * tests/check/elements/fakesink.c: (GST_START_TEST),
15467         (fakesink_suite):
15468         Added new check for sinks.
15469
15470 2006-02-02  Wim Taymans  <wim@fluendo.com>
15471
15472         * gst/gstsegment.c: (gst_segment_clip):
15473         No reason to refuse to clip when start == -1
15474
15475 2006-02-02  Stefan Kost  <ensonic@users.sf.net>
15476
15477         * docs/README:
15478         * docs/manual/intro-basics.xml:
15479         * docs/manual/intro-preface.xml:
15480         * docs/manual/manual.xml:
15481         * docs/pwg/advanced-dparams.xml:
15482         * docs/pwg/intro-basics.xml:
15483         * docs/pwg/intro-preface.xml:
15484         * docs/pwg/pwg.xml:
15485           describe dparams (controller) for plugins
15486           unify docs a little more
15487
15488 2006-02-02  Tim-Philipp Müller  <tim at centricular dot net>
15489
15490         * docs/gst/gstreamer-sections.txt:
15491         * gst/gstutils.c: (element_find_unconnected_pad),
15492         (gst_bin_find_unconnected_pad), (gst_parse_bin_from_description):
15493         * gst/gstutils.h:
15494           Add new API: gst_parse_bin_from_description() and
15495           gst_bin_find_unconnected_pad() (#329069).
15496
15497 2006-02-01  Stefan Kost  <ensonic@users.sf.net>
15498
15499         * docs/manual/README:
15500           uncover a nasty detail of the docs build
15501
15502 2006-01-31  Wim Taymans  <wim@fluendo.com>
15503
15504         * gst/gstbin.c: (bin_remove_messages), (bin_query_duration_done):
15505         Don't cache duration messages if we're not going to use or
15506         free them.
15507
15508 2006-01-31  Stefan Kost  <ensonic@users.sf.net>
15509
15510         * docs/manual/advanced-dparams.xml:
15511         * docs/pwg/advanced-dparams.xml:
15512           more dparam docs
15513         * gst/gstindex.c:
15514           fix docs
15515         * libs/gst/controller/lib.c: (gst_controller_init):
15516           init just once
15517
15518 2006-01-31  Thomas Vander Stichele  <thomas at apestaart dot org>
15519
15520         * gst/gstelement.c: (gst_element_message_full):
15521           also show file/line/func if no additional debug was given
15522
15523 2006-01-31  Sebastien Moutte  <sebastien@moutte.net>
15524         
15525         * win32/vs7/grammar.vcproj:
15526           activate copy of autogenerated files for Release mode
15527
15528 2006-01-30  Sebastien Moutte  <sebastien@moutte.net>
15529         
15530         * win32/common/libgstreamer.def:
15531           export gst_value_compare
15532
15533 2006-01-30  Jan Schmidt  <thaytan@mad.scientist.com>
15534
15535         * plugins/elements/Makefile.am:
15536         * plugins/elements/gstelements.c:
15537         * plugins/elements/gstfdsink.c: (_do_init),
15538         (gst_fd_sink_base_init), (gst_fd_sink_class_init),
15539         (gst_fd_sink_init), (gst_fd_sink_dispose), (gst_fd_sink_query),
15540         (gst_fd_sink_render), (gst_fd_sink_check_fd), (gst_fd_sink_start),
15541         (gst_fd_sink_stop), (gst_fd_sink_unlock), (gst_fd_sink_update_fd),
15542         (gst_fd_sink_set_property), (gst_fd_sink_uri_get_type),
15543         (gst_fd_sink_uri_get_protocols), (gst_fd_sink_uri_get_uri),
15544         (gst_fd_sink_uri_set_uri), (gst_fd_sink_uri_handler_init):
15545         * plugins/elements/gstfdsink.h:
15546         Port fdsink to 0.10 (patch by Philippe Rouquier) (Fixes #325490)
15547
15548 2006-01-30  Stefan Kost  <ensonic@users.sf.net>
15549
15550         * docs/manual/advanced-dparams.xml:
15551           describe controller
15552         * docs/manual/advanced-position.xml:
15553         * docs/manual/basics-init.xml:
15554         * docs/manual/manual.xml:
15555         * docs/manual/titlepage.xml:
15556         * docs/pwg/pwg.xml:
15557         * docs/pwg/titlepage.xml:
15558           cleanup xml (more to come)
15559         * libs/gst/controller/gstcontroller.c:
15560           fix typo
15561
15562 2006-01-30  Sebastien Moutte  <sebastien@moutte.net>
15563         
15564         * win32/vs6/grammar.dsp:
15565           add autogen of gstmarshal.c,h for Release mode
15566                 
15567 2006-01-30  Wim Taymans  <wim@fluendo.com>
15568
15569         * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
15570         (gst_base_sink_preroll_queue_empty), (gst_base_sink_commit_state),
15571         (gst_base_sink_handle_object), (gst_base_sink_event),
15572         (gst_base_sink_is_prerolled), (gst_base_sink_wait),
15573         (gst_base_sink_do_sync), (gst_base_sink_handle_event),
15574         (gst_base_sink_handle_buffer), (gst_base_sink_set_flushing),
15575         (gst_base_sink_deactivate), (gst_base_sink_activate),
15576         (gst_base_sink_activate_pull), (gst_base_sink_get_position),
15577         (gst_base_sink_query), (gst_base_sink_change_state):
15578         Basesink cleanups, remove some old code.
15579         Handle the case where a subclass can preroll in the render
15580         method (mostly audiosinks).
15581         Handle more events.
15582         Remove some locks around variables that are now protected
15583         with the PREROLL_LOCK (clock_id, flushing, ..).
15584         Optimize position query some more, do correct locking.
15585         Remove old code to push queue in state change, this is not
15586         needed anymore since preroll blocks on all prerollable items 
15587         now.
15588         Almost implemented as described in design doc.
15589
15590 2006-01-30  Wim Taymans  <wim@fluendo.com>
15591
15592         * tests/check/gst/gstbin.c: (GST_START_TEST):
15593         Wait for refcount to settle down before checking.
15594
15595 2006-01-30  Wim Taymans  <wim@fluendo.com>
15596
15597         * docs/design/part-element-sink.txt:
15598         Pseudo code overview of desired sink behaviour regarding
15599         preroll.
15600
15601 2006-01-29  Sebastien Moutte  <sebastien@moutte.net>
15602         * win32/vs6/grammar.dsp:
15603           fix some bugs in Release mode for autogenerated files
15604                 
15605 2006-01-29  Sebastien Moutte  <sebastien@moutte.net>
15606         * win32/common/libgstbase.def:
15607         * win32/common/libgstreamer.def:
15608           export some new symbols: gst_base_src_set_format,
15609           gst_iterator_next, gst_structure_set_valist
15610
15611 2006-01-29  Julien MOUTTE  <julien@moutte.net>
15612
15613         * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked):
15614         Set pad functions unconditionally. Fixes #329105.
15615
15616 2006-01-29  Sebastien Moutte  <sebastien@moutte.net>
15617         * win32/vs8:
15618           add vs8 project files created by Sergey Scobich
15619
15620 2006-01-28  Jan Schmidt  <thaytan@mad.scientist.com>
15621
15622         * gst/gstutils.c: (gst_element_unlink_pads):
15623         Don't leak pad references.
15624
15625         * tests/check/elements/fakesink.c: (GST_START_TEST):
15626         * tests/check/generic/sinks.c: (GST_START_TEST):
15627         * tests/check/generic/states.c: (GST_START_TEST):
15628         * tests/check/gst/gstbin.c: (GST_START_TEST):
15629         * tests/check/gst/gstcaps.c: (GST_START_TEST):
15630         * tests/check/gst/gstelement.c: (GST_START_TEST):
15631         * tests/check/gst/gstghostpad.c: (GST_START_TEST):
15632         * tests/check/gst/gstiterator.c: (GST_START_TEST):
15633         * tests/check/gst/gstvalue.c: (GST_START_TEST):
15634         Fix a bunch of leaks. Make generic/sinks.c
15635         use a bit less cpu by slowing the buffer rate
15636         between fakesrc and fakesink.
15637         
15638 2006-01-27  Stefan Kost  <ensonic@users.sf.net>
15639         * gst/gstcaps.c:
15640         * gst/gstelement.c: (gst_element_send_event):
15641         * gst/gstevent.c:
15642         * gst/gstinfo.c:
15643         * gst/gstiterator.c:
15644         * gst/gstiterator.h:
15645         * gst/gstpad.c: (gst_pad_send_event):
15646         * gst/gststructure.c:
15647         * gst/gsturi.c:
15648         * gst/gstutils.c:
15649         * gst/gstvalue.c:
15650         * libs/gst/base/gstadapter.c:
15651           doc fixes, to link to function, just write gst_cool_function(), don't
15652           prefix with '#'
15653
15654 2006-01-27  Jan Schmidt  <thaytan@mad.scientist.com>
15655
15656         * plugins/elements/gsttee.c: (gst_tee_do_push),
15657         (gst_tee_handle_buffer):
15658         Always prefer an actual return value from a src
15659         pad in place of NOT_LINKED. This means we return
15660         WRONG_STATE when all src pads are WRONG_STATE
15661         instead of NOT_LINKED.
15662
15663         Lock when replacing the last message to prevent
15664         racing with the get_property method.
15665
15666         Add debug output
15667
15668 2006-01-27  Jan Schmidt  <thaytan@mad.scientist.com>
15669
15670         * tests/check/Makefile.am:
15671         * tests/check/gst/gstquery.c: (GST_START_TEST), (gstquery_suite),
15672         (main):
15673         Add a very simple check that should have caught the memleak I fixed
15674         last night (if not for the slice allocator hiding it)
15675
15676 2006-01-27  Jan Schmidt  <thaytan@mad.scientist.com>
15677
15678         * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
15679         (gst_bin_remove_func), (gst_bin_handle_message_func),
15680         (bin_query_duration_fold), (bin_query_generic_fold):
15681         Clean up references to the clock provider when disposed or when
15682         handling a clock-lost message from it.
15683
15684         Unref sinks when performing a query via gst_iterator_fold, as the
15685         gst_bin_iterate_sinks iterator refs each item. (Fixes #323874)
15686
15687         * gst/gstclock.c: (gst_clock_class_init), (gst_clock_dispose),
15688         (gst_clock_set_master):
15689         Drop our reference to the master clock, if any, when we are disposed.
15690
15691         * gst/gsttypefindfactory.c: (gst_type_find_factory_dispose):
15692         Chain up in dispose. 
15693
15694 2006-01-26  Wim Taymans  <wim@fluendo.com>
15695
15696         * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range):
15697         Add some debugging.
15698
15699 2006-01-26  Julien MOUTTE  <julien@moutte.net>
15700
15701         * plugins/elements/gsttee.c: (gst_tee_do_push),
15702         (gst_tee_handle_buffer): Apply patch from #328715. Tee now
15703         handles pad being NOT_LINKED or in WRONG_STATE.
15704
15705 2006-01-26  Stefan Kost  <ensonic@users.sf.net>
15706
15707         * win32/MANIFEST:
15708           more updating
15709
15710 2006-01-26  Stefan Kost  <ensonic@users.sf.net>
15711
15712         * win32/MANIFEST:
15713           remove obsolete entry
15714
15715 2006-01-26  Stefan Kost  <ensonic@users.sf.net>
15716
15717         * docs/gst/gstreamer-sections.txt:
15718         * gst/gstbin.c: (bin_element_is_src), (src_iterator_filter),
15719         (gst_bin_iterate_sources), (gst_bin_send_event):
15720         * gst/gstbin.h:
15721         * gst/gstelement.c: (gst_element_send_event):
15722         * gst/gstevent.c:
15723         * gst/gstpad.c: (gst_pad_send_event):
15724           added code for downstream events, reviewed docs in gstevent.c
15725
15726 2006-01-25  Julien MOUTTE  <julien@moutte.net>
15727
15728         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
15729         We only query position using the clock in the playing state.
15730         Query peer in the other cases.
15731         * win32/common/config.h: Updates.
15732
15733 2006-01-24  Wim Taymans  <wim@fluendo.com>
15734
15735         * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
15736         A clock entry that is scheduled for the exact time of the
15737         clock is still in time.
15738
15739         * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
15740         (gst_base_sink_do_sync):
15741         Add some more debug info.
15742
15743 2006-01-23  Sebastien Moutte  <sebastien@moutte.net>
15744
15745         * win32/vs7:
15746           Add new vs7 project files and solution.
15747
15748 2006-01-23  Sebastien Moutte  <sebastien@moutte.net>
15749
15750         * win32/vs7:
15751           all files removed as they were out-dated.
15752
15753 2006-01-20  Thomas Vander Stichele  <thomas at apestaart dot org>
15754
15755         * docs/random/release:
15756           update notes
15757         * gst/gstbin.c: (gst_bin_init):
15758         * gst/gstbus.c: (gst_bus_new):
15759         * gst/gstbus.h:
15760         * gst/gstpipeline.c: (gst_pipeline_init):
15761           use gst_bus_new(), improve logging, fix docs
15762         * win32/common/config.h:
15763           update for cvs build
15764
15765 2006-01-20  Thomas Vander Stichele  <thomas at apestaart dot org>
15766
15767         * autogen.sh:
15768           up required version of automake to 1.7
15769
15770 2006-01-20  Sebastien Moutte  <sebastien@moutte.net>
15771
15772         * win32/common/libgstreamer.def:
15773           export gst_buffer_is_metadata_writable
15774
15775 2006-01-20  Tim-Philipp Müller  <tim at centricular dot net>
15776
15777         * docs/gst/gstreamer-sections.txt:
15778         * gst/gstevent.h:
15779           Add gst_event_replace() (#327001)
15780
15781 2006-01-20  Wim Taymans  <wim@fluendo.com>
15782
15783         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked):
15784         Make it actually compile too..
15785
15786 2006-01-20  Wim Taymans  <wim@fluendo.com>
15787
15788         * gst/gstcaps.c:
15789         Clarify behaviour of _is_equal() when passing NULL parameters.
15790
15791         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
15792         (gst_pad_set_caps):
15793         Cleanups. Don't unref NULL caps.
15794         When setting the same caps, protect caps of the pad with
15795         proper lock.
15796         Use full functionality of _is_equal() when comparing caps.
15797
15798 2006-01-20  Jan Schmidt  <thaytan@mad.scientist.com>
15799
15800         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_is_collected):
15801         Don't loop infinitely if there are no buffers to present. Partially
15802         fixes #327197, but collectpads is just broken for reusing elements
15803         to do multiple encodes atm.
15804
15805 2006-01-20  Jan Schmidt  <thaytan@mad.scientist.com>
15806
15807         * tools/gst-inspect.c: (print_element_features):
15808         * tools/gst-xmlinspect.c: (main):
15809         URL_HANDLER is not a plugin feature we can search for in
15810         the registry.
15811
15812 2006-01-19  Edward Hervey  <edward@fluendo.com>
15813
15814         * gst/gstelement.c: (gst_element_pads_activate): 
15815         When activating, do src pads first, then sink pads.
15816         When de-activating, do sink pads first, then src pads.
15817
15818 2006-01-19  Jan Schmidt  <thaytan@mad.scientist.com>
15819
15820         * docs/gst/gstreamer-sections.txt:
15821         Add gst_index_add_associationv to the docs
15822
15823 2006-01-19  Jan Schmidt  <thaytan@mad.scientist.com>
15824
15825         * gst/gstevent.c:
15826           Fix docs typo
15827
15828         * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event),
15829         (gst_queue_chain), (gst_queue_push_one), (gst_queue_loop):
15830           Do some refactoring. Doesn't actually change functionality,
15831           but makes landing the DRAIN event easier later.
15832
15833 2006-01-19  Tim-Philipp Müller  <tim at centricular dot net>
15834
15835         * docs/pwg/advanced-scheduling.xml:
15836           Update from 0.9.x to 0.10 API and make example a bit
15837           clearer.
15838
15839 2006-01-19  Jan Schmidt  <thaytan@mad.scientist.com>
15840
15841         * docs/gst/gstreamer-sections.txt:
15842         Add gst_buffer_(is|make)_metadata_writable methods.
15843
15844 2006-01-19  Jan Schmidt  <thaytan@mad.scientist.com>
15845
15846         * docs/design/part-sparsestreams.txt:
15847         Update sparse streams doc, hopefully for greater clarity
15848
15849 2006-01-18  Jan Schmidt  <thaytan@mad.scientist.com>
15850
15851         * docs/design/part-events.txt:
15852         Remove mention of FILLER events.
15853         Add DRAIN event.
15854
15855         * docs/design/part-sparsestreams.txt:
15856         Write some things about using NEWSEGMENT to keep sparse streams
15857         flowing.
15858
15859 2006-01-18  Tim-Philipp Müller  <tim at centricular dot net>
15860
15861         * gst/gstbin.c: (gst_bin_dispose):
15862           Guard gst_object_unref call against a NULL object (dispose
15863           can theoretically be called multiple times).
15864           
15865 2006-01-18  Wim Taymans  <wim@fluendo.com>
15866
15867         * gst/gstbin.c: (gst_bin_element_set_state):
15868         * gst/gstclock.c: (gst_clock_id_wait):
15869         Added some more debug info.
15870
15871         * libs/gst/base/gstadapter.c:
15872         Added more docs.
15873
15874         * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
15875         (gst_base_sink_do_sync), (gst_base_sink_chain):
15876         Added some comments.
15877
15878 2006-01-18  Wim Taymans  <wim@fluendo.com>
15879
15880         * tests/check/Makefile.am:
15881         * tests/check/elements/fakesink.c: (chain_async_buffer),
15882         (chain_async), (chain_async_return), (GST_START_TEST),
15883         (fakesink_suite), (main):
15884         Added fakesink test that checks prerolling and clipping
15885         behaviour.
15886
15887         * tests/check/gst/gstutils.c: (GST_START_TEST):
15888         Make check run faster so that buildbots don't timeout.
15889
15890 2006-01-18  Wim Taymans  <wim@fluendo.com>
15891
15892         * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
15893         (gst_base_sink_do_sync):
15894         Some cleanups.
15895         When the sink finishes blocking on the preroll buffer, it can
15896         immediatly render it instead of rendering when the next buffer
15897         arrives.
15898
15899 2006-01-18  Wim Taymans  <wim@fluendo.com>
15900
15901         * libs/gst/base/gstbasesink.c: (gst_base_sink_set_property),
15902         (gst_base_sink_get_property), (gst_base_sink_do_sync),
15903         (gst_base_sink_chain):
15904         Small cleanups.
15905         GST_ELEMENT_CLOCK and sync are protected with LOCK.
15906         Don't store _last_stop if the buffer is dropped.
15907
15908 2006-01-18  Tim-Philipp Müller  <tim at centricular dot net>
15909
15910         * plugins/elements/gsttypefindelement.c:
15911         (gst_type_find_element_class_init):
15912           'have-type' signal needs to be G_SIGNAL_RUN_FIRST, as it is the
15913           object method handler that sets the caps on the pad and we want
15914           that to happen before we emit the signal (fixes e.g. feeding a
15915           plain text file to decodebin).
15916
15917 2006-01-18  Christian Schaller  <Christian@fluendo.com>
15918
15919         * gst/gstplugin.c: Add MPL and Proprietary as license options
15920
15921 2006-01-18  Andy Wingo  <wingo@pobox.com>
15922
15923         * gst/gstindex.h (gst_index_add_associationv): Add to header. The
15924         symbol was exported before, it appears this was just an oversight.
15925         Fixes #168703.
15926         Patch by: Torsten Schoenfeld <kaffeetisch at gmx.de>
15927
15928         * gst/gstindex.c (gst_index_add_associationv): Changed int in
15929         prototype to gint. OK since this prototype was not in the header.
15930
15931 2006-01-17  Andy Wingo  <wingo@pobox.com>
15932
15933         * gst/gstregistry.c (_gst_registry_remove_cache_plugins): Lock the
15934         registry while we remove plugins.
15935
15936         * tools/gst-inspect.c (print_element_info): Don't unref the
15937         factory arg, that should be the responsibility of whatever code
15938         received the ref. Fixes a double-free when called from
15939         print_element_list via gst-inspect-0.10 -a. Fixes #327324.
15940         (main): Unref the factory if we have one.
15941         (print_element_list): No change -- relies on the
15942         plugin_feature_list_free to free the list of features.
15943
15944 2006-01-17  Jan Schmidt  <thaytan@mad.scientist.com>
15945
15946         * gst/gstbuffer.c: (gst_buffer_is_metadata_writable),
15947         (gst_buffer_make_metadata_writable):
15948         * gst/gstbuffer.h:
15949         * libs/gst/base/gstbasetransform.c:
15950         (gst_base_transform_prepare_output_buf):
15951         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
15952         * tests/check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
15953           Replace gst_buffer_(make|is)_metadata_writable patch now
15954           that the release is out.
15955
15956 2006-01-17  Andy Wingo  <wingo@pobox.com>
15957
15958         * gst/gstregistry.c: Reflow design comment. Update so as to speak
15959         in the present tense without reference to versions.
15960
15961         * gst/gstregistry.c (gst_registry_add_plugin)
15962         (gst_registry_remove_plugin, gst_registry_remove_feature)
15963         (gst_registry_find_feature, gst_registry_get_feature_list)
15964         (gst_registry_get_plugin_list, gst_registry_lookup_feature)
15965         (gst_registry_lookup, gst_registry_scan_path)
15966         (_gst_registry_remove_cache_plugins)
15967         (gst_registry_get_feature_list_by_plugin): Add argument
15968         validation.
15969
15970 === release 0.10.2 ===
15971
15972 2006-01-16  Thomas Vander Stichele <thomas at apestaart dot org>
15973
15974         * configure.ac:
15975           releasing 0.10.2, "If man is five"
15976
15977 2006-01-16  Jan Schmidt  <thaytan@mad.scientist.com>
15978
15979         * gst/gstbuffer.c:
15980         * gst/gstbuffer.h:
15981         * libs/gst/base/gstbasetransform.c:
15982         (gst_base_transform_prepare_output_buf):
15983         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
15984         * tests/check/gst/gstbuffer.c: (gst_test_suite):
15985           Back out patch until after the release.
15986
15987 2006-01-16  Jan Schmidt  <thaytan@mad.scientist.com>
15988
15989         * gst/gstminiobject.c:
15990           Spelling fix in docs.
15991         * ChangeLog - remove conflict indicator
15992
15993 2006-01-16  Jan Schmidt  <thaytan@mad.scientist.com>
15994
15995         Reviewed By: Andy Wingo
15996
15997         * gst/gstbuffer.c: (gst_buffer_is_metadata_writable),
15998         (gst_buffer_make_metadata_writable):
15999         * gst/gstbuffer.h:
16000           Add gst_buffer_(is|make)_metadata_writable as analogues of
16001           gst_buffer_(is|make)_writable.
16002
16003         * libs/gst/base/gstbasetransform.c:
16004         (gst_base_transform_prepare_output_buf):
16005         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
16006           Use name gst_buffer_(is|make)_metadata_writable functions.
16007
16008         * tests/check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
16009           Test gst_buffer_(is|make)_metadata_writable
16010         
16011           (Closes: #324162)
16012
16013 2006-01-14  Thomas Vander Stichele  <thomas at apestaart dot org>
16014
16015         * docs/manual/Makefile.am:
16016           don't do parallel make
16017         * configure.ac:
16018           AC_SUBST HOST_CPU
16019         * win32/common/config.h.in:
16020           add generations for HOST_CPU and GST_MAJORMINOR
16021         * win32/common/config.h:
16022           commit generated result
16023
16024 2006-01-13  Tim-Philipp Müller  <tim at centricular dot net>
16025
16026         * docs/manual/appendix-integration.xml:
16027           Update GNOME integration section to use gst_init_get_option_group()
16028           instead of the old popt stuff (#322911). Also, GNOME applications
16029           should  now use gconf*sink and gconf*src instead of the old gconf
16030           helper lib we had.
16031
16032 2006-01-13  Stefan Kost  <ensonic@users.sf.net>
16033
16034
16035         * docs/gst/gstreamer-docs.sgml:
16036         * docs/gst/gstreamer-sections.txt:
16037         * docs/libs/gstreamer-libs-sections.txt:
16038           add new API entries to the docs
16039         * libs/gst/controller/Makefile.am:
16040         * libs/gst/controller/gstcontroller.c:
16041         * libs/gst/controller/gstcontroller.h:
16042         * libs/gst/controller/gstcontrollerprivate.h:
16043         * libs/gst/controller/gsthelper.c:
16044         * libs/gst/controller/gstinterpolation.c:
16045           move private structs to private header
16046         * po/README:
16047           gstreamer-0.7 -> gstreamer-0.10
16048         * tests/check/libs/struct_i386.h:
16049           remove private structs
16050
16051 2006-01-13  Thomas Vander Stichele  <thomas at apestaart dot org>
16052
16053         * plugins/indexers/Makefile.am:
16054           Fixes as part of #317048
16055
16056 2006-01-13  Thomas Vander Stichele  <thomas at apestaart dot org>
16057
16058         * plugins/indexers/Makefile.am:
16059           fix #316086 - compilation when mmap is missing
16060
16061 2006-01-12  Sebastien Moutte  <sebastien@moutte.net>
16062
16063         * libs/gst/base/gstbasesink.c:
16064           *cur = (now - base) * basesink->segment.abs_rate + time; replaced by 
16065           *cur = gst_guint64_to_gdouble(now - base) * basesink->segment.abs_rate + time; for vs6
16066         * win32/common/config.h:
16067           added some defines GST_MAJORMINOR and HOST_CPU
16068         * win32/common/libgstbase.def:
16069         * win32/common/libgstreamer.def:
16070           added some exported functions.
16071
16072 2006-01-12  Stefan Kost  <ensonic@users.sf.net>
16073
16074         * libs/gst/controller/gstcontroller.c:
16075         (gst_controlled_property_set_interpolation_mode),
16076         (gst_controlled_property_new):
16077         * libs/gst/controller/gstcontroller.h:
16078         * libs/gst/controller/gstinterpolation.c:
16079         (interpolate_none_get_string_value_array):
16080           make G_TYPE_STRING controlable
16081
16082 2006-01-12  Stefan Kost  <ensonic@users.sf.net>
16083
16084         * tools/README:
16085         * tools/gst-feedback.1.in:
16086         * tools/gst-inspect.1.in:
16087         * tools/gst-launch.1.in:
16088         * tools/gst-md5sum.1.in:
16089         * tools/gst-typefind.1.in:
16090         * tools/gst-xmlinspect.1.in:
16091         * tools/gst-xmllaunch.1.in:
16092           cleanup man-pages, remove reference to gst-register, document env-vars
16093
16094 2006-01-12  Jan Schmidt  <thaytan@mad.scientist.com>
16095
16096         * gst/gstbuffer.c: (gst_buffer_span):
16097           gst_buffer_span should copy the timestamp of the first buffer
16098           if they were both originally overlapping subbuffers of the 
16099           same parent, using the same logic as the 'slow copy' case.
16100
16101 2006-01-11  Jan Schmidt  <thaytan@mad.scientist.com>
16102
16103         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_pop):
16104           Need to awaken ALL the pads when we pop a buffer, otherwise
16105           collectpads only works when there is 2 input streams.
16106
16107 2006-01-11  Stefan Kost  <ensonic@users.sf.net>
16108
16109         * docs/random/ensonic/media-device-daemon.txt:
16110           more ideas (dbus)
16111         * gst/gstbuffer.c:
16112           fix doc example, add clarification
16113         * tools/gst-launch.1.in:
16114           add initial info about GST_PLUGIN_PATH, needs more work
16115
16116 2006-01-11  Tim-Philipp Müller  <tim at centricular dot net>
16117
16118         * docs/manual/basics-bins.xml:
16119         * docs/manual/basics-elements.xml:
16120         * docs/manual/intro-basics.xml:
16121           Some more minor docs additions and updates.
16122
16123 2006-01-11  Wim Taymans  <wim@fluendo.com>
16124
16125         * docs/manual/basics-bins.xml:
16126         * docs/manual/basics-elements.xml:
16127         Some small fixes as pointed out by Ser-ver on IRC.
16128
16129 2006-01-10  Edward Hervey  <edward@fluendo.com>
16130
16131         * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
16132         Set the buffer offset/offset_end to GST_CLOCK_TIME_NONE when using
16133         the single-segment mode.
16134
16135 2006-01-10  Brian Cameron  <brian dot cameron at sun dot com>
16136
16137         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
16138
16139         * libs/gst/base/gstbasesrc.c: (gst_base_src_init),
16140         (gst_base_src_perform_seek), (gst_base_src_send_event),
16141         (gst_base_src_set_property), (gst_base_src_get_property),
16142         (gst_base_src_loop), (gst_base_src_start),
16143         (gst_base_src_activate_push):
16144         * libs/gst/base/gstbasesrc.h:
16145           Name (private) union; makes Sun's Forte compiler happy (#324900).
16146
16147 2006-01-09  Tim-Philipp Müller  <tim at centricular dot net>
16148
16149         * README:
16150           gst-register is gone.
16151
16152 2006-01-07  Thomas Vander Stichele  <thomas at apestaart dot org>
16153
16154         * gst/gstvalue.c: (_gst_value_initialize):
16155           make the G_TYPE_DATE instantiation work if debug is disabled
16156
16157 2006-01-06  Tim-Philipp Müller  <tim at centricular dot net>
16158
16159         * gst/gstmessage.c: (gst_message_parse_tag),
16160         (gst_message_parse_error), (gst_message_parse_warning):
16161           Don't crash when return location for error/warning debug
16162           string is NULL; add fact that return locations can be
16163           NULL to docs where appropriate.
16164
16165 2006-01-05  Wim Taymans  <wim@fluendo.com>
16166
16167         * gst/gstplugin.c: (gst_plugin_load_file):
16168         Replace strdup by g_strdup.
16169
16170 2006-01-05  Thomas Vander Stichele  <thomas at apestaart dot org>
16171
16172         * docs/pwg/advanced-types.xml:
16173           fix doc borkage
16174
16175 2006-01-05  Thomas Vander Stichele  <thomas at apestaart dot org>
16176
16177         submitted by: Abel Cheung
16178
16179         * po/LINGUAS:
16180         * po/zh_TW.po:
16181           Added Chinese (traditional) translation
16182
16183 2006-01-04  Wim Taymans  <wim@fluendo.com>
16184
16185         * docs/manual/basics-pads.xml:
16186         * docs/plugins/Makefile.am:
16187         * docs/plugins/gstreamer-plugins-docs.sgml:
16188         * docs/plugins/gstreamer-plugins-sections.txt:
16189         * docs/pwg/advanced-clock.xml:
16190         * docs/pwg/advanced-scheduling.xml:
16191         * docs/pwg/advanced-types.xml:
16192         * plugins/elements/gstfdsink.c:
16193         * plugins/elements/gstfdsrc.c:
16194         * plugins/elements/gstfdsrc.h:
16195         * plugins/elements/gstidentity.c: (gst_identity_class_init):
16196         * plugins/elements/gstidentity.h:
16197         * plugins/elements/gstqueue.h:
16198         * plugins/elements/gsttee.c:
16199         * plugins/elements/gsttee.h:
16200         * plugins/elements/gsttypefindelement.c:
16201         (gst_type_find_element_class_init):
16202         * plugins/elements/gsttypefindelement.h:
16203         Small updates to various docs.
16204         Added core plugins to docs.
16205
16206 2006-01-03  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
16207
16208         * common/gst.supp:
16209           add a suppression for liboil's uninitialized variable
16210
16211 2006-01-02  James Livingston  <jrl at ids dot org dot au>
16212
16213         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
16214
16215         * gst/gstutils.h:
16216           Add prototype for _get_type() function to GST_BOILERPLATE_FULL
16217           macro, so that gcc doesn't complain if the -Wmissing-prototypes
16218           compiler switch is being used (#325429).
16219
16220 2005-12-29  Tim-Philipp Müller  <tim at centricular dot net>
16221
16222         * gst/gstbin.c: (gst_bin_query):
16223           Disable duration query caching in bins until it gets
16224           fixed (see #324807).
16225
16226 2005-12-27  Tim-Philipp Müller  <tim at centricular dot net>
16227
16228         * tools/gst-inspect.c: (print_element_properties_info):
16229           Handle properties of POINTER and BOXED type.
16230
16231 2005-12-27  Tim-Philipp Müller  <tim at centricular dot net>
16232
16233         * gst/gst.c: (init_post):
16234           Init tags stuff and some other things before loading
16235           any static plugins (there may be other static plugins
16236           than just the GStreamer ones, and they may want to
16237           register their own tags or formats or whatever, and
16238           preferably without segfaulting).
16239
16240         * plugins/elements/gstqueue.c: (gst_queue_handle_src_query):
16241           Print at least a warning in the debug logs if we drop a
16242           query just because we don't know how to adjust the value
16243           in the particular format.
16244
16245 2005-12-24  David Schleef  <ds@schleef.org>
16246
16247         * tools/gstreamer-completion:
16248           Replacement for gst-complete written in sh and sed.  Only
16249           completes names of features, but that's 90% of what I want
16250           it for.  Properties are not available in registry.xml.  (Maybe
16251           they should be...)
16252
16253 === release 0.10.1 ===
16254
16255 2005-12-23  Thomas Vander Stichele <thomas at apestaart dot org>
16256
16257         * configure.ac:
16258           releasing 0.10.1, "Nollaig chridheil"
16259
16260 2005-12-22  Tim-Philipp Müller  <tim at centricular dot net>
16261
16262         * docs/faq/cvs.xml:
16263           Add missing quote, should be make ERROR_CFLAGS="".
16264
16265 2005-12-20  Wim Taymans  <wim@fluendo.com>
16266
16267         * docs/design/part-trickmodes.txt:
16268         More documentation on trickmodes.
16269
16270 2005-12-20  Edward Hervey  <edward@fluendo.com>
16271
16272         * gst/gstcaps.c: (gst_static_caps_get_type):
16273         * gst/gstcaps.h:
16274           API addition: GST_TYPE_STATIC_CAPS
16275         Added gpointer GType for GstStaticCaps so we can wrap them in bindings.
16276         * gst/gstpadtemplate.c: (gst_static_pad_template_get_type):
16277         * gst/gstpadtemplate.h:
16278           API addition: GST_TYPE_STATIC_PAD_TEMPLATE
16279         Added gpointer GType for GstStaticPadTemplate so we can wrap them in
16280         bindings.
16281
16282 2005-12-18  Wim Taymans  <wim@fluendo.com>
16283
16284         * libs/gst/base/gstadapter.c:
16285         * libs/gst/base/gstadapter.h:
16286         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
16287         (gst_base_sink_get_position):
16288         * libs/gst/base/gstbasesink.h:
16289         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
16290         (gst_base_src_default_query), (gst_base_src_default_do_seek),
16291         (gst_base_src_do_seek), (gst_base_src_perform_seek),
16292         (gst_base_src_send_event), (gst_base_src_update_length),
16293         (gst_base_src_get_range), (gst_base_src_loop),
16294         (gst_base_src_start):
16295         * libs/gst/base/gstbasesrc.h:
16296         * libs/gst/base/gstbasetransform.h:
16297         * libs/gst/base/gstcollectpads.h:
16298         * libs/gst/base/gstpushsrc.c:
16299         * libs/gst/base/gstpushsrc.h:
16300         * libs/gst/dataprotocol/dataprotocol.c:
16301         * libs/gst/dataprotocol/dataprotocol.h:
16302         * libs/gst/net/gstnetclientclock.h:
16303         * libs/gst/net/gstnettimeprovider.h:
16304         Documentation updates.
16305
16306 2005-12-18  Tim-Philipp Müller  <tim at centricular dot net>
16307
16308         * docs/manual/basics-helloworld.xml:
16309           Remove superfluous closing bracket in helloworld example.
16310
16311 2005-12-17  Tim-Philipp Müller  <tim at centricular dot net>
16312
16313         * tools/gst-launch.1.in:
16314           Update gst-launch man page; add a section with useful
16315           environment variables. Fixes #323882.
16316
16317 2005-12-16  Stefan Kost  <ensonic@users.sf.net>
16318
16319         * gst/gst.c:
16320         * gst/gst_private.h:
16321           change some char* into char[]
16322
16323 2005-12-16  Wim Taymans  <wim@fluendo.com>
16324
16325         * gst/gstregistryxml.c: (load_feature):
16326         Cleanups.
16327         Don't use g_object_unref on GstObjects so that we avoid
16328         leaks on unsafe glibs.
16329
16330 2005-12-16  Wim Taymans  <wim@fluendo.com>
16331
16332         * gst/gstbin.c: (gst_bin_recalc_state):
16333         Small doc updates.
16334
16335 2005-12-16  Wim Taymans  <wim@fluendo.com>
16336
16337         * common/check.mak:
16338         Added make forever target for check.
16339
16340 2005-12-16  Thomas Vander Stichele  <thomas at apestaart dot org>
16341
16342         * gst/gst.c: (init_post):
16343           make the registry cache file HOST_CPU-dependent
16344
16345 2005-12-16  Andy Wingo  <wingo@pobox.com>
16346
16347         * plugins/elements/gstbufferstore.c
16348         (gst_buffer_store_cleared_func): Pay attention to g_list_append
16349         return value.
16350
16351         * tests/check/gst/gstobject.c
16352         (test_fake_object_name_threaded_unique): Pay attention to
16353         g_list_sort return value.
16354
16355 2005-12-16  Tim-Philipp Müller  <tim at centricular dot net>
16356
16357         * tools/gst-feedback-m.m:
16358           Update for 0.9/0.10 (fixes #323870).
16359
16360 2005-12-15  Tim-Philipp Müller  <tim at centricular dot net>
16361
16362         * gst/gstminiobject.c: (gst_value_mini_object_lcopy):
16363           Fix lcopy for mini objects, the mini object needs to be ref'ed.
16364           
16365         * tests/check/gst/gstminiobject.c: (my_foo_init),
16366         (my_foo_get_property), (my_foo_set_property), (my_foo_class_init),
16367         (test_value_collection), (gst_mini_object_suite):
16368           Add test to ensure refcounts end up as expected when passing
16369           GstMiniObjects through g_object_get() and g_object_set().
16370
16371 2005-12-14  Julien MOUTTE  <julien@moutte.net>
16372
16373         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
16374         (gst_collect_pads_remove_pad), (gst_collect_pads_is_collected),
16375         (gst_collect_pads_event), (gst_collect_pads_chain): Refactoring
16376         of collectpads. This version removes a lot of races without
16377         touching API/ABI. Yay !
16378
16379 2005-12-14  Jan Schmidt  <thaytan@mad.scientist.com>
16380
16381         * gst/gstpad.c: (gst_pad_activate_pull), (gst_pad_link_prepare):
16382           Don't allow activation of a srcpad in pull_range if it has no
16383           getrange function.
16384           Change some debug statements to be a little clearer
16385
16386         * plugins/elements/gsttypefindelement.c:
16387         (gst_type_find_handle_src_query):
16388           Check that we have a peer before executing queries thereupon.
16389
16390         * tests/examples/metadata/read-metadata.c: (message_loop):
16391           Use gst_bus_pop instead of gst_bus_poll when we just want it to
16392           immediately return us any available message with 0 timeout.
16393
16394 2005-12-12  Michael Smith  <msmith@fluendo.com>
16395
16396         * gst/gsttypefindfactory.c: (gst_type_find_factory_call_function):
16397           Don't unref factories after calling them.
16398         * libs/gst/base/gsttypefindhelper.c: (gst_type_find_helper):
16399         * plugins/elements/gsttypefindelement.c:
16400         (gst_type_find_element_chain):
16401           Free lists of factories after using them. Fixing typefinding memory
16402           leaks.
16403
16404 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
16405
16406         * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
16407         (gst_plugin_feature_load):
16408           more meaningful debug output
16409         * configure.ac:
16410         * tests/Makefile.am:
16411         * tests/old/examples/Makefile.am:
16412           make make distcheck happy again
16413
16414 2005-12-12  Tim-Philipp Müller  <tim at centricular dot net>
16415
16416         * plugins/elements/gsttypefindelement.c: (stop_typefinding):
16417           Catch the special case where we are operating chain-based,
16418           but the downstream peer pad has no chain function. Emit a
16419           custom error message in this case instead of letting the
16420           core generate one implying that this is some sort of core
16421           bug. It's not, it just means that whatever got plugged
16422           into the pipeline downstream when we announced the type
16423           can only operate pull-based, while our source can only
16424           operate push-based (e.g. http://foo/bar.mov ! qtdemux ! ...)
16425           Error string has not been marked for translation yet, as
16426           it probably needs some more work first.
16427
16428         (gst_type_find_element_get_best_possibility):
16429           Add helper function to find the best of all available
16430           found possibilities that qualify given the min. threshold.
16431
16432         (gst_type_find_element_handle_event):
16433           Fix the case where we get an EOS while still in TYPEFIND
16434           mode (we want to chose the best of all possible types,
16435           not just the first type that happens to be in our unsorted
16436           list of possible types).
16437
16438         (gst_type_find_element_chain):
16439           Make sure we return GST_FLOW_ERROR when we errored out
16440           in stop_typefinding(); also, don't just find the best of
16441           all found type entries and then use the last examined
16442           type entry, but actually use the best entry.
16443
16444 2005-12-12  Tim-Philipp Müller  <tim at centricular dot net>
16445
16446         * tests/examples/typefind/typefind.c: (type_found):
16447         * tests/examples/xml/runxml.c: (xml_loaded):
16448           More gcc4 fixes and a mem leak fix.
16449
16450 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
16451
16452         * tests/examples/xml/createxml.c: (object_saved):
16453           gcc 4 fixes
16454
16455 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
16456
16457         * tests/Makefile.am:
16458           enable the examples even more
16459
16460 2005-12-12  Andy Wingo  <wingo@pobox.com>
16461
16462         * libs/gst/net/gstnettimeprovider.c
16463         (gst_net_time_provider_class_init, gst_net_time_provider_init)
16464         (gst_net_time_provider_set_property)
16465         (gst_net_time_provider_get_property):
16466         API addition: Export "active" as a GObject property.
16467         (gst_net_time_provider_thread): Only respond to time queries if
16468         the time provider is active.
16469
16470         * libs/gst/net/gstnettimeprovider.h: Add an "active" boolean to
16471         NetTimeProvider, preserving binary compat.
16472
16473 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
16474
16475         * tests/examples/controller/audio-example.c: (main):
16476         * tests/examples/launch/Makefile.am:
16477           convert comments again
16478
16479 2005-12-12  Wim Taymans  <wim@fluendo.com>
16480
16481         * libs/gst/base/gstpushsrc.c:
16482         Fix typo.
16483
16484 2005-12-12  Wim Taymans  <wim@fluendo.com>
16485
16486         * docs/libs/gstreamer-libs-sections.txt:
16487         Added new symbol to docs.
16488
16489         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
16490         (gst_base_src_init), (gst_base_src_set_format),
16491         (gst_base_src_default_query), (gst_base_src_query),
16492         (gst_base_src_default_do_seek), (gst_base_src_do_seek),
16493         (gst_base_src_perform_seek), (gst_base_src_send_event),
16494         (gst_base_src_default_event), (gst_base_src_event_handler),
16495         (gst_base_src_set_property), (gst_base_src_get_property),
16496         (gst_base_src_wait), (gst_base_src_do_sync),
16497         (gst_base_src_update_length), (gst_base_src_get_range),
16498         (gst_base_src_check_get_range), (gst_base_src_loop),
16499         (gst_base_src_default_negotiate), (gst_base_src_start),
16500         (gst_base_src_activate_push), (gst_base_src_activate_pull),
16501         (gst_base_src_change_state):
16502         * libs/gst/base/gstbasesrc.h:
16503         Implement seeking to other formats than _BYTES.
16504         Implement more seeking methods correctly.
16505         Doc updates.
16506         Added query vmethod.
16507         Added do_seek vmethod to make life easier for subclasses
16508         when seeking.
16509         API addition: gst_base_src_set_format()
16510
16511 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
16512
16513         * tests/examples/Makefile.am:
16514           added that too
16515
16516 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
16517
16518         * configure.ac:
16519         * docs/random/ensonic/media-device-daemon.txt:
16520         * tests/examples/controller/.cvsignore:
16521         * tests/examples/controller/Makefile.am:
16522         * tests/examples/controller/audio-example.c: (main):
16523         * tests/examples/helloworld/.cvsignore:
16524         * tests/examples/helloworld/Makefile.am:
16525         * tests/examples/helloworld/helloworld.c: (event_loop), (main):
16526         * tests/examples/launch/.cvsignore:
16527         * tests/examples/launch/Makefile.am:
16528         * tests/examples/launch/mp3parselaunch.c: (event_loop), (main):
16529         * tests/examples/metadata/.cvsignore:
16530         * tests/examples/metadata/Makefile.am:
16531         * tests/examples/metadata/read-metadata.c: (message_loop),
16532         (make_pipeline), (print_tag), (main):
16533         * tests/examples/queue/.cvsignore:
16534         * tests/examples/queue/Makefile.am:
16535         * tests/examples/queue/queue.c: (event_loop), (main):
16536         * tests/examples/typefind/.cvsignore:
16537         * tests/examples/typefind/Makefile.am:
16538         * tests/examples/typefind/typefind.c: (type_found), (event_loop),
16539         (main):
16540         * tests/examples/xml/.cvsignore:
16541         * tests/examples/xml/Makefile.am:
16542         * tests/examples/xml/createxml.c: (object_saved), (main):
16543         * tests/examples/xml/runxml.c: (xml_loaded), (event_loop), (main):
16544         * tests/old/examples/Makefile.am:
16545         * tests/old/examples/TODO:
16546         * tests/old/examples/controller/.cvsignore:
16547         * tests/old/examples/controller/Makefile.am:
16548         * tests/old/examples/controller/audio-example.c:
16549         * tests/old/examples/helloworld/.cvsignore:
16550         * tests/old/examples/helloworld/Makefile.am:
16551         * tests/old/examples/helloworld/helloworld.c:
16552         * tests/old/examples/launch/.cvsignore:
16553         * tests/old/examples/launch/Makefile.am:
16554         * tests/old/examples/launch/mp3parselaunch.c:
16555         * tests/old/examples/launch/mp3play:
16556         * tests/old/examples/manual/Makefile.am:
16557         * tests/old/examples/metadata/Makefile.am:
16558         * tests/old/examples/metadata/read-metadata.c:
16559         * tests/old/examples/queue/.cvsignore:
16560         * tests/old/examples/queue/Makefile.am:
16561         * tests/old/examples/queue/queue.c:
16562         * tests/old/examples/typefind/.cvsignore:
16563         * tests/old/examples/typefind/Makefile.am:
16564         * tests/old/examples/typefind/typefind.c:
16565         * tests/old/examples/xml/.cvsignore:
16566         * tests/old/examples/xml/Makefile.am:
16567         * tests/old/examples/xml/createxml.c:
16568         * tests/old/examples/xml/runxml.c:
16569           applied some simple fixing to some examples
16570           re-enabled the working examples
16571
16572 2005-12-12  Wim Taymans  <wim@fluendo.com>
16573
16574         * gst/gstsegment.c: (gst_segment_init),
16575         (gst_segment_set_last_stop), (gst_segment_set_seek),
16576         (gst_segment_set_newsegment), (gst_segment_to_stream_time),
16577         (gst_segment_to_running_time):
16578         Added more documentation.
16579         Make sure the last_pos value is updated properly.
16580         Make sure to_stream_time and to_running_time don't
16581         operate on wrong values.
16582
16583         * tests/check/gst/gstsegment.c: (GST_START_TEST):
16584         Update check.
16585
16586 2005-12-12  Michael Smith  <msmith@fluendo.com>
16587
16588         * plugins/elements/gsttypefindelement.c: (free_entry),
16589         (gst_type_find_element_chain):
16590           Now that we're not leaking factories, make sure we keep references
16591           to them while we need them.
16592
16593 2005-12-12  Thomas Vander Stichele  <thomas at apestaart dot org>
16594
16595         * tests/check/gst/struct_i386.h:
16596           ifdef out the XML structs
16597
16598 2005-12-12  Thomas Vander Stichele  <thomas at apestaart dot org>
16599
16600         * gst/gstvalue.c: (gst_value_transform_double_fraction):
16601           floor is not needed, F is always positive; this obviates the
16602           need for adding -lm when building without libxml
16603
16604 2005-12-12  Wim Taymans  <wim@fluendo.com>
16605
16606         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
16607         Take current playback rate into account when reporting
16608         the position.
16609
16610 2005-12-11  Tim-Philipp Müller  <tim at centricular dot net>
16611
16612         * docs/manual/mime-world.fig:
16613           Let's try this again, this time with a file that is
16614           actually in XFig format.
16615
16616 2005-12-11  Tim-Philipp Müller  <tim at centricular dot net>
16617
16618         * docs/manual/mime-world.fig:
16619           Add audioconvert element to diagram so that it
16620           matches the text and the code (fixes #319526).
16621
16622 2005-12-11  Tim-Philipp Müller  <tim at centricular dot net>
16623
16624         * docs/pwg/building-chainfn.xml:
16625         * docs/pwg/building-pads.xml:
16626         * docs/pwg/building-state.xml:
16627         * docs/pwg/other-source.xml:
16628           Update state change stuff for 0.10 (fixes #322969).
16629
16630 2005-12-11  Tim-Philipp Müller  <tim at centricular dot net>
16631
16632         * docs/manual/advanced-dataaccess.xml:
16633         * docs/manual/appendix-checklist.xml:
16634         * docs/manual/appendix-programs.xml:
16635         * docs/manual/basics-pads.xml:
16636         * docs/manual/highlevel-components.xml:
16637         * docs/manual/manual.xml:
16638           Update for 0.10: s/0.9/0.10/; s/audioscale/audiorsample/;
16639           add converters in front of pipelines; remove curly
16640           brackets for threads stuff, they no longer exist; use
16641           GST_TYPE_FRACTION for framerates; update some pieces of
16642           code to 0.10, but there's plenty more to do.
16643
16644         * docs/manual/appendix-porting.xml:
16645           Expand on asynchroneous state changes; s/0.9/0.10/;
16646           mention disappearance of gst_init_get_popt_table()
16647           (fixes #322916).
16648
16649 2005-12-11  Tim-Philipp Müller  <tim at centricular dot net>
16650
16651         * docs/faq/using.xml:
16652           Spider no longer exists, and neither does gst-launch-ext.
16653           Update examples to use decodebin and playbin and put
16654           converters in front of sinks (fixes #323726).
16655
16656 2005-12-09  Michael Smith  <msmith@fluendo.com>
16657
16658         * plugins/elements/gsttypefindelement.c: (find_peek),
16659         (gst_type_find_element_chain):
16660           Fix leaking element factories in typefinding.
16661           Fix problem where we forgot about a probable type on non-seekable
16662           files, and thus later mis-typefound it.
16663
16664 2005-12-09  Michael Smith  <msmith@fluendo.com>
16665
16666         * common/m4/gst-makecontext.m4:
16667         * common/m4/gst-mcsc.m4:
16668         * configure.ac:
16669         * win32/common/config.h:
16670         * win32/common/config.h.in:
16671           Remove makecontext stuff; not used in 0.10 and causes problems on
16672           HPUX according to bug #322441
16673
16674 2005-12-07  Wim Taymans  <wim@fluendo.com>
16675
16676         * tests/check/Makefile.am:
16677         * tests/check/libs/libsabi.c: (GST_START_TEST), (gstabi_suite),
16678         (main):
16679         * tests/check/libs/struct_i386.h:
16680         Added ABI check for libs
16681
16682 2005-12-07  Wim Taymans  <wim@fluendo.com>
16683
16684         * tests/check/Makefile.am:
16685         And add the struct_i386.h to dist.
16686
16687 2005-12-07  Wim Taymans  <wim@fluendo.com>
16688
16689         * tests/check/Makefile.am:
16690         * tests/check/gst/.cvsignore:
16691         * tests/check/gst/gstabi.c: (GST_START_TEST), (gstabi_suite),
16692         (main):
16693         * tests/check/gst/struct_i386.h:
16694         Added check for ABI compatibility.
16695
16696 2005-12-07  Wim Taymans  <wim@fluendo.com>
16697
16698         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
16699         (gst_fake_src_get_times), (gst_fake_src_create):
16700         Fix broken sync option, fixes #323259
16701
16702 2005-12-07  Wim Taymans  <wim@fluendo.com>
16703
16704         * gst/gstbuffer.c:
16705         Small docs update.
16706
16707         * gst/gstcaps.c: (gst_caps_is_equal):
16708         Don't assert on NULL <--> X. Fixes #323260
16709
16710         * gst/gstminiobject.c: (gst_mini_object_replace):
16711         If we're doing atomic operations, we might just as well use
16712         the proper way to get an atomic pointer.
16713
16714         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
16715         Clean up debugging.
16716
16717 2005-12-07  Michael Smith  <msmith@fluendo.com>
16718
16719         * gst/parse/grammar.y:
16720           Remove handling of { } for threads.
16721
16722 2005-12-06  David Schleef  <ds@schleef.org>
16723
16724         * libs/gst/base/gstbasetransform.c: speling fix.
16725
16726 2005-12-06  Thomas Vander Stichele  <thomas at apestaart dot org>
16727
16728         * docs/libs/tmpl/gstdataprotocol.sgml:
16729         * docs/random/omega/testing/gstobject.c:
16730         * gst/gst.c:
16731         * gst/gstclock.c:
16732         * gst/gstelement.c:
16733         * gst/gstelementfactory.c:
16734         * gst/gsterror.c:
16735         * gst/gstevent.c:
16736         * gst/gstghostpad.c:
16737         * gst/gstinfo.c:
16738         * gst/gstpadtemplate.c:
16739         * gst/gstregistryxml.c:
16740         * gst/gsttaglist.c:
16741         * gst/gsttagsetter.c:
16742         * gst/gsttypefind.c:
16743         * gst/gstvalue.c:
16744         * libs/gst/base/gstbasesrc.c:
16745         * libs/gst/net/gstnetclientclock.c:
16746         * libs/gst/net/gstnettimeprovider.c:
16747         * plugins/elements/gstfakesrc.c:
16748         * plugins/elements/gstfdsrc.c:
16749         * plugins/elements/gstfilesrc.c:
16750         * plugins/elements/gstidentity.c:
16751         * plugins/elements/gstqueue.c:
16752         * plugins/elements/gsttypefindelement.c:
16753         * plugins/indexers/gstfileindex.c:
16754         * plugins/indexers/gstmemindex.c:
16755         * tests/check/gst/gsttag.c:
16756         * tests/old/examples/cutter/cutter.c:
16757         * tests/old/examples/mixer/mixer.c:
16758         * tests/old/examples/xml/runxml.c: (main):
16759         * tests/old/testsuite/caps/normalisation.c:
16760         * tests/old/testsuite/debug/global.c:
16761         * tests/old/testsuite/parse/parse1.c:
16762         * tools/gst-xmlinspect.c:
16763         * win32/common/dirent.c:
16764           expand tabs
16765
16766 === release 0.10.0 ===
16767
16768 2005-12-05  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
16769
16770         * configure.ac:
16771           releasing 0.10.0, "Maroilles"
16772
16773 2005-12-05  Thomas Vander Stichele  <thomas at apestaart dot org>
16774
16775         submitted by: Funda Wang <fundawang@linux.net.cn>
16776
16777         * po/LINGUAS:
16778         * po/zh_CN.po:
16779           added Chinese (Traditional) translation
16780
16781 2005-12-05  Thomas Vander Stichele  <thomas at apestaart dot org>
16782
16783         * docs/gst/gstreamer-sections.txt:
16784         * docs/libs/tmpl/gstdataprotocol.sgml:
16785         * docs/random/thomasvs/TODO:
16786         * gst/gstutils.c:
16787         * gst/gstutils.h:
16788           fix docs
16789
16790 2005-12-05  Andy Wingo  <wingo@pobox.com>
16791
16792         patch by: Wim Taymans <wim@fluendo.com>
16793
16794         * libs/gst/base/gstbasetransform.c
16795         (gst_base_transform_prepare_output_buf)
16796         (gst_base_transform_buffer_alloc):
16797         * plugins/elements/gstqueue.c (gst_queue_bufferalloc): Call
16798         alloc_buffer_and_set_caps.
16799
16800         * gst/gstpad.c (gst_pad_alloc_buffer): Changed to not call
16801         set_caps on the source pad.
16802         (gst_pad_alloc_buffer_and_set_caps): New function, does what
16803         alloc_buffer used to do. Fixes #322874.
16804
16805         * docs/gst/gstreamer-sections.txt: 
16806         * docs/design/part-negotiation.txt: 
16807         * docs/pwg/advanced-negotiation.xml: Update for the alloc_buffer
16808         changes.
16809
16810 2005-12-05  Thomas Vander Stichele  <thomas at apestaart dot org>
16811
16812         patch by: Sebastien Moutte
16813
16814         * win32/MANIFEST:
16815         * win32/common/config.h.in:
16816         * win32/vs6/libgstcontroller.dsp:
16817           win32 build fixes
16818
16819 2005-12-05  Wim Taymans  <wim@fluendo.com>
16820
16821         * gst/gstcaps.c: (gst_caps_is_equal):
16822         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
16823         (gst_fake_src_create):
16824         Back out previous code changes, leave doc updates, file bugs 
16825         instead. 
16826
16827 2005-12-05  Wim Taymans  <wim@fluendo.com>
16828
16829         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
16830         (gst_fake_src_get_times), (gst_fake_src_create):
16831         * plugins/elements/gstfakesrc.h:
16832         Fix broken sync code.
16833
16834 2005-12-05  Wim Taymans  <wim@fluendo.com>
16835
16836         * gst/gstcaps.c: (gst_caps_is_equal):
16837         Comparing NULL against !NULL yields different caps, not a
16838         failure.
16839
16840 2005-12-05  Wim Taymans  <wim@fluendo.com>
16841
16842         * gst/gstpipeline.c:
16843         Fix small typo in docs.
16844
16845 2005-12-05  Andy Wingo  <wingo@pobox.com>
16846
16847         patch by: Thomas Vander Stichele  <thomas at apestaart dot org>
16848
16849         * gst/gst.c (init_post): remove hard-coded 0.9 location for
16850         registries/plugins with a MAJORMINOR one.
16851         (plugin_desc): Rename library from gstcoreleements to
16852         staticelements. Fixes #323222.
16853
16854 2005-12-05  Tim-Philipp Müller  <tim at centricular dot net>
16855
16856         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init):
16857           Change debug category to 'collectpads' from 'collect_pads'
16858           (fixes #323250).
16859
16860 2005-12-04  Thomas Vander Stichele  <thomas at apestaart dot org>
16861
16862         patch by: Sebastien Moutte
16863
16864         * libs/gst/controller/gstinterpolation.c:
16865           use convert function for uint64/double
16866         * win32/vs6/libgstcontroller.dsp:
16867           link to GLib
16868
16869 2005-12-04  Thomas Vander Stichele  <thomas at apestaart dot org>
16870
16871         * gst/gstutils.c: (gst_util_guint64_to_gdouble),
16872         (gst_util_gdouble_to_guint64), (gst_util_uint64_scale_int64):
16873         * gst/gstutils.h:
16874         * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
16875           add tests that seem to show that the guint64/gdouble conversions
16876           are correct.
16877
16878 2005-12-02  Wim Taymans  <wim@fluendo.com>
16879
16880         * gst/gstregistry.c: (gst_registry_add_path):
16881         * gst/gstregistry.h:
16882         * gst/gstregistryxml.c:
16883         Fix docs again.
16884
16885 2005-12-02  Wim Taymans  <wim@fluendo.com>
16886
16887         * gst/gstutils.c: (gst_util_uint64_scale_int64),
16888         (gst_util_uint64_scale_int):
16889         Small cleanup.
16890
16891         * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object):
16892         Add debug log line.
16893
16894         * libs/gst/base/gstbasetransform.c: (gst_base_transform_event):
16895         Add FIXME.
16896
16897 2005-12-02  Thomas Vander Stichele  <thomas at apestaart dot org>
16898
16899         * win32/MANIFEST:
16900         * win32/common/config.h:
16901         * win32/vs6/gstreamer.dsw:
16902         * win32/vs6/libgstcoreelements.dsp:
16903         * win32/vs6/libgstelements.dsp:
16904           renamed core elements plugin
16905
16906 2005-12-02  Thomas Vander Stichele  <thomas at apestaart dot org>
16907
16908         * tools/gst-run.c: (compare_major_minor), (find_highest_version),
16909         (get_candidates):
16910           do piece-wise major/minor comparison so 0.9 < 0.10
16911           also allow .exe extensions for tools
16912
16913 2005-12-02  Michael Smith  <msmith@fluendo.com>
16914
16915         * gst/gst.c:
16916           Escape a % to make gtkdoc happier; bug 322958.
16917
16918 === release 0.9.7 ===
16919
16920 2005-12-01  Thomas Vander Stichele <thomas (at) apestaart (dot) org>
16921
16922         * configure.ac:
16923           releasing 0.9.7, "My Dog Has No Nose"
16924
16925 2005-12-01  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
16926
16927         * common/gst-xmlinspect.py:
16928         * configure.ac:
16929         * docs/libs/tmpl/gstdataprotocol.sgml:
16930         * docs/random/release:
16931         * po/af.po:
16932         * po/az.po:
16933         * po/bg.po:
16934         * po/ca.po:
16935         * po/cs.po:
16936         * po/de.po:
16937         * po/en_GB.po:
16938         * po/fr.po:
16939         * po/it.po:
16940         * po/nb.po:
16941         * po/nl.po:
16942         * po/ru.po:
16943         * po/sq.po:
16944         * po/sr.po:
16945         * po/sv.po:
16946         * po/tr.po:
16947         * po/uk.po:
16948         * po/vi.po:
16949         * win32/common/config.h:
16950         * win32/common/config.h.in:
16951         * win32/vs6/gst_inspect.dsp:
16952         * win32/vs6/gst_launch.dsp:
16953         * win32/vs6/libgstbase.dsp:
16954         * win32/vs6/libgstelements.dsp:
16955         * win32/vs6/libgstreamer.dsp:
16956         * win32/vs7/GStreamer.vcproj:
16957         * win32/vs7/gst-inspect.vcproj:
16958         * win32/vs7/gst-launch.vcproj:
16959         * win32/vs7/libgstbase.vcproj:
16960           bump GST_MAJORMINOR to 0.10
16961           reset libtool version
16962
16963 2005-12-01  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
16964
16965         * po/LINGUAS:
16966         * po/bg.po:
16967           Added Bulgarian translation by (Alexander Shopov)
16968
16969 2005-12-01  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
16970
16971         * tests/check/gst/gstplugin.c:
16972           fix test
16973
16974 2005-12-01  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
16975
16976         * common/gst-xmlinspect.py:
16977         * common/gtk-doc-plugins.mak:
16978         * configure.ac:
16979         * docs/Makefile.am:
16980         * docs/gst/Makefile.am:
16981         * docs/gst/gstreamer-docs.sgml:
16982         * docs/gst/gstreamer-sections.txt:
16983         * docs/gst/gstreamer.types:
16984         * docs/gst/gstreamer.types.in:
16985         * docs/plugins/Makefile.am:
16986         * docs/plugins/gstreamer-plugins-docs.sgml:
16987         * docs/plugins/gstreamer-plugins-sections.txt:
16988         * docs/plugins/gstreamer-plugins.types:
16989         * docs/plugins/inspect.stamp:
16990         * docs/plugins/inspect/plugin-coreelements.xml:
16991         * docs/plugins/inspect/plugin-coreindexers.xml:
16992         * docs/plugins/scanobj-build.stamp:
16993         * gstreamer.spec.in:
16994         * plugins/elements/Makefile.am:
16995         * plugins/elements/gstelements.c:
16996         * plugins/elements/gstfakesink.c:
16997         * plugins/elements/gstfakesrc.c:
16998         * plugins/elements/gstfilesink.c:
16999         * plugins/elements/gstfilesrc.c:
17000         * plugins/elements/gstqueue.c:
17001         * plugins/indexers/Makefile.am:
17002         * plugins/indexers/gstindexers.c:
17003           document core plugins in a separate document just like all the
17004           others
17005           rename these plugins to something starting with core
17006
17007 2005-12-01  Andy Wingo  <wingo@pobox.com>
17008
17009         * gst/gstevent.h (struct _GstEvent): Meant to remove the extra
17010         padding here before, but it missed the commit.
17011
17012 2005-12-01  Thomas Vander Stichele  <thomas at apestaart dot org>
17013
17014         * libs/gst/controller/gstinterpolation.c:
17015           whitespace prices have crashed, we should feel free to use some now
17016           use gst_guint64_to_gdouble
17017
17018 2005-12-01  Thomas Vander Stichele  <thomas at apestaart dot org>
17019
17020         * libs/gst/controller/gstcontroller.c:
17021         * libs/gst/controller/gsthelper.c:
17022         * libs/gst/controller/gstinterpolation.c:
17023         * libs/gst/controller/lib.c:
17024           wrap config.h include
17025
17026 2005-12-01  Thomas Vander Stichele  <thomas at apestaart dot org>
17027
17028         * docs/gst/gstreamer-sections.txt:
17029           update docs
17030
17031 2005-12-01  Thomas Vander Stichele  <thomas at apestaart dot org>
17032
17033         * plugins/elements/gstelements.c:
17034         * plugins/elements/gstfdsink.c: (gst_fd_sink__base_init),
17035         (gst_fd_sink__class_init), (gst_fd_sink__init),
17036         (gst_fd_sink__chain), (gst_fd_sink__set_property),
17037         (gst_fd_sink__get_property):
17038         * plugins/elements/gstfdsink.h:
17039         * plugins/elements/gstfdsrc.c: (_do_init), (gst_fd_src_base_init),
17040         (gst_fd_src_class_init), (gst_fd_src_init), (gst_fd_src_dispose),
17041         (gst_fd_src_update_fd), (gst_fd_src_start), (gst_fd_src_stop),
17042         (gst_fd_src_unlock), (gst_fd_src_set_property),
17043         (gst_fd_src_get_property), (gst_fd_src_create),
17044         (gst_fd_src_is_seekable), (gst_fd_src_get_size),
17045         (gst_fd_src_uri_get_type), (gst_fd_src_uri_get_protocols),
17046         (gst_fd_src_uri_get_uri), (gst_fd_src_uri_set_uri),
17047         (gst_fd_src_uri_handler_init):
17048         * plugins/elements/gstfdsrc.h:
17049         * plugins/elements/gstqueue.c: (gst_queue_get_type):
17050           more anal cleanup
17051
17052 2005-11-30  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
17053
17054         * docs/gst/Makefile.am:
17055         * docs/gst/gstreamer.types.in:
17056         * gst/Makefile.am:
17057           fix the docs build
17058
17059 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
17060
17061         * configure.ac:
17062         * gst/Makefile.am:
17063         * gst/gst.c:
17064         * gst/gstplugin.h:
17065         * gst/gstregistry.h:
17066         * tests/benchmarks/complexity.c:
17067         * tests/benchmarks/mass-elements.c:
17068         * tests/check/Makefile.am:
17069         * tools/Makefile.am:
17070         * tools/gst-inspect.c:
17071         * tools/gst-xmlinspect.c:
17072           various fixes to make
17073           --disable-nls --disable-registry --disable-loadsave
17074           --disable-parse --disable-gst-debug
17075           work and get the core .so down to 360444 bytes after stripping
17076
17077 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
17078
17079         * Makefile.am:
17080         * configure.ac:
17081           descend into tests
17082         * docs/random/thomasvs/TODO:
17083         * tests/Makefile.am:
17084         * tests/README:
17085           add a README
17086
17087 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
17088
17089         * win32/GStreamer.vcproj:
17090         * win32/MANIFEST:
17091         * win32/Makefile:
17092         * win32/Makefile.inspect:
17093         * win32/Makefile.launch:
17094         * win32/Makefile.register:
17095         * win32/README.txt:
17096         * win32/gst-inspect.vcproj:
17097         * win32/gst-launch.vcproj:
17098         * win32/gst-register.vcproj:
17099         * win32/gstelements.vcproj:
17100         * win32/gstgetbits.def:
17101         * win32/gstgetbits.vcproj:
17102         * win32/gstreamer-dbg.def:
17103         * win32/gstreamer.def:
17104         * win32/libgstbase.def:
17105         * win32/libgstbase.vcproj:
17106         * win32/link_oldruntime.c:
17107         * win32/mman.c:
17108         * win32/mman.h:
17109         * win32/mman.inl:
17110         * win32/msvc71.sln:
17111           move even more stuff, win32/ is nice and clean now
17112
17113 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
17114
17115         * libs/gst/control/.cvsignore:
17116         * win32/MANIFEST:
17117         * win32/config.h:
17118         * win32/dirent.c:
17119         * win32/dirent.h:
17120         * win32/gstbytestream.def:
17121         * win32/gstbytestream.vcproj:
17122         * win32/gstconfig.h:
17123         * win32/gstenumtypes.c:
17124         * win32/gstenumtypes.h:
17125         * win32/gstoptimalscheduler.vcproj:
17126         * win32/gstversion.h:
17127         * win32/gtchar.h:
17128         * win32/testsuite/bins.vcproj:
17129         * win32/testsuite/bytestream.vcproj:
17130         * win32/testsuite/caps.vcproj:
17131         * win32/testsuite/cleanup.vcproj:
17132         * win32/testsuite/clock.vcproj:
17133         * win32/testsuite/debug.vcproj:
17134         * win32/testsuite/dlopen.vcproj:
17135         * win32/testsuite/dynparams.vcproj:
17136         * win32/testsuite/elements.vcproj:
17137         * win32/testsuite/ghostpads.vcproj:
17138         * win32/testsuite/indexers.vcproj:
17139         * win32/testsuite/negotiation.vcproj:
17140         * win32/testsuite/parse.vcproj:
17141         * win32/testsuite/plugin.vcproj:
17142         * win32/testsuite/refcounting.vcproj:
17143         * win32/testsuite/schedulers.vcproj:
17144         * win32/testsuite/states.vcproj:
17145         * win32/testsuite/tags.vcproj:
17146         * win32/testsuite/threads.vcproj:
17147           remove old win32 stuff that isn't maintained and should be
17148           reorganized
17149
17150 2005-11-30  Andy Wingo  <wingo@pobox.com>
17151
17152         * configure.ac (GST_PKG_DEPS): Revert previous patch, makes
17153         loading the gst.interfaces python module bork.
17154
17155         * configure.ac (GST_PKG_DEPS): Use gmodule-no-export-2.0.pc,
17156         available since GLib 2.2. Fixes #318031.
17157
17158 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
17159
17160         * Makefile.am:
17161         * check/.cvsignore:
17162         * check/Makefile.am:
17163         * check/elements/.cvsignore:
17164         * check/elements/fakesrc.c:
17165         * check/elements/fdsrc.c:
17166         * check/elements/identity.c:
17167         * check/generic/.cvsignore:
17168         * check/generic/states.c:
17169         * check/gst-libs/.cvsignore:
17170         * check/gst-libs/controller.c:
17171         * check/gst-libs/gdp.c:
17172         * check/gst/.cvsignore:
17173         * check/gst/capslist.h:
17174         * check/gst/gst.c:
17175         * check/gst/gstbin.c:
17176         * check/gst/gstbuffer.c:
17177         * check/gst/gstbus.c:
17178         * check/gst/gstcaps.c:
17179         * check/gst/gstelement.c:
17180         * check/gst/gstevent.c:
17181         * check/gst/gstghostpad.c:
17182         * check/gst/gstiterator.c:
17183         * check/gst/gstmessage.c:
17184         * check/gst/gstminiobject.c:
17185         * check/gst/gstobject.c:
17186         * check/gst/gstpad.c:
17187         * check/gst/gstpipeline.c:
17188         * check/gst/gstplugin.c:
17189         * check/gst/gstsegment.c:
17190         * check/gst/gststructure.c:
17191         * check/gst/gstsystemclock.c:
17192         * check/gst/gsttag.c:
17193         * check/gst/gstutils.c:
17194         * check/gst/gstvalue.c:
17195         * check/net/.cvsignore:
17196         * check/net/gstnetclientclock.c:
17197         * check/net/gstnettimeprovider.c:
17198         * check/pipelines/.cvsignore:
17199         * check/pipelines/cleanup.c:
17200         * check/pipelines/simple_launch_lines.c:
17201         * check/pipelines/stress.c:
17202         * check/states/.cvsignore:
17203         * check/states/sinks.c:
17204         * configure.ac:
17205         * examples/Makefile.am:
17206         * examples/appreader/.cvsignore:
17207         * examples/appreader/Makefile.am:
17208         * examples/appreader/appreader.c:
17209         * examples/controller/.cvsignore:
17210         * examples/controller/Makefile.am:
17211         * examples/controller/audio-example.c:
17212         * examples/cutter/.cvsignore:
17213         * examples/cutter/Makefile.am:
17214         * examples/cutter/cutter.c:
17215         * examples/cutter/cutter.h:
17216         * examples/events/Makefile.am:
17217         * examples/events/seek.c:
17218         * examples/helloworld/.cvsignore:
17219         * examples/helloworld/Makefile.am:
17220         * examples/helloworld/helloworld.c:
17221         * examples/helloworld2/.cvsignore:
17222         * examples/helloworld2/Makefile.am:
17223         * examples/helloworld2/helloworld2.c:
17224         * examples/launch/.cvsignore:
17225         * examples/launch/Makefile.am:
17226         * examples/launch/mp3parselaunch.c:
17227         * examples/launch/mp3play:
17228         * examples/manual/.cvsignore:
17229         * examples/manual/Makefile.am:
17230         * examples/manual/extract.pl:
17231         * examples/metadata/Makefile.am:
17232         * examples/metadata/read-metadata.c:
17233         * examples/mixer/.cvsignore:
17234         * examples/mixer/Makefile.am:
17235         * examples/mixer/mixer.c:
17236         * examples/mixer/mixer.h:
17237         * examples/pingpong/.cvsignore:
17238         * examples/pingpong/Makefile.am:
17239         * examples/pingpong/pingpong.c:
17240         * examples/plugins/.cvsignore:
17241         * examples/plugins/Makefile.am:
17242         * examples/plugins/example.c:
17243         * examples/plugins/example.h:
17244         * examples/pwg/.cvsignore:
17245         * examples/pwg/Makefile.am:
17246         * examples/pwg/extract.pl:
17247         * examples/queue/.cvsignore:
17248         * examples/queue/Makefile.am:
17249         * examples/queue/queue.c:
17250         * examples/queue2/.cvsignore:
17251         * examples/queue2/Makefile.am:
17252         * examples/queue2/queue2.c:
17253         * examples/queue3/.cvsignore:
17254         * examples/queue3/Makefile.am:
17255         * examples/queue3/queue3.c:
17256         * examples/queue4/.cvsignore:
17257         * examples/queue4/Makefile.am:
17258         * examples/queue4/queue4.c:
17259         * examples/retag/.cvsignore:
17260         * examples/retag/Makefile.am:
17261         * examples/retag/retag.c:
17262         * examples/retag/transcode.c:
17263         * examples/thread/.cvsignore:
17264         * examples/thread/Makefile.am:
17265         * examples/thread/thread.c:
17266         * examples/typefind/.cvsignore:
17267         * examples/typefind/Makefile.am:
17268         * examples/typefind/typefind.c:
17269         * examples/xml/.cvsignore:
17270         * examples/xml/Makefile.am:
17271         * examples/xml/createxml.c:
17272         * examples/xml/runxml.c:
17273         * tests/Makefile.am:
17274         * tests/check/Makefile.am:
17275         * testsuite/.cvsignore:
17276         * testsuite/Makefile.am:
17277         * testsuite/Rules:
17278         * testsuite/caps/.cvsignore:
17279         * testsuite/caps/Makefile.am:
17280         * testsuite/caps/app_fixate.c:
17281         * testsuite/caps/audioscale.c:
17282         * testsuite/caps/caps.c:
17283         * testsuite/caps/caps.h:
17284         * testsuite/caps/caps_strings:
17285         * testsuite/caps/compatibility.c:
17286         * testsuite/caps/deserialize.c:
17287         * testsuite/caps/enumcaps.c:
17288         * testsuite/caps/eratosthenes.c:
17289         * testsuite/caps/filtercaps.c:
17290         * testsuite/caps/fixed.c:
17291         * testsuite/caps/fraction-convert.c:
17292         * testsuite/caps/fraction-multiply-and-zero.c:
17293         * testsuite/caps/intersect2.c:
17294         * testsuite/caps/intersection.c:
17295         * testsuite/caps/normalisation.c:
17296         * testsuite/caps/random.c:
17297         * testsuite/caps/renegotiate.c:
17298         * testsuite/caps/sets.c:
17299         * testsuite/caps/simplify.c:
17300         * testsuite/caps/string-conversions.c:
17301         * testsuite/caps/structure.c:
17302         * testsuite/caps/subtract.c:
17303         * testsuite/caps/union.c:
17304         * testsuite/debug/.cvsignore:
17305         * testsuite/debug/Makefile.am:
17306         * testsuite/debug/category.c:
17307         * testsuite/debug/commandline.c:
17308         * testsuite/debug/global.c:
17309         * testsuite/debug/output.c:
17310         * testsuite/debug/printf_extension.c:
17311         * testsuite/dlopen/.cvsignore:
17312         * testsuite/dlopen/Makefile.am:
17313         * testsuite/dlopen/dlopen_gst.c:
17314         * testsuite/dlopen/loadgst.c:
17315         * testsuite/elements/.cvsignore:
17316         * testsuite/elements/Makefile.am:
17317         * testsuite/elements/gst-inspect-check.in:
17318         * testsuite/elements/struct_i386.h:
17319         * testsuite/elements/struct_size.c:
17320         * testsuite/indexers/.cvsignore:
17321         * testsuite/indexers/Makefile.am:
17322         * testsuite/indexers/cache1.c:
17323         * testsuite/indexers/indexdump.c:
17324         * testsuite/parse/.cvsignore:
17325         * testsuite/parse/Makefile.am:
17326         * testsuite/parse/parse1.c:
17327         * testsuite/parse/parse2.c:
17328         * testsuite/plugin/.cvsignore:
17329         * testsuite/plugin/Makefile.am:
17330         * testsuite/plugin/README:
17331         * testsuite/plugin/dynamic.c:
17332         * testsuite/plugin/linked.c:
17333         * testsuite/plugin/loading.c:
17334         * testsuite/plugin/registry.c:
17335         * testsuite/plugin/static.c:
17336         * testsuite/plugin/static2.c:
17337         * testsuite/plugin/testplugin.c:
17338         * testsuite/plugin/testplugin2.c:
17339         * testsuite/plugin/testplugin2_s.c:
17340         * testsuite/plugin/testplugin_s.c:
17341         * testsuite/refcounting/.cvsignore:
17342         * testsuite/refcounting/Makefile.am:
17343         * testsuite/refcounting/bin.c:
17344         * testsuite/refcounting/element.c:
17345         * testsuite/refcounting/element_pad.c:
17346         * testsuite/refcounting/mainloop.c:
17347         * testsuite/refcounting/mem.c:
17348         * testsuite/refcounting/mem.h:
17349         * testsuite/refcounting/object.c:
17350         * testsuite/refcounting/pad.c:
17351         * testsuite/refcounting/sched.c:
17352         * testsuite/refcounting/thread.c:
17353         * testsuite/states/.cvsignore:
17354         * testsuite/states/Makefile.am:
17355         * testsuite/states/bin.c:
17356         * testsuite/states/locked.c:
17357         * testsuite/states/parent.c:
17358         * testsuite/threads/.cvsignore:
17359         * testsuite/threads/159566.c:
17360         * testsuite/threads/159852.c:
17361         * testsuite/threads/Makefile.am:
17362         * testsuite/threads/queue.c:
17363         * testsuite/threads/signals.c:
17364         * testsuite/threads/staticrec.c:
17365         * testsuite/threads/thread.c:
17366         * testsuite/threads/threadb.c:
17367         * testsuite/threads/threadc.c:
17368         * testsuite/threads/threadd.c:
17369         * testsuite/threads/threade.c:
17370         * testsuite/threads/threadf.c:
17371         * testsuite/threads/threadg.c:
17372         * testsuite/threads/threadh.c:
17373         * testsuite/threads/threadi.c:
17374           move all of these under tests
17375
17376 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
17377
17378         * configure.ac:
17379         * tests/Makefile.am:
17380           fix distcheck
17381
17382 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
17383
17384         * docs/gst/gstreamer-sections.txt:
17385         * tests/sched/.cvsignore:
17386         * tests/sched/Makefile.am:
17387         * tests/sched/cases/(fs-fs).xml:
17388         * tests/sched/cases/(fs-i-fs).xml:
17389         * tests/sched/cases/(fs-i-i-fs).xml:
17390         * tests/sched/cases/(fs-i-q[i-fs]).xml:
17391         * tests/sched/dynamic-pipeline.c:
17392         * tests/sched/interrupt1.c:
17393         * tests/sched/interrupt2.c:
17394         * tests/sched/interrupt3.c:
17395         * tests/sched/runtestcases:
17396         * tests/sched/runxml.c:
17397         * tests/sched/sched-stress.c:
17398         * tests/sched/sort.c:
17399         * tests/sched/testcases:
17400         * tests/sched/testcases1.tc:
17401         * tests/seeking/.cvsignore:
17402         * tests/seeking/Makefile.am:
17403         * tests/seeking/seeking1.c:
17404         * tests/threadstate/.cvsignore:
17405         * tests/threadstate/Makefile.am:
17406         * tests/threadstate/test1.c:
17407         * tests/threadstate/test2.c:
17408         * tests/threadstate/threadstate1.c:
17409         * tests/threadstate/threadstate2.c:
17410         * tests/threadstate/threadstate3.c:
17411         * tests/threadstate/threadstate4.c:
17412         * tests/threadstate/threadstate5.c:
17413           remove obsolete tests
17414         * configure.ac:
17415         * tests/bench-complexity.scm:
17416         * tests/bench-mass_elements.scm:
17417         * tests/complexity.c:
17418         * tests/complexity.gnuplot:
17419         * tests/instantiate/.cvsignore:
17420         * tests/instantiate/Makefile.am:
17421         * tests/instantiate/caps.c:
17422         * tests/mass_elements.c:
17423         * tests/network-clock-utils.scm:
17424         * tests/network-clock.scm:
17425         * tests/plot-data:
17426         First pass at cleaning up tests/ dir before moving the rest
17427         Combined with CVS surgery
17428
17429 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
17430
17431         * po/POTFILES.in:
17432           queue has moved, update
17433
17434 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
17435
17436         * docs/gst/gstreamer-sections.txt:
17437           remove double entries from the docs
17438         * gst/gst_private.h:
17439         * gst/gstinfo.c: (_gst_debug_init):
17440           remove the THREAD debug category
17441         * gst/Makefile.am:
17442         * gst/gstqueue.c:
17443         * gst/gstqueue.h:
17444         * docs/gst/gstreamer.types:
17445         * plugins/elements/gstqueue.c: (gst_queue_get_type),
17446         (gst_queue_init), (gst_queue_finalize), (gst_queue_change_state):
17447           completely move queue and fix up debugging categories
17448
17449 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
17450
17451         * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
17452           make initialization portable, using LL is not
17453
17454 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
17455
17456         * win32/common/gstconfig.h:
17457           add large padding
17458
17459 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
17460
17461         * win32/common/libgstreamer.def:
17462           rename symbols; sort base section
17463
17464 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
17465
17466         * gst/gstclock.c: (do_linear_regression):
17467           remove crack non-portable handrolled DEBUG macro
17468
17469 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
17470
17471         * docs/random/release:
17472           update notes
17473         * win32/common/gstenumtypes.c: (register_gst_object_flags),
17474         (gst_object_flags_get_type), (register_gst_bin_flags),
17475         (gst_bin_flags_get_type), (register_gst_buffer_flag),
17476         (gst_buffer_flag_get_type), (register_gst_bus_flags),
17477         (gst_bus_flags_get_type), (register_gst_bus_sync_reply),
17478         (gst_bus_sync_reply_get_type), (register_gst_caps_flags),
17479         (gst_caps_flags_get_type), (register_gst_clock_return),
17480         (gst_clock_return_get_type), (register_gst_clock_entry_type),
17481         (gst_clock_entry_type_get_type), (register_gst_clock_flags),
17482         (gst_clock_flags_get_type), (register_gst_state),
17483         (gst_state_get_type), (register_gst_state_change_return),
17484         (gst_state_change_return_get_type), (register_gst_state_change),
17485         (gst_state_change_get_type), (register_gst_element_flags),
17486         (gst_element_flags_get_type), (register_gst_core_error),
17487         (gst_core_error_get_type), (register_gst_library_error),
17488         (gst_library_error_get_type), (register_gst_resource_error),
17489         (gst_resource_error_get_type), (register_gst_stream_error),
17490         (gst_stream_error_get_type), (register_gst_event_type_flags),
17491         (gst_event_type_flags_get_type), (register_gst_event_type),
17492         (gst_event_type_get_type), (register_gst_seek_type),
17493         (gst_seek_type_get_type), (register_gst_seek_flags),
17494         (gst_seek_flags_get_type), (register_gst_format),
17495         (gst_format_get_type), (register_gst_index_certainty),
17496         (gst_index_certainty_get_type), (register_gst_index_entry_type),
17497         (gst_index_entry_type_get_type),
17498         (register_gst_index_lookup_method),
17499         (gst_index_lookup_method_get_type), (register_gst_assoc_flags),
17500         (gst_assoc_flags_get_type), (register_gst_index_resolver_method),
17501         (gst_index_resolver_method_get_type), (register_gst_index_flags),
17502         (gst_index_flags_get_type), (register_gst_debug_level),
17503         (gst_debug_level_get_type), (register_gst_debug_color_flags),
17504         (gst_debug_color_flags_get_type), (register_gst_iterator_result),
17505         (gst_iterator_result_get_type), (register_gst_iterator_item),
17506         (gst_iterator_item_get_type), (register_gst_message_type),
17507         (gst_message_type_get_type), (register_gst_mini_object_flags),
17508         (gst_mini_object_flags_get_type), (register_gst_pad_link_return),
17509         (gst_pad_link_return_get_type), (register_gst_flow_return),
17510         (gst_flow_return_get_type), (register_gst_activate_mode),
17511         (gst_activate_mode_get_type), (register_gst_pad_direction),
17512         (gst_pad_direction_get_type), (register_gst_pad_flags),
17513         (gst_pad_flags_get_type), (register_gst_pad_presence),
17514         (gst_pad_presence_get_type), (register_gst_pad_template_flags),
17515         (gst_pad_template_flags_get_type), (register_gst_pipeline_flags),
17516         (gst_pipeline_flags_get_type), (register_gst_plugin_error),
17517         (gst_plugin_error_get_type), (register_gst_plugin_flags),
17518         (gst_plugin_flags_get_type), (register_gst_rank),
17519         (gst_rank_get_type), (register_gst_query_type),
17520         (gst_query_type_get_type), (register_gst_tag_merge_mode),
17521         (gst_tag_merge_mode_get_type), (register_gst_tag_flag),
17522         (gst_tag_flag_get_type), (register_gst_task_state),
17523         (gst_task_state_get_type), (register_gst_alloc_trace_flags),
17524         (gst_alloc_trace_flags_get_type),
17525         (register_gst_type_find_probability),
17526         (gst_type_find_probability_get_type), (register_gst_uri_type),
17527         (gst_uri_type_get_type), (register_gst_parse_error),
17528         (gst_parse_error_get_type):
17529         * win32/common/gstenumtypes.h:
17530         * win32/common/gstversion.h:
17531           update visual studio generated files
17532
17533 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
17534
17535         * win32/vs6/libgstbase.dsp:
17536         * win32/vs6/libgstelements.dsp:
17537           update project files for new locations
17538
17539 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
17540
17541         * Makefile.am:
17542           remove some files
17543         * README:
17544           reinstate and update
17545         * DEVEL:
17546         * REQUIREMENTS:
17547           removed
17548         * LICENSE:
17549         * docs/random/LICENSE:
17550           moved to random
17551
17552 2005-11-30  Edward Hervey  <edward@fluendo.com>
17553
17554         * gst/gsttypefind.c: (gst_type_find_register):
17555         * gst/gsttypefind.h:
17556         * gst/gsttypefindfactory.c: (gst_type_find_factory_init),
17557         (gst_type_find_factory_dispose):
17558         * gst/gsttypefindfactory.h:
17559         Fix memory leak in GstTypeFindFactory.
17560
17561 2005-11-29  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
17562
17563         * gst/gst.c:
17564         * plugins/elements/Makefile.am:
17565         * plugins/elements/gstelements.c:
17566         * plugins/elements/gstqueue.c:
17567           move queue from core to the elements plugin
17568
17569 2005-11-29  Andy Wingo  <wingo@pobox.com>
17570
17571         * libs/gst/base/gstbasetransform.h: 
17572         * libs/gst/base/gstbasesrc.h: 
17573         * libs/gst/base/gstbasesink.h: en-LARGE the padding.
17574
17575         * gst/gstconfig.h.in (GST_PADDING_LARGE): New define, the number
17576         of pointers by which to pad very extensible base classes (like the
17577         ones in libs/gst/base).
17578
17579 2005-11-29  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
17580
17581         * docs/gst/gstreamer-docs.sgml:
17582         * docs/gst/gstreamer-sections.txt:
17583         * docs/libs/gstreamer-libs-docs.sgml:
17584         * docs/libs/gstreamer-libs-sections.txt:
17585           moving documentation from core to lib
17586
17587 2005-11-29  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
17588
17589         * check/Makefile.am:
17590         * configure.ac:
17591         * docs/gst/Makefile.am:
17592         * gst/Makefile.am:
17593         * gst/base/.cvsignore:
17594         * gst/base/Makefile.am:
17595         * gst/base/README:
17596         * gst/base/gstadapter.c:
17597         * gst/base/gstadapter.h:
17598         * gst/base/gstbasesink.c:
17599         * gst/base/gstbasesink.h:
17600         * gst/base/gstbasesrc.c:
17601         * gst/base/gstbasesrc.h:
17602         * gst/base/gstbasetransform.c:
17603         * gst/base/gstbasetransform.h:
17604         * gst/base/gstcollectpads.c:
17605         * gst/base/gstcollectpads.h:
17606         * gst/base/gstpushsrc.c:
17607         * gst/base/gstpushsrc.h:
17608         * gst/base/gsttypefindhelper.c:
17609         * gst/base/gsttypefindhelper.h:
17610         * gst/check/Makefile.am:
17611         * gst/check/gstcheck.c:
17612         * gst/check/gstcheck.h:
17613         * gst/net/Makefile.am:
17614         * gst/net/gstnet.h:
17615         * gst/net/gstnetclientclock.c:
17616         * gst/net/gstnetclientclock.h:
17617         * gst/net/gstnettimepacket.c:
17618         * gst/net/gstnettimepacket.h:
17619         * gst/net/gstnettimeprovider.c:
17620         * gst/net/gstnettimeprovider.h:
17621         * libs/gst/Makefile.am:
17622         * libs/gst/base/Makefile.am:
17623         * libs/gst/base/gstbasetransform.c:
17624         * libs/gst/check/Makefile.am:
17625         * plugins/elements/Makefile.am:
17626         * po/POTFILES.in:
17627           CVS surgery + support to move base, check, and net out of gst
17628           and into libs/gst
17629
17630 2005-11-29  Andy Wingo  <wingo@pobox.com>
17631
17632         * gst/gstevent.h (struct _GstEvent): Only one pointer of padding.
17633
17634         * gst/gststructure.h (struct _GstStructure): Only one pointer of
17635         padding.
17636
17637         * gst/gstquery.h (struct _GstQuery): Only one pointer of padding.
17638
17639         * gst/gstpluginfeature.h: Remove a comment in PluginFeature.
17640
17641         * gst/gstplugin.h (struct _GstPluginClass): Add some padding.
17642
17643         * gst/gstobject.h: (struct _GstObject): Only one pointer of
17644         padding; reduces object size by about 30%. We don't expect
17645         anything else to go into gstobject.
17646
17647         * gst/gstminiobject.h (struct _GstMiniObject)
17648         (struct _GstMiniObjectClass): Only one pointer of padding; the
17649         payload is only a pointer and two ints anyway. For the class there
17650         are only two methods as well.
17651         
17652         * gst/gstelement.h (struct _GstElementClass): Removed
17653         the state_changed signal callback, it is not used.
17654
17655 2005-11-29  Thomas Vander Stichele  <thomas at apestaart dot org>
17656
17657         * docs/gst/gstreamer.types:
17658           fix includes, though they are a little dinky
17659
17660 2005-11-29  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
17661
17662         * check/Makefile.am:
17663           look in the right place for elements, a lot more chance of
17664           success
17665         * gst/Makefile.am:
17666           remove indexers and elements subdirs
17667         * plugins/Makefile.am:
17668           make indexers conditional
17669
17670 2005-11-29  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
17671
17672         * Makefile.am:
17673         * configure.ac:
17674         * plugins/elements/Makefile.am:
17675         * plugins/elements/gstcapsfilter.c:
17676         * plugins/elements/gstfilesink.c:
17677         * plugins/elements/gstfilesrc.c:
17678         * plugins/elements/gstidentity.c:
17679         * plugins/indexers/Makefile.am:
17680           do CVS surgery and related build fixery to move elements
17681           and indexers in a new gstreamer/plugins directory, out of the
17682           gst/ directory
17683
17684 2005-11-29  Andy Wingo  <wingo@pobox.com>
17685
17686         * check/Makefile.am:
17687         * pkgconfig/gstreamer-net-uninstalled.pc.in:
17688         * pkgconfig/gstreamer-net.pc.in:
17689         * gst/net/Makefile.am: Rename gstnet-tempname to gstnet. Fixes
17690         #322257.
17691
17692 2005-11-29  Thomas Vander Stichele  <thomas at apestaart dot org>
17693
17694         * tools/Makefile.am:
17695         * tools/gst-complete.1.in:
17696         * tools/gst-complete.c:
17697         * tools/gst-compprep.1.in:
17698         * tools/gst-compprep.c:
17699           removing -compprep and -complete
17700
17701 2005-11-29  Thomas Vander Stichele  <thomas at apestaart dot org>
17702
17703         * gst/gstevent.c: (gst_event_new_new_segment),
17704         (gst_event_parse_new_segment):
17705         * gst/gstevent.h:
17706           fix #320529 - clean up new_segment API and structure.
17707           Let's hope everyone was using the methods, and not the structure.
17708
17709 2005-11-29  Edward Hervey  <edward@fluendo.com>
17710
17711         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
17712         (gst_base_sink_event), (gst_base_sink_do_sync),
17713         (gst_base_sink_activate_pull), (gst_base_sink_change_state):
17714         Properly handle non GST_FORMAT_TIME segment
17715         * gst/elements/gstidentity.c: (gst_identity_transform_ip):
17716         Properly handle non GST_FORMAT_TIME segment
17717         * gst/gstsegment.c:
17718         This function is valid if the accumulator is 0 and the format
17719         is different from the requested format.
17720         
17721 2005-11-29  Jan Schmidt  <thaytan@mad.scientist.com>
17722
17723         * docs/gst/gstreamer-sections.txt:
17724         Add gst_query_new_seeking and gst_query_parse_seeking to the
17725         docs.
17726
17727 2005-11-29  Jan Schmidt  <thaytan@mad.scientist.com>
17728
17729         * gst/base/gstbasetransform.c: (gst_base_transform_buffer_alloc):
17730           Treat a pad alloc with new caps the same as if we were not
17731           negotiated, in order to allow a changing upstream output
17732           to produce a new format of data.
17733
17734 2005-11-29  Edward Hervey  <edward@fluendo.com>
17735
17736         * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
17737         (gst_base_transform_event), (gst_base_transform_eventfunc):
17738         The event virtual method is now properly implemented, with a default
17739         handler
17740         Sub classes should call the parent_class event method. They should
17741         return FALSE if they had a problem handling the given event, or don't
17742         want GstBaseTransform to send that even downstream
17743         * gst/elements/gstidentity.c: (gst_identity_class_init),
17744         (gst_identity_init), (gst_identity_event),
17745         (gst_identity_transform_ip), (gst_identity_set_property),
17746         (gst_identity_get_property):
17747         * gst/elements/gstidentity.h:
17748         Added the single-segment boolean property.
17749         If set to TRUE, it will output a single segment of data, starting from
17750         0, will eat up all incoming newsegment, and modify the timestamp of the
17751         buffers accordingly
17752
17753 2005-11-29  Tim-Philipp Müller  <tim at centricular dot net>
17754
17755         * gst/gstghostpad.c: (gst_proxy_pad_get_target):
17756           Don't ref NULL target pad (#322751). Improve docs.
17757
17758 2005-11-29  Michael Smith  <msmith@fluendo.com>
17759
17760         * gst/gstregistryxml.c: (load_plugin):
17761           Don't crash if we failed to load a feature from a plugin. 
17762
17763 2005-11-28  Thomas Vander Stichele  <thomas at apestaart dot org>
17764
17765         * check/pipelines/simple_launch_lines.c: (setup_pipeline),
17766         (GST_START_TEST):
17767           use more check API and less GLib API
17768
17769 2005-11-28  Thomas Vander Stichele  <thomas at apestaart dot org>
17770
17771         * Makefile.am:
17772           don't run checks if we don't have check
17773         * common/check.mak:
17774           remove the registry when running make torture
17775         * docs/gst/gstreamer-sections.txt:
17776           remove second multiply
17777         * gst/gstqueue.c: (gst_queue_loop):
17778           fix a compile warning when disabling debug
17779
17780 2005-11-28  Jan Schmidt  <thaytan@mad.scientist.com>
17781
17782         * gst/gstinfo.h:
17783         Hey! Let's print the pad name if the pointer != NULL instead
17784         of when it == NULL :-)
17785
17786 2005-11-28  Wim Taymans  <wim@fluendo.com>
17787
17788         * check/gst/gstutils.c: (GST_START_TEST):
17789         Updated check, add some scaling accuracy checking code.
17790
17791         * gst/gstutils.c: (gst_util_div128_64),
17792         (gst_util_uint64_scale_int64), (gst_util_uint64_scale),
17793         (gst_util_uint64_scale_int):
17794         Fix 6 times faster division code. Optimize for common 
17795         1/1 and less common X/1 cases.
17796
17797 2005-11-28  Wim Taymans  <wim@fluendo.com>
17798
17799         * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
17800         More checks.
17801
17802         * gst/gstclock.c: (gst_clock_finalize), (gst_clock_set_master),
17803         (do_linear_regression), (gst_clock_add_observation):
17804         Cleanups.
17805         Release lock when the clock cannot be slaved.
17806         Catch the case where the regression returned an invalid denominator.
17807
17808         * gst/gstutils.c: (gst_util_div128_64_iterate),
17809         (gst_util_div128_64), (gst_util_uint64_scale_int64),
17810         (gst_util_uint64_scale), (gst_util_uint64_scale_int):
17811         Add protentially more performant non-iterative 128/64 divide function
17812         that unfortunatly does not work yet.
17813         Shortcut the trivial 0/X = 0 case.
17814         Remove the warnings on overflow.
17815
17816 2005-11-28  Thomas Vander Stichele  <thomas at apestaart dot org>
17817
17818         * gst/gstplugin.c: (gst_plugin_register_func):
17819           everything causing a plugin not to load should be at least a WARNING
17820
17821 2005-11-28  Stefan Kost  <ensonic@users.sf.net>
17822
17823         * docs/random/ensonic/dparams.txt:
17824           some TODOs for the next dev cycle
17825         * libs/gst/controller/gstcontroller.c:
17826         (gst_controlled_property_set_interpolation_mode),
17827         (gst_controlled_property_new):
17828         * libs/gst/controller/gstcontroller.h:
17829           use base type to assign acccessor functions
17830
17831 2005-11-28  Jan Schmidt  <thaytan@mad.scientist.com>
17832
17833         * check/Makefile.am:
17834         Oops, that should have been top_srcdir
17835
17836 2005-11-28  Jan Schmidt  <thaytan@mad.scientist.com>
17837
17838         * check/Makefile.am:
17839         * check/elements/fdsrc.c: (GST_START_TEST):
17840         Use a cmdline define to specify the location of a file to use for
17841         testing, to avoid breaking distcheck.
17842
17843 2005-11-28  Andy Wingo  <wingo@pobox.com>
17844
17845         * gst/gstpad.c (fixate_value): Use array functions for arrays.
17846
17847 2005-11-28  Edward Hervey  <edward@fluendo.com>
17848
17849         * tools/gst-launch.c: (main):
17850         Clarify the output strings, makes it easier to translate.
17851         Fixes #322626
17852
17853 2005-11-28  Thomas Vander Stichele  <thomas at apestaart dot org>
17854
17855         * gst/Makefile.am:
17856           don't try and build net if we don't even have <sys/socket.h>
17857
17858 2005-11-27  Jan Schmidt  <thaytan@mad.scientist.com>
17859
17860         * check/Makefile.am:
17861         * check/elements/fdsrc.c: (event_func), (setup_fdsrc),
17862         (cleanup_fdsrc), (GST_START_TEST), (fdsrc_suite), (main):
17863           Add tests for fdsrc seekability
17864
17865         * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init),
17866         (gst_fdsrc_init), (gst_fdsrc_update_fd), (gst_fdsrc_start),
17867         (gst_fdsrc_set_property), (gst_fdsrc_is_seekable),
17868         (gst_fdsrc_get_size), (gst_fdsrc_uri_set_uri):
17869         * gst/elements/gstfdsrc.h:
17870           fdsrc should not be a 'live' source.
17871           Implement seeking on seekable fd's.
17872
17873         * gst/gstquery.c: (gst_query_new_seeking),
17874         (gst_query_parse_seeking):
17875         * gst/gstquery.h:
17876           Implement SEEKING query functions: 
17877             *_new_seeking and *_parse_seeking
17878
17879 2005-11-27  Stefan Kost  <ensonic@users.sf.net>
17880
17881         * gst/gstelement.c: (gst_element_dispose):
17882           don't loop forever
17883
17884         * gst/gstiterator.c:
17885         * gst/gststructure.c:
17886           doc fixes
17887
17888         * libs/gst/controller/gstcontroller.c:
17889         (gst_controlled_property_set_interpolation_mode):
17890         * libs/gst/controller/gstcontroller.h:
17891         * libs/gst/controller/gstinterpolation.c:
17892         (interpolate_none_get_enum_value_array):
17893           support controlling enums
17894
17895 2005-11-27  Tim-Philipp Müller  <tim at centricular dot net>
17896
17897         * gst/gstvalue.c:
17898           Improve documentation for gst_value_union().
17899
17900         * gst/gstvalue.h:
17901           Change return value for union, intersect and subtract functions
17902           from gint to gboolean.
17903
17904 2005-11-27  Tim-Philipp Müller  <tim at centricular dot net>
17905
17906         * gst/gstvalue.c: (gst_value_serialize_any_list),
17907         (gst_value_transform_any_list_string),
17908         (gst_value_deserialize_list), (gst_value_deserialize_array),
17909         (gst_value_set_int_range), (gst_value_deserialize_int_range),
17910         (gst_value_set_double_range), (gst_value_deserialize_double_range),
17911         (gst_value_set_fraction_range_full),
17912         (gst_value_deserialize_fraction_range),
17913         (gst_value_deserialize_caps), (gst_value_deserialize_buffer),
17914         (gst_value_deserialize_boolean),
17915         (gst_value_deserialize_int_helper), (gst_value_deserialize_double),
17916         (gst_value_serialize_float), (gst_value_deserialize_float),
17917         (gst_string_wrap), (gst_value_deserialize_string),
17918         (gst_value_deserialize_enum), (gst_value_deserialize_flags),
17919         (gst_value_union_int_range_int_range),
17920         (gst_value_intersect_int_range_int_range),
17921         (gst_value_intersect_double_range_double_range),
17922         (gst_value_create_new_range), (gst_value_subtract_int_range_int),
17923         (gst_value_subtract_int_range_int_range),
17924         (gst_value_subtract_double_double_range),
17925         (gst_value_subtract_double_range_double_range),
17926         (gst_value_deserialize_fraction):
17927         * gst/gstvalue.h:
17928           Use gint, gdouble and gchar in our API instead of int, double and
17929           char (and make usage in gstvalue.c more consistent).
17930
17931 2005-11-27  Thomas Vander Stichele  <thomas at apestaart dot org>
17932
17933         * check/Makefile.am:
17934         * libs/gst/controller/Makefile.am:
17935         * libs/gst/dataprotocol/Makefile.am:
17936           fix up Makefile.am and remove GST_ENABLE_NEW
17937
17938 2005-11-27  Thomas Vander Stichele  <thomas at apestaart dot org>
17939
17940         * configure.ac:
17941         * gst/Makefile.am:
17942         * gst/base/Makefile.am:
17943         * gst/check/Makefile.am:
17944         * gst/elements/Makefile.am:
17945         * gst/net/Makefile.am:
17946           update LDFLAGS use some more
17947
17948 2005-11-27  Thomas Vander Stichele  <thomas at apestaart dot org>
17949
17950         * common/m4/gst-doc.m4:
17951           Fixes #312589
17952
17953 2005-11-26  Edward Hervey  <edward@fluendo.com>
17954
17955         * gst/gstpluginfeature.c: (gst_plugin_feature_load):
17956         This shouldn't issue a g_warning since it returns NULL if it
17957         couldn't find the plugin, and all functions using this behave
17958         properly on a NULL return. Switching to a GST_WARNING.
17959
17960 2005-11-25  Jan Schmidt  <thaytan@mad.scientist.com>
17961
17962         * gst/gstbin.c: (gst_bin_handle_message_func):
17963         Don't leak clock messages.
17964
17965 2005-11-25  Wim Taymans  <wim@fluendo.com>
17966
17967         * gst/gstutils.c: (gst_util_uint64_scale_int64),
17968         (gst_util_uint64_scale_int):
17969         Optimisations, remove unneeded vars.
17970
17971 2005-11-25  Wim Taymans  <wim@fluendo.com>
17972
17973         * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
17974         Added more checks for the high precision uint64 cases.
17975
17976         * gst/gstutils.c: (gst_util_uint64_scale_int64),
17977         (gst_util_uint64_scale), (gst_util_uint64_scale_int):
17978         Implement high precision (guint64 * guint64) / guint64.
17979
17980 2005-11-24  Wim Taymans  <wim@fluendo.com>
17981
17982         * gst/base/gstbasesrc.c: (gst_base_src_query):
17983         Fix wrong percentage query.
17984
17985         * gst/gstutils.c: (gst_util_uint64_scale),
17986         (gst_util_uint64_scale_int):
17987         Add some more common cases that can be handled 
17988         efficiently to _scale.
17989
17990 2005-11-24  Thomas Vander Stichele  <thomas at apestaart dot org>
17991
17992         * check/gst/gstminiobject.c: (thread_ref), (GST_START_TEST),
17993         (gst_mini_object_suite):
17994           don't use check calls from threads; check probably isn't
17995           threadsafe and using a lock to make it threadsafe would
17996           defeat the purpose of this check
17997         * gst/check/gstcheck.c:
17998         * gst/check/gstcheck.h:
17999           use GST_DEBUG some more
18000
18001 2005-11-24  Wim Taymans  <wim@fluendo.com>
18002
18003         * gst/gstutils.c: (gst_util_uint64_scale),
18004         (gst_util_uint64_scale_int):
18005         Chain trivial case to _scale_int.
18006
18007 2005-11-24  Wim Taymans  <wim@fluendo.com>
18008
18009         * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
18010         Added test for scaling.
18011
18012         * gst/gstclock.h:
18013         Small doc fix.
18014
18015         * gst/gstutils.c: (gst_util_uint64_scale_int):
18016         Implemented high precision scaling code.
18017
18018 2005-11-24  Stefan Kost  <ensonic@users.sf.net>
18019
18020         * gst/gstinfo.h:
18021           do not crash on pad==NULL
18022
18023 2005-11-24  Thomas Vander Stichele  <thomas at apestaart dot org>
18024
18025         Patch by: Stefan Kost
18026
18027         * common/gtk-doc.mak:
18028         * docs/gst/Makefile.am:
18029         * docs/libs/Makefile.am:
18030           Fix distcheck issues for the libraries docs build
18031           Closes #319599.
18032
18033 2005-11-24  Michael Smith <msmith@fluendo.com>
18034
18035         * docs/manual/basics-helloworld.xml:
18036           Fix bug #315027: memory leak in example code in docs.
18037
18038 2005-11-24  Michael Smith <msmith@fluendo.com>
18039
18040         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
18041           Unlock the PREROLL_LOCK in a failure case.
18042
18043 2005-11-24  Wim Taymans  <wim@fluendo.com>
18044
18045         * docs/gst/gstreamer-sections.txt:
18046         * gst/base/gstadapter.h:
18047         * gst/base/gstbasesink.h:
18048         * gst/base/gstbasesrc.h:
18049         * gst/base/gstbasetransform.h:
18050         * gst/base/gstpushsrc.h:
18051         * gst/elements/gstfakesink.h:
18052         * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type):
18053         * gst/elements/gstfakesrc.h:
18054         * gst/elements/gstfilesink.h:
18055         * gst/elements/gstfilesrc.h:
18056         * gst/gst.c:
18057         * gst/gstbin.c:
18058         * gst/gstbuffer.c: (_gst_buffer_copy):
18059         * gst/gstbus.h:
18060         * gst/gstcaps.c:
18061         * gst/gstchildproxy.c:
18062         * gst/gstclock.c:
18063         * gst/gstelement.c:
18064         * gst/gstelementfactory.c:
18065         * gst/gstelementfactory.h:
18066         * gst/gstevent.c:
18067         * gst/gstghostpad.h:
18068         * gst/gstindex.h:
18069         * gst/gstinterface.h:
18070         * gst/gstminiobject.c:
18071         * gst/gstminiobject.h:
18072         * gst/gstpad.c:
18073         * gst/gstpad.h:
18074         * gst/gstpadtemplate.h:
18075         * gst/gstpipeline.h:
18076         * gst/gstpluginfeature.h:
18077         * gst/gstquery.h:
18078         * gst/gstqueue.h:
18079         * gst/gsttaglist.c:
18080         * gst/gsttaglist.h:
18081         * gst/gsttagsetter.c:
18082         * gst/gsttagsetter.h:
18083         * gst/gsttrace.c:
18084         * gst/gsttrace.h:
18085         * gst/gsttypefind.h:
18086         * gst/gsturi.h:
18087         * gst/gstvalue.c:
18088         * gst/net/gstnetclientclock.c:
18089         * gst/net/gstnetclientclock.h:
18090         * gst/net/gstnettimepacket.c:
18091         * gst/net/gstnettimeprovider.c:
18092         * gst/net/gstnettimeprovider.h:
18093         Doc fixes.
18094
18095 2005-11-23  Thomas Vander Stichele  <thomas at apestaart dot org>
18096
18097         * configure.ac: back to HEAD
18098
18099 === release 0.9.6 ===
18100
18101 2005-11-23  Thomas Vander Stichele <thomas at apestaart dot org>
18102
18103         * configure.ac:
18104           releasing 0.9.6, "Always On Time"
18105
18106 2005-11-23  Wim Taymans  <wim@fluendo.com>
18107
18108         * docs/gst/gstreamer-sections.txt:
18109         * gst/glib-compat.c:
18110         * gst/gsttagsetter.c:
18111         * gst/gstvalue.c:
18112         * gst/net/gstnetclientclock.c:
18113         * gst/net/gstnettimepacket.h:
18114         Doc updates.
18115
18116 2005-11-23  Thomas Vander Stichele  <thomas at apestaart dot org>
18117
18118         * docs/faq/using.xml:
18119         * docs/libs/tmpl/gstcontrol.sgml:
18120         * docs/manual/advanced-dparams.xml:
18121         * docs/manual/appendix-checklist.xml:
18122         * docs/manual/basics-elements.xml:
18123         * docs/pwg/other-source.xml:
18124         * docs/random/moving-plugins:
18125         * gst/gstpad.c:
18126         * tools/gst-launch.1.in:
18127           remove mentions of sinesrc
18128
18129 2005-11-23  Michael Smith <msmith@fluendo.com>
18130
18131         * docs/gst/gstreamer-sections.txt:
18132           Update for new API and API changes.
18133         * gst/gstobject.h:
18134           Documentation fix: GST_TRYLOCK -> GST_OBJECT_TRYLOCK
18135         * gst/gstvalue.c:
18136           Documentation typo fix.
18137         * gst/net/gstnettimepacket.c:
18138           Documentation fixes for arguments.
18139
18140 2005-11-23  Jan Schmidt  <thaytan@mad.scientist.com>
18141
18142         * gst/gststructure.c: (gst_structure_get_fraction),
18143         (gst_structure_parse_value),
18144         (gst_structure_fixate_field_nearest_fraction):
18145         * gst/gststructure.h:
18146         * gst/gstutils.c: (gst_util_uint64_scale_int):
18147         * gst/gstutils.h:
18148         * scripts/update-funcnames:
18149         API Changes. 
18150         Rename gst_util_clock_time_scale to gst_util_uint64_scale_int
18151         Make gst_structure_fixate_field_nearest_fraction take a numerator
18152         and denominator argument instead of a GValue
18153         add gst_structure_get_fraction helper function.
18154
18155 2005-11-23  Wim Taymans  <wim@fluendo.com>
18156
18157         * docs/design/part-TODO.txt:
18158         Update TODO.
18159
18160         * gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
18161         * gst/net/gstnetclientclock.h:
18162         Use parent fields for timeout and window_size.
18163
18164 2005-11-23  Andy Wingo  <wingo@pobox.com>
18165
18166         * check/net/gstnetclientclock.c (test_functioning): Adjust to
18167         rate_num/rate_denom change.
18168
18169         * gst/net/gstnetclientclock.c
18170         (gst_net_client_clock_observe_times): Take the SLAVE_LOCK not the
18171         OBJECT_LOCK. Don't call add_observation with the lock.
18172
18173         * gst/gstclock.c (gst_clock_init): Initialize the rate as a
18174         fraction.
18175         (gst_clock_adjust_unlocked): Adjust using uint64_scale and the
18176         rate fraction.
18177         (gst_clock_set_calibration, gst_clock_get_calibration): Change to
18178         deal with rate as a fraction whose numerator and denominator are
18179         GstClockTime values.
18180         (gst_clock_set_master): Only use the OBJECT_LOCK to set the
18181         master; the other fields are protected by the SLAVE_LOCK.
18182         (do_linear_regression): Note that this must be called with the
18183         SLAVE_LOCK.
18184         (gst_clock_add_observation): Take the SLAVE_LOCK, not the
18185         OBJECT_LOCK. Call set_calibration instead of touching the
18186         variables directly.
18187         (gst_clock_set_property, gst_clock_get_property): Protect
18188         master/slave parameters with the SLAVE_LOCK.
18189
18190         * gst/gstclock.h (GstClock): Remove rate, add rate_numerator and
18191         rate_denominator. PR3C1S3. Add a new lock, the SLAVE_LOCK, and
18192         note that all of the instance variables that add_observation and
18193         the set_master functions use are protected by that lock and not
18194         the OBJECT_LOCK.
18195         (GST_CLOCK_SLAVE_LOCK, GST_CLOCK_SLAVE_UNLOCK): New macros.
18196
18197         * gst/gstclock.c (gst_clock_add_observation): No longer requires
18198         the caller to take the object lock.
18199
18200 2005-11-23  Wim Taymans  <wim@fluendo.com>
18201
18202         * gst/gsterror.c: (_gst_core_errors_init):
18203         * gst/gsterror.h:
18204         Add error for clock stuff.
18205
18206         * gst/gstpipeline.c: (gst_pipeline_change_state),
18207         (gst_pipeline_set_clock):
18208         Post clock error when clock cannot be used in a pipeline.
18209
18210 2005-11-23  Stefan Kost  <ensonic@users.sf.net>
18211
18212         * docs/gst/gstreamer-sections.txt:
18213           make two symbols from gstinfo private for the docs
18214         * gst/base/gstcollectpads.h:
18215         * gst/gstutils.c:
18216           fix doc typos, update docs
18217
18218 2005-11-22  Wim Taymans  <wim@fluendo.com>
18219
18220         * gst/base/gstbasesink.c: (gst_base_sink_class_init),
18221         (gst_base_sink_wait), (gst_base_sink_do_sync),
18222         (gst_base_sink_handle_event):
18223         * gst/base/gstbasesink.h:
18224         No need to store the clock, the parent element class already
18225         has it.
18226
18227         * gst/gstbin.c: (gst_bin_set_clock_func), (gst_bin_add_func):
18228         Updates for clock_set returning a gboolean
18229
18230         * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_id_wait),
18231         (gst_clock_id_wait_async), (gst_clock_class_init),
18232         (gst_clock_init), (gst_clock_finalize),
18233         (gst_clock_get_internal_time), (gst_clock_get_time),
18234         (gst_clock_slave_callback), (gst_clock_set_master),
18235         (gst_clock_get_master), (do_linear_regression),
18236         (gst_clock_add_observation), (gst_clock_set_property),
18237         (gst_clock_get_property):
18238         * gst/gstclock.h:
18239         Implement master/slave. When setting a clock as a slave, a
18240         periodic timeout is scheduled to sample master and slave times.
18241         Then the slave clock is recalibrated to match offset and rate
18242         of the master clock.
18243         Update logging a bit.
18244         Add flag so that a clock can state that is cannot be slaved to
18245         another clock.
18246
18247         * gst/gstelement.c: (gst_element_set_clock):
18248         * gst/gstelement.h:
18249         The set clock returns a gboolean for when an element cannot
18250         deal with the selected clock in the pipeline. 
18251
18252         * gst/gstpipeline.c: (gst_pipeline_change_state),
18253         (gst_pipeline_set_clock):
18254         * gst/gstpipeline.h:
18255         Handle the case where the selected clock cannot be set on
18256         the pipeline.
18257
18258         * gst/net/gstnetclientclock.c: (gst_net_client_clock_class_init),
18259         (gst_net_client_clock_init), (gst_net_client_clock_finalize),
18260         (gst_net_client_clock_set_property),
18261         (gst_net_client_clock_get_property),
18262         (gst_net_client_clock_observe_times):
18263         * gst/net/gstnetclientclock.h:
18264         Use regression code in GstClock parent, remove duplicated
18265         functionality.
18266
18267 2005-11-22  Michael Smith <msmith@fluendo.com>
18268
18269         * gst/gstutils.c: (gst_util_clock_time_scale):
18270         * gst/gstutils.h:
18271         * docs/gst/gstreamer-sections.txt:
18272           Rename method to have extra underscore.
18273
18274 2005-11-22  Thomas Vander Stichele  <thomas at apestaart dot org>
18275
18276         * gst/elements/Makefile.am:
18277         * gst/elements/gstfakesink.c: (gst_fake_sink_state_error_get_type):
18278         * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
18279         (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type),
18280         (gst_fake_src_init), (gst_fake_src_prepare_buffer),
18281         (gst_fake_src_alloc_buffer), (gst_fake_src_get_size):
18282         * gst/elements/gstfakesrc.h:
18283         * gst/gstqueue.c: (queue_leaky_get_type):
18284           correctly fix GEnumValues so that nick is the short lowercase
18285           dashed tag
18286         * tools/gst-inspect.c: (print_element_properties_info):
18287           also show the nick, since it's useful to use from parse_launch
18288           syntax
18289           Fixes #322139
18290
18291 2005-11-22  Michael Smith <msmith@fluendo.com>
18292
18293         * gst/gstutils.c: (gst_util_clocktime_scale):
18294         * gst/gstutils.h:
18295         * docs/gst/gstreamer-sections.txt:
18296           Add util method for scaling a clocktime by a fraction. Useful 
18297           implementation is left as an exercise for the reader.
18298
18299 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
18300
18301         * gst/gstvalue.c: (gst_value_collect_fraction_range):
18302         If needed, allocate storage in the destination value during
18303         collection.
18304
18305 2005-11-22  Edward Hervey  <edward@fluendo.com>
18306
18307         * docs/gst/gstreamer-sections.txt:
18308         * gst/Makefile.am:
18309         * gst/gst.h:
18310         * gst/gsturitype.c:
18311         * gst/gsturitype.h:
18312         * gst/gstutils.c: (gst_util_set_object_arg):
18313         * tools/gst-compprep.c: (main):
18314         * tools/gst-inspect.c: (print_element_properties_info):
18315         Removed GstURI, closes bug #321061
18316
18317 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
18318
18319         * check/gst/gststructure.c: (GST_START_TEST):
18320         * gst/gststructure.c: (gst_structure_parse_value):
18321           Oops, broke automatic string type parsing.
18322           Add a test to catch it in future.
18323
18324 2005-11-22  Andy Wingo  <wingo@pobox.com>
18325
18326         * gst/gsttagsetter.c (gst_tag_setter_get_tag_merge_mode) 
18327         (gst_tag_setter_set_tag_merge_mode, gst_tag_setter_get_tag_list):
18328         Actually rename the function implementations. Grr.
18329
18330 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
18331
18332         * check/gst/capslist.h:
18333           Comment test cases
18334         * check/gst/gststructure.c: (GST_START_TEST),
18335         (gst_structure_suite):
18336           Test automatic value type detection in gst_structure_from_string.
18337         * gst/gststructure.c: (gst_structure_parse_value):
18338           Add fraction as a type we try and guess automatically in
18339           caps/structure strings.
18340
18341 2005-11-22  Andy Wingo  <wingo@pobox.com>
18342
18343         patch by: Torsten Schoenfeld <kaffeetisch gmx de>
18344
18345         * gst/gsttagsetter.h:
18346         * gst/gsttagsetter.c: (gst_tag_setter_merge_tags)
18347         (gst_tag_setter_add_tags, gst_tag_setter_add_tag_values)
18348         (gst_tag_setter_add_tag_valist)
18349         (gst_tag_setter_add_tag_valist_values): Renamed from _merge, _add,
18350         _add_values, _add_valist, and _add_valist_values. Since this is an
18351         interface the function suffixes should be more explicit so
18352         language binding don't end up with element.add_valist ->
18353         gst_tag_setter_add_valist, for example. Fixes #322069.
18354
18355 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
18356
18357         * check/gst/gstcaps.c: (GST_START_TEST):
18358           Extend caps string tests to check that a caps to string
18359           conversion is reversible and produces the same caps.
18360
18361         * gst/gststructure.c: (gst_structure_value_get_generic_type):
18362           Output "fraction" as the generic type fraction range, so caps
18363           serialisation and deserialisation works.
18364         * check/gst/capslist.h:
18365         * gst/gstvalue.c: (gst_value_deserialize_fraction):
18366           Support 'MIN' and 'MAX' for deserialising fractions.
18367
18368 2005-11-22  Andy Wingo  <wingo@pobox.com>
18369
18370         * gst/gstevent.h (gst_event_new_new_segment)
18371         (gst_event_parse_new_segment, gst_event_new_buffer_size)
18372         (gst_event_parse_buffer_size, gst_ghost_pad_new_no_target):
18373         Renamed from *_newsegment, *_buffersize, *_notarget.
18374
18375         * scripts/update-funcnames: New script, performs the changes
18376         listed above.
18377
18378 2005-11-22  Wim Taymans  <wim@fluendo.com>
18379
18380         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
18381         Make sure the GstFlowReturn is returned.
18382
18383         * gst/gstbus.c: (gst_bus_add_signal_watch_full),
18384         (gst_bus_add_signal_watch):
18385         * gst/gstbus.h:
18386         add gst_bus_add_signal_watch_full.
18387
18388         * gst/gstplugin.c: (gst_plugin_load_file):
18389         Small style cleanup.
18390
18391 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
18392
18393         * check/gst/gstevent.c: (test_event), (GST_START_TEST):
18394           Block the fakesrc srcpad when we send an event, to avoid
18395           contention on the stream_lock causing random test failures.
18396
18397 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
18398
18399         * check/gst/gstvalue.c: (GST_START_TEST):
18400         * gst/gstvalue.c: (gst_value_fraction_subtract):
18401           Fix subtraction.
18402
18403 2005-11-22  Stefan Kost  <ensonic@users.sf.net>
18404
18405         * gst/gst.h:
18406           include "gstchildproxy.h"
18407         * gst/gstchildproxy.h:
18408         * libs/gst/controller/gstcontroller.h:
18409           use G_GNUC_NULL_TERMINATED
18410
18411 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
18412
18413         * check/gst/capslist.h:
18414         * check/gst/gstcaps.c: (GST_START_TEST):
18415         * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
18416         * gst/gststructure.c: (gst_structure_parse_range),
18417         (gst_structure_fixate_field_nearest_fraction):
18418         * gst/gststructure.h:
18419         * gst/gstvalue.c: (gst_value_init_fraction_range),
18420         (gst_value_free_fraction_range), (gst_value_copy_fraction_range),
18421         (gst_value_collect_fraction_range),
18422         (gst_value_lcopy_fraction_range), (gst_value_set_fraction_range),
18423         (gst_value_set_fraction_range_full),
18424         (gst_value_get_fraction_range_min),
18425         (gst_value_get_fraction_range_max),
18426         (gst_value_serialize_fraction_range),
18427         (gst_value_transform_fraction_range_string),
18428         (gst_value_compare_fraction_range),
18429         (gst_value_deserialize_fraction_range),
18430         (gst_value_intersect_fraction_fraction_range),
18431         (gst_value_intersect_fraction_range_fraction_range),
18432         (gst_value_subtract_fraction_fraction_range),
18433         (gst_value_subtract_fraction_range_fraction),
18434         (gst_value_subtract_fraction_range_fraction_range),
18435         (gst_value_collect_fraction), (gst_value_fraction_multiply),
18436         (gst_value_fraction_subtract), (gst_value_deserialize_fraction),
18437         (gst_value_transform_string_fraction), (_gst_value_initialize):
18438         * gst/gstvalue.h:
18439           Implement fraction ranges and extend GstFraction to support
18440           arithmetic subtraction, as well as deserialization from integer
18441           strings such as "100"
18442           Add a testsuite as for int and double range set operations
18443
18444 2005-11-21  Andy Wingo  <wingo@pobox.com>
18445
18446         * gst/gsttaglist.h: 
18447         * gst/gstcaps.h: 
18448         * gst/gststructure.h: Add glib-compat.h.
18449
18450 2005-11-21  Wim Taymans  <wim@fluendo.com>
18451
18452         * gst/gstbin.c: (gst_bin_change_state_func):
18453         Fix for #321595
18454
18455 2005-11-21  Wim Taymans  <wim@fluendo.com>
18456
18457         * gst/gstsegment.h:
18458         And add a nice define too.
18459
18460 2005-11-21  Wim Taymans  <wim@fluendo.com>
18461
18462         * gst/gstsegment.c: (gst_segment_copy), (gst_segment_get_type),
18463         (gst_segment_new), (gst_segment_free), (gst_segment_init),
18464         (gst_segment_set_duration), (gst_segment_set_last_stop),
18465         (gst_segment_set_seek), (gst_segment_set_newsegment),
18466         (gst_segment_to_stream_time), (gst_segment_to_running_time),
18467         (gst_segment_clip):
18468         * gst/gstsegment.h:
18469         Make binding friendly.
18470
18471 2005-11-21  Andy Wingo  <wingo@pobox.com>
18472
18473         * gst/gsttagsetter.h: 
18474         * gst/gsttaglist.h: 
18475         * gst/gststructure.h: 
18476         * gst/gstcaps.h: 
18477         * gst/gstutils.h: Sprinkle NULL_TERMINATED to taste. Fixes
18478         #319940.
18479
18480         * gst/gsterror.c (_gst_core_errors_init):
18481         * gst/gsterror.h (GST_CORE_ERROR_MISSING_PLUGIN): New error
18482         category.
18483
18484         * gst/Makefile.am (gst_headers): Add glib-compat.h.
18485         (noinst_HEADERS): noinst the -private.
18486
18487 2005-11-21  Michael Smith <msmith@fluendo.com>
18488
18489         * gst/gstplugin.h:
18490         * gst/gstregistry.h:
18491           Remove unimplemented declarations for which we can see no sensible
18492           use.
18493
18494 2005-11-21  Andy Wingo  <wingo@pobox.com>
18495
18496         * gst/gst.h: Include glib-compat.h.
18497
18498         * gst/glib-compat.h: Add G_GNUC_NULL_TERMINATED.
18499
18500         * gst/glib-compat.c: Include the public and the private header.
18501
18502         * gst/glib-compat-private.h: Copied here from glib-compat.h.
18503
18504         * gst/gstvalue.c: 
18505         * gst/gstpad.c: 
18506         * gst/gstregistryxml.c: s/glib-compat/glib-compat-private/.
18507
18508         * check/gst/gstevent.c (create_custom_events): Check that
18509         FLUSH_STOP is serialized.
18510
18511         * check/elements/identity.c (event_func): 
18512         * check/elements/fakesrc.c (event_func): No stream lock, the core
18513         takes it.
18514
18515         * gst/base/gstbasetransform.c (gst_base_transform_event): No more
18516         stream lock taking, yay.
18517
18518         * gst/gstevent.h (GST_EVENT_FLUSH_STOP): Marked as serialized to
18519         ensure that core takes the stream lock.
18520
18521         * gst/base/gstbasesrc.c (gst_base_src_do_seek): Update for stream
18522         lock name change.
18523
18524         * gst/base/gstbasesink.c (gst_base_sink_event): No need to take
18525         the stream lock for EOS, NEWSEGMENT, or FLUSH_STOP, the core does
18526         it already. For the flush start we do take it though so we get the
18527         right preroll state change messages.
18528
18529         * gst/gstqueue.c (gst_queue_sink_activate_push): No need to take
18530         the stream lock here, the core does it for us.
18531
18532         * gst/gstpad.h (GST_PAD_GET_STREAM_LOCK): Renamed from
18533         GST_STREAM_GET_LOCK.
18534         (GST_PAD_STREAM_LOCK, GST_PAD_STREAM_TRYLOCK) 
18535         (GST_PAD_STREAM_UNLOCK, GST_PAD_STREAM_UNLOCK_FULL) 
18536         (GST_PAD_STREAM_LOCK_FULL): Renamed from GST_STREAM_*.
18537         (GST_PAD_GET_PREROLL_LOCK): Renamed from GST_PREROLL_GET_LOCK.
18538         (GST_PAD_PREROLL_LOCK, GST_PAD_PREROLL_TRYLOCK) 
18539         (GST_PAD_PREROLL_UNLOCK): Renamed from GST_PREROLL_*.
18540
18541         * gst/gstpad.c: Update for stream lock name change.
18542
18543         * gst/base/gstbasesink.c: Update for preroll lock name change.
18544
18545 2005-11-21  Wim Taymans  <wim@fluendo.com>
18546
18547         * gst/gstclock.c: (gst_clock_init), (gst_clock_set_master),
18548         (gst_clock_get_master):
18549         * gst/gstclock.h:
18550         * gst/gstsystemclock.c: (gst_system_clock_init):
18551         Convert Clock flags to object flags.
18552         Added methods to manage master/slave clocks.
18553
18554 2005-11-21  Wim Taymans  <wim@fluendo.com>
18555
18556         * check/gst/gstsegment.c: (GST_START_TEST):
18557         * docs/design/part-TODO.txt:
18558         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
18559         (gst_base_sink_event), (gst_base_sink_do_sync),
18560         (gst_base_sink_activate_pull), (gst_base_sink_get_position),
18561         (gst_base_sink_query), (gst_base_sink_change_state):
18562         * gst/base/gstbasesink.h:
18563         * gst/base/gstbasesrc.c: (gst_base_src_init), (gst_base_src_query),
18564         (gst_base_src_default_newsegment),
18565         (gst_base_src_configure_segment), (gst_base_src_do_seek),
18566         (gst_base_src_get_range), (gst_base_src_loop),
18567         (gst_base_src_change_state):
18568         * gst/base/gstbasesrc.h:
18569         * gst/base/gstbasetransform.c:
18570         (gst_base_transform_prepare_output_buf),
18571         (gst_base_transform_event), (gst_base_transform_change_state):
18572         * gst/base/gstbasetransform.h:
18573         * gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
18574         (gst_collect_pads_event):
18575         * gst/base/gstcollectpads.h:
18576         * gst/elements/gstfakesrc.c: (gst_fake_src_init),
18577         (gst_fake_src_create):
18578         * gst/elements/gstfakesrc.h:
18579         * gst/elements/gstidentity.c: (gst_identity_transform_ip):
18580         * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_duration),
18581         (gst_segment_set_last_stop), (gst_segment_set_seek),
18582         (gst_segment_set_newsegment), (gst_segment_to_stream_time),
18583         (gst_segment_to_running_time), (gst_segment_clip):
18584         * gst/gstsegment.h:
18585         More segment updates, replace code in plugins with segment
18586         helper functions.
18587
18588 2005-11-21  Jan Schmidt  <thaytan@mad.scientist.com>
18589
18590         * gst/elements/gstfdsrc.c: (gst_fdsrc_uri_set_uri):
18591         Don't ignore sscanf results
18592
18593 2005-11-21  Andy Wingo  <wingo@pobox.com>
18594
18595         * gst/gstpad.h (GST_IS_PAD_FAST): Removed.
18596
18597         * *.h:
18598         * *.c: Ran scripts/update-macros. Oh yes.
18599
18600         * gst/gstobject.h (GST_OBJECT_GET_LOCK, GST_OBJECT_LOCK)
18601         (GST_OBJECT_TRYLOCK, GST_OBJECT_UNLOCK): Renamed from
18602         GST_GET_LOCK, etc.
18603
18604         * scripts/update-macros: New script. Run it on your files to
18605         change GST_LOCK to GST_OBJECT_LOCK, and the same for UNLOCK as
18606         well.
18607
18608 2005-11-21  Stefan Kost  <ensonic@users.sf.net>
18609
18610         * docs/gst/Makefile.am:
18611         * docs/gst/gstreamer-docs.sgml:
18612         * docs/gst/gstreamer-sections.txt:
18613         * docs/gst/gstreamer.types:
18614         * gst/gstinfo.h:
18615           more docs fixes, add new api to the docs
18616
18617 2005-11-21  Andy Wingo  <wingo@pobox.com>
18618
18619         * gst/gstbin.c (gst_bin_remove_func): Wim claims I can remove this
18620         state_broadcast call.
18621
18622         * gst/gstsegment.c (gst_segment_init): Initialize abs_rate.
18623
18624 2005-11-21  Julien MOUTTE  <julien@moutte.net>
18625
18626         * gst/gstvalue.c: (gst_value_intersect_array): Fix wrong
18627         function calls for arrays.
18628
18629 2005-11-21  Stefan Kost  <ensonic@users.sf.net>
18630
18631         * docs/random/ensonic/media-device-daemon.txt:
18632           wild idea, can this be done?
18633         * docs/gst/gstreamer-sections.txt:
18634         * gst/gsterror.h:
18635         * gst/gstfilter.c:
18636         * gst/gstfilter.h:
18637         * gst/gstplugin.h:
18638         * gst/gstpluginfeature.c:
18639         * gst/gsttrace.c:
18640         * gst/gstvalue.c:
18641         * gst/gstvalue.h:
18642           doc fixes and additions
18643
18644 2005-11-21  Andy Wingo  <wingo@pobox.com>
18645
18646         * gst/base/gstbasesrc.c (GST_LIVE_BROADCAST, GST_LIVE_SIGNAL) 
18647         (GST_LIVE_TIMED_WAIT, GST_LIVE_WAIT, GST_LIVE_GET_COND) 
18648         (GST_LIVE_UNLOCK, GST_LIVE_TRYLOCK, GST_LIVE_LOCK) 
18649         (GST_LIVE_GET_LOCK): Moved here from gstbasesrc.h. They are
18650         private to the basesrc implementation.
18651
18652         * gst/gstpad.c (gst_pad_send_event): Doc more. Take stream lock on
18653         behalf of event function if necessary. It should no longer be
18654         necessary to take the stream lock in pad's event functions. Fixes
18655         #320299.
18656
18657 2005-11-21  Jan Schmidt  <thaytan@mad.scientist.com>
18658         * docs/gst/gstreamer-sections.txt:
18659         * gst/gststructure.c: (gst_structure_fixate_field_nearest_int),
18660         (gst_structure_fixate_field_nearest_double),
18661         (gst_structure_fixate_field_boolean):
18662         * gst/gststructure.h:
18663         * win32/common/libgstreamer.def:
18664         * win32/gstreamer.def:
18665
18666         Rename gst_caps_structure_fixate_* to gst_structure_fixate_*
18667         (#322027)
18668
18669 2005-11-21  Jan Schmidt  <thaytan@mad.scientist.com>
18670
18671         * gst/elements/gstfdsrc.c: (_do_init), (gst_fdsrc_class_init),
18672         (gst_fdsrc_init), (gst_fdsrc_dispose), (gst_fdsrc_set_property),
18673         (gst_fdsrc_uri_get_type), (gst_fdsrc_uri_get_protocols),
18674         (gst_fdsrc_uri_get_uri), (gst_fdsrc_uri_set_uri),
18675         (gst_fdsrc_uri_handler_init):
18676         * gst/elements/gstfdsrc.h:
18677           Port fd:// URI handler from 0.8 to fdsrc
18678
18679 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
18680
18681         * gst/gstvalue.c: (gst_value_transform_fourcc_string),
18682         (gst_value_serialize_fourcc):
18683         * gst/gstvalue.h:
18684           Drop leading '%' from GST_FOURCC_FORMAT, thus making it
18685           consistent with our other format defines (#320324).
18686
18687 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
18688
18689         * gst/gstvalue.c: (gst_value_is_fixed):
18690           Revert previous commit. Value lists are by definition
18691           not fixed, as they are a list of possible values.
18692
18693 2005-11-21  Andy Wingo  <wingo@pobox.com>
18694
18695         * gst/gstevent.h (GST_EVENT_FILLER): Removed. Can be added back
18696         during the stable series if we need it. Fixes #319178.
18697
18698         * gst/gstevent.c (gst_event_new_filler): Removed.
18699
18700         * check/gst/gstevent.c: Update comment about filler events.
18701
18702 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
18703
18704         * gst/gstvalue.c: (gst_value_is_fixed):
18705           Should handle both value arrays and value lists.
18706
18707 2005-11-21  Andy Wingo  <wingo@pobox.com>
18708
18709         patch by: Alessandro Dessina <alessandro nnva org>
18710
18711         * gst/gstvalue.c (gst_value_is_fixed): Use gst_value_array
18712         functions to access arrays. Fixes #321962.
18713
18714 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
18715
18716         * docs/gst/gstreamer.types:
18717           gst_collectpads_get_type => gst_collect_pads_get_type.
18718           
18719         * gst/base/gstbasetransform.c:
18720           Remove unused SIGNAL_HANDOFF enum.
18721
18722 2005-11-21  Andy Wingo  <wingo@pobox.com>
18723
18724         * gst/gstevent.h (GstEventTypeFlags): New data type, the flags of
18725         the event type (upstream, downstream, serialized). Renamed
18726         GST_EVDIR_* and GST_EVSER to GST_EVENT_TYPE_*.
18727         (GstEventType): Use GstEventTypeFlags. Rename CUSTOM_UP to
18728         CUSTOM_UPSTREAM, CUSTOM_DS to CUSTOM_DOWNSTREAM, etc.
18729
18730         * gst/gstevent.c: Update for new CUSTOM event names.
18731
18732         * check/gst/gstevent.c: Update check for new CUSTOM event names.
18733
18734         * gst/gstevent.h:
18735         * gst/gstevent.c (gst_event_type_get_flags): New function. Fixes
18736         bug #319392.
18737
18738 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
18739
18740         * docs/gst/gstreamer-sections.txt:
18741         * win32/common/libgstbase.def:
18742         * win32/libgstbase.def:
18743         * gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
18744         (gst_collect_pads_class_init), (gst_collect_pads_init),
18745         (gst_collect_pads_finalize), (gst_collect_pads_new),
18746         (gst_collect_pads_set_function), (gst_collect_pads_add_pad),
18747         (gst_collect_pads_remove_pad), (gst_collect_pads_is_active),
18748         (gst_collect_pads_collect), (gst_collect_pads_collect_range),
18749         (gst_collect_pads_start), (gst_collect_pads_stop),
18750         (gst_collect_pads_peek), (gst_collect_pads_pop),
18751         (gst_collect_pads_available), (gst_collect_pads_read),
18752         (gst_collect_pads_flush), (gst_collect_pads_event),
18753         (gst_collect_pads_chain):
18754         * gst/base/gstcollectpads.h:
18755           Rename gst_collecpads_foo() => gst_collect_pads_foo(). Document
18756           unimplemented functions as unimplemented. Add padding to
18757           GstCollectData. (#320766, #320423)
18758
18759 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
18760
18761         * gst/gstmessage.c:
18762           Improve docs for DURATION message (usage of duration parameter)
18763           (#320113)
18764
18765 2005-11-20  Wim Taymans  <wim@fluendo.com>
18766
18767         * check/Makefile.am:
18768         * check/gst/gstsegment.c: (GST_START_TEST), (gstevents_suite),
18769         (main):
18770         * gst/Makefile.am:
18771         * gst/gst.h:
18772         * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_duration),
18773         (gst_segment_set_seek), (gst_segment_set_newsegment),
18774         (gst_segment_to_stream_time), (gst_segment_to_running_time),
18775         (gst_segment_clip):
18776         * gst/gstsegment.h:
18777         Added segment helper structure and methods. Not fully implemented
18778         yet.
18779         Added segment check.
18780
18781 2005-11-20  Jan Schmidt  <thaytan@mad.scientist.com>
18782
18783         * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
18784           Add a deserialisation test for fractions
18785         * examples/metadata/read-metadata.c: (message_loop),
18786         (make_pipeline), (main):
18787           Fix up metadata reading sample.
18788         * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
18789           Debug format fix
18790         * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
18791           Don't try and fixate empty caps
18792         * gst/gst_private.h:
18793           Wrap in G_BEGIN_DECLS/G_END_DECLS
18794         * gst/gstvalue.c: (gst_value_collect_fraction),
18795         (gst_value_set_fraction), (gst_value_get_fraction_denominator),
18796         (gst_value_transform_string_fraction),
18797         (gst_value_compare_fraction):
18798           Add some extra guards to ensure that we don't end up 
18799           with an invalid denominator of 0 in a gstfraction and
18800           that fractions always get reduced.
18801
18802 2005-11-20  Wim Taymans  <wim@fluendo.com>
18803
18804         * docs/gst/gstreamer-sections.txt:
18805         * gst/gstbuffer.h:
18806         * gst/gstelement.c:
18807         * gst/gstformat.c:
18808         * gst/gstformat.h:
18809         * gst/gstindex.h:
18810         * gst/gstquery.c:
18811         * gst/gstquery.h:
18812         * gst/gstvalue.c:
18813         Doc fixes.
18814
18815 2005-11-20  Wim Taymans  <wim@fluendo.com>
18816
18817         * docs/design/part-TODO.txt:
18818         * gst/gstcaps.h:
18819         Make a proper enum of the flag.
18820
18821 2005-11-19  Wim Taymans  <wim@fluendo.com>
18822
18823         * docs/design/part-TODO.txt:
18824         * gst/gstformat.c: (_gst_format_initialize), (gst_format_get_name),
18825         (gst_format_to_quark), (gst_format_register):
18826         * gst/gstformat.h:
18827         * gst/gstquery.c: (_gst_query_initialize),
18828         (gst_query_type_get_name), (gst_query_type_to_quark),
18829         (gst_query_type_register):
18830         * gst/gstquery.h:
18831         Add type to quark and type to string conversions.
18832
18833 2005-11-19  Andy Wingo  <wingo@pobox.com>
18834
18835         * gst/gstbuffer.h (GST_BUFFER_FLAG_ORIGINAL): Removed. Fixes
18836         #320097.
18837
18838 2005-11-19  Wim Taymans  <wim@fluendo.com>
18839
18840         * docs/design/part-TODO.txt:
18841         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_provide_clock_func),
18842         (gst_bin_add_func), (gst_bin_remove_func), (bin_bus_handler),
18843         (gst_bin_handle_message_func):
18844         * gst/gstbin.h:
18845         Make message handling overridable.
18846
18847 2005-11-19  Andy Wingo  <wingo@pobox.com>
18848
18849         * gst/gstpad.h (GST_PAD_IS_USABLE): Removed. Fixes #321235.
18850
18851         * gst/gstclock.h:
18852         * gst/gstclock.c (GstClock, GstClockClass): Change resolution to
18853         be a GstClockTime.
18854         (gst_clock_set_resolution, gst_clock_get_resolution): Resolution
18855         is a GstClockTime. Fixes #321710.
18856
18857         * gst/gstclock.h (GstClock): Remove offset property. Add
18858         internal_calibration and external_calibration. Fix padding. Pad
18859         also by GstClockTime so we don't run into problems.
18860
18861         * gst/gstclock.c (gst_clock_set_rate_offset): Remove.
18862         (gst_clock_get_rate_offset): Remove.
18863         (gst_clock_set_time_adjust): Remove. Fixes #321712.
18864
18865         * gst/gstutils.h:
18866         * gst/gstutils.c (g_static_rec_cond_wait)
18867         (g_static_rec_cond_timed_wait): Removed, no longer needed.
18868
18869         * gst/gstbin.c: Remove terrible continue_state prototype.
18870
18871         * gst/gstelement.h (gst_element_continue_state): Make public.
18872
18873         * gst/gstelement.h:
18874         * gst/gstelement.c (gst_element_commit_state): Removed, replaced
18875         by continue_state. Fixes #319389.
18876
18877         * gst/gstindex.h (GstIndexFilter): Actually pass on the user_data.
18878         Really fixes #168438. However I don't see anywhere where the
18879         filter function is called... stupid GStreamer...
18880         
18881         * gst/gstindex.h (GstIndex): Add field for user_data_destroy. We
18882         don't have a dispose function, so it won't get called when the
18883         object is unreffed, but oh well!
18884
18885         * gst/gstindex.c (gst_index_set_filter_full): New API function,
18886         allows a destroy function to be set so user_data can be freed.
18887         Fixes #168438.
18888         (gst_index_set_filter): Call gst_index_set_filter_full.
18889
18890         * check/gst/gstvalue.c (test_string): Add test for bug #165650.
18891
18892         * gst/gstvalue.c (gst_string_wrap): Trying to serialize a NULL
18893         string should produce an error, given the lack of a way to
18894         represent NULL strings. Fixes #165650.
18895         
18896         * gst/gstvalue.h: 
18897         * gst/gstvalue.c (gst_value_array_append_value) 
18898         (gst_value_array_prepend_value, gst_value_array_get_size) 
18899         (gst_value_array_get_value): New API, copied from
18900         gst_value_list_*, only operates on arrays.
18901         (gst_value_list_append_value, gst_value_list_prepend_value) 
18902         (gst_value_list_concat, gst_value_list_get_size) 
18903         (gst_value_list_get_value): Only operate on lists. Fixes #156633.
18904
18905         * gst/gstvalue.c (gst_value_init_list_or_array): Renamed from
18906         init_list, because it works on both.
18907         (copy_garray_of_gstvalue): Renamed from gst_value_list_copy_array.
18908         (gst_value_copy_list_or_array): Renamed from copy_list.
18909         (gst_value_free_list_or_array): Renamed from free_list.
18910         (gst_value_collect_list_or_array): Renamed from collect_list.
18911         (gst_value_lcopy_list_or_array): Renamed from lcopy_list.
18912         (gst_value_list_or_array_peek_pointer): Renamed from
18913         list_peek_pointer.
18914         (_gst_value_array_value_table, _gst_value_list_value_table):
18915         Update value table functions.
18916         (gst_value_compare_list_or_array): Renamed from compare_list.
18917
18918         * gsttaglist.h: Whoops, foreach function returns void. Also fix
18919         some constness.
18920
18921         * gst/gsttaglist.c:
18922         * gst/gsttaglist.h (gst_tag_list_foreach): Operates on a const
18923         GstTagList*. Fixes #143472.
18924
18925         * gst/gststructure.h: Clarify what the foreach/map functions can
18926         or can't do to their arguments.
18927
18928 2005-11-18  Wim Taymans  <wim@fluendo.com>
18929
18930         * gst/gstclock.c: (gst_clock_set_calibration),
18931         (gst_clock_get_calibration):
18932         Doc and API fixes.
18933         Calibration can be set with internal time equal to current
18934         internal time too.
18935
18936 2005-11-18  Thomas Vander Stichele  <thomas at apestaart dot org>
18937
18938         * gst/gsterror.c:
18939         * gst/gsterror.h:
18940           document
18941
18942 2005-11-18  Andy Wingo  <wingo@pobox.com>
18943
18944         * configure.ac: 
18945         * pkgconfig/gstreamer-net.pc.in:
18946         * pkgconfig/gstreamer-net-uninstalled.pc.in:
18947         * pkgconfig/Makefile.am: Add net pkgconfig files.
18948
18949 2005-11-18  Stefan Kost  <ensonic@users.sf.net>
18950
18951         * gst/gstcaps.c:
18952         * gst/gstghostpad.c:
18953         * gst/gsttrace.c:
18954         * gst/gstvalue.c:
18955         * gst/gstvalue.h:
18956           docs fixes
18957
18958 2005-11-18  Andy Wingo  <wingo@pobox.com>
18959
18960         * gst/net/gstnetclientclock.c: Turn off debugging.
18961
18962         * check/net/gstnetclientclock.c (test_functioning): Assert that the
18963         times connverge somewhat. Can't make a real test.
18964
18965         * gst/net/gstnetclientclock.c (do_linear_regression): Use all
18966         integer arithmetic. Return the minimum of the domain, which can be
18967         set as "internal" for gst_clock_set_calibration.
18968         (gst_net_client_clock_observe_times): Call _set_calibration.
18969         (gst_net_client_clock_new): Call _set_calibration instead of
18970         rate_offset.
18971
18972         * check/net/gstnetclientclock.c (test_functioning): Use the right
18973         adjustment api.
18974
18975         * gst/gstclock.h:
18976         * gst/gstclock.c (gst_clock_get_calibration) 
18977         (gst_clock_set_calibration): New functions, obsolete the ones I
18978         added yesterday. Doh. Precision issues mean we have to extrapolate
18979         from a point in the more recent past than 1970.
18980         (gst_clock_get_rate_offset, gst_clock_set_rate_offset): Mark as
18981         obsolete.
18982         (gst_clock_adjust_unlocked): Use the right calibration data.
18983
18984 2005-11-18  Edward Hervey  <edward@fluendo.com>
18985
18986         * gst/base/gstbasesink.c: (gst_base_sink_change_state): 
18987         Also reset the ->current_* values in READY->PAUSED
18988
18989 2005-11-18  Andy Wingo  <wingo@pobox.com>
18990
18991         * gst/net/gstnetclientclock.c (gst_net_client_clock_thread):
18992         Whoops, check the right fd. Also add some debugging.
18993         (gst_net_client_clock_observe_times): Adjust for int64 offset.
18994         (do_linear_regression): Add a crapload of debugging. Subtract off
18995         the minimum values from the input series to discard unneeded bits.
18996         Use only int arithmetic. There is still double arithmetic when
18997         calculating the intercept that needs fixing. Return boolean to
18998         indicate success; FALSE would mean the domain or range is too
18999         great. Still needs fixes.
19000
19001 2005-11-18  Wim Taymans  <wim@fluendo.com>
19002
19003         * gst/base/gstbasesink.c: (gst_base_sink_get_position):
19004         For the current position in stream time, we need to subtract
19005         accumulated time.
19006         
19007         * gst/gstsystemclock.c: (gst_system_clock_async_thread):
19008         Release lock before calling the callback function of async
19009         entries.
19010
19011 2005-11-18  Andy Wingo  <wingo@pobox.com>
19012
19013         * gst/net/gstnetclientclock.c (gst_net_client_clock_class_init):
19014         Port goes all the way to MAXUINT16.
19015
19016         * gst/net/gstnettimeprovider.c: Make the port range the same as
19017         for the kernel: 0 assigns, otherwise ports are less than
19018         MAXUINT16.
19019
19020         * check/net/gstnettimeprovider.c: Adapt for 0 == kernel assigns
19021         port change.
19022
19023         * check/net/gstnetclientclock.c (test_functioning): Add the start
19024         of another test. 
19025
19026 2005-11-18  Wim Taymans  <wim@fluendo.com>
19027
19028         * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
19029         (gst_bin_remove_func), (bin_bus_handler):
19030         * gst/gstbin.h:
19031         Removing a clock provider from a bin, triggers a clock lost message
19032         so that a new clock will be selected.
19033         Adding a clock to a bin triggers a clock provider message.
19034         Make sure we reselect a clock when we received a clock lost message.
19035         Keep a reference to the element that provided the clock.
19036
19037 2005-11-18  Andy Wingo  <wingo@pobox.com>
19038
19039         * gst/net/gstnetclientclock.c (gst_net_client_clock_new): Adjust
19040         the clock initially so it produces values around the base time.
19041         (gst_net_client_clock_class_init): Typo fix.
19042         (gst_net_client_clock_thread): Add note on when the socket gets
19043         closed.
19044
19045 2005-11-17  Wim Taymans  <wim@fluendo.com>
19046
19047         * gst/net/gstnetclientclock.c: (gst_net_client_clock_finalize):
19048         Free remote and local time arrays.
19049
19050 2005-11-17  Wim Taymans  <wim@fluendo.com>
19051
19052         * gst/net/gstnetclientclock.c: (do_linear_regression),
19053         (gst_net_client_clock_do_select), (gst_net_client_clock_thread):
19054         Fix compilation, uninitialized vars and a forgotten continue.
19055
19056 2005-11-17  Andy Wingo  <wingo@pobox.com>
19057
19058         * check/Makefile.am (check_PROGRAMS): 
19059         * check/net/gstnetclientclock.c: Add a most minimal test for the
19060         net client clock. More to come later.
19061
19062         * gst/net/gstnet.h: 
19063         * gst/net/Makefile.am: Add netclientclock.
19064
19065         * gst/net/gstnetclientclock.h:
19066         * gst/net/gstnetclientclock.c: New files, implement an untested
19067         GstClock that takes its time from a network time provider.
19068         Implements the algorithm in network-clock.scm.
19069
19070         * tests/network-clock.scm (*window-size*): Rename from
19071         *queue-length*.
19072         * tests/network-clock.scm (network-time): 
19073         * tests/network-clock-utils.scm (q-push): Update callers.
19074
19075 2005-11-17  Wim Taymans  <wim@fluendo.com>
19076
19077         * gst/gstbin.c: (gst_bin_provide_clock_func),
19078         (gst_bin_sort_iterator_new):
19079         And unref the child too..
19080
19081 2005-11-17  Wim Taymans  <wim@fluendo.com>
19082
19083         * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
19084         (gst_bin_sort_iterator_new), (gst_bin_iterate_sorted):
19085         Refactor the sort iterator so it can be used while holding the
19086         LOCK too.
19087         Make clock selection select a clock closest to the source.
19088
19089 2005-11-17  Michael Smith <msmith@fluendo.com>
19090
19091         * gst/gstclock.c: (gst_clock_init), (gst_clock_adjust_unlocked),
19092         (gst_clock_set_rate_offset), (gst_clock_get_rate_offset):
19093         * gst/gstclock.h:
19094           Anonymous structs are a gcc (and some other compilers) extension, so
19095           don't use them. Since this is only for ABI-compatibility, and our
19096           API/ABI freeze is over in a few days, this whole thing will only
19097           last a few days, so don't bother trying to think up a meaningful
19098           name for the struct.
19099
19100 2005-11-17  Andy Wingo  <wingo@pobox.com>
19101
19102         * gst/gstclock.h (GstClock): Add rate and offset properties,
19103         preserving ABI stability. Add rate/offset accessors. Will file bug
19104         for the freeze break.
19105
19106         * gst/gstclock.c (gst_clock_adjust_unlocked): Implement using rate
19107         and offset, trying to keep precision and avoiding
19108         underflow/overflow.
19109         (gst_clock_set_rate_offset, gst_clock_get_rate_offset): New
19110         functions. Make gst_clock_set_time_adjust obsolete.
19111         (gst_clock_set_time_adjust): Note that this function is obsolete.
19112         Will file bug soon.
19113
19114         * gst/base/gstbasetransform.h: Make the ABI-stability hack
19115         greppable by using GST_PADDING-1+1.
19116
19117 2005-11-17  Torsten Schoenfeld  <kaffeetisch at gmx dot net>
19118
19119         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
19120
19121         * gst/gstmessage.c: (gst_message_parse_clock_lost):
19122           Assertion should check for CLOCK_LOST, not NEW_CLOCK (#321648).
19123
19124         * gst/gstpadtemplate.h:
19125         * gst/gstpluginfeature.h:
19126           Don't use c++ style comments in headers (#321638).
19127
19128 2005-11-16  Andy Wingo  <wingo@pobox.com>
19129
19130         * gst/net/gstnettimepacket.c (gst_net_time_packet_send): Free
19131         buffer.
19132
19133         * check/net/gstnettimeprovider.c: Check to see that the time
19134         provider actually provides times. Works, yo!
19135
19136 2005-11-16  Wim Taymans  <wim@fluendo.com>
19137
19138         * check/Makefile.am:
19139         Enable more tests.
19140
19141         * check/elements/fakesrc.c: (GST_START_TEST):
19142         Set element to NULL before disposing it.
19143
19144 2005-11-16  Andy Wingo  <wingo@pobox.com>
19145
19146         * gst/net/Makefile.am:
19147         * gst/net/gstnet.h:
19148         * gst/net/gstnettimeprovider.c: 
19149         * gst/net/gstnettimeprovider.h: Use the timepacket stuff in the
19150         provider, include it from gstnet.h, and add it to the build.
19151
19152         * gst/net/gstnettimepacket.h: 
19153         * gst/net/gstnettimepacket.c: New files, abstracts out the packet
19154         sending and receiving.
19155
19156 2005-11-16  Wim Taymans  <wim@fluendo.com>
19157
19158         * check/Makefile.am:
19159         Enable valgrind check.
19160
19161         * gst/elements/gstfakesrc.c: (gst_fake_src_alloc_parent),
19162         (gst_fake_src_alloc_buffer):
19163         Fix memleak.
19164
19165 2005-11-16  Wim Taymans  <wim@fluendo.com>
19166
19167         * gst/net/gstnettimeprovider.c: (gst_net_time_provider_finalize):
19168         Call parent finalize too.
19169
19170 2005-11-16  Wim Taymans  <wim@fluendo.com>
19171
19172         * check/Makefile.am:
19173         Enable valgrind check that should work fine now.
19174
19175         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
19176         * gst/gstqueue.c: (gst_queue_init):
19177         Fix memleaks in pad allocation.
19178
19179 2005-11-16  Andy Wingo  <wingo@pobox.com>
19180
19181         * gst/net/Makefile.am:
19182         * gst/net/gstnet.h: New part of core to hold network elements and
19183         objects. Put in core because it exposes API that applications want
19184         to use. The library is named libgstnet-tempname right now because
19185         of the existing libgstnet in gst-plugins-base. Solution is
19186         probably to rename the one in plugins-base; will file a bug for
19187         the freeze break.
19188
19189         * gst/net/gstnettimeprovider.c: 
19190         * gst/net/gstnettimeprovider.h: New object to export a GstClock's
19191         get_time call over the network.
19192
19193         * configure.ac: 
19194         * gst/Makefile.am (lib_LTLIBRARIES): Add gstnet to the build.
19195
19196         * check/Makefile.am:
19197         * check/net/gstnettimeprovider.c: A most minimal test suite. Will
19198         get additions shortly.
19199
19200 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
19201
19202         * gst/gstpad.c: (gst_pad_new_from_static_template):
19203         * gst/gstpad.h:
19204           add gst_pad_new_from_static_template functions
19205         * gst/check/gstcheck.c: (gst_check_setup_src_pad),
19206         (gst_check_setup_sink_pad):
19207         * gst/elements/gsttee.c: (gst_tee_init):
19208           and use them
19209
19210 2005-11-16  Wim Taymans  <wim@fluendo.com>
19211
19212         * gst/gstpad.c: (gst_pad_pause_task):
19213         Removed warning, it's not really an error either.
19214
19215 2005-11-16  Wim Taymans  <wim@fluendo.com>
19216
19217         * gst/base/gstbasetransform.c:
19218         (gst_base_transform_prepare_output_buf),
19219         (gst_base_transform_event):
19220         Check if the caps are NULL, this can happen if the element
19221         is shutting down and the pad caps are set to NULL.
19222
19223 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
19224
19225         * gst/elements/gsttee.c: (gst_tee_init):
19226           fix pad template leak in tee
19227
19228 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
19229
19230         * gst/glib-compat.c: (g_value_dup_gst_object):
19231         * gst/glib-compat.h:
19232         * gst/gstpad.c: (gst_pad_set_property):
19233           use gst_object_ref when setting the pad template; this will
19234           trigger the pad template leaks on GLib 2.6 and the slaves
19235
19236 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
19237
19238         * gst/glib-compat.c: (gst_flags_get_first_value):
19239         * gst/glib-compat.h:
19240         * gst/gstregistryxml.c:
19241           remove functions copied from GLib 2.6
19242
19243 2005-11-16  Michael Smith <msmith@fluendo.com>
19244
19245         * gst/Makefile.am:
19246           Don't link against VALGRIND_LIBS. That was always the wrong thing to
19247           do, but only breaks with newer valgrind versions. We're not a
19248           valgrind tool, we have no link-time dependencies on libcoregrind.
19249
19250 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
19251
19252         * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
19253           some debug changes
19254         * gst/gstmessage.h:
19255           typo fixes
19256
19257 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
19258
19259         * gst/base/gstbasesrc.c: (gst_base_src_init):
19260         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
19261         * gst/gstqueue.c: (gst_queue_init):
19262         * gst/gstregistryxml.c: (load_feature):
19263           Revert all these unrefs, they don't even pass make check !
19264
19265 2005-11-15  Johan Dahlin  <johan@gnome.org>
19266
19267         * gst/base/gstbasesrc.c: (gst_base_src_init):
19268         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
19269         * gst/gstqueue.c: (gst_queue_init): 
19270         Free pad templates, fixes a couple of leaks.
19271
19272 2005-11-15  Daniel Fischer  <dan at f3c dot com>
19273
19274         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
19275
19276         * gst/gstpad.c: (gst_pad_get_property):
19277           GST_PAD_PAD_TEMPLATE(pad) gets the pad template, while
19278           GST_PAD_TEMPLATE(pad) does a cast. We want the former here.
19279           (#321452)
19280
19281 2005-11-15  Wim Taymans  <wim@fluendo.com>
19282
19283         * gst/gstevent.c:
19284         Small doc update.
19285
19286 2005-11-15  Andy Wingo  <wingo@pobox.com>
19287
19288         * gst/gstelement.c (gst_element_set_base_time): Add debugging.
19289
19290         * gst/gstpipeline.c (gst_pipeline_set_new_stream_time): Document
19291         using GST_CLOCK_TIME_NONE to disable base time management.
19292         (do_pipeline_seek, gst_pipeline_change_state): Don't reset stream
19293         time if it was NONE before.
19294         (gst_pipeline_change_state): Only munge the base time if
19295         stream_time != GST_CLOCK_TIME_NONE.
19296
19297         * check/gst/gstpipeline.c (test_base_time): Punt around the
19298         problem of the probe not being called, because that's not the
19299         issue I'm looking at. Add a check that setting stream_time to NONE
19300         disables base time management.
19301         
19302 2005-11-15  Wim Taymans  <wim@fluendo.com>
19303
19304         * gst/base/gstbasesink.c: (gst_base_sink_change_state):
19305         segment_stop == -1 at startup.
19306
19307         * gst/base/gstbasetransform.c: (gst_base_transform_event),
19308         (gst_base_transform_change_state):
19309         Init segment values at start.
19310
19311 2005-11-15  Wim Taymans  <wim@fluendo.com>
19312
19313         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
19314         0 segment values are 0 in any format.
19315
19316         * gst/base/gstbasetransform.c: (gst_base_transform_event):
19317         * gst/base/gstbasetransform.h:
19318         Parse newsegment correctly in basetransform
19319
19320         * gst/elements/gstidentity.c: (gst_identity_transform_ip):
19321         Sync to clock using updated segment values.
19322
19323 2005-11-15  Andy Wingo  <wingo@pobox.com>
19324
19325         * check/gst/gstpipeline.c (test_base_time): Add check that the
19326         base time and stream time are reset correctly.
19327
19328 2005-11-15  Wim Taymans  <wim@fluendo.com>
19329
19330         * docs/design/part-TODO.txt:
19331         Some more TODO items.
19332
19333 2005-11-15  Andy Wingo  <wingo@pobox.com>
19334
19335         * gst/elements/gstfakesrc.c (gst_fake_src_create): It's not an
19336         error if the user selected "no clock" as the clocking method.
19337
19338         * check/gst/gstpipeline.c (test_base_time): New test for buffer
19339         timestamps with live capture.
19340
19341         * gst/elements/gstfakesrc.c (gst_fake_src_create): If the datarate
19342         is 0 but we are a live source, timestamp the buffers using the
19343         element's clock.
19344
19345 2005-11-14  Stefan Kost  <ensonic@users.sf.net>
19346
19347         * docs/gst/gstreamer-sections.txt:
19348         * gst/gsterror.c:
19349         * gst/gstghostpad.c:
19350         * gst/gstobject.h:
19351         * gst/gstxml.c:
19352           more section docs
19353
19354 2005-11-14  Wim Taymans  <wim@fluendo.com>
19355
19356         * common/gst.supp:
19357           add suppressions from Wim's Debian machine
19358
19359 2005-11-14  Thomas Vander Stichele  <thomas at apestaart dot org>
19360
19361         * common/gst.supp:
19362           add suppressions from Andy's AMD64 Ubuntu machine
19363
19364 2005-11-14  Andy Wingo  <wingo@pobox.com>
19365
19366         * gst/gstpad.c (gst_pad_set_active): Change docs; parent's
19367         STATE_LOCK not necessary. Fixes #311489.
19368
19369         * gst/gsterror.c (FILE_A_BUG): Be polite *and* helpful. Fixes
19370         #305291.
19371
19372         * gst/gstindex.c (gst_index_add_object): Note in the docs that
19373         this function is not implemented.
19374
19375 2005-11-14  Julien MOUTTE  <julien@moutte.net>
19376
19377         * gst/base/gstbasetransform.c:
19378         (gst_base_transform_prepare_output_buf):
19379         Ref the source pad caps while we need them.
19380         Fixes (#321386)
19381
19382 2005-11-11  Wim Taymans  <wim@fluendo.com>
19383
19384         * docs/gst/gstreamer-sections.txt:
19385         Added some docs for GstCollectData.
19386
19387         * gst/base/gstadapter.c:
19388         Some small code example fix.
19389
19390         * gst/base/gstcollectpads.c:
19391         * gst/base/gstcollectpads.h:
19392         Document some more.
19393
19394 2005-11-11  Thomas Vander Stichele  <thomas at apestaart dot org>
19395
19396         * configure.ac: back to HEAD
19397
19398 === release 0.9.5 ===
19399
19400 2005-11-11  Thomas Vander Stichele <thomas at apestaart dot org>
19401
19402         * configure.ac:
19403           releasing 0.9.5, "Bike Lunch Day"
19404
19405 2005-11-11  Wim Taymans  <wim@fluendo.com>
19406
19407         * gst/gstbuffer.c: (_gst_buffer_copy):
19408         Copy more flags.
19409
19410         * gst/gstcaps.c: (gst_caps_is_equal):
19411         Fix some docs.
19412         Make _is_equal fast in the trivial cases.
19413
19414         * gst/gstminiobject.c:
19415         * gst/gstminiobject.h:
19416         More docs. Spifify .h file.
19417
19418         * gst/gstutils.c:
19419         Small doc update.
19420
19421 2005-11-11  Wim Taymans  <wim@fluendo.com>
19422
19423         * gst/base/gstbasetransform.c:
19424         (gst_base_transform_prepare_output_buf),
19425         (gst_base_transform_handle_buffer):
19426         Small cleanups.
19427         If we're processing a buffer and need to allocate an output
19428         buffer, we cannot accept a format change. If we did get a 
19429         format change, we have to alloc a buffer ourselves of the 
19430         right size.
19431
19432 2005-11-11  Wim Taymans  <wim@fluendo.com>
19433
19434         * gst/gstpad.c: (gst_pad_get_caps), (gst_pad_peer_get_caps):
19435         While checking the flag for reentrancy in the gstcaps function
19436         is nice to detect recursive invocations, it also makes it 
19437         impossible to call getcaps from multiple threads, which must be
19438         possible. So, checking for recursive calls has to go.
19439
19440 2005-11-11  Michael Smith <msmith@fluendo.com>
19441
19442         * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
19443           Don't sync on buffers that fall partially outside our current
19444           segment. Prevents an assertion failure/abort playing some files.
19445
19446 2005-11-10  Andy Wingo  <wingo@pobox.com>
19447
19448         * check/gst/gstbin.c (test_message_state_changed_children): Style
19449         fix..
19450
19451         * gst/gstbus.c (poll_destroy, poll_func, gst_bus_poll): Implement
19452         gst_bus_poll with the signal watch. Ensures that poll and a signal
19453         watch see the same messages.
19454
19455         * check/gst/gstbus.c (test_watch_with_poll): New test, checks that
19456         a poll and a watch at the same time get the same messages.
19457
19458 2005-11-10  Thomas Vander Stichele  <thomas at apestaart dot org>
19459
19460         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps):
19461         * gst/gstcaps.c: (gst_caps_intersect):
19462           Don't call gst_caps_do_simplify - it doesn't respect order of caps
19463           and it's not needed.
19464
19465 2005-11-10  Wim Taymans  <wim@fluendo.com>
19466
19467         * docs/design/part-TODO.txt:
19468         Updated todo.
19469
19470 2005-11-10  Wim Taymans  <wim@fluendo.com>
19471
19472         * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
19473         * gst/base/gstbasesrc.c: (gst_base_src_wait),
19474         (gst_base_src_do_sync), (gst_base_src_get_range):
19475         Implement clock sync in base class.
19476
19477 2005-11-10  Thomas Vander Stichele  <thomas at apestaart dot org>
19478
19479         patch by: Tim-Philipp Müller <tim at centricular dot net>
19480
19481         * gst/gststructure.c: (gst_structure_parse_field),
19482         (gst_structure_from_string):
19483           Forward-port a 0.8 patch to handle escaped spaces in structure string,
19484           so that gst_parse_launch() can deal with spaces in filtered link
19485           caps (fixes #164479)
19486         * check/gst/capslist.h:
19487         * check/gst/gststructure.c: (GST_START_TEST):
19488           add unit tests for this change
19489
19490 2005-11-10  Wim Taymans  <wim@fluendo.com>
19491
19492         * docs/gst/gstreamer-sections.txt:
19493         * gst/gstelement.c:
19494         * gst/gstelement.h:
19495         Fix docs, move some STATE macros to private.
19496
19497 2005-11-10  Wim Taymans  <wim@fluendo.com>
19498
19499         * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
19500         Added check for bug #317341
19501
19502         * gst/gstbuffer.c:
19503         * gst/gstbuffer.h:
19504         Some more spiffifying.
19505
19506         * gst/gstghostpad.c: (gst_ghost_pad_do_link):
19507         Call peer linkfunction if we are a source pad. Totally fixes
19508         #317341
19509
19510         * gst/gstpad.c:
19511         Update docs, source pads should call the peer linkfunction
19512         so they can atomically perform the pad link.
19513
19514 2005-11-09  Wim Taymans  <wim@fluendo.com>
19515
19516         * gst/gstbuffer.c:
19517         * gst/gstbuffer.h:
19518         Uber-spiffy-spiffify some more.
19519
19520 2005-11-09  Tim-Philipp Müller  <tim at centricular dot net>
19521
19522         * gst/base/gstcollectpads.c: (gst_collectpads_add_pad):
19523         * gst/elements/gstfilesink.c: (gst_file_sink_init):
19524         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
19525         * gst/gstghostpad.c: (gst_ghost_pad_set_internal),
19526         (gst_ghost_pad_init), (gst_ghost_pad_new_notarget):
19527         * gst/gstpad.c: (gst_pad_init):
19528           Use GST_DEBUG_FUNCPTR() more extensively.
19529
19530 2005-11-09  Wim Taymans  <wim@fluendo.com>
19531
19532         * gst/gstobject.c: (gst_object_class_init):
19533         * gst/gstobject.h:
19534         Documentation fixes.
19535
19536 2005-11-09  Edward Hervey  <edward@fluendo.com>
19537
19538         * gst/gsttypefindfactory.c:
19539         Fix docs.
19540         
19541 2005-11-09  Edward Hervey  <edward@fluendo.com>
19542
19543         * gst/base/gsttypefindhelper.c:
19544         * gst/gsttypefind.c:
19545         * gst/gsttypefind.h:
19546         Fix docs.
19547
19548 2005-11-09  Wim Taymans  <wim@fluendo.com>
19549
19550         * gst/gstiterator.c:
19551         Fix revision data.
19552
19553         * gst/gsttask.c:
19554         * gst/gsttask.h:
19555         Fix docs.
19556
19557 2005-11-09  Wim Taymans  <wim@fluendo.com>
19558
19559         * gst/gstevent.h:
19560         * gst/gsturi.h:
19561         Fix docs.
19562
19563 2005-11-09  Wim Taymans  <wim@fluendo.com>
19564
19565         * docs/gst/gstreamer-sections.txt:
19566         Moved the message async delivery private lock and cond
19567         to the private section.
19568
19569         * gst/gstmessage.c:
19570         * gst/gstmessage.h:
19571         Fixed docs.
19572
19573 2005-11-09  Edward Hervey  <edward@fluendo.com>
19574
19575         * docs/gst/gstreamer-sections.txt:
19576         * gst/gsturi.c:
19577         * gst/gsturi.h:
19578         Document GstURIHandler
19579
19580 2005-11-09  Wim Taymans  <wim@fluendo.com>
19581
19582         * gst/gstiterator.c: (gst_iterator_fold), (gst_iterator_foreach),
19583         (gst_iterator_find_custom):
19584         * gst/gstiterator.h:
19585         Fix iterator docs.
19586
19587 2005-11-09  Wim Taymans  <wim@fluendo.com>
19588
19589         * gst/gstbin.h:
19590         Document another field.
19591
19592         * gst/gststructure.c:
19593         * gst/gststructure.h:
19594         Document.
19595
19596 2005-11-09  Wim Taymans  <wim@fluendo.com>
19597
19598         * gst/gstbin.h:
19599         Documented structs.
19600
19601 2005-11-09  Wim Taymans  <wim@fluendo.com>
19602
19603         * docs/gst/gstreamer-sections.txt:
19604         Added some new macros.
19605
19606         * gst/gstclock.c:
19607         * gst/gstclock.h:
19608         * gst/gstobject.h:
19609         Docs updates.
19610
19611 2005-11-09  Wim Taymans  <wim@fluendo.com>
19612
19613         * docs/design/part-TODO.txt:
19614         Some more items for the TODO
19615
19616         * gst/gstcaps.c:
19617         * gst/gstcaps.h:
19618         Document GstCaps.
19619
19620 2005-11-09  Andy Wingo  <wingo@pobox.com>
19621
19622         * gst/base/gstbasesink.c: Add the beginning of docs here -- have
19623         to work on something else now tho...
19624
19625         * gst/base/gstadapter.c: More adapter docs.
19626
19627         * gst/elements/gstfilesink.c (gst_file_sink_start) 
19628         (gst_file_sink_stop): New functions, replace the state change
19629         handler.
19630         (gst_file_sink_class_init): Hook up the start and stop functions.
19631         (gst_file_sink_base_init): Don't set the state change handler any
19632         more. It was a bit ugly too, being set from here...
19633         (gst_file_sink_get_property, gst_file_sink_set_property):
19634         Cleanups...
19635         (gst_file_sink_set_location): More robust check that doesn't call
19636         GST_STATE. Ugggggg.
19637
19638 2005-11-08  Tim-Philipp Müller  <tim at centricular dot net>
19639
19640         * gst/base/gstbasetransform.c: (gst_base_transform_event):
19641           Hold STREAM_LOCK while pushing newsegment or tag events as well.
19642
19643 2005-11-08  Wim Taymans  <wim@fluendo.com>
19644
19645         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
19646         (gst_base_sink_do_sync), (gst_base_sink_handle_event),
19647         (gst_base_sink_chain), (gst_base_sink_change_state):
19648         * gst/base/gstbasesink.h:
19649         * gst/base/gstbasesrc.h:
19650         * gst/gstelement.h:
19651         * gst/gstevent.h:
19652         Avoid excessive typechecking in macros.
19653
19654         * gst/gstminiobject.c: (gst_mini_object_get_type),
19655         (gst_mini_object_init), (gst_mini_object_new),
19656         (gst_mini_object_free):
19657         * gst/gstobject.c: (gst_object_class_init), (gst_object_init),
19658         (gst_object_finalize):
19659         Remove cruft code, optimize alloc_trace.
19660
19661 2005-11-07  Thomas Vander Stichele  <thomas at apestaart dot org>
19662
19663         * docs/faq/gst-uninstalled:
19664           fix up PS1 for systems that try to reset it
19665
19666 2005-11-07  Wim Taymans  <wim@fluendo.com>
19667
19668         * gst/base/gstbasesrc.c: (gst_base_src_init),
19669         (gst_base_src_get_range):
19670         Set the segment_end to -1 initially. Fixed typefind.
19671
19672 2005-11-07  Tim-Philipp Müller  <tim at centricular dot net>
19673
19674         * gst/base/gstadapter.c:
19675           Debug category should be 'adapter', not 'GstAdapter'.
19676           
19677         * gst/base/gstcollectpads.c: (gst_collectpads_base_init),
19678         (gst_collectpads_class_init), (gst_collectpads_init),
19679         (gst_collectpads_peek), (gst_collectpads_pop),
19680         (gst_collectpads_event), (gst_collectpads_chain):
19681           Add debug category and some debugging output. Use boilerplate
19682           macros. Remove some extraneous words from docs.
19683
19684 2005-11-05  Andy Wingo  <wingo@pobox.com>
19685
19686         * gst/base/gstpushsrc.c: Shorten by 30% via use of boilerplate
19687         macro.
19688
19689 2005-11-04  Stefan Kost  <ensonic@users.sf.net>
19690
19691         * docs/gst/gstreamer-sections.txt:
19692         * gst/gstcaps.h:
19693         * gst/gstinfo.c:
19694         * gst/gstminiobject.h:
19695         * gst/gstobject.h:
19696         * gst/gstutils.h:
19697           more docs added
19698
19699 2005-11-04  Wim Taymans  <wim@fluendo.com>
19700
19701         * gst/base/gstbasesrc.c: (gst_base_src_get_range):
19702         Small update to stop at the configured segment_end
19703         position.
19704
19705 2005-11-04  Stefan Kost  <ensonic@users.sf.net>
19706
19707         * gst/gstregistry.c:
19708         * gst/gstregistry.h:
19709           added missing docs
19710
19711 2005-11-04  Edward Hervey  <edward@fluendo.com>
19712
19713         * gst/base/gstbasesrc.c: (gst_base_src_get_range):
19714         Check if we are doing a segment seek and have arrived at the
19715         end of that segment.
19716
19717 2005-11-04  Wim Taymans  <wim@fluendo.com>
19718
19719         * gst/gstbus.c: (gst_bus_post), (gst_bus_set_sync_handler):
19720         Don't leak a mutex unlock in case of an error.
19721
19722         * gst/gstbus.h:
19723         Doc fixes.
19724
19725 2005-11-04  Wim Taymans  <wim@fluendo.com>
19726
19727         * gst/gstbus.c: (gst_bus_class_init), (gst_bus_init),
19728         (gst_bus_post):
19729         Get the context to wake up only once.
19730
19731 2005-11-03  Wim Taymans  <wim@fluendo.com>
19732
19733         * check/states/sinks.c: (GST_START_TEST):
19734         Uncomment fixed check.
19735
19736         * docs/design/part-TODO.txt:
19737         Updated TODO.
19738
19739         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
19740         (gst_base_sink_handle_object), (gst_base_sink_do_sync),
19741         (gst_base_sink_get_position):
19742         If we are going to PLAYING, post the right pending state
19743         when we post the intermediate paused message.
19744
19745         * gst/gstelement.c: (gst_element_continue_state),
19746         (gst_element_set_state_func), (gst_element_change_state):
19747         Don't post state changes that were between the same state
19748         and were not ASYNC.
19749
19750 2005-11-03  Stefan Kost  <ensonic@users.sf.net>
19751
19752         * docs/gst/gstreamer-sections.txt:
19753         * gst/gstcaps.h:
19754         * gst/gstinfo.c:
19755         * gst/gstminiobject.h:
19756         * gst/gstobject.h:
19757         * gst/gstutils.h:
19758           more docs and doc style fixes
19759
19760 2005-11-03  Stefan Kost  <ensonic@users.sf.net>
19761
19762         * docs/gst/gstreamer-sections.txt:
19763         * gst/gstelement.c:
19764         * gst/gstminiobject.c:
19765         doc fixes
19766
19767 2005-11-03  Andy Wingo  <wingo@pobox.com>
19768
19769         * check/states/sinks.c (test_livesrc_sink): Add checks that the
19770         state-changed messages actually have the right order and the right
19771         values.
19772
19773 2005-11-03  Wim Taymans  <wim@fluendo.com>
19774
19775         * check/states/sinks.c: (GST_START_TEST), (gst_object_suite):
19776         Added some more checks. Specifically the case where NO_PREROLL
19777         elements are in the pipeline.
19778
19779         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
19780         (gst_base_sink_handle_object), (gst_base_sink_do_sync),
19781         (gst_base_sink_get_position):
19782         Post READY->PAUSED state change messages too.
19783         Fix bug where VOID was posted as pending state...
19784
19785         * gst/gstbin.c: (gst_bin_recalc_state):
19786         use _element_continue_state() to continue the state change.
19787
19788         * gst/gstelement.c: (gst_element_continue_state),
19789         (gst_element_commit_state), (gst_element_set_state_func),
19790         (gst_element_change_state), (gst_element_change_state_func):
19791         Lots of state change cleanups, assign the STATE_RETURN in
19792         a new continue_state() function that also propagates the
19793         last return value from a state change to the app.
19794         Update some debug statements with proper category.
19795
19796 2005-11-03  Wim Taymans  <wim@fluendo.com>
19797
19798         * docs/design/part-events.txt:
19799         * docs/design/part-gstpipeline.txt:
19800         * docs/design/part-messages.txt:
19801         * docs/design/part-overview.txt:
19802         * docs/design/part-seeking.txt:
19803         * docs/design/part-states.txt:
19804         * docs/design/part-trickmodes.txt:
19805         * docs/manual/advanced-position.xml:
19806         Small docs updates.
19807
19808         * gst/gstobject.h:
19809         People think !! is ugly, this looks better.
19810
19811         * gst/gstpad.c: (gst_pad_set_blocked_async):
19812         Remove !! since it's fixed elsewhere now.
19813
19814 2005-11-03  Tim-Philipp Müller  <tim at centricular dot net>
19815
19816         * gst/gstminiobject.h:
19817         * gst/gstobject.h:
19818           Add !! to _FLAG_IS_SET macros to make the result boolean.
19819
19820 2005-11-03  Edward Hervey  <edward@fluendo.com>
19821
19822         * gst/gstpad.c: (gst_pad_set_blocked_async):
19823         comparing a flag and a gboolean rarely returns coherent results...
19824         Added two characters (!!) to make that work correctly.
19825         
19826 2005-11-03  Tim-Philipp Müller  <tim at centricular dot net>
19827
19828         * gst/gstbus.c: (gst_bus_class_init):
19829           Fix some typos.
19830           
19831         * gst/gstqueue.c: (gst_queue_loop):
19832           Don't assume a miniobject that isn't a buffer is an
19833           event (it could be that there is a refcounting
19834           problem somewhere and the pointer is stale and
19835           refers to an already destroyed miniobject).
19836
19837 2005-11-03  Julien MOUTTE  <julien@moutte.net>
19838
19839         * gst/gstpad.c: (gst_pad_alloc_buffer): Fix some typos.
19840
19841 2005-11-03  Tim-Philipp Müller  <tim at centricular dot net>
19842
19843         * docs/manual/advanced-position.xml:
19844           Update seek example and explanations to current 0.9 API.
19845
19846         * gst/elements/gsttypefindelement.c:
19847         (gst_type_find_element_activate):
19848           Remove FIXME comment now that the found caps
19849           are unreffed.
19850
19851 2005-11-03  Thomas Vander Stichele  <thomas at apestaart dot org>
19852
19853         * gst/gstregistryxml.c: (load_feature):
19854           Add another GST_STR_NULL instance
19855
19856 2005-11-02  Edward Hervey  <edward@fluendo.com>
19857
19858         * gst/gstpad.c: (handle_pad_block):
19859         Follow-up to Wim's patch, solves deadlock for blocked and flushing pads
19860         
19861 2005-11-02  Wim Taymans  <wim@fluendo.com>
19862
19863         * gst/gstbin.c:
19864         Fix typo in docs.
19865
19866         * gst/gstelement.c: (gst_element_commit_state):
19867         Remove unused value.
19868
19869         * gst/gstiterator.c:
19870         Mention that the returned element is reffed in the docs.
19871
19872 2005-11-02  Wim Taymans  <wim@fluendo.com>
19873
19874         * gst/gstpad.c: (gst_pad_alloc_buffer), (handle_pad_block),
19875         (gst_pad_push), (gst_pad_push_event):
19876         Unlock blocked pads when they are flushed.
19877
19878 2005-11-02  Thomas Vander Stichele  <thomas at apestaart dot org>
19879
19880         * docs/README:
19881         * docs/gst/gstreamer-sections.txt:
19882         * gst/gstbin.c:
19883           doc updates
19884         * gst/gstregistry.c: (gst_registry_scan_path_level):
19885           fix for a nasty little missed situation where an installed plug-in
19886           which was in the cache did not get overridden by an uninstalled one
19887           which was earlier in the plugin path because the newly created plugin
19888           for the uninstalled one (not in the registry) didn't get its
19889           ->registered set to TRUE
19890
19891 2005-11-02  Tim-Philipp Müller  <tim at centricular dot net>
19892
19893         * gst/base/gstcollectpads.c: (gst_collectpads_set_function),
19894         (gst_collectpads_add_pad), (gst_collectpads_remove_pad),
19895         (gst_collectpads_is_active), (gst_collectpads_collect),
19896         (gst_collectpads_collect_range), (gst_collectpads_start),
19897         (gst_collectpads_stop), (gst_collectpads_peek),
19898         (gst_collectpads_pop), (gst_collectpads_available),
19899         (gst_collectpads_read), (gst_collectpads_flush):
19900           Guard public API with assertions.
19901         
19902         * gst/gstpad.c:
19903           Fix docs for gst_pad_set_link_function().
19904
19905 2005-11-02  Johan Dahlin  <johan@gnome.org>
19906
19907         * gst/elements/gsttypefindelement.c (gst_type_find_element_activate): 
19908         Unref found_caps after we used it.
19909
19910 2005-11-02  Tim-Philipp Müller  <tim at centricular dot net>
19911
19912         * gst/base/gstcollectpads.c: (gst_collectpads_peek):
19913           Don't try to ref NULL.
19914
19915 2005-11-02  Thomas Vander Stichele  <thomas at apestaart dot org>
19916
19917         * win32/common/config.h.in:
19918           provide a GST_FUNCTION that just gives a string for now
19919
19920 2005-11-02  Thomas Vander Stichele  <thomas at apestaart dot org>
19921
19922         * win32/common/gstenumtypes.c: (register_gst_object_flags),
19923         (gst_object_flags_get_type), (register_gst_bin_flags),
19924         (gst_bin_flags_get_type), (register_gst_buffer_flag),
19925         (gst_buffer_flag_get_type), (register_gst_bus_flags),
19926         (gst_bus_flags_get_type), (register_gst_bus_sync_reply),
19927         (gst_bus_sync_reply_get_type), (register_gst_clock_return),
19928         (gst_clock_return_get_type), (register_gst_clock_entry_type),
19929         (gst_clock_entry_type_get_type), (register_gst_clock_flags),
19930         (gst_clock_flags_get_type), (register_gst_state),
19931         (gst_state_get_type), (register_gst_state_change_return),
19932         (gst_state_change_return_get_type), (register_gst_state_change),
19933         (gst_state_change_get_type), (register_gst_element_flags),
19934         (gst_element_flags_get_type), (register_gst_core_error),
19935         (gst_core_error_get_type), (register_gst_library_error),
19936         (gst_library_error_get_type), (register_gst_resource_error),
19937         (gst_resource_error_get_type), (register_gst_stream_error),
19938         (gst_stream_error_get_type), (register_gst_event_type),
19939         (gst_event_type_get_type), (register_gst_seek_type),
19940         (gst_seek_type_get_type), (register_gst_seek_flags),
19941         (gst_seek_flags_get_type), (register_gst_format),
19942         (gst_format_get_type), (register_gst_index_certainty),
19943         (gst_index_certainty_get_type), (register_gst_index_entry_type),
19944         (gst_index_entry_type_get_type),
19945         (register_gst_index_lookup_method),
19946         (gst_index_lookup_method_get_type), (register_gst_assoc_flags),
19947         (gst_assoc_flags_get_type), (register_gst_index_resolver_method),
19948         (gst_index_resolver_method_get_type), (register_gst_index_flags),
19949         (gst_index_flags_get_type), (register_gst_debug_level),
19950         (gst_debug_level_get_type), (register_gst_debug_color_flags),
19951         (gst_debug_color_flags_get_type), (register_gst_iterator_result),
19952         (gst_iterator_result_get_type), (register_gst_iterator_item),
19953         (gst_iterator_item_get_type), (register_gst_message_type),
19954         (gst_message_type_get_type), (register_gst_mini_object_flags),
19955         (gst_mini_object_flags_get_type), (register_gst_pad_link_return),
19956         (gst_pad_link_return_get_type), (register_gst_flow_return),
19957         (gst_flow_return_get_type), (register_gst_activate_mode),
19958         (gst_activate_mode_get_type), (register_gst_pad_direction),
19959         (gst_pad_direction_get_type), (register_gst_pad_flags),
19960         (gst_pad_flags_get_type), (register_gst_pad_presence),
19961         (gst_pad_presence_get_type), (register_gst_pad_template_flags),
19962         (gst_pad_template_flags_get_type), (register_gst_pipeline_flags),
19963         (gst_pipeline_flags_get_type), (register_gst_plugin_error),
19964         (gst_plugin_error_get_type), (register_gst_plugin_flags),
19965         (gst_plugin_flags_get_type), (register_gst_rank),
19966         (gst_rank_get_type), (register_gst_query_type),
19967         (gst_query_type_get_type), (register_gst_tag_merge_mode),
19968         (gst_tag_merge_mode_get_type), (register_gst_tag_flag),
19969         (gst_tag_flag_get_type), (register_gst_task_state),
19970         (gst_task_state_get_type), (register_gst_alloc_trace_flags),
19971         (gst_alloc_trace_flags_get_type),
19972         (register_gst_type_find_probability),
19973         (gst_type_find_probability_get_type), (register_gst_uri_type),
19974         (gst_uri_type_get_type), (register_gst_parse_error),
19975         (gst_parse_error_get_type):
19976         * win32/common/gstversion.h:
19977           update win32 copies
19978
19979 2005-11-01  Luca Ognibene  <luogni@tin.it>
19980
19981         * gst/gst.c:
19982           fix docs. popt is dead, long live GOption.
19983
19984 2005-10-31  Wim Taymans  <wim@fluendo.com>
19985
19986         * gst/gstbuffer.h:
19987         Small doc fix.
19988
19989 2005-10-31  Andy Wingo  <wingo@pobox.com>
19990
19991         * Boo!
19992
19993         * gst/gstqueue.c (gst_queue_chain): Fix downstream leaky mode.
19994
19995         * gst/gstobject.c (gst_object_dispatch_properties_changed): No
19996         need to serialize property notifications on GLib 2.8. GLib 2.6 has
19997         the possibility of deadlocks here if code calling notify() or
19998         set() has a lock that can be taken in another notify handler (ABBA
19999         with class lock and e.g. python GIL state lock).
20000
20001 2005-10-28  Julien MOUTTE  <julien@moutte.net>
20002
20003         * gst/gstbus.c: Doc updates.
20004
20005 2005-10-28  Wim Taymans  <wim@fluendo.com>
20006
20007         * docs/design/part-TODO.txt:
20008         * gst/gstiterator.c:
20009         * gst/gstsystemclock.c:
20010         * gst/gstsystemclock.h:
20011         Doc updates.
20012
20013 2005-10-28  Edward Hervey  <edward@fluendo.com>
20014
20015         * docs/gst/gstreamer-docs.sgml:
20016         * docs/gst/gstreamer-sections.txt:
20017         the GstURIType documentation page is private, it only defines GstURIType
20018         which should be defined in the GstURIHandler page
20019         
20020 2005-10-28  Thomas Vander Stichele  <thomas at apestaart dot org>
20021
20022         * gst/gstbin.c: (gst_bin_class_init):
20023         * gst/gstbin.h:
20024         * gst/gstutils.c:
20025         Documentation updates.
20026
20027 2005-10-28  Wim Taymans  <wim@fluendo.com>
20028
20029         * docs/gst/gstreamer-sections.txt:
20030         * gst/gstclock.c:
20031         * gst/gstclock.h:
20032         Documented the clocks.
20033
20034 2005-10-28  Stefan Kost  <ensonic@users.sf.net>
20035
20036         * docs/gst/gstreamer-sections.txt:
20037           move some macros to private sections
20038         * gst/gstminiobject.c:
20039         * gst/gstminiobject.h:
20040           add descriptions provided by ds and some more
20041         * gst/gstpad.h:
20042           mark macro as to be removed
20043
20044 2005-10-28  Wim Taymans  <wim@fluendo.com>
20045
20046         * docs/design/part-TODO.txt:
20047         Add an item to TODO.
20048
20049         * gst/gstiterator.c: (gst_iterator_fold),
20050         (gst_iterator_find_custom):
20051         * gst/gstiterator.h:
20052         Add iterator docs.
20053
20054 2005-10-28  Wim Taymans  <wim@fluendo.com>
20055
20056         * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
20057         (gst_base_transform_init):
20058         Don't leak class.
20059
20060         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_loop):
20061         An EOS event marks the queue as completely filled.
20062
20063 2005-10-27  Wim Taymans  <wim@fluendo.com>
20064
20065         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
20066         (gst_base_sink_do_sync), (gst_base_sink_get_position):
20067         Some more debugging.
20068
20069         * gst/base/gstbasetransform.c: (gst_base_transform_finalize),
20070         (gst_base_transform_init), (gst_base_transform_buffer_alloc),
20071         (gst_base_transform_event), (gst_base_transform_getrange),
20072         (gst_base_transform_chain):
20073         * gst/base/gstbasetransform.h:
20074         Fix debugging,
20075         Protect transform and concurrent buffer alloc with a new lock.
20076         Try not to break ABI/API.
20077
20078 2005-10-27  Wim Taymans  <wim@fluendo.com>
20079
20080         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
20081         (gst_base_src_init), (gst_base_src_query),
20082         (gst_base_src_default_newsegment),
20083         (gst_base_src_configure_segment), (gst_base_src_do_seek),
20084         (gst_base_src_send_event), (gst_base_src_event_handler),
20085         (gst_base_src_pad_get_range), (gst_base_src_loop),
20086         (gst_base_src_unlock), (gst_base_src_default_negotiate),
20087         (gst_base_src_start), (gst_base_src_deactivate),
20088         (gst_base_src_activate_push), (gst_base_src_change_state):
20089         Move some stuff around and cleanup things.
20090
20091 2005-10-27  Tim-Philipp Müller  <tim at centricular dot net>
20092
20093         * gst/base/gstbasesrc.c: (gst_base_src_query):
20094           Add missing break statements.
20095
20096 2005-10-27  Wim Taymans  <wim@fluendo.com>
20097
20098         * check/gst/gstbin.c: (GST_START_TEST):
20099         An extra refcount is taken in basesrc.
20100
20101         * gst/base/gstbasesrc.c: (gst_base_src_init), (gst_base_src_query),
20102         (gst_base_src_get_range), (gst_base_src_pad_get_range),
20103         (gst_base_src_loop):
20104         Small cleanups, check for flushing after being unlocked from the 
20105         LIVE_LOCK. take refcounts correctly (not yet everywhere).
20106         Don't send out EOS when going to READY.
20107
20108 2005-10-27  Wim Taymans  <wim@fluendo.com>
20109
20110         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
20111         (gst_base_sink_get_position):
20112         Some more debug.
20113
20114         * gst/gstbin.c: (message_check), (bin_replace_message),
20115         (bin_remove_messages), (is_eos), (gst_bin_add_func),
20116         (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
20117         (bin_query_duration_init), (bin_query_duration_fold),
20118         (bin_query_duration_done), (bin_query_generic_fold),
20119         (gst_bin_query):
20120         * tools/gst-launch.c: (main):
20121         Remove old option.
20122
20123 2005-10-26  Stefan Kost  <ensonic@users.sf.net>
20124
20125         * examples/controller/audio-example.c: (main):
20126         * examples/queue/queue.c: (event_loop):
20127         * gst/base/gstbasetransform.h:
20128         * gst/gstelement.c: (gst_element_send_event):
20129         * gst/gstevent.h:
20130         * gst/gstpad.c: (gst_pad_send_event):
20131           fixing examples
20132           fixing docs typos
20133           changing log priority in error situations
20134
20135 2005-10-25  Wim Taymans  <wim@fluendo.com>
20136
20137         * gst/gstbin.c: (message_check), (bin_replace_message),
20138         (bin_remove_messages), (is_eos), (gst_bin_add_func),
20139         (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
20140         (bin_query_duration_init), (bin_query_duration_fold),
20141         (bin_query_duration_done), (bin_query_generic_fold),
20142         (gst_bin_query):
20143         Some doc and debug updates.
20144         Cache previously requested query DURATION for speed. invalidate
20145         cached duration if element posts a DURATION message.
20146
20147 2005-10-25  Wim Taymans  <wim@fluendo.com>
20148
20149         * docs/design/part-TODO.txt:
20150         Update TODO.
20151
20152         * gst/gstbin.c: (message_check), (bin_replace_message),
20153         (bin_remove_messages), (is_eos), (gst_bin_add_func),
20154         (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
20155         (bin_query_duration_init), (bin_query_duration_fold),
20156         (bin_query_duration_done), (bin_query_generic_fold),
20157         (gst_bin_query):
20158         Handle SEGMENT_START/DONE messages correctly.
20159         More evolved query algorithm that handles duration queries
20160         correctly.
20161
20162         * gst/gstelement.c: (gst_element_send_event), (gst_element_query),
20163         (gst_element_get_state_func), (gst_element_abort_state),
20164         (gst_element_commit_state), (gst_element_lost_state):
20165         Some more debugging.
20166
20167         * gst/gstmessage.h:
20168         Added doc.
20169
20170 2005-10-25  Wim Taymans  <wim@fluendo.com>
20171
20172         * gst/base/gstbasesink.c: (gst_base_sink_get_position):
20173         Don't use invalid stream_time.
20174
20175         * gst/gstevent.c: (gst_event_new_newsegment):
20176         stream_time in newsegment cannot be undefined.
20177
20178 2005-10-24  Wim Taymans  <wim@fluendo.com>
20179
20180         * gst/gstbus.c:
20181         Doc fix.
20182
20183         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
20184         (gst_queue_loop):
20185         Fix potential deadlock when QUEUE_LOCK is taken before STREAM_LOCK.
20186
20187 2005-10-24  Stefan Kost  <ensonic@users.sf.net>
20188
20189         * docs/libs/tmpl/gstdparam.sgml:
20190         * docs/libs/tmpl/gstdplinint.sgml:
20191         * docs/libs/tmpl/gstdpman.sgml:
20192         * docs/libs/tmpl/gstdpsmooth.sgml:
20193         * docs/libs/tmpl/gstunitconvert.sgml:
20194           these are obsolete
20195
20196 2005-10-24  Thomas Vander Stichele  <thomas at apestaart dot org>
20197
20198         * configure.ac:
20199           back to HEAD
20200
20201 === release 0.9.4 ===
20202
20203 2005-10-23  Thomas Vander Stichele  <thomas at apestaart dot org>
20204
20205         * configure.ac:
20206           releasing 0.9.4, "Tyrannosaurus Rex"
20207
20208 2005-10-23  Tim-Philipp Müller  <tim at centricular dot net>
20209
20210         * gst/elements/gstfilesink.c: (gst_file_sink_do_seek),
20211         (gst_file_sink_get_current_offset):
20212           Use fseeko() and ftello() if available. When falling back on
20213           lseek() to get the current offset, fflush() first to make sure
20214           everything is up-to-date and we get the right offset.
20215
20216 2005-10-23  Thomas Vander Stichele  <thomas at apestaart dot org>
20217
20218         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
20219         * gst/base/gstbasesrc.c: (gst_base_src_loop):
20220         * gst/gsterror.c: (_gst_stream_errors_init):
20221         * gst/gsterror.h:
20222         * gst/gstqueue.c: (gst_queue_loop):
20223         * po/POTFILES.in:
20224           remove prematurely added error category and clean up the instances
20225
20226 2005-10-21  Wim Taymans  <wim@fluendo.com>
20227
20228         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
20229         (gst_base_sink_get_position), (gst_base_sink_query),
20230         (gst_base_sink_change_state):
20231         Simply set the right flag when going to playing, that's all
20232         we need to do instead of calling a function inside the object
20233         lock (that could take the lock as well and deadlock)
20234
20235 2005-10-21  Wim Taymans  <wim@fluendo.com>
20236
20237         * gst/base/gstbasesrc.c: (gst_base_src_do_seek),
20238         (gst_base_src_loop):
20239         Don't warn, the peer element knows what to do best when
20240         the seek failed, it might try something else.
20241
20242 2005-10-21  Wim Taymans  <wim@fluendo.com>
20243
20244         * gst/base/gstbasesrc.c: (gst_base_src_init),
20245         (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start):
20246         Fix seeking.
20247
20248 2005-10-21  Wim Taymans  <wim@fluendo.com>
20249
20250         * docs/design/part-segments.txt:
20251         More docs.
20252
20253         * gst/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
20254         Correctly set caps, even on the subbufer.
20255
20256 2005-10-21  Wim Taymans  <wim@fluendo.com>
20257
20258         * docs/gst/gstreamer-docs.sgml:
20259         * docs/gst/gstreamer-sections.txt:
20260         * gst/gstelement.h:
20261         * gst/gstevent.c:
20262         * gst/gstevent.h:
20263         * gst/gstmessage.h:
20264         * gst/gstpad.h:
20265         * gst/gstparse.h:
20266         * gst/gsttask.c: (gst_task_finalize), (gst_task_func):
20267         * gst/gsttask.h:
20268         * gst/gstutils.c:
20269         * gst/gstutils.h:
20270         And 2% more doc coverage.
20271
20272 2005-10-21  Andy Wingo  <wingo@pobox.com>
20273
20274         * gst/base/gstbasesrc.c (gst_base_src_query): Clean up percent
20275         position reporting.
20276
20277 2005-10-20  Wim Taymans  <wim@fluendo.com>
20278
20279         * gst/gsterror.c: (gst_error_get_message):
20280         * gst/gstparse.h:
20281         * gst/gstquery.h:
20282         * gst/gststructure.c:
20283         * gst/gsttrace.c:
20284         * gst/gstutils.c:
20285         More docs.
20286
20287 2005-10-20  Wim Taymans  <wim@fluendo.com>
20288
20289         * gst/gstbuffer.h:
20290         * gst/gstpad.c:
20291         * gst/gstparse.c:
20292         Another 1% more coverage.
20293
20294 2005-10-20  Wim Taymans  <wim@fluendo.com>
20295
20296         * docs/gst/gstreamer-sections.txt:
20297         * gst/gstelement.c: (gst_element_get_state_func),
20298         (gst_element_abort_state), (gst_element_commit_state),
20299         (gst_element_lost_state):
20300         * gst/gstevent.h:
20301         * gst/gstquery.c: (gst_query_set_position),
20302         (gst_query_parse_position), (gst_query_set_duration),
20303         (gst_query_parse_duration), (gst_query_new_convert):
20304         * gst/gstutils.c:
20305         Yay! 1% more docs coverage.
20306
20307 2005-10-20  Wim Taymans  <wim@fluendo.com>
20308
20309         * gst/gstpad.h:
20310         * gst/gstquery.c: (gst_query_set_position),
20311         (gst_query_parse_position), (gst_query_set_duration),
20312         (gst_query_parse_duration), (gst_query_new_convert):
20313         * gst/gstquery.h:
20314         * gst/gstutils.c: (gst_element_query_convert):
20315         * gst/gstutils.h:
20316         Docs and consistency fixes.
20317
20318 2005-10-20  Wim Taymans  <wim@fluendo.com>
20319
20320         * gst/gsttask.c:
20321         * gst/gsttask.h:
20322         More docs.
20323
20324 2005-10-20  Wim Taymans  <wim@fluendo.com>
20325
20326         * gst/gstbin.c: (message_check), (bin_replace_message),
20327         (bin_remove_messages), (is_eos), (gst_bin_add_func),
20328         (update_degree), (gst_bin_sort_iterator_next),
20329         (gst_bin_change_state_func), (gst_bin_dispose), (bin_bus_handler):
20330         Reworked the message handling a bit, cache the messages instead of
20331         only the senders. alows us to do more in the future.
20332
20333 2005-10-20  Wim Taymans  <wim@fluendo.com>
20334
20335         * docs/design/part-TODO.txt:
20336         Update TODO
20337
20338         * gst/base/gstbasesink.c: (gst_base_sink_get_position),
20339         (gst_base_sink_query):
20340         Don't use clock time to report position when in EOS.
20341
20342 2005-10-20  Tim-Philipp Müller  <tim at centricular dot net>
20343
20344         * tools/gst-inspect.c: (print_interfaces),
20345         (print_element_properties_info), (print_element_info):
20346           Fix interface output with gst-inspect -a; don't print
20347           newlines after double/float properties.
20348
20349 2005-10-20  Wim Taymans  <wim@fluendo.com>
20350
20351         * gst/base/gstbasesink.c: (gst_base_sink_get_position),
20352         (gst_base_sink_query):
20353         Speed up current position calculation.
20354
20355         * gst/base/gstbasesrc.c: (gst_base_src_query),
20356         (gst_base_src_default_newsegment):
20357         Correctly set stream position in newsegment.
20358
20359         * gst/gstbin.c: (gst_bin_add_func), (add_to_queue),
20360         (update_degree), (gst_bin_sort_iterator_next),
20361         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free):
20362         * gst/gstmessage.c: (gst_message_new_custom):
20363         Clean up debugging info
20364
20365         * gst/gstqueue.c: (gst_queue_link_src), (gst_queue_chain),
20366         (gst_queue_loop), (gst_queue_handle_src_query):
20367         Pause task faster.
20368
20369 2005-10-19  Wim Taymans  <wim@fluendo.com>
20370
20371         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
20372         (gst_base_sink_handle_object), (gst_base_sink_query), (do_playing):
20373         Fix query handling again.
20374
20375 2005-10-19  Wim Taymans  <wim@fluendo.com>
20376
20377         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
20378         (gst_base_sink_handle_object), (gst_base_sink_query), (do_playing):
20379         * gst/base/gstbasesrc.c: (gst_base_src_query):
20380         * gst/elements/gstfilesink.c: (gst_file_sink_query):
20381         * gst/elements/gsttypefindelement.c:
20382         (gst_type_find_handle_src_query), (find_element_get_length),
20383         (gst_type_find_element_activate):
20384         API change fix.
20385
20386         * gst/gstquery.c: (gst_query_new_position),
20387         (gst_query_set_position), (gst_query_parse_position),
20388         (gst_query_new_duration), (gst_query_set_duration),
20389         (gst_query_parse_duration), (gst_query_set_segment),
20390         (gst_query_parse_segment):
20391         * gst/gstquery.h:
20392         Bundling query position/duration is not a good idea since duration
20393         does not change much and we don't want to recalculate it for every
20394         position query, so they are separated again..
20395         Base value in segment query is not needed.
20396
20397         * gst/gstqueue.c: (gst_queue_handle_src_query):
20398         * gst/gstutils.c: (gst_element_query_position),
20399         (gst_element_query_duration), (gst_pad_query_position),
20400         (gst_pad_query_duration):
20401         * gst/gstutils.h:
20402         Updates for query API change.
20403         Added some docs here and there.
20404
20405 2005-10-19  Thomas Vander Stichele  <thomas at apestaart dot org>
20406
20407         * check/gst/gstbin.c: (GST_START_TEST):
20408         * check/gst/gstghostpad.c: (GST_START_TEST):
20409         * check/pipelines/cleanup.c: (GST_START_TEST):
20410           wait on thread to die so we can check refcount correctly
20411
20412 2005-10-18  Wim Taymans  <wim@fluendo.com>
20413
20414         * check/pipelines/stress.c: (GST_START_TEST):
20415         Make check a little more time consuming.
20416
20417 2005-10-18  Wim Taymans  <wim@fluendo.com>
20418
20419         * check/Makefile.am:
20420         * check/pipelines/stress.c: (GST_START_TEST),
20421         (simple_launch_lines_suite), (main):
20422         Small state change torture test.
20423
20424         * docs/design/part-states.txt:
20425         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
20426         (gst_base_sink_handle_object), (gst_base_sink_event), (do_playing),
20427         (gst_base_sink_change_state):
20428         Never take state lock from streaming thread, clean up ugly
20429         hacks. Unfortunatly core does not yet support nice ways to
20430         async commit state.
20431         
20432         * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_recalc_state),
20433         (bin_bus_handler):
20434         Start state recalc if a STATE_DIRTY message is posted, but only
20435         on the toplevel bin.
20436
20437         * gst/gstelement.c: (gst_element_sync_state_with_parent),
20438         (gst_element_get_state_func), (gst_element_abort_state),
20439         (gst_element_commit_state), (gst_element_lost_state),
20440         (gst_element_set_state_func), (gst_element_change_state):
20441         * gst/gstelement.h:
20442         State variables are now protected with the LOCK, the state
20443         lock is only used to serialize _set_state().
20444
20445 2005-10-18  Wim Taymans  <wim@fluendo.com>
20446
20447         * check/gst/gstbin.c: (GST_START_TEST):
20448         * check/gst/gstmessage.c: (GST_START_TEST):
20449         * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
20450         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_recalc_func),
20451         (bin_bus_handler):
20452         * gst/gstelement.c: (gst_element_abort_state),
20453         (gst_element_commit_state), (gst_element_lost_state):
20454         * gst/gstmessage.c: (gst_message_new_state_changed),
20455         (gst_message_new_state_dirty), (gst_message_new_segment_start),
20456         (gst_message_new_segment_done), (gst_message_new_duration),
20457         (gst_message_parse_state_changed),
20458         (gst_message_parse_segment_start),
20459         (gst_message_parse_segment_done), (gst_message_parse_duration):
20460         * gst/gstmessage.h:
20461         * tools/gst-launch.c: (event_loop):
20462         Seriously, this is better than a previous commit as we only need
20463         to notify the fact that an element changed state in a streaming
20464         thread, marking the state of the parents dirty, hence the 
20465         STATE_DIRTY message instead of abusing a boolean in a STATE_CHANGE
20466         message.
20467
20468 2005-10-18  Wim Taymans  <wim@fluendo.com>
20469
20470         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_get_state_func),
20471         (gst_bin_recalc_func):
20472         * gst/gstelement.c: (gst_element_set_clock),
20473         (gst_element_abort_state), (gst_element_lost_state):
20474         Cleanups, prepare for state change fixes.
20475
20476 2005-10-18  Wim Taymans  <wim@fluendo.com>
20477
20478         * gst/gstbin.h:
20479         * gst/gstelement.c: (gst_element_class_init),
20480         (gst_element_set_state), (gst_element_set_state_func):
20481         * gst/gstelement.h:
20482         Pending ABI changes.
20483         GThreadPool in GstBinClass to monitor async state changes.
20484         state_cookie in GstElement to detect concurrent gst/set state.
20485         set_state is now virtual too in case a very complicated element
20486         has to be constructed.
20487
20488 2005-10-18  Wim Taymans  <wim@fluendo.com>
20489
20490         * check/gst/gstbin.c: (GST_START_TEST):
20491         * check/gst/gstmessage.c: (GST_START_TEST):
20492         * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
20493         * gst/gstbin.c: (bin_bus_handler):
20494         * gst/gstelement.c: (gst_element_commit_state),
20495         (gst_element_lost_state):
20496         * gst/gstmessage.c: (gst_message_new_state_changed),
20497         (gst_message_new_segment_start), (gst_message_new_segment_done),
20498         (gst_message_new_duration), (gst_message_parse_state_changed),
20499         (gst_message_parse_segment_start),
20500         (gst_message_parse_segment_done), (gst_message_parse_duration):
20501         * gst/gstmessage.h:
20502         * tools/gst-launch.c: (event_loop):
20503         Make messages future proof.
20504         state-change gets a flag if it was a message comming from the
20505         streaming thread.
20506         segment-start/stop can also be specified in other formats.
20507         A message to notify an app that a pipeline changed playback 
20508         duration.
20509         Also fix a GstMessage leak in -launch
20510
20511 2005-10-18  Andy Wingo  <wingo@pobox.com>
20512
20513         * gst/gstelement.c (gst_element_dispose): More helpful message.
20514
20515 2005-10-18  Thomas Vander Stichele  <thomas at apestaart dot org>
20516
20517         reviewed by: <delete if not using a buddy>
20518
20519         * common/gtk-doc.mak:
20520
20521 2005-10-18  Thomas Vander Stichele  <thomas at apestaart dot org>
20522
20523         * gst/gstregistry.c: (gst_registry_scan_path_level):
20524           unref a plug-in we get that was already initialized
20525
20526 2005-10-18  Stefan Kost  <ensonic@users.sf.net>
20527
20528         * docs/gst/gstreamer-sections.txt:
20529         * docs/libs/gstreamer-libs-sections.txt:
20530         * gst/gstelement.h:
20531           add new api entries
20532           hide internal macro
20533
20534 2005-10-17  Andy Wingo  <wingo@pobox.com>
20535
20536         * gst/base/gstcollectpads.c (gst_collectpads_chain): Slight
20537         cleanup.
20538
20539         * gst/Makefile.am (gstenumtypes.c): Threadsafe now.
20540
20541         * gst/gstevent.c (gst_event_new, gst_event_finalize): LOG.
20542
20543         * gst/gstelement.c (gst_element_get_state_func): s/INFO/DEBUG/.
20544         (gst_element_get_state_func): Better debug message.
20545         (gst_element_commit_state): s/INFO/DEBUG/.
20546         (gst_element_lost_state, gst_element_change_state): 
20547
20548         * gst/gstmessage.c (gst_message_init): s/INFO/LOG/.
20549         (gst_message_new_custom): s/INFO/LOG/.
20550
20551 2005-10-17  Michael Smith <msmith@fluendo.com>
20552
20553         * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
20554           Check if end time is valid using end time, not start time.
20555
20556 2005-10-17  Stefan Kost  <ensonic@users.sf.net>
20557
20558         * check/gst-libs/controller.c: (GST_START_TEST),
20559         (gst_controller_suite):
20560         * libs/gst/controller/gstcontroller.c:
20561         (gst_controlled_property_set_interpolation_mode):
20562         * libs/gst/controller/gstcontroller.h:
20563         * libs/gst/controller/gstinterpolation.c:
20564         * testsuite/controller/.cvsignore:
20565         * testsuite/controller/Makefile.am:
20566         * testsuite/controller/interpolator.c:
20567           merge controller testsuites
20568           fix broken tests
20569           remove mem-chunk from docs
20570
20571 2005-10-17  Thomas Vander Stichele  <thomas at apestaart dot org>
20572
20573         * gst/gstmemchunk.c:
20574         * gst/gstmemchunk.h:
20575         * gst/gsttrashstack.c:
20576         * gst/gsttrashstack.h:
20577           out.  get out.  you're fired.  to the Attic !
20578
20579 2005-10-17  Thomas Vander Stichele  <thomas at apestaart dot org>
20580
20581         * gst/gstcaps.c: (gst_caps_intersect):
20582           fix signedness issues in a (hopefully) correct way
20583         * gst/gstelement.c: (gst_element_pads_activate):
20584           some debugging
20585         * gst/gstobject.c: (gst_object_set_parent):
20586           some debugging
20587
20588 2005-10-17  Julien MOUTTE  <julien@moutte.net>
20589
20590         * gst/gstvalue.h: Fix prototypes.
20591
20592 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
20593
20594         * docs/gst/gstreamer-sections.txt:
20595         * gst/gst.c: (gst_version_string):
20596         * gst/gst.h:
20597         * gst/gstversion.h.in:
20598         * win32/common/libgstreamer.def:
20599           add gst_version_string ()
20600
20601 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
20602
20603         * configure.ac:
20604           clean up further
20605         * gst/gst.c: (init_post):
20606         * win32/common/config.h.in:
20607           it's PLUGINDIR now
20608         * gst/gstcaps.c: (gst_caps_intersect):
20609           use gint64, the range could be bigger than a guint
20610
20611 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
20612
20613         * gst/gstclock.h:
20614           document potential problem in 2038
20615
20616 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
20617
20618         * gst/gstcaps.c: (gst_caps_intersect):
20619           Fix guint j diving under 0
20620
20621 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
20622
20623         * configure.ac:
20624         * win32/common/config.h:
20625         * win32/common/config.h.in:
20626           check for process.h, declares getpid() on Windows
20627         * gst/gstinfo.c:
20628           include process.h if we have it
20629         * gst/gstmemchunk.c: (populate), (gst_mem_chunk_new):
20630         * gst/gstmemchunk.h:
20631           fix signedness issues
20632         * win32/common/libgstreamer.def:
20633           fix get_type's
20634
20635 2005-10-16  Julien MOUTTE  <julien@moutte.net>
20636
20637         * gst/gstcaps.c: (gst_caps_intersect): Fix a bad bug with a simple
20638         fix. Because of unsigned ints, caps intersection was going nuts and
20639         trying to access structures with G_MAXUINT index. That fixes
20640         videotestsrc ! ffmpegcolorspace ! fakesink
20641         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked): logs
20642         consistency.
20643
20644 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
20645
20646         * configure.ac:
20647           use the gettext macro
20648         * gst/elements/gstelements.c:
20649         * gst/gst.c:
20650         * gst/indexers/gstindexers.c:
20651           update for GST_PACKAGE_NAME, GST_PACKAGE_ORIGIN
20652         * win32/common/config.h:
20653           updated config.h
20654         * win32/common/config.h.in:
20655           add the template to generate config.h
20656         * win32/common/gstenumtypes.c:
20657         * win32/common/gstversion.h:
20658           updated copies
20659
20660 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
20661
20662         * gst/gst.c: (gst_version):
20663         * gst/gstversion.h.in:
20664           add the nano
20665
20666 2005-10-15  Tim-Philipp Müller  <tim at centricular dot net>
20667
20668         * gst/gstevent.h:
20669           Oops, add missing closing bracket.
20670
20671 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
20672
20673         * configure.ac:
20674           use common m4's for argument checking
20675
20676 2005-10-15  Tim-Philipp Müller  <tim at centricular dot net>
20677
20678         * docs/gst/gstreamer-sections.txt:
20679         * gst/gstevent.h:
20680           Add GST_EVENT_TYPE_NAME() macro.
20681
20682 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
20683
20684         * gst/gstinfo.c:
20685         * gst/gstpluginfeature.c:
20686         * gst/gsttask.c:
20687           privatize more symbols
20688
20689 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
20690
20691         * configure.ac:
20692           add srcdir, builddir includes to GST_ALL_CFLAGS, since
20693           everything that uses GStreamer API should have the includes
20694
20695 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
20696
20697         * docs/gst/gstreamer-sections.txt:
20698         * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
20699         * gst/gstvalue.h:
20700           give each value a _get_type, removes the DATA exports
20701
20702 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
20703
20704         * gst/gst.c:
20705         * gst/gst.h:
20706           remove _gst_registry_auto_load, not used anymore
20707         * gst/gstbin.c: (gst_bin_get_type):
20708         * gst/gstbin.h:
20709         * gst/gstelement.c: (gst_element_get_type):
20710         * gst/gstelement.h:
20711         * gst/gstobject.c: (gst_object_get_type):
20712         * gst/gstobject.h:
20713         * gst/gstpad.c: (gst_pad_get_type):
20714         * gst/gstpad.h:
20715           make _get_type functions similar, fixes data export from library
20716
20717 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
20718
20719         * configure.ac:
20720           correctly make conditionals
20721         * gst/elements/Makefile.am:
20722         * gst/elements/gstelements.c:
20723           fix typo causing fdsrc not to build
20724
20725 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
20726
20727         * testsuite/Makefile.am:
20728         * testsuite/bytestream/.cvsignore:
20729         * testsuite/bytestream/Makefile.am:
20730         * testsuite/bytestream/filepadsink.c:
20731         * testsuite/bytestream/gstbstest.c:
20732         * testsuite/bytestream/test1.c:
20733         * testsuite/bytestream/testfile1:
20734         * testsuite/caps/normalisation.c:
20735         * testsuite/caps/random.c: (main):
20736         * testsuite/cleanup/.cvsignore:
20737         * testsuite/cleanup/Makefile.am:
20738         * testsuite/cleanup/cleanup1.c:
20739         * testsuite/cleanup/cleanup2.c:
20740         * testsuite/cleanup/cleanup3.c:
20741         * testsuite/cleanup/cleanup4.c:
20742         * testsuite/cleanup/cleanup5.c:
20743         * testsuite/controller/interpolator.c:
20744         * testsuite/debug/printf_extension.c: (main):
20745         * testsuite/elements/tee.c:
20746         * testsuite/negotiation/.cvsignore:
20747         * testsuite/negotiation/Makefile.am:
20748         * testsuite/negotiation/pad_link.c:
20749         * testsuite/pad/Makefile.am:
20750         * testsuite/pad/chainnopull.c:
20751         * testsuite/pad/getnopush.c:
20752         * testsuite/pad/link.c:
20753         * testsuite/refcounting/sched.c: (create_pipeline):
20754         * testsuite/registry/Makefile.am:
20755         * testsuite/registry/gst-print-formats.c:
20756         * testsuite/schedulers/.cvsignore:
20757         * testsuite/schedulers/142183-2.c:
20758         * testsuite/schedulers/142183.c:
20759         * testsuite/schedulers/143777-2.c:
20760         * testsuite/schedulers/143777.c:
20761         * testsuite/schedulers/147713.c:
20762         * testsuite/schedulers/147819.c:
20763         * testsuite/schedulers/147894-2.c:
20764         * testsuite/schedulers/147894.c:
20765         * testsuite/schedulers/Makefile.am:
20766         * testsuite/schedulers/group_link.c:
20767         * testsuite/schedulers/queue_link.c:
20768         * testsuite/schedulers/relink.c:
20769         * testsuite/schedulers/unlink.c:
20770         * testsuite/schedulers/unref.c:
20771         * testsuite/schedulers/useless_iteration.c:
20772         * testsuite/states/bin.c:
20773           clean out/remove some stuff from the testsuite directories
20774
20775 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
20776
20777         * configure.ac:
20778           check for some headers
20779         * gst/elements/Makefile.am:
20780         * gst/elements/gstelements.c:
20781           don't compile fdsrc without sys/socket.h
20782         * gst/indexers/Makefile.am:
20783         * gst/indexers/gstindexers.c: (plugin_init):
20784           don't compile fileindex without mmap
20785
20786 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
20787
20788         * configure.ac:
20789           reorganize
20790           clean up
20791           document more
20792           remove cruft
20793         * check/Makefile.am:
20794         * docs/gst/Makefile.am:
20795         * examples/helloworld/Makefile.am:
20796         * gst/Makefile.am:
20797         * gst/base/Makefile.am:
20798         * gst/check/Makefile.am:
20799         * gst/elements/Makefile.am:
20800         * gst/indexers/Makefile.am:
20801         * gst/parse/Makefile.am:
20802         * libs/gst/controller/Makefile.am:
20803         * libs/gst/dataprotocol/Makefile.am:
20804         * examples/helloworld/helloworld.c: (event_loop):
20805           compile fixes, though it's not being compiled currently
20806
20807 2005-10-14  Tim-Philipp Müller  <tim at centricular dot net>
20808
20809         * check/gst/gsttag.c: (test_date_tags), (gst_tag_suite):
20810           Add some simple tests for the new taglist date API.
20811
20812 2005-10-14  Tim-Philipp Müller  <tim at centricular dot net>
20813
20814         * gst/elements/gstfakesink.c: (gst_fake_sink_render):
20815         * gst/elements/gstfakesrc.c: (gst_fake_src_create):
20816           Beautify 'last-message' output: print 'none' for buffer timestamps
20817           and durations if none is set; improve alignment with next messages.
20818
20819 2005-10-14  Tim-Philipp Müller  <tim at centricular dot net>
20820
20821         * gst/gstpluginfeature.c: (gst_plugin_feature_check_version):
20822         * gst/gstpluginfeature.h:
20823         * gst/gstregistry.c: (gst_default_registry_check_feature_version):
20824         * gst/gstregistry.h:
20825         * docs/gst/gstreamer-sections.txt:
20826           Add new API to check plugin feature version requirements.
20827
20828         * check/gst/gstplugin.c: (test_version_checks), (gst_plugin_suite):
20829           Some basic tests for the above.         
20830
20831 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
20832
20833         * gst/gststructure.c: (gst_structure_to_string):
20834           guard against NULL printf - happens when for example
20835           a message structure with GstClock gets serialized
20836
20837 2005-10-13  Tim-Philipp Müller  <tim at centricular dot net>
20838
20839         * gst/base/gstcollectpads.c: (gst_collectpads_event):
20840           Fix presumable copy'n'pasto.
20841
20842 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
20843
20844         * gst/elements/gstfakesrc.h:
20845         * gst/elements/gstfilesrc.c: (gst_file_src_create_read):
20846         * gst/elements/gsttypefindelement.c:
20847           fix some signedness
20848         * gst/elements/gstfilesink.c: (gst_file_sink_render):
20849           I wonder if this could actually write +2GB files before
20850
20851 2005-10-13  Andy Wingo  <wingo@pobox.com>
20852
20853         * libs/gst/dataprotocol/dataprotocol.c (gst_dp_packet_from_caps):
20854         Fix Timmeke Waymans bug.
20855         (gst_dp_caps_from_packet): Make sure we pass a NUL-terminated
20856         string of the proper length to gst_caps_from_string. There's a
20857         potential for, before this fix, that this could cause someone
20858         connecting over the network to cause a segfault if the payload is
20859         not NUL-terminated.
20860
20861 2005-10-13  Stefan Kost  <ensonic@users.sf.net>
20862
20863         * docs/design/draft-push-pull.txt:
20864         * docs/design/part-overview.txt:
20865         * docs/random/TODO-pre-0.9:
20866         * docs/random/old/ChangeLog.gstreamer:
20867         * gst/base/gstpushsrc.c:
20868         * gst/gstclock.c:
20869           fixed typos
20870
20871 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
20872
20873         * gst/glib-compat.c: (gst_flags_get_first_value):
20874         * gst/glib-compat.h:
20875         * gst/gstvalue.c: (gst_value_deserialize_int_helper),
20876         (gst_value_compare_double), (gst_value_serialize_flags):
20877           GLib 2.6 g_flags_get_first_value has a bug that triggers an
20878           infinite loop
20879
20880 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
20881
20882         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
20883         * gst/base/gstbasesrc.c: (gst_base_src_get_range):
20884           fix up debugging
20885         * tools/gst-launch.c: (event_loop):
20886           print out clock nicely
20887
20888 2005-10-13  Tim-Philipp Müller  <tim at centricular dot net>
20889
20890         * docs/gst/gstreamer-sections.txt:
20891         * gst/gsttaglist.h:
20892         * gst/gsttaglist.c: (_gst_tag_initialize), (gst_tag_list_get_date),
20893         (gst_tag_list_get_date_index):
20894           Added gst_tag_list_get_date() and gst_tag_list_get_date_index().
20895           GST_TAG_DATE now has a tag type of GST_TYPE_DATE (#170777).
20896
20897 2005-10-13  Julien MOUTTE  <julien@moutte.net>
20898
20899         * gst/base/gstcollectpads.c: (gst_collectpads_event),
20900         (gst_collectpads_chain):
20901         * gst/base/gstcollectpads.h: Handle newsegment and store informations
20902         in CollectData.
20903
20904 2005-10-13  Stefan Kost  <ensonic@users.sf.net>
20905
20906         * docs/gst/gstreamer-sections.txt:
20907         * gst/gst.c:
20908         * gst/gsterror.h:
20909         * tools/gst-inspect.c: (main):
20910         * tools/gst-launch.c: (main):
20911         * tools/gst-run.c: (main):
20912         * tools/gst-xmlinspect.c: (main):
20913           fix GOption context leaks
20914           doc fixes
20915
20916 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
20917
20918         * gst/gstbus.c:
20919           use HAVE_UNISTD_H
20920         * win32/common/config.h:
20921           update config
20922         * win32/vs6/grammar.dsp:
20923         * win32/vs6/libgstelements.dsp:
20924         * win32/vs6/libgstreamer.dsp:
20925           update vs6 files
20926
20927 2005-10-12  Thomas Vander Stichele  <thomas at apestaart dot org>
20928
20929         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
20930         * gst/base/gstbasesrc.c: (gst_base_src_query):
20931           fix more guint64<->gdouble conversions
20932
20933 2005-10-12  Thomas Vander Stichele  <thomas at apestaart dot org>
20934
20935         * Makefile.am:
20936           add win32-update target
20937         * win32/common/gstconfig.h:
20938         * win32/common/gstenumtypes.c:
20939         * win32/common/gstenumtypes.h:
20940         * win32/common/gstversion.h:
20941           add files that visual studio can't generate
20942
20943 2005-10-12  Thomas Vander Stichele  <thomas at apestaart dot org>
20944
20945         * Makefile.am:
20946           add a win32-update target
20947         * configure.ac:
20948
20949 2005-10-12  Wim Taymans  <wim@fluendo.com>
20950
20951         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
20952         (reset_degree), (gst_bin_dispose), (bin_bus_handler):
20953         * gst/gstelement.c: (gst_element_commit_state),
20954         (gst_element_set_state):
20955         Protect flags with proper lock.
20956         unref provided cached clock in dispose.
20957
20958 2005-10-12  Stefan Kost  <ensonic@users.sf.net>
20959
20960         * gst/gst.c:
20961         * gst/gstminiobject.h:
20962         * gst/gstpad.h:
20963         * win32/gstenumtypes.c: (gst_mini_object_flags_get_type):
20964           removed unused flags from miniobject
20965           doc fixes
20966
20967 2005-10-12  Wim Taymans  <wim@fluendo.com>
20968
20969         * gst/elements/gstfilesink.c: (gst_file_sink_do_seek),
20970         (gst_file_sink_event), (gst_file_sink_render):
20971         Flush before seeking.
20972
20973 2005-10-12  Andy Wingo  <wingo@pobox.com>
20974
20975         * gst/gst.c (gst_init_check): Ignore unknown options, as has
20976         always been the case.
20977
20978 2005-10-12  Stefan Kost  <ensonic@users.sf.net>
20979
20980         * check/gst/gstbin.c: (GST_START_TEST):
20981         * docs/gst/gstreamer-sections.txt:
20982         * gst/base/gstbasesink.c: (gst_base_sink_init):
20983         * gst/base/gstbasesrc.c: (gst_base_src_init),
20984         (gst_base_src_get_range), (gst_base_src_check_get_range),
20985         (gst_base_src_start), (gst_base_src_stop):
20986         * gst/base/gstbasesrc.h:
20987         * gst/elements/gstfakesrc.c: (gst_fake_src_set_property):
20988         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
20989         (bin_element_is_sink), (reset_degree), (gst_bin_element_set_state),
20990         (bin_bus_handler):
20991         * gst/gstbin.h:
20992         * gst/gstbuffer.h:
20993         * gst/gstbus.c: (gst_bus_post), (gst_bus_set_flushing):
20994         * gst/gstbus.h:
20995         * gst/gstelement.c: (gst_element_is_locked_state),
20996         (gst_element_set_locked_state), (gst_element_commit_state),
20997         (gst_element_set_state):
20998         * gst/gstelement.h:
20999         * gst/gstindex.c: (gst_index_init):
21000         * gst/gstindex.h:
21001         * gst/gstminiobject.h:
21002         * gst/gstobject.c: (gst_object_init), (gst_object_sink),
21003         (gst_object_set_parent):
21004         * gst/gstobject.h:
21005         * gst/gstpad.c: (gst_pad_set_blocked_async), (gst_pad_is_blocked),
21006         (gst_pad_get_caps_unlocked), (gst_pad_set_caps):
21007         * gst/gstpad.h:
21008         * gst/gstpadtemplate.h:
21009         * gst/gstpipeline.c: (gst_pipeline_provide_clock_func),
21010         (gst_pipeline_use_clock), (gst_pipeline_auto_clock):
21011         * gst/gstpipeline.h:
21012         * gst/indexers/gstfileindex.c: (gst_file_index_load),
21013         (gst_file_index_commit):
21014         * testsuite/bytestream/filepadsink.c: (gst_fp_sink_init):
21015         * testsuite/pad/link.c: (gst_test_src_init),
21016         (gst_test_filter_init), (gst_test_sink_init):
21017         * testsuite/states/locked.c: (main):
21018           renamed GST_FLAGS macros to GST_OBJECT_FLAGS
21019           moved bitshift from macro to enum definition
21020
21021 2005-10-12  Wim Taymans  <wim@fluendo.com>
21022
21023         * gst/base/gstbasesink.c: (gst_base_sink_handle_buffer):
21024         * gst/elements/gstfilesink.c: (gst_file_sink_event),
21025         (gst_file_sink_render):
21026         Some more debugging info.
21027
21028 2005-10-12  Wim Taymans  <wim@fluendo.com>
21029
21030         * docs/design/part-states.txt:
21031         * tools/gst-launch.c: (main):
21032         Some doc updates.
21033         Revert non-intentional change.
21034
21035 2005-10-12  Wim Taymans  <wim@fluendo.com>
21036
21037         * check/gst/gstbin.c: (GST_START_TEST):
21038         * check/gst/gstelement.c: (GST_START_TEST):
21039         * check/gst/gstevent.c: (GST_START_TEST), (test_event):
21040         * check/gst/gstghostpad.c: (GST_START_TEST):
21041         * check/gst/gstpipeline.c: (GST_START_TEST):
21042         * check/pipelines/simple_launch_lines.c: (run_pipeline):
21043         * check/states/sinks.c: (GST_START_TEST):
21044         * gst/elements/gsttypefindelement.c: (stop_typefinding):
21045         * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
21046         (gst_bin_remove_func), (gst_bin_get_state_func),
21047         (gst_bin_recalc_state), (gst_bin_change_state_func),
21048         (bin_bus_handler):
21049         * gst/gstelement.c: (gst_element_get_state_func),
21050         (gst_element_get_state), (gst_element_abort_state),
21051         (gst_element_commit_state), (gst_element_set_state),
21052         (gst_element_change_state), (gst_element_change_state_func):
21053         * gst/gstelement.h:
21054         * gst/gstpipeline.c: (gst_pipeline_class_init), (do_pipeline_seek),
21055         (gst_pipeline_provide_clock_func):
21056         * gst/gstutils.c: (gst_element_link_pads_filtered):
21057         * tools/gst-launch.c: (main):
21058         * tools/gst-typefind.c: (main):
21059         Use GstClockTime in _get_state() instead of GTimeVal.
21060         Remove old code in gstutils.c
21061
21062 2005-10-12  Andy Wingo  <wingo@pobox.com>
21063
21064         * gst/gstregistry.h (gst_registry_scan_paths): Not implemented, so
21065         removed.
21066
21067         * gst/gstpad.c (gst_pad_pause_task): Actually return FALSE if
21068         there is no task. Shouldn't affect any code, as nothing in our
21069         plugins checks this return value.
21070         (gst_pad_stop_task): Also take the stream lock if the pad has no
21071         task. Docs updated.
21072
21073 2005-10-12  Wim Taymans  <wim@fluendo.com>
21074
21075         * gst/gstpad.c: (pre_activate), (post_activate),
21076         (gst_pad_activate_pull), (gst_pad_activate_push):
21077         Cleanup activation code. Reset old state if
21078         activation failed.
21079
21080 2005-10-12  Wim Taymans  <wim@fluendo.com>
21081
21082         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
21083         (gst_base_sink_change_state):
21084         No need to prerol after receiving EOS.
21085
21086         * gst/elements/gstfakesink.c: (gst_fake_sink_event):
21087         * gst/elements/gstfakesrc.c: (gst_fake_src_event_handler):
21088         * gst/elements/gstidentity.c: (gst_identity_event):
21089         Print events more verbosely.
21090
21091 2005-10-12  Wim Taymans  <wim@fluendo.com>
21092
21093         * check/Makefile.am:
21094         * check/states/sinks.c: (GST_START_TEST), (gst_object_suite):
21095         * check/states/sinks2.c:
21096         Moved sinks2 testcode in sinks check.
21097
21098         * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
21099         (gst_bin_remove_func), (gst_bin_recalc_state),
21100         (gst_bin_change_state_func), (bin_bus_handler):
21101         Fix potential race condition when _get_state() iterated over an
21102         ASYNC element right before it posted a state completion.
21103
21104         * gst/gstclock.h:
21105         Do proper cast here.
21106
21107         * gst/gstevent.c: (gst_event_new_newsegment),
21108         (gst_event_parse_newsegment):
21109         A playback rate of 0.0 is not allowed.
21110
21111 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
21112
21113         * win32/common/config.h:
21114         * win32/common/dirent.c: (_topendir), (_treaddir), (_tclosedir),
21115         (_trewinddir), (_ttelldir), (_tseekdir):
21116         * win32/common/dirent.h:
21117         * win32/common/gtchar.h:
21118         * win32/common/libgstbase.def:
21119         * win32/common/libgstreamer.def:
21120         * win32/vs6/grammar.dsp:
21121         * win32/vs6/gst_inspect.dsp:
21122         * win32/vs6/gst_launch.dsp:
21123         * win32/vs6/gstreamer.dsw:
21124         * win32/vs6/libgstbase.dsp:
21125         * win32/vs6/libgstelements.dsp:
21126         * win32/vs6/libgstreamer.dsp:
21127           Visual Studio 6 project files, and a new common directory.
21128           Phear.
21129
21130 2005-10-11  Wim Taymans  <wim@fluendo.com>
21131
21132         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
21133         (gst_base_sink_do_sync), (gst_base_sink_query),
21134         (gst_base_sink_change_state):
21135         * gst/base/gstbasesink.h:
21136         Correctly parse newsegment info.
21137
21138 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
21139
21140         * gst/gst.c: (init_post):
21141           split plugin paths correctly
21142
21143 2005-10-11  Wim Taymans  <wim@fluendo.com>
21144
21145         * check/gst/gstevent.c: (GST_START_TEST):
21146         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
21147         (gst_base_sink_change_state):
21148         * gst/base/gstbasesrc.c: (gst_base_src_default_newsegment):
21149         * gst/base/gstbasetransform.c: (gst_base_transform_event):
21150         * gst/elements/gstfilesink.c: (gst_file_sink_event):
21151         * gst/gstevent.c: (gst_event_new_newsegment),
21152         (gst_event_parse_newsegment):
21153         * gst/gstevent.h:
21154         Added extra flag to newsegment for future API freeze.
21155         Updated check and base elements.
21156
21157 2005-10-11  Julien MOUTTE  <julien@moutte.net>
21158
21159         * gst/base/gstcollectpads.c: (gst_collectpads_init),
21160         (gst_collectpads_add_pad), (gst_collectpads_pop),
21161         (gst_collectpads_event), (gst_collectpads_chain):
21162         * gst/base/gstcollectpads.h: Handle EOS correctly.
21163
21164 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
21165
21166         * tools/gst-launch.c: (main):
21167           more null protecting
21168
21169 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
21170
21171         * gst/gst-i18n-lib.h:
21172           check for ENABLE_NLS, not GETTEXT_PACKAGE
21173         * gst/gstregistry.c: (gst_registry_add_plugin),
21174         (gst_registry_scan_path_level),
21175         (_gst_registry_remove_cache_plugins):
21176           protect possibly NULL strings
21177         * gst/parse/types.h:
21178           config.h already included before
21179         * tools/gst-inspect.c: (main):
21180           sys/wait.h also doesn�t exist on mingw, so change the ifdef check
21181           check for ENABLE_NLS, not GETTEXT_PACKAGE
21182         * tools/gst-launch.c: (main):
21183           check for ENABLE_NLS, not GETTEXT_PACKAGE
21184
21185 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
21186
21187         * configure.ac:
21188           if we don't have glib, fail before testing 2.8
21189         * gst/base/gstbasetransform.c: (gst_base_transform_change_state):
21190           fix a leak, should fix plugins-base testsuite
21191
21192 2005-10-11  Andy Wingo  <wingo@pobox.com>
21193
21194         * gst/gstpad.c (pre_activate): Renamed from pre_activate_switch,
21195         take the mode we're going to as an arg. Go head and set the mode
21196         and flushing flags now, so that if the activate function starts a
21197         thread all the flags will be in the right state.
21198         (post_activate): Renamed also. Just handle making sure streaming
21199         finishes for the deactivation case, and setting the deactivated
21200         mode.
21201         (gst_pad_set_active): Complain loudly if deactivation fails.
21202         (gst_pad_activate_pull): Adapt to pre/post_activate changes.
21203         (gst_pad_activate_push): Adapt to pre/post_activate changes,
21204         remove the terrible hack.
21205
21206 2005-10-11  Wim Taymans  <wim@fluendo.com>
21207
21208         * gst/gstbin.c: (gst_bin_init), (gst_bin_provide_clock_func),
21209         (is_eos), (gst_bin_add_func), (gst_bin_remove_func),
21210         (gst_bin_recalc_state), (gst_bin_change_state_func),
21211         (gst_bin_dispose), (bin_bus_handler):
21212         * gst/gstbin.h:
21213         Prepare to make current EOS message queue more generic.
21214         Fix some typos.
21215
21216         * gst/gstevent.c: (gst_event_new_newsegment),
21217         (gst_event_parse_newsegment):
21218         * gst/gstevent.h:
21219         Rename base to stream_time.
21220
21221         * gst/gstmessage.h:
21222         Fix typo in docs.
21223
21224 2005-10-11  Wim Taymans  <wim@fluendo.com>
21225
21226         * gst/gstbin.c: (gst_bin_init), (gst_bin_provide_clock_func),
21227         (gst_bin_add_func), (gst_bin_remove_func), (gst_bin_recalc_state),
21228         (gst_bin_change_state_func), (bin_bus_handler):
21229         * gst/gstbin.h:
21230         Work on proper clock selection.
21231
21232 2005-10-11  Edward Hervey  <edward@fluendo.com>
21233
21234         * libs/gst/controller/gstcontroller.c: (gst_controller_remove_properties_list): 
21235         * libs/gst/controller/gstcontroller.h:
21236         Added GList* version of _remove_properties() in order to be able to wrap
21237         it in bindings.
21238
21239 2005-10-11  Wim Taymans  <wim@fluendo.com>
21240
21241         * docs/design/part-states.txt:
21242         Some more docs.
21243
21244         * gst/gstbin.c: (gst_bin_set_clock_func), (gst_bin_recalc_state),
21245         (gst_bin_change_state_func), (bin_bus_handler):
21246         Doc updates. Don't distribute the same clock over and over again.
21247
21248         * gst/gstclock.c:
21249         * gst/gstclock.h:
21250         Doc updates.
21251
21252         * gst/gstpad.c: (gst_flow_get_name), (gst_flow_to_quark),
21253         (gst_pad_get_type), (gst_pad_push), (gst_pad_push_event),
21254         (gst_pad_send_event):
21255         * gst/gstpad.h:
21256         Make probe emission threadsafe again.
21257         Register quarks and move _get_name() from utils.
21258         Doc updates.
21259
21260         * gst/gstpipeline.c: (gst_pipeline_class_init),
21261         (gst_pipeline_change_state), (gst_pipeline_provide_clock_func):
21262         Only redistribute the clock of it changed.
21263
21264         * gst/gstsystemclock.h:
21265         Doc updates. 
21266
21267         * gst/gstutils.c:
21268         * gst/gstutils.h:
21269         Moved the _flow_get_name() to GstPad.
21270
21271 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
21272
21273         * check/gst-libs/gdp.c: (GST_START_TEST):
21274         * check/gst/gstcaps.c: (GST_START_TEST):
21275         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_crc),
21276         (gst_dp_dump_byte_array), (gst_dp_header_from_buffer),
21277         (gst_dp_packet_from_caps):
21278           fix more valgrind warnings before turning up the heat
21279
21280 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
21281
21282         * gst/parse/grammar.y:
21283           some cleanup before the hacking
21284
21285 2005-10-10  Thomas Vander Stichele  <thomas at apestaart dot org>
21286
21287         * gst/base/gstbasesrc.c: (gst_base_src_query):
21288           use conversions
21289         * gst/gstutils.c: (gst_guint64_to_gdouble),
21290         (gst_gdouble_to_guint64), (gst_util_uint64_scale):
21291         * gst/gstutils.h:
21292           externalize, basesrc uses it
21293           obviously the implementation needs testing
21294
21295 2005-10-10  Wim Taymans  <wim@fluendo.com>
21296
21297         * tests/sched/Makefile.am:
21298         * tests/sched/sort.c: (make_pipeline1), (make_pipeline2),
21299         (make_pipeline3), (make_pipeline4), (print_elem), (main):
21300
21301 2005-10-10  Thomas Vander Stichele  <thomas at apestaart dot org>
21302
21303         * gst/gstutils.c: (guint64_to_gdouble), (gst_util_uint64_scale):
21304           apparently converting from guint64 to double is not implemented
21305           on MSVC
21306
21307 2005-10-10  Wim Taymans  <wim@fluendo.com>
21308
21309         * check/Makefile.am:
21310         * check/generic/states.c: (GST_START_TEST):
21311         * check/gst/gstbin.c: (GST_START_TEST):
21312         * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
21313         * check/states/sinks.c: (GST_START_TEST):
21314         * check/states/sinks2.c: (GST_START_TEST), (gst_object_suite),
21315         (main):
21316         Check fixes, use API as stated in design docs, remove hacks.
21317
21318         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
21319         (gst_base_sink_change_state):
21320         Catch stopping our task while we're shutting down.
21321
21322         * gst/gstbin.c: (gst_bin_init), (gst_bin_add_func),
21323         (gst_bin_remove_func), (gst_bin_get_state_func),
21324         (gst_bin_recalc_state), (gst_bin_change_state_func),
21325         (bin_bus_handler):
21326         * gst/gstbin.h:
21327         * gst/gstelement.c: (gst_element_init),
21328         (gst_element_get_state_func), (gst_element_abort_state),
21329         (gst_element_commit_state), (gst_element_lost_state),
21330         (gst_element_set_state), (gst_element_change_state),
21331         (gst_element_change_state_func):
21332         * gst/gstelement.h:
21333         New state change algorithm (see #318116)
21334
21335         * gst/gstpipeline.c: (gst_pipeline_class_init),
21336         (gst_pipeline_init), (gst_pipeline_set_property),
21337         (gst_pipeline_get_property), (do_pipeline_seek),
21338         (gst_pipeline_change_state), (gst_pipeline_provide_clock_func):
21339         * gst/gstpipeline.h:
21340         Remove crude state change hacks.
21341
21342         * gst/gstutils.h:
21343         Remove crude hacks.
21344
21345         * tools/gst-launch.c: (main):
21346         Fixes for state change. Needs some more work to fully use the
21347         new stuff.
21348
21349 2005-10-10  Andy Wingo  <wingo@pobox.com>
21350
21351         * tests/Makefile.am (noinst_PROGRAMS): No more init.c.
21352
21353         * gst/gst.c (G_OPTION_FLAG_NO_ARG): Apparently GLib 2.8 requires
21354         this flag, but it's not even in GLib 2.6. Odd. Hack around the
21355         issue.
21356
21357 2005-10-10  Tim-Philipp Müller  <tim at centricular dot net>
21358
21359         * gst/gstiterator.c: (gst_iterator_new):
21360           Fix my previous commit: GTypes passed to gst_iterator_new()
21361           can be fundamental types.
21362
21363 2005-10-10  Wim Taymans  <wim@fluendo.com>
21364
21365         * gst/gstelement.c: (gst_element_iterate_pad_list),
21366         (gst_element_iterate_pads), (gst_element_iterate_src_pads),
21367         (gst_element_iterate_sink_pads):
21368         Use src/sink pads lists for the respective iterators instead
21369         of filtering.
21370
21371 2005-10-10  Andy Wingo  <wingo@pobox.com>
21372
21373         Merged in popt removal + GOption addition patch from Ronald, bug
21374         #169772.
21375
21376         * docs/gst/gstreamer-sections.txt: Add STATE_(UN)LOCK_FULL, move
21377         GstElement macros around, remove popt-related symbols, add goption
21378         stuff.
21379
21380         * configure.ac: Remove popt checks, require GLib 2.6 for GOption.
21381         
21382         * docs/gst/Makefile.am:
21383         * docs/libs/Makefile.am: No POPT_CFLAGS.
21384         
21385         * examples/manual/Makefile.am:
21386         * docs/manual/basics-init.xml: Doc updates with an example.
21387         
21388         * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
21389         (gst_init), (parse_one_option), (parse_goption_arg):
21390         * gst/gst.h: Removed gst_init_with_popt_table and friends. Took a
21391         bit of hand merging and debugging to get the GOption stuff working
21392         tho.
21393         
21394         * tests/Makefile.am:
21395         * tools/Makefile.am:
21396         * tools/gst-inspect.c: (main):
21397         * tools/gst-launch.c: (main):
21398         * tools/gst-run.c: (main):
21399         * tools/gst-xmlinspect.c: (main): Thanks Ronald!
21400
21401 2005-10-10  Tim-Philipp Müller  <tim at centricular dot net>
21402
21403         * gst/gstiterator.c: (gst_iterator_new):
21404           Add assertions to make sure passed GType is likely to really
21405           be a GType (as the compiler won't catch it if the size and
21406           GType arguments get mixed up, see #318447).
21407
21408 2005-10-10  Josef Zlomek  <josef dot zlomek at xeris dot cz>
21409
21410         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
21411
21412         * gst/gstbin.c: (gst_bin_iterate_sorted):
21413           Pass GType and size arguments to gst_iterator_new() in the right
21414           order (maybe we should make _new() take the GType as first argument
21415           just like _new_list()?) (#318447).
21416           
21417
21418 2005-10-10  Wim Taymans  <wim@fluendo.com>
21419
21420         * gst/gstelement.c: (gst_element_finalize):
21421         And free the GStaticRecMutex too
21422
21423 2005-10-10  Andy Wingo  <wingo@pobox.com>
21424
21425         * gst/gstelement.c (gst_element_init, gst_element_finalize):
21426         Allocate and free the mutex properly.
21427
21428         * gst/gstelement.h (GST_STATE_UNLOCK_FULL, GST_STATE_LOCK_FULL):
21429         New macros.
21430         (GstElement): The state_lock is now recursive. Rebuild your
21431         plugins, suckers. Old macros adapted.
21432
21433         * docs/gst/gstreamer-sections.txt: Doc updates.
21434
21435         * gst/gstutils.h:
21436         * gst/gstutils.c (g_static_rec_cond_timed_wait) 
21437         (g_static_rec_cond_wait): Ported from state changes patch, while
21438         we wait on bug #317802 to be solved in a well-distributed GLib.
21439
21440         * gst/gstelement.c (gst_element_change_state_func): Renamed from
21441         gst_element_change_state, variable name changes.
21442         (gst_element_change_state): Split out of gst_element_set_state in
21443         preparation for the state change merge. Doesn't pay attention to
21444         the 'transition' argument.
21445         (gst_element_set_state): Updates, hopefully purely cosmetic.
21446         (gst_element_sync_state_with_parent): MT-safety. Ported from the
21447         state change patch.
21448         (gst_element_get_state_func): Renamed from get_state, cosmetic
21449         changes.
21450
21451 2005-10-10  Thomas Vander Stichele  <thomas at apestaart dot org>
21452
21453         * gst/elements/gstelements.c:
21454         * win32/GStreamer.vcproj:
21455         * win32/config.h:
21456         * win32/dirent.c: (_tseekdir):
21457         * win32/gst-inspect.vcproj:
21458         * win32/gst-launch.vcproj:
21459         * win32/gstconfig.h:
21460         * win32/gstelements.vcproj:
21461         * win32/gstenumtypes.c: (gst_object_flags_get_type):
21462         * win32/gstreamer.def:
21463         * win32/msvc71.sln:
21464           updates for the win32 build (patch from Sebastien Moutte)
21465
21466 2005-10-10  Andy Wingo  <wingo@pobox.com>
21467
21468         * gst/gstbin.c (gst_bin_get_state_func): Renamed from
21469         gst_bin_get_state, cleaned up (but no logic changes).
21470         (bin_element_is_sink): Comment updates.
21471         (sink_iterator_filter): Remove needless cast.
21472         (gst_bin_iterate_sinks): Doc update.
21473         (gst_bin_change_state_func): Renamed from gst_bin_change_state,
21474         cleaned up (but no logic changes).
21475
21476         * check/states/sinks.c (test_src_sink): Cleanups from the state
21477         change patch.
21478         (test_livesrc_sink): Sync on the state.
21479
21480         * check/pipelines/simple_launch_lines.c (run_pipeline): Merge from
21481         the state change patch.
21482
21483         * check/gst/gstghostpad.c (test_ghost_pads): Merge from the state
21484         change patch.
21485
21486         * check/gst/gstbin.c: Merge in some style fixes and additional
21487         checks from Wim's state change patch.
21488
21489 2005-10-10  Tim-Philipp Müller  <tim at centricular dot net>
21490
21491         * gst/base/gsttypefindhelper.c: (helper_find_peek),
21492         (gst_type_find_helper):
21493           Check whether we have the requested data already in our list of
21494           cached buffers before pulling a new buffer; also make the buffer
21495           list a GSList. Speeds up typefinding by ca. 5-10% altogether.
21496
21497 2005-10-10  Thomas Vander Stichele  <thomas at apestaart dot org>
21498
21499         * gst/gstcaps.c:
21500         * gst/gstevent.c:
21501           doc updates
21502         * gst/gstvalue.c: (gst_value_deserialize_int_helper):
21503           don't use long long, it's not portable.  Replacing with
21504           gint64 seems to work; let's hope no skeletons fall out of the closet.
21505
21506 2005-10-10  Andy Wingo  <wingo@pobox.com>
21507
21508         * autogen.sh (CONFIGURE_DEF_OPT): No more --plugin-buiddir, yay
21509
21510 2005-10-09  Stefan Kost  <ensonic@users.sf.net>
21511
21512         * docs/gst/gstreamer-sections.txt:
21513         * gst/gstevent.c:
21514         * gst/gstevent.h:
21515         * gst/gstinfo.c:
21516         * gst/gstinfo.h:
21517         * gst/gstmessage.c: (gst_message_parse_state_changed):
21518         * gst/gstpad.c:
21519         * gst/gstpad.h:
21520           more docs, fix compilation
21521
21522 2005-10-09  Philippe Khalaf <burger@speedy.org>
21523         * gst/gstmessage.c:
21524           Fixed a few forgotten variables on previous commit
21525
21526 2005-10-09  Tim-Philipp Müller  <tim at centricular dot net>
21527
21528         * gst/base/gsttypefindhelper.c: (helper_find_peek):
21529           Fix evil typefind crasher: getrange() might return a short
21530           buffer at the end of a file, but gst_type_find_peek() must
21531           either return the full data as requested or NULL, but
21532           never a short buffer.
21533
21534 2005-10-09  Thomas Vander Stichele  <thomas at apestaart dot org>
21535
21536         * gst/gstmessage.c: (gst_message_new_state_changed),
21537         (gst_message_parse_state_changed):
21538         * gst/gstmessage.h:
21539           don't use "new", it's a C++ keyword
21540
21541 2005-10-08  Wim Taymans  <wim@fluendo.com>
21542
21543         * gst/gstbin.c: (is_eos), (update_degree), (gst_bin_query):
21544         * gst/gstelement.c: (gst_element_post_message):
21545         * gst/gstpipeline.c: (gst_pipeline_change_state):
21546         Small docs and debug updates.
21547
21548 2005-10-08  Stefan Kost  <ensonic@users.sf.net>
21549
21550         * docs/gst/gstreamer-sections.txt:
21551         * gst/gstelementfactory.c:
21552         * gst/gstevent.c:
21553         * gst/gsttaglist.c:
21554           more docs
21555
21556 2005-10-08  Wim Taymans  <wim@fluendo.com>
21557
21558         * gst/gstbin.c: (is_eos), (update_degree), (gst_bin_change_state),
21559         (gst_bin_dispose), (bin_bus_handler):
21560         Fix typos, add comments.
21561         Clear EOS list when going to PAUSED from any direction and do it
21562         in a threadsafe way.
21563         Get base time in a threadsafe way too.
21564         Fix confusing debug in the change_state function.
21565         Various other small cleanups.
21566         
21567         * gst/gstelement.c: (gst_element_post_message):
21568         Fix very verbose bus posting code.
21569
21570         * gst/gstpipeline.c: (gst_pipeline_class_init),
21571         (gst_pipeline_set_property), (gst_pipeline_get_property),
21572         (gst_pipeline_change_state):
21573         Small ARG_ -> PROP_ cleanup
21574
21575 2005-10-08  Wim Taymans  <wim@fluendo.com>
21576
21577         * gst/gstbin.c: (is_eos), (bin_bus_handler):
21578         Do a less CPU demanding EOS check because we can.
21579
21580 2005-10-08  Wim Taymans  <wim@fluendo.com>
21581
21582         * libs/gst/dataprotocol/dataprotocol.c:
21583         (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
21584         (gst_dp_packet_from_event):
21585         * libs/gst/dataprotocol/dataprotocol.h:
21586         * libs/gst/dataprotocol/dp-private.h:
21587         It's about time we bump the version number.
21588         Since event types don't fit in the guint8 anymore describing
21589         the payload type, make payload type 16 bits wide.
21590
21591 2005-10-08  Wim Taymans  <wim@fluendo.com>
21592
21593         * docs/design/part-TODO.txt:
21594         * docs/design/part-clocks.txt:
21595         * docs/design/part-events.txt:
21596         * docs/design/part-gstbin.txt:
21597         * docs/design/part-gstelement.txt:
21598         * docs/design/part-gstpipeline.txt:
21599         * docs/design/part-live-source.txt:
21600         * docs/design/part-messages.txt:
21601         * docs/design/part-overview.txt:
21602         * docs/design/part-states.txt:
21603         Many doc updates.
21604
21605 2005-10-08  Wim Taymans  <wim@fluendo.com>
21606
21607         * gst/gstevent.c:
21608         * gst/gstevent.h:
21609         Fix event quark registration.
21610         Add some space between events so we can insert them in the
21611         right groups.
21612
21613 2005-10-08  Wim Taymans  <wim@fluendo.com>
21614
21615         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
21616         (gst_base_sink_handle_buffer):
21617         Better log message.
21618
21619         * gst/gstbus.h:
21620         * gst/gstelement.h:
21621         More docs.
21622
21623         * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
21624         (gst_queue_set_property), (gst_queue_get_property):
21625         * gst/gstqueue.h:
21626         Remove old unused properties.
21627
21628 2005-10-08  Stefan Kost  <ensonic@users.sf.net>
21629         * docs/gst/gstreamer-sections.txt:
21630         * gst/gstmessage.c:
21631         * gst/gstmessage.h:
21632         * gst/gstminiobject.c:
21633         * gst/gstminiobject.h:
21634         * gst/gstobject.h:
21635         * gst/gstpad.h:
21636         * gst/gstutils.h:
21637           lots of new docs and doc fixes
21638
21639 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
21640
21641         * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_load_file):
21642         * gst/gstplugin.h:
21643         * gst/gstregistry.c: (gst_registry_lookup_locked),
21644         (gst_registry_scan_path_level):
21645         * gst/gstregistryxml.c: (load_plugin):
21646           Only ever load one plugin for a given plugin basename.
21647           This ensures correct overriding of GST_PLUGIN_PATH over
21648           GST_PLUGIN_SYSTEM_PATH and of home dir plugins over
21649           system installed plugins.
21650
21651 2005-10-08  Wim Taymans  <wim@fluendo.com>
21652
21653         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
21654         (gst_base_sink_do_sync), (gst_base_sink_handle_buffer):
21655         Prepare for doing QOS.
21656
21657 2005-10-08  Wim Taymans  <wim@fluendo.com>
21658
21659         * check/gst/gstbin.c: (GST_START_TEST):
21660         * check/pipelines/cleanup.c: (GST_START_TEST):
21661         * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
21662         Allow new clock message too.
21663
21664 2005-10-08  Wim Taymans  <wim@fluendo.com>
21665
21666         * gst/gstmessage.c: (gst_message_new_error),
21667         (gst_message_new_warning), (gst_message_new_tag),
21668         (gst_message_new_state_changed), (gst_message_new_clock_provide),
21669         (gst_message_new_clock_lost), (gst_message_new_new_clock),
21670         (gst_message_new_segment_start), (gst_message_new_segment_done),
21671         (gst_message_parse_state_changed),
21672         (gst_message_parse_clock_provide), (gst_message_parse_clock_lost),
21673         (gst_message_parse_new_clock):
21674         * gst/gstmessage.h:
21675         Also carry the clock in question.
21676
21677 2005-10-08  Wim Taymans  <wim@fluendo.com>
21678
21679         * gst/gstmessage.c: (gst_message_new_custom),
21680         (gst_message_new_eos), (gst_message_new_error),
21681         (gst_message_new_warning), (gst_message_new_tag),
21682         (gst_message_new_state_changed), (gst_message_new_clock_provide),
21683         (gst_message_new_new_clock), (gst_message_new_segment_start),
21684         (gst_message_new_segment_done), (gst_message_parse_state_changed),
21685         (gst_message_parse_clock_provide), (gst_message_parse_new_clock):
21686         * gst/gstmessage.h:
21687         Clean up.
21688         Added clock related messages.
21689
21690         * gst/gstpipeline.c: (gst_pipeline_change_state):
21691         Post message when the clock changed.
21692
21693         * tools/gst-launch.c: (event_loop):
21694         Print new clock.
21695
21696 2005-10-08  Tim-Philipp Müller  <tim at centricular dot net>
21697
21698         * tools/gst-inspect.c: (print_element_properties_info):
21699           Can't pass NULL strings to g_print() on windows.
21700
21701 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
21702
21703         * docs/Makefile.am:
21704         * docs/gst/Makefile.am:
21705         * docs/gst/gstreamer-docs.sgml:
21706         * docs/gst/running.xml:
21707         * docs/version.entities.in:
21708           add a chapter on running GStreamer.
21709           document GST_DEBUG and GST_PLUGIN* env vars
21710
21711 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
21712
21713         * Makefile.am:
21714           remove include dir
21715         * configure.ac:
21716           remove PLUGINS_BUILDDIR stuff
21717         * gst/gst.c: (init_post):
21718           reorder parsing of GST_PLUGIN_PATH and GST_PLUGIN_SYSTEM_PATH
21719         * idiottest.mak:
21720           remove, it was condescending and not needed
21721
21722 2005-10-08  Wim Taymans  <wim@fluendo.com>
21723
21724         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
21725         (gst_base_sink_handle_object), (gst_base_sink_event),
21726         (gst_base_sink_wait), (gst_base_sink_handle_event),
21727         (gst_base_sink_change_state):
21728         * gst/base/gstbasesink.h:
21729         Repost EOS message while going to PLAYING if still EOS.
21730         Make sure that when receiving a FLUSH_START we don't attempt
21731         to sync on the clock anymore.
21732
21733 2005-10-08  Wim Taymans  <wim@fluendo.com>
21734
21735         * tools/gst-launch.c: (event_loop):
21736         Better message printout.
21737
21738 2005-10-08  Wim Taymans  <wim@fluendo.com>
21739
21740         * gst/gstbin.c: (gst_bin_child_proxy_get_child_by_index),
21741         (gst_bin_child_proxy_get_children_count):
21742         * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
21743         (gst_child_proxy_lookup), (gst_child_proxy_get_property),
21744         (gst_child_proxy_get_valist), (gst_child_proxy_set_property),
21745         (gst_child_proxy_set_valist):
21746         * gst/parse/grammar.y:
21747         Make ChildProxy threadsafe and fix mem leaks.
21748
21749 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
21750
21751         * gst/gst.c: (init_post):
21752           debug the GST_PLUGIN_ env vars
21753
21754 2005-10-08  Wim Taymans  <wim@fluendo.com>
21755
21756         * check/gst/gstbin.c: (GST_START_TEST):
21757         * check/gst/gstmessage.c: (GST_START_TEST):
21758         * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
21759         * gst/gstelement.c: (gst_element_commit_state),
21760         (gst_element_lost_state):
21761         * gst/gstmessage.c: (gst_message_new_state_changed),
21762         (gst_message_parse_state_changed):
21763         * gst/gstmessage.h:
21764         * tools/gst-launch.c: (event_loop):
21765         Added extra field to STATE_CHANGE message with the pending
21766         state, which will be different from the new state soon.
21767
21768 2005-10-08  Wim Taymans  <wim@fluendo.com>
21769
21770         * gst/gstbus.c: (gst_bus_pop):
21771         * gst/gstclock.c:
21772         * gst/gstsystemclock.c: (gst_system_clock_async_thread):
21773         Small cleanups and doc updates.
21774
21775 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
21776
21777         * gst/gst.c: (init_pre):
21778         * gst/gstbin.c: (gst_bin_add_func):
21779           log distributing clocks and base time
21780         * gst/gstregistry.c: (gst_registry_add_plugin),
21781         (gst_registry_scan_path_level), (gst_registry_scan_path):
21782           clean up the debugging output a little
21783         * gst/gstutils.c: (gst_element_state_get_name):
21784           warn about a memleak (I've actually seen this be used, though
21785           it was probably a bug)
21786
21787 2005-10-07  Wim Taymans  <wim@fluendo.com>
21788
21789         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
21790         (gst_base_src_init), (gst_base_src_default_newsegment),
21791         (gst_base_src_newsegment), (gst_base_src_do_seek),
21792         (gst_base_src_loop), (gst_base_src_start):
21793         * gst/base/gstbasesrc.h:
21794         Make the newsegment event customizable by subclasses.
21795
21796 2005-10-07  Wim Taymans  <wim@fluendo.com>
21797
21798         * gst/gstevent.c: (gst_event_new_buffersize),
21799         (gst_event_parse_buffersize):
21800         * gst/gstevent.h:
21801         New event for future idea.
21802
21803 2005-10-07  Andy Wingo  <wingo@pobox.com>
21804
21805         * gst/gstelement.c (gst_element_post_message): Doc update.
21806
21807         * docs/gst/gstreamer-sections.txt: Update.
21808
21809         * gst/gstmessage.c (gst_message_new_application): Made into a
21810         function like honest API calls.
21811         (gst_message_new_element): New message type.
21812
21813         * gst/gstmessage.h (enum): Add GST_MESSAGE_ELEMENT type.
21814
21815         * check/elements/fakesrc.c (test_no_preroll): New check, checks
21816         that setting a live fakesrc to PAUSED returns NO_PREROLL both
21817         times.
21818
21819         * gst/base/gstbasesrc.c (gst_base_src_change_state): Allow a
21820         NO_PREROLL from gst_element_change_state to fall through.
21821
21822 2005-10-07  Wim Taymans  <wim@fluendo.com>
21823
21824         * gst/gstghostpad.c: (gst_ghost_pad_get_internal),
21825         (gst_ghost_pad_do_activate_push):
21826         Activating a ghostpad with no internal pad in push mode
21827         is ok.
21828
21829 2005-10-07  Thomas Vander Stichele  <thomas at apestaart dot org>
21830
21831         * gst/gstobject.h:
21832           there's no point in wrapping FLAG_SET/_UNSET in STMT macros.
21833           Fixes compilation on Windows.
21834
21835 2005-10-07  Michael Smith <msmith@fluendo.com>
21836
21837         * tools/gst-inspect.c:
21838           Print out feature and plugin count at the end when printing out
21839           all features.
21840
21841 2005-10-04  Michael Smith <msmith@fluendo.com>
21842
21843         * gst/gsterror.c: (_gst_stream_errors_init):
21844           Add another error string used in a few existing plugins.
21845
21846         * gst/gstplugin.c:
21847         * gst/gstpluginfeature.c: (gst_plugin_feature_load):
21848         * tools/gst-inspect.c: (print_element_info):
21849           When a feature disappears from a plugin (and the feature exists in
21850           the cached registry file), things went horribly wrong. This isn't a
21851           complete fix, we should actually be removing the 'missing' features
21852           from the features list when we load the actual plugin. That's not
21853           yet implemented. 
21854
21855 2005-10-04  Johan Dahlin  <johan@gnome.org>
21856
21857         * check/gst/gstiterator.c: (GST_START_TEST):
21858         * gst/gstbin.c: (gst_bin_iterate_elements),
21859         (gst_bin_iterate_recurse), (gst_bin_iterate_sorted):
21860         * gst/gstelement.c: (gst_element_iterate_pads):
21861         * gst/gstformat.c: (gst_format_iterate_definitions):
21862         * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
21863         (gst_iterator_new_list), (gst_iterator_filter):
21864         * gst/gstiterator.h:
21865         * gst/gstquery.c: (gst_query_type_iterate_definitions):
21866         Add a GType to GstIterator, update callsites and tests.
21867
21868 2005-10-06  Thomas Vander Stichele  <thomas at apestaart dot org>
21869
21870         * gst/gstpad.c: (gst_pad_event_default_dispatch):
21871           give events a chance to be handled by event probes when the pad
21872           is not linked
21873
21874 2005-10-06  Thomas Vander Stichele  <thomas at apestaart dot org>
21875
21876         * gst/gstevent.c: (gst_event_type_get_name),
21877         (gst_event_type_to_quark), (gst_event_finalize), (gst_event_new):
21878         * gst/gstevent.h:
21879           add string representations for event types
21880
21881 2005-10-06  Wim Taymans  <wim@fluendo.com>
21882
21883         * gst/elements/gstfilesink.c: (gst_file_sink_close_file):
21884         Don't use NULL pointers.
21885
21886 2005-10-06  Thomas Vander Stichele  <thomas at apestaart dot org>
21887
21888         * gst/gst_private.h:
21889         * gst/gstbus.c:
21890         * gst/gstelement.c:
21891         * gst/gstinfo.c:
21892         * gst/gstpluginfeature.c:
21893           widen the debug category in output to fit the biggest one we have
21894           add a bus category and use it
21895           play with the colors
21896           fix up some categories
21897
21898 2005-10-06  Thomas Vander Stichele  <thomas at apestaart dot org>
21899
21900         * gst/gstghostpad.c: (gst_ghost_pad_internal_do_activate_push):
21901           add push activation of sink ghost pads.
21902           Andye, please verify
21903
21904 2005-10-05  Thomas Vander Stichele  <thomas at apestaart dot org>
21905
21906         * gst/gstutils.c: (gst_element_link_pads):
21907           fix a bug in the case where neither element has a pad
21908         * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
21909           add a test for that case
21910
21911 2005-10-05  Thomas Vander Stichele  <thomas at apestaart dot org>
21912
21913         * gst/gstpad.c: (gst_pad_push), (gst_pad_push_event):
21914           emit have-data before checking for peers.  This allows
21915           for probe handlers to connect elements.  This helps autopluggers.
21916         * check/gst/gstpad.c: (GST_START_TEST), (_probe_handler),
21917         (gst_pad_suite):
21918           add six checks, linked/unlinked with no/true/false probe
21919
21920 2005-10-04  Wim Taymans  <wim@fluendo.com>
21921
21922         * gst/elements/gstfakesink.c: (gst_fake_sink_get_property),
21923         (gst_fake_sink_event), (gst_fake_sink_preroll),
21924         (gst_fake_sink_render), (gst_fake_sink_change_state):
21925         * gst/elements/gstfakesrc.c: (gst_fake_src_event_handler),
21926         (gst_fake_src_get_property), (gst_fake_src_create),
21927         (gst_fake_src_stop):
21928         * gst/elements/gstidentity.c: (gst_identity_stop):
21929         Protect last_message with lock.
21930
21931 2005-10-04  Edward Hervey  <edward@fluendo.com>
21932
21933         * gst/gstformat.h: 
21934         Added precision in the comments for GST_FORMAT_DEFAULT
21935
21936 2005-10-04  Tim-Philipp Müller  <tim at centricular dot net>
21937
21938         * tools/gst-launch.c: (main):
21939           Don't try to run erroneous pipelines.
21940
21941 2005-10-04  Julien MOUTTE  <julien@moutte.net>
21942
21943         * gst/gstbus.c: We don't need this header.
21944
21945 2005-10-03  Thomas Vander Stichele  <thomas at apestaart dot org>
21946
21947         * configure.ac:
21948           back to development
21949
21950 === release 0.9.3 ===
21951
21952 2005-10-03  Thomas Vander Stichele  <thomas at apestaart dot org>
21953
21954         * README:
21955         * configure.ac:
21956           Releasing 0.9.3, "Unregistered"
21957
21958 2005-10-03  Andy Wingo  <wingo@pobox.com>
21959
21960         * gst/gstpad.c (gst_pad_activate_push): There is a race condition
21961         whereby calling a pad's activatepush() function can start a thread
21962         that starts to push or pull before the pad gets the FLUSHING flag
21963         unset. Hack around it by holding the stream lock until the flag is
21964         set. Need to replace this with a proper solution. Together with
21965         the ghost pad fixes, this fixes mp3 playing/tagreading.
21966
21967         * docs/design/part-gstghostpad.txt: Add a note about activation of
21968         proxy pads outside of ghost pads.
21969
21970         * gst/gstghostpad.c: Implement the ghost pad activation design.
21971
21972 2005-10-02  Andy Wingo  <wingo@pobox.com>
21973
21974         * gst/gstobject.h (GST_OBJECT_REFCOUNT_VALUE): Just use the int.
21975         It is volatile, after all.
21976
21977         * docs/design/part-gstghostpad.txt: Flesh out activation with
21978         ghost pads.
21979
21980         * gst/base/gstbasesrc.c (gst_base_src_init): Use
21981         GST_DEBUG_FUNCPTR.
21982
21983 2005-10-02  Tim-Philipp Müller  <tim at centricular dot net>
21984
21985         * configure.ac:
21986           Fix (unused) AM_CONDITIONAL tests.
21987
21988 2005-10-01  Alessandro Decina  <alessandro at nnva dot org>
21989
21990         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
21991
21992         * gst/gstutils.c: (gst_pad_query_convert):
21993           Add assertion that makes sure src_val is >=0, just like
21994           gst_query_new_convert() has. (#315895)
21995
21996 2005-09-30  Edward Hervey  <edward@fluendo.com>
21997
21998         * gst/elements/gsttee.c: (gst_tee_do_push), (gst_tee_handle_buffer):
21999         Let's not iterate pads we're not interested in, it avoids getting 
22000         sky-high refcounts on sinkpad.
22001
22002 2005-09-30  Wim Taymans  <wim@fluendo.com>
22003
22004         * gst/gstelement.c: (gst_element_set_state),
22005         (gst_element_change_state):
22006         Small tweak, element in ASYNC remains ASYNC.
22007
22008 2005-09-30  Wim Taymans  <wim@fluendo.com>
22009
22010         * gst/base/gstbasesink.c: (gst_base_sink_change_state):
22011         Only error is an error.
22012
22013         * gst/gstbin.c: (gst_bin_change_state):
22014         Better debugging.
22015
22016         * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_chain):
22017         Also call pad_block in pad alloc.
22018
22019         * gst/gstutils.c: (gst_flow_get_name):
22020         Better debugging.
22021
22022 2005-09-29  Tim-Philipp Müller  <tim at centricular dot net>
22023
22024         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
22025         (gst_base_src_get_range):
22026           Fix documentation typos. Add some more debug info.
22027
22028 2005-09-29  David Schleef  <ds@schleef.org>
22029
22030         * gst/gstplugin.c: (gst_plugin_load_file): Make some error messages
22031           more end-user friendly.
22032         * tools/gst-inspect.c: (main): Check if command-line argument is
22033           a file and attempt to load that file as a plugin.
22034
22035 2005-09-29  Thomas Vander Stichele  <thomas at apestaart dot org>
22036
22037         * check/gst/gstbin.c:
22038         * check/states/sinks.c:
22039           fix tests for the new warning
22040         * check/gst/gstpipeline.c:
22041           add a test for pipeline and bus interaction
22042         * gst/gstelement.c:
22043           elements should be NULL if they get disposed; add a warning if not
22044
22045 2005-09-29  Thomas Vander Stichele  <thomas at apestaart dot org>
22046
22047         * gst/gstobject.c:
22048           for 2.6 refcounting, make debug log more correct by printing
22049           the actual refcounts at the time of swap (Wim)
22050
22051 2005-09-29  Andy Wingo  <wingo@pobox.com>
22052
22053         * gst/gstbus.c (gst_bus_remove_signal_watch): New function,
22054         removes signal watches previously added via
22055         gst_bus_add_signal_watch.
22056         (gst_bus_add_signal_watch): Don't return the source id, just store
22057         it on the bus if there wasn't an id already.
22058
22059         * gst/gstbus.h (GstBus): Add a couple new fields. API changes for
22060         add_signal_watch and remove_signal_watch.
22061
22062 2005-09-29  Edward Hervey  <edward@fluendo.com>
22063
22064         * libs/gst/controller/gstcontroller.c: (gst_controller_new_list): 
22065         Better if we actually iterate the list :)
22066
22067 2005-09-29  Wim Taymans  <wim@fluendo.com>
22068
22069         * check/gst/gstbin.c: (GST_START_TEST):
22070         Change for new bus API.
22071
22072         * check/gst/gstbus.c: (message_func_eos), (message_func_app),
22073         (send_messages), (GST_START_TEST), (gstbus_suite):
22074         Change for new bus signal API.
22075
22076         * gst/gstbus.c: (gst_bus_class_init), (gst_bus_have_pending),
22077         (gst_bus_source_prepare), (gst_bus_source_check),
22078         (gst_bus_create_watch), (gst_bus_add_watch_full),
22079         (gst_bus_add_watch), (gst_bus_poll), (gst_bus_async_signal_func),
22080         (gst_bus_sync_signal_handler), (gst_bus_add_signal_watch):
22081         * gst/gstbus.h:
22082         Remove support for multiple GSources operating on different
22083         message types as it is too complex and unneeded when using
22084         signals.
22085         Added support for receiving signals from the bus.
22086
22087 2005-09-29  Thomas Vander Stichele  <thomas at apestaart dot org>
22088
22089         * docs/libs/tmpl/gstdataprotocol.sgml:
22090         * docs/manual/advanced-dataaccess.xml:
22091         * gst/elements/gstcapsfilter.c:
22092         * gst/gstutils.c:
22093           rename filter-caps to caps property
22094
22095 2005-09-29  Tim-Philipp Müller  <tim at centricular dot net>
22096
22097         * gst/gstvalue.c: (gst_value_deserialize_fraction):
22098           More robust fraction string parsing.
22099
22100         * docs/pwg/appendix-porting.xml:
22101           Mention gst_pad_use_explicit_caps() => gst_pad_use_fixed_caps()
22102
22103 2005-09-29  Tim-Philipp Müller  <tim at centricular dot net>
22104
22105         * gst/gstcaps.c: (gst_caps_do_simplify):
22106           Thou shalt not free a structure and then continue using it
22107           in the next loop iteration.
22108
22109         * check/gst/gstcaps.c: (check_fourcc_list), (test_simplify),
22110         (gst_caps_suite):
22111           Add test case for caps simplification.
22112
22113 2005-09-29  Wim Taymans  <wim@fluendo.com>
22114
22115         * check/gst/gstbin.c: (GST_START_TEST):
22116         Oops.
22117
22118 2005-09-29  Wim Taymans  <wim@fluendo.com>
22119
22120         * check/gst/gstbin.c: (GST_START_TEST):
22121         Add bus to bin.
22122
22123         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
22124         (add_to_queue), (clear_queue), (reset_degree), (update_degree),
22125         (find_element), (gst_bin_sort_iterator_next),
22126         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
22127         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
22128         (gst_bin_change_state), (gst_bin_dispose):
22129         A bin does not have a bus, it gets the bus from the parent.
22130
22131         * gst/gstelement.c: (gst_element_requires_clock),
22132         (gst_element_provides_clock), (gst_element_is_indexable),
22133         (gst_element_is_locked_state), (gst_element_change_state),
22134         (gst_element_set_bus_func):
22135         Small cleanups.
22136
22137         * gst/gstpipeline.c: (gst_pipeline_class_init),
22138         (gst_pipeline_init), (gst_pipeline_provide_clock_func):
22139         The pipeline provides a bus.
22140
22141 2005-09-28  Johan Dahlin  <johan@gnome.org>
22142
22143         * gst/gstmessage.c (gst_message_parse_state_changed): Use
22144         gst_structure_get_enum instead of gst_structure_get_int
22145
22146         * gst/gststructure.c (gst_structure_get_enum): Impl.
22147
22148         * gst/gststructure.h (gst_structure_get_enum): Add
22149
22150         * docs/gst/gstreamer-sections.txt: Ditto
22151
22152         * gst/gstmessage.c (gst_message_new_state_changed): Use
22153         GST_TYPE_STATE instead of G_TYPE_INT, mainly for language bindings
22154         which does introspection.
22155         Reviewed by Christian Schaller
22156
22157 2005-09-28  Stefan Kost  <ensonic@users.sf.net>
22158
22159         * gst/gstinfo.c: (gst_debug_log_default):
22160           don't do dummy g_strdup()s
22161         * libs/gst/controller/gstcontroller.c:
22162         (on_object_controlled_property_changed),
22163         (gst_controlled_property_new), (gst_controller_new_valist),
22164         (gst_controller_new_list),
22165         (gst_controller_remove_properties_valist), (gst_controller_set),
22166         (gst_controller_get), (gst_controller_sync_values),
22167         (gst_controller_get_value_array), (_gst_controller_class_init),
22168         (gst_controller_get_type):
22169         * libs/gst/controller/gstcontroller.h:
22170         * libs/gst/controller/gstinterpolation.c:
22171         (gst_controlled_property_find_timed_value_node):
22172           convert // to /**/ comments
22173
22174 2005-09-28  Wim Taymans  <wim@fluendo.com>
22175
22176         * gst/gstbus.c: (marshal_VOID__MINIOBJECT), (gst_bus_class_init),
22177         (gst_bus_post), (poll_func), (gst_bus_async_signal_func),
22178         (gst_bus_sync_signal_handler):
22179         * gst/gstbus.h:
22180         Added async-message and sync-message signals to the bus.
22181         Added helper BusFunc to emit signals for all posted messages.
22182
22183         * gst/gstmessage.c: (gst_message_type_get_name),
22184         (gst_message_type_to_quark), (gst_message_get_type):
22185         * gst/gstmessage.h:
22186         Register quarks for message names.
22187
22188 2005-09-28  Stefan Kost  <ensonic@users.sf.net>
22189
22190         * docs/libs/gstreamer-libs-sections.txt:
22191         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
22192         (gst_controller_new_list):
22193         * libs/gst/controller/gstcontroller.h:
22194           added another constructor for language bindings
22195
22196 2005-09-28  Thomas Vander Stichele  <thomas at apestaart dot org>
22197
22198         * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
22199           add another check
22200         * gst/gstbus.c:
22201           add some doc
22202         * gst/gstinfo.c: (_gst_debug_init):
22203           slightly more readable color for refcount debugging
22204
22205 2005-09-28  Wim Taymans  <wim@fluendo.com>
22206
22207         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_provide_clock_func),
22208         (add_to_queue), (clear_queue), (reset_degree), (update_degree),
22209         (find_element), (gst_bin_sort_iterator_next),
22210         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
22211         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
22212         (gst_bin_change_state), (gst_bin_dispose):
22213         Small doc fixes. get_clock -> provide_clock.
22214
22215         * gst/gstelement.c: (gst_element_class_init),
22216         (gst_element_provides_clock), (gst_element_provide_clock),
22217         (gst_element_get_clock), (gst_element_commit_state),
22218         (gst_element_lost_state):
22219         * gst/gstelement.h:
22220         Make get/set_clock() symetric. Add provide_clock vmethod since
22221         that is actually what this function does.
22222
22223         * gst/gstpipeline.c: (gst_pipeline_class_init),
22224         (gst_pipeline_change_state), (gst_pipeline_provide_clock_func),
22225         (gst_pipeline_get_clock):
22226         get_clock -> provide_clock.
22227
22228 2005-09-28  Andy Wingo  <wingo@pobox.com>
22229
22230         * gst/base/gstbasesrc.c (gst_base_src_unlock): Comment a bit in
22231         lieu of real docs...
22232
22233         * gst/elements/gstfdsrc.c: Cleaned up a bit.
22234
22235 2005-09-28  Tim-Philipp Müller  <tim at centricular dot net>
22236
22237         * gst/elements/gstcapsfilter.c:
22238         * gst/elements/gstfakesink.c:
22239         * gst/elements/gstfakesrc.c:
22240         * gst/elements/gstfdsink.c:
22241         * gst/elements/gstfdsrc.c:
22242         * gst/elements/gstfilesink.c:
22243         * gst/elements/gstfilesrc.c:
22244         * gst/elements/gstidentity.c:
22245         * gst/elements/gsttee.c:
22246         * gst/elements/gsttypefindelement.c:
22247           Make element details static.
22248
22249 2005-09-28  Wim Taymans  <wim@fluendo.com>
22250
22251         * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
22252         (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
22253         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
22254         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
22255         (gst_bin_change_state), (gst_bin_dispose):
22256         Some documentation updates.
22257         Clean up dispose handlers.
22258
22259         * gst/gstobject.c: (gst_object_ref), (gst_object_unref):
22260         * gst/gstpad.c: (gst_pad_dispose):
22261         Clean up dispose handler.
22262
22263         * gst/gstpipeline.c: (gst_pipeline_change_state):
22264         Removed spurious UNLOCK.
22265
22266 2005-09-27  Stefan Kost  <ensonic@users.sf.net>
22267
22268         * docs/gst/gstreamer-sections.txt:
22269         * gst/base/gstbasesrc.h:
22270         * gst/gstelement.h:
22271         * gst/gstevent.h:
22272         * gst/gstobject.h:
22273         * gst/gstpad.h:
22274         * gst/gstpipeline.c:
22275         * gst/gstpipeline.h:
22276         * gst/gstutils.h:
22277         * gst/gstxml.h:
22278           added two new functions to the docs
22279                 documents all undocumented GstXXXFlags
22280                 completed some incomplete docs 
22281
22282 2005-09-27  Thomas Vander Stichele  <thomas at apestaart dot org>
22283
22284         * gst/gstbin.c: (gst_bin_dispose):
22285         * gst/gstelement.c: (gst_element_dispose):
22286           remove now useless and leaky resurrection code in dispose
22287         * gst/base/gstbasesrc.c: (gst_base_src_init):
22288         * gst/gstelementfactory.c: (gst_element_factory_create):
22289         * gst/gstobject.c: (gst_object_set_parent):
22290           add some debugging
22291
22292 2005-09-27  Wim Taymans  <wim@fluendo.com>
22293
22294         * docs/design/part-TODO.txt:
22295         Update TODO.
22296
22297         * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
22298         (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
22299         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
22300         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
22301         (gst_bin_change_state):
22302         * gst/gstelement.h:
22303         Remove element variable, we keep element info in the iterator now.
22304
22305 2005-09-27  Andy Wingo  <wingo@pobox.com>
22306
22307         * libs/gst/dataprotocol/dataprotocol.c: Fix error-checking return
22308         values.
22309
22310 2005-09-27  Wim Taymans  <wim@fluendo.com>
22311
22312         * check/gst/gstbin.c: (GST_START_TEST):
22313         Enable check that works now.
22314
22315         * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
22316         (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
22317         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
22318         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
22319         (gst_bin_change_state):
22320         * gst/gstbin.h:
22321         Redid the state change algorithm using a topological sort algo.
22322         Handles all cases correctly.
22323         Exposed iterator for state change order.
22324
22325         * gst/gstelement.h:
22326         Temp storage for state changes. Need to get rid of this soon.
22327
22328 2005-09-27  Wim Taymans  <wim@fluendo.com>
22329
22330         * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_do_push):
22331         * gst/gstutils.c: (intersect_caps_func), (gst_pad_proxy_getcaps),
22332         (link_fold_func), (gst_pad_proxy_setcaps):
22333         Leak fixes, the fold functions need to unref the passed object and
22334         _get_parent_*() returns ref to parent.
22335
22336 2005-09-27  Tim-Philipp Müller  <tim at centricular dot net>
22337
22338         * check/gst/gstbuffer.c: (test_make_writable):
22339           Plug leak in test case and fix 'make check-valgrind'
22340
22341 2005-09-27  Tim-Philipp Müller  <tim at centricular dot net>
22342
22343         * gst/gstbuffer.c: (gst_subbuffer_init):
22344           Set READONLY flag on subbuffers, so that gst_buffer_make_writable()
22345           works correctly in all circumstances (we could have just copied
22346           the parent buffer's readonly flag, but conceptually it seems
22347           cleaner to mark all subbuffers as read-only). (based on patch
22348           by Alessandro Decina, #314710).
22349         
22350         * check/gst/gstbuffer.c: (create_read_only_buffer),
22351         (test_make_writable), (test_subbuffer_make_writable),
22352         (gst_test_suite):
22353           Add some tests for gst_buffer_make_writable().
22354
22355 2005-09-27  Wim Taymans  <wim@fluendo.com>
22356
22357         * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_change_state):
22358         use gst_object_has_ancestor().
22359
22360         * gst/gstobject.c: (gst_object_has_ancestor):
22361         * gst/gstobject.h:
22362         gst_object_has_ancestor() copied from gstbin.c as it is a
22363         useful function.
22364
22365         * tests/instantiate/create.c: (create_all_elements):
22366         * tests/lat.c: (handoff_src), (handoff_sink):
22367         * tests/sched/runxml.c: (main):
22368         * tests/seeking/seeking1.c: (main):
22369         * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
22370         (main):
22371         Fix compilation of some tests.
22372
22373 2005-09-27  Tim-Philipp Müller  <tim at centricular dot net>
22374
22375         * gst/gsterror.h:
22376           Remove comment. GST_TYPE_G_ERROR is here to stay,
22377           G_TYPE_ERROR has been WONTFIX'ed by the GLib folks
22378           (#316961, #300610).
22379
22380 2005-09-26  Wim Taymans  <wim@fluendo.com>
22381
22382         * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
22383         Added check that shows error in state change order.
22384
22385 2005-09-26  Wim Taymans  <wim@fluendo.com>
22386
22387         * gst/gstbin.c: (gst_bin_change_state):
22388         Make state change function use 3 queues again, we were
22389         adding elements in the wrong order.
22390
22391         * gst/gstghostpad.c: (gst_ghost_pad_do_unlink):
22392         Some debug info,
22393
22394         * gst/gstpad.c: (gst_pad_dispose):
22395         Added some debug info first.
22396
22397 2005-09-26  Tim-Philipp Müller  <tim at centricular dot net>
22398
22399         * docs/design/draft-push-pull.txt:
22400         * docs/design/part-events.txt:
22401         * docs/design/part-overview.txt:
22402         * docs/design/part-scheduling.txt:
22403           Replace all _pull_region() with _pull_range()
22404           
22405 2005-09-26  Andy Wingo  <wingo@pobox.com>
22406
22407         * gst/gstvalue.c (_gst_value_initialize): Better fakeout.
22408
22409         * check/gst-libs/controller.c: Update for controller api change.
22410
22411         * configure.ac: 
22412         * tests/Makefile.am:
22413         * tests/memchunk: Remove memchunk benchmark stuff, this is taken
22414         over by GLib bug 118439.
22415         
22416         * gst/base/gstbasesink.c (gst_base_sink_wait): Factor out the wait
22417         routines to a function.
22418
22419         * docs/libs/gstreamer-libs-sections.txt: I am a good person today.
22420
22421         * libs/gst/controller/gsthelper.c:
22422         * libs/gst/controller/gstcontroller.h (gst_controller_sync_values)
22423         (gst_object_sync_values): Renamed from sink_values. Ugh.
22424
22425         * libs/gst/controller/gsthelper.c: Update for __gst_controller_key.
22426
22427         * libs/gst/controller/gstcontroller.c (__gst_controller_key):
22428         Renamed from controller_key, as it is exported.
22429
22430         * gst/gstvalue.c (_gst_value_initialize): Fake out the compiler.
22431
22432 2005-09-26  Thomas Vander Stichele  <thomas at apestaart dot org>
22433
22434         * gst/Makefile.am:
22435         * gst/gst.h:
22436         * gst/gstpad.h:
22437         * gst/gstpadtemplate.h:
22438         * gst/gstquery.c:
22439         * gst/gstquery.h:
22440         * gst/gstqueryutils.c:
22441         * gst/gstqueryutils.h:
22442           remove queryutils headers after moving the two used functions
22443           to gstquery.  also fixes build problem for gstsiddec
22444
22445 2005-09-26  Michael Smith <msmith@fluendo.com>
22446
22447         * tools/gst-launch.1.in:
22448         Correct documentation in manpage of debug syntax
22449
22450 2005-09-26  Wim Taymans  <wim@fluendo.com>
22451
22452         * gst/base/gstbasesrc.c: (gst_base_src_get_range),
22453         (gst_base_src_is_seekable), (gst_base_src_change_state):
22454         Some more debugging info.
22455
22456 2005-09-25  Stefan Kost  <ensonic@users.sf.net>
22457
22458         * docs/gst/gstreamer-sections.txt:
22459         * gst/base/gstbasetransform.h:
22460         * gst/gstindex.h:
22461           added more docs
22462
22463 2005-09-25  Stefan Kost  <ensonic@users.sf.net>
22464
22465         * docs/gst/.cvsignore:
22466         * docs/gst/tmpl/.cvsignore:
22467         * docs/gst/tmpl/gstpipeline.sgml:
22468         * docs/gst/tmpl/gstplugin.sgml:
22469         * gst/gstpipeline.c:
22470         * gst/gstplugin.c:
22471         * gst/gstplugin.h:
22472           inlined the last two docs files
22473           removed the tmpl directory from cvs (no more conflicts here!)
22474
22475 2005-09-25  Stefan Kost  <ensonic@users.sf.net>
22476
22477         * docs/gst/gstreamer-sections.txt:
22478         * docs/gst/tmpl/.cvsignore:
22479         * docs/gst/tmpl/gstpad.sgml:
22480         * docs/gst/tmpl/gstpadtemplate.sgml:
22481         * gst/Makefile.am:
22482         * gst/gstpad.c: (gst_pad_class_init), (gst_pad_dispose),
22483         (gst_pad_finalize), (gst_pad_set_pad_template):
22484         * gst/gstpad.h:
22485         * gst/gstpadtemplate.c: (gst_pad_template_get_type),
22486         (gst_pad_template_class_init), (gst_pad_template_init),
22487         (gst_pad_template_dispose), (name_is_valid),
22488         (gst_static_pad_template_get), (gst_pad_template_new),
22489         (gst_static_pad_template_get_caps), (gst_pad_template_get_caps),
22490         (gst_pad_template_pad_created):
22491         * gst/gstpadtemplate.h:
22492           inlined two more docs
22493           factored gstpadtemplate out of gstpad
22494
22495 2005-09-24  Tim-Philipp Müller  <tim at centricular dot net>
22496
22497         * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
22498         (test_children_state_change_order_semi_sink):
22499           Fix test case: we can't rely on a fixed state change order when
22500           going from READY => PAUSED because the sink might commit its 
22501           new state first when the first buffer created by the source 
22502           reaches the sink before the source has finished its change state.
22503           (Test case still fails at times, see #316856, comment 5 onwards)
22504
22505 2005-09-24  Wim Taymans  <wim@fluendo.com>
22506
22507         * docs/design/part-events.txt:
22508         * docs/design/part-gstbus.txt:
22509         * docs/design/part-gstpipeline.txt:
22510         * docs/design/part-messages.txt:
22511         * docs/design/part-overview.txt:
22512         * docs/design/part-segments.txt:
22513         * gst/gstbin.c:
22514         * gst/gstbuffer.c:
22515         * gst/gstclock.c:
22516         * gst/gstelement.c:
22517         * gst/gstevent.c:
22518         * gst/gstfilter.c:
22519         * gst/gstiterator.c:
22520         Various documentation updates.
22521
22522 2005-09-24  Thomas Vander Stichele  <thomas at apestaart dot org>
22523
22524         * gst/gstclock.h:
22525           Well, that's embarassing.  Luckily we weren't using
22526           GST_CLOCK_DIFF anywhere.
22527
22528 2005-09-23  Thomas Vander Stichele  <thomas at apestaart dot org>
22529
22530         * common/gtk-doc.mak:
22531           don't fail on building XML, FC4 slave shows a bunch of doc
22532           missing bits that I don't get
22533         * gst/gstpad.c:
22534         * gst/gstpipeline.c:
22535         * gst/gststructure.c:
22536           some doc updates
22537
22538 2005-09-23  Tim-Philipp Müller  <tim at centricular dot net>
22539
22540         * docs/design/part-gstbin.txt:
22541         * docs/design/part-gstbus.txt:
22542         * gst/gstbus.c:
22543           Add blurb about how the bus goes into flushing mode and
22544           drops all messages when its bin goes from READY into NULL 
22545           state.
22546
22547 2005-09-23  Thomas Vander Stichele  <thomas at apestaart dot org>
22548
22549         * docs/gst/gstreamer-sections.txt:
22550         * gst/gststructure.c: (gst_structure_get_clock_time):
22551         * gst/gststructure.h:
22552           add a method to get a GstClockTime out of a structure
22553
22554 2005-09-23  Tim-Philipp Müller  <tim at centricular dot net>
22555
22556         * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
22557         (test_children_state_change_order_semi_sink), (gst_bin_suite):
22558           Added test to check state change order in bins (can still be made
22559           to fail here under heavy disk load; bails out with 'Push on pad
22560           fakesink:sink0, but it was not activated in push mode').
22561
22562         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_change_state):
22563           Fix state change order when there is only a semi sink (#316856)
22564
22565         * gst/gstbus.c: (gst_bus_class_init):
22566           Use _class_peek_parent(), not _class_ref(); fix docs to say
22567           'default main context' instead of 'mainloop' where that is
22568           what's meant.
22569
22570         * gst/gstelement.c: (gst_element_commit_state),
22571         (gst_element_set_state):
22572           Fix typos in debug messages
22573
22574 2005-09-23  Thomas Vander Stichele  <thomas at apestaart dot org>
22575
22576         * docs/README:
22577         * gst/gstpad.c: (gst_pad_class_init), (gst_pad_chain):
22578         * gst/gstpluginfeature.c:
22579         * gst/gstutils.c:
22580           various doc updates
22581         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
22582           change an assert into an error until it gets fixed properly
22583
22584 2005-09-23  Stefan Kost  <ensonic@users.sf.net>
22585
22586         * docs/gst/gstreamer-sections.txt:
22587         * docs/gst/tmpl/.cvsignore:
22588         * docs/gst/tmpl/gstelement.sgml:
22589         * docs/gst/tmpl/gstinfo.sgml:
22590         * docs/gst/tmpl/gstobject.sgml:
22591         * gst/gstelement.c:
22592         * gst/gstelement.h:
22593         * gst/gstinfo.c:
22594         * gst/gstinfo.h:
22595         * gst/gstobject.c: (gst_object_class_init):
22596         * gst/gstobject.h:
22597           inlined 3 more biiiig doc files and added some missing docs on the fly
22598
22599 2005-09-23  Thomas Vander Stichele  <thomas at apestaart dot org>
22600
22601         * check/gst/.cvsignore:
22602         * check/gst/gstplugin.c: (GST_START_TEST), (gst_plugin_suite):
22603         * gst/gstregistryxml.c: (load_plugin),
22604         (gst_registry_xml_save_plugin):
22605           put back source in registry.  add checks for find_plugin.
22606         * testsuite/states/bin.c: (assert_state), (empty_bin),
22607         (test_adding_one_element), (main):
22608         * testsuite/states/locked.c: (main):
22609           some compile/run fixes
22610
22611 2005-09-22  Thomas Vander Stichele  <thomas at apestaart dot org>
22612
22613         * check/gst/gstvalue.c: (GST_START_TEST):
22614           fix leaks in the test itself
22615
22616 2005-09-22  Wim Taymans  <wim@fluendo.com>
22617
22618         * gst/base/gstbasesink.c: (gst_base_sink_class_init),
22619         (gst_base_sink_send_event), (gst_base_sink_peer_query),
22620         (gst_base_sink_query):
22621         Prepare for more accurate position reporting and query
22622         handling.
22623
22624         * gst/gstelement.c: (gst_element_send_event),
22625         (gst_element_set_state):
22626         Add some comment.
22627
22628 2005-09-22  Wim Taymans  <wim@fluendo.com>
22629
22630         * gst/gstquery.c: (gst_query_new_segment), (gst_query_set_segment),
22631         (gst_query_parse_segment):
22632         * gst/gstquery.h:
22633         More documentation.
22634         Add segment query for future use.
22635
22636 2005-09-22  Wim Taymans  <wim@fluendo.com>
22637
22638         * gst/gstbin.c: (gst_bin_add_func):
22639         Some more debug info.
22640
22641         * gst/gstelement.c: (gst_element_send_event):
22642         Simplify send_event
22643
22644         * gst/gstelement.h:
22645         Don't know how flags got broken.
22646
22647         * gst/gstquery.h:
22648         Added new query.
22649
22650 2005-09-22  Tim-Philipp Müller  <tim at centricular dot net>
22651
22652         * check/gst/gstvalue.c: (test_date), (gst_value_suite):
22653           Add simplistic test suite for GST_TYPE_DATE serialisation and
22654           deserialisation.
22655
22656 2005-09-22  Tim-Philipp Müller  <tim at centricular dot net>
22657
22658         * docs/gst/gstreamer-sections.txt:
22659         * gst/gststructure.c: (gst_structure_set_valist),
22660         (gst_structure_get_date):
22661         * gst/gststructure.h:
22662         * gst/gstvalue.c: (gst_value_set_date), (gst_value_get_date),
22663         (gst_date_copy), (gst_value_compare_date),
22664         (gst_value_serialize_date), (gst_value_deserialize_date),
22665         (gst_value_transform_date_string),
22666         (gst_value_transform_string_date), (_gst_value_initialize):
22667         * gst/gstvalue.h:
22668           Add GST_TYPE_DATE, a boxed type that wraps GDate, and the usual
22669           bunch of utility functions along with a hack that checks that
22670           developers don't accidentally use G_TYPE_DATE where GST_TYPE_DATE
22671           is required. Part of the grand scheme in #170777.
22672
22673 2005-09-22  Andy Wingo  <wingo@pobox.com>
22674
22675         * gst/gstconfig.h.in: Psych out gtk-doc.
22676
22677         * docs/gst/gstreamer-sections.txt: Add GST_HAVE_GLIB_2_8.
22678
22679         * check/Makefile.am (check_PROGRAMS): Add gstplugin to the tests.
22680
22681         * tools/gst-inspect.c (print_element_list): Plug some
22682         inconsequential leaks.
22683
22684         * gst/gstregistry.c (gst_registry_get_default): Doc.
22685
22686         * check/gst/gstplugin.c: 
22687         * gst/gsttypefindfactory.c (gst_type_find_factory_call_function):
22688         * gst/gstelementfactory.c (gst_element_factory_create): 
22689         * gst/gstindexfactory.c (gst_index_factory_create): Update for
22690         refcount changes.
22691
22692         * gst/gstpluginfeature.c (gst_plugin_feature_list_free): Doc.
22693         (gst_plugin_feature_load): Doc, don't eat refs.
22694
22695         * gst/gstplugin.c (gst_plugin_load): Doc, don't eat refs.
22696         (gst_plugin_list_free): Doc.
22697         (gst_plugin_load_file): Doc updates.
22698
22699         * gst/gstbuffer.c (gst_buffer_get_caps): Like all our _get
22700         accessors returning refcounted objects, return a ref.
22701
22702         * check/gst/gstbuffer.c (GST_START_TEST): Use refcount-idempotent
22703         accessor for caps. IDEMPOTENCE. Oh yes.
22704
22705 2005-09-21  Francis Labonte  <francis_labonte at hotmail dot com>
22706
22707         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
22708
22709         * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
22710         (_gst_debug_register_funcptr):
22711           Add mutex to serialise access to the hash table with
22712           the function pointer => function name string mapping;
22713           make that hash table static scope (#316809).
22714
22715         * gst/registries/.cvsignore:
22716           Remove left-over file.
22717
22718 2005-09-21  Tim-Philipp Müller  <tim at centricular dot net>
22719
22720         * docs/pwg/appendix-porting.xml:
22721           And something about newsegment events and caps-on-buffers to
22722           the porting guide (feel free to improve).
22723
22724 2005-09-21  Andy Wingo  <wingo@pobox.com>
22725
22726         * check/gst/gstutils.c (test_buffer_probe_n_times): Add tests for
22727         data and event probes on the same pad.
22728         (test_buffer_probe_once): Test that removing probes from within
22729         the probe functions works.
22730
22731 2005-09-21  Andy Wingo  <wingo@pobox.com>
22732
22733         * check/gst/gstutils.c: New file.
22734         (test_buffer_probe_n_times): A simple buffer probe test. More to
22735         come, foolios.
22736
22737         * gst/gstutils.c (gst_pad_add_buffer_probe): Connect to
22738         have-data::buffer, not have-data.
22739         (gst_pad_add_event_probe): Likewise for have-data::event.
22740         (gst_pad_add_data_probe): More docs. The part about 'resolving the
22741         peer' isn't quite right yet though.
22742         (gst_pad_remove_buffer_probe, gst_pad_remove_event_probe) 
22743         (gst_pad_remove_data_probe): Change to take the guint handler_id
22744         as their arg, not the function+data, which is more glib-like.
22745
22746         * gst/gstpad.c (gst_pad_emit_have_data_signal): Add a detail to
22747         the signal emission to indicate if the data is a buffer or an
22748         event.
22749         (gst_pad_get_type): Initialize buffer and event quarks.
22750         (gst_pad_class_init): have-data is now a detailed signal, yes it
22751         is.
22752
22753 2005-09-21  Tim-Philipp Müller  <tim at centricular dot net>
22754
22755         * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
22756         * gst/gstutils.c: (gst_util_set_value_from_string),
22757         (gst_util_set_object_arg):
22758           Don't put functional code in g_return_if_fail() or
22759           g_return_val_if_fail() statements, otherwise things will 
22760           break when G_DISABLE_CHECKS is defined during compilation.
22761
22762 2005-09-21  Stefan Kost  <ensonic@users.sf.net>
22763
22764         * docs/gst/tmpl/.cvsignore:
22765         * docs/gst/tmpl/gstvalue.sgml:
22766         * gst/gstvalue.c:
22767         * gst/gstvalue.h:
22768           inlied another one and added  some obvious docs
22769
22770 2005-09-21  Wim Taymans  <wim@fluendo.com>
22771
22772         * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init),
22773         (gst_fdsrc_init), (gst_fdsrc_start), (gst_fdsrc_stop),
22774         (gst_fdsrc_unlock), (gst_fdsrc_set_property),
22775         (gst_fdsrc_get_property), (gst_fdsrc_create):
22776         * gst/elements/gstfdsrc.h:
22777         Properly implement fdsrc. Removed signal and timeout,
22778         better implemented somewhere else.
22779
22780 2005-09-21  Stefan Kost  <ensonic@users.sf.net>
22781
22782         * docs/gst/tmpl/.cvsignore:
22783         * docs/gst/tmpl/gstimplementsinterface.sgml:
22784         * gst/gstinterface.c:
22785           inlined more docs
22786
22787 2005-09-21  Stefan Kost  <ensonic@users.sf.net>
22788
22789         * docs/gst/gstreamer-sections.txt:
22790         * docs/gst/tmpl/.cvsignore:
22791         * docs/gst/tmpl/gstenumtypes.sgml:
22792           remove obsolete doc file
22793
22794 2005-09-21  David Schleef  <ds@schleef.org>
22795
22796         * gst/gstelementfactory.c: (gst_element_factory_make): Drink a
22797         little beer, fix a little leak.
22798
22799 2005-09-21  Stefan Kost  <ensonic@users.sf.net>
22800
22801         * docs/gst/gstreamer-docs.sgml:
22802         * docs/gst/gstreamer-sections.txt:
22803         * docs/gst/tmpl/.cvsignore:
22804         * gst/Makefile.am:
22805         * gst/gst.h:
22806         * gst/gstbin.c:
22807         * gst/gstelement.h:
22808         * gst/gstindex.c: (gst_index_class_init):
22809         * gst/gstindex.h:
22810         * gst/gstindexfactory.c: (gst_index_factory_get_type),
22811         (gst_index_factory_class_init), (gst_index_factory_init),
22812         (gst_index_factory_finalize), (gst_index_factory_new),
22813         (gst_index_factory_destroy), (gst_index_factory_find),
22814         (gst_index_factory_create), (gst_index_factory_make):
22815         * gst/gstindexfactory.h:
22816         * gst/gstpluginfeature.c:
22817         * gst/gstpluginfeature.h:
22818         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
22819           more docs inlined, splitted gstindex.{c,h}
22820
22821 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
22822
22823         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
22824           fix a leak
22825
22826 2005-09-20  Tim-Philipp Müller  <tim at centricular dot net>
22827
22828         * gst/elements/gstfilesink.c: (gst_file_sink_init):
22829           Set sync to FALSE by default.
22830
22831 2005-09-20  Wim Taymans  <wim@fluendo.com>
22832
22833         * gst/base/gstbasesink.c: (gst_base_sink_class_init),
22834         (gst_base_sink_init):
22835         Make sync property settable from subclass.
22836
22837         * gst/elements/gstfakesink.c: (gst_fake_sink_init),
22838         (gst_fake_sink_change_state):
22839         Set sync to FALSE by default.
22840
22841 2005-09-20  Wim Taymans  <wim@fluendo.com>
22842
22843         * gst/gstbus.c: (poll_func), (poll_timeout), (gst_bus_poll):
22844         * tools/gst-launch.c: (main):
22845         The timeout handler should have lower priority than the source
22846         so we don't timeout before popping a message with 0 timeout.
22847         Dump error messages after failed state change.
22848
22849 2005-09-20  Tim-Philipp Müller  <tim at centricular dot net>
22850
22851         * tools/gst-inspect.c: (print_element_properties_info):
22852           Fix two typos.
22853
22854 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
22855
22856         * check/gst/gstevent.c:
22857         * gst/elements/gstfakesink.c:
22858         * gst/elements/gstfakesink.h:
22859           remove the sync property from fakesink.
22860           has the side effect of setting sync TRUE
22861           for fakesink, which is a change.  Anyone who knows how
22862           to fix this nicely in a GObject-y way, feel free.
22863
22864 2005-09-20  Stefan Kost  <ensonic@users.sf.net>
22865
22866         * docs/gst/gstreamer-docs.sgml:
22867           remove probe refsection
22868
22869 2005-09-20  Stefan Kost  <ensonic@users.sf.net>
22870
22871         * check/Makefile.am:
22872           disable valgrinding the controller test again
22873         * docs/gst/gstreamer-sections.txt:
22874           update for api-changes
22875
22876 2005-09-20  Wim Taymans  <wim@fluendo.com>
22877
22878         * gst/base/gstbasesink.c: (gst_base_sink_class_init),
22879         (gst_base_sink_set_property), (gst_base_sink_get_property),
22880         (gst_base_sink_do_sync):
22881         * gst/base/gstbasesink.h:
22882         Added sync property to basesink to disable clock sync.
22883
22884 2005-09-20  Andy Wingo  <wingo@pobox.com>
22885
22886         * gst/gstelementfactory.c (gst_element_factory_create): Avoid
22887         eating the caller's refcount.
22888
22889         * gst/gstobject.h (GST_OBJECT_REFCOUNT) 
22890         (GST_OBJECT_REFCOUNT_VALUE): Conditionally fondle the right
22891         refcount.
22892
22893         * gst/gstconfig.h.in (GST_HAVE_GLIB_2_8):
22894         * configure.ac (GST_HAVE_GLIB_2_8_DEFINE): Make the availability
22895         of GLib 2.8 public, so we can know which refcount to check in
22896         tests.
22897
22898         * gst/gstobject.c: Use the GST_HAVE_GLIB_2_8 define.
22899         (gst_object_init): Only set the gst refcount if we're going ahead
22900         with the refcount hack.
22901
22902 2005-09-20  Stefan Kost  <ensonic@users.sf.net>
22903
22904         * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
22905         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
22906           more leaks plumbed, added more debug-logging
22907         * gst/gstmacros.h:
22908           whitespace fix
22909
22910 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
22911
22912         * gst/gstmessage.c:
22913           remove include of gstmemchunk.h
22914
22915 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
22916
22917         * gst/gstclock.c: (_gst_clock_id_free):
22918           Commit from the Political Party For More Atomic CVS Commits,
22919           so that people don't waste too much of their day fishing
22920           out obvious leaks out of massive commits.
22921           Oh, and fix a pretty damn obvious leak in the memchunk
22922           removal code.
22923
22924 2005-09-20  Stefan Kost  <ensonic@users.sf.net>
22925
22926         * check/Makefile.am:
22927         * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
22928           plug mem-leak, re-add to valgrindable tests
22929
22930 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
22931
22932         * gst/gstplugin.h:
22933           unbreak the build for those who have chronic arthritis
22934           and typing "make check" is just too taxing on the hands
22935
22936 2005-09-20  Andy Wingo  <wingo@pobox.com>
22937
22938         * gst/gst.h: Re-add marshal to gst.h's include list -- if we
22939         really want it out, you should fix plugins at the same time.
22940
22941 2005-09-19  Stefan Kost  <ensonic@users.sf.net>
22942
22943         * configure.ac:
22944         * docs/gst/gstreamer-sections.txt:
22945         * gst/gstobject.c:
22946           added missing symbols to api docs
22947           disable ref-count hack if we have glib >= 2.8
22948
22949 2005-09-19  David Schleef  <ds@schleef.org>
22950
22951         * docs/gst/Makefile.am: Ignore a few more internal headers
22952         * docs/gst/gstreamer-docs.sgml: Remove old sections
22953         * docs/gst/gstreamer-sections.txt: Remove old sections
22954         * docs/gst/tmpl/gstobject.sgml: update
22955         * docs/gst/tmpl/gstplugin.sgml: update
22956         * docs/gst/tmpl/gstpluginfeature.sgml: update
22957         * docs/random/ds/0.9-suggested-changes: update.
22958         * gst/Makefile.am: remove memchunk and trashstack, since they're
22959           not used.
22960         * gst/gst.c: (gst_deinit): rename gst_registry_deinit to _cleanup
22961         * gst/gst.h: don't include some headers
22962         * gst/gstchildproxy.c: add gstmarshal.h
22963         * gst/gstclock.c: Don't use memchunks
22964         * gst/gstminiobject.c: Add some docs
22965         * gst/gstobject.c: remove DESTROYED flag, since it's redundant
22966         * gst/gstobject.h: same
22967         * gst/gstplugin.c: include gstmacros.h
22968         * gst/gstplugin.h: don't include gstmacros.h, since it's private
22969         * gst/gstquery.c: don't use memchunks
22970         * gst/gstregistry.c: rename gst_registry_deinit()
22971         * gst/gstregistry.h: same
22972
22973 2005-09-19  David Schleef  <ds@schleef.org>
22974
22975         * docs/libs/gstreamer-libs-docs.sgml: Remove docs for getbits
22976         * docs/libs/gstreamer-libs-sections.txt:
22977         * docs/libs/tmpl/gstgetbits.sgml:
22978         * docs/libs/tmpl/gstputbits.sgml:
22979
22980 2005-09-19  Tim-Philipp Müller  <tim at centricular dot net>
22981
22982         * win32/gstenumtypes.c:
22983         * win32/gstenumtypes.h:
22984           Update.
22985
22986 2005-09-19  Wim Taymans  <wim@fluendo.com>
22987
22988         * gst/gstpipeline.c: (do_pipeline_seek), (gst_pipeline_send_event):
22989         Automatically PAUSE and RESUME a pipeline when a flushing seek
22990         is performed.
22991
22992 2005-09-19  Andy Wingo  <wingo@pobox.com>
22993
22994         * gst/gstregistry.h: Spacing fixen.
22995
22996 2005-09-19  Wim Taymans  <wim@fluendo.com>
22997
22998         * gst/base/gstbasesrc.c: (gst_base_src_change_state):
22999         Handle state change failure more correctly.
23000
23001 2005-09-19  Thomas Vander Stichele  <thomas at apestaart dot org>
23002
23003         * check/Makefile.am:
23004         * check/pipelines/cleanup.c: (run_pipeline):
23005         * check/pipelines/simple_launch_lines.c: (run_pipeline),
23006         (GST_START_TEST):
23007           enable cleanup again after fixing the leak
23008         * docs/README:
23009           some more info on docs
23010
23011 2005-09-19  Thomas Vander Stichele  <thomas at apestaart dot org>
23012
23013         * check/Makefile.am:
23014           re-enable tests now that leaks are plugged
23015         * check/gst/gst.c:
23016         * check/gst/gstbin.c:
23017         * check/gst/gstpipeline.c:
23018           add some more tests while fixing leaks
23019         * common/check.mak:
23020           make sure binaries are uptodate when valgrinding/gdbing
23021         * gst/gst.c:
23022         * gst/gstelementfactory.c:
23023           remove a ref too many, and add a FIXME for when we get
23024           round to disposing of classes
23025         * gst/gstplugin.c:
23026           fix the refcounting when loading a plugin from a file and
23027           the code pretends that the pointer is the same even though
23028           of course it can change
23029         * gst/gstpluginfeature.c:
23030           unref plugins marked cached (a bit confusing as a name)
23031           as the docs state should be done
23032           various doc additions to explain refcounting
23033         * gst/gstregistry.c:
23034         * gst/gstregistryxml.c:
23035           debugging
23036
23037 2005-09-19  Wim Taymans  <wim@fluendo.com>
23038
23039         * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
23040         * check/gst/gstbus.c: (message_func_eos), (message_func_app),
23041         (send_messages), (GST_START_TEST), (gstbus_suite):
23042         * check/gst/gstpipeline.c: (GST_START_TEST):
23043         * check/pipelines/cleanup.c: (run_pipeline):
23044         * check/pipelines/simple_launch_lines.c: (run_pipeline),
23045         (GST_START_TEST):
23046         * gst/gstbus.c: (gst_bus_have_pending), (gst_bus_source_prepare),
23047         (gst_bus_source_check), (gst_bus_source_dispatch),
23048         (gst_bus_create_watch), (gst_bus_add_watch_full),
23049         (gst_bus_add_watch), (poll_func), (poll_timeout), (gst_bus_poll):
23050         * gst/gstbus.h:
23051         * tools/gst-launch.c: (event_loop):
23052         * tools/gst-md5sum.c: (event_loop):
23053         GstBusHandler -> GstBusFunc, return value has the same meaning as
23054         any other GSource (FALSE == remove source).
23055         _add_watch() and _add_watch_full() now take a MessageType mask to
23056         only handle specific types of messages.
23057         _poll() returns the GstMessage instead of the message type to avoid
23058         race conditions.
23059         _have_pending() takes a MessageType mask now too.
23060         Added testsuite for multiple bus watches.
23061         Fix testsuites and applications for new bus API.
23062
23063 2005-09-19  Thomas Vander Stichele  <thomas at apestaart dot org>
23064
23065         * check/Makefile.am:
23066           mark a bunch of the tests as to fix until we fix them
23067
23068 2005-09-18  Thomas Vander Stichele  <thomas at apestaart dot org>
23069
23070         * common/check.mak:
23071           use GST_PLUGIN settings for valgrind tests as well, so we're
23072           valgrinding the correct thing
23073         * gst/gst.c: (init_post):
23074           plug another leak
23075
23076 2005-09-18  Thomas Vander Stichele  <thomas at apestaart dot org>
23077
23078         * gst/gst.c: (init_post), (gst_deinit):
23079         * gst/gstelementfactory.c: (gst_element_factory_class_init),
23080         (gst_element_factory_finalize), (gst_element_factory_cleanup):
23081         * gst/gstindex.c: (gst_index_factory_class_init),
23082         (gst_index_factory_finalize):
23083         * gst/gstobject.c: (gst_object_dispose):
23084         * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_class_init),
23085         (gst_plugin_load_file), (gst_plugin_desc_free):
23086         * gst/gstpluginfeature.c: (gst_plugin_feature_class_init),
23087         (gst_plugin_feature_finalize):
23088         * gst/gstregistry.c: (gst_registry_class_init),
23089         (gst_registry_init), (gst_registry_finalize),
23090         (gst_registry_get_default), (gst_registry_deinit):
23091         * gst/gstregistry.h:
23092         * gst/gstregistryxml.c: (load_feature), (load_plugin):
23093           various cleanups and memleak plugging.  make valgrind is happy now.
23094
23095 2005-09-18  Thomas Vander Stichele  <thomas at apestaart dot org>
23096
23097         * common/check.mak:
23098           add a check-valgrind target
23099
23100 2005-09-18  David Schleef  <ds@schleef.org>
23101
23102         * tools/gst-inspect.c: Revert the GOption code.
23103
23104 2005-09-17  David Schleef  <ds@schleef.org>
23105
23106         * check/Makefile.am: Fix environment variables.
23107         * check/gst/gstplugin.c: Fix for API changes.
23108         * tools/gst-inspect.c: Fix for API changes.
23109         * tools/gst-xmlinspect.c: Fix for API changes.
23110         * gst/gstelementfactory.c:
23111         * gst/gstplugin.c:
23112         * gst/gstplugin.h:
23113         * gst/gstpluginfeature.c:
23114         * gst/gstpluginfeature.h:
23115         * gst/gstregistry.c:
23116         * gst/gstregistry.h:
23117         * gst/gstregistryxml.c:
23118         * gst/gsttypefind.c:
23119         * gst/gsttypefindfactory.c:
23120         * gst/indexers/gstfileindex.c:
23121         * gst/indexers/gstmemindex.c:
23122         * gst/schedulers/Makefile.am:
23123           Change registry to keep track of both plugins and features,
23124           removing the feature tracking from plugins themselves.
23125
23126 2005-09-16  Thomas Vander Stichele  <thomas at apestaart dot org>
23127
23128         * check/Makefile.am:
23129         * tools/gst-register.1.in:
23130           remove gst-register
23131
23132 2005-09-15  David Schleef  <ds@schleef.org>
23133
23134         * check/gst/gstplugin.c:
23135         * gst/gstelementfactory.c:
23136         * gst/gstplugin.c:
23137         * gst/gstpluginfeature.c:
23138         * gst/gstregistry.c:
23139           Getting tired of debugging.  Disabled all the unreffing of
23140           plugins and features, which fixes the segfaults, but of
23141           course leaks like crazy.  At least playbin works.
23142
23143 2005-09-15  David Schleef  <ds@schleef.org>
23144
23145         * check/gst/gstplugin.c: (register_check_elements),
23146         (GST_START_TEST), (peek), (suggest), (gst_plugin_suite):
23147         More testing
23148         * gst/elements/gsttypefindelement.c: Fix refcounting.
23149         * gst/gsttypefind.c:
23150         * gst/gsttypefindfactory.c:
23151         * gst/gsttypefindfactory.h:
23152
23153 2005-09-15  David Schleef  <ds@schleef.org>
23154
23155         * gst/gstindex.c: get refcounting correct.
23156         * gst/gstregistry.c: Handle the case where a feature/plugin is
23157           not found.
23158
23159 2005-09-15  David Schleef  <ds@schleef.org>
23160
23161         * check/Makefile.am:
23162         * check/gst/gstplugin.c: Add test
23163         * gst/gstplugin.c: Fix problems noticed by testsuite
23164         * gst/gstplugin.h:
23165         * gst/gstregistry.c: 
23166         * gst/gstregistry.h:
23167
23168 2005-09-15  David Schleef  <ds@schleef.org>
23169
23170         * gst/gstplugin.c: Implement semi-decent recounting and locking
23171           in plugins and plugin features.
23172         * gst/gstplugin.h:
23173         * gst/gstpluginfeature.c:
23174         * gst/gstpluginfeature.h:
23175         * gst/gstregistry.c:
23176
23177 2005-09-15  Michael Smith <msmith@fluendo.com>
23178
23179         * gst/gstregistry.c: (gst_registry_get_feature_list):
23180           Implement this. Makes oggdemux work; decodebin still broken.
23181
23182 2005-09-14  David Schleef  <ds@schleef.org>
23183
23184         * configure.ac: Add -no-undefined to GST_PLUGIN_LDFLAGS (bug
23185           #316076)
23186         * gst/base/Makefile.am: Add -no-undefined to LDFLAGS for libs
23187         * gst/check/Makefile.am:
23188         * libs/gst/controller/Makefile.am:
23189         * libs/gst/dataprotocol/Makefile.am:
23190
23191 2005-09-14  David Schleef  <ds@schleef.org>
23192
23193         * configure.ac: Remove getbits library.  Nothing uses it, and
23194           it should be in something like liboil if someone did want
23195           to use it.
23196         * libs/gst/Makefile.am:
23197         * libs/gst/getbits/Makefile.am:
23198         * libs/gst/getbits/gbtest.c:
23199         * libs/gst/getbits/getbits.c:
23200         * libs/gst/getbits/getbits.h:
23201         * libs/gst/getbits/gstgetbits_generic.c:
23202         * libs/gst/getbits/gstgetbits_i386.s:
23203         * libs/gst/getbits/gstgetbits_inl.h:
23204
23205 2005-09-14  David Schleef  <ds@schleef.org>
23206
23207         * gst/Makefile.am: Dist glib-compat.h
23208
23209 2005-09-14  David Schleef  <ds@schleef.org>
23210
23211         * configure.ac: Remove gst/registries, since it's no longer used.
23212         * gst/registries/Makefile.am:
23213         * gst/registries/gstlibxmlregistry.c:
23214         * gst/registries/gstlibxmlregistry.h:
23215         * gst/registries/gstxmlregistry.c:
23216         * gst/registries/gstxmlregistry.h:
23217         * gst/registries/registrytest.c:
23218
23219 2005-09-14  David Schleef  <ds@schleef.org>
23220
23221         * gst/glib-compat.h:
23222         * gst/gstregistryxml.c:
23223           Convergence is near.  Seriously.
23224
23225 2005-09-14  David Schleef  <ds@schleef.org>
23226
23227         * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
23228         * gst/glib-compat.h:
23229           Attempt #4 to appease the buildbots.
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 #3.
23235
23236 2005-09-14  David Schleef  <ds@schleef.org>
23237
23238         * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
23239         Attempt #2.
23240
23241 2005-09-14  David Schleef  <ds@schleef.org>
23242
23243         * gst/Makefile.am: Oh yeah, libgstreamer.so needs to contain
23244           the new functions.
23245
23246 2005-09-14  David Schleef  <ds@schleef.org>
23247
23248         * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
23249         * gst/glib-compat.h: Add some functions that are in newer versions
23250           of glib than we care to require.
23251         * gst/gstregistryxml.c: Use them.
23252
23253 2005-09-14  David Schleef  <ds@schleef.org>
23254
23255         * po/POTFILES.in: remove gst-register.c
23256
23257 2005-09-14  David Schleef  <ds@schleef.org>
23258
23259         * docs/gst/gstreamer-docs.sgml:
23260         * docs/gst/gstreamer-sections.txt:
23261         * docs/gst/gstreamer.types:
23262         * docs/gst/tmpl/gstelement.sgml:
23263         * docs/gst/tmpl/gstplugin.sgml:
23264         * docs/gst/tmpl/gstpluginfeature.sgml:
23265           Documentation updates for registry changes.
23266
23267 2005-09-14  David Schleef  <ds@schleef.org>
23268
23269         * gst/gstregistryxml.c: Copy g_mkdir_with_parent() from glib,
23270           because we don't require glib-2.8.
23271
23272 2005-09-14  David Schleef  <ds@schleef.org>
23273
23274         * gst/gstregistryxml.c: Added.  Essentially moved out of the
23275           registries directory.
23276
23277 2005-09-14  David Schleef  <ds@schleef.org>
23278
23279         * check/Makefile.am:
23280         * check/generic/states.c:
23281         * gst/Makefile.am:
23282         * gst/gst.c:
23283         * gst/gst.h:
23284         * gst/gst_private.h:
23285         * gst/gstelementfactory.c:
23286         * gst/gstindex.c:
23287         * gst/gstinfo.c:
23288         * gst/gstplugin.c:
23289         * gst/gstplugin.h:
23290         * gst/gstpluginfeature.c:
23291         * gst/gstpluginfeature.h:
23292         * gst/gstregistry.c:
23293         * gst/gstregistry.h:
23294         * gst/gstregistrypool.c: remove
23295         * gst/gstregistrypool.h: remove
23296         * gst/gsttypefind.c:
23297         * gst/gsttypefindfactory.c:
23298         * gst/gsturi.c:
23299         * tools/Makefile.am:
23300         * tools/gst-compprep.c:
23301         * tools/gst-inspect.c:
23302         * tools/gst-register.c: remove
23303         * tools/gst-xmlinspect.c:
23304           Registry rewrite.  Changes registry from being a file created
23305           by a tool into a simple cache file created automatically by 
23306           libgstreamer.  Removed gst-register (because it's no longer
23307           needed).  Remove registry pools, because we only have one
23308           registry implementation (XML).  Fix up other subsystems as
23309           necessary.
23310
23311 2005-09-13  Michael Smith <msmith@fluendo.com>
23312
23313         * gst/gstconfig.h.in:
23314           Don't Use windows linking attributes for MinGW. Fixes #316157
23315
23316 2005-09-13  Thomas Vander Stichele  <thomas at apestaart dot org>
23317
23318         * gst/gstutils.c: (set_state_async_thread_func),
23319         (gst_element_set_state_async):
23320           Apparently people think it's better if this function doesn't
23321           try to set the state to whatever state was asked for on the first
23322           call to this function for any object.  Seriously.
23323
23324 2005-09-12  Thomas Vander Stichele  <thomas at apestaart dot org>
23325
23326         * check/gst/gstpipeline.c: (GST_START_TEST):
23327         * docs/gst/gstreamer-sections.txt:
23328         * gst/gstutils.c: (set_state_async_thread_func),
23329         (gst_element_set_state_async):
23330         * gst/gstutils.h:
23331           add a "gst_element_set_state_async" method that
23332           sets the state and starts a thread to make sure the state
23333           change completes as best as it can
23334
23335 2005-09-12  Thomas Vander Stichele  <thomas at apestaart dot org>
23336
23337         * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
23338           codify design+behaviour in testsuite after discussion
23339
23340 2005-09-12  Thomas Vander Stichele  <thomas at apestaart dot org>
23341
23342         * docs/gst/tmpl/gstelement.sgml:
23343         * docs/manual/appendix-quotes.xml:
23344           add a quote
23345         * gst/gstelement.c: (gst_element_set_state):
23346           add some debug
23347
23348 2005-09-12  Jan Schmidt  <thaytan@mad.scientist.com>
23349
23350         * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
23351         (gst_base_transform_prepare_output_buf),
23352         (gst_base_transform_handle_buffer):
23353         * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip),
23354         (gst_capsfilter_prepare_buf):
23355           Remove the requirement for sub-classes to call the parent
23356           implementation of prepare_output_buffer with a wrapper function.
23357           
23358         * gst/gsttaglist.h:
23359         * gst/gsttagsetter.h:
23360           Fix #define wrapper
23361
23362 2005-09-11  Stefan Kost  <ensonic@users.sf.net>
23363
23364         * docs/gst/gstreamer-sections.txt:
23365           more doc cleanups
23366
23367 2005-09-11  Thomas Vander Stichele  <thomas at apestaart dot org>
23368
23369         * docs/gst/gstreamer-sections.txt:
23370         * docs/gst/tmpl/gstelement.sgml:
23371         * docs/gst/tmpl/gstplugin.sgml:
23372         * gst/gstminiobject.c:
23373         * gst/gstvalue.h:
23374           docs now stop throwing warnings
23375
23376 2005-09-11  Thomas Vander Stichele  <thomas at apestaart dot org>
23377
23378         * docs/gst/gstreamer-sections.txt:
23379         * docs/gst/gstreamer.types:
23380         * docs/gst/tmpl/gstpad.sgml:
23381         * docs/gst/tmpl/gsttypes.sgml:
23382         * gst/base/gstadapter.h:
23383         * gst/base/gstbasesink.h:
23384         * gst/base/gstbasesrc.h:
23385         * gst/gstbin.h:
23386         * gst/gstbuffer.h:
23387         * gst/gstbus.h:
23388         * gst/gstcaps.h:
23389         * gst/gstclock.h:
23390         * gst/gstelement.h:
23391         * gst/gstevent.h:
23392         * gst/gstmessage.h:
23393         * gst/gstpad.h:
23394         * gst/gststructure.c:
23395         * gst/registries/gstlibxmlregistry.h:
23396           various documentation fixes
23397
23398 2005-09-11  Thomas Vander Stichele  <thomas at apestaart dot org>
23399
23400         * docs/gst/gstreamer-sections.txt:
23401         * docs/gst/tmpl/gstvalue.sgml:
23402           rearrange gstvalue section
23403         * gst/gstutils.c: (gst_element_state_get_name):
23404           NONE -> VOID
23405         * gst/gstvalue.c: (_gst_value_initialize):
23406         * gst/gstvalue.h:
23407           doc updates
23408
23409 2005-09-10  Jan Schmidt  <thaytan@mad.scientist.com>
23410
23411         * check/gst-libs/controller.c:
23412           Header include fix.
23413         * gst/base/gstbasetransform.c:
23414         (gst_base_transform_default_prepare_buf),
23415         (gst_base_transform_handle_buffer):
23416         * gst/base/gstbasetransform.h:
23417           Some more basetransform changes and fixes to enable sub-classes
23418           that modify buffer metadata only.
23419         * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
23420         (gst_capsfilter_init), (gst_capsfilter_transform_ip),
23421         (gst_capsfilter_prepare_buf):
23422           If the output pad has fixed allowed caps and input buffers 
23423           don't have any, set the fixed caps on outgoing buffers.
23424
23425 2005-09-09  Jan Schmidt  <thaytan@mad.scientist.com>
23426         * check/elements/identity.c: (GST_START_TEST):
23427           Make the error a little clearer when the test fails because
23428           identity made a copy of the buffer.
23429         * docs/gst/gstreamer-sections.txt:
23430           New symbols in gstbasetransform.h
23431         * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
23432         (gst_base_transform_init), (gst_base_transform_transform_size),
23433         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
23434         (gst_base_transform_default_prepare_buf),
23435         (gst_base_transform_get_unit_size),
23436         (gst_base_transform_buffer_alloc),
23437         (gst_base_transform_handle_buffer), (gst_base_transform_chain),
23438         (gst_base_transform_change_state),
23439         (gst_base_transform_set_passthrough),
23440         (gst_base_transform_set_in_place),
23441         (gst_base_transform_is_in_place):
23442         * gst/base/gstbasetransform.h:
23443           Change BaseTransform to separate in_place operate from same_caps
23444           output. in_place implies that the element can perform the transform
23445           on incoming buffers in-place, even if the caps on the output are
23446           different.
23447           Sub-class elements can now implement special buffer allocation
23448           methods for outgoing buffers if they wish to.
23449           Big documentation addition.
23450         * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip):
23451         * gst/elements/gstelements.c:
23452           Changes for basetransform modifications.
23453         * gst/elements/Makefile.am:
23454         * gst/elements/gstfdsrc.c: (gst_fdsrc_init), (gst_fdsrc_create):
23455           Compile fix. Extra debug output.
23456
23457 2005-09-09  Thomas Vander Stichele  <thomas at apestaart dot org>
23458
23459         * check/gst/gstpad.c: (GST_START_TEST), (name_is_valid),
23460         (gst_pad_suite):
23461           add tests for valid pad naming
23462         * gst/check/gstcheck.c: (gst_check_log_message_func),
23463         (gst_check_log_critical_func):
23464           add ASSERT_WARNING
23465           remove printing of code, it is fragile when the code contains
23466           % and the line number is enough info
23467         * gst/check/gstcheck.h:
23468         * gst/gstpad.c: (gst_pad_template_new):
23469           fix memleaks
23470
23471 2005-09-09  Thomas Vander Stichele  <thomas at apestaart dot org>
23472
23473         * configure.ac:
23474           say what CHECK flags we use
23475         * docs/libs/gstreamer-libs.types:
23476         * libs/gst/controller/Makefile.am:
23477         * libs/gst/controller/gst-controller.c:
23478         * libs/gst/controller/gst-controller.h:
23479         * libs/gst/controller/gst-helper.c:
23480         * libs/gst/controller/gst-interpolation.c:
23481         * libs/gst/controller/gstcontroller.c:
23482         * libs/gst/controller/gsthelper.c:
23483         * libs/gst/controller/gstinterpolation.c:
23484         * tools/gst-inspect.c: (print_plugin_info):
23485           we don't use dashes in header names
23486
23487 2005-09-09  Thomas Vander Stichele  <thomas at apestaart dot org>
23488
23489         * check/Makefile.am:
23490         * check/gst/.cvsignore:
23491         * check/gst/gstpipeline.c: (pop_messages), (GST_START_TEST),
23492         (gst_pipeline_suite), (main):
23493           adding a test for pipelines and state changes
23494         * gst/gstutils.c: (get_state_func):
23495           add some debugging
23496         * gstreamer.spec.in:
23497           fix up spec file
23498
23499 2005-09-08  Michael Smith <msmith@fluendo.com>
23500
23501         * gst/elements/gstfilesrc.c: (gst_file_src_map_region),
23502         (gst_file_src_map_small_region), (gst_file_src_create_mmap),
23503         (gst_file_src_is_seekable), (gst_file_src_get_size),
23504         (gst_file_src_start):
23505         * gst/elements/gstfilesrc.h:
23506           Various fixes for unseekable, unmmapable, and non-normal files, so
23507           that fallback to read() rather than mmap() works.
23508         * gst/gstevent.c: (gst_event_new_newsegment):
23509           Allow newsegment events with segment_start == segment_end, as will
23510           correctly happen if you use filesrc on a zero-size file, for
23511           example.
23512
23513 2005-09-07  Jan Schmidt  <thaytan@mad.scientist.com>
23514
23515         * gst/gstplugin.c: (gst_plugin_load_file):
23516           Call g_module_close when we don't load the module
23517
23518         * gst/registries/gstlibxmlregistry.c:
23519         (gst_xml_registry_get_property):
23520           Port leak fix from 0.8
23521
23522 2005-09-07  Stefan Kost  <ensonic@users.sf.net>
23523
23524         * docs/gst/gstreamer-docs.sgml:
23525         * docs/gst/tmpl/.cvsignore:
23526         * docs/gst/tmpl/gsttrace.sgml:
23527         * docs/gst/tmpl/gsttrashstack.sgml:
23528         * gst/Makefile.am:
23529         * gst/gst.h:
23530         * gst/gstelement.h:
23531         * gst/gstevent.h:
23532         * gst/gstmessage.c:
23533         * gst/gstmessage.h:
23534         * gst/gsttag.c:
23535         * gst/gsttag.h:
23536         * gst/gsttaginterface.c:
23537         * gst/gsttaginterface.h:
23538         * gst/gsttaglist.c:
23539         * gst/gsttaglist.h:
23540         * gst/gsttagsetter.c:
23541         * gst/gsttagsetter.h:
23542         * gst/gsttrace.c:
23543         * gst/gsttrace.h:
23544         * gst/gsttrashstack.c:
23545           renamed gsttag -> gsttaglist, gsttaginterface -> gsttagsetter
23546           inlined docs for gsttrace, gsttrashstack
23547
23548 2005-09-07  Stefan Kost  <ensonic@users.sf.net>
23549
23550         * gst/Makefile.am:
23551         * gst/elements/gstbufferstore.h:
23552         * gst/elements/gsttypefindelement.c:
23553         * gst/elements/gsttypefindelement.h:
23554         * gst/gst.h:
23555         * gst/gsttypefind.c:
23556         * gst/gsttypefind.h:
23557         * gst/gsttypefindfactory.c: (gst_type_find_factory_get_type),
23558         (gst_type_find_factory_class_init), (gst_type_find_factory_init),
23559         (gst_type_find_factory_dispose),
23560         (gst_type_find_factory_unload_thyself),
23561         (gst_type_find_load_plugin), (gst_type_find_factory_get_list),
23562         (gst_type_find_factory_get_caps),
23563         (gst_type_find_factory_get_extensions),
23564         (gst_type_find_factory_call_function):
23565         * gst/gsttypefindfactory.h:
23566         * gst/registries/gstlibxmlregistry.c:
23567         * gst/registries/gstxmlregistry.c:
23568           splitted gsttypefind into gsttypefind, gsttypefindfactory
23569
23570 2005-09-07  Andy Wingo  <wingo@pobox.com>
23571
23572         * gst/base/gstbasesink.c (gst_base_sink_activate_pull): Fix a race
23573         condition whereby the pad's task function is entered before the
23574         pad_mode variable was set.
23575
23576 2005-09-07  Jan Schmidt  <thaytan@mad.scientist.com>
23577
23578         * gst/gstpad.c: (gst_pad_alloc_buffer):
23579           Catch misbehaving pad_alloc functions that don't
23580           set up caps and do it for them.
23581
23582 2005-09-07  Stefan Kost  <ensonic@users.sf.net>
23583
23584         * check/pipelines/simple_launch_lines.c: (run_pipeline):
23585           test for pipe!=NULL
23586         * docs/gst/tmpl/.cvsignore:
23587         * docs/gst/tmpl/gstmemchunk.sgml:
23588         * docs/gst/tmpl/gstparse.sgml:
23589         * docs/gst/tmpl/gsttaglist.sgml:
23590         * docs/gst/tmpl/gsttagsetter.sgml:
23591         * docs/gst/tmpl/gsttypefind.sgml:
23592         * docs/gst/tmpl/gsttypefindfactory.sgml:
23593         * gst/gstmemchunk.c:
23594         * gst/gstparse.c:
23595         * gst/gsttag.c:
23596         * gst/gsttaginterface.c:
23597         * gst/gsttypefind.c:
23598         * gst/gsttypefind.h:
23599           inlined more docs
23600
23601 === release 0.9.2 ===
23602
23603 2005-09-06  Thomas Vander Stichele  <thomas at apestaart dot org>
23604
23605         * NEWS:
23606         * RELEASE:
23607         * configure.ac:
23608           releasing 0.9.2, "South"
23609
23610 2005-09-05  Andy Wingo  <wingo@pobox.com>
23611
23612         * gst/registries/gstxmlregistry.h:
23613         * gst/registries/gstxmlregistry.c: Um... resurrect...
23614         
23615         * gst/registries/gstxmlregistry.h:
23616         * gst/registries/gstxmlregistry.c: and update to newer API.
23617         Incidentally they should be a bit faster now that they don't have
23618         to parse the caps.
23619         
23620 2005-09-05  Andy Wingo  <wingo@pobox.com>
23621
23622         * gst/registries/gstxmlregistry.h:
23623         * gst/registries/gstxmlregistry.c: Remove from CVS, they were
23624         replaced by the libxml registry a while back
23625
23626 2005-09-03  Thomas Vander Stichele  <thomas at apestaart dot org>
23627
23628         * docs/gst/tmpl/gstplugin.sgml:
23629         * gst/elements/gstelements.c:
23630         * gst/gst.c:
23631         * gst/gstplugin.c: (gst_plugin_register_func),
23632         (gst_plugin_desc_copy), (gst_plugin_desc_free),
23633         (gst_plugin_get_source):
23634         * gst/gstplugin.h:
23635         * gst/registries/gstlibxmlregistry.c: (load_plugin),
23636         (gst_xml_registry_save_plugin):
23637         * gst/registries/gstxmlregistry.c: (gst_xml_registry_parse_plugin),
23638         (gst_xml_registry_save_plugin):
23639         * tools/gst-inspect.c: (print_plugin_info):
23640           add a "source" plugin description field, to represent the source
23641           module this plugin is a part of.  By default GST_PLUGIN_DEFINE
23642           will set it to PACKAGE, which is automake's idea of the name of
23643           the source project.
23644
23645 2005-09-03  Thomas Vander Stichele  <thomas at apestaart dot org>
23646
23647         * Makefile.am:
23648         * autogen.sh:
23649         * configure.ac:
23650         * docs/Makefile.am:
23651         * docs/faq/Makefile.am:
23652         * docs/gst/tmpl/gstelement.sgml:
23653         * docs/gst/tmpl/gsttypes.sgml:
23654         * docs/htmlinstall.mak:
23655         * docs/manual/Makefile.am:
23656         * docs/pwg/Makefile.am:
23657           reorganize doc build a little
23658           split out docbook and gtk-doc stuff
23659           have two separate --enable's and enable them through autogen
23660           but disable by default in configure (to be similar to other
23661           projects)
23662         * gstreamer.spec.in:
23663           clean up docs install
23664         * po/af.po:
23665         * po/az.po:
23666         * po/ca.po:
23667         * po/cs.po:
23668         * po/de.po:
23669         * po/en_GB.po:
23670         * po/fr.po:
23671         * po/it.po:
23672         * po/nb.po:
23673         * po/nl.po:
23674         * po/ru.po:
23675         * po/sq.po:
23676         * po/sr.po:
23677         * po/sv.po:
23678         * po/tr.po:
23679         * po/uk.po:
23680         * po/vi.po:
23681           translation updates
23682
23683 2005-09-03  Tim-Philipp Müller  <tim at centricular dot net>
23684
23685         * gst/base/gstbasesink.c: (gst_base_sink_pad_buffer_alloc):
23686           Add comment.
23687           
23688         * gst/elements/gstfakesink.c: (gst_fake_sink_init),
23689         (gst_fake_sink_change_state):
23690           Make state change function thread-safe.
23691           
23692         * gst/gstpad.c: (gst_pad_alloc_buffer):
23693           Set offset on generic buffer allocated by fallback.
23694
23695 2005-09-03  Stefan Kost  <ensonic@users.sf.net>
23696
23697         * docs/gst/gstreamer-sections.txt:
23698         * docs/gst/tmpl/gstelement.sgml:
23699         * gst/gstpad.c:
23700         * libs/gst/controller/gst-controller.c:
23701         (gst_controlled_property_set_interpolation_mode),
23702         (gst_controlled_property_new),
23703         (gst_controller_find_controlled_property):
23704          run the wingo-magic script against the docs
23705
23706 2005-09-02  Stefan Kost  <ensonic@users.sf.net>
23707
23708         * docs/gst/gstreamer-docs.sgml:
23709         * docs/gst/gstreamer-sections.txt:
23710         * docs/gst/tmpl/.cvsignore:
23711         * docs/gst/tmpl/gstelementdetails.sgml:
23712         * docs/gst/tmpl/gstelementfactory.sgml:
23713         * gst/gst.c:
23714         * gst/gstbus.c:
23715         * gst/gstelementfactory.c:
23716         * gst/gstelementfactory.h:
23717           merged elementdetails docs into elementfactory docs
23718           inlined both
23719
23720 2005-09-02  Andy Wingo  <wingo@pobox.com>
23721
23722         * gst/gstelement.h: Add magical pixie dust to make glib-mkenums
23723         consider this enum an enum and not a flags.
23724
23725 2005-09-02  Stefan Kost  <ensonic@users.sf.net>
23726
23727         * docs/gst/gstreamer-docs.sgml:
23728         * docs/gst/tmpl/.cvsignore:
23729         * docs/gst/tmpl/gstghostpad.sgml:
23730         * docs/gst/tmpl/gstiterator.sgml:
23731         * docs/gst/tmpl/gstmacros.sgml:
23732         * docs/gst/tmpl/gstrealpad.sgml:
23733         * docs/gst/tmpl/gstregistry.sgml:
23734         * docs/gst/tmpl/gstregistrypool.sgml:
23735         * docs/gst/tmpl/gststructure.sgml:
23736         * docs/gst/tmpl/gstsystemclock.sgml:
23737         * docs/gst/tmpl/gsttrace.sgml:
23738         * gst/gstghostpad.c:
23739         * gst/gstmacros.h:
23740         * gst/gstmemchunk.c:
23741         * gst/gstmemchunk.h:
23742         * gst/gstqueue.c:
23743         * gst/gstregistry.c:
23744         * gst/gstregistrypool.c:
23745         * gst/gststructure.c:
23746         * gst/gstsystemclock.c:
23747           more docs inlined
23748
23749 2005-09-02  Andy Wingo  <wingo@pobox.com>
23750
23751         * gst/gstelement.h (GstState): Renamed from GstElementState,
23752         changed to be a normal enum instead of flags.
23753         (GstStateChangeReturn): Renamed from GstElementStateReturn, names
23754         munged to be GST_STATE_CHANGE_*.
23755         (GST_STATE_CHANGE): Renamed from GST_STATE_TRANSITION, updated to
23756         work with the new state representation.
23757         (GstStateChange): New enumeration of possible state transitions.
23758         Replaces GST_STATE_FOO_TO_BAR with GST_STATE_CHANGE_FOO_TO_BAR.
23759         (GstElementClass::change_state): Pass the GstStateChange along as
23760         an argument. Helps language bindings, so they don't have to use
23761         tricky lock-needing macros like GST_STATE_CHANGE ().
23762
23763         * scripts/update-states (file): New script. Run it on a file to
23764         update it for state naming and API changes. Updates files in
23765         place.
23766
23767         * All files updated for the new API.
23768
23769 2005-09-02  Thomas Vander Stichele  <thomas at apestaart dot org>
23770
23771         * gst/gsttrace.c: (gst_trace_flush), (gst_trace_text_flush):
23772         * gst/gstutils.c: (gst_util_set_value_from_string),
23773         (gst_util_set_object_arg):
23774           fix a bunch of unchecked return values
23775         * tools/gst-complete.c: (main):
23776         * gstreamer.spec.in:
23777           clean up a little
23778
23779 2005-09-01  Wim Taymans  <wim@fluendo.com>
23780
23781         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
23782         (gst_base_sink_event), (gst_base_sink_do_sync),
23783         (gst_base_sink_handle_event):
23784         * gst/base/gstbasesink.h:
23785         Handle newsegments more correctly.
23786
23787         * gst/gstbus.c:
23788         Fix docs.
23789
23790         * gst/gstevent.c: (gst_event_new_newsegment):
23791         A newsegment cannot have a start_time of -1
23792
23793 2005-09-01  Tim-Philipp Müller  <tim at centricular dot net>
23794
23795         * win32/gstenumtypes.c:
23796         * win32/gstenumtypes.h:
23797           Update
23798
23799 2005-08-31  Stefan Kost  <ensonic@users.sf.net>
23800
23801         * libs/gst/controller/gst-controller.c:
23802         (gst_controlled_property_set_interpolation_mode),
23803         (gst_controlled_property_new):
23804          fixed boolean again
23805
23806 2005-08-31  Thomas Vander Stichele  <thomas at apestaart dot org>
23807
23808         * docs/faq/gst-uninstalled:
23809           add -good
23810         * gst/gstevent.c:
23811         * gst/gstevent.h:
23812           remove wrong docs
23813         * gst/gstutils.c: (gst_element_link_filtered):
23814         * gst/gstutils.h:
23815           add gst_element_link_filtered
23816
23817 2005-08-31  Stefan Kost  <ensonic@users.sf.net>
23818
23819         * docs/gst/gstreamer-docs.sgml:
23820         * docs/gst/gstreamer-sections.txt:
23821         * docs/gst/tmpl/.cvsignore:
23822         * docs/gst/tmpl/gsterror.sgml:
23823         * docs/gst/tmpl/gstfilter.sgml:
23824         * docs/gst/tmpl/gsturihandler.sgml:
23825         * docs/gst/tmpl/gsturitype.sgml:
23826         * docs/gst/tmpl/gstutils.sgml:
23827         * docs/gst/tmpl/gstxml.sgml:
23828         * gst/gsterror.c:
23829         * gst/gsterror.h:
23830         * gst/gstfilter.c:
23831         * gst/gsturi.c:
23832         * gst/gsturitype.c:
23833         * gst/gstutils.c:
23834         * gst/gstxml.c:
23835           inlined more docs, fixed double id-ref
23836
23837 2005-08-31  Wim Taymans  <wim@fluendo.com>
23838
23839         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
23840         (gst_base_transform_handle_buffer):
23841         Passthrough elements don't need the caps as they don't care.
23842
23843 2005-08-31  Wim Taymans  <wim@fluendo.com>
23844
23845         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
23846         (gst_base_transform_handle_buffer), (gst_base_transform_chain):
23847         Don't leak refcounts on buffers.
23848
23849 2005-08-31  Wim Taymans  <wim@fluendo.com>
23850
23851         * gst/base/gstbasetransform.c: (gst_base_transform_configure_caps),
23852         (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
23853         (gst_base_transform_chain), (gst_base_transform_change_state):
23854         * gst/base/gstbasetransform.h:
23855         Handle the case where we are not negotiated more gracefully.
23856
23857 2005-08-31  Tim-Philipp Müller  <tim at centricular dot net>
23858
23859         * gst/elements/gstfilesrc.c: (gst_mmap_buffer_init),
23860         (gst_file_src_map_region):
23861           Set READONLY flag on mmap'ed buffers, otherwise
23862           gst_buffer_make_writable() won't work properly (#314708).
23863
23864 2005-08-31  Wim Taymans  <wim@fluendo.com>
23865
23866         * gst/base/gstbasetransform.c: (gst_base_transform_handle_buffer):
23867         passthrough elements can even do inplace on non writable
23868         buffers (as they don't touch them).
23869
23870 2005-08-31  Stefan Kost  <ensonic@users.sf.net>
23871
23872         * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
23873         (gst_test_mono_source_set_property),
23874         (gst_test_mono_source_class_init), (GST_START_TEST),
23875         (gst_controller_suite):
23876           more tests (hehe I have the most)
23877         * gst/gstbus.c:
23878           describe popping messages whenusing mulltiple sources
23879         * libs/gst/controller/gst-controller.c:
23880         (gst_controlled_property_set_interpolation_mode),
23881         (gst_controlled_property_new):
23882         * libs/gst/controller/gst-controller.h:
23883         * libs/gst/controller/gst-interpolation.c:
23884           implement boolean properties
23885
23886 2005-08-31  Wim Taymans  <wim@fluendo.com>
23887
23888         * gst/gstminiobject.c: (gst_mini_object_ref):
23889         Cannot assert that the refcount has to be positive
23890         since a disposed object can be resurrected.
23891
23892 2005-08-31  Wim Taymans  <wim@fluendo.com>
23893
23894         * gst/gstpad.c: (gst_pad_init):
23895         Revert change, need to first fix badly behaving 
23896         apps.
23897
23898 2005-08-30  Wim Taymans  <wim@fluendo.com>
23899
23900         * check/elements/fakesrc.c: (setup_fakesrc):
23901         * check/elements/identity.c: (setup_identity):
23902         Activate pads before using them.
23903
23904 2005-08-30  Wim Taymans  <wim@fluendo.com>
23905
23906         * gst/base/gstadapter.c: (gst_adapter_flush):
23907         Flushing out 0 bytes is ok for this function.
23908
23909         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
23910         no newsegment gives a warning and sets the start/stop to 
23911         invalid.
23912
23913         * gst/base/gstbasetransform.c: (gst_base_transform_change_state),
23914         (gst_base_transform_set_passthrough):
23915         Some debug info.
23916
23917         * gst/gstminiobject.c: (gst_mini_object_ref):
23918         Check refcount here too.
23919
23920         * gst/gstpad.c: (gst_pad_init):
23921         Pads are initially flushing and refusing data.
23922
23923         * gst/gstutils.c: (gst_element_link_pads_filtered):
23924         When adding a capsfilter element make sure it has the
23925         same state as the parent bin.
23926
23927 2005-08-30  Stefan Kost  <ensonic@users.sf.net>
23928
23929         * docs/gst/tmpl/.cvsignore:
23930         * docs/gst/tmpl/gstformat.sgml:
23931         * docs/gst/tmpl/gstversion.sgml:
23932         * gst/gstbus.h:
23933         * gst/gstformat.c:
23934         * gst/gstformat.h:
23935         * gst/gstversion.h.in:
23936           more docs and two more inlined
23937
23938 2005-08-30  Wim Taymans  <wim@fluendo.com>
23939
23940         * gst/elements/gstfilesink.c: (gst_file_sink_class_init):
23941         Don't sync to clock.
23942
23943 2005-08-30  Stefan Kost  <ensonic@users.sf.net>
23944
23945         * docs/gst/gstreamer-sections.txt:
23946           ultral33t func10ns deserve to appear in the docs actually
23947         * docs/gst/tmpl/.cvsignore:
23948         * docs/gst/tmpl/gstcompat.sgml:
23949         * docs/gst/tmpl/gstconfig.sgml:
23950         * gst/check/gstcheck.c:
23951         * gst/gstcompat.h:
23952         * gst/gstconfig.h.in:
23953           inlined more docs
23954
23955 2005-08-30  Stefan Kost  <ensonic@users.sf.net>
23956
23957         * docs/gst/tmpl/.cvsignore:
23958         * docs/gst/tmpl/gstquery.sgml:
23959         * docs/gst/tmpl/gstutils.sgml:
23960         * gst/gstquery.c:
23961         * gst/gstquery.h:
23962           inlined and extended docs
23963
23964 2005-08-30  Stefan Kost  <ensonic@users.sf.net>
23965
23966         * check/gst-libs/controller.c: (GST_START_TEST),
23967         (gst_controller_suite):
23968           more tests
23969         * docs/gst/tmpl/gstutils.sgml:
23970         * docs/libs/gstreamer-libs-sections.txt:
23971         * docs/libs/tmpl/gstdataprotocol.sgml:
23972           include path fixes
23973         * examples/controller/audio-example.c: (main):
23974           controller example works now
23975         * gst/gstclock.h:
23976           doc fixes
23977         * tools/gst-inspect.c: (print_element_properties_info):
23978           show param spec flags
23979
23980 2005-08-29  Andy Wingo  <wingo@pobox.com>
23981
23982         * gst/gstutils.c (gst_util_uint64_scale): New 3733t funct10n.
23983
23984 2005-08-28  Andy Wingo  <wingo@pobox.com>
23985
23986         * gst/gstutils.h (GST_BOILERPLATE_FULL): Prototype instance_init
23987         as having two arguments instead of just one. Allows superclasses
23988         to access information on subclasses -- see the terrible for() loop
23989         in gtype.c:g_type_create_instance for the reason why. All callers
23990         changed.
23991
23992 2005-08-27  Stefan Kost  <ensonic@users.sf.net>
23993
23994         * docs/design/part-messages.txt:
23995           update info
23996         * docs/gst/tmpl/.cvsignore:
23997         * docs/gst/tmpl/gstcaps.sgml:
23998         * docs/gst/tmpl/gstclock.sgml:
23999         * gst/gstbus.c:
24000         * gst/gstcaps.c:
24001         * gst/gstcaps.h:
24002         * gst/gstclock.c:
24003         * gst/gstclock.h:
24004         * gst/gstmessage.c:
24005           added descriptions for bus and message
24006           inline caps and clock docs
24007
24008 2005-08-27  Stefan Kost  <ensonic@users.sf.net>
24009
24010         * gst/gstmessage.c:
24011         * gst/gstmessage.h:
24012           doc fixes
24013
24014 2005-08-27  Stefan Kost  <ensonic@users.sf.net>
24015
24016         * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
24017           fix div-by-zero
24018
24019 2005-08-26  Andy Wingo  <wingo@pobox.com>
24020
24021         * check/pipelines/simple_launch_lines.c (run_pipeline): Check
24022         element_set_state's return val.
24023         (test_2_elements): Add test that's been disabled for months.
24024
24025         * gst/elements/gstfakesink.c: Cleanups. Add can-activate-push and
24026         can-activate-pull properties.
24027
24028         * gst/elements/gstfakesrc.c: Cleanups. Add can-activate-push and
24029         can-activate-pull properties. Implement is_seekable so fakesrc can
24030         operate in pull mode.
24031
24032         * gst/base/gstbasesink.c (GstBaseSink): Remove has-loop, has-chain
24033         properties.
24034         (gst_base_sink_activate, gst_base_sink_activate_pull)
24035         (gst_base_sink_activate_push): Make activation mode choosing work.
24036         Cleanups.
24037         (gst_base_sink_chain, gst_base_sink_loop): Assert activation mode
24038         is right. Make pull mode work. Post an eos before pausing in pull
24039         mode.
24040         (gst_base_sink_change_state): Pay attention to the core's
24041         change_state() return val.
24042         
24043         * gst/base/gstbasesrc.c (GstBaseSrc): Remove has-loop,
24044         has-getrange properties. Cleanups.
24045         
24046         * gst/base/gstbasesrc.h (GstBaseSrc): Remove has_loop,
24047         has_getrange and replace with can_activate_pull and
24048         can_activate_push.
24049
24050         * gst/base/gstbasesink.h (GstBaseSink): Rearrange fields, add
24051         locking comments. Remove has_loop, has_chain and replace with
24052         can_activate_pull and can_activate_push.
24053
24054 2005-08-26  Jan Schmidt  <thaytan@mad.scientist.com>
24055
24056         * configure.ac:
24057         * examples/Makefile.am:
24058         * examples/metadata/Makefile.am:
24059         * examples/metadata/read-metadata.c: (message_loop),
24060         (have_pad_handler), (make_pipeline), (print_tag), (main):
24061           Add metadata reading example that loops over a list of filenames,
24062           dumping any tags found.
24063
24064         * gst/gstbus.c: (gst_bus_dispose):
24065         * gst/gstelement.c: (gst_element_dispose):
24066           Release a few potentially-held references in dispose.
24067
24068 2005-08-26  Stefan Kost  <ensonic@users.sf.net>
24069
24070         * docs/gst/tmpl/gstminiobject.sgml:
24071           do *not* add tmpl/*.sgml files to CVS!
24072
24073 2005-08-26  Stefan Kost  <ensonic@users.sf.net>
24074
24075         * libs/gst/bytestream/.cvsignore:
24076         * libs/gst/bytestream/Makefile.am:
24077         * libs/gst/bytestream/adapter.c:
24078         * libs/gst/bytestream/adapter.h:
24079         * libs/gst/bytestream/bytestream.c:
24080         * libs/gst/bytestream/bytestream.h:
24081         * libs/gst/bytestream/filepad.c:
24082         * libs/gst/bytestream/filepad.h:
24083           removing obsolete files
24084
24085 2005-08-26  Stefan Kost  <ensonic@users.sf.net>
24086
24087         * docs/gst/gstreamer-docs.sgml:
24088         * docs/libs/gstreamer-libs-docs.sgml:
24089           disabed additional index entries again, as this makes docs-gen just
24090           slow and they aren't useful yet
24091         * docs/libs/gstreamer-libs-sections.txt:
24092           little -section.txt cleanup for libs
24093
24094 2005-08-26  Thomas Vander Stichele  <thomas at apestaart dot org>
24095
24096         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
24097         * gst/base/gstbasetransform.c: (gst_base_transform_transform_size),
24098           fix up some debugging
24099         (gst_base_transform_get_unit_size),
24100         (gst_base_transform_buffer_alloc), (gst_base_transform_event),
24101         (gst_base_transform_handle_buffer):
24102         * gst/base/gstbasetransform.h:
24103           handle and store timed NEWSEGMENT events so that subclasses that
24104           calculate time by counting samples have a segment_start time they
24105           need to add to their timestamps - see audioresample
24106
24107 2005-08-26  Stefan Kost  <ensonic@users.sf.net>
24108
24109         * gst/gstbin.h:
24110           removed ';' from the end of macro defs
24111         * docs/gst/gstreamer-docs.sgml:
24112         * docs/gst/gstreamer-sections.txt:
24113         * docs/gst/tmpl/.cvsignore:
24114         * gst/gstbus.h:
24115         * gst/gstelement.c: (gst_element_class_init),
24116         (gst_element_set_state), (activate_pads),
24117         (gst_element_save_thyself):
24118         * gst/gstevent.c: (gst_event_new_newsegment):
24119         * gst/gstevent.h:
24120         * gst/gstiterator.c:
24121         * gst/gstiterator.h:
24122         * gst/gstpad.c:
24123         * gst/gstprobe.h:
24124         * gst/gstutils.c: (gst_pad_query_convert):
24125         * gst/gstutils.h:
24126           fixed parameter name mismatches between source, header and docs
24127           added some more docs, resolved the last batch of unused elements in
24128           docs (now someone needs to doc them)
24129
24130 2005-08-25  Thomas Vander Stichele  <thomas at apestaart dot org>
24131
24132         * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_rebuild):
24133         * gst/registries/gstxmlregistry.c: (gst_xml_registry_rebuild):
24134           don't walk through the plugins backwards.  Where is all this
24135           reversed logic coming from ?
24136
24137 2005-08-25  Wim Taymans  <wim@fluendo.com>
24138
24139         * gst/base/gstbasetransform.c: (gst_base_transform_init),
24140         (gst_base_transform_transform_size),
24141         (gst_base_transform_configure_caps),
24142         (gst_base_transform_get_unit_size),
24143         (gst_base_transform_buffer_alloc),
24144         (gst_base_transform_change_state):
24145         * gst/base/gstbasetransform.h:
24146         Cache caps unit_size.
24147         Make sure we cannot negotiate up and downstream at the
24148         same time.
24149
24150 2005-08-25  Thomas Vander Stichele  <thomas at apestaart dot org>
24151
24152         * gst/gst.c: (init_pre), (init_post):
24153           register the installed plugin path after the env var
24154         * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_save):
24155         * gst/registries/gstxmlregistry.c: (gst_xml_registry_save):
24156           don't reverse order of paths; conserve the order of GST_PLUGIN_PATH
24157           directories, so the tests can prefer uninstalled over installed
24158
24159 2005-08-25  Thomas Vander Stichele  <thomas at apestaart dot org>
24160
24161         * gst/base/gstbasetransform.h:
24162           comment
24163         * gst/gstpad.c:
24164           add to docs
24165
24166 2005-08-25  Wim Taymans  <wim@fluendo.com>
24167
24168         * gst/gstbin.c: (bin_bus_handler):
24169         Be a bit more conservative about the posted message.
24170         
24171         * gst/gstbus.c: (gst_bus_post):
24172         Some cleanups, warn wrong return values.
24173
24174 2005-08-25  Jan Schmidt  <thaytan@mad.scientist.com>
24175
24176         * check/gst/gstbin.c: (GST_START_TEST):
24177         * gst/gstbin.c: (bin_bus_handler):
24178         * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
24179         (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
24180         (gst_message_new_warning), (gst_message_new_tag),
24181         (gst_message_new_state_changed), (gst_message_new_segment_start),
24182         (gst_message_new_segment_done), (gst_message_new_custom):
24183         * gst/gstmessage.h:
24184         * tools/gst-launch.c: (event_loop):
24185         * tools/gst-md5sum.c: (event_loop):
24186           Revert unpopular change for GST_MESSAGE_SRC to GObject.
24187
24188 2005-08-25  Wim Taymans  <wim@fluendo.com>
24189
24190         * check/generic/states.c: (GST_START_TEST):
24191         Cleanup can be done at the end.
24192
24193         * gst/gsttask.c: (gst_task_get_type), (gst_task_finalize),
24194         (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
24195         (gst_task_get_state), (gst_task_start), (gst_task_pause):
24196         Oh boy.. Thanks for finding this, Thomas. 
24197
24198 2005-08-25  Stefan Kost  <ensonic@users.sf.net>
24199
24200         * docs/gst/gstreamer.types:
24201           added missing types
24202
24203 2005-08-25  Stefan Kost  <ensonic@users.sf.net>
24204
24205         * docs/gst/gstreamer-docs.sgml:
24206         * docs/gst/gstreamer-sections.txt:
24207         * docs/gst/tmpl/.cvsignore:
24208         * gst/gstbin.c:
24209         * gst/gstiterator.c:
24210         * gst/gstutils.c:
24211         * gst/registries/gstxmlregistry.h:
24212           added missing classes and symbols (123 more to go)
24213           removed removed symbols from section file
24214           fixed many doc-comments
24215
24216 2005-08-24  Wim Taymans  <wim@fluendo.com>
24217
24218         * check/generic/states.c: (GST_START_TEST):
24219         Make sure all tasks are stopped.
24220
24221         * check/gst/gstbin.c: (GST_START_TEST):
24222         Unref after usage for proper valgrinding.
24223
24224         * gst/gstpad.c: (gst_pad_finalize), (gst_pad_stop_task):
24225         Really wait for the task to stop before destroying the
24226         mutex.
24227
24228         * gst/gstqueue.c: (gst_queue_sink_activate_push),
24229         (gst_queue_src_activate_push):
24230         Small cleanups. Don't stop the task when we did not start
24231         it.
24232
24233         * gst/gsttask.c: (gst_task_get_type), (gst_task_init),
24234         (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
24235         (gst_task_get_state), (gst_task_start), (gst_task_pause),
24236         (gst_task_join):
24237         * gst/gsttask.h:
24238         Protect the stream lock with the object lock.
24239         Disallow setting the stream lock when running.
24240         Add cleanup_all to wait for the threadpool to finish.
24241         Remove code to autoallocate a mutex if none was provided.
24242         Add _join() to wait for a task to stop.
24243         Protect the thread pool with a global lock.
24244
24245 2005-08-24  Wim Taymans  <wim@fluendo.com>
24246
24247         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
24248         (gst_base_sink_get_times), (gst_base_sink_do_sync),
24249         (gst_base_sink_handle_buffer), (gst_base_sink_change_state):
24250         * gst/base/gstbasesink.h:
24251         Handle newsegment events correctly.
24252         Drop buffers out of the segment range.
24253
24254 2005-08-22  Andy Wingo  <wingo@pobox.com>
24255
24256         * gst/gstutils.h (GST_BOILERPLATE_WITH_INTERFACE): New ghetto
24257         macro, implements an interface and gstimplementsinterface for a
24258         new type.
24259
24260 2005-08-24  Thomas Vander Stichele  <thomas at apestaart dot org>
24261
24262         * check/Makefile.am:
24263         * check/generic/states.c: (GST_START_TEST), (states_suite), (main):
24264           add a test that does a bunch of state changes on elements
24265           needs some fixing for valgrind
24266         * check/states/sinks.c: (gst_object_suite):
24267           whitespace
24268         * gst/gstcaps.h:
24269           add prototype for gst_caps_is_equal_fixed
24270         * gst/gstplugin.c:
24271         * gst/gstregistrypool.c:
24272           doc fixes
24273
24274 2005-08-24  Andy Wingo  <wingo@pobox.com>
24275
24276         * gst/gstquery.c (gst_query_new_convert): Spew if we try to
24277         convert a negative value. Doesn't make much sense. Mostly this is
24278         here to force callers to ensure -1 maps to -1.
24279
24280 2005-08-24  Jan Schmidt  <thaytan@mad.scientist.com>
24281
24282         * docs/pwg/advanced-types.xml:
24283           Well done to Michael for catching my deliberate introduction
24284           of this spelling mistake. 
24285         * gst/gstbin.c: (gst_bin_remove_func), (bin_bus_handler):
24286         * gst/gstelement.h:
24287           Add GST_ELEMENT_UNPARENTING to prevent races so that we can
24288           unlink pads before removing the element from the bin.
24289
24290 2005-08-24  Andy Wingo  <wingo@pobox.com>
24291
24292         * gst/gst.c (parse_debug_list): Accept e.g. GST_DEBUG=4 to mean
24293         the same thing as GST_DEBUG=*:4.
24294         (parse_debug_level, parse_debug_category): New helper parsers.
24295
24296 2005-08-24  Thomas Vander Stichele  <thomas at apestaart dot org>
24297
24298         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
24299         (gst_base_transform_transform_size), (gst_base_transform_getcaps),
24300         (gst_base_transform_setcaps), (gst_base_transform_get_unit_size),
24301         (gst_base_transform_buffer_alloc),
24302         (gst_base_transform_handle_buffer):
24303           use gboolean return values and pointers to size so we can use the
24304           full GST_BUFFER_SIZE range (guint) for buffer sizes
24305           use GstPadDirection for transform_caps
24306         * gst/base/gstbasetransform.h:
24307           rename get_size to get_unit_size since that's what it is
24308         * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_caps):
24309           use GstPadDirection for transform_caps
24310         * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
24311         * gst/gstutils.h:
24312           cleanup and debugging
24313
24314 2005-08-24  Stefan Kost  <ensonic@users.sf.net>
24315
24316         * gst/gstelement.c: (gst_element_class_init),
24317         (gst_element_set_state), (activate_pads),
24318         (gst_element_save_thyself):
24319         * tools/gst-compprep.c: (main):
24320         * tools/gst-inspect.c: (print_element_properties_info):
24321         * tools/gst-xmlinspect.c: (print_element_properties):
24322           Fixed long standing mem-leak
24323
24324 2005-08-24  Jan Schmidt  <thaytan@mad.scientist.com>
24325
24326         * check/gst/gstbin.c: (GST_START_TEST):
24327         * gst/gstbin.c: (bin_bus_handler):
24328         * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
24329         (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
24330         (gst_message_new_warning), (gst_message_new_tag),
24331         (gst_message_new_state_changed), (gst_message_new_segment_start),
24332         (gst_message_new_segment_done), (gst_message_new_custom):
24333         * gst/gstmessage.h:
24334         * tools/gst-launch.c: (event_loop):
24335         * tools/gst-md5sum.c: (event_loop):
24336           Change GST_MESSAGE_SRC to be a GObject rather than a GstObject, so
24337           that applications can sensibly post custom messages with references
24338           to their own objects.
24339
24340 2005-08-24  Andy Wingo  <wingo@pobox.com>
24341
24342         * gst/gstpad.c (gst_pad_fixate_caps): Check if the caps is fixed
24343         already.
24344
24345 2005-08-24  Wim Taymans  <wim@fluendo.com>
24346
24347         * gst/base/gstbasetransform.c: (gst_base_transform_init),
24348         (gst_base_transform_transform_caps),
24349         (gst_base_transform_transform_size),
24350         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
24351         (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
24352         (gst_base_transform_handle_buffer):
24353         * gst/base/gstbasetransform.h:
24354         Many fixes and new features added by Thomas. Can now also do
24355         transforms with variable sizes and a custom fixate_caps function.
24356
24357 2005-08-24  Wim Taymans  <wim@fluendo.com>
24358
24359         * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
24360         Some debugging.
24361
24362         * gst/gstclock.h:
24363         Cast to ClockTime before formatting to time.
24364
24365         * gst/gstutils.h:
24366         Cleanups.
24367
24368 2005-08-24  Stefan Kost  <ensonic@users.sf.net>
24369
24370         * check/gst-libs/controller.c: (GST_START_TEST),
24371         (gst_controller_suite):
24372         * docs/gst/tmpl/gstcaps.sgml:
24373         * docs/gst/tmpl/gstghostpad.sgml:
24374         * docs/gst/tmpl/gstquery.sgml:
24375         * docs/gst/tmpl/gstutils.sgml:
24376         * libs/gst/controller/gst-helper.c: (gst_object_set_controller),
24377         (gst_object_sink_values), (gst_object_get_value_arrays),
24378         (gst_object_get_value_array):
24379           gracefully handle helper method calls to objects that are not beeing
24380           controlled, added test case for that          
24381
24382 2005-08-23  Wim Taymans  <wim@fluendo.com>
24383
24384         * gst/gstevent.c: (_gst_event_copy), (gst_event_new_custom),
24385         (gst_event_new_newsegment), (gst_event_parse_newsegment),
24386         (gst_event_new_tag), (gst_event_parse_tag), (gst_event_new_qos),
24387         (gst_event_parse_qos), (gst_event_new_seek),
24388         (gst_event_parse_seek):
24389         * gst/gstevent.h:
24390         Some more debugging output and doc cleanups.
24391
24392         * gst/gstqueue.c: (gst_queue_handle_sink_event):
24393         Fix possible deadlock.
24394
24395 2005-08-23  Stefan Kost  <ensonic@users.sf.net>
24396
24397         * docs/gst/gstreamer-docs.sgml:
24398         * docs/gst/gstreamer-sections.txt:
24399         * docs/gst/gstreamer.types:
24400         * docs/gst/tmpl/.cvsignore:
24401         * gst/gstbin.h:
24402         * gst/gstbus.c:
24403         * gst/gstelement.c:
24404         * gst/gstevent.h:
24405           added 100 symbols from gstreamer-unused.txt to the right sections
24406           fixed more broken comments
24407           added GstBus to docs
24408
24409 2005-08-23  Stefan Kost  <ensonic@users.sf.net>
24410
24411         * docs/gst/gstreamer-sections.txt:
24412         * docs/gst/tmpl/.cvsignore:
24413         * docs/gst/tmpl/gstbin.sgml:
24414         * docs/gst/tmpl/gstbuffer.sgml:
24415         * gst/base/gstbasesrc.c:
24416         * gst/gstbin.c: (gst_bin_get_type), (gst_bin_class_init):
24417         * gst/gstbuffer.c:
24418         * gst/gstbuffer.h:
24419         * tools/gst-launch.1.in:
24420           inlined more doc comments, added missing comments and fixed comments
24421           fixed typos
24422
24423 2005-08-23  Thomas Vander Stichele  <thomas at apestaart dot org>
24424
24425         * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
24426           some debugging
24427         * gst/gstcaps.h:
24428           whitespace fixes
24429         * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_alloc_buffer):
24430           more debugging
24431         * gst/gststructure.c: (gst_caps_structure_fixate_field_boolean):
24432         * gst/gststructure.h:
24433           add a fixate function for booleans; add a FIXME that these func
24434           names should probably be gst_structure_fixate_*
24435
24436 2005-08-23  Stefan Kost  <ensonic@users.sf.net>
24437
24438         * docs/gst/gstreamer-docs.sgml:
24439         * docs/gst/gstreamer-sections.txt:
24440         * gst/Makefile.am:
24441         * gst/gstbin.c: (gst_bin_get_type),
24442         (gst_bin_child_proxy_get_child_by_index),
24443         (gst_bin_child_proxy_get_children_count),
24444         (gst_bin_child_proxy_init):
24445         * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
24446         (gst_child_proxy_get_child_by_index),
24447         (gst_child_proxy_get_children_count), (gst_child_proxy_lookup),
24448         (gst_child_proxy_get_property), (gst_child_proxy_get_valist),
24449         (gst_child_proxy_get), (gst_child_proxy_set_property),
24450         (gst_child_proxy_set_valist), (gst_child_proxy_set),
24451         (gst_child_proxy_child_added), (gst_child_proxy_child_removed),
24452         (gst_child_proxy_base_init), (gst_child_proxy_get_type):
24453         * gst/gstchildproxy.h:
24454         * gst/parse/grammar.y:
24455         * tools/gst-inspect.c: (print_interfaces),
24456         (print_element_properties_info), (print_element_info):
24457           ported gstchildproxy over from 0.8
24458           ported gst-inspect fixes and enhancements over from 0.8
24459
24460 2005-08-22  Wim Taymans  <wim@fluendo.com>
24461
24462         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
24463         (gst_base_transform_handle_buffer):
24464         Also call the transform function if we have ANY caps.
24465
24466         * gst/gstpipeline.c: (gst_pipeline_set_new_stream_time):
24467         Fix debug info.
24468
24469 2005-08-22  Jan Schmidt  <thaytan@mad.scientist.com>
24470
24471         * gst/base/gstbasesrc.c: (gst_base_src_event_handler)
24472           Don't pretend to handle seek events if the source is not seekable
24473
24474 2005-08-22  Jan Schmidt  <thaytan@mad.scientist.com>
24475
24476         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
24477           Remove extra parameter to debug output
24478
24479         * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
24480         (gst_base_src_do_seek), (gst_base_src_activate_push):
24481           Fix seek event handling.
24482
24483         * gst/gstpipeline.c: (gst_pipeline_change_state):
24484         * gst/gstqueue.c: (gst_queue_handle_sink_event),
24485         (gst_queue_src_activate_push):
24486           Don't start the src pad task on FLUSH_STOP if the pad
24487           isn't linked.
24488           Debug changes.
24489
24490 2005-08-22  Wim Taymans  <wim@fluendo.com>
24491
24492         * check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
24493         Added check for gst_static_caps_get() refcounting.
24494
24495 2005-08-22  Wim Taymans  <wim@fluendo.com>
24496
24497         * gst/gstcaps.c: (gst_static_caps_get), (gst_caps_to_string):
24498         Make _static_caps_get() refcounting sane.
24499         
24500         * gst/gstelement.c: (gst_element_set_state):
24501         Add g_return_val_if_fail() to protect against segfaults.
24502
24503 2005-08-22  Stefan Kost  <ensonic@users.sf.net>
24504
24505         * docs/gst/tmpl/gstevent.sgml:
24506         * gst/gstevent.c:
24507         * gst/gstevent.h:
24508           inlined remaining docs, added missing doc comments
24509
24510 2005-08-22  Thomas Vander Stichele  <thomas at apestaart dot org>
24511
24512         * check/gst/gstbin.c: (GST_START_TEST):
24513           since we don't know when preroll is done, use refcount range
24514           check for the sink
24515         * gst/check/gstcheck.h:
24516           add macro for checking refcount range
24517
24518 2005-08-21  Thomas Vander Stichele  <thomas at apestaart dot org>
24519
24520         * check/Makefile.am:
24521           clean up environment for when registry gets built versus
24522           when actual tests are run; valgrind seems to not report
24523           leaks if GST_PLUGIN_PATH is set to some specific values
24524         * check/gst/gstbin.c: (GST_START_TEST):
24525           add more refcounting checks; maybe this exposes a
24526           preroll lock bug ?
24527         * common/check.mak:
24528         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
24529         * gst/check/gstcheck.h:
24530         * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_get_state),
24531         (gst_bin_change_state):
24532         * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_chain):
24533           add/fix debugging/whitespace
24534
24535 2005-08-21  Jan Schmidt  <thaytan@mad.scientist.com>
24536
24537         * check/gst/gstevent.c: (event_probe), (test_event),
24538         (GST_START_TEST):
24539          Er, don't call gst_bin_watch_for_state_change you idiot.
24540
24541 2005-08-21  Jan Schmidt  <thaytan@mad.scientist.com>
24542
24543         * check/Makefile.am:
24544           Use CHECK_CFLAGS and CHECK_LIBS
24545         * check/gst/gstevent.c: (event_probe), (test_event),
24546         (GST_START_TEST):
24547           Don't leak events.
24548         * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
24549         (gst_base_src_start), (gst_base_src_stop),
24550         (gst_base_src_activate_push), (gst_base_src_activate_pull),
24551         (gst_base_src_change_state):
24552           Sprinkle gst_base_src_stop liberally around error paths to fix
24553           problems reusing a source after failed state changes.
24554         * gst/base/gsttypefindhelper.c: (helper_find_peek),
24555         (helper_find_suggest), (gst_type_find_helper):
24556           Extra debug output. Don't segfault on GST_PAD_GETRANGEFUNC = NULL
24557         * gst/gstevent.h:
24558         * docs/gst/tmpl/gstevent.sgml:
24559           Migrate part of the docs from the SGML file. Wait for ensonic to
24560           tell me how I did it wrong ;)
24561         * tools/gst-typefind.c: (main):
24562           Extra robustness to state changes between files.
24563
24564 2005-08-21  Thomas Vander Stichele  <thomas at apestaart dot org>
24565
24566         * check/Makefile.am:
24567           don't valgrind the controller test - it's leaking - Stefan, HELP
24568         * gst/check/gstcheck.c: (gst_check_message_error),
24569         (gst_check_chain_func), (gst_check_setup_element),
24570         (gst_check_teardown_element), (gst_check_setup_src_pad),
24571         (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
24572         (gst_check_teardown_sink_pad):
24573         * gst/check/gstcheck.h:
24574           add a bunch of methods to set up elements, and src and sink pads
24575         * check/elements/fakesrc.c: (setup_fakesrc), (cleanup_fakesrc):
24576         * check/elements/identity.c: (setup_identity), (cleanup_identity),
24577         (GST_START_TEST):
24578           use them
24579         * gst/gstmessage.c:
24580         * gst/gsttag.h:
24581           whitespace/doc fixes
24582
24583 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
24584
24585         * gst/gstelement.h:
24586           make GST_ELEMENT_ERROR not do GST_ERROR_OBJECT - these errors should
24587           be handled by the application and not always printed as well
24588
24589 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
24590
24591         * check/Makefile.am:
24592           set GST_TOOLS_DIR
24593         * gst/check/gstcheck.c: (gst_check_message_error):
24594         * gst/check/gstcheck.h:
24595           add a fail_unless_equals_int
24596           add fail_unless for error messages
24597
24598 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
24599
24600         * check/Makefile.am:
24601         * check/gst.supp:
24602         * common/Makefile.am:
24603         * common/check.mak:
24604         * common/gst.supp:
24605           factor out some of the common stuff so we can use it
24606
24607 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
24608
24609         * check/Makefile.am:
24610         * check/gst/gstiterator.c: (GST_START_TEST):
24611         * check/gst/gstsystemclock.c: (GST_START_TEST),
24612         (gst_systemclock_suite):
24613         * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
24614         * gst/gstclock.c:
24615           valgrind more tests
24616
24617 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
24618
24619         * check/elements/.cvsignore:
24620         * check/elements/gstfakesrc.c:
24621           rename to name of element
24622         * check/elements/identity.c: (chain_func), (event_func),
24623         (setup_identity), (cleanup_identity), (GST_START_TEST),
24624         (identity_suite), (main):
24625           add a test for identity
24626         * check/Makefile.am:
24627         * pkgconfig/Makefile.am:
24628         * pkgconfig/gstreamer-check.pc.in:
24629         * pkgconfig/gstreamer-check-uninstalled.pc.in:
24630         * gst/check:
24631         * gst/Makefile.am:
24632         * configure.ac:
24633           move the check stuff to a library that gets installed
24634         * check/gst-libs/controller.c: (GST_START_TEST):
24635         * check/gst-libs/gdp.c:
24636         * check/gst/gst.c: (GST_START_TEST):
24637         * check/gst/gstbin.c:
24638         * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
24639         * check/gst/gstbus.c:
24640         * check/gst/gstcaps.c: (GST_START_TEST):
24641         * check/gst/gstelement.c:
24642         * check/gst/gstghostpad.c:
24643         * check/gst/gstiterator.c:
24644         * check/gst/gstmessage.c:
24645         * check/gst/gstminiobject.c: (thread_ref), (GST_START_TEST):
24646         * check/gst/gstobject.c:
24647         * check/gst/gstpad.c: (GST_START_TEST):
24648         * check/gst/gststructure.c: (GST_START_TEST):
24649         * check/gst/gstsystemclock.c: (GST_START_TEST),
24650         (gst_systemclock_suite):
24651         * check/gst/gsttag.c: (gst_tag_suite):
24652         * check/gst/gstvalue.c:
24653         * check/pipelines/cleanup.c:
24654         * check/pipelines/simple_launch_lines.c:
24655         * check/states/sinks.c:
24656           change include statement
24657
24658         * docs/gst/gstreamer-sections.txt:
24659         * docs/gst/tmpl/gstpad.sgml:
24660           document more pad stuff
24661         * gst/gstminiobject.c: (gst_mini_object_ref),
24662         (gst_mini_object_unref):
24663           debug refcounting
24664
24665 2005-08-19  Stefan Kost  <ensonic@users.sf.net>
24666
24667         * docs/gst/tmpl/gst.sgml:
24668         * gst/gst.c:
24669           eliminate another tmpl file, fix spelling in the long-description
24670
24671 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
24672
24673         * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
24674         (test_event), (timediff), (gstevents_suite):
24675           Should fix build on 64-bit arch's
24676
24677 2005-08-18  Andy Wingo  <wingo@pobox.com>
24678
24679         Make sure that when a pipeline goes to PLAYING, that data has
24680         actually hit the sink.
24681
24682         * check/states/sinks.c (test_sink): A sink that doesn't get any
24683         data shouldn't return SUCCESS for going to either PLAYING or
24684         PAUSED. Test also the return values on the way back down.
24685
24686         * gst/gstelement.c (gst_element_set_state): When changing the
24687         state of an element currently changing state asynchronously, go to
24688         lost-state after commiting the pending state. Makes future calls
24689         to get_state continue to return ASYNC.
24690
24691         * gst/base/gstbasesink.c (gst_base_sink_change_state): Return
24692         ASYNC when going to PLAYING if we still don't have preroll, as can
24693         happen with live sources.
24694
24695 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
24696
24697         * docs/pwg/advanced-types.xml:
24698           Hack long paragraph into 2 chunks as a workaround for buggy
24699           jadetex version in sid and breezy that loops infinitely and
24700           eats all RAM.
24701
24702 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
24703
24704         * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
24705         (test_event), (timediff), (gstevents_suite):
24706           Provide more error margin in clock measurements to allow for 
24707           g_get_current_time inaccuracies.
24708
24709 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
24710
24711         * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
24712         (test_event), (timediff), (gstevents_suite):
24713            Fix error message output so I might be able to tell why the
24714            test works here but fails on the build farm.
24715
24716 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
24717
24718         * check/Makefile.am:
24719         * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
24720         (test_event), (timediff), (gstevents_suite), (main):
24721           I wrote a test!
24722
24723         * docs/design/part-seeking.txt:
24724           Spelling correction
24725
24726         * docs/gst/tmpl/gstevent.sgml:
24727         * docs/gst/tmpl/gstfakesrc.sgml:
24728           Docs updates.
24729
24730         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
24731           Treat a buffer-without-newsegment the same as a receiving 
24732           a newsegment not in time format, and disable syncing to the clock
24733           with a warning.
24734
24735         * gst/gstbus.c: (gst_bus_set_sync_handler):
24736           Assert if anyone tries to replace the existing sync_handler for bus, 
24737           as only the owner should be setting it.
24738
24739         * gst/gstevent.h:
24740           Have a fixed set of custom event enums with events identified by
24741           their structure name (as in 0.8), rather than a free-for-all
24742           allowing collisions between enum values from different plugins.
24743
24744         * gst/gstpad.c: (gst_pad_class_init):
24745           Docs change.
24746           
24747         * gst/gstqueue.c: (gst_queue_handle_sink_event):
24748           Handle out-of-band downstream events from the sending thread.
24749
24750 2005-08-17  Andy Wingo  <wingo@pobox.com>
24751
24752         * gst/gstpipeline.c (gst_pipeline_change_state): Interpret
24753         play-timeout==0 to mean no timeout at all. In that case, don't
24754         bother with a get_state or a warning, just return directly, even
24755         if it's ASYNC.
24756
24757         * gst/base/gstbasetransform.c: Debug changes.
24758
24759         * gst/gstutils.h:
24760         * gst/gstutils.c (gst_bin_watch_for_state_change): Add function to
24761         ensure bins post state change messages. A bit of a hack but I can't
24762         think of a way to avoid it.
24763
24764         * check/gst/gstbin.c (test_watch_for_state_change): Added test.
24765
24766 2005-08-16  Andy Wingo  <wingo@pobox.com>
24767
24768         * gst/base/gstadapter.h:
24769         * gst/base/gstadapter.c (gst_adapter_take): New function, like
24770         peek() but you own the data. Not terribly efficient atm.
24771
24772 2005-08-16  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
24773
24774         * gst/gstutils.c: (gst_element_found_tags_for_pad), (push_and_ref),
24775         (gst_element_found_tags):
24776         * gst/gstutils.h:
24777           Add two utility functions for tag handling.
24778
24779 2005-08-16  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
24780
24781         * docs/manual/advanced-dataaccess.xml:
24782         * docs/manual/basics-helloworld.xml:
24783           Fix docs to use _bin_add() before _link(), which fixes the examples
24784           with recent core versions (reported by Madhan Raj M
24785           <raj_madan@rediffmail.com>, #313199).
24786
24787 2005-08-16  Wim Taymans  <wim@fluendo.com>
24788
24789         * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
24790         Added subtract checks.
24791
24792         * docs/design/part-events.txt:
24793         Some more docs about newsegment
24794
24795         * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
24796         Fix FIXME
24797
24798         * gst/gstcaps.c: (gst_caps_to_string):
24799         Add comments, cleanups.
24800         
24801         * gst/gstelement.c: (gst_element_save_thyself):
24802         cleanups
24803         
24804         * gst/gstvalue.c: (gst_value_collect_int_range),
24805         (gst_string_unwrap), (gst_value_union_int_int_range),
24806         (gst_value_union_int_range_int_range),
24807         (gst_value_intersect_int_int_range),
24808         (gst_value_intersect_int_range_int_range),
24809         (gst_value_intersect_double_double_range),
24810         (gst_value_intersect_double_range_double_range),
24811         (gst_value_intersect_list), (gst_value_subtract_int_int_range),
24812         (gst_value_subtract_int_range_int),
24813         (gst_value_subtract_double_range_double),
24814         (gst_value_subtract_double_range_double_range),
24815         (gst_value_subtract_from_list), (gst_value_subtract_list),
24816         (gst_value_can_compare), (gst_value_compare_fraction):
24817         Cleanups, add comments, remove unneeded asserts.
24818
24819 2005-08-15  Thomas Vander Stichele  <thomas at apestaart dot org>
24820
24821         * tools/gst-launch.c: (event_loop):
24822           don't convert NULL structures to strings
24823
24824 2005-08-15  Stefan Kost  <ensonic@users.sf.net>
24825
24826         * docs/gst/gstreamer-sections.txt:
24827           made some defines private
24828         * docs/gst/tmpl/gstconfig.sgml:
24829         * docs/gst/tmpl/gstqueue.sgml:
24830         * docs/gst/tmpl/gsttaglist.sgml:
24831         * docs/gst/tmpl/gsttypes.sgml:
24832         * docs/gst/tmpl/gstutils.sgml:
24833         * docs/pwg/appendix-porting.xml:
24834         * gst/base/gstbasesink.h:
24835         * gst/base/gstbasesrc.c:
24836         * gst/base/gstbasesrc.h:
24837         * gst/elements/gstfakesink.c: (gst_fake_sink_class_init):
24838         * gst/elements/gstfakesrc.c: (gst_fake_src_class_init):
24839         * gst/gstelement.c: (gst_element_class_init):
24840         * gst/gstpad.c: (gst_pad_class_init):
24841         * gst/gstqueue.c: (gst_queue_class_init):
24842         * gst/gstxml.c: (gst_xml_class_init):
24843           documented all undocumented signal inline
24844         * libs/gst/controller/gst-controller.h:
24845           added padding
24846
24847 2005-08-15  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
24848
24849         * docs/pwg/appendix-porting.xml:
24850           Document _set_link_function -> _set_setcaps_function.
24851
24852 2005-08-15  Thomas Vander Stichele  <thomas at apestaart dot org>
24853
24854         * check/Makefile.am:
24855           add a .check target for running the check
24856         * check/gst-libs/controller.c: (GST_START_TEST):
24857           cosmetic fixups
24858         * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
24859           complete checks for gstbuffer; would be nice if I could get the
24860           gcov stuff to work so I can see if I actually completed gstbuffer.c
24861         * check/gstcheck.h:
24862           add ASSERT_BUFFER_REFCOUNT
24863
24864 2005-08-13  Tim-Philipp Müller  <tim at centricular dot net>
24865
24866         * docs/gst/gstreamer-sections.txt:
24867         * gst/gsttag.c: (_gst_tag_initialize), (gst_tag_register):
24868         * gst/gsttag.h:
24869           Add GST_TAG_LANGUAGE_CODE as we have in 0.8, and don't
24870           spew out a warning if a tag that is already registered
24871           is re-registered, unless it is re-registered with a 
24872           different type (#308438).
24873
24874 2005-08-12  Tim-Philipp Müller  <tim at centricular dot net>
24875
24876         * docs/pwg/appendix-porting.xml:
24877         * docs/pwg/building-state.xml:
24878           Add some paragraphs about state changes in 0.9 to the PWG
24879           and the porting guide, in particular about the new meaning
24880           of GST_STATE_PAUSED and how to write state change functions
24881           with concurrent access by multiple threads in mind.
24882
24883 2005-08-11  Stefan Kost  <ensonic@users.sf.net>
24884
24885         * docs/gst/gstreamer-docs.sgml:
24886         * docs/libs/gstreamer-libs-docs.sgml:
24887           added deprecation and since indexes
24888         * libs/gst/controller/gst-controller.c:
24889         * libs/gst/controller/gst-helper.c:
24890           added since tags
24891
24892
24893 2005-08-11  Wim Taymans  <wim@fluendo.com>
24894
24895         * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked),
24896         (gst_proxy_pad_set_target), (gst_proxy_pad_get_target),
24897         (gst_proxy_pad_dispose), (gst_ghost_pad_do_activate_push),
24898         (gst_ghost_pad_do_link), (gst_ghost_pad_set_internal),
24899         (gst_ghost_pad_new_notarget), (gst_ghost_pad_get_target),
24900         (gst_ghost_pad_set_target):
24901         Actually implement (re)setting the target on a ghostpad
24902         as described in the docs.
24903
24904 2005-08-10  Tim-Philipp Müller  <tim at centricular dot net>
24905
24906         * gst/gst.c: (gst_init_check_with_popt_table), (init_pre):
24907           Check whether GST_DEBUG_NO_COLOR environment variable is
24908           set and disable coloured debug output if that is the case.
24909
24910 2005-08-10  Tim-Philipp Müller  <tim at centricular dot net>
24911
24912         * gst/base/gsttypefindhelper.c: (helper_find_peek),
24913         (gst_type_find_helper):
24914           The memory returned by gst_type_find_peek() needs to
24915           stay valid until the end of a typefind function, and
24916           typefind functions may keep results from different 
24917           offsets around, so we can't just unref the buffer from
24918           the previous _peek(), but have to save all buffers 
24919           returned by _peek() until typefinding is done and only
24920           free them then.
24921
24922 2005-08-09  Tim-Philipp Müller  <tim at centricular dot net>
24923
24924         * docs/gst/gstreamer-sections.txt:
24925         * gst/gstutils.h:
24926           New macros: GST_ROUND_UP_2() through GST_ROUND_UP_64().
24927
24928 2005-08-08  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
24929
24930         * gst/base/gstbasetransform.c: (gst_base_transform_buffer_alloc):
24931           Fix a pretty good memleak.
24932
24933 2005-08-08  Tim-Philipp Müller  <tim at centricular dot net>
24934
24935         * gst/gstiterator.h:
24936           Fix wrong include and 'make distcheck'.
24937
24938 2005-08-08  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
24939
24940         * gst/gstbin.c: (bin_bus_handler):
24941           Use gst_element_post_message() instead.
24942
24943 2005-08-08  Tim-Philipp Müller  <tim at centricular dot net>
24944
24945         * gst/base/gstadapter.h:
24946         * gst/base/gstbasesink.h:
24947         * gst/base/gstbasesrc.h:
24948         * gst/base/gstbasetransform.h:
24949         * gst/base/gstcollectpads.h:
24950         * gst/base/gstpushsrc.h:
24951         * gst/gstiterator.h:
24952           Add padding to our base elements' class and instance structs and
24953           to GstIterator (you will need to rebuild all plugins and apps!)
24954
24955 2005-08-08  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
24956
24957         * gst/gstbin.c: (bin_bus_handler):
24958           Make default message forwarding from child->bus to bin->bus
24959           threadsafe and make it not emit warnings if the parent has no bus.
24960
24961 2005-08-08  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
24962
24963         * gst/gstelement.c: (activate_pads):
24964           On paused->ready, set pad->caps to NULL, as is the documented
24965           behaviour in this state change. Fixes playback of series of
24966           media files when visualization is enabled in Totem.
24967
24968 2005-08-07  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
24969
24970         * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
24971           Allow NULL as filter-caps (which means "any").
24972
24973 2005-08-05  Stefan Kost  <ensonic@users.sf.net>
24974
24975         * docs/libs/gstreamer-libs-sections.txt:
24976         * libs/gst/controller/gst-controller.c:
24977         * libs/gst/controller/gst-controller.h:
24978         * libs/gst/controller/gst-helper.c:
24979           adding more entries to the docs and fix small doc-bugs
24980
24981 2005-08-05  Stefan Kost  <ensonic@users.sf.net>
24982
24983         * docs/gst/gstreamer-docs.sgml:
24984         * docs/gst/gstreamer-sections.txt:
24985         * docs/gst/gstreamer.types:
24986         * docs/gst/tmpl/gstbasesink.sgml:
24987         * docs/gst/tmpl/gstbasesrc.sgml:
24988         * docs/gst/tmpl/gstbasetransform.sgml:
24989         * docs/gst/tmpl/gstfakesrc.sgml:
24990         * gst/base/gstcollectpads.c:
24991         * gst/base/gstcollectpads.h:
24992         * libs/gst/controller/gst-controller.c:
24993         * libs/gst/controller/gst-controller.h:
24994         * libs/gst/controller/gst-helper.c:
24995         * libs/gst/controller/gst-interpolation.c:
24996         * libs/gst/controller/lib.c:
24997           added long/short desc for controller docs
24998           added collectpads base class docs
24999           added correct includes to base-class docs
25000
25001 2005-08-05  Stefan Kost  <ensonic@users.sf.net>
25002
25003         * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
25004         (gst_test_mono_source_set_property),
25005         (gst_test_mono_source_class_init), (GST_START_TEST),
25006         (gst_controller_suite):
25007         * docs/gst/gstreamer-docs.sgml:
25008         * docs/gst/gstreamer-sections.txt:
25009         * docs/gst/gstreamer.types:
25010         * docs/libs/gstreamer-libs-docs.sgml:
25011         * docs/libs/gstreamer-libs-sections.txt:
25012         * gst/base/gstadapter.c:
25013         * libs/gst/controller/gst-controller.c:
25014         (gst_controlled_property_new), (gst_controlled_property_free),
25015         (gst_controller_new_valist),
25016         (gst_controller_remove_properties_valist),
25017         (gst_controller_sink_values), (_gst_controller_finalize):
25018         * libs/gst/controller/gst-controller.h:
25019         * libs/gst/controller/gst-helper.c:
25020         (gst_object_control_properties), (gst_object_uncontrol_properties),
25021         (gst_object_get_controller), (gst_object_set_controller),
25022         (gst_object_sink_values), (gst_object_get_value_arrays),
25023         (gst_object_get_value_array):
25024           more tests (and fixes) for the controller
25025           more docs for the controller
25026           integrated companies docs for the adapter 
25027
25028 2005-08-05  Thomas Vander Stichele  <thomas at apestaart dot org>
25029
25030         * check/elements/gstfakesrc.c: (setup_fakesrc), (cleanup_fakesrc),
25031         (GST_START_TEST), (fakesrc_suite):
25032           add tests for sizetype
25033
25034 2005-08-04  Andy Wingo  <wingo@pobox.com>
25035
25036         * gst/elements/gstcapsfilter.c: Reimplement using basetransform,
25037         fixes buffer_alloc proxying among other things.
25038
25039         * gst/base/gstbasetransform.c:
25040         * gst/base/gstbasetransform.h:
25041         Revert patch to gstbasetransform from 7-28 removing
25042         delay_configure.
25043
25044         * gst/base/gstbasetransform.h (GstBaseTransformClass.get_size):
25045         * gst/base/gstbasetransform.c (gst_base_transform_get_size):
25046         Semantics changed, should return not the size of the output buffer
25047         but the byte size of a buffer with a given caps.
25048
25049         * gst/base/gstbasetransform.c (gst_base_transform_getcaps): Better
25050         debug object.
25051         (gst_base_transform_configure_caps): Don't set out_size here: (in,
25052         out) are not the pad caps until setcaps finishes.
25053         (gst_base_transform_buffer_alloc): Proxy the buffer_alloc for the
25054         not-in-place case as well. Deal with changing from in-place to
25055         not-in-place within calling pad_alloc_buffer. Still a bit
25056         concerned about the overhead here...
25057
25058 2005-08-03  Andy Wingo  <wingo@pobox.com>
25059
25060         * gst/base/gstbasetransform.c (gst_base_transform_setcaps): Not
25061         fixating is an error.
25062
25063 2005-08-04  Edward Hervey  <edward@fluendo.com>
25064
25065         * gst/base/gstadapter.h: 
25066         Added gst_adapter_get_type() to the header
25067
25068 2005-08-03  Stefan Kost  <ensonic@users.sf.net>
25069
25070         * check/Makefile.am:
25071         * check/gst-libs/controller.c:
25072         * libs/gst/controller/gst-controller.c:
25073         (gst_controller_new_valist):
25074           added check test suite for the controller
25075         * gst/base/gstpushsrc.c:
25076           fixed a doc typo
25077
25078 2005-08-03  Stefan Kost  <ensonic@users.sf.net>
25079
25080         * docs/gst/Makefile.am:
25081         * docs/gst/gstreamer-docs.sgml:
25082         * docs/gst/gstreamer-sections.txt:
25083         * docs/gst/gstreamer.types:
25084         * docs/gst/tmpl/gstfakesrc.sgml:
25085         * gst/base/README:
25086         * gst/base/gstbasesink.c:
25087         * gst/base/gstbasesink.h:
25088         * gst/base/gstbasesrc.c:
25089         * gst/base/gstbasesrc.h:
25090         * gst/base/gstbasetransform.c:
25091         * gst/base/gstpushsrc.c:
25092         * gst/base/gstpushsrc.h:
25093           add short/long description docs to base classes
25094           add pushsrc to the docs
25095           remove consolidated doc fragments
25096
25097 2005-08-03  Stefan Kost  <ensonic@users.sf.net>
25098
25099         * configure.ac:
25100         * docs/libs/Makefile.am:
25101         * docs/libs/gstreamer-libs-docs.sgml:
25102         * docs/libs/gstreamer-libs-sections.txt:
25103         * docs/libs/gstreamer-libs.types:
25104         * examples/Makefile.am:
25105         * examples/controller/.cvsignore:
25106         * examples/controller/Makefile.am:
25107         * examples/controller/audio-example.c: (main):
25108         * libs/gst/Makefile.am:
25109         * libs/gst/controller/.cvsignore:
25110         * libs/gst/controller/Makefile.am:
25111         * libs/gst/controller/gst-controller.c:
25112         (on_object_controlled_property_changed), (gst_timed_value_compare),
25113         (gst_timed_value_find),
25114         (gst_controlled_property_set_interpolation_mode),
25115         (gst_controlled_property_new), (gst_controlled_property_free),
25116         (gst_controller_find_controlled_property),
25117         (gst_controller_new_valist), (gst_controller_new),
25118         (gst_controller_remove_properties_valist),
25119         (gst_controller_remove_properties), (gst_controller_set),
25120         (gst_controller_set_from_list), (gst_controller_unset),
25121         (gst_controller_get), (gst_controller_get_all),
25122         (gst_controller_sink_values), (gst_controller_get_value_arrays),
25123         (gst_controller_get_value_array),
25124         (gst_controller_set_interpolation_mode),
25125         (_gst_controller_finalize), (_gst_controller_init),
25126         (_gst_controller_class_init), (gst_controller_get_type):
25127         * libs/gst/controller/gst-controller.h:
25128         * libs/gst/controller/gst-helper.c: (g_object_control_properties),
25129         (g_object_uncontrol_properties), (g_object_get_controller),
25130         (g_object_set_controller), (g_object_sink_values),
25131         (g_object_get_value_arrays), (g_object_get_value_array):
25132         * libs/gst/controller/gst-interpolation.c:
25133         (gst_controlled_property_find_timed_value_node),
25134         (interpolate_none_get), (interpolate_trigger_get),
25135         (interpolate_trigger_get_value_array):
25136         * libs/gst/controller/lib.c: (gst_controller_init):
25137         * pkgconfig/Makefile.am:
25138         * pkgconfig/gstreamer-control-uninstalled.pc.in:
25139         * pkgconfig/gstreamer-control.pc.in:
25140         * testsuite/Makefile.am:
25141         * testsuite/controller/.cvsignore:
25142         * testsuite/controller/Makefile.am:
25143         * testsuite/controller/interpolator.c: (main):
25144           added controller code
25145           removed dparam pc files
25146
25147 2005-08-01  Jan Schmidt  <thaytan@mad.scientist.com>
25148         * gst/base/gstcollectpads.c: (gst_collectpads_finalize),
25149         (gst_collectpads_stop):
25150           Broadcast the condition when shutting down, to make sure we wake all
25151           threads up. Shut down pads on finalize, for safety.
25152
25153 2005-08-01  Jan Schmidt  <thaytan@mad.scientist.com>
25154         * gst/base/gstbasetransform.c: (gst_base_transform_init),
25155         (gst_base_transform_handle_buffer),
25156         (gst_base_transform_change_state):
25157           Handle PAUSED->READY->PAUSED transition after negotiation
25158           occurred already.
25159         * gst/gstmessage.c: (gst_message_init):
25160           Extra piece of debug for new messages.
25161
25162 2005-08-01  Stefan Kost  <ensonic@users.sf.net>
25163
25164         * configure.ac:
25165         * docs/gst/tmpl/gstbasesrc.sgml:
25166         * docs/gst/tmpl/gstelement.sgml:
25167         * docs/gst/tmpl/gstevent.sgml:
25168         * docs/gst/tmpl/gstfakesrc.sgml:
25169         * docs/gst/tmpl/gstformat.sgml:
25170         * docs/gst/tmpl/gstghostpad.sgml:
25171         * docs/gst/tmpl/gstpad.sgml:
25172         * docs/gst/tmpl/gstquery.sgml:
25173         * docs/gst/tmpl/gststructure.sgml:
25174         * docs/gst/tmpl/gsttaglist.sgml:
25175         * docs/gst/tmpl/gstvalue.sgml:
25176         * docs/libs/gstreamer-libs-docs.sgml:
25177         * docs/libs/gstreamer-libs-sections.txt:
25178         * docs/libs/gstreamer-libs.types:
25179         * libs/gst/Makefile.am:
25180         * libs/gst/control/.cvsignore:
25181         * libs/gst/control/Makefile.am:
25182         * libs/gst/control/control.c:
25183         * libs/gst/control/control.h:
25184         * libs/gst/control/dparam.c:
25185         * libs/gst/control/dparam.h:
25186         * libs/gst/control/dparam_smooth.c:
25187         * libs/gst/control/dparam_smooth.h:
25188         * libs/gst/control/dparamcommon.h:
25189         * libs/gst/control/dparammanager.c:
25190         * libs/gst/control/dparammanager.h:
25191         * libs/gst/control/dplinearinterp.c:
25192         * libs/gst/control/dplinearinterp.h:
25193         * libs/gst/control/unitconvert.c:
25194         * libs/gst/control/unitconvert.h:
25195         * testsuite/Makefile.am:
25196         * testsuite/dynparams/.cvsignore:
25197         * testsuite/dynparams/Makefile.am:
25198         * testsuite/dynparams/dparamstest.c:
25199         * tools/Makefile.am:
25200         * tools/gst-inspect.c: (print_element_info), (main):
25201         * tools/gst-xmlinspect.c: (print_element_info), (main):
25202           deactivate and remove dparams (libgstcontrol)
25203
25204 2005-08-01  Tim-Philipp Müller  <tim at centricular dot net>
25205
25206         * gst/elements/gsttypefindelement.c:
25207         (gst_type_find_element_have_type), (gst_type_find_element_init),
25208         (stop_typefinding), (gst_type_find_element_handle_event),
25209         (gst_type_find_element_chain), (gst_type_find_element_getrange):
25210         * gst/elements/gsttypefindelement.h:
25211           Set caps on all outgoing buffers, not just the first one.
25212
25213 2005-08-01  Tim-Philipp Müller  <tim at centricular dot net>
25214
25215         * gst/elements/gsttypefindelement.c:
25216         (gst_type_find_element_have_type),
25217         (gst_type_find_element_check_set_buffer_caps),
25218         (gst_type_find_element_init), (stop_typefinding),
25219         (gst_type_find_element_handle_event),
25220         (gst_type_find_element_chain), (gst_type_find_element_getrange):
25221         * gst/elements/gsttypefindelement.h:
25222           Set caps on first outgoing buffer when we've found the type.
25223
25224 2005-08-01  Tim-Philipp Müller  <tim at centricular dot net>
25225
25226         * docs/gst/gstreamer-docs.sgml:
25227         * docs/gst/gstreamer-sections.txt:
25228         * docs/gst/tmpl/gstscheduler.sgml:
25229         * docs/gst/tmpl/gstschedulerfactory.sgml:
25230           Remove some old cruft from docs.
25231
25232 2005-07-31  Tim-Philipp Müller  <tim at centricular dot net>
25233
25234         * gst/gstpad.h:
25235           Fix inline docs for GstPadLinkReturn.
25236           
25237         * gst/gststructure.c: (gst_structure_has_name):
25238         * gst/gststructure.h:
25239         * docs/gst/gstreamer-sections.txt:
25240           New API: gst_structure_has_name().
25241
25242 2005-07-30  Tim-Philipp Müller  <tim at centricular dot net>
25243
25244         * configure.ac:
25245           Use AC_SYS_LARGEFILE, which will set _FILE_OFFSET_BITS=64
25246           and _LARGEFILE_SOURCE in config.h as required. Do not 
25247           export those flags in our .pc files any longer (#142209).
25248
25249           Remove unused GST_DISABLE_OMEGA_COTHREADS stuff.
25250
25251         * gst/elements/gstfilesink.c: (gst_file_sink_class_init),
25252         (gst_file_sink_do_seek), (gst_file_sink_event),
25253         (gst_file_sink_get_current_offset), (gst_file_sink_render):
25254           Redo seek/tell calls with large file support in mind; add some
25255           debugging messages; add log message that tells us when large
25256           file support is unavailable or not enabled for some reason.
25257
25258         * gst/elements/gstfilesrc.c: (gst_file_src_class_init):
25259           Add log message that tells us when large file support 
25260           is unavailable or not enabled for some reason.
25261
25262 2005-07-29  Wim Taymans  <wim@fluendo.com>
25263
25264         * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
25265         Added test for removing an element with ghostpad from a bin.
25266         Fixed test as current implementation does the right thing.
25267
25268         * gst/gstghostpad.c: (gst_proxy_pad_class_init),
25269         (gst_proxy_pad_do_query_type), (gst_proxy_pad_do_event),
25270         (gst_proxy_pad_do_query), (gst_proxy_pad_do_internal_link),
25271         (gst_proxy_pad_do_bufferalloc), (gst_proxy_pad_do_activate),
25272         (gst_proxy_pad_do_activatepull), (gst_proxy_pad_do_activatepush),
25273         (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange),
25274         (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_getcaps),
25275         (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
25276         (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target),
25277         (gst_proxy_pad_get_target), (gst_proxy_pad_init),
25278         (gst_proxy_pad_dispose), (gst_proxy_pad_finalize),
25279         (gst_ghost_pad_class_init), (gst_ghost_pad_do_activate_push),
25280         (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
25281         (gst_ghost_pad_set_internal), (gst_ghost_pad_dispose),
25282         (gst_ghost_pad_new_notarget), (gst_ghost_pad_new),
25283         (gst_ghost_pad_get_target), (gst_ghost_pad_set_target):
25284         * gst/gstghostpad.h:
25285         Clean up ghostpads, remove properties for internal stuff.
25286         Make threadsafe.
25287         Fix refcounting.
25288         Prepare for switching targets, not all use cases work yet.
25289
25290 2005-07-29  Wim Taymans  <wim@fluendo.com>
25291
25292         * docs/design/part-gstghostpad.txt:
25293         Small update.
25294
25295         * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
25296         (gst_bin_remove_func):
25297         Unlinking pads while holding the bin LOCK is not a good
25298         idea.
25299
25300         * gst/gstpad.c: (gst_pad_class_init),
25301         (gst_pad_link_check_hierarchy), (gst_pad_get_caps_unlocked),
25302         (gst_pad_accept_caps), (gst_pad_set_caps), (gst_pad_send_event):
25303         No prob setting template after creating the pad.
25304
25305 2005-07-29  Jan Schmidt  <thaytan@mad.scientist.com>
25306
25307         * gst/gstbus.c: (gst_bus_set_flushing), (gst_bus_pop),
25308         (gst_bus_peek), (gst_bus_source_dispatch),
25309         (gst_bus_add_watch_full), (poll_handler), (poll_timeout),
25310         (poll_destroy), (poll_destroy_timeout), (gst_bus_poll):
25311           gst_bus_poll may be called from other threads. Handle
25312           this nicely by not making poll_data disappear off the
25313           stack once gst_bus_poll returns.
25314           gst_bus_peek now increments the refcount on the returned
25315           message.
25316
25317 2005-07-29  Wim Taymans  <wim@fluendo.com>
25318
25319         * docs/design/part-gstghostpad.txt:
25320         Overview of current GhostPad datastructures and use
25321         cases for changing the target.
25322
25323 2005-07-28  Wim Taymans  <wim@fluendo.com>
25324
25325         * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
25326         Added checks for hierarchy consistency whan adding linked
25327         elements to bins.
25328
25329         * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
25330         Added check to test element scheduling without bin/pipeline.
25331
25332         * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
25333         First add elements to bin, then link.
25334         
25335         * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
25336         (gst_bin_remove_func):
25337         Unlink pads from elements added/removed from bin to maintain
25338         hierarchy consistency.
25339
25340 2005-07-28  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
25341
25342         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
25343         (gst_base_transform_handle_buffer):
25344         * gst/base/gstbasetransform.h:
25345           Remove broken delay_configure (fixes renegotiation of software
25346           scaling pipelines); remove some leftover printf()s.
25347
25348 2005-07-28  Wim Taymans  <wim@fluendo.com>
25349
25350         * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
25351         Added some more tests for wrong hierarchy
25352
25353         * docs/design/part-overview.txt:
25354         Some updates.
25355
25356         * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_dispose):
25357         Cleanups.
25358
25359         * gst/gstelement.c: (gst_element_remove_pad), (gst_element_seek),
25360         (gst_element_dispose):
25361         Some more cleanups.
25362
25363         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
25364         (gst_pad_link_check_hierarchy), (gst_pad_link_prepare),
25365         (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
25366         (gst_pad_set_caps), (gst_pad_send_event):
25367         Check for correct hierarchy when linking pads. Moving to
25368         strict requirement for ghostpads when linking elements in
25369         different bins.
25370
25371         * gst/gstpad.h:
25372         Clean ups. Added WRONG_HIERARCHY return value.
25373
25374 2005-07-28  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
25375
25376         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
25377           Better debug if no transform is possible.
25378
25379 2005-07-27  Wim Taymans  <wim@fluendo.com>
25380
25381         * docs/random/wtay/network-transp:
25382         Some old doc I had.
25383
25384 2005-07-27  Wim Taymans  <wim@fluendo.com>
25385
25386         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
25387         (gst_dp_event_from_packet):
25388         Fix serialization of seek events.
25389
25390 2005-07-27  Wim Taymans  <wim@fluendo.com>
25391
25392         * check/gst-libs/gdp.c: (GST_START_TEST):
25393         * gst/elements/gstfakesink.c: (gst_fake_sink_event):
25394         Fix compilation and fix event serialization.
25395
25396 2005-07-27  Wim Taymans  <wim@fluendo.com>
25397
25398         * CHANGES-0.9:
25399         * docs/design/part-TODO.txt:
25400         * docs/design/part-events.txt:
25401         Some docs updates
25402
25403         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
25404         (gst_base_sink_event), (gst_base_sink_do_sync),
25405         (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
25406         * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
25407         (gst_base_src_do_seek), (gst_base_src_event_handler),
25408         (gst_base_src_loop):
25409         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
25410         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
25411         (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
25412         (gst_base_transform_event), (gst_base_transform_handle_buffer),
25413         (gst_base_transform_set_passthrough),
25414         (gst_base_transform_is_passthrough):
25415         * gst/elements/gstfakesink.c: (gst_fake_sink_event):
25416         * gst/elements/gstfilesink.c: (gst_file_sink_event):
25417         Event updates.
25418
25419         * gst/gstbuffer.h:
25420         Use faster casts.
25421
25422         * gst/gstelement.c: (gst_element_seek):
25423         * gst/gstelement.h:
25424         Update gst_element_seek.
25425
25426         * gst/gstevent.c: (gst_event_finalize), (_gst_event_copy),
25427         (gst_event_new), (gst_event_new_custom), (gst_event_get_structure),
25428         (gst_event_new_flush_start), (gst_event_new_flush_stop),
25429         (gst_event_new_eos), (gst_event_new_newsegment),
25430         (gst_event_parse_newsegment), (gst_event_new_tag),
25431         (gst_event_parse_tag), (gst_event_new_filler), (gst_event_new_qos),
25432         (gst_event_parse_qos), (gst_event_new_seek),
25433         (gst_event_parse_seek), (gst_event_new_navigation):
25434         * gst/gstevent.h:
25435         Make GstEvent use GstStructure. Add parsing code, make sure the
25436         API is sufficiently generic.
25437         Mark possible directions of events and serialization.
25438
25439         * gst/gstmessage.c: (gst_message_init), (gst_message_finalize),
25440         (_gst_message_copy), (gst_message_new_segment_start),
25441         (gst_message_new_segment_done), (gst_message_new_custom),
25442         (gst_message_parse_segment_start),
25443         (gst_message_parse_segment_done):
25444         Small cleanups.
25445
25446         * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
25447         (gst_pad_set_caps), (gst_pad_send_event):
25448         Update for new events. 
25449         Catch events sent in wrong directions.
25450
25451         * gst/gstqueue.c: (gst_queue_link_src),
25452         (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
25453         (gst_queue_handle_src_query):
25454         Event updates.
25455
25456         * gst/gsttag.c:
25457         * gst/gsttag.h:
25458         Remove event code from this file.
25459
25460         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
25461         (gst_dp_event_from_packet):
25462         Event updates.
25463
25464 2005-07-27  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
25465
25466         * gst/base/gstbasetransform.c: (gst_base_transform_getcaps),
25467         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
25468         (gst_base_transform_get_size), (gst_base_transform_handle_buffer):
25469           Make debugging actually useful.
25470
25471 2005-07-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
25472
25473         * gst/gstpad.c: (fixate_value), (gst_pad_default_fixate),
25474         (gst_pad_fixate_caps):
25475           Implement default fixation once again, so that gst_pad_fixate()
25476           actually does anything at all. This probably needs to be some
25477           sort of a last resort, and use profile-based fixation first, but
25478           since that doesn't exist yet, this is the best we have. Fixes
25479           visualization in Totem.
25480
25481 2005-07-22  Wim Taymans  <wim@fluendo.com>
25482
25483         * docs/design/part-events.txt:
25484         Small update.
25485
25486         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
25487         (gst_base_sink_do_sync), (gst_base_sink_activate_push),
25488         (gst_base_sink_activate_pull):
25489         Some more comments.
25490
25491         * gst/elements/gstfakesrc.c: (gst_fake_src_class_init),
25492         (gst_fake_src_create):
25493         Fix handoff marshall.
25494
25495         * gst/elements/gstidentity.c: (gst_identity_class_init),
25496         (gst_identity_transform_ip):
25497         We're a real inplace element.
25498
25499         * gst/gstbus.c: (gst_bus_post):
25500         Added some comments.
25501
25502         * tests/lat.c: (fakesrc), (fakesink), (simple), (queue), (main):
25503         * tests/muxing/case1.c: (main):
25504         * tests/sched/dynamic-pipeline.c: (main):
25505         * tests/sched/interrupt1.c: (main):
25506         * tests/sched/interrupt2.c: (main):
25507         * tests/sched/interrupt3.c: (main):
25508         * tests/sched/runxml.c: (main):
25509         * tests/sched/sched-stress.c: (main):
25510         * tests/seeking/seeking1.c: (event_received), (main):
25511         * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
25512         (main):
25513         * tests/threadstate/threadstate3.c: (main):
25514         * tests/threadstate/threadstate4.c: (main):
25515         * tests/threadstate/threadstate5.c: (main):
25516         Fix the tests.
25517
25518 2005-07-21  Wim Taymans  <wim@fluendo.com>
25519
25520         * docs/design/part-seeking.txt:
25521         Some small additions.
25522
25523         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
25524         (gst_base_sink_get_times), (gst_base_sink_do_sync),
25525         (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
25526         * gst/base/gstbasesink.h:
25527         discont values are gint64, handle the math correctly.
25528
25529         * gst/base/gstbasesrc.c: (gst_base_src_loop):
25530         Make the basesrc report error if the source pad is not linked.
25531
25532         * gst/gstqueue.c: (gst_queue_link_src), (gst_queue_chain),
25533         (gst_queue_loop), (gst_queue_handle_src_query),
25534         (gst_queue_src_activate_push):
25535         Make queue collect data even if the srcpad is not linked.
25536         Start pushing out data as soon as it is linked.
25537
25538         * gst/gstutils.c: (gst_element_unlink), (gst_flow_get_name):
25539         * gst/gstutils.h:
25540         Added gst_flow_get_name() to ease error reporting.
25541
25542 2005-07-20  Wim Taymans  <wim@fluendo.com>
25543
25544         * gst/gstmessage.c: (gst_message_new_segment_start),
25545         (gst_message_new_segment_done), (gst_message_parse_segment_start),
25546         (gst_message_parse_segment_done):
25547         * gst/gstmessage.h:
25548         Added a bunch of messages for advanced seeking.
25549
25550         * gst/parse/grammar.y:
25551         * libs/gst/control/dparammanager.c: (gst_dpman_set_parent),
25552         (gst_dpman_state_changed):
25553         Fix some new-pad -> pad-added signals
25554
25555 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
25556
25557         * docs/manual/appendix-porting.xml:
25558         * docs/pwg/appendix-porting.xml:
25559           Document new-pad/state-change signal renames and the FixedList
25560           type rename.
25561
25562 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
25563
25564         * docs/manual/advanced-autoplugging.xml:
25565         * docs/manual/basics-helloworld.xml:
25566         * docs/manual/basics-pads.xml:
25567         * docs/random/ds/0.9-suggested-changes:
25568         * gst/gstelement.c: (gst_element_class_init), (gst_element_seek):
25569         * gst/gstelement.h:
25570         * gst/gstevent.h:
25571         * gst/gstformat.h:
25572         * gst/gstquery.h:
25573         * gst/gststructure.c: (gst_structure_value_get_generic_type),
25574         (gst_structure_parse_array), (gst_structure_parse_value):
25575         * gst/gstvalue.c: (gst_type_is_fixed),
25576         (gst_value_list_prepend_value), (gst_value_list_append_value),
25577         (gst_value_list_get_size), (gst_value_list_get_value),
25578         (gst_value_transform_array_string), (gst_value_serialize_array),
25579         (gst_value_deserialize_array), (gst_value_intersect_array),
25580         (gst_value_is_fixed), (_gst_value_initialize):
25581         * gst/gstvalue.h:
25582           GstElement::new-pad -> pad-added, GstElement::state-change ->
25583           state-changed, GstValueFixedList -> GstValueArray, add format and
25584           flags as their own arguments in gst_element_seek() (should improve
25585           "bindeability"), remove function generators since they don't work
25586           under a whole bunch of compilers (they were deprecated already
25587           anyway).
25588
25589 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
25590
25591         * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
25592         (_gst_debug_register_funcptr):
25593         * gst/gstinfo.h:
25594           Fix illegal cast on some platforms (#309253).
25595
25596 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
25597
25598         * gst/gstmessage.c: (gst_message_new_custom):
25599         * gst/gstmessage.h:
25600           Add _new_custom, make _new_application a macro to _new_custom.
25601
25602 2005-07-20  Wim Taymans  <wim@fluendo.com>
25603
25604         * gst/base/gstbasesrc.c: (gst_base_src_init),
25605         (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start):
25606         * gst/base/gstbasesrc.h:
25607         Add a gboolean to decide when to push out a discont.
25608
25609         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
25610         (gst_queue_loop), (gst_queue_handle_src_query),
25611         (gst_queue_sink_activate_push), (gst_queue_src_activate_push),
25612         (gst_queue_set_property), (gst_queue_get_property):
25613         Some cleanups.
25614
25615         * tests/threadstate/threadstate1.c: (main):
25616         Make a thread test compile and run... very silly..
25617
25618
25619 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
25620
25621         * docs/manual/appendix-porting.xml:
25622           Mention removal of libgstgconf-0.9.la and existence of gconf
25623           elements.
25624
25625 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
25626
25627         * docs/pwg/advanced-clock.xml:
25628         * docs/pwg/appendix-porting.xml:
25629         * docs/pwg/intro-preface.xml:
25630         * docs/pwg/other-base.xml:
25631         * docs/pwg/other-manager.xml:
25632         * docs/pwg/other-nton.xml:
25633         * docs/pwg/other-ntoone.xml:
25634         * docs/pwg/other-oneton.xml:
25635         * docs/pwg/pwg.xml:
25636           Document base classes, update sections of n-to-1 and 1-to-n (muxer,
25637           demuxer), remove n-to-n (was never written), fix some code examples
25638           and links and update the porting section to include all this.
25639
25640 2005-07-19  Wim Taymans  <wim@fluendo.com>
25641
25642         * gst/gstqueue.c: (gst_queue_init), (gst_queue_handle_sink_event),
25643         (gst_queue_chain), (gst_queue_loop), (gst_queue_handle_src_event),
25644         (gst_queue_handle_src_query), (gst_queue_sink_activate_push),
25645         (gst_queue_src_activate_push), (gst_queue_change_state),
25646         (gst_queue_get_property):
25647         * gst/gstqueue.h:
25648         Propagate GstFlowReturn more intelligently upstream and output
25649         an ERROR/EOS when streaming stopped due to fatal error.
25650
25651 2005-07-19  Wim Taymans  <wim@fluendo.com>
25652
25653         * tools/gst-launch.c: (check_intr), (event_loop), (main):
25654         Don't block forever for the state change to complete, the
25655         pipeline already did with a sensible timeout.
25656
25657 2005-07-19  Wim Taymans  <wim@fluendo.com>
25658
25659         * gst/base/gstbasesrc.c: (gst_base_src_get_range):
25660         Make sure we never call the create function is we
25661         got deactivated.
25662
25663 2005-07-19  Andy Wingo  <wingo@pobox.com>
25664
25665         * gst/parse/parse.l: Attempt to solve bug #172815.
25666
25667 2005-07-19  Wim Taymans  <wim@fluendo.com>
25668
25669         * docs/design/part-clocks.txt:
25670         * docs/design/part-events.txt:
25671         * gst/base/gstbasesrc.c: (gst_base_src_do_seek):
25672         Small docs updates.
25673         Only update the seeking values when we are not
25674         busy streaming.
25675
25676 2005-07-19  Jan Schmidt  <thaytan@mad.scientist.com>
25677
25678         * gst/base/gstbasesrc.c: (gst_base_src_loop):
25679           Oops, ignore the result of gst_pad_push_event here.
25680
25681 2005-07-19  Jan Schmidt  <thaytan@mad.scientist.com>
25682
25683         * gst/base/gstbasesrc.c: (gst_base_src_loop),
25684         (gst_base_src_activate_push):
25685           Send discont event from the loop function, as pads
25686           aren't activated yet in the activate_push handler.
25687
25688         * gst/gstbin.c: (bin_bus_handler):
25689           Don't leak element name.
25690
25691 2005-07-18  Andy Wingo  <wingo@pobox.com>
25692
25693         * configure.ac: Use AS_LIBTOOL_TAGS.
25694
25695 2005-07-18  Wim Taymans  <wim@fluendo.com>
25696
25697         * docs/gst/gstreamer.types:
25698         Remove deleted types.
25699
25700 2005-07-18  Wim Taymans  <wim@fluendo.com>
25701
25702         * check/elements/gstfakesrc.c: (GST_START_TEST):
25703         * configure.ac:
25704         * gst/Makefile.am:
25705         * gst/gst.c: (gst_init_get_popt_table), (init_pre), (init_post),
25706         (init_popt_callback):
25707         * gst/gst.h:
25708         * gst/gst_private.h:
25709         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_add_func),
25710         (gst_bin_remove_func), (gst_bin_get_state), (gst_bin_change_state):
25711         * gst/gstbin.h:
25712         * gst/gstbus.h:
25713         * gst/gstconfig.h.in:
25714         * gst/gstelement.c: (gst_element_class_init),
25715         (gst_element_set_base_time), (gst_element_get_base_time),
25716         (iterator_fold_with_resync), (gst_element_change_state),
25717         (gst_element_dispose), (gst_element_get_bus):
25718         * gst/gstelement.h:
25719         * gst/gstelementfactory.h:
25720         * gst/gsterror.c: (_gst_core_errors_init):
25721         * gst/gsterror.h:
25722         * gst/gstevent.h:
25723         * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
25724         * gst/gstindex.c:
25725         * gst/gstinfo.c: (_gst_debug_init):
25726         * gst/gstmessage.c: (_gst_message_copy):
25727         * gst/gstmessage.h:
25728         * gst/gstminiobject.h:
25729         * gst/gstobject.c:
25730         * gst/gstobject.h:
25731         * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
25732         (gst_pad_set_caps), (gst_pad_start_task), (gst_pad_stop_task):
25733         * gst/gstpad.h:
25734         * gst/gstparse.h:
25735         * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
25736         (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
25737         (gst_pipeline_get_last_stream_time):
25738         * gst/gstpipeline.h:
25739         * gst/gstpluginfeature.h:
25740         * gst/gstquery.h:
25741         * gst/gstscheduler.c:
25742         * gst/gstscheduler.h:
25743         * gst/gststructure.h:
25744         * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
25745         (gst_task_finalize), (gst_task_func), (gst_task_create),
25746         (gst_task_set_lock), (gst_task_get_state), (gst_task_start),
25747         (gst_task_stop), (gst_task_pause):
25748         * gst/gsttask.h:
25749         * gst/gsttypefind.h:
25750         * gst/gsttypes.h:
25751         * gst/registries/gstlibxmlregistry.c: (load_feature),
25752         (gst_xml_registry_load), (gst_xml_registry_save_feature):
25753         * gst/registries/gstxmlregistry.c:
25754         (gst_xml_registry_start_element), (gst_xml_registry_save_feature):
25755         * gst/schedulers/threadscheduler.c:
25756         * libs/gst/control/dparammanager.h:
25757         * tools/gst-inspect.c: (print_element_list),
25758         (print_plugin_features), (print_element_features):
25759         * tools/gst-xmlinspect.c: (print_element_list),
25760         (print_plugin_info), (main):
25761         Removed plugable schedulers.
25762         Removed Scheduler/Manager from elements.
25763         Removed gsttypes.h, rearranged includes.
25764         Removed dependency pad<->element, element<>pipeline, and
25765         various others,  fix includes.
25766         implement gst_pad_get_parent() with gst_object_get_parent()
25767         Make GstTask sefcontained.
25768         Fix _get_state() on GstBin, it did not return ASYNC with a 0
25769         timeout.
25770         Fix endless loop in iterator_fold_with_resync.
25771
25772
25773 2005-07-18  Wim Taymans  <wim@fluendo.com>
25774
25775         * gst/Makefile.am:
25776         * gst/gstarch.h:
25777         Remove old file.
25778
25779 2005-07-18  Wim Taymans  <wim@fluendo.com>
25780
25781         * gst/Makefile.am:
25782         No more cothreads.h
25783
25784 2005-07-18  Wim Taymans  <wim@fluendo.com>
25785
25786         * gst/cothreads.c:
25787         * gst/cothreads.h:
25788         Let's remove these.
25789
25790 2005-07-18  Wim Taymans  <wim@fluendo.com>
25791
25792         * docs/design/part-dynamic.txt:
25793         * docs/design/part-events.txt:
25794         * docs/design/part-seeking.txt:
25795         Some more docs in the works.
25796
25797         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
25798         (gst_base_transform_getcaps), (gst_base_transform_configure_caps),
25799         (gst_base_transform_setcaps), (gst_base_transform_get_size),
25800         (gst_base_transform_buffer_alloc), (gst_base_transform_event),
25801         (gst_base_transform_handle_buffer),
25802         (gst_base_transform_sink_activate_push),
25803         (gst_base_transform_src_activate_pull),
25804         (gst_base_transform_set_passthrough),
25805         (gst_base_transform_is_passthrough):
25806         Refcounting fixes.
25807
25808         * gst/gstbus.c: (gst_bus_source_dispatch), (gst_bus_poll):
25809         Cleanups.
25810
25811         * gst/gstevent.c: (gst_event_finalize):
25812         Set SRC to NULL.
25813
25814         * gst/gstutils.c: (gst_element_unlink),
25815         (gst_pad_get_parent_element), (gst_pad_proxy_getcaps),
25816         (gst_pad_proxy_setcaps):
25817         * gst/gstutils.h:
25818         Add _get_parent_element() to get a pads parent as an element.
25819
25820 2005-07-18  Wim Taymans  <wim@fluendo.com>
25821
25822         * check/gst/gstbin.c: (GST_START_TEST):
25823         Remove bogus test.
25824
25825 2005-07-18  Wim Taymans  <wim@fluendo.com>
25826
25827         * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
25828         (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
25829         (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
25830         (gst_base_sink_event), (gst_base_sink_do_sync),
25831         (gst_base_sink_chain), (gst_base_sink_loop),
25832         (gst_base_sink_deactivate), (gst_base_sink_activate_push),
25833         (gst_base_sink_activate_pull), (gst_base_sink_change_state):
25834         Refcounting fixes.
25835         Fix logic for returning ASYNC when not prerolled.
25836
25837 2005-07-18  Wim Taymans  <wim@fluendo.com>
25838
25839         * gst/gstqueue.c: (gst_queue_handle_sink_event):
25840         Fix nasty refcount bug.
25841
25842 2005-07-16 Philippe Khalaf <burger@speedy.org>
25843
25844         * gst/elements/gstfdsrc.c:
25845         * gst/elements/gstfdsrc.h:
25846         * gst/elements/gstelements.c:
25847         * gst/elements/Makefile.am:
25848         Ported fdsrc to 0.9.
25849
25850 2005-07-16  Wim Taymans  <wim@fluendo.com>
25851
25852         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
25853         (gst_base_sink_do_sync):
25854         Fix compile error.
25855
25856 2005-07-16  Wim Taymans  <wim@fluendo.com>
25857
25858         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
25859         (gst_base_sink_event), (gst_base_sink_get_times),
25860         (gst_base_sink_do_sync), (gst_base_sink_change_state):
25861         * gst/base/gstbasesink.h:
25862         Store and use discont values when syncing buffers as described
25863         in design docs.
25864         
25865         * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
25866         (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start),
25867         (gst_base_src_activate_push):
25868         Push discont event when starting.
25869
25870         * gst/elements/gstidentity.c: (gst_identity_transform):
25871         Small cleanups.
25872
25873         * gst/gstbin.c: (gst_bin_change_state):
25874         Small cleanups in base_time  distribution.
25875
25876         * gst/gstelement.c: (gst_element_set_base_time),
25877         (gst_element_get_base_time), (gst_element_change_state):
25878         * gst/gstelement.h:
25879         Added methods for the base_time of the element.
25880         Some MT fixes.
25881
25882         * gst/gstpipeline.c: (gst_pipeline_send_event),
25883         (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
25884         (gst_pipeline_get_last_stream_time):
25885         * gst/gstpipeline.h:
25886         MT fixes.
25887         Handle seeking as described in design doc, remove stream_time
25888         hack.
25889         Cleanups clock and stream_time selection code. Added accessors
25890         for the stream_time.
25891         
25892
25893 2005-07-16  Andy Wingo  <wingo@pobox.com>
25894
25895         * gst/gsterror.c (_gst_core_errors_init): Use the magic word
25896         (#305291).
25897
25898 2005-07-16  Wim Taymans  <wim@fluendo.com>
25899
25900         * check/gst/gstbin.c: (GST_START_TEST):
25901         Make elements silent as the deep_notify refs the
25902         parent, which might make the test fail.
25903
25904         * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
25905         Don't hold the lock for too long.
25906
25907 2005-07-16  Tim-Philipp Müller  <tim at centricular dot net>
25908
25909         * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
25910           Don't unref the caps we passed to gst_caps_make_writable() after
25911           passing them. gst_caps_make_writable() will do that for us.
25912
25913 2005-07-15  Andy Wingo  <wingo@pobox.com>
25914
25915         * gst/gstcaps.h (gst_caps_is_simple): Removed deprecated macro
25916         (#157311).
25917
25918         * gst/elements/gstidentity.c (marshal_VOID__MINIOBJECT): Write our
25919         own marshalling function for the handoff signal. Properly type the
25920         buffer as a buffer. Fixes some warnings. Should do a more general
25921         solution.
25922         (gst_identity_class_init): Plug into the right marshaller.
25923
25924 2005-07-15  Wim Taymans  <wim@fluendo.com>
25925
25926         * docs/design/part-TODO.txt:
25927         * docs/design/part-clocks.txt:
25928         * docs/design/part-element-sink.txt:
25929         * docs/design/part-events.txt:
25930         * docs/design/part-gstpipeline.txt:
25931         Updated docs, mostly DISCONT related.
25932
25933 2005-07-15  Tim-Philipp Müller  <tim at centricular dot net>
25934
25935         * docs/pwg/building-pads.xml:
25936           s/GST_PAD_LINK_REFUSED/FALSE/ in gst_my_filter_setcaps()
25937
25938 2005-07-15  Andy Wingo  <wingo@pobox.com>
25939
25940         * tools/gst-typefind.c: Update, add copyright block.
25941
25942         * gst/base/gstbasesrc.c (gst_base_src_default_negotiate):
25943         Normalize and truncate caps before fixation.
25944
25945         * gst/gstcaps.h:
25946         * gst/gstcaps.c (gst_caps_truncate): New function, destructively
25947         discards all but the first structure from its argument.
25948
25949 2005-07-15  Wim Taymans  <wim@fluendo.com>
25950
25951         * gst/base/gstbasetransform.c: (gst_base_transform_init),
25952         (gst_base_transform_transform_caps), (gst_base_transform_getcaps),
25953         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
25954         (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
25955         (gst_base_transform_handle_buffer), (gst_base_transform_getrange),
25956         (gst_base_transform_chain), (gst_base_transform_change_state),
25957         (gst_base_transform_set_passthrough),
25958         (gst_base_transform_is_passthrough):
25959         * gst/base/gstbasetransform.h:
25960         Make passthrough work using the bufferpools.
25961         Changed API a bit, subclasses have to write into a buffer
25962         provided by the base class.
25963         More debug info in nego functions.
25964         
25965         * gst/elements/gstidentity.c: (gst_identity_init),
25966         (gst_identity_transform):
25967         Port to new base class.
25968
25969 2005-07-15  Wim Taymans  <wim@fluendo.com>
25970
25971         * gst/gstmessage.c: (gst_message_new_state_changed):
25972         * tools/gst-launch.c: (event_loop), (main):
25973         Totally dump messages in -launch with the -m option.
25974         Fix message name for State messages,
25975
25976 2005-07-14  Wim Taymans  <wim@fluendo.com>
25977
25978         * gst/base/gstbasesrc.c: (gst_base_src_loop):
25979         Post error messages on errors.
25980
25981 2005-07-14  Wim Taymans  <wim@fluendo.com>
25982
25983         * gst/gstcaps.c: (gst_caps_do_simplify):
25984         Remove debug info.
25985
25986         * gst/gsterror.h:
25987         Define error for stream stopped.
25988
25989         * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
25990         (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange):
25991         Do proper return values.
25992
25993         * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
25994         (gst_pad_set_caps), (gst_pad_chain), (gst_pad_push),
25995         (gst_pad_get_range):
25996         Better return values.
25997
25998         * gst/gstpad.h:
25999         Reorganise return values, add macro to check for fatal errors.
26000
26001         * gst/gstqueue.c: (gst_queue_chain):
26002         Return proper GstFlowReturn values,
26003
26004 2005-07-14  Thomas Vander Stichele  <thomas at apestaart dot org>
26005
26006         * docs/gst/gstreamer-sections.txt:
26007         * docs/gst/gstreamer.types:
26008         * docs/gst/tmpl/gst.sgml:
26009         * docs/gst/tmpl/gstbasesink.sgml:
26010         * docs/gst/tmpl/gstbasesrc.sgml:
26011         * docs/gst/tmpl/gstbasetransform.sgml:
26012         * docs/gst/tmpl/gstbin.sgml:
26013         * docs/gst/tmpl/gstbuffer.sgml:
26014         * docs/gst/tmpl/gstcaps.sgml:
26015         * docs/gst/tmpl/gstclock.sgml:
26016         * docs/gst/tmpl/gstcompat.sgml:
26017         * docs/gst/tmpl/gstconfig.sgml:
26018         * docs/gst/tmpl/gstelement.sgml:
26019         * docs/gst/tmpl/gstelementdetails.sgml:
26020         * docs/gst/tmpl/gstelementfactory.sgml:
26021         * docs/gst/tmpl/gstenumtypes.sgml:
26022         * docs/gst/tmpl/gsterror.sgml:
26023         * docs/gst/tmpl/gstevent.sgml:
26024         * docs/gst/tmpl/gstfakesink.sgml:
26025         * docs/gst/tmpl/gstfakesrc.sgml:
26026         * docs/gst/tmpl/gstfilesink.sgml:
26027         * docs/gst/tmpl/gstfilesrc.sgml:
26028         * docs/gst/tmpl/gstfilter.sgml:
26029         * docs/gst/tmpl/gstformat.sgml:
26030         * docs/gst/tmpl/gstghostpad.sgml:
26031         * docs/gst/tmpl/gstimplementsinterface.sgml:
26032         * docs/gst/tmpl/gstindex.sgml:
26033         * docs/gst/tmpl/gstindexfactory.sgml:
26034         * docs/gst/tmpl/gstinfo.sgml:
26035         * docs/gst/tmpl/gstiterator.sgml:
26036         * docs/gst/tmpl/gstmacros.sgml:
26037         * docs/gst/tmpl/gstmemchunk.sgml:
26038         * docs/gst/tmpl/gstminiobject.sgml:
26039         * docs/gst/tmpl/gstobject.sgml:
26040         * docs/gst/tmpl/gstpad.sgml:
26041         * docs/gst/tmpl/gstpadtemplate.sgml:
26042         * docs/gst/tmpl/gstparse.sgml:
26043         * docs/gst/tmpl/gstpipeline.sgml:
26044         * docs/gst/tmpl/gstplugin.sgml:
26045         * docs/gst/tmpl/gstpluginfeature.sgml:
26046         * docs/gst/tmpl/gstquery.sgml:
26047         * docs/gst/tmpl/gstqueue.sgml:
26048         * docs/gst/tmpl/gstregistry.sgml:
26049         * docs/gst/tmpl/gstregistrypool.sgml:
26050         * docs/gst/tmpl/gstscheduler.sgml:
26051         * docs/gst/tmpl/gstschedulerfactory.sgml:
26052         * docs/gst/tmpl/gststructure.sgml:
26053         * docs/gst/tmpl/gstsystemclock.sgml:
26054         * docs/gst/tmpl/gsttaglist.sgml:
26055         * docs/gst/tmpl/gsttagsetter.sgml:
26056         * docs/gst/tmpl/gsttrace.sgml:
26057         * docs/gst/tmpl/gsttrashstack.sgml:
26058         * docs/gst/tmpl/gsttypefind.sgml:
26059         * docs/gst/tmpl/gsttypefindfactory.sgml:
26060         * docs/gst/tmpl/gsttypes.sgml:
26061         * docs/gst/tmpl/gsturihandler.sgml:
26062         * docs/gst/tmpl/gsturitype.sgml:
26063         * docs/gst/tmpl/gstutils.sgml:
26064         * docs/gst/tmpl/gstvalue.sgml:
26065         * docs/gst/tmpl/gstversion.sgml:
26066         * docs/gst/tmpl/gstxml.sgml:
26067         * docs/libs/tmpl/gstcontrol.sgml:
26068         * docs/libs/tmpl/gstdataprotocol.sgml:
26069         * docs/libs/tmpl/gstdparam.sgml:
26070         * docs/libs/tmpl/gstdplinint.sgml:
26071         * docs/libs/tmpl/gstdpman.sgml:
26072         * docs/libs/tmpl/gstdpsmooth.sgml:
26073         * docs/libs/tmpl/gstgetbits.sgml:
26074         * docs/libs/tmpl/gstunitconvert.sgml:
26075         * gst/base/gstpushsrc.c: (gst_push_src_get_type),
26076         (gst_push_src_base_init), (gst_push_src_class_init),
26077         (gst_push_src_init), (gst_push_src_create):
26078         * gst/base/gstpushsrc.h:
26079         * gst/elements/gstelements.c:
26080         * gst/elements/gstfakesink.c: (gst_fake_sink_state_error_get_type),
26081         (gst_fake_sink_base_init), (gst_fake_sink_class_init),
26082         (gst_fake_sink_init), (gst_fake_sink_set_property),
26083         (gst_fake_sink_get_property), (gst_fake_sink_get_times),
26084         (gst_fake_sink_event), (gst_fake_sink_preroll),
26085         (gst_fake_sink_render), (gst_fake_sink_change_state):
26086         * gst/elements/gstfakesink.h:
26087         * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
26088         (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type),
26089         (gst_fake_src_base_init), (gst_fake_src_class_init),
26090         (gst_fake_src_init), (gst_fake_src_event_handler),
26091         (gst_fake_src_alloc_parent), (gst_fake_src_set_property),
26092         (gst_fake_src_get_property), (gst_fake_src_prepare_buffer),
26093         (gst_fake_src_alloc_buffer), (gst_fake_src_get_size),
26094         (gst_fake_src_create_buffer), (gst_fake_src_create),
26095         (gst_fake_src_start), (gst_fake_src_stop):
26096         * gst/elements/gstfakesrc.h:
26097         * gst/elements/gstfilesink.c: (_do_init),
26098         (gst_file_sink_base_init), (gst_file_sink_class_init),
26099         (gst_file_sink_init), (gst_file_sink_dispose),
26100         (gst_file_sink_set_location), (gst_file_sink_set_property),
26101         (gst_file_sink_get_property), (gst_file_sink_open_file),
26102         (gst_file_sink_close_file), (gst_file_sink_query),
26103         (gst_file_sink_event), (gst_file_sink_render),
26104         (gst_file_sink_change_state), (gst_file_sink_uri_get_type),
26105         (gst_file_sink_uri_get_protocols), (gst_file_sink_uri_get_uri),
26106         (gst_file_sink_uri_set_uri), (gst_file_sink_uri_handler_init):
26107         * gst/elements/gstfilesink.h:
26108         * gst/elements/gstfilesrc.c: (_do_init), (gst_file_src_base_init),
26109         (gst_file_src_class_init), (gst_file_src_init),
26110         (gst_file_src_finalize), (gst_file_src_set_location),
26111         (gst_file_src_set_property), (gst_file_src_get_property),
26112         (gst_file_src_map_region), (gst_file_src_map_small_region),
26113         (gst_file_src_create_mmap), (gst_file_src_create_read),
26114         (gst_file_src_create), (gst_file_src_is_seekable),
26115         (gst_file_src_get_size), (gst_file_src_start), (gst_file_src_stop),
26116         (gst_file_src_uri_get_type), (gst_file_src_uri_get_protocols),
26117         (gst_file_src_uri_get_uri), (gst_file_src_uri_set_uri),
26118         (gst_file_src_uri_handler_init):
26119         * gst/elements/gstfilesrc.h:
26120           more autistic cleanliness in functions/names/defines
26121
26122 2005-07-13  Andy Wingo  <wingo@pobox.com>
26123
26124         * gst/base/gstbasesrc.c (gst_base_src_start): Post an error if the
26125         source couldn't negotiate.
26126
26127         * gst/parse/grammar.y: Revert 1.54->1.55, so we now do filtered
26128         connections again.
26129
26130         * gst/gstutils.h:
26131         * gst/gstutils.c (gst_element_link_pads_filtered): New old
26132         function. I am channeling Hades. Put your boots on suckers!!!
26133
26134 2005-07-13  Thomas Vander Stichele  <thomas at apestaart dot org>
26135
26136         * testsuite/caps/Makefile.am:
26137         * testsuite/caps/value_compare.c:
26138         * testsuite/caps/value_intersect.c:
26139         * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
26140           move two testsuite apps over to the check dir
26141
26142 2005-07-12  Wim Taymans  <wim@fluendo.com>
26143
26144         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
26145         Added more debug info in the negotiate process.
26146
26147         * gst/gstmessage.h:
26148         Prepare for segment playback.
26149
26150         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps):
26151         Better debugging.
26152
26153         * gst/gstutils.c:
26154         Some more docs.
26155
26156         * tools/gst-launch.c: (main):
26157         NULL pipeline on errors.
26158
26159 2005-07-12  Andy Wingo  <wingo@pobox.com>
26160
26161         * gst/gstbuffer.c (_gst_buffer_copy): Copy the buffer whether or
26162         not it comes from a malloc region. Make sure our copy gets freed.
26163
26164 2005-07-12  Thomas Vander Stichele  <thomas at apestaart dot org>
26165
26166         * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
26167         * check/gst/gstmessage.c: (GST_START_TEST):
26168         * check/gst/gststructure.c: (GST_START_TEST),
26169         (gst_structure_suite), (main):
26170           more testing
26171         * gst/gstelement.c: (gst_element_message_full):
26172           clean up GError and debug string now that they get copied
26173         * gst/gstmessage.c: (gst_message_new_error),
26174         (gst_message_new_warning), (gst_message_parse_error),
26175         (gst_message_parse_warning):
26176           use GST_TYPE_G_ERROR for structure_new, and take copies of
26177           arguments, so that we don't mess up refcounting
26178
26179 2005-07-12  Thomas Vander Stichele  <thomas at apestaart dot org>
26180
26181         * check/Makefile.am:
26182           add per-test valgrind targets
26183         * check/gst-libs/gdp.c: (GST_START_TEST),
26184         (gst_data_protocol_suite), (main):
26185           clean up
26186
26187 2005-07-12  Thomas Vander Stichele  <thomas at apestaart dot org>
26188
26189         * check/Makefile.am:
26190           instate more valgrindable tests
26191         * check/elements/gstfakesrc.c: (chain_func), (event_func),
26192         (GST_START_TEST), (fakesrc_suite):
26193         * check/gst/gstpad.c: (GST_START_TEST):
26194         * check/gst/gststructure.c: (GST_START_TEST):
26195           fix test leaks
26196         * docs/gst/tmpl/gstminiobject.sgml:
26197         * gst/gstpad.c: (gst_pad_finalize):
26198           fix the static mutex leak
26199
26200 2005-07-11  Thomas Vander Stichele  <thomas at apestaart dot org>
26201
26202         * check/Makefile.am:
26203           add two more tests for valgrinding
26204         * check/gst/gstvalue.c: (GST_START_TEST):
26205           test refcount of deserialized buffer, found a leak
26206         * docs/gst/gstreamer-docs.sgml:
26207         * docs/gst/gstreamer-sections.txt:
26208         * docs/gst/gstreamer.types:
26209         * docs/gst/tmpl/gstminiobject.sgml:
26210           add miniobject to docs
26211         * gst/gstminiobject.c:
26212           add some docs
26213         * gst/gstvalue.c: (gst_value_deserialize_buffer),
26214         (gst_string_unwrap):
26215           fix a hard-to-find invalid write for one of the tests
26216           fix a leak for deserialized buffers
26217
26218 2005-07-11  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
26219
26220         * docs/pwg/advanced-events.xml:
26221         * docs/pwg/advanced-request.xml:
26222         * docs/pwg/advanced-scheduling.xml:
26223         * docs/pwg/appendix-porting.xml:
26224         * docs/pwg/building-boiler.xml:
26225         * docs/pwg/intro-preface.xml:
26226         * docs/pwg/other-ntoone.xml:
26227           Rewrite scheduling-chapter for scheduling model in 0.9. Add lots
26228           of example code and explanation for pad activation, loop() and
26229           getrange() functions and a bit more. Remove old comments pointing
26230           to loop-functions.
26231         * examples/pwg/Makefile.am:
26232           Add loop/getrange examples.
26233
26234 2005-07-11  Thomas Vander Stichele  <thomas at apestaart dot org>
26235
26236         * configure.ac:
26237           check for valgrind binary + some fixes
26238         * check/gst.supp:
26239           valgrind suppressions for the tests
26240         * check/Makefile.am:
26241           add a valgrind: target that valgrinds the unit tests
26242         * check/gst/gst.c: (GST_START_TEST), (gst_suite):
26243         * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
26244         * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
26245         * check/gst/gstghostpad.c:
26246           added some cleanup
26247         * check/gst/gstdata.c:
26248           removed
26249         * check/gst/gstminiobject.c: (GST_START_TEST), (thread_ref),
26250         (thread_unref), (gst_mini_object_suite), (main):
26251           added
26252         * gst/gst.c: (gst_deinit):
26253         * gst/gst.h:
26254           add a method to clean up.
26255         * gst/gstsystemclock.c: (gst_system_clock_dispose),
26256         (gst_system_clock_obtain):
26257           allow for disposing the system clock.
26258         * tools/gst-launch.c: (main):
26259           deinit
26260
26261 2005-07-11  Thomas Vander Stichele  <thomas at apestaart dot org>
26262
26263         * docs/gst/tmpl/gstbasesrc.sgml:
26264         * docs/gst/tmpl/gstfakesrc.sgml:
26265         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
26266         (gst_base_src_init), (gst_base_src_set_property),
26267         (gst_base_src_get_property), (gst_base_src_get_range),
26268         (gst_base_src_start):
26269         * gst/base/gstbasesrc.h:
26270           add num-buffers property
26271         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
26272         (gst_fakesrc_init), (gst_fakesrc_set_property),
26273         (gst_fakesrc_get_property), (gst_fakesrc_create),
26274         (gst_fakesrc_start):
26275           remove num-buffers property
26276
26277 2005-07-10  Thomas Vander Stichele  <thomas at apestaart dot org>
26278
26279         * docs/gst/gstreamer-sections.txt:
26280         * docs/gst/tmpl/gstbasesink.sgml:
26281         * docs/gst/tmpl/gstbasesrc.sgml:
26282         * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
26283         (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
26284         (gst_base_sink_finalize), (gst_base_sink_set_clock),
26285         (gst_base_sink_set_property), (gst_base_sink_get_property),
26286         (gst_base_sink_handle_object), (gst_base_sink_event),
26287         (gst_base_sink_do_sync), (gst_base_sink_handle_event),
26288         (gst_base_sink_handle_buffer), (gst_base_sink_chain),
26289         (gst_base_sink_loop), (gst_base_sink_deactivate),
26290         (gst_base_sink_activate_push), (gst_base_sink_activate_pull),
26291         (gst_base_sink_change_state):
26292         * gst/base/gstbasesink.h:
26293         * gst/base/gstbasesrc.h:
26294         * gst/elements/gstfakesink.c: (gst_fakesink_get_times):
26295         * gst/elements/gstfilesink.c: (gst_filesink_class_init),
26296         (gst_filesink_init):
26297           more macro splitting
26298
26299 2005-07-10  Thomas Vander Stichele  <thomas at apestaart dot org>
26300
26301         * gst/gstelement.c: (gst_element_get_bus):
26302           add debug
26303         * tools/gst-launch.c: (check_intr), (event_loop):
26304           fix bus leaks
26305
26306 2005-07-10  Thomas Vander Stichele  <thomas at apestaart dot org>
26307
26308         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked):
26309           fix a caps leak
26310
26311 2005-07-10  Thomas Vander Stichele  <thomas at apestaart dot org>
26312
26313         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
26314         (gst_base_src_finalize):
26315           add finalize method and clean up properly
26316         * gst/gstpipeline.c: (gst_pipeline_dispose):
26317           add debug
26318
26319 2005-07-09  Thomas Vander Stichele  <thomas at apestaart dot org>
26320
26321         * check/gst/gstbin.c: (pop_messages), (GST_START_TEST),
26322         (gst_bin_suite):
26323           add more things to check
26324         * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
26325         * gst/gstelement.c:
26326           more debug
26327
26328 2005-07-09  Thomas Vander Stichele  <thomas at apestaart dot org>
26329
26330         * check/elements/gstfakesrc.c: (chain_func), (event_func),
26331         (GST_START_TEST), (fakesrc_suite):
26332         * check/gst-libs/gdp.c: (GST_START_TEST):
26333         * check/gst/gst.c: (GST_START_TEST):
26334         * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
26335         * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
26336         * check/gst/gstbus.c: (GST_START_TEST):
26337         * check/gst/gstcaps.c: (GST_START_TEST):
26338         * check/gst/gstdata.c: (GST_START_TEST):
26339         * check/gst/gstelement.c: (GST_START_TEST):
26340         * check/gst/gstghostpad.c: (GST_START_TEST):
26341         * check/gst/gstiterator.c: (GST_START_TEST):
26342         * check/gst/gstmessage.c: (GST_START_TEST):
26343         * check/gst/gstobject.c: (GST_START_TEST):
26344         * check/gst/gstpad.c: (GST_START_TEST):
26345         * check/gst/gststructure.c: (GST_START_TEST):
26346         * check/gst/gstsystemclock.c: (GST_START_TEST),
26347         (gst_systemclock_suite):
26348         * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
26349         * check/gst/gstvalue.c: (GST_START_TEST):
26350         * check/pipelines/cleanup.c: (GST_START_TEST):
26351         * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
26352         * check/states/sinks.c: (GST_START_TEST):
26353         * check/gstcheck.c: (gst_check_init):
26354         * check/gstcheck.h:
26355           add debugging category
26356           use GST_START_TEST now, so we add a debug line
26357
26358 2005-07-09  Thomas Vander Stichele  <thomas at apestaart dot org>
26359
26360         * check/gst/gstbin.c: (START_TEST), (gst_bin_suite):
26361           add test for state change message on a bin
26362         * check/gst/gstelement.c: (START_TEST), (gst_element_suite):
26363           add another test
26364         * gst/gstbin.c: (gst_bin_init):
26365         * gst/gstbus.c: (gst_bus_init), (gst_bus_post):
26366         * gst/gstelement.c: (gst_element_post_message),
26367         (gst_element_set_state):
26368         * gst/gstelementfactory.c: (gst_element_factory_create):
26369         * gst/gstmessage.c: (gst_message_new):
26370         * gst/gstscheduler.c:
26371           various debugging additions and cleanups
26372
26373 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
26374
26375         * check/Makefile.am:
26376         * check/gst/gstelement.c: (START_TEST), (gst_element_suite),
26377         (main):
26378           adding tests for elements
26379         * gst/gstelement.c: (gst_element_dispose):
26380
26381 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
26382
26383         * gst/registries/gstlibxmlregistry.c: (load_feature):
26384           plug more leaks.  A simple gst_init() now is leakfree, yay.
26385
26386 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
26387
26388         * gst/registries/gstlibxmlregistry.c: (read_string), (load_paths),
26389         (gst_xml_registry_load):
26390           plug another memleak
26391
26392 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
26393
26394         * configure.ac:
26395           use GST_SET_ERROR_CFLAGS
26396         * docs/faq/cvs.xml:
26397           change to ERROR_CFLAGS
26398
26399 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
26400
26401         * configure.ac:
26402           make GST_ERROR_CFLAGS overridable and re-enable Werror
26403         * docs/faq/cvs.xml:
26404           add a note about error CFLAGS
26405         * docs/gst/tmpl/gstfakesrc.sgml:
26406         * gst/elements/gstfakesrc.c:
26407           comment out some unused code
26408         * gst/gst.c: (split_and_iterate):
26409         * gst/registries/gstlibxmlregistry.c: (load_pad_template),
26410         (load_feature):
26411           plug some memleaks
26412
26413 2005-07-07  Thomas Vander Stichele  <thomas at apestaart dot org>
26414
26415         * common/Makefile.am:
26416         * common/gtk-doc.mak:
26417         * docs/gst/Makefile.am:
26418           factor out gtk-doc.mak
26419
26420 2005-07-07  Wim Taymans  <wim@fluendo.com>
26421
26422         * gst/schedulers/threadscheduler.c: (gst_thread_scheduler_func),
26423         (gst_thread_scheduler_dispose):
26424         Unlock the STREAM_LOCK completely.
26425
26426 2005-07-07  Thomas Vander Stichele  <thomas at apestaart dot org>
26427
26428         * check/Makefile.am:
26429         * check/elements/.cvsignore:
26430         * check/elements/gstfakesrc.c: (chain_func), (event_func),
26431         (START_TEST), (fakesrc_suite), (main):
26432         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
26433         (gst_fakesrc_set_property), (gst_fakesrc_get_property),
26434         (gst_fakesrc_create), (gst_fakesrc_start):
26435         * gst/elements/gstfakesrc.h:
26436           adding a first element test
26437
26438 2005-07-07  Andy Wingo  <wingo@pobox.com>
26439
26440         * gst/gstbus.c (gst_bus_have_pending): Remove intensely irritating
26441         debug message.
26442
26443 2005-07-07  Wim Taymans  <wim@fluendo.com>
26444
26445         * gst/gstquery.c:
26446         * gst/gstquery.h:
26447         Remove old types
26448
26449 2005-07-07  Wim Taymans  <wim@fluendo.com>
26450
26451         * gst/base/gstbasesrc.c: (gst_base_src_get_range),
26452         (gst_base_src_default_negotiate), (gst_base_src_negotiate):
26453         Allow subclasses to implement their own negotiation.
26454
26455 2005-07-07  Jan Schmidt  <thaytan@mad.scientist.com>
26456
26457         * docs/design/part-gstbin.txt:
26458         * docs/design/part-gstpipeline.txt:
26459           Update design notes to reflect the movement of
26460           responsibility for bus handling from GstPipeline to
26461           GstBin
26462
26463 2005-07-07  Jan Schmidt  <thaytan@mad.scientist.com>
26464
26465         * configure.ac:
26466           Remove unnecessary queue2/3/4 examples.
26467
26468 2005-07-07  Jan Schmidt  <thaytan@mad.scientist.com>
26469
26470         * examples/Makefile.am:
26471         * examples/helloworld/helloworld.c: (event_loop), (main):
26472         * examples/queue/queue.c: (event_loop), (main):
26473         * examples/queue2/queue2.c: (main):
26474           Update a couple of the examples to work again.
26475
26476         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
26477         (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_event):
26478          Spelling corrections and extra debug.
26479         
26480         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init), (is_eos),
26481         (gst_bin_add_func), (bin_element_is_sink), (gst_bin_get_state),
26482         (gst_bin_change_state), (gst_bin_dispose), (bin_bus_handler):
26483         * gst/gstbin.h:
26484         * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
26485         (gst_pipeline_change_state):
26486         * gst/gstpipeline.h:
26487           Move the bus handler for children to the GstBin, and create a
26488           separate bus for receiving messages from children to the one the
26489           bus sends 'upwards' on.
26490
26491 2005-07-06  Wim Taymans  <wim@fluendo.com>
26492
26493         * gst/base/README:
26494         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
26495         (gst_base_sink_handle_object), (gst_base_sink_loop),
26496         (gst_base_sink_change_state):
26497         * gst/base/gstbasesink.h:
26498         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
26499         (gst_base_src_init), (gst_base_src_setcaps),
26500         (gst_base_src_getcaps), (gst_base_src_loop),
26501         (gst_base_src_default_negotiate), (gst_base_src_negotiate),
26502         (gst_base_src_start), (gst_base_src_change_state):
26503         * gst/base/gstbasesrc.h:
26504         Make basesrc negotiate.
26505         Handle the case where preroll fails in basesink.
26506         Update README.
26507
26508 2005-07-06  Wim Taymans  <wim@fluendo.com>
26509
26510         * gst/gstpad.c: (gst_pad_fixate_caps), (gst_pad_accept_caps):
26511         Implement the fixate function.
26512         Clean up acceptcaps.
26513
26514 2005-07-06  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
26515
26516         * docs/pwg/building-filterfactory.xml:
26517         * docs/pwg/pwg.xml:
26518           Remove never-written filter-factory chapter; I'll add the various
26519           base classes to part 4 ("other element types") later on.
26520
26521 2005-07-06  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
26522
26523         * docs/pwg/advanced-negotiation.xml:
26524         * docs/pwg/building-boiler.xml:
26525         * docs/pwg/building-pads.xml:
26526         * docs/pwg/pwg.xml:
26527         * examples/pwg/Makefile.am:
26528           Add a chapter on caps negotiation, simplify the original code
26529           samples a bit w.r.t. caps negotiation, add link to the advanced
26530           section. Add a bunch of examples showing different use cases of
26531           different types of caps negotiation. Upstream renegotiation isn't
26532           fully documented yet since nobody knows how that works.
26533
26534 2005-07-06  Thomas Vander Stichele  <thomas at apestaart dot org>
26535
26536         * check/gst/gstpad.c:
26537         * check/gstcheck.c:
26538         * gst/gstpad.c: (gst_pad_get_internal_links_default):
26539           if pad has no parent, return NULL as list of internal links
26540
26541 2005-07-05  Andy Wingo  <wingo@pobox.com>
26542
26543         * gst/elements/gstfilesrc.c:
26544         * gst/elements/gstfakesrc.c: 
26545         * gst/base/gstpushsrc.c:
26546         * gst/base/gstbasesrc.h: 
26547         * gst/base/gstbasesrc.c: s/BASESRC/BASE_SRC/g.
26548         
26549 2005-07-05  Stefan Kost  <ensonic@users.sf.net>
26550
26551         * Makefile.am:
26552           better report generation target (lcov needs a patch)
26553
26554 2005-07-05  Andy Wingo  <wingo@pobox.com>
26555
26556         * gst/elements, testsuite: Null if we got it...
26557
26558 2005-07-05  Wim Taymans  <wim@fluendo.com>
26559
26560         * configure.ac:
26561         * libs/gst/dataprotocol/Makefile.am:
26562         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_validate_packet):
26563         * libs/gst/dataprotocol/dataprotocol.h:
26564         * pkgconfig/Makefile.am:
26565         * pkgconfig/gstreamer-dataprotocol-uninstalled.pc.in:
26566         * pkgconfig/gstreamer-dataprotocol.pc.in:
26567         Ported dataprotol to 0.9. 
26568         Added pkgconfig files.
26569
26570 2005-07-05  Andy Wingo  <wingo@pobox.com>
26571
26572         * gst/base/gstbasetransform.c (gst_base_transform_setcaps):
26573         Default to returning TRUE for the case when tranform_caps returns
26574         a fixed caps, like for identity or volume.
26575
26576         * check/gst/gstbus.c (pound_bus_with_messages): 
26577         * check/gst/gstmessage.c (START_TEST): 
26578         * check/pipelines/simple_launch_lines.c (got_handoff): Application
26579         message API change.
26580
26581         * gst/base/gstbasetransform.c (gst_base_transform_setcaps): More
26582         logic weaks here: always run transform_caps, trying passthrough
26583         operation only if the original caps intersects with the transform.
26584
26585         * gst/gstpad.c (gst_pad_link_check_compatible_unlocked): Debug
26586         source and sink caps.
26587
26588         * gst/base/gstbasetransform.c (gst_base_transform_getcaps):
26589         Intersect the peer caps with the pad template before going into
26590         transform_caps.
26591         (gst_base_transform_transform_caps): More debugging.
26592
26593         * gst/gstmessage.h (gst_message_new_application): Take a GstObject
26594         src argument.
26595
26596 2005-07-04  Edward Hervey  <edward@fluendo.com>
26597
26598         * gst/gstutils.c:
26599         * gst/gstutils.h:
26600         (gst_pad_add_*_probe): now returns the signal id for better wrapping
26601         in bindings.
26602
26603 2005-07-04  Andy Wingo  <wingo@pobox.com>
26604
26605         * check/gst/gstpad.c: Only set explicit caps on pads.
26606
26607 2005-07-01  Andy Wingo  <wingo@pobox.com>
26608
26609         * tests/network-clock.scm: Commentary update.
26610
26611         * gst/elements/gstidentity.c (PROP_DUPLICATE): Gone daddy gone.
26612         Didn't really make sense, not implementable with basetransform,
26613         etc.
26614         (gst_identity_transform): Unref inbuf via make_writable. Feeble
26615         attempt at implementing the sync property, needs an unlock method.
26616
26617         * gst/base/gstbasetransform.c (gst_base_transform_transform_caps):
26618         New func, by default returns the same caps (the identity
26619         transformation).
26620         (gst_base_transform_getcaps): Uses transform_caps to return
26621         something sensible.
26622         (gst_base_transform_setcaps): Complicated logic to get caps on
26623         both pads, even if they are different, and to call set_caps once
26624         for every time both pads get their caps set.
26625         (gst_base_transform_handle_buffer): Give the ref to the transform
26626         function. Allows in-place modification of the buffer.
26627
26628         * gst/base/gstbasetransform.h (transform_caps): New class method.
26629         Given caps on one side, what can I do on the other.
26630         (set_caps): Take two caps, one for each side of the element.
26631
26632         * gst/gstpad.h:
26633         * gst/gstpad.c (gst_pad_fixate_caps): Change prototype to modify
26634         caps in place. This is safe because we can check the mutability of
26635         the caps, and a good idea because fixate functions are just called
26636         as a matter of last resort. (Not actually implemented.)
26637         (gst_pad_set_caps): If the caps we're setting is actually the same
26638         as the existing pad caps, just update the pointer without calling
26639         setcaps. Assert that caps is either NULL or fixed, as per the
26640         docs.
26641
26642         * gst/gstghostpad.c: Update for fixate changes.
26643
26644 2005-07-02  Andy Wingo  <wingo@pobox.com>
26645
26646         * gst/gstcaps.c:
26647         * gst/gstcaps.h (gst_static_caps_get): Not const return, having
26648         two refcounts makes it immutable, which is enough. Doc more.
26649
26650 2005-07-02  Jan Schmidt  <thaytan@mad.scientist.com>
26651
26652         * gst/gstpad.c: (gst_pad_emit_have_data_signal):
26653           Put the mini_object into GValue as a mini_object,
26654           not a gpointer, since that's how we declared
26655           the signal.
26656
26657 2005-07-01  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
26658
26659         * examples/pwg/Makefile.am:
26660           Fix buildbot again.
26661
26662 2005-07-01  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
26663
26664         * docs/pwg/building-testapp.xml:
26665           Add extra check.
26666         * examples/pwg/Makefile.am:
26667           Fix buildbot.
26668
26669 2005-07-01  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
26670
26671         * configure.ac:
26672         * examples/Makefile.am:
26673         * examples/pwg/Makefile.am:
26674         * examples/pwg/extract.pl:
26675           Enable building the PWG examples.
26676         * docs/pwg/advanced-interfaces.xml:
26677           Add URI interface stub.
26678         * docs/pwg/advanced-types.xml:
26679         * docs/pwg/other-autoplugger.xml:
26680         * docs/pwg/appendix-porting.xml:
26681         * docs/pwg/pwg.xml:
26682           Add porting guide (mostly stubs), remove autoplugging (see ADM).
26683         * docs/pwg/building-boiler.xml:
26684         * docs/pwg/building-chainfn.xml:
26685         * docs/pwg/building-pads.xml:
26686         * docs/pwg/building-props.xml:
26687         * docs/pwg/building-state.xml:
26688         * docs/pwg/building-testapp.xml:
26689           Update the building-*.xml parts for 0.9 changes. All examples
26690           code blocks compile in examples/pwg/*.
26691
26692 2005-06-30  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
26693
26694         * docs/manual/advanced-autoplugging.xml:
26695         * docs/manual/appendix-checklist.xml:
26696         * docs/manual/appendix-integration.xml:
26697         * docs/manual/highlevel-components.xml:
26698           Fix playbin/decodebin examples, update docs a bit, mention bus
26699           instead of signals in various places, mention kmplayer and
26700           kaffeine since they have a working GStreamer backend in the KDE
26701           section.
26702
26703 2005-06-30  Wim Taymans  <wim@fluendo.com>
26704
26705         * CHANGES-0.9:
26706         * docs/design/draft-ghostpads.txt:
26707         * docs/design/draft-push-pull.txt:
26708         * docs/design/draft-query.txt:
26709         * docs/design/part-TODO.txt:
26710         * docs/design/part-query.txt:
26711         Added CHANGES-0.9 doc, updated status of other docs.
26712         
26713         * gst/gstquery.h:
26714         Remove "hmm" macro
26715
26716 2005-06-30  Wim Taymans  <wim@fluendo.com>
26717
26718         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
26719         (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
26720         (gst_base_sink_change_state):
26721         * gst/base/gstbasesink.h:
26722         Some tweaks, only EOS and a buffer complete a preroll.
26723
26724 2005-06-30  Andy Wingo  <wingo@pobox.com>
26725
26726         * gst/gstghostpad.c (gst_ghost_pad_do_activate_push): Proxy
26727         activate_push down to the internal pad as well.
26728
26729 2005-06-30  Torsten Schoenfeld  <kaffeetisch@gmx.de>
26730
26731         Reviewed by:  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
26732
26733         * gst/gsttaginterface.c:
26734           Some documentation fixes (#307394 and #307397).
26735
26736 2005-06-30  Antoine Tremblay  <hexa00@gmail.com>
26737
26738         Reviewed by:  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
26739
26740         * gst/gstvalue.c: (gst_value_intersect_list):
26741           Fix memleak (#309125).
26742
26743 2005-06-30  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
26744
26745         * docs/manual/advanced-dataaccess.xml:
26746           Fix fakesrc example to compile; doesn't work, bug somewhere...?
26747         * docs/manual/basics-pads.xml:
26748           Add reference for filtered caps to above chapter.
26749
26750 2005-06-30  Wim Taymans  <wim@fluendo.com>
26751
26752         * gst/gstbin.c: (clear_queue), (remove_all_from_queue),
26753         (gst_bin_change_state):
26754         Probes are gone.
26755         Lame attempt at making the state change function a bit
26756         more readable.
26757
26758 2005-06-30  Wim Taymans  <wim@fluendo.com>
26759
26760         * docs/design/part-clocks.txt:
26761         * docs/design/part-element-sink.txt:
26762         * docs/design/part-events.txt:
26763         * docs/design/part-preroll.txt:
26764         * docs/design/part-states.txt:
26765         Some more tweeks and additions to the docs.
26766
26767 2005-06-30  Wim Taymans  <wim@fluendo.com>
26768
26769         * gst/gstpad.c: (_gst_do_pass_data_accumulator),
26770         (default_have_data), (gst_pad_class_init), (gst_pad_init),
26771         (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
26772         (gst_pad_check_pull_range), (gst_pad_get_range),
26773         (gst_pad_pull_range), (gst_pad_push_event), (gst_pad_send_event):
26774         * gst/gstpad.h:
26775         * gst/gstutils.c: (gst_atomic_int_set), (gst_pad_add_data_probe),
26776         (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
26777         (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
26778         (gst_pad_remove_buffer_probe):
26779         Removed atomic operations, use existing LOCK.
26780         Move exception handling out of main code path.
26781
26782 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
26783
26784         * gst/gstpad.c: (_gst_do_pass_data_accumulator),
26785         (silly_return_true_function), (gst_pad_class_init),
26786         (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
26787         (gst_pad_get_range), (gst_pad_pull_range), (gst_pad_push_event),
26788         (gst_pad_send_event):
26789           Fix accumulator, add default value by using _emitv() instead
26790           of _emit() for signal emission.
26791
26792 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
26793
26794         * docs/manual/advanced-dataaccess.xml:
26795         * examples/manual/Makefile.am:
26796           Add probe example.
26797         * gst/gstpad.c: (_gst_do_pass_data_accumulator):
26798           Make work (??).
26799
26800 2005-06-29  Tim-Philipp Müller  <tim at centricular dot net>
26801
26802         * gst/elements/gstfilesink.c: (gst_filesink_render):
26803           Simplify code so that we don't have to handle short
26804           writes and return GST_FLOW_ERROR if an error occured.
26805
26806 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
26807
26808         * docs/gst/gstreamer-docs.sgml:
26809           Remove probes more.
26810
26811 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
26812
26813         * docs/gst/gstreamer-sections.txt:
26814         * docs/gst/tmpl/gstpad.sgml:
26815         * docs/gst/tmpl/gstprobe.sgml:
26816         * gst/Makefile.am:
26817         * gst/gstpad.c: (_gst_do_pass_data_accumulator),
26818         (gst_pad_class_init), (gst_pad_init), (gst_pad_chain),
26819         (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
26820         (gst_pad_push_event), (gst_pad_send_event):
26821         * gst/gstpad.h:
26822         * gst/gstutils.c: (gst_pad_add_data_probe),
26823         (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
26824         (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
26825         (gst_pad_remove_buffer_probe):
26826         * gst/gstutils.h:
26827           Remove old probes, add new g-signal-based probes and some utility
26828           functions.
26829
26830 2005-06-29  Edward Hervey  <edward@fluendo.com>
26831
26832         * gst/gstelementfactory.c:
26833         * gst/gstutils.h:
26834         * gst/gstutils.c:
26835         Moved gst_element_factory_can_[sink|src]_caps() to gstutils and added
26836         the definition to the header file.
26837
26838 2005-06-29  Andy Wingo  <wingo@pobox.com>
26839
26840         * docs/gst/Makefile.am (scan-build.stamp): Totally only check
26841         plugins from the source directory.
26842
26843 2005-06-29  Wim Taymans  <wim@fluendo.com>
26844
26845         * docs/gst/tmpl/gstbuffer.sgml:
26846         * docs/gst/tmpl/gstclock.sgml:
26847         Some fixings for blantently wrong text.
26848
26849 2005-06-29  Thomas Vander Stichele  <thomas at apestaart dot org>
26850
26851         * check/Makefile.am:
26852         * gst/gst.c: (add_path_func), (init_pre):
26853         * gst/gstregistry.c: (gst_registry_add_path):
26854           add A GST_PLUGIN_PATH_ONLY env var; if it is set, it will
26855           only scan the GST_PLUGIN_PATH locations, and not add
26856           system locations
26857
26858 2005-06-29  Thomas Vander Stichele  <thomas at apestaart dot org>
26859
26860         * docs/gst/gstreamer-sections.txt:
26861         * docs/gst/tmpl/gstbasesrc.sgml:
26862         * gst/gstelement.c:
26863         * gst/gstelement.h:
26864         * gst/gstevent.c:
26865         * gst/gstutils.c:
26866           doc fixes
26867
26868 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
26869
26870         * docs/manual/advanced-autoplugging.xml:
26871           Fix autoplugging example.
26872
26873 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
26874
26875         * docs/manual/advanced-autoplugging.xml:
26876         * docs/manual/mime-world.fig:
26877           Try to get autoplugging working, fix type detection. Fix text
26878           in hello-world image.
26879
26880 2005-06-29  Wim Taymans  <wim@fluendo.com>
26881
26882         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
26883         (gst_base_sink_change_state):
26884         Small debug line.
26885
26886         * gst/gstclock.h:
26887         map SIGNAL and BROADCAST to the right function.
26888
26889         * gst/gstobject.h:
26890         Remove redundant braces.
26891
26892         * gst/gstpad.c: (gst_pad_set_caps):
26893         Don't call setcaps function when reseting caps to NULL.
26894
26895         * gst/gstsystemclock.c: (gst_system_clock_dispose),
26896         (gst_system_clock_async_thread), (gst_system_clock_id_wait_async),
26897         (gst_system_clock_id_unschedule):
26898         Use BROADCAST as this is what we do.
26899
26900 2005-06-29  Wim Taymans  <wim@fluendo.com>
26901
26902         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
26903         We are actually prerolling before commiting the state
26904         change. 
26905
26906 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
26907
26908         * docs/manual/advanced-clocks.xml:
26909         * docs/manual/advanced-interfaces.xml:
26910         * docs/manual/advanced-metadata.xml:
26911         * docs/manual/advanced-position.xml:
26912         * docs/manual/advanced-schedulers.xml:
26913         * docs/manual/advanced-threads.xml:
26914         * docs/manual/appendix-porting.xml:
26915         * docs/manual/basics-bins.xml:
26916         * docs/manual/basics-bus.xml:
26917         * docs/manual/basics-elements.xml:
26918         * docs/manual/basics-helloworld.xml:
26919         * docs/manual/basics-pads.xml:
26920         * docs/manual/highlevel-components.xml:
26921         * docs/manual/manual.xml:
26922         * docs/manual/thread.fig:
26923           Update (until threads/scheduling) Application Development Manual;
26924           remove GstThread, add GstBus, add simple porting checklist, add
26925           documentation for tag writing, clocks, make all examples until this
26926           part compile and run.
26927         * examples/manual/Makefile.am:
26928           Update from changes to Application Development Manual; add bus
26929           example, remove thread example.
26930
26931 2005-06-28  Wim Taymans  <wim@fluendo.com>
26932
26933         * gst/gstbus.c: (gst_bus_post), (gst_bus_have_pending),
26934         (gst_bus_set_flushing), (gst_bus_pop), (gst_bus_peek),
26935         (gst_bus_source_dispatch):
26936         Add debugging messages.
26937         Make internal methods static.
26938         Handle the case where the bus is flushed in the handler.
26939         
26940         * gst/gstelement.c: (gst_element_get_bus):
26941         Fix refcount in _get_bus();
26942
26943         * gst/gstpipeline.c: (gst_pipeline_change_state),
26944         (gst_pipeline_get_clock_func):
26945         Clock refcounting fixes.
26946         Handle the case where preroll timed out more gracefully.
26947         
26948         * gst/gstsystemclock.c: (gst_system_clock_dispose):
26949         Clean up the internal thread in dispose. This is needed
26950         for subclasses that actually get disposed.
26951         
26952         * gst/schedulers/threadscheduler.c:
26953         (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
26954         (gst_thread_scheduler_dispose):
26955         Free thread pool in dispose.
26956
26957 2005-06-28  Andy Wingo  <wingo@pobox.com>
26958
26959         * tests/network-clock-utils.scm (debug, print-event): New utils.
26960
26961         * tests/network-clock.scm (*debug*, *with-graph*): New parameters.
26962         (*packet-loss*): Unified loss probability.
26963         (network-time): Report out-of-band events.
26964
26965         * tests/plot-data: Add support for out-of-band events. Hack it
26966         into this script instead of passing it down the pipe; should fix
26967         this later.
26968
26969 2005-06-28  Wim Taymans  <wim@fluendo.com>
26970
26971         * docs/gst/gstreamer.types:
26972         * docs/gst/tmpl/gstbasesrc.sgml:
26973         * docs/gst/tmpl/gstpad.sgml:
26974         Docs fixes.
26975
26976 2005-06-28  Wim Taymans  <wim@fluendo.com>
26977
26978         * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
26979         (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_acceptcaps),
26980         (gst_proxy_pad_do_fixatecaps):
26981         Correctly proxy the check_pull_range function.
26982
26983 2005-06-28  Andy Wingo  <wingo@pobox.com>
26984
26985         * tests/network-clock.scm: Removed need for slib.
26986         
26987 2005-06-28  Wim Taymans  <wim@fluendo.com>
26988
26989         * gst/base/gstbasesink.c: (gst_basesink_set_pad_functions),
26990         (gst_basesink_preroll_queue_flush):
26991         * gst/base/gstbasesrc.c: (gst_basesrc_set_dataflow_funcs):
26992         * gst/elements/gsttee.c: (gst_tee_update_pad_functions):
26993         * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
26994         (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
26995         (gst_proxy_pad_set_property):
26996         * gst/gstpad.c:
26997         * gst/gstpad.h:
26998         * gst/gstqueue.c: (gst_queue_init):
26999         The deprecated pad loop function is removed now.
27000
27001 2005-06-28  Andy Wingo  <wingo@pobox.com>
27002
27003         * tests/network-clock.scm (*timeout*, *send-loss*, *recv-loss*):
27004         New parameters, simulate network packet loss.
27005
27006         * tests/network-clock-utils.scm: Initialize the RNG.
27007
27008 2005-06-28  Wim Taymans  <wim@fluendo.com>
27009
27010         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_flush),
27011         (gst_basesink_event), (gst_basesink_deactivate):
27012         Flushing the preroll queue always needs to unlock the waiters.
27013
27014 2005-06-28  Edward Hervey  <edward@fluendo.com>
27015
27016         * gst/gstpipeline.c: (gst_pipeline_send_event): 
27017         Wheen a seek was successful on a pipeline, set the stream_time to the
27018         seek offset in order to have a synchronized stream_time.
27019
27020 2005-06-28  Wim Taymans  <wim@fluendo.com>
27021
27022         * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
27023         (gst_proxy_pad_do_getrange), (gst_proxy_pad_do_checkgetrange),
27024         (gst_proxy_pad_do_getcaps), (gst_proxy_pad_do_acceptcaps),
27025         (gst_proxy_pad_do_fixatecaps):
27026         Call wrapper function instead of just calling the function
27027         pointers. This takes care of any locking and whatmore.
27028
27029 2005-06-28  Wim Taymans  <wim@fluendo.com>
27030
27031         * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push),
27032         (gst_pad_pull_range):
27033         * gst/gstpad.h:
27034         CONNECTED -> LINKED.
27035
27036 2005-06-28  Andy Wingo  <wingo@pobox.com>
27037
27038         * *.c: Don't cast to GST_OBJECT when reffing or unreffing. Large
27039         source-munging commit!!!
27040
27041         * gst/gstobject.c (gst_object_unref, gst_object_ref) 
27042         (gst_object_sink): Take gpointer arguments, not GstObject --
27043         avoids casts. Like GLib.
27044
27045         * gst/gstghostpad.c (gst_proxy_pad_do_activate): Don't proxy
27046         activate.
27047
27048 2005-06-27  Andy Wingo  <wingo@pobox.com>
27049
27050         * gst/base/gsttypefindhelper.c (gst_type_find_helper): Unref any
27051         remaining buffer.
27052
27053         * gst/gsttrace.c (gst_alloc_trace_list_sorted): New helper,
27054         returns a sorted copy of the trace list.
27055         (gst_alloc_trace_print_live): New API, only prints traces with
27056         live objects. Sort the list.
27057         (gst_alloc_trace_print_all): Sort the list.
27058         (gst_alloc_trace_print): Align columns.
27059
27060         * gst/elements/gstttypefindelement.c:
27061         * gst/elements/gsttee.c:
27062         * gst/base/gstbasesrc.c:
27063         * gst/base/gstbasesink.c:
27064         * gst/base/gstbasetransform.c:
27065         * gst/gstqueue.c: Adapt for pad activation changes.
27066
27067         * gst/gstpipeline.c (gst_pipeline_init): Unref after parenting
27068         sched.
27069         (gst_pipeline_dispose): Drop ref on sched.
27070
27071         * gst/gstpad.c (gst_pad_init): Set the default activate func.
27072         (gst_pad_activate_default): Push mode by default.
27073         (pre_activate_switch, post_activate_switch): New stubs, things to
27074         do before and after switching activation modes on pads.
27075         (gst_pad_set_active): Take a boolean and not a mode, dispatch to
27076         the pad's activate function to choose which mode to activate.
27077         Shortcut on deactivation and call the right function directly.
27078         (gst_pad_activate_pull): New API, (de)activates a pad in pull
27079         mode.
27080         (gst_pad_activate_push): New API, same for push mode.
27081         (gst_pad_set_activate_function) 
27082         (gst_pad_set_activatepull_function) 
27083         (gst_pad_set_activatepush_function): Setters for new API.
27084
27085         * gst/gstminiobject.c (gst_mini_object_new, gst_mini_object_free):
27086         Trace all miniobjects.
27087         (gst_mini_object_make_writable): Unref the arg if we copy, like
27088         gst_caps_make_writable.
27089
27090         * gst/gstmessage.c (_gst_message_initialize): No trace init.
27091
27092         * gst/gstghostpad.c (gst_proxy_pad_do_activate) 
27093         (gst_proxy_pad_do_activatepull, gst_proxy_pad_do_activatepush):
27094         Adapt for new pad API.
27095
27096         * gst/gstevent.c (_gst_event_initialize): Don't initialize trace.
27097
27098         * gst/gstelement.h:
27099         * gst/gstelement.c (gst_element_iterate_src_pads) 
27100         (gst_element_iterate_sink_pads): New API functions.
27101         
27102         * gst/gstelement.c (iterator_fold_with_resync): New utility,
27103         should fold into gstiterator.c in some form.
27104         (gst_element_pads_activate): Simplified via use of fold and
27105         delegation of decisions to gstpad->activate.
27106
27107         * gst/gstbus.c (gst_bus_source_finalize): Set the bus to NULL,
27108         help in debugging.
27109
27110         * gst/gstbuffer.c (_gst_buffer_initialize): Ref the buffer type
27111         class once in init, like gstmessage. Didn't run into this issue
27112         but it seems correct. Don't initialize a trace, gstminiobject does
27113         that.
27114
27115         * check/pipelines/simple_launch_lines.c (test_stop_from_app): New
27116         test, runs fakesrc ! fakesink, stopping on ::handoff via a message
27117         to the bus.
27118         (assert_live_count): New util function, uses alloc traces to check
27119         cleanup.
27120
27121         * check/gst/gstghostpad.c (test_ghost_pads): More refcount checks.
27122         To be modified when unlink drops the internal pad.
27123
27124 2005-06-27  Wim Taymans  <wim@fluendo.com>
27125
27126         * gst/gstbin.c: (gst_bin_get_state), (gst_bin_iterate_state_order),
27127         (gst_bin_change_state):
27128         Cleanup the get_state() function a little, make sure it
27129         iterates the same set of elements.
27130         Added stub iterate_state_order().
27131
27132 2005-06-27  Thomas Vander Stichele  <thomas at apestaart dot org>
27133
27134         * docs/gst/gstreamer-docs.sgml:
27135         * docs/gst/gstreamer-sections.txt:
27136         * docs/gst/gstreamer.types:
27137         * docs/gst/tmpl/gstbasesink.sgml:
27138         * docs/gst/tmpl/gstbasesrc.sgml:
27139         * docs/gst/tmpl/gstbasetransform.sgml:
27140         * docs/gst/tmpl/gstelement.sgml:
27141         * docs/gst/tmpl/gstiterator.sgml:
27142         * gst/base/gstbasesrc.c:
27143         * gst/base/gstbasesrc.h:
27144         * gst/base/gstbasetransform.h:
27145         * gst/gstelement.c:
27146         * gst/gstiterator.h:
27147           adding basetransform and iterator docs
27148
27149 2005-06-27  Andy Wingo  <wingo@pobox.com>
27150
27151         * docs/design/part-activation.txt: Notes on how activation should
27152         work -- not quite implemented yet.
27153
27154 2005-06-25  Wim Taymans  <wim@fluendo.com>
27155
27156         * gst/gstghostpad.c: (gst_proxy_pad_do_chain):
27157         At least get the chain function correct, needs more
27158         fixing.
27159
27160 2005-06-25  Wim Taymans  <wim@fluendo.com>
27161
27162         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
27163         (gst_basesink_handle_object), (gst_basesink_event),
27164         (gst_basesink_do_sync), (gst_basesink_handle_event),
27165         (gst_basesink_change_state):
27166         * gst/gsttask.h:
27167         Right, two problems here: ghostpads don't take locks and
27168         glib _rec_mutex_lock_full() with depth==0 still locks.
27169         Catch illegal locking and g_warn them.
27170
27171 2005-06-25  Wim Taymans  <wim@fluendo.com>
27172
27173         * check/states/sinks.c: (START_TEST), (gst_object_suite):
27174         Have to check for completion now...
27175
27176 2005-06-25  Wim Taymans  <wim@fluendo.com>
27177
27178         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
27179         (gst_basesink_handle_object), (gst_basesink_event),
27180         (gst_basesink_do_sync), (gst_basesink_handle_event),
27181         (gst_basesink_change_state):
27182         * gst/gstpad.h:
27183         Unlock STREAM_LOCK whatever the recursion was.
27184
27185 2005-06-25  Wim Taymans  <wim@fluendo.com>
27186
27187         * gst/base/gstbasesink.c: (gst_basesink_set_property),
27188         (gst_basesink_preroll_queue_empty),
27189         (gst_basesink_preroll_queue_flush), (gst_basesink_handle_object),
27190         (gst_basesink_event), (gst_basesink_do_sync),
27191         (gst_basesink_handle_event), (gst_basesink_handle_buffer),
27192         (gst_basesink_chain), (gst_basesink_loop), (gst_basesink_activate),
27193         (gst_basesink_change_state):
27194         Reworked the base sink, handle event and buffer serialisation
27195         correctly and removed possible deadlock.
27196         Handle EOS correctly.
27197
27198 2005-06-25  Wim Taymans  <wim@fluendo.com>
27199
27200         * gst/gstpipeline.c: (is_eos), (pipeline_bus_handler),
27201         (gst_pipeline_change_state):
27202         * tools/gst-launch.c: (check_intr), (event_loop), (main):
27203         Allow elements to post EOS in the state change function.
27204         Fix up -launch, make it exit the poll loop when the
27205         pipeline actually changed state.
27206         Fix up warning parsing in -launch.
27207
27208 2005-06-25  Wim Taymans  <wim@fluendo.com>
27209
27210         * gst/elements/gsttee.c: (gst_tee_chain), (gst_tee_loop),
27211         (gst_tee_sink_activate):
27212         Core takes STREAM_LOCK for us now.
27213
27214 2005-06-25  Wim Taymans  <wim@fluendo.com>
27215
27216         * gst/gstelement.c: (gst_element_get_state_func),
27217         (gst_element_set_state):
27218         * gst/gstelement.h:
27219         * gst/gstmessage.c: (gst_message_parse_error),
27220         (gst_message_parse_warning):
27221         Keep track of current target state while performing a state
27222         change so that subclasses can do something interesting.
27223         Fix parsing of warning/error messages when GError is NULL.
27224
27225 2005-06-24  Thomas Vander Stichele  <thomas at apestaart dot org>
27226
27227         * docs/gst/Makefile.am:
27228         * docs/gst/gstreamer-docs.sgml:
27229         * docs/gst/gstreamer-sections.txt:
27230         * docs/gst/gstreamer.types:
27231         * docs/gst/tmpl/gstbasesink.sgml:
27232         * docs/gst/tmpl/gstbasesrc.sgml:
27233         * docs/gst/tmpl/gstbin.sgml:
27234         * docs/gst/tmpl/gstcompat.sgml:
27235         * docs/gst/tmpl/gstfakesink.sgml:
27236         * docs/gst/tmpl/gstfakesrc.sgml:
27237         * docs/gst/tmpl/gstfilesink.sgml:
27238         * docs/gst/tmpl/gstfilesrc.sgml:
27239         * docs/gst/tmpl/gstindex.sgml:
27240         * docs/manual/appendix-quotes.xml:
27241         * gst/base/gstbasesrc.h:
27242         * gst/elements/gstfakesrc.h:
27243         * gst/gstmessage.h:
27244           start pulling in base classes and elements in our docs
27245
27246 2005-06-24  Stefan Kost  <ensonic@users.sf.net>
27247
27248         * docs/gst/Makefile.am:
27249         * docs/libs/Makefile.am:
27250           fixed make distcheck with gtk-doc 1.3
27251
27252 2005-06-23  Wim Taymans  <wim@fluendo.com>
27253
27254         * gst/gstelement.c: (gst_element_get_state_func),
27255         (gst_element_set_state), (gst_element_change_state):
27256         When the state did not change, also report NO_PREROLL
27257         when it matters.
27258
27259 2005-06-23  Wim Taymans  <wim@fluendo.com>
27260
27261         * gst/gstpad.c: (gst_pad_event_default):
27262         * gst/gstqueue.c: (gst_queue_loop):
27263         No unsafe task pausing please.
27264
27265 2005-06-23  Wim Taymans  <wim@fluendo.com>
27266
27267         * gst/schedulers/threadscheduler.c:
27268         (gst_thread_scheduler_task_start),
27269         (gst_thread_scheduler_task_pause), (gst_thread_scheduler_func):
27270         Ref the task before pushing it on the threadpool. This
27271         makes sure that we have a ref when the threadfunction is
27272         actually called.
27273
27274 2005-06-23  Andy Wingo  <wingo@pobox.com>
27275
27276         * gst/base/gstbasesrc.c (gst_basesrc_get_range): Check if the
27277         offset is greater than the file's size.
27278
27279         * gst/gstobject.h (GST_CLASS_LOCK, GST_CLASS_TRYLOCK) 
27280         (GST_CLASS_UNLOCK, GST_CLASS_GET_LOCK, GstObjectClass)
27281         * gst/gstobject.c (gst_object_class_init): Make the class lock
27282         recursive. Wim won't let me drop deep_notify. Decodebin works
27283         again, whoopdy doo.
27284
27285         * gst/gstghostpad.c (on_int_notify): Catches notify::caps on the
27286         internal pad, and hacks accordingly. Doesn't do it on the target
27287         pad because we change its caps. Probably catches all cases of
27288         interest tho.
27289         (gst_ghost_pad_set_property): Connect to notify::caps as
27290         appropritate.
27291
27292         * tests/network-clock.scm (plot-simulation): Pipe data to the
27293         elite python skript.
27294
27295         * tests/network-clock-utils.scm (define-parameter): New macro,
27296         defines a parameter that can be set via the command line.
27297         (set-parameter!, parse-parameter-arguments): Command line args
27298         parser.
27299
27300         * tests/plot-data: Simple matplotlib-based plotter, takes input on
27301         stdin.
27302
27303 2005-06-23  Jan Schmidt  <thaytan@mad.scientist.com>
27304
27305         * gst/elements/gsttypefindelement.c:
27306         (gst_type_find_element_handle_event):
27307           Don't restart typefinding on a discont.
27308         * gst/gstelement.c: (gst_element_set_state):
27309           Debug spelling fix.
27310         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_send_event):
27311           Allow changing mode of an active pad.
27312           Debug output fixes.
27313         * gst/registries/gstlibxmlregistry.c: (load_feature):
27314           Don't cast a static pad template to a normal pad template.
27315
27316 2005-06-23  Thomas Vander Stichele  <thomas at apestaart dot org>
27317
27318         * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
27319         * gst/gstvalue.c: (gst_value_deserialize_int_helper):
27320           remove gst_strtoll completely, since it didn't actually do
27321           anything more than what g_ascii_strtoull already does.
27322           check for range errors when deserializing
27323           do a cast for the unsigned cases; but further fixing needs
27324           a decision on what the interpretation of "(int)" and
27325           deserialization should be for values that fall outside the
27326           type's boundaries (ie, refuse, or interpret as casting)
27327
27328 2005-06-23  Wim Taymans  <wim@fluendo.com>
27329
27330         * check/Makefile.am:
27331         * check/states/sinks.c: (START_TEST), (gst_object_suite), (main):
27332         * docs/design/part-live-source.txt:
27333         * docs/design/part-states.txt:
27334         * gst/base/gstbasesrc.c: (gst_basesrc_init),
27335         (gst_basesrc_set_live), (gst_basesrc_is_live),
27336         (gst_basesrc_get_range), (gst_basesrc_activate),
27337         (gst_basesrc_change_state):
27338         * gst/base/gstbasesrc.h:
27339         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
27340         (gst_fakesrc_set_property), (gst_fakesrc_get_property):
27341         * gst/gstbin.c: (gst_bin_get_state), (gst_bin_change_state):
27342         * gst/gstelement.c: (gst_element_get_state_func),
27343         (gst_element_set_state):
27344         * gst/gstelement.h:
27345         * gst/gsttypes.h:
27346         * tools/gst-launch.c: (event_loop), (main):
27347         Added support for live sources and other elements that
27348         cannot do preroll.
27349         Updated design docs, added live-source design doc.
27350         Implemented live source functionality in basesrc
27351         Fix error condition in _bin_get_state()
27352         Implement live source handling in -launch.
27353         Added check for live sources.
27354         Fixed case in GstBin where elements were changed state
27355         multiple times.
27356
27357
27358 2005-06-23  Andy Wingo  <wingo@pobox.com>
27359
27360         * check/gst/gstpad.c (test_get_allowed_caps, test_refcount): Fix
27361         borken refcounting.
27362
27363         * gst/gstpad.c (gst_pad_set_caps): Remove needless refs,
27364         gst_caps_replace takes care of this for us.
27365
27366         * gst/gstghostpad.c (gst_proxy_pad_do_setcaps): Call the full
27367         gst_pad_set_caps on the target, not just its setcaps() function.
27368
27369         * tests/network-clock.scm: 
27370         * tests/network-clock-utils.scm: A network clock simulator.
27371         Something of an algorithmic testbed before doing something in C.
27372
27373 2005-06-22  Thomas Vander Stichele  <thomas at apestaart dot org>
27374
27375         * check/Makefile.am:
27376         * check/gst/capslist.h:
27377           copy over from 0.8, and add two with bitmasks specified with
27378           (int) 0xFF...
27379         * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
27380           add test to parse everything from capslist.h
27381         * check/gst/gststructure.c: (START_TEST), (gst_value_suite),
27382         (main):
27383           add test for structure deserialization
27384         * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
27385           add tests for deserialization of strings to int types
27386         * gst/gststructure.c: (gst_structure_nth_field_name):
27387         * gst/gststructure.h:
27388           add a way to get the name of a field referenced by index
27389         * gst/gstvalue.c: (gst_value_deserialize_int_helper):
27390           instead of checking if the resulting long long lies between
27391           min and max, we check if the long long would fit into
27392           a number of bytes for the final type.
27393           This fixes cases where a string represents 2^32 - 1, which
27394           when cast to int would be the (valid) -1, but is bigger than
27395           G_MAXINT
27396
27397 2005-06-22  Thomas Vander Stichele  <thomas at apestaart dot org>
27398
27399         * gst/parse/grammar.y:
27400           add a log line for type deserialization
27401
27402 2005-06-22  Thomas Vander Stichele  <thomas at apestaart dot org>
27403
27404         * check/gst/gstvalue.c: (START_TEST):
27405         * gst/gstvalue.c: (gst_value_deserialize):
27406           return long long, not int, so gint64 deserialization actually
27407           works.  Is there any flag that makes the compiler check this ?
27408           Fixes #308559
27409
27410 2005-06-22  Wim Taymans  <wim@fluendo.com>
27411
27412         * gst/gstbuffer.h:
27413         Added convenience macros for setting buffers in GValue.
27414
27415 2005-06-21  Thomas Vander Stichele  <thomas at apestaart dot org>
27416
27417         * check/gst/.cvsignore:
27418         * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
27419           add a test deserializing int64, and comment part out because
27420           it fails, yay !
27421
27422 2005-06-21  Thomas Vander Stichele  <thomas at apestaart dot org>
27423
27424         * check/Makefile.am:
27425         * check/gst/gstvalue.c: (START_TEST), (gst_value_suite), (main):
27426         * testsuite/Makefile.am:
27427         * testsuite/caps/Makefile.am:
27428         * testsuite/caps/value_serialize.c:
27429         * testsuite/test_gst_init.c:
27430           move a value_serialize test over
27431
27432 2005-06-20  Wim Taymans  <wim@fluendo.com>
27433
27434         * gst/gstpad.c:
27435         Small doc updates.
27436         
27437         * gst/gstvalue.c: (gst_value_compare_buffer),
27438         (gst_value_serialize_buffer), (gst_value_deserialize_buffer),
27439         (gst_value_compare_flags), (gst_value_serialize_flags),
27440         (gst_value_deserialize_flags), (_gst_value_initialize):
27441         Fix serialisation of buffers, they are not boxed types anymore
27442
27443 2005-06-20  Wim Taymans  <wim@fluendo.com>
27444
27445         * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
27446         Testcase to show error in buffer-on-caps serialisation.
27447
27448 2005-06-20  Andy Wingo  <wingo@pobox.com>
27449
27450         * docs/random/wingo/porting-plugins-to-0.9: A pitiful document I
27451         will be adding to later.
27452
27453         * gst/gstsystemclock.c (gst_system_clock_init): Unlock the clock
27454         if its socks fill with rocks.
27455         (gst_system_clock_obtain): Set the name on object construction.
27456         Avoid double-checked locking.
27457
27458 2005-06-20  Tim-Philipp Müller  <tim at centricular dot net>
27459
27460         * gst/gsturi.c: (gst_element_make_from_uri):
27461           Fix potential endless loop.
27462
27463 2005-06-19  Thomas Vander Stichele  <thomas at apestaart dot org>
27464
27465         * check/Makefile.am:
27466           add gsttag
27467         * check/gst/gsttag.c: (check_tags), (START_TEST), (gst_tag_suite),
27468         (main):
27469           move over from testsuite dir and clean up
27470         * configure.ac:
27471         * gst/gsttag.c:
27472         * testsuite/Makefile.am:
27473         * testsuite/tags/.cvsignore:
27474         * testsuite/tags/Makefile.am:
27475         * testsuite/tags/merge.c:
27476           remove testsuite/tags
27477
27478 2005-06-19  Thomas Vander Stichele  <thomas at apestaart dot org>
27479
27480         * docs/gst/gstreamer-sections.txt:
27481         * docs/gst/tmpl/gstenumtypes.sgml:
27482         * win32/gstenumtypes.c:
27483           clean up documentation build a little
27484
27485 2005-06-19  Thomas Vander Stichele  <thomas at apestaart dot org>
27486
27487         * check/gstcheck.h:
27488           add macros for checking refcounts on objects and caps
27489         * check/gst/gstpad.c: (START_TEST), (gst_pad_suite):
27490           add some more unit tests
27491         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
27492         (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_allowed_caps):
27493           fix leaked refcounts (I hope :)) so unittest works
27494         * gst/gstpad.h:
27495           whitespace removal
27496
27497 2005-06-19  Thomas Vander Stichele  <thomas at apestaart dot org>
27498
27499         * configure.ac: back to HEAD
27500
27501 === release 0.9.1 ===
27502
27503 2005-06-17  Thomas Vander Stichele  <thomas at apestaart dot org>
27504
27505         * NEWS:
27506         * RELEASE:
27507           updated
27508
27509 2005-06-17  Andy Wingo  <wingo@pobox.com>
27510
27511         * gst/base/gstbasesink.c (gst_basesink_chain): Remove bogus
27512         assert; it's always possible that the pad gets deactivated in
27513         between the checks in gstpad.c and the implementation. Rely on
27514         finish_preroll() to return a FLUSHING or similar instead of on the
27515         assert.
27516         
27517         * gst/base/gstbasesink.c (gst_basesink_event): Only wait for the
27518         clock and post an EOS message if we come out of finish_preroll in
27519         the playing state.
27520
27521 2005-06-16  David Schleef  <ds@schleef.org>
27522
27523         * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
27524         (gst_capsfilter_set_property): Allow NULL as possible value
27525         for filter_caps property, indicating GST_CAPS_ANY.
27526
27527 2005-06-09  Thomas Vander Stichele  <thomas at apestaart dot org>
27528
27529         * gst/elements/gstfakesrc.c: (gst_fakesrc_create):
27530           fix debug output
27531         * gst/schedulers/Makefile.am:
27532           use libgst prefix
27533         * gstreamer.spec.in:
27534           fix spec for it
27535
27536 2005-06-09  Thomas Vander Stichele  <thomas at apestaart dot org>
27537
27538         * gstreamer.spec.in:
27539           clean up
27540
27541 2005-06-08  Andy Wingo  <wingo@pobox.com>
27542
27543         * gst/gstutils.c: RPAD fixes all around.
27544         (gst_element_link_pads): Refcounting fixes.
27545
27546         * tools/gst-inspect.c:
27547         * tools/gst-xmlinspect.c:
27548         * parse/grammar.y:
27549         * gst/base/gsttypefindhelper.c:
27550         * gst/base/gstbasesink.c:
27551         * gst/gstqueue.c: RPAD fixes.
27552
27553         * gst/gstghostpad.h:
27554         * gst/gstghostpad.c: New ghost pad implementation as full proxy
27555         pads. The tricky thing is they provide both source and sink
27556         interfaces, since they proxy the internal pad for the external
27557         pad, and vice versa. Implement with lower-level ProxyPad objects,
27558         with the interior proxy pad as a child of the exterior ghost pad.
27559         Should write a doc on this.
27560         
27561         * gst/gstpad.h: s/RPAD/PAD/, s/RealPad/Pad/.
27562         (gst_pad_set_name, gst_pad_set_parent): Macros removed, use
27563         gst_object API.
27564         
27565         * gst/gstpad.c: Big changes. No more stub base GstPad, now all
27566         pads are real pads. No ghost pads in this file. Not documenting
27567         the myriad s/RPAD/PAD/ and REALIZE fixes.
27568         (gst_pad_class_init): Add properties for "direction" and
27569         "template". Both are construct-only, so they can't change during
27570         the life of the pad. Fixes properly deriving from GstPad.
27571         (gst_pad_custom_new, gst_pad_custom_new_from_template): Gone. For
27572         derived objects, just set properties when creating the objects via
27573         g_object_new.
27574         (gst_pad_get_parent): Implement as a function, return NULL if the
27575         parent is not an element.
27576         (gst_pad_get_real_parent, gst_pad_add_ghost_pad)
27577         (gst_pad_remove_ghost_pad, gst_pad_realize): Removed.
27578         
27579         * gst/gstobject.c (gst_object_class_init): Make name a construct
27580         property. Don't set it in the object init.
27581
27582         * gst/gstelement.c (gst_element_add_pad): Don't allow adding pads
27583         with UNKNOWN direction.
27584         (gst_element_add_ghost_pad): Remove non-orthogonal API. Replace
27585         with gst_element_add_pad (e, gst_ghost_pad_new (name, pad)).
27586         (gst_element_remove_pad): Remove ghost-pad special cases.
27587         (gst_element_pads_activate): Remove rpad cruft.
27588
27589         * gst/gstbin.c (gst_bin_change_state): Use gst_pad_get_parent to
27590         catch the pad's-parent-not-an-element case.
27591
27592         * gst/gst.h: Include gstghostpad.h.
27593
27594         * gst/gst.c (init_post): No more real, ghost pads.
27595
27596         * gst/Makefile.am: Add gstghostpad.[ch].
27597
27598         * check/Makefile.am:
27599         * check/gst/gstbin.c:
27600         * check/gst/gstghostpad.c (test_ghost_pads): Check that linking
27601         into a bin creates ghost pads, and that the refcounts are right.
27602         Partly moved from gstbin.c.
27603
27604 2005-06-08  Thomas Vander Stichele  <thomas at apestaart dot org>
27605
27606         * check/gst-libs/.cvsignore:
27607         * check/gst/.cvsignore:
27608         * check/pipelines/.cvsignore:
27609           ignore more
27610         * check/pipelines/cleanup.c: (setup_pipeline), (run_pipeline),
27611         (START_TEST), (cleanup_suite), (main):
27612           add some tests related to cleanup after running pipelines
27613
27614 2005-06-08  Thomas Vander Stichele  <thomas at apestaart dot org>
27615
27616         * check/gst/gstbuffer.c: (START_TEST), (gst_test_suite), (main):
27617           add a testsuite for GstBuffer
27618
27619 2005-06-08  Thomas Vander Stichele  <thomas at apestaart dot org>
27620
27621         * gst/gstminiobject.h:
27622           add defines for accessing the refcount
27623
27624 2005-06-03  Stefan Kost  <ensonic@users.sf.net>
27625
27626         * Makefile.am: added support for html unit test coverage reports
27627
27628 2005-06-03  Jan Schmidt  <thaytan@mad.scientist.com>
27629
27630         * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
27631           Free existing caps if the capsfilter changes. Add a FIXME about
27632           setting those caps on the pads.
27633
27634         * gst/gstutils.c: (gst_element_get_compatible_pad), (ghost_up):
27635           Before adding a ghost pad to a parent bin, check that there isn't
27636           already one for the element on the bin. Prevents infinite recursion
27637           when using decodebin in parse pipelines. Andy says he'll rewrite the
27638           way this works anyway, so ignore the hack.
27639
27640 2005-06-02  Andy Wingo  <wingo@pobox.com>
27641
27642         * gst/elements/gsttypefindelement.c (do_pull_typefind): Query the
27643         file size, pass it on to the type find helper.
27644
27645         * gst/base/gstbasesrc.c (gst_basesrc_do_seek): Set the
27646         segment_start and segment_end properly according to the seek
27647         method. Segment_end is still a bit flaky because offset can be
27648         negative for CUR and END cases, but it takes -1 as an "unset"
27649         value.
27650
27651 2005-06-02  Wim Taymans  <wim@fluendo.com>
27652
27653         * gst/base/gstbasesink.c: (gst_basesink_pad_buffer_alloc),
27654         (gst_base_sink_buffer_alloc), (gst_basesink_preroll_queue_push),
27655         (gst_basesink_activate):
27656         * gst/base/gstbasesink.h:
27657         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
27658         (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
27659         (gst_pad_query), (gst_pad_start_task):
27660         * gst/gstpad.h:
27661         * gst/gstqueue.c: (gst_queue_bufferalloc),
27662         (gst_queue_handle_sink_event), (gst_queue_chain):
27663         Bufferalloc: return GstFlowReturn to more accuratly report
27664         why allocation failed.
27665
27666 2005-06-02  Wim Taymans  <wim@fluendo.com>
27667
27668         * gst/gstpipeline.c: (gst_pipeline_send_event):
27669         Take snapshot of state without blocking.
27670
27671 2005-06-02  Wim Taymans  <wim@fluendo.com>
27672
27673         * docs/design/part-TODO.txt:
27674         * docs/design/part-caps.txt:
27675         * docs/design/part-clocks.txt:
27676         * docs/design/part-negotiation.txt:
27677         * docs/design/part-preroll.txt:
27678         Small doc updates 
27679
27680 2005-05-30  Wim Taymans  <wim@fluendo.com>
27681
27682         * gst/elements/gstidentity.c: (gst_identity_event),
27683         (gst_identity_transform), (gst_identity_get_property):
27684         Protect last_message property as it is accessed from
27685         multiple threads.
27686
27687 2005-05-30  Wim Taymans  <wim@fluendo.com>
27688
27689         * gst/gstelement.c: (gst_element_init),
27690         (gst_element_pads_activate), (gst_element_change_state):
27691         Slicker pad activation code.
27692
27693 2005-05-30  Wim Taymans  <wim@fluendo.com>
27694
27695         * gst/Makefile.am:
27696         * gst/gstelement.h:
27697         * gst/gstelementfactory.h:
27698         * gst/gsttypes.h:
27699         Move elementfactory methods to separate .h file.
27700
27701 2005-05-30  Wim Taymans  <wim@fluendo.com>
27702
27703         * docs/design/part-overview.txt:
27704         * gst/gstsystemclock.h:
27705         Small typo fixes, doc updates.
27706
27707 2005-05-30  Wim Taymans  <wim@fluendo.com>
27708
27709         * gst/gst.c: (gst_init_get_popt_table), (init_post),
27710         (init_popt_callback):
27711         Remove cpu-opt flag.
27712
27713 2005-05-30  Wim Taymans  <wim@fluendo.com>
27714
27715         * gst/gstbuffer.c: (gst_subbuffer_finalize),
27716         (gst_buffer_create_sub), (gst_buffer_is_span_fast):
27717         * gst/gstbuffer.h:
27718         Avoid typechecking in places where not needed.
27719         Added accessor for malloc_data.
27720
27721 2005-05-30  Wim Taymans  <wim@fluendo.com>
27722
27723         * gst/gstpad.c: (gst_real_pad_init), (gst_pad_set_active),
27724         (gst_pad_link_prepare), (gst_pad_link), (gst_pad_accept_caps),
27725         (gst_pad_configure_sink), (gst_pad_configure_src),
27726         (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_send_event),
27727         (gst_pad_start_task):
27728         Propagate errors from _set_caps() in configure_src/sink
27729         functions instead of returning TRUE.
27730         FLUSH events can travel up and downstream
27731
27732
27733 2005-05-30  Wim Taymans  <wim@fluendo.com>
27734
27735         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
27736         (gst_basesink_activate):
27737         Handle EOS in preroll.
27738
27739 2005-05-30  Wim Taymans  <wim@fluendo.com>
27740
27741         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
27742         (gst_queue_loop), (gst_queue_handle_src_event):
27743         Remove old pieces of code
27744         Flushing the queue in an upstream event is a very bad idea.
27745
27746 2005-05-26  Andy Wingo  <wingo@pobox.com>
27747
27748         * gst/gstminiobject.c (gst_value_mini_object_collect): Use
27749         gst_value_set_mini_object so as to add a ref on the object (which
27750         will be removed when the value is unset).
27751
27752         * gst/elements/gstfakesink.c (gst_fakesink_class_init): Fix signal
27753         arg type in ::handoff.
27754
27755         * gst/gstelement.c (gst_element_change_state): Also deactivate
27756         pads in READY->NULL, just in case the element didn't make it to
27757         PAUSED. Wingo tested, Wim approved.
27758
27759 2005-05-26  Wim Taymans  <wim@fluendo.com>
27760
27761         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
27762         (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
27763         (gst_pad_query), (gst_pad_send_event), (gst_pad_start_task):
27764         A flushing pad cannot be used to alloc_buffer from.
27765
27766 2005-05-26  Wim Taymans  <wim@fluendo.com>
27767
27768         * gst/gstbus.c: (gst_bus_init), (gst_bus_dispose), (gst_bus_post),
27769         (gst_bus_pop), (gst_bus_source_prepare), (gst_bus_source_check),
27770         (gst_bus_source_dispatch), (gst_bus_source_finalize),
27771         (gst_bus_create_watch), (gst_bus_add_watch_full):
27772         * gst/gstbus.h:
27773         Implement a real GSource and use g_main_context_wakeup() to
27774         signal new messages instead of the socketpair.
27775
27776 2005-05-25  Wim Taymans  <wim@fluendo.com>
27777
27778         * gst/gstbin.c: (bin_element_is_sink), (has_ancestor),
27779         (bin_element_is_semi_sink), (append_child), (gst_bin_change_state):
27780         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
27781         (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
27782         (gst_pad_send_event), (gst_pad_start_task):
27783         * gst/gstqueue.c: (gst_queue_init), (gst_queue_locked_flush),
27784         (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
27785         (gst_queue_sink_activate), (gst_queue_src_activate),
27786         (gst_queue_change_state):
27787         * gst/gstqueue.h:
27788         Fix state changes for non sinks. We now change sinks, then elements
27789         with unconnected srcpads, then the rest.
27790         More efficient queue unlocking in flush and state changes.
27791         Set the pad activate mode even if it does not have an activate
27792         function.
27793
27794 2005-05-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
27795
27796         * gst/base/gstbasesrc.c: (gst_basesrc_activate):
27797           Don't go in pull mode for non-seekable sources.
27798         * gst/elements/gsttypefindelement.h:
27799         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
27800         (gst_type_find_element_dispose), (gst_type_find_handle_src_query),
27801         (free_entry), (stop_typefinding),
27802         (gst_type_find_element_handle_event), (find_peek),
27803         (gst_type_find_element_chain), (do_pull_typefind),
27804         (gst_type_find_element_change_state):
27805           Allow typefinding (w/o seeking) in push-mode, simplified version
27806           of what was in 0.8.
27807         * gst/gstutils.c: (gst_buffer_join):
27808         * gst/gstutils.h:
27809           gst_buffer_join() from 0.8.
27810
27811 2005-05-25  Wim Taymans  <wim@fluendo.com>
27812
27813         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
27814         (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
27815         (gst_pad_send_event), (gst_pad_start_task):
27816         Disable attempt at mode switching until it is figured out.
27817
27818 2005-05-25  Wim Taymans  <wim@fluendo.com>
27819
27820         * gst/base/gstadapter.c: (gst_adapter_peek), (gst_adapter_flush):
27821         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
27822         (gst_basesink_finish_preroll), (gst_basesink_chain),
27823         (gst_basesink_loop), (gst_basesink_activate),
27824         (gst_basesink_change_state):
27825         * gst/base/gstbasesrc.c: (gst_basesrc_do_seek),
27826         (gst_basesrc_get_range), (gst_basesrc_loop),
27827         (gst_basesrc_activate):
27828         * gst/elements/gsttee.c: (gst_tee_sink_activate):
27829         * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
27830         (gst_real_pad_init), (gst_real_pad_set_property),
27831         (gst_real_pad_get_property), (gst_pad_set_active),
27832         (gst_pad_is_active), (gst_pad_get_query_types), (gst_pad_unlink),
27833         (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_real_parent),
27834         (gst_real_pad_get_caps_unlocked), (gst_pad_peer_get_caps),
27835         (gst_pad_accept_caps), (gst_pad_get_peer), (gst_pad_realize),
27836         (gst_pad_event_default_dispatch), (gst_pad_event_default),
27837         (gst_pad_dispatcher), (gst_pad_query), (gst_real_pad_dispose),
27838         (gst_pad_save_thyself), (handle_pad_block), (gst_pad_chain),
27839         (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
27840         (gst_pad_send_event), (gst_pad_start_task), (gst_pad_pause_task),
27841         (gst_pad_stop_task):
27842         * gst/gstpad.h:
27843         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
27844         (gst_queue_loop), (gst_queue_src_activate):
27845         * gst/gsttask.c: (gst_task_init), (gst_task_set_lock),
27846         (gst_task_get_state):
27847         * gst/gsttask.h:
27848         * gst/schedulers/threadscheduler.c:
27849         (gst_thread_scheduler_task_start), (gst_thread_scheduler_func):
27850         Implement gst_pad_pause/start/stop_task(), take STREAM lock
27851         in task function.
27852         Remove ACTIVE pad flag, use FLUSHING everywhere
27853         Added _pad_chain(), _pad_get_range() to call chain/getrange 
27854         functions.
27855         Add locks around IS_FLUSHING when reading.
27856         Take STREAM lock in chain(), get_range() functions so plugins
27857         don't need to take it anymore.
27858         
27859
27860
27861 2005-05-25  Wim Taymans  <wim@fluendo.com>
27862
27863         * tools/gst-launch.c: (event_loop):
27864         Unref message after using its contents instead of
27865         before.
27866
27867 2005-05-24  Wim Taymans  <wim@fluendo.com>
27868
27869         * docs/design/draft-ghostpads.txt:
27870         * docs/design/draft-push-pull.txt:
27871         * docs/design/draft-query.txt:
27872         * docs/design/part-overview.txt:
27873         Docs updates, added general overview doc.
27874
27875 2005-05-21  David Schleef  <ds@schleef.org>
27876
27877         * docs/gst/tmpl/old/GstBin.sgml:
27878         * docs/gst/tmpl/old/GstBuffer.sgml:
27879         * docs/gst/tmpl/old/GstCaps.sgml:
27880         * docs/gst/tmpl/old/GstClock.sgml:
27881         * docs/gst/tmpl/old/GstCompat.sgml:
27882         * docs/gst/tmpl/old/GstData.sgml:
27883         * docs/gst/tmpl/old/GstElement.sgml:
27884         * docs/gst/tmpl/old/GstEvent.sgml:
27885         * docs/gst/tmpl/old/GstIndex.sgml:
27886         * docs/gst/tmpl/old/GstStructure.sgml:
27887         * docs/gst/tmpl/old/GstTag.sgml:
27888         * docs/gst/tmpl/old/cothreads.sgml:
27889         * docs/gst/tmpl/old/cothreads_compat.sgml:
27890         * docs/gst/tmpl/old/gettext.sgml:
27891         * docs/gst/tmpl/old/gobject2gtk.sgml:
27892         * docs/gst/tmpl/old/grammar.tab.sgml:
27893         * docs/gst/tmpl/old/gst-i18n-app.sgml:
27894         * docs/gst/tmpl/old/gst-i18n-lib.sgml:
27895         * docs/gst/tmpl/old/gst_private.sgml:
27896         * docs/gst/tmpl/old/gstaggregator.sgml:
27897         * docs/gst/tmpl/old/gstarch.sgml:
27898         * docs/gst/tmpl/old/gstatomic_impl.sgml:
27899         * docs/gst/tmpl/old/gstbufferstore.sgml:
27900         * docs/gst/tmpl/old/gstdata_private.sgml:
27901         * docs/gst/tmpl/old/gstdisksink.sgml:
27902         * docs/gst/tmpl/old/gstdisksrc.sgml:
27903         * docs/gst/tmpl/old/gstelementfactory.sgml:
27904         * docs/gst/tmpl/old/gstextratypes.sgml:
27905         * docs/gst/tmpl/old/gstfakesink.sgml:
27906         * docs/gst/tmpl/old/gstfakesrc.sgml:
27907         * docs/gst/tmpl/old/gstfdsink.sgml:
27908         * docs/gst/tmpl/old/gstfdsrc.sgml:
27909         * docs/gst/tmpl/old/gstfilesink.sgml:
27910         * docs/gst/tmpl/old/gstfilesrc.sgml:
27911         * docs/gst/tmpl/old/gsthttpsrc.sgml:
27912         * docs/gst/tmpl/old/gstidentity.sgml:
27913         * docs/gst/tmpl/old/gstindexfactory.sgml:
27914         * docs/gst/tmpl/old/gstmarshal.sgml:
27915         * docs/gst/tmpl/old/gstmd5sink.sgml:
27916         * docs/gst/tmpl/old/gstmultidisksrc.sgml:
27917         * docs/gst/tmpl/old/gstmultifilesrc.sgml:
27918         * docs/gst/tmpl/old/gstpadtemplate.sgml:
27919         * docs/gst/tmpl/old/gstpipefilter.sgml:
27920         * docs/gst/tmpl/old/gstschedulerfactory.sgml:
27921         * docs/gst/tmpl/old/gstsearchfuncs.sgml:
27922         * docs/gst/tmpl/old/gstshaper.sgml:
27923         * docs/gst/tmpl/old/gstspider.sgml:
27924         * docs/gst/tmpl/old/gstspideridentity.sgml:
27925         * docs/gst/tmpl/old/gststatistics.sgml:
27926         * docs/gst/tmpl/old/gsttee.sgml:
27927         * docs/gst/tmpl/old/gsttimecache.sgml:
27928         * docs/gst/tmpl/old/gsttypefindfactory.sgml:
27929         * docs/gst/tmpl/old/gstxmlregistry.sgml:
27930         * docs/gst/tmpl/old/gthread-cothreads.sgml:
27931         * docs/gst/tmpl/old/types.sgml:
27932           I didn't intend to add these or check them in.
27933
27934 2005-05-19  David Schleef  <ds@schleef.org>
27935
27936         * configure.ac: Use -no-common everywhere.  In a sane world, it
27937           would be the default in libtool, because without it, you can't
27938           build DLLs on Windows.
27939         * docs/gst/gstreamer-docs.sgml: Remove GstCpu, GstData, GstThread
27940         * docs/gst/gstreamer-sections.txt:
27941         * docs/gst/tmpl/gstcpu.sgml:
27942         * docs/gst/tmpl/gstdata.sgml:
27943         * docs/gst/tmpl/gstthread.sgml:
27944
27945 2005-05-19  David Schleef  <ds@schleef.org>
27946
27947         * gst/gstminiobject.c: (gst_value_set_mini_object),
27948         (gst_value_take_mini_object), (gst_value_get_mini_object):
27949         * gst/gstminiobject.h: Add GValue set/get functions.
27950
27951 2005-05-19  Wim Taymans  <wim@fluendo.com>
27952
27953         * gst/gstbuffer.c: (gst_buffer_init), (gst_subbuffer_get_type),
27954         (gst_subbuffer_class_init), (gst_subbuffer_finalize),
27955         (gst_subbuffer_init), (gst_buffer_is_span_fast):
27956         * gst/gstbuffer.h:
27957         * gst/gstbus.c: (gst_bus_post):
27958         * gst/gstelement.c: (gst_element_get_random_pad):
27959         * gst/gstmessage.c: (gst_message_init), (gst_message_finalize):
27960         Make subbufer unref the parent in finalize.
27961         some more debugging info.
27962
27963
27964 2005-05-19  Wim Taymans  <wim@fluendo.com>
27965
27966         * gst/base/gstbasesink.c: (gst_basesink_class_init),
27967         (gst_basesink_init), (gst_basesink_finalize),
27968         (gst_basesink_activate), (gst_basesink_change_state):
27969         Don't free preroll queue too early.
27970
27971 2005-05-19  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
27972
27973         * gst/Makefile.am:
27974         * gst/ROADMAP:
27975           Hi, I'm outdated. Please shoot me.
27976
27977 2005-05-19  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
27978
27979         * gst/gstpipeline.c: (gst_pipeline_send_event):
27980           Do not access variables after they have been deleted.
27981
27982 2005-05-19  Wim Taymans  <wim@fluendo.com>
27983
27984         * tools/gst-inspect.c: (print_plugin_features):
27985         A plugin feature does unfortunatly not use the
27986         object name yet...
27987
27988 2005-05-18  Wim Taymans  <wim@fluendo.com>
27989
27990         * gst/gstbuffer.c: (gst_buffer_is_span_fast), (gst_buffer_span):
27991         Port _span() functions to new subbuffers.
27992
27993 2005-05-18  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
27994
27995         * gst/gstbin.c: (gst_bin_add_func):
27996           Fix clock settery in bins when adding kids after the clock has
27997           been selected.
27998
27999 2005-05-18  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
28000
28001         * gst/elements/gstidentity.c: (gst_identity_class_init):
28002           Workaround until signals support GstMiniObject.
28003
28004 2005-05-18  Jan Schmidt  <thaytan@mad.scientist.com>
28005
28006         * gst/gstbuffer.c:
28007         Oops, fix a typo GST_TYPE_BUFFER -> GST_TYPE_SUBBUFFER.
28008
28009 2005-05-18  Wim Taymans  <wim@fluendo.com>
28010
28011         * gst/base/Makefile.am:
28012         * gst/base/gstadapter.c: (gst_adapter_base_init),
28013         (gst_adapter_class_init), (gst_adapter_init),
28014         (gst_adapter_dispose), (gst_adapter_finalize), (gst_adapter_new),
28015         (gst_adapter_clear), (gst_adapter_push), (gst_adapter_peek),
28016         (gst_adapter_flush), (gst_adapter_available),
28017         (gst_adapter_available_fast):
28018         * gst/base/gstadapter.h:
28019         Ported and added adapter to the base classes.
28020
28021 2005-05-17  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
28022
28023         * gst/gst.c:
28024         * gst/gstmessage.c:
28025           Make sure the class is reffed/unreffed once before threads can be
28026           used.  Fixes #304551.
28027
28028 2005-05-17  Wim Taymans  <wim@fluendo.com>
28029
28030         * gst/base/gstbasesink.c: (gst_basesink_finish_preroll),
28031         (gst_basesink_chain_unlocked), (gst_basesink_activate):
28032         * gst/gstminiobject.c: (gst_mini_object_get_type),
28033         (gst_mini_object_free):
28034         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query),
28035         (gst_pad_push), (gst_pad_push_event):
28036         * gst/gstqueue.c: (gst_queue_change_state):
28037         Don't queue buffers in basesink when we are flushing.
28038         Unref buffer when flushing in basesink.
28039         Flush queue when going to READY
28040         Unref buffer when _push() returns an error.
28041         Don't free MiniObject instance when refcount is incremented
28042         in _finalize() so that we can recover objects.
28043
28044 2005-05-17  Thomas Vander Stichele  <thomas at apestaart dot org>
28045
28046         * docs/manual/advanced-schedulers.xml:
28047         * docs/manual/appendix-checklist.xml:
28048         * docs/pwg/advanced-clock.xml:
28049         * docs/pwg/advanced-interfaces.xml:
28050         * docs/pwg/advanced-request.xml:
28051         * docs/pwg/advanced-types.xml:
28052         * docs/pwg/intro-preface.xml:
28053         * examples/plugins/example.c: (gst_example_get_type),
28054         (gst_example_class_init), (gst_example_chain),
28055         (gst_example_set_property), (gst_example_get_property),
28056         (gst_example_change_state), (plugin_init):
28057         * examples/plugins/example.h:
28058           small doc fixes
28059
28060 2005-05-17  Wim Taymans  <wim@fluendo.com>
28061
28062         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps),
28063         (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_push):
28064         * gst/gstqueue.c: (gst_queue_change_state):
28065         Clear queue when going to READY.
28066         Remove IN_SETCAPS flag too.
28067
28068 2005-05-17  Tim-Philipp Müller  <tim at centricular dot net>
28069
28070         * gst/base/gstbasesrc.c: (gst_basesrc_change_state):
28071           Remove implicit cast from gboolean to GstElementStateReturn;
28072           make sure we still return failure in paused => ready case if
28073           the parent class fails to change state and our own stop 
28074           vfunc succeeds.
28075
28076 2005-05-17  Wim Taymans  <wim@fluendo.com>
28077
28078         * tools/gst-launch.c: (event_loop):
28079         Message was unreffed too soon.
28080
28081 2005-05-16  Andy Wingo  <wingo@pobox.com>
28082
28083         * gst/gstbin.c (sink_iterator_filter): Err... um...
28084
28085         * check/gst/gstbin.c (test_ghost_pads): New test for the
28086         ghosting-if-elements-not-in-same-bin behavior.
28087
28088 2005-05-16  David Schleef  <ds@schleef.org>
28089
28090         * gst/gstminiobject.c: Use g_atomic_int_get() instead of
28091         accessing refcount directly.
28092
28093 2005-05-15  David Schleef  <ds@schleef.org>
28094
28095         * check/Makefile.am: remove GstData checks
28096         * check/gst-libs/gdp.c: (START_TEST): fix for API changes
28097         * gst/Makefile.am: add miniobject, remove data
28098         * gst/gst.h: add miniobject, remove data
28099         * gst/gstdata.c: remove
28100         * gst/gstdata.h: remove
28101         * gst/gstdata_private.h: remove
28102         * gst/gsttypes.h: remove GstEvent and GstMessage
28103         * gst/gstelement.c: (gst_element_post_message): fix for API changes
28104         * gst/gstmarshal.list: change BOXED -> OBJECT
28105
28106         Implement GstMiniObject.
28107         * gst/gstminiobject.c:
28108         * gst/gstminiobject.h:
28109
28110         Modify to be subclasses of GstMiniObject.
28111         * gst/gstbuffer.c: (_gst_buffer_initialize), (gst_buffer_get_type),
28112         (gst_buffer_class_init), (gst_buffer_finalize), (_gst_buffer_copy),
28113         (gst_buffer_init), (gst_buffer_new), (gst_buffer_new_and_alloc),
28114         (gst_subbuffer_get_type), (gst_subbuffer_init),
28115         (gst_buffer_create_sub), (gst_buffer_is_span_fast),
28116         (gst_buffer_span):
28117         * gst/gstbuffer.h:
28118         * gst/gstevent.c: (_gst_event_initialize), (gst_event_get_type),
28119         (gst_event_class_init), (gst_event_init), (gst_event_finalize),
28120         (_gst_event_copy), (gst_event_new):
28121         * gst/gstevent.h:
28122         * gst/gstmessage.c: (_gst_message_initialize),
28123         (gst_message_get_type), (gst_message_class_init),
28124         (gst_message_init), (gst_message_finalize), (_gst_message_copy),
28125         (gst_message_new), (gst_message_new_error),
28126         (gst_message_new_warning), (gst_message_new_tag),
28127         (gst_message_new_state_changed), (gst_message_new_application):
28128         * gst/gstmessage.h:
28129         * gst/gstprobe.c: (gst_probe_perform),
28130         (gst_probe_dispatcher_dispatch):
28131         * gst/gstprobe.h:
28132         * gst/gstquery.c: (_gst_query_initialize), (gst_query_get_type),
28133         (gst_query_class_init), (gst_query_finalize), (gst_query_init),
28134         (_gst_query_copy), (gst_query_new):
28135
28136         Update elements for GstData -> GstMiniObject changes
28137         * gst/gstquery.h:
28138         * gst/gstqueue.c: (gst_queue_finalize), (gst_queue_locked_flush),
28139         (gst_queue_chain), (gst_queue_loop):
28140         * gst/elements/gstbufferstore.c:
28141         (gst_buffer_store_add_buffer_func),
28142         (gst_buffer_store_cleared_func), (gst_buffer_store_get_buffer):
28143         * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
28144         (gst_fakesink_render):
28145         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
28146         * gst/elements/gstfilesrc.c: (gst_mmap_buffer_get_type),
28147         (gst_mmap_buffer_class_init), (gst_mmap_buffer_init),
28148         (gst_mmap_buffer_finalize), (gst_filesrc_map_region),
28149         (gst_filesrc_create_read):
28150         * gst/elements/gstidentity.c: (gst_identity_class_init):
28151         * gst/elements/gsttypefindelement.c:
28152         (gst_type_find_element_src_event), (free_entry_buffers),
28153         (gst_type_find_element_handle_event):
28154         * libs/gst/dataprotocol/dataprotocol.c:
28155         (gst_dp_header_from_buffer):
28156         * libs/gst/dataprotocol/dataprotocol.h:
28157         * libs/gst/dataprotocol/dp-private.h:
28158
28159 2005-05-15  David Schleef  <ds@schleef.org>
28160
28161         * gst/elements/gstelements.c: Don't include headers that were
28162         just removed.
28163
28164 2005-05-15  David Schleef  <ds@schleef.org>
28165
28166         * gst/elements/Makefile.am: Remove some elements that don't
28167         need to be in the core (or even exist at all).
28168         * gst/elements/gstaggregator.c:
28169         * gst/elements/gstaggregator.h:
28170         * gst/elements/gstmd5sink.c:
28171         * gst/elements/gstmd5sink.h:
28172         * gst/elements/gstmultifilesrc.c:
28173         * gst/elements/gstmultifilesrc.h:
28174         * gst/elements/gstpipefilter.c:
28175         * gst/elements/gstpipefilter.h:
28176         * gst/elements/gstshaper.c:
28177         * gst/elements/gstshaper.h:
28178         * gst/elements/gststatistics.c:
28179         * gst/elements/gststatistics.h:
28180         * po/POTFILES.in: Remove above files.
28181
28182 2005-05-14  Andy Wingo  <wingo@pobox.com>
28183
28184         * gst/gstbin.c (gst_bin_iterate_sinks): Use sink_iterator_filter
28185         so as to get the refs right.
28186         (sink_iterator_filter): New function, wraps bin_element_is_sink,
28187         unreffing objects that don't pass the filter.
28188
28189         * gst/gstpipeline.c (gst_pipeline_init): Drop ref on bus after
28190         gst_element_set_bus.
28191         (gst_pipeline_dispose): Set the bus on the pipeline to NULL. In
28192         normal cases, this will destroy the bus.
28193
28194         * gst/gstutils.c (prepare_link_maybe_ghosting): Drop ref on root
28195         object.
28196
28197         * gst/gstbin.c (gst_bin_change_state): Fix state changes if a bin
28198         has no sinks.
28199
28200 2005-05-13  Andy Wingo  <wingo@pobox.com>
28201
28202         * gst/gstutils.c (gst_element_link_pads): Instead of calling
28203         gst_pad_link, call pad_link_maybe_ghosting,
28204         (pad_link_maybe_ghosting): Links pads, making sure that the
28205         elements being linked are in the same bin.
28206         (find_common_root, object_has_ancestor, ghost_up, remove_pad):
28207         Helpers for pad_link_maybe_ghosting.
28208
28209 2005-05-13  Tim-Philipp Müller  <tim at centricular dot net>
28210
28211         * configure.ac:
28212           Require GLib >= 2.4.0 (for the g_atomic_* funcs)
28213
28214 2005-05-13  Tim-Philipp Müller  <tim at centricular dot net>
28215
28216         * docs/design/part-element-source.txt:
28217           Mention GstPushSrc
28218
28219 2005-05-12  Wim Taymans  <wim@fluendo.com>
28220
28221         * gst/base/gstbasesink.c: (gst_basesink_init),
28222         (gst_basesink_activate):
28223         * gst/base/gstbasesrc.c: (gst_basesrc_unlock),
28224         (gst_basesrc_is_seekable):
28225         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
28226         (bin_element_is_sink), (gst_bin_change_state):
28227         * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
28228         * gst/gstelement.h:
28229         Identify sinks by their flag to avoid overly complicated
28230         checks (fow now).
28231         Do state changes even for elements not reachable from the
28232         sinks.
28233         BaseSink is a sink now :)
28234         Some more debugging info in the basesrc.
28235
28236
28237 2005-05-12  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
28238
28239         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_query):
28240           Implement _query on a bin, similar to _send_event.
28241
28242 2005-05-12  Tim-Philipp Müller  <tim at centricular dot net>
28243
28244         * gst/base/gstbasesrc.c: (gst_basesrc_do_seek):
28245           Discont event offset format should be GST_FORMAT_BYTES,
28246           not GST_FORMAT_TIME.
28247
28248 2005-05-12  Wim Taymans  <wim@fluendo.com>
28249
28250         * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_get_state):
28251         Same fix as Ronald's but without the signal. 
28252
28253 2005-05-12  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
28254
28255         * gst/gstutils.c: (gst_element_query_position):
28256           No, an element is not a pad.
28257
28258 2005-05-12  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
28259
28260         * gst/gstbin.c: (gst_bin_add_func), (cb_parent_unset),
28261         (gst_bin_get_state):
28262           If a child is removed from a bin while we remove the child from
28263           the bin and while we're retrieving its state, signal this to the
28264           get_state function so we abort the wait (instead of waiting for
28265           a timeout) and can immediately re-iterate over all other elements.
28266
28267 2005-05-12  Wim Taymans  <wim@fluendo.com>
28268
28269         * gst/base/Makefile.am:
28270         * gst/base/gstbasesrc.c: (gst_basesrc_is_seekable),
28271         (gst_basesrc_start):
28272         * gst/base/gstbasesrc.h:
28273         * gst/base/gstpushsrc.c: (gst_pushsrc_get_type),
28274         (gst_pushsrc_base_init), (gst_pushsrc_class_init),
28275         (gst_pushsrc_init), (gst_pushsrc_create):
28276         * gst/base/gstpushsrc.h:
28277         Added is_seekable to BaseSrc
28278         Added simple PushSrc.
28279
28280 2005-05-11  Wim Taymans  <wim@fluendo.com>
28281
28282         * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
28283         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
28284         (gst_element_link_pads), (gst_element_query_position),
28285         (gst_element_query_convert), (intersect_caps_func),
28286         (gst_pad_query_position), (gst_pad_query_convert):
28287         Fix refcounting in utils function.
28288         No point in trying to activate a pad when it's added, it could
28289         be added from the state change function and then we deadlock, the
28290         element has to decide what to do.
28291
28292 2005-05-10  Andy Wingo  <wingo@pobox.com>
28293
28294         * gst/elements/gstfakesink.c (gst_fakesink_render): Er, emit with
28295         *all* the arguments.
28296
28297         * gst/base/gstbasetransform.c (gst_base_transform_event): Grab the
28298         stream lock if it's a FLUSH_DONE; normal flushes don't get the
28299         lock (according to the docs -- if this is wrong change the docs).
28300
28301         * gst/gstpipeline.c (gst_pipeline_change_state): Set the bus to
28302         flush messages in the NULL state.
28303
28304         * gst/gstbus.c (gst_bus_post): If a bus is flushing, unref the
28305         message immediately and return.
28306         (gst_bus_set_flushing): New function. If a bus is flushing, it
28307         flushes out any queued messages and immediately unrefs new
28308         messages. This is so when an element goes to NULL, all of the
28309         unhandled messages coming from it can be freed, and their
28310         references to the element dropped. In other words: message source
28311         ref considered harmful :P
28312
28313         * gst/gstbin.c (gst_bin_change_state): Unref peer element when
28314         we're finished with it.
28315
28316         * gst/gstmessage.c (gst_message_new_state_changed): 
28317
28318 2005-05-10  Wim Taymans  <wim@fluendo.com>
28319
28320         * gst/gstvalue.c: (gst_value_compare_flags),
28321         (gst_value_serialize_flags), (gst_value_deserialize_flags),
28322         (_gst_value_initialize):
28323         Added flags serialize/deserialize/compare code.
28324
28325 2005-05-09  Andy Wingo  <wingo@pobox.com>
28326
28327         * gst/base/gstbasetransform.c (gst_base_transform_proxy_getcaps):
28328         Intersect the peer's caps with our caps.
28329
28330 2005-05-09  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
28331
28332         * gst/base/gsttypefindhelper.c: (helper_find_peek):
28333         * gst/elements/gsttypefindelement.c: (find_peek):
28334           Handle negative offsets better. Fixes decodebin.
28335
28336 2005-05-09  Wim Taymans  <wim@fluendo.com>
28337
28338         * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps),
28339         (gst_base_transform_event):
28340         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query):
28341         Implement accept_caps.
28342         Fix silly lock/unlock mismatch in base class.
28343
28344 2005-05-09  Wim Taymans  <wim@fluendo.com>
28345
28346         * docs/design/draft-push-pull.txt:
28347         * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_query):
28348         * gst/elements/gstfilesink.c: (gst_filesink_init),
28349         (gst_filesink_query):
28350         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
28351         (gst_type_find_handle_src_query), (find_element_get_length):
28352         * gst/gstelement.c: (gst_element_seek), (gst_element_query):
28353         * gst/gstelement.h:
28354         * gst/gstmessage.c:
28355         * gst/gstmessage.h:
28356         * gst/gstpad.c: (gst_real_pad_init), (gst_pad_get_query_types),
28357         (gst_real_pad_get_caps_unlocked),
28358         (gst_pad_get_internal_links_default), (gst_pad_get_internal_links),
28359         (gst_pad_event_default_dispatch), (gst_pad_event_default),
28360         (gst_pad_dispatcher), (gst_pad_query), (gst_pad_query_default),
28361         (gst_real_pad_dispose), (gst_real_pad_finalize),
28362         (gst_pad_load_and_link), (gst_pad_save_thyself),
28363         (gst_ghost_pad_save_thyself), (handle_pad_block), (gst_pad_push),
28364         (gst_pad_check_pull_range), (gst_pad_pull_range),
28365         (gst_pad_template_get_type), (gst_pad_template_class_init),
28366         (gst_pad_template_init), (gst_pad_template_dispose),
28367         (name_is_valid), (gst_static_pad_template_get),
28368         (gst_pad_template_new), (gst_static_pad_template_get_caps),
28369         (gst_pad_template_get_caps), (gst_pad_set_element_private),
28370         (gst_pad_get_element_private), (gst_pad_start_task),
28371         (gst_pad_pause_task), (gst_pad_stop_task),
28372         (gst_ghost_pad_get_type), (gst_ghost_pad_class_init),
28373         (gst_ghost_pad_init), (gst_ghost_pad_dispose),
28374         (gst_ghost_pad_set_property), (gst_ghost_pad_get_property),
28375         (gst_ghost_pad_new):
28376         * gst/gstpad.h:
28377         * gst/gstquery.c: (_gst_query_initialize), (gst_query_new),
28378         (gst_query_new_position), (gst_query_set_position),
28379         (gst_query_parse_position), (gst_query_new_convert),
28380         (gst_query_set_convert), (gst_query_parse_convert):
28381         * gst/gstquery.h:
28382         * gst/gstqueryutils.c:
28383         * gst/gstqueryutils.h:
28384         * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
28385         (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
28386         (gst_queue_handle_src_query):
28387         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
28388         (gst_element_query_position), (gst_element_query_convert),
28389         (intersect_caps_func), (gst_pad_query_position),
28390         (gst_pad_query_convert):
28391         * gst/gstutils.h:
28392         * tools/gst-inspect.c: (print_pad_info):
28393         * tools/gst-xmlinspect.c: (print_element_info):
28394         Remove old query functions. Ported old code.
28395         Added position/convert helper functions to gstutils.
28396         Reordered gstpad.c code, grouping relevant things.
28397         Remove gst_message_new(), always need to speficy a specific
28398         message.
28399
28400
28401 2005-05-09  Andy Wingo  <wingo@pobox.com>
28402
28403         * gst/gstiterator.h: Add some includes.
28404
28405         * gst/gstqueryutils.h: Include more headers.
28406
28407         * gst/gstpad.h:
28408         * gst/gstpad.c (gst_pad_query_position): New routine, replaces
28409         some uses of gst_pad_query.
28410
28411         * gst/gstqueryutils.c: Build fixes. Make parse functions ignore
28412         NULL out parameters.
28413         (gst_query_new_position): New proc, allocates a new position
28414         query.
28415
28416         * gst/Makefile.am (libgstreamer_@GST_MAJORMINOR@_la_SOURCES): Add
28417         gstqueryutils.c to the build.
28418
28419         * gst/gststructure.c (gst_structure_set_valist): Implement with
28420         the generic G_VALUE_COLLECT.
28421         
28422 2005-05-08  Edward Hervey  <bilboed@bilboed.com>
28423
28424         * gst/Makefile.am: (gst_headers):
28425         Added gstqueryutils.h to the list of headers to install, that was
28426         a 'nachty' move wingo :)
28427
28428 2005-05-06  Andy Wingo  <wingo@pobox.com>
28429
28430         * gst/gstquery.h
28431         * gst/gstquery.c (_gst_query_initialize): Extend GstQuery from
28432         GstData, init a memchunk.
28433         (standard_definitions): Add a few query types, deprecate a few.
28434         (gst_query_get_type): New proc.
28435         (_gst_query_copy, _gst_query_free, gst_query_new): GstData
28436         implementation.
28437         (gst_query_new_application, gst_query_get_structure): New public
28438         procs.
28439
28440         * docs/design/draft-query.txt: Removed LINKS from the query types,
28441         because all the rest can be dispatched to other pads -- seemed
28442         ugly to have a query that couldn't be dispatched. internal_links
28443         is fine as a pad method.
28444
28445         * gst/gstpad.h: Add query2 as a pad method, add the new functions
28446         in gstpad.c, but maintain binary compatibility for the moment.
28447         Will fix before 0.9 is out.
28448
28449         * gst/gstqueryutils.c: 
28450         * gst/gstqueryutils.h: New files, implement 3 methods for each
28451         query type: parse_query, parse_response, and set. Probably need an
28452         allocator as well.
28453
28454         * gst/gst.h: Add gstquery.h and gstqueryutils.h to the list.
28455
28456         * gst/elements/gstfilesink.c (gst_filesink_query2):
28457         * gst/base/gstbasesrc.c (gst_basesrc_query2): Replace old query,
28458         query_types, and formats methods.
28459
28460         * gst/gstpad.c (gst_pad_query2, gst_pad_query2_default)
28461         (gst_pad_set_query2_function): New functions.
28462         (gst_real_pad_init): Set query2_default as the default query2
28463         function. Basically just dispatches to internally linked pads.
28464
28465         Needs review!
28466         
28467         * gst/gstdata_private.h (_GST_DATA_INIT): Set data->refcount to 1
28468         without using the atomic operations. Only one thread can possibly
28469         be accessing the data at this point. Changed so as to avoid
28470         gst_atomic operations.
28471
28472 2005-05-06  Wim Taymans  <wim@fluendo.com>
28473
28474         * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push):
28475         Also set caps if we use the fallback buffer alloc.
28476
28477 2005-05-06  Tim-Philipp Müller  <tim at centricular dot net>
28478
28479         * docs/gst/Makefile.am:
28480         * docs/gst/gstreamer-docs.sgml:
28481         * docs/gst/gstreamer-sections.txt:
28482         * docs/gst/tmpl/gstatomic.sgml:
28483         * docs/gst/tmpl/gstmemchunk.sgml:
28484         * testsuite/elements/struct_i386.h:
28485         * win32/GStreamer.vcproj:
28486         * win32/Makefile:
28487           Purge GstAtomic stuff from docs and win32 makefiles as well
28488
28489 2005-05-06  Wim Taymans  <wim@fluendo.com>
28490
28491         * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps):
28492         * gst/elements/gstcapsfilter.c: (gst_capsfilter_getcaps):
28493         * gst/gstpad.c: (gst_pad_peer_get_caps):
28494         * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
28495         (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
28496         (gst_queue_src_activate), (gst_queue_change_state):
28497         * gst/gstqueue.h:
28498         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
28499         (intersect_caps_func):
28500         Fix gst_pad_peer_get_caps(), make it return NULL if no peer.
28501         Always take QUEUE_LOCK after STREAM_LOCK or we might deadlock.
28502         Some fixes for the peer_get_caps() change.
28503
28504 2005-05-06  Wim Taymans  <wim@fluendo.com>
28505
28506         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
28507         (gst_basesink_handle_buffer), (gst_basesink_chain_unlocked),
28508         (gst_basesink_activate):
28509         Actually do something with error codes returned from the push
28510         functions.
28511
28512 2005-05-06  Wim Taymans  <wim@fluendo.com>
28513
28514         * docs/design/part-element-sink.txt:
28515         * docs/design/part-element-source.txt:
28516         * gst/base/gstbasesink.c: (gst_basesink_class_init),
28517         (gst_basesink_event), (gst_basesink_activate):
28518         * gst/base/gstbasesink.h:
28519         * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_unlock),
28520         (gst_basesrc_activate):
28521         * gst/base/gstbasesrc.h:
28522         * gst/gstelement.c: (gst_element_pads_activate):
28523         Some more documentation.
28524         Fixed scheduling decision in _pads_activate().
28525
28526 2005-05-05  Andy Wingo  <wingo@pobox.com>
28527
28528         * check/pipelines/simple_launch_lines.c (test_2_elements): "Fix"
28529         the test suite.
28530
28531 2005-05-05  Wim Taymans  <wim@fluendo.com>
28532
28533         * gst/base/Makefile.am:
28534         * gst/base/gstbasesink.h:
28535         * gst/base/gstbasesrc.c: (gst_basesrc_init),
28536         (gst_basesrc_set_dataflow_funcs), (gst_basesrc_query):
28537         * gst/base/gstcollectpads.c: (gst_collectpads_get_type),
28538         (gst_collectpads_class_init), (gst_collectpads_init),
28539         (gst_collectpads_finalize), (gst_collectpads_new),
28540         (gst_collectpads_set_function), (gst_collectpads_add_pad),
28541         (find_pad), (gst_collectpads_remove_pad),
28542         (gst_collectpads_is_active), (gst_collectpads_collect),
28543         (gst_collectpads_collect_range), (gst_collectpads_start),
28544         (gst_collectpads_stop), (gst_collectpads_peek),
28545         (gst_collectpads_pop), (gst_collectpads_available),
28546         (gst_collectpads_read), (gst_collectpads_flush),
28547         (gst_collectpads_chain):
28548         * gst/base/gstcollectpads.h:
28549         * gst/elements/Makefile.am:
28550         * gst/elements/gstelements.c:
28551         * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
28552         (gst_fakesink_get_times), (gst_fakesink_event),
28553         (gst_fakesink_preroll), (gst_fakesink_render):
28554         * gst/elements/gstfilesink.c: (gst_filesink_class_init),
28555         (gst_filesink_init), (gst_filesink_set_location),
28556         (gst_filesink_open_file), (gst_filesink_close_file),
28557         (gst_filesink_pad_query), (gst_filesink_event),
28558         (gst_filesink_render), (gst_filesink_change_state):
28559         * gst/elements/gstfilesink.h:
28560         Added object to help in making collect pad based elements.
28561         Ported filesink.
28562         Make event function in sink baseclass return gboolean.
28563
28564 2005-05-05  Wim Taymans  <wim@fluendo.com>
28565
28566         * gst/gstbin.c: (gst_bin_send_event), (compare_name),
28567         (gst_bin_get_by_name):
28568         * gst/gstbuffer.h:
28569         * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_class_init),
28570         (gst_clock_finalize):
28571         * gst/gstdata.c: (gst_data_replace):
28572         * gst/gstdata.h:
28573         * gst/gstelement.c: (gst_element_request_pad),
28574         (gst_element_pads_activate):
28575         * gst/gstobject.c: (gst_object_init), (gst_object_ref),
28576         (gst_object_unref):
28577         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
28578         (gst_pad_set_checkgetrange_function),
28579         (gst_pad_link_check_compatible_unlocked), (gst_pad_set_caps),
28580         (gst_pad_check_pull_range), (gst_pad_pull_range),
28581         (gst_static_pad_template_get_caps), (gst_pad_start_task),
28582         (gst_pad_pause_task), (gst_pad_stop_task):
28583         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
28584         (gst_element_request_pad), (gst_pad_proxy_getcaps):
28585         Fix name lookup in GstBin.
28586         Added _data_replace() function and _buffer_replace()
28587         Use finalize method to clean up clock.
28588         Fix refcounting on request pads.
28589         Fix pad schedule mode error.
28590         Some more object refcounting debug info,
28591
28592
28593 2005-05-04  Andy Wingo <wingo@pobox.com>
28594
28595         * check/Makefile.am:
28596         * docs/gst/tmpl/gstatomic.sgml:
28597         * docs/gst/tmpl/gstplugin.sgml:
28598         * gst/base/gstbasesink.c: (gst_basesink_activate):
28599         * gst/base/gstbasesrc.c: (gst_basesrc_class_init),
28600         (gst_basesrc_init), (gst_basesrc_set_dataflow_funcs),
28601         (gst_basesrc_query), (gst_basesrc_set_property),
28602         (gst_basesrc_get_property), (gst_basesrc_check_get_range),
28603         (gst_basesrc_activate):
28604         * gst/base/gstbasesrc.h:
28605         * gst/base/gstbasetransform.c: (gst_base_transform_sink_activate),
28606         (gst_base_transform_src_activate):
28607         * gst/elements/gstelements.c:
28608         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
28609         (gst_fakesrc_set_property), (gst_fakesrc_get_property):
28610         * gst/elements/gsttee.c: (gst_tee_sink_activate):
28611         * gst/elements/gsttypefindelement.c: (find_element_get_length),
28612         (gst_type_find_element_checkgetrange),
28613         (gst_type_find_element_activate):
28614         * gst/gstbin.c: (gst_bin_save_thyself), (gst_bin_restore_thyself):
28615         * gst/gstcaps.c: (gst_caps_do_simplify), (gst_caps_save_thyself),
28616         (gst_caps_load_thyself):
28617         * gst/gstelement.c: (gst_element_pads_activate),
28618         (gst_element_save_thyself), (gst_element_restore_thyself):
28619         * gst/gstpad.c: (gst_pad_load_and_link), (gst_pad_save_thyself),
28620         (gst_ghost_pad_save_thyself), (gst_pad_check_pull_range):
28621         * gst/gstpad.h:
28622         * gst/gstxml.c: (gst_xml_write), (gst_xml_parse_doc),
28623         (gst_xml_parse_file), (gst_xml_parse_memory),
28624         (gst_xml_get_element), (gst_xml_make_element):
28625         * gst/indexers/gstfileindex.c: (gst_file_index_load),
28626         (_file_index_id_save_xml), (gst_file_index_commit):
28627         * gst/registries/gstlibxmlregistry.c: (read_string), (read_uint),
28628         (read_enum), (load_pad_template), (load_feature), (load_plugin),
28629         (load_paths):
28630         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_caps),
28631         (gst_dp_packet_from_event), (gst_dp_caps_from_packet):
28632         * tools/gst-complete.c: (main):
28633         * tools/gst-compprep.c: (main):
28634         * tools/gst-inspect.c: (print_element_properties_info):
28635         * tools/gst-launch.c: (xmllaunch_parse_cmdline):
28636         * tools/gst-xmlinspect.c: (print_element_properties):
28637         GCC 4 fixen.
28638         
28639 2005-05-03  Thomas Vander Stichele  <thomas at apestaart dot org>
28640
28641         * gst/gstplugin.c: (gst_plugin_check_module),
28642         (gst_plugin_check_file), (gst_plugin_load_file):
28643             apply patch from #172526 to make register work on MacOSX
28644
28645 2005-05-02  Thomas Vander Stichele  <thomas at apestaart dot org>
28646
28647         * docs/gst/tmpl/gstconfig.sgml:
28648         * gst/gstconfig.h.in:
28649           move documentation for some symbols.  Add doc for GST_PTR_FORMAT
28650         * testsuite/debug/printf_extension.c: (main):
28651           Do not use GST_PTR_FORMAT on pointers to types with
28652           sizeof < sizeof(gpointer).  Fixes test on 64-bit
28653         * testsuite/elements/property.h:
28654           use correct printf format
28655
28656 2005-05-02  Wim Taymans  <wim@fluendo.com>
28657
28658         * docs/design/draft-push-pull.txt:
28659         * docs/design/draft-query.txt:
28660         * gst/base/gstbasesrc.c: (gst_basesrc_get_range_unlocked),
28661         (gst_basesrc_start):
28662         Added draft for new query API.
28663         Added draft for better selecting scheduling methods.
28664         Make basesrc ignore length if the subclass does not support
28665         it.
28666
28667 2005-05-02  Thomas Vander Stichele  <thomas at apestaart dot org>
28668
28669         * gst/Makefile.am:
28670           possible fixes for automake-1.5 - _LIBADD is reserved
28671
28672 2005-05-02  Thomas Vander Stichele  <thomas at apestaart dot org>
28673
28674         * docs/faq/Makefile.am:
28675         * docs/manual/Makefile.am:
28676         * docs/manuals.mak:
28677         * docs/pwg/Makefile.am:
28678         * gst/Makefile.am:
28679           possible fixes for automake-1.5
28680
28681 2005-04-28  Wim Taymans  <wim@fluendo.com>
28682
28683         * gst/base/gstbasesink.c: (gst_basesink_base_init),
28684         (gst_basesink_pad_getcaps), (gst_basesink_init),
28685         (gst_basesink_do_sync):
28686         * gst/gstclock.c: (gst_clock_entry_new):
28687         * gst/gstevent.c: (gst_event_discont_get_value):
28688         * gst/gstpipeline.c: (pipeline_bus_handler),
28689         (gst_pipeline_change_state):
28690         * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
28691         Better debugging of clocking info.
28692         Allow NULL values when getting discont values.
28693
28694 2005-04-27  Wim Taymans  <wim@fluendo.com>
28695
28696         * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
28697         * check/gst/gstpad.c: (gst_pad_suite):
28698         Increase timeout for checks.
28699
28700 2005-04-27  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
28701
28702         * check/Makefile.am:
28703           fix the broken rule for cleanup.  Apparently this rule is
28704           only needed on FC2, so maybe this warrants further autotool
28705           inspection.
28706
28707 2005-04-26  Wim Taymans  <wim@fluendo.com>
28708
28709         * gst/gsttrashstack.h:
28710         Ooohh. a nasty one! After having a failed pop() from the stack,
28711         it's possible that the stack is empty. In that case, don't
28712         follow the NULL pointer.
28713
28714 2005-04-25  Wim Taymans  <wim@fluendo.com>
28715
28716         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
28717         (gst_pad_set_checkgetrange_function),
28718         (gst_pad_link_check_compatible_unlocked), (gst_pad_link_prepare),
28719         (gst_pad_check_pull_range), (gst_pad_pull_range),
28720         (gst_static_pad_template_get_caps), (gst_pad_start_task),
28721         (gst_pad_pause_task), (gst_pad_stop_task):
28722         * gst/gstplugin.c: (gst_plugin_load):
28723         * gst/gstplugin.h:
28724         Remove gst_library_load as it does more harm than good with
28725         the new g_module flags.
28726         Revert bogus caps template check in pad linking, pad caps
28727         are important when linking not the template, which is more
28728         general than the current caps.
28729
28730 2005-04-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
28731
28732         * gst/autoplug/.cvsignore:
28733         * gst/autoplug/Makefile.am:
28734         * gst/autoplug/gstsearchfuncs.c:
28735         * gst/autoplug/gstsearchfuncs.h:
28736         * gst/autoplug/gstspider.c:
28737         * gst/autoplug/gstspider.h:
28738         * gst/autoplug/gstspideridentity.c:
28739         * gst/autoplug/gstspideridentity.h:
28740         * gst/autoplug/spidertest.c:
28741           Die, spider, die.
28742
28743 2005-04-25  Wim Taymans  <wim@fluendo.com>
28744
28745         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
28746         (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
28747         (gst_pad_pull_range), (gst_static_pad_template_get_caps),
28748         (gst_pad_start_task), (gst_pad_pause_task), (gst_pad_stop_task):
28749         * gst/gstpad.h:
28750         Added stubs for unimplemented functions. 
28751
28752 2005-04-24  David Schleef  <ds@schleef.org>
28753
28754         * gst/gstpad.h: Disable some unimplemented functions.  Wim,
28755         please fix.
28756
28757 2005-04-24  David Schleef  <ds@schleef.org>
28758
28759         Convert everything from GstAtomicInt to g_atomic_int_*, and
28760         remove gstatomic.
28761         * gst/Makefile.am:
28762         * gst/gstatomic.c:
28763         * gst/gstatomic.h:
28764         * gst/gstatomic_impl.h:
28765         * gst/gstbuffer.c:
28766         * gst/gstcaps.c:
28767         * gst/gstcaps.h:
28768         * gst/gstclock.c:
28769         * gst/gstclock.h:
28770         * gst/gstdata.c:
28771         * gst/gstdata.h:
28772         * gst/gstdata_private.h:
28773         * gst/gstevent.c:
28774         * gst/gstinfo.c:
28775         * gst/gstinfo.h:
28776         * gst/gstmessage.c:
28777         * gst/gstobject.c:
28778         * gst/gstobject.h:
28779         * gst/gststructure.c:
28780         * gst/gststructure.h:
28781         * gst/gstutils.c: Add gst_atomic_int_set() compaitibility function.
28782         * gst/gstutils.h:
28783
28784 2005-04-24  David Schleef  <ds@schleef.org>
28785
28786         * check/gst/gstpad.c: (START_TEST): Oh yeah, it's always nice to
28787         make the regressions tests work.  Remove some code that is no
28788         longer true.
28789         * gst/gstpad.c: (gst_pad_link_check_templates_compatible_unlocked):
28790         Disable warning for pads without templates.
28791
28792 2005-04-24  David Schleef  <ds@schleef.org>
28793
28794         * gst/gstpad.c: Remove handling of filtered caps.  Fix/merge
28795         functions that handle filtered links.
28796         * gst/gstpad.h: Remove 'appfilter' field and prototypes of
28797         removed functions.
28798         * gst/gstutils.c: Fix/remove utility functions that handle
28799         filtered caps.
28800         * gst/gstutils.h:
28801         * gst/gstvalue.c: Add serialization/deserialization of caps
28802         * gst/parse/grammar.y: Ignore filtered caps when linking.  This
28803         requires fixing so that the filter caps notation creates
28804         a capsfilter element and sets the filter_caps property.  I
28805         think everyone probably wants to keep the shorthand notation.
28806         * docs/gst/tmpl/gstelement.sgml: updates for API changes.
28807         * docs/gst/tmpl/gstpad.sgml:
28808
28809         * gst/elements/gstelements.c: Register capsfilter element.
28810         * gst/Makefile.am: fix spacing
28811         * docs/random/ds/0.9-suggested-changes: random
28812
28813 2005-04-23  David Schleef  <ds@schleef.org>
28814
28815         * gst/elements/Makefile.am:
28816         * gst/elements/gstcapsfilter.c: New element that acts like an
28817         identity, but filters caps.  Will eventually replace filtered
28818         caps in pad linking.
28819         * gst/gstutils.c: (gst_element_create_all_pads): New function
28820         to create all the ALWAYS pads that are registered with an
28821         element class.  This functionality should eventually be
28822         merged in with GstElement initialization.
28823         * gst/gstutils.h:
28824         * testsuite/trigger/README: part of trigger test code that should
28825         have been checked in a long time ago.
28826
28827 2005-04-23  David Schleef  <ds@schleef.org>
28828
28829         * gst/Makefile.am: Remove as-libtool stuff.  It's likely not
28830         needed with new versions of libtool (nobody will confirm this),
28831         and hard to carry around.
28832         * gst/autoplug/Makefile.am:
28833         * gst/base/Makefile.am:
28834         * gst/elements/Makefile.am:
28835         * gst/indexers/Makefile.am:
28836         * gst/schedulers/Makefile.am:
28837         * libs/gst/bytestream/Makefile.am:
28838         * libs/gst/control/Makefile.am:
28839         * libs/gst/dataprotocol/Makefile.am:
28840         * libs/gst/getbits/Makefile.am:
28841
28842 2005-04-21  Wim Taymans  <wim@fluendo.com>
28843
28844         * docs/design/draft-push-pull.txt:
28845         * docs/design/part-MT-refcounting.txt:
28846         * docs/design/part-TODO.txt:
28847         * docs/design/part-caps.txt:
28848         * docs/design/part-events.txt:
28849         * docs/design/part-gstbus.txt:
28850         * docs/design/part-gstpipeline.txt:
28851         * docs/design/part-messages.txt:
28852         * docs/design/part-push-pull.txt:
28853         * docs/design/part-query.txt:
28854         Some more docs.
28855
28856 2005-04-21  Wim Taymans  <wim@fluendo.com>
28857
28858         * gst/gstmessage.c: (_gst_message_copy), (_gst_message_free),
28859         (gst_message_new), (gst_message_new_error),
28860         (gst_message_new_warning), (gst_message_new_tag),
28861         (gst_message_new_state_changed), (gst_message_new_application),
28862         (gst_message_get_structure):
28863         * gst/gstmessage.h:
28864         * gst/gststructure.c: (gst_structure_set_parent_refcount),
28865         (gst_structure_copy_conditional):
28866         Use parent refcount in GstMessage to ensure GstStructure
28867         consistency.
28868         Cleaned up headers a bit.
28869         
28870
28871 2005-04-20  Wim Taymans  <wim@fluendo.com>
28872
28873         * gst/base/gstbasesink.c: (gst_basesink_base_init),
28874         (gst_basesink_pad_getcaps), (gst_basesink_init),
28875         (gst_basesink_chain_unlocked):
28876         * gst/base/gsttypefindhelper.c: (helper_find_suggest),
28877         (gst_type_find_helper):
28878         * gst/elements/gsttypefindelement.c:
28879         (gst_type_find_element_have_type), (gst_type_find_element_init),
28880         (stop_typefinding), (gst_type_find_element_handle_event),
28881         (find_suggest), (gst_type_find_element_chain),
28882         (gst_type_find_element_checkgetrange),
28883         (gst_type_find_element_getrange), (do_typefind),
28884         (gst_type_find_element_activate):
28885         * gst/gstbuffer.c: (_gst_buffer_sub_free),
28886         (gst_buffer_default_free), (gst_buffer_default_copy),
28887         (gst_buffer_set_caps):
28888         * gst/gstcaps.c: (gst_caps_ref), (gst_caps_unref),
28889         (gst_caps_replace):
28890         * gst/gstmessage.c: (gst_message_new),
28891         (gst_message_new_state_changed):
28892         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
28893         (gst_pad_set_checkgetrange_function),
28894         (gst_pad_link_prepare_filtered), (gst_pad_relink_filtered),
28895         (gst_pad_set_caps), (gst_pad_check_pull_range),
28896         (gst_pad_pull_range), (gst_static_pad_template_get_caps):
28897         * gst/gstpad.h:
28898         * gst/gsttypefind.c: (gst_type_find_register):
28899         Make gst_caps_replace() work like other _replace() functions.
28900         Use _caps_replace() where possible.
28901         Make sure _message_new() initialises its field.
28902         Add gst_static_pad_template_get_caps()
28903
28904
28905 2005-04-18  Andy Wingo  <wingo@pobox.com>
28906
28907         * gst/gstelement.c (gst_element_pads_activate): Check pull_range
28908         on the peer, not the pad. I think that was a typo. Pass an extra
28909         arg to see if random access is possible. Activate the pads as
28910         PULL_RANGE if possible.
28911
28912         * gst/elements/gstfakesrc.c: s/ARG_/PROP_/.
28913
28914         * gst/base/gstbasesrc.c (gst_basesrc_set_property) 
28915         (gst_basesrc_get_property): BLOCKSIZE is a ULONG. Rename ARG_...
28916         to PROP_....
28917
28918 2005-04-14  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
28919
28920         * docs/faq/using.xml:
28921           Add note on gstreamer-properties (#154996).
28922
28923 2005-04-13  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
28924
28925         * docs/random/bbb/optional-properties:
28926           Some analysis on optional properties.
28927
28928 2005-04-12  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
28929
28930         * docs/gst/tmpl/gstelementfactory.sgml:
28931         * gst/gstelement.h:
28932         * gst/gstelementfactory.c: (gst_element_factory_init),
28933         (gst_element_factory_cleanup), (gst_element_register),
28934         (__gst_element_factory_add_static_pad_template),
28935         (gst_element_factory_get_static_pad_templates),
28936         (gst_element_factory_can_src_caps),
28937         (gst_element_factory_can_sink_caps):
28938         * gst/registries/Makefile.am:
28939         * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_get_type),
28940         (gst_xml_registry_class_init), (gst_xml_registry_init),
28941         (gst_xml_registry_new), (gst_xml_registry_set_property),
28942         (gst_xml_registry_get_property), (get_time), (make_dir),
28943         (gst_xml_registry_get_perms_func),
28944         (plugin_times_older_than_recurse), (plugin_times_older_than),
28945         (gst_xml_registry_open_func), (gst_xml_registry_load_func),
28946         (gst_xml_registry_save_func), (gst_xml_registry_close_func),
28947         (add_to_char_array), (read_string), (read_uint), (read_enum),
28948         (load_pad_template), (load_feature), (load_plugin), (load_paths),
28949         (gst_xml_registry_load), (gst_xml_registry_load_plugin),
28950         (gst_xml_registry_save_caps), (gst_xml_registry_save_pad_template),
28951         (gst_xml_registry_save_feature), (gst_xml_registry_save_plugin),
28952         (gst_xml_registry_save), (gst_xml_registry_rebuild_recurse),
28953         (gst_xml_registry_rebuild):
28954         * gst/registries/gstlibxmlregistry.h:
28955         * tools/gst-compprep.c: (main):
28956         * tools/gst-inspect.c: (print_pad_templates_info):
28957         * tools/gst-xmlinspect.c: (print_element_info):
28958           Use libxml2 for registry parsing, use staticpadtemplates in
28959           elementfactories. Makes gst_init() +/- 10x faster.
28960
28961 2005-04-12  Wim Taymans  <wim@fluendo.com>
28962
28963         * gst/base/Makefile.am:
28964         * gst/base/gstbasesink.c: (gst_basesink_base_init),
28965         (gst_basesink_pad_getcaps), (gst_basesink_init),
28966         (gst_basesink_event), (gst_basesink_change_state):
28967         * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
28968         (gst_basesrc_init), (gst_basesrc_query),
28969         (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
28970         (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
28971         (gst_basesrc_check_get_range), (gst_basesrc_loop),
28972         (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
28973         (gst_basesrc_stop), (gst_basesrc_activate),
28974         (gst_basesrc_change_state):
28975         * gst/base/gsttypefindhelper.c: (helper_find_peek),
28976         (helper_find_suggest), (gst_type_find_helper):
28977         * gst/base/gsttypefindhelper.h:
28978         * gst/elements/Makefile.am:
28979         * gst/elements/gstelements.c:
28980         * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
28981         (gst_fakesink_get_times), (gst_fakesink_event),
28982         (gst_fakesink_preroll), (gst_fakesink_render):
28983         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
28984         (gst_fakesrc_init), (gst_fakesrc_event_handler),
28985         (gst_fakesrc_get_property), (gst_fakesrc_create),
28986         (gst_fakesrc_start), (gst_fakesrc_stop):
28987         * gst/elements/gstfakesrc.h:
28988         * gst/elements/gstfilesrc.c: (gst_filesrc_class_init),
28989         (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
28990         (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
28991         (gst_filesrc_create_read), (gst_filesrc_create),
28992         (gst_filesrc_is_seekable), (gst_filesrc_get_size),
28993         (gst_filesrc_start):
28994         * gst/elements/gsttypefindelement.c:
28995         (gst_type_find_element_have_type), (gst_type_find_element_init),
28996         (start_typefinding), (stop_typefinding), (push_buffer_store),
28997         (gst_type_find_element_handle_event),
28998         (gst_type_find_element_chain),
28999         (gst_type_find_element_checkgetrange),
29000         (gst_type_find_element_getrange), (do_typefind),
29001         (gst_type_find_element_activate),
29002         (gst_type_find_element_change_state):
29003         * gst/elements/gsttypefindelement.h:
29004         * gst/gstpipeline.c: (pipeline_bus_handler):
29005         Added typefind helper.
29006         Small preroll fix in the base sink.
29007         Disable typefind code in basesrc.
29008         Crude port of typefindelement.
29009         Fakesrc cleanups.
29010
29011
29012 2005-04-11  Wim Taymans  <wim@fluendo.com>
29013
29014         * check/gst/gstbus.c: (gstbus_suite):
29015         * check/gst/gstdata.c: (thread_ref), (gst_data_suite):
29016         * check/gstcheck.h:
29017           Fix up the timeout so that the test does not fail.
29018
29019 2005-04-06  Wim Taymans  <wim@fluendo.com>
29020
29021         * gst/base/README:
29022         * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
29023         (gst_basesrc_init), (gst_basesrc_get_formats), (gst_basesrc_query),
29024         (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
29025         (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
29026         (gst_basesrc_check_get_range), (gst_basesrc_loop),
29027         (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
29028         (gst_basesrc_stop), (gst_basesrc_activate),
29029         (gst_basesrc_change_state), (basesrc_find_peek),
29030         (basesrc_find_suggest), (gst_basesrc_type_find):
29031         * gst/base/gstbasesrc.h:
29032         * gst/elements/gstfilesrc.c: (gst_filesrc_base_init),
29033         (gst_filesrc_class_init), (gst_filesrc_init),
29034         (gst_filesrc_finalize), (gst_filesrc_set_location),
29035         (gst_filesrc_set_property), (gst_filesrc_get_property),
29036         (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
29037         (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
29038         (gst_filesrc_create_read), (gst_filesrc_create),
29039         (gst_filesrc_get_size), (gst_filesrc_start), (gst_filesrc_stop):
29040         * gst/elements/gstfilesrc.h:
29041         * gst/gstelement.c: (gst_element_get_state_func),
29042         (gst_element_lost_state), (gst_element_pads_activate):
29043         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
29044         (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
29045         (gst_pad_pull_range):
29046         * gst/gstpad.h:
29047         More work on the generic source base class, implement seeking,
29048         query.
29049         Make filesrc extend the base source class.
29050         Added gst_pad_set_checkgetrange_function to GstPad.
29051
29052 2005-04-06  Andy Wingo  <wingo@pobox.com>
29053
29054         * pkgconfig/gstreamer-base.pc.in:
29055         * pkgconfig/gstreamer-base-uninstalled.pc.in: New files.
29056
29057         * pkgconfig/Makefile.am:
29058         * configure.ac (AC_OUTPUT): Add gstreamer-base pkgconfig files.
29059
29060 2005-04-04  Wim Taymans  <wim@fluendo.com>
29061
29062         * gst/base/Makefile.am:
29063         * gst/base/README:
29064         * gst/base/gstbasesink.c: (gst_basesink_base_init),
29065         (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
29066         (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
29067         (gst_basesink_do_sync), (gst_basesink_chain_unlocked):
29068         * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
29069         (gst_basesrc_base_init), (gst_basesrc_class_init),
29070         (gst_basesrc_init), (gst_basesrc_get_formats),
29071         (gst_basesrc_get_query_types), (gst_basesrc_query),
29072         (gst_basesrc_get_event_mask), (gst_basesrc_event_handler),
29073         (gst_basesrc_set_property), (gst_basesrc_get_property),
29074         (gst_basesrc_get_range_unlocked), (gst_basesrc_get_range),
29075         (gst_basesrc_loop), (gst_basesrc_activate),
29076         (gst_basesrc_change_state):
29077         * gst/base/gstbasesrc.h:
29078         * gst/elements/gstfakesrc.c: (gst_fakesrc_base_init),
29079         (gst_fakesrc_class_init), (gst_fakesrc_init),
29080         (gst_fakesrc_event_handler), (gst_fakesrc_set_property),
29081         (gst_fakesrc_get_property), (gst_fakesrc_create):
29082         * gst/elements/gstfakesrc.h:
29083         * gst/elements/gstfilesrc.c: (gst_filesrc_getrange),
29084         (gst_filesrc_open_file), (gst_filesrc_loop),
29085         (gst_filesrc_activate), (filesrc_find_peek),
29086         (gst_filesrc_type_find):
29087         Made base source class, make fakesrc extend it.
29088         Add comments to basesink class.
29089         Some filesrc cleanup.
29090
29091 2005-03-31  David Schleef  <ds@schleef.org>
29092
29093         * gst/gstplugin.c: (gst_plugin_check_file), (gst_plugin_load_file):
29094         Switch to using G_MODULE_BIND_LOCAL, which means plugins are now
29095         expected to link against libgstreamer.
29096         * gst/base/Makefile.am: link against libgstreamer
29097         * gst/elements/Makefile.am: same
29098
29099 2005-03-31  Andy Wingo  <wingo@pobox.com>
29100
29101         * tests/instantiate/Makefile.am:
29102         * tests/instantiate/caps.c: Add test to test speed of caps copy
29103         and free.
29104
29105         * tests/memchunk/gmemchunktest.c (main): Use alloc only on the
29106         GMemChunk to be fair.
29107
29108         * gst/gsttrashstack.h: Remove warning about using the fallback
29109         trash stack implementation, it's still faster than malloc.
29110
29111 2005-03-30  Andy Wingo  <wingo@pobox.com>
29112
29113         * tests/complexity.c: Add a copyright.
29114
29115 2005-03-31  Wim Taymans  <wim@fluendo.com>
29116
29117         * gst/base/gstbasetransform.c: (gst_base_transform_base_init),
29118         (gst_base_transform_class_init), (gst_base_transform_init),
29119         (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
29120         (gst_base_transform_get_property),
29121         (gst_base_transform_sink_activate),
29122         (gst_base_transform_src_activate),
29123         (gst_base_transform_change_state):
29124         * gst/base/gstbasetransform.h:
29125         * gst/elements/gstidentity.c: (gst_identity_class_init),
29126         (gst_identity_event), (gst_identity_check_perfect),
29127         (gst_identity_transform), (gst_identity_start),
29128         (gst_identity_stop):
29129         Added start/stop methods to transform base class so subclasses 
29130         don't need to deal with state changes even.
29131
29132 2005-03-31  Wim Taymans  <wim@fluendo.com>
29133
29134         * gst/gstevent.c: (gst_event_new_discontinuous_valist),
29135         (gst_event_new_discontinuous), (gst_event_discont_get_value):
29136         * gst/gstevent.h:
29137         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
29138         (gst_pad_pull_range):
29139         Added rate to the discont event to prepare for variable speed
29140         and reverse playback.
29141
29142 2005-03-29  David Schleef  <ds@schleef.org>
29143
29144         * configure.ac:
29145         * testsuite/trigger/Makefile.am:
29146         * testsuite/trigger/trigger.c: A little example program to show
29147         how trigger-based elements can work.
29148
29149 2005-03-29  Wim Taymans  <wim@fluendo.com>
29150
29151         * gst/base/Makefile.am:
29152         * gst/base/README:
29153         * gst/base/gstbasesink.c: (gst_basesink_get_type),
29154         (gst_basesink_base_init), (gst_basesink_class_init),
29155         (gst_basesink_pad_getcaps), (gst_basesink_init),
29156         (gst_basesink_activate), (gst_basesink_change_state):
29157         * gst/base/gstbasesink.h:
29158         * gst/base/gstbasetransform.c: (gst_base_transform_get_type),
29159         (gst_base_transform_base_init), (gst_base_transform_finalize),
29160         (gst_base_transform_class_init), (gst_base_transform_init),
29161         (gst_base_transform_proxy_getcaps), (gst_base_transform_setcaps),
29162         (gst_base_transform_event), (gst_base_transform_getrange),
29163         (gst_base_transform_chain), (gst_base_transform_handle_buffer),
29164         (gst_base_transform_set_property),
29165         (gst_base_transform_get_property),
29166         (gst_base_transform_sink_activate),
29167         (gst_base_transform_src_activate),
29168         (gst_base_transform_change_state):
29169         * gst/base/gstbasetransform.h:
29170         * gst/elements/gstidentity.c: (gst_identity_finalize),
29171         (gst_identity_class_init), (gst_identity_init),
29172         (gst_identity_event), (gst_identity_check_perfect),
29173         (gst_identity_transform), (gst_identity_set_property),
29174         (gst_identity_get_property), (gst_identity_change_state):
29175         * gst/elements/gstidentity.h:
29176         * gst/gstelement.c: (gst_element_get_state_func),
29177         (gst_element_lost_state), (gst_element_pads_activate):
29178         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
29179         (gst_pad_check_pull_range), (gst_pad_pull_range):
29180         * gst/gstpad.h:
29181         Simplify pad activation.
29182         Added function to check if pull_range can be performed.
29183         Error out when pulling inactive or flushing pads.
29184         Removed const from refcounted types as it does not make sense.
29185         Simplify pad templates in basesink
29186         Added base class for simple 1-to-1 transforms.
29187         Make identity subclass the base transform.
29188
29189 2005-03-29  Andy Wingo  <wingo@pobox.com>
29190
29191         * docs/libs/gstreamer-libs-overrides.txt: 
29192         * docs/gst/gstreamer-overrides.txt: Add these files to CVS. Now I
29193         really don't understand what's going on, but like whatever. I want
29194         green buildbot!
29195
29196         * docs/gst/Makefile.am:
29197         * docs/libs/Makefile.am: Dist the overrides files.
29198
29199         * check/Makefile.am (clean-local): Remove .libs directories.
29200
29201         * gst/elements/Makefile.am (EXTRA_DIST): Add all the attic
29202         elements to EXTRA_DIST, so po/ files are happy.
29203
29204         * po/POTFILES.in: Er, remove it here.
29205
29206         * po/POTFILES: Remove gstspider.c.
29207
29208         * configure.ac (AC_OUTPUT): Add missing testsuite makefiles.
29209
29210         * docs/libs/gstreamer-libs-docs.sgml: 
29211         * docs/libs/gstreamer-libs-sections.txt: Remove the section on
29212         bytestream.
29213
29214         * tests/complexity.c (main): Set the length of the preroll queue
29215         on the sinks to prevent a lockup.
29216
29217         * libs/gst/dataprotocol/Makefile.am: 
29218         * libs/gst/dataprotocol/dataprotocol-test.c: Remove test, it's
29219         the same as the one in check/gst-libs/gdp.c.
29220
29221         * po/, docs/gst/: Commit automatic changes to docs and po files.
29222
29223         * gst/elements/Makefile.am (libgstelements_la_LDFLAGS): Link to
29224         the versioned libgstbase.
29225
29226         * check/Makefile.am: Depend on an unversioned gst-register, seems
29227         to make autoconf happier.
29228
29229         * gst/base/Makefile.am: Make libgstbase a versioned lib.
29230
29231 2005-03-28  Wim Taymans  <wim@fluendo.com>
29232
29233         * configure.ac:
29234         * docs/design/part-gstelement.txt:
29235         * docs/design/part-negotiation.txt:
29236         * docs/design/part-preroll.txt:
29237         * docs/design/part-scheduling.txt:
29238         * docs/design/part-states.txt:
29239         * gst/Makefile.am:
29240         * gst/base/Makefile.am:
29241         * gst/base/README:
29242         * gst/base/gstbasesink.c: (gst_basesink_get_template),
29243         (gst_basesink_base_init), (gst_basesink_class_init),
29244         (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
29245         (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
29246         (gst_basesink_set_pad_functions),
29247         (gst_basesink_set_all_pad_functions), (gst_basesink_set_clock),
29248         (gst_basesink_set_property), (gst_basesink_get_property),
29249         (gst_base_sink_get_template), (gst_base_sink_get_caps),
29250         (gst_base_sink_set_caps), (gst_base_sink_buffer_alloc),
29251         (gst_basesink_preroll_queue_push),
29252         (gst_basesink_preroll_queue_empty),
29253         (gst_basesink_preroll_queue_flush), (gst_basesink_finish_preroll),
29254         (gst_basesink_event), (gst_basesink_get_times),
29255         (gst_basesink_do_sync), (gst_basesink_handle_buffer),
29256         (gst_basesink_chain_unlocked), (gst_basesink_chain),
29257         (gst_basesink_loop), (gst_basesink_activate),
29258         (gst_basesink_change_state):
29259         * gst/base/gstbasesink.h:
29260         * gst/elements/Makefile.am:
29261         * gst/elements/gstfakesink.c: (gst_fakesink_base_init),
29262         (gst_fakesink_class_init), (gst_fakesink_init),
29263         (gst_fakesink_set_property), (gst_fakesink_get_property),
29264         (gst_fakesink_get_times), (gst_fakesink_event),
29265         (gst_fakesink_preroll), (gst_fakesink_render),
29266         (gst_fakesink_change_state):
29267         * gst/elements/gstfakesink.h:
29268         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
29269         (gst_bin_get_state), (gst_bin_change_state), (gst_bin_send_event):
29270         * gst/gstelement.c: (gst_element_add_pad),
29271         (gst_element_get_state_func), (gst_element_abort_state),
29272         (gst_element_commit_state), (gst_element_lost_state),
29273         (gst_element_set_state), (gst_element_pads_activate):
29274         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_event_default):
29275         * gst/gstpipeline.c: (gst_pipeline_send_event),
29276         (gst_pipeline_change_state):
29277         Added state change code.
29278         Added/updated docs.
29279         Added sink base class, make fakesink extend the base class.
29280         Small cleanups in GstPipeline.
29281
29282 2005-03-26  David Schleef  <ds@schleef.org>
29283
29284         * gst/Makefile.am: remove gstcpu.[ch].  The gst_cpu functionality
29285         is broken and should be implemented in a different library.
29286         * gst/gst.c: (init_post): don't call _gst_cpu_initialize()
29287         * gst/gst.h: remove gstcpu.h
29288         * gst/gstcpu.c: remove
29289         * gst/gstcpu.h: remove
29290         * gst/Makefile.am.future: Remove this file.  It's ancient.
29291
29292 2005-03-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
29293
29294         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
29295         (gst_bin_send_event):
29296           Add default event/set_manager handlers. The set_manager handler
29297           takes care that the manager is distributed over kids that were
29298           already in the bin before the manager was set. The event handler
29299           is a utility virtual function that sends the event over all sinks,
29300           so that gst_element_send_event (bin, event); has the expected
29301           behaviour.
29302         * gst/gstpad.c: (gst_pad_event_default):
29303           Re-install default event handling for discontinuities, so that
29304           seeking works without requiring hacks in applications or extra
29305           code in sinks.
29306         * gst/gstpipeline.c: (gst_pipeline_class_init),
29307         (gst_pipeline_send_event):
29308           Half hack, half utility: set a pipeline to PAUSED for seek events,
29309           since that is the only way we can guarantee a/v sync. Means that
29310           you can do gst_element_seek (pipeline, method, pos); on a pipeline
29311           and it "just works".
29312
29313 2005-03-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
29314
29315         * gst/gstpipeline.c: (gst_pipeline_use_clock):
29316           Lock/unlock mismatch.
29317
29318 2005-03-25  Thomas Vander Stichele  <thomas at apestaart dot org>
29319
29320         * docs/faq/gst-uninstalled:
29321           add gst-plugins-base
29322         * docs/gst/Makefile.am:
29323           don't error out until docs are fixed
29324         * docs/gst/gstreamer.types:
29325           remove thread
29326
29327 2005-03-22  Wim Taymans  <wim@fluendo.com>
29328
29329         * check/Makefile.am:
29330         * check/gst/gstmessage.c: (START_TEST), (gst_data_suite), (main):
29331         * gst/gststructure.c: (gst_structure_set_valist),
29332         (gst_structure_copy_conditional):
29333         Activated more tests.
29334         Added message test.
29335         Added G_TYPE_POINTER to GstStructure.
29336         
29337
29338 2005-03-22  Wim Taymans  <wim@fluendo.com>
29339
29340         * docs/design/part-TODO.txt:
29341         * docs/design/part-events.txt:
29342         * docs/design/part-gstbin.txt:
29343         * docs/design/part-gstbus.txt:
29344         * docs/design/part-gstpipeline.txt:
29345         * docs/design/part-messages.txt:
29346         * gst/gstbus.c:
29347         * gst/gstmessage.c:
29348         Docs updates
29349
29350 2005-03-21  Wim Taymans  <wim@fluendo.com>
29351
29352         * gst/gstbus.c: (gst_bus_post):
29353         Fix copy-and-paste error.
29354
29355 2005-03-21  Wim Taymans  <wim@fluendo.com>
29356
29357         * check/Makefile.am:
29358         * gst/Makefile.am:
29359         * gst/elements/Makefile.am:
29360         * gst/elements/gstelements.c:
29361         * gst/elements/gstfakesink.c: (gst_fakesink_init),
29362         (gst_fakesink_event), (gst_fakesink_chain):
29363         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
29364         (gst_fakesrc_init), (gst_fakesrc_get_event_mask),
29365         (gst_fakesrc_event_handler), (gst_fakesrc_set_pad_functions),
29366         (gst_fakesrc_set_all_pad_functions), (gst_fakesrc_request_new_pad),
29367         (gst_fakesrc_set_property), (gst_fakesrc_get_property),
29368         (gst_fakesrc_get_range_unlocked), (gst_fakesrc_get_range),
29369         (gst_fakesrc_loop), (gst_fakesrc_activate),
29370         (gst_fakesrc_change_state):
29371         * gst/elements/gstfakesrc.h:
29372         * gst/elements/gstfilesrc.c: (gst_filesrc_init),
29373         (gst_filesrc_get_read), (gst_filesrc_getrange), (gst_filesrc_get),
29374         (gst_filesrc_open_file), (gst_filesrc_loop),
29375         (gst_filesrc_activate), (gst_filesrc_change_state),
29376         (filesrc_find_peek), (filesrc_find_suggest),
29377         (gst_filesrc_type_find):
29378         * gst/elements/gstidentity.c: (gst_identity_finalize),
29379         (gst_identity_class_init), (gst_identity_init),
29380         (gst_identity_proxy_getcaps), (identity_queue_push),
29381         (identity_queue_pop), (identity_queue_flush), (gst_identity_event),
29382         (gst_identity_getrange), (gst_identity_chain),
29383         (gst_identity_sink_loop), (gst_identity_src_loop),
29384         (gst_identity_handle_buffer), (gst_identity_set_dataflow_funcs),
29385         (gst_identity_set_property), (gst_identity_get_property),
29386         (gst_identity_change_state):
29387         * gst/elements/gstidentity.h:
29388         * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_init),
29389         (gst_tee_update_pad_functions), (gst_tee_request_new_pad),
29390         (gst_tee_set_property), (gst_tee_get_property), (gst_tee_do_push),
29391         (gst_tee_handle_buffer), (gst_tee_chain), (gst_tee_loop),
29392         (gst_tee_sink_activate):
29393         * gst/elements/gsttee.h:
29394         * gst/gst.c: (gst_register_core_elements), (init_post):
29395         * gst/gst.h:
29396         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_bus),
29397         (gst_bin_set_scheduler), (gst_bin_add_func), (gst_bin_add),
29398         (gst_bin_remove_func), (gst_bin_remove), (gst_bin_get_state),
29399         (gst_bin_change_state):
29400         * gst/gstbin.h:
29401         * gst/gstbus.c: (gst_bus_get_type), (gst_bus_class_init),
29402         (gst_bus_init), (gst_bus_dispose), (gst_bus_set_property),
29403         (gst_bus_get_property), (gst_bus_new), (gst_bus_post),
29404         (gst_bus_have_pending), (gst_bus_pop), (gst_bus_peek),
29405         (gst_bus_set_sync_handler), (gst_bus_create_watch),
29406         (bus_watch_callback), (bus_watch_destroy),
29407         (gst_bus_add_watch_full), (gst_bus_add_watch), (poll_handler),
29408         (poll_timeout), (gst_bus_poll):
29409         * gst/gstbus.h:
29410         * gst/gstcaps.h:
29411         * gst/gstdata.h:
29412         * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
29413         (gst_element_post_message), (gst_element_message_full),
29414         (gst_element_get_state_func), (gst_element_get_state),
29415         (gst_element_abort_state), (gst_element_commit_state),
29416         (gst_element_lost_state), (gst_element_set_state),
29417         (gst_element_pads_activate), (gst_element_change_state),
29418         (gst_element_dispose), (gst_element_set_manager_func),
29419         (gst_element_set_bus_func), (gst_element_set_scheduler_func),
29420         (gst_element_set_manager), (gst_element_get_manager),
29421         (gst_element_set_bus), (gst_element_get_bus),
29422         (gst_element_set_scheduler), (gst_element_get_scheduler):
29423         * gst/gstelement.h:
29424         * gst/gstevent.c: (gst_event_new_segment_seek),
29425         (gst_event_new_flush):
29426         * gst/gstevent.h:
29427         * gst/gstmessage.c: (_gst_message_initialize), (_gst_message_copy),
29428         (_gst_message_free), (gst_message_get_type), (gst_message_new),
29429         (gst_message_new_eos), (gst_message_new_error),
29430         (gst_message_new_warning), (gst_message_new_tag),
29431         (gst_message_new_state_changed), (gst_message_new_application),
29432         (gst_message_get_structure), (gst_message_parse_tag),
29433         (gst_message_parse_state_changed), (gst_message_parse_error),
29434         (gst_message_parse_warning):
29435         * gst/gstmessage.h:
29436         * gst/gstpad.c: (gst_real_pad_class_init), (gst_real_pad_init),
29437         (gst_real_pad_set_property), (gst_pad_set_active),
29438         (gst_pad_is_active), (gst_pad_set_blocked_async),
29439         (gst_pad_set_blocked), (gst_pad_is_blocked),
29440         (gst_pad_set_activate_function), (gst_pad_set_loop_function),
29441         (gst_pad_set_getrange_function), (gst_pad_set_acceptcaps_function),
29442         (gst_pad_set_fixatecaps_function), (gst_pad_set_setcaps_function),
29443         (gst_pad_unlink), (gst_pad_link_prepare_filtered),
29444         (gst_pad_link_filtered), (gst_pad_relink_filtered),
29445         (gst_real_pad_get_caps_unlocked), (gst_pad_get_caps),
29446         (gst_pad_peer_get_caps), (gst_pad_fixate_caps),
29447         (gst_pad_accept_caps), (gst_pad_peer_accept_caps),
29448         (gst_pad_set_caps), (gst_pad_configure_sink),
29449         (gst_pad_configure_src), (gst_pad_get_negotiated_caps),
29450         (gst_pad_get_filter_caps), (gst_pad_alloc_buffer),
29451         (gst_real_pad_dispose), (gst_real_pad_finalize),
29452         (handle_pad_block), (gst_pad_push), (gst_pad_pull_range),
29453         (gst_pad_event_default_dispatch), (gst_pad_event_default),
29454         (gst_pad_push_event), (gst_pad_send_event), (gst_pad_get_formats):
29455         * gst/gstpad.h:
29456         * gst/gstpipeline.c: (gst_pipeline_init), (is_eos),
29457         (pipeline_bus_handler), (gst_pipeline_change_state),
29458         (gst_pipeline_get_scheduler), (gst_pipeline_get_bus):
29459         * gst/gstpipeline.h:
29460         * gst/gstprobe.h:
29461         * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
29462         (gst_queue_finalize), (gst_queue_getcaps), (gst_queue_link_sink),
29463         (gst_queue_link_src), (gst_queue_bufferalloc),
29464         (gst_queue_locked_flush), (gst_queue_handle_sink_event),
29465         (gst_queue_is_empty), (gst_queue_is_filled), (gst_queue_chain),
29466         (gst_queue_loop), (gst_queue_handle_src_event),
29467         (gst_queue_handle_src_query), (gst_queue_src_activate),
29468         (gst_queue_change_state):
29469         * gst/gstqueue.h:
29470         * gst/gstscheduler.c: (gst_scheduler_init),
29471         (gst_scheduler_dispose), (gst_scheduler_create_task),
29472         (gst_scheduler_factory_create):
29473         * gst/gstscheduler.h:
29474         * gst/gststructure.c: (gst_structure_get_type),
29475         (gst_structure_copy_conditional):
29476         * gst/gststructure.h:
29477         * gst/gsttaginterface.h:
29478         * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
29479         (gst_task_init), (gst_task_dispose), (gst_task_create),
29480         (gst_task_get_state), (gst_task_start), (gst_task_stop),
29481         (gst_task_pause):
29482         * gst/gsttask.h:
29483         * gst/gstthread.c:
29484         * gst/gstthread.h:
29485         * gst/gsttypes.h:
29486         * gst/schedulers/Makefile.am:
29487         * gst/schedulers/cothreads_compat.h:
29488         * gst/schedulers/entryscheduler.c:
29489         * gst/schedulers/faircothreads.c:
29490         * gst/schedulers/faircothreads.h:
29491         * gst/schedulers/fairscheduler.c:
29492         * gst/schedulers/gstbasicscheduler.c:
29493         * gst/schedulers/gstoptimalscheduler.c:
29494         * gst/schedulers/gthread-cothreads.h:
29495         * gst/schedulers/threadscheduler.c:
29496         (gst_thread_scheduler_task_get_type),
29497         (gst_thread_scheduler_task_class_init),
29498         (gst_thread_scheduler_task_init),
29499         (gst_thread_scheduler_task_start),
29500         (gst_thread_scheduler_task_stop),
29501         (gst_thread_scheduler_task_pause), (gst_thread_scheduler_get_type),
29502         (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
29503         (gst_thread_scheduler_init), (gst_thread_scheduler_create_task),
29504         (gst_thread_scheduler_setup), (gst_thread_scheduler_reset),
29505         (plugin_init):
29506         * libs/gst/Makefile.am:
29507         * libs/gst/bytestream/bytestream.c: (gst_bytestream_get_next_buf):
29508         * libs/gst/bytestream/filepad.c: (gst_file_pad_init),
29509         (gst_file_pad_parent_set):
29510         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
29511         (gst_dp_event_from_packet):
29512         * tests/complexity.c: (main):
29513         * tests/mass_elements.c: (main):
29514         * testsuite/states/locked.c: (message_received), (main):
29515         * testsuite/states/parent.c: (main):
29516         * tools/gst-inspect.c: (print_element_flag_info),
29517         (print_implementation_info), (print_pad_info):
29518         * tools/gst-launch.c: (check_intr), (play_handler), (event_loop),
29519         (main):
29520         * tools/gst-md5sum.c: (event_loop), (main):
29521         * tools/gst-typefind.c: (main):
29522         * tools/gst-xmlinspect.c: (print_element_info):
29523         Next big merge.
29524         Added GstBus for mainloop integration.
29525         Added GstMessage for sending notifications on the bus.
29526         Added GstTask as an abstraction for pipeline entry points.
29527         Removed GstThread.
29528         Removed Schedulers.
29529         Simplified GstQueue for multithreaded core.
29530         Made _link threadsafe, removed old capsnego.
29531         Added STREAM_LOCK and PREROLL_LOCK in GstPad.
29532         Added pad blocking functions.
29533         Reworked scheduling functions in GstPad to prepare for
29534         scheduling updates soon.
29535         Moved events out of data stream.
29536         Simplified GstEvent types.
29537         Added return values to push/pull.
29538         Removed clocking from GstElement.
29539         Added prototypes for state change function for next merge.
29540         Removed iterate from bins and state change management.
29541         Fixed some elements, disabled others for now.
29542         Fixed -inspect and -launch.
29543         Added check for GstBus.
29544
29545 2005-03-10  Wim Taymans  <wim@fluendo.com>
29546
29547         * docs/design/part-MT-refcounting.txt:
29548         * docs/design/part-clocks.txt:
29549         * docs/design/part-gstelement.txt:
29550         * docs/design/part-gstobject.txt:
29551         * docs/design/part-standards.txt:
29552         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
29553         (gst_bin_remove_func), (gst_bin_remove):
29554         * gst/gstbin.h:
29555         * gst/gstbuffer.c:
29556         * gst/gstcaps.h:
29557         * testsuite/clock/clock1.c: (main):
29558         * testsuite/clock/clock2.c: (gst_clock_debug), (element_wait),
29559         (main):
29560         * testsuite/dlopen/loadgst.c: (do_test):
29561         * testsuite/refcounting/bin.c: (add_remove_test1),
29562         (add_remove_test2), (main):
29563         * testsuite/refcounting/element.c: (main):
29564         * testsuite/refcounting/element_pad.c: (main):
29565         * testsuite/refcounting/pad.c: (main):
29566         * tools/gst-launch.c: (sigint_handler_sighandler):
29567         * tools/gst-typefind.c: (main):
29568         Doc updates.
29569         Added doc about clock.
29570         removed gst_bin_iterate_recurse_up(), marked methods
29571         for removal.
29572         Fix more testsuites.
29573
29574 2005-03-09  Wim Taymans  <wim@fluendo.com>
29575
29576         * gst/gstpad.c: (gst_pad_get_direction),
29577         (_gst_pad_default_fixate_foreach), (gst_pad_collectv),
29578         (gst_pad_collect_valist):
29579         * testsuite/bins/interface.c: (main):
29580         * testsuite/caps/audioscale.c: (test_caps):
29581         * testsuite/caps/caps.c: (test1), (test2), (test3):
29582         * testsuite/caps/deserialize.c: (main):
29583         * testsuite/caps/enumcaps.c: (main):
29584         * testsuite/caps/filtercaps.c: (main):
29585         * testsuite/caps/intersect2.c: (main):
29586         * testsuite/caps/random.c: (main):
29587         * testsuite/caps/renegotiate.c: (my_fixate), (main):
29588         * testsuite/caps/sets.c: (check_caps):
29589         * testsuite/caps/simplify.c: (check_caps), (main):
29590         * testsuite/caps/subtract.c: (check_caps):
29591         Fix _pad_get_direction wrt ghostpads.
29592         Fix caps testsuite.
29593
29594 2005-03-09  Wim Taymans  <wim@fluendo.com>
29595
29596         * check/Makefile.am:
29597         * check/gst/gstbin.c: (START_TEST), (gst_bin_suite), (main):
29598         * check/gst/gstsystemclock.c: (START_TEST), (gst_clock_debug),
29599         (ok_callback), (error_callback), (gst_systemclock_suite), (main):
29600         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_index_func),
29601         (gst_bin_set_clock_func), (gst_bin_get_clock_func),
29602         (gst_bin_add_func), (gst_bin_add), (gst_bin_remove_func),
29603         (gst_bin_remove), (gst_bin_iterate_recurse_up),
29604         (bin_element_is_sink), (gst_bin_iterate_sinks),
29605         (gst_bin_iterate_all_by_interface):
29606         * gst/gstbin.h:
29607         * gst/gstelement.c: (gst_element_init), (gst_element_error_full),
29608         (gst_element_change_state), (gst_element_dispose),
29609         (gst_element_finalize), (gst_element_set_loop_function):
29610         * gst/gstelement.h:
29611         * gst/gstiterator.c: (find_custom_fold_func):
29612         * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
29613         (gst_pad_collectv), (gst_pad_collect_valist),
29614         (gst_pad_template_new):
29615         * gst/gstpipeline.c: (gst_pipeline_class_init),
29616         (gst_pipeline_dispose), (gst_pipeline_set_property),
29617         (gst_pipeline_get_property), (gst_pipeline_get_clock_func),
29618         (gst_pipeline_get_clock), (gst_pipeline_use_clock),
29619         (gst_pipeline_set_clock), (gst_pipeline_auto_clock):
29620         * gst/gstutils.h:
29621         * gst/schedulers/entryscheduler.c:
29622         * gst/schedulers/gstbasicscheduler.c:
29623         (gst_basic_scheduler_cothreaded_chain),
29624         (gst_basic_scheduler_chain_add_element):
29625         * testsuite/bins/interface.c: (main):
29626         Added GstBin test.
29627         Added GstSystemClock test.
29628         Implemented clock distribution code in GstBin.
29629         Implemented iterate sinks method for future use.
29630         Rearranged gstelement.h
29631         Fix GstIterator comparison bug.
29632         Moved some code to GstPipeline, mostly clocking related.
29633
29634 2005-03-09  Wim Taymans  <wim@fluendo.com>
29635
29636         * configure.ac:
29637         * gst/gst_private.h:
29638         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
29639         (gst_bin_remove_func), (gst_bin_remove),
29640         (gst_bin_get_by_name_recurse_up):
29641         * gst/gstclock.c: (gst_clock_id_ref), (gst_clock_id_unref),
29642         (gst_clock_id_compare_func), (gst_clock_id_wait),
29643         (gst_clock_id_wait_async), (gst_clock_init),
29644         (gst_clock_adjust_unlocked), (gst_clock_get_time):
29645         * gst/gstelement.h:
29646         * gst/gstinfo.c: (_gst_debug_init):
29647         * gst/gstobject.h:
29648         * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
29649         (gst_pad_collectv), (gst_pad_collect_valist), (gst_pad_query):
29650         * gst/gstpad.h:
29651         Bump version number, we're now 0.9.0
29652         Add future debugging category.
29653         Fix NULL _unref() in _get_by_name_recurse_up
29654         Rearrange gstpad.h.
29655         Update some docs.
29656
29657 2005-03-08  Wim Taymans  <wim@fluendo.com>
29658
29659         * gst/elements/gstaggregator.c: (gst_aggregator_class_init):
29660         * gst/elements/gstfakesink.c: (gst_fakesink_class_init):
29661         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
29662         * gst/elements/gstfdsink.c: (gst_fdsink_class_init):
29663         * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init):
29664         * gst/elements/gstfilesink.c: (gst_filesink_class_init):
29665         * gst/elements/gstfilesrc.c: (gst_filesrc_class_init):
29666         * gst/elements/gstidentity.c: (gst_identity_class_init):
29667         * gst/elements/gstmd5sink.c: (gst_md5sink_class_init):
29668         * gst/elements/gstmultifilesrc.c: (gst_multifilesrc_class_init):
29669         * gst/elements/gstshaper.c: (gst_shaper_class_init):
29670         * gst/elements/gststatistics.c: (gst_statistics_class_init):
29671         * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_getcaps),
29672         (gst_tee_link):
29673         * gst/gstelement.c: (gst_element_class_init),
29674         (gst_element_base_class_init), (gst_element_init),
29675         (gst_element_get_random_pad), (gst_element_wait_state_change),
29676         (gst_element_change_state), (gst_element_dispose),
29677         (gst_element_finalize), (gst_element_set_loop_function):
29678         * gst/gstelement.h:
29679         * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_link_src):
29680         * gst/gstthread.c: (gst_thread_class_init),
29681         (gst_thread_release_children_locks), (gst_thread_change_state):
29682         * gst/schedulers/gstbasicscheduler.c:
29683         (gst_basic_scheduler_loopfunc_wrapper),
29684         (gst_basic_scheduler_chain_wrapper),
29685         (gst_basic_scheduler_src_wrapper),
29686         (gst_basic_scheduler_remove_element):
29687         * gst/schedulers/gstoptimalscheduler.c: (schedule_group):
29688         Remove threadsafe properties. Fix elements because GObject
29689         complains when installing a property before declaring a
29690         set/get_property handler.
29691         Rearrange gstelement.h file, use STATE macros for state locks.
29692         Free mutexes in the finalize method instead of dispose.
29693
29694 2005-03-08  Wim Taymans  <wim@fluendo.com>
29695
29696         * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
29697         * gst/gstthread.c: (gst_thread_release_children_locks):
29698         Added parentage check.
29699         Fix build og GstThread again.
29700
29701 2005-03-08  Wim Taymans  <wim@fluendo.com>
29702
29703         * docs/design/part-MT-refcounting.txt:
29704         * docs/design/part-conventions.txt:
29705         * docs/design/part-gstobject.txt:
29706         * docs/design/part-relations.txt:
29707         * docs/design/part-standards.txt:
29708         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
29709         (gst_bin_remove_func), (gst_bin_remove), (gst_bin_iterate_recurse),
29710         (gst_bin_get_by_name), (gst_bin_get_by_interface),
29711         (gst_bin_iterate_all_by_interface):
29712         * gst/gstbuffer.h:
29713         * gst/gstclock.h:
29714         * gst/gstelement.c: (gst_element_class_init),
29715         (gst_element_change_state), (gst_element_set_loop_function):
29716         * gst/gstelement.h:
29717         * gst/gstiterator.c:
29718         * gst/gstobject.c: (gst_object_class_init), (gst_object_ref),
29719         (gst_object_unref), (gst_object_sink), (gst_object_dispose),
29720         (gst_object_dispatch_properties_changed), (gst_object_set_name),
29721         (gst_object_set_parent), (gst_object_unparent),
29722         (gst_object_check_uniqueness):
29723         * gst/gstobject.h:
29724         Docs updates, clean up some headers.
29725
29726 2005-03-07  Wim Taymans  <wim@fluendo.com>
29727
29728         * check/.cvsignore:
29729         * check/Makefile.am:
29730         * check/gst-libs/.cvsignore:
29731         * check/gst-libs/gdp.c: (START_TEST), (gst_object_suite), (main):
29732         * check/gst/.cvsignore:
29733         * check/gst/gstbus.c: (pound_bus_with_messages), (pull_messages),
29734         (START_TEST), (gstbus_suite), (main):
29735         * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite), (main):
29736         * check/gst/gstdata.c: (START_TEST), (thread_ref), (thread_unref),
29737         (gst_data_suite), (main):
29738         * check/gst/gstiterator.c: (make_list_of_ints), (START_TEST),
29739         (add_fold_func), (gstiterator_suite), (main):
29740         * check/gst/gstobject.c: (gst_fake_object_get_type), (START_TEST),
29741         (thread_name_object), (thread_name_object_default),
29742         (gst_object_name_compare), (gst_object_suite), (main):
29743         * check/gst/gstpad.c: (START_TEST), (thread_link_unlink),
29744         (gst_pad_suite), (main):
29745         * check/gstcheck.c: (gst_check_log_message_func),
29746         (gst_check_log_critical_func), (gst_check_init):
29747         * check/gstcheck.h:
29748         * check/pipelines/simple_launch_lines.c: (setup_pipeline),
29749         (run_pipeline), (START_TEST), (simple_launch_lines_suite), (main):
29750         Added checks.
29751
29752 2005-03-07  Wim Taymans  <wim@fluendo.com>
29753
29754         * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
29755         (gst_list_iterator_next), (gst_list_iterator_resync),
29756         (gst_list_iterator_free), (gst_iterator_new_list),
29757         (gst_iterator_pop), (gst_iterator_next), (gst_iterator_resync),
29758         (gst_iterator_free), (gst_iterator_push), (filter_next),
29759         (filter_resync), (filter_uninit), (filter_free),
29760         (gst_iterator_filter), (gst_iterator_fold), (foreach_fold_func),
29761         (gst_iterator_foreach), (find_custom_fold_func),
29762         (gst_iterator_find_custom):
29763         * gst/gstiterator.h:
29764         Added missing files.
29765
29766 2005-03-07  Wim Taymans  <wim@fluendo.com>
29767
29768         * Makefile.am:
29769         * configure.ac:
29770         * docs/design/part-MT-refcounting.txt:
29771         * docs/design/part-conventions.txt:
29772         * docs/design/part-gstobject.txt:
29773         * docs/design/part-relations.txt:
29774         * examples/mixer/mixer.c: (main):
29775         * examples/thread/thread.c: (eos), (main):
29776         * gst/Makefile.am:
29777         * gst/autoplug/gstsearchfuncs.c: (gst_autoplug_caps_intersect):
29778         * gst/autoplug/gstspider.c: (gst_spider_identity_plug),
29779         (gst_spider_plug_from_srcpad):
29780         * gst/autoplug/gstspideridentity.c: (gst_spider_identity_getcaps),
29781         (gst_spider_identity_change_state),
29782         (gst_spider_identity_sink_loop_type_finding):
29783         * gst/elements/gstfakesrc.c: (gst_fakesrc_loop):
29784         * gst/elements/gstidentity.c: (gst_identity_init):
29785         * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_getcaps),
29786         (gst_tee_link), (gst_tee_request_new_pad), (gst_tee_chain):
29787         * gst/elements/gsttypefindelement.c: (free_entry):
29788         * gst/gst.c:
29789         * gst/gst.h:
29790         * gst/gstbin.c: (gst_bin_init), (gst_bin_get_clock_func),
29791         (gst_bin_set_clock_func), (gst_bin_auto_clock),
29792         (gst_bin_set_index), (gst_bin_set_element_sched),
29793         (gst_bin_unset_element_sched), (gst_bin_add_func), (gst_bin_add),
29794         (gst_bin_remove_func), (gst_bin_remove), (iterate_child),
29795         (gst_bin_iterate_elements), (iterate_child_recurse),
29796         (gst_bin_iterate_recurse), (gst_bin_dispose), (compare_name),
29797         (gst_bin_get_by_name), (gst_bin_get_by_name_recurse_up),
29798         (compare_interface), (gst_bin_get_by_interface),
29799         (gst_bin_iterate_all_by_interface), (gst_bin_iterate_func):
29800         * gst/gstbin.h:
29801         * gst/gstbuffer.c: (gst_buffer_get_type), (_gst_buffer_sub_free),
29802         (gst_buffer_default_free), (gst_buffer_default_copy),
29803         (gst_buffer_new), (gst_buffer_get_caps), (gst_buffer_set_caps),
29804         (gst_buffer_create_sub):
29805         * gst/gstbuffer.h:
29806         * gst/gstcaps.c: (gst_caps_get_type), (gst_caps_new_empty),
29807         (_gst_caps_free), (gst_caps_make_writable), (gst_caps_ref),
29808         (gst_caps_unref), (gst_static_caps_get),
29809         (gst_caps_remove_and_get_structure), (gst_caps_append),
29810         (gst_caps_append_structure), (gst_caps_remove_structure),
29811         (gst_caps_copy_nth), (gst_caps_set_simple),
29812         (gst_caps_set_simple_valist), (gst_caps_is_fixed_foreach),
29813         (gst_structure_is_equal_foreach), (gst_caps_is_subset),
29814         (gst_caps_structure_intersect_field), (gst_caps_intersect),
29815         (gst_caps_structure_subtract_field), (gst_caps_subtract),
29816         (gst_caps_normalize_foreach), (gst_caps_compare_structures),
29817         (gst_caps_structure_figure_out_union),
29818         (gst_caps_switch_structures), (gst_caps_do_simplify),
29819         (gst_caps_replace), (gst_caps_from_string),
29820         (gst_caps_copy_conditional):
29821         * gst/gstcaps.h:
29822         * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_id_ref),
29823         (_gst_clock_id_free), (gst_clock_id_unref),
29824         (gst_clock_id_compare_func), (gst_clock_id_wait),
29825         (gst_clock_id_wait_async), (gst_clock_class_init),
29826         (gst_clock_init), (gst_clock_dispose), (gst_clock_adjust_unlocked),
29827         (gst_clock_get_time), (gst_clock_set_time_adjust),
29828         (gst_clock_set_property), (gst_clock_get_property):
29829         * gst/gstclock.h:
29830         * gst/gstcompat.h:
29831         * gst/gstcpu.c: (_gst_cpu_initialize_i386), (gst_cpu_get_flags):
29832         * gst/gstdata.c: (gst_data_is_writable), (gst_data_copy_on_write):
29833         * gst/gstdata.h:
29834         * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
29835         (gst_element_requires_clock), (gst_element_provides_clock),
29836         (gst_element_set_clock), (gst_element_clock_wait),
29837         (gst_element_wait), (gst_element_set_time_delay),
29838         (gst_element_is_indexable), (gst_element_add_pad),
29839         (gst_element_add_ghost_pad), (gst_element_remove_pad),
29840         (pad_compare_name), (gst_element_get_static_pad),
29841         (gst_element_request_pad), (gst_element_get_request_pad),
29842         (gst_element_get_pad), (iterate_pad), (gst_element_iterate_pads),
29843         (gst_element_class_get_pad_template_list),
29844         (gst_element_class_get_pad_template), (gst_element_error_func),
29845         (gst_element_get_random_pad), (gst_element_get_event_masks),
29846         (gst_element_send_event), (gst_element_seek),
29847         (gst_element_get_query_types), (gst_element_query),
29848         (gst_element_get_formats), (gst_element_convert),
29849         (gst_element_is_locked_state), (gst_element_set_locked_state),
29850         (gst_element_sync_state_with_parent), (gst_element_change_state),
29851         (gst_element_finalize), (gst_element_yield),
29852         (gst_element_interrupt), (gst_element_set_scheduler),
29853         (gst_element_get_scheduler), (gst_element_set_loop_function):
29854         * gst/gstelement.h:
29855         * gst/gstevent.h:
29856         * gst/gstformat.c: (_gst_format_initialize), (gst_format_register),
29857         (gst_format_get_by_nick), (gst_format_get_details),
29858         (gst_format_iterate_definitions):
29859         * gst/gstformat.h:
29860         * gst/gstindex.c: (gst_index_gtype_resolver):
29861         * gst/gstinfo.c:
29862         * gst/gstinfo.h:
29863         * gst/gstmemchunk.c: (gst_mem_chunk_alloc), (gst_mem_chunk_alloc0),
29864         (gst_mem_chunk_free):
29865         * gst/gstobject.c: (gst_object_class_init), (gst_object_init),
29866         (gst_object_ref), (gst_object_unref), (gst_object_sink),
29867         (gst_object_replace), (gst_object_dispose), (gst_object_finalize),
29868         (gst_object_dispatch_properties_changed),
29869         (gst_object_set_name_default), (gst_object_set_name),
29870         (gst_object_get_name), (gst_object_set_name_prefix),
29871         (gst_object_get_name_prefix), (gst_object_set_parent),
29872         (gst_object_get_parent), (gst_object_unparent),
29873         (gst_object_check_uniqueness), (gst_object_save_thyself),
29874         (gst_object_restore_thyself), (gst_object_real_restore_thyself),
29875         (gst_object_set_property), (gst_object_get_property),
29876         (gst_object_get_path_string):
29877         * gst/gstobject.h:
29878         * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
29879         (gst_real_pad_init), (gst_real_pad_get_property),
29880         (gst_pad_custom_new), (gst_pad_get_direction),
29881         (gst_pad_set_active), (gst_pad_is_active),
29882         (gst_pad_set_event_function), (gst_pad_is_linked),
29883         (gst_pad_link_free), (gst_pad_link_intersect),
29884         (gst_pad_link_fixate), (gst_pad_set_caps),
29885         (gst_pad_try_set_caps_nonfixed), (gst_pad_set_pad_template),
29886         (gst_pad_get_real_parent), (gst_pad_add_ghost_pad),
29887         (gst_pad_remove_ghost_pad), (_gst_pad_default_fixate_foreach),
29888         (gst_pad_link_unnegotiate), (gst_pad_proxy_fixate),
29889         (gst_pad_get_caps), (gst_pad_peer_get_caps),
29890         (gst_pad_get_pad_template_caps), (gst_pad_get_peer),
29891         (gst_pad_realize), (gst_pad_get_allowed_caps),
29892         (gst_real_pad_dispose), (gst_real_pad_finalize),
29893         (gst_pad_collectv), (gst_pad_collect_valist),
29894         (gst_pad_template_dispose), (gst_pad_template_new),
29895         (gst_pad_get_internal_links):
29896         * gst/gstpad.h:
29897         * gst/gstpipeline.c: (gst_pipeline_dispose),
29898         (gst_pipeline_change_state):
29899         * gst/gstpipeline.h:
29900         * gst/gstplugin.c:
29901         * gst/gstpluginfeature.c: (gst_plugin_feature_get_name),
29902         (gst_plugin_feature_set_rank), (gst_plugin_feature_get_rank):
29903         * gst/gstpluginfeature.h:
29904         * gst/gstprobe.c: (gst_probe_dispatcher_dispatch):
29905         * gst/gstquery.c: (_gst_query_type_initialize),
29906         (gst_query_type_register), (gst_query_type_get_by_nick),
29907         (gst_query_type_get_details), (gst_query_type_iterate_definitions):
29908         * gst/gstquery.h:
29909         * gst/gstqueue.c: (gst_queue_link_sink), (gst_queue_link_src):
29910         * gst/gstscheduler.c: (gst_scheduler_add_element),
29911         (gst_scheduler_factory_create):
29912         * gst/gststructure.c: (gst_structure_set_parent_refcount),
29913         (gst_structure_free), (gst_structure_set_name),
29914         (gst_structure_id_set_value), (gst_structure_set_value),
29915         (gst_structure_set_valist), (gst_structure_remove_field),
29916         (gst_structure_remove_fields),
29917         (gst_structure_remove_fields_valist),
29918         (gst_structure_remove_all_fields), (gst_structure_foreach),
29919         (gst_structure_map_in_place),
29920         (gst_caps_structure_fixate_field_nearest_int),
29921         (gst_caps_structure_fixate_field_nearest_double):
29922         * gst/gststructure.h:
29923         * gst/gstsystemclock.c: (gst_system_clock_class_init),
29924         (gst_system_clock_init), (gst_system_clock_dispose),
29925         (gst_system_clock_async_thread),
29926         (gst_system_clock_id_wait_unlocked), (gst_system_clock_id_wait),
29927         (gst_system_clock_id_wait_async), (gst_system_clock_id_unschedule):
29928         * gst/gstsystemclock.h:
29929         * gst/gsttag.c: (gst_tag_list_add_value_internal),
29930         (gst_tag_list_copy_foreach), (structure_foreach_wrapper):
29931         * gst/gsttaginterface.c:
29932         * gst/gstthread.c: (gst_thread_dispose),
29933         (gst_thread_release_children_locks), (gst_thread_change_state),
29934         (gst_thread_main_loop):
29935         * gst/gsttrashstack.h:
29936         * gst/gsttypefind.c: (gst_type_find_factory_dispose):
29937         * gst/gsttypes.h:
29938         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
29939         (gst_element_request_pad), (gst_element_get_pad_from_template),
29940         (gst_element_request_compatible_pad),
29941         (gst_element_get_compatible_pad_filtered),
29942         (gst_element_get_compatible_pad), (gst_element_state_get_name),
29943         (gst_element_link_pads_filtered), (gst_element_link_filtered),
29944         (gst_element_link_many), (gst_element_link),
29945         (gst_element_link_pads), (gst_element_unlink_pads),
29946         (gst_element_unlink_many), (gst_element_unlink),
29947         (gst_pad_can_link_filtered), (gst_pad_can_link),
29948         (gst_pad_use_fixed_caps), (gst_pad_get_fixed_caps_func),
29949         (gst_object_default_error), (gst_bin_add_many),
29950         (gst_bin_remove_many), (gst_element_populate_std_props),
29951         (gst_element_class_install_std_props), (gst_buffer_merge),
29952         (gst_buffer_stamp), (intersect_caps_func), (gst_pad_proxy_getcaps),
29953         (link_fold_func), (gst_pad_proxy_setcaps):
29954         * gst/gstutils.h:
29955         * gst/gstvalue.c: (gst_value_deserialize_string):
29956         * gst/parse/grammar.y:
29957         * gst/schedulers/gstbasicscheduler.c:
29958         (gst_basic_scheduler_cothreaded_chain),
29959         (gst_basic_scheduler_chain_recursive_add),
29960         (gst_basic_scheduler_pad_link):
29961         * gst/schedulers/gstoptimalscheduler.c:
29962         (get_group_schedule_function),
29963         (gst_opt_scheduler_state_transition),
29964         (gst_opt_scheduler_add_element), (element_get_reachables_func):
29965         * libs/gst/bytestream/bytestream.c:
29966         * libs/gst/dataprotocol/dataprotocol.c:
29967         (gst_dp_header_from_buffer):
29968         * po/nb.po:
29969         * po/ru.po:
29970         * tests/threadstate/threadstate2.c: (eos):
29971         * tools/gst-compprep.c: (main):
29972         * tools/gst-inspect.c: (print_field), (print_element_flag_info),
29973         (print_pad_info), (print_children_info):
29974         * tools/gst-launch.c: (idle_func), (main):
29975         * tools/gst-md5sum.c: (idle_func), (main):
29976         * tools/gst-xmlinspect.c: (print_element_info):
29977         First THREADED backport attempt, focusing on adding locks and
29978         making sure the API is threadsafe. Needs more work. More docs
29979         follow this week.
29980
29981 2005-02-24  Andy Wingo  <wingo@pobox.com>
29982
29983         * tests/bench-complexity.scm:
29984         * tests/complexity.gnuplot: New files, good for running complexity
29985         benchmarks.
29986
29987         * tests/Makefile.am:
29988         * tests/complexity.c: New test, sets up N elements, at each level
29989         teeing into M streams per element. Eeeenteresting.
29990
29991         * tests/mass_elements.gnuplot: gnuplot file for the mass_elements
29992         benchmark. Run as gnuplot mass_elements.gnuplot > foo.ps, after
29993         running bench-mass_elements.scm.
29994
29995         * tests/bench-mass_elements.scm: New script, runs mass_elements
29996         for various numbers of identities, outputting the results to a
29997         file. Requires guile 1.6. Just for testing.
29998
29999 2005-02-23  Thomas Vander Stichele  <thomas at apestaart dot org>
30000
30001         * gst/schedulers/fairscheduler.c:
30002           compile with debug disabled
30003
30004 2005-02-22  Thomas Vander Stichele  <thomas at apestaart dot org>
30005
30006         * configure.ac:
30007           hunting season on 0.9 is now OPEN