tests/check/libs/: More tests, prepare for tests with switching caps in buffer_alloc.
[platform/upstream/gstreamer.git] / ChangeLog
1 2008-06-25  Wim Taymans  <wim.taymans@collabora.co.uk>
2
3         * tests/check/libs/test_transform.c: (gst_test_trans_base_init),
4         (gst_test_trans_class_init), (result_sink_chain),
5         (result_buffer_alloc), (gst_test_trans_new), (gst_test_trans_free),
6         (gst_test_trans_push), (gst_test_trans_pop):
7         * tests/check/libs/transform1.c: (buffer_alloc_pt1),
8         (set_caps_pt1), (GST_START_TEST), (set_caps_pt2), (transform_ip_1),
9         (set_caps_1), (set_caps_ct1), (transform_ct1),
10         (transform_caps_ct1), (transform_size_ct1), (buffer_alloc_ct1),
11         (set_caps_ct2), (transform_ct2), (transform_caps_ct2),
12         (transform_size_ct2), (buffer_alloc_ct2),
13         (gst_basetransform_suite):
14         More tests, prepare for tests with switching caps in buffer_alloc.
15
16 2008-06-25  Thijs Vermeir  <thijsvermeir@gmail.com>
17
18         * plugins/elements/gstmultiqueue.c:
19         * plugins/elements/gstmultiqueue.h:
20         Fix dead-lock in underrun_cb
21
22 2008-06-25  Wim Taymans  <wim.taymans@collabora.co.uk>
23
24         * docs/design/part-states.txt:
25         Fix device open/close docs.
26
27 2008-06-25  Stefan Kost  <ensonic@users.sf.net>
28
29         * ChangeLog:
30           Mention bugnumber for last commit.
31
32 2008-06-25  Stefan Kost  <ensonic@users.sf.net>
33
34         patch by: Luc Pionchon  <luc.pionchon@nokia.com>
35
36         * docs/manual/manual.xml:
37         - Reorganised the previous "introduction" bundle into Foreword,
38         Introduction, and About GStreamer. The two first are <preface>
39         docbook elements. The later is the first part of the book.
40         - added intro-gstreamer.xml (content partially from
41         intro-preface.xml)
42         - moved appendix-win32.xml into appendix-integration.xml
43
44         * docs/manual/intro-preface.xml: gstreamer section moved...
45         * docs/manual/intro-gstreamer.xml: ...here. new file.
46
47         * docs/manual/appendix-win32.xml: removed file. Content moved...
48         * docs/manual/appendix-integration.xml: ...here.
49         
50         * docs/manual/highlevel-components.xml: section about GstEditor moved...
51         * docs/manual/appendix-checklist.xml: ...here.
52         
53         Fixes: 538764
54
55 2008-06-25  Stefan Kost  <ensonic@users.sf.net>
56
57         patch by: Luc Pionchon  <luc.pionchon@nokia.com>
58
59         * docs/manual/basics-helloworld.xml:
60         * docs/manual/hello-world.fig:
61           - Explicitely include glib.h.
62           - Do not use global variables.
63           - Use g_printerr() instead of g_print().
64           - Minor formating/renaming to increase readibility.
65           - Renamed new_pad() to on_pad_added()
66           - Improved explenatory comments.
67           - renamed ogg parser to ogg demuxer
68           - Use "autoaudiosink" instead of "alsasink".
69           Fixes: #538619
70
71 2008-06-25  Stefan Kost  <ensonic@users.sf.net>
72
73         * ChangeLog:
74           Remove cvs conflict marker.
75
76 2008-06-25  Stefan Kost  <ensonic@users.sf.net>
77
78         * docs/README:
79           Document that for plgin-docs we extraxt he short-desc from the element
80           details.
81
82         * docs/design/part-states.txt:
83           Tell that devices should be closed in PAUSED -> READY.
84
85         * docs/manual/README:
86           Document how tests in the manual are handled.
87
88         * docs/manuals.mak:
89           Typo in comment.
90
91 2008-06-25  Wim Taymans  <wim.taymans@collabora.co.uk>
92
93         * gst/gstbin.c: (bin_query_latency_fold):
94         Only care about latency min and max when the sink is actually a live
95         sink.
96
97 2008-06-25  Wim Taymans  <wim.taymans@collabora.co.uk>
98
99         * docs/design/part-block.txt:
100         Fix typo.
101
102         * docs/design/part-element-transform.txt:
103         Add notes about why transform needs to know input/output sizes.
104         Add some issues that need to be solved.
105         Add some more use cases.
106
107         * tests/check/libs/test_transform.c: (gst_test_trans_base_init),
108         (gst_test_trans_class_init), (result_sink_chain),
109         (result_buffer_alloc), (gst_test_trans_new), (gst_test_trans_free),
110         (gst_test_trans_push), (gst_test_trans_pop):
111         * tests/check/libs/transform1.c: (buffer_alloc_pt1),
112         (set_caps_pt1), (GST_START_TEST), (set_caps_pt2), (transform_ip_1),
113         (set_caps_1), (set_caps_ct1), (transform_ct1),
114         (transform_caps_ct1), (transform_size_ct1), (buffer_alloc_ct1),
115         (gst_basetransform_suite):
116         Add suport for different pad templates and buffer-alloc.
117         Add more checks for caps and buffer-alloc.
118         Add checks for proxy buffer alloc.
119         Add unit test for copy transform.
120
121 2008-06-24  Tim-Philipp Müller  <tim.muller at collabora co uk>
122
123         Patch by: Luc Pionchon  <luc.pionchon@nokia.com>
124
125         * docs/manual/appendix-integration.xml:
126         * docs/manual/appendix-licensing.xml:
127         * docs/manual/basics-elements.xml:
128         * docs/manual/basics-helloworld.xml:
129         * docs/manual/basics-pads.xml:
130         * docs/manual/highlevel-components.xml:
131         * docs/manual/highlevel-xml.xml:
132         * docs/manual/intro-basics.xml:
133         * docs/manual/intro-preface.xml:
134           Typo and formatting fixes (#538594).
135
136 2008-06-24  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
137
138         * tests/check/gst/gstghostpad.c: (GST_START_TEST):
139         Fix some memory leaks and uses of object instances that we don't
140         actually own.
141
142 2008-06-22  Thijs Vermeir  <thijsvermeir@gmail.com>
143
144         * plugins/elements/gstmultiqueue.c:
145         Add functionality to extra-size-buffers property.
146
147 2008-06-22  Thijs Vermeir  <thijsvermeir@gmail.com>
148
149         * plugins/elements/gstmultiqueue.c:
150         Don't update the cur_time on GST_CLOCK_TIME_NONE (#537804) and don't
151         activate the pads if they are added in STATE_NULL.
152
153 2008-06-21  Thijs Vermeir  <thijsvermeir@gmail.com>
154
155         * docs/libs/gstreamer-libs-sections.txt:
156         Add new API to doc
157         * libs/gst/check/gstcheck.c:
158         * libs/gst/check/gstcheck.h:
159         API: gst_check_teardown_pad_by_name
160
161 2008-06-21  Thijs Vermeir  <thijsvermeir@gmail.com>
162
163         * libs/gst/check/gstcheck.c:
164         * libs/gst/check/gstcheck.h:
165         Also setup request pads and allow setup pads by name (#537812)
166         API: gst_check_setup_src_pad_by_name
167         API: gst_check_setup_sink_pad_by_name
168
169 2008-06-20  Thomas Vander Stichele  <thomas at apestaart dot org>
170
171         * tests/check/gst/gstbuffer.c:
172         * tests/check/pipelines/parse-launch.c:
173           Use HAVE_VALGRIND_H some more.
174
175 2008-06-20  Thomas Vander Stichele  <thomas at apestaart dot org>
176
177         * scripts/cvs-update.sh:
178           Pass arguments to make.
179           Run autoregen.sh if Makefile is not there.
180
181 2008-06-20  Thomas Vander Stichele  <thomas at apestaart dot org>
182
183         * configure.ac:
184         * gst/gstinfo.c:
185           Don't assume that <valgrind/valgrind.h> exists just because
186           the binary is there.
187
188 2008-06-20  Wim Taymans  <wim.taymans@collabora.co.uk>
189
190         * tests/check/Makefile.am:
191         * tests/check/libs/test_transform.c: (gst_test_trans_base_init),
192         (gst_test_trans_class_init), (gst_test_trans_init),
193         (gst_test_trans_set_data), (result_sink_chain),
194         (gst_test_trans_new), (gst_test_trans_free), (gst_test_trans_push),
195         (gst_test_trans_pop):
196         * tests/check/libs/transform1.c: (GST_START_TEST),
197         (transform_ip_1), (set_caps_1), (gst_basetransform_suite):
198         Add some test basetransform element and the beginnings of various
199         unit tests for it.
200
201 2008-06-20  Wim Taymans  <wim.taymans@collabora.co.uk>
202
203         * libs/gst/base/gsttypefindhelper.c: (helper_find_peek):
204         Increase code readability.
205         Don't try to compare buffer offsets when ther are invalid.
206
207 2008-06-20  Tim-Philipp Müller  <tim.muller at collabora co uk>
208
209         * docs/design/Makefile.am:
210           Dist some more design docs.
211
212         * docs/random/moving-plugins:
213           Small addition: good plugins mustn't have functional code
214           within assertion macros.
215
216 2008-06-20  Wim Taymans  <wim.taymans@collabora.co.uk>
217
218         * docs/design/draft-framestep.txt:
219         Some ideas about a framestep API
220
221         * docs/design/part-element-transform.txt:
222         Start design and use cases for basetransform in order to get it
223         fixed soon.
224
225 2008-06-20  Tim-Philipp Müller  <tim.muller at collabora co uk>
226
227         * gst/gsttaglist.h:
228           In GST_TAG_ATTACHEMENT docs, mention that the file name needs to
229           be in UTF-8 encoding.
230
231 2008-06-20  Tim-Philipp Müller  <tim.muller at collabora co uk>
232
233         * gst/gstbus.c:
234           Make it known that gst_bus_poll() is pure evil (fixes #538810).
235
236 2008-06-20  Stefan Kost  <ensonic@users.sf.net>
237
238         * plugins/elements/gstcapsfilter.c:
239         * plugins/elements/gstfakesink.c:
240         * plugins/elements/gstfakesrc.c:
241         * plugins/elements/gstfdsink.c:
242         * plugins/elements/gstfdsrc.c:
243         * plugins/elements/gstfilesink.c:
244         * plugins/elements/gstfilesrc.c:
245         * plugins/elements/gstidentity.c:
246         * plugins/elements/gstmultiqueue.c:
247         * plugins/elements/gstqueue.c:
248         * plugins/elements/gsttee.c:
249         * plugins/elements/gsttypefindelement.c:
250           Remove short_description. Add basic docs for gsttypefindelement.
251           Simplify markup for fakesrc/fdsrc.
252
253 2008-06-20  Wim Taymans  <wim.taymans@collabora.co.uk>
254
255         * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init):
256         Added Since doc.
257
258 2008-06-20  Wim Taymans  <wim.taymans@collabora.co.uk>
259
260         Patch by: joel larsson <tilljoel at gmail dot com>
261
262         * docs/plugins/gstreamer-plugins.args:
263         * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init),
264         (gst_fd_src_init), (gst_fd_src_update_fd),
265         (gst_fd_src_set_property), (gst_fd_src_get_property),
266         (gst_fd_src_create):
267         * plugins/elements/gstfdsrc.h:
268         Add timeout property like udpsrc. Fixes #538628.
269         Add some more docs and example pipelines.
270
271 2008-06-20  Wim Taymans  <wim.taymans@collabora.co.uk>
272
273         * docs/libs/gstreamer-libs-sections.txt:
274         * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
275         (gst_base_sink_query_latency), (gst_base_sink_set_render_delay),
276         (gst_base_sink_get_render_delay), (gst_base_sink_wait_eos),
277         (gst_base_sink_do_sync):
278         * libs/gst/base/gstbasesink.h:
279         * win32/common/libgstbase.def:
280         Add method to allow sinks to specify additional delay between the sync
281         times and the actual rendering of the data.
282         API: gst_base_sink_set_render_delay()
283         API: gst_base_sink_get_render_delay()
284
285 2008-06-20  Jan Schmidt  <jan.schmidt@sun.com>
286
287         * configure.ac:
288         Bump version number back to dev -> 0.10.20.1
289
290 2008-06-20  Sebastian Dröge  <slomo@circular-chaos.org>
291
292         * docs/gst/gstreamer-sections.txt:
293         * gst/gsttaglist.c: (_gst_tag_initialize):
294         * gst/gsttaglist.h:
295         API: Add GST_TAG_ATTACHMENT for generic file attachments to streams.
296         Fixes bug #538568.
297
298 2008-06-20  Stefan Kost  <ensonic@users.sf.net>
299
300         * libs/gst/controller/gstcontroller.c:
301           Revert one change, that make ret value possible uninitialized.
302
303 2008-06-20  Stefan Kost  <ensonic@users.sf.net>
304
305         * libs/gst/controller/gstcontroller.c:
306           Use freeze/thaw notify to sync notify emission a bit (its also more
307           efficient). Move debug output to LOG (is called a lot in a loop).
308           Always unset g_values if the have been initialized.
309
310 2008-06-20  Wim Taymans  <wim.taymans@collabora.co.uk>
311
312         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
313         (gst_base_sink_wait_eos), (gst_base_sink_event):
314         If we have not seen a buffer before EOS, use the segment values to
315         report the current position instead of invalid positions.
316
317 2008-06-20  Stefan Kost  <ensonic@users.sf.net>
318
319         * docs/plugins/tmpl/.cvsignore:
320         * tests/check/gst/.cvsignore:
321           Ignore more.
322
323 2008-06-20  Stefan Kost  <ensonic@users.sf.net>
324
325         * libs/gst/controller/gstinterpolation.c:
326         * libs/gst/controller/gstinterpolationcontrolsource.c:
327         * tests/check/libs/controller.c:
328           Rewrite handling of default values. Fix overflow with unsigned types
329           in linear interpolation. Remove now obsolete _first_value() function.
330           Add more tests. Fixes #538201.
331
332 2008-06-20  Wim Taymans  <wim.taymans@collabora.co.uk>
333
334         * libs/gst/base/gstbasetransform.c:
335         (gst_base_transform_class_init), (gst_base_transform_init),
336         (gst_base_transform_transform_caps),
337         (gst_base_transform_prepare_output_buffer):
338         Add debug info.
339         When a buffer is writable, its metadata is also writable so we don't
340         need to subbuffer (which then makes the buffer not-writable anymore).
341
342 === release 0.10.20 ===
343
344 2008-06-18  Jan Schmidt <jan.schmidt@sun.com>
345
346         * configure.ac:
347           releasing 0.10.20, "You Crazy Diamond"
348
349 2008-06-11  Jan Schmidt  <jan.schmidt@sun.com>
350
351         * configure.ac:
352         0.10.19.3 pre-release
353
354 2008-06-11  Jan Schmidt  <jan.schmidt@sun.com>
355
356         * configure.ac:
357         * gst/gstpreset.c:
358         Rename DATADIR to GST_DATADIR to avoid build problems
359         on win32. Patch By: David Schleef <ds@schleef.org>
360         Fixes: #536857
361
362 2008-06-05  Sebastian Dröge  <slomo@circular-chaos.org>
363
364         * configure.ac:
365         Explicitely link with -ldl if dladdr() is found there. Before it was
366         implicitely linked by the gmodule pkgconfig file but in glib 2.17.0
367         -ldl has moved from Libs to Libs.private. Fixes bug #536744.
368
369 2008-06-05  Tim-Philipp Müller  <tim.muller at collabora co uk>
370
371         * gst/gsterror.c: (_gst_stream_errors_init):
372           Fix typo (spotted by Fabricio Godoy, #536723).
373
374 2008-06-05  Jan Schmidt  <jan.schmidt@sun.com>
375
376         * configure.ac:
377         0.10.19.2 pre-release
378
379 2008-06-04  Wim Taymans  <wim.taymans@collabora.co.uk>
380
381         * libs/gst/base/gstbasesink.c: (gst_base_sink_set_async_enabled),
382         (gst_base_sink_set_ts_offset), (gst_base_sink_perform_qos):
383         Add some debug.
384         Make sure we don't generate invalid QoS messages.
385
386 2008-06-04  Wim Taymans  <wim.taymans@collabora.co.uk>
387
388         * gst/gstevent.c: (gst_event_new_qos):
389         Add some assert and docs for invalid input to the qos function.
390
391 2008-05-30  Wim Taymans  <wim.taymans@collabora.co.uk>
392
393         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
394         (gst_base_sink_get_position):
395         The reported position must always be smaller than the last seen
396         timestamps (or timestamp + duration for reverse).
397
398 2008-05-30  Sebastian Dröge  <slomo@circular-chaos.org>
399
400         Patch by: Rob Bradford <rob at robster dot org dot uk>
401
402         * gst/gstregistry.c: (gst_registry_scan_path_level):
403         Don't recurse into .debug directories as some distros install
404         the debugging symbols next to the plugins in .debug directories
405         and dlopen() crashes on them sometimes. Fixes bug #508070.
406
407         Add FIXME for 0.11 to not recurse into directories at all because
408         it's very inconsistent to the behaviour of other PATH environment
409         variables.
410
411 2008-05-29  Wim Taymans  <wim.taymans@collabora.co.uk>
412
413         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
414         (gst_base_sink_get_position_last), (gst_base_sink_get_position):
415         Fix position query range checks in reverse playback.
416
417 2008-05-29  Sebastian Dröge  <slomo@circular-chaos.org>
418
419         * gst/gstelement.c:
420         * gst/gstelement.h:
421         Deprecated gst_element_get_pad() as it can't be used sanely. It's not
422         clear of the reference to the resulting pad must be released later
423         or not, resulting in possible leaks. Fixes bug #533865.
424
425 2008-05-28  Wim Taymans  <wim.taymans@collabora.co.uk>
426
427         Patch by: José Alburquerque <jaalburqu at svn dot gnome dot org>
428
429         * gst/gstelementfactory.c:
430         Small doc fix. Fixes #535285.
431
432 2008-05-28  Wim Taymans  <wim.taymans@collabora.co.uk>
433
434         Based on patch by: Bjarne Rosengren <bjarne at axis dot com>
435
436         * libs/gst/base/gstbasesrc.c: (gst_base_src_send_event),
437         (gst_base_src_get_range), (gst_base_src_pad_get_range),
438         (gst_base_src_loop), (gst_base_src_set_flushing),
439         (gst_base_src_change_state):
440         Make sending an EOS event to the basesrc non-blocking even if the
441         implementation does blocking waits in the create function. This is done
442         by unlocking the create function when EOS is sent.
443         Fixes #535218.
444
445 2008-05-28  Sebastian Dröge  <slomo@circular-chaos.org>
446
447         * tools/gst-inspect.c: (print_element_properties_info):
448         If possible print the element type of GValueArray properties.
449
450 2008-05-28  Sebastian Dröge  <slomo@circular-chaos.org>
451
452         * gst/gstiterator.c:
453         Remove an unused field from the private GstListIterator struct.
454
455 2008-05-27  Stefan Kost  <ensonic@users.sf.net>
456
457         * libs/gst/controller/gstcontroller.c:
458           Add parameter guards.
459
460 2008-05-27  Stefan Kost  <ensonic@users.sf.net>
461
462         * tests/check/gst/gstpipeline.c:
463           Revert test change and add comment why it should not work.
464
465 2008-05-27  Stefan Kost  <ensonic@users.sf.net>
466
467         * tests/check/gst/gstpipeline.c:
468           Extending the test a little to verify that we also get the NULL state-
469           change message.
470
471 2008-05-27  Tim-Philipp Müller  <tim.muller at collabora co uk>
472
473         * gst/gstpreset.c: (gst_preset_default_get_meta),
474           (gst_preset_get_preset_names), (gst_preset_get_property_names),
475           (gst_preset_load_preset), (gst_preset_save_preset),
476           (gst_preset_rename_preset), (gst_preset_delete_preset),
477           (gst_preset_set_meta):
478           Add Since: markers to docs blurbs.
479
480         * win32/common/libgstreamer.def:
481           Add recently-added API.
482
483 2008-05-27  Wim Taymans  <wim.taymans@collabora.co.uk>
484
485         Patch by: Stefan Kost  <ensonic@users.sf.net>
486
487         * configure.ac:
488         Add DATADIR for storing presets.
489
490         * docs/gst/gstreamer-docs.sgml:
491         * docs/gst/gstreamer-sections.txt:
492         * docs/gst/gstreamer.types.in:
493         Add GstPreset to docs.
494
495         * gst/Makefile.am:
496         * gst/gst.h:
497         * gst/gstpreset.c: (preset_get_paths), (preset_skip_property),
498         (preset_open_and_parse_header), (preset_parse_version),
499         (preset_merge), (preset_get_keyfile),
500         (gst_preset_default_get_preset_names),
501         (gst_preset_default_get_property_names),
502         (gst_preset_default_load_preset),
503         (gst_preset_default_save_presets_file),
504         (gst_preset_default_save_preset),
505         (gst_preset_default_rename_preset),
506         (gst_preset_default_delete_preset), (gst_preset_default_set_meta),
507         (gst_preset_default_get_meta), (gst_preset_default_randomize),
508         (gst_preset_default_reset), (gst_preset_get_preset_names),
509         (gst_preset_get_property_names), (gst_preset_load_preset),
510         (gst_preset_save_preset), (gst_preset_rename_preset),
511         (gst_preset_delete_preset), (gst_preset_set_meta),
512         (gst_preset_get_meta), (gst_preset_class_init),
513         (gst_preset_base_init), (gst_preset_get_type):
514         * gst/gstpreset.h:
515         Add GstPreset to core. Fixes #396779
516
517         * tests/check/Makefile.am:
518         * tests/check/gst/gstpreset.c: (gst_preset_test_get_property),
519         (gst_preset_test_set_property), (gst_preset_test_class_init),
520         (gst_preset_test_base_init), (gst_preset_test_get_type),
521         (gst_preset_test_plugin_init), (GST_START_TEST),
522         (remove_preset_file), (test_setup), (test_teardown),
523         (gst_preset_suite):
524         Add GstPreset unit tests.
525
526 2008-05-27  Wim Taymans  <wim.taymans@collabora.co.uk>
527
528         * gst/gstpad.c: (gst_pad_event_default_dispatch):
529         The default event function on a sinkpad should return TRUE when
530         there are no internal links but should collect the return values from
531         the internal links otherwise.
532
533 2008-05-27  Wim Taymans  <wim.taymans@collabora.co.uk>
534
535         * plugins/elements/gsttypefindelement.c:
536         (gst_type_find_element_src_event),
537         (gst_type_find_element_handle_event):
538         Use faster and safer _pad_push_event().
539
540 2008-05-27  Tim-Philipp Müller  <tim.muller at collabora co uk>
541
542         * docs/gst/gstreamer-sections.txt:
543         * gst/gstutils.c: (element_find_unlinked_pad),
544           (gst_bin_find_unlinked_pad), (gst_bin_find_unconnected_pad),
545         * gst/gstutils.h:
546           API: add gst_bin_find_unlinked_pad()
547           API: deprecate gst_bin_find_unconnected_pad() (#401456)
548
549 2008-05-26  Peter Kjellerstedt  <pkj@axis.com>
550
551         * gst/gstclock.c:
552         * gst/gstclock.h:
553         * gst/gsttask.c:
554         * gst/gsttask.h:
555         Fixed a bunch of typos.
556
557 2008-05-25  Tim-Philipp Müller  <tim.muller at collabora co uk>
558
559         * gst/gstpad.h:
560         * gst/gstutils.c: (gst_element_unlink), (element_find_unlinked_pad),
561           (gst_bin_find_unconnected_pad), (gst_parse_bin_from_description),
562           (gst_parse_bin_from_description_full):
563         * gst/gstutils.h:
564           'unconnected pad' -> 'unlinked pad' for consistency (#401456).
565
566 2008-05-25  Tim-Philipp Müller  <tim.muller at collabora co uk>
567
568         * docs/pwg/advanced-tagging.xml:
569           Small docs update, can't be bothered to rewrite the nonsensical
570           examples right now.
571
572 2008-05-25  Tim-Philipp Müller  <tim.muller at collabora co uk>
573
574         * gst/gstevent.h:
575           Clarify docs for GST_SEEK_TYPE_CUR (#534505).
576
577 2008-05-25  Tim-Philipp Müller  <tim.muller at collabora co uk>
578
579         * gst/parse/grammar.y:
580           Remove unneeded casts.
581
582 2008-05-25  Tim-Philipp Müller  <tim.muller at collabora co uk>
583
584         * gst/parse/grammar.y:
585         * tests/check/pipelines/parse-launch.c:
586           Get all missing elements from a parse launch string if possible
587           (ie. if the FATAL_ERRORS flag has been specified). Fixes #528178.
588
589 2008-05-24  Tim-Philipp Müller  <tim.muller at collabora co uk>
590
591         * tests/check/Makefile.am:
592         * tests/check/pipelines/parse-launch.c:
593           Add some unit tests for the new gst_parse_launch*_full() API.
594           (Exposes a previously-existing memory leak in the error code
595           path, so adding to VALGRIND_TO_FIX for now).
596
597 2008-05-24  Tim-Philipp Müller  <tim.muller at collabora co uk>
598
599         * docs/gst/gstreamer-sections.txt:
600         * gst/gst.c: (init_post):
601         * gst/gst_private.h: (_GstParseContext):
602         * gst/gstparse.c: (gst_parse_error_quark), (gst_parse_context_new),
603           (gst_parse_context_free), (gst_parse_context_get_missing_elements),
604           (gst_parse_launchv), (gst_parse_launchv_full), (gst_parse_launch),
605           (gst_parse_launch_full):
606         * gst/gstparse.h: (GST_PARSE_FLAG_NONE), (GST_PARSE_FLAG_FATAL_ERRORS),
607           (GstParseFlags), (GstParseContext):
608         * gst/gstutils.c: (gst_parse_bin_from_description),
609           (gst_parse_bin_from_description_full):
610         * gst/gstutils.h:
611         * gst/parse/grammar.y:
612         * gst/parse/types.h:
613         * win32/common/libgstreamer.def:
614           Add new gst_parse_*_full API (#528178):
615           API: gst_parse_launch_full()
616           API: gst_parse_launchv_full()
617           API: gst_parse_bin_from_description_full()
618           API: gst_parse_context_new()
619           API: gst_parse_context_free()
620           API: gst_parse_context_get_missing_elements()
621
622 2008-05-23  Stefan Kost  <ensonic@users.sf.net>
623
624         patch by: Suresh Kumar P <sureshkumar.pp@gmail.com>
625
626         * docs/faq/gst-uninstalled:
627           Also support ffmpeg in gst-uninstalled.
628
629 2008-05-22  Sebastian Dröge  <slomo@circular-chaos.org>
630
631         * configure.ac:
632         After discussion on IRC use the binary registry as default
633         but allow to disable it with --disable-binary-registry.
634
635         * win32/common/libgstreamer.def:
636         Add the two new symbols for the binary registry.
637
638 2008-05-22  Tim-Philipp Müller  <tim.muller at collabora co uk>
639
640         * gst/gstparse.c: (_gst_parse_escape), (gst_parse_launchv):
641         * gst/gstutils.c: (gst_parse_bin_from_description):
642         * gst/parse/grammar.y: (graph):
643           More guards against bad input; typo fix; some minor clean-ups.
644
645 2008-05-22  Sebastian Dröge  <slomo@circular-chaos.org>
646
647         Patch by: Sjoerd Simons <sjoerd at luon dot net>
648
649         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
650         If nothing else can be used, use the last buffer's start time as
651         the segment's last stop. Fixes bug #534258.
652
653 2008-05-21  Tim-Philipp Müller  <tim.muller at collabora co uk>
654
655         * gst/gstpad.c: (gst_pad_alloc_buffer_full):
656           Move size sanity check to the right place: downstream may return
657           a buffer with a smaller size if the buffer caps are different than
658           the requested ones, as may happen when doing reverse negotiation.
659
660 2008-05-21  Wim Taymans  <wim.taymans@collabora.co.uk>
661
662         * plugins/elements/gstfilesink.c: (gst_file_sink_set_location),
663         (gst_file_sink_render):
664         * plugins/elements/gstfilesrc.c: (gst_file_src_set_location),
665         (gst_file_src_start):
666         Small cleanups. Add note adbout g_fopen() on windows and why we don't
667         use it yet.
668
669 2008-05-21  Wim Taymans  <wim.taymans@collabora.co.uk>
670
671         * gst/gstpad.c: (gst_pad_load_and_link):
672         * gst/gstutils.c: (gst_element_link_pads),
673         (gst_element_unlink_pads):
674         * libs/gst/check/gstcheck.c: (gst_check_setup_src_pad),
675         (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
676         (gst_check_teardown_sink_pad),
677         (gst_check_element_push_buffer_list):
678         * tests/check/elements/fakesink.c: (GST_START_TEST):
679         * tests/check/elements/filesink.c:
680         * tests/check/elements/filesrc.c: (GST_START_TEST):
681         * tests/check/elements/multiqueue.c: (setup_multiqueue),
682         (mq_sinkpad_to_srcpad):
683         * tests/check/elements/tee.c: (GST_START_TEST):
684         * tests/check/generic/sinks.c: (GST_START_TEST):
685         * tests/check/gst/gstbin.c: (GST_START_TEST):
686         * tests/check/gst/gstevent.c: (GST_START_TEST):
687         * tests/check/gst/gstghostpad.c: (GST_START_TEST):
688         * tests/check/gst/gstpipeline.c: (GST_START_TEST):
689         * tests/check/gst/gstquery.c: (GST_START_TEST):
690         * tests/check/gst/gstutils.c: (GST_START_TEST):
691         * tests/check/libs/basesrc.c: (GST_START_TEST):
692         * tests/check/pipelines/parse-launch.c: (run_delayed_test),
693         (gst_parse_test_element_change_state):
694         Don't use gst_element_get_pad().
695
696 2008-05-21  Felipe Contreras  <felipe.contreras@gmail.com>
697
698         * docs/Makefile.am:
699         Fix installing plugin documentation when gtk-doc is disabled.
700
701 2008-05-21  Wim Taymans  <wim.taymans@collabora.co.uk>
702
703         * docs/manual/advanced-autoplugging.xml:
704         * docs/manual/basics-helloworld.xml:
705         * docs/manual/basics-pads.xml:
706         * docs/manual/highlevel-components.xml:
707         Avoid using a bad function in the example code.
708
709 2008-05-21  Wim Taymans  <wim.taymans@collabora.co.uk>
710
711         * gst/gstclock.c: (gst_clock_set_calibration):
712         Fix debug of the new clock rate.
713
714 2008-05-21  Sebastian Dröge  <slomo@circular-chaos.org>
715
716         * win32/common/libgstbase.def:
717         Add gst_base_sink_wait_clock() to the exported symbols.
718
719 2008-05-20  Sebastian Dröge  <slomo@circular-chaos.org>
720
721         Patch by: Tim-Philipp Müller  <tim.muller at collabora co uk>
722
723         * libs/gst/base/gstbasetransform.c:
724         (gst_base_transform_sink_event):
725         Unref events that the GstBaseTransform::event vfunc didn't want to
726         have forwarded by the base class. Closes a leak in identity.
727         Fixes bug #446763.
728
729 2008-05-19  Wim Taymans  <wim.taymans@collabora.co.uk>
730
731         * docs/libs/gstreamer-libs-sections.txt:
732         * libs/gst/base/gstbasesink.c: (gst_base_sink_wait_clock):
733         * libs/gst/base/gstbasesink.h:
734         Expose a method that was previously used internally to synchronize
735         against the clock because it can be useful for subclasses too.
736         API: GstBaseSink::gst_base_sink_wait_clock()
737
738 2008-05-19  Tim-Philipp Müller  <tim.muller at collabora co uk>
739
740         * gst/gstpad.c: (gst_pad_buffer_alloc_unchecked):
741           Add sanity check to make sure we don't get smaller buffers
742           than requested (and fallback to normal buffer alloc if we do).
743
744 2008-05-19  Wim Taymans  <wim.taymans@collabora.co.uk>
745
746         * libs/gst/base/gstbasesink.c: (gst_base_sink_adjust_time),
747         (gst_base_sink_wait_clock), (gst_base_sink_wait_eos),
748         (gst_base_sink_do_sync), (gst_base_sink_chain_unlocked):
749         Refactor adjusting the running_time with latency and offset into a
750         separate method.
751         When doing clipping, we still want to use the subclass get_times method,
752         just in case the DURATION or TIMESTAMP are not set.
753
754 2008-05-19  Tim-Philipp Müller  <tim.muller at collabora co uk>
755
756         * docs/gst/gstreamer-sections.txt:
757         * gst/gsttypefind.c: (gst_type_find_suggest_simple):
758         * gst/gsttypefind.h:
759         * win32/common/libgstreamer.def:
760           API: add gst_type_find_suggest_simple(), #533740.
761
762 2008-05-19  Tim-Philipp Müller  <tim.muller at collabora co uk>
763
764         * libs/gst/base/gstbasesrc.c: (gst_base_src_start):
765           Use right error code when typefinding fails, so we can use
766           the default (translated) error messages.
767
768 2008-05-19  Wim Taymans  <wim.taymans@collabora.co.uk>
769
770         * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range),
771         (gst_base_src_start):
772         When the subclass did not set caps on outgoing buffers, configure the
773         caps we negotiated on the source pad.
774         When the typefind helper does not find caps, error out properly instead
775         of doing things with NULL caps.
776
777 2008-05-18  Tim-Philipp Müller  <tim.muller at collabora co uk>
778
779         * gst/gsttypefind.h:
780           Tabs to spaces, oh yes!
781
782 2008-05-18  Tim-Philipp Müller  <tim.muller at collabora co uk>
783
784         * tests/check/gst/gstcaps.c: (test_intersect2), (gst_caps_suite):
785           Add David's and Benjamin's tests for array intersection to the
786           unit test suite (#147931).
787
788 2008-05-18  Tim-Philipp Müller  <tim.muller at collabora co uk>
789
790         * gst/gstevent.c:
791           Document that gst_event_new_tag() and gst_event_new_navigation()
792           take ownership of the taglist/structure passed to them. (#533635).
793
794 2008-05-17  Jan Schmidt  <jan.schmidt@sun.com>
795
796         * docs/Makefile.am:
797         Don't descend into the plugins dir if plugin docs building
798         is disabled.
799
800         * docs/README:
801         Add a note about the new type:GTypeName syntax for the plugin
802         documentation .types file.
803
804 2008-05-17  Sebastian Dröge  <slomo@circular-chaos.org>
805
806         * gst/gstmessage.c: (gst_message_new_error),
807         (gst_message_new_warning), (gst_message_new_info):
808         * gst/gstmessage.h:
809         Mark the debug string parameters as const. Fixes bug #533490.
810
811 2008-05-16  Sebastian Dröge  <slomo@circular-chaos.org>
812
813         * libs/gst/base/gsttypefindhelper.c: (helper_find_peek):
814         Sort buffer cache list by end offsets. This makes sure that we don't
815         stop to search for a cached buffer that contains the requested data
816         too early.
817         Also read a minimum of 4k bytes instead of 512 bytes as this is a bit
818         more efficient. Fixes bug #459862.
819
820 2008-05-14  Stefan Kost  <ensonic@users.sf.net>
821
822         * gst/gstinfo.c:
823           Explain why we copy the list.
824
825         * gst/gstpipeline.c:
826           Improve docs.
827
828         * gst/gstutils.c:
829           Add one debug-log statement to help tracing probelms with linking pads.
830
831 2008-05-12  Stefan Kost  <ensonic@users.sf.net>
832
833         * tests/check/gst/gstinfo.c:
834         Add a test for removing the default log handler. Seems to fail under
835         windows.
836
837 2008-05-14  Wim Taymans  <wim.taymans@collabora.co.uk>
838
839         * gst/gstpad.c: (gst_pad_peer_accept_caps):
840         Release pad lock before calling out to avoid a possible deadlock.
841
842 2008-05-14  Wim Taymans  <wim.taymans@collabora.co.uk>
843
844         * gst/parse/grammar.y:
845         Remove unneeded value unset.
846
847         * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
848         Add unit test for de/serialization of caps.
849
850 2008-05-13  Sebastian Dröge  <slomo@circular-chaos.org>
851
852         * plugins/elements/gstfakesink.c:
853         (marshal_VOID__MINIOBJECT_OBJECT), (gst_fake_sink_class_init):
854         * plugins/elements/gstfakesrc.c: (marshal_VOID__MINIOBJECT_OBJECT),
855         (gst_fake_src_class_init):
856         Use custom marshalers that take GstMiniObject as first parameter.
857         Using OBJECT as parameter while a GstMiniObject is given will lead
858         to assertions if built with G_ENABLE_DEBUG. Fixes bug #525532.
859
860 2008-05-13  Sebastian Dröge  <slomo@circular-chaos.org>
861
862         * plugins/elements/gsttypefindelement.c:
863         (gst_type_find_element_handle_event),
864         (gst_type_find_element_send_cached_events),
865         (gst_type_find_element_change_state):
866         Clean up on FLUSH_STOP and not FLUSH_START. Forward both events
867         immediately.
868
869 2008-05-13  Sebastian Dröge  <slomo@circular-chaos.org>
870
871         * plugins/elements/gsttypefindelement.c:
872         (gst_type_find_handle_src_query), (stop_typefinding),
873         (gst_type_find_element_handle_event),
874         (gst_type_find_element_send_cached_events),
875         (gst_type_find_element_change_state):
876         Forward FLUSH_START events immediately and clean up instead of
877         caching them.
878
879 2008-05-13  Sebastian Dröge  <slomo@circular-chaos.org>
880
881         Patch by: Sjoerd Simons <sjoerd at luon dot net>
882
883         * libs/gst/base/gstbasetransform.c:
884         (gst_base_transform_buffer_alloc):
885         Check the caps of the buffer returned by gst_pad_alloc_buffer() and
886         fall back to default negotiation in the chain function if the caps
887         are different from what was requested. Fixes bug #526768.
888
889 2008-05-09  Tim-Philipp Müller  <tim.muller at collabora co uk>
890
891         * gst/gstsegment.c:
892         * tests/check/gst/gstsegment.c:
893           No, let's not use g_slice_{dup|copy} here, since they only exist
894           since GLib 2.14 and we still depend only on >= 2.12. Also add
895           unit test for gst_segment_copy().
896
897 2008-05-09  Tim-Philipp Müller  <tim.muller at collabora co uk>
898
899         * gst/gstutils.h: (GST_BOILERPLATE_FULL):
900           Try to fix 'dereferencing type-punned pointer will break strict
901           aliasing rules' warnings with C++ compilers and GLib >= 2.14.0: GLib
902           changed the default GType typedef from gulong to gsize at some point,
903           but kept GType typedef'ed to gulong for C++ for ABI reasons; the
904           g_once_* functions all take a gsize * though, so work around the type
905           mismatch for C++ by doing everything in gsize and casting to GType
906           later.
907
908 2008-05-09  Jan Schmidt  <jan.schmidt@sun.com>
909
910         * plugins/elements/gstmultiqueue.c:
911         Add documentation for the signals to push our core plugin docs
912         coverage back up to 100%.
913
914 2008-05-08  Ole André Vadla Ravnås  <ole.andre.ravnas at tandberg com>
915
916         * gst/gstinfo.h (GST_FUNCTION):
917           Reverted GST_FUNCTION to the old version as we don't want the
918           full signature in C++ code. Also added support for MSVC.
919
920 2008-05-08  Sebastian Dröge  <slomo@circular-chaos.org>
921
922         * gst/gstutils.h:
923         Intern the type name string, similar to what G_DEFINE_TYPE does.
924
925 2008-05-08  Sebastian Dröge  <slomo@circular-chaos.org>
926
927         * gst/gstutils.h:
928         Make GST_BOILERPLATE thread-safe if building with GLib 2.14 or newer.
929
930 2008-05-08  Sebastian Dröge  <slomo@circular-chaos.org>
931
932         Based on a patch by: Sjoerd Simons <sjoerd at luon dot net>
933
934         * libs/gst/base/gstbasetransform.c:
935         (gst_base_transform_buffer_alloc):
936         Don't passthrough buffer allocation too easily if the caps change.
937         This breaks when working in passthrough mode and upstream changes
938         it's caps. Fixes bug #526768.
939
940 2008-05-07  Ole André Vadla Ravnås  <ole.andre.ravnas at tandberg com>
941
942         * gst/gstinfo.c (gst_debug_log_valist):
943           Improved the __FILE__ part of debug output for MSVC.
944
945 2008-05-07  Ole André Vadla Ravnås  <ole.andre.ravnas at tandberg com>
946
947         * libs/gst/base/gstbasesrc.c (gst_base_src_default_query):
948           Declaration after statement fix for compilers like MSVC.
949
950 2008-05-07  Ole André Vadla Ravnås  <ole.andre.ravnas at tandberg com>
951
952         * win32/common/config.h.in:
953           Don't define GST_FUNCTION, if GLib supports MSVC we'd much rather
954           use the real thing than having "???" unconditionally.
955
956 2008-05-07  Ole André Vadla Ravnås  <ole.andre.ravnas at tandberg com>
957
958         * gst/gstinfo.h (GST_FUNCTION):
959           Made GST_FUNCTION an alias for G_STRFUNC to avoid duplication.
960
961 2008-05-07  Wim Taymans  <wim.taymans@collabora.co.uk>
962
963         * libs/gst/base/gstadapter.c: (gst_adapter_available_fast):
964         Small code cleanup.
965
966         * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency),
967         (gst_base_sink_set_flushing):
968         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek):
969         Fix some comments.
970
971 2008-05-07  Wim Taymans  <wim.taymans@collabora.co.uk>
972
973         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
974         (gst_fake_src_init), (gst_fake_src_set_property),
975         (gst_fake_src_get_property), (gst_fake_src_start):
976         * plugins/elements/gstfakesrc.h:
977         Added format property to control the format of the newsegment events.
978         API: GstFakeSrc:format
979
980 2008-05-06  Sebastian Dröge  <slomo@circular-chaos.org>
981
982         * win32/common/libgstreamer.def:
983         Add gst_pad_has_name() to the exported symbols.
984
985 2008-05-06  Sebastian Dröge  <slomo@circular-chaos.org>
986
987         * gst/gstpad.c: (gst_pad_alloc_buffer_full):
988         * libs/gst/base/gstbasetransform.c:
989         (gst_base_transform_prepare_output_buffer):
990         Don't allow negative sizes when allocating new buffers.
991         Fixes bug #461253.
992
993 2008-05-05  Tim-Philipp Müller  <tim.muller at collabora co uk>
994
995         Patch by: Sjoerd Simons <sjoerd at luon net>
996
997         * gst/gstbus.c: (gst_bus_source_dispatch):
998           Don't print a warning if the queue is empty when we try to pop
999           here. That could happen if another thread or callback set the
1000           bus to flushing between the source's check/prepare and the
1001           dispatch being called (#531538).
1002
1003 2008-05-05  Tim-Philipp Müller  <tim.muller at collabora co uk>
1004
1005         * plugins/elements/gstmultiqueue.c:
1006           Small docs fix.
1007         
1008 2008-05-05  Sebastian Dröge  <slomo@circular-chaos.org>
1009
1010         * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
1011         Add unit test for deserializing uint64s and check some really large
1012         numbers in the int64 test.
1013
1014 2008-05-04  Sebastian Dröge  <slomo@circular-chaos.org>
1015
1016         * tools/gst-inspect.c: (n_print), (print_hierarchy),
1017         (print_interfaces), (print_element_properties_info),
1018         (print_signal_info):
1019         Use "%s" as format string instead of printing strings directly.
1020
1021 2008-05-04  Sebastian Dröge  <slomo@circular-chaos.org>
1022
1023         * gst/gstclock.c: (gst_clock_set_calibration):
1024         Make some checks actually useful.
1025
1026         * gst/gstregistrybinary.c: (gst_registry_binary_load_plugin):
1027         Remove some unused code. Unsigned integers tend to be >= 0.
1028
1029 2008-05-03  Tim-Philipp Müller  <tim.muller at collabora co uk>
1030
1031         * gst/gstminiobject.c: (gst_value_get_mini_object):
1032           Fix 'Since:' version in gst_value_dup_mini_object() docs blurb: this
1033           function was not in the unscheduled 0.10.19 release.
1034
1035 2008-05-03  Tim-Philipp Müller  <tim.muller at collabora co uk>
1036
1037         * gst/gstregistry.c: (gst_registry_scan_path_level):
1038           Only print one log message per non-plugin file.
1039
1040 2008-05-03  Tim-Philipp Müller  <tim.muller at collabora co uk>
1041
1042         * gst/gstinfo.c: (gst_debug_log_default):
1043           Fix alignment of debug log columns on 64-bit.
1044
1045 2008-05-03  Tim-Philipp Müller  <tim.muller at collabora co uk>
1046
1047         * docs/libs/Makefile.am:
1048         * docs/libs/gstreamer-libs-sections.txt:
1049           Ignore private controller headers for docs.
1050
1051 2008-05-03  Sebastian Dröge  <slomo@circular-chaos.org>
1052
1053         * libs/gst/controller/gstcontrollerprivate.h:
1054         * libs/gst/controller/gsthelper.c:
1055         * libs/gst/controller/gstinterpolation.c:
1056         * libs/gst/controller/gstinterpolationcontrolsource.c:
1057         (gst_interpolation_control_source_set_interpolation_mode):
1058         * libs/gst/controller/gstinterpolationcontrolsourceprivate.h:
1059         * libs/gst/controller/lib.c:
1060         Move some private declarations into private headers.
1061
1062 2008-05-02  Sebastian Dröge  <slomo@circular-chaos.org>
1063
1064         * gst/gstdebugutils.c: (debug_dump_element_pad):
1065         Remove some code that is unused after Stefan's refactoring and uses
1066         uninitialized variables now, resulting in a compiler warning.
1067
1068 2008-05-01  Tim-Philipp Müller  <tim.muller at collabora co uk>
1069
1070         * gst/gstregistry.c: (gst_registry_scan_path_level):
1071           Run g_str_has_suffix() only on the file name, not the
1072           entire file path.
1073
1074 2008-04-30  Tim-Philipp Müller  <tim.muller at collabora co uk>
1075
1076         * plugins/elements/gstqueue.c: (gst_queue_leak_downstream):
1077           Since we're not called only from the chain function any longer,
1078           we can't assume that there's always data in the queue, so move
1079           the is_full check to the beginning of the loop (otherwise we'd
1080           hit the assert when changing the limit properties while the
1081           queue is empty or not running yet).
1082           Also, only set a discont if items were actually removed from
1083           the queue.
1084
1085         * tests/check/elements/queue.c: (test_leaky_downstream):
1086           Test case for the above.
1087
1088 2008-04-30  Wim Taymans  <wim.taymans@collabora.co.uk>
1089
1090         Patch by: Jonas Holmberg <jonas dot holmberg at axis dot com>
1091
1092         * plugins/elements/gstqueue.c: (gst_queue_leak_downstream),
1093         (gst_queue_chain), (queue_capacity_change),
1094         (gst_queue_set_property):
1095         When changing thr max capacity of a leaky queue, immediatly drop buffers
1096         instead of waiting for a push on the sinkpad. Fixes #530637.
1097
1098 2008-04-30  Stefan Kost  <ensonic@users.sf.net>
1099
1100         * gst/gstdebugutils.c:
1101           Refactor code and fix handling of ghostpads and their proxypads.
1102
1103 2008-04-29  Wim Taymans  <wim.taymans@collabora.co.uk>
1104
1105         * docs/gst/gstreamer-sections.txt:
1106         * gst/gstevent.c: (gst_event_has_name):
1107         * gst/gstevent.h:
1108         * tests/check/gst/gstevent.c: (GST_START_TEST):
1109         Add method to conveniently check the name of a custom event with
1110         gst_event_has_name().
1111         Reformat the event docs so that related methods are put together instead
1112         of the default alphabetical sort.
1113         Update unit test with new method.
1114         API: GstEvent::gst_event_has_name()
1115
1116 2008-04-28  Michael Smith <msmith@songbirdnest.com>
1117
1118         * libs/gst/check/Makefile.am:
1119           Don't add an explicit link to libgstreamer-0.10.la; it's already
1120           included in GST_OBJ_LIBS.
1121
1122 2008-04-28  Sebastian Dröge  <slomo@circular-chaos.org>
1123
1124         * gst/gst.c:
1125         Register GstClock type from a type-safe context. Fixes bug #530317.
1126
1127 2008-04-25  Michael Smith <msmith@songbirdnest.com>
1128
1129         Patch by Edward Hervey <edward.hervey@collabora.co.uk>
1130         * tools/gst-run.c:
1131           Include <unistd.h> conditionally on HAVE_UNISTD_H as elsewhere.
1132
1133 2008-04-25  Wim Taymans  <wim.taymans@collabora.co.uk>
1134
1135         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
1136         (gst_bin_dispose):
1137         Use the GLib stuff to create a private structure.
1138         Add some locking around some dispose methods to make them a little
1139         safer, see #529723. Patch by: Antoine Tremblay <hexa00 at gmail dot com>
1140
1141 2008-04-25  Stefan Kost  <ensonic@users.sf.net>
1142
1143         * libs/gst/base/gstbasesink.h:
1144         * libs/gst/base/gstbasesrc.h:
1145         * libs/gst/base/gstbasetransform.h:
1146         * libs/gst/base/gstcollectpads.h:
1147           Fix doc typos and unify caps a bit.
1148
1149 2008-04-25  Stefan Kost  <ensonic@users.sf.net>
1150
1151         * tools/gst-launch.1.in:
1152           Forgot to also add the envvar docs here.
1153
1154 2008-04-25  Tim-Philipp Müller  <tim at centricular dot net>
1155
1156         * gst/gst.c: (init_post), (gst_deinit):
1157         * tests/check/gst/gstpipeline.c: (GST_START_TEST), (pipeline_thread),
1158           (test_concurrent_create), (gst_pipeline_suite):
1159           Ref some more classes in gst_init() to work around thread-safety
1160           issues in pre-2.16 GLibs, and add basic unit test.
1161
1162 2008-04-25  Wim Taymans  <wim.taymans@collabora.co.uk>
1163
1164         * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency),
1165         (gst_base_sink_send_event):
1166         Rearrange the latency query code. We always want to do the upstream
1167         query, even if we are not live so that the upstream elements can get the
1168         latency results too. If we fail doing the query and we are live, we
1169         return TRUE afterwards.
1170
1171 2008-04-24  Stefan Kost  <ensonic@users.sf.net>
1172
1173         patch by: Jason Zhao <e3423c@motorola.com>
1174
1175         * docs/gst/running.xml:
1176         * gst/gst.c:
1177           Enable/disable scan_and_update_registry() based on commandline switch
1178           or environment variable. Fixes #520468.
1179           
1180         * ChangeLog:
1181           Fix typo in my previous commit.
1182
1183 2008-04-24  Stefan Kost  <ensonic@users.sf.net>
1184
1185         * gst/gstregistrybinary.c:
1186           Add a warning if we hit unhandled factories when saving.
1187           More debug logging detail, but move to LOG category.
1188
1189 2008-04-24  Stefan Kost  <ensonic@users.sf.net>
1190
1191         * gst/gstregistry.c:
1192           Tell the *truth* when improving the documentation.
1193
1194 2008-04-23  Sebastian Dröge  <slomo@circular-chaos.org>
1195
1196         * gst/gstelementfactory.c: (gst_element_factory_make):
1197         Unref the factory after it was used the last time, not before.
1198
1199         * gst/gstindexfactory.c: (gst_index_factory_make):
1200         Improve debugging a bit and don't leak a ref to the index factory with
1201         each call.
1202
1203 2008-04-23  Stefan Kost  <ensonic@users.sf.net>
1204
1205         * gst/gstregistry.c:
1206           Improve the documentation.
1207
1208 2008-04-23  Stefan Kost  <ensonic@users.sf.net>
1209
1210         * gst/gstsegment.c:
1211           The glib macro seems to be borked. Use g_slice_copy directly and cast
1212           in the hope that this fixes the warning on 64bit.
1213
1214 2008-04-23  Stefan Kost  <ensonic@users.sf.net>
1215
1216         * gst/gstsegment.c:
1217           Document the new function. Use g_slice_dup() (no need for
1218           gst_segment_init()).    
1219
1220 2008-04-23  Stefan Kost  <ensonic@users.sf.net>
1221
1222         * docs/gst/gstreamer-sections.txt:
1223           Move GParamSepc macros to standart section.
1224   
1225         * gst/gstbin.c:
1226           Dn't document _get_type - its in private section in docs anyway and
1227           this doc-blob was incomplete.
1228
1229         * gst/gstclock.h:
1230           Fix wrong symbol names in docs.
1231
1232         * gst/gstmacros.h:
1233           Add once doc sentence.
1234
1235         * tests/check/gst/.cvsignore:
1236           Ignore more.
1237
1238 2008-04-21  Stefan Kost  <ensonic@users.sf.net>
1239
1240         * docs/gst/Makefile.am:
1241           And remove those libs here.
1242
1243 2008-04-21  Tim-Philipp Müller  <tim at centricular dot net>
1244
1245         * docs/libs/Makefile.am:
1246           Fix docs build again by adding libgstnet-0.10.so to SCANOBJ_DEPS.
1247
1248 2008-04-21  Wim Taymans  <wim.taymans@collabora.co.uk>
1249
1250         Patch by: Olivier Crete <tester at tester dot ca>
1251
1252         * plugins/elements/gstqueue.c: (gst_queue_handle_src_query):
1253         Add the min-threshold to the min latency if possible. Fixes #529148.
1254
1255 2008-04-21  Stefan Kost  <ensonic@users.sf.net>
1256
1257         * docs/gst/gstreamer.types.in:
1258           Stupid editor, I removed that line as it should go in yet.
1259
1260 2008-04-21  Stefan Kost  <ensonic@users.sf.net>
1261
1262         * docs/gst/gstreamer.types.in:
1263         * docs/libs/gstreamer-libs.types:
1264           Remove library types fro core docs and have them in libs docs.
1265           Reformat and cleanup. Add comment for miniobject types.
1266
1267 2008-04-20  Tim-Philipp Müller  <tim at centricular dot net>
1268
1269         * gst/gsturi.c: (gst_uri_get_protocol):
1270           Fix leak: g_strdown operates on the string in place, while
1271           g_ascii_strdown() returns a newly-allocated string.
1272
1273 2008-04-20  Sebastian Dröge  <slomo@circular-chaos.org>
1274
1275         * tools/gst-inspect.c: (print_uri_handler_info),
1276         (print_element_info):
1277         Print the URI protocols and the URI type supported by the element.
1278
1279 2008-04-19  Sebastian Dröge  <slomo@circular-chaos.org>
1280
1281         * gst/gsttaglist.c: (gst_tag_merge_strings_with_comma):
1282         Use g_value_take_string() instead of the deprecated
1283         g_value_set_string_take_ownership().
1284
1285 2008-04-19  Sebastian Dröge  <slomo@circular-chaos.org>
1286
1287         * gst/gstregistrybinary.c: (_gst_crc32):
1288         Return the old CRC instead of 0 if we give a NULL buffer
1289         or a buffer with a length of 0.
1290
1291 2008-04-19  Sebastian Dröge  <slomo@circular-chaos.org>
1292
1293         * gst/gsturi.c: (gst_uri_protocol_check_internal),
1294         (gst_uri_get_protocol), (gst_uri_has_protocol),
1295         (gst_uri_construct), (gst_uri_handler_set_uri):
1296         A valid URI scheme can also include '+', '-' and '.' additional
1297         to alphanumeric characters as per RFC 3986 Section 3.1.
1298
1299         Handle URI schemes case insensitive in all places and convert
1300         to lower-case when constructing an URI or setting an URI with
1301         the GstURIHandler interface. Fixes bug #528868.
1302         All elements can still assume (as before) that they will
1303         get passed URIs with a lower-case URI scheme by the GstURIHandler
1304         interface.
1305
1306 2008-04-17  Tim-Philipp Müller  <tim at centricular dot net>
1307
1308         * gst/gstcaps.c: (gst_static_caps_get):
1309         * gst/gstclock.c: (gst_clock_entry_new):
1310           Don't use g_atomic_set_int where it's not needed.
1311
1312 2008-04-17  Wim Taymans  <wim.taymans@collabora.co.uk>
1313
1314         * gst/gstvalue.c: (gst_value_deserialize_caps):
1315         * gst/parse/grammar.y:
1316         Fix 2 caps leaks.
1317
1318 2008-04-17  Sebastian Dröge  <slomo@circular-chaos.org>
1319
1320         * gst/gstutils.c: (gst_atomic_int_set):
1321         Use g_atomic_int_set() here too instead of assignment +
1322         g_atomic_int_get().
1323
1324 2008-04-17  Sebastian Dröge  <slomo@circular-chaos.org>
1325         
1326         * gst/gstutils.c:
1327         * gst/gstutils.h:
1328         API: Deprecate gst_atomic_int_set(), g_atomic_int_set() should be used
1329         now that we depend on new enough GLib.
1330
1331         * gst/gstcaps.c: (gst_static_caps_get):
1332         * gst/gstclock.c: (gst_clock_entry_new):
1333         * gst/gstinfo.c: (_gst_debug_init), (gst_debug_set_colored),
1334         (gst_debug_set_default_threshold), (_gst_debug_category_new),
1335         (gst_debug_category_set_threshold):
1336         * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
1337         (gst_base_sink_set_qos_enabled):
1338         * libs/gst/net/gstnettimeprovider.c:
1339         (gst_net_time_provider_set_property):
1340         Use g_atomic_int_set() instead of gst_atomic_int_set().
1341
1342 2008-04-16  Stefan Kost  <ensonic@users.sf.net>
1343
1344         * gst/gstquery.c:
1345           Also use G_GINT64_CONSTANT for the queries.
1346
1347 2008-04-16  Stefan Kost  <ensonic@users.sf.net>
1348
1349         * gst/gstmessage.c:
1350           Use G_GINT64_CONSTANT in varargs function.
1351
1352 2008-04-16  Sebastian Dröge  <slomo@circular-chaos.org>
1353
1354         * gst/gstregistrybinary.c: (gst_registry_binary_initialize_magic):
1355         Initialize the registry magic with zeroes.
1356
1357 2008-04-16  Sebastian Dröge  <slomo@circular-chaos.org>
1358
1359         * gst/gstregistrybinary.c: (_gst_crc32),
1360         (gst_registry_binary_write),
1361         (gst_registry_binary_initialize_magic),
1362         (gst_registry_binary_write_cache),
1363         (gst_registry_binary_check_magic),
1364         (gst_registry_binary_read_cache):
1365         * gst/gstregistrybinary.h:
1366         Add crc32 checksum to the binary registry file and check this before
1367         accepting a registry file.
1368
1369         Also free the data list when writing to the registry file fails.
1370
1371 2008-04-16  Sebastian Dröge  <slomo@circular-chaos.org>
1372
1373         * gst/gstregistrybinary.c: (gst_registry_binary_save_feature),
1374         (gst_registry_binary_load_feature),
1375         (gst_registry_binary_load_plugin):
1376         If an element supports the Uri interface, returns a valid pointer
1377         to the supported URI protocols but this pointer contains nothing
1378         don't try to save that as it will corrupt the registry.
1379
1380         Don't unref the plugin if we added it to the registry already but
1381         fail to load a feature as gst_registry_add_plugin() takes ownership
1382         of the plugin.
1383
1384         Improve debugging a bit.
1385
1386 2008-04-16  Stefan Kost  <ensonic@users.sf.net>
1387
1388         * gst/gsttaglist.h:
1389           Clarify some tag item docs after discussion on irc.
1390
1391 2008-04-15  Stefan Kost  <ensonic@users.sf.net>
1392
1393         * docs/gst/gstreamer-docs.sgml:
1394           Remove commented out plugins (they have their own docs). Update
1395           comments.
1396
1397 2008-04-15  Stefan Kost  <ensonic@users.sf.net>
1398
1399         * docs/gst/gstreamer-docs.sgml:
1400         * docs/gst/gstreamer-sections.txt:
1401         * gst/gstparamspecs.c:
1402         * gst/gstparamspecs.h:
1403           Add GST_PARAM_CONTROLLABLE and GST_PARAM_USER_SHIFT. Move paramspec
1404           docs to own section.
1405
1406         * gst/gstvalue.c:
1407           This now only documents GValue.
1408           
1409         * docs/libs/gstreamer-libs-sections.txt:
1410         * libs/gst/controller/gstcontroller.h:
1411           Remove GST_PARAM_CONTROLLABLE.
1412
1413 2008-04-15  Stefan Kost  <ensonic@users.sf.net>
1414
1415         * docs/README:
1416           Correct file path. Tell about how to use -overrides.txt.
1417         * docs/design/draft-tagreading.txt:
1418           Small design update.
1419
1420 2008-04-14  Sebastian Dröge  <slomo@circular-chaos.org>
1421
1422         * gst/gstregistrybinary.c: (gst_registry_binary_load_feature),
1423         (gst_registry_binary_load_plugin):
1424         Fix a typo in a debug message and revert change from yesterday as
1425         gst_registry_add_plugin() will only fail if something is really wrong
1426         already and we can't survive it anyway.
1427
1428 2008-04-14  Tim-Philipp Müller  <tim at centricular dot net>
1429
1430         * gst/gst.c: (init_post), (gst_deinit):
1431           Pre-register GstGError GType from a thread-safe context
1432           (fixes #527967); unref enum type classes in deinit.
1433
1434 2008-04-13  Tim-Philipp Müller  <tim at centricular dot net>
1435
1436         Patch by: Rene Stadler <mail at renestadler de>
1437
1438         * gst/gsttagsetter.c: (gst_tag_setter_merge_tags):
1439           Merging an empty list with another list in KEEP_ALL mode should
1440           yield an empty list as result and not the second list (#512578).
1441
1442         * tests/check/gst/gsttagsetter.c:
1443           Add unit test for tag merge modes and the aforementioned bug.
1444
1445 2008-04-13  Tim-Philipp Müller  <tim at centricular dot net>
1446
1447         Patch by: Rene Stadler <mail at renestadler de>
1448
1449         * gst/gsttaglist.h:
1450           Fix description to match the order in the table (#512577).
1451   
1452 2008-04-13  Tim-Philipp Müller  <tim at centricular dot net>
1453
1454         Patch by: Kwang Yul Seo  <kwangyul.seo gmail com>
1455
1456         * libs/gst/net/gstnettimepacket.h:
1457         * docs/libs/gstreamer-libs-sections.txt:
1458           Define socklen_t as int if it's not defined yet. Fixes compilation
1459           with MSVC6 and other versions where socklen_t is not defined in
1460           the windows headers (#518022).
1461
1462 2008-04-13  Sebastian Dröge  <slomo@circular-chaos.org>
1463
1464         * gst/gstregistrybinary.c: (gst_registry_binary_load_plugin):
1465         If gst_registry_add_plugin() fails our reference to the plugin is
1466         invalid so don't try to use it anymore and instead error out.
1467
1468 2008-04-12  Tim-Philipp Müller  <tim at centricular dot net>
1469
1470         * tools/gst-xmlinspect.c: (print_element_info), (main):
1471           De-cruft a bit. If no argument is specified, print all elements in
1472           XML syntax rather than a freestyle list of elements like gst-inspect.
1473           Also, don't print XML header chunk unless we actually have something
1474           to print (ie. don't print it before an error message); print error
1475           message to stderr not stdout. Remove support for printing plugin
1476           info (it would just output something freestyle along the lines of
1477           gst-inspect so far), which fixes #514507. Also add license header.
1478
1479 2008-04-11  Julien Moutte  <julien@fluendo.com>
1480
1481         Mac OS X love...
1482         * configure.ac: Merge platform specific defines, introduce a new
1483         define on OS X to remember that forking when updating registry is
1484         unsafe.
1485         * docs/faq/gst-uninstalled: Updated to include gst-libs in the bad
1486         module.
1487         * gst/gst.c: Don't fork when updating registry if GST_HAVE_UNSAFE_FORK
1488         is defined.
1489         * gst/gstregistry.c: (gst_registry_scan_path_level): Fixed a bogus
1490         condition that leads to absolutely no plugins being registered on
1491         OS X.
1492
1493 2008-04-10  Tim-Philipp Müller  <tim at centricular dot net>
1494
1495         Based on patch by: José Alburquerque <jaalburqu at svn dot gnome dot org>
1496
1497         * gst/gstutils.c: (gst_pad_add_data_probe),
1498           (gst_pad_add_data_probe_full), (gst_pad_add_event_probe),
1499           (gst_pad_add_event_probe_full), (gst_pad_add_buffer_probe),
1500           (gst_pad_add_buffer_probe_full):
1501         * gst/gstutils.h:
1502         * docs/gst/gstreamer-sections.txt:
1503         * win32/common/libgstreamer.def:
1504           Add gst_pad_add_*_probe_full() functions with a notify callback that
1505           lets the caller free the data it passes to the probe functions. This
1506           is useful for bindings such as gst-python or gstreamermm (#526814).
1507           API: gst_pad_add_data_probe_full
1508           API: gst_pad_add_buffer_probe_full
1509           API: gst_pad_add_event_probe_full
1510
1511         * tests/check/gst/gstutils.c:
1512           Add minimal unit test to make sure freeing the data actually works
1513           as expected.
1514
1515         * tests/benchmarks/.cvsignore:
1516           Random cvsignore addendum.
1517
1518 2008-04-10  Tim-Philipp Müller  <tim at centricular dot net>
1519
1520         * gst/gstdebugutils.h: (GST_DEBUG_BIN_TO_DOT_FILE_WITH_TS),
1521           (GST_DEBUG_BIN_TO_DOT_FILE):
1522           Mention GstDebugGraphDetails enum type in doc blurb so we get a link
1523           to it in the docs (since these are macros the types of the arguments
1524           won't be shown in the docs otherwise).
1525
1526 2008-04-10  Stefan Kost  <ensonic@users.sf.net>
1527
1528         * gst/gstpad.c:
1529           Do not abort on out of memory for pad_alloc_buffer.
1530
1531 2008-04-10  Stefan Kost  <ensonic@users.sf.net>
1532
1533         * libs/gst/check/gstcheck.c:
1534           Remove blank line between symbol name ad parameters to fix gtkdoc
1535           warning.
1536
1537 2008-04-09  Tim-Philipp Müller  <tim at centricular dot net>
1538
1539         Patch by:  José Alburquerque <jaalburqu at svn dot gnome dot org>
1540
1541         * docs/gst/gstreamer-sections.txt:
1542         * gst/gstsegment.c:
1543         * gst/gstsegment.h:
1544         * win32/common/libgstreamer.def:
1545           Expose gst_segment_copy() to make things easier for the c++ bindings.
1546           Fixes #518932.
1547           API: gst_segment_copy()
1548
1549 2008-04-09  Tim-Philipp Müller  <tim at centricular dot net>
1550
1551         * gst/gst.c: (gst_init_get_option_group), (init_post):
1552           Fix const position; ref GType classes for enum types to work
1553           around thread-safety issues in GLib versions < 2.16.
1554
1555 2008-04-09  Wim Taymans  <wim.taymans@collabora.co.uk>
1556
1557         * docs/design/part-buffering.txt:
1558         Fix some typos and set the estimated total for push mode to -1.
1559
1560         * gst/gstquery.c: (gst_query_new_buffering):
1561         Set buffering-left to 0 as we're not buffering by default.
1562
1563         * libs/gst/base/gstbasesrc.c: (gst_base_src_default_query):
1564         Implement BUFFERING query.
1565
1566 2008-04-09  Tim-Philipp Müller  <tim at centricular dot net>
1567
1568         Based on patch by: Milosz Derezynski <internalerror gmail com>
1569
1570         * gst/gsterror.c: (_gst_stream_errors_init):
1571         * gst/gsterror.h:
1572           Add two new error codes for encrypted content. Fixes #524659.
1573           API: GST_STREAM_ERROR_DECRYPT
1574           API: GST_STREAM_ERROR_DECRYPT_NOKEY
1575
1576 2008-04-09  Tim-Philipp Müller  <tim at centricular dot net>
1577
1578         * gst/gstquery.h:
1579           Fix typo.
1580
1581         * win32/common/libgstreamer.def:
1582           Add new functions.
1583
1584 2008-04-09  Sebastian Dröge  <slomo@circular-chaos.org>
1585
1586         * plugins/elements/gstidentity.c: (gst_identity_event),
1587         (gst_identity_start):
1588         Fix imperfect timestamp/offset checks when we get another NEWSEGMENT
1589         event after processing some data. Fixes bug #526042.
1590
1591 2008-04-08  Wim Taymans  <wim.taymans@collabora.co.uk>
1592
1593         * docs/gst/gstreamer-sections.txt:
1594         * gst/gstquery.c: (gst_query_parse_latency),
1595         (gst_query_set_buffering_percent),
1596         (gst_query_parse_buffering_percent),
1597         (gst_query_set_buffering_range), (gst_query_parse_buffering_range):
1598         * gst/gstquery.h:
1599         Rename _avail -> _range
1600         API: gst_query_set_buffering_range
1601         API: gst_query_parse_buffering_range
1602
1603 2008-04-08  Wim Taymans  <wim.taymans@collabora.co.uk>
1604
1605         * docs/design/part-buffering.txt:
1606         * gst/gstquark.c:
1607         * gst/gstquark.h:
1608         * gst/gstquery.c: (gst_query_parse_latency),
1609         (gst_query_new_buffering), (gst_query_set_buffering_percent),
1610         (gst_query_parse_buffering_percent):
1611         * gst/gstquery.h:
1612         Add busy field and quark for the buffering query so that the app can
1613         only use the query to see if buffering is in progress.
1614
1615 2008-04-08  Wim Taymans  <wim.taymans@collabora.co.uk>
1616
1617         * docs/gst/gstreamer-sections.txt:
1618         * gst/gstmessage.c: (gst_message_set_buffering_stats),
1619         (gst_message_parse_buffering_stats):
1620         * gst/gstmessage.h:
1621         * gst/gstquery.c: (gst_query_new_latency), (gst_query_set_latency),
1622         (gst_query_parse_latency), (gst_query_new_buffering),
1623         (gst_query_set_buffering_percent),
1624         (gst_query_parse_buffering_percent),
1625         (gst_query_set_buffering_stats), (gst_query_parse_buffering_stats),
1626         (gst_query_set_buffering_avail), (gst_query_parse_buffering_avail):
1627         * gst/gstquery.h:
1628         Reorder the message docs and headers for clarity.
1629         Add aditional buffering stats API for messages.
1630         Add buffering query.
1631         Convert some leftover queries to use GstQuark.
1632         API: gst_message_set_buffering_stats
1633         API: gst_message_parse_buffering_stats
1634         API: GST_QUERY_BUFFERING
1635         API: GstBufferingMode
1636         API: gst_query_new_buffering
1637         API: gst_query_set_buffering_percent
1638         API: gst_query_parse_buffering_percent
1639         API: gst_query_set_buffering_stats
1640         API: gst_query_parse_buffering_stats
1641
1642 2008-04-08  Wim Taymans  <wim.taymans@collabora.co.uk>
1643
1644         * gst/gstmessage.c: (gst_message_new_error),
1645         (gst_message_new_warning), (gst_message_new_info),
1646         (gst_message_new_buffering), (gst_message_new_state_changed),
1647         (gst_message_new_clock_provide), (gst_message_new_clock_lost),
1648         (gst_message_new_new_clock), (gst_message_new_segment_start),
1649         (gst_message_new_segment_done), (gst_message_new_duration),
1650         (gst_message_new_async_start), (gst_message_parse_buffering),
1651         (gst_message_parse_state_changed),
1652         (gst_message_parse_clock_provide), (gst_message_parse_clock_lost),
1653         (gst_message_parse_new_clock), (gst_message_parse_error),
1654         (gst_message_parse_warning), (gst_message_parse_info),
1655         (gst_message_parse_segment_start),
1656         (gst_message_parse_segment_done), (gst_message_parse_duration),
1657         (gst_message_parse_async_start):
1658         Use GstQuark for messages.
1659
1660 2008-04-08  Wim Taymans  <wim.taymans@collabora.co.uk>
1661
1662         * gst/gstquark.c: (_priv_gst_quarks_initialize):
1663         * gst/gstquark.h:
1664         Add some more quarks needed for messages and queries.
1665
1666 2008-04-08  Wim Taymans  <wim.taymans@collabora.co.uk>
1667
1668         * docs/design/part-buffering.txt:
1669         Remove the "none" buffering mode, STREAM is a good default.
1670         Move estimated-time to the avail query, that's when it will be needed.
1671         Other small typo fixes and updates.
1672
1673 2008-04-07  Tim-Philipp Müller  <tim at centricular dot net>
1674
1675         * gst/gstindex.c: (gst_index_resolver_get_type):
1676           Don't put descriptions into the nick field of a GEnumValue: it's not
1677           meant for that and some language bindings rely on the nick field to
1678           construct constants and the like. Fixes #526705.
1679
1680 2008-04-07  Tim-Philipp Müller  <tim at centricular dot net>
1681
1682         * NEWS:
1683         * RELEASE:
1684         * gstreamer.doap:
1685           Merge other changes from 0.10.19 release branch.
1686
1687 2008-04-06  Sebastian Dröge  <slomo@circular-chaos.org>
1688
1689         Patch by: Damien Lespiau <damien dot lespiau at gmail dot com>
1690
1691         * configure.ac:
1692         Actually build dlls when cross-compiling with mingw32.
1693         Fixes bug #526247.
1694
1695 2008-04-05  Sebastian Dröge  <slomo@circular-chaos.org>
1696
1697         Patch by: Damien Lespiau <damien dot lespiau at gmail dot com>
1698
1699         * gst/gstpoll.c:
1700         Fix compilation of GstPoll with mingw32. Fixes bug #526236.
1701
1702 2008-04-04  Wim Taymans  <wim.taymans@collabora.co.uk>
1703
1704         * docs/design/draft-latency.txt:
1705         Fix typo.
1706
1707         * docs/design/part-buffering.txt:
1708         Update design docs with more buffering ideas.
1709
1710 2008-04-03  Tim-Philipp Müller  <tim at centricular dot net>
1711
1712         * configure.ac:
1713           Bump version to 0.10.19.1 after the unscheduled 0.10.19 release.
1714
1715 2008-04-03  Stefan Kost  <ensonic@users.sf.net>
1716
1717         * configure.ac:
1718           Revert part that belongs to the preset patch.
1719
1720 2008-04-03  Stefan Kost  <ensonic@users.sf.net>
1721
1722         * configure.ac:
1723           Add qoutes to the define. Fixes # 525961.
1724
1725 2008-04-03  Sebastian Dröge  <slomo@circular-chaos.org>
1726
1727         * plugins/indexers/gstfileindex.c: (_file_index_id_free),
1728         (gst_file_index_load), (gst_file_index_add_id),
1729         (gst_file_index_get_assoc_entry):
1730         * plugins/indexers/gstmemindex.c: (gst_mem_index_free_format),
1731         (gst_mem_index_free_id), (gst_mem_index_add_id),
1732         (gst_mem_index_index_format):
1733         Use GSlice when possible.
1734
1735 2008-04-02  Sebastian Dröge  <slomo@circular-chaos.org>
1736
1737         * libs/gst/controller/gstinterpolationcontrolsource.c:
1738         (gst_control_point_free),
1739         (gst_interpolation_control_source_set_internal):
1740         Use GSlice for allocating the control points.
1741
1742 2008-04-02  Wim Taymans  <wim.taymans@collabora.co.uk>
1743
1744         * plugins/elements/gsttypefindelement.c:
1745         (gst_type_find_element_class_init),
1746         (gst_type_find_element_set_property),
1747         (gst_type_find_element_get_property),
1748         (gst_type_find_element_activate):
1749         * plugins/elements/gsttypefindelement.h:
1750         Cleanup properties.
1751         Fix pad leak when peer query fails.
1752         We can still typefind when the peer returns -1.
1753         Add property to force caps and bypass typefinding. This will be used in
1754         uridecodebin.
1755         API::force-caps
1756
1757 2008-04-01  Sebastian Dröge  <slomo@circular-chaos.org>
1758
1759         * configure.ac:
1760         Require GLib 2.12.
1761
1762         * gst/glib-compat-private.h:
1763         * gst/gstcaps.c: (gst_caps_new_empty), (_gst_caps_free):
1764         * gst/gstclock.c: (gst_clock_entry_new), (_gst_clock_id_free):
1765         Unconditionally use GSlice for allocation.
1766
1767         * gst/gstpoll.c: (gst_poll_new), (gst_poll_free):
1768         * gst/gstsegment.c: (gst_segment_new), (gst_segment_free):
1769         * gst/gststructure.c: (gst_structure_id_empty_new_with_size),
1770         (gst_structure_free):
1771         Use GSlice for allocation.
1772
1773 2008-04-01  Sebastian Dröge  <slomo@circular-chaos.org>
1774
1775         * gst/parse/Makefile.am:
1776         * gst/parse/grammar.tab.pre.c:
1777         * gst/parse/grammar.tab.pre.h:
1778         * gst/parse/lex._gst_parse_yy.pre.c:
1779         Require a new enough flex and bison and remove the parser hacks to use
1780         a pre-regenerated version.
1781
1782 2008-04-01  Julien Moutte  <julien@fluendo.com>
1783
1784         patch by: Jason Zhao <E3423C@motorola.com>
1785
1786         * configure.ac: Add a configure switch to disable option parsing
1787         in gst_init.
1788         Fixes #522882.
1789
1790 2008-03-31  Stefan Kost  <ensonic@users.sf.net>
1791
1792         * configure.ac:
1793         * gst/gstregistry.c:
1794           MacOS has plugins under .so or under .dylib. Add detection for MacOS
1795           and handle this case.
1796
1797         * gst/gst.c:
1798           Add a comment here describing, why we stat each plugin and not try to
1799           be smart.
1800
1801 2008-03-31  Sebastian Dröge  <slomo@circular-chaos.org>
1802
1803         * libs/gst/base/gstbasetransform.c:
1804         (gst_base_transform_prepare_output_buffer):
1805         Also unset the GAP flag on buffers if we're working inplace but
1806         the element is not GAP-aware.
1807
1808         Mark a comment as FIXME 0.11.
1809
1810 2008-03-31  Stefan Kost  <ensonic@users.sf.net>
1811
1812         * gst/gst.c:
1813           Fix type in log message and add one to ease seeing how long registry
1814           cache verification takes.
1815
1816         * gst/gstregistry.c:
1817           Only test plugin filenames against G_MODULE_SUFFIX.
1818
1819 2008-03-31  Stefan Kost  <ensonic@users.sf.net>
1820
1821         * gst/gstdebugutils.c:
1822           Improve handling ghost/proxy pads.
1823
1824 2008-03-27  Stefan Kost  <ensonic@users.sf.net>
1825
1826         * docs/gst/gstreamer-sections.txt:
1827         * gst/gstpad.c:
1828         * gst/gstpad.h:
1829           Expose macro to docs and fix link to it.
1830
1831 2008-03-27  Michael Smith <msmith@fluendo.com>
1832
1833         * libs/gst/dataprotocol/dataprotocol.c:
1834         (gst_dp_packet_from_event_1_0):
1835           When calculating GDP body CRC, use the correct pointer. 
1836           Fixes part of #522401.
1837
1838 2008-03-24  Wim Taymans  <wim.taymans@collabora.co.uk>
1839
1840         Patch by: Mark Nauwelaerts <manauw at skynet be>
1841
1842         * plugins/elements/gstidentity.c: (gst_identity_class_init),
1843         (gst_identity_init), (gst_identity_prepare_output_buffer):
1844         Identity is not always a passthrough element, it can modify the buffer
1845         timestamps when it has a datarate and operates in single-segment mode.
1846         We therefore make it an in_place filter with a custom buffer prepare
1847         function that conditionally makes the input buffer metadata writable
1848         when needed.  Fixes #523985.
1849
1850 2008-03-24  Wim Taymans  <wim.taymans@collabora.co.uk>
1851
1852         Patch by: Mark Nauwelaerts <manauw at skynet be>
1853
1854         * gst/gstclock.h:
1855         * libs/gst/base/gstbasesrc.h:
1856         * libs/gst/base/gstbasetransform.c:
1857         * libs/gst/check/gstcheck.c:
1858         Small documentation fixes. Fixes #523978.
1859
1860 2008-03-24  Wim Taymans  <wim.taymans@collabora.co.uk>
1861
1862         * plugins/elements/gstfdsink.c: (gst_fd_sink_render):
1863         * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
1864         Also retry our poll_wait when we get EAGAIN. Fixes #524041.
1865
1866 2008-03-24  Wim Taymans  <wim.taymans@collabora.co.uk>
1867
1868         * plugins/elements/gstmultiqueue.c: (single_queue_overrun_cb),
1869         (single_queue_underrun_cb):
1870         When trying to make room in the queue, bump the max allowed buffers
1871         bigger than the current amount of buffers in the queue. this fixes some
1872         nasty deadlocks in multiqueue when dynamically changing the limits of
1873         the queue.
1874
1875 2008-03-24  Wim Taymans  <wim.taymans@collabora.co.uk>
1876
1877         Patch by:  José Alburquerque <jaalburqu at svn dot gnome dot org>
1878
1879         * gst/gstcaps.c: (gst_caps_set_simple),
1880         (gst_caps_set_simple_valist), (gst_caps_intersect):
1881         * gst/gstcaps.h:
1882         Constify the field gchar * params in set_simple and friends.
1883         Fixes #522326.
1884
1885 2008-03-24  Wim Taymans  <wim.taymans@collabora.co.uk>
1886
1887         * gst/gstvalue.c: (gst_value_transform_object_string):
1888         Transform a GstObject to a more meaningfull string that includes the
1889         object type in addition to its name.
1890
1891 2008-03-23  Stefan Kost  <ensonic@users.sf.net>
1892
1893         * ChangeLog:
1894           ChangeLog surgery to add bugnumber to commit.
1895
1896 2008-03-23  Rene Stadler  <mail@renestadler.de>
1897
1898         * libs/gst/base/gstbasetransform.c:
1899         (gst_base_transform_set_gap_aware): Fix confusing documentation.
1900
1901 2008-03-23  Sebastian Dröge  <slomo@circular-chaos.org>
1902
1903         * gst/gstregistrybinary.c: (gst_registry_binary_write):
1904         Rename constant everywhere and don't forget one occurence.
1905
1906 2008-03-23  Sebastian Dröge  <slomo@circular-chaos.org>
1907
1908         * gst/gstregistrybinary.c: (gst_registry_binary_write):
1909         Align memory to the pointer size even if the architecture allows
1910         unaligned memory access. Unaligned memory access usually comes with
1911         performance penality.
1912
1913 2008-03-23  Sebastian Dröge  <slomo@circular-chaos.org>
1914
1915         * gst/gstregistrybinary.c: (gst_registry_binary_write),
1916         (gst_registry_binary_check_magic),
1917         (gst_registry_binary_load_pad_template),
1918         (gst_registry_binary_load_feature),
1919         (gst_registry_binary_load_plugin):
1920         Align memory to the pointer size instead of always 32 bit. Fixes
1921         unaligned memory accesses on ia64 and friends.
1922
1923         * gst/gstregistrybinary.h:
1924         Bump binary registry format version for this as it changes the
1925         format on those architectures that don't have unaligned access
1926         and 64 bit pointers.
1927
1928 2008-03-22  Sebastian Dröge  <slomo@circular-chaos.org>
1929
1930         * docs/pwg/advanced-dparams.xml:
1931         * docs/pwg/building-props.xml:
1932         * docs/pwg/other-source.xml:
1933         * gst/glib-compat.h:
1934         * gst/gstbin.c: (gst_bin_class_init):
1935         * gst/gstclock.c: (gst_clock_class_init):
1936         * gst/gstindex.c: (gst_index_class_init):
1937         * gst/gstobject.c: (gst_object_class_init):
1938         * gst/gstpad.c: (gst_pad_class_init):
1939         * gst/gstpipeline.c: (gst_pipeline_class_init):
1940         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
1941         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init):
1942         * libs/gst/base/gstbasetransform.c:
1943         (gst_base_transform_class_init):
1944         * libs/gst/base/gstdataqueue.c: (gst_data_queue_class_init):
1945         * libs/gst/check/gstcheck.c: (_gst_check_fault_handler_restore),
1946         (_gst_check_fault_handler_sighandler),
1947         (_gst_check_fault_handler_setup), (gst_check_init):
1948         * libs/gst/controller/gstcontroller.c:
1949         (_gst_controller_class_init):
1950         * libs/gst/controller/gstlfocontrolsource.c:
1951         (gst_lfo_control_source_class_init):
1952         * libs/gst/net/gstnetclientclock.c:
1953         (gst_net_client_clock_class_init):
1954         * libs/gst/net/gstnettimeprovider.c:
1955         (gst_net_time_provider_class_init):
1956         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_class_init):
1957         * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init):
1958         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init):
1959         * plugins/elements/gstfdsink.c: (gst_fd_sink_class_init):
1960         * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init):
1961         * plugins/elements/gstfilesink.c: (gst_file_sink_class_init):
1962         * plugins/elements/gstfilesrc.c: (gst_file_src_class_init):
1963         * plugins/elements/gstidentity.c: (gst_identity_class_init):
1964         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_class_init):
1965         * plugins/elements/gstqueue.c: (gst_queue_class_init):
1966         * plugins/elements/gsttee.c: (gst_tee_class_init):
1967         * plugins/elements/gsttypefindelement.c:
1968         (gst_type_find_element_class_init):
1969         * plugins/indexers/gstfileindex.c: (gst_file_index_class_init):
1970         Define G_PARAM_STATIC_STRINGS if it's undefined (GLib < 2.13.0) and
1971         use it everywhere for GParamSpecs that use static strings (i.e. all).
1972         This gives us less memory usage, fewer allocations and thus less
1973         memory defragmentation. Fixes bug #523806.
1974
1975 2008-03-22  Sebastian Dröge  <slomo@circular-chaos.org>
1976
1977         * gst/gstminiobject.c: (gst_value_dup_mini_object),
1978         (gst_param_spec_mini_object):
1979         * gst/gstminiobject.h:
1980         * win32/common/libgstreamer.def:
1981         * docs/gst/gstreamer-sections.txt:
1982         API: Add GST_IS_PARAM_SPEC_MINI_OBJECT, GST_PARAM_SPEC_MINI_OBJECT
1983         GST_TYPE_PARAM_MINI_OBJECT and gst_value_dup_mini_object. Also move
1984         GstParamSpecMiniObject into a public header for this.
1985
1986         This make GstMiniObject a bit more consistent with GObject and makes
1987         it possible to extend the param specs.
1988
1989         gst_value_dup_mini_object is mainly useful for set_property methods.
1990
1991         Fixes bug #523798.
1992
1993         * tools/gst-inspect.c: (print_element_properties_info):
1994         Print something useful for GstMiniObject properties and not just
1995         "unknown type".
1996
1997 2008-03-21  Sebastian Dröge  <slomo@circular-chaos.org>
1998
1999         * docs/gst/gstreamer-sections.txt:
2000         * gst/gstregistrybinary.c: (gst_registry_binary_initialize_magic),
2001         (gst_registry_binary_check_magic):
2002         * gst/gstregistrybinary.h:
2003         Call the version GST_MAGIC_BINARY_VERSION_STR to be more consistent
2004         and add it to the (private part) of the docs to fix the build.
2005
2006 2008-03-21  Sebastian Dröge  <slomo@circular-chaos.org>
2007
2008         * gst/gstregistrybinary.c: (gst_registry_binary_initialize_magic),
2009         (gst_registry_binary_check_magic),
2010         (gst_registry_binary_read_cache):
2011         * gst/gstregistrybinary.h:
2012         Don't use GST_MAJORMINOR for the binary registry version. Instead
2013         hardcode a value that must be changed whenever the format changes
2014         in an incompatible way.
2015         Also don't GST_ERROR when there is a version mismatch, just
2016         regenerate the registry silently.
2017
2018 2008-03-21  Jan Schmidt  <jan.schmidt@sun.com>
2019
2020         * configure.ac:
2021         Back to development - 0.10.18.1
2022
2023 === release 0.10.18 ===
2024
2025 2008-03-20  Jan Schmidt <jan.schmidt@sun.com>
2026
2027         * configure.ac:
2028           releasing 0.10.18, "So far away"
2029
2030 2008-03-18  Jan Schmidt  <jan.schmidt@sun.com>
2031
2032         * configure.ac:
2033         * win32/common/config.h:
2034         0.10.17.4 pre-release
2035
2036 2008-03-18  Wim Taymans  <wim.taymans@collabora.co.uk>
2037
2038         Patch by: Ole André Vadla Ravnås
2039             <ole dot andre dot ravnas at tandberg dot com>
2040
2041         * docs/gst/gstreamer-sections.txt:
2042         * gst/gstpoll.c: (gst_poll_winsock_error_to_errno),
2043         (gst_poll_update_winsock_event_mask),
2044         (gst_poll_prepare_winsock_active_sets),
2045         (gst_poll_collect_winsock_events), (gst_poll_new), (gst_poll_free),
2046         (gst_poll_add_fd_unlocked), (gst_poll_fd_ctl_write),
2047         (gst_poll_fd_ctl_read_unlocked), (gst_poll_fd_ignored),
2048         (gst_poll_fd_has_error), (gst_poll_fd_can_read_unlocked),
2049         (gst_poll_check_ctrl_commands), (gst_poll_wait):
2050         * gst/gstpoll.h:
2051         * win32/common/libgstreamer.def:
2052         Add new function gst_poll_fd_ignored() for improved Windows
2053         compatibility.
2054         Various minor fixes and cleanups. See #520808.
2055
2056 2008-03-17  Tim-Philipp Müller  <tim at centricular dot net>
2057
2058         * gst/gstindex.c: (gst_index_entry_free):
2059         * gst/gstindex.h:
2060           Don't free key strings which we don't own. Fixes crash in
2061           gst_index_entry_free() (#522741).
2062
2063         * tests/check/Makefile.am:
2064         * tests/check/gst/.cvsignore:
2065         * tests/check/gst/gstindex.c: (test_index_entries),
2066           (gst_index_suite), (gst_index):
2067           Add unit test for the above.
2068
2069 2008-03-11  Sebastian Dröge  <slomo@circular-chaos.org>
2070
2071         * win32/common/libgstreamer.def:
2072         Remove symbols that were removed recently. Fixes bug #521740.
2073
2074 2008-03-11  Jan Schmidt  <jan.schmidt@sun.com>
2075
2076         * configure.ac:
2077         * win32/common/config.h:
2078         0.10.17.3 pre-release
2079
2080 2008-03-07  Wim Taymans  <wim.taymans@collabora.co.uk>
2081
2082         Patch by: Ole André Vadla Ravnås
2083             <ole dot andre dot ravnas at tandberg dot com>
2084
2085         * docs/gst/gstreamer-sections.txt:
2086         * gst/gstpoll.c: (find_index), (gst_poll_free_winsock_event),
2087         (gst_poll_update_winsock_event_mask), (gst_poll_new),
2088         (gst_poll_free), (gst_poll_fd_init), (gst_poll_add_fd_unlocked),
2089         (gst_poll_remove_fd), (gst_poll_fd_ctl_write),
2090         (gst_poll_fd_ctl_read_unlocked), (gst_poll_fd_has_closed),
2091         (gst_poll_fd_has_error), (gst_poll_fd_can_read_unlocked),
2092         (gst_poll_fd_can_write), (gst_poll_wait),
2093         (gst_poll_set_controllable), (gst_poll_restart),
2094         (gst_poll_set_flushing):
2095         * gst/gstpoll.h:
2096         * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_new):
2097         * libs/gst/net/gstnettimeprovider.c: (gst_net_time_provider_start),
2098         (gst_net_time_provider_new):
2099         * plugins/elements/gstfdsink.c: (gst_fd_sink_start):
2100         * plugins/elements/gstfdsrc.c: (gst_fd_src_start):
2101         * tests/benchmarks/gstpollstress.c: (main):
2102         * tests/check/gst/gstpoll.c: (GST_START_TEST), (gst_poll_suite):
2103         Remove GstPollMode from the API, it does not make sense to let the
2104         application control this.
2105         Add support for Win32.
2106         Fix the testsuite. Fixes #520671.
2107
2108 2008-03-07  Sebastian Dröge  <slomo@circular-chaos.org>
2109
2110         Patch by: Ole André Vadla Ravnås
2111             <ole dot andre dot ravnas at tandberg dot com>
2112
2113         * gst/gstregistrybinary.c:
2114         Include io.h for write() and close() when building with MSVC. Fixes
2115         bug #520877.
2116
2117 2008-03-07  Stefan Kost  <ensonic@users.sf.net>
2118
2119         * configure.ac:
2120         * gst/gst_private.h:
2121         * gst/gstconfig.h.in:
2122         * gst/gstregistry.h:
2123         * gst/gstregistrybinary.c:
2124         * win32/common/gstconfig.h:
2125           Move registry backend API to private headers where we can. Add
2126           fixme-0.11 comments for the others. Add stubs for the xml backend when
2127           using the binary to ensure they functions exists (they should not be
2128           used though). Fixes #520756.
2129
2130 2008-03-04  Jan Schmidt  <jan.schmidt@sun.com>
2131
2132         * configure.ac:
2133         * win32/common/config.h:
2134         0.10.17.2 prelease
2135
2136 2008-03-03  Edward Hervey  <edward.hervey@collabora.co.uk>
2137
2138         * gst/gstregistrybinary.c: (gst_registry_binary_write),
2139         (gst_registry_binary_read_cache):
2140         * gst/gstregistryxml.c: (gst_registry_save):
2141         * gst/gsturi.c: (unescape_string), (gst_uri_has_protocol):
2142         * plugins/elements/gstfilesink.c: (gst_file_sink_open_file):
2143         * plugins/elements/gstfilesrc.c: (gst_file_src_map_region),
2144         (gst_file_src_map_small_region), (gst_file_src_create_mmap):
2145         Switch to using portabl gsize/gssize instead of size_t/ssize_t
2146         Fixes #520152
2147
2148 2008-03-03  Edward Hervey  <edward.hervey@collabora.co.uk>
2149
2150         * gst/gstminiobject.c:
2151         Import gst_private.h before any other header that might include other
2152         glib headers. This fixes the build on windows using native compilers.
2153
2154 2008-03-03  Tim-Philipp Müller  <tim at centricular dot net>
2155
2156         * win32/common/gstconfig.h:
2157           Add here too, just for completeness.
2158
2159 2008-03-03  Tim-Philipp Müller  <tim at centricular dot net>
2160
2161         * configure.ac:
2162         * gst/gstconfig.h.in:
2163         * gst/gstregistry.h:
2164           Fix broken use of config.h-defined preprocessor directive in a public
2165           header file. Add a corresponding define to gstconfig.h, since we can't
2166           really remove those function declarations from the header file now
2167           (or can we? and why are they there in the first place?).
2168
2169 2008-03-03  Andy Wingo  <wingo@pobox.com>
2170
2171         * tests/check/gst/gststructure.c (GST_START_TEST): Add a check for
2172         the new warning.
2173
2174         * gst/gststructure.c (gst_structure_from_string): Warn if
2175         structure_from_string didn't consume the whole string, but the
2176         caller did not provide an end pointer.
2177
2178 2008-03-01  Tim-Philipp Müller  <tim at centricular dot net>
2179
2180         Patch by: Fabrizio Gennari <fabrizio.ge at tiscali it>
2181
2182         * gst/gstregistryxml.c: (read_string), (load_feature):
2183           Strings allocated by libxml2 should be freed with xmlFree(), not
2184           with g_free(). Fixes issues on windows in certain contexts (#519698).
2185
2186 2008-02-29  Tim-Philipp Müller  <tim at centricular dot net>
2187
2188         * gst/gstinterface.c: (gst_element_implements_interface):
2189           Don't crash if the element supports the interface queried, but does
2190           not implement GstImplementsInterface. Fixes #519584.
2191
2192         * tests/check/Makefile.am:
2193         * tests/check/gst/.cvsignore:
2194         * tests/check/gst/gstinterface.c:
2195           Add unit test for the above.
2196
2197 2008-02-29  Wim Taymans  <wim.taymans@collabora.co.uk>
2198
2199         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
2200         Small doc update.
2201
2202 2008-02-29  Wim Taymans  <wim.taymans@collabora.co.uk>
2203
2204         * gst/gstsegment.c: (gst_segment_set_seek),
2205         (gst_segment_to_stream_time):
2206         Improve some comment.
2207         Update variables where it makes more sense.
2208
2209 2008-02-29  Rene Stadler  <mail@renestadler.de>
2210
2211         * gst/gsturi.c: (gst_uri_handler_get_protocols):
2212         Use the get_protocols_full vfunc if get_protocols is NULL.  Fixes
2213         URIHandlers implemented using language bindings.
2214
2215 2008-02-29  Sebastian Dröge  <slomo@circular-chaos.org>
2216
2217         * gst/gstelementfactory.h:
2218         * tests/check/elements/fakesink.c:
2219         * tests/check/elements/fakesrc.c: (setup_fakesrc):
2220         * tests/check/elements/fdsrc.c: (setup_fdsrc):
2221         * tests/check/elements/filesink.c: (setup_filesink):
2222         * tests/check/elements/filesrc.c: (setup_filesrc):
2223         * tests/check/elements/identity.c: (setup_identity):
2224         * tests/check/elements/tee.c:
2225         * tests/check/generic/sinks.c:
2226         * tests/check/generic/states.c: (setup), (teardown):
2227         * tests/check/gst/gst.c:
2228         * tests/check/gst/gstabi.c:
2229         * tests/check/gst/gstbin.c:
2230         * tests/check/gst/gstbus.c: (pull_messages):
2231         * tests/check/gst/gstcaps.c:
2232         * tests/check/gst/gstelement.c:
2233         * tests/check/gst/gstevent.c:
2234         * tests/check/gst/gstghostpad.c:
2235         * tests/check/gst/gstiterator.c:
2236         * tests/check/gst/gstmessage.c:
2237         * tests/check/gst/gstminiobject.c: (my_foo_init):
2238         * tests/check/gst/gstobject.c: (thread_name_object),
2239         (gst_object_suite):
2240         * tests/check/gst/gstpad.c:
2241         * tests/check/gst/gstplugin.c:
2242         * tests/check/gst/gstpoll.c:
2243         * tests/check/gst/gstquery.c:
2244         * tests/check/gst/gstsegment.c:
2245         * tests/check/gst/gststructure.c:
2246         * tests/check/gst/gstsystemclock.c:
2247         * tests/check/gst/gsttask.c:
2248         * tests/check/gst/gstutils.c:
2249         * tests/check/gst/gstvalue.c:
2250         * tests/check/gst/struct_hppa.h:
2251         * tests/check/gst/struct_i386.h:
2252         * tests/check/gst/struct_ppc32.h:
2253         * tests/check/gst/struct_ppc64.h:
2254         * tests/check/gst/struct_x86_64.h:
2255         * tests/check/libs/adapter.c: (create_and_fill_adapter):
2256         * tests/check/libs/basesrc.c:
2257         * tests/check/libs/controller.c: (GST_START_TEST):
2258         * tests/check/libs/gdp.c:
2259         * tests/check/libs/gstnetclientclock.c:
2260         * tests/check/libs/gstnettimeprovider.c:
2261         * tests/check/libs/libsabi.c:
2262         * tests/check/libs/struct_hppa.h:
2263         * tests/check/libs/struct_i386.h:
2264         * tests/check/libs/struct_ppc32.h:
2265         * tests/check/libs/struct_ppc64.h:
2266         * tests/check/libs/struct_x86_64.h:
2267         * tests/check/pipelines/cleanup.c:
2268         * tests/check/pipelines/simple-launch-lines.c:
2269         * tests/check/pipelines/stress.c:
2270         And correct even more valid sparse warnings.
2271
2272         * win32/common/libgstreamer.def:
2273         Add gst_poll_fd_init to the list of symbols.
2274
2275 2008-02-29  Sebastian Dröge  <slomo@circular-chaos.org>
2276
2277         * gst/gstconfig.h.in:
2278         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_read_buffer):
2279         * libs/gst/check/gstcheck.c: (gst_check_log_message_func),
2280         (gst_check_log_critical_func), (gst_check_drop_buffers),
2281         (gst_check_element_push_buffer_list):
2282         * libs/gst/controller/gstcontroller.c: (gst_controller_get),
2283         (gst_controller_get_type):
2284         * libs/gst/controller/gsthelper.c: (gst_object_control_properties),
2285         (gst_object_get_controller), (gst_object_get_control_source):
2286         * libs/gst/controller/gstinterpolationcontrolsource.c:
2287         (gst_interpolation_control_source_new):
2288         * libs/gst/controller/gstlfocontrolsource.c:
2289         (gst_lfo_control_source_new):
2290         * libs/gst/dataprotocol/dataprotocol.c:
2291         (gst_dp_event_from_packet_0_2):
2292         * plugins/elements/gstfdsrc.c:
2293         * plugins/elements/gstmultiqueue.c:
2294         * plugins/elements/gsttee.c:
2295         * plugins/elements/gsttypefindelement.c:
2296         * plugins/indexers/gstfileindex.c: (_file_index_id_save_xml),
2297         (gst_file_index_add_association):
2298         * plugins/indexers/gstmemindex.c:
2299         * tests/benchmarks/gstpollstress.c: (mess_some_more):
2300         * tests/check/elements/queue.c: (setup_queue):
2301         * tests/check/gst/gstpipeline.c:
2302         * tests/check/libs/collectpads.c: (setup), (teardown),
2303         (gst_collect_pads_suite):
2304         * tests/examples/adapter/adapter_test.c:
2305         * tests/examples/metadata/read-metadata.c: (make_pipeline):
2306         * tests/examples/xml/createxml.c:
2307         * tests/examples/xml/runxml.c:
2308         * tools/gst-inspect.c:
2309         * tools/gst-run.c:
2310         Correct all relevant warnings found by the sparse semantic code
2311         analyzer. This include marking several symbols static, using
2312         NULL instead of 0 for pointers, not using variable sized arrays
2313         on the stack, moving variable declarations to the beginning of
2314         a block and using "foo (void)" instead of "foo ()" for declarations.
2315
2316 2008-02-29  Sebastian Dröge  <slomo@circular-chaos.org>
2317
2318         * plugins/elements/gstfdsink.c: (gst_fd_sink_update_fd):
2319         * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
2320         Don't reset GstPollFDs, this is not necessary at all.
2321
2322         * tests/check/gst/gstpoll.c: (test_poll_wait), (GST_START_TEST),
2323         (delayed_restart), (delayed_control):
2324         Use GST_POLL_FD_INIT.
2325
2326 2008-02-29  Wim Taymans  <wim.taymans@collabora.co.uk>
2327
2328         * gst/gstpoll.c: (gst_poll_fd_init):
2329         * gst/gstpoll.h:
2330         Added Since tags.
2331
2332         * plugins/elements/gstfdsink.c: (gst_fd_sink_update_fd):
2333         Use some more init macros.
2334
2335 2008-02-29  Wim Taymans  <wim.taymans@collabora.co.uk>
2336
2337         * plugins/elements/gstfdsink.c: (gst_fd_sink_start):
2338         * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
2339         Use init macros and functions.
2340
2341 2008-02-29  Wim Taymans  <wim.taymans@collabora.co.uk>
2342
2343         * docs/gst/gstreamer-sections.txt:
2344         * gst/gstpoll.c: (gst_poll_fd_init):
2345         * gst/gstpoll.h:
2346         Add INIT macro and _init method for initializing the GstPollFD.
2347
2348 2008-02-28  Sebastian Dröge  <slomo@circular-chaos.org>
2349
2350         * plugins/elements/gstfdsink.c: (gst_fd_sink_start),
2351         (gst_fd_sink_update_fd):
2352         * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
2353         * tests/check/gst/gstpoll.c: (test_poll_wait), (GST_START_TEST),
2354         (delayed_restart), (delayed_control):
2355         Initialize some uninitialized variables as spotted by valgrind.
2356
2357 2008-02-28  Wim Taymans  <wim.taymans@collabora.co.uk>
2358
2359         * tests/benchmarks/Makefile.am:
2360         * tests/benchmarks/gstpollstress.c: (mess_some_more), (run_test),
2361         (main):
2362         Add poll stress test.
2363
2364 2008-02-28  Wim Taymans  <wim.taymans@collabora.co.uk>
2365
2366         Patch by: Peter Kjellerstedt <pkj at axis dot com>
2367
2368         * plugins/elements/gstfdsink.c: (gst_fd_sink_render),
2369         (gst_fd_sink_start), (gst_fd_sink_stop), (gst_fd_sink_unlock),
2370         (gst_fd_sink_unlock_stop), (gst_fd_sink_update_fd):
2371         * plugins/elements/gstfdsink.h:
2372         * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd),
2373         (gst_fd_src_start), (gst_fd_src_stop), (gst_fd_src_unlock),
2374         (gst_fd_src_unlock_stop), (gst_fd_src_create),
2375         (gst_fd_src_uri_set_uri):
2376         * plugins/elements/gstfdsrc.h:
2377         Port to GstPoll. See #505417.
2378
2379 2008-02-27  Jan Schmidt  <jan.schmidt@sun.com>
2380
2381         * win32/common/libgstreamer.def:
2382         Add new gst_poll_ symbols to win32 defs.
2383
2384 2008-02-27  Wim Taymans  <wim.taymans@collabora.co.uk>
2385
2386         * docs/libs/gstreamer-libs-sections.txt:
2387         * libs/gst/net/gstnetclientclock.c:
2388         (gst_net_client_clock_class_init), (gst_net_client_clock_init),
2389         (gst_net_client_clock_finalize), (gst_net_client_clock_do_select),
2390         (gst_net_client_clock_thread), (gst_net_client_clock_start),
2391         (gst_net_client_clock_stop), (gst_net_client_clock_new):
2392         * libs/gst/net/gstnetclientclock.h:
2393         * libs/gst/net/gstnettimeprovider.c:
2394         (gst_net_time_provider_class_init), (gst_net_time_provider_init),
2395         (gst_net_time_provider_finalize), (gst_net_time_provider_thread),
2396         (gst_net_time_provider_start), (gst_net_time_provider_stop),
2397         (gst_net_time_provider_new):
2398         * libs/gst/net/gstnettimeprovider.h:
2399         Use a private stuct to not break ABI.
2400
2401 2008-02-27  Wim Taymans  <wim.taymans@collabora.co.uk>
2402
2403         Patch by: Peter Kjellerstedt <pkj at axis dot com>
2404
2405         * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_init),
2406         (gst_net_client_clock_finalize), (gst_net_client_clock_do_select),
2407         (gst_net_client_clock_thread), (gst_net_client_clock_start),
2408         (gst_net_client_clock_stop), (gst_net_client_clock_new):
2409         * libs/gst/net/gstnetclientclock.h:
2410         * libs/gst/net/gstnettimeprovider.c: (gst_net_time_provider_init),
2411         (gst_net_time_provider_finalize), (gst_net_time_provider_thread),
2412         (gst_net_time_provider_start), (gst_net_time_provider_stop),
2413         (gst_net_time_provider_new):
2414         * libs/gst/net/gstnettimeprovider.h:
2415         Massive code removal and cleanups because of GstPoll.
2416         Fixes #505417.
2417
2418 2008-02-27  Wim Taymans  <wim.taymans@collabora.co.uk>
2419
2420         * configure.ac:
2421         Add checks for poll, ppoll and pselect.
2422
2423         * docs/gst/gstreamer-docs.sgml:
2424         * docs/gst/gstreamer-sections.txt:
2425         Add docs for GstPoll.
2426
2427         * gst/Makefile.am:
2428         * gst/gst.h:
2429         * gst/gstpoll.c: (find_index), (selectable_fds),
2430         (pollable_timeout), (choose_mode), (pollfd_to_fd_set),
2431         (fd_set_to_pollfd), (gst_poll_new), (gst_poll_free),
2432         (gst_poll_set_mode), (gst_poll_get_mode),
2433         (gst_poll_add_fd_unlocked), (gst_poll_add_fd),
2434         (gst_poll_remove_fd), (gst_poll_fd_ctl_write),
2435         (gst_poll_fd_ctl_read_unlocked), (gst_poll_fd_ctl_read),
2436         (gst_poll_fd_has_closed), (gst_poll_fd_has_error),
2437         (gst_poll_fd_can_read_unlocked), (gst_poll_fd_can_read),
2438         (gst_poll_fd_can_write), (gst_poll_wait),
2439         (gst_poll_set_controllable), (gst_poll_restart),
2440         (gst_poll_set_flushing):
2441         * gst/gstpoll.h:
2442         Add generic poll abstraction. We ideally don't want to have this in core
2443         here but in glib intead...
2444         This code will be used in various network elements and ultimately for
2445         the nanosecond precision monotonic clock (that's why it's here in core).
2446         It'll allow us to implement cancelable socket operations for windows too.
2447
2448         * tests/check/Makefile.am:
2449         * tests/check/gst/gstpoll.c: (test_poll_wait), (GST_START_TEST),
2450         (delayed_stop), (delayed_restart), (delayed_flush),
2451         (delayed_control), (gst_poll_suite):
2452         Add GstPoll unit test.
2453
2454 2008-02-25  Tim-Philipp Müller  <tim at centricular dot net>
2455
2456         * gst/gstfilter.c:
2457           Improve documentation of gst_filter_run(). Fixes #518627.
2458
2459 2008-02-23  Tim-Philipp Müller  <tim at centricular dot net>
2460
2461         * docs/README:
2462           Add a few lines about the new 'check-inspected-versions' target.
2463
2464 2008-02-21  Stefan Kost  <ensonic@users.sf.net>
2465
2466         * tests/check/gst/gstevent.c:
2467           Add qos to the event test. Rename tcase/tsuite; is not only about
2468           custom events.
2469
2470 2008-02-21  Stefan Kost  <ensonic@users.sf.net>
2471
2472         * plugins/elements/gstqueue.c:
2473           Ensure that buffer metadata is writeable, before modifying. Spotted by
2474           Mike.
2475
2476 2008-02-20  Stefan Kost  <ensonic@users.sf.net>
2477
2478         * plugins/elements/gstqueue.c:
2479         * plugins/elements/gstqueue.h:
2480           When dropping buffers in leaky modes, mark next buffers we sent as
2481           DISCONT.
2482
2483 2008-02-20  Tim-Philipp Müller  <tim at centricular dot net>
2484
2485         * plugins/elements/gstfilesrc.c: (gst_file_src_map_region):
2486           Also, if mmap() fails that would be a READ error, not OPEN_READ.
2487
2488 2008-02-20  Tim-Philipp Müller  <tim at centricular dot net>
2489
2490         * plugins/elements/Makefile.am:
2491         * plugins/elements/gstbufferstore.c:
2492         * plugins/elements/gstbufferstore.h:
2493         * plugins/elements/gsttypefindelement.h:
2494           Remove GstBufferStore, no idea why we were still building it.
2495           It's not used anywhere and superseded by GstAdapter.
2496
2497         * plugins/elements/gstfilesrc.c: (gst_file_src_map_region),
2498           (gst_file_src_create_mmap):
2499         * plugins/indexers/gstfileindex.c: (gst_file_index_add_association):
2500           Printf format fixes for 64-bit integers.
2501
2502 2008-02-19  Sebastian Dröge  <slomo@circular-chaos.org>
2503
2504         * configure.ac:
2505         Don't set GST_CACHE_DIR and allow to set it by a configure parameter.
2506         We're not in 0.8 times anymore.
2507
2508 2008-02-19  Jan Schmidt  <Jan.Schmidt@sun.com>
2509
2510         * libs/gst/check/gstcheck.c: (gst_check_drop_buffers),
2511         (gst_check_element_push_buffer_list):
2512         * libs/gst/check/gstcheck.h:
2513         Make the declaration in the header for
2514         gst_check_element_push_buffer_list match the implementation.
2515
2516         Fix up spelling, grammar and wording of the documentation in a few
2517         places, and add the Since keyword to new API functions.
2518         Use g_list_delete_link instead of g_list_remove in
2519         gst_check_drop_buffers, since it's immeasurably more efficient.
2520
2521         * tests/check/elements/fakesrc.c: (GST_START_TEST):
2522         Use new gst_check_drop_buffers function where appropriate.
2523
2524         * win32/common/libgstbase.def:
2525         * win32/common/libgstreamer.def:
2526         Add new symbols gst_collect_pads_take_buffer, 
2527         gst_collect_pads_read_buffer, gst_index_set_resolver_full to the
2528         exports
2529
2530         Changelog surgery to add API keyword to new gst_check API.
2531
2532 2008-02-19  Sebastian Dröge  <slomo@circular-chaos.org>
2533
2534         * gst/parse/lex._gst_parse_yy.pre.c: (yy_get_next_buffer),
2535         (_gst_parse_yyensure_buffer_stack), (_gst_parse_yylex_init_extra):
2536         Update pre-generated flex files with flex 2.3.34.
2537
2538 2008-02-19  Sebastian Dröge  <slomo@circular-chaos.org>
2539
2540         * gst/gstminiobject.c:
2541           Add FIXME for 0.11 to make GstMiniObjectClass::copy() a bit more
2542           friendly to subclasses and not require them to know all internals
2543           of their parent class.
2544
2545 2008-02-15  Stefan Kost  <ensonic@users.sf.net>
2546
2547         * docs/libs/gstreamer-libs-sections.txt:
2548         * libs/gst/base/gstcollectpads.c:
2549         * libs/gst/base/gstcollectpads.h:
2550           Add sub-buffer functions to collectpads. Fixes #516187.
2551           API: gst_collect_pads_take_buffer(), gst_collect_pads_read_buffer()
2552
2553 2008-02-15  Stefan Kost  <ensonic@users.sf.net>
2554
2555         * gst/gstbuffer.c:
2556           Copy selected buffer-flags when creating subbuffers.
2557           Fixes #516395.
2558
2559 2008-02-12  Sebastian Dröge  <slomo@circular-chaos.org>
2560
2561         * gst/gstbuffer.c: (gst_buffer_class_init), (gst_buffer_finalize):
2562         * gst/gstevent.c: (gst_event_class_init), (gst_event_finalize):
2563         * gst/gstmessage.c: (gst_message_class_init),
2564         (gst_message_finalize):
2565         * gst/gstquery.c: (gst_query_class_init), (gst_query_finalize):
2566         * plugins/elements/gstfilesrc.c: (gst_mmap_buffer_class_init),
2567         (gst_mmap_buffer_finalize):
2568         Properly chain up finalize functions to the parent class.
2569
2570 2008-02-11  Wim Taymans  <wim.taymans@collabora.co.uk>
2571
2572         Patch by: Siavash Safi <siavash dot safi at gmail dot com>
2573
2574         * gst/gstindex.c: (gst_index_finalize), (gst_index_set_resolver),
2575         (gst_index_set_resolver_full):
2576         * gst/gstindex.h:
2577         Add new function with option to dispose of user_data in resolver.
2578         Actually call the dispose function when finalizing the object and not
2579         just when changing the resolver/filter.
2580         API: GstIndex::gst_index_set_resolver_full()
2581
2582         * docs/gst/gstreamer-sections.txt:
2583         Add new function to docs. Fixes #515469.
2584
2585 2008-02-11  Sebastian Dröge  <slomo@circular-chaos.org>
2586
2587         * gst/gstindex.c: (gst_index_finalize):
2588         Chain up finalize to the parent class. Fixes leaking the GstObject
2589         name and other things.
2590
2591 2008-02-08  Jan Schmidt  <jan.schmidt@sun.com>
2592
2593         * configure.ac:
2594         Make DISABLE_DEPRECATED defined *only* during CVS, not during
2595         pre-releases or releases.
2596
2597         * docs/faq/gst-uninstalled:
2598         Add gst-plugins-gl
2599
2600         * docs/random/release:
2601         Change one of the steps - we only upload core & base to Gnome FTP
2602
2603 2008-02-06  Stefan Kost  <ensonic@users.sf.net>
2604
2605         * gst/gstconfig.h.in:
2606           Add 'id' for example.
2607
2608         * gst/gstpad.c:
2609         * gst/gstutils.c:
2610         * plugins/elements/gstfdsink.c:
2611           Link to signals. Doc and comment fixes.
2612
2613 2008-02-05  Tim-Philipp Müller  <tim at centricular dot net>
2614
2615         * gst/gstpad.h: (GST_PAD_LINK_SUCCESSFUL):
2616         * gst/gstpluginfeature.h: (GstPluginFeatureClass):
2617           Some minor docs fixes: fix typo, mention that GST_FLOW_RESEND is
2618           unused and unimplemented; finally, it is plugin features, not
2619           plugins, that have ranks.
2620           
2621 2008-02-05  Stefan Kost  <ensonic@users.sf.net>
2622
2623         * gst/gstpluginfeature.h:
2624           Clarify GstRank range docs.
2625
2626 2008-02-05  David Schleef  <ds@schleef.org>
2627
2628         * gst/gst.c: Add a separate gst_deinitialized that prevents
2629           gst_init() from being called after gst_deinit().  Fixes #509559
2630
2631 2008-02-05  Sebastian Dröge  <slomo@circular-chaos.org>
2632
2633         * gst/gstbin.c: (gst_bin_get_type), (gst_bin_base_init),
2634         (gst_bin_class_init):
2635         * gst/gstelement.c: (gst_element_base_class_init),
2636         (gst_element_class_add_pad_template):
2637         * gst/gstpadtemplate.c: (gst_pad_template_init):
2638         * gst/gstpipeline.c: (gst_pipeline_get_type),
2639         (gst_pipeline_base_init), (gst_pipeline_class_init):
2640         * libs/gst/base/gstbasesink.c:
2641         * libs/gst/base/gstbasesrc.c: (gst_base_src_get_type),
2642         (gst_base_src_base_init), (gst_base_src_class_init):
2643         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_base_init),
2644         (gst_capsfilter_class_init):
2645         * plugins/elements/gstfakesink.c: (gst_fake_sink_base_init),
2646         (gst_fake_sink_class_init):
2647         * plugins/elements/gstfakesrc.c: (gst_fake_src_base_init),
2648         (gst_fake_src_class_init):
2649         * plugins/elements/gstfdsink.c: (gst_fd_sink_base_init),
2650         (gst_fd_sink_class_init):
2651         * plugins/elements/gstfdsrc.c: (gst_fd_src_base_init),
2652         (gst_fd_src_class_init):
2653         * plugins/elements/gstfilesink.c: (gst_file_sink_base_init),
2654         (gst_file_sink_class_init):
2655         * plugins/elements/gstfilesrc.c: (gst_file_src_base_init),
2656         (gst_file_src_class_init):
2657         * plugins/elements/gstidentity.c: (gst_identity_base_init),
2658         (gst_identity_class_init):
2659         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_base_init),
2660         (gst_multi_queue_class_init):
2661         * plugins/elements/gstqueue.c: (gst_queue_base_init),
2662         (gst_queue_class_init):
2663         * plugins/elements/gsttee.c: (gst_tee_base_init),
2664         (gst_tee_class_init):
2665         * plugins/elements/gsttypefindelement.c:
2666         (gst_type_find_element_base_init),
2667         (gst_type_find_element_class_init):
2668         * tests/check/gst/gstelement.c: (gst_element_suite):
2669         Revert previous changes to the behaviour of GstPadTemplates, etc
2670         and the possiblity to call them in class_init as it breaks too
2671         many elements. Reopens bug #491501.
2672
2673         Should be applied again for 0.11, thus added a few FIXME 0.11 at
2674         several places.
2675
2676 2008-02-05  Stefan Kost  <ensonic@users.sf.net>
2677
2678         * tools/gst-launch.c:
2679         Dump one graph per pipeline state-change and state change name
2680         (if GST_DEBUG_DUMP_DOT_DIR is set).
2681
2682 2008-02-04  Thijs Vermeir  <thijsvermeir@gmail.com>
2683
2684         * gst/gstpad.c:
2685         * tests/check/gst/gstpad.c:
2686         Be sure that we have a new copy of the caps and not
2687         reffed caps from a template
2688
2689 2008-02-03  Sebastian Dröge  <slomo@circular-chaos.org>
2690
2691         * gst/gstbin.c: (gst_bin_get_type), (gst_bin_class_init):
2692         * gst/gstpipeline.c: (gst_pipeline_get_type),
2693         (gst_pipeline_class_init):
2694         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_type),
2695         (gst_base_sink_class_init):
2696         * libs/gst/base/gstbasesrc.c: (gst_base_src_get_type),
2697         (gst_base_src_class_init):
2698         * libs/gst/base/gstbasetransform.c: (gst_base_transform_get_type),
2699         (gst_base_transform_class_init):
2700         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
2701         (gst_collect_pads_class_init):
2702         * libs/gst/base/gstdataqueue.c: (gst_data_queue_get_type):
2703         * libs/gst/net/gstnettimeprovider.c:
2704         (gst_net_time_provider_base_init),
2705         (gst_net_time_provider_class_init):
2706         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_base_init),
2707         (gst_capsfilter_class_init):
2708         * plugins/elements/gstfakesink.c: (gst_fake_sink_base_init),
2709         (gst_fake_sink_class_init):
2710         * plugins/elements/gstfakesrc.c: (gst_fake_src_base_init),
2711         (gst_fake_src_class_init):
2712         * plugins/elements/gstfdsink.c: (gst_fd_sink_base_init),
2713         (gst_fd_sink_class_init):
2714         * plugins/elements/gstfdsrc.c: (gst_fd_src_base_init),
2715         (gst_fd_src_class_init):
2716         * plugins/elements/gstfilesink.c: (gst_file_sink_base_init),
2717         (gst_file_sink_class_init):
2718         * plugins/elements/gstfilesrc.c: (gst_file_src_base_init),
2719         (gst_file_src_class_init):
2720         * plugins/elements/gstidentity.c: (gst_identity_base_init),
2721         (gst_identity_class_init):
2722         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_base_init),
2723         (gst_multi_queue_class_init):
2724         * plugins/elements/gstqueue.c: (gst_queue_base_init),
2725         (gst_queue_class_init):
2726         * plugins/elements/gsttee.c: (gst_tee_base_init),
2727         (gst_tee_class_init):
2728         * plugins/elements/gsttypefindelement.c:
2729         (gst_type_find_element_base_init),
2730         (gst_type_find_element_class_init):
2731         Don't use base_init where not absolutely necessary. For example it's
2732         not necessary anymore for adding pad templates or setting element
2733         details.
2734
2735         Leave empty base_init functions in several places as GST_BOILERPLATE
2736         still defines and uses them.
2737
2738 2008-02-03  Sebastian Dröge  <slomo@circular-chaos.org>
2739
2740         * gst/gstelement.c: (gst_element_base_class_init),
2741         (gst_element_class_add_pad_template):
2742         * gst/gstpadtemplate.c:
2743         Make it possible (and recommended) to set element details and add
2744         pad templates in the class_init functions by copying the details/pad
2745         templates in GstElement's base_init.
2746
2747         Also make it possible to replace existing pad templates by adding
2748         a new one with the same name. This was done in a hackish fashion
2749         in same elements before already.
2750
2751         Don't reference pad templates that are added a second time. A
2752         new pad template has a refcount of one and is not floating anymore
2753         and to be owned by the element's class. Make this more explicit by
2754         mentioning it in the docs of gst_element_class_add_pad_template().
2755
2756         These changes are backwards compatible. Fixes bug #491501.
2757
2758         * tests/check/gst/gstelement.c:
2759         Add unit test for setting element details, adding pad templates and
2760         replacing them in a subclass.
2761
2762 2008-02-02  Sebastian Dröge  <slomo@circular-chaos.org>
2763
2764         * tools/gst-inspect.c: (print_interfaces),
2765         (print_element_properties_info), (print_pad_info),
2766         (print_signal_info), (print_element_info):
2767         Fix a few memory leaks.
2768
2769 2008-02-01  Thijs Vermeir  <thijsvermeir@gmail.com>
2770
2771         * docs/libs/gstreamer-libs-sections.txt:
2772         * libs/gst/check/gstcheck.c:
2773         * libs/gst/check/gstcheck.h:
2774         Add more functions for unit testing: gst_check_drop_buffers,
2775         gst_check_caps_equal, gst_check_element_push_buffer_list,
2776         gst_check_element_push_buffer
2777         API: gst_check_drop_buffers
2778         API: gst_check_caps_equal
2779         API: gst_check_element_push_buffer_list
2780         API: gst_check_element_push_buffer
2781
2782 2008-02-01  Julien Moutte  <julien@fluendo.com>
2783
2784         * docs/gst/gstreamer-sections.txt: Add GST_CHECK_VERSION to the docs
2785         * gst/gstindex.c: (gst_index_class_init), (gst_index_free_writer),
2786         (gst_index_finalize), (gst_index_entry_free),
2787         (gst_index_add_association): Fix memory leaks.
2788         * gst/gstversion.h.in: Add GST_CHECK_VERSION macro.
2789         * plugins/indexers/gstmemindex.c: (gst_mem_index_class_init),
2790         (gst_mem_index_free_format), (gst_mem_index_free_id),
2791         (gst_mem_index_finalize): Fix memory leaks.
2792         * win32/common/config.h: Updated to CVS HEAD.
2793
2794 2008-02-01  Stefan Kost  <ensonic@users.sf.net>
2795
2796         * docs/README:
2797           Some more details about how the plugin docs works.
2798
2799         * docs/plugins/gstreamer-plugins-sections.txt:
2800           Whitespace cleanup.
2801
2802 2008-02-01  Stefan Kost  <ensonic@users.sf.net>
2803
2804         * gst/parse/grammar.tab.pre.c:
2805         * gst/parse/grammar.tab.pre.h:
2806         * gst/parse/grammar.y:
2807         * gst/parse/lex._gst_parse_yy.pre.c:
2808           Add delayed set-property. This allows to set properties on dynamicaly
2809           created objects (pads in videomxer). Fixes #509391.
2810
2811 2008-02-01  Thijs Vermeir  <thijsvermeir@gmail.com>
2812
2813         * gst/gstutils.c:
2814         Check if caps are not NULL (fix bug #510194)
2815
2816 2008-02-01  Wim Taymans  <wim.taymans@collabora.co.uk>
2817
2818         * libs/gst/base/gstbasesink.c: (gst_base_sink_loop),
2819         (gst_base_sink_get_position_paused):
2820         Add fixme regarding EOS in pull mode.
2821         Fix position reporting in PAUSED for negative rates.
2822
2823 2008-02-01  Wim Taymans  <wim.taymans@collabora.co.uk>
2824
2825         * gst/gstminiobject.c: (gst_mini_object_replace):
2826         When replacing a miniobject, do a quick equality check first so that we
2827         can avoid a ref/unref pair.
2828
2829 2008-02-01  Wim Taymans  <wim.taymans@collabora.co.uk>
2830
2831         * docs/design/part-synchronisation.txt:
2832         Update some docs.
2833
2834         * docs/plugins/Makefile.am:
2835         * docs/plugins/gstreamer-plugins-docs.sgml:
2836         * docs/plugins/gstreamer-plugins-sections.txt:
2837         * plugins/elements/gstmultiqueue.c:
2838         Add multiqueue to the docs.
2839
2840 2008-01-30  Jan Schmidt  <jan.schmidt@sun.com>
2841
2842         * configure.ac:
2843           Back to CVS
2844
2845 === release 0.10.17 ===
2846
2847 2008-01-30  Jan Schmidt <jan.schmidt@sun.com>
2848
2849         * configure.ac:
2850           releasing 0.10.17, "Due Negligence"
2851
2852 2008-01-30  Jan Schmidt  <jan.schmidt@sun.com>
2853
2854         * gst/gstutils.c:
2855         Revert caps != NULL check temporarily for 0.10.17 release.
2856
2857 2008-01-30  Thijs Vermeir  <thijsvermeir@gmail.com>
2858
2859         * gst/gstutils.c:
2860         Check if caps are not NULL (fix bug #510194)
2861
2862 2008-01-30  Jan Schmidt  <jan.schmidt@sun.com>
2863
2864         * gst/gstutils.c:
2865         Fix compilation on systems that have posix timers but no
2866         monotonic clock.
2867         Fixes: #512715
2868         Patch By: Cygwin Ports maintainer <yselkowitz at users dot sourceforge
2869         dot net>
2870
2871 2008-01-30  Jan Schmidt  <jan.schmidt@sun.com>
2872
2873         * tools/gst-inspect.c:
2874         Revert previous commit in preparation for an impromptu 0.10.17 release
2875
2876 2008-01-29  Sebastian Dröge  <slomo@circular-chaos.org>
2877
2878         * tools/gst-inspect.c: (print_interfaces),
2879         (print_element_properties_info), (print_pad_info),
2880         (print_signal_info), (print_element_info):
2881         Fix a few memory leaks.
2882
2883 2008-01-28  Jan Schmidt  <jan.schmidt@sun.com>
2884
2885         * configure.ac:
2886         Back to CVS
2887
2888 === release 0.10.16 ===
2889
2890 2008-01-28  Jan Schmidt <thaytan@noraisin.net>
2891
2892         * configure.ac:
2893           releasing 0.10.16, "Special Dispensation"
2894
2895 2008-01-24  Tim-Philipp Müller  <tim at centricular dot net>
2896
2897         * configure.ac:
2898           Use AC_TRY_COMPILE instead of AC_TRY_RUN to check for
2899           _POSIX_TIMER, _POSIX_MONOTONIC_CLOCK, etc. Makes configure
2900           not fail when trying to crosscompile on OpenEmbedded (#511750).
2901
2902 2008-01-20  Sebastian Dröge  <slomo@circular-chaos.org>
2903
2904         * docs/manuals.mak:
2905         Use $(MAKE) instead of make to fix the build if GNU make is
2906         called different. Fixes bug #510747.
2907
2908 2008-01-20  Tim-Philipp Müller  <tim at centricular dot net>
2909
2910         * gst/gstplugin.c: (_gst_plugin_initialize):
2911           Fix old-style static plugins via GST_PLUGIN_DEFINE_STATIC
2912           again, which I broke two commits ago when changing the API
2913           of gst_plugin_register_static(): the g_list_foreach() in
2914           _gst_plugin_register_static still assumed the old function
2915           signature and would therefore fail (re-fixes #510187).
2916
2917         * gst/gstplugin.c: (_num_static_plugins), (_static_plugins),
2918           (_gst_plugin_register_static), (gst_plugin_register_static):
2919           Revert the (technically correct) change to call g_thread_init() from
2920           the pre-main() constructor. This will break programs which call
2921           g_thread_init() without an if (!g_thread_supported()) guard in their
2922           main function. We could just blame it on GLib or the application, but
2923           it's probably best to just avoid this altogether and simply not use
2924           any GLib functions here and use plain old malloc() with a simple
2925           array to store the plugins to register later when gst_init() is
2926           finally called (re-fixes #510187).
2927
2928         * tests/check/gst/gstplugin.c: (GST_GNUC_CONSTRUCTOR_DEFINED),
2929           (GST_GNUC_CONSTRUCTOR_DEFINED), (plugin_init_counter),
2930           (plugin1_init), (plugin2_init), (plugin3_init), (GST_START_TEST),
2931           (GST_START_TEST), (gst_plugin_suite):
2932           Dumb unit test to make sure the old GST_PLUGIN_DEFINE_STATIC still
2933           works.
2934
2935 2008-01-17  Tim-Philipp Müller  <tim at centricular dot net>
2936
2937         * gst/gstplugin.h: (GST_PLUGIN_DEFINE_STATIC):
2938           Remove deprecation guards around GST_PLUGIN_DEFINE_STATIC.
2939           This makes gtk-doc complain, but results in slightly better
2940           compiler errors. The old _gst_plugin_register_static() is
2941           still guarded, so there'll be a compiler warning about that
2942           instead. Fixes #510187 too.
2943
2944 2008-01-17  Tim-Philipp Müller  <tim at centricular dot net>
2945
2946         * gst/gst.c: (init_post):
2947         * gst/gstplugin.c: (_gst_plugin_register_static),
2948           (gst_plugin_register_static), (_gst_plugin_initialize):
2949         * gst/gstplugin.h: (GstPluginFilter):
2950           Change API of gst_plugin_register_static() to not take
2951           a GstPluginDesc, but rather just take all the arguments
2952           in a GstPluginDesc directly. This is more intuitive and
2953           avoids certain mistakes when porting code from
2954           GST_PLUGIN_DEFINE_STATIC to gst_plugin_register_static().
2955           Fixes #510187.
2956
2957         * tests/check/gst/gstplugin.c:
2958           Fix up for changed API.
2959
2960 2008-01-17  Thomas Vander Stichele  <thomas at apestaart dot org>
2961
2962         * docs/faq/legal.xml:
2963           Update FAQ, Totem actually has an exception these days.
2964
2965 2008-01-14  Jan Schmidt  <jan.schmidt@sun.com>
2966
2967         * win32/common/libgstreamer.def:
2968         Add new API declarations
2969
2970 2008-01-14  Stefan Kost  <ensonic@users.sf.net>
2971
2972         * gst/gstminiobject.c:
2973           Spelling fixes for the API docs.
2974
2975 2008-01-14  Stefan Kost  <ensonic@users.sf.net>
2976
2977         * libs/gst/base/gstbasetransform.c:
2978           Fix long property description for QoS.
2979
2980 2008-01-12  Jan Schmidt  <Jan.Schmidt@sun.com>
2981
2982         * gst/gst.c:
2983         _gst_trace_on is already provided by gsttrace.h, no need to declare
2984         it ourselves.
2985
2986         * docs/libs/gstreamer-libs-sections.txt:
2987         Add 'buffers', 'check_cond' and 'check_mutex' from libgstcheck
2988         and remove strange tcase_add_test which is outputting a warning.
2989
2990         * libs/gst/check/gstcheck.c:
2991         * libs/gst/check/gstcheck.h:
2992         Properly declare 'buffers', 'check_cond', 'check_mutex' extern
2993         and define them in gstcheck.c instead of having every .c file whcih
2994         includes gstcheck.h be defining its own copy and relying on symbol
2995         interposing to marry them all, which doesn't work on Solaris.
2996
2997         * tests/check/elements/identity.c: (GST_START_TEST):
2998         Don't define 'buffers' locally, it comes from libgstcheck.
2999
3000         * tests/check/generic/sinks.c: (send_buffer):
3001         Fix type of variable (GstFlowReturn, not GstStateChangeReturn)
3002
3003         * tests/check/gst/gststructure.c: (GST_START_TEST):
3004         * tests/check/gst/gstsystemclock.c: (GST_START_TEST):
3005         * tests/check/gst/gstutils.c: (GST_START_TEST):
3006         * tests/check/gst/gstvalue.c: (GST_START_TEST):
3007         Add a bunch of casts to make various constants fit the types
3008         they're being assigned to.
3009
3010 2008-01-10  Stefan Kost  <ensonic@users.sf.net>
3011
3012         * gst/gstchildproxy.c:
3013           Improve docs and add some ideas for making this more general-purpose.
3014
3015 2008-01-10  Tim-Philipp Müller  <tim at centricular dot net>
3016
3017         * gst/gst_private.h: (GST_CAT_TYPES):
3018           Add GST_CAT_TYPES, for consistency, and so that the other
3019           debug categories don't make fun of it. Spotted by Saur on IRC.
3020
3021 2008-01-10  Sebastian Dröge  <slomo@circular-chaos.org>
3022
3023         * gst/parse/Makefile.am:
3024           Move types.h from EXTRA_DIST to noinst_HEADERS.
3025
3026 2008-01-10  Sebastian Dröge  <slomo@circular-chaos.org>
3027
3028         * autogen.sh:
3029           Add -Wno-portability to the automake parameters to stop warnings
3030           about GNU make extensions being used. We require GNU make in almost
3031           every Makefile anyway.
3032
3033         * configure.ac:
3034           Use AM_PROG_CC_C_O as a compiler that accepts both -c and -o
3035           at the same time is required for per target flags.
3036
3037 2008-01-09  Tim-Philipp Müller  <tim at centricular dot net>
3038
3039         * gst/gstmacros.h:
3040           Include glib/gmacros.h for G_BEGIN_DECLS. Check if
3041           __GNUC__ is defined before using it.
3042
3043 2008-01-09  Tim-Philipp Müller  <tim at centricular dot net>
3044
3045         * docs/gst/gstreamer-sections.txt:
3046         * gst/gst.c: (init_post):
3047         * gst/gstplugin.c: (_gst_plugin_register_static),
3048           (gst_plugin_register_static), (_gst_plugin_initialize),
3049           (gst_plugin_register_func):
3050         * gst/gstplugin.h: (GST_PLUGIN_DEFINE_STATIC):
3051           API: add gst_plugin_register_static() and deprecate
3052           GST_PLUGIN_DEFINE_STATIC, since it's not portable
3053           (#498924).
3054           Also, in _gst_plugin_register_static(), make sure to call
3055           g_thread_init() before calling GLib functions such as
3056           g_list_append() if we're not initialised yet, since that
3057           may lead to random crashes with older GSlice/GLib versions.
3058
3059         * tests/check/gst/gstplugin.c:
3060           Adapt unit test to above changes.
3061
3062 2008-01-09  Tim-Philipp Müller  <tim at centricular dot net>
3063
3064         * gst/gst_private.h: (STRUCTURE_ESTIMATED_STRING_LEN):
3065         * gst/gstcaps.c: (gst_caps_to_string):
3066         * gst/gststructure.c: (GST_ASCII_IS_STRING),
3067           (priv_gst_structure_append_to_gstring), (gst_structure_to_string):
3068           Yet another gratuitous GString micro-optimisation: add a (private)
3069           function that serialises a structure appending to an existing
3070           GString, so that when we serialise caps we don't need to alloc+free
3071           a throwaway GString for each structure (each of which also entailing
3072           multiple reallocs on the way); also use g_string_sized_new() in
3073           various places with an approximate string length to avoid reallocs
3074           within GString. See #500143.
3075
3076 2008-01-09  Tim-Philipp Müller  <tim at centricular dot net>
3077
3078         * gst/gststructure.c: (gst_structure_id_set_value):
3079           Always check UTF-8 conformance of structure strings and not only
3080           if the debugging system is enabled; reasoning: the behaviour of
3081           the actual code shouldn't really change depending on whether the
3082           debugging system is enabled or not (#508291).
3083
3084 2008-01-09  Stefan Kost  <ensonic@users.sf.net>
3085
3086         * Makefile.am:
3087           Remove old coverage target in favour of "make lcov".
3088
3089 2008-01-09  Wim Taymans  <wim.taymans@collabora.co.uk>
3090
3091         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
3092         (gst_base_src_loop):
3093         The start segment for reverse playback goes from start to last_stop.
3094
3095 2008-01-09  Wim Taymans  <wim.taymans@collabora.co.uk>
3096
3097         Patch by: Peter Kjellerstedt <pkj axis com>
3098
3099         * gst/gstclock.h:
3100         Cast the results from the timeval/spec_to_time macros to what the
3101         docs say it casts to, a GstClockTime. fixes #508175.
3102
3103 2008-01-09  Wim Taymans  <wim.taymans@collabora.co.uk>
3104
3105         * gst/gstbuffer.c:
3106         Update some comments.
3107
3108         * tools/gst-inspect.c: (print_element_properties_info):
3109         Improve printing of flags.
3110
3111 2008-01-08  Tim-Philipp Müller  <tim at centricular dot net>
3112
3113         * libs/gst/base/gstbasetransform.c:
3114           (gst_base_transform_transform_size):
3115           Print element name with g_warning() if there's a problem
3116           with the unit size.
3117
3118 2008-01-07  David Schleef  <ds@schleef.org>
3119
3120         Patch by: Damien Lespiau <damien.lespiau@gmail.com>
3121
3122         * libs/gst/controller/gstcontroller.h:
3123         * libs/gst/controller/gstcontrolsource.h:
3124         * libs/gst/controller/gstinterpolationcontrolsource.h:
3125         * libs/gst/controller/gstlfocontrolsource.h:
3126         * libs/gst/dataprotocol/dataprotocol.h:
3127           Fix empty prototypes.  Fixes bug #507957.
3128
3129 2008-01-07  David Schleef  <ds@schleef.org>
3130
3131         * docs/faq/dependencies.xml: Fix typo.
3132
3133 2008-01-07  Wim Taymans  <wim.taymans@collabora.co.uk>
3134
3135         * libs/gst/base/gstbasesrc.c: (gst_base_src_default_do_seek),
3136         (gst_base_src_loop):
3137         Don't update the last_stop position in do_seek, that's the position we
3138         did a seek to.
3139         Read backwards when we have a negative rate.
3140
3141         * tests/check/elements/filesrc.c: (event_func), (wait_eos),
3142         (setup_filesrc), (cleanup_filesrc), (GST_START_TEST),
3143         (filesrc_suite):
3144         Add check for reverse reading.
3145
3146 2008-01-07  Tim-Philipp Müller  <tim at centricular dot net>
3147
3148         Patch by: Alexis Ballier <aballier at gentoo org>
3149
3150         * tests/check/gst/gstabi.c:
3151         * tests/check/gst/struct_ppc64.h:
3152         * tests/check/libs/libsabi.c:
3153         * tests/check/libs/struct_ppc64.h:
3154           Decide which header to include based on the userland ABI target
3155           and not the kernel/cpu. Fix up structure sizes of ppc64 header
3156           for 64-bit userland (#503590).  Might need something similar for
3157           x86 too.
3158
3159 2008-01-05  Tim-Philipp Müller  <tim at centricular dot net>
3160
3161         * gst/gstdebugutils.c: (_gst_debug_bin_to_dot_file):
3162           Log the reason why fopen fails in addition to the fact that it failed.
3163           
3164 2008-01-04  Sebastian Dröge  <slomo@circular-chaos.org>
3165
3166         * gst/parse/parse.l:
3167         Use "%option never-interactive" to prevent useless calls to isatty()
3168         on every input when parsing. Also use "%option noinput" to not define
3169         the static input/yyinput functions which we don't use anyway. This
3170         removes a compiler warning with gcc 4.3 and saves some bytes in the
3171         library.
3172         
3173         * gst/parse/lex._gst_parse_yy.pre.c:
3174         Regenerated for the above change.
3175
3176 2008-01-04  Wim Taymans  <wim.taymans@collabora.co.uk>
3177
3178         * gst/gstpad.c: (fixate_value):
3179         Don't crash when trying to fixate and empty list.
3180         Fixes #506643.
3181
3182 2008-01-03  Sebastian Dröge  <slomo@circular-chaos.org>
3183
3184         * docs/faq/gst-uninstalled:
3185         Clarify the comments to make the usage of this script and what it
3186         does easier to understand.
3187
3188 2008-01-01  Thijs Vermeir  <thijsvermeir@gmail.com>
3189
3190         * tools/gst-plot-timeline.py:
3191         Add more options to gst-plot-timeline
3192
3193 2007-12-31  Wim Taymans  <wim.taymans@collabora.co.uk>
3194
3195         * docs/design/part-synchronisation.txt:
3196         Some more info on how the stream_time in GstBaseSink is done.
3197
3198 2007-12-30  Tim-Philipp Müller  <tim at centricular dot net>
3199
3200         * tests/check/generic/sinks.c: (gst_sinks_suite):
3201           Put back the tcase_set_timeout(), apparently it's needed after
3202           all; fix it up in a way that makes things work with valgrind too.
3203
3204 2007-12-30  Thijs Vermeir  <thijsvermeir@gmail.com>
3205
3206         * gst/gstdebugutils.c:
3207           Add warning when failed to open file for writing.
3208
3209 2007-12-28  Tim-Philipp Müller  <tim at centricular dot net>
3210
3211         Based on patch by: Laurent Glayal  <spglegle yahoo fr>
3212
3213         * gst/gstvalue.c: (gst_value_is_fixed):
3214           Optimisation: bail out of the loop as early as possible (#500143).
3215
3216 2007-12-28  Tim-Philipp Müller  <tim at centricular dot net>
3217
3218         * gst/gstcaps.c: (gst_caps_to_string):
3219         * gst/gstinfo.c: (gst_debug_construct_term_color):
3220         * gst/gstparse.c: (gst_parse_launchv):
3221         * gst/gstutils.c: (gst_util_dump_mem):
3222         * gst/gstvalue.c: (gst_value_serialize_any_list),
3223           (gst_value_transform_any_list_string):
3224           Bunch of gratuitous nano-optimisations.
3225
3226 2007-12-28  Tim-Philipp Müller  <tim at centricular dot net>
3227
3228         * tests/check/generic/sinks.c: (async_done_func),
3229           (async_done_eos_func):
3230           Fix leak in unit test (bus sync handler must unref the message
3231           if it returns GST_BUS_DROP). Don't fiddle with the default test
3232           timeout, this is smaller than the current preconfigured value
3233           via CK_DEFAULT_TIMEOUT, and also breaks things with valgrind
3234           because it overrides the value specified in CK_DEFAULT_TIMEOUT.
3235
3236 2007-12-24  Wim Taymans  <wim.taymans@collabora.co.uk>
3237
3238         Based on Patch by: Laurent Glayal <spglegle at yahoo dot fr>
3239
3240         * configure.ac:
3241         Check for stdio_ext.h for the filesink changes.
3242
3243         * plugins/elements/gstfilesink.c: (buffer_mode_get_type),
3244         (gst_file_sink_class_init), (gst_file_sink_init),
3245         (gst_file_sink_dispose), (gst_file_sink_set_property),
3246         (gst_file_sink_get_property), (gst_file_sink_open_file),
3247         (gst_file_sink_close_file):
3248         * plugins/elements/gstfilesink.h:
3249         Add two properties to control the buffering mode and size.
3250         API: GstFileSink::buffer-mode
3251         API: GstFileSink::buffer-size
3252         Fixes #500150.
3253
3254 2007-12-24  Wim Taymans  <wim.taymans@collabora.co.uk>
3255
3256         * gst/gstsystemclock.c: (gst_system_clock_id_wait_jitter_unlocked):
3257         Add some more docs to explain why a FIXME was wrongly added. 
3258
3259 2007-12-22  Sebastian Dröge  <slomo@circular-chaos.org>
3260
3261         * gst/gstobject.c:
3262           Fix typo in the gst_object_{ref,unref} documentation.
3263
3264 2007-12-21  Tim-Philipp Müller  <tim at centricular dot net>
3265
3266         * tests/check/libs/controller.c:
3267         * tests/check/libs/typefindhelper.c:
3268         * tests/check/pipelines/parse-launch.c:
3269           Don't use GST_PLUGIN_DEFINE_STATIC, it is not portable and is
3270           going to be deprecated (see #498924).
3271
3272 2007-12-21  Tim-Philipp Müller  <tim at centricular dot net>
3273
3274         * gst/gsttypefind.c: (gst_type_find_register):
3275           Make gst_type_find_register work for static typefind functions,
3276           ie. allow passing plugin == NULL (prerequisite for #498924).
3277
3278         * gst/gstelementfactory.c: (gst_element_register):
3279           Small docs addition.
3280
3281 2007-12-21  Wim Taymans  <wim.taymans@collabora.co.uk>
3282
3283         * gst/gstpad.c: (gst_pad_dispose):
3284         Really unlink the peer pad instead of setting the peer pointer to NULL
3285         when we dispose the pad.
3286         This correctly calls the unlink functions and makes sure that the peer
3287         does not have a handle to invalid memory. See #504671.
3288
3289         * tests/check/gst/gstpad.c: (GST_START_TEST), (gst_pad_suite):
3290         Add testsuite for above case.
3291
3292 2007-12-20  Tim-Philipp Müller  <tim at centricular dot net>
3293
3294         Patch by: Peter Kjellerstedt <pkj axis com>
3295
3296         * libs/gst/check/gstcheck.h:
3297           Fix detection of the check version we're compiling against (would
3298           otherwise break if check goes v0.10.0); correctly report the
3299           name of the failed test again in case of failure, instead of
3300           just 'tf' (fixes #504499).
3301
3302 2007-12-19  Wim Taymans  <wim.taymans@collabora.co.uk>
3303
3304         * libs/gst/base/gstbasesrc.c: (gst_base_src_send_event),
3305         (gst_base_src_get_range), (gst_base_src_pad_get_range),
3306         (gst_base_src_loop), (gst_base_src_set_flushing),
3307         (gst_base_src_change_state):
3308         Allow sending EOS to the source to make it send out an EOS event from
3309         the streaming thread.
3310         Update docs and deprecate the old NULL/READY shutdown method.
3311
3312         * tests/check/libs/basesrc.c: (GST_START_TEST),
3313         (gst_basesrc_suite):
3314         Add unit test for controlled shutdown.
3315
3316 2007-12-19  Wim Taymans  <wim.taymans@collabora.co.uk>
3317
3318         * docs/design/part-synchronisation.txt:
3319         Small updates.
3320
3321         * gst/gstsegment.c: (gst_segment_set_seek),
3322         (gst_segment_set_newsegment_full), (gst_segment_to_stream_time),
3323         (gst_segment_to_running_time):
3324         The seek format can be different from the segment format when the start
3325         and stop values are not to be updated, when we only do a rate change for
3326         example.
3327
3328         * tests/check/gst/gstsegment.c: (GST_START_TEST),
3329         (gst_segment_suite):
3330         Add a testcase for the rate-only seeks, checking that the format is
3331         correctly ignored when start and stop are not updated.
3332
3333 2007-12-18  Sebastian Dröge  <slomo@circular-chaos.org>
3334
3335         Patch by: Matthias Bolte <photon at mail dot upb dot de>
3336
3337         * win32/vs8/grammar.vcproj:
3338         * win32/vs8/libgstcontroller.vcproj:
3339         * win32/vs8/libgstreamer.vcproj:
3340         Fix compilation with VS8 and include some missing files.
3341
3342 2007-12-18  Tim-Philipp Müller  <tim at centricular dot net>
3343
3344         * gst/gsttaglist.c:
3345           Small docs addition: mention that the strings returned by
3346           gst_tag_list_get_string*() are in UTF-8 encoding.
3347
3348 2007-12-17  Tim-Philipp Müller  <tim at centricular dot net>
3349
3350         * Makefile.am:
3351           The check-exports stuff moved to common/win32.mak, so include that.
3352
3353 2007-12-17  Wim Taymans  <wim.taymans@collabora.co.uk>
3354
3355         * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
3356         (gst_base_src_perform_seek), (gst_base_src_get_range),
3357         (gst_base_src_set_playing), (gst_base_src_change_state):
3358         Make _wait_playing() not check any variables so that we can call this
3359         function from subclasses. Move the checks elsewhere similar to
3360         _wait_preroll() in basesink.
3361         Add some debugging.
3362         Only signal the LIVE cond when we are going back to PLAYING.
3363
3364 2007-12-16  Tim-Philipp Müller  <tim at centricular dot net>
3365
3366         * gst/gstregistrybinary.c: (gst_registry_binary_write_cache):
3367           Use g_remove() and g_rename(). Check result of g_rename(), and
3368           don't leak the open file descriptor if we error out when writing.
3369
3370         * gst/gstregistryxml.c: (load_plugin), (gst_registry_xml_write_cache):
3371           Must check the return value of close() after writing out the new
3372           registry file.  Sometimes write problems such as out-of-diskspace
3373           are only reported when the file is closed and not already during
3374           the write.  This may have caused partial/broken registry files in
3375           some rare circumstances. Should fix #503675.
3376
3377 2007-12-16  Edward Hervey  <edward.hervey@collabora.co.uk>
3378
3379         * docs/gst/.cvsignore:
3380         * docs/libs/.cvsignore:
3381         * docs/plugins/.cvsignore:
3382         Ignore files generated by new common/* modifications
3383
3384 2007-12-15  Stefan Kost  <ensonic@users.sf.net>
3385
3386         * win32/common/libgstbase.def:
3387           Yes, you can also have a <TAB> if you want.
3388
3389 2007-12-15  Stefan Kost  <ensonic@users.sf.net>
3390
3391         * win32/common/libgstbase.def:
3392           Add new basetransform API to win export file.
3393
3394 2007-12-15  Stefan Kost  <ensonic@users.sf.net>
3395
3396         * tests/check/gst/gstbin.c:
3397           Adjust the test to the refcount change two days ago.
3398
3399 2007-12-14  David Schleef  <ds@schleef.org>
3400
3401         * docs/faq/getting.xml: Fix typo.
3402
3403 2007-12-14  Sebastian Dröge  <slomo@circular-chaos.org>
3404
3405         * docs/libs/gstreamer-libs-sections.txt:
3406         * libs/gst/base/gstbasetransform.c: (gst_base_transform_init),
3407           (gst_base_transform_prepare_output_buffer),
3408           (gst_base_transform_set_gap_aware):
3409         * libs/gst/base/gstbasetransform.h:
3410           API: Add gst_base_transform_set_gap_aware() to control whether
3411           the element correctly handles GST_BUFFER_FLAG_GAP or shouldn't
3412           get buffers with this flag at all. Fixes #503231.
3413
3414 2007-12-13  Stefan Kost  <ensonic@users.sf.net>
3415
3416         * libs/gst/base/gstbasesink.c:
3417         * libs/gst/base/gstbasesrc.c:
3418         * libs/gst/base/gstbasetransform.c:
3419           Replace gst_pad_get_parent by GST_OBJECT_PARENT inside streaming
3420           thread. Correct log message in gstbasesrc.c.
3421
3422 2007-12-13  Tim-Philipp Müller  <tim at centricular dot net>
3423
3424         * gst/gstutils.c: (element_find_unconnected_pad):
3425           Fix possible compiler warning (#503417).
3426
3427 2007-12-13  Tim-Philipp Müller  <tim at centricular dot net>
3428
3429         * gst/gstobject.c: (gst_object_dispatch_properties_changed):
3430           Don't use GST_CAT_EVENT here for logging, it makes no sense.
3431
3432 2007-12-13  Sebastian Dröge  <slomo@circular-chaos.org>
3433
3434         * tools/gst-inspect.c: (print_element_properties_info):
3435           Add support for GstFraction properties.
3436
3437 2007-12-12  Tim-Philipp Müller  <tim at centricular dot net>
3438
3439         * Makefile.am:
3440           Add check-exports target and run it as part of 'make check'
3441           (see #499140 and #493983).
3442
3443         * gst/gst_private.h:
3444         * gst/gstelementfactory.h:
3445         * gst/gstghostpad.c: (gst_proxy_pad_class_init):
3446         * gst/gstinfo.c: (_priv_gst_in_valgrind), (_gst_debug_init),
3447           (_priv_gst_in_valgrind):
3448         * gst/gstinfo.h: (GstLogFunction):
3449         * gst/gsttypefind.c: (type_find_debug), (GST_CAT_DEFAULT),
3450           (gst_type_find_register):
3451         * gst/gsttypefindfactory.c: (type_find_debug), (GST_CAT_DEFAULT),
3452           (gst_type_find_factory_get_type):
3453         * libs/gst/controller/gstcontroller.c: (GST_CAT_DEFAULT),
3454           (GST_CAT_DEFAULT), (parent_class), (priv_gst_controller_key),
3455           (gst_controller_new_valist), (gst_controller_new_list),
3456           (_gst_controller_dispose), (_gst_controller_class_init):
3457         * libs/gst/controller/gstcontrolsource.c: (GST_CAT_DEFAULT):
3458         * libs/gst/controller/gsthelper.c: (GST_CAT_DEFAULT),
3459           (GST_CAT_DEFAULT), (gst_object_uncontrol_properties),
3460           (gst_object_get_controller), (gst_object_set_controller),
3461           (gst_object_suggest_next_sync), (gst_object_sync_values),
3462           (gst_object_set_control_source), (gst_object_get_control_source),
3463           (gst_object_get_value_arrays), (gst_object_get_value_array),
3464           (gst_object_get_control_rate), (gst_object_set_control_rate):
3465         * libs/gst/controller/gstinterpolation.c: (GST_CAT_DEFAULT):
3466         * libs/gst/controller/lib.c: (GST_CAT_DEFAULT):
3467           Make some functions that should be static static; rename some
3468           private symbols so that they don't get exported; add some FIXME
3469           comments so we can move accidentally exported functions into
3470           our private section in 0.11.
3471
3472         * win32/common/libgstreamer.def:
3473           Add gst_utils_get_timestamp().
3474
3475 2007-12-12  Stefan Kost  <ensonic@users.sf.net>
3476
3477         * gst/gstvalue.c:
3478         * gst/gstvalue.h:
3479           Add more missing "Since:" tags to docs.
3480
3481 2007-12-12  Stefan Kost  <ensonic@users.sf.net>
3482
3483         * gst/gstutils.c:
3484           Add mising "Since:" to docs.
3485
3486 2007-12-11  Stefan Kost  <ensonic@users.sf.net>
3487
3488         * gst/gstplugin.c:
3489           Include "glib-compat-private.h" to fix the build on system with
3490           glib < 2.10. Fixes #503131.
3491
3492 2007-12-11  Stefan Kost  <ensonic@users.sf.net>
3493
3494         * gst/gstutils.c:
3495         * gst/gstutils.h:
3496           Actually its not PURE as it gets the time from elsewhere.
3497
3498 2007-12-11  Stefan Kost  <ensonic@users.sf.net>
3499
3500         * docs/gst/gstreamer-sections.txt:
3501         * gst/gstclock.h:
3502         * gst/gstdebugutils.c:
3503         * gst/gstinfo.c:
3504         * gst/gstutils.c:
3505         * gst/gstutils.h:
3506         * libs/gst/base/gstbasesink.c:
3507         * tools/gst-launch.c:
3508           Change GST_GET_TIMESTAMP into gst_util_get_timestamp and replace all
3509           uses as we don't have HAVE_POSIX_TIMERS in public headers.
3510           Thanks Tim for spotting.
3511           API: gst_util_get_timestamp
3512
3513 2007-12-09  Sebastian Dröge  <slomo@circular-chaos.org>
3514
3515         * configure.ac:
3516           Don't define GST_DISABLE_DEPRECATED for releases. Fixes #498181.
3517
3518 2007-12-08  Tim-Philipp Müller  <tim at centricular dot net>
3519
3520         * gst/gststructure.c: (gst_structure_validate_name),
3521           (gst_structure_new_valist), (gst_structure_parse_value),
3522           (gst_structure_from_string):
3523           Don't crash in _from_string() if the structure name is not valid
3524           (fixes #501560).  Allow structure names to start with a number
3525           again (this apparently broke the ubuntu codec installer).
3526
3527         * tests/check/gst/gststructure.c: (GST_START_TEST), (GST_START_TEST),
3528           (GST_START_TEST):
3529           Add unit test for the crash; update unit tests for new behaviour.
3530
3531 2007-12-03  Wim Taymans  <wim.taymans@gmail.com>
3532
3533         * gst/gstutils.c:
3534         Clarify gst_element_get_compatible_pad() documentation.
3535         Fixes #500919.
3536
3537 2007-12-02  Sebastian Dröge  <slomo@circular-chaos.org>
3538
3539         * tests/check/Makefile.am:
3540           Don't forget to dist {gst,libs}/struct_hppa.h.
3541
3542 2007-11-28  Stefan Kost  <ensonic@users.sf.net>
3543
3544         * libs/gst/base/gstbasesink.c:
3545           Use new API to get elapsed time.
3546
3547 2007-11-28  Stefan Kost  <ensonic@users.sf.net>
3548
3549         * gst/gstdebugutils.c:
3550         * gst/gstinfo.c:
3551           Fix wrong order of args in GST_CLOCK_DIFF() usage.
3552
3553         * tools/gst-launch.c:
3554           Use new API to get elapsed time.
3555
3556 2007-11-28  Stefan Kost  <ensonic@users.sf.net>
3557
3558         * docs/gst/gstreamer-sections.txt:
3559         * gst/gstclock.h:
3560         * gst/gstdebugutils.c:
3561         * gst/gstinfo.c:
3562           Rename new API + ChangeLog surgery to remove old name from last entry..
3563
3564 2007-11-28  Stefan Kost  <ensonic@users.sf.net>
3565
3566         * docs/gst/gstreamer-sections.txt:
3567         * gst/gstclock.h:
3568         * gst/gstdebugutils.c:
3569         * gst/gstinfo.c:
3570           Now hide the different clock stuff behind a macro.
3571
3572 2007-11-28  Stefan Kost  <ensonic@users.sf.net>
3573
3574         * configure.ac:
3575         * gst/gstdebugutils.c:
3576         * gst/gstinfo.c:
3577           Apply the posix-timer check from #361155. Conditionally use the posix
3578           timer for logging. This gives better timestamp precission, less
3579           overhead and no ntp jitter.
3580
3581 2007-11-28  Sebastian Dröge  <slomo@circular-chaos.org>
3582
3583         * gst/gstminiobject.c: (gst_mini_object_get_type),
3584         (gst_mini_object_class_init), (gst_mini_object_copy_default),
3585         (gst_mini_object_finalize), (gst_mini_object_copy),
3586         (gst_mini_object_is_writable), (gst_mini_object_make_writable),
3587         (gst_mini_object_replace), (param_mini_object_validate),
3588         (gst_param_spec_mini_object_get_type):
3589         Some cleanup and checking against invalid function parameters.
3590
3591 2007-11-28  Wim Taymans  <wim.taymans@gmail.com>
3592
3593         * docs/gst/gstreamer-sections.txt:
3594         * gst/gstclock.h:
3595         * tests/check/gst/gstsystemclock.c: (GST_START_TEST),
3596         (gst_systemclock_suite):
3597         Start merging in the easy bits of #361155, the monotonic clock patch.
3598         This one adds a few handy macros with docs and a testsuite.
3599
3600 2007-11-27  Wim Taymans  <wim.taymans@gmail.com>
3601
3602         * plugins/elements/gstfilesink.c: (gst_file_sink_event):
3603         Be a bit smarter when seeking, like, don't try to do a seek when it's
3604         not needed. This avoids errors when the file is not seekable.
3605         Fixes #499771.
3606
3607 2007-11-26  Stefan Kost  <ensonic@users.sf.net>
3608
3609         * docs/gst/gstreamer-docs.sgml:
3610         * docs/gst/gstreamer-sections.txt:
3611         * docs/gst/gstreamer.types.in:
3612         * gst/Makefile.am:
3613         * gst/gst.h:
3614         * gst/gstpreset.c:
3615         * gst/gstpreset.h:
3616         * plugins/elements/gstqueue.c:
3617           Due to popular request remove preset interface again. :-(.
3618
3619 2007-11-22  Stefan Kost  <ensonic@users.sf.net>
3620
3621         * tools/gst-inspect.c:
3622           Print 'default value' for enums and flags too.
3623
3624 2007-11-22  Stefan Kost  <ensonic@users.sf.net>
3625
3626         * docs/random/ensonic/profiling.txt:
3627           More ideas.
3628
3629         * gst/gstbin.c:
3630           Fix typo and give better log output.
3631
3632         * gst/gstdebugutils.c:
3633         * gst/gstdebugutils.h:
3634           More ideas, make graphs a bit smaller and fix param name in macro.
3635
3636 2007-11-22  Stefan Kost  <ensonic@users.sf.net>
3637
3638         * gst/gstpreset.c:
3639           Try harder to use the return value from fgets().
3640
3641 2007-11-21  Stefan Kost  <ensonic@users.sf.net>
3642
3643         * gst/gstpreset.c:
3644           For theses two fgets we handle the error below.
3645
3646 2007-11-21  Wim Taymans  <wim.taymans@gmail.com>
3647
3648         * libs/gst/base/gstbasesink.c: (gst_base_sink_send_event):
3649         Only send upstream events upstream. Fixes #498746.
3650
3651 2007-11-21  Wim Taymans  <wim.taymans@gmail.com>
3652
3653         Patch by: Laurent Glayal <spglegle at yahoo dot fr>
3654
3655         * plugins/elements/gstidentity.c: (gst_identity_class_init),
3656         (gst_identity_init), (gst_identity_transform_ip),
3657         (gst_identity_set_property), (gst_identity_get_property):
3658         * plugins/elements/gstidentity.h:
3659         Add property to disable handoff signal emission. Fixes #498694.
3660         API: GstIdentity::signal-handoffs
3661
3662 2007-11-21  Julien Moutte  <julien@fluendo.com>
3663
3664         * docs/faq/gst-uninstalled: Yet another missing library for the
3665         uninstalled script (fft)
3666
3667 2007-11-21  Jan Schmidt  <jan.schmidt@sun.com>
3668
3669         * docs/faq/developing.xml:
3670         Add a question about how to submit new translations.
3671
3672         * docs/random/release:
3673         Update the contact email address for the Translation Project
3674
3675         * plugins/elements/gstfdsrc.c:
3676         The parent_class for fdsrc is pushsrc, not GstElement.
3677
3678 2007-11-20  Stefan Kost  <ensonic@users.sf.net>
3679
3680         * gst/gstpreset.c:
3681           Plug a leak and fix saving.
3682
3683 2007-11-20  Sebastian Dröge  <slomo@circular-chaos.org>
3684
3685         * docs/gst/gstreamer-sections.txt:
3686         Add new gst_preset__get_property_names() function to the docs
3687         to fix the build.
3688
3689 2007-11-20  Stefan Kost  <ensonic@users.sf.net>
3690
3691         * gst/gstpreset.c:
3692         * gst/gstpreset.h:
3693           Change _get_preset_names API to return a strv with copies. Add
3694           _get_property_names to allow implementations to filter and provide
3695           good default implementation.
3696
3697 2007-11-20  Julien MOUTTE  <julien@moutte.net>
3698
3699         * docs/faq/gst-uninstalled: Add another library to the uninstalled
3700         script (sdp).
3701
3702 2007-11-19  Stefan Kost  <ensonic@users.sf.net>
3703
3704         * gst/gstpreset.c:
3705           More cleanups, docs, and TODOs from comments that now slowly come in.
3706
3707 2007-11-19  Julien MOUTTE  <julien@moutte.net>
3708
3709         * docs/faq/gst-uninstalled: Add new base libraries in the LD 
3710         search path.
3711
3712 2007-11-19  Stefan Kost  <ensonic@users.sf.net>
3713
3714         * gst/gstpreset.c:
3715           Fix bogus warning and make the property type specific code more
3716           similar.
3717
3718 2007-11-19  Julien MOUTTE  <julien@moutte.net>
3719
3720         * gst/gstpreset.c: (gst_preset_default_create_preset): Make
3721         it build on OS X.
3722
3723 2007-11-19  Wim Taymans  <wim.taymans@gmail.com>
3724
3725         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
3726         (gst_bin_add_func), (gst_bin_remove_func),
3727         (gst_bin_change_state_func), (gst_bin_continue_func):
3728         Change email, cleanups add some more debug and comments.
3729         Also set bus and clock on new elements when the pipeline was in error.
3730
3731 2007-11-18  Stefan Kost  <ensonic@users.sf.net>
3732
3733         * gst/gstbin.c:
3734         * gst/gstdebugutils.c:
3735           Fix build with --disable-gst-debug. Fixes #497859.
3736           Spotted by Sameer Naik.
3737
3738 2007-11-17  Stefan Kost  <ensonic@users.sf.net>
3739
3740         * gst/gstevent.c:
3741           Little documentation improvment.
3742
3743         * gst/gstpreset.c:
3744           More TODO cleanups. Remove c++ comments.
3745
3746         * libs/gst/controller/gstcontroller.c:
3747           Add TODO and use quark from static string.
3748
3749         * tests/check/gst/gstmessage.c:
3750         * tests/check/gst/gststructure.c:
3751           Use quark from static string.
3752
3753 2007-11-17  Stefan Kost  <ensonic@users.sf.net>
3754
3755         * gst/gstpreset.c:
3756           Add some comments and TODOs.
3757
3758         * gst/gstpreset.h:
3759           Add padding for future changes.
3760
3761         * plugins/elements/gstqueue.c:
3762           Implement the iface.    
3763
3764 2007-11-17  Stefan Kost  <ensonic@users.sf.net>
3765
3766         * docs/gst/gstreamer-docs.sgml:
3767         * docs/gst/gstreamer-sections.txt:
3768         * docs/gst/gstreamer.types.in:
3769         * gst/Makefile.am:
3770         * gst/gst.h:
3771         * gst/gstpreset.c:
3772         * gst/gstpreset.h:
3773           Add the preset interface (Fixes #396779). Do some doc cleanups along.
3774
3775 2007-11-16  Jan Schmidt  <jan.schmidt@sun.com>
3776
3777         * configure.ac:
3778
3779         Back to CVS
3780
3781 === release 0.10.15 ===
3782
3783 2007-11-15  Jan Schmidt <jan.schmidt@sun.com>
3784
3785         * configure.ac:
3786           releasing 0.10.15, "October"
3787
3788 2007-11-14  Jan Schmidt  <jan.schmidt@sun.com>
3789
3790         * win32/vs6/libgstreamer.dsp:
3791         Convert line endings back to DOS.
3792
3793 2007-11-13  Stefan Kost  <ensonic@users.sf.net>
3794
3795         * docs/design/draft-tagreading.txt:
3796         * docs/random/ensonic/profiling.txt:
3797         Update fast tagreading draft and performance profiling ideas.
3798
3799 2007-11-09  Wim Taymans  <wim.taymans@gmail.com>
3800
3801         * libs/gst/base/gstbasesink.c: (gst_base_sink_set_last_buffer):
3802         Don't hold the object lock when unreffing a buffer because it could
3803         cause a deadlock when the finalize function wants to grab the object
3804         lock too. Fixes #495133.
3805
3806 2007-11-09  Wim Taymans  <wim.taymans@gmail.com>
3807
3808         * gst/gstsegment.c: (gst_segment_set_newsegment_full),
3809         (gst_segment_to_stream_time), (gst_segment_to_running_time):
3810         Also accumulate time correctly when doing reverse playback. Fixes
3811         #488201,
3812         When converting to running and stream time, use default values for
3813         start/stop/time/accum when comparing different formats. Fixes #494245.
3814
3815         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
3816         Do running/stream time in TIME format.
3817
3818         * tests/check/gst/gstsegment.c: (GST_START_TEST),
3819         (gst_segment_suite):
3820         2 new unit tests for segment accumulation.
3821
3822 2007-11-07  Tim-Philipp Müller  <tim at centricular dot net>
3823
3824         * gst/gst.c: (init_pre):
3825         * gst/gstdebugutils.c: (priv_gst_dump_dot_dir), (debug_dump_element),
3826           (_gst_debug_bin_to_dot_file):
3827           Move getenv() back into gst_init, so everyone can live happily
3828           ever after. Make sure the symbol isn't exported though.
3829
3830 2007-11-06  Tim-Philipp Müller  <tim at centricular dot net>
3831
3832         Patch by: Sebastien Moutte  <sebastien moutte net>
3833
3834         * win32/common/gstenumtypes.c:
3835         * win32/common/gstenumtypes.h:
3836           Update enum types.
3837
3838         * win32/vs6/libgstreamer.dsp:
3839           Update vs6 project files (#494343).
3840
3841 2007-11-06  Wim Taymans  <wim.taymans@gmail.com>
3842
3843         * libs/gst/base/gstbasesrc.c: (gst_base_src_default_query),
3844         (gst_base_src_perform_seek), (gst_base_src_default_event),
3845         (gst_base_src_set_flushing), (gst_base_src_activate_push),
3846         (gst_base_src_activate_pull):
3847         Unify flushing code, remove some old unlock code that is no longer used.
3848         Take the streaming lock when seeking to avoid races. Fixes #492729.
3849         Added some more comments.
3850
3851 2007-11-06  Tim-Philipp Müller  <tim at centricular dot net>
3852
3853         * gst/gst.c: (_gst_disable_segtrap):
3854           Make  _gst_disable_segtrap static, it's only used in gstplugin.c and
3855           we can use gst_segtrap_is_enabled() there now that we have that API.
3856           Move _gst_debug_dump_dot_dir into gstdebugutils.c, there's no reason
3857           to do the getenv here (and export the variable).
3858
3859         * gst/gstdebugutils.c: (debug_dump_element),
3860           (_gst_debug_bin_to_dot_file), (_gst_debug_bin_to_dot_file_with_ts):
3861           Don't use VLAs which is a C99ism and throws off MSVC (#493983).
3862
3863         * gst/gstinfo.c: (_priv_gst_info_start_time), (_gst_debug_init),
3864           (gst_debug_log_default):
3865           Rename _gst_info_start_time to priv_gst_info_start_time so it
3866           doesn't get exported (was never in any header).
3867
3868         * gst/gstplugin.c: (_gst_plugin_fault_handler_setup),
3869           (gst_plugin_loading_mutex):
3870           Make static mutex gst_plugin_loading_mutex really static (was never
3871           in any header), and use gst_segtrap_is_enabled() instead of
3872           _gst_disable_segtrap.
3873
3874         * gst/gsttrace.c: (_gst_trace_default):
3875           Make local _gst_trace_default static (was never in any header).
3876
3877 2007-11-06  Tim-Philipp Müller  <tim at centricular dot net>
3878
3879         Patch by: Ole André Vadla Ravnås  <ole.andre.ravnas@tandberg.com>
3880
3881         * win32/common/libgstbase.def:
3882         * win32/common/libgstcontroller.def:
3883         * win32/common/libgstdataprotocol.def:
3884         * win32/common/libgstnet.def:
3885         * win32/common/libgstreamer.def:
3886           Add more missing symbols, remove some duplicates, and sort
3887           as the 'sort' command sorts it (partially fixes #493983).
3888
3889 2007-11-06  Wim Taymans  <wim.taymans@gmail.com>
3890
3891         * gst/gstelement.c: (gst_element_set_state_func):
3892         Only change the state cookie if a different state was set on the
3893         element. See #492729.
3894
3895 2007-11-06  Tim-Philipp Müller  <tim at centricular dot net>
3896
3897         * gst/gstvalue.c:
3898           Remove unused and uninitialised type variables that were still
3899           exported for some reason (they were never in any header files
3900           though).
3901
3902 2007-11-06  Wim Taymans  <wim.taymans@gmail.com>
3903
3904         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
3905         (gst_base_sink_do_sync), (gst_base_sink_preroll_object),
3906         (gst_base_sink_event), (gst_base_sink_get_position_last),
3907         (gst_base_sink_get_position_paused), (gst_base_sink_get_position),
3908         (gst_base_sink_change_state):
3909         Don't try to report a 0 position when we don't know, return -1 and FALSE
3910         instead. This mostly happens when we are prerolling.
3911         Make sure we can report the right position before we post the ASYNC_DONE
3912         message so that a message handler can query position without races.
3913
3914         * tests/check/generic/sinks.c: (send_eos), (GST_START_TEST),
3915         (async_done_handoff), (async_done_func), (send_buffer),
3916         (async_done_eos_func), (gst_sinks_suite):
3917         Add two tests for the above.
3918
3919 2007-11-06  Wim Taymans  <wim.taymans@gmail.com>
3920
3921         * MAINTAINERS:
3922         Update with new email address.
3923
3924         * docs/design/part-TODO.txt:
3925         Add some more info about future pad-block and negotiation changes.
3926
3927         * docs/design/part-buffering.txt:
3928         Add some ideas about buffering reporting.
3929
3930 2007-11-06  Jan Schmidt  <jan.schmidt@sun.com>
3931
3932         * tests/check/gst/gstobject.c:
3933         Disable silly racy test that always fails on this combination of CPU
3934         and kernel.
3935
3936 2007-11-03  Tim-Philipp Müller  <tim at centricular dot net>
3937
3938         Patch by: Murray Cumming  <murrayc@murrayc.com>
3939
3940         * gst/gstobject.c:
3941           Corrected the registration of the parent-set and parent-unset
3942           signals: The parameter is a GstObject, not a GObject (#493134).
3943
3944 2007-11-02  Tim-Philipp Müller  <tim at centricular dot net>
3945
3946         * gst/gst_private.h:
3947         * gst/gstbuffer.h:
3948         * gst/gstevent.h:
3949         * gst/gstformat.h:
3950         * gst/gstmessage.h:
3951         * gst/gstplugin.h:
3952         * gst/gstquery.h:
3953         * gst/gsttaglist.h:
3954         * gst/gstvalue.h:
3955           Move declaration of private _gst_foo_initialize() functions into
3956           our private header file where they should have been all along.
3957
3958 2007-11-02  Tim-Philipp Müller  <tim at centricular dot net>
3959
3960         * docs/plugins/gstreamer-plugins-sections.txt:
3961         * gst/gstdebugutils.h:
3962         * gst/gstxml.h:
3963         * plugins/elements/gstqueue.c:
3964           gtk-doc fixes; trailing-comma-in-enum fix.
3965
3966 2007-11-02  Tim-Philipp Müller  <tim at centricular dot net>
3967
3968         * gst/gst.c: (gst_deinit):
3969           Clean up on deinit (not the external ones though, doesn't seem to be
3970           needed for some reason).
3971
3972 2007-11-01  Tim-Philipp Müller  <tim at centricular dot net>
3973
3974         * gst/gstinfo.h: (GST_DEBUG_CATEGORY_EXTERN):
3975           Remove __declspec(dllimport) for MSVC that was copied over into core
3976           from a plugin, obviously without ever having been tested (note the
3977           single underscore in _declspec in the initial commit), and that doesn't
3978           really make sense.  See #492077.
3979
3980 2007-11-01  Tim-Philipp Müller  <tim at centricular dot net>
3981
3982         * gst/gst.c: (init_post):
3983         * gst/gstevent.c: (_gst_event_initialize):
3984         * gst/gstquery.c: (_gst_query_initialize):
3985         * libs/gst/dataprotocol/dataprotocol.c (gst_dp_init):
3986           g_type_class_ref() other types as well, see #349410 and #64764.
3987
3988         * gst/gstbuffer.c: (_gst_buffer_initialize):
3989         * gst/gstmessage.c: (_gst_message_initialize):
3990           Simplify existing g_type_class_ref().
3991
3992 2007-11-01  Tim-Philipp Müller  <tim at centricular dot net>
3993
3994         * gst/gstformat.c: (_gst_format_initialize):
3995           g_type_class_ref() our GstFormat type to make sure we avoid the
3996           thread-unsafe bits of the GObject/GType system, ie. bug #349410 and
3997           bug #64764. Should fix intermittent tee unit test failures (#474823).
3998
3999 2007-11-01  Tim-Philipp Müller  <tim at centricular dot net>
4000
4001         * tests/check/elements/tee.c: (test_num_buffers):
4002           Simplify, simplify, simplify - or not.  Rewrite unit test
4003           not to use gst_parse_launch(); allow N sub-streams. Increasing
4004           the number of sub-streams seems to reproduce #474823 more easily.
4005
4006 2007-10-31  Tim-Philipp Müller  <tim at centricular dot net>
4007
4008         Patch by: Ole André Vadla Ravnås  <ole.andre.ravnas@tandberg.com>
4009
4010         * gst/gsttrace.c:
4011         * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_new):
4012         * libs/gst/net/gstnettimepacket.c: (gst_net_time_packet_send):
4013         * libs/gst/net/gstnettimeprovider.c: (gst_net_time_provider_new):
4014           Fix a couple of missing includes for MSVC2005 and a C99 issue. Also,
4015           starting with 2.14.0, GLib won't provide a pipe() macro any longer,
4016           so use _pipe() directly (#492077).
4017
4018         * win32/common/dirent.c: (_treaddir):
4019           Add a couple of casts to make it build without warnings with MSVC.
4020
4021         * win32/common/libgstreamer.def:
4022           Add some more symbols that need to be exported.
4023
4024 2007-10-31  Tim-Philipp Müller  <tim at centricular dot net>
4025
4026         * tests/examples/metadata/read-metadata.c: (message_loop):
4027           Use _KEEP as merge mode rather than _KEEP_ALL, so tags
4028           arriving in a second or third tag message are added to
4029           the tag list as well.
4030
4031 2007-10-31  Stefan Kost  <ensonic@users.sf.net>
4032
4033         * libs/gst/base/gstbasesrc.c:
4034           Its "Since:" and not "@Since:". And remove an superflous cast.
4035
4036 2007-10-30  Wim Taymans  <wim.taymans@gmail.com>
4037
4038         * docs/libs/gstreamer-libs-sections.txt:
4039         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
4040         (gst_base_sink_get_last_buffer), (gst_base_sink_set_last_buffer),
4041         (gst_base_sink_get_property), (gst_base_sink_render_object),
4042         (gst_base_sink_preroll_object),
4043         (gst_base_sink_queue_object_unlocked), (gst_base_sink_event),
4044         (gst_base_sink_change_state):
4045         * libs/gst/base/gstbasesink.h:
4046         Add a new last-buffer property that contains the last buffer used in
4047         basesink for preroll or rendering. useful for making snapshots.
4048         API: gst_base_sink_get_last_buffer()
4049         API: GstBaseSink::last-buffer
4050
4051 2007-10-29  Stefan Kost  <ensonic@users.sf.net>
4052
4053         * docs/gst/running.xml:
4054         * gst/gst.c:
4055         * gst/gstdebugutils.c:
4056         * gst/gstdebugutils.h:
4057         * tools/gst-launch.c:
4058           Improve bin graph dumping, by using the envvar to specify a path.
4059           Rename the envvar to GST_DEBUG_DUMP_DOT_DIR.
4060
4061 2007-10-29  Tim-Philipp Müller  <tim at centricular dot net>
4062
4063         * plugins/elements/gsttypefindelement.c:
4064           (gst_type_find_element_handle_event),
4065           (gst_type_find_element_activate):
4066           Post special error message if we can't determine the type of a stream
4067           because it's empty.
4068
4069 2007-10-29  Stefan Kost  <ensonic@users.sf.net>
4070
4071         * docs/gst/running.xml:
4072         * gst/gstdebugutils.c:
4073           Document new env-var. Add one log-line after dumpng a graph.
4074
4075 2007-10-26  Tim-Philipp Müller  <tim at centricular dot net>
4076
4077         * configure.ac:
4078           Ugly hack to put the (recently removed and non-portable, apparently)
4079           -Wl,--export-dynamic back into libgstcheck's LDFLAGS when we're using
4080           GNU ld, because without that 'make check' fails miserably on my debian
4081           stable box.  Someone with more knowledge of linker intricacies and
4082           portability issues than me fix this properly please.
4083
4084 2007-10-25  Wim Taymans  <wim.taymans@gmail.com>
4085
4086         * libs/gst/base/gstbasesink.c: (gst_base_sink_event):
4087         Reset last seen position after flushing so that we don't report the old
4088         position anymore.
4089
4090 2007-10-25  Jan Schmidt  <Jan.Schmidt@sun.com>
4091
4092         * gst/gstelementfactory.c: (gst_element_register):
4093         * gst/gsturi.h:
4094         Patch from Alessandro Decina adding get_type_full and
4095         get_protocols_full private vfuncs to the URIHandler interface
4096         to allow bindings to support creating URI handlers. 
4097         Partially fixes: #339279
4098         API: GstURIHandlerInterface::get_type_full
4099         API: GstURIHandlerInterface::get_protocols_full
4100
4101 2007-10-25  Jan Schmidt  <Jan.Schmidt@sun.com>
4102
4103         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_set_property),
4104         (gst_multi_queue_request_new_pad), (gst_single_queue_flush),
4105         (gst_multi_queue_loop), (gst_multi_queue_sink_activate_push):
4106         Make it so that pads are considered linked until a buffer is pushed
4107         and discovered otherwise. This avoids problems with decodebin2 hanging
4108         after a seek in the filesrc ! decodebin2 name=d ! fakesink d. ! fakesink
4109         case.
4110
4111         Make sure we lock the multiqueue when updating the max-size properties.
4112         
4113         Fix a crash on Solaris in a debug statement in get_request_pad that
4114         passes a NULL string to GST_DEBUG. 
4115
4116         * tests/check/elements/multiqueue.c: (mq_dummypad_chain),
4117         (run_output_order_test):
4118         Fix the test to allow the first buffer on not-linked pads to come out
4119         of sequence while multiqueue discovers that they are not-linked.
4120
4121 2007-10-25  Jan Schmidt  <Jan.Schmidt@sun.com>
4122
4123         * configure.ac:
4124         * libs/gst/check/Makefile.am:
4125         Use a custom export symbol regex for libgstcheck, as it needs
4126         to export symbols that don't match the standard GStreamer gst_*
4127         pattern, and  --export-dynamic is not portable (only works on 
4128         GNU ld)
4129
4130         * libs/gst/check/gstcheck.c: (gst_check_setup_src_pad),
4131         (gst_check_setup_sink_pad):
4132         Make sure to pass a message parameter to the fail_* macros.
4133
4134         * tests/check/gst/gstinfo.c: (GST_START_TEST):
4135         Fix some compiler warnings.
4136
4137 2007-10-25  Tim-Philipp Müller  <tim at centricular dot net>
4138
4139         * tests/check/gst/gststructure.c: (test_to_string):
4140           Disable test that checks that white spaces are not allowed
4141           in structure names or field names, since we need to
4142           support that for now for backwards compatibility reasons.
4143
4144 2007-10-24  Tim-Philipp Müller  <tim at centricular dot net>
4145
4146         * docs/gst/gstreamer-sections.txt:
4147         * gst/gsttaglist.c:
4148         * gst/gsttaglist.h:
4149           API: add GST_TAG_ARTIST_SORTNAME
4150           API: add GST_TAG_ALBUM_SORTNAME
4151           API: add GST_TAG_TITLE_SORTNAME
4152           Add tag variants for sorting (#414539).
4153
4154 2007-10-24  Tim-Philipp Müller  <tim at centricular dot net>
4155
4156         * gst/gststructure.c:
4157           Also allow white space for names so we don't break
4158           backwards compatibility.
4159
4160 2007-10-22  Wim Taymans  <wim.taymans@gmail.com>
4161
4162         * docs/design/part-TODO.txt:
4163         * docs/design/part-segments.txt:
4164         * docs/design/part-streams.txt:
4165         Small updates.
4166
4167 2007-10-22  Edgard Lima  <edgard.lima@indt.org.br>
4168
4169         * docs/gst/gstreamer-sections.txt:
4170          Fixed documentation from my previous commit (added new API add
4171          gst_value_set_structure(), add gst_value_get_structure() and
4172          GST_VALUE_HOLDS_STRUCTURE).
4173
4174 2007-10-22  Stefan Kost  <ensonic@users.sf.net>
4175
4176         * gst/gstdebugutils.c:
4177           Reflow code to fix uninitialized variable warning.
4178
4179 2007-10-22  Edgard Lima  <edgard.lima@indt.org.br>
4180
4181         * gst/gstcaps.c: (gst_caps_to_string),
4182         (gst_caps_from_string_inplace):
4183         * gst/gststructure.c: (gst_structure_get_abbrs),
4184         (gst_structure_to_string), (gst_structure_from_string):
4185         * gst/gstvalue.c: (gst_value_set_structure),
4186         (gst_value_get_structure), (gst_value_serialize_structure),
4187         (gst_value_deserialize_structure), (_gst_value_initialize):
4188         * gst/gstvalue.h:
4189         * tests/check/gst/gststructure.c: (GST_START_TEST),
4190         (gst_structure_suite):
4191         * tests/check/gst/gstvalue.c: (GST_START_TEST):
4192          Added GstStructure to gst_value_table and its related functions.
4193          Changed gst_structure_to_string to print ';' in the end.
4194          Changed gst_caps_to_string to not print ';' beteween its
4195          fields (structures) anymore and remove the lastes ';' from latest
4196          structure. Now it is possible to have nested structures.
4197          In addition, backward compatibilty is assured by accepting '\0' as
4198          end delimiter. Fixes: #487969.
4199          API: add gst_value_set_structure()
4200          API: add gst_value_get_structure()
4201          API: add GST_VALUE_HOLDS_STRUCTURE
4202
4203 2007-10-19  Tim-Philipp Müller  <tim at centricular dot net>
4204
4205         * gst/gstbus.c:
4206           When no GSource callback has been set up, tell developer
4207           to use a function that actually exists.
4208
4209 2007-10-17  Stefan Kost  <ensonic@users.sf.net>
4210
4211         * docs/gst/gstreamer-sections.txt:
4212         * gst/Makefile.am:
4213         * gst/gst.c:
4214         * gst/gst.h:
4215         * gst/gstdebugutils.c:
4216         * gst/gstdebugutils.h:
4217         * gst/gstinfo.c:
4218         * gst/gstinfo.h:
4219         * tools/gst-launch.c:
4220           Allow dumping pipelines as dot graphs. Fixes #456573.
4221
4222 2007-10-16  Tim-Philipp Müller  <tim at centricular dot net>
4223
4224         * gst/gststructure.c:
4225           Allow '+' as well, it can be part of media or mime types
4226           such as image/svg+xml.
4227
4228 2007-10-16  Tim-Philipp Müller  <tim at centricular dot net>
4229
4230         * docs/gst/gstreamer-sections.txt:
4231         * gst/gstbus.c:
4232         * gst/gstbus.h:
4233           API: add gst_bus_pop_filtered
4234           API: add gst_bus_timed_pop_filtered
4235           Two new functions for waiting for specific message types on the
4236           bus for a specified amount of time without iterating any main
4237           loops or main contexts.
4238
4239         * tests/check/gst/gstbus.c:
4240           Some tests for the new functions.
4241
4242 2007-10-16  Tim-Philipp Müller  <tim at centricular dot net>
4243
4244         * docs/libs/gstreamer-libs-sections.txt:
4245           Make gtk-doc ignore stuff it should ignore.
4246
4247 2007-10-16  Tim-Philipp Müller  <tim at centricular dot net>
4248
4249         * libs/gst/check/gstcheck.c:
4250         * libs/gst/check/gstcheck.h:
4251           Allow runtime selection of unit tests to run via the GST_CHECKS
4252           environment variable (test case function names, comma-separated).
4253
4254 2007-10-16  Stefan Kost  <ensonic@users.sf.net>
4255
4256         * gst/gststructure.c:
4257         * tests/check/gst/gststructure.c:
4258           Revert serialisation change and constrain structure-names after
4259           consensus on irc. Update api documentation to reflect the change.
4260
4261 2007-10-16  Stefan Kost  <ensonic@users.sf.net>
4262
4263         * gst/gststructure.c:
4264           Improve serialization and fix tests.
4265
4266         * tests/check/gst/gststructure.c:
4267           Add another test that covers why I actually did the previous structure
4268           change.
4269
4270 2007-10-15  Wim Taymans  <wim.taymans@gmail.com>
4271
4272         * tools/gst-inspect.c: (print_element_info):
4273         Don't crash when inspecting an element.
4274
4275 2007-10-15  Tim-Philipp Müller  <tim at centricular dot net>
4276
4277         * tests/check/gst/gststructure.c:
4278           Add unit test for escaping of structure name when serialising
4279           and deserialising to/from strings.
4280
4281 2007-10-15  Wim Taymans  <wim.taymans@gmail.com>
4282
4283         * plugins/elements/gstmultiqueue.c: (gst_single_queue_push_one),
4284         (gst_single_queue_new):
4285         * plugins/elements/gstqueue.c: (gst_queue_init),
4286         (gst_queue_push_one):
4287         Fix queue negotiation. If acceptcaps unconditionally returns TRUE,
4288         upstream is tricked into thinking it can suggest a format downstream
4289         while downstream does not support that format. The real problem is that
4290         core calls acceptcaps when pushing a buffer with new caps, for which we
4291         do a little workaround by setting the caps on the srcpad ourselves
4292         before pushing the buffer (until this is figured out). Fixes #486758.
4293
4294 2007-10-15  Stefan Kost  <ensonic@users.sf.net>
4295
4296         * gst/gststructure.c:
4297         * gst/gstvalue.c:
4298           Add some more comments and debug output. Quote structure name to fix
4299           deserialisation of some strings.
4300
4301 2007-10-15  Stefan Kost  <ensonic@users.sf.net>
4302
4303         * gst/gstbuffer.h:
4304           Define GST_BUFFER_FLAG_GAP more strictly to enable optimizations based
4305           on it. Fix docs for GST_BUFFER_MALLOCDATA and GstBuffer.malloc_data.
4306
4307 2007-10-15  Stefan Kost  <ensonic@users.sf.net>
4308
4309         * tools/gst-inspect.c:
4310           Save approx. 400 1 byte allocs when printing. Use API to acces element
4311           details.
4312
4313         * tools/gst-run.c:
4314           Avoid a strdup.
4315
4316         * tools/gst-xmlinspect.c:
4317           Use API to acces element details.
4318
4319 2007-10-15  Stefan Kost  <ensonic@users.sf.net>
4320
4321         * gst/gstinfo.c:
4322           Fix some spelling errors.
4323
4324 2007-10-14  Wim Taymans  <wim.taymans@gmail.com>
4325
4326         * gst/gstbin.c: (bin_handle_async_done):
4327         Correctly set the next state if all of our async children commited their
4328         state. This makes sure we can actually cancel the state change in
4329         progress. Fixes a regression in Rhythmbox when seeking.
4330
4331 2007-10-13  Tim-Philipp Müller  <tim at centricular dot net>
4332
4333         * gst/gstbin.c:
4334           Don't shadow local variable.
4335
4336         * gst/gstinfo.c:
4337           Don't shadow global function name.
4338
4339 2007-10-13  Tim-Philipp Müller  <tim at centricular dot net>
4340
4341         * gst/gstelementfactory.c:
4342         * gst/gstpluginfeature.c:
4343         * gst/gstpluginfeature.h:
4344         * gst/gstregistrybinary.c:
4345         * gst/gstregistryxml.c:
4346         * gst/gsttypefind.c:
4347           Use already-interned string for the private GstPluginFeature
4348           plugin_name field.
4349
4350 2007-10-10  Tim-Philipp Müller  <tim at centricular dot net>
4351
4352         * docs/libs/gstreamer-libs-sections.txt:
4353           Add new API to docs; fixes the build.
4354
4355 2007-10-10  Wim Taymans  <wim.taymans@gmail.com>
4356         
4357         Patch inspired by: Benoit Fouet <benoit dot fouet at purplelabs dot com>
4358
4359         * libs/gst/base/gstbasesink.c: (gst_base_sink_wait_eos),
4360         (gst_base_sink_event):
4361         * libs/gst/base/gstbasesink.h:
4362         Add function to wait for EOS, subclasses can use this to correctly wait
4363         for devices to drain before performing the EOS logic. Fixes #485343.
4364         API: gst_base_sink_wait_eos()
4365
4366 2007-10-10  Tim-Philipp Müller  <tim at centricular dot net>
4367
4368         * gst/gstplugin.h:
4369           Cast description string constants in GST_PLUGIN_DEFINE macros
4370           to a (gchar*) to make C++ code using these macros compile
4371           without warning with g++-4.2 (see #462737).  Even if slightly
4372           ugly, this seems preferable to putting the description strings
4373           into the GLib quark table or making the structure member a
4374           const gchar * and doing casts in core code that allocs and
4375           frees these strings, or requiring a cast in the C++ code.
4376
4377 2007-10-09  Tim-Philipp Müller  <tim at centricular dot net>
4378
4379         * gst/gstinfo.h:
4380           Use __FUNCTION__ instead of __PRETTY_FUNCTION__, it's silly
4381           to print the entire class/function signature into the log
4382           file for C++ code.  This only affects C++ code, for C code
4383           everything remains the same.
4384
4385 2007-10-09  Wim Taymans  <wim.taymans@gmail.com>
4386
4387         * gst/gstbin.c: (remove_from_queue):
4388         Work around a problem with pipelines containing (semi)loops until a
4389         proper, more complicated solution is ready. See #475455.
4390
4391 2007-10-09  Tim-Philipp Müller  <tim at centricular dot net>
4392
4393         * gst/gstplugin.c:
4394         * gst/gstplugin.h:
4395         * gst/gstregistrybinary.c:
4396         * gst/gstregistryxml.c:
4397           Put more strings into the GLib quark table. No need to keep
4398           a hundred-something copies of identical version strings,
4399           license strings, package name strings and package origin
4400           strings around. 
4401
4402 2007-10-09  Tim-Philipp Müller  <tim at centricular dot net>
4403
4404         * docs/manual/advanced-dataaccess.xml:
4405           Don't imply that it's okay to unconditionally change
4406           buffer data or buffer metadata in a pad probe callback,
4407           and a bunch of other comments. Fixes #430031.
4408
4409 2007-10-08  Tim-Philipp Müller  <tim at centricular dot net>
4410
4411         * win32/common/gstenumtypes.c:
4412         * win32/common/gstenumtypes.h:
4413         * win32/common/gstversion.h:
4414           Update generated files.
4415
4416 2007-10-08  Tim-Philipp Müller  <tim at centricular dot net>
4417
4418         * docs/manual/advanced-autoplugging.xml:
4419           Prefix section with broken code with a warning (see #342432).
4420
4421 2007-10-08  Tim-Philipp Müller  <tim at centricular dot net>
4422
4423         * docs/manual/appendix-integration.xml:
4424         * docs/manual/basics-init.xml:
4425           Call g_thread_init() before g_option_context_new() to
4426           avoid warnings. Spotted by Ritesh Khadgaray. Fixes #484225.
4427
4428 2007-10-08  Wim Taymans  <wim.taymans@gmail.com>
4429
4430         * libs/gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
4431         (gst_base_sink_queue_object_unlocked),
4432         (gst_base_sink_queue_object), (gst_base_sink_event),
4433         (gst_base_sink_needs_preroll), (gst_base_sink_chain_unlocked):
4434         When we received EOS and are waiting for when to post the EOS message,
4435         our state is prerolled and we should not return ASYNC.
4436         Reorganize some code paths to implement this behavior.
4437
4438         * tests/check/generic/sinks.c: (send_eos), (GST_START_TEST),
4439         (gst_sinks_suite):
4440         Add unit test to verify above EOS fix.
4441
4442 2007-10-08  Wim Taymans  <wim.taymans@gmail.com>
4443
4444         * plugins/elements/gsttypefindelement.c:
4445         (gst_type_find_element_have_type), (gst_type_find_element_init),
4446         (gst_type_find_element_setcaps), (gst_type_find_element_chain):
4447         Move detecting the input caps of the sinkpad to the setcaps function.
4448         This allows us to update the output caps when we receive new input caps
4449         instead of always using the first detected caps.
4450
4451 2007-10-08  Wim Taymans  <wim.taymans@gmail.com>
4452
4453         * libs/gst/base/gstbasesink.c: (gst_base_sink_event),
4454         (gst_base_sink_get_position):
4455         Don't try to preroll non-async elements after a flush.
4456         Subtract latency form clock times when reporting position.
4457
4458 2007-10-05  Wim Taymans  <wim.taymans@gmail.com>
4459
4460         * gst/gstpad.c: (gst_pad_pause_task):
4461         * gst/gstutils.c:
4462         Small comment and documentation update.
4463
4464 2007-10-05  Wim Taymans  <wim.taymans@gmail.com>
4465
4466         * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
4467         (gst_base_src_set_live), (gst_base_src_is_live),
4468         (gst_base_src_query_latency), (gst_base_src_perform_seek),
4469         (gst_base_src_default_event), (gst_base_src_wait),
4470         (gst_base_src_do_sync), (gst_base_src_get_range),
4471         (gst_base_src_pad_get_range), (gst_base_src_loop),
4472         (gst_base_src_unlock), (gst_base_src_unlock_stop),
4473         (gst_base_src_set_flushing), (gst_base_src_set_playing),
4474         (gst_base_src_activate_push), (gst_base_src_activate_pull),
4475         (gst_base_src_change_state):
4476         Rework the locking of basesrc in a similar fashion to basesink. We
4477         basically have one lock (LIVE_LOCK) protecting the dataflow. This allows
4478         us to handle live sources and semi live ones much better.
4479         Simplify flushing.
4480         Fix unlocking when seeking, shutting down and pausing in live sources.
4481
4482 2007-10-05  Wim Taymans  <wim.taymans@gmail.com>
4483
4484         * tests/check/pipelines/simple-launch-lines.c: (run_pipeline):
4485         Fix compilation again.
4486
4487 2007-10-03  Stefan Kost  <ensonic@users.sf.net>
4488
4489         * gst/gstelement.c:
4490           Use meaningful categories for the logs to clean the default one.
4491
4492 2007-10-03  Stefan Kost  <ensonic@users.sf.net>
4493
4494         * tests/check/pipelines/cleanup.c:
4495           Print message name and not just number.
4496
4497 2007-10-03  Stefan Kost  <ensonic@users.sf.net>
4498
4499         * docs/design/draft-tagreading.txt:
4500           Add some more thoughts.
4501
4502 2007-10-03  Stefan Kost  <ensonic@users.sf.net>
4503
4504         * tests/check/pipelines/simple-launch-lines.c:
4505           Print message name and not just number.
4506
4507 2007-10-03  Stefan Kost  <ensonic@users.sf.net>
4508
4509         * libs/gst/base/gsttypefindhelper.c:
4510           Speedup typefinding. This is work in progress (see #459862).
4511
4512 2007-10-03  Stefan Kost  <ensonic@users.sf.net>
4513
4514         * gst/gstplugin.c:
4515           Fix docs that mention 'plugin_desc' instead of 'gst_plugin_desc'.
4516           Spotted by Josep Torra Valles <josep@fluendo.com>.
4517
4518 2007-10-03  Tim-Philipp Müller  <tim at centricular dot net>
4519
4520         * gst/gstclock.h:
4521           Fix up broken GST_CLOCK_FLAGS macro and GstClock docs. The flags
4522           field has moved to GstObject.
4523
4524 2007-10-02  Wim Taymans  <wim.taymans@gmail.com>
4525
4526         * libs/gst/base/gstbasesrc.c: (gst_base_src_do_sync),
4527         (gst_base_src_get_range), (gst_base_src_change_state):
4528         Call unlock for live sources so that they can't get stuck in _create and
4529         produce a buffer before they are set back to PLAYING.
4530
4531 2007-10-02  Edward Hervey  <bilboed@bilboed.com>
4532
4533         * plugins/elements/gstqueue.c: (gst_queue_locked_enqueue),
4534         (gst_queue_locked_dequeue):
4535         Comment the segment-related code... in the PROPER function.
4536         See #482147 and my commit from yesterday.
4537
4538 2007-10-01  Wim Taymans  <wim.taymans@gmail.com>
4539
4540         * libs/gst/base/gstbasesrc.c: (gst_base_src_change_state):
4541         Also initialize the counter that calculates the first timestamp on a
4542         buffer correctly for non-live sources.
4543
4544 2007-10-01  Edward Hervey  <bilboed@bilboed.com>
4545
4546         * plugins/elements/gstqueue.c: (gst_queue_locked_dequeue):
4547         Disable code that's breaking the current-time-level reporting.
4548         See #482147
4549
4550 2007-09-30  Sebastian Dröge  <slomo@circular-chaos.org>
4551
4552         * docs/gst/gstreamer-sections.txt:
4553         Add M_PI and IMPORT_SYMBOL to the private part of the GstInfo section
4554         as they shouldn't show up. Fixes the docs build.
4555
4556 2007-09-29  Sebastien Moutte  <sebastien@moutte.net>
4557         
4558         * gst/gstinfo.h:
4559         Add an explicit variable importation needed on VS6 (only for MSC_VER)
4560         Define M_PI which is used in files which are including gstinfo.h. 
4561         VS6 includes doesn't define it.
4562         * win32/common/libgstbase.def:
4563         * win32/common/libgstcontroller.def:
4564         * win32/common/libgstreamer.def:
4565         Add new exported functions and variables.
4566         * win32/vs6/libgstcontroller.dsp:
4567         * win32/vs6/libgstreamer.dsp:
4568         Update the list of files to build.
4569         
4570 2007-09-28  Wim Taymans  <wim.taymans@gmail.com>
4571
4572         Patch by: Felipe Contreras <felipe dot contreras at gmail dot com>
4573
4574         * plugins/elements/gstqueue.c: (update_time_level), (apply_buffer),
4575         (gst_queue_locked_dequeue), (gst_queue_handle_sink_event),
4576         (gst_queue_chain), (gst_queue_loop), (gst_queue_src_activate_push):
4577         Improve debugging. Fixes #480858.
4578
4579 2007-09-28  Wim Taymans  <wim.taymans@gmail.com>
4580
4581         Patch by: Felipe Contreras <felipe dot contreras at gmail dot com>
4582
4583         * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event):
4584         First patch of code cleanups, use the macros and right arguments in the
4585         macros to signal and lock the queue. See #480858.
4586
4587 2007-09-26  Wim Taymans  <wim.taymans@gmail.com>
4588
4589         * gst/gstbus.c: (poll_func):
4590         Improve debugging when dealing with _poll().
4591
4592 2007-09-26  Tim-Philipp Müller  <tim at centricular dot net>
4593
4594         * gst/gstregistryxml.c:
4595           Fix memory leak I introduced a few days ago.
4596
4597 2007-09-26  Michael Smith <msmith@fluendo.com>
4598
4599         * gst/gstbuffer.c: (gst_buffer_finalize):
4600           Make it once again possible to free GstBuffers in the default
4601           build.
4602           The poisoning scribbles on parts of the miniobject we need in
4603           order to free it.
4604           Fixes #480341
4605
4606 2007-09-25  Tim-Philipp Müller  <tim at centricular dot net>
4607
4608         * docs/gst/gstreamer-sections.txt:
4609         * gst/gsttaglist.c:
4610         * gst/gsttaglist.h:
4611         API: add GST_TAG_COMPOSER, fixes #459809.
4612
4613 2007-09-24  Sebastian Dröge  <slomo@circular-chaos.org>
4614
4615         * gst/gstplugin.c:
4616         * gst/gstplugin.h:
4617         Add the 3-clause BSD license and the MIT/X11 license to the license
4618         list. Fixes #479784.
4619
4620 2007-09-24  Tim-Philipp Müller  <tim at centricular dot net>
4621
4622         * docs/faq/getting.xml:
4623           Add Q+A about different GStreamer versions (#364056).
4624
4625 2007-09-24  Wim Taymans  <wim.taymans@gmail.com>
4626
4627         * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency),
4628         (gst_base_sink_event), (gst_base_sink_change_state):
4629         Return correct gboolean from query function.
4630
4631 2007-09-24  Wim Taymans  <wim.taymans@gmail.com>
4632
4633         * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency),
4634         (gst_base_sink_event), (gst_base_sink_query),
4635         (gst_base_sink_change_state):
4636         Simplify latency query.
4637         When not synchronizing, we can report latency without querying the peer
4638         element.
4639
4640 2007-09-24  Wim Taymans  <wim.taymans@gmail.com>
4641
4642         * gst/gstobject.h:
4643         * gst/gstvalue.c:
4644         Fix small typos in the docs.
4645
4646 2007-09-24  Wim Taymans  <wim.taymans@gmail.com>
4647
4648         * docs/design/draft-latency.txt:
4649         * docs/design/draft-push-pull.txt:
4650         * docs/design/draft-tagreading.txt:
4651         * docs/design/part-MT-refcounting.txt:
4652         * docs/design/part-activation.txt:
4653         * docs/design/part-block.txt:
4654         * docs/design/part-element-source.txt:
4655         * docs/design/part-events.txt:
4656         * docs/design/part-gstbin.txt:
4657         * docs/design/part-gstelement.txt:
4658         * docs/design/part-gstobject.txt:
4659         * docs/design/part-gstpipeline.txt:
4660         * docs/design/part-messages.txt:
4661         * docs/design/part-preroll.txt:
4662         * docs/design/part-push-pull.txt:
4663         * docs/design/part-qos.txt:
4664         * docs/design/part-query.txt:
4665         * docs/design/part-scheduling.txt:
4666         * docs/design/part-seeking.txt:
4667         * docs/design/part-segments.txt:
4668         * docs/design/part-states.txt:
4669         Documentation updates and typo fixes.
4670
4671 2007-09-23  Tim-Philipp Müller  <tim at centricular dot net>
4672
4673         * plugins/elements/gstfakesink.c:
4674           Add some debug text to error message to indicate that
4675           we errored out on request.
4676
4677         * tools/gst-launch.c:
4678           When the state change to PLAYING fails, check for an
4679           error message on the bus and print it.
4680
4681 2007-09-22  Thomas Vander Stichele  <thomas at apestaart dot org>
4682
4683         translated by: Jorge González González <aloriel@gmail.com>
4684
4685         * po/LINGUAS:
4686         * po/es.po:
4687           Added Spanish translation.
4688
4689 2007-09-21  Wim Taymans  <wim.taymans@gmail.com>
4690
4691         * plugins/elements/gstqueue.c: (gst_queue_push_one):
4692         Fix printf arguments.
4693
4694 2007-09-20  Stefan Kost  <ensonic@users.sf.net>
4695
4696         * tests/check/generic/states.c:
4697           Improved state change unit test.
4698
4699 2007-09-20  Stefan Kost  <ensonic@users.sf.net>
4700
4701         * gst/gstbin.h:
4702           Move priv to the right place.
4703
4704         * gst/gstsystemclock.c:
4705           Add FIXME: and improve log.
4706
4707         * tests/check/Makefile.am:
4708         * tests/examples/manual/Makefile.am:
4709           Work with all types of registries.
4710
4711 2007-09-19  Wim Taymans  <wim.taymans@gmail.com>
4712
4713         * libs/gst/base/gstbasesrc.c: (gst_base_src_send_event):
4714         Don't unref the event after pushing it. Fixes #478401.
4715
4716 2007-09-19  Stefan Kost  <ensonic@users.sf.net>
4717
4718         * .cvsignore:
4719         * tests/examples/manual/.cvsignore:
4720           Ignore registries in any format.
4721
4722 2007-09-19  Tim-Philipp Müller  <tim at centricular dot net>
4723
4724         * gst/glib-compat-private.h:
4725           Add compatibility macro for g_intern_string() for
4726           GLib-2.8 (any reason we can't just bump the
4727           requirement to at least 2.10?)
4728
4729         * gst/gstpadtemplate.h:
4730         * gst/gstelementfactory.c:
4731         * gst/gstregistryxml.c:
4732         * gst/gstregistrybinary.c:
4733           Make GstStaticPadTemplate's templ_name field a const gchar * and fix
4734           up the internal code accordingly.  This shouldn't be a problem, since
4735           there is no reason external code could ever assume the string in such
4736           a structure is dynamically allocated unless it did that itself;  the
4737           use of g_strdup() is private to element factories.  The new code also
4738           saves some memory by putting pad template name strings into the GLib
4739           quark table instead of allocating them dynamically.
4740           Declaring this field constant fixes warnings with g++-4.2 when using
4741           the GST_STATIC_PAD_TEMPLATE macro in c++ code (#478092).
4742
4743 2007-09-19  Stefan Kost  <ensonic@users.sf.net>
4744
4745         * gst/gstelementfactory.c:
4746           Release static caps. Fixes #475723.
4747
4748 2007-09-18  Tim-Philipp Müller  <tim at centricular dot net>
4749
4750         * gst/gstinfo.c:
4751         * gst/gstinfo.h:
4752           Make some internal API take const gchar * instead of just
4753           gchar * to avoid compiler warnings with g++-4.2.2 when
4754           passing string constants (partially fixes #478092).
4755
4756 2007-09-17  Wim Taymans  <wim.taymans@gmail.com>
4757
4758         * gst/gstbin.c: (bin_query_latency_fold), (gst_bin_query):
4759         A latency query fails when one of the sinks fail.
4760
4761         * gst/gstelement.c: (gst_element_set_base_time):
4762         Improve debugging.
4763
4764 2007-09-17  Jan Schmidt - Sun Microsystems <jan.schmidt@sun.com>
4765
4766         * gst/gstbin.c: (gst_bin_continue_func):
4767         * libs/gst/base/gstbasesrc.c: (gst_base_src_do_sync):
4768         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_add_pad_full):
4769         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_loop):
4770
4771         Fix minor compilation warnings shown with Forte.
4772
4773 2007-09-17  Wim Taymans  <wim.taymans@gmail.com>
4774
4775         * plugins/elements/gstqueue.c: (apply_buffer),
4776         (gst_queue_locked_enqueue), (gst_queue_locked_dequeue):
4777         Measure queue level based on the diff between head and tail timestamps
4778         even when pushing the first buffer.
4779
4780 2007-09-14  Wim Taymans  <wim.taymans@gmail.com>
4781
4782         * libs/gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
4783         (gst_base_sink_event), (gst_base_sink_change_state):
4784         Sinks that don't preroll can always be queried for the latency.
4785         Don't post ASYNC start when we are not async.
4786
4787 2007-09-14  Wim Taymans  <wim.taymans@gmail.com>
4788
4789         * plugins/elements/gstqueue.c: (gst_queue_locked_enqueue),
4790         (gst_queue_handle_sink_event), (gst_queue_chain),
4791         (gst_queue_push_one), (gst_queue_handle_src_query),
4792         (gst_queue_sink_activate_push), (gst_queue_src_activate_push):
4793         * plugins/elements/gstqueue.h:
4794         When downstream returns UNEXPECTED from pushing a buffer, don't try to
4795         push more buffers but allow pushing of EOS and NEWSEGMENT.
4796         Add some more debug info here and there. Fixes #476514.
4797
4798 2007-09-14  Wim Taymans  <wim.taymans@gmail.com>
4799
4800         * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
4801         (gst_base_sink_preroll_queue_flush), (gst_base_sink_commit_state),
4802         (gst_base_sink_wait_preroll), (gst_base_sink_needs_preroll),
4803         (gst_base_sink_set_flushing), (gst_base_sink_query),
4804         (gst_base_sink_change_state):
4805         Latency query is allowed after we are prerolled. Introduce a new flag
4806         for this and stop abusing other variables.
4807
4808 2007-09-13  Wim Taymans  <wim.taymans@gmail.com>
4809
4810         * libs/gst/base/gstbasesrc.c: (gst_base_src_send_event):
4811         Push OOB events downstream when we get them in send_event. This allows
4812         the application to insert events in the pipeline.
4813         Add some more comments.
4814
4815 2007-09-13  Wim Taymans  <wim.taymans@gmail.com>
4816
4817         * gst/gstbin.c: (gst_bin_class_init), (clear_queue),
4818         (do_bin_latency), (gst_bin_change_state_func):
4819         * gst/gstpipeline.c: (gst_pipeline_change_state):
4820         Move latency query from GstPipeline to GstBin so that we can also
4821         use it when async-handling is enabled on bins.
4822
4823 2007-09-13  Wim Taymans  <wim.taymans@gmail.com>
4824
4825         * libs/gst/base/gstbasesrc.c: (gst_base_src_query_latency),
4826         (gst_base_src_do_sync), (gst_base_src_change_state):
4827         Update docs.
4828         Clean up the timestamping and syncing code for pseudo live sources.
4829
4830 2007-09-13  Tim-Philipp Müller  <tim at centricular dot net>
4831
4832         Patch by: Steve Fink  <sphink gmail com>
4833
4834         * docs/manual/appendix-checklist.xml:
4835           Mention less -R switch in the section about debug output (#474055).
4836
4837 2007-09-13  Wim Taymans  <wim.taymans@gmail.com>
4838
4839         * plugins/elements/gstqueue.c: (gst_queue_handle_src_query):
4840         Queue can latency to the pipeline up to the configured max size in time.
4841         Report this fact in the latency query.
4842
4843 2007-09-13  Sebastian Dröge  <slomo@circular-chaos.org>
4844
4845         Patch by: Sebastien Moutte <sebastien at moutte dot net>
4846
4847         * libs/gst/controller/gstinterpolation.c:
4848         * libs/gst/controller/gstlfocontrolsource.c:
4849         Use gst_guint64_to_gdouble() when converting from a uint64 or
4850         GstClockTime to double to fix the build on win32. Fixes #474371.
4851
4852 2007-09-13  Sebastian Dröge  <slomo@circular-chaos.org>
4853
4854         * gst/gstbuffer.c: (gst_buffer_finalize):
4855         Implement poisoning for GstBuffer if --enable-poisoning is specified.
4856         When finalizing a buffer the complete struct is filled with 0xff,
4857         thus making a use of the buffer after the final unref impossible.
4858
4859 2007-09-13  Sebastian Dröge  <slomo@circular-chaos.org>
4860
4861         * tests/check/libs/controller.c: (GST_START_TEST):
4862         Use fail_unless_equals_int(a, b) instead of
4863         fail_unless_equals (a == b) to get better output on failures.
4864
4865 2007-09-12  Tim-Philipp Müller  <tim at centricular dot net>
4866
4867         * tests/check/gst/gsturi.c:
4868           Also check for the other file URI variant on win32.
4869
4870 2007-09-12  Tim-Philipp Müller  <tim at centricular dot net>
4871
4872         * gst/gsturi.c: (gst_uri_get_location):
4873           If there's no hostname, we want to return 'c:/foo/bar.txt'
4874           and not '/c:/foo/bar.txt' on Windows. Fixes #469402.
4875
4876         * tests/check/gst/gsturi.c:
4877           Unit test for the above and a few more things.
4878
4879 2007-09-11  Wim Taymans  <wim.taymans@gmail.com>
4880
4881         * docs/design/part-live-source.txt:
4882         Add docs on how live sources should timestamp.
4883
4884         * libs/gst/base/gstbasesrc.c: (gst_base_src_do_sync):
4885         Add some more debug info.
4886         For subclasses that are live and like to sync, add aditional startup
4887         latency to sync time and timestamps so that we timstamp according to the
4888         design doc.
4889
4890 2007-09-11  Tim-Philipp Müller  <tim at centricular dot net>
4891
4892         * gst/gstbuffer.c:
4893           Also do a g_type_class_ref() for the subbuffer type in
4894           the init function.
4895
4896 2007-09-11  Wim Taymans  <wim.taymans@gmail.com>
4897
4898         * docs/gst/gstreamer-sections.txt:
4899         * gst/gstpad.c: (gst_pad_peer_query):
4900         * gst/gstpad.h:
4901         Add function to perform a query on the peer of a pad.
4902         API: gst_pad_peer_query()
4903
4904 2007-09-11  Stefan Kost  <ensonic@users.sf.net>
4905
4906         * tests/check/gst/gstsystemclock.c:
4907           Cleanup the test a little (use gst-logging and not g_message). Improve
4908           test to check if a wait reached the target.
4909
4910 2007-09-11  Tim-Philipp Müller  <tim at centricular dot net>
4911
4912         * docs/libs/gstreamer-libs-sections.txt:
4913           Add new API to docs and fix the build.
4914
4915 2007-09-10  Wim Taymans  <wim.taymans@gmail.com>
4916
4917         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
4918         (gst_base_src_init), (gst_base_src_set_do_timestamp),
4919         (gst_base_src_get_do_timestamp), (gst_base_src_set_property),
4920         (gst_base_src_get_property), (gst_base_src_do_sync):
4921         * libs/gst/base/gstbasesrc.h:
4922         Add property to make the basesrc timestamp buffers based on the current
4923         running time.
4924         API: GstBaseSrc::do-timestamp
4925         API: gst_base_src_set_do_timestamp()
4926         API: gst_base_src_get_do_timestamp()
4927
4928 2007-09-08  Tim-Philipp Müller  <tim at centricular dot net>
4929
4930         * docs/random/release:
4931           Really make sure translations are up-to-date before
4932           a release (#465010).
4933
4934 2007-09-07  Sebastian Dröge  <slomo@circular-chaos.org>
4935
4936         * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
4937         Always destroy the timer, also in error cases.
4938
4939 2007-09-05  Wim Taymans  <wim.taymans@gmail.com>
4940
4941         * docs/manual/highlevel-xml.xml:
4942         Fix XML example code. Fixes #472714.
4943
4944 2007-09-05  Wim Taymans  <wim.taymans@gmail.com>
4945
4946         * libs/gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
4947         (gst_base_sink_wait_preroll), (gst_base_sink_needs_preroll),
4948         (gst_base_sink_query):
4949         Protect eos and have_preroll with the OBJECT lock so we don't need to
4950         take the PREROLL lock when querying the latency. Fixes #473846.
4951
4952 2007-09-05  Stefan Kost  <ensonic@users.sf.net>
4953
4954         * gst/gstelement.c:
4955           Give some log-messages a category.
4956
4957 2007-09-04  Wim Taymans  <wim.taymans@gmail.com>
4958
4959         * gst/gststructure.c:
4960         (gst_structure_fixate_field_nearest_fraction):
4961         Fix fraction list fixation code. Take the fraction with the smallest
4962         difference with the target instead of the first one in the list.
4963
4964         * tests/check/gst/gststructure.c: (GST_START_TEST),
4965         (gst_structure_suite):
4966         Added test to verify correct fraction list fixation behaviour.
4967
4968 2007-09-02  Tim-Philipp Müller  <tim at centricular dot net>
4969
4970         * win32/common/libgstreamer.def:
4971           Export gst_bus_add_signal_watch too.
4972
4973 2007-08-30  Wim Taymans  <wim.taymans@gmail.com>
4974
4975         * docs/libs/gstreamer-libs-sections.txt:
4976         Add new methods to docs.
4977
4978         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
4979         (gst_base_sink_init), (gst_base_sink_set_ts_offset),
4980         (gst_base_sink_get_ts_offset), (gst_base_sink_set_property),
4981         (gst_base_sink_get_property), (gst_base_sink_wait_clock):
4982         * libs/gst/base/gstbasesink.h:
4983         Add ts-offset property to fine-tune the synchronisation.
4984         API: GstBaseSink::ts-offset property
4985         API: gst_base_sink_set_ts_offset()
4986         API: gst_base_sink_get_ts_offset()
4987
4988 2007-08-29  Wim Taymans  <wim.taymans@gmail.com>
4989
4990         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
4991         (gst_base_sink_init), (gst_base_sink_set_sync),
4992         (gst_base_sink_get_sync), (gst_base_sink_set_max_lateness),
4993         (gst_base_sink_get_max_lateness), (gst_base_sink_set_qos_enabled),
4994         (gst_base_sink_is_qos_enabled), (gst_base_sink_set_async_enabled),
4995         (gst_base_sink_is_async_enabled), (gst_base_sink_set_property),
4996         (gst_base_sink_get_property), (gst_base_sink_change_state):
4997         * libs/gst/base/gstbasesink.h:
4998         Add async property to instruct the sink never to inform the parent about
4999         ASYNC state changes, update docs.
5000         Check argument with g_return_* for the public functions.
5001         API: GstBaseSink::async property
5002         API: gst_base_sink_set_async_enabled()
5003         API: gst_base_sink_is_async_enabled()
5004
5005 2007-08-28  Wim Taymans  <wim.taymans@gmail.com>
5006
5007         * libs/gst/base/gstbasesink.c: (gst_base_sink_loop):
5008         Improve debugging.
5009
5010         * libs/gst/base/gstbasesrc.c: (gst_base_src_query_latency),
5011         (gst_base_src_default_query), (gst_base_src_wait),
5012         (gst_base_src_do_sync), (gst_base_src_change_state):
5013         Rearrange some code so that we can add support for measuring the 
5014         startup latency.
5015
5016 2007-08-27  Stefan Kost  <ensonic@users.sf.net>
5017
5018         * docs/random/ensonic/dynlink.txt:
5019           More thoughs on this.
5020
5021         * plugins/elements/gstcapsfilter.c:
5022           Add bugzilla ticket number to FIXME comment.
5023
5024 2007-08-24  Wim Taymans  <wim.taymans@gmail.com>
5025
5026         * docs/design/part-TODO.txt:
5027         * docs/design/part-block.txt:
5028         Update some docs.
5029
5030 2007-08-24  Jan Schmidt  <thaytan@mad.scientist.com>
5031
5032         * gst/Makefile.am:
5033           Revert patch which uses $(gst_headers) instead of $^ because it
5034           breaks make dist.
5035
5036 2007-08-24  Jan Schmidt  <thaytan@mad.scientist.com>
5037
5038         * tests/check/gst/gstbin.c: (GST_START_TEST):
5039           Fix leaks in the new unit test.
5040
5041 2007-08-23  Tim-Philipp Müller  <tim at centricular dot net>
5042
5043         * gst/gst.c:
5044           Don't use GST_INFO before the debug system is actually initialised
5045           (shouldn't do any harm, but won't print anything either, so we can
5046           just as well remove it).
5047
5048         * gst/gstinfo.h:
5049           GST_CAT_LEVEL_LOG_valist(), which is our inline helper function for
5050           compilers that don't support variadic macros (such as MSVC), should
5051           check for debug_level <= __gst_debug_min as well, since that's the
5052           function called from all the level-specific GST_CAT_*_LOG_OBJECT()
5053           inline helper functions. Should improve performance a bit, but also
5054           makes sure uses of GST_INFO et.al are ignored if the debugging
5055           system isn't initialised yet (instead of printing an assertion
5056           failure).
5057
5058 2007-08-23  Stefan Kost  <ensonic@users.sf.net>
5059
5060         patch by: David Nečas <yeti@physics.muni.cz>
5061
5062         * gst/Makefile.am:
5063           Replace some non portable makefile constructs.
5064
5065 2007-08-21  Stefan Kost  <ensonic@users.sf.net>
5066
5067         * common/gtk-doc-plugins.mak:
5068           Grrrrr. Don't remove the types file on make clean.
5069
5070 2007-08-20  Wim Taymans  <wim.taymans@gmail.com>
5071
5072         * tools/gst-launch.1.in:
5073         Add colorspace to example pipeline. Fixes #458274.
5074
5075 2007-08-20  Tim-Philipp Müller  <tim at centricular dot net>
5076
5077         * docs/random/release:
5078           The release manager should run 'make download-po' before making a
5079           release to make sure translations are up-to-date.
5080
5081         * po/LINGUAS:
5082         * po/be.po:
5083         * po/pl.po:
5084         * po/rw.po:
5085           Add some new translations.
5086
5087 2007-08-17  Wim Taymans  <wim.taymans@gmail.com>
5088
5089         * tools/gst-launch.c: (event_loop), (main):
5090         Don´t try to do any state management when a live pipeline posts
5091         buffering messages.
5092         Also make the buffering string translatable.
5093
5094 2007-08-16  Wim Taymans  <wim.taymans@gmail.com>
5095
5096         * gst/gstbin.c: (is_eos), (gst_bin_add_func),
5097         (bin_handle_async_start), (gst_bin_handle_message_func):
5098         Improve debugging.
5099         When adding elements, insert messages into the bus of the newly added
5100         element and make sure the element is the source of the message. This
5101         allows the parent bin to intercept the message and do the
5102         right thing. It also avoids us posting ASYNC_START and CLOCK_PROVIDE
5103         messages to the app (which is not allowed).
5104         Update some docs.
5105
5106         * tests/check/gst/gstghostpad.c: (GST_START_TEST):
5107         Fix testsuite so that is does not work around messages that should not
5108         have been posted in the first place.
5109
5110 2007-08-16  Wim Taymans  <wim.taymans@gmail.com>
5111
5112         * gst/gstbin.c: (add_to_queue), (remove_from_queue), (clear_queue),
5113         (update_degree), (gst_bin_sort_iterator_next):
5114         Fix annoying bug in the sorted iterator where a sink that is not really
5115         a sink (when it has downstream links) screwed up the iterator.
5116
5117         * tests/check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
5118         Unit test to verify the fix.
5119
5120 2007-08-16  Wim Taymans  <wim.taymans@gmail.com>
5121
5122         * gst/gstmessage.h:
5123         Add some more docs for the messages.
5124
5125         * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
5126         (gst_base_sink_query):
5127         Add some more debugging.
5128
5129         * tools/gst-launch.c: (event_loop):
5130         When interrupting, don't try to set pipeline to PAUSED twice.
5131
5132 2007-08-14  Wim Taymans  <wim.taymans@gmail.com>
5133
5134         
5135         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_element_set_state),
5136         (bin_handle_async_start), (gst_bin_handle_message_func):
5137         Move ASYNC_START message posting to where it belongs, similar to
5138         async_done. 
5139         Don't post ASYNC_START when we are in error. 
5140         Post ASYNC_START when we added an async element to a bin.
5141
5142 2007-08-14  Julien MOUTTE  <julien@moutte.net>
5143
5144         * gst/gstindex.c: (gst_index_add_association): Fix index entry
5145         generation from vargs. Fixes #466595.
5146
5147 2007-08-14  Wim Taymans  <wim.taymans@gmail.com>
5148
5149         * gst/gstbin.c: (gst_bin_element_set_state):
5150         Always change the state of a NO_PREROLL element even if it has ASYNC
5151         elements inside (in case of a bin).
5152
5153         * tests/check/generic/sinks.c: (GST_START_TEST), (gst_sinks_suite):
5154         Unit test for this case.
5155
5156 2007-08-13  Stefan Kost  <ensonic@users.sf.net>
5157
5158         * libs/gst/check/gstbufferstraw.c:
5159         * libs/gst/check/gstcheck.h:
5160         * libs/gst/controller/gstcontroller.c:
5161         * libs/gst/controller/gstcontrolsource.h:
5162         * libs/gst/controller/gstlfocontrolsource.h:
5163         * plugins/elements/gstcapsfilter.h:
5164         * plugins/elements/gstfdsink.h:
5165         * plugins/elements/gstfdsrc.h:
5166           Add more missing docs.
5167
5168 2007-08-12  Wim Taymans  <wim.taymans@gmail.com>
5169
5170         * gst/gststructure.c:
5171         Add Since tag to docs.
5172
5173 2007-08-12  Wim Taymans  <wim.taymans@gmail.com>
5174
5175         * docs/gst/gstreamer-sections.txt:
5176         * gst/gststructure.c: (gst_structure_get_uint):
5177         * gst/gststructure.h:
5178         Add function to get uint from a structure.
5179         API: gst_structure_get_uint()
5180
5181 2007-08-12  Wim Taymans  <wim.taymans@gmail.com>
5182
5183         * gst/gstcaps.c: (gst_caps_set_simple_valist),
5184         (gst_caps_intersect):
5185         Fix proper check for simple caps.
5186
5187 2007-08-10  Stefan Kost  <ensonic@users.sf.net>
5188
5189         * docs/gst/Makefile.am:
5190         * docs/libs/Makefile.am:
5191           Remove cruft and do some cleanups.
5192
5193         * docs/gst/gstreamer-docs.sgml:
5194         * docs/libs/gstreamer-libs-docs.sgml:
5195           Prepare for comming gtkdoc features (rebase against online docs).
5196
5197 2007-08-10  Michael Smith <msmith@fluendo.com>
5198
5199         * docs/gst/gstreamer-sections.txt:
5200           Add gst_registry_add_path to docs.
5201
5202 2007-08-10  Michael Smith <msmith@fluendo.com>
5203
5204         * gst/gstregistry.h:
5205           Add gst_registry_add_path, which was missing from this header.
5206
5207 2007-08-10  Tim-Philipp Müller  <tim at centricular dot net>
5208
5209         * libs/gst/controller/gstlfocontrolsource.c:
5210           Printf format fix.
5211
5212 2007-08-09  Philippe Kalaf <philippe.kalaf@collabora.co.uk>
5213
5214         * libs/gst/base/gstbasesink.c:
5215           Don't send an async_start message during downwards state change if 
5216           target state is less than READY
5217
5218 2007-08-09  Thomas Vander Stichele  <thomas at apestaart dot org>
5219
5220         translated by: Gabor Kelemen <kelemeng@gnome.hu>
5221
5222         * po/LINGUAS:
5223         * po/hu.po:
5224           Added Hungarian translation.
5225
5226 2007-08-09  Thomas Vander Stichele  <thomas at apestaart dot org>
5227
5228         * po/fi.po:
5229         * po/it.po:
5230         * po/nl.po:
5231         * po/sv.po:
5232         * po/uk.po:
5233           Updated translations.
5234
5235 2007-08-07  Jan Schmidt  <thaytan@mad.scientist.com>
5236
5237         * libs/gst/controller/Makefile.am:
5238         Dist gstlfocontrolsourceprivate.h
5239
5240 2007-08-07  Jan Schmidt  <thaytan@mad.scientist.com>
5241
5242         * docs/libs/gstreamer-libs.types:
5243         Don't register the enum type gst_lfo_waveform_get_type() in the
5244         .types file - only GObject derived types belong.
5245
5246 2007-08-07  Wim Taymans  <wim.taymans@gmail.com>
5247
5248         Patch by: <arenevier at fdn dot fr>
5249
5250         * gst/gstbuffer.h:
5251         Remove comma from last element in enum to avoid compile errors when
5252         using -pendantic. Fixes #464366.
5253
5254 2007-08-07  Wim Taymans  <wim.taymans@gmail.com>
5255
5256         * docs/design/part-TODO.txt:
5257         Add some more TODO items
5258
5259         * gst/gstbin.c: (find_message), (gst_bin_change_state_func):
5260         Improve debugging.
5261
5262         * gst/gstcaps.c: (gst_caps_intersect):
5263         Optimize trivial intersection case between identical caps pointers.
5264
5265         * gst/gstelement.c: (gst_element_continue_state),
5266         (gst_element_set_state_func):
5267         * gst/gstpad.c:
5268         Fix spelling and grammar mistakes.
5269
5270 2007-08-05  Stefan Kost  <ensonic@users.sf.net>
5271
5272         * po/POTFILES.in:
5273         * po/POTFILES.skip:
5274           Update POTFILES. Fixes #461599.
5275
5276 2007-08-03  Sebastian Dröge  <slomo@circular-chaos.org>
5277
5278         * gst/gst.c:
5279         Fix confusing typo in debug output.
5280
5281 2007-08-03  Sebastian Dröge  <slomo@circular-chaos.org>
5282
5283         reviewed by: Stefan Kost <ensonic@users.sf.net>
5284
5285         * libs/gst/controller/Makefile.am:
5286         * libs/gst/controller/gstlfocontrolsource.c: (_calculate_pos),
5287         (gst_lfo_waveform_get_type), (gst_lfo_control_source_reset),
5288         (gst_lfo_control_source_new),
5289         (gst_lfo_control_source_set_waveform),
5290         (gst_lfo_control_source_bind), (gst_lfo_control_source_init),
5291         (gst_lfo_control_source_finalize),
5292         (gst_lfo_control_source_dispose),
5293         (gst_lfo_control_source_set_property),
5294         (gst_lfo_control_source_get_property),
5295         (gst_lfo_control_source_class_init):
5296         * libs/gst/controller/gstlfocontrolsource.h:
5297         * libs/gst/controller/gstlfocontrolsourceprivate.h:
5298         API: Add GstLFOControlSource, a control source that gives values
5299         for specific timestamps based on several periodic waveforms.
5300         Fixes #459717.
5301
5302         * tests/check/libs/controller.c: (GST_START_TEST),
5303         (gst_controller_suite):
5304         * docs/libs/gstreamer-libs-docs.sgml:
5305         * docs/libs/gstreamer-libs-sections.txt:
5306         * docs/libs/gstreamer-libs.types:
5307         Add documentation and unit tests for GstLFOControlSource.
5308
5309 2007-08-03  Jan Schmidt  <thaytan@mad.scientist.com>
5310
5311         * configure.ac:
5312         Back to CVS
5313
5314 === release 0.10.14 ===
5315
5316 2007-08-03  Jan Schmidt <thaytan@mad.scientist.com>
5317
5318         * configure.ac:
5319           releasing 0.10.14, "Breathing Vacuum"
5320
5321 2007-08-02  Tim-Philipp Müller  <tim at centricular dot net>
5322
5323         * gst/gstelement.c: (gst_element_class_set_details_simple):
5324         * gst/gstelement.h:
5325           Make strings passed to gst_element_class_set_details_simple()
5326           constant, as they should be (#462752).
5327
5328 2007-08-02  Wim Taymans  <wim.taymans@gmail.com>
5329
5330         * gst/gstbin.c: (gst_bin_change_state_func),
5331         (bin_handle_async_done), (gst_bin_handle_message_func):
5332         Don't forget about the fact that some element went ASYNC even after a
5333         resync. This makes us post the ASYNC_DONE message correctly.
5334         Fixes #462558.
5335
5336 2007-07-31  Jan Schmidt  <thaytan@mad.scientist.com>
5337
5338         * gst/gstregistry.c: (gst_registry_add_feature):
5339         When replacing an existing feature in the registry, make sure to
5340         continue holding a reference until we've replaced the name string
5341         within our feature hash table. Make sure to use g_hash_table_replace
5342         instead of g_hash_table_insert to ensure the new name string is used
5343         as a key instead of the old one that we're about to free.
5344         Fixes: #462085
5345
5346 2007-07-31  Jan Schmidt  <thaytan@mad.scientist.com>
5347
5348         * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
5349         (gst_plugin_feature_set_name):
5350         Revert patch from #459466 until after the release and we can work
5351         out exactly what the problem is (if any).
5352
5353 2007-07-26  Tim-Philipp Müller  <tim at centricular dot net>
5354
5355         * docs/gst/gstreamer-sections.txt:
5356         * gst/gsttaglist.c:
5357         * gst/gsttaglist.h:
5358           API: add GST_TAG_LICENSE_URI and GST_TAG_COPYRIGHT_URI (#451939).
5359
5360 2007-07-26  Jan Schmidt  <thaytan@mad.scientist.com>
5361
5362         * docs/libs/Makefile.am:
5363         Include our build-prefix libs and includes before the generic ones to
5364         avoid linking against the installed libs when we want the build-tree
5365         ones.
5366
5367 2007-07-26  Tim-Philipp Müller  <tim at centricular dot net>
5368
5369         Patch by: Steve Fink  <sphink gmail com>
5370
5371         * docs/pwg/building-testapp.xml:
5372           Mention that GST_PLUGIN_PATH or --gst-plugin-path might be needed
5373           if people try to build or install the example from the plugin
5374           template against a GStreamer from package using the configure
5375           defaults.
5376
5377 2007-07-25  Tim-Philipp Müller  <tim at centricular dot net>
5378
5379         Patch by: Steve Fink  <sphink gmail com>
5380
5381         * tools/gst-inspect.1.in:
5382           Document --print-all and --print-plugin-auto-install-info command
5383           line options in man page.
5384
5385 2007-07-25  Wim Taymans  <wim.taymans@gmail.com>
5386
5387         * docs/gst/gstreamer-sections.txt:
5388         Add docs for new api function.
5389
5390 2007-07-25  Wim Taymans  <wim.taymans@gmail.com>
5391
5392         * gst/gstelementfactory.c: (gst_element_factory_has_interface):
5393         * gst/gstelementfactory.h:
5394         API: gst_element_factory_has_interface()
5395         Added method to check if an element factory implements a named
5396         interface.
5397
5398 2007-07-25  Stefan Kost  <ensonic@users.sf.net>
5399
5400         * configure.ac:
5401         * docs/gst/gstreamer.types.in:
5402           Another conditional doc check.
5403
5404         * gst/gstmessage.c:
5405         * gst/gstparamspecs.h:
5406         * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
5407         * gst/gstvalue.c:
5408         * gst/gstxml.h:
5409           API-doc fixes.
5410
5411 2007-07-24  Stefan Kost  <ensonic@users.sf.net>
5412
5413         * gst/gstregistrybinary.c: (gst_registry_binary_check_magic),
5414         (gst_registry_binary_load_feature),
5415         (gst_registry_binary_load_plugin),
5416         (gst_registry_binary_read_cache):
5417           Print error just once and with additional info.
5418
5419 2007-07-24  Stefan Kost  <ensonic@users.sf.net>
5420
5421         * libs/gst/base/gsttypefindhelper.c: (helper_find_peek),
5422         (helper_find_suggest), (helper_find_get_length),
5423         (gst_type_find_helper_get_range), (buf_helper_find_suggest),
5424         (gst_type_find_helper_for_buffer):
5425           Cleanup the typefindhelper code and add private doc comments.
5426
5427 2007-07-24  Edward Hervey  <bilboed@bilboed.com>
5428
5429         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
5430         (gst_capsfilter_transform_size), (gst_capsfilter_prepare_buf):
5431         Fix capsfilter for cases where the caps set on capsfilter will provide
5432         additional information.
5433         Fixes #449197
5434
5435 2007-07-24  Stefan Kost  <ensonic@users.sf.net>
5436
5437         * gst/gsttypefindfactory.c:
5438           Fix docs that recommened wrong function to use.
5439
5440 2007-07-23  Stefan Kost  <ensonic@users.sf.net>
5441
5442         * tools/gst-inspect.c: (print_plugin_features):
5443           Also give media-type for typefinders in element output.
5444
5445 2007-07-23  Stefan Kost  <ensonic@users.sf.net>
5446
5447         * gst/gstregistry.c: (gst_registry_init), (gst_registry_finalize),
5448         (gst_registry_remove_features_for_plugin_unlocked),
5449         (gst_registry_add_feature), (gst_registry_remove_feature),
5450         (gst_registry_lookup_feature_locked):
5451         * gst/gstregistry.h:
5452           Speed up gst_registry_lookup_feature_locked() by using a hashmap.
5453           Fixes #459501.
5454
5455 2007-07-23  Stefan Kost  <ensonic@users.sf.net>
5456
5457         * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
5458         (gst_plugin_feature_set_name):
5459           Avoid double memory usage for pluginfeature names. Fixes #459466.
5460
5461 2007-07-22  Tim-Philipp Müller  <tim at centricular dot net>
5462
5463         * gst/gstpad.h:
5464           Small addition to GST_FLOW_IS_FATAL() docs: mention that elements
5465           driving the pipeline may need to explicitly check for NOT_LINKED as
5466           well, since IS_FATAL doesn't cover that.
5467
5468 2007-07-22  Tim-Philipp Müller  <tim at centricular dot net>
5469
5470         * docs/pwg/advanced-types.xml:
5471           Fix typo and duplicate entry in video formats list.
5472
5473 2007-07-22  Sebastian Dröge  <slomo@circular-chaos.org>
5474
5475         * libs/gst/controller/gstinterpolation.c:
5476         Also round to the nearest int when using cubic interpolation.
5477
5478 2007-07-19  Jan Schmidt  <thaytan@noraisin.net>
5479
5480         * libs/gst/controller/gstinterpolation.c:
5481         When linearly interpolating integer types, round to the nearest int
5482         by adding 0.5. Don't do it for float/double types.
5483         Fixes the failing controller test on my machine, which is somehow
5484         rounding differently than on the buildbots.
5485
5486 2007-07-20  Stefan Kost  <ensonic@users.sf.net>
5487
5488         * tools/gst-plot-timeline.py:
5489           Better log parsing (categories can have -). Adjust text vs. lines, so
5490           that they span the same y-range.        
5491
5492 2007-07-20  Stefan Kost  <ensonic@users.sf.net>
5493
5494         * docs/random/ensonic/audiobaseclasses.txt:
5495         * docs/random/ensonic/dynlink.txt:
5496         * docs/random/ensonic/profiling.txt:
5497           Save my thoughts.
5498
5499         * docs/random/moving-plugins:
5500           Add note to use g_assert type macros.
5501
5502 2007-07-20  Stefan Kost  <ensonic@users.sf.net>
5503
5504         * configure.ac:
5505         * libs/gst/check/Makefile.am:
5506           Add libm check as we use in for plugins.
5507
5508 2007-07-18  Jan Schmidt  <thaytan@noraisin.net>
5509
5510         * gst/gstbin.c: (gst_bin_continue_func):
5511         Check that the state_cookie hasn't changed since the continue_func
5512         was scheduled. Avoids problems where the state changes back to
5513         something it shouldn't be because it was changed in the meantime.
5514
5515 2007-07-17  Stefan Kost  <ensonic@users.sf.net>
5516
5517         * gst/gstregistrybinary.c: (gst_registry_binary_save_const_string),
5518         (gst_registry_binary_save_string),
5519         (gst_registry_binary_save_pad_template),
5520         (gst_registry_binary_save_feature),
5521         (gst_registry_binary_save_plugin),
5522         (gst_registry_binary_load_feature),
5523         (gst_registry_binary_load_plugin),
5524         (gst_registry_binary_read_cache):
5525           Fix memory leak. Be less verbose in the log.
5526
5527 2007-07-16  Jan Schmidt  <thaytan@mad.scientist.com>
5528
5529         * tests/check/elements/.cvsignore:
5530         Add file to cvsignore as commanded.
5531
5532 2007-07-16  Jan Schmidt  <thaytan@mad.scientist.com>
5533
5534         * tests/check/elements/multiqueue.c: (mq_dummypad_chain),
5535         (mq_dummypad_event), (run_output_order_test):
5536         Use a GStaticMutex to protect all cases where libcheck
5537         fail_if/fail_unless macros might be called from multiple threads
5538         simultaneously to avoid errors like:
5539           "check_pack.c:107: :-1081725400:Bad message type arg"
5540
5541 2007-07-16  Jan Schmidt  <thaytan@mad.scientist.com>
5542
5543         * tests/check/pipelines/stress.c: (GST_START_TEST):
5544         Make sure we set the pipeline back to the NULL state before
5545         dropping our final reference.
5546
5547 2007-07-16  Jan Schmidt  <thaytan@mad.scientist.com>
5548
5549         * tests/check/elements/tee.c: (GST_START_TEST):
5550         Make the tee stress-test a little less stressful so it doesn't just
5551         time out on slow-machines, and remove a small race when it's starting 
5552         up by adding a get_state() call.
5553
5554 2007-07-16  Stefan Kost  <ensonic@users.sf.net>
5555
5556         * gst/gst.c:
5557           Avoid reading registry twice on startup. Fixes #457322.
5558
5559 2007-07-13  Jan Schmidt  <thaytan@mad.scientist.com>
5560
5561         * pkgconfig/gstreamer-check-uninstalled.pc.in:
5562         * pkgconfig/gstreamer-check.pc.in:
5563         Substitute the CFLAGS for libcheck into our .pc file too so that
5564         dependent modules will pick it up properly if libcheck is installed
5565         into some other prefix.
5566
5567 2007-07-13  Jan Schmidt  <thaytan@mad.scientist.com>
5568
5569         * configure.ac:
5570         Revert the pkg-config check for libcheck, since it pulls in the
5571         wrong non-PIC libcheck.a on Ubuntu and probably Fedora too. We need
5572         a proper solution, either from the check project, or something else.
5573
5574 2007-07-12  Stefan Kost  <ensonic@users.sf.net>
5575
5576         * configure.ac:
5577           Use pkg-config to locate check.
5578
5579 2007-07-10  Stefan Kost  <ensonic@users.sf.net>
5580
5581         * gst/gsttaglist.c:
5582           Fix doc syntax.
5583
5584         * gst/gstutils.c:
5585         * gst/gstutils.h:
5586           Add deprecation guards.
5587
5588         * libs/gst/base/gstcollectpads.h:
5589           Don't document object (this is implicitly private).
5590
5591 2007-07-08  Tim-Philipp Müller  <tim at centricular dot net>
5592
5593         * gst/gststructure.c: (gst_structure_parse_value):
5594           When deserialising foo=bar without a type cast, check if it's a
5595           boolean before falling back to a string type, otherwise things like
5596           audiotestsrc ! audio/x-raw-int,signed=true ! fakesink won't work,
5597           because the filtercaps end up having a signed=(string)true field,
5598           which causes problems later when intersection caps.
5599
5600         * tests/check/gst/gststructure.c: (GST_START_TEST):
5601           Add a unit test for this.
5602
5603 2007-07-06  Sebastian Dröge  <slomo@circular-chaos.org>
5604
5605         Reviewed by: Stefan Kost <ensonic@users.sf.net>
5606
5607         * libs/gst/controller/Makefile.am:
5608         * libs/gst/controller/gstcontroller.c:
5609         (gst_controlled_property_add_interpolation_control_source),
5610         (gst_controlled_property_new), (gst_controlled_property_free),
5611         (gst_controller_find_controlled_property),
5612         (gst_controller_new_valist), (gst_controller_new_list),
5613         (gst_controller_new), (gst_controller_remove_properties_valist),
5614         (gst_controller_remove_properties_list),
5615         (gst_controller_remove_properties),
5616         (gst_controller_set_property_disabled),
5617         (gst_controller_set_disabled), (gst_controller_set_control_source),
5618         (gst_controller_get_control_source), (gst_controller_get),
5619         (gst_controller_sync_values), (gst_controller_get_value_array),
5620         (_gst_controller_dispose), (gst_controller_get_type),
5621         (gst_controlled_property_set_interpolation_mode),
5622         (gst_controller_set), (gst_controller_set_from_list),
5623         (gst_controller_unset), (gst_controller_unset_all),
5624         (gst_controller_get_all), (gst_controller_set_interpolation_mode):
5625         * libs/gst/controller/gstcontroller.h:
5626         * libs/gst/controller/gstcontrollerprivate.h:
5627         * libs/gst/controller/gstcontrolsource.c:
5628         (gst_control_source_class_init), (gst_control_source_init),
5629         (gst_control_source_get_value),
5630         (gst_control_source_get_value_array), (gst_control_source_bind):
5631         * libs/gst/controller/gstcontrolsource.h:
5632         * libs/gst/controller/gsthelper.c: (gst_object_set_control_source),
5633         (gst_object_get_control_source):
5634         * libs/gst/controller/gstinterpolation.c:
5635         (gst_interpolation_control_source_find_control_point_node),
5636         (gst_interpolation_control_source_get_first_value),
5637         (_interpolate_none_get), (interpolate_none_get),
5638         (interpolate_none_get_boolean_value_array),
5639         (interpolate_none_get_enum_value_array),
5640         (interpolate_none_get_string_value_array),
5641         (_interpolate_trigger_get), (interpolate_trigger_get),
5642         (interpolate_trigger_get_boolean_value_array),
5643         (interpolate_trigger_get_enum_value_array),
5644         (interpolate_trigger_get_string_value_array):
5645         * libs/gst/controller/gstinterpolationcontrolsource.c:
5646         (gst_control_point_free), (gst_interpolation_control_source_reset),
5647         (gst_interpolation_control_source_new),
5648         (gst_interpolation_control_source_set_interpolation_mode),
5649         (gst_interpolation_control_source_bind),
5650         (gst_control_point_compare), (gst_control_point_find),
5651         (gst_interpolation_control_source_set_internal),
5652         (gst_interpolation_control_source_set),
5653         (gst_interpolation_control_source_set_from_list),
5654         (gst_interpolation_control_source_unset),
5655         (gst_interpolation_control_source_unset_all),
5656         (gst_interpolation_control_source_get_all),
5657         (gst_interpolation_control_source_get_count),
5658         (gst_interpolation_control_source_init),
5659         (gst_interpolation_control_source_finalize),
5660         (gst_interpolation_control_source_dispose),
5661         (gst_interpolation_control_source_class_init):
5662         * libs/gst/controller/gstinterpolationcontrolsource.h:
5663         * libs/gst/controller/gstinterpolationcontrolsourceprivate.h:
5664         API: Refactor GstController into the core controller which can take
5665         a GstControlSource for providing actual values for timestamps.
5666         Implement a interpolation control source and use this for backward
5667         compatibility, deprecate a bunch of functions that are now handled
5668         by GstControlSource or GstInterpolationControlSource.
5669         Make it possible to disable the controller completely or only for
5670         specific properties. Fixes #450711.
5671         * docs/libs/gstreamer-libs-docs.sgml:
5672         * docs/libs/gstreamer-libs-sections.txt:
5673         * docs/libs/gstreamer-libs.types:
5674         Add new functions and classes to the docs.
5675         * tests/check/libs/controller.c: (GST_START_TEST),
5676         (gst_controller_suite):
5677         * tests/examples/controller/audio-example.c: (main):
5678         Port unit test and example to the new API and add some new
5679         unit tests.
5680
5681 2007-07-05  Wim Taymans  <wim.taymans@gmail.com>
5682
5683         Patch by: Mark Nauwelaerts <manauw at skynet be>
5684
5685         * plugins/elements/gstmultiqueue.c:
5686         (gst_multi_queue_get_internal_links), (apply_buffer),
5687         (single_queue_overrun_cb), (gst_single_queue_new):
5688         Implement non-default GstPadIntLinkFunction for multiqueue pads so that
5689         the pipeline layout can be tracked correctly. Fixes #453732.
5690
5691 2007-07-05  Stefan Kost  <ensonic@users.sf.net>
5692
5693         * docs/gst/Makefile.am:
5694         * docs/libs/Makefile.am:
5695         * docs/plugins/Makefile.am:
5696           Simplify --extra-dir as gtkdoc scans recursively.
5697
5698 2007-07-03  Wim Taymans  <wim.taymans@gmail.com>
5699
5700         * tools/gst-launch.c: (main):
5701         When we got an error, there is no point in waiting for preroll when
5702         shutting down.
5703
5704 2007-07-03  Wim Taymans  <wim.taymans@gmail.com>
5705
5706         * plugins/elements/gsttee.c: (gst_tee_base_init),
5707         (gst_tee_request_new_pad), (gst_tee_release_pad),
5708         (gst_tee_find_buffer_alloc), (gst_tee_buffer_alloc),
5709         (gst_tee_do_push), (clear_pads), (gst_tee_handle_buffer),
5710         (gst_tee_chain):
5711         Be a lot smarter when deciding what srcpad to use for proxying
5712         the buffer_alloc. Also handle pad added/removed when doing so.
5713         Fixes #357959.
5714         Keep track of what pads we already pushed on in case we have pads
5715         added/removed while pushing. Fixes #374639 
5716
5717         * tests/check/Makefile.am:
5718         * tests/check/elements/tee.c: (handoff), (GST_START_TEST),
5719         (tee_suite):
5720         Added unit test for pad resync.
5721
5722 2007-07-01  Thomas Vander Stichele  <thomas at apestaart dot org>
5723
5724         * po/nl.po:
5725         * po/sv.po:
5726           Updated translations.
5727
5728 2007-07-01  Thomas Vander Stichele  <thomas at apestaart dot org>
5729
5730         translation by: Tommi Vainikainen <Tommi.Vainikainen@iki.fi>
5731
5732         * po/LINGUAS:
5733         * po/fi.po:
5734           Added new Finnish translation.
5735
5736 2007-06-28  Wim Taymans  <wim@fluendo.com>
5737
5738         * plugins/elements/gstmultiqueue.c: (apply_buffer),
5739         (single_queue_overrun_cb):
5740         When figuring out when a queue is filled, use our internal time estimate
5741         based on segments, just like check_full does.
5742
5743 2007-06-27  Stefan Kost  <ensonic@users.sf.net>
5744
5745         * gst/gstminiobject.c: (gst_mini_object_get_type):
5746           Remove 3 do-nothing methods.
5747
5748 2007-06-27  Wim Taymans  <wim@fluendo.com>
5749
5750         Patch by: Tim Angus <tim at ngus dot net>
5751
5752         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
5753         (gst_capsfilter_set_property):
5754         Take a reference instead of a copy when setting "caps".
5755         Fix documentation to clarify this behaviour. Fixes #449414.
5756
5757 2007-06-27  Stefan Kost  <ensonic@users.sf.net>
5758
5759         * gst/gstindexfactory.c: (gst_index_factory_get_type):
5760         * gst/gstplugin.c: (gst_plugin_init):
5761         * gst/gstpluginfeature.c: (gst_plugin_feature_init):
5762         * gst/gstquery.c: (gst_query_get_type):
5763         * gst/gstregistry.c: (gst_registry_init):
5764         * gst/gsturi.c: (gst_uri_handler_base_init):
5765           Remove empty instance_init() functions to save relocs and lessen the
5766           noise. Remove some of the function prototypes that are doubled by
5767           G_DEFINE_TYPE.
5768           
5769 2007-06-27  Wim Taymans  <wim@fluendo.com>
5770
5771         Patch by: Étienne Noreau-Hébert <etienne at deepunder dot org>
5772
5773         * gst/gstghostpad.c: (gst_proxy_pad_save_thyself):
5774         Add peer and direction in the XML serialisation of ghostpads.
5775         Fixes #449226.
5776
5777 2007-06-26  Stefan Kost  <ensonic@users.sf.net>
5778
5779         * configure.ac:
5780           Preserve useful information, thanks Tim.
5781
5782 2007-06-26  Jan Schmidt  <thaytan@noraisin.net>
5783
5784         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_init),
5785         (gst_single_queue_flush), (apply_segment), (apply_buffer),
5786         (gst_single_queue_push_one), (gst_multi_queue_loop),
5787         (gst_multi_queue_sink_activate_push), (gst_multi_queue_sink_event),
5788         (gst_multi_queue_src_activate_push), (wake_up_next_non_linked),
5789         (compute_high_id), (gst_single_queue_new):
5790         * plugins/elements/gstmultiqueue.h:
5791         Take the multiqueue lock when updating the fill level so we don't get
5792         confused. 
5793
5794         After applying a buffer or event on the src pad segment, make sure to
5795         call gst_data_queue_limits_changed() to get the data queue to unblock
5796         and check the filled state again.
5797         
5798         Rework the not-linked pad handling so the logic is that not-linked 
5799         pads can push as fast as they like, but only so they never get 
5800         ahead of any linked pads.
5801
5802         * tests/check/elements/multiqueue.c: (mq_sinkpad_to_srcpad),
5803         (mq_dummypad_getcaps), (mq_dummypad_chain), (mq_dummypad_event),
5804         (run_output_order_test), (GST_START_TEST), (multiqueue_suite):
5805
5806         Add a test to check that not-linked pads always stay behind
5807         linked pads.
5808
5809         Fixes: #430682
5810
5811 2007-06-26  Jan Schmidt  <thaytan@mad.scientist.com>
5812
5813         * docs/random/release:
5814           Some updates to the release procedure.
5815
5816 2007-06-26  Stefan Kost  <ensonic@users.sf.net>
5817
5818         * gst/gstelementfactory.c: (__gst_element_details_clear):
5819           Microoptimization that saves stunning 80 bytes.
5820
5821 2007-06-25  Stefan Kost  <ensonic@users.sf.net>
5822
5823         * docs/plugins/gstreamer-plugins.args:
5824         * docs/plugins/inspect/plugin-coreelements.xml:
5825         * docs/plugins/inspect/plugin-coreindexers.xml:
5826           Update docs with caps info.
5827
5828 2007-06-24  Thomas Vander Stichele  <thomas at apestaart dot org>
5829
5830         * po/it.po:
5831           Updated Italian translation.
5832
5833 2007-06-23  Thomas Vander Stichele  <thomas at apestaart dot org>
5834
5835         * ChangeLog:
5836         * po/vi.po:
5837           Update Vietnamese translations.
5838
5839 2007-06-21  Tim-Philipp Müller  <tim at centricular dot net>
5840
5841         * libs/gst/base/gstbasesink.c:
5842           Remove unused signal enum.
5843
5844 2007-06-21  Jan Schmidt  <thaytan@mad.scientist.com>
5845
5846         * docs/gst/gstreamer-sections.txt:
5847         * gst/gstelement.c:
5848         * gst/gstutils.c: (gst_type_register_static_full):
5849         Beef up and include the docs for gst_type_register_static_full and
5850         gst_element_class_set_details_simple and add the API keyword
5851         in the ChangeLog.
5852
5853 2007-06-21  Jan Schmidt  <thaytan@mad.scientist.com>
5854
5855         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_set_property),
5856         (update_time_level), (gst_single_queue_push_one),
5857         (gst_multi_queue_chain), (gst_multi_queue_sink_event),
5858         (single_queue_overrun_cb), (single_queue_underrun_cb),
5859         (single_queue_check_full):
5860         Fix setting max-* properties after adding queues.
5861         Use IS_FILLED for checking visible items.
5862         Signal overrun if multiple queues overrun.
5863         Add extra debug output.
5864         Patch by: Wim Taymans <wim@fluendo.com>
5865
5866 2007-06-21  Stefan Kost  <ensonic@users.sf.net>
5867
5868         * gst/gstelement.c: (gst_element_class_set_details_simple):
5869         * gst/gstelement.h:
5870         * gst/gstutils.c: (gst_type_register_static_full):
5871         * gst/gstutils.h:
5872         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_base_init):
5873         * plugins/elements/gstfakesink.c: (gst_fake_sink_base_init):
5874         * plugins/elements/gstfakesrc.c: (gst_fake_src_base_init):
5875         * plugins/elements/gstfdsink.c: (gst_fd_sink_base_init):
5876         * plugins/elements/gstfdsrc.c: (gst_fd_src_base_init):
5877         * plugins/elements/gstfilesink.c: (gst_file_sink_base_init):
5878         * plugins/elements/gstfilesrc.c: (gst_file_src_base_init):
5879         * plugins/elements/gstidentity.c: (gst_identity_base_init):
5880         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_base_init):
5881         * plugins/elements/gstqueue.c: (gst_queue_base_init),
5882         (apply_buffer), (gst_queue_chain):
5883         * plugins/elements/gsttee.c: (gst_tee_base_init):
5884         * plugins/elements/gsttypefindelement.c:
5885         (gst_type_find_element_base_init),
5886         (gst_type_find_element_class_init):
5887           Saving relocations for GTypeInfo and GstElementDetails. Fixes #437457.
5888           API: add gst_type_register_static_full
5889           API: add gst_element_class_set_details_simple
5890
5891 2007-06-21  Tim-Philipp Müller  <tim at centricular dot net>
5892
5893         * docs/pwg/advanced-types.xml:
5894           Fix typo in iana.org URI.
5895
5896 2007-06-19  Andy Wingo  <wingo@pobox.com>
5897
5898         * tests/check/pipelines/simple-launch-lines.c
5899         (test_state_change_returns): Enable pull-mode tests now that
5900         basesink has been fixed.
5901
5902         * libs/gst/base/gstbasesink.c (gst_base_sink_needs_preroll):
5903         Changed from gst_base_sink_is_prerolled, reversing the sense of
5904         the return value. Returns FALSE also if the sink is in pull mode,
5905         in which case it needs no preroll.
5906         (gst_base_sink_query, gst_base_sink_change_state): Update for
5907         needs_preroll change.
5908         (gst_base_sink_change_state): Add a case for READY_TO_PAUSED after
5909         chaining up, in which we return SUCCESS directly if we activated
5910         in pull mode instead of ASYNC. Involves countering an async_start
5911         message sent before chaining up; not sure if this is correct, in
5912         an ideal world we only send async-start when activating in push
5913         mode.
5914
5915         * tests/check/pipelines/simple-launch-lines.c
5916         (test_state_change_returns): New test, partially disabled until
5917         basesink is fixed.
5918
5919 2007-06-19  Wim Taymans  <wim@fluendo.com>
5920
5921         * plugins/elements/gstmultiqueue.c: (apply_buffer),
5922         (gst_multi_queue_sink_event):
5923         Fix event leak.
5924
5925 2007-06-19  Wim Taymans  <wim@fluendo.com>
5926
5927         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
5928         (gst_bin_change_state_func), (bin_push_state_continue),
5929         (bin_handle_async_start), (bin_handle_async_done),
5930         (gst_bin_handle_message_func):
5931         Move the common code for posting state-change messages into
5932         one function.
5933         Broadcast the state signal after we posted the messages.
5934         Mark the bin as busy when it's doing a state-change.
5935         Make sure async-start/done messages don't interfere with the bin's
5936         state when it's busy.
5937         After the state change, let the bin check which elements completed the
5938         state change while it was busy so that it can update its state.
5939
5940 2007-06-19  Jan Schmidt  <thaytan@mad.scientist.com>
5941
5942         * docs/random/release:
5943         Add a note about updating the doap file to the release checklist
5944
5945 2007-06-18  Wim Taymans  <wim@fluendo.com>
5946
5947         * plugins/elements/gstmultiqueue.c: (apply_buffer),
5948         (gst_single_queue_push_one), (gst_multi_queue_chain),
5949         (gst_multi_queue_sink_event):
5950         Make sure we don't reference the buffer/event after we have given away
5951         ownership in the queue.
5952
5953 2007-06-18  Wim Taymans  <wim@fluendo.com>
5954
5955         * plugins/elements/gstmultiqueue.c: (gst_single_queue_flush),
5956         (gst_multi_queue_chain), (gst_multi_queue_sink_event):
5957         Update queue state _after_ adding the item in the queue because else we
5958         could end up being full without the element added yet.
5959
5960 2007-06-18  Wim Taymans  <wim@fluendo.com>
5961
5962         * gst/gstbin.c: (gst_bin_init), (gst_bin_add_func),
5963         (gst_bin_remove_func), (gst_bin_get_state_func),
5964         (gst_bin_element_set_state), (gst_bin_continue_func),
5965         (bin_push_state_continue), (bin_handle_async_start),
5966         (bin_handle_async_done), (gst_bin_handle_message_func):
5967         * gst/gstbin.h:
5968         Immediatly commit the toplevel bin state when receiving an async-done
5969         message. This enables us to avoid spawning a thread to commit the state
5970         in some common cases and it also avoids some races.
5971         Avoid spawning a state thread when adding/removing async elements to a
5972         toplevel bin. Instead we immediatly update the bin state.
5973         Get rid of iterating all the children when getting the state in the bin
5974         because it is now always up-to-date.
5975         Fix bug where locked elements would always return _SUCCESS even it they
5976         returned NO_PREROLL before being locked.
5977         Fix the order of the state_change, async-start/done messages that was
5978         sometimes incorrect.
5979         Mark the state_dirty field as deprecated, we don't need it anymore as we
5980         are always up-to-date.
5981
5982         * gst/gstelement.c: (gst_element_get_state_func),
5983         (gst_element_continue_state):
5984         Small debug inprovements.
5985         Return the previous element state return when nothing is pending instead
5986         of blindly returning SUCCESS.
5987
5988         * tests/check/generic/sinks.c: (GST_START_TEST), (pad_blocked_cb),
5989         (gst_sinks_suite):
5990         Add a whole bunch of new testcases.
5991
5992 2007-06-17  Thomas Vander Stichele  <thomas at apestaart dot org>
5993
5994         * po/uk.po:
5995         * po/vi.po:
5996           Update translations.
5997
5998 2007-06-15  Jan Schmidt  <thaytan@mad.scientist.com>
5999
6000         * gst/gstpad.c:
6001         Fix typo in the docs.
6002
6003 2007-06-15  Wim Taymans  <wim@fluendo.com>
6004
6005         * docs/libs/gstreamer-libs-sections.txt:
6006         Add docs for new methods.
6007
6008 2007-06-15  Wim Taymans  <wim@fluendo.com>
6009
6010         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_item_destroy),
6011         (gst_multi_queue_item_new):
6012         Don't use GSlice because we don't depend on >= 2.10 yet.
6013
6014 2007-06-15  Wim Taymans  <wim@fluendo.com>
6015
6016         * plugins/elements/gstmultiqueue.c: (gst_single_queue_flush),
6017         (update_time_level), (apply_segment), (apply_buffer),
6018         (gst_single_queue_push_one), (gst_multi_queue_item_new),
6019         (gst_multi_queue_loop), (gst_multi_queue_sink_activate_push),
6020         (gst_multi_queue_sink_event), (single_queue_overrun_cb),
6021         (single_queue_underrun_cb), (single_queue_check_full):
6022         Remove debug printf.
6023
6024 2007-06-15  Wim Taymans  <wim@fluendo.com>
6025
6026         * libs/gst/base/gstdataqueue.c: (gst_data_queue_cleanup),
6027         (gst_data_queue_finalize), (gst_data_queue_locked_is_empty),
6028         (gst_data_queue_set_flushing), (gst_data_queue_push),
6029         (gst_data_queue_pop), (gst_data_queue_drop_head),
6030         (gst_data_queue_limits_changed), (gst_data_queue_get_level):
6031         * libs/gst/base/gstdataqueue.h:
6032         Various cleanups.
6033         Added methods to get the current levels and to inform the queue that the
6034         'full' limits changed.
6035
6036         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_init),
6037         (gst_multi_queue_finalize), (gst_multi_queue_set_property),
6038         (gst_single_queue_flush), (update_time_level), (apply_segment),
6039         (apply_buffer), (gst_single_queue_push_one),
6040         (gst_multi_queue_item_steal_object),
6041         (gst_multi_queue_item_destroy), (gst_multi_queue_item_new),
6042         (gst_multi_queue_loop), (gst_multi_queue_chain),
6043         (gst_multi_queue_sink_activate_push), (gst_multi_queue_sink_event),
6044         (gst_multi_queue_getcaps), (gst_multi_queue_src_activate_push),
6045         (gst_multi_queue_src_query), (single_queue_overrun_cb),
6046         (single_queue_underrun_cb), (single_queue_check_full),
6047         (gst_single_queue_new):
6048         Keep track of time in the queue by measuring the difference between
6049         running_time on input and output. This gives more accurate results and
6050         can compensate for segments correctly.
6051         Make a queue by default only 5 buffers deep. We will now increase the
6052         buffer size depending on the filledness of the other queues.
6053         Factor out commong flush code.
6054         Make sure we don't add additional refcounts to buffers when we can avoid
6055         it.
6056         Propagate GstFlowReturn differently.
6057         Use GSlice for intermediate GstMultiQueueItems.
6058         Keep track of EOS.
6059         Resize queues on over and underruns based on filled level of other
6060         queues.
6061         When checking if the queue is filled, prefer to measure in time if we
6062         can and fall back to bytes when no time is known.
6063
6064         * plugins/elements/gstqueue.c:
6065         Fix return value.
6066
6067 2007-06-15  Wim Taymans  <wim@fluendo.com>
6068
6069         * libs/gst/base/gstbasetransform.c:
6070         (gst_base_transform_sink_event):
6071         Work around the brokenness of the event vmethod in basetransform. Prefer
6072         to return TRUE when the subclass returned FALSE (meaning don't forward
6073         the event). 
6074
6075         * libs/gst/base/gstbasetransform.h:
6076         Clarify the docs.
6077
6078 2007-06-15  Wim Taymans  <wim@fluendo.com>
6079
6080         * gst/gstpad.c: (gst_pad_push_event), (gst_pad_send_event):
6081         * libs/gst/base/gstbasesrc.c: (gst_base_src_query_latency),
6082         (gst_base_src_default_query), (gst_base_src_get_range),
6083         (gst_base_src_start):
6084         * tests/check/pipelines/parse-launch.c: (setup_pipeline):
6085         Improve debugging.
6086
6087 2007-06-15  Stefan Kost  <ensonic@users.sf.net>
6088
6089         * docs/pwg/advanced-types.xml:
6090           Added more formats to caps table.
6091
6092 2007-06-15  Stefan Kost  <ensonic@users.sf.net>
6093
6094         * tools/gst-launch.c: (main):
6095           Remove crufy code. GOption does not need this workaround.
6096
6097 2007-06-14  Stefan Kost  <ensonic@users.sf.net>
6098
6099         * libs/gst/controller/gstcontroller.c:
6100         (gst_controlled_property_set_interpolation_mode):
6101           Fix wrong getter for enums in controller.
6102
6103 2007-06-14  Tim-Philipp Müller  <tim at centricular dot net>
6104
6105         * libs/gst/check/gstcheck.c: (gst_check_init):
6106           Intercept criticals and warnings in the Gst-Phonon log domain, so
6107           ASSERT_CRITICAL() etc. can be used in gst-phonon's unit tests as
6108           well.
6109         
6110 2007-06-14  Edward Hervey  <edward@fluendo.com>
6111
6112         * gst/gstparamspecs.c: (_gst_param_fraction_validate):
6113         Since this file doesn't include "gst.h" it will not go through the
6114         macros that disable GST_LOG if debugging was disabled.
6115
6116 2007-06-14  Tim-Philipp Müller  <tim at centricular dot net>
6117
6118         * libs/gst/check/Makefile.am:
6119         * libs/gst/check/gstcheck.h:
6120         * pkgconfig/gstreamer-check-uninstalled.pc.in:
6121         * pkgconfig/gstreamer-check.pc.in:
6122           Ugly 'fix' for the controller unit test on the p5 bot: in
6123           fail_unless_equals_float() check whether the values are 'almost
6124           equal' by allowing a small absolute error, which should be good
6125           enough for our use cases (normal numbers and values close to 0).
6126           Proper fixage left to floating point arithmetic aficionados.
6127
6128 2007-06-14  Stefan Kost  <ensonic@users.sf.net>
6129
6130         * libs/gst/base/gstbasesink.c: (gst_base_sink_reset_qos),
6131         (gst_base_sink_render_object), (gst_base_sink_get_position):
6132           Add two breaks thats where missing.
6133
6134 2007-06-14  Tim-Philipp Müller  <tim at centricular dot net>
6135
6136         * docs/libs/gstreamer-libs-sections.txt:
6137         * libs/gst/check/gstcheck.h:
6138           API: add fail_unless_equals_float() and assert_equals_float().
6139           Add documentation for some of the macros.
6140
6141         * tests/check/libs/controller.c: (GST_START_TEST):
6142           Use newly-added asserts.
6143
6144 2007-06-14  Stefan Kost  <ensonic@users.sf.net>
6145
6146         * gst/gstpad.c: (gst_pad_alloc_buffer_full), (gst_pad_push):
6147           Show the caps change in the log to help spotting the case of not
6148           exactly matching caps.
6149
6150 2007-06-14  Tim-Philipp Müller  <tim at centricular dot net>
6151
6152         * docs/pwg/building-boiler.xml:
6153           Fix typos, spotted by Thijs Vermeir (#447190).
6154
6155 2007-06-13  Jan Schmidt  <thaytan@mad.scientist.com>
6156
6157         * docs/plugins/tmpl/.cvsignore:
6158         Ignore file to keep the buildbots happy
6159
6160 2007-06-13  Jan Schmidt  <thaytan@mad.scientist.com>
6161
6162         * docs/plugins/Makefile.am:
6163         * docs/plugins/gstreamer-plugins-docs.sgml:
6164         * docs/plugins/gstreamer-plugins-sections.txt:
6165         Pull fdsink into the docs too.
6166
6167 2007-06-11  Sebastian Dröge  <slomo@circular-chaos.org>
6168
6169         * libs/gst/controller/gstinterpolation.c:
6170         Actually use the new functions with min/max checks for the trigger and
6171         none interpolation modes for get() and get_value_array() instead of
6172         just the latter.
6173
6174 2007-06-10  Sebastian Dröge  <slomo@circular-chaos.org>
6175
6176         * libs/gst/controller/gstcontroller.c:
6177         (gst_controlled_property_free):
6178         Unset the minimum and maximum GValues when freeing the corresponding
6179         GstControllerProperty struct.
6180
6181 2007-06-09  Sebastian Dröge  <slomo@circular-chaos.org>
6182
6183         * libs/gst/controller/gstcontroller.c:
6184         (gst_controlled_property_new):
6185         * libs/gst/controller/gstcontrollerprivate.h:
6186         * libs/gst/controller/gstinterpolation.c:
6187         (gst_controlled_property_find_control_point_node),
6188         (interpolate_none_get), (interpolate_none_get_enum_value_array),
6189         (interpolate_none_get_string_value_array),
6190         (interpolate_trigger_get),
6191         (interpolate_trigger_get_enum_value_array),
6192         (interpolate_trigger_get_string_value_array):
6193         Protect against values larger or smaller than the minimum or maximum
6194         allowed value for the property when using values that can be compared.
6195
6196         Optimize trigger interpolator a bit by taking the last requested value
6197         into account instead of always looping through the complete list.
6198
6199         Fix coding style a bit, everywhere else we use "return foo" instead
6200         of "return (foo)".
6201         
6202         * tests/check/libs/controller.c: (GST_START_TEST),
6203         (gst_controller_suite):
6204         Add unit test for the protection against too large or too small
6205         values.
6206
6207 2007-06-08  Sebastian Dröge  <slomo@circular-chaos.org>
6208
6209         * docs/random/slomo/controller.txt:
6210         Add some thoughts about the future of the controller.
6211
6212 2007-06-08  Wim Taymans  <wim@fluendo.com>
6213
6214         * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
6215         Don't overflow in retimestamping code.
6216
6217 2007-06-07  Sebastien Moutte  <sebastien@moutte.net>
6218
6219         * libs/gst/controller/gstinterpolation.c: (DEFINE_CUBIC_GET):
6220         Use gst_util_guint64_to_gdouble for conversions.
6221         * win32/common/libgstreamer.def:
6222         Add new exported functions.
6223
6224 2007-06-07  Tim-Philipp Müller  <tim at centricular dot net>
6225
6226         * gst/gstutils.c:
6227           Small docs addition.
6228
6229 2007-06-07  Stefan Kost  <ensonic@users.sf.net>
6230
6231         * README:
6232           Remove that test line again.
6233
6234 2007-06-07  Stefan Kost  <ensonic@users.sf.net>
6235
6236         * README:
6237           Test commit mail sending.
6238
6239 2007-06-07  Stefan Kost  <ensonic@users.sf.net>
6240
6241         * configure.ac:
6242           Fix typo and test commit mail sending.
6243
6244 2007-06-07  Stefan Kost  <ensonic@users.sf.net>
6245
6246         * tests/examples/controller/audio-example.c:
6247           Improve comment and test commit mail sending.
6248
6249 2007-06-07  Wim Taymans  <wim@fluendo.com>
6250
6251         * gst/gstbin.c: (find_message), (bin_replace_message), (is_eos),
6252         (gst_bin_remove_func), (gst_bin_element_set_state),
6253         (bin_handle_async_start), (bin_handle_async_done),
6254         (gst_bin_handle_message_func):
6255         Add helper function to find messages.
6256         Generate the async-done messages together with the state change
6257         messages.
6258         Small cleanups in handling toplevel bins.
6259
6260 2007-06-06  Tim-Philipp Müller  <tim at centricular dot net>
6261
6262         * libs/gst/base/gstdataqueue.c:
6263         * libs/gst/base/gstdataqueue.h:
6264         * plugins/elements/gstmultiqueue.c: (gst_single_queue_push_one),
6265         (gst_multi_queue_item_new), (gst_multi_queue_chain),
6266         (gst_multi_queue_sink_event):
6267         * tests/check/elements/multiqueue.c: (multiqueue_suite):
6268           Fix multiqueue leaking buffers and events when downstream or the
6269           queue are flushing. Make refcounting assumptions explicit and
6270           document them (shouldn't break existing code that uses it other than
6271           maybe leak miniobjects, but that already happens anyway). Add unit
6272           test for the most common flushing case. Fixes #423700.
6273           
6274 2007-06-06  Sebastian Dröge  <slomo@circular-chaos.org>
6275
6276         * libs/gst/controller/gstcontroller.c:
6277         Clarify docs: The get_all, get_value_array(s) functions
6278         don't modify the GObject properties.
6279
6280 2007-06-06  Sebastian Dröge  <slomo@circular-chaos.org>
6281
6282         * libs/gst/controller/gstcontroller.c:
6283         (gst_controlled_property_set_interpolation_mode),
6284         (gst_controlled_property_prepend_default),
6285         (gst_controlled_property_new), (gst_controller_set_unlocked),
6286         (gst_controller_set), (gst_controller_set_from_list),
6287         (gst_controller_unset), (gst_controller_unset_all):
6288         * libs/gst/controller/gstcontrollerprivate.h:
6289         * libs/gst/controller/gstinterpolation.c:
6290         Factor out the 'set' logic into gst_controller_set_unlocked for the
6291         gst_controller_set and gst_controller_set_from_list functions.
6292
6293         To make life of the interpolators easier always add a control point
6294         at timestamp zero with the default value.
6295
6296         In the linear interpolator make things more obvious by better variable
6297         naming (slope).
6298
6299         Implement cubic interpolation mode (by using a natural cubic spline)
6300         and map the quadratic interpolation mode to this too (as quadratic
6301         doesn't make much sense, see discussion on the list).
6302
6303         * tests/check/libs/controller.c: (GST_START_TEST),
6304         (gst_controller_suite):
6305         Add unit test for the cubic interpolation mode and check everywhere
6306         if the interpolation mode could be set as expected.
6307
6308 2007-06-06  Tim-Philipp Müller  <tim at centricular dot net>
6309
6310         * gst/gstparamspecs.c: (gst_param_spec_fraction_get_type):
6311           Don't use GLib-2.10 functions, we still depend on
6312           GLib-how-old-is-it-again-2.8.
6313
6314 2007-06-06  Tim-Philipp Müller  <tim at centricular dot net>
6315
6316         * docs/gst/gstreamer-sections.txt:
6317         * gst/Makefile.am:
6318         * gst/gst.c:
6319         * gst/gst.h:
6320         * gst/gstparamspecs.c: (_gst_param_fraction_init),
6321         (_gst_param_fraction_set_default), (_gst_param_fraction_validate),
6322         (_gst_param_fraction_values_cmp),
6323         (gst_param_spec_fraction_get_type), (gst_param_spec_fraction):
6324         * gst/gstparamspecs.h:
6325         * gst/gstvalue.c:
6326         * tests/check/Makefile.am:
6327         * tests/check/gst/.cvsignore:
6328         * tests/check/gst/gstparamspecs.c: (gst_dummy_obj_base_init),
6329         (gst_dummy_obj_class_init), (gst_dummy_obj_init),
6330         (gst_dummy_obj_set_property), (gst_dummy_obj_get_property),
6331         (GST_START_TEST), (gst_param_spec_suite):
6332           API: add GstParamSpecFraction, so elements can have fraction
6333           properties without lots of painful string parsing (#444648).
6334
6335 2007-06-05  Wim Taymans  <wim@fluendo.com>
6336
6337         * gst/gstobject.c: (gst_object_class_init):
6338         Fix signal signature.
6339
6340         * gst/gstsegment.c:
6341         Add small clarification in the api docs.
6342
6343         * plugins/elements/gstfilesrc.c: (gst_file_src_set_location):
6344         States are protected with object lock.
6345
6346 2007-06-05  Jan Schmidt  <thaytan@mad.scientist.com>
6347
6348         * AUTHORS:
6349         I should probably be listed as an author by now.
6350
6351         * docs/random/release:
6352         Update the release doc
6353
6354 2007-06-05  Tim-Philipp Müller  <tim at centricular dot net>
6355
6356         * gst/gstvalue.c:
6357           Make docs for gst_value_compare() mention return enums that
6358           actually exist.
6359
6360 2007-06-05  Jan Schmidt  <thaytan@mad.scientist.com>
6361
6362         * configure.ac:
6363           Back to CVS
6364
6365 === release 0.10.13 ===
6366
6367 2007-06-05  Jan Schmidt <thaytan@mad.scientist.com>
6368
6369         * configure.ac:
6370           releasing 0.10.13, "With or without you"
6371
6372 2007-05-25  Wim Taymans  <wim@fluendo.com>
6373
6374         * gst/gstbin.c: (bin_handle_async_done):
6375         Make sure that the child bin stops after completing the async state
6376         change so that the parent can continue the state change to PLAYING.
6377         Fixes #441159.
6378
6379 2007-05-25  Wim Taymans  <wim@fluendo.com>
6380
6381         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
6382         (unref_data), (gst_collect_pads_remove_pad),
6383         (gst_collect_pads_check_pads):
6384         Use additional refcounting to avoid crashes when dynamically adding and
6385         removing pads. Fixes #420206.
6386
6387 2007-05-24  Wim Taymans  <wim@fluendo.com>
6388
6389         * tools/gst-launch.c: (event_loop):
6390         When buffering goes from a two digit to a single digit number, make sure
6391         to remove the old second digit by writing a blank over it.
6392
6393 2007-05-24  Tim-Philipp Müller  <tim at centricular dot net>
6394
6395         * libs/gst/base/gstdataqueue.c:
6396           Eliminate tabs and trailing comma in enum list; fix some typos.
6397
6398 2007-05-24  Wim Taymans  <wim@fluendo.com>
6399
6400         * tests/check/gst/gstbin.c: (GST_START_TEST):
6401         Allow refcount of 3 and 4 because some state thread might still be busy
6402         with it.
6403
6404 2007-05-24  Tim-Philipp Müller  <tim at centricular dot net>
6405
6406         * plugins/elements/Makefile.am:
6407         * plugins/elements/gstmultiqueue.h:
6408         * plugins/elements/gstqueue.h:
6409           These are not installed headers, no need for padding.
6410
6411 2007-05-24  Wim Taymans  <wim@fluendo.com>
6412
6413         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_get_state_func),
6414         (gst_bin_continue_func):
6415         Enable latency for next release.
6416         Restore STATE_LOCK around recalc_state that was left out during the
6417         rewrite and could result in racy behaviour when _get_state and
6418         recalc_state are run concurrently. See #440463.
6419
6420 2007-05-23  Wim Taymans  <wim@fluendo.com>
6421
6422         * tests/check/gst/gstsystemclock.c: (store_callback),
6423         (GST_START_TEST):
6424         Improve test_async_order to also work when both timers are already
6425         expired when we get scheduled to check it.
6426
6427 2007-05-22  Tim-Philipp Müller  <tim at centricular dot net>
6428
6429         * gst/gstbin.c: (gst_bin_init), (gst_bin_dispose),
6430         (gst_bin_set_property), (gst_bin_get_property),
6431         (gst_bin_remove_func), (gst_bin_handle_message_func):
6432         * gst/gstbin.h:
6433           'private' is a c++ keyword, let's not use that in header files,
6434           otherwise c++ compilers will throw a tantrum.
6435
6436 2007-05-22  Tim-Philipp Müller  <tim at centricular dot net>
6437
6438         * plugins/elements/gstelements.c:
6439         * plugins/elements/gstfilesink.c: (gst_file_sink_do_seek),
6440         (gst_file_sink_get_current_offset):
6441         * plugins/indexers/gstindexers.c: (plugin_init):
6442           Use #ifdef for HAVE_XYZ for consistency.
6443
6444         * tests/check/Makefile.am:
6445         * tests/check/elements/.cvsignore:
6446         * tests/check/elements/filesink.c: (setup_filesink),
6447         (cleanup_filesink), (GST_START_TEST), (filesink_suite):
6448           Add some unit tests for filesink.
6449
6450 2007-05-22  Tim-Philipp Müller  <tim at centricular dot net>
6451
6452         Patch by: Mark Nauwelaerts <manauw at skynet be>
6453
6454         * plugins/elements/gstfilesink.c: (gst_file_sink_open_file),
6455         (gst_file_sink_query), (gst_file_sink_do_seek),
6456         (gst_file_sink_get_current_offset), (gst_file_sink_render):
6457         * plugins/elements/gstfilesink.h:
6458           Fix position reporting; rename data_written member to current_pos to
6459           reflect its real meaning (fixes #412648).
6460
6461 2007-05-22  Edward Hervey  <edward@fluendo.com>
6462
6463         * docs/gst/gstreamer-sections.txt:
6464         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
6465         (gst_bin_dispose), (gst_bin_set_property), (gst_bin_get_property),
6466         (gst_bin_remove_func), (gst_bin_handle_message_func):
6467         * gst/gstbin.h:
6468         Add a property for bins that handle the state change of their childs.
6469         Fixes #435880
6470
6471 2007-05-22  Sebastian Dröge  <slomo@circular-chaos.org>
6472
6473         * libs/gst/controller/gstinterpolation.c:
6474         Use an array of the correct type when using _get_value_array with
6475         linear interpolation.
6476
6477 2007-05-22  Stefan Kost  <ensonic@users.sf.net>
6478
6479         * gst/gstelement.c (gst_element_requires_clock,
6480           gst_element_provides_clock, gst_element_request_pad,
6481           gst_element_class_set_details, gst_element_class_set_details_simple,
6482           gst_element_default_send_event, gst_element_abort_state,
6483           gst_element_continue_state, gst_element_set_state,
6484           gst_element_set_state_func, iterator_activate_fold_with_resync):
6485         * gst/gstpad.c (gst_pad_activate_pull, gst_pad_set_getcaps_function,
6486           gst_pad_fixate_caps, gst_pad_configure_sink, gst_pad_configure_src,
6487           gst_pad_query, gst_pad_save_thyself, handle_pad_block, gst_pad_push,
6488           gst_pad_get_range, gst_pad_pull_range):
6489         * gst/gstpad.h (GST_PAD_LINK_SUCCESSFUL, GST_FLOW_CUSTOM_SUCCESS,
6490           GST_FLOW_NOT_SUPPORTED, GST_FLOW_IS_FATAL, GstPadActivateFunction,
6491           GstPadActivateModeFunction, GstPadChainFunction,
6492           GstPadGetCapsFunction, GstPadAcceptCapsFunction,
6493           GstPadFixateCapsFunction, GstPadTemplate):
6494         * gst/gstpipeline.c (gst_pipeline_change_state,
6495           gst_pipeline_set_new_stream_time, gst_pipeline_use_clock,
6496           gst_pipeline_set_clock, gst_pipeline_auto_clock,
6497           gst_pipeline_get_delay):
6498           Whitespace and docs fixes.
6499
6500 2007-05-21  Sebastian Dröge  <slomo@circular-chaos.org>
6501
6502         * libs/gst/controller/gstinterpolation.c:
6503         (interpolate_trigger_get_enum_value_array),
6504         (interpolate_trigger_get_string_value_array):
6505         Add support for retrieving value arrays when using the trigger
6506         interpolation mode. 
6507
6508 2007-05-21  Sebastian Dröge  <slomo@circular-chaos.org>
6509
6510         * libs/gst/controller/gstcontroller.c:
6511         (gst_controller_get_value_array):
6512         * libs/gst/controller/gstcontroller.h:
6513         Clarify the docs of gst_controller_get_value_array(): The array where
6514         the values should be written to must be allocated as there seems to be
6515         no way to get the size of a random GType. This doesn't change any
6516         behaviour. Also fix some typos all over the place and remove an unused,
6517         commented function that is not necessary as g_object_set() could be
6518         used instead.
6519         * tests/check/libs/controller.c: (GST_START_TEST),
6520         (gst_controller_suite):
6521         Add unit test for gst_controller_get_value_array().
6522
6523 2007-05-21  Jan Schmidt  <thaytan@mad.scientist.com>
6524
6525         * tests/check/gst/gstbuffer.c: (GST_START_TEST):
6526
6527         Disable part of the gst_buffer_try_new_and_alloc test, because
6528         it can happily succeed on 64-bit systems where there's more address
6529         space available.
6530
6531 2007-05-21  Sebastian Dröge  <slomo@circular-chaos.org>
6532
6533         * tests/check/gst/gstpad.c: (GST_START_TEST), (gst_pad_suite):
6534         Add unit test for the improved caps checking from bug #421543.
6535
6536 2007-05-21  Wim Taymans  <wim@fluendo.com>
6537
6538         * docs/design/part-synchronisation.txt:
6539         Small addition.
6540
6541         * gst/gstbin.c: (gst_bin_query):
6542         * plugins/elements/gstqueue.c: (apply_segment):
6543         Improve debugging.
6544
6545         * gst/gstmessage.h:
6546         Improve docs.
6547
6548 2007-05-21  Wim Taymans  <wim@fluendo.com>
6549
6550         * gst/gstpad.c: (gst_pad_get_caps_unlocked),
6551         (gst_pad_acceptcaps_default), (gst_pad_configure_sink),
6552         (gst_pad_configure_src):
6553         Added simple version of improved caps checking. It was previously
6554         assumed that a setcaps function would check the validity of the caps but
6555         people prefer us to check caps against the template automatically. 
6556         Fixes #421543.
6557
6558 2007-05-21  Wim Taymans  <wim@fluendo.com>
6559
6560         * libs/gst/base/gstbasetransform.h:
6561         Fix macro for locking/unlocking the transform lock.
6562
6563 2007-05-19  Tim-Philipp Müller  <tim at centricular dot net>
6564
6565         * docs/plugins/tmpl/.cvsignore:
6566           Ignore more.
6567
6568 2007-05-18  Edward Hervey  <edward@fluendo.com>
6569
6570         * plugins/elements/gstqueue.c: (gst_queue_loop):
6571         Hello, I am Mr Taymans' personal debugger. Today I will introduce a fix
6572         for the subtle art of warning a potentially blocking thread that it
6573         should check the source pad return value, and relay the information
6574         upstream.
6575
6576 2007-05-18  Edward Hervey  <edward@fluendo.com>
6577
6578         * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event):
6579         Release the queue lock !
6580
6581 2007-05-17  Sebastian Dröge  <slomo@circular-chaos.org>
6582
6583         * docs/libs/gstreamer-libs-sections.txt:
6584         Add the two new controller functions to the appropiate places.
6585
6586 2007-05-17  Sebastian Dröge  <slomo@circular-chaos.org>
6587
6588         reviewed by: Stefan Kost <ensonic@users.sf.net>
6589
6590         * libs/gst/controller/gstcontroller.c:
6591         (gst_controller_suggest_next_sync), (gst_controller_sync_values),
6592         (_gst_controller_get_property), (_gst_controller_set_property),
6593         (_gst_controller_init), (_gst_controller_class_init):
6594         * libs/gst/controller/gstcontroller.h:
6595         * libs/gst/controller/gsthelper.c: (gst_object_suggest_next_sync),
6596         (gst_object_get_control_rate), (gst_object_set_control_rate):
6597         API: gst_controller_suggest_next_sync(), gst_object_suggest_next_sync()
6598         Add API that provides sync suggestion timestamps for elements that
6599         call gst_object_sync_values() from which those elements can subdivide
6600         their processing loop to get the best results for the controlled
6601         properties. For now it just suggests last_sync + control_rate as
6602         new timestamp but this will be improved in the future.
6603
6604         While doing that change the control-rate property to a GstClockTime
6605         from guint and change it's meaning from samples to nanoseconds as
6606         the GstController doesn't know anything about sampling rate. Strictly
6607         speaking this breaks ABI but as the control-rate property didn't do
6608         anything in the past and as such couldn't be used this should be no
6609         problem.        
6610
6611 2007-05-17  Sebastian Dröge  <slomo@circular-chaos.org>
6612
6613         reviewed by: Stefan Kost <ensonic@users.sf.net>
6614
6615         * libs/gst/controller/gstcontroller.c: (gst_controller_unset),
6616         (gst_controller_unset_all):
6617         * libs/gst/controller/gstcontrollerprivate.h:
6618         * libs/gst/controller/gstinterpolation.c:
6619         (gst_controlled_property_find_control_point_node):
6620         Save last synced value from the list to continue searching from there
6621         in future syncs. This speeds everything up a bit.
6622         
6623 2007-05-17  Sebastian Dröge  <slomo@circular-chaos.org>
6624
6625         reviewed by: Stefan Kost <ensonic@users.sf.net>
6626
6627         * libs/gst/controller/gstcontroller.c: (gst_control_point_compare),
6628         (gst_control_point_find), (gst_controlled_property_new),
6629         (gst_control_point_free), (gst_controlled_property_free),
6630         (gst_controller_set), (gst_controller_set_from_list),
6631         (gst_controller_unset), (gst_controller_unset_all),
6632         (gst_controller_sync_values):
6633         * libs/gst/controller/gstcontroller.h:
6634         * libs/gst/controller/gstcontrollerprivate.h:
6635         * libs/gst/controller/gstinterpolation.c:
6636         (gst_controlled_property_find_control_point_node),
6637         (interpolate_none_get), (interpolate_trigger_get):
6638         Add a new private GstControlPoint struct which "inherits" from
6639         GstTimedValue to allow different interpolators to store internal
6640         values next to each control point. From the outside everything is
6641         still a GstControlPoint so we don't loose binary compatibility.
6642         Also fixup all the GValue handling to not leak GValues or list nodes.
6643         * tests/check/libs/controller.c: (GST_START_TEST):
6644         Free the list nodes and GValues in the controller_misc test.
6645
6646 2007-05-17  Edward Hervey  <edward@fluendo.com>
6647
6648         * gst/gstsegment.c:
6649         Small doc fix.
6650
6651 2007-05-16  Tim-Philipp Müller  <tim at centricular dot net>
6652
6653         * gst/gstplugin.c: (gst_plugin_load_file):
6654           If we fail to load a plugin because of unresolved symbols or missing
6655           libraries and spew a warning to stderr, we may just as well mention
6656           which plugin it was that failed to load.
6657
6658 2007-05-13  David Schleef  <ds@schleef.org>
6659
6660         * docs/Makefile.am: the gtk-doc makefile snippet correctly
6661           handles the case when ENABLE_GTK_DOC is false, and installs
6662           the prebuilt documentation.  So gtk-doc subdirs are 
6663           unconditionally enabled.  Fixes: #349099.
6664
6665 2007-05-13  David Schleef  <ds@schleef.org>
6666
6667         * gst/gstutils.h: Reword some documentation.
6668
6669 2007-05-12  David Schleef  <ds@schleef.org>
6670
6671         * gst/gstplugin.c: gst_plugin_register_func() doesn't actually
6672           do anything with the passed "module" parameter, so remove it.
6673           Allows removal of additional vestigal code.
6674
6675 2007-05-12  David Schleef  <ds@schleef.org>
6676
6677         * gst/gstplugin.c:
6678           Using sigaction should depend on HAVE_SIGACTION, not HAVE_WIN32.
6679           Switch to using g_stat() because it's more portable.
6680
6681 2007-05-12  David Schleef  <ds@schleef.org>
6682
6683         * gst/gst.c:
6684           Add GST_DISABLE_OPTION_PARSING, in order to disable option
6685           parsing for embedded systems.
6686         * gst/gstelementfactory.c:
6687           Allow gst_element_register() to be called with plugin==NULL.
6688           Did nobody notice that static elements were broken?
6689
6690 2007-05-12  Wim Taymans  <wim@fluendo.com>
6691
6692         * tools/gst-launch.c: (event_loop):
6693         Give more interesting info when buffering starts and stops.
6694         Fix case where buffering starts but we fail to update the buffering flag
6695         because the target state is not PLAYING.
6696
6697 2007-05-12  Wim Taymans  <wim@fluendo.com>
6698
6699         * plugins/elements/gstqueue.c: (gst_queue_init),
6700         (gst_queue_finalize), (update_time_level), (apply_segment),
6701         (apply_buffer), (gst_queue_locked_flush),
6702         (gst_queue_locked_enqueue), (gst_queue_locked_dequeue),
6703         (gst_queue_handle_sink_event), (gst_queue_chain),
6704         (gst_queue_push_one), (gst_queue_loop):
6705         * plugins/elements/gstqueue.h:
6706         Refactor an cleanup queue a bit.
6707         Do better time level calculations that also work when the srcpad is not
6708         yet running.
6709         Remove some unneeded debug lines.
6710
6711         * tests/check/elements/queue.c: (GST_START_TEST), (queue_suite):
6712         Added testcase for time level measurement.
6713         Try to make some stuff more racefree.
6714
6715 2007-05-11  Tim-Philipp Müller  <tim at centricular dot net>
6716
6717         * gst/gsturi.c: (gst_element_make_from_uri):
6718           Don't leak plugin feature.
6719
6720         * tests/check/Makefile.am:
6721         * tests/check/gst/.cvsignore:
6722         * tests/check/gst/gsturi.c: (GST_START_TEST), (gst_uri_suite):
6723           Add brain-dead unit test.
6724
6725 2007-05-11  Tim-Philipp Müller  <tim at centricular dot net>
6726
6727         Patch by: Jeroen Wouters <woutersj at gmail com>
6728
6729         * gst/gsturi.c: (gst_uri_get_protocol), (search_by_entry):
6730           Treat protocol strings in a case-insensitive way (#437563).
6731
6732 2007-05-11  Michael Smith <msmith@fluendo.com>
6733
6734         * gst/gstplugin.c: (gst_plugin_load_file):
6735         * gst/gstregistry.c: (gst_registry_scan_path_level):
6736           Don't print a g_warning for any failure to load a shared object.
6737           Instead, push this down into gstplugin.c, and warn _only_ if we
6738           failed to open the module (i.e. failure to link).
6739           Avoids warnings on normal, working, non-plugin .so files.
6740
6741 2007-05-11  Stefan Kost  <ensonic@users.sf.net>
6742
6743         * gst/gstplugin.c (gst_plugin_load_file):
6744         * gst/gstregistry.c (GST_CAT_DEFAULT,
6745           gst_registry_lookup_feature_locked, gst_registry_scan_path_level):
6746           Print a g_warning if there was an error when loading a plugins during
6747           registry scan. The shuld help beginners starting with gst-plugin
6748           template.
6749
6750 2007-05-10  Wim Taymans  <wim@fluendo.com>
6751
6752         * plugins/elements/gstqueue.c: (gst_queue_class_init),
6753         (update_time_level), (gst_queue_locked_flush),
6754         (gst_queue_handle_sink_event), (gst_queue_chain),
6755         (gst_queue_push_one), (gst_queue_loop):
6756         * plugins/elements/gstqueue.h:
6757         Be smarter when calculating the current amount of data in the queue by
6758         measuring the difference between start and end timestamps (in running
6759         time) inside the queue. Fixes #432876.
6760         API: GstQueue::pushing to notify elements that we are pushing data again
6761         since the running signal is rather broken for this purpose.
6762
6763 2007-05-10  Stefan Kost  <ensonic@users.sf.net>
6764
6765         * plugins/elements/gstqueue.c (_do_init, gst_queue_signals,
6766           gst_queue_base_init, gst_queue_init):
6767           use GST_BOILERPLATE
6768
6769 2007-05-09  Sebastien Moutte  <sebastien@moutte.net>
6770
6771         * win32/common/libgstreamer.def:
6772         Add new exported functions.
6773         * win32/vs6/grammar.dsp:
6774         Use grammar pre-generated files.
6775
6776 2007-05-09  Tim-Philipp Müller  <tim at centricular dot net>
6777
6778         Based on patch by: Peter Kjellerstedt  <pkj at axis com>
6779
6780         * gst/Makefile.am:
6781         * gst/gstparse.c: (gst_parse_launchv), (gst_parse_launch):
6782         * gst/gstparse.h:
6783         * gst/gstutils.c: (gst_parse_bin_from_description):
6784         * gst/gstutils.h:
6785           Maintain API and ABI when --disable-parse is used. Now that
6786           we have an appropriate error code, we can just return NULL and the
6787           appropriate error when gst_parse_launch() is used despite it having
6788           been disabled (#342564).
6789
6790         * tests/check/Makefile.am:
6791         * tests/check/pipelines/.cvsignore:
6792         * tests/check/pipelines/parse-disabled.c:
6793           Make sure these functions exist and return NULL plus a GError when
6794           --disable-parse is used.
6795
6796 2007-05-09  Tim-Philipp Müller  <tim at centricular dot net>
6797
6798         * tests/benchmarks/complexity.c: (main):
6799         * tests/benchmarks/mass-elements.c: (main):
6800           Set a good example and don't leak messages.
6801
6802 2007-05-06  Stefan Kost  <ensonic@users.sf.net>
6803
6804         * docs/gst/Makefile.am:
6805         * docs/libs/Makefile.am:
6806           Correct fixxrefs options.
6807
6808         * docs/plugins/Makefile.am:
6809         * docs/plugins/gstreamer-plugins-docs.sgml:
6810         * docs/plugins/gstreamer-plugins-sections.txt:
6811         * plugins/elements/Makefile.am:
6812         * plugins/elements/gstcapsfilter.c (gst_capsfilter_details):
6813         * plugins/elements/gstcapsfilter.h (__GST_CAPSFILTER_H__,
6814           GST_TYPE_CAPSFILTER, GST_CAPSFILTER, GST_CAPSFILTER_CLASS,
6815           GST_IS_CAPSFILTER, GST_IS_CAPSFILTER_CLASS, GstCapsFilter,
6816           GstCapsFilterClass, _GstCapsFilter, trans, filter_caps,
6817           _GstCapsFilterClass, trans_class):
6818         * plugins/elements/gstelements.c (name, rank, type, _elements):
6819         * plugins/elements/gstidentity.c
6820           (gst_identity_check_imperfect_timestamp,
6821           gst_identity_check_imperfect_offset):
6822           Document capsfilter and add doc-blurb to identity.
6823
6824 2007-05-04  Tim-Philipp Müller  <tim at centricular dot net>
6825
6826         * libs/gst/controller/gstcontroller.c:
6827         (gst_controlled_property_set_interpolation_mode):
6828         * libs/gst/controller/gstinterpolation.c:
6829           Don't crash if someone tries to set an interpolation mode that
6830           is invalid or that isn't supported yet. Fixes #422295.
6831
6832         * tests/check/libs/controller.c: (GST_START_TEST),
6833         (gst_controller_suite):
6834           Add a test case for the above.
6835
6836 2007-05-03  Edward Hervey  <edward@fluendo.com>
6837
6838         * libs/gst/base/gstbasetransform.c: (gst_base_transform_chain):
6839         Properly set the last_stop position on GstSegment. This will only happen
6840         if there is a buffer to push out.
6841
6842 2007-05-03  Wim Taymans  <wim@fluendo.com>
6843
6844         * libs/gst/base/gstbasetransform.c:
6845         (gst_base_transform_buffer_alloc):
6846         always_in_place does not mean that the sink and source caps are the
6847         same! Make sure we don't blindly proxy the buffer_alloc in this case.
6848
6849 2007-05-03  Wim Taymans  <wim@fluendo.com>
6850
6851         * docs/libs/gstreamer-libs-sections.txt:
6852         * libs/gst/base/gstbasesrc.c: (gst_base_src_query_latency),
6853         (gst_base_src_default_query), (gst_base_src_get_range):
6854         * libs/gst/base/gstbasesrc.h:
6855         API: gst_base_src_query_latency(). Added method so that subclasses can
6856         easily get the latency values of the base source class.
6857
6858 2007-05-02  Zaheer Abbas Merali  <<zaheerabbas at merali dot org>>
6859
6860         * tools/gst-inspect.c (print_implementation_info):
6861         Remove 0.8 cruft.
6862
6863 2007-05-02  Tim-Philipp Müller  <tim at centricular dot net>
6864
6865         * tools/Makefile.am:
6866         * tools/gst-launch.1.in:
6867           Don't create a customised man page based on the host architecture,
6868           describe the default registry path generically. That way the man
6869           page is the same for all architectures and packagers have one
6870           multilib issue less to deal with. Fixes #434926.
6871
6872 2007-05-02  Wim Taymans  <wim@fluendo.com>
6873
6874         * gst/gstpad.c:
6875         Fix documentation as spotted by rg on IRC. 
6876
6877 2007-04-29  Stefan Kost  <ensonic@users.sf.net>
6878
6879         * gst/gstutils.c:
6880           Improve docs for gst_element_{link,unlink}.
6881
6882 2007-04-28  Tim-Philipp Müller  <tim at centricular dot net>
6883
6884         * docs/design/part-events.txt:
6885         * docs/design/part-overview.txt:
6886         * gst/gstevent.c:
6887         * gst/gsturi.c:
6888         * gst/gsturi.h:
6889         * libs/gst/base/gstbasesink.c:
6890           Typo fixes; minor docs addition.
6891
6892 2007-04-27  Sebastian Dröge  <slomo@circular-chaos.org>
6893
6894         * docs/gst/gstreamer-sections.txt:
6895         * gst/gsturi.c: (get_element_factories_from_uri_protocol),
6896         (gst_uri_protocol_is_supported), (gst_element_make_from_uri):
6897         * gst/gsturi.h:
6898         API: Add gst_uri_protocol_is_supported(), which checks if a sink
6899         or src that supports a given URI protocol exists.
6900
6901 2007-04-27  Sebastian Dröge  <slomo@circular-chaos.org>
6902
6903         * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
6904         * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
6905         Set the location to NULL if "file://" is set as URI. Otherwise
6906         some random previous URI would still be set if "file://" is
6907         set on an already used filesink/filesrc.
6908
6909 2007-04-27  Sebastian Dröge  <slomo@circular-chaos.org>
6910
6911         * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
6912         * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
6913         Special case the "file://" URI as as this is used by some
6914         applications to test with gst_element_make_from_uri if there's
6915         an element that supports the URI protocol.
6916         Also move the g_path_is_absolute() check for the location part
6917         of the URI to also check this for "file://localhost/bla" URIs.
6918
6919 2007-04-26  Tim-Philipp Müller  <tim at centricular dot net>
6920
6921         * docs/gst/gstreamer-sections.txt:
6922         * gst/gstbuffer.c: (gst_buffer_try_new_and_alloc):
6923         * gst/gstbuffer.h:
6924         * tests/check/gst/gstbuffer.c: (GST_START_TEST),
6925         (gst_buffer_suite):
6926           API: add gst_buffer_try_new_and_alloc() plus unit test (#431940).
6927
6928 2007-04-26  Stefan Kost  <ensonic@users.sf.net>
6929
6930         * gst/gstregistrybinary.c: (gst_registry_binary_write_cache),
6931         (gst_registry_binary_load_pad_template),
6932         (gst_registry_binary_load_plugin),
6933         (gst_registry_binary_read_cache):
6934         * gst/gstregistrybinary.h:
6935           Implement no-mmap alternative for registry reading. Do code cleanups.
6936           Add more comments about avoiding strdups for all text data. Comments
6937           welcome.
6938
6939 2007-04-25  Stefan Kost  <ensonic@users.sf.net>
6940
6941         * gst/gstregistrybinary.h (GstBinaryPluginElement,
6942           GstBinaryPluginFeature, _GstBinaryElementFactory, plugin_feature,
6943           GstBinaryElementFactory, _GstBinaryTypeFindFactory, plugin_feature):
6944           Comment structs and reformat to fix the build (that stuff should go
6945           into a priv. header).
6946
6947 2007-04-25  Stefan Kost  <ensonic@users.sf.net>
6948
6949         * gst/gstregistrybinary.c: (gst_registry_binary_save_feature),
6950         (gst_registry_binary_load_feature):
6951         * gst/gstregistrybinary.h:
6952           Refactor so that we can implement multiple features. Add support for
6953           TypeFindFactory features.
6954
6955 2007-04-24  Stefan Kost  <ensonic@users.sf.net>
6956
6957         Patch by: Peter Kjellerstedt <Peter.Kjellerstedt@axis.com>
6958
6959         * configure.ac:
6960           Fix AM_CONDITIONAL(GST_DISABLE_GST_DEBUG,...) and update comment.
6961
6962 2007-04-23  Stefan Kost  <ensonic@users.sf.net>
6963
6964         * gst/gstbin.c: (gst_bin_element_set_state),
6965         (iterator_activate_fold_with_resync), (gst_bin_continue_func),
6966         (bin_handle_async_done), (gst_bin_handle_message_func):
6967           Fix build with --gst-disable-gst-debug
6968
6969 2007-04-21  Tim-Philipp Müller  <tim at centricular dot net>
6970
6971         * libs/gst/base/gstbasetransform.c: (gst_base_transform_activate):
6972           Make sure streaming has finished before calling the ::stop() vfunc,
6973           since that vfunc might clear state which is being used in the
6974           streaming thread. This fixes a race that caused crashes in
6975           audioresample when shutting down a pipeline (#420106).
6976
6977 2007-04-20  Stefan Kost  <ensonic@users.sf.net>
6978
6979         * docs/gst/gstreamer-sections.txt:
6980           That was one byte missing.
6981
6982 2007-04-20  Stefan Kost  <ensonic@users.sf.net>
6983
6984         * configure.ac:
6985         * docs/gst/gstreamer-sections.txt:
6986         * gst/Makefile.am:
6987         * gst/gstconfig.h.in:
6988         * gst/gstobject.c: (gst_object_class_init),
6989         (gst_signal_object_class_init):
6990         * gst/gstobject.h:
6991           2nd attempt to have a xml-less build as a joined effort of #413123
6992           and #421480.
6993
6994 2007-04-20  Stefan Kost  <ensonic@users.sf.net>
6995
6996         * docs/design/draft-tagreading.txt:
6997           Added open issues/thoughts to draft.
6998
6999 2007-04-19  Sebastian Dröge  <slomo@circular-chaos.org>
7000
7001         * gst/parse/grammar.tab.pre.c:
7002         * gst/parse/grammar.tab.pre.h:
7003         * gst/parse/lex._gst_parse_yy.pre.c:
7004         Update the prebuild parser sources.
7005
7006 2007-04-19  Sebastian Dröge  <slomo@circular-chaos.org>
7007
7008         * gst/parse/Makefile.am:
7009         And now fix the building of the flex sources. Now everything should
7010         work as expected.
7011
7012 2007-04-19  Sebastian Dröge  <slomo@circular-chaos.org>
7013
7014         * gst/parse/Makefile.am:
7015         Now hopefully fix the build failures by setting proper rule
7016         dependencies and moving instead of copying.
7017
7018 2007-04-19  Stefan Kost  <ensonic@users.sf.net>
7019
7020         * tests/benchmarks/complexity.gnuplot:
7021         * tests/benchmarks/complexity.scm:
7022         * tests/benchmarks/mass-elements.gnuplot:
7023         * tests/benchmarks/mass-elements.scm:
7024           Total licensification.
7025
7026 2007-04-19  Stefan Kost  <ensonic@users.sf.net>
7027
7028         * gst/parse/Makefile.am:
7029           Fix the build by correcting the rule that gave wrong files to flex.
7030
7031 2007-04-19  Stefan Kost  <ensonic@users.sf.net>
7032
7033         * tests/benchmarks/complexity.c:
7034         * tests/benchmarks/mass-elements.c:
7035           Change licence to LGPL as granted by Benjamin and Andy.
7036
7037 2007-04-19  Sebastian Dröge  <slomo@circular-chaos.org>
7038
7039         * gst/parse/Makefile.am:
7040         Add correct grammar.tab.h dependency if compiling without new enough
7041         flex. Fixes #431150.
7042
7043 2007-04-18  Sebastian Dröge  <slomo@circular-chaos.org>
7044
7045         * gst/parse/Makefile.am:
7046         Fix typo and use outdated sources if the flex/bison sources are newer
7047         than the pregenerated ones but flex is too old. Print a warning in
7048         that case. This should fix the build on the build bot.
7049
7050 2007-04-18  Sebastian Dröge  <slomo@circular-chaos.org>
7051
7052         Patch by: Marc-Andre Lureau <marcandre dot lureau at gmail dot com>
7053         * gst/parse/Makefile.am:
7054         * gst/parse/grammar.y:
7055         * gst/parse/parse.l:
7056         Make the parser reentrant and recursively callable. This requires flex
7057         >= 2.5.31, for older versions pregenerated sources are used as we
7058         can't bump the build dependency. Finally fixes #349180.
7059
7060         * gst/gstparse.c: (gst_parse_launch):
7061         Drop the HAVE_MT_SAVE_FLEX #ifdefs as we always use a new enough flex
7062         now anyway.
7063
7064         * docs/gst/Makefile.am:
7065         * docs/gst/Makefile.am:
7066         * gst/parse/grammar.tab.pre.c: (__gst_parse_strdup),
7067         (__gst_parse_strfree), (__gst_parse_link_new),
7068         (__gst_parse_link_free), (__gst_parse_chain_new),
7069         (__gst_parse_chain_free), (SET_ERROR), (YYPRINTF),
7070         (gst_parse_element_set), (gst_parse_free_link),
7071         (gst_parse_found_pad), (gst_parse_perform_delayed_link),
7072         (gst_parse_perform_link), (yytnamerr), (yysyntax_error), (yyerror),
7073         (_gst_parse_launch):
7074         * gst/parse/grammar.tab.pre.h:
7075         * gst/parse/lex._gst_parse_yy.pre.c: (PRINT), (yy_get_next_buffer),
7076         (yy_get_previous_state), (yy_try_NUL_trans), (input),
7077         (_gst_parse_yyrestart), (_gst_parse_yy_switch_to_buffer),
7078         (_gst_parse_yy_load_buffer_state), (_gst_parse_yy_create_buffer),
7079         (_gst_parse_yy_delete_buffer), (_gst_parse_yy_init_buffer),
7080         (_gst_parse_yy_flush_buffer), (_gst_parse_yypush_buffer_state),
7081         (_gst_parse_yypop_buffer_state),
7082         (_gst_parse_yyensure_buffer_stack), (_gst_parse_yy_scan_buffer),
7083         (_gst_parse_yy_scan_string), (_gst_parse_yy_scan_bytes),
7084         (yy_fatal_error), (_gst_parse_yyget_extra),
7085         (_gst_parse_yyget_lineno), (_gst_parse_yyget_column),
7086         (_gst_parse_yyget_in), (_gst_parse_yyget_out),
7087         (_gst_parse_yyget_leng), (_gst_parse_yyget_text),
7088         (_gst_parse_yyset_extra), (_gst_parse_yyset_lineno),
7089         (_gst_parse_yyset_column), (_gst_parse_yyset_in),
7090         (_gst_parse_yyset_out), (_gst_parse_yyget_debug),
7091         (_gst_parse_yyset_debug), (_gst_parse_yyget_lval),
7092         (_gst_parse_yyset_lval), (_gst_parse_yylex_init),
7093         (yy_init_globals), (_gst_parse_yylex_destroy), (yy_flex_strncpy),
7094         (yy_flex_strlen), (_gst_parse_yyalloc), (_gst_parse_yyrealloc),
7095         (_gst_parse_yyfree):
7096         If the installed flex version is too old use pre-generated parser
7097         sources. These pre-generated parser sources are always updated when
7098         the actual flex/bison sources change but require everybody who wants
7099         to change something in the parser to have flex >= 2.5.31 installed.
7100
7101 2007-04-18  Stefan Kost  <ensonic@users.sf.net>
7102
7103         * common/m4/gst-gettext.m4:
7104         * gst/gst-i18n-lib.h:
7105           Make --disable-nls to work
7106
7107 2007-04-17  Wim Taymans  <wim@fluendo.com>
7108
7109         * gst/gstconfig.h.in:
7110         Revert previous change that broke the build.
7111
7112 2007-04-17  Stefan Kost  <ensonic@users.sf.net>
7113
7114         * configure.ac:
7115         * gst/Makefile.am:
7116         * gst/gstconfig.h.in:
7117           Drop libxml2 dependency when building with 
7118           --enable-binary-registry --disable-loadsave
7119
7120 2007-04-16  Tim-Philipp Müller  <tim at centricular dot net>
7121
7122         * gst/gstregistrybinary.c: (gst_registry_binary_write_cache),
7123         (gst_registry_binary_read_cache):
7124         * gst/gstregistrybinary.h:
7125           Remove unnecessary <sys/mman.h> include which broke the win32 build
7126           with MingW; move includes from header file to .c file, even if the
7127           header file isn't installed; use g_strerror() where UTF-8 strings
7128           are expected, such as in GST_DEBUG messages.
7129
7130 2007-04-13  Jan Schmidt  <thaytan@mad.scientist.com>
7131
7132         * docs/libs/gstreamer-libs-sections.txt:
7133         Remove bogus addition for API I didn't end up keeping.
7134
7135         * libs/gst/base/gstbasesrc.h:
7136         Mention Since: 0.10.13 in the documentation.
7137
7138         Add the API keyword to the previous ChangeLog entry.
7139
7140 2007-04-13  Jan Schmidt  <thaytan@mad.scientist.com>
7141
7142         * docs/libs/gstreamer-libs-sections.txt:
7143         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
7144         (gst_base_src_default_prepare_seek_segment),
7145         (gst_base_src_prepare_seek_segment), (gst_base_src_perform_seek):
7146         * libs/gst/base/gstbasesrc.h:
7147         Allow basesrc derived classes to execute seeks in other formats
7148         by providing a prepare_seek_segment vmethod. Sub-classes can choose
7149         to prepare the GstSegment in any format that their perform_seek method
7150         will be able to understand. The default implementation provides the
7151         old behaviour of attempting to convert the seek offsets to the 
7152         configured native format.
7153
7154         API: basesrc::prepare_seek_segment vmethod.
7155
7156 2007-04-13  Jan Schmidt  <thaytan@mad.scientist.com>
7157
7158         * gst/gstelement.c: (gst_element_get_state_func):
7159         Don't output the same debug statement twice.
7160
7161         * libs/gst/base/gstadapter.c: (gst_adapter_try_to_merge_up),
7162         (gst_adapter_peek), (gst_adapter_take_buffer):
7163         Optimise the case where we have buffers at the head of the queue that
7164         can be joined quickly (because they're contiguous sub-buffers) by
7165         merging them together rather than copying data out into new memory.
7166
7167         * gst/parse/grammar.y:
7168         * tests/check/pipelines/parse-launch.c:
7169         Fix a leak in an error path for parse_launch, and add a check 
7170         for it to the testsuite.
7171
7172 2007-04-13  Jan Schmidt  <thaytan@mad.scientist.com>
7173
7174         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_release_pad):
7175           Don't deadlock when releasing a pad - gst_pad_set_active may try
7176           and take the multiqueue lock too.
7177
7178 2007-04-12  Tim-Philipp Müller  <tim at centricular dot net>
7179
7180         * gst/gsterror.c: (_gst_core_errors_init):
7181         * gst/gsterror.h:
7182           API: add GST_CORE_ERROR_DISABLED (#392804).
7183
7184 2007-04-12  Thomas Vander Stichele  <thomas at apestaart dot org>
7185
7186         * docs/faq/gst-uninstalled:
7187           don't get empty paths on the PATH variables
7188         * gst/gstpad.c (gst_pad_is_active, gst_pad_set_blocked_async):
7189           Don't format for the uncommon terminal width of 84 characters.
7190
7191 2007-04-06  Wim Taymans  <wim@fluendo.com>
7192
7193         * gst/gstpipeline.c: (reset_stream_time),
7194         (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time):
7195         Only try to select a different pipeline clock when we went back to
7196         PAUSED and not when we merely got flushed.
7197
7198 2007-04-05  Michael Smith  <msmith@fluendo.com>
7199
7200         * tools/gst-launch.1.in:
7201           fractions are better supported in gstreamer than ractions, so
7202           suggest using those.
7203
7204 2007-04-05  Thomas Vander Stichele  <thomas at apestaart dot org>
7205
7206         Submitted by: Mogens Jaeger <mogens@jaeger.tf>
7207
7208         * po/LINGUAS:
7209         * po/da.po:
7210           Added Danish translation.
7211
7212 2007-04-05  Wim Taymans  <wim@fluendo.com>
7213
7214         * libs/gst/base/gstbasesink.c:
7215         (gst_base_sink_queue_object_unlocked), (gst_base_sink_event):
7216         Fix leak caused when refusing newsegment after EOS.
7217
7218         * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init),
7219         (gst_fake_sink_init), (gst_fake_sink_set_property),
7220         (gst_fake_sink_get_property), (gst_fake_sink_preroll),
7221         (gst_fake_sink_render), (gst_fake_sink_change_state):
7222         * plugins/elements/gstfakesink.h:
7223         Add num-buffers property to make the element generate EOS after a
7224         configurable amount of buffers.
7225         API: fakesink::num-buffers property.
7226
7227         * tests/check/elements/fakesink.c: (GST_START_TEST),
7228         (fakesink_suite):
7229         Fix GstBus leak in test.
7230         Test for fakesink num-buffers.
7231
7232 2007-04-05  Wim Taymans  <wim@fluendo.com>
7233
7234         * libs/gst/base/gstbasesink.c:
7235         (gst_base_sink_queue_object_unlocked), (gst_base_sink_event),
7236         (gst_base_sink_change_state):
7237         Don't accept anything after an EOS, return UNEXPECTED instead.
7238
7239         * tests/check/elements/fakesink.c: (GST_START_TEST),
7240         (fakesink_suite):
7241         Unit test for new EOS behaviour.
7242
7243 2007-04-05  Wim Taymans  <wim@fluendo.com>
7244
7245         * gst/gstelement.c: (gst_element_get_request_pad):
7246         Make padtemplates also work when they don't contain %s or %d.
7247
7248 2007-04-05  Wim Taymans  <wim@fluendo.com>
7249
7250         * docs/gst/gstreamer-sections.txt:
7251         * gst/gstclock.c: (gst_clock_adjust_unlocked),
7252         (gst_clock_unadjust_unlocked), (gst_clock_set_calibration):
7253         * gst/gstclock.h:
7254         Improve _adjust_unlocked() so that it overflows less.
7255         Add gst_clock_unadjust_unlocked to convert from external time to
7256         internal time based on calibration.
7257         Add some more debug.
7258         API: GstClock::gst_clock_unadjust_unlocked()
7259
7260 2007-04-03  Wim Taymans  <wim@fluendo.com>
7261
7262         Patch by: Tommi Myöhänen <ext-tommi dot myohanen at nokia dot com>
7263
7264         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_release_pad):
7265         Deactivate pads and free GstSingleQueue with gst_single_queue_free()
7266         when releasing sink pad. Fixes #425400.
7267
7268 2007-04-02  Stefan Kost  <ensonic@users.sf.net>
7269
7270         * docs/random/ensonic/dynlink.txt:
7271           More work on proposal for new core api.
7272
7273         * docs/libs/gstreamer-libs-sections.txt:
7274         * libs/gst/base/gstbasetransform.h:
7275           API: GST_BASE_TRANSFORM_LOCK/UNLOCK added
7276           
7277         * libs/gst/controller/gstcontroller.c:
7278         (on_object_controlled_property_changed),
7279         (gst_controller_sync_values),
7280         (gst_controller_set_interpolation_mode):
7281         * libs/gst/controller/gstcontroller.h:
7282           Less verbose logging add docs for unimplemented parts and correctly
7283           return when using unavailable parts.
7284
7285 2007-03-29  Jan Schmidt  <thaytan@mad.scientist.com>
7286
7287         * gst/gstclock.c: (gst_clock_set_master), (do_linear_regression):
7288         Move all the debug to the CLOCK category, and associate it with
7289         the clock object.
7290
7291 2007-03-29  Jan Schmidt  <thaytan@mad.scientist.com>
7292
7293         * libs/gst/base/gstadapter.c: (gst_adapter_take_buffer):
7294         Make take_buffer a bit quicker by removing redundant checks
7295         caused by calling gst_adapter_take.
7296
7297 2007-03-28  Tim-Philipp Müller  <tim at centricular dot net>
7298
7299         * plugins/elements/gstmultiqueue.c: (gst_single_queue_free):
7300           Don't leak GCond.
7301
7302         * tests/check/Makefile.am:
7303         * tests/check/elements/.cvsignore:
7304         * tests/check/elements/multiqueue.c: (setup_multiqueue),
7305         (GST_START_TEST), (multiqueue_suite):
7306           Add some dead simple unit tests for the 'multiqueue' element
7307           (some bits don't work yet and are disabled for now).
7308
7309 2007-03-28  Tim-Philipp Müller  <tim at centricular dot net>
7310
7311         * gst/gstelement.c: (gst_element_get_request_pad),
7312         (gst_element_class_get_request_pad_template):
7313           Make gst_element_get_request_pad() create request pads only for
7314           request pad templates and not for, say, sometimes pad templates.
7315
7316 2007-03-28  Stefan Kost  <ensonic@users.sf.net>
7317
7318         * docs/design/draft-klass.txt:
7319           Add example that needs more thinking.
7320         
7321         * docs/design/draft-missing-plugins.txt:
7322           More thoughts about wrapper plugins.
7323         
7324         * docs/random/ensonic/embedded.txt:
7325         * docs/random/ensonic/profiling.txt:
7326           More design work.
7327
7328 2007-03-25  Wim Taymans  <wim@fluendo.com>
7329
7330         * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range),
7331         (gst_base_src_loop):
7332         Only push the segment events in the PLAYING state for live sources.
7333
7334 2007-03-23  Jan Schmidt  <thaytan@mad.scientist.com>
7335
7336         * gst/gstpipeline.c: (gst_pipeline_change_state):
7337         Modify the clock distribution path in PAUSED->PLAYING so that we 
7338         never attempt to choose a new clock unless we're actually leaving
7339         the PAUSED state for the first time. This prevents choosing a
7340         different clock when the state_change gets called for a 2nd time due
7341         to some element doing an async state change.
7342
7343 2007-03-22  Sebastian Dröge  <slomo@circular-chaos.org>
7344
7345         * gst/gstpad.c: (gst_pad_set_caps), (gst_pad_configure_sink),
7346         (gst_pad_configure_src), (gst_pad_alloc_buffer_full),
7347         (gst_pad_chain_unchecked), (gst_pad_push):
7348         Revert last commit. This needs some more thoughts.
7349
7350 2007-03-22  Sebastian Dröge  <slomo@circular-chaos.org>
7351
7352         * gst/gstpad.c: (gst_pad_set_caps), (gst_pad_alloc_buffer_full),
7353         (gst_pad_chain_unchecked), (gst_pad_push):
7354         Check in set_caps if the caps are compatible with the pad and remove
7355         two functions that are redundant now. Fixes #421543.
7356
7357 2007-03-22  Wim Taymans  <wim@fluendo.com>
7358
7359         * tests/check/gst/gstsystemclock.c: (GST_START_TEST),
7360         (mixed_thread), (mixed_async_cb), (gst_systemclock_suite):
7361         Unref some more to make valgrind happy.
7362
7363 2007-03-22  Wim Taymans  <wim@fluendo.com>
7364
7365         * gst/gstsystemclock.c: (gst_system_clock_id_wait_jitter_unlocked),
7366         (gst_system_clock_id_wait_jitter),
7367         (gst_system_clock_id_wait_async), (gst_system_clock_id_unschedule):
7368         Fix anoying regression that survived a few releases. When adding an
7369         async entry while blocking on a sync entry, the sync entry will unblock
7370         but still be busy, so it should continue to wait instead of returning
7371         _BUSY to the app.
7372         Add some comments here and there.
7373
7374         * tests/check/gst/gstsystemclock.c: (mixed_thread),
7375         (mixed_async_cb), (GST_START_TEST), (gst_systemclock_suite):
7376         Add testcase for this.
7377
7378 2007-03-22  Wim Taymans  <wim@fluendo.com>
7379
7380         * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range):
7381         Handle errors from the clock sync better, only UNSCHEDULED indicates a
7382         WRONG_STATE and can silently pause the task. All other cases should
7383         error out.
7384
7385 2007-03-22  Wim Taymans  <wim@fluendo.com>
7386
7387         Patch by: Ville Syrjala <syrjala at sci dot fi>
7388
7389         * gst/gstpad.c: (gst_pad_alloc_buffer_full), (gst_pad_send_event):
7390         Fix possible deadlock if pad eventfunc is not specified.  Fixes #421177.
7391         Improve debugging.
7392
7393 2007-03-21  Michael Smith  <msmith@fluendo.com>
7394
7395         * docs/pwg/advanced-types.xml:
7396           Fix some errors in the typefinding docs pointed out on irc.
7397
7398 2007-03-21  Jan Schmidt  <thaytan@mad.scientist.com>
7399
7400         * libs/gst/base/gstbasesrc.c:
7401         Clarify FIXME comment in the face of having added unlock_stop()
7402
7403 2007-03-21  Wim Taymans  <wim@fluendo.com>
7404
7405         * gst/gstbin.c: (gst_bin_get_type), (gst_bin_element_set_state):
7406         Prepare for release where we warn against possible app breakage in the
7407         case of live pipelines along with an env var to enable/disable live
7408         preroll mode (GST_COMPAT=[no-]live-preroll).
7409
7410 2007-03-20  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
7411
7412         * plugins/elements/gstidentity.c (gst_identity_check_imperfect_offset):
7413         So we should use correct constants for checking for None offset.
7414
7415 2007-03-20  Wim Taymans  <wim@fluendo.com>
7416
7417         * docs/design/part-block.txt:
7418         Mention the fact that the newly switched element should be set to at
7419         least PAUSED.
7420
7421 2007-03-20  Wim Taymans  <wim@fluendo.com>
7422
7423         * gst/gst.c:
7424         Fix compilation with registry disabled as spotted by Saur.
7425
7426 2007-03-20  Wim Taymans  <wim@fluendo.com>
7427
7428         Patch by: Olivier Crete <tester at tester dot ca>
7429
7430         * gst/gstelement.c: (gst_element_sync_state_with_parent):
7431         Look at the pending state too when syncing the element state to the
7432         parent. Fixes #420133.
7433
7434 2007-03-19  Jan Schmidt  <thaytan@mad.scientist.com>
7435
7436         * libs/gst/base/gstbasesink.c: (gst_base_sink_set_flushing),
7437         (gst_base_sink_change_state):
7438         * libs/gst/base/gstbasesink.h:
7439         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
7440         (gst_base_src_default_event), (gst_base_src_unlock_stop),
7441         (gst_base_src_deactivate):
7442         * libs/gst/base/gstbasesrc.h:
7443         Add ::unlock_stop to basesrc and basesink. This allows an opportunity
7444         for sub-classes to correctly clear any state they set trying to
7445         unlock, such as clearing out unlock commands from a command fd.
7446         API: basesrc::unlock_stop
7447         API: basesink::unlock_stop
7448
7449         * plugins/elements/gstfdsink.c: (gst_fd_sink_class_init),
7450         (gst_fd_sink_render), (gst_fd_sink_unlock),
7451         (gst_fd_sink_unlock_stop):
7452         * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init),
7453         (gst_fd_src_init), (gst_fd_src_unlock), (gst_fd_src_unlock_stop),
7454         (gst_fd_src_create), (gst_fd_src_get_size), (gst_fd_src_do_seek):
7455
7456         Implement unlock_stop in fdsrc and fdsink.
7457         Implement seeking in fdsrc when a seekable fd is passed, as in
7458         gst-launch-0.10 fdsrc ! ... ! xvimagesink < /path/to/file
7459
7460 2007-03-19  Wim Taymans  <wim@fluendo.com>
7461
7462         Patch by: Evan Nemerson <evan at coeus dash group dot com>
7463
7464         * gst/gstelement.c: (gst_element_class_init):
7465         Fix pad-added and pad-removed signal signatures so that the pad type is
7466         stated as GST_TYPE_PAD instead of G_TYPE_OBJECT. Fixes #419851.
7467
7468 2007-03-19  Wim Taymans  <wim@fluendo.com>
7469
7470         * docs/gst/gstreamer-sections.txt:
7471         Add new element field and method.
7472
7473         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
7474         (bin_remove_messages), (gst_bin_add_func), (gst_bin_remove_func),
7475         (gst_bin_recalc_state), (gst_bin_get_state_func),
7476         (gst_bin_element_set_state), (gst_bin_change_state_func),
7477         (gst_bin_continue_func), (bin_bus_handler),
7478         (bin_push_state_continue), (bin_handle_async_start),
7479         (bin_handle_async_done), (gst_bin_handle_message_func):
7480         Make async state changes a bit smarter by using new ASYNC_START and
7481         ASYNC_DONE messages. This reduces the number of times we run the state
7482         recalculation thread.
7483         Don't change state of element with a pending ASYNC_START message.
7484         Deprecate STATE_DIRTY messages.
7485         
7486         * gst/gstelement.c: (gst_element_init), (gst_element_send_event),
7487         (gst_element_get_state_func), (gst_element_continue_state),
7488         (gst_element_lost_state), (gst_element_set_state_func),
7489         (gst_element_change_state):
7490         * gst/gstelement.h:
7491         Keep the state that was last set by the app in a new element field.
7492         Don't allow state changes when handling an element event.
7493         Post ASYNC_START and ASYNC_DONE messages.
7494         Change lost_state so that we go to PAUSED and wait for the parent to set
7495         us to PLAYING again (so latency calculation can be performed)
7496         Export gst_element_change_state() method so that subclasses can use it.
7497         API: gst_element_change_state()
7498         API: GST_STATE_TARGET
7499
7500         * gst/gstpipeline.c: (gst_pipeline_class_init),
7501         (reset_stream_time), (gst_pipeline_change_state),
7502         (gst_pipeline_handle_message), (gst_pipeline_set_new_stream_time):
7503         Using the new ASYNC_START message we can reset the base_time when
7504         needed. This can then be used to implement base_time redistribution in
7505         flushing seeks so that we can remove the explicit seek handling.
7506         Perform latency query and configuration when going to PLAYING.
7507
7508         * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
7509         (gst_base_sink_query), (gst_base_sink_change_state):
7510         Post new ASYNC_START/ASYNC_DONE messages.
7511
7512         * tests/check/generic/sinks.c: (GST_START_TEST):
7513         Fix test because the bin will not set the async element to PLAYING right
7514         away.
7515
7516         * tests/check/gst/gstbin.c: (pop_async_done), (GST_START_TEST):
7517         Make the message check a little stronger.
7518         Handle ASYNC messages.
7519
7520         * tests/check/pipelines/cleanup.c: (GST_START_TEST):
7521         * tests/check/pipelines/simple-launch-lines.c: (GST_START_TEST):
7522         Expect ASYNC_DONE messages.
7523
7524 2007-03-19  Wim Taymans  <wim@fluendo.com>
7525
7526         * docs/gst/gstreamer-sections.txt:
7527         * gst/gstmessage.c: (gst_message_new_async_start),
7528         (gst_message_new_async_done), (gst_message_parse_info),
7529         (gst_message_parse_async_start):
7530         * gst/gstmessage.h:
7531         Add ASYNC_START and ASYNC_DONE messages to prepare for latency
7532         support.
7533
7534 2007-03-15  Tim-Philipp Müller  <tim at centricular dot net>
7535
7536         * tools/gst-inspect.c:
7537         (print_plugin_automatic_install_info_codecs):
7538           Now that we don't check for the 'Codec' keyword any longer in the
7539           klass, we shouldn't spew a warning if the klass isn't a decoder or
7540           encoder (since it might be a Source/Network, for example).
7541
7542 2007-03-14  Tim-Philipp Müller  <tim at centricular dot net>
7543
7544         * tools/gst-inspect.c:
7545         (print_plugin_automatic_install_info_codecs):
7546           Don't require decoder/demuxer/depayloader elements or
7547           encoder/muxer/paylader elements to have 'Codec' as part of their
7548           factory class string when introspecting a plugin's capabilities.
7549           draft-klass.txt mentions that it might be removed in future, and
7550           flump3dec doesn't have it as part of its class string, so chances
7551           are others might also not have it.
7552
7553 2007-03-14  Thomas Vander Stichele  <thomas at apestaart dot org>
7554
7555         * po/af.po:
7556         * po/az.po:
7557         * po/bg.po:
7558         * po/ca.po:
7559         * po/cs.po:
7560         * po/de.po:
7561         * po/en_GB.po:
7562         * po/fr.po:
7563         * po/it.po:
7564         * po/nb.po:
7565         * po/nl.po:
7566         * po/ru.po:
7567         * po/sq.po:
7568         * po/sr.po:
7569         * po/sv.po:
7570         * po/tr.po:
7571         * po/uk.po:
7572         * po/vi.po:
7573         * po/zh_CN.po:
7574         * po/zh_TW.po:
7575           Update translations from translation project
7576
7577 2007-03-14  Stefan Kost  <ensonic@users.sf.net>
7578
7579         * gst/gstchildproxy.c: (gst_child_proxy_get_property),
7580         (gst_child_proxy_set_property):
7581           Invert precondition check to be alike the ones in the mimiced gobject
7582           api.
7583
7584 2007-03-13  Stefan Kost  <ensonic@users.sf.net>
7585
7586         * docs/design/draft-tagreading.txt:
7587         * docs/random/ensonic/audiobaseclasses.txt:
7588           Do some Architect work.
7589
7590         * gst/gstobject.c: (gst_object_set_name):
7591           Add a WARNING.
7592
7593         * gst/gstpad.c:
7594           Add docs that point from gst_pad_get_range to gst_pad_pull_range
7595
7596 2007-03-12  Jan Schmidt  <thaytan@mad.scientist.com>
7597
7598         * gst/gstsystemclock.c: (gst_system_clock_init),
7599         (gst_system_clock_start_async), (gst_system_clock_id_wait_async):
7600         Defer starting the async system clock thread until the first async
7601         wait is scheduled. Fixes #414986.
7602
7603 2007-03-12  Tim-Philipp Müller  <tim at centricular dot net>
7604
7605         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_finalize),
7606         (gst_single_queue_free):
7607           Fix small leak (free GstSingleQueue structure too, not only contents).
7608
7609 2007-03-10  Sebastien Moutte  <sebastien@moutte.net>
7610
7611         * gst/gstbin.c:(gst_bin_add):
7612         Use GST_STR_NULL to prevent NULL pointer to be passed to GST_CAT_DEBUG.
7613         * win32/common/libgstbase.def:
7614         * win32/common/libgstreamer.def:
7615         Add new exported functions.
7616
7617 2007-03-09  Wim Taymans  <wim@fluendo.com>
7618
7619         * docs/plugins/gstreamer-plugins-sections.txt:
7620         Fix GstTee docs.
7621
7622 2007-03-09  Wim Taymans  <wim@fluendo.com>
7623
7624         * docs/gst/gstreamer-sections.txt:
7625         * gst/gstbuffer.c: (gst_buffer_copy_metadata), (_gst_buffer_copy):
7626         * gst/gstbuffer.h:
7627         Add metadata copy functions. Fixes #393099.
7628         API: gst_buffer_copy_metadata()
7629
7630         * gst/gstutils.c: (gst_buffer_stamp):
7631         * libs/gst/base/gstbasetransform.c:
7632         (gst_base_transform_prepare_output_buffer):
7633         Use new metadata copy functions.
7634
7635 2007-03-09  Thomas Vander Stichele  <thomas at apestaart dot org>
7636
7637         * plugins/elements/gstidentity.c: (gst_identity_class_init),
7638         (gst_identity_init), (gst_identity_check_perfect),
7639         (gst_identity_check_imperfect_timestamp),
7640         (gst_identity_check_imperfect_offset), (gst_identity_transform_ip),
7641         (gst_identity_set_property), (gst_identity_get_property):
7642         * plugins/elements/gstidentity.h:
7643         Separate out check-imperfect-timestamp and check-imperfect-offset.
7644         Put back check-perfect as it was to keep compatibility.
7645
7646 2007-03-09  Jan Schmidt  <thaytan@mad.scientist.com>
7647
7648         * gst/gstelement.c: (gst_element_dispose):
7649         There's no need to warn if VOID_PENDING is not NONE here, as
7650         long as the state is NULL it's ok, and that's checked immediately
7651         above.
7652
7653 2007-03-08  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
7654
7655         * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
7656         Fix check for perfect stream to ignore buffers with -1 
7657         offsets/offset ends when checking data contiguity.
7658
7659 2007-03-08  Wim Taymans  <wim@fluendo.com>
7660
7661         * tools/gst-launch.c: (event_loop):
7662         Print INFO messages.
7663
7664 2007-03-08  Wim Taymans  <wim@fluendo.com>
7665
7666         * libs/gst/base/gstbasetransform.c:
7667         (gst_base_transform_sink_eventfunc),
7668         (gst_base_transform_handle_buffer), (gst_base_transform_chain),
7669         (gst_base_transform_activate):
7670         * libs/gst/base/gstbasetransform.h:
7671         Add support for dropping buffers with custom GstFlowReturn.
7672         Set DISCONT flags on outgoing buffers based on QoS, incomming DISCONT
7673         buffers or dropped buffers.
7674
7675         * docs/libs/gstreamer-libs-sections.txt:
7676         docs for new custom return code.
7677
7678         * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
7679         Use drop support in base class to implement drop-probability.
7680
7681 2007-03-07  Tim-Philipp Müller  <tim at centricular dot net>
7682
7683         * gst/gst.c: (load_plugin_func):
7684         * gst/gstplugin.c: (gst_plugin_load_by_name), (gst_plugin_load):
7685         * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
7686         * gst/gsttrace.c: (gst_trace_new), (gst_alloc_trace_set_flags_all):
7687           Remove newlines at end of debug log strings.
7688
7689 2007-03-07  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
7690
7691         * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
7692         Only post bus message at max, once per buffer received.
7693
7694 2007-03-07  Wim Taymans  <wim@fluendo.com>
7695
7696         * docs/design/Makefile.am:
7697         * docs/design/part-synchronisation.txt:
7698         Add doc about synchronisation
7699
7700         * docs/design/draft-latency.txt:
7701         * docs/design/part-TODO.txt:
7702         * docs/design/part-clocks.txt:
7703         * docs/design/part-events.txt:
7704         * docs/design/part-gstbus.txt:
7705         * docs/design/part-gstpipeline.txt:
7706         * docs/design/part-live-source.txt:
7707         * docs/design/part-messages.txt:
7708         * docs/design/part-overview.txt:
7709         * docs/design/part-streams.txt:
7710         * docs/design/part-trickmodes.txt:
7711         Documentation updates.
7712
7713 2007-03-07  Jan Schmidt  <thaytan@mad.scientist.com>
7714
7715         * gstreamer.doap:
7716         Update the doap file.
7717
7718 2007-03-07  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
7719
7720         * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
7721         Rename non-perfect to imperfect for Mike and for the sanctity of the
7722         language.
7723         Also make sure bus message gets emitted for data-incontiguities.
7724
7725 2007-03-07  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
7726
7727         * plugins/elements/gstidentity.c: (gst_identity_check_perfect),
7728         (gst_identity_start):
7729         * plugins/elements/gstidentity.h:
7730         Emit bus message if check-perfect is true and we encounter a
7731         non-perfect stream between 2 consecutive buffers.
7732         Fixes #415394.
7733
7734 2007-03-07  Jan Schmidt  <thaytan@mad.scientist.com>
7735
7736         * configure.ac:
7737         Back to CVS
7738
7739 === release 0.10.12 ===
7740
7741 2007-03-07  Jan Schmidt <thaytan@mad.scientist.com>
7742
7743         * configure.ac:
7744           releasing 0.10.12, "Inevitable Demise"
7745
7746 2007-03-01  Jan Schmidt  <thaytan@mad.scientist.com>
7747
7748         * configure.ac:
7749          Version 0.10.11.2 (0.10.12 pre-release)
7750          Bump libtool versioning.
7751
7752 2007-03-01  Stefan Kost  <ensonic@users.sf.net>
7753
7754         * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
7755           Log flow-names and not numbers.
7756
7757 2007-02-28  Thomas Vander Stichele  <thomas at apestaart dot org>
7758
7759         * configure.ac:
7760           Convert to new AG_GST style.
7761
7762 2007-02-28  Wim Taymans  <wim@fluendo.com>
7763
7764         * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency):
7765         Don't unref query twice.
7766
7767 2007-02-28  Wim Taymans  <wim@fluendo.com>
7768
7769         * gst/gstvalue.c: (gst_value_transform_object_string),
7770         (_gst_value_initialize):
7771         Implement GstObject -> string transform so we print object names
7772         when serializing GValues containing GstObjects.
7773
7774 2007-02-28  Wim Taymans  <wim@fluendo.com>
7775
7776         * docs/gst/gstreamer-sections.txt:
7777         Add new stuff to docs.
7778
7779 2007-02-28  Wim Taymans  <wim@fluendo.com>
7780
7781         * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency),
7782         (gst_base_sink_queue_object_unlocked), (gst_base_sink_send_event),
7783         (gst_base_sink_change_state):
7784         Improve latency query code.
7785         Don't leak latency events.
7786
7787         * tests/check/gst/gstbin.c: (GST_START_TEST):
7788         Improve debugging.
7789
7790 2007-02-28  Wim Taymans  <wim@fluendo.com>
7791
7792         * gst/gstelement.c: (gst_element_message_full),
7793         (gst_element_get_state_func):
7794         * gst/gstelement.h:
7795         Improve docs a little. Added Since: for new macro.
7796
7797         * gst/gstobject.c: (gst_object_sink):
7798         * gst/gstpipeline.c: (gst_pipeline_change_state),
7799         (gst_pipeline_set_new_stream_time):
7800         * gst/gstpipeline.h:
7801         Improve debugging and docs.
7802
7803         * gst/gstutils.c: (gst_element_state_change_return_get_name):
7804         Improve debugging.
7805
7806 2007-02-28  Wim Taymans  <wim@fluendo.com>
7807
7808         * gst/gstelement.c: (gst_element_message_full),
7809         (gst_element_set_locked_state), (gst_element_get_state_func),
7810         (gst_element_change_state):
7811         Handle INFO messages from the GST_ELEMENT_INFO macro as well.
7812         Documentation updates.
7813         Small code cleanups.
7814
7815         * gst/gstmessage.c: (gst_message_new_info),
7816         (gst_message_parse_info):
7817         * gst/gstmessage.h:
7818         API: gst_message_new_info()
7819         API: gst_message_parse_info()
7820         Add INFO message create and parse code.
7821
7822 2007-02-28  Wim Taymans  <wim@fluendo.com>
7823
7824         * gst/gstbin.c: (bin_query_min_max_init), (bin_query_latency_fold),
7825         (bin_query_latency_done):
7826         Also report the live parameter of a latency query.
7827
7828 2007-02-28  Thomas Vander Stichele  <thomas at apestaart dot org>
7829
7830         * tests/check/generic/states.c: (GST_START_TEST), (states_suite):
7831           Copy the current generic/states example from -base and adapt so
7832           we can use the exact same code everywhere.
7833           Check a STATES_IGNORE_ELEMENTS env var which can be used
7834           to ignore certain element factories for this test, which is
7835           what is being done in -base
7836         * tests/check/Makefile.am:
7837           Mention this environment variable.
7838
7839 2007-02-27  Wim Taymans  <wim@fluendo.com>
7840
7841         * docs/gst/gstreamer-sections.txt:
7842         * gst/gstbus.c: (gst_bus_init), (gst_bus_dispose), (gst_bus_post),
7843         (gst_bus_timed_pop), (gst_bus_pop):
7844         * gst/gstbus.h:
7845         API: gst_bus_timed_pop()
7846         Implement gst_bus_timed_pop() to do a blocking timed wait for a
7847         message to arrive on the bus.
7848
7849         * tests/check/gst/gstbus.c: (GST_START_TEST), (pop_thread),
7850         (gst_bus_suite):
7851         Two unit tests for new _timed_pop() function.
7852
7853 2007-02-23  Wim Taymans  <wim@fluendo.com>
7854
7855         * gst/gstpipeline.c: (gst_pipeline_change_state),
7856         (gst_pipeline_provide_clock_func), (gst_pipeline_set_delay):
7857         Don't ref a NULL clock in _provide_clock_func().
7858         Don't allow an INVALID delay.
7859         Don't try to calculate base_time with an invalid start_time.
7860         Also distribute and notify a NULL clock when it was selected.
7861
7862         * tools/gst-launch.c: (event_loop):
7863         Don't crash when a NULL clock was selected in the pipeline.
7864
7865 2007-02-23  Tim-Philipp Müller  <tim at centricular dot net>
7866
7867         * docs/design/Makefile.am:
7868         * docs/design/draft-missing-plugins.txt:
7869         * docs/random/draft-missing-plugins.txt:
7870           Some small updates: update plugin system identifier prefix
7871           ('gstreamer.net' to 'gstreamer'), mention our new install
7872           API in libgstbaseutils rather than libgimme-codec, add
7873           reference to the online docs.
7874
7875 2007-02-21  Thomas Vander Stichele  <thomas at apestaart dot org>
7876
7877         * win32/common/config.h:
7878           Pretty sure Bill never made a powerpc version.  Powerpc hackers,
7879           use moap cl ci to only check in what is mentioned in the ChangeLog.
7880
7881 2007-02-21  Thomas Vander Stichele  <thomas at apestaart dot org>
7882
7883         * docs/gst/gstreamer-sections.txt:
7884         * gst/gstelement.h:
7885           Fix up documentation to link to the correct GstGError section.
7886           Add GST_ELEMENT_INFO macro since someone else added a Info message.
7887
7888 2007-02-21  Thomas Vander Stichele  <thomas at apestaart dot org>
7889
7890         * tools/gst-launch.c: (event_loop):
7891           Make sure that we actually show the important message part of a
7892           warning message.
7893           No need to check if the gerror is not NULL to free; first of all
7894           g_free accepts NULL; and second the default error handler would
7895           segfault if gerror was NULL.
7896
7897 2007-02-21  Wim Taymans  <wim@fluendo.com>
7898
7899         * docs/gst/gstreamer-sections.txt:
7900         Removed docs as well.
7901
7902 2007-02-21  Wim Taymans  <wim@fluendo.com>
7903
7904         * gst/gstmessage.c: (gst_message_parse_duration):
7905         * gst/gstmessage.h:
7906         Remove new messages for release.
7907
7908 2007-02-20  Wim Taymans  <wim@fluendo.com>
7909
7910         * docs/design/part-gstghostpad.txt:
7911         * gst/gstghostpad.c: (gst_ghost_pad_dispose),
7912         (gst_ghost_pad_new_full):
7913         Make the ghostpad a parent of the internal pad again for better backward
7914         compatibility. Don't write code that relies on this however.
7915
7916         * gst/gstpad.c: (gst_pad_activate_pull), (gst_pad_activate_push),
7917         (gst_pad_link_check_hierarchy):
7918         Require that parents should be GstElements in the hierarchy check.
7919
7920 2007-02-20  Wim Taymans  <wim@fluendo.com>
7921
7922         * gst/gstbin.c: (bin_replace_message), (gst_bin_add_func),
7923         (gst_bin_change_state_func), (bin_query_min_max_init),
7924         (bin_query_latency_fold), (bin_query_latency_done),
7925         (gst_bin_query):
7926         Improve debug info.
7927         Implement latency query.
7928
7929 2007-02-20  Wim Taymans  <wim@fluendo.com>
7930
7931         * docs/design/part-gstghostpad.txt:
7932         * gst/gstghostpad.c: (gst_ghost_pad_class_init),
7933         (gst_ghost_pad_internal_do_activate_push),
7934         (gst_ghost_pad_internal_do_activate_pull),
7935         (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
7936         (gst_ghost_pad_do_link), (gst_ghost_pad_dispose),
7937         (gst_ghost_pad_new_full), (gst_ghost_pad_set_target):
7938         Do not set the internal pad as a parent anymore so we can avoid
7939         hierarchy linking errors when the ghostpad has no parent yet. This also
7940         fixes failed activation because of unlinked internal pads, which in
7941         turn fixes the impossible case where you have to activate a pad before
7942         you can add it to a running element.
7943         Also fix the docs.
7944
7945         * gst/gstpad.c: (pre_activate), (post_activate),
7946         (gst_pad_set_active), (gst_pad_activate_pull),
7947         (gst_pad_activate_push), (gst_pad_check_pull_range):
7948         Add some more debug info.
7949         Mark activation mode in pre_activate so that we don't try to activate in
7950         endless loops. Fixes #385084.
7951
7952 2007-02-19  Wim Taymans  <wim@fluendo.com>
7953
7954         * libs/gst/base/gstbasetransform.c: (gst_base_transform_init),
7955         (gst_base_transform_check_get_range):
7956         Implement a checkgetrange function instead of relying on the default
7957         core behaviour that assumes we can operate in pull mode if we have a
7958         getrange function. First step at fixing #385084.
7959
7960 2007-02-15  Stefan Kost  <ensonic@users.sf.net>
7961
7962         * gst/gstchildproxy.h:
7963         * libs/gst/base/gstbasesink.h:
7964         * libs/gst/base/gstbasesrc.h:
7965         * libs/gst/base/gstbasetransform.h:
7966         More docs coverage and some ChangeLog surgery (add missing names)
7967
7968 2007-02-15  Wim Taymans  <wim@fluendo.com>
7969
7970         * docs/design/part-TODO.txt:
7971         * docs/design/part-activation.txt:
7972         * docs/design/part-block.txt:
7973         * docs/design/part-buffering.txt:
7974         * docs/design/part-clocks.txt:
7975         * docs/design/part-element-source.txt:
7976         * docs/design/part-events.txt:
7977         * docs/design/part-gstbin.txt:
7978         * docs/design/part-gstbus.txt:
7979         * docs/design/part-gstpipeline.txt:
7980         * docs/design/part-live-source.txt:
7981         * docs/design/part-messages.txt:
7982         * docs/design/part-overview.txt:
7983         * docs/design/part-qos.txt:
7984         * docs/design/part-query.txt:
7985         * docs/design/part-states.txt:
7986         * docs/design/part-trickmodes.txt:
7987         Some doc updates. Start renaming from stream_time to running_time where
7988         it was used wrongly.
7989
7990 2007-02-15  Wim Taymans  <wim@fluendo.com>
7991
7992         * libs/gst/base/gstbasesrc.c: (gst_base_src_default_query):
7993         Answer LATENCY query.
7994
7995 2007-02-15  Wim Taymans  <wim@fluendo.com>
7996
7997         * tests/check/gst/gstevent.c: (event_probe), (test_event),
7998         (GST_START_TEST):
7999         Improve debugging.
8000
8001 2007-02-15  Wim Taymans  <wim@fluendo.com>
8002
8003         * gst/gstpad.c: (gst_pad_get_internal_links_default),
8004         (gst_pad_dispatcher):
8005         Improve debugging of default pad dispatcher and query functions.
8006
8007 2007-02-15  Wim Taymans  <wim@fluendo.com>
8008
8009         * docs/gst/gstreamer-sections.txt:
8010         Remove old unused method.
8011
8012 2007-02-13  Wim Taymans  <wim@fluendo.com>
8013
8014         * tests/check/gst/gstsegment.c: (GST_START_TEST):
8015         Fix check
8016
8017 2007-02-13  Wim Taymans  <wim@fluendo.com>
8018
8019         * docs/design/part-seeking.txt:
8020         Some small update.
8021
8022         * gst/gstsegment.c: (gst_segment_set_seek):
8023         Revert old bogus change that should make seeking work again.
8024
8025 2007-02-13  Stefan Kost  <ensonic@users.sf.net>
8026
8027         * docs/random/ensonic/dynlink.txt:
8028         * docs/random/ensonic/interfaces.txt:
8029         * docs/random/ensonic/receipies.txt:
8030           Possible dynamic reconnection api, plus some type fixes the other two
8031           docs.
8032
8033 2007-02-13  Sebastian Dröge  <slomo@circular-chaos.org>
8034
8035         * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
8036         * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
8037         Also check for an absolute path following file:// in the filesrc
8038         element. Remove redundant check and call g_path_is_absolute() on the
8039         unescaped location.
8040
8041 2007-02-13  Stefan Kost  <ensonic@users.sf.net>
8042
8043         * docs/design/draft-klass.txt:
8044           Add existing category analysis.
8045           
8046         * gst/gstcaps.c:
8047           Fix doc example, framerate is a fraction.
8048
8049 2007-02-12  Stefan Kost  <ensonic@users.sf.net>
8050
8051         * configure.ac:
8052         * docs/gst/Makefile.am:
8053         * docs/gst/gstreamer-sections.txt:
8054         * docs/libs/Makefile.am:
8055           Erm, forgot a bunch of --extra-dir.
8056
8057 2007-02-12  Stefan Kost  <ensonic@users.sf.net>
8058
8059         * configure.ac:
8060         * docs/gst/Makefile.am:
8061         * docs/libs/Makefile.am:
8062         * docs/plugins/Makefile.am:
8063           Add crossreferences to glib/gobject docs.
8064
8065 2007-02-12  Wim Taymans  <wim@fluendo.com>
8066
8067         * docs/design/draft-latency.txt:
8068         Small update.
8069
8070         * docs/libs/gstreamer-libs-sections.txt:
8071         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
8072         (gst_base_sink_get_latency), (gst_base_sink_query_latency),
8073         (gst_base_sink_wait_clock), (gst_base_sink_send_qos),
8074         (gst_base_sink_perform_qos), (gst_base_sink_queue_object_unlocked),
8075         (gst_base_sink_chain_unlocked), (gst_base_sink_send_event),
8076         (gst_base_sink_get_position), (gst_base_sink_query),
8077         (gst_base_sink_change_state):
8078         * libs/gst/base/gstbasesink.h:
8079         API: gst_base_sink_query_latency() to let subclasses query the upstream
8080         latency.
8081         API: gst_base_sink_get_latency() to let subclasses query the configured
8082         latency in the sink.
8083         Implement query and set latency.
8084         Update some docs.
8085         As spotted by Will Newton <will dot newton at gmail dot com>: Make sure we
8086         don't continue preroll when we are flushing. Fixes #405284.
8087
8088         * tests/check/pipelines/stress.c: (change_state_timeout),
8089         (quit_timeout), (GST_START_TEST), (stress_suite):
8090         Test for #405284.
8091
8092 2007-02-09  Tim-Philipp Müller  <tim at centricular dot net>
8093
8094         Patch by: René Stadler <mail at renestadler de>
8095
8096         * docs/gst/gstreamer-sections.txt:
8097         * gst/gsttaglist.c: (_gst_tag_initialize):
8098         * gst/gsttaglist.h:
8099           API: add GST_TAG_REFERENCE_LEVEL (#403597).
8100
8101 2007-02-11  Stefan Kost  <ensonic@users.sf.net>
8102
8103         * docs/libs/Makefile.am:
8104           Fix path to core docs.
8105
8106         * gst/gstbin.c: (gst_bin_get_by_interface),
8107         (gst_bin_iterate_all_by_interface):
8108           Refix docs by also renaming 'interface' to 'iface' in implementation.
8109
8110         * docs/gst/gstreamer-sections.txt:
8111         * gst/gstcaps.c:
8112         * gst/gstchildproxy.c: (gst_child_proxy_base_init):
8113         * gst/gstchildproxy.h:
8114         * gst/gstelementfactory.c:
8115         * gst/gstpadtemplate.h:
8116         * libs/gst/controller/gstcontroller.c:
8117         (gst_controlled_property_new):
8118           Document more.
8119
8120 2007-02-10  Sébastien Moutte  <sebastien@moutte.net>
8121
8122         * gst/gstbin.h:(gst_bin_get_by_interface),
8123         (gst_bin_iterate_all_by_interface):
8124         Replace interface parameter name by iface as interface is 
8125         a reserved keyword in Visual Studio for C++ projects so it removes
8126         a build error for application developpers using VS.
8127         * plugins/elements/gstfilesrc.c:(gst_file_src_uri_set_uri):
8128         Fix a bug on Windows in uri format check. Now the prefix checked
8129         is file:// and next we check if the path after file:// is absolute.
8130         * win32/common/libgstbase.def:
8131         * win32/common/libgstdataprotocol.def:
8132         * win32/common/libgstgstreamer.def:
8133         Add new exported functions.
8134
8135 2007-02-09  Andy Wingo  <wingo@pobox.com>
8136
8137         * tests/check/pipelines/simple-launch-lines.c
8138         (simple_launch_lines_suite, test_tee): Disable tee test until I
8139         have time to fix it :-(
8140
8141         * tests/check/Makefile.am (noinst_HEADERS): 
8142         * tests/check/libs/libsabi.c: 
8143         * tests/check/libs/struct_ppc32.h: Add ABI checks for PPC32.
8144         * tests/check/gst/gstabi.c: 
8145         * tests/check/gst/struct_ppc32.h: Add ABI checks for PPC32.
8146
8147         * tests/check/pipelines/simple-launch-lines.c (test_tee): Add
8148         tests for push and pull tee behavior.
8149
8150         * plugins/elements/gsttee.h: 
8151         * plugins/elements/gsttee.c: Describe has-sink-loop better, and
8152         mark as deprecated as well as unimplemented. It was a crack idea.
8153         Add support for tee operating in pull mode, off by default.
8154
8155         * gst/gstregistryxml.c (load_feature, load_plugin): Drop some
8156         normal-case logs down to LOG, raise errors to WARNING.
8157         (gst_registry_xml_read_cache): Don't log before calling a function
8158         that logs.
8159
8160         * gst/gstregistry.c (gst_registry_finalize): Less debug on program
8161         exit (registry finalize).
8162         (gst_registry_add_plugin, gst_registry_add_feature): No need for a
8163         DEBUG log when we emit signals that people don't even have the
8164         chance to connect to.
8165         (gst_registry_scan_path_level): Less logging in the normal case.
8166
8167 2007-02-05  Sebastian Dröge  <slomo@circular-chaos.org>
8168
8169         Patch by: Michal Benes <michal dot benes at itonis dot tv>
8170
8171         * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
8172         Correctly generate EOS for non-seekable files. We don't have a total
8173         length for them and would get an unexpected end of file if we only
8174         special-cased for regular files. (Fixes: #404569)
8175
8176 2007-02-05  Sebastian Dröge  <slomo@circular-chaos.org>
8177
8178         * tests/check/elements/filesrc.c: (GST_START_TEST),
8179         (filesrc_suite):
8180         Add unit test for the GstURIHandler interface in filesrc. This also
8181         tests the newly added file://localhost/foo/bar support.
8182
8183 2007-02-04  Tim-Philipp Müller  <tim at centricular dot net>
8184
8185         * gst/gstelementfactory.h:
8186           The klass string is not a hierarchy. Add reference to the design doc
8187           for more information and common types.
8188
8189 2007-02-02  Wim Taymans  <wim@fluendo.com>
8190
8191         * gst/gstquery.c: (gst_query_new_latency):
8192         Remove old structure field.
8193
8194 2007-02-02  Stefan Kost  <ensonic@users.sf.net>
8195
8196         * tools/gst-launch.1.in:
8197           Give example for network streaming (#351998)
8198
8199 2007-02-02  Wim Taymans  <wim@fluendo.com>
8200
8201         * docs/gst/gstreamer-sections.txt:
8202         Add docs for new methods.
8203
8204         * gst/gstevent.c: (gst_event_new_latency),
8205         (gst_event_parse_latency):
8206         * gst/gstevent.h:
8207         Add new LATENCY event to configure latency in a pipeline.
8208         API: gst_event_new_latency
8209         API: gst_event_parse_latency
8210
8211         * gst/gstmessage.c: (gst_message_new_buffering),
8212         (gst_message_new_lost_preroll), (gst_message_new_prerolled),
8213         (gst_message_new_latency), (gst_message_parse_buffering),
8214         (gst_message_parse_lost_preroll):
8215         * gst/gstmessage.h:
8216         Added messages used in draft-latency.
8217         API: gst_message_new_lost_preroll
8218         API: gst_message_parse_lost_preroll
8219         API: gst_message_new_prerolled
8220         API: gst_message_new_latency
8221
8222         * gst/gstquery.c: (gst_query_new_latency), (gst_query_set_latency),
8223         (gst_query_parse_latency):
8224         * gst/gstquery.h:
8225         Implemented new latency query as in design doc.
8226         API: gst_query_new_latency
8227         API: gst_query_set_latency
8228         API: gst_query_parse_latency
8229
8230 2007-02-02  Wim Taymans  <wim@fluendo.com>
8231
8232         * docs/design/draft-latency.txt:
8233         Slight redesign to allow for dynamic latency adjustments.
8234
8235         * docs/design/part-negotiation.txt:
8236         Fix some typos.
8237
8238 2007-02-02  Sebastian Dröge  <slomo@circular-chaos.org>
8239
8240         reviewed by: Wim Taymans <wim@fluendo.com>
8241
8242         * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
8243         * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
8244         Allow file://localhost/foo/bar URLs and correctly fail for every other
8245         hostname that one sets. This was gnomevfssrc is linked for those if
8246         installed as it can handle it (#403172)
8247
8248 2007-02-01  Sebastian Dröge  <slomo@circular-chaos.org>
8249
8250         reviewed by: Tim-Philipp Müller <tim at centricular dot net>
8251
8252         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
8253         (unref_data), (gst_collect_pads_add_pad_full):
8254         * libs/gst/base/gstcollectpads.h:
8255         Don't put the previously added destroy notify in the GstCollectData
8256         struct as all it's padding is already used and we don't want to break
8257         ABI. Instead put in the pad's GObject data for now. This should be
8258         cleaned up for 0.11 (#402393).
8259
8260 2007-02-01  Sebastian Dröge  <slomo@circular-chaos.org>
8261
8262         reviewed by: Wim Taymans <wim@fluendo.com>
8263
8264         * docs/libs/gstreamer-libs-sections.txt:
8265         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
8266         (unref_data), (gst_collect_pads_add_pad),
8267         (gst_collect_pads_add_pad_full):
8268         * libs/gst/base/gstcollectpads.h:
8269         API: Add function to specify a destroy notification for custom
8270         GstCollectData when adding new pads in GstCollectPads (#402393).
8271
8272 2007-02-01  Tim-Philipp Müller  <tim at centricular dot net>
8273
8274         * po/sv.po:
8275           Update Swedish translation (#378255).
8276
8277 2007-01-31  Stefan Kost  <ensonic@users.sf.net>
8278
8279         * docs/design/draft-klass.txt:
8280           Fix the previous change, this is a list of categories and not a hierarchy.
8281
8282 2007-01-31  Stefan Kost  <ensonic@users.sf.net>
8283
8284         * docs/design/draft-klass.txt:
8285           Add info about how to get a list of used classes.
8286
8287 2007-01-30  Tim-Philipp Müller  <tim at centricular dot net>
8288
8289         * plugins/elements/gsttypefindelement.c:
8290         (gst_type_find_element_chain_do_typefinding),
8291         (gst_type_find_element_change_state):
8292           Don't leak found caps in chain function (no idea why that never
8293           showed up as a leak anywhere).
8294
8295 2007-01-30  Stefan Kost  <ensonic@users.sf.net>
8296
8297         * gst/gstplugin.h:
8298           Fix and expand GstPluginDesc API docs.
8299
8300 2007-01-29  Stefan Kost  <ensonic@users.sf.net>
8301
8302         * gst/gstcaps.c:
8303         * gst/gstelementfactory.c:
8304         * gst/gstpadtemplate.h:
8305           api doc fixes
8306
8307         * libs/gst/controller/gstcontroller.c:
8308         (gst_controlled_property_new):
8309         * tests/examples/controller/audio-example.c:
8310           comment fixes
8311
8312 2007-01-29  Stefan Kost  <ensonic@users.sf.net>
8313
8314         * configure.ac:
8315           comment about refining the xml deps
8316
8317         * docs/manuals.mak:
8318           comments about moving away from jade for docs
8319         
8320         * gst/gst.c:
8321           recommit the ifdefs to use the binary registry
8322         
8323         * gst/gstbin.c: (gst_bin_change_state_func):
8324           this break is obsolete
8325
8326         * gst/gstelementfactory.h:
8327           better GST_ELEMENT_DETAILS docs, add comment about translation
8328
8329         * gst/gstinfo.h:
8330           remove eol slash
8331
8332         * gst/gstobject.c: (gst_signal_object_get_type):
8333           add G_UNLIKELY as usual
8334
8335         * gst/gstpad.c: (gst_pad_event_default):
8336           add fall trhu comment
8337
8338         * gst/gstregistrybinary.c: (gst_registry_binary_write),
8339         (gst_registry_binary_initialize_magic),
8340         (gst_registry_binary_save_string),
8341         (gst_registry_binary_save_pad_template),
8342         (gst_registry_binary_save_feature),
8343         (gst_registry_binary_save_plugin),
8344         (gst_registry_binary_write_cache),
8345         (gst_registry_binary_check_magic),
8346         (gst_registry_binary_load_pad_template),
8347         (gst_registry_binary_load_feature),
8348         (gst_registry_binary_load_plugin),
8349         (gst_registry_binary_read_cache):
8350           comment typo and formatting
8351
8352         * gst/gstutils.c: (gst_element_state_get_name),
8353         (gst_element_state_change_return_get_name):
8354           remove obsolete breaks
8355
8356         * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
8357           add FIXME 0.11 and remove cpp comment
8358
8359 2007-01-29  Edward Hervey  <edward@fluendo.com>
8360
8361         * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
8362         Fix print statement in an even more portable way.
8363
8364 2007-01-29  Tim-Philipp Müller  <tim at centricular dot net>
8365
8366         * docs/gst/gstreamer-sections.txt:
8367         * gst/gstutils.h:
8368           API: add GST_ROUND_DOWN_* macros (#401781).
8369
8370 2007-01-27  Tim-Philipp Müller  <tim at centricular dot net>
8371
8372         * docs/gst/gstreamer.types.in:
8373         * gst/gstregistry.c: (gst_registry_class_init):
8374           Document registry signals and make gtk-doc pick them up (#401381).
8375
8376 2007-01-26  Tim-Philipp Müller  <tim at centricular dot net>
8377
8378         * docs/pwg/building-testapp.xml:
8379           Add some audioconverts and audioresample to the pipeline, and some
8380           more comments and error handling.
8381
8382 2007-01-26  Tim-Philipp Müller  <tim at centricular dot net>
8383
8384         * docs/manual/manual.xml:
8385         * docs/pwg/pwg.xml:
8386           Fix typo (#400987).
8387
8388 2007-01-26  Wim Taymans  <wim@fluendo.com>
8389
8390         * gst/gstcaps.c: (gst_static_caps_get):
8391         Init caps flags too.
8392
8393 2007-01-25  Sebastian Dröge  <slomo@circular-chaos.org>
8394
8395         Patch by: Jindrich Makovicka <jindrich.makovick at itonis dot tv>
8396
8397         * plugins/elements/gstfilesrc.c: (gst_file_src_start):
8398         If not using mmap'ed files try to seek to the end instead of the
8399         start to determine whether we can seek at all. This fixes the case
8400         of 2GB+ files over NFS, where seeks in the first 2GB can succeed but
8401         seeks for everything afterwards fail. Fixes #400656
8402
8403 2007-01-25  Wim Taymans  <wim@fluendo.com>
8404
8405         * gst/gstcaps.c: (_gst_caps_free), (gst_static_caps_get):
8406         Add some refcount debugging.
8407         Make gst_static_caps_get threadsafe, which is needed when autoplugging
8408         in multiple streaming threads.
8409
8410 2007-01-25  Wim Taymans  <wim@fluendo.com>
8411
8412         Patch by: David Schleef <ds at schleef dot org>
8413
8414         * docs/libs/gstreamer-libs-sections.txt:
8415         * libs/gst/base/gstadapter.c: (gst_adapter_copy):
8416         * libs/gst/base/gstadapter.h:
8417         API: gst_adapter_copy() that can reduce the amount of memcpy when
8418         getting data from the adapter. Fixes #388201.
8419
8420 2007-01-25  Edward Hervey  <edward@fluendo.com>
8421
8422         * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
8423         In print statements, "%x" is for guint. Fixes build on macosx.
8424
8425 2007-01-24  Edward Hervey  <edward@fluendo.com>
8426
8427         * plugins/elements/gstmultiqueue.c:
8428         (gst_multi_queue_loop):
8429         Small fix.
8430         (single_queue_overrun_cb), (single_queue_underrun_cb),
8431         (single_queue_check_full), (gst_single_queue_new):
8432         Implement single queue growth system.
8433         This uses the extra-size properties, and will grow single queues by
8434         that much if one goes full whereas there are others empty. This is
8435         called extra-mode in the code.
8436         When a single queue's levels go back below the initial max-size
8437         limits, it is no longer in extra-mode. This is to ensure we don't
8438         consume too much memory.
8439         Fixes #399875
8440
8441 2007-01-23  Tim-Philipp Müller  <tim at centricular dot net>
8442
8443         * gst/gst.c: (gst_init_get_option_group):
8444           Make warning about late g_thread_init() calls a bit more explicit,
8445           so that it's more obvious to application developers what they need
8446           to do if a user files a bug against their application.
8447
8448 2007-01-22  Edward Hervey  <edward@fluendo.com>
8449
8450         * plugins/elements/gstmultiqueue.c:
8451         (gst_multi_queue_src_activate_push), (gst_single_queue_new):
8452         Remove previous hack of unsetting the flushing flag for the source pad
8453         instead of activating it. Instead, fix the source pad activate function
8454         so that it no longer depends on having a parent set or not.
8455
8456 2007-01-22  Tim-Philipp Müller  <tim at centricular dot net>
8457
8458         Patch by: Carlos Sanmartin Dominguez <csanmartin@igalia.com>
8459
8460         * docs/manual/basics-bus.xml:
8461           Fix example code, gst_element_unref() doesn't exist any longer.
8462
8463 2007-01-21  Tim-Philipp Müller  <tim at centricular dot net>
8464
8465         Patch by: Mark Nauwelaerts <manauw at skynet be>
8466
8467         * gst/gstpad.c:
8468           Fix two docs typoes (#399094).
8469
8470 2007-01-19  Edward Hervey  <edward@fluendo.com>
8471
8472         * docs/faq/gst-uninstalled:
8473         Add gst-plugins-base/gst/utils/ to LD_LIBRARY_PATH so that plugins
8474         depending on libgstbaseutils can work in uninstalled environment.
8475
8476 2007-01-18  Stefan Kost  <ensonic@users.sf.net>
8477
8478         * gst/gsttaglist.h:
8479         * gst/gsttagsetter.c:
8480         Add more docs regarding tag merge-modes and when to send tags. Fix 'since'
8481         statement for new tag.
8482
8483 2007-01-17  Edward Hervey  <edward@fluendo.com>
8484
8485         * plugins/elements/gstmultiqueue.c: (gst_single_queue_new):
8486         When dynamically creating single queues, activate sinkpad before adding
8487         it.
8488         We should be doing the same thing for the source pad, but we can't
8489         since it would call a method which needs the parent to be set in order
8490         to work propertly. Instead of activating the source pad, we just unset
8491         the flushing flag, which is the minimal requirement for adding a pad
8492         to an element in a state greater than READY.
8493
8494 2007-01-17  Edward Hervey  <edward@fluendo.com>
8495
8496         * docs/faq/gst-uninstalled:
8497         Add DYLD_LIBRARY_PATH declarations so we can also use this script on
8498         Mac OS X.
8499
8500 2007-01-17  Tim-Philipp Müller  <tim at centricular dot net>
8501
8502         * tests/check/gst/gstabi.c:
8503         * tests/check/gst/struct_hppa.h:
8504         * tests/check/libs/libsabi.c:
8505         * tests/check/libs/struct_hppa.h:
8506           Add ABI structs for HPPA (see #393796).
8507
8508 2007-01-16  Tim-Philipp Müller  <tim at centricular dot net>
8509
8510         * libs/gst/check/gstcheck.c: (gst_check_abi_list):
8511           Actually write ABI structs to the file specified in the GST_ABI
8512           environment variable, as the message we print claims we would.
8513
8514 2007-01-15  Stefan Kost  <ensonic@users.sf.net>
8515
8516         * tests/check/gst/gsttask.c:
8517           Fix header comment.
8518
8519 2007-01-15  Stefan Kost  <ensonic@users.sf.net>
8520
8521         * gst/gsttaglist.c: (_gst_tag_initialize):
8522           Change tag type from STRING to DOUBLE. Apply ChangeLog surgery for my
8523           previous two entries.
8524
8525 2007-01-15  Stefan Kost  <ensonic@users.sf.net>
8526
8527         * docs/gst/gstreamer-sections.txt:
8528         * gst/gsttaglist.c: (_gst_tag_initialize):
8529         * gst/gsttaglist.h:
8530           Add tag support for beat-per-minute.
8531
8532 2007-01-15  Stefan Kost  <ensonic@users.sf.net>
8533
8534         * gst/gstregistrybinary.c: (gst_registry_binary_write),
8535         (gst_registry_binary_initialize_magic),
8536         (gst_registry_binary_save_string), (gst_registry_binary_make_data),
8537         (gst_registry_binary_save_pad_template),
8538         (gst_registry_binary_save_feature),
8539         (gst_registry_binary_save_plugin),
8540         (gst_registry_binary_write_cache),
8541         (gst_registry_binary_check_magic),
8542         (gst_registry_binary_load_pad_template),
8543         (gst_registry_binary_load_feature),
8544         (gst_registry_binary_load_plugin),
8545         (gst_registry_binary_read_cache):
8546         * gst/gstregistrybinary.h:
8547           Use glib types, cleanup comments, impement interfaces and uri-types.
8548
8549 2007-01-13  Andy Wingo  <wingo@pobox.com>
8550
8551         * gst/gstpad.c (gst_pad_get_range, gst_pad_pull_range): Allow
8552         getrange() to return buffers with other caps, while we fix
8553         demuxers and typefind, or otherwise change part-negotiation.txt.
8554
8555 2007-01-12  Andy Wingo  <wingo@pobox.com>
8556
8557         * libs/gst/base/gstbasetransform.c (gst_base_transform_activate):
8558         Factor start/stop into this private function instead of partially
8559         in activate functions and partially in the change_state function.
8560         Fixes setup before the element has changed from READY->PAUSED, as
8561         is the case in pull-mode pipelines.
8562         (gst_base_transform_sink_activate_push)
8563         (gst_base_transform_src_activate_pull): Refactor to use
8564         gst_base_transform_activate().
8565         (gst_base_transform_change_state): Removed, not needed any more.
8566
8567         * libs/gst/base/gstbasesink.c (gst_base_sink_negotiate_pull):
8568         Truncate before fixating.
8569         
8570         * libs/gst/base/gstbasesink.c (gst_base_sink_negotiate_pull):
8571         Don't set_caps() if the result of fixating is ANY, as it's not
8572         supported, and not necessary in the case of a link with no
8573         template caps on either side. Fixes tests/check/libs/basesrc in
8574         some pull-mode tests.
8575
8576         * libs/gst/base/gstbasetransform.c (_GstBaseTransformPrivate):
8577         (gst_base_transform_init, gst_base_transform_sink_activate_push)
8578         (gst_base_transform_src_activate_pull): 
8579         Track the activation mode.
8580         (gst_base_transform_setcaps): In pull mode, when activating the
8581         src pad, after activating the sink pad, activate the sink pad's
8582         peer, as discussed in part-negotiation.txt.
8583
8584         * libs/gst/base/gstbasesrc.h: 
8585         * libs/gst/base/gstbasesrc.c (gst_base_src_fixate): Add fixate
8586         vmethod, as in basesink.
8587
8588         * libs/gst/base/gstbasesink.h: Reformat docs, add fixate vmethod.
8589
8590         * libs/gst/base/gstbasesink.c (gst_base_sink_pad_setcaps): In pull
8591         mode, first proxy the setcaps to the peer pad.
8592         (gst_base_sink_pad_fixate): Add a fixate function that calls the
8593         new fixate vmethod.
8594         (gst_base_sink_default_activate_pull): Rename from
8595         gst_base_sink_activate_pull.
8596         (gst_base_sink_negotiate_pull): New function, performs negotiation
8597         in pull mode before calling ::activate_pull().
8598         (gst_base_sink_pad_activate_pull): Actually call the activate_pull
8599         vmethod instead of the default implementation. I have no idea how
8600         this worked before. Negotiate before calling activate_pull.
8601
8602         * gst/gstpad.c (gst_pad_activate_pull): Refuse to activate unlinked
8603         sink pads in pull mode. In addition to being correct, fixes
8604         filesrc ! decodebin ! identity ! fakesink.
8605         (gst_pad_get_range, gst_pad_pull_range): Don't call
8606         gst_pad_set_caps() if the caps changes; instead error out with
8607         GST_FLOW_NOT_NEGOTIATED, as discussed in part-negotiation.txt.
8608
8609 2007-01-12  Andy Wingo  <wingo@pobox.com>
8610
8611         * docs/design/part-negotiation.txt: Update with more policy.
8612
8613 2007-01-12  Tim-Philipp Müller  <tim at centricular dot net>
8614
8615         * libs/gst/check/gstbufferstraw.h:
8616         * libs/gst/check/gstcheck.h:
8617           Add G_BEGIN_DECLS and G_END_DECLS. Move GST_CHECK_MAIN where it
8618           belongs.
8619
8620 2007-01-12  Tim-Philipp Müller  <tim at centricular dot net>
8621
8622         * tests/check/Makefile.am:
8623         * tests/check/gst/.cvsignore:
8624         * tests/check/gst/gsttagsetter.c: (gst_dummy_enc_add_interfaces),
8625         (gst_dummy_enc_base_init), (gst_dummy_enc_class_init),
8626         (gst_dummy_enc_init), (tag_list_foreach), (tag_setter_list_length),
8627         (GST_START_TEST), (gst_tag_setter_suite):
8628           Add minimal unit test for beforementioned GstTagSetter bug.
8629
8630 2007-01-12  Tim-Philipp Müller  <tim at centricular dot net>
8631
8632         Patch by: René Stadler <mail at renestadler dot de>
8633
8634         * gst/gsttagsetter.c: (gst_tag_setter_merge_tags):
8635           gst_tag_list_merge() returns a new list, so it's not the best idea
8636           to ingore its return value. Effectively meant that tags could only
8637           be merged on a GstTagSetter once using _merge_tags(). Fixes #395554.
8638           Also add function guard to require a non-NULL taglist as input (has
8639           always been so due to gst_tag_list_copy(), just making it explicit).
8640
8641 2007-01-11  Tim-Philipp Müller  <tim at centricular dot net>
8642
8643         * docs/random/draft-missing-plugins.txt:
8644           Some additions: mention new API that is supposed to be used at the
8645           various stages; short blob about new gst-inspect introspection
8646           option; mention potential future problem with plugins that have
8647           a dynamic list of elements (such as ladspa, pitfdll, libvisual).
8648
8649 2007-01-11  Tim-Philipp Müller  <tim at centricular dot net>
8650
8651         * tools/gst-inspect.c:
8652         (print_plugin_automatic_install_info_codecs),
8653         (print_plugin_automatic_install_info_protocols),
8654         (print_plugin_automatic_install_info), (main):
8655         Add --print-plugin-auto-install-info option to gst-inspect, so we can
8656         introspect plugin files and get machine-parsable output that corresponds
8657         to the last bit of the missing-plugin installer string (small gotcha:
8658         doesn't take into account ranks).
8659
8660 2007-01-11  Stefan Kost  <ensonic@users.sf.net>
8661
8662         * configure.ac:
8663         * docs/gst/gstreamer-sections.txt:
8664         * gst/Makefile.am:
8665         * gst/gstregistry.c: (gst_registry_lookup_feature_locked),
8666         (gst_registry_lookup_locked):
8667         * gst/gstregistry.h:
8668         * gst/gstregistrybinary.c: (gst_registry_binary_write),
8669         (gst_registry_binary_initialize_magic),
8670         (gst_registry_binary_save_string),
8671         (gst_registry_binary_save_pad_template),
8672         (gst_registry_binary_save_feature),
8673         (gst_registry_binary_save_plugin),
8674         (gst_registry_binary_write_cache),
8675         (gst_registry_binary_check_magic),
8676         (gst_registry_binary_load_pad_template),
8677         (gst_registry_binary_load_feature),
8678         (gst_registry_binary_load_plugin),
8679         (gst_registry_binary_read_cache):
8680         * gst/gstregistrybinary.h:
8681         * gst/gstregistryxml.c: (load_feature),
8682         (gst_registry_xml_read_cache):
8683           commit binary registry (disabled by default, see #359653)
8684
8685 2007-01-11  Tim-Philipp Müller  <tim at centricular dot net>
8686
8687         * tests/check/gst/gstpad.c: (test_get_allowed_caps):
8688           Fix 'make check' too.
8689
8690 2007-01-10  Andy Wingo  <wingo@pobox.com>
8691
8692         * docs/design/part-negotiation.txt: Fix a typo, add a couple
8693         notes.
8694         
8695         * docs/design/part-negotiation.txt: Update with, um, one way that
8696         pull-mode negotiation might work?
8697
8698         * gst/gstpad.h: 
8699         * gst/gstpad.c (gst_pad_get_allowed_caps): Remove the restriction
8700         that the pad must be a src pad; makes sense to call it the other
8701         way in pull mode, and the logic is symmetric anyway.
8702
8703 2007-01-10  Tim-Philipp Müller  <tim at centricular dot net>
8704
8705         * plugins/elements/gstfilesink.c:
8706           Include <stdio.h> for fseeko().
8707
8708 2007-01-10  Wim Taymans  <wim@fluendo.com>
8709
8710         * gst/gstevent.c:
8711         * gst/gstevent.h:
8712         Reserve LATENCY event.
8713
8714 2007-01-09  Wim Taymans  <wim@fluendo.com>
8715
8716         * docs/design/draft-latency.txt:
8717         Updates.
8718
8719 2007-01-09  Wim Taymans  <wim@fluendo.com>
8720
8721         * docs/design/draft-latency.txt:
8722         Updates.
8723
8724         * gst/gstelement.h:
8725         * gst/gststructure.c:
8726         * gst/gsttrace.c:
8727         Small typo fixes.
8728
8729 2007-01-09  Tim-Philipp Müller  <tim at centricular dot net>
8730
8731         * tests/check/.cvsignore:
8732           Ignore test-registry.xml as well.
8733
8734 2007-01-09  Wim Taymans  <wim@fluendo.com>
8735
8736         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad):
8737         unref data at the end when we are done with the pad.
8738
8739 2007-01-08  Tim-Philipp Müller  <tim at centricular dot net>
8740
8741         * docs/gst/gstreamer-sections.txt:
8742         * gst/gst.c: (load_plugin_func), (scan_and_update_registry),
8743         (init_post), (gst_deinit), (gst_update_registry):
8744         * gst/gst.h:
8745           API: add gst_update_registry() (#391296).
8746
8747         * tests/check/Makefile.am:
8748         * tests/check/gst/gstregistry.c:
8749         * tests/check/gst/.cvsignore:
8750           Simple unit test for the above.
8751
8752 2007-01-08  Tim-Philipp Müller  <tim at centricular dot net>
8753
8754         * gst/gstregistry.c: (gst_registry_scan_path_level):
8755           Plugin extension on HP-UX is .sl, add that to the list of approved
8756           plugin extensions (see #393796).
8757
8758         * tests/check/gst/gstpad.c: (GST_START_TEST):
8759           ulong => gulong. Fixes compilation with HP-UX compiler.
8760
8761         * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
8762           Fix compilation if valgrind headers are not available.
8763
8764 2007-01-07  Sébastien Moutte  <sebastien@moutte.net>
8765
8766         * win32/common/libgstreamer.def: 
8767           Add new exported function.
8768         * win32/vs6/libgstbase.dsp: 
8769           Add gstdataqueue.c to the build.
8770         * win32/vs6/libgstcoreelements.dsp:
8771           Add gstmultiqueue.c to the build.
8772         
8773 2007-01-06  Andy Wingo  <wingo@pobox.com>
8774
8775         * libs/gst/base/gstbasesink.h: New GstBaseSinkClass vmethod,
8776         activate_pull(), providing for a way to specialize the process of
8777         spawning a thread to pull on the sink pad. There is a default
8778         implementation.
8779
8780         * libs/gst/base/gstbasesink.c (gst_base_sink_pad_activate_pull)
8781         (gst_base_sink_pad_activate_push, gst_base_sink_pad_activate)
8782         (gst_base_sink_init): Renamed pad activation functions (inserting
8783         "_pad" in their names). Refactor to use the new activate_pull
8784         vmethod, as appropriate.
8785         (gst_base_sink_class_init, gst_base_sink_activate_pull): Set the
8786         default activate_pull function to start a task pulling from the
8787         sink pad, as before.
8788
8789         * gst/gstpad.c (gst_pad_get_range, gst_pad_pull_range): Set caps
8790         on the pads if necessary, as in push()/chain(). Update docs.
8791         Shouldn't affect existing pull() usage as it is currently only
8792         being used on buffers without caps.
8793
8794 2007-01-05  Tim-Philipp Müller  <tim at centricular dot net>
8795
8796         * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
8797         (init_pre):
8798           Call g_thread_init() first thing in gst_init() / gst_check_init().
8799           When initialisation is done via gst_init_get_option_group() and
8800           GOption parsing, issue a warning if the GLib thread system has not
8801           been initialised yet by the time gst_init_get_option_group() is
8802           called, as it's quite likely other GLib functions such as
8803           g_option_context_new() have been called already then, and
8804           g_thread_init() must be called before any other GLib function. The
8805           application in question must be fixed in that case, since memory
8806           corruption might happen otherwise.
8807           We issue the warning because even if the GLib folks decide to work
8808           around the problem on their end in future, this is still an issue
8809           with all GLib versions >= 2.10.0, so we should warn until we depend
8810           on a GLib version we know to be safe.
8811           Update documentation as well.
8812           Closes bug #391278.
8813
8814 2007-01-05  Tim-Philipp Müller  <tim at centricular dot net>
8815
8816         * tools/gst-inspect.c: (main):
8817         * tools/gst-launch.c: (main):
8818         * tools/gst-typefind.c: (main):
8819         * tools/gst-xmlinspect.c: (main):
8820           Call g_thread_init() really really early, before any other GLib
8821           function (see #342564 and recent discussion on gtk-devel-list).
8822
8823 2007-01-05  Tim-Philipp Müller  <tim at centricular dot net>
8824
8825         Patch by: Vincent Torri  <vtorri at univ-evry dot fr>
8826
8827         * gst/gst_private.h:
8828         * gst/gstconfig.h.in:
8829         * gst/gstinfo.h:
8830           On win32, all the __declspec stuff for symbol exporting is
8831           apparently only needed with MSVC, but doesn't work with MingW.
8832           Fixes compilation with MingW and #391909.
8833
8834 2007-01-05  Tim-Philipp Müller  <tim at centricular dot net>
8835
8836         * libs/gst/base/gstbasesrc.c: (gst_base_src_activate_push):
8837           Change some GST_ERROR_OBJECT that aren't really errors to
8838           GST_WARNING_OBJECT in order to reduce terminal spam.
8839
8840 2007-01-04  Stefan Kost  <ensonic@users.sf.net>
8841
8842         * tests/check/Makefile.am:
8843           disable test again, as there seem to be still race problems
8844
8845 2007-01-04  Stefan Kost  <ensonic@users.sf.net>
8846
8847         * tests/check/Makefile.am:
8848         * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
8849         (GST_START_TEST), (queue_suite):
8850           enable queue test again, add tests for the leaky behaviour
8851
8852 2007-01-02  Tim-Philipp Müller  <tim at centricular dot net>
8853
8854         * configure.ac:
8855         * tests/examples/Makefile.am:
8856           Compile adapter test/example only if the required headers are
8857           available (fixes #391915).
8858
8859 2007-01-01  David Schleef  <ds@schleef.org>
8860
8861         * gst/gstplugin.c:
8862           Restore the previous signal handler for SIGSEGV instead of
8863           setting to default, since we may have stolen it away from
8864           someone.  (i.e., Mono)
8865
8866 2006-12-26  Tim-Philipp Müller  <tim at centricular dot net>
8867
8868         * docs/random/draft-missing-plugins.txt:
8869           Some small additions and clarifications.
8870
8871 2006-12-26  Tim-Philipp Müller  <tim at centricular dot net>
8872
8873         * gst/gstregistryxml.c: (gst_registry_save_escaped):
8874           Make sure we don't pass non-UTF-8 strings to g_markup_escape(),
8875           since that can lead to random memory corruptions and crashes
8876           (may or may not be related to #383244, #386711, and #386711).
8877
8878 2006-12-21  Stefan Kost  <ensonic@users.sf.net>
8879
8880         * tests/check/.cvsignore:
8881         * tests/check/Makefile.am:
8882           sync .cvsignome and CLEANFILES
8883
8884 2006-12-21  Stefan Kost  <ensonic@users.sf.net>
8885
8886         * tests/check/Makefile.am:
8887           fix distcheck
8888
8889 2006-12-21  Stefan Kost  <ensonic@users.sf.net>
8890
8891         * docs/design/part-states.txt:
8892           two tiny additional comments
8893         
8894         * gst/gststructure.c:
8895           doc fixing
8896
8897         * tests/check/Makefile.am:
8898         * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
8899         (GST_START_TEST):
8900           disable test for now, unless it gets fixed
8901
8902 2006-12-21  Stefan Kost  <ensonic@users.sf.net>
8903
8904         * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
8905         (GST_START_TEST):
8906           fix race in underrun test
8907
8908 2006-12-21  Stefan Kost  <ensonic@users.sf.net>
8909
8910         * tests/check/elements/.cvsignore:
8911           ignore more
8912
8913         * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
8914         (GST_START_TEST):
8915           try to narrow test failure
8916
8917 2006-12-21  David Schleef  <ds@schleef.org>
8918
8919         * plugins/elements/gstfakesrc.c:
8920           Use g_random_int_range(), since it produces better random
8921           numbers in a range than almost-correct floating point code.
8922
8923 2006-12-21  Stefan Kost  <ensonic@users.sf.net>
8924
8925         * libs/gst/check/gstcheck.c: (gst_check_setup_src_pad),
8926         (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
8927         (gst_check_teardown_sink_pad):
8928           do not automatically (de)activate pads
8929
8930         * tests/check/Makefile.am:
8931         * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
8932         (setup_queue), (cleanup_queue), (GST_START_TEST), (queue_suite):
8933           add new, yet simple tests for queue
8934
8935         * tests/check/elements/fakesrc.c: (cleanup_fakesrc):
8936         * tests/check/elements/fdsrc.c: (cleanup_fdsrc):
8937         * tests/check/elements/filesrc.c: (cleanup_filesrc),
8938         (GST_START_TEST):
8939         * tests/check/elements/identity.c: (cleanup_identity):
8940           consistent pad (de)activation
8941
8942 2006-12-20  Tim-Philipp Müller  <tim at centricular dot net>
8943
8944         Patch by: Sebastian Dröge  <slomo ubuntu com>
8945
8946         * libs/gst/base/gstcollectpads.c:
8947           Fix two doc typos (#387866).
8948
8949 2006-12-19  Tim-Philipp Müller  <tim at centricular dot net>
8950
8951         * docs/manual/advanced-dparams.xml:
8952           Fix typo (g_object_control_properties() doesn't exist).
8953
8954 2006-12-19  Edward Hervey  <edward@fluendo.com>
8955
8956         * gst/gstsegment.c: (gst_segment_set_seek):
8957         Fine tune the cases where the segment start/stop values are really
8958         updated.
8959         * tests/check/gst/gstsegment.c: (GST_START_TEST):
8960         Add tests for the return values of gst_segment_set_seek().
8961
8962 2006-12-19  Tim-Philipp Müller  <tim at centricular dot net>
8963
8964         * gst/gst.c:
8965           Docs typo fix.
8966
8967         * plugins/elements/gstqueue.c: (gst_queue_class_init),
8968         (gst_queue_init):
8969           Fix incorrect documentation and flesh it out a bit more.
8970           Set default values for the max properties on the GParamSpec as well,
8971           so it shows up correctly in gst-inspect.
8972
8973 2006-12-18  Stefan Kost  <ensonic@users.sf.net>
8974
8975         * plugins/elements/gstqueue.c: (queue_leaky_get_type):
8976           Correct docs of queue, add more detail and crosslink it more.
8977
8978 2006-12-16  Tim-Philipp Müller  <tim at centricular dot net>
8979
8980         * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
8981           Print additional debug info when the stream isn't perfectly
8982           timestamped; don't try to use invalid durations.
8983
8984 2006-12-16  Tim-Philipp Müller  <tim at centricular dot net>
8985
8986         * docs/design/Makefile.am:
8987           Dist new design docs.
8988
8989 2006-12-16  Wim Taymans  <wim@fluendo.com>
8990
8991         Patch by: Sjoerd Simons <sjoerd at luon dot net>
8992
8993         * libs/gst/base/gstcollectpads.c: (ref_data), (unref_data),
8994         (gst_collect_pads_add_pad), (gst_collect_pads_remove_pad),
8995         (gst_collect_pads_stop), (gst_collect_pads_event),
8996         (gst_collect_pads_chain):
8997         * libs/gst/base/gstcollectpads.h:
8998         Add refcounting to the collectpads data so we can track when it's safe
8999         to free the data. Fixes #383382.
9000
9001 2006-12-15  Wim Taymans  <wim@fluendo.com>
9002
9003         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
9004         (gst_collect_pads_remove_pad):
9005         Automatically activate/deactivate pads when they are added to a
9006         started/stoped collectpads.
9007
9008 2006-12-15  Wim Taymans  <wim@fluendo.com>
9009
9010         * gst/gstelement.c: (gst_element_add_pad):
9011         * gst/gstghostpad.c: (gst_ghost_pad_new_full):
9012         * gst/gstpad.c: (gst_pad_init):
9013         Set pads to FLUSHING when they are created. Check, warn and fix when a
9014         demuxer adds an inactive pad to itself when running. Fixes #339326.
9015
9016 2006-12-15  Wim Taymans  <wim@fluendo.com>
9017
9018         * gst/gstelement.c: (gst_element_class_init),
9019         (gst_element_default_send_event), (gst_element_send_event),
9020         (gst_element_default_query), (gst_element_query):
9021         Expose default element send_event and query handling as vmethods that
9022         subclasses can chain up to.
9023
9024 2006-12-15  Wim Taymans  <wim@fluendo.com>
9025
9026         * gst/gstelement.c: (gst_element_set_state_func):
9027         Small documentation fixes.
9028
9029 2006-12-15  Wim Taymans  <wim@fluendo.com>
9030
9031         * docs/design/draft-latency.txt:
9032         Checked in draft for handling latency in pipelines.
9033
9034 2006-12-15  Thomas Vander Stichele  <thomas at apestaart dot org>
9035
9036         * Makefile.am:
9037         * gstreamer.doap:
9038         * gstreamer.spec.in:
9039           adding .doap file
9040
9041 2006-12-14  Tim-Philipp Müller  <tim at centricular dot net>
9042
9043         * gst/gst.c: (init_pre), (init_post):
9044           init_pre() and init_post() might be called via our GOptionGroup or
9045           from gst_init(), and we should skip both of them if we've already
9046           been initialised, otherwise we will init some things twice or add
9047           two default log functions.
9048
9049 2006-12-13  Edward Hervey  <edward@fluendo.com>
9050
9051         * docs/manual/basics-bus.xml:
9052         No, gst_main_loop does not exist. Its g_main_loop.
9053         Discovered by somebody who abused the copy-paste technique of coding :)
9054
9055 2006-12-13  Tim-Philipp Müller  <tim at centricular dot net>
9056
9057         * gst/gstghostpad.c:
9058           Log ghostpad debug stuff to the GST_PADS category as well rather
9059           than just to the default category.
9060
9061 2006-12-12  Tim-Philipp Müller  <tim at centricular dot net>
9062
9063         * configure.ac:
9064         * gst/gst.c: (init_pre):
9065           Add some basic system details such as OS and architecture
9066           to the debug output if possible, courtesy of uname().
9067
9068 2006-12-11  Tim-Philipp Müller  <tim at centricular dot net>
9069
9070         * docs/gst/running.xml:
9071           Document GST_REGISTRY_FORK and GST_DEBUG_NO_COLOR
9072           environment variables.
9073
9074 2006-12-09  Jan Schmidt  <thaytan@mad.scientist.com>
9075
9076         * tests/check/gst/gstbin.c: (GST_START_TEST):
9077         It is acceptable to have a refcount of 2 or 3 at this point in the
9078         test, because the pipeline might be just posting its state_change
9079         message. The next line then waits for that message to appear using
9080         bus_poll, so that should be fine too.
9081
9082 2006-12-09  Jan Schmidt  <thaytan@mad.scientist.com>
9083
9084         * gst/gst.c: (ensure_current_registry_forking):
9085         Ignore EINTR when reading from the child registry pipe.
9086         Explicitly ignore the return value from close, since it makes no
9087         difference.
9088
9089         * gst/gstminiobject.c: (gst_mini_object_ref),
9090         (gst_mini_object_unref):
9091         When debugging refcounts, check GST_IS_MINI_OBJECT and warn.
9092
9093         * gst/gstregistry.c: (_priv_gst_registry_remove_cache_plugins):
9094         When removing cached plugins, remove their features too, so they're
9095         not visible after they've disappeared.
9096
9097         * gst/gstutils.c: (prepare_link_maybe_ghosting):
9098         In the unlikely case that we are linking pads with no parents, don't
9099         crash trying to get the non-existent parent bin.
9100
9101         * gst/parse/grammar.y:
9102         Output debug in the PIPELINE category
9103
9104 2005-03-08  Wim Taymans  <wim@fluendo.com>
9105
9106         Patch by: René Stadler <mail at renestadler dot de>
9107
9108         * gst/gstclock.c: (gst_clock_new_periodic_id):
9109         Reject invalid clock times for interval of periodic ids.
9110         Fixes ##383506.
9111
9112 2006-12-07  Jan Schmidt  <thaytan@mad.scientist.com>
9113
9114         * gst/gstelementfactory.c: (gst_element_factory_create):
9115         * gst/gstpluginfeature.c: (gst_plugin_feature_load):
9116         * gst/gsttypefindfactory.c: (gst_type_find_factory_call_function):
9117         * tools/gst-inspect.c: (print_element_info):
9118         Fix refcounting of gst_plugin_feature_load to match the docs. 
9119         Fixes: #380129
9120
9121 2006-12-07  Wim Taymans  <wim@fluendo.com>
9122
9123         * libs/gst/base/gstbasesink.c: (gst_base_sink_event),
9124         (gst_base_sink_get_position):
9125         Improve debugging of events.
9126
9127 2006-12-07  Wim Taymans  <wim@fluendo.com>
9128
9129         Patch by: René Stadler <mail at renestadler dot de>
9130
9131         * gst/gstclock.c: (gst_clock_id_wait):
9132         Make period ids add the interval to the origial requested time instead
9133         of the possibly updated time which can be wrong when there are multiple
9134         waiters for the same id. Fixes #382592.
9135
9136         * gst/gstsystemclock.c: (gst_system_clock_async_thread),
9137         (gst_system_clock_id_wait_jitter_unlocked),
9138         (gst_system_clock_id_wait_jitter):
9139         Fix restart in the async notify thread when an async entry is added to
9140         the front of the list. Fixes #381492. 
9141
9142         * tests/check/gst/gstsystemclock.c: (store_callback),
9143         (notify_callback), (GST_START_TEST), (gst_systemclock_suite):
9144         Added test for multiple async waits.
9145         Added test for async wait order.
9146
9147 2006-12-07  Wim Taymans  <wim@fluendo.com>
9148
9149         * gst/gstbin.c: (gst_bin_query):
9150         Add some more docs about the POSITION query.
9151
9152 2006-12-07  Jan Schmidt  <thaytan@mad.scientist.com>
9153
9154         * configure.ac:
9155         Bump version nano - back to CVS.
9156
9157 === release 0.10.11 ===
9158
9159 2006-12-06  Jan Schmidt <thaytan@mad.scientist.com>
9160
9161         * configure.ac:
9162           releasing 0.10.11, "Love never runs on time"
9163
9164 2006-12-01  Jan Schmidt  <thaytan@mad.scientist.com>
9165
9166         * win32/common/libgstbase.def:
9167         * win32/common/libgstreamer.def:
9168         * win32/vs8/libgstbase.vcproj:
9169         * win32/vs8/libgstcoreelements.vcproj:
9170         * win32/vs8/libgstreamer.vcproj:
9171         Fix compilation on win32 under VS8
9172         Patch by: Sergey Scobich <sergey dot scobich at gmail dot com>
9173         Partially fixes #381175
9174
9175 2006-11-29  Jan Schmidt  <thaytan@mad.scientist.com>
9176
9177         * gst/gstvalue.c: (gst_value_compare_fraction):
9178         If someone is foolish enough to compare 2 fractions with denominator =
9179         0, return UNORDERED rather than aborting.
9180
9181 2006-11-28  Edward Hervey  <edward@fluendo.com>
9182
9183         * libs/gst/base/Makefile.am:
9184         * libs/gst/base/gstdataqueue.c: (gst_data_queue_get_type),
9185         (gst_data_queue_base_init), (gst_data_queue_class_init),
9186         (gst_data_queue_init), (gst_data_queue_new),
9187         (gst_data_queue_cleanup), (gst_data_queue_finalize),
9188         (gst_data_queue_locked_flush), (gst_data_queue_locked_is_empty),
9189         (gst_data_queue_locked_is_full), (gst_data_queue_flush),
9190         (gst_data_queue_is_empty), (gst_data_queue_is_full),
9191         (gst_data_queue_set_flushing), (gst_data_queue_push),
9192         (gst_data_queue_pop), (gst_data_queue_drop_head),
9193         (gst_data_queue_set_property), (gst_data_queue_get_property):
9194         * libs/gst/base/gstdataqueue.h:
9195         New GstDataQueue object for threadsafe queueing. Most useful for
9196         elements that need some queueing functionnality.
9197         * docs/libs/gstreamer-libs-docs.sgml:
9198         * docs/libs/gstreamer-libs-sections.txt:
9199         Insert documentation for GstDataQueue
9200         * plugins/elements/Makefile.am:
9201         * plugins/elements/gstelements.c:
9202         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_base_init),
9203         (gst_multi_queue_class_init), (gst_multi_queue_init),
9204         (gst_multi_queue_finalize), (gst_multi_queue_set_property),
9205         (gst_multi_queue_get_property), (gst_multi_queue_request_new_pad),
9206         (gst_multi_queue_release_pad), (gst_single_queue_push_one),
9207         (gst_multi_queue_item_destroy), (gst_multi_queue_item_new),
9208         (gst_multi_queue_loop), (gst_multi_queue_chain),
9209         (gst_multi_queue_sink_activate_push), (gst_multi_queue_sink_event),
9210         (gst_multi_queue_getcaps), (gst_multi_queue_bufferalloc),
9211         (gst_multi_queue_src_activate_push), (gst_multi_queue_acceptcaps),
9212         (gst_multi_queue_src_event), (gst_multi_queue_src_query),
9213         (wake_up_next_non_linked), (compute_next_non_linked),
9214         (single_queue_overrun_cb), (single_queue_underrun_cb),
9215         (single_queue_check_full), (gst_single_queue_new):
9216         * plugins/elements/gstmultiqueue.h:
9217         New multiqueue element, using GstDataQueue. Used for queuing multiple
9218         streams.
9219         Closes #344639 and #347785
9220
9221 2006-11-22  Stefan Kost  <ensonic@users.sf.net>
9222
9223         * docs/pwg/advanced-types.xml:
9224           add more missing type details
9225
9226         * tools/gst-run.c: (main):
9227           remove unused variable
9228
9229 2006-11-21  Stefan Kost  <ensonic@users.sf.net>
9230
9231         * docs/libs/Makefile.am:
9232         * docs/libs/gstreamer-libs.types:
9233           add types of base classes to enable gobject specific stuff in the docs
9234
9235         * docs/random/ensonic/embedded.txt:
9236           more ideas about isolating platform specific things
9237
9238 2006-11-20  Wim Taymans  <wim@fluendo.com>
9239
9240         Patch by: Sebastian Dröge <slomo at ubuntu dot com>
9241
9242         * libs/gst/check/gstcheck.h:
9243         Fix compilation and running against 0.9.4. Fixes #377332.
9244
9245 2006-11-20  Wim Taymans  <wim@fluendo.com>
9246
9247         * gst/gstsegment.c: (gst_segment_set_seek),
9248         (gst_segment_set_newsegment_full), (gst_segment_to_stream_time),
9249         (gst_segment_to_running_time):
9250         Fix boundary checking in to_running_time() and to_stream_time().
9251         Fixes #377183.
9252
9253         * tests/check/gst/gstsegment.c: (GST_START_TEST):
9254         stream and running time can now be calculated for the complete
9255         clipped segment.
9256
9257 2006-11-15  Tim-Philipp Müller  <tim at centricular dot net>
9258
9259         * gst/gstpad.c: (gst_pad_push_event):
9260           Can't access event structure after giving away ownership of
9261           the event.
9262
9263 2006-11-15  Stefan Kost  <ensonic@users.sf.net>
9264
9265         * docs/random/ensonic/embedded.txt:
9266         * docs/random/ensonic/profiling.txt:
9267         * docs/random/ensonic/receipies.txt:
9268           more thinking
9269
9270 2006-11-13  Wim Taymans  <wim@fluendo.com>
9271
9272         Patch by: Mark Nauwelaerts <manauw at skynet dot be>
9273
9274         * gst/gstpad.c:
9275         Fix documentation for gst_pad_dispatcher. Fixes #374475.
9276
9277 2006-11-13  Wim Taymans  <wim@fluendo.com>
9278
9279         Patch by: Jonathan Matthew <jonathan at kaolin dot wh9 dot net>
9280
9281         * libs/gst/base/gstbasesrc.c: (gst_base_src_update_length):
9282         Store new length in segment duration so we don't keep on calling the
9283         potentially expensize get_size() call. Fixes #370865.
9284
9285 2006-11-10  Tim-Philipp Müller  <tim at centricular dot net>
9286
9287         Patch by: Sergey Scobich  <sergey.scobich at gmail com>
9288
9289         * win32/common/libgstreamer.def:
9290           Add two missing symbols (#366492).
9291
9292 2006-11-10  Jan Schmidt  <thaytan@mad.scientist.com>
9293
9294         * libs/gst/base/gstadapter.c: (gst_adapter_flush),
9295         (gst_adapter_take_buffer):
9296         Fix format string to use all its arguments.
9297         Remove useless >= check on a guint
9298
9299 2006-11-09  Jan Schmidt  <thaytan@mad.scientist.com>
9300
9301         * tests/examples/adapter/.cvsignore:
9302         Ignore build file as commanded by the build-bot
9303
9304 2006-11-09  Jan Schmidt  <thaytan@mad.scientist.com>
9305
9306         * tests/examples/adapter/Makefile.am:
9307         * tests/examples/adapter/adapter_test.c: (run_test_take),
9308         (run_test_take_buffer), (run_tests), (main):
9309
9310         Add new files from the previous commit
9311
9312 2006-11-09  Jan Schmidt  <thaytan@mad.scientist.com>
9313
9314         * Makefile.am:
9315         * configure.ac:
9316         * libs/gst/base/gstadapter.c: (gst_adapter_clear),
9317         (gst_adapter_push), (gst_adapter_peek_into), (gst_adapter_peek),
9318         (gst_adapter_flush), (gst_adapter_take), (gst_adapter_take_buffer):
9319         * libs/gst/base/gstadapter.h:
9320         * tests/check/libs/adapter.c: (create_and_fill_adapter),
9321         (GST_START_TEST), (gst_adapter_suite):
9322         * tests/examples/Makefile.am:
9323         Do some optimisation work in GstAdapter to avoid copies in more cases.
9324         It could still do slightly better by merging buffers when
9325         gst_buffer_is_span_fast is true, but is already faster. 
9326
9327         Also, avoid traversing a single-linked list to append each incoming 
9328         buffer inside the adapter.
9329
9330         Add simple test app that times the adapter behaviour in different
9331         situations, and extend the unit test to check that bytes enter and
9332         exit the adapter in their original order.
9333
9334 2006-11-08  Tim-Philipp Müller  <tim at centricular dot net>
9335
9336         * docs/random/draft-missing-plugins.txt:
9337           Update: use element message instead of adding a new message
9338           type to the core; don't provide GStreamer API to initiate the
9339           plugin download, just provide API to compose the strings needed
9340           and let an external libgimmestuff handle the rest.
9341
9342 2006-11-08  Jan Schmidt  <thaytan@mad.scientist.com>
9343
9344         * tools/gst-inspect.c: (print_element_properties_info):
9345         Print a string instead of 'unknown type' for GValueArray properties
9346
9347 2006-11-08  Christian F.K. Schaller  <christian@fluendo.com>
9348
9349         * docs/random/draft-missing-plugins.txt:
9350         More small fixes.
9351
9352 2006-11-07  Tim-Philipp Müller  <tim at centricular dot net>
9353
9354         * tests/examples/typefind/typefind.c: (type_found), (main):
9355           Make typefind element example work again (#371894); add a
9356           license header.
9357
9358 2006-11-07  Tim-Philipp Müller  <tim at centricular dot net>
9359
9360         * docs/random/draft-missing-plugins.txt:
9361           Commit initial draft about how to deal with missing plugins,
9362           needs work (API too).
9363
9364 2006-11-07  Stefan Kost  <ensonic@users.sf.net>
9365
9366         * docs/pwg/advanced-types.xml:
9367           documents the new caps elements (see #363118)
9368
9369 2006-11-06  Tim-Philipp Müller  <tim at centricular dot net>
9370
9371         * gst/gstplugin.c: (gst_plugin_load_file):
9372         * plugins/elements/gstfilesrc.c: (gst_mmap_buffer_finalize),
9373         (gst_file_src_map_region), (gst_file_src_start):
9374         * plugins/indexers/gstfileindex.c: (gst_file_index_load),
9375         (gst_file_index_commit):
9376           Use g_strerror() instead of strerror() - we want UTF-8.
9377
9378 2006-11-06  Tim-Philipp Müller  <tim at centricular dot net>
9379
9380         Patch by: Peter Kjellerstedt <pkj at axis com>
9381
9382         * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
9383           Another printf fix (#371493).
9384
9385 2006-11-06  Stefan Kost  <ensonic@users.sf.net>
9386
9387         * tests/check/gst/gsttag.c:
9388           relicence (okay with author=company)
9389
9390 2006-11-06  Stefan Kost  <ensonic@users.sf.net>
9391
9392         * gst/gstpad.c: (gst_pad_event_default_dispatch),
9393         (gst_pad_push_event):
9394           Enhance debug and improve docs
9395         
9396         * gst/gsturi.c:
9397           Fix docs
9398
9399 2006-11-06  Stefan Kost  <ensonic@users.sf.net>
9400
9401         * docs/random/ensonic/distributed.txt:
9402         * docs/random/ensonic/profiling.txt:
9403           more ideas
9404
9405 2006-11-06  Stefan Kost  <ensonic@users.sf.net>
9406
9407         * docs/gst/gstreamer-sections.txt:
9408           add new API and fix the build
9409           
9410         * gst/gstbin.c: (gst_bin_recalc_state):
9411         * gst/gstelement.c: (gst_element_message_full),
9412         (gst_element_get_state_func), (gst_element_set_state_func):
9413           use new API and improve logging
9414         
9415         * gst/gstutils.c: (gst_element_state_change_return_get_name):
9416         * gst/gstutils.h:
9417           API: add function to get StateChangereturn names to improve logs 
9418
9419 2006-11-04  Thomas Vander Stichele  <thomas at apestaart dot org>
9420
9421         * plugins/elements/gstfilesrc.c: (gst_file_src_start):
9422           I'm considering shooting the next person to put strerror stuff
9423           in the translateable part of the message.
9424
9425 2006-11-03  Wim Taymans  <wim@fluendo.com>
9426
9427         * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
9428         Get the type and printf conversion specifiers right.
9429
9430 2006-11-03  Wim Taymans  <wim@fluendo.com>
9431
9432         Patch by: Mark Nauwelaerts <manauw at skynet dot be>
9433
9434         * gst/gstpad.c: (gst_pad_init), (pre_activate),
9435         (gst_pad_set_blocked_async), (gst_pad_acceptcaps_default),
9436         (gst_pad_accept_caps), (handle_pad_block), (gst_pad_push_event):
9437         Some small cleanups. Improve debugging.
9438         * gst/gstpad.h:
9439         Signal all waiting threads with a broadcast instead of just one.
9440         Fixes #369942.
9441
9442 2006-11-03  Wim Taymans  <wim@fluendo.com>
9443
9444         * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd),
9445         (gst_fd_src_create):
9446         Add some debugging. 
9447         Only update fd when it's different from the old.
9448
9449 2006-11-02  Tim-Philipp Müller  <tim at centricular dot net>
9450
9451         * plugins/elements/gstfilesrc.c: (gst_file_src_create_mmap):
9452           Printf fixes for PPC/OSX, take two (#369366).
9453
9454 2006-11-02  Tim-Philipp Müller  <tim at centricular dot net>
9455
9456         Based on patch by: Jan David Mol  <j.j.d.mol at tudelft nl>
9457
9458         * plugins/elements/gstfilesink.c: (gst_file_sink_class_init):
9459         * plugins/elements/gstfilesrc.c: (gst_file_src_class_init),
9460         (gst_file_src_map_small_region), (gst_file_src_create_mmap):
9461           Printf fixes for gsize parameters on PPC/OSX (#369366). Also,
9462           don't cast to long long for portability reasons, but use
9463           GLib's types instead.
9464
9465 2006-10-30  Michael Smith  <msmith@fluendo.com>
9466
9467         * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
9468           Get the arguments to lseek() the right way around.
9469           Fixes 367677.
9470
9471 2006-10-30  Wim Taymans  <wim@fluendo.com>
9472
9473         Patch by: gorshkov <gorshkov at oghma dot on dot ca>
9474
9475         * gst/gstinfo.h:
9476         _declspec should be __declspec (two underscores, not one). Fixes 366572.
9477
9478 2006-10-28  Tim-Philipp Müller  <tim at centricular dot net>
9479
9480         Patch by: Kjartan Maraas  <kmaraas at gnome org>
9481
9482         * docs/design/part-MT-refcounting.txt:
9483         * docs/random/wtay/capsnego2-docs:
9484         * gst/gstclock.c:
9485         * gst/gstxml.c:
9486           Typo fixes (#366212).
9487
9488 2006-10-28  Wim Taymans  <wim@fluendo.com>
9489
9490         Patch by: Sergey Scobich <sergey dot scobich at gmail dot com>
9491
9492         * gst/gst.c:
9493         * win32/common/libgstbase.def:
9494         * win32/common/libgstreamer.def:
9495         * win32/vs8/libgstbase.vcproj:
9496         * win32/vs8/libgstcontroller.vcproj:
9497         Add needed entries in .def files.
9498         Use HAVE_UNISTD_H.
9499         Rearrange def files in vs8 solutions. Fixes #366286.
9500
9501 2006-10-28  Tim-Philipp Müller  <tim at centricular dot net>
9502
9503         * win32/common/gstconfig.h:
9504           Add GST_SEGMENT_FORMAT and GST_USING_PRINTF_EXTENSION to the
9505           hand-made win32 gstconfig.h. Fixes #366321.
9506
9507 2006-10-27  Wim Taymans  <wim@fluendo.com>
9508
9509         * gst/gstghostpad.c: (gst_proxy_pad_do_acceptcaps),
9510         (gst_ghost_pad_new_full):
9511         Make acceptcaps return TRUE when we don't have a target, just like
9512         setcaps does.
9513
9514 2006-10-27  Wim Taymans  <wim@fluendo.com>
9515
9516         * libs/gst/base/gstbasetransform.c: (gst_base_transform_chain):
9517         Revert previous commit, 0 sized buffers are allowed. Reopens #363095.
9518
9519 2006-10-26  Tim-Philipp Müller  <tim at centricular dot net>
9520
9521         * gst/gststructure.c: (gst_structure_id_set_value):
9522           If someone tries to set a non-UTF8 string field on a structure,
9523           don't just print a warning, but also ignore the request and do
9524           not change/add that field to the structure.
9525
9526         * tests/check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
9527           Test for the above.
9528
9529 2006-10-25  David Schleef  <ds@schleef.org>
9530
9531         * gst/gstinfo.c:
9532           g_hash_table_insert() needs a cast to a non-const pointer duh.
9533
9534 2006-10-25  David Schleef  <ds@schleef.org>
9535
9536         * gst/gstinfo.c:
9537         * gst/gstinfo.h:
9538           Change name parameter of _gst_debug_register_funcptr to const
9539           to reflect the constness of its use in the function as well
9540           as to quiet a gcc warning.
9541
9542 2006-10-25  Edward Hervey  <edward@fluendo.com>
9543
9544         * libs/gst/base/gstbasetransform.c: (gst_base_transform_chain):
9545         Don't push the buffer if it's empty.
9546         Closes #363095
9547
9548 2006-10-24  Wim Taymans  <wim@fluendo.com>
9549
9550         * gst/gstevent.h:
9551         Add small comment.
9552
9553         * libs/gst/base/gstbasetransform.c:
9554         (gst_base_transform_sink_eventfunc):
9555         Debug segment values *after* updating them as this is more
9556         interesting.
9557
9558 2006-10-23  Wim Taymans  <wim@fluendo.com>
9559
9560         * docs/design/part-events.txt:
9561         Update some docs.
9562
9563         * docs/design/part-block.txt:
9564         * gst/gstpad.c: (gst_pad_is_blocking), (handle_pad_block),
9565         (gst_pad_push_event):
9566         Revert BLOCKING patch, it tries to be smart without really having a
9567         clear idea what or how. So, now we discard all FLUSHING events again on
9568         a blocking pad. Should fix gnonlin again.
9569
9570 2006-10-23  Wim Taymans  <wim@fluendo.com>
9571
9572         Patch by: Sergey Scobich <sergey dot scobich at gmail dot com>
9573
9574         * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
9575         (gst_base_src_start), (gst_base_src_activate_push):
9576         Make sure size is always initialized. Fixes #364388.
9577
9578 2006-10-20  Stefan Kost  <ensonic@users.sf.net>
9579
9580         * docs/random/ensonic/distributed.txt:
9581           add some ideas about doing distributed processing
9582
9583         * docs/random/ensonic/profiling.txt:
9584           get_rusage look promising
9585
9586 2006-10-18  Stefan Kost  <ensonic@users.sf.net>
9587
9588         * docs/manual/basics-helloworld.xml:
9589           Add a cast in example to fix compile warning
9590
9591 2006-10-18  Wim Taymans  <wim@fluendo.com>
9592
9593         * gst/gstsegment.c: (gst_segment_set_last_stop),
9594         (gst_segment_set_seek), (gst_segment_set_newsegment_full):
9595         Relax arg checking again, -1 is allowed.
9596
9597 2006-10-18  Wim Taymans  <wim@fluendo.com>
9598
9599         * gst/gstsegment.c: (gst_segment_set_last_stop),
9600         (gst_segment_set_seek), (gst_segment_set_newsegment_full):
9601         _set_last_stop() must be with a value != -1
9602         A _TYPE_SET to -1 means seek to 0.
9603         Calc last_stop correctly for negative rates.
9604         Make sure we work with positive durations when updating a segment.
9605
9606 2006-10-18  Wim Taymans  <wim@fluendo.com>
9607
9608         * docs/design/part-live-source.txt:
9609         * gst/gstclock.h:
9610         Small docs fixes.
9611
9612 2006-10-18  Tim-Philipp Müller  <tim at centricular dot net>
9613
9614         * gst/gstbuffer.h:
9615           Add an explicit cast to GstBuffer** to keep old code that added an
9616           explicit cast to GstMiniObject** for gst_mini_object_replace()
9617           compiling without warning.
9618
9619 2006-10-18  Stefan Kost  <ensonic@users.sf.net>
9620
9621         * gst/gstvalue.c: (gst_value_set_date), (gst_date_copy):
9622           check for validity of dates
9623
9624 2006-10-17  Tim-Philipp Müller  <tim at centricular dot net>
9625
9626         * docs/gst/gstreamer-sections.txt:
9627           Forgot this one, makes gtk-doc shut up.
9628
9629 2006-10-17  Tim-Philipp Müller  <tim at centricular dot net>
9630
9631         Patch by: Peter Kjellerstedt <pkj at axis com>
9632
9633         * gst/gstobject.h:
9634           Don't define xmlNodePtr to gpointer if the core was built with
9635           --disable-loadsave and --disable-registry, this will break
9636           applications that want to use libxml2 but are buildling against a
9637           core that doesn't use libxml2. Use an intermediary type GstXmlNodePtr
9638           instead so we don't have to mess with the libxml2 namespace
9639           (#361675).
9640
9641 2006-10-17  Tim-Philipp Müller  <tim at centricular dot net>
9642
9643         * gst/gstbuffer.h:
9644           Fix gst_buffer_replace() macro to avoid gst_mini_object_replace()-related
9645           type-punned pointer warnings.
9646
9647 2006-10-16  Tim-Philipp Müller  <tim at centricular dot net>
9648
9649         * gst/gstelement.h:
9650           Add casts to the correct return type to state <=> state transition
9651           macros.
9652
9653 2006-10-16  Stefan Kost  <ensonic@users.sf.net>
9654
9655         * docs/design/part-live-source.txt:
9656           describe howto handle latency
9657         
9658         * docs/random/ensonic/profiling.txt:
9659           more ideas
9660
9661         * tools/gst-plot-timeline.py:
9662           fix log parsing for solaris, remove unused function
9663
9664 2006-10-16  Wim Taymans  <wim@fluendo.com>
9665
9666         * docs/design/part-trickmodes.txt:
9667         * gst/gstevent.c:
9668         Update some docs regarding reverse playback.
9669
9670 2006-10-15  Tim-Philipp Müller  <tim at centricular dot net>
9671
9672         Patch by: Marcus Granado  <mrc dot gran at gmail com>
9673
9674         * win32/vs8/grammar.vcproj:
9675           Error out with a warning if glib-genmarshal.exe is not in path,
9676           instead of creating bogus gstmarshal.[ch] files. Fixes #361720.
9677
9678 2006-10-13  Wim Taymans  <wim@fluendo.com>
9679
9680         * gst/gstsegment.c: (gst_segment_set_seek):
9681         When seeking to stop -1, set last_stop (current position) to the
9682         duration of the segment.
9683
9684 2006-10-13  Wim Taymans  <wim@fluendo.com>
9685
9686         * gst/gstelement.h:
9687         Clarify _NO_PREROLL a bit more.
9688
9689         * gst/gstevent.c:
9690         Fix docs.
9691
9692         * gst/gstpad.c: (gst_pad_link_check_hierarchy),
9693         (gst_pad_get_caps_unlocked), (gst_pad_save_thyself),
9694         (handle_pad_block), (gst_pad_push_event), (gst_pad_send_event):
9695         Patch by: Yves Lefebvre <ivanohe at abacom dot com> Fix possible deadlock
9696         due to wrong locking order. Fixes #361769.
9697         Remove some redundant/misplaced checks in pad_block.
9698
9699         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
9700         For negative rates, count backwards from the duration.
9701
9702 2006-10-13  Tim-Philipp Müller  <tim at centricular dot net>
9703
9704         * gst/gsterror.c: (_gst_library_errors_init):
9705           Fix error message for GST_LIBRARY_ERROR_SETTINGS (feel free to come
9706           up with something better).
9707
9708 2006-10-12  Tim-Philipp Müller  <tim at centricular dot net>
9709
9710         * win32/vs6/libgstreamer.dsp:
9711         * win32/vs7/libgstreamer.vcproj:
9712         * win32/vs8/libgstreamer.vcproj:
9713           Don't reference glib-compat.c which is currently not used and not
9714           disted; add gstquark.c which was recently added. Fixes #361730.
9715
9716 2006-10-12  Tim-Philipp Müller  <tim at centricular dot net>
9717
9718         * win32/common/libgstbase.def:
9719         * win32/common/libgstcontroller.def:
9720         * win32/common/libgstreamer.def:
9721           Add gst_caps_merge() and a bunch of other recently-added functions.
9722           Fixes #361732.
9723
9724 2006-10-11  Wim Taymans  <wim@fluendo.com>
9725
9726         * docs/plugins/gstreamer-plugins.args:
9727         * docs/plugins/inspect/plugin-coreelements.xml:
9728         * docs/plugins/inspect/plugin-coreindexers.xml:
9729         Update element args.
9730
9731         * gst/gstsystemclock.c:
9732         Small comment update.
9733
9734         * plugins/elements/gsttee.c: (gst_tee_class_init), (gst_tee_init),
9735         (gst_tee_request_new_pad), (gst_tee_release_pad),
9736         (gst_tee_buffer_alloc), (gst_tee_sink_activate_push),
9737         (gst_tee_sink_activate_pull):
9738         * plugins/elements/gsttee.h:
9739         Some tee loving:
9740         Add default property defines.
9741         Implement release pad function.
9742         Give properties better blubs etc.
9743         Activate pads before adding them to a running tee.
9744         Do simple buffer_alloc on the first requested pad.
9745         Post error when activation fails.
9746
9747 2006-10-11  Tim-Philipp Müller  <tim at centricular dot net>
9748
9749         * gst/gst.c: (ensure_current_registry_forking):
9750           Check return value of write() to make compiler happy.
9751
9752 2006-10-11  Wim Taymans  <wim@fluendo.com>
9753
9754         Patch by: Sjoerd Simons <sjoerd at luon dot net>
9755
9756         * plugins/elements/gstqueue.c: (gst_queue_chain):
9757         Recheck queue filledness after signalling the overrun when we're about
9758         to leak downstream because we released the lock when emitting the signal
9759         and the queue could be empty again. Fixes #352345.
9760
9761 2006-10-11  Tim-Philipp Müller  <tim at centricular dot net>
9762
9763         * libs/gst/controller/gstcontroller.c: (gst_controller_new_list):
9764           Fix refcounting here too, just like we did for _new_valist() a few
9765           days ago (#357180) (thanks to René Stadler). Also remove all those
9766           'Since: 0.9' from the gtk-doc blobs.
9767
9768         * tests/check/libs/controller.c: (controller_refcount_new_list),
9769         (gst_controller_suite):
9770           Unit test for the above.
9771
9772 2006-10-10  Wim Taymans  <wim@fluendo.com>
9773
9774         Patch by: Sebastien Cote <sebas642 at yahoo dot ca>
9775
9776         * gst/gstpad.c: (gst_pad_get_caps_unlocked),
9777         (gst_pad_save_thyself):
9778         Update some docs.
9779         Write pad direction in XML output. Fixes #345496.
9780
9781 2006-10-10  Wim Taymans  <wim@fluendo.com>
9782
9783         Patch by: René Stadler <mail at renestadler dot de>
9784
9785         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
9786         (gst_controller_new_list), (_gst_controller_dispose),
9787         (_gst_controller_finalize), (_gst_controller_class_init):
9788         Take ref to controlled object so that it cannot disappear. 
9789         Fixes #357432.
9790
9791 2006-10-10  Wim Taymans  <wim@fluendo.com>
9792
9793         * libs/gst/check/gstcheck.c: (gst_check_setup_src_pad),
9794         (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
9795         (gst_check_teardown_sink_pad):
9796         Activate/deactivate pads in setup/teardown respectively.
9797
9798 2006-10-10  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
9799
9800         Patch by: Josep Torra Valles <josep@fluendo.com>
9801
9802         * gst/Makefile.am:
9803         Cast values when making gstenumtypes.h.  This pacifies Forte
9804         so it doesn't warn about the ~0 as GST_MESSAGE_ANY not fitting
9805         in the enumeration.
9806
9807 2006-10-09  Wim Taymans  <wim@fluendo.com>
9808
9809         * gst/gstevent.c: (gst_event_new_seek), (gst_event_parse_seek):
9810         Rename some more @cur to @start to fix docs. 
9811
9812         * gst/gstsegment.c: (gst_segment_set_seek):
9813         Fix typo.
9814         time and start must always stay in sync as defined in design doc.
9815
9816         * gst/gsttaglist.c: (gst_tag_list_is_empty):
9817         Rename param to fix docs.
9818
9819         * tests/check/gst/gstsegment.c: (GST_START_TEST):
9820         Check that start and time are in sync.
9821
9822         * tests/check/pipelines/parse-launch.c:
9823         (gst_parse_test_element_change_state):
9824         Activate pad before adding to the element.
9825
9826 2006-10-09  Wim Taymans  <wim@fluendo.com>
9827
9828         * docs/design/part-qos.txt:
9829         Fix typo.
9830
9831         * gst/gstevent.c:
9832         * gst/gstevent.h:
9833         Update seek event docs regarding negative rates.
9834         Rename @cur to @start. 
9835
9836         * gst/gstsegment.c: (gst_segment_set_seek):
9837         * gst/gstsegment.h:
9838         Update set_seek docs regarding negative rates.
9839         Correctly update last_stop to @stop when dealing with negative
9840         rates.
9841         Rename @cur to @start. 
9842
9843         * tests/check/gst/gstpad.c: (GST_START_TEST):
9844         Activate pads before trying to use them.
9845
9846         * tests/check/gst/gstsegment.c: (GST_START_TEST),
9847         (gst_segment_suite):
9848         Add simple check for segments and negative rates.
9849
9850 2006-10-09  Tim-Philipp Müller  <tim at centricular dot net>
9851
9852         * gst/gsttaglist.c: (gst_tag_list_is_empty):
9853         * gst/gsttaglist.h:
9854         * docs/gst/gstreamer-sections.txt:
9855           API: add gst_tag_list_is_empty() (#360467).
9856
9857         * tests/check/gst/gsttag.c: (GST_START_TEST):
9858           And a test case.
9859
9860 2006-10-09  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
9861
9862         * gst/gstmessage.h:
9863         Revert change from earlier wrt GST_MESSAGE_TYPE_ANY having
9864         a value that doesn't fit on enumeration.
9865
9866 2006-10-09  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
9867
9868         * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
9869         Remove local debugging system and use Gstreamer's instead.
9870
9871 2006-10-09  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
9872
9873         Patch by: Josep Torra Valles <josep@fluendo.com>
9874
9875         * common/m4/gst-error.m4:
9876         Disable warning of statement not reached on Forte.
9877         * gst/gstmessage.h:
9878         Fix warning on Forte (value doesn't fit on enumeration).
9879         * libs/gst/base/gstbasesink.c: (gst_base_sink_chain_unlocked):
9880         Fix warning on Forte (value doesn't fit on enumeration).
9881         * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
9882         DEBUG macro says it takes minimum of 2 args and so Forte
9883         complains about the use with just 1 arg.
9884         * plugins/elements/gstfdsink.c:
9885         * plugins/elements/gstfdsrc.c:
9886         * plugins/elements/gstfilesink.c:
9887         * plugins/elements/gstfilesrc.c:
9888         Use correct return type for the uri handler implementations.
9889
9890         All these fix warnings in Forte.  Fixes bug #360860.
9891
9892 2006-10-08  Tim-Philipp Müller  <tim at centricular dot net>
9893
9894         * gst/gstelement.h:
9895           gcc versions prior to gcc 3.3 apparently complain about a NULL printf
9896           format string, so don't use G_GNUC_PRINTF for those versions.
9897
9898 2006-10-07  Tim-Philipp Müller  <tim at centricular dot net>
9899
9900         * gst/gsttaglist.c: (gst_is_tag_list):
9901         * gst/gsttaglist.h:
9902           Minor fixes to GST_IS_TAG_LIST and gst_is_tag_list().
9903
9904         * tests/check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
9905           Small test for the above.
9906
9907 2006-10-07  Tim-Philipp Müller  <tim at centricular dot net>
9908
9909         * gst/gsttaglist.h:
9910           Less tabs, more spaces.
9911
9912 2006-10-06  Tim-Philipp Müller  <tim at centricular dot net>
9913
9914         * gst/gstinfo.h:
9915           Those two function declarations do actually belong there, revert
9916           commit from yesterday that turned them intro macros.
9917
9918 2006-10-06  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
9919
9920         Patch by: Josep Torra Valles <josep@fluendo.com>
9921
9922         * gst/gst.c: (gst_init_get_option_group):
9923         Fix empty declaration and type mismatch.
9924         * gst/gstbin.c: (gst_bin_change_state_func):
9925         Fix type mismatch.
9926         * gst/gstelement.c: (gst_element_continue_state),
9927         (gst_element_set_state_func), (gst_element_change_state),
9928         (gst_element_change_state_func):
9929         Fix type mismatches.
9930         * gst/gstinfo.c: (gst_debug_compare_log_function_by_func),
9931         (gst_debug_remove_log_function), (_gst_debug_nameof_funcptr):
9932         Cast as appropriate.
9933         * gst/gstobject.c: (gst_class_signal_connect):
9934         Cast as appropriate.  The function pointer parameter really
9935         has the wrong type but would break API if we change it.
9936         * gst/gstquery.c:
9937         Fix redefinition of _FILE_OFFSET_BITS caused on Solaris wrt
9938         order of including string.h.
9939         * gst/gstutils.c: (gst_element_state_get_name):
9940         Remove unreachable line.
9941         * gst/gstxml.c: (gst_xml_parse_doc):
9942         Fix type mismatch.
9943         All these caught by Forte.
9944
9945 2006-10-06  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
9946
9947         Patch by: Josep Torra Valles <josep@fluendo.com>
9948
9949         * common/m4/gst-error.m4:
9950         Fixed bug #360151.
9951         We need to disable warnings on Forte for empty declarations
9952         due to gst-indent adding ;s to lines that just use macros
9953         where the macro actually doesn't need a ; at end to end
9954         statement.
9955
9956 2006-10-06  Wim Taymans  <wim@fluendo.com>
9957
9958         * plugins/elements/gstfilesink.c: (gst_file_sink_open_file),
9959         (gst_file_sink_close_file), (gst_file_sink_event),
9960         (gst_file_sink_render):
9961         Add some FIXME for the NEWSEGMENT handling.
9962
9963 2006-10-05  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
9964
9965         * gst/parse/grammar.y:
9966         Remove static function gst_parse_element_lock as all it does
9967         is return.  Looks like cruft from 0.8.
9968
9969 2006-10-05  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
9970
9971         Patch by: Josep Torra Valles <josep@fluendo.com>
9972
9973         * common/m4/gst-error.m4:
9974         * configure.ac:
9975         * libs/gst/net/Makefile.am:
9976         Fix a compilation issue with Forte on Solaris.  inet_aton is in
9977         libresolv.
9978
9979 2006-10-05  Tim-Philipp Müller  <tim at centricular dot net>
9980
9981         * gst/gstpad.c: (pre_activate):
9982         * gst/gstregistry.c: (gst_registry_scan_path_level):
9983         * gst/gstregistryxml.c: (load_plugin):
9984         * libs/gst/controller/gstcontroller.c:
9985         (gst_controlled_property_set_interpolation_mode):
9986         * libs/gst/dataprotocol/dataprotocol.c:
9987         (gst_dp_packet_from_event_1_0):
9988         * libs/gst/net/gstnetclientclock.c:
9989         (gst_net_client_clock_observe_times):
9990         * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
9991           Printf fixes.
9992
9993 2006-10-05  Tim-Philipp Müller  <tim at centricular dot net>
9994
9995         * configure.ac:
9996         * docs/gst/gstreamer-sections.txt:
9997         * gst/gstconfig.h.in:
9998         * gst/gstelement.h:
9999         * gst/gstinfo.h:
10000           Add GST_USING_PRINTF_EXTENSION to gstconfig.h so that we know
10001           whether we can use G_GNUC_PRINTF in other header files and at
10002           least check the printf format/arguments of debug messages and
10003           GST_ELEMENT_ERROR messages when the printf extension is not
10004           being used.
10005           Replace more tabs with spaces in gstinfo.h and remove two spurious
10006           function declarations in GST_DISABLE_DEBUG part with macros.
10007
10008 2006-10-03  Tim-Philipp Müller  <tim at centricular dot net>
10009
10010         * gst/gstbus.c: (gst_bus_class_init), (gst_bus_post):
10011           More docs for the sync-message signal (mention that it is not
10012           emitted by default); log message structures of messages posted on
10013           the bus as well.
10014
10015 2006-10-03  Jan Schmidt  <thaytan@mad.scientist.com>
10016
10017         * gst/gst.c: (ensure_current_registry_forking):
10018         Use a pipe pair to receive status results from the forked child, and
10019         ignore the result from waitpid. Fixes #355499
10020
10021 2006-10-02  Wim Taymans  <wim@fluendo.com>
10022
10023         * tests/check/gst/gstghostpad.c: (GST_START_TEST),
10024         (gst_ghost_pad_suite):
10025         Fix leak in check.
10026
10027 2006-10-02  Tim-Philipp Müller  <tim at centricular dot net>
10028
10029         * gst/gstpad.c:
10030           Add 'Since: 0.10.11' to gst_pad_is_blocking() gtk-doc blurb.
10031
10032 2006-10-02  Edward Hervey  <edward@fluendo.com>
10033
10034         * docs/design/part-block.txt:
10035         Further explain the use of flushing on blocked pads.
10036         * docs/gst/gstreamer-sections.txt:
10037         * gst/gstpad.c: (gst_pad_is_blocking), (handle_pad_block),
10038         (gst_pad_push_event):
10039         * gst/gstpad.h:
10040         Added new GstPadFlag : GST_PAD_BLOCKING.
10041         Adds the notion of pads really blocking, which enables to properly
10042         handle FLUSH_START/FLUSH_STOP events on blocked pads.
10043         Fixes #358999
10044         API: gst_pad_is_blocking()
10045         API: GST_PAD_IS_BLOCKING() macro
10046         API: GST_PAD_BLOCKING GstPadFlag
10047         
10048 2006-10-02  Wim Taymans  <wim@fluendo.com>
10049
10050         Patch by: mrcgran <mrc.gran at gmail dot com>
10051
10052         * gst/gstghostpad.c: (gst_proxy_pad_do_getcaps):
10053         Filter the proxied caps against the padtemplate if we have one.
10054
10055         * gst/gstquery.c: (gst_query_new_segment):
10056         Add include for gstinfo.h so that compilation with
10057         -DGST_DISABLE_GST_DEBUG works again. Fixes #358436.
10058
10059 2006-10-02  Wim Taymans  <wim@fluendo.com>
10060
10061         Patch by: Alessandro Decina  <alessandro at nnva org>
10062
10063         * plugins/elements/gstfilesink.c: (gst_file_sink_init),
10064         (gst_file_sink_set_location), (gst_file_sink_open_file),
10065         (gst_file_sink_close_file), (gst_file_sink_event),
10066         (gst_file_sink_render):
10067         Set file to NULL when closing filesink so that we can set a new filename
10068         in READY. Fixes #358613.
10069
10070 2006-10-02  Tim-Philipp Müller  <tim at centricular dot net>
10071
10072         Patch by: Alessandro Decina  <alessandro at nnva org>
10073
10074         * gst/gstevent.c: (_gst_event_copy):
10075           Fix gst_mini_object_make_writable() and gst_event_copy() for events
10076           with event structures by setting the parent refcount address of the
10077           copied structure to the address of the refcount member of the newly
10078           copied event rather than the address of the refcount member of the
10079           original event. Fixes #358737.
10080
10081         * tests/check/gst/gstevent.c: (GST_START_TEST):
10082           Unit test for the above.
10083
10084 2006-09-29  Stefan Kost  <ensonic@users.sf.net>
10085
10086         * docs/design/Makefile.am:
10087           Dist some more files.
10088
10089 2006-09-29  Tim-Philipp Müller  <tim at centricular dot net>
10090
10091         * tests/check/libs/controller.c: (GST_START_TEST),
10092         (gst_controller_suite):
10093           Add test for the previous fix; add some more tests
10094           for correct refcounting behaviour; fix a few leaks
10095           in test cases; call gst_controller_init() at start
10096           of all tests.
10097
10098 2006-09-29  Tim-Philipp Müller  <tim at centricular dot net>
10099
10100         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
10101         (gst_controller_set_from_list):
10102           Don't g_return_val_if_fail() on timed values with invalid timestamps
10103           inside a critical section without unlocking the mutex. Spotted by
10104           René Stadler. (#357617)
10105           Also, fix up refcounting properly: when returning an existing
10106           controller, we should increase the reference only once and not
10107           once per property and when trying to control a property again
10108           we should also increase the refcount.
10109
10110 2006-09-29  Wim Taymans  <wim@fluendo.com>
10111
10112         * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
10113         * libs/gst/net/gstnettimeprovider.c:
10114         (gst_net_time_provider_thread):
10115         Stop reading commands when EOF as well.
10116
10117         * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init):
10118         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init):
10119         * plugins/elements/gstidentity.c: (gst_identity_class_init):
10120         Unify description of the dump property.
10121
10122 2006-09-28  Jan Schmidt  <thaytan@mad.scientist.com>
10123
10124         * tests/examples/manual/.cvsignore:
10125         OK, so it's actually cvsignore that needs changing. Stop laughing.
10126
10127 2006-09-28  Jan Schmidt  <thaytan@mad.scientist.com>
10128
10129         * tests/examples/manual/Makefile.am:
10130         Gah, declare vars *before* using them
10131
10132 2006-09-28  Jan Schmidt  <thaytan@mad.scientist.com>
10133
10134         * gst/gst.c: (init_pre), (scan_and_update_registry),
10135         (ensure_current_registry_nonforking),
10136         (ensure_current_registry_forking), (ensure_current_registry),
10137         (init_post), (gst_debug_help), (gst_deinit):
10138         * gst/gst_private.h:
10139         * gst/gstregistry.c: (gst_registry_finalize),
10140         (gst_registry_remove_features_for_plugin_unlocked),
10141         (gst_registry_remove_plugin), (gst_registry_scan_path_level),
10142         (gst_registry_scan_path),
10143         (_priv_gst_registry_remove_cache_plugins),
10144         (_priv_gst_registry_cleanup):
10145         * gst/gstregistry.h:
10146         Re-commit the registry changes, along with an extra fix:
10147           When a cached plugin is encountered at a different file path,
10148           update the stored path in the registry cache so that the parent
10149           process knows where it actually is now when it re-reads the registry
10150           cache. Fixes the thing that broke distcheck with the previous commit.
10151
10152         * tests/check/Makefile.am:
10153         Clean up files named 'core' too when running make clean.
10154
10155         * tests/examples/manual/Makefile.am:
10156         Set up a registry path for running these tests, and clean it properly
10157         for distcheck.
10158
10159 2006-09-28  Jan Schmidt  <thaytan@mad.scientist.com>
10160
10161         * configure.ac:
10162         Don't pull in gmodule-2.0.pc as a dependency in our .pc files - we
10163         want gmodule-no-export-2.0.pc instead so that we don't drag in
10164         --export-dynamic on every project that links to GStreamer.
10165
10166         Also, make our export regex only match the start of symbols, rather 
10167         than any symbol that contains '_gst' somewhere.
10168
10169         * libs/gst/check/Makefile.am:
10170         The libgstcheck we build does however need export-dynamic, as it
10171         produces some symbols that don't match our _gst... style regex.
10172         Fixes: #318031
10173
10174 2006-09-27  Jan Schmidt  <thaytan@mad.scientist.com>
10175
10176         * gst/gst.c: (init_pre), (scan_and_update_registry),
10177         (ensure_current_registry_nonforking),
10178         (ensure_current_registry_forking), (ensure_current_registry),
10179         (init_post), (gst_debug_help), (gst_deinit):
10180         * gst/gst_private.h:
10181         * gst/gstregistry.c: (gst_registry_finalize),
10182         (gst_registry_remove_plugin), (gst_registry_scan_path_level),
10183         (gst_registry_scan_path), (_gst_registry_remove_cache_plugins),
10184         (_gst_registry_cleanup):
10185         * gst/gstregistry.h:
10186           Revert previous change until I figure out why it breaks distcheck.
10187
10188 2006-09-27  Jan Schmidt  <thaytan@mad.scientist.com>
10189
10190         * gst/gst.c: (init_pre), (scan_and_update_registry),
10191         (ensure_current_registry_nonforking),
10192         (ensure_current_registry_forking), (ensure_current_registry),
10193         (init_post), (gst_debug_help), (gst_deinit):
10194
10195           Make init_pre and init_post take the full complement of GOptionFunc
10196           args so they can return useful GErrors. Make the registry updating
10197           functions do so.
10198
10199           Call _priv_gst_registry_remove_cache_plugins after scanning files to
10200           ensure that the registry we're about to write out doesn't contain
10201           stale information about old-deleted plugin files.
10202
10203           Make _priv_gst_registry_remove_cache_plugins return a boolean so
10204           that deletion of plugin files is considered a registry change.
10205
10206         * gst/gst_private.h:
10207         * gst/gstregistry.c: (gst_registry_finalize),
10208         (gst_registry_remove_features_for_plugin_unlocked),
10209         (gst_registry_remove_plugin), (gst_registry_scan_path_level),
10210         (gst_registry_scan_path),
10211         (_priv_gst_registry_remove_cache_plugins),
10212         (_priv_gst_registry_cleanup):
10213         * gst/gstregistry.h:
10214         Rename _gst_registry_remove_cache_plugins and _gst_registry_cleanup
10215         by adding _priv prefix, so that they won't appear in the global
10216         symbol table. They still do atm though because of #318031. Move the
10217         prototypes to gst_private.h
10218
10219         When removing a plugin, remove all features for that plugin too. 
10220         Fixes #340878.
10221
10222 2006-09-27  Wim Taymans  <wim@fluendo.com>
10223
10224         * docs/random/moving-plugins:
10225         Make it clear that the "compiled-in descriptions" really mean
10226         the element details.
10227
10228         * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
10229         (gst_base_sink_wait_preroll):
10230         Update docs.
10231
10232         * docs/libs/gstreamer-libs-sections.txt:
10233         * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
10234         (gst_base_src_get_range), (gst_base_src_activate_push):
10235         * libs/gst/base/gstbasesrc.h:
10236         Added function to block while waiting for PLAYING, this function
10237         is used by live sources that block on the clock.
10238         API: gst_base_src_wait_playing()
10239
10240 2006-09-27  Tim-Philipp Müller  <tim at centricular dot net>
10241
10242         Patch by: Peter Kjellerstedt <pkj at axis com>
10243
10244         * Makefile.am:
10245           gst-element-check.m4 is generated and should therefore be
10246           copied from the build dir rather than the source dir (#357593).
10247           'make distcheck' hasn't noticed this because we were disting
10248           the file as well, so stop doing that.
10249
10250 2006-09-27  Tim-Philipp Müller  <tim at centricular dot net>
10251
10252         * tests/check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
10253           Add some tests for gst_caps_intersect().
10254
10255         * tools/gst-launch.c: (event_loop):
10256           Print all buffering percentages we get, even the 100% one.
10257
10258 2006-09-26  Wim Taymans  <wim@fluendo.com>
10259
10260         * tools/gst-inspect.c: (print_element_properties_info),
10261         (print_signal_info):
10262         Fix printing of flags to match the look of enums.
10263
10264 2006-09-25  Tim-Philipp Müller  <tim at centricular dot net>
10265
10266         * gst/gstelementfactory.c:
10267           Fix typo in docs blurb.
10268
10269 2006-09-25  Tim-Philipp Müller  <tim at centricular dot net>
10270
10271         * gst/gsturi.c: (search_by_entry):
10272           Don't assert/crash here if a uri handler doesn't return any
10273           supported protocols. The list of protocols could be generated
10274           dynamically at runtime or at plugin registration, and an error
10275           in the underlying library shouldn't be fatal (#353301).
10276
10277 2006-09-25  Tim-Philipp Müller  <tim at centricular dot net>
10278
10279         * gst/gstinfo.c:
10280           Fix warning if HAVE_PRINTF_EXTENSION is undefined
10281           (spotted by Peter Kjellerstedt).
10282
10283 2006-09-23  Wim Taymans  <wim@fluendo.com>
10284
10285         Based on patch by: Antoine Tremblay <hexa00 at gmail dot com>
10286
10287         * libs/gst/base/gstbasesrc.c:
10288         (gst_base_src_default_check_get_range), (gst_base_src_start),
10289         (gst_base_src_activate_push), (gst_base_src_activate_pull),
10290         (gst_base_src_change_state):
10291         Match _start/_stop calls in the activate functions. Remove redundant
10292         _stop call from the state change function. Fixes #356910.
10293         Turn failure DEBUG into ERROR. 
10294
10295 2006-09-22  Wim Taymans  <wim@fluendo.com>
10296
10297         * docs/design/part-buffering.txt:
10298         * gst/gstmessage.c: (gst_message_new_buffering),
10299         (gst_message_parse_buffering):
10300         Update docs about buffering.
10301
10302         * docs/design/part-trickmodes.txt:
10303         Fix typo.
10304
10305 2006-09-22  Stefan Kost  <ensonic@users.sf.net>
10306
10307         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
10308         (gst_controller_new_list):
10309           Ref instances when returning them again (fixes #357180)
10310
10311 2006-09-22  Tim-Philipp Müller  <tim at centricular dot net>
10312
10313         * gst/gstghostpad.c: (gst_ghost_pad_set_target):
10314           Don't forget to release proxy lock when there's an error.
10315
10316 2006-09-20  Jan Schmidt  <thaytan@mad.scientist.com>
10317
10318         * gst/gstcaps.h:
10319           Add extra initialisers for Caps things, to fix some plugin warnings
10320           when using -Wextra
10321
10322 2006-09-18  Wim Taymans  <wim@fluendo.com>
10323
10324         * gst/gstghostpad.c: (gst_ghost_pad_new_full):
10325           Also set template on the internal pad so that a getcaps from the 
10326           target pad returns the template caps.
10327
10328 2006-09-18  Wim Taymans  <wim@fluendo.com>
10329
10330         * gst/gstelement.c: (gst_element_post_message),
10331         (gst_element_dispose):
10332         Use _DEBUG_OBJECT some more.
10333
10334         * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
10335         Avoid typechecks.
10336
10337         * tools/gst-launch.c: (main):
10338         If the toplevel element is not a GstPipeline, it must be put in a
10339         pipeline so that a bus and clock is selected.
10340
10341 2006-09-17  Tim-Philipp Müller  <tim at centricular dot net>
10342
10343         * libs/gst/base/gstbasesrc.c: (gst_base_src_default_query):
10344           JITTER, RATE, and LATENCY query should be handled by the
10345           default case and not by the CONVERT query code.
10346
10347 2006-09-17  Tim-Philipp Müller  <tim at centricular dot net>
10348
10349         * gst/gstformat.c: (gst_format_register):
10350           Fix locking order (must take lock before using n_values).
10351
10352         * gst/gstvalue.c: (gst_value_serialize_enum),
10353         (gst_value_deserialize_enum_iter_cmp),
10354         (gst_value_deserialize_enum):
10355           Fix serialisation/deserialisation of custom registered GstFormats.
10356
10357         * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
10358           Unit test for custom format serialisation/deserialisation.
10359
10360 2006-09-17  Stefan Kost  <ensonic@users.sf.net>
10361
10362         * docs/pwg/building-boiler.xml:
10363         * plugins/elements/gstcapsfilter.c:
10364         More G_OBJECT macro fixing. Also Fix some details on the plugin-stamp
10365         section.
10366
10367 2006-09-16  Edward Hervey  <edward@fluendo.com>
10368
10369         * libs/gst/base/gstbasetransform.c:
10370         (gst_base_transform_buffer_alloc):
10371         Check if requested caps are the same as the sinks caps IF
10372         ->have_same_caps is TRUE. If they are not, act as if have_same_caps
10373         is FALSE.
10374         This fixes the renegotiation issues stated in #352827.
10375
10376 2006-09-16  Thomas Vander Stichele  <thomas at apestaart dot org>
10377
10378         * configure.ac:
10379         * docs/manual/advanced-autoplugging.xml:
10380         * tests/examples/Makefile.am:
10381         * tests/examples/manual/.cvsignore:
10382         * tests/examples/manual/Makefile.am:
10383         * tests/examples/manual/extract.pl:
10384           Extract the manual examples again like we used to do.
10385           Fix one of them.
10386
10387 2006-09-16  Thomas Vander Stichele  <thomas at apestaart dot org>
10388
10389         * win32/common/config.h:
10390           update for version
10391
10392 2006-09-16  Stefan Kost  <ensonic@users.sf.net>
10393
10394         * gst/gsterror.c:
10395           Documents how to receive errors.
10396
10397 2006-09-15  Wim Taymans  <wim@fluendo.com>
10398
10399         * tools/gst-launch.c: (sigint_handler_sighandler), (check_intr),
10400         (event_loop), (main):
10401         Added some comments here and there.
10402         Post an application message when an interrupt is caught instead of doing
10403         an uncontrolled state change.
10404         Clean up the event loop.
10405         Handle buffering messages, pause/resume the pipeline.
10406         Make shutdown because of an interrupt more reliable.
10407
10408 2006-09-15  Wim Taymans  <wim@fluendo.com>
10409
10410         * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
10411         (gst_base_sink_wait_preroll), (gst_base_sink_do_sync),
10412         (gst_base_sink_preroll_object):
10413         Make sure that our internal state is correct when we commit our state
10414         asynchronously. This solves a race where a state change to PLAYING
10415         could cause the sink to remain blocked in preroll in some situations.
10416
10417 2006-09-15  Wim Taymans  <wim@fluendo.com>
10418
10419         * tools/gst-inspect.c: (print_element_properties_info),
10420         (print_signal_info):
10421         List flags as hex so it's easier to deal with.
10422
10423 2006-09-15  Wim Taymans  <wim@fluendo.com>
10424
10425         * docs/libs/gstreamer-libs-sections.txt:
10426         * libs/gst/base/gstbasesink.c: (gst_base_sink_wait_preroll),
10427         (gst_base_sink_do_sync):
10428         * libs/gst/base/gstbasesink.h:
10429         Expose logic to wait for preroll so that subclasses such as audiosink
10430         can also use this method.
10431         API: gst_base_sink_wait_preroll()
10432
10433 2006-09-15  Wim Taymans  <wim@fluendo.com>
10434
10435         * gst/gstobject.c: (gst_object_set_parent):
10436         * gst/gstpipeline.c: (do_pipeline_seek):
10437         Small cleanups in docs and code.
10438
10439         * gst/gstsegment.c: (gst_segment_clip):
10440         * tests/check/gst/gstsegment.c: (GST_START_TEST):
10441         if stop == start and start is in the segment, no clipping should be
10442         done. Also add a test for this.
10443
10444 2006-09-15  Wim Taymans  <wim@fluendo.com>
10445
10446         * docs/design/part-buffering.txt:
10447         * docs/gst/gstreamer-sections.txt:
10448         * gst/gstmessage.c: (gst_message_new_buffering),
10449         (gst_message_parse_buffering):
10450         * gst/gstmessage.h:
10451         Added methods to create and parse BUFFERING messages.
10452         Added preliminary docs about buffering.
10453         API: gst_message_new_buffering
10454         API: gst_message_parse_buffering
10455
10456 2006-09-06  Wim Taymans  <wim@fluendo.com>
10457
10458         * gst/gstbin.c:
10459         Update documentation.
10460
10461         * gst/gstelement.c: (gst_element_class_init),
10462         (gst_element_release_request_pad), (gst_element_set_clock),
10463         (gst_element_get_index), (gst_element_add_pad),
10464         (gst_element_remove_pad), (gst_element_get_random_pad),
10465         (gst_element_send_event), (gst_element_get_query_types),
10466         (gst_element_query), (gst_element_post_message),
10467         (gst_element_message_full), (gst_element_continue_state),
10468         (gst_element_lost_state), (gst_element_save_thyself),
10469         (gst_element_restore_thyself):
10470         Documentation updates.
10471         Rename last bit of the new-pad -> pad-added signal rename.
10472         Fix the case where an element query would only work if the source
10473         pad was linked.
10474         Avoid some useless type checking in message handling.
10475
10476         * gst/gstevent.c:
10477         * gst/gstevent.h:
10478         * gst/gstutils.c:
10479         Documentation updates.
10480
10481 2006-09-14  Thomas Vander Stichele  <thomas at apestaart dot org>
10482
10483         * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
10484           add an INFO line for when we actually update the fd
10485
10486 2006-09-14  Thomas Vander Stichele  <thomas at apestaart dot org>
10487
10488         * configure.ac:
10489           back to TRUNK
10490
10491 === release 0.10.10 ===
10492
10493 2006-09-14  Thomas Vander Stichele <thomas at apestaart dot org>
10494
10495         * configure.ac:
10496           releasing 0.10.10, "Pais"
10497
10498 2006-09-05  Tim-Philipp Müller  <tim at centricular dot net>
10499
10500         * docs/manual/advanced-position.xml:
10501           Fix typo in sample code.
10502
10503 2006-09-05  Wim Taymans  <wim@fluendo.com>
10504
10505         * libs/gst/net/gstnetclientclock.c: (inet_aton),
10506         (gst_net_client_clock_init), (gst_net_client_clock_finalize),
10507         (gst_net_client_clock_do_select), (gst_net_client_clock_new):
10508         * libs/gst/net/gstnetclientclock.h:
10509         * libs/gst/net/gstnettimepacket.c: (gst_net_time_packet_send):
10510         * libs/gst/net/gstnettimepacket.h:
10511         * libs/gst/net/gstnettimeprovider.c: (inet_aton),
10512         (gst_net_time_provider_init), (gst_net_time_provider_finalize),
10513         (gst_net_time_provider_thread), (gst_net_time_provider_new):
10514         * libs/gst/net/gstnettimeprovider.h:
10515         Make stuff compile on windows. Fixes #345295.
10516
10517 2006-09-03  Tim-Philipp Müller  <tim at centricular dot net>
10518
10519         * gst/gst.c: (ensure_current_registry_forking):
10520           Print better details when child was terminated by signal.
10521
10522 2006-09-03  Tim-Philipp Müller  <tim at centricular dot net>
10523
10524         * gst/gstregistryxml.c: (gst_registry_xml_save_feature):
10525           Print a warning rather than g_assert() if a plugin feature
10526           is a URI handler but returns no protocols (#353976).
10527
10528 2006-09-02  Stefan Kost  <ensonic@users.sf.net>
10529
10530         * docs/random/moving-plugins:
10531         Fix two typos.         
10532
10533 2006-09-01  Tim-Philipp Müller  <tim at centricular dot net>
10534
10535         * gst/gstinfo.c: (_gst_debug_nameof_funcptr):
10536           Fix locking order, handle NULL function values properly.
10537
10538         * gst/gstinfo.h:
10539           Fix docs.
10540
10541         * gst/gstpad.c: (gst_pad_buffer_alloc_unchecked):
10542           Initialise variable before using it and fix debug statement to
10543           print the address of the function rather than the address of the
10544           variable on the stack holding the address of the function.
10545
10546 2006-09-01  Wim Taymans  <wim@fluendo.com>
10547
10548         * gst/gstghostpad.c: (gst_proxy_pad_do_event),
10549         (gst_proxy_pad_do_bufferalloc), (gst_proxy_pad_do_chain),
10550         (gst_proxy_pad_do_getrange), (gst_proxy_pad_do_checkgetrange),
10551         (gst_proxy_pad_set_target_unlocked), (gst_ghost_pad_parent_set),
10552         (gst_ghost_pad_parent_unset),
10553         (gst_ghost_pad_internal_do_activate_push),
10554         (gst_ghost_pad_internal_do_activate_pull),
10555         (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
10556         (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
10557         (gst_ghost_pad_init), (gst_ghost_pad_dispose),
10558         (gst_ghost_pad_new_full), (gst_ghost_pad_new_no_target),
10559         (gst_ghost_pad_new), (gst_ghost_pad_new_from_template),
10560         (gst_ghost_pad_new_no_target_from_template),
10561         (gst_ghost_pad_get_target), (gst_ghost_pad_set_target):
10562         More cleanups.
10563         Avoid needless typechecking in macros.
10564         Since the internal pad is always present and never changes, there is
10565         no need to locking or ref when retrieving it.
10566         Improve debugging a bit.
10567         Handle link errors when setting the target. Fixes #341029.
10568
10569 2006-09-01  Wim Taymans  <wim@fluendo.com>
10570
10571         * docs/libs/gstreamer-libs-sections.txt:
10572         * docs/plugins/gstreamer-plugins-sections.txt:
10573         Fix docs some more.
10574
10575         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad),
10576         (gst_collect_pads_event):
10577         * libs/gst/base/gstcollectpads.h:
10578         Documentation updates.
10579         Free queued buffer when removing a pad.
10580
10581 2006-08-31  Michael Smith  <msmith@fluendo.com>
10582
10583         * gst/gstutils.c: (gst_element_link_pads),
10584         (gst_element_link_pads_filtered):
10585           Ensure that we set a capsfilter to NULL if we failed to link it
10586           when doing filtered linking, to avoid criticals.
10587
10588           No need to check for unreffing srcpad, which is explicly NULLed
10589           above (a trivial code cleanup).
10590
10591 2006-08-31  Wim Taymans  <wim@fluendo.com>
10592
10593         * docs/design/part-gstghostpad.txt:
10594         Update ascii art in documentation.
10595
10596         * gst/gstghostpad.c: (gst_proxy_pad_do_internal_link),
10597         (gst_proxy_pad_set_target_unlocked), (gst_proxy_pad_init),
10598         (gst_ghost_pad_parent_set), (gst_ghost_pad_parent_unset),
10599         (gst_ghost_pad_internal_do_activate_push),
10600         (gst_ghost_pad_internal_do_activate_pull),
10601         (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
10602         (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
10603         (gst_ghost_pad_dispose), (gst_ghost_pad_new_full),
10604         (gst_ghost_pad_set_target):
10605         Small cleanups and leak fixes.
10606         Remove some checks now that the internal pad is never NULL.
10607         Fix the case where linking pads without a target would create nasty
10608         criticals. Fixes #341029.
10609         Don't assign a GstPadLinkReturn to a gboolean and mess up the return
10610         value of _set_target().
10611
10612         * tests/check/gst/gstghostpad.c: (GST_START_TEST),
10613         (gst_ghost_pad_suite):
10614         Some more tests for creating and linking untargeted ghostpads.
10615
10616 2006-08-31  Edward Hervey  <edward@fluendo.com>
10617
10618         * docs/gst/gstreamer-sections.txt:
10619         * gst/gstghostpad.c: (gst_proxy_pad_do_getcaps),
10620         (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target_unlocked),
10621         (gst_proxy_pad_dispose), (gst_ghost_pad_new_full),
10622         (gst_ghost_pad_new_no_target), (gst_ghost_pad_new),
10623         (gst_ghost_pad_new_from_template),
10624         (gst_ghost_pad_new_no_target_from_template):
10625         * gst/gstghostpad.h:
10626         Refactored *_new() functions.
10627         Templates are now used as a g_object_new() parameter.
10628         Use template in _do_getcaps() if we don't have a target.
10629         Small documentation cleanups.
10630         Added two new constructors:
10631         gst_ghost_pad_new_from_template()
10632         gst_ghost_pad_new_no_target_from_template()
10633         * tests/check/gst/gstghostpad.c: (GST_START_TEST),
10634         (gst_ghost_pad_suite):
10635         Added tests for new ghostpad instanciation functions.
10636
10637         API additions: gst_ghost_pad_new_from_template,
10638         gst_ghost_pad_new_no_target_from_template
10639
10640 2006-08-30  Stefan Kost  <ensonic@users.sf.net>
10641
10642         * docs/random/ensonic/profiling.txt:
10643           Ideas about qos profiling.
10644
10645 2006-08-29  Wim Taymans  <wim@fluendo.com>
10646
10647         * gst/gstcaps.c: (gst_caps_structure_is_subset_field):
10648         Code cleanups.
10649         Fix memleak.
10650
10651 2006-08-29  Tim-Philipp Müller  <tim at centricular dot net>
10652
10653         * gst/gstxml.c:
10654           Improve and detypofy docs.
10655
10656         * tests/check/Makefile.am:
10657         * tests/check/gst/.cvsignore:
10658         * tests/check/gst/gstxml.c: (GST_START_TEST), (gst_xml_suite):
10659           Add a basic test suite for GstXML.
10660
10661 2006-08-29  Wim Taymans  <wim@fluendo.com>
10662
10663         * gst/gstelement.c: (activate_pads), (clear_caps),
10664         (iterator_activate_fold_with_resync), (gst_element_pads_activate):
10665         Clear the pad caps when the element shut down all of the pads and
10666         is not streaming data that could modify the caps. 
10667         Fixes #352958.
10668
10669 2006-08-28  Michael Smith  <msmith@fluendo.com>
10670
10671         * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
10672           Revert previous change; I misunderstood single-segment mode.
10673
10674 2006-08-28  Michael Smith  <msmith@fluendo.com>
10675
10676         * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
10677           Unset DISCONT on buffers when using single-segment mode.
10678
10679 2006-08-28  Wim Taymans  <wim@fluendo.com>
10680
10681         * gst/gstcaps.c: (gst_caps_merge_structure):
10682         * gst/gstcaps.h:
10683         Fix docs and indentation again.
10684
10685         * tests/check/gst/gstquery.c: (GST_START_TEST):
10686         Fix leak in tests and add some more tests.
10687
10688 2006-08-28  Edward Hervey  <edward@fluendo.com>
10689
10690         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
10691         Inform GstSegment of the last stop position in order for the current
10692         segment to have a proper duration if it doesn't have a specific stop
10693         position from which a duration could be calculated.
10694         This bug was noticeable when a non-flushing, non-update new segment was
10695         followed by another segment (all buffers from the new segment were being
10696         dropped).
10697
10698 2006-08-28  Wim Taymans  <wim@fluendo.com>
10699
10700         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek):
10701         Small comment update.
10702
10703         * plugins/elements/gstidentity.c: (gst_identity_class_init),
10704         (gst_identity_transform_ip):
10705         Drop-probability is broken, mention this in the code with a 
10706         FIXME and also in the property description.
10707         Make silent also be silent about the drop messages.
10708
10709 2006-08-28  Tim-Philipp Müller  <tim at centricular dot net>
10710
10711         * docs/manual/appendix-win32.xml:
10712           Remove mention of popt, we don't depend on that any
10713           longer (#353136). Add some comments pointing out that
10714           this section is slightly outdated.
10715
10716 2006-08-28  Wim Taymans  <wim@fluendo.com>
10717
10718         Patch by: Torsten Schoenfeld <kaffeetisch at gmx dot de>
10719
10720         * gst/gstquery.c: (gst_query_new_segment):
10721         * tests/check/gst/gstquery.c: (GST_START_TEST):
10722         Initialize variables when creating a new segment query.
10723         Fixes #353121.
10724
10725 2006-08-28  Wim Taymans  <wim@fluendo.com>
10726
10727         Patch by: Torsten Schoenfeld <kaffeetisch at gmx dot de>
10728
10729         * gst/gstelement.c: (gst_element_get_bus):
10730         * tests/check/gst/gstelement.c: (GST_START_TEST):
10731         Check for NULL before _reffing the bus. Fixes #353122.
10732
10733 2006-08-25  Tim-Philipp Müller  <tim at centricular dot net>
10734
10735         * docs/manual/basics-bus.xml:
10736           Docs update: fix wrong callback return value explanation; add
10737           some lines about the implicit relationship between main loop
10738           and main context; remove duplicate main loop variable declaration.
10739
10740 2006-08-24  Tim-Philipp Müller  <tim at centricular dot net>
10741
10742         * tests/check/gst/gstcaps.c: (GST_START_TEST):
10743           Don't leak caps in unit test; add a few more simple
10744           checks. 
10745
10746 2006-08-24  Stefan Kost  <ensonic@users.sf.net>
10747
10748         * docs/gst/gstreamer-sections.txt:
10749         * gst/gstcaps.c: (gst_caps_structure_is_subset_field),
10750         (gst_caps_structure_is_subset), (gst_caps_merge),
10751         (gst_caps_merge_structure):
10752         * gst/gstcaps.h:
10753         * libs/gst/base/gstbasetransform.c:
10754         (gst_base_transform_transform_caps):
10755         * tests/check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
10756           implement caps merging (fixes #352580)
10757
10758 2006-08-23  Stefan Kost  <ensonic@users.sf.net>
10759
10760         * tools/Makefile.am:
10761         * tools/gst-plot-timeline.py:
10762           add debug-log plotting developer tool (#340674)
10763
10764 2006-08-23  Wim Taymans  <wim@fluendo.com>
10765
10766         * gst/gstpad.c: (gst_pad_start_task), (gst_pad_pause_task),
10767         (gst_pad_stop_task):
10768         Improve debugging for task functions.
10769
10770         * gst/gsttask.c: (gst_task_func), (gst_task_set_lock),
10771         (gst_task_start), (gst_task_pause), (gst_task_join):
10772         Make sure that the task function started and finished after a 
10773         join(). 
10774         Don't try to push the task function on the threadpool multiple
10775         times.
10776         Improve the g_warning message with some useful suggestions
10777         about how to fix the problem. 
10778
10779 2006-08-23  Wim Taymans  <wim@fluendo.com>
10780
10781         * gst/gstutils.c: (gst_pad_proxy_getcaps):
10782         Handle RESYNC correctly in _proxy_getcaps.
10783
10784 2006-08-21  Tim-Philipp Müller  <tim at centricular dot net>
10785
10786         * gst/gstxml.c: (gst_xml_dispose), (gst_xml_parse_file),
10787         (gst_xml_parse_memory), (gst_xml_get_element):
10788           Chain up to parent class in dispose function and also
10789           unref the elements in the toplevel_elements GList.
10790           Don't leak XmlDocPtr in _parse_file() and _parse_memory().
10791           Always return a reference in gst_xml_get_element() rather
10792           than only sometimes.
10793
10794         * tools/gst-launch.c: (xmllaunch_parse_cmdline):
10795           Don't leak GstXml object.
10796
10797 2006-08-21  Stefan Kost  <ensonic@users.sf.net>
10798
10799         * docs/gst/gstreamer-sections.txt:
10800         * gst/gstcaps.c: (gst_structure_is_equal_foreach),
10801         (gst_caps_merge):
10802         * gst/gstcaps.h:
10803         * libs/gst/base/gstbasetransform.c:
10804         (gst_base_transform_transform_caps):
10805           API: Add gst_caps_merge() and use it in basetransform, fixes #345444
10806           in a better way
10807
10808 2006-08-21  Edward Hervey  <edward@fluendo.com>
10809
10810         * gst/gstxml.c: (gst_xml_class_init), (gst_xml_dispose):
10811         Implement GObject::dispose virtual method in GstXML so we can free the
10812         top_elements GList.
10813
10814 2006-08-21  Wim Taymans  <wim@fluendo.com>
10815
10816         * gst/gstbuffer.c: (gst_buffer_make_metadata_writable),
10817         (gst_buffer_create_sub):
10818         Copy duration/offset_end/caps when creating a subbuffer of the
10819         complete parent.
10820         Make the subbuffer read-only when we make the metadata writable for
10821         now. Fixes #351768.
10822
10823         * tests/check/gst/gstbuffer.c: (GST_START_TEST):
10824         Added check for metadata copy when creating subbuffers.
10825
10826 2006-08-21  Edward Hervey  <edward@fluendo.com>
10827
10828         * libs/gst/base/gstbasetransform.c:
10829         (gst_base_transform_buffer_alloc):
10830         Only call downstream buffer_alloc if transform element is passthrough
10831         or always_in_place. Closes #350449.
10832
10833 2006-08-20  Stefan Kost  <ensonic@users.sf.net>
10834
10835         * ChangeLog:
10836           ChangeLog surgery to add comments to previous changes
10837
10838 2006-08-20  Stefan Kost  <ensonic@users.sf.net>
10839
10840         * gst/gst.c:
10841           Add comments
10842
10843         * gst/gstpad.c: (gst_pad_set_active):
10844           Be more verbose in the log
10845
10846         * libs/gst/base/gstbasetransform.c:
10847         (gst_base_transform_transform_caps):
10848           Simplify caps to get rid of duplicates, fixes #345444
10849
10850 2006-08-20  Stefan Kost  <ensonic@users.sf.net>
10851
10852         * gst/gstvalue.c:
10853         * gst/gstvalue.h:
10854           Use these optimizations only internally.
10855
10856 2006-08-20  Stefan Kost  <ensonic@users.sf.net>
10857
10858         * gst/gstvalue.c: (gst_value_compare_list),
10859         (gst_value_compare_fraction_range),
10860         (gst_value_intersect_fraction_fraction_range),
10861         (gst_value_intersect_fraction_range_fraction_range),
10862         (gst_value_subtract_fraction_fraction_range),
10863         (gst_value_subtract_fraction_range_fraction_range),
10864         (gst_value_get_compare_func), (gst_value_compare),
10865         (gst_value_compare_with_func):
10866         * gst/gstvalue.h:
10867           Saves the expensive lookup of the compare function in many cases
10868          (#345444)
10869
10870 2006-08-18  Edward Hervey  <edward@fluendo.com>
10871
10872         * tests/check/gst/gstinfo.c: (gst_info_suite):
10873         Disable test that require gstdebug if it wasn't built in core.
10874
10875 2006-08-18  Stefan Kost  <ensonic@users.sf.net>
10876
10877         * docs/random/ensonic/logging.txt:
10878           update ideas
10879           
10880         * gst/gstinfo.c: (gst_debug_log_default):
10881           reorder fields, save some columns, add optional color codes for log
10882           levels
10883
10884 2006-08-18  Stefan Kost  <ensonic@users.sf.net>
10885
10886         * docs/random/ensonic/logging.txt:
10887           add ideas about making the logs a bit more useful
10888
10889 2006-08-17  Tim-Philipp Müller  <tim at centricular dot net>
10890
10891         * docs/pwg/advanced-events.xml:
10892         * docs/pwg/titlepage.xml:
10893           Update for 0.10 API (#340627). Add myself
10894           to authors list.
10895
10896 2006-08-17  Tim-Philipp Müller  <tim at centricular dot net>
10897
10898         * docs/libs/gstreamer-libs-docs.sgml:
10899         * docs/libs/gstreamer-libs-sections.txt:
10900         * libs/gst/check/gstbufferstraw.c:
10901           Make gstcheck stuff show up in docs (still needs to
10902           be documented properly though).
10903
10904 2006-08-16  Jan Schmidt  <thaytan@mad.scientist.com>
10905
10906         * docs/gst/gstreamer-sections.txt:
10907         * gst/Makefile.am:
10908         * gst/gst.c: (init_post):
10909         * gst/gst_private.h:
10910         * gst/gstquark.c: (_priv_gst_quarks_initialize):
10911         * gst/gstquark.h:
10912         * gst/gstquery.c: (gst_query_new_position),
10913         (gst_query_set_position), (gst_query_parse_position),
10914         (gst_query_new_duration), (gst_query_set_duration),
10915         (gst_query_parse_duration), (gst_query_new_convert),
10916         (gst_query_set_convert), (gst_query_parse_convert),
10917         (gst_query_new_segment), (gst_query_set_segment),
10918         (gst_query_parse_segment), (gst_query_new_seeking),
10919         (gst_query_set_seeking), (gst_query_parse_seeking):
10920         Add internal helpers for pre-registering quarks from static strings
10921         and using the quark values directly instead of looking them up when
10922         creating and parsing queries. Can be used for event construction too.
10923         Closes #350432.
10924
10925 2006-08-16  Wim Taymans  <wim@fluendo.com>
10926
10927         * gst/gstbin.c:
10928         Fix bogus docs.
10929
10930 2006-08-15  Tim-Philipp Müller  <tim at centricular dot net>
10931
10932         * gst/gstutils.c: (gst_util_set_value_from_string):
10933           Fix memleak (#351502).
10934
10935         * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
10936           Add unit test for most of gst_util_set_value_from_string()
10937           (not that one would want to encourage use of this function).
10938
10939 2006-08-15  Tim-Philipp Müller  <tim at centricular dot net>
10940
10941         * libs/gst/check/gstcheck.h:
10942           Use const gchar * variables in fail_unless_equals_string
10943           macro to avoid compiler warnings (and don't use tabs for
10944           indenting).
10945
10946 2006-08-15  Tim-Philipp Müller  <tim at centricular dot net>
10947
10948         * tools/gst-launch.c: (print_tag):
10949           More space on the left for the tag names, to cater
10950           for the 'extended comment' tag (not touching the
10951           string for the first line since it's translated).
10952
10953 2006-08-15  Tim-Philipp Müller  <tim at centricular dot net>
10954
10955         * libs/gst/check/gstcheck.h:
10956           Fix ASSERT_CRITICAL and ASSERT_WARNING macros to actually
10957           print something when they fail.
10958
10959 2006-08-14  Tim-Philipp Müller  <tim at centricular dot net>
10960
10961         * docs/gst/gstreamer-sections.txt:
10962         * gst/gsttaglist.c: (_gst_tag_initialize):
10963         * gst/gsttaglist.h:
10964           API: add GST_TAG_EXTENDED_COMMENT (#350935).
10965           Also change merge function for GST_TAG_COMMENT to
10966           use_first.
10967
10968 2006-08-14  Tim-Philipp Müller  <tim at centricular dot net>
10969
10970         * gst/gstinfo.c: (gst_debug_print_object):
10971           Make GST_PTR_FORMAT print messages as well.
10972
10973         * tests/check/gst/gstinfo.c: (printf_extension_log_func),
10974         (GST_START_TEST), (gst_info_suite):
10975           More tests.
10976
10977 2006-08-14  Edward Hervey  <edward@fluendo.com>
10978
10979         * gst/gstelementfactory.c: (gst_element_register):
10980         If the GstElementClass doesn't have a GstElementDetails with all fields
10981         filled up correctly (longname, description AND author), then error out
10982         nicely instead of crashing.
10983
10984 2006-08-14  Tim-Philipp Müller  <tim at centricular dot net>
10985
10986         * gst/gststructure.c:
10987           Fix typo in docs and re-wrap docs blurb to not exceed 80 chars/line.
10988
10989         * gst/gstvalue.h:
10990           Expand on the difference between arrays and lists as we use them.
10991           
10992 2006-08-14  Wim Taymans  <wim@fluendo.com>
10993
10994         * libs/gst/base/gstbasesrc.c: (gst_base_src_change_state):
10995         If the parent state change function failed, don't assume we can safely
10996         stop the source, this will be done when the pads are deactivated.
10997
10998 2006-08-14  Wim Taymans  <wim@fluendo.com>
10999
11000         * gst/gstbuffer.c:
11001         * gst/gsttask.c: (gst_task_join):
11002         Small doc updates.
11003
11004         * gst/gstpad.c: (gst_pad_activate_pull), (gst_pad_activate_push),
11005         (gst_pad_stop_task):
11006         When pad (de)activation failed for some reason, restore the old
11007         activation mode and set the pad to flushing instead of assuming the
11008         pad is deactivated.
11009         If the _task_join() failed, reinstall the task on the pad so that it can
11010         be stopped later and return an error.
11011
11012 2006-08-11  Andy Wingo  <wingo@pobox.com>
11013
11014         * configure.ac:
11015         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packetizer_new):
11016         * tests/check/libs/gdp.c: (gst_dp_suite): GST_DISABLE_DEPRECATED
11017         is only for users of API that don't want to see deprecated
11018         functions in the headers; people that want to compile out
11019         deprecated code should pass -DGST_REMOVE_DEPRECATED into the
11020         CFLAGS. Fixes the build of multifdsink, or will soon..
11021
11022 2006-08-11  Wim Taymans  <wim@fluendo.com>
11023
11024         * docs/gst/gstreamer-sections.txt:
11025         Add GstClockClass vmethod docs.
11026
11027         * gst/gstcaps.h:
11028         Mark #endif with comment for associated #if
11029
11030         * gst/gstclock.c: (gst_clock_id_wait):
11031         * gst/gstclock.h:
11032         Add vmethod wait_jitter to avoid an unneeded _get_time() for
11033         most clock implementations.
11034         Document vmethods.
11035         Flesh out docs about resolution methods.
11036         API: GstClockClass::wait_jitter
11037
11038         * gst/gstsystemclock.c: (gst_system_clock_class_init),
11039         (gst_system_clock_async_thread),
11040         (gst_system_clock_id_wait_jitter_unlocked),
11041         (gst_system_clock_id_wait_jitter):
11042         Use base class wait_jitter variant for improved performance
11043         due to less clock polling.
11044
11045 2006-08-11  Edward Hervey  <edward@fluendo.com>
11046
11047         * gst/gst.c: (gst_init_check), (init_post):
11048         Set gst as being initialized before scanning/updating the registry,
11049         since there might be my python plugin loader that calls gst_init() and
11050         we don't want to loop back in.
11051         Closes #350879
11052
11053 2006-08-11  Wim Taymans  <wim@fluendo.com>
11054
11055         * docs/design/part-qos.txt:
11056         Bring docs in line with the code. Mostly the sign of the jitter was
11057         wrong in the docs. Fixes #349943.
11058
11059         * gst/gstclock.c:
11060         Fix the docs for the jitter.
11061
11062         * gst/gstevent.c: (gst_event_new_custom), (gst_event_new_tag),
11063         (gst_event_parse_tag), (gst_event_new_buffer_size),
11064         (gst_event_parse_buffer_size), (gst_event_parse_qos),
11065         (gst_event_new_seek), (gst_event_parse_seek),
11066         (gst_event_new_navigation):
11067         Make sure the GstStructure has no parent when creating custom
11068         events.
11069         Add some more argument checking so that we avoid 0.0 rates.
11070         Flesh out the docs for the QoS event some more.
11071
11072 2006-08-11  Wim Taymans  <wim@fluendo.com>
11073
11074         * docs/gst/gstreamer-sections.txt:
11075         * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
11076         (ensure_current_registry_forking), (ensure_current_registry),
11077         (parse_one_option), (parse_goption_arg), (gst_deinit),
11078         (gst_registry_fork_is_enabled), (gst_registry_fork_set_enabled):
11079         * gst/gst.h:
11080         Doc updates.
11081         Added API and command line option to disable registry forking in
11082         addition to the environment variable.
11083         Constify some static arrays.
11084         Added some more debug.
11085         Don't deinit twice.
11086         API: gst_registry_fork_is_enabled()
11087         API: gst_registry_fork_set_enabled()
11088         API: --gst-disable-registry-fork command line option
11089         Fixes #348918.
11090
11091 2006-08-11  Tim-Philipp Müller  <tim at centricular dot net>
11092
11093         * gst/gst.c: (gst_init):
11094           Fix typo in error message.
11095
11096 2006-08-10  Stefan Kost  <ensonic@users.sf.net>
11097
11098         * libs/gst/controller/gstcontroller.h:
11099           fix ABI size-correction
11100
11101         * tests/check/libs/gdp.c: (gst_dp_suite):
11102           make tests that use deprecated API conditional
11103
11104 2006-08-10  Stefan Kost  <ensonic@users.sf.net>
11105
11106         * docs/libs/gstreamer-libs-sections.txt:
11107         * libs/gst/controller/gstcontroller.c:
11108         (_gst_controller_get_property), (_gst_controller_set_property),
11109         (_gst_controller_init), (_gst_controller_class_init):
11110         * libs/gst/controller/gstcontroller.h:
11111         * libs/gst/controller/gsthelper.c: (gst_object_get_control_rate),
11112         (gst_object_set_control_rate):
11113           API: add gst_object_{s,g}et_control_rate(), add private data section,
11114           fix docs
11115
11116         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packetizer_new):
11117         * libs/gst/dataprotocol/dataprotocol.h:
11118           add deprecation guards to make gtk-doc happy and allow disabling cruft
11119
11120 2006-08-09  Tim-Philipp Müller  <tim at centricular dot net>
11121
11122         * tests/check/Makefile.am:
11123         * tests/check/gst/.cvsignore:
11124           Let's enable the new unit test as well.
11125
11126 2006-08-08  Tim-Philipp Müller  <tim at centricular dot net>
11127
11128         * configure.ac:
11129         * docs/gst/gstreamer-sections.txt:
11130         * gst/gstconfig.h.in:
11131         * gst/gstinfo.c: (_gst_debug_init), (gst_debug_print_segment),
11132         (_gst_info_printf_extension_ptr),
11133         (_gst_info_printf_extension_segment):
11134           API: add GST_SEGMENT_FORMAT, which is a printf extension we
11135           register that lets us easily dump GstSegments into debug
11136           logs (#350419).
11137
11138         * tests/check/gst/gstinfo.c: (segment_printf_extension_log_func),
11139         (info_segment_format_printf_extension), (gst_info_suite):
11140           Add simple unit test that logs a bunch of different segments (not
11141           valgrinded at the moment because of leaks in
11142           gst_debug_add_log_function).
11143
11144 2006-08-09  Edward Hervey  <edward@fluendo.com>
11145
11146         * libs/gst/base/gstbasetransform.c:
11147         (gst_base_transform_buffer_alloc):
11148         Even if we can't figure out the proper format to request downstream,
11149         call buffer_alloc() downstream with the input parameters without setting
11150         the caps on the srcpad. This will force negotiation in the chain
11151         function.
11152         Closes #350449
11153
11154 2006-08-08  Edward Hervey  <edward@fluendo.com>
11155
11156         * gst/gstghostpad.c: (gst_ghost_pad_do_unlink):
11157         Unlinking from a pad without a target is now a perfectly valid case
11158         which should NOT raise an assertion.
11159         This case would happen if a linked ghostpad its target set to NULL after
11160         it was previously linked.
11161
11162 2006-08-08  Edward Hervey  <edward@fluendo.com>
11163
11164         * tests/check/libs/gdp.c:
11165         Also comment out the test (see below).
11166
11167 2006-08-08  Edward Hervey  <edward@fluendo.com>
11168
11169         * tests/check/libs/gdp.c: (gst_dp_suite):
11170         Use the architecture information from config.h and not gcc macros
11171         in order to properly disable a test that fails on PPC64.
11172
11173 2006-08-04  Tim-Philipp Müller  <tim at centricular dot net>
11174
11175         * gst/gstelement.c: (gst_element_remove_pad):
11176           Don't crash printing the warning if the pad has no parent.
11177
11178 2006-08-02  Wim Taymans  <wim@fluendo.com>
11179
11180         * libs/gst/dataprotocol/dataprotocol.c:
11181         (gst_dp_header_from_buffer_any), (gst_dp_packet_from_caps_any),
11182         (gst_dp_crc), (gst_dp_header_payload_length),
11183         (gst_dp_header_payload_type), (gst_dp_packet_from_event),
11184         (gst_dp_packet_from_event_1_0), (gst_dp_buffer_from_header),
11185         (gst_dp_caps_from_packet), (gst_dp_event_from_packet_0_2),
11186         (gst_dp_event_from_packet), (gst_dp_validate_header),
11187         (gst_dp_validate_payload):
11188         Make debug category static
11189         Constify the crc table.
11190         Do some more arg checking in public functions.
11191         Fix some docs and do some small cleanups.
11192
11193         * tests/check/libs/gdp.c: (GST_START_TEST), (gst_dp_suite):
11194         Add some more checks to see if GDP deals with bogus input.
11195
11196 2006-07-31  Wim Taymans  <wim@fluendo.com>
11197
11198         * gst/gstvalue.c: (gst_value_compare_list):
11199         Fix GstValueList comparison code. Fixes #347293.
11200
11201         * tests/check/gst/gstvalue.c: (GST_START_TEST):
11202         Check to test GstValueList comparison.
11203
11204 2006-07-31  Jan Schmidt  <thaytan@mad.scientist.com>
11205
11206         * gst/gstelementfactory.c: (gst_element_factory_create):
11207         Remove unnecessary ref/unref pair
11208
11209         * gst/parse/grammar.y:
11210         Make sure to free the parse buffer on all code paths.
11211         Move a g_free up to the error handler where it's easier to see.
11212
11213         * tests/check/gst/gstevent.c: (test_event):
11214         Extending timeout for downstream travelling events to 10 seconds to
11215         hopefully avoid intermittent failure on the buildbots.
11216
11217         * tests/check/pipelines/parse-launch.c: (run_delayed_test):
11218         Don't manually set the state of the src element - it will happen as a
11219         natural consequence of the pipeline changing state, and that way it
11220         will do it in the right order too.
11221
11222 2006-07-31  Wim Taymans  <wim@fluendo.com>
11223
11224         * libs/gst/base/gstbasetransform.c:
11225         (gst_base_transform_buffer_alloc):
11226         Use OBJECT_LOCK and refcounting to get the pad caps in the
11227         buffer_alloc function because the caps could change while we are
11228         busy with them. Fixes #349105
11229
11230 2006-07-31  Wim Taymans  <wim@fluendo.com>
11231
11232         * gst/gstutils.c: (gst_pad_get_fixed_caps_func):
11233         Protect _PAD_CAPS with OBJECT_LOCK.
11234
11235 2006-07-31  Wim Taymans  <wim@fluendo.com>
11236
11237         * gst/gstpad.c: (gst_pad_class_init), (gst_pad_dispose),
11238         (gst_pad_get_property), (gst_pad_activate_pull),
11239         (gst_pad_activate_push), (gst_pad_set_blocked_async),
11240         (gst_pad_set_activate_function),
11241         (gst_pad_set_activatepull_function),
11242         (gst_pad_set_activatepush_function), (gst_pad_set_chain_function),
11243         (gst_pad_set_getrange_function),
11244         (gst_pad_set_checkgetrange_function), (gst_pad_set_event_function),
11245         (gst_pad_set_query_function), (gst_pad_set_query_type_function),
11246         (gst_pad_set_internal_link_function), (gst_pad_set_link_function),
11247         (gst_pad_set_unlink_function), (gst_pad_set_getcaps_function),
11248         (gst_pad_set_acceptcaps_function),
11249         (gst_pad_set_fixatecaps_function), (gst_pad_set_setcaps_function),
11250         (gst_pad_set_bufferalloc_function), (gst_pad_link_check_hierarchy),
11251         (gst_pad_get_caps_unlocked), (gst_pad_get_caps),
11252         (gst_pad_peer_get_caps), (gst_pad_accept_caps),
11253         (gst_pad_peer_accept_caps), (gst_pad_set_caps),
11254         (gst_pad_configure_sink), (gst_pad_configure_src),
11255         (gst_pad_get_allowed_caps), (gst_pad_get_negotiated_caps),
11256         (gst_pad_buffer_alloc_unchecked), (gst_pad_alloc_buffer_full),
11257         (gst_pad_query), (gst_pad_load_and_link), (handle_pad_block),
11258         (gst_pad_chain_unchecked), (gst_pad_push), (gst_pad_get_range),
11259         (gst_pad_send_event):
11260         Use _DEBUG_OBJECT when it makes sense.
11261         Protect GST_PAD_CAPS with the OBJECT_LOCK.
11262         Small cleanups and code reflows.
11263         Avoid caps refcounting in _accept_caps.
11264         Refactor alloc_buffer so that the code performed on the peer is in a
11265         separate function. Also if the pad does not implement a buffer alloc
11266         function, we should still check if the pad is flushing before falling
11267         back to the default allocator.
11268
11269 2006-07-31  Jan Schmidt  <thaytan@mad.scientist.com>
11270
11271         * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
11272         Make all uses of identity and fakesink have silent=true to avoid
11273         serialising every passing data structure, which is breaking tests
11274         on FC4 for some unknown reason.
11275
11276 2006-07-30  Stefan Kost  <ensonic@users.sf.net>
11277
11278         * gst/parse/Makefile.am:
11279         * gst/parse/grammar.y:
11280         * gst/parse/parse.l:
11281           Reverted previous patch as it required to bump the flex dependency to
11282           2.5.31, where fc4/5 seem to ship only the ancient 2.5.4a :(
11283
11284 2006-07-30  Stefan Kost  <ensonic@users.sf.net>
11285
11286         Patch by: Marc-Andre Lureau <marcandre.lureau@gmail.com>
11287
11288         * gst/parse/Makefile.am:
11289         * gst/parse/grammar.y:
11290         * gst/parse/parse.l:
11291           push & pop the state of the lexer for reentrant use case
11292           Fixes #349180
11293
11294 2006-07-29  Tim-Philipp Müller  <tim at centricular dot net>
11295
11296         * libs/gst/base/gstbasesrc.h:
11297           Note in the docs that the ::newsegment vfunc is not actually used by
11298           GstBaseSrc.
11299
11300 2006-07-28  Wim Taymans  <wim@fluendo.com>
11301
11302         * libs/gst/base/gstcollectpads.c:
11303         (gst_collect_pads_set_flushing_unlocked), (gst_collect_pads_pop),
11304         (gst_collect_pads_clear), (gst_collect_pads_flush),
11305         (gst_collect_pads_event), (gst_collect_pads_chain):
11306         When flushing a pad, also clear the queued buffer so that we don't
11307         accidentally use it when we shouldn't.
11308         Fix leaks by inreffing incomming buffer.
11309         Flush out queued buffers in case of errors.
11310         Fixes #347452.
11311
11312 2006-07-28  Wim Taymans  <wim@fluendo.com>
11313
11314         * docs/random/phonon-gst:
11315         Random notes about a Phonon backend.
11316
11317 2006-07-27  Jan Schmidt  <thaytan@mad.scientist.com>
11318
11319         * libs/gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
11320         Extra debug output
11321         * tests/check/libs/gdp.c: (gst_dp_suite):
11322         Take a whack at fixing the ppc compile using a different define to
11323         disable the broken test.
11324
11325         * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
11326         Remove excess g_print()
11327
11328 2006-07-27  Jan Schmidt <thaytan@mad.scientist.com>
11329
11330         * tests/check/pipelines/parse-launch.c: (expected_fail_pipe):
11331         Oops, meant to uncomment this line too to dampen the noise a bit.
11332
11333 2006-07-27  Jan Schmidt <thaytan@mad.scientist.com>
11334
11335         * gst/parse/grammar.y:
11336         * gst/parse/parse.l:
11337         * tests/check/pipelines/parse-launch.c: (expected_fail_pipe),
11338         (GST_START_TEST), (parse_suite):
11339         Fix some of the leaks exposed by extending the parse-launch testsuite,
11340         and move the 3 I can't figure out into a separate test that won't run
11341         the pipelines unless the appropriate line is uncommented.
11342
11343 2006-07-27  Tim-Philipp Müller  <tim at centricular dot net>
11344
11345         * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
11346           Requesting 0 bytes before the end of the file should result in
11347           FLOW_OK and an empty buffer, not FLOW_UNEXPECTED. Thank you
11348           unit test.
11349
11350 2006-07-27  Wim Taymans  <wim@fluendo.com>
11351
11352         * gst/gstcaps.c: (gst_static_caps_get), (gst_caps_get_structure):
11353         Fix useless assert, a uint is always positive.
11354
11355         * gst/gststructure.c: (gst_structure_nth_field_name),
11356         (gst_structure_foreach), (gst_structure_map_in_place):
11357         Check input arguments for public functions to avoid obvious crashes.
11358
11359         * plugins/elements/gstfakesink.c: (gst_fake_sink_render):
11360         * plugins/elements/gstfakesink.h:
11361         Do less useless typechecking.
11362
11363 2006-07-27  Tim-Philipp Müller  <tim at centricular dot net>
11364
11365         * plugins/elements/gstfilesrc.c: (gst_file_src_class_init):
11366           Do not use mmap() by default since there are a number of error
11367           conditions that we would like to handle in a non-fatal way that
11368           will result in a SIGBUS if we use mmap(). Examples: external
11369           devices (USB harddrive, portable music player) being unplugged
11370           while in use; file on mounted CD/DVD that can't be read because
11371           the medium is partly damaged. Fixes #348455 and #348475.
11372
11373 2006-07-27  Jan Schmidt  <thaytan@mad.scientist.com>
11374
11375         * gst/gstquery.h:
11376         Delete unused and misleading define of GST_QUERY_TYPE_RATE_DEN -
11377         rates are a gdouble
11378
11379 2006-07-26  Stefan Kost  <ensonic@users.sf.net>
11380
11381         * gst/gstregistry.c:
11382           Move big documentation comment into class section header, so that it
11383           appears in the API docs.
11384
11385 2006-07-26  Jan Schmidt  <thaytan@mad.scientist.com>
11386
11387         * docs/gst/gstreamer-sections.txt:
11388         Oops. Commit the docs additions too for new API.
11389         Also, remove the mention of the non-existent GST_QUERY_TYPE_RATE_DEN
11390
11391 2006-07-26  Jan Schmidt  <thaytan@mad.scientist.com>
11392
11393         * gst/gststructure.c: (gst_structure_id_set),
11394         (gst_structure_id_set_valist):
11395         * gst/gststructure.h:
11396         Add API for setting values into structures without performing
11397         a quark lookup, if the appropriate quark is already known.
11398
11399         API: gst_structure_id_set
11400         API: gst_structure_id_set_valist
11401
11402         * gst/parse/grammar.y:
11403         * gst/parse/parse.l:
11404         Remove some dead code shown by the coverage information.
11405         Don't throw a critical g_warning when encountering a syntax error,
11406         just warn and let the normal error path handle it.
11407
11408         * plugins/elements/gstelements.c:
11409         Bump the rank of filesink up to PRIMARY so that it is preferred over
11410         gnomevfssink for file:// sink uri's
11411
11412         * tests/check/pipelines/parse-launch.c: (expected_fail_pipe),
11413         (GST_START_TEST), (run_delayed_test),
11414         (gst_parse_test_element_base_init),
11415         (gst_parse_test_element_class_init), (gst_parse_test_element_init),
11416         (gst_parse_test_element_change_state),
11417         (gst_register_parse_element), (parse_suite):
11418         Beef up the tests for parse syntax to check that more error cases
11419         fail as they are supposed to. Increases the test coverage a bit.
11420
11421 2006-07-26  Tim-Philipp Müller  <tim at centricular dot net>
11422
11423         * docs/manual/basics-elements.xml:
11424           Fix gst_element_link() example.
11425
11426         * gst/gstutils.c:
11427           Mention in API docs that one should usually gst_bin_add()
11428           elements to a bin or pipeline before doing the linking.
11429           
11430 2006-07-26  Wim Taymans  <wim@fluendo.com>
11431
11432         * gst/gstbuffer.c: (gst_buffer_get_type), (gst_buffer_new),
11433         (gst_subbuffer_get_type), (gst_buffer_create_sub):
11434         Avoid function call for known types by keeping the buffer and
11435         subbuffer GType global.
11436
11437         * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
11438         Random silly optimisations in read() path.
11439
11440 2006-07-26  Jan Schmidt  <thaytan@mad.scientist.com>
11441
11442         * tools/gst-launch.c: (main):
11443           If the top-level of the parse is a normal bin, it doesn't do the
11444           right logic to run as a top-level element, so place it inside a
11445           pipeline.
11446
11447 2006-07-25  Tim-Philipp Müller  <tim at centricular dot net>
11448
11449         * plugins/elements/gstfilesrc.c: (gst_file_src_set_property):
11450           Remove superfluous g_object_notify() calls, GObject does
11451           that for us automatically.
11452
11453 2006-07-25  Stefan Kost  <ensonic@users.sf.net>
11454
11455         * gst/gstinfo.h:
11456           on Win32, use dllspec to export the debug category symbols
11457
11458 2006-07-24  Tim-Philipp Müller  <tim at centricular dot net>
11459
11460         * gst/gsttaglist.c: (_gst_tag_initialize):
11461           Allow more than one GST_TAG_IMAGE per taglist.
11462
11463 2006-07-24  Thomas Vander Stichele  <thomas at apestaart dot org>
11464
11465         * gst/gstminiobject.c:
11466           update docs
11467         * plugins/elements/gstfdsrc.c: (gst_fd_src_set_property),
11468         (gst_fd_src_create):
11469           log recurring events at LOG level
11470           add more debug for when the fd gets set
11471
11472 2006-07-21  Stefan Kost  <ensonic@users.sf.net>
11473
11474         * gst/gstparse.c: (gst_parse_launch):
11475           Also remove reentrance checks if flex is MT safe (#348179)
11476          Fix my empty ChangeLog entry below
11477
11478 2006-07-21  Andy Wingo  <wingo@pobox.com>
11479
11480         * docs/libs/gstreamer-libs-sections.txt: Attempt to pacify buildbot.
11481
11482         * libs/gst/check/Makefile.am
11483         (libgstcheck_@GST_MAJORMINOR@include_HEADERS)
11484         (libgstcheck_@GST_MAJORMINOR@_la_SOURCES): 
11485         * libs/gst/check/gstbufferstraw.h:
11486         * libs/gst/check/gstbufferstraw.c: Add some new hype testing
11487         functions, thus proving I am still a GStreamer haxor. OK I wrote
11488         them a long time ago, but anyways.
11489
11490 2006-07-21  Stefan Kost  <ensonic@users.sf.net>
11491
11492         * configure.ac:
11493         * gst/gstparse.c: (gst_parse_launch):
11494           Check for flex version and omit mutex if we have a MT save flex
11495           (fixes #348179)
11496
11497 2006-07-21  Wim Taymans  <wim@fluendo.com>
11498
11499         * gst/gstparse.c: (gst_parse_launch):
11500         Protect recursive calls to _parse with a recursive mutex
11501         and busy flag.
11502
11503 2006-07-21  Wim Taymans  <wim@fluendo.com>
11504
11505         * tests/check/gst/gstpad.c: (GST_START_TEST):
11506         Fix leak in test.
11507
11508 2006-07-20  Stefan Kost  <ensonic@users.sf.net>
11509
11510         * gst/gstparse.c: (gst_parse_launch):
11511           Do not hang on recursive usage of gst_parse_launch()
11512
11513 2006-07-20  Tim-Philipp Müller  <tim at centricular dot net>
11514
11515         * gst/gsttaglist.c:
11516           Add some more docs, comments and FIXME 0.11s here and there
11517           and also fix some typos.
11518
11519 2006-07-20  Tim-Philipp Müller  <tim at centricular dot net>
11520
11521         * gst/gstsegment.h:
11522           Convert tabs to spaces for better readability. 
11523
11524 2006-07-20  Edward Hervey  <edward@fluendo.com>
11525
11526         * tests/check/libs/gdp.c: (gst_dp_suite):
11527         the test_buffer test fails at line 140 on ppc64 at the following
11528         check:
11529         fail_unless (GST_BUFFER_FLAG_IS_SET (newbuffer,
11530                 GST_BUFFER_FLAG_IN_CAPS),
11531                 "GST_BUFFER_IN_CAPS flag should have been copied !");
11532         See bug #348114 for more details.
11533
11534 2006-07-19  Tim-Philipp Müller  <tim at centricular dot net>
11535
11536         * docs/pwg/advanced-scheduling.xml:
11537         * gst/gstpad.c:
11538           Fix typos (#348000).
11539
11540 2006-07-18  Tim-Philipp Müller  <tim at centricular dot net>
11541
11542         * docs/pwg/intro-basics.xml:
11543           Fix wrong links (#347927).
11544
11545 2006-07-18  Stefan Kost  <ensonic@users.sf.net>
11546
11547         * gst/gstregistry.h:
11548         * gst/gstregistryxml.c: (load_feature),
11549         (gst_registry_xml_read_cache), (gst_registry_xml_save_feature):
11550         * win32/common/config.h:
11551           make --disable-index work (#342564)
11552
11553 2006-07-18  Wim Taymans  <wim@fluendo.com>
11554
11555         Patch by: Peter Kjellerstedt <pkj at axis dot com>
11556
11557         * gst/Makefile.am:
11558         * gst/gsttrace.h:
11559         The attached patch adds two missing defines to gsttrace.h when tracing
11560         is disabled.  It also corrects one existing define.
11561         Fixes #347756.
11562
11563 2006-07-17  Wim Taymans  <wim@fluendo.com>
11564
11565         * docs/gst/gstreamer-sections.txt:
11566         * gst/gst.c: (gst_segtrap_is_enabled), (gst_segtrap_set_enabled):
11567         * gst/gst.h:
11568         * gst/gstplugin.c: (_gst_plugin_fault_handler_restore):
11569         Add two functions to check and change the SIGSEGV behaviour
11570         when loading plugins.
11571         Don't mess with the SIGSEGV handler when we were told not to.
11572         Fixes #347794.
11573         API: gst_segtrap_is_enabled
11574         API: gst_segtrap_set_enabled
11575
11576 2006-07-14  Wim Taymans  <wim@fluendo.com>
11577
11578         * libs/gst/base/gstbasesrc.c: (gst_base_src_update_length):
11579         * tests/check/elements/filesrc.c: (GST_START_TEST):
11580         Revert fix for regression in #347408 after release.
11581
11582 2006-07-14  Tim-Philipp Müller  <tim at centricular dot net>
11583
11584         Patch by: Antoine Tremblay <hexa00 at gmail com>
11585
11586         * gst/gstutils.c: (gst_element_unlink):
11587           Free iterator when done (#347311).
11588
11589         * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
11590           And add a test case for this.
11591
11592 2006-07-14  Jan Schmidt  <thaytan@mad.scientist.com>
11593
11594         * configure.ac:
11595         Bump nano back to CVS
11596
11597 === release 0.10.9 ===
11598
11599 2006-07-13  Jan Schmidt <thaytan@mad.scientist.com>
11600
11601         * configure.ac:
11602           releasing 0.10.9, "On the road again"
11603
11604 2006-07-13  Wim Taymans  <wim@fluendo.com>
11605
11606         * libs/gst/base/gstbasesrc.c: (gst_base_src_update_length):
11607         * tests/check/elements/filesrc.c: (GST_START_TEST):
11608         Revert pull-0 fix for release. Disable check. Fixes #347408.
11609
11610 2006-07-13  Thomas Vander Stichele  <thomas at apestaart dot org>
11611
11612         * libs/gst/dataprotocol/dataprotocol.c:
11613         (gst_dp_event_from_packet_1_0):
11614           Fixes #347337: failure to deserialize event packets with
11615           empty payload (only event type)
11616
11617 2006-07-13  Thomas Vander Stichele  <thomas at apestaart dot org>
11618
11619         * gst/Makefile.am:
11620           do not install a .c file in the header directory
11621
11622 2006-07-13  Edward Hervey  <edward@fluendo.com>
11623
11624         * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked):
11625         GhostPad no longer implicitely use the padtemplates of the targets.
11626         Fixes #347384
11627
11628 2006-07-11  Jan Schmidt  <thaytan@mad.scientist.com>
11629
11630         * gst/gstvalue.c: (gst_value_compare_list),
11631         (gst_value_compare_array), (_gst_value_initialize):
11632         * tests/check/gst/gstvalue.c: (GST_START_TEST):
11633         Make GstValueArray comparison be order dependent as designed.
11634         Add checks for value lists and value array comparisons.
11635         Fixes #347221
11636
11637 2006-07-11  Edward Hervey  <edward@fluendo.com>
11638
11639         * gst/gstbin.c: (activate_pads),
11640         (iterator_activate_fold_with_resync), (gst_bin_src_pads_activate),
11641         (gst_bin_change_state_func):
11642         (de)activate src pads before calling state_change on the childs.
11643         This is to avoid the case where a src ghostpad is blocked (holding the
11644         stream lock), which would block the deactivation of the ghostpad's
11645         target pad.
11646         * gst/gstghostpad.c: (gst_proxy_pad_do_query_type),
11647         (gst_proxy_pad_do_event), (gst_proxy_pad_do_query),
11648         (gst_proxy_pad_do_internal_link), (gst_proxy_pad_do_bufferalloc),
11649         (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange),
11650         (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_getcaps),
11651         (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
11652         (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target_unlocked),
11653         (gst_proxy_pad_set_target), (gst_proxy_pad_get_internal),
11654         (gst_proxy_pad_dispose), (gst_proxy_pad_init),
11655         (gst_ghost_pad_parent_set), (gst_ghost_pad_parent_unset),
11656         (gst_ghost_pad_class_init),
11657         (gst_ghost_pad_internal_do_activate_push),
11658         (gst_ghost_pad_internal_do_activate_pull),
11659         (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
11660         (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
11661         (gst_ghost_pad_dispose), (gst_ghost_pad_new_no_target),
11662         (gst_ghost_pad_new), (gst_ghost_pad_set_target):
11663         GhostPads now create their internal GstProxyPad at creation (and not
11664         when they're linked, as it was being done previously).
11665         The internal and target pads are linked straight away.
11666         The data will also travel through the other pad in order to make
11667         pad blocking and probes non-hackish (the probe/block now really happens
11668         on the GhostPad and not on the target).
11669         * gst/gstpad.c: (gst_pad_set_blocked_async),
11670         (gst_pad_link_prepare), (gst_pad_push_event):
11671         Remove previous ghostpad cruft.
11672         * gst/gstutils.c: (gst_pad_add_data_probe),
11673         (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
11674         (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
11675         (gst_pad_remove_buffer_probe):
11676         Remove previous ghost pad cruft.
11677         Added more detailed debug statements.
11678         * tests/check/gst/gstghostpad.c: (GST_START_TEST):
11679         Fix the testsuite for refcounting changes.
11680         The comments about who has references were correct, but the refcount
11681         being checked wasn't the same (!?!).
11682
11683         Fixes #341029
11684
11685 2006-07-10  Stefan Kost  <ensonic@users.sf.net>
11686
11687         * docs/gst/gstreamer-sections.txt:
11688         * gst/gstconfig.h.in:
11689         More docs for configuration options, add docs to gtk-doc.
11690
11691 2006-07-10  Stefan Kost  <ensonic@users.sf.net>
11692
11693         * gst/Makefile.am:
11694         * gst/gstconfig.h.in:
11695         * win32/common/config.h:
11696         Fix build when disabling tracing (fixes #344016). Also start to document
11697         the defines that disable the sub-systems.
11698
11699 2006-07-10  Edward Hervey  <edward@fluendo.com>
11700
11701         * gst/gst.c: (ensure_current_registry_forking):
11702         let's make valgrind happy...
11703
11704 2006-07-09  Wim Taymans  <wim@fluendo.com>
11705
11706         * gst/gstelement.c: (activate_pads),
11707         (iterator_activate_fold_with_resync), (gst_element_pads_activate):
11708         Better pad activation code: Reset the collect value too on resync.
11709         Add some comments.
11710
11711 2006-07-09  Wim Taymans  <wim@fluendo.com>
11712
11713         * gst/gstpad.c: (gst_pad_init), (gst_pad_activate_pull),
11714         (gst_pad_activate_push):
11715         Use some more macros where it makes sense.
11716         Allow pad mode switching instead of asserting. When a pad
11717         is activated in one mode and we activate it in another, 
11718         deactivate it first before activating it in a different mode.
11719         Fixes #329198.
11720
11721 2006-07-08  Andy Wingo  <wingo@pobox.com>
11722
11723         * tools/gst-launch.c (main): Handle err == NULL.
11724
11725         * gst/gst.c (init_post, ensure_current_registry)
11726         (ensure_current_registry_forking)
11727         (ensure_current_registry_nonforking): Reduce #ifdef ratnest by
11728         factoring out the registry scanning into separate functions. Don't
11729         fork for the rescan is GST_REGISTRY_FORK=no; useful in debugging.
11730         Better environment var name/interface suggestions accepted.
11731
11732 2006-07-07  Tim-Philipp Müller  <tim at centricular dot net>
11733
11734         * gst/gstobject.c: (gst_object_set_name_default),
11735         (gst_object_set_name):
11736           Random micro-optimisation: don't use a hash table
11737           with strings as keys and the usual strdup/strcmp
11738           involved, but rather just use the GQuark of the
11739           type name as key, since it needs to be looked up
11740           anyway to get the type name string.
11741
11742         * tests/check/gst/gstobject.c: (GST_START_TEST):
11743           Fix various leaks.
11744
11745 2006-07-07  Tim-Philipp Müller  <tim at centricular dot net>
11746
11747         * gst/gstbin.c: (compare_interface), (gst_bin_get_by_interface),
11748         (gst_bin_iterate_all_by_interface):
11749           Can't use GPOINTER_TO_INT and GINT_TO_POINTER with GTypes.
11750           GTypes are gulongs and thus the top 4 bytes might be cut
11751           off on some platforms when doing GPOINTER_TO_INT, leading
11752           to invalid GTypes and bad things happening (see RH bug #179654).
11753           Also add a check to make sure the type passed in is really
11754           an interface type.
11755
11756 2006-07-07  Tim-Philipp Müller  <tim at centricular dot net>
11757
11758         * .cvsignore:
11759           Ignore more.
11760
11761 2006-07-07  Tim-Philipp Müller  <tim at centricular dot net>
11762
11763         * Makefile.am:
11764         * configure.ac:
11765         * gst-element-check.m4:
11766         * gst-element-check.m4.in:
11767           Make gst-element-check-$VERSION.m4 call gst-inspect-$VERSION
11768           instead of the unversioned gst-inspect (#324176, #168659).
11769
11770 2006-07-06  Wim Taymans  <wim@fluendo.com>
11771
11772         * gst/gstmessage.h:
11773         Use a valid int for the _MESSAGE_ANY enum value to avoid compiler
11774         warnings.
11775
11776 2006-07-06  Wim Taymans  <wim@fluendo.com>
11777
11778         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
11779         (gst_base_src_wait), (gst_base_src_update_length),
11780         (gst_base_src_get_range), (gst_base_src_default_check_get_range),
11781         (gst_base_src_check_get_range), (gst_base_src_pad_check_get_range),
11782         (gst_base_src_loop), (gst_base_src_start),
11783         (gst_base_src_activate_pull):
11784         Update docs.
11785         blocksize == 0 now means the default blocksize when working in push
11786         based mode.
11787         Remove some pointless asserts in _wait function.
11788         Fix offset/length calculations and EOS handling. We can now pull 0
11789         bytes as well, which is allowed.
11790         use _check_get_range() to decide if we can operate in _pull based
11791         mode.
11792         Fix refcounting leak when check_get_range function was not 
11793         implemented.
11794         API GstBaseSrc::blocksize range can be 0 too now (default)
11795
11796         * tests/check/elements/filesrc.c: (GST_START_TEST),
11797         (filesrc_suite):
11798         Added check to test _get_range() behaviour.
11799
11800 2006-07-06  Wim Taymans  <wim@fluendo.com>
11801
11802         * gst/gstpad.c: (gst_pad_chain_unchecked), (gst_pad_chain),
11803         (gst_pad_push), (gst_pad_check_pull_range), (gst_pad_get_range),
11804         (gst_pad_pull_range):
11805         * gst/gstpad.h:
11806         Lots of comments and docs added to the pad functions.
11807         Flesh out the expected behaviour of the get_range() functions.
11808
11809 2006-07-06  Wim Taymans  <wim@fluendo.com>
11810
11811         * gst/gstbus.h:
11812         * gst/gstclock.h:
11813         * gst/gstevent.h:
11814         * gst/gstiterator.h:
11815         * gst/gstpad.h:
11816         * gst/gstplugin.h:
11817         * gst/gsttask.h:
11818         Remove comma at end of enumerator list. 
11819
11820 2006-07-05  Sebastien Moutte  <sebastien@moutte.net>
11821
11822         * win32/common/libgstbase.def:
11823         * win32/common/libgstdataprotocol.def:
11824         * win32/common/libsgtreamer.def:
11825         Add new exported functions.
11826
11827 2006-07-05  Wim Taymans  <wim@fluendo.com>
11828
11829         * libs/gst/base/gstpushsrc.c: (gst_push_src_check_get_range):
11830         Add some more docs here and there.
11831
11832 2006-07-05  Wim Taymans  <wim@fluendo.com>
11833
11834         * libs/gst/base/gstbasesink.c: (gst_base_sink_preroll_object),
11835         (gst_base_sink_loop), (gst_base_sink_get_position):
11836         When operating in pull mode update the offset so that we
11837         read sequentially.
11838
11839 2006-07-05  Wim Taymans  <wim@fluendo.com>
11840
11841         * gst/gstregistryxml.c: (read_string):
11842         Avoid strdup. (will happen in libxml, but hey!)
11843
11844         * gst/gsturi.c:
11845         Add some more docs.
11846
11847 2006-07-05  Wim Taymans  <wim@fluendo.com>
11848
11849         * gst/gstbuffer.c: (_gst_buffer_copy), (gst_buffer_create_sub):
11850         * tests/check/gst/gstbuffer.c: (GST_START_TEST),
11851         (gst_buffer_suite):
11852         No point in checking if the size of the subbuffer > 0, the
11853         code handles it correclty as demonstrated by unit test.
11854         Also add a unit test for the zero sized _new_and_alloc and
11855         _copy. Fixes #346663.
11856
11857 2006-07-05  Wim Taymans  <wim@fluendo.com>
11858
11859         * libs/gst/base/gstbasetransform.c:
11860         (gst_base_transform_prepare_output_buffer),
11861         (gst_base_transform_buffer_alloc),
11862         (gst_base_transform_handle_buffer):
11863         Make sure the buffer we pass to transform_ip has a refcount of
11864         1 and thus is writable. Fixes #343196
11865
11866 2006-07-04  Jan Schmidt  <thaytan@mad.scientist.com>
11867
11868         * plugins/elements/gstfilesrc.c: (gst_file_src_class_init),
11869         (gst_file_src_init), (gst_file_src_set_property),
11870         (gst_file_src_get_property), (gst_file_src_map_region):
11871         * plugins/elements/gstfilesrc.h:
11872         Add "sequential" property, off by default, to use madvise and hint
11873         to the kernel that sequential access is desired.
11874         Touch all retrieved pages by default to ensure they are pulled
11875         into memory. (Closes #345720)
11876
11877 2006-07-03  Wim Taymans  <wim@fluendo.com>
11878
11879         * docs/design/part-block.txt:
11880         * docs/design/part-dynamic.txt:
11881         Small docs updates.
11882
11883 2006-07-03  Wim Taymans  <wim@fluendo.com>
11884
11885         * gst/gstcaps.c: (gst_caps_new_empty), (_gst_caps_free),
11886         (gst_caps_unref), (gst_static_caps_get),
11887         (gst_caps_append_structure):
11888         * gst/gstclock.c: (gst_clock_entry_new), (_gst_clock_id_free):
11889         Use GSlice when the glib we build against is >= 2.10
11890
11891 2006-07-03  Wim Taymans  <wim@fluendo.com>
11892
11893         * gst/gstelement.c: (gst_element_pads_activate):
11894         Small cleanup in pad activation code.
11895
11896 2006-07-03  Wim Taymans  <wim@fluendo.com>
11897
11898         Patch by: Peter Kjellerstedt <pkj at axis dot com>
11899
11900         * gst/gst-i18n-app.h:
11901         * gst/gst-i18n-lib.h:
11902         * tools/gst-inspect.c: (print_signal_info):
11903         The attached patch will make the inclusion of gettext.h unconditional in
11904         gst/gst-i18n-app.h and gst/gst-i18n-lib.h, and it will remove the inclusion of
11905         libintl.h in tools/gst-inspect.c.
11906         This allows use of --disable-nls again and fixes #344642.
11907
11908 2006-07-03  Edward Hervey  <edward@fluendo.com>
11909
11910         * gst/gstpad.c: (handle_pad_block), (gst_pad_push_event):
11911         Implement pad blocking on events according to part-block.txt.
11912         More comments on behaviour.
11913         * tests/check/gst/gstevent.c: (test_event):
11914         Send event to peer pad of blocked pad (else it will block).
11915
11916 2006-07-03  Thomas Vander Stichele  <thomas at apestaart dot org>
11917
11918         * libs/gst/check/gstcheck.c: (gst_check_message_error),
11919         (gst_check_run_suite):
11920           if we get the wrong message, give us the types as string
11921         * plugins/elements/gstfilesrc.c: (gst_file_src_start):
11922           Fix a translatable
11923         * tests/check/elements/filesrc.c: (GST_START_TEST):
11924           add a test for trying to open a non-existing file
11925
11926 2006-07-03  Thomas Vander Stichele  <thomas at apestaart dot org>
11927
11928         * tests/check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
11929           add a test for adding self
11930
11931 2006-07-03  Thomas Vander Stichele  <thomas at apestaart dot org>
11932
11933         * libs/gst/check/gstcheck.h:
11934           add some assert_ as alias for fail_unless_*
11935         * tests/check/gst/gst.c: (GST_START_TEST), (gst_suite):
11936           increase test coverage
11937
11938 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
11939
11940         * Makefile.am:
11941           include lcov.mak for lcov coverage generation
11942         * tools/Makefile.am:
11943           add to CLEANFILES
11944
11945 2006-07-02  Edward Hervey  <edward@fluendo.com>
11946
11947         * tests/check/elements/.cvsignore:
11948         moaping
11949
11950 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
11951
11952         * configure.ac:
11953           don't set CFLAGS and friends for gcov, done from GST_GCOV now
11954         * tests/check/Makefile.am:
11955           clean up gcov files
11956
11957 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
11958
11959         * gst/gstcaps.c: (gst_caps_remove_and_get_structure):
11960           remove gst_caps_simplify; it was not declared and not used
11961           and deprecated in 0.8
11962
11963 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
11964
11965         * docs/faq/gst-uninstalled:
11966           don't put empty paths on PYTHONPATH
11967         * docs/gst/gstreamer-sections.txt:
11968           remove some symbols that are not there
11969
11970 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
11971
11972         * gst/gstcaps.c: (gst_caps_compare_structures):
11973           whitespace fixes
11974         * tests/check/gst/gstbuffer.c: (GST_START_TEST):
11975         * tests/check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
11976           add more tests
11977
11978 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
11979
11980         * libs/gst/dataprotocol/Makefile.am:
11981           build dataprotocol test by linking to the lib, instead of
11982           compiling the source, so we get coverage
11983         * tests/check/Makefile.am:
11984         * tests/check/elements/filesrc.c: (event_func), (setup_filesrc),
11985         (cleanup_filesrc), (GST_START_TEST), (filesrc_suite):
11986           add a test for filesrc
11987
11988 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
11989
11990         * tests/check/gst/gststructure.c: (GST_START_TEST),
11991         (gst_structure_suite):
11992           Push coverage from 59.04% to 70.00%
11993
11994 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
11995
11996         * tests/check/Makefile.am:
11997           gst-inspect every element; this makes sure that we also get
11998           coverage on element's get/set functions
11999
12000 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
12001
12002         * configure.ac:
12003           set CFLAGS and friends to -O0 if gcov is being used
12004           add GCOV LIBS
12005         * gst/Makefile.am:
12006         * libs/gst/base/Makefile.am:
12007         * libs/gst/check/Makefile.am:
12008         * libs/gst/controller/Makefile.am:
12009         * libs/gst/dataprotocol/Makefile.am:
12010         * libs/gst/net/Makefile.am:
12011         * plugins/elements/Makefile.am:
12012         * plugins/indexers/Makefile.am:
12013           add makefile rules to generate gcov data and clean up
12014         * tests/check/Makefile.am:
12015           add a coverage target that generates an html overview
12016           of coverage data
12017
12018 2006-07-01  Thomas Vander Stichele  <thomas at apestaart dot org>
12019
12020         * tests/check/elements/fakesink.c:
12021         * tests/check/elements/fakesrc.c:
12022         * tests/check/elements/fdsrc.c:
12023         * tests/check/elements/identity.c:
12024         * tests/check/generic/sinks.c: (gst_sinks_suite):
12025         * tests/check/generic/states.c:
12026         * tests/check/gst/gst.c:
12027         * tests/check/gst/gstabi.c:
12028         * tests/check/gst/gstbin.c:
12029         * tests/check/gst/gstbuffer.c: (gst_buffer_suite):
12030         * tests/check/gst/gstbus.c: (gst_bus_suite):
12031         * tests/check/gst/gstcaps.c: (GST_START_TEST):
12032         * tests/check/gst/gstelement.c:
12033         * tests/check/gst/gstevent.c: (gst_event_suite):
12034         * tests/check/gst/gstghostpad.c:
12035         * tests/check/gst/gstiterator.c: (gst_iterator_suite):
12036         * tests/check/gst/gstmessage.c: (gst_message_suite):
12037         * tests/check/gst/gstminiobject.c:
12038         * tests/check/gst/gstobject.c:
12039         * tests/check/gst/gstpad.c:
12040         * tests/check/gst/gstpipeline.c:
12041         * tests/check/gst/gstplugin.c:
12042         * tests/check/gst/gstquery.c: (gst_query_suite):
12043         * tests/check/gst/gstsegment.c: (gst_segment_suite):
12044         * tests/check/gst/gststructure.c:
12045         * tests/check/gst/gstsystemclock.c:
12046         * tests/check/gst/gsttag.c:
12047         * tests/check/gst/gsttask.c: (gst_task_suite):
12048         * tests/check/gst/gstutils.c:
12049         * tests/check/gst/gstvalue.c:
12050         * tests/check/libs/adapter.c:
12051         * tests/check/libs/basesrc.c:
12052         * tests/check/libs/collectpads.c:
12053         * tests/check/libs/controller.c:
12054         * tests/check/libs/gdp.c: (gst_dp_suite):
12055         * tests/check/libs/gstnetclientclock.c:
12056         * tests/check/libs/gstnettimeprovider.c:
12057         * tests/check/libs/libsabi.c: (libsabi_suite):
12058         * tests/check/libs/typefindhelper.c:
12059         * tests/check/pipelines/cleanup.c:
12060         * tests/check/pipelines/parse-launch.c:
12061         * tests/check/pipelines/simple-launch-lines.c:
12062         * tests/check/pipelines/stress.c: (stress_suite):
12063           use the new macro
12064
12065 2006-07-01  Thomas Vander Stichele  <thomas at apestaart dot org>
12066
12067         * libs/gst/check/gstcheck.c: (gst_check_run_suite):
12068         * libs/gst/check/gstcheck.h:
12069           create a macro and function so that the simple unit test
12070           case can be just one macro to create main()
12071
12072 2006-06-30  Tim-Philipp Müller  <tim at centricular dot net>
12073
12074         * gst/gstbin.c: (gst_bin_restore_thyself):
12075         * gst/gstxml.c: (gst_xml_make_element):
12076           Fix deserialisation from XML. Set parent manually
12077           instead of using gst_bin_add(), since gst_bin_add()
12078           will unlink all pads of the element being added.
12079           Fixes #341667.
12080
12081 2006-06-28  Tim-Philipp Müller  <tim at centricular dot net>
12082
12083         Patch by: Peter Kjellerstedt <pkj at axis com>
12084
12085         * gst/gst.c: (prepare_for_load_plugin_func), (split_and_iterate):
12086           Fix missing g_strdup() and double free when using the
12087           --gst-plugin-load command line option (#346097).
12088
12089 2006-06-23  Tim-Philipp Müller  <tim at centricular dot net>
12090
12091         * gst/gstinfo.c:
12092           Promote GST_DEBUG_CATEGORY_STATIC in example in docs.
12093
12094         * libs/gst/net/gstnetclientclock.c:
12095         * libs/gst/net/gstnettimeprovider.c:
12096           Use GST_DEBUG_CATEGORY_STATIC here too (#342503).
12097
12098 2006-06-23  Tim-Philipp Müller  <tim at centricular dot net>
12099
12100         * docs/manual/advanced-dataaccess.xml:
12101           Fix buffer probe example compilation in
12102           ADM (#345708).
12103         
12104 2006-06-22  Edward Hervey  <edward@fluendo.com>
12105
12106         * gst/gstelement.c: (gst_element_pads_activate):
12107         We need to deactivate src pads first and then sink pads.
12108         The reason is the src pads might be blocking while holding the streaming
12109         lock, so we need to deactivate them first so that deactivating the sink
12110         pads doesn't block (since it will require the streaming lock).
12111
12112 2006-06-22  Wim Taymans  <wim@fluendo.com>
12113
12114         * libs/gst/base/gstbasetransform.c:
12115         (gst_base_transform_buffer_alloc):
12116         Forgot to remove two unneeded unrefs.
12117         Simplify a check _is_equal allready checks the obvious case.
12118
12119 2006-06-22  Wim Taymans  <wim@fluendo.com>
12120
12121         * docs/design/part-block.txt:
12122         Some docs about what pad_block should do.
12123
12124 2006-06-22  Wim Taymans  <wim@fluendo.com>
12125
12126         * gst/gstcaps.c: (gst_caps_replace):
12127         Fix crasher when passed NULL. Doc clarification.
12128         Optimize for the trivial case.
12129
12130         * gst/gstpipeline.c: (gst_pipeline_change_state):
12131         Small cleanups.
12132
12133         * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
12134         Small documentation cleanup.
12135
12136         * libs/gst/base/gstbasetransform.c:
12137         (gst_base_transform_buffer_alloc):
12138         Don't use silly gst_pad_get_negotiated_caps, GST_PAD_CAPS
12139         is what we need and it avoids a whole lot of redundant 
12140         refcount operations.
12141
12142 2006-06-22  Tim-Philipp Müller  <tim at centricular dot net>
12143
12144         Patch by: Philip Jägenstedt  <philip at lysator liu se>
12145
12146         * docs/manual/advanced-dataaccess.xml:
12147           Fix 'Embedding static elements' section to use
12148           GST_PLUGIN_DEFINE_STATIC (#345607).
12149
12150 2006-06-21  Tim-Philipp Müller  <tim at centricular dot net>
12151
12152         * tests/check/pipelines/simple-launch-lines.c: (test_stop_from_app):
12153           Attempt to 'fix' spuriously failing test case: it seems like the
12154           timeout of half a second is simply too small when the system is under
12155           load otherwise, and the timeout doesn't really seem to serve any
12156           particular purpose here. Give the pipeline a few seconds to preroll
12157           first, and then give it another half a second to go from PAUSED to
12158           PLAYING and marshal the message into the main thread.
12159
12160 2006-06-21  Tim-Philipp Müller  <tim at centricular dot net>
12161
12162         * tools/gst-feedback-m.m:
12163           Don't only use unversioned tools, try versioned tools as well
12164           (#345086).
12165
12166 2006-06-21  Tim-Philipp Müller  <tim at centricular dot net>
12167
12168         * gst/gstbus.c: (gst_bus_class_init):
12169           Fix some typos, make docs more explicit.
12170
12171 2006-06-20  Wim Taymans  <wim@fluendo.com>
12172
12173         * tests/check/gst/gstghostpad.c: (block_callback),
12174         (GST_START_TEST), (gst_ghost_pad_suite):
12175         Added some more ghostpad tests, mainly blocking
12176         and probes.
12177
12178 2006-06-16  Wim Taymans  <wim@fluendo.com>
12179
12180         * plugins/elements/gstfilesink.c: (gst_file_sink_open_file),
12181         (gst_file_sink_close_file), (gst_file_sink_do_seek),
12182         (gst_file_sink_event), (gst_file_sink_render):
12183         * plugins/elements/gstfilesink.h:
12184         Check if we can seek in the file instead of assuming
12185         we always can. Post an error when we are asked to seek in a
12186         non-seekable file (like a fifo). Fixes #343312.
12187         Some cleanups.
12188
12189 2006-06-16  Tim-Philipp Müller  <tim at centricular dot net>
12190
12191         * tools/gst-launch.1.in:
12192           Un-garble (fourcc) bit in filtered caps section.
12193
12194 2006-06-16  Tim-Philipp Müller  <tim at centricular dot net>
12195
12196         * docs/manual/advanced-autoplugging.xml:
12197         * docs/manual/basics-helloworld.xml:
12198         * docs/manual/highlevel-components.xml:
12199           Don't leak bus reference in sample code.
12200
12201 2006-06-15  Tim-Philipp Müller  <tim at centricular dot net>
12202
12203         * autogen.sh:
12204           Add default for new --enable-plugin-docs switch.
12205
12206         * configure.ac:
12207           Use new GST_PLUGIN_DOCS macro to check for pyxml etc.
12208           Fixes #344039.
12209
12210         * docs/Makefile.am:
12211           Use new ENABLE_PLUGIN_DOCS conditional.
12212
12213 2006-06-14  Wim Taymans  <wim@fluendo.com>
12214
12215         * gst/gstbin.c: (bin_query_duration_done), (gst_bin_query):
12216         Make it clear with a FIXME and a real define what the #if 0
12217         previously disabled.
12218
12219 2006-06-14  Wim Taymans  <wim@fluendo.com>
12220
12221         * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment),
12222         (gst_base_sink_preroll_object), (gst_base_sink_get_position):
12223         * libs/gst/base/gstbasetransform.c:
12224         (gst_base_transform_sink_eventfunc):
12225         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_event):
12226         Don't randomly and silently reset a segment when the format 
12227         changes as this is a bug somewhere upstream. Fixes #330379.
12228
12229 2006-06-14  Tim-Philipp Müller  <tim at centricular dot net>
12230
12231         Patch by: Wouter Paesen  <wouter at kangaroot net>
12232
12233         * libs/gst/controller/gstcontroller.c:
12234         (gst_controlled_property_new):
12235           Fix controlling of float properties (#344849).
12236
12237         * tests/check/libs/controller.c:
12238         (gst_test_mono_source_get_property),
12239         (gst_test_mono_source_set_property),
12240         (gst_test_mono_source_class_init), (GST_START_TEST):
12241           While we're at it, add some float stuff to unit test.
12242
12243 2006-06-13  Thomas Vander Stichele  <thomas at apestaart dot org>
12244
12245         * docs/README:
12246         * docs/images/gdp-header.svg:
12247           add a gdp image
12248         * docs/libs/Makefile.am:
12249         * docs/libs/gdp-header.png:
12250         * libs/gst/dataprotocol/dataprotocol.c:
12251           add it to the API docs
12252         * docs/manual/intro-motivation.xml:
12253           fix typo
12254
12255 2006-06-13  Tim-Philipp Müller  <tim at centricular dot net>
12256
12257         * gst/gst.c: (scan_and_update_registry), (init_post):
12258           If the fork()'ed child process can't write the updated registry cache
12259           file to disk for some reason, make it exit with a failure exit code,
12260           so that the parent can then re-scan the plugins itself and update the
12261           registry structures in memory and work with that (rather than failing
12262           when creating elements because seemingly no plugins are available).
12263           Refactor registry scanning code into separate function for this and
12264           also separate fork() and non-fork() code paths. Fixes #344748.
12265
12266 2006-06-13  Wim Taymans  <wim@fluendo.com>
12267
12268         * docs/manual/advanced-dataaccess.xml:
12269         Fix wrong PluginDesc. Fixes #344755.
12270
12271 2006-06-13  Tim-Philipp Müller  <tim at centricular dot net>
12272
12273         * gst/gstregistryxml.c: (gst_registry_xml_write_cache):
12274           Fix silly bug that prevented us from creating
12275           ~/.gstreamer-0.10 and writing the registry in one
12276           go (the first call to g_mkstemp() would overwrite the
12277           placeholder in the template string, so the second call
12278           to g_mkstemp() after creating the missing directory
12279           would then error out with 'invalid argument').
12280
12281 2006-06-13  Edward Hervey  <edward@fluendo.com>
12282
12283         * gst/gst.c: (init_post):
12284         Free string.
12285
12286 2006-06-13  Thomas Vander Stichele  <thomas at apestaart dot org>
12287
12288         * gst/glib-compat-private.h:
12289         * gst/glib-compat.c:
12290         * gst/glib-compat.h:
12291         * gst/gstvalue.c: (gst_value_serialize_flags):
12292           remove GLib 2.6 compatibility code
12293
12294 2006-06-12  Tim-Philipp Müller  <tim at centricular dot net>
12295
12296         * gst/parse/Makefile.am:
12297           Fix build with 'make -j N' even more (#340016).
12298
12299 2006-06-12  Wim Taymans  <wim@fluendo.com>
12300
12301         * docs/gst/gstreamer-sections.txt:
12302         Fix docs.
12303
12304 2006-06-12  Wim Taymans  <wim@fluendo.com>
12305
12306         * gst/gstsegment.c: (gst_segment_set_duration),
12307         (gst_segment_set_last_stop), (gst_segment_set_seek),
12308         (gst_segment_set_newsegment_full), (gst_segment_to_stream_time),
12309         (gst_segment_to_running_time), (gst_segment_clip):
12310         Use G_UNLIKELY to help the compiler a bit.
12311
12312 2006-06-12  Wim Taymans  <wim@fluendo.com>
12313
12314         Patch by: Stefan Kost <ensonic at sonicpulse dot de>
12315
12316         * gst/gstevent.c: (gst_event_get_type):
12317         * gst/gstmessage.c:
12318         * gst/gstpad.c: (gst_pad_chain_unchecked), (gst_pad_chain),
12319         (gst_pad_push):
12320         constify quark registration strings. Fixes #344115
12321         Avoid unneeded type checking is _pad_push() by internally
12322         calling gst_pad_chain_unchecked().
12323
12324 2006-06-12  Wim Taymans  <wim@fluendo.com>
12325
12326         * gst/gstbuffer.c: (gst_buffer_get_type), (gst_buffer_finalize),
12327         (_gst_buffer_copy), (gst_buffer_is_metadata_writable),
12328         (gst_subbuffer_finalize), (gst_buffer_create_sub),
12329         (gst_buffer_is_span_fast), (gst_buffer_span):
12330         Init _type for consistency.
12331         Use _FLAGS macro to avoid type check.
12332         Avoid unneeded type checks in subbufer code.
12333
12334 2006-06-12  Wim Taymans  <wim@fluendo.com>
12335
12336         * gst/gst.c: (gst_debug_help):
12337         * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_list_free):
12338         * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
12339         (gst_plugin_feature_list_free):
12340         * gst/gstregistry.c: (gst_registry_add_plugin),
12341         (gst_registry_add_feature), (gst_registry_plugin_filter),
12342         (gst_registry_feature_filter), (gst_registry_find_plugin),
12343         (gst_registry_find_feature), (gst_registry_get_plugin_list),
12344         (gst_registry_lookup_feature_locked), (gst_registry_lookup_locked):
12345         * gst/gstregistryxml.c: (load_feature),
12346         (gst_registry_xml_read_cache), (gst_registry_xml_write_cache):
12347         * gst/gstminiobject.c: (gst_mini_object_unref),
12348         (gst_mini_object_replace), (gst_value_mini_object_free),
12349         (gst_value_mini_object_copy):
12350         Use _CAST macros to avoid unneeded type checking.
12351         Added some more G_UNLIKELY.
12352
12353 2006-06-12  Wim Taymans  <wim@fluendo.com>
12354
12355         * gst/gstbuffer.h:
12356         Avoid unneeded type checking.
12357         API: GST_BUFFER_IS_DISCONT
12358
12359         * gst/gstminiobject.h:
12360         Avoid type check in flag accessor.
12361
12362         * gst/gstelementfactory.h:
12363         * gst/gstplugin.h:
12364         * gst/gstpluginfeature.h:
12365         Add _CAST macros.
12366         API: GST_ELEMENT_FACTORY_CAST
12367         API: GST_PLUGIN_CAST
12368         API: GST_PLUGIN_FEATURE_CAST
12369
12370 2006-06-12  Wim Taymans  <wim@fluendo.com>
12371
12372         * gst/gstobject.c: (gst_object_get_type), (gst_object_ref),
12373         (gst_object_unref):
12374         Add G_UNLIKELY in type registration.
12375         Avoid type check in _ref/_unref since that is also
12376         done in glib.
12377
12378 2006-06-12  Wim Taymans  <wim@fluendo.com>
12379
12380         * gst/gsterror.c: (gst_g_error_get_type):
12381         * gst/gstpadtemplate.c: (gst_pad_template_get_type),
12382         (gst_static_pad_template_get_type):
12383         * gst/gsttaglist.c: (gst_tag_list_get_type):
12384         * gst/gsttagsetter.c: (gst_tag_setter_get_type):
12385         * gst/gsttypefindfactory.c: (gst_type_find_factory_get_type):
12386         * gst/gsturi.c: (gst_uri_handler_get_type):
12387         * gst/gstvalue.c: (gst_date_get_type):
12388         * gst/gstxml.c: (gst_xml_get_type):
12389         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_type),
12390         (gst_base_sink_preroll_object), (gst_base_sink_get_position):
12391         * libs/gst/base/gstbasesrc.c: (gst_base_src_get_type):
12392         Add G_UNLIKELY in type registration.
12393
12394 2006-06-12  Wim Taymans  <wim@fluendo.com>
12395
12396         * tools/gst-inspect.c: (print_signal_info):
12397         Properly print enum values.
12398
12399 2006-06-12  Wim Taymans  <wim@fluendo.com>
12400
12401         * gst/gstinfo.c: (gst_debug_set_active),
12402         (gst_debug_category_set_threshold), (_gst_debug_nameof_funcptr):
12403         * gst/gstinfo.h:
12404         Add some G_[UN]LIKELY.
12405         Maintain __gst_debug_min to avoid formatting the arguments of
12406         debug messages that will be dropped anyway to avoid a lot of 
12407         overhead from the debugging system.
12408
12409 2006-06-11  Stefan Kost  <ensonic@users.sf.net>
12410
12411         * po/POTFILES.in:
12412         * po/POTFILES.skip:
12413           add missing files containing translatable strings, tell intltool about
12414           one exception
12415
12416 2006-06-11  Stefan Kost  <ensonic@users.sf.net>
12417
12418         * tests/check/libs/.cvsignore:
12419         add test-binary to ignore list
12420
12421 2006-06-11  Stefan Kost  <ensonic@users.sf.net>
12422
12423         * docs/libs/gstreamer-libs-docs.sgml:
12424         reorder (put dp into a chapter) and indent
12425
12426 2006-06-10  Thomas Vander Stichele  <thomas at apestaart dot org>
12427
12428         * configure.ac:
12429           back to HEAD
12430
12431 === release 0.10.8 ===
12432
12433 2006-06-10  Thomas Vander Stichele <thomas at apestaart dot org>
12434
12435         * configure.ac:
12436           releasing 0.10.8, "Soepeke, ik zie ou nog altijd nie"
12437
12438 2006-06-10  Thomas Vander Stichele  <thomas at apestaart dot org>
12439
12440         * gst/gst.c: (init_post):
12441           move pid declaration to declaration block
12442
12443 2006-06-10  Thomas Vander Stichele  <thomas at apestaart dot org>
12444
12445         * gst/gst.c: (init_post):
12446           use _exit() instead of exit() in our forked child; this ensures
12447           that none of the registered exit handlers from whatever is using
12448           GStreamer get executed.  This fixes gnome-mixer-applet failing
12449           to load, because ORBit would shut down.
12450           Spotted by: Edward Hervey  <edward@fluendo.com>
12451           Fix suggested by: Tim-Philipp Müller  <tim at centricular dot net>
12452           Fixes #344474
12453
12454 2006-06-09  Thomas Vander Stichele  <thomas at apestaart dot org>
12455
12456         * configure.ac:
12457           back to TRUNK
12458
12459 === release 0.10.7 ===
12460
12461 2006-06-09  Thomas Vander Stichele <thomas at apestaart dot org>
12462
12463         * configure.ac:
12464           releasing 0.10.7, "Soepeke, ik zie ou"
12465
12466 2006-06-07  Thomas Vander Stichele  <thomas at apestaart dot org>
12467
12468         * configure.ac:
12469         * po/af.po:
12470         * po/az.po:
12471         * po/bg.po:
12472         * po/ca.po:
12473         * po/cs.po:
12474         * po/de.po:
12475         * po/en_GB.po:
12476         * po/fr.po:
12477         * po/it.po:
12478         * po/nb.po:
12479         * po/nl.po:
12480         * po/ru.po:
12481         * po/sq.po:
12482         * po/sr.po:
12483         * po/sv.po:
12484         * po/tr.po:
12485         * po/uk.po:
12486         * po/vi.po:
12487         * po/zh_CN.po:
12488         * po/zh_TW.po:
12489         * win32/common/config.h:
12490           0.10.6.2 prerelease
12491
12492 2006-06-07  Wim Taymans  <wim@fluendo.com>
12493
12494         * gst/gstindex.c: (gst_index_gtype_resolver):
12495         * tools/gst-xmlinspect.c: (print_plugin_info):
12496         Fix leak spotted by coverity checker. Fixes #343827
12497         Fix another other leak found by paolo borelli.
12498
12499 2006-06-06  Thomas Vander Stichele  <thomas at apestaart dot org>
12500
12501         * libs/gst/dataprotocol/dataprotocol.c:
12502         (gst_dp_header_from_buffer_any), (gst_dp_packet_from_caps_any),
12503         (gst_dp_version_get_type), (gst_dp_init),
12504         (gst_dp_header_from_buffer), (gst_dp_header_from_buffer_1_0),
12505         (gst_dp_packet_from_caps), (gst_dp_packet_from_caps_1_0),
12506         (gst_dp_packet_from_event), (gst_dp_packet_from_event_1_0),
12507         (gst_dp_event_from_packet_0_2), (gst_dp_event_from_packet_1_0),
12508         (gst_dp_event_from_packet), (gst_dp_packetizer_new),
12509         (gst_dp_packetizer_free):
12510         * libs/gst/dataprotocol/dataprotocol.h:
12511           API: add a GstDPPacketizer object, and create/free functions
12512           API: add GstDPVersion enum
12513           Add 1.0 event function that uses the string serialization
12514           Serialize more useful buffer flags
12515           Fixes #343988
12516
12517 2006-06-06  Thomas Vander Stichele  <thomas at apestaart dot org>
12518
12519         * tests/check/Makefile.am:
12520         * tests/check/gst/gstabi.c:
12521         * tests/check/gst/struct_ppc64.h:
12522         * tests/check/libs/libsabi.c:
12523         * tests/check/libs/struct_ppc64.h:
12524           add ppc64 structure sizes
12525
12526 2006-06-06  Thomas Vander Stichele  <thomas at apestaart dot org>
12527
12528         * tests/check/Makefile.am:
12529         * tests/check/gst/gstabi.c:
12530         * tests/check/gst/struct_x86_64.h:
12531         * tests/check/libs/libsabi.c:
12532         * tests/check/libs/struct_x86_64.h:
12533           generate and add structure size lists for x86_64
12534
12535 2006-06-06  Thomas Vander Stichele  <thomas at apestaart dot org>
12536
12537         * libs/gst/check/gstcheck.c: (gst_check_abi_list):
12538         * libs/gst/check/gstcheck.h:
12539           factor out the method from tests that checks size of structures,
12540           and add code to generate the header containing these sizes
12541         * tests/check/gst/gstabi.c: (GST_START_TEST):
12542         * tests/check/gst/struct_i386.h:
12543         * tests/check/libs/libsabi.c: (GST_START_TEST):
12544         * tests/check/libs/struct_i386.h:
12545           use it
12546
12547 2006-06-06  Michael Smith  <msmith@fluendo.com>
12548
12549         * gst/gstsegment.h:
12550           Don't use c++-style comments, fixes #343929
12551
12552 2006-06-05  Edward Hervey  <edward@fluendo.com>
12553
12554         * gst/gst.c:
12555         plugin_paths is not used if we build without registry support.
12556
12557         * gst/gstsegment.c: (gst_segment_copy): 
12558         _copy() was always returning NULL...
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 CRC code
12566
12567 2006-06-02  Thomas Vander Stichele  <thomas at apestaart dot org>
12568
12569         * libs/gst/check/gstcheck.c: (gst_check_teardown_src_pad):
12570           make sure we unset caps
12571
12572 2006-06-02  Michael Smith  <msmith@fluendo.com>
12573
12574         * libs/gst/check/gstcheck.c: (gst_check_init),
12575         (gst_check_chain_func):
12576         * libs/gst/check/gstcheck.h:
12577           Add a cond/mutex to the check support lib, signal this whenever we
12578           add to the buffers list. This will allow tests to not busy-wait on
12579           the buffer-list.
12580
12581 2006-06-02  Thomas Vander Stichele  <thomas at apestaart dot org>
12582
12583         * libs/gst/dataprotocol/dataprotocol.c:
12584         (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
12585         (gst_dp_packet_from_event):
12586           factor out some common header init code
12587
12588 2006-06-02  Thomas Vander Stichele  <thomas at apestaart dot org>
12589
12590         * docs/libs/gstreamer-libs-sections.txt:
12591         * docs/libs/tmpl/gstdataprotocol.sgml:
12592         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_crc):
12593         * libs/gst/dataprotocol/dataprotocol.h:
12594           API: make gst_dp_crc() public
12595
12596 2006-06-01  Stefan Kost  <ensonic@users.sf.net>
12597
12598         * plugins/indexers/gstindexers.c: (plugin_init):
12599         conditionally register fileindexer (fixes #343598)
12600
12601 2006-06-01  Stefan Kost  <ensonic@users.sf.net>
12602
12603         * gst/gsttagsetter.h:
12604         Can't cast ifaces to a class
12605
12606         * libs/gst/net/gstnetclientclock.h:
12607         * libs/gst/net/gstnettimeprovider.h:
12608         * plugins/elements/gstfakesink.h:
12609         * plugins/elements/gstfakesrc.h:
12610         * plugins/elements/gstfdsink.h:
12611         * plugins/elements/gstfdsrc.h:
12612         * plugins/elements/gstfilesink.h:
12613         * plugins/elements/gstfilesrc.h:
12614         * plugins/elements/gstidentity.h:
12615         * plugins/elements/gstqueue.h:
12616         * plugins/elements/gsttee.h:
12617         * plugins/indexers/gstfileindex.c:
12618         * plugins/indexers/gstmemindex.c:
12619         * tests/old/examples/plugins/example.h:
12620         Fix more gobject macros: obj<->klass, GstXXX<->GstXXXClass
12621
12622 2006-06-01  Thomas Vander Stichele  <thomas at apestaart dot org>
12623
12624         * libs/gst/dataprotocol/dataprotocol.c:
12625         (gst_dp_header_from_buffer):
12626           make sure we zero the whole ABI-compatible area
12627
12628 2006-06-01  Wim Taymans  <wim@fluendo.com>
12629
12630         Patch by: Alessandro Decina <alessandro at nnva dot org>
12631
12632         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_stop):
12633         Make sure the EOS flag is cleared from pads after a flush
12634         or stop. Fixes #343538.
12635
12636         * tests/check/libs/collectpads.c: (GST_START_TEST),
12637         (gst_collect_pads_suite):
12638         Added test for collectpads reusage after EOS.
12639
12640 2006-05-30  Sebastien Moutte  <sebastien@moutte.net>
12641
12642         * gst/gst.c:
12643          set #include <sys/wait.h> in a #ifdef #ifdef HAVE_FORK
12644         * win32/common/libgstbase.def:
12645          export gst_collect_pads_set_flushing
12646         * win32/common/libgstreamer.def:
12647          export gst_pad_set_acceptcaps_function, gst_structure_empty_new,
12648          gst_value_fraction_multiply
12649         * win32/vs6/gst_inspect.dsp:
12650          add a link to intl.lib
12651
12652 2006-05-30  Wim Taymans  <wim@fluendo.com>
12653
12654         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad),
12655         (gst_collect_pads_chain):
12656         Handle the case where a pad is removed from the collection
12657         that could cause the other pads to become collectable.
12658
12659 2006-05-30  Wim Taymans  <wim@fluendo.com>
12660
12661         * gst/gstelement.c:
12662         Clarify the use of _release_request_pad() and
12663         _get_request_pad() a bit better.
12664
12665         * libs/gst/base/gstadapter.c: (gst_adapter_peek),
12666         (gst_adapter_take_buffer):
12667         Fix some doc and comment typos.
12668
12669 2006-05-30  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
12670
12671         * docs/gst/gstreamer-sections.txt:
12672         * docs/libs/gstreamer-libs-sections.txt:
12673           add declared symbols
12674
12675 2006-05-30  Jan Schmidt  <thaytan@mad.scientist.com>
12676
12677         * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
12678         Add debug that can be enabled using a #define at the top of the file,
12679         for dumping stats about how late/early we were when waking up from
12680         waiting on the clock.
12681
12682 2006-05-30  Wim Taymans  <wim@fluendo.com>
12683
12684         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_check_pads):
12685         When rebuilding the pad list, don't leak the previous list.
12686
12687 2006-05-30  Wim Taymans  <wim@fluendo.com>
12688
12689         Patch by: Lutz Mueller <lutz at topfrose dot de>
12690
12691         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
12692         (gst_base_src_get_query_types), (gst_base_src_update_length):
12693         Publish supported query types.
12694         Update last_stop field in get_range mode so the position
12695         query works. Fixes #342321.
12696
12697 2006-05-30  Tim-Philipp Müller  <tim at centricular dot net>
12698
12699         * docs/gst/gstreamer-sections.txt:
12700         * gst/gsttaglist.c: (_gst_tag_initialize):
12701         * gst/gsttaglist.h:
12702           API: add GST_TAG_PREVIEW_IMAGE (#343341).
12703
12704 2006-05-30  Wim Taymans  <wim@fluendo.com>
12705
12706         Patch by: Alessandro Decina <alessandro at nnva dot org>
12707
12708         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad):
12709         Unlock mutex when removing an unknown pad.
12710         Fixes #343334.
12711
12712         * tests/check/Makefile.am:
12713         * tests/check/libs/collectpads.c: (collected_cb), (push_buffer),
12714         (push_event), (setup), (teardown), (GST_START_TEST),
12715         (gst_collect_pads_suite), (main):
12716         Added collecpads check, disabled for now as check crashes for
12717         some reason.
12718
12719 2006-05-29  Wim Taymans  <wim@fluendo.com>
12720
12721         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize):
12722         Don't leak pads lists.
12723
12724 2006-05-29  Wim Taymans  <wim@fluendo.com>
12725
12726         * docs/libs/gstreamer-libs-sections.txt:
12727         * libs/gst/base/gstcollectpads.c:
12728         (gst_collect_pads_set_flushing_unlocked),
12729         (gst_collect_pads_set_flushing), (gst_collect_pads_start),
12730         (gst_collect_pads_stop):
12731         * libs/gst/base/gstcollectpads.h:
12732         API: gst_collect_pads_set_flushing()
12733         Added api to set the pads to flushing, useful for seeking
12734         code in elements using collectpads.
12735         Clear segment when receiving a flush.
12736
12737 2006-05-29  Tim-Philipp Müller  <tim at centricular dot net>
12738
12739         * gst/gst.c: (add_path_func), (init_post):
12740           Don't scan registry paths passed via --gst-plugin-path immediately
12741           (will crash, because absolutely nothing is set up and no types are
12742           registered etc.); do this later in init_post(). Fixes #343057.
12743
12744 2006-05-28  Thomas Vander Stichele  <thomas at apestaart dot org>
12745
12746         * gst/gst.c: (init_post):
12747           if we have fork, fork while reading/rebuilding the registry
12748           so the parent doesn't take the hit of having all plugins loaded
12749           in memory.  Fixes #342777.
12750         * configure.ac:
12751           Check if we have fork()
12752         * win32/common/config.h.in:
12753           no fork() on win32
12754
12755 2006-05-26  Jan Schmidt  <thaytan@mad.scientist.com>
12756
12757         * plugins/elements/gstelements.c:
12758         * plugins/elements/gstfilesrc.c: (gst_file_src_class_init),
12759         (gst_file_src_init), (gst_file_src_set_property),
12760         (gst_file_src_get_property), (gst_file_src_start):
12761         * plugins/elements/gstfilesrc.h:
12762           API: GstFileSrc::use-mmap
12763
12764         Add a use-mmap property to enable easier testing of all code paths.
12765         Bump rank to PRIMARY, so filesrc is the preferred file reader and used
12766         in the absence of gnomevfssrc. (Closes #340501)
12767
12768 2006-05-26  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
12769
12770         * tools/gst-inspect.c:
12771         Add missing include, removes warning of ngettext not being defined on
12772         some arches.
12773
12774 2006-05-26  Jan Schmidt  <thaytan@mad.scientist.com>
12775
12776         * gst/gstvalue.c: (gst_value_deserialize_fraction):
12777         Handle NULL input and output pointers silently as a failed conversion,
12778         rather than g_warnings.
12779
12780 2006-05-25  Wim Taymans  <wim@fluendo.com>
12781
12782         * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_start):
12783         Initialize variable before using. Fixes #342820.
12784
12785 2006-05-24  Tim-Philipp Müller  <tim at centricular dot net>
12786
12787         * libs/gst/base/gsttypefindhelper.c: (buf_helper_find_peek):
12788           Fix off-by-one bug that would only allow peeks of N-1 bytes
12789           from the start even if the buffer to typefind on contains
12790           in fact N bytes of data (makes vorbis typefinding from a
12791           vorbis identification header buffer work).
12792
12793         * tests/check/Makefile.am:
12794         * tests/check/libs/.cvsignore:
12795         * tests/check/libs/typefindhelper.c: (GST_START_TEST),
12796         (gst_typefindhelper_suite), (main), (foobar_typefind),
12797         (plugin_init):
12798           Add very basic unit test for gst_type_find_helper_for_buffer()
12799           that checks for the problem fixed above.
12800
12801 2006-05-24  Thomas Vander Stichele  <thomas at apestaart dot org>
12802
12803         * tools/gst-inspect.c: (print_interfaces),
12804         (print_element_properties_info), (print_element_list), (main):
12805           add more translatable strings
12806
12807 2006-05-23  Tim-Philipp Müller  <tim at centricular dot net>
12808
12809         Patch by: Julien Moutte  <julien at moutte net>
12810
12811         * docs/gst/gstreamer-sections.txt:
12812           Make new GST_FLOW_IS_SUCCESS macro visible in docs.
12813           
12814         * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init),
12815         (gst_fake_sink_preroll):
12816         * plugins/elements/gstfakesink.h:
12817           API: Add new GstFakeSink::preroll-handoff signal (#337100).
12818
12819 2006-05-23  Wim Taymans  <wim@fluendo.com>
12820
12821         * gst/gstpad.c: (gst_flow_get_name), (gst_flow_to_quark):
12822         * gst/gstpad.h:
12823         Added _CUSTOM error and success GstFlowReturn that can be
12824         used be elements internally. 
12825         Added macro to check for SUCCESS flowreturns.
12826         API: GST_FLOW_CUSTOM_SUCCESS
12827         API: GST_FLOW_CUSTOM_ERROR
12828         API: GST_FLOW_IS_SUCCESS
12829
12830         * tests/check/gst/gstpad.c: (GST_START_TEST), (gst_pad_suite):
12831         Added check for GstFlowReturn sanity.
12832
12833 2006-05-23  Wim Taymans  <wim@fluendo.com>
12834
12835         Patch by: Mark Nauwelaerts <manauw at skynet dot be>
12836
12837         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad),
12838         (gst_collect_pads_event):
12839         clear/reset segment info in FLUSH_STOP.
12840         Fixes #336929.
12841
12842 2006-05-22  Stefan Kost  <ensonic@users.sf.net>
12843
12844         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_stop),
12845         (gst_collect_pads_check_collected):
12846         Flush queued buffer on _stop(), fixes playing again (#342454)
12847
12848 2006-05-22  Thomas Vander Stichele  <thomas at apestaart dot org>
12849
12850         * tests/check/gst/gststructure.c: (GST_START_TEST),
12851         (gst_structure_suite):
12852           add a test for a complete structure
12853
12854 2006-05-19  Tim-Philipp Müller  <tim at centricular dot net>
12855
12856         * docs/faq/developing.xml:
12857         * docs/faq/faq.xml:
12858         * docs/faq/troubleshooting.xml:
12859         * docs/faq/using.xml:
12860           Some minor FAQ updates that won't change the fact that
12861           our FAQ is badly structured, full of information hardly
12862           anyone new to GStreamer needs to know and lacking lots
12863           of information people constantly ask for.
12864           
12865 2006-05-19  Jan Schmidt  <thaytan@mad.scientist.com>
12866
12867         * gst/gstpad.c: (gst_pad_set_caps):
12868           Short-circuit gst_pad_set_caps if setting the existing
12869           caps pointer again, and avoid printing debug and 
12870           reffing/unreffing the caps.
12871
12872         * plugins/elements/gstqueue.c: (gst_queue_push_one):
12873           There's actually no need to set the caps before pushing -
12874           the acceptcaps method will handle it anyway.
12875
12876 2006-05-19  Tim-Philipp Müller  <tim at centricular dot net>
12877
12878         * docs/gst/gstreamer-sections.txt:
12879         * win32/common/libgstreamer.def:
12880         * gst/gstutils.c: (gst_element_seek_simple):
12881         * gst/gstutils.h:
12882           API: add gst_element_seek_simple() (#342238).
12883
12884 2006-05-18  Edward Hervey  <edward@fluendo.com>
12885
12886         * gst/gsttypefind.c: (gst_type_find_get_type):
12887         * gst/gsttypefind.h:
12888         Added GST_TYPE_TYPE_FIND and gst_type_find_get_type() so a GType gets
12889         registered for GstTypeFind pointers. This allows wrapping the structure
12890         in bindings (i.e. gst-python).
12891
12892 2006-05-18  Tim-Philipp Müller  <tim at centricular dot net>
12893
12894         * gst/gsttagsetter.c:
12895           Docs additions and fixes (see #339918).
12896
12897 2006-05-18  Jan Schmidt  <thaytan@mad.scientist.com>
12898
12899         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
12900         The caps intersection algorithm can produce multiple copies of the
12901         caps. Until that is fixed, we need to simplify the result to be
12902         sure whether the allowed caps are fixed or not.
12903
12904         * plugins/elements/gstqueue.c: (gst_queue_init),
12905         (gst_queue_bufferalloc), (gst_queue_acceptcaps),
12906         (gst_queue_push_one):
12907         Proxied buffer alloc should not set the caps on the source pad.
12908         When pushing buffers, we always accept the caps change that triggers.
12909         This prevents negotiation errors caused by caps changing mid-stream 
12910         and then being refused on our source pad (because upstream is now
12911         refusing those caps).
12912
12913 2006-05-18  Tim-Philipp Müller  <tim at centricular dot net>
12914
12915         * tests/examples/helloworld/helloworld.c: (main):
12916           Must plug audioconvert and audioresample between decoder
12917           and audio sink.
12918
12919 2006-05-17  Jan Schmidt  <thaytan@mad.scientist.com>
12920
12921         * gst/gstregistryxml.c: (read_string), (load_pad_template),
12922         (load_feature), (load_plugin):
12923         Allow empty strings for some of the plugin fields so we don't 
12924         drop valid plugin entries that were written out correctly
12925         (Fixes #341479)
12926
12927 2006-05-17  Sebastien Moutte  <sebastien@moutte.net>
12928         
12929         * gst/gstregistryxml.c: (gst_registry_xml_write_cache):
12930           Use g_remove and g_rename instead of remove and rename that don't 
12931           handle utf8 characters. rename was failing for users who had specific
12932           characters in their name then the registry was built at each 
12933           gstreamer init.
12934         * win32/vs6/gst_inspect.dsp:
12935         * win32/vs6/gst_launch.dsp:
12936         * win32/vs6/libgstbase.dsp:
12937         * win32/vs6/libgstcoreelements.dsp:
12938         * win32/vs6/libgstreamer.dsp:
12939           Use a debug version of libxml2 (libxml2D.lib,libxml2D.dll) for DEBUG 
12940           build of libgstreamer and clean unused libraries in projects link 
12941           settings.
12942
12943 2006-05-17  Edward Hervey  <edward@fluendo.com>
12944
12945         * plugins/elements/gstqueue.c: (gst_queue_push_one):
12946         The queue is not responsible for pushing an EOS when receiving a fatal
12947         flow error. It's up to the real element driving the pipeline to do that.
12948
12949 2006-05-16  Edward Hervey  <edward@fluendo.com>
12950
12951         * plugins/elements/gstqueue.c: (gst_queue_push_one):
12952         The queue was posting a non-needed GST_MESSAGE_ERROR when pushing a
12953         buffer returned a fatal error. It should just send an EOS and stop
12954         its task.
12955         Upstream elements will then properly receive the GST_FLOW_UNEXPECTED
12956         when pushing buffers on the queue and will be able to handle the event.
12957
12958 2006-05-16  Tim-Philipp Müller  <tim at centricular dot net>
12959
12960         * docs/manual/basics-bins.xml:
12961         * docs/manual/basics-init.xml:
12962           Fix typos and minor errors in sample code (#341856).
12963
12964 2006-05-16  Wim Taymans  <wim@fluendo.com>
12965
12966         * docs/design/part-qos.txt:
12967         Fix indexes in formulas to make more sense.
12968
12969 2006-05-15  Wim Taymans  <wim@fluendo.com>
12970
12971         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
12972         Don't report POSITION based on clock time if sync is
12973         disabled in a sink.
12974
12975 2006-05-15  Tim-Philipp Müller  <tim at centricular dot net>
12976
12977         * gst/gstobject.h:
12978           Add cast to make compiler happy - refcount variable was a gint
12979           in GstObject but is a guint in GObject and g_atomic_int_get()
12980           wants a gint *.
12981
12982 2006-05-15  Thomas Vander Stichele  <thomas at apestaart dot org>
12983
12984         * gst/parse/Makefile.am:
12985           chain commands using &&, which also makes parallel make work
12986
12987 2006-05-14  Tim-Philipp Müller  <tim at centricular dot net>
12988
12989         * docs/gst/gstreamer-sections.txt:
12990         * gst/gstevent.c:
12991         * gst/gstevent.h:
12992         * gst/gstmessage.h:
12993           Minor docs fixes.
12994
12995 === release 0.10.6 ===
12996
12997 2006-05-14  Jan Schmidt <thaytan@mad.scientist.com>
12998
12999         * configure.ac:
13000           releasing 0.10.6, "Take the cannoli"
13001
13002 2006-05-13  Tim-Philipp Müller  <tim at centricular dot net>
13003
13004         * tools/gst-launch.c: (print_tag):
13005           Fix use of uninitialized variable in the hypothetical
13006           case that some broken plugin creates a GST_TAG_IMAGE
13007           tag containing a NULL buffer (#341667).
13008
13009 2006-05-12  Tim-Philipp Müller  <tim at centricular dot net>
13010
13011         * tools/gst-launch.c: (print_tag):
13012           Print something more intelligible for image tags when
13013           using the -t switch (#341556).
13014
13015 2006-05-12  Thomas Vander Stichele  <thomas at apestaart dot org>
13016
13017         * Makefile.am:
13018           updates for win32
13019         * configure.ac:
13020           define GST_MAJORMINOR so we have it available in win32/common/config.h
13021           Possibly remove it from our Makefile.am files later
13022         * win32/common/config.h:
13023         * win32/common/config.h.in:
13024           added GST_MAJORMINOR
13025         * win32/common/gstenumtypes.c: (register_gst_resource_error):
13026         * win32/common/gstversion.h:
13027           updated
13028
13029 2006-05-12  Sebastien Moutte  <sebastien@moutte.net>
13030
13031         * win32/MANIFEST:
13032           Update win32 files listing.
13033         * win32/common/gstversion.h:
13034           Add GST_MAJORMINOR definition.
13035         * win32/common/libgstreamer.def:
13036           Add new exported functions.
13037           
13038 2006-05-12  Michael Smith  <msmith@fluendo.com>
13039
13040         * gst/gstplugin.c: (gst_plugin_load_file):
13041           If an so file has no plugin entry point, unload the module.
13042
13043 2006-05-11  Wim Taymans  <wim@fluendo.com>
13044
13045         * plugins/elements/gstqueue.c: (gst_queue_chain), (gst_queue_loop),
13046         (gst_queue_set_property):
13047         Don't forget to signal the _chain or _loop function 
13048         when the queue size or thresholds change since that might
13049         cause them to make progres again.
13050
13051 2006-05-11  Stefan Kost  <ensonic@users.sf.net>
13052
13053         * gst/gstclock.c: (gst_clock_class_init):
13054         * gst/gstindex.c: (gst_index_class_init):
13055         * gst/gstobject.c: (gst_object_class_init):
13056         * gst/gstpad.c: (gst_pad_class_init):
13057         * gst/gstpipeline.c: (gst_pipeline_class_init):
13058         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
13059         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init):
13060         * libs/gst/base/gstbasetransform.c:
13061         (gst_base_transform_class_init):
13062         * libs/gst/net/gstnetclientclock.c:
13063         (gst_net_client_clock_class_init):
13064         * libs/gst/net/gstnettimeprovider.c:
13065         (gst_net_time_provider_class_init):
13066         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_class_init):
13067         * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init):
13068         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init):
13069         * plugins/elements/gstfdsink.c: (gst_fd_sink_class_init):
13070         * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init):
13071         * plugins/elements/gstfilesink.c: (gst_file_sink_class_init):
13072         * plugins/elements/gstfilesrc.c: (gst_file_src_class_init):
13073         * plugins/elements/gstidentity.c: (gst_identity_class_init):
13074         * plugins/elements/gsttee.c: (gst_tee_class_init):
13075         * tests/old/examples/plugins/example.c: (gst_example_class_init):
13076         * tests/old/testsuite/threads/signals.c: (gst_test_class_init):
13077           G_OBJECT_CLASS macro usage batch cleanup, fixes #337747 for core
13078
13079 2006-05-11  Wim Taymans  <wim@fluendo.com>
13080
13081         * gst/gstbuffer.c: (_gst_buffer_initialize):
13082         Register subbufer along with the buffer type so that
13083         it does not accidentally gets registered from N
13084         different streaming threads in a non threadsafe way.
13085
13086 2006-05-10  Tim-Philipp Müller  <tim at centricular dot net>
13087
13088         * gst/gstbuffer.h:
13089         * gst/gstevent.h:
13090         * gst/gstmessage.h:
13091           Make gtk-doc generate docs for our inlined gst_buffer_ref(),
13092           gst_event_ref() and gst_message_ref() functions again
13093           (ugly hack, please do fix if there's a better way besides
13094           overrides.txt, which doesn't seem to work).
13095
13096 2006-05-10  Thomas Vander Stichele  <thomas at apestaart dot org>
13097
13098         * libs/gst/check/gstcheck.h:
13099           add an assert for setting state to avoid lots of repetitive code
13100           in the future
13101
13102 2006-05-10  Thomas Vander Stichele  <thomas at apestaart dot org>
13103
13104         * gst/gstvalue.c: (gst_value_serialize_flags):
13105           fix a leak if no flags are set
13106         * tests/check/gst/gstvalue.c: (GST_START_TEST):
13107           fix leak in tests
13108
13109 2006-05-10  Tim-Philipp Müller  <tim at centricular dot net>
13110
13111         * docs/manual/basics-pads.xml:
13112           Expand a bit on caps and filtered links and update
13113           examples that were still using the no longer existing
13114           gst_pad_link_filtered() (#338206).
13115
13116 2006-05-10  Wim Taymans  <wim@fluendo.com>
13117
13118         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
13119         (gst_collect_pads_add_pad), (gst_collect_pads_remove_pad),
13120         (gst_collect_pads_set_flushing), (gst_collect_pads_start),
13121         (gst_collect_pads_stop):
13122         * libs/gst/base/gstcollectpads.h:
13123         No need to call _stop in _finalize.
13124         Iterate the main pad list in _finalize.
13125         Added some more debug.
13126         Free lists and data in the right order.
13127         Also free data whem doing _remove_pad when stopped for
13128         backward compatibility protect ::started with PAD_LOCK as
13129         well.
13130
13131 2006-05-10  Thomas Vander Stichele  <thomas at apestaart dot org>
13132
13133         * gst/gststructure.c: (gst_structure_gtype_from_abbr),
13134         (gst_structure_parse_value):
13135           add some comments
13136           rename a method so that it actually says what it does better
13137
13138 2006-05-10  Thomas Vander Stichele  <thomas at apestaart dot org>
13139
13140         * gst/gstevent.c: (_gst_event_initialize):
13141         * gst/gstformat.c: (_gst_format_initialize):
13142           make sure some essential types used by events are registered
13143           as part of gst_init()
13144         * gst/gstvalue.c: (gst_value_serialize_flags):
13145           if no flags are set, serialize them to a value that represents NONE
13146           so that deserializing them works
13147         * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
13148           add tests for serialization and deserialization of flags
13149
13150 2006-05-10  Wim Taymans  <wim@fluendo.com>
13151
13152         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_collect),
13153         (gst_collect_pads_collect_range), (gst_collect_pads_available),
13154         (gst_collect_pads_check_pads), (gst_collect_pads_check_collected),
13155         (gst_collect_pads_event), (gst_collect_pads_chain):
13156         Update docs.
13157         Better debug info.
13158         Catch and return errors from the collect function
13159         Refuse data on eos pads.
13160
13161 2006-05-10  Edward Hervey  <edward@fluendo.com>
13162
13163         * gst/gstinterface.h:
13164         GST_IMPLEMENTS_INTERFACE and GST_IS_IMPLEMENTS_INTERFACE use the normal
13165         GInterface type checking.
13166         They were previously using non-defined macros.
13167
13168 2006-05-09  Wim Taymans  <wim@fluendo.com>
13169
13170         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_init),
13171         (gst_collect_pads_finalize), (gst_collect_pads_add_pad),
13172         (gst_collect_pads_remove_pad), (gst_collect_pads_set_flushing),
13173         (gst_collect_pads_start), (gst_collect_pads_stop),
13174         (gst_collect_pads_peek), (gst_collect_pads_pop),
13175         (gst_collect_pads_available), (gst_collect_pads_read),
13176         (gst_collect_pads_flush), (gst_collect_pads_check_pads),
13177         (gst_collect_pads_is_collected), (gst_collect_pads_event),
13178         (gst_collect_pads_chain):
13179         * libs/gst/base/gstcollectpads.h:
13180         Clean up the mess that is collectpads, add comments and
13181         FIXMEs where needed.
13182         Maintain a separate pad list so we can add pads while
13183         collecting the other ones. For this we need a new separate 
13184         lock (see comics).
13185         Fix memory leak in finalize.
13186         Refactor some weird code to set/unset pad flushing flags, mark
13187         with comments.
13188         Don't crash in _available, _read, _flush when we're EOS.
13189
13190         * tests/check/libs/.cvsignore:
13191         Ignore adapter check binary.
13192
13193 2006-05-09  Tim-Philipp Müller  <tim at centricular dot net>
13194
13195         * gst/gstindex.c: (gst_index_resolver_get_type):
13196         * plugins/elements/gstfakesink.c:
13197         (gst_fake_sink_state_error_get_type):
13198         * plugins/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
13199         (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type):
13200         * plugins/elements/gstqueue.c: (queue_leaky_get_type):
13201           Const-ify GEnumValue arrays.
13202
13203 2006-05-09  Tim-Philipp Müller  <tim at centricular dot net>
13204
13205         * tests/check/gst/gstbuffer.c: (GST_START_TEST):
13206           Add test case for flags + gst_buffer_make_metadata_writable().
13207
13208 2006-05-09  Tim-Philipp Müller  <tim at centricular dot net>
13209
13210         * gst/gstbuffer.c: (gst_buffer_make_metadata_writable):
13211           gst_buffer_make_metadata_writable() should maintain the
13212           buffer flags (those that make sense at least) (see #340859).
13213
13214 2006-05-09  Tim-Philipp Müller  <tim at centricular dot net>
13215
13216         * tools/gst-inspect.c:
13217         * tools/gst-launch.c:
13218         * tools/gst-typefind.c:
13219         * tools/gst-xmlinspect.c:
13220         * tools/tools.h:
13221           Fix up includes: need to include stdlib.h in tools.h for exit().
13222
13223 2006-05-09  Tim-Philipp Müller  <tim at centricular dot net>
13224
13225         * gst/gsttaglist.c: (_gst_tag_initialize):
13226         * gst/gsttaglist.h:
13227           API: add GST_TAG_IMAGE tag (#340721).
13228
13229 2006-05-08  Wim Taymans  <wim@fluendo.com>
13230
13231         * gst/gstquery.c:
13232         Added some docs for the segment query.
13233
13234 2006-05-08  Wim Taymans  <wim@fluendo.com>
13235
13236         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
13237         (gst_base_src_loop), (gst_base_src_change_state):
13238         Always push non-flushing serialized events in the streaming 
13239         thread.
13240
13241 2006-05-08  Thomas Vander Stichele  <thomas at apestaart dot org>
13242
13243         * gst/gsterror.c: (_gst_stream_errors_init):
13244           Add a missing error string.
13245
13246 2006-05-08  Jan Schmidt  <thaytan@mad.scientist.com>
13247
13248         * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment):
13249         Add applied_rate to the debug
13250
13251         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek):
13252         Copy applied_rate into the outgoing NEWSEGMENT event
13253
13254 2006-05-08  Wim Taymans  <wim@fluendo.com>
13255
13256         Patch by: Philippe Rouquier <philippero at libertysurf dot fr>
13257
13258         * libs/gst/base/gstbasesink.c: (gst_base_sink_set_flushing),
13259         (gst_base_sink_change_state):
13260         call ::unlock before taking the PREROLL_LOCK so we can safely
13261         handle elements that lock in ::render.
13262         Fixes #340174.
13263
13264 2006-05-08  Edward Hervey  <edward@fluendo.com>
13265
13266         * autogen.sh: (CONFIGURE_DEF_OPT): 
13267         Darwin's libtoolize is in fact called glibtoolize.
13268         Adding glibtoolize to the list of accepted names for libtoolize.
13269
13270 2006-05-08  Wim Taymans  <wim@fluendo.com>
13271
13272         * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
13273         Unify error handling, don't post an error message
13274         when a push() returns EOS but perform our normal EOS
13275         handling code. Fixes #340772.
13276
13277 2006-05-08  Wim Taymans  <wim@fluendo.com>
13278
13279         * docs/design/part-overview.txt:
13280         Make upsteam/downstream concepts more clear.
13281         Give an example of serialized/non-serialized events.
13282
13283         * docs/design/part-events.txt:
13284         * docs/design/part-streams.txt:
13285         Mention applied_rate.
13286
13287         * docs/design/part-trickmodes.txt:
13288         Mention applied rate, flesh out some more use cases.
13289
13290         * gst/gstevent.c: (gst_event_new_new_segment),
13291         (gst_event_parse_new_segment), (gst_event_new_new_segment_full),
13292         (gst_event_parse_new_segment_full), (gst_event_new_tag),
13293         (gst_event_parse_tag), (gst_event_new_buffer_size),
13294         (gst_event_parse_buffer_size), (gst_event_new_qos),
13295         (gst_event_parse_qos), (gst_event_parse_seek),
13296         (gst_event_new_navigation):
13297         * gst/gstevent.h:
13298         Add applied_rate field to NEWSEGMENT event.
13299         API: gst_event_new_new_segment_full()
13300         API: gst_event_parse_new_segment_full()
13301
13302         * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_seek),
13303         (gst_segment_set_newsegment), (gst_segment_set_newsegment_full),
13304         (gst_segment_to_stream_time), (gst_segment_to_running_time):
13305         * gst/gstsegment.h:
13306         Add applied_rate to GstSegment structure.
13307         Make calculation of stream_time and running_time more correct
13308         wrt rate/applied_rate.
13309         Add some more docs.
13310         API: GstSegment::applied_rate field
13311         API: gst_segment_set_newsegment_full();
13312
13313         * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment),
13314         (gst_base_sink_get_sync_times), (gst_base_sink_get_position):
13315         * libs/gst/base/gstbasetransform.c:
13316         (gst_base_transform_sink_eventfunc),
13317         (gst_base_transform_handle_buffer):
13318         Parse and use applied_rate in the GstSegment field.
13319
13320         * tests/check/gst/gstevent.c: (GST_START_TEST):
13321         Add check for applied_rate field.
13322
13323         * tests/check/gst/gstsegment.c: (GST_START_TEST),
13324         (gstsegments_suite):
13325         Add more checks for various GstSegment operations.
13326
13327 2006-05-08  Wim Taymans  <wim@fluendo.com>
13328
13329         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
13330         (gst_base_sink_do_sync), (gst_base_sink_chain_unlocked),
13331         (gst_base_sink_get_position), (gst_base_sink_change_state):
13332         Store the sync time of the buffer end position separatly in a
13333         new variable eos_rtime so we can properly sync the EOS event.
13334         Fixes #340697.
13335         Fix the docs for gst_base_sink_set_qos_enabled().
13336         Don't set segment start to invalid value when we receive a 
13337         non TIME newsegment.
13338         get closer to handling position reporting for negative rates 
13339         correctly.
13340
13341 2006-05-07  Stefan Kost  <ensonic@users.sf.net>
13342
13343         * gst/gstcaps.c:
13344         Docs about how to print caps for debug purposes.
13345
13346         * gst/gstpadtemplate.c: (gst_static_pad_template_get):
13347         use gst_caps_make_writable instead of gst_caps_copy, Fixes #340608
13348
13349 2006-05-07  Stefan Kost  <ensonic@users.sf.net>
13350
13351         * gst/gstelement.c:
13352           use full enum names and preprend a '%' in docs strings to make recent 
13353           gtk-doc turn that into a link
13354
13355 2006-05-05  Tim-Philipp Müller  <tim at centricular dot net>
13356
13357         * docs/manual/basics-bins.xml:
13358         * docs/manual/basics-bus.xml:
13359         * docs/manual/basics-pads.xml:
13360           Some typo fixes, some additions, some clarifications. 
13361
13362 2006-05-05  Tim-Philipp Müller  <tim at centricular dot net>
13363
13364         * tools/gst-inspect.c: (main):
13365         * tools/gst-launch.c: (main):
13366         * tools/gst-run.c: (main):
13367         * tools/gst-typefind.c: (main):
13368         * tools/gst-xmlinspect.c: (main):
13369           Use the string passed to g_option_context_new() for
13370           what it's intended for - the program name is already
13371           printed elsewhere.
13372
13373 2006-05-05  Tim-Philipp Müller  <tim at centricular dot net>
13374
13375         * tools/Makefile.am:
13376         * tools/gst-inspect.c: (main):
13377         * tools/gst-launch.c: (main):
13378         * tools/gst-xmlinspect.c: (main):
13379         * tools/tools.h:
13380           Add back --version command line option (#340460).
13381
13382         * tools/gst-typefind.c: (have_type_handler), (typefind_file), (main):
13383           Add --version option and use GOption for argument parsing; refactor a
13384           bit; accept directories as arguments and recurse into them; lastly,
13385           print a decent error message when things go wrong.
13386
13387 2006-05-05  Maciej Katafiasz  <mathrick@freedesktop.org>
13388
13389         * docs/manual/basics-bins.xml:
13390         Don't mention GstThread (#340611)
13391         * docs/manual/basics-elements.xml:
13392         Update link to GObject tutorial (#340607)
13393         
13394 2006-05-05  Wim Taymans  <wim@fluendo.com>
13395
13396         * gst/gstbuffer.h:
13397         * gst/gstminiobject.c:
13398         Add note about refcounting and miniobject/buffer writeability
13399         to docs. Fixes #340604
13400
13401         * gst/gstelementfactory.h:
13402         Added some explanation about @klass.
13403
13404 2006-05-05  Maciej Katafiasz  <mathrick@freedesktop.org>
13405
13406         * docs/manual/intro-motivation.xml:
13407         * docs/manual/manual.xml:
13408         Avoid CORBA & Bonobo references (#340598)
13409
13410 2006-05-05  Maciej Katafiasz  <mathrick@freedesktop.org>
13411
13412         * docs/manual/basics-bus.xml:
13413         * docs/manual/basics-pads.xml:
13414         Fix up some inaccuracies and omissions (#340609)
13415         
13416 2006-05-05  Maciej Katafiasz  <mathrick@freedesktop.org>
13417
13418         * gst/gstghostpad.c:
13419           Small typo in docs (#340625)
13420
13421 2006-05-05  Tim-Philipp Müller  <tim at centricular dot net>
13422
13423         * gst/parse/Makefile.am:
13424           Make 'make -j' proof (see #340698).
13425
13426 2006-05-05  Tim-Philipp Müller  <tim at centricular dot net>
13427
13428         * configure.ac:
13429           Require GLib-2.8 here as well.
13430
13431 2006-05-05  Wim Taymans  <wim@fluendo.com>
13432
13433         * gst/glib-compat.c:
13434         * gst/gst.c: (init_pre):
13435         * gst/gstobject.c: (gst_object_init), (gst_object_ref),
13436         (gst_object_unref), (gst_object_replace), (gst_object_dispose),
13437         (gst_object_dispatch_properties_changed):
13438         * gst/gstobject.h:
13439         * gst/gstregistryxml.c: (gst_registry_xml_read_cache):
13440         * gst/gststructure.c: (gst_structure_set_valist):
13441         * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
13442         Remove pre glib2.8 compatibility, fixes #340508
13443
13444 2006-05-04  Tim-Philipp Müller  <tim at centricular dot net>
13445
13446         * gst/gsttaglist.h:
13447           Mention type of tags in doc blurbs.
13448
13449 2006-05-04  Jan Schmidt  <thaytan@mad.scientist.com>
13450
13451         * gst/gstpad.c: (gst_pad_init), (gst_pad_configure_sink),
13452         (gst_pad_configure_src), (gst_pad_push):
13453         Restore acceptcaps checking behaviour now that good plugins have
13454         been released.
13455
13456 2006-05-04  Tim-Philipp Müller  <tim at centricular dot net>
13457
13458         Patch by: James Andrewartha <trs80 at tartarus uwa edu au>
13459
13460         * gst/gst.c:
13461         * gst/gstbus.c:
13462         * gst/gstclock.c:
13463         * gst/gstevent.c:
13464         * gst/gstformat.c:
13465         * gst/gstmessage.c:
13466         * gst/gstparse.c:
13467         * gst/gstquery.c:
13468         * gst/gstutils.c:
13469         * gst/parse/Makefile.am:
13470         * libs/gst/base/gstadapter.c:
13471         * libs/gst/base/gstbasesrc.c:
13472         * libs/gst/base/gstpushsrc.c:
13473         * libs/gst/base/gsttypefindhelper.c:
13474         * plugins/elements/gstfakesrc.c:
13475         * plugins/elements/gstidentity.c:
13476           Make sure gstprivate.h and/or config.h are
13477           always included first, otherwise some of our
13478           defines (like _FILE_OFFSET_BITS) might be
13479           redefined in the system headers. Fixes build
13480           on opensolaris (#340016).
13481
13482 2006-05-04  Wim Taymans  <wim@fluendo.com>
13483
13484         * docs/libs/gstreamer-libs-sections.txt:
13485         API: addition: gst_adapter_take_buffer()
13486         
13487         * libs/gst/base/gstadapter.c: (gst_adapter_push),
13488         (gst_adapter_peek), (gst_adapter_take), (gst_adapter_take_buffer),
13489         (gst_adapter_available_fast):
13490         * libs/gst/base/gstadapter.h:
13491         Prepare for optimizing the hell out of this hugely inefficient
13492         piece of code. 
13493         Added gst_adapter_take_buffer() so we can at least start thinking
13494         about subbuffering and merging.
13495         Added some comments.
13496
13497         * tests/check/Makefile.am:
13498         * tests/check/libs/adapter.c: (GST_START_TEST),
13499         (gst_adapter_suite), (main):
13500         Added GstAdapter check.
13501
13502 2006-05-04  Wim Taymans  <wim@fluendo.com>
13503
13504         * docs/design/part-overview.txt:
13505         Fix some typos, add blurb about buffer flags.
13506
13507 2006-05-03  Thomas Vander Stichele  <thomas at apestaart dot org>
13508
13509         * docs/libs/gstreamer-libs-sections.txt:
13510           make sure GstBaseTransformClass shows up in the docs
13511         * libs/gst/base/gstbasetransform.c:
13512         * libs/gst/base/gstbasetransform.h:
13513           move docs so gtk-doc picks it up now
13514
13515 2006-05-02  Stefan Kost  <ensonic@users.sf.net>
13516
13517         * docs/libs/gstreamer-libs-sections.txt:
13518           add missing symbols to docs
13519
13520 2006-05-02  Stefan Kost  <ensonic@users.sf.net>
13521
13522         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_event):
13523           back out the newsegment handling change, see #340060 for ongoing
13524           discussion
13525
13526 2006-04-30  Tim-Philipp Müller  <tim at centricular dot net>
13527
13528         * tools/gst-run.c: (get_candidates), (main):
13529           Fix wrong g_file_test() usage (see glib docs for why it doesn't
13530           work); fix typo in error message. Fixes #340079.
13531
13532 2006-04-29  Thomas Vander Stichele  <thomas at apestaart dot org>
13533
13534         * common/Makefile.am:
13535         * docs/Makefile.am:
13536         * docs/faq/Makefile.am:
13537         * docs/gst/Makefile.am:
13538         * docs/libs/Makefile.am:
13539         * docs/manual/Makefile.am:
13540         * docs/plugins/Makefile.am:
13541         * docs/pwg/Makefile.am:
13542         * docs/slides/Makefile.am:
13543         * docs/upload.mak:
13544         * common/upload.mak:
13545           move upload.mak to common
13546
13547 2006-04-29  Thomas Vander Stichele  <thomas at apestaart dot org>
13548
13549         * tests/check/gst/gstghostpad.c: (GST_START_TEST):
13550           add more asserts on refcounts
13551           do more cleanup at end of tests
13552           fix test leaks showing in FC5
13553
13554 2006-04-29  Stefan Kost  <ensonic@users.sf.net>
13555
13556         * plugins/elements/gsttypefindelement.c:
13557         (gst_type_find_element_handle_event):
13558         reverted wrong change and reflowed code to avoid others falling into
13559         this trap
13560
13561 2006-04-28  Stefan Kost  <ensonic@users.sf.net>
13562
13563         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_event):
13564           fix changelog entry about last collectpads change,
13565           add notes about proper fix
13566
13567 2006-04-28  Stefan Kost  <ensonic@users.sf.net>
13568
13569         * gst/gst.c:
13570         * gst/gstregistry.c: (gst_registry_scan_path_level),
13571         (gst_registry_scan_path):
13572         * gst/gstregistry.h:
13573           only write out registry if it has changed, fixes #338339
13574
13575 2006-04-28  Stefan Kost  <ensonic@users.sf.net>
13576
13577         * gst/gstbin.c:
13578         * gst/gstpipeline.c:
13579         * plugins/elements/gstcapsfilter.c:
13580         * plugins/elements/gstfakesink.c:
13581         * plugins/elements/gstfakesrc.c:
13582         * plugins/elements/gstfdsink.c:
13583         * plugins/elements/gstfdsrc.c:
13584         * plugins/elements/gstfilesink.c:
13585         * plugins/elements/gstfilesrc.c:
13586         * plugins/elements/gstidentity.c:
13587         * plugins/elements/gstqueue.c:
13588         * plugins/elements/gsttee.c:
13589         * plugins/elements/gsttypefindelement.c:
13590         (gst_type_find_element_handle_event):
13591           make GstElementDetails const
13592
13593 2006-04-28  Stefan Kost  <ensonic@users.sf.net>
13594
13595         * libs/gst/base/gstbasesink.c: (gst_base_sink_event):
13596         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
13597         (gst_collect_pads_is_collected), (gst_collect_pads_event):
13598           more detailed debug and formatting cleanup,
13599           forward newsegments to src-pad (so that e.g. adder not eats them)
13600
13601 2006-04-28  Stefan Kost  <ensonic@users.sf.net>
13602
13603         * gst/gstutils.c: (gst_element_link_pads):
13604           cleanup double code
13605
13606 2006-04-28  Stefan Kost  <ensonic@users.sf.net>
13607
13608         * libs/gst/controller/gstcontroller.c:
13609         (gst_controller_sync_values):
13610           some little tuning
13611         * tests/check/libs/controller.c: (GST_START_TEST),
13612         (gst_controller_suite):
13613           a new test for live value handling
13614
13615 2006-04-28  Wim Taymans  <wim@fluendo.com>
13616
13617         * gst/gstutils.c: (push_and_ref):
13618         Added some more docs.
13619         Fix refcount issue whith gst_element_found_tags() helper 
13620         function. Fixes #338335
13621
13622         * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
13623         Added testsuite for gst_element_found_tags().
13624
13625 2006-04-28  Michael Smith  <msmith@fluendo.com>
13626
13627         * gst/gstvalue.c: (gst_value_serialize_flags):
13628           Avoid NULL dereference when trying to serialize flags containing
13629           invalid values.
13630
13631 2006-04-28  Michael Smith  <msmith@fluendo.com>
13632
13633         * plugins/elements/gsttypefindelement.c:
13634         (gst_type_find_element_handle_event):
13635           If we get EOS before any data is accumulated, don't use
13636           uninitialised local variables.
13637
13638 2006-04-28  Michael Smith  <msmith@fluendo.com>
13639
13640         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
13641         (gst_dp_event_from_packet):
13642           Fixes in reading/writing events over GDP (not currently used?) - 
13643           dereferencing NULL events for unknown/invalid event types, memory
13644           leak, and change g_warning to GST_WARNING.
13645
13646 2006-04-28  Wim Taymans  <wim@fluendo.com>
13647
13648         * libs/gst/base/gstbasesink.c: (gst_base_sink_is_too_late),
13649         (gst_base_sink_do_render_stats), (gst_base_sink_render_object),
13650         (gst_base_sink_get_position), (gst_base_sink_change_state):
13651         When frame dropping is enabled, we should not ignore frames
13652         without a duration.
13653         Update some documentation.
13654
13655 2006-04-28  Wim Taymans  <wim@fluendo.com>
13656
13657         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
13658         (gst_base_src_send_event), (gst_base_src_change_state):
13659         Documentation updates.
13660
13661 2006-04-28  Wim Taymans  <wim@fluendo.com>
13662
13663         * plugins/elements/gstfdsink.c: (gst_fd_sink_render),
13664         (gst_fd_sink_check_fd), (gst_fd_sink_update_fd):
13665         handle EAGAIN, EINTR and short writes correctly. Also clean
13666         up some error cases, avoid a deadlock on bad file descriptors and
13667         use GST_DEBUG_OBJECT.
13668         Fixes #339843
13669
13670 2006-04-28  Wim Taymans  <wim@fluendo.com>
13671
13672         * gst/gstvalue.c: (gst_value_serialize_buffer),
13673         (gst_value_deserialize_buffer):
13674         Don't try to serialize a GValue with a NULL buffer. 
13675         Fixes #339821.
13676
13677         * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
13678         Added check for serialisation of NULL buffers.
13679
13680 2006-04-28  Wim Taymans  <wim@fluendo.com>
13681
13682         * gst/gstminiobject.c: (gst_value_take_mini_object):
13683         Taking a NULL miniobject is valid, fix the case where
13684         we try to unref the NULL miniobject.
13685
13686 2006-04-28  Wim Taymans  <wim@fluendo.com>
13687
13688         Patch by: Stefan Kost <ensonic at sonicpulse dot de>
13689
13690         * gst/gstbin.c: (gst_bin_handle_message_func):
13691         Update docs.
13692         Don't leak bin refcount when a state recalc is
13693         in progress and we delay another one #339808.
13694
13695 2006-04-28  Wim Taymans  <wim@fluendo.com>
13696
13697         * docs/design/part-TODO.txt:
13698         Mention QoS as an ongoing work item.
13699
13700         * docs/design/part-buffering.txt:
13701         New doc about buffering that needs to be fleshed out
13702         at some point.
13703
13704         * docs/design/part-qos.txt:
13705         More QoS policy for decoders/demuxers/transforms
13706
13707         * docs/design/part-trickmodes.txt:
13708         Small update.
13709
13710 2006-04-28  Thomas Vander Stichele  <thomas at apestaart dot org>
13711
13712         * configure.ac:
13713           back to HEAD
13714
13715 === release 0.10.5 ===
13716
13717 2006-04-28  Thomas Vander Stichele <thomas at apestaart dot org>
13718
13719         * configure.ac:
13720           releasing 0.10.5, "Fogo"
13721
13722 2006-04-22  Thomas Vander Stichele  <thomas at apestaart dot org>
13723
13724         patch by: Wim Taymans
13725
13726         * gst/gstpad.c: (gst_pad_init), (gst_pad_configure_sink),
13727         (gst_pad_configure_src), (gst_pad_push):
13728         * gst/gstpipeline.c: (gst_pipeline_init):
13729           Fix internal data flow errors.  Fixes #338711.
13730
13731 2006-04-12  Wim Taymans  <wim@fluendo.com>
13732
13733         * tests/check/gst/gstelement.c: (GST_START_TEST):
13734         Don't leak the factory.
13735
13736 2006-04-12  Thomas Vander Stichele  <thomas at apestaart dot org>
13737
13738         * configure.ac:
13739         * win32/common/config.h:
13740           prerelease
13741
13742 2006-04-12  Tim-Philipp Müller  <tim at centricular dot net>
13743
13744         * libs/gst/controller/gstcontroller.c: (gst_controller_unset),
13745         (gst_controller_unset_all):
13746           Free allocated GstTimedValues when freeing list nodes.
13747           Should fix leaks 'make check-valgrind' complains about.
13748
13749         * win32/common/libgstcontroller.def:
13750           Add gst_controller_unset_all.
13751
13752 2006-04-11  Stefan Kost  <ensonic@users.sf.net>
13753
13754         * docs/libs/gstreamer-libs-sections.txt:
13755         * libs/gst/controller/gstcontroller.c: (gst_controller_unset),
13756         (gst_controller_unset_all):
13757         * libs/gst/controller/gstcontroller.h:
13758         API: Added new method gst_controller_unset_all()
13759         fixed gst_controller_unset()
13760         * tests/check/libs/controller.c: (GST_START_TEST),
13761         (gst_controller_suite):
13762         Added two testcases for new and fixed method
13763
13764 2006-04-11  Tim-Philipp Müller  <tim at centricular dot net>
13765
13766         * libs/gst/net/gstnettimepacket.c: (gst_net_time_packet_send):
13767           MSG_DONTWAIT is not defined on Cygwin, so work
13768           around that (fixes #317048).
13769           
13770 2006-04-11  Wim Taymans  <wim@fluendo.com>
13771
13772         * gst/gstelementfactory.c: (gst_element_register),
13773         (gst_element_factory_create), (gst_element_factory_make):
13774         Some cleanups.
13775         Fixed a FIXME.
13776         Updated docs (Fixes #131079)
13777
13778         * gst/gstpluginfeature.c: (gst_plugin_feature_load):
13779         Small cleanups.
13780
13781         * tests/check/gst/gstelement.c: (GST_START_TEST),
13782         (gst_element_suite):
13783         Added testcase for elementfactory class field.
13784
13785 2006-04-10  Wim Taymans  <wim@fluendo.com>
13786
13787         * gst/gstsegment.c:
13788         Added some more docs.
13789
13790         * libs/gst/base/gstbasesink.c: (gst_base_sink_perform_qos),
13791         (gst_base_sink_reset_qos):
13792         Calculate more accurate rate values.
13793
13794 2006-04-09  Sebastien Moutte  <sebastien@moutte.net>
13795
13796         * gst/gst_private.h:
13797           add a new #ifdef to use __declspec(dllimport) only for
13798           other modules and not for gstreamer core
13799         * gst/gstbasesink.c: (gst_base_sink_perform_qos):
13800           use gst_guint64_to_gdouble for conversion
13801         * win32/common/libgstreamer.def:
13802           add new exported functions
13803         * win32/vs6/gst_inspect.dsp:
13804         * win32/vs6/gst_launch.dsp:
13805         * win32/vs6/libgstbase.dsp:
13806         * win32/vs6/libgstcontroller.dsp:
13807         * win32/vs6/libgstcoreelements.dsp:
13808         * win32/vs6/libgstdataprotocol.dsp:
13809         * win32/vs6/libgstnet.dsp:
13810           update project files
13811
13812 2006-04-08  Stefan Kost  <ensonic@users.sf.net>
13813
13814         * gst/gstbuffer.c: (gst_subbuffer_class_init):
13815         * gst/gstclock.c: (gst_clock_class_init):
13816         * gst/gstelement.c: (gst_element_class_init):
13817         * gst/gstindex.c: (gst_index_class_init):
13818         * gst/gstindexfactory.c: (gst_index_factory_class_init):
13819         * gst/gstobject.c: (gst_object_class_init),
13820         (gst_signal_object_class_init):
13821         * gst/gstpad.c: (gst_pad_class_init):
13822         * gst/gstpadtemplate.c: (gst_pad_template_class_init):
13823         * gst/gstpluginfeature.c: (gst_plugin_feature_class_init):
13824         * gst/gstregistry.c: (gst_registry_class_init):
13825         * gst/gstsystemclock.c: (gst_system_clock_class_init):
13826         * gst/gsttask.c: (gst_task_class_init):
13827         * gst/gstxml.c: (gst_xml_class_init):
13828         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
13829         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
13830         (gst_base_src_loop):
13831         * libs/gst/controller/gstcontroller.c:/
13832         (_gst_controller_class_init):
13833         * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init):
13834         * plugins/indexers/gstfileindex.c: (gst_file_index_class_init):
13835         * plugins/indexers/gstmemindex.c: (gst_mem_index_class_init):
13836         * tests/old/examples/plugins/example.c: (gst_example_class_init):
13837         * tests/old/testsuite/threads/signals.c: (gst_test_class_init):
13838         Fix #337365 (g_type_class_ref <-> g_type_class_peek_parent)
13839
13840 2006-04-08  Tim-Philipp Müller  <tim at centricular dot net>
13841
13842         * gst/gstpad.c: (gst_pad_link):
13843           Must set peer pads before calling the link function, otherwise
13844           a task started from a link function might get a flow-not-linked
13845           result when trying to push because the other thread where the
13846           linking happens hasn't had a chance to set the peers yet. This
13847           might happen for example when a queue gets linked to a downstream
13848           element, as queue starts a streaming task when its source pad
13849           gets linked. Happens in real life when playing back flac/musepack
13850           files in playbin (#332390).
13851           
13852 2006-04-08  Stefan Kost  <ensonic@users.sf.net>
13853
13854         * gst/gstindex.h:
13855         * gst/gstxml.h:
13856         * libs/gst/base/gstadapter.h:
13857         * libs/gst/base/gstbasesink.h:
13858         * libs/gst/base/gstbasesrc.h:
13859         * libs/gst/base/gstbasetransform.h:
13860         * libs/gst/base/gstcollectpads.h:
13861         * libs/gst/base/gstpushsrc.h:
13862         Fix broken GObject macros
13863
13864 2006-04-07  Wim Taymans  <wim@fluendo.com>
13865
13866         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
13867         Initialize start and stop times, thanks valgrind.
13868
13869 2006-04-07  Wim Taymans  <wim@fluendo.com>
13870
13871         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
13872         Be a bit nicer to badly behaving upstream elements that expect
13873         us to deal with non TIME segments and timestamps (such as fakesrc
13874         in the testsuite).
13875
13876 2006-04-07  Wim Taymans  <wim@fluendo.com>
13877
13878         * gst/gstbus.c:
13879         Small documentation clarification about the signal watch.
13880
13881         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
13882         (gst_base_sink_wait_clock), (gst_base_sink_do_sync),
13883         (gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
13884         (gst_base_sink_do_render_stats), (gst_base_sink_render_object),
13885         (gst_base_sink_get_position_last),
13886         (gst_base_sink_get_position_paused), (gst_base_sink_change_state):
13887         Convert and store timestamps in stream time and running time, the
13888         raw timestamps are not useful, also document this better.
13889         Use different window sizes for good and bad QoS observations so
13890         we react to badness a little quicker.
13891         Keep track of the amount of rendered and dropped buffers.
13892         Send QoS timestamps in running time.
13893
13894         * libs/gst/base/gstbasetransform.c:
13895         (gst_base_transform_sink_eventfunc),
13896         (gst_base_transform_handle_buffer):
13897         Compare QoS timestamps against running time.
13898
13899 2006-04-06  Tim-Philipp Müller  <tim at centricular dot net>
13900
13901         * gst/gstpad.c:
13902           Typo fixes in docs.
13903
13904 2006-04-06  Michael Smith  <msmith@fluendo.com>
13905
13906         * gst/gstpad.c: (gst_pad_set_property):
13907           Use g_value_get_object() instead of g_value_dup_gst_object(),
13908           to avoid double-reffing the pad template (which we then sink,
13909           so this worked previously if (and only if) the pad template
13910           was floating.
13911
13912         * gst/gstpadtemplate.c: (gst_pad_template_init),
13913         (gst_pad_template_pad_created):
13914           Never return floating references to pad templates, create
13915           them as initially-sunken.
13916
13917           Document an extra function (and make this stop sinking our
13918           pad template, since that is now guaranteed to do nothing,
13919           since we created it sunken).
13920
13921         * gst/gstghostpad.c:
13922           Fix docs typo.
13923
13924 2006-04-06  Tim-Philipp Müller  <tim at centricular dot net>
13925
13926         * gst/gstinfo.c: (__gst_in_valgrind):
13927           Add some newlines.
13928
13929         * plugins/elements/gsttypefindelement.c:
13930         (gst_type_find_element_chain):
13931           Don't leak buffer caps.
13932
13933 2006-04-06  Michael Smith  <msmith@fluendo.com>
13934
13935         * gst/parse/grammar.y:
13936           Fix a leak in parse-launch for any source-or-sink named element 
13937           references used.
13938
13939         * tests/check/pipelines/parse-launch.c: (expected_fail_pipe):
13940           Unref the pipeline if it exists after we've failed parsing.
13941
13942 2006-04-05  Michael Smith  <msmith@fluendo.com>
13943
13944         * gst/gstpipeline.c: (gst_pipeline_init):
13945           When we create a pipeline bus, initially create it in flushing mode.
13946           Fixes leaks in at least one test, and makes a new pipeline work the
13947           same as one that has gone to READY and then back to NULL.
13948
13949         * gst/gstelement.c:
13950           Typo fix in docs.
13951
13952 2006-04-05  Michael Smith  <msmith@fluendo.com>
13953
13954         * tests/check/gst/gstghostpad.c: (GST_START_TEST):
13955           Unref a pad we reffed.
13956         * tests/check/gst/gstutils.c: (GST_START_TEST):
13957           Unref bins
13958
13959 2006-04-05  Michael Smith  <msmith@fluendo.com>
13960
13961         * gst/gstquery.c: (gst_query_set_formats),
13962         (gst_query_set_formatsv):
13963           Fix leaking GValues in queries, as shown by valgrind/testsuite.
13964
13965 2006-04-05  Michael Smith  <msmith@fluendo.com>
13966
13967         * tests/check/generic/sinks.c: (GST_START_TEST):
13968           Fix a variety of memleaks in sinks check, which are only sometimes 
13969           shown by running the tests under valgrind (weird?).
13970
13971 2006-04-05  Jan Schmidt  <thaytan@mad.scientist.com>
13972
13973         * docs/version.entities.in:
13974           Fix the substituted entity name after thomas' changes on the
13975           weekend.
13976
13977 2006-04-05  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
13978
13979         * gst/gstinfo.c: (__gst_in_valgrind): Use printf instead of
13980         VALGRIND_PRINTF
13981         
13982 2006-04-05  Andy Wingo  <wingo@pobox.com>
13983
13984         * gst/gstpad.c (gst_pad_set_blocked_async): More debug.
13985
13986         * libs/gst/base/gstbasetransform.c
13987         (gst_base_transform_sink_eventfunc): When resetting our segment on
13988         FLUSH_STOP, also update the flag saying we haven't seen a
13989         newsegment.
13990
13991 2006-04-04  Tim-Philipp Müller  <tim at centricular dot net>
13992
13993         Patch by: Paolo Borelli  <pborelli at katamail dot com>
13994
13995         * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_class_init),
13996         (gst_plugin_check_license):
13997           minor clean-ups: G_DEFINE_TYPE already takes care of the
13998           parent_class stuff, no need to do it twice. Mark array of
13999           license strings as constant. (#337103)
14000           
14001 2006-04-04  Michael Smith  <msmith@fluendo.com>
14002
14003         * tools/gst-inspect.c: (print_element_list):
14004           Free the right plugin list; fixes a memory leak.
14005
14006 2006-04-04  Tim-Philipp Müller  <tim at centricular dot net>
14007
14008         Patch by: Mark Nauwelaerts  <manauw at skynet dot be>
14009
14010         * plugins/elements/gstfilesink.c: (gst_file_sink_render):
14011           Don't error out on empty buffers (#336945).
14012           
14013 2006-04-04  Jan Schmidt  <thaytan@mad.scientist.com>
14014
14015         * docs/libs/gstreamer-libs-sections.txt:
14016         * gst/gsttaglist.c:
14017         * libs/gst/base/gstbasesink.c:
14018         * libs/gst/base/gstbasesink.h:
14019         * libs/gst/base/gstbasesrc.c:
14020         * libs/gst/base/gstbasesrc.h:
14021           Documentation updates. Make BaseSink and BaseSrc docs contain the
14022           class structure so that people can actually see the prototypes for
14023           virtual functions they're supposed to be overriding.
14024
14025 2006-04-04  Tim-Philipp Müller  <tim at centricular dot net>
14026
14027         * plugins/elements/gsttypefindelement.c:
14028         (gst_type_find_element_chain):
14029           More debug info; when skipping typefinding, send cached
14030           events in all cases.
14031
14032 2006-04-01  Thomas Vander Stichele  <thomas at apestaart dot org>
14033
14034         * configure.ac:
14035           use new AS_VERSION and AS_NANO macros
14036         * gst/gst-i18n-lib.h:
14037         * gst/gst.c:
14038         * gst/gsterror.c:
14039         * gst/gstversion.h.in:
14040         * win32/common/config.h:
14041         * win32/common/config.h.in:
14042           update accordingly
14043
14044 2006-03-31  Michael Smith  <msmith@fluendo.com>
14045
14046         * plugins/elements/gsttypefindelement.c:
14047         (gst_type_find_element_chain):
14048           Do not typefind content if the buffers already have caps.
14049           Neccesary for icydemux (#333657), and the right thing to do anyway.
14050
14051 2006-03-30  Wim Taymans  <wim@fluendo.com>
14052
14053         * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
14054         (gst_base_sink_finalize), (gst_base_sink_set_qos_enabled),
14055         (gst_base_sink_is_qos_enabled), (gst_base_sink_do_sync),
14056         (gst_base_sink_record_qos_observation),
14057         (gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
14058         (gst_base_sink_is_too_late), (gst_base_sink_render_object),
14059         (gst_base_sink_change_state):
14060         More QoS measurements as described in the design doc.
14061         Get rid of ringbuffer with observations, running average is
14062         more simple and equally good.
14063         Calculates valid proportion now.
14064         Added beginning of flood measurement.
14065
14066 2006-03-29  Wim Taymans  <wim@fluendo.com>
14067
14068         * docs/design/part-qos.txt:
14069         * gst/gstclock.c:
14070         Small documentation updates and additions.
14071
14072 2006-03-29  Wim Taymans  <wim@fluendo.com>
14073
14074         * libs/gst/base/gstbasesrc.c: (gst_base_src_finalize),
14075         (gst_base_src_send_event), (gst_base_src_loop),
14076         (gst_base_src_change_state):
14077         Perform the EOS logic when we reach the segment stop position.
14078         Fix compilation on gcc4.1
14079
14080 2006-03-29  Wim Taymans  <wim@fluendo.com>
14081
14082         Patch by: Tommi Myöhänen <ext-tommi dot myohanen at nokia dot com>
14083
14084         * plugins/elements/gstqueue.c: (gst_queue_init),
14085         (gst_queue_locked_flush), (gst_queue_handle_sink_event),
14086         (gst_queue_set_property):
14087         * plugins/elements/gstqueue.h:
14088         In queue, when EOS is received, if minimum threshold > max_size -
14089         current_level, there is chance that queue blocks forever in conditional
14090         item del wait. This is because the queue is not emptied completely due
14091         to minimum threshold.  Here is another approach. Instead of setting
14092         cur_levels to max in EOS, just zero all minimum threshold levels. This
14093         should make sure that queue gives out all data. When going to READY
14094         (stop) state, just reset the original minimum threshold levels.
14095         Fixes #336336.
14096
14097 2006-03-29  Tim-Philipp Müller  <tim at centricular dot net>
14098
14099         * plugins/elements/gsttypefindelement.c: (stop_typefinding),
14100         (gst_type_find_element_handle_event),
14101         (gst_type_find_element_send_cached_events),
14102         (gst_type_find_element_change_state):
14103         * plugins/elements/gsttypefindelement.h:
14104           When typefinding is done in push mode, we should cache
14105           events we receive during typefinding instead of just
14106           dropping them (e.g. newsegment, custom events from
14107           dvdreadsrc etc.) and then send them out once we've
14108           determined the type of the stream (and decodebin
14109           has had a chance to plug in a decoder/demuxer).
14110           
14111 2006-03-27  Wim Taymans  <wim@fluendo.com>
14112
14113         * docs/design/part-qos.txt:
14114         First QoS ideas.
14115
14116 2006-03-27  Wim Taymans  <wim@fluendo.com>
14117
14118         Inspired by a patch of: Lutz Mueller <lutz at topfrose dot de>
14119
14120         * libs/gst/base/gstbasesrc.c: (gst_base_src_finalize),
14121         (gst_base_src_send_event), (gst_base_src_change_state):
14122         Handle element seek correctly when we are streaming.
14123         Fixes #326998.
14124
14125 2006-03-24  Michael Smith  <msmith@fluendo.com>
14126
14127         * docs/faq/gst-uninstalled:
14128           Set up LD_LIBRARY_PATH to point at all the gstreamer libs. This will
14129           allow you to correctly run intalled applications built against old 
14130           core, using plugins that require updated core (e.g. running
14131           installed totem against a full uninstalled gstreamer stack)
14132
14133 2006-03-24  Stefan Kost  <ensonic@users.sf.net>
14134
14135         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_is_collected):
14136         more debug details
14137
14138 2006-03-24  Wim Taymans  <wim@fluendo.com>
14139
14140         * docs/gst/gstreamer-sections.txt:
14141         Rearrange the order of the methods so that related methods
14142         are grouped together in sections.
14143
14144 2006-03-24  Stefan Kost  <ensonic@users.sf.net>
14145
14146         * gst/gstelement.c:
14147           Little clarification in the docs
14148
14149 2006-03-24  Stefan Kost  <ensonic@users.sf.net>
14150
14151         * docs/README:
14152         formatting fix
14153         * plugins/elements/gstidentity.c:
14154         * plugins/elements/gstqueue.c:
14155         * plugins/elements/gsttee.c:
14156         * plugins/elements/gsttypefindelement.c:
14157         GST_ELEMENT_DETAILS formatting
14158
14159 2006-03-24  Wim Taymans  <wim@fluendo.com>
14160
14161         * libs/gst/base/gstbasesink.h:
14162         Only add fields, not insert or we break ABI.
14163
14164 2006-03-23  Tim-Philipp Müller  <tim at centricular dot net>
14165
14166         * win32/common/libgstbase.def:
14167         * win32/common/libgstreamer.def:
14168           Update, add recently added functions.
14169
14170 2006-03-23  Tim-Philipp Müller  <tim at centricular dot net>
14171
14172         * docs/gst/gstreamer-sections.txt:
14173         * gst/gstutils.c: (gst_pad_query_peer_position),
14174         (gst_pad_query_peer_duration), (gst_pad_query_peer_convert):
14175         * gst/gstutils.h:
14176           API: add some new utility functions:
14177            - gst_pad_query_peer_position()
14178            - gst_pad_query_peer_duration()
14179            - gst_pad_query_peer_convert()
14180           
14181 2006-03-23  Wim Taymans  <wim@fluendo.com>
14182
14183         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
14184         (gst_base_sink_init), (gst_base_sink_finalize),
14185         (gst_base_sink_set_qos_enabled), (gst_base_sink_is_qos_enabled),
14186         (gst_base_sink_set_property), (gst_base_sink_get_property),
14187         (gst_base_sink_commit_state), (gst_base_sink_get_sync_times),
14188         (gst_base_sink_wait_clock), (gst_base_sink_do_sync),
14189         (gst_base_sink_add_qos_observation), (gst_base_sink_send_qos),
14190         (gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
14191         (gst_base_sink_is_too_late), (gst_base_sink_render_object),
14192         (gst_base_sink_preroll_object), (gst_base_sink_event),
14193         (gst_base_sink_chain_unlocked), (gst_base_sink_get_position_last),
14194         (gst_base_sink_get_position_paused), (gst_base_sink_get_position),
14195         (gst_base_sink_query), (gst_base_sink_change_state):
14196         Decouple max-lateness and the fact that QoS messages are generated
14197         with a new property (qos).
14198         added API: GstBaseSink::async_play()
14199         Add vmethod so subclasses can be notified of ASYNC playing
14200         state changes.
14201         Collect timestamp start and stop to report better current
14202         position in EOS/PLAYING/PAUSED/READY/NULL.
14203         Refactor QoS/frame dropping and other measurements.
14204         API: GstBaseSrc::qos
14205         Fixes #326311
14206
14207         * libs/gst/base/gstbasesink.h:
14208         Added Private struct.
14209         API: gst_base_sink_set_qos_enabled()
14210         API: gst_base_sink_is_qos_enabled()
14211
14212 2006-03-23  Tim-Philipp Müller  <tim at centricular dot net>
14213
14214         * gst/gstregistryxml.c: (gst_registry_xml_read_cache):
14215           If compiling against GLib-2.8 or newer, try to read the
14216           registry file using GMappedFile first before falling back
14217           to fopen() + fread() (#332151).
14218
14219 2006-03-22  Wim Taymans  <wim@fluendo.com>
14220
14221         * gst/gstinfo.c: (gst_debug_set_active),
14222         (gst_debug_category_set_threshold):
14223         Disable debugging unless explicitly activated.
14224         Fixes #335480.
14225
14226 2006-03-22  Wim Taymans  <wim@fluendo.com>
14227
14228         * gst/gstelement.c: (gst_element_set_locked_state),
14229         (gst_element_dispose):
14230         Cleanup the error case.
14231
14232         * gst/gstobject.c: (gst_object_dispose):
14233         print a critical when some object was disposed with
14234         a parent, also revive the object since it might
14235         crash the parent.
14236
14237 2006-03-22  Tim-Philipp Müller  <tim at centricular dot net>
14238
14239         * tools/gst-launch.1.in:
14240           Fix another typo.
14241
14242 2006-03-21  Thomas Vander Stichele  <thomas at apestaart dot org>
14243
14244         * configure.ac:
14245         * tests/check/Makefile.am:
14246           disable some tests when we don't have a registry
14247         * tests/check/gst/gstutils.c: (gst_utils_suite):
14248           don't build the part that needs parsing
14249
14250 2006-03-21  Thomas Vander Stichele  <thomas at apestaart dot org>
14251
14252         * gst/Makefile.am
14253         * tests/examples/Makefile.am:
14254           fix --disable-parse build
14255
14256 2006-03-21  Tim-Philipp Müller  <tim at centricular dot net>
14257
14258         * tools/gst-feedback.1.in:
14259           Fix typo: s/feeback/feedback/ (#133494).
14260
14261 2006-03-21  Tim-Philipp Müller  <tim at centricular dot net>
14262
14263         * tools/Makefile.am:
14264         * tools/gst-launch.1.in:
14265           Add FILES section and correct entry about GST_REGISTRY_PATH
14266           environment variable (#133495; #133494).
14267
14268 2006-03-21  Tim-Philipp Müller  <tim at centricular dot net>
14269
14270         * tools/Makefile.am:
14271         * tools/gst-md5sum.1.in:
14272         * tools/gst-md5sum.c:
14273           Remove gst-md5sum and man page (the md5sink element
14274           required was removed ages ago)
14275
14276 2006-03-21  Tim-Philipp Müller  <tim at centricular dot net>
14277
14278         * gst/gststructure.c: (gst_structure_id_set_value):
14279           Make sure that string fields in structures/taglists
14280           contain valid UTF-8 - we don't want to pass rubbish to
14281           applications because of a buggy plugin (cp. #334167).
14282
14283 2006-03-21  Edward Hervey  <edward@fluendo.com>
14284
14285         * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
14286         (gst_bin_handle_message_func):
14287         * gst/gstclock.c: (gst_clock_dispose), (gst_clock_set_master):
14288         * gst/gstelement.c: (gst_element_set_clock), (gst_element_dispose),
14289         (gst_element_set_bus_func):
14290         * gst/gstghostpad.c: (gst_proxy_pad_dispose):
14291         * gst/gstminiobject.c: (gst_value_set_mini_object),
14292         (gst_value_take_mini_object):
14293         * gst/gstpad.c: (gst_pad_set_pad_template):
14294         * gst/gstpipeline.c: (gst_pipeline_dispose),
14295         (gst_pipeline_use_clock), (gst_pipeline_auto_clock):
14296         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_pop),
14297         (gst_collect_pads_chain):
14298         * libs/gst/net/gstnettimeprovider.c:
14299         (gst_net_time_provider_set_property):
14300         Series of fixes for dereferenced pointers that gcc 4.1 complains about.
14301         It's in fact all issues with gst_*object_replace().
14302
14303 2006-03-21  Tim-Philipp Müller  <tim at centricular dot net>
14304
14305         Patch by: Loïc Minier  <lool + gnome at via dot ecp dot fr>
14306         
14307         * pkgconfig/gstreamer-check-uninstalled.pc.in:
14308         * pkgconfig/gstreamer-check.pc.in:
14309           Use @CHECK_LIBS@ here instead of hard-coding -lcheck (#334109).
14310
14311 2006-03-21  Edward Hervey  <edward@fluendo.com>
14312
14313         * gst/gstbuffer.h:
14314         * gst/gstevent.h:
14315         * gst/gstmessage.h:
14316         gst_[buffer|event|message]_ref() macros are replaced by a static
14317         inline functions because gcc-4.1 will about if the return value
14318         isn't used.
14319         * tests/check/gst/gstevent.c: (event_probe):
14320         gst_event_ref now has to be given a GstEvent* , fix check accordingly.
14321
14322 2006-03-20  Jan Schmidt  <thaytan@mad.scientist.com>
14323
14324         * gst/gstutils.h:
14325         Add G_UNLIKELY to our boilerplate to optimise the 'already registered
14326         the type' case. (Closes: #335195 for now). In the future, when we
14327         depend on GLib 2.10, we could also intern the type name using
14328         g_intern_static_string()
14329
14330 2006-03-20  Wim Taymans  <wim@fluendo.com>
14331
14332         * gst/gstbin.c: (gst_bin_handle_message_func),
14333         (bin_query_max_init), (bin_query_position_fold),
14334         (bin_query_position_done), (gst_bin_query):
14335         Position query should also take max of all streams.
14336
14337 2006-03-20  Wim Taymans  <wim@fluendo.com>
14338
14339         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
14340         (gst_fake_src_finalize):
14341         Fix leaks in fakesrc.
14342
14343         * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
14344         Fix leaks in the testcase.
14345
14346 2006-03-19  Sebastien Moutte  <sebastien@moutte.net>
14347
14348         * gst/gst_private.h:
14349           add win32 specific import decoration(__declspec(dllimport)) 
14350           for all extern GstDebugCategory * variables
14351         * win32/common/libgstbase.def:
14352         * win32/common/libgstcontroller.def:
14353         * win32/common/libgstreamer.def:
14354           Add some exports, remove empty lines
14355         * win32/common/libgstdataprotocol.def:
14356         * win32/common/libgstdataprotocol.dsp:
14357         * win32/common/libgstnet.def:
14358         * win32/common/libgstnet.dsp:
14359           new project files and exportation files added
14360         
14361 2006-03-19  Wim Taymans  <wim@fluendo.com>
14362
14363         * tests/check/libs/basesrc.c: (eos_event_counter):
14364         Use proper return value for probe.
14365
14366 2006-03-17  Wim Taymans  <wim@fluendo.com>
14367
14368         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_alloc_buffer_full),
14369         (gst_pad_push):
14370         Don't leak buffers, caps and pads on negotiation errors.
14371
14372 2006-03-16  Stefan Kost  <ensonic@users.sf.net>
14373
14374         * docs/faq/cvs.xml:
14375         * docs/faq/dependencies.xml:
14376         * docs/faq/developing.xml:
14377         * docs/faq/faq.xml:
14378         * docs/faq/general.xml:
14379         * docs/faq/getting.xml:
14380         * docs/faq/legal.xml:
14381         * docs/faq/troubleshooting.xml:
14382         * docs/faq/using.xml:
14383         Faq review and update.
14384
14385 2006-03-16  Jan Schmidt  <thaytan@mad.scientist.com>
14386
14387         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_alloc_buffer_full),
14388         (gst_pad_push):
14389         Don't pound the cpu to pieces by checking get_caps when accept_caps
14390         is called with the same caps as the pad already has.
14391         Use GST_DEBUG_OBJECT when outputting caps change information.
14392
14393 2006-03-15  Wim Taymans  <wim@fluendo.com>
14394
14395         * gst/gstclock.c: (gst_clock_class_init):
14396         Fix docs.
14397
14398 2006-03-15  Jan Schmidt  <thaytan@mad.scientist.com>
14399
14400         * gst/gstbuffer.h:
14401         Documentation fix.
14402
14403         * gst/gstpad.c: (gst_pad_init), (gst_pad_acceptcaps_default),
14404         (gst_pad_accept_caps), (gst_pad_configure_sink),
14405         (gst_pad_configure_src), (gst_pad_chain), (gst_pad_push):
14406         Make the default acceptcaps behaviour be to check the requested 
14407         caps against the gst_pad_get_caps output. 
14408
14409         Ensure that gst_pad_accept_caps is used to check caps when a pad
14410         doesn't have a setcaps function, so that pads automatically refuse 
14411         caps that they don't allow in their pad template. (Fixes #332986)
14412
14413         When a buffer with attached caps is pushed, ensure that the source 
14414         pad receives those caps even if the element didn't call
14415         gst_pad_set_caps first.
14416
14417 2006-03-15  Wim Taymans  <wim@fluendo.com>
14418
14419         * libs/gst/base/gstadapter.c:
14420         Add some docs.
14421
14422 2006-03-15  Tim-Philipp Müller  <tim at centricular dot net>
14423
14424         * win32/common/libgstbase.def:
14425         * win32/common/libgstcontroller.def:
14426         * win32/common/libgstreamer.def:
14427           Add a whole bunch of missing functions (#334434).
14428
14429 2006-03-14  Wim Taymans  <wim@fluendo.com>
14430
14431         * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment),
14432         (gst_base_sink_get_sync_times), (gst_base_sink_wait_clock),
14433         (gst_base_sink_do_sync), (gst_base_sink_do_qos):
14434         Better debug info when we receive a segment event.
14435         Reorganize a bit so we can pass the get_times() results around.
14436         Use the segment format when calculating the running time.
14437         Don't do QoS is sync is disabled or we have no clock or the
14438         element does not want us to sync to the clock.
14439         Don't drop buffers if QoS is disabled for now.
14440
14441 2006-03-14  Wim Taymans  <wim@fluendo.com>
14442
14443         * gst/gstclock.c: (gst_clock_class_init), (do_linear_regression):
14444         Marked the stats property as unimplemented so people don't get
14445         wild ideas.
14446         Add debug message when regression goes wrong.
14447         Added some more docs.
14448
14449 2006-03-14  Wim Taymans  <wim@fluendo.com>
14450
14451         * gst/gstsegment.c: (gst_segment_to_stream_time):
14452         Return correct return type in case of errors.
14453
14454 2006-03-14  Wim Taymans  <wim@fluendo.com>
14455
14456         * gst/gstformat.c: (gst_format_get_name), (gst_format_to_quark):
14457           Don't segfault on invalid formats.
14458
14459 2006-03-14  Tim-Philipp Müller  <tim at centricular dot net>
14460
14461         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
14462           Can't use gst_segment_to_running_time() when the segment
14463           is not in GST_TIME_FORMAT (like with filesink, for example).
14464           Stops flac encoding pipelines from spewing critical warnings
14465           at EOS (#331248).
14466           
14467 2006-03-14  Tim-Philipp Müller  <tim at centricular dot net>
14468
14469         * gst/gstpipeline.c: (gst_pipeline_class_init):
14470           Add 'Since: 0.10.5' to gtk-doc blurb for added property.
14471
14472         * plugins/elements/gsttypefindelement.c:
14473         (gst_type_find_element_handle_event):
14474           Don't try to typefind empty streams.
14475
14476 2006-03-14  Wim Taymans  <wim@fluendo.com>
14477
14478         * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync),
14479         (gst_base_sink_do_qos):
14480         Separate QoS calculation.
14481         Only drop buffers when lateness is bigger than the 
14482         duration of the buffer.
14483
14484 2006-03-13  Wim Taymans  <wim@fluendo.com>
14485
14486         * gst/gstpipeline.c: (gst_pipeline_set_property),
14487         (gst_pipeline_get_property), (do_pipeline_seek),
14488         (gst_pipeline_change_state), (gst_pipeline_set_delay),
14489         (gst_pipeline_get_delay):
14490         Don't deadlock when reading properties.
14491
14492 2006-03-13  Wim Taymans  <wim@fluendo.com>
14493
14494         * libs/gst/base/gstbasetransform.c:
14495         (gst_base_transform_class_init), (gst_base_transform_init),
14496         (gst_base_transform_sink_event),
14497         (gst_base_transform_sink_eventfunc),
14498         (gst_base_transform_src_event), (gst_base_transform_src_eventfunc),
14499         (gst_base_transform_handle_buffer), (gst_base_transform_chain),
14500         (gst_base_transform_set_property),
14501         (gst_base_transform_get_property),
14502         (gst_base_transform_change_state), (gst_base_transform_update_qos),
14503         (gst_base_transform_set_qos_enabled),
14504         (gst_base_transform_is_qos_enabled):
14505         * libs/gst/base/gstbasetransform.h:
14506         Make basetransform virtual method for src events too.
14507         Handle QOS in basetransform.
14508         API: gst_base_transform_update_qos()
14509         API: gst_base_transform_set_qos_enabled()
14510         API: gst_base_transform_is_qos_enabled()
14511
14512 2006-03-13  Wim Taymans  <wim@fluendo.com>
14513
14514         * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
14515         (gst_base_sink_do_sync):
14516         Small cleanups.
14517         Use QOS debug category.
14518
14519 2006-03-13  Wim Taymans  <wim@fluendo.com>
14520
14521         * plugins/elements/gstqueue.c:
14522         Very small doc update.
14523
14524 2006-03-13  Wim Taymans  <wim@fluendo.com>
14525
14526         * gst/gst_private.h:
14527         * gst/gstinfo.c: (_gst_debug_init):
14528         Added QOS debug category
14529
14530 2006-03-13  Wim Taymans  <wim@fluendo.com>
14531
14532         * docs/gst/gstreamer-sections.txt:
14533         * gst/gstbin.c: (bin_bus_handler), (gst_bin_handle_message_func):
14534         * gst/gstbin.h:
14535         * gst/gstbus.c: (gst_bus_class_init):
14536         * gst/gstbus.h:
14537         * gst/gstclock.c:
14538         * gst/gstelement.c: (gst_element_set_locked_state):
14539         * gst/gstsegment.c:
14540         Documentation updates.
14541
14542         * gst/gstpipeline.c: (gst_pipeline_get_type),
14543         (gst_pipeline_class_init), (gst_pipeline_init),
14544         (gst_pipeline_dispose), (gst_pipeline_set_property),
14545         (gst_pipeline_get_property), (do_pipeline_seek),
14546         (gst_pipeline_send_event), (gst_pipeline_change_state),
14547         (gst_pipeline_provide_clock_func), (gst_pipeline_set_delay),
14548         (gst_pipeline_get_delay):
14549         * gst/gstpipeline.h:
14550         Added methods for setting the delay.
14551         API: gst_pipeline_set_delay()
14552         API: gst_pipeline_get_delay()
14553         Add pipeline debug category
14554         Various cleanups.
14555         Updated docs.
14556         Don't reset stream time when seek failed.
14557
14558 2006-03-13  Wim Taymans  <wim@fluendo.com>
14559
14560         * docs/design/draft-klass.txt:
14561         * docs/design/part-clocks.txt:
14562         * docs/design/part-events.txt:
14563         * docs/design/part-gstbin.txt:
14564         * docs/design/part-gstpipeline.txt:
14565         * docs/design/part-messages.txt:
14566         * docs/design/part-negotiation.txt:
14567         * docs/design/part-overview.txt:
14568         * docs/design/part-preroll.txt:
14569         * docs/design/part-seeking.txt:
14570         * docs/design/part-states.txt:
14571         * docs/design/part-streams.txt:
14572         Documentation updates.
14573
14574 2006-03-12  Julien MOUTTE  <julien@moutte.net>
14575
14576         * gst/gsttaglist.c: Fix rubbish docs that are encouraging
14577         us to leak strings...
14578
14579 2006-03-12  Thomas Vander Stichele  <thomas at apestaart dot org>
14580
14581         * libs/gst/net/gstnettimeprovider.c:
14582           fix docs
14583         * win32/common/config.h:
14584           update
14585
14586 2006-03-12  Tim-Philipp Müller  <tim at centricular dot net>
14587
14588         Patch by: Julio M. Merino Vidal <jmmv at netbsd org>
14589
14590         * configure.ac:
14591           Don't check for libgnomeui (leftover from old examples
14592           that aren't built or disted any longer) (#334303).
14593           
14594 2006-03-11  Tim-Philipp Müller  <tim at centricular dot net>
14595
14596         * plugins/elements/gstfdsink.c: (gst_fd_sink_render):
14597         * plugins/elements/gstfilesink.c: (gst_file_sink_render):
14598           Emit RESOURCE_NO_SPACE_LEFT error here as well when
14599           there's no space left on the device.
14600
14601 2006-03-10  Tim-Philipp Müller  <tim at centricular dot net>
14602
14603         * gst/gstclock.h:
14604           Fix GST_CLOCK_TIME_IS_VALID signedness issues - we need
14605           to cast the input to GstClockTime before comparing with
14606           another GstClockTime value.
14607
14608 2006-03-10  Thomas Vander Stichele  <thomas at apestaart dot org>
14609
14610         * configure.ac:
14611           back to trunk
14612
14613 === release 0.10.4 ===
14614
14615 2006-03-10  Thomas Vander Stichele <thomas at apestaart dot org>
14616
14617         * configure.ac:
14618           releasing 0.10.4, "Light"
14619
14620 2006-03-10  Michael Smith  <msmith@fluendo.com>
14621
14622         * libs/gst/dataprotocol/dataprotocol.c:
14623           Fix docs for dataprocotol to not get the return types completely
14624           wrong for a few functions.
14625
14626 2006-03-09  Tim-Philipp Müller  <tim at centricular dot net>
14627
14628         * docs/gst/gstreamer-sections.txt:
14629         * gst/gstpipeline.c: (gst_pipeline_class_init),
14630         (gst_pipeline_init), (gst_pipeline_set_property),
14631         (gst_pipeline_get_property), (gst_pipeline_change_state),
14632         (gst_pipeline_set_auto_flush_bus),
14633         (gst_pipeline_get_auto_flush_bus):
14634         * gst/gstpipeline.h:
14635           Add new API: gst_pipeline_set_auto_flush_bus() and
14636           gst_pipeline_get_auto_flush_bus() to disable automatic
14637           flushing of the pipeline's GstBus when going from READY
14638           to NULL state (#332045).
14639
14640 2006-03-09  Tim-Philipp Müller  <tim at centricular dot net>
14641
14642         * docs/gst/gstreamer-sections.txt:
14643         * gst/gsturi.c: (gst_uri_has_protocol):
14644         * gst/gsturi.h:
14645            Add new API: gst_uri_has_protocol() (#333779).
14646
14647 2006-03-09  Wim Taymans  <wim@fluendo.com>
14648
14649         * gst/gstclock.c: (gst_clock_entry_new),
14650         (gst_clock_id_compare_func), (gst_clock_id_wait),
14651         (gst_clock_id_wait_async), (gst_clock_id_unschedule),
14652         (gst_clock_init), (gst_clock_get_internal_time),
14653         (gst_clock_set_master), (do_linear_regression),
14654         (gst_clock_add_observation), (gst_clock_set_property):
14655         * gst/gstclock.h:
14656         Review docs.
14657         Small cleanups.
14658         Fix a possible segfault when the window-size is made smaller.
14659         Calculate jitter before performing the clock wait. Ideally
14660         the clock implementation should calculate jitter but we need
14661         API breakage for that.
14662
14663         * gst/gstsystemclock.c: (gst_system_clock_init):
14664         Docs review.
14665         
14666         * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync):
14667         Remove leftover else
14668
14669         * tests/check/gst/gstsystemclock.c: (GST_START_TEST),
14670         (gst_systemclock_suite):
14671         Added check to test GST_CLOCK_DIFF.
14672
14673 2006-03-09  Tim-Philipp Müller  <tim at centricular dot net>
14674
14675         * libs/gst/base/gsttypefindhelper.c: (helper_find_get_length),
14676         (gst_type_find_helper_get_range):
14677           If we are provided with the size, we should implement
14678           GstTypeFind::get_length, so that typefind functions who
14679           want to can actually peek at the middle of a file.
14680
14681 2006-03-08  Tim-Philipp Müller  <tim at centricular dot net>
14682
14683         * docs/manual/advanced-dataaccess.xml:
14684           Add some very very basic error checking.
14685
14686         * docs/pwg/appendix-checklist.xml:
14687           Some updates to the list of things to check when writing an element.
14688
14689 2006-03-08  Wim Taymans  <wim@fluendo.com>
14690
14691         * docs/design/part-element-transform.txt:
14692         Added some docs about the design of tranform elements.
14693
14694         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
14695         (gst_base_src_loop), (gst_base_src_change_state):
14696         Mark buffers with the DISCONT flag.
14697
14698 2006-03-08  Michael Smith  <msmith@fluendo.com>
14699
14700         * gst/gstregistry.h:
14701         * gst/gstregistryxml.c: (gst_registry_save),
14702         (gst_registry_save_escaped), (gst_registry_xml_save_caps),
14703         (gst_registry_xml_save_pad_template),
14704         (gst_registry_xml_save_feature), (gst_registry_xml_save_plugin),
14705         (gst_registry_xml_write_cache):
14706           Rewrite registry-saving to avoid race conditions and check for
14707           failed writes.
14708
14709 2006-03-08  Wim Taymans  <wim@fluendo.com>
14710
14711         * libs/gst/base/gstbasetransform.c:
14712         (gst_base_transform_transform_caps),
14713         (gst_base_transform_transform_size),
14714         (gst_base_transform_prepare_output_buffer),
14715         (gst_base_transform_get_unit_size),
14716         (gst_base_transform_buffer_alloc),
14717         (gst_base_transform_handle_buffer),
14718         (gst_base_transform_change_state):
14719         Cleanups, separate normal flow from errors, add sensible
14720         DEBUG lines.
14721         Don't try to renegotiate when allocating an output buffer.
14722         Also copy DISCONT buffer flag when copying a buffer.
14723         Reset the transform after we finish streaming, not during.
14724
14725 2006-03-08  Wim Taymans  <wim@fluendo.com>
14726
14727         * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync):
14728         Use last buffer timestamp in qos message.
14729
14730 2006-03-07  Wim Taymans  <wim@fluendo.com>
14731
14732         Patch by: Christophe Fergeau
14733
14734         * docs/pwg/advanced-tagging.xml:
14735         * docs/pwg/building-pads.xml:
14736           fixes #333416
14737
14738 2006-03-07  Wim Taymans  <wim@fluendo.com>
14739
14740         * docs/libs/gstreamer-libs-sections.txt:
14741         Added basesink new methods.
14742
14743         * gst/gstevent.c:
14744         * gst/gstevent.h:
14745         Docs updates. Flesh out the QoS docs.
14746
14747         * libs/gst/base/gstadapter.c:
14748         Small doc clarification about ownership and flushing.
14749
14750         * libs/gst/base/gstbasesink.c: (gst_base_sink_set_sync),
14751         (gst_base_sink_get_sync), (gst_base_sink_set_max_lateness),
14752         (gst_base_sink_get_max_lateness), (gst_base_sink_set_property),
14753         (gst_base_sink_get_property), (gst_base_sink_do_sync):
14754         * libs/gst/base/gstbasesink.h:
14755         API additions: 
14756         Added new methods to allow subclass to control max-lateness 
14757         and sync.
14758         Generate very basic QoS events based on last sync observation.
14759         Updated docs, fix typo, added some QoS blurb.
14760
14761         * libs/gst/base/gstbasesrc.c:
14762         Remove obsolete _get_state() calls from docs.
14763
14764 2006-03-07  Wim Taymans  <wim@fluendo.com>
14765
14766         * docs/libs/gstreamer-libs-sections.txt:
14767         * libs/gst/base/gstbasetransform.h:
14768         API addition: Fix #333669, Add pad accessor defines for GstBaseTransform
14769         Fix docs for GstBaseSrc.
14770
14771 2006-03-07  Wim Taymans  <wim@fluendo.com>
14772
14773         * docs/gst/gstreamer-sections.txt:
14774         * gst/gstbuffer.h:
14775         * gst/gstvalue.c:
14776         * libs/gst/base/gstbasetransform.h:
14777         Small documentation fixes.
14778
14779 2006-03-07  Tim-Philipp Müller  <tim at centricular dot net>
14780
14781         * gst/gstvalue.c:
14782           Document thread-unsafety of gst_value_register_foo_func()
14783           when used at the same time as gst_value_foo() (#322628).
14784
14785 2006-03-07  Tim-Philipp Müller  <tim at centricular dot net>
14786
14787         * libs/gst/base/gstpushsrc.c: (gst_push_src_class_init),
14788         (gst_push_src_check_get_range):
14789           Push sources don't support pull mode by default.
14790
14791 2006-03-06  Tim-Philipp Müller  <tim at centricular dot net>
14792
14793         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
14794         (gst_base_src_init), (gst_base_src_pad_check_get_range),
14795         (gst_base_src_default_check_get_range):
14796         * libs/gst/base/gstbasesrc.h:
14797           API addition:  Add ::check_get_range() vfunc to GstBaseSrc (#332611),
14798           provide default implementation, and rename
14799           gst_base_src_check_get_range() to
14800           gst_base_src_pad_check_get_range() for clarity.
14801
14802 2006-03-06  Wim Taymans  <wim@fluendo.com>
14803
14804         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
14805         Make property overridable.
14806
14807 2006-03-06  Wim Taymans  <wim@fluendo.com>
14808
14809         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
14810         (gst_base_sink_init), (gst_base_sink_set_property),
14811         (gst_base_sink_get_property), (gst_base_sink_do_sync):
14812         * libs/gst/base/gstbasesink.h:
14813         API addition: Make max-lateness a property.
14814
14815 2006-03-06  Wim Taymans  <wim@fluendo.com>
14816
14817         * libs/gst/base/gstbasesink.c: (gst_base_sink_wait_clock),
14818         (gst_base_sink_do_sync), (gst_base_sink_render_object):
14819         Don't ever draw a frame that is >10ms late.
14820
14821 2006-03-06  Michael Smith  <msmith@fluendo.com>
14822
14823         * gst/gstmessage.c: (_gst_message_copy):
14824           When copying a message, set the parent_refcount of the enclosed
14825           structure to point at the copy, not the original message.
14826
14827 2006-03-06  Tim-Philipp Müller  <tim at centricular dot net>
14828
14829         Patch by: Christophe Fergeau
14830
14831         * gst/gstutils.h:
14832           Do proper cast here to make GST_BOILERPLATE_WITH_INTERFACE
14833           usable in c++ code (#333417)
14834
14835 2006-03-06  Thomas Vander Stichele  <thomas at apestaart dot org>
14836
14837         * gst/gstclock.h:
14838           Show GST_CLOCK_TIME_NONE as 99:99:99.999999999
14839
14840 2006-03-05  Tim-Philipp Müller  <tim at centricular dot net>
14841
14842         * libs/gst/base/gstbasetransform.c:
14843         (gst_base_transform_transform_caps):
14844           Make sure caps are writable before passing them to
14845           gst_caps_append().
14846
14847 2006-03-04  Tim-Philipp Müller  <tim at centricular dot net>
14848
14849         * gst/gsterror.h:
14850           Fix some minor docs errors.
14851
14852 2006-03-04  Tim-Philipp Müller  <tim at centricular dot net>
14853
14854           Patch by: Ross Burton <ross at burtonini dot com>
14855
14856         * gst/gsterror.c: (_gst_resource_errors_init):
14857         * gst/gsterror.h:
14858           Add GST_RESOURCE_ERROR_NO_SPACE_LEFT (for #333352;
14859
14860 2006-03-03  Jan Schmidt  <thaytan@mad.scientist.com>
14861
14862         * gst/gst.c:
14863         Add a check and output a g_warning when GStreamer is built
14864         against GLib 2.6 but running against 2.8 or higher, and vice 
14865         versa. (Closes: #323542)
14866
14867 2006-03-03  Jan Schmidt  <thaytan@mad.scientist.com>
14868
14869         * gst/parse/parse.l:
14870           Commit patch for parse_launch syntax from #331255. Removes 
14871           support for quoted strings and mimetypes when writing filtered 
14872           caps. See the bug report for more details - I'm pretty sure this
14873           obscure feature is not in use by _anyone_ anywhere.
14874
14875           With this simple change, the size of the gstreamer.so here 
14876           drops from 2193KB to 1565KB.
14877
14878 2006-03-03  Tim-Philipp Müller  <tim at centricular dot net>
14879
14880         * plugins/elements/gsttypefindelement.h:
14881         * plugins/elements/gsttypefindelement.c:
14882         (gst_type_find_element_src_event), (start_typefinding),
14883         (stop_typefinding), (gst_type_find_element_handle_event),
14884         (gst_type_find_element_chain),
14885         (gst_type_find_element_chain_do_typefinding):
14886           Use gst_type_find_helper_for_buffer() for chain-based
14887           typefinding.
14888
14889 2006-03-03  Tim-Philipp Müller  <tim at centricular dot net>
14890
14891         * plugins/elements/gsttypefindelement.c:
14892         (gst_type_find_element_class_init),
14893         (gst_type_find_element_set_property),
14894         (gst_type_find_element_get_property):
14895           Deprecate "maximum" property (not only was it only taken into
14896           account for typefinding in push-mode anyway, it also was never
14897           actually possible to set it in the first place because the
14898           property was registered with the numeric property ID for the
14899           "minimum" property). Register "maximum" property correctly,
14900           for the sake of future copy'n'pasters. Remove some cruft
14901           from property get/set functions.
14902
14903 2006-03-03  Tim-Philipp Müller  <tim at centricular dot net>
14904
14905         * plugins/elements/gsttypefindelement.c:
14906         (gst_type_find_element_activate):
14907           Use gst_type_find_helper_get_range() here, so we
14908           can honour the "minimum" property and also emit
14909           the signal with the correct probability of the found caps.
14910
14911 2006-03-02  Tim-Philipp Müller  <tim at centricular dot net>
14912
14913         * docs/libs/gstreamer-libs-sections.txt:
14914         * libs/gst/base/gsttypefindhelper.c: (helper_find_peek),
14915         (helper_find_suggest), (gst_type_find_helper_get_range),
14916         (gst_type_find_helper):
14917         * libs/gst/base/gsttypefindhelper.h:
14918           New API: gst_type_find_helper_get_range() (#333042).
14919
14920 2006-03-02  Michael Smith  <msmith@fluendo.com>
14921
14922         * gst/gstregistryxml.c: (load_feature):
14923           Asserting on a failure to read part of the registry is Not Cool.
14924           Just log a warning and return NULL (which is already handled)
14925
14926 2006-02-28  Sebastien Moutte  <sebastien@moutte.net>
14927
14928         * win32/common/libgstbase.def:
14929           added export of gst_type_find_helper_for_buffer
14930         * win32/common/libgstbase.def:
14931           added some exports : gst_bin_iterate_elements, gst_iterator_resync,
14932           gst_ghost_pad_get_target
14933
14934 2006-02-28  Wim Taymans  <wim@fluendo.com>
14935
14936         * docs/design/draft-klass.txt:
14937         We use Filter now.
14938         Added Connector to mark elements that are only used to
14939         allow pipeline connections.
14940         Moved Debug to extra feature since most of them are 
14941         functionally something else.
14942
14943 2006-02-28  Wim Taymans  <wim@fluendo.com>
14944
14945         * docs/design/draft-klass.txt:
14946         Some updates and clarifications.
14947
14948 2006-02-28  Wim Taymans  <wim@fluendo.com>
14949
14950         * docs/design/draft-klass.txt:
14951         Proposal for klass field values.
14952
14953         * docs/design/part-streams.txt:
14954         Start of a doc describing stream anatomy.
14955
14956 2006-02-28  Wim Taymans  <wim@fluendo.com>
14957
14958         * gst/gstbin.c: (gst_bin_get_type), (gst_bin_handle_message_func):
14959         Help the compiler a bit with type registration.
14960         Use existing forward cod path instead of duplicating it when 
14961         handling a message.
14962         
14963         * gst/gstbus.c: (gst_bus_get_type):
14964         * gst/gstcaps.c: (gst_caps_get_type), (gst_static_caps_get_type):
14965         * gst/gstchildproxy.c: (gst_child_proxy_get_type):
14966         * gst/gstclock.c: (gst_clock_get_type):
14967         * gst/gstelement.c: (gst_element_get_type),
14968         * gst/gstelementfactory.c: (gst_element_factory_get_type):
14969         * gst/gstindexfactory.c: (gst_index_factory_get_type):
14970         * gst/gstminiobject.c: (gst_mini_object_get_type):
14971         * gst/gstpad.c: (gst_pad_get_type):
14972         * gst/gstsegment.c: (gst_segment_get_type):
14973         * gst/gststructure.c: (gst_structure_get_type):
14974         * gst/gstsystemclock.c: (gst_system_clock_get_type):
14975         * gst/gsttask.c: (gst_task_get_type), (gst_task_join):
14976         * gst/gstvalue.c:
14977         Help compiler with type registration.
14978
14979         * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event):
14980         Small doc update.
14981
14982 2006-02-27  Tim-Philipp Müller  <tim at centricular dot net>
14983
14984         * plugins/elements/gsttypefindelement.c:
14985         (gst_type_find_element_handle_event):
14986           When we get an EOS event and have not found a type yet
14987           (most likely because we had not yet accumulated
14988           TYPE_FIND_MIN_SIZE of data yet), try to determine the
14989           type given the data we have so far. Fixes typefinding
14990           for very short streams again, most notably quicktime
14991           redirections as used on Apple's trailer site (#331701).
14992
14993 2006-02-27  Tim-Philipp Müller  <tim at centricular dot net>
14994
14995         * libs/gst/base/gsttypefindhelper.c: (type_find_factory_rank_cmp),
14996         (gst_type_find_helper):
14997           Try typefinding factories with the highest rank first.
14998
14999 2006-02-27  Tim-Philipp Müller  <tim at centricular dot net>
15000
15001         * docs/libs/gstreamer-libs-docs.sgml:
15002         * docs/libs/gstreamer-libs-sections.txt:
15003         * libs/gst/base/gsttypefindhelper.c:
15004           Add section for typefind helper and add documentation
15005           for the old and the new function.
15006
15007 2006-02-27  Tim-Philipp Müller  <tim at centricular dot net>
15008
15009         * libs/gst/base/gsttypefindhelper.c: (buf_helper_find_peek),
15010         (buf_helper_find_suggest), (type_find_factory_rank_cmp),
15011         (gst_type_find_helper_for_buffer):
15012         * libs/gst/base/gsttypefindhelper.h:
15013           New API: gst_type_find_helper_for_buffer() (#332723).
15014           
15015 2006-02-27  Michael Smith  <msmith@fluendo.com>
15016
15017         Patch by: Loïc Minier
15018
15019         * configure.ac:
15020         * docs/Makefile.am:
15021         * docs/slides/Makefile.am:
15022           prevent CVS directories getting disted.
15023
15024 2006-02-27  Tim-Philipp Müller  <tim at centricular dot net>
15025
15026         * gst/gstcaps.c: (gst_caps_ref), (gst_caps_unref):
15027           Use the REFCOUNTING category for caps refcounting.
15028           
15029 2006-02-26  Tim-Philipp Müller  <tim at centricular dot net>
15030
15031         * plugins/elements/gsttypefindelement.c: (stop_typefinding):
15032           This should be 0 not GST_CLOCK_TIME_NONE (see #331701).
15033
15034 2006-02-26  Tim-Philipp Müller  <tim at centricular dot net>
15035
15036         * plugins/elements/gsttypefindelement.c:
15037         (gst_type_find_element_activate):
15038           Use gst_pad_check_pull_range() before _activate_pull()
15039           to avoid unnecessary open/close (see #331690).
15040
15041 2006-02-24  Tim-Philipp Müller  <tim at centricular dot net>
15042
15043         * gst/gstutils.c:
15044           Docs enhancement: make it crystal clear what the
15045           gst_pad_add_*_probe() callbacks should look like.
15046
15047 2006-02-24  Tim-Philipp Müller  <tim at centricular dot net>
15048
15049         * libs/gst/base/gstbasesrc.c:
15050           Document how applications can stop recording from
15051           live sources (see #330996).
15052
15053 2006-02-23  Tim-Philipp Müller  <tim at centricular dot net>
15054
15055         * tests/check/Makefile.am:
15056         * tests/check/libs/basesrc.c: (eos_event_counter),
15057         (basesrc_eos_events_pull), (basesrc_eos_events_push),
15058         (basesrc_eos_events_push_live_op), (basesrc_eos_events_pull_live_op),
15059         (gst_basesrc_suite), (main):
15060           ... and add some tests for the base source EOS stuff.
15061
15062 2006-02-23  Tim-Philipp Müller  <tim at centricular dot net>
15063
15064         * tests/check/gst/gstutils.c: (test_buffer_probe_n_times):
15065           Test case originally showed the problem fixed below,
15066           but was then amended. Add checks back at the place
15067           where they used to be.
15068
15069 2006-02-23  Tim-Philipp Müller  <tim at centricular dot net>
15070
15071         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
15072         (gst_base_src_init), (gst_base_src_loop),
15073         (gst_base_src_activate_push), (gst_base_src_activate_pull),
15074         (gst_base_src_change_state):
15075         * libs/gst/base/gstbasesrc.h:
15076           Don't unconditionally send EOS when going from PAUSED to
15077           READY state, esp. make sure we don't send two EOS events
15078           in some cases (e.g. one when reaching EOS and one when
15079           going from PAUSED to READY). Also, we don't want to send
15080           EOS events when operating in pull mode. However, we do
15081           want to send an EOS event when shutting down a live
15082           source explicitly, for example (fixes #330996).
15083           
15084 2006-02-23  Tim-Philipp Müller  <tim at centricular dot net>
15085
15086         * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
15087           Update src->read_position after a seek when not using mmap.
15088           Fixes #332277, patch by: Renchi Raju <renchi gmail com>
15089
15090 2006-02-21  Jan Schmidt  <thaytan@mad.scientist.com>
15091
15092         * gst/Makefile.am:
15093         * gst/gstparse.h:
15094         * gst/gstutils.c:
15095         * gst/gstutils.h:
15096         Make things work with --disable-parse as they do with 
15097         --disable-load-save - the symbols involved disappear, but the
15098         header is still installed and GST_DISABLE_PARSE is included via
15099         gstconfig.h
15100
15101 2006-02-20  Julien MOUTTE  <julien@moutte.net>
15102
15103         * libs/gst/base/gstbasetransform.c:
15104         (gst_base_transform_change_state): Fix a stupid bug. I was 
15105         sure I compiled that.
15106
15107 2006-02-20  Julien MOUTTE  <julien@moutte.net>
15108
15109         * gst/gstpad.c: (gst_pad_set_blocked_async):
15110         * gst/gstutils.c: (gst_pad_add_data_probe),
15111         (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
15112         (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
15113         (gst_pad_remove_buffer_probe): Make those function act on the
15114         ghostpad target when it's a ghostpad. (Closes #331727)
15115
15116 2006-02-20  Julien MOUTTE  <julien@moutte.net>
15117
15118         * libs/gst/base/gstbasetransform.c:
15119         (gst_base_transform_change_state): Make basetransform reusable.
15120         (Closes #331898)
15121
15122 2006-02-20  Jan Schmidt  <thaytan@mad.scientist.com>
15123
15124         * docs/random/release:
15125         Move the current documentation of how to do a release to the top
15126         of the file.
15127
15128         * gst/gstbin.c: (gst_bin_class_init),
15129         (gst_bin_handle_message_func):
15130         Allow multiple state-recalculation threads. (Closes #328873)
15131
15132 2006-02-19  Julien MOUTTE  <julien@moutte.net>
15133
15134         * gst/gstinfo.h: Add GST_STR_NULL to the second string.
15135         * gst/gstpad.c: (gst_pad_set_event_function),
15136         (gst_pad_set_query_function), (gst_pad_set_query_type_function),
15137         (gst_pad_set_getcaps_function): GST_DEBUG_PAD_NAME evaluates to
15138         2 strings. You can't use the STR_NULL macro on that.
15139
15140 2006-02-19  Sebastien Moutte <sebastien@moutte.net>
15141
15142         * gst/gstpad.c: (gst_pad_set_event_function),
15143         (gst_pad_set_query_function), (gst_pad_set_query_type_function),
15144         (gst_pad_set_getcaps_function)
15145         * gst/parse/grammar.y: (gst_parse_found_pad), (gst_parse_perform_delayed_link)
15146           Fixed NULL pointer used in GST_CAT_DEBUG using GST_STR_NULL macro
15147           So now, we can use --gst-debug-level=5 on Windows
15148         * win32/common/libgstcontroller.def:
15149           Added export of gst_controller_init
15150         * win32/vs6/libgstcontroller.dsp:
15151           Fixed Release post build configuration
15152
15153 2006-02-17  Wim Taymans  <wim@fluendo.com>
15154
15155         * tests/check/gst/gstquery.c: (GST_START_TEST):
15156         Added another check.
15157
15158 2006-02-15  Tim-Philipp Müller  <tim at centricular dot net>
15159
15160         * plugins/elements/gsttypefindelement.c: (find_peek):
15161           We can do peeks at non-zero offsets, as long as they
15162           fall within the buffer we have.
15163
15164 2006-02-15  Jan Schmidt  <thaytan@mad.scientist.com>
15165
15166         * tests/check/Makefile.am:
15167         * tests/check/pipelines/parse-launch.c: (setup_pipeline),
15168         (expected_fail_pipe), (check_pipeline_runs), (GST_START_TEST),
15169         (parse_suite), (main):
15170           Add testsuite for parse launch syntax
15171
15172 2006-02-14  Tim-Philipp Müller  <tim at centricular dot net>
15173
15174         * plugins/elements/gsttypefindelement.c:
15175         (gst_type_find_element_chain):
15176           When typefinding is unsuccessful in the chain function, don't
15177           error out immediately. Only error out with NO_CAPS_FOUND if
15178           the amount of data is at least MAX_TYPEFIND_SIZE bytes,
15179           otherwise simply wait for more data so we can try typefinding
15180           again with more data later. Also, don't attempt to typefind
15181           if we have less than MIN_TYPEFIND_SIZE data available. Overall,
15182           this should improve typefinding from network sources where the
15183           size of the first buffer can be somewhat random.
15184
15185 2006-02-14  Wim Taymans  <wim@fluendo.com>
15186
15187         * docs/gst/gstreamer-sections.txt:
15188         * gst/gstpadtemplate.c:
15189         * gst/gstpadtemplate.h:
15190         Fix padtemplate docs, fixes #328805.
15191
15192 2006-02-14  Wim Taymans  <wim@fluendo.com>
15193
15194         * tools/gst-launch.c: (main):
15195         NO_PREROLL is not an ERROR so don't send confusing messages
15196         to the user.
15197
15198 2006-02-14  Wim Taymans  <wim@fluendo.com>
15199
15200         Patch by: Torsten Schoenfeld
15201
15202         * gst/gstregistry.c: (gst_registry_get_default),
15203         (_gst_registry_cleanup):
15204         Protect default registry with lock and ref/sink it.
15205         Fixes #324818
15206
15207 2006-02-14  Wim Taymans  <wim@fluendo.com>
15208
15209         * gst/gstbuffer.c:
15210         * gst/gstquery.c: (gst_query_list_add_format),
15211         (gst_query_set_formatsv), (gst_query_parse_formats_length),
15212         (gst_query_parse_formats_nth):
15213         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
15214         Docs fixes.
15215
15216 2006-02-14  Wim Taymans  <wim@fluendo.com>
15217
15218         * docs/gst/gstreamer-sections.txt:
15219         Reworked query docs.
15220
15221         * gst/gstquery.c: (gst_query_new_formats),
15222         (gst_query_list_add_format), (gst_query_set_formats),
15223         (gst_query_set_formatsv), (gst_query_parse_formats_length),
15224         (gst_query_parse_formats_nth):
15225         * gst/gstquery.h:
15226         Flesh out formats query, added some new methods.
15227         Fix part of #324398.
15228
15229         * tests/check/gst/gstquery.c: (GST_START_TEST), (gstquery_suite):
15230         Added query creation tests.
15231
15232 2006-02-14  Jan Schmidt  <thaytan@mad.scientist.com>
15233
15234         * gst/gstpad.c: (fixate_value):
15235         Add a default fixation for fraction lists.
15236
15237 2006-02-13  Wim Taymans  <wim@fluendo.com>
15238
15239         * gst/gsttask.c: (gst_task_init), (gst_task_func),
15240         (gst_task_set_lock), (gst_task_start), (gst_task_pause),
15241         (gst_task_join):
15242         * gst/gsttask.h:
15243         Detect and warn for obvious deadlocks. fixes #320340
15244         Fix error case where lock was not released.
15245
15246         * tests/check/Makefile.am:
15247         * tests/check/gst/gsttask.c: (task_func2), (GST_START_TEST),
15248         (task_func), (gst_element_suite), (main):
15249         Add task check.
15250
15251 2006-02-13  Wim Taymans  <wim@fluendo.com>
15252
15253         * docs/gst/gstreamer-sections.txt:
15254         * gst/gstbus.c:
15255         Add new functions to docs.
15256
15257 2006-02-13  Wim Taymans  <wim@fluendo.com>
15258
15259         * docs/design/part-TODO.txt:
15260         Updated TODO list, basesrc supports seeking to non-bytes
15261         formats.
15262
15263         * docs/design/part-element-sink.txt:
15264         Update docs.
15265
15266         * gst/gstbin.c: (bin_replace_message),
15267         (gst_bin_handle_message_func):
15268         * gst/gstbus.c: (gst_bus_post), (gst_bus_pop):
15269         * gst/gstevent.c: (gst_event_finalize):
15270         * gst/gstpad.c: (gst_pad_event_default_dispatch),
15271         (gst_pad_send_event):
15272         Use shiny new _TYPE_NAME macros.
15273
15274         * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range):
15275         Move debug statement up.
15276
15277         * gst/gstelement.c: (gst_element_set_locked_state):
15278         Add some debugging.
15279
15280 2006-02-13  Tim-Philipp Müller  <tim at centricular dot net>
15281
15282         * docs/gst/gstreamer-sections.txt:
15283         * gst/gstmessage.h:
15284         * gst/gstquery.h:
15285           New API: add GST_MESSAGE_TYPE_NAME and GST_QUERY_TYPE_NAME
15286           macros (#330906). Also, document the already existing
15287           GST_QUERY_TYPE macro.
15288
15289 2006-02-13  Wim Taymans  <wim@fluendo.com>
15290
15291         * tests/check/gst/gstutils.c: (data_probe), (buffer_probe),
15292         (event_probe), (GST_START_TEST):
15293         Only events up to the pipeline EOS are counted, there are
15294         some more when going to NULL currently which we don't care
15295         about for now.
15296
15297 2006-02-13  Wim Taymans  <wim@fluendo.com>
15298
15299         * gst/gstpad.c: (gst_pad_send_event):
15300         Correctly check flushing and emit probes. fixes #330125
15301
15302 2006-02-10  Andy Wingo  <wingo@pobox.com>
15303
15304         * gst/gstbus.c (gst_bus_class_init): Declare our private data
15305         structure.
15306         (gst_bus_init): Cache the location of the private data in the
15307         instance structure.
15308         (gst_bus_enable_sync_message_emission) 
15309         (gst_bus_disable_sync_message_emission): Implement new public
15310         functions.
15311         (gst_bus_post): Emit the sync-message signal if the user asked for
15312         it. Fixes #330684.
15313
15314         * gst/gstbus.h (GstBus): Use a padding pointer to cache the
15315         location of the bus-private structure.
15316         (gst_bus_enable_sync_message_emission)
15317         (gst_bus_disable_sync_message_emission): API addition
15318
15319 2006-02-10  Jan Schmidt  <thaytan@mad.scientist.com>
15320
15321         Patch by: Vincent Torri
15322
15323         * docs/pwg/building-boiler.xml:
15324         PWG patch from #326800
15325
15326 2006-02-09  Tim-Philipp Müller  <tim at centricular dot net>
15327
15328         * configure.ac:
15329         * docs/Makefile.am:
15330         * docs/design/Makefile.am:
15331           Dist design docs.
15332
15333 2006-02-08  Jan Schmidt  <thaytan@mad.scientist.com>
15334
15335         * configure.ac:
15336           back to CVS
15337
15338 === release 0.10.3 ===
15339
15340 2006-02-08  Jan Schmidt <thaytan@mad.scientist.com>
15341
15342         * configure.ac:
15343           releasing 0.10.3, "Like a virgin"
15344
15345 2006-02-08  Jan Schmidt  <thaytan@mad.scientist.com>
15346
15347         * configure.ac:
15348           2nd prerelease of 0.10.3
15349           Bump libtool versioning.
15350
15351 2006-02-07  Andy Wingo  <wingo@pobox.com>
15352
15353         * libs/gst/base/gstcollectpads.c (gst_collect_pads_chain): Only
15354         update last_stop if we're in TIME format and the timestamp is
15355         valid.
15356
15357         * libs/gst/base/gstcollectpads.c (gst_collect_pads_event) 
15358         * libs/gst/base/gstbasetransform.c (gst_base_transform_eventfunc): 
15359         * libs/gst/base/gstbasesink.c (gst_base_sink_configure_segment):
15360         If we get a new newsegment with a different format, adapt
15361         accordingly.
15362
15363         * gst/gstclock.c (gst_clock_set_calibration): Accept a numerator
15364         of 0. Not a problem, really.
15365
15366         * libs/gst/base/gstbasesink.c (gst_base_sink_chain_unlocked): Only
15367         warn if sync=true.
15368
15369 2006-02-06  Jan Schmidt  <thaytan@mad.scientist.com>
15370
15371         * configure.ac:
15372           Prelease of 0.10.3
15373
15374 2006-02-06  Sebastien Moutte  <sebastien@moutte.net>
15375
15376         * win32/vs7:
15377           project files updated to the default vs7 configuration
15378         * win32/common/libgstbase.def:
15379         * win32/common/libgstreamer.def:
15380           added new symbols,
15381           removed empty lines,
15382           sorted all exported symbols alphabetically
15383         * win32/common/dirent.c:
15384         * win32/common/dirent.h:
15385         * win32/common/gchar.h:
15386           use windows line end.
15387           
15388 2006-02-06  Tim-Philipp Müller  <tim at centricular dot net>
15389
15390         * libs/gst/base/gstbasesrc.c: (gst_base_src_change_state):
15391           Send EOS event when stopping.
15392
15393 2006-02-06  Tim-Philipp Müller  <tim at centricular dot net>
15394
15395         * docs/README:
15396           Tell folks what to do if the plugin-foobar.xml file
15397           hasn't been generated for a newly-added plugin.
15398
15399 2006-02-05  Julien MOUTTE  <julien@moutte.net>
15400
15401         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
15402         (gst_collect_pads_add_pad), (gst_collect_pads_remove_pad),
15403         (gst_collect_pads_start), (gst_collect_pads_stop),
15404         (gst_collect_pads_event): Collectpads now holds a reference
15405         to the GstPad that was added. Indeed we don't want to look
15406         at pads that might just go away with no warning...
15407
15408 2006-02-05  Julien MOUTTE  <julien@moutte.net>
15409
15410         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
15411         (gst_collect_pads_start), (gst_collect_pads_stop),
15412         (gst_collect_pads_event), (gst_collect_pads_chain):
15413         * libs/gst/base/gstcollectpads.h: Handle flush. Adapted from
15414         Mark Nauwelaerts's patch on bug #328491.
15415
15416 2006-02-04  Tim-Philipp Müller  <tim at centricular dot net>
15417
15418         * tests/check/gst/gstutils.c: (test_parse_bin_from_description),
15419         (gst_utils_suite):
15420           Add some simple tests for gst_parse_bin_from_description() and
15421           gst_bin_find_unconnected_pad() (#329069).
15422
15423 2006-02-04  Tim-Philipp Müller  <tim at centricular dot net>
15424
15425         * tools/gst-launch.c: (event_loop), (main):
15426           Catch errors during preroll (#320084).
15427
15428 2006-02-03  Tim-Philipp Müller  <tim at centricular dot net>
15429
15430         * plugins/elements/gsttypefindelement.c:
15431         (gst_type_find_element_activate):
15432           Post TYPE_NOT_FOUND error message when typefinding
15433           is unsuccessful in the activate function as well.
15434
15435 2006-02-02  Wim Taymans  <wim@fluendo.com>
15436
15437         * docs/design/part-element-sink.txt:
15438         Updated doc.
15439
15440 2006-02-02  Wim Taymans  <wim@fluendo.com>
15441
15442         * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync),
15443         (gst_base_sink_render_object),
15444         (gst_base_sink_queue_object_unlocked):
15445         Only keep track of prerollable items when we are 
15446         prerolling.
15447         Before rendering after preroll, always check if we
15448         have queued items.
15449         Added some more debugging.
15450
15451 2006-02-02  Wim Taymans  <wim@fluendo.com>
15452
15453         * gst/gstelement.c: (gst_element_continue_state),
15454         (gst_element_set_state_func), (gst_element_change_state):
15455         Fixed #326576, been running this for quite some time with
15456         no regressions at all.
15457
15458 2006-02-02  Wim Taymans  <wim@fluendo.com>
15459
15460         * common/gst.supp:
15461         Added more suppressions
15462
15463 2006-02-02  Wim Taymans  <wim@fluendo.com>
15464
15465         * docs/design/part-element-sink.txt:
15466         Updated document.
15467
15468         * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
15469         (gst_base_sink_finalize), (gst_base_sink_preroll_queue_flush),
15470         (gst_base_sink_configure_segment), (gst_base_sink_commit_state),
15471         (gst_base_sink_get_sync_times), (gst_base_sink_wait_clock),
15472         (gst_base_sink_do_sync), (gst_base_sink_render_object),
15473         (gst_base_sink_preroll_object),
15474         (gst_base_sink_queue_object_unlocked),
15475         (gst_base_sink_queue_object), (gst_base_sink_event),
15476         (gst_base_sink_chain_unlocked), (gst_base_sink_chain),
15477         (gst_base_sink_loop), (gst_base_sink_activate_pull),
15478         (gst_base_sink_get_position), (gst_base_sink_change_state):
15479         * libs/gst/base/gstbasesink.h:
15480         Totally refactored matching the design doc.
15481         Use two segments, one to clip incomming buffers and another to
15482         perform sync.
15483         Handle queueing correctly, bypass the queue when playing.
15484         Make EOS cancelable.
15485         Handle errors correctly when operating in pull based mode.
15486
15487         * tests/check/elements/fakesink.c: (GST_START_TEST),
15488         (fakesink_suite):
15489         Added new check for sinks.
15490
15491 2006-02-02  Wim Taymans  <wim@fluendo.com>
15492
15493         * gst/gstsegment.c: (gst_segment_clip):
15494         No reason to refuse to clip when start == -1
15495
15496 2006-02-02  Stefan Kost  <ensonic@users.sf.net>
15497
15498         * docs/README:
15499         * docs/manual/intro-basics.xml:
15500         * docs/manual/intro-preface.xml:
15501         * docs/manual/manual.xml:
15502         * docs/pwg/advanced-dparams.xml:
15503         * docs/pwg/intro-basics.xml:
15504         * docs/pwg/intro-preface.xml:
15505         * docs/pwg/pwg.xml:
15506           describe dparams (controller) for plugins
15507           unify docs a little more
15508
15509 2006-02-02  Tim-Philipp Müller  <tim at centricular dot net>
15510
15511         * docs/gst/gstreamer-sections.txt:
15512         * gst/gstutils.c: (element_find_unconnected_pad),
15513         (gst_bin_find_unconnected_pad), (gst_parse_bin_from_description):
15514         * gst/gstutils.h:
15515           Add new API: gst_parse_bin_from_description() and
15516           gst_bin_find_unconnected_pad() (#329069).
15517
15518 2006-02-01  Stefan Kost  <ensonic@users.sf.net>
15519
15520         * docs/manual/README:
15521           uncover a nasty detail of the docs build
15522
15523 2006-01-31  Wim Taymans  <wim@fluendo.com>
15524
15525         * gst/gstbin.c: (bin_remove_messages), (bin_query_duration_done):
15526         Don't cache duration messages if we're not going to use or
15527         free them.
15528
15529 2006-01-31  Stefan Kost  <ensonic@users.sf.net>
15530
15531         * docs/manual/advanced-dparams.xml:
15532         * docs/pwg/advanced-dparams.xml:
15533           more dparam docs
15534         * gst/gstindex.c:
15535           fix docs
15536         * libs/gst/controller/lib.c: (gst_controller_init):
15537           init just once
15538
15539 2006-01-31  Thomas Vander Stichele  <thomas at apestaart dot org>
15540
15541         * gst/gstelement.c: (gst_element_message_full):
15542           also show file/line/func if no additional debug was given
15543
15544 2006-01-31  Sebastien Moutte  <sebastien@moutte.net>
15545         
15546         * win32/vs7/grammar.vcproj:
15547           activate copy of autogenerated files for Release mode
15548
15549 2006-01-30  Sebastien Moutte  <sebastien@moutte.net>
15550         
15551         * win32/common/libgstreamer.def:
15552           export gst_value_compare
15553
15554 2006-01-30  Jan Schmidt  <thaytan@mad.scientist.com>
15555
15556         * plugins/elements/Makefile.am:
15557         * plugins/elements/gstelements.c:
15558         * plugins/elements/gstfdsink.c: (_do_init),
15559         (gst_fd_sink_base_init), (gst_fd_sink_class_init),
15560         (gst_fd_sink_init), (gst_fd_sink_dispose), (gst_fd_sink_query),
15561         (gst_fd_sink_render), (gst_fd_sink_check_fd), (gst_fd_sink_start),
15562         (gst_fd_sink_stop), (gst_fd_sink_unlock), (gst_fd_sink_update_fd),
15563         (gst_fd_sink_set_property), (gst_fd_sink_uri_get_type),
15564         (gst_fd_sink_uri_get_protocols), (gst_fd_sink_uri_get_uri),
15565         (gst_fd_sink_uri_set_uri), (gst_fd_sink_uri_handler_init):
15566         * plugins/elements/gstfdsink.h:
15567         Port fdsink to 0.10 (patch by Philippe Rouquier) (Fixes #325490)
15568
15569 2006-01-30  Stefan Kost  <ensonic@users.sf.net>
15570
15571         * docs/manual/advanced-dparams.xml:
15572           describe controller
15573         * docs/manual/advanced-position.xml:
15574         * docs/manual/basics-init.xml:
15575         * docs/manual/manual.xml:
15576         * docs/manual/titlepage.xml:
15577         * docs/pwg/pwg.xml:
15578         * docs/pwg/titlepage.xml:
15579           cleanup xml (more to come)
15580         * libs/gst/controller/gstcontroller.c:
15581           fix typo
15582
15583 2006-01-30  Sebastien Moutte  <sebastien@moutte.net>
15584         
15585         * win32/vs6/grammar.dsp:
15586           add autogen of gstmarshal.c,h for Release mode
15587                 
15588 2006-01-30  Wim Taymans  <wim@fluendo.com>
15589
15590         * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
15591         (gst_base_sink_preroll_queue_empty), (gst_base_sink_commit_state),
15592         (gst_base_sink_handle_object), (gst_base_sink_event),
15593         (gst_base_sink_is_prerolled), (gst_base_sink_wait),
15594         (gst_base_sink_do_sync), (gst_base_sink_handle_event),
15595         (gst_base_sink_handle_buffer), (gst_base_sink_set_flushing),
15596         (gst_base_sink_deactivate), (gst_base_sink_activate),
15597         (gst_base_sink_activate_pull), (gst_base_sink_get_position),
15598         (gst_base_sink_query), (gst_base_sink_change_state):
15599         Basesink cleanups, remove some old code.
15600         Handle the case where a subclass can preroll in the render
15601         method (mostly audiosinks).
15602         Handle more events.
15603         Remove some locks around variables that are now protected
15604         with the PREROLL_LOCK (clock_id, flushing, ..).
15605         Optimize position query some more, do correct locking.
15606         Remove old code to push queue in state change, this is not
15607         needed anymore since preroll blocks on all prerollable items 
15608         now.
15609         Almost implemented as described in design doc.
15610
15611 2006-01-30  Wim Taymans  <wim@fluendo.com>
15612
15613         * tests/check/gst/gstbin.c: (GST_START_TEST):
15614         Wait for refcount to settle down before checking.
15615
15616 2006-01-30  Wim Taymans  <wim@fluendo.com>
15617
15618         * docs/design/part-element-sink.txt:
15619         Pseudo code overview of desired sink behaviour regarding
15620         preroll.
15621
15622 2006-01-29  Sebastien Moutte  <sebastien@moutte.net>
15623         * win32/vs6/grammar.dsp:
15624           fix some bugs in Release mode for autogenerated files
15625                 
15626 2006-01-29  Sebastien Moutte  <sebastien@moutte.net>
15627         * win32/common/libgstbase.def:
15628         * win32/common/libgstreamer.def:
15629           export some new symbols: gst_base_src_set_format,
15630           gst_iterator_next, gst_structure_set_valist
15631
15632 2006-01-29  Julien MOUTTE  <julien@moutte.net>
15633
15634         * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked):
15635         Set pad functions unconditionally. Fixes #329105.
15636
15637 2006-01-29  Sebastien Moutte  <sebastien@moutte.net>
15638         * win32/vs8:
15639           add vs8 project files created by Sergey Scobich
15640
15641 2006-01-28  Jan Schmidt  <thaytan@mad.scientist.com>
15642
15643         * gst/gstutils.c: (gst_element_unlink_pads):
15644         Don't leak pad references.
15645
15646         * tests/check/elements/fakesink.c: (GST_START_TEST):
15647         * tests/check/generic/sinks.c: (GST_START_TEST):
15648         * tests/check/generic/states.c: (GST_START_TEST):
15649         * tests/check/gst/gstbin.c: (GST_START_TEST):
15650         * tests/check/gst/gstcaps.c: (GST_START_TEST):
15651         * tests/check/gst/gstelement.c: (GST_START_TEST):
15652         * tests/check/gst/gstghostpad.c: (GST_START_TEST):
15653         * tests/check/gst/gstiterator.c: (GST_START_TEST):
15654         * tests/check/gst/gstvalue.c: (GST_START_TEST):
15655         Fix a bunch of leaks. Make generic/sinks.c
15656         use a bit less cpu by slowing the buffer rate
15657         between fakesrc and fakesink.
15658         
15659 2006-01-27  Stefan Kost  <ensonic@users.sf.net>
15660         * gst/gstcaps.c:
15661         * gst/gstelement.c: (gst_element_send_event):
15662         * gst/gstevent.c:
15663         * gst/gstinfo.c:
15664         * gst/gstiterator.c:
15665         * gst/gstiterator.h:
15666         * gst/gstpad.c: (gst_pad_send_event):
15667         * gst/gststructure.c:
15668         * gst/gsturi.c:
15669         * gst/gstutils.c:
15670         * gst/gstvalue.c:
15671         * libs/gst/base/gstadapter.c:
15672           doc fixes, to link to function, just write gst_cool_function(), don't
15673           prefix with '#'
15674
15675 2006-01-27  Jan Schmidt  <thaytan@mad.scientist.com>
15676
15677         * plugins/elements/gsttee.c: (gst_tee_do_push),
15678         (gst_tee_handle_buffer):
15679         Always prefer an actual return value from a src
15680         pad in place of NOT_LINKED. This means we return
15681         WRONG_STATE when all src pads are WRONG_STATE
15682         instead of NOT_LINKED.
15683
15684         Lock when replacing the last message to prevent
15685         racing with the get_property method.
15686
15687         Add debug output
15688
15689 2006-01-27  Jan Schmidt  <thaytan@mad.scientist.com>
15690
15691         * tests/check/Makefile.am:
15692         * tests/check/gst/gstquery.c: (GST_START_TEST), (gstquery_suite),
15693         (main):
15694         Add a very simple check that should have caught the memleak I fixed
15695         last night (if not for the slice allocator hiding it)
15696
15697 2006-01-27  Jan Schmidt  <thaytan@mad.scientist.com>
15698
15699         * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
15700         (gst_bin_remove_func), (gst_bin_handle_message_func),
15701         (bin_query_duration_fold), (bin_query_generic_fold):
15702         Clean up references to the clock provider when disposed or when
15703         handling a clock-lost message from it.
15704
15705         Unref sinks when performing a query via gst_iterator_fold, as the
15706         gst_bin_iterate_sinks iterator refs each item. (Fixes #323874)
15707
15708         * gst/gstclock.c: (gst_clock_class_init), (gst_clock_dispose),
15709         (gst_clock_set_master):
15710         Drop our reference to the master clock, if any, when we are disposed.
15711
15712         * gst/gsttypefindfactory.c: (gst_type_find_factory_dispose):
15713         Chain up in dispose. 
15714
15715 2006-01-26  Wim Taymans  <wim@fluendo.com>
15716
15717         * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range):
15718         Add some debugging.
15719
15720 2006-01-26  Julien MOUTTE  <julien@moutte.net>
15721
15722         * plugins/elements/gsttee.c: (gst_tee_do_push),
15723         (gst_tee_handle_buffer): Apply patch from #328715. Tee now
15724         handles pad being NOT_LINKED or in WRONG_STATE.
15725
15726 2006-01-26  Stefan Kost  <ensonic@users.sf.net>
15727
15728         * win32/MANIFEST:
15729           more updating
15730
15731 2006-01-26  Stefan Kost  <ensonic@users.sf.net>
15732
15733         * win32/MANIFEST:
15734           remove obsolete entry
15735
15736 2006-01-26  Stefan Kost  <ensonic@users.sf.net>
15737
15738         * docs/gst/gstreamer-sections.txt:
15739         * gst/gstbin.c: (bin_element_is_src), (src_iterator_filter),
15740         (gst_bin_iterate_sources), (gst_bin_send_event):
15741         * gst/gstbin.h:
15742         * gst/gstelement.c: (gst_element_send_event):
15743         * gst/gstevent.c:
15744         * gst/gstpad.c: (gst_pad_send_event):
15745           added code for downstream events, reviewed docs in gstevent.c
15746
15747 2006-01-25  Julien MOUTTE  <julien@moutte.net>
15748
15749         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
15750         We only query position using the clock in the playing state.
15751         Query peer in the other cases.
15752         * win32/common/config.h: Updates.
15753
15754 2006-01-24  Wim Taymans  <wim@fluendo.com>
15755
15756         * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
15757         A clock entry that is scheduled for the exact time of the
15758         clock is still in time.
15759
15760         * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
15761         (gst_base_sink_do_sync):
15762         Add some more debug info.
15763
15764 2006-01-23  Sebastien Moutte  <sebastien@moutte.net>
15765
15766         * win32/vs7:
15767           Add new vs7 project files and solution.
15768
15769 2006-01-23  Sebastien Moutte  <sebastien@moutte.net>
15770
15771         * win32/vs7:
15772           all files removed as they were out-dated.
15773
15774 2006-01-20  Thomas Vander Stichele  <thomas at apestaart dot org>
15775
15776         * docs/random/release:
15777           update notes
15778         * gst/gstbin.c: (gst_bin_init):
15779         * gst/gstbus.c: (gst_bus_new):
15780         * gst/gstbus.h:
15781         * gst/gstpipeline.c: (gst_pipeline_init):
15782           use gst_bus_new(), improve logging, fix docs
15783         * win32/common/config.h:
15784           update for cvs build
15785
15786 2006-01-20  Thomas Vander Stichele  <thomas at apestaart dot org>
15787
15788         * autogen.sh:
15789           up required version of automake to 1.7
15790
15791 2006-01-20  Sebastien Moutte  <sebastien@moutte.net>
15792
15793         * win32/common/libgstreamer.def:
15794           export gst_buffer_is_metadata_writable
15795
15796 2006-01-20  Tim-Philipp Müller  <tim at centricular dot net>
15797
15798         * docs/gst/gstreamer-sections.txt:
15799         * gst/gstevent.h:
15800           Add gst_event_replace() (#327001)
15801
15802 2006-01-20  Wim Taymans  <wim@fluendo.com>
15803
15804         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked):
15805         Make it actually compile too..
15806
15807 2006-01-20  Wim Taymans  <wim@fluendo.com>
15808
15809         * gst/gstcaps.c:
15810         Clarify behaviour of _is_equal() when passing NULL parameters.
15811
15812         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
15813         (gst_pad_set_caps):
15814         Cleanups. Don't unref NULL caps.
15815         When setting the same caps, protect caps of the pad with
15816         proper lock.
15817         Use full functionality of _is_equal() when comparing caps.
15818
15819 2006-01-20  Jan Schmidt  <thaytan@mad.scientist.com>
15820
15821         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_is_collected):
15822         Don't loop infinitely if there are no buffers to present. Partially
15823         fixes #327197, but collectpads is just broken for reusing elements
15824         to do multiple encodes atm.
15825
15826 2006-01-20  Jan Schmidt  <thaytan@mad.scientist.com>
15827
15828         * tools/gst-inspect.c: (print_element_features):
15829         * tools/gst-xmlinspect.c: (main):
15830         URL_HANDLER is not a plugin feature we can search for in
15831         the registry.
15832
15833 2006-01-19  Edward Hervey  <edward@fluendo.com>
15834
15835         * gst/gstelement.c: (gst_element_pads_activate): 
15836         When activating, do src pads first, then sink pads.
15837         When de-activating, do sink pads first, then src pads.
15838
15839 2006-01-19  Jan Schmidt  <thaytan@mad.scientist.com>
15840
15841         * docs/gst/gstreamer-sections.txt:
15842         Add gst_index_add_associationv to the docs
15843
15844 2006-01-19  Jan Schmidt  <thaytan@mad.scientist.com>
15845
15846         * gst/gstevent.c:
15847           Fix docs typo
15848
15849         * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event),
15850         (gst_queue_chain), (gst_queue_push_one), (gst_queue_loop):
15851           Do some refactoring. Doesn't actually change functionality,
15852           but makes landing the DRAIN event easier later.
15853
15854 2006-01-19  Tim-Philipp Müller  <tim at centricular dot net>
15855
15856         * docs/pwg/advanced-scheduling.xml:
15857           Update from 0.9.x to 0.10 API and make example a bit
15858           clearer.
15859
15860 2006-01-19  Jan Schmidt  <thaytan@mad.scientist.com>
15861
15862         * docs/gst/gstreamer-sections.txt:
15863         Add gst_buffer_(is|make)_metadata_writable methods.
15864
15865 2006-01-19  Jan Schmidt  <thaytan@mad.scientist.com>
15866
15867         * docs/design/part-sparsestreams.txt:
15868         Update sparse streams doc, hopefully for greater clarity
15869
15870 2006-01-18  Jan Schmidt  <thaytan@mad.scientist.com>
15871
15872         * docs/design/part-events.txt:
15873         Remove mention of FILLER events.
15874         Add DRAIN event.
15875
15876         * docs/design/part-sparsestreams.txt:
15877         Write some things about using NEWSEGMENT to keep sparse streams
15878         flowing.
15879
15880 2006-01-18  Tim-Philipp Müller  <tim at centricular dot net>
15881
15882         * gst/gstbin.c: (gst_bin_dispose):
15883           Guard gst_object_unref call against a NULL object (dispose
15884           can theoretically be called multiple times).
15885           
15886 2006-01-18  Wim Taymans  <wim@fluendo.com>
15887
15888         * gst/gstbin.c: (gst_bin_element_set_state):
15889         * gst/gstclock.c: (gst_clock_id_wait):
15890         Added some more debug info.
15891
15892         * libs/gst/base/gstadapter.c:
15893         Added more docs.
15894
15895         * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
15896         (gst_base_sink_do_sync), (gst_base_sink_chain):
15897         Added some comments.
15898
15899 2006-01-18  Wim Taymans  <wim@fluendo.com>
15900
15901         * tests/check/Makefile.am:
15902         * tests/check/elements/fakesink.c: (chain_async_buffer),
15903         (chain_async), (chain_async_return), (GST_START_TEST),
15904         (fakesink_suite), (main):
15905         Added fakesink test that checks prerolling and clipping
15906         behaviour.
15907
15908         * tests/check/gst/gstutils.c: (GST_START_TEST):
15909         Make check run faster so that buildbots don't timeout.
15910
15911 2006-01-18  Wim Taymans  <wim@fluendo.com>
15912
15913         * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
15914         (gst_base_sink_do_sync):
15915         Some cleanups.
15916         When the sink finishes blocking on the preroll buffer, it can
15917         immediatly render it instead of rendering when the next buffer
15918         arrives.
15919
15920 2006-01-18  Wim Taymans  <wim@fluendo.com>
15921
15922         * libs/gst/base/gstbasesink.c: (gst_base_sink_set_property),
15923         (gst_base_sink_get_property), (gst_base_sink_do_sync),
15924         (gst_base_sink_chain):
15925         Small cleanups.
15926         GST_ELEMENT_CLOCK and sync are protected with LOCK.
15927         Don't store _last_stop if the buffer is dropped.
15928
15929 2006-01-18  Tim-Philipp Müller  <tim at centricular dot net>
15930
15931         * plugins/elements/gsttypefindelement.c:
15932         (gst_type_find_element_class_init):
15933           'have-type' signal needs to be G_SIGNAL_RUN_FIRST, as it is the
15934           object method handler that sets the caps on the pad and we want
15935           that to happen before we emit the signal (fixes e.g. feeding a
15936           plain text file to decodebin).
15937
15938 2006-01-18  Christian Schaller  <Christian@fluendo.com>
15939
15940         * gst/gstplugin.c: Add MPL and Proprietary as license options
15941
15942 2006-01-18  Andy Wingo  <wingo@pobox.com>
15943
15944         * gst/gstindex.h (gst_index_add_associationv): Add to header. The
15945         symbol was exported before, it appears this was just an oversight.
15946         Fixes #168703.
15947         Patch by: Torsten Schoenfeld <kaffeetisch at gmx.de>
15948
15949         * gst/gstindex.c (gst_index_add_associationv): Changed int in
15950         prototype to gint. OK since this prototype was not in the header.
15951
15952 2006-01-17  Andy Wingo  <wingo@pobox.com>
15953
15954         * gst/gstregistry.c (_gst_registry_remove_cache_plugins): Lock the
15955         registry while we remove plugins.
15956
15957         * tools/gst-inspect.c (print_element_info): Don't unref the
15958         factory arg, that should be the responsibility of whatever code
15959         received the ref. Fixes a double-free when called from
15960         print_element_list via gst-inspect-0.10 -a. Fixes #327324.
15961         (main): Unref the factory if we have one.
15962         (print_element_list): No change -- relies on the
15963         plugin_feature_list_free to free the list of features.
15964
15965 2006-01-17  Jan Schmidt  <thaytan@mad.scientist.com>
15966
15967         * gst/gstbuffer.c: (gst_buffer_is_metadata_writable),
15968         (gst_buffer_make_metadata_writable):
15969         * gst/gstbuffer.h:
15970         * libs/gst/base/gstbasetransform.c:
15971         (gst_base_transform_prepare_output_buf):
15972         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
15973         * tests/check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
15974           Replace gst_buffer_(make|is)_metadata_writable patch now
15975           that the release is out.
15976
15977 2006-01-17  Andy Wingo  <wingo@pobox.com>
15978
15979         * gst/gstregistry.c: Reflow design comment. Update so as to speak
15980         in the present tense without reference to versions.
15981
15982         * gst/gstregistry.c (gst_registry_add_plugin)
15983         (gst_registry_remove_plugin, gst_registry_remove_feature)
15984         (gst_registry_find_feature, gst_registry_get_feature_list)
15985         (gst_registry_get_plugin_list, gst_registry_lookup_feature)
15986         (gst_registry_lookup, gst_registry_scan_path)
15987         (_gst_registry_remove_cache_plugins)
15988         (gst_registry_get_feature_list_by_plugin): Add argument
15989         validation.
15990
15991 === release 0.10.2 ===
15992
15993 2006-01-16  Thomas Vander Stichele <thomas at apestaart dot org>
15994
15995         * configure.ac:
15996           releasing 0.10.2, "If man is five"
15997
15998 2006-01-16  Jan Schmidt  <thaytan@mad.scientist.com>
15999
16000         * gst/gstbuffer.c:
16001         * gst/gstbuffer.h:
16002         * libs/gst/base/gstbasetransform.c:
16003         (gst_base_transform_prepare_output_buf):
16004         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
16005         * tests/check/gst/gstbuffer.c: (gst_test_suite):
16006           Back out patch until after the release.
16007
16008 2006-01-16  Jan Schmidt  <thaytan@mad.scientist.com>
16009
16010         * gst/gstminiobject.c:
16011           Spelling fix in docs.
16012         * ChangeLog - remove conflict indicator
16013
16014 2006-01-16  Jan Schmidt  <thaytan@mad.scientist.com>
16015
16016         Reviewed By: Andy Wingo
16017
16018         * gst/gstbuffer.c: (gst_buffer_is_metadata_writable),
16019         (gst_buffer_make_metadata_writable):
16020         * gst/gstbuffer.h:
16021           Add gst_buffer_(is|make)_metadata_writable as analogues of
16022           gst_buffer_(is|make)_writable.
16023
16024         * libs/gst/base/gstbasetransform.c:
16025         (gst_base_transform_prepare_output_buf):
16026         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
16027           Use name gst_buffer_(is|make)_metadata_writable functions.
16028
16029         * tests/check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
16030           Test gst_buffer_(is|make)_metadata_writable
16031         
16032           (Closes: #324162)
16033
16034 2006-01-14  Thomas Vander Stichele  <thomas at apestaart dot org>
16035
16036         * docs/manual/Makefile.am:
16037           don't do parallel make
16038         * configure.ac:
16039           AC_SUBST HOST_CPU
16040         * win32/common/config.h.in:
16041           add generations for HOST_CPU and GST_MAJORMINOR
16042         * win32/common/config.h:
16043           commit generated result
16044
16045 2006-01-13  Tim-Philipp Müller  <tim at centricular dot net>
16046
16047         * docs/manual/appendix-integration.xml:
16048           Update GNOME integration section to use gst_init_get_option_group()
16049           instead of the old popt stuff (#322911). Also, GNOME applications
16050           should  now use gconf*sink and gconf*src instead of the old gconf
16051           helper lib we had.
16052
16053 2006-01-13  Stefan Kost  <ensonic@users.sf.net>
16054
16055
16056         * docs/gst/gstreamer-docs.sgml:
16057         * docs/gst/gstreamer-sections.txt:
16058         * docs/libs/gstreamer-libs-sections.txt:
16059           add new API entries to the docs
16060         * libs/gst/controller/Makefile.am:
16061         * libs/gst/controller/gstcontroller.c:
16062         * libs/gst/controller/gstcontroller.h:
16063         * libs/gst/controller/gstcontrollerprivate.h:
16064         * libs/gst/controller/gsthelper.c:
16065         * libs/gst/controller/gstinterpolation.c:
16066           move private structs to private header
16067         * po/README:
16068           gstreamer-0.7 -> gstreamer-0.10
16069         * tests/check/libs/struct_i386.h:
16070           remove private structs
16071
16072 2006-01-13  Thomas Vander Stichele  <thomas at apestaart dot org>
16073
16074         * plugins/indexers/Makefile.am:
16075           Fixes as part of #317048
16076
16077 2006-01-13  Thomas Vander Stichele  <thomas at apestaart dot org>
16078
16079         * plugins/indexers/Makefile.am:
16080           fix #316086 - compilation when mmap is missing
16081
16082 2006-01-12  Sebastien Moutte  <sebastien@moutte.net>
16083
16084         * libs/gst/base/gstbasesink.c:
16085           *cur = (now - base) * basesink->segment.abs_rate + time; replaced by 
16086           *cur = gst_guint64_to_gdouble(now - base) * basesink->segment.abs_rate + time; for vs6
16087         * win32/common/config.h:
16088           added some defines GST_MAJORMINOR and HOST_CPU
16089         * win32/common/libgstbase.def:
16090         * win32/common/libgstreamer.def:
16091           added some exported functions.
16092
16093 2006-01-12  Stefan Kost  <ensonic@users.sf.net>
16094
16095         * libs/gst/controller/gstcontroller.c:
16096         (gst_controlled_property_set_interpolation_mode),
16097         (gst_controlled_property_new):
16098         * libs/gst/controller/gstcontroller.h:
16099         * libs/gst/controller/gstinterpolation.c:
16100         (interpolate_none_get_string_value_array):
16101           make G_TYPE_STRING controlable
16102
16103 2006-01-12  Stefan Kost  <ensonic@users.sf.net>
16104
16105         * tools/README:
16106         * tools/gst-feedback.1.in:
16107         * tools/gst-inspect.1.in:
16108         * tools/gst-launch.1.in:
16109         * tools/gst-md5sum.1.in:
16110         * tools/gst-typefind.1.in:
16111         * tools/gst-xmlinspect.1.in:
16112         * tools/gst-xmllaunch.1.in:
16113           cleanup man-pages, remove reference to gst-register, document env-vars
16114
16115 2006-01-12  Jan Schmidt  <thaytan@mad.scientist.com>
16116
16117         * gst/gstbuffer.c: (gst_buffer_span):
16118           gst_buffer_span should copy the timestamp of the first buffer
16119           if they were both originally overlapping subbuffers of the 
16120           same parent, using the same logic as the 'slow copy' case.
16121
16122 2006-01-11  Jan Schmidt  <thaytan@mad.scientist.com>
16123
16124         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_pop):
16125           Need to awaken ALL the pads when we pop a buffer, otherwise
16126           collectpads only works when there is 2 input streams.
16127
16128 2006-01-11  Stefan Kost  <ensonic@users.sf.net>
16129
16130         * docs/random/ensonic/media-device-daemon.txt:
16131           more ideas (dbus)
16132         * gst/gstbuffer.c:
16133           fix doc example, add clarification
16134         * tools/gst-launch.1.in:
16135           add initial info about GST_PLUGIN_PATH, needs more work
16136
16137 2006-01-11  Tim-Philipp Müller  <tim at centricular dot net>
16138
16139         * docs/manual/basics-bins.xml:
16140         * docs/manual/basics-elements.xml:
16141         * docs/manual/intro-basics.xml:
16142           Some more minor docs additions and updates.
16143
16144 2006-01-11  Wim Taymans  <wim@fluendo.com>
16145
16146         * docs/manual/basics-bins.xml:
16147         * docs/manual/basics-elements.xml:
16148         Some small fixes as pointed out by Ser-ver on IRC.
16149
16150 2006-01-10  Edward Hervey  <edward@fluendo.com>
16151
16152         * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
16153         Set the buffer offset/offset_end to GST_CLOCK_TIME_NONE when using
16154         the single-segment mode.
16155
16156 2006-01-10  Brian Cameron  <brian dot cameron at sun dot com>
16157
16158         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
16159
16160         * libs/gst/base/gstbasesrc.c: (gst_base_src_init),
16161         (gst_base_src_perform_seek), (gst_base_src_send_event),
16162         (gst_base_src_set_property), (gst_base_src_get_property),
16163         (gst_base_src_loop), (gst_base_src_start),
16164         (gst_base_src_activate_push):
16165         * libs/gst/base/gstbasesrc.h:
16166           Name (private) union; makes Sun's Forte compiler happy (#324900).
16167
16168 2006-01-09  Tim-Philipp Müller  <tim at centricular dot net>
16169
16170         * README:
16171           gst-register is gone.
16172
16173 2006-01-07  Thomas Vander Stichele  <thomas at apestaart dot org>
16174
16175         * gst/gstvalue.c: (_gst_value_initialize):
16176           make the G_TYPE_DATE instantiation work if debug is disabled
16177
16178 2006-01-06  Tim-Philipp Müller  <tim at centricular dot net>
16179
16180         * gst/gstmessage.c: (gst_message_parse_tag),
16181         (gst_message_parse_error), (gst_message_parse_warning):
16182           Don't crash when return location for error/warning debug
16183           string is NULL; add fact that return locations can be
16184           NULL to docs where appropriate.
16185
16186 2006-01-05  Wim Taymans  <wim@fluendo.com>
16187
16188         * gst/gstplugin.c: (gst_plugin_load_file):
16189         Replace strdup by g_strdup.
16190
16191 2006-01-05  Thomas Vander Stichele  <thomas at apestaart dot org>
16192
16193         * docs/pwg/advanced-types.xml:
16194           fix doc borkage
16195
16196 2006-01-05  Thomas Vander Stichele  <thomas at apestaart dot org>
16197
16198         submitted by: Abel Cheung
16199
16200         * po/LINGUAS:
16201         * po/zh_TW.po:
16202           Added Chinese (traditional) translation
16203
16204 2006-01-04  Wim Taymans  <wim@fluendo.com>
16205
16206         * docs/manual/basics-pads.xml:
16207         * docs/plugins/Makefile.am:
16208         * docs/plugins/gstreamer-plugins-docs.sgml:
16209         * docs/plugins/gstreamer-plugins-sections.txt:
16210         * docs/pwg/advanced-clock.xml:
16211         * docs/pwg/advanced-scheduling.xml:
16212         * docs/pwg/advanced-types.xml:
16213         * plugins/elements/gstfdsink.c:
16214         * plugins/elements/gstfdsrc.c:
16215         * plugins/elements/gstfdsrc.h:
16216         * plugins/elements/gstidentity.c: (gst_identity_class_init):
16217         * plugins/elements/gstidentity.h:
16218         * plugins/elements/gstqueue.h:
16219         * plugins/elements/gsttee.c:
16220         * plugins/elements/gsttee.h:
16221         * plugins/elements/gsttypefindelement.c:
16222         (gst_type_find_element_class_init):
16223         * plugins/elements/gsttypefindelement.h:
16224         Small updates to various docs.
16225         Added core plugins to docs.
16226
16227 2006-01-03  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
16228
16229         * common/gst.supp:
16230           add a suppression for liboil's uninitialized variable
16231
16232 2006-01-02  James Livingston  <jrl at ids dot org dot au>
16233
16234         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
16235
16236         * gst/gstutils.h:
16237           Add prototype for _get_type() function to GST_BOILERPLATE_FULL
16238           macro, so that gcc doesn't complain if the -Wmissing-prototypes
16239           compiler switch is being used (#325429).
16240
16241 2005-12-29  Tim-Philipp Müller  <tim at centricular dot net>
16242
16243         * gst/gstbin.c: (gst_bin_query):
16244           Disable duration query caching in bins until it gets
16245           fixed (see #324807).
16246
16247 2005-12-27  Tim-Philipp Müller  <tim at centricular dot net>
16248
16249         * tools/gst-inspect.c: (print_element_properties_info):
16250           Handle properties of POINTER and BOXED type.
16251
16252 2005-12-27  Tim-Philipp Müller  <tim at centricular dot net>
16253
16254         * gst/gst.c: (init_post):
16255           Init tags stuff and some other things before loading
16256           any static plugins (there may be other static plugins
16257           than just the GStreamer ones, and they may want to
16258           register their own tags or formats or whatever, and
16259           preferably without segfaulting).
16260
16261         * plugins/elements/gstqueue.c: (gst_queue_handle_src_query):
16262           Print at least a warning in the debug logs if we drop a
16263           query just because we don't know how to adjust the value
16264           in the particular format.
16265
16266 2005-12-24  David Schleef  <ds@schleef.org>
16267
16268         * tools/gstreamer-completion:
16269           Replacement for gst-complete written in sh and sed.  Only
16270           completes names of features, but that's 90% of what I want
16271           it for.  Properties are not available in registry.xml.  (Maybe
16272           they should be...)
16273
16274 === release 0.10.1 ===
16275
16276 2005-12-23  Thomas Vander Stichele <thomas at apestaart dot org>
16277
16278         * configure.ac:
16279           releasing 0.10.1, "Nollaig chridheil"
16280
16281 2005-12-22  Tim-Philipp Müller  <tim at centricular dot net>
16282
16283         * docs/faq/cvs.xml:
16284           Add missing quote, should be make ERROR_CFLAGS="".
16285
16286 2005-12-20  Wim Taymans  <wim@fluendo.com>
16287
16288         * docs/design/part-trickmodes.txt:
16289         More documentation on trickmodes.
16290
16291 2005-12-20  Edward Hervey  <edward@fluendo.com>
16292
16293         * gst/gstcaps.c: (gst_static_caps_get_type):
16294         * gst/gstcaps.h:
16295           API addition: GST_TYPE_STATIC_CAPS
16296         Added gpointer GType for GstStaticCaps so we can wrap them in bindings.
16297         * gst/gstpadtemplate.c: (gst_static_pad_template_get_type):
16298         * gst/gstpadtemplate.h:
16299           API addition: GST_TYPE_STATIC_PAD_TEMPLATE
16300         Added gpointer GType for GstStaticPadTemplate so we can wrap them in
16301         bindings.
16302
16303 2005-12-18  Wim Taymans  <wim@fluendo.com>
16304
16305         * libs/gst/base/gstadapter.c:
16306         * libs/gst/base/gstadapter.h:
16307         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
16308         (gst_base_sink_get_position):
16309         * libs/gst/base/gstbasesink.h:
16310         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
16311         (gst_base_src_default_query), (gst_base_src_default_do_seek),
16312         (gst_base_src_do_seek), (gst_base_src_perform_seek),
16313         (gst_base_src_send_event), (gst_base_src_update_length),
16314         (gst_base_src_get_range), (gst_base_src_loop),
16315         (gst_base_src_start):
16316         * libs/gst/base/gstbasesrc.h:
16317         * libs/gst/base/gstbasetransform.h:
16318         * libs/gst/base/gstcollectpads.h:
16319         * libs/gst/base/gstpushsrc.c:
16320         * libs/gst/base/gstpushsrc.h:
16321         * libs/gst/dataprotocol/dataprotocol.c:
16322         * libs/gst/dataprotocol/dataprotocol.h:
16323         * libs/gst/net/gstnetclientclock.h:
16324         * libs/gst/net/gstnettimeprovider.h:
16325         Documentation updates.
16326
16327 2005-12-18  Tim-Philipp Müller  <tim at centricular dot net>
16328
16329         * docs/manual/basics-helloworld.xml:
16330           Remove superfluous closing bracket in helloworld example.
16331
16332 2005-12-17  Tim-Philipp Müller  <tim at centricular dot net>
16333
16334         * tools/gst-launch.1.in:
16335           Update gst-launch man page; add a section with useful
16336           environment variables. Fixes #323882.
16337
16338 2005-12-16  Stefan Kost  <ensonic@users.sf.net>
16339
16340         * gst/gst.c:
16341         * gst/gst_private.h:
16342           change some char* into char[]
16343
16344 2005-12-16  Wim Taymans  <wim@fluendo.com>
16345
16346         * gst/gstregistryxml.c: (load_feature):
16347         Cleanups.
16348         Don't use g_object_unref on GstObjects so that we avoid
16349         leaks on unsafe glibs.
16350
16351 2005-12-16  Wim Taymans  <wim@fluendo.com>
16352
16353         * gst/gstbin.c: (gst_bin_recalc_state):
16354         Small doc updates.
16355
16356 2005-12-16  Wim Taymans  <wim@fluendo.com>
16357
16358         * common/check.mak:
16359         Added make forever target for check.
16360
16361 2005-12-16  Thomas Vander Stichele  <thomas at apestaart dot org>
16362
16363         * gst/gst.c: (init_post):
16364           make the registry cache file HOST_CPU-dependent
16365
16366 2005-12-16  Andy Wingo  <wingo@pobox.com>
16367
16368         * plugins/elements/gstbufferstore.c
16369         (gst_buffer_store_cleared_func): Pay attention to g_list_append
16370         return value.
16371
16372         * tests/check/gst/gstobject.c
16373         (test_fake_object_name_threaded_unique): Pay attention to
16374         g_list_sort return value.
16375
16376 2005-12-16  Tim-Philipp Müller  <tim at centricular dot net>
16377
16378         * tools/gst-feedback-m.m:
16379           Update for 0.9/0.10 (fixes #323870).
16380
16381 2005-12-15  Tim-Philipp Müller  <tim at centricular dot net>
16382
16383         * gst/gstminiobject.c: (gst_value_mini_object_lcopy):
16384           Fix lcopy for mini objects, the mini object needs to be ref'ed.
16385           
16386         * tests/check/gst/gstminiobject.c: (my_foo_init),
16387         (my_foo_get_property), (my_foo_set_property), (my_foo_class_init),
16388         (test_value_collection), (gst_mini_object_suite):
16389           Add test to ensure refcounts end up as expected when passing
16390           GstMiniObjects through g_object_get() and g_object_set().
16391
16392 2005-12-14  Julien MOUTTE  <julien@moutte.net>
16393
16394         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
16395         (gst_collect_pads_remove_pad), (gst_collect_pads_is_collected),
16396         (gst_collect_pads_event), (gst_collect_pads_chain): Refactoring
16397         of collectpads. This version removes a lot of races without
16398         touching API/ABI. Yay !
16399
16400 2005-12-14  Jan Schmidt  <thaytan@mad.scientist.com>
16401
16402         * gst/gstpad.c: (gst_pad_activate_pull), (gst_pad_link_prepare):
16403           Don't allow activation of a srcpad in pull_range if it has no
16404           getrange function.
16405           Change some debug statements to be a little clearer
16406
16407         * plugins/elements/gsttypefindelement.c:
16408         (gst_type_find_handle_src_query):
16409           Check that we have a peer before executing queries thereupon.
16410
16411         * tests/examples/metadata/read-metadata.c: (message_loop):
16412           Use gst_bus_pop instead of gst_bus_poll when we just want it to
16413           immediately return us any available message with 0 timeout.
16414
16415 2005-12-12  Michael Smith  <msmith@fluendo.com>
16416
16417         * gst/gsttypefindfactory.c: (gst_type_find_factory_call_function):
16418           Don't unref factories after calling them.
16419         * libs/gst/base/gsttypefindhelper.c: (gst_type_find_helper):
16420         * plugins/elements/gsttypefindelement.c:
16421         (gst_type_find_element_chain):
16422           Free lists of factories after using them. Fixing typefinding memory
16423           leaks.
16424
16425 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
16426
16427         * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
16428         (gst_plugin_feature_load):
16429           more meaningful debug output
16430         * configure.ac:
16431         * tests/Makefile.am:
16432         * tests/old/examples/Makefile.am:
16433           make make distcheck happy again
16434
16435 2005-12-12  Tim-Philipp Müller  <tim at centricular dot net>
16436
16437         * plugins/elements/gsttypefindelement.c: (stop_typefinding):
16438           Catch the special case where we are operating chain-based,
16439           but the downstream peer pad has no chain function. Emit a
16440           custom error message in this case instead of letting the
16441           core generate one implying that this is some sort of core
16442           bug. It's not, it just means that whatever got plugged
16443           into the pipeline downstream when we announced the type
16444           can only operate pull-based, while our source can only
16445           operate push-based (e.g. http://foo/bar.mov ! qtdemux ! ...)
16446           Error string has not been marked for translation yet, as
16447           it probably needs some more work first.
16448
16449         (gst_type_find_element_get_best_possibility):
16450           Add helper function to find the best of all available
16451           found possibilities that qualify given the min. threshold.
16452
16453         (gst_type_find_element_handle_event):
16454           Fix the case where we get an EOS while still in TYPEFIND
16455           mode (we want to chose the best of all possible types,
16456           not just the first type that happens to be in our unsorted
16457           list of possible types).
16458
16459         (gst_type_find_element_chain):
16460           Make sure we return GST_FLOW_ERROR when we errored out
16461           in stop_typefinding(); also, don't just find the best of
16462           all found type entries and then use the last examined
16463           type entry, but actually use the best entry.
16464
16465 2005-12-12  Tim-Philipp Müller  <tim at centricular dot net>
16466
16467         * tests/examples/typefind/typefind.c: (type_found):
16468         * tests/examples/xml/runxml.c: (xml_loaded):
16469           More gcc4 fixes and a mem leak fix.
16470
16471 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
16472
16473         * tests/examples/xml/createxml.c: (object_saved):
16474           gcc 4 fixes
16475
16476 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
16477
16478         * tests/Makefile.am:
16479           enable the examples even more
16480
16481 2005-12-12  Andy Wingo  <wingo@pobox.com>
16482
16483         * libs/gst/net/gstnettimeprovider.c
16484         (gst_net_time_provider_class_init, gst_net_time_provider_init)
16485         (gst_net_time_provider_set_property)
16486         (gst_net_time_provider_get_property):
16487         API addition: Export "active" as a GObject property.
16488         (gst_net_time_provider_thread): Only respond to time queries if
16489         the time provider is active.
16490
16491         * libs/gst/net/gstnettimeprovider.h: Add an "active" boolean to
16492         NetTimeProvider, preserving binary compat.
16493
16494 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
16495
16496         * tests/examples/controller/audio-example.c: (main):
16497         * tests/examples/launch/Makefile.am:
16498           convert comments again
16499
16500 2005-12-12  Wim Taymans  <wim@fluendo.com>
16501
16502         * libs/gst/base/gstpushsrc.c:
16503         Fix typo.
16504
16505 2005-12-12  Wim Taymans  <wim@fluendo.com>
16506
16507         * docs/libs/gstreamer-libs-sections.txt:
16508         Added new symbol to docs.
16509
16510         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
16511         (gst_base_src_init), (gst_base_src_set_format),
16512         (gst_base_src_default_query), (gst_base_src_query),
16513         (gst_base_src_default_do_seek), (gst_base_src_do_seek),
16514         (gst_base_src_perform_seek), (gst_base_src_send_event),
16515         (gst_base_src_default_event), (gst_base_src_event_handler),
16516         (gst_base_src_set_property), (gst_base_src_get_property),
16517         (gst_base_src_wait), (gst_base_src_do_sync),
16518         (gst_base_src_update_length), (gst_base_src_get_range),
16519         (gst_base_src_check_get_range), (gst_base_src_loop),
16520         (gst_base_src_default_negotiate), (gst_base_src_start),
16521         (gst_base_src_activate_push), (gst_base_src_activate_pull),
16522         (gst_base_src_change_state):
16523         * libs/gst/base/gstbasesrc.h:
16524         Implement seeking to other formats than _BYTES.
16525         Implement more seeking methods correctly.
16526         Doc updates.
16527         Added query vmethod.
16528         Added do_seek vmethod to make life easier for subclasses
16529         when seeking.
16530         API addition: gst_base_src_set_format()
16531
16532 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
16533
16534         * tests/examples/Makefile.am:
16535           added that too
16536
16537 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
16538
16539         * configure.ac:
16540         * docs/random/ensonic/media-device-daemon.txt:
16541         * tests/examples/controller/.cvsignore:
16542         * tests/examples/controller/Makefile.am:
16543         * tests/examples/controller/audio-example.c: (main):
16544         * tests/examples/helloworld/.cvsignore:
16545         * tests/examples/helloworld/Makefile.am:
16546         * tests/examples/helloworld/helloworld.c: (event_loop), (main):
16547         * tests/examples/launch/.cvsignore:
16548         * tests/examples/launch/Makefile.am:
16549         * tests/examples/launch/mp3parselaunch.c: (event_loop), (main):
16550         * tests/examples/metadata/.cvsignore:
16551         * tests/examples/metadata/Makefile.am:
16552         * tests/examples/metadata/read-metadata.c: (message_loop),
16553         (make_pipeline), (print_tag), (main):
16554         * tests/examples/queue/.cvsignore:
16555         * tests/examples/queue/Makefile.am:
16556         * tests/examples/queue/queue.c: (event_loop), (main):
16557         * tests/examples/typefind/.cvsignore:
16558         * tests/examples/typefind/Makefile.am:
16559         * tests/examples/typefind/typefind.c: (type_found), (event_loop),
16560         (main):
16561         * tests/examples/xml/.cvsignore:
16562         * tests/examples/xml/Makefile.am:
16563         * tests/examples/xml/createxml.c: (object_saved), (main):
16564         * tests/examples/xml/runxml.c: (xml_loaded), (event_loop), (main):
16565         * tests/old/examples/Makefile.am:
16566         * tests/old/examples/TODO:
16567         * tests/old/examples/controller/.cvsignore:
16568         * tests/old/examples/controller/Makefile.am:
16569         * tests/old/examples/controller/audio-example.c:
16570         * tests/old/examples/helloworld/.cvsignore:
16571         * tests/old/examples/helloworld/Makefile.am:
16572         * tests/old/examples/helloworld/helloworld.c:
16573         * tests/old/examples/launch/.cvsignore:
16574         * tests/old/examples/launch/Makefile.am:
16575         * tests/old/examples/launch/mp3parselaunch.c:
16576         * tests/old/examples/launch/mp3play:
16577         * tests/old/examples/manual/Makefile.am:
16578         * tests/old/examples/metadata/Makefile.am:
16579         * tests/old/examples/metadata/read-metadata.c:
16580         * tests/old/examples/queue/.cvsignore:
16581         * tests/old/examples/queue/Makefile.am:
16582         * tests/old/examples/queue/queue.c:
16583         * tests/old/examples/typefind/.cvsignore:
16584         * tests/old/examples/typefind/Makefile.am:
16585         * tests/old/examples/typefind/typefind.c:
16586         * tests/old/examples/xml/.cvsignore:
16587         * tests/old/examples/xml/Makefile.am:
16588         * tests/old/examples/xml/createxml.c:
16589         * tests/old/examples/xml/runxml.c:
16590           applied some simple fixing to some examples
16591           re-enabled the working examples
16592
16593 2005-12-12  Wim Taymans  <wim@fluendo.com>
16594
16595         * gst/gstsegment.c: (gst_segment_init),
16596         (gst_segment_set_last_stop), (gst_segment_set_seek),
16597         (gst_segment_set_newsegment), (gst_segment_to_stream_time),
16598         (gst_segment_to_running_time):
16599         Added more documentation.
16600         Make sure the last_pos value is updated properly.
16601         Make sure to_stream_time and to_running_time don't
16602         operate on wrong values.
16603
16604         * tests/check/gst/gstsegment.c: (GST_START_TEST):
16605         Update check.
16606
16607 2005-12-12  Michael Smith  <msmith@fluendo.com>
16608
16609         * plugins/elements/gsttypefindelement.c: (free_entry),
16610         (gst_type_find_element_chain):
16611           Now that we're not leaking factories, make sure we keep references
16612           to them while we need them.
16613
16614 2005-12-12  Thomas Vander Stichele  <thomas at apestaart dot org>
16615
16616         * tests/check/gst/struct_i386.h:
16617           ifdef out the XML structs
16618
16619 2005-12-12  Thomas Vander Stichele  <thomas at apestaart dot org>
16620
16621         * gst/gstvalue.c: (gst_value_transform_double_fraction):
16622           floor is not needed, F is always positive; this obviates the
16623           need for adding -lm when building without libxml
16624
16625 2005-12-12  Wim Taymans  <wim@fluendo.com>
16626
16627         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
16628         Take current playback rate into account when reporting
16629         the position.
16630
16631 2005-12-11  Tim-Philipp Müller  <tim at centricular dot net>
16632
16633         * docs/manual/mime-world.fig:
16634           Let's try this again, this time with a file that is
16635           actually in XFig format.
16636
16637 2005-12-11  Tim-Philipp Müller  <tim at centricular dot net>
16638
16639         * docs/manual/mime-world.fig:
16640           Add audioconvert element to diagram so that it
16641           matches the text and the code (fixes #319526).
16642
16643 2005-12-11  Tim-Philipp Müller  <tim at centricular dot net>
16644
16645         * docs/pwg/building-chainfn.xml:
16646         * docs/pwg/building-pads.xml:
16647         * docs/pwg/building-state.xml:
16648         * docs/pwg/other-source.xml:
16649           Update state change stuff for 0.10 (fixes #322969).
16650
16651 2005-12-11  Tim-Philipp Müller  <tim at centricular dot net>
16652
16653         * docs/manual/advanced-dataaccess.xml:
16654         * docs/manual/appendix-checklist.xml:
16655         * docs/manual/appendix-programs.xml:
16656         * docs/manual/basics-pads.xml:
16657         * docs/manual/highlevel-components.xml:
16658         * docs/manual/manual.xml:
16659           Update for 0.10: s/0.9/0.10/; s/audioscale/audiorsample/;
16660           add converters in front of pipelines; remove curly
16661           brackets for threads stuff, they no longer exist; use
16662           GST_TYPE_FRACTION for framerates; update some pieces of
16663           code to 0.10, but there's plenty more to do.
16664
16665         * docs/manual/appendix-porting.xml:
16666           Expand on asynchroneous state changes; s/0.9/0.10/;
16667           mention disappearance of gst_init_get_popt_table()
16668           (fixes #322916).
16669
16670 2005-12-11  Tim-Philipp Müller  <tim at centricular dot net>
16671
16672         * docs/faq/using.xml:
16673           Spider no longer exists, and neither does gst-launch-ext.
16674           Update examples to use decodebin and playbin and put
16675           converters in front of sinks (fixes #323726).
16676
16677 2005-12-09  Michael Smith  <msmith@fluendo.com>
16678
16679         * plugins/elements/gsttypefindelement.c: (find_peek),
16680         (gst_type_find_element_chain):
16681           Fix leaking element factories in typefinding.
16682           Fix problem where we forgot about a probable type on non-seekable
16683           files, and thus later mis-typefound it.
16684
16685 2005-12-09  Michael Smith  <msmith@fluendo.com>
16686
16687         * common/m4/gst-makecontext.m4:
16688         * common/m4/gst-mcsc.m4:
16689         * configure.ac:
16690         * win32/common/config.h:
16691         * win32/common/config.h.in:
16692           Remove makecontext stuff; not used in 0.10 and causes problems on
16693           HPUX according to bug #322441
16694
16695 2005-12-07  Wim Taymans  <wim@fluendo.com>
16696
16697         * tests/check/Makefile.am:
16698         * tests/check/libs/libsabi.c: (GST_START_TEST), (gstabi_suite),
16699         (main):
16700         * tests/check/libs/struct_i386.h:
16701         Added ABI check for libs
16702
16703 2005-12-07  Wim Taymans  <wim@fluendo.com>
16704
16705         * tests/check/Makefile.am:
16706         And add the struct_i386.h to dist.
16707
16708 2005-12-07  Wim Taymans  <wim@fluendo.com>
16709
16710         * tests/check/Makefile.am:
16711         * tests/check/gst/.cvsignore:
16712         * tests/check/gst/gstabi.c: (GST_START_TEST), (gstabi_suite),
16713         (main):
16714         * tests/check/gst/struct_i386.h:
16715         Added check for ABI compatibility.
16716
16717 2005-12-07  Wim Taymans  <wim@fluendo.com>
16718
16719         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
16720         (gst_fake_src_get_times), (gst_fake_src_create):
16721         Fix broken sync option, fixes #323259
16722
16723 2005-12-07  Wim Taymans  <wim@fluendo.com>
16724
16725         * gst/gstbuffer.c:
16726         Small docs update.
16727
16728         * gst/gstcaps.c: (gst_caps_is_equal):
16729         Don't assert on NULL <--> X. Fixes #323260
16730
16731         * gst/gstminiobject.c: (gst_mini_object_replace):
16732         If we're doing atomic operations, we might just as well use
16733         the proper way to get an atomic pointer.
16734
16735         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
16736         Clean up debugging.
16737
16738 2005-12-07  Michael Smith  <msmith@fluendo.com>
16739
16740         * gst/parse/grammar.y:
16741           Remove handling of { } for threads.
16742
16743 2005-12-06  David Schleef  <ds@schleef.org>
16744
16745         * libs/gst/base/gstbasetransform.c: speling fix.
16746
16747 2005-12-06  Thomas Vander Stichele  <thomas at apestaart dot org>
16748
16749         * docs/libs/tmpl/gstdataprotocol.sgml:
16750         * docs/random/omega/testing/gstobject.c:
16751         * gst/gst.c:
16752         * gst/gstclock.c:
16753         * gst/gstelement.c:
16754         * gst/gstelementfactory.c:
16755         * gst/gsterror.c:
16756         * gst/gstevent.c:
16757         * gst/gstghostpad.c:
16758         * gst/gstinfo.c:
16759         * gst/gstpadtemplate.c:
16760         * gst/gstregistryxml.c:
16761         * gst/gsttaglist.c:
16762         * gst/gsttagsetter.c:
16763         * gst/gsttypefind.c:
16764         * gst/gstvalue.c:
16765         * libs/gst/base/gstbasesrc.c:
16766         * libs/gst/net/gstnetclientclock.c:
16767         * libs/gst/net/gstnettimeprovider.c:
16768         * plugins/elements/gstfakesrc.c:
16769         * plugins/elements/gstfdsrc.c:
16770         * plugins/elements/gstfilesrc.c:
16771         * plugins/elements/gstidentity.c:
16772         * plugins/elements/gstqueue.c:
16773         * plugins/elements/gsttypefindelement.c:
16774         * plugins/indexers/gstfileindex.c:
16775         * plugins/indexers/gstmemindex.c:
16776         * tests/check/gst/gsttag.c:
16777         * tests/old/examples/cutter/cutter.c:
16778         * tests/old/examples/mixer/mixer.c:
16779         * tests/old/examples/xml/runxml.c: (main):
16780         * tests/old/testsuite/caps/normalisation.c:
16781         * tests/old/testsuite/debug/global.c:
16782         * tests/old/testsuite/parse/parse1.c:
16783         * tools/gst-xmlinspect.c:
16784         * win32/common/dirent.c:
16785           expand tabs
16786
16787 === release 0.10.0 ===
16788
16789 2005-12-05  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
16790
16791         * configure.ac:
16792           releasing 0.10.0, "Maroilles"
16793
16794 2005-12-05  Thomas Vander Stichele  <thomas at apestaart dot org>
16795
16796         submitted by: Funda Wang <fundawang@linux.net.cn>
16797
16798         * po/LINGUAS:
16799         * po/zh_CN.po:
16800           added Chinese (Traditional) translation
16801
16802 2005-12-05  Thomas Vander Stichele  <thomas at apestaart dot org>
16803
16804         * docs/gst/gstreamer-sections.txt:
16805         * docs/libs/tmpl/gstdataprotocol.sgml:
16806         * docs/random/thomasvs/TODO:
16807         * gst/gstutils.c:
16808         * gst/gstutils.h:
16809           fix docs
16810
16811 2005-12-05  Andy Wingo  <wingo@pobox.com>
16812
16813         patch by: Wim Taymans <wim@fluendo.com>
16814
16815         * libs/gst/base/gstbasetransform.c
16816         (gst_base_transform_prepare_output_buf)
16817         (gst_base_transform_buffer_alloc):
16818         * plugins/elements/gstqueue.c (gst_queue_bufferalloc): Call
16819         alloc_buffer_and_set_caps.
16820
16821         * gst/gstpad.c (gst_pad_alloc_buffer): Changed to not call
16822         set_caps on the source pad.
16823         (gst_pad_alloc_buffer_and_set_caps): New function, does what
16824         alloc_buffer used to do. Fixes #322874.
16825
16826         * docs/gst/gstreamer-sections.txt: 
16827         * docs/design/part-negotiation.txt: 
16828         * docs/pwg/advanced-negotiation.xml: Update for the alloc_buffer
16829         changes.
16830
16831 2005-12-05  Thomas Vander Stichele  <thomas at apestaart dot org>
16832
16833         patch by: Sebastien Moutte
16834
16835         * win32/MANIFEST:
16836         * win32/common/config.h.in:
16837         * win32/vs6/libgstcontroller.dsp:
16838           win32 build fixes
16839
16840 2005-12-05  Wim Taymans  <wim@fluendo.com>
16841
16842         * gst/gstcaps.c: (gst_caps_is_equal):
16843         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
16844         (gst_fake_src_create):
16845         Back out previous code changes, leave doc updates, file bugs 
16846         instead. 
16847
16848 2005-12-05  Wim Taymans  <wim@fluendo.com>
16849
16850         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
16851         (gst_fake_src_get_times), (gst_fake_src_create):
16852         * plugins/elements/gstfakesrc.h:
16853         Fix broken sync code.
16854
16855 2005-12-05  Wim Taymans  <wim@fluendo.com>
16856
16857         * gst/gstcaps.c: (gst_caps_is_equal):
16858         Comparing NULL against !NULL yields different caps, not a
16859         failure.
16860
16861 2005-12-05  Wim Taymans  <wim@fluendo.com>
16862
16863         * gst/gstpipeline.c:
16864         Fix small typo in docs.
16865
16866 2005-12-05  Andy Wingo  <wingo@pobox.com>
16867
16868         patch by: Thomas Vander Stichele  <thomas at apestaart dot org>
16869
16870         * gst/gst.c (init_post): remove hard-coded 0.9 location for
16871         registries/plugins with a MAJORMINOR one.
16872         (plugin_desc): Rename library from gstcoreleements to
16873         staticelements. Fixes #323222.
16874
16875 2005-12-05  Tim-Philipp Müller  <tim at centricular dot net>
16876
16877         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init):
16878           Change debug category to 'collectpads' from 'collect_pads'
16879           (fixes #323250).
16880
16881 2005-12-04  Thomas Vander Stichele  <thomas at apestaart dot org>
16882
16883         patch by: Sebastien Moutte
16884
16885         * libs/gst/controller/gstinterpolation.c:
16886           use convert function for uint64/double
16887         * win32/vs6/libgstcontroller.dsp:
16888           link to GLib
16889
16890 2005-12-04  Thomas Vander Stichele  <thomas at apestaart dot org>
16891
16892         * gst/gstutils.c: (gst_util_guint64_to_gdouble),
16893         (gst_util_gdouble_to_guint64), (gst_util_uint64_scale_int64):
16894         * gst/gstutils.h:
16895         * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
16896           add tests that seem to show that the guint64/gdouble conversions
16897           are correct.
16898
16899 2005-12-02  Wim Taymans  <wim@fluendo.com>
16900
16901         * gst/gstregistry.c: (gst_registry_add_path):
16902         * gst/gstregistry.h:
16903         * gst/gstregistryxml.c:
16904         Fix docs again.
16905
16906 2005-12-02  Wim Taymans  <wim@fluendo.com>
16907
16908         * gst/gstutils.c: (gst_util_uint64_scale_int64),
16909         (gst_util_uint64_scale_int):
16910         Small cleanup.
16911
16912         * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object):
16913         Add debug log line.
16914
16915         * libs/gst/base/gstbasetransform.c: (gst_base_transform_event):
16916         Add FIXME.
16917
16918 2005-12-02  Thomas Vander Stichele  <thomas at apestaart dot org>
16919
16920         * win32/MANIFEST:
16921         * win32/common/config.h:
16922         * win32/vs6/gstreamer.dsw:
16923         * win32/vs6/libgstcoreelements.dsp:
16924         * win32/vs6/libgstelements.dsp:
16925           renamed core elements plugin
16926
16927 2005-12-02  Thomas Vander Stichele  <thomas at apestaart dot org>
16928
16929         * tools/gst-run.c: (compare_major_minor), (find_highest_version),
16930         (get_candidates):
16931           do piece-wise major/minor comparison so 0.9 < 0.10
16932           also allow .exe extensions for tools
16933
16934 2005-12-02  Michael Smith  <msmith@fluendo.com>
16935
16936         * gst/gst.c:
16937           Escape a % to make gtkdoc happier; bug 322958.
16938
16939 === release 0.9.7 ===
16940
16941 2005-12-01  Thomas Vander Stichele <thomas (at) apestaart (dot) org>
16942
16943         * configure.ac:
16944           releasing 0.9.7, "My Dog Has No Nose"
16945
16946 2005-12-01  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
16947
16948         * common/gst-xmlinspect.py:
16949         * configure.ac:
16950         * docs/libs/tmpl/gstdataprotocol.sgml:
16951         * docs/random/release:
16952         * po/af.po:
16953         * po/az.po:
16954         * po/bg.po:
16955         * po/ca.po:
16956         * po/cs.po:
16957         * po/de.po:
16958         * po/en_GB.po:
16959         * po/fr.po:
16960         * po/it.po:
16961         * po/nb.po:
16962         * po/nl.po:
16963         * po/ru.po:
16964         * po/sq.po:
16965         * po/sr.po:
16966         * po/sv.po:
16967         * po/tr.po:
16968         * po/uk.po:
16969         * po/vi.po:
16970         * win32/common/config.h:
16971         * win32/common/config.h.in:
16972         * win32/vs6/gst_inspect.dsp:
16973         * win32/vs6/gst_launch.dsp:
16974         * win32/vs6/libgstbase.dsp:
16975         * win32/vs6/libgstelements.dsp:
16976         * win32/vs6/libgstreamer.dsp:
16977         * win32/vs7/GStreamer.vcproj:
16978         * win32/vs7/gst-inspect.vcproj:
16979         * win32/vs7/gst-launch.vcproj:
16980         * win32/vs7/libgstbase.vcproj:
16981           bump GST_MAJORMINOR to 0.10
16982           reset libtool version
16983
16984 2005-12-01  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
16985
16986         * po/LINGUAS:
16987         * po/bg.po:
16988           Added Bulgarian translation by (Alexander Shopov)
16989
16990 2005-12-01  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
16991
16992         * tests/check/gst/gstplugin.c:
16993           fix test
16994
16995 2005-12-01  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
16996
16997         * common/gst-xmlinspect.py:
16998         * common/gtk-doc-plugins.mak:
16999         * configure.ac:
17000         * docs/Makefile.am:
17001         * docs/gst/Makefile.am:
17002         * docs/gst/gstreamer-docs.sgml:
17003         * docs/gst/gstreamer-sections.txt:
17004         * docs/gst/gstreamer.types:
17005         * docs/gst/gstreamer.types.in:
17006         * docs/plugins/Makefile.am:
17007         * docs/plugins/gstreamer-plugins-docs.sgml:
17008         * docs/plugins/gstreamer-plugins-sections.txt:
17009         * docs/plugins/gstreamer-plugins.types:
17010         * docs/plugins/inspect.stamp:
17011         * docs/plugins/inspect/plugin-coreelements.xml:
17012         * docs/plugins/inspect/plugin-coreindexers.xml:
17013         * docs/plugins/scanobj-build.stamp:
17014         * gstreamer.spec.in:
17015         * plugins/elements/Makefile.am:
17016         * plugins/elements/gstelements.c:
17017         * plugins/elements/gstfakesink.c:
17018         * plugins/elements/gstfakesrc.c:
17019         * plugins/elements/gstfilesink.c:
17020         * plugins/elements/gstfilesrc.c:
17021         * plugins/elements/gstqueue.c:
17022         * plugins/indexers/Makefile.am:
17023         * plugins/indexers/gstindexers.c:
17024           document core plugins in a separate document just like all the
17025           others
17026           rename these plugins to something starting with core
17027
17028 2005-12-01  Andy Wingo  <wingo@pobox.com>
17029
17030         * gst/gstevent.h (struct _GstEvent): Meant to remove the extra
17031         padding here before, but it missed the commit.
17032
17033 2005-12-01  Thomas Vander Stichele  <thomas at apestaart dot org>
17034
17035         * libs/gst/controller/gstinterpolation.c:
17036           whitespace prices have crashed, we should feel free to use some now
17037           use gst_guint64_to_gdouble
17038
17039 2005-12-01  Thomas Vander Stichele  <thomas at apestaart dot org>
17040
17041         * libs/gst/controller/gstcontroller.c:
17042         * libs/gst/controller/gsthelper.c:
17043         * libs/gst/controller/gstinterpolation.c:
17044         * libs/gst/controller/lib.c:
17045           wrap config.h include
17046
17047 2005-12-01  Thomas Vander Stichele  <thomas at apestaart dot org>
17048
17049         * docs/gst/gstreamer-sections.txt:
17050           update docs
17051
17052 2005-12-01  Thomas Vander Stichele  <thomas at apestaart dot org>
17053
17054         * plugins/elements/gstelements.c:
17055         * plugins/elements/gstfdsink.c: (gst_fd_sink__base_init),
17056         (gst_fd_sink__class_init), (gst_fd_sink__init),
17057         (gst_fd_sink__chain), (gst_fd_sink__set_property),
17058         (gst_fd_sink__get_property):
17059         * plugins/elements/gstfdsink.h:
17060         * plugins/elements/gstfdsrc.c: (_do_init), (gst_fd_src_base_init),
17061         (gst_fd_src_class_init), (gst_fd_src_init), (gst_fd_src_dispose),
17062         (gst_fd_src_update_fd), (gst_fd_src_start), (gst_fd_src_stop),
17063         (gst_fd_src_unlock), (gst_fd_src_set_property),
17064         (gst_fd_src_get_property), (gst_fd_src_create),
17065         (gst_fd_src_is_seekable), (gst_fd_src_get_size),
17066         (gst_fd_src_uri_get_type), (gst_fd_src_uri_get_protocols),
17067         (gst_fd_src_uri_get_uri), (gst_fd_src_uri_set_uri),
17068         (gst_fd_src_uri_handler_init):
17069         * plugins/elements/gstfdsrc.h:
17070         * plugins/elements/gstqueue.c: (gst_queue_get_type):
17071           more anal cleanup
17072
17073 2005-11-30  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
17074
17075         * docs/gst/Makefile.am:
17076         * docs/gst/gstreamer.types.in:
17077         * gst/Makefile.am:
17078           fix the docs build
17079
17080 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
17081
17082         * configure.ac:
17083         * gst/Makefile.am:
17084         * gst/gst.c:
17085         * gst/gstplugin.h:
17086         * gst/gstregistry.h:
17087         * tests/benchmarks/complexity.c:
17088         * tests/benchmarks/mass-elements.c:
17089         * tests/check/Makefile.am:
17090         * tools/Makefile.am:
17091         * tools/gst-inspect.c:
17092         * tools/gst-xmlinspect.c:
17093           various fixes to make
17094           --disable-nls --disable-registry --disable-loadsave
17095           --disable-parse --disable-gst-debug
17096           work and get the core .so down to 360444 bytes after stripping
17097
17098 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
17099
17100         * Makefile.am:
17101         * configure.ac:
17102           descend into tests
17103         * docs/random/thomasvs/TODO:
17104         * tests/Makefile.am:
17105         * tests/README:
17106           add a README
17107
17108 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
17109
17110         * win32/GStreamer.vcproj:
17111         * win32/MANIFEST:
17112         * win32/Makefile:
17113         * win32/Makefile.inspect:
17114         * win32/Makefile.launch:
17115         * win32/Makefile.register:
17116         * win32/README.txt:
17117         * win32/gst-inspect.vcproj:
17118         * win32/gst-launch.vcproj:
17119         * win32/gst-register.vcproj:
17120         * win32/gstelements.vcproj:
17121         * win32/gstgetbits.def:
17122         * win32/gstgetbits.vcproj:
17123         * win32/gstreamer-dbg.def:
17124         * win32/gstreamer.def:
17125         * win32/libgstbase.def:
17126         * win32/libgstbase.vcproj:
17127         * win32/link_oldruntime.c:
17128         * win32/mman.c:
17129         * win32/mman.h:
17130         * win32/mman.inl:
17131         * win32/msvc71.sln:
17132           move even more stuff, win32/ is nice and clean now
17133
17134 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
17135
17136         * libs/gst/control/.cvsignore:
17137         * win32/MANIFEST:
17138         * win32/config.h:
17139         * win32/dirent.c:
17140         * win32/dirent.h:
17141         * win32/gstbytestream.def:
17142         * win32/gstbytestream.vcproj:
17143         * win32/gstconfig.h:
17144         * win32/gstenumtypes.c:
17145         * win32/gstenumtypes.h:
17146         * win32/gstoptimalscheduler.vcproj:
17147         * win32/gstversion.h:
17148         * win32/gtchar.h:
17149         * win32/testsuite/bins.vcproj:
17150         * win32/testsuite/bytestream.vcproj:
17151         * win32/testsuite/caps.vcproj:
17152         * win32/testsuite/cleanup.vcproj:
17153         * win32/testsuite/clock.vcproj:
17154         * win32/testsuite/debug.vcproj:
17155         * win32/testsuite/dlopen.vcproj:
17156         * win32/testsuite/dynparams.vcproj:
17157         * win32/testsuite/elements.vcproj:
17158         * win32/testsuite/ghostpads.vcproj:
17159         * win32/testsuite/indexers.vcproj:
17160         * win32/testsuite/negotiation.vcproj:
17161         * win32/testsuite/parse.vcproj:
17162         * win32/testsuite/plugin.vcproj:
17163         * win32/testsuite/refcounting.vcproj:
17164         * win32/testsuite/schedulers.vcproj:
17165         * win32/testsuite/states.vcproj:
17166         * win32/testsuite/tags.vcproj:
17167         * win32/testsuite/threads.vcproj:
17168           remove old win32 stuff that isn't maintained and should be
17169           reorganized
17170
17171 2005-11-30  Andy Wingo  <wingo@pobox.com>
17172
17173         * configure.ac (GST_PKG_DEPS): Revert previous patch, makes
17174         loading the gst.interfaces python module bork.
17175
17176         * configure.ac (GST_PKG_DEPS): Use gmodule-no-export-2.0.pc,
17177         available since GLib 2.2. Fixes #318031.
17178
17179 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
17180
17181         * Makefile.am:
17182         * check/.cvsignore:
17183         * check/Makefile.am:
17184         * check/elements/.cvsignore:
17185         * check/elements/fakesrc.c:
17186         * check/elements/fdsrc.c:
17187         * check/elements/identity.c:
17188         * check/generic/.cvsignore:
17189         * check/generic/states.c:
17190         * check/gst-libs/.cvsignore:
17191         * check/gst-libs/controller.c:
17192         * check/gst-libs/gdp.c:
17193         * check/gst/.cvsignore:
17194         * check/gst/capslist.h:
17195         * check/gst/gst.c:
17196         * check/gst/gstbin.c:
17197         * check/gst/gstbuffer.c:
17198         * check/gst/gstbus.c:
17199         * check/gst/gstcaps.c:
17200         * check/gst/gstelement.c:
17201         * check/gst/gstevent.c:
17202         * check/gst/gstghostpad.c:
17203         * check/gst/gstiterator.c:
17204         * check/gst/gstmessage.c:
17205         * check/gst/gstminiobject.c:
17206         * check/gst/gstobject.c:
17207         * check/gst/gstpad.c:
17208         * check/gst/gstpipeline.c:
17209         * check/gst/gstplugin.c:
17210         * check/gst/gstsegment.c:
17211         * check/gst/gststructure.c:
17212         * check/gst/gstsystemclock.c:
17213         * check/gst/gsttag.c:
17214         * check/gst/gstutils.c:
17215         * check/gst/gstvalue.c:
17216         * check/net/.cvsignore:
17217         * check/net/gstnetclientclock.c:
17218         * check/net/gstnettimeprovider.c:
17219         * check/pipelines/.cvsignore:
17220         * check/pipelines/cleanup.c:
17221         * check/pipelines/simple_launch_lines.c:
17222         * check/pipelines/stress.c:
17223         * check/states/.cvsignore:
17224         * check/states/sinks.c:
17225         * configure.ac:
17226         * examples/Makefile.am:
17227         * examples/appreader/.cvsignore:
17228         * examples/appreader/Makefile.am:
17229         * examples/appreader/appreader.c:
17230         * examples/controller/.cvsignore:
17231         * examples/controller/Makefile.am:
17232         * examples/controller/audio-example.c:
17233         * examples/cutter/.cvsignore:
17234         * examples/cutter/Makefile.am:
17235         * examples/cutter/cutter.c:
17236         * examples/cutter/cutter.h:
17237         * examples/events/Makefile.am:
17238         * examples/events/seek.c:
17239         * examples/helloworld/.cvsignore:
17240         * examples/helloworld/Makefile.am:
17241         * examples/helloworld/helloworld.c:
17242         * examples/helloworld2/.cvsignore:
17243         * examples/helloworld2/Makefile.am:
17244         * examples/helloworld2/helloworld2.c:
17245         * examples/launch/.cvsignore:
17246         * examples/launch/Makefile.am:
17247         * examples/launch/mp3parselaunch.c:
17248         * examples/launch/mp3play:
17249         * examples/manual/.cvsignore:
17250         * examples/manual/Makefile.am:
17251         * examples/manual/extract.pl:
17252         * examples/metadata/Makefile.am:
17253         * examples/metadata/read-metadata.c:
17254         * examples/mixer/.cvsignore:
17255         * examples/mixer/Makefile.am:
17256         * examples/mixer/mixer.c:
17257         * examples/mixer/mixer.h:
17258         * examples/pingpong/.cvsignore:
17259         * examples/pingpong/Makefile.am:
17260         * examples/pingpong/pingpong.c:
17261         * examples/plugins/.cvsignore:
17262         * examples/plugins/Makefile.am:
17263         * examples/plugins/example.c:
17264         * examples/plugins/example.h:
17265         * examples/pwg/.cvsignore:
17266         * examples/pwg/Makefile.am:
17267         * examples/pwg/extract.pl:
17268         * examples/queue/.cvsignore:
17269         * examples/queue/Makefile.am:
17270         * examples/queue/queue.c:
17271         * examples/queue2/.cvsignore:
17272         * examples/queue2/Makefile.am:
17273         * examples/queue2/queue2.c:
17274         * examples/queue3/.cvsignore:
17275         * examples/queue3/Makefile.am:
17276         * examples/queue3/queue3.c:
17277         * examples/queue4/.cvsignore:
17278         * examples/queue4/Makefile.am:
17279         * examples/queue4/queue4.c:
17280         * examples/retag/.cvsignore:
17281         * examples/retag/Makefile.am:
17282         * examples/retag/retag.c:
17283         * examples/retag/transcode.c:
17284         * examples/thread/.cvsignore:
17285         * examples/thread/Makefile.am:
17286         * examples/thread/thread.c:
17287         * examples/typefind/.cvsignore:
17288         * examples/typefind/Makefile.am:
17289         * examples/typefind/typefind.c:
17290         * examples/xml/.cvsignore:
17291         * examples/xml/Makefile.am:
17292         * examples/xml/createxml.c:
17293         * examples/xml/runxml.c:
17294         * tests/Makefile.am:
17295         * tests/check/Makefile.am:
17296         * testsuite/.cvsignore:
17297         * testsuite/Makefile.am:
17298         * testsuite/Rules:
17299         * testsuite/caps/.cvsignore:
17300         * testsuite/caps/Makefile.am:
17301         * testsuite/caps/app_fixate.c:
17302         * testsuite/caps/audioscale.c:
17303         * testsuite/caps/caps.c:
17304         * testsuite/caps/caps.h:
17305         * testsuite/caps/caps_strings:
17306         * testsuite/caps/compatibility.c:
17307         * testsuite/caps/deserialize.c:
17308         * testsuite/caps/enumcaps.c:
17309         * testsuite/caps/eratosthenes.c:
17310         * testsuite/caps/filtercaps.c:
17311         * testsuite/caps/fixed.c:
17312         * testsuite/caps/fraction-convert.c:
17313         * testsuite/caps/fraction-multiply-and-zero.c:
17314         * testsuite/caps/intersect2.c:
17315         * testsuite/caps/intersection.c:
17316         * testsuite/caps/normalisation.c:
17317         * testsuite/caps/random.c:
17318         * testsuite/caps/renegotiate.c:
17319         * testsuite/caps/sets.c:
17320         * testsuite/caps/simplify.c:
17321         * testsuite/caps/string-conversions.c:
17322         * testsuite/caps/structure.c:
17323         * testsuite/caps/subtract.c:
17324         * testsuite/caps/union.c:
17325         * testsuite/debug/.cvsignore:
17326         * testsuite/debug/Makefile.am:
17327         * testsuite/debug/category.c:
17328         * testsuite/debug/commandline.c:
17329         * testsuite/debug/global.c:
17330         * testsuite/debug/output.c:
17331         * testsuite/debug/printf_extension.c:
17332         * testsuite/dlopen/.cvsignore:
17333         * testsuite/dlopen/Makefile.am:
17334         * testsuite/dlopen/dlopen_gst.c:
17335         * testsuite/dlopen/loadgst.c:
17336         * testsuite/elements/.cvsignore:
17337         * testsuite/elements/Makefile.am:
17338         * testsuite/elements/gst-inspect-check.in:
17339         * testsuite/elements/struct_i386.h:
17340         * testsuite/elements/struct_size.c:
17341         * testsuite/indexers/.cvsignore:
17342         * testsuite/indexers/Makefile.am:
17343         * testsuite/indexers/cache1.c:
17344         * testsuite/indexers/indexdump.c:
17345         * testsuite/parse/.cvsignore:
17346         * testsuite/parse/Makefile.am:
17347         * testsuite/parse/parse1.c:
17348         * testsuite/parse/parse2.c:
17349         * testsuite/plugin/.cvsignore:
17350         * testsuite/plugin/Makefile.am:
17351         * testsuite/plugin/README:
17352         * testsuite/plugin/dynamic.c:
17353         * testsuite/plugin/linked.c:
17354         * testsuite/plugin/loading.c:
17355         * testsuite/plugin/registry.c:
17356         * testsuite/plugin/static.c:
17357         * testsuite/plugin/static2.c:
17358         * testsuite/plugin/testplugin.c:
17359         * testsuite/plugin/testplugin2.c:
17360         * testsuite/plugin/testplugin2_s.c:
17361         * testsuite/plugin/testplugin_s.c:
17362         * testsuite/refcounting/.cvsignore:
17363         * testsuite/refcounting/Makefile.am:
17364         * testsuite/refcounting/bin.c:
17365         * testsuite/refcounting/element.c:
17366         * testsuite/refcounting/element_pad.c:
17367         * testsuite/refcounting/mainloop.c:
17368         * testsuite/refcounting/mem.c:
17369         * testsuite/refcounting/mem.h:
17370         * testsuite/refcounting/object.c:
17371         * testsuite/refcounting/pad.c:
17372         * testsuite/refcounting/sched.c:
17373         * testsuite/refcounting/thread.c:
17374         * testsuite/states/.cvsignore:
17375         * testsuite/states/Makefile.am:
17376         * testsuite/states/bin.c:
17377         * testsuite/states/locked.c:
17378         * testsuite/states/parent.c:
17379         * testsuite/threads/.cvsignore:
17380         * testsuite/threads/159566.c:
17381         * testsuite/threads/159852.c:
17382         * testsuite/threads/Makefile.am:
17383         * testsuite/threads/queue.c:
17384         * testsuite/threads/signals.c:
17385         * testsuite/threads/staticrec.c:
17386         * testsuite/threads/thread.c:
17387         * testsuite/threads/threadb.c:
17388         * testsuite/threads/threadc.c:
17389         * testsuite/threads/threadd.c:
17390         * testsuite/threads/threade.c:
17391         * testsuite/threads/threadf.c:
17392         * testsuite/threads/threadg.c:
17393         * testsuite/threads/threadh.c:
17394         * testsuite/threads/threadi.c:
17395           move all of these under tests
17396
17397 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
17398
17399         * configure.ac:
17400         * tests/Makefile.am:
17401           fix distcheck
17402
17403 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
17404
17405         * docs/gst/gstreamer-sections.txt:
17406         * tests/sched/.cvsignore:
17407         * tests/sched/Makefile.am:
17408         * tests/sched/cases/(fs-fs).xml:
17409         * tests/sched/cases/(fs-i-fs).xml:
17410         * tests/sched/cases/(fs-i-i-fs).xml:
17411         * tests/sched/cases/(fs-i-q[i-fs]).xml:
17412         * tests/sched/dynamic-pipeline.c:
17413         * tests/sched/interrupt1.c:
17414         * tests/sched/interrupt2.c:
17415         * tests/sched/interrupt3.c:
17416         * tests/sched/runtestcases:
17417         * tests/sched/runxml.c:
17418         * tests/sched/sched-stress.c:
17419         * tests/sched/sort.c:
17420         * tests/sched/testcases:
17421         * tests/sched/testcases1.tc:
17422         * tests/seeking/.cvsignore:
17423         * tests/seeking/Makefile.am:
17424         * tests/seeking/seeking1.c:
17425         * tests/threadstate/.cvsignore:
17426         * tests/threadstate/Makefile.am:
17427         * tests/threadstate/test1.c:
17428         * tests/threadstate/test2.c:
17429         * tests/threadstate/threadstate1.c:
17430         * tests/threadstate/threadstate2.c:
17431         * tests/threadstate/threadstate3.c:
17432         * tests/threadstate/threadstate4.c:
17433         * tests/threadstate/threadstate5.c:
17434           remove obsolete tests
17435         * configure.ac:
17436         * tests/bench-complexity.scm:
17437         * tests/bench-mass_elements.scm:
17438         * tests/complexity.c:
17439         * tests/complexity.gnuplot:
17440         * tests/instantiate/.cvsignore:
17441         * tests/instantiate/Makefile.am:
17442         * tests/instantiate/caps.c:
17443         * tests/mass_elements.c:
17444         * tests/network-clock-utils.scm:
17445         * tests/network-clock.scm:
17446         * tests/plot-data:
17447         First pass at cleaning up tests/ dir before moving the rest
17448         Combined with CVS surgery
17449
17450 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
17451
17452         * po/POTFILES.in:
17453           queue has moved, update
17454
17455 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
17456
17457         * docs/gst/gstreamer-sections.txt:
17458           remove double entries from the docs
17459         * gst/gst_private.h:
17460         * gst/gstinfo.c: (_gst_debug_init):
17461           remove the THREAD debug category
17462         * gst/Makefile.am:
17463         * gst/gstqueue.c:
17464         * gst/gstqueue.h:
17465         * docs/gst/gstreamer.types:
17466         * plugins/elements/gstqueue.c: (gst_queue_get_type),
17467         (gst_queue_init), (gst_queue_finalize), (gst_queue_change_state):
17468           completely move queue and fix up debugging categories
17469
17470 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
17471
17472         * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
17473           make initialization portable, using LL is not
17474
17475 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
17476
17477         * win32/common/gstconfig.h:
17478           add large padding
17479
17480 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
17481
17482         * win32/common/libgstreamer.def:
17483           rename symbols; sort base section
17484
17485 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
17486
17487         * gst/gstclock.c: (do_linear_regression):
17488           remove crack non-portable handrolled DEBUG macro
17489
17490 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
17491
17492         * docs/random/release:
17493           update notes
17494         * win32/common/gstenumtypes.c: (register_gst_object_flags),
17495         (gst_object_flags_get_type), (register_gst_bin_flags),
17496         (gst_bin_flags_get_type), (register_gst_buffer_flag),
17497         (gst_buffer_flag_get_type), (register_gst_bus_flags),
17498         (gst_bus_flags_get_type), (register_gst_bus_sync_reply),
17499         (gst_bus_sync_reply_get_type), (register_gst_caps_flags),
17500         (gst_caps_flags_get_type), (register_gst_clock_return),
17501         (gst_clock_return_get_type), (register_gst_clock_entry_type),
17502         (gst_clock_entry_type_get_type), (register_gst_clock_flags),
17503         (gst_clock_flags_get_type), (register_gst_state),
17504         (gst_state_get_type), (register_gst_state_change_return),
17505         (gst_state_change_return_get_type), (register_gst_state_change),
17506         (gst_state_change_get_type), (register_gst_element_flags),
17507         (gst_element_flags_get_type), (register_gst_core_error),
17508         (gst_core_error_get_type), (register_gst_library_error),
17509         (gst_library_error_get_type), (register_gst_resource_error),
17510         (gst_resource_error_get_type), (register_gst_stream_error),
17511         (gst_stream_error_get_type), (register_gst_event_type_flags),
17512         (gst_event_type_flags_get_type), (register_gst_event_type),
17513         (gst_event_type_get_type), (register_gst_seek_type),
17514         (gst_seek_type_get_type), (register_gst_seek_flags),
17515         (gst_seek_flags_get_type), (register_gst_format),
17516         (gst_format_get_type), (register_gst_index_certainty),
17517         (gst_index_certainty_get_type), (register_gst_index_entry_type),
17518         (gst_index_entry_type_get_type),
17519         (register_gst_index_lookup_method),
17520         (gst_index_lookup_method_get_type), (register_gst_assoc_flags),
17521         (gst_assoc_flags_get_type), (register_gst_index_resolver_method),
17522         (gst_index_resolver_method_get_type), (register_gst_index_flags),
17523         (gst_index_flags_get_type), (register_gst_debug_level),
17524         (gst_debug_level_get_type), (register_gst_debug_color_flags),
17525         (gst_debug_color_flags_get_type), (register_gst_iterator_result),
17526         (gst_iterator_result_get_type), (register_gst_iterator_item),
17527         (gst_iterator_item_get_type), (register_gst_message_type),
17528         (gst_message_type_get_type), (register_gst_mini_object_flags),
17529         (gst_mini_object_flags_get_type), (register_gst_pad_link_return),
17530         (gst_pad_link_return_get_type), (register_gst_flow_return),
17531         (gst_flow_return_get_type), (register_gst_activate_mode),
17532         (gst_activate_mode_get_type), (register_gst_pad_direction),
17533         (gst_pad_direction_get_type), (register_gst_pad_flags),
17534         (gst_pad_flags_get_type), (register_gst_pad_presence),
17535         (gst_pad_presence_get_type), (register_gst_pad_template_flags),
17536         (gst_pad_template_flags_get_type), (register_gst_pipeline_flags),
17537         (gst_pipeline_flags_get_type), (register_gst_plugin_error),
17538         (gst_plugin_error_get_type), (register_gst_plugin_flags),
17539         (gst_plugin_flags_get_type), (register_gst_rank),
17540         (gst_rank_get_type), (register_gst_query_type),
17541         (gst_query_type_get_type), (register_gst_tag_merge_mode),
17542         (gst_tag_merge_mode_get_type), (register_gst_tag_flag),
17543         (gst_tag_flag_get_type), (register_gst_task_state),
17544         (gst_task_state_get_type), (register_gst_alloc_trace_flags),
17545         (gst_alloc_trace_flags_get_type),
17546         (register_gst_type_find_probability),
17547         (gst_type_find_probability_get_type), (register_gst_uri_type),
17548         (gst_uri_type_get_type), (register_gst_parse_error),
17549         (gst_parse_error_get_type):
17550         * win32/common/gstenumtypes.h:
17551         * win32/common/gstversion.h:
17552           update visual studio generated files
17553
17554 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
17555
17556         * win32/vs6/libgstbase.dsp:
17557         * win32/vs6/libgstelements.dsp:
17558           update project files for new locations
17559
17560 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
17561
17562         * Makefile.am:
17563           remove some files
17564         * README:
17565           reinstate and update
17566         * DEVEL:
17567         * REQUIREMENTS:
17568           removed
17569         * LICENSE:
17570         * docs/random/LICENSE:
17571           moved to random
17572
17573 2005-11-30  Edward Hervey  <edward@fluendo.com>
17574
17575         * gst/gsttypefind.c: (gst_type_find_register):
17576         * gst/gsttypefind.h:
17577         * gst/gsttypefindfactory.c: (gst_type_find_factory_init),
17578         (gst_type_find_factory_dispose):
17579         * gst/gsttypefindfactory.h:
17580         Fix memory leak in GstTypeFindFactory.
17581
17582 2005-11-29  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
17583
17584         * gst/gst.c:
17585         * plugins/elements/Makefile.am:
17586         * plugins/elements/gstelements.c:
17587         * plugins/elements/gstqueue.c:
17588           move queue from core to the elements plugin
17589
17590 2005-11-29  Andy Wingo  <wingo@pobox.com>
17591
17592         * libs/gst/base/gstbasetransform.h: 
17593         * libs/gst/base/gstbasesrc.h: 
17594         * libs/gst/base/gstbasesink.h: en-LARGE the padding.
17595
17596         * gst/gstconfig.h.in (GST_PADDING_LARGE): New define, the number
17597         of pointers by which to pad very extensible base classes (like the
17598         ones in libs/gst/base).
17599
17600 2005-11-29  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
17601
17602         * docs/gst/gstreamer-docs.sgml:
17603         * docs/gst/gstreamer-sections.txt:
17604         * docs/libs/gstreamer-libs-docs.sgml:
17605         * docs/libs/gstreamer-libs-sections.txt:
17606           moving documentation from core to lib
17607
17608 2005-11-29  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
17609
17610         * check/Makefile.am:
17611         * configure.ac:
17612         * docs/gst/Makefile.am:
17613         * gst/Makefile.am:
17614         * gst/base/.cvsignore:
17615         * gst/base/Makefile.am:
17616         * gst/base/README:
17617         * gst/base/gstadapter.c:
17618         * gst/base/gstadapter.h:
17619         * gst/base/gstbasesink.c:
17620         * gst/base/gstbasesink.h:
17621         * gst/base/gstbasesrc.c:
17622         * gst/base/gstbasesrc.h:
17623         * gst/base/gstbasetransform.c:
17624         * gst/base/gstbasetransform.h:
17625         * gst/base/gstcollectpads.c:
17626         * gst/base/gstcollectpads.h:
17627         * gst/base/gstpushsrc.c:
17628         * gst/base/gstpushsrc.h:
17629         * gst/base/gsttypefindhelper.c:
17630         * gst/base/gsttypefindhelper.h:
17631         * gst/check/Makefile.am:
17632         * gst/check/gstcheck.c:
17633         * gst/check/gstcheck.h:
17634         * gst/net/Makefile.am:
17635         * gst/net/gstnet.h:
17636         * gst/net/gstnetclientclock.c:
17637         * gst/net/gstnetclientclock.h:
17638         * gst/net/gstnettimepacket.c:
17639         * gst/net/gstnettimepacket.h:
17640         * gst/net/gstnettimeprovider.c:
17641         * gst/net/gstnettimeprovider.h:
17642         * libs/gst/Makefile.am:
17643         * libs/gst/base/Makefile.am:
17644         * libs/gst/base/gstbasetransform.c:
17645         * libs/gst/check/Makefile.am:
17646         * plugins/elements/Makefile.am:
17647         * po/POTFILES.in:
17648           CVS surgery + support to move base, check, and net out of gst
17649           and into libs/gst
17650
17651 2005-11-29  Andy Wingo  <wingo@pobox.com>
17652
17653         * gst/gstevent.h (struct _GstEvent): Only one pointer of padding.
17654
17655         * gst/gststructure.h (struct _GstStructure): Only one pointer of
17656         padding.
17657
17658         * gst/gstquery.h (struct _GstQuery): Only one pointer of padding.
17659
17660         * gst/gstpluginfeature.h: Remove a comment in PluginFeature.
17661
17662         * gst/gstplugin.h (struct _GstPluginClass): Add some padding.
17663
17664         * gst/gstobject.h: (struct _GstObject): Only one pointer of
17665         padding; reduces object size by about 30%. We don't expect
17666         anything else to go into gstobject.
17667
17668         * gst/gstminiobject.h (struct _GstMiniObject)
17669         (struct _GstMiniObjectClass): Only one pointer of padding; the
17670         payload is only a pointer and two ints anyway. For the class there
17671         are only two methods as well.
17672         
17673         * gst/gstelement.h (struct _GstElementClass): Removed
17674         the state_changed signal callback, it is not used.
17675
17676 2005-11-29  Thomas Vander Stichele  <thomas at apestaart dot org>
17677
17678         * docs/gst/gstreamer.types:
17679           fix includes, though they are a little dinky
17680
17681 2005-11-29  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
17682
17683         * check/Makefile.am:
17684           look in the right place for elements, a lot more chance of
17685           success
17686         * gst/Makefile.am:
17687           remove indexers and elements subdirs
17688         * plugins/Makefile.am:
17689           make indexers conditional
17690
17691 2005-11-29  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
17692
17693         * Makefile.am:
17694         * configure.ac:
17695         * plugins/elements/Makefile.am:
17696         * plugins/elements/gstcapsfilter.c:
17697         * plugins/elements/gstfilesink.c:
17698         * plugins/elements/gstfilesrc.c:
17699         * plugins/elements/gstidentity.c:
17700         * plugins/indexers/Makefile.am:
17701           do CVS surgery and related build fixery to move elements
17702           and indexers in a new gstreamer/plugins directory, out of the
17703           gst/ directory
17704
17705 2005-11-29  Andy Wingo  <wingo@pobox.com>
17706
17707         * check/Makefile.am:
17708         * pkgconfig/gstreamer-net-uninstalled.pc.in:
17709         * pkgconfig/gstreamer-net.pc.in:
17710         * gst/net/Makefile.am: Rename gstnet-tempname to gstnet. Fixes
17711         #322257.
17712
17713 2005-11-29  Thomas Vander Stichele  <thomas at apestaart dot org>
17714
17715         * tools/Makefile.am:
17716         * tools/gst-complete.1.in:
17717         * tools/gst-complete.c:
17718         * tools/gst-compprep.1.in:
17719         * tools/gst-compprep.c:
17720           removing -compprep and -complete
17721
17722 2005-11-29  Thomas Vander Stichele  <thomas at apestaart dot org>
17723
17724         * gst/gstevent.c: (gst_event_new_new_segment),
17725         (gst_event_parse_new_segment):
17726         * gst/gstevent.h:
17727           fix #320529 - clean up new_segment API and structure.
17728           Let's hope everyone was using the methods, and not the structure.
17729
17730 2005-11-29  Edward Hervey  <edward@fluendo.com>
17731
17732         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
17733         (gst_base_sink_event), (gst_base_sink_do_sync),
17734         (gst_base_sink_activate_pull), (gst_base_sink_change_state):
17735         Properly handle non GST_FORMAT_TIME segment
17736         * gst/elements/gstidentity.c: (gst_identity_transform_ip):
17737         Properly handle non GST_FORMAT_TIME segment
17738         * gst/gstsegment.c:
17739         This function is valid if the accumulator is 0 and the format
17740         is different from the requested format.
17741         
17742 2005-11-29  Jan Schmidt  <thaytan@mad.scientist.com>
17743
17744         * docs/gst/gstreamer-sections.txt:
17745         Add gst_query_new_seeking and gst_query_parse_seeking to the
17746         docs.
17747
17748 2005-11-29  Jan Schmidt  <thaytan@mad.scientist.com>
17749
17750         * gst/base/gstbasetransform.c: (gst_base_transform_buffer_alloc):
17751           Treat a pad alloc with new caps the same as if we were not
17752           negotiated, in order to allow a changing upstream output
17753           to produce a new format of data.
17754
17755 2005-11-29  Edward Hervey  <edward@fluendo.com>
17756
17757         * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
17758         (gst_base_transform_event), (gst_base_transform_eventfunc):
17759         The event virtual method is now properly implemented, with a default
17760         handler
17761         Sub classes should call the parent_class event method. They should
17762         return FALSE if they had a problem handling the given event, or don't
17763         want GstBaseTransform to send that even downstream
17764         * gst/elements/gstidentity.c: (gst_identity_class_init),
17765         (gst_identity_init), (gst_identity_event),
17766         (gst_identity_transform_ip), (gst_identity_set_property),
17767         (gst_identity_get_property):
17768         * gst/elements/gstidentity.h:
17769         Added the single-segment boolean property.
17770         If set to TRUE, it will output a single segment of data, starting from
17771         0, will eat up all incoming newsegment, and modify the timestamp of the
17772         buffers accordingly
17773
17774 2005-11-29  Tim-Philipp Müller  <tim at centricular dot net>
17775
17776         * gst/gstghostpad.c: (gst_proxy_pad_get_target):
17777           Don't ref NULL target pad (#322751). Improve docs.
17778
17779 2005-11-29  Michael Smith  <msmith@fluendo.com>
17780
17781         * gst/gstregistryxml.c: (load_plugin):
17782           Don't crash if we failed to load a feature from a plugin. 
17783
17784 2005-11-28  Thomas Vander Stichele  <thomas at apestaart dot org>
17785
17786         * check/pipelines/simple_launch_lines.c: (setup_pipeline),
17787         (GST_START_TEST):
17788           use more check API and less GLib API
17789
17790 2005-11-28  Thomas Vander Stichele  <thomas at apestaart dot org>
17791
17792         * Makefile.am:
17793           don't run checks if we don't have check
17794         * common/check.mak:
17795           remove the registry when running make torture
17796         * docs/gst/gstreamer-sections.txt:
17797           remove second multiply
17798         * gst/gstqueue.c: (gst_queue_loop):
17799           fix a compile warning when disabling debug
17800
17801 2005-11-28  Jan Schmidt  <thaytan@mad.scientist.com>
17802
17803         * gst/gstinfo.h:
17804         Hey! Let's print the pad name if the pointer != NULL instead
17805         of when it == NULL :-)
17806
17807 2005-11-28  Wim Taymans  <wim@fluendo.com>
17808
17809         * check/gst/gstutils.c: (GST_START_TEST):
17810         Updated check, add some scaling accuracy checking code.
17811
17812         * gst/gstutils.c: (gst_util_div128_64),
17813         (gst_util_uint64_scale_int64), (gst_util_uint64_scale),
17814         (gst_util_uint64_scale_int):
17815         Fix 6 times faster division code. Optimize for common 
17816         1/1 and less common X/1 cases.
17817
17818 2005-11-28  Wim Taymans  <wim@fluendo.com>
17819
17820         * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
17821         More checks.
17822
17823         * gst/gstclock.c: (gst_clock_finalize), (gst_clock_set_master),
17824         (do_linear_regression), (gst_clock_add_observation):
17825         Cleanups.
17826         Release lock when the clock cannot be slaved.
17827         Catch the case where the regression returned an invalid denominator.
17828
17829         * gst/gstutils.c: (gst_util_div128_64_iterate),
17830         (gst_util_div128_64), (gst_util_uint64_scale_int64),
17831         (gst_util_uint64_scale), (gst_util_uint64_scale_int):
17832         Add protentially more performant non-iterative 128/64 divide function
17833         that unfortunatly does not work yet.
17834         Shortcut the trivial 0/X = 0 case.
17835         Remove the warnings on overflow.
17836
17837 2005-11-28  Thomas Vander Stichele  <thomas at apestaart dot org>
17838
17839         * gst/gstplugin.c: (gst_plugin_register_func):
17840           everything causing a plugin not to load should be at least a WARNING
17841
17842 2005-11-28  Stefan Kost  <ensonic@users.sf.net>
17843
17844         * docs/random/ensonic/dparams.txt:
17845           some TODOs for the next dev cycle
17846         * libs/gst/controller/gstcontroller.c:
17847         (gst_controlled_property_set_interpolation_mode),
17848         (gst_controlled_property_new):
17849         * libs/gst/controller/gstcontroller.h:
17850           use base type to assign acccessor functions
17851
17852 2005-11-28  Jan Schmidt  <thaytan@mad.scientist.com>
17853
17854         * check/Makefile.am:
17855         Oops, that should have been top_srcdir
17856
17857 2005-11-28  Jan Schmidt  <thaytan@mad.scientist.com>
17858
17859         * check/Makefile.am:
17860         * check/elements/fdsrc.c: (GST_START_TEST):
17861         Use a cmdline define to specify the location of a file to use for
17862         testing, to avoid breaking distcheck.
17863
17864 2005-11-28  Andy Wingo  <wingo@pobox.com>
17865
17866         * gst/gstpad.c (fixate_value): Use array functions for arrays.
17867
17868 2005-11-28  Edward Hervey  <edward@fluendo.com>
17869
17870         * tools/gst-launch.c: (main):
17871         Clarify the output strings, makes it easier to translate.
17872         Fixes #322626
17873
17874 2005-11-28  Thomas Vander Stichele  <thomas at apestaart dot org>
17875
17876         * gst/Makefile.am:
17877           don't try and build net if we don't even have <sys/socket.h>
17878
17879 2005-11-27  Jan Schmidt  <thaytan@mad.scientist.com>
17880
17881         * check/Makefile.am:
17882         * check/elements/fdsrc.c: (event_func), (setup_fdsrc),
17883         (cleanup_fdsrc), (GST_START_TEST), (fdsrc_suite), (main):
17884           Add tests for fdsrc seekability
17885
17886         * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init),
17887         (gst_fdsrc_init), (gst_fdsrc_update_fd), (gst_fdsrc_start),
17888         (gst_fdsrc_set_property), (gst_fdsrc_is_seekable),
17889         (gst_fdsrc_get_size), (gst_fdsrc_uri_set_uri):
17890         * gst/elements/gstfdsrc.h:
17891           fdsrc should not be a 'live' source.
17892           Implement seeking on seekable fd's.
17893
17894         * gst/gstquery.c: (gst_query_new_seeking),
17895         (gst_query_parse_seeking):
17896         * gst/gstquery.h:
17897           Implement SEEKING query functions: 
17898             *_new_seeking and *_parse_seeking
17899
17900 2005-11-27  Stefan Kost  <ensonic@users.sf.net>
17901
17902         * gst/gstelement.c: (gst_element_dispose):
17903           don't loop forever
17904
17905         * gst/gstiterator.c:
17906         * gst/gststructure.c:
17907           doc fixes
17908
17909         * libs/gst/controller/gstcontroller.c:
17910         (gst_controlled_property_set_interpolation_mode):
17911         * libs/gst/controller/gstcontroller.h:
17912         * libs/gst/controller/gstinterpolation.c:
17913         (interpolate_none_get_enum_value_array):
17914           support controlling enums
17915
17916 2005-11-27  Tim-Philipp Müller  <tim at centricular dot net>
17917
17918         * gst/gstvalue.c:
17919           Improve documentation for gst_value_union().
17920
17921         * gst/gstvalue.h:
17922           Change return value for union, intersect and subtract functions
17923           from gint to gboolean.
17924
17925 2005-11-27  Tim-Philipp Müller  <tim at centricular dot net>
17926
17927         * gst/gstvalue.c: (gst_value_serialize_any_list),
17928         (gst_value_transform_any_list_string),
17929         (gst_value_deserialize_list), (gst_value_deserialize_array),
17930         (gst_value_set_int_range), (gst_value_deserialize_int_range),
17931         (gst_value_set_double_range), (gst_value_deserialize_double_range),
17932         (gst_value_set_fraction_range_full),
17933         (gst_value_deserialize_fraction_range),
17934         (gst_value_deserialize_caps), (gst_value_deserialize_buffer),
17935         (gst_value_deserialize_boolean),
17936         (gst_value_deserialize_int_helper), (gst_value_deserialize_double),
17937         (gst_value_serialize_float), (gst_value_deserialize_float),
17938         (gst_string_wrap), (gst_value_deserialize_string),
17939         (gst_value_deserialize_enum), (gst_value_deserialize_flags),
17940         (gst_value_union_int_range_int_range),
17941         (gst_value_intersect_int_range_int_range),
17942         (gst_value_intersect_double_range_double_range),
17943         (gst_value_create_new_range), (gst_value_subtract_int_range_int),
17944         (gst_value_subtract_int_range_int_range),
17945         (gst_value_subtract_double_double_range),
17946         (gst_value_subtract_double_range_double_range),
17947         (gst_value_deserialize_fraction):
17948         * gst/gstvalue.h:
17949           Use gint, gdouble and gchar in our API instead of int, double and
17950           char (and make usage in gstvalue.c more consistent).
17951
17952 2005-11-27  Thomas Vander Stichele  <thomas at apestaart dot org>
17953
17954         * check/Makefile.am:
17955         * libs/gst/controller/Makefile.am:
17956         * libs/gst/dataprotocol/Makefile.am:
17957           fix up Makefile.am and remove GST_ENABLE_NEW
17958
17959 2005-11-27  Thomas Vander Stichele  <thomas at apestaart dot org>
17960
17961         * configure.ac:
17962         * gst/Makefile.am:
17963         * gst/base/Makefile.am:
17964         * gst/check/Makefile.am:
17965         * gst/elements/Makefile.am:
17966         * gst/net/Makefile.am:
17967           update LDFLAGS use some more
17968
17969 2005-11-27  Thomas Vander Stichele  <thomas at apestaart dot org>
17970
17971         * common/m4/gst-doc.m4:
17972           Fixes #312589
17973
17974 2005-11-26  Edward Hervey  <edward@fluendo.com>
17975
17976         * gst/gstpluginfeature.c: (gst_plugin_feature_load):
17977         This shouldn't issue a g_warning since it returns NULL if it
17978         couldn't find the plugin, and all functions using this behave
17979         properly on a NULL return. Switching to a GST_WARNING.
17980
17981 2005-11-25  Jan Schmidt  <thaytan@mad.scientist.com>
17982
17983         * gst/gstbin.c: (gst_bin_handle_message_func):
17984         Don't leak clock messages.
17985
17986 2005-11-25  Wim Taymans  <wim@fluendo.com>
17987
17988         * gst/gstutils.c: (gst_util_uint64_scale_int64),
17989         (gst_util_uint64_scale_int):
17990         Optimisations, remove unneeded vars.
17991
17992 2005-11-25  Wim Taymans  <wim@fluendo.com>
17993
17994         * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
17995         Added more checks for the high precision uint64 cases.
17996
17997         * gst/gstutils.c: (gst_util_uint64_scale_int64),
17998         (gst_util_uint64_scale), (gst_util_uint64_scale_int):
17999         Implement high precision (guint64 * guint64) / guint64.
18000
18001 2005-11-24  Wim Taymans  <wim@fluendo.com>
18002
18003         * gst/base/gstbasesrc.c: (gst_base_src_query):
18004         Fix wrong percentage query.
18005
18006         * gst/gstutils.c: (gst_util_uint64_scale),
18007         (gst_util_uint64_scale_int):
18008         Add some more common cases that can be handled 
18009         efficiently to _scale.
18010
18011 2005-11-24  Thomas Vander Stichele  <thomas at apestaart dot org>
18012
18013         * check/gst/gstminiobject.c: (thread_ref), (GST_START_TEST),
18014         (gst_mini_object_suite):
18015           don't use check calls from threads; check probably isn't
18016           threadsafe and using a lock to make it threadsafe would
18017           defeat the purpose of this check
18018         * gst/check/gstcheck.c:
18019         * gst/check/gstcheck.h:
18020           use GST_DEBUG some more
18021
18022 2005-11-24  Wim Taymans  <wim@fluendo.com>
18023
18024         * gst/gstutils.c: (gst_util_uint64_scale),
18025         (gst_util_uint64_scale_int):
18026         Chain trivial case to _scale_int.
18027
18028 2005-11-24  Wim Taymans  <wim@fluendo.com>
18029
18030         * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
18031         Added test for scaling.
18032
18033         * gst/gstclock.h:
18034         Small doc fix.
18035
18036         * gst/gstutils.c: (gst_util_uint64_scale_int):
18037         Implemented high precision scaling code.
18038
18039 2005-11-24  Stefan Kost  <ensonic@users.sf.net>
18040
18041         * gst/gstinfo.h:
18042           do not crash on pad==NULL
18043
18044 2005-11-24  Thomas Vander Stichele  <thomas at apestaart dot org>
18045
18046         Patch by: Stefan Kost
18047
18048         * common/gtk-doc.mak:
18049         * docs/gst/Makefile.am:
18050         * docs/libs/Makefile.am:
18051           Fix distcheck issues for the libraries docs build
18052           Closes #319599.
18053
18054 2005-11-24  Michael Smith <msmith@fluendo.com>
18055
18056         * docs/manual/basics-helloworld.xml:
18057           Fix bug #315027: memory leak in example code in docs.
18058
18059 2005-11-24  Michael Smith <msmith@fluendo.com>
18060
18061         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
18062           Unlock the PREROLL_LOCK in a failure case.
18063
18064 2005-11-24  Wim Taymans  <wim@fluendo.com>
18065
18066         * docs/gst/gstreamer-sections.txt:
18067         * gst/base/gstadapter.h:
18068         * gst/base/gstbasesink.h:
18069         * gst/base/gstbasesrc.h:
18070         * gst/base/gstbasetransform.h:
18071         * gst/base/gstpushsrc.h:
18072         * gst/elements/gstfakesink.h:
18073         * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type):
18074         * gst/elements/gstfakesrc.h:
18075         * gst/elements/gstfilesink.h:
18076         * gst/elements/gstfilesrc.h:
18077         * gst/gst.c:
18078         * gst/gstbin.c:
18079         * gst/gstbuffer.c: (_gst_buffer_copy):
18080         * gst/gstbus.h:
18081         * gst/gstcaps.c:
18082         * gst/gstchildproxy.c:
18083         * gst/gstclock.c:
18084         * gst/gstelement.c:
18085         * gst/gstelementfactory.c:
18086         * gst/gstelementfactory.h:
18087         * gst/gstevent.c:
18088         * gst/gstghostpad.h:
18089         * gst/gstindex.h:
18090         * gst/gstinterface.h:
18091         * gst/gstminiobject.c:
18092         * gst/gstminiobject.h:
18093         * gst/gstpad.c:
18094         * gst/gstpad.h:
18095         * gst/gstpadtemplate.h:
18096         * gst/gstpipeline.h:
18097         * gst/gstpluginfeature.h:
18098         * gst/gstquery.h:
18099         * gst/gstqueue.h:
18100         * gst/gsttaglist.c:
18101         * gst/gsttaglist.h:
18102         * gst/gsttagsetter.c:
18103         * gst/gsttagsetter.h:
18104         * gst/gsttrace.c:
18105         * gst/gsttrace.h:
18106         * gst/gsttypefind.h:
18107         * gst/gsturi.h:
18108         * gst/gstvalue.c:
18109         * gst/net/gstnetclientclock.c:
18110         * gst/net/gstnetclientclock.h:
18111         * gst/net/gstnettimepacket.c:
18112         * gst/net/gstnettimeprovider.c:
18113         * gst/net/gstnettimeprovider.h:
18114         Doc fixes.
18115
18116 2005-11-23  Thomas Vander Stichele  <thomas at apestaart dot org>
18117
18118         * configure.ac: back to HEAD
18119
18120 === release 0.9.6 ===
18121
18122 2005-11-23  Thomas Vander Stichele <thomas at apestaart dot org>
18123
18124         * configure.ac:
18125           releasing 0.9.6, "Always On Time"
18126
18127 2005-11-23  Wim Taymans  <wim@fluendo.com>
18128
18129         * docs/gst/gstreamer-sections.txt:
18130         * gst/glib-compat.c:
18131         * gst/gsttagsetter.c:
18132         * gst/gstvalue.c:
18133         * gst/net/gstnetclientclock.c:
18134         * gst/net/gstnettimepacket.h:
18135         Doc updates.
18136
18137 2005-11-23  Thomas Vander Stichele  <thomas at apestaart dot org>
18138
18139         * docs/faq/using.xml:
18140         * docs/libs/tmpl/gstcontrol.sgml:
18141         * docs/manual/advanced-dparams.xml:
18142         * docs/manual/appendix-checklist.xml:
18143         * docs/manual/basics-elements.xml:
18144         * docs/pwg/other-source.xml:
18145         * docs/random/moving-plugins:
18146         * gst/gstpad.c:
18147         * tools/gst-launch.1.in:
18148           remove mentions of sinesrc
18149
18150 2005-11-23  Michael Smith <msmith@fluendo.com>
18151
18152         * docs/gst/gstreamer-sections.txt:
18153           Update for new API and API changes.
18154         * gst/gstobject.h:
18155           Documentation fix: GST_TRYLOCK -> GST_OBJECT_TRYLOCK
18156         * gst/gstvalue.c:
18157           Documentation typo fix.
18158         * gst/net/gstnettimepacket.c:
18159           Documentation fixes for arguments.
18160
18161 2005-11-23  Jan Schmidt  <thaytan@mad.scientist.com>
18162
18163         * gst/gststructure.c: (gst_structure_get_fraction),
18164         (gst_structure_parse_value),
18165         (gst_structure_fixate_field_nearest_fraction):
18166         * gst/gststructure.h:
18167         * gst/gstutils.c: (gst_util_uint64_scale_int):
18168         * gst/gstutils.h:
18169         * scripts/update-funcnames:
18170         API Changes. 
18171         Rename gst_util_clock_time_scale to gst_util_uint64_scale_int
18172         Make gst_structure_fixate_field_nearest_fraction take a numerator
18173         and denominator argument instead of a GValue
18174         add gst_structure_get_fraction helper function.
18175
18176 2005-11-23  Wim Taymans  <wim@fluendo.com>
18177
18178         * docs/design/part-TODO.txt:
18179         Update TODO.
18180
18181         * gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
18182         * gst/net/gstnetclientclock.h:
18183         Use parent fields for timeout and window_size.
18184
18185 2005-11-23  Andy Wingo  <wingo@pobox.com>
18186
18187         * check/net/gstnetclientclock.c (test_functioning): Adjust to
18188         rate_num/rate_denom change.
18189
18190         * gst/net/gstnetclientclock.c
18191         (gst_net_client_clock_observe_times): Take the SLAVE_LOCK not the
18192         OBJECT_LOCK. Don't call add_observation with the lock.
18193
18194         * gst/gstclock.c (gst_clock_init): Initialize the rate as a
18195         fraction.
18196         (gst_clock_adjust_unlocked): Adjust using uint64_scale and the
18197         rate fraction.
18198         (gst_clock_set_calibration, gst_clock_get_calibration): Change to
18199         deal with rate as a fraction whose numerator and denominator are
18200         GstClockTime values.
18201         (gst_clock_set_master): Only use the OBJECT_LOCK to set the
18202         master; the other fields are protected by the SLAVE_LOCK.
18203         (do_linear_regression): Note that this must be called with the
18204         SLAVE_LOCK.
18205         (gst_clock_add_observation): Take the SLAVE_LOCK, not the
18206         OBJECT_LOCK. Call set_calibration instead of touching the
18207         variables directly.
18208         (gst_clock_set_property, gst_clock_get_property): Protect
18209         master/slave parameters with the SLAVE_LOCK.
18210
18211         * gst/gstclock.h (GstClock): Remove rate, add rate_numerator and
18212         rate_denominator. PR3C1S3. Add a new lock, the SLAVE_LOCK, and
18213         note that all of the instance variables that add_observation and
18214         the set_master functions use are protected by that lock and not
18215         the OBJECT_LOCK.
18216         (GST_CLOCK_SLAVE_LOCK, GST_CLOCK_SLAVE_UNLOCK): New macros.
18217
18218         * gst/gstclock.c (gst_clock_add_observation): No longer requires
18219         the caller to take the object lock.
18220
18221 2005-11-23  Wim Taymans  <wim@fluendo.com>
18222
18223         * gst/gsterror.c: (_gst_core_errors_init):
18224         * gst/gsterror.h:
18225         Add error for clock stuff.
18226
18227         * gst/gstpipeline.c: (gst_pipeline_change_state),
18228         (gst_pipeline_set_clock):
18229         Post clock error when clock cannot be used in a pipeline.
18230
18231 2005-11-23  Stefan Kost  <ensonic@users.sf.net>
18232
18233         * docs/gst/gstreamer-sections.txt:
18234           make two symbols from gstinfo private for the docs
18235         * gst/base/gstcollectpads.h:
18236         * gst/gstutils.c:
18237           fix doc typos, update docs
18238
18239 2005-11-22  Wim Taymans  <wim@fluendo.com>
18240
18241         * gst/base/gstbasesink.c: (gst_base_sink_class_init),
18242         (gst_base_sink_wait), (gst_base_sink_do_sync),
18243         (gst_base_sink_handle_event):
18244         * gst/base/gstbasesink.h:
18245         No need to store the clock, the parent element class already
18246         has it.
18247
18248         * gst/gstbin.c: (gst_bin_set_clock_func), (gst_bin_add_func):
18249         Updates for clock_set returning a gboolean
18250
18251         * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_id_wait),
18252         (gst_clock_id_wait_async), (gst_clock_class_init),
18253         (gst_clock_init), (gst_clock_finalize),
18254         (gst_clock_get_internal_time), (gst_clock_get_time),
18255         (gst_clock_slave_callback), (gst_clock_set_master),
18256         (gst_clock_get_master), (do_linear_regression),
18257         (gst_clock_add_observation), (gst_clock_set_property),
18258         (gst_clock_get_property):
18259         * gst/gstclock.h:
18260         Implement master/slave. When setting a clock as a slave, a
18261         periodic timeout is scheduled to sample master and slave times.
18262         Then the slave clock is recalibrated to match offset and rate
18263         of the master clock.
18264         Update logging a bit.
18265         Add flag so that a clock can state that is cannot be slaved to
18266         another clock.
18267
18268         * gst/gstelement.c: (gst_element_set_clock):
18269         * gst/gstelement.h:
18270         The set clock returns a gboolean for when an element cannot
18271         deal with the selected clock in the pipeline. 
18272
18273         * gst/gstpipeline.c: (gst_pipeline_change_state),
18274         (gst_pipeline_set_clock):
18275         * gst/gstpipeline.h:
18276         Handle the case where the selected clock cannot be set on
18277         the pipeline.
18278
18279         * gst/net/gstnetclientclock.c: (gst_net_client_clock_class_init),
18280         (gst_net_client_clock_init), (gst_net_client_clock_finalize),
18281         (gst_net_client_clock_set_property),
18282         (gst_net_client_clock_get_property),
18283         (gst_net_client_clock_observe_times):
18284         * gst/net/gstnetclientclock.h:
18285         Use regression code in GstClock parent, remove duplicated
18286         functionality.
18287
18288 2005-11-22  Michael Smith <msmith@fluendo.com>
18289
18290         * gst/gstutils.c: (gst_util_clock_time_scale):
18291         * gst/gstutils.h:
18292         * docs/gst/gstreamer-sections.txt:
18293           Rename method to have extra underscore.
18294
18295 2005-11-22  Thomas Vander Stichele  <thomas at apestaart dot org>
18296
18297         * gst/elements/Makefile.am:
18298         * gst/elements/gstfakesink.c: (gst_fake_sink_state_error_get_type):
18299         * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
18300         (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type),
18301         (gst_fake_src_init), (gst_fake_src_prepare_buffer),
18302         (gst_fake_src_alloc_buffer), (gst_fake_src_get_size):
18303         * gst/elements/gstfakesrc.h:
18304         * gst/gstqueue.c: (queue_leaky_get_type):
18305           correctly fix GEnumValues so that nick is the short lowercase
18306           dashed tag
18307         * tools/gst-inspect.c: (print_element_properties_info):
18308           also show the nick, since it's useful to use from parse_launch
18309           syntax
18310           Fixes #322139
18311
18312 2005-11-22  Michael Smith <msmith@fluendo.com>
18313
18314         * gst/gstutils.c: (gst_util_clocktime_scale):
18315         * gst/gstutils.h:
18316         * docs/gst/gstreamer-sections.txt:
18317           Add util method for scaling a clocktime by a fraction. Useful 
18318           implementation is left as an exercise for the reader.
18319
18320 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
18321
18322         * gst/gstvalue.c: (gst_value_collect_fraction_range):
18323         If needed, allocate storage in the destination value during
18324         collection.
18325
18326 2005-11-22  Edward Hervey  <edward@fluendo.com>
18327
18328         * docs/gst/gstreamer-sections.txt:
18329         * gst/Makefile.am:
18330         * gst/gst.h:
18331         * gst/gsturitype.c:
18332         * gst/gsturitype.h:
18333         * gst/gstutils.c: (gst_util_set_object_arg):
18334         * tools/gst-compprep.c: (main):
18335         * tools/gst-inspect.c: (print_element_properties_info):
18336         Removed GstURI, closes bug #321061
18337
18338 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
18339
18340         * check/gst/gststructure.c: (GST_START_TEST):
18341         * gst/gststructure.c: (gst_structure_parse_value):
18342           Oops, broke automatic string type parsing.
18343           Add a test to catch it in future.
18344
18345 2005-11-22  Andy Wingo  <wingo@pobox.com>
18346
18347         * gst/gsttagsetter.c (gst_tag_setter_get_tag_merge_mode) 
18348         (gst_tag_setter_set_tag_merge_mode, gst_tag_setter_get_tag_list):
18349         Actually rename the function implementations. Grr.
18350
18351 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
18352
18353         * check/gst/capslist.h:
18354           Comment test cases
18355         * check/gst/gststructure.c: (GST_START_TEST),
18356         (gst_structure_suite):
18357           Test automatic value type detection in gst_structure_from_string.
18358         * gst/gststructure.c: (gst_structure_parse_value):
18359           Add fraction as a type we try and guess automatically in
18360           caps/structure strings.
18361
18362 2005-11-22  Andy Wingo  <wingo@pobox.com>
18363
18364         patch by: Torsten Schoenfeld <kaffeetisch gmx de>
18365
18366         * gst/gsttagsetter.h:
18367         * gst/gsttagsetter.c: (gst_tag_setter_merge_tags)
18368         (gst_tag_setter_add_tags, gst_tag_setter_add_tag_values)
18369         (gst_tag_setter_add_tag_valist)
18370         (gst_tag_setter_add_tag_valist_values): Renamed from _merge, _add,
18371         _add_values, _add_valist, and _add_valist_values. Since this is an
18372         interface the function suffixes should be more explicit so
18373         language binding don't end up with element.add_valist ->
18374         gst_tag_setter_add_valist, for example. Fixes #322069.
18375
18376 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
18377
18378         * check/gst/gstcaps.c: (GST_START_TEST):
18379           Extend caps string tests to check that a caps to string
18380           conversion is reversible and produces the same caps.
18381
18382         * gst/gststructure.c: (gst_structure_value_get_generic_type):
18383           Output "fraction" as the generic type fraction range, so caps
18384           serialisation and deserialisation works.
18385         * check/gst/capslist.h:
18386         * gst/gstvalue.c: (gst_value_deserialize_fraction):
18387           Support 'MIN' and 'MAX' for deserialising fractions.
18388
18389 2005-11-22  Andy Wingo  <wingo@pobox.com>
18390
18391         * gst/gstevent.h (gst_event_new_new_segment)
18392         (gst_event_parse_new_segment, gst_event_new_buffer_size)
18393         (gst_event_parse_buffer_size, gst_ghost_pad_new_no_target):
18394         Renamed from *_newsegment, *_buffersize, *_notarget.
18395
18396         * scripts/update-funcnames: New script, performs the changes
18397         listed above.
18398
18399 2005-11-22  Wim Taymans  <wim@fluendo.com>
18400
18401         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
18402         Make sure the GstFlowReturn is returned.
18403
18404         * gst/gstbus.c: (gst_bus_add_signal_watch_full),
18405         (gst_bus_add_signal_watch):
18406         * gst/gstbus.h:
18407         add gst_bus_add_signal_watch_full.
18408
18409         * gst/gstplugin.c: (gst_plugin_load_file):
18410         Small style cleanup.
18411
18412 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
18413
18414         * check/gst/gstevent.c: (test_event), (GST_START_TEST):
18415           Block the fakesrc srcpad when we send an event, to avoid
18416           contention on the stream_lock causing random test failures.
18417
18418 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
18419
18420         * check/gst/gstvalue.c: (GST_START_TEST):
18421         * gst/gstvalue.c: (gst_value_fraction_subtract):
18422           Fix subtraction.
18423
18424 2005-11-22  Stefan Kost  <ensonic@users.sf.net>
18425
18426         * gst/gst.h:
18427           include "gstchildproxy.h"
18428         * gst/gstchildproxy.h:
18429         * libs/gst/controller/gstcontroller.h:
18430           use G_GNUC_NULL_TERMINATED
18431
18432 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
18433
18434         * check/gst/capslist.h:
18435         * check/gst/gstcaps.c: (GST_START_TEST):
18436         * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
18437         * gst/gststructure.c: (gst_structure_parse_range),
18438         (gst_structure_fixate_field_nearest_fraction):
18439         * gst/gststructure.h:
18440         * gst/gstvalue.c: (gst_value_init_fraction_range),
18441         (gst_value_free_fraction_range), (gst_value_copy_fraction_range),
18442         (gst_value_collect_fraction_range),
18443         (gst_value_lcopy_fraction_range), (gst_value_set_fraction_range),
18444         (gst_value_set_fraction_range_full),
18445         (gst_value_get_fraction_range_min),
18446         (gst_value_get_fraction_range_max),
18447         (gst_value_serialize_fraction_range),
18448         (gst_value_transform_fraction_range_string),
18449         (gst_value_compare_fraction_range),
18450         (gst_value_deserialize_fraction_range),
18451         (gst_value_intersect_fraction_fraction_range),
18452         (gst_value_intersect_fraction_range_fraction_range),
18453         (gst_value_subtract_fraction_fraction_range),
18454         (gst_value_subtract_fraction_range_fraction),
18455         (gst_value_subtract_fraction_range_fraction_range),
18456         (gst_value_collect_fraction), (gst_value_fraction_multiply),
18457         (gst_value_fraction_subtract), (gst_value_deserialize_fraction),
18458         (gst_value_transform_string_fraction), (_gst_value_initialize):
18459         * gst/gstvalue.h:
18460           Implement fraction ranges and extend GstFraction to support
18461           arithmetic subtraction, as well as deserialization from integer
18462           strings such as "100"
18463           Add a testsuite as for int and double range set operations
18464
18465 2005-11-21  Andy Wingo  <wingo@pobox.com>
18466
18467         * gst/gsttaglist.h: 
18468         * gst/gstcaps.h: 
18469         * gst/gststructure.h: Add glib-compat.h.
18470
18471 2005-11-21  Wim Taymans  <wim@fluendo.com>
18472
18473         * gst/gstbin.c: (gst_bin_change_state_func):
18474         Fix for #321595
18475
18476 2005-11-21  Wim Taymans  <wim@fluendo.com>
18477
18478         * gst/gstsegment.h:
18479         And add a nice define too.
18480
18481 2005-11-21  Wim Taymans  <wim@fluendo.com>
18482
18483         * gst/gstsegment.c: (gst_segment_copy), (gst_segment_get_type),
18484         (gst_segment_new), (gst_segment_free), (gst_segment_init),
18485         (gst_segment_set_duration), (gst_segment_set_last_stop),
18486         (gst_segment_set_seek), (gst_segment_set_newsegment),
18487         (gst_segment_to_stream_time), (gst_segment_to_running_time),
18488         (gst_segment_clip):
18489         * gst/gstsegment.h:
18490         Make binding friendly.
18491
18492 2005-11-21  Andy Wingo  <wingo@pobox.com>
18493
18494         * gst/gsttagsetter.h: 
18495         * gst/gsttaglist.h: 
18496         * gst/gststructure.h: 
18497         * gst/gstcaps.h: 
18498         * gst/gstutils.h: Sprinkle NULL_TERMINATED to taste. Fixes
18499         #319940.
18500
18501         * gst/gsterror.c (_gst_core_errors_init):
18502         * gst/gsterror.h (GST_CORE_ERROR_MISSING_PLUGIN): New error
18503         category.
18504
18505         * gst/Makefile.am (gst_headers): Add glib-compat.h.
18506         (noinst_HEADERS): noinst the -private.
18507
18508 2005-11-21  Michael Smith <msmith@fluendo.com>
18509
18510         * gst/gstplugin.h:
18511         * gst/gstregistry.h:
18512           Remove unimplemented declarations for which we can see no sensible
18513           use.
18514
18515 2005-11-21  Andy Wingo  <wingo@pobox.com>
18516
18517         * gst/gst.h: Include glib-compat.h.
18518
18519         * gst/glib-compat.h: Add G_GNUC_NULL_TERMINATED.
18520
18521         * gst/glib-compat.c: Include the public and the private header.
18522
18523         * gst/glib-compat-private.h: Copied here from glib-compat.h.
18524
18525         * gst/gstvalue.c: 
18526         * gst/gstpad.c: 
18527         * gst/gstregistryxml.c: s/glib-compat/glib-compat-private/.
18528
18529         * check/gst/gstevent.c (create_custom_events): Check that
18530         FLUSH_STOP is serialized.
18531
18532         * check/elements/identity.c (event_func): 
18533         * check/elements/fakesrc.c (event_func): No stream lock, the core
18534         takes it.
18535
18536         * gst/base/gstbasetransform.c (gst_base_transform_event): No more
18537         stream lock taking, yay.
18538
18539         * gst/gstevent.h (GST_EVENT_FLUSH_STOP): Marked as serialized to
18540         ensure that core takes the stream lock.
18541
18542         * gst/base/gstbasesrc.c (gst_base_src_do_seek): Update for stream
18543         lock name change.
18544
18545         * gst/base/gstbasesink.c (gst_base_sink_event): No need to take
18546         the stream lock for EOS, NEWSEGMENT, or FLUSH_STOP, the core does
18547         it already. For the flush start we do take it though so we get the
18548         right preroll state change messages.
18549
18550         * gst/gstqueue.c (gst_queue_sink_activate_push): No need to take
18551         the stream lock here, the core does it for us.
18552
18553         * gst/gstpad.h (GST_PAD_GET_STREAM_LOCK): Renamed from
18554         GST_STREAM_GET_LOCK.
18555         (GST_PAD_STREAM_LOCK, GST_PAD_STREAM_TRYLOCK) 
18556         (GST_PAD_STREAM_UNLOCK, GST_PAD_STREAM_UNLOCK_FULL) 
18557         (GST_PAD_STREAM_LOCK_FULL): Renamed from GST_STREAM_*.
18558         (GST_PAD_GET_PREROLL_LOCK): Renamed from GST_PREROLL_GET_LOCK.
18559         (GST_PAD_PREROLL_LOCK, GST_PAD_PREROLL_TRYLOCK) 
18560         (GST_PAD_PREROLL_UNLOCK): Renamed from GST_PREROLL_*.
18561
18562         * gst/gstpad.c: Update for stream lock name change.
18563
18564         * gst/base/gstbasesink.c: Update for preroll lock name change.
18565
18566 2005-11-21  Wim Taymans  <wim@fluendo.com>
18567
18568         * gst/gstclock.c: (gst_clock_init), (gst_clock_set_master),
18569         (gst_clock_get_master):
18570         * gst/gstclock.h:
18571         * gst/gstsystemclock.c: (gst_system_clock_init):
18572         Convert Clock flags to object flags.
18573         Added methods to manage master/slave clocks.
18574
18575 2005-11-21  Wim Taymans  <wim@fluendo.com>
18576
18577         * check/gst/gstsegment.c: (GST_START_TEST):
18578         * docs/design/part-TODO.txt:
18579         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
18580         (gst_base_sink_event), (gst_base_sink_do_sync),
18581         (gst_base_sink_activate_pull), (gst_base_sink_get_position),
18582         (gst_base_sink_query), (gst_base_sink_change_state):
18583         * gst/base/gstbasesink.h:
18584         * gst/base/gstbasesrc.c: (gst_base_src_init), (gst_base_src_query),
18585         (gst_base_src_default_newsegment),
18586         (gst_base_src_configure_segment), (gst_base_src_do_seek),
18587         (gst_base_src_get_range), (gst_base_src_loop),
18588         (gst_base_src_change_state):
18589         * gst/base/gstbasesrc.h:
18590         * gst/base/gstbasetransform.c:
18591         (gst_base_transform_prepare_output_buf),
18592         (gst_base_transform_event), (gst_base_transform_change_state):
18593         * gst/base/gstbasetransform.h:
18594         * gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
18595         (gst_collect_pads_event):
18596         * gst/base/gstcollectpads.h:
18597         * gst/elements/gstfakesrc.c: (gst_fake_src_init),
18598         (gst_fake_src_create):
18599         * gst/elements/gstfakesrc.h:
18600         * gst/elements/gstidentity.c: (gst_identity_transform_ip):
18601         * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_duration),
18602         (gst_segment_set_last_stop), (gst_segment_set_seek),
18603         (gst_segment_set_newsegment), (gst_segment_to_stream_time),
18604         (gst_segment_to_running_time), (gst_segment_clip):
18605         * gst/gstsegment.h:
18606         More segment updates, replace code in plugins with segment
18607         helper functions.
18608
18609 2005-11-21  Jan Schmidt  <thaytan@mad.scientist.com>
18610
18611         * gst/elements/gstfdsrc.c: (gst_fdsrc_uri_set_uri):
18612         Don't ignore sscanf results
18613
18614 2005-11-21  Andy Wingo  <wingo@pobox.com>
18615
18616         * gst/gstpad.h (GST_IS_PAD_FAST): Removed.
18617
18618         * *.h:
18619         * *.c: Ran scripts/update-macros. Oh yes.
18620
18621         * gst/gstobject.h (GST_OBJECT_GET_LOCK, GST_OBJECT_LOCK)
18622         (GST_OBJECT_TRYLOCK, GST_OBJECT_UNLOCK): Renamed from
18623         GST_GET_LOCK, etc.
18624
18625         * scripts/update-macros: New script. Run it on your files to
18626         change GST_LOCK to GST_OBJECT_LOCK, and the same for UNLOCK as
18627         well.
18628
18629 2005-11-21  Stefan Kost  <ensonic@users.sf.net>
18630
18631         * docs/gst/Makefile.am:
18632         * docs/gst/gstreamer-docs.sgml:
18633         * docs/gst/gstreamer-sections.txt:
18634         * docs/gst/gstreamer.types:
18635         * gst/gstinfo.h:
18636           more docs fixes, add new api to the docs
18637
18638 2005-11-21  Andy Wingo  <wingo@pobox.com>
18639
18640         * gst/gstbin.c (gst_bin_remove_func): Wim claims I can remove this
18641         state_broadcast call.
18642
18643         * gst/gstsegment.c (gst_segment_init): Initialize abs_rate.
18644
18645 2005-11-21  Julien MOUTTE  <julien@moutte.net>
18646
18647         * gst/gstvalue.c: (gst_value_intersect_array): Fix wrong
18648         function calls for arrays.
18649
18650 2005-11-21  Stefan Kost  <ensonic@users.sf.net>
18651
18652         * docs/random/ensonic/media-device-daemon.txt:
18653           wild idea, can this be done?
18654         * docs/gst/gstreamer-sections.txt:
18655         * gst/gsterror.h:
18656         * gst/gstfilter.c:
18657         * gst/gstfilter.h:
18658         * gst/gstplugin.h:
18659         * gst/gstpluginfeature.c:
18660         * gst/gsttrace.c:
18661         * gst/gstvalue.c:
18662         * gst/gstvalue.h:
18663           doc fixes and additions
18664
18665 2005-11-21  Andy Wingo  <wingo@pobox.com>
18666
18667         * gst/base/gstbasesrc.c (GST_LIVE_BROADCAST, GST_LIVE_SIGNAL) 
18668         (GST_LIVE_TIMED_WAIT, GST_LIVE_WAIT, GST_LIVE_GET_COND) 
18669         (GST_LIVE_UNLOCK, GST_LIVE_TRYLOCK, GST_LIVE_LOCK) 
18670         (GST_LIVE_GET_LOCK): Moved here from gstbasesrc.h. They are
18671         private to the basesrc implementation.
18672
18673         * gst/gstpad.c (gst_pad_send_event): Doc more. Take stream lock on
18674         behalf of event function if necessary. It should no longer be
18675         necessary to take the stream lock in pad's event functions. Fixes
18676         #320299.
18677
18678 2005-11-21  Jan Schmidt  <thaytan@mad.scientist.com>
18679         * docs/gst/gstreamer-sections.txt:
18680         * gst/gststructure.c: (gst_structure_fixate_field_nearest_int),
18681         (gst_structure_fixate_field_nearest_double),
18682         (gst_structure_fixate_field_boolean):
18683         * gst/gststructure.h:
18684         * win32/common/libgstreamer.def:
18685         * win32/gstreamer.def:
18686
18687         Rename gst_caps_structure_fixate_* to gst_structure_fixate_*
18688         (#322027)
18689
18690 2005-11-21  Jan Schmidt  <thaytan@mad.scientist.com>
18691
18692         * gst/elements/gstfdsrc.c: (_do_init), (gst_fdsrc_class_init),
18693         (gst_fdsrc_init), (gst_fdsrc_dispose), (gst_fdsrc_set_property),
18694         (gst_fdsrc_uri_get_type), (gst_fdsrc_uri_get_protocols),
18695         (gst_fdsrc_uri_get_uri), (gst_fdsrc_uri_set_uri),
18696         (gst_fdsrc_uri_handler_init):
18697         * gst/elements/gstfdsrc.h:
18698           Port fd:// URI handler from 0.8 to fdsrc
18699
18700 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
18701
18702         * gst/gstvalue.c: (gst_value_transform_fourcc_string),
18703         (gst_value_serialize_fourcc):
18704         * gst/gstvalue.h:
18705           Drop leading '%' from GST_FOURCC_FORMAT, thus making it
18706           consistent with our other format defines (#320324).
18707
18708 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
18709
18710         * gst/gstvalue.c: (gst_value_is_fixed):
18711           Revert previous commit. Value lists are by definition
18712           not fixed, as they are a list of possible values.
18713
18714 2005-11-21  Andy Wingo  <wingo@pobox.com>
18715
18716         * gst/gstevent.h (GST_EVENT_FILLER): Removed. Can be added back
18717         during the stable series if we need it. Fixes #319178.
18718
18719         * gst/gstevent.c (gst_event_new_filler): Removed.
18720
18721         * check/gst/gstevent.c: Update comment about filler events.
18722
18723 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
18724
18725         * gst/gstvalue.c: (gst_value_is_fixed):
18726           Should handle both value arrays and value lists.
18727
18728 2005-11-21  Andy Wingo  <wingo@pobox.com>
18729
18730         patch by: Alessandro Dessina <alessandro nnva org>
18731
18732         * gst/gstvalue.c (gst_value_is_fixed): Use gst_value_array
18733         functions to access arrays. Fixes #321962.
18734
18735 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
18736
18737         * docs/gst/gstreamer.types:
18738           gst_collectpads_get_type => gst_collect_pads_get_type.
18739           
18740         * gst/base/gstbasetransform.c:
18741           Remove unused SIGNAL_HANDOFF enum.
18742
18743 2005-11-21  Andy Wingo  <wingo@pobox.com>
18744
18745         * gst/gstevent.h (GstEventTypeFlags): New data type, the flags of
18746         the event type (upstream, downstream, serialized). Renamed
18747         GST_EVDIR_* and GST_EVSER to GST_EVENT_TYPE_*.
18748         (GstEventType): Use GstEventTypeFlags. Rename CUSTOM_UP to
18749         CUSTOM_UPSTREAM, CUSTOM_DS to CUSTOM_DOWNSTREAM, etc.
18750
18751         * gst/gstevent.c: Update for new CUSTOM event names.
18752
18753         * check/gst/gstevent.c: Update check for new CUSTOM event names.
18754
18755         * gst/gstevent.h:
18756         * gst/gstevent.c (gst_event_type_get_flags): New function. Fixes
18757         bug #319392.
18758
18759 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
18760
18761         * docs/gst/gstreamer-sections.txt:
18762         * win32/common/libgstbase.def:
18763         * win32/libgstbase.def:
18764         * gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
18765         (gst_collect_pads_class_init), (gst_collect_pads_init),
18766         (gst_collect_pads_finalize), (gst_collect_pads_new),
18767         (gst_collect_pads_set_function), (gst_collect_pads_add_pad),
18768         (gst_collect_pads_remove_pad), (gst_collect_pads_is_active),
18769         (gst_collect_pads_collect), (gst_collect_pads_collect_range),
18770         (gst_collect_pads_start), (gst_collect_pads_stop),
18771         (gst_collect_pads_peek), (gst_collect_pads_pop),
18772         (gst_collect_pads_available), (gst_collect_pads_read),
18773         (gst_collect_pads_flush), (gst_collect_pads_event),
18774         (gst_collect_pads_chain):
18775         * gst/base/gstcollectpads.h:
18776           Rename gst_collecpads_foo() => gst_collect_pads_foo(). Document
18777           unimplemented functions as unimplemented. Add padding to
18778           GstCollectData. (#320766, #320423)
18779
18780 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
18781
18782         * gst/gstmessage.c:
18783           Improve docs for DURATION message (usage of duration parameter)
18784           (#320113)
18785
18786 2005-11-20  Wim Taymans  <wim@fluendo.com>
18787
18788         * check/Makefile.am:
18789         * check/gst/gstsegment.c: (GST_START_TEST), (gstevents_suite),
18790         (main):
18791         * gst/Makefile.am:
18792         * gst/gst.h:
18793         * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_duration),
18794         (gst_segment_set_seek), (gst_segment_set_newsegment),
18795         (gst_segment_to_stream_time), (gst_segment_to_running_time),
18796         (gst_segment_clip):
18797         * gst/gstsegment.h:
18798         Added segment helper structure and methods. Not fully implemented
18799         yet.
18800         Added segment check.
18801
18802 2005-11-20  Jan Schmidt  <thaytan@mad.scientist.com>
18803
18804         * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
18805           Add a deserialisation test for fractions
18806         * examples/metadata/read-metadata.c: (message_loop),
18807         (make_pipeline), (main):
18808           Fix up metadata reading sample.
18809         * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
18810           Debug format fix
18811         * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
18812           Don't try and fixate empty caps
18813         * gst/gst_private.h:
18814           Wrap in G_BEGIN_DECLS/G_END_DECLS
18815         * gst/gstvalue.c: (gst_value_collect_fraction),
18816         (gst_value_set_fraction), (gst_value_get_fraction_denominator),
18817         (gst_value_transform_string_fraction),
18818         (gst_value_compare_fraction):
18819           Add some extra guards to ensure that we don't end up 
18820           with an invalid denominator of 0 in a gstfraction and
18821           that fractions always get reduced.
18822
18823 2005-11-20  Wim Taymans  <wim@fluendo.com>
18824
18825         * docs/gst/gstreamer-sections.txt:
18826         * gst/gstbuffer.h:
18827         * gst/gstelement.c:
18828         * gst/gstformat.c:
18829         * gst/gstformat.h:
18830         * gst/gstindex.h:
18831         * gst/gstquery.c:
18832         * gst/gstquery.h:
18833         * gst/gstvalue.c:
18834         Doc fixes.
18835
18836 2005-11-20  Wim Taymans  <wim@fluendo.com>
18837
18838         * docs/design/part-TODO.txt:
18839         * gst/gstcaps.h:
18840         Make a proper enum of the flag.
18841
18842 2005-11-19  Wim Taymans  <wim@fluendo.com>
18843
18844         * docs/design/part-TODO.txt:
18845         * gst/gstformat.c: (_gst_format_initialize), (gst_format_get_name),
18846         (gst_format_to_quark), (gst_format_register):
18847         * gst/gstformat.h:
18848         * gst/gstquery.c: (_gst_query_initialize),
18849         (gst_query_type_get_name), (gst_query_type_to_quark),
18850         (gst_query_type_register):
18851         * gst/gstquery.h:
18852         Add type to quark and type to string conversions.
18853
18854 2005-11-19  Andy Wingo  <wingo@pobox.com>
18855
18856         * gst/gstbuffer.h (GST_BUFFER_FLAG_ORIGINAL): Removed. Fixes
18857         #320097.
18858
18859 2005-11-19  Wim Taymans  <wim@fluendo.com>
18860
18861         * docs/design/part-TODO.txt:
18862         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_provide_clock_func),
18863         (gst_bin_add_func), (gst_bin_remove_func), (bin_bus_handler),
18864         (gst_bin_handle_message_func):
18865         * gst/gstbin.h:
18866         Make message handling overridable.
18867
18868 2005-11-19  Andy Wingo  <wingo@pobox.com>
18869
18870         * gst/gstpad.h (GST_PAD_IS_USABLE): Removed. Fixes #321235.
18871
18872         * gst/gstclock.h:
18873         * gst/gstclock.c (GstClock, GstClockClass): Change resolution to
18874         be a GstClockTime.
18875         (gst_clock_set_resolution, gst_clock_get_resolution): Resolution
18876         is a GstClockTime. Fixes #321710.
18877
18878         * gst/gstclock.h (GstClock): Remove offset property. Add
18879         internal_calibration and external_calibration. Fix padding. Pad
18880         also by GstClockTime so we don't run into problems.
18881
18882         * gst/gstclock.c (gst_clock_set_rate_offset): Remove.
18883         (gst_clock_get_rate_offset): Remove.
18884         (gst_clock_set_time_adjust): Remove. Fixes #321712.
18885
18886         * gst/gstutils.h:
18887         * gst/gstutils.c (g_static_rec_cond_wait)
18888         (g_static_rec_cond_timed_wait): Removed, no longer needed.
18889
18890         * gst/gstbin.c: Remove terrible continue_state prototype.
18891
18892         * gst/gstelement.h (gst_element_continue_state): Make public.
18893
18894         * gst/gstelement.h:
18895         * gst/gstelement.c (gst_element_commit_state): Removed, replaced
18896         by continue_state. Fixes #319389.
18897
18898         * gst/gstindex.h (GstIndexFilter): Actually pass on the user_data.
18899         Really fixes #168438. However I don't see anywhere where the
18900         filter function is called... stupid GStreamer...
18901         
18902         * gst/gstindex.h (GstIndex): Add field for user_data_destroy. We
18903         don't have a dispose function, so it won't get called when the
18904         object is unreffed, but oh well!
18905
18906         * gst/gstindex.c (gst_index_set_filter_full): New API function,
18907         allows a destroy function to be set so user_data can be freed.
18908         Fixes #168438.
18909         (gst_index_set_filter): Call gst_index_set_filter_full.
18910
18911         * check/gst/gstvalue.c (test_string): Add test for bug #165650.
18912
18913         * gst/gstvalue.c (gst_string_wrap): Trying to serialize a NULL
18914         string should produce an error, given the lack of a way to
18915         represent NULL strings. Fixes #165650.
18916         
18917         * gst/gstvalue.h: 
18918         * gst/gstvalue.c (gst_value_array_append_value) 
18919         (gst_value_array_prepend_value, gst_value_array_get_size) 
18920         (gst_value_array_get_value): New API, copied from
18921         gst_value_list_*, only operates on arrays.
18922         (gst_value_list_append_value, gst_value_list_prepend_value) 
18923         (gst_value_list_concat, gst_value_list_get_size) 
18924         (gst_value_list_get_value): Only operate on lists. Fixes #156633.
18925
18926         * gst/gstvalue.c (gst_value_init_list_or_array): Renamed from
18927         init_list, because it works on both.
18928         (copy_garray_of_gstvalue): Renamed from gst_value_list_copy_array.
18929         (gst_value_copy_list_or_array): Renamed from copy_list.
18930         (gst_value_free_list_or_array): Renamed from free_list.
18931         (gst_value_collect_list_or_array): Renamed from collect_list.
18932         (gst_value_lcopy_list_or_array): Renamed from lcopy_list.
18933         (gst_value_list_or_array_peek_pointer): Renamed from
18934         list_peek_pointer.
18935         (_gst_value_array_value_table, _gst_value_list_value_table):
18936         Update value table functions.
18937         (gst_value_compare_list_or_array): Renamed from compare_list.
18938
18939         * gsttaglist.h: Whoops, foreach function returns void. Also fix
18940         some constness.
18941
18942         * gst/gsttaglist.c:
18943         * gst/gsttaglist.h (gst_tag_list_foreach): Operates on a const
18944         GstTagList*. Fixes #143472.
18945
18946         * gst/gststructure.h: Clarify what the foreach/map functions can
18947         or can't do to their arguments.
18948
18949 2005-11-18  Wim Taymans  <wim@fluendo.com>
18950
18951         * gst/gstclock.c: (gst_clock_set_calibration),
18952         (gst_clock_get_calibration):
18953         Doc and API fixes.
18954         Calibration can be set with internal time equal to current
18955         internal time too.
18956
18957 2005-11-18  Thomas Vander Stichele  <thomas at apestaart dot org>
18958
18959         * gst/gsterror.c:
18960         * gst/gsterror.h:
18961           document
18962
18963 2005-11-18  Andy Wingo  <wingo@pobox.com>
18964
18965         * configure.ac: 
18966         * pkgconfig/gstreamer-net.pc.in:
18967         * pkgconfig/gstreamer-net-uninstalled.pc.in:
18968         * pkgconfig/Makefile.am: Add net pkgconfig files.
18969
18970 2005-11-18  Stefan Kost  <ensonic@users.sf.net>
18971
18972         * gst/gstcaps.c:
18973         * gst/gstghostpad.c:
18974         * gst/gsttrace.c:
18975         * gst/gstvalue.c:
18976         * gst/gstvalue.h:
18977           docs fixes
18978
18979 2005-11-18  Andy Wingo  <wingo@pobox.com>
18980
18981         * gst/net/gstnetclientclock.c: Turn off debugging.
18982
18983         * check/net/gstnetclientclock.c (test_functioning): Assert that the
18984         times connverge somewhat. Can't make a real test.
18985
18986         * gst/net/gstnetclientclock.c (do_linear_regression): Use all
18987         integer arithmetic. Return the minimum of the domain, which can be
18988         set as "internal" for gst_clock_set_calibration.
18989         (gst_net_client_clock_observe_times): Call _set_calibration.
18990         (gst_net_client_clock_new): Call _set_calibration instead of
18991         rate_offset.
18992
18993         * check/net/gstnetclientclock.c (test_functioning): Use the right
18994         adjustment api.
18995
18996         * gst/gstclock.h:
18997         * gst/gstclock.c (gst_clock_get_calibration) 
18998         (gst_clock_set_calibration): New functions, obsolete the ones I
18999         added yesterday. Doh. Precision issues mean we have to extrapolate
19000         from a point in the more recent past than 1970.
19001         (gst_clock_get_rate_offset, gst_clock_set_rate_offset): Mark as
19002         obsolete.
19003         (gst_clock_adjust_unlocked): Use the right calibration data.
19004
19005 2005-11-18  Edward Hervey  <edward@fluendo.com>
19006
19007         * gst/base/gstbasesink.c: (gst_base_sink_change_state): 
19008         Also reset the ->current_* values in READY->PAUSED
19009
19010 2005-11-18  Andy Wingo  <wingo@pobox.com>
19011
19012         * gst/net/gstnetclientclock.c (gst_net_client_clock_thread):
19013         Whoops, check the right fd. Also add some debugging.
19014         (gst_net_client_clock_observe_times): Adjust for int64 offset.
19015         (do_linear_regression): Add a crapload of debugging. Subtract off
19016         the minimum values from the input series to discard unneeded bits.
19017         Use only int arithmetic. There is still double arithmetic when
19018         calculating the intercept that needs fixing. Return boolean to
19019         indicate success; FALSE would mean the domain or range is too
19020         great. Still needs fixes.
19021
19022 2005-11-18  Wim Taymans  <wim@fluendo.com>
19023
19024         * gst/base/gstbasesink.c: (gst_base_sink_get_position):
19025         For the current position in stream time, we need to subtract
19026         accumulated time.
19027         
19028         * gst/gstsystemclock.c: (gst_system_clock_async_thread):
19029         Release lock before calling the callback function of async
19030         entries.
19031
19032 2005-11-18  Andy Wingo  <wingo@pobox.com>
19033
19034         * gst/net/gstnetclientclock.c (gst_net_client_clock_class_init):
19035         Port goes all the way to MAXUINT16.
19036
19037         * gst/net/gstnettimeprovider.c: Make the port range the same as
19038         for the kernel: 0 assigns, otherwise ports are less than
19039         MAXUINT16.
19040
19041         * check/net/gstnettimeprovider.c: Adapt for 0 == kernel assigns
19042         port change.
19043
19044         * check/net/gstnetclientclock.c (test_functioning): Add the start
19045         of another test. 
19046
19047 2005-11-18  Wim Taymans  <wim@fluendo.com>
19048
19049         * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
19050         (gst_bin_remove_func), (bin_bus_handler):
19051         * gst/gstbin.h:
19052         Removing a clock provider from a bin, triggers a clock lost message
19053         so that a new clock will be selected.
19054         Adding a clock to a bin triggers a clock provider message.
19055         Make sure we reselect a clock when we received a clock lost message.
19056         Keep a reference to the element that provided the clock.
19057
19058 2005-11-18  Andy Wingo  <wingo@pobox.com>
19059
19060         * gst/net/gstnetclientclock.c (gst_net_client_clock_new): Adjust
19061         the clock initially so it produces values around the base time.
19062         (gst_net_client_clock_class_init): Typo fix.
19063         (gst_net_client_clock_thread): Add note on when the socket gets
19064         closed.
19065
19066 2005-11-17  Wim Taymans  <wim@fluendo.com>
19067
19068         * gst/net/gstnetclientclock.c: (gst_net_client_clock_finalize):
19069         Free remote and local time arrays.
19070
19071 2005-11-17  Wim Taymans  <wim@fluendo.com>
19072
19073         * gst/net/gstnetclientclock.c: (do_linear_regression),
19074         (gst_net_client_clock_do_select), (gst_net_client_clock_thread):
19075         Fix compilation, uninitialized vars and a forgotten continue.
19076
19077 2005-11-17  Andy Wingo  <wingo@pobox.com>
19078
19079         * check/Makefile.am (check_PROGRAMS): 
19080         * check/net/gstnetclientclock.c: Add a most minimal test for the
19081         net client clock. More to come later.
19082
19083         * gst/net/gstnet.h: 
19084         * gst/net/Makefile.am: Add netclientclock.
19085
19086         * gst/net/gstnetclientclock.h:
19087         * gst/net/gstnetclientclock.c: New files, implement an untested
19088         GstClock that takes its time from a network time provider.
19089         Implements the algorithm in network-clock.scm.
19090
19091         * tests/network-clock.scm (*window-size*): Rename from
19092         *queue-length*.
19093         * tests/network-clock.scm (network-time): 
19094         * tests/network-clock-utils.scm (q-push): Update callers.
19095
19096 2005-11-17  Wim Taymans  <wim@fluendo.com>
19097
19098         * gst/gstbin.c: (gst_bin_provide_clock_func),
19099         (gst_bin_sort_iterator_new):
19100         And unref the child too..
19101
19102 2005-11-17  Wim Taymans  <wim@fluendo.com>
19103
19104         * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
19105         (gst_bin_sort_iterator_new), (gst_bin_iterate_sorted):
19106         Refactor the sort iterator so it can be used while holding the
19107         LOCK too.
19108         Make clock selection select a clock closest to the source.
19109
19110 2005-11-17  Michael Smith <msmith@fluendo.com>
19111
19112         * gst/gstclock.c: (gst_clock_init), (gst_clock_adjust_unlocked),
19113         (gst_clock_set_rate_offset), (gst_clock_get_rate_offset):
19114         * gst/gstclock.h:
19115           Anonymous structs are a gcc (and some other compilers) extension, so
19116           don't use them. Since this is only for ABI-compatibility, and our
19117           API/ABI freeze is over in a few days, this whole thing will only
19118           last a few days, so don't bother trying to think up a meaningful
19119           name for the struct.
19120
19121 2005-11-17  Andy Wingo  <wingo@pobox.com>
19122
19123         * gst/gstclock.h (GstClock): Add rate and offset properties,
19124         preserving ABI stability. Add rate/offset accessors. Will file bug
19125         for the freeze break.
19126
19127         * gst/gstclock.c (gst_clock_adjust_unlocked): Implement using rate
19128         and offset, trying to keep precision and avoiding
19129         underflow/overflow.
19130         (gst_clock_set_rate_offset, gst_clock_get_rate_offset): New
19131         functions. Make gst_clock_set_time_adjust obsolete.
19132         (gst_clock_set_time_adjust): Note that this function is obsolete.
19133         Will file bug soon.
19134
19135         * gst/base/gstbasetransform.h: Make the ABI-stability hack
19136         greppable by using GST_PADDING-1+1.
19137
19138 2005-11-17  Torsten Schoenfeld  <kaffeetisch at gmx dot net>
19139
19140         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
19141
19142         * gst/gstmessage.c: (gst_message_parse_clock_lost):
19143           Assertion should check for CLOCK_LOST, not NEW_CLOCK (#321648).
19144
19145         * gst/gstpadtemplate.h:
19146         * gst/gstpluginfeature.h:
19147           Don't use c++ style comments in headers (#321638).
19148
19149 2005-11-16  Andy Wingo  <wingo@pobox.com>
19150
19151         * gst/net/gstnettimepacket.c (gst_net_time_packet_send): Free
19152         buffer.
19153
19154         * check/net/gstnettimeprovider.c: Check to see that the time
19155         provider actually provides times. Works, yo!
19156
19157 2005-11-16  Wim Taymans  <wim@fluendo.com>
19158
19159         * check/Makefile.am:
19160         Enable more tests.
19161
19162         * check/elements/fakesrc.c: (GST_START_TEST):
19163         Set element to NULL before disposing it.
19164
19165 2005-11-16  Andy Wingo  <wingo@pobox.com>
19166
19167         * gst/net/Makefile.am:
19168         * gst/net/gstnet.h:
19169         * gst/net/gstnettimeprovider.c: 
19170         * gst/net/gstnettimeprovider.h: Use the timepacket stuff in the
19171         provider, include it from gstnet.h, and add it to the build.
19172
19173         * gst/net/gstnettimepacket.h: 
19174         * gst/net/gstnettimepacket.c: New files, abstracts out the packet
19175         sending and receiving.
19176
19177 2005-11-16  Wim Taymans  <wim@fluendo.com>
19178
19179         * check/Makefile.am:
19180         Enable valgrind check.
19181
19182         * gst/elements/gstfakesrc.c: (gst_fake_src_alloc_parent),
19183         (gst_fake_src_alloc_buffer):
19184         Fix memleak.
19185
19186 2005-11-16  Wim Taymans  <wim@fluendo.com>
19187
19188         * gst/net/gstnettimeprovider.c: (gst_net_time_provider_finalize):
19189         Call parent finalize too.
19190
19191 2005-11-16  Wim Taymans  <wim@fluendo.com>
19192
19193         * check/Makefile.am:
19194         Enable valgrind check that should work fine now.
19195
19196         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
19197         * gst/gstqueue.c: (gst_queue_init):
19198         Fix memleaks in pad allocation.
19199
19200 2005-11-16  Andy Wingo  <wingo@pobox.com>
19201
19202         * gst/net/Makefile.am:
19203         * gst/net/gstnet.h: New part of core to hold network elements and
19204         objects. Put in core because it exposes API that applications want
19205         to use. The library is named libgstnet-tempname right now because
19206         of the existing libgstnet in gst-plugins-base. Solution is
19207         probably to rename the one in plugins-base; will file a bug for
19208         the freeze break.
19209
19210         * gst/net/gstnettimeprovider.c: 
19211         * gst/net/gstnettimeprovider.h: New object to export a GstClock's
19212         get_time call over the network.
19213
19214         * configure.ac: 
19215         * gst/Makefile.am (lib_LTLIBRARIES): Add gstnet to the build.
19216
19217         * check/Makefile.am:
19218         * check/net/gstnettimeprovider.c: A most minimal test suite. Will
19219         get additions shortly.
19220
19221 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
19222
19223         * gst/gstpad.c: (gst_pad_new_from_static_template):
19224         * gst/gstpad.h:
19225           add gst_pad_new_from_static_template functions
19226         * gst/check/gstcheck.c: (gst_check_setup_src_pad),
19227         (gst_check_setup_sink_pad):
19228         * gst/elements/gsttee.c: (gst_tee_init):
19229           and use them
19230
19231 2005-11-16  Wim Taymans  <wim@fluendo.com>
19232
19233         * gst/gstpad.c: (gst_pad_pause_task):
19234         Removed warning, it's not really an error either.
19235
19236 2005-11-16  Wim Taymans  <wim@fluendo.com>
19237
19238         * gst/base/gstbasetransform.c:
19239         (gst_base_transform_prepare_output_buf),
19240         (gst_base_transform_event):
19241         Check if the caps are NULL, this can happen if the element
19242         is shutting down and the pad caps are set to NULL.
19243
19244 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
19245
19246         * gst/elements/gsttee.c: (gst_tee_init):
19247           fix pad template leak in tee
19248
19249 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
19250
19251         * gst/glib-compat.c: (g_value_dup_gst_object):
19252         * gst/glib-compat.h:
19253         * gst/gstpad.c: (gst_pad_set_property):
19254           use gst_object_ref when setting the pad template; this will
19255           trigger the pad template leaks on GLib 2.6 and the slaves
19256
19257 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
19258
19259         * gst/glib-compat.c: (gst_flags_get_first_value):
19260         * gst/glib-compat.h:
19261         * gst/gstregistryxml.c:
19262           remove functions copied from GLib 2.6
19263
19264 2005-11-16  Michael Smith <msmith@fluendo.com>
19265
19266         * gst/Makefile.am:
19267           Don't link against VALGRIND_LIBS. That was always the wrong thing to
19268           do, but only breaks with newer valgrind versions. We're not a
19269           valgrind tool, we have no link-time dependencies on libcoregrind.
19270
19271 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
19272
19273         * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
19274           some debug changes
19275         * gst/gstmessage.h:
19276           typo fixes
19277
19278 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
19279
19280         * gst/base/gstbasesrc.c: (gst_base_src_init):
19281         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
19282         * gst/gstqueue.c: (gst_queue_init):
19283         * gst/gstregistryxml.c: (load_feature):
19284           Revert all these unrefs, they don't even pass make check !
19285
19286 2005-11-15  Johan Dahlin  <johan@gnome.org>
19287
19288         * gst/base/gstbasesrc.c: (gst_base_src_init):
19289         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
19290         * gst/gstqueue.c: (gst_queue_init): 
19291         Free pad templates, fixes a couple of leaks.
19292
19293 2005-11-15  Daniel Fischer  <dan at f3c dot com>
19294
19295         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
19296
19297         * gst/gstpad.c: (gst_pad_get_property):
19298           GST_PAD_PAD_TEMPLATE(pad) gets the pad template, while
19299           GST_PAD_TEMPLATE(pad) does a cast. We want the former here.
19300           (#321452)
19301
19302 2005-11-15  Wim Taymans  <wim@fluendo.com>
19303
19304         * gst/gstevent.c:
19305         Small doc update.
19306
19307 2005-11-15  Andy Wingo  <wingo@pobox.com>
19308
19309         * gst/gstelement.c (gst_element_set_base_time): Add debugging.
19310
19311         * gst/gstpipeline.c (gst_pipeline_set_new_stream_time): Document
19312         using GST_CLOCK_TIME_NONE to disable base time management.
19313         (do_pipeline_seek, gst_pipeline_change_state): Don't reset stream
19314         time if it was NONE before.
19315         (gst_pipeline_change_state): Only munge the base time if
19316         stream_time != GST_CLOCK_TIME_NONE.
19317
19318         * check/gst/gstpipeline.c (test_base_time): Punt around the
19319         problem of the probe not being called, because that's not the
19320         issue I'm looking at. Add a check that setting stream_time to NONE
19321         disables base time management.
19322         
19323 2005-11-15  Wim Taymans  <wim@fluendo.com>
19324
19325         * gst/base/gstbasesink.c: (gst_base_sink_change_state):
19326         segment_stop == -1 at startup.
19327
19328         * gst/base/gstbasetransform.c: (gst_base_transform_event),
19329         (gst_base_transform_change_state):
19330         Init segment values at start.
19331
19332 2005-11-15  Wim Taymans  <wim@fluendo.com>
19333
19334         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
19335         0 segment values are 0 in any format.
19336
19337         * gst/base/gstbasetransform.c: (gst_base_transform_event):
19338         * gst/base/gstbasetransform.h:
19339         Parse newsegment correctly in basetransform
19340
19341         * gst/elements/gstidentity.c: (gst_identity_transform_ip):
19342         Sync to clock using updated segment values.
19343
19344 2005-11-15  Andy Wingo  <wingo@pobox.com>
19345
19346         * check/gst/gstpipeline.c (test_base_time): Add check that the
19347         base time and stream time are reset correctly.
19348
19349 2005-11-15  Wim Taymans  <wim@fluendo.com>
19350
19351         * docs/design/part-TODO.txt:
19352         Some more TODO items.
19353
19354 2005-11-15  Andy Wingo  <wingo@pobox.com>
19355
19356         * gst/elements/gstfakesrc.c (gst_fake_src_create): It's not an
19357         error if the user selected "no clock" as the clocking method.
19358
19359         * check/gst/gstpipeline.c (test_base_time): New test for buffer
19360         timestamps with live capture.
19361
19362         * gst/elements/gstfakesrc.c (gst_fake_src_create): If the datarate
19363         is 0 but we are a live source, timestamp the buffers using the
19364         element's clock.
19365
19366 2005-11-14  Stefan Kost  <ensonic@users.sf.net>
19367
19368         * docs/gst/gstreamer-sections.txt:
19369         * gst/gsterror.c:
19370         * gst/gstghostpad.c:
19371         * gst/gstobject.h:
19372         * gst/gstxml.c:
19373           more section docs
19374
19375 2005-11-14  Wim Taymans  <wim@fluendo.com>
19376
19377         * common/gst.supp:
19378           add suppressions from Wim's Debian machine
19379
19380 2005-11-14  Thomas Vander Stichele  <thomas at apestaart dot org>
19381
19382         * common/gst.supp:
19383           add suppressions from Andy's AMD64 Ubuntu machine
19384
19385 2005-11-14  Andy Wingo  <wingo@pobox.com>
19386
19387         * gst/gstpad.c (gst_pad_set_active): Change docs; parent's
19388         STATE_LOCK not necessary. Fixes #311489.
19389
19390         * gst/gsterror.c (FILE_A_BUG): Be polite *and* helpful. Fixes
19391         #305291.
19392
19393         * gst/gstindex.c (gst_index_add_object): Note in the docs that
19394         this function is not implemented.
19395
19396 2005-11-14  Julien MOUTTE  <julien@moutte.net>
19397
19398         * gst/base/gstbasetransform.c:
19399         (gst_base_transform_prepare_output_buf):
19400         Ref the source pad caps while we need them.
19401         Fixes (#321386)
19402
19403 2005-11-11  Wim Taymans  <wim@fluendo.com>
19404
19405         * docs/gst/gstreamer-sections.txt:
19406         Added some docs for GstCollectData.
19407
19408         * gst/base/gstadapter.c:
19409         Some small code example fix.
19410
19411         * gst/base/gstcollectpads.c:
19412         * gst/base/gstcollectpads.h:
19413         Document some more.
19414
19415 2005-11-11  Thomas Vander Stichele  <thomas at apestaart dot org>
19416
19417         * configure.ac: back to HEAD
19418
19419 === release 0.9.5 ===
19420
19421 2005-11-11  Thomas Vander Stichele <thomas at apestaart dot org>
19422
19423         * configure.ac:
19424           releasing 0.9.5, "Bike Lunch Day"
19425
19426 2005-11-11  Wim Taymans  <wim@fluendo.com>
19427
19428         * gst/gstbuffer.c: (_gst_buffer_copy):
19429         Copy more flags.
19430
19431         * gst/gstcaps.c: (gst_caps_is_equal):
19432         Fix some docs.
19433         Make _is_equal fast in the trivial cases.
19434
19435         * gst/gstminiobject.c:
19436         * gst/gstminiobject.h:
19437         More docs. Spifify .h file.
19438
19439         * gst/gstutils.c:
19440         Small doc update.
19441
19442 2005-11-11  Wim Taymans  <wim@fluendo.com>
19443
19444         * gst/base/gstbasetransform.c:
19445         (gst_base_transform_prepare_output_buf),
19446         (gst_base_transform_handle_buffer):
19447         Small cleanups.
19448         If we're processing a buffer and need to allocate an output
19449         buffer, we cannot accept a format change. If we did get a 
19450         format change, we have to alloc a buffer ourselves of the 
19451         right size.
19452
19453 2005-11-11  Wim Taymans  <wim@fluendo.com>
19454
19455         * gst/gstpad.c: (gst_pad_get_caps), (gst_pad_peer_get_caps):
19456         While checking the flag for reentrancy in the gstcaps function
19457         is nice to detect recursive invocations, it also makes it 
19458         impossible to call getcaps from multiple threads, which must be
19459         possible. So, checking for recursive calls has to go.
19460
19461 2005-11-11  Michael Smith <msmith@fluendo.com>
19462
19463         * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
19464           Don't sync on buffers that fall partially outside our current
19465           segment. Prevents an assertion failure/abort playing some files.
19466
19467 2005-11-10  Andy Wingo  <wingo@pobox.com>
19468
19469         * check/gst/gstbin.c (test_message_state_changed_children): Style
19470         fix..
19471
19472         * gst/gstbus.c (poll_destroy, poll_func, gst_bus_poll): Implement
19473         gst_bus_poll with the signal watch. Ensures that poll and a signal
19474         watch see the same messages.
19475
19476         * check/gst/gstbus.c (test_watch_with_poll): New test, checks that
19477         a poll and a watch at the same time get the same messages.
19478
19479 2005-11-10  Thomas Vander Stichele  <thomas at apestaart dot org>
19480
19481         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps):
19482         * gst/gstcaps.c: (gst_caps_intersect):
19483           Don't call gst_caps_do_simplify - it doesn't respect order of caps
19484           and it's not needed.
19485
19486 2005-11-10  Wim Taymans  <wim@fluendo.com>
19487
19488         * docs/design/part-TODO.txt:
19489         Updated todo.
19490
19491 2005-11-10  Wim Taymans  <wim@fluendo.com>
19492
19493         * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
19494         * gst/base/gstbasesrc.c: (gst_base_src_wait),
19495         (gst_base_src_do_sync), (gst_base_src_get_range):
19496         Implement clock sync in base class.
19497
19498 2005-11-10  Thomas Vander Stichele  <thomas at apestaart dot org>
19499
19500         patch by: Tim-Philipp Müller <tim at centricular dot net>
19501
19502         * gst/gststructure.c: (gst_structure_parse_field),
19503         (gst_structure_from_string):
19504           Forward-port a 0.8 patch to handle escaped spaces in structure string,
19505           so that gst_parse_launch() can deal with spaces in filtered link
19506           caps (fixes #164479)
19507         * check/gst/capslist.h:
19508         * check/gst/gststructure.c: (GST_START_TEST):
19509           add unit tests for this change
19510
19511 2005-11-10  Wim Taymans  <wim@fluendo.com>
19512
19513         * docs/gst/gstreamer-sections.txt:
19514         * gst/gstelement.c:
19515         * gst/gstelement.h:
19516         Fix docs, move some STATE macros to private.
19517
19518 2005-11-10  Wim Taymans  <wim@fluendo.com>
19519
19520         * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
19521         Added check for bug #317341
19522
19523         * gst/gstbuffer.c:
19524         * gst/gstbuffer.h:
19525         Some more spiffifying.
19526
19527         * gst/gstghostpad.c: (gst_ghost_pad_do_link):
19528         Call peer linkfunction if we are a source pad. Totally fixes
19529         #317341
19530
19531         * gst/gstpad.c:
19532         Update docs, source pads should call the peer linkfunction
19533         so they can atomically perform the pad link.
19534
19535 2005-11-09  Wim Taymans  <wim@fluendo.com>
19536
19537         * gst/gstbuffer.c:
19538         * gst/gstbuffer.h:
19539         Uber-spiffy-spiffify some more.
19540
19541 2005-11-09  Tim-Philipp Müller  <tim at centricular dot net>
19542
19543         * gst/base/gstcollectpads.c: (gst_collectpads_add_pad):
19544         * gst/elements/gstfilesink.c: (gst_file_sink_init):
19545         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
19546         * gst/gstghostpad.c: (gst_ghost_pad_set_internal),
19547         (gst_ghost_pad_init), (gst_ghost_pad_new_notarget):
19548         * gst/gstpad.c: (gst_pad_init):
19549           Use GST_DEBUG_FUNCPTR() more extensively.
19550
19551 2005-11-09  Wim Taymans  <wim@fluendo.com>
19552
19553         * gst/gstobject.c: (gst_object_class_init):
19554         * gst/gstobject.h:
19555         Documentation fixes.
19556
19557 2005-11-09  Edward Hervey  <edward@fluendo.com>
19558
19559         * gst/gsttypefindfactory.c:
19560         Fix docs.
19561         
19562 2005-11-09  Edward Hervey  <edward@fluendo.com>
19563
19564         * gst/base/gsttypefindhelper.c:
19565         * gst/gsttypefind.c:
19566         * gst/gsttypefind.h:
19567         Fix docs.
19568
19569 2005-11-09  Wim Taymans  <wim@fluendo.com>
19570
19571         * gst/gstiterator.c:
19572         Fix revision data.
19573
19574         * gst/gsttask.c:
19575         * gst/gsttask.h:
19576         Fix docs.
19577
19578 2005-11-09  Wim Taymans  <wim@fluendo.com>
19579
19580         * gst/gstevent.h:
19581         * gst/gsturi.h:
19582         Fix docs.
19583
19584 2005-11-09  Wim Taymans  <wim@fluendo.com>
19585
19586         * docs/gst/gstreamer-sections.txt:
19587         Moved the message async delivery private lock and cond
19588         to the private section.
19589
19590         * gst/gstmessage.c:
19591         * gst/gstmessage.h:
19592         Fixed docs.
19593
19594 2005-11-09  Edward Hervey  <edward@fluendo.com>
19595
19596         * docs/gst/gstreamer-sections.txt:
19597         * gst/gsturi.c:
19598         * gst/gsturi.h:
19599         Document GstURIHandler
19600
19601 2005-11-09  Wim Taymans  <wim@fluendo.com>
19602
19603         * gst/gstiterator.c: (gst_iterator_fold), (gst_iterator_foreach),
19604         (gst_iterator_find_custom):
19605         * gst/gstiterator.h:
19606         Fix iterator docs.
19607
19608 2005-11-09  Wim Taymans  <wim@fluendo.com>
19609
19610         * gst/gstbin.h:
19611         Document another field.
19612
19613         * gst/gststructure.c:
19614         * gst/gststructure.h:
19615         Document.
19616
19617 2005-11-09  Wim Taymans  <wim@fluendo.com>
19618
19619         * gst/gstbin.h:
19620         Documented structs.
19621
19622 2005-11-09  Wim Taymans  <wim@fluendo.com>
19623
19624         * docs/gst/gstreamer-sections.txt:
19625         Added some new macros.
19626
19627         * gst/gstclock.c:
19628         * gst/gstclock.h:
19629         * gst/gstobject.h:
19630         Docs updates.
19631
19632 2005-11-09  Wim Taymans  <wim@fluendo.com>
19633
19634         * docs/design/part-TODO.txt:
19635         Some more items for the TODO
19636
19637         * gst/gstcaps.c:
19638         * gst/gstcaps.h:
19639         Document GstCaps.
19640
19641 2005-11-09  Andy Wingo  <wingo@pobox.com>
19642
19643         * gst/base/gstbasesink.c: Add the beginning of docs here -- have
19644         to work on something else now tho...
19645
19646         * gst/base/gstadapter.c: More adapter docs.
19647
19648         * gst/elements/gstfilesink.c (gst_file_sink_start) 
19649         (gst_file_sink_stop): New functions, replace the state change
19650         handler.
19651         (gst_file_sink_class_init): Hook up the start and stop functions.
19652         (gst_file_sink_base_init): Don't set the state change handler any
19653         more. It was a bit ugly too, being set from here...
19654         (gst_file_sink_get_property, gst_file_sink_set_property):
19655         Cleanups...
19656         (gst_file_sink_set_location): More robust check that doesn't call
19657         GST_STATE. Ugggggg.
19658
19659 2005-11-08  Tim-Philipp Müller  <tim at centricular dot net>
19660
19661         * gst/base/gstbasetransform.c: (gst_base_transform_event):
19662           Hold STREAM_LOCK while pushing newsegment or tag events as well.
19663
19664 2005-11-08  Wim Taymans  <wim@fluendo.com>
19665
19666         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
19667         (gst_base_sink_do_sync), (gst_base_sink_handle_event),
19668         (gst_base_sink_chain), (gst_base_sink_change_state):
19669         * gst/base/gstbasesink.h:
19670         * gst/base/gstbasesrc.h:
19671         * gst/gstelement.h:
19672         * gst/gstevent.h:
19673         Avoid excessive typechecking in macros.
19674
19675         * gst/gstminiobject.c: (gst_mini_object_get_type),
19676         (gst_mini_object_init), (gst_mini_object_new),
19677         (gst_mini_object_free):
19678         * gst/gstobject.c: (gst_object_class_init), (gst_object_init),
19679         (gst_object_finalize):
19680         Remove cruft code, optimize alloc_trace.
19681
19682 2005-11-07  Thomas Vander Stichele  <thomas at apestaart dot org>
19683
19684         * docs/faq/gst-uninstalled:
19685           fix up PS1 for systems that try to reset it
19686
19687 2005-11-07  Wim Taymans  <wim@fluendo.com>
19688
19689         * gst/base/gstbasesrc.c: (gst_base_src_init),
19690         (gst_base_src_get_range):
19691         Set the segment_end to -1 initially. Fixed typefind.
19692
19693 2005-11-07  Tim-Philipp Müller  <tim at centricular dot net>
19694
19695         * gst/base/gstadapter.c:
19696           Debug category should be 'adapter', not 'GstAdapter'.
19697           
19698         * gst/base/gstcollectpads.c: (gst_collectpads_base_init),
19699         (gst_collectpads_class_init), (gst_collectpads_init),
19700         (gst_collectpads_peek), (gst_collectpads_pop),
19701         (gst_collectpads_event), (gst_collectpads_chain):
19702           Add debug category and some debugging output. Use boilerplate
19703           macros. Remove some extraneous words from docs.
19704
19705 2005-11-05  Andy Wingo  <wingo@pobox.com>
19706
19707         * gst/base/gstpushsrc.c: Shorten by 30% via use of boilerplate
19708         macro.
19709
19710 2005-11-04  Stefan Kost  <ensonic@users.sf.net>
19711
19712         * docs/gst/gstreamer-sections.txt:
19713         * gst/gstcaps.h:
19714         * gst/gstinfo.c:
19715         * gst/gstminiobject.h:
19716         * gst/gstobject.h:
19717         * gst/gstutils.h:
19718           more docs added
19719
19720 2005-11-04  Wim Taymans  <wim@fluendo.com>
19721
19722         * gst/base/gstbasesrc.c: (gst_base_src_get_range):
19723         Small update to stop at the configured segment_end
19724         position.
19725
19726 2005-11-04  Stefan Kost  <ensonic@users.sf.net>
19727
19728         * gst/gstregistry.c:
19729         * gst/gstregistry.h:
19730           added missing docs
19731
19732 2005-11-04  Edward Hervey  <edward@fluendo.com>
19733
19734         * gst/base/gstbasesrc.c: (gst_base_src_get_range):
19735         Check if we are doing a segment seek and have arrived at the
19736         end of that segment.
19737
19738 2005-11-04  Wim Taymans  <wim@fluendo.com>
19739
19740         * gst/gstbus.c: (gst_bus_post), (gst_bus_set_sync_handler):
19741         Don't leak a mutex unlock in case of an error.
19742
19743         * gst/gstbus.h:
19744         Doc fixes.
19745
19746 2005-11-04  Wim Taymans  <wim@fluendo.com>
19747
19748         * gst/gstbus.c: (gst_bus_class_init), (gst_bus_init),
19749         (gst_bus_post):
19750         Get the context to wake up only once.
19751
19752 2005-11-03  Wim Taymans  <wim@fluendo.com>
19753
19754         * check/states/sinks.c: (GST_START_TEST):
19755         Uncomment fixed check.
19756
19757         * docs/design/part-TODO.txt:
19758         Updated TODO.
19759
19760         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
19761         (gst_base_sink_handle_object), (gst_base_sink_do_sync),
19762         (gst_base_sink_get_position):
19763         If we are going to PLAYING, post the right pending state
19764         when we post the intermediate paused message.
19765
19766         * gst/gstelement.c: (gst_element_continue_state),
19767         (gst_element_set_state_func), (gst_element_change_state):
19768         Don't post state changes that were between the same state
19769         and were not ASYNC.
19770
19771 2005-11-03  Stefan Kost  <ensonic@users.sf.net>
19772
19773         * docs/gst/gstreamer-sections.txt:
19774         * gst/gstcaps.h:
19775         * gst/gstinfo.c:
19776         * gst/gstminiobject.h:
19777         * gst/gstobject.h:
19778         * gst/gstutils.h:
19779           more docs and doc style fixes
19780
19781 2005-11-03  Stefan Kost  <ensonic@users.sf.net>
19782
19783         * docs/gst/gstreamer-sections.txt:
19784         * gst/gstelement.c:
19785         * gst/gstminiobject.c:
19786         doc fixes
19787
19788 2005-11-03  Andy Wingo  <wingo@pobox.com>
19789
19790         * check/states/sinks.c (test_livesrc_sink): Add checks that the
19791         state-changed messages actually have the right order and the right
19792         values.
19793
19794 2005-11-03  Wim Taymans  <wim@fluendo.com>
19795
19796         * check/states/sinks.c: (GST_START_TEST), (gst_object_suite):
19797         Added some more checks. Specifically the case where NO_PREROLL
19798         elements are in the pipeline.
19799
19800         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
19801         (gst_base_sink_handle_object), (gst_base_sink_do_sync),
19802         (gst_base_sink_get_position):
19803         Post READY->PAUSED state change messages too.
19804         Fix bug where VOID was posted as pending state...
19805
19806         * gst/gstbin.c: (gst_bin_recalc_state):
19807         use _element_continue_state() to continue the state change.
19808
19809         * gst/gstelement.c: (gst_element_continue_state),
19810         (gst_element_commit_state), (gst_element_set_state_func),
19811         (gst_element_change_state), (gst_element_change_state_func):
19812         Lots of state change cleanups, assign the STATE_RETURN in
19813         a new continue_state() function that also propagates the
19814         last return value from a state change to the app.
19815         Update some debug statements with proper category.
19816
19817 2005-11-03  Wim Taymans  <wim@fluendo.com>
19818
19819         * docs/design/part-events.txt:
19820         * docs/design/part-gstpipeline.txt:
19821         * docs/design/part-messages.txt:
19822         * docs/design/part-overview.txt:
19823         * docs/design/part-seeking.txt:
19824         * docs/design/part-states.txt:
19825         * docs/design/part-trickmodes.txt:
19826         * docs/manual/advanced-position.xml:
19827         Small docs updates.
19828
19829         * gst/gstobject.h:
19830         People think !! is ugly, this looks better.
19831
19832         * gst/gstpad.c: (gst_pad_set_blocked_async):
19833         Remove !! since it's fixed elsewhere now.
19834
19835 2005-11-03  Tim-Philipp Müller  <tim at centricular dot net>
19836
19837         * gst/gstminiobject.h:
19838         * gst/gstobject.h:
19839           Add !! to _FLAG_IS_SET macros to make the result boolean.
19840
19841 2005-11-03  Edward Hervey  <edward@fluendo.com>
19842
19843         * gst/gstpad.c: (gst_pad_set_blocked_async):
19844         comparing a flag and a gboolean rarely returns coherent results...
19845         Added two characters (!!) to make that work correctly.
19846         
19847 2005-11-03  Tim-Philipp Müller  <tim at centricular dot net>
19848
19849         * gst/gstbus.c: (gst_bus_class_init):
19850           Fix some typos.
19851           
19852         * gst/gstqueue.c: (gst_queue_loop):
19853           Don't assume a miniobject that isn't a buffer is an
19854           event (it could be that there is a refcounting
19855           problem somewhere and the pointer is stale and
19856           refers to an already destroyed miniobject).
19857
19858 2005-11-03  Julien MOUTTE  <julien@moutte.net>
19859
19860         * gst/gstpad.c: (gst_pad_alloc_buffer): Fix some typos.
19861
19862 2005-11-03  Tim-Philipp Müller  <tim at centricular dot net>
19863
19864         * docs/manual/advanced-position.xml:
19865           Update seek example and explanations to current 0.9 API.
19866
19867         * gst/elements/gsttypefindelement.c:
19868         (gst_type_find_element_activate):
19869           Remove FIXME comment now that the found caps
19870           are unreffed.
19871
19872 2005-11-03  Thomas Vander Stichele  <thomas at apestaart dot org>
19873
19874         * gst/gstregistryxml.c: (load_feature):
19875           Add another GST_STR_NULL instance
19876
19877 2005-11-02  Edward Hervey  <edward@fluendo.com>
19878
19879         * gst/gstpad.c: (handle_pad_block):
19880         Follow-up to Wim's patch, solves deadlock for blocked and flushing pads
19881         
19882 2005-11-02  Wim Taymans  <wim@fluendo.com>
19883
19884         * gst/gstbin.c:
19885         Fix typo in docs.
19886
19887         * gst/gstelement.c: (gst_element_commit_state):
19888         Remove unused value.
19889
19890         * gst/gstiterator.c:
19891         Mention that the returned element is reffed in the docs.
19892
19893 2005-11-02  Wim Taymans  <wim@fluendo.com>
19894
19895         * gst/gstpad.c: (gst_pad_alloc_buffer), (handle_pad_block),
19896         (gst_pad_push), (gst_pad_push_event):
19897         Unlock blocked pads when they are flushed.
19898
19899 2005-11-02  Thomas Vander Stichele  <thomas at apestaart dot org>
19900
19901         * docs/README:
19902         * docs/gst/gstreamer-sections.txt:
19903         * gst/gstbin.c:
19904           doc updates
19905         * gst/gstregistry.c: (gst_registry_scan_path_level):
19906           fix for a nasty little missed situation where an installed plug-in
19907           which was in the cache did not get overridden by an uninstalled one
19908           which was earlier in the plugin path because the newly created plugin
19909           for the uninstalled one (not in the registry) didn't get its
19910           ->registered set to TRUE
19911
19912 2005-11-02  Tim-Philipp Müller  <tim at centricular dot net>
19913
19914         * gst/base/gstcollectpads.c: (gst_collectpads_set_function),
19915         (gst_collectpads_add_pad), (gst_collectpads_remove_pad),
19916         (gst_collectpads_is_active), (gst_collectpads_collect),
19917         (gst_collectpads_collect_range), (gst_collectpads_start),
19918         (gst_collectpads_stop), (gst_collectpads_peek),
19919         (gst_collectpads_pop), (gst_collectpads_available),
19920         (gst_collectpads_read), (gst_collectpads_flush):
19921           Guard public API with assertions.
19922         
19923         * gst/gstpad.c:
19924           Fix docs for gst_pad_set_link_function().
19925
19926 2005-11-02  Johan Dahlin  <johan@gnome.org>
19927
19928         * gst/elements/gsttypefindelement.c (gst_type_find_element_activate): 
19929         Unref found_caps after we used it.
19930
19931 2005-11-02  Tim-Philipp Müller  <tim at centricular dot net>
19932
19933         * gst/base/gstcollectpads.c: (gst_collectpads_peek):
19934           Don't try to ref NULL.
19935
19936 2005-11-02  Thomas Vander Stichele  <thomas at apestaart dot org>
19937
19938         * win32/common/config.h.in:
19939           provide a GST_FUNCTION that just gives a string for now
19940
19941 2005-11-02  Thomas Vander Stichele  <thomas at apestaart dot org>
19942
19943         * win32/common/gstenumtypes.c: (register_gst_object_flags),
19944         (gst_object_flags_get_type), (register_gst_bin_flags),
19945         (gst_bin_flags_get_type), (register_gst_buffer_flag),
19946         (gst_buffer_flag_get_type), (register_gst_bus_flags),
19947         (gst_bus_flags_get_type), (register_gst_bus_sync_reply),
19948         (gst_bus_sync_reply_get_type), (register_gst_clock_return),
19949         (gst_clock_return_get_type), (register_gst_clock_entry_type),
19950         (gst_clock_entry_type_get_type), (register_gst_clock_flags),
19951         (gst_clock_flags_get_type), (register_gst_state),
19952         (gst_state_get_type), (register_gst_state_change_return),
19953         (gst_state_change_return_get_type), (register_gst_state_change),
19954         (gst_state_change_get_type), (register_gst_element_flags),
19955         (gst_element_flags_get_type), (register_gst_core_error),
19956         (gst_core_error_get_type), (register_gst_library_error),
19957         (gst_library_error_get_type), (register_gst_resource_error),
19958         (gst_resource_error_get_type), (register_gst_stream_error),
19959         (gst_stream_error_get_type), (register_gst_event_type),
19960         (gst_event_type_get_type), (register_gst_seek_type),
19961         (gst_seek_type_get_type), (register_gst_seek_flags),
19962         (gst_seek_flags_get_type), (register_gst_format),
19963         (gst_format_get_type), (register_gst_index_certainty),
19964         (gst_index_certainty_get_type), (register_gst_index_entry_type),
19965         (gst_index_entry_type_get_type),
19966         (register_gst_index_lookup_method),
19967         (gst_index_lookup_method_get_type), (register_gst_assoc_flags),
19968         (gst_assoc_flags_get_type), (register_gst_index_resolver_method),
19969         (gst_index_resolver_method_get_type), (register_gst_index_flags),
19970         (gst_index_flags_get_type), (register_gst_debug_level),
19971         (gst_debug_level_get_type), (register_gst_debug_color_flags),
19972         (gst_debug_color_flags_get_type), (register_gst_iterator_result),
19973         (gst_iterator_result_get_type), (register_gst_iterator_item),
19974         (gst_iterator_item_get_type), (register_gst_message_type),
19975         (gst_message_type_get_type), (register_gst_mini_object_flags),
19976         (gst_mini_object_flags_get_type), (register_gst_pad_link_return),
19977         (gst_pad_link_return_get_type), (register_gst_flow_return),
19978         (gst_flow_return_get_type), (register_gst_activate_mode),
19979         (gst_activate_mode_get_type), (register_gst_pad_direction),
19980         (gst_pad_direction_get_type), (register_gst_pad_flags),
19981         (gst_pad_flags_get_type), (register_gst_pad_presence),
19982         (gst_pad_presence_get_type), (register_gst_pad_template_flags),
19983         (gst_pad_template_flags_get_type), (register_gst_pipeline_flags),
19984         (gst_pipeline_flags_get_type), (register_gst_plugin_error),
19985         (gst_plugin_error_get_type), (register_gst_plugin_flags),
19986         (gst_plugin_flags_get_type), (register_gst_rank),
19987         (gst_rank_get_type), (register_gst_query_type),
19988         (gst_query_type_get_type), (register_gst_tag_merge_mode),
19989         (gst_tag_merge_mode_get_type), (register_gst_tag_flag),
19990         (gst_tag_flag_get_type), (register_gst_task_state),
19991         (gst_task_state_get_type), (register_gst_alloc_trace_flags),
19992         (gst_alloc_trace_flags_get_type),
19993         (register_gst_type_find_probability),
19994         (gst_type_find_probability_get_type), (register_gst_uri_type),
19995         (gst_uri_type_get_type), (register_gst_parse_error),
19996         (gst_parse_error_get_type):
19997         * win32/common/gstversion.h:
19998           update win32 copies
19999
20000 2005-11-01  Luca Ognibene  <luogni@tin.it>
20001
20002         * gst/gst.c:
20003           fix docs. popt is dead, long live GOption.
20004
20005 2005-10-31  Wim Taymans  <wim@fluendo.com>
20006
20007         * gst/gstbuffer.h:
20008         Small doc fix.
20009
20010 2005-10-31  Andy Wingo  <wingo@pobox.com>
20011
20012         * Boo!
20013
20014         * gst/gstqueue.c (gst_queue_chain): Fix downstream leaky mode.
20015
20016         * gst/gstobject.c (gst_object_dispatch_properties_changed): No
20017         need to serialize property notifications on GLib 2.8. GLib 2.6 has
20018         the possibility of deadlocks here if code calling notify() or
20019         set() has a lock that can be taken in another notify handler (ABBA
20020         with class lock and e.g. python GIL state lock).
20021
20022 2005-10-28  Julien MOUTTE  <julien@moutte.net>
20023
20024         * gst/gstbus.c: Doc updates.
20025
20026 2005-10-28  Wim Taymans  <wim@fluendo.com>
20027
20028         * docs/design/part-TODO.txt:
20029         * gst/gstiterator.c:
20030         * gst/gstsystemclock.c:
20031         * gst/gstsystemclock.h:
20032         Doc updates.
20033
20034 2005-10-28  Edward Hervey  <edward@fluendo.com>
20035
20036         * docs/gst/gstreamer-docs.sgml:
20037         * docs/gst/gstreamer-sections.txt:
20038         the GstURIType documentation page is private, it only defines GstURIType
20039         which should be defined in the GstURIHandler page
20040         
20041 2005-10-28  Thomas Vander Stichele  <thomas at apestaart dot org>
20042
20043         * gst/gstbin.c: (gst_bin_class_init):
20044         * gst/gstbin.h:
20045         * gst/gstutils.c:
20046         Documentation updates.
20047
20048 2005-10-28  Wim Taymans  <wim@fluendo.com>
20049
20050         * docs/gst/gstreamer-sections.txt:
20051         * gst/gstclock.c:
20052         * gst/gstclock.h:
20053         Documented the clocks.
20054
20055 2005-10-28  Stefan Kost  <ensonic@users.sf.net>
20056
20057         * docs/gst/gstreamer-sections.txt:
20058           move some macros to private sections
20059         * gst/gstminiobject.c:
20060         * gst/gstminiobject.h:
20061           add descriptions provided by ds and some more
20062         * gst/gstpad.h:
20063           mark macro as to be removed
20064
20065 2005-10-28  Wim Taymans  <wim@fluendo.com>
20066
20067         * docs/design/part-TODO.txt:
20068         Add an item to TODO.
20069
20070         * gst/gstiterator.c: (gst_iterator_fold),
20071         (gst_iterator_find_custom):
20072         * gst/gstiterator.h:
20073         Add iterator docs.
20074
20075 2005-10-28  Wim Taymans  <wim@fluendo.com>
20076
20077         * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
20078         (gst_base_transform_init):
20079         Don't leak class.
20080
20081         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_loop):
20082         An EOS event marks the queue as completely filled.
20083
20084 2005-10-27  Wim Taymans  <wim@fluendo.com>
20085
20086         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
20087         (gst_base_sink_do_sync), (gst_base_sink_get_position):
20088         Some more debugging.
20089
20090         * gst/base/gstbasetransform.c: (gst_base_transform_finalize),
20091         (gst_base_transform_init), (gst_base_transform_buffer_alloc),
20092         (gst_base_transform_event), (gst_base_transform_getrange),
20093         (gst_base_transform_chain):
20094         * gst/base/gstbasetransform.h:
20095         Fix debugging,
20096         Protect transform and concurrent buffer alloc with a new lock.
20097         Try not to break ABI/API.
20098
20099 2005-10-27  Wim Taymans  <wim@fluendo.com>
20100
20101         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
20102         (gst_base_src_init), (gst_base_src_query),
20103         (gst_base_src_default_newsegment),
20104         (gst_base_src_configure_segment), (gst_base_src_do_seek),
20105         (gst_base_src_send_event), (gst_base_src_event_handler),
20106         (gst_base_src_pad_get_range), (gst_base_src_loop),
20107         (gst_base_src_unlock), (gst_base_src_default_negotiate),
20108         (gst_base_src_start), (gst_base_src_deactivate),
20109         (gst_base_src_activate_push), (gst_base_src_change_state):
20110         Move some stuff around and cleanup things.
20111
20112 2005-10-27  Tim-Philipp Müller  <tim at centricular dot net>
20113
20114         * gst/base/gstbasesrc.c: (gst_base_src_query):
20115           Add missing break statements.
20116
20117 2005-10-27  Wim Taymans  <wim@fluendo.com>
20118
20119         * check/gst/gstbin.c: (GST_START_TEST):
20120         An extra refcount is taken in basesrc.
20121
20122         * gst/base/gstbasesrc.c: (gst_base_src_init), (gst_base_src_query),
20123         (gst_base_src_get_range), (gst_base_src_pad_get_range),
20124         (gst_base_src_loop):
20125         Small cleanups, check for flushing after being unlocked from the 
20126         LIVE_LOCK. take refcounts correctly (not yet everywhere).
20127         Don't send out EOS when going to READY.
20128
20129 2005-10-27  Wim Taymans  <wim@fluendo.com>
20130
20131         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
20132         (gst_base_sink_get_position):
20133         Some more debug.
20134
20135         * gst/gstbin.c: (message_check), (bin_replace_message),
20136         (bin_remove_messages), (is_eos), (gst_bin_add_func),
20137         (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
20138         (bin_query_duration_init), (bin_query_duration_fold),
20139         (bin_query_duration_done), (bin_query_generic_fold),
20140         (gst_bin_query):
20141         * tools/gst-launch.c: (main):
20142         Remove old option.
20143
20144 2005-10-26  Stefan Kost  <ensonic@users.sf.net>
20145
20146         * examples/controller/audio-example.c: (main):
20147         * examples/queue/queue.c: (event_loop):
20148         * gst/base/gstbasetransform.h:
20149         * gst/gstelement.c: (gst_element_send_event):
20150         * gst/gstevent.h:
20151         * gst/gstpad.c: (gst_pad_send_event):
20152           fixing examples
20153           fixing docs typos
20154           changing log priority in error situations
20155
20156 2005-10-25  Wim Taymans  <wim@fluendo.com>
20157
20158         * gst/gstbin.c: (message_check), (bin_replace_message),
20159         (bin_remove_messages), (is_eos), (gst_bin_add_func),
20160         (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
20161         (bin_query_duration_init), (bin_query_duration_fold),
20162         (bin_query_duration_done), (bin_query_generic_fold),
20163         (gst_bin_query):
20164         Some doc and debug updates.
20165         Cache previously requested query DURATION for speed. invalidate
20166         cached duration if element posts a DURATION message.
20167
20168 2005-10-25  Wim Taymans  <wim@fluendo.com>
20169
20170         * docs/design/part-TODO.txt:
20171         Update TODO.
20172
20173         * gst/gstbin.c: (message_check), (bin_replace_message),
20174         (bin_remove_messages), (is_eos), (gst_bin_add_func),
20175         (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
20176         (bin_query_duration_init), (bin_query_duration_fold),
20177         (bin_query_duration_done), (bin_query_generic_fold),
20178         (gst_bin_query):
20179         Handle SEGMENT_START/DONE messages correctly.
20180         More evolved query algorithm that handles duration queries
20181         correctly.
20182
20183         * gst/gstelement.c: (gst_element_send_event), (gst_element_query),
20184         (gst_element_get_state_func), (gst_element_abort_state),
20185         (gst_element_commit_state), (gst_element_lost_state):
20186         Some more debugging.
20187
20188         * gst/gstmessage.h:
20189         Added doc.
20190
20191 2005-10-25  Wim Taymans  <wim@fluendo.com>
20192
20193         * gst/base/gstbasesink.c: (gst_base_sink_get_position):
20194         Don't use invalid stream_time.
20195
20196         * gst/gstevent.c: (gst_event_new_newsegment):
20197         stream_time in newsegment cannot be undefined.
20198
20199 2005-10-24  Wim Taymans  <wim@fluendo.com>
20200
20201         * gst/gstbus.c:
20202         Doc fix.
20203
20204         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
20205         (gst_queue_loop):
20206         Fix potential deadlock when QUEUE_LOCK is taken before STREAM_LOCK.
20207
20208 2005-10-24  Stefan Kost  <ensonic@users.sf.net>
20209
20210         * docs/libs/tmpl/gstdparam.sgml:
20211         * docs/libs/tmpl/gstdplinint.sgml:
20212         * docs/libs/tmpl/gstdpman.sgml:
20213         * docs/libs/tmpl/gstdpsmooth.sgml:
20214         * docs/libs/tmpl/gstunitconvert.sgml:
20215           these are obsolete
20216
20217 2005-10-24  Thomas Vander Stichele  <thomas at apestaart dot org>
20218
20219         * configure.ac:
20220           back to HEAD
20221
20222 === release 0.9.4 ===
20223
20224 2005-10-23  Thomas Vander Stichele  <thomas at apestaart dot org>
20225
20226         * configure.ac:
20227           releasing 0.9.4, "Tyrannosaurus Rex"
20228
20229 2005-10-23  Tim-Philipp Müller  <tim at centricular dot net>
20230
20231         * gst/elements/gstfilesink.c: (gst_file_sink_do_seek),
20232         (gst_file_sink_get_current_offset):
20233           Use fseeko() and ftello() if available. When falling back on
20234           lseek() to get the current offset, fflush() first to make sure
20235           everything is up-to-date and we get the right offset.
20236
20237 2005-10-23  Thomas Vander Stichele  <thomas at apestaart dot org>
20238
20239         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
20240         * gst/base/gstbasesrc.c: (gst_base_src_loop):
20241         * gst/gsterror.c: (_gst_stream_errors_init):
20242         * gst/gsterror.h:
20243         * gst/gstqueue.c: (gst_queue_loop):
20244         * po/POTFILES.in:
20245           remove prematurely added error category and clean up the instances
20246
20247 2005-10-21  Wim Taymans  <wim@fluendo.com>
20248
20249         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
20250         (gst_base_sink_get_position), (gst_base_sink_query),
20251         (gst_base_sink_change_state):
20252         Simply set the right flag when going to playing, that's all
20253         we need to do instead of calling a function inside the object
20254         lock (that could take the lock as well and deadlock)
20255
20256 2005-10-21  Wim Taymans  <wim@fluendo.com>
20257
20258         * gst/base/gstbasesrc.c: (gst_base_src_do_seek),
20259         (gst_base_src_loop):
20260         Don't warn, the peer element knows what to do best when
20261         the seek failed, it might try something else.
20262
20263 2005-10-21  Wim Taymans  <wim@fluendo.com>
20264
20265         * gst/base/gstbasesrc.c: (gst_base_src_init),
20266         (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start):
20267         Fix seeking.
20268
20269 2005-10-21  Wim Taymans  <wim@fluendo.com>
20270
20271         * docs/design/part-segments.txt:
20272         More docs.
20273
20274         * gst/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
20275         Correctly set caps, even on the subbufer.
20276
20277 2005-10-21  Wim Taymans  <wim@fluendo.com>
20278
20279         * docs/gst/gstreamer-docs.sgml:
20280         * docs/gst/gstreamer-sections.txt:
20281         * gst/gstelement.h:
20282         * gst/gstevent.c:
20283         * gst/gstevent.h:
20284         * gst/gstmessage.h:
20285         * gst/gstpad.h:
20286         * gst/gstparse.h:
20287         * gst/gsttask.c: (gst_task_finalize), (gst_task_func):
20288         * gst/gsttask.h:
20289         * gst/gstutils.c:
20290         * gst/gstutils.h:
20291         And 2% more doc coverage.
20292
20293 2005-10-21  Andy Wingo  <wingo@pobox.com>
20294
20295         * gst/base/gstbasesrc.c (gst_base_src_query): Clean up percent
20296         position reporting.
20297
20298 2005-10-20  Wim Taymans  <wim@fluendo.com>
20299
20300         * gst/gsterror.c: (gst_error_get_message):
20301         * gst/gstparse.h:
20302         * gst/gstquery.h:
20303         * gst/gststructure.c:
20304         * gst/gsttrace.c:
20305         * gst/gstutils.c:
20306         More docs.
20307
20308 2005-10-20  Wim Taymans  <wim@fluendo.com>
20309
20310         * gst/gstbuffer.h:
20311         * gst/gstpad.c:
20312         * gst/gstparse.c:
20313         Another 1% more coverage.
20314
20315 2005-10-20  Wim Taymans  <wim@fluendo.com>
20316
20317         * docs/gst/gstreamer-sections.txt:
20318         * gst/gstelement.c: (gst_element_get_state_func),
20319         (gst_element_abort_state), (gst_element_commit_state),
20320         (gst_element_lost_state):
20321         * gst/gstevent.h:
20322         * gst/gstquery.c: (gst_query_set_position),
20323         (gst_query_parse_position), (gst_query_set_duration),
20324         (gst_query_parse_duration), (gst_query_new_convert):
20325         * gst/gstutils.c:
20326         Yay! 1% more docs coverage.
20327
20328 2005-10-20  Wim Taymans  <wim@fluendo.com>
20329
20330         * gst/gstpad.h:
20331         * gst/gstquery.c: (gst_query_set_position),
20332         (gst_query_parse_position), (gst_query_set_duration),
20333         (gst_query_parse_duration), (gst_query_new_convert):
20334         * gst/gstquery.h:
20335         * gst/gstutils.c: (gst_element_query_convert):
20336         * gst/gstutils.h:
20337         Docs and consistency fixes.
20338
20339 2005-10-20  Wim Taymans  <wim@fluendo.com>
20340
20341         * gst/gsttask.c:
20342         * gst/gsttask.h:
20343         More docs.
20344
20345 2005-10-20  Wim Taymans  <wim@fluendo.com>
20346
20347         * gst/gstbin.c: (message_check), (bin_replace_message),
20348         (bin_remove_messages), (is_eos), (gst_bin_add_func),
20349         (update_degree), (gst_bin_sort_iterator_next),
20350         (gst_bin_change_state_func), (gst_bin_dispose), (bin_bus_handler):
20351         Reworked the message handling a bit, cache the messages instead of
20352         only the senders. alows us to do more in the future.
20353
20354 2005-10-20  Wim Taymans  <wim@fluendo.com>
20355
20356         * docs/design/part-TODO.txt:
20357         Update TODO
20358
20359         * gst/base/gstbasesink.c: (gst_base_sink_get_position),
20360         (gst_base_sink_query):
20361         Don't use clock time to report position when in EOS.
20362
20363 2005-10-20  Tim-Philipp Müller  <tim at centricular dot net>
20364
20365         * tools/gst-inspect.c: (print_interfaces),
20366         (print_element_properties_info), (print_element_info):
20367           Fix interface output with gst-inspect -a; don't print
20368           newlines after double/float properties.
20369
20370 2005-10-20  Wim Taymans  <wim@fluendo.com>
20371
20372         * gst/base/gstbasesink.c: (gst_base_sink_get_position),
20373         (gst_base_sink_query):
20374         Speed up current position calculation.
20375
20376         * gst/base/gstbasesrc.c: (gst_base_src_query),
20377         (gst_base_src_default_newsegment):
20378         Correctly set stream position in newsegment.
20379
20380         * gst/gstbin.c: (gst_bin_add_func), (add_to_queue),
20381         (update_degree), (gst_bin_sort_iterator_next),
20382         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free):
20383         * gst/gstmessage.c: (gst_message_new_custom):
20384         Clean up debugging info
20385
20386         * gst/gstqueue.c: (gst_queue_link_src), (gst_queue_chain),
20387         (gst_queue_loop), (gst_queue_handle_src_query):
20388         Pause task faster.
20389
20390 2005-10-19  Wim Taymans  <wim@fluendo.com>
20391
20392         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
20393         (gst_base_sink_handle_object), (gst_base_sink_query), (do_playing):
20394         Fix query handling again.
20395
20396 2005-10-19  Wim Taymans  <wim@fluendo.com>
20397
20398         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
20399         (gst_base_sink_handle_object), (gst_base_sink_query), (do_playing):
20400         * gst/base/gstbasesrc.c: (gst_base_src_query):
20401         * gst/elements/gstfilesink.c: (gst_file_sink_query):
20402         * gst/elements/gsttypefindelement.c:
20403         (gst_type_find_handle_src_query), (find_element_get_length),
20404         (gst_type_find_element_activate):
20405         API change fix.
20406
20407         * gst/gstquery.c: (gst_query_new_position),
20408         (gst_query_set_position), (gst_query_parse_position),
20409         (gst_query_new_duration), (gst_query_set_duration),
20410         (gst_query_parse_duration), (gst_query_set_segment),
20411         (gst_query_parse_segment):
20412         * gst/gstquery.h:
20413         Bundling query position/duration is not a good idea since duration
20414         does not change much and we don't want to recalculate it for every
20415         position query, so they are separated again..
20416         Base value in segment query is not needed.
20417
20418         * gst/gstqueue.c: (gst_queue_handle_src_query):
20419         * gst/gstutils.c: (gst_element_query_position),
20420         (gst_element_query_duration), (gst_pad_query_position),
20421         (gst_pad_query_duration):
20422         * gst/gstutils.h:
20423         Updates for query API change.
20424         Added some docs here and there.
20425
20426 2005-10-19  Thomas Vander Stichele  <thomas at apestaart dot org>
20427
20428         * check/gst/gstbin.c: (GST_START_TEST):
20429         * check/gst/gstghostpad.c: (GST_START_TEST):
20430         * check/pipelines/cleanup.c: (GST_START_TEST):
20431           wait on thread to die so we can check refcount correctly
20432
20433 2005-10-18  Wim Taymans  <wim@fluendo.com>
20434
20435         * check/pipelines/stress.c: (GST_START_TEST):
20436         Make check a little more time consuming.
20437
20438 2005-10-18  Wim Taymans  <wim@fluendo.com>
20439
20440         * check/Makefile.am:
20441         * check/pipelines/stress.c: (GST_START_TEST),
20442         (simple_launch_lines_suite), (main):
20443         Small state change torture test.
20444
20445         * docs/design/part-states.txt:
20446         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
20447         (gst_base_sink_handle_object), (gst_base_sink_event), (do_playing),
20448         (gst_base_sink_change_state):
20449         Never take state lock from streaming thread, clean up ugly
20450         hacks. Unfortunatly core does not yet support nice ways to
20451         async commit state.
20452         
20453         * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_recalc_state),
20454         (bin_bus_handler):
20455         Start state recalc if a STATE_DIRTY message is posted, but only
20456         on the toplevel bin.
20457
20458         * gst/gstelement.c: (gst_element_sync_state_with_parent),
20459         (gst_element_get_state_func), (gst_element_abort_state),
20460         (gst_element_commit_state), (gst_element_lost_state),
20461         (gst_element_set_state_func), (gst_element_change_state):
20462         * gst/gstelement.h:
20463         State variables are now protected with the LOCK, the state
20464         lock is only used to serialize _set_state().
20465
20466 2005-10-18  Wim Taymans  <wim@fluendo.com>
20467
20468         * check/gst/gstbin.c: (GST_START_TEST):
20469         * check/gst/gstmessage.c: (GST_START_TEST):
20470         * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
20471         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_recalc_func),
20472         (bin_bus_handler):
20473         * gst/gstelement.c: (gst_element_abort_state),
20474         (gst_element_commit_state), (gst_element_lost_state):
20475         * gst/gstmessage.c: (gst_message_new_state_changed),
20476         (gst_message_new_state_dirty), (gst_message_new_segment_start),
20477         (gst_message_new_segment_done), (gst_message_new_duration),
20478         (gst_message_parse_state_changed),
20479         (gst_message_parse_segment_start),
20480         (gst_message_parse_segment_done), (gst_message_parse_duration):
20481         * gst/gstmessage.h:
20482         * tools/gst-launch.c: (event_loop):
20483         Seriously, this is better than a previous commit as we only need
20484         to notify the fact that an element changed state in a streaming
20485         thread, marking the state of the parents dirty, hence the 
20486         STATE_DIRTY message instead of abusing a boolean in a STATE_CHANGE
20487         message.
20488
20489 2005-10-18  Wim Taymans  <wim@fluendo.com>
20490
20491         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_get_state_func),
20492         (gst_bin_recalc_func):
20493         * gst/gstelement.c: (gst_element_set_clock),
20494         (gst_element_abort_state), (gst_element_lost_state):
20495         Cleanups, prepare for state change fixes.
20496
20497 2005-10-18  Wim Taymans  <wim@fluendo.com>
20498
20499         * gst/gstbin.h:
20500         * gst/gstelement.c: (gst_element_class_init),
20501         (gst_element_set_state), (gst_element_set_state_func):
20502         * gst/gstelement.h:
20503         Pending ABI changes.
20504         GThreadPool in GstBinClass to monitor async state changes.
20505         state_cookie in GstElement to detect concurrent gst/set state.
20506         set_state is now virtual too in case a very complicated element
20507         has to be constructed.
20508
20509 2005-10-18  Wim Taymans  <wim@fluendo.com>
20510
20511         * check/gst/gstbin.c: (GST_START_TEST):
20512         * check/gst/gstmessage.c: (GST_START_TEST):
20513         * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
20514         * gst/gstbin.c: (bin_bus_handler):
20515         * gst/gstelement.c: (gst_element_commit_state),
20516         (gst_element_lost_state):
20517         * gst/gstmessage.c: (gst_message_new_state_changed),
20518         (gst_message_new_segment_start), (gst_message_new_segment_done),
20519         (gst_message_new_duration), (gst_message_parse_state_changed),
20520         (gst_message_parse_segment_start),
20521         (gst_message_parse_segment_done), (gst_message_parse_duration):
20522         * gst/gstmessage.h:
20523         * tools/gst-launch.c: (event_loop):
20524         Make messages future proof.
20525         state-change gets a flag if it was a message comming from the
20526         streaming thread.
20527         segment-start/stop can also be specified in other formats.
20528         A message to notify an app that a pipeline changed playback 
20529         duration.
20530         Also fix a GstMessage leak in -launch
20531
20532 2005-10-18  Andy Wingo  <wingo@pobox.com>
20533
20534         * gst/gstelement.c (gst_element_dispose): More helpful message.
20535
20536 2005-10-18  Thomas Vander Stichele  <thomas at apestaart dot org>
20537
20538         reviewed by: <delete if not using a buddy>
20539
20540         * common/gtk-doc.mak:
20541
20542 2005-10-18  Thomas Vander Stichele  <thomas at apestaart dot org>
20543
20544         * gst/gstregistry.c: (gst_registry_scan_path_level):
20545           unref a plug-in we get that was already initialized
20546
20547 2005-10-18  Stefan Kost  <ensonic@users.sf.net>
20548
20549         * docs/gst/gstreamer-sections.txt:
20550         * docs/libs/gstreamer-libs-sections.txt:
20551         * gst/gstelement.h:
20552           add new api entries
20553           hide internal macro
20554
20555 2005-10-17  Andy Wingo  <wingo@pobox.com>
20556
20557         * gst/base/gstcollectpads.c (gst_collectpads_chain): Slight
20558         cleanup.
20559
20560         * gst/Makefile.am (gstenumtypes.c): Threadsafe now.
20561
20562         * gst/gstevent.c (gst_event_new, gst_event_finalize): LOG.
20563
20564         * gst/gstelement.c (gst_element_get_state_func): s/INFO/DEBUG/.
20565         (gst_element_get_state_func): Better debug message.
20566         (gst_element_commit_state): s/INFO/DEBUG/.
20567         (gst_element_lost_state, gst_element_change_state): 
20568
20569         * gst/gstmessage.c (gst_message_init): s/INFO/LOG/.
20570         (gst_message_new_custom): s/INFO/LOG/.
20571
20572 2005-10-17  Michael Smith <msmith@fluendo.com>
20573
20574         * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
20575           Check if end time is valid using end time, not start time.
20576
20577 2005-10-17  Stefan Kost  <ensonic@users.sf.net>
20578
20579         * check/gst-libs/controller.c: (GST_START_TEST),
20580         (gst_controller_suite):
20581         * libs/gst/controller/gstcontroller.c:
20582         (gst_controlled_property_set_interpolation_mode):
20583         * libs/gst/controller/gstcontroller.h:
20584         * libs/gst/controller/gstinterpolation.c:
20585         * testsuite/controller/.cvsignore:
20586         * testsuite/controller/Makefile.am:
20587         * testsuite/controller/interpolator.c:
20588           merge controller testsuites
20589           fix broken tests
20590           remove mem-chunk from docs
20591
20592 2005-10-17  Thomas Vander Stichele  <thomas at apestaart dot org>
20593
20594         * gst/gstmemchunk.c:
20595         * gst/gstmemchunk.h:
20596         * gst/gsttrashstack.c:
20597         * gst/gsttrashstack.h:
20598           out.  get out.  you're fired.  to the Attic !
20599
20600 2005-10-17  Thomas Vander Stichele  <thomas at apestaart dot org>
20601
20602         * gst/gstcaps.c: (gst_caps_intersect):
20603           fix signedness issues in a (hopefully) correct way
20604         * gst/gstelement.c: (gst_element_pads_activate):
20605           some debugging
20606         * gst/gstobject.c: (gst_object_set_parent):
20607           some debugging
20608
20609 2005-10-17  Julien MOUTTE  <julien@moutte.net>
20610
20611         * gst/gstvalue.h: Fix prototypes.
20612
20613 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
20614
20615         * docs/gst/gstreamer-sections.txt:
20616         * gst/gst.c: (gst_version_string):
20617         * gst/gst.h:
20618         * gst/gstversion.h.in:
20619         * win32/common/libgstreamer.def:
20620           add gst_version_string ()
20621
20622 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
20623
20624         * configure.ac:
20625           clean up further
20626         * gst/gst.c: (init_post):
20627         * win32/common/config.h.in:
20628           it's PLUGINDIR now
20629         * gst/gstcaps.c: (gst_caps_intersect):
20630           use gint64, the range could be bigger than a guint
20631
20632 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
20633
20634         * gst/gstclock.h:
20635           document potential problem in 2038
20636
20637 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
20638
20639         * gst/gstcaps.c: (gst_caps_intersect):
20640           Fix guint j diving under 0
20641
20642 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
20643
20644         * configure.ac:
20645         * win32/common/config.h:
20646         * win32/common/config.h.in:
20647           check for process.h, declares getpid() on Windows
20648         * gst/gstinfo.c:
20649           include process.h if we have it
20650         * gst/gstmemchunk.c: (populate), (gst_mem_chunk_new):
20651         * gst/gstmemchunk.h:
20652           fix signedness issues
20653         * win32/common/libgstreamer.def:
20654           fix get_type's
20655
20656 2005-10-16  Julien MOUTTE  <julien@moutte.net>
20657
20658         * gst/gstcaps.c: (gst_caps_intersect): Fix a bad bug with a simple
20659         fix. Because of unsigned ints, caps intersection was going nuts and
20660         trying to access structures with G_MAXUINT index. That fixes
20661         videotestsrc ! ffmpegcolorspace ! fakesink
20662         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked): logs
20663         consistency.
20664
20665 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
20666
20667         * configure.ac:
20668           use the gettext macro
20669         * gst/elements/gstelements.c:
20670         * gst/gst.c:
20671         * gst/indexers/gstindexers.c:
20672           update for GST_PACKAGE_NAME, GST_PACKAGE_ORIGIN
20673         * win32/common/config.h:
20674           updated config.h
20675         * win32/common/config.h.in:
20676           add the template to generate config.h
20677         * win32/common/gstenumtypes.c:
20678         * win32/common/gstversion.h:
20679           updated copies
20680
20681 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
20682
20683         * gst/gst.c: (gst_version):
20684         * gst/gstversion.h.in:
20685           add the nano
20686
20687 2005-10-15  Tim-Philipp Müller  <tim at centricular dot net>
20688
20689         * gst/gstevent.h:
20690           Oops, add missing closing bracket.
20691
20692 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
20693
20694         * configure.ac:
20695           use common m4's for argument checking
20696
20697 2005-10-15  Tim-Philipp Müller  <tim at centricular dot net>
20698
20699         * docs/gst/gstreamer-sections.txt:
20700         * gst/gstevent.h:
20701           Add GST_EVENT_TYPE_NAME() macro.
20702
20703 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
20704
20705         * gst/gstinfo.c:
20706         * gst/gstpluginfeature.c:
20707         * gst/gsttask.c:
20708           privatize more symbols
20709
20710 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
20711
20712         * configure.ac:
20713           add srcdir, builddir includes to GST_ALL_CFLAGS, since
20714           everything that uses GStreamer API should have the includes
20715
20716 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
20717
20718         * docs/gst/gstreamer-sections.txt:
20719         * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
20720         * gst/gstvalue.h:
20721           give each value a _get_type, removes the DATA exports
20722
20723 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
20724
20725         * gst/gst.c:
20726         * gst/gst.h:
20727           remove _gst_registry_auto_load, not used anymore
20728         * gst/gstbin.c: (gst_bin_get_type):
20729         * gst/gstbin.h:
20730         * gst/gstelement.c: (gst_element_get_type):
20731         * gst/gstelement.h:
20732         * gst/gstobject.c: (gst_object_get_type):
20733         * gst/gstobject.h:
20734         * gst/gstpad.c: (gst_pad_get_type):
20735         * gst/gstpad.h:
20736           make _get_type functions similar, fixes data export from library
20737
20738 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
20739
20740         * configure.ac:
20741           correctly make conditionals
20742         * gst/elements/Makefile.am:
20743         * gst/elements/gstelements.c:
20744           fix typo causing fdsrc not to build
20745
20746 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
20747
20748         * testsuite/Makefile.am:
20749         * testsuite/bytestream/.cvsignore:
20750         * testsuite/bytestream/Makefile.am:
20751         * testsuite/bytestream/filepadsink.c:
20752         * testsuite/bytestream/gstbstest.c:
20753         * testsuite/bytestream/test1.c:
20754         * testsuite/bytestream/testfile1:
20755         * testsuite/caps/normalisation.c:
20756         * testsuite/caps/random.c: (main):
20757         * testsuite/cleanup/.cvsignore:
20758         * testsuite/cleanup/Makefile.am:
20759         * testsuite/cleanup/cleanup1.c:
20760         * testsuite/cleanup/cleanup2.c:
20761         * testsuite/cleanup/cleanup3.c:
20762         * testsuite/cleanup/cleanup4.c:
20763         * testsuite/cleanup/cleanup5.c:
20764         * testsuite/controller/interpolator.c:
20765         * testsuite/debug/printf_extension.c: (main):
20766         * testsuite/elements/tee.c:
20767         * testsuite/negotiation/.cvsignore:
20768         * testsuite/negotiation/Makefile.am:
20769         * testsuite/negotiation/pad_link.c:
20770         * testsuite/pad/Makefile.am:
20771         * testsuite/pad/chainnopull.c:
20772         * testsuite/pad/getnopush.c:
20773         * testsuite/pad/link.c:
20774         * testsuite/refcounting/sched.c: (create_pipeline):
20775         * testsuite/registry/Makefile.am:
20776         * testsuite/registry/gst-print-formats.c:
20777         * testsuite/schedulers/.cvsignore:
20778         * testsuite/schedulers/142183-2.c:
20779         * testsuite/schedulers/142183.c:
20780         * testsuite/schedulers/143777-2.c:
20781         * testsuite/schedulers/143777.c:
20782         * testsuite/schedulers/147713.c:
20783         * testsuite/schedulers/147819.c:
20784         * testsuite/schedulers/147894-2.c:
20785         * testsuite/schedulers/147894.c:
20786         * testsuite/schedulers/Makefile.am:
20787         * testsuite/schedulers/group_link.c:
20788         * testsuite/schedulers/queue_link.c:
20789         * testsuite/schedulers/relink.c:
20790         * testsuite/schedulers/unlink.c:
20791         * testsuite/schedulers/unref.c:
20792         * testsuite/schedulers/useless_iteration.c:
20793         * testsuite/states/bin.c:
20794           clean out/remove some stuff from the testsuite directories
20795
20796 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
20797
20798         * configure.ac:
20799           check for some headers
20800         * gst/elements/Makefile.am:
20801         * gst/elements/gstelements.c:
20802           don't compile fdsrc without sys/socket.h
20803         * gst/indexers/Makefile.am:
20804         * gst/indexers/gstindexers.c: (plugin_init):
20805           don't compile fileindex without mmap
20806
20807 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
20808
20809         * configure.ac:
20810           reorganize
20811           clean up
20812           document more
20813           remove cruft
20814         * check/Makefile.am:
20815         * docs/gst/Makefile.am:
20816         * examples/helloworld/Makefile.am:
20817         * gst/Makefile.am:
20818         * gst/base/Makefile.am:
20819         * gst/check/Makefile.am:
20820         * gst/elements/Makefile.am:
20821         * gst/indexers/Makefile.am:
20822         * gst/parse/Makefile.am:
20823         * libs/gst/controller/Makefile.am:
20824         * libs/gst/dataprotocol/Makefile.am:
20825         * examples/helloworld/helloworld.c: (event_loop):
20826           compile fixes, though it's not being compiled currently
20827
20828 2005-10-14  Tim-Philipp Müller  <tim at centricular dot net>
20829
20830         * check/gst/gsttag.c: (test_date_tags), (gst_tag_suite):
20831           Add some simple tests for the new taglist date API.
20832
20833 2005-10-14  Tim-Philipp Müller  <tim at centricular dot net>
20834
20835         * gst/elements/gstfakesink.c: (gst_fake_sink_render):
20836         * gst/elements/gstfakesrc.c: (gst_fake_src_create):
20837           Beautify 'last-message' output: print 'none' for buffer timestamps
20838           and durations if none is set; improve alignment with next messages.
20839
20840 2005-10-14  Tim-Philipp Müller  <tim at centricular dot net>
20841
20842         * gst/gstpluginfeature.c: (gst_plugin_feature_check_version):
20843         * gst/gstpluginfeature.h:
20844         * gst/gstregistry.c: (gst_default_registry_check_feature_version):
20845         * gst/gstregistry.h:
20846         * docs/gst/gstreamer-sections.txt:
20847           Add new API to check plugin feature version requirements.
20848
20849         * check/gst/gstplugin.c: (test_version_checks), (gst_plugin_suite):
20850           Some basic tests for the above.         
20851
20852 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
20853
20854         * gst/gststructure.c: (gst_structure_to_string):
20855           guard against NULL printf - happens when for example
20856           a message structure with GstClock gets serialized
20857
20858 2005-10-13  Tim-Philipp Müller  <tim at centricular dot net>
20859
20860         * gst/base/gstcollectpads.c: (gst_collectpads_event):
20861           Fix presumable copy'n'pasto.
20862
20863 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
20864
20865         * gst/elements/gstfakesrc.h:
20866         * gst/elements/gstfilesrc.c: (gst_file_src_create_read):
20867         * gst/elements/gsttypefindelement.c:
20868           fix some signedness
20869         * gst/elements/gstfilesink.c: (gst_file_sink_render):
20870           I wonder if this could actually write +2GB files before
20871
20872 2005-10-13  Andy Wingo  <wingo@pobox.com>
20873
20874         * libs/gst/dataprotocol/dataprotocol.c (gst_dp_packet_from_caps):
20875         Fix Timmeke Waymans bug.
20876         (gst_dp_caps_from_packet): Make sure we pass a NUL-terminated
20877         string of the proper length to gst_caps_from_string. There's a
20878         potential for, before this fix, that this could cause someone
20879         connecting over the network to cause a segfault if the payload is
20880         not NUL-terminated.
20881
20882 2005-10-13  Stefan Kost  <ensonic@users.sf.net>
20883
20884         * docs/design/draft-push-pull.txt:
20885         * docs/design/part-overview.txt:
20886         * docs/random/TODO-pre-0.9:
20887         * docs/random/old/ChangeLog.gstreamer:
20888         * gst/base/gstpushsrc.c:
20889         * gst/gstclock.c:
20890           fixed typos
20891
20892 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
20893
20894         * gst/glib-compat.c: (gst_flags_get_first_value):
20895         * gst/glib-compat.h:
20896         * gst/gstvalue.c: (gst_value_deserialize_int_helper),
20897         (gst_value_compare_double), (gst_value_serialize_flags):
20898           GLib 2.6 g_flags_get_first_value has a bug that triggers an
20899           infinite loop
20900
20901 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
20902
20903         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
20904         * gst/base/gstbasesrc.c: (gst_base_src_get_range):
20905           fix up debugging
20906         * tools/gst-launch.c: (event_loop):
20907           print out clock nicely
20908
20909 2005-10-13  Tim-Philipp Müller  <tim at centricular dot net>
20910
20911         * docs/gst/gstreamer-sections.txt:
20912         * gst/gsttaglist.h:
20913         * gst/gsttaglist.c: (_gst_tag_initialize), (gst_tag_list_get_date),
20914         (gst_tag_list_get_date_index):
20915           Added gst_tag_list_get_date() and gst_tag_list_get_date_index().
20916           GST_TAG_DATE now has a tag type of GST_TYPE_DATE (#170777).
20917
20918 2005-10-13  Julien MOUTTE  <julien@moutte.net>
20919
20920         * gst/base/gstcollectpads.c: (gst_collectpads_event),
20921         (gst_collectpads_chain):
20922         * gst/base/gstcollectpads.h: Handle newsegment and store informations
20923         in CollectData.
20924
20925 2005-10-13  Stefan Kost  <ensonic@users.sf.net>
20926
20927         * docs/gst/gstreamer-sections.txt:
20928         * gst/gst.c:
20929         * gst/gsterror.h:
20930         * tools/gst-inspect.c: (main):
20931         * tools/gst-launch.c: (main):
20932         * tools/gst-run.c: (main):
20933         * tools/gst-xmlinspect.c: (main):
20934           fix GOption context leaks
20935           doc fixes
20936
20937 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
20938
20939         * gst/gstbus.c:
20940           use HAVE_UNISTD_H
20941         * win32/common/config.h:
20942           update config
20943         * win32/vs6/grammar.dsp:
20944         * win32/vs6/libgstelements.dsp:
20945         * win32/vs6/libgstreamer.dsp:
20946           update vs6 files
20947
20948 2005-10-12  Thomas Vander Stichele  <thomas at apestaart dot org>
20949
20950         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
20951         * gst/base/gstbasesrc.c: (gst_base_src_query):
20952           fix more guint64<->gdouble conversions
20953
20954 2005-10-12  Thomas Vander Stichele  <thomas at apestaart dot org>
20955
20956         * Makefile.am:
20957           add win32-update target
20958         * win32/common/gstconfig.h:
20959         * win32/common/gstenumtypes.c:
20960         * win32/common/gstenumtypes.h:
20961         * win32/common/gstversion.h:
20962           add files that visual studio can't generate
20963
20964 2005-10-12  Thomas Vander Stichele  <thomas at apestaart dot org>
20965
20966         * Makefile.am:
20967           add a win32-update target
20968         * configure.ac:
20969
20970 2005-10-12  Wim Taymans  <wim@fluendo.com>
20971
20972         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
20973         (reset_degree), (gst_bin_dispose), (bin_bus_handler):
20974         * gst/gstelement.c: (gst_element_commit_state),
20975         (gst_element_set_state):
20976         Protect flags with proper lock.
20977         unref provided cached clock in dispose.
20978
20979 2005-10-12  Stefan Kost  <ensonic@users.sf.net>
20980
20981         * gst/gst.c:
20982         * gst/gstminiobject.h:
20983         * gst/gstpad.h:
20984         * win32/gstenumtypes.c: (gst_mini_object_flags_get_type):
20985           removed unused flags from miniobject
20986           doc fixes
20987
20988 2005-10-12  Wim Taymans  <wim@fluendo.com>
20989
20990         * gst/elements/gstfilesink.c: (gst_file_sink_do_seek),
20991         (gst_file_sink_event), (gst_file_sink_render):
20992         Flush before seeking.
20993
20994 2005-10-12  Andy Wingo  <wingo@pobox.com>
20995
20996         * gst/gst.c (gst_init_check): Ignore unknown options, as has
20997         always been the case.
20998
20999 2005-10-12  Stefan Kost  <ensonic@users.sf.net>
21000
21001         * check/gst/gstbin.c: (GST_START_TEST):
21002         * docs/gst/gstreamer-sections.txt:
21003         * gst/base/gstbasesink.c: (gst_base_sink_init):
21004         * gst/base/gstbasesrc.c: (gst_base_src_init),
21005         (gst_base_src_get_range), (gst_base_src_check_get_range),
21006         (gst_base_src_start), (gst_base_src_stop):
21007         * gst/base/gstbasesrc.h:
21008         * gst/elements/gstfakesrc.c: (gst_fake_src_set_property):
21009         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
21010         (bin_element_is_sink), (reset_degree), (gst_bin_element_set_state),
21011         (bin_bus_handler):
21012         * gst/gstbin.h:
21013         * gst/gstbuffer.h:
21014         * gst/gstbus.c: (gst_bus_post), (gst_bus_set_flushing):
21015         * gst/gstbus.h:
21016         * gst/gstelement.c: (gst_element_is_locked_state),
21017         (gst_element_set_locked_state), (gst_element_commit_state),
21018         (gst_element_set_state):
21019         * gst/gstelement.h:
21020         * gst/gstindex.c: (gst_index_init):
21021         * gst/gstindex.h:
21022         * gst/gstminiobject.h:
21023         * gst/gstobject.c: (gst_object_init), (gst_object_sink),
21024         (gst_object_set_parent):
21025         * gst/gstobject.h:
21026         * gst/gstpad.c: (gst_pad_set_blocked_async), (gst_pad_is_blocked),
21027         (gst_pad_get_caps_unlocked), (gst_pad_set_caps):
21028         * gst/gstpad.h:
21029         * gst/gstpadtemplate.h:
21030         * gst/gstpipeline.c: (gst_pipeline_provide_clock_func),
21031         (gst_pipeline_use_clock), (gst_pipeline_auto_clock):
21032         * gst/gstpipeline.h:
21033         * gst/indexers/gstfileindex.c: (gst_file_index_load),
21034         (gst_file_index_commit):
21035         * testsuite/bytestream/filepadsink.c: (gst_fp_sink_init):
21036         * testsuite/pad/link.c: (gst_test_src_init),
21037         (gst_test_filter_init), (gst_test_sink_init):
21038         * testsuite/states/locked.c: (main):
21039           renamed GST_FLAGS macros to GST_OBJECT_FLAGS
21040           moved bitshift from macro to enum definition
21041
21042 2005-10-12  Wim Taymans  <wim@fluendo.com>
21043
21044         * gst/base/gstbasesink.c: (gst_base_sink_handle_buffer):
21045         * gst/elements/gstfilesink.c: (gst_file_sink_event),
21046         (gst_file_sink_render):
21047         Some more debugging info.
21048
21049 2005-10-12  Wim Taymans  <wim@fluendo.com>
21050
21051         * docs/design/part-states.txt:
21052         * tools/gst-launch.c: (main):
21053         Some doc updates.
21054         Revert non-intentional change.
21055
21056 2005-10-12  Wim Taymans  <wim@fluendo.com>
21057
21058         * check/gst/gstbin.c: (GST_START_TEST):
21059         * check/gst/gstelement.c: (GST_START_TEST):
21060         * check/gst/gstevent.c: (GST_START_TEST), (test_event):
21061         * check/gst/gstghostpad.c: (GST_START_TEST):
21062         * check/gst/gstpipeline.c: (GST_START_TEST):
21063         * check/pipelines/simple_launch_lines.c: (run_pipeline):
21064         * check/states/sinks.c: (GST_START_TEST):
21065         * gst/elements/gsttypefindelement.c: (stop_typefinding):
21066         * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
21067         (gst_bin_remove_func), (gst_bin_get_state_func),
21068         (gst_bin_recalc_state), (gst_bin_change_state_func),
21069         (bin_bus_handler):
21070         * gst/gstelement.c: (gst_element_get_state_func),
21071         (gst_element_get_state), (gst_element_abort_state),
21072         (gst_element_commit_state), (gst_element_set_state),
21073         (gst_element_change_state), (gst_element_change_state_func):
21074         * gst/gstelement.h:
21075         * gst/gstpipeline.c: (gst_pipeline_class_init), (do_pipeline_seek),
21076         (gst_pipeline_provide_clock_func):
21077         * gst/gstutils.c: (gst_element_link_pads_filtered):
21078         * tools/gst-launch.c: (main):
21079         * tools/gst-typefind.c: (main):
21080         Use GstClockTime in _get_state() instead of GTimeVal.
21081         Remove old code in gstutils.c
21082
21083 2005-10-12  Andy Wingo  <wingo@pobox.com>
21084
21085         * gst/gstregistry.h (gst_registry_scan_paths): Not implemented, so
21086         removed.
21087
21088         * gst/gstpad.c (gst_pad_pause_task): Actually return FALSE if
21089         there is no task. Shouldn't affect any code, as nothing in our
21090         plugins checks this return value.
21091         (gst_pad_stop_task): Also take the stream lock if the pad has no
21092         task. Docs updated.
21093
21094 2005-10-12  Wim Taymans  <wim@fluendo.com>
21095
21096         * gst/gstpad.c: (pre_activate), (post_activate),
21097         (gst_pad_activate_pull), (gst_pad_activate_push):
21098         Cleanup activation code. Reset old state if
21099         activation failed.
21100
21101 2005-10-12  Wim Taymans  <wim@fluendo.com>
21102
21103         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
21104         (gst_base_sink_change_state):
21105         No need to prerol after receiving EOS.
21106
21107         * gst/elements/gstfakesink.c: (gst_fake_sink_event):
21108         * gst/elements/gstfakesrc.c: (gst_fake_src_event_handler):
21109         * gst/elements/gstidentity.c: (gst_identity_event):
21110         Print events more verbosely.
21111
21112 2005-10-12  Wim Taymans  <wim@fluendo.com>
21113
21114         * check/Makefile.am:
21115         * check/states/sinks.c: (GST_START_TEST), (gst_object_suite):
21116         * check/states/sinks2.c:
21117         Moved sinks2 testcode in sinks check.
21118
21119         * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
21120         (gst_bin_remove_func), (gst_bin_recalc_state),
21121         (gst_bin_change_state_func), (bin_bus_handler):
21122         Fix potential race condition when _get_state() iterated over an
21123         ASYNC element right before it posted a state completion.
21124
21125         * gst/gstclock.h:
21126         Do proper cast here.
21127
21128         * gst/gstevent.c: (gst_event_new_newsegment),
21129         (gst_event_parse_newsegment):
21130         A playback rate of 0.0 is not allowed.
21131
21132 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
21133
21134         * win32/common/config.h:
21135         * win32/common/dirent.c: (_topendir), (_treaddir), (_tclosedir),
21136         (_trewinddir), (_ttelldir), (_tseekdir):
21137         * win32/common/dirent.h:
21138         * win32/common/gtchar.h:
21139         * win32/common/libgstbase.def:
21140         * win32/common/libgstreamer.def:
21141         * win32/vs6/grammar.dsp:
21142         * win32/vs6/gst_inspect.dsp:
21143         * win32/vs6/gst_launch.dsp:
21144         * win32/vs6/gstreamer.dsw:
21145         * win32/vs6/libgstbase.dsp:
21146         * win32/vs6/libgstelements.dsp:
21147         * win32/vs6/libgstreamer.dsp:
21148           Visual Studio 6 project files, and a new common directory.
21149           Phear.
21150
21151 2005-10-11  Wim Taymans  <wim@fluendo.com>
21152
21153         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
21154         (gst_base_sink_do_sync), (gst_base_sink_query),
21155         (gst_base_sink_change_state):
21156         * gst/base/gstbasesink.h:
21157         Correctly parse newsegment info.
21158
21159 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
21160
21161         * gst/gst.c: (init_post):
21162           split plugin paths correctly
21163
21164 2005-10-11  Wim Taymans  <wim@fluendo.com>
21165
21166         * check/gst/gstevent.c: (GST_START_TEST):
21167         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
21168         (gst_base_sink_change_state):
21169         * gst/base/gstbasesrc.c: (gst_base_src_default_newsegment):
21170         * gst/base/gstbasetransform.c: (gst_base_transform_event):
21171         * gst/elements/gstfilesink.c: (gst_file_sink_event):
21172         * gst/gstevent.c: (gst_event_new_newsegment),
21173         (gst_event_parse_newsegment):
21174         * gst/gstevent.h:
21175         Added extra flag to newsegment for future API freeze.
21176         Updated check and base elements.
21177
21178 2005-10-11  Julien MOUTTE  <julien@moutte.net>
21179
21180         * gst/base/gstcollectpads.c: (gst_collectpads_init),
21181         (gst_collectpads_add_pad), (gst_collectpads_pop),
21182         (gst_collectpads_event), (gst_collectpads_chain):
21183         * gst/base/gstcollectpads.h: Handle EOS correctly.
21184
21185 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
21186
21187         * tools/gst-launch.c: (main):
21188           more null protecting
21189
21190 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
21191
21192         * gst/gst-i18n-lib.h:
21193           check for ENABLE_NLS, not GETTEXT_PACKAGE
21194         * gst/gstregistry.c: (gst_registry_add_plugin),
21195         (gst_registry_scan_path_level),
21196         (_gst_registry_remove_cache_plugins):
21197           protect possibly NULL strings
21198         * gst/parse/types.h:
21199           config.h already included before
21200         * tools/gst-inspect.c: (main):
21201           sys/wait.h also doesn�t exist on mingw, so change the ifdef check
21202           check for ENABLE_NLS, not GETTEXT_PACKAGE
21203         * tools/gst-launch.c: (main):
21204           check for ENABLE_NLS, not GETTEXT_PACKAGE
21205
21206 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
21207
21208         * configure.ac:
21209           if we don't have glib, fail before testing 2.8
21210         * gst/base/gstbasetransform.c: (gst_base_transform_change_state):
21211           fix a leak, should fix plugins-base testsuite
21212
21213 2005-10-11  Andy Wingo  <wingo@pobox.com>
21214
21215         * gst/gstpad.c (pre_activate): Renamed from pre_activate_switch,
21216         take the mode we're going to as an arg. Go head and set the mode
21217         and flushing flags now, so that if the activate function starts a
21218         thread all the flags will be in the right state.
21219         (post_activate): Renamed also. Just handle making sure streaming
21220         finishes for the deactivation case, and setting the deactivated
21221         mode.
21222         (gst_pad_set_active): Complain loudly if deactivation fails.
21223         (gst_pad_activate_pull): Adapt to pre/post_activate changes.
21224         (gst_pad_activate_push): Adapt to pre/post_activate changes,
21225         remove the terrible hack.
21226
21227 2005-10-11  Wim Taymans  <wim@fluendo.com>
21228
21229         * gst/gstbin.c: (gst_bin_init), (gst_bin_provide_clock_func),
21230         (is_eos), (gst_bin_add_func), (gst_bin_remove_func),
21231         (gst_bin_recalc_state), (gst_bin_change_state_func),
21232         (gst_bin_dispose), (bin_bus_handler):
21233         * gst/gstbin.h:
21234         Prepare to make current EOS message queue more generic.
21235         Fix some typos.
21236
21237         * gst/gstevent.c: (gst_event_new_newsegment),
21238         (gst_event_parse_newsegment):
21239         * gst/gstevent.h:
21240         Rename base to stream_time.
21241
21242         * gst/gstmessage.h:
21243         Fix typo in docs.
21244
21245 2005-10-11  Wim Taymans  <wim@fluendo.com>
21246
21247         * gst/gstbin.c: (gst_bin_init), (gst_bin_provide_clock_func),
21248         (gst_bin_add_func), (gst_bin_remove_func), (gst_bin_recalc_state),
21249         (gst_bin_change_state_func), (bin_bus_handler):
21250         * gst/gstbin.h:
21251         Work on proper clock selection.
21252
21253 2005-10-11  Edward Hervey  <edward@fluendo.com>
21254
21255         * libs/gst/controller/gstcontroller.c: (gst_controller_remove_properties_list): 
21256         * libs/gst/controller/gstcontroller.h:
21257         Added GList* version of _remove_properties() in order to be able to wrap
21258         it in bindings.
21259
21260 2005-10-11  Wim Taymans  <wim@fluendo.com>
21261
21262         * docs/design/part-states.txt:
21263         Some more docs.
21264
21265         * gst/gstbin.c: (gst_bin_set_clock_func), (gst_bin_recalc_state),
21266         (gst_bin_change_state_func), (bin_bus_handler):
21267         Doc updates. Don't distribute the same clock over and over again.
21268
21269         * gst/gstclock.c:
21270         * gst/gstclock.h:
21271         Doc updates.
21272
21273         * gst/gstpad.c: (gst_flow_get_name), (gst_flow_to_quark),
21274         (gst_pad_get_type), (gst_pad_push), (gst_pad_push_event),
21275         (gst_pad_send_event):
21276         * gst/gstpad.h:
21277         Make probe emission threadsafe again.
21278         Register quarks and move _get_name() from utils.
21279         Doc updates.
21280
21281         * gst/gstpipeline.c: (gst_pipeline_class_init),
21282         (gst_pipeline_change_state), (gst_pipeline_provide_clock_func):
21283         Only redistribute the clock of it changed.
21284
21285         * gst/gstsystemclock.h:
21286         Doc updates. 
21287
21288         * gst/gstutils.c:
21289         * gst/gstutils.h:
21290         Moved the _flow_get_name() to GstPad.
21291
21292 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
21293
21294         * check/gst-libs/gdp.c: (GST_START_TEST):
21295         * check/gst/gstcaps.c: (GST_START_TEST):
21296         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_crc),
21297         (gst_dp_dump_byte_array), (gst_dp_header_from_buffer),
21298         (gst_dp_packet_from_caps):
21299           fix more valgrind warnings before turning up the heat
21300
21301 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
21302
21303         * gst/parse/grammar.y:
21304           some cleanup before the hacking
21305
21306 2005-10-10  Thomas Vander Stichele  <thomas at apestaart dot org>
21307
21308         * gst/base/gstbasesrc.c: (gst_base_src_query):
21309           use conversions
21310         * gst/gstutils.c: (gst_guint64_to_gdouble),
21311         (gst_gdouble_to_guint64), (gst_util_uint64_scale):
21312         * gst/gstutils.h:
21313           externalize, basesrc uses it
21314           obviously the implementation needs testing
21315
21316 2005-10-10  Wim Taymans  <wim@fluendo.com>
21317
21318         * tests/sched/Makefile.am:
21319         * tests/sched/sort.c: (make_pipeline1), (make_pipeline2),
21320         (make_pipeline3), (make_pipeline4), (print_elem), (main):
21321
21322 2005-10-10  Thomas Vander Stichele  <thomas at apestaart dot org>
21323
21324         * gst/gstutils.c: (guint64_to_gdouble), (gst_util_uint64_scale):
21325           apparently converting from guint64 to double is not implemented
21326           on MSVC
21327
21328 2005-10-10  Wim Taymans  <wim@fluendo.com>
21329
21330         * check/Makefile.am:
21331         * check/generic/states.c: (GST_START_TEST):
21332         * check/gst/gstbin.c: (GST_START_TEST):
21333         * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
21334         * check/states/sinks.c: (GST_START_TEST):
21335         * check/states/sinks2.c: (GST_START_TEST), (gst_object_suite),
21336         (main):
21337         Check fixes, use API as stated in design docs, remove hacks.
21338
21339         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
21340         (gst_base_sink_change_state):
21341         Catch stopping our task while we're shutting down.
21342
21343         * gst/gstbin.c: (gst_bin_init), (gst_bin_add_func),
21344         (gst_bin_remove_func), (gst_bin_get_state_func),
21345         (gst_bin_recalc_state), (gst_bin_change_state_func),
21346         (bin_bus_handler):
21347         * gst/gstbin.h:
21348         * gst/gstelement.c: (gst_element_init),
21349         (gst_element_get_state_func), (gst_element_abort_state),
21350         (gst_element_commit_state), (gst_element_lost_state),
21351         (gst_element_set_state), (gst_element_change_state),
21352         (gst_element_change_state_func):
21353         * gst/gstelement.h:
21354         New state change algorithm (see #318116)
21355
21356         * gst/gstpipeline.c: (gst_pipeline_class_init),
21357         (gst_pipeline_init), (gst_pipeline_set_property),
21358         (gst_pipeline_get_property), (do_pipeline_seek),
21359         (gst_pipeline_change_state), (gst_pipeline_provide_clock_func):
21360         * gst/gstpipeline.h:
21361         Remove crude state change hacks.
21362
21363         * gst/gstutils.h:
21364         Remove crude hacks.
21365
21366         * tools/gst-launch.c: (main):
21367         Fixes for state change. Needs some more work to fully use the
21368         new stuff.
21369
21370 2005-10-10  Andy Wingo  <wingo@pobox.com>
21371
21372         * tests/Makefile.am (noinst_PROGRAMS): No more init.c.
21373
21374         * gst/gst.c (G_OPTION_FLAG_NO_ARG): Apparently GLib 2.8 requires
21375         this flag, but it's not even in GLib 2.6. Odd. Hack around the
21376         issue.
21377
21378 2005-10-10  Tim-Philipp Müller  <tim at centricular dot net>
21379
21380         * gst/gstiterator.c: (gst_iterator_new):
21381           Fix my previous commit: GTypes passed to gst_iterator_new()
21382           can be fundamental types.
21383
21384 2005-10-10  Wim Taymans  <wim@fluendo.com>
21385
21386         * gst/gstelement.c: (gst_element_iterate_pad_list),
21387         (gst_element_iterate_pads), (gst_element_iterate_src_pads),
21388         (gst_element_iterate_sink_pads):
21389         Use src/sink pads lists for the respective iterators instead
21390         of filtering.
21391
21392 2005-10-10  Andy Wingo  <wingo@pobox.com>
21393
21394         Merged in popt removal + GOption addition patch from Ronald, bug
21395         #169772.
21396
21397         * docs/gst/gstreamer-sections.txt: Add STATE_(UN)LOCK_FULL, move
21398         GstElement macros around, remove popt-related symbols, add goption
21399         stuff.
21400
21401         * configure.ac: Remove popt checks, require GLib 2.6 for GOption.
21402         
21403         * docs/gst/Makefile.am:
21404         * docs/libs/Makefile.am: No POPT_CFLAGS.
21405         
21406         * examples/manual/Makefile.am:
21407         * docs/manual/basics-init.xml: Doc updates with an example.
21408         
21409         * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
21410         (gst_init), (parse_one_option), (parse_goption_arg):
21411         * gst/gst.h: Removed gst_init_with_popt_table and friends. Took a
21412         bit of hand merging and debugging to get the GOption stuff working
21413         tho.
21414         
21415         * tests/Makefile.am:
21416         * tools/Makefile.am:
21417         * tools/gst-inspect.c: (main):
21418         * tools/gst-launch.c: (main):
21419         * tools/gst-run.c: (main):
21420         * tools/gst-xmlinspect.c: (main): Thanks Ronald!
21421
21422 2005-10-10  Tim-Philipp Müller  <tim at centricular dot net>
21423
21424         * gst/gstiterator.c: (gst_iterator_new):
21425           Add assertions to make sure passed GType is likely to really
21426           be a GType (as the compiler won't catch it if the size and
21427           GType arguments get mixed up, see #318447).
21428
21429 2005-10-10  Josef Zlomek  <josef dot zlomek at xeris dot cz>
21430
21431         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
21432
21433         * gst/gstbin.c: (gst_bin_iterate_sorted):
21434           Pass GType and size arguments to gst_iterator_new() in the right
21435           order (maybe we should make _new() take the GType as first argument
21436           just like _new_list()?) (#318447).
21437           
21438
21439 2005-10-10  Wim Taymans  <wim@fluendo.com>
21440
21441         * gst/gstelement.c: (gst_element_finalize):
21442         And free the GStaticRecMutex too
21443
21444 2005-10-10  Andy Wingo  <wingo@pobox.com>
21445
21446         * gst/gstelement.c (gst_element_init, gst_element_finalize):
21447         Allocate and free the mutex properly.
21448
21449         * gst/gstelement.h (GST_STATE_UNLOCK_FULL, GST_STATE_LOCK_FULL):
21450         New macros.
21451         (GstElement): The state_lock is now recursive. Rebuild your
21452         plugins, suckers. Old macros adapted.
21453
21454         * docs/gst/gstreamer-sections.txt: Doc updates.
21455
21456         * gst/gstutils.h:
21457         * gst/gstutils.c (g_static_rec_cond_timed_wait) 
21458         (g_static_rec_cond_wait): Ported from state changes patch, while
21459         we wait on bug #317802 to be solved in a well-distributed GLib.
21460
21461         * gst/gstelement.c (gst_element_change_state_func): Renamed from
21462         gst_element_change_state, variable name changes.
21463         (gst_element_change_state): Split out of gst_element_set_state in
21464         preparation for the state change merge. Doesn't pay attention to
21465         the 'transition' argument.
21466         (gst_element_set_state): Updates, hopefully purely cosmetic.
21467         (gst_element_sync_state_with_parent): MT-safety. Ported from the
21468         state change patch.
21469         (gst_element_get_state_func): Renamed from get_state, cosmetic
21470         changes.
21471
21472 2005-10-10  Thomas Vander Stichele  <thomas at apestaart dot org>
21473
21474         * gst/elements/gstelements.c:
21475         * win32/GStreamer.vcproj:
21476         * win32/config.h:
21477         * win32/dirent.c: (_tseekdir):
21478         * win32/gst-inspect.vcproj:
21479         * win32/gst-launch.vcproj:
21480         * win32/gstconfig.h:
21481         * win32/gstelements.vcproj:
21482         * win32/gstenumtypes.c: (gst_object_flags_get_type):
21483         * win32/gstreamer.def:
21484         * win32/msvc71.sln:
21485           updates for the win32 build (patch from Sebastien Moutte)
21486
21487 2005-10-10  Andy Wingo  <wingo@pobox.com>
21488
21489         * gst/gstbin.c (gst_bin_get_state_func): Renamed from
21490         gst_bin_get_state, cleaned up (but no logic changes).
21491         (bin_element_is_sink): Comment updates.
21492         (sink_iterator_filter): Remove needless cast.
21493         (gst_bin_iterate_sinks): Doc update.
21494         (gst_bin_change_state_func): Renamed from gst_bin_change_state,
21495         cleaned up (but no logic changes).
21496
21497         * check/states/sinks.c (test_src_sink): Cleanups from the state
21498         change patch.
21499         (test_livesrc_sink): Sync on the state.
21500
21501         * check/pipelines/simple_launch_lines.c (run_pipeline): Merge from
21502         the state change patch.
21503
21504         * check/gst/gstghostpad.c (test_ghost_pads): Merge from the state
21505         change patch.
21506
21507         * check/gst/gstbin.c: Merge in some style fixes and additional
21508         checks from Wim's state change patch.
21509
21510 2005-10-10  Tim-Philipp Müller  <tim at centricular dot net>
21511
21512         * gst/base/gsttypefindhelper.c: (helper_find_peek),
21513         (gst_type_find_helper):
21514           Check whether we have the requested data already in our list of
21515           cached buffers before pulling a new buffer; also make the buffer
21516           list a GSList. Speeds up typefinding by ca. 5-10% altogether.
21517
21518 2005-10-10  Thomas Vander Stichele  <thomas at apestaart dot org>
21519
21520         * gst/gstcaps.c:
21521         * gst/gstevent.c:
21522           doc updates
21523         * gst/gstvalue.c: (gst_value_deserialize_int_helper):
21524           don't use long long, it's not portable.  Replacing with
21525           gint64 seems to work; let's hope no skeletons fall out of the closet.
21526
21527 2005-10-10  Andy Wingo  <wingo@pobox.com>
21528
21529         * autogen.sh (CONFIGURE_DEF_OPT): No more --plugin-buiddir, yay
21530
21531 2005-10-09  Stefan Kost  <ensonic@users.sf.net>
21532
21533         * docs/gst/gstreamer-sections.txt:
21534         * gst/gstevent.c:
21535         * gst/gstevent.h:
21536         * gst/gstinfo.c:
21537         * gst/gstinfo.h:
21538         * gst/gstmessage.c: (gst_message_parse_state_changed):
21539         * gst/gstpad.c:
21540         * gst/gstpad.h:
21541           more docs, fix compilation
21542
21543 2005-10-09  Philippe Khalaf <burger@speedy.org>
21544         * gst/gstmessage.c:
21545           Fixed a few forgotten variables on previous commit
21546
21547 2005-10-09  Tim-Philipp Müller  <tim at centricular dot net>
21548
21549         * gst/base/gsttypefindhelper.c: (helper_find_peek):
21550           Fix evil typefind crasher: getrange() might return a short
21551           buffer at the end of a file, but gst_type_find_peek() must
21552           either return the full data as requested or NULL, but
21553           never a short buffer.
21554
21555 2005-10-09  Thomas Vander Stichele  <thomas at apestaart dot org>
21556
21557         * gst/gstmessage.c: (gst_message_new_state_changed),
21558         (gst_message_parse_state_changed):
21559         * gst/gstmessage.h:
21560           don't use "new", it's a C++ keyword
21561
21562 2005-10-08  Wim Taymans  <wim@fluendo.com>
21563
21564         * gst/gstbin.c: (is_eos), (update_degree), (gst_bin_query):
21565         * gst/gstelement.c: (gst_element_post_message):
21566         * gst/gstpipeline.c: (gst_pipeline_change_state):
21567         Small docs and debug updates.
21568
21569 2005-10-08  Stefan Kost  <ensonic@users.sf.net>
21570
21571         * docs/gst/gstreamer-sections.txt:
21572         * gst/gstelementfactory.c:
21573         * gst/gstevent.c:
21574         * gst/gsttaglist.c:
21575           more docs
21576
21577 2005-10-08  Wim Taymans  <wim@fluendo.com>
21578
21579         * gst/gstbin.c: (is_eos), (update_degree), (gst_bin_change_state),
21580         (gst_bin_dispose), (bin_bus_handler):
21581         Fix typos, add comments.
21582         Clear EOS list when going to PAUSED from any direction and do it
21583         in a threadsafe way.
21584         Get base time in a threadsafe way too.
21585         Fix confusing debug in the change_state function.
21586         Various other small cleanups.
21587         
21588         * gst/gstelement.c: (gst_element_post_message):
21589         Fix very verbose bus posting code.
21590
21591         * gst/gstpipeline.c: (gst_pipeline_class_init),
21592         (gst_pipeline_set_property), (gst_pipeline_get_property),
21593         (gst_pipeline_change_state):
21594         Small ARG_ -> PROP_ cleanup
21595
21596 2005-10-08  Wim Taymans  <wim@fluendo.com>
21597
21598         * gst/gstbin.c: (is_eos), (bin_bus_handler):
21599         Do a less CPU demanding EOS check because we can.
21600
21601 2005-10-08  Wim Taymans  <wim@fluendo.com>
21602
21603         * libs/gst/dataprotocol/dataprotocol.c:
21604         (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
21605         (gst_dp_packet_from_event):
21606         * libs/gst/dataprotocol/dataprotocol.h:
21607         * libs/gst/dataprotocol/dp-private.h:
21608         It's about time we bump the version number.
21609         Since event types don't fit in the guint8 anymore describing
21610         the payload type, make payload type 16 bits wide.
21611
21612 2005-10-08  Wim Taymans  <wim@fluendo.com>
21613
21614         * docs/design/part-TODO.txt:
21615         * docs/design/part-clocks.txt:
21616         * docs/design/part-events.txt:
21617         * docs/design/part-gstbin.txt:
21618         * docs/design/part-gstelement.txt:
21619         * docs/design/part-gstpipeline.txt:
21620         * docs/design/part-live-source.txt:
21621         * docs/design/part-messages.txt:
21622         * docs/design/part-overview.txt:
21623         * docs/design/part-states.txt:
21624         Many doc updates.
21625
21626 2005-10-08  Wim Taymans  <wim@fluendo.com>
21627
21628         * gst/gstevent.c:
21629         * gst/gstevent.h:
21630         Fix event quark registration.
21631         Add some space between events so we can insert them in the
21632         right groups.
21633
21634 2005-10-08  Wim Taymans  <wim@fluendo.com>
21635
21636         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
21637         (gst_base_sink_handle_buffer):
21638         Better log message.
21639
21640         * gst/gstbus.h:
21641         * gst/gstelement.h:
21642         More docs.
21643
21644         * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
21645         (gst_queue_set_property), (gst_queue_get_property):
21646         * gst/gstqueue.h:
21647         Remove old unused properties.
21648
21649 2005-10-08  Stefan Kost  <ensonic@users.sf.net>
21650         * docs/gst/gstreamer-sections.txt:
21651         * gst/gstmessage.c:
21652         * gst/gstmessage.h:
21653         * gst/gstminiobject.c:
21654         * gst/gstminiobject.h:
21655         * gst/gstobject.h:
21656         * gst/gstpad.h:
21657         * gst/gstutils.h:
21658           lots of new docs and doc fixes
21659
21660 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
21661
21662         * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_load_file):
21663         * gst/gstplugin.h:
21664         * gst/gstregistry.c: (gst_registry_lookup_locked),
21665         (gst_registry_scan_path_level):
21666         * gst/gstregistryxml.c: (load_plugin):
21667           Only ever load one plugin for a given plugin basename.
21668           This ensures correct overriding of GST_PLUGIN_PATH over
21669           GST_PLUGIN_SYSTEM_PATH and of home dir plugins over
21670           system installed plugins.
21671
21672 2005-10-08  Wim Taymans  <wim@fluendo.com>
21673
21674         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
21675         (gst_base_sink_do_sync), (gst_base_sink_handle_buffer):
21676         Prepare for doing QOS.
21677
21678 2005-10-08  Wim Taymans  <wim@fluendo.com>
21679
21680         * check/gst/gstbin.c: (GST_START_TEST):
21681         * check/pipelines/cleanup.c: (GST_START_TEST):
21682         * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
21683         Allow new clock message too.
21684
21685 2005-10-08  Wim Taymans  <wim@fluendo.com>
21686
21687         * gst/gstmessage.c: (gst_message_new_error),
21688         (gst_message_new_warning), (gst_message_new_tag),
21689         (gst_message_new_state_changed), (gst_message_new_clock_provide),
21690         (gst_message_new_clock_lost), (gst_message_new_new_clock),
21691         (gst_message_new_segment_start), (gst_message_new_segment_done),
21692         (gst_message_parse_state_changed),
21693         (gst_message_parse_clock_provide), (gst_message_parse_clock_lost),
21694         (gst_message_parse_new_clock):
21695         * gst/gstmessage.h:
21696         Also carry the clock in question.
21697
21698 2005-10-08  Wim Taymans  <wim@fluendo.com>
21699
21700         * gst/gstmessage.c: (gst_message_new_custom),
21701         (gst_message_new_eos), (gst_message_new_error),
21702         (gst_message_new_warning), (gst_message_new_tag),
21703         (gst_message_new_state_changed), (gst_message_new_clock_provide),
21704         (gst_message_new_new_clock), (gst_message_new_segment_start),
21705         (gst_message_new_segment_done), (gst_message_parse_state_changed),
21706         (gst_message_parse_clock_provide), (gst_message_parse_new_clock):
21707         * gst/gstmessage.h:
21708         Clean up.
21709         Added clock related messages.
21710
21711         * gst/gstpipeline.c: (gst_pipeline_change_state):
21712         Post message when the clock changed.
21713
21714         * tools/gst-launch.c: (event_loop):
21715         Print new clock.
21716
21717 2005-10-08  Tim-Philipp Müller  <tim at centricular dot net>
21718
21719         * tools/gst-inspect.c: (print_element_properties_info):
21720           Can't pass NULL strings to g_print() on windows.
21721
21722 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
21723
21724         * docs/Makefile.am:
21725         * docs/gst/Makefile.am:
21726         * docs/gst/gstreamer-docs.sgml:
21727         * docs/gst/running.xml:
21728         * docs/version.entities.in:
21729           add a chapter on running GStreamer.
21730           document GST_DEBUG and GST_PLUGIN* env vars
21731
21732 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
21733
21734         * Makefile.am:
21735           remove include dir
21736         * configure.ac:
21737           remove PLUGINS_BUILDDIR stuff
21738         * gst/gst.c: (init_post):
21739           reorder parsing of GST_PLUGIN_PATH and GST_PLUGIN_SYSTEM_PATH
21740         * idiottest.mak:
21741           remove, it was condescending and not needed
21742
21743 2005-10-08  Wim Taymans  <wim@fluendo.com>
21744
21745         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
21746         (gst_base_sink_handle_object), (gst_base_sink_event),
21747         (gst_base_sink_wait), (gst_base_sink_handle_event),
21748         (gst_base_sink_change_state):
21749         * gst/base/gstbasesink.h:
21750         Repost EOS message while going to PLAYING if still EOS.
21751         Make sure that when receiving a FLUSH_START we don't attempt
21752         to sync on the clock anymore.
21753
21754 2005-10-08  Wim Taymans  <wim@fluendo.com>
21755
21756         * tools/gst-launch.c: (event_loop):
21757         Better message printout.
21758
21759 2005-10-08  Wim Taymans  <wim@fluendo.com>
21760
21761         * gst/gstbin.c: (gst_bin_child_proxy_get_child_by_index),
21762         (gst_bin_child_proxy_get_children_count):
21763         * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
21764         (gst_child_proxy_lookup), (gst_child_proxy_get_property),
21765         (gst_child_proxy_get_valist), (gst_child_proxy_set_property),
21766         (gst_child_proxy_set_valist):
21767         * gst/parse/grammar.y:
21768         Make ChildProxy threadsafe and fix mem leaks.
21769
21770 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
21771
21772         * gst/gst.c: (init_post):
21773           debug the GST_PLUGIN_ env vars
21774
21775 2005-10-08  Wim Taymans  <wim@fluendo.com>
21776
21777         * check/gst/gstbin.c: (GST_START_TEST):
21778         * check/gst/gstmessage.c: (GST_START_TEST):
21779         * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
21780         * gst/gstelement.c: (gst_element_commit_state),
21781         (gst_element_lost_state):
21782         * gst/gstmessage.c: (gst_message_new_state_changed),
21783         (gst_message_parse_state_changed):
21784         * gst/gstmessage.h:
21785         * tools/gst-launch.c: (event_loop):
21786         Added extra field to STATE_CHANGE message with the pending
21787         state, which will be different from the new state soon.
21788
21789 2005-10-08  Wim Taymans  <wim@fluendo.com>
21790
21791         * gst/gstbus.c: (gst_bus_pop):
21792         * gst/gstclock.c:
21793         * gst/gstsystemclock.c: (gst_system_clock_async_thread):
21794         Small cleanups and doc updates.
21795
21796 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
21797
21798         * gst/gst.c: (init_pre):
21799         * gst/gstbin.c: (gst_bin_add_func):
21800           log distributing clocks and base time
21801         * gst/gstregistry.c: (gst_registry_add_plugin),
21802         (gst_registry_scan_path_level), (gst_registry_scan_path):
21803           clean up the debugging output a little
21804         * gst/gstutils.c: (gst_element_state_get_name):
21805           warn about a memleak (I've actually seen this be used, though
21806           it was probably a bug)
21807
21808 2005-10-07  Wim Taymans  <wim@fluendo.com>
21809
21810         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
21811         (gst_base_src_init), (gst_base_src_default_newsegment),
21812         (gst_base_src_newsegment), (gst_base_src_do_seek),
21813         (gst_base_src_loop), (gst_base_src_start):
21814         * gst/base/gstbasesrc.h:
21815         Make the newsegment event customizable by subclasses.
21816
21817 2005-10-07  Wim Taymans  <wim@fluendo.com>
21818
21819         * gst/gstevent.c: (gst_event_new_buffersize),
21820         (gst_event_parse_buffersize):
21821         * gst/gstevent.h:
21822         New event for future idea.
21823
21824 2005-10-07  Andy Wingo  <wingo@pobox.com>
21825
21826         * gst/gstelement.c (gst_element_post_message): Doc update.
21827
21828         * docs/gst/gstreamer-sections.txt: Update.
21829
21830         * gst/gstmessage.c (gst_message_new_application): Made into a
21831         function like honest API calls.
21832         (gst_message_new_element): New message type.
21833
21834         * gst/gstmessage.h (enum): Add GST_MESSAGE_ELEMENT type.
21835
21836         * check/elements/fakesrc.c (test_no_preroll): New check, checks
21837         that setting a live fakesrc to PAUSED returns NO_PREROLL both
21838         times.
21839
21840         * gst/base/gstbasesrc.c (gst_base_src_change_state): Allow a
21841         NO_PREROLL from gst_element_change_state to fall through.
21842
21843 2005-10-07  Wim Taymans  <wim@fluendo.com>
21844
21845         * gst/gstghostpad.c: (gst_ghost_pad_get_internal),
21846         (gst_ghost_pad_do_activate_push):
21847         Activating a ghostpad with no internal pad in push mode
21848         is ok.
21849
21850 2005-10-07  Thomas Vander Stichele  <thomas at apestaart dot org>
21851
21852         * gst/gstobject.h:
21853           there's no point in wrapping FLAG_SET/_UNSET in STMT macros.
21854           Fixes compilation on Windows.
21855
21856 2005-10-07  Michael Smith <msmith@fluendo.com>
21857
21858         * tools/gst-inspect.c:
21859           Print out feature and plugin count at the end when printing out
21860           all features.
21861
21862 2005-10-04  Michael Smith <msmith@fluendo.com>
21863
21864         * gst/gsterror.c: (_gst_stream_errors_init):
21865           Add another error string used in a few existing plugins.
21866
21867         * gst/gstplugin.c:
21868         * gst/gstpluginfeature.c: (gst_plugin_feature_load):
21869         * tools/gst-inspect.c: (print_element_info):
21870           When a feature disappears from a plugin (and the feature exists in
21871           the cached registry file), things went horribly wrong. This isn't a
21872           complete fix, we should actually be removing the 'missing' features
21873           from the features list when we load the actual plugin. That's not
21874           yet implemented. 
21875
21876 2005-10-04  Johan Dahlin  <johan@gnome.org>
21877
21878         * check/gst/gstiterator.c: (GST_START_TEST):
21879         * gst/gstbin.c: (gst_bin_iterate_elements),
21880         (gst_bin_iterate_recurse), (gst_bin_iterate_sorted):
21881         * gst/gstelement.c: (gst_element_iterate_pads):
21882         * gst/gstformat.c: (gst_format_iterate_definitions):
21883         * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
21884         (gst_iterator_new_list), (gst_iterator_filter):
21885         * gst/gstiterator.h:
21886         * gst/gstquery.c: (gst_query_type_iterate_definitions):
21887         Add a GType to GstIterator, update callsites and tests.
21888
21889 2005-10-06  Thomas Vander Stichele  <thomas at apestaart dot org>
21890
21891         * gst/gstpad.c: (gst_pad_event_default_dispatch):
21892           give events a chance to be handled by event probes when the pad
21893           is not linked
21894
21895 2005-10-06  Thomas Vander Stichele  <thomas at apestaart dot org>
21896
21897         * gst/gstevent.c: (gst_event_type_get_name),
21898         (gst_event_type_to_quark), (gst_event_finalize), (gst_event_new):
21899         * gst/gstevent.h:
21900           add string representations for event types
21901
21902 2005-10-06  Wim Taymans  <wim@fluendo.com>
21903
21904         * gst/elements/gstfilesink.c: (gst_file_sink_close_file):
21905         Don't use NULL pointers.
21906
21907 2005-10-06  Thomas Vander Stichele  <thomas at apestaart dot org>
21908
21909         * gst/gst_private.h:
21910         * gst/gstbus.c:
21911         * gst/gstelement.c:
21912         * gst/gstinfo.c:
21913         * gst/gstpluginfeature.c:
21914           widen the debug category in output to fit the biggest one we have
21915           add a bus category and use it
21916           play with the colors
21917           fix up some categories
21918
21919 2005-10-06  Thomas Vander Stichele  <thomas at apestaart dot org>
21920
21921         * gst/gstghostpad.c: (gst_ghost_pad_internal_do_activate_push):
21922           add push activation of sink ghost pads.
21923           Andye, please verify
21924
21925 2005-10-05  Thomas Vander Stichele  <thomas at apestaart dot org>
21926
21927         * gst/gstutils.c: (gst_element_link_pads):
21928           fix a bug in the case where neither element has a pad
21929         * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
21930           add a test for that case
21931
21932 2005-10-05  Thomas Vander Stichele  <thomas at apestaart dot org>
21933
21934         * gst/gstpad.c: (gst_pad_push), (gst_pad_push_event):
21935           emit have-data before checking for peers.  This allows
21936           for probe handlers to connect elements.  This helps autopluggers.
21937         * check/gst/gstpad.c: (GST_START_TEST), (_probe_handler),
21938         (gst_pad_suite):
21939           add six checks, linked/unlinked with no/true/false probe
21940
21941 2005-10-04  Wim Taymans  <wim@fluendo.com>
21942
21943         * gst/elements/gstfakesink.c: (gst_fake_sink_get_property),
21944         (gst_fake_sink_event), (gst_fake_sink_preroll),
21945         (gst_fake_sink_render), (gst_fake_sink_change_state):
21946         * gst/elements/gstfakesrc.c: (gst_fake_src_event_handler),
21947         (gst_fake_src_get_property), (gst_fake_src_create),
21948         (gst_fake_src_stop):
21949         * gst/elements/gstidentity.c: (gst_identity_stop):
21950         Protect last_message with lock.
21951
21952 2005-10-04  Edward Hervey  <edward@fluendo.com>
21953
21954         * gst/gstformat.h: 
21955         Added precision in the comments for GST_FORMAT_DEFAULT
21956
21957 2005-10-04  Tim-Philipp Müller  <tim at centricular dot net>
21958
21959         * tools/gst-launch.c: (main):
21960           Don't try to run erroneous pipelines.
21961
21962 2005-10-04  Julien MOUTTE  <julien@moutte.net>
21963
21964         * gst/gstbus.c: We don't need this header.
21965
21966 2005-10-03  Thomas Vander Stichele  <thomas at apestaart dot org>
21967
21968         * configure.ac:
21969           back to development
21970
21971 === release 0.9.3 ===
21972
21973 2005-10-03  Thomas Vander Stichele  <thomas at apestaart dot org>
21974
21975         * README:
21976         * configure.ac:
21977           Releasing 0.9.3, "Unregistered"
21978
21979 2005-10-03  Andy Wingo  <wingo@pobox.com>
21980
21981         * gst/gstpad.c (gst_pad_activate_push): There is a race condition
21982         whereby calling a pad's activatepush() function can start a thread
21983         that starts to push or pull before the pad gets the FLUSHING flag
21984         unset. Hack around it by holding the stream lock until the flag is
21985         set. Need to replace this with a proper solution. Together with
21986         the ghost pad fixes, this fixes mp3 playing/tagreading.
21987
21988         * docs/design/part-gstghostpad.txt: Add a note about activation of
21989         proxy pads outside of ghost pads.
21990
21991         * gst/gstghostpad.c: Implement the ghost pad activation design.
21992
21993 2005-10-02  Andy Wingo  <wingo@pobox.com>
21994
21995         * gst/gstobject.h (GST_OBJECT_REFCOUNT_VALUE): Just use the int.
21996         It is volatile, after all.
21997
21998         * docs/design/part-gstghostpad.txt: Flesh out activation with
21999         ghost pads.
22000
22001         * gst/base/gstbasesrc.c (gst_base_src_init): Use
22002         GST_DEBUG_FUNCPTR.
22003
22004 2005-10-02  Tim-Philipp Müller  <tim at centricular dot net>
22005
22006         * configure.ac:
22007           Fix (unused) AM_CONDITIONAL tests.
22008
22009 2005-10-01  Alessandro Decina  <alessandro at nnva dot org>
22010
22011         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
22012
22013         * gst/gstutils.c: (gst_pad_query_convert):
22014           Add assertion that makes sure src_val is >=0, just like
22015           gst_query_new_convert() has. (#315895)
22016
22017 2005-09-30  Edward Hervey  <edward@fluendo.com>
22018
22019         * gst/elements/gsttee.c: (gst_tee_do_push), (gst_tee_handle_buffer):
22020         Let's not iterate pads we're not interested in, it avoids getting 
22021         sky-high refcounts on sinkpad.
22022
22023 2005-09-30  Wim Taymans  <wim@fluendo.com>
22024
22025         * gst/gstelement.c: (gst_element_set_state),
22026         (gst_element_change_state):
22027         Small tweak, element in ASYNC remains ASYNC.
22028
22029 2005-09-30  Wim Taymans  <wim@fluendo.com>
22030
22031         * gst/base/gstbasesink.c: (gst_base_sink_change_state):
22032         Only error is an error.
22033
22034         * gst/gstbin.c: (gst_bin_change_state):
22035         Better debugging.
22036
22037         * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_chain):
22038         Also call pad_block in pad alloc.
22039
22040         * gst/gstutils.c: (gst_flow_get_name):
22041         Better debugging.
22042
22043 2005-09-29  Tim-Philipp Müller  <tim at centricular dot net>
22044
22045         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
22046         (gst_base_src_get_range):
22047           Fix documentation typos. Add some more debug info.
22048
22049 2005-09-29  David Schleef  <ds@schleef.org>
22050
22051         * gst/gstplugin.c: (gst_plugin_load_file): Make some error messages
22052           more end-user friendly.
22053         * tools/gst-inspect.c: (main): Check if command-line argument is
22054           a file and attempt to load that file as a plugin.
22055
22056 2005-09-29  Thomas Vander Stichele  <thomas at apestaart dot org>
22057
22058         * check/gst/gstbin.c:
22059         * check/states/sinks.c:
22060           fix tests for the new warning
22061         * check/gst/gstpipeline.c:
22062           add a test for pipeline and bus interaction
22063         * gst/gstelement.c:
22064           elements should be NULL if they get disposed; add a warning if not
22065
22066 2005-09-29  Thomas Vander Stichele  <thomas at apestaart dot org>
22067
22068         * gst/gstobject.c:
22069           for 2.6 refcounting, make debug log more correct by printing
22070           the actual refcounts at the time of swap (Wim)
22071
22072 2005-09-29  Andy Wingo  <wingo@pobox.com>
22073
22074         * gst/gstbus.c (gst_bus_remove_signal_watch): New function,
22075         removes signal watches previously added via
22076         gst_bus_add_signal_watch.
22077         (gst_bus_add_signal_watch): Don't return the source id, just store
22078         it on the bus if there wasn't an id already.
22079
22080         * gst/gstbus.h (GstBus): Add a couple new fields. API changes for
22081         add_signal_watch and remove_signal_watch.
22082
22083 2005-09-29  Edward Hervey  <edward@fluendo.com>
22084
22085         * libs/gst/controller/gstcontroller.c: (gst_controller_new_list): 
22086         Better if we actually iterate the list :)
22087
22088 2005-09-29  Wim Taymans  <wim@fluendo.com>
22089
22090         * check/gst/gstbin.c: (GST_START_TEST):
22091         Change for new bus API.
22092
22093         * check/gst/gstbus.c: (message_func_eos), (message_func_app),
22094         (send_messages), (GST_START_TEST), (gstbus_suite):
22095         Change for new bus signal API.
22096
22097         * gst/gstbus.c: (gst_bus_class_init), (gst_bus_have_pending),
22098         (gst_bus_source_prepare), (gst_bus_source_check),
22099         (gst_bus_create_watch), (gst_bus_add_watch_full),
22100         (gst_bus_add_watch), (gst_bus_poll), (gst_bus_async_signal_func),
22101         (gst_bus_sync_signal_handler), (gst_bus_add_signal_watch):
22102         * gst/gstbus.h:
22103         Remove support for multiple GSources operating on different
22104         message types as it is too complex and unneeded when using
22105         signals.
22106         Added support for receiving signals from the bus.
22107
22108 2005-09-29  Thomas Vander Stichele  <thomas at apestaart dot org>
22109
22110         * docs/libs/tmpl/gstdataprotocol.sgml:
22111         * docs/manual/advanced-dataaccess.xml:
22112         * gst/elements/gstcapsfilter.c:
22113         * gst/gstutils.c:
22114           rename filter-caps to caps property
22115
22116 2005-09-29  Tim-Philipp Müller  <tim at centricular dot net>
22117
22118         * gst/gstvalue.c: (gst_value_deserialize_fraction):
22119           More robust fraction string parsing.
22120
22121         * docs/pwg/appendix-porting.xml:
22122           Mention gst_pad_use_explicit_caps() => gst_pad_use_fixed_caps()
22123
22124 2005-09-29  Tim-Philipp Müller  <tim at centricular dot net>
22125
22126         * gst/gstcaps.c: (gst_caps_do_simplify):
22127           Thou shalt not free a structure and then continue using it
22128           in the next loop iteration.
22129
22130         * check/gst/gstcaps.c: (check_fourcc_list), (test_simplify),
22131         (gst_caps_suite):
22132           Add test case for caps simplification.
22133
22134 2005-09-29  Wim Taymans  <wim@fluendo.com>
22135
22136         * check/gst/gstbin.c: (GST_START_TEST):
22137         Oops.
22138
22139 2005-09-29  Wim Taymans  <wim@fluendo.com>
22140
22141         * check/gst/gstbin.c: (GST_START_TEST):
22142         Add bus to bin.
22143
22144         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
22145         (add_to_queue), (clear_queue), (reset_degree), (update_degree),
22146         (find_element), (gst_bin_sort_iterator_next),
22147         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
22148         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
22149         (gst_bin_change_state), (gst_bin_dispose):
22150         A bin does not have a bus, it gets the bus from the parent.
22151
22152         * gst/gstelement.c: (gst_element_requires_clock),
22153         (gst_element_provides_clock), (gst_element_is_indexable),
22154         (gst_element_is_locked_state), (gst_element_change_state),
22155         (gst_element_set_bus_func):
22156         Small cleanups.
22157
22158         * gst/gstpipeline.c: (gst_pipeline_class_init),
22159         (gst_pipeline_init), (gst_pipeline_provide_clock_func):
22160         The pipeline provides a bus.
22161
22162 2005-09-28  Johan Dahlin  <johan@gnome.org>
22163
22164         * gst/gstmessage.c (gst_message_parse_state_changed): Use
22165         gst_structure_get_enum instead of gst_structure_get_int
22166
22167         * gst/gststructure.c (gst_structure_get_enum): Impl.
22168
22169         * gst/gststructure.h (gst_structure_get_enum): Add
22170
22171         * docs/gst/gstreamer-sections.txt: Ditto
22172
22173         * gst/gstmessage.c (gst_message_new_state_changed): Use
22174         GST_TYPE_STATE instead of G_TYPE_INT, mainly for language bindings
22175         which does introspection.
22176         Reviewed by Christian Schaller
22177
22178 2005-09-28  Stefan Kost  <ensonic@users.sf.net>
22179
22180         * gst/gstinfo.c: (gst_debug_log_default):
22181           don't do dummy g_strdup()s
22182         * libs/gst/controller/gstcontroller.c:
22183         (on_object_controlled_property_changed),
22184         (gst_controlled_property_new), (gst_controller_new_valist),
22185         (gst_controller_new_list),
22186         (gst_controller_remove_properties_valist), (gst_controller_set),
22187         (gst_controller_get), (gst_controller_sync_values),
22188         (gst_controller_get_value_array), (_gst_controller_class_init),
22189         (gst_controller_get_type):
22190         * libs/gst/controller/gstcontroller.h:
22191         * libs/gst/controller/gstinterpolation.c:
22192         (gst_controlled_property_find_timed_value_node):
22193           convert // to /**/ comments
22194
22195 2005-09-28  Wim Taymans  <wim@fluendo.com>
22196
22197         * gst/gstbus.c: (marshal_VOID__MINIOBJECT), (gst_bus_class_init),
22198         (gst_bus_post), (poll_func), (gst_bus_async_signal_func),
22199         (gst_bus_sync_signal_handler):
22200         * gst/gstbus.h:
22201         Added async-message and sync-message signals to the bus.
22202         Added helper BusFunc to emit signals for all posted messages.
22203
22204         * gst/gstmessage.c: (gst_message_type_get_name),
22205         (gst_message_type_to_quark), (gst_message_get_type):
22206         * gst/gstmessage.h:
22207         Register quarks for message names.
22208
22209 2005-09-28  Stefan Kost  <ensonic@users.sf.net>
22210
22211         * docs/libs/gstreamer-libs-sections.txt:
22212         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
22213         (gst_controller_new_list):
22214         * libs/gst/controller/gstcontroller.h:
22215           added another constructor for language bindings
22216
22217 2005-09-28  Thomas Vander Stichele  <thomas at apestaart dot org>
22218
22219         * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
22220           add another check
22221         * gst/gstbus.c:
22222           add some doc
22223         * gst/gstinfo.c: (_gst_debug_init):
22224           slightly more readable color for refcount debugging
22225
22226 2005-09-28  Wim Taymans  <wim@fluendo.com>
22227
22228         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_provide_clock_func),
22229         (add_to_queue), (clear_queue), (reset_degree), (update_degree),
22230         (find_element), (gst_bin_sort_iterator_next),
22231         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
22232         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
22233         (gst_bin_change_state), (gst_bin_dispose):
22234         Small doc fixes. get_clock -> provide_clock.
22235
22236         * gst/gstelement.c: (gst_element_class_init),
22237         (gst_element_provides_clock), (gst_element_provide_clock),
22238         (gst_element_get_clock), (gst_element_commit_state),
22239         (gst_element_lost_state):
22240         * gst/gstelement.h:
22241         Make get/set_clock() symetric. Add provide_clock vmethod since
22242         that is actually what this function does.
22243
22244         * gst/gstpipeline.c: (gst_pipeline_class_init),
22245         (gst_pipeline_change_state), (gst_pipeline_provide_clock_func),
22246         (gst_pipeline_get_clock):
22247         get_clock -> provide_clock.
22248
22249 2005-09-28  Andy Wingo  <wingo@pobox.com>
22250
22251         * gst/base/gstbasesrc.c (gst_base_src_unlock): Comment a bit in
22252         lieu of real docs...
22253
22254         * gst/elements/gstfdsrc.c: Cleaned up a bit.
22255
22256 2005-09-28  Tim-Philipp Müller  <tim at centricular dot net>
22257
22258         * gst/elements/gstcapsfilter.c:
22259         * gst/elements/gstfakesink.c:
22260         * gst/elements/gstfakesrc.c:
22261         * gst/elements/gstfdsink.c:
22262         * gst/elements/gstfdsrc.c:
22263         * gst/elements/gstfilesink.c:
22264         * gst/elements/gstfilesrc.c:
22265         * gst/elements/gstidentity.c:
22266         * gst/elements/gsttee.c:
22267         * gst/elements/gsttypefindelement.c:
22268           Make element details static.
22269
22270 2005-09-28  Wim Taymans  <wim@fluendo.com>
22271
22272         * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
22273         (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
22274         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
22275         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
22276         (gst_bin_change_state), (gst_bin_dispose):
22277         Some documentation updates.
22278         Clean up dispose handlers.
22279
22280         * gst/gstobject.c: (gst_object_ref), (gst_object_unref):
22281         * gst/gstpad.c: (gst_pad_dispose):
22282         Clean up dispose handler.
22283
22284         * gst/gstpipeline.c: (gst_pipeline_change_state):
22285         Removed spurious UNLOCK.
22286
22287 2005-09-27  Stefan Kost  <ensonic@users.sf.net>
22288
22289         * docs/gst/gstreamer-sections.txt:
22290         * gst/base/gstbasesrc.h:
22291         * gst/gstelement.h:
22292         * gst/gstevent.h:
22293         * gst/gstobject.h:
22294         * gst/gstpad.h:
22295         * gst/gstpipeline.c:
22296         * gst/gstpipeline.h:
22297         * gst/gstutils.h:
22298         * gst/gstxml.h:
22299           added two new functions to the docs
22300                 documents all undocumented GstXXXFlags
22301                 completed some incomplete docs 
22302
22303 2005-09-27  Thomas Vander Stichele  <thomas at apestaart dot org>
22304
22305         * gst/gstbin.c: (gst_bin_dispose):
22306         * gst/gstelement.c: (gst_element_dispose):
22307           remove now useless and leaky resurrection code in dispose
22308         * gst/base/gstbasesrc.c: (gst_base_src_init):
22309         * gst/gstelementfactory.c: (gst_element_factory_create):
22310         * gst/gstobject.c: (gst_object_set_parent):
22311           add some debugging
22312
22313 2005-09-27  Wim Taymans  <wim@fluendo.com>
22314
22315         * docs/design/part-TODO.txt:
22316         Update TODO.
22317
22318         * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
22319         (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
22320         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
22321         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
22322         (gst_bin_change_state):
22323         * gst/gstelement.h:
22324         Remove element variable, we keep element info in the iterator now.
22325
22326 2005-09-27  Andy Wingo  <wingo@pobox.com>
22327
22328         * libs/gst/dataprotocol/dataprotocol.c: Fix error-checking return
22329         values.
22330
22331 2005-09-27  Wim Taymans  <wim@fluendo.com>
22332
22333         * check/gst/gstbin.c: (GST_START_TEST):
22334         Enable check that works now.
22335
22336         * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
22337         (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
22338         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
22339         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
22340         (gst_bin_change_state):
22341         * gst/gstbin.h:
22342         Redid the state change algorithm using a topological sort algo.
22343         Handles all cases correctly.
22344         Exposed iterator for state change order.
22345
22346         * gst/gstelement.h:
22347         Temp storage for state changes. Need to get rid of this soon.
22348
22349 2005-09-27  Wim Taymans  <wim@fluendo.com>
22350
22351         * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_do_push):
22352         * gst/gstutils.c: (intersect_caps_func), (gst_pad_proxy_getcaps),
22353         (link_fold_func), (gst_pad_proxy_setcaps):
22354         Leak fixes, the fold functions need to unref the passed object and
22355         _get_parent_*() returns ref to parent.
22356
22357 2005-09-27  Tim-Philipp Müller  <tim at centricular dot net>
22358
22359         * check/gst/gstbuffer.c: (test_make_writable):
22360           Plug leak in test case and fix 'make check-valgrind'
22361
22362 2005-09-27  Tim-Philipp Müller  <tim at centricular dot net>
22363
22364         * gst/gstbuffer.c: (gst_subbuffer_init):
22365           Set READONLY flag on subbuffers, so that gst_buffer_make_writable()
22366           works correctly in all circumstances (we could have just copied
22367           the parent buffer's readonly flag, but conceptually it seems
22368           cleaner to mark all subbuffers as read-only). (based on patch
22369           by Alessandro Decina, #314710).
22370         
22371         * check/gst/gstbuffer.c: (create_read_only_buffer),
22372         (test_make_writable), (test_subbuffer_make_writable),
22373         (gst_test_suite):
22374           Add some tests for gst_buffer_make_writable().
22375
22376 2005-09-27  Wim Taymans  <wim@fluendo.com>
22377
22378         * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_change_state):
22379         use gst_object_has_ancestor().
22380
22381         * gst/gstobject.c: (gst_object_has_ancestor):
22382         * gst/gstobject.h:
22383         gst_object_has_ancestor() copied from gstbin.c as it is a
22384         useful function.
22385
22386         * tests/instantiate/create.c: (create_all_elements):
22387         * tests/lat.c: (handoff_src), (handoff_sink):
22388         * tests/sched/runxml.c: (main):
22389         * tests/seeking/seeking1.c: (main):
22390         * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
22391         (main):
22392         Fix compilation of some tests.
22393
22394 2005-09-27  Tim-Philipp Müller  <tim at centricular dot net>
22395
22396         * gst/gsterror.h:
22397           Remove comment. GST_TYPE_G_ERROR is here to stay,
22398           G_TYPE_ERROR has been WONTFIX'ed by the GLib folks
22399           (#316961, #300610).
22400
22401 2005-09-26  Wim Taymans  <wim@fluendo.com>
22402
22403         * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
22404         Added check that shows error in state change order.
22405
22406 2005-09-26  Wim Taymans  <wim@fluendo.com>
22407
22408         * gst/gstbin.c: (gst_bin_change_state):
22409         Make state change function use 3 queues again, we were
22410         adding elements in the wrong order.
22411
22412         * gst/gstghostpad.c: (gst_ghost_pad_do_unlink):
22413         Some debug info,
22414
22415         * gst/gstpad.c: (gst_pad_dispose):
22416         Added some debug info first.
22417
22418 2005-09-26  Tim-Philipp Müller  <tim at centricular dot net>
22419
22420         * docs/design/draft-push-pull.txt:
22421         * docs/design/part-events.txt:
22422         * docs/design/part-overview.txt:
22423         * docs/design/part-scheduling.txt:
22424           Replace all _pull_region() with _pull_range()
22425           
22426 2005-09-26  Andy Wingo  <wingo@pobox.com>
22427
22428         * gst/gstvalue.c (_gst_value_initialize): Better fakeout.
22429
22430         * check/gst-libs/controller.c: Update for controller api change.
22431
22432         * configure.ac: 
22433         * tests/Makefile.am:
22434         * tests/memchunk: Remove memchunk benchmark stuff, this is taken
22435         over by GLib bug 118439.
22436         
22437         * gst/base/gstbasesink.c (gst_base_sink_wait): Factor out the wait
22438         routines to a function.
22439
22440         * docs/libs/gstreamer-libs-sections.txt: I am a good person today.
22441
22442         * libs/gst/controller/gsthelper.c:
22443         * libs/gst/controller/gstcontroller.h (gst_controller_sync_values)
22444         (gst_object_sync_values): Renamed from sink_values. Ugh.
22445
22446         * libs/gst/controller/gsthelper.c: Update for __gst_controller_key.
22447
22448         * libs/gst/controller/gstcontroller.c (__gst_controller_key):
22449         Renamed from controller_key, as it is exported.
22450
22451         * gst/gstvalue.c (_gst_value_initialize): Fake out the compiler.
22452
22453 2005-09-26  Thomas Vander Stichele  <thomas at apestaart dot org>
22454
22455         * gst/Makefile.am:
22456         * gst/gst.h:
22457         * gst/gstpad.h:
22458         * gst/gstpadtemplate.h:
22459         * gst/gstquery.c:
22460         * gst/gstquery.h:
22461         * gst/gstqueryutils.c:
22462         * gst/gstqueryutils.h:
22463           remove queryutils headers after moving the two used functions
22464           to gstquery.  also fixes build problem for gstsiddec
22465
22466 2005-09-26  Michael Smith <msmith@fluendo.com>
22467
22468         * tools/gst-launch.1.in:
22469         Correct documentation in manpage of debug syntax
22470
22471 2005-09-26  Wim Taymans  <wim@fluendo.com>
22472
22473         * gst/base/gstbasesrc.c: (gst_base_src_get_range),
22474         (gst_base_src_is_seekable), (gst_base_src_change_state):
22475         Some more debugging info.
22476
22477 2005-09-25  Stefan Kost  <ensonic@users.sf.net>
22478
22479         * docs/gst/gstreamer-sections.txt:
22480         * gst/base/gstbasetransform.h:
22481         * gst/gstindex.h:
22482           added more docs
22483
22484 2005-09-25  Stefan Kost  <ensonic@users.sf.net>
22485
22486         * docs/gst/.cvsignore:
22487         * docs/gst/tmpl/.cvsignore:
22488         * docs/gst/tmpl/gstpipeline.sgml:
22489         * docs/gst/tmpl/gstplugin.sgml:
22490         * gst/gstpipeline.c:
22491         * gst/gstplugin.c:
22492         * gst/gstplugin.h:
22493           inlined the last two docs files
22494           removed the tmpl directory from cvs (no more conflicts here!)
22495
22496 2005-09-25  Stefan Kost  <ensonic@users.sf.net>
22497
22498         * docs/gst/gstreamer-sections.txt:
22499         * docs/gst/tmpl/.cvsignore:
22500         * docs/gst/tmpl/gstpad.sgml:
22501         * docs/gst/tmpl/gstpadtemplate.sgml:
22502         * gst/Makefile.am:
22503         * gst/gstpad.c: (gst_pad_class_init), (gst_pad_dispose),
22504         (gst_pad_finalize), (gst_pad_set_pad_template):
22505         * gst/gstpad.h:
22506         * gst/gstpadtemplate.c: (gst_pad_template_get_type),
22507         (gst_pad_template_class_init), (gst_pad_template_init),
22508         (gst_pad_template_dispose), (name_is_valid),
22509         (gst_static_pad_template_get), (gst_pad_template_new),
22510         (gst_static_pad_template_get_caps), (gst_pad_template_get_caps),
22511         (gst_pad_template_pad_created):
22512         * gst/gstpadtemplate.h:
22513           inlined two more docs
22514           factored gstpadtemplate out of gstpad
22515
22516 2005-09-24  Tim-Philipp Müller  <tim at centricular dot net>
22517
22518         * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
22519         (test_children_state_change_order_semi_sink):
22520           Fix test case: we can't rely on a fixed state change order when
22521           going from READY => PAUSED because the sink might commit its 
22522           new state first when the first buffer created by the source 
22523           reaches the sink before the source has finished its change state.
22524           (Test case still fails at times, see #316856, comment 5 onwards)
22525
22526 2005-09-24  Wim Taymans  <wim@fluendo.com>
22527
22528         * docs/design/part-events.txt:
22529         * docs/design/part-gstbus.txt:
22530         * docs/design/part-gstpipeline.txt:
22531         * docs/design/part-messages.txt:
22532         * docs/design/part-overview.txt:
22533         * docs/design/part-segments.txt:
22534         * gst/gstbin.c:
22535         * gst/gstbuffer.c:
22536         * gst/gstclock.c:
22537         * gst/gstelement.c:
22538         * gst/gstevent.c:
22539         * gst/gstfilter.c:
22540         * gst/gstiterator.c:
22541         Various documentation updates.
22542
22543 2005-09-24  Thomas Vander Stichele  <thomas at apestaart dot org>
22544
22545         * gst/gstclock.h:
22546           Well, that's embarassing.  Luckily we weren't using
22547           GST_CLOCK_DIFF anywhere.
22548
22549 2005-09-23  Thomas Vander Stichele  <thomas at apestaart dot org>
22550
22551         * common/gtk-doc.mak:
22552           don't fail on building XML, FC4 slave shows a bunch of doc
22553           missing bits that I don't get
22554         * gst/gstpad.c:
22555         * gst/gstpipeline.c:
22556         * gst/gststructure.c:
22557           some doc updates
22558
22559 2005-09-23  Tim-Philipp Müller  <tim at centricular dot net>
22560
22561         * docs/design/part-gstbin.txt:
22562         * docs/design/part-gstbus.txt:
22563         * gst/gstbus.c:
22564           Add blurb about how the bus goes into flushing mode and
22565           drops all messages when its bin goes from READY into NULL 
22566           state.
22567
22568 2005-09-23  Thomas Vander Stichele  <thomas at apestaart dot org>
22569
22570         * docs/gst/gstreamer-sections.txt:
22571         * gst/gststructure.c: (gst_structure_get_clock_time):
22572         * gst/gststructure.h:
22573           add a method to get a GstClockTime out of a structure
22574
22575 2005-09-23  Tim-Philipp Müller  <tim at centricular dot net>
22576
22577         * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
22578         (test_children_state_change_order_semi_sink), (gst_bin_suite):
22579           Added test to check state change order in bins (can still be made
22580           to fail here under heavy disk load; bails out with 'Push on pad
22581           fakesink:sink0, but it was not activated in push mode').
22582
22583         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_change_state):
22584           Fix state change order when there is only a semi sink (#316856)
22585
22586         * gst/gstbus.c: (gst_bus_class_init):
22587           Use _class_peek_parent(), not _class_ref(); fix docs to say
22588           'default main context' instead of 'mainloop' where that is
22589           what's meant.
22590
22591         * gst/gstelement.c: (gst_element_commit_state),
22592         (gst_element_set_state):
22593           Fix typos in debug messages
22594
22595 2005-09-23  Thomas Vander Stichele  <thomas at apestaart dot org>
22596
22597         * docs/README:
22598         * gst/gstpad.c: (gst_pad_class_init), (gst_pad_chain):
22599         * gst/gstpluginfeature.c:
22600         * gst/gstutils.c:
22601           various doc updates
22602         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
22603           change an assert into an error until it gets fixed properly
22604
22605 2005-09-23  Stefan Kost  <ensonic@users.sf.net>
22606
22607         * docs/gst/gstreamer-sections.txt:
22608         * docs/gst/tmpl/.cvsignore:
22609         * docs/gst/tmpl/gstelement.sgml:
22610         * docs/gst/tmpl/gstinfo.sgml:
22611         * docs/gst/tmpl/gstobject.sgml:
22612         * gst/gstelement.c:
22613         * gst/gstelement.h:
22614         * gst/gstinfo.c:
22615         * gst/gstinfo.h:
22616         * gst/gstobject.c: (gst_object_class_init):
22617         * gst/gstobject.h:
22618           inlined 3 more biiiig doc files and added some missing docs on the fly
22619
22620 2005-09-23  Thomas Vander Stichele  <thomas at apestaart dot org>
22621
22622         * check/gst/.cvsignore:
22623         * check/gst/gstplugin.c: (GST_START_TEST), (gst_plugin_suite):
22624         * gst/gstregistryxml.c: (load_plugin),
22625         (gst_registry_xml_save_plugin):
22626           put back source in registry.  add checks for find_plugin.
22627         * testsuite/states/bin.c: (assert_state), (empty_bin),
22628         (test_adding_one_element), (main):
22629         * testsuite/states/locked.c: (main):
22630           some compile/run fixes
22631
22632 2005-09-22  Thomas Vander Stichele  <thomas at apestaart dot org>
22633
22634         * check/gst/gstvalue.c: (GST_START_TEST):
22635           fix leaks in the test itself
22636
22637 2005-09-22  Wim Taymans  <wim@fluendo.com>
22638
22639         * gst/base/gstbasesink.c: (gst_base_sink_class_init),
22640         (gst_base_sink_send_event), (gst_base_sink_peer_query),
22641         (gst_base_sink_query):
22642         Prepare for more accurate position reporting and query
22643         handling.
22644
22645         * gst/gstelement.c: (gst_element_send_event),
22646         (gst_element_set_state):
22647         Add some comment.
22648
22649 2005-09-22  Wim Taymans  <wim@fluendo.com>
22650
22651         * gst/gstquery.c: (gst_query_new_segment), (gst_query_set_segment),
22652         (gst_query_parse_segment):
22653         * gst/gstquery.h:
22654         More documentation.
22655         Add segment query for future use.
22656
22657 2005-09-22  Wim Taymans  <wim@fluendo.com>
22658
22659         * gst/gstbin.c: (gst_bin_add_func):
22660         Some more debug info.
22661
22662         * gst/gstelement.c: (gst_element_send_event):
22663         Simplify send_event
22664
22665         * gst/gstelement.h:
22666         Don't know how flags got broken.
22667
22668         * gst/gstquery.h:
22669         Added new query.
22670
22671 2005-09-22  Tim-Philipp Müller  <tim at centricular dot net>
22672
22673         * check/gst/gstvalue.c: (test_date), (gst_value_suite):
22674           Add simplistic test suite for GST_TYPE_DATE serialisation and
22675           deserialisation.
22676
22677 2005-09-22  Tim-Philipp Müller  <tim at centricular dot net>
22678
22679         * docs/gst/gstreamer-sections.txt:
22680         * gst/gststructure.c: (gst_structure_set_valist),
22681         (gst_structure_get_date):
22682         * gst/gststructure.h:
22683         * gst/gstvalue.c: (gst_value_set_date), (gst_value_get_date),
22684         (gst_date_copy), (gst_value_compare_date),
22685         (gst_value_serialize_date), (gst_value_deserialize_date),
22686         (gst_value_transform_date_string),
22687         (gst_value_transform_string_date), (_gst_value_initialize):
22688         * gst/gstvalue.h:
22689           Add GST_TYPE_DATE, a boxed type that wraps GDate, and the usual
22690           bunch of utility functions along with a hack that checks that
22691           developers don't accidentally use G_TYPE_DATE where GST_TYPE_DATE
22692           is required. Part of the grand scheme in #170777.
22693
22694 2005-09-22  Andy Wingo  <wingo@pobox.com>
22695
22696         * gst/gstconfig.h.in: Psych out gtk-doc.
22697
22698         * docs/gst/gstreamer-sections.txt: Add GST_HAVE_GLIB_2_8.
22699
22700         * check/Makefile.am (check_PROGRAMS): Add gstplugin to the tests.
22701
22702         * tools/gst-inspect.c (print_element_list): Plug some
22703         inconsequential leaks.
22704
22705         * gst/gstregistry.c (gst_registry_get_default): Doc.
22706
22707         * check/gst/gstplugin.c: 
22708         * gst/gsttypefindfactory.c (gst_type_find_factory_call_function):
22709         * gst/gstelementfactory.c (gst_element_factory_create): 
22710         * gst/gstindexfactory.c (gst_index_factory_create): Update for
22711         refcount changes.
22712
22713         * gst/gstpluginfeature.c (gst_plugin_feature_list_free): Doc.
22714         (gst_plugin_feature_load): Doc, don't eat refs.
22715
22716         * gst/gstplugin.c (gst_plugin_load): Doc, don't eat refs.
22717         (gst_plugin_list_free): Doc.
22718         (gst_plugin_load_file): Doc updates.
22719
22720         * gst/gstbuffer.c (gst_buffer_get_caps): Like all our _get
22721         accessors returning refcounted objects, return a ref.
22722
22723         * check/gst/gstbuffer.c (GST_START_TEST): Use refcount-idempotent
22724         accessor for caps. IDEMPOTENCE. Oh yes.
22725
22726 2005-09-21  Francis Labonte  <francis_labonte at hotmail dot com>
22727
22728         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
22729
22730         * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
22731         (_gst_debug_register_funcptr):
22732           Add mutex to serialise access to the hash table with
22733           the function pointer => function name string mapping;
22734           make that hash table static scope (#316809).
22735
22736         * gst/registries/.cvsignore:
22737           Remove left-over file.
22738
22739 2005-09-21  Tim-Philipp Müller  <tim at centricular dot net>
22740
22741         * docs/pwg/appendix-porting.xml:
22742           And something about newsegment events and caps-on-buffers to
22743           the porting guide (feel free to improve).
22744
22745 2005-09-21  Andy Wingo  <wingo@pobox.com>
22746
22747         * check/gst/gstutils.c (test_buffer_probe_n_times): Add tests for
22748         data and event probes on the same pad.
22749         (test_buffer_probe_once): Test that removing probes from within
22750         the probe functions works.
22751
22752 2005-09-21  Andy Wingo  <wingo@pobox.com>
22753
22754         * check/gst/gstutils.c: New file.
22755         (test_buffer_probe_n_times): A simple buffer probe test. More to
22756         come, foolios.
22757
22758         * gst/gstutils.c (gst_pad_add_buffer_probe): Connect to
22759         have-data::buffer, not have-data.
22760         (gst_pad_add_event_probe): Likewise for have-data::event.
22761         (gst_pad_add_data_probe): More docs. The part about 'resolving the
22762         peer' isn't quite right yet though.
22763         (gst_pad_remove_buffer_probe, gst_pad_remove_event_probe) 
22764         (gst_pad_remove_data_probe): Change to take the guint handler_id
22765         as their arg, not the function+data, which is more glib-like.
22766
22767         * gst/gstpad.c (gst_pad_emit_have_data_signal): Add a detail to
22768         the signal emission to indicate if the data is a buffer or an
22769         event.
22770         (gst_pad_get_type): Initialize buffer and event quarks.
22771         (gst_pad_class_init): have-data is now a detailed signal, yes it
22772         is.
22773
22774 2005-09-21  Tim-Philipp Müller  <tim at centricular dot net>
22775
22776         * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
22777         * gst/gstutils.c: (gst_util_set_value_from_string),
22778         (gst_util_set_object_arg):
22779           Don't put functional code in g_return_if_fail() or
22780           g_return_val_if_fail() statements, otherwise things will 
22781           break when G_DISABLE_CHECKS is defined during compilation.
22782
22783 2005-09-21  Stefan Kost  <ensonic@users.sf.net>
22784
22785         * docs/gst/tmpl/.cvsignore:
22786         * docs/gst/tmpl/gstvalue.sgml:
22787         * gst/gstvalue.c:
22788         * gst/gstvalue.h:
22789           inlied another one and added  some obvious docs
22790
22791 2005-09-21  Wim Taymans  <wim@fluendo.com>
22792
22793         * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init),
22794         (gst_fdsrc_init), (gst_fdsrc_start), (gst_fdsrc_stop),
22795         (gst_fdsrc_unlock), (gst_fdsrc_set_property),
22796         (gst_fdsrc_get_property), (gst_fdsrc_create):
22797         * gst/elements/gstfdsrc.h:
22798         Properly implement fdsrc. Removed signal and timeout,
22799         better implemented somewhere else.
22800
22801 2005-09-21  Stefan Kost  <ensonic@users.sf.net>
22802
22803         * docs/gst/tmpl/.cvsignore:
22804         * docs/gst/tmpl/gstimplementsinterface.sgml:
22805         * gst/gstinterface.c:
22806           inlined more docs
22807
22808 2005-09-21  Stefan Kost  <ensonic@users.sf.net>
22809
22810         * docs/gst/gstreamer-sections.txt:
22811         * docs/gst/tmpl/.cvsignore:
22812         * docs/gst/tmpl/gstenumtypes.sgml:
22813           remove obsolete doc file
22814
22815 2005-09-21  David Schleef  <ds@schleef.org>
22816
22817         * gst/gstelementfactory.c: (gst_element_factory_make): Drink a
22818         little beer, fix a little leak.
22819
22820 2005-09-21  Stefan Kost  <ensonic@users.sf.net>
22821
22822         * docs/gst/gstreamer-docs.sgml:
22823         * docs/gst/gstreamer-sections.txt:
22824         * docs/gst/tmpl/.cvsignore:
22825         * gst/Makefile.am:
22826         * gst/gst.h:
22827         * gst/gstbin.c:
22828         * gst/gstelement.h:
22829         * gst/gstindex.c: (gst_index_class_init):
22830         * gst/gstindex.h:
22831         * gst/gstindexfactory.c: (gst_index_factory_get_type),
22832         (gst_index_factory_class_init), (gst_index_factory_init),
22833         (gst_index_factory_finalize), (gst_index_factory_new),
22834         (gst_index_factory_destroy), (gst_index_factory_find),
22835         (gst_index_factory_create), (gst_index_factory_make):
22836         * gst/gstindexfactory.h:
22837         * gst/gstpluginfeature.c:
22838         * gst/gstpluginfeature.h:
22839         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
22840           more docs inlined, splitted gstindex.{c,h}
22841
22842 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
22843
22844         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
22845           fix a leak
22846
22847 2005-09-20  Tim-Philipp Müller  <tim at centricular dot net>
22848
22849         * gst/elements/gstfilesink.c: (gst_file_sink_init):
22850           Set sync to FALSE by default.
22851
22852 2005-09-20  Wim Taymans  <wim@fluendo.com>
22853
22854         * gst/base/gstbasesink.c: (gst_base_sink_class_init),
22855         (gst_base_sink_init):
22856         Make sync property settable from subclass.
22857
22858         * gst/elements/gstfakesink.c: (gst_fake_sink_init),
22859         (gst_fake_sink_change_state):
22860         Set sync to FALSE by default.
22861
22862 2005-09-20  Wim Taymans  <wim@fluendo.com>
22863
22864         * gst/gstbus.c: (poll_func), (poll_timeout), (gst_bus_poll):
22865         * tools/gst-launch.c: (main):
22866         The timeout handler should have lower priority than the source
22867         so we don't timeout before popping a message with 0 timeout.
22868         Dump error messages after failed state change.
22869
22870 2005-09-20  Tim-Philipp Müller  <tim at centricular dot net>
22871
22872         * tools/gst-inspect.c: (print_element_properties_info):
22873           Fix two typos.
22874
22875 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
22876
22877         * check/gst/gstevent.c:
22878         * gst/elements/gstfakesink.c:
22879         * gst/elements/gstfakesink.h:
22880           remove the sync property from fakesink.
22881           has the side effect of setting sync TRUE
22882           for fakesink, which is a change.  Anyone who knows how
22883           to fix this nicely in a GObject-y way, feel free.
22884
22885 2005-09-20  Stefan Kost  <ensonic@users.sf.net>
22886
22887         * docs/gst/gstreamer-docs.sgml:
22888           remove probe refsection
22889
22890 2005-09-20  Stefan Kost  <ensonic@users.sf.net>
22891
22892         * check/Makefile.am:
22893           disable valgrinding the controller test again
22894         * docs/gst/gstreamer-sections.txt:
22895           update for api-changes
22896
22897 2005-09-20  Wim Taymans  <wim@fluendo.com>
22898
22899         * gst/base/gstbasesink.c: (gst_base_sink_class_init),
22900         (gst_base_sink_set_property), (gst_base_sink_get_property),
22901         (gst_base_sink_do_sync):
22902         * gst/base/gstbasesink.h:
22903         Added sync property to basesink to disable clock sync.
22904
22905 2005-09-20  Andy Wingo  <wingo@pobox.com>
22906
22907         * gst/gstelementfactory.c (gst_element_factory_create): Avoid
22908         eating the caller's refcount.
22909
22910         * gst/gstobject.h (GST_OBJECT_REFCOUNT) 
22911         (GST_OBJECT_REFCOUNT_VALUE): Conditionally fondle the right
22912         refcount.
22913
22914         * gst/gstconfig.h.in (GST_HAVE_GLIB_2_8):
22915         * configure.ac (GST_HAVE_GLIB_2_8_DEFINE): Make the availability
22916         of GLib 2.8 public, so we can know which refcount to check in
22917         tests.
22918
22919         * gst/gstobject.c: Use the GST_HAVE_GLIB_2_8 define.
22920         (gst_object_init): Only set the gst refcount if we're going ahead
22921         with the refcount hack.
22922
22923 2005-09-20  Stefan Kost  <ensonic@users.sf.net>
22924
22925         * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
22926         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
22927           more leaks plumbed, added more debug-logging
22928         * gst/gstmacros.h:
22929           whitespace fix
22930
22931 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
22932
22933         * gst/gstmessage.c:
22934           remove include of gstmemchunk.h
22935
22936 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
22937
22938         * gst/gstclock.c: (_gst_clock_id_free):
22939           Commit from the Political Party For More Atomic CVS Commits,
22940           so that people don't waste too much of their day fishing
22941           out obvious leaks out of massive commits.
22942           Oh, and fix a pretty damn obvious leak in the memchunk
22943           removal code.
22944
22945 2005-09-20  Stefan Kost  <ensonic@users.sf.net>
22946
22947         * check/Makefile.am:
22948         * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
22949           plug mem-leak, re-add to valgrindable tests
22950
22951 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
22952
22953         * gst/gstplugin.h:
22954           unbreak the build for those who have chronic arthritis
22955           and typing "make check" is just too taxing on the hands
22956
22957 2005-09-20  Andy Wingo  <wingo@pobox.com>
22958
22959         * gst/gst.h: Re-add marshal to gst.h's include list -- if we
22960         really want it out, you should fix plugins at the same time.
22961
22962 2005-09-19  Stefan Kost  <ensonic@users.sf.net>
22963
22964         * configure.ac:
22965         * docs/gst/gstreamer-sections.txt:
22966         * gst/gstobject.c:
22967           added missing symbols to api docs
22968           disable ref-count hack if we have glib >= 2.8
22969
22970 2005-09-19  David Schleef  <ds@schleef.org>
22971
22972         * docs/gst/Makefile.am: Ignore a few more internal headers
22973         * docs/gst/gstreamer-docs.sgml: Remove old sections
22974         * docs/gst/gstreamer-sections.txt: Remove old sections
22975         * docs/gst/tmpl/gstobject.sgml: update
22976         * docs/gst/tmpl/gstplugin.sgml: update
22977         * docs/gst/tmpl/gstpluginfeature.sgml: update
22978         * docs/random/ds/0.9-suggested-changes: update.
22979         * gst/Makefile.am: remove memchunk and trashstack, since they're
22980           not used.
22981         * gst/gst.c: (gst_deinit): rename gst_registry_deinit to _cleanup
22982         * gst/gst.h: don't include some headers
22983         * gst/gstchildproxy.c: add gstmarshal.h
22984         * gst/gstclock.c: Don't use memchunks
22985         * gst/gstminiobject.c: Add some docs
22986         * gst/gstobject.c: remove DESTROYED flag, since it's redundant
22987         * gst/gstobject.h: same
22988         * gst/gstplugin.c: include gstmacros.h
22989         * gst/gstplugin.h: don't include gstmacros.h, since it's private
22990         * gst/gstquery.c: don't use memchunks
22991         * gst/gstregistry.c: rename gst_registry_deinit()
22992         * gst/gstregistry.h: same
22993
22994 2005-09-19  David Schleef  <ds@schleef.org>
22995
22996         * docs/libs/gstreamer-libs-docs.sgml: Remove docs for getbits
22997         * docs/libs/gstreamer-libs-sections.txt:
22998         * docs/libs/tmpl/gstgetbits.sgml:
22999         * docs/libs/tmpl/gstputbits.sgml:
23000
23001 2005-09-19  Tim-Philipp Müller  <tim at centricular dot net>
23002
23003         * win32/gstenumtypes.c:
23004         * win32/gstenumtypes.h:
23005           Update.
23006
23007 2005-09-19  Wim Taymans  <wim@fluendo.com>
23008
23009         * gst/gstpipeline.c: (do_pipeline_seek), (gst_pipeline_send_event):
23010         Automatically PAUSE and RESUME a pipeline when a flushing seek
23011         is performed.
23012
23013 2005-09-19  Andy Wingo  <wingo@pobox.com>
23014
23015         * gst/gstregistry.h: Spacing fixen.
23016
23017 2005-09-19  Wim Taymans  <wim@fluendo.com>
23018
23019         * gst/base/gstbasesrc.c: (gst_base_src_change_state):
23020         Handle state change failure more correctly.
23021
23022 2005-09-19  Thomas Vander Stichele  <thomas at apestaart dot org>
23023
23024         * check/Makefile.am:
23025         * check/pipelines/cleanup.c: (run_pipeline):
23026         * check/pipelines/simple_launch_lines.c: (run_pipeline),
23027         (GST_START_TEST):
23028           enable cleanup again after fixing the leak
23029         * docs/README:
23030           some more info on docs
23031
23032 2005-09-19  Thomas Vander Stichele  <thomas at apestaart dot org>
23033
23034         * check/Makefile.am:
23035           re-enable tests now that leaks are plugged
23036         * check/gst/gst.c:
23037         * check/gst/gstbin.c:
23038         * check/gst/gstpipeline.c:
23039           add some more tests while fixing leaks
23040         * common/check.mak:
23041           make sure binaries are uptodate when valgrinding/gdbing
23042         * gst/gst.c:
23043         * gst/gstelementfactory.c:
23044           remove a ref too many, and add a FIXME for when we get
23045           round to disposing of classes
23046         * gst/gstplugin.c:
23047           fix the refcounting when loading a plugin from a file and
23048           the code pretends that the pointer is the same even though
23049           of course it can change
23050         * gst/gstpluginfeature.c:
23051           unref plugins marked cached (a bit confusing as a name)
23052           as the docs state should be done
23053           various doc additions to explain refcounting
23054         * gst/gstregistry.c:
23055         * gst/gstregistryxml.c:
23056           debugging
23057
23058 2005-09-19  Wim Taymans  <wim@fluendo.com>
23059
23060         * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
23061         * check/gst/gstbus.c: (message_func_eos), (message_func_app),
23062         (send_messages), (GST_START_TEST), (gstbus_suite):
23063         * check/gst/gstpipeline.c: (GST_START_TEST):
23064         * check/pipelines/cleanup.c: (run_pipeline):
23065         * check/pipelines/simple_launch_lines.c: (run_pipeline),
23066         (GST_START_TEST):
23067         * gst/gstbus.c: (gst_bus_have_pending), (gst_bus_source_prepare),
23068         (gst_bus_source_check), (gst_bus_source_dispatch),
23069         (gst_bus_create_watch), (gst_bus_add_watch_full),
23070         (gst_bus_add_watch), (poll_func), (poll_timeout), (gst_bus_poll):
23071         * gst/gstbus.h:
23072         * tools/gst-launch.c: (event_loop):
23073         * tools/gst-md5sum.c: (event_loop):
23074         GstBusHandler -> GstBusFunc, return value has the same meaning as
23075         any other GSource (FALSE == remove source).
23076         _add_watch() and _add_watch_full() now take a MessageType mask to
23077         only handle specific types of messages.
23078         _poll() returns the GstMessage instead of the message type to avoid
23079         race conditions.
23080         _have_pending() takes a MessageType mask now too.
23081         Added testsuite for multiple bus watches.
23082         Fix testsuites and applications for new bus API.
23083
23084 2005-09-19  Thomas Vander Stichele  <thomas at apestaart dot org>
23085
23086         * check/Makefile.am:
23087           mark a bunch of the tests as to fix until we fix them
23088
23089 2005-09-18  Thomas Vander Stichele  <thomas at apestaart dot org>
23090
23091         * common/check.mak:
23092           use GST_PLUGIN settings for valgrind tests as well, so we're
23093           valgrinding the correct thing
23094         * gst/gst.c: (init_post):
23095           plug another leak
23096
23097 2005-09-18  Thomas Vander Stichele  <thomas at apestaart dot org>
23098
23099         * gst/gst.c: (init_post), (gst_deinit):
23100         * gst/gstelementfactory.c: (gst_element_factory_class_init),
23101         (gst_element_factory_finalize), (gst_element_factory_cleanup):
23102         * gst/gstindex.c: (gst_index_factory_class_init),
23103         (gst_index_factory_finalize):
23104         * gst/gstobject.c: (gst_object_dispose):
23105         * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_class_init),
23106         (gst_plugin_load_file), (gst_plugin_desc_free):
23107         * gst/gstpluginfeature.c: (gst_plugin_feature_class_init),
23108         (gst_plugin_feature_finalize):
23109         * gst/gstregistry.c: (gst_registry_class_init),
23110         (gst_registry_init), (gst_registry_finalize),
23111         (gst_registry_get_default), (gst_registry_deinit):
23112         * gst/gstregistry.h:
23113         * gst/gstregistryxml.c: (load_feature), (load_plugin):
23114           various cleanups and memleak plugging.  make valgrind is happy now.
23115
23116 2005-09-18  Thomas Vander Stichele  <thomas at apestaart dot org>
23117
23118         * common/check.mak:
23119           add a check-valgrind target
23120
23121 2005-09-18  David Schleef  <ds@schleef.org>
23122
23123         * tools/gst-inspect.c: Revert the GOption code.
23124
23125 2005-09-17  David Schleef  <ds@schleef.org>
23126
23127         * check/Makefile.am: Fix environment variables.
23128         * check/gst/gstplugin.c: Fix for API changes.
23129         * tools/gst-inspect.c: Fix for API changes.
23130         * tools/gst-xmlinspect.c: Fix for API changes.
23131         * gst/gstelementfactory.c:
23132         * gst/gstplugin.c:
23133         * gst/gstplugin.h:
23134         * gst/gstpluginfeature.c:
23135         * gst/gstpluginfeature.h:
23136         * gst/gstregistry.c:
23137         * gst/gstregistry.h:
23138         * gst/gstregistryxml.c:
23139         * gst/gsttypefind.c:
23140         * gst/gsttypefindfactory.c:
23141         * gst/indexers/gstfileindex.c:
23142         * gst/indexers/gstmemindex.c:
23143         * gst/schedulers/Makefile.am:
23144           Change registry to keep track of both plugins and features,
23145           removing the feature tracking from plugins themselves.
23146
23147 2005-09-16  Thomas Vander Stichele  <thomas at apestaart dot org>
23148
23149         * check/Makefile.am:
23150         * tools/gst-register.1.in:
23151           remove gst-register
23152
23153 2005-09-15  David Schleef  <ds@schleef.org>
23154
23155         * check/gst/gstplugin.c:
23156         * gst/gstelementfactory.c:
23157         * gst/gstplugin.c:
23158         * gst/gstpluginfeature.c:
23159         * gst/gstregistry.c:
23160           Getting tired of debugging.  Disabled all the unreffing of
23161           plugins and features, which fixes the segfaults, but of
23162           course leaks like crazy.  At least playbin works.
23163
23164 2005-09-15  David Schleef  <ds@schleef.org>
23165
23166         * check/gst/gstplugin.c: (register_check_elements),
23167         (GST_START_TEST), (peek), (suggest), (gst_plugin_suite):
23168         More testing
23169         * gst/elements/gsttypefindelement.c: Fix refcounting.
23170         * gst/gsttypefind.c:
23171         * gst/gsttypefindfactory.c:
23172         * gst/gsttypefindfactory.h:
23173
23174 2005-09-15  David Schleef  <ds@schleef.org>
23175
23176         * gst/gstindex.c: get refcounting correct.
23177         * gst/gstregistry.c: Handle the case where a feature/plugin is
23178           not found.
23179
23180 2005-09-15  David Schleef  <ds@schleef.org>
23181
23182         * check/Makefile.am:
23183         * check/gst/gstplugin.c: Add test
23184         * gst/gstplugin.c: Fix problems noticed by testsuite
23185         * gst/gstplugin.h:
23186         * gst/gstregistry.c: 
23187         * gst/gstregistry.h:
23188
23189 2005-09-15  David Schleef  <ds@schleef.org>
23190
23191         * gst/gstplugin.c: Implement semi-decent recounting and locking
23192           in plugins and plugin features.
23193         * gst/gstplugin.h:
23194         * gst/gstpluginfeature.c:
23195         * gst/gstpluginfeature.h:
23196         * gst/gstregistry.c:
23197
23198 2005-09-15  Michael Smith <msmith@fluendo.com>
23199
23200         * gst/gstregistry.c: (gst_registry_get_feature_list):
23201           Implement this. Makes oggdemux work; decodebin still broken.
23202
23203 2005-09-14  David Schleef  <ds@schleef.org>
23204
23205         * configure.ac: Add -no-undefined to GST_PLUGIN_LDFLAGS (bug
23206           #316076)
23207         * gst/base/Makefile.am: Add -no-undefined to LDFLAGS for libs
23208         * gst/check/Makefile.am:
23209         * libs/gst/controller/Makefile.am:
23210         * libs/gst/dataprotocol/Makefile.am:
23211
23212 2005-09-14  David Schleef  <ds@schleef.org>
23213
23214         * configure.ac: Remove getbits library.  Nothing uses it, and
23215           it should be in something like liboil if someone did want
23216           to use it.
23217         * libs/gst/Makefile.am:
23218         * libs/gst/getbits/Makefile.am:
23219         * libs/gst/getbits/gbtest.c:
23220         * libs/gst/getbits/getbits.c:
23221         * libs/gst/getbits/getbits.h:
23222         * libs/gst/getbits/gstgetbits_generic.c:
23223         * libs/gst/getbits/gstgetbits_i386.s:
23224         * libs/gst/getbits/gstgetbits_inl.h:
23225
23226 2005-09-14  David Schleef  <ds@schleef.org>
23227
23228         * gst/Makefile.am: Dist glib-compat.h
23229
23230 2005-09-14  David Schleef  <ds@schleef.org>
23231
23232         * configure.ac: Remove gst/registries, since it's no longer used.
23233         * gst/registries/Makefile.am:
23234         * gst/registries/gstlibxmlregistry.c:
23235         * gst/registries/gstlibxmlregistry.h:
23236         * gst/registries/gstxmlregistry.c:
23237         * gst/registries/gstxmlregistry.h:
23238         * gst/registries/registrytest.c:
23239
23240 2005-09-14  David Schleef  <ds@schleef.org>
23241
23242         * gst/glib-compat.h:
23243         * gst/gstregistryxml.c:
23244           Convergence is near.  Seriously.
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:
23250           Attempt #4 to appease the buildbots.
23251
23252 2005-09-14  David Schleef  <ds@schleef.org>
23253
23254         * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
23255           Attempt #3.
23256
23257 2005-09-14  David Schleef  <ds@schleef.org>
23258
23259         * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
23260         Attempt #2.
23261
23262 2005-09-14  David Schleef  <ds@schleef.org>
23263
23264         * gst/Makefile.am: Oh yeah, libgstreamer.so needs to contain
23265           the new functions.
23266
23267 2005-09-14  David Schleef  <ds@schleef.org>
23268
23269         * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
23270         * gst/glib-compat.h: Add some functions that are in newer versions
23271           of glib than we care to require.
23272         * gst/gstregistryxml.c: Use them.
23273
23274 2005-09-14  David Schleef  <ds@schleef.org>
23275
23276         * po/POTFILES.in: remove gst-register.c
23277
23278 2005-09-14  David Schleef  <ds@schleef.org>
23279
23280         * docs/gst/gstreamer-docs.sgml:
23281         * docs/gst/gstreamer-sections.txt:
23282         * docs/gst/gstreamer.types:
23283         * docs/gst/tmpl/gstelement.sgml:
23284         * docs/gst/tmpl/gstplugin.sgml:
23285         * docs/gst/tmpl/gstpluginfeature.sgml:
23286           Documentation updates for registry changes.
23287
23288 2005-09-14  David Schleef  <ds@schleef.org>
23289
23290         * gst/gstregistryxml.c: Copy g_mkdir_with_parent() from glib,
23291           because we don't require glib-2.8.
23292
23293 2005-09-14  David Schleef  <ds@schleef.org>
23294
23295         * gst/gstregistryxml.c: Added.  Essentially moved out of the
23296           registries directory.
23297
23298 2005-09-14  David Schleef  <ds@schleef.org>
23299
23300         * check/Makefile.am:
23301         * check/generic/states.c:
23302         * gst/Makefile.am:
23303         * gst/gst.c:
23304         * gst/gst.h:
23305         * gst/gst_private.h:
23306         * gst/gstelementfactory.c:
23307         * gst/gstindex.c:
23308         * gst/gstinfo.c:
23309         * gst/gstplugin.c:
23310         * gst/gstplugin.h:
23311         * gst/gstpluginfeature.c:
23312         * gst/gstpluginfeature.h:
23313         * gst/gstregistry.c:
23314         * gst/gstregistry.h:
23315         * gst/gstregistrypool.c: remove
23316         * gst/gstregistrypool.h: remove
23317         * gst/gsttypefind.c:
23318         * gst/gsttypefindfactory.c:
23319         * gst/gsturi.c:
23320         * tools/Makefile.am:
23321         * tools/gst-compprep.c:
23322         * tools/gst-inspect.c:
23323         * tools/gst-register.c: remove
23324         * tools/gst-xmlinspect.c:
23325           Registry rewrite.  Changes registry from being a file created
23326           by a tool into a simple cache file created automatically by 
23327           libgstreamer.  Removed gst-register (because it's no longer
23328           needed).  Remove registry pools, because we only have one
23329           registry implementation (XML).  Fix up other subsystems as
23330           necessary.
23331
23332 2005-09-13  Michael Smith <msmith@fluendo.com>
23333
23334         * gst/gstconfig.h.in:
23335           Don't Use windows linking attributes for MinGW. Fixes #316157
23336
23337 2005-09-13  Thomas Vander Stichele  <thomas at apestaart dot org>
23338
23339         * gst/gstutils.c: (set_state_async_thread_func),
23340         (gst_element_set_state_async):
23341           Apparently people think it's better if this function doesn't
23342           try to set the state to whatever state was asked for on the first
23343           call to this function for any object.  Seriously.
23344
23345 2005-09-12  Thomas Vander Stichele  <thomas at apestaart dot org>
23346
23347         * check/gst/gstpipeline.c: (GST_START_TEST):
23348         * docs/gst/gstreamer-sections.txt:
23349         * gst/gstutils.c: (set_state_async_thread_func),
23350         (gst_element_set_state_async):
23351         * gst/gstutils.h:
23352           add a "gst_element_set_state_async" method that
23353           sets the state and starts a thread to make sure the state
23354           change completes as best as it can
23355
23356 2005-09-12  Thomas Vander Stichele  <thomas at apestaart dot org>
23357
23358         * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
23359           codify design+behaviour in testsuite after discussion
23360
23361 2005-09-12  Thomas Vander Stichele  <thomas at apestaart dot org>
23362
23363         * docs/gst/tmpl/gstelement.sgml:
23364         * docs/manual/appendix-quotes.xml:
23365           add a quote
23366         * gst/gstelement.c: (gst_element_set_state):
23367           add some debug
23368
23369 2005-09-12  Jan Schmidt  <thaytan@mad.scientist.com>
23370
23371         * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
23372         (gst_base_transform_prepare_output_buf),
23373         (gst_base_transform_handle_buffer):
23374         * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip),
23375         (gst_capsfilter_prepare_buf):
23376           Remove the requirement for sub-classes to call the parent
23377           implementation of prepare_output_buffer with a wrapper function.
23378           
23379         * gst/gsttaglist.h:
23380         * gst/gsttagsetter.h:
23381           Fix #define wrapper
23382
23383 2005-09-11  Stefan Kost  <ensonic@users.sf.net>
23384
23385         * docs/gst/gstreamer-sections.txt:
23386           more doc cleanups
23387
23388 2005-09-11  Thomas Vander Stichele  <thomas at apestaart dot org>
23389
23390         * docs/gst/gstreamer-sections.txt:
23391         * docs/gst/tmpl/gstelement.sgml:
23392         * docs/gst/tmpl/gstplugin.sgml:
23393         * gst/gstminiobject.c:
23394         * gst/gstvalue.h:
23395           docs now stop throwing warnings
23396
23397 2005-09-11  Thomas Vander Stichele  <thomas at apestaart dot org>
23398
23399         * docs/gst/gstreamer-sections.txt:
23400         * docs/gst/gstreamer.types:
23401         * docs/gst/tmpl/gstpad.sgml:
23402         * docs/gst/tmpl/gsttypes.sgml:
23403         * gst/base/gstadapter.h:
23404         * gst/base/gstbasesink.h:
23405         * gst/base/gstbasesrc.h:
23406         * gst/gstbin.h:
23407         * gst/gstbuffer.h:
23408         * gst/gstbus.h:
23409         * gst/gstcaps.h:
23410         * gst/gstclock.h:
23411         * gst/gstelement.h:
23412         * gst/gstevent.h:
23413         * gst/gstmessage.h:
23414         * gst/gstpad.h:
23415         * gst/gststructure.c:
23416         * gst/registries/gstlibxmlregistry.h:
23417           various documentation fixes
23418
23419 2005-09-11  Thomas Vander Stichele  <thomas at apestaart dot org>
23420
23421         * docs/gst/gstreamer-sections.txt:
23422         * docs/gst/tmpl/gstvalue.sgml:
23423           rearrange gstvalue section
23424         * gst/gstutils.c: (gst_element_state_get_name):
23425           NONE -> VOID
23426         * gst/gstvalue.c: (_gst_value_initialize):
23427         * gst/gstvalue.h:
23428           doc updates
23429
23430 2005-09-10  Jan Schmidt  <thaytan@mad.scientist.com>
23431
23432         * check/gst-libs/controller.c:
23433           Header include fix.
23434         * gst/base/gstbasetransform.c:
23435         (gst_base_transform_default_prepare_buf),
23436         (gst_base_transform_handle_buffer):
23437         * gst/base/gstbasetransform.h:
23438           Some more basetransform changes and fixes to enable sub-classes
23439           that modify buffer metadata only.
23440         * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
23441         (gst_capsfilter_init), (gst_capsfilter_transform_ip),
23442         (gst_capsfilter_prepare_buf):
23443           If the output pad has fixed allowed caps and input buffers 
23444           don't have any, set the fixed caps on outgoing buffers.
23445
23446 2005-09-09  Jan Schmidt  <thaytan@mad.scientist.com>
23447         * check/elements/identity.c: (GST_START_TEST):
23448           Make the error a little clearer when the test fails because
23449           identity made a copy of the buffer.
23450         * docs/gst/gstreamer-sections.txt:
23451           New symbols in gstbasetransform.h
23452         * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
23453         (gst_base_transform_init), (gst_base_transform_transform_size),
23454         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
23455         (gst_base_transform_default_prepare_buf),
23456         (gst_base_transform_get_unit_size),
23457         (gst_base_transform_buffer_alloc),
23458         (gst_base_transform_handle_buffer), (gst_base_transform_chain),
23459         (gst_base_transform_change_state),
23460         (gst_base_transform_set_passthrough),
23461         (gst_base_transform_set_in_place),
23462         (gst_base_transform_is_in_place):
23463         * gst/base/gstbasetransform.h:
23464           Change BaseTransform to separate in_place operate from same_caps
23465           output. in_place implies that the element can perform the transform
23466           on incoming buffers in-place, even if the caps on the output are
23467           different.
23468           Sub-class elements can now implement special buffer allocation
23469           methods for outgoing buffers if they wish to.
23470           Big documentation addition.
23471         * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip):
23472         * gst/elements/gstelements.c:
23473           Changes for basetransform modifications.
23474         * gst/elements/Makefile.am:
23475         * gst/elements/gstfdsrc.c: (gst_fdsrc_init), (gst_fdsrc_create):
23476           Compile fix. Extra debug output.
23477
23478 2005-09-09  Thomas Vander Stichele  <thomas at apestaart dot org>
23479
23480         * check/gst/gstpad.c: (GST_START_TEST), (name_is_valid),
23481         (gst_pad_suite):
23482           add tests for valid pad naming
23483         * gst/check/gstcheck.c: (gst_check_log_message_func),
23484         (gst_check_log_critical_func):
23485           add ASSERT_WARNING
23486           remove printing of code, it is fragile when the code contains
23487           % and the line number is enough info
23488         * gst/check/gstcheck.h:
23489         * gst/gstpad.c: (gst_pad_template_new):
23490           fix memleaks
23491
23492 2005-09-09  Thomas Vander Stichele  <thomas at apestaart dot org>
23493
23494         * configure.ac:
23495           say what CHECK flags we use
23496         * docs/libs/gstreamer-libs.types:
23497         * libs/gst/controller/Makefile.am:
23498         * libs/gst/controller/gst-controller.c:
23499         * libs/gst/controller/gst-controller.h:
23500         * libs/gst/controller/gst-helper.c:
23501         * libs/gst/controller/gst-interpolation.c:
23502         * libs/gst/controller/gstcontroller.c:
23503         * libs/gst/controller/gsthelper.c:
23504         * libs/gst/controller/gstinterpolation.c:
23505         * tools/gst-inspect.c: (print_plugin_info):
23506           we don't use dashes in header names
23507
23508 2005-09-09  Thomas Vander Stichele  <thomas at apestaart dot org>
23509
23510         * check/Makefile.am:
23511         * check/gst/.cvsignore:
23512         * check/gst/gstpipeline.c: (pop_messages), (GST_START_TEST),
23513         (gst_pipeline_suite), (main):
23514           adding a test for pipelines and state changes
23515         * gst/gstutils.c: (get_state_func):
23516           add some debugging
23517         * gstreamer.spec.in:
23518           fix up spec file
23519
23520 2005-09-08  Michael Smith <msmith@fluendo.com>
23521
23522         * gst/elements/gstfilesrc.c: (gst_file_src_map_region),
23523         (gst_file_src_map_small_region), (gst_file_src_create_mmap),
23524         (gst_file_src_is_seekable), (gst_file_src_get_size),
23525         (gst_file_src_start):
23526         * gst/elements/gstfilesrc.h:
23527           Various fixes for unseekable, unmmapable, and non-normal files, so
23528           that fallback to read() rather than mmap() works.
23529         * gst/gstevent.c: (gst_event_new_newsegment):
23530           Allow newsegment events with segment_start == segment_end, as will
23531           correctly happen if you use filesrc on a zero-size file, for
23532           example.
23533
23534 2005-09-07  Jan Schmidt  <thaytan@mad.scientist.com>
23535
23536         * gst/gstplugin.c: (gst_plugin_load_file):
23537           Call g_module_close when we don't load the module
23538
23539         * gst/registries/gstlibxmlregistry.c:
23540         (gst_xml_registry_get_property):
23541           Port leak fix from 0.8
23542
23543 2005-09-07  Stefan Kost  <ensonic@users.sf.net>
23544
23545         * docs/gst/gstreamer-docs.sgml:
23546         * docs/gst/tmpl/.cvsignore:
23547         * docs/gst/tmpl/gsttrace.sgml:
23548         * docs/gst/tmpl/gsttrashstack.sgml:
23549         * gst/Makefile.am:
23550         * gst/gst.h:
23551         * gst/gstelement.h:
23552         * gst/gstevent.h:
23553         * gst/gstmessage.c:
23554         * gst/gstmessage.h:
23555         * gst/gsttag.c:
23556         * gst/gsttag.h:
23557         * gst/gsttaginterface.c:
23558         * gst/gsttaginterface.h:
23559         * gst/gsttaglist.c:
23560         * gst/gsttaglist.h:
23561         * gst/gsttagsetter.c:
23562         * gst/gsttagsetter.h:
23563         * gst/gsttrace.c:
23564         * gst/gsttrace.h:
23565         * gst/gsttrashstack.c:
23566           renamed gsttag -> gsttaglist, gsttaginterface -> gsttagsetter
23567           inlined docs for gsttrace, gsttrashstack
23568
23569 2005-09-07  Stefan Kost  <ensonic@users.sf.net>
23570
23571         * gst/Makefile.am:
23572         * gst/elements/gstbufferstore.h:
23573         * gst/elements/gsttypefindelement.c:
23574         * gst/elements/gsttypefindelement.h:
23575         * gst/gst.h:
23576         * gst/gsttypefind.c:
23577         * gst/gsttypefind.h:
23578         * gst/gsttypefindfactory.c: (gst_type_find_factory_get_type),
23579         (gst_type_find_factory_class_init), (gst_type_find_factory_init),
23580         (gst_type_find_factory_dispose),
23581         (gst_type_find_factory_unload_thyself),
23582         (gst_type_find_load_plugin), (gst_type_find_factory_get_list),
23583         (gst_type_find_factory_get_caps),
23584         (gst_type_find_factory_get_extensions),
23585         (gst_type_find_factory_call_function):
23586         * gst/gsttypefindfactory.h:
23587         * gst/registries/gstlibxmlregistry.c:
23588         * gst/registries/gstxmlregistry.c:
23589           splitted gsttypefind into gsttypefind, gsttypefindfactory
23590
23591 2005-09-07  Andy Wingo  <wingo@pobox.com>
23592
23593         * gst/base/gstbasesink.c (gst_base_sink_activate_pull): Fix a race
23594         condition whereby the pad's task function is entered before the
23595         pad_mode variable was set.
23596
23597 2005-09-07  Jan Schmidt  <thaytan@mad.scientist.com>
23598
23599         * gst/gstpad.c: (gst_pad_alloc_buffer):
23600           Catch misbehaving pad_alloc functions that don't
23601           set up caps and do it for them.
23602
23603 2005-09-07  Stefan Kost  <ensonic@users.sf.net>
23604
23605         * check/pipelines/simple_launch_lines.c: (run_pipeline):
23606           test for pipe!=NULL
23607         * docs/gst/tmpl/.cvsignore:
23608         * docs/gst/tmpl/gstmemchunk.sgml:
23609         * docs/gst/tmpl/gstparse.sgml:
23610         * docs/gst/tmpl/gsttaglist.sgml:
23611         * docs/gst/tmpl/gsttagsetter.sgml:
23612         * docs/gst/tmpl/gsttypefind.sgml:
23613         * docs/gst/tmpl/gsttypefindfactory.sgml:
23614         * gst/gstmemchunk.c:
23615         * gst/gstparse.c:
23616         * gst/gsttag.c:
23617         * gst/gsttaginterface.c:
23618         * gst/gsttypefind.c:
23619         * gst/gsttypefind.h:
23620           inlined more docs
23621
23622 === release 0.9.2 ===
23623
23624 2005-09-06  Thomas Vander Stichele  <thomas at apestaart dot org>
23625
23626         * NEWS:
23627         * RELEASE:
23628         * configure.ac:
23629           releasing 0.9.2, "South"
23630
23631 2005-09-05  Andy Wingo  <wingo@pobox.com>
23632
23633         * gst/registries/gstxmlregistry.h:
23634         * gst/registries/gstxmlregistry.c: Um... resurrect...
23635         
23636         * gst/registries/gstxmlregistry.h:
23637         * gst/registries/gstxmlregistry.c: and update to newer API.
23638         Incidentally they should be a bit faster now that they don't have
23639         to parse the caps.
23640         
23641 2005-09-05  Andy Wingo  <wingo@pobox.com>
23642
23643         * gst/registries/gstxmlregistry.h:
23644         * gst/registries/gstxmlregistry.c: Remove from CVS, they were
23645         replaced by the libxml registry a while back
23646
23647 2005-09-03  Thomas Vander Stichele  <thomas at apestaart dot org>
23648
23649         * docs/gst/tmpl/gstplugin.sgml:
23650         * gst/elements/gstelements.c:
23651         * gst/gst.c:
23652         * gst/gstplugin.c: (gst_plugin_register_func),
23653         (gst_plugin_desc_copy), (gst_plugin_desc_free),
23654         (gst_plugin_get_source):
23655         * gst/gstplugin.h:
23656         * gst/registries/gstlibxmlregistry.c: (load_plugin),
23657         (gst_xml_registry_save_plugin):
23658         * gst/registries/gstxmlregistry.c: (gst_xml_registry_parse_plugin),
23659         (gst_xml_registry_save_plugin):
23660         * tools/gst-inspect.c: (print_plugin_info):
23661           add a "source" plugin description field, to represent the source
23662           module this plugin is a part of.  By default GST_PLUGIN_DEFINE
23663           will set it to PACKAGE, which is automake's idea of the name of
23664           the source project.
23665
23666 2005-09-03  Thomas Vander Stichele  <thomas at apestaart dot org>
23667
23668         * Makefile.am:
23669         * autogen.sh:
23670         * configure.ac:
23671         * docs/Makefile.am:
23672         * docs/faq/Makefile.am:
23673         * docs/gst/tmpl/gstelement.sgml:
23674         * docs/gst/tmpl/gsttypes.sgml:
23675         * docs/htmlinstall.mak:
23676         * docs/manual/Makefile.am:
23677         * docs/pwg/Makefile.am:
23678           reorganize doc build a little
23679           split out docbook and gtk-doc stuff
23680           have two separate --enable's and enable them through autogen
23681           but disable by default in configure (to be similar to other
23682           projects)
23683         * gstreamer.spec.in:
23684           clean up docs install
23685         * po/af.po:
23686         * po/az.po:
23687         * po/ca.po:
23688         * po/cs.po:
23689         * po/de.po:
23690         * po/en_GB.po:
23691         * po/fr.po:
23692         * po/it.po:
23693         * po/nb.po:
23694         * po/nl.po:
23695         * po/ru.po:
23696         * po/sq.po:
23697         * po/sr.po:
23698         * po/sv.po:
23699         * po/tr.po:
23700         * po/uk.po:
23701         * po/vi.po:
23702           translation updates
23703
23704 2005-09-03  Tim-Philipp Müller  <tim at centricular dot net>
23705
23706         * gst/base/gstbasesink.c: (gst_base_sink_pad_buffer_alloc):
23707           Add comment.
23708           
23709         * gst/elements/gstfakesink.c: (gst_fake_sink_init),
23710         (gst_fake_sink_change_state):
23711           Make state change function thread-safe.
23712           
23713         * gst/gstpad.c: (gst_pad_alloc_buffer):
23714           Set offset on generic buffer allocated by fallback.
23715
23716 2005-09-03  Stefan Kost  <ensonic@users.sf.net>
23717
23718         * docs/gst/gstreamer-sections.txt:
23719         * docs/gst/tmpl/gstelement.sgml:
23720         * gst/gstpad.c:
23721         * libs/gst/controller/gst-controller.c:
23722         (gst_controlled_property_set_interpolation_mode),
23723         (gst_controlled_property_new),
23724         (gst_controller_find_controlled_property):
23725          run the wingo-magic script against the docs
23726
23727 2005-09-02  Stefan Kost  <ensonic@users.sf.net>
23728
23729         * docs/gst/gstreamer-docs.sgml:
23730         * docs/gst/gstreamer-sections.txt:
23731         * docs/gst/tmpl/.cvsignore:
23732         * docs/gst/tmpl/gstelementdetails.sgml:
23733         * docs/gst/tmpl/gstelementfactory.sgml:
23734         * gst/gst.c:
23735         * gst/gstbus.c:
23736         * gst/gstelementfactory.c:
23737         * gst/gstelementfactory.h:
23738           merged elementdetails docs into elementfactory docs
23739           inlined both
23740
23741 2005-09-02  Andy Wingo  <wingo@pobox.com>
23742
23743         * gst/gstelement.h: Add magical pixie dust to make glib-mkenums
23744         consider this enum an enum and not a flags.
23745
23746 2005-09-02  Stefan Kost  <ensonic@users.sf.net>
23747
23748         * docs/gst/gstreamer-docs.sgml:
23749         * docs/gst/tmpl/.cvsignore:
23750         * docs/gst/tmpl/gstghostpad.sgml:
23751         * docs/gst/tmpl/gstiterator.sgml:
23752         * docs/gst/tmpl/gstmacros.sgml:
23753         * docs/gst/tmpl/gstrealpad.sgml:
23754         * docs/gst/tmpl/gstregistry.sgml:
23755         * docs/gst/tmpl/gstregistrypool.sgml:
23756         * docs/gst/tmpl/gststructure.sgml:
23757         * docs/gst/tmpl/gstsystemclock.sgml:
23758         * docs/gst/tmpl/gsttrace.sgml:
23759         * gst/gstghostpad.c:
23760         * gst/gstmacros.h:
23761         * gst/gstmemchunk.c:
23762         * gst/gstmemchunk.h:
23763         * gst/gstqueue.c:
23764         * gst/gstregistry.c:
23765         * gst/gstregistrypool.c:
23766         * gst/gststructure.c:
23767         * gst/gstsystemclock.c:
23768           more docs inlined
23769
23770 2005-09-02  Andy Wingo  <wingo@pobox.com>
23771
23772         * gst/gstelement.h (GstState): Renamed from GstElementState,
23773         changed to be a normal enum instead of flags.
23774         (GstStateChangeReturn): Renamed from GstElementStateReturn, names
23775         munged to be GST_STATE_CHANGE_*.
23776         (GST_STATE_CHANGE): Renamed from GST_STATE_TRANSITION, updated to
23777         work with the new state representation.
23778         (GstStateChange): New enumeration of possible state transitions.
23779         Replaces GST_STATE_FOO_TO_BAR with GST_STATE_CHANGE_FOO_TO_BAR.
23780         (GstElementClass::change_state): Pass the GstStateChange along as
23781         an argument. Helps language bindings, so they don't have to use
23782         tricky lock-needing macros like GST_STATE_CHANGE ().
23783
23784         * scripts/update-states (file): New script. Run it on a file to
23785         update it for state naming and API changes. Updates files in
23786         place.
23787
23788         * All files updated for the new API.
23789
23790 2005-09-02  Thomas Vander Stichele  <thomas at apestaart dot org>
23791
23792         * gst/gsttrace.c: (gst_trace_flush), (gst_trace_text_flush):
23793         * gst/gstutils.c: (gst_util_set_value_from_string),
23794         (gst_util_set_object_arg):
23795           fix a bunch of unchecked return values
23796         * tools/gst-complete.c: (main):
23797         * gstreamer.spec.in:
23798           clean up a little
23799
23800 2005-09-01  Wim Taymans  <wim@fluendo.com>
23801
23802         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
23803         (gst_base_sink_event), (gst_base_sink_do_sync),
23804         (gst_base_sink_handle_event):
23805         * gst/base/gstbasesink.h:
23806         Handle newsegments more correctly.
23807
23808         * gst/gstbus.c:
23809         Fix docs.
23810
23811         * gst/gstevent.c: (gst_event_new_newsegment):
23812         A newsegment cannot have a start_time of -1
23813
23814 2005-09-01  Tim-Philipp Müller  <tim at centricular dot net>
23815
23816         * win32/gstenumtypes.c:
23817         * win32/gstenumtypes.h:
23818           Update
23819
23820 2005-08-31  Stefan Kost  <ensonic@users.sf.net>
23821
23822         * libs/gst/controller/gst-controller.c:
23823         (gst_controlled_property_set_interpolation_mode),
23824         (gst_controlled_property_new):
23825          fixed boolean again
23826
23827 2005-08-31  Thomas Vander Stichele  <thomas at apestaart dot org>
23828
23829         * docs/faq/gst-uninstalled:
23830           add -good
23831         * gst/gstevent.c:
23832         * gst/gstevent.h:
23833           remove wrong docs
23834         * gst/gstutils.c: (gst_element_link_filtered):
23835         * gst/gstutils.h:
23836           add gst_element_link_filtered
23837
23838 2005-08-31  Stefan Kost  <ensonic@users.sf.net>
23839
23840         * docs/gst/gstreamer-docs.sgml:
23841         * docs/gst/gstreamer-sections.txt:
23842         * docs/gst/tmpl/.cvsignore:
23843         * docs/gst/tmpl/gsterror.sgml:
23844         * docs/gst/tmpl/gstfilter.sgml:
23845         * docs/gst/tmpl/gsturihandler.sgml:
23846         * docs/gst/tmpl/gsturitype.sgml:
23847         * docs/gst/tmpl/gstutils.sgml:
23848         * docs/gst/tmpl/gstxml.sgml:
23849         * gst/gsterror.c:
23850         * gst/gsterror.h:
23851         * gst/gstfilter.c:
23852         * gst/gsturi.c:
23853         * gst/gsturitype.c:
23854         * gst/gstutils.c:
23855         * gst/gstxml.c:
23856           inlined more docs, fixed double id-ref
23857
23858 2005-08-31  Wim Taymans  <wim@fluendo.com>
23859
23860         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
23861         (gst_base_transform_handle_buffer):
23862         Passthrough elements don't need the caps as they don't care.
23863
23864 2005-08-31  Wim Taymans  <wim@fluendo.com>
23865
23866         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
23867         (gst_base_transform_handle_buffer), (gst_base_transform_chain):
23868         Don't leak refcounts on buffers.
23869
23870 2005-08-31  Wim Taymans  <wim@fluendo.com>
23871
23872         * gst/base/gstbasetransform.c: (gst_base_transform_configure_caps),
23873         (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
23874         (gst_base_transform_chain), (gst_base_transform_change_state):
23875         * gst/base/gstbasetransform.h:
23876         Handle the case where we are not negotiated more gracefully.
23877
23878 2005-08-31  Tim-Philipp Müller  <tim at centricular dot net>
23879
23880         * gst/elements/gstfilesrc.c: (gst_mmap_buffer_init),
23881         (gst_file_src_map_region):
23882           Set READONLY flag on mmap'ed buffers, otherwise
23883           gst_buffer_make_writable() won't work properly (#314708).
23884
23885 2005-08-31  Wim Taymans  <wim@fluendo.com>
23886
23887         * gst/base/gstbasetransform.c: (gst_base_transform_handle_buffer):
23888         passthrough elements can even do inplace on non writable
23889         buffers (as they don't touch them).
23890
23891 2005-08-31  Stefan Kost  <ensonic@users.sf.net>
23892
23893         * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
23894         (gst_test_mono_source_set_property),
23895         (gst_test_mono_source_class_init), (GST_START_TEST),
23896         (gst_controller_suite):
23897           more tests (hehe I have the most)
23898         * gst/gstbus.c:
23899           describe popping messages whenusing mulltiple sources
23900         * libs/gst/controller/gst-controller.c:
23901         (gst_controlled_property_set_interpolation_mode),
23902         (gst_controlled_property_new):
23903         * libs/gst/controller/gst-controller.h:
23904         * libs/gst/controller/gst-interpolation.c:
23905           implement boolean properties
23906
23907 2005-08-31  Wim Taymans  <wim@fluendo.com>
23908
23909         * gst/gstminiobject.c: (gst_mini_object_ref):
23910         Cannot assert that the refcount has to be positive
23911         since a disposed object can be resurrected.
23912
23913 2005-08-31  Wim Taymans  <wim@fluendo.com>
23914
23915         * gst/gstpad.c: (gst_pad_init):
23916         Revert change, need to first fix badly behaving 
23917         apps.
23918
23919 2005-08-30  Wim Taymans  <wim@fluendo.com>
23920
23921         * check/elements/fakesrc.c: (setup_fakesrc):
23922         * check/elements/identity.c: (setup_identity):
23923         Activate pads before using them.
23924
23925 2005-08-30  Wim Taymans  <wim@fluendo.com>
23926
23927         * gst/base/gstadapter.c: (gst_adapter_flush):
23928         Flushing out 0 bytes is ok for this function.
23929
23930         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
23931         no newsegment gives a warning and sets the start/stop to 
23932         invalid.
23933
23934         * gst/base/gstbasetransform.c: (gst_base_transform_change_state),
23935         (gst_base_transform_set_passthrough):
23936         Some debug info.
23937
23938         * gst/gstminiobject.c: (gst_mini_object_ref):
23939         Check refcount here too.
23940
23941         * gst/gstpad.c: (gst_pad_init):
23942         Pads are initially flushing and refusing data.
23943
23944         * gst/gstutils.c: (gst_element_link_pads_filtered):
23945         When adding a capsfilter element make sure it has the
23946         same state as the parent bin.
23947
23948 2005-08-30  Stefan Kost  <ensonic@users.sf.net>
23949
23950         * docs/gst/tmpl/.cvsignore:
23951         * docs/gst/tmpl/gstformat.sgml:
23952         * docs/gst/tmpl/gstversion.sgml:
23953         * gst/gstbus.h:
23954         * gst/gstformat.c:
23955         * gst/gstformat.h:
23956         * gst/gstversion.h.in:
23957           more docs and two more inlined
23958
23959 2005-08-30  Wim Taymans  <wim@fluendo.com>
23960
23961         * gst/elements/gstfilesink.c: (gst_file_sink_class_init):
23962         Don't sync to clock.
23963
23964 2005-08-30  Stefan Kost  <ensonic@users.sf.net>
23965
23966         * docs/gst/gstreamer-sections.txt:
23967           ultral33t func10ns deserve to appear in the docs actually
23968         * docs/gst/tmpl/.cvsignore:
23969         * docs/gst/tmpl/gstcompat.sgml:
23970         * docs/gst/tmpl/gstconfig.sgml:
23971         * gst/check/gstcheck.c:
23972         * gst/gstcompat.h:
23973         * gst/gstconfig.h.in:
23974           inlined more docs
23975
23976 2005-08-30  Stefan Kost  <ensonic@users.sf.net>
23977
23978         * docs/gst/tmpl/.cvsignore:
23979         * docs/gst/tmpl/gstquery.sgml:
23980         * docs/gst/tmpl/gstutils.sgml:
23981         * gst/gstquery.c:
23982         * gst/gstquery.h:
23983           inlined and extended docs
23984
23985 2005-08-30  Stefan Kost  <ensonic@users.sf.net>
23986
23987         * check/gst-libs/controller.c: (GST_START_TEST),
23988         (gst_controller_suite):
23989           more tests
23990         * docs/gst/tmpl/gstutils.sgml:
23991         * docs/libs/gstreamer-libs-sections.txt:
23992         * docs/libs/tmpl/gstdataprotocol.sgml:
23993           include path fixes
23994         * examples/controller/audio-example.c: (main):
23995           controller example works now
23996         * gst/gstclock.h:
23997           doc fixes
23998         * tools/gst-inspect.c: (print_element_properties_info):
23999           show param spec flags
24000
24001 2005-08-29  Andy Wingo  <wingo@pobox.com>
24002
24003         * gst/gstutils.c (gst_util_uint64_scale): New 3733t funct10n.
24004
24005 2005-08-28  Andy Wingo  <wingo@pobox.com>
24006
24007         * gst/gstutils.h (GST_BOILERPLATE_FULL): Prototype instance_init
24008         as having two arguments instead of just one. Allows superclasses
24009         to access information on subclasses -- see the terrible for() loop
24010         in gtype.c:g_type_create_instance for the reason why. All callers
24011         changed.
24012
24013 2005-08-27  Stefan Kost  <ensonic@users.sf.net>
24014
24015         * docs/design/part-messages.txt:
24016           update info
24017         * docs/gst/tmpl/.cvsignore:
24018         * docs/gst/tmpl/gstcaps.sgml:
24019         * docs/gst/tmpl/gstclock.sgml:
24020         * gst/gstbus.c:
24021         * gst/gstcaps.c:
24022         * gst/gstcaps.h:
24023         * gst/gstclock.c:
24024         * gst/gstclock.h:
24025         * gst/gstmessage.c:
24026           added descriptions for bus and message
24027           inline caps and clock docs
24028
24029 2005-08-27  Stefan Kost  <ensonic@users.sf.net>
24030
24031         * gst/gstmessage.c:
24032         * gst/gstmessage.h:
24033           doc fixes
24034
24035 2005-08-27  Stefan Kost  <ensonic@users.sf.net>
24036
24037         * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
24038           fix div-by-zero
24039
24040 2005-08-26  Andy Wingo  <wingo@pobox.com>
24041
24042         * check/pipelines/simple_launch_lines.c (run_pipeline): Check
24043         element_set_state's return val.
24044         (test_2_elements): Add test that's been disabled for months.
24045
24046         * gst/elements/gstfakesink.c: Cleanups. Add can-activate-push and
24047         can-activate-pull properties.
24048
24049         * gst/elements/gstfakesrc.c: Cleanups. Add can-activate-push and
24050         can-activate-pull properties. Implement is_seekable so fakesrc can
24051         operate in pull mode.
24052
24053         * gst/base/gstbasesink.c (GstBaseSink): Remove has-loop, has-chain
24054         properties.
24055         (gst_base_sink_activate, gst_base_sink_activate_pull)
24056         (gst_base_sink_activate_push): Make activation mode choosing work.
24057         Cleanups.
24058         (gst_base_sink_chain, gst_base_sink_loop): Assert activation mode
24059         is right. Make pull mode work. Post an eos before pausing in pull
24060         mode.
24061         (gst_base_sink_change_state): Pay attention to the core's
24062         change_state() return val.
24063         
24064         * gst/base/gstbasesrc.c (GstBaseSrc): Remove has-loop,
24065         has-getrange properties. Cleanups.
24066         
24067         * gst/base/gstbasesrc.h (GstBaseSrc): Remove has_loop,
24068         has_getrange and replace with can_activate_pull and
24069         can_activate_push.
24070
24071         * gst/base/gstbasesink.h (GstBaseSink): Rearrange fields, add
24072         locking comments. Remove has_loop, has_chain and replace with
24073         can_activate_pull and can_activate_push.
24074
24075 2005-08-26  Jan Schmidt  <thaytan@mad.scientist.com>
24076
24077         * configure.ac:
24078         * examples/Makefile.am:
24079         * examples/metadata/Makefile.am:
24080         * examples/metadata/read-metadata.c: (message_loop),
24081         (have_pad_handler), (make_pipeline), (print_tag), (main):
24082           Add metadata reading example that loops over a list of filenames,
24083           dumping any tags found.
24084
24085         * gst/gstbus.c: (gst_bus_dispose):
24086         * gst/gstelement.c: (gst_element_dispose):
24087           Release a few potentially-held references in dispose.
24088
24089 2005-08-26  Stefan Kost  <ensonic@users.sf.net>
24090
24091         * docs/gst/tmpl/gstminiobject.sgml:
24092           do *not* add tmpl/*.sgml files to CVS!
24093
24094 2005-08-26  Stefan Kost  <ensonic@users.sf.net>
24095
24096         * libs/gst/bytestream/.cvsignore:
24097         * libs/gst/bytestream/Makefile.am:
24098         * libs/gst/bytestream/adapter.c:
24099         * libs/gst/bytestream/adapter.h:
24100         * libs/gst/bytestream/bytestream.c:
24101         * libs/gst/bytestream/bytestream.h:
24102         * libs/gst/bytestream/filepad.c:
24103         * libs/gst/bytestream/filepad.h:
24104           removing obsolete files
24105
24106 2005-08-26  Stefan Kost  <ensonic@users.sf.net>
24107
24108         * docs/gst/gstreamer-docs.sgml:
24109         * docs/libs/gstreamer-libs-docs.sgml:
24110           disabed additional index entries again, as this makes docs-gen just
24111           slow and they aren't useful yet
24112         * docs/libs/gstreamer-libs-sections.txt:
24113           little -section.txt cleanup for libs
24114
24115 2005-08-26  Thomas Vander Stichele  <thomas at apestaart dot org>
24116
24117         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
24118         * gst/base/gstbasetransform.c: (gst_base_transform_transform_size),
24119           fix up some debugging
24120         (gst_base_transform_get_unit_size),
24121         (gst_base_transform_buffer_alloc), (gst_base_transform_event),
24122         (gst_base_transform_handle_buffer):
24123         * gst/base/gstbasetransform.h:
24124           handle and store timed NEWSEGMENT events so that subclasses that
24125           calculate time by counting samples have a segment_start time they
24126           need to add to their timestamps - see audioresample
24127
24128 2005-08-26  Stefan Kost  <ensonic@users.sf.net>
24129
24130         * gst/gstbin.h:
24131           removed ';' from the end of macro defs
24132         * docs/gst/gstreamer-docs.sgml:
24133         * docs/gst/gstreamer-sections.txt:
24134         * docs/gst/tmpl/.cvsignore:
24135         * gst/gstbus.h:
24136         * gst/gstelement.c: (gst_element_class_init),
24137         (gst_element_set_state), (activate_pads),
24138         (gst_element_save_thyself):
24139         * gst/gstevent.c: (gst_event_new_newsegment):
24140         * gst/gstevent.h:
24141         * gst/gstiterator.c:
24142         * gst/gstiterator.h:
24143         * gst/gstpad.c:
24144         * gst/gstprobe.h:
24145         * gst/gstutils.c: (gst_pad_query_convert):
24146         * gst/gstutils.h:
24147           fixed parameter name mismatches between source, header and docs
24148           added some more docs, resolved the last batch of unused elements in
24149           docs (now someone needs to doc them)
24150
24151 2005-08-25  Thomas Vander Stichele  <thomas at apestaart dot org>
24152
24153         * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_rebuild):
24154         * gst/registries/gstxmlregistry.c: (gst_xml_registry_rebuild):
24155           don't walk through the plugins backwards.  Where is all this
24156           reversed logic coming from ?
24157
24158 2005-08-25  Wim Taymans  <wim@fluendo.com>
24159
24160         * gst/base/gstbasetransform.c: (gst_base_transform_init),
24161         (gst_base_transform_transform_size),
24162         (gst_base_transform_configure_caps),
24163         (gst_base_transform_get_unit_size),
24164         (gst_base_transform_buffer_alloc),
24165         (gst_base_transform_change_state):
24166         * gst/base/gstbasetransform.h:
24167         Cache caps unit_size.
24168         Make sure we cannot negotiate up and downstream at the
24169         same time.
24170
24171 2005-08-25  Thomas Vander Stichele  <thomas at apestaart dot org>
24172
24173         * gst/gst.c: (init_pre), (init_post):
24174           register the installed plugin path after the env var
24175         * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_save):
24176         * gst/registries/gstxmlregistry.c: (gst_xml_registry_save):
24177           don't reverse order of paths; conserve the order of GST_PLUGIN_PATH
24178           directories, so the tests can prefer uninstalled over installed
24179
24180 2005-08-25  Thomas Vander Stichele  <thomas at apestaart dot org>
24181
24182         * gst/base/gstbasetransform.h:
24183           comment
24184         * gst/gstpad.c:
24185           add to docs
24186
24187 2005-08-25  Wim Taymans  <wim@fluendo.com>
24188
24189         * gst/gstbin.c: (bin_bus_handler):
24190         Be a bit more conservative about the posted message.
24191         
24192         * gst/gstbus.c: (gst_bus_post):
24193         Some cleanups, warn wrong return values.
24194
24195 2005-08-25  Jan Schmidt  <thaytan@mad.scientist.com>
24196
24197         * check/gst/gstbin.c: (GST_START_TEST):
24198         * gst/gstbin.c: (bin_bus_handler):
24199         * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
24200         (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
24201         (gst_message_new_warning), (gst_message_new_tag),
24202         (gst_message_new_state_changed), (gst_message_new_segment_start),
24203         (gst_message_new_segment_done), (gst_message_new_custom):
24204         * gst/gstmessage.h:
24205         * tools/gst-launch.c: (event_loop):
24206         * tools/gst-md5sum.c: (event_loop):
24207           Revert unpopular change for GST_MESSAGE_SRC to GObject.
24208
24209 2005-08-25  Wim Taymans  <wim@fluendo.com>
24210
24211         * check/generic/states.c: (GST_START_TEST):
24212         Cleanup can be done at the end.
24213
24214         * gst/gsttask.c: (gst_task_get_type), (gst_task_finalize),
24215         (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
24216         (gst_task_get_state), (gst_task_start), (gst_task_pause):
24217         Oh boy.. Thanks for finding this, Thomas. 
24218
24219 2005-08-25  Stefan Kost  <ensonic@users.sf.net>
24220
24221         * docs/gst/gstreamer.types:
24222           added missing types
24223
24224 2005-08-25  Stefan Kost  <ensonic@users.sf.net>
24225
24226         * docs/gst/gstreamer-docs.sgml:
24227         * docs/gst/gstreamer-sections.txt:
24228         * docs/gst/tmpl/.cvsignore:
24229         * gst/gstbin.c:
24230         * gst/gstiterator.c:
24231         * gst/gstutils.c:
24232         * gst/registries/gstxmlregistry.h:
24233           added missing classes and symbols (123 more to go)
24234           removed removed symbols from section file
24235           fixed many doc-comments
24236
24237 2005-08-24  Wim Taymans  <wim@fluendo.com>
24238
24239         * check/generic/states.c: (GST_START_TEST):
24240         Make sure all tasks are stopped.
24241
24242         * check/gst/gstbin.c: (GST_START_TEST):
24243         Unref after usage for proper valgrinding.
24244
24245         * gst/gstpad.c: (gst_pad_finalize), (gst_pad_stop_task):
24246         Really wait for the task to stop before destroying the
24247         mutex.
24248
24249         * gst/gstqueue.c: (gst_queue_sink_activate_push),
24250         (gst_queue_src_activate_push):
24251         Small cleanups. Don't stop the task when we did not start
24252         it.
24253
24254         * gst/gsttask.c: (gst_task_get_type), (gst_task_init),
24255         (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
24256         (gst_task_get_state), (gst_task_start), (gst_task_pause),
24257         (gst_task_join):
24258         * gst/gsttask.h:
24259         Protect the stream lock with the object lock.
24260         Disallow setting the stream lock when running.
24261         Add cleanup_all to wait for the threadpool to finish.
24262         Remove code to autoallocate a mutex if none was provided.
24263         Add _join() to wait for a task to stop.
24264         Protect the thread pool with a global lock.
24265
24266 2005-08-24  Wim Taymans  <wim@fluendo.com>
24267
24268         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
24269         (gst_base_sink_get_times), (gst_base_sink_do_sync),
24270         (gst_base_sink_handle_buffer), (gst_base_sink_change_state):
24271         * gst/base/gstbasesink.h:
24272         Handle newsegment events correctly.
24273         Drop buffers out of the segment range.
24274
24275 2005-08-22  Andy Wingo  <wingo@pobox.com>
24276
24277         * gst/gstutils.h (GST_BOILERPLATE_WITH_INTERFACE): New ghetto
24278         macro, implements an interface and gstimplementsinterface for a
24279         new type.
24280
24281 2005-08-24  Thomas Vander Stichele  <thomas at apestaart dot org>
24282
24283         * check/Makefile.am:
24284         * check/generic/states.c: (GST_START_TEST), (states_suite), (main):
24285           add a test that does a bunch of state changes on elements
24286           needs some fixing for valgrind
24287         * check/states/sinks.c: (gst_object_suite):
24288           whitespace
24289         * gst/gstcaps.h:
24290           add prototype for gst_caps_is_equal_fixed
24291         * gst/gstplugin.c:
24292         * gst/gstregistrypool.c:
24293           doc fixes
24294
24295 2005-08-24  Andy Wingo  <wingo@pobox.com>
24296
24297         * gst/gstquery.c (gst_query_new_convert): Spew if we try to
24298         convert a negative value. Doesn't make much sense. Mostly this is
24299         here to force callers to ensure -1 maps to -1.
24300
24301 2005-08-24  Jan Schmidt  <thaytan@mad.scientist.com>
24302
24303         * docs/pwg/advanced-types.xml:
24304           Well done to Michael for catching my deliberate introduction
24305           of this spelling mistake. 
24306         * gst/gstbin.c: (gst_bin_remove_func), (bin_bus_handler):
24307         * gst/gstelement.h:
24308           Add GST_ELEMENT_UNPARENTING to prevent races so that we can
24309           unlink pads before removing the element from the bin.
24310
24311 2005-08-24  Andy Wingo  <wingo@pobox.com>
24312
24313         * gst/gst.c (parse_debug_list): Accept e.g. GST_DEBUG=4 to mean
24314         the same thing as GST_DEBUG=*:4.
24315         (parse_debug_level, parse_debug_category): New helper parsers.
24316
24317 2005-08-24  Thomas Vander Stichele  <thomas at apestaart dot org>
24318
24319         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
24320         (gst_base_transform_transform_size), (gst_base_transform_getcaps),
24321         (gst_base_transform_setcaps), (gst_base_transform_get_unit_size),
24322         (gst_base_transform_buffer_alloc),
24323         (gst_base_transform_handle_buffer):
24324           use gboolean return values and pointers to size so we can use the
24325           full GST_BUFFER_SIZE range (guint) for buffer sizes
24326           use GstPadDirection for transform_caps
24327         * gst/base/gstbasetransform.h:
24328           rename get_size to get_unit_size since that's what it is
24329         * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_caps):
24330           use GstPadDirection for transform_caps
24331         * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
24332         * gst/gstutils.h:
24333           cleanup and debugging
24334
24335 2005-08-24  Stefan Kost  <ensonic@users.sf.net>
24336
24337         * gst/gstelement.c: (gst_element_class_init),
24338         (gst_element_set_state), (activate_pads),
24339         (gst_element_save_thyself):
24340         * tools/gst-compprep.c: (main):
24341         * tools/gst-inspect.c: (print_element_properties_info):
24342         * tools/gst-xmlinspect.c: (print_element_properties):
24343           Fixed long standing mem-leak
24344
24345 2005-08-24  Jan Schmidt  <thaytan@mad.scientist.com>
24346
24347         * check/gst/gstbin.c: (GST_START_TEST):
24348         * gst/gstbin.c: (bin_bus_handler):
24349         * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
24350         (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
24351         (gst_message_new_warning), (gst_message_new_tag),
24352         (gst_message_new_state_changed), (gst_message_new_segment_start),
24353         (gst_message_new_segment_done), (gst_message_new_custom):
24354         * gst/gstmessage.h:
24355         * tools/gst-launch.c: (event_loop):
24356         * tools/gst-md5sum.c: (event_loop):
24357           Change GST_MESSAGE_SRC to be a GObject rather than a GstObject, so
24358           that applications can sensibly post custom messages with references
24359           to their own objects.
24360
24361 2005-08-24  Andy Wingo  <wingo@pobox.com>
24362
24363         * gst/gstpad.c (gst_pad_fixate_caps): Check if the caps is fixed
24364         already.
24365
24366 2005-08-24  Wim Taymans  <wim@fluendo.com>
24367
24368         * gst/base/gstbasetransform.c: (gst_base_transform_init),
24369         (gst_base_transform_transform_caps),
24370         (gst_base_transform_transform_size),
24371         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
24372         (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
24373         (gst_base_transform_handle_buffer):
24374         * gst/base/gstbasetransform.h:
24375         Many fixes and new features added by Thomas. Can now also do
24376         transforms with variable sizes and a custom fixate_caps function.
24377
24378 2005-08-24  Wim Taymans  <wim@fluendo.com>
24379
24380         * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
24381         Some debugging.
24382
24383         * gst/gstclock.h:
24384         Cast to ClockTime before formatting to time.
24385
24386         * gst/gstutils.h:
24387         Cleanups.
24388
24389 2005-08-24  Stefan Kost  <ensonic@users.sf.net>
24390
24391         * check/gst-libs/controller.c: (GST_START_TEST),
24392         (gst_controller_suite):
24393         * docs/gst/tmpl/gstcaps.sgml:
24394         * docs/gst/tmpl/gstghostpad.sgml:
24395         * docs/gst/tmpl/gstquery.sgml:
24396         * docs/gst/tmpl/gstutils.sgml:
24397         * libs/gst/controller/gst-helper.c: (gst_object_set_controller),
24398         (gst_object_sink_values), (gst_object_get_value_arrays),
24399         (gst_object_get_value_array):
24400           gracefully handle helper method calls to objects that are not beeing
24401           controlled, added test case for that          
24402
24403 2005-08-23  Wim Taymans  <wim@fluendo.com>
24404
24405         * gst/gstevent.c: (_gst_event_copy), (gst_event_new_custom),
24406         (gst_event_new_newsegment), (gst_event_parse_newsegment),
24407         (gst_event_new_tag), (gst_event_parse_tag), (gst_event_new_qos),
24408         (gst_event_parse_qos), (gst_event_new_seek),
24409         (gst_event_parse_seek):
24410         * gst/gstevent.h:
24411         Some more debugging output and doc cleanups.
24412
24413         * gst/gstqueue.c: (gst_queue_handle_sink_event):
24414         Fix possible deadlock.
24415
24416 2005-08-23  Stefan Kost  <ensonic@users.sf.net>
24417
24418         * docs/gst/gstreamer-docs.sgml:
24419         * docs/gst/gstreamer-sections.txt:
24420         * docs/gst/gstreamer.types:
24421         * docs/gst/tmpl/.cvsignore:
24422         * gst/gstbin.h:
24423         * gst/gstbus.c:
24424         * gst/gstelement.c:
24425         * gst/gstevent.h:
24426           added 100 symbols from gstreamer-unused.txt to the right sections
24427           fixed more broken comments
24428           added GstBus to docs
24429
24430 2005-08-23  Stefan Kost  <ensonic@users.sf.net>
24431
24432         * docs/gst/gstreamer-sections.txt:
24433         * docs/gst/tmpl/.cvsignore:
24434         * docs/gst/tmpl/gstbin.sgml:
24435         * docs/gst/tmpl/gstbuffer.sgml:
24436         * gst/base/gstbasesrc.c:
24437         * gst/gstbin.c: (gst_bin_get_type), (gst_bin_class_init):
24438         * gst/gstbuffer.c:
24439         * gst/gstbuffer.h:
24440         * tools/gst-launch.1.in:
24441           inlined more doc comments, added missing comments and fixed comments
24442           fixed typos
24443
24444 2005-08-23  Thomas Vander Stichele  <thomas at apestaart dot org>
24445
24446         * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
24447           some debugging
24448         * gst/gstcaps.h:
24449           whitespace fixes
24450         * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_alloc_buffer):
24451           more debugging
24452         * gst/gststructure.c: (gst_caps_structure_fixate_field_boolean):
24453         * gst/gststructure.h:
24454           add a fixate function for booleans; add a FIXME that these func
24455           names should probably be gst_structure_fixate_*
24456
24457 2005-08-23  Stefan Kost  <ensonic@users.sf.net>
24458
24459         * docs/gst/gstreamer-docs.sgml:
24460         * docs/gst/gstreamer-sections.txt:
24461         * gst/Makefile.am:
24462         * gst/gstbin.c: (gst_bin_get_type),
24463         (gst_bin_child_proxy_get_child_by_index),
24464         (gst_bin_child_proxy_get_children_count),
24465         (gst_bin_child_proxy_init):
24466         * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
24467         (gst_child_proxy_get_child_by_index),
24468         (gst_child_proxy_get_children_count), (gst_child_proxy_lookup),
24469         (gst_child_proxy_get_property), (gst_child_proxy_get_valist),
24470         (gst_child_proxy_get), (gst_child_proxy_set_property),
24471         (gst_child_proxy_set_valist), (gst_child_proxy_set),
24472         (gst_child_proxy_child_added), (gst_child_proxy_child_removed),
24473         (gst_child_proxy_base_init), (gst_child_proxy_get_type):
24474         * gst/gstchildproxy.h:
24475         * gst/parse/grammar.y:
24476         * tools/gst-inspect.c: (print_interfaces),
24477         (print_element_properties_info), (print_element_info):
24478           ported gstchildproxy over from 0.8
24479           ported gst-inspect fixes and enhancements over from 0.8
24480
24481 2005-08-22  Wim Taymans  <wim@fluendo.com>
24482
24483         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
24484         (gst_base_transform_handle_buffer):
24485         Also call the transform function if we have ANY caps.
24486
24487         * gst/gstpipeline.c: (gst_pipeline_set_new_stream_time):
24488         Fix debug info.
24489
24490 2005-08-22  Jan Schmidt  <thaytan@mad.scientist.com>
24491
24492         * gst/base/gstbasesrc.c: (gst_base_src_event_handler)
24493           Don't pretend to handle seek events if the source is not seekable
24494
24495 2005-08-22  Jan Schmidt  <thaytan@mad.scientist.com>
24496
24497         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
24498           Remove extra parameter to debug output
24499
24500         * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
24501         (gst_base_src_do_seek), (gst_base_src_activate_push):
24502           Fix seek event handling.
24503
24504         * gst/gstpipeline.c: (gst_pipeline_change_state):
24505         * gst/gstqueue.c: (gst_queue_handle_sink_event),
24506         (gst_queue_src_activate_push):
24507           Don't start the src pad task on FLUSH_STOP if the pad
24508           isn't linked.
24509           Debug changes.
24510
24511 2005-08-22  Wim Taymans  <wim@fluendo.com>
24512
24513         * check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
24514         Added check for gst_static_caps_get() refcounting.
24515
24516 2005-08-22  Wim Taymans  <wim@fluendo.com>
24517
24518         * gst/gstcaps.c: (gst_static_caps_get), (gst_caps_to_string):
24519         Make _static_caps_get() refcounting sane.
24520         
24521         * gst/gstelement.c: (gst_element_set_state):
24522         Add g_return_val_if_fail() to protect against segfaults.
24523
24524 2005-08-22  Stefan Kost  <ensonic@users.sf.net>
24525
24526         * docs/gst/tmpl/gstevent.sgml:
24527         * gst/gstevent.c:
24528         * gst/gstevent.h:
24529           inlined remaining docs, added missing doc comments
24530
24531 2005-08-22  Thomas Vander Stichele  <thomas at apestaart dot org>
24532
24533         * check/gst/gstbin.c: (GST_START_TEST):
24534           since we don't know when preroll is done, use refcount range
24535           check for the sink
24536         * gst/check/gstcheck.h:
24537           add macro for checking refcount range
24538
24539 2005-08-21  Thomas Vander Stichele  <thomas at apestaart dot org>
24540
24541         * check/Makefile.am:
24542           clean up environment for when registry gets built versus
24543           when actual tests are run; valgrind seems to not report
24544           leaks if GST_PLUGIN_PATH is set to some specific values
24545         * check/gst/gstbin.c: (GST_START_TEST):
24546           add more refcounting checks; maybe this exposes a
24547           preroll lock bug ?
24548         * common/check.mak:
24549         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
24550         * gst/check/gstcheck.h:
24551         * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_get_state),
24552         (gst_bin_change_state):
24553         * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_chain):
24554           add/fix debugging/whitespace
24555
24556 2005-08-21  Jan Schmidt  <thaytan@mad.scientist.com>
24557
24558         * check/gst/gstevent.c: (event_probe), (test_event),
24559         (GST_START_TEST):
24560          Er, don't call gst_bin_watch_for_state_change you idiot.
24561
24562 2005-08-21  Jan Schmidt  <thaytan@mad.scientist.com>
24563
24564         * check/Makefile.am:
24565           Use CHECK_CFLAGS and CHECK_LIBS
24566         * check/gst/gstevent.c: (event_probe), (test_event),
24567         (GST_START_TEST):
24568           Don't leak events.
24569         * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
24570         (gst_base_src_start), (gst_base_src_stop),
24571         (gst_base_src_activate_push), (gst_base_src_activate_pull),
24572         (gst_base_src_change_state):
24573           Sprinkle gst_base_src_stop liberally around error paths to fix
24574           problems reusing a source after failed state changes.
24575         * gst/base/gsttypefindhelper.c: (helper_find_peek),
24576         (helper_find_suggest), (gst_type_find_helper):
24577           Extra debug output. Don't segfault on GST_PAD_GETRANGEFUNC = NULL
24578         * gst/gstevent.h:
24579         * docs/gst/tmpl/gstevent.sgml:
24580           Migrate part of the docs from the SGML file. Wait for ensonic to
24581           tell me how I did it wrong ;)
24582         * tools/gst-typefind.c: (main):
24583           Extra robustness to state changes between files.
24584
24585 2005-08-21  Thomas Vander Stichele  <thomas at apestaart dot org>
24586
24587         * check/Makefile.am:
24588           don't valgrind the controller test - it's leaking - Stefan, HELP
24589         * gst/check/gstcheck.c: (gst_check_message_error),
24590         (gst_check_chain_func), (gst_check_setup_element),
24591         (gst_check_teardown_element), (gst_check_setup_src_pad),
24592         (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
24593         (gst_check_teardown_sink_pad):
24594         * gst/check/gstcheck.h:
24595           add a bunch of methods to set up elements, and src and sink pads
24596         * check/elements/fakesrc.c: (setup_fakesrc), (cleanup_fakesrc):
24597         * check/elements/identity.c: (setup_identity), (cleanup_identity),
24598         (GST_START_TEST):
24599           use them
24600         * gst/gstmessage.c:
24601         * gst/gsttag.h:
24602           whitespace/doc fixes
24603
24604 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
24605
24606         * gst/gstelement.h:
24607           make GST_ELEMENT_ERROR not do GST_ERROR_OBJECT - these errors should
24608           be handled by the application and not always printed as well
24609
24610 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
24611
24612         * check/Makefile.am:
24613           set GST_TOOLS_DIR
24614         * gst/check/gstcheck.c: (gst_check_message_error):
24615         * gst/check/gstcheck.h:
24616           add a fail_unless_equals_int
24617           add fail_unless for error messages
24618
24619 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
24620
24621         * check/Makefile.am:
24622         * check/gst.supp:
24623         * common/Makefile.am:
24624         * common/check.mak:
24625         * common/gst.supp:
24626           factor out some of the common stuff so we can use it
24627
24628 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
24629
24630         * check/Makefile.am:
24631         * check/gst/gstiterator.c: (GST_START_TEST):
24632         * check/gst/gstsystemclock.c: (GST_START_TEST),
24633         (gst_systemclock_suite):
24634         * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
24635         * gst/gstclock.c:
24636           valgrind more tests
24637
24638 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
24639
24640         * check/elements/.cvsignore:
24641         * check/elements/gstfakesrc.c:
24642           rename to name of element
24643         * check/elements/identity.c: (chain_func), (event_func),
24644         (setup_identity), (cleanup_identity), (GST_START_TEST),
24645         (identity_suite), (main):
24646           add a test for identity
24647         * check/Makefile.am:
24648         * pkgconfig/Makefile.am:
24649         * pkgconfig/gstreamer-check.pc.in:
24650         * pkgconfig/gstreamer-check-uninstalled.pc.in:
24651         * gst/check:
24652         * gst/Makefile.am:
24653         * configure.ac:
24654           move the check stuff to a library that gets installed
24655         * check/gst-libs/controller.c: (GST_START_TEST):
24656         * check/gst-libs/gdp.c:
24657         * check/gst/gst.c: (GST_START_TEST):
24658         * check/gst/gstbin.c:
24659         * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
24660         * check/gst/gstbus.c:
24661         * check/gst/gstcaps.c: (GST_START_TEST):
24662         * check/gst/gstelement.c:
24663         * check/gst/gstghostpad.c:
24664         * check/gst/gstiterator.c:
24665         * check/gst/gstmessage.c:
24666         * check/gst/gstminiobject.c: (thread_ref), (GST_START_TEST):
24667         * check/gst/gstobject.c:
24668         * check/gst/gstpad.c: (GST_START_TEST):
24669         * check/gst/gststructure.c: (GST_START_TEST):
24670         * check/gst/gstsystemclock.c: (GST_START_TEST),
24671         (gst_systemclock_suite):
24672         * check/gst/gsttag.c: (gst_tag_suite):
24673         * check/gst/gstvalue.c:
24674         * check/pipelines/cleanup.c:
24675         * check/pipelines/simple_launch_lines.c:
24676         * check/states/sinks.c:
24677           change include statement
24678
24679         * docs/gst/gstreamer-sections.txt:
24680         * docs/gst/tmpl/gstpad.sgml:
24681           document more pad stuff
24682         * gst/gstminiobject.c: (gst_mini_object_ref),
24683         (gst_mini_object_unref):
24684           debug refcounting
24685
24686 2005-08-19  Stefan Kost  <ensonic@users.sf.net>
24687
24688         * docs/gst/tmpl/gst.sgml:
24689         * gst/gst.c:
24690           eliminate another tmpl file, fix spelling in the long-description
24691
24692 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
24693
24694         * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
24695         (test_event), (timediff), (gstevents_suite):
24696           Should fix build on 64-bit arch's
24697
24698 2005-08-18  Andy Wingo  <wingo@pobox.com>
24699
24700         Make sure that when a pipeline goes to PLAYING, that data has
24701         actually hit the sink.
24702
24703         * check/states/sinks.c (test_sink): A sink that doesn't get any
24704         data shouldn't return SUCCESS for going to either PLAYING or
24705         PAUSED. Test also the return values on the way back down.
24706
24707         * gst/gstelement.c (gst_element_set_state): When changing the
24708         state of an element currently changing state asynchronously, go to
24709         lost-state after commiting the pending state. Makes future calls
24710         to get_state continue to return ASYNC.
24711
24712         * gst/base/gstbasesink.c (gst_base_sink_change_state): Return
24713         ASYNC when going to PLAYING if we still don't have preroll, as can
24714         happen with live sources.
24715
24716 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
24717
24718         * docs/pwg/advanced-types.xml:
24719           Hack long paragraph into 2 chunks as a workaround for buggy
24720           jadetex version in sid and breezy that loops infinitely and
24721           eats all RAM.
24722
24723 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
24724
24725         * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
24726         (test_event), (timediff), (gstevents_suite):
24727           Provide more error margin in clock measurements to allow for 
24728           g_get_current_time inaccuracies.
24729
24730 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
24731
24732         * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
24733         (test_event), (timediff), (gstevents_suite):
24734            Fix error message output so I might be able to tell why the
24735            test works here but fails on the build farm.
24736
24737 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
24738
24739         * check/Makefile.am:
24740         * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
24741         (test_event), (timediff), (gstevents_suite), (main):
24742           I wrote a test!
24743
24744         * docs/design/part-seeking.txt:
24745           Spelling correction
24746
24747         * docs/gst/tmpl/gstevent.sgml:
24748         * docs/gst/tmpl/gstfakesrc.sgml:
24749           Docs updates.
24750
24751         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
24752           Treat a buffer-without-newsegment the same as a receiving 
24753           a newsegment not in time format, and disable syncing to the clock
24754           with a warning.
24755
24756         * gst/gstbus.c: (gst_bus_set_sync_handler):
24757           Assert if anyone tries to replace the existing sync_handler for bus, 
24758           as only the owner should be setting it.
24759
24760         * gst/gstevent.h:
24761           Have a fixed set of custom event enums with events identified by
24762           their structure name (as in 0.8), rather than a free-for-all
24763           allowing collisions between enum values from different plugins.
24764
24765         * gst/gstpad.c: (gst_pad_class_init):
24766           Docs change.
24767           
24768         * gst/gstqueue.c: (gst_queue_handle_sink_event):
24769           Handle out-of-band downstream events from the sending thread.
24770
24771 2005-08-17  Andy Wingo  <wingo@pobox.com>
24772
24773         * gst/gstpipeline.c (gst_pipeline_change_state): Interpret
24774         play-timeout==0 to mean no timeout at all. In that case, don't
24775         bother with a get_state or a warning, just return directly, even
24776         if it's ASYNC.
24777
24778         * gst/base/gstbasetransform.c: Debug changes.
24779
24780         * gst/gstutils.h:
24781         * gst/gstutils.c (gst_bin_watch_for_state_change): Add function to
24782         ensure bins post state change messages. A bit of a hack but I can't
24783         think of a way to avoid it.
24784
24785         * check/gst/gstbin.c (test_watch_for_state_change): Added test.
24786
24787 2005-08-16  Andy Wingo  <wingo@pobox.com>
24788
24789         * gst/base/gstadapter.h:
24790         * gst/base/gstadapter.c (gst_adapter_take): New function, like
24791         peek() but you own the data. Not terribly efficient atm.
24792
24793 2005-08-16  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
24794
24795         * gst/gstutils.c: (gst_element_found_tags_for_pad), (push_and_ref),
24796         (gst_element_found_tags):
24797         * gst/gstutils.h:
24798           Add two utility functions for tag handling.
24799
24800 2005-08-16  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
24801
24802         * docs/manual/advanced-dataaccess.xml:
24803         * docs/manual/basics-helloworld.xml:
24804           Fix docs to use _bin_add() before _link(), which fixes the examples
24805           with recent core versions (reported by Madhan Raj M
24806           <raj_madan@rediffmail.com>, #313199).
24807
24808 2005-08-16  Wim Taymans  <wim@fluendo.com>
24809
24810         * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
24811         Added subtract checks.
24812
24813         * docs/design/part-events.txt:
24814         Some more docs about newsegment
24815
24816         * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
24817         Fix FIXME
24818
24819         * gst/gstcaps.c: (gst_caps_to_string):
24820         Add comments, cleanups.
24821         
24822         * gst/gstelement.c: (gst_element_save_thyself):
24823         cleanups
24824         
24825         * gst/gstvalue.c: (gst_value_collect_int_range),
24826         (gst_string_unwrap), (gst_value_union_int_int_range),
24827         (gst_value_union_int_range_int_range),
24828         (gst_value_intersect_int_int_range),
24829         (gst_value_intersect_int_range_int_range),
24830         (gst_value_intersect_double_double_range),
24831         (gst_value_intersect_double_range_double_range),
24832         (gst_value_intersect_list), (gst_value_subtract_int_int_range),
24833         (gst_value_subtract_int_range_int),
24834         (gst_value_subtract_double_range_double),
24835         (gst_value_subtract_double_range_double_range),
24836         (gst_value_subtract_from_list), (gst_value_subtract_list),
24837         (gst_value_can_compare), (gst_value_compare_fraction):
24838         Cleanups, add comments, remove unneeded asserts.
24839
24840 2005-08-15  Thomas Vander Stichele  <thomas at apestaart dot org>
24841
24842         * tools/gst-launch.c: (event_loop):
24843           don't convert NULL structures to strings
24844
24845 2005-08-15  Stefan Kost  <ensonic@users.sf.net>
24846
24847         * docs/gst/gstreamer-sections.txt:
24848           made some defines private
24849         * docs/gst/tmpl/gstconfig.sgml:
24850         * docs/gst/tmpl/gstqueue.sgml:
24851         * docs/gst/tmpl/gsttaglist.sgml:
24852         * docs/gst/tmpl/gsttypes.sgml:
24853         * docs/gst/tmpl/gstutils.sgml:
24854         * docs/pwg/appendix-porting.xml:
24855         * gst/base/gstbasesink.h:
24856         * gst/base/gstbasesrc.c:
24857         * gst/base/gstbasesrc.h:
24858         * gst/elements/gstfakesink.c: (gst_fake_sink_class_init):
24859         * gst/elements/gstfakesrc.c: (gst_fake_src_class_init):
24860         * gst/gstelement.c: (gst_element_class_init):
24861         * gst/gstpad.c: (gst_pad_class_init):
24862         * gst/gstqueue.c: (gst_queue_class_init):
24863         * gst/gstxml.c: (gst_xml_class_init):
24864           documented all undocumented signal inline
24865         * libs/gst/controller/gst-controller.h:
24866           added padding
24867
24868 2005-08-15  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
24869
24870         * docs/pwg/appendix-porting.xml:
24871           Document _set_link_function -> _set_setcaps_function.
24872
24873 2005-08-15  Thomas Vander Stichele  <thomas at apestaart dot org>
24874
24875         * check/Makefile.am:
24876           add a .check target for running the check
24877         * check/gst-libs/controller.c: (GST_START_TEST):
24878           cosmetic fixups
24879         * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
24880           complete checks for gstbuffer; would be nice if I could get the
24881           gcov stuff to work so I can see if I actually completed gstbuffer.c
24882         * check/gstcheck.h:
24883           add ASSERT_BUFFER_REFCOUNT
24884
24885 2005-08-13  Tim-Philipp Müller  <tim at centricular dot net>
24886
24887         * docs/gst/gstreamer-sections.txt:
24888         * gst/gsttag.c: (_gst_tag_initialize), (gst_tag_register):
24889         * gst/gsttag.h:
24890           Add GST_TAG_LANGUAGE_CODE as we have in 0.8, and don't
24891           spew out a warning if a tag that is already registered
24892           is re-registered, unless it is re-registered with a 
24893           different type (#308438).
24894
24895 2005-08-12  Tim-Philipp Müller  <tim at centricular dot net>
24896
24897         * docs/pwg/appendix-porting.xml:
24898         * docs/pwg/building-state.xml:
24899           Add some paragraphs about state changes in 0.9 to the PWG
24900           and the porting guide, in particular about the new meaning
24901           of GST_STATE_PAUSED and how to write state change functions
24902           with concurrent access by multiple threads in mind.
24903
24904 2005-08-11  Stefan Kost  <ensonic@users.sf.net>
24905
24906         * docs/gst/gstreamer-docs.sgml:
24907         * docs/libs/gstreamer-libs-docs.sgml:
24908           added deprecation and since indexes
24909         * libs/gst/controller/gst-controller.c:
24910         * libs/gst/controller/gst-helper.c:
24911           added since tags
24912
24913
24914 2005-08-11  Wim Taymans  <wim@fluendo.com>
24915
24916         * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked),
24917         (gst_proxy_pad_set_target), (gst_proxy_pad_get_target),
24918         (gst_proxy_pad_dispose), (gst_ghost_pad_do_activate_push),
24919         (gst_ghost_pad_do_link), (gst_ghost_pad_set_internal),
24920         (gst_ghost_pad_new_notarget), (gst_ghost_pad_get_target),
24921         (gst_ghost_pad_set_target):
24922         Actually implement (re)setting the target on a ghostpad
24923         as described in the docs.
24924
24925 2005-08-10  Tim-Philipp Müller  <tim at centricular dot net>
24926
24927         * gst/gst.c: (gst_init_check_with_popt_table), (init_pre):
24928           Check whether GST_DEBUG_NO_COLOR environment variable is
24929           set and disable coloured debug output if that is the case.
24930
24931 2005-08-10  Tim-Philipp Müller  <tim at centricular dot net>
24932
24933         * gst/base/gsttypefindhelper.c: (helper_find_peek),
24934         (gst_type_find_helper):
24935           The memory returned by gst_type_find_peek() needs to
24936           stay valid until the end of a typefind function, and
24937           typefind functions may keep results from different 
24938           offsets around, so we can't just unref the buffer from
24939           the previous _peek(), but have to save all buffers 
24940           returned by _peek() until typefinding is done and only
24941           free them then.
24942
24943 2005-08-09  Tim-Philipp Müller  <tim at centricular dot net>
24944
24945         * docs/gst/gstreamer-sections.txt:
24946         * gst/gstutils.h:
24947           New macros: GST_ROUND_UP_2() through GST_ROUND_UP_64().
24948
24949 2005-08-08  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
24950
24951         * gst/base/gstbasetransform.c: (gst_base_transform_buffer_alloc):
24952           Fix a pretty good memleak.
24953
24954 2005-08-08  Tim-Philipp Müller  <tim at centricular dot net>
24955
24956         * gst/gstiterator.h:
24957           Fix wrong include and 'make distcheck'.
24958
24959 2005-08-08  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
24960
24961         * gst/gstbin.c: (bin_bus_handler):
24962           Use gst_element_post_message() instead.
24963
24964 2005-08-08  Tim-Philipp Müller  <tim at centricular dot net>
24965
24966         * gst/base/gstadapter.h:
24967         * gst/base/gstbasesink.h:
24968         * gst/base/gstbasesrc.h:
24969         * gst/base/gstbasetransform.h:
24970         * gst/base/gstcollectpads.h:
24971         * gst/base/gstpushsrc.h:
24972         * gst/gstiterator.h:
24973           Add padding to our base elements' class and instance structs and
24974           to GstIterator (you will need to rebuild all plugins and apps!)
24975
24976 2005-08-08  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
24977
24978         * gst/gstbin.c: (bin_bus_handler):
24979           Make default message forwarding from child->bus to bin->bus
24980           threadsafe and make it not emit warnings if the parent has no bus.
24981
24982 2005-08-08  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
24983
24984         * gst/gstelement.c: (activate_pads):
24985           On paused->ready, set pad->caps to NULL, as is the documented
24986           behaviour in this state change. Fixes playback of series of
24987           media files when visualization is enabled in Totem.
24988
24989 2005-08-07  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
24990
24991         * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
24992           Allow NULL as filter-caps (which means "any").
24993
24994 2005-08-05  Stefan Kost  <ensonic@users.sf.net>
24995
24996         * docs/libs/gstreamer-libs-sections.txt:
24997         * libs/gst/controller/gst-controller.c:
24998         * libs/gst/controller/gst-controller.h:
24999         * libs/gst/controller/gst-helper.c:
25000           adding more entries to the docs and fix small doc-bugs
25001
25002 2005-08-05  Stefan Kost  <ensonic@users.sf.net>
25003
25004         * docs/gst/gstreamer-docs.sgml:
25005         * docs/gst/gstreamer-sections.txt:
25006         * docs/gst/gstreamer.types:
25007         * docs/gst/tmpl/gstbasesink.sgml:
25008         * docs/gst/tmpl/gstbasesrc.sgml:
25009         * docs/gst/tmpl/gstbasetransform.sgml:
25010         * docs/gst/tmpl/gstfakesrc.sgml:
25011         * gst/base/gstcollectpads.c:
25012         * gst/base/gstcollectpads.h:
25013         * libs/gst/controller/gst-controller.c:
25014         * libs/gst/controller/gst-controller.h:
25015         * libs/gst/controller/gst-helper.c:
25016         * libs/gst/controller/gst-interpolation.c:
25017         * libs/gst/controller/lib.c:
25018           added long/short desc for controller docs
25019           added collectpads base class docs
25020           added correct includes to base-class docs
25021
25022 2005-08-05  Stefan Kost  <ensonic@users.sf.net>
25023
25024         * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
25025         (gst_test_mono_source_set_property),
25026         (gst_test_mono_source_class_init), (GST_START_TEST),
25027         (gst_controller_suite):
25028         * docs/gst/gstreamer-docs.sgml:
25029         * docs/gst/gstreamer-sections.txt:
25030         * docs/gst/gstreamer.types:
25031         * docs/libs/gstreamer-libs-docs.sgml:
25032         * docs/libs/gstreamer-libs-sections.txt:
25033         * gst/base/gstadapter.c:
25034         * libs/gst/controller/gst-controller.c:
25035         (gst_controlled_property_new), (gst_controlled_property_free),
25036         (gst_controller_new_valist),
25037         (gst_controller_remove_properties_valist),
25038         (gst_controller_sink_values), (_gst_controller_finalize):
25039         * libs/gst/controller/gst-controller.h:
25040         * libs/gst/controller/gst-helper.c:
25041         (gst_object_control_properties), (gst_object_uncontrol_properties),
25042         (gst_object_get_controller), (gst_object_set_controller),
25043         (gst_object_sink_values), (gst_object_get_value_arrays),
25044         (gst_object_get_value_array):
25045           more tests (and fixes) for the controller
25046           more docs for the controller
25047           integrated companies docs for the adapter 
25048
25049 2005-08-05  Thomas Vander Stichele  <thomas at apestaart dot org>
25050
25051         * check/elements/gstfakesrc.c: (setup_fakesrc), (cleanup_fakesrc),
25052         (GST_START_TEST), (fakesrc_suite):
25053           add tests for sizetype
25054
25055 2005-08-04  Andy Wingo  <wingo@pobox.com>
25056
25057         * gst/elements/gstcapsfilter.c: Reimplement using basetransform,
25058         fixes buffer_alloc proxying among other things.
25059
25060         * gst/base/gstbasetransform.c:
25061         * gst/base/gstbasetransform.h:
25062         Revert patch to gstbasetransform from 7-28 removing
25063         delay_configure.
25064
25065         * gst/base/gstbasetransform.h (GstBaseTransformClass.get_size):
25066         * gst/base/gstbasetransform.c (gst_base_transform_get_size):
25067         Semantics changed, should return not the size of the output buffer
25068         but the byte size of a buffer with a given caps.
25069
25070         * gst/base/gstbasetransform.c (gst_base_transform_getcaps): Better
25071         debug object.
25072         (gst_base_transform_configure_caps): Don't set out_size here: (in,
25073         out) are not the pad caps until setcaps finishes.
25074         (gst_base_transform_buffer_alloc): Proxy the buffer_alloc for the
25075         not-in-place case as well. Deal with changing from in-place to
25076         not-in-place within calling pad_alloc_buffer. Still a bit
25077         concerned about the overhead here...
25078
25079 2005-08-03  Andy Wingo  <wingo@pobox.com>
25080
25081         * gst/base/gstbasetransform.c (gst_base_transform_setcaps): Not
25082         fixating is an error.
25083
25084 2005-08-04  Edward Hervey  <edward@fluendo.com>
25085
25086         * gst/base/gstadapter.h: 
25087         Added gst_adapter_get_type() to the header
25088
25089 2005-08-03  Stefan Kost  <ensonic@users.sf.net>
25090
25091         * check/Makefile.am:
25092         * check/gst-libs/controller.c:
25093         * libs/gst/controller/gst-controller.c:
25094         (gst_controller_new_valist):
25095           added check test suite for the controller
25096         * gst/base/gstpushsrc.c:
25097           fixed a doc typo
25098
25099 2005-08-03  Stefan Kost  <ensonic@users.sf.net>
25100
25101         * docs/gst/Makefile.am:
25102         * docs/gst/gstreamer-docs.sgml:
25103         * docs/gst/gstreamer-sections.txt:
25104         * docs/gst/gstreamer.types:
25105         * docs/gst/tmpl/gstfakesrc.sgml:
25106         * gst/base/README:
25107         * gst/base/gstbasesink.c:
25108         * gst/base/gstbasesink.h:
25109         * gst/base/gstbasesrc.c:
25110         * gst/base/gstbasesrc.h:
25111         * gst/base/gstbasetransform.c:
25112         * gst/base/gstpushsrc.c:
25113         * gst/base/gstpushsrc.h:
25114           add short/long description docs to base classes
25115           add pushsrc to the docs
25116           remove consolidated doc fragments
25117
25118 2005-08-03  Stefan Kost  <ensonic@users.sf.net>
25119
25120         * configure.ac:
25121         * docs/libs/Makefile.am:
25122         * docs/libs/gstreamer-libs-docs.sgml:
25123         * docs/libs/gstreamer-libs-sections.txt:
25124         * docs/libs/gstreamer-libs.types:
25125         * examples/Makefile.am:
25126         * examples/controller/.cvsignore:
25127         * examples/controller/Makefile.am:
25128         * examples/controller/audio-example.c: (main):
25129         * libs/gst/Makefile.am:
25130         * libs/gst/controller/.cvsignore:
25131         * libs/gst/controller/Makefile.am:
25132         * libs/gst/controller/gst-controller.c:
25133         (on_object_controlled_property_changed), (gst_timed_value_compare),
25134         (gst_timed_value_find),
25135         (gst_controlled_property_set_interpolation_mode),
25136         (gst_controlled_property_new), (gst_controlled_property_free),
25137         (gst_controller_find_controlled_property),
25138         (gst_controller_new_valist), (gst_controller_new),
25139         (gst_controller_remove_properties_valist),
25140         (gst_controller_remove_properties), (gst_controller_set),
25141         (gst_controller_set_from_list), (gst_controller_unset),
25142         (gst_controller_get), (gst_controller_get_all),
25143         (gst_controller_sink_values), (gst_controller_get_value_arrays),
25144         (gst_controller_get_value_array),
25145         (gst_controller_set_interpolation_mode),
25146         (_gst_controller_finalize), (_gst_controller_init),
25147         (_gst_controller_class_init), (gst_controller_get_type):
25148         * libs/gst/controller/gst-controller.h:
25149         * libs/gst/controller/gst-helper.c: (g_object_control_properties),
25150         (g_object_uncontrol_properties), (g_object_get_controller),
25151         (g_object_set_controller), (g_object_sink_values),
25152         (g_object_get_value_arrays), (g_object_get_value_array):
25153         * libs/gst/controller/gst-interpolation.c:
25154         (gst_controlled_property_find_timed_value_node),
25155         (interpolate_none_get), (interpolate_trigger_get),
25156         (interpolate_trigger_get_value_array):
25157         * libs/gst/controller/lib.c: (gst_controller_init):
25158         * pkgconfig/Makefile.am:
25159         * pkgconfig/gstreamer-control-uninstalled.pc.in:
25160         * pkgconfig/gstreamer-control.pc.in:
25161         * testsuite/Makefile.am:
25162         * testsuite/controller/.cvsignore:
25163         * testsuite/controller/Makefile.am:
25164         * testsuite/controller/interpolator.c: (main):
25165           added controller code
25166           removed dparam pc files
25167
25168 2005-08-01  Jan Schmidt  <thaytan@mad.scientist.com>
25169         * gst/base/gstcollectpads.c: (gst_collectpads_finalize),
25170         (gst_collectpads_stop):
25171           Broadcast the condition when shutting down, to make sure we wake all
25172           threads up. Shut down pads on finalize, for safety.
25173
25174 2005-08-01  Jan Schmidt  <thaytan@mad.scientist.com>
25175         * gst/base/gstbasetransform.c: (gst_base_transform_init),
25176         (gst_base_transform_handle_buffer),
25177         (gst_base_transform_change_state):
25178           Handle PAUSED->READY->PAUSED transition after negotiation
25179           occurred already.
25180         * gst/gstmessage.c: (gst_message_init):
25181           Extra piece of debug for new messages.
25182
25183 2005-08-01  Stefan Kost  <ensonic@users.sf.net>
25184
25185         * configure.ac:
25186         * docs/gst/tmpl/gstbasesrc.sgml:
25187         * docs/gst/tmpl/gstelement.sgml:
25188         * docs/gst/tmpl/gstevent.sgml:
25189         * docs/gst/tmpl/gstfakesrc.sgml:
25190         * docs/gst/tmpl/gstformat.sgml:
25191         * docs/gst/tmpl/gstghostpad.sgml:
25192         * docs/gst/tmpl/gstpad.sgml:
25193         * docs/gst/tmpl/gstquery.sgml:
25194         * docs/gst/tmpl/gststructure.sgml:
25195         * docs/gst/tmpl/gsttaglist.sgml:
25196         * docs/gst/tmpl/gstvalue.sgml:
25197         * docs/libs/gstreamer-libs-docs.sgml:
25198         * docs/libs/gstreamer-libs-sections.txt:
25199         * docs/libs/gstreamer-libs.types:
25200         * libs/gst/Makefile.am:
25201         * libs/gst/control/.cvsignore:
25202         * libs/gst/control/Makefile.am:
25203         * libs/gst/control/control.c:
25204         * libs/gst/control/control.h:
25205         * libs/gst/control/dparam.c:
25206         * libs/gst/control/dparam.h:
25207         * libs/gst/control/dparam_smooth.c:
25208         * libs/gst/control/dparam_smooth.h:
25209         * libs/gst/control/dparamcommon.h:
25210         * libs/gst/control/dparammanager.c:
25211         * libs/gst/control/dparammanager.h:
25212         * libs/gst/control/dplinearinterp.c:
25213         * libs/gst/control/dplinearinterp.h:
25214         * libs/gst/control/unitconvert.c:
25215         * libs/gst/control/unitconvert.h:
25216         * testsuite/Makefile.am:
25217         * testsuite/dynparams/.cvsignore:
25218         * testsuite/dynparams/Makefile.am:
25219         * testsuite/dynparams/dparamstest.c:
25220         * tools/Makefile.am:
25221         * tools/gst-inspect.c: (print_element_info), (main):
25222         * tools/gst-xmlinspect.c: (print_element_info), (main):
25223           deactivate and remove dparams (libgstcontrol)
25224
25225 2005-08-01  Tim-Philipp Müller  <tim at centricular dot net>
25226
25227         * gst/elements/gsttypefindelement.c:
25228         (gst_type_find_element_have_type), (gst_type_find_element_init),
25229         (stop_typefinding), (gst_type_find_element_handle_event),
25230         (gst_type_find_element_chain), (gst_type_find_element_getrange):
25231         * gst/elements/gsttypefindelement.h:
25232           Set caps on all outgoing buffers, not just the first one.
25233
25234 2005-08-01  Tim-Philipp Müller  <tim at centricular dot net>
25235
25236         * gst/elements/gsttypefindelement.c:
25237         (gst_type_find_element_have_type),
25238         (gst_type_find_element_check_set_buffer_caps),
25239         (gst_type_find_element_init), (stop_typefinding),
25240         (gst_type_find_element_handle_event),
25241         (gst_type_find_element_chain), (gst_type_find_element_getrange):
25242         * gst/elements/gsttypefindelement.h:
25243           Set caps on first outgoing buffer when we've found the type.
25244
25245 2005-08-01  Tim-Philipp Müller  <tim at centricular dot net>
25246
25247         * docs/gst/gstreamer-docs.sgml:
25248         * docs/gst/gstreamer-sections.txt:
25249         * docs/gst/tmpl/gstscheduler.sgml:
25250         * docs/gst/tmpl/gstschedulerfactory.sgml:
25251           Remove some old cruft from docs.
25252
25253 2005-07-31  Tim-Philipp Müller  <tim at centricular dot net>
25254
25255         * gst/gstpad.h:
25256           Fix inline docs for GstPadLinkReturn.
25257           
25258         * gst/gststructure.c: (gst_structure_has_name):
25259         * gst/gststructure.h:
25260         * docs/gst/gstreamer-sections.txt:
25261           New API: gst_structure_has_name().
25262
25263 2005-07-30  Tim-Philipp Müller  <tim at centricular dot net>
25264
25265         * configure.ac:
25266           Use AC_SYS_LARGEFILE, which will set _FILE_OFFSET_BITS=64
25267           and _LARGEFILE_SOURCE in config.h as required. Do not 
25268           export those flags in our .pc files any longer (#142209).
25269
25270           Remove unused GST_DISABLE_OMEGA_COTHREADS stuff.
25271
25272         * gst/elements/gstfilesink.c: (gst_file_sink_class_init),
25273         (gst_file_sink_do_seek), (gst_file_sink_event),
25274         (gst_file_sink_get_current_offset), (gst_file_sink_render):
25275           Redo seek/tell calls with large file support in mind; add some
25276           debugging messages; add log message that tells us when large
25277           file support is unavailable or not enabled for some reason.
25278
25279         * gst/elements/gstfilesrc.c: (gst_file_src_class_init):
25280           Add log message that tells us when large file support 
25281           is unavailable or not enabled for some reason.
25282
25283 2005-07-29  Wim Taymans  <wim@fluendo.com>
25284
25285         * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
25286         Added test for removing an element with ghostpad from a bin.
25287         Fixed test as current implementation does the right thing.
25288
25289         * gst/gstghostpad.c: (gst_proxy_pad_class_init),
25290         (gst_proxy_pad_do_query_type), (gst_proxy_pad_do_event),
25291         (gst_proxy_pad_do_query), (gst_proxy_pad_do_internal_link),
25292         (gst_proxy_pad_do_bufferalloc), (gst_proxy_pad_do_activate),
25293         (gst_proxy_pad_do_activatepull), (gst_proxy_pad_do_activatepush),
25294         (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange),
25295         (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_getcaps),
25296         (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
25297         (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target),
25298         (gst_proxy_pad_get_target), (gst_proxy_pad_init),
25299         (gst_proxy_pad_dispose), (gst_proxy_pad_finalize),
25300         (gst_ghost_pad_class_init), (gst_ghost_pad_do_activate_push),
25301         (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
25302         (gst_ghost_pad_set_internal), (gst_ghost_pad_dispose),
25303         (gst_ghost_pad_new_notarget), (gst_ghost_pad_new),
25304         (gst_ghost_pad_get_target), (gst_ghost_pad_set_target):
25305         * gst/gstghostpad.h:
25306         Clean up ghostpads, remove properties for internal stuff.
25307         Make threadsafe.
25308         Fix refcounting.
25309         Prepare for switching targets, not all use cases work yet.
25310
25311 2005-07-29  Wim Taymans  <wim@fluendo.com>
25312
25313         * docs/design/part-gstghostpad.txt:
25314         Small update.
25315
25316         * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
25317         (gst_bin_remove_func):
25318         Unlinking pads while holding the bin LOCK is not a good
25319         idea.
25320
25321         * gst/gstpad.c: (gst_pad_class_init),
25322         (gst_pad_link_check_hierarchy), (gst_pad_get_caps_unlocked),
25323         (gst_pad_accept_caps), (gst_pad_set_caps), (gst_pad_send_event):
25324         No prob setting template after creating the pad.
25325
25326 2005-07-29  Jan Schmidt  <thaytan@mad.scientist.com>
25327
25328         * gst/gstbus.c: (gst_bus_set_flushing), (gst_bus_pop),
25329         (gst_bus_peek), (gst_bus_source_dispatch),
25330         (gst_bus_add_watch_full), (poll_handler), (poll_timeout),
25331         (poll_destroy), (poll_destroy_timeout), (gst_bus_poll):
25332           gst_bus_poll may be called from other threads. Handle
25333           this nicely by not making poll_data disappear off the
25334           stack once gst_bus_poll returns.
25335           gst_bus_peek now increments the refcount on the returned
25336           message.
25337
25338 2005-07-29  Wim Taymans  <wim@fluendo.com>
25339
25340         * docs/design/part-gstghostpad.txt:
25341         Overview of current GhostPad datastructures and use
25342         cases for changing the target.
25343
25344 2005-07-28  Wim Taymans  <wim@fluendo.com>
25345
25346         * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
25347         Added checks for hierarchy consistency whan adding linked
25348         elements to bins.
25349
25350         * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
25351         Added check to test element scheduling without bin/pipeline.
25352
25353         * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
25354         First add elements to bin, then link.
25355         
25356         * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
25357         (gst_bin_remove_func):
25358         Unlink pads from elements added/removed from bin to maintain
25359         hierarchy consistency.
25360
25361 2005-07-28  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
25362
25363         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
25364         (gst_base_transform_handle_buffer):
25365         * gst/base/gstbasetransform.h:
25366           Remove broken delay_configure (fixes renegotiation of software
25367           scaling pipelines); remove some leftover printf()s.
25368
25369 2005-07-28  Wim Taymans  <wim@fluendo.com>
25370
25371         * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
25372         Added some more tests for wrong hierarchy
25373
25374         * docs/design/part-overview.txt:
25375         Some updates.
25376
25377         * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_dispose):
25378         Cleanups.
25379
25380         * gst/gstelement.c: (gst_element_remove_pad), (gst_element_seek),
25381         (gst_element_dispose):
25382         Some more cleanups.
25383
25384         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
25385         (gst_pad_link_check_hierarchy), (gst_pad_link_prepare),
25386         (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
25387         (gst_pad_set_caps), (gst_pad_send_event):
25388         Check for correct hierarchy when linking pads. Moving to
25389         strict requirement for ghostpads when linking elements in
25390         different bins.
25391
25392         * gst/gstpad.h:
25393         Clean ups. Added WRONG_HIERARCHY return value.
25394
25395 2005-07-28  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
25396
25397         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
25398           Better debug if no transform is possible.
25399
25400 2005-07-27  Wim Taymans  <wim@fluendo.com>
25401
25402         * docs/random/wtay/network-transp:
25403         Some old doc I had.
25404
25405 2005-07-27  Wim Taymans  <wim@fluendo.com>
25406
25407         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
25408         (gst_dp_event_from_packet):
25409         Fix serialization of seek events.
25410
25411 2005-07-27  Wim Taymans  <wim@fluendo.com>
25412
25413         * check/gst-libs/gdp.c: (GST_START_TEST):
25414         * gst/elements/gstfakesink.c: (gst_fake_sink_event):
25415         Fix compilation and fix event serialization.
25416
25417 2005-07-27  Wim Taymans  <wim@fluendo.com>
25418
25419         * CHANGES-0.9:
25420         * docs/design/part-TODO.txt:
25421         * docs/design/part-events.txt:
25422         Some docs updates
25423
25424         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
25425         (gst_base_sink_event), (gst_base_sink_do_sync),
25426         (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
25427         * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
25428         (gst_base_src_do_seek), (gst_base_src_event_handler),
25429         (gst_base_src_loop):
25430         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
25431         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
25432         (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
25433         (gst_base_transform_event), (gst_base_transform_handle_buffer),
25434         (gst_base_transform_set_passthrough),
25435         (gst_base_transform_is_passthrough):
25436         * gst/elements/gstfakesink.c: (gst_fake_sink_event):
25437         * gst/elements/gstfilesink.c: (gst_file_sink_event):
25438         Event updates.
25439
25440         * gst/gstbuffer.h:
25441         Use faster casts.
25442
25443         * gst/gstelement.c: (gst_element_seek):
25444         * gst/gstelement.h:
25445         Update gst_element_seek.
25446
25447         * gst/gstevent.c: (gst_event_finalize), (_gst_event_copy),
25448         (gst_event_new), (gst_event_new_custom), (gst_event_get_structure),
25449         (gst_event_new_flush_start), (gst_event_new_flush_stop),
25450         (gst_event_new_eos), (gst_event_new_newsegment),
25451         (gst_event_parse_newsegment), (gst_event_new_tag),
25452         (gst_event_parse_tag), (gst_event_new_filler), (gst_event_new_qos),
25453         (gst_event_parse_qos), (gst_event_new_seek),
25454         (gst_event_parse_seek), (gst_event_new_navigation):
25455         * gst/gstevent.h:
25456         Make GstEvent use GstStructure. Add parsing code, make sure the
25457         API is sufficiently generic.
25458         Mark possible directions of events and serialization.
25459
25460         * gst/gstmessage.c: (gst_message_init), (gst_message_finalize),
25461         (_gst_message_copy), (gst_message_new_segment_start),
25462         (gst_message_new_segment_done), (gst_message_new_custom),
25463         (gst_message_parse_segment_start),
25464         (gst_message_parse_segment_done):
25465         Small cleanups.
25466
25467         * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
25468         (gst_pad_set_caps), (gst_pad_send_event):
25469         Update for new events. 
25470         Catch events sent in wrong directions.
25471
25472         * gst/gstqueue.c: (gst_queue_link_src),
25473         (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
25474         (gst_queue_handle_src_query):
25475         Event updates.
25476
25477         * gst/gsttag.c:
25478         * gst/gsttag.h:
25479         Remove event code from this file.
25480
25481         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
25482         (gst_dp_event_from_packet):
25483         Event updates.
25484
25485 2005-07-27  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
25486
25487         * gst/base/gstbasetransform.c: (gst_base_transform_getcaps),
25488         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
25489         (gst_base_transform_get_size), (gst_base_transform_handle_buffer):
25490           Make debugging actually useful.
25491
25492 2005-07-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
25493
25494         * gst/gstpad.c: (fixate_value), (gst_pad_default_fixate),
25495         (gst_pad_fixate_caps):
25496           Implement default fixation once again, so that gst_pad_fixate()
25497           actually does anything at all. This probably needs to be some
25498           sort of a last resort, and use profile-based fixation first, but
25499           since that doesn't exist yet, this is the best we have. Fixes
25500           visualization in Totem.
25501
25502 2005-07-22  Wim Taymans  <wim@fluendo.com>
25503
25504         * docs/design/part-events.txt:
25505         Small update.
25506
25507         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
25508         (gst_base_sink_do_sync), (gst_base_sink_activate_push),
25509         (gst_base_sink_activate_pull):
25510         Some more comments.
25511
25512         * gst/elements/gstfakesrc.c: (gst_fake_src_class_init),
25513         (gst_fake_src_create):
25514         Fix handoff marshall.
25515
25516         * gst/elements/gstidentity.c: (gst_identity_class_init),
25517         (gst_identity_transform_ip):
25518         We're a real inplace element.
25519
25520         * gst/gstbus.c: (gst_bus_post):
25521         Added some comments.
25522
25523         * tests/lat.c: (fakesrc), (fakesink), (simple), (queue), (main):
25524         * tests/muxing/case1.c: (main):
25525         * tests/sched/dynamic-pipeline.c: (main):
25526         * tests/sched/interrupt1.c: (main):
25527         * tests/sched/interrupt2.c: (main):
25528         * tests/sched/interrupt3.c: (main):
25529         * tests/sched/runxml.c: (main):
25530         * tests/sched/sched-stress.c: (main):
25531         * tests/seeking/seeking1.c: (event_received), (main):
25532         * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
25533         (main):
25534         * tests/threadstate/threadstate3.c: (main):
25535         * tests/threadstate/threadstate4.c: (main):
25536         * tests/threadstate/threadstate5.c: (main):
25537         Fix the tests.
25538
25539 2005-07-21  Wim Taymans  <wim@fluendo.com>
25540
25541         * docs/design/part-seeking.txt:
25542         Some small additions.
25543
25544         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
25545         (gst_base_sink_get_times), (gst_base_sink_do_sync),
25546         (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
25547         * gst/base/gstbasesink.h:
25548         discont values are gint64, handle the math correctly.
25549
25550         * gst/base/gstbasesrc.c: (gst_base_src_loop):
25551         Make the basesrc report error if the source pad is not linked.
25552
25553         * gst/gstqueue.c: (gst_queue_link_src), (gst_queue_chain),
25554         (gst_queue_loop), (gst_queue_handle_src_query),
25555         (gst_queue_src_activate_push):
25556         Make queue collect data even if the srcpad is not linked.
25557         Start pushing out data as soon as it is linked.
25558
25559         * gst/gstutils.c: (gst_element_unlink), (gst_flow_get_name):
25560         * gst/gstutils.h:
25561         Added gst_flow_get_name() to ease error reporting.
25562
25563 2005-07-20  Wim Taymans  <wim@fluendo.com>
25564
25565         * gst/gstmessage.c: (gst_message_new_segment_start),
25566         (gst_message_new_segment_done), (gst_message_parse_segment_start),
25567         (gst_message_parse_segment_done):
25568         * gst/gstmessage.h:
25569         Added a bunch of messages for advanced seeking.
25570
25571         * gst/parse/grammar.y:
25572         * libs/gst/control/dparammanager.c: (gst_dpman_set_parent),
25573         (gst_dpman_state_changed):
25574         Fix some new-pad -> pad-added signals
25575
25576 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
25577
25578         * docs/manual/appendix-porting.xml:
25579         * docs/pwg/appendix-porting.xml:
25580           Document new-pad/state-change signal renames and the FixedList
25581           type rename.
25582
25583 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
25584
25585         * docs/manual/advanced-autoplugging.xml:
25586         * docs/manual/basics-helloworld.xml:
25587         * docs/manual/basics-pads.xml:
25588         * docs/random/ds/0.9-suggested-changes:
25589         * gst/gstelement.c: (gst_element_class_init), (gst_element_seek):
25590         * gst/gstelement.h:
25591         * gst/gstevent.h:
25592         * gst/gstformat.h:
25593         * gst/gstquery.h:
25594         * gst/gststructure.c: (gst_structure_value_get_generic_type),
25595         (gst_structure_parse_array), (gst_structure_parse_value):
25596         * gst/gstvalue.c: (gst_type_is_fixed),
25597         (gst_value_list_prepend_value), (gst_value_list_append_value),
25598         (gst_value_list_get_size), (gst_value_list_get_value),
25599         (gst_value_transform_array_string), (gst_value_serialize_array),
25600         (gst_value_deserialize_array), (gst_value_intersect_array),
25601         (gst_value_is_fixed), (_gst_value_initialize):
25602         * gst/gstvalue.h:
25603           GstElement::new-pad -> pad-added, GstElement::state-change ->
25604           state-changed, GstValueFixedList -> GstValueArray, add format and
25605           flags as their own arguments in gst_element_seek() (should improve
25606           "bindeability"), remove function generators since they don't work
25607           under a whole bunch of compilers (they were deprecated already
25608           anyway).
25609
25610 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
25611
25612         * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
25613         (_gst_debug_register_funcptr):
25614         * gst/gstinfo.h:
25615           Fix illegal cast on some platforms (#309253).
25616
25617 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
25618
25619         * gst/gstmessage.c: (gst_message_new_custom):
25620         * gst/gstmessage.h:
25621           Add _new_custom, make _new_application a macro to _new_custom.
25622
25623 2005-07-20  Wim Taymans  <wim@fluendo.com>
25624
25625         * gst/base/gstbasesrc.c: (gst_base_src_init),
25626         (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start):
25627         * gst/base/gstbasesrc.h:
25628         Add a gboolean to decide when to push out a discont.
25629
25630         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
25631         (gst_queue_loop), (gst_queue_handle_src_query),
25632         (gst_queue_sink_activate_push), (gst_queue_src_activate_push),
25633         (gst_queue_set_property), (gst_queue_get_property):
25634         Some cleanups.
25635
25636         * tests/threadstate/threadstate1.c: (main):
25637         Make a thread test compile and run... very silly..
25638
25639
25640 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
25641
25642         * docs/manual/appendix-porting.xml:
25643           Mention removal of libgstgconf-0.9.la and existence of gconf
25644           elements.
25645
25646 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
25647
25648         * docs/pwg/advanced-clock.xml:
25649         * docs/pwg/appendix-porting.xml:
25650         * docs/pwg/intro-preface.xml:
25651         * docs/pwg/other-base.xml:
25652         * docs/pwg/other-manager.xml:
25653         * docs/pwg/other-nton.xml:
25654         * docs/pwg/other-ntoone.xml:
25655         * docs/pwg/other-oneton.xml:
25656         * docs/pwg/pwg.xml:
25657           Document base classes, update sections of n-to-1 and 1-to-n (muxer,
25658           demuxer), remove n-to-n (was never written), fix some code examples
25659           and links and update the porting section to include all this.
25660
25661 2005-07-19  Wim Taymans  <wim@fluendo.com>
25662
25663         * gst/gstqueue.c: (gst_queue_init), (gst_queue_handle_sink_event),
25664         (gst_queue_chain), (gst_queue_loop), (gst_queue_handle_src_event),
25665         (gst_queue_handle_src_query), (gst_queue_sink_activate_push),
25666         (gst_queue_src_activate_push), (gst_queue_change_state),
25667         (gst_queue_get_property):
25668         * gst/gstqueue.h:
25669         Propagate GstFlowReturn more intelligently upstream and output
25670         an ERROR/EOS when streaming stopped due to fatal error.
25671
25672 2005-07-19  Wim Taymans  <wim@fluendo.com>
25673
25674         * tools/gst-launch.c: (check_intr), (event_loop), (main):
25675         Don't block forever for the state change to complete, the
25676         pipeline already did with a sensible timeout.
25677
25678 2005-07-19  Wim Taymans  <wim@fluendo.com>
25679
25680         * gst/base/gstbasesrc.c: (gst_base_src_get_range):
25681         Make sure we never call the create function is we
25682         got deactivated.
25683
25684 2005-07-19  Andy Wingo  <wingo@pobox.com>
25685
25686         * gst/parse/parse.l: Attempt to solve bug #172815.
25687
25688 2005-07-19  Wim Taymans  <wim@fluendo.com>
25689
25690         * docs/design/part-clocks.txt:
25691         * docs/design/part-events.txt:
25692         * gst/base/gstbasesrc.c: (gst_base_src_do_seek):
25693         Small docs updates.
25694         Only update the seeking values when we are not
25695         busy streaming.
25696
25697 2005-07-19  Jan Schmidt  <thaytan@mad.scientist.com>
25698
25699         * gst/base/gstbasesrc.c: (gst_base_src_loop):
25700           Oops, ignore the result of gst_pad_push_event here.
25701
25702 2005-07-19  Jan Schmidt  <thaytan@mad.scientist.com>
25703
25704         * gst/base/gstbasesrc.c: (gst_base_src_loop),
25705         (gst_base_src_activate_push):
25706           Send discont event from the loop function, as pads
25707           aren't activated yet in the activate_push handler.
25708
25709         * gst/gstbin.c: (bin_bus_handler):
25710           Don't leak element name.
25711
25712 2005-07-18  Andy Wingo  <wingo@pobox.com>
25713
25714         * configure.ac: Use AS_LIBTOOL_TAGS.
25715
25716 2005-07-18  Wim Taymans  <wim@fluendo.com>
25717
25718         * docs/gst/gstreamer.types:
25719         Remove deleted types.
25720
25721 2005-07-18  Wim Taymans  <wim@fluendo.com>
25722
25723         * check/elements/gstfakesrc.c: (GST_START_TEST):
25724         * configure.ac:
25725         * gst/Makefile.am:
25726         * gst/gst.c: (gst_init_get_popt_table), (init_pre), (init_post),
25727         (init_popt_callback):
25728         * gst/gst.h:
25729         * gst/gst_private.h:
25730         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_add_func),
25731         (gst_bin_remove_func), (gst_bin_get_state), (gst_bin_change_state):
25732         * gst/gstbin.h:
25733         * gst/gstbus.h:
25734         * gst/gstconfig.h.in:
25735         * gst/gstelement.c: (gst_element_class_init),
25736         (gst_element_set_base_time), (gst_element_get_base_time),
25737         (iterator_fold_with_resync), (gst_element_change_state),
25738         (gst_element_dispose), (gst_element_get_bus):
25739         * gst/gstelement.h:
25740         * gst/gstelementfactory.h:
25741         * gst/gsterror.c: (_gst_core_errors_init):
25742         * gst/gsterror.h:
25743         * gst/gstevent.h:
25744         * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
25745         * gst/gstindex.c:
25746         * gst/gstinfo.c: (_gst_debug_init):
25747         * gst/gstmessage.c: (_gst_message_copy):
25748         * gst/gstmessage.h:
25749         * gst/gstminiobject.h:
25750         * gst/gstobject.c:
25751         * gst/gstobject.h:
25752         * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
25753         (gst_pad_set_caps), (gst_pad_start_task), (gst_pad_stop_task):
25754         * gst/gstpad.h:
25755         * gst/gstparse.h:
25756         * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
25757         (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
25758         (gst_pipeline_get_last_stream_time):
25759         * gst/gstpipeline.h:
25760         * gst/gstpluginfeature.h:
25761         * gst/gstquery.h:
25762         * gst/gstscheduler.c:
25763         * gst/gstscheduler.h:
25764         * gst/gststructure.h:
25765         * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
25766         (gst_task_finalize), (gst_task_func), (gst_task_create),
25767         (gst_task_set_lock), (gst_task_get_state), (gst_task_start),
25768         (gst_task_stop), (gst_task_pause):
25769         * gst/gsttask.h:
25770         * gst/gsttypefind.h:
25771         * gst/gsttypes.h:
25772         * gst/registries/gstlibxmlregistry.c: (load_feature),
25773         (gst_xml_registry_load), (gst_xml_registry_save_feature):
25774         * gst/registries/gstxmlregistry.c:
25775         (gst_xml_registry_start_element), (gst_xml_registry_save_feature):
25776         * gst/schedulers/threadscheduler.c:
25777         * libs/gst/control/dparammanager.h:
25778         * tools/gst-inspect.c: (print_element_list),
25779         (print_plugin_features), (print_element_features):
25780         * tools/gst-xmlinspect.c: (print_element_list),
25781         (print_plugin_info), (main):
25782         Removed plugable schedulers.
25783         Removed Scheduler/Manager from elements.
25784         Removed gsttypes.h, rearranged includes.
25785         Removed dependency pad<->element, element<>pipeline, and
25786         various others,  fix includes.
25787         implement gst_pad_get_parent() with gst_object_get_parent()
25788         Make GstTask sefcontained.
25789         Fix _get_state() on GstBin, it did not return ASYNC with a 0
25790         timeout.
25791         Fix endless loop in iterator_fold_with_resync.
25792
25793
25794 2005-07-18  Wim Taymans  <wim@fluendo.com>
25795
25796         * gst/Makefile.am:
25797         * gst/gstarch.h:
25798         Remove old file.
25799
25800 2005-07-18  Wim Taymans  <wim@fluendo.com>
25801
25802         * gst/Makefile.am:
25803         No more cothreads.h
25804
25805 2005-07-18  Wim Taymans  <wim@fluendo.com>
25806
25807         * gst/cothreads.c:
25808         * gst/cothreads.h:
25809         Let's remove these.
25810
25811 2005-07-18  Wim Taymans  <wim@fluendo.com>
25812
25813         * docs/design/part-dynamic.txt:
25814         * docs/design/part-events.txt:
25815         * docs/design/part-seeking.txt:
25816         Some more docs in the works.
25817
25818         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
25819         (gst_base_transform_getcaps), (gst_base_transform_configure_caps),
25820         (gst_base_transform_setcaps), (gst_base_transform_get_size),
25821         (gst_base_transform_buffer_alloc), (gst_base_transform_event),
25822         (gst_base_transform_handle_buffer),
25823         (gst_base_transform_sink_activate_push),
25824         (gst_base_transform_src_activate_pull),
25825         (gst_base_transform_set_passthrough),
25826         (gst_base_transform_is_passthrough):
25827         Refcounting fixes.
25828
25829         * gst/gstbus.c: (gst_bus_source_dispatch), (gst_bus_poll):
25830         Cleanups.
25831
25832         * gst/gstevent.c: (gst_event_finalize):
25833         Set SRC to NULL.
25834
25835         * gst/gstutils.c: (gst_element_unlink),
25836         (gst_pad_get_parent_element), (gst_pad_proxy_getcaps),
25837         (gst_pad_proxy_setcaps):
25838         * gst/gstutils.h:
25839         Add _get_parent_element() to get a pads parent as an element.
25840
25841 2005-07-18  Wim Taymans  <wim@fluendo.com>
25842
25843         * check/gst/gstbin.c: (GST_START_TEST):
25844         Remove bogus test.
25845
25846 2005-07-18  Wim Taymans  <wim@fluendo.com>
25847
25848         * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
25849         (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
25850         (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
25851         (gst_base_sink_event), (gst_base_sink_do_sync),
25852         (gst_base_sink_chain), (gst_base_sink_loop),
25853         (gst_base_sink_deactivate), (gst_base_sink_activate_push),
25854         (gst_base_sink_activate_pull), (gst_base_sink_change_state):
25855         Refcounting fixes.
25856         Fix logic for returning ASYNC when not prerolled.
25857
25858 2005-07-18  Wim Taymans  <wim@fluendo.com>
25859
25860         * gst/gstqueue.c: (gst_queue_handle_sink_event):
25861         Fix nasty refcount bug.
25862
25863 2005-07-16 Philippe Khalaf <burger@speedy.org>
25864
25865         * gst/elements/gstfdsrc.c:
25866         * gst/elements/gstfdsrc.h:
25867         * gst/elements/gstelements.c:
25868         * gst/elements/Makefile.am:
25869         Ported fdsrc to 0.9.
25870
25871 2005-07-16  Wim Taymans  <wim@fluendo.com>
25872
25873         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
25874         (gst_base_sink_do_sync):
25875         Fix compile error.
25876
25877 2005-07-16  Wim Taymans  <wim@fluendo.com>
25878
25879         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
25880         (gst_base_sink_event), (gst_base_sink_get_times),
25881         (gst_base_sink_do_sync), (gst_base_sink_change_state):
25882         * gst/base/gstbasesink.h:
25883         Store and use discont values when syncing buffers as described
25884         in design docs.
25885         
25886         * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
25887         (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start),
25888         (gst_base_src_activate_push):
25889         Push discont event when starting.
25890
25891         * gst/elements/gstidentity.c: (gst_identity_transform):
25892         Small cleanups.
25893
25894         * gst/gstbin.c: (gst_bin_change_state):
25895         Small cleanups in base_time  distribution.
25896
25897         * gst/gstelement.c: (gst_element_set_base_time),
25898         (gst_element_get_base_time), (gst_element_change_state):
25899         * gst/gstelement.h:
25900         Added methods for the base_time of the element.
25901         Some MT fixes.
25902
25903         * gst/gstpipeline.c: (gst_pipeline_send_event),
25904         (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
25905         (gst_pipeline_get_last_stream_time):
25906         * gst/gstpipeline.h:
25907         MT fixes.
25908         Handle seeking as described in design doc, remove stream_time
25909         hack.
25910         Cleanups clock and stream_time selection code. Added accessors
25911         for the stream_time.
25912         
25913
25914 2005-07-16  Andy Wingo  <wingo@pobox.com>
25915
25916         * gst/gsterror.c (_gst_core_errors_init): Use the magic word
25917         (#305291).
25918
25919 2005-07-16  Wim Taymans  <wim@fluendo.com>
25920
25921         * check/gst/gstbin.c: (GST_START_TEST):
25922         Make elements silent as the deep_notify refs the
25923         parent, which might make the test fail.
25924
25925         * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
25926         Don't hold the lock for too long.
25927
25928 2005-07-16  Tim-Philipp Müller  <tim at centricular dot net>
25929
25930         * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
25931           Don't unref the caps we passed to gst_caps_make_writable() after
25932           passing them. gst_caps_make_writable() will do that for us.
25933
25934 2005-07-15  Andy Wingo  <wingo@pobox.com>
25935
25936         * gst/gstcaps.h (gst_caps_is_simple): Removed deprecated macro
25937         (#157311).
25938
25939         * gst/elements/gstidentity.c (marshal_VOID__MINIOBJECT): Write our
25940         own marshalling function for the handoff signal. Properly type the
25941         buffer as a buffer. Fixes some warnings. Should do a more general
25942         solution.
25943         (gst_identity_class_init): Plug into the right marshaller.
25944
25945 2005-07-15  Wim Taymans  <wim@fluendo.com>
25946
25947         * docs/design/part-TODO.txt:
25948         * docs/design/part-clocks.txt:
25949         * docs/design/part-element-sink.txt:
25950         * docs/design/part-events.txt:
25951         * docs/design/part-gstpipeline.txt:
25952         Updated docs, mostly DISCONT related.
25953
25954 2005-07-15  Tim-Philipp Müller  <tim at centricular dot net>
25955
25956         * docs/pwg/building-pads.xml:
25957           s/GST_PAD_LINK_REFUSED/FALSE/ in gst_my_filter_setcaps()
25958
25959 2005-07-15  Andy Wingo  <wingo@pobox.com>
25960
25961         * tools/gst-typefind.c: Update, add copyright block.
25962
25963         * gst/base/gstbasesrc.c (gst_base_src_default_negotiate):
25964         Normalize and truncate caps before fixation.
25965
25966         * gst/gstcaps.h:
25967         * gst/gstcaps.c (gst_caps_truncate): New function, destructively
25968         discards all but the first structure from its argument.
25969
25970 2005-07-15  Wim Taymans  <wim@fluendo.com>
25971
25972         * gst/base/gstbasetransform.c: (gst_base_transform_init),
25973         (gst_base_transform_transform_caps), (gst_base_transform_getcaps),
25974         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
25975         (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
25976         (gst_base_transform_handle_buffer), (gst_base_transform_getrange),
25977         (gst_base_transform_chain), (gst_base_transform_change_state),
25978         (gst_base_transform_set_passthrough),
25979         (gst_base_transform_is_passthrough):
25980         * gst/base/gstbasetransform.h:
25981         Make passthrough work using the bufferpools.
25982         Changed API a bit, subclasses have to write into a buffer
25983         provided by the base class.
25984         More debug info in nego functions.
25985         
25986         * gst/elements/gstidentity.c: (gst_identity_init),
25987         (gst_identity_transform):
25988         Port to new base class.
25989
25990 2005-07-15  Wim Taymans  <wim@fluendo.com>
25991
25992         * gst/gstmessage.c: (gst_message_new_state_changed):
25993         * tools/gst-launch.c: (event_loop), (main):
25994         Totally dump messages in -launch with the -m option.
25995         Fix message name for State messages,
25996
25997 2005-07-14  Wim Taymans  <wim@fluendo.com>
25998
25999         * gst/base/gstbasesrc.c: (gst_base_src_loop):
26000         Post error messages on errors.
26001
26002 2005-07-14  Wim Taymans  <wim@fluendo.com>
26003
26004         * gst/gstcaps.c: (gst_caps_do_simplify):
26005         Remove debug info.
26006
26007         * gst/gsterror.h:
26008         Define error for stream stopped.
26009
26010         * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
26011         (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange):
26012         Do proper return values.
26013
26014         * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
26015         (gst_pad_set_caps), (gst_pad_chain), (gst_pad_push),
26016         (gst_pad_get_range):
26017         Better return values.
26018
26019         * gst/gstpad.h:
26020         Reorganise return values, add macro to check for fatal errors.
26021
26022         * gst/gstqueue.c: (gst_queue_chain):
26023         Return proper GstFlowReturn values,
26024
26025 2005-07-14  Thomas Vander Stichele  <thomas at apestaart dot org>
26026
26027         * docs/gst/gstreamer-sections.txt:
26028         * docs/gst/gstreamer.types:
26029         * docs/gst/tmpl/gst.sgml:
26030         * docs/gst/tmpl/gstbasesink.sgml:
26031         * docs/gst/tmpl/gstbasesrc.sgml:
26032         * docs/gst/tmpl/gstbasetransform.sgml:
26033         * docs/gst/tmpl/gstbin.sgml:
26034         * docs/gst/tmpl/gstbuffer.sgml:
26035         * docs/gst/tmpl/gstcaps.sgml:
26036         * docs/gst/tmpl/gstclock.sgml:
26037         * docs/gst/tmpl/gstcompat.sgml:
26038         * docs/gst/tmpl/gstconfig.sgml:
26039         * docs/gst/tmpl/gstelement.sgml:
26040         * docs/gst/tmpl/gstelementdetails.sgml:
26041         * docs/gst/tmpl/gstelementfactory.sgml:
26042         * docs/gst/tmpl/gstenumtypes.sgml:
26043         * docs/gst/tmpl/gsterror.sgml:
26044         * docs/gst/tmpl/gstevent.sgml:
26045         * docs/gst/tmpl/gstfakesink.sgml:
26046         * docs/gst/tmpl/gstfakesrc.sgml:
26047         * docs/gst/tmpl/gstfilesink.sgml:
26048         * docs/gst/tmpl/gstfilesrc.sgml:
26049         * docs/gst/tmpl/gstfilter.sgml:
26050         * docs/gst/tmpl/gstformat.sgml:
26051         * docs/gst/tmpl/gstghostpad.sgml:
26052         * docs/gst/tmpl/gstimplementsinterface.sgml:
26053         * docs/gst/tmpl/gstindex.sgml:
26054         * docs/gst/tmpl/gstindexfactory.sgml:
26055         * docs/gst/tmpl/gstinfo.sgml:
26056         * docs/gst/tmpl/gstiterator.sgml:
26057         * docs/gst/tmpl/gstmacros.sgml:
26058         * docs/gst/tmpl/gstmemchunk.sgml:
26059         * docs/gst/tmpl/gstminiobject.sgml:
26060         * docs/gst/tmpl/gstobject.sgml:
26061         * docs/gst/tmpl/gstpad.sgml:
26062         * docs/gst/tmpl/gstpadtemplate.sgml:
26063         * docs/gst/tmpl/gstparse.sgml:
26064         * docs/gst/tmpl/gstpipeline.sgml:
26065         * docs/gst/tmpl/gstplugin.sgml:
26066         * docs/gst/tmpl/gstpluginfeature.sgml:
26067         * docs/gst/tmpl/gstquery.sgml:
26068         * docs/gst/tmpl/gstqueue.sgml:
26069         * docs/gst/tmpl/gstregistry.sgml:
26070         * docs/gst/tmpl/gstregistrypool.sgml:
26071         * docs/gst/tmpl/gstscheduler.sgml:
26072         * docs/gst/tmpl/gstschedulerfactory.sgml:
26073         * docs/gst/tmpl/gststructure.sgml:
26074         * docs/gst/tmpl/gstsystemclock.sgml:
26075         * docs/gst/tmpl/gsttaglist.sgml:
26076         * docs/gst/tmpl/gsttagsetter.sgml:
26077         * docs/gst/tmpl/gsttrace.sgml:
26078         * docs/gst/tmpl/gsttrashstack.sgml:
26079         * docs/gst/tmpl/gsttypefind.sgml:
26080         * docs/gst/tmpl/gsttypefindfactory.sgml:
26081         * docs/gst/tmpl/gsttypes.sgml:
26082         * docs/gst/tmpl/gsturihandler.sgml:
26083         * docs/gst/tmpl/gsturitype.sgml:
26084         * docs/gst/tmpl/gstutils.sgml:
26085         * docs/gst/tmpl/gstvalue.sgml:
26086         * docs/gst/tmpl/gstversion.sgml:
26087         * docs/gst/tmpl/gstxml.sgml:
26088         * docs/libs/tmpl/gstcontrol.sgml:
26089         * docs/libs/tmpl/gstdataprotocol.sgml:
26090         * docs/libs/tmpl/gstdparam.sgml:
26091         * docs/libs/tmpl/gstdplinint.sgml:
26092         * docs/libs/tmpl/gstdpman.sgml:
26093         * docs/libs/tmpl/gstdpsmooth.sgml:
26094         * docs/libs/tmpl/gstgetbits.sgml:
26095         * docs/libs/tmpl/gstunitconvert.sgml:
26096         * gst/base/gstpushsrc.c: (gst_push_src_get_type),
26097         (gst_push_src_base_init), (gst_push_src_class_init),
26098         (gst_push_src_init), (gst_push_src_create):
26099         * gst/base/gstpushsrc.h:
26100         * gst/elements/gstelements.c:
26101         * gst/elements/gstfakesink.c: (gst_fake_sink_state_error_get_type),
26102         (gst_fake_sink_base_init), (gst_fake_sink_class_init),
26103         (gst_fake_sink_init), (gst_fake_sink_set_property),
26104         (gst_fake_sink_get_property), (gst_fake_sink_get_times),
26105         (gst_fake_sink_event), (gst_fake_sink_preroll),
26106         (gst_fake_sink_render), (gst_fake_sink_change_state):
26107         * gst/elements/gstfakesink.h:
26108         * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
26109         (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type),
26110         (gst_fake_src_base_init), (gst_fake_src_class_init),
26111         (gst_fake_src_init), (gst_fake_src_event_handler),
26112         (gst_fake_src_alloc_parent), (gst_fake_src_set_property),
26113         (gst_fake_src_get_property), (gst_fake_src_prepare_buffer),
26114         (gst_fake_src_alloc_buffer), (gst_fake_src_get_size),
26115         (gst_fake_src_create_buffer), (gst_fake_src_create),
26116         (gst_fake_src_start), (gst_fake_src_stop):
26117         * gst/elements/gstfakesrc.h:
26118         * gst/elements/gstfilesink.c: (_do_init),
26119         (gst_file_sink_base_init), (gst_file_sink_class_init),
26120         (gst_file_sink_init), (gst_file_sink_dispose),
26121         (gst_file_sink_set_location), (gst_file_sink_set_property),
26122         (gst_file_sink_get_property), (gst_file_sink_open_file),
26123         (gst_file_sink_close_file), (gst_file_sink_query),
26124         (gst_file_sink_event), (gst_file_sink_render),
26125         (gst_file_sink_change_state), (gst_file_sink_uri_get_type),
26126         (gst_file_sink_uri_get_protocols), (gst_file_sink_uri_get_uri),
26127         (gst_file_sink_uri_set_uri), (gst_file_sink_uri_handler_init):
26128         * gst/elements/gstfilesink.h:
26129         * gst/elements/gstfilesrc.c: (_do_init), (gst_file_src_base_init),
26130         (gst_file_src_class_init), (gst_file_src_init),
26131         (gst_file_src_finalize), (gst_file_src_set_location),
26132         (gst_file_src_set_property), (gst_file_src_get_property),
26133         (gst_file_src_map_region), (gst_file_src_map_small_region),
26134         (gst_file_src_create_mmap), (gst_file_src_create_read),
26135         (gst_file_src_create), (gst_file_src_is_seekable),
26136         (gst_file_src_get_size), (gst_file_src_start), (gst_file_src_stop),
26137         (gst_file_src_uri_get_type), (gst_file_src_uri_get_protocols),
26138         (gst_file_src_uri_get_uri), (gst_file_src_uri_set_uri),
26139         (gst_file_src_uri_handler_init):
26140         * gst/elements/gstfilesrc.h:
26141           more autistic cleanliness in functions/names/defines
26142
26143 2005-07-13  Andy Wingo  <wingo@pobox.com>
26144
26145         * gst/base/gstbasesrc.c (gst_base_src_start): Post an error if the
26146         source couldn't negotiate.
26147
26148         * gst/parse/grammar.y: Revert 1.54->1.55, so we now do filtered
26149         connections again.
26150
26151         * gst/gstutils.h:
26152         * gst/gstutils.c (gst_element_link_pads_filtered): New old
26153         function. I am channeling Hades. Put your boots on suckers!!!
26154
26155 2005-07-13  Thomas Vander Stichele  <thomas at apestaart dot org>
26156
26157         * testsuite/caps/Makefile.am:
26158         * testsuite/caps/value_compare.c:
26159         * testsuite/caps/value_intersect.c:
26160         * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
26161           move two testsuite apps over to the check dir
26162
26163 2005-07-12  Wim Taymans  <wim@fluendo.com>
26164
26165         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
26166         Added more debug info in the negotiate process.
26167
26168         * gst/gstmessage.h:
26169         Prepare for segment playback.
26170
26171         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps):
26172         Better debugging.
26173
26174         * gst/gstutils.c:
26175         Some more docs.
26176
26177         * tools/gst-launch.c: (main):
26178         NULL pipeline on errors.
26179
26180 2005-07-12  Andy Wingo  <wingo@pobox.com>
26181
26182         * gst/gstbuffer.c (_gst_buffer_copy): Copy the buffer whether or
26183         not it comes from a malloc region. Make sure our copy gets freed.
26184
26185 2005-07-12  Thomas Vander Stichele  <thomas at apestaart dot org>
26186
26187         * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
26188         * check/gst/gstmessage.c: (GST_START_TEST):
26189         * check/gst/gststructure.c: (GST_START_TEST),
26190         (gst_structure_suite), (main):
26191           more testing
26192         * gst/gstelement.c: (gst_element_message_full):
26193           clean up GError and debug string now that they get copied
26194         * gst/gstmessage.c: (gst_message_new_error),
26195         (gst_message_new_warning), (gst_message_parse_error),
26196         (gst_message_parse_warning):
26197           use GST_TYPE_G_ERROR for structure_new, and take copies of
26198           arguments, so that we don't mess up refcounting
26199
26200 2005-07-12  Thomas Vander Stichele  <thomas at apestaart dot org>
26201
26202         * check/Makefile.am:
26203           add per-test valgrind targets
26204         * check/gst-libs/gdp.c: (GST_START_TEST),
26205         (gst_data_protocol_suite), (main):
26206           clean up
26207
26208 2005-07-12  Thomas Vander Stichele  <thomas at apestaart dot org>
26209
26210         * check/Makefile.am:
26211           instate more valgrindable tests
26212         * check/elements/gstfakesrc.c: (chain_func), (event_func),
26213         (GST_START_TEST), (fakesrc_suite):
26214         * check/gst/gstpad.c: (GST_START_TEST):
26215         * check/gst/gststructure.c: (GST_START_TEST):
26216           fix test leaks
26217         * docs/gst/tmpl/gstminiobject.sgml:
26218         * gst/gstpad.c: (gst_pad_finalize):
26219           fix the static mutex leak
26220
26221 2005-07-11  Thomas Vander Stichele  <thomas at apestaart dot org>
26222
26223         * check/Makefile.am:
26224           add two more tests for valgrinding
26225         * check/gst/gstvalue.c: (GST_START_TEST):
26226           test refcount of deserialized buffer, found a leak
26227         * docs/gst/gstreamer-docs.sgml:
26228         * docs/gst/gstreamer-sections.txt:
26229         * docs/gst/gstreamer.types:
26230         * docs/gst/tmpl/gstminiobject.sgml:
26231           add miniobject to docs
26232         * gst/gstminiobject.c:
26233           add some docs
26234         * gst/gstvalue.c: (gst_value_deserialize_buffer),
26235         (gst_string_unwrap):
26236           fix a hard-to-find invalid write for one of the tests
26237           fix a leak for deserialized buffers
26238
26239 2005-07-11  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
26240
26241         * docs/pwg/advanced-events.xml:
26242         * docs/pwg/advanced-request.xml:
26243         * docs/pwg/advanced-scheduling.xml:
26244         * docs/pwg/appendix-porting.xml:
26245         * docs/pwg/building-boiler.xml:
26246         * docs/pwg/intro-preface.xml:
26247         * docs/pwg/other-ntoone.xml:
26248           Rewrite scheduling-chapter for scheduling model in 0.9. Add lots
26249           of example code and explanation for pad activation, loop() and
26250           getrange() functions and a bit more. Remove old comments pointing
26251           to loop-functions.
26252         * examples/pwg/Makefile.am:
26253           Add loop/getrange examples.
26254
26255 2005-07-11  Thomas Vander Stichele  <thomas at apestaart dot org>
26256
26257         * configure.ac:
26258           check for valgrind binary + some fixes
26259         * check/gst.supp:
26260           valgrind suppressions for the tests
26261         * check/Makefile.am:
26262           add a valgrind: target that valgrinds the unit tests
26263         * check/gst/gst.c: (GST_START_TEST), (gst_suite):
26264         * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
26265         * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
26266         * check/gst/gstghostpad.c:
26267           added some cleanup
26268         * check/gst/gstdata.c:
26269           removed
26270         * check/gst/gstminiobject.c: (GST_START_TEST), (thread_ref),
26271         (thread_unref), (gst_mini_object_suite), (main):
26272           added
26273         * gst/gst.c: (gst_deinit):
26274         * gst/gst.h:
26275           add a method to clean up.
26276         * gst/gstsystemclock.c: (gst_system_clock_dispose),
26277         (gst_system_clock_obtain):
26278           allow for disposing the system clock.
26279         * tools/gst-launch.c: (main):
26280           deinit
26281
26282 2005-07-11  Thomas Vander Stichele  <thomas at apestaart dot org>
26283
26284         * docs/gst/tmpl/gstbasesrc.sgml:
26285         * docs/gst/tmpl/gstfakesrc.sgml:
26286         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
26287         (gst_base_src_init), (gst_base_src_set_property),
26288         (gst_base_src_get_property), (gst_base_src_get_range),
26289         (gst_base_src_start):
26290         * gst/base/gstbasesrc.h:
26291           add num-buffers property
26292         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
26293         (gst_fakesrc_init), (gst_fakesrc_set_property),
26294         (gst_fakesrc_get_property), (gst_fakesrc_create),
26295         (gst_fakesrc_start):
26296           remove num-buffers property
26297
26298 2005-07-10  Thomas Vander Stichele  <thomas at apestaart dot org>
26299
26300         * docs/gst/gstreamer-sections.txt:
26301         * docs/gst/tmpl/gstbasesink.sgml:
26302         * docs/gst/tmpl/gstbasesrc.sgml:
26303         * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
26304         (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
26305         (gst_base_sink_finalize), (gst_base_sink_set_clock),
26306         (gst_base_sink_set_property), (gst_base_sink_get_property),
26307         (gst_base_sink_handle_object), (gst_base_sink_event),
26308         (gst_base_sink_do_sync), (gst_base_sink_handle_event),
26309         (gst_base_sink_handle_buffer), (gst_base_sink_chain),
26310         (gst_base_sink_loop), (gst_base_sink_deactivate),
26311         (gst_base_sink_activate_push), (gst_base_sink_activate_pull),
26312         (gst_base_sink_change_state):
26313         * gst/base/gstbasesink.h:
26314         * gst/base/gstbasesrc.h:
26315         * gst/elements/gstfakesink.c: (gst_fakesink_get_times):
26316         * gst/elements/gstfilesink.c: (gst_filesink_class_init),
26317         (gst_filesink_init):
26318           more macro splitting
26319
26320 2005-07-10  Thomas Vander Stichele  <thomas at apestaart dot org>
26321
26322         * gst/gstelement.c: (gst_element_get_bus):
26323           add debug
26324         * tools/gst-launch.c: (check_intr), (event_loop):
26325           fix bus leaks
26326
26327 2005-07-10  Thomas Vander Stichele  <thomas at apestaart dot org>
26328
26329         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked):
26330           fix a caps leak
26331
26332 2005-07-10  Thomas Vander Stichele  <thomas at apestaart dot org>
26333
26334         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
26335         (gst_base_src_finalize):
26336           add finalize method and clean up properly
26337         * gst/gstpipeline.c: (gst_pipeline_dispose):
26338           add debug
26339
26340 2005-07-09  Thomas Vander Stichele  <thomas at apestaart dot org>
26341
26342         * check/gst/gstbin.c: (pop_messages), (GST_START_TEST),
26343         (gst_bin_suite):
26344           add more things to check
26345         * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
26346         * gst/gstelement.c:
26347           more debug
26348
26349 2005-07-09  Thomas Vander Stichele  <thomas at apestaart dot org>
26350
26351         * check/elements/gstfakesrc.c: (chain_func), (event_func),
26352         (GST_START_TEST), (fakesrc_suite):
26353         * check/gst-libs/gdp.c: (GST_START_TEST):
26354         * check/gst/gst.c: (GST_START_TEST):
26355         * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
26356         * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
26357         * check/gst/gstbus.c: (GST_START_TEST):
26358         * check/gst/gstcaps.c: (GST_START_TEST):
26359         * check/gst/gstdata.c: (GST_START_TEST):
26360         * check/gst/gstelement.c: (GST_START_TEST):
26361         * check/gst/gstghostpad.c: (GST_START_TEST):
26362         * check/gst/gstiterator.c: (GST_START_TEST):
26363         * check/gst/gstmessage.c: (GST_START_TEST):
26364         * check/gst/gstobject.c: (GST_START_TEST):
26365         * check/gst/gstpad.c: (GST_START_TEST):
26366         * check/gst/gststructure.c: (GST_START_TEST):
26367         * check/gst/gstsystemclock.c: (GST_START_TEST),
26368         (gst_systemclock_suite):
26369         * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
26370         * check/gst/gstvalue.c: (GST_START_TEST):
26371         * check/pipelines/cleanup.c: (GST_START_TEST):
26372         * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
26373         * check/states/sinks.c: (GST_START_TEST):
26374         * check/gstcheck.c: (gst_check_init):
26375         * check/gstcheck.h:
26376           add debugging category
26377           use GST_START_TEST now, so we add a debug line
26378
26379 2005-07-09  Thomas Vander Stichele  <thomas at apestaart dot org>
26380
26381         * check/gst/gstbin.c: (START_TEST), (gst_bin_suite):
26382           add test for state change message on a bin
26383         * check/gst/gstelement.c: (START_TEST), (gst_element_suite):
26384           add another test
26385         * gst/gstbin.c: (gst_bin_init):
26386         * gst/gstbus.c: (gst_bus_init), (gst_bus_post):
26387         * gst/gstelement.c: (gst_element_post_message),
26388         (gst_element_set_state):
26389         * gst/gstelementfactory.c: (gst_element_factory_create):
26390         * gst/gstmessage.c: (gst_message_new):
26391         * gst/gstscheduler.c:
26392           various debugging additions and cleanups
26393
26394 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
26395
26396         * check/Makefile.am:
26397         * check/gst/gstelement.c: (START_TEST), (gst_element_suite),
26398         (main):
26399           adding tests for elements
26400         * gst/gstelement.c: (gst_element_dispose):
26401
26402 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
26403
26404         * gst/registries/gstlibxmlregistry.c: (load_feature):
26405           plug more leaks.  A simple gst_init() now is leakfree, yay.
26406
26407 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
26408
26409         * gst/registries/gstlibxmlregistry.c: (read_string), (load_paths),
26410         (gst_xml_registry_load):
26411           plug another memleak
26412
26413 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
26414
26415         * configure.ac:
26416           use GST_SET_ERROR_CFLAGS
26417         * docs/faq/cvs.xml:
26418           change to ERROR_CFLAGS
26419
26420 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
26421
26422         * configure.ac:
26423           make GST_ERROR_CFLAGS overridable and re-enable Werror
26424         * docs/faq/cvs.xml:
26425           add a note about error CFLAGS
26426         * docs/gst/tmpl/gstfakesrc.sgml:
26427         * gst/elements/gstfakesrc.c:
26428           comment out some unused code
26429         * gst/gst.c: (split_and_iterate):
26430         * gst/registries/gstlibxmlregistry.c: (load_pad_template),
26431         (load_feature):
26432           plug some memleaks
26433
26434 2005-07-07  Thomas Vander Stichele  <thomas at apestaart dot org>
26435
26436         * common/Makefile.am:
26437         * common/gtk-doc.mak:
26438         * docs/gst/Makefile.am:
26439           factor out gtk-doc.mak
26440
26441 2005-07-07  Wim Taymans  <wim@fluendo.com>
26442
26443         * gst/schedulers/threadscheduler.c: (gst_thread_scheduler_func),
26444         (gst_thread_scheduler_dispose):
26445         Unlock the STREAM_LOCK completely.
26446
26447 2005-07-07  Thomas Vander Stichele  <thomas at apestaart dot org>
26448
26449         * check/Makefile.am:
26450         * check/elements/.cvsignore:
26451         * check/elements/gstfakesrc.c: (chain_func), (event_func),
26452         (START_TEST), (fakesrc_suite), (main):
26453         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
26454         (gst_fakesrc_set_property), (gst_fakesrc_get_property),
26455         (gst_fakesrc_create), (gst_fakesrc_start):
26456         * gst/elements/gstfakesrc.h:
26457           adding a first element test
26458
26459 2005-07-07  Andy Wingo  <wingo@pobox.com>
26460
26461         * gst/gstbus.c (gst_bus_have_pending): Remove intensely irritating
26462         debug message.
26463
26464 2005-07-07  Wim Taymans  <wim@fluendo.com>
26465
26466         * gst/gstquery.c:
26467         * gst/gstquery.h:
26468         Remove old types
26469
26470 2005-07-07  Wim Taymans  <wim@fluendo.com>
26471
26472         * gst/base/gstbasesrc.c: (gst_base_src_get_range),
26473         (gst_base_src_default_negotiate), (gst_base_src_negotiate):
26474         Allow subclasses to implement their own negotiation.
26475
26476 2005-07-07  Jan Schmidt  <thaytan@mad.scientist.com>
26477
26478         * docs/design/part-gstbin.txt:
26479         * docs/design/part-gstpipeline.txt:
26480           Update design notes to reflect the movement of
26481           responsibility for bus handling from GstPipeline to
26482           GstBin
26483
26484 2005-07-07  Jan Schmidt  <thaytan@mad.scientist.com>
26485
26486         * configure.ac:
26487           Remove unnecessary queue2/3/4 examples.
26488
26489 2005-07-07  Jan Schmidt  <thaytan@mad.scientist.com>
26490
26491         * examples/Makefile.am:
26492         * examples/helloworld/helloworld.c: (event_loop), (main):
26493         * examples/queue/queue.c: (event_loop), (main):
26494         * examples/queue2/queue2.c: (main):
26495           Update a couple of the examples to work again.
26496
26497         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
26498         (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_event):
26499          Spelling corrections and extra debug.
26500         
26501         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init), (is_eos),
26502         (gst_bin_add_func), (bin_element_is_sink), (gst_bin_get_state),
26503         (gst_bin_change_state), (gst_bin_dispose), (bin_bus_handler):
26504         * gst/gstbin.h:
26505         * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
26506         (gst_pipeline_change_state):
26507         * gst/gstpipeline.h:
26508           Move the bus handler for children to the GstBin, and create a
26509           separate bus for receiving messages from children to the one the
26510           bus sends 'upwards' on.
26511
26512 2005-07-06  Wim Taymans  <wim@fluendo.com>
26513
26514         * gst/base/README:
26515         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
26516         (gst_base_sink_handle_object), (gst_base_sink_loop),
26517         (gst_base_sink_change_state):
26518         * gst/base/gstbasesink.h:
26519         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
26520         (gst_base_src_init), (gst_base_src_setcaps),
26521         (gst_base_src_getcaps), (gst_base_src_loop),
26522         (gst_base_src_default_negotiate), (gst_base_src_negotiate),
26523         (gst_base_src_start), (gst_base_src_change_state):
26524         * gst/base/gstbasesrc.h:
26525         Make basesrc negotiate.
26526         Handle the case where preroll fails in basesink.
26527         Update README.
26528
26529 2005-07-06  Wim Taymans  <wim@fluendo.com>
26530
26531         * gst/gstpad.c: (gst_pad_fixate_caps), (gst_pad_accept_caps):
26532         Implement the fixate function.
26533         Clean up acceptcaps.
26534
26535 2005-07-06  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
26536
26537         * docs/pwg/building-filterfactory.xml:
26538         * docs/pwg/pwg.xml:
26539           Remove never-written filter-factory chapter; I'll add the various
26540           base classes to part 4 ("other element types") later on.
26541
26542 2005-07-06  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
26543
26544         * docs/pwg/advanced-negotiation.xml:
26545         * docs/pwg/building-boiler.xml:
26546         * docs/pwg/building-pads.xml:
26547         * docs/pwg/pwg.xml:
26548         * examples/pwg/Makefile.am:
26549           Add a chapter on caps negotiation, simplify the original code
26550           samples a bit w.r.t. caps negotiation, add link to the advanced
26551           section. Add a bunch of examples showing different use cases of
26552           different types of caps negotiation. Upstream renegotiation isn't
26553           fully documented yet since nobody knows how that works.
26554
26555 2005-07-06  Thomas Vander Stichele  <thomas at apestaart dot org>
26556
26557         * check/gst/gstpad.c:
26558         * check/gstcheck.c:
26559         * gst/gstpad.c: (gst_pad_get_internal_links_default):
26560           if pad has no parent, return NULL as list of internal links
26561
26562 2005-07-05  Andy Wingo  <wingo@pobox.com>
26563
26564         * gst/elements/gstfilesrc.c:
26565         * gst/elements/gstfakesrc.c: 
26566         * gst/base/gstpushsrc.c:
26567         * gst/base/gstbasesrc.h: 
26568         * gst/base/gstbasesrc.c: s/BASESRC/BASE_SRC/g.
26569         
26570 2005-07-05  Stefan Kost  <ensonic@users.sf.net>
26571
26572         * Makefile.am:
26573           better report generation target (lcov needs a patch)
26574
26575 2005-07-05  Andy Wingo  <wingo@pobox.com>
26576
26577         * gst/elements, testsuite: Null if we got it...
26578
26579 2005-07-05  Wim Taymans  <wim@fluendo.com>
26580
26581         * configure.ac:
26582         * libs/gst/dataprotocol/Makefile.am:
26583         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_validate_packet):
26584         * libs/gst/dataprotocol/dataprotocol.h:
26585         * pkgconfig/Makefile.am:
26586         * pkgconfig/gstreamer-dataprotocol-uninstalled.pc.in:
26587         * pkgconfig/gstreamer-dataprotocol.pc.in:
26588         Ported dataprotol to 0.9. 
26589         Added pkgconfig files.
26590
26591 2005-07-05  Andy Wingo  <wingo@pobox.com>
26592
26593         * gst/base/gstbasetransform.c (gst_base_transform_setcaps):
26594         Default to returning TRUE for the case when tranform_caps returns
26595         a fixed caps, like for identity or volume.
26596
26597         * check/gst/gstbus.c (pound_bus_with_messages): 
26598         * check/gst/gstmessage.c (START_TEST): 
26599         * check/pipelines/simple_launch_lines.c (got_handoff): Application
26600         message API change.
26601
26602         * gst/base/gstbasetransform.c (gst_base_transform_setcaps): More
26603         logic weaks here: always run transform_caps, trying passthrough
26604         operation only if the original caps intersects with the transform.
26605
26606         * gst/gstpad.c (gst_pad_link_check_compatible_unlocked): Debug
26607         source and sink caps.
26608
26609         * gst/base/gstbasetransform.c (gst_base_transform_getcaps):
26610         Intersect the peer caps with the pad template before going into
26611         transform_caps.
26612         (gst_base_transform_transform_caps): More debugging.
26613
26614         * gst/gstmessage.h (gst_message_new_application): Take a GstObject
26615         src argument.
26616
26617 2005-07-04  Edward Hervey  <edward@fluendo.com>
26618
26619         * gst/gstutils.c:
26620         * gst/gstutils.h:
26621         (gst_pad_add_*_probe): now returns the signal id for better wrapping
26622         in bindings.
26623
26624 2005-07-04  Andy Wingo  <wingo@pobox.com>
26625
26626         * check/gst/gstpad.c: Only set explicit caps on pads.
26627
26628 2005-07-01  Andy Wingo  <wingo@pobox.com>
26629
26630         * tests/network-clock.scm: Commentary update.
26631
26632         * gst/elements/gstidentity.c (PROP_DUPLICATE): Gone daddy gone.
26633         Didn't really make sense, not implementable with basetransform,
26634         etc.
26635         (gst_identity_transform): Unref inbuf via make_writable. Feeble
26636         attempt at implementing the sync property, needs an unlock method.
26637
26638         * gst/base/gstbasetransform.c (gst_base_transform_transform_caps):
26639         New func, by default returns the same caps (the identity
26640         transformation).
26641         (gst_base_transform_getcaps): Uses transform_caps to return
26642         something sensible.
26643         (gst_base_transform_setcaps): Complicated logic to get caps on
26644         both pads, even if they are different, and to call set_caps once
26645         for every time both pads get their caps set.
26646         (gst_base_transform_handle_buffer): Give the ref to the transform
26647         function. Allows in-place modification of the buffer.
26648
26649         * gst/base/gstbasetransform.h (transform_caps): New class method.
26650         Given caps on one side, what can I do on the other.
26651         (set_caps): Take two caps, one for each side of the element.
26652
26653         * gst/gstpad.h:
26654         * gst/gstpad.c (gst_pad_fixate_caps): Change prototype to modify
26655         caps in place. This is safe because we can check the mutability of
26656         the caps, and a good idea because fixate functions are just called
26657         as a matter of last resort. (Not actually implemented.)
26658         (gst_pad_set_caps): If the caps we're setting is actually the same
26659         as the existing pad caps, just update the pointer without calling
26660         setcaps. Assert that caps is either NULL or fixed, as per the
26661         docs.
26662
26663         * gst/gstghostpad.c: Update for fixate changes.
26664
26665 2005-07-02  Andy Wingo  <wingo@pobox.com>
26666
26667         * gst/gstcaps.c:
26668         * gst/gstcaps.h (gst_static_caps_get): Not const return, having
26669         two refcounts makes it immutable, which is enough. Doc more.
26670
26671 2005-07-02  Jan Schmidt  <thaytan@mad.scientist.com>
26672
26673         * gst/gstpad.c: (gst_pad_emit_have_data_signal):
26674           Put the mini_object into GValue as a mini_object,
26675           not a gpointer, since that's how we declared
26676           the signal.
26677
26678 2005-07-01  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
26679
26680         * examples/pwg/Makefile.am:
26681           Fix buildbot again.
26682
26683 2005-07-01  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
26684
26685         * docs/pwg/building-testapp.xml:
26686           Add extra check.
26687         * examples/pwg/Makefile.am:
26688           Fix buildbot.
26689
26690 2005-07-01  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
26691
26692         * configure.ac:
26693         * examples/Makefile.am:
26694         * examples/pwg/Makefile.am:
26695         * examples/pwg/extract.pl:
26696           Enable building the PWG examples.
26697         * docs/pwg/advanced-interfaces.xml:
26698           Add URI interface stub.
26699         * docs/pwg/advanced-types.xml:
26700         * docs/pwg/other-autoplugger.xml:
26701         * docs/pwg/appendix-porting.xml:
26702         * docs/pwg/pwg.xml:
26703           Add porting guide (mostly stubs), remove autoplugging (see ADM).
26704         * docs/pwg/building-boiler.xml:
26705         * docs/pwg/building-chainfn.xml:
26706         * docs/pwg/building-pads.xml:
26707         * docs/pwg/building-props.xml:
26708         * docs/pwg/building-state.xml:
26709         * docs/pwg/building-testapp.xml:
26710           Update the building-*.xml parts for 0.9 changes. All examples
26711           code blocks compile in examples/pwg/*.
26712
26713 2005-06-30  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
26714
26715         * docs/manual/advanced-autoplugging.xml:
26716         * docs/manual/appendix-checklist.xml:
26717         * docs/manual/appendix-integration.xml:
26718         * docs/manual/highlevel-components.xml:
26719           Fix playbin/decodebin examples, update docs a bit, mention bus
26720           instead of signals in various places, mention kmplayer and
26721           kaffeine since they have a working GStreamer backend in the KDE
26722           section.
26723
26724 2005-06-30  Wim Taymans  <wim@fluendo.com>
26725
26726         * CHANGES-0.9:
26727         * docs/design/draft-ghostpads.txt:
26728         * docs/design/draft-push-pull.txt:
26729         * docs/design/draft-query.txt:
26730         * docs/design/part-TODO.txt:
26731         * docs/design/part-query.txt:
26732         Added CHANGES-0.9 doc, updated status of other docs.
26733         
26734         * gst/gstquery.h:
26735         Remove "hmm" macro
26736
26737 2005-06-30  Wim Taymans  <wim@fluendo.com>
26738
26739         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
26740         (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
26741         (gst_base_sink_change_state):
26742         * gst/base/gstbasesink.h:
26743         Some tweaks, only EOS and a buffer complete a preroll.
26744
26745 2005-06-30  Andy Wingo  <wingo@pobox.com>
26746
26747         * gst/gstghostpad.c (gst_ghost_pad_do_activate_push): Proxy
26748         activate_push down to the internal pad as well.
26749
26750 2005-06-30  Torsten Schoenfeld  <kaffeetisch@gmx.de>
26751
26752         Reviewed by:  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
26753
26754         * gst/gsttaginterface.c:
26755           Some documentation fixes (#307394 and #307397).
26756
26757 2005-06-30  Antoine Tremblay  <hexa00@gmail.com>
26758
26759         Reviewed by:  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
26760
26761         * gst/gstvalue.c: (gst_value_intersect_list):
26762           Fix memleak (#309125).
26763
26764 2005-06-30  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
26765
26766         * docs/manual/advanced-dataaccess.xml:
26767           Fix fakesrc example to compile; doesn't work, bug somewhere...?
26768         * docs/manual/basics-pads.xml:
26769           Add reference for filtered caps to above chapter.
26770
26771 2005-06-30  Wim Taymans  <wim@fluendo.com>
26772
26773         * gst/gstbin.c: (clear_queue), (remove_all_from_queue),
26774         (gst_bin_change_state):
26775         Probes are gone.
26776         Lame attempt at making the state change function a bit
26777         more readable.
26778
26779 2005-06-30  Wim Taymans  <wim@fluendo.com>
26780
26781         * docs/design/part-clocks.txt:
26782         * docs/design/part-element-sink.txt:
26783         * docs/design/part-events.txt:
26784         * docs/design/part-preroll.txt:
26785         * docs/design/part-states.txt:
26786         Some more tweeks and additions to the docs.
26787
26788 2005-06-30  Wim Taymans  <wim@fluendo.com>
26789
26790         * gst/gstpad.c: (_gst_do_pass_data_accumulator),
26791         (default_have_data), (gst_pad_class_init), (gst_pad_init),
26792         (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
26793         (gst_pad_check_pull_range), (gst_pad_get_range),
26794         (gst_pad_pull_range), (gst_pad_push_event), (gst_pad_send_event):
26795         * gst/gstpad.h:
26796         * gst/gstutils.c: (gst_atomic_int_set), (gst_pad_add_data_probe),
26797         (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
26798         (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
26799         (gst_pad_remove_buffer_probe):
26800         Removed atomic operations, use existing LOCK.
26801         Move exception handling out of main code path.
26802
26803 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
26804
26805         * gst/gstpad.c: (_gst_do_pass_data_accumulator),
26806         (silly_return_true_function), (gst_pad_class_init),
26807         (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
26808         (gst_pad_get_range), (gst_pad_pull_range), (gst_pad_push_event),
26809         (gst_pad_send_event):
26810           Fix accumulator, add default value by using _emitv() instead
26811           of _emit() for signal emission.
26812
26813 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
26814
26815         * docs/manual/advanced-dataaccess.xml:
26816         * examples/manual/Makefile.am:
26817           Add probe example.
26818         * gst/gstpad.c: (_gst_do_pass_data_accumulator):
26819           Make work (??).
26820
26821 2005-06-29  Tim-Philipp Müller  <tim at centricular dot net>
26822
26823         * gst/elements/gstfilesink.c: (gst_filesink_render):
26824           Simplify code so that we don't have to handle short
26825           writes and return GST_FLOW_ERROR if an error occured.
26826
26827 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
26828
26829         * docs/gst/gstreamer-docs.sgml:
26830           Remove probes more.
26831
26832 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
26833
26834         * docs/gst/gstreamer-sections.txt:
26835         * docs/gst/tmpl/gstpad.sgml:
26836         * docs/gst/tmpl/gstprobe.sgml:
26837         * gst/Makefile.am:
26838         * gst/gstpad.c: (_gst_do_pass_data_accumulator),
26839         (gst_pad_class_init), (gst_pad_init), (gst_pad_chain),
26840         (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
26841         (gst_pad_push_event), (gst_pad_send_event):
26842         * gst/gstpad.h:
26843         * gst/gstutils.c: (gst_pad_add_data_probe),
26844         (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
26845         (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
26846         (gst_pad_remove_buffer_probe):
26847         * gst/gstutils.h:
26848           Remove old probes, add new g-signal-based probes and some utility
26849           functions.
26850
26851 2005-06-29  Edward Hervey  <edward@fluendo.com>
26852
26853         * gst/gstelementfactory.c:
26854         * gst/gstutils.h:
26855         * gst/gstutils.c:
26856         Moved gst_element_factory_can_[sink|src]_caps() to gstutils and added
26857         the definition to the header file.
26858
26859 2005-06-29  Andy Wingo  <wingo@pobox.com>
26860
26861         * docs/gst/Makefile.am (scan-build.stamp): Totally only check
26862         plugins from the source directory.
26863
26864 2005-06-29  Wim Taymans  <wim@fluendo.com>
26865
26866         * docs/gst/tmpl/gstbuffer.sgml:
26867         * docs/gst/tmpl/gstclock.sgml:
26868         Some fixings for blantently wrong text.
26869
26870 2005-06-29  Thomas Vander Stichele  <thomas at apestaart dot org>
26871
26872         * check/Makefile.am:
26873         * gst/gst.c: (add_path_func), (init_pre):
26874         * gst/gstregistry.c: (gst_registry_add_path):
26875           add A GST_PLUGIN_PATH_ONLY env var; if it is set, it will
26876           only scan the GST_PLUGIN_PATH locations, and not add
26877           system locations
26878
26879 2005-06-29  Thomas Vander Stichele  <thomas at apestaart dot org>
26880
26881         * docs/gst/gstreamer-sections.txt:
26882         * docs/gst/tmpl/gstbasesrc.sgml:
26883         * gst/gstelement.c:
26884         * gst/gstelement.h:
26885         * gst/gstevent.c:
26886         * gst/gstutils.c:
26887           doc fixes
26888
26889 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
26890
26891         * docs/manual/advanced-autoplugging.xml:
26892           Fix autoplugging example.
26893
26894 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
26895
26896         * docs/manual/advanced-autoplugging.xml:
26897         * docs/manual/mime-world.fig:
26898           Try to get autoplugging working, fix type detection. Fix text
26899           in hello-world image.
26900
26901 2005-06-29  Wim Taymans  <wim@fluendo.com>
26902
26903         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
26904         (gst_base_sink_change_state):
26905         Small debug line.
26906
26907         * gst/gstclock.h:
26908         map SIGNAL and BROADCAST to the right function.
26909
26910         * gst/gstobject.h:
26911         Remove redundant braces.
26912
26913         * gst/gstpad.c: (gst_pad_set_caps):
26914         Don't call setcaps function when reseting caps to NULL.
26915
26916         * gst/gstsystemclock.c: (gst_system_clock_dispose),
26917         (gst_system_clock_async_thread), (gst_system_clock_id_wait_async),
26918         (gst_system_clock_id_unschedule):
26919         Use BROADCAST as this is what we do.
26920
26921 2005-06-29  Wim Taymans  <wim@fluendo.com>
26922
26923         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
26924         We are actually prerolling before commiting the state
26925         change. 
26926
26927 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
26928
26929         * docs/manual/advanced-clocks.xml:
26930         * docs/manual/advanced-interfaces.xml:
26931         * docs/manual/advanced-metadata.xml:
26932         * docs/manual/advanced-position.xml:
26933         * docs/manual/advanced-schedulers.xml:
26934         * docs/manual/advanced-threads.xml:
26935         * docs/manual/appendix-porting.xml:
26936         * docs/manual/basics-bins.xml:
26937         * docs/manual/basics-bus.xml:
26938         * docs/manual/basics-elements.xml:
26939         * docs/manual/basics-helloworld.xml:
26940         * docs/manual/basics-pads.xml:
26941         * docs/manual/highlevel-components.xml:
26942         * docs/manual/manual.xml:
26943         * docs/manual/thread.fig:
26944           Update (until threads/scheduling) Application Development Manual;
26945           remove GstThread, add GstBus, add simple porting checklist, add
26946           documentation for tag writing, clocks, make all examples until this
26947           part compile and run.
26948         * examples/manual/Makefile.am:
26949           Update from changes to Application Development Manual; add bus
26950           example, remove thread example.
26951
26952 2005-06-28  Wim Taymans  <wim@fluendo.com>
26953
26954         * gst/gstbus.c: (gst_bus_post), (gst_bus_have_pending),
26955         (gst_bus_set_flushing), (gst_bus_pop), (gst_bus_peek),
26956         (gst_bus_source_dispatch):
26957         Add debugging messages.
26958         Make internal methods static.
26959         Handle the case where the bus is flushed in the handler.
26960         
26961         * gst/gstelement.c: (gst_element_get_bus):
26962         Fix refcount in _get_bus();
26963
26964         * gst/gstpipeline.c: (gst_pipeline_change_state),
26965         (gst_pipeline_get_clock_func):
26966         Clock refcounting fixes.
26967         Handle the case where preroll timed out more gracefully.
26968         
26969         * gst/gstsystemclock.c: (gst_system_clock_dispose):
26970         Clean up the internal thread in dispose. This is needed
26971         for subclasses that actually get disposed.
26972         
26973         * gst/schedulers/threadscheduler.c:
26974         (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
26975         (gst_thread_scheduler_dispose):
26976         Free thread pool in dispose.
26977
26978 2005-06-28  Andy Wingo  <wingo@pobox.com>
26979
26980         * tests/network-clock-utils.scm (debug, print-event): New utils.
26981
26982         * tests/network-clock.scm (*debug*, *with-graph*): New parameters.
26983         (*packet-loss*): Unified loss probability.
26984         (network-time): Report out-of-band events.
26985
26986         * tests/plot-data: Add support for out-of-band events. Hack it
26987         into this script instead of passing it down the pipe; should fix
26988         this later.
26989
26990 2005-06-28  Wim Taymans  <wim@fluendo.com>
26991
26992         * docs/gst/gstreamer.types:
26993         * docs/gst/tmpl/gstbasesrc.sgml:
26994         * docs/gst/tmpl/gstpad.sgml:
26995         Docs fixes.
26996
26997 2005-06-28  Wim Taymans  <wim@fluendo.com>
26998
26999         * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
27000         (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_acceptcaps),
27001         (gst_proxy_pad_do_fixatecaps):
27002         Correctly proxy the check_pull_range function.
27003
27004 2005-06-28  Andy Wingo  <wingo@pobox.com>
27005
27006         * tests/network-clock.scm: Removed need for slib.
27007         
27008 2005-06-28  Wim Taymans  <wim@fluendo.com>
27009
27010         * gst/base/gstbasesink.c: (gst_basesink_set_pad_functions),
27011         (gst_basesink_preroll_queue_flush):
27012         * gst/base/gstbasesrc.c: (gst_basesrc_set_dataflow_funcs):
27013         * gst/elements/gsttee.c: (gst_tee_update_pad_functions):
27014         * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
27015         (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
27016         (gst_proxy_pad_set_property):
27017         * gst/gstpad.c:
27018         * gst/gstpad.h:
27019         * gst/gstqueue.c: (gst_queue_init):
27020         The deprecated pad loop function is removed now.
27021
27022 2005-06-28  Andy Wingo  <wingo@pobox.com>
27023
27024         * tests/network-clock.scm (*timeout*, *send-loss*, *recv-loss*):
27025         New parameters, simulate network packet loss.
27026
27027         * tests/network-clock-utils.scm: Initialize the RNG.
27028
27029 2005-06-28  Wim Taymans  <wim@fluendo.com>
27030
27031         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_flush),
27032         (gst_basesink_event), (gst_basesink_deactivate):
27033         Flushing the preroll queue always needs to unlock the waiters.
27034
27035 2005-06-28  Edward Hervey  <edward@fluendo.com>
27036
27037         * gst/gstpipeline.c: (gst_pipeline_send_event): 
27038         Wheen a seek was successful on a pipeline, set the stream_time to the
27039         seek offset in order to have a synchronized stream_time.
27040
27041 2005-06-28  Wim Taymans  <wim@fluendo.com>
27042
27043         * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
27044         (gst_proxy_pad_do_getrange), (gst_proxy_pad_do_checkgetrange),
27045         (gst_proxy_pad_do_getcaps), (gst_proxy_pad_do_acceptcaps),
27046         (gst_proxy_pad_do_fixatecaps):
27047         Call wrapper function instead of just calling the function
27048         pointers. This takes care of any locking and whatmore.
27049
27050 2005-06-28  Wim Taymans  <wim@fluendo.com>
27051
27052         * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push),
27053         (gst_pad_pull_range):
27054         * gst/gstpad.h:
27055         CONNECTED -> LINKED.
27056
27057 2005-06-28  Andy Wingo  <wingo@pobox.com>
27058
27059         * *.c: Don't cast to GST_OBJECT when reffing or unreffing. Large
27060         source-munging commit!!!
27061
27062         * gst/gstobject.c (gst_object_unref, gst_object_ref) 
27063         (gst_object_sink): Take gpointer arguments, not GstObject --
27064         avoids casts. Like GLib.
27065
27066         * gst/gstghostpad.c (gst_proxy_pad_do_activate): Don't proxy
27067         activate.
27068
27069 2005-06-27  Andy Wingo  <wingo@pobox.com>
27070
27071         * gst/base/gsttypefindhelper.c (gst_type_find_helper): Unref any
27072         remaining buffer.
27073
27074         * gst/gsttrace.c (gst_alloc_trace_list_sorted): New helper,
27075         returns a sorted copy of the trace list.
27076         (gst_alloc_trace_print_live): New API, only prints traces with
27077         live objects. Sort the list.
27078         (gst_alloc_trace_print_all): Sort the list.
27079         (gst_alloc_trace_print): Align columns.
27080
27081         * gst/elements/gstttypefindelement.c:
27082         * gst/elements/gsttee.c:
27083         * gst/base/gstbasesrc.c:
27084         * gst/base/gstbasesink.c:
27085         * gst/base/gstbasetransform.c:
27086         * gst/gstqueue.c: Adapt for pad activation changes.
27087
27088         * gst/gstpipeline.c (gst_pipeline_init): Unref after parenting
27089         sched.
27090         (gst_pipeline_dispose): Drop ref on sched.
27091
27092         * gst/gstpad.c (gst_pad_init): Set the default activate func.
27093         (gst_pad_activate_default): Push mode by default.
27094         (pre_activate_switch, post_activate_switch): New stubs, things to
27095         do before and after switching activation modes on pads.
27096         (gst_pad_set_active): Take a boolean and not a mode, dispatch to
27097         the pad's activate function to choose which mode to activate.
27098         Shortcut on deactivation and call the right function directly.
27099         (gst_pad_activate_pull): New API, (de)activates a pad in pull
27100         mode.
27101         (gst_pad_activate_push): New API, same for push mode.
27102         (gst_pad_set_activate_function) 
27103         (gst_pad_set_activatepull_function) 
27104         (gst_pad_set_activatepush_function): Setters for new API.
27105
27106         * gst/gstminiobject.c (gst_mini_object_new, gst_mini_object_free):
27107         Trace all miniobjects.
27108         (gst_mini_object_make_writable): Unref the arg if we copy, like
27109         gst_caps_make_writable.
27110
27111         * gst/gstmessage.c (_gst_message_initialize): No trace init.
27112
27113         * gst/gstghostpad.c (gst_proxy_pad_do_activate) 
27114         (gst_proxy_pad_do_activatepull, gst_proxy_pad_do_activatepush):
27115         Adapt for new pad API.
27116
27117         * gst/gstevent.c (_gst_event_initialize): Don't initialize trace.
27118
27119         * gst/gstelement.h:
27120         * gst/gstelement.c (gst_element_iterate_src_pads) 
27121         (gst_element_iterate_sink_pads): New API functions.
27122         
27123         * gst/gstelement.c (iterator_fold_with_resync): New utility,
27124         should fold into gstiterator.c in some form.
27125         (gst_element_pads_activate): Simplified via use of fold and
27126         delegation of decisions to gstpad->activate.
27127
27128         * gst/gstbus.c (gst_bus_source_finalize): Set the bus to NULL,
27129         help in debugging.
27130
27131         * gst/gstbuffer.c (_gst_buffer_initialize): Ref the buffer type
27132         class once in init, like gstmessage. Didn't run into this issue
27133         but it seems correct. Don't initialize a trace, gstminiobject does
27134         that.
27135
27136         * check/pipelines/simple_launch_lines.c (test_stop_from_app): New
27137         test, runs fakesrc ! fakesink, stopping on ::handoff via a message
27138         to the bus.
27139         (assert_live_count): New util function, uses alloc traces to check
27140         cleanup.
27141
27142         * check/gst/gstghostpad.c (test_ghost_pads): More refcount checks.
27143         To be modified when unlink drops the internal pad.
27144
27145 2005-06-27  Wim Taymans  <wim@fluendo.com>
27146
27147         * gst/gstbin.c: (gst_bin_get_state), (gst_bin_iterate_state_order),
27148         (gst_bin_change_state):
27149         Cleanup the get_state() function a little, make sure it
27150         iterates the same set of elements.
27151         Added stub iterate_state_order().
27152
27153 2005-06-27  Thomas Vander Stichele  <thomas at apestaart dot org>
27154
27155         * docs/gst/gstreamer-docs.sgml:
27156         * docs/gst/gstreamer-sections.txt:
27157         * docs/gst/gstreamer.types:
27158         * docs/gst/tmpl/gstbasesink.sgml:
27159         * docs/gst/tmpl/gstbasesrc.sgml:
27160         * docs/gst/tmpl/gstbasetransform.sgml:
27161         * docs/gst/tmpl/gstelement.sgml:
27162         * docs/gst/tmpl/gstiterator.sgml:
27163         * gst/base/gstbasesrc.c:
27164         * gst/base/gstbasesrc.h:
27165         * gst/base/gstbasetransform.h:
27166         * gst/gstelement.c:
27167         * gst/gstiterator.h:
27168           adding basetransform and iterator docs
27169
27170 2005-06-27  Andy Wingo  <wingo@pobox.com>
27171
27172         * docs/design/part-activation.txt: Notes on how activation should
27173         work -- not quite implemented yet.
27174
27175 2005-06-25  Wim Taymans  <wim@fluendo.com>
27176
27177         * gst/gstghostpad.c: (gst_proxy_pad_do_chain):
27178         At least get the chain function correct, needs more
27179         fixing.
27180
27181 2005-06-25  Wim Taymans  <wim@fluendo.com>
27182
27183         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
27184         (gst_basesink_handle_object), (gst_basesink_event),
27185         (gst_basesink_do_sync), (gst_basesink_handle_event),
27186         (gst_basesink_change_state):
27187         * gst/gsttask.h:
27188         Right, two problems here: ghostpads don't take locks and
27189         glib _rec_mutex_lock_full() with depth==0 still locks.
27190         Catch illegal locking and g_warn them.
27191
27192 2005-06-25  Wim Taymans  <wim@fluendo.com>
27193
27194         * check/states/sinks.c: (START_TEST), (gst_object_suite):
27195         Have to check for completion now...
27196
27197 2005-06-25  Wim Taymans  <wim@fluendo.com>
27198
27199         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
27200         (gst_basesink_handle_object), (gst_basesink_event),
27201         (gst_basesink_do_sync), (gst_basesink_handle_event),
27202         (gst_basesink_change_state):
27203         * gst/gstpad.h:
27204         Unlock STREAM_LOCK whatever the recursion was.
27205
27206 2005-06-25  Wim Taymans  <wim@fluendo.com>
27207
27208         * gst/base/gstbasesink.c: (gst_basesink_set_property),
27209         (gst_basesink_preroll_queue_empty),
27210         (gst_basesink_preroll_queue_flush), (gst_basesink_handle_object),
27211         (gst_basesink_event), (gst_basesink_do_sync),
27212         (gst_basesink_handle_event), (gst_basesink_handle_buffer),
27213         (gst_basesink_chain), (gst_basesink_loop), (gst_basesink_activate),
27214         (gst_basesink_change_state):
27215         Reworked the base sink, handle event and buffer serialisation
27216         correctly and removed possible deadlock.
27217         Handle EOS correctly.
27218
27219 2005-06-25  Wim Taymans  <wim@fluendo.com>
27220
27221         * gst/gstpipeline.c: (is_eos), (pipeline_bus_handler),
27222         (gst_pipeline_change_state):
27223         * tools/gst-launch.c: (check_intr), (event_loop), (main):
27224         Allow elements to post EOS in the state change function.
27225         Fix up -launch, make it exit the poll loop when the
27226         pipeline actually changed state.
27227         Fix up warning parsing in -launch.
27228
27229 2005-06-25  Wim Taymans  <wim@fluendo.com>
27230
27231         * gst/elements/gsttee.c: (gst_tee_chain), (gst_tee_loop),
27232         (gst_tee_sink_activate):
27233         Core takes STREAM_LOCK for us now.
27234
27235 2005-06-25  Wim Taymans  <wim@fluendo.com>
27236
27237         * gst/gstelement.c: (gst_element_get_state_func),
27238         (gst_element_set_state):
27239         * gst/gstelement.h:
27240         * gst/gstmessage.c: (gst_message_parse_error),
27241         (gst_message_parse_warning):
27242         Keep track of current target state while performing a state
27243         change so that subclasses can do something interesting.
27244         Fix parsing of warning/error messages when GError is NULL.
27245
27246 2005-06-24  Thomas Vander Stichele  <thomas at apestaart dot org>
27247
27248         * docs/gst/Makefile.am:
27249         * docs/gst/gstreamer-docs.sgml:
27250         * docs/gst/gstreamer-sections.txt:
27251         * docs/gst/gstreamer.types:
27252         * docs/gst/tmpl/gstbasesink.sgml:
27253         * docs/gst/tmpl/gstbasesrc.sgml:
27254         * docs/gst/tmpl/gstbin.sgml:
27255         * docs/gst/tmpl/gstcompat.sgml:
27256         * docs/gst/tmpl/gstfakesink.sgml:
27257         * docs/gst/tmpl/gstfakesrc.sgml:
27258         * docs/gst/tmpl/gstfilesink.sgml:
27259         * docs/gst/tmpl/gstfilesrc.sgml:
27260         * docs/gst/tmpl/gstindex.sgml:
27261         * docs/manual/appendix-quotes.xml:
27262         * gst/base/gstbasesrc.h:
27263         * gst/elements/gstfakesrc.h:
27264         * gst/gstmessage.h:
27265           start pulling in base classes and elements in our docs
27266
27267 2005-06-24  Stefan Kost  <ensonic@users.sf.net>
27268
27269         * docs/gst/Makefile.am:
27270         * docs/libs/Makefile.am:
27271           fixed make distcheck with gtk-doc 1.3
27272
27273 2005-06-23  Wim Taymans  <wim@fluendo.com>
27274
27275         * gst/gstelement.c: (gst_element_get_state_func),
27276         (gst_element_set_state), (gst_element_change_state):
27277         When the state did not change, also report NO_PREROLL
27278         when it matters.
27279
27280 2005-06-23  Wim Taymans  <wim@fluendo.com>
27281
27282         * gst/gstpad.c: (gst_pad_event_default):
27283         * gst/gstqueue.c: (gst_queue_loop):
27284         No unsafe task pausing please.
27285
27286 2005-06-23  Wim Taymans  <wim@fluendo.com>
27287
27288         * gst/schedulers/threadscheduler.c:
27289         (gst_thread_scheduler_task_start),
27290         (gst_thread_scheduler_task_pause), (gst_thread_scheduler_func):
27291         Ref the task before pushing it on the threadpool. This
27292         makes sure that we have a ref when the threadfunction is
27293         actually called.
27294
27295 2005-06-23  Andy Wingo  <wingo@pobox.com>
27296
27297         * gst/base/gstbasesrc.c (gst_basesrc_get_range): Check if the
27298         offset is greater than the file's size.
27299
27300         * gst/gstobject.h (GST_CLASS_LOCK, GST_CLASS_TRYLOCK) 
27301         (GST_CLASS_UNLOCK, GST_CLASS_GET_LOCK, GstObjectClass)
27302         * gst/gstobject.c (gst_object_class_init): Make the class lock
27303         recursive. Wim won't let me drop deep_notify. Decodebin works
27304         again, whoopdy doo.
27305
27306         * gst/gstghostpad.c (on_int_notify): Catches notify::caps on the
27307         internal pad, and hacks accordingly. Doesn't do it on the target
27308         pad because we change its caps. Probably catches all cases of
27309         interest tho.
27310         (gst_ghost_pad_set_property): Connect to notify::caps as
27311         appropritate.
27312
27313         * tests/network-clock.scm (plot-simulation): Pipe data to the
27314         elite python skript.
27315
27316         * tests/network-clock-utils.scm (define-parameter): New macro,
27317         defines a parameter that can be set via the command line.
27318         (set-parameter!, parse-parameter-arguments): Command line args
27319         parser.
27320
27321         * tests/plot-data: Simple matplotlib-based plotter, takes input on
27322         stdin.
27323
27324 2005-06-23  Jan Schmidt  <thaytan@mad.scientist.com>
27325
27326         * gst/elements/gsttypefindelement.c:
27327         (gst_type_find_element_handle_event):
27328           Don't restart typefinding on a discont.
27329         * gst/gstelement.c: (gst_element_set_state):
27330           Debug spelling fix.
27331         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_send_event):
27332           Allow changing mode of an active pad.
27333           Debug output fixes.
27334         * gst/registries/gstlibxmlregistry.c: (load_feature):
27335           Don't cast a static pad template to a normal pad template.
27336
27337 2005-06-23  Thomas Vander Stichele  <thomas at apestaart dot org>
27338
27339         * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
27340         * gst/gstvalue.c: (gst_value_deserialize_int_helper):
27341           remove gst_strtoll completely, since it didn't actually do
27342           anything more than what g_ascii_strtoull already does.
27343           check for range errors when deserializing
27344           do a cast for the unsigned cases; but further fixing needs
27345           a decision on what the interpretation of "(int)" and
27346           deserialization should be for values that fall outside the
27347           type's boundaries (ie, refuse, or interpret as casting)
27348
27349 2005-06-23  Wim Taymans  <wim@fluendo.com>
27350
27351         * check/Makefile.am:
27352         * check/states/sinks.c: (START_TEST), (gst_object_suite), (main):
27353         * docs/design/part-live-source.txt:
27354         * docs/design/part-states.txt:
27355         * gst/base/gstbasesrc.c: (gst_basesrc_init),
27356         (gst_basesrc_set_live), (gst_basesrc_is_live),
27357         (gst_basesrc_get_range), (gst_basesrc_activate),
27358         (gst_basesrc_change_state):
27359         * gst/base/gstbasesrc.h:
27360         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
27361         (gst_fakesrc_set_property), (gst_fakesrc_get_property):
27362         * gst/gstbin.c: (gst_bin_get_state), (gst_bin_change_state):
27363         * gst/gstelement.c: (gst_element_get_state_func),
27364         (gst_element_set_state):
27365         * gst/gstelement.h:
27366         * gst/gsttypes.h:
27367         * tools/gst-launch.c: (event_loop), (main):
27368         Added support for live sources and other elements that
27369         cannot do preroll.
27370         Updated design docs, added live-source design doc.
27371         Implemented live source functionality in basesrc
27372         Fix error condition in _bin_get_state()
27373         Implement live source handling in -launch.
27374         Added check for live sources.
27375         Fixed case in GstBin where elements were changed state
27376         multiple times.
27377
27378
27379 2005-06-23  Andy Wingo  <wingo@pobox.com>
27380
27381         * check/gst/gstpad.c (test_get_allowed_caps, test_refcount): Fix
27382         borken refcounting.
27383
27384         * gst/gstpad.c (gst_pad_set_caps): Remove needless refs,
27385         gst_caps_replace takes care of this for us.
27386
27387         * gst/gstghostpad.c (gst_proxy_pad_do_setcaps): Call the full
27388         gst_pad_set_caps on the target, not just its setcaps() function.
27389
27390         * tests/network-clock.scm: 
27391         * tests/network-clock-utils.scm: A network clock simulator.
27392         Something of an algorithmic testbed before doing something in C.
27393
27394 2005-06-22  Thomas Vander Stichele  <thomas at apestaart dot org>
27395
27396         * check/Makefile.am:
27397         * check/gst/capslist.h:
27398           copy over from 0.8, and add two with bitmasks specified with
27399           (int) 0xFF...
27400         * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
27401           add test to parse everything from capslist.h
27402         * check/gst/gststructure.c: (START_TEST), (gst_value_suite),
27403         (main):
27404           add test for structure deserialization
27405         * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
27406           add tests for deserialization of strings to int types
27407         * gst/gststructure.c: (gst_structure_nth_field_name):
27408         * gst/gststructure.h:
27409           add a way to get the name of a field referenced by index
27410         * gst/gstvalue.c: (gst_value_deserialize_int_helper):
27411           instead of checking if the resulting long long lies between
27412           min and max, we check if the long long would fit into
27413           a number of bytes for the final type.
27414           This fixes cases where a string represents 2^32 - 1, which
27415           when cast to int would be the (valid) -1, but is bigger than
27416           G_MAXINT
27417
27418 2005-06-22  Thomas Vander Stichele  <thomas at apestaart dot org>
27419
27420         * gst/parse/grammar.y:
27421           add a log line for type deserialization
27422
27423 2005-06-22  Thomas Vander Stichele  <thomas at apestaart dot org>
27424
27425         * check/gst/gstvalue.c: (START_TEST):
27426         * gst/gstvalue.c: (gst_value_deserialize):
27427           return long long, not int, so gint64 deserialization actually
27428           works.  Is there any flag that makes the compiler check this ?
27429           Fixes #308559
27430
27431 2005-06-22  Wim Taymans  <wim@fluendo.com>
27432
27433         * gst/gstbuffer.h:
27434         Added convenience macros for setting buffers in GValue.
27435
27436 2005-06-21  Thomas Vander Stichele  <thomas at apestaart dot org>
27437
27438         * check/gst/.cvsignore:
27439         * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
27440           add a test deserializing int64, and comment part out because
27441           it fails, yay !
27442
27443 2005-06-21  Thomas Vander Stichele  <thomas at apestaart dot org>
27444
27445         * check/Makefile.am:
27446         * check/gst/gstvalue.c: (START_TEST), (gst_value_suite), (main):
27447         * testsuite/Makefile.am:
27448         * testsuite/caps/Makefile.am:
27449         * testsuite/caps/value_serialize.c:
27450         * testsuite/test_gst_init.c:
27451           move a value_serialize test over
27452
27453 2005-06-20  Wim Taymans  <wim@fluendo.com>
27454
27455         * gst/gstpad.c:
27456         Small doc updates.
27457         
27458         * gst/gstvalue.c: (gst_value_compare_buffer),
27459         (gst_value_serialize_buffer), (gst_value_deserialize_buffer),
27460         (gst_value_compare_flags), (gst_value_serialize_flags),
27461         (gst_value_deserialize_flags), (_gst_value_initialize):
27462         Fix serialisation of buffers, they are not boxed types anymore
27463
27464 2005-06-20  Wim Taymans  <wim@fluendo.com>
27465
27466         * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
27467         Testcase to show error in buffer-on-caps serialisation.
27468
27469 2005-06-20  Andy Wingo  <wingo@pobox.com>
27470
27471         * docs/random/wingo/porting-plugins-to-0.9: A pitiful document I
27472         will be adding to later.
27473
27474         * gst/gstsystemclock.c (gst_system_clock_init): Unlock the clock
27475         if its socks fill with rocks.
27476         (gst_system_clock_obtain): Set the name on object construction.
27477         Avoid double-checked locking.
27478
27479 2005-06-20  Tim-Philipp Müller  <tim at centricular dot net>
27480
27481         * gst/gsturi.c: (gst_element_make_from_uri):
27482           Fix potential endless loop.
27483
27484 2005-06-19  Thomas Vander Stichele  <thomas at apestaart dot org>
27485
27486         * check/Makefile.am:
27487           add gsttag
27488         * check/gst/gsttag.c: (check_tags), (START_TEST), (gst_tag_suite),
27489         (main):
27490           move over from testsuite dir and clean up
27491         * configure.ac:
27492         * gst/gsttag.c:
27493         * testsuite/Makefile.am:
27494         * testsuite/tags/.cvsignore:
27495         * testsuite/tags/Makefile.am:
27496         * testsuite/tags/merge.c:
27497           remove testsuite/tags
27498
27499 2005-06-19  Thomas Vander Stichele  <thomas at apestaart dot org>
27500
27501         * docs/gst/gstreamer-sections.txt:
27502         * docs/gst/tmpl/gstenumtypes.sgml:
27503         * win32/gstenumtypes.c:
27504           clean up documentation build a little
27505
27506 2005-06-19  Thomas Vander Stichele  <thomas at apestaart dot org>
27507
27508         * check/gstcheck.h:
27509           add macros for checking refcounts on objects and caps
27510         * check/gst/gstpad.c: (START_TEST), (gst_pad_suite):
27511           add some more unit tests
27512         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
27513         (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_allowed_caps):
27514           fix leaked refcounts (I hope :)) so unittest works
27515         * gst/gstpad.h:
27516           whitespace removal
27517
27518 2005-06-19  Thomas Vander Stichele  <thomas at apestaart dot org>
27519
27520         * configure.ac: back to HEAD
27521
27522 === release 0.9.1 ===
27523
27524 2005-06-17  Thomas Vander Stichele  <thomas at apestaart dot org>
27525
27526         * NEWS:
27527         * RELEASE:
27528           updated
27529
27530 2005-06-17  Andy Wingo  <wingo@pobox.com>
27531
27532         * gst/base/gstbasesink.c (gst_basesink_chain): Remove bogus
27533         assert; it's always possible that the pad gets deactivated in
27534         between the checks in gstpad.c and the implementation. Rely on
27535         finish_preroll() to return a FLUSHING or similar instead of on the
27536         assert.
27537         
27538         * gst/base/gstbasesink.c (gst_basesink_event): Only wait for the
27539         clock and post an EOS message if we come out of finish_preroll in
27540         the playing state.
27541
27542 2005-06-16  David Schleef  <ds@schleef.org>
27543
27544         * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
27545         (gst_capsfilter_set_property): Allow NULL as possible value
27546         for filter_caps property, indicating GST_CAPS_ANY.
27547
27548 2005-06-09  Thomas Vander Stichele  <thomas at apestaart dot org>
27549
27550         * gst/elements/gstfakesrc.c: (gst_fakesrc_create):
27551           fix debug output
27552         * gst/schedulers/Makefile.am:
27553           use libgst prefix
27554         * gstreamer.spec.in:
27555           fix spec for it
27556
27557 2005-06-09  Thomas Vander Stichele  <thomas at apestaart dot org>
27558
27559         * gstreamer.spec.in:
27560           clean up
27561
27562 2005-06-08  Andy Wingo  <wingo@pobox.com>
27563
27564         * gst/gstutils.c: RPAD fixes all around.
27565         (gst_element_link_pads): Refcounting fixes.
27566
27567         * tools/gst-inspect.c:
27568         * tools/gst-xmlinspect.c:
27569         * parse/grammar.y:
27570         * gst/base/gsttypefindhelper.c:
27571         * gst/base/gstbasesink.c:
27572         * gst/gstqueue.c: RPAD fixes.
27573
27574         * gst/gstghostpad.h:
27575         * gst/gstghostpad.c: New ghost pad implementation as full proxy
27576         pads. The tricky thing is they provide both source and sink
27577         interfaces, since they proxy the internal pad for the external
27578         pad, and vice versa. Implement with lower-level ProxyPad objects,
27579         with the interior proxy pad as a child of the exterior ghost pad.
27580         Should write a doc on this.
27581         
27582         * gst/gstpad.h: s/RPAD/PAD/, s/RealPad/Pad/.
27583         (gst_pad_set_name, gst_pad_set_parent): Macros removed, use
27584         gst_object API.
27585         
27586         * gst/gstpad.c: Big changes. No more stub base GstPad, now all
27587         pads are real pads. No ghost pads in this file. Not documenting
27588         the myriad s/RPAD/PAD/ and REALIZE fixes.
27589         (gst_pad_class_init): Add properties for "direction" and
27590         "template". Both are construct-only, so they can't change during
27591         the life of the pad. Fixes properly deriving from GstPad.
27592         (gst_pad_custom_new, gst_pad_custom_new_from_template): Gone. For
27593         derived objects, just set properties when creating the objects via
27594         g_object_new.
27595         (gst_pad_get_parent): Implement as a function, return NULL if the
27596         parent is not an element.
27597         (gst_pad_get_real_parent, gst_pad_add_ghost_pad)
27598         (gst_pad_remove_ghost_pad, gst_pad_realize): Removed.
27599         
27600         * gst/gstobject.c (gst_object_class_init): Make name a construct
27601         property. Don't set it in the object init.
27602
27603         * gst/gstelement.c (gst_element_add_pad): Don't allow adding pads
27604         with UNKNOWN direction.
27605         (gst_element_add_ghost_pad): Remove non-orthogonal API. Replace
27606         with gst_element_add_pad (e, gst_ghost_pad_new (name, pad)).
27607         (gst_element_remove_pad): Remove ghost-pad special cases.
27608         (gst_element_pads_activate): Remove rpad cruft.
27609
27610         * gst/gstbin.c (gst_bin_change_state): Use gst_pad_get_parent to
27611         catch the pad's-parent-not-an-element case.
27612
27613         * gst/gst.h: Include gstghostpad.h.
27614
27615         * gst/gst.c (init_post): No more real, ghost pads.
27616
27617         * gst/Makefile.am: Add gstghostpad.[ch].
27618
27619         * check/Makefile.am:
27620         * check/gst/gstbin.c:
27621         * check/gst/gstghostpad.c (test_ghost_pads): Check that linking
27622         into a bin creates ghost pads, and that the refcounts are right.
27623         Partly moved from gstbin.c.
27624
27625 2005-06-08  Thomas Vander Stichele  <thomas at apestaart dot org>
27626
27627         * check/gst-libs/.cvsignore:
27628         * check/gst/.cvsignore:
27629         * check/pipelines/.cvsignore:
27630           ignore more
27631         * check/pipelines/cleanup.c: (setup_pipeline), (run_pipeline),
27632         (START_TEST), (cleanup_suite), (main):
27633           add some tests related to cleanup after running pipelines
27634
27635 2005-06-08  Thomas Vander Stichele  <thomas at apestaart dot org>
27636
27637         * check/gst/gstbuffer.c: (START_TEST), (gst_test_suite), (main):
27638           add a testsuite for GstBuffer
27639
27640 2005-06-08  Thomas Vander Stichele  <thomas at apestaart dot org>
27641
27642         * gst/gstminiobject.h:
27643           add defines for accessing the refcount
27644
27645 2005-06-03  Stefan Kost  <ensonic@users.sf.net>
27646
27647         * Makefile.am: added support for html unit test coverage reports
27648
27649 2005-06-03  Jan Schmidt  <thaytan@mad.scientist.com>
27650
27651         * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
27652           Free existing caps if the capsfilter changes. Add a FIXME about
27653           setting those caps on the pads.
27654
27655         * gst/gstutils.c: (gst_element_get_compatible_pad), (ghost_up):
27656           Before adding a ghost pad to a parent bin, check that there isn't
27657           already one for the element on the bin. Prevents infinite recursion
27658           when using decodebin in parse pipelines. Andy says he'll rewrite the
27659           way this works anyway, so ignore the hack.
27660
27661 2005-06-02  Andy Wingo  <wingo@pobox.com>
27662
27663         * gst/elements/gsttypefindelement.c (do_pull_typefind): Query the
27664         file size, pass it on to the type find helper.
27665
27666         * gst/base/gstbasesrc.c (gst_basesrc_do_seek): Set the
27667         segment_start and segment_end properly according to the seek
27668         method. Segment_end is still a bit flaky because offset can be
27669         negative for CUR and END cases, but it takes -1 as an "unset"
27670         value.
27671
27672 2005-06-02  Wim Taymans  <wim@fluendo.com>
27673
27674         * gst/base/gstbasesink.c: (gst_basesink_pad_buffer_alloc),
27675         (gst_base_sink_buffer_alloc), (gst_basesink_preroll_queue_push),
27676         (gst_basesink_activate):
27677         * gst/base/gstbasesink.h:
27678         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
27679         (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
27680         (gst_pad_query), (gst_pad_start_task):
27681         * gst/gstpad.h:
27682         * gst/gstqueue.c: (gst_queue_bufferalloc),
27683         (gst_queue_handle_sink_event), (gst_queue_chain):
27684         Bufferalloc: return GstFlowReturn to more accuratly report
27685         why allocation failed.
27686
27687 2005-06-02  Wim Taymans  <wim@fluendo.com>
27688
27689         * gst/gstpipeline.c: (gst_pipeline_send_event):
27690         Take snapshot of state without blocking.
27691
27692 2005-06-02  Wim Taymans  <wim@fluendo.com>
27693
27694         * docs/design/part-TODO.txt:
27695         * docs/design/part-caps.txt:
27696         * docs/design/part-clocks.txt:
27697         * docs/design/part-negotiation.txt:
27698         * docs/design/part-preroll.txt:
27699         Small doc updates 
27700
27701 2005-05-30  Wim Taymans  <wim@fluendo.com>
27702
27703         * gst/elements/gstidentity.c: (gst_identity_event),
27704         (gst_identity_transform), (gst_identity_get_property):
27705         Protect last_message property as it is accessed from
27706         multiple threads.
27707
27708 2005-05-30  Wim Taymans  <wim@fluendo.com>
27709
27710         * gst/gstelement.c: (gst_element_init),
27711         (gst_element_pads_activate), (gst_element_change_state):
27712         Slicker pad activation code.
27713
27714 2005-05-30  Wim Taymans  <wim@fluendo.com>
27715
27716         * gst/Makefile.am:
27717         * gst/gstelement.h:
27718         * gst/gstelementfactory.h:
27719         * gst/gsttypes.h:
27720         Move elementfactory methods to separate .h file.
27721
27722 2005-05-30  Wim Taymans  <wim@fluendo.com>
27723
27724         * docs/design/part-overview.txt:
27725         * gst/gstsystemclock.h:
27726         Small typo fixes, doc updates.
27727
27728 2005-05-30  Wim Taymans  <wim@fluendo.com>
27729
27730         * gst/gst.c: (gst_init_get_popt_table), (init_post),
27731         (init_popt_callback):
27732         Remove cpu-opt flag.
27733
27734 2005-05-30  Wim Taymans  <wim@fluendo.com>
27735
27736         * gst/gstbuffer.c: (gst_subbuffer_finalize),
27737         (gst_buffer_create_sub), (gst_buffer_is_span_fast):
27738         * gst/gstbuffer.h:
27739         Avoid typechecking in places where not needed.
27740         Added accessor for malloc_data.
27741
27742 2005-05-30  Wim Taymans  <wim@fluendo.com>
27743
27744         * gst/gstpad.c: (gst_real_pad_init), (gst_pad_set_active),
27745         (gst_pad_link_prepare), (gst_pad_link), (gst_pad_accept_caps),
27746         (gst_pad_configure_sink), (gst_pad_configure_src),
27747         (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_send_event),
27748         (gst_pad_start_task):
27749         Propagate errors from _set_caps() in configure_src/sink
27750         functions instead of returning TRUE.
27751         FLUSH events can travel up and downstream
27752
27753
27754 2005-05-30  Wim Taymans  <wim@fluendo.com>
27755
27756         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
27757         (gst_basesink_activate):
27758         Handle EOS in preroll.
27759
27760 2005-05-30  Wim Taymans  <wim@fluendo.com>
27761
27762         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
27763         (gst_queue_loop), (gst_queue_handle_src_event):
27764         Remove old pieces of code
27765         Flushing the queue in an upstream event is a very bad idea.
27766
27767 2005-05-26  Andy Wingo  <wingo@pobox.com>
27768
27769         * gst/gstminiobject.c (gst_value_mini_object_collect): Use
27770         gst_value_set_mini_object so as to add a ref on the object (which
27771         will be removed when the value is unset).
27772
27773         * gst/elements/gstfakesink.c (gst_fakesink_class_init): Fix signal
27774         arg type in ::handoff.
27775
27776         * gst/gstelement.c (gst_element_change_state): Also deactivate
27777         pads in READY->NULL, just in case the element didn't make it to
27778         PAUSED. Wingo tested, Wim approved.
27779
27780 2005-05-26  Wim Taymans  <wim@fluendo.com>
27781
27782         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
27783         (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
27784         (gst_pad_query), (gst_pad_send_event), (gst_pad_start_task):
27785         A flushing pad cannot be used to alloc_buffer from.
27786
27787 2005-05-26  Wim Taymans  <wim@fluendo.com>
27788
27789         * gst/gstbus.c: (gst_bus_init), (gst_bus_dispose), (gst_bus_post),
27790         (gst_bus_pop), (gst_bus_source_prepare), (gst_bus_source_check),
27791         (gst_bus_source_dispatch), (gst_bus_source_finalize),
27792         (gst_bus_create_watch), (gst_bus_add_watch_full):
27793         * gst/gstbus.h:
27794         Implement a real GSource and use g_main_context_wakeup() to
27795         signal new messages instead of the socketpair.
27796
27797 2005-05-25  Wim Taymans  <wim@fluendo.com>
27798
27799         * gst/gstbin.c: (bin_element_is_sink), (has_ancestor),
27800         (bin_element_is_semi_sink), (append_child), (gst_bin_change_state):
27801         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
27802         (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
27803         (gst_pad_send_event), (gst_pad_start_task):
27804         * gst/gstqueue.c: (gst_queue_init), (gst_queue_locked_flush),
27805         (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
27806         (gst_queue_sink_activate), (gst_queue_src_activate),
27807         (gst_queue_change_state):
27808         * gst/gstqueue.h:
27809         Fix state changes for non sinks. We now change sinks, then elements
27810         with unconnected srcpads, then the rest.
27811         More efficient queue unlocking in flush and state changes.
27812         Set the pad activate mode even if it does not have an activate
27813         function.
27814
27815 2005-05-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
27816
27817         * gst/base/gstbasesrc.c: (gst_basesrc_activate):
27818           Don't go in pull mode for non-seekable sources.
27819         * gst/elements/gsttypefindelement.h:
27820         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
27821         (gst_type_find_element_dispose), (gst_type_find_handle_src_query),
27822         (free_entry), (stop_typefinding),
27823         (gst_type_find_element_handle_event), (find_peek),
27824         (gst_type_find_element_chain), (do_pull_typefind),
27825         (gst_type_find_element_change_state):
27826           Allow typefinding (w/o seeking) in push-mode, simplified version
27827           of what was in 0.8.
27828         * gst/gstutils.c: (gst_buffer_join):
27829         * gst/gstutils.h:
27830           gst_buffer_join() from 0.8.
27831
27832 2005-05-25  Wim Taymans  <wim@fluendo.com>
27833
27834         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
27835         (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
27836         (gst_pad_send_event), (gst_pad_start_task):
27837         Disable attempt at mode switching until it is figured out.
27838
27839 2005-05-25  Wim Taymans  <wim@fluendo.com>
27840
27841         * gst/base/gstadapter.c: (gst_adapter_peek), (gst_adapter_flush):
27842         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
27843         (gst_basesink_finish_preroll), (gst_basesink_chain),
27844         (gst_basesink_loop), (gst_basesink_activate),
27845         (gst_basesink_change_state):
27846         * gst/base/gstbasesrc.c: (gst_basesrc_do_seek),
27847         (gst_basesrc_get_range), (gst_basesrc_loop),
27848         (gst_basesrc_activate):
27849         * gst/elements/gsttee.c: (gst_tee_sink_activate):
27850         * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
27851         (gst_real_pad_init), (gst_real_pad_set_property),
27852         (gst_real_pad_get_property), (gst_pad_set_active),
27853         (gst_pad_is_active), (gst_pad_get_query_types), (gst_pad_unlink),
27854         (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_real_parent),
27855         (gst_real_pad_get_caps_unlocked), (gst_pad_peer_get_caps),
27856         (gst_pad_accept_caps), (gst_pad_get_peer), (gst_pad_realize),
27857         (gst_pad_event_default_dispatch), (gst_pad_event_default),
27858         (gst_pad_dispatcher), (gst_pad_query), (gst_real_pad_dispose),
27859         (gst_pad_save_thyself), (handle_pad_block), (gst_pad_chain),
27860         (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
27861         (gst_pad_send_event), (gst_pad_start_task), (gst_pad_pause_task),
27862         (gst_pad_stop_task):
27863         * gst/gstpad.h:
27864         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
27865         (gst_queue_loop), (gst_queue_src_activate):
27866         * gst/gsttask.c: (gst_task_init), (gst_task_set_lock),
27867         (gst_task_get_state):
27868         * gst/gsttask.h:
27869         * gst/schedulers/threadscheduler.c:
27870         (gst_thread_scheduler_task_start), (gst_thread_scheduler_func):
27871         Implement gst_pad_pause/start/stop_task(), take STREAM lock
27872         in task function.
27873         Remove ACTIVE pad flag, use FLUSHING everywhere
27874         Added _pad_chain(), _pad_get_range() to call chain/getrange 
27875         functions.
27876         Add locks around IS_FLUSHING when reading.
27877         Take STREAM lock in chain(), get_range() functions so plugins
27878         don't need to take it anymore.
27879         
27880
27881
27882 2005-05-25  Wim Taymans  <wim@fluendo.com>
27883
27884         * tools/gst-launch.c: (event_loop):
27885         Unref message after using its contents instead of
27886         before.
27887
27888 2005-05-24  Wim Taymans  <wim@fluendo.com>
27889
27890         * docs/design/draft-ghostpads.txt:
27891         * docs/design/draft-push-pull.txt:
27892         * docs/design/draft-query.txt:
27893         * docs/design/part-overview.txt:
27894         Docs updates, added general overview doc.
27895
27896 2005-05-21  David Schleef  <ds@schleef.org>
27897
27898         * docs/gst/tmpl/old/GstBin.sgml:
27899         * docs/gst/tmpl/old/GstBuffer.sgml:
27900         * docs/gst/tmpl/old/GstCaps.sgml:
27901         * docs/gst/tmpl/old/GstClock.sgml:
27902         * docs/gst/tmpl/old/GstCompat.sgml:
27903         * docs/gst/tmpl/old/GstData.sgml:
27904         * docs/gst/tmpl/old/GstElement.sgml:
27905         * docs/gst/tmpl/old/GstEvent.sgml:
27906         * docs/gst/tmpl/old/GstIndex.sgml:
27907         * docs/gst/tmpl/old/GstStructure.sgml:
27908         * docs/gst/tmpl/old/GstTag.sgml:
27909         * docs/gst/tmpl/old/cothreads.sgml:
27910         * docs/gst/tmpl/old/cothreads_compat.sgml:
27911         * docs/gst/tmpl/old/gettext.sgml:
27912         * docs/gst/tmpl/old/gobject2gtk.sgml:
27913         * docs/gst/tmpl/old/grammar.tab.sgml:
27914         * docs/gst/tmpl/old/gst-i18n-app.sgml:
27915         * docs/gst/tmpl/old/gst-i18n-lib.sgml:
27916         * docs/gst/tmpl/old/gst_private.sgml:
27917         * docs/gst/tmpl/old/gstaggregator.sgml:
27918         * docs/gst/tmpl/old/gstarch.sgml:
27919         * docs/gst/tmpl/old/gstatomic_impl.sgml:
27920         * docs/gst/tmpl/old/gstbufferstore.sgml:
27921         * docs/gst/tmpl/old/gstdata_private.sgml:
27922         * docs/gst/tmpl/old/gstdisksink.sgml:
27923         * docs/gst/tmpl/old/gstdisksrc.sgml:
27924         * docs/gst/tmpl/old/gstelementfactory.sgml:
27925         * docs/gst/tmpl/old/gstextratypes.sgml:
27926         * docs/gst/tmpl/old/gstfakesink.sgml:
27927         * docs/gst/tmpl/old/gstfakesrc.sgml:
27928         * docs/gst/tmpl/old/gstfdsink.sgml:
27929         * docs/gst/tmpl/old/gstfdsrc.sgml:
27930         * docs/gst/tmpl/old/gstfilesink.sgml:
27931         * docs/gst/tmpl/old/gstfilesrc.sgml:
27932         * docs/gst/tmpl/old/gsthttpsrc.sgml:
27933         * docs/gst/tmpl/old/gstidentity.sgml:
27934         * docs/gst/tmpl/old/gstindexfactory.sgml:
27935         * docs/gst/tmpl/old/gstmarshal.sgml:
27936         * docs/gst/tmpl/old/gstmd5sink.sgml:
27937         * docs/gst/tmpl/old/gstmultidisksrc.sgml:
27938         * docs/gst/tmpl/old/gstmultifilesrc.sgml:
27939         * docs/gst/tmpl/old/gstpadtemplate.sgml:
27940         * docs/gst/tmpl/old/gstpipefilter.sgml:
27941         * docs/gst/tmpl/old/gstschedulerfactory.sgml:
27942         * docs/gst/tmpl/old/gstsearchfuncs.sgml:
27943         * docs/gst/tmpl/old/gstshaper.sgml:
27944         * docs/gst/tmpl/old/gstspider.sgml:
27945         * docs/gst/tmpl/old/gstspideridentity.sgml:
27946         * docs/gst/tmpl/old/gststatistics.sgml:
27947         * docs/gst/tmpl/old/gsttee.sgml:
27948         * docs/gst/tmpl/old/gsttimecache.sgml:
27949         * docs/gst/tmpl/old/gsttypefindfactory.sgml:
27950         * docs/gst/tmpl/old/gstxmlregistry.sgml:
27951         * docs/gst/tmpl/old/gthread-cothreads.sgml:
27952         * docs/gst/tmpl/old/types.sgml:
27953           I didn't intend to add these or check them in.
27954
27955 2005-05-19  David Schleef  <ds@schleef.org>
27956
27957         * configure.ac: Use -no-common everywhere.  In a sane world, it
27958           would be the default in libtool, because without it, you can't
27959           build DLLs on Windows.
27960         * docs/gst/gstreamer-docs.sgml: Remove GstCpu, GstData, GstThread
27961         * docs/gst/gstreamer-sections.txt:
27962         * docs/gst/tmpl/gstcpu.sgml:
27963         * docs/gst/tmpl/gstdata.sgml:
27964         * docs/gst/tmpl/gstthread.sgml:
27965
27966 2005-05-19  David Schleef  <ds@schleef.org>
27967
27968         * gst/gstminiobject.c: (gst_value_set_mini_object),
27969         (gst_value_take_mini_object), (gst_value_get_mini_object):
27970         * gst/gstminiobject.h: Add GValue set/get functions.
27971
27972 2005-05-19  Wim Taymans  <wim@fluendo.com>
27973
27974         * gst/gstbuffer.c: (gst_buffer_init), (gst_subbuffer_get_type),
27975         (gst_subbuffer_class_init), (gst_subbuffer_finalize),
27976         (gst_subbuffer_init), (gst_buffer_is_span_fast):
27977         * gst/gstbuffer.h:
27978         * gst/gstbus.c: (gst_bus_post):
27979         * gst/gstelement.c: (gst_element_get_random_pad):
27980         * gst/gstmessage.c: (gst_message_init), (gst_message_finalize):
27981         Make subbufer unref the parent in finalize.
27982         some more debugging info.
27983
27984
27985 2005-05-19  Wim Taymans  <wim@fluendo.com>
27986
27987         * gst/base/gstbasesink.c: (gst_basesink_class_init),
27988         (gst_basesink_init), (gst_basesink_finalize),
27989         (gst_basesink_activate), (gst_basesink_change_state):
27990         Don't free preroll queue too early.
27991
27992 2005-05-19  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
27993
27994         * gst/Makefile.am:
27995         * gst/ROADMAP:
27996           Hi, I'm outdated. Please shoot me.
27997
27998 2005-05-19  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
27999
28000         * gst/gstpipeline.c: (gst_pipeline_send_event):
28001           Do not access variables after they have been deleted.
28002
28003 2005-05-19  Wim Taymans  <wim@fluendo.com>
28004
28005         * tools/gst-inspect.c: (print_plugin_features):
28006         A plugin feature does unfortunatly not use the
28007         object name yet...
28008
28009 2005-05-18  Wim Taymans  <wim@fluendo.com>
28010
28011         * gst/gstbuffer.c: (gst_buffer_is_span_fast), (gst_buffer_span):
28012         Port _span() functions to new subbuffers.
28013
28014 2005-05-18  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
28015
28016         * gst/gstbin.c: (gst_bin_add_func):
28017           Fix clock settery in bins when adding kids after the clock has
28018           been selected.
28019
28020 2005-05-18  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
28021
28022         * gst/elements/gstidentity.c: (gst_identity_class_init):
28023           Workaround until signals support GstMiniObject.
28024
28025 2005-05-18  Jan Schmidt  <thaytan@mad.scientist.com>
28026
28027         * gst/gstbuffer.c:
28028         Oops, fix a typo GST_TYPE_BUFFER -> GST_TYPE_SUBBUFFER.
28029
28030 2005-05-18  Wim Taymans  <wim@fluendo.com>
28031
28032         * gst/base/Makefile.am:
28033         * gst/base/gstadapter.c: (gst_adapter_base_init),
28034         (gst_adapter_class_init), (gst_adapter_init),
28035         (gst_adapter_dispose), (gst_adapter_finalize), (gst_adapter_new),
28036         (gst_adapter_clear), (gst_adapter_push), (gst_adapter_peek),
28037         (gst_adapter_flush), (gst_adapter_available),
28038         (gst_adapter_available_fast):
28039         * gst/base/gstadapter.h:
28040         Ported and added adapter to the base classes.
28041
28042 2005-05-17  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
28043
28044         * gst/gst.c:
28045         * gst/gstmessage.c:
28046           Make sure the class is reffed/unreffed once before threads can be
28047           used.  Fixes #304551.
28048
28049 2005-05-17  Wim Taymans  <wim@fluendo.com>
28050
28051         * gst/base/gstbasesink.c: (gst_basesink_finish_preroll),
28052         (gst_basesink_chain_unlocked), (gst_basesink_activate):
28053         * gst/gstminiobject.c: (gst_mini_object_get_type),
28054         (gst_mini_object_free):
28055         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query),
28056         (gst_pad_push), (gst_pad_push_event):
28057         * gst/gstqueue.c: (gst_queue_change_state):
28058         Don't queue buffers in basesink when we are flushing.
28059         Unref buffer when flushing in basesink.
28060         Flush queue when going to READY
28061         Unref buffer when _push() returns an error.
28062         Don't free MiniObject instance when refcount is incremented
28063         in _finalize() so that we can recover objects.
28064
28065 2005-05-17  Thomas Vander Stichele  <thomas at apestaart dot org>
28066
28067         * docs/manual/advanced-schedulers.xml:
28068         * docs/manual/appendix-checklist.xml:
28069         * docs/pwg/advanced-clock.xml:
28070         * docs/pwg/advanced-interfaces.xml:
28071         * docs/pwg/advanced-request.xml:
28072         * docs/pwg/advanced-types.xml:
28073         * docs/pwg/intro-preface.xml:
28074         * examples/plugins/example.c: (gst_example_get_type),
28075         (gst_example_class_init), (gst_example_chain),
28076         (gst_example_set_property), (gst_example_get_property),
28077         (gst_example_change_state), (plugin_init):
28078         * examples/plugins/example.h:
28079           small doc fixes
28080
28081 2005-05-17  Wim Taymans  <wim@fluendo.com>
28082
28083         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps),
28084         (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_push):
28085         * gst/gstqueue.c: (gst_queue_change_state):
28086         Clear queue when going to READY.
28087         Remove IN_SETCAPS flag too.
28088
28089 2005-05-17  Tim-Philipp Müller  <tim at centricular dot net>
28090
28091         * gst/base/gstbasesrc.c: (gst_basesrc_change_state):
28092           Remove implicit cast from gboolean to GstElementStateReturn;
28093           make sure we still return failure in paused => ready case if
28094           the parent class fails to change state and our own stop 
28095           vfunc succeeds.
28096
28097 2005-05-17  Wim Taymans  <wim@fluendo.com>
28098
28099         * tools/gst-launch.c: (event_loop):
28100         Message was unreffed too soon.
28101
28102 2005-05-16  Andy Wingo  <wingo@pobox.com>
28103
28104         * gst/gstbin.c (sink_iterator_filter): Err... um...
28105
28106         * check/gst/gstbin.c (test_ghost_pads): New test for the
28107         ghosting-if-elements-not-in-same-bin behavior.
28108
28109 2005-05-16  David Schleef  <ds@schleef.org>
28110
28111         * gst/gstminiobject.c: Use g_atomic_int_get() instead of
28112         accessing refcount directly.
28113
28114 2005-05-15  David Schleef  <ds@schleef.org>
28115
28116         * check/Makefile.am: remove GstData checks
28117         * check/gst-libs/gdp.c: (START_TEST): fix for API changes
28118         * gst/Makefile.am: add miniobject, remove data
28119         * gst/gst.h: add miniobject, remove data
28120         * gst/gstdata.c: remove
28121         * gst/gstdata.h: remove
28122         * gst/gstdata_private.h: remove
28123         * gst/gsttypes.h: remove GstEvent and GstMessage
28124         * gst/gstelement.c: (gst_element_post_message): fix for API changes
28125         * gst/gstmarshal.list: change BOXED -> OBJECT
28126
28127         Implement GstMiniObject.
28128         * gst/gstminiobject.c:
28129         * gst/gstminiobject.h:
28130
28131         Modify to be subclasses of GstMiniObject.
28132         * gst/gstbuffer.c: (_gst_buffer_initialize), (gst_buffer_get_type),
28133         (gst_buffer_class_init), (gst_buffer_finalize), (_gst_buffer_copy),
28134         (gst_buffer_init), (gst_buffer_new), (gst_buffer_new_and_alloc),
28135         (gst_subbuffer_get_type), (gst_subbuffer_init),
28136         (gst_buffer_create_sub), (gst_buffer_is_span_fast),
28137         (gst_buffer_span):
28138         * gst/gstbuffer.h:
28139         * gst/gstevent.c: (_gst_event_initialize), (gst_event_get_type),
28140         (gst_event_class_init), (gst_event_init), (gst_event_finalize),
28141         (_gst_event_copy), (gst_event_new):
28142         * gst/gstevent.h:
28143         * gst/gstmessage.c: (_gst_message_initialize),
28144         (gst_message_get_type), (gst_message_class_init),
28145         (gst_message_init), (gst_message_finalize), (_gst_message_copy),
28146         (gst_message_new), (gst_message_new_error),
28147         (gst_message_new_warning), (gst_message_new_tag),
28148         (gst_message_new_state_changed), (gst_message_new_application):
28149         * gst/gstmessage.h:
28150         * gst/gstprobe.c: (gst_probe_perform),
28151         (gst_probe_dispatcher_dispatch):
28152         * gst/gstprobe.h:
28153         * gst/gstquery.c: (_gst_query_initialize), (gst_query_get_type),
28154         (gst_query_class_init), (gst_query_finalize), (gst_query_init),
28155         (_gst_query_copy), (gst_query_new):
28156
28157         Update elements for GstData -> GstMiniObject changes
28158         * gst/gstquery.h:
28159         * gst/gstqueue.c: (gst_queue_finalize), (gst_queue_locked_flush),
28160         (gst_queue_chain), (gst_queue_loop):
28161         * gst/elements/gstbufferstore.c:
28162         (gst_buffer_store_add_buffer_func),
28163         (gst_buffer_store_cleared_func), (gst_buffer_store_get_buffer):
28164         * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
28165         (gst_fakesink_render):
28166         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
28167         * gst/elements/gstfilesrc.c: (gst_mmap_buffer_get_type),
28168         (gst_mmap_buffer_class_init), (gst_mmap_buffer_init),
28169         (gst_mmap_buffer_finalize), (gst_filesrc_map_region),
28170         (gst_filesrc_create_read):
28171         * gst/elements/gstidentity.c: (gst_identity_class_init):
28172         * gst/elements/gsttypefindelement.c:
28173         (gst_type_find_element_src_event), (free_entry_buffers),
28174         (gst_type_find_element_handle_event):
28175         * libs/gst/dataprotocol/dataprotocol.c:
28176         (gst_dp_header_from_buffer):
28177         * libs/gst/dataprotocol/dataprotocol.h:
28178         * libs/gst/dataprotocol/dp-private.h:
28179
28180 2005-05-15  David Schleef  <ds@schleef.org>
28181
28182         * gst/elements/gstelements.c: Don't include headers that were
28183         just removed.
28184
28185 2005-05-15  David Schleef  <ds@schleef.org>
28186
28187         * gst/elements/Makefile.am: Remove some elements that don't
28188         need to be in the core (or even exist at all).
28189         * gst/elements/gstaggregator.c:
28190         * gst/elements/gstaggregator.h:
28191         * gst/elements/gstmd5sink.c:
28192         * gst/elements/gstmd5sink.h:
28193         * gst/elements/gstmultifilesrc.c:
28194         * gst/elements/gstmultifilesrc.h:
28195         * gst/elements/gstpipefilter.c:
28196         * gst/elements/gstpipefilter.h:
28197         * gst/elements/gstshaper.c:
28198         * gst/elements/gstshaper.h:
28199         * gst/elements/gststatistics.c:
28200         * gst/elements/gststatistics.h:
28201         * po/POTFILES.in: Remove above files.
28202
28203 2005-05-14  Andy Wingo  <wingo@pobox.com>
28204
28205         * gst/gstbin.c (gst_bin_iterate_sinks): Use sink_iterator_filter
28206         so as to get the refs right.
28207         (sink_iterator_filter): New function, wraps bin_element_is_sink,
28208         unreffing objects that don't pass the filter.
28209
28210         * gst/gstpipeline.c (gst_pipeline_init): Drop ref on bus after
28211         gst_element_set_bus.
28212         (gst_pipeline_dispose): Set the bus on the pipeline to NULL. In
28213         normal cases, this will destroy the bus.
28214
28215         * gst/gstutils.c (prepare_link_maybe_ghosting): Drop ref on root
28216         object.
28217
28218         * gst/gstbin.c (gst_bin_change_state): Fix state changes if a bin
28219         has no sinks.
28220
28221 2005-05-13  Andy Wingo  <wingo@pobox.com>
28222
28223         * gst/gstutils.c (gst_element_link_pads): Instead of calling
28224         gst_pad_link, call pad_link_maybe_ghosting,
28225         (pad_link_maybe_ghosting): Links pads, making sure that the
28226         elements being linked are in the same bin.
28227         (find_common_root, object_has_ancestor, ghost_up, remove_pad):
28228         Helpers for pad_link_maybe_ghosting.
28229
28230 2005-05-13  Tim-Philipp Müller  <tim at centricular dot net>
28231
28232         * configure.ac:
28233           Require GLib >= 2.4.0 (for the g_atomic_* funcs)
28234
28235 2005-05-13  Tim-Philipp Müller  <tim at centricular dot net>
28236
28237         * docs/design/part-element-source.txt:
28238           Mention GstPushSrc
28239
28240 2005-05-12  Wim Taymans  <wim@fluendo.com>
28241
28242         * gst/base/gstbasesink.c: (gst_basesink_init),
28243         (gst_basesink_activate):
28244         * gst/base/gstbasesrc.c: (gst_basesrc_unlock),
28245         (gst_basesrc_is_seekable):
28246         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
28247         (bin_element_is_sink), (gst_bin_change_state):
28248         * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
28249         * gst/gstelement.h:
28250         Identify sinks by their flag to avoid overly complicated
28251         checks (fow now).
28252         Do state changes even for elements not reachable from the
28253         sinks.
28254         BaseSink is a sink now :)
28255         Some more debugging info in the basesrc.
28256
28257
28258 2005-05-12  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
28259
28260         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_query):
28261           Implement _query on a bin, similar to _send_event.
28262
28263 2005-05-12  Tim-Philipp Müller  <tim at centricular dot net>
28264
28265         * gst/base/gstbasesrc.c: (gst_basesrc_do_seek):
28266           Discont event offset format should be GST_FORMAT_BYTES,
28267           not GST_FORMAT_TIME.
28268
28269 2005-05-12  Wim Taymans  <wim@fluendo.com>
28270
28271         * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_get_state):
28272         Same fix as Ronald's but without the signal. 
28273
28274 2005-05-12  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
28275
28276         * gst/gstutils.c: (gst_element_query_position):
28277           No, an element is not a pad.
28278
28279 2005-05-12  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
28280
28281         * gst/gstbin.c: (gst_bin_add_func), (cb_parent_unset),
28282         (gst_bin_get_state):
28283           If a child is removed from a bin while we remove the child from
28284           the bin and while we're retrieving its state, signal this to the
28285           get_state function so we abort the wait (instead of waiting for
28286           a timeout) and can immediately re-iterate over all other elements.
28287
28288 2005-05-12  Wim Taymans  <wim@fluendo.com>
28289
28290         * gst/base/Makefile.am:
28291         * gst/base/gstbasesrc.c: (gst_basesrc_is_seekable),
28292         (gst_basesrc_start):
28293         * gst/base/gstbasesrc.h:
28294         * gst/base/gstpushsrc.c: (gst_pushsrc_get_type),
28295         (gst_pushsrc_base_init), (gst_pushsrc_class_init),
28296         (gst_pushsrc_init), (gst_pushsrc_create):
28297         * gst/base/gstpushsrc.h:
28298         Added is_seekable to BaseSrc
28299         Added simple PushSrc.
28300
28301 2005-05-11  Wim Taymans  <wim@fluendo.com>
28302
28303         * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
28304         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
28305         (gst_element_link_pads), (gst_element_query_position),
28306         (gst_element_query_convert), (intersect_caps_func),
28307         (gst_pad_query_position), (gst_pad_query_convert):
28308         Fix refcounting in utils function.
28309         No point in trying to activate a pad when it's added, it could
28310         be added from the state change function and then we deadlock, the
28311         element has to decide what to do.
28312
28313 2005-05-10  Andy Wingo  <wingo@pobox.com>
28314
28315         * gst/elements/gstfakesink.c (gst_fakesink_render): Er, emit with
28316         *all* the arguments.
28317
28318         * gst/base/gstbasetransform.c (gst_base_transform_event): Grab the
28319         stream lock if it's a FLUSH_DONE; normal flushes don't get the
28320         lock (according to the docs -- if this is wrong change the docs).
28321
28322         * gst/gstpipeline.c (gst_pipeline_change_state): Set the bus to
28323         flush messages in the NULL state.
28324
28325         * gst/gstbus.c (gst_bus_post): If a bus is flushing, unref the
28326         message immediately and return.
28327         (gst_bus_set_flushing): New function. If a bus is flushing, it
28328         flushes out any queued messages and immediately unrefs new
28329         messages. This is so when an element goes to NULL, all of the
28330         unhandled messages coming from it can be freed, and their
28331         references to the element dropped. In other words: message source
28332         ref considered harmful :P
28333
28334         * gst/gstbin.c (gst_bin_change_state): Unref peer element when
28335         we're finished with it.
28336
28337         * gst/gstmessage.c (gst_message_new_state_changed): 
28338
28339 2005-05-10  Wim Taymans  <wim@fluendo.com>
28340
28341         * gst/gstvalue.c: (gst_value_compare_flags),
28342         (gst_value_serialize_flags), (gst_value_deserialize_flags),
28343         (_gst_value_initialize):
28344         Added flags serialize/deserialize/compare code.
28345
28346 2005-05-09  Andy Wingo  <wingo@pobox.com>
28347
28348         * gst/base/gstbasetransform.c (gst_base_transform_proxy_getcaps):
28349         Intersect the peer's caps with our caps.
28350
28351 2005-05-09  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
28352
28353         * gst/base/gsttypefindhelper.c: (helper_find_peek):
28354         * gst/elements/gsttypefindelement.c: (find_peek):
28355           Handle negative offsets better. Fixes decodebin.
28356
28357 2005-05-09  Wim Taymans  <wim@fluendo.com>
28358
28359         * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps),
28360         (gst_base_transform_event):
28361         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query):
28362         Implement accept_caps.
28363         Fix silly lock/unlock mismatch in base class.
28364
28365 2005-05-09  Wim Taymans  <wim@fluendo.com>
28366
28367         * docs/design/draft-push-pull.txt:
28368         * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_query):
28369         * gst/elements/gstfilesink.c: (gst_filesink_init),
28370         (gst_filesink_query):
28371         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
28372         (gst_type_find_handle_src_query), (find_element_get_length):
28373         * gst/gstelement.c: (gst_element_seek), (gst_element_query):
28374         * gst/gstelement.h:
28375         * gst/gstmessage.c:
28376         * gst/gstmessage.h:
28377         * gst/gstpad.c: (gst_real_pad_init), (gst_pad_get_query_types),
28378         (gst_real_pad_get_caps_unlocked),
28379         (gst_pad_get_internal_links_default), (gst_pad_get_internal_links),
28380         (gst_pad_event_default_dispatch), (gst_pad_event_default),
28381         (gst_pad_dispatcher), (gst_pad_query), (gst_pad_query_default),
28382         (gst_real_pad_dispose), (gst_real_pad_finalize),
28383         (gst_pad_load_and_link), (gst_pad_save_thyself),
28384         (gst_ghost_pad_save_thyself), (handle_pad_block), (gst_pad_push),
28385         (gst_pad_check_pull_range), (gst_pad_pull_range),
28386         (gst_pad_template_get_type), (gst_pad_template_class_init),
28387         (gst_pad_template_init), (gst_pad_template_dispose),
28388         (name_is_valid), (gst_static_pad_template_get),
28389         (gst_pad_template_new), (gst_static_pad_template_get_caps),
28390         (gst_pad_template_get_caps), (gst_pad_set_element_private),
28391         (gst_pad_get_element_private), (gst_pad_start_task),
28392         (gst_pad_pause_task), (gst_pad_stop_task),
28393         (gst_ghost_pad_get_type), (gst_ghost_pad_class_init),
28394         (gst_ghost_pad_init), (gst_ghost_pad_dispose),
28395         (gst_ghost_pad_set_property), (gst_ghost_pad_get_property),
28396         (gst_ghost_pad_new):
28397         * gst/gstpad.h:
28398         * gst/gstquery.c: (_gst_query_initialize), (gst_query_new),
28399         (gst_query_new_position), (gst_query_set_position),
28400         (gst_query_parse_position), (gst_query_new_convert),
28401         (gst_query_set_convert), (gst_query_parse_convert):
28402         * gst/gstquery.h:
28403         * gst/gstqueryutils.c:
28404         * gst/gstqueryutils.h:
28405         * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
28406         (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
28407         (gst_queue_handle_src_query):
28408         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
28409         (gst_element_query_position), (gst_element_query_convert),
28410         (intersect_caps_func), (gst_pad_query_position),
28411         (gst_pad_query_convert):
28412         * gst/gstutils.h:
28413         * tools/gst-inspect.c: (print_pad_info):
28414         * tools/gst-xmlinspect.c: (print_element_info):
28415         Remove old query functions. Ported old code.
28416         Added position/convert helper functions to gstutils.
28417         Reordered gstpad.c code, grouping relevant things.
28418         Remove gst_message_new(), always need to speficy a specific
28419         message.
28420
28421
28422 2005-05-09  Andy Wingo  <wingo@pobox.com>
28423
28424         * gst/gstiterator.h: Add some includes.
28425
28426         * gst/gstqueryutils.h: Include more headers.
28427
28428         * gst/gstpad.h:
28429         * gst/gstpad.c (gst_pad_query_position): New routine, replaces
28430         some uses of gst_pad_query.
28431
28432         * gst/gstqueryutils.c: Build fixes. Make parse functions ignore
28433         NULL out parameters.
28434         (gst_query_new_position): New proc, allocates a new position
28435         query.
28436
28437         * gst/Makefile.am (libgstreamer_@GST_MAJORMINOR@_la_SOURCES): Add
28438         gstqueryutils.c to the build.
28439
28440         * gst/gststructure.c (gst_structure_set_valist): Implement with
28441         the generic G_VALUE_COLLECT.
28442         
28443 2005-05-08  Edward Hervey  <bilboed@bilboed.com>
28444
28445         * gst/Makefile.am: (gst_headers):
28446         Added gstqueryutils.h to the list of headers to install, that was
28447         a 'nachty' move wingo :)
28448
28449 2005-05-06  Andy Wingo  <wingo@pobox.com>
28450
28451         * gst/gstquery.h
28452         * gst/gstquery.c (_gst_query_initialize): Extend GstQuery from
28453         GstData, init a memchunk.
28454         (standard_definitions): Add a few query types, deprecate a few.
28455         (gst_query_get_type): New proc.
28456         (_gst_query_copy, _gst_query_free, gst_query_new): GstData
28457         implementation.
28458         (gst_query_new_application, gst_query_get_structure): New public
28459         procs.
28460
28461         * docs/design/draft-query.txt: Removed LINKS from the query types,
28462         because all the rest can be dispatched to other pads -- seemed
28463         ugly to have a query that couldn't be dispatched. internal_links
28464         is fine as a pad method.
28465
28466         * gst/gstpad.h: Add query2 as a pad method, add the new functions
28467         in gstpad.c, but maintain binary compatibility for the moment.
28468         Will fix before 0.9 is out.
28469
28470         * gst/gstqueryutils.c: 
28471         * gst/gstqueryutils.h: New files, implement 3 methods for each
28472         query type: parse_query, parse_response, and set. Probably need an
28473         allocator as well.
28474
28475         * gst/gst.h: Add gstquery.h and gstqueryutils.h to the list.
28476
28477         * gst/elements/gstfilesink.c (gst_filesink_query2):
28478         * gst/base/gstbasesrc.c (gst_basesrc_query2): Replace old query,
28479         query_types, and formats methods.
28480
28481         * gst/gstpad.c (gst_pad_query2, gst_pad_query2_default)
28482         (gst_pad_set_query2_function): New functions.
28483         (gst_real_pad_init): Set query2_default as the default query2
28484         function. Basically just dispatches to internally linked pads.
28485
28486         Needs review!
28487         
28488         * gst/gstdata_private.h (_GST_DATA_INIT): Set data->refcount to 1
28489         without using the atomic operations. Only one thread can possibly
28490         be accessing the data at this point. Changed so as to avoid
28491         gst_atomic operations.
28492
28493 2005-05-06  Wim Taymans  <wim@fluendo.com>
28494
28495         * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push):
28496         Also set caps if we use the fallback buffer alloc.
28497
28498 2005-05-06  Tim-Philipp Müller  <tim at centricular dot net>
28499
28500         * docs/gst/Makefile.am:
28501         * docs/gst/gstreamer-docs.sgml:
28502         * docs/gst/gstreamer-sections.txt:
28503         * docs/gst/tmpl/gstatomic.sgml:
28504         * docs/gst/tmpl/gstmemchunk.sgml:
28505         * testsuite/elements/struct_i386.h:
28506         * win32/GStreamer.vcproj:
28507         * win32/Makefile:
28508           Purge GstAtomic stuff from docs and win32 makefiles as well
28509
28510 2005-05-06  Wim Taymans  <wim@fluendo.com>
28511
28512         * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps):
28513         * gst/elements/gstcapsfilter.c: (gst_capsfilter_getcaps):
28514         * gst/gstpad.c: (gst_pad_peer_get_caps):
28515         * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
28516         (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
28517         (gst_queue_src_activate), (gst_queue_change_state):
28518         * gst/gstqueue.h:
28519         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
28520         (intersect_caps_func):
28521         Fix gst_pad_peer_get_caps(), make it return NULL if no peer.
28522         Always take QUEUE_LOCK after STREAM_LOCK or we might deadlock.
28523         Some fixes for the peer_get_caps() change.
28524
28525 2005-05-06  Wim Taymans  <wim@fluendo.com>
28526
28527         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
28528         (gst_basesink_handle_buffer), (gst_basesink_chain_unlocked),
28529         (gst_basesink_activate):
28530         Actually do something with error codes returned from the push
28531         functions.
28532
28533 2005-05-06  Wim Taymans  <wim@fluendo.com>
28534
28535         * docs/design/part-element-sink.txt:
28536         * docs/design/part-element-source.txt:
28537         * gst/base/gstbasesink.c: (gst_basesink_class_init),
28538         (gst_basesink_event), (gst_basesink_activate):
28539         * gst/base/gstbasesink.h:
28540         * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_unlock),
28541         (gst_basesrc_activate):
28542         * gst/base/gstbasesrc.h:
28543         * gst/gstelement.c: (gst_element_pads_activate):
28544         Some more documentation.
28545         Fixed scheduling decision in _pads_activate().
28546
28547 2005-05-05  Andy Wingo  <wingo@pobox.com>
28548
28549         * check/pipelines/simple_launch_lines.c (test_2_elements): "Fix"
28550         the test suite.
28551
28552 2005-05-05  Wim Taymans  <wim@fluendo.com>
28553
28554         * gst/base/Makefile.am:
28555         * gst/base/gstbasesink.h:
28556         * gst/base/gstbasesrc.c: (gst_basesrc_init),
28557         (gst_basesrc_set_dataflow_funcs), (gst_basesrc_query):
28558         * gst/base/gstcollectpads.c: (gst_collectpads_get_type),
28559         (gst_collectpads_class_init), (gst_collectpads_init),
28560         (gst_collectpads_finalize), (gst_collectpads_new),
28561         (gst_collectpads_set_function), (gst_collectpads_add_pad),
28562         (find_pad), (gst_collectpads_remove_pad),
28563         (gst_collectpads_is_active), (gst_collectpads_collect),
28564         (gst_collectpads_collect_range), (gst_collectpads_start),
28565         (gst_collectpads_stop), (gst_collectpads_peek),
28566         (gst_collectpads_pop), (gst_collectpads_available),
28567         (gst_collectpads_read), (gst_collectpads_flush),
28568         (gst_collectpads_chain):
28569         * gst/base/gstcollectpads.h:
28570         * gst/elements/Makefile.am:
28571         * gst/elements/gstelements.c:
28572         * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
28573         (gst_fakesink_get_times), (gst_fakesink_event),
28574         (gst_fakesink_preroll), (gst_fakesink_render):
28575         * gst/elements/gstfilesink.c: (gst_filesink_class_init),
28576         (gst_filesink_init), (gst_filesink_set_location),
28577         (gst_filesink_open_file), (gst_filesink_close_file),
28578         (gst_filesink_pad_query), (gst_filesink_event),
28579         (gst_filesink_render), (gst_filesink_change_state):
28580         * gst/elements/gstfilesink.h:
28581         Added object to help in making collect pad based elements.
28582         Ported filesink.
28583         Make event function in sink baseclass return gboolean.
28584
28585 2005-05-05  Wim Taymans  <wim@fluendo.com>
28586
28587         * gst/gstbin.c: (gst_bin_send_event), (compare_name),
28588         (gst_bin_get_by_name):
28589         * gst/gstbuffer.h:
28590         * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_class_init),
28591         (gst_clock_finalize):
28592         * gst/gstdata.c: (gst_data_replace):
28593         * gst/gstdata.h:
28594         * gst/gstelement.c: (gst_element_request_pad),
28595         (gst_element_pads_activate):
28596         * gst/gstobject.c: (gst_object_init), (gst_object_ref),
28597         (gst_object_unref):
28598         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
28599         (gst_pad_set_checkgetrange_function),
28600         (gst_pad_link_check_compatible_unlocked), (gst_pad_set_caps),
28601         (gst_pad_check_pull_range), (gst_pad_pull_range),
28602         (gst_static_pad_template_get_caps), (gst_pad_start_task),
28603         (gst_pad_pause_task), (gst_pad_stop_task):
28604         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
28605         (gst_element_request_pad), (gst_pad_proxy_getcaps):
28606         Fix name lookup in GstBin.
28607         Added _data_replace() function and _buffer_replace()
28608         Use finalize method to clean up clock.
28609         Fix refcounting on request pads.
28610         Fix pad schedule mode error.
28611         Some more object refcounting debug info,
28612
28613
28614 2005-05-04  Andy Wingo <wingo@pobox.com>
28615
28616         * check/Makefile.am:
28617         * docs/gst/tmpl/gstatomic.sgml:
28618         * docs/gst/tmpl/gstplugin.sgml:
28619         * gst/base/gstbasesink.c: (gst_basesink_activate):
28620         * gst/base/gstbasesrc.c: (gst_basesrc_class_init),
28621         (gst_basesrc_init), (gst_basesrc_set_dataflow_funcs),
28622         (gst_basesrc_query), (gst_basesrc_set_property),
28623         (gst_basesrc_get_property), (gst_basesrc_check_get_range),
28624         (gst_basesrc_activate):
28625         * gst/base/gstbasesrc.h:
28626         * gst/base/gstbasetransform.c: (gst_base_transform_sink_activate),
28627         (gst_base_transform_src_activate):
28628         * gst/elements/gstelements.c:
28629         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
28630         (gst_fakesrc_set_property), (gst_fakesrc_get_property):
28631         * gst/elements/gsttee.c: (gst_tee_sink_activate):
28632         * gst/elements/gsttypefindelement.c: (find_element_get_length),
28633         (gst_type_find_element_checkgetrange),
28634         (gst_type_find_element_activate):
28635         * gst/gstbin.c: (gst_bin_save_thyself), (gst_bin_restore_thyself):
28636         * gst/gstcaps.c: (gst_caps_do_simplify), (gst_caps_save_thyself),
28637         (gst_caps_load_thyself):
28638         * gst/gstelement.c: (gst_element_pads_activate),
28639         (gst_element_save_thyself), (gst_element_restore_thyself):
28640         * gst/gstpad.c: (gst_pad_load_and_link), (gst_pad_save_thyself),
28641         (gst_ghost_pad_save_thyself), (gst_pad_check_pull_range):
28642         * gst/gstpad.h:
28643         * gst/gstxml.c: (gst_xml_write), (gst_xml_parse_doc),
28644         (gst_xml_parse_file), (gst_xml_parse_memory),
28645         (gst_xml_get_element), (gst_xml_make_element):
28646         * gst/indexers/gstfileindex.c: (gst_file_index_load),
28647         (_file_index_id_save_xml), (gst_file_index_commit):
28648         * gst/registries/gstlibxmlregistry.c: (read_string), (read_uint),
28649         (read_enum), (load_pad_template), (load_feature), (load_plugin),
28650         (load_paths):
28651         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_caps),
28652         (gst_dp_packet_from_event), (gst_dp_caps_from_packet):
28653         * tools/gst-complete.c: (main):
28654         * tools/gst-compprep.c: (main):
28655         * tools/gst-inspect.c: (print_element_properties_info):
28656         * tools/gst-launch.c: (xmllaunch_parse_cmdline):
28657         * tools/gst-xmlinspect.c: (print_element_properties):
28658         GCC 4 fixen.
28659         
28660 2005-05-03  Thomas Vander Stichele  <thomas at apestaart dot org>
28661
28662         * gst/gstplugin.c: (gst_plugin_check_module),
28663         (gst_plugin_check_file), (gst_plugin_load_file):
28664             apply patch from #172526 to make register work on MacOSX
28665
28666 2005-05-02  Thomas Vander Stichele  <thomas at apestaart dot org>
28667
28668         * docs/gst/tmpl/gstconfig.sgml:
28669         * gst/gstconfig.h.in:
28670           move documentation for some symbols.  Add doc for GST_PTR_FORMAT
28671         * testsuite/debug/printf_extension.c: (main):
28672           Do not use GST_PTR_FORMAT on pointers to types with
28673           sizeof < sizeof(gpointer).  Fixes test on 64-bit
28674         * testsuite/elements/property.h:
28675           use correct printf format
28676
28677 2005-05-02  Wim Taymans  <wim@fluendo.com>
28678
28679         * docs/design/draft-push-pull.txt:
28680         * docs/design/draft-query.txt:
28681         * gst/base/gstbasesrc.c: (gst_basesrc_get_range_unlocked),
28682         (gst_basesrc_start):
28683         Added draft for new query API.
28684         Added draft for better selecting scheduling methods.
28685         Make basesrc ignore length if the subclass does not support
28686         it.
28687
28688 2005-05-02  Thomas Vander Stichele  <thomas at apestaart dot org>
28689
28690         * gst/Makefile.am:
28691           possible fixes for automake-1.5 - _LIBADD is reserved
28692
28693 2005-05-02  Thomas Vander Stichele  <thomas at apestaart dot org>
28694
28695         * docs/faq/Makefile.am:
28696         * docs/manual/Makefile.am:
28697         * docs/manuals.mak:
28698         * docs/pwg/Makefile.am:
28699         * gst/Makefile.am:
28700           possible fixes for automake-1.5
28701
28702 2005-04-28  Wim Taymans  <wim@fluendo.com>
28703
28704         * gst/base/gstbasesink.c: (gst_basesink_base_init),
28705         (gst_basesink_pad_getcaps), (gst_basesink_init),
28706         (gst_basesink_do_sync):
28707         * gst/gstclock.c: (gst_clock_entry_new):
28708         * gst/gstevent.c: (gst_event_discont_get_value):
28709         * gst/gstpipeline.c: (pipeline_bus_handler),
28710         (gst_pipeline_change_state):
28711         * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
28712         Better debugging of clocking info.
28713         Allow NULL values when getting discont values.
28714
28715 2005-04-27  Wim Taymans  <wim@fluendo.com>
28716
28717         * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
28718         * check/gst/gstpad.c: (gst_pad_suite):
28719         Increase timeout for checks.
28720
28721 2005-04-27  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
28722
28723         * check/Makefile.am:
28724           fix the broken rule for cleanup.  Apparently this rule is
28725           only needed on FC2, so maybe this warrants further autotool
28726           inspection.
28727
28728 2005-04-26  Wim Taymans  <wim@fluendo.com>
28729
28730         * gst/gsttrashstack.h:
28731         Ooohh. a nasty one! After having a failed pop() from the stack,
28732         it's possible that the stack is empty. In that case, don't
28733         follow the NULL pointer.
28734
28735 2005-04-25  Wim Taymans  <wim@fluendo.com>
28736
28737         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
28738         (gst_pad_set_checkgetrange_function),
28739         (gst_pad_link_check_compatible_unlocked), (gst_pad_link_prepare),
28740         (gst_pad_check_pull_range), (gst_pad_pull_range),
28741         (gst_static_pad_template_get_caps), (gst_pad_start_task),
28742         (gst_pad_pause_task), (gst_pad_stop_task):
28743         * gst/gstplugin.c: (gst_plugin_load):
28744         * gst/gstplugin.h:
28745         Remove gst_library_load as it does more harm than good with
28746         the new g_module flags.
28747         Revert bogus caps template check in pad linking, pad caps
28748         are important when linking not the template, which is more
28749         general than the current caps.
28750
28751 2005-04-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
28752
28753         * gst/autoplug/.cvsignore:
28754         * gst/autoplug/Makefile.am:
28755         * gst/autoplug/gstsearchfuncs.c:
28756         * gst/autoplug/gstsearchfuncs.h:
28757         * gst/autoplug/gstspider.c:
28758         * gst/autoplug/gstspider.h:
28759         * gst/autoplug/gstspideridentity.c:
28760         * gst/autoplug/gstspideridentity.h:
28761         * gst/autoplug/spidertest.c:
28762           Die, spider, die.
28763
28764 2005-04-25  Wim Taymans  <wim@fluendo.com>
28765
28766         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
28767         (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
28768         (gst_pad_pull_range), (gst_static_pad_template_get_caps),
28769         (gst_pad_start_task), (gst_pad_pause_task), (gst_pad_stop_task):
28770         * gst/gstpad.h:
28771         Added stubs for unimplemented functions. 
28772
28773 2005-04-24  David Schleef  <ds@schleef.org>
28774
28775         * gst/gstpad.h: Disable some unimplemented functions.  Wim,
28776         please fix.
28777
28778 2005-04-24  David Schleef  <ds@schleef.org>
28779
28780         Convert everything from GstAtomicInt to g_atomic_int_*, and
28781         remove gstatomic.
28782         * gst/Makefile.am:
28783         * gst/gstatomic.c:
28784         * gst/gstatomic.h:
28785         * gst/gstatomic_impl.h:
28786         * gst/gstbuffer.c:
28787         * gst/gstcaps.c:
28788         * gst/gstcaps.h:
28789         * gst/gstclock.c:
28790         * gst/gstclock.h:
28791         * gst/gstdata.c:
28792         * gst/gstdata.h:
28793         * gst/gstdata_private.h:
28794         * gst/gstevent.c:
28795         * gst/gstinfo.c:
28796         * gst/gstinfo.h:
28797         * gst/gstmessage.c:
28798         * gst/gstobject.c:
28799         * gst/gstobject.h:
28800         * gst/gststructure.c:
28801         * gst/gststructure.h:
28802         * gst/gstutils.c: Add gst_atomic_int_set() compaitibility function.
28803         * gst/gstutils.h:
28804
28805 2005-04-24  David Schleef  <ds@schleef.org>
28806
28807         * check/gst/gstpad.c: (START_TEST): Oh yeah, it's always nice to
28808         make the regressions tests work.  Remove some code that is no
28809         longer true.
28810         * gst/gstpad.c: (gst_pad_link_check_templates_compatible_unlocked):
28811         Disable warning for pads without templates.
28812
28813 2005-04-24  David Schleef  <ds@schleef.org>
28814
28815         * gst/gstpad.c: Remove handling of filtered caps.  Fix/merge
28816         functions that handle filtered links.
28817         * gst/gstpad.h: Remove 'appfilter' field and prototypes of
28818         removed functions.
28819         * gst/gstutils.c: Fix/remove utility functions that handle
28820         filtered caps.
28821         * gst/gstutils.h:
28822         * gst/gstvalue.c: Add serialization/deserialization of caps
28823         * gst/parse/grammar.y: Ignore filtered caps when linking.  This
28824         requires fixing so that the filter caps notation creates
28825         a capsfilter element and sets the filter_caps property.  I
28826         think everyone probably wants to keep the shorthand notation.
28827         * docs/gst/tmpl/gstelement.sgml: updates for API changes.
28828         * docs/gst/tmpl/gstpad.sgml:
28829
28830         * gst/elements/gstelements.c: Register capsfilter element.
28831         * gst/Makefile.am: fix spacing
28832         * docs/random/ds/0.9-suggested-changes: random
28833
28834 2005-04-23  David Schleef  <ds@schleef.org>
28835
28836         * gst/elements/Makefile.am:
28837         * gst/elements/gstcapsfilter.c: New element that acts like an
28838         identity, but filters caps.  Will eventually replace filtered
28839         caps in pad linking.
28840         * gst/gstutils.c: (gst_element_create_all_pads): New function
28841         to create all the ALWAYS pads that are registered with an
28842         element class.  This functionality should eventually be
28843         merged in with GstElement initialization.
28844         * gst/gstutils.h:
28845         * testsuite/trigger/README: part of trigger test code that should
28846         have been checked in a long time ago.
28847
28848 2005-04-23  David Schleef  <ds@schleef.org>
28849
28850         * gst/Makefile.am: Remove as-libtool stuff.  It's likely not
28851         needed with new versions of libtool (nobody will confirm this),
28852         and hard to carry around.
28853         * gst/autoplug/Makefile.am:
28854         * gst/base/Makefile.am:
28855         * gst/elements/Makefile.am:
28856         * gst/indexers/Makefile.am:
28857         * gst/schedulers/Makefile.am:
28858         * libs/gst/bytestream/Makefile.am:
28859         * libs/gst/control/Makefile.am:
28860         * libs/gst/dataprotocol/Makefile.am:
28861         * libs/gst/getbits/Makefile.am:
28862
28863 2005-04-21  Wim Taymans  <wim@fluendo.com>
28864
28865         * docs/design/draft-push-pull.txt:
28866         * docs/design/part-MT-refcounting.txt:
28867         * docs/design/part-TODO.txt:
28868         * docs/design/part-caps.txt:
28869         * docs/design/part-events.txt:
28870         * docs/design/part-gstbus.txt:
28871         * docs/design/part-gstpipeline.txt:
28872         * docs/design/part-messages.txt:
28873         * docs/design/part-push-pull.txt:
28874         * docs/design/part-query.txt:
28875         Some more docs.
28876
28877 2005-04-21  Wim Taymans  <wim@fluendo.com>
28878
28879         * gst/gstmessage.c: (_gst_message_copy), (_gst_message_free),
28880         (gst_message_new), (gst_message_new_error),
28881         (gst_message_new_warning), (gst_message_new_tag),
28882         (gst_message_new_state_changed), (gst_message_new_application),
28883         (gst_message_get_structure):
28884         * gst/gstmessage.h:
28885         * gst/gststructure.c: (gst_structure_set_parent_refcount),
28886         (gst_structure_copy_conditional):
28887         Use parent refcount in GstMessage to ensure GstStructure
28888         consistency.
28889         Cleaned up headers a bit.
28890         
28891
28892 2005-04-20  Wim Taymans  <wim@fluendo.com>
28893
28894         * gst/base/gstbasesink.c: (gst_basesink_base_init),
28895         (gst_basesink_pad_getcaps), (gst_basesink_init),
28896         (gst_basesink_chain_unlocked):
28897         * gst/base/gsttypefindhelper.c: (helper_find_suggest),
28898         (gst_type_find_helper):
28899         * gst/elements/gsttypefindelement.c:
28900         (gst_type_find_element_have_type), (gst_type_find_element_init),
28901         (stop_typefinding), (gst_type_find_element_handle_event),
28902         (find_suggest), (gst_type_find_element_chain),
28903         (gst_type_find_element_checkgetrange),
28904         (gst_type_find_element_getrange), (do_typefind),
28905         (gst_type_find_element_activate):
28906         * gst/gstbuffer.c: (_gst_buffer_sub_free),
28907         (gst_buffer_default_free), (gst_buffer_default_copy),
28908         (gst_buffer_set_caps):
28909         * gst/gstcaps.c: (gst_caps_ref), (gst_caps_unref),
28910         (gst_caps_replace):
28911         * gst/gstmessage.c: (gst_message_new),
28912         (gst_message_new_state_changed):
28913         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
28914         (gst_pad_set_checkgetrange_function),
28915         (gst_pad_link_prepare_filtered), (gst_pad_relink_filtered),
28916         (gst_pad_set_caps), (gst_pad_check_pull_range),
28917         (gst_pad_pull_range), (gst_static_pad_template_get_caps):
28918         * gst/gstpad.h:
28919         * gst/gsttypefind.c: (gst_type_find_register):
28920         Make gst_caps_replace() work like other _replace() functions.
28921         Use _caps_replace() where possible.
28922         Make sure _message_new() initialises its field.
28923         Add gst_static_pad_template_get_caps()
28924
28925
28926 2005-04-18  Andy Wingo  <wingo@pobox.com>
28927
28928         * gst/gstelement.c (gst_element_pads_activate): Check pull_range
28929         on the peer, not the pad. I think that was a typo. Pass an extra
28930         arg to see if random access is possible. Activate the pads as
28931         PULL_RANGE if possible.
28932
28933         * gst/elements/gstfakesrc.c: s/ARG_/PROP_/.
28934
28935         * gst/base/gstbasesrc.c (gst_basesrc_set_property) 
28936         (gst_basesrc_get_property): BLOCKSIZE is a ULONG. Rename ARG_...
28937         to PROP_....
28938
28939 2005-04-14  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
28940
28941         * docs/faq/using.xml:
28942           Add note on gstreamer-properties (#154996).
28943
28944 2005-04-13  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
28945
28946         * docs/random/bbb/optional-properties:
28947           Some analysis on optional properties.
28948
28949 2005-04-12  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
28950
28951         * docs/gst/tmpl/gstelementfactory.sgml:
28952         * gst/gstelement.h:
28953         * gst/gstelementfactory.c: (gst_element_factory_init),
28954         (gst_element_factory_cleanup), (gst_element_register),
28955         (__gst_element_factory_add_static_pad_template),
28956         (gst_element_factory_get_static_pad_templates),
28957         (gst_element_factory_can_src_caps),
28958         (gst_element_factory_can_sink_caps):
28959         * gst/registries/Makefile.am:
28960         * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_get_type),
28961         (gst_xml_registry_class_init), (gst_xml_registry_init),
28962         (gst_xml_registry_new), (gst_xml_registry_set_property),
28963         (gst_xml_registry_get_property), (get_time), (make_dir),
28964         (gst_xml_registry_get_perms_func),
28965         (plugin_times_older_than_recurse), (plugin_times_older_than),
28966         (gst_xml_registry_open_func), (gst_xml_registry_load_func),
28967         (gst_xml_registry_save_func), (gst_xml_registry_close_func),
28968         (add_to_char_array), (read_string), (read_uint), (read_enum),
28969         (load_pad_template), (load_feature), (load_plugin), (load_paths),
28970         (gst_xml_registry_load), (gst_xml_registry_load_plugin),
28971         (gst_xml_registry_save_caps), (gst_xml_registry_save_pad_template),
28972         (gst_xml_registry_save_feature), (gst_xml_registry_save_plugin),
28973         (gst_xml_registry_save), (gst_xml_registry_rebuild_recurse),
28974         (gst_xml_registry_rebuild):
28975         * gst/registries/gstlibxmlregistry.h:
28976         * tools/gst-compprep.c: (main):
28977         * tools/gst-inspect.c: (print_pad_templates_info):
28978         * tools/gst-xmlinspect.c: (print_element_info):
28979           Use libxml2 for registry parsing, use staticpadtemplates in
28980           elementfactories. Makes gst_init() +/- 10x faster.
28981
28982 2005-04-12  Wim Taymans  <wim@fluendo.com>
28983
28984         * gst/base/Makefile.am:
28985         * gst/base/gstbasesink.c: (gst_basesink_base_init),
28986         (gst_basesink_pad_getcaps), (gst_basesink_init),
28987         (gst_basesink_event), (gst_basesink_change_state):
28988         * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
28989         (gst_basesrc_init), (gst_basesrc_query),
28990         (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
28991         (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
28992         (gst_basesrc_check_get_range), (gst_basesrc_loop),
28993         (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
28994         (gst_basesrc_stop), (gst_basesrc_activate),
28995         (gst_basesrc_change_state):
28996         * gst/base/gsttypefindhelper.c: (helper_find_peek),
28997         (helper_find_suggest), (gst_type_find_helper):
28998         * gst/base/gsttypefindhelper.h:
28999         * gst/elements/Makefile.am:
29000         * gst/elements/gstelements.c:
29001         * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
29002         (gst_fakesink_get_times), (gst_fakesink_event),
29003         (gst_fakesink_preroll), (gst_fakesink_render):
29004         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
29005         (gst_fakesrc_init), (gst_fakesrc_event_handler),
29006         (gst_fakesrc_get_property), (gst_fakesrc_create),
29007         (gst_fakesrc_start), (gst_fakesrc_stop):
29008         * gst/elements/gstfakesrc.h:
29009         * gst/elements/gstfilesrc.c: (gst_filesrc_class_init),
29010         (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
29011         (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
29012         (gst_filesrc_create_read), (gst_filesrc_create),
29013         (gst_filesrc_is_seekable), (gst_filesrc_get_size),
29014         (gst_filesrc_start):
29015         * gst/elements/gsttypefindelement.c:
29016         (gst_type_find_element_have_type), (gst_type_find_element_init),
29017         (start_typefinding), (stop_typefinding), (push_buffer_store),
29018         (gst_type_find_element_handle_event),
29019         (gst_type_find_element_chain),
29020         (gst_type_find_element_checkgetrange),
29021         (gst_type_find_element_getrange), (do_typefind),
29022         (gst_type_find_element_activate),
29023         (gst_type_find_element_change_state):
29024         * gst/elements/gsttypefindelement.h:
29025         * gst/gstpipeline.c: (pipeline_bus_handler):
29026         Added typefind helper.
29027         Small preroll fix in the base sink.
29028         Disable typefind code in basesrc.
29029         Crude port of typefindelement.
29030         Fakesrc cleanups.
29031
29032
29033 2005-04-11  Wim Taymans  <wim@fluendo.com>
29034
29035         * check/gst/gstbus.c: (gstbus_suite):
29036         * check/gst/gstdata.c: (thread_ref), (gst_data_suite):
29037         * check/gstcheck.h:
29038           Fix up the timeout so that the test does not fail.
29039
29040 2005-04-06  Wim Taymans  <wim@fluendo.com>
29041
29042         * gst/base/README:
29043         * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
29044         (gst_basesrc_init), (gst_basesrc_get_formats), (gst_basesrc_query),
29045         (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
29046         (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
29047         (gst_basesrc_check_get_range), (gst_basesrc_loop),
29048         (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
29049         (gst_basesrc_stop), (gst_basesrc_activate),
29050         (gst_basesrc_change_state), (basesrc_find_peek),
29051         (basesrc_find_suggest), (gst_basesrc_type_find):
29052         * gst/base/gstbasesrc.h:
29053         * gst/elements/gstfilesrc.c: (gst_filesrc_base_init),
29054         (gst_filesrc_class_init), (gst_filesrc_init),
29055         (gst_filesrc_finalize), (gst_filesrc_set_location),
29056         (gst_filesrc_set_property), (gst_filesrc_get_property),
29057         (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
29058         (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
29059         (gst_filesrc_create_read), (gst_filesrc_create),
29060         (gst_filesrc_get_size), (gst_filesrc_start), (gst_filesrc_stop):
29061         * gst/elements/gstfilesrc.h:
29062         * gst/gstelement.c: (gst_element_get_state_func),
29063         (gst_element_lost_state), (gst_element_pads_activate):
29064         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
29065         (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
29066         (gst_pad_pull_range):
29067         * gst/gstpad.h:
29068         More work on the generic source base class, implement seeking,
29069         query.
29070         Make filesrc extend the base source class.
29071         Added gst_pad_set_checkgetrange_function to GstPad.
29072
29073 2005-04-06  Andy Wingo  <wingo@pobox.com>
29074
29075         * pkgconfig/gstreamer-base.pc.in:
29076         * pkgconfig/gstreamer-base-uninstalled.pc.in: New files.
29077
29078         * pkgconfig/Makefile.am:
29079         * configure.ac (AC_OUTPUT): Add gstreamer-base pkgconfig files.
29080
29081 2005-04-04  Wim Taymans  <wim@fluendo.com>
29082
29083         * gst/base/Makefile.am:
29084         * gst/base/README:
29085         * gst/base/gstbasesink.c: (gst_basesink_base_init),
29086         (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
29087         (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
29088         (gst_basesink_do_sync), (gst_basesink_chain_unlocked):
29089         * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
29090         (gst_basesrc_base_init), (gst_basesrc_class_init),
29091         (gst_basesrc_init), (gst_basesrc_get_formats),
29092         (gst_basesrc_get_query_types), (gst_basesrc_query),
29093         (gst_basesrc_get_event_mask), (gst_basesrc_event_handler),
29094         (gst_basesrc_set_property), (gst_basesrc_get_property),
29095         (gst_basesrc_get_range_unlocked), (gst_basesrc_get_range),
29096         (gst_basesrc_loop), (gst_basesrc_activate),
29097         (gst_basesrc_change_state):
29098         * gst/base/gstbasesrc.h:
29099         * gst/elements/gstfakesrc.c: (gst_fakesrc_base_init),
29100         (gst_fakesrc_class_init), (gst_fakesrc_init),
29101         (gst_fakesrc_event_handler), (gst_fakesrc_set_property),
29102         (gst_fakesrc_get_property), (gst_fakesrc_create):
29103         * gst/elements/gstfakesrc.h:
29104         * gst/elements/gstfilesrc.c: (gst_filesrc_getrange),
29105         (gst_filesrc_open_file), (gst_filesrc_loop),
29106         (gst_filesrc_activate), (filesrc_find_peek),
29107         (gst_filesrc_type_find):
29108         Made base source class, make fakesrc extend it.
29109         Add comments to basesink class.
29110         Some filesrc cleanup.
29111
29112 2005-03-31  David Schleef  <ds@schleef.org>
29113
29114         * gst/gstplugin.c: (gst_plugin_check_file), (gst_plugin_load_file):
29115         Switch to using G_MODULE_BIND_LOCAL, which means plugins are now
29116         expected to link against libgstreamer.
29117         * gst/base/Makefile.am: link against libgstreamer
29118         * gst/elements/Makefile.am: same
29119
29120 2005-03-31  Andy Wingo  <wingo@pobox.com>
29121
29122         * tests/instantiate/Makefile.am:
29123         * tests/instantiate/caps.c: Add test to test speed of caps copy
29124         and free.
29125
29126         * tests/memchunk/gmemchunktest.c (main): Use alloc only on the
29127         GMemChunk to be fair.
29128
29129         * gst/gsttrashstack.h: Remove warning about using the fallback
29130         trash stack implementation, it's still faster than malloc.
29131
29132 2005-03-30  Andy Wingo  <wingo@pobox.com>
29133
29134         * tests/complexity.c: Add a copyright.
29135
29136 2005-03-31  Wim Taymans  <wim@fluendo.com>
29137
29138         * gst/base/gstbasetransform.c: (gst_base_transform_base_init),
29139         (gst_base_transform_class_init), (gst_base_transform_init),
29140         (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
29141         (gst_base_transform_get_property),
29142         (gst_base_transform_sink_activate),
29143         (gst_base_transform_src_activate),
29144         (gst_base_transform_change_state):
29145         * gst/base/gstbasetransform.h:
29146         * gst/elements/gstidentity.c: (gst_identity_class_init),
29147         (gst_identity_event), (gst_identity_check_perfect),
29148         (gst_identity_transform), (gst_identity_start),
29149         (gst_identity_stop):
29150         Added start/stop methods to transform base class so subclasses 
29151         don't need to deal with state changes even.
29152
29153 2005-03-31  Wim Taymans  <wim@fluendo.com>
29154
29155         * gst/gstevent.c: (gst_event_new_discontinuous_valist),
29156         (gst_event_new_discontinuous), (gst_event_discont_get_value):
29157         * gst/gstevent.h:
29158         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
29159         (gst_pad_pull_range):
29160         Added rate to the discont event to prepare for variable speed
29161         and reverse playback.
29162
29163 2005-03-29  David Schleef  <ds@schleef.org>
29164
29165         * configure.ac:
29166         * testsuite/trigger/Makefile.am:
29167         * testsuite/trigger/trigger.c: A little example program to show
29168         how trigger-based elements can work.
29169
29170 2005-03-29  Wim Taymans  <wim@fluendo.com>
29171
29172         * gst/base/Makefile.am:
29173         * gst/base/README:
29174         * gst/base/gstbasesink.c: (gst_basesink_get_type),
29175         (gst_basesink_base_init), (gst_basesink_class_init),
29176         (gst_basesink_pad_getcaps), (gst_basesink_init),
29177         (gst_basesink_activate), (gst_basesink_change_state):
29178         * gst/base/gstbasesink.h:
29179         * gst/base/gstbasetransform.c: (gst_base_transform_get_type),
29180         (gst_base_transform_base_init), (gst_base_transform_finalize),
29181         (gst_base_transform_class_init), (gst_base_transform_init),
29182         (gst_base_transform_proxy_getcaps), (gst_base_transform_setcaps),
29183         (gst_base_transform_event), (gst_base_transform_getrange),
29184         (gst_base_transform_chain), (gst_base_transform_handle_buffer),
29185         (gst_base_transform_set_property),
29186         (gst_base_transform_get_property),
29187         (gst_base_transform_sink_activate),
29188         (gst_base_transform_src_activate),
29189         (gst_base_transform_change_state):
29190         * gst/base/gstbasetransform.h:
29191         * gst/elements/gstidentity.c: (gst_identity_finalize),
29192         (gst_identity_class_init), (gst_identity_init),
29193         (gst_identity_event), (gst_identity_check_perfect),
29194         (gst_identity_transform), (gst_identity_set_property),
29195         (gst_identity_get_property), (gst_identity_change_state):
29196         * gst/elements/gstidentity.h:
29197         * gst/gstelement.c: (gst_element_get_state_func),
29198         (gst_element_lost_state), (gst_element_pads_activate):
29199         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
29200         (gst_pad_check_pull_range), (gst_pad_pull_range):
29201         * gst/gstpad.h:
29202         Simplify pad activation.
29203         Added function to check if pull_range can be performed.
29204         Error out when pulling inactive or flushing pads.
29205         Removed const from refcounted types as it does not make sense.
29206         Simplify pad templates in basesink
29207         Added base class for simple 1-to-1 transforms.
29208         Make identity subclass the base transform.
29209
29210 2005-03-29  Andy Wingo  <wingo@pobox.com>
29211
29212         * docs/libs/gstreamer-libs-overrides.txt: 
29213         * docs/gst/gstreamer-overrides.txt: Add these files to CVS. Now I
29214         really don't understand what's going on, but like whatever. I want
29215         green buildbot!
29216
29217         * docs/gst/Makefile.am:
29218         * docs/libs/Makefile.am: Dist the overrides files.
29219
29220         * check/Makefile.am (clean-local): Remove .libs directories.
29221
29222         * gst/elements/Makefile.am (EXTRA_DIST): Add all the attic
29223         elements to EXTRA_DIST, so po/ files are happy.
29224
29225         * po/POTFILES.in: Er, remove it here.
29226
29227         * po/POTFILES: Remove gstspider.c.
29228
29229         * configure.ac (AC_OUTPUT): Add missing testsuite makefiles.
29230
29231         * docs/libs/gstreamer-libs-docs.sgml: 
29232         * docs/libs/gstreamer-libs-sections.txt: Remove the section on
29233         bytestream.
29234
29235         * tests/complexity.c (main): Set the length of the preroll queue
29236         on the sinks to prevent a lockup.
29237
29238         * libs/gst/dataprotocol/Makefile.am: 
29239         * libs/gst/dataprotocol/dataprotocol-test.c: Remove test, it's
29240         the same as the one in check/gst-libs/gdp.c.
29241
29242         * po/, docs/gst/: Commit automatic changes to docs and po files.
29243
29244         * gst/elements/Makefile.am (libgstelements_la_LDFLAGS): Link to
29245         the versioned libgstbase.
29246
29247         * check/Makefile.am: Depend on an unversioned gst-register, seems
29248         to make autoconf happier.
29249
29250         * gst/base/Makefile.am: Make libgstbase a versioned lib.
29251
29252 2005-03-28  Wim Taymans  <wim@fluendo.com>
29253
29254         * configure.ac:
29255         * docs/design/part-gstelement.txt:
29256         * docs/design/part-negotiation.txt:
29257         * docs/design/part-preroll.txt:
29258         * docs/design/part-scheduling.txt:
29259         * docs/design/part-states.txt:
29260         * gst/Makefile.am:
29261         * gst/base/Makefile.am:
29262         * gst/base/README:
29263         * gst/base/gstbasesink.c: (gst_basesink_get_template),
29264         (gst_basesink_base_init), (gst_basesink_class_init),
29265         (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
29266         (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
29267         (gst_basesink_set_pad_functions),
29268         (gst_basesink_set_all_pad_functions), (gst_basesink_set_clock),
29269         (gst_basesink_set_property), (gst_basesink_get_property),
29270         (gst_base_sink_get_template), (gst_base_sink_get_caps),
29271         (gst_base_sink_set_caps), (gst_base_sink_buffer_alloc),
29272         (gst_basesink_preroll_queue_push),
29273         (gst_basesink_preroll_queue_empty),
29274         (gst_basesink_preroll_queue_flush), (gst_basesink_finish_preroll),
29275         (gst_basesink_event), (gst_basesink_get_times),
29276         (gst_basesink_do_sync), (gst_basesink_handle_buffer),
29277         (gst_basesink_chain_unlocked), (gst_basesink_chain),
29278         (gst_basesink_loop), (gst_basesink_activate),
29279         (gst_basesink_change_state):
29280         * gst/base/gstbasesink.h:
29281         * gst/elements/Makefile.am:
29282         * gst/elements/gstfakesink.c: (gst_fakesink_base_init),
29283         (gst_fakesink_class_init), (gst_fakesink_init),
29284         (gst_fakesink_set_property), (gst_fakesink_get_property),
29285         (gst_fakesink_get_times), (gst_fakesink_event),
29286         (gst_fakesink_preroll), (gst_fakesink_render),
29287         (gst_fakesink_change_state):
29288         * gst/elements/gstfakesink.h:
29289         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
29290         (gst_bin_get_state), (gst_bin_change_state), (gst_bin_send_event):
29291         * gst/gstelement.c: (gst_element_add_pad),
29292         (gst_element_get_state_func), (gst_element_abort_state),
29293         (gst_element_commit_state), (gst_element_lost_state),
29294         (gst_element_set_state), (gst_element_pads_activate):
29295         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_event_default):
29296         * gst/gstpipeline.c: (gst_pipeline_send_event),
29297         (gst_pipeline_change_state):
29298         Added state change code.
29299         Added/updated docs.
29300         Added sink base class, make fakesink extend the base class.
29301         Small cleanups in GstPipeline.
29302
29303 2005-03-26  David Schleef  <ds@schleef.org>
29304
29305         * gst/Makefile.am: remove gstcpu.[ch].  The gst_cpu functionality
29306         is broken and should be implemented in a different library.
29307         * gst/gst.c: (init_post): don't call _gst_cpu_initialize()
29308         * gst/gst.h: remove gstcpu.h
29309         * gst/gstcpu.c: remove
29310         * gst/gstcpu.h: remove
29311         * gst/Makefile.am.future: Remove this file.  It's ancient.
29312
29313 2005-03-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
29314
29315         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
29316         (gst_bin_send_event):
29317           Add default event/set_manager handlers. The set_manager handler
29318           takes care that the manager is distributed over kids that were
29319           already in the bin before the manager was set. The event handler
29320           is a utility virtual function that sends the event over all sinks,
29321           so that gst_element_send_event (bin, event); has the expected
29322           behaviour.
29323         * gst/gstpad.c: (gst_pad_event_default):
29324           Re-install default event handling for discontinuities, so that
29325           seeking works without requiring hacks in applications or extra
29326           code in sinks.
29327         * gst/gstpipeline.c: (gst_pipeline_class_init),
29328         (gst_pipeline_send_event):
29329           Half hack, half utility: set a pipeline to PAUSED for seek events,
29330           since that is the only way we can guarantee a/v sync. Means that
29331           you can do gst_element_seek (pipeline, method, pos); on a pipeline
29332           and it "just works".
29333
29334 2005-03-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
29335
29336         * gst/gstpipeline.c: (gst_pipeline_use_clock):
29337           Lock/unlock mismatch.
29338
29339 2005-03-25  Thomas Vander Stichele  <thomas at apestaart dot org>
29340
29341         * docs/faq/gst-uninstalled:
29342           add gst-plugins-base
29343         * docs/gst/Makefile.am:
29344           don't error out until docs are fixed
29345         * docs/gst/gstreamer.types:
29346           remove thread
29347
29348 2005-03-22  Wim Taymans  <wim@fluendo.com>
29349
29350         * check/Makefile.am:
29351         * check/gst/gstmessage.c: (START_TEST), (gst_data_suite), (main):
29352         * gst/gststructure.c: (gst_structure_set_valist),
29353         (gst_structure_copy_conditional):
29354         Activated more tests.
29355         Added message test.
29356         Added G_TYPE_POINTER to GstStructure.
29357         
29358
29359 2005-03-22  Wim Taymans  <wim@fluendo.com>
29360
29361         * docs/design/part-TODO.txt:
29362         * docs/design/part-events.txt:
29363         * docs/design/part-gstbin.txt:
29364         * docs/design/part-gstbus.txt:
29365         * docs/design/part-gstpipeline.txt:
29366         * docs/design/part-messages.txt:
29367         * gst/gstbus.c:
29368         * gst/gstmessage.c:
29369         Docs updates
29370
29371 2005-03-21  Wim Taymans  <wim@fluendo.com>
29372
29373         * gst/gstbus.c: (gst_bus_post):
29374         Fix copy-and-paste error.
29375
29376 2005-03-21  Wim Taymans  <wim@fluendo.com>
29377
29378         * check/Makefile.am:
29379         * gst/Makefile.am:
29380         * gst/elements/Makefile.am:
29381         * gst/elements/gstelements.c:
29382         * gst/elements/gstfakesink.c: (gst_fakesink_init),
29383         (gst_fakesink_event), (gst_fakesink_chain):
29384         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
29385         (gst_fakesrc_init), (gst_fakesrc_get_event_mask),
29386         (gst_fakesrc_event_handler), (gst_fakesrc_set_pad_functions),
29387         (gst_fakesrc_set_all_pad_functions), (gst_fakesrc_request_new_pad),
29388         (gst_fakesrc_set_property), (gst_fakesrc_get_property),
29389         (gst_fakesrc_get_range_unlocked), (gst_fakesrc_get_range),
29390         (gst_fakesrc_loop), (gst_fakesrc_activate),
29391         (gst_fakesrc_change_state):
29392         * gst/elements/gstfakesrc.h:
29393         * gst/elements/gstfilesrc.c: (gst_filesrc_init),
29394         (gst_filesrc_get_read), (gst_filesrc_getrange), (gst_filesrc_get),
29395         (gst_filesrc_open_file), (gst_filesrc_loop),
29396         (gst_filesrc_activate), (gst_filesrc_change_state),
29397         (filesrc_find_peek), (filesrc_find_suggest),
29398         (gst_filesrc_type_find):
29399         * gst/elements/gstidentity.c: (gst_identity_finalize),
29400         (gst_identity_class_init), (gst_identity_init),
29401         (gst_identity_proxy_getcaps), (identity_queue_push),
29402         (identity_queue_pop), (identity_queue_flush), (gst_identity_event),
29403         (gst_identity_getrange), (gst_identity_chain),
29404         (gst_identity_sink_loop), (gst_identity_src_loop),
29405         (gst_identity_handle_buffer), (gst_identity_set_dataflow_funcs),
29406         (gst_identity_set_property), (gst_identity_get_property),
29407         (gst_identity_change_state):
29408         * gst/elements/gstidentity.h:
29409         * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_init),
29410         (gst_tee_update_pad_functions), (gst_tee_request_new_pad),
29411         (gst_tee_set_property), (gst_tee_get_property), (gst_tee_do_push),
29412         (gst_tee_handle_buffer), (gst_tee_chain), (gst_tee_loop),
29413         (gst_tee_sink_activate):
29414         * gst/elements/gsttee.h:
29415         * gst/gst.c: (gst_register_core_elements), (init_post):
29416         * gst/gst.h:
29417         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_bus),
29418         (gst_bin_set_scheduler), (gst_bin_add_func), (gst_bin_add),
29419         (gst_bin_remove_func), (gst_bin_remove), (gst_bin_get_state),
29420         (gst_bin_change_state):
29421         * gst/gstbin.h:
29422         * gst/gstbus.c: (gst_bus_get_type), (gst_bus_class_init),
29423         (gst_bus_init), (gst_bus_dispose), (gst_bus_set_property),
29424         (gst_bus_get_property), (gst_bus_new), (gst_bus_post),
29425         (gst_bus_have_pending), (gst_bus_pop), (gst_bus_peek),
29426         (gst_bus_set_sync_handler), (gst_bus_create_watch),
29427         (bus_watch_callback), (bus_watch_destroy),
29428         (gst_bus_add_watch_full), (gst_bus_add_watch), (poll_handler),
29429         (poll_timeout), (gst_bus_poll):
29430         * gst/gstbus.h:
29431         * gst/gstcaps.h:
29432         * gst/gstdata.h:
29433         * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
29434         (gst_element_post_message), (gst_element_message_full),
29435         (gst_element_get_state_func), (gst_element_get_state),
29436         (gst_element_abort_state), (gst_element_commit_state),
29437         (gst_element_lost_state), (gst_element_set_state),
29438         (gst_element_pads_activate), (gst_element_change_state),
29439         (gst_element_dispose), (gst_element_set_manager_func),
29440         (gst_element_set_bus_func), (gst_element_set_scheduler_func),
29441         (gst_element_set_manager), (gst_element_get_manager),
29442         (gst_element_set_bus), (gst_element_get_bus),
29443         (gst_element_set_scheduler), (gst_element_get_scheduler):
29444         * gst/gstelement.h:
29445         * gst/gstevent.c: (gst_event_new_segment_seek),
29446         (gst_event_new_flush):
29447         * gst/gstevent.h:
29448         * gst/gstmessage.c: (_gst_message_initialize), (_gst_message_copy),
29449         (_gst_message_free), (gst_message_get_type), (gst_message_new),
29450         (gst_message_new_eos), (gst_message_new_error),
29451         (gst_message_new_warning), (gst_message_new_tag),
29452         (gst_message_new_state_changed), (gst_message_new_application),
29453         (gst_message_get_structure), (gst_message_parse_tag),
29454         (gst_message_parse_state_changed), (gst_message_parse_error),
29455         (gst_message_parse_warning):
29456         * gst/gstmessage.h:
29457         * gst/gstpad.c: (gst_real_pad_class_init), (gst_real_pad_init),
29458         (gst_real_pad_set_property), (gst_pad_set_active),
29459         (gst_pad_is_active), (gst_pad_set_blocked_async),
29460         (gst_pad_set_blocked), (gst_pad_is_blocked),
29461         (gst_pad_set_activate_function), (gst_pad_set_loop_function),
29462         (gst_pad_set_getrange_function), (gst_pad_set_acceptcaps_function),
29463         (gst_pad_set_fixatecaps_function), (gst_pad_set_setcaps_function),
29464         (gst_pad_unlink), (gst_pad_link_prepare_filtered),
29465         (gst_pad_link_filtered), (gst_pad_relink_filtered),
29466         (gst_real_pad_get_caps_unlocked), (gst_pad_get_caps),
29467         (gst_pad_peer_get_caps), (gst_pad_fixate_caps),
29468         (gst_pad_accept_caps), (gst_pad_peer_accept_caps),
29469         (gst_pad_set_caps), (gst_pad_configure_sink),
29470         (gst_pad_configure_src), (gst_pad_get_negotiated_caps),
29471         (gst_pad_get_filter_caps), (gst_pad_alloc_buffer),
29472         (gst_real_pad_dispose), (gst_real_pad_finalize),
29473         (handle_pad_block), (gst_pad_push), (gst_pad_pull_range),
29474         (gst_pad_event_default_dispatch), (gst_pad_event_default),
29475         (gst_pad_push_event), (gst_pad_send_event), (gst_pad_get_formats):
29476         * gst/gstpad.h:
29477         * gst/gstpipeline.c: (gst_pipeline_init), (is_eos),
29478         (pipeline_bus_handler), (gst_pipeline_change_state),
29479         (gst_pipeline_get_scheduler), (gst_pipeline_get_bus):
29480         * gst/gstpipeline.h:
29481         * gst/gstprobe.h:
29482         * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
29483         (gst_queue_finalize), (gst_queue_getcaps), (gst_queue_link_sink),
29484         (gst_queue_link_src), (gst_queue_bufferalloc),
29485         (gst_queue_locked_flush), (gst_queue_handle_sink_event),
29486         (gst_queue_is_empty), (gst_queue_is_filled), (gst_queue_chain),
29487         (gst_queue_loop), (gst_queue_handle_src_event),
29488         (gst_queue_handle_src_query), (gst_queue_src_activate),
29489         (gst_queue_change_state):
29490         * gst/gstqueue.h:
29491         * gst/gstscheduler.c: (gst_scheduler_init),
29492         (gst_scheduler_dispose), (gst_scheduler_create_task),
29493         (gst_scheduler_factory_create):
29494         * gst/gstscheduler.h:
29495         * gst/gststructure.c: (gst_structure_get_type),
29496         (gst_structure_copy_conditional):
29497         * gst/gststructure.h:
29498         * gst/gsttaginterface.h:
29499         * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
29500         (gst_task_init), (gst_task_dispose), (gst_task_create),
29501         (gst_task_get_state), (gst_task_start), (gst_task_stop),
29502         (gst_task_pause):
29503         * gst/gsttask.h:
29504         * gst/gstthread.c:
29505         * gst/gstthread.h:
29506         * gst/gsttypes.h:
29507         * gst/schedulers/Makefile.am:
29508         * gst/schedulers/cothreads_compat.h:
29509         * gst/schedulers/entryscheduler.c:
29510         * gst/schedulers/faircothreads.c:
29511         * gst/schedulers/faircothreads.h:
29512         * gst/schedulers/fairscheduler.c:
29513         * gst/schedulers/gstbasicscheduler.c:
29514         * gst/schedulers/gstoptimalscheduler.c:
29515         * gst/schedulers/gthread-cothreads.h:
29516         * gst/schedulers/threadscheduler.c:
29517         (gst_thread_scheduler_task_get_type),
29518         (gst_thread_scheduler_task_class_init),
29519         (gst_thread_scheduler_task_init),
29520         (gst_thread_scheduler_task_start),
29521         (gst_thread_scheduler_task_stop),
29522         (gst_thread_scheduler_task_pause), (gst_thread_scheduler_get_type),
29523         (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
29524         (gst_thread_scheduler_init), (gst_thread_scheduler_create_task),
29525         (gst_thread_scheduler_setup), (gst_thread_scheduler_reset),
29526         (plugin_init):
29527         * libs/gst/Makefile.am:
29528         * libs/gst/bytestream/bytestream.c: (gst_bytestream_get_next_buf):
29529         * libs/gst/bytestream/filepad.c: (gst_file_pad_init),
29530         (gst_file_pad_parent_set):
29531         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
29532         (gst_dp_event_from_packet):
29533         * tests/complexity.c: (main):
29534         * tests/mass_elements.c: (main):
29535         * testsuite/states/locked.c: (message_received), (main):
29536         * testsuite/states/parent.c: (main):
29537         * tools/gst-inspect.c: (print_element_flag_info),
29538         (print_implementation_info), (print_pad_info):
29539         * tools/gst-launch.c: (check_intr), (play_handler), (event_loop),
29540         (main):
29541         * tools/gst-md5sum.c: (event_loop), (main):
29542         * tools/gst-typefind.c: (main):
29543         * tools/gst-xmlinspect.c: (print_element_info):
29544         Next big merge.
29545         Added GstBus for mainloop integration.
29546         Added GstMessage for sending notifications on the bus.
29547         Added GstTask as an abstraction for pipeline entry points.
29548         Removed GstThread.
29549         Removed Schedulers.
29550         Simplified GstQueue for multithreaded core.
29551         Made _link threadsafe, removed old capsnego.
29552         Added STREAM_LOCK and PREROLL_LOCK in GstPad.
29553         Added pad blocking functions.
29554         Reworked scheduling functions in GstPad to prepare for
29555         scheduling updates soon.
29556         Moved events out of data stream.
29557         Simplified GstEvent types.
29558         Added return values to push/pull.
29559         Removed clocking from GstElement.
29560         Added prototypes for state change function for next merge.
29561         Removed iterate from bins and state change management.
29562         Fixed some elements, disabled others for now.
29563         Fixed -inspect and -launch.
29564         Added check for GstBus.
29565
29566 2005-03-10  Wim Taymans  <wim@fluendo.com>
29567
29568         * docs/design/part-MT-refcounting.txt:
29569         * docs/design/part-clocks.txt:
29570         * docs/design/part-gstelement.txt:
29571         * docs/design/part-gstobject.txt:
29572         * docs/design/part-standards.txt:
29573         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
29574         (gst_bin_remove_func), (gst_bin_remove):
29575         * gst/gstbin.h:
29576         * gst/gstbuffer.c:
29577         * gst/gstcaps.h:
29578         * testsuite/clock/clock1.c: (main):
29579         * testsuite/clock/clock2.c: (gst_clock_debug), (element_wait),
29580         (main):
29581         * testsuite/dlopen/loadgst.c: (do_test):
29582         * testsuite/refcounting/bin.c: (add_remove_test1),
29583         (add_remove_test2), (main):
29584         * testsuite/refcounting/element.c: (main):
29585         * testsuite/refcounting/element_pad.c: (main):
29586         * testsuite/refcounting/pad.c: (main):
29587         * tools/gst-launch.c: (sigint_handler_sighandler):
29588         * tools/gst-typefind.c: (main):
29589         Doc updates.
29590         Added doc about clock.
29591         removed gst_bin_iterate_recurse_up(), marked methods
29592         for removal.
29593         Fix more testsuites.
29594
29595 2005-03-09  Wim Taymans  <wim@fluendo.com>
29596
29597         * gst/gstpad.c: (gst_pad_get_direction),
29598         (_gst_pad_default_fixate_foreach), (gst_pad_collectv),
29599         (gst_pad_collect_valist):
29600         * testsuite/bins/interface.c: (main):
29601         * testsuite/caps/audioscale.c: (test_caps):
29602         * testsuite/caps/caps.c: (test1), (test2), (test3):
29603         * testsuite/caps/deserialize.c: (main):
29604         * testsuite/caps/enumcaps.c: (main):
29605         * testsuite/caps/filtercaps.c: (main):
29606         * testsuite/caps/intersect2.c: (main):
29607         * testsuite/caps/random.c: (main):
29608         * testsuite/caps/renegotiate.c: (my_fixate), (main):
29609         * testsuite/caps/sets.c: (check_caps):
29610         * testsuite/caps/simplify.c: (check_caps), (main):
29611         * testsuite/caps/subtract.c: (check_caps):
29612         Fix _pad_get_direction wrt ghostpads.
29613         Fix caps testsuite.
29614
29615 2005-03-09  Wim Taymans  <wim@fluendo.com>
29616
29617         * check/Makefile.am:
29618         * check/gst/gstbin.c: (START_TEST), (gst_bin_suite), (main):
29619         * check/gst/gstsystemclock.c: (START_TEST), (gst_clock_debug),
29620         (ok_callback), (error_callback), (gst_systemclock_suite), (main):
29621         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_index_func),
29622         (gst_bin_set_clock_func), (gst_bin_get_clock_func),
29623         (gst_bin_add_func), (gst_bin_add), (gst_bin_remove_func),
29624         (gst_bin_remove), (gst_bin_iterate_recurse_up),
29625         (bin_element_is_sink), (gst_bin_iterate_sinks),
29626         (gst_bin_iterate_all_by_interface):
29627         * gst/gstbin.h:
29628         * gst/gstelement.c: (gst_element_init), (gst_element_error_full),
29629         (gst_element_change_state), (gst_element_dispose),
29630         (gst_element_finalize), (gst_element_set_loop_function):
29631         * gst/gstelement.h:
29632         * gst/gstiterator.c: (find_custom_fold_func):
29633         * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
29634         (gst_pad_collectv), (gst_pad_collect_valist),
29635         (gst_pad_template_new):
29636         * gst/gstpipeline.c: (gst_pipeline_class_init),
29637         (gst_pipeline_dispose), (gst_pipeline_set_property),
29638         (gst_pipeline_get_property), (gst_pipeline_get_clock_func),
29639         (gst_pipeline_get_clock), (gst_pipeline_use_clock),
29640         (gst_pipeline_set_clock), (gst_pipeline_auto_clock):
29641         * gst/gstutils.h:
29642         * gst/schedulers/entryscheduler.c:
29643         * gst/schedulers/gstbasicscheduler.c:
29644         (gst_basic_scheduler_cothreaded_chain),
29645         (gst_basic_scheduler_chain_add_element):
29646         * testsuite/bins/interface.c: (main):
29647         Added GstBin test.
29648         Added GstSystemClock test.
29649         Implemented clock distribution code in GstBin.
29650         Implemented iterate sinks method for future use.
29651         Rearranged gstelement.h
29652         Fix GstIterator comparison bug.
29653         Moved some code to GstPipeline, mostly clocking related.
29654
29655 2005-03-09  Wim Taymans  <wim@fluendo.com>
29656
29657         * configure.ac:
29658         * gst/gst_private.h:
29659         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
29660         (gst_bin_remove_func), (gst_bin_remove),
29661         (gst_bin_get_by_name_recurse_up):
29662         * gst/gstclock.c: (gst_clock_id_ref), (gst_clock_id_unref),
29663         (gst_clock_id_compare_func), (gst_clock_id_wait),
29664         (gst_clock_id_wait_async), (gst_clock_init),
29665         (gst_clock_adjust_unlocked), (gst_clock_get_time):
29666         * gst/gstelement.h:
29667         * gst/gstinfo.c: (_gst_debug_init):
29668         * gst/gstobject.h:
29669         * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
29670         (gst_pad_collectv), (gst_pad_collect_valist), (gst_pad_query):
29671         * gst/gstpad.h:
29672         Bump version number, we're now 0.9.0
29673         Add future debugging category.
29674         Fix NULL _unref() in _get_by_name_recurse_up
29675         Rearrange gstpad.h.
29676         Update some docs.
29677
29678 2005-03-08  Wim Taymans  <wim@fluendo.com>
29679
29680         * gst/elements/gstaggregator.c: (gst_aggregator_class_init):
29681         * gst/elements/gstfakesink.c: (gst_fakesink_class_init):
29682         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
29683         * gst/elements/gstfdsink.c: (gst_fdsink_class_init):
29684         * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init):
29685         * gst/elements/gstfilesink.c: (gst_filesink_class_init):
29686         * gst/elements/gstfilesrc.c: (gst_filesrc_class_init):
29687         * gst/elements/gstidentity.c: (gst_identity_class_init):
29688         * gst/elements/gstmd5sink.c: (gst_md5sink_class_init):
29689         * gst/elements/gstmultifilesrc.c: (gst_multifilesrc_class_init):
29690         * gst/elements/gstshaper.c: (gst_shaper_class_init):
29691         * gst/elements/gststatistics.c: (gst_statistics_class_init):
29692         * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_getcaps),
29693         (gst_tee_link):
29694         * gst/gstelement.c: (gst_element_class_init),
29695         (gst_element_base_class_init), (gst_element_init),
29696         (gst_element_get_random_pad), (gst_element_wait_state_change),
29697         (gst_element_change_state), (gst_element_dispose),
29698         (gst_element_finalize), (gst_element_set_loop_function):
29699         * gst/gstelement.h:
29700         * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_link_src):
29701         * gst/gstthread.c: (gst_thread_class_init),
29702         (gst_thread_release_children_locks), (gst_thread_change_state):
29703         * gst/schedulers/gstbasicscheduler.c:
29704         (gst_basic_scheduler_loopfunc_wrapper),
29705         (gst_basic_scheduler_chain_wrapper),
29706         (gst_basic_scheduler_src_wrapper),
29707         (gst_basic_scheduler_remove_element):
29708         * gst/schedulers/gstoptimalscheduler.c: (schedule_group):
29709         Remove threadsafe properties. Fix elements because GObject
29710         complains when installing a property before declaring a
29711         set/get_property handler.
29712         Rearrange gstelement.h file, use STATE macros for state locks.
29713         Free mutexes in the finalize method instead of dispose.
29714
29715 2005-03-08  Wim Taymans  <wim@fluendo.com>
29716
29717         * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
29718         * gst/gstthread.c: (gst_thread_release_children_locks):
29719         Added parentage check.
29720         Fix build og GstThread again.
29721
29722 2005-03-08  Wim Taymans  <wim@fluendo.com>
29723
29724         * docs/design/part-MT-refcounting.txt:
29725         * docs/design/part-conventions.txt:
29726         * docs/design/part-gstobject.txt:
29727         * docs/design/part-relations.txt:
29728         * docs/design/part-standards.txt:
29729         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
29730         (gst_bin_remove_func), (gst_bin_remove), (gst_bin_iterate_recurse),
29731         (gst_bin_get_by_name), (gst_bin_get_by_interface),
29732         (gst_bin_iterate_all_by_interface):
29733         * gst/gstbuffer.h:
29734         * gst/gstclock.h:
29735         * gst/gstelement.c: (gst_element_class_init),
29736         (gst_element_change_state), (gst_element_set_loop_function):
29737         * gst/gstelement.h:
29738         * gst/gstiterator.c:
29739         * gst/gstobject.c: (gst_object_class_init), (gst_object_ref),
29740         (gst_object_unref), (gst_object_sink), (gst_object_dispose),
29741         (gst_object_dispatch_properties_changed), (gst_object_set_name),
29742         (gst_object_set_parent), (gst_object_unparent),
29743         (gst_object_check_uniqueness):
29744         * gst/gstobject.h:
29745         Docs updates, clean up some headers.
29746
29747 2005-03-07  Wim Taymans  <wim@fluendo.com>
29748
29749         * check/.cvsignore:
29750         * check/Makefile.am:
29751         * check/gst-libs/.cvsignore:
29752         * check/gst-libs/gdp.c: (START_TEST), (gst_object_suite), (main):
29753         * check/gst/.cvsignore:
29754         * check/gst/gstbus.c: (pound_bus_with_messages), (pull_messages),
29755         (START_TEST), (gstbus_suite), (main):
29756         * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite), (main):
29757         * check/gst/gstdata.c: (START_TEST), (thread_ref), (thread_unref),
29758         (gst_data_suite), (main):
29759         * check/gst/gstiterator.c: (make_list_of_ints), (START_TEST),
29760         (add_fold_func), (gstiterator_suite), (main):
29761         * check/gst/gstobject.c: (gst_fake_object_get_type), (START_TEST),
29762         (thread_name_object), (thread_name_object_default),
29763         (gst_object_name_compare), (gst_object_suite), (main):
29764         * check/gst/gstpad.c: (START_TEST), (thread_link_unlink),
29765         (gst_pad_suite), (main):
29766         * check/gstcheck.c: (gst_check_log_message_func),
29767         (gst_check_log_critical_func), (gst_check_init):
29768         * check/gstcheck.h:
29769         * check/pipelines/simple_launch_lines.c: (setup_pipeline),
29770         (run_pipeline), (START_TEST), (simple_launch_lines_suite), (main):
29771         Added checks.
29772
29773 2005-03-07  Wim Taymans  <wim@fluendo.com>
29774
29775         * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
29776         (gst_list_iterator_next), (gst_list_iterator_resync),
29777         (gst_list_iterator_free), (gst_iterator_new_list),
29778         (gst_iterator_pop), (gst_iterator_next), (gst_iterator_resync),
29779         (gst_iterator_free), (gst_iterator_push), (filter_next),
29780         (filter_resync), (filter_uninit), (filter_free),
29781         (gst_iterator_filter), (gst_iterator_fold), (foreach_fold_func),
29782         (gst_iterator_foreach), (find_custom_fold_func),
29783         (gst_iterator_find_custom):
29784         * gst/gstiterator.h:
29785         Added missing files.
29786
29787 2005-03-07  Wim Taymans  <wim@fluendo.com>
29788
29789         * Makefile.am:
29790         * configure.ac:
29791         * docs/design/part-MT-refcounting.txt:
29792         * docs/design/part-conventions.txt:
29793         * docs/design/part-gstobject.txt:
29794         * docs/design/part-relations.txt:
29795         * examples/mixer/mixer.c: (main):
29796         * examples/thread/thread.c: (eos), (main):
29797         * gst/Makefile.am:
29798         * gst/autoplug/gstsearchfuncs.c: (gst_autoplug_caps_intersect):
29799         * gst/autoplug/gstspider.c: (gst_spider_identity_plug),
29800         (gst_spider_plug_from_srcpad):
29801         * gst/autoplug/gstspideridentity.c: (gst_spider_identity_getcaps),
29802         (gst_spider_identity_change_state),
29803         (gst_spider_identity_sink_loop_type_finding):
29804         * gst/elements/gstfakesrc.c: (gst_fakesrc_loop):
29805         * gst/elements/gstidentity.c: (gst_identity_init):
29806         * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_getcaps),
29807         (gst_tee_link), (gst_tee_request_new_pad), (gst_tee_chain):
29808         * gst/elements/gsttypefindelement.c: (free_entry):
29809         * gst/gst.c:
29810         * gst/gst.h:
29811         * gst/gstbin.c: (gst_bin_init), (gst_bin_get_clock_func),
29812         (gst_bin_set_clock_func), (gst_bin_auto_clock),
29813         (gst_bin_set_index), (gst_bin_set_element_sched),
29814         (gst_bin_unset_element_sched), (gst_bin_add_func), (gst_bin_add),
29815         (gst_bin_remove_func), (gst_bin_remove), (iterate_child),
29816         (gst_bin_iterate_elements), (iterate_child_recurse),
29817         (gst_bin_iterate_recurse), (gst_bin_dispose), (compare_name),
29818         (gst_bin_get_by_name), (gst_bin_get_by_name_recurse_up),
29819         (compare_interface), (gst_bin_get_by_interface),
29820         (gst_bin_iterate_all_by_interface), (gst_bin_iterate_func):
29821         * gst/gstbin.h:
29822         * gst/gstbuffer.c: (gst_buffer_get_type), (_gst_buffer_sub_free),
29823         (gst_buffer_default_free), (gst_buffer_default_copy),
29824         (gst_buffer_new), (gst_buffer_get_caps), (gst_buffer_set_caps),
29825         (gst_buffer_create_sub):
29826         * gst/gstbuffer.h:
29827         * gst/gstcaps.c: (gst_caps_get_type), (gst_caps_new_empty),
29828         (_gst_caps_free), (gst_caps_make_writable), (gst_caps_ref),
29829         (gst_caps_unref), (gst_static_caps_get),
29830         (gst_caps_remove_and_get_structure), (gst_caps_append),
29831         (gst_caps_append_structure), (gst_caps_remove_structure),
29832         (gst_caps_copy_nth), (gst_caps_set_simple),
29833         (gst_caps_set_simple_valist), (gst_caps_is_fixed_foreach),
29834         (gst_structure_is_equal_foreach), (gst_caps_is_subset),
29835         (gst_caps_structure_intersect_field), (gst_caps_intersect),
29836         (gst_caps_structure_subtract_field), (gst_caps_subtract),
29837         (gst_caps_normalize_foreach), (gst_caps_compare_structures),
29838         (gst_caps_structure_figure_out_union),
29839         (gst_caps_switch_structures), (gst_caps_do_simplify),
29840         (gst_caps_replace), (gst_caps_from_string),
29841         (gst_caps_copy_conditional):
29842         * gst/gstcaps.h:
29843         * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_id_ref),
29844         (_gst_clock_id_free), (gst_clock_id_unref),
29845         (gst_clock_id_compare_func), (gst_clock_id_wait),
29846         (gst_clock_id_wait_async), (gst_clock_class_init),
29847         (gst_clock_init), (gst_clock_dispose), (gst_clock_adjust_unlocked),
29848         (gst_clock_get_time), (gst_clock_set_time_adjust),
29849         (gst_clock_set_property), (gst_clock_get_property):
29850         * gst/gstclock.h:
29851         * gst/gstcompat.h:
29852         * gst/gstcpu.c: (_gst_cpu_initialize_i386), (gst_cpu_get_flags):
29853         * gst/gstdata.c: (gst_data_is_writable), (gst_data_copy_on_write):
29854         * gst/gstdata.h:
29855         * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
29856         (gst_element_requires_clock), (gst_element_provides_clock),
29857         (gst_element_set_clock), (gst_element_clock_wait),
29858         (gst_element_wait), (gst_element_set_time_delay),
29859         (gst_element_is_indexable), (gst_element_add_pad),
29860         (gst_element_add_ghost_pad), (gst_element_remove_pad),
29861         (pad_compare_name), (gst_element_get_static_pad),
29862         (gst_element_request_pad), (gst_element_get_request_pad),
29863         (gst_element_get_pad), (iterate_pad), (gst_element_iterate_pads),
29864         (gst_element_class_get_pad_template_list),
29865         (gst_element_class_get_pad_template), (gst_element_error_func),
29866         (gst_element_get_random_pad), (gst_element_get_event_masks),
29867         (gst_element_send_event), (gst_element_seek),
29868         (gst_element_get_query_types), (gst_element_query),
29869         (gst_element_get_formats), (gst_element_convert),
29870         (gst_element_is_locked_state), (gst_element_set_locked_state),
29871         (gst_element_sync_state_with_parent), (gst_element_change_state),
29872         (gst_element_finalize), (gst_element_yield),
29873         (gst_element_interrupt), (gst_element_set_scheduler),
29874         (gst_element_get_scheduler), (gst_element_set_loop_function):
29875         * gst/gstelement.h:
29876         * gst/gstevent.h:
29877         * gst/gstformat.c: (_gst_format_initialize), (gst_format_register),
29878         (gst_format_get_by_nick), (gst_format_get_details),
29879         (gst_format_iterate_definitions):
29880         * gst/gstformat.h:
29881         * gst/gstindex.c: (gst_index_gtype_resolver):
29882         * gst/gstinfo.c:
29883         * gst/gstinfo.h:
29884         * gst/gstmemchunk.c: (gst_mem_chunk_alloc), (gst_mem_chunk_alloc0),
29885         (gst_mem_chunk_free):
29886         * gst/gstobject.c: (gst_object_class_init), (gst_object_init),
29887         (gst_object_ref), (gst_object_unref), (gst_object_sink),
29888         (gst_object_replace), (gst_object_dispose), (gst_object_finalize),
29889         (gst_object_dispatch_properties_changed),
29890         (gst_object_set_name_default), (gst_object_set_name),
29891         (gst_object_get_name), (gst_object_set_name_prefix),
29892         (gst_object_get_name_prefix), (gst_object_set_parent),
29893         (gst_object_get_parent), (gst_object_unparent),
29894         (gst_object_check_uniqueness), (gst_object_save_thyself),
29895         (gst_object_restore_thyself), (gst_object_real_restore_thyself),
29896         (gst_object_set_property), (gst_object_get_property),
29897         (gst_object_get_path_string):
29898         * gst/gstobject.h:
29899         * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
29900         (gst_real_pad_init), (gst_real_pad_get_property),
29901         (gst_pad_custom_new), (gst_pad_get_direction),
29902         (gst_pad_set_active), (gst_pad_is_active),
29903         (gst_pad_set_event_function), (gst_pad_is_linked),
29904         (gst_pad_link_free), (gst_pad_link_intersect),
29905         (gst_pad_link_fixate), (gst_pad_set_caps),
29906         (gst_pad_try_set_caps_nonfixed), (gst_pad_set_pad_template),
29907         (gst_pad_get_real_parent), (gst_pad_add_ghost_pad),
29908         (gst_pad_remove_ghost_pad), (_gst_pad_default_fixate_foreach),
29909         (gst_pad_link_unnegotiate), (gst_pad_proxy_fixate),
29910         (gst_pad_get_caps), (gst_pad_peer_get_caps),
29911         (gst_pad_get_pad_template_caps), (gst_pad_get_peer),
29912         (gst_pad_realize), (gst_pad_get_allowed_caps),
29913         (gst_real_pad_dispose), (gst_real_pad_finalize),
29914         (gst_pad_collectv), (gst_pad_collect_valist),
29915         (gst_pad_template_dispose), (gst_pad_template_new),
29916         (gst_pad_get_internal_links):
29917         * gst/gstpad.h:
29918         * gst/gstpipeline.c: (gst_pipeline_dispose),
29919         (gst_pipeline_change_state):
29920         * gst/gstpipeline.h:
29921         * gst/gstplugin.c:
29922         * gst/gstpluginfeature.c: (gst_plugin_feature_get_name),
29923         (gst_plugin_feature_set_rank), (gst_plugin_feature_get_rank):
29924         * gst/gstpluginfeature.h:
29925         * gst/gstprobe.c: (gst_probe_dispatcher_dispatch):
29926         * gst/gstquery.c: (_gst_query_type_initialize),
29927         (gst_query_type_register), (gst_query_type_get_by_nick),
29928         (gst_query_type_get_details), (gst_query_type_iterate_definitions):
29929         * gst/gstquery.h:
29930         * gst/gstqueue.c: (gst_queue_link_sink), (gst_queue_link_src):
29931         * gst/gstscheduler.c: (gst_scheduler_add_element),
29932         (gst_scheduler_factory_create):
29933         * gst/gststructure.c: (gst_structure_set_parent_refcount),
29934         (gst_structure_free), (gst_structure_set_name),
29935         (gst_structure_id_set_value), (gst_structure_set_value),
29936         (gst_structure_set_valist), (gst_structure_remove_field),
29937         (gst_structure_remove_fields),
29938         (gst_structure_remove_fields_valist),
29939         (gst_structure_remove_all_fields), (gst_structure_foreach),
29940         (gst_structure_map_in_place),
29941         (gst_caps_structure_fixate_field_nearest_int),
29942         (gst_caps_structure_fixate_field_nearest_double):
29943         * gst/gststructure.h:
29944         * gst/gstsystemclock.c: (gst_system_clock_class_init),
29945         (gst_system_clock_init), (gst_system_clock_dispose),
29946         (gst_system_clock_async_thread),
29947         (gst_system_clock_id_wait_unlocked), (gst_system_clock_id_wait),
29948         (gst_system_clock_id_wait_async), (gst_system_clock_id_unschedule):
29949         * gst/gstsystemclock.h:
29950         * gst/gsttag.c: (gst_tag_list_add_value_internal),
29951         (gst_tag_list_copy_foreach), (structure_foreach_wrapper):
29952         * gst/gsttaginterface.c:
29953         * gst/gstthread.c: (gst_thread_dispose),
29954         (gst_thread_release_children_locks), (gst_thread_change_state),
29955         (gst_thread_main_loop):
29956         * gst/gsttrashstack.h:
29957         * gst/gsttypefind.c: (gst_type_find_factory_dispose):
29958         * gst/gsttypes.h:
29959         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
29960         (gst_element_request_pad), (gst_element_get_pad_from_template),
29961         (gst_element_request_compatible_pad),
29962         (gst_element_get_compatible_pad_filtered),
29963         (gst_element_get_compatible_pad), (gst_element_state_get_name),
29964         (gst_element_link_pads_filtered), (gst_element_link_filtered),
29965         (gst_element_link_many), (gst_element_link),
29966         (gst_element_link_pads), (gst_element_unlink_pads),
29967         (gst_element_unlink_many), (gst_element_unlink),
29968         (gst_pad_can_link_filtered), (gst_pad_can_link),
29969         (gst_pad_use_fixed_caps), (gst_pad_get_fixed_caps_func),
29970         (gst_object_default_error), (gst_bin_add_many),
29971         (gst_bin_remove_many), (gst_element_populate_std_props),
29972         (gst_element_class_install_std_props), (gst_buffer_merge),
29973         (gst_buffer_stamp), (intersect_caps_func), (gst_pad_proxy_getcaps),
29974         (link_fold_func), (gst_pad_proxy_setcaps):
29975         * gst/gstutils.h:
29976         * gst/gstvalue.c: (gst_value_deserialize_string):
29977         * gst/parse/grammar.y:
29978         * gst/schedulers/gstbasicscheduler.c:
29979         (gst_basic_scheduler_cothreaded_chain),
29980         (gst_basic_scheduler_chain_recursive_add),
29981         (gst_basic_scheduler_pad_link):
29982         * gst/schedulers/gstoptimalscheduler.c:
29983         (get_group_schedule_function),
29984         (gst_opt_scheduler_state_transition),
29985         (gst_opt_scheduler_add_element), (element_get_reachables_func):
29986         * libs/gst/bytestream/bytestream.c:
29987         * libs/gst/dataprotocol/dataprotocol.c:
29988         (gst_dp_header_from_buffer):
29989         * po/nb.po:
29990         * po/ru.po:
29991         * tests/threadstate/threadstate2.c: (eos):
29992         * tools/gst-compprep.c: (main):
29993         * tools/gst-inspect.c: (print_field), (print_element_flag_info),
29994         (print_pad_info), (print_children_info):
29995         * tools/gst-launch.c: (idle_func), (main):
29996         * tools/gst-md5sum.c: (idle_func), (main):
29997         * tools/gst-xmlinspect.c: (print_element_info):
29998         First THREADED backport attempt, focusing on adding locks and
29999         making sure the API is threadsafe. Needs more work. More docs
30000         follow this week.
30001
30002 2005-02-24  Andy Wingo  <wingo@pobox.com>
30003
30004         * tests/bench-complexity.scm:
30005         * tests/complexity.gnuplot: New files, good for running complexity
30006         benchmarks.
30007
30008         * tests/Makefile.am:
30009         * tests/complexity.c: New test, sets up N elements, at each level
30010         teeing into M streams per element. Eeeenteresting.
30011
30012         * tests/mass_elements.gnuplot: gnuplot file for the mass_elements
30013         benchmark. Run as gnuplot mass_elements.gnuplot > foo.ps, after
30014         running bench-mass_elements.scm.
30015
30016         * tests/bench-mass_elements.scm: New script, runs mass_elements
30017         for various numbers of identities, outputting the results to a
30018         file. Requires guile 1.6. Just for testing.
30019
30020 2005-02-23  Thomas Vander Stichele  <thomas at apestaart dot org>
30021
30022         * gst/schedulers/fairscheduler.c:
30023           compile with debug disabled
30024
30025 2005-02-22  Thomas Vander Stichele  <thomas at apestaart dot org>
30026
30027         * configure.ac:
30028           hunting season on 0.9 is now OPEN