docs/manual/: Add scale factor for pdf output.
[platform/upstream/gstreamer.git] / ChangeLog
1 2008-06-27  Stefan Kost  <ensonic@users.sf.net>
2
3         patch by: Luc Pionchon  <luc.pionchon@nokia.com>
4
5         * docs/manual/advanced-autoplugging.xml:
6         * docs/manual/advanced-threads.xml:
7         * docs/manual/basics-bins.xml:
8         * docs/manual/basics-elements.xml:
9         * docs/manual/basics-helloworld.xml:
10         * docs/manual/basics-pads.xml:
11           Add scale factor for pdf output.
12
13         * docs/manual/intro-basics.xml:
14           Switched sections "pads" and "bins" and added a pipeline diagram.
15
16         * docs/manual/intro-gstreamer.xml:
17           Added more info on gstreamer.
18
19         * docs/manual/intro-motivation.xml:
20           Commented out the whole section "current problem", which sounds
21           historical and somehow osolete; it could be turned in a positive
22           way and reused to improve the design principles.
23
24         * docs/manual/intro-preface.xml:
25           - Update URLs to library.gnome.org. 
26           - Do not mention GTK+ in preliminary reading (irrelevant). 
27           - Mention Plugin Writer's Manual and further reading only in the
28             previous section.
29           - Added a list of most relevant GObject/glib topics.
30
31         * docs/manual/Makefile.am:
32         * docs/manual/bin-element-ghost.fig:
33         * docs/manual/bin-element-ghost.png:
34         * docs/manual/bin-element-noghost.fig:
35         * docs/manual/bin-element-noghost.png:
36         * docs/manual/bin-element.fig:
37         * docs/manual/bin-element.png:
38         * docs/manual/filter-element-multi.fig:
39         * docs/manual/filter-element-multi.png:
40         * docs/manual/filter-element.fig:
41         * docs/manual/filter-element.png:
42         * docs/manual/gstreamer-overview.png:
43         * docs/manual/hello-world.fig:
44         * docs/manual/hello-world.png:
45         * docs/manual/linked-elements.fig:
46         * docs/manual/linked-elements.png:
47         * docs/manual/mime-world.fig:
48         * docs/manual/mime-world.png:
49         * docs/manual/queue.fig:
50         * docs/manual/queue.png:
51         * docs/manual/simple-player.png:
52         * docs/manual/sink-element.fig:
53         * docs/manual/sink-element.png:
54         * docs/manual/src-element.fig:
55         * docs/manual/src-element.png:
56         * docs/manual/diagrams-general.svg:
57         * docs/manual/diagrams-pipelines.svg:
58           Removed .fig, added .png counterpart.
59           
60           Fixes: #539137
61
62 2008-06-26  Thijs Vermeir  <thijsvermeir@gmail.com>
63
64         * plugins/elements/gstmultiqueue.c:
65         * plugins/elements/gstmultiqueue.h:
66         revert extra-size-buffers stuff, caused some race conditions
67         and extra-size-buffers is not used anymore. Docs needs some updates
68
69 2008-06-26  Tim-Philipp Müller  <tim.muller at collabora co uk>
70
71         * win32/common/config.h:
72         * win32/common/gstenumtypes.c:
73         * win32/common/gstenumtypes.h:
74         * win32/common/gstversion.h:
75           Update win32 files.
76
77 2008-06-26  Tim-Philipp Müller  <tim.muller at collabora co uk>
78
79         * gst/gstdebugutils.h: (GstDebugGraphDetails),
80           (GST_DEBUG_BIN_TO_DOT_FILE):
81           Add missing Since' markers to gtk-doc blurbs.
82
83 2008-06-26  Wim Taymans  <wim.taymans@collabora.co.uk>
84
85         * tests/check/libs/transform1.c: (buffer_alloc_pt1),
86         (set_caps_pt1), (GST_START_TEST), (set_caps_pt2), (transform_ip_1),
87         (set_caps_1), (set_caps_ct1), (transform_ct1),
88         (transform_caps_ct1), (transform_size_ct1), (buffer_alloc_ct1),
89         (set_caps_ct2), (transform_ct2), (transform_caps_ct2),
90         (transform_size_ct2), (buffer_alloc_ct2):
91         Add some more tests with switching caps in buffer_alloc.
92
93 2008-06-25  Wim Taymans  <wim.taymans@collabora.co.uk>
94
95         * tests/check/libs/test_transform.c: (gst_test_trans_base_init),
96         (gst_test_trans_class_init), (result_sink_chain),
97         (result_buffer_alloc), (gst_test_trans_new), (gst_test_trans_free),
98         (gst_test_trans_push), (gst_test_trans_pop):
99         * tests/check/libs/transform1.c: (buffer_alloc_pt1),
100         (set_caps_pt1), (GST_START_TEST), (set_caps_pt2), (transform_ip_1),
101         (set_caps_1), (set_caps_ct1), (transform_ct1),
102         (transform_caps_ct1), (transform_size_ct1), (buffer_alloc_ct1),
103         (set_caps_ct2), (transform_ct2), (transform_caps_ct2),
104         (transform_size_ct2), (buffer_alloc_ct2),
105         (gst_basetransform_suite):
106         More tests, prepare for tests with switching caps in buffer_alloc.
107
108 2008-06-25  Thijs Vermeir  <thijsvermeir@gmail.com>
109
110         * plugins/elements/gstmultiqueue.c:
111         * plugins/elements/gstmultiqueue.h:
112         Fix dead-lock in underrun_cb
113
114 2008-06-25  Wim Taymans  <wim.taymans@collabora.co.uk>
115
116         * docs/design/part-states.txt:
117         Fix device open/close docs.
118
119 2008-06-25  Stefan Kost  <ensonic@users.sf.net>
120
121         * ChangeLog:
122           Mention bugnumber for last commit.
123
124 2008-06-25  Stefan Kost  <ensonic@users.sf.net>
125
126         patch by: Luc Pionchon  <luc.pionchon@nokia.com>
127
128         * docs/manual/manual.xml:
129         - Reorganised the previous "introduction" bundle into Foreword,
130         Introduction, and About GStreamer. The two first are <preface>
131         docbook elements. The later is the first part of the book.
132         - added intro-gstreamer.xml (content partially from
133         intro-preface.xml)
134         - moved appendix-win32.xml into appendix-integration.xml
135
136         * docs/manual/intro-preface.xml: gstreamer section moved...
137         * docs/manual/intro-gstreamer.xml: ...here. new file.
138
139         * docs/manual/appendix-win32.xml: removed file. Content moved...
140         * docs/manual/appendix-integration.xml: ...here.
141         
142         * docs/manual/highlevel-components.xml: section about GstEditor moved...
143         * docs/manual/appendix-checklist.xml: ...here.
144         
145         Fixes: 538764
146
147 2008-06-25  Stefan Kost  <ensonic@users.sf.net>
148
149         patch by: Luc Pionchon  <luc.pionchon@nokia.com>
150
151         * docs/manual/basics-helloworld.xml:
152         * docs/manual/hello-world.fig:
153           - Explicitely include glib.h.
154           - Do not use global variables.
155           - Use g_printerr() instead of g_print().
156           - Minor formating/renaming to increase readibility.
157           - Renamed new_pad() to on_pad_added()
158           - Improved explenatory comments.
159           - renamed ogg parser to ogg demuxer
160           - Use "autoaudiosink" instead of "alsasink".
161           Fixes: #538619
162
163 2008-06-25  Stefan Kost  <ensonic@users.sf.net>
164
165         * ChangeLog:
166           Remove cvs conflict marker.
167
168 2008-06-25  Stefan Kost  <ensonic@users.sf.net>
169
170         * docs/README:
171           Document that for plgin-docs we extraxt he short-desc from the element
172           details.
173
174         * docs/design/part-states.txt:
175           Tell that devices should be closed in PAUSED -> READY.
176
177         * docs/manual/README:
178           Document how tests in the manual are handled.
179
180         * docs/manuals.mak:
181           Typo in comment.
182
183 2008-06-25  Wim Taymans  <wim.taymans@collabora.co.uk>
184
185         * gst/gstbin.c: (bin_query_latency_fold):
186         Only care about latency min and max when the sink is actually a live
187         sink.
188
189 2008-06-25  Wim Taymans  <wim.taymans@collabora.co.uk>
190
191         * docs/design/part-block.txt:
192         Fix typo.
193
194         * docs/design/part-element-transform.txt:
195         Add notes about why transform needs to know input/output sizes.
196         Add some issues that need to be solved.
197         Add some more use cases.
198
199         * tests/check/libs/test_transform.c: (gst_test_trans_base_init),
200         (gst_test_trans_class_init), (result_sink_chain),
201         (result_buffer_alloc), (gst_test_trans_new), (gst_test_trans_free),
202         (gst_test_trans_push), (gst_test_trans_pop):
203         * tests/check/libs/transform1.c: (buffer_alloc_pt1),
204         (set_caps_pt1), (GST_START_TEST), (set_caps_pt2), (transform_ip_1),
205         (set_caps_1), (set_caps_ct1), (transform_ct1),
206         (transform_caps_ct1), (transform_size_ct1), (buffer_alloc_ct1),
207         (gst_basetransform_suite):
208         Add suport for different pad templates and buffer-alloc.
209         Add more checks for caps and buffer-alloc.
210         Add checks for proxy buffer alloc.
211         Add unit test for copy transform.
212
213 2008-06-24  Tim-Philipp Müller  <tim.muller at collabora co uk>
214
215         Patch by: Luc Pionchon  <luc.pionchon@nokia.com>
216
217         * docs/manual/appendix-integration.xml:
218         * docs/manual/appendix-licensing.xml:
219         * docs/manual/basics-elements.xml:
220         * docs/manual/basics-helloworld.xml:
221         * docs/manual/basics-pads.xml:
222         * docs/manual/highlevel-components.xml:
223         * docs/manual/highlevel-xml.xml:
224         * docs/manual/intro-basics.xml:
225         * docs/manual/intro-preface.xml:
226           Typo and formatting fixes (#538594).
227
228 2008-06-24  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
229
230         * tests/check/gst/gstghostpad.c: (GST_START_TEST):
231         Fix some memory leaks and uses of object instances that we don't
232         actually own.
233
234 2008-06-22  Thijs Vermeir  <thijsvermeir@gmail.com>
235
236         * plugins/elements/gstmultiqueue.c:
237         Add functionality to extra-size-buffers property.
238
239 2008-06-22  Thijs Vermeir  <thijsvermeir@gmail.com>
240
241         * plugins/elements/gstmultiqueue.c:
242         Don't update the cur_time on GST_CLOCK_TIME_NONE (#537804) and don't
243         activate the pads if they are added in STATE_NULL.
244
245 2008-06-21  Thijs Vermeir  <thijsvermeir@gmail.com>
246
247         * docs/libs/gstreamer-libs-sections.txt:
248         Add new API to doc
249         * libs/gst/check/gstcheck.c:
250         * libs/gst/check/gstcheck.h:
251         API: gst_check_teardown_pad_by_name
252
253 2008-06-21  Thijs Vermeir  <thijsvermeir@gmail.com>
254
255         * libs/gst/check/gstcheck.c:
256         * libs/gst/check/gstcheck.h:
257         Also setup request pads and allow setup pads by name (#537812)
258         API: gst_check_setup_src_pad_by_name
259         API: gst_check_setup_sink_pad_by_name
260
261 2008-06-20  Thomas Vander Stichele  <thomas at apestaart dot org>
262
263         * tests/check/gst/gstbuffer.c:
264         * tests/check/pipelines/parse-launch.c:
265           Use HAVE_VALGRIND_H some more.
266
267 2008-06-20  Thomas Vander Stichele  <thomas at apestaart dot org>
268
269         * scripts/cvs-update.sh:
270           Pass arguments to make.
271           Run autoregen.sh if Makefile is not there.
272
273 2008-06-20  Thomas Vander Stichele  <thomas at apestaart dot org>
274
275         * configure.ac:
276         * gst/gstinfo.c:
277           Don't assume that <valgrind/valgrind.h> exists just because
278           the binary is there.
279
280 2008-06-20  Wim Taymans  <wim.taymans@collabora.co.uk>
281
282         * tests/check/Makefile.am:
283         * tests/check/libs/test_transform.c: (gst_test_trans_base_init),
284         (gst_test_trans_class_init), (gst_test_trans_init),
285         (gst_test_trans_set_data), (result_sink_chain),
286         (gst_test_trans_new), (gst_test_trans_free), (gst_test_trans_push),
287         (gst_test_trans_pop):
288         * tests/check/libs/transform1.c: (GST_START_TEST),
289         (transform_ip_1), (set_caps_1), (gst_basetransform_suite):
290         Add some test basetransform element and the beginnings of various
291         unit tests for it.
292
293 2008-06-20  Wim Taymans  <wim.taymans@collabora.co.uk>
294
295         * libs/gst/base/gsttypefindhelper.c: (helper_find_peek):
296         Increase code readability.
297         Don't try to compare buffer offsets when ther are invalid.
298
299 2008-06-20  Tim-Philipp Müller  <tim.muller at collabora co uk>
300
301         * docs/design/Makefile.am:
302           Dist some more design docs.
303
304         * docs/random/moving-plugins:
305           Small addition: good plugins mustn't have functional code
306           within assertion macros.
307
308 2008-06-20  Wim Taymans  <wim.taymans@collabora.co.uk>
309
310         * docs/design/draft-framestep.txt:
311         Some ideas about a framestep API
312
313         * docs/design/part-element-transform.txt:
314         Start design and use cases for basetransform in order to get it
315         fixed soon.
316
317 2008-06-20  Tim-Philipp Müller  <tim.muller at collabora co uk>
318
319         * gst/gsttaglist.h:
320           In GST_TAG_ATTACHEMENT docs, mention that the file name needs to
321           be in UTF-8 encoding.
322
323 2008-06-20  Tim-Philipp Müller  <tim.muller at collabora co uk>
324
325         * gst/gstbus.c:
326           Make it known that gst_bus_poll() is pure evil (fixes #538810).
327
328 2008-06-20  Stefan Kost  <ensonic@users.sf.net>
329
330         * plugins/elements/gstcapsfilter.c:
331         * plugins/elements/gstfakesink.c:
332         * plugins/elements/gstfakesrc.c:
333         * plugins/elements/gstfdsink.c:
334         * plugins/elements/gstfdsrc.c:
335         * plugins/elements/gstfilesink.c:
336         * plugins/elements/gstfilesrc.c:
337         * plugins/elements/gstidentity.c:
338         * plugins/elements/gstmultiqueue.c:
339         * plugins/elements/gstqueue.c:
340         * plugins/elements/gsttee.c:
341         * plugins/elements/gsttypefindelement.c:
342           Remove short_description. Add basic docs for gsttypefindelement.
343           Simplify markup for fakesrc/fdsrc.
344
345 2008-06-20  Wim Taymans  <wim.taymans@collabora.co.uk>
346
347         * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init):
348         Added Since doc.
349
350 2008-06-20  Wim Taymans  <wim.taymans@collabora.co.uk>
351
352         Patch by: joel larsson <tilljoel at gmail dot com>
353
354         * docs/plugins/gstreamer-plugins.args:
355         * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init),
356         (gst_fd_src_init), (gst_fd_src_update_fd),
357         (gst_fd_src_set_property), (gst_fd_src_get_property),
358         (gst_fd_src_create):
359         * plugins/elements/gstfdsrc.h:
360         Add timeout property like udpsrc. Fixes #538628.
361         Add some more docs and example pipelines.
362
363 2008-06-20  Wim Taymans  <wim.taymans@collabora.co.uk>
364
365         * docs/libs/gstreamer-libs-sections.txt:
366         * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
367         (gst_base_sink_query_latency), (gst_base_sink_set_render_delay),
368         (gst_base_sink_get_render_delay), (gst_base_sink_wait_eos),
369         (gst_base_sink_do_sync):
370         * libs/gst/base/gstbasesink.h:
371         * win32/common/libgstbase.def:
372         Add method to allow sinks to specify additional delay between the sync
373         times and the actual rendering of the data.
374         API: gst_base_sink_set_render_delay()
375         API: gst_base_sink_get_render_delay()
376
377 2008-06-20  Jan Schmidt  <jan.schmidt@sun.com>
378
379         * configure.ac:
380         Bump version number back to dev -> 0.10.20.1
381
382 2008-06-20  Sebastian Dröge  <slomo@circular-chaos.org>
383
384         * docs/gst/gstreamer-sections.txt:
385         * gst/gsttaglist.c: (_gst_tag_initialize):
386         * gst/gsttaglist.h:
387         API: Add GST_TAG_ATTACHMENT for generic file attachments to streams.
388         Fixes bug #538568.
389
390 2008-06-20  Stefan Kost  <ensonic@users.sf.net>
391
392         * libs/gst/controller/gstcontroller.c:
393           Revert one change, that make ret value possible uninitialized.
394
395 2008-06-20  Stefan Kost  <ensonic@users.sf.net>
396
397         * libs/gst/controller/gstcontroller.c:
398           Use freeze/thaw notify to sync notify emission a bit (its also more
399           efficient). Move debug output to LOG (is called a lot in a loop).
400           Always unset g_values if the have been initialized.
401
402 2008-06-20  Wim Taymans  <wim.taymans@collabora.co.uk>
403
404         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
405         (gst_base_sink_wait_eos), (gst_base_sink_event):
406         If we have not seen a buffer before EOS, use the segment values to
407         report the current position instead of invalid positions.
408
409 2008-06-20  Stefan Kost  <ensonic@users.sf.net>
410
411         * docs/plugins/tmpl/.cvsignore:
412         * tests/check/gst/.cvsignore:
413           Ignore more.
414
415 2008-06-20  Stefan Kost  <ensonic@users.sf.net>
416
417         * libs/gst/controller/gstinterpolation.c:
418         * libs/gst/controller/gstinterpolationcontrolsource.c:
419         * tests/check/libs/controller.c:
420           Rewrite handling of default values. Fix overflow with unsigned types
421           in linear interpolation. Remove now obsolete _first_value() function.
422           Add more tests. Fixes #538201.
423
424 2008-06-20  Wim Taymans  <wim.taymans@collabora.co.uk>
425
426         * libs/gst/base/gstbasetransform.c:
427         (gst_base_transform_class_init), (gst_base_transform_init),
428         (gst_base_transform_transform_caps),
429         (gst_base_transform_prepare_output_buffer):
430         Add debug info.
431         When a buffer is writable, its metadata is also writable so we don't
432         need to subbuffer (which then makes the buffer not-writable anymore).
433
434 === release 0.10.20 ===
435
436 2008-06-18  Jan Schmidt <jan.schmidt@sun.com>
437
438         * configure.ac:
439           releasing 0.10.20, "You Crazy Diamond"
440
441 2008-06-11  Jan Schmidt  <jan.schmidt@sun.com>
442
443         * configure.ac:
444         0.10.19.3 pre-release
445
446 2008-06-11  Jan Schmidt  <jan.schmidt@sun.com>
447
448         * configure.ac:
449         * gst/gstpreset.c:
450         Rename DATADIR to GST_DATADIR to avoid build problems
451         on win32. Patch By: David Schleef <ds@schleef.org>
452         Fixes: #536857
453
454 2008-06-05  Sebastian Dröge  <slomo@circular-chaos.org>
455
456         * configure.ac:
457         Explicitely link with -ldl if dladdr() is found there. Before it was
458         implicitely linked by the gmodule pkgconfig file but in glib 2.17.0
459         -ldl has moved from Libs to Libs.private. Fixes bug #536744.
460
461 2008-06-05  Tim-Philipp Müller  <tim.muller at collabora co uk>
462
463         * gst/gsterror.c: (_gst_stream_errors_init):
464           Fix typo (spotted by Fabricio Godoy, #536723).
465
466 2008-06-05  Jan Schmidt  <jan.schmidt@sun.com>
467
468         * configure.ac:
469         0.10.19.2 pre-release
470
471 2008-06-04  Wim Taymans  <wim.taymans@collabora.co.uk>
472
473         * libs/gst/base/gstbasesink.c: (gst_base_sink_set_async_enabled),
474         (gst_base_sink_set_ts_offset), (gst_base_sink_perform_qos):
475         Add some debug.
476         Make sure we don't generate invalid QoS messages.
477
478 2008-06-04  Wim Taymans  <wim.taymans@collabora.co.uk>
479
480         * gst/gstevent.c: (gst_event_new_qos):
481         Add some assert and docs for invalid input to the qos function.
482
483 2008-05-30  Wim Taymans  <wim.taymans@collabora.co.uk>
484
485         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
486         (gst_base_sink_get_position):
487         The reported position must always be smaller than the last seen
488         timestamps (or timestamp + duration for reverse).
489
490 2008-05-30  Sebastian Dröge  <slomo@circular-chaos.org>
491
492         Patch by: Rob Bradford <rob at robster dot org dot uk>
493
494         * gst/gstregistry.c: (gst_registry_scan_path_level):
495         Don't recurse into .debug directories as some distros install
496         the debugging symbols next to the plugins in .debug directories
497         and dlopen() crashes on them sometimes. Fixes bug #508070.
498
499         Add FIXME for 0.11 to not recurse into directories at all because
500         it's very inconsistent to the behaviour of other PATH environment
501         variables.
502
503 2008-05-29  Wim Taymans  <wim.taymans@collabora.co.uk>
504
505         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
506         (gst_base_sink_get_position_last), (gst_base_sink_get_position):
507         Fix position query range checks in reverse playback.
508
509 2008-05-29  Sebastian Dröge  <slomo@circular-chaos.org>
510
511         * gst/gstelement.c:
512         * gst/gstelement.h:
513         Deprecated gst_element_get_pad() as it can't be used sanely. It's not
514         clear of the reference to the resulting pad must be released later
515         or not, resulting in possible leaks. Fixes bug #533865.
516
517 2008-05-28  Wim Taymans  <wim.taymans@collabora.co.uk>
518
519         Patch by: José Alburquerque <jaalburqu at svn dot gnome dot org>
520
521         * gst/gstelementfactory.c:
522         Small doc fix. Fixes #535285.
523
524 2008-05-28  Wim Taymans  <wim.taymans@collabora.co.uk>
525
526         Based on patch by: Bjarne Rosengren <bjarne at axis dot com>
527
528         * libs/gst/base/gstbasesrc.c: (gst_base_src_send_event),
529         (gst_base_src_get_range), (gst_base_src_pad_get_range),
530         (gst_base_src_loop), (gst_base_src_set_flushing),
531         (gst_base_src_change_state):
532         Make sending an EOS event to the basesrc non-blocking even if the
533         implementation does blocking waits in the create function. This is done
534         by unlocking the create function when EOS is sent.
535         Fixes #535218.
536
537 2008-05-28  Sebastian Dröge  <slomo@circular-chaos.org>
538
539         * tools/gst-inspect.c: (print_element_properties_info):
540         If possible print the element type of GValueArray properties.
541
542 2008-05-28  Sebastian Dröge  <slomo@circular-chaos.org>
543
544         * gst/gstiterator.c:
545         Remove an unused field from the private GstListIterator struct.
546
547 2008-05-27  Stefan Kost  <ensonic@users.sf.net>
548
549         * libs/gst/controller/gstcontroller.c:
550           Add parameter guards.
551
552 2008-05-27  Stefan Kost  <ensonic@users.sf.net>
553
554         * tests/check/gst/gstpipeline.c:
555           Revert test change and add comment why it should not work.
556
557 2008-05-27  Stefan Kost  <ensonic@users.sf.net>
558
559         * tests/check/gst/gstpipeline.c:
560           Extending the test a little to verify that we also get the NULL state-
561           change message.
562
563 2008-05-27  Tim-Philipp Müller  <tim.muller at collabora co uk>
564
565         * gst/gstpreset.c: (gst_preset_default_get_meta),
566           (gst_preset_get_preset_names), (gst_preset_get_property_names),
567           (gst_preset_load_preset), (gst_preset_save_preset),
568           (gst_preset_rename_preset), (gst_preset_delete_preset),
569           (gst_preset_set_meta):
570           Add Since: markers to docs blurbs.
571
572         * win32/common/libgstreamer.def:
573           Add recently-added API.
574
575 2008-05-27  Wim Taymans  <wim.taymans@collabora.co.uk>
576
577         Patch by: Stefan Kost  <ensonic@users.sf.net>
578
579         * configure.ac:
580         Add DATADIR for storing presets.
581
582         * docs/gst/gstreamer-docs.sgml:
583         * docs/gst/gstreamer-sections.txt:
584         * docs/gst/gstreamer.types.in:
585         Add GstPreset to docs.
586
587         * gst/Makefile.am:
588         * gst/gst.h:
589         * gst/gstpreset.c: (preset_get_paths), (preset_skip_property),
590         (preset_open_and_parse_header), (preset_parse_version),
591         (preset_merge), (preset_get_keyfile),
592         (gst_preset_default_get_preset_names),
593         (gst_preset_default_get_property_names),
594         (gst_preset_default_load_preset),
595         (gst_preset_default_save_presets_file),
596         (gst_preset_default_save_preset),
597         (gst_preset_default_rename_preset),
598         (gst_preset_default_delete_preset), (gst_preset_default_set_meta),
599         (gst_preset_default_get_meta), (gst_preset_default_randomize),
600         (gst_preset_default_reset), (gst_preset_get_preset_names),
601         (gst_preset_get_property_names), (gst_preset_load_preset),
602         (gst_preset_save_preset), (gst_preset_rename_preset),
603         (gst_preset_delete_preset), (gst_preset_set_meta),
604         (gst_preset_get_meta), (gst_preset_class_init),
605         (gst_preset_base_init), (gst_preset_get_type):
606         * gst/gstpreset.h:
607         Add GstPreset to core. Fixes #396779
608
609         * tests/check/Makefile.am:
610         * tests/check/gst/gstpreset.c: (gst_preset_test_get_property),
611         (gst_preset_test_set_property), (gst_preset_test_class_init),
612         (gst_preset_test_base_init), (gst_preset_test_get_type),
613         (gst_preset_test_plugin_init), (GST_START_TEST),
614         (remove_preset_file), (test_setup), (test_teardown),
615         (gst_preset_suite):
616         Add GstPreset unit tests.
617
618 2008-05-27  Wim Taymans  <wim.taymans@collabora.co.uk>
619
620         * gst/gstpad.c: (gst_pad_event_default_dispatch):
621         The default event function on a sinkpad should return TRUE when
622         there are no internal links but should collect the return values from
623         the internal links otherwise.
624
625 2008-05-27  Wim Taymans  <wim.taymans@collabora.co.uk>
626
627         * plugins/elements/gsttypefindelement.c:
628         (gst_type_find_element_src_event),
629         (gst_type_find_element_handle_event):
630         Use faster and safer _pad_push_event().
631
632 2008-05-27  Tim-Philipp Müller  <tim.muller at collabora co uk>
633
634         * docs/gst/gstreamer-sections.txt:
635         * gst/gstutils.c: (element_find_unlinked_pad),
636           (gst_bin_find_unlinked_pad), (gst_bin_find_unconnected_pad),
637         * gst/gstutils.h:
638           API: add gst_bin_find_unlinked_pad()
639           API: deprecate gst_bin_find_unconnected_pad() (#401456)
640
641 2008-05-26  Peter Kjellerstedt  <pkj@axis.com>
642
643         * gst/gstclock.c:
644         * gst/gstclock.h:
645         * gst/gsttask.c:
646         * gst/gsttask.h:
647         Fixed a bunch of typos.
648
649 2008-05-25  Tim-Philipp Müller  <tim.muller at collabora co uk>
650
651         * gst/gstpad.h:
652         * gst/gstutils.c: (gst_element_unlink), (element_find_unlinked_pad),
653           (gst_bin_find_unconnected_pad), (gst_parse_bin_from_description),
654           (gst_parse_bin_from_description_full):
655         * gst/gstutils.h:
656           'unconnected pad' -> 'unlinked pad' for consistency (#401456).
657
658 2008-05-25  Tim-Philipp Müller  <tim.muller at collabora co uk>
659
660         * docs/pwg/advanced-tagging.xml:
661           Small docs update, can't be bothered to rewrite the nonsensical
662           examples right now.
663
664 2008-05-25  Tim-Philipp Müller  <tim.muller at collabora co uk>
665
666         * gst/gstevent.h:
667           Clarify docs for GST_SEEK_TYPE_CUR (#534505).
668
669 2008-05-25  Tim-Philipp Müller  <tim.muller at collabora co uk>
670
671         * gst/parse/grammar.y:
672           Remove unneeded casts.
673
674 2008-05-25  Tim-Philipp Müller  <tim.muller at collabora co uk>
675
676         * gst/parse/grammar.y:
677         * tests/check/pipelines/parse-launch.c:
678           Get all missing elements from a parse launch string if possible
679           (ie. if the FATAL_ERRORS flag has been specified). Fixes #528178.
680
681 2008-05-24  Tim-Philipp Müller  <tim.muller at collabora co uk>
682
683         * tests/check/Makefile.am:
684         * tests/check/pipelines/parse-launch.c:
685           Add some unit tests for the new gst_parse_launch*_full() API.
686           (Exposes a previously-existing memory leak in the error code
687           path, so adding to VALGRIND_TO_FIX for now).
688
689 2008-05-24  Tim-Philipp Müller  <tim.muller at collabora co uk>
690
691         * docs/gst/gstreamer-sections.txt:
692         * gst/gst.c: (init_post):
693         * gst/gst_private.h: (_GstParseContext):
694         * gst/gstparse.c: (gst_parse_error_quark), (gst_parse_context_new),
695           (gst_parse_context_free), (gst_parse_context_get_missing_elements),
696           (gst_parse_launchv), (gst_parse_launchv_full), (gst_parse_launch),
697           (gst_parse_launch_full):
698         * gst/gstparse.h: (GST_PARSE_FLAG_NONE), (GST_PARSE_FLAG_FATAL_ERRORS),
699           (GstParseFlags), (GstParseContext):
700         * gst/gstutils.c: (gst_parse_bin_from_description),
701           (gst_parse_bin_from_description_full):
702         * gst/gstutils.h:
703         * gst/parse/grammar.y:
704         * gst/parse/types.h:
705         * win32/common/libgstreamer.def:
706           Add new gst_parse_*_full API (#528178):
707           API: gst_parse_launch_full()
708           API: gst_parse_launchv_full()
709           API: gst_parse_bin_from_description_full()
710           API: gst_parse_context_new()
711           API: gst_parse_context_free()
712           API: gst_parse_context_get_missing_elements()
713
714 2008-05-23  Stefan Kost  <ensonic@users.sf.net>
715
716         patch by: Suresh Kumar P <sureshkumar.pp@gmail.com>
717
718         * docs/faq/gst-uninstalled:
719           Also support ffmpeg in gst-uninstalled.
720
721 2008-05-22  Sebastian Dröge  <slomo@circular-chaos.org>
722
723         * configure.ac:
724         After discussion on IRC use the binary registry as default
725         but allow to disable it with --disable-binary-registry.
726
727         * win32/common/libgstreamer.def:
728         Add the two new symbols for the binary registry.
729
730 2008-05-22  Tim-Philipp Müller  <tim.muller at collabora co uk>
731
732         * gst/gstparse.c: (_gst_parse_escape), (gst_parse_launchv):
733         * gst/gstutils.c: (gst_parse_bin_from_description):
734         * gst/parse/grammar.y: (graph):
735           More guards against bad input; typo fix; some minor clean-ups.
736
737 2008-05-22  Sebastian Dröge  <slomo@circular-chaos.org>
738
739         Patch by: Sjoerd Simons <sjoerd at luon dot net>
740
741         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
742         If nothing else can be used, use the last buffer's start time as
743         the segment's last stop. Fixes bug #534258.
744
745 2008-05-21  Tim-Philipp Müller  <tim.muller at collabora co uk>
746
747         * gst/gstpad.c: (gst_pad_alloc_buffer_full):
748           Move size sanity check to the right place: downstream may return
749           a buffer with a smaller size if the buffer caps are different than
750           the requested ones, as may happen when doing reverse negotiation.
751
752 2008-05-21  Wim Taymans  <wim.taymans@collabora.co.uk>
753
754         * plugins/elements/gstfilesink.c: (gst_file_sink_set_location),
755         (gst_file_sink_render):
756         * plugins/elements/gstfilesrc.c: (gst_file_src_set_location),
757         (gst_file_src_start):
758         Small cleanups. Add note adbout g_fopen() on windows and why we don't
759         use it yet.
760
761 2008-05-21  Wim Taymans  <wim.taymans@collabora.co.uk>
762
763         * gst/gstpad.c: (gst_pad_load_and_link):
764         * gst/gstutils.c: (gst_element_link_pads),
765         (gst_element_unlink_pads):
766         * libs/gst/check/gstcheck.c: (gst_check_setup_src_pad),
767         (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
768         (gst_check_teardown_sink_pad),
769         (gst_check_element_push_buffer_list):
770         * tests/check/elements/fakesink.c: (GST_START_TEST):
771         * tests/check/elements/filesink.c:
772         * tests/check/elements/filesrc.c: (GST_START_TEST):
773         * tests/check/elements/multiqueue.c: (setup_multiqueue),
774         (mq_sinkpad_to_srcpad):
775         * tests/check/elements/tee.c: (GST_START_TEST):
776         * tests/check/generic/sinks.c: (GST_START_TEST):
777         * tests/check/gst/gstbin.c: (GST_START_TEST):
778         * tests/check/gst/gstevent.c: (GST_START_TEST):
779         * tests/check/gst/gstghostpad.c: (GST_START_TEST):
780         * tests/check/gst/gstpipeline.c: (GST_START_TEST):
781         * tests/check/gst/gstquery.c: (GST_START_TEST):
782         * tests/check/gst/gstutils.c: (GST_START_TEST):
783         * tests/check/libs/basesrc.c: (GST_START_TEST):
784         * tests/check/pipelines/parse-launch.c: (run_delayed_test),
785         (gst_parse_test_element_change_state):
786         Don't use gst_element_get_pad().
787
788 2008-05-21  Felipe Contreras  <felipe.contreras@gmail.com>
789
790         * docs/Makefile.am:
791         Fix installing plugin documentation when gtk-doc is disabled.
792
793 2008-05-21  Wim Taymans  <wim.taymans@collabora.co.uk>
794
795         * docs/manual/advanced-autoplugging.xml:
796         * docs/manual/basics-helloworld.xml:
797         * docs/manual/basics-pads.xml:
798         * docs/manual/highlevel-components.xml:
799         Avoid using a bad function in the example code.
800
801 2008-05-21  Wim Taymans  <wim.taymans@collabora.co.uk>
802
803         * gst/gstclock.c: (gst_clock_set_calibration):
804         Fix debug of the new clock rate.
805
806 2008-05-21  Sebastian Dröge  <slomo@circular-chaos.org>
807
808         * win32/common/libgstbase.def:
809         Add gst_base_sink_wait_clock() to the exported symbols.
810
811 2008-05-20  Sebastian Dröge  <slomo@circular-chaos.org>
812
813         Patch by: Tim-Philipp Müller  <tim.muller at collabora co uk>
814
815         * libs/gst/base/gstbasetransform.c:
816         (gst_base_transform_sink_event):
817         Unref events that the GstBaseTransform::event vfunc didn't want to
818         have forwarded by the base class. Closes a leak in identity.
819         Fixes bug #446763.
820
821 2008-05-19  Wim Taymans  <wim.taymans@collabora.co.uk>
822
823         * docs/libs/gstreamer-libs-sections.txt:
824         * libs/gst/base/gstbasesink.c: (gst_base_sink_wait_clock):
825         * libs/gst/base/gstbasesink.h:
826         Expose a method that was previously used internally to synchronize
827         against the clock because it can be useful for subclasses too.
828         API: GstBaseSink::gst_base_sink_wait_clock()
829
830 2008-05-19  Tim-Philipp Müller  <tim.muller at collabora co uk>
831
832         * gst/gstpad.c: (gst_pad_buffer_alloc_unchecked):
833           Add sanity check to make sure we don't get smaller buffers
834           than requested (and fallback to normal buffer alloc if we do).
835
836 2008-05-19  Wim Taymans  <wim.taymans@collabora.co.uk>
837
838         * libs/gst/base/gstbasesink.c: (gst_base_sink_adjust_time),
839         (gst_base_sink_wait_clock), (gst_base_sink_wait_eos),
840         (gst_base_sink_do_sync), (gst_base_sink_chain_unlocked):
841         Refactor adjusting the running_time with latency and offset into a
842         separate method.
843         When doing clipping, we still want to use the subclass get_times method,
844         just in case the DURATION or TIMESTAMP are not set.
845
846 2008-05-19  Tim-Philipp Müller  <tim.muller at collabora co uk>
847
848         * docs/gst/gstreamer-sections.txt:
849         * gst/gsttypefind.c: (gst_type_find_suggest_simple):
850         * gst/gsttypefind.h:
851         * win32/common/libgstreamer.def:
852           API: add gst_type_find_suggest_simple(), #533740.
853
854 2008-05-19  Tim-Philipp Müller  <tim.muller at collabora co uk>
855
856         * libs/gst/base/gstbasesrc.c: (gst_base_src_start):
857           Use right error code when typefinding fails, so we can use
858           the default (translated) error messages.
859
860 2008-05-19  Wim Taymans  <wim.taymans@collabora.co.uk>
861
862         * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range),
863         (gst_base_src_start):
864         When the subclass did not set caps on outgoing buffers, configure the
865         caps we negotiated on the source pad.
866         When the typefind helper does not find caps, error out properly instead
867         of doing things with NULL caps.
868
869 2008-05-18  Tim-Philipp Müller  <tim.muller at collabora co uk>
870
871         * gst/gsttypefind.h:
872           Tabs to spaces, oh yes!
873
874 2008-05-18  Tim-Philipp Müller  <tim.muller at collabora co uk>
875
876         * tests/check/gst/gstcaps.c: (test_intersect2), (gst_caps_suite):
877           Add David's and Benjamin's tests for array intersection to the
878           unit test suite (#147931).
879
880 2008-05-18  Tim-Philipp Müller  <tim.muller at collabora co uk>
881
882         * gst/gstevent.c:
883           Document that gst_event_new_tag() and gst_event_new_navigation()
884           take ownership of the taglist/structure passed to them. (#533635).
885
886 2008-05-17  Jan Schmidt  <jan.schmidt@sun.com>
887
888         * docs/Makefile.am:
889         Don't descend into the plugins dir if plugin docs building
890         is disabled.
891
892         * docs/README:
893         Add a note about the new type:GTypeName syntax for the plugin
894         documentation .types file.
895
896 2008-05-17  Sebastian Dröge  <slomo@circular-chaos.org>
897
898         * gst/gstmessage.c: (gst_message_new_error),
899         (gst_message_new_warning), (gst_message_new_info):
900         * gst/gstmessage.h:
901         Mark the debug string parameters as const. Fixes bug #533490.
902
903 2008-05-16  Sebastian Dröge  <slomo@circular-chaos.org>
904
905         * libs/gst/base/gsttypefindhelper.c: (helper_find_peek):
906         Sort buffer cache list by end offsets. This makes sure that we don't
907         stop to search for a cached buffer that contains the requested data
908         too early.
909         Also read a minimum of 4k bytes instead of 512 bytes as this is a bit
910         more efficient. Fixes bug #459862.
911
912 2008-05-14  Stefan Kost  <ensonic@users.sf.net>
913
914         * gst/gstinfo.c:
915           Explain why we copy the list.
916
917         * gst/gstpipeline.c:
918           Improve docs.
919
920         * gst/gstutils.c:
921           Add one debug-log statement to help tracing probelms with linking pads.
922
923 2008-05-12  Stefan Kost  <ensonic@users.sf.net>
924
925         * tests/check/gst/gstinfo.c:
926         Add a test for removing the default log handler. Seems to fail under
927         windows.
928
929 2008-05-14  Wim Taymans  <wim.taymans@collabora.co.uk>
930
931         * gst/gstpad.c: (gst_pad_peer_accept_caps):
932         Release pad lock before calling out to avoid a possible deadlock.
933
934 2008-05-14  Wim Taymans  <wim.taymans@collabora.co.uk>
935
936         * gst/parse/grammar.y:
937         Remove unneeded value unset.
938
939         * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
940         Add unit test for de/serialization of caps.
941
942 2008-05-13  Sebastian Dröge  <slomo@circular-chaos.org>
943
944         * plugins/elements/gstfakesink.c:
945         (marshal_VOID__MINIOBJECT_OBJECT), (gst_fake_sink_class_init):
946         * plugins/elements/gstfakesrc.c: (marshal_VOID__MINIOBJECT_OBJECT),
947         (gst_fake_src_class_init):
948         Use custom marshalers that take GstMiniObject as first parameter.
949         Using OBJECT as parameter while a GstMiniObject is given will lead
950         to assertions if built with G_ENABLE_DEBUG. Fixes bug #525532.
951
952 2008-05-13  Sebastian Dröge  <slomo@circular-chaos.org>
953
954         * plugins/elements/gsttypefindelement.c:
955         (gst_type_find_element_handle_event),
956         (gst_type_find_element_send_cached_events),
957         (gst_type_find_element_change_state):
958         Clean up on FLUSH_STOP and not FLUSH_START. Forward both events
959         immediately.
960
961 2008-05-13  Sebastian Dröge  <slomo@circular-chaos.org>
962
963         * plugins/elements/gsttypefindelement.c:
964         (gst_type_find_handle_src_query), (stop_typefinding),
965         (gst_type_find_element_handle_event),
966         (gst_type_find_element_send_cached_events),
967         (gst_type_find_element_change_state):
968         Forward FLUSH_START events immediately and clean up instead of
969         caching them.
970
971 2008-05-13  Sebastian Dröge  <slomo@circular-chaos.org>
972
973         Patch by: Sjoerd Simons <sjoerd at luon dot net>
974
975         * libs/gst/base/gstbasetransform.c:
976         (gst_base_transform_buffer_alloc):
977         Check the caps of the buffer returned by gst_pad_alloc_buffer() and
978         fall back to default negotiation in the chain function if the caps
979         are different from what was requested. Fixes bug #526768.
980
981 2008-05-09  Tim-Philipp Müller  <tim.muller at collabora co uk>
982
983         * gst/gstsegment.c:
984         * tests/check/gst/gstsegment.c:
985           No, let's not use g_slice_{dup|copy} here, since they only exist
986           since GLib 2.14 and we still depend only on >= 2.12. Also add
987           unit test for gst_segment_copy().
988
989 2008-05-09  Tim-Philipp Müller  <tim.muller at collabora co uk>
990
991         * gst/gstutils.h: (GST_BOILERPLATE_FULL):
992           Try to fix 'dereferencing type-punned pointer will break strict
993           aliasing rules' warnings with C++ compilers and GLib >= 2.14.0: GLib
994           changed the default GType typedef from gulong to gsize at some point,
995           but kept GType typedef'ed to gulong for C++ for ABI reasons; the
996           g_once_* functions all take a gsize * though, so work around the type
997           mismatch for C++ by doing everything in gsize and casting to GType
998           later.
999
1000 2008-05-09  Jan Schmidt  <jan.schmidt@sun.com>
1001
1002         * plugins/elements/gstmultiqueue.c:
1003         Add documentation for the signals to push our core plugin docs
1004         coverage back up to 100%.
1005
1006 2008-05-08  Ole André Vadla Ravnås  <ole.andre.ravnas at tandberg com>
1007
1008         * gst/gstinfo.h (GST_FUNCTION):
1009           Reverted GST_FUNCTION to the old version as we don't want the
1010           full signature in C++ code. Also added support for MSVC.
1011
1012 2008-05-08  Sebastian Dröge  <slomo@circular-chaos.org>
1013
1014         * gst/gstutils.h:
1015         Intern the type name string, similar to what G_DEFINE_TYPE does.
1016
1017 2008-05-08  Sebastian Dröge  <slomo@circular-chaos.org>
1018
1019         * gst/gstutils.h:
1020         Make GST_BOILERPLATE thread-safe if building with GLib 2.14 or newer.
1021
1022 2008-05-08  Sebastian Dröge  <slomo@circular-chaos.org>
1023
1024         Based on a patch by: Sjoerd Simons <sjoerd at luon dot net>
1025
1026         * libs/gst/base/gstbasetransform.c:
1027         (gst_base_transform_buffer_alloc):
1028         Don't passthrough buffer allocation too easily if the caps change.
1029         This breaks when working in passthrough mode and upstream changes
1030         it's caps. Fixes bug #526768.
1031
1032 2008-05-07  Ole André Vadla Ravnås  <ole.andre.ravnas at tandberg com>
1033
1034         * gst/gstinfo.c (gst_debug_log_valist):
1035           Improved the __FILE__ part of debug output for MSVC.
1036
1037 2008-05-07  Ole André Vadla Ravnås  <ole.andre.ravnas at tandberg com>
1038
1039         * libs/gst/base/gstbasesrc.c (gst_base_src_default_query):
1040           Declaration after statement fix for compilers like MSVC.
1041
1042 2008-05-07  Ole André Vadla Ravnås  <ole.andre.ravnas at tandberg com>
1043
1044         * win32/common/config.h.in:
1045           Don't define GST_FUNCTION, if GLib supports MSVC we'd much rather
1046           use the real thing than having "???" unconditionally.
1047
1048 2008-05-07  Ole André Vadla Ravnås  <ole.andre.ravnas at tandberg com>
1049
1050         * gst/gstinfo.h (GST_FUNCTION):
1051           Made GST_FUNCTION an alias for G_STRFUNC to avoid duplication.
1052
1053 2008-05-07  Wim Taymans  <wim.taymans@collabora.co.uk>
1054
1055         * libs/gst/base/gstadapter.c: (gst_adapter_available_fast):
1056         Small code cleanup.
1057
1058         * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency),
1059         (gst_base_sink_set_flushing):
1060         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek):
1061         Fix some comments.
1062
1063 2008-05-07  Wim Taymans  <wim.taymans@collabora.co.uk>
1064
1065         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
1066         (gst_fake_src_init), (gst_fake_src_set_property),
1067         (gst_fake_src_get_property), (gst_fake_src_start):
1068         * plugins/elements/gstfakesrc.h:
1069         Added format property to control the format of the newsegment events.
1070         API: GstFakeSrc:format
1071
1072 2008-05-06  Sebastian Dröge  <slomo@circular-chaos.org>
1073
1074         * win32/common/libgstreamer.def:
1075         Add gst_pad_has_name() to the exported symbols.
1076
1077 2008-05-06  Sebastian Dröge  <slomo@circular-chaos.org>
1078
1079         * gst/gstpad.c: (gst_pad_alloc_buffer_full):
1080         * libs/gst/base/gstbasetransform.c:
1081         (gst_base_transform_prepare_output_buffer):
1082         Don't allow negative sizes when allocating new buffers.
1083         Fixes bug #461253.
1084
1085 2008-05-05  Tim-Philipp Müller  <tim.muller at collabora co uk>
1086
1087         Patch by: Sjoerd Simons <sjoerd at luon net>
1088
1089         * gst/gstbus.c: (gst_bus_source_dispatch):
1090           Don't print a warning if the queue is empty when we try to pop
1091           here. That could happen if another thread or callback set the
1092           bus to flushing between the source's check/prepare and the
1093           dispatch being called (#531538).
1094
1095 2008-05-05  Tim-Philipp Müller  <tim.muller at collabora co uk>
1096
1097         * plugins/elements/gstmultiqueue.c:
1098           Small docs fix.
1099         
1100 2008-05-05  Sebastian Dröge  <slomo@circular-chaos.org>
1101
1102         * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
1103         Add unit test for deserializing uint64s and check some really large
1104         numbers in the int64 test.
1105
1106 2008-05-04  Sebastian Dröge  <slomo@circular-chaos.org>
1107
1108         * tools/gst-inspect.c: (n_print), (print_hierarchy),
1109         (print_interfaces), (print_element_properties_info),
1110         (print_signal_info):
1111         Use "%s" as format string instead of printing strings directly.
1112
1113 2008-05-04  Sebastian Dröge  <slomo@circular-chaos.org>
1114
1115         * gst/gstclock.c: (gst_clock_set_calibration):
1116         Make some checks actually useful.
1117
1118         * gst/gstregistrybinary.c: (gst_registry_binary_load_plugin):
1119         Remove some unused code. Unsigned integers tend to be >= 0.
1120
1121 2008-05-03  Tim-Philipp Müller  <tim.muller at collabora co uk>
1122
1123         * gst/gstminiobject.c: (gst_value_get_mini_object):
1124           Fix 'Since:' version in gst_value_dup_mini_object() docs blurb: this
1125           function was not in the unscheduled 0.10.19 release.
1126
1127 2008-05-03  Tim-Philipp Müller  <tim.muller at collabora co uk>
1128
1129         * gst/gstregistry.c: (gst_registry_scan_path_level):
1130           Only print one log message per non-plugin file.
1131
1132 2008-05-03  Tim-Philipp Müller  <tim.muller at collabora co uk>
1133
1134         * gst/gstinfo.c: (gst_debug_log_default):
1135           Fix alignment of debug log columns on 64-bit.
1136
1137 2008-05-03  Tim-Philipp Müller  <tim.muller at collabora co uk>
1138
1139         * docs/libs/Makefile.am:
1140         * docs/libs/gstreamer-libs-sections.txt:
1141           Ignore private controller headers for docs.
1142
1143 2008-05-03  Sebastian Dröge  <slomo@circular-chaos.org>
1144
1145         * libs/gst/controller/gstcontrollerprivate.h:
1146         * libs/gst/controller/gsthelper.c:
1147         * libs/gst/controller/gstinterpolation.c:
1148         * libs/gst/controller/gstinterpolationcontrolsource.c:
1149         (gst_interpolation_control_source_set_interpolation_mode):
1150         * libs/gst/controller/gstinterpolationcontrolsourceprivate.h:
1151         * libs/gst/controller/lib.c:
1152         Move some private declarations into private headers.
1153
1154 2008-05-02  Sebastian Dröge  <slomo@circular-chaos.org>
1155
1156         * gst/gstdebugutils.c: (debug_dump_element_pad):
1157         Remove some code that is unused after Stefan's refactoring and uses
1158         uninitialized variables now, resulting in a compiler warning.
1159
1160 2008-05-01  Tim-Philipp Müller  <tim.muller at collabora co uk>
1161
1162         * gst/gstregistry.c: (gst_registry_scan_path_level):
1163           Run g_str_has_suffix() only on the file name, not the
1164           entire file path.
1165
1166 2008-04-30  Tim-Philipp Müller  <tim.muller at collabora co uk>
1167
1168         * plugins/elements/gstqueue.c: (gst_queue_leak_downstream):
1169           Since we're not called only from the chain function any longer,
1170           we can't assume that there's always data in the queue, so move
1171           the is_full check to the beginning of the loop (otherwise we'd
1172           hit the assert when changing the limit properties while the
1173           queue is empty or not running yet).
1174           Also, only set a discont if items were actually removed from
1175           the queue.
1176
1177         * tests/check/elements/queue.c: (test_leaky_downstream):
1178           Test case for the above.
1179
1180 2008-04-30  Wim Taymans  <wim.taymans@collabora.co.uk>
1181
1182         Patch by: Jonas Holmberg <jonas dot holmberg at axis dot com>
1183
1184         * plugins/elements/gstqueue.c: (gst_queue_leak_downstream),
1185         (gst_queue_chain), (queue_capacity_change),
1186         (gst_queue_set_property):
1187         When changing thr max capacity of a leaky queue, immediatly drop buffers
1188         instead of waiting for a push on the sinkpad. Fixes #530637.
1189
1190 2008-04-30  Stefan Kost  <ensonic@users.sf.net>
1191
1192         * gst/gstdebugutils.c:
1193           Refactor code and fix handling of ghostpads and their proxypads.
1194
1195 2008-04-29  Wim Taymans  <wim.taymans@collabora.co.uk>
1196
1197         * docs/gst/gstreamer-sections.txt:
1198         * gst/gstevent.c: (gst_event_has_name):
1199         * gst/gstevent.h:
1200         * tests/check/gst/gstevent.c: (GST_START_TEST):
1201         Add method to conveniently check the name of a custom event with
1202         gst_event_has_name().
1203         Reformat the event docs so that related methods are put together instead
1204         of the default alphabetical sort.
1205         Update unit test with new method.
1206         API: GstEvent::gst_event_has_name()
1207
1208 2008-04-28  Michael Smith <msmith@songbirdnest.com>
1209
1210         * libs/gst/check/Makefile.am:
1211           Don't add an explicit link to libgstreamer-0.10.la; it's already
1212           included in GST_OBJ_LIBS.
1213
1214 2008-04-28  Sebastian Dröge  <slomo@circular-chaos.org>
1215
1216         * gst/gst.c:
1217         Register GstClock type from a type-safe context. Fixes bug #530317.
1218
1219 2008-04-25  Michael Smith <msmith@songbirdnest.com>
1220
1221         Patch by Edward Hervey <edward.hervey@collabora.co.uk>
1222         * tools/gst-run.c:
1223           Include <unistd.h> conditionally on HAVE_UNISTD_H as elsewhere.
1224
1225 2008-04-25  Wim Taymans  <wim.taymans@collabora.co.uk>
1226
1227         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
1228         (gst_bin_dispose):
1229         Use the GLib stuff to create a private structure.
1230         Add some locking around some dispose methods to make them a little
1231         safer, see #529723. Patch by: Antoine Tremblay <hexa00 at gmail dot com>
1232
1233 2008-04-25  Stefan Kost  <ensonic@users.sf.net>
1234
1235         * libs/gst/base/gstbasesink.h:
1236         * libs/gst/base/gstbasesrc.h:
1237         * libs/gst/base/gstbasetransform.h:
1238         * libs/gst/base/gstcollectpads.h:
1239           Fix doc typos and unify caps a bit.
1240
1241 2008-04-25  Stefan Kost  <ensonic@users.sf.net>
1242
1243         * tools/gst-launch.1.in:
1244           Forgot to also add the envvar docs here.
1245
1246 2008-04-25  Tim-Philipp Müller  <tim at centricular dot net>
1247
1248         * gst/gst.c: (init_post), (gst_deinit):
1249         * tests/check/gst/gstpipeline.c: (GST_START_TEST), (pipeline_thread),
1250           (test_concurrent_create), (gst_pipeline_suite):
1251           Ref some more classes in gst_init() to work around thread-safety
1252           issues in pre-2.16 GLibs, and add basic unit test.
1253
1254 2008-04-25  Wim Taymans  <wim.taymans@collabora.co.uk>
1255
1256         * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency),
1257         (gst_base_sink_send_event):
1258         Rearrange the latency query code. We always want to do the upstream
1259         query, even if we are not live so that the upstream elements can get the
1260         latency results too. If we fail doing the query and we are live, we
1261         return TRUE afterwards.
1262
1263 2008-04-24  Stefan Kost  <ensonic@users.sf.net>
1264
1265         patch by: Jason Zhao <e3423c@motorola.com>
1266
1267         * docs/gst/running.xml:
1268         * gst/gst.c:
1269           Enable/disable scan_and_update_registry() based on commandline switch
1270           or environment variable. Fixes #520468.
1271           
1272         * ChangeLog:
1273           Fix typo in my previous commit.
1274
1275 2008-04-24  Stefan Kost  <ensonic@users.sf.net>
1276
1277         * gst/gstregistrybinary.c:
1278           Add a warning if we hit unhandled factories when saving.
1279           More debug logging detail, but move to LOG category.
1280
1281 2008-04-24  Stefan Kost  <ensonic@users.sf.net>
1282
1283         * gst/gstregistry.c:
1284           Tell the *truth* when improving the documentation.
1285
1286 2008-04-23  Sebastian Dröge  <slomo@circular-chaos.org>
1287
1288         * gst/gstelementfactory.c: (gst_element_factory_make):
1289         Unref the factory after it was used the last time, not before.
1290
1291         * gst/gstindexfactory.c: (gst_index_factory_make):
1292         Improve debugging a bit and don't leak a ref to the index factory with
1293         each call.
1294
1295 2008-04-23  Stefan Kost  <ensonic@users.sf.net>
1296
1297         * gst/gstregistry.c:
1298           Improve the documentation.
1299
1300 2008-04-23  Stefan Kost  <ensonic@users.sf.net>
1301
1302         * gst/gstsegment.c:
1303           The glib macro seems to be borked. Use g_slice_copy directly and cast
1304           in the hope that this fixes the warning on 64bit.
1305
1306 2008-04-23  Stefan Kost  <ensonic@users.sf.net>
1307
1308         * gst/gstsegment.c:
1309           Document the new function. Use g_slice_dup() (no need for
1310           gst_segment_init()).    
1311
1312 2008-04-23  Stefan Kost  <ensonic@users.sf.net>
1313
1314         * docs/gst/gstreamer-sections.txt:
1315           Move GParamSepc macros to standart section.
1316   
1317         * gst/gstbin.c:
1318           Dn't document _get_type - its in private section in docs anyway and
1319           this doc-blob was incomplete.
1320
1321         * gst/gstclock.h:
1322           Fix wrong symbol names in docs.
1323
1324         * gst/gstmacros.h:
1325           Add once doc sentence.
1326
1327         * tests/check/gst/.cvsignore:
1328           Ignore more.
1329
1330 2008-04-21  Stefan Kost  <ensonic@users.sf.net>
1331
1332         * docs/gst/Makefile.am:
1333           And remove those libs here.
1334
1335 2008-04-21  Tim-Philipp Müller  <tim at centricular dot net>
1336
1337         * docs/libs/Makefile.am:
1338           Fix docs build again by adding libgstnet-0.10.so to SCANOBJ_DEPS.
1339
1340 2008-04-21  Wim Taymans  <wim.taymans@collabora.co.uk>
1341
1342         Patch by: Olivier Crete <tester at tester dot ca>
1343
1344         * plugins/elements/gstqueue.c: (gst_queue_handle_src_query):
1345         Add the min-threshold to the min latency if possible. Fixes #529148.
1346
1347 2008-04-21  Stefan Kost  <ensonic@users.sf.net>
1348
1349         * docs/gst/gstreamer.types.in:
1350           Stupid editor, I removed that line as it should go in yet.
1351
1352 2008-04-21  Stefan Kost  <ensonic@users.sf.net>
1353
1354         * docs/gst/gstreamer.types.in:
1355         * docs/libs/gstreamer-libs.types:
1356           Remove library types fro core docs and have them in libs docs.
1357           Reformat and cleanup. Add comment for miniobject types.
1358
1359 2008-04-20  Tim-Philipp Müller  <tim at centricular dot net>
1360
1361         * gst/gsturi.c: (gst_uri_get_protocol):
1362           Fix leak: g_strdown operates on the string in place, while
1363           g_ascii_strdown() returns a newly-allocated string.
1364
1365 2008-04-20  Sebastian Dröge  <slomo@circular-chaos.org>
1366
1367         * tools/gst-inspect.c: (print_uri_handler_info),
1368         (print_element_info):
1369         Print the URI protocols and the URI type supported by the element.
1370
1371 2008-04-19  Sebastian Dröge  <slomo@circular-chaos.org>
1372
1373         * gst/gsttaglist.c: (gst_tag_merge_strings_with_comma):
1374         Use g_value_take_string() instead of the deprecated
1375         g_value_set_string_take_ownership().
1376
1377 2008-04-19  Sebastian Dröge  <slomo@circular-chaos.org>
1378
1379         * gst/gstregistrybinary.c: (_gst_crc32):
1380         Return the old CRC instead of 0 if we give a NULL buffer
1381         or a buffer with a length of 0.
1382
1383 2008-04-19  Sebastian Dröge  <slomo@circular-chaos.org>
1384
1385         * gst/gsturi.c: (gst_uri_protocol_check_internal),
1386         (gst_uri_get_protocol), (gst_uri_has_protocol),
1387         (gst_uri_construct), (gst_uri_handler_set_uri):
1388         A valid URI scheme can also include '+', '-' and '.' additional
1389         to alphanumeric characters as per RFC 3986 Section 3.1.
1390
1391         Handle URI schemes case insensitive in all places and convert
1392         to lower-case when constructing an URI or setting an URI with
1393         the GstURIHandler interface. Fixes bug #528868.
1394         All elements can still assume (as before) that they will
1395         get passed URIs with a lower-case URI scheme by the GstURIHandler
1396         interface.
1397
1398 2008-04-17  Tim-Philipp Müller  <tim at centricular dot net>
1399
1400         * gst/gstcaps.c: (gst_static_caps_get):
1401         * gst/gstclock.c: (gst_clock_entry_new):
1402           Don't use g_atomic_set_int where it's not needed.
1403
1404 2008-04-17  Wim Taymans  <wim.taymans@collabora.co.uk>
1405
1406         * gst/gstvalue.c: (gst_value_deserialize_caps):
1407         * gst/parse/grammar.y:
1408         Fix 2 caps leaks.
1409
1410 2008-04-17  Sebastian Dröge  <slomo@circular-chaos.org>
1411
1412         * gst/gstutils.c: (gst_atomic_int_set):
1413         Use g_atomic_int_set() here too instead of assignment +
1414         g_atomic_int_get().
1415
1416 2008-04-17  Sebastian Dröge  <slomo@circular-chaos.org>
1417         
1418         * gst/gstutils.c:
1419         * gst/gstutils.h:
1420         API: Deprecate gst_atomic_int_set(), g_atomic_int_set() should be used
1421         now that we depend on new enough GLib.
1422
1423         * gst/gstcaps.c: (gst_static_caps_get):
1424         * gst/gstclock.c: (gst_clock_entry_new):
1425         * gst/gstinfo.c: (_gst_debug_init), (gst_debug_set_colored),
1426         (gst_debug_set_default_threshold), (_gst_debug_category_new),
1427         (gst_debug_category_set_threshold):
1428         * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
1429         (gst_base_sink_set_qos_enabled):
1430         * libs/gst/net/gstnettimeprovider.c:
1431         (gst_net_time_provider_set_property):
1432         Use g_atomic_int_set() instead of gst_atomic_int_set().
1433
1434 2008-04-16  Stefan Kost  <ensonic@users.sf.net>
1435
1436         * gst/gstquery.c:
1437           Also use G_GINT64_CONSTANT for the queries.
1438
1439 2008-04-16  Stefan Kost  <ensonic@users.sf.net>
1440
1441         * gst/gstmessage.c:
1442           Use G_GINT64_CONSTANT in varargs function.
1443
1444 2008-04-16  Sebastian Dröge  <slomo@circular-chaos.org>
1445
1446         * gst/gstregistrybinary.c: (gst_registry_binary_initialize_magic):
1447         Initialize the registry magic with zeroes.
1448
1449 2008-04-16  Sebastian Dröge  <slomo@circular-chaos.org>
1450
1451         * gst/gstregistrybinary.c: (_gst_crc32),
1452         (gst_registry_binary_write),
1453         (gst_registry_binary_initialize_magic),
1454         (gst_registry_binary_write_cache),
1455         (gst_registry_binary_check_magic),
1456         (gst_registry_binary_read_cache):
1457         * gst/gstregistrybinary.h:
1458         Add crc32 checksum to the binary registry file and check this before
1459         accepting a registry file.
1460
1461         Also free the data list when writing to the registry file fails.
1462
1463 2008-04-16  Sebastian Dröge  <slomo@circular-chaos.org>
1464
1465         * gst/gstregistrybinary.c: (gst_registry_binary_save_feature),
1466         (gst_registry_binary_load_feature),
1467         (gst_registry_binary_load_plugin):
1468         If an element supports the Uri interface, returns a valid pointer
1469         to the supported URI protocols but this pointer contains nothing
1470         don't try to save that as it will corrupt the registry.
1471
1472         Don't unref the plugin if we added it to the registry already but
1473         fail to load a feature as gst_registry_add_plugin() takes ownership
1474         of the plugin.
1475
1476         Improve debugging a bit.
1477
1478 2008-04-16  Stefan Kost  <ensonic@users.sf.net>
1479
1480         * gst/gsttaglist.h:
1481           Clarify some tag item docs after discussion on irc.
1482
1483 2008-04-15  Stefan Kost  <ensonic@users.sf.net>
1484
1485         * docs/gst/gstreamer-docs.sgml:
1486           Remove commented out plugins (they have their own docs). Update
1487           comments.
1488
1489 2008-04-15  Stefan Kost  <ensonic@users.sf.net>
1490
1491         * docs/gst/gstreamer-docs.sgml:
1492         * docs/gst/gstreamer-sections.txt:
1493         * gst/gstparamspecs.c:
1494         * gst/gstparamspecs.h:
1495           Add GST_PARAM_CONTROLLABLE and GST_PARAM_USER_SHIFT. Move paramspec
1496           docs to own section.
1497
1498         * gst/gstvalue.c:
1499           This now only documents GValue.
1500           
1501         * docs/libs/gstreamer-libs-sections.txt:
1502         * libs/gst/controller/gstcontroller.h:
1503           Remove GST_PARAM_CONTROLLABLE.
1504
1505 2008-04-15  Stefan Kost  <ensonic@users.sf.net>
1506
1507         * docs/README:
1508           Correct file path. Tell about how to use -overrides.txt.
1509         * docs/design/draft-tagreading.txt:
1510           Small design update.
1511
1512 2008-04-14  Sebastian Dröge  <slomo@circular-chaos.org>
1513
1514         * gst/gstregistrybinary.c: (gst_registry_binary_load_feature),
1515         (gst_registry_binary_load_plugin):
1516         Fix a typo in a debug message and revert change from yesterday as
1517         gst_registry_add_plugin() will only fail if something is really wrong
1518         already and we can't survive it anyway.
1519
1520 2008-04-14  Tim-Philipp Müller  <tim at centricular dot net>
1521
1522         * gst/gst.c: (init_post), (gst_deinit):
1523           Pre-register GstGError GType from a thread-safe context
1524           (fixes #527967); unref enum type classes in deinit.
1525
1526 2008-04-13  Tim-Philipp Müller  <tim at centricular dot net>
1527
1528         Patch by: Rene Stadler <mail at renestadler de>
1529
1530         * gst/gsttagsetter.c: (gst_tag_setter_merge_tags):
1531           Merging an empty list with another list in KEEP_ALL mode should
1532           yield an empty list as result and not the second list (#512578).
1533
1534         * tests/check/gst/gsttagsetter.c:
1535           Add unit test for tag merge modes and the aforementioned bug.
1536
1537 2008-04-13  Tim-Philipp Müller  <tim at centricular dot net>
1538
1539         Patch by: Rene Stadler <mail at renestadler de>
1540
1541         * gst/gsttaglist.h:
1542           Fix description to match the order in the table (#512577).
1543   
1544 2008-04-13  Tim-Philipp Müller  <tim at centricular dot net>
1545
1546         Patch by: Kwang Yul Seo  <kwangyul.seo gmail com>
1547
1548         * libs/gst/net/gstnettimepacket.h:
1549         * docs/libs/gstreamer-libs-sections.txt:
1550           Define socklen_t as int if it's not defined yet. Fixes compilation
1551           with MSVC6 and other versions where socklen_t is not defined in
1552           the windows headers (#518022).
1553
1554 2008-04-13  Sebastian Dröge  <slomo@circular-chaos.org>
1555
1556         * gst/gstregistrybinary.c: (gst_registry_binary_load_plugin):
1557         If gst_registry_add_plugin() fails our reference to the plugin is
1558         invalid so don't try to use it anymore and instead error out.
1559
1560 2008-04-12  Tim-Philipp Müller  <tim at centricular dot net>
1561
1562         * tools/gst-xmlinspect.c: (print_element_info), (main):
1563           De-cruft a bit. If no argument is specified, print all elements in
1564           XML syntax rather than a freestyle list of elements like gst-inspect.
1565           Also, don't print XML header chunk unless we actually have something
1566           to print (ie. don't print it before an error message); print error
1567           message to stderr not stdout. Remove support for printing plugin
1568           info (it would just output something freestyle along the lines of
1569           gst-inspect so far), which fixes #514507. Also add license header.
1570
1571 2008-04-11  Julien Moutte  <julien@fluendo.com>
1572
1573         Mac OS X love...
1574         * configure.ac: Merge platform specific defines, introduce a new
1575         define on OS X to remember that forking when updating registry is
1576         unsafe.
1577         * docs/faq/gst-uninstalled: Updated to include gst-libs in the bad
1578         module.
1579         * gst/gst.c: Don't fork when updating registry if GST_HAVE_UNSAFE_FORK
1580         is defined.
1581         * gst/gstregistry.c: (gst_registry_scan_path_level): Fixed a bogus
1582         condition that leads to absolutely no plugins being registered on
1583         OS X.
1584
1585 2008-04-10  Tim-Philipp Müller  <tim at centricular dot net>
1586
1587         Based on patch by: José Alburquerque <jaalburqu at svn dot gnome dot org>
1588
1589         * gst/gstutils.c: (gst_pad_add_data_probe),
1590           (gst_pad_add_data_probe_full), (gst_pad_add_event_probe),
1591           (gst_pad_add_event_probe_full), (gst_pad_add_buffer_probe),
1592           (gst_pad_add_buffer_probe_full):
1593         * gst/gstutils.h:
1594         * docs/gst/gstreamer-sections.txt:
1595         * win32/common/libgstreamer.def:
1596           Add gst_pad_add_*_probe_full() functions with a notify callback that
1597           lets the caller free the data it passes to the probe functions. This
1598           is useful for bindings such as gst-python or gstreamermm (#526814).
1599           API: gst_pad_add_data_probe_full
1600           API: gst_pad_add_buffer_probe_full
1601           API: gst_pad_add_event_probe_full
1602
1603         * tests/check/gst/gstutils.c:
1604           Add minimal unit test to make sure freeing the data actually works
1605           as expected.
1606
1607         * tests/benchmarks/.cvsignore:
1608           Random cvsignore addendum.
1609
1610 2008-04-10  Tim-Philipp Müller  <tim at centricular dot net>
1611
1612         * gst/gstdebugutils.h: (GST_DEBUG_BIN_TO_DOT_FILE_WITH_TS),
1613           (GST_DEBUG_BIN_TO_DOT_FILE):
1614           Mention GstDebugGraphDetails enum type in doc blurb so we get a link
1615           to it in the docs (since these are macros the types of the arguments
1616           won't be shown in the docs otherwise).
1617
1618 2008-04-10  Stefan Kost  <ensonic@users.sf.net>
1619
1620         * gst/gstpad.c:
1621           Do not abort on out of memory for pad_alloc_buffer.
1622
1623 2008-04-10  Stefan Kost  <ensonic@users.sf.net>
1624
1625         * libs/gst/check/gstcheck.c:
1626           Remove blank line between symbol name ad parameters to fix gtkdoc
1627           warning.
1628
1629 2008-04-09  Tim-Philipp Müller  <tim at centricular dot net>
1630
1631         Patch by:  José Alburquerque <jaalburqu at svn dot gnome dot org>
1632
1633         * docs/gst/gstreamer-sections.txt:
1634         * gst/gstsegment.c:
1635         * gst/gstsegment.h:
1636         * win32/common/libgstreamer.def:
1637           Expose gst_segment_copy() to make things easier for the c++ bindings.
1638           Fixes #518932.
1639           API: gst_segment_copy()
1640
1641 2008-04-09  Tim-Philipp Müller  <tim at centricular dot net>
1642
1643         * gst/gst.c: (gst_init_get_option_group), (init_post):
1644           Fix const position; ref GType classes for enum types to work
1645           around thread-safety issues in GLib versions < 2.16.
1646
1647 2008-04-09  Wim Taymans  <wim.taymans@collabora.co.uk>
1648
1649         * docs/design/part-buffering.txt:
1650         Fix some typos and set the estimated total for push mode to -1.
1651
1652         * gst/gstquery.c: (gst_query_new_buffering):
1653         Set buffering-left to 0 as we're not buffering by default.
1654
1655         * libs/gst/base/gstbasesrc.c: (gst_base_src_default_query):
1656         Implement BUFFERING query.
1657
1658 2008-04-09  Tim-Philipp Müller  <tim at centricular dot net>
1659
1660         Based on patch by: Milosz Derezynski <internalerror gmail com>
1661
1662         * gst/gsterror.c: (_gst_stream_errors_init):
1663         * gst/gsterror.h:
1664           Add two new error codes for encrypted content. Fixes #524659.
1665           API: GST_STREAM_ERROR_DECRYPT
1666           API: GST_STREAM_ERROR_DECRYPT_NOKEY
1667
1668 2008-04-09  Tim-Philipp Müller  <tim at centricular dot net>
1669
1670         * gst/gstquery.h:
1671           Fix typo.
1672
1673         * win32/common/libgstreamer.def:
1674           Add new functions.
1675
1676 2008-04-09  Sebastian Dröge  <slomo@circular-chaos.org>
1677
1678         * plugins/elements/gstidentity.c: (gst_identity_event),
1679         (gst_identity_start):
1680         Fix imperfect timestamp/offset checks when we get another NEWSEGMENT
1681         event after processing some data. Fixes bug #526042.
1682
1683 2008-04-08  Wim Taymans  <wim.taymans@collabora.co.uk>
1684
1685         * docs/gst/gstreamer-sections.txt:
1686         * gst/gstquery.c: (gst_query_parse_latency),
1687         (gst_query_set_buffering_percent),
1688         (gst_query_parse_buffering_percent),
1689         (gst_query_set_buffering_range), (gst_query_parse_buffering_range):
1690         * gst/gstquery.h:
1691         Rename _avail -> _range
1692         API: gst_query_set_buffering_range
1693         API: gst_query_parse_buffering_range
1694
1695 2008-04-08  Wim Taymans  <wim.taymans@collabora.co.uk>
1696
1697         * docs/design/part-buffering.txt:
1698         * gst/gstquark.c:
1699         * gst/gstquark.h:
1700         * gst/gstquery.c: (gst_query_parse_latency),
1701         (gst_query_new_buffering), (gst_query_set_buffering_percent),
1702         (gst_query_parse_buffering_percent):
1703         * gst/gstquery.h:
1704         Add busy field and quark for the buffering query so that the app can
1705         only use the query to see if buffering is in progress.
1706
1707 2008-04-08  Wim Taymans  <wim.taymans@collabora.co.uk>
1708
1709         * docs/gst/gstreamer-sections.txt:
1710         * gst/gstmessage.c: (gst_message_set_buffering_stats),
1711         (gst_message_parse_buffering_stats):
1712         * gst/gstmessage.h:
1713         * gst/gstquery.c: (gst_query_new_latency), (gst_query_set_latency),
1714         (gst_query_parse_latency), (gst_query_new_buffering),
1715         (gst_query_set_buffering_percent),
1716         (gst_query_parse_buffering_percent),
1717         (gst_query_set_buffering_stats), (gst_query_parse_buffering_stats),
1718         (gst_query_set_buffering_avail), (gst_query_parse_buffering_avail):
1719         * gst/gstquery.h:
1720         Reorder the message docs and headers for clarity.
1721         Add aditional buffering stats API for messages.
1722         Add buffering query.
1723         Convert some leftover queries to use GstQuark.
1724         API: gst_message_set_buffering_stats
1725         API: gst_message_parse_buffering_stats
1726         API: GST_QUERY_BUFFERING
1727         API: GstBufferingMode
1728         API: gst_query_new_buffering
1729         API: gst_query_set_buffering_percent
1730         API: gst_query_parse_buffering_percent
1731         API: gst_query_set_buffering_stats
1732         API: gst_query_parse_buffering_stats
1733
1734 2008-04-08  Wim Taymans  <wim.taymans@collabora.co.uk>
1735
1736         * gst/gstmessage.c: (gst_message_new_error),
1737         (gst_message_new_warning), (gst_message_new_info),
1738         (gst_message_new_buffering), (gst_message_new_state_changed),
1739         (gst_message_new_clock_provide), (gst_message_new_clock_lost),
1740         (gst_message_new_new_clock), (gst_message_new_segment_start),
1741         (gst_message_new_segment_done), (gst_message_new_duration),
1742         (gst_message_new_async_start), (gst_message_parse_buffering),
1743         (gst_message_parse_state_changed),
1744         (gst_message_parse_clock_provide), (gst_message_parse_clock_lost),
1745         (gst_message_parse_new_clock), (gst_message_parse_error),
1746         (gst_message_parse_warning), (gst_message_parse_info),
1747         (gst_message_parse_segment_start),
1748         (gst_message_parse_segment_done), (gst_message_parse_duration),
1749         (gst_message_parse_async_start):
1750         Use GstQuark for messages.
1751
1752 2008-04-08  Wim Taymans  <wim.taymans@collabora.co.uk>
1753
1754         * gst/gstquark.c: (_priv_gst_quarks_initialize):
1755         * gst/gstquark.h:
1756         Add some more quarks needed for messages and queries.
1757
1758 2008-04-08  Wim Taymans  <wim.taymans@collabora.co.uk>
1759
1760         * docs/design/part-buffering.txt:
1761         Remove the "none" buffering mode, STREAM is a good default.
1762         Move estimated-time to the avail query, that's when it will be needed.
1763         Other small typo fixes and updates.
1764
1765 2008-04-07  Tim-Philipp Müller  <tim at centricular dot net>
1766
1767         * gst/gstindex.c: (gst_index_resolver_get_type):
1768           Don't put descriptions into the nick field of a GEnumValue: it's not
1769           meant for that and some language bindings rely on the nick field to
1770           construct constants and the like. Fixes #526705.
1771
1772 2008-04-07  Tim-Philipp Müller  <tim at centricular dot net>
1773
1774         * NEWS:
1775         * RELEASE:
1776         * gstreamer.doap:
1777           Merge other changes from 0.10.19 release branch.
1778
1779 2008-04-06  Sebastian Dröge  <slomo@circular-chaos.org>
1780
1781         Patch by: Damien Lespiau <damien dot lespiau at gmail dot com>
1782
1783         * configure.ac:
1784         Actually build dlls when cross-compiling with mingw32.
1785         Fixes bug #526247.
1786
1787 2008-04-05  Sebastian Dröge  <slomo@circular-chaos.org>
1788
1789         Patch by: Damien Lespiau <damien dot lespiau at gmail dot com>
1790
1791         * gst/gstpoll.c:
1792         Fix compilation of GstPoll with mingw32. Fixes bug #526236.
1793
1794 2008-04-04  Wim Taymans  <wim.taymans@collabora.co.uk>
1795
1796         * docs/design/draft-latency.txt:
1797         Fix typo.
1798
1799         * docs/design/part-buffering.txt:
1800         Update design docs with more buffering ideas.
1801
1802 2008-04-03  Tim-Philipp Müller  <tim at centricular dot net>
1803
1804         * configure.ac:
1805           Bump version to 0.10.19.1 after the unscheduled 0.10.19 release.
1806
1807 2008-04-03  Stefan Kost  <ensonic@users.sf.net>
1808
1809         * configure.ac:
1810           Revert part that belongs to the preset patch.
1811
1812 2008-04-03  Stefan Kost  <ensonic@users.sf.net>
1813
1814         * configure.ac:
1815           Add qoutes to the define. Fixes # 525961.
1816
1817 2008-04-03  Sebastian Dröge  <slomo@circular-chaos.org>
1818
1819         * plugins/indexers/gstfileindex.c: (_file_index_id_free),
1820         (gst_file_index_load), (gst_file_index_add_id),
1821         (gst_file_index_get_assoc_entry):
1822         * plugins/indexers/gstmemindex.c: (gst_mem_index_free_format),
1823         (gst_mem_index_free_id), (gst_mem_index_add_id),
1824         (gst_mem_index_index_format):
1825         Use GSlice when possible.
1826
1827 2008-04-02  Sebastian Dröge  <slomo@circular-chaos.org>
1828
1829         * libs/gst/controller/gstinterpolationcontrolsource.c:
1830         (gst_control_point_free),
1831         (gst_interpolation_control_source_set_internal):
1832         Use GSlice for allocating the control points.
1833
1834 2008-04-02  Wim Taymans  <wim.taymans@collabora.co.uk>
1835
1836         * plugins/elements/gsttypefindelement.c:
1837         (gst_type_find_element_class_init),
1838         (gst_type_find_element_set_property),
1839         (gst_type_find_element_get_property),
1840         (gst_type_find_element_activate):
1841         * plugins/elements/gsttypefindelement.h:
1842         Cleanup properties.
1843         Fix pad leak when peer query fails.
1844         We can still typefind when the peer returns -1.
1845         Add property to force caps and bypass typefinding. This will be used in
1846         uridecodebin.
1847         API::force-caps
1848
1849 2008-04-01  Sebastian Dröge  <slomo@circular-chaos.org>
1850
1851         * configure.ac:
1852         Require GLib 2.12.
1853
1854         * gst/glib-compat-private.h:
1855         * gst/gstcaps.c: (gst_caps_new_empty), (_gst_caps_free):
1856         * gst/gstclock.c: (gst_clock_entry_new), (_gst_clock_id_free):
1857         Unconditionally use GSlice for allocation.
1858
1859         * gst/gstpoll.c: (gst_poll_new), (gst_poll_free):
1860         * gst/gstsegment.c: (gst_segment_new), (gst_segment_free):
1861         * gst/gststructure.c: (gst_structure_id_empty_new_with_size),
1862         (gst_structure_free):
1863         Use GSlice for allocation.
1864
1865 2008-04-01  Sebastian Dröge  <slomo@circular-chaos.org>
1866
1867         * gst/parse/Makefile.am:
1868         * gst/parse/grammar.tab.pre.c:
1869         * gst/parse/grammar.tab.pre.h:
1870         * gst/parse/lex._gst_parse_yy.pre.c:
1871         Require a new enough flex and bison and remove the parser hacks to use
1872         a pre-regenerated version.
1873
1874 2008-04-01  Julien Moutte  <julien@fluendo.com>
1875
1876         patch by: Jason Zhao <E3423C@motorola.com>
1877
1878         * configure.ac: Add a configure switch to disable option parsing
1879         in gst_init.
1880         Fixes #522882.
1881
1882 2008-03-31  Stefan Kost  <ensonic@users.sf.net>
1883
1884         * configure.ac:
1885         * gst/gstregistry.c:
1886           MacOS has plugins under .so or under .dylib. Add detection for MacOS
1887           and handle this case.
1888
1889         * gst/gst.c:
1890           Add a comment here describing, why we stat each plugin and not try to
1891           be smart.
1892
1893 2008-03-31  Sebastian Dröge  <slomo@circular-chaos.org>
1894
1895         * libs/gst/base/gstbasetransform.c:
1896         (gst_base_transform_prepare_output_buffer):
1897         Also unset the GAP flag on buffers if we're working inplace but
1898         the element is not GAP-aware.
1899
1900         Mark a comment as FIXME 0.11.
1901
1902 2008-03-31  Stefan Kost  <ensonic@users.sf.net>
1903
1904         * gst/gst.c:
1905           Fix type in log message and add one to ease seeing how long registry
1906           cache verification takes.
1907
1908         * gst/gstregistry.c:
1909           Only test plugin filenames against G_MODULE_SUFFIX.
1910
1911 2008-03-31  Stefan Kost  <ensonic@users.sf.net>
1912
1913         * gst/gstdebugutils.c:
1914           Improve handling ghost/proxy pads.
1915
1916 2008-03-27  Stefan Kost  <ensonic@users.sf.net>
1917
1918         * docs/gst/gstreamer-sections.txt:
1919         * gst/gstpad.c:
1920         * gst/gstpad.h:
1921           Expose macro to docs and fix link to it.
1922
1923 2008-03-27  Michael Smith <msmith@fluendo.com>
1924
1925         * libs/gst/dataprotocol/dataprotocol.c:
1926         (gst_dp_packet_from_event_1_0):
1927           When calculating GDP body CRC, use the correct pointer. 
1928           Fixes part of #522401.
1929
1930 2008-03-24  Wim Taymans  <wim.taymans@collabora.co.uk>
1931
1932         Patch by: Mark Nauwelaerts <manauw at skynet be>
1933
1934         * plugins/elements/gstidentity.c: (gst_identity_class_init),
1935         (gst_identity_init), (gst_identity_prepare_output_buffer):
1936         Identity is not always a passthrough element, it can modify the buffer
1937         timestamps when it has a datarate and operates in single-segment mode.
1938         We therefore make it an in_place filter with a custom buffer prepare
1939         function that conditionally makes the input buffer metadata writable
1940         when needed.  Fixes #523985.
1941
1942 2008-03-24  Wim Taymans  <wim.taymans@collabora.co.uk>
1943
1944         Patch by: Mark Nauwelaerts <manauw at skynet be>
1945
1946         * gst/gstclock.h:
1947         * libs/gst/base/gstbasesrc.h:
1948         * libs/gst/base/gstbasetransform.c:
1949         * libs/gst/check/gstcheck.c:
1950         Small documentation fixes. Fixes #523978.
1951
1952 2008-03-24  Wim Taymans  <wim.taymans@collabora.co.uk>
1953
1954         * plugins/elements/gstfdsink.c: (gst_fd_sink_render):
1955         * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
1956         Also retry our poll_wait when we get EAGAIN. Fixes #524041.
1957
1958 2008-03-24  Wim Taymans  <wim.taymans@collabora.co.uk>
1959
1960         * plugins/elements/gstmultiqueue.c: (single_queue_overrun_cb),
1961         (single_queue_underrun_cb):
1962         When trying to make room in the queue, bump the max allowed buffers
1963         bigger than the current amount of buffers in the queue. this fixes some
1964         nasty deadlocks in multiqueue when dynamically changing the limits of
1965         the queue.
1966
1967 2008-03-24  Wim Taymans  <wim.taymans@collabora.co.uk>
1968
1969         Patch by:  José Alburquerque <jaalburqu at svn dot gnome dot org>
1970
1971         * gst/gstcaps.c: (gst_caps_set_simple),
1972         (gst_caps_set_simple_valist), (gst_caps_intersect):
1973         * gst/gstcaps.h:
1974         Constify the field gchar * params in set_simple and friends.
1975         Fixes #522326.
1976
1977 2008-03-24  Wim Taymans  <wim.taymans@collabora.co.uk>
1978
1979         * gst/gstvalue.c: (gst_value_transform_object_string):
1980         Transform a GstObject to a more meaningfull string that includes the
1981         object type in addition to its name.
1982
1983 2008-03-23  Stefan Kost  <ensonic@users.sf.net>
1984
1985         * ChangeLog:
1986           ChangeLog surgery to add bugnumber to commit.
1987
1988 2008-03-23  Rene Stadler  <mail@renestadler.de>
1989
1990         * libs/gst/base/gstbasetransform.c:
1991         (gst_base_transform_set_gap_aware): Fix confusing documentation.
1992
1993 2008-03-23  Sebastian Dröge  <slomo@circular-chaos.org>
1994
1995         * gst/gstregistrybinary.c: (gst_registry_binary_write):
1996         Rename constant everywhere and don't forget one occurence.
1997
1998 2008-03-23  Sebastian Dröge  <slomo@circular-chaos.org>
1999
2000         * gst/gstregistrybinary.c: (gst_registry_binary_write):
2001         Align memory to the pointer size even if the architecture allows
2002         unaligned memory access. Unaligned memory access usually comes with
2003         performance penality.
2004
2005 2008-03-23  Sebastian Dröge  <slomo@circular-chaos.org>
2006
2007         * gst/gstregistrybinary.c: (gst_registry_binary_write),
2008         (gst_registry_binary_check_magic),
2009         (gst_registry_binary_load_pad_template),
2010         (gst_registry_binary_load_feature),
2011         (gst_registry_binary_load_plugin):
2012         Align memory to the pointer size instead of always 32 bit. Fixes
2013         unaligned memory accesses on ia64 and friends.
2014
2015         * gst/gstregistrybinary.h:
2016         Bump binary registry format version for this as it changes the
2017         format on those architectures that don't have unaligned access
2018         and 64 bit pointers.
2019
2020 2008-03-22  Sebastian Dröge  <slomo@circular-chaos.org>
2021
2022         * docs/pwg/advanced-dparams.xml:
2023         * docs/pwg/building-props.xml:
2024         * docs/pwg/other-source.xml:
2025         * gst/glib-compat.h:
2026         * gst/gstbin.c: (gst_bin_class_init):
2027         * gst/gstclock.c: (gst_clock_class_init):
2028         * gst/gstindex.c: (gst_index_class_init):
2029         * gst/gstobject.c: (gst_object_class_init):
2030         * gst/gstpad.c: (gst_pad_class_init):
2031         * gst/gstpipeline.c: (gst_pipeline_class_init):
2032         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
2033         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init):
2034         * libs/gst/base/gstbasetransform.c:
2035         (gst_base_transform_class_init):
2036         * libs/gst/base/gstdataqueue.c: (gst_data_queue_class_init):
2037         * libs/gst/check/gstcheck.c: (_gst_check_fault_handler_restore),
2038         (_gst_check_fault_handler_sighandler),
2039         (_gst_check_fault_handler_setup), (gst_check_init):
2040         * libs/gst/controller/gstcontroller.c:
2041         (_gst_controller_class_init):
2042         * libs/gst/controller/gstlfocontrolsource.c:
2043         (gst_lfo_control_source_class_init):
2044         * libs/gst/net/gstnetclientclock.c:
2045         (gst_net_client_clock_class_init):
2046         * libs/gst/net/gstnettimeprovider.c:
2047         (gst_net_time_provider_class_init):
2048         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_class_init):
2049         * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init):
2050         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init):
2051         * plugins/elements/gstfdsink.c: (gst_fd_sink_class_init):
2052         * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init):
2053         * plugins/elements/gstfilesink.c: (gst_file_sink_class_init):
2054         * plugins/elements/gstfilesrc.c: (gst_file_src_class_init):
2055         * plugins/elements/gstidentity.c: (gst_identity_class_init):
2056         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_class_init):
2057         * plugins/elements/gstqueue.c: (gst_queue_class_init):
2058         * plugins/elements/gsttee.c: (gst_tee_class_init):
2059         * plugins/elements/gsttypefindelement.c:
2060         (gst_type_find_element_class_init):
2061         * plugins/indexers/gstfileindex.c: (gst_file_index_class_init):
2062         Define G_PARAM_STATIC_STRINGS if it's undefined (GLib < 2.13.0) and
2063         use it everywhere for GParamSpecs that use static strings (i.e. all).
2064         This gives us less memory usage, fewer allocations and thus less
2065         memory defragmentation. Fixes bug #523806.
2066
2067 2008-03-22  Sebastian Dröge  <slomo@circular-chaos.org>
2068
2069         * gst/gstminiobject.c: (gst_value_dup_mini_object),
2070         (gst_param_spec_mini_object):
2071         * gst/gstminiobject.h:
2072         * win32/common/libgstreamer.def:
2073         * docs/gst/gstreamer-sections.txt:
2074         API: Add GST_IS_PARAM_SPEC_MINI_OBJECT, GST_PARAM_SPEC_MINI_OBJECT
2075         GST_TYPE_PARAM_MINI_OBJECT and gst_value_dup_mini_object. Also move
2076         GstParamSpecMiniObject into a public header for this.
2077
2078         This make GstMiniObject a bit more consistent with GObject and makes
2079         it possible to extend the param specs.
2080
2081         gst_value_dup_mini_object is mainly useful for set_property methods.
2082
2083         Fixes bug #523798.
2084
2085         * tools/gst-inspect.c: (print_element_properties_info):
2086         Print something useful for GstMiniObject properties and not just
2087         "unknown type".
2088
2089 2008-03-21  Sebastian Dröge  <slomo@circular-chaos.org>
2090
2091         * docs/gst/gstreamer-sections.txt:
2092         * gst/gstregistrybinary.c: (gst_registry_binary_initialize_magic),
2093         (gst_registry_binary_check_magic):
2094         * gst/gstregistrybinary.h:
2095         Call the version GST_MAGIC_BINARY_VERSION_STR to be more consistent
2096         and add it to the (private part) of the docs to fix the build.
2097
2098 2008-03-21  Sebastian Dröge  <slomo@circular-chaos.org>
2099
2100         * gst/gstregistrybinary.c: (gst_registry_binary_initialize_magic),
2101         (gst_registry_binary_check_magic),
2102         (gst_registry_binary_read_cache):
2103         * gst/gstregistrybinary.h:
2104         Don't use GST_MAJORMINOR for the binary registry version. Instead
2105         hardcode a value that must be changed whenever the format changes
2106         in an incompatible way.
2107         Also don't GST_ERROR when there is a version mismatch, just
2108         regenerate the registry silently.
2109
2110 2008-03-21  Jan Schmidt  <jan.schmidt@sun.com>
2111
2112         * configure.ac:
2113         Back to development - 0.10.18.1
2114
2115 === release 0.10.18 ===
2116
2117 2008-03-20  Jan Schmidt <jan.schmidt@sun.com>
2118
2119         * configure.ac:
2120           releasing 0.10.18, "So far away"
2121
2122 2008-03-18  Jan Schmidt  <jan.schmidt@sun.com>
2123
2124         * configure.ac:
2125         * win32/common/config.h:
2126         0.10.17.4 pre-release
2127
2128 2008-03-18  Wim Taymans  <wim.taymans@collabora.co.uk>
2129
2130         Patch by: Ole André Vadla Ravnås
2131             <ole dot andre dot ravnas at tandberg dot com>
2132
2133         * docs/gst/gstreamer-sections.txt:
2134         * gst/gstpoll.c: (gst_poll_winsock_error_to_errno),
2135         (gst_poll_update_winsock_event_mask),
2136         (gst_poll_prepare_winsock_active_sets),
2137         (gst_poll_collect_winsock_events), (gst_poll_new), (gst_poll_free),
2138         (gst_poll_add_fd_unlocked), (gst_poll_fd_ctl_write),
2139         (gst_poll_fd_ctl_read_unlocked), (gst_poll_fd_ignored),
2140         (gst_poll_fd_has_error), (gst_poll_fd_can_read_unlocked),
2141         (gst_poll_check_ctrl_commands), (gst_poll_wait):
2142         * gst/gstpoll.h:
2143         * win32/common/libgstreamer.def:
2144         Add new function gst_poll_fd_ignored() for improved Windows
2145         compatibility.
2146         Various minor fixes and cleanups. See #520808.
2147
2148 2008-03-17  Tim-Philipp Müller  <tim at centricular dot net>
2149
2150         * gst/gstindex.c: (gst_index_entry_free):
2151         * gst/gstindex.h:
2152           Don't free key strings which we don't own. Fixes crash in
2153           gst_index_entry_free() (#522741).
2154
2155         * tests/check/Makefile.am:
2156         * tests/check/gst/.cvsignore:
2157         * tests/check/gst/gstindex.c: (test_index_entries),
2158           (gst_index_suite), (gst_index):
2159           Add unit test for the above.
2160
2161 2008-03-11  Sebastian Dröge  <slomo@circular-chaos.org>
2162
2163         * win32/common/libgstreamer.def:
2164         Remove symbols that were removed recently. Fixes bug #521740.
2165
2166 2008-03-11  Jan Schmidt  <jan.schmidt@sun.com>
2167
2168         * configure.ac:
2169         * win32/common/config.h:
2170         0.10.17.3 pre-release
2171
2172 2008-03-07  Wim Taymans  <wim.taymans@collabora.co.uk>
2173
2174         Patch by: Ole André Vadla Ravnås
2175             <ole dot andre dot ravnas at tandberg dot com>
2176
2177         * docs/gst/gstreamer-sections.txt:
2178         * gst/gstpoll.c: (find_index), (gst_poll_free_winsock_event),
2179         (gst_poll_update_winsock_event_mask), (gst_poll_new),
2180         (gst_poll_free), (gst_poll_fd_init), (gst_poll_add_fd_unlocked),
2181         (gst_poll_remove_fd), (gst_poll_fd_ctl_write),
2182         (gst_poll_fd_ctl_read_unlocked), (gst_poll_fd_has_closed),
2183         (gst_poll_fd_has_error), (gst_poll_fd_can_read_unlocked),
2184         (gst_poll_fd_can_write), (gst_poll_wait),
2185         (gst_poll_set_controllable), (gst_poll_restart),
2186         (gst_poll_set_flushing):
2187         * gst/gstpoll.h:
2188         * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_new):
2189         * libs/gst/net/gstnettimeprovider.c: (gst_net_time_provider_start),
2190         (gst_net_time_provider_new):
2191         * plugins/elements/gstfdsink.c: (gst_fd_sink_start):
2192         * plugins/elements/gstfdsrc.c: (gst_fd_src_start):
2193         * tests/benchmarks/gstpollstress.c: (main):
2194         * tests/check/gst/gstpoll.c: (GST_START_TEST), (gst_poll_suite):
2195         Remove GstPollMode from the API, it does not make sense to let the
2196         application control this.
2197         Add support for Win32.
2198         Fix the testsuite. Fixes #520671.
2199
2200 2008-03-07  Sebastian Dröge  <slomo@circular-chaos.org>
2201
2202         Patch by: Ole André Vadla Ravnås
2203             <ole dot andre dot ravnas at tandberg dot com>
2204
2205         * gst/gstregistrybinary.c:
2206         Include io.h for write() and close() when building with MSVC. Fixes
2207         bug #520877.
2208
2209 2008-03-07  Stefan Kost  <ensonic@users.sf.net>
2210
2211         * configure.ac:
2212         * gst/gst_private.h:
2213         * gst/gstconfig.h.in:
2214         * gst/gstregistry.h:
2215         * gst/gstregistrybinary.c:
2216         * win32/common/gstconfig.h:
2217           Move registry backend API to private headers where we can. Add
2218           fixme-0.11 comments for the others. Add stubs for the xml backend when
2219           using the binary to ensure they functions exists (they should not be
2220           used though). Fixes #520756.
2221
2222 2008-03-04  Jan Schmidt  <jan.schmidt@sun.com>
2223
2224         * configure.ac:
2225         * win32/common/config.h:
2226         0.10.17.2 prelease
2227
2228 2008-03-03  Edward Hervey  <edward.hervey@collabora.co.uk>
2229
2230         * gst/gstregistrybinary.c: (gst_registry_binary_write),
2231         (gst_registry_binary_read_cache):
2232         * gst/gstregistryxml.c: (gst_registry_save):
2233         * gst/gsturi.c: (unescape_string), (gst_uri_has_protocol):
2234         * plugins/elements/gstfilesink.c: (gst_file_sink_open_file):
2235         * plugins/elements/gstfilesrc.c: (gst_file_src_map_region),
2236         (gst_file_src_map_small_region), (gst_file_src_create_mmap):
2237         Switch to using portabl gsize/gssize instead of size_t/ssize_t
2238         Fixes #520152
2239
2240 2008-03-03  Edward Hervey  <edward.hervey@collabora.co.uk>
2241
2242         * gst/gstminiobject.c:
2243         Import gst_private.h before any other header that might include other
2244         glib headers. This fixes the build on windows using native compilers.
2245
2246 2008-03-03  Tim-Philipp Müller  <tim at centricular dot net>
2247
2248         * win32/common/gstconfig.h:
2249           Add here too, just for completeness.
2250
2251 2008-03-03  Tim-Philipp Müller  <tim at centricular dot net>
2252
2253         * configure.ac:
2254         * gst/gstconfig.h.in:
2255         * gst/gstregistry.h:
2256           Fix broken use of config.h-defined preprocessor directive in a public
2257           header file. Add a corresponding define to gstconfig.h, since we can't
2258           really remove those function declarations from the header file now
2259           (or can we? and why are they there in the first place?).
2260
2261 2008-03-03  Andy Wingo  <wingo@pobox.com>
2262
2263         * tests/check/gst/gststructure.c (GST_START_TEST): Add a check for
2264         the new warning.
2265
2266         * gst/gststructure.c (gst_structure_from_string): Warn if
2267         structure_from_string didn't consume the whole string, but the
2268         caller did not provide an end pointer.
2269
2270 2008-03-01  Tim-Philipp Müller  <tim at centricular dot net>
2271
2272         Patch by: Fabrizio Gennari <fabrizio.ge at tiscali it>
2273
2274         * gst/gstregistryxml.c: (read_string), (load_feature):
2275           Strings allocated by libxml2 should be freed with xmlFree(), not
2276           with g_free(). Fixes issues on windows in certain contexts (#519698).
2277
2278 2008-02-29  Tim-Philipp Müller  <tim at centricular dot net>
2279
2280         * gst/gstinterface.c: (gst_element_implements_interface):
2281           Don't crash if the element supports the interface queried, but does
2282           not implement GstImplementsInterface. Fixes #519584.
2283
2284         * tests/check/Makefile.am:
2285         * tests/check/gst/.cvsignore:
2286         * tests/check/gst/gstinterface.c:
2287           Add unit test for the above.
2288
2289 2008-02-29  Wim Taymans  <wim.taymans@collabora.co.uk>
2290
2291         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
2292         Small doc update.
2293
2294 2008-02-29  Wim Taymans  <wim.taymans@collabora.co.uk>
2295
2296         * gst/gstsegment.c: (gst_segment_set_seek),
2297         (gst_segment_to_stream_time):
2298         Improve some comment.
2299         Update variables where it makes more sense.
2300
2301 2008-02-29  Rene Stadler  <mail@renestadler.de>
2302
2303         * gst/gsturi.c: (gst_uri_handler_get_protocols):
2304         Use the get_protocols_full vfunc if get_protocols is NULL.  Fixes
2305         URIHandlers implemented using language bindings.
2306
2307 2008-02-29  Sebastian Dröge  <slomo@circular-chaos.org>
2308
2309         * gst/gstelementfactory.h:
2310         * tests/check/elements/fakesink.c:
2311         * tests/check/elements/fakesrc.c: (setup_fakesrc):
2312         * tests/check/elements/fdsrc.c: (setup_fdsrc):
2313         * tests/check/elements/filesink.c: (setup_filesink):
2314         * tests/check/elements/filesrc.c: (setup_filesrc):
2315         * tests/check/elements/identity.c: (setup_identity):
2316         * tests/check/elements/tee.c:
2317         * tests/check/generic/sinks.c:
2318         * tests/check/generic/states.c: (setup), (teardown):
2319         * tests/check/gst/gst.c:
2320         * tests/check/gst/gstabi.c:
2321         * tests/check/gst/gstbin.c:
2322         * tests/check/gst/gstbus.c: (pull_messages):
2323         * tests/check/gst/gstcaps.c:
2324         * tests/check/gst/gstelement.c:
2325         * tests/check/gst/gstevent.c:
2326         * tests/check/gst/gstghostpad.c:
2327         * tests/check/gst/gstiterator.c:
2328         * tests/check/gst/gstmessage.c:
2329         * tests/check/gst/gstminiobject.c: (my_foo_init):
2330         * tests/check/gst/gstobject.c: (thread_name_object),
2331         (gst_object_suite):
2332         * tests/check/gst/gstpad.c:
2333         * tests/check/gst/gstplugin.c:
2334         * tests/check/gst/gstpoll.c:
2335         * tests/check/gst/gstquery.c:
2336         * tests/check/gst/gstsegment.c:
2337         * tests/check/gst/gststructure.c:
2338         * tests/check/gst/gstsystemclock.c:
2339         * tests/check/gst/gsttask.c:
2340         * tests/check/gst/gstutils.c:
2341         * tests/check/gst/gstvalue.c:
2342         * tests/check/gst/struct_hppa.h:
2343         * tests/check/gst/struct_i386.h:
2344         * tests/check/gst/struct_ppc32.h:
2345         * tests/check/gst/struct_ppc64.h:
2346         * tests/check/gst/struct_x86_64.h:
2347         * tests/check/libs/adapter.c: (create_and_fill_adapter):
2348         * tests/check/libs/basesrc.c:
2349         * tests/check/libs/controller.c: (GST_START_TEST):
2350         * tests/check/libs/gdp.c:
2351         * tests/check/libs/gstnetclientclock.c:
2352         * tests/check/libs/gstnettimeprovider.c:
2353         * tests/check/libs/libsabi.c:
2354         * tests/check/libs/struct_hppa.h:
2355         * tests/check/libs/struct_i386.h:
2356         * tests/check/libs/struct_ppc32.h:
2357         * tests/check/libs/struct_ppc64.h:
2358         * tests/check/libs/struct_x86_64.h:
2359         * tests/check/pipelines/cleanup.c:
2360         * tests/check/pipelines/simple-launch-lines.c:
2361         * tests/check/pipelines/stress.c:
2362         And correct even more valid sparse warnings.
2363
2364         * win32/common/libgstreamer.def:
2365         Add gst_poll_fd_init to the list of symbols.
2366
2367 2008-02-29  Sebastian Dröge  <slomo@circular-chaos.org>
2368
2369         * gst/gstconfig.h.in:
2370         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_read_buffer):
2371         * libs/gst/check/gstcheck.c: (gst_check_log_message_func),
2372         (gst_check_log_critical_func), (gst_check_drop_buffers),
2373         (gst_check_element_push_buffer_list):
2374         * libs/gst/controller/gstcontroller.c: (gst_controller_get),
2375         (gst_controller_get_type):
2376         * libs/gst/controller/gsthelper.c: (gst_object_control_properties),
2377         (gst_object_get_controller), (gst_object_get_control_source):
2378         * libs/gst/controller/gstinterpolationcontrolsource.c:
2379         (gst_interpolation_control_source_new):
2380         * libs/gst/controller/gstlfocontrolsource.c:
2381         (gst_lfo_control_source_new):
2382         * libs/gst/dataprotocol/dataprotocol.c:
2383         (gst_dp_event_from_packet_0_2):
2384         * plugins/elements/gstfdsrc.c:
2385         * plugins/elements/gstmultiqueue.c:
2386         * plugins/elements/gsttee.c:
2387         * plugins/elements/gsttypefindelement.c:
2388         * plugins/indexers/gstfileindex.c: (_file_index_id_save_xml),
2389         (gst_file_index_add_association):
2390         * plugins/indexers/gstmemindex.c:
2391         * tests/benchmarks/gstpollstress.c: (mess_some_more):
2392         * tests/check/elements/queue.c: (setup_queue):
2393         * tests/check/gst/gstpipeline.c:
2394         * tests/check/libs/collectpads.c: (setup), (teardown),
2395         (gst_collect_pads_suite):
2396         * tests/examples/adapter/adapter_test.c:
2397         * tests/examples/metadata/read-metadata.c: (make_pipeline):
2398         * tests/examples/xml/createxml.c:
2399         * tests/examples/xml/runxml.c:
2400         * tools/gst-inspect.c:
2401         * tools/gst-run.c:
2402         Correct all relevant warnings found by the sparse semantic code
2403         analyzer. This include marking several symbols static, using
2404         NULL instead of 0 for pointers, not using variable sized arrays
2405         on the stack, moving variable declarations to the beginning of
2406         a block and using "foo (void)" instead of "foo ()" for declarations.
2407
2408 2008-02-29  Sebastian Dröge  <slomo@circular-chaos.org>
2409
2410         * plugins/elements/gstfdsink.c: (gst_fd_sink_update_fd):
2411         * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
2412         Don't reset GstPollFDs, this is not necessary at all.
2413
2414         * tests/check/gst/gstpoll.c: (test_poll_wait), (GST_START_TEST),
2415         (delayed_restart), (delayed_control):
2416         Use GST_POLL_FD_INIT.
2417
2418 2008-02-29  Wim Taymans  <wim.taymans@collabora.co.uk>
2419
2420         * gst/gstpoll.c: (gst_poll_fd_init):
2421         * gst/gstpoll.h:
2422         Added Since tags.
2423
2424         * plugins/elements/gstfdsink.c: (gst_fd_sink_update_fd):
2425         Use some more init macros.
2426
2427 2008-02-29  Wim Taymans  <wim.taymans@collabora.co.uk>
2428
2429         * plugins/elements/gstfdsink.c: (gst_fd_sink_start):
2430         * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
2431         Use init macros and functions.
2432
2433 2008-02-29  Wim Taymans  <wim.taymans@collabora.co.uk>
2434
2435         * docs/gst/gstreamer-sections.txt:
2436         * gst/gstpoll.c: (gst_poll_fd_init):
2437         * gst/gstpoll.h:
2438         Add INIT macro and _init method for initializing the GstPollFD.
2439
2440 2008-02-28  Sebastian Dröge  <slomo@circular-chaos.org>
2441
2442         * plugins/elements/gstfdsink.c: (gst_fd_sink_start),
2443         (gst_fd_sink_update_fd):
2444         * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
2445         * tests/check/gst/gstpoll.c: (test_poll_wait), (GST_START_TEST),
2446         (delayed_restart), (delayed_control):
2447         Initialize some uninitialized variables as spotted by valgrind.
2448
2449 2008-02-28  Wim Taymans  <wim.taymans@collabora.co.uk>
2450
2451         * tests/benchmarks/Makefile.am:
2452         * tests/benchmarks/gstpollstress.c: (mess_some_more), (run_test),
2453         (main):
2454         Add poll stress test.
2455
2456 2008-02-28  Wim Taymans  <wim.taymans@collabora.co.uk>
2457
2458         Patch by: Peter Kjellerstedt <pkj at axis dot com>
2459
2460         * plugins/elements/gstfdsink.c: (gst_fd_sink_render),
2461         (gst_fd_sink_start), (gst_fd_sink_stop), (gst_fd_sink_unlock),
2462         (gst_fd_sink_unlock_stop), (gst_fd_sink_update_fd):
2463         * plugins/elements/gstfdsink.h:
2464         * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd),
2465         (gst_fd_src_start), (gst_fd_src_stop), (gst_fd_src_unlock),
2466         (gst_fd_src_unlock_stop), (gst_fd_src_create),
2467         (gst_fd_src_uri_set_uri):
2468         * plugins/elements/gstfdsrc.h:
2469         Port to GstPoll. See #505417.
2470
2471 2008-02-27  Jan Schmidt  <jan.schmidt@sun.com>
2472
2473         * win32/common/libgstreamer.def:
2474         Add new gst_poll_ symbols to win32 defs.
2475
2476 2008-02-27  Wim Taymans  <wim.taymans@collabora.co.uk>
2477
2478         * docs/libs/gstreamer-libs-sections.txt:
2479         * libs/gst/net/gstnetclientclock.c:
2480         (gst_net_client_clock_class_init), (gst_net_client_clock_init),
2481         (gst_net_client_clock_finalize), (gst_net_client_clock_do_select),
2482         (gst_net_client_clock_thread), (gst_net_client_clock_start),
2483         (gst_net_client_clock_stop), (gst_net_client_clock_new):
2484         * libs/gst/net/gstnetclientclock.h:
2485         * libs/gst/net/gstnettimeprovider.c:
2486         (gst_net_time_provider_class_init), (gst_net_time_provider_init),
2487         (gst_net_time_provider_finalize), (gst_net_time_provider_thread),
2488         (gst_net_time_provider_start), (gst_net_time_provider_stop),
2489         (gst_net_time_provider_new):
2490         * libs/gst/net/gstnettimeprovider.h:
2491         Use a private stuct to not break ABI.
2492
2493 2008-02-27  Wim Taymans  <wim.taymans@collabora.co.uk>
2494
2495         Patch by: Peter Kjellerstedt <pkj at axis dot com>
2496
2497         * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_init),
2498         (gst_net_client_clock_finalize), (gst_net_client_clock_do_select),
2499         (gst_net_client_clock_thread), (gst_net_client_clock_start),
2500         (gst_net_client_clock_stop), (gst_net_client_clock_new):
2501         * libs/gst/net/gstnetclientclock.h:
2502         * libs/gst/net/gstnettimeprovider.c: (gst_net_time_provider_init),
2503         (gst_net_time_provider_finalize), (gst_net_time_provider_thread),
2504         (gst_net_time_provider_start), (gst_net_time_provider_stop),
2505         (gst_net_time_provider_new):
2506         * libs/gst/net/gstnettimeprovider.h:
2507         Massive code removal and cleanups because of GstPoll.
2508         Fixes #505417.
2509
2510 2008-02-27  Wim Taymans  <wim.taymans@collabora.co.uk>
2511
2512         * configure.ac:
2513         Add checks for poll, ppoll and pselect.
2514
2515         * docs/gst/gstreamer-docs.sgml:
2516         * docs/gst/gstreamer-sections.txt:
2517         Add docs for GstPoll.
2518
2519         * gst/Makefile.am:
2520         * gst/gst.h:
2521         * gst/gstpoll.c: (find_index), (selectable_fds),
2522         (pollable_timeout), (choose_mode), (pollfd_to_fd_set),
2523         (fd_set_to_pollfd), (gst_poll_new), (gst_poll_free),
2524         (gst_poll_set_mode), (gst_poll_get_mode),
2525         (gst_poll_add_fd_unlocked), (gst_poll_add_fd),
2526         (gst_poll_remove_fd), (gst_poll_fd_ctl_write),
2527         (gst_poll_fd_ctl_read_unlocked), (gst_poll_fd_ctl_read),
2528         (gst_poll_fd_has_closed), (gst_poll_fd_has_error),
2529         (gst_poll_fd_can_read_unlocked), (gst_poll_fd_can_read),
2530         (gst_poll_fd_can_write), (gst_poll_wait),
2531         (gst_poll_set_controllable), (gst_poll_restart),
2532         (gst_poll_set_flushing):
2533         * gst/gstpoll.h:
2534         Add generic poll abstraction. We ideally don't want to have this in core
2535         here but in glib intead...
2536         This code will be used in various network elements and ultimately for
2537         the nanosecond precision monotonic clock (that's why it's here in core).
2538         It'll allow us to implement cancelable socket operations for windows too.
2539
2540         * tests/check/Makefile.am:
2541         * tests/check/gst/gstpoll.c: (test_poll_wait), (GST_START_TEST),
2542         (delayed_stop), (delayed_restart), (delayed_flush),
2543         (delayed_control), (gst_poll_suite):
2544         Add GstPoll unit test.
2545
2546 2008-02-25  Tim-Philipp Müller  <tim at centricular dot net>
2547
2548         * gst/gstfilter.c:
2549           Improve documentation of gst_filter_run(). Fixes #518627.
2550
2551 2008-02-23  Tim-Philipp Müller  <tim at centricular dot net>
2552
2553         * docs/README:
2554           Add a few lines about the new 'check-inspected-versions' target.
2555
2556 2008-02-21  Stefan Kost  <ensonic@users.sf.net>
2557
2558         * tests/check/gst/gstevent.c:
2559           Add qos to the event test. Rename tcase/tsuite; is not only about
2560           custom events.
2561
2562 2008-02-21  Stefan Kost  <ensonic@users.sf.net>
2563
2564         * plugins/elements/gstqueue.c:
2565           Ensure that buffer metadata is writeable, before modifying. Spotted by
2566           Mike.
2567
2568 2008-02-20  Stefan Kost  <ensonic@users.sf.net>
2569
2570         * plugins/elements/gstqueue.c:
2571         * plugins/elements/gstqueue.h:
2572           When dropping buffers in leaky modes, mark next buffers we sent as
2573           DISCONT.
2574
2575 2008-02-20  Tim-Philipp Müller  <tim at centricular dot net>
2576
2577         * plugins/elements/gstfilesrc.c: (gst_file_src_map_region):
2578           Also, if mmap() fails that would be a READ error, not OPEN_READ.
2579
2580 2008-02-20  Tim-Philipp Müller  <tim at centricular dot net>
2581
2582         * plugins/elements/Makefile.am:
2583         * plugins/elements/gstbufferstore.c:
2584         * plugins/elements/gstbufferstore.h:
2585         * plugins/elements/gsttypefindelement.h:
2586           Remove GstBufferStore, no idea why we were still building it.
2587           It's not used anywhere and superseded by GstAdapter.
2588
2589         * plugins/elements/gstfilesrc.c: (gst_file_src_map_region),
2590           (gst_file_src_create_mmap):
2591         * plugins/indexers/gstfileindex.c: (gst_file_index_add_association):
2592           Printf format fixes for 64-bit integers.
2593
2594 2008-02-19  Sebastian Dröge  <slomo@circular-chaos.org>
2595
2596         * configure.ac:
2597         Don't set GST_CACHE_DIR and allow to set it by a configure parameter.
2598         We're not in 0.8 times anymore.
2599
2600 2008-02-19  Jan Schmidt  <Jan.Schmidt@sun.com>
2601
2602         * libs/gst/check/gstcheck.c: (gst_check_drop_buffers),
2603         (gst_check_element_push_buffer_list):
2604         * libs/gst/check/gstcheck.h:
2605         Make the declaration in the header for
2606         gst_check_element_push_buffer_list match the implementation.
2607
2608         Fix up spelling, grammar and wording of the documentation in a few
2609         places, and add the Since keyword to new API functions.
2610         Use g_list_delete_link instead of g_list_remove in
2611         gst_check_drop_buffers, since it's immeasurably more efficient.
2612
2613         * tests/check/elements/fakesrc.c: (GST_START_TEST):
2614         Use new gst_check_drop_buffers function where appropriate.
2615
2616         * win32/common/libgstbase.def:
2617         * win32/common/libgstreamer.def:
2618         Add new symbols gst_collect_pads_take_buffer, 
2619         gst_collect_pads_read_buffer, gst_index_set_resolver_full to the
2620         exports
2621
2622         Changelog surgery to add API keyword to new gst_check API.
2623
2624 2008-02-19  Sebastian Dröge  <slomo@circular-chaos.org>
2625
2626         * gst/parse/lex._gst_parse_yy.pre.c: (yy_get_next_buffer),
2627         (_gst_parse_yyensure_buffer_stack), (_gst_parse_yylex_init_extra):
2628         Update pre-generated flex files with flex 2.3.34.
2629
2630 2008-02-19  Sebastian Dröge  <slomo@circular-chaos.org>
2631
2632         * gst/gstminiobject.c:
2633           Add FIXME for 0.11 to make GstMiniObjectClass::copy() a bit more
2634           friendly to subclasses and not require them to know all internals
2635           of their parent class.
2636
2637 2008-02-15  Stefan Kost  <ensonic@users.sf.net>
2638
2639         * docs/libs/gstreamer-libs-sections.txt:
2640         * libs/gst/base/gstcollectpads.c:
2641         * libs/gst/base/gstcollectpads.h:
2642           Add sub-buffer functions to collectpads. Fixes #516187.
2643           API: gst_collect_pads_take_buffer(), gst_collect_pads_read_buffer()
2644
2645 2008-02-15  Stefan Kost  <ensonic@users.sf.net>
2646
2647         * gst/gstbuffer.c:
2648           Copy selected buffer-flags when creating subbuffers.
2649           Fixes #516395.
2650
2651 2008-02-12  Sebastian Dröge  <slomo@circular-chaos.org>
2652
2653         * gst/gstbuffer.c: (gst_buffer_class_init), (gst_buffer_finalize):
2654         * gst/gstevent.c: (gst_event_class_init), (gst_event_finalize):
2655         * gst/gstmessage.c: (gst_message_class_init),
2656         (gst_message_finalize):
2657         * gst/gstquery.c: (gst_query_class_init), (gst_query_finalize):
2658         * plugins/elements/gstfilesrc.c: (gst_mmap_buffer_class_init),
2659         (gst_mmap_buffer_finalize):
2660         Properly chain up finalize functions to the parent class.
2661
2662 2008-02-11  Wim Taymans  <wim.taymans@collabora.co.uk>
2663
2664         Patch by: Siavash Safi <siavash dot safi at gmail dot com>
2665
2666         * gst/gstindex.c: (gst_index_finalize), (gst_index_set_resolver),
2667         (gst_index_set_resolver_full):
2668         * gst/gstindex.h:
2669         Add new function with option to dispose of user_data in resolver.
2670         Actually call the dispose function when finalizing the object and not
2671         just when changing the resolver/filter.
2672         API: GstIndex::gst_index_set_resolver_full()
2673
2674         * docs/gst/gstreamer-sections.txt:
2675         Add new function to docs. Fixes #515469.
2676
2677 2008-02-11  Sebastian Dröge  <slomo@circular-chaos.org>
2678
2679         * gst/gstindex.c: (gst_index_finalize):
2680         Chain up finalize to the parent class. Fixes leaking the GstObject
2681         name and other things.
2682
2683 2008-02-08  Jan Schmidt  <jan.schmidt@sun.com>
2684
2685         * configure.ac:
2686         Make DISABLE_DEPRECATED defined *only* during CVS, not during
2687         pre-releases or releases.
2688
2689         * docs/faq/gst-uninstalled:
2690         Add gst-plugins-gl
2691
2692         * docs/random/release:
2693         Change one of the steps - we only upload core & base to Gnome FTP
2694
2695 2008-02-06  Stefan Kost  <ensonic@users.sf.net>
2696
2697         * gst/gstconfig.h.in:
2698           Add 'id' for example.
2699
2700         * gst/gstpad.c:
2701         * gst/gstutils.c:
2702         * plugins/elements/gstfdsink.c:
2703           Link to signals. Doc and comment fixes.
2704
2705 2008-02-05  Tim-Philipp Müller  <tim at centricular dot net>
2706
2707         * gst/gstpad.h: (GST_PAD_LINK_SUCCESSFUL):
2708         * gst/gstpluginfeature.h: (GstPluginFeatureClass):
2709           Some minor docs fixes: fix typo, mention that GST_FLOW_RESEND is
2710           unused and unimplemented; finally, it is plugin features, not
2711           plugins, that have ranks.
2712           
2713 2008-02-05  Stefan Kost  <ensonic@users.sf.net>
2714
2715         * gst/gstpluginfeature.h:
2716           Clarify GstRank range docs.
2717
2718 2008-02-05  David Schleef  <ds@schleef.org>
2719
2720         * gst/gst.c: Add a separate gst_deinitialized that prevents
2721           gst_init() from being called after gst_deinit().  Fixes #509559
2722
2723 2008-02-05  Sebastian Dröge  <slomo@circular-chaos.org>
2724
2725         * gst/gstbin.c: (gst_bin_get_type), (gst_bin_base_init),
2726         (gst_bin_class_init):
2727         * gst/gstelement.c: (gst_element_base_class_init),
2728         (gst_element_class_add_pad_template):
2729         * gst/gstpadtemplate.c: (gst_pad_template_init):
2730         * gst/gstpipeline.c: (gst_pipeline_get_type),
2731         (gst_pipeline_base_init), (gst_pipeline_class_init):
2732         * libs/gst/base/gstbasesink.c:
2733         * libs/gst/base/gstbasesrc.c: (gst_base_src_get_type),
2734         (gst_base_src_base_init), (gst_base_src_class_init):
2735         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_base_init),
2736         (gst_capsfilter_class_init):
2737         * plugins/elements/gstfakesink.c: (gst_fake_sink_base_init),
2738         (gst_fake_sink_class_init):
2739         * plugins/elements/gstfakesrc.c: (gst_fake_src_base_init),
2740         (gst_fake_src_class_init):
2741         * plugins/elements/gstfdsink.c: (gst_fd_sink_base_init),
2742         (gst_fd_sink_class_init):
2743         * plugins/elements/gstfdsrc.c: (gst_fd_src_base_init),
2744         (gst_fd_src_class_init):
2745         * plugins/elements/gstfilesink.c: (gst_file_sink_base_init),
2746         (gst_file_sink_class_init):
2747         * plugins/elements/gstfilesrc.c: (gst_file_src_base_init),
2748         (gst_file_src_class_init):
2749         * plugins/elements/gstidentity.c: (gst_identity_base_init),
2750         (gst_identity_class_init):
2751         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_base_init),
2752         (gst_multi_queue_class_init):
2753         * plugins/elements/gstqueue.c: (gst_queue_base_init),
2754         (gst_queue_class_init):
2755         * plugins/elements/gsttee.c: (gst_tee_base_init),
2756         (gst_tee_class_init):
2757         * plugins/elements/gsttypefindelement.c:
2758         (gst_type_find_element_base_init),
2759         (gst_type_find_element_class_init):
2760         * tests/check/gst/gstelement.c: (gst_element_suite):
2761         Revert previous changes to the behaviour of GstPadTemplates, etc
2762         and the possiblity to call them in class_init as it breaks too
2763         many elements. Reopens bug #491501.
2764
2765         Should be applied again for 0.11, thus added a few FIXME 0.11 at
2766         several places.
2767
2768 2008-02-05  Stefan Kost  <ensonic@users.sf.net>
2769
2770         * tools/gst-launch.c:
2771         Dump one graph per pipeline state-change and state change name
2772         (if GST_DEBUG_DUMP_DOT_DIR is set).
2773
2774 2008-02-04  Thijs Vermeir  <thijsvermeir@gmail.com>
2775
2776         * gst/gstpad.c:
2777         * tests/check/gst/gstpad.c:
2778         Be sure that we have a new copy of the caps and not
2779         reffed caps from a template
2780
2781 2008-02-03  Sebastian Dröge  <slomo@circular-chaos.org>
2782
2783         * gst/gstbin.c: (gst_bin_get_type), (gst_bin_class_init):
2784         * gst/gstpipeline.c: (gst_pipeline_get_type),
2785         (gst_pipeline_class_init):
2786         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_type),
2787         (gst_base_sink_class_init):
2788         * libs/gst/base/gstbasesrc.c: (gst_base_src_get_type),
2789         (gst_base_src_class_init):
2790         * libs/gst/base/gstbasetransform.c: (gst_base_transform_get_type),
2791         (gst_base_transform_class_init):
2792         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
2793         (gst_collect_pads_class_init):
2794         * libs/gst/base/gstdataqueue.c: (gst_data_queue_get_type):
2795         * libs/gst/net/gstnettimeprovider.c:
2796         (gst_net_time_provider_base_init),
2797         (gst_net_time_provider_class_init):
2798         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_base_init),
2799         (gst_capsfilter_class_init):
2800         * plugins/elements/gstfakesink.c: (gst_fake_sink_base_init),
2801         (gst_fake_sink_class_init):
2802         * plugins/elements/gstfakesrc.c: (gst_fake_src_base_init),
2803         (gst_fake_src_class_init):
2804         * plugins/elements/gstfdsink.c: (gst_fd_sink_base_init),
2805         (gst_fd_sink_class_init):
2806         * plugins/elements/gstfdsrc.c: (gst_fd_src_base_init),
2807         (gst_fd_src_class_init):
2808         * plugins/elements/gstfilesink.c: (gst_file_sink_base_init),
2809         (gst_file_sink_class_init):
2810         * plugins/elements/gstfilesrc.c: (gst_file_src_base_init),
2811         (gst_file_src_class_init):
2812         * plugins/elements/gstidentity.c: (gst_identity_base_init),
2813         (gst_identity_class_init):
2814         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_base_init),
2815         (gst_multi_queue_class_init):
2816         * plugins/elements/gstqueue.c: (gst_queue_base_init),
2817         (gst_queue_class_init):
2818         * plugins/elements/gsttee.c: (gst_tee_base_init),
2819         (gst_tee_class_init):
2820         * plugins/elements/gsttypefindelement.c:
2821         (gst_type_find_element_base_init),
2822         (gst_type_find_element_class_init):
2823         Don't use base_init where not absolutely necessary. For example it's
2824         not necessary anymore for adding pad templates or setting element
2825         details.
2826
2827         Leave empty base_init functions in several places as GST_BOILERPLATE
2828         still defines and uses them.
2829
2830 2008-02-03  Sebastian Dröge  <slomo@circular-chaos.org>
2831
2832         * gst/gstelement.c: (gst_element_base_class_init),
2833         (gst_element_class_add_pad_template):
2834         * gst/gstpadtemplate.c:
2835         Make it possible (and recommended) to set element details and add
2836         pad templates in the class_init functions by copying the details/pad
2837         templates in GstElement's base_init.
2838
2839         Also make it possible to replace existing pad templates by adding
2840         a new one with the same name. This was done in a hackish fashion
2841         in same elements before already.
2842
2843         Don't reference pad templates that are added a second time. A
2844         new pad template has a refcount of one and is not floating anymore
2845         and to be owned by the element's class. Make this more explicit by
2846         mentioning it in the docs of gst_element_class_add_pad_template().
2847
2848         These changes are backwards compatible. Fixes bug #491501.
2849
2850         * tests/check/gst/gstelement.c:
2851         Add unit test for setting element details, adding pad templates and
2852         replacing them in a subclass.
2853
2854 2008-02-02  Sebastian Dröge  <slomo@circular-chaos.org>
2855
2856         * tools/gst-inspect.c: (print_interfaces),
2857         (print_element_properties_info), (print_pad_info),
2858         (print_signal_info), (print_element_info):
2859         Fix a few memory leaks.
2860
2861 2008-02-01  Thijs Vermeir  <thijsvermeir@gmail.com>
2862
2863         * docs/libs/gstreamer-libs-sections.txt:
2864         * libs/gst/check/gstcheck.c:
2865         * libs/gst/check/gstcheck.h:
2866         Add more functions for unit testing: gst_check_drop_buffers,
2867         gst_check_caps_equal, gst_check_element_push_buffer_list,
2868         gst_check_element_push_buffer
2869         API: gst_check_drop_buffers
2870         API: gst_check_caps_equal
2871         API: gst_check_element_push_buffer_list
2872         API: gst_check_element_push_buffer
2873
2874 2008-02-01  Julien Moutte  <julien@fluendo.com>
2875
2876         * docs/gst/gstreamer-sections.txt: Add GST_CHECK_VERSION to the docs
2877         * gst/gstindex.c: (gst_index_class_init), (gst_index_free_writer),
2878         (gst_index_finalize), (gst_index_entry_free),
2879         (gst_index_add_association): Fix memory leaks.
2880         * gst/gstversion.h.in: Add GST_CHECK_VERSION macro.
2881         * plugins/indexers/gstmemindex.c: (gst_mem_index_class_init),
2882         (gst_mem_index_free_format), (gst_mem_index_free_id),
2883         (gst_mem_index_finalize): Fix memory leaks.
2884         * win32/common/config.h: Updated to CVS HEAD.
2885
2886 2008-02-01  Stefan Kost  <ensonic@users.sf.net>
2887
2888         * docs/README:
2889           Some more details about how the plugin docs works.
2890
2891         * docs/plugins/gstreamer-plugins-sections.txt:
2892           Whitespace cleanup.
2893
2894 2008-02-01  Stefan Kost  <ensonic@users.sf.net>
2895
2896         * gst/parse/grammar.tab.pre.c:
2897         * gst/parse/grammar.tab.pre.h:
2898         * gst/parse/grammar.y:
2899         * gst/parse/lex._gst_parse_yy.pre.c:
2900           Add delayed set-property. This allows to set properties on dynamicaly
2901           created objects (pads in videomxer). Fixes #509391.
2902
2903 2008-02-01  Thijs Vermeir  <thijsvermeir@gmail.com>
2904
2905         * gst/gstutils.c:
2906         Check if caps are not NULL (fix bug #510194)
2907
2908 2008-02-01  Wim Taymans  <wim.taymans@collabora.co.uk>
2909
2910         * libs/gst/base/gstbasesink.c: (gst_base_sink_loop),
2911         (gst_base_sink_get_position_paused):
2912         Add fixme regarding EOS in pull mode.
2913         Fix position reporting in PAUSED for negative rates.
2914
2915 2008-02-01  Wim Taymans  <wim.taymans@collabora.co.uk>
2916
2917         * gst/gstminiobject.c: (gst_mini_object_replace):
2918         When replacing a miniobject, do a quick equality check first so that we
2919         can avoid a ref/unref pair.
2920
2921 2008-02-01  Wim Taymans  <wim.taymans@collabora.co.uk>
2922
2923         * docs/design/part-synchronisation.txt:
2924         Update some docs.
2925
2926         * docs/plugins/Makefile.am:
2927         * docs/plugins/gstreamer-plugins-docs.sgml:
2928         * docs/plugins/gstreamer-plugins-sections.txt:
2929         * plugins/elements/gstmultiqueue.c:
2930         Add multiqueue to the docs.
2931
2932 2008-01-30  Jan Schmidt  <jan.schmidt@sun.com>
2933
2934         * configure.ac:
2935           Back to CVS
2936
2937 === release 0.10.17 ===
2938
2939 2008-01-30  Jan Schmidt <jan.schmidt@sun.com>
2940
2941         * configure.ac:
2942           releasing 0.10.17, "Due Negligence"
2943
2944 2008-01-30  Jan Schmidt  <jan.schmidt@sun.com>
2945
2946         * gst/gstutils.c:
2947         Revert caps != NULL check temporarily for 0.10.17 release.
2948
2949 2008-01-30  Thijs Vermeir  <thijsvermeir@gmail.com>
2950
2951         * gst/gstutils.c:
2952         Check if caps are not NULL (fix bug #510194)
2953
2954 2008-01-30  Jan Schmidt  <jan.schmidt@sun.com>
2955
2956         * gst/gstutils.c:
2957         Fix compilation on systems that have posix timers but no
2958         monotonic clock.
2959         Fixes: #512715
2960         Patch By: Cygwin Ports maintainer <yselkowitz at users dot sourceforge
2961         dot net>
2962
2963 2008-01-30  Jan Schmidt  <jan.schmidt@sun.com>
2964
2965         * tools/gst-inspect.c:
2966         Revert previous commit in preparation for an impromptu 0.10.17 release
2967
2968 2008-01-29  Sebastian Dröge  <slomo@circular-chaos.org>
2969
2970         * tools/gst-inspect.c: (print_interfaces),
2971         (print_element_properties_info), (print_pad_info),
2972         (print_signal_info), (print_element_info):
2973         Fix a few memory leaks.
2974
2975 2008-01-28  Jan Schmidt  <jan.schmidt@sun.com>
2976
2977         * configure.ac:
2978         Back to CVS
2979
2980 === release 0.10.16 ===
2981
2982 2008-01-28  Jan Schmidt <thaytan@noraisin.net>
2983
2984         * configure.ac:
2985           releasing 0.10.16, "Special Dispensation"
2986
2987 2008-01-24  Tim-Philipp Müller  <tim at centricular dot net>
2988
2989         * configure.ac:
2990           Use AC_TRY_COMPILE instead of AC_TRY_RUN to check for
2991           _POSIX_TIMER, _POSIX_MONOTONIC_CLOCK, etc. Makes configure
2992           not fail when trying to crosscompile on OpenEmbedded (#511750).
2993
2994 2008-01-20  Sebastian Dröge  <slomo@circular-chaos.org>
2995
2996         * docs/manuals.mak:
2997         Use $(MAKE) instead of make to fix the build if GNU make is
2998         called different. Fixes bug #510747.
2999
3000 2008-01-20  Tim-Philipp Müller  <tim at centricular dot net>
3001
3002         * gst/gstplugin.c: (_gst_plugin_initialize):
3003           Fix old-style static plugins via GST_PLUGIN_DEFINE_STATIC
3004           again, which I broke two commits ago when changing the API
3005           of gst_plugin_register_static(): the g_list_foreach() in
3006           _gst_plugin_register_static still assumed the old function
3007           signature and would therefore fail (re-fixes #510187).
3008
3009         * gst/gstplugin.c: (_num_static_plugins), (_static_plugins),
3010           (_gst_plugin_register_static), (gst_plugin_register_static):
3011           Revert the (technically correct) change to call g_thread_init() from
3012           the pre-main() constructor. This will break programs which call
3013           g_thread_init() without an if (!g_thread_supported()) guard in their
3014           main function. We could just blame it on GLib or the application, but
3015           it's probably best to just avoid this altogether and simply not use
3016           any GLib functions here and use plain old malloc() with a simple
3017           array to store the plugins to register later when gst_init() is
3018           finally called (re-fixes #510187).
3019
3020         * tests/check/gst/gstplugin.c: (GST_GNUC_CONSTRUCTOR_DEFINED),
3021           (GST_GNUC_CONSTRUCTOR_DEFINED), (plugin_init_counter),
3022           (plugin1_init), (plugin2_init), (plugin3_init), (GST_START_TEST),
3023           (GST_START_TEST), (gst_plugin_suite):
3024           Dumb unit test to make sure the old GST_PLUGIN_DEFINE_STATIC still
3025           works.
3026
3027 2008-01-17  Tim-Philipp Müller  <tim at centricular dot net>
3028
3029         * gst/gstplugin.h: (GST_PLUGIN_DEFINE_STATIC):
3030           Remove deprecation guards around GST_PLUGIN_DEFINE_STATIC.
3031           This makes gtk-doc complain, but results in slightly better
3032           compiler errors. The old _gst_plugin_register_static() is
3033           still guarded, so there'll be a compiler warning about that
3034           instead. Fixes #510187 too.
3035
3036 2008-01-17  Tim-Philipp Müller  <tim at centricular dot net>
3037
3038         * gst/gst.c: (init_post):
3039         * gst/gstplugin.c: (_gst_plugin_register_static),
3040           (gst_plugin_register_static), (_gst_plugin_initialize):
3041         * gst/gstplugin.h: (GstPluginFilter):
3042           Change API of gst_plugin_register_static() to not take
3043           a GstPluginDesc, but rather just take all the arguments
3044           in a GstPluginDesc directly. This is more intuitive and
3045           avoids certain mistakes when porting code from
3046           GST_PLUGIN_DEFINE_STATIC to gst_plugin_register_static().
3047           Fixes #510187.
3048
3049         * tests/check/gst/gstplugin.c:
3050           Fix up for changed API.
3051
3052 2008-01-17  Thomas Vander Stichele  <thomas at apestaart dot org>
3053
3054         * docs/faq/legal.xml:
3055           Update FAQ, Totem actually has an exception these days.
3056
3057 2008-01-14  Jan Schmidt  <jan.schmidt@sun.com>
3058
3059         * win32/common/libgstreamer.def:
3060         Add new API declarations
3061
3062 2008-01-14  Stefan Kost  <ensonic@users.sf.net>
3063
3064         * gst/gstminiobject.c:
3065           Spelling fixes for the API docs.
3066
3067 2008-01-14  Stefan Kost  <ensonic@users.sf.net>
3068
3069         * libs/gst/base/gstbasetransform.c:
3070           Fix long property description for QoS.
3071
3072 2008-01-12  Jan Schmidt  <Jan.Schmidt@sun.com>
3073
3074         * gst/gst.c:
3075         _gst_trace_on is already provided by gsttrace.h, no need to declare
3076         it ourselves.
3077
3078         * docs/libs/gstreamer-libs-sections.txt:
3079         Add 'buffers', 'check_cond' and 'check_mutex' from libgstcheck
3080         and remove strange tcase_add_test which is outputting a warning.
3081
3082         * libs/gst/check/gstcheck.c:
3083         * libs/gst/check/gstcheck.h:
3084         Properly declare 'buffers', 'check_cond', 'check_mutex' extern
3085         and define them in gstcheck.c instead of having every .c file whcih
3086         includes gstcheck.h be defining its own copy and relying on symbol
3087         interposing to marry them all, which doesn't work on Solaris.
3088
3089         * tests/check/elements/identity.c: (GST_START_TEST):
3090         Don't define 'buffers' locally, it comes from libgstcheck.
3091
3092         * tests/check/generic/sinks.c: (send_buffer):
3093         Fix type of variable (GstFlowReturn, not GstStateChangeReturn)
3094
3095         * tests/check/gst/gststructure.c: (GST_START_TEST):
3096         * tests/check/gst/gstsystemclock.c: (GST_START_TEST):
3097         * tests/check/gst/gstutils.c: (GST_START_TEST):
3098         * tests/check/gst/gstvalue.c: (GST_START_TEST):
3099         Add a bunch of casts to make various constants fit the types
3100         they're being assigned to.
3101
3102 2008-01-10  Stefan Kost  <ensonic@users.sf.net>
3103
3104         * gst/gstchildproxy.c:
3105           Improve docs and add some ideas for making this more general-purpose.
3106
3107 2008-01-10  Tim-Philipp Müller  <tim at centricular dot net>
3108
3109         * gst/gst_private.h: (GST_CAT_TYPES):
3110           Add GST_CAT_TYPES, for consistency, and so that the other
3111           debug categories don't make fun of it. Spotted by Saur on IRC.
3112
3113 2008-01-10  Sebastian Dröge  <slomo@circular-chaos.org>
3114
3115         * gst/parse/Makefile.am:
3116           Move types.h from EXTRA_DIST to noinst_HEADERS.
3117
3118 2008-01-10  Sebastian Dröge  <slomo@circular-chaos.org>
3119
3120         * autogen.sh:
3121           Add -Wno-portability to the automake parameters to stop warnings
3122           about GNU make extensions being used. We require GNU make in almost
3123           every Makefile anyway.
3124
3125         * configure.ac:
3126           Use AM_PROG_CC_C_O as a compiler that accepts both -c and -o
3127           at the same time is required for per target flags.
3128
3129 2008-01-09  Tim-Philipp Müller  <tim at centricular dot net>
3130
3131         * gst/gstmacros.h:
3132           Include glib/gmacros.h for G_BEGIN_DECLS. Check if
3133           __GNUC__ is defined before using it.
3134
3135 2008-01-09  Tim-Philipp Müller  <tim at centricular dot net>
3136
3137         * docs/gst/gstreamer-sections.txt:
3138         * gst/gst.c: (init_post):
3139         * gst/gstplugin.c: (_gst_plugin_register_static),
3140           (gst_plugin_register_static), (_gst_plugin_initialize),
3141           (gst_plugin_register_func):
3142         * gst/gstplugin.h: (GST_PLUGIN_DEFINE_STATIC):
3143           API: add gst_plugin_register_static() and deprecate
3144           GST_PLUGIN_DEFINE_STATIC, since it's not portable
3145           (#498924).
3146           Also, in _gst_plugin_register_static(), make sure to call
3147           g_thread_init() before calling GLib functions such as
3148           g_list_append() if we're not initialised yet, since that
3149           may lead to random crashes with older GSlice/GLib versions.
3150
3151         * tests/check/gst/gstplugin.c:
3152           Adapt unit test to above changes.
3153
3154 2008-01-09  Tim-Philipp Müller  <tim at centricular dot net>
3155
3156         * gst/gst_private.h: (STRUCTURE_ESTIMATED_STRING_LEN):
3157         * gst/gstcaps.c: (gst_caps_to_string):
3158         * gst/gststructure.c: (GST_ASCII_IS_STRING),
3159           (priv_gst_structure_append_to_gstring), (gst_structure_to_string):
3160           Yet another gratuitous GString micro-optimisation: add a (private)
3161           function that serialises a structure appending to an existing
3162           GString, so that when we serialise caps we don't need to alloc+free
3163           a throwaway GString for each structure (each of which also entailing
3164           multiple reallocs on the way); also use g_string_sized_new() in
3165           various places with an approximate string length to avoid reallocs
3166           within GString. See #500143.
3167
3168 2008-01-09  Tim-Philipp Müller  <tim at centricular dot net>
3169
3170         * gst/gststructure.c: (gst_structure_id_set_value):
3171           Always check UTF-8 conformance of structure strings and not only
3172           if the debugging system is enabled; reasoning: the behaviour of
3173           the actual code shouldn't really change depending on whether the
3174           debugging system is enabled or not (#508291).
3175
3176 2008-01-09  Stefan Kost  <ensonic@users.sf.net>
3177
3178         * Makefile.am:
3179           Remove old coverage target in favour of "make lcov".
3180
3181 2008-01-09  Wim Taymans  <wim.taymans@collabora.co.uk>
3182
3183         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
3184         (gst_base_src_loop):
3185         The start segment for reverse playback goes from start to last_stop.
3186
3187 2008-01-09  Wim Taymans  <wim.taymans@collabora.co.uk>
3188
3189         Patch by: Peter Kjellerstedt <pkj axis com>
3190
3191         * gst/gstclock.h:
3192         Cast the results from the timeval/spec_to_time macros to what the
3193         docs say it casts to, a GstClockTime. fixes #508175.
3194
3195 2008-01-09  Wim Taymans  <wim.taymans@collabora.co.uk>
3196
3197         * gst/gstbuffer.c:
3198         Update some comments.
3199
3200         * tools/gst-inspect.c: (print_element_properties_info):
3201         Improve printing of flags.
3202
3203 2008-01-08  Tim-Philipp Müller  <tim at centricular dot net>
3204
3205         * libs/gst/base/gstbasetransform.c:
3206           (gst_base_transform_transform_size):
3207           Print element name with g_warning() if there's a problem
3208           with the unit size.
3209
3210 2008-01-07  David Schleef  <ds@schleef.org>
3211
3212         Patch by: Damien Lespiau <damien.lespiau@gmail.com>
3213
3214         * libs/gst/controller/gstcontroller.h:
3215         * libs/gst/controller/gstcontrolsource.h:
3216         * libs/gst/controller/gstinterpolationcontrolsource.h:
3217         * libs/gst/controller/gstlfocontrolsource.h:
3218         * libs/gst/dataprotocol/dataprotocol.h:
3219           Fix empty prototypes.  Fixes bug #507957.
3220
3221 2008-01-07  David Schleef  <ds@schleef.org>
3222
3223         * docs/faq/dependencies.xml: Fix typo.
3224
3225 2008-01-07  Wim Taymans  <wim.taymans@collabora.co.uk>
3226
3227         * libs/gst/base/gstbasesrc.c: (gst_base_src_default_do_seek),
3228         (gst_base_src_loop):
3229         Don't update the last_stop position in do_seek, that's the position we
3230         did a seek to.
3231         Read backwards when we have a negative rate.
3232
3233         * tests/check/elements/filesrc.c: (event_func), (wait_eos),
3234         (setup_filesrc), (cleanup_filesrc), (GST_START_TEST),
3235         (filesrc_suite):
3236         Add check for reverse reading.
3237
3238 2008-01-07  Tim-Philipp Müller  <tim at centricular dot net>
3239
3240         Patch by: Alexis Ballier <aballier at gentoo org>
3241
3242         * tests/check/gst/gstabi.c:
3243         * tests/check/gst/struct_ppc64.h:
3244         * tests/check/libs/libsabi.c:
3245         * tests/check/libs/struct_ppc64.h:
3246           Decide which header to include based on the userland ABI target
3247           and not the kernel/cpu. Fix up structure sizes of ppc64 header
3248           for 64-bit userland (#503590).  Might need something similar for
3249           x86 too.
3250
3251 2008-01-05  Tim-Philipp Müller  <tim at centricular dot net>
3252
3253         * gst/gstdebugutils.c: (_gst_debug_bin_to_dot_file):
3254           Log the reason why fopen fails in addition to the fact that it failed.
3255           
3256 2008-01-04  Sebastian Dröge  <slomo@circular-chaos.org>
3257
3258         * gst/parse/parse.l:
3259         Use "%option never-interactive" to prevent useless calls to isatty()
3260         on every input when parsing. Also use "%option noinput" to not define
3261         the static input/yyinput functions which we don't use anyway. This
3262         removes a compiler warning with gcc 4.3 and saves some bytes in the
3263         library.
3264         
3265         * gst/parse/lex._gst_parse_yy.pre.c:
3266         Regenerated for the above change.
3267
3268 2008-01-04  Wim Taymans  <wim.taymans@collabora.co.uk>
3269
3270         * gst/gstpad.c: (fixate_value):
3271         Don't crash when trying to fixate and empty list.
3272         Fixes #506643.
3273
3274 2008-01-03  Sebastian Dröge  <slomo@circular-chaos.org>
3275
3276         * docs/faq/gst-uninstalled:
3277         Clarify the comments to make the usage of this script and what it
3278         does easier to understand.
3279
3280 2008-01-01  Thijs Vermeir  <thijsvermeir@gmail.com>
3281
3282         * tools/gst-plot-timeline.py:
3283         Add more options to gst-plot-timeline
3284
3285 2007-12-31  Wim Taymans  <wim.taymans@collabora.co.uk>
3286
3287         * docs/design/part-synchronisation.txt:
3288         Some more info on how the stream_time in GstBaseSink is done.
3289
3290 2007-12-30  Tim-Philipp Müller  <tim at centricular dot net>
3291
3292         * tests/check/generic/sinks.c: (gst_sinks_suite):
3293           Put back the tcase_set_timeout(), apparently it's needed after
3294           all; fix it up in a way that makes things work with valgrind too.
3295
3296 2007-12-30  Thijs Vermeir  <thijsvermeir@gmail.com>
3297
3298         * gst/gstdebugutils.c:
3299           Add warning when failed to open file for writing.
3300
3301 2007-12-28  Tim-Philipp Müller  <tim at centricular dot net>
3302
3303         Based on patch by: Laurent Glayal  <spglegle yahoo fr>
3304
3305         * gst/gstvalue.c: (gst_value_is_fixed):
3306           Optimisation: bail out of the loop as early as possible (#500143).
3307
3308 2007-12-28  Tim-Philipp Müller  <tim at centricular dot net>
3309
3310         * gst/gstcaps.c: (gst_caps_to_string):
3311         * gst/gstinfo.c: (gst_debug_construct_term_color):
3312         * gst/gstparse.c: (gst_parse_launchv):
3313         * gst/gstutils.c: (gst_util_dump_mem):
3314         * gst/gstvalue.c: (gst_value_serialize_any_list),
3315           (gst_value_transform_any_list_string):
3316           Bunch of gratuitous nano-optimisations.
3317
3318 2007-12-28  Tim-Philipp Müller  <tim at centricular dot net>
3319
3320         * tests/check/generic/sinks.c: (async_done_func),
3321           (async_done_eos_func):
3322           Fix leak in unit test (bus sync handler must unref the message
3323           if it returns GST_BUS_DROP). Don't fiddle with the default test
3324           timeout, this is smaller than the current preconfigured value
3325           via CK_DEFAULT_TIMEOUT, and also breaks things with valgrind
3326           because it overrides the value specified in CK_DEFAULT_TIMEOUT.
3327
3328 2007-12-24  Wim Taymans  <wim.taymans@collabora.co.uk>
3329
3330         Based on Patch by: Laurent Glayal <spglegle at yahoo dot fr>
3331
3332         * configure.ac:
3333         Check for stdio_ext.h for the filesink changes.
3334
3335         * plugins/elements/gstfilesink.c: (buffer_mode_get_type),
3336         (gst_file_sink_class_init), (gst_file_sink_init),
3337         (gst_file_sink_dispose), (gst_file_sink_set_property),
3338         (gst_file_sink_get_property), (gst_file_sink_open_file),
3339         (gst_file_sink_close_file):
3340         * plugins/elements/gstfilesink.h:
3341         Add two properties to control the buffering mode and size.
3342         API: GstFileSink::buffer-mode
3343         API: GstFileSink::buffer-size
3344         Fixes #500150.
3345
3346 2007-12-24  Wim Taymans  <wim.taymans@collabora.co.uk>
3347
3348         * gst/gstsystemclock.c: (gst_system_clock_id_wait_jitter_unlocked):
3349         Add some more docs to explain why a FIXME was wrongly added. 
3350
3351 2007-12-22  Sebastian Dröge  <slomo@circular-chaos.org>
3352
3353         * gst/gstobject.c:
3354           Fix typo in the gst_object_{ref,unref} documentation.
3355
3356 2007-12-21  Tim-Philipp Müller  <tim at centricular dot net>
3357
3358         * tests/check/libs/controller.c:
3359         * tests/check/libs/typefindhelper.c:
3360         * tests/check/pipelines/parse-launch.c:
3361           Don't use GST_PLUGIN_DEFINE_STATIC, it is not portable and is
3362           going to be deprecated (see #498924).
3363
3364 2007-12-21  Tim-Philipp Müller  <tim at centricular dot net>
3365
3366         * gst/gsttypefind.c: (gst_type_find_register):
3367           Make gst_type_find_register work for static typefind functions,
3368           ie. allow passing plugin == NULL (prerequisite for #498924).
3369
3370         * gst/gstelementfactory.c: (gst_element_register):
3371           Small docs addition.
3372
3373 2007-12-21  Wim Taymans  <wim.taymans@collabora.co.uk>
3374
3375         * gst/gstpad.c: (gst_pad_dispose):
3376         Really unlink the peer pad instead of setting the peer pointer to NULL
3377         when we dispose the pad.
3378         This correctly calls the unlink functions and makes sure that the peer
3379         does not have a handle to invalid memory. See #504671.
3380
3381         * tests/check/gst/gstpad.c: (GST_START_TEST), (gst_pad_suite):
3382         Add testsuite for above case.
3383
3384 2007-12-20  Tim-Philipp Müller  <tim at centricular dot net>
3385
3386         Patch by: Peter Kjellerstedt <pkj axis com>
3387
3388         * libs/gst/check/gstcheck.h:
3389           Fix detection of the check version we're compiling against (would
3390           otherwise break if check goes v0.10.0); correctly report the
3391           name of the failed test again in case of failure, instead of
3392           just 'tf' (fixes #504499).
3393
3394 2007-12-19  Wim Taymans  <wim.taymans@collabora.co.uk>
3395
3396         * libs/gst/base/gstbasesrc.c: (gst_base_src_send_event),
3397         (gst_base_src_get_range), (gst_base_src_pad_get_range),
3398         (gst_base_src_loop), (gst_base_src_set_flushing),
3399         (gst_base_src_change_state):
3400         Allow sending EOS to the source to make it send out an EOS event from
3401         the streaming thread.
3402         Update docs and deprecate the old NULL/READY shutdown method.
3403
3404         * tests/check/libs/basesrc.c: (GST_START_TEST),
3405         (gst_basesrc_suite):
3406         Add unit test for controlled shutdown.
3407
3408 2007-12-19  Wim Taymans  <wim.taymans@collabora.co.uk>
3409
3410         * docs/design/part-synchronisation.txt:
3411         Small updates.
3412
3413         * gst/gstsegment.c: (gst_segment_set_seek),
3414         (gst_segment_set_newsegment_full), (gst_segment_to_stream_time),
3415         (gst_segment_to_running_time):
3416         The seek format can be different from the segment format when the start
3417         and stop values are not to be updated, when we only do a rate change for
3418         example.
3419
3420         * tests/check/gst/gstsegment.c: (GST_START_TEST),
3421         (gst_segment_suite):
3422         Add a testcase for the rate-only seeks, checking that the format is
3423         correctly ignored when start and stop are not updated.
3424
3425 2007-12-18  Sebastian Dröge  <slomo@circular-chaos.org>
3426
3427         Patch by: Matthias Bolte <photon at mail dot upb dot de>
3428
3429         * win32/vs8/grammar.vcproj:
3430         * win32/vs8/libgstcontroller.vcproj:
3431         * win32/vs8/libgstreamer.vcproj:
3432         Fix compilation with VS8 and include some missing files.
3433
3434 2007-12-18  Tim-Philipp Müller  <tim at centricular dot net>
3435
3436         * gst/gsttaglist.c:
3437           Small docs addition: mention that the strings returned by
3438           gst_tag_list_get_string*() are in UTF-8 encoding.
3439
3440 2007-12-17  Tim-Philipp Müller  <tim at centricular dot net>
3441
3442         * Makefile.am:
3443           The check-exports stuff moved to common/win32.mak, so include that.
3444
3445 2007-12-17  Wim Taymans  <wim.taymans@collabora.co.uk>
3446
3447         * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
3448         (gst_base_src_perform_seek), (gst_base_src_get_range),
3449         (gst_base_src_set_playing), (gst_base_src_change_state):
3450         Make _wait_playing() not check any variables so that we can call this
3451         function from subclasses. Move the checks elsewhere similar to
3452         _wait_preroll() in basesink.
3453         Add some debugging.
3454         Only signal the LIVE cond when we are going back to PLAYING.
3455
3456 2007-12-16  Tim-Philipp Müller  <tim at centricular dot net>
3457
3458         * gst/gstregistrybinary.c: (gst_registry_binary_write_cache):
3459           Use g_remove() and g_rename(). Check result of g_rename(), and
3460           don't leak the open file descriptor if we error out when writing.
3461
3462         * gst/gstregistryxml.c: (load_plugin), (gst_registry_xml_write_cache):
3463           Must check the return value of close() after writing out the new
3464           registry file.  Sometimes write problems such as out-of-diskspace
3465           are only reported when the file is closed and not already during
3466           the write.  This may have caused partial/broken registry files in
3467           some rare circumstances. Should fix #503675.
3468
3469 2007-12-16  Edward Hervey  <edward.hervey@collabora.co.uk>
3470
3471         * docs/gst/.cvsignore:
3472         * docs/libs/.cvsignore:
3473         * docs/plugins/.cvsignore:
3474         Ignore files generated by new common/* modifications
3475
3476 2007-12-15  Stefan Kost  <ensonic@users.sf.net>
3477
3478         * win32/common/libgstbase.def:
3479           Yes, you can also have a <TAB> if you want.
3480
3481 2007-12-15  Stefan Kost  <ensonic@users.sf.net>
3482
3483         * win32/common/libgstbase.def:
3484           Add new basetransform API to win export file.
3485
3486 2007-12-15  Stefan Kost  <ensonic@users.sf.net>
3487
3488         * tests/check/gst/gstbin.c:
3489           Adjust the test to the refcount change two days ago.
3490
3491 2007-12-14  David Schleef  <ds@schleef.org>
3492
3493         * docs/faq/getting.xml: Fix typo.
3494
3495 2007-12-14  Sebastian Dröge  <slomo@circular-chaos.org>
3496
3497         * docs/libs/gstreamer-libs-sections.txt:
3498         * libs/gst/base/gstbasetransform.c: (gst_base_transform_init),
3499           (gst_base_transform_prepare_output_buffer),
3500           (gst_base_transform_set_gap_aware):
3501         * libs/gst/base/gstbasetransform.h:
3502           API: Add gst_base_transform_set_gap_aware() to control whether
3503           the element correctly handles GST_BUFFER_FLAG_GAP or shouldn't
3504           get buffers with this flag at all. Fixes #503231.
3505
3506 2007-12-13  Stefan Kost  <ensonic@users.sf.net>
3507
3508         * libs/gst/base/gstbasesink.c:
3509         * libs/gst/base/gstbasesrc.c:
3510         * libs/gst/base/gstbasetransform.c:
3511           Replace gst_pad_get_parent by GST_OBJECT_PARENT inside streaming
3512           thread. Correct log message in gstbasesrc.c.
3513
3514 2007-12-13  Tim-Philipp Müller  <tim at centricular dot net>
3515
3516         * gst/gstutils.c: (element_find_unconnected_pad):
3517           Fix possible compiler warning (#503417).
3518
3519 2007-12-13  Tim-Philipp Müller  <tim at centricular dot net>
3520
3521         * gst/gstobject.c: (gst_object_dispatch_properties_changed):
3522           Don't use GST_CAT_EVENT here for logging, it makes no sense.
3523
3524 2007-12-13  Sebastian Dröge  <slomo@circular-chaos.org>
3525
3526         * tools/gst-inspect.c: (print_element_properties_info):
3527           Add support for GstFraction properties.
3528
3529 2007-12-12  Tim-Philipp Müller  <tim at centricular dot net>
3530
3531         * Makefile.am:
3532           Add check-exports target and run it as part of 'make check'
3533           (see #499140 and #493983).
3534
3535         * gst/gst_private.h:
3536         * gst/gstelementfactory.h:
3537         * gst/gstghostpad.c: (gst_proxy_pad_class_init):
3538         * gst/gstinfo.c: (_priv_gst_in_valgrind), (_gst_debug_init),
3539           (_priv_gst_in_valgrind):
3540         * gst/gstinfo.h: (GstLogFunction):
3541         * gst/gsttypefind.c: (type_find_debug), (GST_CAT_DEFAULT),
3542           (gst_type_find_register):
3543         * gst/gsttypefindfactory.c: (type_find_debug), (GST_CAT_DEFAULT),
3544           (gst_type_find_factory_get_type):
3545         * libs/gst/controller/gstcontroller.c: (GST_CAT_DEFAULT),
3546           (GST_CAT_DEFAULT), (parent_class), (priv_gst_controller_key),
3547           (gst_controller_new_valist), (gst_controller_new_list),
3548           (_gst_controller_dispose), (_gst_controller_class_init):
3549         * libs/gst/controller/gstcontrolsource.c: (GST_CAT_DEFAULT):
3550         * libs/gst/controller/gsthelper.c: (GST_CAT_DEFAULT),
3551           (GST_CAT_DEFAULT), (gst_object_uncontrol_properties),
3552           (gst_object_get_controller), (gst_object_set_controller),
3553           (gst_object_suggest_next_sync), (gst_object_sync_values),
3554           (gst_object_set_control_source), (gst_object_get_control_source),
3555           (gst_object_get_value_arrays), (gst_object_get_value_array),
3556           (gst_object_get_control_rate), (gst_object_set_control_rate):
3557         * libs/gst/controller/gstinterpolation.c: (GST_CAT_DEFAULT):
3558         * libs/gst/controller/lib.c: (GST_CAT_DEFAULT):
3559           Make some functions that should be static static; rename some
3560           private symbols so that they don't get exported; add some FIXME
3561           comments so we can move accidentally exported functions into
3562           our private section in 0.11.
3563
3564         * win32/common/libgstreamer.def:
3565           Add gst_utils_get_timestamp().
3566
3567 2007-12-12  Stefan Kost  <ensonic@users.sf.net>
3568
3569         * gst/gstvalue.c:
3570         * gst/gstvalue.h:
3571           Add more missing "Since:" tags to docs.
3572
3573 2007-12-12  Stefan Kost  <ensonic@users.sf.net>
3574
3575         * gst/gstutils.c:
3576           Add mising "Since:" to docs.
3577
3578 2007-12-11  Stefan Kost  <ensonic@users.sf.net>
3579
3580         * gst/gstplugin.c:
3581           Include "glib-compat-private.h" to fix the build on system with
3582           glib < 2.10. Fixes #503131.
3583
3584 2007-12-11  Stefan Kost  <ensonic@users.sf.net>
3585
3586         * gst/gstutils.c:
3587         * gst/gstutils.h:
3588           Actually its not PURE as it gets the time from elsewhere.
3589
3590 2007-12-11  Stefan Kost  <ensonic@users.sf.net>
3591
3592         * docs/gst/gstreamer-sections.txt:
3593         * gst/gstclock.h:
3594         * gst/gstdebugutils.c:
3595         * gst/gstinfo.c:
3596         * gst/gstutils.c:
3597         * gst/gstutils.h:
3598         * libs/gst/base/gstbasesink.c:
3599         * tools/gst-launch.c:
3600           Change GST_GET_TIMESTAMP into gst_util_get_timestamp and replace all
3601           uses as we don't have HAVE_POSIX_TIMERS in public headers.
3602           Thanks Tim for spotting.
3603           API: gst_util_get_timestamp
3604
3605 2007-12-09  Sebastian Dröge  <slomo@circular-chaos.org>
3606
3607         * configure.ac:
3608           Don't define GST_DISABLE_DEPRECATED for releases. Fixes #498181.
3609
3610 2007-12-08  Tim-Philipp Müller  <tim at centricular dot net>
3611
3612         * gst/gststructure.c: (gst_structure_validate_name),
3613           (gst_structure_new_valist), (gst_structure_parse_value),
3614           (gst_structure_from_string):
3615           Don't crash in _from_string() if the structure name is not valid
3616           (fixes #501560).  Allow structure names to start with a number
3617           again (this apparently broke the ubuntu codec installer).
3618
3619         * tests/check/gst/gststructure.c: (GST_START_TEST), (GST_START_TEST),
3620           (GST_START_TEST):
3621           Add unit test for the crash; update unit tests for new behaviour.
3622
3623 2007-12-03  Wim Taymans  <wim.taymans@gmail.com>
3624
3625         * gst/gstutils.c:
3626         Clarify gst_element_get_compatible_pad() documentation.
3627         Fixes #500919.
3628
3629 2007-12-02  Sebastian Dröge  <slomo@circular-chaos.org>
3630
3631         * tests/check/Makefile.am:
3632           Don't forget to dist {gst,libs}/struct_hppa.h.
3633
3634 2007-11-28  Stefan Kost  <ensonic@users.sf.net>
3635
3636         * libs/gst/base/gstbasesink.c:
3637           Use new API to get elapsed time.
3638
3639 2007-11-28  Stefan Kost  <ensonic@users.sf.net>
3640
3641         * gst/gstdebugutils.c:
3642         * gst/gstinfo.c:
3643           Fix wrong order of args in GST_CLOCK_DIFF() usage.
3644
3645         * tools/gst-launch.c:
3646           Use new API to get elapsed time.
3647
3648 2007-11-28  Stefan Kost  <ensonic@users.sf.net>
3649
3650         * docs/gst/gstreamer-sections.txt:
3651         * gst/gstclock.h:
3652         * gst/gstdebugutils.c:
3653         * gst/gstinfo.c:
3654           Rename new API + ChangeLog surgery to remove old name from last entry..
3655
3656 2007-11-28  Stefan Kost  <ensonic@users.sf.net>
3657
3658         * docs/gst/gstreamer-sections.txt:
3659         * gst/gstclock.h:
3660         * gst/gstdebugutils.c:
3661         * gst/gstinfo.c:
3662           Now hide the different clock stuff behind a macro.
3663
3664 2007-11-28  Stefan Kost  <ensonic@users.sf.net>
3665
3666         * configure.ac:
3667         * gst/gstdebugutils.c:
3668         * gst/gstinfo.c:
3669           Apply the posix-timer check from #361155. Conditionally use the posix
3670           timer for logging. This gives better timestamp precission, less
3671           overhead and no ntp jitter.
3672
3673 2007-11-28  Sebastian Dröge  <slomo@circular-chaos.org>
3674
3675         * gst/gstminiobject.c: (gst_mini_object_get_type),
3676         (gst_mini_object_class_init), (gst_mini_object_copy_default),
3677         (gst_mini_object_finalize), (gst_mini_object_copy),
3678         (gst_mini_object_is_writable), (gst_mini_object_make_writable),
3679         (gst_mini_object_replace), (param_mini_object_validate),
3680         (gst_param_spec_mini_object_get_type):
3681         Some cleanup and checking against invalid function parameters.
3682
3683 2007-11-28  Wim Taymans  <wim.taymans@gmail.com>
3684
3685         * docs/gst/gstreamer-sections.txt:
3686         * gst/gstclock.h:
3687         * tests/check/gst/gstsystemclock.c: (GST_START_TEST),
3688         (gst_systemclock_suite):
3689         Start merging in the easy bits of #361155, the monotonic clock patch.
3690         This one adds a few handy macros with docs and a testsuite.
3691
3692 2007-11-27  Wim Taymans  <wim.taymans@gmail.com>
3693
3694         * plugins/elements/gstfilesink.c: (gst_file_sink_event):
3695         Be a bit smarter when seeking, like, don't try to do a seek when it's
3696         not needed. This avoids errors when the file is not seekable.
3697         Fixes #499771.
3698
3699 2007-11-26  Stefan Kost  <ensonic@users.sf.net>
3700
3701         * docs/gst/gstreamer-docs.sgml:
3702         * docs/gst/gstreamer-sections.txt:
3703         * docs/gst/gstreamer.types.in:
3704         * gst/Makefile.am:
3705         * gst/gst.h:
3706         * gst/gstpreset.c:
3707         * gst/gstpreset.h:
3708         * plugins/elements/gstqueue.c:
3709           Due to popular request remove preset interface again. :-(.
3710
3711 2007-11-22  Stefan Kost  <ensonic@users.sf.net>
3712
3713         * tools/gst-inspect.c:
3714           Print 'default value' for enums and flags too.
3715
3716 2007-11-22  Stefan Kost  <ensonic@users.sf.net>
3717
3718         * docs/random/ensonic/profiling.txt:
3719           More ideas.
3720
3721         * gst/gstbin.c:
3722           Fix typo and give better log output.
3723
3724         * gst/gstdebugutils.c:
3725         * gst/gstdebugutils.h:
3726           More ideas, make graphs a bit smaller and fix param name in macro.
3727
3728 2007-11-22  Stefan Kost  <ensonic@users.sf.net>
3729
3730         * gst/gstpreset.c:
3731           Try harder to use the return value from fgets().
3732
3733 2007-11-21  Stefan Kost  <ensonic@users.sf.net>
3734
3735         * gst/gstpreset.c:
3736           For theses two fgets we handle the error below.
3737
3738 2007-11-21  Wim Taymans  <wim.taymans@gmail.com>
3739
3740         * libs/gst/base/gstbasesink.c: (gst_base_sink_send_event):
3741         Only send upstream events upstream. Fixes #498746.
3742
3743 2007-11-21  Wim Taymans  <wim.taymans@gmail.com>
3744
3745         Patch by: Laurent Glayal <spglegle at yahoo dot fr>
3746
3747         * plugins/elements/gstidentity.c: (gst_identity_class_init),
3748         (gst_identity_init), (gst_identity_transform_ip),
3749         (gst_identity_set_property), (gst_identity_get_property):
3750         * plugins/elements/gstidentity.h:
3751         Add property to disable handoff signal emission. Fixes #498694.
3752         API: GstIdentity::signal-handoffs
3753
3754 2007-11-21  Julien Moutte  <julien@fluendo.com>
3755
3756         * docs/faq/gst-uninstalled: Yet another missing library for the
3757         uninstalled script (fft)
3758
3759 2007-11-21  Jan Schmidt  <jan.schmidt@sun.com>
3760
3761         * docs/faq/developing.xml:
3762         Add a question about how to submit new translations.
3763
3764         * docs/random/release:
3765         Update the contact email address for the Translation Project
3766
3767         * plugins/elements/gstfdsrc.c:
3768         The parent_class for fdsrc is pushsrc, not GstElement.
3769
3770 2007-11-20  Stefan Kost  <ensonic@users.sf.net>
3771
3772         * gst/gstpreset.c:
3773           Plug a leak and fix saving.
3774
3775 2007-11-20  Sebastian Dröge  <slomo@circular-chaos.org>
3776
3777         * docs/gst/gstreamer-sections.txt:
3778         Add new gst_preset__get_property_names() function to the docs
3779         to fix the build.
3780
3781 2007-11-20  Stefan Kost  <ensonic@users.sf.net>
3782
3783         * gst/gstpreset.c:
3784         * gst/gstpreset.h:
3785           Change _get_preset_names API to return a strv with copies. Add
3786           _get_property_names to allow implementations to filter and provide
3787           good default implementation.
3788
3789 2007-11-20  Julien MOUTTE  <julien@moutte.net>
3790
3791         * docs/faq/gst-uninstalled: Add another library to the uninstalled
3792         script (sdp).
3793
3794 2007-11-19  Stefan Kost  <ensonic@users.sf.net>
3795
3796         * gst/gstpreset.c:
3797           More cleanups, docs, and TODOs from comments that now slowly come in.
3798
3799 2007-11-19  Julien MOUTTE  <julien@moutte.net>
3800
3801         * docs/faq/gst-uninstalled: Add new base libraries in the LD 
3802         search path.
3803
3804 2007-11-19  Stefan Kost  <ensonic@users.sf.net>
3805
3806         * gst/gstpreset.c:
3807           Fix bogus warning and make the property type specific code more
3808           similar.
3809
3810 2007-11-19  Julien MOUTTE  <julien@moutte.net>
3811
3812         * gst/gstpreset.c: (gst_preset_default_create_preset): Make
3813         it build on OS X.
3814
3815 2007-11-19  Wim Taymans  <wim.taymans@gmail.com>
3816
3817         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
3818         (gst_bin_add_func), (gst_bin_remove_func),
3819         (gst_bin_change_state_func), (gst_bin_continue_func):
3820         Change email, cleanups add some more debug and comments.
3821         Also set bus and clock on new elements when the pipeline was in error.
3822
3823 2007-11-18  Stefan Kost  <ensonic@users.sf.net>
3824
3825         * gst/gstbin.c:
3826         * gst/gstdebugutils.c:
3827           Fix build with --disable-gst-debug. Fixes #497859.
3828           Spotted by Sameer Naik.
3829
3830 2007-11-17  Stefan Kost  <ensonic@users.sf.net>
3831
3832         * gst/gstevent.c:
3833           Little documentation improvment.
3834
3835         * gst/gstpreset.c:
3836           More TODO cleanups. Remove c++ comments.
3837
3838         * libs/gst/controller/gstcontroller.c:
3839           Add TODO and use quark from static string.
3840
3841         * tests/check/gst/gstmessage.c:
3842         * tests/check/gst/gststructure.c:
3843           Use quark from static string.
3844
3845 2007-11-17  Stefan Kost  <ensonic@users.sf.net>
3846
3847         * gst/gstpreset.c:
3848           Add some comments and TODOs.
3849
3850         * gst/gstpreset.h:
3851           Add padding for future changes.
3852
3853         * plugins/elements/gstqueue.c:
3854           Implement the iface.    
3855
3856 2007-11-17  Stefan Kost  <ensonic@users.sf.net>
3857
3858         * docs/gst/gstreamer-docs.sgml:
3859         * docs/gst/gstreamer-sections.txt:
3860         * docs/gst/gstreamer.types.in:
3861         * gst/Makefile.am:
3862         * gst/gst.h:
3863         * gst/gstpreset.c:
3864         * gst/gstpreset.h:
3865           Add the preset interface (Fixes #396779). Do some doc cleanups along.
3866
3867 2007-11-16  Jan Schmidt  <jan.schmidt@sun.com>
3868
3869         * configure.ac:
3870
3871         Back to CVS
3872
3873 === release 0.10.15 ===
3874
3875 2007-11-15  Jan Schmidt <jan.schmidt@sun.com>
3876
3877         * configure.ac:
3878           releasing 0.10.15, "October"
3879
3880 2007-11-14  Jan Schmidt  <jan.schmidt@sun.com>
3881
3882         * win32/vs6/libgstreamer.dsp:
3883         Convert line endings back to DOS.
3884
3885 2007-11-13  Stefan Kost  <ensonic@users.sf.net>
3886
3887         * docs/design/draft-tagreading.txt:
3888         * docs/random/ensonic/profiling.txt:
3889         Update fast tagreading draft and performance profiling ideas.
3890
3891 2007-11-09  Wim Taymans  <wim.taymans@gmail.com>
3892
3893         * libs/gst/base/gstbasesink.c: (gst_base_sink_set_last_buffer):
3894         Don't hold the object lock when unreffing a buffer because it could
3895         cause a deadlock when the finalize function wants to grab the object
3896         lock too. Fixes #495133.
3897
3898 2007-11-09  Wim Taymans  <wim.taymans@gmail.com>
3899
3900         * gst/gstsegment.c: (gst_segment_set_newsegment_full),
3901         (gst_segment_to_stream_time), (gst_segment_to_running_time):
3902         Also accumulate time correctly when doing reverse playback. Fixes
3903         #488201,
3904         When converting to running and stream time, use default values for
3905         start/stop/time/accum when comparing different formats. Fixes #494245.
3906
3907         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
3908         Do running/stream time in TIME format.
3909
3910         * tests/check/gst/gstsegment.c: (GST_START_TEST),
3911         (gst_segment_suite):
3912         2 new unit tests for segment accumulation.
3913
3914 2007-11-07  Tim-Philipp Müller  <tim at centricular dot net>
3915
3916         * gst/gst.c: (init_pre):
3917         * gst/gstdebugutils.c: (priv_gst_dump_dot_dir), (debug_dump_element),
3918           (_gst_debug_bin_to_dot_file):
3919           Move getenv() back into gst_init, so everyone can live happily
3920           ever after. Make sure the symbol isn't exported though.
3921
3922 2007-11-06  Tim-Philipp Müller  <tim at centricular dot net>
3923
3924         Patch by: Sebastien Moutte  <sebastien moutte net>
3925
3926         * win32/common/gstenumtypes.c:
3927         * win32/common/gstenumtypes.h:
3928           Update enum types.
3929
3930         * win32/vs6/libgstreamer.dsp:
3931           Update vs6 project files (#494343).
3932
3933 2007-11-06  Wim Taymans  <wim.taymans@gmail.com>
3934
3935         * libs/gst/base/gstbasesrc.c: (gst_base_src_default_query),
3936         (gst_base_src_perform_seek), (gst_base_src_default_event),
3937         (gst_base_src_set_flushing), (gst_base_src_activate_push),
3938         (gst_base_src_activate_pull):
3939         Unify flushing code, remove some old unlock code that is no longer used.
3940         Take the streaming lock when seeking to avoid races. Fixes #492729.
3941         Added some more comments.
3942
3943 2007-11-06  Tim-Philipp Müller  <tim at centricular dot net>
3944
3945         * gst/gst.c: (_gst_disable_segtrap):
3946           Make  _gst_disable_segtrap static, it's only used in gstplugin.c and
3947           we can use gst_segtrap_is_enabled() there now that we have that API.
3948           Move _gst_debug_dump_dot_dir into gstdebugutils.c, there's no reason
3949           to do the getenv here (and export the variable).
3950
3951         * gst/gstdebugutils.c: (debug_dump_element),
3952           (_gst_debug_bin_to_dot_file), (_gst_debug_bin_to_dot_file_with_ts):
3953           Don't use VLAs which is a C99ism and throws off MSVC (#493983).
3954
3955         * gst/gstinfo.c: (_priv_gst_info_start_time), (_gst_debug_init),
3956           (gst_debug_log_default):
3957           Rename _gst_info_start_time to priv_gst_info_start_time so it
3958           doesn't get exported (was never in any header).
3959
3960         * gst/gstplugin.c: (_gst_plugin_fault_handler_setup),
3961           (gst_plugin_loading_mutex):
3962           Make static mutex gst_plugin_loading_mutex really static (was never
3963           in any header), and use gst_segtrap_is_enabled() instead of
3964           _gst_disable_segtrap.
3965
3966         * gst/gsttrace.c: (_gst_trace_default):
3967           Make local _gst_trace_default static (was never in any header).
3968
3969 2007-11-06  Tim-Philipp Müller  <tim at centricular dot net>
3970
3971         Patch by: Ole André Vadla Ravnås  <ole.andre.ravnas@tandberg.com>
3972
3973         * win32/common/libgstbase.def:
3974         * win32/common/libgstcontroller.def:
3975         * win32/common/libgstdataprotocol.def:
3976         * win32/common/libgstnet.def:
3977         * win32/common/libgstreamer.def:
3978           Add more missing symbols, remove some duplicates, and sort
3979           as the 'sort' command sorts it (partially fixes #493983).
3980
3981 2007-11-06  Wim Taymans  <wim.taymans@gmail.com>
3982
3983         * gst/gstelement.c: (gst_element_set_state_func):
3984         Only change the state cookie if a different state was set on the
3985         element. See #492729.
3986
3987 2007-11-06  Tim-Philipp Müller  <tim at centricular dot net>
3988
3989         * gst/gstvalue.c:
3990           Remove unused and uninitialised type variables that were still
3991           exported for some reason (they were never in any header files
3992           though).
3993
3994 2007-11-06  Wim Taymans  <wim.taymans@gmail.com>
3995
3996         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
3997         (gst_base_sink_do_sync), (gst_base_sink_preroll_object),
3998         (gst_base_sink_event), (gst_base_sink_get_position_last),
3999         (gst_base_sink_get_position_paused), (gst_base_sink_get_position),
4000         (gst_base_sink_change_state):
4001         Don't try to report a 0 position when we don't know, return -1 and FALSE
4002         instead. This mostly happens when we are prerolling.
4003         Make sure we can report the right position before we post the ASYNC_DONE
4004         message so that a message handler can query position without races.
4005
4006         * tests/check/generic/sinks.c: (send_eos), (GST_START_TEST),
4007         (async_done_handoff), (async_done_func), (send_buffer),
4008         (async_done_eos_func), (gst_sinks_suite):
4009         Add two tests for the above.
4010
4011 2007-11-06  Wim Taymans  <wim.taymans@gmail.com>
4012
4013         * MAINTAINERS:
4014         Update with new email address.
4015
4016         * docs/design/part-TODO.txt:
4017         Add some more info about future pad-block and negotiation changes.
4018
4019         * docs/design/part-buffering.txt:
4020         Add some ideas about buffering reporting.
4021
4022 2007-11-06  Jan Schmidt  <jan.schmidt@sun.com>
4023
4024         * tests/check/gst/gstobject.c:
4025         Disable silly racy test that always fails on this combination of CPU
4026         and kernel.
4027
4028 2007-11-03  Tim-Philipp Müller  <tim at centricular dot net>
4029
4030         Patch by: Murray Cumming  <murrayc@murrayc.com>
4031
4032         * gst/gstobject.c:
4033           Corrected the registration of the parent-set and parent-unset
4034           signals: The parameter is a GstObject, not a GObject (#493134).
4035
4036 2007-11-02  Tim-Philipp Müller  <tim at centricular dot net>
4037
4038         * gst/gst_private.h:
4039         * gst/gstbuffer.h:
4040         * gst/gstevent.h:
4041         * gst/gstformat.h:
4042         * gst/gstmessage.h:
4043         * gst/gstplugin.h:
4044         * gst/gstquery.h:
4045         * gst/gsttaglist.h:
4046         * gst/gstvalue.h:
4047           Move declaration of private _gst_foo_initialize() functions into
4048           our private header file where they should have been all along.
4049
4050 2007-11-02  Tim-Philipp Müller  <tim at centricular dot net>
4051
4052         * docs/plugins/gstreamer-plugins-sections.txt:
4053         * gst/gstdebugutils.h:
4054         * gst/gstxml.h:
4055         * plugins/elements/gstqueue.c:
4056           gtk-doc fixes; trailing-comma-in-enum fix.
4057
4058 2007-11-02  Tim-Philipp Müller  <tim at centricular dot net>
4059
4060         * gst/gst.c: (gst_deinit):
4061           Clean up on deinit (not the external ones though, doesn't seem to be
4062           needed for some reason).
4063
4064 2007-11-01  Tim-Philipp Müller  <tim at centricular dot net>
4065
4066         * gst/gstinfo.h: (GST_DEBUG_CATEGORY_EXTERN):
4067           Remove __declspec(dllimport) for MSVC that was copied over into core
4068           from a plugin, obviously without ever having been tested (note the
4069           single underscore in _declspec in the initial commit), and that doesn't
4070           really make sense.  See #492077.
4071
4072 2007-11-01  Tim-Philipp Müller  <tim at centricular dot net>
4073
4074         * gst/gst.c: (init_post):
4075         * gst/gstevent.c: (_gst_event_initialize):
4076         * gst/gstquery.c: (_gst_query_initialize):
4077         * libs/gst/dataprotocol/dataprotocol.c (gst_dp_init):
4078           g_type_class_ref() other types as well, see #349410 and #64764.
4079
4080         * gst/gstbuffer.c: (_gst_buffer_initialize):
4081         * gst/gstmessage.c: (_gst_message_initialize):
4082           Simplify existing g_type_class_ref().
4083
4084 2007-11-01  Tim-Philipp Müller  <tim at centricular dot net>
4085
4086         * gst/gstformat.c: (_gst_format_initialize):
4087           g_type_class_ref() our GstFormat type to make sure we avoid the
4088           thread-unsafe bits of the GObject/GType system, ie. bug #349410 and
4089           bug #64764. Should fix intermittent tee unit test failures (#474823).
4090
4091 2007-11-01  Tim-Philipp Müller  <tim at centricular dot net>
4092
4093         * tests/check/elements/tee.c: (test_num_buffers):
4094           Simplify, simplify, simplify - or not.  Rewrite unit test
4095           not to use gst_parse_launch(); allow N sub-streams. Increasing
4096           the number of sub-streams seems to reproduce #474823 more easily.
4097
4098 2007-10-31  Tim-Philipp Müller  <tim at centricular dot net>
4099
4100         Patch by: Ole André Vadla Ravnås  <ole.andre.ravnas@tandberg.com>
4101
4102         * gst/gsttrace.c:
4103         * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_new):
4104         * libs/gst/net/gstnettimepacket.c: (gst_net_time_packet_send):
4105         * libs/gst/net/gstnettimeprovider.c: (gst_net_time_provider_new):
4106           Fix a couple of missing includes for MSVC2005 and a C99 issue. Also,
4107           starting with 2.14.0, GLib won't provide a pipe() macro any longer,
4108           so use _pipe() directly (#492077).
4109
4110         * win32/common/dirent.c: (_treaddir):
4111           Add a couple of casts to make it build without warnings with MSVC.
4112
4113         * win32/common/libgstreamer.def:
4114           Add some more symbols that need to be exported.
4115
4116 2007-10-31  Tim-Philipp Müller  <tim at centricular dot net>
4117
4118         * tests/examples/metadata/read-metadata.c: (message_loop):
4119           Use _KEEP as merge mode rather than _KEEP_ALL, so tags
4120           arriving in a second or third tag message are added to
4121           the tag list as well.
4122
4123 2007-10-31  Stefan Kost  <ensonic@users.sf.net>
4124
4125         * libs/gst/base/gstbasesrc.c:
4126           Its "Since:" and not "@Since:". And remove an superflous cast.
4127
4128 2007-10-30  Wim Taymans  <wim.taymans@gmail.com>
4129
4130         * docs/libs/gstreamer-libs-sections.txt:
4131         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
4132         (gst_base_sink_get_last_buffer), (gst_base_sink_set_last_buffer),
4133         (gst_base_sink_get_property), (gst_base_sink_render_object),
4134         (gst_base_sink_preroll_object),
4135         (gst_base_sink_queue_object_unlocked), (gst_base_sink_event),
4136         (gst_base_sink_change_state):
4137         * libs/gst/base/gstbasesink.h:
4138         Add a new last-buffer property that contains the last buffer used in
4139         basesink for preroll or rendering. useful for making snapshots.
4140         API: gst_base_sink_get_last_buffer()
4141         API: GstBaseSink::last-buffer
4142
4143 2007-10-29  Stefan Kost  <ensonic@users.sf.net>
4144
4145         * docs/gst/running.xml:
4146         * gst/gst.c:
4147         * gst/gstdebugutils.c:
4148         * gst/gstdebugutils.h:
4149         * tools/gst-launch.c:
4150           Improve bin graph dumping, by using the envvar to specify a path.
4151           Rename the envvar to GST_DEBUG_DUMP_DOT_DIR.
4152
4153 2007-10-29  Tim-Philipp Müller  <tim at centricular dot net>
4154
4155         * plugins/elements/gsttypefindelement.c:
4156           (gst_type_find_element_handle_event),
4157           (gst_type_find_element_activate):
4158           Post special error message if we can't determine the type of a stream
4159           because it's empty.
4160
4161 2007-10-29  Stefan Kost  <ensonic@users.sf.net>
4162
4163         * docs/gst/running.xml:
4164         * gst/gstdebugutils.c:
4165           Document new env-var. Add one log-line after dumpng a graph.
4166
4167 2007-10-26  Tim-Philipp Müller  <tim at centricular dot net>
4168
4169         * configure.ac:
4170           Ugly hack to put the (recently removed and non-portable, apparently)
4171           -Wl,--export-dynamic back into libgstcheck's LDFLAGS when we're using
4172           GNU ld, because without that 'make check' fails miserably on my debian
4173           stable box.  Someone with more knowledge of linker intricacies and
4174           portability issues than me fix this properly please.
4175
4176 2007-10-25  Wim Taymans  <wim.taymans@gmail.com>
4177
4178         * libs/gst/base/gstbasesink.c: (gst_base_sink_event):
4179         Reset last seen position after flushing so that we don't report the old
4180         position anymore.
4181
4182 2007-10-25  Jan Schmidt  <Jan.Schmidt@sun.com>
4183
4184         * gst/gstelementfactory.c: (gst_element_register):
4185         * gst/gsturi.h:
4186         Patch from Alessandro Decina adding get_type_full and
4187         get_protocols_full private vfuncs to the URIHandler interface
4188         to allow bindings to support creating URI handlers. 
4189         Partially fixes: #339279
4190         API: GstURIHandlerInterface::get_type_full
4191         API: GstURIHandlerInterface::get_protocols_full
4192
4193 2007-10-25  Jan Schmidt  <Jan.Schmidt@sun.com>
4194
4195         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_set_property),
4196         (gst_multi_queue_request_new_pad), (gst_single_queue_flush),
4197         (gst_multi_queue_loop), (gst_multi_queue_sink_activate_push):
4198         Make it so that pads are considered linked until a buffer is pushed
4199         and discovered otherwise. This avoids problems with decodebin2 hanging
4200         after a seek in the filesrc ! decodebin2 name=d ! fakesink d. ! fakesink
4201         case.
4202
4203         Make sure we lock the multiqueue when updating the max-size properties.
4204         
4205         Fix a crash on Solaris in a debug statement in get_request_pad that
4206         passes a NULL string to GST_DEBUG. 
4207
4208         * tests/check/elements/multiqueue.c: (mq_dummypad_chain),
4209         (run_output_order_test):
4210         Fix the test to allow the first buffer on not-linked pads to come out
4211         of sequence while multiqueue discovers that they are not-linked.
4212
4213 2007-10-25  Jan Schmidt  <Jan.Schmidt@sun.com>
4214
4215         * configure.ac:
4216         * libs/gst/check/Makefile.am:
4217         Use a custom export symbol regex for libgstcheck, as it needs
4218         to export symbols that don't match the standard GStreamer gst_*
4219         pattern, and  --export-dynamic is not portable (only works on 
4220         GNU ld)
4221
4222         * libs/gst/check/gstcheck.c: (gst_check_setup_src_pad),
4223         (gst_check_setup_sink_pad):
4224         Make sure to pass a message parameter to the fail_* macros.
4225
4226         * tests/check/gst/gstinfo.c: (GST_START_TEST):
4227         Fix some compiler warnings.
4228
4229 2007-10-25  Tim-Philipp Müller  <tim at centricular dot net>
4230
4231         * tests/check/gst/gststructure.c: (test_to_string):
4232           Disable test that checks that white spaces are not allowed
4233           in structure names or field names, since we need to
4234           support that for now for backwards compatibility reasons.
4235
4236 2007-10-24  Tim-Philipp Müller  <tim at centricular dot net>
4237
4238         * docs/gst/gstreamer-sections.txt:
4239         * gst/gsttaglist.c:
4240         * gst/gsttaglist.h:
4241           API: add GST_TAG_ARTIST_SORTNAME
4242           API: add GST_TAG_ALBUM_SORTNAME
4243           API: add GST_TAG_TITLE_SORTNAME
4244           Add tag variants for sorting (#414539).
4245
4246 2007-10-24  Tim-Philipp Müller  <tim at centricular dot net>
4247
4248         * gst/gststructure.c:
4249           Also allow white space for names so we don't break
4250           backwards compatibility.
4251
4252 2007-10-22  Wim Taymans  <wim.taymans@gmail.com>
4253
4254         * docs/design/part-TODO.txt:
4255         * docs/design/part-segments.txt:
4256         * docs/design/part-streams.txt:
4257         Small updates.
4258
4259 2007-10-22  Edgard Lima  <edgard.lima@indt.org.br>
4260
4261         * docs/gst/gstreamer-sections.txt:
4262          Fixed documentation from my previous commit (added new API add
4263          gst_value_set_structure(), add gst_value_get_structure() and
4264          GST_VALUE_HOLDS_STRUCTURE).
4265
4266 2007-10-22  Stefan Kost  <ensonic@users.sf.net>
4267
4268         * gst/gstdebugutils.c:
4269           Reflow code to fix uninitialized variable warning.
4270
4271 2007-10-22  Edgard Lima  <edgard.lima@indt.org.br>
4272
4273         * gst/gstcaps.c: (gst_caps_to_string),
4274         (gst_caps_from_string_inplace):
4275         * gst/gststructure.c: (gst_structure_get_abbrs),
4276         (gst_structure_to_string), (gst_structure_from_string):
4277         * gst/gstvalue.c: (gst_value_set_structure),
4278         (gst_value_get_structure), (gst_value_serialize_structure),
4279         (gst_value_deserialize_structure), (_gst_value_initialize):
4280         * gst/gstvalue.h:
4281         * tests/check/gst/gststructure.c: (GST_START_TEST),
4282         (gst_structure_suite):
4283         * tests/check/gst/gstvalue.c: (GST_START_TEST):
4284          Added GstStructure to gst_value_table and its related functions.
4285          Changed gst_structure_to_string to print ';' in the end.
4286          Changed gst_caps_to_string to not print ';' beteween its
4287          fields (structures) anymore and remove the lastes ';' from latest
4288          structure. Now it is possible to have nested structures.
4289          In addition, backward compatibilty is assured by accepting '\0' as
4290          end delimiter. Fixes: #487969.
4291          API: add gst_value_set_structure()
4292          API: add gst_value_get_structure()
4293          API: add GST_VALUE_HOLDS_STRUCTURE
4294
4295 2007-10-19  Tim-Philipp Müller  <tim at centricular dot net>
4296
4297         * gst/gstbus.c:
4298           When no GSource callback has been set up, tell developer
4299           to use a function that actually exists.
4300
4301 2007-10-17  Stefan Kost  <ensonic@users.sf.net>
4302
4303         * docs/gst/gstreamer-sections.txt:
4304         * gst/Makefile.am:
4305         * gst/gst.c:
4306         * gst/gst.h:
4307         * gst/gstdebugutils.c:
4308         * gst/gstdebugutils.h:
4309         * gst/gstinfo.c:
4310         * gst/gstinfo.h:
4311         * tools/gst-launch.c:
4312           Allow dumping pipelines as dot graphs. Fixes #456573.
4313
4314 2007-10-16  Tim-Philipp Müller  <tim at centricular dot net>
4315
4316         * gst/gststructure.c:
4317           Allow '+' as well, it can be part of media or mime types
4318           such as image/svg+xml.
4319
4320 2007-10-16  Tim-Philipp Müller  <tim at centricular dot net>
4321
4322         * docs/gst/gstreamer-sections.txt:
4323         * gst/gstbus.c:
4324         * gst/gstbus.h:
4325           API: add gst_bus_pop_filtered
4326           API: add gst_bus_timed_pop_filtered
4327           Two new functions for waiting for specific message types on the
4328           bus for a specified amount of time without iterating any main
4329           loops or main contexts.
4330
4331         * tests/check/gst/gstbus.c:
4332           Some tests for the new functions.
4333
4334 2007-10-16  Tim-Philipp Müller  <tim at centricular dot net>
4335
4336         * docs/libs/gstreamer-libs-sections.txt:
4337           Make gtk-doc ignore stuff it should ignore.
4338
4339 2007-10-16  Tim-Philipp Müller  <tim at centricular dot net>
4340
4341         * libs/gst/check/gstcheck.c:
4342         * libs/gst/check/gstcheck.h:
4343           Allow runtime selection of unit tests to run via the GST_CHECKS
4344           environment variable (test case function names, comma-separated).
4345
4346 2007-10-16  Stefan Kost  <ensonic@users.sf.net>
4347
4348         * gst/gststructure.c:
4349         * tests/check/gst/gststructure.c:
4350           Revert serialisation change and constrain structure-names after
4351           consensus on irc. Update api documentation to reflect the change.
4352
4353 2007-10-16  Stefan Kost  <ensonic@users.sf.net>
4354
4355         * gst/gststructure.c:
4356           Improve serialization and fix tests.
4357
4358         * tests/check/gst/gststructure.c:
4359           Add another test that covers why I actually did the previous structure
4360           change.
4361
4362 2007-10-15  Wim Taymans  <wim.taymans@gmail.com>
4363
4364         * tools/gst-inspect.c: (print_element_info):
4365         Don't crash when inspecting an element.
4366
4367 2007-10-15  Tim-Philipp Müller  <tim at centricular dot net>
4368
4369         * tests/check/gst/gststructure.c:
4370           Add unit test for escaping of structure name when serialising
4371           and deserialising to/from strings.
4372
4373 2007-10-15  Wim Taymans  <wim.taymans@gmail.com>
4374
4375         * plugins/elements/gstmultiqueue.c: (gst_single_queue_push_one),
4376         (gst_single_queue_new):
4377         * plugins/elements/gstqueue.c: (gst_queue_init),
4378         (gst_queue_push_one):
4379         Fix queue negotiation. If acceptcaps unconditionally returns TRUE,
4380         upstream is tricked into thinking it can suggest a format downstream
4381         while downstream does not support that format. The real problem is that
4382         core calls acceptcaps when pushing a buffer with new caps, for which we
4383         do a little workaround by setting the caps on the srcpad ourselves
4384         before pushing the buffer (until this is figured out). Fixes #486758.
4385
4386 2007-10-15  Stefan Kost  <ensonic@users.sf.net>
4387
4388         * gst/gststructure.c:
4389         * gst/gstvalue.c:
4390           Add some more comments and debug output. Quote structure name to fix
4391           deserialisation of some strings.
4392
4393 2007-10-15  Stefan Kost  <ensonic@users.sf.net>
4394
4395         * gst/gstbuffer.h:
4396           Define GST_BUFFER_FLAG_GAP more strictly to enable optimizations based
4397           on it. Fix docs for GST_BUFFER_MALLOCDATA and GstBuffer.malloc_data.
4398
4399 2007-10-15  Stefan Kost  <ensonic@users.sf.net>
4400
4401         * tools/gst-inspect.c:
4402           Save approx. 400 1 byte allocs when printing. Use API to acces element
4403           details.
4404
4405         * tools/gst-run.c:
4406           Avoid a strdup.
4407
4408         * tools/gst-xmlinspect.c:
4409           Use API to acces element details.
4410
4411 2007-10-15  Stefan Kost  <ensonic@users.sf.net>
4412
4413         * gst/gstinfo.c:
4414           Fix some spelling errors.
4415
4416 2007-10-14  Wim Taymans  <wim.taymans@gmail.com>
4417
4418         * gst/gstbin.c: (bin_handle_async_done):
4419         Correctly set the next state if all of our async children commited their
4420         state. This makes sure we can actually cancel the state change in
4421         progress. Fixes a regression in Rhythmbox when seeking.
4422
4423 2007-10-13  Tim-Philipp Müller  <tim at centricular dot net>
4424
4425         * gst/gstbin.c:
4426           Don't shadow local variable.
4427
4428         * gst/gstinfo.c:
4429           Don't shadow global function name.
4430
4431 2007-10-13  Tim-Philipp Müller  <tim at centricular dot net>
4432
4433         * gst/gstelementfactory.c:
4434         * gst/gstpluginfeature.c:
4435         * gst/gstpluginfeature.h:
4436         * gst/gstregistrybinary.c:
4437         * gst/gstregistryxml.c:
4438         * gst/gsttypefind.c:
4439           Use already-interned string for the private GstPluginFeature
4440           plugin_name field.
4441
4442 2007-10-10  Tim-Philipp Müller  <tim at centricular dot net>
4443
4444         * docs/libs/gstreamer-libs-sections.txt:
4445           Add new API to docs; fixes the build.
4446
4447 2007-10-10  Wim Taymans  <wim.taymans@gmail.com>
4448         
4449         Patch inspired by: Benoit Fouet <benoit dot fouet at purplelabs dot com>
4450
4451         * libs/gst/base/gstbasesink.c: (gst_base_sink_wait_eos),
4452         (gst_base_sink_event):
4453         * libs/gst/base/gstbasesink.h:
4454         Add function to wait for EOS, subclasses can use this to correctly wait
4455         for devices to drain before performing the EOS logic. Fixes #485343.
4456         API: gst_base_sink_wait_eos()
4457
4458 2007-10-10  Tim-Philipp Müller  <tim at centricular dot net>
4459
4460         * gst/gstplugin.h:
4461           Cast description string constants in GST_PLUGIN_DEFINE macros
4462           to a (gchar*) to make C++ code using these macros compile
4463           without warning with g++-4.2 (see #462737).  Even if slightly
4464           ugly, this seems preferable to putting the description strings
4465           into the GLib quark table or making the structure member a
4466           const gchar * and doing casts in core code that allocs and
4467           frees these strings, or requiring a cast in the C++ code.
4468
4469 2007-10-09  Tim-Philipp Müller  <tim at centricular dot net>
4470
4471         * gst/gstinfo.h:
4472           Use __FUNCTION__ instead of __PRETTY_FUNCTION__, it's silly
4473           to print the entire class/function signature into the log
4474           file for C++ code.  This only affects C++ code, for C code
4475           everything remains the same.
4476
4477 2007-10-09  Wim Taymans  <wim.taymans@gmail.com>
4478
4479         * gst/gstbin.c: (remove_from_queue):
4480         Work around a problem with pipelines containing (semi)loops until a
4481         proper, more complicated solution is ready. See #475455.
4482
4483 2007-10-09  Tim-Philipp Müller  <tim at centricular dot net>
4484
4485         * gst/gstplugin.c:
4486         * gst/gstplugin.h:
4487         * gst/gstregistrybinary.c:
4488         * gst/gstregistryxml.c:
4489           Put more strings into the GLib quark table. No need to keep
4490           a hundred-something copies of identical version strings,
4491           license strings, package name strings and package origin
4492           strings around. 
4493
4494 2007-10-09  Tim-Philipp Müller  <tim at centricular dot net>
4495
4496         * docs/manual/advanced-dataaccess.xml:
4497           Don't imply that it's okay to unconditionally change
4498           buffer data or buffer metadata in a pad probe callback,
4499           and a bunch of other comments. Fixes #430031.
4500
4501 2007-10-08  Tim-Philipp Müller  <tim at centricular dot net>
4502
4503         * win32/common/gstenumtypes.c:
4504         * win32/common/gstenumtypes.h:
4505         * win32/common/gstversion.h:
4506           Update generated files.
4507
4508 2007-10-08  Tim-Philipp Müller  <tim at centricular dot net>
4509
4510         * docs/manual/advanced-autoplugging.xml:
4511           Prefix section with broken code with a warning (see #342432).
4512
4513 2007-10-08  Tim-Philipp Müller  <tim at centricular dot net>
4514
4515         * docs/manual/appendix-integration.xml:
4516         * docs/manual/basics-init.xml:
4517           Call g_thread_init() before g_option_context_new() to
4518           avoid warnings. Spotted by Ritesh Khadgaray. Fixes #484225.
4519
4520 2007-10-08  Wim Taymans  <wim.taymans@gmail.com>
4521
4522         * libs/gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
4523         (gst_base_sink_queue_object_unlocked),
4524         (gst_base_sink_queue_object), (gst_base_sink_event),
4525         (gst_base_sink_needs_preroll), (gst_base_sink_chain_unlocked):
4526         When we received EOS and are waiting for when to post the EOS message,
4527         our state is prerolled and we should not return ASYNC.
4528         Reorganize some code paths to implement this behavior.
4529
4530         * tests/check/generic/sinks.c: (send_eos), (GST_START_TEST),
4531         (gst_sinks_suite):
4532         Add unit test to verify above EOS fix.
4533
4534 2007-10-08  Wim Taymans  <wim.taymans@gmail.com>
4535
4536         * plugins/elements/gsttypefindelement.c:
4537         (gst_type_find_element_have_type), (gst_type_find_element_init),
4538         (gst_type_find_element_setcaps), (gst_type_find_element_chain):
4539         Move detecting the input caps of the sinkpad to the setcaps function.
4540         This allows us to update the output caps when we receive new input caps
4541         instead of always using the first detected caps.
4542
4543 2007-10-08  Wim Taymans  <wim.taymans@gmail.com>
4544
4545         * libs/gst/base/gstbasesink.c: (gst_base_sink_event),
4546         (gst_base_sink_get_position):
4547         Don't try to preroll non-async elements after a flush.
4548         Subtract latency form clock times when reporting position.
4549
4550 2007-10-05  Wim Taymans  <wim.taymans@gmail.com>
4551
4552         * gst/gstpad.c: (gst_pad_pause_task):
4553         * gst/gstutils.c:
4554         Small comment and documentation update.
4555
4556 2007-10-05  Wim Taymans  <wim.taymans@gmail.com>
4557
4558         * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
4559         (gst_base_src_set_live), (gst_base_src_is_live),
4560         (gst_base_src_query_latency), (gst_base_src_perform_seek),
4561         (gst_base_src_default_event), (gst_base_src_wait),
4562         (gst_base_src_do_sync), (gst_base_src_get_range),
4563         (gst_base_src_pad_get_range), (gst_base_src_loop),
4564         (gst_base_src_unlock), (gst_base_src_unlock_stop),
4565         (gst_base_src_set_flushing), (gst_base_src_set_playing),
4566         (gst_base_src_activate_push), (gst_base_src_activate_pull),
4567         (gst_base_src_change_state):
4568         Rework the locking of basesrc in a similar fashion to basesink. We
4569         basically have one lock (LIVE_LOCK) protecting the dataflow. This allows
4570         us to handle live sources and semi live ones much better.
4571         Simplify flushing.
4572         Fix unlocking when seeking, shutting down and pausing in live sources.
4573
4574 2007-10-05  Wim Taymans  <wim.taymans@gmail.com>
4575
4576         * tests/check/pipelines/simple-launch-lines.c: (run_pipeline):
4577         Fix compilation again.
4578
4579 2007-10-03  Stefan Kost  <ensonic@users.sf.net>
4580
4581         * gst/gstelement.c:
4582           Use meaningful categories for the logs to clean the default one.
4583
4584 2007-10-03  Stefan Kost  <ensonic@users.sf.net>
4585
4586         * tests/check/pipelines/cleanup.c:
4587           Print message name and not just number.
4588
4589 2007-10-03  Stefan Kost  <ensonic@users.sf.net>
4590
4591         * docs/design/draft-tagreading.txt:
4592           Add some more thoughts.
4593
4594 2007-10-03  Stefan Kost  <ensonic@users.sf.net>
4595
4596         * tests/check/pipelines/simple-launch-lines.c:
4597           Print message name and not just number.
4598
4599 2007-10-03  Stefan Kost  <ensonic@users.sf.net>
4600
4601         * libs/gst/base/gsttypefindhelper.c:
4602           Speedup typefinding. This is work in progress (see #459862).
4603
4604 2007-10-03  Stefan Kost  <ensonic@users.sf.net>
4605
4606         * gst/gstplugin.c:
4607           Fix docs that mention 'plugin_desc' instead of 'gst_plugin_desc'.
4608           Spotted by Josep Torra Valles <josep@fluendo.com>.
4609
4610 2007-10-03  Tim-Philipp Müller  <tim at centricular dot net>
4611
4612         * gst/gstclock.h:
4613           Fix up broken GST_CLOCK_FLAGS macro and GstClock docs. The flags
4614           field has moved to GstObject.
4615
4616 2007-10-02  Wim Taymans  <wim.taymans@gmail.com>
4617
4618         * libs/gst/base/gstbasesrc.c: (gst_base_src_do_sync),
4619         (gst_base_src_get_range), (gst_base_src_change_state):
4620         Call unlock for live sources so that they can't get stuck in _create and
4621         produce a buffer before they are set back to PLAYING.
4622
4623 2007-10-02  Edward Hervey  <bilboed@bilboed.com>
4624
4625         * plugins/elements/gstqueue.c: (gst_queue_locked_enqueue),
4626         (gst_queue_locked_dequeue):
4627         Comment the segment-related code... in the PROPER function.
4628         See #482147 and my commit from yesterday.
4629
4630 2007-10-01  Wim Taymans  <wim.taymans@gmail.com>
4631
4632         * libs/gst/base/gstbasesrc.c: (gst_base_src_change_state):
4633         Also initialize the counter that calculates the first timestamp on a
4634         buffer correctly for non-live sources.
4635
4636 2007-10-01  Edward Hervey  <bilboed@bilboed.com>
4637
4638         * plugins/elements/gstqueue.c: (gst_queue_locked_dequeue):
4639         Disable code that's breaking the current-time-level reporting.
4640         See #482147
4641
4642 2007-09-30  Sebastian Dröge  <slomo@circular-chaos.org>
4643
4644         * docs/gst/gstreamer-sections.txt:
4645         Add M_PI and IMPORT_SYMBOL to the private part of the GstInfo section
4646         as they shouldn't show up. Fixes the docs build.
4647
4648 2007-09-29  Sebastien Moutte  <sebastien@moutte.net>
4649         
4650         * gst/gstinfo.h:
4651         Add an explicit variable importation needed on VS6 (only for MSC_VER)
4652         Define M_PI which is used in files which are including gstinfo.h. 
4653         VS6 includes doesn't define it.
4654         * win32/common/libgstbase.def:
4655         * win32/common/libgstcontroller.def:
4656         * win32/common/libgstreamer.def:
4657         Add new exported functions and variables.
4658         * win32/vs6/libgstcontroller.dsp:
4659         * win32/vs6/libgstreamer.dsp:
4660         Update the list of files to build.
4661         
4662 2007-09-28  Wim Taymans  <wim.taymans@gmail.com>
4663
4664         Patch by: Felipe Contreras <felipe dot contreras at gmail dot com>
4665
4666         * plugins/elements/gstqueue.c: (update_time_level), (apply_buffer),
4667         (gst_queue_locked_dequeue), (gst_queue_handle_sink_event),
4668         (gst_queue_chain), (gst_queue_loop), (gst_queue_src_activate_push):
4669         Improve debugging. Fixes #480858.
4670
4671 2007-09-28  Wim Taymans  <wim.taymans@gmail.com>
4672
4673         Patch by: Felipe Contreras <felipe dot contreras at gmail dot com>
4674
4675         * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event):
4676         First patch of code cleanups, use the macros and right arguments in the
4677         macros to signal and lock the queue. See #480858.
4678
4679 2007-09-26  Wim Taymans  <wim.taymans@gmail.com>
4680
4681         * gst/gstbus.c: (poll_func):
4682         Improve debugging when dealing with _poll().
4683
4684 2007-09-26  Tim-Philipp Müller  <tim at centricular dot net>
4685
4686         * gst/gstregistryxml.c:
4687           Fix memory leak I introduced a few days ago.
4688
4689 2007-09-26  Michael Smith <msmith@fluendo.com>
4690
4691         * gst/gstbuffer.c: (gst_buffer_finalize):
4692           Make it once again possible to free GstBuffers in the default
4693           build.
4694           The poisoning scribbles on parts of the miniobject we need in
4695           order to free it.
4696           Fixes #480341
4697
4698 2007-09-25  Tim-Philipp Müller  <tim at centricular dot net>
4699
4700         * docs/gst/gstreamer-sections.txt:
4701         * gst/gsttaglist.c:
4702         * gst/gsttaglist.h:
4703         API: add GST_TAG_COMPOSER, fixes #459809.
4704
4705 2007-09-24  Sebastian Dröge  <slomo@circular-chaos.org>
4706
4707         * gst/gstplugin.c:
4708         * gst/gstplugin.h:
4709         Add the 3-clause BSD license and the MIT/X11 license to the license
4710         list. Fixes #479784.
4711
4712 2007-09-24  Tim-Philipp Müller  <tim at centricular dot net>
4713
4714         * docs/faq/getting.xml:
4715           Add Q+A about different GStreamer versions (#364056).
4716
4717 2007-09-24  Wim Taymans  <wim.taymans@gmail.com>
4718
4719         * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency),
4720         (gst_base_sink_event), (gst_base_sink_change_state):
4721         Return correct gboolean from query function.
4722
4723 2007-09-24  Wim Taymans  <wim.taymans@gmail.com>
4724
4725         * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency),
4726         (gst_base_sink_event), (gst_base_sink_query),
4727         (gst_base_sink_change_state):
4728         Simplify latency query.
4729         When not synchronizing, we can report latency without querying the peer
4730         element.
4731
4732 2007-09-24  Wim Taymans  <wim.taymans@gmail.com>
4733
4734         * gst/gstobject.h:
4735         * gst/gstvalue.c:
4736         Fix small typos in the docs.
4737
4738 2007-09-24  Wim Taymans  <wim.taymans@gmail.com>
4739
4740         * docs/design/draft-latency.txt:
4741         * docs/design/draft-push-pull.txt:
4742         * docs/design/draft-tagreading.txt:
4743         * docs/design/part-MT-refcounting.txt:
4744         * docs/design/part-activation.txt:
4745         * docs/design/part-block.txt:
4746         * docs/design/part-element-source.txt:
4747         * docs/design/part-events.txt:
4748         * docs/design/part-gstbin.txt:
4749         * docs/design/part-gstelement.txt:
4750         * docs/design/part-gstobject.txt:
4751         * docs/design/part-gstpipeline.txt:
4752         * docs/design/part-messages.txt:
4753         * docs/design/part-preroll.txt:
4754         * docs/design/part-push-pull.txt:
4755         * docs/design/part-qos.txt:
4756         * docs/design/part-query.txt:
4757         * docs/design/part-scheduling.txt:
4758         * docs/design/part-seeking.txt:
4759         * docs/design/part-segments.txt:
4760         * docs/design/part-states.txt:
4761         Documentation updates and typo fixes.
4762
4763 2007-09-23  Tim-Philipp Müller  <tim at centricular dot net>
4764
4765         * plugins/elements/gstfakesink.c:
4766           Add some debug text to error message to indicate that
4767           we errored out on request.
4768
4769         * tools/gst-launch.c:
4770           When the state change to PLAYING fails, check for an
4771           error message on the bus and print it.
4772
4773 2007-09-22  Thomas Vander Stichele  <thomas at apestaart dot org>
4774
4775         translated by: Jorge González González <aloriel@gmail.com>
4776
4777         * po/LINGUAS:
4778         * po/es.po:
4779           Added Spanish translation.
4780
4781 2007-09-21  Wim Taymans  <wim.taymans@gmail.com>
4782
4783         * plugins/elements/gstqueue.c: (gst_queue_push_one):
4784         Fix printf arguments.
4785
4786 2007-09-20  Stefan Kost  <ensonic@users.sf.net>
4787
4788         * tests/check/generic/states.c:
4789           Improved state change unit test.
4790
4791 2007-09-20  Stefan Kost  <ensonic@users.sf.net>
4792
4793         * gst/gstbin.h:
4794           Move priv to the right place.
4795
4796         * gst/gstsystemclock.c:
4797           Add FIXME: and improve log.
4798
4799         * tests/check/Makefile.am:
4800         * tests/examples/manual/Makefile.am:
4801           Work with all types of registries.
4802
4803 2007-09-19  Wim Taymans  <wim.taymans@gmail.com>
4804
4805         * libs/gst/base/gstbasesrc.c: (gst_base_src_send_event):
4806         Don't unref the event after pushing it. Fixes #478401.
4807
4808 2007-09-19  Stefan Kost  <ensonic@users.sf.net>
4809
4810         * .cvsignore:
4811         * tests/examples/manual/.cvsignore:
4812           Ignore registries in any format.
4813
4814 2007-09-19  Tim-Philipp Müller  <tim at centricular dot net>
4815
4816         * gst/glib-compat-private.h:
4817           Add compatibility macro for g_intern_string() for
4818           GLib-2.8 (any reason we can't just bump the
4819           requirement to at least 2.10?)
4820
4821         * gst/gstpadtemplate.h:
4822         * gst/gstelementfactory.c:
4823         * gst/gstregistryxml.c:
4824         * gst/gstregistrybinary.c:
4825           Make GstStaticPadTemplate's templ_name field a const gchar * and fix
4826           up the internal code accordingly.  This shouldn't be a problem, since
4827           there is no reason external code could ever assume the string in such
4828           a structure is dynamically allocated unless it did that itself;  the
4829           use of g_strdup() is private to element factories.  The new code also
4830           saves some memory by putting pad template name strings into the GLib
4831           quark table instead of allocating them dynamically.
4832           Declaring this field constant fixes warnings with g++-4.2 when using
4833           the GST_STATIC_PAD_TEMPLATE macro in c++ code (#478092).
4834
4835 2007-09-19  Stefan Kost  <ensonic@users.sf.net>
4836
4837         * gst/gstelementfactory.c:
4838           Release static caps. Fixes #475723.
4839
4840 2007-09-18  Tim-Philipp Müller  <tim at centricular dot net>
4841
4842         * gst/gstinfo.c:
4843         * gst/gstinfo.h:
4844           Make some internal API take const gchar * instead of just
4845           gchar * to avoid compiler warnings with g++-4.2.2 when
4846           passing string constants (partially fixes #478092).
4847
4848 2007-09-17  Wim Taymans  <wim.taymans@gmail.com>
4849
4850         * gst/gstbin.c: (bin_query_latency_fold), (gst_bin_query):
4851         A latency query fails when one of the sinks fail.
4852
4853         * gst/gstelement.c: (gst_element_set_base_time):
4854         Improve debugging.
4855
4856 2007-09-17  Jan Schmidt - Sun Microsystems <jan.schmidt@sun.com>
4857
4858         * gst/gstbin.c: (gst_bin_continue_func):
4859         * libs/gst/base/gstbasesrc.c: (gst_base_src_do_sync):
4860         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_add_pad_full):
4861         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_loop):
4862
4863         Fix minor compilation warnings shown with Forte.
4864
4865 2007-09-17  Wim Taymans  <wim.taymans@gmail.com>
4866
4867         * plugins/elements/gstqueue.c: (apply_buffer),
4868         (gst_queue_locked_enqueue), (gst_queue_locked_dequeue):
4869         Measure queue level based on the diff between head and tail timestamps
4870         even when pushing the first buffer.
4871
4872 2007-09-14  Wim Taymans  <wim.taymans@gmail.com>
4873
4874         * libs/gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
4875         (gst_base_sink_event), (gst_base_sink_change_state):
4876         Sinks that don't preroll can always be queried for the latency.
4877         Don't post ASYNC start when we are not async.
4878
4879 2007-09-14  Wim Taymans  <wim.taymans@gmail.com>
4880
4881         * plugins/elements/gstqueue.c: (gst_queue_locked_enqueue),
4882         (gst_queue_handle_sink_event), (gst_queue_chain),
4883         (gst_queue_push_one), (gst_queue_handle_src_query),
4884         (gst_queue_sink_activate_push), (gst_queue_src_activate_push):
4885         * plugins/elements/gstqueue.h:
4886         When downstream returns UNEXPECTED from pushing a buffer, don't try to
4887         push more buffers but allow pushing of EOS and NEWSEGMENT.
4888         Add some more debug info here and there. Fixes #476514.
4889
4890 2007-09-14  Wim Taymans  <wim.taymans@gmail.com>
4891
4892         * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
4893         (gst_base_sink_preroll_queue_flush), (gst_base_sink_commit_state),
4894         (gst_base_sink_wait_preroll), (gst_base_sink_needs_preroll),
4895         (gst_base_sink_set_flushing), (gst_base_sink_query),
4896         (gst_base_sink_change_state):
4897         Latency query is allowed after we are prerolled. Introduce a new flag
4898         for this and stop abusing other variables.
4899
4900 2007-09-13  Wim Taymans  <wim.taymans@gmail.com>
4901
4902         * libs/gst/base/gstbasesrc.c: (gst_base_src_send_event):
4903         Push OOB events downstream when we get them in send_event. This allows
4904         the application to insert events in the pipeline.
4905         Add some more comments.
4906
4907 2007-09-13  Wim Taymans  <wim.taymans@gmail.com>
4908
4909         * gst/gstbin.c: (gst_bin_class_init), (clear_queue),
4910         (do_bin_latency), (gst_bin_change_state_func):
4911         * gst/gstpipeline.c: (gst_pipeline_change_state):
4912         Move latency query from GstPipeline to GstBin so that we can also
4913         use it when async-handling is enabled on bins.
4914
4915 2007-09-13  Wim Taymans  <wim.taymans@gmail.com>
4916
4917         * libs/gst/base/gstbasesrc.c: (gst_base_src_query_latency),
4918         (gst_base_src_do_sync), (gst_base_src_change_state):
4919         Update docs.
4920         Clean up the timestamping and syncing code for pseudo live sources.
4921
4922 2007-09-13  Tim-Philipp Müller  <tim at centricular dot net>
4923
4924         Patch by: Steve Fink  <sphink gmail com>
4925
4926         * docs/manual/appendix-checklist.xml:
4927           Mention less -R switch in the section about debug output (#474055).
4928
4929 2007-09-13  Wim Taymans  <wim.taymans@gmail.com>
4930
4931         * plugins/elements/gstqueue.c: (gst_queue_handle_src_query):
4932         Queue can latency to the pipeline up to the configured max size in time.
4933         Report this fact in the latency query.
4934
4935 2007-09-13  Sebastian Dröge  <slomo@circular-chaos.org>
4936
4937         Patch by: Sebastien Moutte <sebastien at moutte dot net>
4938
4939         * libs/gst/controller/gstinterpolation.c:
4940         * libs/gst/controller/gstlfocontrolsource.c:
4941         Use gst_guint64_to_gdouble() when converting from a uint64 or
4942         GstClockTime to double to fix the build on win32. Fixes #474371.
4943
4944 2007-09-13  Sebastian Dröge  <slomo@circular-chaos.org>
4945
4946         * gst/gstbuffer.c: (gst_buffer_finalize):
4947         Implement poisoning for GstBuffer if --enable-poisoning is specified.
4948         When finalizing a buffer the complete struct is filled with 0xff,
4949         thus making a use of the buffer after the final unref impossible.
4950
4951 2007-09-13  Sebastian Dröge  <slomo@circular-chaos.org>
4952
4953         * tests/check/libs/controller.c: (GST_START_TEST):
4954         Use fail_unless_equals_int(a, b) instead of
4955         fail_unless_equals (a == b) to get better output on failures.
4956
4957 2007-09-12  Tim-Philipp Müller  <tim at centricular dot net>
4958
4959         * tests/check/gst/gsturi.c:
4960           Also check for the other file URI variant on win32.
4961
4962 2007-09-12  Tim-Philipp Müller  <tim at centricular dot net>
4963
4964         * gst/gsturi.c: (gst_uri_get_location):
4965           If there's no hostname, we want to return 'c:/foo/bar.txt'
4966           and not '/c:/foo/bar.txt' on Windows. Fixes #469402.
4967
4968         * tests/check/gst/gsturi.c:
4969           Unit test for the above and a few more things.
4970
4971 2007-09-11  Wim Taymans  <wim.taymans@gmail.com>
4972
4973         * docs/design/part-live-source.txt:
4974         Add docs on how live sources should timestamp.
4975
4976         * libs/gst/base/gstbasesrc.c: (gst_base_src_do_sync):
4977         Add some more debug info.
4978         For subclasses that are live and like to sync, add aditional startup
4979         latency to sync time and timestamps so that we timstamp according to the
4980         design doc.
4981
4982 2007-09-11  Tim-Philipp Müller  <tim at centricular dot net>
4983
4984         * gst/gstbuffer.c:
4985           Also do a g_type_class_ref() for the subbuffer type in
4986           the init function.
4987
4988 2007-09-11  Wim Taymans  <wim.taymans@gmail.com>
4989
4990         * docs/gst/gstreamer-sections.txt:
4991         * gst/gstpad.c: (gst_pad_peer_query):
4992         * gst/gstpad.h:
4993         Add function to perform a query on the peer of a pad.
4994         API: gst_pad_peer_query()
4995
4996 2007-09-11  Stefan Kost  <ensonic@users.sf.net>
4997
4998         * tests/check/gst/gstsystemclock.c:
4999           Cleanup the test a little (use gst-logging and not g_message). Improve
5000           test to check if a wait reached the target.
5001
5002 2007-09-11  Tim-Philipp Müller  <tim at centricular dot net>
5003
5004         * docs/libs/gstreamer-libs-sections.txt:
5005           Add new API to docs and fix the build.
5006
5007 2007-09-10  Wim Taymans  <wim.taymans@gmail.com>
5008
5009         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
5010         (gst_base_src_init), (gst_base_src_set_do_timestamp),
5011         (gst_base_src_get_do_timestamp), (gst_base_src_set_property),
5012         (gst_base_src_get_property), (gst_base_src_do_sync):
5013         * libs/gst/base/gstbasesrc.h:
5014         Add property to make the basesrc timestamp buffers based on the current
5015         running time.
5016         API: GstBaseSrc::do-timestamp
5017         API: gst_base_src_set_do_timestamp()
5018         API: gst_base_src_get_do_timestamp()
5019
5020 2007-09-08  Tim-Philipp Müller  <tim at centricular dot net>
5021
5022         * docs/random/release:
5023           Really make sure translations are up-to-date before
5024           a release (#465010).
5025
5026 2007-09-07  Sebastian Dröge  <slomo@circular-chaos.org>
5027
5028         * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
5029         Always destroy the timer, also in error cases.
5030
5031 2007-09-05  Wim Taymans  <wim.taymans@gmail.com>
5032
5033         * docs/manual/highlevel-xml.xml:
5034         Fix XML example code. Fixes #472714.
5035
5036 2007-09-05  Wim Taymans  <wim.taymans@gmail.com>
5037
5038         * libs/gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
5039         (gst_base_sink_wait_preroll), (gst_base_sink_needs_preroll),
5040         (gst_base_sink_query):
5041         Protect eos and have_preroll with the OBJECT lock so we don't need to
5042         take the PREROLL lock when querying the latency. Fixes #473846.
5043
5044 2007-09-05  Stefan Kost  <ensonic@users.sf.net>
5045
5046         * gst/gstelement.c:
5047           Give some log-messages a category.
5048
5049 2007-09-04  Wim Taymans  <wim.taymans@gmail.com>
5050
5051         * gst/gststructure.c:
5052         (gst_structure_fixate_field_nearest_fraction):
5053         Fix fraction list fixation code. Take the fraction with the smallest
5054         difference with the target instead of the first one in the list.
5055
5056         * tests/check/gst/gststructure.c: (GST_START_TEST),
5057         (gst_structure_suite):
5058         Added test to verify correct fraction list fixation behaviour.
5059
5060 2007-09-02  Tim-Philipp Müller  <tim at centricular dot net>
5061
5062         * win32/common/libgstreamer.def:
5063           Export gst_bus_add_signal_watch too.
5064
5065 2007-08-30  Wim Taymans  <wim.taymans@gmail.com>
5066
5067         * docs/libs/gstreamer-libs-sections.txt:
5068         Add new methods to docs.
5069
5070         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
5071         (gst_base_sink_init), (gst_base_sink_set_ts_offset),
5072         (gst_base_sink_get_ts_offset), (gst_base_sink_set_property),
5073         (gst_base_sink_get_property), (gst_base_sink_wait_clock):
5074         * libs/gst/base/gstbasesink.h:
5075         Add ts-offset property to fine-tune the synchronisation.
5076         API: GstBaseSink::ts-offset property
5077         API: gst_base_sink_set_ts_offset()
5078         API: gst_base_sink_get_ts_offset()
5079
5080 2007-08-29  Wim Taymans  <wim.taymans@gmail.com>
5081
5082         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
5083         (gst_base_sink_init), (gst_base_sink_set_sync),
5084         (gst_base_sink_get_sync), (gst_base_sink_set_max_lateness),
5085         (gst_base_sink_get_max_lateness), (gst_base_sink_set_qos_enabled),
5086         (gst_base_sink_is_qos_enabled), (gst_base_sink_set_async_enabled),
5087         (gst_base_sink_is_async_enabled), (gst_base_sink_set_property),
5088         (gst_base_sink_get_property), (gst_base_sink_change_state):
5089         * libs/gst/base/gstbasesink.h:
5090         Add async property to instruct the sink never to inform the parent about
5091         ASYNC state changes, update docs.
5092         Check argument with g_return_* for the public functions.
5093         API: GstBaseSink::async property
5094         API: gst_base_sink_set_async_enabled()
5095         API: gst_base_sink_is_async_enabled()
5096
5097 2007-08-28  Wim Taymans  <wim.taymans@gmail.com>
5098
5099         * libs/gst/base/gstbasesink.c: (gst_base_sink_loop):
5100         Improve debugging.
5101
5102         * libs/gst/base/gstbasesrc.c: (gst_base_src_query_latency),
5103         (gst_base_src_default_query), (gst_base_src_wait),
5104         (gst_base_src_do_sync), (gst_base_src_change_state):
5105         Rearrange some code so that we can add support for measuring the 
5106         startup latency.
5107
5108 2007-08-27  Stefan Kost  <ensonic@users.sf.net>
5109
5110         * docs/random/ensonic/dynlink.txt:
5111           More thoughs on this.
5112
5113         * plugins/elements/gstcapsfilter.c:
5114           Add bugzilla ticket number to FIXME comment.
5115
5116 2007-08-24  Wim Taymans  <wim.taymans@gmail.com>
5117
5118         * docs/design/part-TODO.txt:
5119         * docs/design/part-block.txt:
5120         Update some docs.
5121
5122 2007-08-24  Jan Schmidt  <thaytan@mad.scientist.com>
5123
5124         * gst/Makefile.am:
5125           Revert patch which uses $(gst_headers) instead of $^ because it
5126           breaks make dist.
5127
5128 2007-08-24  Jan Schmidt  <thaytan@mad.scientist.com>
5129
5130         * tests/check/gst/gstbin.c: (GST_START_TEST):
5131           Fix leaks in the new unit test.
5132
5133 2007-08-23  Tim-Philipp Müller  <tim at centricular dot net>
5134
5135         * gst/gst.c:
5136           Don't use GST_INFO before the debug system is actually initialised
5137           (shouldn't do any harm, but won't print anything either, so we can
5138           just as well remove it).
5139
5140         * gst/gstinfo.h:
5141           GST_CAT_LEVEL_LOG_valist(), which is our inline helper function for
5142           compilers that don't support variadic macros (such as MSVC), should
5143           check for debug_level <= __gst_debug_min as well, since that's the
5144           function called from all the level-specific GST_CAT_*_LOG_OBJECT()
5145           inline helper functions. Should improve performance a bit, but also
5146           makes sure uses of GST_INFO et.al are ignored if the debugging
5147           system isn't initialised yet (instead of printing an assertion
5148           failure).
5149
5150 2007-08-23  Stefan Kost  <ensonic@users.sf.net>
5151
5152         patch by: David Nečas <yeti@physics.muni.cz>
5153
5154         * gst/Makefile.am:
5155           Replace some non portable makefile constructs.
5156
5157 2007-08-21  Stefan Kost  <ensonic@users.sf.net>
5158
5159         * common/gtk-doc-plugins.mak:
5160           Grrrrr. Don't remove the types file on make clean.
5161
5162 2007-08-20  Wim Taymans  <wim.taymans@gmail.com>
5163
5164         * tools/gst-launch.1.in:
5165         Add colorspace to example pipeline. Fixes #458274.
5166
5167 2007-08-20  Tim-Philipp Müller  <tim at centricular dot net>
5168
5169         * docs/random/release:
5170           The release manager should run 'make download-po' before making a
5171           release to make sure translations are up-to-date.
5172
5173         * po/LINGUAS:
5174         * po/be.po:
5175         * po/pl.po:
5176         * po/rw.po:
5177           Add some new translations.
5178
5179 2007-08-17  Wim Taymans  <wim.taymans@gmail.com>
5180
5181         * tools/gst-launch.c: (event_loop), (main):
5182         Don´t try to do any state management when a live pipeline posts
5183         buffering messages.
5184         Also make the buffering string translatable.
5185
5186 2007-08-16  Wim Taymans  <wim.taymans@gmail.com>
5187
5188         * gst/gstbin.c: (is_eos), (gst_bin_add_func),
5189         (bin_handle_async_start), (gst_bin_handle_message_func):
5190         Improve debugging.
5191         When adding elements, insert messages into the bus of the newly added
5192         element and make sure the element is the source of the message. This
5193         allows the parent bin to intercept the message and do the
5194         right thing. It also avoids us posting ASYNC_START and CLOCK_PROVIDE
5195         messages to the app (which is not allowed).
5196         Update some docs.
5197
5198         * tests/check/gst/gstghostpad.c: (GST_START_TEST):
5199         Fix testsuite so that is does not work around messages that should not
5200         have been posted in the first place.
5201
5202 2007-08-16  Wim Taymans  <wim.taymans@gmail.com>
5203
5204         * gst/gstbin.c: (add_to_queue), (remove_from_queue), (clear_queue),
5205         (update_degree), (gst_bin_sort_iterator_next):
5206         Fix annoying bug in the sorted iterator where a sink that is not really
5207         a sink (when it has downstream links) screwed up the iterator.
5208
5209         * tests/check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
5210         Unit test to verify the fix.
5211
5212 2007-08-16  Wim Taymans  <wim.taymans@gmail.com>
5213
5214         * gst/gstmessage.h:
5215         Add some more docs for the messages.
5216
5217         * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
5218         (gst_base_sink_query):
5219         Add some more debugging.
5220
5221         * tools/gst-launch.c: (event_loop):
5222         When interrupting, don't try to set pipeline to PAUSED twice.
5223
5224 2007-08-14  Wim Taymans  <wim.taymans@gmail.com>
5225
5226         
5227         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_element_set_state),
5228         (bin_handle_async_start), (gst_bin_handle_message_func):
5229         Move ASYNC_START message posting to where it belongs, similar to
5230         async_done. 
5231         Don't post ASYNC_START when we are in error. 
5232         Post ASYNC_START when we added an async element to a bin.
5233
5234 2007-08-14  Julien MOUTTE  <julien@moutte.net>
5235
5236         * gst/gstindex.c: (gst_index_add_association): Fix index entry
5237         generation from vargs. Fixes #466595.
5238
5239 2007-08-14  Wim Taymans  <wim.taymans@gmail.com>
5240
5241         * gst/gstbin.c: (gst_bin_element_set_state):
5242         Always change the state of a NO_PREROLL element even if it has ASYNC
5243         elements inside (in case of a bin).
5244
5245         * tests/check/generic/sinks.c: (GST_START_TEST), (gst_sinks_suite):
5246         Unit test for this case.
5247
5248 2007-08-13  Stefan Kost  <ensonic@users.sf.net>
5249
5250         * libs/gst/check/gstbufferstraw.c:
5251         * libs/gst/check/gstcheck.h:
5252         * libs/gst/controller/gstcontroller.c:
5253         * libs/gst/controller/gstcontrolsource.h:
5254         * libs/gst/controller/gstlfocontrolsource.h:
5255         * plugins/elements/gstcapsfilter.h:
5256         * plugins/elements/gstfdsink.h:
5257         * plugins/elements/gstfdsrc.h:
5258           Add more missing docs.
5259
5260 2007-08-12  Wim Taymans  <wim.taymans@gmail.com>
5261
5262         * gst/gststructure.c:
5263         Add Since tag to docs.
5264
5265 2007-08-12  Wim Taymans  <wim.taymans@gmail.com>
5266
5267         * docs/gst/gstreamer-sections.txt:
5268         * gst/gststructure.c: (gst_structure_get_uint):
5269         * gst/gststructure.h:
5270         Add function to get uint from a structure.
5271         API: gst_structure_get_uint()
5272
5273 2007-08-12  Wim Taymans  <wim.taymans@gmail.com>
5274
5275         * gst/gstcaps.c: (gst_caps_set_simple_valist),
5276         (gst_caps_intersect):
5277         Fix proper check for simple caps.
5278
5279 2007-08-10  Stefan Kost  <ensonic@users.sf.net>
5280
5281         * docs/gst/Makefile.am:
5282         * docs/libs/Makefile.am:
5283           Remove cruft and do some cleanups.
5284
5285         * docs/gst/gstreamer-docs.sgml:
5286         * docs/libs/gstreamer-libs-docs.sgml:
5287           Prepare for comming gtkdoc features (rebase against online docs).
5288
5289 2007-08-10  Michael Smith <msmith@fluendo.com>
5290
5291         * docs/gst/gstreamer-sections.txt:
5292           Add gst_registry_add_path to docs.
5293
5294 2007-08-10  Michael Smith <msmith@fluendo.com>
5295
5296         * gst/gstregistry.h:
5297           Add gst_registry_add_path, which was missing from this header.
5298
5299 2007-08-10  Tim-Philipp Müller  <tim at centricular dot net>
5300
5301         * libs/gst/controller/gstlfocontrolsource.c:
5302           Printf format fix.
5303
5304 2007-08-09  Philippe Kalaf <philippe.kalaf@collabora.co.uk>
5305
5306         * libs/gst/base/gstbasesink.c:
5307           Don't send an async_start message during downwards state change if 
5308           target state is less than READY
5309
5310 2007-08-09  Thomas Vander Stichele  <thomas at apestaart dot org>
5311
5312         translated by: Gabor Kelemen <kelemeng@gnome.hu>
5313
5314         * po/LINGUAS:
5315         * po/hu.po:
5316           Added Hungarian translation.
5317
5318 2007-08-09  Thomas Vander Stichele  <thomas at apestaart dot org>
5319
5320         * po/fi.po:
5321         * po/it.po:
5322         * po/nl.po:
5323         * po/sv.po:
5324         * po/uk.po:
5325           Updated translations.
5326
5327 2007-08-07  Jan Schmidt  <thaytan@mad.scientist.com>
5328
5329         * libs/gst/controller/Makefile.am:
5330         Dist gstlfocontrolsourceprivate.h
5331
5332 2007-08-07  Jan Schmidt  <thaytan@mad.scientist.com>
5333
5334         * docs/libs/gstreamer-libs.types:
5335         Don't register the enum type gst_lfo_waveform_get_type() in the
5336         .types file - only GObject derived types belong.
5337
5338 2007-08-07  Wim Taymans  <wim.taymans@gmail.com>
5339
5340         Patch by: <arenevier at fdn dot fr>
5341
5342         * gst/gstbuffer.h:
5343         Remove comma from last element in enum to avoid compile errors when
5344         using -pendantic. Fixes #464366.
5345
5346 2007-08-07  Wim Taymans  <wim.taymans@gmail.com>
5347
5348         * docs/design/part-TODO.txt:
5349         Add some more TODO items
5350
5351         * gst/gstbin.c: (find_message), (gst_bin_change_state_func):
5352         Improve debugging.
5353
5354         * gst/gstcaps.c: (gst_caps_intersect):
5355         Optimize trivial intersection case between identical caps pointers.
5356
5357         * gst/gstelement.c: (gst_element_continue_state),
5358         (gst_element_set_state_func):
5359         * gst/gstpad.c:
5360         Fix spelling and grammar mistakes.
5361
5362 2007-08-05  Stefan Kost  <ensonic@users.sf.net>
5363
5364         * po/POTFILES.in:
5365         * po/POTFILES.skip:
5366           Update POTFILES. Fixes #461599.
5367
5368 2007-08-03  Sebastian Dröge  <slomo@circular-chaos.org>
5369
5370         * gst/gst.c:
5371         Fix confusing typo in debug output.
5372
5373 2007-08-03  Sebastian Dröge  <slomo@circular-chaos.org>
5374
5375         reviewed by: Stefan Kost <ensonic@users.sf.net>
5376
5377         * libs/gst/controller/Makefile.am:
5378         * libs/gst/controller/gstlfocontrolsource.c: (_calculate_pos),
5379         (gst_lfo_waveform_get_type), (gst_lfo_control_source_reset),
5380         (gst_lfo_control_source_new),
5381         (gst_lfo_control_source_set_waveform),
5382         (gst_lfo_control_source_bind), (gst_lfo_control_source_init),
5383         (gst_lfo_control_source_finalize),
5384         (gst_lfo_control_source_dispose),
5385         (gst_lfo_control_source_set_property),
5386         (gst_lfo_control_source_get_property),
5387         (gst_lfo_control_source_class_init):
5388         * libs/gst/controller/gstlfocontrolsource.h:
5389         * libs/gst/controller/gstlfocontrolsourceprivate.h:
5390         API: Add GstLFOControlSource, a control source that gives values
5391         for specific timestamps based on several periodic waveforms.
5392         Fixes #459717.
5393
5394         * tests/check/libs/controller.c: (GST_START_TEST),
5395         (gst_controller_suite):
5396         * docs/libs/gstreamer-libs-docs.sgml:
5397         * docs/libs/gstreamer-libs-sections.txt:
5398         * docs/libs/gstreamer-libs.types:
5399         Add documentation and unit tests for GstLFOControlSource.
5400
5401 2007-08-03  Jan Schmidt  <thaytan@mad.scientist.com>
5402
5403         * configure.ac:
5404         Back to CVS
5405
5406 === release 0.10.14 ===
5407
5408 2007-08-03  Jan Schmidt <thaytan@mad.scientist.com>
5409
5410         * configure.ac:
5411           releasing 0.10.14, "Breathing Vacuum"
5412
5413 2007-08-02  Tim-Philipp Müller  <tim at centricular dot net>
5414
5415         * gst/gstelement.c: (gst_element_class_set_details_simple):
5416         * gst/gstelement.h:
5417           Make strings passed to gst_element_class_set_details_simple()
5418           constant, as they should be (#462752).
5419
5420 2007-08-02  Wim Taymans  <wim.taymans@gmail.com>
5421
5422         * gst/gstbin.c: (gst_bin_change_state_func),
5423         (bin_handle_async_done), (gst_bin_handle_message_func):
5424         Don't forget about the fact that some element went ASYNC even after a
5425         resync. This makes us post the ASYNC_DONE message correctly.
5426         Fixes #462558.
5427
5428 2007-07-31  Jan Schmidt  <thaytan@mad.scientist.com>
5429
5430         * gst/gstregistry.c: (gst_registry_add_feature):
5431         When replacing an existing feature in the registry, make sure to
5432         continue holding a reference until we've replaced the name string
5433         within our feature hash table. Make sure to use g_hash_table_replace
5434         instead of g_hash_table_insert to ensure the new name string is used
5435         as a key instead of the old one that we're about to free.
5436         Fixes: #462085
5437
5438 2007-07-31  Jan Schmidt  <thaytan@mad.scientist.com>
5439
5440         * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
5441         (gst_plugin_feature_set_name):
5442         Revert patch from #459466 until after the release and we can work
5443         out exactly what the problem is (if any).
5444
5445 2007-07-26  Tim-Philipp Müller  <tim at centricular dot net>
5446
5447         * docs/gst/gstreamer-sections.txt:
5448         * gst/gsttaglist.c:
5449         * gst/gsttaglist.h:
5450           API: add GST_TAG_LICENSE_URI and GST_TAG_COPYRIGHT_URI (#451939).
5451
5452 2007-07-26  Jan Schmidt  <thaytan@mad.scientist.com>
5453
5454         * docs/libs/Makefile.am:
5455         Include our build-prefix libs and includes before the generic ones to
5456         avoid linking against the installed libs when we want the build-tree
5457         ones.
5458
5459 2007-07-26  Tim-Philipp Müller  <tim at centricular dot net>
5460
5461         Patch by: Steve Fink  <sphink gmail com>
5462
5463         * docs/pwg/building-testapp.xml:
5464           Mention that GST_PLUGIN_PATH or --gst-plugin-path might be needed
5465           if people try to build or install the example from the plugin
5466           template against a GStreamer from package using the configure
5467           defaults.
5468
5469 2007-07-25  Tim-Philipp Müller  <tim at centricular dot net>
5470
5471         Patch by: Steve Fink  <sphink gmail com>
5472
5473         * tools/gst-inspect.1.in:
5474           Document --print-all and --print-plugin-auto-install-info command
5475           line options in man page.
5476
5477 2007-07-25  Wim Taymans  <wim.taymans@gmail.com>
5478
5479         * docs/gst/gstreamer-sections.txt:
5480         Add docs for new api function.
5481
5482 2007-07-25  Wim Taymans  <wim.taymans@gmail.com>
5483
5484         * gst/gstelementfactory.c: (gst_element_factory_has_interface):
5485         * gst/gstelementfactory.h:
5486         API: gst_element_factory_has_interface()
5487         Added method to check if an element factory implements a named
5488         interface.
5489
5490 2007-07-25  Stefan Kost  <ensonic@users.sf.net>
5491
5492         * configure.ac:
5493         * docs/gst/gstreamer.types.in:
5494           Another conditional doc check.
5495
5496         * gst/gstmessage.c:
5497         * gst/gstparamspecs.h:
5498         * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
5499         * gst/gstvalue.c:
5500         * gst/gstxml.h:
5501           API-doc fixes.
5502
5503 2007-07-24  Stefan Kost  <ensonic@users.sf.net>
5504
5505         * gst/gstregistrybinary.c: (gst_registry_binary_check_magic),
5506         (gst_registry_binary_load_feature),
5507         (gst_registry_binary_load_plugin),
5508         (gst_registry_binary_read_cache):
5509           Print error just once and with additional info.
5510
5511 2007-07-24  Stefan Kost  <ensonic@users.sf.net>
5512
5513         * libs/gst/base/gsttypefindhelper.c: (helper_find_peek),
5514         (helper_find_suggest), (helper_find_get_length),
5515         (gst_type_find_helper_get_range), (buf_helper_find_suggest),
5516         (gst_type_find_helper_for_buffer):
5517           Cleanup the typefindhelper code and add private doc comments.
5518
5519 2007-07-24  Edward Hervey  <bilboed@bilboed.com>
5520
5521         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
5522         (gst_capsfilter_transform_size), (gst_capsfilter_prepare_buf):
5523         Fix capsfilter for cases where the caps set on capsfilter will provide
5524         additional information.
5525         Fixes #449197
5526
5527 2007-07-24  Stefan Kost  <ensonic@users.sf.net>
5528
5529         * gst/gsttypefindfactory.c:
5530           Fix docs that recommened wrong function to use.
5531
5532 2007-07-23  Stefan Kost  <ensonic@users.sf.net>
5533
5534         * tools/gst-inspect.c: (print_plugin_features):
5535           Also give media-type for typefinders in element output.
5536
5537 2007-07-23  Stefan Kost  <ensonic@users.sf.net>
5538
5539         * gst/gstregistry.c: (gst_registry_init), (gst_registry_finalize),
5540         (gst_registry_remove_features_for_plugin_unlocked),
5541         (gst_registry_add_feature), (gst_registry_remove_feature),
5542         (gst_registry_lookup_feature_locked):
5543         * gst/gstregistry.h:
5544           Speed up gst_registry_lookup_feature_locked() by using a hashmap.
5545           Fixes #459501.
5546
5547 2007-07-23  Stefan Kost  <ensonic@users.sf.net>
5548
5549         * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
5550         (gst_plugin_feature_set_name):
5551           Avoid double memory usage for pluginfeature names. Fixes #459466.
5552
5553 2007-07-22  Tim-Philipp Müller  <tim at centricular dot net>
5554
5555         * gst/gstpad.h:
5556           Small addition to GST_FLOW_IS_FATAL() docs: mention that elements
5557           driving the pipeline may need to explicitly check for NOT_LINKED as
5558           well, since IS_FATAL doesn't cover that.
5559
5560 2007-07-22  Tim-Philipp Müller  <tim at centricular dot net>
5561
5562         * docs/pwg/advanced-types.xml:
5563           Fix typo and duplicate entry in video formats list.
5564
5565 2007-07-22  Sebastian Dröge  <slomo@circular-chaos.org>
5566
5567         * libs/gst/controller/gstinterpolation.c:
5568         Also round to the nearest int when using cubic interpolation.
5569
5570 2007-07-19  Jan Schmidt  <thaytan@noraisin.net>
5571
5572         * libs/gst/controller/gstinterpolation.c:
5573         When linearly interpolating integer types, round to the nearest int
5574         by adding 0.5. Don't do it for float/double types.
5575         Fixes the failing controller test on my machine, which is somehow
5576         rounding differently than on the buildbots.
5577
5578 2007-07-20  Stefan Kost  <ensonic@users.sf.net>
5579
5580         * tools/gst-plot-timeline.py:
5581           Better log parsing (categories can have -). Adjust text vs. lines, so
5582           that they span the same y-range.        
5583
5584 2007-07-20  Stefan Kost  <ensonic@users.sf.net>
5585
5586         * docs/random/ensonic/audiobaseclasses.txt:
5587         * docs/random/ensonic/dynlink.txt:
5588         * docs/random/ensonic/profiling.txt:
5589           Save my thoughts.
5590
5591         * docs/random/moving-plugins:
5592           Add note to use g_assert type macros.
5593
5594 2007-07-20  Stefan Kost  <ensonic@users.sf.net>
5595
5596         * configure.ac:
5597         * libs/gst/check/Makefile.am:
5598           Add libm check as we use in for plugins.
5599
5600 2007-07-18  Jan Schmidt  <thaytan@noraisin.net>
5601
5602         * gst/gstbin.c: (gst_bin_continue_func):
5603         Check that the state_cookie hasn't changed since the continue_func
5604         was scheduled. Avoids problems where the state changes back to
5605         something it shouldn't be because it was changed in the meantime.
5606
5607 2007-07-17  Stefan Kost  <ensonic@users.sf.net>
5608
5609         * gst/gstregistrybinary.c: (gst_registry_binary_save_const_string),
5610         (gst_registry_binary_save_string),
5611         (gst_registry_binary_save_pad_template),
5612         (gst_registry_binary_save_feature),
5613         (gst_registry_binary_save_plugin),
5614         (gst_registry_binary_load_feature),
5615         (gst_registry_binary_load_plugin),
5616         (gst_registry_binary_read_cache):
5617           Fix memory leak. Be less verbose in the log.
5618
5619 2007-07-16  Jan Schmidt  <thaytan@mad.scientist.com>
5620
5621         * tests/check/elements/.cvsignore:
5622         Add file to cvsignore as commanded.
5623
5624 2007-07-16  Jan Schmidt  <thaytan@mad.scientist.com>
5625
5626         * tests/check/elements/multiqueue.c: (mq_dummypad_chain),
5627         (mq_dummypad_event), (run_output_order_test):
5628         Use a GStaticMutex to protect all cases where libcheck
5629         fail_if/fail_unless macros might be called from multiple threads
5630         simultaneously to avoid errors like:
5631           "check_pack.c:107: :-1081725400:Bad message type arg"
5632
5633 2007-07-16  Jan Schmidt  <thaytan@mad.scientist.com>
5634
5635         * tests/check/pipelines/stress.c: (GST_START_TEST):
5636         Make sure we set the pipeline back to the NULL state before
5637         dropping our final reference.
5638
5639 2007-07-16  Jan Schmidt  <thaytan@mad.scientist.com>
5640
5641         * tests/check/elements/tee.c: (GST_START_TEST):
5642         Make the tee stress-test a little less stressful so it doesn't just
5643         time out on slow-machines, and remove a small race when it's starting 
5644         up by adding a get_state() call.
5645
5646 2007-07-16  Stefan Kost  <ensonic@users.sf.net>
5647
5648         * gst/gst.c:
5649           Avoid reading registry twice on startup. Fixes #457322.
5650
5651 2007-07-13  Jan Schmidt  <thaytan@mad.scientist.com>
5652
5653         * pkgconfig/gstreamer-check-uninstalled.pc.in:
5654         * pkgconfig/gstreamer-check.pc.in:
5655         Substitute the CFLAGS for libcheck into our .pc file too so that
5656         dependent modules will pick it up properly if libcheck is installed
5657         into some other prefix.
5658
5659 2007-07-13  Jan Schmidt  <thaytan@mad.scientist.com>
5660
5661         * configure.ac:
5662         Revert the pkg-config check for libcheck, since it pulls in the
5663         wrong non-PIC libcheck.a on Ubuntu and probably Fedora too. We need
5664         a proper solution, either from the check project, or something else.
5665
5666 2007-07-12  Stefan Kost  <ensonic@users.sf.net>
5667
5668         * configure.ac:
5669           Use pkg-config to locate check.
5670
5671 2007-07-10  Stefan Kost  <ensonic@users.sf.net>
5672
5673         * gst/gsttaglist.c:
5674           Fix doc syntax.
5675
5676         * gst/gstutils.c:
5677         * gst/gstutils.h:
5678           Add deprecation guards.
5679
5680         * libs/gst/base/gstcollectpads.h:
5681           Don't document object (this is implicitly private).
5682
5683 2007-07-08  Tim-Philipp Müller  <tim at centricular dot net>
5684
5685         * gst/gststructure.c: (gst_structure_parse_value):
5686           When deserialising foo=bar without a type cast, check if it's a
5687           boolean before falling back to a string type, otherwise things like
5688           audiotestsrc ! audio/x-raw-int,signed=true ! fakesink won't work,
5689           because the filtercaps end up having a signed=(string)true field,
5690           which causes problems later when intersection caps.
5691
5692         * tests/check/gst/gststructure.c: (GST_START_TEST):
5693           Add a unit test for this.
5694
5695 2007-07-06  Sebastian Dröge  <slomo@circular-chaos.org>
5696
5697         Reviewed by: Stefan Kost <ensonic@users.sf.net>
5698
5699         * libs/gst/controller/Makefile.am:
5700         * libs/gst/controller/gstcontroller.c:
5701         (gst_controlled_property_add_interpolation_control_source),
5702         (gst_controlled_property_new), (gst_controlled_property_free),
5703         (gst_controller_find_controlled_property),
5704         (gst_controller_new_valist), (gst_controller_new_list),
5705         (gst_controller_new), (gst_controller_remove_properties_valist),
5706         (gst_controller_remove_properties_list),
5707         (gst_controller_remove_properties),
5708         (gst_controller_set_property_disabled),
5709         (gst_controller_set_disabled), (gst_controller_set_control_source),
5710         (gst_controller_get_control_source), (gst_controller_get),
5711         (gst_controller_sync_values), (gst_controller_get_value_array),
5712         (_gst_controller_dispose), (gst_controller_get_type),
5713         (gst_controlled_property_set_interpolation_mode),
5714         (gst_controller_set), (gst_controller_set_from_list),
5715         (gst_controller_unset), (gst_controller_unset_all),
5716         (gst_controller_get_all), (gst_controller_set_interpolation_mode):
5717         * libs/gst/controller/gstcontroller.h:
5718         * libs/gst/controller/gstcontrollerprivate.h:
5719         * libs/gst/controller/gstcontrolsource.c:
5720         (gst_control_source_class_init), (gst_control_source_init),
5721         (gst_control_source_get_value),
5722         (gst_control_source_get_value_array), (gst_control_source_bind):
5723         * libs/gst/controller/gstcontrolsource.h:
5724         * libs/gst/controller/gsthelper.c: (gst_object_set_control_source),
5725         (gst_object_get_control_source):
5726         * libs/gst/controller/gstinterpolation.c:
5727         (gst_interpolation_control_source_find_control_point_node),
5728         (gst_interpolation_control_source_get_first_value),
5729         (_interpolate_none_get), (interpolate_none_get),
5730         (interpolate_none_get_boolean_value_array),
5731         (interpolate_none_get_enum_value_array),
5732         (interpolate_none_get_string_value_array),
5733         (_interpolate_trigger_get), (interpolate_trigger_get),
5734         (interpolate_trigger_get_boolean_value_array),
5735         (interpolate_trigger_get_enum_value_array),
5736         (interpolate_trigger_get_string_value_array):
5737         * libs/gst/controller/gstinterpolationcontrolsource.c:
5738         (gst_control_point_free), (gst_interpolation_control_source_reset),
5739         (gst_interpolation_control_source_new),
5740         (gst_interpolation_control_source_set_interpolation_mode),
5741         (gst_interpolation_control_source_bind),
5742         (gst_control_point_compare), (gst_control_point_find),
5743         (gst_interpolation_control_source_set_internal),
5744         (gst_interpolation_control_source_set),
5745         (gst_interpolation_control_source_set_from_list),
5746         (gst_interpolation_control_source_unset),
5747         (gst_interpolation_control_source_unset_all),
5748         (gst_interpolation_control_source_get_all),
5749         (gst_interpolation_control_source_get_count),
5750         (gst_interpolation_control_source_init),
5751         (gst_interpolation_control_source_finalize),
5752         (gst_interpolation_control_source_dispose),
5753         (gst_interpolation_control_source_class_init):
5754         * libs/gst/controller/gstinterpolationcontrolsource.h:
5755         * libs/gst/controller/gstinterpolationcontrolsourceprivate.h:
5756         API: Refactor GstController into the core controller which can take
5757         a GstControlSource for providing actual values for timestamps.
5758         Implement a interpolation control source and use this for backward
5759         compatibility, deprecate a bunch of functions that are now handled
5760         by GstControlSource or GstInterpolationControlSource.
5761         Make it possible to disable the controller completely or only for
5762         specific properties. Fixes #450711.
5763         * docs/libs/gstreamer-libs-docs.sgml:
5764         * docs/libs/gstreamer-libs-sections.txt:
5765         * docs/libs/gstreamer-libs.types:
5766         Add new functions and classes to the docs.
5767         * tests/check/libs/controller.c: (GST_START_TEST),
5768         (gst_controller_suite):
5769         * tests/examples/controller/audio-example.c: (main):
5770         Port unit test and example to the new API and add some new
5771         unit tests.
5772
5773 2007-07-05  Wim Taymans  <wim.taymans@gmail.com>
5774
5775         Patch by: Mark Nauwelaerts <manauw at skynet be>
5776
5777         * plugins/elements/gstmultiqueue.c:
5778         (gst_multi_queue_get_internal_links), (apply_buffer),
5779         (single_queue_overrun_cb), (gst_single_queue_new):
5780         Implement non-default GstPadIntLinkFunction for multiqueue pads so that
5781         the pipeline layout can be tracked correctly. Fixes #453732.
5782
5783 2007-07-05  Stefan Kost  <ensonic@users.sf.net>
5784
5785         * docs/gst/Makefile.am:
5786         * docs/libs/Makefile.am:
5787         * docs/plugins/Makefile.am:
5788           Simplify --extra-dir as gtkdoc scans recursively.
5789
5790 2007-07-03  Wim Taymans  <wim.taymans@gmail.com>
5791
5792         * tools/gst-launch.c: (main):
5793         When we got an error, there is no point in waiting for preroll when
5794         shutting down.
5795
5796 2007-07-03  Wim Taymans  <wim.taymans@gmail.com>
5797
5798         * plugins/elements/gsttee.c: (gst_tee_base_init),
5799         (gst_tee_request_new_pad), (gst_tee_release_pad),
5800         (gst_tee_find_buffer_alloc), (gst_tee_buffer_alloc),
5801         (gst_tee_do_push), (clear_pads), (gst_tee_handle_buffer),
5802         (gst_tee_chain):
5803         Be a lot smarter when deciding what srcpad to use for proxying
5804         the buffer_alloc. Also handle pad added/removed when doing so.
5805         Fixes #357959.
5806         Keep track of what pads we already pushed on in case we have pads
5807         added/removed while pushing. Fixes #374639 
5808
5809         * tests/check/Makefile.am:
5810         * tests/check/elements/tee.c: (handoff), (GST_START_TEST),
5811         (tee_suite):
5812         Added unit test for pad resync.
5813
5814 2007-07-01  Thomas Vander Stichele  <thomas at apestaart dot org>
5815
5816         * po/nl.po:
5817         * po/sv.po:
5818           Updated translations.
5819
5820 2007-07-01  Thomas Vander Stichele  <thomas at apestaart dot org>
5821
5822         translation by: Tommi Vainikainen <Tommi.Vainikainen@iki.fi>
5823
5824         * po/LINGUAS:
5825         * po/fi.po:
5826           Added new Finnish translation.
5827
5828 2007-06-28  Wim Taymans  <wim@fluendo.com>
5829
5830         * plugins/elements/gstmultiqueue.c: (apply_buffer),
5831         (single_queue_overrun_cb):
5832         When figuring out when a queue is filled, use our internal time estimate
5833         based on segments, just like check_full does.
5834
5835 2007-06-27  Stefan Kost  <ensonic@users.sf.net>
5836
5837         * gst/gstminiobject.c: (gst_mini_object_get_type):
5838           Remove 3 do-nothing methods.
5839
5840 2007-06-27  Wim Taymans  <wim@fluendo.com>
5841
5842         Patch by: Tim Angus <tim at ngus dot net>
5843
5844         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
5845         (gst_capsfilter_set_property):
5846         Take a reference instead of a copy when setting "caps".
5847         Fix documentation to clarify this behaviour. Fixes #449414.
5848
5849 2007-06-27  Stefan Kost  <ensonic@users.sf.net>
5850
5851         * gst/gstindexfactory.c: (gst_index_factory_get_type):
5852         * gst/gstplugin.c: (gst_plugin_init):
5853         * gst/gstpluginfeature.c: (gst_plugin_feature_init):
5854         * gst/gstquery.c: (gst_query_get_type):
5855         * gst/gstregistry.c: (gst_registry_init):
5856         * gst/gsturi.c: (gst_uri_handler_base_init):
5857           Remove empty instance_init() functions to save relocs and lessen the
5858           noise. Remove some of the function prototypes that are doubled by
5859           G_DEFINE_TYPE.
5860           
5861 2007-06-27  Wim Taymans  <wim@fluendo.com>
5862
5863         Patch by: Étienne Noreau-Hébert <etienne at deepunder dot org>
5864
5865         * gst/gstghostpad.c: (gst_proxy_pad_save_thyself):
5866         Add peer and direction in the XML serialisation of ghostpads.
5867         Fixes #449226.
5868
5869 2007-06-26  Stefan Kost  <ensonic@users.sf.net>
5870
5871         * configure.ac:
5872           Preserve useful information, thanks Tim.
5873
5874 2007-06-26  Jan Schmidt  <thaytan@noraisin.net>
5875
5876         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_init),
5877         (gst_single_queue_flush), (apply_segment), (apply_buffer),
5878         (gst_single_queue_push_one), (gst_multi_queue_loop),
5879         (gst_multi_queue_sink_activate_push), (gst_multi_queue_sink_event),
5880         (gst_multi_queue_src_activate_push), (wake_up_next_non_linked),
5881         (compute_high_id), (gst_single_queue_new):
5882         * plugins/elements/gstmultiqueue.h:
5883         Take the multiqueue lock when updating the fill level so we don't get
5884         confused. 
5885
5886         After applying a buffer or event on the src pad segment, make sure to
5887         call gst_data_queue_limits_changed() to get the data queue to unblock
5888         and check the filled state again.
5889         
5890         Rework the not-linked pad handling so the logic is that not-linked 
5891         pads can push as fast as they like, but only so they never get 
5892         ahead of any linked pads.
5893
5894         * tests/check/elements/multiqueue.c: (mq_sinkpad_to_srcpad),
5895         (mq_dummypad_getcaps), (mq_dummypad_chain), (mq_dummypad_event),
5896         (run_output_order_test), (GST_START_TEST), (multiqueue_suite):
5897
5898         Add a test to check that not-linked pads always stay behind
5899         linked pads.
5900
5901         Fixes: #430682
5902
5903 2007-06-26  Jan Schmidt  <thaytan@mad.scientist.com>
5904
5905         * docs/random/release:
5906           Some updates to the release procedure.
5907
5908 2007-06-26  Stefan Kost  <ensonic@users.sf.net>
5909
5910         * gst/gstelementfactory.c: (__gst_element_details_clear):
5911           Microoptimization that saves stunning 80 bytes.
5912
5913 2007-06-25  Stefan Kost  <ensonic@users.sf.net>
5914
5915         * docs/plugins/gstreamer-plugins.args:
5916         * docs/plugins/inspect/plugin-coreelements.xml:
5917         * docs/plugins/inspect/plugin-coreindexers.xml:
5918           Update docs with caps info.
5919
5920 2007-06-24  Thomas Vander Stichele  <thomas at apestaart dot org>
5921
5922         * po/it.po:
5923           Updated Italian translation.
5924
5925 2007-06-23  Thomas Vander Stichele  <thomas at apestaart dot org>
5926
5927         * ChangeLog:
5928         * po/vi.po:
5929           Update Vietnamese translations.
5930
5931 2007-06-21  Tim-Philipp Müller  <tim at centricular dot net>
5932
5933         * libs/gst/base/gstbasesink.c:
5934           Remove unused signal enum.
5935
5936 2007-06-21  Jan Schmidt  <thaytan@mad.scientist.com>
5937
5938         * docs/gst/gstreamer-sections.txt:
5939         * gst/gstelement.c:
5940         * gst/gstutils.c: (gst_type_register_static_full):
5941         Beef up and include the docs for gst_type_register_static_full and
5942         gst_element_class_set_details_simple and add the API keyword
5943         in the ChangeLog.
5944
5945 2007-06-21  Jan Schmidt  <thaytan@mad.scientist.com>
5946
5947         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_set_property),
5948         (update_time_level), (gst_single_queue_push_one),
5949         (gst_multi_queue_chain), (gst_multi_queue_sink_event),
5950         (single_queue_overrun_cb), (single_queue_underrun_cb),
5951         (single_queue_check_full):
5952         Fix setting max-* properties after adding queues.
5953         Use IS_FILLED for checking visible items.
5954         Signal overrun if multiple queues overrun.
5955         Add extra debug output.
5956         Patch by: Wim Taymans <wim@fluendo.com>
5957
5958 2007-06-21  Stefan Kost  <ensonic@users.sf.net>
5959
5960         * gst/gstelement.c: (gst_element_class_set_details_simple):
5961         * gst/gstelement.h:
5962         * gst/gstutils.c: (gst_type_register_static_full):
5963         * gst/gstutils.h:
5964         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_base_init):
5965         * plugins/elements/gstfakesink.c: (gst_fake_sink_base_init):
5966         * plugins/elements/gstfakesrc.c: (gst_fake_src_base_init):
5967         * plugins/elements/gstfdsink.c: (gst_fd_sink_base_init):
5968         * plugins/elements/gstfdsrc.c: (gst_fd_src_base_init):
5969         * plugins/elements/gstfilesink.c: (gst_file_sink_base_init):
5970         * plugins/elements/gstfilesrc.c: (gst_file_src_base_init):
5971         * plugins/elements/gstidentity.c: (gst_identity_base_init):
5972         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_base_init):
5973         * plugins/elements/gstqueue.c: (gst_queue_base_init),
5974         (apply_buffer), (gst_queue_chain):
5975         * plugins/elements/gsttee.c: (gst_tee_base_init):
5976         * plugins/elements/gsttypefindelement.c:
5977         (gst_type_find_element_base_init),
5978         (gst_type_find_element_class_init):
5979           Saving relocations for GTypeInfo and GstElementDetails. Fixes #437457.
5980           API: add gst_type_register_static_full
5981           API: add gst_element_class_set_details_simple
5982
5983 2007-06-21  Tim-Philipp Müller  <tim at centricular dot net>
5984
5985         * docs/pwg/advanced-types.xml:
5986           Fix typo in iana.org URI.
5987
5988 2007-06-19  Andy Wingo  <wingo@pobox.com>
5989
5990         * tests/check/pipelines/simple-launch-lines.c
5991         (test_state_change_returns): Enable pull-mode tests now that
5992         basesink has been fixed.
5993
5994         * libs/gst/base/gstbasesink.c (gst_base_sink_needs_preroll):
5995         Changed from gst_base_sink_is_prerolled, reversing the sense of
5996         the return value. Returns FALSE also if the sink is in pull mode,
5997         in which case it needs no preroll.
5998         (gst_base_sink_query, gst_base_sink_change_state): Update for
5999         needs_preroll change.
6000         (gst_base_sink_change_state): Add a case for READY_TO_PAUSED after
6001         chaining up, in which we return SUCCESS directly if we activated
6002         in pull mode instead of ASYNC. Involves countering an async_start
6003         message sent before chaining up; not sure if this is correct, in
6004         an ideal world we only send async-start when activating in push
6005         mode.
6006
6007         * tests/check/pipelines/simple-launch-lines.c
6008         (test_state_change_returns): New test, partially disabled until
6009         basesink is fixed.
6010
6011 2007-06-19  Wim Taymans  <wim@fluendo.com>
6012
6013         * plugins/elements/gstmultiqueue.c: (apply_buffer),
6014         (gst_multi_queue_sink_event):
6015         Fix event leak.
6016
6017 2007-06-19  Wim Taymans  <wim@fluendo.com>
6018
6019         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
6020         (gst_bin_change_state_func), (bin_push_state_continue),
6021         (bin_handle_async_start), (bin_handle_async_done),
6022         (gst_bin_handle_message_func):
6023         Move the common code for posting state-change messages into
6024         one function.
6025         Broadcast the state signal after we posted the messages.
6026         Mark the bin as busy when it's doing a state-change.
6027         Make sure async-start/done messages don't interfere with the bin's
6028         state when it's busy.
6029         After the state change, let the bin check which elements completed the
6030         state change while it was busy so that it can update its state.
6031
6032 2007-06-19  Jan Schmidt  <thaytan@mad.scientist.com>
6033
6034         * docs/random/release:
6035         Add a note about updating the doap file to the release checklist
6036
6037 2007-06-18  Wim Taymans  <wim@fluendo.com>
6038
6039         * plugins/elements/gstmultiqueue.c: (apply_buffer),
6040         (gst_single_queue_push_one), (gst_multi_queue_chain),
6041         (gst_multi_queue_sink_event):
6042         Make sure we don't reference the buffer/event after we have given away
6043         ownership in the queue.
6044
6045 2007-06-18  Wim Taymans  <wim@fluendo.com>
6046
6047         * plugins/elements/gstmultiqueue.c: (gst_single_queue_flush),
6048         (gst_multi_queue_chain), (gst_multi_queue_sink_event):
6049         Update queue state _after_ adding the item in the queue because else we
6050         could end up being full without the element added yet.
6051
6052 2007-06-18  Wim Taymans  <wim@fluendo.com>
6053
6054         * gst/gstbin.c: (gst_bin_init), (gst_bin_add_func),
6055         (gst_bin_remove_func), (gst_bin_get_state_func),
6056         (gst_bin_element_set_state), (gst_bin_continue_func),
6057         (bin_push_state_continue), (bin_handle_async_start),
6058         (bin_handle_async_done), (gst_bin_handle_message_func):
6059         * gst/gstbin.h:
6060         Immediatly commit the toplevel bin state when receiving an async-done
6061         message. This enables us to avoid spawning a thread to commit the state
6062         in some common cases and it also avoids some races.
6063         Avoid spawning a state thread when adding/removing async elements to a
6064         toplevel bin. Instead we immediatly update the bin state.
6065         Get rid of iterating all the children when getting the state in the bin
6066         because it is now always up-to-date.
6067         Fix bug where locked elements would always return _SUCCESS even it they
6068         returned NO_PREROLL before being locked.
6069         Fix the order of the state_change, async-start/done messages that was
6070         sometimes incorrect.
6071         Mark the state_dirty field as deprecated, we don't need it anymore as we
6072         are always up-to-date.
6073
6074         * gst/gstelement.c: (gst_element_get_state_func),
6075         (gst_element_continue_state):
6076         Small debug inprovements.
6077         Return the previous element state return when nothing is pending instead
6078         of blindly returning SUCCESS.
6079
6080         * tests/check/generic/sinks.c: (GST_START_TEST), (pad_blocked_cb),
6081         (gst_sinks_suite):
6082         Add a whole bunch of new testcases.
6083
6084 2007-06-17  Thomas Vander Stichele  <thomas at apestaart dot org>
6085
6086         * po/uk.po:
6087         * po/vi.po:
6088           Update translations.
6089
6090 2007-06-15  Jan Schmidt  <thaytan@mad.scientist.com>
6091
6092         * gst/gstpad.c:
6093         Fix typo in the docs.
6094
6095 2007-06-15  Wim Taymans  <wim@fluendo.com>
6096
6097         * docs/libs/gstreamer-libs-sections.txt:
6098         Add docs for new methods.
6099
6100 2007-06-15  Wim Taymans  <wim@fluendo.com>
6101
6102         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_item_destroy),
6103         (gst_multi_queue_item_new):
6104         Don't use GSlice because we don't depend on >= 2.10 yet.
6105
6106 2007-06-15  Wim Taymans  <wim@fluendo.com>
6107
6108         * plugins/elements/gstmultiqueue.c: (gst_single_queue_flush),
6109         (update_time_level), (apply_segment), (apply_buffer),
6110         (gst_single_queue_push_one), (gst_multi_queue_item_new),
6111         (gst_multi_queue_loop), (gst_multi_queue_sink_activate_push),
6112         (gst_multi_queue_sink_event), (single_queue_overrun_cb),
6113         (single_queue_underrun_cb), (single_queue_check_full):
6114         Remove debug printf.
6115
6116 2007-06-15  Wim Taymans  <wim@fluendo.com>
6117
6118         * libs/gst/base/gstdataqueue.c: (gst_data_queue_cleanup),
6119         (gst_data_queue_finalize), (gst_data_queue_locked_is_empty),
6120         (gst_data_queue_set_flushing), (gst_data_queue_push),
6121         (gst_data_queue_pop), (gst_data_queue_drop_head),
6122         (gst_data_queue_limits_changed), (gst_data_queue_get_level):
6123         * libs/gst/base/gstdataqueue.h:
6124         Various cleanups.
6125         Added methods to get the current levels and to inform the queue that the
6126         'full' limits changed.
6127
6128         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_init),
6129         (gst_multi_queue_finalize), (gst_multi_queue_set_property),
6130         (gst_single_queue_flush), (update_time_level), (apply_segment),
6131         (apply_buffer), (gst_single_queue_push_one),
6132         (gst_multi_queue_item_steal_object),
6133         (gst_multi_queue_item_destroy), (gst_multi_queue_item_new),
6134         (gst_multi_queue_loop), (gst_multi_queue_chain),
6135         (gst_multi_queue_sink_activate_push), (gst_multi_queue_sink_event),
6136         (gst_multi_queue_getcaps), (gst_multi_queue_src_activate_push),
6137         (gst_multi_queue_src_query), (single_queue_overrun_cb),
6138         (single_queue_underrun_cb), (single_queue_check_full),
6139         (gst_single_queue_new):
6140         Keep track of time in the queue by measuring the difference between
6141         running_time on input and output. This gives more accurate results and
6142         can compensate for segments correctly.
6143         Make a queue by default only 5 buffers deep. We will now increase the
6144         buffer size depending on the filledness of the other queues.
6145         Factor out commong flush code.
6146         Make sure we don't add additional refcounts to buffers when we can avoid
6147         it.
6148         Propagate GstFlowReturn differently.
6149         Use GSlice for intermediate GstMultiQueueItems.
6150         Keep track of EOS.
6151         Resize queues on over and underruns based on filled level of other
6152         queues.
6153         When checking if the queue is filled, prefer to measure in time if we
6154         can and fall back to bytes when no time is known.
6155
6156         * plugins/elements/gstqueue.c:
6157         Fix return value.
6158
6159 2007-06-15  Wim Taymans  <wim@fluendo.com>
6160
6161         * libs/gst/base/gstbasetransform.c:
6162         (gst_base_transform_sink_event):
6163         Work around the brokenness of the event vmethod in basetransform. Prefer
6164         to return TRUE when the subclass returned FALSE (meaning don't forward
6165         the event). 
6166
6167         * libs/gst/base/gstbasetransform.h:
6168         Clarify the docs.
6169
6170 2007-06-15  Wim Taymans  <wim@fluendo.com>
6171
6172         * gst/gstpad.c: (gst_pad_push_event), (gst_pad_send_event):
6173         * libs/gst/base/gstbasesrc.c: (gst_base_src_query_latency),
6174         (gst_base_src_default_query), (gst_base_src_get_range),
6175         (gst_base_src_start):
6176         * tests/check/pipelines/parse-launch.c: (setup_pipeline):
6177         Improve debugging.
6178
6179 2007-06-15  Stefan Kost  <ensonic@users.sf.net>
6180
6181         * docs/pwg/advanced-types.xml:
6182           Added more formats to caps table.
6183
6184 2007-06-15  Stefan Kost  <ensonic@users.sf.net>
6185
6186         * tools/gst-launch.c: (main):
6187           Remove crufy code. GOption does not need this workaround.
6188
6189 2007-06-14  Stefan Kost  <ensonic@users.sf.net>
6190
6191         * libs/gst/controller/gstcontroller.c:
6192         (gst_controlled_property_set_interpolation_mode):
6193           Fix wrong getter for enums in controller.
6194
6195 2007-06-14  Tim-Philipp Müller  <tim at centricular dot net>
6196
6197         * libs/gst/check/gstcheck.c: (gst_check_init):
6198           Intercept criticals and warnings in the Gst-Phonon log domain, so
6199           ASSERT_CRITICAL() etc. can be used in gst-phonon's unit tests as
6200           well.
6201         
6202 2007-06-14  Edward Hervey  <edward@fluendo.com>
6203
6204         * gst/gstparamspecs.c: (_gst_param_fraction_validate):
6205         Since this file doesn't include "gst.h" it will not go through the
6206         macros that disable GST_LOG if debugging was disabled.
6207
6208 2007-06-14  Tim-Philipp Müller  <tim at centricular dot net>
6209
6210         * libs/gst/check/Makefile.am:
6211         * libs/gst/check/gstcheck.h:
6212         * pkgconfig/gstreamer-check-uninstalled.pc.in:
6213         * pkgconfig/gstreamer-check.pc.in:
6214           Ugly 'fix' for the controller unit test on the p5 bot: in
6215           fail_unless_equals_float() check whether the values are 'almost
6216           equal' by allowing a small absolute error, which should be good
6217           enough for our use cases (normal numbers and values close to 0).
6218           Proper fixage left to floating point arithmetic aficionados.
6219
6220 2007-06-14  Stefan Kost  <ensonic@users.sf.net>
6221
6222         * libs/gst/base/gstbasesink.c: (gst_base_sink_reset_qos),
6223         (gst_base_sink_render_object), (gst_base_sink_get_position):
6224           Add two breaks thats where missing.
6225
6226 2007-06-14  Tim-Philipp Müller  <tim at centricular dot net>
6227
6228         * docs/libs/gstreamer-libs-sections.txt:
6229         * libs/gst/check/gstcheck.h:
6230           API: add fail_unless_equals_float() and assert_equals_float().
6231           Add documentation for some of the macros.
6232
6233         * tests/check/libs/controller.c: (GST_START_TEST):
6234           Use newly-added asserts.
6235
6236 2007-06-14  Stefan Kost  <ensonic@users.sf.net>
6237
6238         * gst/gstpad.c: (gst_pad_alloc_buffer_full), (gst_pad_push):
6239           Show the caps change in the log to help spotting the case of not
6240           exactly matching caps.
6241
6242 2007-06-14  Tim-Philipp Müller  <tim at centricular dot net>
6243
6244         * docs/pwg/building-boiler.xml:
6245           Fix typos, spotted by Thijs Vermeir (#447190).
6246
6247 2007-06-13  Jan Schmidt  <thaytan@mad.scientist.com>
6248
6249         * docs/plugins/tmpl/.cvsignore:
6250         Ignore file to keep the buildbots happy
6251
6252 2007-06-13  Jan Schmidt  <thaytan@mad.scientist.com>
6253
6254         * docs/plugins/Makefile.am:
6255         * docs/plugins/gstreamer-plugins-docs.sgml:
6256         * docs/plugins/gstreamer-plugins-sections.txt:
6257         Pull fdsink into the docs too.
6258
6259 2007-06-11  Sebastian Dröge  <slomo@circular-chaos.org>
6260
6261         * libs/gst/controller/gstinterpolation.c:
6262         Actually use the new functions with min/max checks for the trigger and
6263         none interpolation modes for get() and get_value_array() instead of
6264         just the latter.
6265
6266 2007-06-10  Sebastian Dröge  <slomo@circular-chaos.org>
6267
6268         * libs/gst/controller/gstcontroller.c:
6269         (gst_controlled_property_free):
6270         Unset the minimum and maximum GValues when freeing the corresponding
6271         GstControllerProperty struct.
6272
6273 2007-06-09  Sebastian Dröge  <slomo@circular-chaos.org>
6274
6275         * libs/gst/controller/gstcontroller.c:
6276         (gst_controlled_property_new):
6277         * libs/gst/controller/gstcontrollerprivate.h:
6278         * libs/gst/controller/gstinterpolation.c:
6279         (gst_controlled_property_find_control_point_node),
6280         (interpolate_none_get), (interpolate_none_get_enum_value_array),
6281         (interpolate_none_get_string_value_array),
6282         (interpolate_trigger_get),
6283         (interpolate_trigger_get_enum_value_array),
6284         (interpolate_trigger_get_string_value_array):
6285         Protect against values larger or smaller than the minimum or maximum
6286         allowed value for the property when using values that can be compared.
6287
6288         Optimize trigger interpolator a bit by taking the last requested value
6289         into account instead of always looping through the complete list.
6290
6291         Fix coding style a bit, everywhere else we use "return foo" instead
6292         of "return (foo)".
6293         
6294         * tests/check/libs/controller.c: (GST_START_TEST),
6295         (gst_controller_suite):
6296         Add unit test for the protection against too large or too small
6297         values.
6298
6299 2007-06-08  Sebastian Dröge  <slomo@circular-chaos.org>
6300
6301         * docs/random/slomo/controller.txt:
6302         Add some thoughts about the future of the controller.
6303
6304 2007-06-08  Wim Taymans  <wim@fluendo.com>
6305
6306         * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
6307         Don't overflow in retimestamping code.
6308
6309 2007-06-07  Sebastien Moutte  <sebastien@moutte.net>
6310
6311         * libs/gst/controller/gstinterpolation.c: (DEFINE_CUBIC_GET):
6312         Use gst_util_guint64_to_gdouble for conversions.
6313         * win32/common/libgstreamer.def:
6314         Add new exported functions.
6315
6316 2007-06-07  Tim-Philipp Müller  <tim at centricular dot net>
6317
6318         * gst/gstutils.c:
6319           Small docs addition.
6320
6321 2007-06-07  Stefan Kost  <ensonic@users.sf.net>
6322
6323         * README:
6324           Remove that test line again.
6325
6326 2007-06-07  Stefan Kost  <ensonic@users.sf.net>
6327
6328         * README:
6329           Test commit mail sending.
6330
6331 2007-06-07  Stefan Kost  <ensonic@users.sf.net>
6332
6333         * configure.ac:
6334           Fix typo and test commit mail sending.
6335
6336 2007-06-07  Stefan Kost  <ensonic@users.sf.net>
6337
6338         * tests/examples/controller/audio-example.c:
6339           Improve comment and test commit mail sending.
6340
6341 2007-06-07  Wim Taymans  <wim@fluendo.com>
6342
6343         * gst/gstbin.c: (find_message), (bin_replace_message), (is_eos),
6344         (gst_bin_remove_func), (gst_bin_element_set_state),
6345         (bin_handle_async_start), (bin_handle_async_done),
6346         (gst_bin_handle_message_func):
6347         Add helper function to find messages.
6348         Generate the async-done messages together with the state change
6349         messages.
6350         Small cleanups in handling toplevel bins.
6351
6352 2007-06-06  Tim-Philipp Müller  <tim at centricular dot net>
6353
6354         * libs/gst/base/gstdataqueue.c:
6355         * libs/gst/base/gstdataqueue.h:
6356         * plugins/elements/gstmultiqueue.c: (gst_single_queue_push_one),
6357         (gst_multi_queue_item_new), (gst_multi_queue_chain),
6358         (gst_multi_queue_sink_event):
6359         * tests/check/elements/multiqueue.c: (multiqueue_suite):
6360           Fix multiqueue leaking buffers and events when downstream or the
6361           queue are flushing. Make refcounting assumptions explicit and
6362           document them (shouldn't break existing code that uses it other than
6363           maybe leak miniobjects, but that already happens anyway). Add unit
6364           test for the most common flushing case. Fixes #423700.
6365           
6366 2007-06-06  Sebastian Dröge  <slomo@circular-chaos.org>
6367
6368         * libs/gst/controller/gstcontroller.c:
6369         Clarify docs: The get_all, get_value_array(s) functions
6370         don't modify the GObject properties.
6371
6372 2007-06-06  Sebastian Dröge  <slomo@circular-chaos.org>
6373
6374         * libs/gst/controller/gstcontroller.c:
6375         (gst_controlled_property_set_interpolation_mode),
6376         (gst_controlled_property_prepend_default),
6377         (gst_controlled_property_new), (gst_controller_set_unlocked),
6378         (gst_controller_set), (gst_controller_set_from_list),
6379         (gst_controller_unset), (gst_controller_unset_all):
6380         * libs/gst/controller/gstcontrollerprivate.h:
6381         * libs/gst/controller/gstinterpolation.c:
6382         Factor out the 'set' logic into gst_controller_set_unlocked for the
6383         gst_controller_set and gst_controller_set_from_list functions.
6384
6385         To make life of the interpolators easier always add a control point
6386         at timestamp zero with the default value.
6387
6388         In the linear interpolator make things more obvious by better variable
6389         naming (slope).
6390
6391         Implement cubic interpolation mode (by using a natural cubic spline)
6392         and map the quadratic interpolation mode to this too (as quadratic
6393         doesn't make much sense, see discussion on the list).
6394
6395         * tests/check/libs/controller.c: (GST_START_TEST),
6396         (gst_controller_suite):
6397         Add unit test for the cubic interpolation mode and check everywhere
6398         if the interpolation mode could be set as expected.
6399
6400 2007-06-06  Tim-Philipp Müller  <tim at centricular dot net>
6401
6402         * gst/gstparamspecs.c: (gst_param_spec_fraction_get_type):
6403           Don't use GLib-2.10 functions, we still depend on
6404           GLib-how-old-is-it-again-2.8.
6405
6406 2007-06-06  Tim-Philipp Müller  <tim at centricular dot net>
6407
6408         * docs/gst/gstreamer-sections.txt:
6409         * gst/Makefile.am:
6410         * gst/gst.c:
6411         * gst/gst.h:
6412         * gst/gstparamspecs.c: (_gst_param_fraction_init),
6413         (_gst_param_fraction_set_default), (_gst_param_fraction_validate),
6414         (_gst_param_fraction_values_cmp),
6415         (gst_param_spec_fraction_get_type), (gst_param_spec_fraction):
6416         * gst/gstparamspecs.h:
6417         * gst/gstvalue.c:
6418         * tests/check/Makefile.am:
6419         * tests/check/gst/.cvsignore:
6420         * tests/check/gst/gstparamspecs.c: (gst_dummy_obj_base_init),
6421         (gst_dummy_obj_class_init), (gst_dummy_obj_init),
6422         (gst_dummy_obj_set_property), (gst_dummy_obj_get_property),
6423         (GST_START_TEST), (gst_param_spec_suite):
6424           API: add GstParamSpecFraction, so elements can have fraction
6425           properties without lots of painful string parsing (#444648).
6426
6427 2007-06-05  Wim Taymans  <wim@fluendo.com>
6428
6429         * gst/gstobject.c: (gst_object_class_init):
6430         Fix signal signature.
6431
6432         * gst/gstsegment.c:
6433         Add small clarification in the api docs.
6434
6435         * plugins/elements/gstfilesrc.c: (gst_file_src_set_location):
6436         States are protected with object lock.
6437
6438 2007-06-05  Jan Schmidt  <thaytan@mad.scientist.com>
6439
6440         * AUTHORS:
6441         I should probably be listed as an author by now.
6442
6443         * docs/random/release:
6444         Update the release doc
6445
6446 2007-06-05  Tim-Philipp Müller  <tim at centricular dot net>
6447
6448         * gst/gstvalue.c:
6449           Make docs for gst_value_compare() mention return enums that
6450           actually exist.
6451
6452 2007-06-05  Jan Schmidt  <thaytan@mad.scientist.com>
6453
6454         * configure.ac:
6455           Back to CVS
6456
6457 === release 0.10.13 ===
6458
6459 2007-06-05  Jan Schmidt <thaytan@mad.scientist.com>
6460
6461         * configure.ac:
6462           releasing 0.10.13, "With or without you"
6463
6464 2007-05-25  Wim Taymans  <wim@fluendo.com>
6465
6466         * gst/gstbin.c: (bin_handle_async_done):
6467         Make sure that the child bin stops after completing the async state
6468         change so that the parent can continue the state change to PLAYING.
6469         Fixes #441159.
6470
6471 2007-05-25  Wim Taymans  <wim@fluendo.com>
6472
6473         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
6474         (unref_data), (gst_collect_pads_remove_pad),
6475         (gst_collect_pads_check_pads):
6476         Use additional refcounting to avoid crashes when dynamically adding and
6477         removing pads. Fixes #420206.
6478
6479 2007-05-24  Wim Taymans  <wim@fluendo.com>
6480
6481         * tools/gst-launch.c: (event_loop):
6482         When buffering goes from a two digit to a single digit number, make sure
6483         to remove the old second digit by writing a blank over it.
6484
6485 2007-05-24  Tim-Philipp Müller  <tim at centricular dot net>
6486
6487         * libs/gst/base/gstdataqueue.c:
6488           Eliminate tabs and trailing comma in enum list; fix some typos.
6489
6490 2007-05-24  Wim Taymans  <wim@fluendo.com>
6491
6492         * tests/check/gst/gstbin.c: (GST_START_TEST):
6493         Allow refcount of 3 and 4 because some state thread might still be busy
6494         with it.
6495
6496 2007-05-24  Tim-Philipp Müller  <tim at centricular dot net>
6497
6498         * plugins/elements/Makefile.am:
6499         * plugins/elements/gstmultiqueue.h:
6500         * plugins/elements/gstqueue.h:
6501           These are not installed headers, no need for padding.
6502
6503 2007-05-24  Wim Taymans  <wim@fluendo.com>
6504
6505         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_get_state_func),
6506         (gst_bin_continue_func):
6507         Enable latency for next release.
6508         Restore STATE_LOCK around recalc_state that was left out during the
6509         rewrite and could result in racy behaviour when _get_state and
6510         recalc_state are run concurrently. See #440463.
6511
6512 2007-05-23  Wim Taymans  <wim@fluendo.com>
6513
6514         * tests/check/gst/gstsystemclock.c: (store_callback),
6515         (GST_START_TEST):
6516         Improve test_async_order to also work when both timers are already
6517         expired when we get scheduled to check it.
6518
6519 2007-05-22  Tim-Philipp Müller  <tim at centricular dot net>
6520
6521         * gst/gstbin.c: (gst_bin_init), (gst_bin_dispose),
6522         (gst_bin_set_property), (gst_bin_get_property),
6523         (gst_bin_remove_func), (gst_bin_handle_message_func):
6524         * gst/gstbin.h:
6525           'private' is a c++ keyword, let's not use that in header files,
6526           otherwise c++ compilers will throw a tantrum.
6527
6528 2007-05-22  Tim-Philipp Müller  <tim at centricular dot net>
6529
6530         * plugins/elements/gstelements.c:
6531         * plugins/elements/gstfilesink.c: (gst_file_sink_do_seek),
6532         (gst_file_sink_get_current_offset):
6533         * plugins/indexers/gstindexers.c: (plugin_init):
6534           Use #ifdef for HAVE_XYZ for consistency.
6535
6536         * tests/check/Makefile.am:
6537         * tests/check/elements/.cvsignore:
6538         * tests/check/elements/filesink.c: (setup_filesink),
6539         (cleanup_filesink), (GST_START_TEST), (filesink_suite):
6540           Add some unit tests for filesink.
6541
6542 2007-05-22  Tim-Philipp Müller  <tim at centricular dot net>
6543
6544         Patch by: Mark Nauwelaerts <manauw at skynet be>
6545
6546         * plugins/elements/gstfilesink.c: (gst_file_sink_open_file),
6547         (gst_file_sink_query), (gst_file_sink_do_seek),
6548         (gst_file_sink_get_current_offset), (gst_file_sink_render):
6549         * plugins/elements/gstfilesink.h:
6550           Fix position reporting; rename data_written member to current_pos to
6551           reflect its real meaning (fixes #412648).
6552
6553 2007-05-22  Edward Hervey  <edward@fluendo.com>
6554
6555         * docs/gst/gstreamer-sections.txt:
6556         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
6557         (gst_bin_dispose), (gst_bin_set_property), (gst_bin_get_property),
6558         (gst_bin_remove_func), (gst_bin_handle_message_func):
6559         * gst/gstbin.h:
6560         Add a property for bins that handle the state change of their childs.
6561         Fixes #435880
6562
6563 2007-05-22  Sebastian Dröge  <slomo@circular-chaos.org>
6564
6565         * libs/gst/controller/gstinterpolation.c:
6566         Use an array of the correct type when using _get_value_array with
6567         linear interpolation.
6568
6569 2007-05-22  Stefan Kost  <ensonic@users.sf.net>
6570
6571         * gst/gstelement.c (gst_element_requires_clock,
6572           gst_element_provides_clock, gst_element_request_pad,
6573           gst_element_class_set_details, gst_element_class_set_details_simple,
6574           gst_element_default_send_event, gst_element_abort_state,
6575           gst_element_continue_state, gst_element_set_state,
6576           gst_element_set_state_func, iterator_activate_fold_with_resync):
6577         * gst/gstpad.c (gst_pad_activate_pull, gst_pad_set_getcaps_function,
6578           gst_pad_fixate_caps, gst_pad_configure_sink, gst_pad_configure_src,
6579           gst_pad_query, gst_pad_save_thyself, handle_pad_block, gst_pad_push,
6580           gst_pad_get_range, gst_pad_pull_range):
6581         * gst/gstpad.h (GST_PAD_LINK_SUCCESSFUL, GST_FLOW_CUSTOM_SUCCESS,
6582           GST_FLOW_NOT_SUPPORTED, GST_FLOW_IS_FATAL, GstPadActivateFunction,
6583           GstPadActivateModeFunction, GstPadChainFunction,
6584           GstPadGetCapsFunction, GstPadAcceptCapsFunction,
6585           GstPadFixateCapsFunction, GstPadTemplate):
6586         * gst/gstpipeline.c (gst_pipeline_change_state,
6587           gst_pipeline_set_new_stream_time, gst_pipeline_use_clock,
6588           gst_pipeline_set_clock, gst_pipeline_auto_clock,
6589           gst_pipeline_get_delay):
6590           Whitespace and docs fixes.
6591
6592 2007-05-21  Sebastian Dröge  <slomo@circular-chaos.org>
6593
6594         * libs/gst/controller/gstinterpolation.c:
6595         (interpolate_trigger_get_enum_value_array),
6596         (interpolate_trigger_get_string_value_array):
6597         Add support for retrieving value arrays when using the trigger
6598         interpolation mode. 
6599
6600 2007-05-21  Sebastian Dröge  <slomo@circular-chaos.org>
6601
6602         * libs/gst/controller/gstcontroller.c:
6603         (gst_controller_get_value_array):
6604         * libs/gst/controller/gstcontroller.h:
6605         Clarify the docs of gst_controller_get_value_array(): The array where
6606         the values should be written to must be allocated as there seems to be
6607         no way to get the size of a random GType. This doesn't change any
6608         behaviour. Also fix some typos all over the place and remove an unused,
6609         commented function that is not necessary as g_object_set() could be
6610         used instead.
6611         * tests/check/libs/controller.c: (GST_START_TEST),
6612         (gst_controller_suite):
6613         Add unit test for gst_controller_get_value_array().
6614
6615 2007-05-21  Jan Schmidt  <thaytan@mad.scientist.com>
6616
6617         * tests/check/gst/gstbuffer.c: (GST_START_TEST):
6618
6619         Disable part of the gst_buffer_try_new_and_alloc test, because
6620         it can happily succeed on 64-bit systems where there's more address
6621         space available.
6622
6623 2007-05-21  Sebastian Dröge  <slomo@circular-chaos.org>
6624
6625         * tests/check/gst/gstpad.c: (GST_START_TEST), (gst_pad_suite):
6626         Add unit test for the improved caps checking from bug #421543.
6627
6628 2007-05-21  Wim Taymans  <wim@fluendo.com>
6629
6630         * docs/design/part-synchronisation.txt:
6631         Small addition.
6632
6633         * gst/gstbin.c: (gst_bin_query):
6634         * plugins/elements/gstqueue.c: (apply_segment):
6635         Improve debugging.
6636
6637         * gst/gstmessage.h:
6638         Improve docs.
6639
6640 2007-05-21  Wim Taymans  <wim@fluendo.com>
6641
6642         * gst/gstpad.c: (gst_pad_get_caps_unlocked),
6643         (gst_pad_acceptcaps_default), (gst_pad_configure_sink),
6644         (gst_pad_configure_src):
6645         Added simple version of improved caps checking. It was previously
6646         assumed that a setcaps function would check the validity of the caps but
6647         people prefer us to check caps against the template automatically. 
6648         Fixes #421543.
6649
6650 2007-05-21  Wim Taymans  <wim@fluendo.com>
6651
6652         * libs/gst/base/gstbasetransform.h:
6653         Fix macro for locking/unlocking the transform lock.
6654
6655 2007-05-19  Tim-Philipp Müller  <tim at centricular dot net>
6656
6657         * docs/plugins/tmpl/.cvsignore:
6658           Ignore more.
6659
6660 2007-05-18  Edward Hervey  <edward@fluendo.com>
6661
6662         * plugins/elements/gstqueue.c: (gst_queue_loop):
6663         Hello, I am Mr Taymans' personal debugger. Today I will introduce a fix
6664         for the subtle art of warning a potentially blocking thread that it
6665         should check the source pad return value, and relay the information
6666         upstream.
6667
6668 2007-05-18  Edward Hervey  <edward@fluendo.com>
6669
6670         * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event):
6671         Release the queue lock !
6672
6673 2007-05-17  Sebastian Dröge  <slomo@circular-chaos.org>
6674
6675         * docs/libs/gstreamer-libs-sections.txt:
6676         Add the two new controller functions to the appropiate places.
6677
6678 2007-05-17  Sebastian Dröge  <slomo@circular-chaos.org>
6679
6680         reviewed by: Stefan Kost <ensonic@users.sf.net>
6681
6682         * libs/gst/controller/gstcontroller.c:
6683         (gst_controller_suggest_next_sync), (gst_controller_sync_values),
6684         (_gst_controller_get_property), (_gst_controller_set_property),
6685         (_gst_controller_init), (_gst_controller_class_init):
6686         * libs/gst/controller/gstcontroller.h:
6687         * libs/gst/controller/gsthelper.c: (gst_object_suggest_next_sync),
6688         (gst_object_get_control_rate), (gst_object_set_control_rate):
6689         API: gst_controller_suggest_next_sync(), gst_object_suggest_next_sync()
6690         Add API that provides sync suggestion timestamps for elements that
6691         call gst_object_sync_values() from which those elements can subdivide
6692         their processing loop to get the best results for the controlled
6693         properties. For now it just suggests last_sync + control_rate as
6694         new timestamp but this will be improved in the future.
6695
6696         While doing that change the control-rate property to a GstClockTime
6697         from guint and change it's meaning from samples to nanoseconds as
6698         the GstController doesn't know anything about sampling rate. Strictly
6699         speaking this breaks ABI but as the control-rate property didn't do
6700         anything in the past and as such couldn't be used this should be no
6701         problem.        
6702
6703 2007-05-17  Sebastian Dröge  <slomo@circular-chaos.org>
6704
6705         reviewed by: Stefan Kost <ensonic@users.sf.net>
6706
6707         * libs/gst/controller/gstcontroller.c: (gst_controller_unset),
6708         (gst_controller_unset_all):
6709         * libs/gst/controller/gstcontrollerprivate.h:
6710         * libs/gst/controller/gstinterpolation.c:
6711         (gst_controlled_property_find_control_point_node):
6712         Save last synced value from the list to continue searching from there
6713         in future syncs. This speeds everything up a bit.
6714         
6715 2007-05-17  Sebastian Dröge  <slomo@circular-chaos.org>
6716
6717         reviewed by: Stefan Kost <ensonic@users.sf.net>
6718
6719         * libs/gst/controller/gstcontroller.c: (gst_control_point_compare),
6720         (gst_control_point_find), (gst_controlled_property_new),
6721         (gst_control_point_free), (gst_controlled_property_free),
6722         (gst_controller_set), (gst_controller_set_from_list),
6723         (gst_controller_unset), (gst_controller_unset_all),
6724         (gst_controller_sync_values):
6725         * libs/gst/controller/gstcontroller.h:
6726         * libs/gst/controller/gstcontrollerprivate.h:
6727         * libs/gst/controller/gstinterpolation.c:
6728         (gst_controlled_property_find_control_point_node),
6729         (interpolate_none_get), (interpolate_trigger_get):
6730         Add a new private GstControlPoint struct which "inherits" from
6731         GstTimedValue to allow different interpolators to store internal
6732         values next to each control point. From the outside everything is
6733         still a GstControlPoint so we don't loose binary compatibility.
6734         Also fixup all the GValue handling to not leak GValues or list nodes.
6735         * tests/check/libs/controller.c: (GST_START_TEST):
6736         Free the list nodes and GValues in the controller_misc test.
6737
6738 2007-05-17  Edward Hervey  <edward@fluendo.com>
6739
6740         * gst/gstsegment.c:
6741         Small doc fix.
6742
6743 2007-05-16  Tim-Philipp Müller  <tim at centricular dot net>
6744
6745         * gst/gstplugin.c: (gst_plugin_load_file):
6746           If we fail to load a plugin because of unresolved symbols or missing
6747           libraries and spew a warning to stderr, we may just as well mention
6748           which plugin it was that failed to load.
6749
6750 2007-05-13  David Schleef  <ds@schleef.org>
6751
6752         * docs/Makefile.am: the gtk-doc makefile snippet correctly
6753           handles the case when ENABLE_GTK_DOC is false, and installs
6754           the prebuilt documentation.  So gtk-doc subdirs are 
6755           unconditionally enabled.  Fixes: #349099.
6756
6757 2007-05-13  David Schleef  <ds@schleef.org>
6758
6759         * gst/gstutils.h: Reword some documentation.
6760
6761 2007-05-12  David Schleef  <ds@schleef.org>
6762
6763         * gst/gstplugin.c: gst_plugin_register_func() doesn't actually
6764           do anything with the passed "module" parameter, so remove it.
6765           Allows removal of additional vestigal code.
6766
6767 2007-05-12  David Schleef  <ds@schleef.org>
6768
6769         * gst/gstplugin.c:
6770           Using sigaction should depend on HAVE_SIGACTION, not HAVE_WIN32.
6771           Switch to using g_stat() because it's more portable.
6772
6773 2007-05-12  David Schleef  <ds@schleef.org>
6774
6775         * gst/gst.c:
6776           Add GST_DISABLE_OPTION_PARSING, in order to disable option
6777           parsing for embedded systems.
6778         * gst/gstelementfactory.c:
6779           Allow gst_element_register() to be called with plugin==NULL.
6780           Did nobody notice that static elements were broken?
6781
6782 2007-05-12  Wim Taymans  <wim@fluendo.com>
6783
6784         * tools/gst-launch.c: (event_loop):
6785         Give more interesting info when buffering starts and stops.
6786         Fix case where buffering starts but we fail to update the buffering flag
6787         because the target state is not PLAYING.
6788
6789 2007-05-12  Wim Taymans  <wim@fluendo.com>
6790
6791         * plugins/elements/gstqueue.c: (gst_queue_init),
6792         (gst_queue_finalize), (update_time_level), (apply_segment),
6793         (apply_buffer), (gst_queue_locked_flush),
6794         (gst_queue_locked_enqueue), (gst_queue_locked_dequeue),
6795         (gst_queue_handle_sink_event), (gst_queue_chain),
6796         (gst_queue_push_one), (gst_queue_loop):
6797         * plugins/elements/gstqueue.h:
6798         Refactor an cleanup queue a bit.
6799         Do better time level calculations that also work when the srcpad is not
6800         yet running.
6801         Remove some unneeded debug lines.
6802
6803         * tests/check/elements/queue.c: (GST_START_TEST), (queue_suite):
6804         Added testcase for time level measurement.
6805         Try to make some stuff more racefree.
6806
6807 2007-05-11  Tim-Philipp Müller  <tim at centricular dot net>
6808
6809         * gst/gsturi.c: (gst_element_make_from_uri):
6810           Don't leak plugin feature.
6811
6812         * tests/check/Makefile.am:
6813         * tests/check/gst/.cvsignore:
6814         * tests/check/gst/gsturi.c: (GST_START_TEST), (gst_uri_suite):
6815           Add brain-dead unit test.
6816
6817 2007-05-11  Tim-Philipp Müller  <tim at centricular dot net>
6818
6819         Patch by: Jeroen Wouters <woutersj at gmail com>
6820
6821         * gst/gsturi.c: (gst_uri_get_protocol), (search_by_entry):
6822           Treat protocol strings in a case-insensitive way (#437563).
6823
6824 2007-05-11  Michael Smith <msmith@fluendo.com>
6825
6826         * gst/gstplugin.c: (gst_plugin_load_file):
6827         * gst/gstregistry.c: (gst_registry_scan_path_level):
6828           Don't print a g_warning for any failure to load a shared object.
6829           Instead, push this down into gstplugin.c, and warn _only_ if we
6830           failed to open the module (i.e. failure to link).
6831           Avoids warnings on normal, working, non-plugin .so files.
6832
6833 2007-05-11  Stefan Kost  <ensonic@users.sf.net>
6834
6835         * gst/gstplugin.c (gst_plugin_load_file):
6836         * gst/gstregistry.c (GST_CAT_DEFAULT,
6837           gst_registry_lookup_feature_locked, gst_registry_scan_path_level):
6838           Print a g_warning if there was an error when loading a plugins during
6839           registry scan. The shuld help beginners starting with gst-plugin
6840           template.
6841
6842 2007-05-10  Wim Taymans  <wim@fluendo.com>
6843
6844         * plugins/elements/gstqueue.c: (gst_queue_class_init),
6845         (update_time_level), (gst_queue_locked_flush),
6846         (gst_queue_handle_sink_event), (gst_queue_chain),
6847         (gst_queue_push_one), (gst_queue_loop):
6848         * plugins/elements/gstqueue.h:
6849         Be smarter when calculating the current amount of data in the queue by
6850         measuring the difference between start and end timestamps (in running
6851         time) inside the queue. Fixes #432876.
6852         API: GstQueue::pushing to notify elements that we are pushing data again
6853         since the running signal is rather broken for this purpose.
6854
6855 2007-05-10  Stefan Kost  <ensonic@users.sf.net>
6856
6857         * plugins/elements/gstqueue.c (_do_init, gst_queue_signals,
6858           gst_queue_base_init, gst_queue_init):
6859           use GST_BOILERPLATE
6860
6861 2007-05-09  Sebastien Moutte  <sebastien@moutte.net>
6862
6863         * win32/common/libgstreamer.def:
6864         Add new exported functions.
6865         * win32/vs6/grammar.dsp:
6866         Use grammar pre-generated files.
6867
6868 2007-05-09  Tim-Philipp Müller  <tim at centricular dot net>
6869
6870         Based on patch by: Peter Kjellerstedt  <pkj at axis com>
6871
6872         * gst/Makefile.am:
6873         * gst/gstparse.c: (gst_parse_launchv), (gst_parse_launch):
6874         * gst/gstparse.h:
6875         * gst/gstutils.c: (gst_parse_bin_from_description):
6876         * gst/gstutils.h:
6877           Maintain API and ABI when --disable-parse is used. Now that
6878           we have an appropriate error code, we can just return NULL and the
6879           appropriate error when gst_parse_launch() is used despite it having
6880           been disabled (#342564).
6881
6882         * tests/check/Makefile.am:
6883         * tests/check/pipelines/.cvsignore:
6884         * tests/check/pipelines/parse-disabled.c:
6885           Make sure these functions exist and return NULL plus a GError when
6886           --disable-parse is used.
6887
6888 2007-05-09  Tim-Philipp Müller  <tim at centricular dot net>
6889
6890         * tests/benchmarks/complexity.c: (main):
6891         * tests/benchmarks/mass-elements.c: (main):
6892           Set a good example and don't leak messages.
6893
6894 2007-05-06  Stefan Kost  <ensonic@users.sf.net>
6895
6896         * docs/gst/Makefile.am:
6897         * docs/libs/Makefile.am:
6898           Correct fixxrefs options.
6899
6900         * docs/plugins/Makefile.am:
6901         * docs/plugins/gstreamer-plugins-docs.sgml:
6902         * docs/plugins/gstreamer-plugins-sections.txt:
6903         * plugins/elements/Makefile.am:
6904         * plugins/elements/gstcapsfilter.c (gst_capsfilter_details):
6905         * plugins/elements/gstcapsfilter.h (__GST_CAPSFILTER_H__,
6906           GST_TYPE_CAPSFILTER, GST_CAPSFILTER, GST_CAPSFILTER_CLASS,
6907           GST_IS_CAPSFILTER, GST_IS_CAPSFILTER_CLASS, GstCapsFilter,
6908           GstCapsFilterClass, _GstCapsFilter, trans, filter_caps,
6909           _GstCapsFilterClass, trans_class):
6910         * plugins/elements/gstelements.c (name, rank, type, _elements):
6911         * plugins/elements/gstidentity.c
6912           (gst_identity_check_imperfect_timestamp,
6913           gst_identity_check_imperfect_offset):
6914           Document capsfilter and add doc-blurb to identity.
6915
6916 2007-05-04  Tim-Philipp Müller  <tim at centricular dot net>
6917
6918         * libs/gst/controller/gstcontroller.c:
6919         (gst_controlled_property_set_interpolation_mode):
6920         * libs/gst/controller/gstinterpolation.c:
6921           Don't crash if someone tries to set an interpolation mode that
6922           is invalid or that isn't supported yet. Fixes #422295.
6923
6924         * tests/check/libs/controller.c: (GST_START_TEST),
6925         (gst_controller_suite):
6926           Add a test case for the above.
6927
6928 2007-05-03  Edward Hervey  <edward@fluendo.com>
6929
6930         * libs/gst/base/gstbasetransform.c: (gst_base_transform_chain):
6931         Properly set the last_stop position on GstSegment. This will only happen
6932         if there is a buffer to push out.
6933
6934 2007-05-03  Wim Taymans  <wim@fluendo.com>
6935
6936         * libs/gst/base/gstbasetransform.c:
6937         (gst_base_transform_buffer_alloc):
6938         always_in_place does not mean that the sink and source caps are the
6939         same! Make sure we don't blindly proxy the buffer_alloc in this case.
6940
6941 2007-05-03  Wim Taymans  <wim@fluendo.com>
6942
6943         * docs/libs/gstreamer-libs-sections.txt:
6944         * libs/gst/base/gstbasesrc.c: (gst_base_src_query_latency),
6945         (gst_base_src_default_query), (gst_base_src_get_range):
6946         * libs/gst/base/gstbasesrc.h:
6947         API: gst_base_src_query_latency(). Added method so that subclasses can
6948         easily get the latency values of the base source class.
6949
6950 2007-05-02  Zaheer Abbas Merali  <<zaheerabbas at merali dot org>>
6951
6952         * tools/gst-inspect.c (print_implementation_info):
6953         Remove 0.8 cruft.
6954
6955 2007-05-02  Tim-Philipp Müller  <tim at centricular dot net>
6956
6957         * tools/Makefile.am:
6958         * tools/gst-launch.1.in:
6959           Don't create a customised man page based on the host architecture,
6960           describe the default registry path generically. That way the man
6961           page is the same for all architectures and packagers have one
6962           multilib issue less to deal with. Fixes #434926.
6963
6964 2007-05-02  Wim Taymans  <wim@fluendo.com>
6965
6966         * gst/gstpad.c:
6967         Fix documentation as spotted by rg on IRC. 
6968
6969 2007-04-29  Stefan Kost  <ensonic@users.sf.net>
6970
6971         * gst/gstutils.c:
6972           Improve docs for gst_element_{link,unlink}.
6973
6974 2007-04-28  Tim-Philipp Müller  <tim at centricular dot net>
6975
6976         * docs/design/part-events.txt:
6977         * docs/design/part-overview.txt:
6978         * gst/gstevent.c:
6979         * gst/gsturi.c:
6980         * gst/gsturi.h:
6981         * libs/gst/base/gstbasesink.c:
6982           Typo fixes; minor docs addition.
6983
6984 2007-04-27  Sebastian Dröge  <slomo@circular-chaos.org>
6985
6986         * docs/gst/gstreamer-sections.txt:
6987         * gst/gsturi.c: (get_element_factories_from_uri_protocol),
6988         (gst_uri_protocol_is_supported), (gst_element_make_from_uri):
6989         * gst/gsturi.h:
6990         API: Add gst_uri_protocol_is_supported(), which checks if a sink
6991         or src that supports a given URI protocol exists.
6992
6993 2007-04-27  Sebastian Dröge  <slomo@circular-chaos.org>
6994
6995         * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
6996         * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
6997         Set the location to NULL if "file://" is set as URI. Otherwise
6998         some random previous URI would still be set if "file://" is
6999         set on an already used filesink/filesrc.
7000
7001 2007-04-27  Sebastian Dröge  <slomo@circular-chaos.org>
7002
7003         * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
7004         * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
7005         Special case the "file://" URI as as this is used by some
7006         applications to test with gst_element_make_from_uri if there's
7007         an element that supports the URI protocol.
7008         Also move the g_path_is_absolute() check for the location part
7009         of the URI to also check this for "file://localhost/bla" URIs.
7010
7011 2007-04-26  Tim-Philipp Müller  <tim at centricular dot net>
7012
7013         * docs/gst/gstreamer-sections.txt:
7014         * gst/gstbuffer.c: (gst_buffer_try_new_and_alloc):
7015         * gst/gstbuffer.h:
7016         * tests/check/gst/gstbuffer.c: (GST_START_TEST),
7017         (gst_buffer_suite):
7018           API: add gst_buffer_try_new_and_alloc() plus unit test (#431940).
7019
7020 2007-04-26  Stefan Kost  <ensonic@users.sf.net>
7021
7022         * gst/gstregistrybinary.c: (gst_registry_binary_write_cache),
7023         (gst_registry_binary_load_pad_template),
7024         (gst_registry_binary_load_plugin),
7025         (gst_registry_binary_read_cache):
7026         * gst/gstregistrybinary.h:
7027           Implement no-mmap alternative for registry reading. Do code cleanups.
7028           Add more comments about avoiding strdups for all text data. Comments
7029           welcome.
7030
7031 2007-04-25  Stefan Kost  <ensonic@users.sf.net>
7032
7033         * gst/gstregistrybinary.h (GstBinaryPluginElement,
7034           GstBinaryPluginFeature, _GstBinaryElementFactory, plugin_feature,
7035           GstBinaryElementFactory, _GstBinaryTypeFindFactory, plugin_feature):
7036           Comment structs and reformat to fix the build (that stuff should go
7037           into a priv. header).
7038
7039 2007-04-25  Stefan Kost  <ensonic@users.sf.net>
7040
7041         * gst/gstregistrybinary.c: (gst_registry_binary_save_feature),
7042         (gst_registry_binary_load_feature):
7043         * gst/gstregistrybinary.h:
7044           Refactor so that we can implement multiple features. Add support for
7045           TypeFindFactory features.
7046
7047 2007-04-24  Stefan Kost  <ensonic@users.sf.net>
7048
7049         Patch by: Peter Kjellerstedt <Peter.Kjellerstedt@axis.com>
7050
7051         * configure.ac:
7052           Fix AM_CONDITIONAL(GST_DISABLE_GST_DEBUG,...) and update comment.
7053
7054 2007-04-23  Stefan Kost  <ensonic@users.sf.net>
7055
7056         * gst/gstbin.c: (gst_bin_element_set_state),
7057         (iterator_activate_fold_with_resync), (gst_bin_continue_func),
7058         (bin_handle_async_done), (gst_bin_handle_message_func):
7059           Fix build with --gst-disable-gst-debug
7060
7061 2007-04-21  Tim-Philipp Müller  <tim at centricular dot net>
7062
7063         * libs/gst/base/gstbasetransform.c: (gst_base_transform_activate):
7064           Make sure streaming has finished before calling the ::stop() vfunc,
7065           since that vfunc might clear state which is being used in the
7066           streaming thread. This fixes a race that caused crashes in
7067           audioresample when shutting down a pipeline (#420106).
7068
7069 2007-04-20  Stefan Kost  <ensonic@users.sf.net>
7070
7071         * docs/gst/gstreamer-sections.txt:
7072           That was one byte missing.
7073
7074 2007-04-20  Stefan Kost  <ensonic@users.sf.net>
7075
7076         * configure.ac:
7077         * docs/gst/gstreamer-sections.txt:
7078         * gst/Makefile.am:
7079         * gst/gstconfig.h.in:
7080         * gst/gstobject.c: (gst_object_class_init),
7081         (gst_signal_object_class_init):
7082         * gst/gstobject.h:
7083           2nd attempt to have a xml-less build as a joined effort of #413123
7084           and #421480.
7085
7086 2007-04-20  Stefan Kost  <ensonic@users.sf.net>
7087
7088         * docs/design/draft-tagreading.txt:
7089           Added open issues/thoughts to draft.
7090
7091 2007-04-19  Sebastian Dröge  <slomo@circular-chaos.org>
7092
7093         * gst/parse/grammar.tab.pre.c:
7094         * gst/parse/grammar.tab.pre.h:
7095         * gst/parse/lex._gst_parse_yy.pre.c:
7096         Update the prebuild parser sources.
7097
7098 2007-04-19  Sebastian Dröge  <slomo@circular-chaos.org>
7099
7100         * gst/parse/Makefile.am:
7101         And now fix the building of the flex sources. Now everything should
7102         work as expected.
7103
7104 2007-04-19  Sebastian Dröge  <slomo@circular-chaos.org>
7105
7106         * gst/parse/Makefile.am:
7107         Now hopefully fix the build failures by setting proper rule
7108         dependencies and moving instead of copying.
7109
7110 2007-04-19  Stefan Kost  <ensonic@users.sf.net>
7111
7112         * tests/benchmarks/complexity.gnuplot:
7113         * tests/benchmarks/complexity.scm:
7114         * tests/benchmarks/mass-elements.gnuplot:
7115         * tests/benchmarks/mass-elements.scm:
7116           Total licensification.
7117
7118 2007-04-19  Stefan Kost  <ensonic@users.sf.net>
7119
7120         * gst/parse/Makefile.am:
7121           Fix the build by correcting the rule that gave wrong files to flex.
7122
7123 2007-04-19  Stefan Kost  <ensonic@users.sf.net>
7124
7125         * tests/benchmarks/complexity.c:
7126         * tests/benchmarks/mass-elements.c:
7127           Change licence to LGPL as granted by Benjamin and Andy.
7128
7129 2007-04-19  Sebastian Dröge  <slomo@circular-chaos.org>
7130
7131         * gst/parse/Makefile.am:
7132         Add correct grammar.tab.h dependency if compiling without new enough
7133         flex. Fixes #431150.
7134
7135 2007-04-18  Sebastian Dröge  <slomo@circular-chaos.org>
7136
7137         * gst/parse/Makefile.am:
7138         Fix typo and use outdated sources if the flex/bison sources are newer
7139         than the pregenerated ones but flex is too old. Print a warning in
7140         that case. This should fix the build on the build bot.
7141
7142 2007-04-18  Sebastian Dröge  <slomo@circular-chaos.org>
7143
7144         Patch by: Marc-Andre Lureau <marcandre dot lureau at gmail dot com>
7145         * gst/parse/Makefile.am:
7146         * gst/parse/grammar.y:
7147         * gst/parse/parse.l:
7148         Make the parser reentrant and recursively callable. This requires flex
7149         >= 2.5.31, for older versions pregenerated sources are used as we
7150         can't bump the build dependency. Finally fixes #349180.
7151
7152         * gst/gstparse.c: (gst_parse_launch):
7153         Drop the HAVE_MT_SAVE_FLEX #ifdefs as we always use a new enough flex
7154         now anyway.
7155
7156         * docs/gst/Makefile.am:
7157         * docs/gst/Makefile.am:
7158         * gst/parse/grammar.tab.pre.c: (__gst_parse_strdup),
7159         (__gst_parse_strfree), (__gst_parse_link_new),
7160         (__gst_parse_link_free), (__gst_parse_chain_new),
7161         (__gst_parse_chain_free), (SET_ERROR), (YYPRINTF),
7162         (gst_parse_element_set), (gst_parse_free_link),
7163         (gst_parse_found_pad), (gst_parse_perform_delayed_link),
7164         (gst_parse_perform_link), (yytnamerr), (yysyntax_error), (yyerror),
7165         (_gst_parse_launch):
7166         * gst/parse/grammar.tab.pre.h:
7167         * gst/parse/lex._gst_parse_yy.pre.c: (PRINT), (yy_get_next_buffer),
7168         (yy_get_previous_state), (yy_try_NUL_trans), (input),
7169         (_gst_parse_yyrestart), (_gst_parse_yy_switch_to_buffer),
7170         (_gst_parse_yy_load_buffer_state), (_gst_parse_yy_create_buffer),
7171         (_gst_parse_yy_delete_buffer), (_gst_parse_yy_init_buffer),
7172         (_gst_parse_yy_flush_buffer), (_gst_parse_yypush_buffer_state),
7173         (_gst_parse_yypop_buffer_state),
7174         (_gst_parse_yyensure_buffer_stack), (_gst_parse_yy_scan_buffer),
7175         (_gst_parse_yy_scan_string), (_gst_parse_yy_scan_bytes),
7176         (yy_fatal_error), (_gst_parse_yyget_extra),
7177         (_gst_parse_yyget_lineno), (_gst_parse_yyget_column),
7178         (_gst_parse_yyget_in), (_gst_parse_yyget_out),
7179         (_gst_parse_yyget_leng), (_gst_parse_yyget_text),
7180         (_gst_parse_yyset_extra), (_gst_parse_yyset_lineno),
7181         (_gst_parse_yyset_column), (_gst_parse_yyset_in),
7182         (_gst_parse_yyset_out), (_gst_parse_yyget_debug),
7183         (_gst_parse_yyset_debug), (_gst_parse_yyget_lval),
7184         (_gst_parse_yyset_lval), (_gst_parse_yylex_init),
7185         (yy_init_globals), (_gst_parse_yylex_destroy), (yy_flex_strncpy),
7186         (yy_flex_strlen), (_gst_parse_yyalloc), (_gst_parse_yyrealloc),
7187         (_gst_parse_yyfree):
7188         If the installed flex version is too old use pre-generated parser
7189         sources. These pre-generated parser sources are always updated when
7190         the actual flex/bison sources change but require everybody who wants
7191         to change something in the parser to have flex >= 2.5.31 installed.
7192
7193 2007-04-18  Stefan Kost  <ensonic@users.sf.net>
7194
7195         * common/m4/gst-gettext.m4:
7196         * gst/gst-i18n-lib.h:
7197           Make --disable-nls to work
7198
7199 2007-04-17  Wim Taymans  <wim@fluendo.com>
7200
7201         * gst/gstconfig.h.in:
7202         Revert previous change that broke the build.
7203
7204 2007-04-17  Stefan Kost  <ensonic@users.sf.net>
7205
7206         * configure.ac:
7207         * gst/Makefile.am:
7208         * gst/gstconfig.h.in:
7209           Drop libxml2 dependency when building with 
7210           --enable-binary-registry --disable-loadsave
7211
7212 2007-04-16  Tim-Philipp Müller  <tim at centricular dot net>
7213
7214         * gst/gstregistrybinary.c: (gst_registry_binary_write_cache),
7215         (gst_registry_binary_read_cache):
7216         * gst/gstregistrybinary.h:
7217           Remove unnecessary <sys/mman.h> include which broke the win32 build
7218           with MingW; move includes from header file to .c file, even if the
7219           header file isn't installed; use g_strerror() where UTF-8 strings
7220           are expected, such as in GST_DEBUG messages.
7221
7222 2007-04-13  Jan Schmidt  <thaytan@mad.scientist.com>
7223
7224         * docs/libs/gstreamer-libs-sections.txt:
7225         Remove bogus addition for API I didn't end up keeping.
7226
7227         * libs/gst/base/gstbasesrc.h:
7228         Mention Since: 0.10.13 in the documentation.
7229
7230         Add the API keyword to the previous ChangeLog entry.
7231
7232 2007-04-13  Jan Schmidt  <thaytan@mad.scientist.com>
7233
7234         * docs/libs/gstreamer-libs-sections.txt:
7235         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
7236         (gst_base_src_default_prepare_seek_segment),
7237         (gst_base_src_prepare_seek_segment), (gst_base_src_perform_seek):
7238         * libs/gst/base/gstbasesrc.h:
7239         Allow basesrc derived classes to execute seeks in other formats
7240         by providing a prepare_seek_segment vmethod. Sub-classes can choose
7241         to prepare the GstSegment in any format that their perform_seek method
7242         will be able to understand. The default implementation provides the
7243         old behaviour of attempting to convert the seek offsets to the 
7244         configured native format.
7245
7246         API: basesrc::prepare_seek_segment vmethod.
7247
7248 2007-04-13  Jan Schmidt  <thaytan@mad.scientist.com>
7249
7250         * gst/gstelement.c: (gst_element_get_state_func):
7251         Don't output the same debug statement twice.
7252
7253         * libs/gst/base/gstadapter.c: (gst_adapter_try_to_merge_up),
7254         (gst_adapter_peek), (gst_adapter_take_buffer):
7255         Optimise the case where we have buffers at the head of the queue that
7256         can be joined quickly (because they're contiguous sub-buffers) by
7257         merging them together rather than copying data out into new memory.
7258
7259         * gst/parse/grammar.y:
7260         * tests/check/pipelines/parse-launch.c:
7261         Fix a leak in an error path for parse_launch, and add a check 
7262         for it to the testsuite.
7263
7264 2007-04-13  Jan Schmidt  <thaytan@mad.scientist.com>
7265
7266         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_release_pad):
7267           Don't deadlock when releasing a pad - gst_pad_set_active may try
7268           and take the multiqueue lock too.
7269
7270 2007-04-12  Tim-Philipp Müller  <tim at centricular dot net>
7271
7272         * gst/gsterror.c: (_gst_core_errors_init):
7273         * gst/gsterror.h:
7274           API: add GST_CORE_ERROR_DISABLED (#392804).
7275
7276 2007-04-12  Thomas Vander Stichele  <thomas at apestaart dot org>
7277
7278         * docs/faq/gst-uninstalled:
7279           don't get empty paths on the PATH variables
7280         * gst/gstpad.c (gst_pad_is_active, gst_pad_set_blocked_async):
7281           Don't format for the uncommon terminal width of 84 characters.
7282
7283 2007-04-06  Wim Taymans  <wim@fluendo.com>
7284
7285         * gst/gstpipeline.c: (reset_stream_time),
7286         (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time):
7287         Only try to select a different pipeline clock when we went back to
7288         PAUSED and not when we merely got flushed.
7289
7290 2007-04-05  Michael Smith  <msmith@fluendo.com>
7291
7292         * tools/gst-launch.1.in:
7293           fractions are better supported in gstreamer than ractions, so
7294           suggest using those.
7295
7296 2007-04-05  Thomas Vander Stichele  <thomas at apestaart dot org>
7297
7298         Submitted by: Mogens Jaeger <mogens@jaeger.tf>
7299
7300         * po/LINGUAS:
7301         * po/da.po:
7302           Added Danish translation.
7303
7304 2007-04-05  Wim Taymans  <wim@fluendo.com>
7305
7306         * libs/gst/base/gstbasesink.c:
7307         (gst_base_sink_queue_object_unlocked), (gst_base_sink_event):
7308         Fix leak caused when refusing newsegment after EOS.
7309
7310         * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init),
7311         (gst_fake_sink_init), (gst_fake_sink_set_property),
7312         (gst_fake_sink_get_property), (gst_fake_sink_preroll),
7313         (gst_fake_sink_render), (gst_fake_sink_change_state):
7314         * plugins/elements/gstfakesink.h:
7315         Add num-buffers property to make the element generate EOS after a
7316         configurable amount of buffers.
7317         API: fakesink::num-buffers property.
7318
7319         * tests/check/elements/fakesink.c: (GST_START_TEST),
7320         (fakesink_suite):
7321         Fix GstBus leak in test.
7322         Test for fakesink num-buffers.
7323
7324 2007-04-05  Wim Taymans  <wim@fluendo.com>
7325
7326         * libs/gst/base/gstbasesink.c:
7327         (gst_base_sink_queue_object_unlocked), (gst_base_sink_event),
7328         (gst_base_sink_change_state):
7329         Don't accept anything after an EOS, return UNEXPECTED instead.
7330
7331         * tests/check/elements/fakesink.c: (GST_START_TEST),
7332         (fakesink_suite):
7333         Unit test for new EOS behaviour.
7334
7335 2007-04-05  Wim Taymans  <wim@fluendo.com>
7336
7337         * gst/gstelement.c: (gst_element_get_request_pad):
7338         Make padtemplates also work when they don't contain %s or %d.
7339
7340 2007-04-05  Wim Taymans  <wim@fluendo.com>
7341
7342         * docs/gst/gstreamer-sections.txt:
7343         * gst/gstclock.c: (gst_clock_adjust_unlocked),
7344         (gst_clock_unadjust_unlocked), (gst_clock_set_calibration):
7345         * gst/gstclock.h:
7346         Improve _adjust_unlocked() so that it overflows less.
7347         Add gst_clock_unadjust_unlocked to convert from external time to
7348         internal time based on calibration.
7349         Add some more debug.
7350         API: GstClock::gst_clock_unadjust_unlocked()
7351
7352 2007-04-03  Wim Taymans  <wim@fluendo.com>
7353
7354         Patch by: Tommi Myöhänen <ext-tommi dot myohanen at nokia dot com>
7355
7356         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_release_pad):
7357         Deactivate pads and free GstSingleQueue with gst_single_queue_free()
7358         when releasing sink pad. Fixes #425400.
7359
7360 2007-04-02  Stefan Kost  <ensonic@users.sf.net>
7361
7362         * docs/random/ensonic/dynlink.txt:
7363           More work on proposal for new core api.
7364
7365         * docs/libs/gstreamer-libs-sections.txt:
7366         * libs/gst/base/gstbasetransform.h:
7367           API: GST_BASE_TRANSFORM_LOCK/UNLOCK added
7368           
7369         * libs/gst/controller/gstcontroller.c:
7370         (on_object_controlled_property_changed),
7371         (gst_controller_sync_values),
7372         (gst_controller_set_interpolation_mode):
7373         * libs/gst/controller/gstcontroller.h:
7374           Less verbose logging add docs for unimplemented parts and correctly
7375           return when using unavailable parts.
7376
7377 2007-03-29  Jan Schmidt  <thaytan@mad.scientist.com>
7378
7379         * gst/gstclock.c: (gst_clock_set_master), (do_linear_regression):
7380         Move all the debug to the CLOCK category, and associate it with
7381         the clock object.
7382
7383 2007-03-29  Jan Schmidt  <thaytan@mad.scientist.com>
7384
7385         * libs/gst/base/gstadapter.c: (gst_adapter_take_buffer):
7386         Make take_buffer a bit quicker by removing redundant checks
7387         caused by calling gst_adapter_take.
7388
7389 2007-03-28  Tim-Philipp Müller  <tim at centricular dot net>
7390
7391         * plugins/elements/gstmultiqueue.c: (gst_single_queue_free):
7392           Don't leak GCond.
7393
7394         * tests/check/Makefile.am:
7395         * tests/check/elements/.cvsignore:
7396         * tests/check/elements/multiqueue.c: (setup_multiqueue),
7397         (GST_START_TEST), (multiqueue_suite):
7398           Add some dead simple unit tests for the 'multiqueue' element
7399           (some bits don't work yet and are disabled for now).
7400
7401 2007-03-28  Tim-Philipp Müller  <tim at centricular dot net>
7402
7403         * gst/gstelement.c: (gst_element_get_request_pad),
7404         (gst_element_class_get_request_pad_template):
7405           Make gst_element_get_request_pad() create request pads only for
7406           request pad templates and not for, say, sometimes pad templates.
7407
7408 2007-03-28  Stefan Kost  <ensonic@users.sf.net>
7409
7410         * docs/design/draft-klass.txt:
7411           Add example that needs more thinking.
7412         
7413         * docs/design/draft-missing-plugins.txt:
7414           More thoughts about wrapper plugins.
7415         
7416         * docs/random/ensonic/embedded.txt:
7417         * docs/random/ensonic/profiling.txt:
7418           More design work.
7419
7420 2007-03-25  Wim Taymans  <wim@fluendo.com>
7421
7422         * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range),
7423         (gst_base_src_loop):
7424         Only push the segment events in the PLAYING state for live sources.
7425
7426 2007-03-23  Jan Schmidt  <thaytan@mad.scientist.com>
7427
7428         * gst/gstpipeline.c: (gst_pipeline_change_state):
7429         Modify the clock distribution path in PAUSED->PLAYING so that we 
7430         never attempt to choose a new clock unless we're actually leaving
7431         the PAUSED state for the first time. This prevents choosing a
7432         different clock when the state_change gets called for a 2nd time due
7433         to some element doing an async state change.
7434
7435 2007-03-22  Sebastian Dröge  <slomo@circular-chaos.org>
7436
7437         * gst/gstpad.c: (gst_pad_set_caps), (gst_pad_configure_sink),
7438         (gst_pad_configure_src), (gst_pad_alloc_buffer_full),
7439         (gst_pad_chain_unchecked), (gst_pad_push):
7440         Revert last commit. This needs some more thoughts.
7441
7442 2007-03-22  Sebastian Dröge  <slomo@circular-chaos.org>
7443
7444         * gst/gstpad.c: (gst_pad_set_caps), (gst_pad_alloc_buffer_full),
7445         (gst_pad_chain_unchecked), (gst_pad_push):
7446         Check in set_caps if the caps are compatible with the pad and remove
7447         two functions that are redundant now. Fixes #421543.
7448
7449 2007-03-22  Wim Taymans  <wim@fluendo.com>
7450
7451         * tests/check/gst/gstsystemclock.c: (GST_START_TEST),
7452         (mixed_thread), (mixed_async_cb), (gst_systemclock_suite):
7453         Unref some more to make valgrind happy.
7454
7455 2007-03-22  Wim Taymans  <wim@fluendo.com>
7456
7457         * gst/gstsystemclock.c: (gst_system_clock_id_wait_jitter_unlocked),
7458         (gst_system_clock_id_wait_jitter),
7459         (gst_system_clock_id_wait_async), (gst_system_clock_id_unschedule):
7460         Fix anoying regression that survived a few releases. When adding an
7461         async entry while blocking on a sync entry, the sync entry will unblock
7462         but still be busy, so it should continue to wait instead of returning
7463         _BUSY to the app.
7464         Add some comments here and there.
7465
7466         * tests/check/gst/gstsystemclock.c: (mixed_thread),
7467         (mixed_async_cb), (GST_START_TEST), (gst_systemclock_suite):
7468         Add testcase for this.
7469
7470 2007-03-22  Wim Taymans  <wim@fluendo.com>
7471
7472         * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range):
7473         Handle errors from the clock sync better, only UNSCHEDULED indicates a
7474         WRONG_STATE and can silently pause the task. All other cases should
7475         error out.
7476
7477 2007-03-22  Wim Taymans  <wim@fluendo.com>
7478
7479         Patch by: Ville Syrjala <syrjala at sci dot fi>
7480
7481         * gst/gstpad.c: (gst_pad_alloc_buffer_full), (gst_pad_send_event):
7482         Fix possible deadlock if pad eventfunc is not specified.  Fixes #421177.
7483         Improve debugging.
7484
7485 2007-03-21  Michael Smith  <msmith@fluendo.com>
7486
7487         * docs/pwg/advanced-types.xml:
7488           Fix some errors in the typefinding docs pointed out on irc.
7489
7490 2007-03-21  Jan Schmidt  <thaytan@mad.scientist.com>
7491
7492         * libs/gst/base/gstbasesrc.c:
7493         Clarify FIXME comment in the face of having added unlock_stop()
7494
7495 2007-03-21  Wim Taymans  <wim@fluendo.com>
7496
7497         * gst/gstbin.c: (gst_bin_get_type), (gst_bin_element_set_state):
7498         Prepare for release where we warn against possible app breakage in the
7499         case of live pipelines along with an env var to enable/disable live
7500         preroll mode (GST_COMPAT=[no-]live-preroll).
7501
7502 2007-03-20  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
7503
7504         * plugins/elements/gstidentity.c (gst_identity_check_imperfect_offset):
7505         So we should use correct constants for checking for None offset.
7506
7507 2007-03-20  Wim Taymans  <wim@fluendo.com>
7508
7509         * docs/design/part-block.txt:
7510         Mention the fact that the newly switched element should be set to at
7511         least PAUSED.
7512
7513 2007-03-20  Wim Taymans  <wim@fluendo.com>
7514
7515         * gst/gst.c:
7516         Fix compilation with registry disabled as spotted by Saur.
7517
7518 2007-03-20  Wim Taymans  <wim@fluendo.com>
7519
7520         Patch by: Olivier Crete <tester at tester dot ca>
7521
7522         * gst/gstelement.c: (gst_element_sync_state_with_parent):
7523         Look at the pending state too when syncing the element state to the
7524         parent. Fixes #420133.
7525
7526 2007-03-19  Jan Schmidt  <thaytan@mad.scientist.com>
7527
7528         * libs/gst/base/gstbasesink.c: (gst_base_sink_set_flushing),
7529         (gst_base_sink_change_state):
7530         * libs/gst/base/gstbasesink.h:
7531         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
7532         (gst_base_src_default_event), (gst_base_src_unlock_stop),
7533         (gst_base_src_deactivate):
7534         * libs/gst/base/gstbasesrc.h:
7535         Add ::unlock_stop to basesrc and basesink. This allows an opportunity
7536         for sub-classes to correctly clear any state they set trying to
7537         unlock, such as clearing out unlock commands from a command fd.
7538         API: basesrc::unlock_stop
7539         API: basesink::unlock_stop
7540
7541         * plugins/elements/gstfdsink.c: (gst_fd_sink_class_init),
7542         (gst_fd_sink_render), (gst_fd_sink_unlock),
7543         (gst_fd_sink_unlock_stop):
7544         * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init),
7545         (gst_fd_src_init), (gst_fd_src_unlock), (gst_fd_src_unlock_stop),
7546         (gst_fd_src_create), (gst_fd_src_get_size), (gst_fd_src_do_seek):
7547
7548         Implement unlock_stop in fdsrc and fdsink.
7549         Implement seeking in fdsrc when a seekable fd is passed, as in
7550         gst-launch-0.10 fdsrc ! ... ! xvimagesink < /path/to/file
7551
7552 2007-03-19  Wim Taymans  <wim@fluendo.com>
7553
7554         Patch by: Evan Nemerson <evan at coeus dash group dot com>
7555
7556         * gst/gstelement.c: (gst_element_class_init):
7557         Fix pad-added and pad-removed signal signatures so that the pad type is
7558         stated as GST_TYPE_PAD instead of G_TYPE_OBJECT. Fixes #419851.
7559
7560 2007-03-19  Wim Taymans  <wim@fluendo.com>
7561
7562         * docs/gst/gstreamer-sections.txt:
7563         Add new element field and method.
7564
7565         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
7566         (bin_remove_messages), (gst_bin_add_func), (gst_bin_remove_func),
7567         (gst_bin_recalc_state), (gst_bin_get_state_func),
7568         (gst_bin_element_set_state), (gst_bin_change_state_func),
7569         (gst_bin_continue_func), (bin_bus_handler),
7570         (bin_push_state_continue), (bin_handle_async_start),
7571         (bin_handle_async_done), (gst_bin_handle_message_func):
7572         Make async state changes a bit smarter by using new ASYNC_START and
7573         ASYNC_DONE messages. This reduces the number of times we run the state
7574         recalculation thread.
7575         Don't change state of element with a pending ASYNC_START message.
7576         Deprecate STATE_DIRTY messages.
7577         
7578         * gst/gstelement.c: (gst_element_init), (gst_element_send_event),
7579         (gst_element_get_state_func), (gst_element_continue_state),
7580         (gst_element_lost_state), (gst_element_set_state_func),
7581         (gst_element_change_state):
7582         * gst/gstelement.h:
7583         Keep the state that was last set by the app in a new element field.
7584         Don't allow state changes when handling an element event.
7585         Post ASYNC_START and ASYNC_DONE messages.
7586         Change lost_state so that we go to PAUSED and wait for the parent to set
7587         us to PLAYING again (so latency calculation can be performed)
7588         Export gst_element_change_state() method so that subclasses can use it.
7589         API: gst_element_change_state()
7590         API: GST_STATE_TARGET
7591
7592         * gst/gstpipeline.c: (gst_pipeline_class_init),
7593         (reset_stream_time), (gst_pipeline_change_state),
7594         (gst_pipeline_handle_message), (gst_pipeline_set_new_stream_time):
7595         Using the new ASYNC_START message we can reset the base_time when
7596         needed. This can then be used to implement base_time redistribution in
7597         flushing seeks so that we can remove the explicit seek handling.
7598         Perform latency query and configuration when going to PLAYING.
7599
7600         * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
7601         (gst_base_sink_query), (gst_base_sink_change_state):
7602         Post new ASYNC_START/ASYNC_DONE messages.
7603
7604         * tests/check/generic/sinks.c: (GST_START_TEST):
7605         Fix test because the bin will not set the async element to PLAYING right
7606         away.
7607
7608         * tests/check/gst/gstbin.c: (pop_async_done), (GST_START_TEST):
7609         Make the message check a little stronger.
7610         Handle ASYNC messages.
7611
7612         * tests/check/pipelines/cleanup.c: (GST_START_TEST):
7613         * tests/check/pipelines/simple-launch-lines.c: (GST_START_TEST):
7614         Expect ASYNC_DONE messages.
7615
7616 2007-03-19  Wim Taymans  <wim@fluendo.com>
7617
7618         * docs/gst/gstreamer-sections.txt:
7619         * gst/gstmessage.c: (gst_message_new_async_start),
7620         (gst_message_new_async_done), (gst_message_parse_info),
7621         (gst_message_parse_async_start):
7622         * gst/gstmessage.h:
7623         Add ASYNC_START and ASYNC_DONE messages to prepare for latency
7624         support.
7625
7626 2007-03-15  Tim-Philipp Müller  <tim at centricular dot net>
7627
7628         * tools/gst-inspect.c:
7629         (print_plugin_automatic_install_info_codecs):
7630           Now that we don't check for the 'Codec' keyword any longer in the
7631           klass, we shouldn't spew a warning if the klass isn't a decoder or
7632           encoder (since it might be a Source/Network, for example).
7633
7634 2007-03-14  Tim-Philipp Müller  <tim at centricular dot net>
7635
7636         * tools/gst-inspect.c:
7637         (print_plugin_automatic_install_info_codecs):
7638           Don't require decoder/demuxer/depayloader elements or
7639           encoder/muxer/paylader elements to have 'Codec' as part of their
7640           factory class string when introspecting a plugin's capabilities.
7641           draft-klass.txt mentions that it might be removed in future, and
7642           flump3dec doesn't have it as part of its class string, so chances
7643           are others might also not have it.
7644
7645 2007-03-14  Thomas Vander Stichele  <thomas at apestaart dot org>
7646
7647         * po/af.po:
7648         * po/az.po:
7649         * po/bg.po:
7650         * po/ca.po:
7651         * po/cs.po:
7652         * po/de.po:
7653         * po/en_GB.po:
7654         * po/fr.po:
7655         * po/it.po:
7656         * po/nb.po:
7657         * po/nl.po:
7658         * po/ru.po:
7659         * po/sq.po:
7660         * po/sr.po:
7661         * po/sv.po:
7662         * po/tr.po:
7663         * po/uk.po:
7664         * po/vi.po:
7665         * po/zh_CN.po:
7666         * po/zh_TW.po:
7667           Update translations from translation project
7668
7669 2007-03-14  Stefan Kost  <ensonic@users.sf.net>
7670
7671         * gst/gstchildproxy.c: (gst_child_proxy_get_property),
7672         (gst_child_proxy_set_property):
7673           Invert precondition check to be alike the ones in the mimiced gobject
7674           api.
7675
7676 2007-03-13  Stefan Kost  <ensonic@users.sf.net>
7677
7678         * docs/design/draft-tagreading.txt:
7679         * docs/random/ensonic/audiobaseclasses.txt:
7680           Do some Architect work.
7681
7682         * gst/gstobject.c: (gst_object_set_name):
7683           Add a WARNING.
7684
7685         * gst/gstpad.c:
7686           Add docs that point from gst_pad_get_range to gst_pad_pull_range
7687
7688 2007-03-12  Jan Schmidt  <thaytan@mad.scientist.com>
7689
7690         * gst/gstsystemclock.c: (gst_system_clock_init),
7691         (gst_system_clock_start_async), (gst_system_clock_id_wait_async):
7692         Defer starting the async system clock thread until the first async
7693         wait is scheduled. Fixes #414986.
7694
7695 2007-03-12  Tim-Philipp Müller  <tim at centricular dot net>
7696
7697         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_finalize),
7698         (gst_single_queue_free):
7699           Fix small leak (free GstSingleQueue structure too, not only contents).
7700
7701 2007-03-10  Sebastien Moutte  <sebastien@moutte.net>
7702
7703         * gst/gstbin.c:(gst_bin_add):
7704         Use GST_STR_NULL to prevent NULL pointer to be passed to GST_CAT_DEBUG.
7705         * win32/common/libgstbase.def:
7706         * win32/common/libgstreamer.def:
7707         Add new exported functions.
7708
7709 2007-03-09  Wim Taymans  <wim@fluendo.com>
7710
7711         * docs/plugins/gstreamer-plugins-sections.txt:
7712         Fix GstTee docs.
7713
7714 2007-03-09  Wim Taymans  <wim@fluendo.com>
7715
7716         * docs/gst/gstreamer-sections.txt:
7717         * gst/gstbuffer.c: (gst_buffer_copy_metadata), (_gst_buffer_copy):
7718         * gst/gstbuffer.h:
7719         Add metadata copy functions. Fixes #393099.
7720         API: gst_buffer_copy_metadata()
7721
7722         * gst/gstutils.c: (gst_buffer_stamp):
7723         * libs/gst/base/gstbasetransform.c:
7724         (gst_base_transform_prepare_output_buffer):
7725         Use new metadata copy functions.
7726
7727 2007-03-09  Thomas Vander Stichele  <thomas at apestaart dot org>
7728
7729         * plugins/elements/gstidentity.c: (gst_identity_class_init),
7730         (gst_identity_init), (gst_identity_check_perfect),
7731         (gst_identity_check_imperfect_timestamp),
7732         (gst_identity_check_imperfect_offset), (gst_identity_transform_ip),
7733         (gst_identity_set_property), (gst_identity_get_property):
7734         * plugins/elements/gstidentity.h:
7735         Separate out check-imperfect-timestamp and check-imperfect-offset.
7736         Put back check-perfect as it was to keep compatibility.
7737
7738 2007-03-09  Jan Schmidt  <thaytan@mad.scientist.com>
7739
7740         * gst/gstelement.c: (gst_element_dispose):
7741         There's no need to warn if VOID_PENDING is not NONE here, as
7742         long as the state is NULL it's ok, and that's checked immediately
7743         above.
7744
7745 2007-03-08  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
7746
7747         * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
7748         Fix check for perfect stream to ignore buffers with -1 
7749         offsets/offset ends when checking data contiguity.
7750
7751 2007-03-08  Wim Taymans  <wim@fluendo.com>
7752
7753         * tools/gst-launch.c: (event_loop):
7754         Print INFO messages.
7755
7756 2007-03-08  Wim Taymans  <wim@fluendo.com>
7757
7758         * libs/gst/base/gstbasetransform.c:
7759         (gst_base_transform_sink_eventfunc),
7760         (gst_base_transform_handle_buffer), (gst_base_transform_chain),
7761         (gst_base_transform_activate):
7762         * libs/gst/base/gstbasetransform.h:
7763         Add support for dropping buffers with custom GstFlowReturn.
7764         Set DISCONT flags on outgoing buffers based on QoS, incomming DISCONT
7765         buffers or dropped buffers.
7766
7767         * docs/libs/gstreamer-libs-sections.txt:
7768         docs for new custom return code.
7769
7770         * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
7771         Use drop support in base class to implement drop-probability.
7772
7773 2007-03-07  Tim-Philipp Müller  <tim at centricular dot net>
7774
7775         * gst/gst.c: (load_plugin_func):
7776         * gst/gstplugin.c: (gst_plugin_load_by_name), (gst_plugin_load):
7777         * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
7778         * gst/gsttrace.c: (gst_trace_new), (gst_alloc_trace_set_flags_all):
7779           Remove newlines at end of debug log strings.
7780
7781 2007-03-07  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
7782
7783         * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
7784         Only post bus message at max, once per buffer received.
7785
7786 2007-03-07  Wim Taymans  <wim@fluendo.com>
7787
7788         * docs/design/Makefile.am:
7789         * docs/design/part-synchronisation.txt:
7790         Add doc about synchronisation
7791
7792         * docs/design/draft-latency.txt:
7793         * docs/design/part-TODO.txt:
7794         * docs/design/part-clocks.txt:
7795         * docs/design/part-events.txt:
7796         * docs/design/part-gstbus.txt:
7797         * docs/design/part-gstpipeline.txt:
7798         * docs/design/part-live-source.txt:
7799         * docs/design/part-messages.txt:
7800         * docs/design/part-overview.txt:
7801         * docs/design/part-streams.txt:
7802         * docs/design/part-trickmodes.txt:
7803         Documentation updates.
7804
7805 2007-03-07  Jan Schmidt  <thaytan@mad.scientist.com>
7806
7807         * gstreamer.doap:
7808         Update the doap file.
7809
7810 2007-03-07  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
7811
7812         * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
7813         Rename non-perfect to imperfect for Mike and for the sanctity of the
7814         language.
7815         Also make sure bus message gets emitted for data-incontiguities.
7816
7817 2007-03-07  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
7818
7819         * plugins/elements/gstidentity.c: (gst_identity_check_perfect),
7820         (gst_identity_start):
7821         * plugins/elements/gstidentity.h:
7822         Emit bus message if check-perfect is true and we encounter a
7823         non-perfect stream between 2 consecutive buffers.
7824         Fixes #415394.
7825
7826 2007-03-07  Jan Schmidt  <thaytan@mad.scientist.com>
7827
7828         * configure.ac:
7829         Back to CVS
7830
7831 === release 0.10.12 ===
7832
7833 2007-03-07  Jan Schmidt <thaytan@mad.scientist.com>
7834
7835         * configure.ac:
7836           releasing 0.10.12, "Inevitable Demise"
7837
7838 2007-03-01  Jan Schmidt  <thaytan@mad.scientist.com>
7839
7840         * configure.ac:
7841          Version 0.10.11.2 (0.10.12 pre-release)
7842          Bump libtool versioning.
7843
7844 2007-03-01  Stefan Kost  <ensonic@users.sf.net>
7845
7846         * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
7847           Log flow-names and not numbers.
7848
7849 2007-02-28  Thomas Vander Stichele  <thomas at apestaart dot org>
7850
7851         * configure.ac:
7852           Convert to new AG_GST style.
7853
7854 2007-02-28  Wim Taymans  <wim@fluendo.com>
7855
7856         * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency):
7857         Don't unref query twice.
7858
7859 2007-02-28  Wim Taymans  <wim@fluendo.com>
7860
7861         * gst/gstvalue.c: (gst_value_transform_object_string),
7862         (_gst_value_initialize):
7863         Implement GstObject -> string transform so we print object names
7864         when serializing GValues containing GstObjects.
7865
7866 2007-02-28  Wim Taymans  <wim@fluendo.com>
7867
7868         * docs/gst/gstreamer-sections.txt:
7869         Add new stuff to docs.
7870
7871 2007-02-28  Wim Taymans  <wim@fluendo.com>
7872
7873         * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency),
7874         (gst_base_sink_queue_object_unlocked), (gst_base_sink_send_event),
7875         (gst_base_sink_change_state):
7876         Improve latency query code.
7877         Don't leak latency events.
7878
7879         * tests/check/gst/gstbin.c: (GST_START_TEST):
7880         Improve debugging.
7881
7882 2007-02-28  Wim Taymans  <wim@fluendo.com>
7883
7884         * gst/gstelement.c: (gst_element_message_full),
7885         (gst_element_get_state_func):
7886         * gst/gstelement.h:
7887         Improve docs a little. Added Since: for new macro.
7888
7889         * gst/gstobject.c: (gst_object_sink):
7890         * gst/gstpipeline.c: (gst_pipeline_change_state),
7891         (gst_pipeline_set_new_stream_time):
7892         * gst/gstpipeline.h:
7893         Improve debugging and docs.
7894
7895         * gst/gstutils.c: (gst_element_state_change_return_get_name):
7896         Improve debugging.
7897
7898 2007-02-28  Wim Taymans  <wim@fluendo.com>
7899
7900         * gst/gstelement.c: (gst_element_message_full),
7901         (gst_element_set_locked_state), (gst_element_get_state_func),
7902         (gst_element_change_state):
7903         Handle INFO messages from the GST_ELEMENT_INFO macro as well.
7904         Documentation updates.
7905         Small code cleanups.
7906
7907         * gst/gstmessage.c: (gst_message_new_info),
7908         (gst_message_parse_info):
7909         * gst/gstmessage.h:
7910         API: gst_message_new_info()
7911         API: gst_message_parse_info()
7912         Add INFO message create and parse code.
7913
7914 2007-02-28  Wim Taymans  <wim@fluendo.com>
7915
7916         * gst/gstbin.c: (bin_query_min_max_init), (bin_query_latency_fold),
7917         (bin_query_latency_done):
7918         Also report the live parameter of a latency query.
7919
7920 2007-02-28  Thomas Vander Stichele  <thomas at apestaart dot org>
7921
7922         * tests/check/generic/states.c: (GST_START_TEST), (states_suite):
7923           Copy the current generic/states example from -base and adapt so
7924           we can use the exact same code everywhere.
7925           Check a STATES_IGNORE_ELEMENTS env var which can be used
7926           to ignore certain element factories for this test, which is
7927           what is being done in -base
7928         * tests/check/Makefile.am:
7929           Mention this environment variable.
7930
7931 2007-02-27  Wim Taymans  <wim@fluendo.com>
7932
7933         * docs/gst/gstreamer-sections.txt:
7934         * gst/gstbus.c: (gst_bus_init), (gst_bus_dispose), (gst_bus_post),
7935         (gst_bus_timed_pop), (gst_bus_pop):
7936         * gst/gstbus.h:
7937         API: gst_bus_timed_pop()
7938         Implement gst_bus_timed_pop() to do a blocking timed wait for a
7939         message to arrive on the bus.
7940
7941         * tests/check/gst/gstbus.c: (GST_START_TEST), (pop_thread),
7942         (gst_bus_suite):
7943         Two unit tests for new _timed_pop() function.
7944
7945 2007-02-23  Wim Taymans  <wim@fluendo.com>
7946
7947         * gst/gstpipeline.c: (gst_pipeline_change_state),
7948         (gst_pipeline_provide_clock_func), (gst_pipeline_set_delay):
7949         Don't ref a NULL clock in _provide_clock_func().
7950         Don't allow an INVALID delay.
7951         Don't try to calculate base_time with an invalid start_time.
7952         Also distribute and notify a NULL clock when it was selected.
7953
7954         * tools/gst-launch.c: (event_loop):
7955         Don't crash when a NULL clock was selected in the pipeline.
7956
7957 2007-02-23  Tim-Philipp Müller  <tim at centricular dot net>
7958
7959         * docs/design/Makefile.am:
7960         * docs/design/draft-missing-plugins.txt:
7961         * docs/random/draft-missing-plugins.txt:
7962           Some small updates: update plugin system identifier prefix
7963           ('gstreamer.net' to 'gstreamer'), mention our new install
7964           API in libgstbaseutils rather than libgimme-codec, add
7965           reference to the online docs.
7966
7967 2007-02-21  Thomas Vander Stichele  <thomas at apestaart dot org>
7968
7969         * win32/common/config.h:
7970           Pretty sure Bill never made a powerpc version.  Powerpc hackers,
7971           use moap cl ci to only check in what is mentioned in the ChangeLog.
7972
7973 2007-02-21  Thomas Vander Stichele  <thomas at apestaart dot org>
7974
7975         * docs/gst/gstreamer-sections.txt:
7976         * gst/gstelement.h:
7977           Fix up documentation to link to the correct GstGError section.
7978           Add GST_ELEMENT_INFO macro since someone else added a Info message.
7979
7980 2007-02-21  Thomas Vander Stichele  <thomas at apestaart dot org>
7981
7982         * tools/gst-launch.c: (event_loop):
7983           Make sure that we actually show the important message part of a
7984           warning message.
7985           No need to check if the gerror is not NULL to free; first of all
7986           g_free accepts NULL; and second the default error handler would
7987           segfault if gerror was NULL.
7988
7989 2007-02-21  Wim Taymans  <wim@fluendo.com>
7990
7991         * docs/gst/gstreamer-sections.txt:
7992         Removed docs as well.
7993
7994 2007-02-21  Wim Taymans  <wim@fluendo.com>
7995
7996         * gst/gstmessage.c: (gst_message_parse_duration):
7997         * gst/gstmessage.h:
7998         Remove new messages for release.
7999
8000 2007-02-20  Wim Taymans  <wim@fluendo.com>
8001
8002         * docs/design/part-gstghostpad.txt:
8003         * gst/gstghostpad.c: (gst_ghost_pad_dispose),
8004         (gst_ghost_pad_new_full):
8005         Make the ghostpad a parent of the internal pad again for better backward
8006         compatibility. Don't write code that relies on this however.
8007
8008         * gst/gstpad.c: (gst_pad_activate_pull), (gst_pad_activate_push),
8009         (gst_pad_link_check_hierarchy):
8010         Require that parents should be GstElements in the hierarchy check.
8011
8012 2007-02-20  Wim Taymans  <wim@fluendo.com>
8013
8014         * gst/gstbin.c: (bin_replace_message), (gst_bin_add_func),
8015         (gst_bin_change_state_func), (bin_query_min_max_init),
8016         (bin_query_latency_fold), (bin_query_latency_done),
8017         (gst_bin_query):
8018         Improve debug info.
8019         Implement latency query.
8020
8021 2007-02-20  Wim Taymans  <wim@fluendo.com>
8022
8023         * docs/design/part-gstghostpad.txt:
8024         * gst/gstghostpad.c: (gst_ghost_pad_class_init),
8025         (gst_ghost_pad_internal_do_activate_push),
8026         (gst_ghost_pad_internal_do_activate_pull),
8027         (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
8028         (gst_ghost_pad_do_link), (gst_ghost_pad_dispose),
8029         (gst_ghost_pad_new_full), (gst_ghost_pad_set_target):
8030         Do not set the internal pad as a parent anymore so we can avoid
8031         hierarchy linking errors when the ghostpad has no parent yet. This also
8032         fixes failed activation because of unlinked internal pads, which in
8033         turn fixes the impossible case where you have to activate a pad before
8034         you can add it to a running element.
8035         Also fix the docs.
8036
8037         * gst/gstpad.c: (pre_activate), (post_activate),
8038         (gst_pad_set_active), (gst_pad_activate_pull),
8039         (gst_pad_activate_push), (gst_pad_check_pull_range):
8040         Add some more debug info.
8041         Mark activation mode in pre_activate so that we don't try to activate in
8042         endless loops. Fixes #385084.
8043
8044 2007-02-19  Wim Taymans  <wim@fluendo.com>
8045
8046         * libs/gst/base/gstbasetransform.c: (gst_base_transform_init),
8047         (gst_base_transform_check_get_range):
8048         Implement a checkgetrange function instead of relying on the default
8049         core behaviour that assumes we can operate in pull mode if we have a
8050         getrange function. First step at fixing #385084.
8051
8052 2007-02-15  Stefan Kost  <ensonic@users.sf.net>
8053
8054         * gst/gstchildproxy.h:
8055         * libs/gst/base/gstbasesink.h:
8056         * libs/gst/base/gstbasesrc.h:
8057         * libs/gst/base/gstbasetransform.h:
8058         More docs coverage and some ChangeLog surgery (add missing names)
8059
8060 2007-02-15  Wim Taymans  <wim@fluendo.com>
8061
8062         * docs/design/part-TODO.txt:
8063         * docs/design/part-activation.txt:
8064         * docs/design/part-block.txt:
8065         * docs/design/part-buffering.txt:
8066         * docs/design/part-clocks.txt:
8067         * docs/design/part-element-source.txt:
8068         * docs/design/part-events.txt:
8069         * docs/design/part-gstbin.txt:
8070         * docs/design/part-gstbus.txt:
8071         * docs/design/part-gstpipeline.txt:
8072         * docs/design/part-live-source.txt:
8073         * docs/design/part-messages.txt:
8074         * docs/design/part-overview.txt:
8075         * docs/design/part-qos.txt:
8076         * docs/design/part-query.txt:
8077         * docs/design/part-states.txt:
8078         * docs/design/part-trickmodes.txt:
8079         Some doc updates. Start renaming from stream_time to running_time where
8080         it was used wrongly.
8081
8082 2007-02-15  Wim Taymans  <wim@fluendo.com>
8083
8084         * libs/gst/base/gstbasesrc.c: (gst_base_src_default_query):
8085         Answer LATENCY query.
8086
8087 2007-02-15  Wim Taymans  <wim@fluendo.com>
8088
8089         * tests/check/gst/gstevent.c: (event_probe), (test_event),
8090         (GST_START_TEST):
8091         Improve debugging.
8092
8093 2007-02-15  Wim Taymans  <wim@fluendo.com>
8094
8095         * gst/gstpad.c: (gst_pad_get_internal_links_default),
8096         (gst_pad_dispatcher):
8097         Improve debugging of default pad dispatcher and query functions.
8098
8099 2007-02-15  Wim Taymans  <wim@fluendo.com>
8100
8101         * docs/gst/gstreamer-sections.txt:
8102         Remove old unused method.
8103
8104 2007-02-13  Wim Taymans  <wim@fluendo.com>
8105
8106         * tests/check/gst/gstsegment.c: (GST_START_TEST):
8107         Fix check
8108
8109 2007-02-13  Wim Taymans  <wim@fluendo.com>
8110
8111         * docs/design/part-seeking.txt:
8112         Some small update.
8113
8114         * gst/gstsegment.c: (gst_segment_set_seek):
8115         Revert old bogus change that should make seeking work again.
8116
8117 2007-02-13  Stefan Kost  <ensonic@users.sf.net>
8118
8119         * docs/random/ensonic/dynlink.txt:
8120         * docs/random/ensonic/interfaces.txt:
8121         * docs/random/ensonic/receipies.txt:
8122           Possible dynamic reconnection api, plus some type fixes the other two
8123           docs.
8124
8125 2007-02-13  Sebastian Dröge  <slomo@circular-chaos.org>
8126
8127         * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
8128         * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
8129         Also check for an absolute path following file:// in the filesrc
8130         element. Remove redundant check and call g_path_is_absolute() on the
8131         unescaped location.
8132
8133 2007-02-13  Stefan Kost  <ensonic@users.sf.net>
8134
8135         * docs/design/draft-klass.txt:
8136           Add existing category analysis.
8137           
8138         * gst/gstcaps.c:
8139           Fix doc example, framerate is a fraction.
8140
8141 2007-02-12  Stefan Kost  <ensonic@users.sf.net>
8142
8143         * configure.ac:
8144         * docs/gst/Makefile.am:
8145         * docs/gst/gstreamer-sections.txt:
8146         * docs/libs/Makefile.am:
8147           Erm, forgot a bunch of --extra-dir.
8148
8149 2007-02-12  Stefan Kost  <ensonic@users.sf.net>
8150
8151         * configure.ac:
8152         * docs/gst/Makefile.am:
8153         * docs/libs/Makefile.am:
8154         * docs/plugins/Makefile.am:
8155           Add crossreferences to glib/gobject docs.
8156
8157 2007-02-12  Wim Taymans  <wim@fluendo.com>
8158
8159         * docs/design/draft-latency.txt:
8160         Small update.
8161
8162         * docs/libs/gstreamer-libs-sections.txt:
8163         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
8164         (gst_base_sink_get_latency), (gst_base_sink_query_latency),
8165         (gst_base_sink_wait_clock), (gst_base_sink_send_qos),
8166         (gst_base_sink_perform_qos), (gst_base_sink_queue_object_unlocked),
8167         (gst_base_sink_chain_unlocked), (gst_base_sink_send_event),
8168         (gst_base_sink_get_position), (gst_base_sink_query),
8169         (gst_base_sink_change_state):
8170         * libs/gst/base/gstbasesink.h:
8171         API: gst_base_sink_query_latency() to let subclasses query the upstream
8172         latency.
8173         API: gst_base_sink_get_latency() to let subclasses query the configured
8174         latency in the sink.
8175         Implement query and set latency.
8176         Update some docs.
8177         As spotted by Will Newton <will dot newton at gmail dot com>: Make sure we
8178         don't continue preroll when we are flushing. Fixes #405284.
8179
8180         * tests/check/pipelines/stress.c: (change_state_timeout),
8181         (quit_timeout), (GST_START_TEST), (stress_suite):
8182         Test for #405284.
8183
8184 2007-02-09  Tim-Philipp Müller  <tim at centricular dot net>
8185
8186         Patch by: René Stadler <mail at renestadler de>
8187
8188         * docs/gst/gstreamer-sections.txt:
8189         * gst/gsttaglist.c: (_gst_tag_initialize):
8190         * gst/gsttaglist.h:
8191           API: add GST_TAG_REFERENCE_LEVEL (#403597).
8192
8193 2007-02-11  Stefan Kost  <ensonic@users.sf.net>
8194
8195         * docs/libs/Makefile.am:
8196           Fix path to core docs.
8197
8198         * gst/gstbin.c: (gst_bin_get_by_interface),
8199         (gst_bin_iterate_all_by_interface):
8200           Refix docs by also renaming 'interface' to 'iface' in implementation.
8201
8202         * docs/gst/gstreamer-sections.txt:
8203         * gst/gstcaps.c:
8204         * gst/gstchildproxy.c: (gst_child_proxy_base_init):
8205         * gst/gstchildproxy.h:
8206         * gst/gstelementfactory.c:
8207         * gst/gstpadtemplate.h:
8208         * libs/gst/controller/gstcontroller.c:
8209         (gst_controlled_property_new):
8210           Document more.
8211
8212 2007-02-10  Sébastien Moutte  <sebastien@moutte.net>
8213
8214         * gst/gstbin.h:(gst_bin_get_by_interface),
8215         (gst_bin_iterate_all_by_interface):
8216         Replace interface parameter name by iface as interface is 
8217         a reserved keyword in Visual Studio for C++ projects so it removes
8218         a build error for application developpers using VS.
8219         * plugins/elements/gstfilesrc.c:(gst_file_src_uri_set_uri):
8220         Fix a bug on Windows in uri format check. Now the prefix checked
8221         is file:// and next we check if the path after file:// is absolute.
8222         * win32/common/libgstbase.def:
8223         * win32/common/libgstdataprotocol.def:
8224         * win32/common/libgstgstreamer.def:
8225         Add new exported functions.
8226
8227 2007-02-09  Andy Wingo  <wingo@pobox.com>
8228
8229         * tests/check/pipelines/simple-launch-lines.c
8230         (simple_launch_lines_suite, test_tee): Disable tee test until I
8231         have time to fix it :-(
8232
8233         * tests/check/Makefile.am (noinst_HEADERS): 
8234         * tests/check/libs/libsabi.c: 
8235         * tests/check/libs/struct_ppc32.h: Add ABI checks for PPC32.
8236         * tests/check/gst/gstabi.c: 
8237         * tests/check/gst/struct_ppc32.h: Add ABI checks for PPC32.
8238
8239         * tests/check/pipelines/simple-launch-lines.c (test_tee): Add
8240         tests for push and pull tee behavior.
8241
8242         * plugins/elements/gsttee.h: 
8243         * plugins/elements/gsttee.c: Describe has-sink-loop better, and
8244         mark as deprecated as well as unimplemented. It was a crack idea.
8245         Add support for tee operating in pull mode, off by default.
8246
8247         * gst/gstregistryxml.c (load_feature, load_plugin): Drop some
8248         normal-case logs down to LOG, raise errors to WARNING.
8249         (gst_registry_xml_read_cache): Don't log before calling a function
8250         that logs.
8251
8252         * gst/gstregistry.c (gst_registry_finalize): Less debug on program
8253         exit (registry finalize).
8254         (gst_registry_add_plugin, gst_registry_add_feature): No need for a
8255         DEBUG log when we emit signals that people don't even have the
8256         chance to connect to.
8257         (gst_registry_scan_path_level): Less logging in the normal case.
8258
8259 2007-02-05  Sebastian Dröge  <slomo@circular-chaos.org>
8260
8261         Patch by: Michal Benes <michal dot benes at itonis dot tv>
8262
8263         * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
8264         Correctly generate EOS for non-seekable files. We don't have a total
8265         length for them and would get an unexpected end of file if we only
8266         special-cased for regular files. (Fixes: #404569)
8267
8268 2007-02-05  Sebastian Dröge  <slomo@circular-chaos.org>
8269
8270         * tests/check/elements/filesrc.c: (GST_START_TEST),
8271         (filesrc_suite):
8272         Add unit test for the GstURIHandler interface in filesrc. This also
8273         tests the newly added file://localhost/foo/bar support.
8274
8275 2007-02-04  Tim-Philipp Müller  <tim at centricular dot net>
8276
8277         * gst/gstelementfactory.h:
8278           The klass string is not a hierarchy. Add reference to the design doc
8279           for more information and common types.
8280
8281 2007-02-02  Wim Taymans  <wim@fluendo.com>
8282
8283         * gst/gstquery.c: (gst_query_new_latency):
8284         Remove old structure field.
8285
8286 2007-02-02  Stefan Kost  <ensonic@users.sf.net>
8287
8288         * tools/gst-launch.1.in:
8289           Give example for network streaming (#351998)
8290
8291 2007-02-02  Wim Taymans  <wim@fluendo.com>
8292
8293         * docs/gst/gstreamer-sections.txt:
8294         Add docs for new methods.
8295
8296         * gst/gstevent.c: (gst_event_new_latency),
8297         (gst_event_parse_latency):
8298         * gst/gstevent.h:
8299         Add new LATENCY event to configure latency in a pipeline.
8300         API: gst_event_new_latency
8301         API: gst_event_parse_latency
8302
8303         * gst/gstmessage.c: (gst_message_new_buffering),
8304         (gst_message_new_lost_preroll), (gst_message_new_prerolled),
8305         (gst_message_new_latency), (gst_message_parse_buffering),
8306         (gst_message_parse_lost_preroll):
8307         * gst/gstmessage.h:
8308         Added messages used in draft-latency.
8309         API: gst_message_new_lost_preroll
8310         API: gst_message_parse_lost_preroll
8311         API: gst_message_new_prerolled
8312         API: gst_message_new_latency
8313
8314         * gst/gstquery.c: (gst_query_new_latency), (gst_query_set_latency),
8315         (gst_query_parse_latency):
8316         * gst/gstquery.h:
8317         Implemented new latency query as in design doc.
8318         API: gst_query_new_latency
8319         API: gst_query_set_latency
8320         API: gst_query_parse_latency
8321
8322 2007-02-02  Wim Taymans  <wim@fluendo.com>
8323
8324         * docs/design/draft-latency.txt:
8325         Slight redesign to allow for dynamic latency adjustments.
8326
8327         * docs/design/part-negotiation.txt:
8328         Fix some typos.
8329
8330 2007-02-02  Sebastian Dröge  <slomo@circular-chaos.org>
8331
8332         reviewed by: Wim Taymans <wim@fluendo.com>
8333
8334         * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
8335         * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
8336         Allow file://localhost/foo/bar URLs and correctly fail for every other
8337         hostname that one sets. This was gnomevfssrc is linked for those if
8338         installed as it can handle it (#403172)
8339
8340 2007-02-01  Sebastian Dröge  <slomo@circular-chaos.org>
8341
8342         reviewed by: Tim-Philipp Müller <tim at centricular dot net>
8343
8344         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
8345         (unref_data), (gst_collect_pads_add_pad_full):
8346         * libs/gst/base/gstcollectpads.h:
8347         Don't put the previously added destroy notify in the GstCollectData
8348         struct as all it's padding is already used and we don't want to break
8349         ABI. Instead put in the pad's GObject data for now. This should be
8350         cleaned up for 0.11 (#402393).
8351
8352 2007-02-01  Sebastian Dröge  <slomo@circular-chaos.org>
8353
8354         reviewed by: Wim Taymans <wim@fluendo.com>
8355
8356         * docs/libs/gstreamer-libs-sections.txt:
8357         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
8358         (unref_data), (gst_collect_pads_add_pad),
8359         (gst_collect_pads_add_pad_full):
8360         * libs/gst/base/gstcollectpads.h:
8361         API: Add function to specify a destroy notification for custom
8362         GstCollectData when adding new pads in GstCollectPads (#402393).
8363
8364 2007-02-01  Tim-Philipp Müller  <tim at centricular dot net>
8365
8366         * po/sv.po:
8367           Update Swedish translation (#378255).
8368
8369 2007-01-31  Stefan Kost  <ensonic@users.sf.net>
8370
8371         * docs/design/draft-klass.txt:
8372           Fix the previous change, this is a list of categories and not a hierarchy.
8373
8374 2007-01-31  Stefan Kost  <ensonic@users.sf.net>
8375
8376         * docs/design/draft-klass.txt:
8377           Add info about how to get a list of used classes.
8378
8379 2007-01-30  Tim-Philipp Müller  <tim at centricular dot net>
8380
8381         * plugins/elements/gsttypefindelement.c:
8382         (gst_type_find_element_chain_do_typefinding),
8383         (gst_type_find_element_change_state):
8384           Don't leak found caps in chain function (no idea why that never
8385           showed up as a leak anywhere).
8386
8387 2007-01-30  Stefan Kost  <ensonic@users.sf.net>
8388
8389         * gst/gstplugin.h:
8390           Fix and expand GstPluginDesc API docs.
8391
8392 2007-01-29  Stefan Kost  <ensonic@users.sf.net>
8393
8394         * gst/gstcaps.c:
8395         * gst/gstelementfactory.c:
8396         * gst/gstpadtemplate.h:
8397           api doc fixes
8398
8399         * libs/gst/controller/gstcontroller.c:
8400         (gst_controlled_property_new):
8401         * tests/examples/controller/audio-example.c:
8402           comment fixes
8403
8404 2007-01-29  Stefan Kost  <ensonic@users.sf.net>
8405
8406         * configure.ac:
8407           comment about refining the xml deps
8408
8409         * docs/manuals.mak:
8410           comments about moving away from jade for docs
8411         
8412         * gst/gst.c:
8413           recommit the ifdefs to use the binary registry
8414         
8415         * gst/gstbin.c: (gst_bin_change_state_func):
8416           this break is obsolete
8417
8418         * gst/gstelementfactory.h:
8419           better GST_ELEMENT_DETAILS docs, add comment about translation
8420
8421         * gst/gstinfo.h:
8422           remove eol slash
8423
8424         * gst/gstobject.c: (gst_signal_object_get_type):
8425           add G_UNLIKELY as usual
8426
8427         * gst/gstpad.c: (gst_pad_event_default):
8428           add fall trhu comment
8429
8430         * gst/gstregistrybinary.c: (gst_registry_binary_write),
8431         (gst_registry_binary_initialize_magic),
8432         (gst_registry_binary_save_string),
8433         (gst_registry_binary_save_pad_template),
8434         (gst_registry_binary_save_feature),
8435         (gst_registry_binary_save_plugin),
8436         (gst_registry_binary_write_cache),
8437         (gst_registry_binary_check_magic),
8438         (gst_registry_binary_load_pad_template),
8439         (gst_registry_binary_load_feature),
8440         (gst_registry_binary_load_plugin),
8441         (gst_registry_binary_read_cache):
8442           comment typo and formatting
8443
8444         * gst/gstutils.c: (gst_element_state_get_name),
8445         (gst_element_state_change_return_get_name):
8446           remove obsolete breaks
8447
8448         * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
8449           add FIXME 0.11 and remove cpp comment
8450
8451 2007-01-29  Edward Hervey  <edward@fluendo.com>
8452
8453         * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
8454         Fix print statement in an even more portable way.
8455
8456 2007-01-29  Tim-Philipp Müller  <tim at centricular dot net>
8457
8458         * docs/gst/gstreamer-sections.txt:
8459         * gst/gstutils.h:
8460           API: add GST_ROUND_DOWN_* macros (#401781).
8461
8462 2007-01-27  Tim-Philipp Müller  <tim at centricular dot net>
8463
8464         * docs/gst/gstreamer.types.in:
8465         * gst/gstregistry.c: (gst_registry_class_init):
8466           Document registry signals and make gtk-doc pick them up (#401381).
8467
8468 2007-01-26  Tim-Philipp Müller  <tim at centricular dot net>
8469
8470         * docs/pwg/building-testapp.xml:
8471           Add some audioconverts and audioresample to the pipeline, and some
8472           more comments and error handling.
8473
8474 2007-01-26  Tim-Philipp Müller  <tim at centricular dot net>
8475
8476         * docs/manual/manual.xml:
8477         * docs/pwg/pwg.xml:
8478           Fix typo (#400987).
8479
8480 2007-01-26  Wim Taymans  <wim@fluendo.com>
8481
8482         * gst/gstcaps.c: (gst_static_caps_get):
8483         Init caps flags too.
8484
8485 2007-01-25  Sebastian Dröge  <slomo@circular-chaos.org>
8486
8487         Patch by: Jindrich Makovicka <jindrich.makovick at itonis dot tv>
8488
8489         * plugins/elements/gstfilesrc.c: (gst_file_src_start):
8490         If not using mmap'ed files try to seek to the end instead of the
8491         start to determine whether we can seek at all. This fixes the case
8492         of 2GB+ files over NFS, where seeks in the first 2GB can succeed but
8493         seeks for everything afterwards fail. Fixes #400656
8494
8495 2007-01-25  Wim Taymans  <wim@fluendo.com>
8496
8497         * gst/gstcaps.c: (_gst_caps_free), (gst_static_caps_get):
8498         Add some refcount debugging.
8499         Make gst_static_caps_get threadsafe, which is needed when autoplugging
8500         in multiple streaming threads.
8501
8502 2007-01-25  Wim Taymans  <wim@fluendo.com>
8503
8504         Patch by: David Schleef <ds at schleef dot org>
8505
8506         * docs/libs/gstreamer-libs-sections.txt:
8507         * libs/gst/base/gstadapter.c: (gst_adapter_copy):
8508         * libs/gst/base/gstadapter.h:
8509         API: gst_adapter_copy() that can reduce the amount of memcpy when
8510         getting data from the adapter. Fixes #388201.
8511
8512 2007-01-25  Edward Hervey  <edward@fluendo.com>
8513
8514         * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
8515         In print statements, "%x" is for guint. Fixes build on macosx.
8516
8517 2007-01-24  Edward Hervey  <edward@fluendo.com>
8518
8519         * plugins/elements/gstmultiqueue.c:
8520         (gst_multi_queue_loop):
8521         Small fix.
8522         (single_queue_overrun_cb), (single_queue_underrun_cb),
8523         (single_queue_check_full), (gst_single_queue_new):
8524         Implement single queue growth system.
8525         This uses the extra-size properties, and will grow single queues by
8526         that much if one goes full whereas there are others empty. This is
8527         called extra-mode in the code.
8528         When a single queue's levels go back below the initial max-size
8529         limits, it is no longer in extra-mode. This is to ensure we don't
8530         consume too much memory.
8531         Fixes #399875
8532
8533 2007-01-23  Tim-Philipp Müller  <tim at centricular dot net>
8534
8535         * gst/gst.c: (gst_init_get_option_group):
8536           Make warning about late g_thread_init() calls a bit more explicit,
8537           so that it's more obvious to application developers what they need
8538           to do if a user files a bug against their application.
8539
8540 2007-01-22  Edward Hervey  <edward@fluendo.com>
8541
8542         * plugins/elements/gstmultiqueue.c:
8543         (gst_multi_queue_src_activate_push), (gst_single_queue_new):
8544         Remove previous hack of unsetting the flushing flag for the source pad
8545         instead of activating it. Instead, fix the source pad activate function
8546         so that it no longer depends on having a parent set or not.
8547
8548 2007-01-22  Tim-Philipp Müller  <tim at centricular dot net>
8549
8550         Patch by: Carlos Sanmartin Dominguez <csanmartin@igalia.com>
8551
8552         * docs/manual/basics-bus.xml:
8553           Fix example code, gst_element_unref() doesn't exist any longer.
8554
8555 2007-01-21  Tim-Philipp Müller  <tim at centricular dot net>
8556
8557         Patch by: Mark Nauwelaerts <manauw at skynet be>
8558
8559         * gst/gstpad.c:
8560           Fix two docs typoes (#399094).
8561
8562 2007-01-19  Edward Hervey  <edward@fluendo.com>
8563
8564         * docs/faq/gst-uninstalled:
8565         Add gst-plugins-base/gst/utils/ to LD_LIBRARY_PATH so that plugins
8566         depending on libgstbaseutils can work in uninstalled environment.
8567
8568 2007-01-18  Stefan Kost  <ensonic@users.sf.net>
8569
8570         * gst/gsttaglist.h:
8571         * gst/gsttagsetter.c:
8572         Add more docs regarding tag merge-modes and when to send tags. Fix 'since'
8573         statement for new tag.
8574
8575 2007-01-17  Edward Hervey  <edward@fluendo.com>
8576
8577         * plugins/elements/gstmultiqueue.c: (gst_single_queue_new):
8578         When dynamically creating single queues, activate sinkpad before adding
8579         it.
8580         We should be doing the same thing for the source pad, but we can't
8581         since it would call a method which needs the parent to be set in order
8582         to work propertly. Instead of activating the source pad, we just unset
8583         the flushing flag, which is the minimal requirement for adding a pad
8584         to an element in a state greater than READY.
8585
8586 2007-01-17  Edward Hervey  <edward@fluendo.com>
8587
8588         * docs/faq/gst-uninstalled:
8589         Add DYLD_LIBRARY_PATH declarations so we can also use this script on
8590         Mac OS X.
8591
8592 2007-01-17  Tim-Philipp Müller  <tim at centricular dot net>
8593
8594         * tests/check/gst/gstabi.c:
8595         * tests/check/gst/struct_hppa.h:
8596         * tests/check/libs/libsabi.c:
8597         * tests/check/libs/struct_hppa.h:
8598           Add ABI structs for HPPA (see #393796).
8599
8600 2007-01-16  Tim-Philipp Müller  <tim at centricular dot net>
8601
8602         * libs/gst/check/gstcheck.c: (gst_check_abi_list):
8603           Actually write ABI structs to the file specified in the GST_ABI
8604           environment variable, as the message we print claims we would.
8605
8606 2007-01-15  Stefan Kost  <ensonic@users.sf.net>
8607
8608         * tests/check/gst/gsttask.c:
8609           Fix header comment.
8610
8611 2007-01-15  Stefan Kost  <ensonic@users.sf.net>
8612
8613         * gst/gsttaglist.c: (_gst_tag_initialize):
8614           Change tag type from STRING to DOUBLE. Apply ChangeLog surgery for my
8615           previous two entries.
8616
8617 2007-01-15  Stefan Kost  <ensonic@users.sf.net>
8618
8619         * docs/gst/gstreamer-sections.txt:
8620         * gst/gsttaglist.c: (_gst_tag_initialize):
8621         * gst/gsttaglist.h:
8622           Add tag support for beat-per-minute.
8623
8624 2007-01-15  Stefan Kost  <ensonic@users.sf.net>
8625
8626         * gst/gstregistrybinary.c: (gst_registry_binary_write),
8627         (gst_registry_binary_initialize_magic),
8628         (gst_registry_binary_save_string), (gst_registry_binary_make_data),
8629         (gst_registry_binary_save_pad_template),
8630         (gst_registry_binary_save_feature),
8631         (gst_registry_binary_save_plugin),
8632         (gst_registry_binary_write_cache),
8633         (gst_registry_binary_check_magic),
8634         (gst_registry_binary_load_pad_template),
8635         (gst_registry_binary_load_feature),
8636         (gst_registry_binary_load_plugin),
8637         (gst_registry_binary_read_cache):
8638         * gst/gstregistrybinary.h:
8639           Use glib types, cleanup comments, impement interfaces and uri-types.
8640
8641 2007-01-13  Andy Wingo  <wingo@pobox.com>
8642
8643         * gst/gstpad.c (gst_pad_get_range, gst_pad_pull_range): Allow
8644         getrange() to return buffers with other caps, while we fix
8645         demuxers and typefind, or otherwise change part-negotiation.txt.
8646
8647 2007-01-12  Andy Wingo  <wingo@pobox.com>
8648
8649         * libs/gst/base/gstbasetransform.c (gst_base_transform_activate):
8650         Factor start/stop into this private function instead of partially
8651         in activate functions and partially in the change_state function.
8652         Fixes setup before the element has changed from READY->PAUSED, as
8653         is the case in pull-mode pipelines.
8654         (gst_base_transform_sink_activate_push)
8655         (gst_base_transform_src_activate_pull): Refactor to use
8656         gst_base_transform_activate().
8657         (gst_base_transform_change_state): Removed, not needed any more.
8658
8659         * libs/gst/base/gstbasesink.c (gst_base_sink_negotiate_pull):
8660         Truncate before fixating.
8661         
8662         * libs/gst/base/gstbasesink.c (gst_base_sink_negotiate_pull):
8663         Don't set_caps() if the result of fixating is ANY, as it's not
8664         supported, and not necessary in the case of a link with no
8665         template caps on either side. Fixes tests/check/libs/basesrc in
8666         some pull-mode tests.
8667
8668         * libs/gst/base/gstbasetransform.c (_GstBaseTransformPrivate):
8669         (gst_base_transform_init, gst_base_transform_sink_activate_push)
8670         (gst_base_transform_src_activate_pull): 
8671         Track the activation mode.
8672         (gst_base_transform_setcaps): In pull mode, when activating the
8673         src pad, after activating the sink pad, activate the sink pad's
8674         peer, as discussed in part-negotiation.txt.
8675
8676         * libs/gst/base/gstbasesrc.h: 
8677         * libs/gst/base/gstbasesrc.c (gst_base_src_fixate): Add fixate
8678         vmethod, as in basesink.
8679
8680         * libs/gst/base/gstbasesink.h: Reformat docs, add fixate vmethod.
8681
8682         * libs/gst/base/gstbasesink.c (gst_base_sink_pad_setcaps): In pull
8683         mode, first proxy the setcaps to the peer pad.
8684         (gst_base_sink_pad_fixate): Add a fixate function that calls the
8685         new fixate vmethod.
8686         (gst_base_sink_default_activate_pull): Rename from
8687         gst_base_sink_activate_pull.
8688         (gst_base_sink_negotiate_pull): New function, performs negotiation
8689         in pull mode before calling ::activate_pull().
8690         (gst_base_sink_pad_activate_pull): Actually call the activate_pull
8691         vmethod instead of the default implementation. I have no idea how
8692         this worked before. Negotiate before calling activate_pull.
8693
8694         * gst/gstpad.c (gst_pad_activate_pull): Refuse to activate unlinked
8695         sink pads in pull mode. In addition to being correct, fixes
8696         filesrc ! decodebin ! identity ! fakesink.
8697         (gst_pad_get_range, gst_pad_pull_range): Don't call
8698         gst_pad_set_caps() if the caps changes; instead error out with
8699         GST_FLOW_NOT_NEGOTIATED, as discussed in part-negotiation.txt.
8700
8701 2007-01-12  Andy Wingo  <wingo@pobox.com>
8702
8703         * docs/design/part-negotiation.txt: Update with more policy.
8704
8705 2007-01-12  Tim-Philipp Müller  <tim at centricular dot net>
8706
8707         * libs/gst/check/gstbufferstraw.h:
8708         * libs/gst/check/gstcheck.h:
8709           Add G_BEGIN_DECLS and G_END_DECLS. Move GST_CHECK_MAIN where it
8710           belongs.
8711
8712 2007-01-12  Tim-Philipp Müller  <tim at centricular dot net>
8713
8714         * tests/check/Makefile.am:
8715         * tests/check/gst/.cvsignore:
8716         * tests/check/gst/gsttagsetter.c: (gst_dummy_enc_add_interfaces),
8717         (gst_dummy_enc_base_init), (gst_dummy_enc_class_init),
8718         (gst_dummy_enc_init), (tag_list_foreach), (tag_setter_list_length),
8719         (GST_START_TEST), (gst_tag_setter_suite):
8720           Add minimal unit test for beforementioned GstTagSetter bug.
8721
8722 2007-01-12  Tim-Philipp Müller  <tim at centricular dot net>
8723
8724         Patch by: René Stadler <mail at renestadler dot de>
8725
8726         * gst/gsttagsetter.c: (gst_tag_setter_merge_tags):
8727           gst_tag_list_merge() returns a new list, so it's not the best idea
8728           to ingore its return value. Effectively meant that tags could only
8729           be merged on a GstTagSetter once using _merge_tags(). Fixes #395554.
8730           Also add function guard to require a non-NULL taglist as input (has
8731           always been so due to gst_tag_list_copy(), just making it explicit).
8732
8733 2007-01-11  Tim-Philipp Müller  <tim at centricular dot net>
8734
8735         * docs/random/draft-missing-plugins.txt:
8736           Some additions: mention new API that is supposed to be used at the
8737           various stages; short blob about new gst-inspect introspection
8738           option; mention potential future problem with plugins that have
8739           a dynamic list of elements (such as ladspa, pitfdll, libvisual).
8740
8741 2007-01-11  Tim-Philipp Müller  <tim at centricular dot net>
8742
8743         * tools/gst-inspect.c:
8744         (print_plugin_automatic_install_info_codecs),
8745         (print_plugin_automatic_install_info_protocols),
8746         (print_plugin_automatic_install_info), (main):
8747         Add --print-plugin-auto-install-info option to gst-inspect, so we can
8748         introspect plugin files and get machine-parsable output that corresponds
8749         to the last bit of the missing-plugin installer string (small gotcha:
8750         doesn't take into account ranks).
8751
8752 2007-01-11  Stefan Kost  <ensonic@users.sf.net>
8753
8754         * configure.ac:
8755         * docs/gst/gstreamer-sections.txt:
8756         * gst/Makefile.am:
8757         * gst/gstregistry.c: (gst_registry_lookup_feature_locked),
8758         (gst_registry_lookup_locked):
8759         * gst/gstregistry.h:
8760         * gst/gstregistrybinary.c: (gst_registry_binary_write),
8761         (gst_registry_binary_initialize_magic),
8762         (gst_registry_binary_save_string),
8763         (gst_registry_binary_save_pad_template),
8764         (gst_registry_binary_save_feature),
8765         (gst_registry_binary_save_plugin),
8766         (gst_registry_binary_write_cache),
8767         (gst_registry_binary_check_magic),
8768         (gst_registry_binary_load_pad_template),
8769         (gst_registry_binary_load_feature),
8770         (gst_registry_binary_load_plugin),
8771         (gst_registry_binary_read_cache):
8772         * gst/gstregistrybinary.h:
8773         * gst/gstregistryxml.c: (load_feature),
8774         (gst_registry_xml_read_cache):
8775           commit binary registry (disabled by default, see #359653)
8776
8777 2007-01-11  Tim-Philipp Müller  <tim at centricular dot net>
8778
8779         * tests/check/gst/gstpad.c: (test_get_allowed_caps):
8780           Fix 'make check' too.
8781
8782 2007-01-10  Andy Wingo  <wingo@pobox.com>
8783
8784         * docs/design/part-negotiation.txt: Fix a typo, add a couple
8785         notes.
8786         
8787         * docs/design/part-negotiation.txt: Update with, um, one way that
8788         pull-mode negotiation might work?
8789
8790         * gst/gstpad.h: 
8791         * gst/gstpad.c (gst_pad_get_allowed_caps): Remove the restriction
8792         that the pad must be a src pad; makes sense to call it the other
8793         way in pull mode, and the logic is symmetric anyway.
8794
8795 2007-01-10  Tim-Philipp Müller  <tim at centricular dot net>
8796
8797         * plugins/elements/gstfilesink.c:
8798           Include <stdio.h> for fseeko().
8799
8800 2007-01-10  Wim Taymans  <wim@fluendo.com>
8801
8802         * gst/gstevent.c:
8803         * gst/gstevent.h:
8804         Reserve LATENCY event.
8805
8806 2007-01-09  Wim Taymans  <wim@fluendo.com>
8807
8808         * docs/design/draft-latency.txt:
8809         Updates.
8810
8811 2007-01-09  Wim Taymans  <wim@fluendo.com>
8812
8813         * docs/design/draft-latency.txt:
8814         Updates.
8815
8816         * gst/gstelement.h:
8817         * gst/gststructure.c:
8818         * gst/gsttrace.c:
8819         Small typo fixes.
8820
8821 2007-01-09  Tim-Philipp Müller  <tim at centricular dot net>
8822
8823         * tests/check/.cvsignore:
8824           Ignore test-registry.xml as well.
8825
8826 2007-01-09  Wim Taymans  <wim@fluendo.com>
8827
8828         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad):
8829         unref data at the end when we are done with the pad.
8830
8831 2007-01-08  Tim-Philipp Müller  <tim at centricular dot net>
8832
8833         * docs/gst/gstreamer-sections.txt:
8834         * gst/gst.c: (load_plugin_func), (scan_and_update_registry),
8835         (init_post), (gst_deinit), (gst_update_registry):
8836         * gst/gst.h:
8837           API: add gst_update_registry() (#391296).
8838
8839         * tests/check/Makefile.am:
8840         * tests/check/gst/gstregistry.c:
8841         * tests/check/gst/.cvsignore:
8842           Simple unit test for the above.
8843
8844 2007-01-08  Tim-Philipp Müller  <tim at centricular dot net>
8845
8846         * gst/gstregistry.c: (gst_registry_scan_path_level):
8847           Plugin extension on HP-UX is .sl, add that to the list of approved
8848           plugin extensions (see #393796).
8849
8850         * tests/check/gst/gstpad.c: (GST_START_TEST):
8851           ulong => gulong. Fixes compilation with HP-UX compiler.
8852
8853         * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
8854           Fix compilation if valgrind headers are not available.
8855
8856 2007-01-07  Sébastien Moutte  <sebastien@moutte.net>
8857
8858         * win32/common/libgstreamer.def: 
8859           Add new exported function.
8860         * win32/vs6/libgstbase.dsp: 
8861           Add gstdataqueue.c to the build.
8862         * win32/vs6/libgstcoreelements.dsp:
8863           Add gstmultiqueue.c to the build.
8864         
8865 2007-01-06  Andy Wingo  <wingo@pobox.com>
8866
8867         * libs/gst/base/gstbasesink.h: New GstBaseSinkClass vmethod,
8868         activate_pull(), providing for a way to specialize the process of
8869         spawning a thread to pull on the sink pad. There is a default
8870         implementation.
8871
8872         * libs/gst/base/gstbasesink.c (gst_base_sink_pad_activate_pull)
8873         (gst_base_sink_pad_activate_push, gst_base_sink_pad_activate)
8874         (gst_base_sink_init): Renamed pad activation functions (inserting
8875         "_pad" in their names). Refactor to use the new activate_pull
8876         vmethod, as appropriate.
8877         (gst_base_sink_class_init, gst_base_sink_activate_pull): Set the
8878         default activate_pull function to start a task pulling from the
8879         sink pad, as before.
8880
8881         * gst/gstpad.c (gst_pad_get_range, gst_pad_pull_range): Set caps
8882         on the pads if necessary, as in push()/chain(). Update docs.
8883         Shouldn't affect existing pull() usage as it is currently only
8884         being used on buffers without caps.
8885
8886 2007-01-05  Tim-Philipp Müller  <tim at centricular dot net>
8887
8888         * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
8889         (init_pre):
8890           Call g_thread_init() first thing in gst_init() / gst_check_init().
8891           When initialisation is done via gst_init_get_option_group() and
8892           GOption parsing, issue a warning if the GLib thread system has not
8893           been initialised yet by the time gst_init_get_option_group() is
8894           called, as it's quite likely other GLib functions such as
8895           g_option_context_new() have been called already then, and
8896           g_thread_init() must be called before any other GLib function. The
8897           application in question must be fixed in that case, since memory
8898           corruption might happen otherwise.
8899           We issue the warning because even if the GLib folks decide to work
8900           around the problem on their end in future, this is still an issue
8901           with all GLib versions >= 2.10.0, so we should warn until we depend
8902           on a GLib version we know to be safe.
8903           Update documentation as well.
8904           Closes bug #391278.
8905
8906 2007-01-05  Tim-Philipp Müller  <tim at centricular dot net>
8907
8908         * tools/gst-inspect.c: (main):
8909         * tools/gst-launch.c: (main):
8910         * tools/gst-typefind.c: (main):
8911         * tools/gst-xmlinspect.c: (main):
8912           Call g_thread_init() really really early, before any other GLib
8913           function (see #342564 and recent discussion on gtk-devel-list).
8914
8915 2007-01-05  Tim-Philipp Müller  <tim at centricular dot net>
8916
8917         Patch by: Vincent Torri  <vtorri at univ-evry dot fr>
8918
8919         * gst/gst_private.h:
8920         * gst/gstconfig.h.in:
8921         * gst/gstinfo.h:
8922           On win32, all the __declspec stuff for symbol exporting is
8923           apparently only needed with MSVC, but doesn't work with MingW.
8924           Fixes compilation with MingW and #391909.
8925
8926 2007-01-05  Tim-Philipp Müller  <tim at centricular dot net>
8927
8928         * libs/gst/base/gstbasesrc.c: (gst_base_src_activate_push):
8929           Change some GST_ERROR_OBJECT that aren't really errors to
8930           GST_WARNING_OBJECT in order to reduce terminal spam.
8931
8932 2007-01-04  Stefan Kost  <ensonic@users.sf.net>
8933
8934         * tests/check/Makefile.am:
8935           disable test again, as there seem to be still race problems
8936
8937 2007-01-04  Stefan Kost  <ensonic@users.sf.net>
8938
8939         * tests/check/Makefile.am:
8940         * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
8941         (GST_START_TEST), (queue_suite):
8942           enable queue test again, add tests for the leaky behaviour
8943
8944 2007-01-02  Tim-Philipp Müller  <tim at centricular dot net>
8945
8946         * configure.ac:
8947         * tests/examples/Makefile.am:
8948           Compile adapter test/example only if the required headers are
8949           available (fixes #391915).
8950
8951 2007-01-01  David Schleef  <ds@schleef.org>
8952
8953         * gst/gstplugin.c:
8954           Restore the previous signal handler for SIGSEGV instead of
8955           setting to default, since we may have stolen it away from
8956           someone.  (i.e., Mono)
8957
8958 2006-12-26  Tim-Philipp Müller  <tim at centricular dot net>
8959
8960         * docs/random/draft-missing-plugins.txt:
8961           Some small additions and clarifications.
8962
8963 2006-12-26  Tim-Philipp Müller  <tim at centricular dot net>
8964
8965         * gst/gstregistryxml.c: (gst_registry_save_escaped):
8966           Make sure we don't pass non-UTF-8 strings to g_markup_escape(),
8967           since that can lead to random memory corruptions and crashes
8968           (may or may not be related to #383244, #386711, and #386711).
8969
8970 2006-12-21  Stefan Kost  <ensonic@users.sf.net>
8971
8972         * tests/check/.cvsignore:
8973         * tests/check/Makefile.am:
8974           sync .cvsignome and CLEANFILES
8975
8976 2006-12-21  Stefan Kost  <ensonic@users.sf.net>
8977
8978         * tests/check/Makefile.am:
8979           fix distcheck
8980
8981 2006-12-21  Stefan Kost  <ensonic@users.sf.net>
8982
8983         * docs/design/part-states.txt:
8984           two tiny additional comments
8985         
8986         * gst/gststructure.c:
8987           doc fixing
8988
8989         * tests/check/Makefile.am:
8990         * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
8991         (GST_START_TEST):
8992           disable test for now, unless it gets fixed
8993
8994 2006-12-21  Stefan Kost  <ensonic@users.sf.net>
8995
8996         * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
8997         (GST_START_TEST):
8998           fix race in underrun test
8999
9000 2006-12-21  Stefan Kost  <ensonic@users.sf.net>
9001
9002         * tests/check/elements/.cvsignore:
9003           ignore more
9004
9005         * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
9006         (GST_START_TEST):
9007           try to narrow test failure
9008
9009 2006-12-21  David Schleef  <ds@schleef.org>
9010
9011         * plugins/elements/gstfakesrc.c:
9012           Use g_random_int_range(), since it produces better random
9013           numbers in a range than almost-correct floating point code.
9014
9015 2006-12-21  Stefan Kost  <ensonic@users.sf.net>
9016
9017         * libs/gst/check/gstcheck.c: (gst_check_setup_src_pad),
9018         (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
9019         (gst_check_teardown_sink_pad):
9020           do not automatically (de)activate pads
9021
9022         * tests/check/Makefile.am:
9023         * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
9024         (setup_queue), (cleanup_queue), (GST_START_TEST), (queue_suite):
9025           add new, yet simple tests for queue
9026
9027         * tests/check/elements/fakesrc.c: (cleanup_fakesrc):
9028         * tests/check/elements/fdsrc.c: (cleanup_fdsrc):
9029         * tests/check/elements/filesrc.c: (cleanup_filesrc),
9030         (GST_START_TEST):
9031         * tests/check/elements/identity.c: (cleanup_identity):
9032           consistent pad (de)activation
9033
9034 2006-12-20  Tim-Philipp Müller  <tim at centricular dot net>
9035
9036         Patch by: Sebastian Dröge  <slomo ubuntu com>
9037
9038         * libs/gst/base/gstcollectpads.c:
9039           Fix two doc typos (#387866).
9040
9041 2006-12-19  Tim-Philipp Müller  <tim at centricular dot net>
9042
9043         * docs/manual/advanced-dparams.xml:
9044           Fix typo (g_object_control_properties() doesn't exist).
9045
9046 2006-12-19  Edward Hervey  <edward@fluendo.com>
9047
9048         * gst/gstsegment.c: (gst_segment_set_seek):
9049         Fine tune the cases where the segment start/stop values are really
9050         updated.
9051         * tests/check/gst/gstsegment.c: (GST_START_TEST):
9052         Add tests for the return values of gst_segment_set_seek().
9053
9054 2006-12-19  Tim-Philipp Müller  <tim at centricular dot net>
9055
9056         * gst/gst.c:
9057           Docs typo fix.
9058
9059         * plugins/elements/gstqueue.c: (gst_queue_class_init),
9060         (gst_queue_init):
9061           Fix incorrect documentation and flesh it out a bit more.
9062           Set default values for the max properties on the GParamSpec as well,
9063           so it shows up correctly in gst-inspect.
9064
9065 2006-12-18  Stefan Kost  <ensonic@users.sf.net>
9066
9067         * plugins/elements/gstqueue.c: (queue_leaky_get_type):
9068           Correct docs of queue, add more detail and crosslink it more.
9069
9070 2006-12-16  Tim-Philipp Müller  <tim at centricular dot net>
9071
9072         * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
9073           Print additional debug info when the stream isn't perfectly
9074           timestamped; don't try to use invalid durations.
9075
9076 2006-12-16  Tim-Philipp Müller  <tim at centricular dot net>
9077
9078         * docs/design/Makefile.am:
9079           Dist new design docs.
9080
9081 2006-12-16  Wim Taymans  <wim@fluendo.com>
9082
9083         Patch by: Sjoerd Simons <sjoerd at luon dot net>
9084
9085         * libs/gst/base/gstcollectpads.c: (ref_data), (unref_data),
9086         (gst_collect_pads_add_pad), (gst_collect_pads_remove_pad),
9087         (gst_collect_pads_stop), (gst_collect_pads_event),
9088         (gst_collect_pads_chain):
9089         * libs/gst/base/gstcollectpads.h:
9090         Add refcounting to the collectpads data so we can track when it's safe
9091         to free the data. Fixes #383382.
9092
9093 2006-12-15  Wim Taymans  <wim@fluendo.com>
9094
9095         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
9096         (gst_collect_pads_remove_pad):
9097         Automatically activate/deactivate pads when they are added to a
9098         started/stoped collectpads.
9099
9100 2006-12-15  Wim Taymans  <wim@fluendo.com>
9101
9102         * gst/gstelement.c: (gst_element_add_pad):
9103         * gst/gstghostpad.c: (gst_ghost_pad_new_full):
9104         * gst/gstpad.c: (gst_pad_init):
9105         Set pads to FLUSHING when they are created. Check, warn and fix when a
9106         demuxer adds an inactive pad to itself when running. Fixes #339326.
9107
9108 2006-12-15  Wim Taymans  <wim@fluendo.com>
9109
9110         * gst/gstelement.c: (gst_element_class_init),
9111         (gst_element_default_send_event), (gst_element_send_event),
9112         (gst_element_default_query), (gst_element_query):
9113         Expose default element send_event and query handling as vmethods that
9114         subclasses can chain up to.
9115
9116 2006-12-15  Wim Taymans  <wim@fluendo.com>
9117
9118         * gst/gstelement.c: (gst_element_set_state_func):
9119         Small documentation fixes.
9120
9121 2006-12-15  Wim Taymans  <wim@fluendo.com>
9122
9123         * docs/design/draft-latency.txt:
9124         Checked in draft for handling latency in pipelines.
9125
9126 2006-12-15  Thomas Vander Stichele  <thomas at apestaart dot org>
9127
9128         * Makefile.am:
9129         * gstreamer.doap:
9130         * gstreamer.spec.in:
9131           adding .doap file
9132
9133 2006-12-14  Tim-Philipp Müller  <tim at centricular dot net>
9134
9135         * gst/gst.c: (init_pre), (init_post):
9136           init_pre() and init_post() might be called via our GOptionGroup or
9137           from gst_init(), and we should skip both of them if we've already
9138           been initialised, otherwise we will init some things twice or add
9139           two default log functions.
9140
9141 2006-12-13  Edward Hervey  <edward@fluendo.com>
9142
9143         * docs/manual/basics-bus.xml:
9144         No, gst_main_loop does not exist. Its g_main_loop.
9145         Discovered by somebody who abused the copy-paste technique of coding :)
9146
9147 2006-12-13  Tim-Philipp Müller  <tim at centricular dot net>
9148
9149         * gst/gstghostpad.c:
9150           Log ghostpad debug stuff to the GST_PADS category as well rather
9151           than just to the default category.
9152
9153 2006-12-12  Tim-Philipp Müller  <tim at centricular dot net>
9154
9155         * configure.ac:
9156         * gst/gst.c: (init_pre):
9157           Add some basic system details such as OS and architecture
9158           to the debug output if possible, courtesy of uname().
9159
9160 2006-12-11  Tim-Philipp Müller  <tim at centricular dot net>
9161
9162         * docs/gst/running.xml:
9163           Document GST_REGISTRY_FORK and GST_DEBUG_NO_COLOR
9164           environment variables.
9165
9166 2006-12-09  Jan Schmidt  <thaytan@mad.scientist.com>
9167
9168         * tests/check/gst/gstbin.c: (GST_START_TEST):
9169         It is acceptable to have a refcount of 2 or 3 at this point in the
9170         test, because the pipeline might be just posting its state_change
9171         message. The next line then waits for that message to appear using
9172         bus_poll, so that should be fine too.
9173
9174 2006-12-09  Jan Schmidt  <thaytan@mad.scientist.com>
9175
9176         * gst/gst.c: (ensure_current_registry_forking):
9177         Ignore EINTR when reading from the child registry pipe.
9178         Explicitly ignore the return value from close, since it makes no
9179         difference.
9180
9181         * gst/gstminiobject.c: (gst_mini_object_ref),
9182         (gst_mini_object_unref):
9183         When debugging refcounts, check GST_IS_MINI_OBJECT and warn.
9184
9185         * gst/gstregistry.c: (_priv_gst_registry_remove_cache_plugins):
9186         When removing cached plugins, remove their features too, so they're
9187         not visible after they've disappeared.
9188
9189         * gst/gstutils.c: (prepare_link_maybe_ghosting):
9190         In the unlikely case that we are linking pads with no parents, don't
9191         crash trying to get the non-existent parent bin.
9192
9193         * gst/parse/grammar.y:
9194         Output debug in the PIPELINE category
9195
9196 2005-03-08  Wim Taymans  <wim@fluendo.com>
9197
9198         Patch by: René Stadler <mail at renestadler dot de>
9199
9200         * gst/gstclock.c: (gst_clock_new_periodic_id):
9201         Reject invalid clock times for interval of periodic ids.
9202         Fixes ##383506.
9203
9204 2006-12-07  Jan Schmidt  <thaytan@mad.scientist.com>
9205
9206         * gst/gstelementfactory.c: (gst_element_factory_create):
9207         * gst/gstpluginfeature.c: (gst_plugin_feature_load):
9208         * gst/gsttypefindfactory.c: (gst_type_find_factory_call_function):
9209         * tools/gst-inspect.c: (print_element_info):
9210         Fix refcounting of gst_plugin_feature_load to match the docs. 
9211         Fixes: #380129
9212
9213 2006-12-07  Wim Taymans  <wim@fluendo.com>
9214
9215         * libs/gst/base/gstbasesink.c: (gst_base_sink_event),
9216         (gst_base_sink_get_position):
9217         Improve debugging of events.
9218
9219 2006-12-07  Wim Taymans  <wim@fluendo.com>
9220
9221         Patch by: René Stadler <mail at renestadler dot de>
9222
9223         * gst/gstclock.c: (gst_clock_id_wait):
9224         Make period ids add the interval to the origial requested time instead
9225         of the possibly updated time which can be wrong when there are multiple
9226         waiters for the same id. Fixes #382592.
9227
9228         * gst/gstsystemclock.c: (gst_system_clock_async_thread),
9229         (gst_system_clock_id_wait_jitter_unlocked),
9230         (gst_system_clock_id_wait_jitter):
9231         Fix restart in the async notify thread when an async entry is added to
9232         the front of the list. Fixes #381492. 
9233
9234         * tests/check/gst/gstsystemclock.c: (store_callback),
9235         (notify_callback), (GST_START_TEST), (gst_systemclock_suite):
9236         Added test for multiple async waits.
9237         Added test for async wait order.
9238
9239 2006-12-07  Wim Taymans  <wim@fluendo.com>
9240
9241         * gst/gstbin.c: (gst_bin_query):
9242         Add some more docs about the POSITION query.
9243
9244 2006-12-07  Jan Schmidt  <thaytan@mad.scientist.com>
9245
9246         * configure.ac:
9247         Bump version nano - back to CVS.
9248
9249 === release 0.10.11 ===
9250
9251 2006-12-06  Jan Schmidt <thaytan@mad.scientist.com>
9252
9253         * configure.ac:
9254           releasing 0.10.11, "Love never runs on time"
9255
9256 2006-12-01  Jan Schmidt  <thaytan@mad.scientist.com>
9257
9258         * win32/common/libgstbase.def:
9259         * win32/common/libgstreamer.def:
9260         * win32/vs8/libgstbase.vcproj:
9261         * win32/vs8/libgstcoreelements.vcproj:
9262         * win32/vs8/libgstreamer.vcproj:
9263         Fix compilation on win32 under VS8
9264         Patch by: Sergey Scobich <sergey dot scobich at gmail dot com>
9265         Partially fixes #381175
9266
9267 2006-11-29  Jan Schmidt  <thaytan@mad.scientist.com>
9268
9269         * gst/gstvalue.c: (gst_value_compare_fraction):
9270         If someone is foolish enough to compare 2 fractions with denominator =
9271         0, return UNORDERED rather than aborting.
9272
9273 2006-11-28  Edward Hervey  <edward@fluendo.com>
9274
9275         * libs/gst/base/Makefile.am:
9276         * libs/gst/base/gstdataqueue.c: (gst_data_queue_get_type),
9277         (gst_data_queue_base_init), (gst_data_queue_class_init),
9278         (gst_data_queue_init), (gst_data_queue_new),
9279         (gst_data_queue_cleanup), (gst_data_queue_finalize),
9280         (gst_data_queue_locked_flush), (gst_data_queue_locked_is_empty),
9281         (gst_data_queue_locked_is_full), (gst_data_queue_flush),
9282         (gst_data_queue_is_empty), (gst_data_queue_is_full),
9283         (gst_data_queue_set_flushing), (gst_data_queue_push),
9284         (gst_data_queue_pop), (gst_data_queue_drop_head),
9285         (gst_data_queue_set_property), (gst_data_queue_get_property):
9286         * libs/gst/base/gstdataqueue.h:
9287         New GstDataQueue object for threadsafe queueing. Most useful for
9288         elements that need some queueing functionnality.
9289         * docs/libs/gstreamer-libs-docs.sgml:
9290         * docs/libs/gstreamer-libs-sections.txt:
9291         Insert documentation for GstDataQueue
9292         * plugins/elements/Makefile.am:
9293         * plugins/elements/gstelements.c:
9294         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_base_init),
9295         (gst_multi_queue_class_init), (gst_multi_queue_init),
9296         (gst_multi_queue_finalize), (gst_multi_queue_set_property),
9297         (gst_multi_queue_get_property), (gst_multi_queue_request_new_pad),
9298         (gst_multi_queue_release_pad), (gst_single_queue_push_one),
9299         (gst_multi_queue_item_destroy), (gst_multi_queue_item_new),
9300         (gst_multi_queue_loop), (gst_multi_queue_chain),
9301         (gst_multi_queue_sink_activate_push), (gst_multi_queue_sink_event),
9302         (gst_multi_queue_getcaps), (gst_multi_queue_bufferalloc),
9303         (gst_multi_queue_src_activate_push), (gst_multi_queue_acceptcaps),
9304         (gst_multi_queue_src_event), (gst_multi_queue_src_query),
9305         (wake_up_next_non_linked), (compute_next_non_linked),
9306         (single_queue_overrun_cb), (single_queue_underrun_cb),
9307         (single_queue_check_full), (gst_single_queue_new):
9308         * plugins/elements/gstmultiqueue.h:
9309         New multiqueue element, using GstDataQueue. Used for queuing multiple
9310         streams.
9311         Closes #344639 and #347785
9312
9313 2006-11-22  Stefan Kost  <ensonic@users.sf.net>
9314
9315         * docs/pwg/advanced-types.xml:
9316           add more missing type details
9317
9318         * tools/gst-run.c: (main):
9319           remove unused variable
9320
9321 2006-11-21  Stefan Kost  <ensonic@users.sf.net>
9322
9323         * docs/libs/Makefile.am:
9324         * docs/libs/gstreamer-libs.types:
9325           add types of base classes to enable gobject specific stuff in the docs
9326
9327         * docs/random/ensonic/embedded.txt:
9328           more ideas about isolating platform specific things
9329
9330 2006-11-20  Wim Taymans  <wim@fluendo.com>
9331
9332         Patch by: Sebastian Dröge <slomo at ubuntu dot com>
9333
9334         * libs/gst/check/gstcheck.h:
9335         Fix compilation and running against 0.9.4. Fixes #377332.
9336
9337 2006-11-20  Wim Taymans  <wim@fluendo.com>
9338
9339         * gst/gstsegment.c: (gst_segment_set_seek),
9340         (gst_segment_set_newsegment_full), (gst_segment_to_stream_time),
9341         (gst_segment_to_running_time):
9342         Fix boundary checking in to_running_time() and to_stream_time().
9343         Fixes #377183.
9344
9345         * tests/check/gst/gstsegment.c: (GST_START_TEST):
9346         stream and running time can now be calculated for the complete
9347         clipped segment.
9348
9349 2006-11-15  Tim-Philipp Müller  <tim at centricular dot net>
9350
9351         * gst/gstpad.c: (gst_pad_push_event):
9352           Can't access event structure after giving away ownership of
9353           the event.
9354
9355 2006-11-15  Stefan Kost  <ensonic@users.sf.net>
9356
9357         * docs/random/ensonic/embedded.txt:
9358         * docs/random/ensonic/profiling.txt:
9359         * docs/random/ensonic/receipies.txt:
9360           more thinking
9361
9362 2006-11-13  Wim Taymans  <wim@fluendo.com>
9363
9364         Patch by: Mark Nauwelaerts <manauw at skynet dot be>
9365
9366         * gst/gstpad.c:
9367         Fix documentation for gst_pad_dispatcher. Fixes #374475.
9368
9369 2006-11-13  Wim Taymans  <wim@fluendo.com>
9370
9371         Patch by: Jonathan Matthew <jonathan at kaolin dot wh9 dot net>
9372
9373         * libs/gst/base/gstbasesrc.c: (gst_base_src_update_length):
9374         Store new length in segment duration so we don't keep on calling the
9375         potentially expensize get_size() call. Fixes #370865.
9376
9377 2006-11-10  Tim-Philipp Müller  <tim at centricular dot net>
9378
9379         Patch by: Sergey Scobich  <sergey.scobich at gmail com>
9380
9381         * win32/common/libgstreamer.def:
9382           Add two missing symbols (#366492).
9383
9384 2006-11-10  Jan Schmidt  <thaytan@mad.scientist.com>
9385
9386         * libs/gst/base/gstadapter.c: (gst_adapter_flush),
9387         (gst_adapter_take_buffer):
9388         Fix format string to use all its arguments.
9389         Remove useless >= check on a guint
9390
9391 2006-11-09  Jan Schmidt  <thaytan@mad.scientist.com>
9392
9393         * tests/examples/adapter/.cvsignore:
9394         Ignore build file as commanded by the build-bot
9395
9396 2006-11-09  Jan Schmidt  <thaytan@mad.scientist.com>
9397
9398         * tests/examples/adapter/Makefile.am:
9399         * tests/examples/adapter/adapter_test.c: (run_test_take),
9400         (run_test_take_buffer), (run_tests), (main):
9401
9402         Add new files from the previous commit
9403
9404 2006-11-09  Jan Schmidt  <thaytan@mad.scientist.com>
9405
9406         * Makefile.am:
9407         * configure.ac:
9408         * libs/gst/base/gstadapter.c: (gst_adapter_clear),
9409         (gst_adapter_push), (gst_adapter_peek_into), (gst_adapter_peek),
9410         (gst_adapter_flush), (gst_adapter_take), (gst_adapter_take_buffer):
9411         * libs/gst/base/gstadapter.h:
9412         * tests/check/libs/adapter.c: (create_and_fill_adapter),
9413         (GST_START_TEST), (gst_adapter_suite):
9414         * tests/examples/Makefile.am:
9415         Do some optimisation work in GstAdapter to avoid copies in more cases.
9416         It could still do slightly better by merging buffers when
9417         gst_buffer_is_span_fast is true, but is already faster. 
9418
9419         Also, avoid traversing a single-linked list to append each incoming 
9420         buffer inside the adapter.
9421
9422         Add simple test app that times the adapter behaviour in different
9423         situations, and extend the unit test to check that bytes enter and
9424         exit the adapter in their original order.
9425
9426 2006-11-08  Tim-Philipp Müller  <tim at centricular dot net>
9427
9428         * docs/random/draft-missing-plugins.txt:
9429           Update: use element message instead of adding a new message
9430           type to the core; don't provide GStreamer API to initiate the
9431           plugin download, just provide API to compose the strings needed
9432           and let an external libgimmestuff handle the rest.
9433
9434 2006-11-08  Jan Schmidt  <thaytan@mad.scientist.com>
9435
9436         * tools/gst-inspect.c: (print_element_properties_info):
9437         Print a string instead of 'unknown type' for GValueArray properties
9438
9439 2006-11-08  Christian F.K. Schaller  <christian@fluendo.com>
9440
9441         * docs/random/draft-missing-plugins.txt:
9442         More small fixes.
9443
9444 2006-11-07  Tim-Philipp Müller  <tim at centricular dot net>
9445
9446         * tests/examples/typefind/typefind.c: (type_found), (main):
9447           Make typefind element example work again (#371894); add a
9448           license header.
9449
9450 2006-11-07  Tim-Philipp Müller  <tim at centricular dot net>
9451
9452         * docs/random/draft-missing-plugins.txt:
9453           Commit initial draft about how to deal with missing plugins,
9454           needs work (API too).
9455
9456 2006-11-07  Stefan Kost  <ensonic@users.sf.net>
9457
9458         * docs/pwg/advanced-types.xml:
9459           documents the new caps elements (see #363118)
9460
9461 2006-11-06  Tim-Philipp Müller  <tim at centricular dot net>
9462
9463         * gst/gstplugin.c: (gst_plugin_load_file):
9464         * plugins/elements/gstfilesrc.c: (gst_mmap_buffer_finalize),
9465         (gst_file_src_map_region), (gst_file_src_start):
9466         * plugins/indexers/gstfileindex.c: (gst_file_index_load),
9467         (gst_file_index_commit):
9468           Use g_strerror() instead of strerror() - we want UTF-8.
9469
9470 2006-11-06  Tim-Philipp Müller  <tim at centricular dot net>
9471
9472         Patch by: Peter Kjellerstedt <pkj at axis com>
9473
9474         * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
9475           Another printf fix (#371493).
9476
9477 2006-11-06  Stefan Kost  <ensonic@users.sf.net>
9478
9479         * tests/check/gst/gsttag.c:
9480           relicence (okay with author=company)
9481
9482 2006-11-06  Stefan Kost  <ensonic@users.sf.net>
9483
9484         * gst/gstpad.c: (gst_pad_event_default_dispatch),
9485         (gst_pad_push_event):
9486           Enhance debug and improve docs
9487         
9488         * gst/gsturi.c:
9489           Fix docs
9490
9491 2006-11-06  Stefan Kost  <ensonic@users.sf.net>
9492
9493         * docs/random/ensonic/distributed.txt:
9494         * docs/random/ensonic/profiling.txt:
9495           more ideas
9496
9497 2006-11-06  Stefan Kost  <ensonic@users.sf.net>
9498
9499         * docs/gst/gstreamer-sections.txt:
9500           add new API and fix the build
9501           
9502         * gst/gstbin.c: (gst_bin_recalc_state):
9503         * gst/gstelement.c: (gst_element_message_full),
9504         (gst_element_get_state_func), (gst_element_set_state_func):
9505           use new API and improve logging
9506         
9507         * gst/gstutils.c: (gst_element_state_change_return_get_name):
9508         * gst/gstutils.h:
9509           API: add function to get StateChangereturn names to improve logs 
9510
9511 2006-11-04  Thomas Vander Stichele  <thomas at apestaart dot org>
9512
9513         * plugins/elements/gstfilesrc.c: (gst_file_src_start):
9514           I'm considering shooting the next person to put strerror stuff
9515           in the translateable part of the message.
9516
9517 2006-11-03  Wim Taymans  <wim@fluendo.com>
9518
9519         * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
9520         Get the type and printf conversion specifiers right.
9521
9522 2006-11-03  Wim Taymans  <wim@fluendo.com>
9523
9524         Patch by: Mark Nauwelaerts <manauw at skynet dot be>
9525
9526         * gst/gstpad.c: (gst_pad_init), (pre_activate),
9527         (gst_pad_set_blocked_async), (gst_pad_acceptcaps_default),
9528         (gst_pad_accept_caps), (handle_pad_block), (gst_pad_push_event):
9529         Some small cleanups. Improve debugging.
9530         * gst/gstpad.h:
9531         Signal all waiting threads with a broadcast instead of just one.
9532         Fixes #369942.
9533
9534 2006-11-03  Wim Taymans  <wim@fluendo.com>
9535
9536         * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd),
9537         (gst_fd_src_create):
9538         Add some debugging. 
9539         Only update fd when it's different from the old.
9540
9541 2006-11-02  Tim-Philipp Müller  <tim at centricular dot net>
9542
9543         * plugins/elements/gstfilesrc.c: (gst_file_src_create_mmap):
9544           Printf fixes for PPC/OSX, take two (#369366).
9545
9546 2006-11-02  Tim-Philipp Müller  <tim at centricular dot net>
9547
9548         Based on patch by: Jan David Mol  <j.j.d.mol at tudelft nl>
9549
9550         * plugins/elements/gstfilesink.c: (gst_file_sink_class_init):
9551         * plugins/elements/gstfilesrc.c: (gst_file_src_class_init),
9552         (gst_file_src_map_small_region), (gst_file_src_create_mmap):
9553           Printf fixes for gsize parameters on PPC/OSX (#369366). Also,
9554           don't cast to long long for portability reasons, but use
9555           GLib's types instead.
9556
9557 2006-10-30  Michael Smith  <msmith@fluendo.com>
9558
9559         * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
9560           Get the arguments to lseek() the right way around.
9561           Fixes 367677.
9562
9563 2006-10-30  Wim Taymans  <wim@fluendo.com>
9564
9565         Patch by: gorshkov <gorshkov at oghma dot on dot ca>
9566
9567         * gst/gstinfo.h:
9568         _declspec should be __declspec (two underscores, not one). Fixes 366572.
9569
9570 2006-10-28  Tim-Philipp Müller  <tim at centricular dot net>
9571
9572         Patch by: Kjartan Maraas  <kmaraas at gnome org>
9573
9574         * docs/design/part-MT-refcounting.txt:
9575         * docs/random/wtay/capsnego2-docs:
9576         * gst/gstclock.c:
9577         * gst/gstxml.c:
9578           Typo fixes (#366212).
9579
9580 2006-10-28  Wim Taymans  <wim@fluendo.com>
9581
9582         Patch by: Sergey Scobich <sergey dot scobich at gmail dot com>
9583
9584         * gst/gst.c:
9585         * win32/common/libgstbase.def:
9586         * win32/common/libgstreamer.def:
9587         * win32/vs8/libgstbase.vcproj:
9588         * win32/vs8/libgstcontroller.vcproj:
9589         Add needed entries in .def files.
9590         Use HAVE_UNISTD_H.
9591         Rearrange def files in vs8 solutions. Fixes #366286.
9592
9593 2006-10-28  Tim-Philipp Müller  <tim at centricular dot net>
9594
9595         * win32/common/gstconfig.h:
9596           Add GST_SEGMENT_FORMAT and GST_USING_PRINTF_EXTENSION to the
9597           hand-made win32 gstconfig.h. Fixes #366321.
9598
9599 2006-10-27  Wim Taymans  <wim@fluendo.com>
9600
9601         * gst/gstghostpad.c: (gst_proxy_pad_do_acceptcaps),
9602         (gst_ghost_pad_new_full):
9603         Make acceptcaps return TRUE when we don't have a target, just like
9604         setcaps does.
9605
9606 2006-10-27  Wim Taymans  <wim@fluendo.com>
9607
9608         * libs/gst/base/gstbasetransform.c: (gst_base_transform_chain):
9609         Revert previous commit, 0 sized buffers are allowed. Reopens #363095.
9610
9611 2006-10-26  Tim-Philipp Müller  <tim at centricular dot net>
9612
9613         * gst/gststructure.c: (gst_structure_id_set_value):
9614           If someone tries to set a non-UTF8 string field on a structure,
9615           don't just print a warning, but also ignore the request and do
9616           not change/add that field to the structure.
9617
9618         * tests/check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
9619           Test for the above.
9620
9621 2006-10-25  David Schleef  <ds@schleef.org>
9622
9623         * gst/gstinfo.c:
9624           g_hash_table_insert() needs a cast to a non-const pointer duh.
9625
9626 2006-10-25  David Schleef  <ds@schleef.org>
9627
9628         * gst/gstinfo.c:
9629         * gst/gstinfo.h:
9630           Change name parameter of _gst_debug_register_funcptr to const
9631           to reflect the constness of its use in the function as well
9632           as to quiet a gcc warning.
9633
9634 2006-10-25  Edward Hervey  <edward@fluendo.com>
9635
9636         * libs/gst/base/gstbasetransform.c: (gst_base_transform_chain):
9637         Don't push the buffer if it's empty.
9638         Closes #363095
9639
9640 2006-10-24  Wim Taymans  <wim@fluendo.com>
9641
9642         * gst/gstevent.h:
9643         Add small comment.
9644
9645         * libs/gst/base/gstbasetransform.c:
9646         (gst_base_transform_sink_eventfunc):
9647         Debug segment values *after* updating them as this is more
9648         interesting.
9649
9650 2006-10-23  Wim Taymans  <wim@fluendo.com>
9651
9652         * docs/design/part-events.txt:
9653         Update some docs.
9654
9655         * docs/design/part-block.txt:
9656         * gst/gstpad.c: (gst_pad_is_blocking), (handle_pad_block),
9657         (gst_pad_push_event):
9658         Revert BLOCKING patch, it tries to be smart without really having a
9659         clear idea what or how. So, now we discard all FLUSHING events again on
9660         a blocking pad. Should fix gnonlin again.
9661
9662 2006-10-23  Wim Taymans  <wim@fluendo.com>
9663
9664         Patch by: Sergey Scobich <sergey dot scobich at gmail dot com>
9665
9666         * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
9667         (gst_base_src_start), (gst_base_src_activate_push):
9668         Make sure size is always initialized. Fixes #364388.
9669
9670 2006-10-20  Stefan Kost  <ensonic@users.sf.net>
9671
9672         * docs/random/ensonic/distributed.txt:
9673           add some ideas about doing distributed processing
9674
9675         * docs/random/ensonic/profiling.txt:
9676           get_rusage look promising
9677
9678 2006-10-18  Stefan Kost  <ensonic@users.sf.net>
9679
9680         * docs/manual/basics-helloworld.xml:
9681           Add a cast in example to fix compile warning
9682
9683 2006-10-18  Wim Taymans  <wim@fluendo.com>
9684
9685         * gst/gstsegment.c: (gst_segment_set_last_stop),
9686         (gst_segment_set_seek), (gst_segment_set_newsegment_full):
9687         Relax arg checking again, -1 is allowed.
9688
9689 2006-10-18  Wim Taymans  <wim@fluendo.com>
9690
9691         * gst/gstsegment.c: (gst_segment_set_last_stop),
9692         (gst_segment_set_seek), (gst_segment_set_newsegment_full):
9693         _set_last_stop() must be with a value != -1
9694         A _TYPE_SET to -1 means seek to 0.
9695         Calc last_stop correctly for negative rates.
9696         Make sure we work with positive durations when updating a segment.
9697
9698 2006-10-18  Wim Taymans  <wim@fluendo.com>
9699
9700         * docs/design/part-live-source.txt:
9701         * gst/gstclock.h:
9702         Small docs fixes.
9703
9704 2006-10-18  Tim-Philipp Müller  <tim at centricular dot net>
9705
9706         * gst/gstbuffer.h:
9707           Add an explicit cast to GstBuffer** to keep old code that added an
9708           explicit cast to GstMiniObject** for gst_mini_object_replace()
9709           compiling without warning.
9710
9711 2006-10-18  Stefan Kost  <ensonic@users.sf.net>
9712
9713         * gst/gstvalue.c: (gst_value_set_date), (gst_date_copy):
9714           check for validity of dates
9715
9716 2006-10-17  Tim-Philipp Müller  <tim at centricular dot net>
9717
9718         * docs/gst/gstreamer-sections.txt:
9719           Forgot this one, makes gtk-doc shut up.
9720
9721 2006-10-17  Tim-Philipp Müller  <tim at centricular dot net>
9722
9723         Patch by: Peter Kjellerstedt <pkj at axis com>
9724
9725         * gst/gstobject.h:
9726           Don't define xmlNodePtr to gpointer if the core was built with
9727           --disable-loadsave and --disable-registry, this will break
9728           applications that want to use libxml2 but are buildling against a
9729           core that doesn't use libxml2. Use an intermediary type GstXmlNodePtr
9730           instead so we don't have to mess with the libxml2 namespace
9731           (#361675).
9732
9733 2006-10-17  Tim-Philipp Müller  <tim at centricular dot net>
9734
9735         * gst/gstbuffer.h:
9736           Fix gst_buffer_replace() macro to avoid gst_mini_object_replace()-related
9737           type-punned pointer warnings.
9738
9739 2006-10-16  Tim-Philipp Müller  <tim at centricular dot net>
9740
9741         * gst/gstelement.h:
9742           Add casts to the correct return type to state <=> state transition
9743           macros.
9744
9745 2006-10-16  Stefan Kost  <ensonic@users.sf.net>
9746
9747         * docs/design/part-live-source.txt:
9748           describe howto handle latency
9749         
9750         * docs/random/ensonic/profiling.txt:
9751           more ideas
9752
9753         * tools/gst-plot-timeline.py:
9754           fix log parsing for solaris, remove unused function
9755
9756 2006-10-16  Wim Taymans  <wim@fluendo.com>
9757
9758         * docs/design/part-trickmodes.txt:
9759         * gst/gstevent.c:
9760         Update some docs regarding reverse playback.
9761
9762 2006-10-15  Tim-Philipp Müller  <tim at centricular dot net>
9763
9764         Patch by: Marcus Granado  <mrc dot gran at gmail com>
9765
9766         * win32/vs8/grammar.vcproj:
9767           Error out with a warning if glib-genmarshal.exe is not in path,
9768           instead of creating bogus gstmarshal.[ch] files. Fixes #361720.
9769
9770 2006-10-13  Wim Taymans  <wim@fluendo.com>
9771
9772         * gst/gstsegment.c: (gst_segment_set_seek):
9773         When seeking to stop -1, set last_stop (current position) to the
9774         duration of the segment.
9775
9776 2006-10-13  Wim Taymans  <wim@fluendo.com>
9777
9778         * gst/gstelement.h:
9779         Clarify _NO_PREROLL a bit more.
9780
9781         * gst/gstevent.c:
9782         Fix docs.
9783
9784         * gst/gstpad.c: (gst_pad_link_check_hierarchy),
9785         (gst_pad_get_caps_unlocked), (gst_pad_save_thyself),
9786         (handle_pad_block), (gst_pad_push_event), (gst_pad_send_event):
9787         Patch by: Yves Lefebvre <ivanohe at abacom dot com> Fix possible deadlock
9788         due to wrong locking order. Fixes #361769.
9789         Remove some redundant/misplaced checks in pad_block.
9790
9791         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
9792         For negative rates, count backwards from the duration.
9793
9794 2006-10-13  Tim-Philipp Müller  <tim at centricular dot net>
9795
9796         * gst/gsterror.c: (_gst_library_errors_init):
9797           Fix error message for GST_LIBRARY_ERROR_SETTINGS (feel free to come
9798           up with something better).
9799
9800 2006-10-12  Tim-Philipp Müller  <tim at centricular dot net>
9801
9802         * win32/vs6/libgstreamer.dsp:
9803         * win32/vs7/libgstreamer.vcproj:
9804         * win32/vs8/libgstreamer.vcproj:
9805           Don't reference glib-compat.c which is currently not used and not
9806           disted; add gstquark.c which was recently added. Fixes #361730.
9807
9808 2006-10-12  Tim-Philipp Müller  <tim at centricular dot net>
9809
9810         * win32/common/libgstbase.def:
9811         * win32/common/libgstcontroller.def:
9812         * win32/common/libgstreamer.def:
9813           Add gst_caps_merge() and a bunch of other recently-added functions.
9814           Fixes #361732.
9815
9816 2006-10-11  Wim Taymans  <wim@fluendo.com>
9817
9818         * docs/plugins/gstreamer-plugins.args:
9819         * docs/plugins/inspect/plugin-coreelements.xml:
9820         * docs/plugins/inspect/plugin-coreindexers.xml:
9821         Update element args.
9822
9823         * gst/gstsystemclock.c:
9824         Small comment update.
9825
9826         * plugins/elements/gsttee.c: (gst_tee_class_init), (gst_tee_init),
9827         (gst_tee_request_new_pad), (gst_tee_release_pad),
9828         (gst_tee_buffer_alloc), (gst_tee_sink_activate_push),
9829         (gst_tee_sink_activate_pull):
9830         * plugins/elements/gsttee.h:
9831         Some tee loving:
9832         Add default property defines.
9833         Implement release pad function.
9834         Give properties better blubs etc.
9835         Activate pads before adding them to a running tee.
9836         Do simple buffer_alloc on the first requested pad.
9837         Post error when activation fails.
9838
9839 2006-10-11  Tim-Philipp Müller  <tim at centricular dot net>
9840
9841         * gst/gst.c: (ensure_current_registry_forking):
9842           Check return value of write() to make compiler happy.
9843
9844 2006-10-11  Wim Taymans  <wim@fluendo.com>
9845
9846         Patch by: Sjoerd Simons <sjoerd at luon dot net>
9847
9848         * plugins/elements/gstqueue.c: (gst_queue_chain):
9849         Recheck queue filledness after signalling the overrun when we're about
9850         to leak downstream because we released the lock when emitting the signal
9851         and the queue could be empty again. Fixes #352345.
9852
9853 2006-10-11  Tim-Philipp Müller  <tim at centricular dot net>
9854
9855         * libs/gst/controller/gstcontroller.c: (gst_controller_new_list):
9856           Fix refcounting here too, just like we did for _new_valist() a few
9857           days ago (#357180) (thanks to René Stadler). Also remove all those
9858           'Since: 0.9' from the gtk-doc blobs.
9859
9860         * tests/check/libs/controller.c: (controller_refcount_new_list),
9861         (gst_controller_suite):
9862           Unit test for the above.
9863
9864 2006-10-10  Wim Taymans  <wim@fluendo.com>
9865
9866         Patch by: Sebastien Cote <sebas642 at yahoo dot ca>
9867
9868         * gst/gstpad.c: (gst_pad_get_caps_unlocked),
9869         (gst_pad_save_thyself):
9870         Update some docs.
9871         Write pad direction in XML output. Fixes #345496.
9872
9873 2006-10-10  Wim Taymans  <wim@fluendo.com>
9874
9875         Patch by: René Stadler <mail at renestadler dot de>
9876
9877         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
9878         (gst_controller_new_list), (_gst_controller_dispose),
9879         (_gst_controller_finalize), (_gst_controller_class_init):
9880         Take ref to controlled object so that it cannot disappear. 
9881         Fixes #357432.
9882
9883 2006-10-10  Wim Taymans  <wim@fluendo.com>
9884
9885         * libs/gst/check/gstcheck.c: (gst_check_setup_src_pad),
9886         (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
9887         (gst_check_teardown_sink_pad):
9888         Activate/deactivate pads in setup/teardown respectively.
9889
9890 2006-10-10  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
9891
9892         Patch by: Josep Torra Valles <josep@fluendo.com>
9893
9894         * gst/Makefile.am:
9895         Cast values when making gstenumtypes.h.  This pacifies Forte
9896         so it doesn't warn about the ~0 as GST_MESSAGE_ANY not fitting
9897         in the enumeration.
9898
9899 2006-10-09  Wim Taymans  <wim@fluendo.com>
9900
9901         * gst/gstevent.c: (gst_event_new_seek), (gst_event_parse_seek):
9902         Rename some more @cur to @start to fix docs. 
9903
9904         * gst/gstsegment.c: (gst_segment_set_seek):
9905         Fix typo.
9906         time and start must always stay in sync as defined in design doc.
9907
9908         * gst/gsttaglist.c: (gst_tag_list_is_empty):
9909         Rename param to fix docs.
9910
9911         * tests/check/gst/gstsegment.c: (GST_START_TEST):
9912         Check that start and time are in sync.
9913
9914         * tests/check/pipelines/parse-launch.c:
9915         (gst_parse_test_element_change_state):
9916         Activate pad before adding to the element.
9917
9918 2006-10-09  Wim Taymans  <wim@fluendo.com>
9919
9920         * docs/design/part-qos.txt:
9921         Fix typo.
9922
9923         * gst/gstevent.c:
9924         * gst/gstevent.h:
9925         Update seek event docs regarding negative rates.
9926         Rename @cur to @start. 
9927
9928         * gst/gstsegment.c: (gst_segment_set_seek):
9929         * gst/gstsegment.h:
9930         Update set_seek docs regarding negative rates.
9931         Correctly update last_stop to @stop when dealing with negative
9932         rates.
9933         Rename @cur to @start. 
9934
9935         * tests/check/gst/gstpad.c: (GST_START_TEST):
9936         Activate pads before trying to use them.
9937
9938         * tests/check/gst/gstsegment.c: (GST_START_TEST),
9939         (gst_segment_suite):
9940         Add simple check for segments and negative rates.
9941
9942 2006-10-09  Tim-Philipp Müller  <tim at centricular dot net>
9943
9944         * gst/gsttaglist.c: (gst_tag_list_is_empty):
9945         * gst/gsttaglist.h:
9946         * docs/gst/gstreamer-sections.txt:
9947           API: add gst_tag_list_is_empty() (#360467).
9948
9949         * tests/check/gst/gsttag.c: (GST_START_TEST):
9950           And a test case.
9951
9952 2006-10-09  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
9953
9954         * gst/gstmessage.h:
9955         Revert change from earlier wrt GST_MESSAGE_TYPE_ANY having
9956         a value that doesn't fit on enumeration.
9957
9958 2006-10-09  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
9959
9960         * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
9961         Remove local debugging system and use Gstreamer's instead.
9962
9963 2006-10-09  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
9964
9965         Patch by: Josep Torra Valles <josep@fluendo.com>
9966
9967         * common/m4/gst-error.m4:
9968         Disable warning of statement not reached on Forte.
9969         * gst/gstmessage.h:
9970         Fix warning on Forte (value doesn't fit on enumeration).
9971         * libs/gst/base/gstbasesink.c: (gst_base_sink_chain_unlocked):
9972         Fix warning on Forte (value doesn't fit on enumeration).
9973         * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
9974         DEBUG macro says it takes minimum of 2 args and so Forte
9975         complains about the use with just 1 arg.
9976         * plugins/elements/gstfdsink.c:
9977         * plugins/elements/gstfdsrc.c:
9978         * plugins/elements/gstfilesink.c:
9979         * plugins/elements/gstfilesrc.c:
9980         Use correct return type for the uri handler implementations.
9981
9982         All these fix warnings in Forte.  Fixes bug #360860.
9983
9984 2006-10-08  Tim-Philipp Müller  <tim at centricular dot net>
9985
9986         * gst/gstelement.h:
9987           gcc versions prior to gcc 3.3 apparently complain about a NULL printf
9988           format string, so don't use G_GNUC_PRINTF for those versions.
9989
9990 2006-10-07  Tim-Philipp Müller  <tim at centricular dot net>
9991
9992         * gst/gsttaglist.c: (gst_is_tag_list):
9993         * gst/gsttaglist.h:
9994           Minor fixes to GST_IS_TAG_LIST and gst_is_tag_list().
9995
9996         * tests/check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
9997           Small test for the above.
9998
9999 2006-10-07  Tim-Philipp Müller  <tim at centricular dot net>
10000
10001         * gst/gsttaglist.h:
10002           Less tabs, more spaces.
10003
10004 2006-10-06  Tim-Philipp Müller  <tim at centricular dot net>
10005
10006         * gst/gstinfo.h:
10007           Those two function declarations do actually belong there, revert
10008           commit from yesterday that turned them intro macros.
10009
10010 2006-10-06  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
10011
10012         Patch by: Josep Torra Valles <josep@fluendo.com>
10013
10014         * gst/gst.c: (gst_init_get_option_group):
10015         Fix empty declaration and type mismatch.
10016         * gst/gstbin.c: (gst_bin_change_state_func):
10017         Fix type mismatch.
10018         * gst/gstelement.c: (gst_element_continue_state),
10019         (gst_element_set_state_func), (gst_element_change_state),
10020         (gst_element_change_state_func):
10021         Fix type mismatches.
10022         * gst/gstinfo.c: (gst_debug_compare_log_function_by_func),
10023         (gst_debug_remove_log_function), (_gst_debug_nameof_funcptr):
10024         Cast as appropriate.
10025         * gst/gstobject.c: (gst_class_signal_connect):
10026         Cast as appropriate.  The function pointer parameter really
10027         has the wrong type but would break API if we change it.
10028         * gst/gstquery.c:
10029         Fix redefinition of _FILE_OFFSET_BITS caused on Solaris wrt
10030         order of including string.h.
10031         * gst/gstutils.c: (gst_element_state_get_name):
10032         Remove unreachable line.
10033         * gst/gstxml.c: (gst_xml_parse_doc):
10034         Fix type mismatch.
10035         All these caught by Forte.
10036
10037 2006-10-06  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
10038
10039         Patch by: Josep Torra Valles <josep@fluendo.com>
10040
10041         * common/m4/gst-error.m4:
10042         Fixed bug #360151.
10043         We need to disable warnings on Forte for empty declarations
10044         due to gst-indent adding ;s to lines that just use macros
10045         where the macro actually doesn't need a ; at end to end
10046         statement.
10047
10048 2006-10-06  Wim Taymans  <wim@fluendo.com>
10049
10050         * plugins/elements/gstfilesink.c: (gst_file_sink_open_file),
10051         (gst_file_sink_close_file), (gst_file_sink_event),
10052         (gst_file_sink_render):
10053         Add some FIXME for the NEWSEGMENT handling.
10054
10055 2006-10-05  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
10056
10057         * gst/parse/grammar.y:
10058         Remove static function gst_parse_element_lock as all it does
10059         is return.  Looks like cruft from 0.8.
10060
10061 2006-10-05  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
10062
10063         Patch by: Josep Torra Valles <josep@fluendo.com>
10064
10065         * common/m4/gst-error.m4:
10066         * configure.ac:
10067         * libs/gst/net/Makefile.am:
10068         Fix a compilation issue with Forte on Solaris.  inet_aton is in
10069         libresolv.
10070
10071 2006-10-05  Tim-Philipp Müller  <tim at centricular dot net>
10072
10073         * gst/gstpad.c: (pre_activate):
10074         * gst/gstregistry.c: (gst_registry_scan_path_level):
10075         * gst/gstregistryxml.c: (load_plugin):
10076         * libs/gst/controller/gstcontroller.c:
10077         (gst_controlled_property_set_interpolation_mode):
10078         * libs/gst/dataprotocol/dataprotocol.c:
10079         (gst_dp_packet_from_event_1_0):
10080         * libs/gst/net/gstnetclientclock.c:
10081         (gst_net_client_clock_observe_times):
10082         * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
10083           Printf fixes.
10084
10085 2006-10-05  Tim-Philipp Müller  <tim at centricular dot net>
10086
10087         * configure.ac:
10088         * docs/gst/gstreamer-sections.txt:
10089         * gst/gstconfig.h.in:
10090         * gst/gstelement.h:
10091         * gst/gstinfo.h:
10092           Add GST_USING_PRINTF_EXTENSION to gstconfig.h so that we know
10093           whether we can use G_GNUC_PRINTF in other header files and at
10094           least check the printf format/arguments of debug messages and
10095           GST_ELEMENT_ERROR messages when the printf extension is not
10096           being used.
10097           Replace more tabs with spaces in gstinfo.h and remove two spurious
10098           function declarations in GST_DISABLE_DEBUG part with macros.
10099
10100 2006-10-03  Tim-Philipp Müller  <tim at centricular dot net>
10101
10102         * gst/gstbus.c: (gst_bus_class_init), (gst_bus_post):
10103           More docs for the sync-message signal (mention that it is not
10104           emitted by default); log message structures of messages posted on
10105           the bus as well.
10106
10107 2006-10-03  Jan Schmidt  <thaytan@mad.scientist.com>
10108
10109         * gst/gst.c: (ensure_current_registry_forking):
10110         Use a pipe pair to receive status results from the forked child, and
10111         ignore the result from waitpid. Fixes #355499
10112
10113 2006-10-02  Wim Taymans  <wim@fluendo.com>
10114
10115         * tests/check/gst/gstghostpad.c: (GST_START_TEST),
10116         (gst_ghost_pad_suite):
10117         Fix leak in check.
10118
10119 2006-10-02  Tim-Philipp Müller  <tim at centricular dot net>
10120
10121         * gst/gstpad.c:
10122           Add 'Since: 0.10.11' to gst_pad_is_blocking() gtk-doc blurb.
10123
10124 2006-10-02  Edward Hervey  <edward@fluendo.com>
10125
10126         * docs/design/part-block.txt:
10127         Further explain the use of flushing on blocked pads.
10128         * docs/gst/gstreamer-sections.txt:
10129         * gst/gstpad.c: (gst_pad_is_blocking), (handle_pad_block),
10130         (gst_pad_push_event):
10131         * gst/gstpad.h:
10132         Added new GstPadFlag : GST_PAD_BLOCKING.
10133         Adds the notion of pads really blocking, which enables to properly
10134         handle FLUSH_START/FLUSH_STOP events on blocked pads.
10135         Fixes #358999
10136         API: gst_pad_is_blocking()
10137         API: GST_PAD_IS_BLOCKING() macro
10138         API: GST_PAD_BLOCKING GstPadFlag
10139         
10140 2006-10-02  Wim Taymans  <wim@fluendo.com>
10141
10142         Patch by: mrcgran <mrc.gran at gmail dot com>
10143
10144         * gst/gstghostpad.c: (gst_proxy_pad_do_getcaps):
10145         Filter the proxied caps against the padtemplate if we have one.
10146
10147         * gst/gstquery.c: (gst_query_new_segment):
10148         Add include for gstinfo.h so that compilation with
10149         -DGST_DISABLE_GST_DEBUG works again. Fixes #358436.
10150
10151 2006-10-02  Wim Taymans  <wim@fluendo.com>
10152
10153         Patch by: Alessandro Decina  <alessandro at nnva org>
10154
10155         * plugins/elements/gstfilesink.c: (gst_file_sink_init),
10156         (gst_file_sink_set_location), (gst_file_sink_open_file),
10157         (gst_file_sink_close_file), (gst_file_sink_event),
10158         (gst_file_sink_render):
10159         Set file to NULL when closing filesink so that we can set a new filename
10160         in READY. Fixes #358613.
10161
10162 2006-10-02  Tim-Philipp Müller  <tim at centricular dot net>
10163
10164         Patch by: Alessandro Decina  <alessandro at nnva org>
10165
10166         * gst/gstevent.c: (_gst_event_copy):
10167           Fix gst_mini_object_make_writable() and gst_event_copy() for events
10168           with event structures by setting the parent refcount address of the
10169           copied structure to the address of the refcount member of the newly
10170           copied event rather than the address of the refcount member of the
10171           original event. Fixes #358737.
10172
10173         * tests/check/gst/gstevent.c: (GST_START_TEST):
10174           Unit test for the above.
10175
10176 2006-09-29  Stefan Kost  <ensonic@users.sf.net>
10177
10178         * docs/design/Makefile.am:
10179           Dist some more files.
10180
10181 2006-09-29  Tim-Philipp Müller  <tim at centricular dot net>
10182
10183         * tests/check/libs/controller.c: (GST_START_TEST),
10184         (gst_controller_suite):
10185           Add test for the previous fix; add some more tests
10186           for correct refcounting behaviour; fix a few leaks
10187           in test cases; call gst_controller_init() at start
10188           of all tests.
10189
10190 2006-09-29  Tim-Philipp Müller  <tim at centricular dot net>
10191
10192         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
10193         (gst_controller_set_from_list):
10194           Don't g_return_val_if_fail() on timed values with invalid timestamps
10195           inside a critical section without unlocking the mutex. Spotted by
10196           René Stadler. (#357617)
10197           Also, fix up refcounting properly: when returning an existing
10198           controller, we should increase the reference only once and not
10199           once per property and when trying to control a property again
10200           we should also increase the refcount.
10201
10202 2006-09-29  Wim Taymans  <wim@fluendo.com>
10203
10204         * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
10205         * libs/gst/net/gstnettimeprovider.c:
10206         (gst_net_time_provider_thread):
10207         Stop reading commands when EOF as well.
10208
10209         * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init):
10210         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init):
10211         * plugins/elements/gstidentity.c: (gst_identity_class_init):
10212         Unify description of the dump property.
10213
10214 2006-09-28  Jan Schmidt  <thaytan@mad.scientist.com>
10215
10216         * tests/examples/manual/.cvsignore:
10217         OK, so it's actually cvsignore that needs changing. Stop laughing.
10218
10219 2006-09-28  Jan Schmidt  <thaytan@mad.scientist.com>
10220
10221         * tests/examples/manual/Makefile.am:
10222         Gah, declare vars *before* using them
10223
10224 2006-09-28  Jan Schmidt  <thaytan@mad.scientist.com>
10225
10226         * gst/gst.c: (init_pre), (scan_and_update_registry),
10227         (ensure_current_registry_nonforking),
10228         (ensure_current_registry_forking), (ensure_current_registry),
10229         (init_post), (gst_debug_help), (gst_deinit):
10230         * gst/gst_private.h:
10231         * gst/gstregistry.c: (gst_registry_finalize),
10232         (gst_registry_remove_features_for_plugin_unlocked),
10233         (gst_registry_remove_plugin), (gst_registry_scan_path_level),
10234         (gst_registry_scan_path),
10235         (_priv_gst_registry_remove_cache_plugins),
10236         (_priv_gst_registry_cleanup):
10237         * gst/gstregistry.h:
10238         Re-commit the registry changes, along with an extra fix:
10239           When a cached plugin is encountered at a different file path,
10240           update the stored path in the registry cache so that the parent
10241           process knows where it actually is now when it re-reads the registry
10242           cache. Fixes the thing that broke distcheck with the previous commit.
10243
10244         * tests/check/Makefile.am:
10245         Clean up files named 'core' too when running make clean.
10246
10247         * tests/examples/manual/Makefile.am:
10248         Set up a registry path for running these tests, and clean it properly
10249         for distcheck.
10250
10251 2006-09-28  Jan Schmidt  <thaytan@mad.scientist.com>
10252
10253         * configure.ac:
10254         Don't pull in gmodule-2.0.pc as a dependency in our .pc files - we
10255         want gmodule-no-export-2.0.pc instead so that we don't drag in
10256         --export-dynamic on every project that links to GStreamer.
10257
10258         Also, make our export regex only match the start of symbols, rather 
10259         than any symbol that contains '_gst' somewhere.
10260
10261         * libs/gst/check/Makefile.am:
10262         The libgstcheck we build does however need export-dynamic, as it
10263         produces some symbols that don't match our _gst... style regex.
10264         Fixes: #318031
10265
10266 2006-09-27  Jan Schmidt  <thaytan@mad.scientist.com>
10267
10268         * gst/gst.c: (init_pre), (scan_and_update_registry),
10269         (ensure_current_registry_nonforking),
10270         (ensure_current_registry_forking), (ensure_current_registry),
10271         (init_post), (gst_debug_help), (gst_deinit):
10272         * gst/gst_private.h:
10273         * gst/gstregistry.c: (gst_registry_finalize),
10274         (gst_registry_remove_plugin), (gst_registry_scan_path_level),
10275         (gst_registry_scan_path), (_gst_registry_remove_cache_plugins),
10276         (_gst_registry_cleanup):
10277         * gst/gstregistry.h:
10278           Revert previous change until I figure out why it breaks distcheck.
10279
10280 2006-09-27  Jan Schmidt  <thaytan@mad.scientist.com>
10281
10282         * gst/gst.c: (init_pre), (scan_and_update_registry),
10283         (ensure_current_registry_nonforking),
10284         (ensure_current_registry_forking), (ensure_current_registry),
10285         (init_post), (gst_debug_help), (gst_deinit):
10286
10287           Make init_pre and init_post take the full complement of GOptionFunc
10288           args so they can return useful GErrors. Make the registry updating
10289           functions do so.
10290
10291           Call _priv_gst_registry_remove_cache_plugins after scanning files to
10292           ensure that the registry we're about to write out doesn't contain
10293           stale information about old-deleted plugin files.
10294
10295           Make _priv_gst_registry_remove_cache_plugins return a boolean so
10296           that deletion of plugin files is considered a registry change.
10297
10298         * gst/gst_private.h:
10299         * gst/gstregistry.c: (gst_registry_finalize),
10300         (gst_registry_remove_features_for_plugin_unlocked),
10301         (gst_registry_remove_plugin), (gst_registry_scan_path_level),
10302         (gst_registry_scan_path),
10303         (_priv_gst_registry_remove_cache_plugins),
10304         (_priv_gst_registry_cleanup):
10305         * gst/gstregistry.h:
10306         Rename _gst_registry_remove_cache_plugins and _gst_registry_cleanup
10307         by adding _priv prefix, so that they won't appear in the global
10308         symbol table. They still do atm though because of #318031. Move the
10309         prototypes to gst_private.h
10310
10311         When removing a plugin, remove all features for that plugin too. 
10312         Fixes #340878.
10313
10314 2006-09-27  Wim Taymans  <wim@fluendo.com>
10315
10316         * docs/random/moving-plugins:
10317         Make it clear that the "compiled-in descriptions" really mean
10318         the element details.
10319
10320         * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
10321         (gst_base_sink_wait_preroll):
10322         Update docs.
10323
10324         * docs/libs/gstreamer-libs-sections.txt:
10325         * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
10326         (gst_base_src_get_range), (gst_base_src_activate_push):
10327         * libs/gst/base/gstbasesrc.h:
10328         Added function to block while waiting for PLAYING, this function
10329         is used by live sources that block on the clock.
10330         API: gst_base_src_wait_playing()
10331
10332 2006-09-27  Tim-Philipp Müller  <tim at centricular dot net>
10333
10334         Patch by: Peter Kjellerstedt <pkj at axis com>
10335
10336         * Makefile.am:
10337           gst-element-check.m4 is generated and should therefore be
10338           copied from the build dir rather than the source dir (#357593).
10339           'make distcheck' hasn't noticed this because we were disting
10340           the file as well, so stop doing that.
10341
10342 2006-09-27  Tim-Philipp Müller  <tim at centricular dot net>
10343
10344         * tests/check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
10345           Add some tests for gst_caps_intersect().
10346
10347         * tools/gst-launch.c: (event_loop):
10348           Print all buffering percentages we get, even the 100% one.
10349
10350 2006-09-26  Wim Taymans  <wim@fluendo.com>
10351
10352         * tools/gst-inspect.c: (print_element_properties_info),
10353         (print_signal_info):
10354         Fix printing of flags to match the look of enums.
10355
10356 2006-09-25  Tim-Philipp Müller  <tim at centricular dot net>
10357
10358         * gst/gstelementfactory.c:
10359           Fix typo in docs blurb.
10360
10361 2006-09-25  Tim-Philipp Müller  <tim at centricular dot net>
10362
10363         * gst/gsturi.c: (search_by_entry):
10364           Don't assert/crash here if a uri handler doesn't return any
10365           supported protocols. The list of protocols could be generated
10366           dynamically at runtime or at plugin registration, and an error
10367           in the underlying library shouldn't be fatal (#353301).
10368
10369 2006-09-25  Tim-Philipp Müller  <tim at centricular dot net>
10370
10371         * gst/gstinfo.c:
10372           Fix warning if HAVE_PRINTF_EXTENSION is undefined
10373           (spotted by Peter Kjellerstedt).
10374
10375 2006-09-23  Wim Taymans  <wim@fluendo.com>
10376
10377         Based on patch by: Antoine Tremblay <hexa00 at gmail dot com>
10378
10379         * libs/gst/base/gstbasesrc.c:
10380         (gst_base_src_default_check_get_range), (gst_base_src_start),
10381         (gst_base_src_activate_push), (gst_base_src_activate_pull),
10382         (gst_base_src_change_state):
10383         Match _start/_stop calls in the activate functions. Remove redundant
10384         _stop call from the state change function. Fixes #356910.
10385         Turn failure DEBUG into ERROR. 
10386
10387 2006-09-22  Wim Taymans  <wim@fluendo.com>
10388
10389         * docs/design/part-buffering.txt:
10390         * gst/gstmessage.c: (gst_message_new_buffering),
10391         (gst_message_parse_buffering):
10392         Update docs about buffering.
10393
10394         * docs/design/part-trickmodes.txt:
10395         Fix typo.
10396
10397 2006-09-22  Stefan Kost  <ensonic@users.sf.net>
10398
10399         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
10400         (gst_controller_new_list):
10401           Ref instances when returning them again (fixes #357180)
10402
10403 2006-09-22  Tim-Philipp Müller  <tim at centricular dot net>
10404
10405         * gst/gstghostpad.c: (gst_ghost_pad_set_target):
10406           Don't forget to release proxy lock when there's an error.
10407
10408 2006-09-20  Jan Schmidt  <thaytan@mad.scientist.com>
10409
10410         * gst/gstcaps.h:
10411           Add extra initialisers for Caps things, to fix some plugin warnings
10412           when using -Wextra
10413
10414 2006-09-18  Wim Taymans  <wim@fluendo.com>
10415
10416         * gst/gstghostpad.c: (gst_ghost_pad_new_full):
10417           Also set template on the internal pad so that a getcaps from the 
10418           target pad returns the template caps.
10419
10420 2006-09-18  Wim Taymans  <wim@fluendo.com>
10421
10422         * gst/gstelement.c: (gst_element_post_message),
10423         (gst_element_dispose):
10424         Use _DEBUG_OBJECT some more.
10425
10426         * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
10427         Avoid typechecks.
10428
10429         * tools/gst-launch.c: (main):
10430         If the toplevel element is not a GstPipeline, it must be put in a
10431         pipeline so that a bus and clock is selected.
10432
10433 2006-09-17  Tim-Philipp Müller  <tim at centricular dot net>
10434
10435         * libs/gst/base/gstbasesrc.c: (gst_base_src_default_query):
10436           JITTER, RATE, and LATENCY query should be handled by the
10437           default case and not by the CONVERT query code.
10438
10439 2006-09-17  Tim-Philipp Müller  <tim at centricular dot net>
10440
10441         * gst/gstformat.c: (gst_format_register):
10442           Fix locking order (must take lock before using n_values).
10443
10444         * gst/gstvalue.c: (gst_value_serialize_enum),
10445         (gst_value_deserialize_enum_iter_cmp),
10446         (gst_value_deserialize_enum):
10447           Fix serialisation/deserialisation of custom registered GstFormats.
10448
10449         * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
10450           Unit test for custom format serialisation/deserialisation.
10451
10452 2006-09-17  Stefan Kost  <ensonic@users.sf.net>
10453
10454         * docs/pwg/building-boiler.xml:
10455         * plugins/elements/gstcapsfilter.c:
10456         More G_OBJECT macro fixing. Also Fix some details on the plugin-stamp
10457         section.
10458
10459 2006-09-16  Edward Hervey  <edward@fluendo.com>
10460
10461         * libs/gst/base/gstbasetransform.c:
10462         (gst_base_transform_buffer_alloc):
10463         Check if requested caps are the same as the sinks caps IF
10464         ->have_same_caps is TRUE. If they are not, act as if have_same_caps
10465         is FALSE.
10466         This fixes the renegotiation issues stated in #352827.
10467
10468 2006-09-16  Thomas Vander Stichele  <thomas at apestaart dot org>
10469
10470         * configure.ac:
10471         * docs/manual/advanced-autoplugging.xml:
10472         * tests/examples/Makefile.am:
10473         * tests/examples/manual/.cvsignore:
10474         * tests/examples/manual/Makefile.am:
10475         * tests/examples/manual/extract.pl:
10476           Extract the manual examples again like we used to do.
10477           Fix one of them.
10478
10479 2006-09-16  Thomas Vander Stichele  <thomas at apestaart dot org>
10480
10481         * win32/common/config.h:
10482           update for version
10483
10484 2006-09-16  Stefan Kost  <ensonic@users.sf.net>
10485
10486         * gst/gsterror.c:
10487           Documents how to receive errors.
10488
10489 2006-09-15  Wim Taymans  <wim@fluendo.com>
10490
10491         * tools/gst-launch.c: (sigint_handler_sighandler), (check_intr),
10492         (event_loop), (main):
10493         Added some comments here and there.
10494         Post an application message when an interrupt is caught instead of doing
10495         an uncontrolled state change.
10496         Clean up the event loop.
10497         Handle buffering messages, pause/resume the pipeline.
10498         Make shutdown because of an interrupt more reliable.
10499
10500 2006-09-15  Wim Taymans  <wim@fluendo.com>
10501
10502         * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
10503         (gst_base_sink_wait_preroll), (gst_base_sink_do_sync),
10504         (gst_base_sink_preroll_object):
10505         Make sure that our internal state is correct when we commit our state
10506         asynchronously. This solves a race where a state change to PLAYING
10507         could cause the sink to remain blocked in preroll in some situations.
10508
10509 2006-09-15  Wim Taymans  <wim@fluendo.com>
10510
10511         * tools/gst-inspect.c: (print_element_properties_info),
10512         (print_signal_info):
10513         List flags as hex so it's easier to deal with.
10514
10515 2006-09-15  Wim Taymans  <wim@fluendo.com>
10516
10517         * docs/libs/gstreamer-libs-sections.txt:
10518         * libs/gst/base/gstbasesink.c: (gst_base_sink_wait_preroll),
10519         (gst_base_sink_do_sync):
10520         * libs/gst/base/gstbasesink.h:
10521         Expose logic to wait for preroll so that subclasses such as audiosink
10522         can also use this method.
10523         API: gst_base_sink_wait_preroll()
10524
10525 2006-09-15  Wim Taymans  <wim@fluendo.com>
10526
10527         * gst/gstobject.c: (gst_object_set_parent):
10528         * gst/gstpipeline.c: (do_pipeline_seek):
10529         Small cleanups in docs and code.
10530
10531         * gst/gstsegment.c: (gst_segment_clip):
10532         * tests/check/gst/gstsegment.c: (GST_START_TEST):
10533         if stop == start and start is in the segment, no clipping should be
10534         done. Also add a test for this.
10535
10536 2006-09-15  Wim Taymans  <wim@fluendo.com>
10537
10538         * docs/design/part-buffering.txt:
10539         * docs/gst/gstreamer-sections.txt:
10540         * gst/gstmessage.c: (gst_message_new_buffering),
10541         (gst_message_parse_buffering):
10542         * gst/gstmessage.h:
10543         Added methods to create and parse BUFFERING messages.
10544         Added preliminary docs about buffering.
10545         API: gst_message_new_buffering
10546         API: gst_message_parse_buffering
10547
10548 2006-09-06  Wim Taymans  <wim@fluendo.com>
10549
10550         * gst/gstbin.c:
10551         Update documentation.
10552
10553         * gst/gstelement.c: (gst_element_class_init),
10554         (gst_element_release_request_pad), (gst_element_set_clock),
10555         (gst_element_get_index), (gst_element_add_pad),
10556         (gst_element_remove_pad), (gst_element_get_random_pad),
10557         (gst_element_send_event), (gst_element_get_query_types),
10558         (gst_element_query), (gst_element_post_message),
10559         (gst_element_message_full), (gst_element_continue_state),
10560         (gst_element_lost_state), (gst_element_save_thyself),
10561         (gst_element_restore_thyself):
10562         Documentation updates.
10563         Rename last bit of the new-pad -> pad-added signal rename.
10564         Fix the case where an element query would only work if the source
10565         pad was linked.
10566         Avoid some useless type checking in message handling.
10567
10568         * gst/gstevent.c:
10569         * gst/gstevent.h:
10570         * gst/gstutils.c:
10571         Documentation updates.
10572
10573 2006-09-14  Thomas Vander Stichele  <thomas at apestaart dot org>
10574
10575         * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
10576           add an INFO line for when we actually update the fd
10577
10578 2006-09-14  Thomas Vander Stichele  <thomas at apestaart dot org>
10579
10580         * configure.ac:
10581           back to TRUNK
10582
10583 === release 0.10.10 ===
10584
10585 2006-09-14  Thomas Vander Stichele <thomas at apestaart dot org>
10586
10587         * configure.ac:
10588           releasing 0.10.10, "Pais"
10589
10590 2006-09-05  Tim-Philipp Müller  <tim at centricular dot net>
10591
10592         * docs/manual/advanced-position.xml:
10593           Fix typo in sample code.
10594
10595 2006-09-05  Wim Taymans  <wim@fluendo.com>
10596
10597         * libs/gst/net/gstnetclientclock.c: (inet_aton),
10598         (gst_net_client_clock_init), (gst_net_client_clock_finalize),
10599         (gst_net_client_clock_do_select), (gst_net_client_clock_new):
10600         * libs/gst/net/gstnetclientclock.h:
10601         * libs/gst/net/gstnettimepacket.c: (gst_net_time_packet_send):
10602         * libs/gst/net/gstnettimepacket.h:
10603         * libs/gst/net/gstnettimeprovider.c: (inet_aton),
10604         (gst_net_time_provider_init), (gst_net_time_provider_finalize),
10605         (gst_net_time_provider_thread), (gst_net_time_provider_new):
10606         * libs/gst/net/gstnettimeprovider.h:
10607         Make stuff compile on windows. Fixes #345295.
10608
10609 2006-09-03  Tim-Philipp Müller  <tim at centricular dot net>
10610
10611         * gst/gst.c: (ensure_current_registry_forking):
10612           Print better details when child was terminated by signal.
10613
10614 2006-09-03  Tim-Philipp Müller  <tim at centricular dot net>
10615
10616         * gst/gstregistryxml.c: (gst_registry_xml_save_feature):
10617           Print a warning rather than g_assert() if a plugin feature
10618           is a URI handler but returns no protocols (#353976).
10619
10620 2006-09-02  Stefan Kost  <ensonic@users.sf.net>
10621
10622         * docs/random/moving-plugins:
10623         Fix two typos.         
10624
10625 2006-09-01  Tim-Philipp Müller  <tim at centricular dot net>
10626
10627         * gst/gstinfo.c: (_gst_debug_nameof_funcptr):
10628           Fix locking order, handle NULL function values properly.
10629
10630         * gst/gstinfo.h:
10631           Fix docs.
10632
10633         * gst/gstpad.c: (gst_pad_buffer_alloc_unchecked):
10634           Initialise variable before using it and fix debug statement to
10635           print the address of the function rather than the address of the
10636           variable on the stack holding the address of the function.
10637
10638 2006-09-01  Wim Taymans  <wim@fluendo.com>
10639
10640         * gst/gstghostpad.c: (gst_proxy_pad_do_event),
10641         (gst_proxy_pad_do_bufferalloc), (gst_proxy_pad_do_chain),
10642         (gst_proxy_pad_do_getrange), (gst_proxy_pad_do_checkgetrange),
10643         (gst_proxy_pad_set_target_unlocked), (gst_ghost_pad_parent_set),
10644         (gst_ghost_pad_parent_unset),
10645         (gst_ghost_pad_internal_do_activate_push),
10646         (gst_ghost_pad_internal_do_activate_pull),
10647         (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
10648         (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
10649         (gst_ghost_pad_init), (gst_ghost_pad_dispose),
10650         (gst_ghost_pad_new_full), (gst_ghost_pad_new_no_target),
10651         (gst_ghost_pad_new), (gst_ghost_pad_new_from_template),
10652         (gst_ghost_pad_new_no_target_from_template),
10653         (gst_ghost_pad_get_target), (gst_ghost_pad_set_target):
10654         More cleanups.
10655         Avoid needless typechecking in macros.
10656         Since the internal pad is always present and never changes, there is
10657         no need to locking or ref when retrieving it.
10658         Improve debugging a bit.
10659         Handle link errors when setting the target. Fixes #341029.
10660
10661 2006-09-01  Wim Taymans  <wim@fluendo.com>
10662
10663         * docs/libs/gstreamer-libs-sections.txt:
10664         * docs/plugins/gstreamer-plugins-sections.txt:
10665         Fix docs some more.
10666
10667         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad),
10668         (gst_collect_pads_event):
10669         * libs/gst/base/gstcollectpads.h:
10670         Documentation updates.
10671         Free queued buffer when removing a pad.
10672
10673 2006-08-31  Michael Smith  <msmith@fluendo.com>
10674
10675         * gst/gstutils.c: (gst_element_link_pads),
10676         (gst_element_link_pads_filtered):
10677           Ensure that we set a capsfilter to NULL if we failed to link it
10678           when doing filtered linking, to avoid criticals.
10679
10680           No need to check for unreffing srcpad, which is explicly NULLed
10681           above (a trivial code cleanup).
10682
10683 2006-08-31  Wim Taymans  <wim@fluendo.com>
10684
10685         * docs/design/part-gstghostpad.txt:
10686         Update ascii art in documentation.
10687
10688         * gst/gstghostpad.c: (gst_proxy_pad_do_internal_link),
10689         (gst_proxy_pad_set_target_unlocked), (gst_proxy_pad_init),
10690         (gst_ghost_pad_parent_set), (gst_ghost_pad_parent_unset),
10691         (gst_ghost_pad_internal_do_activate_push),
10692         (gst_ghost_pad_internal_do_activate_pull),
10693         (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
10694         (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
10695         (gst_ghost_pad_dispose), (gst_ghost_pad_new_full),
10696         (gst_ghost_pad_set_target):
10697         Small cleanups and leak fixes.
10698         Remove some checks now that the internal pad is never NULL.
10699         Fix the case where linking pads without a target would create nasty
10700         criticals. Fixes #341029.
10701         Don't assign a GstPadLinkReturn to a gboolean and mess up the return
10702         value of _set_target().
10703
10704         * tests/check/gst/gstghostpad.c: (GST_START_TEST),
10705         (gst_ghost_pad_suite):
10706         Some more tests for creating and linking untargeted ghostpads.
10707
10708 2006-08-31  Edward Hervey  <edward@fluendo.com>
10709
10710         * docs/gst/gstreamer-sections.txt:
10711         * gst/gstghostpad.c: (gst_proxy_pad_do_getcaps),
10712         (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target_unlocked),
10713         (gst_proxy_pad_dispose), (gst_ghost_pad_new_full),
10714         (gst_ghost_pad_new_no_target), (gst_ghost_pad_new),
10715         (gst_ghost_pad_new_from_template),
10716         (gst_ghost_pad_new_no_target_from_template):
10717         * gst/gstghostpad.h:
10718         Refactored *_new() functions.
10719         Templates are now used as a g_object_new() parameter.
10720         Use template in _do_getcaps() if we don't have a target.
10721         Small documentation cleanups.
10722         Added two new constructors:
10723         gst_ghost_pad_new_from_template()
10724         gst_ghost_pad_new_no_target_from_template()
10725         * tests/check/gst/gstghostpad.c: (GST_START_TEST),
10726         (gst_ghost_pad_suite):
10727         Added tests for new ghostpad instanciation functions.
10728
10729         API additions: gst_ghost_pad_new_from_template,
10730         gst_ghost_pad_new_no_target_from_template
10731
10732 2006-08-30  Stefan Kost  <ensonic@users.sf.net>
10733
10734         * docs/random/ensonic/profiling.txt:
10735           Ideas about qos profiling.
10736
10737 2006-08-29  Wim Taymans  <wim@fluendo.com>
10738
10739         * gst/gstcaps.c: (gst_caps_structure_is_subset_field):
10740         Code cleanups.
10741         Fix memleak.
10742
10743 2006-08-29  Tim-Philipp Müller  <tim at centricular dot net>
10744
10745         * gst/gstxml.c:
10746           Improve and detypofy docs.
10747
10748         * tests/check/Makefile.am:
10749         * tests/check/gst/.cvsignore:
10750         * tests/check/gst/gstxml.c: (GST_START_TEST), (gst_xml_suite):
10751           Add a basic test suite for GstXML.
10752
10753 2006-08-29  Wim Taymans  <wim@fluendo.com>
10754
10755         * gst/gstelement.c: (activate_pads), (clear_caps),
10756         (iterator_activate_fold_with_resync), (gst_element_pads_activate):
10757         Clear the pad caps when the element shut down all of the pads and
10758         is not streaming data that could modify the caps. 
10759         Fixes #352958.
10760
10761 2006-08-28  Michael Smith  <msmith@fluendo.com>
10762
10763         * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
10764           Revert previous change; I misunderstood single-segment mode.
10765
10766 2006-08-28  Michael Smith  <msmith@fluendo.com>
10767
10768         * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
10769           Unset DISCONT on buffers when using single-segment mode.
10770
10771 2006-08-28  Wim Taymans  <wim@fluendo.com>
10772
10773         * gst/gstcaps.c: (gst_caps_merge_structure):
10774         * gst/gstcaps.h:
10775         Fix docs and indentation again.
10776
10777         * tests/check/gst/gstquery.c: (GST_START_TEST):
10778         Fix leak in tests and add some more tests.
10779
10780 2006-08-28  Edward Hervey  <edward@fluendo.com>
10781
10782         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
10783         Inform GstSegment of the last stop position in order for the current
10784         segment to have a proper duration if it doesn't have a specific stop
10785         position from which a duration could be calculated.
10786         This bug was noticeable when a non-flushing, non-update new segment was
10787         followed by another segment (all buffers from the new segment were being
10788         dropped).
10789
10790 2006-08-28  Wim Taymans  <wim@fluendo.com>
10791
10792         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek):
10793         Small comment update.
10794
10795         * plugins/elements/gstidentity.c: (gst_identity_class_init),
10796         (gst_identity_transform_ip):
10797         Drop-probability is broken, mention this in the code with a 
10798         FIXME and also in the property description.
10799         Make silent also be silent about the drop messages.
10800
10801 2006-08-28  Tim-Philipp Müller  <tim at centricular dot net>
10802
10803         * docs/manual/appendix-win32.xml:
10804           Remove mention of popt, we don't depend on that any
10805           longer (#353136). Add some comments pointing out that
10806           this section is slightly outdated.
10807
10808 2006-08-28  Wim Taymans  <wim@fluendo.com>
10809
10810         Patch by: Torsten Schoenfeld <kaffeetisch at gmx dot de>
10811
10812         * gst/gstquery.c: (gst_query_new_segment):
10813         * tests/check/gst/gstquery.c: (GST_START_TEST):
10814         Initialize variables when creating a new segment query.
10815         Fixes #353121.
10816
10817 2006-08-28  Wim Taymans  <wim@fluendo.com>
10818
10819         Patch by: Torsten Schoenfeld <kaffeetisch at gmx dot de>
10820
10821         * gst/gstelement.c: (gst_element_get_bus):
10822         * tests/check/gst/gstelement.c: (GST_START_TEST):
10823         Check for NULL before _reffing the bus. Fixes #353122.
10824
10825 2006-08-25  Tim-Philipp Müller  <tim at centricular dot net>
10826
10827         * docs/manual/basics-bus.xml:
10828           Docs update: fix wrong callback return value explanation; add
10829           some lines about the implicit relationship between main loop
10830           and main context; remove duplicate main loop variable declaration.
10831
10832 2006-08-24  Tim-Philipp Müller  <tim at centricular dot net>
10833
10834         * tests/check/gst/gstcaps.c: (GST_START_TEST):
10835           Don't leak caps in unit test; add a few more simple
10836           checks. 
10837
10838 2006-08-24  Stefan Kost  <ensonic@users.sf.net>
10839
10840         * docs/gst/gstreamer-sections.txt:
10841         * gst/gstcaps.c: (gst_caps_structure_is_subset_field),
10842         (gst_caps_structure_is_subset), (gst_caps_merge),
10843         (gst_caps_merge_structure):
10844         * gst/gstcaps.h:
10845         * libs/gst/base/gstbasetransform.c:
10846         (gst_base_transform_transform_caps):
10847         * tests/check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
10848           implement caps merging (fixes #352580)
10849
10850 2006-08-23  Stefan Kost  <ensonic@users.sf.net>
10851
10852         * tools/Makefile.am:
10853         * tools/gst-plot-timeline.py:
10854           add debug-log plotting developer tool (#340674)
10855
10856 2006-08-23  Wim Taymans  <wim@fluendo.com>
10857
10858         * gst/gstpad.c: (gst_pad_start_task), (gst_pad_pause_task),
10859         (gst_pad_stop_task):
10860         Improve debugging for task functions.
10861
10862         * gst/gsttask.c: (gst_task_func), (gst_task_set_lock),
10863         (gst_task_start), (gst_task_pause), (gst_task_join):
10864         Make sure that the task function started and finished after a 
10865         join(). 
10866         Don't try to push the task function on the threadpool multiple
10867         times.
10868         Improve the g_warning message with some useful suggestions
10869         about how to fix the problem. 
10870
10871 2006-08-23  Wim Taymans  <wim@fluendo.com>
10872
10873         * gst/gstutils.c: (gst_pad_proxy_getcaps):
10874         Handle RESYNC correctly in _proxy_getcaps.
10875
10876 2006-08-21  Tim-Philipp Müller  <tim at centricular dot net>
10877
10878         * gst/gstxml.c: (gst_xml_dispose), (gst_xml_parse_file),
10879         (gst_xml_parse_memory), (gst_xml_get_element):
10880           Chain up to parent class in dispose function and also
10881           unref the elements in the toplevel_elements GList.
10882           Don't leak XmlDocPtr in _parse_file() and _parse_memory().
10883           Always return a reference in gst_xml_get_element() rather
10884           than only sometimes.
10885
10886         * tools/gst-launch.c: (xmllaunch_parse_cmdline):
10887           Don't leak GstXml object.
10888
10889 2006-08-21  Stefan Kost  <ensonic@users.sf.net>
10890
10891         * docs/gst/gstreamer-sections.txt:
10892         * gst/gstcaps.c: (gst_structure_is_equal_foreach),
10893         (gst_caps_merge):
10894         * gst/gstcaps.h:
10895         * libs/gst/base/gstbasetransform.c:
10896         (gst_base_transform_transform_caps):
10897           API: Add gst_caps_merge() and use it in basetransform, fixes #345444
10898           in a better way
10899
10900 2006-08-21  Edward Hervey  <edward@fluendo.com>
10901
10902         * gst/gstxml.c: (gst_xml_class_init), (gst_xml_dispose):
10903         Implement GObject::dispose virtual method in GstXML so we can free the
10904         top_elements GList.
10905
10906 2006-08-21  Wim Taymans  <wim@fluendo.com>
10907
10908         * gst/gstbuffer.c: (gst_buffer_make_metadata_writable),
10909         (gst_buffer_create_sub):
10910         Copy duration/offset_end/caps when creating a subbuffer of the
10911         complete parent.
10912         Make the subbuffer read-only when we make the metadata writable for
10913         now. Fixes #351768.
10914
10915         * tests/check/gst/gstbuffer.c: (GST_START_TEST):
10916         Added check for metadata copy when creating subbuffers.
10917
10918 2006-08-21  Edward Hervey  <edward@fluendo.com>
10919
10920         * libs/gst/base/gstbasetransform.c:
10921         (gst_base_transform_buffer_alloc):
10922         Only call downstream buffer_alloc if transform element is passthrough
10923         or always_in_place. Closes #350449.
10924
10925 2006-08-20  Stefan Kost  <ensonic@users.sf.net>
10926
10927         * ChangeLog:
10928           ChangeLog surgery to add comments to previous changes
10929
10930 2006-08-20  Stefan Kost  <ensonic@users.sf.net>
10931
10932         * gst/gst.c:
10933           Add comments
10934
10935         * gst/gstpad.c: (gst_pad_set_active):
10936           Be more verbose in the log
10937
10938         * libs/gst/base/gstbasetransform.c:
10939         (gst_base_transform_transform_caps):
10940           Simplify caps to get rid of duplicates, fixes #345444
10941
10942 2006-08-20  Stefan Kost  <ensonic@users.sf.net>
10943
10944         * gst/gstvalue.c:
10945         * gst/gstvalue.h:
10946           Use these optimizations only internally.
10947
10948 2006-08-20  Stefan Kost  <ensonic@users.sf.net>
10949
10950         * gst/gstvalue.c: (gst_value_compare_list),
10951         (gst_value_compare_fraction_range),
10952         (gst_value_intersect_fraction_fraction_range),
10953         (gst_value_intersect_fraction_range_fraction_range),
10954         (gst_value_subtract_fraction_fraction_range),
10955         (gst_value_subtract_fraction_range_fraction_range),
10956         (gst_value_get_compare_func), (gst_value_compare),
10957         (gst_value_compare_with_func):
10958         * gst/gstvalue.h:
10959           Saves the expensive lookup of the compare function in many cases
10960          (#345444)
10961
10962 2006-08-18  Edward Hervey  <edward@fluendo.com>
10963
10964         * tests/check/gst/gstinfo.c: (gst_info_suite):
10965         Disable test that require gstdebug if it wasn't built in core.
10966
10967 2006-08-18  Stefan Kost  <ensonic@users.sf.net>
10968
10969         * docs/random/ensonic/logging.txt:
10970           update ideas
10971           
10972         * gst/gstinfo.c: (gst_debug_log_default):
10973           reorder fields, save some columns, add optional color codes for log
10974           levels
10975
10976 2006-08-18  Stefan Kost  <ensonic@users.sf.net>
10977
10978         * docs/random/ensonic/logging.txt:
10979           add ideas about making the logs a bit more useful
10980
10981 2006-08-17  Tim-Philipp Müller  <tim at centricular dot net>
10982
10983         * docs/pwg/advanced-events.xml:
10984         * docs/pwg/titlepage.xml:
10985           Update for 0.10 API (#340627). Add myself
10986           to authors list.
10987
10988 2006-08-17  Tim-Philipp Müller  <tim at centricular dot net>
10989
10990         * docs/libs/gstreamer-libs-docs.sgml:
10991         * docs/libs/gstreamer-libs-sections.txt:
10992         * libs/gst/check/gstbufferstraw.c:
10993           Make gstcheck stuff show up in docs (still needs to
10994           be documented properly though).
10995
10996 2006-08-16  Jan Schmidt  <thaytan@mad.scientist.com>
10997
10998         * docs/gst/gstreamer-sections.txt:
10999         * gst/Makefile.am:
11000         * gst/gst.c: (init_post):
11001         * gst/gst_private.h:
11002         * gst/gstquark.c: (_priv_gst_quarks_initialize):
11003         * gst/gstquark.h:
11004         * gst/gstquery.c: (gst_query_new_position),
11005         (gst_query_set_position), (gst_query_parse_position),
11006         (gst_query_new_duration), (gst_query_set_duration),
11007         (gst_query_parse_duration), (gst_query_new_convert),
11008         (gst_query_set_convert), (gst_query_parse_convert),
11009         (gst_query_new_segment), (gst_query_set_segment),
11010         (gst_query_parse_segment), (gst_query_new_seeking),
11011         (gst_query_set_seeking), (gst_query_parse_seeking):
11012         Add internal helpers for pre-registering quarks from static strings
11013         and using the quark values directly instead of looking them up when
11014         creating and parsing queries. Can be used for event construction too.
11015         Closes #350432.
11016
11017 2006-08-16  Wim Taymans  <wim@fluendo.com>
11018
11019         * gst/gstbin.c:
11020         Fix bogus docs.
11021
11022 2006-08-15  Tim-Philipp Müller  <tim at centricular dot net>
11023
11024         * gst/gstutils.c: (gst_util_set_value_from_string):
11025           Fix memleak (#351502).
11026
11027         * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
11028           Add unit test for most of gst_util_set_value_from_string()
11029           (not that one would want to encourage use of this function).
11030
11031 2006-08-15  Tim-Philipp Müller  <tim at centricular dot net>
11032
11033         * libs/gst/check/gstcheck.h:
11034           Use const gchar * variables in fail_unless_equals_string
11035           macro to avoid compiler warnings (and don't use tabs for
11036           indenting).
11037
11038 2006-08-15  Tim-Philipp Müller  <tim at centricular dot net>
11039
11040         * tools/gst-launch.c: (print_tag):
11041           More space on the left for the tag names, to cater
11042           for the 'extended comment' tag (not touching the
11043           string for the first line since it's translated).
11044
11045 2006-08-15  Tim-Philipp Müller  <tim at centricular dot net>
11046
11047         * libs/gst/check/gstcheck.h:
11048           Fix ASSERT_CRITICAL and ASSERT_WARNING macros to actually
11049           print something when they fail.
11050
11051 2006-08-14  Tim-Philipp Müller  <tim at centricular dot net>
11052
11053         * docs/gst/gstreamer-sections.txt:
11054         * gst/gsttaglist.c: (_gst_tag_initialize):
11055         * gst/gsttaglist.h:
11056           API: add GST_TAG_EXTENDED_COMMENT (#350935).
11057           Also change merge function for GST_TAG_COMMENT to
11058           use_first.
11059
11060 2006-08-14  Tim-Philipp Müller  <tim at centricular dot net>
11061
11062         * gst/gstinfo.c: (gst_debug_print_object):
11063           Make GST_PTR_FORMAT print messages as well.
11064
11065         * tests/check/gst/gstinfo.c: (printf_extension_log_func),
11066         (GST_START_TEST), (gst_info_suite):
11067           More tests.
11068
11069 2006-08-14  Edward Hervey  <edward@fluendo.com>
11070
11071         * gst/gstelementfactory.c: (gst_element_register):
11072         If the GstElementClass doesn't have a GstElementDetails with all fields
11073         filled up correctly (longname, description AND author), then error out
11074         nicely instead of crashing.
11075
11076 2006-08-14  Tim-Philipp Müller  <tim at centricular dot net>
11077
11078         * gst/gststructure.c:
11079           Fix typo in docs and re-wrap docs blurb to not exceed 80 chars/line.
11080
11081         * gst/gstvalue.h:
11082           Expand on the difference between arrays and lists as we use them.
11083           
11084 2006-08-14  Wim Taymans  <wim@fluendo.com>
11085
11086         * libs/gst/base/gstbasesrc.c: (gst_base_src_change_state):
11087         If the parent state change function failed, don't assume we can safely
11088         stop the source, this will be done when the pads are deactivated.
11089
11090 2006-08-14  Wim Taymans  <wim@fluendo.com>
11091
11092         * gst/gstbuffer.c:
11093         * gst/gsttask.c: (gst_task_join):
11094         Small doc updates.
11095
11096         * gst/gstpad.c: (gst_pad_activate_pull), (gst_pad_activate_push),
11097         (gst_pad_stop_task):
11098         When pad (de)activation failed for some reason, restore the old
11099         activation mode and set the pad to flushing instead of assuming the
11100         pad is deactivated.
11101         If the _task_join() failed, reinstall the task on the pad so that it can
11102         be stopped later and return an error.
11103
11104 2006-08-11  Andy Wingo  <wingo@pobox.com>
11105
11106         * configure.ac:
11107         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packetizer_new):
11108         * tests/check/libs/gdp.c: (gst_dp_suite): GST_DISABLE_DEPRECATED
11109         is only for users of API that don't want to see deprecated
11110         functions in the headers; people that want to compile out
11111         deprecated code should pass -DGST_REMOVE_DEPRECATED into the
11112         CFLAGS. Fixes the build of multifdsink, or will soon..
11113
11114 2006-08-11  Wim Taymans  <wim@fluendo.com>
11115
11116         * docs/gst/gstreamer-sections.txt:
11117         Add GstClockClass vmethod docs.
11118
11119         * gst/gstcaps.h:
11120         Mark #endif with comment for associated #if
11121
11122         * gst/gstclock.c: (gst_clock_id_wait):
11123         * gst/gstclock.h:
11124         Add vmethod wait_jitter to avoid an unneeded _get_time() for
11125         most clock implementations.
11126         Document vmethods.
11127         Flesh out docs about resolution methods.
11128         API: GstClockClass::wait_jitter
11129
11130         * gst/gstsystemclock.c: (gst_system_clock_class_init),
11131         (gst_system_clock_async_thread),
11132         (gst_system_clock_id_wait_jitter_unlocked),
11133         (gst_system_clock_id_wait_jitter):
11134         Use base class wait_jitter variant for improved performance
11135         due to less clock polling.
11136
11137 2006-08-11  Edward Hervey  <edward@fluendo.com>
11138
11139         * gst/gst.c: (gst_init_check), (init_post):
11140         Set gst as being initialized before scanning/updating the registry,
11141         since there might be my python plugin loader that calls gst_init() and
11142         we don't want to loop back in.
11143         Closes #350879
11144
11145 2006-08-11  Wim Taymans  <wim@fluendo.com>
11146
11147         * docs/design/part-qos.txt:
11148         Bring docs in line with the code. Mostly the sign of the jitter was
11149         wrong in the docs. Fixes #349943.
11150
11151         * gst/gstclock.c:
11152         Fix the docs for the jitter.
11153
11154         * gst/gstevent.c: (gst_event_new_custom), (gst_event_new_tag),
11155         (gst_event_parse_tag), (gst_event_new_buffer_size),
11156         (gst_event_parse_buffer_size), (gst_event_parse_qos),
11157         (gst_event_new_seek), (gst_event_parse_seek),
11158         (gst_event_new_navigation):
11159         Make sure the GstStructure has no parent when creating custom
11160         events.
11161         Add some more argument checking so that we avoid 0.0 rates.
11162         Flesh out the docs for the QoS event some more.
11163
11164 2006-08-11  Wim Taymans  <wim@fluendo.com>
11165
11166         * docs/gst/gstreamer-sections.txt:
11167         * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
11168         (ensure_current_registry_forking), (ensure_current_registry),
11169         (parse_one_option), (parse_goption_arg), (gst_deinit),
11170         (gst_registry_fork_is_enabled), (gst_registry_fork_set_enabled):
11171         * gst/gst.h:
11172         Doc updates.
11173         Added API and command line option to disable registry forking in
11174         addition to the environment variable.
11175         Constify some static arrays.
11176         Added some more debug.
11177         Don't deinit twice.
11178         API: gst_registry_fork_is_enabled()
11179         API: gst_registry_fork_set_enabled()
11180         API: --gst-disable-registry-fork command line option
11181         Fixes #348918.
11182
11183 2006-08-11  Tim-Philipp Müller  <tim at centricular dot net>
11184
11185         * gst/gst.c: (gst_init):
11186           Fix typo in error message.
11187
11188 2006-08-10  Stefan Kost  <ensonic@users.sf.net>
11189
11190         * libs/gst/controller/gstcontroller.h:
11191           fix ABI size-correction
11192
11193         * tests/check/libs/gdp.c: (gst_dp_suite):
11194           make tests that use deprecated API conditional
11195
11196 2006-08-10  Stefan Kost  <ensonic@users.sf.net>
11197
11198         * docs/libs/gstreamer-libs-sections.txt:
11199         * libs/gst/controller/gstcontroller.c:
11200         (_gst_controller_get_property), (_gst_controller_set_property),
11201         (_gst_controller_init), (_gst_controller_class_init):
11202         * libs/gst/controller/gstcontroller.h:
11203         * libs/gst/controller/gsthelper.c: (gst_object_get_control_rate),
11204         (gst_object_set_control_rate):
11205           API: add gst_object_{s,g}et_control_rate(), add private data section,
11206           fix docs
11207
11208         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packetizer_new):
11209         * libs/gst/dataprotocol/dataprotocol.h:
11210           add deprecation guards to make gtk-doc happy and allow disabling cruft
11211
11212 2006-08-09  Tim-Philipp Müller  <tim at centricular dot net>
11213
11214         * tests/check/Makefile.am:
11215         * tests/check/gst/.cvsignore:
11216           Let's enable the new unit test as well.
11217
11218 2006-08-08  Tim-Philipp Müller  <tim at centricular dot net>
11219
11220         * configure.ac:
11221         * docs/gst/gstreamer-sections.txt:
11222         * gst/gstconfig.h.in:
11223         * gst/gstinfo.c: (_gst_debug_init), (gst_debug_print_segment),
11224         (_gst_info_printf_extension_ptr),
11225         (_gst_info_printf_extension_segment):
11226           API: add GST_SEGMENT_FORMAT, which is a printf extension we
11227           register that lets us easily dump GstSegments into debug
11228           logs (#350419).
11229
11230         * tests/check/gst/gstinfo.c: (segment_printf_extension_log_func),
11231         (info_segment_format_printf_extension), (gst_info_suite):
11232           Add simple unit test that logs a bunch of different segments (not
11233           valgrinded at the moment because of leaks in
11234           gst_debug_add_log_function).
11235
11236 2006-08-09  Edward Hervey  <edward@fluendo.com>
11237
11238         * libs/gst/base/gstbasetransform.c:
11239         (gst_base_transform_buffer_alloc):
11240         Even if we can't figure out the proper format to request downstream,
11241         call buffer_alloc() downstream with the input parameters without setting
11242         the caps on the srcpad. This will force negotiation in the chain
11243         function.
11244         Closes #350449
11245
11246 2006-08-08  Edward Hervey  <edward@fluendo.com>
11247
11248         * gst/gstghostpad.c: (gst_ghost_pad_do_unlink):
11249         Unlinking from a pad without a target is now a perfectly valid case
11250         which should NOT raise an assertion.
11251         This case would happen if a linked ghostpad its target set to NULL after
11252         it was previously linked.
11253
11254 2006-08-08  Edward Hervey  <edward@fluendo.com>
11255
11256         * tests/check/libs/gdp.c:
11257         Also comment out the test (see below).
11258
11259 2006-08-08  Edward Hervey  <edward@fluendo.com>
11260
11261         * tests/check/libs/gdp.c: (gst_dp_suite):
11262         Use the architecture information from config.h and not gcc macros
11263         in order to properly disable a test that fails on PPC64.
11264
11265 2006-08-04  Tim-Philipp Müller  <tim at centricular dot net>
11266
11267         * gst/gstelement.c: (gst_element_remove_pad):
11268           Don't crash printing the warning if the pad has no parent.
11269
11270 2006-08-02  Wim Taymans  <wim@fluendo.com>
11271
11272         * libs/gst/dataprotocol/dataprotocol.c:
11273         (gst_dp_header_from_buffer_any), (gst_dp_packet_from_caps_any),
11274         (gst_dp_crc), (gst_dp_header_payload_length),
11275         (gst_dp_header_payload_type), (gst_dp_packet_from_event),
11276         (gst_dp_packet_from_event_1_0), (gst_dp_buffer_from_header),
11277         (gst_dp_caps_from_packet), (gst_dp_event_from_packet_0_2),
11278         (gst_dp_event_from_packet), (gst_dp_validate_header),
11279         (gst_dp_validate_payload):
11280         Make debug category static
11281         Constify the crc table.
11282         Do some more arg checking in public functions.
11283         Fix some docs and do some small cleanups.
11284
11285         * tests/check/libs/gdp.c: (GST_START_TEST), (gst_dp_suite):
11286         Add some more checks to see if GDP deals with bogus input.
11287
11288 2006-07-31  Wim Taymans  <wim@fluendo.com>
11289
11290         * gst/gstvalue.c: (gst_value_compare_list):
11291         Fix GstValueList comparison code. Fixes #347293.
11292
11293         * tests/check/gst/gstvalue.c: (GST_START_TEST):
11294         Check to test GstValueList comparison.
11295
11296 2006-07-31  Jan Schmidt  <thaytan@mad.scientist.com>
11297
11298         * gst/gstelementfactory.c: (gst_element_factory_create):
11299         Remove unnecessary ref/unref pair
11300
11301         * gst/parse/grammar.y:
11302         Make sure to free the parse buffer on all code paths.
11303         Move a g_free up to the error handler where it's easier to see.
11304
11305         * tests/check/gst/gstevent.c: (test_event):
11306         Extending timeout for downstream travelling events to 10 seconds to
11307         hopefully avoid intermittent failure on the buildbots.
11308
11309         * tests/check/pipelines/parse-launch.c: (run_delayed_test):
11310         Don't manually set the state of the src element - it will happen as a
11311         natural consequence of the pipeline changing state, and that way it
11312         will do it in the right order too.
11313
11314 2006-07-31  Wim Taymans  <wim@fluendo.com>
11315
11316         * libs/gst/base/gstbasetransform.c:
11317         (gst_base_transform_buffer_alloc):
11318         Use OBJECT_LOCK and refcounting to get the pad caps in the
11319         buffer_alloc function because the caps could change while we are
11320         busy with them. Fixes #349105
11321
11322 2006-07-31  Wim Taymans  <wim@fluendo.com>
11323
11324         * gst/gstutils.c: (gst_pad_get_fixed_caps_func):
11325         Protect _PAD_CAPS with OBJECT_LOCK.
11326
11327 2006-07-31  Wim Taymans  <wim@fluendo.com>
11328
11329         * gst/gstpad.c: (gst_pad_class_init), (gst_pad_dispose),
11330         (gst_pad_get_property), (gst_pad_activate_pull),
11331         (gst_pad_activate_push), (gst_pad_set_blocked_async),
11332         (gst_pad_set_activate_function),
11333         (gst_pad_set_activatepull_function),
11334         (gst_pad_set_activatepush_function), (gst_pad_set_chain_function),
11335         (gst_pad_set_getrange_function),
11336         (gst_pad_set_checkgetrange_function), (gst_pad_set_event_function),
11337         (gst_pad_set_query_function), (gst_pad_set_query_type_function),
11338         (gst_pad_set_internal_link_function), (gst_pad_set_link_function),
11339         (gst_pad_set_unlink_function), (gst_pad_set_getcaps_function),
11340         (gst_pad_set_acceptcaps_function),
11341         (gst_pad_set_fixatecaps_function), (gst_pad_set_setcaps_function),
11342         (gst_pad_set_bufferalloc_function), (gst_pad_link_check_hierarchy),
11343         (gst_pad_get_caps_unlocked), (gst_pad_get_caps),
11344         (gst_pad_peer_get_caps), (gst_pad_accept_caps),
11345         (gst_pad_peer_accept_caps), (gst_pad_set_caps),
11346         (gst_pad_configure_sink), (gst_pad_configure_src),
11347         (gst_pad_get_allowed_caps), (gst_pad_get_negotiated_caps),
11348         (gst_pad_buffer_alloc_unchecked), (gst_pad_alloc_buffer_full),
11349         (gst_pad_query), (gst_pad_load_and_link), (handle_pad_block),
11350         (gst_pad_chain_unchecked), (gst_pad_push), (gst_pad_get_range),
11351         (gst_pad_send_event):
11352         Use _DEBUG_OBJECT when it makes sense.
11353         Protect GST_PAD_CAPS with the OBJECT_LOCK.
11354         Small cleanups and code reflows.
11355         Avoid caps refcounting in _accept_caps.
11356         Refactor alloc_buffer so that the code performed on the peer is in a
11357         separate function. Also if the pad does not implement a buffer alloc
11358         function, we should still check if the pad is flushing before falling
11359         back to the default allocator.
11360
11361 2006-07-31  Jan Schmidt  <thaytan@mad.scientist.com>
11362
11363         * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
11364         Make all uses of identity and fakesink have silent=true to avoid
11365         serialising every passing data structure, which is breaking tests
11366         on FC4 for some unknown reason.
11367
11368 2006-07-30  Stefan Kost  <ensonic@users.sf.net>
11369
11370         * gst/parse/Makefile.am:
11371         * gst/parse/grammar.y:
11372         * gst/parse/parse.l:
11373           Reverted previous patch as it required to bump the flex dependency to
11374           2.5.31, where fc4/5 seem to ship only the ancient 2.5.4a :(
11375
11376 2006-07-30  Stefan Kost  <ensonic@users.sf.net>
11377
11378         Patch by: Marc-Andre Lureau <marcandre.lureau@gmail.com>
11379
11380         * gst/parse/Makefile.am:
11381         * gst/parse/grammar.y:
11382         * gst/parse/parse.l:
11383           push & pop the state of the lexer for reentrant use case
11384           Fixes #349180
11385
11386 2006-07-29  Tim-Philipp Müller  <tim at centricular dot net>
11387
11388         * libs/gst/base/gstbasesrc.h:
11389           Note in the docs that the ::newsegment vfunc is not actually used by
11390           GstBaseSrc.
11391
11392 2006-07-28  Wim Taymans  <wim@fluendo.com>
11393
11394         * libs/gst/base/gstcollectpads.c:
11395         (gst_collect_pads_set_flushing_unlocked), (gst_collect_pads_pop),
11396         (gst_collect_pads_clear), (gst_collect_pads_flush),
11397         (gst_collect_pads_event), (gst_collect_pads_chain):
11398         When flushing a pad, also clear the queued buffer so that we don't
11399         accidentally use it when we shouldn't.
11400         Fix leaks by inreffing incomming buffer.
11401         Flush out queued buffers in case of errors.
11402         Fixes #347452.
11403
11404 2006-07-28  Wim Taymans  <wim@fluendo.com>
11405
11406         * docs/random/phonon-gst:
11407         Random notes about a Phonon backend.
11408
11409 2006-07-27  Jan Schmidt  <thaytan@mad.scientist.com>
11410
11411         * libs/gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
11412         Extra debug output
11413         * tests/check/libs/gdp.c: (gst_dp_suite):
11414         Take a whack at fixing the ppc compile using a different define to
11415         disable the broken test.
11416
11417         * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
11418         Remove excess g_print()
11419
11420 2006-07-27  Jan Schmidt <thaytan@mad.scientist.com>
11421
11422         * tests/check/pipelines/parse-launch.c: (expected_fail_pipe):
11423         Oops, meant to uncomment this line too to dampen the noise a bit.
11424
11425 2006-07-27  Jan Schmidt <thaytan@mad.scientist.com>
11426
11427         * gst/parse/grammar.y:
11428         * gst/parse/parse.l:
11429         * tests/check/pipelines/parse-launch.c: (expected_fail_pipe),
11430         (GST_START_TEST), (parse_suite):
11431         Fix some of the leaks exposed by extending the parse-launch testsuite,
11432         and move the 3 I can't figure out into a separate test that won't run
11433         the pipelines unless the appropriate line is uncommented.
11434
11435 2006-07-27  Tim-Philipp Müller  <tim at centricular dot net>
11436
11437         * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
11438           Requesting 0 bytes before the end of the file should result in
11439           FLOW_OK and an empty buffer, not FLOW_UNEXPECTED. Thank you
11440           unit test.
11441
11442 2006-07-27  Wim Taymans  <wim@fluendo.com>
11443
11444         * gst/gstcaps.c: (gst_static_caps_get), (gst_caps_get_structure):
11445         Fix useless assert, a uint is always positive.
11446
11447         * gst/gststructure.c: (gst_structure_nth_field_name),
11448         (gst_structure_foreach), (gst_structure_map_in_place):
11449         Check input arguments for public functions to avoid obvious crashes.
11450
11451         * plugins/elements/gstfakesink.c: (gst_fake_sink_render):
11452         * plugins/elements/gstfakesink.h:
11453         Do less useless typechecking.
11454
11455 2006-07-27  Tim-Philipp Müller  <tim at centricular dot net>
11456
11457         * plugins/elements/gstfilesrc.c: (gst_file_src_class_init):
11458           Do not use mmap() by default since there are a number of error
11459           conditions that we would like to handle in a non-fatal way that
11460           will result in a SIGBUS if we use mmap(). Examples: external
11461           devices (USB harddrive, portable music player) being unplugged
11462           while in use; file on mounted CD/DVD that can't be read because
11463           the medium is partly damaged. Fixes #348455 and #348475.
11464
11465 2006-07-27  Jan Schmidt  <thaytan@mad.scientist.com>
11466
11467         * gst/gstquery.h:
11468         Delete unused and misleading define of GST_QUERY_TYPE_RATE_DEN -
11469         rates are a gdouble
11470
11471 2006-07-26  Stefan Kost  <ensonic@users.sf.net>
11472
11473         * gst/gstregistry.c:
11474           Move big documentation comment into class section header, so that it
11475           appears in the API docs.
11476
11477 2006-07-26  Jan Schmidt  <thaytan@mad.scientist.com>
11478
11479         * docs/gst/gstreamer-sections.txt:
11480         Oops. Commit the docs additions too for new API.
11481         Also, remove the mention of the non-existent GST_QUERY_TYPE_RATE_DEN
11482
11483 2006-07-26  Jan Schmidt  <thaytan@mad.scientist.com>
11484
11485         * gst/gststructure.c: (gst_structure_id_set),
11486         (gst_structure_id_set_valist):
11487         * gst/gststructure.h:
11488         Add API for setting values into structures without performing
11489         a quark lookup, if the appropriate quark is already known.
11490
11491         API: gst_structure_id_set
11492         API: gst_structure_id_set_valist
11493
11494         * gst/parse/grammar.y:
11495         * gst/parse/parse.l:
11496         Remove some dead code shown by the coverage information.
11497         Don't throw a critical g_warning when encountering a syntax error,
11498         just warn and let the normal error path handle it.
11499
11500         * plugins/elements/gstelements.c:
11501         Bump the rank of filesink up to PRIMARY so that it is preferred over
11502         gnomevfssink for file:// sink uri's
11503
11504         * tests/check/pipelines/parse-launch.c: (expected_fail_pipe),
11505         (GST_START_TEST), (run_delayed_test),
11506         (gst_parse_test_element_base_init),
11507         (gst_parse_test_element_class_init), (gst_parse_test_element_init),
11508         (gst_parse_test_element_change_state),
11509         (gst_register_parse_element), (parse_suite):
11510         Beef up the tests for parse syntax to check that more error cases
11511         fail as they are supposed to. Increases the test coverage a bit.
11512
11513 2006-07-26  Tim-Philipp Müller  <tim at centricular dot net>
11514
11515         * docs/manual/basics-elements.xml:
11516           Fix gst_element_link() example.
11517
11518         * gst/gstutils.c:
11519           Mention in API docs that one should usually gst_bin_add()
11520           elements to a bin or pipeline before doing the linking.
11521           
11522 2006-07-26  Wim Taymans  <wim@fluendo.com>
11523
11524         * gst/gstbuffer.c: (gst_buffer_get_type), (gst_buffer_new),
11525         (gst_subbuffer_get_type), (gst_buffer_create_sub):
11526         Avoid function call for known types by keeping the buffer and
11527         subbuffer GType global.
11528
11529         * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
11530         Random silly optimisations in read() path.
11531
11532 2006-07-26  Jan Schmidt  <thaytan@mad.scientist.com>
11533
11534         * tools/gst-launch.c: (main):
11535           If the top-level of the parse is a normal bin, it doesn't do the
11536           right logic to run as a top-level element, so place it inside a
11537           pipeline.
11538
11539 2006-07-25  Tim-Philipp Müller  <tim at centricular dot net>
11540
11541         * plugins/elements/gstfilesrc.c: (gst_file_src_set_property):
11542           Remove superfluous g_object_notify() calls, GObject does
11543           that for us automatically.
11544
11545 2006-07-25  Stefan Kost  <ensonic@users.sf.net>
11546
11547         * gst/gstinfo.h:
11548           on Win32, use dllspec to export the debug category symbols
11549
11550 2006-07-24  Tim-Philipp Müller  <tim at centricular dot net>
11551
11552         * gst/gsttaglist.c: (_gst_tag_initialize):
11553           Allow more than one GST_TAG_IMAGE per taglist.
11554
11555 2006-07-24  Thomas Vander Stichele  <thomas at apestaart dot org>
11556
11557         * gst/gstminiobject.c:
11558           update docs
11559         * plugins/elements/gstfdsrc.c: (gst_fd_src_set_property),
11560         (gst_fd_src_create):
11561           log recurring events at LOG level
11562           add more debug for when the fd gets set
11563
11564 2006-07-21  Stefan Kost  <ensonic@users.sf.net>
11565
11566         * gst/gstparse.c: (gst_parse_launch):
11567           Also remove reentrance checks if flex is MT safe (#348179)
11568          Fix my empty ChangeLog entry below
11569
11570 2006-07-21  Andy Wingo  <wingo@pobox.com>
11571
11572         * docs/libs/gstreamer-libs-sections.txt: Attempt to pacify buildbot.
11573
11574         * libs/gst/check/Makefile.am
11575         (libgstcheck_@GST_MAJORMINOR@include_HEADERS)
11576         (libgstcheck_@GST_MAJORMINOR@_la_SOURCES): 
11577         * libs/gst/check/gstbufferstraw.h:
11578         * libs/gst/check/gstbufferstraw.c: Add some new hype testing
11579         functions, thus proving I am still a GStreamer haxor. OK I wrote
11580         them a long time ago, but anyways.
11581
11582 2006-07-21  Stefan Kost  <ensonic@users.sf.net>
11583
11584         * configure.ac:
11585         * gst/gstparse.c: (gst_parse_launch):
11586           Check for flex version and omit mutex if we have a MT save flex
11587           (fixes #348179)
11588
11589 2006-07-21  Wim Taymans  <wim@fluendo.com>
11590
11591         * gst/gstparse.c: (gst_parse_launch):
11592         Protect recursive calls to _parse with a recursive mutex
11593         and busy flag.
11594
11595 2006-07-21  Wim Taymans  <wim@fluendo.com>
11596
11597         * tests/check/gst/gstpad.c: (GST_START_TEST):
11598         Fix leak in test.
11599
11600 2006-07-20  Stefan Kost  <ensonic@users.sf.net>
11601
11602         * gst/gstparse.c: (gst_parse_launch):
11603           Do not hang on recursive usage of gst_parse_launch()
11604
11605 2006-07-20  Tim-Philipp Müller  <tim at centricular dot net>
11606
11607         * gst/gsttaglist.c:
11608           Add some more docs, comments and FIXME 0.11s here and there
11609           and also fix some typos.
11610
11611 2006-07-20  Tim-Philipp Müller  <tim at centricular dot net>
11612
11613         * gst/gstsegment.h:
11614           Convert tabs to spaces for better readability. 
11615
11616 2006-07-20  Edward Hervey  <edward@fluendo.com>
11617
11618         * tests/check/libs/gdp.c: (gst_dp_suite):
11619         the test_buffer test fails at line 140 on ppc64 at the following
11620         check:
11621         fail_unless (GST_BUFFER_FLAG_IS_SET (newbuffer,
11622                 GST_BUFFER_FLAG_IN_CAPS),
11623                 "GST_BUFFER_IN_CAPS flag should have been copied !");
11624         See bug #348114 for more details.
11625
11626 2006-07-19  Tim-Philipp Müller  <tim at centricular dot net>
11627
11628         * docs/pwg/advanced-scheduling.xml:
11629         * gst/gstpad.c:
11630           Fix typos (#348000).
11631
11632 2006-07-18  Tim-Philipp Müller  <tim at centricular dot net>
11633
11634         * docs/pwg/intro-basics.xml:
11635           Fix wrong links (#347927).
11636
11637 2006-07-18  Stefan Kost  <ensonic@users.sf.net>
11638
11639         * gst/gstregistry.h:
11640         * gst/gstregistryxml.c: (load_feature),
11641         (gst_registry_xml_read_cache), (gst_registry_xml_save_feature):
11642         * win32/common/config.h:
11643           make --disable-index work (#342564)
11644
11645 2006-07-18  Wim Taymans  <wim@fluendo.com>
11646
11647         Patch by: Peter Kjellerstedt <pkj at axis dot com>
11648
11649         * gst/Makefile.am:
11650         * gst/gsttrace.h:
11651         The attached patch adds two missing defines to gsttrace.h when tracing
11652         is disabled.  It also corrects one existing define.
11653         Fixes #347756.
11654
11655 2006-07-17  Wim Taymans  <wim@fluendo.com>
11656
11657         * docs/gst/gstreamer-sections.txt:
11658         * gst/gst.c: (gst_segtrap_is_enabled), (gst_segtrap_set_enabled):
11659         * gst/gst.h:
11660         * gst/gstplugin.c: (_gst_plugin_fault_handler_restore):
11661         Add two functions to check and change the SIGSEGV behaviour
11662         when loading plugins.
11663         Don't mess with the SIGSEGV handler when we were told not to.
11664         Fixes #347794.
11665         API: gst_segtrap_is_enabled
11666         API: gst_segtrap_set_enabled
11667
11668 2006-07-14  Wim Taymans  <wim@fluendo.com>
11669
11670         * libs/gst/base/gstbasesrc.c: (gst_base_src_update_length):
11671         * tests/check/elements/filesrc.c: (GST_START_TEST):
11672         Revert fix for regression in #347408 after release.
11673
11674 2006-07-14  Tim-Philipp Müller  <tim at centricular dot net>
11675
11676         Patch by: Antoine Tremblay <hexa00 at gmail com>
11677
11678         * gst/gstutils.c: (gst_element_unlink):
11679           Free iterator when done (#347311).
11680
11681         * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
11682           And add a test case for this.
11683
11684 2006-07-14  Jan Schmidt  <thaytan@mad.scientist.com>
11685
11686         * configure.ac:
11687         Bump nano back to CVS
11688
11689 === release 0.10.9 ===
11690
11691 2006-07-13  Jan Schmidt <thaytan@mad.scientist.com>
11692
11693         * configure.ac:
11694           releasing 0.10.9, "On the road again"
11695
11696 2006-07-13  Wim Taymans  <wim@fluendo.com>
11697
11698         * libs/gst/base/gstbasesrc.c: (gst_base_src_update_length):
11699         * tests/check/elements/filesrc.c: (GST_START_TEST):
11700         Revert pull-0 fix for release. Disable check. Fixes #347408.
11701
11702 2006-07-13  Thomas Vander Stichele  <thomas at apestaart dot org>
11703
11704         * libs/gst/dataprotocol/dataprotocol.c:
11705         (gst_dp_event_from_packet_1_0):
11706           Fixes #347337: failure to deserialize event packets with
11707           empty payload (only event type)
11708
11709 2006-07-13  Thomas Vander Stichele  <thomas at apestaart dot org>
11710
11711         * gst/Makefile.am:
11712           do not install a .c file in the header directory
11713
11714 2006-07-13  Edward Hervey  <edward@fluendo.com>
11715
11716         * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked):
11717         GhostPad no longer implicitely use the padtemplates of the targets.
11718         Fixes #347384
11719
11720 2006-07-11  Jan Schmidt  <thaytan@mad.scientist.com>
11721
11722         * gst/gstvalue.c: (gst_value_compare_list),
11723         (gst_value_compare_array), (_gst_value_initialize):
11724         * tests/check/gst/gstvalue.c: (GST_START_TEST):
11725         Make GstValueArray comparison be order dependent as designed.
11726         Add checks for value lists and value array comparisons.
11727         Fixes #347221
11728
11729 2006-07-11  Edward Hervey  <edward@fluendo.com>
11730
11731         * gst/gstbin.c: (activate_pads),
11732         (iterator_activate_fold_with_resync), (gst_bin_src_pads_activate),
11733         (gst_bin_change_state_func):
11734         (de)activate src pads before calling state_change on the childs.
11735         This is to avoid the case where a src ghostpad is blocked (holding the
11736         stream lock), which would block the deactivation of the ghostpad's
11737         target pad.
11738         * gst/gstghostpad.c: (gst_proxy_pad_do_query_type),
11739         (gst_proxy_pad_do_event), (gst_proxy_pad_do_query),
11740         (gst_proxy_pad_do_internal_link), (gst_proxy_pad_do_bufferalloc),
11741         (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange),
11742         (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_getcaps),
11743         (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
11744         (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target_unlocked),
11745         (gst_proxy_pad_set_target), (gst_proxy_pad_get_internal),
11746         (gst_proxy_pad_dispose), (gst_proxy_pad_init),
11747         (gst_ghost_pad_parent_set), (gst_ghost_pad_parent_unset),
11748         (gst_ghost_pad_class_init),
11749         (gst_ghost_pad_internal_do_activate_push),
11750         (gst_ghost_pad_internal_do_activate_pull),
11751         (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
11752         (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
11753         (gst_ghost_pad_dispose), (gst_ghost_pad_new_no_target),
11754         (gst_ghost_pad_new), (gst_ghost_pad_set_target):
11755         GhostPads now create their internal GstProxyPad at creation (and not
11756         when they're linked, as it was being done previously).
11757         The internal and target pads are linked straight away.
11758         The data will also travel through the other pad in order to make
11759         pad blocking and probes non-hackish (the probe/block now really happens
11760         on the GhostPad and not on the target).
11761         * gst/gstpad.c: (gst_pad_set_blocked_async),
11762         (gst_pad_link_prepare), (gst_pad_push_event):
11763         Remove previous ghostpad cruft.
11764         * gst/gstutils.c: (gst_pad_add_data_probe),
11765         (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
11766         (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
11767         (gst_pad_remove_buffer_probe):
11768         Remove previous ghost pad cruft.
11769         Added more detailed debug statements.
11770         * tests/check/gst/gstghostpad.c: (GST_START_TEST):
11771         Fix the testsuite for refcounting changes.
11772         The comments about who has references were correct, but the refcount
11773         being checked wasn't the same (!?!).
11774
11775         Fixes #341029
11776
11777 2006-07-10  Stefan Kost  <ensonic@users.sf.net>
11778
11779         * docs/gst/gstreamer-sections.txt:
11780         * gst/gstconfig.h.in:
11781         More docs for configuration options, add docs to gtk-doc.
11782
11783 2006-07-10  Stefan Kost  <ensonic@users.sf.net>
11784
11785         * gst/Makefile.am:
11786         * gst/gstconfig.h.in:
11787         * win32/common/config.h:
11788         Fix build when disabling tracing (fixes #344016). Also start to document
11789         the defines that disable the sub-systems.
11790
11791 2006-07-10  Edward Hervey  <edward@fluendo.com>
11792
11793         * gst/gst.c: (ensure_current_registry_forking):
11794         let's make valgrind happy...
11795
11796 2006-07-09  Wim Taymans  <wim@fluendo.com>
11797
11798         * gst/gstelement.c: (activate_pads),
11799         (iterator_activate_fold_with_resync), (gst_element_pads_activate):
11800         Better pad activation code: Reset the collect value too on resync.
11801         Add some comments.
11802
11803 2006-07-09  Wim Taymans  <wim@fluendo.com>
11804
11805         * gst/gstpad.c: (gst_pad_init), (gst_pad_activate_pull),
11806         (gst_pad_activate_push):
11807         Use some more macros where it makes sense.
11808         Allow pad mode switching instead of asserting. When a pad
11809         is activated in one mode and we activate it in another, 
11810         deactivate it first before activating it in a different mode.
11811         Fixes #329198.
11812
11813 2006-07-08  Andy Wingo  <wingo@pobox.com>
11814
11815         * tools/gst-launch.c (main): Handle err == NULL.
11816
11817         * gst/gst.c (init_post, ensure_current_registry)
11818         (ensure_current_registry_forking)
11819         (ensure_current_registry_nonforking): Reduce #ifdef ratnest by
11820         factoring out the registry scanning into separate functions. Don't
11821         fork for the rescan is GST_REGISTRY_FORK=no; useful in debugging.
11822         Better environment var name/interface suggestions accepted.
11823
11824 2006-07-07  Tim-Philipp Müller  <tim at centricular dot net>
11825
11826         * gst/gstobject.c: (gst_object_set_name_default),
11827         (gst_object_set_name):
11828           Random micro-optimisation: don't use a hash table
11829           with strings as keys and the usual strdup/strcmp
11830           involved, but rather just use the GQuark of the
11831           type name as key, since it needs to be looked up
11832           anyway to get the type name string.
11833
11834         * tests/check/gst/gstobject.c: (GST_START_TEST):
11835           Fix various leaks.
11836
11837 2006-07-07  Tim-Philipp Müller  <tim at centricular dot net>
11838
11839         * gst/gstbin.c: (compare_interface), (gst_bin_get_by_interface),
11840         (gst_bin_iterate_all_by_interface):
11841           Can't use GPOINTER_TO_INT and GINT_TO_POINTER with GTypes.
11842           GTypes are gulongs and thus the top 4 bytes might be cut
11843           off on some platforms when doing GPOINTER_TO_INT, leading
11844           to invalid GTypes and bad things happening (see RH bug #179654).
11845           Also add a check to make sure the type passed in is really
11846           an interface type.
11847
11848 2006-07-07  Tim-Philipp Müller  <tim at centricular dot net>
11849
11850         * .cvsignore:
11851           Ignore more.
11852
11853 2006-07-07  Tim-Philipp Müller  <tim at centricular dot net>
11854
11855         * Makefile.am:
11856         * configure.ac:
11857         * gst-element-check.m4:
11858         * gst-element-check.m4.in:
11859           Make gst-element-check-$VERSION.m4 call gst-inspect-$VERSION
11860           instead of the unversioned gst-inspect (#324176, #168659).
11861
11862 2006-07-06  Wim Taymans  <wim@fluendo.com>
11863
11864         * gst/gstmessage.h:
11865         Use a valid int for the _MESSAGE_ANY enum value to avoid compiler
11866         warnings.
11867
11868 2006-07-06  Wim Taymans  <wim@fluendo.com>
11869
11870         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
11871         (gst_base_src_wait), (gst_base_src_update_length),
11872         (gst_base_src_get_range), (gst_base_src_default_check_get_range),
11873         (gst_base_src_check_get_range), (gst_base_src_pad_check_get_range),
11874         (gst_base_src_loop), (gst_base_src_start),
11875         (gst_base_src_activate_pull):
11876         Update docs.
11877         blocksize == 0 now means the default blocksize when working in push
11878         based mode.
11879         Remove some pointless asserts in _wait function.
11880         Fix offset/length calculations and EOS handling. We can now pull 0
11881         bytes as well, which is allowed.
11882         use _check_get_range() to decide if we can operate in _pull based
11883         mode.
11884         Fix refcounting leak when check_get_range function was not 
11885         implemented.
11886         API GstBaseSrc::blocksize range can be 0 too now (default)
11887
11888         * tests/check/elements/filesrc.c: (GST_START_TEST),
11889         (filesrc_suite):
11890         Added check to test _get_range() behaviour.
11891
11892 2006-07-06  Wim Taymans  <wim@fluendo.com>
11893
11894         * gst/gstpad.c: (gst_pad_chain_unchecked), (gst_pad_chain),
11895         (gst_pad_push), (gst_pad_check_pull_range), (gst_pad_get_range),
11896         (gst_pad_pull_range):
11897         * gst/gstpad.h:
11898         Lots of comments and docs added to the pad functions.
11899         Flesh out the expected behaviour of the get_range() functions.
11900
11901 2006-07-06  Wim Taymans  <wim@fluendo.com>
11902
11903         * gst/gstbus.h:
11904         * gst/gstclock.h:
11905         * gst/gstevent.h:
11906         * gst/gstiterator.h:
11907         * gst/gstpad.h:
11908         * gst/gstplugin.h:
11909         * gst/gsttask.h:
11910         Remove comma at end of enumerator list. 
11911
11912 2006-07-05  Sebastien Moutte  <sebastien@moutte.net>
11913
11914         * win32/common/libgstbase.def:
11915         * win32/common/libgstdataprotocol.def:
11916         * win32/common/libsgtreamer.def:
11917         Add new exported functions.
11918
11919 2006-07-05  Wim Taymans  <wim@fluendo.com>
11920
11921         * libs/gst/base/gstpushsrc.c: (gst_push_src_check_get_range):
11922         Add some more docs here and there.
11923
11924 2006-07-05  Wim Taymans  <wim@fluendo.com>
11925
11926         * libs/gst/base/gstbasesink.c: (gst_base_sink_preroll_object),
11927         (gst_base_sink_loop), (gst_base_sink_get_position):
11928         When operating in pull mode update the offset so that we
11929         read sequentially.
11930
11931 2006-07-05  Wim Taymans  <wim@fluendo.com>
11932
11933         * gst/gstregistryxml.c: (read_string):
11934         Avoid strdup. (will happen in libxml, but hey!)
11935
11936         * gst/gsturi.c:
11937         Add some more docs.
11938
11939 2006-07-05  Wim Taymans  <wim@fluendo.com>
11940
11941         * gst/gstbuffer.c: (_gst_buffer_copy), (gst_buffer_create_sub):
11942         * tests/check/gst/gstbuffer.c: (GST_START_TEST),
11943         (gst_buffer_suite):
11944         No point in checking if the size of the subbuffer > 0, the
11945         code handles it correclty as demonstrated by unit test.
11946         Also add a unit test for the zero sized _new_and_alloc and
11947         _copy. Fixes #346663.
11948
11949 2006-07-05  Wim Taymans  <wim@fluendo.com>
11950
11951         * libs/gst/base/gstbasetransform.c:
11952         (gst_base_transform_prepare_output_buffer),
11953         (gst_base_transform_buffer_alloc),
11954         (gst_base_transform_handle_buffer):
11955         Make sure the buffer we pass to transform_ip has a refcount of
11956         1 and thus is writable. Fixes #343196
11957
11958 2006-07-04  Jan Schmidt  <thaytan@mad.scientist.com>
11959
11960         * plugins/elements/gstfilesrc.c: (gst_file_src_class_init),
11961         (gst_file_src_init), (gst_file_src_set_property),
11962         (gst_file_src_get_property), (gst_file_src_map_region):
11963         * plugins/elements/gstfilesrc.h:
11964         Add "sequential" property, off by default, to use madvise and hint
11965         to the kernel that sequential access is desired.
11966         Touch all retrieved pages by default to ensure they are pulled
11967         into memory. (Closes #345720)
11968
11969 2006-07-03  Wim Taymans  <wim@fluendo.com>
11970
11971         * docs/design/part-block.txt:
11972         * docs/design/part-dynamic.txt:
11973         Small docs updates.
11974
11975 2006-07-03  Wim Taymans  <wim@fluendo.com>
11976
11977         * gst/gstcaps.c: (gst_caps_new_empty), (_gst_caps_free),
11978         (gst_caps_unref), (gst_static_caps_get),
11979         (gst_caps_append_structure):
11980         * gst/gstclock.c: (gst_clock_entry_new), (_gst_clock_id_free):
11981         Use GSlice when the glib we build against is >= 2.10
11982
11983 2006-07-03  Wim Taymans  <wim@fluendo.com>
11984
11985         * gst/gstelement.c: (gst_element_pads_activate):
11986         Small cleanup in pad activation code.
11987
11988 2006-07-03  Wim Taymans  <wim@fluendo.com>
11989
11990         Patch by: Peter Kjellerstedt <pkj at axis dot com>
11991
11992         * gst/gst-i18n-app.h:
11993         * gst/gst-i18n-lib.h:
11994         * tools/gst-inspect.c: (print_signal_info):
11995         The attached patch will make the inclusion of gettext.h unconditional in
11996         gst/gst-i18n-app.h and gst/gst-i18n-lib.h, and it will remove the inclusion of
11997         libintl.h in tools/gst-inspect.c.
11998         This allows use of --disable-nls again and fixes #344642.
11999
12000 2006-07-03  Edward Hervey  <edward@fluendo.com>
12001
12002         * gst/gstpad.c: (handle_pad_block), (gst_pad_push_event):
12003         Implement pad blocking on events according to part-block.txt.
12004         More comments on behaviour.
12005         * tests/check/gst/gstevent.c: (test_event):
12006         Send event to peer pad of blocked pad (else it will block).
12007
12008 2006-07-03  Thomas Vander Stichele  <thomas at apestaart dot org>
12009
12010         * libs/gst/check/gstcheck.c: (gst_check_message_error),
12011         (gst_check_run_suite):
12012           if we get the wrong message, give us the types as string
12013         * plugins/elements/gstfilesrc.c: (gst_file_src_start):
12014           Fix a translatable
12015         * tests/check/elements/filesrc.c: (GST_START_TEST):
12016           add a test for trying to open a non-existing file
12017
12018 2006-07-03  Thomas Vander Stichele  <thomas at apestaart dot org>
12019
12020         * tests/check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
12021           add a test for adding self
12022
12023 2006-07-03  Thomas Vander Stichele  <thomas at apestaart dot org>
12024
12025         * libs/gst/check/gstcheck.h:
12026           add some assert_ as alias for fail_unless_*
12027         * tests/check/gst/gst.c: (GST_START_TEST), (gst_suite):
12028           increase test coverage
12029
12030 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
12031
12032         * Makefile.am:
12033           include lcov.mak for lcov coverage generation
12034         * tools/Makefile.am:
12035           add to CLEANFILES
12036
12037 2006-07-02  Edward Hervey  <edward@fluendo.com>
12038
12039         * tests/check/elements/.cvsignore:
12040         moaping
12041
12042 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
12043
12044         * configure.ac:
12045           don't set CFLAGS and friends for gcov, done from GST_GCOV now
12046         * tests/check/Makefile.am:
12047           clean up gcov files
12048
12049 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
12050
12051         * gst/gstcaps.c: (gst_caps_remove_and_get_structure):
12052           remove gst_caps_simplify; it was not declared and not used
12053           and deprecated in 0.8
12054
12055 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
12056
12057         * docs/faq/gst-uninstalled:
12058           don't put empty paths on PYTHONPATH
12059         * docs/gst/gstreamer-sections.txt:
12060           remove some symbols that are not there
12061
12062 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
12063
12064         * gst/gstcaps.c: (gst_caps_compare_structures):
12065           whitespace fixes
12066         * tests/check/gst/gstbuffer.c: (GST_START_TEST):
12067         * tests/check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
12068           add more tests
12069
12070 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
12071
12072         * libs/gst/dataprotocol/Makefile.am:
12073           build dataprotocol test by linking to the lib, instead of
12074           compiling the source, so we get coverage
12075         * tests/check/Makefile.am:
12076         * tests/check/elements/filesrc.c: (event_func), (setup_filesrc),
12077         (cleanup_filesrc), (GST_START_TEST), (filesrc_suite):
12078           add a test for filesrc
12079
12080 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
12081
12082         * tests/check/gst/gststructure.c: (GST_START_TEST),
12083         (gst_structure_suite):
12084           Push coverage from 59.04% to 70.00%
12085
12086 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
12087
12088         * tests/check/Makefile.am:
12089           gst-inspect every element; this makes sure that we also get
12090           coverage on element's get/set functions
12091
12092 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
12093
12094         * configure.ac:
12095           set CFLAGS and friends to -O0 if gcov is being used
12096           add GCOV LIBS
12097         * gst/Makefile.am:
12098         * libs/gst/base/Makefile.am:
12099         * libs/gst/check/Makefile.am:
12100         * libs/gst/controller/Makefile.am:
12101         * libs/gst/dataprotocol/Makefile.am:
12102         * libs/gst/net/Makefile.am:
12103         * plugins/elements/Makefile.am:
12104         * plugins/indexers/Makefile.am:
12105           add makefile rules to generate gcov data and clean up
12106         * tests/check/Makefile.am:
12107           add a coverage target that generates an html overview
12108           of coverage data
12109
12110 2006-07-01  Thomas Vander Stichele  <thomas at apestaart dot org>
12111
12112         * tests/check/elements/fakesink.c:
12113         * tests/check/elements/fakesrc.c:
12114         * tests/check/elements/fdsrc.c:
12115         * tests/check/elements/identity.c:
12116         * tests/check/generic/sinks.c: (gst_sinks_suite):
12117         * tests/check/generic/states.c:
12118         * tests/check/gst/gst.c:
12119         * tests/check/gst/gstabi.c:
12120         * tests/check/gst/gstbin.c:
12121         * tests/check/gst/gstbuffer.c: (gst_buffer_suite):
12122         * tests/check/gst/gstbus.c: (gst_bus_suite):
12123         * tests/check/gst/gstcaps.c: (GST_START_TEST):
12124         * tests/check/gst/gstelement.c:
12125         * tests/check/gst/gstevent.c: (gst_event_suite):
12126         * tests/check/gst/gstghostpad.c:
12127         * tests/check/gst/gstiterator.c: (gst_iterator_suite):
12128         * tests/check/gst/gstmessage.c: (gst_message_suite):
12129         * tests/check/gst/gstminiobject.c:
12130         * tests/check/gst/gstobject.c:
12131         * tests/check/gst/gstpad.c:
12132         * tests/check/gst/gstpipeline.c:
12133         * tests/check/gst/gstplugin.c:
12134         * tests/check/gst/gstquery.c: (gst_query_suite):
12135         * tests/check/gst/gstsegment.c: (gst_segment_suite):
12136         * tests/check/gst/gststructure.c:
12137         * tests/check/gst/gstsystemclock.c:
12138         * tests/check/gst/gsttag.c:
12139         * tests/check/gst/gsttask.c: (gst_task_suite):
12140         * tests/check/gst/gstutils.c:
12141         * tests/check/gst/gstvalue.c:
12142         * tests/check/libs/adapter.c:
12143         * tests/check/libs/basesrc.c:
12144         * tests/check/libs/collectpads.c:
12145         * tests/check/libs/controller.c:
12146         * tests/check/libs/gdp.c: (gst_dp_suite):
12147         * tests/check/libs/gstnetclientclock.c:
12148         * tests/check/libs/gstnettimeprovider.c:
12149         * tests/check/libs/libsabi.c: (libsabi_suite):
12150         * tests/check/libs/typefindhelper.c:
12151         * tests/check/pipelines/cleanup.c:
12152         * tests/check/pipelines/parse-launch.c:
12153         * tests/check/pipelines/simple-launch-lines.c:
12154         * tests/check/pipelines/stress.c: (stress_suite):
12155           use the new macro
12156
12157 2006-07-01  Thomas Vander Stichele  <thomas at apestaart dot org>
12158
12159         * libs/gst/check/gstcheck.c: (gst_check_run_suite):
12160         * libs/gst/check/gstcheck.h:
12161           create a macro and function so that the simple unit test
12162           case can be just one macro to create main()
12163
12164 2006-06-30  Tim-Philipp Müller  <tim at centricular dot net>
12165
12166         * gst/gstbin.c: (gst_bin_restore_thyself):
12167         * gst/gstxml.c: (gst_xml_make_element):
12168           Fix deserialisation from XML. Set parent manually
12169           instead of using gst_bin_add(), since gst_bin_add()
12170           will unlink all pads of the element being added.
12171           Fixes #341667.
12172
12173 2006-06-28  Tim-Philipp Müller  <tim at centricular dot net>
12174
12175         Patch by: Peter Kjellerstedt <pkj at axis com>
12176
12177         * gst/gst.c: (prepare_for_load_plugin_func), (split_and_iterate):
12178           Fix missing g_strdup() and double free when using the
12179           --gst-plugin-load command line option (#346097).
12180
12181 2006-06-23  Tim-Philipp Müller  <tim at centricular dot net>
12182
12183         * gst/gstinfo.c:
12184           Promote GST_DEBUG_CATEGORY_STATIC in example in docs.
12185
12186         * libs/gst/net/gstnetclientclock.c:
12187         * libs/gst/net/gstnettimeprovider.c:
12188           Use GST_DEBUG_CATEGORY_STATIC here too (#342503).
12189
12190 2006-06-23  Tim-Philipp Müller  <tim at centricular dot net>
12191
12192         * docs/manual/advanced-dataaccess.xml:
12193           Fix buffer probe example compilation in
12194           ADM (#345708).
12195         
12196 2006-06-22  Edward Hervey  <edward@fluendo.com>
12197
12198         * gst/gstelement.c: (gst_element_pads_activate):
12199         We need to deactivate src pads first and then sink pads.
12200         The reason is the src pads might be blocking while holding the streaming
12201         lock, so we need to deactivate them first so that deactivating the sink
12202         pads doesn't block (since it will require the streaming lock).
12203
12204 2006-06-22  Wim Taymans  <wim@fluendo.com>
12205
12206         * libs/gst/base/gstbasetransform.c:
12207         (gst_base_transform_buffer_alloc):
12208         Forgot to remove two unneeded unrefs.
12209         Simplify a check _is_equal allready checks the obvious case.
12210
12211 2006-06-22  Wim Taymans  <wim@fluendo.com>
12212
12213         * docs/design/part-block.txt:
12214         Some docs about what pad_block should do.
12215
12216 2006-06-22  Wim Taymans  <wim@fluendo.com>
12217
12218         * gst/gstcaps.c: (gst_caps_replace):
12219         Fix crasher when passed NULL. Doc clarification.
12220         Optimize for the trivial case.
12221
12222         * gst/gstpipeline.c: (gst_pipeline_change_state):
12223         Small cleanups.
12224
12225         * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
12226         Small documentation cleanup.
12227
12228         * libs/gst/base/gstbasetransform.c:
12229         (gst_base_transform_buffer_alloc):
12230         Don't use silly gst_pad_get_negotiated_caps, GST_PAD_CAPS
12231         is what we need and it avoids a whole lot of redundant 
12232         refcount operations.
12233
12234 2006-06-22  Tim-Philipp Müller  <tim at centricular dot net>
12235
12236         Patch by: Philip Jägenstedt  <philip at lysator liu se>
12237
12238         * docs/manual/advanced-dataaccess.xml:
12239           Fix 'Embedding static elements' section to use
12240           GST_PLUGIN_DEFINE_STATIC (#345607).
12241
12242 2006-06-21  Tim-Philipp Müller  <tim at centricular dot net>
12243
12244         * tests/check/pipelines/simple-launch-lines.c: (test_stop_from_app):
12245           Attempt to 'fix' spuriously failing test case: it seems like the
12246           timeout of half a second is simply too small when the system is under
12247           load otherwise, and the timeout doesn't really seem to serve any
12248           particular purpose here. Give the pipeline a few seconds to preroll
12249           first, and then give it another half a second to go from PAUSED to
12250           PLAYING and marshal the message into the main thread.
12251
12252 2006-06-21  Tim-Philipp Müller  <tim at centricular dot net>
12253
12254         * tools/gst-feedback-m.m:
12255           Don't only use unversioned tools, try versioned tools as well
12256           (#345086).
12257
12258 2006-06-21  Tim-Philipp Müller  <tim at centricular dot net>
12259
12260         * gst/gstbus.c: (gst_bus_class_init):
12261           Fix some typos, make docs more explicit.
12262
12263 2006-06-20  Wim Taymans  <wim@fluendo.com>
12264
12265         * tests/check/gst/gstghostpad.c: (block_callback),
12266         (GST_START_TEST), (gst_ghost_pad_suite):
12267         Added some more ghostpad tests, mainly blocking
12268         and probes.
12269
12270 2006-06-16  Wim Taymans  <wim@fluendo.com>
12271
12272         * plugins/elements/gstfilesink.c: (gst_file_sink_open_file),
12273         (gst_file_sink_close_file), (gst_file_sink_do_seek),
12274         (gst_file_sink_event), (gst_file_sink_render):
12275         * plugins/elements/gstfilesink.h:
12276         Check if we can seek in the file instead of assuming
12277         we always can. Post an error when we are asked to seek in a
12278         non-seekable file (like a fifo). Fixes #343312.
12279         Some cleanups.
12280
12281 2006-06-16  Tim-Philipp Müller  <tim at centricular dot net>
12282
12283         * tools/gst-launch.1.in:
12284           Un-garble (fourcc) bit in filtered caps section.
12285
12286 2006-06-16  Tim-Philipp Müller  <tim at centricular dot net>
12287
12288         * docs/manual/advanced-autoplugging.xml:
12289         * docs/manual/basics-helloworld.xml:
12290         * docs/manual/highlevel-components.xml:
12291           Don't leak bus reference in sample code.
12292
12293 2006-06-15  Tim-Philipp Müller  <tim at centricular dot net>
12294
12295         * autogen.sh:
12296           Add default for new --enable-plugin-docs switch.
12297
12298         * configure.ac:
12299           Use new GST_PLUGIN_DOCS macro to check for pyxml etc.
12300           Fixes #344039.
12301
12302         * docs/Makefile.am:
12303           Use new ENABLE_PLUGIN_DOCS conditional.
12304
12305 2006-06-14  Wim Taymans  <wim@fluendo.com>
12306
12307         * gst/gstbin.c: (bin_query_duration_done), (gst_bin_query):
12308         Make it clear with a FIXME and a real define what the #if 0
12309         previously disabled.
12310
12311 2006-06-14  Wim Taymans  <wim@fluendo.com>
12312
12313         * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment),
12314         (gst_base_sink_preroll_object), (gst_base_sink_get_position):
12315         * libs/gst/base/gstbasetransform.c:
12316         (gst_base_transform_sink_eventfunc):
12317         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_event):
12318         Don't randomly and silently reset a segment when the format 
12319         changes as this is a bug somewhere upstream. Fixes #330379.
12320
12321 2006-06-14  Tim-Philipp Müller  <tim at centricular dot net>
12322
12323         Patch by: Wouter Paesen  <wouter at kangaroot net>
12324
12325         * libs/gst/controller/gstcontroller.c:
12326         (gst_controlled_property_new):
12327           Fix controlling of float properties (#344849).
12328
12329         * tests/check/libs/controller.c:
12330         (gst_test_mono_source_get_property),
12331         (gst_test_mono_source_set_property),
12332         (gst_test_mono_source_class_init), (GST_START_TEST):
12333           While we're at it, add some float stuff to unit test.
12334
12335 2006-06-13  Thomas Vander Stichele  <thomas at apestaart dot org>
12336
12337         * docs/README:
12338         * docs/images/gdp-header.svg:
12339           add a gdp image
12340         * docs/libs/Makefile.am:
12341         * docs/libs/gdp-header.png:
12342         * libs/gst/dataprotocol/dataprotocol.c:
12343           add it to the API docs
12344         * docs/manual/intro-motivation.xml:
12345           fix typo
12346
12347 2006-06-13  Tim-Philipp Müller  <tim at centricular dot net>
12348
12349         * gst/gst.c: (scan_and_update_registry), (init_post):
12350           If the fork()'ed child process can't write the updated registry cache
12351           file to disk for some reason, make it exit with a failure exit code,
12352           so that the parent can then re-scan the plugins itself and update the
12353           registry structures in memory and work with that (rather than failing
12354           when creating elements because seemingly no plugins are available).
12355           Refactor registry scanning code into separate function for this and
12356           also separate fork() and non-fork() code paths. Fixes #344748.
12357
12358 2006-06-13  Wim Taymans  <wim@fluendo.com>
12359
12360         * docs/manual/advanced-dataaccess.xml:
12361         Fix wrong PluginDesc. Fixes #344755.
12362
12363 2006-06-13  Tim-Philipp Müller  <tim at centricular dot net>
12364
12365         * gst/gstregistryxml.c: (gst_registry_xml_write_cache):
12366           Fix silly bug that prevented us from creating
12367           ~/.gstreamer-0.10 and writing the registry in one
12368           go (the first call to g_mkstemp() would overwrite the
12369           placeholder in the template string, so the second call
12370           to g_mkstemp() after creating the missing directory
12371           would then error out with 'invalid argument').
12372
12373 2006-06-13  Edward Hervey  <edward@fluendo.com>
12374
12375         * gst/gst.c: (init_post):
12376         Free string.
12377
12378 2006-06-13  Thomas Vander Stichele  <thomas at apestaart dot org>
12379
12380         * gst/glib-compat-private.h:
12381         * gst/glib-compat.c:
12382         * gst/glib-compat.h:
12383         * gst/gstvalue.c: (gst_value_serialize_flags):
12384           remove GLib 2.6 compatibility code
12385
12386 2006-06-12  Tim-Philipp Müller  <tim at centricular dot net>
12387
12388         * gst/parse/Makefile.am:
12389           Fix build with 'make -j N' even more (#340016).
12390
12391 2006-06-12  Wim Taymans  <wim@fluendo.com>
12392
12393         * docs/gst/gstreamer-sections.txt:
12394         Fix docs.
12395
12396 2006-06-12  Wim Taymans  <wim@fluendo.com>
12397
12398         * gst/gstsegment.c: (gst_segment_set_duration),
12399         (gst_segment_set_last_stop), (gst_segment_set_seek),
12400         (gst_segment_set_newsegment_full), (gst_segment_to_stream_time),
12401         (gst_segment_to_running_time), (gst_segment_clip):
12402         Use G_UNLIKELY to help the compiler a bit.
12403
12404 2006-06-12  Wim Taymans  <wim@fluendo.com>
12405
12406         Patch by: Stefan Kost <ensonic at sonicpulse dot de>
12407
12408         * gst/gstevent.c: (gst_event_get_type):
12409         * gst/gstmessage.c:
12410         * gst/gstpad.c: (gst_pad_chain_unchecked), (gst_pad_chain),
12411         (gst_pad_push):
12412         constify quark registration strings. Fixes #344115
12413         Avoid unneeded type checking is _pad_push() by internally
12414         calling gst_pad_chain_unchecked().
12415
12416 2006-06-12  Wim Taymans  <wim@fluendo.com>
12417
12418         * gst/gstbuffer.c: (gst_buffer_get_type), (gst_buffer_finalize),
12419         (_gst_buffer_copy), (gst_buffer_is_metadata_writable),
12420         (gst_subbuffer_finalize), (gst_buffer_create_sub),
12421         (gst_buffer_is_span_fast), (gst_buffer_span):
12422         Init _type for consistency.
12423         Use _FLAGS macro to avoid type check.
12424         Avoid unneeded type checks in subbufer code.
12425
12426 2006-06-12  Wim Taymans  <wim@fluendo.com>
12427
12428         * gst/gst.c: (gst_debug_help):
12429         * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_list_free):
12430         * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
12431         (gst_plugin_feature_list_free):
12432         * gst/gstregistry.c: (gst_registry_add_plugin),
12433         (gst_registry_add_feature), (gst_registry_plugin_filter),
12434         (gst_registry_feature_filter), (gst_registry_find_plugin),
12435         (gst_registry_find_feature), (gst_registry_get_plugin_list),
12436         (gst_registry_lookup_feature_locked), (gst_registry_lookup_locked):
12437         * gst/gstregistryxml.c: (load_feature),
12438         (gst_registry_xml_read_cache), (gst_registry_xml_write_cache):
12439         * gst/gstminiobject.c: (gst_mini_object_unref),
12440         (gst_mini_object_replace), (gst_value_mini_object_free),
12441         (gst_value_mini_object_copy):
12442         Use _CAST macros to avoid unneeded type checking.
12443         Added some more G_UNLIKELY.
12444
12445 2006-06-12  Wim Taymans  <wim@fluendo.com>
12446
12447         * gst/gstbuffer.h:
12448         Avoid unneeded type checking.
12449         API: GST_BUFFER_IS_DISCONT
12450
12451         * gst/gstminiobject.h:
12452         Avoid type check in flag accessor.
12453
12454         * gst/gstelementfactory.h:
12455         * gst/gstplugin.h:
12456         * gst/gstpluginfeature.h:
12457         Add _CAST macros.
12458         API: GST_ELEMENT_FACTORY_CAST
12459         API: GST_PLUGIN_CAST
12460         API: GST_PLUGIN_FEATURE_CAST
12461
12462 2006-06-12  Wim Taymans  <wim@fluendo.com>
12463
12464         * gst/gstobject.c: (gst_object_get_type), (gst_object_ref),
12465         (gst_object_unref):
12466         Add G_UNLIKELY in type registration.
12467         Avoid type check in _ref/_unref since that is also
12468         done in glib.
12469
12470 2006-06-12  Wim Taymans  <wim@fluendo.com>
12471
12472         * gst/gsterror.c: (gst_g_error_get_type):
12473         * gst/gstpadtemplate.c: (gst_pad_template_get_type),
12474         (gst_static_pad_template_get_type):
12475         * gst/gsttaglist.c: (gst_tag_list_get_type):
12476         * gst/gsttagsetter.c: (gst_tag_setter_get_type):
12477         * gst/gsttypefindfactory.c: (gst_type_find_factory_get_type):
12478         * gst/gsturi.c: (gst_uri_handler_get_type):
12479         * gst/gstvalue.c: (gst_date_get_type):
12480         * gst/gstxml.c: (gst_xml_get_type):
12481         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_type),
12482         (gst_base_sink_preroll_object), (gst_base_sink_get_position):
12483         * libs/gst/base/gstbasesrc.c: (gst_base_src_get_type):
12484         Add G_UNLIKELY in type registration.
12485
12486 2006-06-12  Wim Taymans  <wim@fluendo.com>
12487
12488         * tools/gst-inspect.c: (print_signal_info):
12489         Properly print enum values.
12490
12491 2006-06-12  Wim Taymans  <wim@fluendo.com>
12492
12493         * gst/gstinfo.c: (gst_debug_set_active),
12494         (gst_debug_category_set_threshold), (_gst_debug_nameof_funcptr):
12495         * gst/gstinfo.h:
12496         Add some G_[UN]LIKELY.
12497         Maintain __gst_debug_min to avoid formatting the arguments of
12498         debug messages that will be dropped anyway to avoid a lot of 
12499         overhead from the debugging system.
12500
12501 2006-06-11  Stefan Kost  <ensonic@users.sf.net>
12502
12503         * po/POTFILES.in:
12504         * po/POTFILES.skip:
12505           add missing files containing translatable strings, tell intltool about
12506           one exception
12507
12508 2006-06-11  Stefan Kost  <ensonic@users.sf.net>
12509
12510         * tests/check/libs/.cvsignore:
12511         add test-binary to ignore list
12512
12513 2006-06-11  Stefan Kost  <ensonic@users.sf.net>
12514
12515         * docs/libs/gstreamer-libs-docs.sgml:
12516         reorder (put dp into a chapter) and indent
12517
12518 2006-06-10  Thomas Vander Stichele  <thomas at apestaart dot org>
12519
12520         * configure.ac:
12521           back to HEAD
12522
12523 === release 0.10.8 ===
12524
12525 2006-06-10  Thomas Vander Stichele <thomas at apestaart dot org>
12526
12527         * configure.ac:
12528           releasing 0.10.8, "Soepeke, ik zie ou nog altijd nie"
12529
12530 2006-06-10  Thomas Vander Stichele  <thomas at apestaart dot org>
12531
12532         * gst/gst.c: (init_post):
12533           move pid declaration to declaration block
12534
12535 2006-06-10  Thomas Vander Stichele  <thomas at apestaart dot org>
12536
12537         * gst/gst.c: (init_post):
12538           use _exit() instead of exit() in our forked child; this ensures
12539           that none of the registered exit handlers from whatever is using
12540           GStreamer get executed.  This fixes gnome-mixer-applet failing
12541           to load, because ORBit would shut down.
12542           Spotted by: Edward Hervey  <edward@fluendo.com>
12543           Fix suggested by: Tim-Philipp Müller  <tim at centricular dot net>
12544           Fixes #344474
12545
12546 2006-06-09  Thomas Vander Stichele  <thomas at apestaart dot org>
12547
12548         * configure.ac:
12549           back to TRUNK
12550
12551 === release 0.10.7 ===
12552
12553 2006-06-09  Thomas Vander Stichele <thomas at apestaart dot org>
12554
12555         * configure.ac:
12556           releasing 0.10.7, "Soepeke, ik zie ou"
12557
12558 2006-06-07  Thomas Vander Stichele  <thomas at apestaart dot org>
12559
12560         * configure.ac:
12561         * po/af.po:
12562         * po/az.po:
12563         * po/bg.po:
12564         * po/ca.po:
12565         * po/cs.po:
12566         * po/de.po:
12567         * po/en_GB.po:
12568         * po/fr.po:
12569         * po/it.po:
12570         * po/nb.po:
12571         * po/nl.po:
12572         * po/ru.po:
12573         * po/sq.po:
12574         * po/sr.po:
12575         * po/sv.po:
12576         * po/tr.po:
12577         * po/uk.po:
12578         * po/vi.po:
12579         * po/zh_CN.po:
12580         * po/zh_TW.po:
12581         * win32/common/config.h:
12582           0.10.6.2 prerelease
12583
12584 2006-06-07  Wim Taymans  <wim@fluendo.com>
12585
12586         * gst/gstindex.c: (gst_index_gtype_resolver):
12587         * tools/gst-xmlinspect.c: (print_plugin_info):
12588         Fix leak spotted by coverity checker. Fixes #343827
12589         Fix another other leak found by paolo borelli.
12590
12591 2006-06-06  Thomas Vander Stichele  <thomas at apestaart dot org>
12592
12593         * libs/gst/dataprotocol/dataprotocol.c:
12594         (gst_dp_header_from_buffer_any), (gst_dp_packet_from_caps_any),
12595         (gst_dp_version_get_type), (gst_dp_init),
12596         (gst_dp_header_from_buffer), (gst_dp_header_from_buffer_1_0),
12597         (gst_dp_packet_from_caps), (gst_dp_packet_from_caps_1_0),
12598         (gst_dp_packet_from_event), (gst_dp_packet_from_event_1_0),
12599         (gst_dp_event_from_packet_0_2), (gst_dp_event_from_packet_1_0),
12600         (gst_dp_event_from_packet), (gst_dp_packetizer_new),
12601         (gst_dp_packetizer_free):
12602         * libs/gst/dataprotocol/dataprotocol.h:
12603           API: add a GstDPPacketizer object, and create/free functions
12604           API: add GstDPVersion enum
12605           Add 1.0 event function that uses the string serialization
12606           Serialize more useful buffer flags
12607           Fixes #343988
12608
12609 2006-06-06  Thomas Vander Stichele  <thomas at apestaart dot org>
12610
12611         * tests/check/Makefile.am:
12612         * tests/check/gst/gstabi.c:
12613         * tests/check/gst/struct_ppc64.h:
12614         * tests/check/libs/libsabi.c:
12615         * tests/check/libs/struct_ppc64.h:
12616           add ppc64 structure sizes
12617
12618 2006-06-06  Thomas Vander Stichele  <thomas at apestaart dot org>
12619
12620         * tests/check/Makefile.am:
12621         * tests/check/gst/gstabi.c:
12622         * tests/check/gst/struct_x86_64.h:
12623         * tests/check/libs/libsabi.c:
12624         * tests/check/libs/struct_x86_64.h:
12625           generate and add structure size lists for x86_64
12626
12627 2006-06-06  Thomas Vander Stichele  <thomas at apestaart dot org>
12628
12629         * libs/gst/check/gstcheck.c: (gst_check_abi_list):
12630         * libs/gst/check/gstcheck.h:
12631           factor out the method from tests that checks size of structures,
12632           and add code to generate the header containing these sizes
12633         * tests/check/gst/gstabi.c: (GST_START_TEST):
12634         * tests/check/gst/struct_i386.h:
12635         * tests/check/libs/libsabi.c: (GST_START_TEST):
12636         * tests/check/libs/struct_i386.h:
12637           use it
12638
12639 2006-06-06  Michael Smith  <msmith@fluendo.com>
12640
12641         * gst/gstsegment.h:
12642           Don't use c++-style comments, fixes #343929
12643
12644 2006-06-05  Edward Hervey  <edward@fluendo.com>
12645
12646         * gst/gst.c:
12647         plugin_paths is not used if we build without registry support.
12648
12649         * gst/gstsegment.c: (gst_segment_copy): 
12650         _copy() was always returning NULL...
12651
12652 2006-06-02  Thomas Vander Stichele  <thomas at apestaart dot org>
12653
12654         * libs/gst/dataprotocol/dataprotocol.c:
12655         (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
12656         (gst_dp_packet_from_event):
12657           factor out CRC code
12658
12659 2006-06-02  Thomas Vander Stichele  <thomas at apestaart dot org>
12660
12661         * libs/gst/check/gstcheck.c: (gst_check_teardown_src_pad):
12662           make sure we unset caps
12663
12664 2006-06-02  Michael Smith  <msmith@fluendo.com>
12665
12666         * libs/gst/check/gstcheck.c: (gst_check_init),
12667         (gst_check_chain_func):
12668         * libs/gst/check/gstcheck.h:
12669           Add a cond/mutex to the check support lib, signal this whenever we
12670           add to the buffers list. This will allow tests to not busy-wait on
12671           the buffer-list.
12672
12673 2006-06-02  Thomas Vander Stichele  <thomas at apestaart dot org>
12674
12675         * libs/gst/dataprotocol/dataprotocol.c:
12676         (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
12677         (gst_dp_packet_from_event):
12678           factor out some common header init code
12679
12680 2006-06-02  Thomas Vander Stichele  <thomas at apestaart dot org>
12681
12682         * docs/libs/gstreamer-libs-sections.txt:
12683         * docs/libs/tmpl/gstdataprotocol.sgml:
12684         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_crc):
12685         * libs/gst/dataprotocol/dataprotocol.h:
12686           API: make gst_dp_crc() public
12687
12688 2006-06-01  Stefan Kost  <ensonic@users.sf.net>
12689
12690         * plugins/indexers/gstindexers.c: (plugin_init):
12691         conditionally register fileindexer (fixes #343598)
12692
12693 2006-06-01  Stefan Kost  <ensonic@users.sf.net>
12694
12695         * gst/gsttagsetter.h:
12696         Can't cast ifaces to a class
12697
12698         * libs/gst/net/gstnetclientclock.h:
12699         * libs/gst/net/gstnettimeprovider.h:
12700         * plugins/elements/gstfakesink.h:
12701         * plugins/elements/gstfakesrc.h:
12702         * plugins/elements/gstfdsink.h:
12703         * plugins/elements/gstfdsrc.h:
12704         * plugins/elements/gstfilesink.h:
12705         * plugins/elements/gstfilesrc.h:
12706         * plugins/elements/gstidentity.h:
12707         * plugins/elements/gstqueue.h:
12708         * plugins/elements/gsttee.h:
12709         * plugins/indexers/gstfileindex.c:
12710         * plugins/indexers/gstmemindex.c:
12711         * tests/old/examples/plugins/example.h:
12712         Fix more gobject macros: obj<->klass, GstXXX<->GstXXXClass
12713
12714 2006-06-01  Thomas Vander Stichele  <thomas at apestaart dot org>
12715
12716         * libs/gst/dataprotocol/dataprotocol.c:
12717         (gst_dp_header_from_buffer):
12718           make sure we zero the whole ABI-compatible area
12719
12720 2006-06-01  Wim Taymans  <wim@fluendo.com>
12721
12722         Patch by: Alessandro Decina <alessandro at nnva dot org>
12723
12724         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_stop):
12725         Make sure the EOS flag is cleared from pads after a flush
12726         or stop. Fixes #343538.
12727
12728         * tests/check/libs/collectpads.c: (GST_START_TEST),
12729         (gst_collect_pads_suite):
12730         Added test for collectpads reusage after EOS.
12731
12732 2006-05-30  Sebastien Moutte  <sebastien@moutte.net>
12733
12734         * gst/gst.c:
12735          set #include <sys/wait.h> in a #ifdef #ifdef HAVE_FORK
12736         * win32/common/libgstbase.def:
12737          export gst_collect_pads_set_flushing
12738         * win32/common/libgstreamer.def:
12739          export gst_pad_set_acceptcaps_function, gst_structure_empty_new,
12740          gst_value_fraction_multiply
12741         * win32/vs6/gst_inspect.dsp:
12742          add a link to intl.lib
12743
12744 2006-05-30  Wim Taymans  <wim@fluendo.com>
12745
12746         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad),
12747         (gst_collect_pads_chain):
12748         Handle the case where a pad is removed from the collection
12749         that could cause the other pads to become collectable.
12750
12751 2006-05-30  Wim Taymans  <wim@fluendo.com>
12752
12753         * gst/gstelement.c:
12754         Clarify the use of _release_request_pad() and
12755         _get_request_pad() a bit better.
12756
12757         * libs/gst/base/gstadapter.c: (gst_adapter_peek),
12758         (gst_adapter_take_buffer):
12759         Fix some doc and comment typos.
12760
12761 2006-05-30  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
12762
12763         * docs/gst/gstreamer-sections.txt:
12764         * docs/libs/gstreamer-libs-sections.txt:
12765           add declared symbols
12766
12767 2006-05-30  Jan Schmidt  <thaytan@mad.scientist.com>
12768
12769         * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
12770         Add debug that can be enabled using a #define at the top of the file,
12771         for dumping stats about how late/early we were when waking up from
12772         waiting on the clock.
12773
12774 2006-05-30  Wim Taymans  <wim@fluendo.com>
12775
12776         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_check_pads):
12777         When rebuilding the pad list, don't leak the previous list.
12778
12779 2006-05-30  Wim Taymans  <wim@fluendo.com>
12780
12781         Patch by: Lutz Mueller <lutz at topfrose dot de>
12782
12783         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
12784         (gst_base_src_get_query_types), (gst_base_src_update_length):
12785         Publish supported query types.
12786         Update last_stop field in get_range mode so the position
12787         query works. Fixes #342321.
12788
12789 2006-05-30  Tim-Philipp Müller  <tim at centricular dot net>
12790
12791         * docs/gst/gstreamer-sections.txt:
12792         * gst/gsttaglist.c: (_gst_tag_initialize):
12793         * gst/gsttaglist.h:
12794           API: add GST_TAG_PREVIEW_IMAGE (#343341).
12795
12796 2006-05-30  Wim Taymans  <wim@fluendo.com>
12797
12798         Patch by: Alessandro Decina <alessandro at nnva dot org>
12799
12800         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad):
12801         Unlock mutex when removing an unknown pad.
12802         Fixes #343334.
12803
12804         * tests/check/Makefile.am:
12805         * tests/check/libs/collectpads.c: (collected_cb), (push_buffer),
12806         (push_event), (setup), (teardown), (GST_START_TEST),
12807         (gst_collect_pads_suite), (main):
12808         Added collecpads check, disabled for now as check crashes for
12809         some reason.
12810
12811 2006-05-29  Wim Taymans  <wim@fluendo.com>
12812
12813         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize):
12814         Don't leak pads lists.
12815
12816 2006-05-29  Wim Taymans  <wim@fluendo.com>
12817
12818         * docs/libs/gstreamer-libs-sections.txt:
12819         * libs/gst/base/gstcollectpads.c:
12820         (gst_collect_pads_set_flushing_unlocked),
12821         (gst_collect_pads_set_flushing), (gst_collect_pads_start),
12822         (gst_collect_pads_stop):
12823         * libs/gst/base/gstcollectpads.h:
12824         API: gst_collect_pads_set_flushing()
12825         Added api to set the pads to flushing, useful for seeking
12826         code in elements using collectpads.
12827         Clear segment when receiving a flush.
12828
12829 2006-05-29  Tim-Philipp Müller  <tim at centricular dot net>
12830
12831         * gst/gst.c: (add_path_func), (init_post):
12832           Don't scan registry paths passed via --gst-plugin-path immediately
12833           (will crash, because absolutely nothing is set up and no types are
12834           registered etc.); do this later in init_post(). Fixes #343057.
12835
12836 2006-05-28  Thomas Vander Stichele  <thomas at apestaart dot org>
12837
12838         * gst/gst.c: (init_post):
12839           if we have fork, fork while reading/rebuilding the registry
12840           so the parent doesn't take the hit of having all plugins loaded
12841           in memory.  Fixes #342777.
12842         * configure.ac:
12843           Check if we have fork()
12844         * win32/common/config.h.in:
12845           no fork() on win32
12846
12847 2006-05-26  Jan Schmidt  <thaytan@mad.scientist.com>
12848
12849         * plugins/elements/gstelements.c:
12850         * plugins/elements/gstfilesrc.c: (gst_file_src_class_init),
12851         (gst_file_src_init), (gst_file_src_set_property),
12852         (gst_file_src_get_property), (gst_file_src_start):
12853         * plugins/elements/gstfilesrc.h:
12854           API: GstFileSrc::use-mmap
12855
12856         Add a use-mmap property to enable easier testing of all code paths.
12857         Bump rank to PRIMARY, so filesrc is the preferred file reader and used
12858         in the absence of gnomevfssrc. (Closes #340501)
12859
12860 2006-05-26  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
12861
12862         * tools/gst-inspect.c:
12863         Add missing include, removes warning of ngettext not being defined on
12864         some arches.
12865
12866 2006-05-26  Jan Schmidt  <thaytan@mad.scientist.com>
12867
12868         * gst/gstvalue.c: (gst_value_deserialize_fraction):
12869         Handle NULL input and output pointers silently as a failed conversion,
12870         rather than g_warnings.
12871
12872 2006-05-25  Wim Taymans  <wim@fluendo.com>
12873
12874         * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_start):
12875         Initialize variable before using. Fixes #342820.
12876
12877 2006-05-24  Tim-Philipp Müller  <tim at centricular dot net>
12878
12879         * libs/gst/base/gsttypefindhelper.c: (buf_helper_find_peek):
12880           Fix off-by-one bug that would only allow peeks of N-1 bytes
12881           from the start even if the buffer to typefind on contains
12882           in fact N bytes of data (makes vorbis typefinding from a
12883           vorbis identification header buffer work).
12884
12885         * tests/check/Makefile.am:
12886         * tests/check/libs/.cvsignore:
12887         * tests/check/libs/typefindhelper.c: (GST_START_TEST),
12888         (gst_typefindhelper_suite), (main), (foobar_typefind),
12889         (plugin_init):
12890           Add very basic unit test for gst_type_find_helper_for_buffer()
12891           that checks for the problem fixed above.
12892
12893 2006-05-24  Thomas Vander Stichele  <thomas at apestaart dot org>
12894
12895         * tools/gst-inspect.c: (print_interfaces),
12896         (print_element_properties_info), (print_element_list), (main):
12897           add more translatable strings
12898
12899 2006-05-23  Tim-Philipp Müller  <tim at centricular dot net>
12900
12901         Patch by: Julien Moutte  <julien at moutte net>
12902
12903         * docs/gst/gstreamer-sections.txt:
12904           Make new GST_FLOW_IS_SUCCESS macro visible in docs.
12905           
12906         * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init),
12907         (gst_fake_sink_preroll):
12908         * plugins/elements/gstfakesink.h:
12909           API: Add new GstFakeSink::preroll-handoff signal (#337100).
12910
12911 2006-05-23  Wim Taymans  <wim@fluendo.com>
12912
12913         * gst/gstpad.c: (gst_flow_get_name), (gst_flow_to_quark):
12914         * gst/gstpad.h:
12915         Added _CUSTOM error and success GstFlowReturn that can be
12916         used be elements internally. 
12917         Added macro to check for SUCCESS flowreturns.
12918         API: GST_FLOW_CUSTOM_SUCCESS
12919         API: GST_FLOW_CUSTOM_ERROR
12920         API: GST_FLOW_IS_SUCCESS
12921
12922         * tests/check/gst/gstpad.c: (GST_START_TEST), (gst_pad_suite):
12923         Added check for GstFlowReturn sanity.
12924
12925 2006-05-23  Wim Taymans  <wim@fluendo.com>
12926
12927         Patch by: Mark Nauwelaerts <manauw at skynet dot be>
12928
12929         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad),
12930         (gst_collect_pads_event):
12931         clear/reset segment info in FLUSH_STOP.
12932         Fixes #336929.
12933
12934 2006-05-22  Stefan Kost  <ensonic@users.sf.net>
12935
12936         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_stop),
12937         (gst_collect_pads_check_collected):
12938         Flush queued buffer on _stop(), fixes playing again (#342454)
12939
12940 2006-05-22  Thomas Vander Stichele  <thomas at apestaart dot org>
12941
12942         * tests/check/gst/gststructure.c: (GST_START_TEST),
12943         (gst_structure_suite):
12944           add a test for a complete structure
12945
12946 2006-05-19  Tim-Philipp Müller  <tim at centricular dot net>
12947
12948         * docs/faq/developing.xml:
12949         * docs/faq/faq.xml:
12950         * docs/faq/troubleshooting.xml:
12951         * docs/faq/using.xml:
12952           Some minor FAQ updates that won't change the fact that
12953           our FAQ is badly structured, full of information hardly
12954           anyone new to GStreamer needs to know and lacking lots
12955           of information people constantly ask for.
12956           
12957 2006-05-19  Jan Schmidt  <thaytan@mad.scientist.com>
12958
12959         * gst/gstpad.c: (gst_pad_set_caps):
12960           Short-circuit gst_pad_set_caps if setting the existing
12961           caps pointer again, and avoid printing debug and 
12962           reffing/unreffing the caps.
12963
12964         * plugins/elements/gstqueue.c: (gst_queue_push_one):
12965           There's actually no need to set the caps before pushing -
12966           the acceptcaps method will handle it anyway.
12967
12968 2006-05-19  Tim-Philipp Müller  <tim at centricular dot net>
12969
12970         * docs/gst/gstreamer-sections.txt:
12971         * win32/common/libgstreamer.def:
12972         * gst/gstutils.c: (gst_element_seek_simple):
12973         * gst/gstutils.h:
12974           API: add gst_element_seek_simple() (#342238).
12975
12976 2006-05-18  Edward Hervey  <edward@fluendo.com>
12977
12978         * gst/gsttypefind.c: (gst_type_find_get_type):
12979         * gst/gsttypefind.h:
12980         Added GST_TYPE_TYPE_FIND and gst_type_find_get_type() so a GType gets
12981         registered for GstTypeFind pointers. This allows wrapping the structure
12982         in bindings (i.e. gst-python).
12983
12984 2006-05-18  Tim-Philipp Müller  <tim at centricular dot net>
12985
12986         * gst/gsttagsetter.c:
12987           Docs additions and fixes (see #339918).
12988
12989 2006-05-18  Jan Schmidt  <thaytan@mad.scientist.com>
12990
12991         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
12992         The caps intersection algorithm can produce multiple copies of the
12993         caps. Until that is fixed, we need to simplify the result to be
12994         sure whether the allowed caps are fixed or not.
12995
12996         * plugins/elements/gstqueue.c: (gst_queue_init),
12997         (gst_queue_bufferalloc), (gst_queue_acceptcaps),
12998         (gst_queue_push_one):
12999         Proxied buffer alloc should not set the caps on the source pad.
13000         When pushing buffers, we always accept the caps change that triggers.
13001         This prevents negotiation errors caused by caps changing mid-stream 
13002         and then being refused on our source pad (because upstream is now
13003         refusing those caps).
13004
13005 2006-05-18  Tim-Philipp Müller  <tim at centricular dot net>
13006
13007         * tests/examples/helloworld/helloworld.c: (main):
13008           Must plug audioconvert and audioresample between decoder
13009           and audio sink.
13010
13011 2006-05-17  Jan Schmidt  <thaytan@mad.scientist.com>
13012
13013         * gst/gstregistryxml.c: (read_string), (load_pad_template),
13014         (load_feature), (load_plugin):
13015         Allow empty strings for some of the plugin fields so we don't 
13016         drop valid plugin entries that were written out correctly
13017         (Fixes #341479)
13018
13019 2006-05-17  Sebastien Moutte  <sebastien@moutte.net>
13020         
13021         * gst/gstregistryxml.c: (gst_registry_xml_write_cache):
13022           Use g_remove and g_rename instead of remove and rename that don't 
13023           handle utf8 characters. rename was failing for users who had specific
13024           characters in their name then the registry was built at each 
13025           gstreamer init.
13026         * win32/vs6/gst_inspect.dsp:
13027         * win32/vs6/gst_launch.dsp:
13028         * win32/vs6/libgstbase.dsp:
13029         * win32/vs6/libgstcoreelements.dsp:
13030         * win32/vs6/libgstreamer.dsp:
13031           Use a debug version of libxml2 (libxml2D.lib,libxml2D.dll) for DEBUG 
13032           build of libgstreamer and clean unused libraries in projects link 
13033           settings.
13034
13035 2006-05-17  Edward Hervey  <edward@fluendo.com>
13036
13037         * plugins/elements/gstqueue.c: (gst_queue_push_one):
13038         The queue is not responsible for pushing an EOS when receiving a fatal
13039         flow error. It's up to the real element driving the pipeline to do that.
13040
13041 2006-05-16  Edward Hervey  <edward@fluendo.com>
13042
13043         * plugins/elements/gstqueue.c: (gst_queue_push_one):
13044         The queue was posting a non-needed GST_MESSAGE_ERROR when pushing a
13045         buffer returned a fatal error. It should just send an EOS and stop
13046         its task.
13047         Upstream elements will then properly receive the GST_FLOW_UNEXPECTED
13048         when pushing buffers on the queue and will be able to handle the event.
13049
13050 2006-05-16  Tim-Philipp Müller  <tim at centricular dot net>
13051
13052         * docs/manual/basics-bins.xml:
13053         * docs/manual/basics-init.xml:
13054           Fix typos and minor errors in sample code (#341856).
13055
13056 2006-05-16  Wim Taymans  <wim@fluendo.com>
13057
13058         * docs/design/part-qos.txt:
13059         Fix indexes in formulas to make more sense.
13060
13061 2006-05-15  Wim Taymans  <wim@fluendo.com>
13062
13063         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
13064         Don't report POSITION based on clock time if sync is
13065         disabled in a sink.
13066
13067 2006-05-15  Tim-Philipp Müller  <tim at centricular dot net>
13068
13069         * gst/gstobject.h:
13070           Add cast to make compiler happy - refcount variable was a gint
13071           in GstObject but is a guint in GObject and g_atomic_int_get()
13072           wants a gint *.
13073
13074 2006-05-15  Thomas Vander Stichele  <thomas at apestaart dot org>
13075
13076         * gst/parse/Makefile.am:
13077           chain commands using &&, which also makes parallel make work
13078
13079 2006-05-14  Tim-Philipp Müller  <tim at centricular dot net>
13080
13081         * docs/gst/gstreamer-sections.txt:
13082         * gst/gstevent.c:
13083         * gst/gstevent.h:
13084         * gst/gstmessage.h:
13085           Minor docs fixes.
13086
13087 === release 0.10.6 ===
13088
13089 2006-05-14  Jan Schmidt <thaytan@mad.scientist.com>
13090
13091         * configure.ac:
13092           releasing 0.10.6, "Take the cannoli"
13093
13094 2006-05-13  Tim-Philipp Müller  <tim at centricular dot net>
13095
13096         * tools/gst-launch.c: (print_tag):
13097           Fix use of uninitialized variable in the hypothetical
13098           case that some broken plugin creates a GST_TAG_IMAGE
13099           tag containing a NULL buffer (#341667).
13100
13101 2006-05-12  Tim-Philipp Müller  <tim at centricular dot net>
13102
13103         * tools/gst-launch.c: (print_tag):
13104           Print something more intelligible for image tags when
13105           using the -t switch (#341556).
13106
13107 2006-05-12  Thomas Vander Stichele  <thomas at apestaart dot org>
13108
13109         * Makefile.am:
13110           updates for win32
13111         * configure.ac:
13112           define GST_MAJORMINOR so we have it available in win32/common/config.h
13113           Possibly remove it from our Makefile.am files later
13114         * win32/common/config.h:
13115         * win32/common/config.h.in:
13116           added GST_MAJORMINOR
13117         * win32/common/gstenumtypes.c: (register_gst_resource_error):
13118         * win32/common/gstversion.h:
13119           updated
13120
13121 2006-05-12  Sebastien Moutte  <sebastien@moutte.net>
13122
13123         * win32/MANIFEST:
13124           Update win32 files listing.
13125         * win32/common/gstversion.h:
13126           Add GST_MAJORMINOR definition.
13127         * win32/common/libgstreamer.def:
13128           Add new exported functions.
13129           
13130 2006-05-12  Michael Smith  <msmith@fluendo.com>
13131
13132         * gst/gstplugin.c: (gst_plugin_load_file):
13133           If an so file has no plugin entry point, unload the module.
13134
13135 2006-05-11  Wim Taymans  <wim@fluendo.com>
13136
13137         * plugins/elements/gstqueue.c: (gst_queue_chain), (gst_queue_loop),
13138         (gst_queue_set_property):
13139         Don't forget to signal the _chain or _loop function 
13140         when the queue size or thresholds change since that might
13141         cause them to make progres again.
13142
13143 2006-05-11  Stefan Kost  <ensonic@users.sf.net>
13144
13145         * gst/gstclock.c: (gst_clock_class_init):
13146         * gst/gstindex.c: (gst_index_class_init):
13147         * gst/gstobject.c: (gst_object_class_init):
13148         * gst/gstpad.c: (gst_pad_class_init):
13149         * gst/gstpipeline.c: (gst_pipeline_class_init):
13150         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
13151         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init):
13152         * libs/gst/base/gstbasetransform.c:
13153         (gst_base_transform_class_init):
13154         * libs/gst/net/gstnetclientclock.c:
13155         (gst_net_client_clock_class_init):
13156         * libs/gst/net/gstnettimeprovider.c:
13157         (gst_net_time_provider_class_init):
13158         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_class_init):
13159         * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init):
13160         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init):
13161         * plugins/elements/gstfdsink.c: (gst_fd_sink_class_init):
13162         * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init):
13163         * plugins/elements/gstfilesink.c: (gst_file_sink_class_init):
13164         * plugins/elements/gstfilesrc.c: (gst_file_src_class_init):
13165         * plugins/elements/gstidentity.c: (gst_identity_class_init):
13166         * plugins/elements/gsttee.c: (gst_tee_class_init):
13167         * tests/old/examples/plugins/example.c: (gst_example_class_init):
13168         * tests/old/testsuite/threads/signals.c: (gst_test_class_init):
13169           G_OBJECT_CLASS macro usage batch cleanup, fixes #337747 for core
13170
13171 2006-05-11  Wim Taymans  <wim@fluendo.com>
13172
13173         * gst/gstbuffer.c: (_gst_buffer_initialize):
13174         Register subbufer along with the buffer type so that
13175         it does not accidentally gets registered from N
13176         different streaming threads in a non threadsafe way.
13177
13178 2006-05-10  Tim-Philipp Müller  <tim at centricular dot net>
13179
13180         * gst/gstbuffer.h:
13181         * gst/gstevent.h:
13182         * gst/gstmessage.h:
13183           Make gtk-doc generate docs for our inlined gst_buffer_ref(),
13184           gst_event_ref() and gst_message_ref() functions again
13185           (ugly hack, please do fix if there's a better way besides
13186           overrides.txt, which doesn't seem to work).
13187
13188 2006-05-10  Thomas Vander Stichele  <thomas at apestaart dot org>
13189
13190         * libs/gst/check/gstcheck.h:
13191           add an assert for setting state to avoid lots of repetitive code
13192           in the future
13193
13194 2006-05-10  Thomas Vander Stichele  <thomas at apestaart dot org>
13195
13196         * gst/gstvalue.c: (gst_value_serialize_flags):
13197           fix a leak if no flags are set
13198         * tests/check/gst/gstvalue.c: (GST_START_TEST):
13199           fix leak in tests
13200
13201 2006-05-10  Tim-Philipp Müller  <tim at centricular dot net>
13202
13203         * docs/manual/basics-pads.xml:
13204           Expand a bit on caps and filtered links and update
13205           examples that were still using the no longer existing
13206           gst_pad_link_filtered() (#338206).
13207
13208 2006-05-10  Wim Taymans  <wim@fluendo.com>
13209
13210         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
13211         (gst_collect_pads_add_pad), (gst_collect_pads_remove_pad),
13212         (gst_collect_pads_set_flushing), (gst_collect_pads_start),
13213         (gst_collect_pads_stop):
13214         * libs/gst/base/gstcollectpads.h:
13215         No need to call _stop in _finalize.
13216         Iterate the main pad list in _finalize.
13217         Added some more debug.
13218         Free lists and data in the right order.
13219         Also free data whem doing _remove_pad when stopped for
13220         backward compatibility protect ::started with PAD_LOCK as
13221         well.
13222
13223 2006-05-10  Thomas Vander Stichele  <thomas at apestaart dot org>
13224
13225         * gst/gststructure.c: (gst_structure_gtype_from_abbr),
13226         (gst_structure_parse_value):
13227           add some comments
13228           rename a method so that it actually says what it does better
13229
13230 2006-05-10  Thomas Vander Stichele  <thomas at apestaart dot org>
13231
13232         * gst/gstevent.c: (_gst_event_initialize):
13233         * gst/gstformat.c: (_gst_format_initialize):
13234           make sure some essential types used by events are registered
13235           as part of gst_init()
13236         * gst/gstvalue.c: (gst_value_serialize_flags):
13237           if no flags are set, serialize them to a value that represents NONE
13238           so that deserializing them works
13239         * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
13240           add tests for serialization and deserialization of flags
13241
13242 2006-05-10  Wim Taymans  <wim@fluendo.com>
13243
13244         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_collect),
13245         (gst_collect_pads_collect_range), (gst_collect_pads_available),
13246         (gst_collect_pads_check_pads), (gst_collect_pads_check_collected),
13247         (gst_collect_pads_event), (gst_collect_pads_chain):
13248         Update docs.
13249         Better debug info.
13250         Catch and return errors from the collect function
13251         Refuse data on eos pads.
13252
13253 2006-05-10  Edward Hervey  <edward@fluendo.com>
13254
13255         * gst/gstinterface.h:
13256         GST_IMPLEMENTS_INTERFACE and GST_IS_IMPLEMENTS_INTERFACE use the normal
13257         GInterface type checking.
13258         They were previously using non-defined macros.
13259
13260 2006-05-09  Wim Taymans  <wim@fluendo.com>
13261
13262         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_init),
13263         (gst_collect_pads_finalize), (gst_collect_pads_add_pad),
13264         (gst_collect_pads_remove_pad), (gst_collect_pads_set_flushing),
13265         (gst_collect_pads_start), (gst_collect_pads_stop),
13266         (gst_collect_pads_peek), (gst_collect_pads_pop),
13267         (gst_collect_pads_available), (gst_collect_pads_read),
13268         (gst_collect_pads_flush), (gst_collect_pads_check_pads),
13269         (gst_collect_pads_is_collected), (gst_collect_pads_event),
13270         (gst_collect_pads_chain):
13271         * libs/gst/base/gstcollectpads.h:
13272         Clean up the mess that is collectpads, add comments and
13273         FIXMEs where needed.
13274         Maintain a separate pad list so we can add pads while
13275         collecting the other ones. For this we need a new separate 
13276         lock (see comics).
13277         Fix memory leak in finalize.
13278         Refactor some weird code to set/unset pad flushing flags, mark
13279         with comments.
13280         Don't crash in _available, _read, _flush when we're EOS.
13281
13282         * tests/check/libs/.cvsignore:
13283         Ignore adapter check binary.
13284
13285 2006-05-09  Tim-Philipp Müller  <tim at centricular dot net>
13286
13287         * gst/gstindex.c: (gst_index_resolver_get_type):
13288         * plugins/elements/gstfakesink.c:
13289         (gst_fake_sink_state_error_get_type):
13290         * plugins/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
13291         (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type):
13292         * plugins/elements/gstqueue.c: (queue_leaky_get_type):
13293           Const-ify GEnumValue arrays.
13294
13295 2006-05-09  Tim-Philipp Müller  <tim at centricular dot net>
13296
13297         * tests/check/gst/gstbuffer.c: (GST_START_TEST):
13298           Add test case for flags + gst_buffer_make_metadata_writable().
13299
13300 2006-05-09  Tim-Philipp Müller  <tim at centricular dot net>
13301
13302         * gst/gstbuffer.c: (gst_buffer_make_metadata_writable):
13303           gst_buffer_make_metadata_writable() should maintain the
13304           buffer flags (those that make sense at least) (see #340859).
13305
13306 2006-05-09  Tim-Philipp Müller  <tim at centricular dot net>
13307
13308         * tools/gst-inspect.c:
13309         * tools/gst-launch.c:
13310         * tools/gst-typefind.c:
13311         * tools/gst-xmlinspect.c:
13312         * tools/tools.h:
13313           Fix up includes: need to include stdlib.h in tools.h for exit().
13314
13315 2006-05-09  Tim-Philipp Müller  <tim at centricular dot net>
13316
13317         * gst/gsttaglist.c: (_gst_tag_initialize):
13318         * gst/gsttaglist.h:
13319           API: add GST_TAG_IMAGE tag (#340721).
13320
13321 2006-05-08  Wim Taymans  <wim@fluendo.com>
13322
13323         * gst/gstquery.c:
13324         Added some docs for the segment query.
13325
13326 2006-05-08  Wim Taymans  <wim@fluendo.com>
13327
13328         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
13329         (gst_base_src_loop), (gst_base_src_change_state):
13330         Always push non-flushing serialized events in the streaming 
13331         thread.
13332
13333 2006-05-08  Thomas Vander Stichele  <thomas at apestaart dot org>
13334
13335         * gst/gsterror.c: (_gst_stream_errors_init):
13336           Add a missing error string.
13337
13338 2006-05-08  Jan Schmidt  <thaytan@mad.scientist.com>
13339
13340         * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment):
13341         Add applied_rate to the debug
13342
13343         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek):
13344         Copy applied_rate into the outgoing NEWSEGMENT event
13345
13346 2006-05-08  Wim Taymans  <wim@fluendo.com>
13347
13348         Patch by: Philippe Rouquier <philippero at libertysurf dot fr>
13349
13350         * libs/gst/base/gstbasesink.c: (gst_base_sink_set_flushing),
13351         (gst_base_sink_change_state):
13352         call ::unlock before taking the PREROLL_LOCK so we can safely
13353         handle elements that lock in ::render.
13354         Fixes #340174.
13355
13356 2006-05-08  Edward Hervey  <edward@fluendo.com>
13357
13358         * autogen.sh: (CONFIGURE_DEF_OPT): 
13359         Darwin's libtoolize is in fact called glibtoolize.
13360         Adding glibtoolize to the list of accepted names for libtoolize.
13361
13362 2006-05-08  Wim Taymans  <wim@fluendo.com>
13363
13364         * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
13365         Unify error handling, don't post an error message
13366         when a push() returns EOS but perform our normal EOS
13367         handling code. Fixes #340772.
13368
13369 2006-05-08  Wim Taymans  <wim@fluendo.com>
13370
13371         * docs/design/part-overview.txt:
13372         Make upsteam/downstream concepts more clear.
13373         Give an example of serialized/non-serialized events.
13374
13375         * docs/design/part-events.txt:
13376         * docs/design/part-streams.txt:
13377         Mention applied_rate.
13378
13379         * docs/design/part-trickmodes.txt:
13380         Mention applied rate, flesh out some more use cases.
13381
13382         * gst/gstevent.c: (gst_event_new_new_segment),
13383         (gst_event_parse_new_segment), (gst_event_new_new_segment_full),
13384         (gst_event_parse_new_segment_full), (gst_event_new_tag),
13385         (gst_event_parse_tag), (gst_event_new_buffer_size),
13386         (gst_event_parse_buffer_size), (gst_event_new_qos),
13387         (gst_event_parse_qos), (gst_event_parse_seek),
13388         (gst_event_new_navigation):
13389         * gst/gstevent.h:
13390         Add applied_rate field to NEWSEGMENT event.
13391         API: gst_event_new_new_segment_full()
13392         API: gst_event_parse_new_segment_full()
13393
13394         * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_seek),
13395         (gst_segment_set_newsegment), (gst_segment_set_newsegment_full),
13396         (gst_segment_to_stream_time), (gst_segment_to_running_time):
13397         * gst/gstsegment.h:
13398         Add applied_rate to GstSegment structure.
13399         Make calculation of stream_time and running_time more correct
13400         wrt rate/applied_rate.
13401         Add some more docs.
13402         API: GstSegment::applied_rate field
13403         API: gst_segment_set_newsegment_full();
13404
13405         * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment),
13406         (gst_base_sink_get_sync_times), (gst_base_sink_get_position):
13407         * libs/gst/base/gstbasetransform.c:
13408         (gst_base_transform_sink_eventfunc),
13409         (gst_base_transform_handle_buffer):
13410         Parse and use applied_rate in the GstSegment field.
13411
13412         * tests/check/gst/gstevent.c: (GST_START_TEST):
13413         Add check for applied_rate field.
13414
13415         * tests/check/gst/gstsegment.c: (GST_START_TEST),
13416         (gstsegments_suite):
13417         Add more checks for various GstSegment operations.
13418
13419 2006-05-08  Wim Taymans  <wim@fluendo.com>
13420
13421         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
13422         (gst_base_sink_do_sync), (gst_base_sink_chain_unlocked),
13423         (gst_base_sink_get_position), (gst_base_sink_change_state):
13424         Store the sync time of the buffer end position separatly in a
13425         new variable eos_rtime so we can properly sync the EOS event.
13426         Fixes #340697.
13427         Fix the docs for gst_base_sink_set_qos_enabled().
13428         Don't set segment start to invalid value when we receive a 
13429         non TIME newsegment.
13430         get closer to handling position reporting for negative rates 
13431         correctly.
13432
13433 2006-05-07  Stefan Kost  <ensonic@users.sf.net>
13434
13435         * gst/gstcaps.c:
13436         Docs about how to print caps for debug purposes.
13437
13438         * gst/gstpadtemplate.c: (gst_static_pad_template_get):
13439         use gst_caps_make_writable instead of gst_caps_copy, Fixes #340608
13440
13441 2006-05-07  Stefan Kost  <ensonic@users.sf.net>
13442
13443         * gst/gstelement.c:
13444           use full enum names and preprend a '%' in docs strings to make recent 
13445           gtk-doc turn that into a link
13446
13447 2006-05-05  Tim-Philipp Müller  <tim at centricular dot net>
13448
13449         * docs/manual/basics-bins.xml:
13450         * docs/manual/basics-bus.xml:
13451         * docs/manual/basics-pads.xml:
13452           Some typo fixes, some additions, some clarifications. 
13453
13454 2006-05-05  Tim-Philipp Müller  <tim at centricular dot net>
13455
13456         * tools/gst-inspect.c: (main):
13457         * tools/gst-launch.c: (main):
13458         * tools/gst-run.c: (main):
13459         * tools/gst-typefind.c: (main):
13460         * tools/gst-xmlinspect.c: (main):
13461           Use the string passed to g_option_context_new() for
13462           what it's intended for - the program name is already
13463           printed elsewhere.
13464
13465 2006-05-05  Tim-Philipp Müller  <tim at centricular dot net>
13466
13467         * tools/Makefile.am:
13468         * tools/gst-inspect.c: (main):
13469         * tools/gst-launch.c: (main):
13470         * tools/gst-xmlinspect.c: (main):
13471         * tools/tools.h:
13472           Add back --version command line option (#340460).
13473
13474         * tools/gst-typefind.c: (have_type_handler), (typefind_file), (main):
13475           Add --version option and use GOption for argument parsing; refactor a
13476           bit; accept directories as arguments and recurse into them; lastly,
13477           print a decent error message when things go wrong.
13478
13479 2006-05-05  Maciej Katafiasz  <mathrick@freedesktop.org>
13480
13481         * docs/manual/basics-bins.xml:
13482         Don't mention GstThread (#340611)
13483         * docs/manual/basics-elements.xml:
13484         Update link to GObject tutorial (#340607)
13485         
13486 2006-05-05  Wim Taymans  <wim@fluendo.com>
13487
13488         * gst/gstbuffer.h:
13489         * gst/gstminiobject.c:
13490         Add note about refcounting and miniobject/buffer writeability
13491         to docs. Fixes #340604
13492
13493         * gst/gstelementfactory.h:
13494         Added some explanation about @klass.
13495
13496 2006-05-05  Maciej Katafiasz  <mathrick@freedesktop.org>
13497
13498         * docs/manual/intro-motivation.xml:
13499         * docs/manual/manual.xml:
13500         Avoid CORBA & Bonobo references (#340598)
13501
13502 2006-05-05  Maciej Katafiasz  <mathrick@freedesktop.org>
13503
13504         * docs/manual/basics-bus.xml:
13505         * docs/manual/basics-pads.xml:
13506         Fix up some inaccuracies and omissions (#340609)
13507         
13508 2006-05-05  Maciej Katafiasz  <mathrick@freedesktop.org>
13509
13510         * gst/gstghostpad.c:
13511           Small typo in docs (#340625)
13512
13513 2006-05-05  Tim-Philipp Müller  <tim at centricular dot net>
13514
13515         * gst/parse/Makefile.am:
13516           Make 'make -j' proof (see #340698).
13517
13518 2006-05-05  Tim-Philipp Müller  <tim at centricular dot net>
13519
13520         * configure.ac:
13521           Require GLib-2.8 here as well.
13522
13523 2006-05-05  Wim Taymans  <wim@fluendo.com>
13524
13525         * gst/glib-compat.c:
13526         * gst/gst.c: (init_pre):
13527         * gst/gstobject.c: (gst_object_init), (gst_object_ref),
13528         (gst_object_unref), (gst_object_replace), (gst_object_dispose),
13529         (gst_object_dispatch_properties_changed):
13530         * gst/gstobject.h:
13531         * gst/gstregistryxml.c: (gst_registry_xml_read_cache):
13532         * gst/gststructure.c: (gst_structure_set_valist):
13533         * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
13534         Remove pre glib2.8 compatibility, fixes #340508
13535
13536 2006-05-04  Tim-Philipp Müller  <tim at centricular dot net>
13537
13538         * gst/gsttaglist.h:
13539           Mention type of tags in doc blurbs.
13540
13541 2006-05-04  Jan Schmidt  <thaytan@mad.scientist.com>
13542
13543         * gst/gstpad.c: (gst_pad_init), (gst_pad_configure_sink),
13544         (gst_pad_configure_src), (gst_pad_push):
13545         Restore acceptcaps checking behaviour now that good plugins have
13546         been released.
13547
13548 2006-05-04  Tim-Philipp Müller  <tim at centricular dot net>
13549
13550         Patch by: James Andrewartha <trs80 at tartarus uwa edu au>
13551
13552         * gst/gst.c:
13553         * gst/gstbus.c:
13554         * gst/gstclock.c:
13555         * gst/gstevent.c:
13556         * gst/gstformat.c:
13557         * gst/gstmessage.c:
13558         * gst/gstparse.c:
13559         * gst/gstquery.c:
13560         * gst/gstutils.c:
13561         * gst/parse/Makefile.am:
13562         * libs/gst/base/gstadapter.c:
13563         * libs/gst/base/gstbasesrc.c:
13564         * libs/gst/base/gstpushsrc.c:
13565         * libs/gst/base/gsttypefindhelper.c:
13566         * plugins/elements/gstfakesrc.c:
13567         * plugins/elements/gstidentity.c:
13568           Make sure gstprivate.h and/or config.h are
13569           always included first, otherwise some of our
13570           defines (like _FILE_OFFSET_BITS) might be
13571           redefined in the system headers. Fixes build
13572           on opensolaris (#340016).
13573
13574 2006-05-04  Wim Taymans  <wim@fluendo.com>
13575
13576         * docs/libs/gstreamer-libs-sections.txt:
13577         API: addition: gst_adapter_take_buffer()
13578         
13579         * libs/gst/base/gstadapter.c: (gst_adapter_push),
13580         (gst_adapter_peek), (gst_adapter_take), (gst_adapter_take_buffer),
13581         (gst_adapter_available_fast):
13582         * libs/gst/base/gstadapter.h:
13583         Prepare for optimizing the hell out of this hugely inefficient
13584         piece of code. 
13585         Added gst_adapter_take_buffer() so we can at least start thinking
13586         about subbuffering and merging.
13587         Added some comments.
13588
13589         * tests/check/Makefile.am:
13590         * tests/check/libs/adapter.c: (GST_START_TEST),
13591         (gst_adapter_suite), (main):
13592         Added GstAdapter check.
13593
13594 2006-05-04  Wim Taymans  <wim@fluendo.com>
13595
13596         * docs/design/part-overview.txt:
13597         Fix some typos, add blurb about buffer flags.
13598
13599 2006-05-03  Thomas Vander Stichele  <thomas at apestaart dot org>
13600
13601         * docs/libs/gstreamer-libs-sections.txt:
13602           make sure GstBaseTransformClass shows up in the docs
13603         * libs/gst/base/gstbasetransform.c:
13604         * libs/gst/base/gstbasetransform.h:
13605           move docs so gtk-doc picks it up now
13606
13607 2006-05-02  Stefan Kost  <ensonic@users.sf.net>
13608
13609         * docs/libs/gstreamer-libs-sections.txt:
13610           add missing symbols to docs
13611
13612 2006-05-02  Stefan Kost  <ensonic@users.sf.net>
13613
13614         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_event):
13615           back out the newsegment handling change, see #340060 for ongoing
13616           discussion
13617
13618 2006-04-30  Tim-Philipp Müller  <tim at centricular dot net>
13619
13620         * tools/gst-run.c: (get_candidates), (main):
13621           Fix wrong g_file_test() usage (see glib docs for why it doesn't
13622           work); fix typo in error message. Fixes #340079.
13623
13624 2006-04-29  Thomas Vander Stichele  <thomas at apestaart dot org>
13625
13626         * common/Makefile.am:
13627         * docs/Makefile.am:
13628         * docs/faq/Makefile.am:
13629         * docs/gst/Makefile.am:
13630         * docs/libs/Makefile.am:
13631         * docs/manual/Makefile.am:
13632         * docs/plugins/Makefile.am:
13633         * docs/pwg/Makefile.am:
13634         * docs/slides/Makefile.am:
13635         * docs/upload.mak:
13636         * common/upload.mak:
13637           move upload.mak to common
13638
13639 2006-04-29  Thomas Vander Stichele  <thomas at apestaart dot org>
13640
13641         * tests/check/gst/gstghostpad.c: (GST_START_TEST):
13642           add more asserts on refcounts
13643           do more cleanup at end of tests
13644           fix test leaks showing in FC5
13645
13646 2006-04-29  Stefan Kost  <ensonic@users.sf.net>
13647
13648         * plugins/elements/gsttypefindelement.c:
13649         (gst_type_find_element_handle_event):
13650         reverted wrong change and reflowed code to avoid others falling into
13651         this trap
13652
13653 2006-04-28  Stefan Kost  <ensonic@users.sf.net>
13654
13655         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_event):
13656           fix changelog entry about last collectpads change,
13657           add notes about proper fix
13658
13659 2006-04-28  Stefan Kost  <ensonic@users.sf.net>
13660
13661         * gst/gst.c:
13662         * gst/gstregistry.c: (gst_registry_scan_path_level),
13663         (gst_registry_scan_path):
13664         * gst/gstregistry.h:
13665           only write out registry if it has changed, fixes #338339
13666
13667 2006-04-28  Stefan Kost  <ensonic@users.sf.net>
13668
13669         * gst/gstbin.c:
13670         * gst/gstpipeline.c:
13671         * plugins/elements/gstcapsfilter.c:
13672         * plugins/elements/gstfakesink.c:
13673         * plugins/elements/gstfakesrc.c:
13674         * plugins/elements/gstfdsink.c:
13675         * plugins/elements/gstfdsrc.c:
13676         * plugins/elements/gstfilesink.c:
13677         * plugins/elements/gstfilesrc.c:
13678         * plugins/elements/gstidentity.c:
13679         * plugins/elements/gstqueue.c:
13680         * plugins/elements/gsttee.c:
13681         * plugins/elements/gsttypefindelement.c:
13682         (gst_type_find_element_handle_event):
13683           make GstElementDetails const
13684
13685 2006-04-28  Stefan Kost  <ensonic@users.sf.net>
13686
13687         * libs/gst/base/gstbasesink.c: (gst_base_sink_event):
13688         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
13689         (gst_collect_pads_is_collected), (gst_collect_pads_event):
13690           more detailed debug and formatting cleanup,
13691           forward newsegments to src-pad (so that e.g. adder not eats them)
13692
13693 2006-04-28  Stefan Kost  <ensonic@users.sf.net>
13694
13695         * gst/gstutils.c: (gst_element_link_pads):
13696           cleanup double code
13697
13698 2006-04-28  Stefan Kost  <ensonic@users.sf.net>
13699
13700         * libs/gst/controller/gstcontroller.c:
13701         (gst_controller_sync_values):
13702           some little tuning
13703         * tests/check/libs/controller.c: (GST_START_TEST),
13704         (gst_controller_suite):
13705           a new test for live value handling
13706
13707 2006-04-28  Wim Taymans  <wim@fluendo.com>
13708
13709         * gst/gstutils.c: (push_and_ref):
13710         Added some more docs.
13711         Fix refcount issue whith gst_element_found_tags() helper 
13712         function. Fixes #338335
13713
13714         * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
13715         Added testsuite for gst_element_found_tags().
13716
13717 2006-04-28  Michael Smith  <msmith@fluendo.com>
13718
13719         * gst/gstvalue.c: (gst_value_serialize_flags):
13720           Avoid NULL dereference when trying to serialize flags containing
13721           invalid values.
13722
13723 2006-04-28  Michael Smith  <msmith@fluendo.com>
13724
13725         * plugins/elements/gsttypefindelement.c:
13726         (gst_type_find_element_handle_event):
13727           If we get EOS before any data is accumulated, don't use
13728           uninitialised local variables.
13729
13730 2006-04-28  Michael Smith  <msmith@fluendo.com>
13731
13732         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
13733         (gst_dp_event_from_packet):
13734           Fixes in reading/writing events over GDP (not currently used?) - 
13735           dereferencing NULL events for unknown/invalid event types, memory
13736           leak, and change g_warning to GST_WARNING.
13737
13738 2006-04-28  Wim Taymans  <wim@fluendo.com>
13739
13740         * libs/gst/base/gstbasesink.c: (gst_base_sink_is_too_late),
13741         (gst_base_sink_do_render_stats), (gst_base_sink_render_object),
13742         (gst_base_sink_get_position), (gst_base_sink_change_state):
13743         When frame dropping is enabled, we should not ignore frames
13744         without a duration.
13745         Update some documentation.
13746
13747 2006-04-28  Wim Taymans  <wim@fluendo.com>
13748
13749         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
13750         (gst_base_src_send_event), (gst_base_src_change_state):
13751         Documentation updates.
13752
13753 2006-04-28  Wim Taymans  <wim@fluendo.com>
13754
13755         * plugins/elements/gstfdsink.c: (gst_fd_sink_render),
13756         (gst_fd_sink_check_fd), (gst_fd_sink_update_fd):
13757         handle EAGAIN, EINTR and short writes correctly. Also clean
13758         up some error cases, avoid a deadlock on bad file descriptors and
13759         use GST_DEBUG_OBJECT.
13760         Fixes #339843
13761
13762 2006-04-28  Wim Taymans  <wim@fluendo.com>
13763
13764         * gst/gstvalue.c: (gst_value_serialize_buffer),
13765         (gst_value_deserialize_buffer):
13766         Don't try to serialize a GValue with a NULL buffer. 
13767         Fixes #339821.
13768
13769         * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
13770         Added check for serialisation of NULL buffers.
13771
13772 2006-04-28  Wim Taymans  <wim@fluendo.com>
13773
13774         * gst/gstminiobject.c: (gst_value_take_mini_object):
13775         Taking a NULL miniobject is valid, fix the case where
13776         we try to unref the NULL miniobject.
13777
13778 2006-04-28  Wim Taymans  <wim@fluendo.com>
13779
13780         Patch by: Stefan Kost <ensonic at sonicpulse dot de>
13781
13782         * gst/gstbin.c: (gst_bin_handle_message_func):
13783         Update docs.
13784         Don't leak bin refcount when a state recalc is
13785         in progress and we delay another one #339808.
13786
13787 2006-04-28  Wim Taymans  <wim@fluendo.com>
13788
13789         * docs/design/part-TODO.txt:
13790         Mention QoS as an ongoing work item.
13791
13792         * docs/design/part-buffering.txt:
13793         New doc about buffering that needs to be fleshed out
13794         at some point.
13795
13796         * docs/design/part-qos.txt:
13797         More QoS policy for decoders/demuxers/transforms
13798
13799         * docs/design/part-trickmodes.txt:
13800         Small update.
13801
13802 2006-04-28  Thomas Vander Stichele  <thomas at apestaart dot org>
13803
13804         * configure.ac:
13805           back to HEAD
13806
13807 === release 0.10.5 ===
13808
13809 2006-04-28  Thomas Vander Stichele <thomas at apestaart dot org>
13810
13811         * configure.ac:
13812           releasing 0.10.5, "Fogo"
13813
13814 2006-04-22  Thomas Vander Stichele  <thomas at apestaart dot org>
13815
13816         patch by: Wim Taymans
13817
13818         * gst/gstpad.c: (gst_pad_init), (gst_pad_configure_sink),
13819         (gst_pad_configure_src), (gst_pad_push):
13820         * gst/gstpipeline.c: (gst_pipeline_init):
13821           Fix internal data flow errors.  Fixes #338711.
13822
13823 2006-04-12  Wim Taymans  <wim@fluendo.com>
13824
13825         * tests/check/gst/gstelement.c: (GST_START_TEST):
13826         Don't leak the factory.
13827
13828 2006-04-12  Thomas Vander Stichele  <thomas at apestaart dot org>
13829
13830         * configure.ac:
13831         * win32/common/config.h:
13832           prerelease
13833
13834 2006-04-12  Tim-Philipp Müller  <tim at centricular dot net>
13835
13836         * libs/gst/controller/gstcontroller.c: (gst_controller_unset),
13837         (gst_controller_unset_all):
13838           Free allocated GstTimedValues when freeing list nodes.
13839           Should fix leaks 'make check-valgrind' complains about.
13840
13841         * win32/common/libgstcontroller.def:
13842           Add gst_controller_unset_all.
13843
13844 2006-04-11  Stefan Kost  <ensonic@users.sf.net>
13845
13846         * docs/libs/gstreamer-libs-sections.txt:
13847         * libs/gst/controller/gstcontroller.c: (gst_controller_unset),
13848         (gst_controller_unset_all):
13849         * libs/gst/controller/gstcontroller.h:
13850         API: Added new method gst_controller_unset_all()
13851         fixed gst_controller_unset()
13852         * tests/check/libs/controller.c: (GST_START_TEST),
13853         (gst_controller_suite):
13854         Added two testcases for new and fixed method
13855
13856 2006-04-11  Tim-Philipp Müller  <tim at centricular dot net>
13857
13858         * libs/gst/net/gstnettimepacket.c: (gst_net_time_packet_send):
13859           MSG_DONTWAIT is not defined on Cygwin, so work
13860           around that (fixes #317048).
13861           
13862 2006-04-11  Wim Taymans  <wim@fluendo.com>
13863
13864         * gst/gstelementfactory.c: (gst_element_register),
13865         (gst_element_factory_create), (gst_element_factory_make):
13866         Some cleanups.
13867         Fixed a FIXME.
13868         Updated docs (Fixes #131079)
13869
13870         * gst/gstpluginfeature.c: (gst_plugin_feature_load):
13871         Small cleanups.
13872
13873         * tests/check/gst/gstelement.c: (GST_START_TEST),
13874         (gst_element_suite):
13875         Added testcase for elementfactory class field.
13876
13877 2006-04-10  Wim Taymans  <wim@fluendo.com>
13878
13879         * gst/gstsegment.c:
13880         Added some more docs.
13881
13882         * libs/gst/base/gstbasesink.c: (gst_base_sink_perform_qos),
13883         (gst_base_sink_reset_qos):
13884         Calculate more accurate rate values.
13885
13886 2006-04-09  Sebastien Moutte  <sebastien@moutte.net>
13887
13888         * gst/gst_private.h:
13889           add a new #ifdef to use __declspec(dllimport) only for
13890           other modules and not for gstreamer core
13891         * gst/gstbasesink.c: (gst_base_sink_perform_qos):
13892           use gst_guint64_to_gdouble for conversion
13893         * win32/common/libgstreamer.def:
13894           add new exported functions
13895         * win32/vs6/gst_inspect.dsp:
13896         * win32/vs6/gst_launch.dsp:
13897         * win32/vs6/libgstbase.dsp:
13898         * win32/vs6/libgstcontroller.dsp:
13899         * win32/vs6/libgstcoreelements.dsp:
13900         * win32/vs6/libgstdataprotocol.dsp:
13901         * win32/vs6/libgstnet.dsp:
13902           update project files
13903
13904 2006-04-08  Stefan Kost  <ensonic@users.sf.net>
13905
13906         * gst/gstbuffer.c: (gst_subbuffer_class_init):
13907         * gst/gstclock.c: (gst_clock_class_init):
13908         * gst/gstelement.c: (gst_element_class_init):
13909         * gst/gstindex.c: (gst_index_class_init):
13910         * gst/gstindexfactory.c: (gst_index_factory_class_init):
13911         * gst/gstobject.c: (gst_object_class_init),
13912         (gst_signal_object_class_init):
13913         * gst/gstpad.c: (gst_pad_class_init):
13914         * gst/gstpadtemplate.c: (gst_pad_template_class_init):
13915         * gst/gstpluginfeature.c: (gst_plugin_feature_class_init):
13916         * gst/gstregistry.c: (gst_registry_class_init):
13917         * gst/gstsystemclock.c: (gst_system_clock_class_init):
13918         * gst/gsttask.c: (gst_task_class_init):
13919         * gst/gstxml.c: (gst_xml_class_init):
13920         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
13921         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
13922         (gst_base_src_loop):
13923         * libs/gst/controller/gstcontroller.c:/
13924         (_gst_controller_class_init):
13925         * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init):
13926         * plugins/indexers/gstfileindex.c: (gst_file_index_class_init):
13927         * plugins/indexers/gstmemindex.c: (gst_mem_index_class_init):
13928         * tests/old/examples/plugins/example.c: (gst_example_class_init):
13929         * tests/old/testsuite/threads/signals.c: (gst_test_class_init):
13930         Fix #337365 (g_type_class_ref <-> g_type_class_peek_parent)
13931
13932 2006-04-08  Tim-Philipp Müller  <tim at centricular dot net>
13933
13934         * gst/gstpad.c: (gst_pad_link):
13935           Must set peer pads before calling the link function, otherwise
13936           a task started from a link function might get a flow-not-linked
13937           result when trying to push because the other thread where the
13938           linking happens hasn't had a chance to set the peers yet. This
13939           might happen for example when a queue gets linked to a downstream
13940           element, as queue starts a streaming task when its source pad
13941           gets linked. Happens in real life when playing back flac/musepack
13942           files in playbin (#332390).
13943           
13944 2006-04-08  Stefan Kost  <ensonic@users.sf.net>
13945
13946         * gst/gstindex.h:
13947         * gst/gstxml.h:
13948         * libs/gst/base/gstadapter.h:
13949         * libs/gst/base/gstbasesink.h:
13950         * libs/gst/base/gstbasesrc.h:
13951         * libs/gst/base/gstbasetransform.h:
13952         * libs/gst/base/gstcollectpads.h:
13953         * libs/gst/base/gstpushsrc.h:
13954         Fix broken GObject macros
13955
13956 2006-04-07  Wim Taymans  <wim@fluendo.com>
13957
13958         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
13959         Initialize start and stop times, thanks valgrind.
13960
13961 2006-04-07  Wim Taymans  <wim@fluendo.com>
13962
13963         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
13964         Be a bit nicer to badly behaving upstream elements that expect
13965         us to deal with non TIME segments and timestamps (such as fakesrc
13966         in the testsuite).
13967
13968 2006-04-07  Wim Taymans  <wim@fluendo.com>
13969
13970         * gst/gstbus.c:
13971         Small documentation clarification about the signal watch.
13972
13973         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
13974         (gst_base_sink_wait_clock), (gst_base_sink_do_sync),
13975         (gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
13976         (gst_base_sink_do_render_stats), (gst_base_sink_render_object),
13977         (gst_base_sink_get_position_last),
13978         (gst_base_sink_get_position_paused), (gst_base_sink_change_state):
13979         Convert and store timestamps in stream time and running time, the
13980         raw timestamps are not useful, also document this better.
13981         Use different window sizes for good and bad QoS observations so
13982         we react to badness a little quicker.
13983         Keep track of the amount of rendered and dropped buffers.
13984         Send QoS timestamps in running time.
13985
13986         * libs/gst/base/gstbasetransform.c:
13987         (gst_base_transform_sink_eventfunc),
13988         (gst_base_transform_handle_buffer):
13989         Compare QoS timestamps against running time.
13990
13991 2006-04-06  Tim-Philipp Müller  <tim at centricular dot net>
13992
13993         * gst/gstpad.c:
13994           Typo fixes in docs.
13995
13996 2006-04-06  Michael Smith  <msmith@fluendo.com>
13997
13998         * gst/gstpad.c: (gst_pad_set_property):
13999           Use g_value_get_object() instead of g_value_dup_gst_object(),
14000           to avoid double-reffing the pad template (which we then sink,
14001           so this worked previously if (and only if) the pad template
14002           was floating.
14003
14004         * gst/gstpadtemplate.c: (gst_pad_template_init),
14005         (gst_pad_template_pad_created):
14006           Never return floating references to pad templates, create
14007           them as initially-sunken.
14008
14009           Document an extra function (and make this stop sinking our
14010           pad template, since that is now guaranteed to do nothing,
14011           since we created it sunken).
14012
14013         * gst/gstghostpad.c:
14014           Fix docs typo.
14015
14016 2006-04-06  Tim-Philipp Müller  <tim at centricular dot net>
14017
14018         * gst/gstinfo.c: (__gst_in_valgrind):
14019           Add some newlines.
14020
14021         * plugins/elements/gsttypefindelement.c:
14022         (gst_type_find_element_chain):
14023           Don't leak buffer caps.
14024
14025 2006-04-06  Michael Smith  <msmith@fluendo.com>
14026
14027         * gst/parse/grammar.y:
14028           Fix a leak in parse-launch for any source-or-sink named element 
14029           references used.
14030
14031         * tests/check/pipelines/parse-launch.c: (expected_fail_pipe):
14032           Unref the pipeline if it exists after we've failed parsing.
14033
14034 2006-04-05  Michael Smith  <msmith@fluendo.com>
14035
14036         * gst/gstpipeline.c: (gst_pipeline_init):
14037           When we create a pipeline bus, initially create it in flushing mode.
14038           Fixes leaks in at least one test, and makes a new pipeline work the
14039           same as one that has gone to READY and then back to NULL.
14040
14041         * gst/gstelement.c:
14042           Typo fix in docs.
14043
14044 2006-04-05  Michael Smith  <msmith@fluendo.com>
14045
14046         * tests/check/gst/gstghostpad.c: (GST_START_TEST):
14047           Unref a pad we reffed.
14048         * tests/check/gst/gstutils.c: (GST_START_TEST):
14049           Unref bins
14050
14051 2006-04-05  Michael Smith  <msmith@fluendo.com>
14052
14053         * gst/gstquery.c: (gst_query_set_formats),
14054         (gst_query_set_formatsv):
14055           Fix leaking GValues in queries, as shown by valgrind/testsuite.
14056
14057 2006-04-05  Michael Smith  <msmith@fluendo.com>
14058
14059         * tests/check/generic/sinks.c: (GST_START_TEST):
14060           Fix a variety of memleaks in sinks check, which are only sometimes 
14061           shown by running the tests under valgrind (weird?).
14062
14063 2006-04-05  Jan Schmidt  <thaytan@mad.scientist.com>
14064
14065         * docs/version.entities.in:
14066           Fix the substituted entity name after thomas' changes on the
14067           weekend.
14068
14069 2006-04-05  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
14070
14071         * gst/gstinfo.c: (__gst_in_valgrind): Use printf instead of
14072         VALGRIND_PRINTF
14073         
14074 2006-04-05  Andy Wingo  <wingo@pobox.com>
14075
14076         * gst/gstpad.c (gst_pad_set_blocked_async): More debug.
14077
14078         * libs/gst/base/gstbasetransform.c
14079         (gst_base_transform_sink_eventfunc): When resetting our segment on
14080         FLUSH_STOP, also update the flag saying we haven't seen a
14081         newsegment.
14082
14083 2006-04-04  Tim-Philipp Müller  <tim at centricular dot net>
14084
14085         Patch by: Paolo Borelli  <pborelli at katamail dot com>
14086
14087         * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_class_init),
14088         (gst_plugin_check_license):
14089           minor clean-ups: G_DEFINE_TYPE already takes care of the
14090           parent_class stuff, no need to do it twice. Mark array of
14091           license strings as constant. (#337103)
14092           
14093 2006-04-04  Michael Smith  <msmith@fluendo.com>
14094
14095         * tools/gst-inspect.c: (print_element_list):
14096           Free the right plugin list; fixes a memory leak.
14097
14098 2006-04-04  Tim-Philipp Müller  <tim at centricular dot net>
14099
14100         Patch by: Mark Nauwelaerts  <manauw at skynet dot be>
14101
14102         * plugins/elements/gstfilesink.c: (gst_file_sink_render):
14103           Don't error out on empty buffers (#336945).
14104           
14105 2006-04-04  Jan Schmidt  <thaytan@mad.scientist.com>
14106
14107         * docs/libs/gstreamer-libs-sections.txt:
14108         * gst/gsttaglist.c:
14109         * libs/gst/base/gstbasesink.c:
14110         * libs/gst/base/gstbasesink.h:
14111         * libs/gst/base/gstbasesrc.c:
14112         * libs/gst/base/gstbasesrc.h:
14113           Documentation updates. Make BaseSink and BaseSrc docs contain the
14114           class structure so that people can actually see the prototypes for
14115           virtual functions they're supposed to be overriding.
14116
14117 2006-04-04  Tim-Philipp Müller  <tim at centricular dot net>
14118
14119         * plugins/elements/gsttypefindelement.c:
14120         (gst_type_find_element_chain):
14121           More debug info; when skipping typefinding, send cached
14122           events in all cases.
14123
14124 2006-04-01  Thomas Vander Stichele  <thomas at apestaart dot org>
14125
14126         * configure.ac:
14127           use new AS_VERSION and AS_NANO macros
14128         * gst/gst-i18n-lib.h:
14129         * gst/gst.c:
14130         * gst/gsterror.c:
14131         * gst/gstversion.h.in:
14132         * win32/common/config.h:
14133         * win32/common/config.h.in:
14134           update accordingly
14135
14136 2006-03-31  Michael Smith  <msmith@fluendo.com>
14137
14138         * plugins/elements/gsttypefindelement.c:
14139         (gst_type_find_element_chain):
14140           Do not typefind content if the buffers already have caps.
14141           Neccesary for icydemux (#333657), and the right thing to do anyway.
14142
14143 2006-03-30  Wim Taymans  <wim@fluendo.com>
14144
14145         * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
14146         (gst_base_sink_finalize), (gst_base_sink_set_qos_enabled),
14147         (gst_base_sink_is_qos_enabled), (gst_base_sink_do_sync),
14148         (gst_base_sink_record_qos_observation),
14149         (gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
14150         (gst_base_sink_is_too_late), (gst_base_sink_render_object),
14151         (gst_base_sink_change_state):
14152         More QoS measurements as described in the design doc.
14153         Get rid of ringbuffer with observations, running average is
14154         more simple and equally good.
14155         Calculates valid proportion now.
14156         Added beginning of flood measurement.
14157
14158 2006-03-29  Wim Taymans  <wim@fluendo.com>
14159
14160         * docs/design/part-qos.txt:
14161         * gst/gstclock.c:
14162         Small documentation updates and additions.
14163
14164 2006-03-29  Wim Taymans  <wim@fluendo.com>
14165
14166         * libs/gst/base/gstbasesrc.c: (gst_base_src_finalize),
14167         (gst_base_src_send_event), (gst_base_src_loop),
14168         (gst_base_src_change_state):
14169         Perform the EOS logic when we reach the segment stop position.
14170         Fix compilation on gcc4.1
14171
14172 2006-03-29  Wim Taymans  <wim@fluendo.com>
14173
14174         Patch by: Tommi Myöhänen <ext-tommi dot myohanen at nokia dot com>
14175
14176         * plugins/elements/gstqueue.c: (gst_queue_init),
14177         (gst_queue_locked_flush), (gst_queue_handle_sink_event),
14178         (gst_queue_set_property):
14179         * plugins/elements/gstqueue.h:
14180         In queue, when EOS is received, if minimum threshold > max_size -
14181         current_level, there is chance that queue blocks forever in conditional
14182         item del wait. This is because the queue is not emptied completely due
14183         to minimum threshold.  Here is another approach. Instead of setting
14184         cur_levels to max in EOS, just zero all minimum threshold levels. This
14185         should make sure that queue gives out all data. When going to READY
14186         (stop) state, just reset the original minimum threshold levels.
14187         Fixes #336336.
14188
14189 2006-03-29  Tim-Philipp Müller  <tim at centricular dot net>
14190
14191         * plugins/elements/gsttypefindelement.c: (stop_typefinding),
14192         (gst_type_find_element_handle_event),
14193         (gst_type_find_element_send_cached_events),
14194         (gst_type_find_element_change_state):
14195         * plugins/elements/gsttypefindelement.h:
14196           When typefinding is done in push mode, we should cache
14197           events we receive during typefinding instead of just
14198           dropping them (e.g. newsegment, custom events from
14199           dvdreadsrc etc.) and then send them out once we've
14200           determined the type of the stream (and decodebin
14201           has had a chance to plug in a decoder/demuxer).
14202           
14203 2006-03-27  Wim Taymans  <wim@fluendo.com>
14204
14205         * docs/design/part-qos.txt:
14206         First QoS ideas.
14207
14208 2006-03-27  Wim Taymans  <wim@fluendo.com>
14209
14210         Inspired by a patch of: Lutz Mueller <lutz at topfrose dot de>
14211
14212         * libs/gst/base/gstbasesrc.c: (gst_base_src_finalize),
14213         (gst_base_src_send_event), (gst_base_src_change_state):
14214         Handle element seek correctly when we are streaming.
14215         Fixes #326998.
14216
14217 2006-03-24  Michael Smith  <msmith@fluendo.com>
14218
14219         * docs/faq/gst-uninstalled:
14220           Set up LD_LIBRARY_PATH to point at all the gstreamer libs. This will
14221           allow you to correctly run intalled applications built against old 
14222           core, using plugins that require updated core (e.g. running
14223           installed totem against a full uninstalled gstreamer stack)
14224
14225 2006-03-24  Stefan Kost  <ensonic@users.sf.net>
14226
14227         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_is_collected):
14228         more debug details
14229
14230 2006-03-24  Wim Taymans  <wim@fluendo.com>
14231
14232         * docs/gst/gstreamer-sections.txt:
14233         Rearrange the order of the methods so that related methods
14234         are grouped together in sections.
14235
14236 2006-03-24  Stefan Kost  <ensonic@users.sf.net>
14237
14238         * gst/gstelement.c:
14239           Little clarification in the docs
14240
14241 2006-03-24  Stefan Kost  <ensonic@users.sf.net>
14242
14243         * docs/README:
14244         formatting fix
14245         * plugins/elements/gstidentity.c:
14246         * plugins/elements/gstqueue.c:
14247         * plugins/elements/gsttee.c:
14248         * plugins/elements/gsttypefindelement.c:
14249         GST_ELEMENT_DETAILS formatting
14250
14251 2006-03-24  Wim Taymans  <wim@fluendo.com>
14252
14253         * libs/gst/base/gstbasesink.h:
14254         Only add fields, not insert or we break ABI.
14255
14256 2006-03-23  Tim-Philipp Müller  <tim at centricular dot net>
14257
14258         * win32/common/libgstbase.def:
14259         * win32/common/libgstreamer.def:
14260           Update, add recently added functions.
14261
14262 2006-03-23  Tim-Philipp Müller  <tim at centricular dot net>
14263
14264         * docs/gst/gstreamer-sections.txt:
14265         * gst/gstutils.c: (gst_pad_query_peer_position),
14266         (gst_pad_query_peer_duration), (gst_pad_query_peer_convert):
14267         * gst/gstutils.h:
14268           API: add some new utility functions:
14269            - gst_pad_query_peer_position()
14270            - gst_pad_query_peer_duration()
14271            - gst_pad_query_peer_convert()
14272           
14273 2006-03-23  Wim Taymans  <wim@fluendo.com>
14274
14275         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
14276         (gst_base_sink_init), (gst_base_sink_finalize),
14277         (gst_base_sink_set_qos_enabled), (gst_base_sink_is_qos_enabled),
14278         (gst_base_sink_set_property), (gst_base_sink_get_property),
14279         (gst_base_sink_commit_state), (gst_base_sink_get_sync_times),
14280         (gst_base_sink_wait_clock), (gst_base_sink_do_sync),
14281         (gst_base_sink_add_qos_observation), (gst_base_sink_send_qos),
14282         (gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
14283         (gst_base_sink_is_too_late), (gst_base_sink_render_object),
14284         (gst_base_sink_preroll_object), (gst_base_sink_event),
14285         (gst_base_sink_chain_unlocked), (gst_base_sink_get_position_last),
14286         (gst_base_sink_get_position_paused), (gst_base_sink_get_position),
14287         (gst_base_sink_query), (gst_base_sink_change_state):
14288         Decouple max-lateness and the fact that QoS messages are generated
14289         with a new property (qos).
14290         added API: GstBaseSink::async_play()
14291         Add vmethod so subclasses can be notified of ASYNC playing
14292         state changes.
14293         Collect timestamp start and stop to report better current
14294         position in EOS/PLAYING/PAUSED/READY/NULL.
14295         Refactor QoS/frame dropping and other measurements.
14296         API: GstBaseSrc::qos
14297         Fixes #326311
14298
14299         * libs/gst/base/gstbasesink.h:
14300         Added Private struct.
14301         API: gst_base_sink_set_qos_enabled()
14302         API: gst_base_sink_is_qos_enabled()
14303
14304 2006-03-23  Tim-Philipp Müller  <tim at centricular dot net>
14305
14306         * gst/gstregistryxml.c: (gst_registry_xml_read_cache):
14307           If compiling against GLib-2.8 or newer, try to read the
14308           registry file using GMappedFile first before falling back
14309           to fopen() + fread() (#332151).
14310
14311 2006-03-22  Wim Taymans  <wim@fluendo.com>
14312
14313         * gst/gstinfo.c: (gst_debug_set_active),
14314         (gst_debug_category_set_threshold):
14315         Disable debugging unless explicitly activated.
14316         Fixes #335480.
14317
14318 2006-03-22  Wim Taymans  <wim@fluendo.com>
14319
14320         * gst/gstelement.c: (gst_element_set_locked_state),
14321         (gst_element_dispose):
14322         Cleanup the error case.
14323
14324         * gst/gstobject.c: (gst_object_dispose):
14325         print a critical when some object was disposed with
14326         a parent, also revive the object since it might
14327         crash the parent.
14328
14329 2006-03-22  Tim-Philipp Müller  <tim at centricular dot net>
14330
14331         * tools/gst-launch.1.in:
14332           Fix another typo.
14333
14334 2006-03-21  Thomas Vander Stichele  <thomas at apestaart dot org>
14335
14336         * configure.ac:
14337         * tests/check/Makefile.am:
14338           disable some tests when we don't have a registry
14339         * tests/check/gst/gstutils.c: (gst_utils_suite):
14340           don't build the part that needs parsing
14341
14342 2006-03-21  Thomas Vander Stichele  <thomas at apestaart dot org>
14343
14344         * gst/Makefile.am
14345         * tests/examples/Makefile.am:
14346           fix --disable-parse build
14347
14348 2006-03-21  Tim-Philipp Müller  <tim at centricular dot net>
14349
14350         * tools/gst-feedback.1.in:
14351           Fix typo: s/feeback/feedback/ (#133494).
14352
14353 2006-03-21  Tim-Philipp Müller  <tim at centricular dot net>
14354
14355         * tools/Makefile.am:
14356         * tools/gst-launch.1.in:
14357           Add FILES section and correct entry about GST_REGISTRY_PATH
14358           environment variable (#133495; #133494).
14359
14360 2006-03-21  Tim-Philipp Müller  <tim at centricular dot net>
14361
14362         * tools/Makefile.am:
14363         * tools/gst-md5sum.1.in:
14364         * tools/gst-md5sum.c:
14365           Remove gst-md5sum and man page (the md5sink element
14366           required was removed ages ago)
14367
14368 2006-03-21  Tim-Philipp Müller  <tim at centricular dot net>
14369
14370         * gst/gststructure.c: (gst_structure_id_set_value):
14371           Make sure that string fields in structures/taglists
14372           contain valid UTF-8 - we don't want to pass rubbish to
14373           applications because of a buggy plugin (cp. #334167).
14374
14375 2006-03-21  Edward Hervey  <edward@fluendo.com>
14376
14377         * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
14378         (gst_bin_handle_message_func):
14379         * gst/gstclock.c: (gst_clock_dispose), (gst_clock_set_master):
14380         * gst/gstelement.c: (gst_element_set_clock), (gst_element_dispose),
14381         (gst_element_set_bus_func):
14382         * gst/gstghostpad.c: (gst_proxy_pad_dispose):
14383         * gst/gstminiobject.c: (gst_value_set_mini_object),
14384         (gst_value_take_mini_object):
14385         * gst/gstpad.c: (gst_pad_set_pad_template):
14386         * gst/gstpipeline.c: (gst_pipeline_dispose),
14387         (gst_pipeline_use_clock), (gst_pipeline_auto_clock):
14388         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_pop),
14389         (gst_collect_pads_chain):
14390         * libs/gst/net/gstnettimeprovider.c:
14391         (gst_net_time_provider_set_property):
14392         Series of fixes for dereferenced pointers that gcc 4.1 complains about.
14393         It's in fact all issues with gst_*object_replace().
14394
14395 2006-03-21  Tim-Philipp Müller  <tim at centricular dot net>
14396
14397         Patch by: Loïc Minier  <lool + gnome at via dot ecp dot fr>
14398         
14399         * pkgconfig/gstreamer-check-uninstalled.pc.in:
14400         * pkgconfig/gstreamer-check.pc.in:
14401           Use @CHECK_LIBS@ here instead of hard-coding -lcheck (#334109).
14402
14403 2006-03-21  Edward Hervey  <edward@fluendo.com>
14404
14405         * gst/gstbuffer.h:
14406         * gst/gstevent.h:
14407         * gst/gstmessage.h:
14408         gst_[buffer|event|message]_ref() macros are replaced by a static
14409         inline functions because gcc-4.1 will about if the return value
14410         isn't used.
14411         * tests/check/gst/gstevent.c: (event_probe):
14412         gst_event_ref now has to be given a GstEvent* , fix check accordingly.
14413
14414 2006-03-20  Jan Schmidt  <thaytan@mad.scientist.com>
14415
14416         * gst/gstutils.h:
14417         Add G_UNLIKELY to our boilerplate to optimise the 'already registered
14418         the type' case. (Closes: #335195 for now). In the future, when we
14419         depend on GLib 2.10, we could also intern the type name using
14420         g_intern_static_string()
14421
14422 2006-03-20  Wim Taymans  <wim@fluendo.com>
14423
14424         * gst/gstbin.c: (gst_bin_handle_message_func),
14425         (bin_query_max_init), (bin_query_position_fold),
14426         (bin_query_position_done), (gst_bin_query):
14427         Position query should also take max of all streams.
14428
14429 2006-03-20  Wim Taymans  <wim@fluendo.com>
14430
14431         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
14432         (gst_fake_src_finalize):
14433         Fix leaks in fakesrc.
14434
14435         * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
14436         Fix leaks in the testcase.
14437
14438 2006-03-19  Sebastien Moutte  <sebastien@moutte.net>
14439
14440         * gst/gst_private.h:
14441           add win32 specific import decoration(__declspec(dllimport)) 
14442           for all extern GstDebugCategory * variables
14443         * win32/common/libgstbase.def:
14444         * win32/common/libgstcontroller.def:
14445         * win32/common/libgstreamer.def:
14446           Add some exports, remove empty lines
14447         * win32/common/libgstdataprotocol.def:
14448         * win32/common/libgstdataprotocol.dsp:
14449         * win32/common/libgstnet.def:
14450         * win32/common/libgstnet.dsp:
14451           new project files and exportation files added
14452         
14453 2006-03-19  Wim Taymans  <wim@fluendo.com>
14454
14455         * tests/check/libs/basesrc.c: (eos_event_counter):
14456         Use proper return value for probe.
14457
14458 2006-03-17  Wim Taymans  <wim@fluendo.com>
14459
14460         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_alloc_buffer_full),
14461         (gst_pad_push):
14462         Don't leak buffers, caps and pads on negotiation errors.
14463
14464 2006-03-16  Stefan Kost  <ensonic@users.sf.net>
14465
14466         * docs/faq/cvs.xml:
14467         * docs/faq/dependencies.xml:
14468         * docs/faq/developing.xml:
14469         * docs/faq/faq.xml:
14470         * docs/faq/general.xml:
14471         * docs/faq/getting.xml:
14472         * docs/faq/legal.xml:
14473         * docs/faq/troubleshooting.xml:
14474         * docs/faq/using.xml:
14475         Faq review and update.
14476
14477 2006-03-16  Jan Schmidt  <thaytan@mad.scientist.com>
14478
14479         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_alloc_buffer_full),
14480         (gst_pad_push):
14481         Don't pound the cpu to pieces by checking get_caps when accept_caps
14482         is called with the same caps as the pad already has.
14483         Use GST_DEBUG_OBJECT when outputting caps change information.
14484
14485 2006-03-15  Wim Taymans  <wim@fluendo.com>
14486
14487         * gst/gstclock.c: (gst_clock_class_init):
14488         Fix docs.
14489
14490 2006-03-15  Jan Schmidt  <thaytan@mad.scientist.com>
14491
14492         * gst/gstbuffer.h:
14493         Documentation fix.
14494
14495         * gst/gstpad.c: (gst_pad_init), (gst_pad_acceptcaps_default),
14496         (gst_pad_accept_caps), (gst_pad_configure_sink),
14497         (gst_pad_configure_src), (gst_pad_chain), (gst_pad_push):
14498         Make the default acceptcaps behaviour be to check the requested 
14499         caps against the gst_pad_get_caps output. 
14500
14501         Ensure that gst_pad_accept_caps is used to check caps when a pad
14502         doesn't have a setcaps function, so that pads automatically refuse 
14503         caps that they don't allow in their pad template. (Fixes #332986)
14504
14505         When a buffer with attached caps is pushed, ensure that the source 
14506         pad receives those caps even if the element didn't call
14507         gst_pad_set_caps first.
14508
14509 2006-03-15  Wim Taymans  <wim@fluendo.com>
14510
14511         * libs/gst/base/gstadapter.c:
14512         Add some docs.
14513
14514 2006-03-15  Tim-Philipp Müller  <tim at centricular dot net>
14515
14516         * win32/common/libgstbase.def:
14517         * win32/common/libgstcontroller.def:
14518         * win32/common/libgstreamer.def:
14519           Add a whole bunch of missing functions (#334434).
14520
14521 2006-03-14  Wim Taymans  <wim@fluendo.com>
14522
14523         * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment),
14524         (gst_base_sink_get_sync_times), (gst_base_sink_wait_clock),
14525         (gst_base_sink_do_sync), (gst_base_sink_do_qos):
14526         Better debug info when we receive a segment event.
14527         Reorganize a bit so we can pass the get_times() results around.
14528         Use the segment format when calculating the running time.
14529         Don't do QoS is sync is disabled or we have no clock or the
14530         element does not want us to sync to the clock.
14531         Don't drop buffers if QoS is disabled for now.
14532
14533 2006-03-14  Wim Taymans  <wim@fluendo.com>
14534
14535         * gst/gstclock.c: (gst_clock_class_init), (do_linear_regression):
14536         Marked the stats property as unimplemented so people don't get
14537         wild ideas.
14538         Add debug message when regression goes wrong.
14539         Added some more docs.
14540
14541 2006-03-14  Wim Taymans  <wim@fluendo.com>
14542
14543         * gst/gstsegment.c: (gst_segment_to_stream_time):
14544         Return correct return type in case of errors.
14545
14546 2006-03-14  Wim Taymans  <wim@fluendo.com>
14547
14548         * gst/gstformat.c: (gst_format_get_name), (gst_format_to_quark):
14549           Don't segfault on invalid formats.
14550
14551 2006-03-14  Tim-Philipp Müller  <tim at centricular dot net>
14552
14553         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
14554           Can't use gst_segment_to_running_time() when the segment
14555           is not in GST_TIME_FORMAT (like with filesink, for example).
14556           Stops flac encoding pipelines from spewing critical warnings
14557           at EOS (#331248).
14558           
14559 2006-03-14  Tim-Philipp Müller  <tim at centricular dot net>
14560
14561         * gst/gstpipeline.c: (gst_pipeline_class_init):
14562           Add 'Since: 0.10.5' to gtk-doc blurb for added property.
14563
14564         * plugins/elements/gsttypefindelement.c:
14565         (gst_type_find_element_handle_event):
14566           Don't try to typefind empty streams.
14567
14568 2006-03-14  Wim Taymans  <wim@fluendo.com>
14569
14570         * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync),
14571         (gst_base_sink_do_qos):
14572         Separate QoS calculation.
14573         Only drop buffers when lateness is bigger than the 
14574         duration of the buffer.
14575
14576 2006-03-13  Wim Taymans  <wim@fluendo.com>
14577
14578         * gst/gstpipeline.c: (gst_pipeline_set_property),
14579         (gst_pipeline_get_property), (do_pipeline_seek),
14580         (gst_pipeline_change_state), (gst_pipeline_set_delay),
14581         (gst_pipeline_get_delay):
14582         Don't deadlock when reading properties.
14583
14584 2006-03-13  Wim Taymans  <wim@fluendo.com>
14585
14586         * libs/gst/base/gstbasetransform.c:
14587         (gst_base_transform_class_init), (gst_base_transform_init),
14588         (gst_base_transform_sink_event),
14589         (gst_base_transform_sink_eventfunc),
14590         (gst_base_transform_src_event), (gst_base_transform_src_eventfunc),
14591         (gst_base_transform_handle_buffer), (gst_base_transform_chain),
14592         (gst_base_transform_set_property),
14593         (gst_base_transform_get_property),
14594         (gst_base_transform_change_state), (gst_base_transform_update_qos),
14595         (gst_base_transform_set_qos_enabled),
14596         (gst_base_transform_is_qos_enabled):
14597         * libs/gst/base/gstbasetransform.h:
14598         Make basetransform virtual method for src events too.
14599         Handle QOS in basetransform.
14600         API: gst_base_transform_update_qos()
14601         API: gst_base_transform_set_qos_enabled()
14602         API: gst_base_transform_is_qos_enabled()
14603
14604 2006-03-13  Wim Taymans  <wim@fluendo.com>
14605
14606         * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
14607         (gst_base_sink_do_sync):
14608         Small cleanups.
14609         Use QOS debug category.
14610
14611 2006-03-13  Wim Taymans  <wim@fluendo.com>
14612
14613         * plugins/elements/gstqueue.c:
14614         Very small doc update.
14615
14616 2006-03-13  Wim Taymans  <wim@fluendo.com>
14617
14618         * gst/gst_private.h:
14619         * gst/gstinfo.c: (_gst_debug_init):
14620         Added QOS debug category
14621
14622 2006-03-13  Wim Taymans  <wim@fluendo.com>
14623
14624         * docs/gst/gstreamer-sections.txt:
14625         * gst/gstbin.c: (bin_bus_handler), (gst_bin_handle_message_func):
14626         * gst/gstbin.h:
14627         * gst/gstbus.c: (gst_bus_class_init):
14628         * gst/gstbus.h:
14629         * gst/gstclock.c:
14630         * gst/gstelement.c: (gst_element_set_locked_state):
14631         * gst/gstsegment.c:
14632         Documentation updates.
14633
14634         * gst/gstpipeline.c: (gst_pipeline_get_type),
14635         (gst_pipeline_class_init), (gst_pipeline_init),
14636         (gst_pipeline_dispose), (gst_pipeline_set_property),
14637         (gst_pipeline_get_property), (do_pipeline_seek),
14638         (gst_pipeline_send_event), (gst_pipeline_change_state),
14639         (gst_pipeline_provide_clock_func), (gst_pipeline_set_delay),
14640         (gst_pipeline_get_delay):
14641         * gst/gstpipeline.h:
14642         Added methods for setting the delay.
14643         API: gst_pipeline_set_delay()
14644         API: gst_pipeline_get_delay()
14645         Add pipeline debug category
14646         Various cleanups.
14647         Updated docs.
14648         Don't reset stream time when seek failed.
14649
14650 2006-03-13  Wim Taymans  <wim@fluendo.com>
14651
14652         * docs/design/draft-klass.txt:
14653         * docs/design/part-clocks.txt:
14654         * docs/design/part-events.txt:
14655         * docs/design/part-gstbin.txt:
14656         * docs/design/part-gstpipeline.txt:
14657         * docs/design/part-messages.txt:
14658         * docs/design/part-negotiation.txt:
14659         * docs/design/part-overview.txt:
14660         * docs/design/part-preroll.txt:
14661         * docs/design/part-seeking.txt:
14662         * docs/design/part-states.txt:
14663         * docs/design/part-streams.txt:
14664         Documentation updates.
14665
14666 2006-03-12  Julien MOUTTE  <julien@moutte.net>
14667
14668         * gst/gsttaglist.c: Fix rubbish docs that are encouraging
14669         us to leak strings...
14670
14671 2006-03-12  Thomas Vander Stichele  <thomas at apestaart dot org>
14672
14673         * libs/gst/net/gstnettimeprovider.c:
14674           fix docs
14675         * win32/common/config.h:
14676           update
14677
14678 2006-03-12  Tim-Philipp Müller  <tim at centricular dot net>
14679
14680         Patch by: Julio M. Merino Vidal <jmmv at netbsd org>
14681
14682         * configure.ac:
14683           Don't check for libgnomeui (leftover from old examples
14684           that aren't built or disted any longer) (#334303).
14685           
14686 2006-03-11  Tim-Philipp Müller  <tim at centricular dot net>
14687
14688         * plugins/elements/gstfdsink.c: (gst_fd_sink_render):
14689         * plugins/elements/gstfilesink.c: (gst_file_sink_render):
14690           Emit RESOURCE_NO_SPACE_LEFT error here as well when
14691           there's no space left on the device.
14692
14693 2006-03-10  Tim-Philipp Müller  <tim at centricular dot net>
14694
14695         * gst/gstclock.h:
14696           Fix GST_CLOCK_TIME_IS_VALID signedness issues - we need
14697           to cast the input to GstClockTime before comparing with
14698           another GstClockTime value.
14699
14700 2006-03-10  Thomas Vander Stichele  <thomas at apestaart dot org>
14701
14702         * configure.ac:
14703           back to trunk
14704
14705 === release 0.10.4 ===
14706
14707 2006-03-10  Thomas Vander Stichele <thomas at apestaart dot org>
14708
14709         * configure.ac:
14710           releasing 0.10.4, "Light"
14711
14712 2006-03-10  Michael Smith  <msmith@fluendo.com>
14713
14714         * libs/gst/dataprotocol/dataprotocol.c:
14715           Fix docs for dataprocotol to not get the return types completely
14716           wrong for a few functions.
14717
14718 2006-03-09  Tim-Philipp Müller  <tim at centricular dot net>
14719
14720         * docs/gst/gstreamer-sections.txt:
14721         * gst/gstpipeline.c: (gst_pipeline_class_init),
14722         (gst_pipeline_init), (gst_pipeline_set_property),
14723         (gst_pipeline_get_property), (gst_pipeline_change_state),
14724         (gst_pipeline_set_auto_flush_bus),
14725         (gst_pipeline_get_auto_flush_bus):
14726         * gst/gstpipeline.h:
14727           Add new API: gst_pipeline_set_auto_flush_bus() and
14728           gst_pipeline_get_auto_flush_bus() to disable automatic
14729           flushing of the pipeline's GstBus when going from READY
14730           to NULL state (#332045).
14731
14732 2006-03-09  Tim-Philipp Müller  <tim at centricular dot net>
14733
14734         * docs/gst/gstreamer-sections.txt:
14735         * gst/gsturi.c: (gst_uri_has_protocol):
14736         * gst/gsturi.h:
14737            Add new API: gst_uri_has_protocol() (#333779).
14738
14739 2006-03-09  Wim Taymans  <wim@fluendo.com>
14740
14741         * gst/gstclock.c: (gst_clock_entry_new),
14742         (gst_clock_id_compare_func), (gst_clock_id_wait),
14743         (gst_clock_id_wait_async), (gst_clock_id_unschedule),
14744         (gst_clock_init), (gst_clock_get_internal_time),
14745         (gst_clock_set_master), (do_linear_regression),
14746         (gst_clock_add_observation), (gst_clock_set_property):
14747         * gst/gstclock.h:
14748         Review docs.
14749         Small cleanups.
14750         Fix a possible segfault when the window-size is made smaller.
14751         Calculate jitter before performing the clock wait. Ideally
14752         the clock implementation should calculate jitter but we need
14753         API breakage for that.
14754
14755         * gst/gstsystemclock.c: (gst_system_clock_init):
14756         Docs review.
14757         
14758         * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync):
14759         Remove leftover else
14760
14761         * tests/check/gst/gstsystemclock.c: (GST_START_TEST),
14762         (gst_systemclock_suite):
14763         Added check to test GST_CLOCK_DIFF.
14764
14765 2006-03-09  Tim-Philipp Müller  <tim at centricular dot net>
14766
14767         * libs/gst/base/gsttypefindhelper.c: (helper_find_get_length),
14768         (gst_type_find_helper_get_range):
14769           If we are provided with the size, we should implement
14770           GstTypeFind::get_length, so that typefind functions who
14771           want to can actually peek at the middle of a file.
14772
14773 2006-03-08  Tim-Philipp Müller  <tim at centricular dot net>
14774
14775         * docs/manual/advanced-dataaccess.xml:
14776           Add some very very basic error checking.
14777
14778         * docs/pwg/appendix-checklist.xml:
14779           Some updates to the list of things to check when writing an element.
14780
14781 2006-03-08  Wim Taymans  <wim@fluendo.com>
14782
14783         * docs/design/part-element-transform.txt:
14784         Added some docs about the design of tranform elements.
14785
14786         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
14787         (gst_base_src_loop), (gst_base_src_change_state):
14788         Mark buffers with the DISCONT flag.
14789
14790 2006-03-08  Michael Smith  <msmith@fluendo.com>
14791
14792         * gst/gstregistry.h:
14793         * gst/gstregistryxml.c: (gst_registry_save),
14794         (gst_registry_save_escaped), (gst_registry_xml_save_caps),
14795         (gst_registry_xml_save_pad_template),
14796         (gst_registry_xml_save_feature), (gst_registry_xml_save_plugin),
14797         (gst_registry_xml_write_cache):
14798           Rewrite registry-saving to avoid race conditions and check for
14799           failed writes.
14800
14801 2006-03-08  Wim Taymans  <wim@fluendo.com>
14802
14803         * libs/gst/base/gstbasetransform.c:
14804         (gst_base_transform_transform_caps),
14805         (gst_base_transform_transform_size),
14806         (gst_base_transform_prepare_output_buffer),
14807         (gst_base_transform_get_unit_size),
14808         (gst_base_transform_buffer_alloc),
14809         (gst_base_transform_handle_buffer),
14810         (gst_base_transform_change_state):
14811         Cleanups, separate normal flow from errors, add sensible
14812         DEBUG lines.
14813         Don't try to renegotiate when allocating an output buffer.
14814         Also copy DISCONT buffer flag when copying a buffer.
14815         Reset the transform after we finish streaming, not during.
14816
14817 2006-03-08  Wim Taymans  <wim@fluendo.com>
14818
14819         * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync):
14820         Use last buffer timestamp in qos message.
14821
14822 2006-03-07  Wim Taymans  <wim@fluendo.com>
14823
14824         Patch by: Christophe Fergeau
14825
14826         * docs/pwg/advanced-tagging.xml:
14827         * docs/pwg/building-pads.xml:
14828           fixes #333416
14829
14830 2006-03-07  Wim Taymans  <wim@fluendo.com>
14831
14832         * docs/libs/gstreamer-libs-sections.txt:
14833         Added basesink new methods.
14834
14835         * gst/gstevent.c:
14836         * gst/gstevent.h:
14837         Docs updates. Flesh out the QoS docs.
14838
14839         * libs/gst/base/gstadapter.c:
14840         Small doc clarification about ownership and flushing.
14841
14842         * libs/gst/base/gstbasesink.c: (gst_base_sink_set_sync),
14843         (gst_base_sink_get_sync), (gst_base_sink_set_max_lateness),
14844         (gst_base_sink_get_max_lateness), (gst_base_sink_set_property),
14845         (gst_base_sink_get_property), (gst_base_sink_do_sync):
14846         * libs/gst/base/gstbasesink.h:
14847         API additions: 
14848         Added new methods to allow subclass to control max-lateness 
14849         and sync.
14850         Generate very basic QoS events based on last sync observation.
14851         Updated docs, fix typo, added some QoS blurb.
14852
14853         * libs/gst/base/gstbasesrc.c:
14854         Remove obsolete _get_state() calls from docs.
14855
14856 2006-03-07  Wim Taymans  <wim@fluendo.com>
14857
14858         * docs/libs/gstreamer-libs-sections.txt:
14859         * libs/gst/base/gstbasetransform.h:
14860         API addition: Fix #333669, Add pad accessor defines for GstBaseTransform
14861         Fix docs for GstBaseSrc.
14862
14863 2006-03-07  Wim Taymans  <wim@fluendo.com>
14864
14865         * docs/gst/gstreamer-sections.txt:
14866         * gst/gstbuffer.h:
14867         * gst/gstvalue.c:
14868         * libs/gst/base/gstbasetransform.h:
14869         Small documentation fixes.
14870
14871 2006-03-07  Tim-Philipp Müller  <tim at centricular dot net>
14872
14873         * gst/gstvalue.c:
14874           Document thread-unsafety of gst_value_register_foo_func()
14875           when used at the same time as gst_value_foo() (#322628).
14876
14877 2006-03-07  Tim-Philipp Müller  <tim at centricular dot net>
14878
14879         * libs/gst/base/gstpushsrc.c: (gst_push_src_class_init),
14880         (gst_push_src_check_get_range):
14881           Push sources don't support pull mode by default.
14882
14883 2006-03-06  Tim-Philipp Müller  <tim at centricular dot net>
14884
14885         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
14886         (gst_base_src_init), (gst_base_src_pad_check_get_range),
14887         (gst_base_src_default_check_get_range):
14888         * libs/gst/base/gstbasesrc.h:
14889           API addition:  Add ::check_get_range() vfunc to GstBaseSrc (#332611),
14890           provide default implementation, and rename
14891           gst_base_src_check_get_range() to
14892           gst_base_src_pad_check_get_range() for clarity.
14893
14894 2006-03-06  Wim Taymans  <wim@fluendo.com>
14895
14896         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
14897         Make property overridable.
14898
14899 2006-03-06  Wim Taymans  <wim@fluendo.com>
14900
14901         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
14902         (gst_base_sink_init), (gst_base_sink_set_property),
14903         (gst_base_sink_get_property), (gst_base_sink_do_sync):
14904         * libs/gst/base/gstbasesink.h:
14905         API addition: Make max-lateness a property.
14906
14907 2006-03-06  Wim Taymans  <wim@fluendo.com>
14908
14909         * libs/gst/base/gstbasesink.c: (gst_base_sink_wait_clock),
14910         (gst_base_sink_do_sync), (gst_base_sink_render_object):
14911         Don't ever draw a frame that is >10ms late.
14912
14913 2006-03-06  Michael Smith  <msmith@fluendo.com>
14914
14915         * gst/gstmessage.c: (_gst_message_copy):
14916           When copying a message, set the parent_refcount of the enclosed
14917           structure to point at the copy, not the original message.
14918
14919 2006-03-06  Tim-Philipp Müller  <tim at centricular dot net>
14920
14921         Patch by: Christophe Fergeau
14922
14923         * gst/gstutils.h:
14924           Do proper cast here to make GST_BOILERPLATE_WITH_INTERFACE
14925           usable in c++ code (#333417)
14926
14927 2006-03-06  Thomas Vander Stichele  <thomas at apestaart dot org>
14928
14929         * gst/gstclock.h:
14930           Show GST_CLOCK_TIME_NONE as 99:99:99.999999999
14931
14932 2006-03-05  Tim-Philipp Müller  <tim at centricular dot net>
14933
14934         * libs/gst/base/gstbasetransform.c:
14935         (gst_base_transform_transform_caps):
14936           Make sure caps are writable before passing them to
14937           gst_caps_append().
14938
14939 2006-03-04  Tim-Philipp Müller  <tim at centricular dot net>
14940
14941         * gst/gsterror.h:
14942           Fix some minor docs errors.
14943
14944 2006-03-04  Tim-Philipp Müller  <tim at centricular dot net>
14945
14946           Patch by: Ross Burton <ross at burtonini dot com>
14947
14948         * gst/gsterror.c: (_gst_resource_errors_init):
14949         * gst/gsterror.h:
14950           Add GST_RESOURCE_ERROR_NO_SPACE_LEFT (for #333352;
14951
14952 2006-03-03  Jan Schmidt  <thaytan@mad.scientist.com>
14953
14954         * gst/gst.c:
14955         Add a check and output a g_warning when GStreamer is built
14956         against GLib 2.6 but running against 2.8 or higher, and vice 
14957         versa. (Closes: #323542)
14958
14959 2006-03-03  Jan Schmidt  <thaytan@mad.scientist.com>
14960
14961         * gst/parse/parse.l:
14962           Commit patch for parse_launch syntax from #331255. Removes 
14963           support for quoted strings and mimetypes when writing filtered 
14964           caps. See the bug report for more details - I'm pretty sure this
14965           obscure feature is not in use by _anyone_ anywhere.
14966
14967           With this simple change, the size of the gstreamer.so here 
14968           drops from 2193KB to 1565KB.
14969
14970 2006-03-03  Tim-Philipp Müller  <tim at centricular dot net>
14971
14972         * plugins/elements/gsttypefindelement.h:
14973         * plugins/elements/gsttypefindelement.c:
14974         (gst_type_find_element_src_event), (start_typefinding),
14975         (stop_typefinding), (gst_type_find_element_handle_event),
14976         (gst_type_find_element_chain),
14977         (gst_type_find_element_chain_do_typefinding):
14978           Use gst_type_find_helper_for_buffer() for chain-based
14979           typefinding.
14980
14981 2006-03-03  Tim-Philipp Müller  <tim at centricular dot net>
14982
14983         * plugins/elements/gsttypefindelement.c:
14984         (gst_type_find_element_class_init),
14985         (gst_type_find_element_set_property),
14986         (gst_type_find_element_get_property):
14987           Deprecate "maximum" property (not only was it only taken into
14988           account for typefinding in push-mode anyway, it also was never
14989           actually possible to set it in the first place because the
14990           property was registered with the numeric property ID for the
14991           "minimum" property). Register "maximum" property correctly,
14992           for the sake of future copy'n'pasters. Remove some cruft
14993           from property get/set functions.
14994
14995 2006-03-03  Tim-Philipp Müller  <tim at centricular dot net>
14996
14997         * plugins/elements/gsttypefindelement.c:
14998         (gst_type_find_element_activate):
14999           Use gst_type_find_helper_get_range() here, so we
15000           can honour the "minimum" property and also emit
15001           the signal with the correct probability of the found caps.
15002
15003 2006-03-02  Tim-Philipp Müller  <tim at centricular dot net>
15004
15005         * docs/libs/gstreamer-libs-sections.txt:
15006         * libs/gst/base/gsttypefindhelper.c: (helper_find_peek),
15007         (helper_find_suggest), (gst_type_find_helper_get_range),
15008         (gst_type_find_helper):
15009         * libs/gst/base/gsttypefindhelper.h:
15010           New API: gst_type_find_helper_get_range() (#333042).
15011
15012 2006-03-02  Michael Smith  <msmith@fluendo.com>
15013
15014         * gst/gstregistryxml.c: (load_feature):
15015           Asserting on a failure to read part of the registry is Not Cool.
15016           Just log a warning and return NULL (which is already handled)
15017
15018 2006-02-28  Sebastien Moutte  <sebastien@moutte.net>
15019
15020         * win32/common/libgstbase.def:
15021           added export of gst_type_find_helper_for_buffer
15022         * win32/common/libgstbase.def:
15023           added some exports : gst_bin_iterate_elements, gst_iterator_resync,
15024           gst_ghost_pad_get_target
15025
15026 2006-02-28  Wim Taymans  <wim@fluendo.com>
15027
15028         * docs/design/draft-klass.txt:
15029         We use Filter now.
15030         Added Connector to mark elements that are only used to
15031         allow pipeline connections.
15032         Moved Debug to extra feature since most of them are 
15033         functionally something else.
15034
15035 2006-02-28  Wim Taymans  <wim@fluendo.com>
15036
15037         * docs/design/draft-klass.txt:
15038         Some updates and clarifications.
15039
15040 2006-02-28  Wim Taymans  <wim@fluendo.com>
15041
15042         * docs/design/draft-klass.txt:
15043         Proposal for klass field values.
15044
15045         * docs/design/part-streams.txt:
15046         Start of a doc describing stream anatomy.
15047
15048 2006-02-28  Wim Taymans  <wim@fluendo.com>
15049
15050         * gst/gstbin.c: (gst_bin_get_type), (gst_bin_handle_message_func):
15051         Help the compiler a bit with type registration.
15052         Use existing forward cod path instead of duplicating it when 
15053         handling a message.
15054         
15055         * gst/gstbus.c: (gst_bus_get_type):
15056         * gst/gstcaps.c: (gst_caps_get_type), (gst_static_caps_get_type):
15057         * gst/gstchildproxy.c: (gst_child_proxy_get_type):
15058         * gst/gstclock.c: (gst_clock_get_type):
15059         * gst/gstelement.c: (gst_element_get_type),
15060         * gst/gstelementfactory.c: (gst_element_factory_get_type):
15061         * gst/gstindexfactory.c: (gst_index_factory_get_type):
15062         * gst/gstminiobject.c: (gst_mini_object_get_type):
15063         * gst/gstpad.c: (gst_pad_get_type):
15064         * gst/gstsegment.c: (gst_segment_get_type):
15065         * gst/gststructure.c: (gst_structure_get_type):
15066         * gst/gstsystemclock.c: (gst_system_clock_get_type):
15067         * gst/gsttask.c: (gst_task_get_type), (gst_task_join):
15068         * gst/gstvalue.c:
15069         Help compiler with type registration.
15070
15071         * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event):
15072         Small doc update.
15073
15074 2006-02-27  Tim-Philipp Müller  <tim at centricular dot net>
15075
15076         * plugins/elements/gsttypefindelement.c:
15077         (gst_type_find_element_handle_event):
15078           When we get an EOS event and have not found a type yet
15079           (most likely because we had not yet accumulated
15080           TYPE_FIND_MIN_SIZE of data yet), try to determine the
15081           type given the data we have so far. Fixes typefinding
15082           for very short streams again, most notably quicktime
15083           redirections as used on Apple's trailer site (#331701).
15084
15085 2006-02-27  Tim-Philipp Müller  <tim at centricular dot net>
15086
15087         * libs/gst/base/gsttypefindhelper.c: (type_find_factory_rank_cmp),
15088         (gst_type_find_helper):
15089           Try typefinding factories with the highest rank first.
15090
15091 2006-02-27  Tim-Philipp Müller  <tim at centricular dot net>
15092
15093         * docs/libs/gstreamer-libs-docs.sgml:
15094         * docs/libs/gstreamer-libs-sections.txt:
15095         * libs/gst/base/gsttypefindhelper.c:
15096           Add section for typefind helper and add documentation
15097           for the old and the new function.
15098
15099 2006-02-27  Tim-Philipp Müller  <tim at centricular dot net>
15100
15101         * libs/gst/base/gsttypefindhelper.c: (buf_helper_find_peek),
15102         (buf_helper_find_suggest), (type_find_factory_rank_cmp),
15103         (gst_type_find_helper_for_buffer):
15104         * libs/gst/base/gsttypefindhelper.h:
15105           New API: gst_type_find_helper_for_buffer() (#332723).
15106           
15107 2006-02-27  Michael Smith  <msmith@fluendo.com>
15108
15109         Patch by: Loïc Minier
15110
15111         * configure.ac:
15112         * docs/Makefile.am:
15113         * docs/slides/Makefile.am:
15114           prevent CVS directories getting disted.
15115
15116 2006-02-27  Tim-Philipp Müller  <tim at centricular dot net>
15117
15118         * gst/gstcaps.c: (gst_caps_ref), (gst_caps_unref):
15119           Use the REFCOUNTING category for caps refcounting.
15120           
15121 2006-02-26  Tim-Philipp Müller  <tim at centricular dot net>
15122
15123         * plugins/elements/gsttypefindelement.c: (stop_typefinding):
15124           This should be 0 not GST_CLOCK_TIME_NONE (see #331701).
15125
15126 2006-02-26  Tim-Philipp Müller  <tim at centricular dot net>
15127
15128         * plugins/elements/gsttypefindelement.c:
15129         (gst_type_find_element_activate):
15130           Use gst_pad_check_pull_range() before _activate_pull()
15131           to avoid unnecessary open/close (see #331690).
15132
15133 2006-02-24  Tim-Philipp Müller  <tim at centricular dot net>
15134
15135         * gst/gstutils.c:
15136           Docs enhancement: make it crystal clear what the
15137           gst_pad_add_*_probe() callbacks should look like.
15138
15139 2006-02-24  Tim-Philipp Müller  <tim at centricular dot net>
15140
15141         * libs/gst/base/gstbasesrc.c:
15142           Document how applications can stop recording from
15143           live sources (see #330996).
15144
15145 2006-02-23  Tim-Philipp Müller  <tim at centricular dot net>
15146
15147         * tests/check/Makefile.am:
15148         * tests/check/libs/basesrc.c: (eos_event_counter),
15149         (basesrc_eos_events_pull), (basesrc_eos_events_push),
15150         (basesrc_eos_events_push_live_op), (basesrc_eos_events_pull_live_op),
15151         (gst_basesrc_suite), (main):
15152           ... and add some tests for the base source EOS stuff.
15153
15154 2006-02-23  Tim-Philipp Müller  <tim at centricular dot net>
15155
15156         * tests/check/gst/gstutils.c: (test_buffer_probe_n_times):
15157           Test case originally showed the problem fixed below,
15158           but was then amended. Add checks back at the place
15159           where they used to be.
15160
15161 2006-02-23  Tim-Philipp Müller  <tim at centricular dot net>
15162
15163         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
15164         (gst_base_src_init), (gst_base_src_loop),
15165         (gst_base_src_activate_push), (gst_base_src_activate_pull),
15166         (gst_base_src_change_state):
15167         * libs/gst/base/gstbasesrc.h:
15168           Don't unconditionally send EOS when going from PAUSED to
15169           READY state, esp. make sure we don't send two EOS events
15170           in some cases (e.g. one when reaching EOS and one when
15171           going from PAUSED to READY). Also, we don't want to send
15172           EOS events when operating in pull mode. However, we do
15173           want to send an EOS event when shutting down a live
15174           source explicitly, for example (fixes #330996).
15175           
15176 2006-02-23  Tim-Philipp Müller  <tim at centricular dot net>
15177
15178         * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
15179           Update src->read_position after a seek when not using mmap.
15180           Fixes #332277, patch by: Renchi Raju <renchi gmail com>
15181
15182 2006-02-21  Jan Schmidt  <thaytan@mad.scientist.com>
15183
15184         * gst/Makefile.am:
15185         * gst/gstparse.h:
15186         * gst/gstutils.c:
15187         * gst/gstutils.h:
15188         Make things work with --disable-parse as they do with 
15189         --disable-load-save - the symbols involved disappear, but the
15190         header is still installed and GST_DISABLE_PARSE is included via
15191         gstconfig.h
15192
15193 2006-02-20  Julien MOUTTE  <julien@moutte.net>
15194
15195         * libs/gst/base/gstbasetransform.c:
15196         (gst_base_transform_change_state): Fix a stupid bug. I was 
15197         sure I compiled that.
15198
15199 2006-02-20  Julien MOUTTE  <julien@moutte.net>
15200
15201         * gst/gstpad.c: (gst_pad_set_blocked_async):
15202         * gst/gstutils.c: (gst_pad_add_data_probe),
15203         (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
15204         (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
15205         (gst_pad_remove_buffer_probe): Make those function act on the
15206         ghostpad target when it's a ghostpad. (Closes #331727)
15207
15208 2006-02-20  Julien MOUTTE  <julien@moutte.net>
15209
15210         * libs/gst/base/gstbasetransform.c:
15211         (gst_base_transform_change_state): Make basetransform reusable.
15212         (Closes #331898)
15213
15214 2006-02-20  Jan Schmidt  <thaytan@mad.scientist.com>
15215
15216         * docs/random/release:
15217         Move the current documentation of how to do a release to the top
15218         of the file.
15219
15220         * gst/gstbin.c: (gst_bin_class_init),
15221         (gst_bin_handle_message_func):
15222         Allow multiple state-recalculation threads. (Closes #328873)
15223
15224 2006-02-19  Julien MOUTTE  <julien@moutte.net>
15225
15226         * gst/gstinfo.h: Add GST_STR_NULL to the second string.
15227         * gst/gstpad.c: (gst_pad_set_event_function),
15228         (gst_pad_set_query_function), (gst_pad_set_query_type_function),
15229         (gst_pad_set_getcaps_function): GST_DEBUG_PAD_NAME evaluates to
15230         2 strings. You can't use the STR_NULL macro on that.
15231
15232 2006-02-19  Sebastien Moutte <sebastien@moutte.net>
15233
15234         * gst/gstpad.c: (gst_pad_set_event_function),
15235         (gst_pad_set_query_function), (gst_pad_set_query_type_function),
15236         (gst_pad_set_getcaps_function)
15237         * gst/parse/grammar.y: (gst_parse_found_pad), (gst_parse_perform_delayed_link)
15238           Fixed NULL pointer used in GST_CAT_DEBUG using GST_STR_NULL macro
15239           So now, we can use --gst-debug-level=5 on Windows
15240         * win32/common/libgstcontroller.def:
15241           Added export of gst_controller_init
15242         * win32/vs6/libgstcontroller.dsp:
15243           Fixed Release post build configuration
15244
15245 2006-02-17  Wim Taymans  <wim@fluendo.com>
15246
15247         * tests/check/gst/gstquery.c: (GST_START_TEST):
15248         Added another check.
15249
15250 2006-02-15  Tim-Philipp Müller  <tim at centricular dot net>
15251
15252         * plugins/elements/gsttypefindelement.c: (find_peek):
15253           We can do peeks at non-zero offsets, as long as they
15254           fall within the buffer we have.
15255
15256 2006-02-15  Jan Schmidt  <thaytan@mad.scientist.com>
15257
15258         * tests/check/Makefile.am:
15259         * tests/check/pipelines/parse-launch.c: (setup_pipeline),
15260         (expected_fail_pipe), (check_pipeline_runs), (GST_START_TEST),
15261         (parse_suite), (main):
15262           Add testsuite for parse launch syntax
15263
15264 2006-02-14  Tim-Philipp Müller  <tim at centricular dot net>
15265
15266         * plugins/elements/gsttypefindelement.c:
15267         (gst_type_find_element_chain):
15268           When typefinding is unsuccessful in the chain function, don't
15269           error out immediately. Only error out with NO_CAPS_FOUND if
15270           the amount of data is at least MAX_TYPEFIND_SIZE bytes,
15271           otherwise simply wait for more data so we can try typefinding
15272           again with more data later. Also, don't attempt to typefind
15273           if we have less than MIN_TYPEFIND_SIZE data available. Overall,
15274           this should improve typefinding from network sources where the
15275           size of the first buffer can be somewhat random.
15276
15277 2006-02-14  Wim Taymans  <wim@fluendo.com>
15278
15279         * docs/gst/gstreamer-sections.txt:
15280         * gst/gstpadtemplate.c:
15281         * gst/gstpadtemplate.h:
15282         Fix padtemplate docs, fixes #328805.
15283
15284 2006-02-14  Wim Taymans  <wim@fluendo.com>
15285
15286         * tools/gst-launch.c: (main):
15287         NO_PREROLL is not an ERROR so don't send confusing messages
15288         to the user.
15289
15290 2006-02-14  Wim Taymans  <wim@fluendo.com>
15291
15292         Patch by: Torsten Schoenfeld
15293
15294         * gst/gstregistry.c: (gst_registry_get_default),
15295         (_gst_registry_cleanup):
15296         Protect default registry with lock and ref/sink it.
15297         Fixes #324818
15298
15299 2006-02-14  Wim Taymans  <wim@fluendo.com>
15300
15301         * gst/gstbuffer.c:
15302         * gst/gstquery.c: (gst_query_list_add_format),
15303         (gst_query_set_formatsv), (gst_query_parse_formats_length),
15304         (gst_query_parse_formats_nth):
15305         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
15306         Docs fixes.
15307
15308 2006-02-14  Wim Taymans  <wim@fluendo.com>
15309
15310         * docs/gst/gstreamer-sections.txt:
15311         Reworked query docs.
15312
15313         * gst/gstquery.c: (gst_query_new_formats),
15314         (gst_query_list_add_format), (gst_query_set_formats),
15315         (gst_query_set_formatsv), (gst_query_parse_formats_length),
15316         (gst_query_parse_formats_nth):
15317         * gst/gstquery.h:
15318         Flesh out formats query, added some new methods.
15319         Fix part of #324398.
15320
15321         * tests/check/gst/gstquery.c: (GST_START_TEST), (gstquery_suite):
15322         Added query creation tests.
15323
15324 2006-02-14  Jan Schmidt  <thaytan@mad.scientist.com>
15325
15326         * gst/gstpad.c: (fixate_value):
15327         Add a default fixation for fraction lists.
15328
15329 2006-02-13  Wim Taymans  <wim@fluendo.com>
15330
15331         * gst/gsttask.c: (gst_task_init), (gst_task_func),
15332         (gst_task_set_lock), (gst_task_start), (gst_task_pause),
15333         (gst_task_join):
15334         * gst/gsttask.h:
15335         Detect and warn for obvious deadlocks. fixes #320340
15336         Fix error case where lock was not released.
15337
15338         * tests/check/Makefile.am:
15339         * tests/check/gst/gsttask.c: (task_func2), (GST_START_TEST),
15340         (task_func), (gst_element_suite), (main):
15341         Add task check.
15342
15343 2006-02-13  Wim Taymans  <wim@fluendo.com>
15344
15345         * docs/gst/gstreamer-sections.txt:
15346         * gst/gstbus.c:
15347         Add new functions to docs.
15348
15349 2006-02-13  Wim Taymans  <wim@fluendo.com>
15350
15351         * docs/design/part-TODO.txt:
15352         Updated TODO list, basesrc supports seeking to non-bytes
15353         formats.
15354
15355         * docs/design/part-element-sink.txt:
15356         Update docs.
15357
15358         * gst/gstbin.c: (bin_replace_message),
15359         (gst_bin_handle_message_func):
15360         * gst/gstbus.c: (gst_bus_post), (gst_bus_pop):
15361         * gst/gstevent.c: (gst_event_finalize):
15362         * gst/gstpad.c: (gst_pad_event_default_dispatch),
15363         (gst_pad_send_event):
15364         Use shiny new _TYPE_NAME macros.
15365
15366         * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range):
15367         Move debug statement up.
15368
15369         * gst/gstelement.c: (gst_element_set_locked_state):
15370         Add some debugging.
15371
15372 2006-02-13  Tim-Philipp Müller  <tim at centricular dot net>
15373
15374         * docs/gst/gstreamer-sections.txt:
15375         * gst/gstmessage.h:
15376         * gst/gstquery.h:
15377           New API: add GST_MESSAGE_TYPE_NAME and GST_QUERY_TYPE_NAME
15378           macros (#330906). Also, document the already existing
15379           GST_QUERY_TYPE macro.
15380
15381 2006-02-13  Wim Taymans  <wim@fluendo.com>
15382
15383         * tests/check/gst/gstutils.c: (data_probe), (buffer_probe),
15384         (event_probe), (GST_START_TEST):
15385         Only events up to the pipeline EOS are counted, there are
15386         some more when going to NULL currently which we don't care
15387         about for now.
15388
15389 2006-02-13  Wim Taymans  <wim@fluendo.com>
15390
15391         * gst/gstpad.c: (gst_pad_send_event):
15392         Correctly check flushing and emit probes. fixes #330125
15393
15394 2006-02-10  Andy Wingo  <wingo@pobox.com>
15395
15396         * gst/gstbus.c (gst_bus_class_init): Declare our private data
15397         structure.
15398         (gst_bus_init): Cache the location of the private data in the
15399         instance structure.
15400         (gst_bus_enable_sync_message_emission) 
15401         (gst_bus_disable_sync_message_emission): Implement new public
15402         functions.
15403         (gst_bus_post): Emit the sync-message signal if the user asked for
15404         it. Fixes #330684.
15405
15406         * gst/gstbus.h (GstBus): Use a padding pointer to cache the
15407         location of the bus-private structure.
15408         (gst_bus_enable_sync_message_emission)
15409         (gst_bus_disable_sync_message_emission): API addition
15410
15411 2006-02-10  Jan Schmidt  <thaytan@mad.scientist.com>
15412
15413         Patch by: Vincent Torri
15414
15415         * docs/pwg/building-boiler.xml:
15416         PWG patch from #326800
15417
15418 2006-02-09  Tim-Philipp Müller  <tim at centricular dot net>
15419
15420         * configure.ac:
15421         * docs/Makefile.am:
15422         * docs/design/Makefile.am:
15423           Dist design docs.
15424
15425 2006-02-08  Jan Schmidt  <thaytan@mad.scientist.com>
15426
15427         * configure.ac:
15428           back to CVS
15429
15430 === release 0.10.3 ===
15431
15432 2006-02-08  Jan Schmidt <thaytan@mad.scientist.com>
15433
15434         * configure.ac:
15435           releasing 0.10.3, "Like a virgin"
15436
15437 2006-02-08  Jan Schmidt  <thaytan@mad.scientist.com>
15438
15439         * configure.ac:
15440           2nd prerelease of 0.10.3
15441           Bump libtool versioning.
15442
15443 2006-02-07  Andy Wingo  <wingo@pobox.com>
15444
15445         * libs/gst/base/gstcollectpads.c (gst_collect_pads_chain): Only
15446         update last_stop if we're in TIME format and the timestamp is
15447         valid.
15448
15449         * libs/gst/base/gstcollectpads.c (gst_collect_pads_event) 
15450         * libs/gst/base/gstbasetransform.c (gst_base_transform_eventfunc): 
15451         * libs/gst/base/gstbasesink.c (gst_base_sink_configure_segment):
15452         If we get a new newsegment with a different format, adapt
15453         accordingly.
15454
15455         * gst/gstclock.c (gst_clock_set_calibration): Accept a numerator
15456         of 0. Not a problem, really.
15457
15458         * libs/gst/base/gstbasesink.c (gst_base_sink_chain_unlocked): Only
15459         warn if sync=true.
15460
15461 2006-02-06  Jan Schmidt  <thaytan@mad.scientist.com>
15462
15463         * configure.ac:
15464           Prelease of 0.10.3
15465
15466 2006-02-06  Sebastien Moutte  <sebastien@moutte.net>
15467
15468         * win32/vs7:
15469           project files updated to the default vs7 configuration
15470         * win32/common/libgstbase.def:
15471         * win32/common/libgstreamer.def:
15472           added new symbols,
15473           removed empty lines,
15474           sorted all exported symbols alphabetically
15475         * win32/common/dirent.c:
15476         * win32/common/dirent.h:
15477         * win32/common/gchar.h:
15478           use windows line end.
15479           
15480 2006-02-06  Tim-Philipp Müller  <tim at centricular dot net>
15481
15482         * libs/gst/base/gstbasesrc.c: (gst_base_src_change_state):
15483           Send EOS event when stopping.
15484
15485 2006-02-06  Tim-Philipp Müller  <tim at centricular dot net>
15486
15487         * docs/README:
15488           Tell folks what to do if the plugin-foobar.xml file
15489           hasn't been generated for a newly-added plugin.
15490
15491 2006-02-05  Julien MOUTTE  <julien@moutte.net>
15492
15493         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
15494         (gst_collect_pads_add_pad), (gst_collect_pads_remove_pad),
15495         (gst_collect_pads_start), (gst_collect_pads_stop),
15496         (gst_collect_pads_event): Collectpads now holds a reference
15497         to the GstPad that was added. Indeed we don't want to look
15498         at pads that might just go away with no warning...
15499
15500 2006-02-05  Julien MOUTTE  <julien@moutte.net>
15501
15502         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
15503         (gst_collect_pads_start), (gst_collect_pads_stop),
15504         (gst_collect_pads_event), (gst_collect_pads_chain):
15505         * libs/gst/base/gstcollectpads.h: Handle flush. Adapted from
15506         Mark Nauwelaerts's patch on bug #328491.
15507
15508 2006-02-04  Tim-Philipp Müller  <tim at centricular dot net>
15509
15510         * tests/check/gst/gstutils.c: (test_parse_bin_from_description),
15511         (gst_utils_suite):
15512           Add some simple tests for gst_parse_bin_from_description() and
15513           gst_bin_find_unconnected_pad() (#329069).
15514
15515 2006-02-04  Tim-Philipp Müller  <tim at centricular dot net>
15516
15517         * tools/gst-launch.c: (event_loop), (main):
15518           Catch errors during preroll (#320084).
15519
15520 2006-02-03  Tim-Philipp Müller  <tim at centricular dot net>
15521
15522         * plugins/elements/gsttypefindelement.c:
15523         (gst_type_find_element_activate):
15524           Post TYPE_NOT_FOUND error message when typefinding
15525           is unsuccessful in the activate function as well.
15526
15527 2006-02-02  Wim Taymans  <wim@fluendo.com>
15528
15529         * docs/design/part-element-sink.txt:
15530         Updated doc.
15531
15532 2006-02-02  Wim Taymans  <wim@fluendo.com>
15533
15534         * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync),
15535         (gst_base_sink_render_object),
15536         (gst_base_sink_queue_object_unlocked):
15537         Only keep track of prerollable items when we are 
15538         prerolling.
15539         Before rendering after preroll, always check if we
15540         have queued items.
15541         Added some more debugging.
15542
15543 2006-02-02  Wim Taymans  <wim@fluendo.com>
15544
15545         * gst/gstelement.c: (gst_element_continue_state),
15546         (gst_element_set_state_func), (gst_element_change_state):
15547         Fixed #326576, been running this for quite some time with
15548         no regressions at all.
15549
15550 2006-02-02  Wim Taymans  <wim@fluendo.com>
15551
15552         * common/gst.supp:
15553         Added more suppressions
15554
15555 2006-02-02  Wim Taymans  <wim@fluendo.com>
15556
15557         * docs/design/part-element-sink.txt:
15558         Updated document.
15559
15560         * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
15561         (gst_base_sink_finalize), (gst_base_sink_preroll_queue_flush),
15562         (gst_base_sink_configure_segment), (gst_base_sink_commit_state),
15563         (gst_base_sink_get_sync_times), (gst_base_sink_wait_clock),
15564         (gst_base_sink_do_sync), (gst_base_sink_render_object),
15565         (gst_base_sink_preroll_object),
15566         (gst_base_sink_queue_object_unlocked),
15567         (gst_base_sink_queue_object), (gst_base_sink_event),
15568         (gst_base_sink_chain_unlocked), (gst_base_sink_chain),
15569         (gst_base_sink_loop), (gst_base_sink_activate_pull),
15570         (gst_base_sink_get_position), (gst_base_sink_change_state):
15571         * libs/gst/base/gstbasesink.h:
15572         Totally refactored matching the design doc.
15573         Use two segments, one to clip incomming buffers and another to
15574         perform sync.
15575         Handle queueing correctly, bypass the queue when playing.
15576         Make EOS cancelable.
15577         Handle errors correctly when operating in pull based mode.
15578
15579         * tests/check/elements/fakesink.c: (GST_START_TEST),
15580         (fakesink_suite):
15581         Added new check for sinks.
15582
15583 2006-02-02  Wim Taymans  <wim@fluendo.com>
15584
15585         * gst/gstsegment.c: (gst_segment_clip):
15586         No reason to refuse to clip when start == -1
15587
15588 2006-02-02  Stefan Kost  <ensonic@users.sf.net>
15589
15590         * docs/README:
15591         * docs/manual/intro-basics.xml:
15592         * docs/manual/intro-preface.xml:
15593         * docs/manual/manual.xml:
15594         * docs/pwg/advanced-dparams.xml:
15595         * docs/pwg/intro-basics.xml:
15596         * docs/pwg/intro-preface.xml:
15597         * docs/pwg/pwg.xml:
15598           describe dparams (controller) for plugins
15599           unify docs a little more
15600
15601 2006-02-02  Tim-Philipp Müller  <tim at centricular dot net>
15602
15603         * docs/gst/gstreamer-sections.txt:
15604         * gst/gstutils.c: (element_find_unconnected_pad),
15605         (gst_bin_find_unconnected_pad), (gst_parse_bin_from_description):
15606         * gst/gstutils.h:
15607           Add new API: gst_parse_bin_from_description() and
15608           gst_bin_find_unconnected_pad() (#329069).
15609
15610 2006-02-01  Stefan Kost  <ensonic@users.sf.net>
15611
15612         * docs/manual/README:
15613           uncover a nasty detail of the docs build
15614
15615 2006-01-31  Wim Taymans  <wim@fluendo.com>
15616
15617         * gst/gstbin.c: (bin_remove_messages), (bin_query_duration_done):
15618         Don't cache duration messages if we're not going to use or
15619         free them.
15620
15621 2006-01-31  Stefan Kost  <ensonic@users.sf.net>
15622
15623         * docs/manual/advanced-dparams.xml:
15624         * docs/pwg/advanced-dparams.xml:
15625           more dparam docs
15626         * gst/gstindex.c:
15627           fix docs
15628         * libs/gst/controller/lib.c: (gst_controller_init):
15629           init just once
15630
15631 2006-01-31  Thomas Vander Stichele  <thomas at apestaart dot org>
15632
15633         * gst/gstelement.c: (gst_element_message_full):
15634           also show file/line/func if no additional debug was given
15635
15636 2006-01-31  Sebastien Moutte  <sebastien@moutte.net>
15637         
15638         * win32/vs7/grammar.vcproj:
15639           activate copy of autogenerated files for Release mode
15640
15641 2006-01-30  Sebastien Moutte  <sebastien@moutte.net>
15642         
15643         * win32/common/libgstreamer.def:
15644           export gst_value_compare
15645
15646 2006-01-30  Jan Schmidt  <thaytan@mad.scientist.com>
15647
15648         * plugins/elements/Makefile.am:
15649         * plugins/elements/gstelements.c:
15650         * plugins/elements/gstfdsink.c: (_do_init),
15651         (gst_fd_sink_base_init), (gst_fd_sink_class_init),
15652         (gst_fd_sink_init), (gst_fd_sink_dispose), (gst_fd_sink_query),
15653         (gst_fd_sink_render), (gst_fd_sink_check_fd), (gst_fd_sink_start),
15654         (gst_fd_sink_stop), (gst_fd_sink_unlock), (gst_fd_sink_update_fd),
15655         (gst_fd_sink_set_property), (gst_fd_sink_uri_get_type),
15656         (gst_fd_sink_uri_get_protocols), (gst_fd_sink_uri_get_uri),
15657         (gst_fd_sink_uri_set_uri), (gst_fd_sink_uri_handler_init):
15658         * plugins/elements/gstfdsink.h:
15659         Port fdsink to 0.10 (patch by Philippe Rouquier) (Fixes #325490)
15660
15661 2006-01-30  Stefan Kost  <ensonic@users.sf.net>
15662
15663         * docs/manual/advanced-dparams.xml:
15664           describe controller
15665         * docs/manual/advanced-position.xml:
15666         * docs/manual/basics-init.xml:
15667         * docs/manual/manual.xml:
15668         * docs/manual/titlepage.xml:
15669         * docs/pwg/pwg.xml:
15670         * docs/pwg/titlepage.xml:
15671           cleanup xml (more to come)
15672         * libs/gst/controller/gstcontroller.c:
15673           fix typo
15674
15675 2006-01-30  Sebastien Moutte  <sebastien@moutte.net>
15676         
15677         * win32/vs6/grammar.dsp:
15678           add autogen of gstmarshal.c,h for Release mode
15679                 
15680 2006-01-30  Wim Taymans  <wim@fluendo.com>
15681
15682         * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
15683         (gst_base_sink_preroll_queue_empty), (gst_base_sink_commit_state),
15684         (gst_base_sink_handle_object), (gst_base_sink_event),
15685         (gst_base_sink_is_prerolled), (gst_base_sink_wait),
15686         (gst_base_sink_do_sync), (gst_base_sink_handle_event),
15687         (gst_base_sink_handle_buffer), (gst_base_sink_set_flushing),
15688         (gst_base_sink_deactivate), (gst_base_sink_activate),
15689         (gst_base_sink_activate_pull), (gst_base_sink_get_position),
15690         (gst_base_sink_query), (gst_base_sink_change_state):
15691         Basesink cleanups, remove some old code.
15692         Handle the case where a subclass can preroll in the render
15693         method (mostly audiosinks).
15694         Handle more events.
15695         Remove some locks around variables that are now protected
15696         with the PREROLL_LOCK (clock_id, flushing, ..).
15697         Optimize position query some more, do correct locking.
15698         Remove old code to push queue in state change, this is not
15699         needed anymore since preroll blocks on all prerollable items 
15700         now.
15701         Almost implemented as described in design doc.
15702
15703 2006-01-30  Wim Taymans  <wim@fluendo.com>
15704
15705         * tests/check/gst/gstbin.c: (GST_START_TEST):
15706         Wait for refcount to settle down before checking.
15707
15708 2006-01-30  Wim Taymans  <wim@fluendo.com>
15709
15710         * docs/design/part-element-sink.txt:
15711         Pseudo code overview of desired sink behaviour regarding
15712         preroll.
15713
15714 2006-01-29  Sebastien Moutte  <sebastien@moutte.net>
15715         * win32/vs6/grammar.dsp:
15716           fix some bugs in Release mode for autogenerated files
15717                 
15718 2006-01-29  Sebastien Moutte  <sebastien@moutte.net>
15719         * win32/common/libgstbase.def:
15720         * win32/common/libgstreamer.def:
15721           export some new symbols: gst_base_src_set_format,
15722           gst_iterator_next, gst_structure_set_valist
15723
15724 2006-01-29  Julien MOUTTE  <julien@moutte.net>
15725
15726         * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked):
15727         Set pad functions unconditionally. Fixes #329105.
15728
15729 2006-01-29  Sebastien Moutte  <sebastien@moutte.net>
15730         * win32/vs8:
15731           add vs8 project files created by Sergey Scobich
15732
15733 2006-01-28  Jan Schmidt  <thaytan@mad.scientist.com>
15734
15735         * gst/gstutils.c: (gst_element_unlink_pads):
15736         Don't leak pad references.
15737
15738         * tests/check/elements/fakesink.c: (GST_START_TEST):
15739         * tests/check/generic/sinks.c: (GST_START_TEST):
15740         * tests/check/generic/states.c: (GST_START_TEST):
15741         * tests/check/gst/gstbin.c: (GST_START_TEST):
15742         * tests/check/gst/gstcaps.c: (GST_START_TEST):
15743         * tests/check/gst/gstelement.c: (GST_START_TEST):
15744         * tests/check/gst/gstghostpad.c: (GST_START_TEST):
15745         * tests/check/gst/gstiterator.c: (GST_START_TEST):
15746         * tests/check/gst/gstvalue.c: (GST_START_TEST):
15747         Fix a bunch of leaks. Make generic/sinks.c
15748         use a bit less cpu by slowing the buffer rate
15749         between fakesrc and fakesink.
15750         
15751 2006-01-27  Stefan Kost  <ensonic@users.sf.net>
15752         * gst/gstcaps.c:
15753         * gst/gstelement.c: (gst_element_send_event):
15754         * gst/gstevent.c:
15755         * gst/gstinfo.c:
15756         * gst/gstiterator.c:
15757         * gst/gstiterator.h:
15758         * gst/gstpad.c: (gst_pad_send_event):
15759         * gst/gststructure.c:
15760         * gst/gsturi.c:
15761         * gst/gstutils.c:
15762         * gst/gstvalue.c:
15763         * libs/gst/base/gstadapter.c:
15764           doc fixes, to link to function, just write gst_cool_function(), don't
15765           prefix with '#'
15766
15767 2006-01-27  Jan Schmidt  <thaytan@mad.scientist.com>
15768
15769         * plugins/elements/gsttee.c: (gst_tee_do_push),
15770         (gst_tee_handle_buffer):
15771         Always prefer an actual return value from a src
15772         pad in place of NOT_LINKED. This means we return
15773         WRONG_STATE when all src pads are WRONG_STATE
15774         instead of NOT_LINKED.
15775
15776         Lock when replacing the last message to prevent
15777         racing with the get_property method.
15778
15779         Add debug output
15780
15781 2006-01-27  Jan Schmidt  <thaytan@mad.scientist.com>
15782
15783         * tests/check/Makefile.am:
15784         * tests/check/gst/gstquery.c: (GST_START_TEST), (gstquery_suite),
15785         (main):
15786         Add a very simple check that should have caught the memleak I fixed
15787         last night (if not for the slice allocator hiding it)
15788
15789 2006-01-27  Jan Schmidt  <thaytan@mad.scientist.com>
15790
15791         * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
15792         (gst_bin_remove_func), (gst_bin_handle_message_func),
15793         (bin_query_duration_fold), (bin_query_generic_fold):
15794         Clean up references to the clock provider when disposed or when
15795         handling a clock-lost message from it.
15796
15797         Unref sinks when performing a query via gst_iterator_fold, as the
15798         gst_bin_iterate_sinks iterator refs each item. (Fixes #323874)
15799
15800         * gst/gstclock.c: (gst_clock_class_init), (gst_clock_dispose),
15801         (gst_clock_set_master):
15802         Drop our reference to the master clock, if any, when we are disposed.
15803
15804         * gst/gsttypefindfactory.c: (gst_type_find_factory_dispose):
15805         Chain up in dispose. 
15806
15807 2006-01-26  Wim Taymans  <wim@fluendo.com>
15808
15809         * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range):
15810         Add some debugging.
15811
15812 2006-01-26  Julien MOUTTE  <julien@moutte.net>
15813
15814         * plugins/elements/gsttee.c: (gst_tee_do_push),
15815         (gst_tee_handle_buffer): Apply patch from #328715. Tee now
15816         handles pad being NOT_LINKED or in WRONG_STATE.
15817
15818 2006-01-26  Stefan Kost  <ensonic@users.sf.net>
15819
15820         * win32/MANIFEST:
15821           more updating
15822
15823 2006-01-26  Stefan Kost  <ensonic@users.sf.net>
15824
15825         * win32/MANIFEST:
15826           remove obsolete entry
15827
15828 2006-01-26  Stefan Kost  <ensonic@users.sf.net>
15829
15830         * docs/gst/gstreamer-sections.txt:
15831         * gst/gstbin.c: (bin_element_is_src), (src_iterator_filter),
15832         (gst_bin_iterate_sources), (gst_bin_send_event):
15833         * gst/gstbin.h:
15834         * gst/gstelement.c: (gst_element_send_event):
15835         * gst/gstevent.c:
15836         * gst/gstpad.c: (gst_pad_send_event):
15837           added code for downstream events, reviewed docs in gstevent.c
15838
15839 2006-01-25  Julien MOUTTE  <julien@moutte.net>
15840
15841         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
15842         We only query position using the clock in the playing state.
15843         Query peer in the other cases.
15844         * win32/common/config.h: Updates.
15845
15846 2006-01-24  Wim Taymans  <wim@fluendo.com>
15847
15848         * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
15849         A clock entry that is scheduled for the exact time of the
15850         clock is still in time.
15851
15852         * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
15853         (gst_base_sink_do_sync):
15854         Add some more debug info.
15855
15856 2006-01-23  Sebastien Moutte  <sebastien@moutte.net>
15857
15858         * win32/vs7:
15859           Add new vs7 project files and solution.
15860
15861 2006-01-23  Sebastien Moutte  <sebastien@moutte.net>
15862
15863         * win32/vs7:
15864           all files removed as they were out-dated.
15865
15866 2006-01-20  Thomas Vander Stichele  <thomas at apestaart dot org>
15867
15868         * docs/random/release:
15869           update notes
15870         * gst/gstbin.c: (gst_bin_init):
15871         * gst/gstbus.c: (gst_bus_new):
15872         * gst/gstbus.h:
15873         * gst/gstpipeline.c: (gst_pipeline_init):
15874           use gst_bus_new(), improve logging, fix docs
15875         * win32/common/config.h:
15876           update for cvs build
15877
15878 2006-01-20  Thomas Vander Stichele  <thomas at apestaart dot org>
15879
15880         * autogen.sh:
15881           up required version of automake to 1.7
15882
15883 2006-01-20  Sebastien Moutte  <sebastien@moutte.net>
15884
15885         * win32/common/libgstreamer.def:
15886           export gst_buffer_is_metadata_writable
15887
15888 2006-01-20  Tim-Philipp Müller  <tim at centricular dot net>
15889
15890         * docs/gst/gstreamer-sections.txt:
15891         * gst/gstevent.h:
15892           Add gst_event_replace() (#327001)
15893
15894 2006-01-20  Wim Taymans  <wim@fluendo.com>
15895
15896         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked):
15897         Make it actually compile too..
15898
15899 2006-01-20  Wim Taymans  <wim@fluendo.com>
15900
15901         * gst/gstcaps.c:
15902         Clarify behaviour of _is_equal() when passing NULL parameters.
15903
15904         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
15905         (gst_pad_set_caps):
15906         Cleanups. Don't unref NULL caps.
15907         When setting the same caps, protect caps of the pad with
15908         proper lock.
15909         Use full functionality of _is_equal() when comparing caps.
15910
15911 2006-01-20  Jan Schmidt  <thaytan@mad.scientist.com>
15912
15913         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_is_collected):
15914         Don't loop infinitely if there are no buffers to present. Partially
15915         fixes #327197, but collectpads is just broken for reusing elements
15916         to do multiple encodes atm.
15917
15918 2006-01-20  Jan Schmidt  <thaytan@mad.scientist.com>
15919
15920         * tools/gst-inspect.c: (print_element_features):
15921         * tools/gst-xmlinspect.c: (main):
15922         URL_HANDLER is not a plugin feature we can search for in
15923         the registry.
15924
15925 2006-01-19  Edward Hervey  <edward@fluendo.com>
15926
15927         * gst/gstelement.c: (gst_element_pads_activate): 
15928         When activating, do src pads first, then sink pads.
15929         When de-activating, do sink pads first, then src pads.
15930
15931 2006-01-19  Jan Schmidt  <thaytan@mad.scientist.com>
15932
15933         * docs/gst/gstreamer-sections.txt:
15934         Add gst_index_add_associationv to the docs
15935
15936 2006-01-19  Jan Schmidt  <thaytan@mad.scientist.com>
15937
15938         * gst/gstevent.c:
15939           Fix docs typo
15940
15941         * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event),
15942         (gst_queue_chain), (gst_queue_push_one), (gst_queue_loop):
15943           Do some refactoring. Doesn't actually change functionality,
15944           but makes landing the DRAIN event easier later.
15945
15946 2006-01-19  Tim-Philipp Müller  <tim at centricular dot net>
15947
15948         * docs/pwg/advanced-scheduling.xml:
15949           Update from 0.9.x to 0.10 API and make example a bit
15950           clearer.
15951
15952 2006-01-19  Jan Schmidt  <thaytan@mad.scientist.com>
15953
15954         * docs/gst/gstreamer-sections.txt:
15955         Add gst_buffer_(is|make)_metadata_writable methods.
15956
15957 2006-01-19  Jan Schmidt  <thaytan@mad.scientist.com>
15958
15959         * docs/design/part-sparsestreams.txt:
15960         Update sparse streams doc, hopefully for greater clarity
15961
15962 2006-01-18  Jan Schmidt  <thaytan@mad.scientist.com>
15963
15964         * docs/design/part-events.txt:
15965         Remove mention of FILLER events.
15966         Add DRAIN event.
15967
15968         * docs/design/part-sparsestreams.txt:
15969         Write some things about using NEWSEGMENT to keep sparse streams
15970         flowing.
15971
15972 2006-01-18  Tim-Philipp Müller  <tim at centricular dot net>
15973
15974         * gst/gstbin.c: (gst_bin_dispose):
15975           Guard gst_object_unref call against a NULL object (dispose
15976           can theoretically be called multiple times).
15977           
15978 2006-01-18  Wim Taymans  <wim@fluendo.com>
15979
15980         * gst/gstbin.c: (gst_bin_element_set_state):
15981         * gst/gstclock.c: (gst_clock_id_wait):
15982         Added some more debug info.
15983
15984         * libs/gst/base/gstadapter.c:
15985         Added more docs.
15986
15987         * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
15988         (gst_base_sink_do_sync), (gst_base_sink_chain):
15989         Added some comments.
15990
15991 2006-01-18  Wim Taymans  <wim@fluendo.com>
15992
15993         * tests/check/Makefile.am:
15994         * tests/check/elements/fakesink.c: (chain_async_buffer),
15995         (chain_async), (chain_async_return), (GST_START_TEST),
15996         (fakesink_suite), (main):
15997         Added fakesink test that checks prerolling and clipping
15998         behaviour.
15999
16000         * tests/check/gst/gstutils.c: (GST_START_TEST):
16001         Make check run faster so that buildbots don't timeout.
16002
16003 2006-01-18  Wim Taymans  <wim@fluendo.com>
16004
16005         * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
16006         (gst_base_sink_do_sync):
16007         Some cleanups.
16008         When the sink finishes blocking on the preroll buffer, it can
16009         immediatly render it instead of rendering when the next buffer
16010         arrives.
16011
16012 2006-01-18  Wim Taymans  <wim@fluendo.com>
16013
16014         * libs/gst/base/gstbasesink.c: (gst_base_sink_set_property),
16015         (gst_base_sink_get_property), (gst_base_sink_do_sync),
16016         (gst_base_sink_chain):
16017         Small cleanups.
16018         GST_ELEMENT_CLOCK and sync are protected with LOCK.
16019         Don't store _last_stop if the buffer is dropped.
16020
16021 2006-01-18  Tim-Philipp Müller  <tim at centricular dot net>
16022
16023         * plugins/elements/gsttypefindelement.c:
16024         (gst_type_find_element_class_init):
16025           'have-type' signal needs to be G_SIGNAL_RUN_FIRST, as it is the
16026           object method handler that sets the caps on the pad and we want
16027           that to happen before we emit the signal (fixes e.g. feeding a
16028           plain text file to decodebin).
16029
16030 2006-01-18  Christian Schaller  <Christian@fluendo.com>
16031
16032         * gst/gstplugin.c: Add MPL and Proprietary as license options
16033
16034 2006-01-18  Andy Wingo  <wingo@pobox.com>
16035
16036         * gst/gstindex.h (gst_index_add_associationv): Add to header. The
16037         symbol was exported before, it appears this was just an oversight.
16038         Fixes #168703.
16039         Patch by: Torsten Schoenfeld <kaffeetisch at gmx.de>
16040
16041         * gst/gstindex.c (gst_index_add_associationv): Changed int in
16042         prototype to gint. OK since this prototype was not in the header.
16043
16044 2006-01-17  Andy Wingo  <wingo@pobox.com>
16045
16046         * gst/gstregistry.c (_gst_registry_remove_cache_plugins): Lock the
16047         registry while we remove plugins.
16048
16049         * tools/gst-inspect.c (print_element_info): Don't unref the
16050         factory arg, that should be the responsibility of whatever code
16051         received the ref. Fixes a double-free when called from
16052         print_element_list via gst-inspect-0.10 -a. Fixes #327324.
16053         (main): Unref the factory if we have one.
16054         (print_element_list): No change -- relies on the
16055         plugin_feature_list_free to free the list of features.
16056
16057 2006-01-17  Jan Schmidt  <thaytan@mad.scientist.com>
16058
16059         * gst/gstbuffer.c: (gst_buffer_is_metadata_writable),
16060         (gst_buffer_make_metadata_writable):
16061         * gst/gstbuffer.h:
16062         * libs/gst/base/gstbasetransform.c:
16063         (gst_base_transform_prepare_output_buf):
16064         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
16065         * tests/check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
16066           Replace gst_buffer_(make|is)_metadata_writable patch now
16067           that the release is out.
16068
16069 2006-01-17  Andy Wingo  <wingo@pobox.com>
16070
16071         * gst/gstregistry.c: Reflow design comment. Update so as to speak
16072         in the present tense without reference to versions.
16073
16074         * gst/gstregistry.c (gst_registry_add_plugin)
16075         (gst_registry_remove_plugin, gst_registry_remove_feature)
16076         (gst_registry_find_feature, gst_registry_get_feature_list)
16077         (gst_registry_get_plugin_list, gst_registry_lookup_feature)
16078         (gst_registry_lookup, gst_registry_scan_path)
16079         (_gst_registry_remove_cache_plugins)
16080         (gst_registry_get_feature_list_by_plugin): Add argument
16081         validation.
16082
16083 === release 0.10.2 ===
16084
16085 2006-01-16  Thomas Vander Stichele <thomas at apestaart dot org>
16086
16087         * configure.ac:
16088           releasing 0.10.2, "If man is five"
16089
16090 2006-01-16  Jan Schmidt  <thaytan@mad.scientist.com>
16091
16092         * gst/gstbuffer.c:
16093         * gst/gstbuffer.h:
16094         * libs/gst/base/gstbasetransform.c:
16095         (gst_base_transform_prepare_output_buf):
16096         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
16097         * tests/check/gst/gstbuffer.c: (gst_test_suite):
16098           Back out patch until after the release.
16099
16100 2006-01-16  Jan Schmidt  <thaytan@mad.scientist.com>
16101
16102         * gst/gstminiobject.c:
16103           Spelling fix in docs.
16104         * ChangeLog - remove conflict indicator
16105
16106 2006-01-16  Jan Schmidt  <thaytan@mad.scientist.com>
16107
16108         Reviewed By: Andy Wingo
16109
16110         * gst/gstbuffer.c: (gst_buffer_is_metadata_writable),
16111         (gst_buffer_make_metadata_writable):
16112         * gst/gstbuffer.h:
16113           Add gst_buffer_(is|make)_metadata_writable as analogues of
16114           gst_buffer_(is|make)_writable.
16115
16116         * libs/gst/base/gstbasetransform.c:
16117         (gst_base_transform_prepare_output_buf):
16118         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
16119           Use name gst_buffer_(is|make)_metadata_writable functions.
16120
16121         * tests/check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
16122           Test gst_buffer_(is|make)_metadata_writable
16123         
16124           (Closes: #324162)
16125
16126 2006-01-14  Thomas Vander Stichele  <thomas at apestaart dot org>
16127
16128         * docs/manual/Makefile.am:
16129           don't do parallel make
16130         * configure.ac:
16131           AC_SUBST HOST_CPU
16132         * win32/common/config.h.in:
16133           add generations for HOST_CPU and GST_MAJORMINOR
16134         * win32/common/config.h:
16135           commit generated result
16136
16137 2006-01-13  Tim-Philipp Müller  <tim at centricular dot net>
16138
16139         * docs/manual/appendix-integration.xml:
16140           Update GNOME integration section to use gst_init_get_option_group()
16141           instead of the old popt stuff (#322911). Also, GNOME applications
16142           should  now use gconf*sink and gconf*src instead of the old gconf
16143           helper lib we had.
16144
16145 2006-01-13  Stefan Kost  <ensonic@users.sf.net>
16146
16147
16148         * docs/gst/gstreamer-docs.sgml:
16149         * docs/gst/gstreamer-sections.txt:
16150         * docs/libs/gstreamer-libs-sections.txt:
16151           add new API entries to the docs
16152         * libs/gst/controller/Makefile.am:
16153         * libs/gst/controller/gstcontroller.c:
16154         * libs/gst/controller/gstcontroller.h:
16155         * libs/gst/controller/gstcontrollerprivate.h:
16156         * libs/gst/controller/gsthelper.c:
16157         * libs/gst/controller/gstinterpolation.c:
16158           move private structs to private header
16159         * po/README:
16160           gstreamer-0.7 -> gstreamer-0.10
16161         * tests/check/libs/struct_i386.h:
16162           remove private structs
16163
16164 2006-01-13  Thomas Vander Stichele  <thomas at apestaart dot org>
16165
16166         * plugins/indexers/Makefile.am:
16167           Fixes as part of #317048
16168
16169 2006-01-13  Thomas Vander Stichele  <thomas at apestaart dot org>
16170
16171         * plugins/indexers/Makefile.am:
16172           fix #316086 - compilation when mmap is missing
16173
16174 2006-01-12  Sebastien Moutte  <sebastien@moutte.net>
16175
16176         * libs/gst/base/gstbasesink.c:
16177           *cur = (now - base) * basesink->segment.abs_rate + time; replaced by 
16178           *cur = gst_guint64_to_gdouble(now - base) * basesink->segment.abs_rate + time; for vs6
16179         * win32/common/config.h:
16180           added some defines GST_MAJORMINOR and HOST_CPU
16181         * win32/common/libgstbase.def:
16182         * win32/common/libgstreamer.def:
16183           added some exported functions.
16184
16185 2006-01-12  Stefan Kost  <ensonic@users.sf.net>
16186
16187         * libs/gst/controller/gstcontroller.c:
16188         (gst_controlled_property_set_interpolation_mode),
16189         (gst_controlled_property_new):
16190         * libs/gst/controller/gstcontroller.h:
16191         * libs/gst/controller/gstinterpolation.c:
16192         (interpolate_none_get_string_value_array):
16193           make G_TYPE_STRING controlable
16194
16195 2006-01-12  Stefan Kost  <ensonic@users.sf.net>
16196
16197         * tools/README:
16198         * tools/gst-feedback.1.in:
16199         * tools/gst-inspect.1.in:
16200         * tools/gst-launch.1.in:
16201         * tools/gst-md5sum.1.in:
16202         * tools/gst-typefind.1.in:
16203         * tools/gst-xmlinspect.1.in:
16204         * tools/gst-xmllaunch.1.in:
16205           cleanup man-pages, remove reference to gst-register, document env-vars
16206
16207 2006-01-12  Jan Schmidt  <thaytan@mad.scientist.com>
16208
16209         * gst/gstbuffer.c: (gst_buffer_span):
16210           gst_buffer_span should copy the timestamp of the first buffer
16211           if they were both originally overlapping subbuffers of the 
16212           same parent, using the same logic as the 'slow copy' case.
16213
16214 2006-01-11  Jan Schmidt  <thaytan@mad.scientist.com>
16215
16216         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_pop):
16217           Need to awaken ALL the pads when we pop a buffer, otherwise
16218           collectpads only works when there is 2 input streams.
16219
16220 2006-01-11  Stefan Kost  <ensonic@users.sf.net>
16221
16222         * docs/random/ensonic/media-device-daemon.txt:
16223           more ideas (dbus)
16224         * gst/gstbuffer.c:
16225           fix doc example, add clarification
16226         * tools/gst-launch.1.in:
16227           add initial info about GST_PLUGIN_PATH, needs more work
16228
16229 2006-01-11  Tim-Philipp Müller  <tim at centricular dot net>
16230
16231         * docs/manual/basics-bins.xml:
16232         * docs/manual/basics-elements.xml:
16233         * docs/manual/intro-basics.xml:
16234           Some more minor docs additions and updates.
16235
16236 2006-01-11  Wim Taymans  <wim@fluendo.com>
16237
16238         * docs/manual/basics-bins.xml:
16239         * docs/manual/basics-elements.xml:
16240         Some small fixes as pointed out by Ser-ver on IRC.
16241
16242 2006-01-10  Edward Hervey  <edward@fluendo.com>
16243
16244         * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
16245         Set the buffer offset/offset_end to GST_CLOCK_TIME_NONE when using
16246         the single-segment mode.
16247
16248 2006-01-10  Brian Cameron  <brian dot cameron at sun dot com>
16249
16250         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
16251
16252         * libs/gst/base/gstbasesrc.c: (gst_base_src_init),
16253         (gst_base_src_perform_seek), (gst_base_src_send_event),
16254         (gst_base_src_set_property), (gst_base_src_get_property),
16255         (gst_base_src_loop), (gst_base_src_start),
16256         (gst_base_src_activate_push):
16257         * libs/gst/base/gstbasesrc.h:
16258           Name (private) union; makes Sun's Forte compiler happy (#324900).
16259
16260 2006-01-09  Tim-Philipp Müller  <tim at centricular dot net>
16261
16262         * README:
16263           gst-register is gone.
16264
16265 2006-01-07  Thomas Vander Stichele  <thomas at apestaart dot org>
16266
16267         * gst/gstvalue.c: (_gst_value_initialize):
16268           make the G_TYPE_DATE instantiation work if debug is disabled
16269
16270 2006-01-06  Tim-Philipp Müller  <tim at centricular dot net>
16271
16272         * gst/gstmessage.c: (gst_message_parse_tag),
16273         (gst_message_parse_error), (gst_message_parse_warning):
16274           Don't crash when return location for error/warning debug
16275           string is NULL; add fact that return locations can be
16276           NULL to docs where appropriate.
16277
16278 2006-01-05  Wim Taymans  <wim@fluendo.com>
16279
16280         * gst/gstplugin.c: (gst_plugin_load_file):
16281         Replace strdup by g_strdup.
16282
16283 2006-01-05  Thomas Vander Stichele  <thomas at apestaart dot org>
16284
16285         * docs/pwg/advanced-types.xml:
16286           fix doc borkage
16287
16288 2006-01-05  Thomas Vander Stichele  <thomas at apestaart dot org>
16289
16290         submitted by: Abel Cheung
16291
16292         * po/LINGUAS:
16293         * po/zh_TW.po:
16294           Added Chinese (traditional) translation
16295
16296 2006-01-04  Wim Taymans  <wim@fluendo.com>
16297
16298         * docs/manual/basics-pads.xml:
16299         * docs/plugins/Makefile.am:
16300         * docs/plugins/gstreamer-plugins-docs.sgml:
16301         * docs/plugins/gstreamer-plugins-sections.txt:
16302         * docs/pwg/advanced-clock.xml:
16303         * docs/pwg/advanced-scheduling.xml:
16304         * docs/pwg/advanced-types.xml:
16305         * plugins/elements/gstfdsink.c:
16306         * plugins/elements/gstfdsrc.c:
16307         * plugins/elements/gstfdsrc.h:
16308         * plugins/elements/gstidentity.c: (gst_identity_class_init):
16309         * plugins/elements/gstidentity.h:
16310         * plugins/elements/gstqueue.h:
16311         * plugins/elements/gsttee.c:
16312         * plugins/elements/gsttee.h:
16313         * plugins/elements/gsttypefindelement.c:
16314         (gst_type_find_element_class_init):
16315         * plugins/elements/gsttypefindelement.h:
16316         Small updates to various docs.
16317         Added core plugins to docs.
16318
16319 2006-01-03  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
16320
16321         * common/gst.supp:
16322           add a suppression for liboil's uninitialized variable
16323
16324 2006-01-02  James Livingston  <jrl at ids dot org dot au>
16325
16326         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
16327
16328         * gst/gstutils.h:
16329           Add prototype for _get_type() function to GST_BOILERPLATE_FULL
16330           macro, so that gcc doesn't complain if the -Wmissing-prototypes
16331           compiler switch is being used (#325429).
16332
16333 2005-12-29  Tim-Philipp Müller  <tim at centricular dot net>
16334
16335         * gst/gstbin.c: (gst_bin_query):
16336           Disable duration query caching in bins until it gets
16337           fixed (see #324807).
16338
16339 2005-12-27  Tim-Philipp Müller  <tim at centricular dot net>
16340
16341         * tools/gst-inspect.c: (print_element_properties_info):
16342           Handle properties of POINTER and BOXED type.
16343
16344 2005-12-27  Tim-Philipp Müller  <tim at centricular dot net>
16345
16346         * gst/gst.c: (init_post):
16347           Init tags stuff and some other things before loading
16348           any static plugins (there may be other static plugins
16349           than just the GStreamer ones, and they may want to
16350           register their own tags or formats or whatever, and
16351           preferably without segfaulting).
16352
16353         * plugins/elements/gstqueue.c: (gst_queue_handle_src_query):
16354           Print at least a warning in the debug logs if we drop a
16355           query just because we don't know how to adjust the value
16356           in the particular format.
16357
16358 2005-12-24  David Schleef  <ds@schleef.org>
16359
16360         * tools/gstreamer-completion:
16361           Replacement for gst-complete written in sh and sed.  Only
16362           completes names of features, but that's 90% of what I want
16363           it for.  Properties are not available in registry.xml.  (Maybe
16364           they should be...)
16365
16366 === release 0.10.1 ===
16367
16368 2005-12-23  Thomas Vander Stichele <thomas at apestaart dot org>
16369
16370         * configure.ac:
16371           releasing 0.10.1, "Nollaig chridheil"
16372
16373 2005-12-22  Tim-Philipp Müller  <tim at centricular dot net>
16374
16375         * docs/faq/cvs.xml:
16376           Add missing quote, should be make ERROR_CFLAGS="".
16377
16378 2005-12-20  Wim Taymans  <wim@fluendo.com>
16379
16380         * docs/design/part-trickmodes.txt:
16381         More documentation on trickmodes.
16382
16383 2005-12-20  Edward Hervey  <edward@fluendo.com>
16384
16385         * gst/gstcaps.c: (gst_static_caps_get_type):
16386         * gst/gstcaps.h:
16387           API addition: GST_TYPE_STATIC_CAPS
16388         Added gpointer GType for GstStaticCaps so we can wrap them in bindings.
16389         * gst/gstpadtemplate.c: (gst_static_pad_template_get_type):
16390         * gst/gstpadtemplate.h:
16391           API addition: GST_TYPE_STATIC_PAD_TEMPLATE
16392         Added gpointer GType for GstStaticPadTemplate so we can wrap them in
16393         bindings.
16394
16395 2005-12-18  Wim Taymans  <wim@fluendo.com>
16396
16397         * libs/gst/base/gstadapter.c:
16398         * libs/gst/base/gstadapter.h:
16399         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
16400         (gst_base_sink_get_position):
16401         * libs/gst/base/gstbasesink.h:
16402         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
16403         (gst_base_src_default_query), (gst_base_src_default_do_seek),
16404         (gst_base_src_do_seek), (gst_base_src_perform_seek),
16405         (gst_base_src_send_event), (gst_base_src_update_length),
16406         (gst_base_src_get_range), (gst_base_src_loop),
16407         (gst_base_src_start):
16408         * libs/gst/base/gstbasesrc.h:
16409         * libs/gst/base/gstbasetransform.h:
16410         * libs/gst/base/gstcollectpads.h:
16411         * libs/gst/base/gstpushsrc.c:
16412         * libs/gst/base/gstpushsrc.h:
16413         * libs/gst/dataprotocol/dataprotocol.c:
16414         * libs/gst/dataprotocol/dataprotocol.h:
16415         * libs/gst/net/gstnetclientclock.h:
16416         * libs/gst/net/gstnettimeprovider.h:
16417         Documentation updates.
16418
16419 2005-12-18  Tim-Philipp Müller  <tim at centricular dot net>
16420
16421         * docs/manual/basics-helloworld.xml:
16422           Remove superfluous closing bracket in helloworld example.
16423
16424 2005-12-17  Tim-Philipp Müller  <tim at centricular dot net>
16425
16426         * tools/gst-launch.1.in:
16427           Update gst-launch man page; add a section with useful
16428           environment variables. Fixes #323882.
16429
16430 2005-12-16  Stefan Kost  <ensonic@users.sf.net>
16431
16432         * gst/gst.c:
16433         * gst/gst_private.h:
16434           change some char* into char[]
16435
16436 2005-12-16  Wim Taymans  <wim@fluendo.com>
16437
16438         * gst/gstregistryxml.c: (load_feature):
16439         Cleanups.
16440         Don't use g_object_unref on GstObjects so that we avoid
16441         leaks on unsafe glibs.
16442
16443 2005-12-16  Wim Taymans  <wim@fluendo.com>
16444
16445         * gst/gstbin.c: (gst_bin_recalc_state):
16446         Small doc updates.
16447
16448 2005-12-16  Wim Taymans  <wim@fluendo.com>
16449
16450         * common/check.mak:
16451         Added make forever target for check.
16452
16453 2005-12-16  Thomas Vander Stichele  <thomas at apestaart dot org>
16454
16455         * gst/gst.c: (init_post):
16456           make the registry cache file HOST_CPU-dependent
16457
16458 2005-12-16  Andy Wingo  <wingo@pobox.com>
16459
16460         * plugins/elements/gstbufferstore.c
16461         (gst_buffer_store_cleared_func): Pay attention to g_list_append
16462         return value.
16463
16464         * tests/check/gst/gstobject.c
16465         (test_fake_object_name_threaded_unique): Pay attention to
16466         g_list_sort return value.
16467
16468 2005-12-16  Tim-Philipp Müller  <tim at centricular dot net>
16469
16470         * tools/gst-feedback-m.m:
16471           Update for 0.9/0.10 (fixes #323870).
16472
16473 2005-12-15  Tim-Philipp Müller  <tim at centricular dot net>
16474
16475         * gst/gstminiobject.c: (gst_value_mini_object_lcopy):
16476           Fix lcopy for mini objects, the mini object needs to be ref'ed.
16477           
16478         * tests/check/gst/gstminiobject.c: (my_foo_init),
16479         (my_foo_get_property), (my_foo_set_property), (my_foo_class_init),
16480         (test_value_collection), (gst_mini_object_suite):
16481           Add test to ensure refcounts end up as expected when passing
16482           GstMiniObjects through g_object_get() and g_object_set().
16483
16484 2005-12-14  Julien MOUTTE  <julien@moutte.net>
16485
16486         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
16487         (gst_collect_pads_remove_pad), (gst_collect_pads_is_collected),
16488         (gst_collect_pads_event), (gst_collect_pads_chain): Refactoring
16489         of collectpads. This version removes a lot of races without
16490         touching API/ABI. Yay !
16491
16492 2005-12-14  Jan Schmidt  <thaytan@mad.scientist.com>
16493
16494         * gst/gstpad.c: (gst_pad_activate_pull), (gst_pad_link_prepare):
16495           Don't allow activation of a srcpad in pull_range if it has no
16496           getrange function.
16497           Change some debug statements to be a little clearer
16498
16499         * plugins/elements/gsttypefindelement.c:
16500         (gst_type_find_handle_src_query):
16501           Check that we have a peer before executing queries thereupon.
16502
16503         * tests/examples/metadata/read-metadata.c: (message_loop):
16504           Use gst_bus_pop instead of gst_bus_poll when we just want it to
16505           immediately return us any available message with 0 timeout.
16506
16507 2005-12-12  Michael Smith  <msmith@fluendo.com>
16508
16509         * gst/gsttypefindfactory.c: (gst_type_find_factory_call_function):
16510           Don't unref factories after calling them.
16511         * libs/gst/base/gsttypefindhelper.c: (gst_type_find_helper):
16512         * plugins/elements/gsttypefindelement.c:
16513         (gst_type_find_element_chain):
16514           Free lists of factories after using them. Fixing typefinding memory
16515           leaks.
16516
16517 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
16518
16519         * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
16520         (gst_plugin_feature_load):
16521           more meaningful debug output
16522         * configure.ac:
16523         * tests/Makefile.am:
16524         * tests/old/examples/Makefile.am:
16525           make make distcheck happy again
16526
16527 2005-12-12  Tim-Philipp Müller  <tim at centricular dot net>
16528
16529         * plugins/elements/gsttypefindelement.c: (stop_typefinding):
16530           Catch the special case where we are operating chain-based,
16531           but the downstream peer pad has no chain function. Emit a
16532           custom error message in this case instead of letting the
16533           core generate one implying that this is some sort of core
16534           bug. It's not, it just means that whatever got plugged
16535           into the pipeline downstream when we announced the type
16536           can only operate pull-based, while our source can only
16537           operate push-based (e.g. http://foo/bar.mov ! qtdemux ! ...)
16538           Error string has not been marked for translation yet, as
16539           it probably needs some more work first.
16540
16541         (gst_type_find_element_get_best_possibility):
16542           Add helper function to find the best of all available
16543           found possibilities that qualify given the min. threshold.
16544
16545         (gst_type_find_element_handle_event):
16546           Fix the case where we get an EOS while still in TYPEFIND
16547           mode (we want to chose the best of all possible types,
16548           not just the first type that happens to be in our unsorted
16549           list of possible types).
16550
16551         (gst_type_find_element_chain):
16552           Make sure we return GST_FLOW_ERROR when we errored out
16553           in stop_typefinding(); also, don't just find the best of
16554           all found type entries and then use the last examined
16555           type entry, but actually use the best entry.
16556
16557 2005-12-12  Tim-Philipp Müller  <tim at centricular dot net>
16558
16559         * tests/examples/typefind/typefind.c: (type_found):
16560         * tests/examples/xml/runxml.c: (xml_loaded):
16561           More gcc4 fixes and a mem leak fix.
16562
16563 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
16564
16565         * tests/examples/xml/createxml.c: (object_saved):
16566           gcc 4 fixes
16567
16568 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
16569
16570         * tests/Makefile.am:
16571           enable the examples even more
16572
16573 2005-12-12  Andy Wingo  <wingo@pobox.com>
16574
16575         * libs/gst/net/gstnettimeprovider.c
16576         (gst_net_time_provider_class_init, gst_net_time_provider_init)
16577         (gst_net_time_provider_set_property)
16578         (gst_net_time_provider_get_property):
16579         API addition: Export "active" as a GObject property.
16580         (gst_net_time_provider_thread): Only respond to time queries if
16581         the time provider is active.
16582
16583         * libs/gst/net/gstnettimeprovider.h: Add an "active" boolean to
16584         NetTimeProvider, preserving binary compat.
16585
16586 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
16587
16588         * tests/examples/controller/audio-example.c: (main):
16589         * tests/examples/launch/Makefile.am:
16590           convert comments again
16591
16592 2005-12-12  Wim Taymans  <wim@fluendo.com>
16593
16594         * libs/gst/base/gstpushsrc.c:
16595         Fix typo.
16596
16597 2005-12-12  Wim Taymans  <wim@fluendo.com>
16598
16599         * docs/libs/gstreamer-libs-sections.txt:
16600         Added new symbol to docs.
16601
16602         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
16603         (gst_base_src_init), (gst_base_src_set_format),
16604         (gst_base_src_default_query), (gst_base_src_query),
16605         (gst_base_src_default_do_seek), (gst_base_src_do_seek),
16606         (gst_base_src_perform_seek), (gst_base_src_send_event),
16607         (gst_base_src_default_event), (gst_base_src_event_handler),
16608         (gst_base_src_set_property), (gst_base_src_get_property),
16609         (gst_base_src_wait), (gst_base_src_do_sync),
16610         (gst_base_src_update_length), (gst_base_src_get_range),
16611         (gst_base_src_check_get_range), (gst_base_src_loop),
16612         (gst_base_src_default_negotiate), (gst_base_src_start),
16613         (gst_base_src_activate_push), (gst_base_src_activate_pull),
16614         (gst_base_src_change_state):
16615         * libs/gst/base/gstbasesrc.h:
16616         Implement seeking to other formats than _BYTES.
16617         Implement more seeking methods correctly.
16618         Doc updates.
16619         Added query vmethod.
16620         Added do_seek vmethod to make life easier for subclasses
16621         when seeking.
16622         API addition: gst_base_src_set_format()
16623
16624 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
16625
16626         * tests/examples/Makefile.am:
16627           added that too
16628
16629 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
16630
16631         * configure.ac:
16632         * docs/random/ensonic/media-device-daemon.txt:
16633         * tests/examples/controller/.cvsignore:
16634         * tests/examples/controller/Makefile.am:
16635         * tests/examples/controller/audio-example.c: (main):
16636         * tests/examples/helloworld/.cvsignore:
16637         * tests/examples/helloworld/Makefile.am:
16638         * tests/examples/helloworld/helloworld.c: (event_loop), (main):
16639         * tests/examples/launch/.cvsignore:
16640         * tests/examples/launch/Makefile.am:
16641         * tests/examples/launch/mp3parselaunch.c: (event_loop), (main):
16642         * tests/examples/metadata/.cvsignore:
16643         * tests/examples/metadata/Makefile.am:
16644         * tests/examples/metadata/read-metadata.c: (message_loop),
16645         (make_pipeline), (print_tag), (main):
16646         * tests/examples/queue/.cvsignore:
16647         * tests/examples/queue/Makefile.am:
16648         * tests/examples/queue/queue.c: (event_loop), (main):
16649         * tests/examples/typefind/.cvsignore:
16650         * tests/examples/typefind/Makefile.am:
16651         * tests/examples/typefind/typefind.c: (type_found), (event_loop),
16652         (main):
16653         * tests/examples/xml/.cvsignore:
16654         * tests/examples/xml/Makefile.am:
16655         * tests/examples/xml/createxml.c: (object_saved), (main):
16656         * tests/examples/xml/runxml.c: (xml_loaded), (event_loop), (main):
16657         * tests/old/examples/Makefile.am:
16658         * tests/old/examples/TODO:
16659         * tests/old/examples/controller/.cvsignore:
16660         * tests/old/examples/controller/Makefile.am:
16661         * tests/old/examples/controller/audio-example.c:
16662         * tests/old/examples/helloworld/.cvsignore:
16663         * tests/old/examples/helloworld/Makefile.am:
16664         * tests/old/examples/helloworld/helloworld.c:
16665         * tests/old/examples/launch/.cvsignore:
16666         * tests/old/examples/launch/Makefile.am:
16667         * tests/old/examples/launch/mp3parselaunch.c:
16668         * tests/old/examples/launch/mp3play:
16669         * tests/old/examples/manual/Makefile.am:
16670         * tests/old/examples/metadata/Makefile.am:
16671         * tests/old/examples/metadata/read-metadata.c:
16672         * tests/old/examples/queue/.cvsignore:
16673         * tests/old/examples/queue/Makefile.am:
16674         * tests/old/examples/queue/queue.c:
16675         * tests/old/examples/typefind/.cvsignore:
16676         * tests/old/examples/typefind/Makefile.am:
16677         * tests/old/examples/typefind/typefind.c:
16678         * tests/old/examples/xml/.cvsignore:
16679         * tests/old/examples/xml/Makefile.am:
16680         * tests/old/examples/xml/createxml.c:
16681         * tests/old/examples/xml/runxml.c:
16682           applied some simple fixing to some examples
16683           re-enabled the working examples
16684
16685 2005-12-12  Wim Taymans  <wim@fluendo.com>
16686
16687         * gst/gstsegment.c: (gst_segment_init),
16688         (gst_segment_set_last_stop), (gst_segment_set_seek),
16689         (gst_segment_set_newsegment), (gst_segment_to_stream_time),
16690         (gst_segment_to_running_time):
16691         Added more documentation.
16692         Make sure the last_pos value is updated properly.
16693         Make sure to_stream_time and to_running_time don't
16694         operate on wrong values.
16695
16696         * tests/check/gst/gstsegment.c: (GST_START_TEST):
16697         Update check.
16698
16699 2005-12-12  Michael Smith  <msmith@fluendo.com>
16700
16701         * plugins/elements/gsttypefindelement.c: (free_entry),
16702         (gst_type_find_element_chain):
16703           Now that we're not leaking factories, make sure we keep references
16704           to them while we need them.
16705
16706 2005-12-12  Thomas Vander Stichele  <thomas at apestaart dot org>
16707
16708         * tests/check/gst/struct_i386.h:
16709           ifdef out the XML structs
16710
16711 2005-12-12  Thomas Vander Stichele  <thomas at apestaart dot org>
16712
16713         * gst/gstvalue.c: (gst_value_transform_double_fraction):
16714           floor is not needed, F is always positive; this obviates the
16715           need for adding -lm when building without libxml
16716
16717 2005-12-12  Wim Taymans  <wim@fluendo.com>
16718
16719         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
16720         Take current playback rate into account when reporting
16721         the position.
16722
16723 2005-12-11  Tim-Philipp Müller  <tim at centricular dot net>
16724
16725         * docs/manual/mime-world.fig:
16726           Let's try this again, this time with a file that is
16727           actually in XFig format.
16728
16729 2005-12-11  Tim-Philipp Müller  <tim at centricular dot net>
16730
16731         * docs/manual/mime-world.fig:
16732           Add audioconvert element to diagram so that it
16733           matches the text and the code (fixes #319526).
16734
16735 2005-12-11  Tim-Philipp Müller  <tim at centricular dot net>
16736
16737         * docs/pwg/building-chainfn.xml:
16738         * docs/pwg/building-pads.xml:
16739         * docs/pwg/building-state.xml:
16740         * docs/pwg/other-source.xml:
16741           Update state change stuff for 0.10 (fixes #322969).
16742
16743 2005-12-11  Tim-Philipp Müller  <tim at centricular dot net>
16744
16745         * docs/manual/advanced-dataaccess.xml:
16746         * docs/manual/appendix-checklist.xml:
16747         * docs/manual/appendix-programs.xml:
16748         * docs/manual/basics-pads.xml:
16749         * docs/manual/highlevel-components.xml:
16750         * docs/manual/manual.xml:
16751           Update for 0.10: s/0.9/0.10/; s/audioscale/audiorsample/;
16752           add converters in front of pipelines; remove curly
16753           brackets for threads stuff, they no longer exist; use
16754           GST_TYPE_FRACTION for framerates; update some pieces of
16755           code to 0.10, but there's plenty more to do.
16756
16757         * docs/manual/appendix-porting.xml:
16758           Expand on asynchroneous state changes; s/0.9/0.10/;
16759           mention disappearance of gst_init_get_popt_table()
16760           (fixes #322916).
16761
16762 2005-12-11  Tim-Philipp Müller  <tim at centricular dot net>
16763
16764         * docs/faq/using.xml:
16765           Spider no longer exists, and neither does gst-launch-ext.
16766           Update examples to use decodebin and playbin and put
16767           converters in front of sinks (fixes #323726).
16768
16769 2005-12-09  Michael Smith  <msmith@fluendo.com>
16770
16771         * plugins/elements/gsttypefindelement.c: (find_peek),
16772         (gst_type_find_element_chain):
16773           Fix leaking element factories in typefinding.
16774           Fix problem where we forgot about a probable type on non-seekable
16775           files, and thus later mis-typefound it.
16776
16777 2005-12-09  Michael Smith  <msmith@fluendo.com>
16778
16779         * common/m4/gst-makecontext.m4:
16780         * common/m4/gst-mcsc.m4:
16781         * configure.ac:
16782         * win32/common/config.h:
16783         * win32/common/config.h.in:
16784           Remove makecontext stuff; not used in 0.10 and causes problems on
16785           HPUX according to bug #322441
16786
16787 2005-12-07  Wim Taymans  <wim@fluendo.com>
16788
16789         * tests/check/Makefile.am:
16790         * tests/check/libs/libsabi.c: (GST_START_TEST), (gstabi_suite),
16791         (main):
16792         * tests/check/libs/struct_i386.h:
16793         Added ABI check for libs
16794
16795 2005-12-07  Wim Taymans  <wim@fluendo.com>
16796
16797         * tests/check/Makefile.am:
16798         And add the struct_i386.h to dist.
16799
16800 2005-12-07  Wim Taymans  <wim@fluendo.com>
16801
16802         * tests/check/Makefile.am:
16803         * tests/check/gst/.cvsignore:
16804         * tests/check/gst/gstabi.c: (GST_START_TEST), (gstabi_suite),
16805         (main):
16806         * tests/check/gst/struct_i386.h:
16807         Added check for ABI compatibility.
16808
16809 2005-12-07  Wim Taymans  <wim@fluendo.com>
16810
16811         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
16812         (gst_fake_src_get_times), (gst_fake_src_create):
16813         Fix broken sync option, fixes #323259
16814
16815 2005-12-07  Wim Taymans  <wim@fluendo.com>
16816
16817         * gst/gstbuffer.c:
16818         Small docs update.
16819
16820         * gst/gstcaps.c: (gst_caps_is_equal):
16821         Don't assert on NULL <--> X. Fixes #323260
16822
16823         * gst/gstminiobject.c: (gst_mini_object_replace):
16824         If we're doing atomic operations, we might just as well use
16825         the proper way to get an atomic pointer.
16826
16827         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
16828         Clean up debugging.
16829
16830 2005-12-07  Michael Smith  <msmith@fluendo.com>
16831
16832         * gst/parse/grammar.y:
16833           Remove handling of { } for threads.
16834
16835 2005-12-06  David Schleef  <ds@schleef.org>
16836
16837         * libs/gst/base/gstbasetransform.c: speling fix.
16838
16839 2005-12-06  Thomas Vander Stichele  <thomas at apestaart dot org>
16840
16841         * docs/libs/tmpl/gstdataprotocol.sgml:
16842         * docs/random/omega/testing/gstobject.c:
16843         * gst/gst.c:
16844         * gst/gstclock.c:
16845         * gst/gstelement.c:
16846         * gst/gstelementfactory.c:
16847         * gst/gsterror.c:
16848         * gst/gstevent.c:
16849         * gst/gstghostpad.c:
16850         * gst/gstinfo.c:
16851         * gst/gstpadtemplate.c:
16852         * gst/gstregistryxml.c:
16853         * gst/gsttaglist.c:
16854         * gst/gsttagsetter.c:
16855         * gst/gsttypefind.c:
16856         * gst/gstvalue.c:
16857         * libs/gst/base/gstbasesrc.c:
16858         * libs/gst/net/gstnetclientclock.c:
16859         * libs/gst/net/gstnettimeprovider.c:
16860         * plugins/elements/gstfakesrc.c:
16861         * plugins/elements/gstfdsrc.c:
16862         * plugins/elements/gstfilesrc.c:
16863         * plugins/elements/gstidentity.c:
16864         * plugins/elements/gstqueue.c:
16865         * plugins/elements/gsttypefindelement.c:
16866         * plugins/indexers/gstfileindex.c:
16867         * plugins/indexers/gstmemindex.c:
16868         * tests/check/gst/gsttag.c:
16869         * tests/old/examples/cutter/cutter.c:
16870         * tests/old/examples/mixer/mixer.c:
16871         * tests/old/examples/xml/runxml.c: (main):
16872         * tests/old/testsuite/caps/normalisation.c:
16873         * tests/old/testsuite/debug/global.c:
16874         * tests/old/testsuite/parse/parse1.c:
16875         * tools/gst-xmlinspect.c:
16876         * win32/common/dirent.c:
16877           expand tabs
16878
16879 === release 0.10.0 ===
16880
16881 2005-12-05  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
16882
16883         * configure.ac:
16884           releasing 0.10.0, "Maroilles"
16885
16886 2005-12-05  Thomas Vander Stichele  <thomas at apestaart dot org>
16887
16888         submitted by: Funda Wang <fundawang@linux.net.cn>
16889
16890         * po/LINGUAS:
16891         * po/zh_CN.po:
16892           added Chinese (Traditional) translation
16893
16894 2005-12-05  Thomas Vander Stichele  <thomas at apestaart dot org>
16895
16896         * docs/gst/gstreamer-sections.txt:
16897         * docs/libs/tmpl/gstdataprotocol.sgml:
16898         * docs/random/thomasvs/TODO:
16899         * gst/gstutils.c:
16900         * gst/gstutils.h:
16901           fix docs
16902
16903 2005-12-05  Andy Wingo  <wingo@pobox.com>
16904
16905         patch by: Wim Taymans <wim@fluendo.com>
16906
16907         * libs/gst/base/gstbasetransform.c
16908         (gst_base_transform_prepare_output_buf)
16909         (gst_base_transform_buffer_alloc):
16910         * plugins/elements/gstqueue.c (gst_queue_bufferalloc): Call
16911         alloc_buffer_and_set_caps.
16912
16913         * gst/gstpad.c (gst_pad_alloc_buffer): Changed to not call
16914         set_caps on the source pad.
16915         (gst_pad_alloc_buffer_and_set_caps): New function, does what
16916         alloc_buffer used to do. Fixes #322874.
16917
16918         * docs/gst/gstreamer-sections.txt: 
16919         * docs/design/part-negotiation.txt: 
16920         * docs/pwg/advanced-negotiation.xml: Update for the alloc_buffer
16921         changes.
16922
16923 2005-12-05  Thomas Vander Stichele  <thomas at apestaart dot org>
16924
16925         patch by: Sebastien Moutte
16926
16927         * win32/MANIFEST:
16928         * win32/common/config.h.in:
16929         * win32/vs6/libgstcontroller.dsp:
16930           win32 build fixes
16931
16932 2005-12-05  Wim Taymans  <wim@fluendo.com>
16933
16934         * gst/gstcaps.c: (gst_caps_is_equal):
16935         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
16936         (gst_fake_src_create):
16937         Back out previous code changes, leave doc updates, file bugs 
16938         instead. 
16939
16940 2005-12-05  Wim Taymans  <wim@fluendo.com>
16941
16942         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
16943         (gst_fake_src_get_times), (gst_fake_src_create):
16944         * plugins/elements/gstfakesrc.h:
16945         Fix broken sync code.
16946
16947 2005-12-05  Wim Taymans  <wim@fluendo.com>
16948
16949         * gst/gstcaps.c: (gst_caps_is_equal):
16950         Comparing NULL against !NULL yields different caps, not a
16951         failure.
16952
16953 2005-12-05  Wim Taymans  <wim@fluendo.com>
16954
16955         * gst/gstpipeline.c:
16956         Fix small typo in docs.
16957
16958 2005-12-05  Andy Wingo  <wingo@pobox.com>
16959
16960         patch by: Thomas Vander Stichele  <thomas at apestaart dot org>
16961
16962         * gst/gst.c (init_post): remove hard-coded 0.9 location for
16963         registries/plugins with a MAJORMINOR one.
16964         (plugin_desc): Rename library from gstcoreleements to
16965         staticelements. Fixes #323222.
16966
16967 2005-12-05  Tim-Philipp Müller  <tim at centricular dot net>
16968
16969         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init):
16970           Change debug category to 'collectpads' from 'collect_pads'
16971           (fixes #323250).
16972
16973 2005-12-04  Thomas Vander Stichele  <thomas at apestaart dot org>
16974
16975         patch by: Sebastien Moutte
16976
16977         * libs/gst/controller/gstinterpolation.c:
16978           use convert function for uint64/double
16979         * win32/vs6/libgstcontroller.dsp:
16980           link to GLib
16981
16982 2005-12-04  Thomas Vander Stichele  <thomas at apestaart dot org>
16983
16984         * gst/gstutils.c: (gst_util_guint64_to_gdouble),
16985         (gst_util_gdouble_to_guint64), (gst_util_uint64_scale_int64):
16986         * gst/gstutils.h:
16987         * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
16988           add tests that seem to show that the guint64/gdouble conversions
16989           are correct.
16990
16991 2005-12-02  Wim Taymans  <wim@fluendo.com>
16992
16993         * gst/gstregistry.c: (gst_registry_add_path):
16994         * gst/gstregistry.h:
16995         * gst/gstregistryxml.c:
16996         Fix docs again.
16997
16998 2005-12-02  Wim Taymans  <wim@fluendo.com>
16999
17000         * gst/gstutils.c: (gst_util_uint64_scale_int64),
17001         (gst_util_uint64_scale_int):
17002         Small cleanup.
17003
17004         * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object):
17005         Add debug log line.
17006
17007         * libs/gst/base/gstbasetransform.c: (gst_base_transform_event):
17008         Add FIXME.
17009
17010 2005-12-02  Thomas Vander Stichele  <thomas at apestaart dot org>
17011
17012         * win32/MANIFEST:
17013         * win32/common/config.h:
17014         * win32/vs6/gstreamer.dsw:
17015         * win32/vs6/libgstcoreelements.dsp:
17016         * win32/vs6/libgstelements.dsp:
17017           renamed core elements plugin
17018
17019 2005-12-02  Thomas Vander Stichele  <thomas at apestaart dot org>
17020
17021         * tools/gst-run.c: (compare_major_minor), (find_highest_version),
17022         (get_candidates):
17023           do piece-wise major/minor comparison so 0.9 < 0.10
17024           also allow .exe extensions for tools
17025
17026 2005-12-02  Michael Smith  <msmith@fluendo.com>
17027
17028         * gst/gst.c:
17029           Escape a % to make gtkdoc happier; bug 322958.
17030
17031 === release 0.9.7 ===
17032
17033 2005-12-01  Thomas Vander Stichele <thomas (at) apestaart (dot) org>
17034
17035         * configure.ac:
17036           releasing 0.9.7, "My Dog Has No Nose"
17037
17038 2005-12-01  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
17039
17040         * common/gst-xmlinspect.py:
17041         * configure.ac:
17042         * docs/libs/tmpl/gstdataprotocol.sgml:
17043         * docs/random/release:
17044         * po/af.po:
17045         * po/az.po:
17046         * po/bg.po:
17047         * po/ca.po:
17048         * po/cs.po:
17049         * po/de.po:
17050         * po/en_GB.po:
17051         * po/fr.po:
17052         * po/it.po:
17053         * po/nb.po:
17054         * po/nl.po:
17055         * po/ru.po:
17056         * po/sq.po:
17057         * po/sr.po:
17058         * po/sv.po:
17059         * po/tr.po:
17060         * po/uk.po:
17061         * po/vi.po:
17062         * win32/common/config.h:
17063         * win32/common/config.h.in:
17064         * win32/vs6/gst_inspect.dsp:
17065         * win32/vs6/gst_launch.dsp:
17066         * win32/vs6/libgstbase.dsp:
17067         * win32/vs6/libgstelements.dsp:
17068         * win32/vs6/libgstreamer.dsp:
17069         * win32/vs7/GStreamer.vcproj:
17070         * win32/vs7/gst-inspect.vcproj:
17071         * win32/vs7/gst-launch.vcproj:
17072         * win32/vs7/libgstbase.vcproj:
17073           bump GST_MAJORMINOR to 0.10
17074           reset libtool version
17075
17076 2005-12-01  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
17077
17078         * po/LINGUAS:
17079         * po/bg.po:
17080           Added Bulgarian translation by (Alexander Shopov)
17081
17082 2005-12-01  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
17083
17084         * tests/check/gst/gstplugin.c:
17085           fix test
17086
17087 2005-12-01  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
17088
17089         * common/gst-xmlinspect.py:
17090         * common/gtk-doc-plugins.mak:
17091         * configure.ac:
17092         * docs/Makefile.am:
17093         * docs/gst/Makefile.am:
17094         * docs/gst/gstreamer-docs.sgml:
17095         * docs/gst/gstreamer-sections.txt:
17096         * docs/gst/gstreamer.types:
17097         * docs/gst/gstreamer.types.in:
17098         * docs/plugins/Makefile.am:
17099         * docs/plugins/gstreamer-plugins-docs.sgml:
17100         * docs/plugins/gstreamer-plugins-sections.txt:
17101         * docs/plugins/gstreamer-plugins.types:
17102         * docs/plugins/inspect.stamp:
17103         * docs/plugins/inspect/plugin-coreelements.xml:
17104         * docs/plugins/inspect/plugin-coreindexers.xml:
17105         * docs/plugins/scanobj-build.stamp:
17106         * gstreamer.spec.in:
17107         * plugins/elements/Makefile.am:
17108         * plugins/elements/gstelements.c:
17109         * plugins/elements/gstfakesink.c:
17110         * plugins/elements/gstfakesrc.c:
17111         * plugins/elements/gstfilesink.c:
17112         * plugins/elements/gstfilesrc.c:
17113         * plugins/elements/gstqueue.c:
17114         * plugins/indexers/Makefile.am:
17115         * plugins/indexers/gstindexers.c:
17116           document core plugins in a separate document just like all the
17117           others
17118           rename these plugins to something starting with core
17119
17120 2005-12-01  Andy Wingo  <wingo@pobox.com>
17121
17122         * gst/gstevent.h (struct _GstEvent): Meant to remove the extra
17123         padding here before, but it missed the commit.
17124
17125 2005-12-01  Thomas Vander Stichele  <thomas at apestaart dot org>
17126
17127         * libs/gst/controller/gstinterpolation.c:
17128           whitespace prices have crashed, we should feel free to use some now
17129           use gst_guint64_to_gdouble
17130
17131 2005-12-01  Thomas Vander Stichele  <thomas at apestaart dot org>
17132
17133         * libs/gst/controller/gstcontroller.c:
17134         * libs/gst/controller/gsthelper.c:
17135         * libs/gst/controller/gstinterpolation.c:
17136         * libs/gst/controller/lib.c:
17137           wrap config.h include
17138
17139 2005-12-01  Thomas Vander Stichele  <thomas at apestaart dot org>
17140
17141         * docs/gst/gstreamer-sections.txt:
17142           update docs
17143
17144 2005-12-01  Thomas Vander Stichele  <thomas at apestaart dot org>
17145
17146         * plugins/elements/gstelements.c:
17147         * plugins/elements/gstfdsink.c: (gst_fd_sink__base_init),
17148         (gst_fd_sink__class_init), (gst_fd_sink__init),
17149         (gst_fd_sink__chain), (gst_fd_sink__set_property),
17150         (gst_fd_sink__get_property):
17151         * plugins/elements/gstfdsink.h:
17152         * plugins/elements/gstfdsrc.c: (_do_init), (gst_fd_src_base_init),
17153         (gst_fd_src_class_init), (gst_fd_src_init), (gst_fd_src_dispose),
17154         (gst_fd_src_update_fd), (gst_fd_src_start), (gst_fd_src_stop),
17155         (gst_fd_src_unlock), (gst_fd_src_set_property),
17156         (gst_fd_src_get_property), (gst_fd_src_create),
17157         (gst_fd_src_is_seekable), (gst_fd_src_get_size),
17158         (gst_fd_src_uri_get_type), (gst_fd_src_uri_get_protocols),
17159         (gst_fd_src_uri_get_uri), (gst_fd_src_uri_set_uri),
17160         (gst_fd_src_uri_handler_init):
17161         * plugins/elements/gstfdsrc.h:
17162         * plugins/elements/gstqueue.c: (gst_queue_get_type):
17163           more anal cleanup
17164
17165 2005-11-30  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
17166
17167         * docs/gst/Makefile.am:
17168         * docs/gst/gstreamer.types.in:
17169         * gst/Makefile.am:
17170           fix the docs build
17171
17172 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
17173
17174         * configure.ac:
17175         * gst/Makefile.am:
17176         * gst/gst.c:
17177         * gst/gstplugin.h:
17178         * gst/gstregistry.h:
17179         * tests/benchmarks/complexity.c:
17180         * tests/benchmarks/mass-elements.c:
17181         * tests/check/Makefile.am:
17182         * tools/Makefile.am:
17183         * tools/gst-inspect.c:
17184         * tools/gst-xmlinspect.c:
17185           various fixes to make
17186           --disable-nls --disable-registry --disable-loadsave
17187           --disable-parse --disable-gst-debug
17188           work and get the core .so down to 360444 bytes after stripping
17189
17190 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
17191
17192         * Makefile.am:
17193         * configure.ac:
17194           descend into tests
17195         * docs/random/thomasvs/TODO:
17196         * tests/Makefile.am:
17197         * tests/README:
17198           add a README
17199
17200 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
17201
17202         * win32/GStreamer.vcproj:
17203         * win32/MANIFEST:
17204         * win32/Makefile:
17205         * win32/Makefile.inspect:
17206         * win32/Makefile.launch:
17207         * win32/Makefile.register:
17208         * win32/README.txt:
17209         * win32/gst-inspect.vcproj:
17210         * win32/gst-launch.vcproj:
17211         * win32/gst-register.vcproj:
17212         * win32/gstelements.vcproj:
17213         * win32/gstgetbits.def:
17214         * win32/gstgetbits.vcproj:
17215         * win32/gstreamer-dbg.def:
17216         * win32/gstreamer.def:
17217         * win32/libgstbase.def:
17218         * win32/libgstbase.vcproj:
17219         * win32/link_oldruntime.c:
17220         * win32/mman.c:
17221         * win32/mman.h:
17222         * win32/mman.inl:
17223         * win32/msvc71.sln:
17224           move even more stuff, win32/ is nice and clean now
17225
17226 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
17227
17228         * libs/gst/control/.cvsignore:
17229         * win32/MANIFEST:
17230         * win32/config.h:
17231         * win32/dirent.c:
17232         * win32/dirent.h:
17233         * win32/gstbytestream.def:
17234         * win32/gstbytestream.vcproj:
17235         * win32/gstconfig.h:
17236         * win32/gstenumtypes.c:
17237         * win32/gstenumtypes.h:
17238         * win32/gstoptimalscheduler.vcproj:
17239         * win32/gstversion.h:
17240         * win32/gtchar.h:
17241         * win32/testsuite/bins.vcproj:
17242         * win32/testsuite/bytestream.vcproj:
17243         * win32/testsuite/caps.vcproj:
17244         * win32/testsuite/cleanup.vcproj:
17245         * win32/testsuite/clock.vcproj:
17246         * win32/testsuite/debug.vcproj:
17247         * win32/testsuite/dlopen.vcproj:
17248         * win32/testsuite/dynparams.vcproj:
17249         * win32/testsuite/elements.vcproj:
17250         * win32/testsuite/ghostpads.vcproj:
17251         * win32/testsuite/indexers.vcproj:
17252         * win32/testsuite/negotiation.vcproj:
17253         * win32/testsuite/parse.vcproj:
17254         * win32/testsuite/plugin.vcproj:
17255         * win32/testsuite/refcounting.vcproj:
17256         * win32/testsuite/schedulers.vcproj:
17257         * win32/testsuite/states.vcproj:
17258         * win32/testsuite/tags.vcproj:
17259         * win32/testsuite/threads.vcproj:
17260           remove old win32 stuff that isn't maintained and should be
17261           reorganized
17262
17263 2005-11-30  Andy Wingo  <wingo@pobox.com>
17264
17265         * configure.ac (GST_PKG_DEPS): Revert previous patch, makes
17266         loading the gst.interfaces python module bork.
17267
17268         * configure.ac (GST_PKG_DEPS): Use gmodule-no-export-2.0.pc,
17269         available since GLib 2.2. Fixes #318031.
17270
17271 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
17272
17273         * Makefile.am:
17274         * check/.cvsignore:
17275         * check/Makefile.am:
17276         * check/elements/.cvsignore:
17277         * check/elements/fakesrc.c:
17278         * check/elements/fdsrc.c:
17279         * check/elements/identity.c:
17280         * check/generic/.cvsignore:
17281         * check/generic/states.c:
17282         * check/gst-libs/.cvsignore:
17283         * check/gst-libs/controller.c:
17284         * check/gst-libs/gdp.c:
17285         * check/gst/.cvsignore:
17286         * check/gst/capslist.h:
17287         * check/gst/gst.c:
17288         * check/gst/gstbin.c:
17289         * check/gst/gstbuffer.c:
17290         * check/gst/gstbus.c:
17291         * check/gst/gstcaps.c:
17292         * check/gst/gstelement.c:
17293         * check/gst/gstevent.c:
17294         * check/gst/gstghostpad.c:
17295         * check/gst/gstiterator.c:
17296         * check/gst/gstmessage.c:
17297         * check/gst/gstminiobject.c:
17298         * check/gst/gstobject.c:
17299         * check/gst/gstpad.c:
17300         * check/gst/gstpipeline.c:
17301         * check/gst/gstplugin.c:
17302         * check/gst/gstsegment.c:
17303         * check/gst/gststructure.c:
17304         * check/gst/gstsystemclock.c:
17305         * check/gst/gsttag.c:
17306         * check/gst/gstutils.c:
17307         * check/gst/gstvalue.c:
17308         * check/net/.cvsignore:
17309         * check/net/gstnetclientclock.c:
17310         * check/net/gstnettimeprovider.c:
17311         * check/pipelines/.cvsignore:
17312         * check/pipelines/cleanup.c:
17313         * check/pipelines/simple_launch_lines.c:
17314         * check/pipelines/stress.c:
17315         * check/states/.cvsignore:
17316         * check/states/sinks.c:
17317         * configure.ac:
17318         * examples/Makefile.am:
17319         * examples/appreader/.cvsignore:
17320         * examples/appreader/Makefile.am:
17321         * examples/appreader/appreader.c:
17322         * examples/controller/.cvsignore:
17323         * examples/controller/Makefile.am:
17324         * examples/controller/audio-example.c:
17325         * examples/cutter/.cvsignore:
17326         * examples/cutter/Makefile.am:
17327         * examples/cutter/cutter.c:
17328         * examples/cutter/cutter.h:
17329         * examples/events/Makefile.am:
17330         * examples/events/seek.c:
17331         * examples/helloworld/.cvsignore:
17332         * examples/helloworld/Makefile.am:
17333         * examples/helloworld/helloworld.c:
17334         * examples/helloworld2/.cvsignore:
17335         * examples/helloworld2/Makefile.am:
17336         * examples/helloworld2/helloworld2.c:
17337         * examples/launch/.cvsignore:
17338         * examples/launch/Makefile.am:
17339         * examples/launch/mp3parselaunch.c:
17340         * examples/launch/mp3play:
17341         * examples/manual/.cvsignore:
17342         * examples/manual/Makefile.am:
17343         * examples/manual/extract.pl:
17344         * examples/metadata/Makefile.am:
17345         * examples/metadata/read-metadata.c:
17346         * examples/mixer/.cvsignore:
17347         * examples/mixer/Makefile.am:
17348         * examples/mixer/mixer.c:
17349         * examples/mixer/mixer.h:
17350         * examples/pingpong/.cvsignore:
17351         * examples/pingpong/Makefile.am:
17352         * examples/pingpong/pingpong.c:
17353         * examples/plugins/.cvsignore:
17354         * examples/plugins/Makefile.am:
17355         * examples/plugins/example.c:
17356         * examples/plugins/example.h:
17357         * examples/pwg/.cvsignore:
17358         * examples/pwg/Makefile.am:
17359         * examples/pwg/extract.pl:
17360         * examples/queue/.cvsignore:
17361         * examples/queue/Makefile.am:
17362         * examples/queue/queue.c:
17363         * examples/queue2/.cvsignore:
17364         * examples/queue2/Makefile.am:
17365         * examples/queue2/queue2.c:
17366         * examples/queue3/.cvsignore:
17367         * examples/queue3/Makefile.am:
17368         * examples/queue3/queue3.c:
17369         * examples/queue4/.cvsignore:
17370         * examples/queue4/Makefile.am:
17371         * examples/queue4/queue4.c:
17372         * examples/retag/.cvsignore:
17373         * examples/retag/Makefile.am:
17374         * examples/retag/retag.c:
17375         * examples/retag/transcode.c:
17376         * examples/thread/.cvsignore:
17377         * examples/thread/Makefile.am:
17378         * examples/thread/thread.c:
17379         * examples/typefind/.cvsignore:
17380         * examples/typefind/Makefile.am:
17381         * examples/typefind/typefind.c:
17382         * examples/xml/.cvsignore:
17383         * examples/xml/Makefile.am:
17384         * examples/xml/createxml.c:
17385         * examples/xml/runxml.c:
17386         * tests/Makefile.am:
17387         * tests/check/Makefile.am:
17388         * testsuite/.cvsignore:
17389         * testsuite/Makefile.am:
17390         * testsuite/Rules:
17391         * testsuite/caps/.cvsignore:
17392         * testsuite/caps/Makefile.am:
17393         * testsuite/caps/app_fixate.c:
17394         * testsuite/caps/audioscale.c:
17395         * testsuite/caps/caps.c:
17396         * testsuite/caps/caps.h:
17397         * testsuite/caps/caps_strings:
17398         * testsuite/caps/compatibility.c:
17399         * testsuite/caps/deserialize.c:
17400         * testsuite/caps/enumcaps.c:
17401         * testsuite/caps/eratosthenes.c:
17402         * testsuite/caps/filtercaps.c:
17403         * testsuite/caps/fixed.c:
17404         * testsuite/caps/fraction-convert.c:
17405         * testsuite/caps/fraction-multiply-and-zero.c:
17406         * testsuite/caps/intersect2.c:
17407         * testsuite/caps/intersection.c:
17408         * testsuite/caps/normalisation.c:
17409         * testsuite/caps/random.c:
17410         * testsuite/caps/renegotiate.c:
17411         * testsuite/caps/sets.c:
17412         * testsuite/caps/simplify.c:
17413         * testsuite/caps/string-conversions.c:
17414         * testsuite/caps/structure.c:
17415         * testsuite/caps/subtract.c:
17416         * testsuite/caps/union.c:
17417         * testsuite/debug/.cvsignore:
17418         * testsuite/debug/Makefile.am:
17419         * testsuite/debug/category.c:
17420         * testsuite/debug/commandline.c:
17421         * testsuite/debug/global.c:
17422         * testsuite/debug/output.c:
17423         * testsuite/debug/printf_extension.c:
17424         * testsuite/dlopen/.cvsignore:
17425         * testsuite/dlopen/Makefile.am:
17426         * testsuite/dlopen/dlopen_gst.c:
17427         * testsuite/dlopen/loadgst.c:
17428         * testsuite/elements/.cvsignore:
17429         * testsuite/elements/Makefile.am:
17430         * testsuite/elements/gst-inspect-check.in:
17431         * testsuite/elements/struct_i386.h:
17432         * testsuite/elements/struct_size.c:
17433         * testsuite/indexers/.cvsignore:
17434         * testsuite/indexers/Makefile.am:
17435         * testsuite/indexers/cache1.c:
17436         * testsuite/indexers/indexdump.c:
17437         * testsuite/parse/.cvsignore:
17438         * testsuite/parse/Makefile.am:
17439         * testsuite/parse/parse1.c:
17440         * testsuite/parse/parse2.c:
17441         * testsuite/plugin/.cvsignore:
17442         * testsuite/plugin/Makefile.am:
17443         * testsuite/plugin/README:
17444         * testsuite/plugin/dynamic.c:
17445         * testsuite/plugin/linked.c:
17446         * testsuite/plugin/loading.c:
17447         * testsuite/plugin/registry.c:
17448         * testsuite/plugin/static.c:
17449         * testsuite/plugin/static2.c:
17450         * testsuite/plugin/testplugin.c:
17451         * testsuite/plugin/testplugin2.c:
17452         * testsuite/plugin/testplugin2_s.c:
17453         * testsuite/plugin/testplugin_s.c:
17454         * testsuite/refcounting/.cvsignore:
17455         * testsuite/refcounting/Makefile.am:
17456         * testsuite/refcounting/bin.c:
17457         * testsuite/refcounting/element.c:
17458         * testsuite/refcounting/element_pad.c:
17459         * testsuite/refcounting/mainloop.c:
17460         * testsuite/refcounting/mem.c:
17461         * testsuite/refcounting/mem.h:
17462         * testsuite/refcounting/object.c:
17463         * testsuite/refcounting/pad.c:
17464         * testsuite/refcounting/sched.c:
17465         * testsuite/refcounting/thread.c:
17466         * testsuite/states/.cvsignore:
17467         * testsuite/states/Makefile.am:
17468         * testsuite/states/bin.c:
17469         * testsuite/states/locked.c:
17470         * testsuite/states/parent.c:
17471         * testsuite/threads/.cvsignore:
17472         * testsuite/threads/159566.c:
17473         * testsuite/threads/159852.c:
17474         * testsuite/threads/Makefile.am:
17475         * testsuite/threads/queue.c:
17476         * testsuite/threads/signals.c:
17477         * testsuite/threads/staticrec.c:
17478         * testsuite/threads/thread.c:
17479         * testsuite/threads/threadb.c:
17480         * testsuite/threads/threadc.c:
17481         * testsuite/threads/threadd.c:
17482         * testsuite/threads/threade.c:
17483         * testsuite/threads/threadf.c:
17484         * testsuite/threads/threadg.c:
17485         * testsuite/threads/threadh.c:
17486         * testsuite/threads/threadi.c:
17487           move all of these under tests
17488
17489 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
17490
17491         * configure.ac:
17492         * tests/Makefile.am:
17493           fix distcheck
17494
17495 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
17496
17497         * docs/gst/gstreamer-sections.txt:
17498         * tests/sched/.cvsignore:
17499         * tests/sched/Makefile.am:
17500         * tests/sched/cases/(fs-fs).xml:
17501         * tests/sched/cases/(fs-i-fs).xml:
17502         * tests/sched/cases/(fs-i-i-fs).xml:
17503         * tests/sched/cases/(fs-i-q[i-fs]).xml:
17504         * tests/sched/dynamic-pipeline.c:
17505         * tests/sched/interrupt1.c:
17506         * tests/sched/interrupt2.c:
17507         * tests/sched/interrupt3.c:
17508         * tests/sched/runtestcases:
17509         * tests/sched/runxml.c:
17510         * tests/sched/sched-stress.c:
17511         * tests/sched/sort.c:
17512         * tests/sched/testcases:
17513         * tests/sched/testcases1.tc:
17514         * tests/seeking/.cvsignore:
17515         * tests/seeking/Makefile.am:
17516         * tests/seeking/seeking1.c:
17517         * tests/threadstate/.cvsignore:
17518         * tests/threadstate/Makefile.am:
17519         * tests/threadstate/test1.c:
17520         * tests/threadstate/test2.c:
17521         * tests/threadstate/threadstate1.c:
17522         * tests/threadstate/threadstate2.c:
17523         * tests/threadstate/threadstate3.c:
17524         * tests/threadstate/threadstate4.c:
17525         * tests/threadstate/threadstate5.c:
17526           remove obsolete tests
17527         * configure.ac:
17528         * tests/bench-complexity.scm:
17529         * tests/bench-mass_elements.scm:
17530         * tests/complexity.c:
17531         * tests/complexity.gnuplot:
17532         * tests/instantiate/.cvsignore:
17533         * tests/instantiate/Makefile.am:
17534         * tests/instantiate/caps.c:
17535         * tests/mass_elements.c:
17536         * tests/network-clock-utils.scm:
17537         * tests/network-clock.scm:
17538         * tests/plot-data:
17539         First pass at cleaning up tests/ dir before moving the rest
17540         Combined with CVS surgery
17541
17542 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
17543
17544         * po/POTFILES.in:
17545           queue has moved, update
17546
17547 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
17548
17549         * docs/gst/gstreamer-sections.txt:
17550           remove double entries from the docs
17551         * gst/gst_private.h:
17552         * gst/gstinfo.c: (_gst_debug_init):
17553           remove the THREAD debug category
17554         * gst/Makefile.am:
17555         * gst/gstqueue.c:
17556         * gst/gstqueue.h:
17557         * docs/gst/gstreamer.types:
17558         * plugins/elements/gstqueue.c: (gst_queue_get_type),
17559         (gst_queue_init), (gst_queue_finalize), (gst_queue_change_state):
17560           completely move queue and fix up debugging categories
17561
17562 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
17563
17564         * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
17565           make initialization portable, using LL is not
17566
17567 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
17568
17569         * win32/common/gstconfig.h:
17570           add large padding
17571
17572 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
17573
17574         * win32/common/libgstreamer.def:
17575           rename symbols; sort base section
17576
17577 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
17578
17579         * gst/gstclock.c: (do_linear_regression):
17580           remove crack non-portable handrolled DEBUG macro
17581
17582 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
17583
17584         * docs/random/release:
17585           update notes
17586         * win32/common/gstenumtypes.c: (register_gst_object_flags),
17587         (gst_object_flags_get_type), (register_gst_bin_flags),
17588         (gst_bin_flags_get_type), (register_gst_buffer_flag),
17589         (gst_buffer_flag_get_type), (register_gst_bus_flags),
17590         (gst_bus_flags_get_type), (register_gst_bus_sync_reply),
17591         (gst_bus_sync_reply_get_type), (register_gst_caps_flags),
17592         (gst_caps_flags_get_type), (register_gst_clock_return),
17593         (gst_clock_return_get_type), (register_gst_clock_entry_type),
17594         (gst_clock_entry_type_get_type), (register_gst_clock_flags),
17595         (gst_clock_flags_get_type), (register_gst_state),
17596         (gst_state_get_type), (register_gst_state_change_return),
17597         (gst_state_change_return_get_type), (register_gst_state_change),
17598         (gst_state_change_get_type), (register_gst_element_flags),
17599         (gst_element_flags_get_type), (register_gst_core_error),
17600         (gst_core_error_get_type), (register_gst_library_error),
17601         (gst_library_error_get_type), (register_gst_resource_error),
17602         (gst_resource_error_get_type), (register_gst_stream_error),
17603         (gst_stream_error_get_type), (register_gst_event_type_flags),
17604         (gst_event_type_flags_get_type), (register_gst_event_type),
17605         (gst_event_type_get_type), (register_gst_seek_type),
17606         (gst_seek_type_get_type), (register_gst_seek_flags),
17607         (gst_seek_flags_get_type), (register_gst_format),
17608         (gst_format_get_type), (register_gst_index_certainty),
17609         (gst_index_certainty_get_type), (register_gst_index_entry_type),
17610         (gst_index_entry_type_get_type),
17611         (register_gst_index_lookup_method),
17612         (gst_index_lookup_method_get_type), (register_gst_assoc_flags),
17613         (gst_assoc_flags_get_type), (register_gst_index_resolver_method),
17614         (gst_index_resolver_method_get_type), (register_gst_index_flags),
17615         (gst_index_flags_get_type), (register_gst_debug_level),
17616         (gst_debug_level_get_type), (register_gst_debug_color_flags),
17617         (gst_debug_color_flags_get_type), (register_gst_iterator_result),
17618         (gst_iterator_result_get_type), (register_gst_iterator_item),
17619         (gst_iterator_item_get_type), (register_gst_message_type),
17620         (gst_message_type_get_type), (register_gst_mini_object_flags),
17621         (gst_mini_object_flags_get_type), (register_gst_pad_link_return),
17622         (gst_pad_link_return_get_type), (register_gst_flow_return),
17623         (gst_flow_return_get_type), (register_gst_activate_mode),
17624         (gst_activate_mode_get_type), (register_gst_pad_direction),
17625         (gst_pad_direction_get_type), (register_gst_pad_flags),
17626         (gst_pad_flags_get_type), (register_gst_pad_presence),
17627         (gst_pad_presence_get_type), (register_gst_pad_template_flags),
17628         (gst_pad_template_flags_get_type), (register_gst_pipeline_flags),
17629         (gst_pipeline_flags_get_type), (register_gst_plugin_error),
17630         (gst_plugin_error_get_type), (register_gst_plugin_flags),
17631         (gst_plugin_flags_get_type), (register_gst_rank),
17632         (gst_rank_get_type), (register_gst_query_type),
17633         (gst_query_type_get_type), (register_gst_tag_merge_mode),
17634         (gst_tag_merge_mode_get_type), (register_gst_tag_flag),
17635         (gst_tag_flag_get_type), (register_gst_task_state),
17636         (gst_task_state_get_type), (register_gst_alloc_trace_flags),
17637         (gst_alloc_trace_flags_get_type),
17638         (register_gst_type_find_probability),
17639         (gst_type_find_probability_get_type), (register_gst_uri_type),
17640         (gst_uri_type_get_type), (register_gst_parse_error),
17641         (gst_parse_error_get_type):
17642         * win32/common/gstenumtypes.h:
17643         * win32/common/gstversion.h:
17644           update visual studio generated files
17645
17646 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
17647
17648         * win32/vs6/libgstbase.dsp:
17649         * win32/vs6/libgstelements.dsp:
17650           update project files for new locations
17651
17652 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
17653
17654         * Makefile.am:
17655           remove some files
17656         * README:
17657           reinstate and update
17658         * DEVEL:
17659         * REQUIREMENTS:
17660           removed
17661         * LICENSE:
17662         * docs/random/LICENSE:
17663           moved to random
17664
17665 2005-11-30  Edward Hervey  <edward@fluendo.com>
17666
17667         * gst/gsttypefind.c: (gst_type_find_register):
17668         * gst/gsttypefind.h:
17669         * gst/gsttypefindfactory.c: (gst_type_find_factory_init),
17670         (gst_type_find_factory_dispose):
17671         * gst/gsttypefindfactory.h:
17672         Fix memory leak in GstTypeFindFactory.
17673
17674 2005-11-29  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
17675
17676         * gst/gst.c:
17677         * plugins/elements/Makefile.am:
17678         * plugins/elements/gstelements.c:
17679         * plugins/elements/gstqueue.c:
17680           move queue from core to the elements plugin
17681
17682 2005-11-29  Andy Wingo  <wingo@pobox.com>
17683
17684         * libs/gst/base/gstbasetransform.h: 
17685         * libs/gst/base/gstbasesrc.h: 
17686         * libs/gst/base/gstbasesink.h: en-LARGE the padding.
17687
17688         * gst/gstconfig.h.in (GST_PADDING_LARGE): New define, the number
17689         of pointers by which to pad very extensible base classes (like the
17690         ones in libs/gst/base).
17691
17692 2005-11-29  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
17693
17694         * docs/gst/gstreamer-docs.sgml:
17695         * docs/gst/gstreamer-sections.txt:
17696         * docs/libs/gstreamer-libs-docs.sgml:
17697         * docs/libs/gstreamer-libs-sections.txt:
17698           moving documentation from core to lib
17699
17700 2005-11-29  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
17701
17702         * check/Makefile.am:
17703         * configure.ac:
17704         * docs/gst/Makefile.am:
17705         * gst/Makefile.am:
17706         * gst/base/.cvsignore:
17707         * gst/base/Makefile.am:
17708         * gst/base/README:
17709         * gst/base/gstadapter.c:
17710         * gst/base/gstadapter.h:
17711         * gst/base/gstbasesink.c:
17712         * gst/base/gstbasesink.h:
17713         * gst/base/gstbasesrc.c:
17714         * gst/base/gstbasesrc.h:
17715         * gst/base/gstbasetransform.c:
17716         * gst/base/gstbasetransform.h:
17717         * gst/base/gstcollectpads.c:
17718         * gst/base/gstcollectpads.h:
17719         * gst/base/gstpushsrc.c:
17720         * gst/base/gstpushsrc.h:
17721         * gst/base/gsttypefindhelper.c:
17722         * gst/base/gsttypefindhelper.h:
17723         * gst/check/Makefile.am:
17724         * gst/check/gstcheck.c:
17725         * gst/check/gstcheck.h:
17726         * gst/net/Makefile.am:
17727         * gst/net/gstnet.h:
17728         * gst/net/gstnetclientclock.c:
17729         * gst/net/gstnetclientclock.h:
17730         * gst/net/gstnettimepacket.c:
17731         * gst/net/gstnettimepacket.h:
17732         * gst/net/gstnettimeprovider.c:
17733         * gst/net/gstnettimeprovider.h:
17734         * libs/gst/Makefile.am:
17735         * libs/gst/base/Makefile.am:
17736         * libs/gst/base/gstbasetransform.c:
17737         * libs/gst/check/Makefile.am:
17738         * plugins/elements/Makefile.am:
17739         * po/POTFILES.in:
17740           CVS surgery + support to move base, check, and net out of gst
17741           and into libs/gst
17742
17743 2005-11-29  Andy Wingo  <wingo@pobox.com>
17744
17745         * gst/gstevent.h (struct _GstEvent): Only one pointer of padding.
17746
17747         * gst/gststructure.h (struct _GstStructure): Only one pointer of
17748         padding.
17749
17750         * gst/gstquery.h (struct _GstQuery): Only one pointer of padding.
17751
17752         * gst/gstpluginfeature.h: Remove a comment in PluginFeature.
17753
17754         * gst/gstplugin.h (struct _GstPluginClass): Add some padding.
17755
17756         * gst/gstobject.h: (struct _GstObject): Only one pointer of
17757         padding; reduces object size by about 30%. We don't expect
17758         anything else to go into gstobject.
17759
17760         * gst/gstminiobject.h (struct _GstMiniObject)
17761         (struct _GstMiniObjectClass): Only one pointer of padding; the
17762         payload is only a pointer and two ints anyway. For the class there
17763         are only two methods as well.
17764         
17765         * gst/gstelement.h (struct _GstElementClass): Removed
17766         the state_changed signal callback, it is not used.
17767
17768 2005-11-29  Thomas Vander Stichele  <thomas at apestaart dot org>
17769
17770         * docs/gst/gstreamer.types:
17771           fix includes, though they are a little dinky
17772
17773 2005-11-29  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
17774
17775         * check/Makefile.am:
17776           look in the right place for elements, a lot more chance of
17777           success
17778         * gst/Makefile.am:
17779           remove indexers and elements subdirs
17780         * plugins/Makefile.am:
17781           make indexers conditional
17782
17783 2005-11-29  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
17784
17785         * Makefile.am:
17786         * configure.ac:
17787         * plugins/elements/Makefile.am:
17788         * plugins/elements/gstcapsfilter.c:
17789         * plugins/elements/gstfilesink.c:
17790         * plugins/elements/gstfilesrc.c:
17791         * plugins/elements/gstidentity.c:
17792         * plugins/indexers/Makefile.am:
17793           do CVS surgery and related build fixery to move elements
17794           and indexers in a new gstreamer/plugins directory, out of the
17795           gst/ directory
17796
17797 2005-11-29  Andy Wingo  <wingo@pobox.com>
17798
17799         * check/Makefile.am:
17800         * pkgconfig/gstreamer-net-uninstalled.pc.in:
17801         * pkgconfig/gstreamer-net.pc.in:
17802         * gst/net/Makefile.am: Rename gstnet-tempname to gstnet. Fixes
17803         #322257.
17804
17805 2005-11-29  Thomas Vander Stichele  <thomas at apestaart dot org>
17806
17807         * tools/Makefile.am:
17808         * tools/gst-complete.1.in:
17809         * tools/gst-complete.c:
17810         * tools/gst-compprep.1.in:
17811         * tools/gst-compprep.c:
17812           removing -compprep and -complete
17813
17814 2005-11-29  Thomas Vander Stichele  <thomas at apestaart dot org>
17815
17816         * gst/gstevent.c: (gst_event_new_new_segment),
17817         (gst_event_parse_new_segment):
17818         * gst/gstevent.h:
17819           fix #320529 - clean up new_segment API and structure.
17820           Let's hope everyone was using the methods, and not the structure.
17821
17822 2005-11-29  Edward Hervey  <edward@fluendo.com>
17823
17824         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
17825         (gst_base_sink_event), (gst_base_sink_do_sync),
17826         (gst_base_sink_activate_pull), (gst_base_sink_change_state):
17827         Properly handle non GST_FORMAT_TIME segment
17828         * gst/elements/gstidentity.c: (gst_identity_transform_ip):
17829         Properly handle non GST_FORMAT_TIME segment
17830         * gst/gstsegment.c:
17831         This function is valid if the accumulator is 0 and the format
17832         is different from the requested format.
17833         
17834 2005-11-29  Jan Schmidt  <thaytan@mad.scientist.com>
17835
17836         * docs/gst/gstreamer-sections.txt:
17837         Add gst_query_new_seeking and gst_query_parse_seeking to the
17838         docs.
17839
17840 2005-11-29  Jan Schmidt  <thaytan@mad.scientist.com>
17841
17842         * gst/base/gstbasetransform.c: (gst_base_transform_buffer_alloc):
17843           Treat a pad alloc with new caps the same as if we were not
17844           negotiated, in order to allow a changing upstream output
17845           to produce a new format of data.
17846
17847 2005-11-29  Edward Hervey  <edward@fluendo.com>
17848
17849         * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
17850         (gst_base_transform_event), (gst_base_transform_eventfunc):
17851         The event virtual method is now properly implemented, with a default
17852         handler
17853         Sub classes should call the parent_class event method. They should
17854         return FALSE if they had a problem handling the given event, or don't
17855         want GstBaseTransform to send that even downstream
17856         * gst/elements/gstidentity.c: (gst_identity_class_init),
17857         (gst_identity_init), (gst_identity_event),
17858         (gst_identity_transform_ip), (gst_identity_set_property),
17859         (gst_identity_get_property):
17860         * gst/elements/gstidentity.h:
17861         Added the single-segment boolean property.
17862         If set to TRUE, it will output a single segment of data, starting from
17863         0, will eat up all incoming newsegment, and modify the timestamp of the
17864         buffers accordingly
17865
17866 2005-11-29  Tim-Philipp Müller  <tim at centricular dot net>
17867
17868         * gst/gstghostpad.c: (gst_proxy_pad_get_target):
17869           Don't ref NULL target pad (#322751). Improve docs.
17870
17871 2005-11-29  Michael Smith  <msmith@fluendo.com>
17872
17873         * gst/gstregistryxml.c: (load_plugin):
17874           Don't crash if we failed to load a feature from a plugin. 
17875
17876 2005-11-28  Thomas Vander Stichele  <thomas at apestaart dot org>
17877
17878         * check/pipelines/simple_launch_lines.c: (setup_pipeline),
17879         (GST_START_TEST):
17880           use more check API and less GLib API
17881
17882 2005-11-28  Thomas Vander Stichele  <thomas at apestaart dot org>
17883
17884         * Makefile.am:
17885           don't run checks if we don't have check
17886         * common/check.mak:
17887           remove the registry when running make torture
17888         * docs/gst/gstreamer-sections.txt:
17889           remove second multiply
17890         * gst/gstqueue.c: (gst_queue_loop):
17891           fix a compile warning when disabling debug
17892
17893 2005-11-28  Jan Schmidt  <thaytan@mad.scientist.com>
17894
17895         * gst/gstinfo.h:
17896         Hey! Let's print the pad name if the pointer != NULL instead
17897         of when it == NULL :-)
17898
17899 2005-11-28  Wim Taymans  <wim@fluendo.com>
17900
17901         * check/gst/gstutils.c: (GST_START_TEST):
17902         Updated check, add some scaling accuracy checking code.
17903
17904         * gst/gstutils.c: (gst_util_div128_64),
17905         (gst_util_uint64_scale_int64), (gst_util_uint64_scale),
17906         (gst_util_uint64_scale_int):
17907         Fix 6 times faster division code. Optimize for common 
17908         1/1 and less common X/1 cases.
17909
17910 2005-11-28  Wim Taymans  <wim@fluendo.com>
17911
17912         * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
17913         More checks.
17914
17915         * gst/gstclock.c: (gst_clock_finalize), (gst_clock_set_master),
17916         (do_linear_regression), (gst_clock_add_observation):
17917         Cleanups.
17918         Release lock when the clock cannot be slaved.
17919         Catch the case where the regression returned an invalid denominator.
17920
17921         * gst/gstutils.c: (gst_util_div128_64_iterate),
17922         (gst_util_div128_64), (gst_util_uint64_scale_int64),
17923         (gst_util_uint64_scale), (gst_util_uint64_scale_int):
17924         Add protentially more performant non-iterative 128/64 divide function
17925         that unfortunatly does not work yet.
17926         Shortcut the trivial 0/X = 0 case.
17927         Remove the warnings on overflow.
17928
17929 2005-11-28  Thomas Vander Stichele  <thomas at apestaart dot org>
17930
17931         * gst/gstplugin.c: (gst_plugin_register_func):
17932           everything causing a plugin not to load should be at least a WARNING
17933
17934 2005-11-28  Stefan Kost  <ensonic@users.sf.net>
17935
17936         * docs/random/ensonic/dparams.txt:
17937           some TODOs for the next dev cycle
17938         * libs/gst/controller/gstcontroller.c:
17939         (gst_controlled_property_set_interpolation_mode),
17940         (gst_controlled_property_new):
17941         * libs/gst/controller/gstcontroller.h:
17942           use base type to assign acccessor functions
17943
17944 2005-11-28  Jan Schmidt  <thaytan@mad.scientist.com>
17945
17946         * check/Makefile.am:
17947         Oops, that should have been top_srcdir
17948
17949 2005-11-28  Jan Schmidt  <thaytan@mad.scientist.com>
17950
17951         * check/Makefile.am:
17952         * check/elements/fdsrc.c: (GST_START_TEST):
17953         Use a cmdline define to specify the location of a file to use for
17954         testing, to avoid breaking distcheck.
17955
17956 2005-11-28  Andy Wingo  <wingo@pobox.com>
17957
17958         * gst/gstpad.c (fixate_value): Use array functions for arrays.
17959
17960 2005-11-28  Edward Hervey  <edward@fluendo.com>
17961
17962         * tools/gst-launch.c: (main):
17963         Clarify the output strings, makes it easier to translate.
17964         Fixes #322626
17965
17966 2005-11-28  Thomas Vander Stichele  <thomas at apestaart dot org>
17967
17968         * gst/Makefile.am:
17969           don't try and build net if we don't even have <sys/socket.h>
17970
17971 2005-11-27  Jan Schmidt  <thaytan@mad.scientist.com>
17972
17973         * check/Makefile.am:
17974         * check/elements/fdsrc.c: (event_func), (setup_fdsrc),
17975         (cleanup_fdsrc), (GST_START_TEST), (fdsrc_suite), (main):
17976           Add tests for fdsrc seekability
17977
17978         * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init),
17979         (gst_fdsrc_init), (gst_fdsrc_update_fd), (gst_fdsrc_start),
17980         (gst_fdsrc_set_property), (gst_fdsrc_is_seekable),
17981         (gst_fdsrc_get_size), (gst_fdsrc_uri_set_uri):
17982         * gst/elements/gstfdsrc.h:
17983           fdsrc should not be a 'live' source.
17984           Implement seeking on seekable fd's.
17985
17986         * gst/gstquery.c: (gst_query_new_seeking),
17987         (gst_query_parse_seeking):
17988         * gst/gstquery.h:
17989           Implement SEEKING query functions: 
17990             *_new_seeking and *_parse_seeking
17991
17992 2005-11-27  Stefan Kost  <ensonic@users.sf.net>
17993
17994         * gst/gstelement.c: (gst_element_dispose):
17995           don't loop forever
17996
17997         * gst/gstiterator.c:
17998         * gst/gststructure.c:
17999           doc fixes
18000
18001         * libs/gst/controller/gstcontroller.c:
18002         (gst_controlled_property_set_interpolation_mode):
18003         * libs/gst/controller/gstcontroller.h:
18004         * libs/gst/controller/gstinterpolation.c:
18005         (interpolate_none_get_enum_value_array):
18006           support controlling enums
18007
18008 2005-11-27  Tim-Philipp Müller  <tim at centricular dot net>
18009
18010         * gst/gstvalue.c:
18011           Improve documentation for gst_value_union().
18012
18013         * gst/gstvalue.h:
18014           Change return value for union, intersect and subtract functions
18015           from gint to gboolean.
18016
18017 2005-11-27  Tim-Philipp Müller  <tim at centricular dot net>
18018
18019         * gst/gstvalue.c: (gst_value_serialize_any_list),
18020         (gst_value_transform_any_list_string),
18021         (gst_value_deserialize_list), (gst_value_deserialize_array),
18022         (gst_value_set_int_range), (gst_value_deserialize_int_range),
18023         (gst_value_set_double_range), (gst_value_deserialize_double_range),
18024         (gst_value_set_fraction_range_full),
18025         (gst_value_deserialize_fraction_range),
18026         (gst_value_deserialize_caps), (gst_value_deserialize_buffer),
18027         (gst_value_deserialize_boolean),
18028         (gst_value_deserialize_int_helper), (gst_value_deserialize_double),
18029         (gst_value_serialize_float), (gst_value_deserialize_float),
18030         (gst_string_wrap), (gst_value_deserialize_string),
18031         (gst_value_deserialize_enum), (gst_value_deserialize_flags),
18032         (gst_value_union_int_range_int_range),
18033         (gst_value_intersect_int_range_int_range),
18034         (gst_value_intersect_double_range_double_range),
18035         (gst_value_create_new_range), (gst_value_subtract_int_range_int),
18036         (gst_value_subtract_int_range_int_range),
18037         (gst_value_subtract_double_double_range),
18038         (gst_value_subtract_double_range_double_range),
18039         (gst_value_deserialize_fraction):
18040         * gst/gstvalue.h:
18041           Use gint, gdouble and gchar in our API instead of int, double and
18042           char (and make usage in gstvalue.c more consistent).
18043
18044 2005-11-27  Thomas Vander Stichele  <thomas at apestaart dot org>
18045
18046         * check/Makefile.am:
18047         * libs/gst/controller/Makefile.am:
18048         * libs/gst/dataprotocol/Makefile.am:
18049           fix up Makefile.am and remove GST_ENABLE_NEW
18050
18051 2005-11-27  Thomas Vander Stichele  <thomas at apestaart dot org>
18052
18053         * configure.ac:
18054         * gst/Makefile.am:
18055         * gst/base/Makefile.am:
18056         * gst/check/Makefile.am:
18057         * gst/elements/Makefile.am:
18058         * gst/net/Makefile.am:
18059           update LDFLAGS use some more
18060
18061 2005-11-27  Thomas Vander Stichele  <thomas at apestaart dot org>
18062
18063         * common/m4/gst-doc.m4:
18064           Fixes #312589
18065
18066 2005-11-26  Edward Hervey  <edward@fluendo.com>
18067
18068         * gst/gstpluginfeature.c: (gst_plugin_feature_load):
18069         This shouldn't issue a g_warning since it returns NULL if it
18070         couldn't find the plugin, and all functions using this behave
18071         properly on a NULL return. Switching to a GST_WARNING.
18072
18073 2005-11-25  Jan Schmidt  <thaytan@mad.scientist.com>
18074
18075         * gst/gstbin.c: (gst_bin_handle_message_func):
18076         Don't leak clock messages.
18077
18078 2005-11-25  Wim Taymans  <wim@fluendo.com>
18079
18080         * gst/gstutils.c: (gst_util_uint64_scale_int64),
18081         (gst_util_uint64_scale_int):
18082         Optimisations, remove unneeded vars.
18083
18084 2005-11-25  Wim Taymans  <wim@fluendo.com>
18085
18086         * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
18087         Added more checks for the high precision uint64 cases.
18088
18089         * gst/gstutils.c: (gst_util_uint64_scale_int64),
18090         (gst_util_uint64_scale), (gst_util_uint64_scale_int):
18091         Implement high precision (guint64 * guint64) / guint64.
18092
18093 2005-11-24  Wim Taymans  <wim@fluendo.com>
18094
18095         * gst/base/gstbasesrc.c: (gst_base_src_query):
18096         Fix wrong percentage query.
18097
18098         * gst/gstutils.c: (gst_util_uint64_scale),
18099         (gst_util_uint64_scale_int):
18100         Add some more common cases that can be handled 
18101         efficiently to _scale.
18102
18103 2005-11-24  Thomas Vander Stichele  <thomas at apestaart dot org>
18104
18105         * check/gst/gstminiobject.c: (thread_ref), (GST_START_TEST),
18106         (gst_mini_object_suite):
18107           don't use check calls from threads; check probably isn't
18108           threadsafe and using a lock to make it threadsafe would
18109           defeat the purpose of this check
18110         * gst/check/gstcheck.c:
18111         * gst/check/gstcheck.h:
18112           use GST_DEBUG some more
18113
18114 2005-11-24  Wim Taymans  <wim@fluendo.com>
18115
18116         * gst/gstutils.c: (gst_util_uint64_scale),
18117         (gst_util_uint64_scale_int):
18118         Chain trivial case to _scale_int.
18119
18120 2005-11-24  Wim Taymans  <wim@fluendo.com>
18121
18122         * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
18123         Added test for scaling.
18124
18125         * gst/gstclock.h:
18126         Small doc fix.
18127
18128         * gst/gstutils.c: (gst_util_uint64_scale_int):
18129         Implemented high precision scaling code.
18130
18131 2005-11-24  Stefan Kost  <ensonic@users.sf.net>
18132
18133         * gst/gstinfo.h:
18134           do not crash on pad==NULL
18135
18136 2005-11-24  Thomas Vander Stichele  <thomas at apestaart dot org>
18137
18138         Patch by: Stefan Kost
18139
18140         * common/gtk-doc.mak:
18141         * docs/gst/Makefile.am:
18142         * docs/libs/Makefile.am:
18143           Fix distcheck issues for the libraries docs build
18144           Closes #319599.
18145
18146 2005-11-24  Michael Smith <msmith@fluendo.com>
18147
18148         * docs/manual/basics-helloworld.xml:
18149           Fix bug #315027: memory leak in example code in docs.
18150
18151 2005-11-24  Michael Smith <msmith@fluendo.com>
18152
18153         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
18154           Unlock the PREROLL_LOCK in a failure case.
18155
18156 2005-11-24  Wim Taymans  <wim@fluendo.com>
18157
18158         * docs/gst/gstreamer-sections.txt:
18159         * gst/base/gstadapter.h:
18160         * gst/base/gstbasesink.h:
18161         * gst/base/gstbasesrc.h:
18162         * gst/base/gstbasetransform.h:
18163         * gst/base/gstpushsrc.h:
18164         * gst/elements/gstfakesink.h:
18165         * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type):
18166         * gst/elements/gstfakesrc.h:
18167         * gst/elements/gstfilesink.h:
18168         * gst/elements/gstfilesrc.h:
18169         * gst/gst.c:
18170         * gst/gstbin.c:
18171         * gst/gstbuffer.c: (_gst_buffer_copy):
18172         * gst/gstbus.h:
18173         * gst/gstcaps.c:
18174         * gst/gstchildproxy.c:
18175         * gst/gstclock.c:
18176         * gst/gstelement.c:
18177         * gst/gstelementfactory.c:
18178         * gst/gstelementfactory.h:
18179         * gst/gstevent.c:
18180         * gst/gstghostpad.h:
18181         * gst/gstindex.h:
18182         * gst/gstinterface.h:
18183         * gst/gstminiobject.c:
18184         * gst/gstminiobject.h:
18185         * gst/gstpad.c:
18186         * gst/gstpad.h:
18187         * gst/gstpadtemplate.h:
18188         * gst/gstpipeline.h:
18189         * gst/gstpluginfeature.h:
18190         * gst/gstquery.h:
18191         * gst/gstqueue.h:
18192         * gst/gsttaglist.c:
18193         * gst/gsttaglist.h:
18194         * gst/gsttagsetter.c:
18195         * gst/gsttagsetter.h:
18196         * gst/gsttrace.c:
18197         * gst/gsttrace.h:
18198         * gst/gsttypefind.h:
18199         * gst/gsturi.h:
18200         * gst/gstvalue.c:
18201         * gst/net/gstnetclientclock.c:
18202         * gst/net/gstnetclientclock.h:
18203         * gst/net/gstnettimepacket.c:
18204         * gst/net/gstnettimeprovider.c:
18205         * gst/net/gstnettimeprovider.h:
18206         Doc fixes.
18207
18208 2005-11-23  Thomas Vander Stichele  <thomas at apestaart dot org>
18209
18210         * configure.ac: back to HEAD
18211
18212 === release 0.9.6 ===
18213
18214 2005-11-23  Thomas Vander Stichele <thomas at apestaart dot org>
18215
18216         * configure.ac:
18217           releasing 0.9.6, "Always On Time"
18218
18219 2005-11-23  Wim Taymans  <wim@fluendo.com>
18220
18221         * docs/gst/gstreamer-sections.txt:
18222         * gst/glib-compat.c:
18223         * gst/gsttagsetter.c:
18224         * gst/gstvalue.c:
18225         * gst/net/gstnetclientclock.c:
18226         * gst/net/gstnettimepacket.h:
18227         Doc updates.
18228
18229 2005-11-23  Thomas Vander Stichele  <thomas at apestaart dot org>
18230
18231         * docs/faq/using.xml:
18232         * docs/libs/tmpl/gstcontrol.sgml:
18233         * docs/manual/advanced-dparams.xml:
18234         * docs/manual/appendix-checklist.xml:
18235         * docs/manual/basics-elements.xml:
18236         * docs/pwg/other-source.xml:
18237         * docs/random/moving-plugins:
18238         * gst/gstpad.c:
18239         * tools/gst-launch.1.in:
18240           remove mentions of sinesrc
18241
18242 2005-11-23  Michael Smith <msmith@fluendo.com>
18243
18244         * docs/gst/gstreamer-sections.txt:
18245           Update for new API and API changes.
18246         * gst/gstobject.h:
18247           Documentation fix: GST_TRYLOCK -> GST_OBJECT_TRYLOCK
18248         * gst/gstvalue.c:
18249           Documentation typo fix.
18250         * gst/net/gstnettimepacket.c:
18251           Documentation fixes for arguments.
18252
18253 2005-11-23  Jan Schmidt  <thaytan@mad.scientist.com>
18254
18255         * gst/gststructure.c: (gst_structure_get_fraction),
18256         (gst_structure_parse_value),
18257         (gst_structure_fixate_field_nearest_fraction):
18258         * gst/gststructure.h:
18259         * gst/gstutils.c: (gst_util_uint64_scale_int):
18260         * gst/gstutils.h:
18261         * scripts/update-funcnames:
18262         API Changes. 
18263         Rename gst_util_clock_time_scale to gst_util_uint64_scale_int
18264         Make gst_structure_fixate_field_nearest_fraction take a numerator
18265         and denominator argument instead of a GValue
18266         add gst_structure_get_fraction helper function.
18267
18268 2005-11-23  Wim Taymans  <wim@fluendo.com>
18269
18270         * docs/design/part-TODO.txt:
18271         Update TODO.
18272
18273         * gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
18274         * gst/net/gstnetclientclock.h:
18275         Use parent fields for timeout and window_size.
18276
18277 2005-11-23  Andy Wingo  <wingo@pobox.com>
18278
18279         * check/net/gstnetclientclock.c (test_functioning): Adjust to
18280         rate_num/rate_denom change.
18281
18282         * gst/net/gstnetclientclock.c
18283         (gst_net_client_clock_observe_times): Take the SLAVE_LOCK not the
18284         OBJECT_LOCK. Don't call add_observation with the lock.
18285
18286         * gst/gstclock.c (gst_clock_init): Initialize the rate as a
18287         fraction.
18288         (gst_clock_adjust_unlocked): Adjust using uint64_scale and the
18289         rate fraction.
18290         (gst_clock_set_calibration, gst_clock_get_calibration): Change to
18291         deal with rate as a fraction whose numerator and denominator are
18292         GstClockTime values.
18293         (gst_clock_set_master): Only use the OBJECT_LOCK to set the
18294         master; the other fields are protected by the SLAVE_LOCK.
18295         (do_linear_regression): Note that this must be called with the
18296         SLAVE_LOCK.
18297         (gst_clock_add_observation): Take the SLAVE_LOCK, not the
18298         OBJECT_LOCK. Call set_calibration instead of touching the
18299         variables directly.
18300         (gst_clock_set_property, gst_clock_get_property): Protect
18301         master/slave parameters with the SLAVE_LOCK.
18302
18303         * gst/gstclock.h (GstClock): Remove rate, add rate_numerator and
18304         rate_denominator. PR3C1S3. Add a new lock, the SLAVE_LOCK, and
18305         note that all of the instance variables that add_observation and
18306         the set_master functions use are protected by that lock and not
18307         the OBJECT_LOCK.
18308         (GST_CLOCK_SLAVE_LOCK, GST_CLOCK_SLAVE_UNLOCK): New macros.
18309
18310         * gst/gstclock.c (gst_clock_add_observation): No longer requires
18311         the caller to take the object lock.
18312
18313 2005-11-23  Wim Taymans  <wim@fluendo.com>
18314
18315         * gst/gsterror.c: (_gst_core_errors_init):
18316         * gst/gsterror.h:
18317         Add error for clock stuff.
18318
18319         * gst/gstpipeline.c: (gst_pipeline_change_state),
18320         (gst_pipeline_set_clock):
18321         Post clock error when clock cannot be used in a pipeline.
18322
18323 2005-11-23  Stefan Kost  <ensonic@users.sf.net>
18324
18325         * docs/gst/gstreamer-sections.txt:
18326           make two symbols from gstinfo private for the docs
18327         * gst/base/gstcollectpads.h:
18328         * gst/gstutils.c:
18329           fix doc typos, update docs
18330
18331 2005-11-22  Wim Taymans  <wim@fluendo.com>
18332
18333         * gst/base/gstbasesink.c: (gst_base_sink_class_init),
18334         (gst_base_sink_wait), (gst_base_sink_do_sync),
18335         (gst_base_sink_handle_event):
18336         * gst/base/gstbasesink.h:
18337         No need to store the clock, the parent element class already
18338         has it.
18339
18340         * gst/gstbin.c: (gst_bin_set_clock_func), (gst_bin_add_func):
18341         Updates for clock_set returning a gboolean
18342
18343         * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_id_wait),
18344         (gst_clock_id_wait_async), (gst_clock_class_init),
18345         (gst_clock_init), (gst_clock_finalize),
18346         (gst_clock_get_internal_time), (gst_clock_get_time),
18347         (gst_clock_slave_callback), (gst_clock_set_master),
18348         (gst_clock_get_master), (do_linear_regression),
18349         (gst_clock_add_observation), (gst_clock_set_property),
18350         (gst_clock_get_property):
18351         * gst/gstclock.h:
18352         Implement master/slave. When setting a clock as a slave, a
18353         periodic timeout is scheduled to sample master and slave times.
18354         Then the slave clock is recalibrated to match offset and rate
18355         of the master clock.
18356         Update logging a bit.
18357         Add flag so that a clock can state that is cannot be slaved to
18358         another clock.
18359
18360         * gst/gstelement.c: (gst_element_set_clock):
18361         * gst/gstelement.h:
18362         The set clock returns a gboolean for when an element cannot
18363         deal with the selected clock in the pipeline. 
18364
18365         * gst/gstpipeline.c: (gst_pipeline_change_state),
18366         (gst_pipeline_set_clock):
18367         * gst/gstpipeline.h:
18368         Handle the case where the selected clock cannot be set on
18369         the pipeline.
18370
18371         * gst/net/gstnetclientclock.c: (gst_net_client_clock_class_init),
18372         (gst_net_client_clock_init), (gst_net_client_clock_finalize),
18373         (gst_net_client_clock_set_property),
18374         (gst_net_client_clock_get_property),
18375         (gst_net_client_clock_observe_times):
18376         * gst/net/gstnetclientclock.h:
18377         Use regression code in GstClock parent, remove duplicated
18378         functionality.
18379
18380 2005-11-22  Michael Smith <msmith@fluendo.com>
18381
18382         * gst/gstutils.c: (gst_util_clock_time_scale):
18383         * gst/gstutils.h:
18384         * docs/gst/gstreamer-sections.txt:
18385           Rename method to have extra underscore.
18386
18387 2005-11-22  Thomas Vander Stichele  <thomas at apestaart dot org>
18388
18389         * gst/elements/Makefile.am:
18390         * gst/elements/gstfakesink.c: (gst_fake_sink_state_error_get_type):
18391         * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
18392         (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type),
18393         (gst_fake_src_init), (gst_fake_src_prepare_buffer),
18394         (gst_fake_src_alloc_buffer), (gst_fake_src_get_size):
18395         * gst/elements/gstfakesrc.h:
18396         * gst/gstqueue.c: (queue_leaky_get_type):
18397           correctly fix GEnumValues so that nick is the short lowercase
18398           dashed tag
18399         * tools/gst-inspect.c: (print_element_properties_info):
18400           also show the nick, since it's useful to use from parse_launch
18401           syntax
18402           Fixes #322139
18403
18404 2005-11-22  Michael Smith <msmith@fluendo.com>
18405
18406         * gst/gstutils.c: (gst_util_clocktime_scale):
18407         * gst/gstutils.h:
18408         * docs/gst/gstreamer-sections.txt:
18409           Add util method for scaling a clocktime by a fraction. Useful 
18410           implementation is left as an exercise for the reader.
18411
18412 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
18413
18414         * gst/gstvalue.c: (gst_value_collect_fraction_range):
18415         If needed, allocate storage in the destination value during
18416         collection.
18417
18418 2005-11-22  Edward Hervey  <edward@fluendo.com>
18419
18420         * docs/gst/gstreamer-sections.txt:
18421         * gst/Makefile.am:
18422         * gst/gst.h:
18423         * gst/gsturitype.c:
18424         * gst/gsturitype.h:
18425         * gst/gstutils.c: (gst_util_set_object_arg):
18426         * tools/gst-compprep.c: (main):
18427         * tools/gst-inspect.c: (print_element_properties_info):
18428         Removed GstURI, closes bug #321061
18429
18430 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
18431
18432         * check/gst/gststructure.c: (GST_START_TEST):
18433         * gst/gststructure.c: (gst_structure_parse_value):
18434           Oops, broke automatic string type parsing.
18435           Add a test to catch it in future.
18436
18437 2005-11-22  Andy Wingo  <wingo@pobox.com>
18438
18439         * gst/gsttagsetter.c (gst_tag_setter_get_tag_merge_mode) 
18440         (gst_tag_setter_set_tag_merge_mode, gst_tag_setter_get_tag_list):
18441         Actually rename the function implementations. Grr.
18442
18443 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
18444
18445         * check/gst/capslist.h:
18446           Comment test cases
18447         * check/gst/gststructure.c: (GST_START_TEST),
18448         (gst_structure_suite):
18449           Test automatic value type detection in gst_structure_from_string.
18450         * gst/gststructure.c: (gst_structure_parse_value):
18451           Add fraction as a type we try and guess automatically in
18452           caps/structure strings.
18453
18454 2005-11-22  Andy Wingo  <wingo@pobox.com>
18455
18456         patch by: Torsten Schoenfeld <kaffeetisch gmx de>
18457
18458         * gst/gsttagsetter.h:
18459         * gst/gsttagsetter.c: (gst_tag_setter_merge_tags)
18460         (gst_tag_setter_add_tags, gst_tag_setter_add_tag_values)
18461         (gst_tag_setter_add_tag_valist)
18462         (gst_tag_setter_add_tag_valist_values): Renamed from _merge, _add,
18463         _add_values, _add_valist, and _add_valist_values. Since this is an
18464         interface the function suffixes should be more explicit so
18465         language binding don't end up with element.add_valist ->
18466         gst_tag_setter_add_valist, for example. Fixes #322069.
18467
18468 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
18469
18470         * check/gst/gstcaps.c: (GST_START_TEST):
18471           Extend caps string tests to check that a caps to string
18472           conversion is reversible and produces the same caps.
18473
18474         * gst/gststructure.c: (gst_structure_value_get_generic_type):
18475           Output "fraction" as the generic type fraction range, so caps
18476           serialisation and deserialisation works.
18477         * check/gst/capslist.h:
18478         * gst/gstvalue.c: (gst_value_deserialize_fraction):
18479           Support 'MIN' and 'MAX' for deserialising fractions.
18480
18481 2005-11-22  Andy Wingo  <wingo@pobox.com>
18482
18483         * gst/gstevent.h (gst_event_new_new_segment)
18484         (gst_event_parse_new_segment, gst_event_new_buffer_size)
18485         (gst_event_parse_buffer_size, gst_ghost_pad_new_no_target):
18486         Renamed from *_newsegment, *_buffersize, *_notarget.
18487
18488         * scripts/update-funcnames: New script, performs the changes
18489         listed above.
18490
18491 2005-11-22  Wim Taymans  <wim@fluendo.com>
18492
18493         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
18494         Make sure the GstFlowReturn is returned.
18495
18496         * gst/gstbus.c: (gst_bus_add_signal_watch_full),
18497         (gst_bus_add_signal_watch):
18498         * gst/gstbus.h:
18499         add gst_bus_add_signal_watch_full.
18500
18501         * gst/gstplugin.c: (gst_plugin_load_file):
18502         Small style cleanup.
18503
18504 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
18505
18506         * check/gst/gstevent.c: (test_event), (GST_START_TEST):
18507           Block the fakesrc srcpad when we send an event, to avoid
18508           contention on the stream_lock causing random test failures.
18509
18510 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
18511
18512         * check/gst/gstvalue.c: (GST_START_TEST):
18513         * gst/gstvalue.c: (gst_value_fraction_subtract):
18514           Fix subtraction.
18515
18516 2005-11-22  Stefan Kost  <ensonic@users.sf.net>
18517
18518         * gst/gst.h:
18519           include "gstchildproxy.h"
18520         * gst/gstchildproxy.h:
18521         * libs/gst/controller/gstcontroller.h:
18522           use G_GNUC_NULL_TERMINATED
18523
18524 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
18525
18526         * check/gst/capslist.h:
18527         * check/gst/gstcaps.c: (GST_START_TEST):
18528         * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
18529         * gst/gststructure.c: (gst_structure_parse_range),
18530         (gst_structure_fixate_field_nearest_fraction):
18531         * gst/gststructure.h:
18532         * gst/gstvalue.c: (gst_value_init_fraction_range),
18533         (gst_value_free_fraction_range), (gst_value_copy_fraction_range),
18534         (gst_value_collect_fraction_range),
18535         (gst_value_lcopy_fraction_range), (gst_value_set_fraction_range),
18536         (gst_value_set_fraction_range_full),
18537         (gst_value_get_fraction_range_min),
18538         (gst_value_get_fraction_range_max),
18539         (gst_value_serialize_fraction_range),
18540         (gst_value_transform_fraction_range_string),
18541         (gst_value_compare_fraction_range),
18542         (gst_value_deserialize_fraction_range),
18543         (gst_value_intersect_fraction_fraction_range),
18544         (gst_value_intersect_fraction_range_fraction_range),
18545         (gst_value_subtract_fraction_fraction_range),
18546         (gst_value_subtract_fraction_range_fraction),
18547         (gst_value_subtract_fraction_range_fraction_range),
18548         (gst_value_collect_fraction), (gst_value_fraction_multiply),
18549         (gst_value_fraction_subtract), (gst_value_deserialize_fraction),
18550         (gst_value_transform_string_fraction), (_gst_value_initialize):
18551         * gst/gstvalue.h:
18552           Implement fraction ranges and extend GstFraction to support
18553           arithmetic subtraction, as well as deserialization from integer
18554           strings such as "100"
18555           Add a testsuite as for int and double range set operations
18556
18557 2005-11-21  Andy Wingo  <wingo@pobox.com>
18558
18559         * gst/gsttaglist.h: 
18560         * gst/gstcaps.h: 
18561         * gst/gststructure.h: Add glib-compat.h.
18562
18563 2005-11-21  Wim Taymans  <wim@fluendo.com>
18564
18565         * gst/gstbin.c: (gst_bin_change_state_func):
18566         Fix for #321595
18567
18568 2005-11-21  Wim Taymans  <wim@fluendo.com>
18569
18570         * gst/gstsegment.h:
18571         And add a nice define too.
18572
18573 2005-11-21  Wim Taymans  <wim@fluendo.com>
18574
18575         * gst/gstsegment.c: (gst_segment_copy), (gst_segment_get_type),
18576         (gst_segment_new), (gst_segment_free), (gst_segment_init),
18577         (gst_segment_set_duration), (gst_segment_set_last_stop),
18578         (gst_segment_set_seek), (gst_segment_set_newsegment),
18579         (gst_segment_to_stream_time), (gst_segment_to_running_time),
18580         (gst_segment_clip):
18581         * gst/gstsegment.h:
18582         Make binding friendly.
18583
18584 2005-11-21  Andy Wingo  <wingo@pobox.com>
18585
18586         * gst/gsttagsetter.h: 
18587         * gst/gsttaglist.h: 
18588         * gst/gststructure.h: 
18589         * gst/gstcaps.h: 
18590         * gst/gstutils.h: Sprinkle NULL_TERMINATED to taste. Fixes
18591         #319940.
18592
18593         * gst/gsterror.c (_gst_core_errors_init):
18594         * gst/gsterror.h (GST_CORE_ERROR_MISSING_PLUGIN): New error
18595         category.
18596
18597         * gst/Makefile.am (gst_headers): Add glib-compat.h.
18598         (noinst_HEADERS): noinst the -private.
18599
18600 2005-11-21  Michael Smith <msmith@fluendo.com>
18601
18602         * gst/gstplugin.h:
18603         * gst/gstregistry.h:
18604           Remove unimplemented declarations for which we can see no sensible
18605           use.
18606
18607 2005-11-21  Andy Wingo  <wingo@pobox.com>
18608
18609         * gst/gst.h: Include glib-compat.h.
18610
18611         * gst/glib-compat.h: Add G_GNUC_NULL_TERMINATED.
18612
18613         * gst/glib-compat.c: Include the public and the private header.
18614
18615         * gst/glib-compat-private.h: Copied here from glib-compat.h.
18616
18617         * gst/gstvalue.c: 
18618         * gst/gstpad.c: 
18619         * gst/gstregistryxml.c: s/glib-compat/glib-compat-private/.
18620
18621         * check/gst/gstevent.c (create_custom_events): Check that
18622         FLUSH_STOP is serialized.
18623
18624         * check/elements/identity.c (event_func): 
18625         * check/elements/fakesrc.c (event_func): No stream lock, the core
18626         takes it.
18627
18628         * gst/base/gstbasetransform.c (gst_base_transform_event): No more
18629         stream lock taking, yay.
18630
18631         * gst/gstevent.h (GST_EVENT_FLUSH_STOP): Marked as serialized to
18632         ensure that core takes the stream lock.
18633
18634         * gst/base/gstbasesrc.c (gst_base_src_do_seek): Update for stream
18635         lock name change.
18636
18637         * gst/base/gstbasesink.c (gst_base_sink_event): No need to take
18638         the stream lock for EOS, NEWSEGMENT, or FLUSH_STOP, the core does
18639         it already. For the flush start we do take it though so we get the
18640         right preroll state change messages.
18641
18642         * gst/gstqueue.c (gst_queue_sink_activate_push): No need to take
18643         the stream lock here, the core does it for us.
18644
18645         * gst/gstpad.h (GST_PAD_GET_STREAM_LOCK): Renamed from
18646         GST_STREAM_GET_LOCK.
18647         (GST_PAD_STREAM_LOCK, GST_PAD_STREAM_TRYLOCK) 
18648         (GST_PAD_STREAM_UNLOCK, GST_PAD_STREAM_UNLOCK_FULL) 
18649         (GST_PAD_STREAM_LOCK_FULL): Renamed from GST_STREAM_*.
18650         (GST_PAD_GET_PREROLL_LOCK): Renamed from GST_PREROLL_GET_LOCK.
18651         (GST_PAD_PREROLL_LOCK, GST_PAD_PREROLL_TRYLOCK) 
18652         (GST_PAD_PREROLL_UNLOCK): Renamed from GST_PREROLL_*.
18653
18654         * gst/gstpad.c: Update for stream lock name change.
18655
18656         * gst/base/gstbasesink.c: Update for preroll lock name change.
18657
18658 2005-11-21  Wim Taymans  <wim@fluendo.com>
18659
18660         * gst/gstclock.c: (gst_clock_init), (gst_clock_set_master),
18661         (gst_clock_get_master):
18662         * gst/gstclock.h:
18663         * gst/gstsystemclock.c: (gst_system_clock_init):
18664         Convert Clock flags to object flags.
18665         Added methods to manage master/slave clocks.
18666
18667 2005-11-21  Wim Taymans  <wim@fluendo.com>
18668
18669         * check/gst/gstsegment.c: (GST_START_TEST):
18670         * docs/design/part-TODO.txt:
18671         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
18672         (gst_base_sink_event), (gst_base_sink_do_sync),
18673         (gst_base_sink_activate_pull), (gst_base_sink_get_position),
18674         (gst_base_sink_query), (gst_base_sink_change_state):
18675         * gst/base/gstbasesink.h:
18676         * gst/base/gstbasesrc.c: (gst_base_src_init), (gst_base_src_query),
18677         (gst_base_src_default_newsegment),
18678         (gst_base_src_configure_segment), (gst_base_src_do_seek),
18679         (gst_base_src_get_range), (gst_base_src_loop),
18680         (gst_base_src_change_state):
18681         * gst/base/gstbasesrc.h:
18682         * gst/base/gstbasetransform.c:
18683         (gst_base_transform_prepare_output_buf),
18684         (gst_base_transform_event), (gst_base_transform_change_state):
18685         * gst/base/gstbasetransform.h:
18686         * gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
18687         (gst_collect_pads_event):
18688         * gst/base/gstcollectpads.h:
18689         * gst/elements/gstfakesrc.c: (gst_fake_src_init),
18690         (gst_fake_src_create):
18691         * gst/elements/gstfakesrc.h:
18692         * gst/elements/gstidentity.c: (gst_identity_transform_ip):
18693         * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_duration),
18694         (gst_segment_set_last_stop), (gst_segment_set_seek),
18695         (gst_segment_set_newsegment), (gst_segment_to_stream_time),
18696         (gst_segment_to_running_time), (gst_segment_clip):
18697         * gst/gstsegment.h:
18698         More segment updates, replace code in plugins with segment
18699         helper functions.
18700
18701 2005-11-21  Jan Schmidt  <thaytan@mad.scientist.com>
18702
18703         * gst/elements/gstfdsrc.c: (gst_fdsrc_uri_set_uri):
18704         Don't ignore sscanf results
18705
18706 2005-11-21  Andy Wingo  <wingo@pobox.com>
18707
18708         * gst/gstpad.h (GST_IS_PAD_FAST): Removed.
18709
18710         * *.h:
18711         * *.c: Ran scripts/update-macros. Oh yes.
18712
18713         * gst/gstobject.h (GST_OBJECT_GET_LOCK, GST_OBJECT_LOCK)
18714         (GST_OBJECT_TRYLOCK, GST_OBJECT_UNLOCK): Renamed from
18715         GST_GET_LOCK, etc.
18716
18717         * scripts/update-macros: New script. Run it on your files to
18718         change GST_LOCK to GST_OBJECT_LOCK, and the same for UNLOCK as
18719         well.
18720
18721 2005-11-21  Stefan Kost  <ensonic@users.sf.net>
18722
18723         * docs/gst/Makefile.am:
18724         * docs/gst/gstreamer-docs.sgml:
18725         * docs/gst/gstreamer-sections.txt:
18726         * docs/gst/gstreamer.types:
18727         * gst/gstinfo.h:
18728           more docs fixes, add new api to the docs
18729
18730 2005-11-21  Andy Wingo  <wingo@pobox.com>
18731
18732         * gst/gstbin.c (gst_bin_remove_func): Wim claims I can remove this
18733         state_broadcast call.
18734
18735         * gst/gstsegment.c (gst_segment_init): Initialize abs_rate.
18736
18737 2005-11-21  Julien MOUTTE  <julien@moutte.net>
18738
18739         * gst/gstvalue.c: (gst_value_intersect_array): Fix wrong
18740         function calls for arrays.
18741
18742 2005-11-21  Stefan Kost  <ensonic@users.sf.net>
18743
18744         * docs/random/ensonic/media-device-daemon.txt:
18745           wild idea, can this be done?
18746         * docs/gst/gstreamer-sections.txt:
18747         * gst/gsterror.h:
18748         * gst/gstfilter.c:
18749         * gst/gstfilter.h:
18750         * gst/gstplugin.h:
18751         * gst/gstpluginfeature.c:
18752         * gst/gsttrace.c:
18753         * gst/gstvalue.c:
18754         * gst/gstvalue.h:
18755           doc fixes and additions
18756
18757 2005-11-21  Andy Wingo  <wingo@pobox.com>
18758
18759         * gst/base/gstbasesrc.c (GST_LIVE_BROADCAST, GST_LIVE_SIGNAL) 
18760         (GST_LIVE_TIMED_WAIT, GST_LIVE_WAIT, GST_LIVE_GET_COND) 
18761         (GST_LIVE_UNLOCK, GST_LIVE_TRYLOCK, GST_LIVE_LOCK) 
18762         (GST_LIVE_GET_LOCK): Moved here from gstbasesrc.h. They are
18763         private to the basesrc implementation.
18764
18765         * gst/gstpad.c (gst_pad_send_event): Doc more. Take stream lock on
18766         behalf of event function if necessary. It should no longer be
18767         necessary to take the stream lock in pad's event functions. Fixes
18768         #320299.
18769
18770 2005-11-21  Jan Schmidt  <thaytan@mad.scientist.com>
18771         * docs/gst/gstreamer-sections.txt:
18772         * gst/gststructure.c: (gst_structure_fixate_field_nearest_int),
18773         (gst_structure_fixate_field_nearest_double),
18774         (gst_structure_fixate_field_boolean):
18775         * gst/gststructure.h:
18776         * win32/common/libgstreamer.def:
18777         * win32/gstreamer.def:
18778
18779         Rename gst_caps_structure_fixate_* to gst_structure_fixate_*
18780         (#322027)
18781
18782 2005-11-21  Jan Schmidt  <thaytan@mad.scientist.com>
18783
18784         * gst/elements/gstfdsrc.c: (_do_init), (gst_fdsrc_class_init),
18785         (gst_fdsrc_init), (gst_fdsrc_dispose), (gst_fdsrc_set_property),
18786         (gst_fdsrc_uri_get_type), (gst_fdsrc_uri_get_protocols),
18787         (gst_fdsrc_uri_get_uri), (gst_fdsrc_uri_set_uri),
18788         (gst_fdsrc_uri_handler_init):
18789         * gst/elements/gstfdsrc.h:
18790           Port fd:// URI handler from 0.8 to fdsrc
18791
18792 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
18793
18794         * gst/gstvalue.c: (gst_value_transform_fourcc_string),
18795         (gst_value_serialize_fourcc):
18796         * gst/gstvalue.h:
18797           Drop leading '%' from GST_FOURCC_FORMAT, thus making it
18798           consistent with our other format defines (#320324).
18799
18800 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
18801
18802         * gst/gstvalue.c: (gst_value_is_fixed):
18803           Revert previous commit. Value lists are by definition
18804           not fixed, as they are a list of possible values.
18805
18806 2005-11-21  Andy Wingo  <wingo@pobox.com>
18807
18808         * gst/gstevent.h (GST_EVENT_FILLER): Removed. Can be added back
18809         during the stable series if we need it. Fixes #319178.
18810
18811         * gst/gstevent.c (gst_event_new_filler): Removed.
18812
18813         * check/gst/gstevent.c: Update comment about filler events.
18814
18815 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
18816
18817         * gst/gstvalue.c: (gst_value_is_fixed):
18818           Should handle both value arrays and value lists.
18819
18820 2005-11-21  Andy Wingo  <wingo@pobox.com>
18821
18822         patch by: Alessandro Dessina <alessandro nnva org>
18823
18824         * gst/gstvalue.c (gst_value_is_fixed): Use gst_value_array
18825         functions to access arrays. Fixes #321962.
18826
18827 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
18828
18829         * docs/gst/gstreamer.types:
18830           gst_collectpads_get_type => gst_collect_pads_get_type.
18831           
18832         * gst/base/gstbasetransform.c:
18833           Remove unused SIGNAL_HANDOFF enum.
18834
18835 2005-11-21  Andy Wingo  <wingo@pobox.com>
18836
18837         * gst/gstevent.h (GstEventTypeFlags): New data type, the flags of
18838         the event type (upstream, downstream, serialized). Renamed
18839         GST_EVDIR_* and GST_EVSER to GST_EVENT_TYPE_*.
18840         (GstEventType): Use GstEventTypeFlags. Rename CUSTOM_UP to
18841         CUSTOM_UPSTREAM, CUSTOM_DS to CUSTOM_DOWNSTREAM, etc.
18842
18843         * gst/gstevent.c: Update for new CUSTOM event names.
18844
18845         * check/gst/gstevent.c: Update check for new CUSTOM event names.
18846
18847         * gst/gstevent.h:
18848         * gst/gstevent.c (gst_event_type_get_flags): New function. Fixes
18849         bug #319392.
18850
18851 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
18852
18853         * docs/gst/gstreamer-sections.txt:
18854         * win32/common/libgstbase.def:
18855         * win32/libgstbase.def:
18856         * gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
18857         (gst_collect_pads_class_init), (gst_collect_pads_init),
18858         (gst_collect_pads_finalize), (gst_collect_pads_new),
18859         (gst_collect_pads_set_function), (gst_collect_pads_add_pad),
18860         (gst_collect_pads_remove_pad), (gst_collect_pads_is_active),
18861         (gst_collect_pads_collect), (gst_collect_pads_collect_range),
18862         (gst_collect_pads_start), (gst_collect_pads_stop),
18863         (gst_collect_pads_peek), (gst_collect_pads_pop),
18864         (gst_collect_pads_available), (gst_collect_pads_read),
18865         (gst_collect_pads_flush), (gst_collect_pads_event),
18866         (gst_collect_pads_chain):
18867         * gst/base/gstcollectpads.h:
18868           Rename gst_collecpads_foo() => gst_collect_pads_foo(). Document
18869           unimplemented functions as unimplemented. Add padding to
18870           GstCollectData. (#320766, #320423)
18871
18872 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
18873
18874         * gst/gstmessage.c:
18875           Improve docs for DURATION message (usage of duration parameter)
18876           (#320113)
18877
18878 2005-11-20  Wim Taymans  <wim@fluendo.com>
18879
18880         * check/Makefile.am:
18881         * check/gst/gstsegment.c: (GST_START_TEST), (gstevents_suite),
18882         (main):
18883         * gst/Makefile.am:
18884         * gst/gst.h:
18885         * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_duration),
18886         (gst_segment_set_seek), (gst_segment_set_newsegment),
18887         (gst_segment_to_stream_time), (gst_segment_to_running_time),
18888         (gst_segment_clip):
18889         * gst/gstsegment.h:
18890         Added segment helper structure and methods. Not fully implemented
18891         yet.
18892         Added segment check.
18893
18894 2005-11-20  Jan Schmidt  <thaytan@mad.scientist.com>
18895
18896         * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
18897           Add a deserialisation test for fractions
18898         * examples/metadata/read-metadata.c: (message_loop),
18899         (make_pipeline), (main):
18900           Fix up metadata reading sample.
18901         * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
18902           Debug format fix
18903         * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
18904           Don't try and fixate empty caps
18905         * gst/gst_private.h:
18906           Wrap in G_BEGIN_DECLS/G_END_DECLS
18907         * gst/gstvalue.c: (gst_value_collect_fraction),
18908         (gst_value_set_fraction), (gst_value_get_fraction_denominator),
18909         (gst_value_transform_string_fraction),
18910         (gst_value_compare_fraction):
18911           Add some extra guards to ensure that we don't end up 
18912           with an invalid denominator of 0 in a gstfraction and
18913           that fractions always get reduced.
18914
18915 2005-11-20  Wim Taymans  <wim@fluendo.com>
18916
18917         * docs/gst/gstreamer-sections.txt:
18918         * gst/gstbuffer.h:
18919         * gst/gstelement.c:
18920         * gst/gstformat.c:
18921         * gst/gstformat.h:
18922         * gst/gstindex.h:
18923         * gst/gstquery.c:
18924         * gst/gstquery.h:
18925         * gst/gstvalue.c:
18926         Doc fixes.
18927
18928 2005-11-20  Wim Taymans  <wim@fluendo.com>
18929
18930         * docs/design/part-TODO.txt:
18931         * gst/gstcaps.h:
18932         Make a proper enum of the flag.
18933
18934 2005-11-19  Wim Taymans  <wim@fluendo.com>
18935
18936         * docs/design/part-TODO.txt:
18937         * gst/gstformat.c: (_gst_format_initialize), (gst_format_get_name),
18938         (gst_format_to_quark), (gst_format_register):
18939         * gst/gstformat.h:
18940         * gst/gstquery.c: (_gst_query_initialize),
18941         (gst_query_type_get_name), (gst_query_type_to_quark),
18942         (gst_query_type_register):
18943         * gst/gstquery.h:
18944         Add type to quark and type to string conversions.
18945
18946 2005-11-19  Andy Wingo  <wingo@pobox.com>
18947
18948         * gst/gstbuffer.h (GST_BUFFER_FLAG_ORIGINAL): Removed. Fixes
18949         #320097.
18950
18951 2005-11-19  Wim Taymans  <wim@fluendo.com>
18952
18953         * docs/design/part-TODO.txt:
18954         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_provide_clock_func),
18955         (gst_bin_add_func), (gst_bin_remove_func), (bin_bus_handler),
18956         (gst_bin_handle_message_func):
18957         * gst/gstbin.h:
18958         Make message handling overridable.
18959
18960 2005-11-19  Andy Wingo  <wingo@pobox.com>
18961
18962         * gst/gstpad.h (GST_PAD_IS_USABLE): Removed. Fixes #321235.
18963
18964         * gst/gstclock.h:
18965         * gst/gstclock.c (GstClock, GstClockClass): Change resolution to
18966         be a GstClockTime.
18967         (gst_clock_set_resolution, gst_clock_get_resolution): Resolution
18968         is a GstClockTime. Fixes #321710.
18969
18970         * gst/gstclock.h (GstClock): Remove offset property. Add
18971         internal_calibration and external_calibration. Fix padding. Pad
18972         also by GstClockTime so we don't run into problems.
18973
18974         * gst/gstclock.c (gst_clock_set_rate_offset): Remove.
18975         (gst_clock_get_rate_offset): Remove.
18976         (gst_clock_set_time_adjust): Remove. Fixes #321712.
18977
18978         * gst/gstutils.h:
18979         * gst/gstutils.c (g_static_rec_cond_wait)
18980         (g_static_rec_cond_timed_wait): Removed, no longer needed.
18981
18982         * gst/gstbin.c: Remove terrible continue_state prototype.
18983
18984         * gst/gstelement.h (gst_element_continue_state): Make public.
18985
18986         * gst/gstelement.h:
18987         * gst/gstelement.c (gst_element_commit_state): Removed, replaced
18988         by continue_state. Fixes #319389.
18989
18990         * gst/gstindex.h (GstIndexFilter): Actually pass on the user_data.
18991         Really fixes #168438. However I don't see anywhere where the
18992         filter function is called... stupid GStreamer...
18993         
18994         * gst/gstindex.h (GstIndex): Add field for user_data_destroy. We
18995         don't have a dispose function, so it won't get called when the
18996         object is unreffed, but oh well!
18997
18998         * gst/gstindex.c (gst_index_set_filter_full): New API function,
18999         allows a destroy function to be set so user_data can be freed.
19000         Fixes #168438.
19001         (gst_index_set_filter): Call gst_index_set_filter_full.
19002
19003         * check/gst/gstvalue.c (test_string): Add test for bug #165650.
19004
19005         * gst/gstvalue.c (gst_string_wrap): Trying to serialize a NULL
19006         string should produce an error, given the lack of a way to
19007         represent NULL strings. Fixes #165650.
19008         
19009         * gst/gstvalue.h: 
19010         * gst/gstvalue.c (gst_value_array_append_value) 
19011         (gst_value_array_prepend_value, gst_value_array_get_size) 
19012         (gst_value_array_get_value): New API, copied from
19013         gst_value_list_*, only operates on arrays.
19014         (gst_value_list_append_value, gst_value_list_prepend_value) 
19015         (gst_value_list_concat, gst_value_list_get_size) 
19016         (gst_value_list_get_value): Only operate on lists. Fixes #156633.
19017
19018         * gst/gstvalue.c (gst_value_init_list_or_array): Renamed from
19019         init_list, because it works on both.
19020         (copy_garray_of_gstvalue): Renamed from gst_value_list_copy_array.
19021         (gst_value_copy_list_or_array): Renamed from copy_list.
19022         (gst_value_free_list_or_array): Renamed from free_list.
19023         (gst_value_collect_list_or_array): Renamed from collect_list.
19024         (gst_value_lcopy_list_or_array): Renamed from lcopy_list.
19025         (gst_value_list_or_array_peek_pointer): Renamed from
19026         list_peek_pointer.
19027         (_gst_value_array_value_table, _gst_value_list_value_table):
19028         Update value table functions.
19029         (gst_value_compare_list_or_array): Renamed from compare_list.
19030
19031         * gsttaglist.h: Whoops, foreach function returns void. Also fix
19032         some constness.
19033
19034         * gst/gsttaglist.c:
19035         * gst/gsttaglist.h (gst_tag_list_foreach): Operates on a const
19036         GstTagList*. Fixes #143472.
19037
19038         * gst/gststructure.h: Clarify what the foreach/map functions can
19039         or can't do to their arguments.
19040
19041 2005-11-18  Wim Taymans  <wim@fluendo.com>
19042
19043         * gst/gstclock.c: (gst_clock_set_calibration),
19044         (gst_clock_get_calibration):
19045         Doc and API fixes.
19046         Calibration can be set with internal time equal to current
19047         internal time too.
19048
19049 2005-11-18  Thomas Vander Stichele  <thomas at apestaart dot org>
19050
19051         * gst/gsterror.c:
19052         * gst/gsterror.h:
19053           document
19054
19055 2005-11-18  Andy Wingo  <wingo@pobox.com>
19056
19057         * configure.ac: 
19058         * pkgconfig/gstreamer-net.pc.in:
19059         * pkgconfig/gstreamer-net-uninstalled.pc.in:
19060         * pkgconfig/Makefile.am: Add net pkgconfig files.
19061
19062 2005-11-18  Stefan Kost  <ensonic@users.sf.net>
19063
19064         * gst/gstcaps.c:
19065         * gst/gstghostpad.c:
19066         * gst/gsttrace.c:
19067         * gst/gstvalue.c:
19068         * gst/gstvalue.h:
19069           docs fixes
19070
19071 2005-11-18  Andy Wingo  <wingo@pobox.com>
19072
19073         * gst/net/gstnetclientclock.c: Turn off debugging.
19074
19075         * check/net/gstnetclientclock.c (test_functioning): Assert that the
19076         times connverge somewhat. Can't make a real test.
19077
19078         * gst/net/gstnetclientclock.c (do_linear_regression): Use all
19079         integer arithmetic. Return the minimum of the domain, which can be
19080         set as "internal" for gst_clock_set_calibration.
19081         (gst_net_client_clock_observe_times): Call _set_calibration.
19082         (gst_net_client_clock_new): Call _set_calibration instead of
19083         rate_offset.
19084
19085         * check/net/gstnetclientclock.c (test_functioning): Use the right
19086         adjustment api.
19087
19088         * gst/gstclock.h:
19089         * gst/gstclock.c (gst_clock_get_calibration) 
19090         (gst_clock_set_calibration): New functions, obsolete the ones I
19091         added yesterday. Doh. Precision issues mean we have to extrapolate
19092         from a point in the more recent past than 1970.
19093         (gst_clock_get_rate_offset, gst_clock_set_rate_offset): Mark as
19094         obsolete.
19095         (gst_clock_adjust_unlocked): Use the right calibration data.
19096
19097 2005-11-18  Edward Hervey  <edward@fluendo.com>
19098
19099         * gst/base/gstbasesink.c: (gst_base_sink_change_state): 
19100         Also reset the ->current_* values in READY->PAUSED
19101
19102 2005-11-18  Andy Wingo  <wingo@pobox.com>
19103
19104         * gst/net/gstnetclientclock.c (gst_net_client_clock_thread):
19105         Whoops, check the right fd. Also add some debugging.
19106         (gst_net_client_clock_observe_times): Adjust for int64 offset.
19107         (do_linear_regression): Add a crapload of debugging. Subtract off
19108         the minimum values from the input series to discard unneeded bits.
19109         Use only int arithmetic. There is still double arithmetic when
19110         calculating the intercept that needs fixing. Return boolean to
19111         indicate success; FALSE would mean the domain or range is too
19112         great. Still needs fixes.
19113
19114 2005-11-18  Wim Taymans  <wim@fluendo.com>
19115
19116         * gst/base/gstbasesink.c: (gst_base_sink_get_position):
19117         For the current position in stream time, we need to subtract
19118         accumulated time.
19119         
19120         * gst/gstsystemclock.c: (gst_system_clock_async_thread):
19121         Release lock before calling the callback function of async
19122         entries.
19123
19124 2005-11-18  Andy Wingo  <wingo@pobox.com>
19125
19126         * gst/net/gstnetclientclock.c (gst_net_client_clock_class_init):
19127         Port goes all the way to MAXUINT16.
19128
19129         * gst/net/gstnettimeprovider.c: Make the port range the same as
19130         for the kernel: 0 assigns, otherwise ports are less than
19131         MAXUINT16.
19132
19133         * check/net/gstnettimeprovider.c: Adapt for 0 == kernel assigns
19134         port change.
19135
19136         * check/net/gstnetclientclock.c (test_functioning): Add the start
19137         of another test. 
19138
19139 2005-11-18  Wim Taymans  <wim@fluendo.com>
19140
19141         * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
19142         (gst_bin_remove_func), (bin_bus_handler):
19143         * gst/gstbin.h:
19144         Removing a clock provider from a bin, triggers a clock lost message
19145         so that a new clock will be selected.
19146         Adding a clock to a bin triggers a clock provider message.
19147         Make sure we reselect a clock when we received a clock lost message.
19148         Keep a reference to the element that provided the clock.
19149
19150 2005-11-18  Andy Wingo  <wingo@pobox.com>
19151
19152         * gst/net/gstnetclientclock.c (gst_net_client_clock_new): Adjust
19153         the clock initially so it produces values around the base time.
19154         (gst_net_client_clock_class_init): Typo fix.
19155         (gst_net_client_clock_thread): Add note on when the socket gets
19156         closed.
19157
19158 2005-11-17  Wim Taymans  <wim@fluendo.com>
19159
19160         * gst/net/gstnetclientclock.c: (gst_net_client_clock_finalize):
19161         Free remote and local time arrays.
19162
19163 2005-11-17  Wim Taymans  <wim@fluendo.com>
19164
19165         * gst/net/gstnetclientclock.c: (do_linear_regression),
19166         (gst_net_client_clock_do_select), (gst_net_client_clock_thread):
19167         Fix compilation, uninitialized vars and a forgotten continue.
19168
19169 2005-11-17  Andy Wingo  <wingo@pobox.com>
19170
19171         * check/Makefile.am (check_PROGRAMS): 
19172         * check/net/gstnetclientclock.c: Add a most minimal test for the
19173         net client clock. More to come later.
19174
19175         * gst/net/gstnet.h: 
19176         * gst/net/Makefile.am: Add netclientclock.
19177
19178         * gst/net/gstnetclientclock.h:
19179         * gst/net/gstnetclientclock.c: New files, implement an untested
19180         GstClock that takes its time from a network time provider.
19181         Implements the algorithm in network-clock.scm.
19182
19183         * tests/network-clock.scm (*window-size*): Rename from
19184         *queue-length*.
19185         * tests/network-clock.scm (network-time): 
19186         * tests/network-clock-utils.scm (q-push): Update callers.
19187
19188 2005-11-17  Wim Taymans  <wim@fluendo.com>
19189
19190         * gst/gstbin.c: (gst_bin_provide_clock_func),
19191         (gst_bin_sort_iterator_new):
19192         And unref the child too..
19193
19194 2005-11-17  Wim Taymans  <wim@fluendo.com>
19195
19196         * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
19197         (gst_bin_sort_iterator_new), (gst_bin_iterate_sorted):
19198         Refactor the sort iterator so it can be used while holding the
19199         LOCK too.
19200         Make clock selection select a clock closest to the source.
19201
19202 2005-11-17  Michael Smith <msmith@fluendo.com>
19203
19204         * gst/gstclock.c: (gst_clock_init), (gst_clock_adjust_unlocked),
19205         (gst_clock_set_rate_offset), (gst_clock_get_rate_offset):
19206         * gst/gstclock.h:
19207           Anonymous structs are a gcc (and some other compilers) extension, so
19208           don't use them. Since this is only for ABI-compatibility, and our
19209           API/ABI freeze is over in a few days, this whole thing will only
19210           last a few days, so don't bother trying to think up a meaningful
19211           name for the struct.
19212
19213 2005-11-17  Andy Wingo  <wingo@pobox.com>
19214
19215         * gst/gstclock.h (GstClock): Add rate and offset properties,
19216         preserving ABI stability. Add rate/offset accessors. Will file bug
19217         for the freeze break.
19218
19219         * gst/gstclock.c (gst_clock_adjust_unlocked): Implement using rate
19220         and offset, trying to keep precision and avoiding
19221         underflow/overflow.
19222         (gst_clock_set_rate_offset, gst_clock_get_rate_offset): New
19223         functions. Make gst_clock_set_time_adjust obsolete.
19224         (gst_clock_set_time_adjust): Note that this function is obsolete.
19225         Will file bug soon.
19226
19227         * gst/base/gstbasetransform.h: Make the ABI-stability hack
19228         greppable by using GST_PADDING-1+1.
19229
19230 2005-11-17  Torsten Schoenfeld  <kaffeetisch at gmx dot net>
19231
19232         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
19233
19234         * gst/gstmessage.c: (gst_message_parse_clock_lost):
19235           Assertion should check for CLOCK_LOST, not NEW_CLOCK (#321648).
19236
19237         * gst/gstpadtemplate.h:
19238         * gst/gstpluginfeature.h:
19239           Don't use c++ style comments in headers (#321638).
19240
19241 2005-11-16  Andy Wingo  <wingo@pobox.com>
19242
19243         * gst/net/gstnettimepacket.c (gst_net_time_packet_send): Free
19244         buffer.
19245
19246         * check/net/gstnettimeprovider.c: Check to see that the time
19247         provider actually provides times. Works, yo!
19248
19249 2005-11-16  Wim Taymans  <wim@fluendo.com>
19250
19251         * check/Makefile.am:
19252         Enable more tests.
19253
19254         * check/elements/fakesrc.c: (GST_START_TEST):
19255         Set element to NULL before disposing it.
19256
19257 2005-11-16  Andy Wingo  <wingo@pobox.com>
19258
19259         * gst/net/Makefile.am:
19260         * gst/net/gstnet.h:
19261         * gst/net/gstnettimeprovider.c: 
19262         * gst/net/gstnettimeprovider.h: Use the timepacket stuff in the
19263         provider, include it from gstnet.h, and add it to the build.
19264
19265         * gst/net/gstnettimepacket.h: 
19266         * gst/net/gstnettimepacket.c: New files, abstracts out the packet
19267         sending and receiving.
19268
19269 2005-11-16  Wim Taymans  <wim@fluendo.com>
19270
19271         * check/Makefile.am:
19272         Enable valgrind check.
19273
19274         * gst/elements/gstfakesrc.c: (gst_fake_src_alloc_parent),
19275         (gst_fake_src_alloc_buffer):
19276         Fix memleak.
19277
19278 2005-11-16  Wim Taymans  <wim@fluendo.com>
19279
19280         * gst/net/gstnettimeprovider.c: (gst_net_time_provider_finalize):
19281         Call parent finalize too.
19282
19283 2005-11-16  Wim Taymans  <wim@fluendo.com>
19284
19285         * check/Makefile.am:
19286         Enable valgrind check that should work fine now.
19287
19288         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
19289         * gst/gstqueue.c: (gst_queue_init):
19290         Fix memleaks in pad allocation.
19291
19292 2005-11-16  Andy Wingo  <wingo@pobox.com>
19293
19294         * gst/net/Makefile.am:
19295         * gst/net/gstnet.h: New part of core to hold network elements and
19296         objects. Put in core because it exposes API that applications want
19297         to use. The library is named libgstnet-tempname right now because
19298         of the existing libgstnet in gst-plugins-base. Solution is
19299         probably to rename the one in plugins-base; will file a bug for
19300         the freeze break.
19301
19302         * gst/net/gstnettimeprovider.c: 
19303         * gst/net/gstnettimeprovider.h: New object to export a GstClock's
19304         get_time call over the network.
19305
19306         * configure.ac: 
19307         * gst/Makefile.am (lib_LTLIBRARIES): Add gstnet to the build.
19308
19309         * check/Makefile.am:
19310         * check/net/gstnettimeprovider.c: A most minimal test suite. Will
19311         get additions shortly.
19312
19313 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
19314
19315         * gst/gstpad.c: (gst_pad_new_from_static_template):
19316         * gst/gstpad.h:
19317           add gst_pad_new_from_static_template functions
19318         * gst/check/gstcheck.c: (gst_check_setup_src_pad),
19319         (gst_check_setup_sink_pad):
19320         * gst/elements/gsttee.c: (gst_tee_init):
19321           and use them
19322
19323 2005-11-16  Wim Taymans  <wim@fluendo.com>
19324
19325         * gst/gstpad.c: (gst_pad_pause_task):
19326         Removed warning, it's not really an error either.
19327
19328 2005-11-16  Wim Taymans  <wim@fluendo.com>
19329
19330         * gst/base/gstbasetransform.c:
19331         (gst_base_transform_prepare_output_buf),
19332         (gst_base_transform_event):
19333         Check if the caps are NULL, this can happen if the element
19334         is shutting down and the pad caps are set to NULL.
19335
19336 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
19337
19338         * gst/elements/gsttee.c: (gst_tee_init):
19339           fix pad template leak in tee
19340
19341 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
19342
19343         * gst/glib-compat.c: (g_value_dup_gst_object):
19344         * gst/glib-compat.h:
19345         * gst/gstpad.c: (gst_pad_set_property):
19346           use gst_object_ref when setting the pad template; this will
19347           trigger the pad template leaks on GLib 2.6 and the slaves
19348
19349 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
19350
19351         * gst/glib-compat.c: (gst_flags_get_first_value):
19352         * gst/glib-compat.h:
19353         * gst/gstregistryxml.c:
19354           remove functions copied from GLib 2.6
19355
19356 2005-11-16  Michael Smith <msmith@fluendo.com>
19357
19358         * gst/Makefile.am:
19359           Don't link against VALGRIND_LIBS. That was always the wrong thing to
19360           do, but only breaks with newer valgrind versions. We're not a
19361           valgrind tool, we have no link-time dependencies on libcoregrind.
19362
19363 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
19364
19365         * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
19366           some debug changes
19367         * gst/gstmessage.h:
19368           typo fixes
19369
19370 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
19371
19372         * gst/base/gstbasesrc.c: (gst_base_src_init):
19373         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
19374         * gst/gstqueue.c: (gst_queue_init):
19375         * gst/gstregistryxml.c: (load_feature):
19376           Revert all these unrefs, they don't even pass make check !
19377
19378 2005-11-15  Johan Dahlin  <johan@gnome.org>
19379
19380         * gst/base/gstbasesrc.c: (gst_base_src_init):
19381         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
19382         * gst/gstqueue.c: (gst_queue_init): 
19383         Free pad templates, fixes a couple of leaks.
19384
19385 2005-11-15  Daniel Fischer  <dan at f3c dot com>
19386
19387         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
19388
19389         * gst/gstpad.c: (gst_pad_get_property):
19390           GST_PAD_PAD_TEMPLATE(pad) gets the pad template, while
19391           GST_PAD_TEMPLATE(pad) does a cast. We want the former here.
19392           (#321452)
19393
19394 2005-11-15  Wim Taymans  <wim@fluendo.com>
19395
19396         * gst/gstevent.c:
19397         Small doc update.
19398
19399 2005-11-15  Andy Wingo  <wingo@pobox.com>
19400
19401         * gst/gstelement.c (gst_element_set_base_time): Add debugging.
19402
19403         * gst/gstpipeline.c (gst_pipeline_set_new_stream_time): Document
19404         using GST_CLOCK_TIME_NONE to disable base time management.
19405         (do_pipeline_seek, gst_pipeline_change_state): Don't reset stream
19406         time if it was NONE before.
19407         (gst_pipeline_change_state): Only munge the base time if
19408         stream_time != GST_CLOCK_TIME_NONE.
19409
19410         * check/gst/gstpipeline.c (test_base_time): Punt around the
19411         problem of the probe not being called, because that's not the
19412         issue I'm looking at. Add a check that setting stream_time to NONE
19413         disables base time management.
19414         
19415 2005-11-15  Wim Taymans  <wim@fluendo.com>
19416
19417         * gst/base/gstbasesink.c: (gst_base_sink_change_state):
19418         segment_stop == -1 at startup.
19419
19420         * gst/base/gstbasetransform.c: (gst_base_transform_event),
19421         (gst_base_transform_change_state):
19422         Init segment values at start.
19423
19424 2005-11-15  Wim Taymans  <wim@fluendo.com>
19425
19426         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
19427         0 segment values are 0 in any format.
19428
19429         * gst/base/gstbasetransform.c: (gst_base_transform_event):
19430         * gst/base/gstbasetransform.h:
19431         Parse newsegment correctly in basetransform
19432
19433         * gst/elements/gstidentity.c: (gst_identity_transform_ip):
19434         Sync to clock using updated segment values.
19435
19436 2005-11-15  Andy Wingo  <wingo@pobox.com>
19437
19438         * check/gst/gstpipeline.c (test_base_time): Add check that the
19439         base time and stream time are reset correctly.
19440
19441 2005-11-15  Wim Taymans  <wim@fluendo.com>
19442
19443         * docs/design/part-TODO.txt:
19444         Some more TODO items.
19445
19446 2005-11-15  Andy Wingo  <wingo@pobox.com>
19447
19448         * gst/elements/gstfakesrc.c (gst_fake_src_create): It's not an
19449         error if the user selected "no clock" as the clocking method.
19450
19451         * check/gst/gstpipeline.c (test_base_time): New test for buffer
19452         timestamps with live capture.
19453
19454         * gst/elements/gstfakesrc.c (gst_fake_src_create): If the datarate
19455         is 0 but we are a live source, timestamp the buffers using the
19456         element's clock.
19457
19458 2005-11-14  Stefan Kost  <ensonic@users.sf.net>
19459
19460         * docs/gst/gstreamer-sections.txt:
19461         * gst/gsterror.c:
19462         * gst/gstghostpad.c:
19463         * gst/gstobject.h:
19464         * gst/gstxml.c:
19465           more section docs
19466
19467 2005-11-14  Wim Taymans  <wim@fluendo.com>
19468
19469         * common/gst.supp:
19470           add suppressions from Wim's Debian machine
19471
19472 2005-11-14  Thomas Vander Stichele  <thomas at apestaart dot org>
19473
19474         * common/gst.supp:
19475           add suppressions from Andy's AMD64 Ubuntu machine
19476
19477 2005-11-14  Andy Wingo  <wingo@pobox.com>
19478
19479         * gst/gstpad.c (gst_pad_set_active): Change docs; parent's
19480         STATE_LOCK not necessary. Fixes #311489.
19481
19482         * gst/gsterror.c (FILE_A_BUG): Be polite *and* helpful. Fixes
19483         #305291.
19484
19485         * gst/gstindex.c (gst_index_add_object): Note in the docs that
19486         this function is not implemented.
19487
19488 2005-11-14  Julien MOUTTE  <julien@moutte.net>
19489
19490         * gst/base/gstbasetransform.c:
19491         (gst_base_transform_prepare_output_buf):
19492         Ref the source pad caps while we need them.
19493         Fixes (#321386)
19494
19495 2005-11-11  Wim Taymans  <wim@fluendo.com>
19496
19497         * docs/gst/gstreamer-sections.txt:
19498         Added some docs for GstCollectData.
19499
19500         * gst/base/gstadapter.c:
19501         Some small code example fix.
19502
19503         * gst/base/gstcollectpads.c:
19504         * gst/base/gstcollectpads.h:
19505         Document some more.
19506
19507 2005-11-11  Thomas Vander Stichele  <thomas at apestaart dot org>
19508
19509         * configure.ac: back to HEAD
19510
19511 === release 0.9.5 ===
19512
19513 2005-11-11  Thomas Vander Stichele <thomas at apestaart dot org>
19514
19515         * configure.ac:
19516           releasing 0.9.5, "Bike Lunch Day"
19517
19518 2005-11-11  Wim Taymans  <wim@fluendo.com>
19519
19520         * gst/gstbuffer.c: (_gst_buffer_copy):
19521         Copy more flags.
19522
19523         * gst/gstcaps.c: (gst_caps_is_equal):
19524         Fix some docs.
19525         Make _is_equal fast in the trivial cases.
19526
19527         * gst/gstminiobject.c:
19528         * gst/gstminiobject.h:
19529         More docs. Spifify .h file.
19530
19531         * gst/gstutils.c:
19532         Small doc update.
19533
19534 2005-11-11  Wim Taymans  <wim@fluendo.com>
19535
19536         * gst/base/gstbasetransform.c:
19537         (gst_base_transform_prepare_output_buf),
19538         (gst_base_transform_handle_buffer):
19539         Small cleanups.
19540         If we're processing a buffer and need to allocate an output
19541         buffer, we cannot accept a format change. If we did get a 
19542         format change, we have to alloc a buffer ourselves of the 
19543         right size.
19544
19545 2005-11-11  Wim Taymans  <wim@fluendo.com>
19546
19547         * gst/gstpad.c: (gst_pad_get_caps), (gst_pad_peer_get_caps):
19548         While checking the flag for reentrancy in the gstcaps function
19549         is nice to detect recursive invocations, it also makes it 
19550         impossible to call getcaps from multiple threads, which must be
19551         possible. So, checking for recursive calls has to go.
19552
19553 2005-11-11  Michael Smith <msmith@fluendo.com>
19554
19555         * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
19556           Don't sync on buffers that fall partially outside our current
19557           segment. Prevents an assertion failure/abort playing some files.
19558
19559 2005-11-10  Andy Wingo  <wingo@pobox.com>
19560
19561         * check/gst/gstbin.c (test_message_state_changed_children): Style
19562         fix..
19563
19564         * gst/gstbus.c (poll_destroy, poll_func, gst_bus_poll): Implement
19565         gst_bus_poll with the signal watch. Ensures that poll and a signal
19566         watch see the same messages.
19567
19568         * check/gst/gstbus.c (test_watch_with_poll): New test, checks that
19569         a poll and a watch at the same time get the same messages.
19570
19571 2005-11-10  Thomas Vander Stichele  <thomas at apestaart dot org>
19572
19573         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps):
19574         * gst/gstcaps.c: (gst_caps_intersect):
19575           Don't call gst_caps_do_simplify - it doesn't respect order of caps
19576           and it's not needed.
19577
19578 2005-11-10  Wim Taymans  <wim@fluendo.com>
19579
19580         * docs/design/part-TODO.txt:
19581         Updated todo.
19582
19583 2005-11-10  Wim Taymans  <wim@fluendo.com>
19584
19585         * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
19586         * gst/base/gstbasesrc.c: (gst_base_src_wait),
19587         (gst_base_src_do_sync), (gst_base_src_get_range):
19588         Implement clock sync in base class.
19589
19590 2005-11-10  Thomas Vander Stichele  <thomas at apestaart dot org>
19591
19592         patch by: Tim-Philipp Müller <tim at centricular dot net>
19593
19594         * gst/gststructure.c: (gst_structure_parse_field),
19595         (gst_structure_from_string):
19596           Forward-port a 0.8 patch to handle escaped spaces in structure string,
19597           so that gst_parse_launch() can deal with spaces in filtered link
19598           caps (fixes #164479)
19599         * check/gst/capslist.h:
19600         * check/gst/gststructure.c: (GST_START_TEST):
19601           add unit tests for this change
19602
19603 2005-11-10  Wim Taymans  <wim@fluendo.com>
19604
19605         * docs/gst/gstreamer-sections.txt:
19606         * gst/gstelement.c:
19607         * gst/gstelement.h:
19608         Fix docs, move some STATE macros to private.
19609
19610 2005-11-10  Wim Taymans  <wim@fluendo.com>
19611
19612         * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
19613         Added check for bug #317341
19614
19615         * gst/gstbuffer.c:
19616         * gst/gstbuffer.h:
19617         Some more spiffifying.
19618
19619         * gst/gstghostpad.c: (gst_ghost_pad_do_link):
19620         Call peer linkfunction if we are a source pad. Totally fixes
19621         #317341
19622
19623         * gst/gstpad.c:
19624         Update docs, source pads should call the peer linkfunction
19625         so they can atomically perform the pad link.
19626
19627 2005-11-09  Wim Taymans  <wim@fluendo.com>
19628
19629         * gst/gstbuffer.c:
19630         * gst/gstbuffer.h:
19631         Uber-spiffy-spiffify some more.
19632
19633 2005-11-09  Tim-Philipp Müller  <tim at centricular dot net>
19634
19635         * gst/base/gstcollectpads.c: (gst_collectpads_add_pad):
19636         * gst/elements/gstfilesink.c: (gst_file_sink_init):
19637         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
19638         * gst/gstghostpad.c: (gst_ghost_pad_set_internal),
19639         (gst_ghost_pad_init), (gst_ghost_pad_new_notarget):
19640         * gst/gstpad.c: (gst_pad_init):
19641           Use GST_DEBUG_FUNCPTR() more extensively.
19642
19643 2005-11-09  Wim Taymans  <wim@fluendo.com>
19644
19645         * gst/gstobject.c: (gst_object_class_init):
19646         * gst/gstobject.h:
19647         Documentation fixes.
19648
19649 2005-11-09  Edward Hervey  <edward@fluendo.com>
19650
19651         * gst/gsttypefindfactory.c:
19652         Fix docs.
19653         
19654 2005-11-09  Edward Hervey  <edward@fluendo.com>
19655
19656         * gst/base/gsttypefindhelper.c:
19657         * gst/gsttypefind.c:
19658         * gst/gsttypefind.h:
19659         Fix docs.
19660
19661 2005-11-09  Wim Taymans  <wim@fluendo.com>
19662
19663         * gst/gstiterator.c:
19664         Fix revision data.
19665
19666         * gst/gsttask.c:
19667         * gst/gsttask.h:
19668         Fix docs.
19669
19670 2005-11-09  Wim Taymans  <wim@fluendo.com>
19671
19672         * gst/gstevent.h:
19673         * gst/gsturi.h:
19674         Fix docs.
19675
19676 2005-11-09  Wim Taymans  <wim@fluendo.com>
19677
19678         * docs/gst/gstreamer-sections.txt:
19679         Moved the message async delivery private lock and cond
19680         to the private section.
19681
19682         * gst/gstmessage.c:
19683         * gst/gstmessage.h:
19684         Fixed docs.
19685
19686 2005-11-09  Edward Hervey  <edward@fluendo.com>
19687
19688         * docs/gst/gstreamer-sections.txt:
19689         * gst/gsturi.c:
19690         * gst/gsturi.h:
19691         Document GstURIHandler
19692
19693 2005-11-09  Wim Taymans  <wim@fluendo.com>
19694
19695         * gst/gstiterator.c: (gst_iterator_fold), (gst_iterator_foreach),
19696         (gst_iterator_find_custom):
19697         * gst/gstiterator.h:
19698         Fix iterator docs.
19699
19700 2005-11-09  Wim Taymans  <wim@fluendo.com>
19701
19702         * gst/gstbin.h:
19703         Document another field.
19704
19705         * gst/gststructure.c:
19706         * gst/gststructure.h:
19707         Document.
19708
19709 2005-11-09  Wim Taymans  <wim@fluendo.com>
19710
19711         * gst/gstbin.h:
19712         Documented structs.
19713
19714 2005-11-09  Wim Taymans  <wim@fluendo.com>
19715
19716         * docs/gst/gstreamer-sections.txt:
19717         Added some new macros.
19718
19719         * gst/gstclock.c:
19720         * gst/gstclock.h:
19721         * gst/gstobject.h:
19722         Docs updates.
19723
19724 2005-11-09  Wim Taymans  <wim@fluendo.com>
19725
19726         * docs/design/part-TODO.txt:
19727         Some more items for the TODO
19728
19729         * gst/gstcaps.c:
19730         * gst/gstcaps.h:
19731         Document GstCaps.
19732
19733 2005-11-09  Andy Wingo  <wingo@pobox.com>
19734
19735         * gst/base/gstbasesink.c: Add the beginning of docs here -- have
19736         to work on something else now tho...
19737
19738         * gst/base/gstadapter.c: More adapter docs.
19739
19740         * gst/elements/gstfilesink.c (gst_file_sink_start) 
19741         (gst_file_sink_stop): New functions, replace the state change
19742         handler.
19743         (gst_file_sink_class_init): Hook up the start and stop functions.
19744         (gst_file_sink_base_init): Don't set the state change handler any
19745         more. It was a bit ugly too, being set from here...
19746         (gst_file_sink_get_property, gst_file_sink_set_property):
19747         Cleanups...
19748         (gst_file_sink_set_location): More robust check that doesn't call
19749         GST_STATE. Ugggggg.
19750
19751 2005-11-08  Tim-Philipp Müller  <tim at centricular dot net>
19752
19753         * gst/base/gstbasetransform.c: (gst_base_transform_event):
19754           Hold STREAM_LOCK while pushing newsegment or tag events as well.
19755
19756 2005-11-08  Wim Taymans  <wim@fluendo.com>
19757
19758         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
19759         (gst_base_sink_do_sync), (gst_base_sink_handle_event),
19760         (gst_base_sink_chain), (gst_base_sink_change_state):
19761         * gst/base/gstbasesink.h:
19762         * gst/base/gstbasesrc.h:
19763         * gst/gstelement.h:
19764         * gst/gstevent.h:
19765         Avoid excessive typechecking in macros.
19766
19767         * gst/gstminiobject.c: (gst_mini_object_get_type),
19768         (gst_mini_object_init), (gst_mini_object_new),
19769         (gst_mini_object_free):
19770         * gst/gstobject.c: (gst_object_class_init), (gst_object_init),
19771         (gst_object_finalize):
19772         Remove cruft code, optimize alloc_trace.
19773
19774 2005-11-07  Thomas Vander Stichele  <thomas at apestaart dot org>
19775
19776         * docs/faq/gst-uninstalled:
19777           fix up PS1 for systems that try to reset it
19778
19779 2005-11-07  Wim Taymans  <wim@fluendo.com>
19780
19781         * gst/base/gstbasesrc.c: (gst_base_src_init),
19782         (gst_base_src_get_range):
19783         Set the segment_end to -1 initially. Fixed typefind.
19784
19785 2005-11-07  Tim-Philipp Müller  <tim at centricular dot net>
19786
19787         * gst/base/gstadapter.c:
19788           Debug category should be 'adapter', not 'GstAdapter'.
19789           
19790         * gst/base/gstcollectpads.c: (gst_collectpads_base_init),
19791         (gst_collectpads_class_init), (gst_collectpads_init),
19792         (gst_collectpads_peek), (gst_collectpads_pop),
19793         (gst_collectpads_event), (gst_collectpads_chain):
19794           Add debug category and some debugging output. Use boilerplate
19795           macros. Remove some extraneous words from docs.
19796
19797 2005-11-05  Andy Wingo  <wingo@pobox.com>
19798
19799         * gst/base/gstpushsrc.c: Shorten by 30% via use of boilerplate
19800         macro.
19801
19802 2005-11-04  Stefan Kost  <ensonic@users.sf.net>
19803
19804         * docs/gst/gstreamer-sections.txt:
19805         * gst/gstcaps.h:
19806         * gst/gstinfo.c:
19807         * gst/gstminiobject.h:
19808         * gst/gstobject.h:
19809         * gst/gstutils.h:
19810           more docs added
19811
19812 2005-11-04  Wim Taymans  <wim@fluendo.com>
19813
19814         * gst/base/gstbasesrc.c: (gst_base_src_get_range):
19815         Small update to stop at the configured segment_end
19816         position.
19817
19818 2005-11-04  Stefan Kost  <ensonic@users.sf.net>
19819
19820         * gst/gstregistry.c:
19821         * gst/gstregistry.h:
19822           added missing docs
19823
19824 2005-11-04  Edward Hervey  <edward@fluendo.com>
19825
19826         * gst/base/gstbasesrc.c: (gst_base_src_get_range):
19827         Check if we are doing a segment seek and have arrived at the
19828         end of that segment.
19829
19830 2005-11-04  Wim Taymans  <wim@fluendo.com>
19831
19832         * gst/gstbus.c: (gst_bus_post), (gst_bus_set_sync_handler):
19833         Don't leak a mutex unlock in case of an error.
19834
19835         * gst/gstbus.h:
19836         Doc fixes.
19837
19838 2005-11-04  Wim Taymans  <wim@fluendo.com>
19839
19840         * gst/gstbus.c: (gst_bus_class_init), (gst_bus_init),
19841         (gst_bus_post):
19842         Get the context to wake up only once.
19843
19844 2005-11-03  Wim Taymans  <wim@fluendo.com>
19845
19846         * check/states/sinks.c: (GST_START_TEST):
19847         Uncomment fixed check.
19848
19849         * docs/design/part-TODO.txt:
19850         Updated TODO.
19851
19852         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
19853         (gst_base_sink_handle_object), (gst_base_sink_do_sync),
19854         (gst_base_sink_get_position):
19855         If we are going to PLAYING, post the right pending state
19856         when we post the intermediate paused message.
19857
19858         * gst/gstelement.c: (gst_element_continue_state),
19859         (gst_element_set_state_func), (gst_element_change_state):
19860         Don't post state changes that were between the same state
19861         and were not ASYNC.
19862
19863 2005-11-03  Stefan Kost  <ensonic@users.sf.net>
19864
19865         * docs/gst/gstreamer-sections.txt:
19866         * gst/gstcaps.h:
19867         * gst/gstinfo.c:
19868         * gst/gstminiobject.h:
19869         * gst/gstobject.h:
19870         * gst/gstutils.h:
19871           more docs and doc style fixes
19872
19873 2005-11-03  Stefan Kost  <ensonic@users.sf.net>
19874
19875         * docs/gst/gstreamer-sections.txt:
19876         * gst/gstelement.c:
19877         * gst/gstminiobject.c:
19878         doc fixes
19879
19880 2005-11-03  Andy Wingo  <wingo@pobox.com>
19881
19882         * check/states/sinks.c (test_livesrc_sink): Add checks that the
19883         state-changed messages actually have the right order and the right
19884         values.
19885
19886 2005-11-03  Wim Taymans  <wim@fluendo.com>
19887
19888         * check/states/sinks.c: (GST_START_TEST), (gst_object_suite):
19889         Added some more checks. Specifically the case where NO_PREROLL
19890         elements are in the pipeline.
19891
19892         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
19893         (gst_base_sink_handle_object), (gst_base_sink_do_sync),
19894         (gst_base_sink_get_position):
19895         Post READY->PAUSED state change messages too.
19896         Fix bug where VOID was posted as pending state...
19897
19898         * gst/gstbin.c: (gst_bin_recalc_state):
19899         use _element_continue_state() to continue the state change.
19900
19901         * gst/gstelement.c: (gst_element_continue_state),
19902         (gst_element_commit_state), (gst_element_set_state_func),
19903         (gst_element_change_state), (gst_element_change_state_func):
19904         Lots of state change cleanups, assign the STATE_RETURN in
19905         a new continue_state() function that also propagates the
19906         last return value from a state change to the app.
19907         Update some debug statements with proper category.
19908
19909 2005-11-03  Wim Taymans  <wim@fluendo.com>
19910
19911         * docs/design/part-events.txt:
19912         * docs/design/part-gstpipeline.txt:
19913         * docs/design/part-messages.txt:
19914         * docs/design/part-overview.txt:
19915         * docs/design/part-seeking.txt:
19916         * docs/design/part-states.txt:
19917         * docs/design/part-trickmodes.txt:
19918         * docs/manual/advanced-position.xml:
19919         Small docs updates.
19920
19921         * gst/gstobject.h:
19922         People think !! is ugly, this looks better.
19923
19924         * gst/gstpad.c: (gst_pad_set_blocked_async):
19925         Remove !! since it's fixed elsewhere now.
19926
19927 2005-11-03  Tim-Philipp Müller  <tim at centricular dot net>
19928
19929         * gst/gstminiobject.h:
19930         * gst/gstobject.h:
19931           Add !! to _FLAG_IS_SET macros to make the result boolean.
19932
19933 2005-11-03  Edward Hervey  <edward@fluendo.com>
19934
19935         * gst/gstpad.c: (gst_pad_set_blocked_async):
19936         comparing a flag and a gboolean rarely returns coherent results...
19937         Added two characters (!!) to make that work correctly.
19938         
19939 2005-11-03  Tim-Philipp Müller  <tim at centricular dot net>
19940
19941         * gst/gstbus.c: (gst_bus_class_init):
19942           Fix some typos.
19943           
19944         * gst/gstqueue.c: (gst_queue_loop):
19945           Don't assume a miniobject that isn't a buffer is an
19946           event (it could be that there is a refcounting
19947           problem somewhere and the pointer is stale and
19948           refers to an already destroyed miniobject).
19949
19950 2005-11-03  Julien MOUTTE  <julien@moutte.net>
19951
19952         * gst/gstpad.c: (gst_pad_alloc_buffer): Fix some typos.
19953
19954 2005-11-03  Tim-Philipp Müller  <tim at centricular dot net>
19955
19956         * docs/manual/advanced-position.xml:
19957           Update seek example and explanations to current 0.9 API.
19958
19959         * gst/elements/gsttypefindelement.c:
19960         (gst_type_find_element_activate):
19961           Remove FIXME comment now that the found caps
19962           are unreffed.
19963
19964 2005-11-03  Thomas Vander Stichele  <thomas at apestaart dot org>
19965
19966         * gst/gstregistryxml.c: (load_feature):
19967           Add another GST_STR_NULL instance
19968
19969 2005-11-02  Edward Hervey  <edward@fluendo.com>
19970
19971         * gst/gstpad.c: (handle_pad_block):
19972         Follow-up to Wim's patch, solves deadlock for blocked and flushing pads
19973         
19974 2005-11-02  Wim Taymans  <wim@fluendo.com>
19975
19976         * gst/gstbin.c:
19977         Fix typo in docs.
19978
19979         * gst/gstelement.c: (gst_element_commit_state):
19980         Remove unused value.
19981
19982         * gst/gstiterator.c:
19983         Mention that the returned element is reffed in the docs.
19984
19985 2005-11-02  Wim Taymans  <wim@fluendo.com>
19986
19987         * gst/gstpad.c: (gst_pad_alloc_buffer), (handle_pad_block),
19988         (gst_pad_push), (gst_pad_push_event):
19989         Unlock blocked pads when they are flushed.
19990
19991 2005-11-02  Thomas Vander Stichele  <thomas at apestaart dot org>
19992
19993         * docs/README:
19994         * docs/gst/gstreamer-sections.txt:
19995         * gst/gstbin.c:
19996           doc updates
19997         * gst/gstregistry.c: (gst_registry_scan_path_level):
19998           fix for a nasty little missed situation where an installed plug-in
19999           which was in the cache did not get overridden by an uninstalled one
20000           which was earlier in the plugin path because the newly created plugin
20001           for the uninstalled one (not in the registry) didn't get its
20002           ->registered set to TRUE
20003
20004 2005-11-02  Tim-Philipp Müller  <tim at centricular dot net>
20005
20006         * gst/base/gstcollectpads.c: (gst_collectpads_set_function),
20007         (gst_collectpads_add_pad), (gst_collectpads_remove_pad),
20008         (gst_collectpads_is_active), (gst_collectpads_collect),
20009         (gst_collectpads_collect_range), (gst_collectpads_start),
20010         (gst_collectpads_stop), (gst_collectpads_peek),
20011         (gst_collectpads_pop), (gst_collectpads_available),
20012         (gst_collectpads_read), (gst_collectpads_flush):
20013           Guard public API with assertions.
20014         
20015         * gst/gstpad.c:
20016           Fix docs for gst_pad_set_link_function().
20017
20018 2005-11-02  Johan Dahlin  <johan@gnome.org>
20019
20020         * gst/elements/gsttypefindelement.c (gst_type_find_element_activate): 
20021         Unref found_caps after we used it.
20022
20023 2005-11-02  Tim-Philipp Müller  <tim at centricular dot net>
20024
20025         * gst/base/gstcollectpads.c: (gst_collectpads_peek):
20026           Don't try to ref NULL.
20027
20028 2005-11-02  Thomas Vander Stichele  <thomas at apestaart dot org>
20029
20030         * win32/common/config.h.in:
20031           provide a GST_FUNCTION that just gives a string for now
20032
20033 2005-11-02  Thomas Vander Stichele  <thomas at apestaart dot org>
20034
20035         * win32/common/gstenumtypes.c: (register_gst_object_flags),
20036         (gst_object_flags_get_type), (register_gst_bin_flags),
20037         (gst_bin_flags_get_type), (register_gst_buffer_flag),
20038         (gst_buffer_flag_get_type), (register_gst_bus_flags),
20039         (gst_bus_flags_get_type), (register_gst_bus_sync_reply),
20040         (gst_bus_sync_reply_get_type), (register_gst_clock_return),
20041         (gst_clock_return_get_type), (register_gst_clock_entry_type),
20042         (gst_clock_entry_type_get_type), (register_gst_clock_flags),
20043         (gst_clock_flags_get_type), (register_gst_state),
20044         (gst_state_get_type), (register_gst_state_change_return),
20045         (gst_state_change_return_get_type), (register_gst_state_change),
20046         (gst_state_change_get_type), (register_gst_element_flags),
20047         (gst_element_flags_get_type), (register_gst_core_error),
20048         (gst_core_error_get_type), (register_gst_library_error),
20049         (gst_library_error_get_type), (register_gst_resource_error),
20050         (gst_resource_error_get_type), (register_gst_stream_error),
20051         (gst_stream_error_get_type), (register_gst_event_type),
20052         (gst_event_type_get_type), (register_gst_seek_type),
20053         (gst_seek_type_get_type), (register_gst_seek_flags),
20054         (gst_seek_flags_get_type), (register_gst_format),
20055         (gst_format_get_type), (register_gst_index_certainty),
20056         (gst_index_certainty_get_type), (register_gst_index_entry_type),
20057         (gst_index_entry_type_get_type),
20058         (register_gst_index_lookup_method),
20059         (gst_index_lookup_method_get_type), (register_gst_assoc_flags),
20060         (gst_assoc_flags_get_type), (register_gst_index_resolver_method),
20061         (gst_index_resolver_method_get_type), (register_gst_index_flags),
20062         (gst_index_flags_get_type), (register_gst_debug_level),
20063         (gst_debug_level_get_type), (register_gst_debug_color_flags),
20064         (gst_debug_color_flags_get_type), (register_gst_iterator_result),
20065         (gst_iterator_result_get_type), (register_gst_iterator_item),
20066         (gst_iterator_item_get_type), (register_gst_message_type),
20067         (gst_message_type_get_type), (register_gst_mini_object_flags),
20068         (gst_mini_object_flags_get_type), (register_gst_pad_link_return),
20069         (gst_pad_link_return_get_type), (register_gst_flow_return),
20070         (gst_flow_return_get_type), (register_gst_activate_mode),
20071         (gst_activate_mode_get_type), (register_gst_pad_direction),
20072         (gst_pad_direction_get_type), (register_gst_pad_flags),
20073         (gst_pad_flags_get_type), (register_gst_pad_presence),
20074         (gst_pad_presence_get_type), (register_gst_pad_template_flags),
20075         (gst_pad_template_flags_get_type), (register_gst_pipeline_flags),
20076         (gst_pipeline_flags_get_type), (register_gst_plugin_error),
20077         (gst_plugin_error_get_type), (register_gst_plugin_flags),
20078         (gst_plugin_flags_get_type), (register_gst_rank),
20079         (gst_rank_get_type), (register_gst_query_type),
20080         (gst_query_type_get_type), (register_gst_tag_merge_mode),
20081         (gst_tag_merge_mode_get_type), (register_gst_tag_flag),
20082         (gst_tag_flag_get_type), (register_gst_task_state),
20083         (gst_task_state_get_type), (register_gst_alloc_trace_flags),
20084         (gst_alloc_trace_flags_get_type),
20085         (register_gst_type_find_probability),
20086         (gst_type_find_probability_get_type), (register_gst_uri_type),
20087         (gst_uri_type_get_type), (register_gst_parse_error),
20088         (gst_parse_error_get_type):
20089         * win32/common/gstversion.h:
20090           update win32 copies
20091
20092 2005-11-01  Luca Ognibene  <luogni@tin.it>
20093
20094         * gst/gst.c:
20095           fix docs. popt is dead, long live GOption.
20096
20097 2005-10-31  Wim Taymans  <wim@fluendo.com>
20098
20099         * gst/gstbuffer.h:
20100         Small doc fix.
20101
20102 2005-10-31  Andy Wingo  <wingo@pobox.com>
20103
20104         * Boo!
20105
20106         * gst/gstqueue.c (gst_queue_chain): Fix downstream leaky mode.
20107
20108         * gst/gstobject.c (gst_object_dispatch_properties_changed): No
20109         need to serialize property notifications on GLib 2.8. GLib 2.6 has
20110         the possibility of deadlocks here if code calling notify() or
20111         set() has a lock that can be taken in another notify handler (ABBA
20112         with class lock and e.g. python GIL state lock).
20113
20114 2005-10-28  Julien MOUTTE  <julien@moutte.net>
20115
20116         * gst/gstbus.c: Doc updates.
20117
20118 2005-10-28  Wim Taymans  <wim@fluendo.com>
20119
20120         * docs/design/part-TODO.txt:
20121         * gst/gstiterator.c:
20122         * gst/gstsystemclock.c:
20123         * gst/gstsystemclock.h:
20124         Doc updates.
20125
20126 2005-10-28  Edward Hervey  <edward@fluendo.com>
20127
20128         * docs/gst/gstreamer-docs.sgml:
20129         * docs/gst/gstreamer-sections.txt:
20130         the GstURIType documentation page is private, it only defines GstURIType
20131         which should be defined in the GstURIHandler page
20132         
20133 2005-10-28  Thomas Vander Stichele  <thomas at apestaart dot org>
20134
20135         * gst/gstbin.c: (gst_bin_class_init):
20136         * gst/gstbin.h:
20137         * gst/gstutils.c:
20138         Documentation updates.
20139
20140 2005-10-28  Wim Taymans  <wim@fluendo.com>
20141
20142         * docs/gst/gstreamer-sections.txt:
20143         * gst/gstclock.c:
20144         * gst/gstclock.h:
20145         Documented the clocks.
20146
20147 2005-10-28  Stefan Kost  <ensonic@users.sf.net>
20148
20149         * docs/gst/gstreamer-sections.txt:
20150           move some macros to private sections
20151         * gst/gstminiobject.c:
20152         * gst/gstminiobject.h:
20153           add descriptions provided by ds and some more
20154         * gst/gstpad.h:
20155           mark macro as to be removed
20156
20157 2005-10-28  Wim Taymans  <wim@fluendo.com>
20158
20159         * docs/design/part-TODO.txt:
20160         Add an item to TODO.
20161
20162         * gst/gstiterator.c: (gst_iterator_fold),
20163         (gst_iterator_find_custom):
20164         * gst/gstiterator.h:
20165         Add iterator docs.
20166
20167 2005-10-28  Wim Taymans  <wim@fluendo.com>
20168
20169         * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
20170         (gst_base_transform_init):
20171         Don't leak class.
20172
20173         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_loop):
20174         An EOS event marks the queue as completely filled.
20175
20176 2005-10-27  Wim Taymans  <wim@fluendo.com>
20177
20178         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
20179         (gst_base_sink_do_sync), (gst_base_sink_get_position):
20180         Some more debugging.
20181
20182         * gst/base/gstbasetransform.c: (gst_base_transform_finalize),
20183         (gst_base_transform_init), (gst_base_transform_buffer_alloc),
20184         (gst_base_transform_event), (gst_base_transform_getrange),
20185         (gst_base_transform_chain):
20186         * gst/base/gstbasetransform.h:
20187         Fix debugging,
20188         Protect transform and concurrent buffer alloc with a new lock.
20189         Try not to break ABI/API.
20190
20191 2005-10-27  Wim Taymans  <wim@fluendo.com>
20192
20193         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
20194         (gst_base_src_init), (gst_base_src_query),
20195         (gst_base_src_default_newsegment),
20196         (gst_base_src_configure_segment), (gst_base_src_do_seek),
20197         (gst_base_src_send_event), (gst_base_src_event_handler),
20198         (gst_base_src_pad_get_range), (gst_base_src_loop),
20199         (gst_base_src_unlock), (gst_base_src_default_negotiate),
20200         (gst_base_src_start), (gst_base_src_deactivate),
20201         (gst_base_src_activate_push), (gst_base_src_change_state):
20202         Move some stuff around and cleanup things.
20203
20204 2005-10-27  Tim-Philipp Müller  <tim at centricular dot net>
20205
20206         * gst/base/gstbasesrc.c: (gst_base_src_query):
20207           Add missing break statements.
20208
20209 2005-10-27  Wim Taymans  <wim@fluendo.com>
20210
20211         * check/gst/gstbin.c: (GST_START_TEST):
20212         An extra refcount is taken in basesrc.
20213
20214         * gst/base/gstbasesrc.c: (gst_base_src_init), (gst_base_src_query),
20215         (gst_base_src_get_range), (gst_base_src_pad_get_range),
20216         (gst_base_src_loop):
20217         Small cleanups, check for flushing after being unlocked from the 
20218         LIVE_LOCK. take refcounts correctly (not yet everywhere).
20219         Don't send out EOS when going to READY.
20220
20221 2005-10-27  Wim Taymans  <wim@fluendo.com>
20222
20223         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
20224         (gst_base_sink_get_position):
20225         Some more debug.
20226
20227         * gst/gstbin.c: (message_check), (bin_replace_message),
20228         (bin_remove_messages), (is_eos), (gst_bin_add_func),
20229         (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
20230         (bin_query_duration_init), (bin_query_duration_fold),
20231         (bin_query_duration_done), (bin_query_generic_fold),
20232         (gst_bin_query):
20233         * tools/gst-launch.c: (main):
20234         Remove old option.
20235
20236 2005-10-26  Stefan Kost  <ensonic@users.sf.net>
20237
20238         * examples/controller/audio-example.c: (main):
20239         * examples/queue/queue.c: (event_loop):
20240         * gst/base/gstbasetransform.h:
20241         * gst/gstelement.c: (gst_element_send_event):
20242         * gst/gstevent.h:
20243         * gst/gstpad.c: (gst_pad_send_event):
20244           fixing examples
20245           fixing docs typos
20246           changing log priority in error situations
20247
20248 2005-10-25  Wim Taymans  <wim@fluendo.com>
20249
20250         * gst/gstbin.c: (message_check), (bin_replace_message),
20251         (bin_remove_messages), (is_eos), (gst_bin_add_func),
20252         (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
20253         (bin_query_duration_init), (bin_query_duration_fold),
20254         (bin_query_duration_done), (bin_query_generic_fold),
20255         (gst_bin_query):
20256         Some doc and debug updates.
20257         Cache previously requested query DURATION for speed. invalidate
20258         cached duration if element posts a DURATION message.
20259
20260 2005-10-25  Wim Taymans  <wim@fluendo.com>
20261
20262         * docs/design/part-TODO.txt:
20263         Update TODO.
20264
20265         * gst/gstbin.c: (message_check), (bin_replace_message),
20266         (bin_remove_messages), (is_eos), (gst_bin_add_func),
20267         (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
20268         (bin_query_duration_init), (bin_query_duration_fold),
20269         (bin_query_duration_done), (bin_query_generic_fold),
20270         (gst_bin_query):
20271         Handle SEGMENT_START/DONE messages correctly.
20272         More evolved query algorithm that handles duration queries
20273         correctly.
20274
20275         * gst/gstelement.c: (gst_element_send_event), (gst_element_query),
20276         (gst_element_get_state_func), (gst_element_abort_state),
20277         (gst_element_commit_state), (gst_element_lost_state):
20278         Some more debugging.
20279
20280         * gst/gstmessage.h:
20281         Added doc.
20282
20283 2005-10-25  Wim Taymans  <wim@fluendo.com>
20284
20285         * gst/base/gstbasesink.c: (gst_base_sink_get_position):
20286         Don't use invalid stream_time.
20287
20288         * gst/gstevent.c: (gst_event_new_newsegment):
20289         stream_time in newsegment cannot be undefined.
20290
20291 2005-10-24  Wim Taymans  <wim@fluendo.com>
20292
20293         * gst/gstbus.c:
20294         Doc fix.
20295
20296         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
20297         (gst_queue_loop):
20298         Fix potential deadlock when QUEUE_LOCK is taken before STREAM_LOCK.
20299
20300 2005-10-24  Stefan Kost  <ensonic@users.sf.net>
20301
20302         * docs/libs/tmpl/gstdparam.sgml:
20303         * docs/libs/tmpl/gstdplinint.sgml:
20304         * docs/libs/tmpl/gstdpman.sgml:
20305         * docs/libs/tmpl/gstdpsmooth.sgml:
20306         * docs/libs/tmpl/gstunitconvert.sgml:
20307           these are obsolete
20308
20309 2005-10-24  Thomas Vander Stichele  <thomas at apestaart dot org>
20310
20311         * configure.ac:
20312           back to HEAD
20313
20314 === release 0.9.4 ===
20315
20316 2005-10-23  Thomas Vander Stichele  <thomas at apestaart dot org>
20317
20318         * configure.ac:
20319           releasing 0.9.4, "Tyrannosaurus Rex"
20320
20321 2005-10-23  Tim-Philipp Müller  <tim at centricular dot net>
20322
20323         * gst/elements/gstfilesink.c: (gst_file_sink_do_seek),
20324         (gst_file_sink_get_current_offset):
20325           Use fseeko() and ftello() if available. When falling back on
20326           lseek() to get the current offset, fflush() first to make sure
20327           everything is up-to-date and we get the right offset.
20328
20329 2005-10-23  Thomas Vander Stichele  <thomas at apestaart dot org>
20330
20331         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
20332         * gst/base/gstbasesrc.c: (gst_base_src_loop):
20333         * gst/gsterror.c: (_gst_stream_errors_init):
20334         * gst/gsterror.h:
20335         * gst/gstqueue.c: (gst_queue_loop):
20336         * po/POTFILES.in:
20337           remove prematurely added error category and clean up the instances
20338
20339 2005-10-21  Wim Taymans  <wim@fluendo.com>
20340
20341         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
20342         (gst_base_sink_get_position), (gst_base_sink_query),
20343         (gst_base_sink_change_state):
20344         Simply set the right flag when going to playing, that's all
20345         we need to do instead of calling a function inside the object
20346         lock (that could take the lock as well and deadlock)
20347
20348 2005-10-21  Wim Taymans  <wim@fluendo.com>
20349
20350         * gst/base/gstbasesrc.c: (gst_base_src_do_seek),
20351         (gst_base_src_loop):
20352         Don't warn, the peer element knows what to do best when
20353         the seek failed, it might try something else.
20354
20355 2005-10-21  Wim Taymans  <wim@fluendo.com>
20356
20357         * gst/base/gstbasesrc.c: (gst_base_src_init),
20358         (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start):
20359         Fix seeking.
20360
20361 2005-10-21  Wim Taymans  <wim@fluendo.com>
20362
20363         * docs/design/part-segments.txt:
20364         More docs.
20365
20366         * gst/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
20367         Correctly set caps, even on the subbufer.
20368
20369 2005-10-21  Wim Taymans  <wim@fluendo.com>
20370
20371         * docs/gst/gstreamer-docs.sgml:
20372         * docs/gst/gstreamer-sections.txt:
20373         * gst/gstelement.h:
20374         * gst/gstevent.c:
20375         * gst/gstevent.h:
20376         * gst/gstmessage.h:
20377         * gst/gstpad.h:
20378         * gst/gstparse.h:
20379         * gst/gsttask.c: (gst_task_finalize), (gst_task_func):
20380         * gst/gsttask.h:
20381         * gst/gstutils.c:
20382         * gst/gstutils.h:
20383         And 2% more doc coverage.
20384
20385 2005-10-21  Andy Wingo  <wingo@pobox.com>
20386
20387         * gst/base/gstbasesrc.c (gst_base_src_query): Clean up percent
20388         position reporting.
20389
20390 2005-10-20  Wim Taymans  <wim@fluendo.com>
20391
20392         * gst/gsterror.c: (gst_error_get_message):
20393         * gst/gstparse.h:
20394         * gst/gstquery.h:
20395         * gst/gststructure.c:
20396         * gst/gsttrace.c:
20397         * gst/gstutils.c:
20398         More docs.
20399
20400 2005-10-20  Wim Taymans  <wim@fluendo.com>
20401
20402         * gst/gstbuffer.h:
20403         * gst/gstpad.c:
20404         * gst/gstparse.c:
20405         Another 1% more coverage.
20406
20407 2005-10-20  Wim Taymans  <wim@fluendo.com>
20408
20409         * docs/gst/gstreamer-sections.txt:
20410         * gst/gstelement.c: (gst_element_get_state_func),
20411         (gst_element_abort_state), (gst_element_commit_state),
20412         (gst_element_lost_state):
20413         * gst/gstevent.h:
20414         * gst/gstquery.c: (gst_query_set_position),
20415         (gst_query_parse_position), (gst_query_set_duration),
20416         (gst_query_parse_duration), (gst_query_new_convert):
20417         * gst/gstutils.c:
20418         Yay! 1% more docs coverage.
20419
20420 2005-10-20  Wim Taymans  <wim@fluendo.com>
20421
20422         * gst/gstpad.h:
20423         * gst/gstquery.c: (gst_query_set_position),
20424         (gst_query_parse_position), (gst_query_set_duration),
20425         (gst_query_parse_duration), (gst_query_new_convert):
20426         * gst/gstquery.h:
20427         * gst/gstutils.c: (gst_element_query_convert):
20428         * gst/gstutils.h:
20429         Docs and consistency fixes.
20430
20431 2005-10-20  Wim Taymans  <wim@fluendo.com>
20432
20433         * gst/gsttask.c:
20434         * gst/gsttask.h:
20435         More docs.
20436
20437 2005-10-20  Wim Taymans  <wim@fluendo.com>
20438
20439         * gst/gstbin.c: (message_check), (bin_replace_message),
20440         (bin_remove_messages), (is_eos), (gst_bin_add_func),
20441         (update_degree), (gst_bin_sort_iterator_next),
20442         (gst_bin_change_state_func), (gst_bin_dispose), (bin_bus_handler):
20443         Reworked the message handling a bit, cache the messages instead of
20444         only the senders. alows us to do more in the future.
20445
20446 2005-10-20  Wim Taymans  <wim@fluendo.com>
20447
20448         * docs/design/part-TODO.txt:
20449         Update TODO
20450
20451         * gst/base/gstbasesink.c: (gst_base_sink_get_position),
20452         (gst_base_sink_query):
20453         Don't use clock time to report position when in EOS.
20454
20455 2005-10-20  Tim-Philipp Müller  <tim at centricular dot net>
20456
20457         * tools/gst-inspect.c: (print_interfaces),
20458         (print_element_properties_info), (print_element_info):
20459           Fix interface output with gst-inspect -a; don't print
20460           newlines after double/float properties.
20461
20462 2005-10-20  Wim Taymans  <wim@fluendo.com>
20463
20464         * gst/base/gstbasesink.c: (gst_base_sink_get_position),
20465         (gst_base_sink_query):
20466         Speed up current position calculation.
20467
20468         * gst/base/gstbasesrc.c: (gst_base_src_query),
20469         (gst_base_src_default_newsegment):
20470         Correctly set stream position in newsegment.
20471
20472         * gst/gstbin.c: (gst_bin_add_func), (add_to_queue),
20473         (update_degree), (gst_bin_sort_iterator_next),
20474         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free):
20475         * gst/gstmessage.c: (gst_message_new_custom):
20476         Clean up debugging info
20477
20478         * gst/gstqueue.c: (gst_queue_link_src), (gst_queue_chain),
20479         (gst_queue_loop), (gst_queue_handle_src_query):
20480         Pause task faster.
20481
20482 2005-10-19  Wim Taymans  <wim@fluendo.com>
20483
20484         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
20485         (gst_base_sink_handle_object), (gst_base_sink_query), (do_playing):
20486         Fix query handling again.
20487
20488 2005-10-19  Wim Taymans  <wim@fluendo.com>
20489
20490         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
20491         (gst_base_sink_handle_object), (gst_base_sink_query), (do_playing):
20492         * gst/base/gstbasesrc.c: (gst_base_src_query):
20493         * gst/elements/gstfilesink.c: (gst_file_sink_query):
20494         * gst/elements/gsttypefindelement.c:
20495         (gst_type_find_handle_src_query), (find_element_get_length),
20496         (gst_type_find_element_activate):
20497         API change fix.
20498
20499         * gst/gstquery.c: (gst_query_new_position),
20500         (gst_query_set_position), (gst_query_parse_position),
20501         (gst_query_new_duration), (gst_query_set_duration),
20502         (gst_query_parse_duration), (gst_query_set_segment),
20503         (gst_query_parse_segment):
20504         * gst/gstquery.h:
20505         Bundling query position/duration is not a good idea since duration
20506         does not change much and we don't want to recalculate it for every
20507         position query, so they are separated again..
20508         Base value in segment query is not needed.
20509
20510         * gst/gstqueue.c: (gst_queue_handle_src_query):
20511         * gst/gstutils.c: (gst_element_query_position),
20512         (gst_element_query_duration), (gst_pad_query_position),
20513         (gst_pad_query_duration):
20514         * gst/gstutils.h:
20515         Updates for query API change.
20516         Added some docs here and there.
20517
20518 2005-10-19  Thomas Vander Stichele  <thomas at apestaart dot org>
20519
20520         * check/gst/gstbin.c: (GST_START_TEST):
20521         * check/gst/gstghostpad.c: (GST_START_TEST):
20522         * check/pipelines/cleanup.c: (GST_START_TEST):
20523           wait on thread to die so we can check refcount correctly
20524
20525 2005-10-18  Wim Taymans  <wim@fluendo.com>
20526
20527         * check/pipelines/stress.c: (GST_START_TEST):
20528         Make check a little more time consuming.
20529
20530 2005-10-18  Wim Taymans  <wim@fluendo.com>
20531
20532         * check/Makefile.am:
20533         * check/pipelines/stress.c: (GST_START_TEST),
20534         (simple_launch_lines_suite), (main):
20535         Small state change torture test.
20536
20537         * docs/design/part-states.txt:
20538         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
20539         (gst_base_sink_handle_object), (gst_base_sink_event), (do_playing),
20540         (gst_base_sink_change_state):
20541         Never take state lock from streaming thread, clean up ugly
20542         hacks. Unfortunatly core does not yet support nice ways to
20543         async commit state.
20544         
20545         * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_recalc_state),
20546         (bin_bus_handler):
20547         Start state recalc if a STATE_DIRTY message is posted, but only
20548         on the toplevel bin.
20549
20550         * gst/gstelement.c: (gst_element_sync_state_with_parent),
20551         (gst_element_get_state_func), (gst_element_abort_state),
20552         (gst_element_commit_state), (gst_element_lost_state),
20553         (gst_element_set_state_func), (gst_element_change_state):
20554         * gst/gstelement.h:
20555         State variables are now protected with the LOCK, the state
20556         lock is only used to serialize _set_state().
20557
20558 2005-10-18  Wim Taymans  <wim@fluendo.com>
20559
20560         * check/gst/gstbin.c: (GST_START_TEST):
20561         * check/gst/gstmessage.c: (GST_START_TEST):
20562         * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
20563         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_recalc_func),
20564         (bin_bus_handler):
20565         * gst/gstelement.c: (gst_element_abort_state),
20566         (gst_element_commit_state), (gst_element_lost_state):
20567         * gst/gstmessage.c: (gst_message_new_state_changed),
20568         (gst_message_new_state_dirty), (gst_message_new_segment_start),
20569         (gst_message_new_segment_done), (gst_message_new_duration),
20570         (gst_message_parse_state_changed),
20571         (gst_message_parse_segment_start),
20572         (gst_message_parse_segment_done), (gst_message_parse_duration):
20573         * gst/gstmessage.h:
20574         * tools/gst-launch.c: (event_loop):
20575         Seriously, this is better than a previous commit as we only need
20576         to notify the fact that an element changed state in a streaming
20577         thread, marking the state of the parents dirty, hence the 
20578         STATE_DIRTY message instead of abusing a boolean in a STATE_CHANGE
20579         message.
20580
20581 2005-10-18  Wim Taymans  <wim@fluendo.com>
20582
20583         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_get_state_func),
20584         (gst_bin_recalc_func):
20585         * gst/gstelement.c: (gst_element_set_clock),
20586         (gst_element_abort_state), (gst_element_lost_state):
20587         Cleanups, prepare for state change fixes.
20588
20589 2005-10-18  Wim Taymans  <wim@fluendo.com>
20590
20591         * gst/gstbin.h:
20592         * gst/gstelement.c: (gst_element_class_init),
20593         (gst_element_set_state), (gst_element_set_state_func):
20594         * gst/gstelement.h:
20595         Pending ABI changes.
20596         GThreadPool in GstBinClass to monitor async state changes.
20597         state_cookie in GstElement to detect concurrent gst/set state.
20598         set_state is now virtual too in case a very complicated element
20599         has to be constructed.
20600
20601 2005-10-18  Wim Taymans  <wim@fluendo.com>
20602
20603         * check/gst/gstbin.c: (GST_START_TEST):
20604         * check/gst/gstmessage.c: (GST_START_TEST):
20605         * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
20606         * gst/gstbin.c: (bin_bus_handler):
20607         * gst/gstelement.c: (gst_element_commit_state),
20608         (gst_element_lost_state):
20609         * gst/gstmessage.c: (gst_message_new_state_changed),
20610         (gst_message_new_segment_start), (gst_message_new_segment_done),
20611         (gst_message_new_duration), (gst_message_parse_state_changed),
20612         (gst_message_parse_segment_start),
20613         (gst_message_parse_segment_done), (gst_message_parse_duration):
20614         * gst/gstmessage.h:
20615         * tools/gst-launch.c: (event_loop):
20616         Make messages future proof.
20617         state-change gets a flag if it was a message comming from the
20618         streaming thread.
20619         segment-start/stop can also be specified in other formats.
20620         A message to notify an app that a pipeline changed playback 
20621         duration.
20622         Also fix a GstMessage leak in -launch
20623
20624 2005-10-18  Andy Wingo  <wingo@pobox.com>
20625
20626         * gst/gstelement.c (gst_element_dispose): More helpful message.
20627
20628 2005-10-18  Thomas Vander Stichele  <thomas at apestaart dot org>
20629
20630         reviewed by: <delete if not using a buddy>
20631
20632         * common/gtk-doc.mak:
20633
20634 2005-10-18  Thomas Vander Stichele  <thomas at apestaart dot org>
20635
20636         * gst/gstregistry.c: (gst_registry_scan_path_level):
20637           unref a plug-in we get that was already initialized
20638
20639 2005-10-18  Stefan Kost  <ensonic@users.sf.net>
20640
20641         * docs/gst/gstreamer-sections.txt:
20642         * docs/libs/gstreamer-libs-sections.txt:
20643         * gst/gstelement.h:
20644           add new api entries
20645           hide internal macro
20646
20647 2005-10-17  Andy Wingo  <wingo@pobox.com>
20648
20649         * gst/base/gstcollectpads.c (gst_collectpads_chain): Slight
20650         cleanup.
20651
20652         * gst/Makefile.am (gstenumtypes.c): Threadsafe now.
20653
20654         * gst/gstevent.c (gst_event_new, gst_event_finalize): LOG.
20655
20656         * gst/gstelement.c (gst_element_get_state_func): s/INFO/DEBUG/.
20657         (gst_element_get_state_func): Better debug message.
20658         (gst_element_commit_state): s/INFO/DEBUG/.
20659         (gst_element_lost_state, gst_element_change_state): 
20660
20661         * gst/gstmessage.c (gst_message_init): s/INFO/LOG/.
20662         (gst_message_new_custom): s/INFO/LOG/.
20663
20664 2005-10-17  Michael Smith <msmith@fluendo.com>
20665
20666         * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
20667           Check if end time is valid using end time, not start time.
20668
20669 2005-10-17  Stefan Kost  <ensonic@users.sf.net>
20670
20671         * check/gst-libs/controller.c: (GST_START_TEST),
20672         (gst_controller_suite):
20673         * libs/gst/controller/gstcontroller.c:
20674         (gst_controlled_property_set_interpolation_mode):
20675         * libs/gst/controller/gstcontroller.h:
20676         * libs/gst/controller/gstinterpolation.c:
20677         * testsuite/controller/.cvsignore:
20678         * testsuite/controller/Makefile.am:
20679         * testsuite/controller/interpolator.c:
20680           merge controller testsuites
20681           fix broken tests
20682           remove mem-chunk from docs
20683
20684 2005-10-17  Thomas Vander Stichele  <thomas at apestaart dot org>
20685
20686         * gst/gstmemchunk.c:
20687         * gst/gstmemchunk.h:
20688         * gst/gsttrashstack.c:
20689         * gst/gsttrashstack.h:
20690           out.  get out.  you're fired.  to the Attic !
20691
20692 2005-10-17  Thomas Vander Stichele  <thomas at apestaart dot org>
20693
20694         * gst/gstcaps.c: (gst_caps_intersect):
20695           fix signedness issues in a (hopefully) correct way
20696         * gst/gstelement.c: (gst_element_pads_activate):
20697           some debugging
20698         * gst/gstobject.c: (gst_object_set_parent):
20699           some debugging
20700
20701 2005-10-17  Julien MOUTTE  <julien@moutte.net>
20702
20703         * gst/gstvalue.h: Fix prototypes.
20704
20705 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
20706
20707         * docs/gst/gstreamer-sections.txt:
20708         * gst/gst.c: (gst_version_string):
20709         * gst/gst.h:
20710         * gst/gstversion.h.in:
20711         * win32/common/libgstreamer.def:
20712           add gst_version_string ()
20713
20714 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
20715
20716         * configure.ac:
20717           clean up further
20718         * gst/gst.c: (init_post):
20719         * win32/common/config.h.in:
20720           it's PLUGINDIR now
20721         * gst/gstcaps.c: (gst_caps_intersect):
20722           use gint64, the range could be bigger than a guint
20723
20724 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
20725
20726         * gst/gstclock.h:
20727           document potential problem in 2038
20728
20729 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
20730
20731         * gst/gstcaps.c: (gst_caps_intersect):
20732           Fix guint j diving under 0
20733
20734 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
20735
20736         * configure.ac:
20737         * win32/common/config.h:
20738         * win32/common/config.h.in:
20739           check for process.h, declares getpid() on Windows
20740         * gst/gstinfo.c:
20741           include process.h if we have it
20742         * gst/gstmemchunk.c: (populate), (gst_mem_chunk_new):
20743         * gst/gstmemchunk.h:
20744           fix signedness issues
20745         * win32/common/libgstreamer.def:
20746           fix get_type's
20747
20748 2005-10-16  Julien MOUTTE  <julien@moutte.net>
20749
20750         * gst/gstcaps.c: (gst_caps_intersect): Fix a bad bug with a simple
20751         fix. Because of unsigned ints, caps intersection was going nuts and
20752         trying to access structures with G_MAXUINT index. That fixes
20753         videotestsrc ! ffmpegcolorspace ! fakesink
20754         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked): logs
20755         consistency.
20756
20757 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
20758
20759         * configure.ac:
20760           use the gettext macro
20761         * gst/elements/gstelements.c:
20762         * gst/gst.c:
20763         * gst/indexers/gstindexers.c:
20764           update for GST_PACKAGE_NAME, GST_PACKAGE_ORIGIN
20765         * win32/common/config.h:
20766           updated config.h
20767         * win32/common/config.h.in:
20768           add the template to generate config.h
20769         * win32/common/gstenumtypes.c:
20770         * win32/common/gstversion.h:
20771           updated copies
20772
20773 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
20774
20775         * gst/gst.c: (gst_version):
20776         * gst/gstversion.h.in:
20777           add the nano
20778
20779 2005-10-15  Tim-Philipp Müller  <tim at centricular dot net>
20780
20781         * gst/gstevent.h:
20782           Oops, add missing closing bracket.
20783
20784 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
20785
20786         * configure.ac:
20787           use common m4's for argument checking
20788
20789 2005-10-15  Tim-Philipp Müller  <tim at centricular dot net>
20790
20791         * docs/gst/gstreamer-sections.txt:
20792         * gst/gstevent.h:
20793           Add GST_EVENT_TYPE_NAME() macro.
20794
20795 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
20796
20797         * gst/gstinfo.c:
20798         * gst/gstpluginfeature.c:
20799         * gst/gsttask.c:
20800           privatize more symbols
20801
20802 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
20803
20804         * configure.ac:
20805           add srcdir, builddir includes to GST_ALL_CFLAGS, since
20806           everything that uses GStreamer API should have the includes
20807
20808 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
20809
20810         * docs/gst/gstreamer-sections.txt:
20811         * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
20812         * gst/gstvalue.h:
20813           give each value a _get_type, removes the DATA exports
20814
20815 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
20816
20817         * gst/gst.c:
20818         * gst/gst.h:
20819           remove _gst_registry_auto_load, not used anymore
20820         * gst/gstbin.c: (gst_bin_get_type):
20821         * gst/gstbin.h:
20822         * gst/gstelement.c: (gst_element_get_type):
20823         * gst/gstelement.h:
20824         * gst/gstobject.c: (gst_object_get_type):
20825         * gst/gstobject.h:
20826         * gst/gstpad.c: (gst_pad_get_type):
20827         * gst/gstpad.h:
20828           make _get_type functions similar, fixes data export from library
20829
20830 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
20831
20832         * configure.ac:
20833           correctly make conditionals
20834         * gst/elements/Makefile.am:
20835         * gst/elements/gstelements.c:
20836           fix typo causing fdsrc not to build
20837
20838 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
20839
20840         * testsuite/Makefile.am:
20841         * testsuite/bytestream/.cvsignore:
20842         * testsuite/bytestream/Makefile.am:
20843         * testsuite/bytestream/filepadsink.c:
20844         * testsuite/bytestream/gstbstest.c:
20845         * testsuite/bytestream/test1.c:
20846         * testsuite/bytestream/testfile1:
20847         * testsuite/caps/normalisation.c:
20848         * testsuite/caps/random.c: (main):
20849         * testsuite/cleanup/.cvsignore:
20850         * testsuite/cleanup/Makefile.am:
20851         * testsuite/cleanup/cleanup1.c:
20852         * testsuite/cleanup/cleanup2.c:
20853         * testsuite/cleanup/cleanup3.c:
20854         * testsuite/cleanup/cleanup4.c:
20855         * testsuite/cleanup/cleanup5.c:
20856         * testsuite/controller/interpolator.c:
20857         * testsuite/debug/printf_extension.c: (main):
20858         * testsuite/elements/tee.c:
20859         * testsuite/negotiation/.cvsignore:
20860         * testsuite/negotiation/Makefile.am:
20861         * testsuite/negotiation/pad_link.c:
20862         * testsuite/pad/Makefile.am:
20863         * testsuite/pad/chainnopull.c:
20864         * testsuite/pad/getnopush.c:
20865         * testsuite/pad/link.c:
20866         * testsuite/refcounting/sched.c: (create_pipeline):
20867         * testsuite/registry/Makefile.am:
20868         * testsuite/registry/gst-print-formats.c:
20869         * testsuite/schedulers/.cvsignore:
20870         * testsuite/schedulers/142183-2.c:
20871         * testsuite/schedulers/142183.c:
20872         * testsuite/schedulers/143777-2.c:
20873         * testsuite/schedulers/143777.c:
20874         * testsuite/schedulers/147713.c:
20875         * testsuite/schedulers/147819.c:
20876         * testsuite/schedulers/147894-2.c:
20877         * testsuite/schedulers/147894.c:
20878         * testsuite/schedulers/Makefile.am:
20879         * testsuite/schedulers/group_link.c:
20880         * testsuite/schedulers/queue_link.c:
20881         * testsuite/schedulers/relink.c:
20882         * testsuite/schedulers/unlink.c:
20883         * testsuite/schedulers/unref.c:
20884         * testsuite/schedulers/useless_iteration.c:
20885         * testsuite/states/bin.c:
20886           clean out/remove some stuff from the testsuite directories
20887
20888 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
20889
20890         * configure.ac:
20891           check for some headers
20892         * gst/elements/Makefile.am:
20893         * gst/elements/gstelements.c:
20894           don't compile fdsrc without sys/socket.h
20895         * gst/indexers/Makefile.am:
20896         * gst/indexers/gstindexers.c: (plugin_init):
20897           don't compile fileindex without mmap
20898
20899 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
20900
20901         * configure.ac:
20902           reorganize
20903           clean up
20904           document more
20905           remove cruft
20906         * check/Makefile.am:
20907         * docs/gst/Makefile.am:
20908         * examples/helloworld/Makefile.am:
20909         * gst/Makefile.am:
20910         * gst/base/Makefile.am:
20911         * gst/check/Makefile.am:
20912         * gst/elements/Makefile.am:
20913         * gst/indexers/Makefile.am:
20914         * gst/parse/Makefile.am:
20915         * libs/gst/controller/Makefile.am:
20916         * libs/gst/dataprotocol/Makefile.am:
20917         * examples/helloworld/helloworld.c: (event_loop):
20918           compile fixes, though it's not being compiled currently
20919
20920 2005-10-14  Tim-Philipp Müller  <tim at centricular dot net>
20921
20922         * check/gst/gsttag.c: (test_date_tags), (gst_tag_suite):
20923           Add some simple tests for the new taglist date API.
20924
20925 2005-10-14  Tim-Philipp Müller  <tim at centricular dot net>
20926
20927         * gst/elements/gstfakesink.c: (gst_fake_sink_render):
20928         * gst/elements/gstfakesrc.c: (gst_fake_src_create):
20929           Beautify 'last-message' output: print 'none' for buffer timestamps
20930           and durations if none is set; improve alignment with next messages.
20931
20932 2005-10-14  Tim-Philipp Müller  <tim at centricular dot net>
20933
20934         * gst/gstpluginfeature.c: (gst_plugin_feature_check_version):
20935         * gst/gstpluginfeature.h:
20936         * gst/gstregistry.c: (gst_default_registry_check_feature_version):
20937         * gst/gstregistry.h:
20938         * docs/gst/gstreamer-sections.txt:
20939           Add new API to check plugin feature version requirements.
20940
20941         * check/gst/gstplugin.c: (test_version_checks), (gst_plugin_suite):
20942           Some basic tests for the above.         
20943
20944 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
20945
20946         * gst/gststructure.c: (gst_structure_to_string):
20947           guard against NULL printf - happens when for example
20948           a message structure with GstClock gets serialized
20949
20950 2005-10-13  Tim-Philipp Müller  <tim at centricular dot net>
20951
20952         * gst/base/gstcollectpads.c: (gst_collectpads_event):
20953           Fix presumable copy'n'pasto.
20954
20955 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
20956
20957         * gst/elements/gstfakesrc.h:
20958         * gst/elements/gstfilesrc.c: (gst_file_src_create_read):
20959         * gst/elements/gsttypefindelement.c:
20960           fix some signedness
20961         * gst/elements/gstfilesink.c: (gst_file_sink_render):
20962           I wonder if this could actually write +2GB files before
20963
20964 2005-10-13  Andy Wingo  <wingo@pobox.com>
20965
20966         * libs/gst/dataprotocol/dataprotocol.c (gst_dp_packet_from_caps):
20967         Fix Timmeke Waymans bug.
20968         (gst_dp_caps_from_packet): Make sure we pass a NUL-terminated
20969         string of the proper length to gst_caps_from_string. There's a
20970         potential for, before this fix, that this could cause someone
20971         connecting over the network to cause a segfault if the payload is
20972         not NUL-terminated.
20973
20974 2005-10-13  Stefan Kost  <ensonic@users.sf.net>
20975
20976         * docs/design/draft-push-pull.txt:
20977         * docs/design/part-overview.txt:
20978         * docs/random/TODO-pre-0.9:
20979         * docs/random/old/ChangeLog.gstreamer:
20980         * gst/base/gstpushsrc.c:
20981         * gst/gstclock.c:
20982           fixed typos
20983
20984 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
20985
20986         * gst/glib-compat.c: (gst_flags_get_first_value):
20987         * gst/glib-compat.h:
20988         * gst/gstvalue.c: (gst_value_deserialize_int_helper),
20989         (gst_value_compare_double), (gst_value_serialize_flags):
20990           GLib 2.6 g_flags_get_first_value has a bug that triggers an
20991           infinite loop
20992
20993 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
20994
20995         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
20996         * gst/base/gstbasesrc.c: (gst_base_src_get_range):
20997           fix up debugging
20998         * tools/gst-launch.c: (event_loop):
20999           print out clock nicely
21000
21001 2005-10-13  Tim-Philipp Müller  <tim at centricular dot net>
21002
21003         * docs/gst/gstreamer-sections.txt:
21004         * gst/gsttaglist.h:
21005         * gst/gsttaglist.c: (_gst_tag_initialize), (gst_tag_list_get_date),
21006         (gst_tag_list_get_date_index):
21007           Added gst_tag_list_get_date() and gst_tag_list_get_date_index().
21008           GST_TAG_DATE now has a tag type of GST_TYPE_DATE (#170777).
21009
21010 2005-10-13  Julien MOUTTE  <julien@moutte.net>
21011
21012         * gst/base/gstcollectpads.c: (gst_collectpads_event),
21013         (gst_collectpads_chain):
21014         * gst/base/gstcollectpads.h: Handle newsegment and store informations
21015         in CollectData.
21016
21017 2005-10-13  Stefan Kost  <ensonic@users.sf.net>
21018
21019         * docs/gst/gstreamer-sections.txt:
21020         * gst/gst.c:
21021         * gst/gsterror.h:
21022         * tools/gst-inspect.c: (main):
21023         * tools/gst-launch.c: (main):
21024         * tools/gst-run.c: (main):
21025         * tools/gst-xmlinspect.c: (main):
21026           fix GOption context leaks
21027           doc fixes
21028
21029 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
21030
21031         * gst/gstbus.c:
21032           use HAVE_UNISTD_H
21033         * win32/common/config.h:
21034           update config
21035         * win32/vs6/grammar.dsp:
21036         * win32/vs6/libgstelements.dsp:
21037         * win32/vs6/libgstreamer.dsp:
21038           update vs6 files
21039
21040 2005-10-12  Thomas Vander Stichele  <thomas at apestaart dot org>
21041
21042         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
21043         * gst/base/gstbasesrc.c: (gst_base_src_query):
21044           fix more guint64<->gdouble conversions
21045
21046 2005-10-12  Thomas Vander Stichele  <thomas at apestaart dot org>
21047
21048         * Makefile.am:
21049           add win32-update target
21050         * win32/common/gstconfig.h:
21051         * win32/common/gstenumtypes.c:
21052         * win32/common/gstenumtypes.h:
21053         * win32/common/gstversion.h:
21054           add files that visual studio can't generate
21055
21056 2005-10-12  Thomas Vander Stichele  <thomas at apestaart dot org>
21057
21058         * Makefile.am:
21059           add a win32-update target
21060         * configure.ac:
21061
21062 2005-10-12  Wim Taymans  <wim@fluendo.com>
21063
21064         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
21065         (reset_degree), (gst_bin_dispose), (bin_bus_handler):
21066         * gst/gstelement.c: (gst_element_commit_state),
21067         (gst_element_set_state):
21068         Protect flags with proper lock.
21069         unref provided cached clock in dispose.
21070
21071 2005-10-12  Stefan Kost  <ensonic@users.sf.net>
21072
21073         * gst/gst.c:
21074         * gst/gstminiobject.h:
21075         * gst/gstpad.h:
21076         * win32/gstenumtypes.c: (gst_mini_object_flags_get_type):
21077           removed unused flags from miniobject
21078           doc fixes
21079
21080 2005-10-12  Wim Taymans  <wim@fluendo.com>
21081
21082         * gst/elements/gstfilesink.c: (gst_file_sink_do_seek),
21083         (gst_file_sink_event), (gst_file_sink_render):
21084         Flush before seeking.
21085
21086 2005-10-12  Andy Wingo  <wingo@pobox.com>
21087
21088         * gst/gst.c (gst_init_check): Ignore unknown options, as has
21089         always been the case.
21090
21091 2005-10-12  Stefan Kost  <ensonic@users.sf.net>
21092
21093         * check/gst/gstbin.c: (GST_START_TEST):
21094         * docs/gst/gstreamer-sections.txt:
21095         * gst/base/gstbasesink.c: (gst_base_sink_init):
21096         * gst/base/gstbasesrc.c: (gst_base_src_init),
21097         (gst_base_src_get_range), (gst_base_src_check_get_range),
21098         (gst_base_src_start), (gst_base_src_stop):
21099         * gst/base/gstbasesrc.h:
21100         * gst/elements/gstfakesrc.c: (gst_fake_src_set_property):
21101         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
21102         (bin_element_is_sink), (reset_degree), (gst_bin_element_set_state),
21103         (bin_bus_handler):
21104         * gst/gstbin.h:
21105         * gst/gstbuffer.h:
21106         * gst/gstbus.c: (gst_bus_post), (gst_bus_set_flushing):
21107         * gst/gstbus.h:
21108         * gst/gstelement.c: (gst_element_is_locked_state),
21109         (gst_element_set_locked_state), (gst_element_commit_state),
21110         (gst_element_set_state):
21111         * gst/gstelement.h:
21112         * gst/gstindex.c: (gst_index_init):
21113         * gst/gstindex.h:
21114         * gst/gstminiobject.h:
21115         * gst/gstobject.c: (gst_object_init), (gst_object_sink),
21116         (gst_object_set_parent):
21117         * gst/gstobject.h:
21118         * gst/gstpad.c: (gst_pad_set_blocked_async), (gst_pad_is_blocked),
21119         (gst_pad_get_caps_unlocked), (gst_pad_set_caps):
21120         * gst/gstpad.h:
21121         * gst/gstpadtemplate.h:
21122         * gst/gstpipeline.c: (gst_pipeline_provide_clock_func),
21123         (gst_pipeline_use_clock), (gst_pipeline_auto_clock):
21124         * gst/gstpipeline.h:
21125         * gst/indexers/gstfileindex.c: (gst_file_index_load),
21126         (gst_file_index_commit):
21127         * testsuite/bytestream/filepadsink.c: (gst_fp_sink_init):
21128         * testsuite/pad/link.c: (gst_test_src_init),
21129         (gst_test_filter_init), (gst_test_sink_init):
21130         * testsuite/states/locked.c: (main):
21131           renamed GST_FLAGS macros to GST_OBJECT_FLAGS
21132           moved bitshift from macro to enum definition
21133
21134 2005-10-12  Wim Taymans  <wim@fluendo.com>
21135
21136         * gst/base/gstbasesink.c: (gst_base_sink_handle_buffer):
21137         * gst/elements/gstfilesink.c: (gst_file_sink_event),
21138         (gst_file_sink_render):
21139         Some more debugging info.
21140
21141 2005-10-12  Wim Taymans  <wim@fluendo.com>
21142
21143         * docs/design/part-states.txt:
21144         * tools/gst-launch.c: (main):
21145         Some doc updates.
21146         Revert non-intentional change.
21147
21148 2005-10-12  Wim Taymans  <wim@fluendo.com>
21149
21150         * check/gst/gstbin.c: (GST_START_TEST):
21151         * check/gst/gstelement.c: (GST_START_TEST):
21152         * check/gst/gstevent.c: (GST_START_TEST), (test_event):
21153         * check/gst/gstghostpad.c: (GST_START_TEST):
21154         * check/gst/gstpipeline.c: (GST_START_TEST):
21155         * check/pipelines/simple_launch_lines.c: (run_pipeline):
21156         * check/states/sinks.c: (GST_START_TEST):
21157         * gst/elements/gsttypefindelement.c: (stop_typefinding):
21158         * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
21159         (gst_bin_remove_func), (gst_bin_get_state_func),
21160         (gst_bin_recalc_state), (gst_bin_change_state_func),
21161         (bin_bus_handler):
21162         * gst/gstelement.c: (gst_element_get_state_func),
21163         (gst_element_get_state), (gst_element_abort_state),
21164         (gst_element_commit_state), (gst_element_set_state),
21165         (gst_element_change_state), (gst_element_change_state_func):
21166         * gst/gstelement.h:
21167         * gst/gstpipeline.c: (gst_pipeline_class_init), (do_pipeline_seek),
21168         (gst_pipeline_provide_clock_func):
21169         * gst/gstutils.c: (gst_element_link_pads_filtered):
21170         * tools/gst-launch.c: (main):
21171         * tools/gst-typefind.c: (main):
21172         Use GstClockTime in _get_state() instead of GTimeVal.
21173         Remove old code in gstutils.c
21174
21175 2005-10-12  Andy Wingo  <wingo@pobox.com>
21176
21177         * gst/gstregistry.h (gst_registry_scan_paths): Not implemented, so
21178         removed.
21179
21180         * gst/gstpad.c (gst_pad_pause_task): Actually return FALSE if
21181         there is no task. Shouldn't affect any code, as nothing in our
21182         plugins checks this return value.
21183         (gst_pad_stop_task): Also take the stream lock if the pad has no
21184         task. Docs updated.
21185
21186 2005-10-12  Wim Taymans  <wim@fluendo.com>
21187
21188         * gst/gstpad.c: (pre_activate), (post_activate),
21189         (gst_pad_activate_pull), (gst_pad_activate_push):
21190         Cleanup activation code. Reset old state if
21191         activation failed.
21192
21193 2005-10-12  Wim Taymans  <wim@fluendo.com>
21194
21195         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
21196         (gst_base_sink_change_state):
21197         No need to prerol after receiving EOS.
21198
21199         * gst/elements/gstfakesink.c: (gst_fake_sink_event):
21200         * gst/elements/gstfakesrc.c: (gst_fake_src_event_handler):
21201         * gst/elements/gstidentity.c: (gst_identity_event):
21202         Print events more verbosely.
21203
21204 2005-10-12  Wim Taymans  <wim@fluendo.com>
21205
21206         * check/Makefile.am:
21207         * check/states/sinks.c: (GST_START_TEST), (gst_object_suite):
21208         * check/states/sinks2.c:
21209         Moved sinks2 testcode in sinks check.
21210
21211         * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
21212         (gst_bin_remove_func), (gst_bin_recalc_state),
21213         (gst_bin_change_state_func), (bin_bus_handler):
21214         Fix potential race condition when _get_state() iterated over an
21215         ASYNC element right before it posted a state completion.
21216
21217         * gst/gstclock.h:
21218         Do proper cast here.
21219
21220         * gst/gstevent.c: (gst_event_new_newsegment),
21221         (gst_event_parse_newsegment):
21222         A playback rate of 0.0 is not allowed.
21223
21224 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
21225
21226         * win32/common/config.h:
21227         * win32/common/dirent.c: (_topendir), (_treaddir), (_tclosedir),
21228         (_trewinddir), (_ttelldir), (_tseekdir):
21229         * win32/common/dirent.h:
21230         * win32/common/gtchar.h:
21231         * win32/common/libgstbase.def:
21232         * win32/common/libgstreamer.def:
21233         * win32/vs6/grammar.dsp:
21234         * win32/vs6/gst_inspect.dsp:
21235         * win32/vs6/gst_launch.dsp:
21236         * win32/vs6/gstreamer.dsw:
21237         * win32/vs6/libgstbase.dsp:
21238         * win32/vs6/libgstelements.dsp:
21239         * win32/vs6/libgstreamer.dsp:
21240           Visual Studio 6 project files, and a new common directory.
21241           Phear.
21242
21243 2005-10-11  Wim Taymans  <wim@fluendo.com>
21244
21245         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
21246         (gst_base_sink_do_sync), (gst_base_sink_query),
21247         (gst_base_sink_change_state):
21248         * gst/base/gstbasesink.h:
21249         Correctly parse newsegment info.
21250
21251 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
21252
21253         * gst/gst.c: (init_post):
21254           split plugin paths correctly
21255
21256 2005-10-11  Wim Taymans  <wim@fluendo.com>
21257
21258         * check/gst/gstevent.c: (GST_START_TEST):
21259         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
21260         (gst_base_sink_change_state):
21261         * gst/base/gstbasesrc.c: (gst_base_src_default_newsegment):
21262         * gst/base/gstbasetransform.c: (gst_base_transform_event):
21263         * gst/elements/gstfilesink.c: (gst_file_sink_event):
21264         * gst/gstevent.c: (gst_event_new_newsegment),
21265         (gst_event_parse_newsegment):
21266         * gst/gstevent.h:
21267         Added extra flag to newsegment for future API freeze.
21268         Updated check and base elements.
21269
21270 2005-10-11  Julien MOUTTE  <julien@moutte.net>
21271
21272         * gst/base/gstcollectpads.c: (gst_collectpads_init),
21273         (gst_collectpads_add_pad), (gst_collectpads_pop),
21274         (gst_collectpads_event), (gst_collectpads_chain):
21275         * gst/base/gstcollectpads.h: Handle EOS correctly.
21276
21277 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
21278
21279         * tools/gst-launch.c: (main):
21280           more null protecting
21281
21282 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
21283
21284         * gst/gst-i18n-lib.h:
21285           check for ENABLE_NLS, not GETTEXT_PACKAGE
21286         * gst/gstregistry.c: (gst_registry_add_plugin),
21287         (gst_registry_scan_path_level),
21288         (_gst_registry_remove_cache_plugins):
21289           protect possibly NULL strings
21290         * gst/parse/types.h:
21291           config.h already included before
21292         * tools/gst-inspect.c: (main):
21293           sys/wait.h also doesn�t exist on mingw, so change the ifdef check
21294           check for ENABLE_NLS, not GETTEXT_PACKAGE
21295         * tools/gst-launch.c: (main):
21296           check for ENABLE_NLS, not GETTEXT_PACKAGE
21297
21298 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
21299
21300         * configure.ac:
21301           if we don't have glib, fail before testing 2.8
21302         * gst/base/gstbasetransform.c: (gst_base_transform_change_state):
21303           fix a leak, should fix plugins-base testsuite
21304
21305 2005-10-11  Andy Wingo  <wingo@pobox.com>
21306
21307         * gst/gstpad.c (pre_activate): Renamed from pre_activate_switch,
21308         take the mode we're going to as an arg. Go head and set the mode
21309         and flushing flags now, so that if the activate function starts a
21310         thread all the flags will be in the right state.
21311         (post_activate): Renamed also. Just handle making sure streaming
21312         finishes for the deactivation case, and setting the deactivated
21313         mode.
21314         (gst_pad_set_active): Complain loudly if deactivation fails.
21315         (gst_pad_activate_pull): Adapt to pre/post_activate changes.
21316         (gst_pad_activate_push): Adapt to pre/post_activate changes,
21317         remove the terrible hack.
21318
21319 2005-10-11  Wim Taymans  <wim@fluendo.com>
21320
21321         * gst/gstbin.c: (gst_bin_init), (gst_bin_provide_clock_func),
21322         (is_eos), (gst_bin_add_func), (gst_bin_remove_func),
21323         (gst_bin_recalc_state), (gst_bin_change_state_func),
21324         (gst_bin_dispose), (bin_bus_handler):
21325         * gst/gstbin.h:
21326         Prepare to make current EOS message queue more generic.
21327         Fix some typos.
21328
21329         * gst/gstevent.c: (gst_event_new_newsegment),
21330         (gst_event_parse_newsegment):
21331         * gst/gstevent.h:
21332         Rename base to stream_time.
21333
21334         * gst/gstmessage.h:
21335         Fix typo in docs.
21336
21337 2005-10-11  Wim Taymans  <wim@fluendo.com>
21338
21339         * gst/gstbin.c: (gst_bin_init), (gst_bin_provide_clock_func),
21340         (gst_bin_add_func), (gst_bin_remove_func), (gst_bin_recalc_state),
21341         (gst_bin_change_state_func), (bin_bus_handler):
21342         * gst/gstbin.h:
21343         Work on proper clock selection.
21344
21345 2005-10-11  Edward Hervey  <edward@fluendo.com>
21346
21347         * libs/gst/controller/gstcontroller.c: (gst_controller_remove_properties_list): 
21348         * libs/gst/controller/gstcontroller.h:
21349         Added GList* version of _remove_properties() in order to be able to wrap
21350         it in bindings.
21351
21352 2005-10-11  Wim Taymans  <wim@fluendo.com>
21353
21354         * docs/design/part-states.txt:
21355         Some more docs.
21356
21357         * gst/gstbin.c: (gst_bin_set_clock_func), (gst_bin_recalc_state),
21358         (gst_bin_change_state_func), (bin_bus_handler):
21359         Doc updates. Don't distribute the same clock over and over again.
21360
21361         * gst/gstclock.c:
21362         * gst/gstclock.h:
21363         Doc updates.
21364
21365         * gst/gstpad.c: (gst_flow_get_name), (gst_flow_to_quark),
21366         (gst_pad_get_type), (gst_pad_push), (gst_pad_push_event),
21367         (gst_pad_send_event):
21368         * gst/gstpad.h:
21369         Make probe emission threadsafe again.
21370         Register quarks and move _get_name() from utils.
21371         Doc updates.
21372
21373         * gst/gstpipeline.c: (gst_pipeline_class_init),
21374         (gst_pipeline_change_state), (gst_pipeline_provide_clock_func):
21375         Only redistribute the clock of it changed.
21376
21377         * gst/gstsystemclock.h:
21378         Doc updates. 
21379
21380         * gst/gstutils.c:
21381         * gst/gstutils.h:
21382         Moved the _flow_get_name() to GstPad.
21383
21384 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
21385
21386         * check/gst-libs/gdp.c: (GST_START_TEST):
21387         * check/gst/gstcaps.c: (GST_START_TEST):
21388         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_crc),
21389         (gst_dp_dump_byte_array), (gst_dp_header_from_buffer),
21390         (gst_dp_packet_from_caps):
21391           fix more valgrind warnings before turning up the heat
21392
21393 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
21394
21395         * gst/parse/grammar.y:
21396           some cleanup before the hacking
21397
21398 2005-10-10  Thomas Vander Stichele  <thomas at apestaart dot org>
21399
21400         * gst/base/gstbasesrc.c: (gst_base_src_query):
21401           use conversions
21402         * gst/gstutils.c: (gst_guint64_to_gdouble),
21403         (gst_gdouble_to_guint64), (gst_util_uint64_scale):
21404         * gst/gstutils.h:
21405           externalize, basesrc uses it
21406           obviously the implementation needs testing
21407
21408 2005-10-10  Wim Taymans  <wim@fluendo.com>
21409
21410         * tests/sched/Makefile.am:
21411         * tests/sched/sort.c: (make_pipeline1), (make_pipeline2),
21412         (make_pipeline3), (make_pipeline4), (print_elem), (main):
21413
21414 2005-10-10  Thomas Vander Stichele  <thomas at apestaart dot org>
21415
21416         * gst/gstutils.c: (guint64_to_gdouble), (gst_util_uint64_scale):
21417           apparently converting from guint64 to double is not implemented
21418           on MSVC
21419
21420 2005-10-10  Wim Taymans  <wim@fluendo.com>
21421
21422         * check/Makefile.am:
21423         * check/generic/states.c: (GST_START_TEST):
21424         * check/gst/gstbin.c: (GST_START_TEST):
21425         * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
21426         * check/states/sinks.c: (GST_START_TEST):
21427         * check/states/sinks2.c: (GST_START_TEST), (gst_object_suite),
21428         (main):
21429         Check fixes, use API as stated in design docs, remove hacks.
21430
21431         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
21432         (gst_base_sink_change_state):
21433         Catch stopping our task while we're shutting down.
21434
21435         * gst/gstbin.c: (gst_bin_init), (gst_bin_add_func),
21436         (gst_bin_remove_func), (gst_bin_get_state_func),
21437         (gst_bin_recalc_state), (gst_bin_change_state_func),
21438         (bin_bus_handler):
21439         * gst/gstbin.h:
21440         * gst/gstelement.c: (gst_element_init),
21441         (gst_element_get_state_func), (gst_element_abort_state),
21442         (gst_element_commit_state), (gst_element_lost_state),
21443         (gst_element_set_state), (gst_element_change_state),
21444         (gst_element_change_state_func):
21445         * gst/gstelement.h:
21446         New state change algorithm (see #318116)
21447
21448         * gst/gstpipeline.c: (gst_pipeline_class_init),
21449         (gst_pipeline_init), (gst_pipeline_set_property),
21450         (gst_pipeline_get_property), (do_pipeline_seek),
21451         (gst_pipeline_change_state), (gst_pipeline_provide_clock_func):
21452         * gst/gstpipeline.h:
21453         Remove crude state change hacks.
21454
21455         * gst/gstutils.h:
21456         Remove crude hacks.
21457
21458         * tools/gst-launch.c: (main):
21459         Fixes for state change. Needs some more work to fully use the
21460         new stuff.
21461
21462 2005-10-10  Andy Wingo  <wingo@pobox.com>
21463
21464         * tests/Makefile.am (noinst_PROGRAMS): No more init.c.
21465
21466         * gst/gst.c (G_OPTION_FLAG_NO_ARG): Apparently GLib 2.8 requires
21467         this flag, but it's not even in GLib 2.6. Odd. Hack around the
21468         issue.
21469
21470 2005-10-10  Tim-Philipp Müller  <tim at centricular dot net>
21471
21472         * gst/gstiterator.c: (gst_iterator_new):
21473           Fix my previous commit: GTypes passed to gst_iterator_new()
21474           can be fundamental types.
21475
21476 2005-10-10  Wim Taymans  <wim@fluendo.com>
21477
21478         * gst/gstelement.c: (gst_element_iterate_pad_list),
21479         (gst_element_iterate_pads), (gst_element_iterate_src_pads),
21480         (gst_element_iterate_sink_pads):
21481         Use src/sink pads lists for the respective iterators instead
21482         of filtering.
21483
21484 2005-10-10  Andy Wingo  <wingo@pobox.com>
21485
21486         Merged in popt removal + GOption addition patch from Ronald, bug
21487         #169772.
21488
21489         * docs/gst/gstreamer-sections.txt: Add STATE_(UN)LOCK_FULL, move
21490         GstElement macros around, remove popt-related symbols, add goption
21491         stuff.
21492
21493         * configure.ac: Remove popt checks, require GLib 2.6 for GOption.
21494         
21495         * docs/gst/Makefile.am:
21496         * docs/libs/Makefile.am: No POPT_CFLAGS.
21497         
21498         * examples/manual/Makefile.am:
21499         * docs/manual/basics-init.xml: Doc updates with an example.
21500         
21501         * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
21502         (gst_init), (parse_one_option), (parse_goption_arg):
21503         * gst/gst.h: Removed gst_init_with_popt_table and friends. Took a
21504         bit of hand merging and debugging to get the GOption stuff working
21505         tho.
21506         
21507         * tests/Makefile.am:
21508         * tools/Makefile.am:
21509         * tools/gst-inspect.c: (main):
21510         * tools/gst-launch.c: (main):
21511         * tools/gst-run.c: (main):
21512         * tools/gst-xmlinspect.c: (main): Thanks Ronald!
21513
21514 2005-10-10  Tim-Philipp Müller  <tim at centricular dot net>
21515
21516         * gst/gstiterator.c: (gst_iterator_new):
21517           Add assertions to make sure passed GType is likely to really
21518           be a GType (as the compiler won't catch it if the size and
21519           GType arguments get mixed up, see #318447).
21520
21521 2005-10-10  Josef Zlomek  <josef dot zlomek at xeris dot cz>
21522
21523         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
21524
21525         * gst/gstbin.c: (gst_bin_iterate_sorted):
21526           Pass GType and size arguments to gst_iterator_new() in the right
21527           order (maybe we should make _new() take the GType as first argument
21528           just like _new_list()?) (#318447).
21529           
21530
21531 2005-10-10  Wim Taymans  <wim@fluendo.com>
21532
21533         * gst/gstelement.c: (gst_element_finalize):
21534         And free the GStaticRecMutex too
21535
21536 2005-10-10  Andy Wingo  <wingo@pobox.com>
21537
21538         * gst/gstelement.c (gst_element_init, gst_element_finalize):
21539         Allocate and free the mutex properly.
21540
21541         * gst/gstelement.h (GST_STATE_UNLOCK_FULL, GST_STATE_LOCK_FULL):
21542         New macros.
21543         (GstElement): The state_lock is now recursive. Rebuild your
21544         plugins, suckers. Old macros adapted.
21545
21546         * docs/gst/gstreamer-sections.txt: Doc updates.
21547
21548         * gst/gstutils.h:
21549         * gst/gstutils.c (g_static_rec_cond_timed_wait) 
21550         (g_static_rec_cond_wait): Ported from state changes patch, while
21551         we wait on bug #317802 to be solved in a well-distributed GLib.
21552
21553         * gst/gstelement.c (gst_element_change_state_func): Renamed from
21554         gst_element_change_state, variable name changes.
21555         (gst_element_change_state): Split out of gst_element_set_state in
21556         preparation for the state change merge. Doesn't pay attention to
21557         the 'transition' argument.
21558         (gst_element_set_state): Updates, hopefully purely cosmetic.
21559         (gst_element_sync_state_with_parent): MT-safety. Ported from the
21560         state change patch.
21561         (gst_element_get_state_func): Renamed from get_state, cosmetic
21562         changes.
21563
21564 2005-10-10  Thomas Vander Stichele  <thomas at apestaart dot org>
21565
21566         * gst/elements/gstelements.c:
21567         * win32/GStreamer.vcproj:
21568         * win32/config.h:
21569         * win32/dirent.c: (_tseekdir):
21570         * win32/gst-inspect.vcproj:
21571         * win32/gst-launch.vcproj:
21572         * win32/gstconfig.h:
21573         * win32/gstelements.vcproj:
21574         * win32/gstenumtypes.c: (gst_object_flags_get_type):
21575         * win32/gstreamer.def:
21576         * win32/msvc71.sln:
21577           updates for the win32 build (patch from Sebastien Moutte)
21578
21579 2005-10-10  Andy Wingo  <wingo@pobox.com>
21580
21581         * gst/gstbin.c (gst_bin_get_state_func): Renamed from
21582         gst_bin_get_state, cleaned up (but no logic changes).
21583         (bin_element_is_sink): Comment updates.
21584         (sink_iterator_filter): Remove needless cast.
21585         (gst_bin_iterate_sinks): Doc update.
21586         (gst_bin_change_state_func): Renamed from gst_bin_change_state,
21587         cleaned up (but no logic changes).
21588
21589         * check/states/sinks.c (test_src_sink): Cleanups from the state
21590         change patch.
21591         (test_livesrc_sink): Sync on the state.
21592
21593         * check/pipelines/simple_launch_lines.c (run_pipeline): Merge from
21594         the state change patch.
21595
21596         * check/gst/gstghostpad.c (test_ghost_pads): Merge from the state
21597         change patch.
21598
21599         * check/gst/gstbin.c: Merge in some style fixes and additional
21600         checks from Wim's state change patch.
21601
21602 2005-10-10  Tim-Philipp Müller  <tim at centricular dot net>
21603
21604         * gst/base/gsttypefindhelper.c: (helper_find_peek),
21605         (gst_type_find_helper):
21606           Check whether we have the requested data already in our list of
21607           cached buffers before pulling a new buffer; also make the buffer
21608           list a GSList. Speeds up typefinding by ca. 5-10% altogether.
21609
21610 2005-10-10  Thomas Vander Stichele  <thomas at apestaart dot org>
21611
21612         * gst/gstcaps.c:
21613         * gst/gstevent.c:
21614           doc updates
21615         * gst/gstvalue.c: (gst_value_deserialize_int_helper):
21616           don't use long long, it's not portable.  Replacing with
21617           gint64 seems to work; let's hope no skeletons fall out of the closet.
21618
21619 2005-10-10  Andy Wingo  <wingo@pobox.com>
21620
21621         * autogen.sh (CONFIGURE_DEF_OPT): No more --plugin-buiddir, yay
21622
21623 2005-10-09  Stefan Kost  <ensonic@users.sf.net>
21624
21625         * docs/gst/gstreamer-sections.txt:
21626         * gst/gstevent.c:
21627         * gst/gstevent.h:
21628         * gst/gstinfo.c:
21629         * gst/gstinfo.h:
21630         * gst/gstmessage.c: (gst_message_parse_state_changed):
21631         * gst/gstpad.c:
21632         * gst/gstpad.h:
21633           more docs, fix compilation
21634
21635 2005-10-09  Philippe Khalaf <burger@speedy.org>
21636         * gst/gstmessage.c:
21637           Fixed a few forgotten variables on previous commit
21638
21639 2005-10-09  Tim-Philipp Müller  <tim at centricular dot net>
21640
21641         * gst/base/gsttypefindhelper.c: (helper_find_peek):
21642           Fix evil typefind crasher: getrange() might return a short
21643           buffer at the end of a file, but gst_type_find_peek() must
21644           either return the full data as requested or NULL, but
21645           never a short buffer.
21646
21647 2005-10-09  Thomas Vander Stichele  <thomas at apestaart dot org>
21648
21649         * gst/gstmessage.c: (gst_message_new_state_changed),
21650         (gst_message_parse_state_changed):
21651         * gst/gstmessage.h:
21652           don't use "new", it's a C++ keyword
21653
21654 2005-10-08  Wim Taymans  <wim@fluendo.com>
21655
21656         * gst/gstbin.c: (is_eos), (update_degree), (gst_bin_query):
21657         * gst/gstelement.c: (gst_element_post_message):
21658         * gst/gstpipeline.c: (gst_pipeline_change_state):
21659         Small docs and debug updates.
21660
21661 2005-10-08  Stefan Kost  <ensonic@users.sf.net>
21662
21663         * docs/gst/gstreamer-sections.txt:
21664         * gst/gstelementfactory.c:
21665         * gst/gstevent.c:
21666         * gst/gsttaglist.c:
21667           more docs
21668
21669 2005-10-08  Wim Taymans  <wim@fluendo.com>
21670
21671         * gst/gstbin.c: (is_eos), (update_degree), (gst_bin_change_state),
21672         (gst_bin_dispose), (bin_bus_handler):
21673         Fix typos, add comments.
21674         Clear EOS list when going to PAUSED from any direction and do it
21675         in a threadsafe way.
21676         Get base time in a threadsafe way too.
21677         Fix confusing debug in the change_state function.
21678         Various other small cleanups.
21679         
21680         * gst/gstelement.c: (gst_element_post_message):
21681         Fix very verbose bus posting code.
21682
21683         * gst/gstpipeline.c: (gst_pipeline_class_init),
21684         (gst_pipeline_set_property), (gst_pipeline_get_property),
21685         (gst_pipeline_change_state):
21686         Small ARG_ -> PROP_ cleanup
21687
21688 2005-10-08  Wim Taymans  <wim@fluendo.com>
21689
21690         * gst/gstbin.c: (is_eos), (bin_bus_handler):
21691         Do a less CPU demanding EOS check because we can.
21692
21693 2005-10-08  Wim Taymans  <wim@fluendo.com>
21694
21695         * libs/gst/dataprotocol/dataprotocol.c:
21696         (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
21697         (gst_dp_packet_from_event):
21698         * libs/gst/dataprotocol/dataprotocol.h:
21699         * libs/gst/dataprotocol/dp-private.h:
21700         It's about time we bump the version number.
21701         Since event types don't fit in the guint8 anymore describing
21702         the payload type, make payload type 16 bits wide.
21703
21704 2005-10-08  Wim Taymans  <wim@fluendo.com>
21705
21706         * docs/design/part-TODO.txt:
21707         * docs/design/part-clocks.txt:
21708         * docs/design/part-events.txt:
21709         * docs/design/part-gstbin.txt:
21710         * docs/design/part-gstelement.txt:
21711         * docs/design/part-gstpipeline.txt:
21712         * docs/design/part-live-source.txt:
21713         * docs/design/part-messages.txt:
21714         * docs/design/part-overview.txt:
21715         * docs/design/part-states.txt:
21716         Many doc updates.
21717
21718 2005-10-08  Wim Taymans  <wim@fluendo.com>
21719
21720         * gst/gstevent.c:
21721         * gst/gstevent.h:
21722         Fix event quark registration.
21723         Add some space between events so we can insert them in the
21724         right groups.
21725
21726 2005-10-08  Wim Taymans  <wim@fluendo.com>
21727
21728         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
21729         (gst_base_sink_handle_buffer):
21730         Better log message.
21731
21732         * gst/gstbus.h:
21733         * gst/gstelement.h:
21734         More docs.
21735
21736         * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
21737         (gst_queue_set_property), (gst_queue_get_property):
21738         * gst/gstqueue.h:
21739         Remove old unused properties.
21740
21741 2005-10-08  Stefan Kost  <ensonic@users.sf.net>
21742         * docs/gst/gstreamer-sections.txt:
21743         * gst/gstmessage.c:
21744         * gst/gstmessage.h:
21745         * gst/gstminiobject.c:
21746         * gst/gstminiobject.h:
21747         * gst/gstobject.h:
21748         * gst/gstpad.h:
21749         * gst/gstutils.h:
21750           lots of new docs and doc fixes
21751
21752 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
21753
21754         * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_load_file):
21755         * gst/gstplugin.h:
21756         * gst/gstregistry.c: (gst_registry_lookup_locked),
21757         (gst_registry_scan_path_level):
21758         * gst/gstregistryxml.c: (load_plugin):
21759           Only ever load one plugin for a given plugin basename.
21760           This ensures correct overriding of GST_PLUGIN_PATH over
21761           GST_PLUGIN_SYSTEM_PATH and of home dir plugins over
21762           system installed plugins.
21763
21764 2005-10-08  Wim Taymans  <wim@fluendo.com>
21765
21766         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
21767         (gst_base_sink_do_sync), (gst_base_sink_handle_buffer):
21768         Prepare for doing QOS.
21769
21770 2005-10-08  Wim Taymans  <wim@fluendo.com>
21771
21772         * check/gst/gstbin.c: (GST_START_TEST):
21773         * check/pipelines/cleanup.c: (GST_START_TEST):
21774         * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
21775         Allow new clock message too.
21776
21777 2005-10-08  Wim Taymans  <wim@fluendo.com>
21778
21779         * gst/gstmessage.c: (gst_message_new_error),
21780         (gst_message_new_warning), (gst_message_new_tag),
21781         (gst_message_new_state_changed), (gst_message_new_clock_provide),
21782         (gst_message_new_clock_lost), (gst_message_new_new_clock),
21783         (gst_message_new_segment_start), (gst_message_new_segment_done),
21784         (gst_message_parse_state_changed),
21785         (gst_message_parse_clock_provide), (gst_message_parse_clock_lost),
21786         (gst_message_parse_new_clock):
21787         * gst/gstmessage.h:
21788         Also carry the clock in question.
21789
21790 2005-10-08  Wim Taymans  <wim@fluendo.com>
21791
21792         * gst/gstmessage.c: (gst_message_new_custom),
21793         (gst_message_new_eos), (gst_message_new_error),
21794         (gst_message_new_warning), (gst_message_new_tag),
21795         (gst_message_new_state_changed), (gst_message_new_clock_provide),
21796         (gst_message_new_new_clock), (gst_message_new_segment_start),
21797         (gst_message_new_segment_done), (gst_message_parse_state_changed),
21798         (gst_message_parse_clock_provide), (gst_message_parse_new_clock):
21799         * gst/gstmessage.h:
21800         Clean up.
21801         Added clock related messages.
21802
21803         * gst/gstpipeline.c: (gst_pipeline_change_state):
21804         Post message when the clock changed.
21805
21806         * tools/gst-launch.c: (event_loop):
21807         Print new clock.
21808
21809 2005-10-08  Tim-Philipp Müller  <tim at centricular dot net>
21810
21811         * tools/gst-inspect.c: (print_element_properties_info):
21812           Can't pass NULL strings to g_print() on windows.
21813
21814 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
21815
21816         * docs/Makefile.am:
21817         * docs/gst/Makefile.am:
21818         * docs/gst/gstreamer-docs.sgml:
21819         * docs/gst/running.xml:
21820         * docs/version.entities.in:
21821           add a chapter on running GStreamer.
21822           document GST_DEBUG and GST_PLUGIN* env vars
21823
21824 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
21825
21826         * Makefile.am:
21827           remove include dir
21828         * configure.ac:
21829           remove PLUGINS_BUILDDIR stuff
21830         * gst/gst.c: (init_post):
21831           reorder parsing of GST_PLUGIN_PATH and GST_PLUGIN_SYSTEM_PATH
21832         * idiottest.mak:
21833           remove, it was condescending and not needed
21834
21835 2005-10-08  Wim Taymans  <wim@fluendo.com>
21836
21837         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
21838         (gst_base_sink_handle_object), (gst_base_sink_event),
21839         (gst_base_sink_wait), (gst_base_sink_handle_event),
21840         (gst_base_sink_change_state):
21841         * gst/base/gstbasesink.h:
21842         Repost EOS message while going to PLAYING if still EOS.
21843         Make sure that when receiving a FLUSH_START we don't attempt
21844         to sync on the clock anymore.
21845
21846 2005-10-08  Wim Taymans  <wim@fluendo.com>
21847
21848         * tools/gst-launch.c: (event_loop):
21849         Better message printout.
21850
21851 2005-10-08  Wim Taymans  <wim@fluendo.com>
21852
21853         * gst/gstbin.c: (gst_bin_child_proxy_get_child_by_index),
21854         (gst_bin_child_proxy_get_children_count):
21855         * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
21856         (gst_child_proxy_lookup), (gst_child_proxy_get_property),
21857         (gst_child_proxy_get_valist), (gst_child_proxy_set_property),
21858         (gst_child_proxy_set_valist):
21859         * gst/parse/grammar.y:
21860         Make ChildProxy threadsafe and fix mem leaks.
21861
21862 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
21863
21864         * gst/gst.c: (init_post):
21865           debug the GST_PLUGIN_ env vars
21866
21867 2005-10-08  Wim Taymans  <wim@fluendo.com>
21868
21869         * check/gst/gstbin.c: (GST_START_TEST):
21870         * check/gst/gstmessage.c: (GST_START_TEST):
21871         * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
21872         * gst/gstelement.c: (gst_element_commit_state),
21873         (gst_element_lost_state):
21874         * gst/gstmessage.c: (gst_message_new_state_changed),
21875         (gst_message_parse_state_changed):
21876         * gst/gstmessage.h:
21877         * tools/gst-launch.c: (event_loop):
21878         Added extra field to STATE_CHANGE message with the pending
21879         state, which will be different from the new state soon.
21880
21881 2005-10-08  Wim Taymans  <wim@fluendo.com>
21882
21883         * gst/gstbus.c: (gst_bus_pop):
21884         * gst/gstclock.c:
21885         * gst/gstsystemclock.c: (gst_system_clock_async_thread):
21886         Small cleanups and doc updates.
21887
21888 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
21889
21890         * gst/gst.c: (init_pre):
21891         * gst/gstbin.c: (gst_bin_add_func):
21892           log distributing clocks and base time
21893         * gst/gstregistry.c: (gst_registry_add_plugin),
21894         (gst_registry_scan_path_level), (gst_registry_scan_path):
21895           clean up the debugging output a little
21896         * gst/gstutils.c: (gst_element_state_get_name):
21897           warn about a memleak (I've actually seen this be used, though
21898           it was probably a bug)
21899
21900 2005-10-07  Wim Taymans  <wim@fluendo.com>
21901
21902         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
21903         (gst_base_src_init), (gst_base_src_default_newsegment),
21904         (gst_base_src_newsegment), (gst_base_src_do_seek),
21905         (gst_base_src_loop), (gst_base_src_start):
21906         * gst/base/gstbasesrc.h:
21907         Make the newsegment event customizable by subclasses.
21908
21909 2005-10-07  Wim Taymans  <wim@fluendo.com>
21910
21911         * gst/gstevent.c: (gst_event_new_buffersize),
21912         (gst_event_parse_buffersize):
21913         * gst/gstevent.h:
21914         New event for future idea.
21915
21916 2005-10-07  Andy Wingo  <wingo@pobox.com>
21917
21918         * gst/gstelement.c (gst_element_post_message): Doc update.
21919
21920         * docs/gst/gstreamer-sections.txt: Update.
21921
21922         * gst/gstmessage.c (gst_message_new_application): Made into a
21923         function like honest API calls.
21924         (gst_message_new_element): New message type.
21925
21926         * gst/gstmessage.h (enum): Add GST_MESSAGE_ELEMENT type.
21927
21928         * check/elements/fakesrc.c (test_no_preroll): New check, checks
21929         that setting a live fakesrc to PAUSED returns NO_PREROLL both
21930         times.
21931
21932         * gst/base/gstbasesrc.c (gst_base_src_change_state): Allow a
21933         NO_PREROLL from gst_element_change_state to fall through.
21934
21935 2005-10-07  Wim Taymans  <wim@fluendo.com>
21936
21937         * gst/gstghostpad.c: (gst_ghost_pad_get_internal),
21938         (gst_ghost_pad_do_activate_push):
21939         Activating a ghostpad with no internal pad in push mode
21940         is ok.
21941
21942 2005-10-07  Thomas Vander Stichele  <thomas at apestaart dot org>
21943
21944         * gst/gstobject.h:
21945           there's no point in wrapping FLAG_SET/_UNSET in STMT macros.
21946           Fixes compilation on Windows.
21947
21948 2005-10-07  Michael Smith <msmith@fluendo.com>
21949
21950         * tools/gst-inspect.c:
21951           Print out feature and plugin count at the end when printing out
21952           all features.
21953
21954 2005-10-04  Michael Smith <msmith@fluendo.com>
21955
21956         * gst/gsterror.c: (_gst_stream_errors_init):
21957           Add another error string used in a few existing plugins.
21958
21959         * gst/gstplugin.c:
21960         * gst/gstpluginfeature.c: (gst_plugin_feature_load):
21961         * tools/gst-inspect.c: (print_element_info):
21962           When a feature disappears from a plugin (and the feature exists in
21963           the cached registry file), things went horribly wrong. This isn't a
21964           complete fix, we should actually be removing the 'missing' features
21965           from the features list when we load the actual plugin. That's not
21966           yet implemented. 
21967
21968 2005-10-04  Johan Dahlin  <johan@gnome.org>
21969
21970         * check/gst/gstiterator.c: (GST_START_TEST):
21971         * gst/gstbin.c: (gst_bin_iterate_elements),
21972         (gst_bin_iterate_recurse), (gst_bin_iterate_sorted):
21973         * gst/gstelement.c: (gst_element_iterate_pads):
21974         * gst/gstformat.c: (gst_format_iterate_definitions):
21975         * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
21976         (gst_iterator_new_list), (gst_iterator_filter):
21977         * gst/gstiterator.h:
21978         * gst/gstquery.c: (gst_query_type_iterate_definitions):
21979         Add a GType to GstIterator, update callsites and tests.
21980
21981 2005-10-06  Thomas Vander Stichele  <thomas at apestaart dot org>
21982
21983         * gst/gstpad.c: (gst_pad_event_default_dispatch):
21984           give events a chance to be handled by event probes when the pad
21985           is not linked
21986
21987 2005-10-06  Thomas Vander Stichele  <thomas at apestaart dot org>
21988
21989         * gst/gstevent.c: (gst_event_type_get_name),
21990         (gst_event_type_to_quark), (gst_event_finalize), (gst_event_new):
21991         * gst/gstevent.h:
21992           add string representations for event types
21993
21994 2005-10-06  Wim Taymans  <wim@fluendo.com>
21995
21996         * gst/elements/gstfilesink.c: (gst_file_sink_close_file):
21997         Don't use NULL pointers.
21998
21999 2005-10-06  Thomas Vander Stichele  <thomas at apestaart dot org>
22000
22001         * gst/gst_private.h:
22002         * gst/gstbus.c:
22003         * gst/gstelement.c:
22004         * gst/gstinfo.c:
22005         * gst/gstpluginfeature.c:
22006           widen the debug category in output to fit the biggest one we have
22007           add a bus category and use it
22008           play with the colors
22009           fix up some categories
22010
22011 2005-10-06  Thomas Vander Stichele  <thomas at apestaart dot org>
22012
22013         * gst/gstghostpad.c: (gst_ghost_pad_internal_do_activate_push):
22014           add push activation of sink ghost pads.
22015           Andye, please verify
22016
22017 2005-10-05  Thomas Vander Stichele  <thomas at apestaart dot org>
22018
22019         * gst/gstutils.c: (gst_element_link_pads):
22020           fix a bug in the case where neither element has a pad
22021         * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
22022           add a test for that case
22023
22024 2005-10-05  Thomas Vander Stichele  <thomas at apestaart dot org>
22025
22026         * gst/gstpad.c: (gst_pad_push), (gst_pad_push_event):
22027           emit have-data before checking for peers.  This allows
22028           for probe handlers to connect elements.  This helps autopluggers.
22029         * check/gst/gstpad.c: (GST_START_TEST), (_probe_handler),
22030         (gst_pad_suite):
22031           add six checks, linked/unlinked with no/true/false probe
22032
22033 2005-10-04  Wim Taymans  <wim@fluendo.com>
22034
22035         * gst/elements/gstfakesink.c: (gst_fake_sink_get_property),
22036         (gst_fake_sink_event), (gst_fake_sink_preroll),
22037         (gst_fake_sink_render), (gst_fake_sink_change_state):
22038         * gst/elements/gstfakesrc.c: (gst_fake_src_event_handler),
22039         (gst_fake_src_get_property), (gst_fake_src_create),
22040         (gst_fake_src_stop):
22041         * gst/elements/gstidentity.c: (gst_identity_stop):
22042         Protect last_message with lock.
22043
22044 2005-10-04  Edward Hervey  <edward@fluendo.com>
22045
22046         * gst/gstformat.h: 
22047         Added precision in the comments for GST_FORMAT_DEFAULT
22048
22049 2005-10-04  Tim-Philipp Müller  <tim at centricular dot net>
22050
22051         * tools/gst-launch.c: (main):
22052           Don't try to run erroneous pipelines.
22053
22054 2005-10-04  Julien MOUTTE  <julien@moutte.net>
22055
22056         * gst/gstbus.c: We don't need this header.
22057
22058 2005-10-03  Thomas Vander Stichele  <thomas at apestaart dot org>
22059
22060         * configure.ac:
22061           back to development
22062
22063 === release 0.9.3 ===
22064
22065 2005-10-03  Thomas Vander Stichele  <thomas at apestaart dot org>
22066
22067         * README:
22068         * configure.ac:
22069           Releasing 0.9.3, "Unregistered"
22070
22071 2005-10-03  Andy Wingo  <wingo@pobox.com>
22072
22073         * gst/gstpad.c (gst_pad_activate_push): There is a race condition
22074         whereby calling a pad's activatepush() function can start a thread
22075         that starts to push or pull before the pad gets the FLUSHING flag
22076         unset. Hack around it by holding the stream lock until the flag is
22077         set. Need to replace this with a proper solution. Together with
22078         the ghost pad fixes, this fixes mp3 playing/tagreading.
22079
22080         * docs/design/part-gstghostpad.txt: Add a note about activation of
22081         proxy pads outside of ghost pads.
22082
22083         * gst/gstghostpad.c: Implement the ghost pad activation design.
22084
22085 2005-10-02  Andy Wingo  <wingo@pobox.com>
22086
22087         * gst/gstobject.h (GST_OBJECT_REFCOUNT_VALUE): Just use the int.
22088         It is volatile, after all.
22089
22090         * docs/design/part-gstghostpad.txt: Flesh out activation with
22091         ghost pads.
22092
22093         * gst/base/gstbasesrc.c (gst_base_src_init): Use
22094         GST_DEBUG_FUNCPTR.
22095
22096 2005-10-02  Tim-Philipp Müller  <tim at centricular dot net>
22097
22098         * configure.ac:
22099           Fix (unused) AM_CONDITIONAL tests.
22100
22101 2005-10-01  Alessandro Decina  <alessandro at nnva dot org>
22102
22103         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
22104
22105         * gst/gstutils.c: (gst_pad_query_convert):
22106           Add assertion that makes sure src_val is >=0, just like
22107           gst_query_new_convert() has. (#315895)
22108
22109 2005-09-30  Edward Hervey  <edward@fluendo.com>
22110
22111         * gst/elements/gsttee.c: (gst_tee_do_push), (gst_tee_handle_buffer):
22112         Let's not iterate pads we're not interested in, it avoids getting 
22113         sky-high refcounts on sinkpad.
22114
22115 2005-09-30  Wim Taymans  <wim@fluendo.com>
22116
22117         * gst/gstelement.c: (gst_element_set_state),
22118         (gst_element_change_state):
22119         Small tweak, element in ASYNC remains ASYNC.
22120
22121 2005-09-30  Wim Taymans  <wim@fluendo.com>
22122
22123         * gst/base/gstbasesink.c: (gst_base_sink_change_state):
22124         Only error is an error.
22125
22126         * gst/gstbin.c: (gst_bin_change_state):
22127         Better debugging.
22128
22129         * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_chain):
22130         Also call pad_block in pad alloc.
22131
22132         * gst/gstutils.c: (gst_flow_get_name):
22133         Better debugging.
22134
22135 2005-09-29  Tim-Philipp Müller  <tim at centricular dot net>
22136
22137         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
22138         (gst_base_src_get_range):
22139           Fix documentation typos. Add some more debug info.
22140
22141 2005-09-29  David Schleef  <ds@schleef.org>
22142
22143         * gst/gstplugin.c: (gst_plugin_load_file): Make some error messages
22144           more end-user friendly.
22145         * tools/gst-inspect.c: (main): Check if command-line argument is
22146           a file and attempt to load that file as a plugin.
22147
22148 2005-09-29  Thomas Vander Stichele  <thomas at apestaart dot org>
22149
22150         * check/gst/gstbin.c:
22151         * check/states/sinks.c:
22152           fix tests for the new warning
22153         * check/gst/gstpipeline.c:
22154           add a test for pipeline and bus interaction
22155         * gst/gstelement.c:
22156           elements should be NULL if they get disposed; add a warning if not
22157
22158 2005-09-29  Thomas Vander Stichele  <thomas at apestaart dot org>
22159
22160         * gst/gstobject.c:
22161           for 2.6 refcounting, make debug log more correct by printing
22162           the actual refcounts at the time of swap (Wim)
22163
22164 2005-09-29  Andy Wingo  <wingo@pobox.com>
22165
22166         * gst/gstbus.c (gst_bus_remove_signal_watch): New function,
22167         removes signal watches previously added via
22168         gst_bus_add_signal_watch.
22169         (gst_bus_add_signal_watch): Don't return the source id, just store
22170         it on the bus if there wasn't an id already.
22171
22172         * gst/gstbus.h (GstBus): Add a couple new fields. API changes for
22173         add_signal_watch and remove_signal_watch.
22174
22175 2005-09-29  Edward Hervey  <edward@fluendo.com>
22176
22177         * libs/gst/controller/gstcontroller.c: (gst_controller_new_list): 
22178         Better if we actually iterate the list :)
22179
22180 2005-09-29  Wim Taymans  <wim@fluendo.com>
22181
22182         * check/gst/gstbin.c: (GST_START_TEST):
22183         Change for new bus API.
22184
22185         * check/gst/gstbus.c: (message_func_eos), (message_func_app),
22186         (send_messages), (GST_START_TEST), (gstbus_suite):
22187         Change for new bus signal API.
22188
22189         * gst/gstbus.c: (gst_bus_class_init), (gst_bus_have_pending),
22190         (gst_bus_source_prepare), (gst_bus_source_check),
22191         (gst_bus_create_watch), (gst_bus_add_watch_full),
22192         (gst_bus_add_watch), (gst_bus_poll), (gst_bus_async_signal_func),
22193         (gst_bus_sync_signal_handler), (gst_bus_add_signal_watch):
22194         * gst/gstbus.h:
22195         Remove support for multiple GSources operating on different
22196         message types as it is too complex and unneeded when using
22197         signals.
22198         Added support for receiving signals from the bus.
22199
22200 2005-09-29  Thomas Vander Stichele  <thomas at apestaart dot org>
22201
22202         * docs/libs/tmpl/gstdataprotocol.sgml:
22203         * docs/manual/advanced-dataaccess.xml:
22204         * gst/elements/gstcapsfilter.c:
22205         * gst/gstutils.c:
22206           rename filter-caps to caps property
22207
22208 2005-09-29  Tim-Philipp Müller  <tim at centricular dot net>
22209
22210         * gst/gstvalue.c: (gst_value_deserialize_fraction):
22211           More robust fraction string parsing.
22212
22213         * docs/pwg/appendix-porting.xml:
22214           Mention gst_pad_use_explicit_caps() => gst_pad_use_fixed_caps()
22215
22216 2005-09-29  Tim-Philipp Müller  <tim at centricular dot net>
22217
22218         * gst/gstcaps.c: (gst_caps_do_simplify):
22219           Thou shalt not free a structure and then continue using it
22220           in the next loop iteration.
22221
22222         * check/gst/gstcaps.c: (check_fourcc_list), (test_simplify),
22223         (gst_caps_suite):
22224           Add test case for caps simplification.
22225
22226 2005-09-29  Wim Taymans  <wim@fluendo.com>
22227
22228         * check/gst/gstbin.c: (GST_START_TEST):
22229         Oops.
22230
22231 2005-09-29  Wim Taymans  <wim@fluendo.com>
22232
22233         * check/gst/gstbin.c: (GST_START_TEST):
22234         Add bus to bin.
22235
22236         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
22237         (add_to_queue), (clear_queue), (reset_degree), (update_degree),
22238         (find_element), (gst_bin_sort_iterator_next),
22239         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
22240         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
22241         (gst_bin_change_state), (gst_bin_dispose):
22242         A bin does not have a bus, it gets the bus from the parent.
22243
22244         * gst/gstelement.c: (gst_element_requires_clock),
22245         (gst_element_provides_clock), (gst_element_is_indexable),
22246         (gst_element_is_locked_state), (gst_element_change_state),
22247         (gst_element_set_bus_func):
22248         Small cleanups.
22249
22250         * gst/gstpipeline.c: (gst_pipeline_class_init),
22251         (gst_pipeline_init), (gst_pipeline_provide_clock_func):
22252         The pipeline provides a bus.
22253
22254 2005-09-28  Johan Dahlin  <johan@gnome.org>
22255
22256         * gst/gstmessage.c (gst_message_parse_state_changed): Use
22257         gst_structure_get_enum instead of gst_structure_get_int
22258
22259         * gst/gststructure.c (gst_structure_get_enum): Impl.
22260
22261         * gst/gststructure.h (gst_structure_get_enum): Add
22262
22263         * docs/gst/gstreamer-sections.txt: Ditto
22264
22265         * gst/gstmessage.c (gst_message_new_state_changed): Use
22266         GST_TYPE_STATE instead of G_TYPE_INT, mainly for language bindings
22267         which does introspection.
22268         Reviewed by Christian Schaller
22269
22270 2005-09-28  Stefan Kost  <ensonic@users.sf.net>
22271
22272         * gst/gstinfo.c: (gst_debug_log_default):
22273           don't do dummy g_strdup()s
22274         * libs/gst/controller/gstcontroller.c:
22275         (on_object_controlled_property_changed),
22276         (gst_controlled_property_new), (gst_controller_new_valist),
22277         (gst_controller_new_list),
22278         (gst_controller_remove_properties_valist), (gst_controller_set),
22279         (gst_controller_get), (gst_controller_sync_values),
22280         (gst_controller_get_value_array), (_gst_controller_class_init),
22281         (gst_controller_get_type):
22282         * libs/gst/controller/gstcontroller.h:
22283         * libs/gst/controller/gstinterpolation.c:
22284         (gst_controlled_property_find_timed_value_node):
22285           convert // to /**/ comments
22286
22287 2005-09-28  Wim Taymans  <wim@fluendo.com>
22288
22289         * gst/gstbus.c: (marshal_VOID__MINIOBJECT), (gst_bus_class_init),
22290         (gst_bus_post), (poll_func), (gst_bus_async_signal_func),
22291         (gst_bus_sync_signal_handler):
22292         * gst/gstbus.h:
22293         Added async-message and sync-message signals to the bus.
22294         Added helper BusFunc to emit signals for all posted messages.
22295
22296         * gst/gstmessage.c: (gst_message_type_get_name),
22297         (gst_message_type_to_quark), (gst_message_get_type):
22298         * gst/gstmessage.h:
22299         Register quarks for message names.
22300
22301 2005-09-28  Stefan Kost  <ensonic@users.sf.net>
22302
22303         * docs/libs/gstreamer-libs-sections.txt:
22304         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
22305         (gst_controller_new_list):
22306         * libs/gst/controller/gstcontroller.h:
22307           added another constructor for language bindings
22308
22309 2005-09-28  Thomas Vander Stichele  <thomas at apestaart dot org>
22310
22311         * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
22312           add another check
22313         * gst/gstbus.c:
22314           add some doc
22315         * gst/gstinfo.c: (_gst_debug_init):
22316           slightly more readable color for refcount debugging
22317
22318 2005-09-28  Wim Taymans  <wim@fluendo.com>
22319
22320         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_provide_clock_func),
22321         (add_to_queue), (clear_queue), (reset_degree), (update_degree),
22322         (find_element), (gst_bin_sort_iterator_next),
22323         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
22324         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
22325         (gst_bin_change_state), (gst_bin_dispose):
22326         Small doc fixes. get_clock -> provide_clock.
22327
22328         * gst/gstelement.c: (gst_element_class_init),
22329         (gst_element_provides_clock), (gst_element_provide_clock),
22330         (gst_element_get_clock), (gst_element_commit_state),
22331         (gst_element_lost_state):
22332         * gst/gstelement.h:
22333         Make get/set_clock() symetric. Add provide_clock vmethod since
22334         that is actually what this function does.
22335
22336         * gst/gstpipeline.c: (gst_pipeline_class_init),
22337         (gst_pipeline_change_state), (gst_pipeline_provide_clock_func),
22338         (gst_pipeline_get_clock):
22339         get_clock -> provide_clock.
22340
22341 2005-09-28  Andy Wingo  <wingo@pobox.com>
22342
22343         * gst/base/gstbasesrc.c (gst_base_src_unlock): Comment a bit in
22344         lieu of real docs...
22345
22346         * gst/elements/gstfdsrc.c: Cleaned up a bit.
22347
22348 2005-09-28  Tim-Philipp Müller  <tim at centricular dot net>
22349
22350         * gst/elements/gstcapsfilter.c:
22351         * gst/elements/gstfakesink.c:
22352         * gst/elements/gstfakesrc.c:
22353         * gst/elements/gstfdsink.c:
22354         * gst/elements/gstfdsrc.c:
22355         * gst/elements/gstfilesink.c:
22356         * gst/elements/gstfilesrc.c:
22357         * gst/elements/gstidentity.c:
22358         * gst/elements/gsttee.c:
22359         * gst/elements/gsttypefindelement.c:
22360           Make element details static.
22361
22362 2005-09-28  Wim Taymans  <wim@fluendo.com>
22363
22364         * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
22365         (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
22366         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
22367         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
22368         (gst_bin_change_state), (gst_bin_dispose):
22369         Some documentation updates.
22370         Clean up dispose handlers.
22371
22372         * gst/gstobject.c: (gst_object_ref), (gst_object_unref):
22373         * gst/gstpad.c: (gst_pad_dispose):
22374         Clean up dispose handler.
22375
22376         * gst/gstpipeline.c: (gst_pipeline_change_state):
22377         Removed spurious UNLOCK.
22378
22379 2005-09-27  Stefan Kost  <ensonic@users.sf.net>
22380
22381         * docs/gst/gstreamer-sections.txt:
22382         * gst/base/gstbasesrc.h:
22383         * gst/gstelement.h:
22384         * gst/gstevent.h:
22385         * gst/gstobject.h:
22386         * gst/gstpad.h:
22387         * gst/gstpipeline.c:
22388         * gst/gstpipeline.h:
22389         * gst/gstutils.h:
22390         * gst/gstxml.h:
22391           added two new functions to the docs
22392                 documents all undocumented GstXXXFlags
22393                 completed some incomplete docs 
22394
22395 2005-09-27  Thomas Vander Stichele  <thomas at apestaart dot org>
22396
22397         * gst/gstbin.c: (gst_bin_dispose):
22398         * gst/gstelement.c: (gst_element_dispose):
22399           remove now useless and leaky resurrection code in dispose
22400         * gst/base/gstbasesrc.c: (gst_base_src_init):
22401         * gst/gstelementfactory.c: (gst_element_factory_create):
22402         * gst/gstobject.c: (gst_object_set_parent):
22403           add some debugging
22404
22405 2005-09-27  Wim Taymans  <wim@fluendo.com>
22406
22407         * docs/design/part-TODO.txt:
22408         Update TODO.
22409
22410         * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
22411         (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
22412         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
22413         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
22414         (gst_bin_change_state):
22415         * gst/gstelement.h:
22416         Remove element variable, we keep element info in the iterator now.
22417
22418 2005-09-27  Andy Wingo  <wingo@pobox.com>
22419
22420         * libs/gst/dataprotocol/dataprotocol.c: Fix error-checking return
22421         values.
22422
22423 2005-09-27  Wim Taymans  <wim@fluendo.com>
22424
22425         * check/gst/gstbin.c: (GST_START_TEST):
22426         Enable check that works now.
22427
22428         * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
22429         (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
22430         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
22431         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
22432         (gst_bin_change_state):
22433         * gst/gstbin.h:
22434         Redid the state change algorithm using a topological sort algo.
22435         Handles all cases correctly.
22436         Exposed iterator for state change order.
22437
22438         * gst/gstelement.h:
22439         Temp storage for state changes. Need to get rid of this soon.
22440
22441 2005-09-27  Wim Taymans  <wim@fluendo.com>
22442
22443         * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_do_push):
22444         * gst/gstutils.c: (intersect_caps_func), (gst_pad_proxy_getcaps),
22445         (link_fold_func), (gst_pad_proxy_setcaps):
22446         Leak fixes, the fold functions need to unref the passed object and
22447         _get_parent_*() returns ref to parent.
22448
22449 2005-09-27  Tim-Philipp Müller  <tim at centricular dot net>
22450
22451         * check/gst/gstbuffer.c: (test_make_writable):
22452           Plug leak in test case and fix 'make check-valgrind'
22453
22454 2005-09-27  Tim-Philipp Müller  <tim at centricular dot net>
22455
22456         * gst/gstbuffer.c: (gst_subbuffer_init):
22457           Set READONLY flag on subbuffers, so that gst_buffer_make_writable()
22458           works correctly in all circumstances (we could have just copied
22459           the parent buffer's readonly flag, but conceptually it seems
22460           cleaner to mark all subbuffers as read-only). (based on patch
22461           by Alessandro Decina, #314710).
22462         
22463         * check/gst/gstbuffer.c: (create_read_only_buffer),
22464         (test_make_writable), (test_subbuffer_make_writable),
22465         (gst_test_suite):
22466           Add some tests for gst_buffer_make_writable().
22467
22468 2005-09-27  Wim Taymans  <wim@fluendo.com>
22469
22470         * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_change_state):
22471         use gst_object_has_ancestor().
22472
22473         * gst/gstobject.c: (gst_object_has_ancestor):
22474         * gst/gstobject.h:
22475         gst_object_has_ancestor() copied from gstbin.c as it is a
22476         useful function.
22477
22478         * tests/instantiate/create.c: (create_all_elements):
22479         * tests/lat.c: (handoff_src), (handoff_sink):
22480         * tests/sched/runxml.c: (main):
22481         * tests/seeking/seeking1.c: (main):
22482         * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
22483         (main):
22484         Fix compilation of some tests.
22485
22486 2005-09-27  Tim-Philipp Müller  <tim at centricular dot net>
22487
22488         * gst/gsterror.h:
22489           Remove comment. GST_TYPE_G_ERROR is here to stay,
22490           G_TYPE_ERROR has been WONTFIX'ed by the GLib folks
22491           (#316961, #300610).
22492
22493 2005-09-26  Wim Taymans  <wim@fluendo.com>
22494
22495         * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
22496         Added check that shows error in state change order.
22497
22498 2005-09-26  Wim Taymans  <wim@fluendo.com>
22499
22500         * gst/gstbin.c: (gst_bin_change_state):
22501         Make state change function use 3 queues again, we were
22502         adding elements in the wrong order.
22503
22504         * gst/gstghostpad.c: (gst_ghost_pad_do_unlink):
22505         Some debug info,
22506
22507         * gst/gstpad.c: (gst_pad_dispose):
22508         Added some debug info first.
22509
22510 2005-09-26  Tim-Philipp Müller  <tim at centricular dot net>
22511
22512         * docs/design/draft-push-pull.txt:
22513         * docs/design/part-events.txt:
22514         * docs/design/part-overview.txt:
22515         * docs/design/part-scheduling.txt:
22516           Replace all _pull_region() with _pull_range()
22517           
22518 2005-09-26  Andy Wingo  <wingo@pobox.com>
22519
22520         * gst/gstvalue.c (_gst_value_initialize): Better fakeout.
22521
22522         * check/gst-libs/controller.c: Update for controller api change.
22523
22524         * configure.ac: 
22525         * tests/Makefile.am:
22526         * tests/memchunk: Remove memchunk benchmark stuff, this is taken
22527         over by GLib bug 118439.
22528         
22529         * gst/base/gstbasesink.c (gst_base_sink_wait): Factor out the wait
22530         routines to a function.
22531
22532         * docs/libs/gstreamer-libs-sections.txt: I am a good person today.
22533
22534         * libs/gst/controller/gsthelper.c:
22535         * libs/gst/controller/gstcontroller.h (gst_controller_sync_values)
22536         (gst_object_sync_values): Renamed from sink_values. Ugh.
22537
22538         * libs/gst/controller/gsthelper.c: Update for __gst_controller_key.
22539
22540         * libs/gst/controller/gstcontroller.c (__gst_controller_key):
22541         Renamed from controller_key, as it is exported.
22542
22543         * gst/gstvalue.c (_gst_value_initialize): Fake out the compiler.
22544
22545 2005-09-26  Thomas Vander Stichele  <thomas at apestaart dot org>
22546
22547         * gst/Makefile.am:
22548         * gst/gst.h:
22549         * gst/gstpad.h:
22550         * gst/gstpadtemplate.h:
22551         * gst/gstquery.c:
22552         * gst/gstquery.h:
22553         * gst/gstqueryutils.c:
22554         * gst/gstqueryutils.h:
22555           remove queryutils headers after moving the two used functions
22556           to gstquery.  also fixes build problem for gstsiddec
22557
22558 2005-09-26  Michael Smith <msmith@fluendo.com>
22559
22560         * tools/gst-launch.1.in:
22561         Correct documentation in manpage of debug syntax
22562
22563 2005-09-26  Wim Taymans  <wim@fluendo.com>
22564
22565         * gst/base/gstbasesrc.c: (gst_base_src_get_range),
22566         (gst_base_src_is_seekable), (gst_base_src_change_state):
22567         Some more debugging info.
22568
22569 2005-09-25  Stefan Kost  <ensonic@users.sf.net>
22570
22571         * docs/gst/gstreamer-sections.txt:
22572         * gst/base/gstbasetransform.h:
22573         * gst/gstindex.h:
22574           added more docs
22575
22576 2005-09-25  Stefan Kost  <ensonic@users.sf.net>
22577
22578         * docs/gst/.cvsignore:
22579         * docs/gst/tmpl/.cvsignore:
22580         * docs/gst/tmpl/gstpipeline.sgml:
22581         * docs/gst/tmpl/gstplugin.sgml:
22582         * gst/gstpipeline.c:
22583         * gst/gstplugin.c:
22584         * gst/gstplugin.h:
22585           inlined the last two docs files
22586           removed the tmpl directory from cvs (no more conflicts here!)
22587
22588 2005-09-25  Stefan Kost  <ensonic@users.sf.net>
22589
22590         * docs/gst/gstreamer-sections.txt:
22591         * docs/gst/tmpl/.cvsignore:
22592         * docs/gst/tmpl/gstpad.sgml:
22593         * docs/gst/tmpl/gstpadtemplate.sgml:
22594         * gst/Makefile.am:
22595         * gst/gstpad.c: (gst_pad_class_init), (gst_pad_dispose),
22596         (gst_pad_finalize), (gst_pad_set_pad_template):
22597         * gst/gstpad.h:
22598         * gst/gstpadtemplate.c: (gst_pad_template_get_type),
22599         (gst_pad_template_class_init), (gst_pad_template_init),
22600         (gst_pad_template_dispose), (name_is_valid),
22601         (gst_static_pad_template_get), (gst_pad_template_new),
22602         (gst_static_pad_template_get_caps), (gst_pad_template_get_caps),
22603         (gst_pad_template_pad_created):
22604         * gst/gstpadtemplate.h:
22605           inlined two more docs
22606           factored gstpadtemplate out of gstpad
22607
22608 2005-09-24  Tim-Philipp Müller  <tim at centricular dot net>
22609
22610         * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
22611         (test_children_state_change_order_semi_sink):
22612           Fix test case: we can't rely on a fixed state change order when
22613           going from READY => PAUSED because the sink might commit its 
22614           new state first when the first buffer created by the source 
22615           reaches the sink before the source has finished its change state.
22616           (Test case still fails at times, see #316856, comment 5 onwards)
22617
22618 2005-09-24  Wim Taymans  <wim@fluendo.com>
22619
22620         * docs/design/part-events.txt:
22621         * docs/design/part-gstbus.txt:
22622         * docs/design/part-gstpipeline.txt:
22623         * docs/design/part-messages.txt:
22624         * docs/design/part-overview.txt:
22625         * docs/design/part-segments.txt:
22626         * gst/gstbin.c:
22627         * gst/gstbuffer.c:
22628         * gst/gstclock.c:
22629         * gst/gstelement.c:
22630         * gst/gstevent.c:
22631         * gst/gstfilter.c:
22632         * gst/gstiterator.c:
22633         Various documentation updates.
22634
22635 2005-09-24  Thomas Vander Stichele  <thomas at apestaart dot org>
22636
22637         * gst/gstclock.h:
22638           Well, that's embarassing.  Luckily we weren't using
22639           GST_CLOCK_DIFF anywhere.
22640
22641 2005-09-23  Thomas Vander Stichele  <thomas at apestaart dot org>
22642
22643         * common/gtk-doc.mak:
22644           don't fail on building XML, FC4 slave shows a bunch of doc
22645           missing bits that I don't get
22646         * gst/gstpad.c:
22647         * gst/gstpipeline.c:
22648         * gst/gststructure.c:
22649           some doc updates
22650
22651 2005-09-23  Tim-Philipp Müller  <tim at centricular dot net>
22652
22653         * docs/design/part-gstbin.txt:
22654         * docs/design/part-gstbus.txt:
22655         * gst/gstbus.c:
22656           Add blurb about how the bus goes into flushing mode and
22657           drops all messages when its bin goes from READY into NULL 
22658           state.
22659
22660 2005-09-23  Thomas Vander Stichele  <thomas at apestaart dot org>
22661
22662         * docs/gst/gstreamer-sections.txt:
22663         * gst/gststructure.c: (gst_structure_get_clock_time):
22664         * gst/gststructure.h:
22665           add a method to get a GstClockTime out of a structure
22666
22667 2005-09-23  Tim-Philipp Müller  <tim at centricular dot net>
22668
22669         * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
22670         (test_children_state_change_order_semi_sink), (gst_bin_suite):
22671           Added test to check state change order in bins (can still be made
22672           to fail here under heavy disk load; bails out with 'Push on pad
22673           fakesink:sink0, but it was not activated in push mode').
22674
22675         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_change_state):
22676           Fix state change order when there is only a semi sink (#316856)
22677
22678         * gst/gstbus.c: (gst_bus_class_init):
22679           Use _class_peek_parent(), not _class_ref(); fix docs to say
22680           'default main context' instead of 'mainloop' where that is
22681           what's meant.
22682
22683         * gst/gstelement.c: (gst_element_commit_state),
22684         (gst_element_set_state):
22685           Fix typos in debug messages
22686
22687 2005-09-23  Thomas Vander Stichele  <thomas at apestaart dot org>
22688
22689         * docs/README:
22690         * gst/gstpad.c: (gst_pad_class_init), (gst_pad_chain):
22691         * gst/gstpluginfeature.c:
22692         * gst/gstutils.c:
22693           various doc updates
22694         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
22695           change an assert into an error until it gets fixed properly
22696
22697 2005-09-23  Stefan Kost  <ensonic@users.sf.net>
22698
22699         * docs/gst/gstreamer-sections.txt:
22700         * docs/gst/tmpl/.cvsignore:
22701         * docs/gst/tmpl/gstelement.sgml:
22702         * docs/gst/tmpl/gstinfo.sgml:
22703         * docs/gst/tmpl/gstobject.sgml:
22704         * gst/gstelement.c:
22705         * gst/gstelement.h:
22706         * gst/gstinfo.c:
22707         * gst/gstinfo.h:
22708         * gst/gstobject.c: (gst_object_class_init):
22709         * gst/gstobject.h:
22710           inlined 3 more biiiig doc files and added some missing docs on the fly
22711
22712 2005-09-23  Thomas Vander Stichele  <thomas at apestaart dot org>
22713
22714         * check/gst/.cvsignore:
22715         * check/gst/gstplugin.c: (GST_START_TEST), (gst_plugin_suite):
22716         * gst/gstregistryxml.c: (load_plugin),
22717         (gst_registry_xml_save_plugin):
22718           put back source in registry.  add checks for find_plugin.
22719         * testsuite/states/bin.c: (assert_state), (empty_bin),
22720         (test_adding_one_element), (main):
22721         * testsuite/states/locked.c: (main):
22722           some compile/run fixes
22723
22724 2005-09-22  Thomas Vander Stichele  <thomas at apestaart dot org>
22725
22726         * check/gst/gstvalue.c: (GST_START_TEST):
22727           fix leaks in the test itself
22728
22729 2005-09-22  Wim Taymans  <wim@fluendo.com>
22730
22731         * gst/base/gstbasesink.c: (gst_base_sink_class_init),
22732         (gst_base_sink_send_event), (gst_base_sink_peer_query),
22733         (gst_base_sink_query):
22734         Prepare for more accurate position reporting and query
22735         handling.
22736
22737         * gst/gstelement.c: (gst_element_send_event),
22738         (gst_element_set_state):
22739         Add some comment.
22740
22741 2005-09-22  Wim Taymans  <wim@fluendo.com>
22742
22743         * gst/gstquery.c: (gst_query_new_segment), (gst_query_set_segment),
22744         (gst_query_parse_segment):
22745         * gst/gstquery.h:
22746         More documentation.
22747         Add segment query for future use.
22748
22749 2005-09-22  Wim Taymans  <wim@fluendo.com>
22750
22751         * gst/gstbin.c: (gst_bin_add_func):
22752         Some more debug info.
22753
22754         * gst/gstelement.c: (gst_element_send_event):
22755         Simplify send_event
22756
22757         * gst/gstelement.h:
22758         Don't know how flags got broken.
22759
22760         * gst/gstquery.h:
22761         Added new query.
22762
22763 2005-09-22  Tim-Philipp Müller  <tim at centricular dot net>
22764
22765         * check/gst/gstvalue.c: (test_date), (gst_value_suite):
22766           Add simplistic test suite for GST_TYPE_DATE serialisation and
22767           deserialisation.
22768
22769 2005-09-22  Tim-Philipp Müller  <tim at centricular dot net>
22770
22771         * docs/gst/gstreamer-sections.txt:
22772         * gst/gststructure.c: (gst_structure_set_valist),
22773         (gst_structure_get_date):
22774         * gst/gststructure.h:
22775         * gst/gstvalue.c: (gst_value_set_date), (gst_value_get_date),
22776         (gst_date_copy), (gst_value_compare_date),
22777         (gst_value_serialize_date), (gst_value_deserialize_date),
22778         (gst_value_transform_date_string),
22779         (gst_value_transform_string_date), (_gst_value_initialize):
22780         * gst/gstvalue.h:
22781           Add GST_TYPE_DATE, a boxed type that wraps GDate, and the usual
22782           bunch of utility functions along with a hack that checks that
22783           developers don't accidentally use G_TYPE_DATE where GST_TYPE_DATE
22784           is required. Part of the grand scheme in #170777.
22785
22786 2005-09-22  Andy Wingo  <wingo@pobox.com>
22787
22788         * gst/gstconfig.h.in: Psych out gtk-doc.
22789
22790         * docs/gst/gstreamer-sections.txt: Add GST_HAVE_GLIB_2_8.
22791
22792         * check/Makefile.am (check_PROGRAMS): Add gstplugin to the tests.
22793
22794         * tools/gst-inspect.c (print_element_list): Plug some
22795         inconsequential leaks.
22796
22797         * gst/gstregistry.c (gst_registry_get_default): Doc.
22798
22799         * check/gst/gstplugin.c: 
22800         * gst/gsttypefindfactory.c (gst_type_find_factory_call_function):
22801         * gst/gstelementfactory.c (gst_element_factory_create): 
22802         * gst/gstindexfactory.c (gst_index_factory_create): Update for
22803         refcount changes.
22804
22805         * gst/gstpluginfeature.c (gst_plugin_feature_list_free): Doc.
22806         (gst_plugin_feature_load): Doc, don't eat refs.
22807
22808         * gst/gstplugin.c (gst_plugin_load): Doc, don't eat refs.
22809         (gst_plugin_list_free): Doc.
22810         (gst_plugin_load_file): Doc updates.
22811
22812         * gst/gstbuffer.c (gst_buffer_get_caps): Like all our _get
22813         accessors returning refcounted objects, return a ref.
22814
22815         * check/gst/gstbuffer.c (GST_START_TEST): Use refcount-idempotent
22816         accessor for caps. IDEMPOTENCE. Oh yes.
22817
22818 2005-09-21  Francis Labonte  <francis_labonte at hotmail dot com>
22819
22820         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
22821
22822         * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
22823         (_gst_debug_register_funcptr):
22824           Add mutex to serialise access to the hash table with
22825           the function pointer => function name string mapping;
22826           make that hash table static scope (#316809).
22827
22828         * gst/registries/.cvsignore:
22829           Remove left-over file.
22830
22831 2005-09-21  Tim-Philipp Müller  <tim at centricular dot net>
22832
22833         * docs/pwg/appendix-porting.xml:
22834           And something about newsegment events and caps-on-buffers to
22835           the porting guide (feel free to improve).
22836
22837 2005-09-21  Andy Wingo  <wingo@pobox.com>
22838
22839         * check/gst/gstutils.c (test_buffer_probe_n_times): Add tests for
22840         data and event probes on the same pad.
22841         (test_buffer_probe_once): Test that removing probes from within
22842         the probe functions works.
22843
22844 2005-09-21  Andy Wingo  <wingo@pobox.com>
22845
22846         * check/gst/gstutils.c: New file.
22847         (test_buffer_probe_n_times): A simple buffer probe test. More to
22848         come, foolios.
22849
22850         * gst/gstutils.c (gst_pad_add_buffer_probe): Connect to
22851         have-data::buffer, not have-data.
22852         (gst_pad_add_event_probe): Likewise for have-data::event.
22853         (gst_pad_add_data_probe): More docs. The part about 'resolving the
22854         peer' isn't quite right yet though.
22855         (gst_pad_remove_buffer_probe, gst_pad_remove_event_probe) 
22856         (gst_pad_remove_data_probe): Change to take the guint handler_id
22857         as their arg, not the function+data, which is more glib-like.
22858
22859         * gst/gstpad.c (gst_pad_emit_have_data_signal): Add a detail to
22860         the signal emission to indicate if the data is a buffer or an
22861         event.
22862         (gst_pad_get_type): Initialize buffer and event quarks.
22863         (gst_pad_class_init): have-data is now a detailed signal, yes it
22864         is.
22865
22866 2005-09-21  Tim-Philipp Müller  <tim at centricular dot net>
22867
22868         * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
22869         * gst/gstutils.c: (gst_util_set_value_from_string),
22870         (gst_util_set_object_arg):
22871           Don't put functional code in g_return_if_fail() or
22872           g_return_val_if_fail() statements, otherwise things will 
22873           break when G_DISABLE_CHECKS is defined during compilation.
22874
22875 2005-09-21  Stefan Kost  <ensonic@users.sf.net>
22876
22877         * docs/gst/tmpl/.cvsignore:
22878         * docs/gst/tmpl/gstvalue.sgml:
22879         * gst/gstvalue.c:
22880         * gst/gstvalue.h:
22881           inlied another one and added  some obvious docs
22882
22883 2005-09-21  Wim Taymans  <wim@fluendo.com>
22884
22885         * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init),
22886         (gst_fdsrc_init), (gst_fdsrc_start), (gst_fdsrc_stop),
22887         (gst_fdsrc_unlock), (gst_fdsrc_set_property),
22888         (gst_fdsrc_get_property), (gst_fdsrc_create):
22889         * gst/elements/gstfdsrc.h:
22890         Properly implement fdsrc. Removed signal and timeout,
22891         better implemented somewhere else.
22892
22893 2005-09-21  Stefan Kost  <ensonic@users.sf.net>
22894
22895         * docs/gst/tmpl/.cvsignore:
22896         * docs/gst/tmpl/gstimplementsinterface.sgml:
22897         * gst/gstinterface.c:
22898           inlined more docs
22899
22900 2005-09-21  Stefan Kost  <ensonic@users.sf.net>
22901
22902         * docs/gst/gstreamer-sections.txt:
22903         * docs/gst/tmpl/.cvsignore:
22904         * docs/gst/tmpl/gstenumtypes.sgml:
22905           remove obsolete doc file
22906
22907 2005-09-21  David Schleef  <ds@schleef.org>
22908
22909         * gst/gstelementfactory.c: (gst_element_factory_make): Drink a
22910         little beer, fix a little leak.
22911
22912 2005-09-21  Stefan Kost  <ensonic@users.sf.net>
22913
22914         * docs/gst/gstreamer-docs.sgml:
22915         * docs/gst/gstreamer-sections.txt:
22916         * docs/gst/tmpl/.cvsignore:
22917         * gst/Makefile.am:
22918         * gst/gst.h:
22919         * gst/gstbin.c:
22920         * gst/gstelement.h:
22921         * gst/gstindex.c: (gst_index_class_init):
22922         * gst/gstindex.h:
22923         * gst/gstindexfactory.c: (gst_index_factory_get_type),
22924         (gst_index_factory_class_init), (gst_index_factory_init),
22925         (gst_index_factory_finalize), (gst_index_factory_new),
22926         (gst_index_factory_destroy), (gst_index_factory_find),
22927         (gst_index_factory_create), (gst_index_factory_make):
22928         * gst/gstindexfactory.h:
22929         * gst/gstpluginfeature.c:
22930         * gst/gstpluginfeature.h:
22931         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
22932           more docs inlined, splitted gstindex.{c,h}
22933
22934 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
22935
22936         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
22937           fix a leak
22938
22939 2005-09-20  Tim-Philipp Müller  <tim at centricular dot net>
22940
22941         * gst/elements/gstfilesink.c: (gst_file_sink_init):
22942           Set sync to FALSE by default.
22943
22944 2005-09-20  Wim Taymans  <wim@fluendo.com>
22945
22946         * gst/base/gstbasesink.c: (gst_base_sink_class_init),
22947         (gst_base_sink_init):
22948         Make sync property settable from subclass.
22949
22950         * gst/elements/gstfakesink.c: (gst_fake_sink_init),
22951         (gst_fake_sink_change_state):
22952         Set sync to FALSE by default.
22953
22954 2005-09-20  Wim Taymans  <wim@fluendo.com>
22955
22956         * gst/gstbus.c: (poll_func), (poll_timeout), (gst_bus_poll):
22957         * tools/gst-launch.c: (main):
22958         The timeout handler should have lower priority than the source
22959         so we don't timeout before popping a message with 0 timeout.
22960         Dump error messages after failed state change.
22961
22962 2005-09-20  Tim-Philipp Müller  <tim at centricular dot net>
22963
22964         * tools/gst-inspect.c: (print_element_properties_info):
22965           Fix two typos.
22966
22967 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
22968
22969         * check/gst/gstevent.c:
22970         * gst/elements/gstfakesink.c:
22971         * gst/elements/gstfakesink.h:
22972           remove the sync property from fakesink.
22973           has the side effect of setting sync TRUE
22974           for fakesink, which is a change.  Anyone who knows how
22975           to fix this nicely in a GObject-y way, feel free.
22976
22977 2005-09-20  Stefan Kost  <ensonic@users.sf.net>
22978
22979         * docs/gst/gstreamer-docs.sgml:
22980           remove probe refsection
22981
22982 2005-09-20  Stefan Kost  <ensonic@users.sf.net>
22983
22984         * check/Makefile.am:
22985           disable valgrinding the controller test again
22986         * docs/gst/gstreamer-sections.txt:
22987           update for api-changes
22988
22989 2005-09-20  Wim Taymans  <wim@fluendo.com>
22990
22991         * gst/base/gstbasesink.c: (gst_base_sink_class_init),
22992         (gst_base_sink_set_property), (gst_base_sink_get_property),
22993         (gst_base_sink_do_sync):
22994         * gst/base/gstbasesink.h:
22995         Added sync property to basesink to disable clock sync.
22996
22997 2005-09-20  Andy Wingo  <wingo@pobox.com>
22998
22999         * gst/gstelementfactory.c (gst_element_factory_create): Avoid
23000         eating the caller's refcount.
23001
23002         * gst/gstobject.h (GST_OBJECT_REFCOUNT) 
23003         (GST_OBJECT_REFCOUNT_VALUE): Conditionally fondle the right
23004         refcount.
23005
23006         * gst/gstconfig.h.in (GST_HAVE_GLIB_2_8):
23007         * configure.ac (GST_HAVE_GLIB_2_8_DEFINE): Make the availability
23008         of GLib 2.8 public, so we can know which refcount to check in
23009         tests.
23010
23011         * gst/gstobject.c: Use the GST_HAVE_GLIB_2_8 define.
23012         (gst_object_init): Only set the gst refcount if we're going ahead
23013         with the refcount hack.
23014
23015 2005-09-20  Stefan Kost  <ensonic@users.sf.net>
23016
23017         * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
23018         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
23019           more leaks plumbed, added more debug-logging
23020         * gst/gstmacros.h:
23021           whitespace fix
23022
23023 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
23024
23025         * gst/gstmessage.c:
23026           remove include of gstmemchunk.h
23027
23028 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
23029
23030         * gst/gstclock.c: (_gst_clock_id_free):
23031           Commit from the Political Party For More Atomic CVS Commits,
23032           so that people don't waste too much of their day fishing
23033           out obvious leaks out of massive commits.
23034           Oh, and fix a pretty damn obvious leak in the memchunk
23035           removal code.
23036
23037 2005-09-20  Stefan Kost  <ensonic@users.sf.net>
23038
23039         * check/Makefile.am:
23040         * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
23041           plug mem-leak, re-add to valgrindable tests
23042
23043 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
23044
23045         * gst/gstplugin.h:
23046           unbreak the build for those who have chronic arthritis
23047           and typing "make check" is just too taxing on the hands
23048
23049 2005-09-20  Andy Wingo  <wingo@pobox.com>
23050
23051         * gst/gst.h: Re-add marshal to gst.h's include list -- if we
23052         really want it out, you should fix plugins at the same time.
23053
23054 2005-09-19  Stefan Kost  <ensonic@users.sf.net>
23055
23056         * configure.ac:
23057         * docs/gst/gstreamer-sections.txt:
23058         * gst/gstobject.c:
23059           added missing symbols to api docs
23060           disable ref-count hack if we have glib >= 2.8
23061
23062 2005-09-19  David Schleef  <ds@schleef.org>
23063
23064         * docs/gst/Makefile.am: Ignore a few more internal headers
23065         * docs/gst/gstreamer-docs.sgml: Remove old sections
23066         * docs/gst/gstreamer-sections.txt: Remove old sections
23067         * docs/gst/tmpl/gstobject.sgml: update
23068         * docs/gst/tmpl/gstplugin.sgml: update
23069         * docs/gst/tmpl/gstpluginfeature.sgml: update
23070         * docs/random/ds/0.9-suggested-changes: update.
23071         * gst/Makefile.am: remove memchunk and trashstack, since they're
23072           not used.
23073         * gst/gst.c: (gst_deinit): rename gst_registry_deinit to _cleanup
23074         * gst/gst.h: don't include some headers
23075         * gst/gstchildproxy.c: add gstmarshal.h
23076         * gst/gstclock.c: Don't use memchunks
23077         * gst/gstminiobject.c: Add some docs
23078         * gst/gstobject.c: remove DESTROYED flag, since it's redundant
23079         * gst/gstobject.h: same
23080         * gst/gstplugin.c: include gstmacros.h
23081         * gst/gstplugin.h: don't include gstmacros.h, since it's private
23082         * gst/gstquery.c: don't use memchunks
23083         * gst/gstregistry.c: rename gst_registry_deinit()
23084         * gst/gstregistry.h: same
23085
23086 2005-09-19  David Schleef  <ds@schleef.org>
23087
23088         * docs/libs/gstreamer-libs-docs.sgml: Remove docs for getbits
23089         * docs/libs/gstreamer-libs-sections.txt:
23090         * docs/libs/tmpl/gstgetbits.sgml:
23091         * docs/libs/tmpl/gstputbits.sgml:
23092
23093 2005-09-19  Tim-Philipp Müller  <tim at centricular dot net>
23094
23095         * win32/gstenumtypes.c:
23096         * win32/gstenumtypes.h:
23097           Update.
23098
23099 2005-09-19  Wim Taymans  <wim@fluendo.com>
23100
23101         * gst/gstpipeline.c: (do_pipeline_seek), (gst_pipeline_send_event):
23102         Automatically PAUSE and RESUME a pipeline when a flushing seek
23103         is performed.
23104
23105 2005-09-19  Andy Wingo  <wingo@pobox.com>
23106
23107         * gst/gstregistry.h: Spacing fixen.
23108
23109 2005-09-19  Wim Taymans  <wim@fluendo.com>
23110
23111         * gst/base/gstbasesrc.c: (gst_base_src_change_state):
23112         Handle state change failure more correctly.
23113
23114 2005-09-19  Thomas Vander Stichele  <thomas at apestaart dot org>
23115
23116         * check/Makefile.am:
23117         * check/pipelines/cleanup.c: (run_pipeline):
23118         * check/pipelines/simple_launch_lines.c: (run_pipeline),
23119         (GST_START_TEST):
23120           enable cleanup again after fixing the leak
23121         * docs/README:
23122           some more info on docs
23123
23124 2005-09-19  Thomas Vander Stichele  <thomas at apestaart dot org>
23125
23126         * check/Makefile.am:
23127           re-enable tests now that leaks are plugged
23128         * check/gst/gst.c:
23129         * check/gst/gstbin.c:
23130         * check/gst/gstpipeline.c:
23131           add some more tests while fixing leaks
23132         * common/check.mak:
23133           make sure binaries are uptodate when valgrinding/gdbing
23134         * gst/gst.c:
23135         * gst/gstelementfactory.c:
23136           remove a ref too many, and add a FIXME for when we get
23137           round to disposing of classes
23138         * gst/gstplugin.c:
23139           fix the refcounting when loading a plugin from a file and
23140           the code pretends that the pointer is the same even though
23141           of course it can change
23142         * gst/gstpluginfeature.c:
23143           unref plugins marked cached (a bit confusing as a name)
23144           as the docs state should be done
23145           various doc additions to explain refcounting
23146         * gst/gstregistry.c:
23147         * gst/gstregistryxml.c:
23148           debugging
23149
23150 2005-09-19  Wim Taymans  <wim@fluendo.com>
23151
23152         * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
23153         * check/gst/gstbus.c: (message_func_eos), (message_func_app),
23154         (send_messages), (GST_START_TEST), (gstbus_suite):
23155         * check/gst/gstpipeline.c: (GST_START_TEST):
23156         * check/pipelines/cleanup.c: (run_pipeline):
23157         * check/pipelines/simple_launch_lines.c: (run_pipeline),
23158         (GST_START_TEST):
23159         * gst/gstbus.c: (gst_bus_have_pending), (gst_bus_source_prepare),
23160         (gst_bus_source_check), (gst_bus_source_dispatch),
23161         (gst_bus_create_watch), (gst_bus_add_watch_full),
23162         (gst_bus_add_watch), (poll_func), (poll_timeout), (gst_bus_poll):
23163         * gst/gstbus.h:
23164         * tools/gst-launch.c: (event_loop):
23165         * tools/gst-md5sum.c: (event_loop):
23166         GstBusHandler -> GstBusFunc, return value has the same meaning as
23167         any other GSource (FALSE == remove source).
23168         _add_watch() and _add_watch_full() now take a MessageType mask to
23169         only handle specific types of messages.
23170         _poll() returns the GstMessage instead of the message type to avoid
23171         race conditions.
23172         _have_pending() takes a MessageType mask now too.
23173         Added testsuite for multiple bus watches.
23174         Fix testsuites and applications for new bus API.
23175
23176 2005-09-19  Thomas Vander Stichele  <thomas at apestaart dot org>
23177
23178         * check/Makefile.am:
23179           mark a bunch of the tests as to fix until we fix them
23180
23181 2005-09-18  Thomas Vander Stichele  <thomas at apestaart dot org>
23182
23183         * common/check.mak:
23184           use GST_PLUGIN settings for valgrind tests as well, so we're
23185           valgrinding the correct thing
23186         * gst/gst.c: (init_post):
23187           plug another leak
23188
23189 2005-09-18  Thomas Vander Stichele  <thomas at apestaart dot org>
23190
23191         * gst/gst.c: (init_post), (gst_deinit):
23192         * gst/gstelementfactory.c: (gst_element_factory_class_init),
23193         (gst_element_factory_finalize), (gst_element_factory_cleanup):
23194         * gst/gstindex.c: (gst_index_factory_class_init),
23195         (gst_index_factory_finalize):
23196         * gst/gstobject.c: (gst_object_dispose):
23197         * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_class_init),
23198         (gst_plugin_load_file), (gst_plugin_desc_free):
23199         * gst/gstpluginfeature.c: (gst_plugin_feature_class_init),
23200         (gst_plugin_feature_finalize):
23201         * gst/gstregistry.c: (gst_registry_class_init),
23202         (gst_registry_init), (gst_registry_finalize),
23203         (gst_registry_get_default), (gst_registry_deinit):
23204         * gst/gstregistry.h:
23205         * gst/gstregistryxml.c: (load_feature), (load_plugin):
23206           various cleanups and memleak plugging.  make valgrind is happy now.
23207
23208 2005-09-18  Thomas Vander Stichele  <thomas at apestaart dot org>
23209
23210         * common/check.mak:
23211           add a check-valgrind target
23212
23213 2005-09-18  David Schleef  <ds@schleef.org>
23214
23215         * tools/gst-inspect.c: Revert the GOption code.
23216
23217 2005-09-17  David Schleef  <ds@schleef.org>
23218
23219         * check/Makefile.am: Fix environment variables.
23220         * check/gst/gstplugin.c: Fix for API changes.
23221         * tools/gst-inspect.c: Fix for API changes.
23222         * tools/gst-xmlinspect.c: Fix for API changes.
23223         * gst/gstelementfactory.c:
23224         * gst/gstplugin.c:
23225         * gst/gstplugin.h:
23226         * gst/gstpluginfeature.c:
23227         * gst/gstpluginfeature.h:
23228         * gst/gstregistry.c:
23229         * gst/gstregistry.h:
23230         * gst/gstregistryxml.c:
23231         * gst/gsttypefind.c:
23232         * gst/gsttypefindfactory.c:
23233         * gst/indexers/gstfileindex.c:
23234         * gst/indexers/gstmemindex.c:
23235         * gst/schedulers/Makefile.am:
23236           Change registry to keep track of both plugins and features,
23237           removing the feature tracking from plugins themselves.
23238
23239 2005-09-16  Thomas Vander Stichele  <thomas at apestaart dot org>
23240
23241         * check/Makefile.am:
23242         * tools/gst-register.1.in:
23243           remove gst-register
23244
23245 2005-09-15  David Schleef  <ds@schleef.org>
23246
23247         * check/gst/gstplugin.c:
23248         * gst/gstelementfactory.c:
23249         * gst/gstplugin.c:
23250         * gst/gstpluginfeature.c:
23251         * gst/gstregistry.c:
23252           Getting tired of debugging.  Disabled all the unreffing of
23253           plugins and features, which fixes the segfaults, but of
23254           course leaks like crazy.  At least playbin works.
23255
23256 2005-09-15  David Schleef  <ds@schleef.org>
23257
23258         * check/gst/gstplugin.c: (register_check_elements),
23259         (GST_START_TEST), (peek), (suggest), (gst_plugin_suite):
23260         More testing
23261         * gst/elements/gsttypefindelement.c: Fix refcounting.
23262         * gst/gsttypefind.c:
23263         * gst/gsttypefindfactory.c:
23264         * gst/gsttypefindfactory.h:
23265
23266 2005-09-15  David Schleef  <ds@schleef.org>
23267
23268         * gst/gstindex.c: get refcounting correct.
23269         * gst/gstregistry.c: Handle the case where a feature/plugin is
23270           not found.
23271
23272 2005-09-15  David Schleef  <ds@schleef.org>
23273
23274         * check/Makefile.am:
23275         * check/gst/gstplugin.c: Add test
23276         * gst/gstplugin.c: Fix problems noticed by testsuite
23277         * gst/gstplugin.h:
23278         * gst/gstregistry.c: 
23279         * gst/gstregistry.h:
23280
23281 2005-09-15  David Schleef  <ds@schleef.org>
23282
23283         * gst/gstplugin.c: Implement semi-decent recounting and locking
23284           in plugins and plugin features.
23285         * gst/gstplugin.h:
23286         * gst/gstpluginfeature.c:
23287         * gst/gstpluginfeature.h:
23288         * gst/gstregistry.c:
23289
23290 2005-09-15  Michael Smith <msmith@fluendo.com>
23291
23292         * gst/gstregistry.c: (gst_registry_get_feature_list):
23293           Implement this. Makes oggdemux work; decodebin still broken.
23294
23295 2005-09-14  David Schleef  <ds@schleef.org>
23296
23297         * configure.ac: Add -no-undefined to GST_PLUGIN_LDFLAGS (bug
23298           #316076)
23299         * gst/base/Makefile.am: Add -no-undefined to LDFLAGS for libs
23300         * gst/check/Makefile.am:
23301         * libs/gst/controller/Makefile.am:
23302         * libs/gst/dataprotocol/Makefile.am:
23303
23304 2005-09-14  David Schleef  <ds@schleef.org>
23305
23306         * configure.ac: Remove getbits library.  Nothing uses it, and
23307           it should be in something like liboil if someone did want
23308           to use it.
23309         * libs/gst/Makefile.am:
23310         * libs/gst/getbits/Makefile.am:
23311         * libs/gst/getbits/gbtest.c:
23312         * libs/gst/getbits/getbits.c:
23313         * libs/gst/getbits/getbits.h:
23314         * libs/gst/getbits/gstgetbits_generic.c:
23315         * libs/gst/getbits/gstgetbits_i386.s:
23316         * libs/gst/getbits/gstgetbits_inl.h:
23317
23318 2005-09-14  David Schleef  <ds@schleef.org>
23319
23320         * gst/Makefile.am: Dist glib-compat.h
23321
23322 2005-09-14  David Schleef  <ds@schleef.org>
23323
23324         * configure.ac: Remove gst/registries, since it's no longer used.
23325         * gst/registries/Makefile.am:
23326         * gst/registries/gstlibxmlregistry.c:
23327         * gst/registries/gstlibxmlregistry.h:
23328         * gst/registries/gstxmlregistry.c:
23329         * gst/registries/gstxmlregistry.h:
23330         * gst/registries/registrytest.c:
23331
23332 2005-09-14  David Schleef  <ds@schleef.org>
23333
23334         * gst/glib-compat.h:
23335         * gst/gstregistryxml.c:
23336           Convergence is near.  Seriously.
23337
23338 2005-09-14  David Schleef  <ds@schleef.org>
23339
23340         * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
23341         * gst/glib-compat.h:
23342           Attempt #4 to appease the buildbots.
23343
23344 2005-09-14  David Schleef  <ds@schleef.org>
23345
23346         * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
23347           Attempt #3.
23348
23349 2005-09-14  David Schleef  <ds@schleef.org>
23350
23351         * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
23352         Attempt #2.
23353
23354 2005-09-14  David Schleef  <ds@schleef.org>
23355
23356         * gst/Makefile.am: Oh yeah, libgstreamer.so needs to contain
23357           the new functions.
23358
23359 2005-09-14  David Schleef  <ds@schleef.org>
23360
23361         * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
23362         * gst/glib-compat.h: Add some functions that are in newer versions
23363           of glib than we care to require.
23364         * gst/gstregistryxml.c: Use them.
23365
23366 2005-09-14  David Schleef  <ds@schleef.org>
23367
23368         * po/POTFILES.in: remove gst-register.c
23369
23370 2005-09-14  David Schleef  <ds@schleef.org>
23371
23372         * docs/gst/gstreamer-docs.sgml:
23373         * docs/gst/gstreamer-sections.txt:
23374         * docs/gst/gstreamer.types:
23375         * docs/gst/tmpl/gstelement.sgml:
23376         * docs/gst/tmpl/gstplugin.sgml:
23377         * docs/gst/tmpl/gstpluginfeature.sgml:
23378           Documentation updates for registry changes.
23379
23380 2005-09-14  David Schleef  <ds@schleef.org>
23381
23382         * gst/gstregistryxml.c: Copy g_mkdir_with_parent() from glib,
23383           because we don't require glib-2.8.
23384
23385 2005-09-14  David Schleef  <ds@schleef.org>
23386
23387         * gst/gstregistryxml.c: Added.  Essentially moved out of the
23388           registries directory.
23389
23390 2005-09-14  David Schleef  <ds@schleef.org>
23391
23392         * check/Makefile.am:
23393         * check/generic/states.c:
23394         * gst/Makefile.am:
23395         * gst/gst.c:
23396         * gst/gst.h:
23397         * gst/gst_private.h:
23398         * gst/gstelementfactory.c:
23399         * gst/gstindex.c:
23400         * gst/gstinfo.c:
23401         * gst/gstplugin.c:
23402         * gst/gstplugin.h:
23403         * gst/gstpluginfeature.c:
23404         * gst/gstpluginfeature.h:
23405         * gst/gstregistry.c:
23406         * gst/gstregistry.h:
23407         * gst/gstregistrypool.c: remove
23408         * gst/gstregistrypool.h: remove
23409         * gst/gsttypefind.c:
23410         * gst/gsttypefindfactory.c:
23411         * gst/gsturi.c:
23412         * tools/Makefile.am:
23413         * tools/gst-compprep.c:
23414         * tools/gst-inspect.c:
23415         * tools/gst-register.c: remove
23416         * tools/gst-xmlinspect.c:
23417           Registry rewrite.  Changes registry from being a file created
23418           by a tool into a simple cache file created automatically by 
23419           libgstreamer.  Removed gst-register (because it's no longer
23420           needed).  Remove registry pools, because we only have one
23421           registry implementation (XML).  Fix up other subsystems as
23422           necessary.
23423
23424 2005-09-13  Michael Smith <msmith@fluendo.com>
23425
23426         * gst/gstconfig.h.in:
23427           Don't Use windows linking attributes for MinGW. Fixes #316157
23428
23429 2005-09-13  Thomas Vander Stichele  <thomas at apestaart dot org>
23430
23431         * gst/gstutils.c: (set_state_async_thread_func),
23432         (gst_element_set_state_async):
23433           Apparently people think it's better if this function doesn't
23434           try to set the state to whatever state was asked for on the first
23435           call to this function for any object.  Seriously.
23436
23437 2005-09-12  Thomas Vander Stichele  <thomas at apestaart dot org>
23438
23439         * check/gst/gstpipeline.c: (GST_START_TEST):
23440         * docs/gst/gstreamer-sections.txt:
23441         * gst/gstutils.c: (set_state_async_thread_func),
23442         (gst_element_set_state_async):
23443         * gst/gstutils.h:
23444           add a "gst_element_set_state_async" method that
23445           sets the state and starts a thread to make sure the state
23446           change completes as best as it can
23447
23448 2005-09-12  Thomas Vander Stichele  <thomas at apestaart dot org>
23449
23450         * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
23451           codify design+behaviour in testsuite after discussion
23452
23453 2005-09-12  Thomas Vander Stichele  <thomas at apestaart dot org>
23454
23455         * docs/gst/tmpl/gstelement.sgml:
23456         * docs/manual/appendix-quotes.xml:
23457           add a quote
23458         * gst/gstelement.c: (gst_element_set_state):
23459           add some debug
23460
23461 2005-09-12  Jan Schmidt  <thaytan@mad.scientist.com>
23462
23463         * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
23464         (gst_base_transform_prepare_output_buf),
23465         (gst_base_transform_handle_buffer):
23466         * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip),
23467         (gst_capsfilter_prepare_buf):
23468           Remove the requirement for sub-classes to call the parent
23469           implementation of prepare_output_buffer with a wrapper function.
23470           
23471         * gst/gsttaglist.h:
23472         * gst/gsttagsetter.h:
23473           Fix #define wrapper
23474
23475 2005-09-11  Stefan Kost  <ensonic@users.sf.net>
23476
23477         * docs/gst/gstreamer-sections.txt:
23478           more doc cleanups
23479
23480 2005-09-11  Thomas Vander Stichele  <thomas at apestaart dot org>
23481
23482         * docs/gst/gstreamer-sections.txt:
23483         * docs/gst/tmpl/gstelement.sgml:
23484         * docs/gst/tmpl/gstplugin.sgml:
23485         * gst/gstminiobject.c:
23486         * gst/gstvalue.h:
23487           docs now stop throwing warnings
23488
23489 2005-09-11  Thomas Vander Stichele  <thomas at apestaart dot org>
23490
23491         * docs/gst/gstreamer-sections.txt:
23492         * docs/gst/gstreamer.types:
23493         * docs/gst/tmpl/gstpad.sgml:
23494         * docs/gst/tmpl/gsttypes.sgml:
23495         * gst/base/gstadapter.h:
23496         * gst/base/gstbasesink.h:
23497         * gst/base/gstbasesrc.h:
23498         * gst/gstbin.h:
23499         * gst/gstbuffer.h:
23500         * gst/gstbus.h:
23501         * gst/gstcaps.h:
23502         * gst/gstclock.h:
23503         * gst/gstelement.h:
23504         * gst/gstevent.h:
23505         * gst/gstmessage.h:
23506         * gst/gstpad.h:
23507         * gst/gststructure.c:
23508         * gst/registries/gstlibxmlregistry.h:
23509           various documentation fixes
23510
23511 2005-09-11  Thomas Vander Stichele  <thomas at apestaart dot org>
23512
23513         * docs/gst/gstreamer-sections.txt:
23514         * docs/gst/tmpl/gstvalue.sgml:
23515           rearrange gstvalue section
23516         * gst/gstutils.c: (gst_element_state_get_name):
23517           NONE -> VOID
23518         * gst/gstvalue.c: (_gst_value_initialize):
23519         * gst/gstvalue.h:
23520           doc updates
23521
23522 2005-09-10  Jan Schmidt  <thaytan@mad.scientist.com>
23523
23524         * check/gst-libs/controller.c:
23525           Header include fix.
23526         * gst/base/gstbasetransform.c:
23527         (gst_base_transform_default_prepare_buf),
23528         (gst_base_transform_handle_buffer):
23529         * gst/base/gstbasetransform.h:
23530           Some more basetransform changes and fixes to enable sub-classes
23531           that modify buffer metadata only.
23532         * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
23533         (gst_capsfilter_init), (gst_capsfilter_transform_ip),
23534         (gst_capsfilter_prepare_buf):
23535           If the output pad has fixed allowed caps and input buffers 
23536           don't have any, set the fixed caps on outgoing buffers.
23537
23538 2005-09-09  Jan Schmidt  <thaytan@mad.scientist.com>
23539         * check/elements/identity.c: (GST_START_TEST):
23540           Make the error a little clearer when the test fails because
23541           identity made a copy of the buffer.
23542         * docs/gst/gstreamer-sections.txt:
23543           New symbols in gstbasetransform.h
23544         * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
23545         (gst_base_transform_init), (gst_base_transform_transform_size),
23546         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
23547         (gst_base_transform_default_prepare_buf),
23548         (gst_base_transform_get_unit_size),
23549         (gst_base_transform_buffer_alloc),
23550         (gst_base_transform_handle_buffer), (gst_base_transform_chain),
23551         (gst_base_transform_change_state),
23552         (gst_base_transform_set_passthrough),
23553         (gst_base_transform_set_in_place),
23554         (gst_base_transform_is_in_place):
23555         * gst/base/gstbasetransform.h:
23556           Change BaseTransform to separate in_place operate from same_caps
23557           output. in_place implies that the element can perform the transform
23558           on incoming buffers in-place, even if the caps on the output are
23559           different.
23560           Sub-class elements can now implement special buffer allocation
23561           methods for outgoing buffers if they wish to.
23562           Big documentation addition.
23563         * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip):
23564         * gst/elements/gstelements.c:
23565           Changes for basetransform modifications.
23566         * gst/elements/Makefile.am:
23567         * gst/elements/gstfdsrc.c: (gst_fdsrc_init), (gst_fdsrc_create):
23568           Compile fix. Extra debug output.
23569
23570 2005-09-09  Thomas Vander Stichele  <thomas at apestaart dot org>
23571
23572         * check/gst/gstpad.c: (GST_START_TEST), (name_is_valid),
23573         (gst_pad_suite):
23574           add tests for valid pad naming
23575         * gst/check/gstcheck.c: (gst_check_log_message_func),
23576         (gst_check_log_critical_func):
23577           add ASSERT_WARNING
23578           remove printing of code, it is fragile when the code contains
23579           % and the line number is enough info
23580         * gst/check/gstcheck.h:
23581         * gst/gstpad.c: (gst_pad_template_new):
23582           fix memleaks
23583
23584 2005-09-09  Thomas Vander Stichele  <thomas at apestaart dot org>
23585
23586         * configure.ac:
23587           say what CHECK flags we use
23588         * docs/libs/gstreamer-libs.types:
23589         * libs/gst/controller/Makefile.am:
23590         * libs/gst/controller/gst-controller.c:
23591         * libs/gst/controller/gst-controller.h:
23592         * libs/gst/controller/gst-helper.c:
23593         * libs/gst/controller/gst-interpolation.c:
23594         * libs/gst/controller/gstcontroller.c:
23595         * libs/gst/controller/gsthelper.c:
23596         * libs/gst/controller/gstinterpolation.c:
23597         * tools/gst-inspect.c: (print_plugin_info):
23598           we don't use dashes in header names
23599
23600 2005-09-09  Thomas Vander Stichele  <thomas at apestaart dot org>
23601
23602         * check/Makefile.am:
23603         * check/gst/.cvsignore:
23604         * check/gst/gstpipeline.c: (pop_messages), (GST_START_TEST),
23605         (gst_pipeline_suite), (main):
23606           adding a test for pipelines and state changes
23607         * gst/gstutils.c: (get_state_func):
23608           add some debugging
23609         * gstreamer.spec.in:
23610           fix up spec file
23611
23612 2005-09-08  Michael Smith <msmith@fluendo.com>
23613
23614         * gst/elements/gstfilesrc.c: (gst_file_src_map_region),
23615         (gst_file_src_map_small_region), (gst_file_src_create_mmap),
23616         (gst_file_src_is_seekable), (gst_file_src_get_size),
23617         (gst_file_src_start):
23618         * gst/elements/gstfilesrc.h:
23619           Various fixes for unseekable, unmmapable, and non-normal files, so
23620           that fallback to read() rather than mmap() works.
23621         * gst/gstevent.c: (gst_event_new_newsegment):
23622           Allow newsegment events with segment_start == segment_end, as will
23623           correctly happen if you use filesrc on a zero-size file, for
23624           example.
23625
23626 2005-09-07  Jan Schmidt  <thaytan@mad.scientist.com>
23627
23628         * gst/gstplugin.c: (gst_plugin_load_file):
23629           Call g_module_close when we don't load the module
23630
23631         * gst/registries/gstlibxmlregistry.c:
23632         (gst_xml_registry_get_property):
23633           Port leak fix from 0.8
23634
23635 2005-09-07  Stefan Kost  <ensonic@users.sf.net>
23636
23637         * docs/gst/gstreamer-docs.sgml:
23638         * docs/gst/tmpl/.cvsignore:
23639         * docs/gst/tmpl/gsttrace.sgml:
23640         * docs/gst/tmpl/gsttrashstack.sgml:
23641         * gst/Makefile.am:
23642         * gst/gst.h:
23643         * gst/gstelement.h:
23644         * gst/gstevent.h:
23645         * gst/gstmessage.c:
23646         * gst/gstmessage.h:
23647         * gst/gsttag.c:
23648         * gst/gsttag.h:
23649         * gst/gsttaginterface.c:
23650         * gst/gsttaginterface.h:
23651         * gst/gsttaglist.c:
23652         * gst/gsttaglist.h:
23653         * gst/gsttagsetter.c:
23654         * gst/gsttagsetter.h:
23655         * gst/gsttrace.c:
23656         * gst/gsttrace.h:
23657         * gst/gsttrashstack.c:
23658           renamed gsttag -> gsttaglist, gsttaginterface -> gsttagsetter
23659           inlined docs for gsttrace, gsttrashstack
23660
23661 2005-09-07  Stefan Kost  <ensonic@users.sf.net>
23662
23663         * gst/Makefile.am:
23664         * gst/elements/gstbufferstore.h:
23665         * gst/elements/gsttypefindelement.c:
23666         * gst/elements/gsttypefindelement.h:
23667         * gst/gst.h:
23668         * gst/gsttypefind.c:
23669         * gst/gsttypefind.h:
23670         * gst/gsttypefindfactory.c: (gst_type_find_factory_get_type),
23671         (gst_type_find_factory_class_init), (gst_type_find_factory_init),
23672         (gst_type_find_factory_dispose),
23673         (gst_type_find_factory_unload_thyself),
23674         (gst_type_find_load_plugin), (gst_type_find_factory_get_list),
23675         (gst_type_find_factory_get_caps),
23676         (gst_type_find_factory_get_extensions),
23677         (gst_type_find_factory_call_function):
23678         * gst/gsttypefindfactory.h:
23679         * gst/registries/gstlibxmlregistry.c:
23680         * gst/registries/gstxmlregistry.c:
23681           splitted gsttypefind into gsttypefind, gsttypefindfactory
23682
23683 2005-09-07  Andy Wingo  <wingo@pobox.com>
23684
23685         * gst/base/gstbasesink.c (gst_base_sink_activate_pull): Fix a race
23686         condition whereby the pad's task function is entered before the
23687         pad_mode variable was set.
23688
23689 2005-09-07  Jan Schmidt  <thaytan@mad.scientist.com>
23690
23691         * gst/gstpad.c: (gst_pad_alloc_buffer):
23692           Catch misbehaving pad_alloc functions that don't
23693           set up caps and do it for them.
23694
23695 2005-09-07  Stefan Kost  <ensonic@users.sf.net>
23696
23697         * check/pipelines/simple_launch_lines.c: (run_pipeline):
23698           test for pipe!=NULL
23699         * docs/gst/tmpl/.cvsignore:
23700         * docs/gst/tmpl/gstmemchunk.sgml:
23701         * docs/gst/tmpl/gstparse.sgml:
23702         * docs/gst/tmpl/gsttaglist.sgml:
23703         * docs/gst/tmpl/gsttagsetter.sgml:
23704         * docs/gst/tmpl/gsttypefind.sgml:
23705         * docs/gst/tmpl/gsttypefindfactory.sgml:
23706         * gst/gstmemchunk.c:
23707         * gst/gstparse.c:
23708         * gst/gsttag.c:
23709         * gst/gsttaginterface.c:
23710         * gst/gsttypefind.c:
23711         * gst/gsttypefind.h:
23712           inlined more docs
23713
23714 === release 0.9.2 ===
23715
23716 2005-09-06  Thomas Vander Stichele  <thomas at apestaart dot org>
23717
23718         * NEWS:
23719         * RELEASE:
23720         * configure.ac:
23721           releasing 0.9.2, "South"
23722
23723 2005-09-05  Andy Wingo  <wingo@pobox.com>
23724
23725         * gst/registries/gstxmlregistry.h:
23726         * gst/registries/gstxmlregistry.c: Um... resurrect...
23727         
23728         * gst/registries/gstxmlregistry.h:
23729         * gst/registries/gstxmlregistry.c: and update to newer API.
23730         Incidentally they should be a bit faster now that they don't have
23731         to parse the caps.
23732         
23733 2005-09-05  Andy Wingo  <wingo@pobox.com>
23734
23735         * gst/registries/gstxmlregistry.h:
23736         * gst/registries/gstxmlregistry.c: Remove from CVS, they were
23737         replaced by the libxml registry a while back
23738
23739 2005-09-03  Thomas Vander Stichele  <thomas at apestaart dot org>
23740
23741         * docs/gst/tmpl/gstplugin.sgml:
23742         * gst/elements/gstelements.c:
23743         * gst/gst.c:
23744         * gst/gstplugin.c: (gst_plugin_register_func),
23745         (gst_plugin_desc_copy), (gst_plugin_desc_free),
23746         (gst_plugin_get_source):
23747         * gst/gstplugin.h:
23748         * gst/registries/gstlibxmlregistry.c: (load_plugin),
23749         (gst_xml_registry_save_plugin):
23750         * gst/registries/gstxmlregistry.c: (gst_xml_registry_parse_plugin),
23751         (gst_xml_registry_save_plugin):
23752         * tools/gst-inspect.c: (print_plugin_info):
23753           add a "source" plugin description field, to represent the source
23754           module this plugin is a part of.  By default GST_PLUGIN_DEFINE
23755           will set it to PACKAGE, which is automake's idea of the name of
23756           the source project.
23757
23758 2005-09-03  Thomas Vander Stichele  <thomas at apestaart dot org>
23759
23760         * Makefile.am:
23761         * autogen.sh:
23762         * configure.ac:
23763         * docs/Makefile.am:
23764         * docs/faq/Makefile.am:
23765         * docs/gst/tmpl/gstelement.sgml:
23766         * docs/gst/tmpl/gsttypes.sgml:
23767         * docs/htmlinstall.mak:
23768         * docs/manual/Makefile.am:
23769         * docs/pwg/Makefile.am:
23770           reorganize doc build a little
23771           split out docbook and gtk-doc stuff
23772           have two separate --enable's and enable them through autogen
23773           but disable by default in configure (to be similar to other
23774           projects)
23775         * gstreamer.spec.in:
23776           clean up docs install
23777         * po/af.po:
23778         * po/az.po:
23779         * po/ca.po:
23780         * po/cs.po:
23781         * po/de.po:
23782         * po/en_GB.po:
23783         * po/fr.po:
23784         * po/it.po:
23785         * po/nb.po:
23786         * po/nl.po:
23787         * po/ru.po:
23788         * po/sq.po:
23789         * po/sr.po:
23790         * po/sv.po:
23791         * po/tr.po:
23792         * po/uk.po:
23793         * po/vi.po:
23794           translation updates
23795
23796 2005-09-03  Tim-Philipp Müller  <tim at centricular dot net>
23797
23798         * gst/base/gstbasesink.c: (gst_base_sink_pad_buffer_alloc):
23799           Add comment.
23800           
23801         * gst/elements/gstfakesink.c: (gst_fake_sink_init),
23802         (gst_fake_sink_change_state):
23803           Make state change function thread-safe.
23804           
23805         * gst/gstpad.c: (gst_pad_alloc_buffer):
23806           Set offset on generic buffer allocated by fallback.
23807
23808 2005-09-03  Stefan Kost  <ensonic@users.sf.net>
23809
23810         * docs/gst/gstreamer-sections.txt:
23811         * docs/gst/tmpl/gstelement.sgml:
23812         * gst/gstpad.c:
23813         * libs/gst/controller/gst-controller.c:
23814         (gst_controlled_property_set_interpolation_mode),
23815         (gst_controlled_property_new),
23816         (gst_controller_find_controlled_property):
23817          run the wingo-magic script against the docs
23818
23819 2005-09-02  Stefan Kost  <ensonic@users.sf.net>
23820
23821         * docs/gst/gstreamer-docs.sgml:
23822         * docs/gst/gstreamer-sections.txt:
23823         * docs/gst/tmpl/.cvsignore:
23824         * docs/gst/tmpl/gstelementdetails.sgml:
23825         * docs/gst/tmpl/gstelementfactory.sgml:
23826         * gst/gst.c:
23827         * gst/gstbus.c:
23828         * gst/gstelementfactory.c:
23829         * gst/gstelementfactory.h:
23830           merged elementdetails docs into elementfactory docs
23831           inlined both
23832
23833 2005-09-02  Andy Wingo  <wingo@pobox.com>
23834
23835         * gst/gstelement.h: Add magical pixie dust to make glib-mkenums
23836         consider this enum an enum and not a flags.
23837
23838 2005-09-02  Stefan Kost  <ensonic@users.sf.net>
23839
23840         * docs/gst/gstreamer-docs.sgml:
23841         * docs/gst/tmpl/.cvsignore:
23842         * docs/gst/tmpl/gstghostpad.sgml:
23843         * docs/gst/tmpl/gstiterator.sgml:
23844         * docs/gst/tmpl/gstmacros.sgml:
23845         * docs/gst/tmpl/gstrealpad.sgml:
23846         * docs/gst/tmpl/gstregistry.sgml:
23847         * docs/gst/tmpl/gstregistrypool.sgml:
23848         * docs/gst/tmpl/gststructure.sgml:
23849         * docs/gst/tmpl/gstsystemclock.sgml:
23850         * docs/gst/tmpl/gsttrace.sgml:
23851         * gst/gstghostpad.c:
23852         * gst/gstmacros.h:
23853         * gst/gstmemchunk.c:
23854         * gst/gstmemchunk.h:
23855         * gst/gstqueue.c:
23856         * gst/gstregistry.c:
23857         * gst/gstregistrypool.c:
23858         * gst/gststructure.c:
23859         * gst/gstsystemclock.c:
23860           more docs inlined
23861
23862 2005-09-02  Andy Wingo  <wingo@pobox.com>
23863
23864         * gst/gstelement.h (GstState): Renamed from GstElementState,
23865         changed to be a normal enum instead of flags.
23866         (GstStateChangeReturn): Renamed from GstElementStateReturn, names
23867         munged to be GST_STATE_CHANGE_*.
23868         (GST_STATE_CHANGE): Renamed from GST_STATE_TRANSITION, updated to
23869         work with the new state representation.
23870         (GstStateChange): New enumeration of possible state transitions.
23871         Replaces GST_STATE_FOO_TO_BAR with GST_STATE_CHANGE_FOO_TO_BAR.
23872         (GstElementClass::change_state): Pass the GstStateChange along as
23873         an argument. Helps language bindings, so they don't have to use
23874         tricky lock-needing macros like GST_STATE_CHANGE ().
23875
23876         * scripts/update-states (file): New script. Run it on a file to
23877         update it for state naming and API changes. Updates files in
23878         place.
23879
23880         * All files updated for the new API.
23881
23882 2005-09-02  Thomas Vander Stichele  <thomas at apestaart dot org>
23883
23884         * gst/gsttrace.c: (gst_trace_flush), (gst_trace_text_flush):
23885         * gst/gstutils.c: (gst_util_set_value_from_string),
23886         (gst_util_set_object_arg):
23887           fix a bunch of unchecked return values
23888         * tools/gst-complete.c: (main):
23889         * gstreamer.spec.in:
23890           clean up a little
23891
23892 2005-09-01  Wim Taymans  <wim@fluendo.com>
23893
23894         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
23895         (gst_base_sink_event), (gst_base_sink_do_sync),
23896         (gst_base_sink_handle_event):
23897         * gst/base/gstbasesink.h:
23898         Handle newsegments more correctly.
23899
23900         * gst/gstbus.c:
23901         Fix docs.
23902
23903         * gst/gstevent.c: (gst_event_new_newsegment):
23904         A newsegment cannot have a start_time of -1
23905
23906 2005-09-01  Tim-Philipp Müller  <tim at centricular dot net>
23907
23908         * win32/gstenumtypes.c:
23909         * win32/gstenumtypes.h:
23910           Update
23911
23912 2005-08-31  Stefan Kost  <ensonic@users.sf.net>
23913
23914         * libs/gst/controller/gst-controller.c:
23915         (gst_controlled_property_set_interpolation_mode),
23916         (gst_controlled_property_new):
23917          fixed boolean again
23918
23919 2005-08-31  Thomas Vander Stichele  <thomas at apestaart dot org>
23920
23921         * docs/faq/gst-uninstalled:
23922           add -good
23923         * gst/gstevent.c:
23924         * gst/gstevent.h:
23925           remove wrong docs
23926         * gst/gstutils.c: (gst_element_link_filtered):
23927         * gst/gstutils.h:
23928           add gst_element_link_filtered
23929
23930 2005-08-31  Stefan Kost  <ensonic@users.sf.net>
23931
23932         * docs/gst/gstreamer-docs.sgml:
23933         * docs/gst/gstreamer-sections.txt:
23934         * docs/gst/tmpl/.cvsignore:
23935         * docs/gst/tmpl/gsterror.sgml:
23936         * docs/gst/tmpl/gstfilter.sgml:
23937         * docs/gst/tmpl/gsturihandler.sgml:
23938         * docs/gst/tmpl/gsturitype.sgml:
23939         * docs/gst/tmpl/gstutils.sgml:
23940         * docs/gst/tmpl/gstxml.sgml:
23941         * gst/gsterror.c:
23942         * gst/gsterror.h:
23943         * gst/gstfilter.c:
23944         * gst/gsturi.c:
23945         * gst/gsturitype.c:
23946         * gst/gstutils.c:
23947         * gst/gstxml.c:
23948           inlined more docs, fixed double id-ref
23949
23950 2005-08-31  Wim Taymans  <wim@fluendo.com>
23951
23952         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
23953         (gst_base_transform_handle_buffer):
23954         Passthrough elements don't need the caps as they don't care.
23955
23956 2005-08-31  Wim Taymans  <wim@fluendo.com>
23957
23958         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
23959         (gst_base_transform_handle_buffer), (gst_base_transform_chain):
23960         Don't leak refcounts on buffers.
23961
23962 2005-08-31  Wim Taymans  <wim@fluendo.com>
23963
23964         * gst/base/gstbasetransform.c: (gst_base_transform_configure_caps),
23965         (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
23966         (gst_base_transform_chain), (gst_base_transform_change_state):
23967         * gst/base/gstbasetransform.h:
23968         Handle the case where we are not negotiated more gracefully.
23969
23970 2005-08-31  Tim-Philipp Müller  <tim at centricular dot net>
23971
23972         * gst/elements/gstfilesrc.c: (gst_mmap_buffer_init),
23973         (gst_file_src_map_region):
23974           Set READONLY flag on mmap'ed buffers, otherwise
23975           gst_buffer_make_writable() won't work properly (#314708).
23976
23977 2005-08-31  Wim Taymans  <wim@fluendo.com>
23978
23979         * gst/base/gstbasetransform.c: (gst_base_transform_handle_buffer):
23980         passthrough elements can even do inplace on non writable
23981         buffers (as they don't touch them).
23982
23983 2005-08-31  Stefan Kost  <ensonic@users.sf.net>
23984
23985         * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
23986         (gst_test_mono_source_set_property),
23987         (gst_test_mono_source_class_init), (GST_START_TEST),
23988         (gst_controller_suite):
23989           more tests (hehe I have the most)
23990         * gst/gstbus.c:
23991           describe popping messages whenusing mulltiple sources
23992         * libs/gst/controller/gst-controller.c:
23993         (gst_controlled_property_set_interpolation_mode),
23994         (gst_controlled_property_new):
23995         * libs/gst/controller/gst-controller.h:
23996         * libs/gst/controller/gst-interpolation.c:
23997           implement boolean properties
23998
23999 2005-08-31  Wim Taymans  <wim@fluendo.com>
24000
24001         * gst/gstminiobject.c: (gst_mini_object_ref):
24002         Cannot assert that the refcount has to be positive
24003         since a disposed object can be resurrected.
24004
24005 2005-08-31  Wim Taymans  <wim@fluendo.com>
24006
24007         * gst/gstpad.c: (gst_pad_init):
24008         Revert change, need to first fix badly behaving 
24009         apps.
24010
24011 2005-08-30  Wim Taymans  <wim@fluendo.com>
24012
24013         * check/elements/fakesrc.c: (setup_fakesrc):
24014         * check/elements/identity.c: (setup_identity):
24015         Activate pads before using them.
24016
24017 2005-08-30  Wim Taymans  <wim@fluendo.com>
24018
24019         * gst/base/gstadapter.c: (gst_adapter_flush):
24020         Flushing out 0 bytes is ok for this function.
24021
24022         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
24023         no newsegment gives a warning and sets the start/stop to 
24024         invalid.
24025
24026         * gst/base/gstbasetransform.c: (gst_base_transform_change_state),
24027         (gst_base_transform_set_passthrough):
24028         Some debug info.
24029
24030         * gst/gstminiobject.c: (gst_mini_object_ref):
24031         Check refcount here too.
24032
24033         * gst/gstpad.c: (gst_pad_init):
24034         Pads are initially flushing and refusing data.
24035
24036         * gst/gstutils.c: (gst_element_link_pads_filtered):
24037         When adding a capsfilter element make sure it has the
24038         same state as the parent bin.
24039
24040 2005-08-30  Stefan Kost  <ensonic@users.sf.net>
24041
24042         * docs/gst/tmpl/.cvsignore:
24043         * docs/gst/tmpl/gstformat.sgml:
24044         * docs/gst/tmpl/gstversion.sgml:
24045         * gst/gstbus.h:
24046         * gst/gstformat.c:
24047         * gst/gstformat.h:
24048         * gst/gstversion.h.in:
24049           more docs and two more inlined
24050
24051 2005-08-30  Wim Taymans  <wim@fluendo.com>
24052
24053         * gst/elements/gstfilesink.c: (gst_file_sink_class_init):
24054         Don't sync to clock.
24055
24056 2005-08-30  Stefan Kost  <ensonic@users.sf.net>
24057
24058         * docs/gst/gstreamer-sections.txt:
24059           ultral33t func10ns deserve to appear in the docs actually
24060         * docs/gst/tmpl/.cvsignore:
24061         * docs/gst/tmpl/gstcompat.sgml:
24062         * docs/gst/tmpl/gstconfig.sgml:
24063         * gst/check/gstcheck.c:
24064         * gst/gstcompat.h:
24065         * gst/gstconfig.h.in:
24066           inlined more docs
24067
24068 2005-08-30  Stefan Kost  <ensonic@users.sf.net>
24069
24070         * docs/gst/tmpl/.cvsignore:
24071         * docs/gst/tmpl/gstquery.sgml:
24072         * docs/gst/tmpl/gstutils.sgml:
24073         * gst/gstquery.c:
24074         * gst/gstquery.h:
24075           inlined and extended docs
24076
24077 2005-08-30  Stefan Kost  <ensonic@users.sf.net>
24078
24079         * check/gst-libs/controller.c: (GST_START_TEST),
24080         (gst_controller_suite):
24081           more tests
24082         * docs/gst/tmpl/gstutils.sgml:
24083         * docs/libs/gstreamer-libs-sections.txt:
24084         * docs/libs/tmpl/gstdataprotocol.sgml:
24085           include path fixes
24086         * examples/controller/audio-example.c: (main):
24087           controller example works now
24088         * gst/gstclock.h:
24089           doc fixes
24090         * tools/gst-inspect.c: (print_element_properties_info):
24091           show param spec flags
24092
24093 2005-08-29  Andy Wingo  <wingo@pobox.com>
24094
24095         * gst/gstutils.c (gst_util_uint64_scale): New 3733t funct10n.
24096
24097 2005-08-28  Andy Wingo  <wingo@pobox.com>
24098
24099         * gst/gstutils.h (GST_BOILERPLATE_FULL): Prototype instance_init
24100         as having two arguments instead of just one. Allows superclasses
24101         to access information on subclasses -- see the terrible for() loop
24102         in gtype.c:g_type_create_instance for the reason why. All callers
24103         changed.
24104
24105 2005-08-27  Stefan Kost  <ensonic@users.sf.net>
24106
24107         * docs/design/part-messages.txt:
24108           update info
24109         * docs/gst/tmpl/.cvsignore:
24110         * docs/gst/tmpl/gstcaps.sgml:
24111         * docs/gst/tmpl/gstclock.sgml:
24112         * gst/gstbus.c:
24113         * gst/gstcaps.c:
24114         * gst/gstcaps.h:
24115         * gst/gstclock.c:
24116         * gst/gstclock.h:
24117         * gst/gstmessage.c:
24118           added descriptions for bus and message
24119           inline caps and clock docs
24120
24121 2005-08-27  Stefan Kost  <ensonic@users.sf.net>
24122
24123         * gst/gstmessage.c:
24124         * gst/gstmessage.h:
24125           doc fixes
24126
24127 2005-08-27  Stefan Kost  <ensonic@users.sf.net>
24128
24129         * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
24130           fix div-by-zero
24131
24132 2005-08-26  Andy Wingo  <wingo@pobox.com>
24133
24134         * check/pipelines/simple_launch_lines.c (run_pipeline): Check
24135         element_set_state's return val.
24136         (test_2_elements): Add test that's been disabled for months.
24137
24138         * gst/elements/gstfakesink.c: Cleanups. Add can-activate-push and
24139         can-activate-pull properties.
24140
24141         * gst/elements/gstfakesrc.c: Cleanups. Add can-activate-push and
24142         can-activate-pull properties. Implement is_seekable so fakesrc can
24143         operate in pull mode.
24144
24145         * gst/base/gstbasesink.c (GstBaseSink): Remove has-loop, has-chain
24146         properties.
24147         (gst_base_sink_activate, gst_base_sink_activate_pull)
24148         (gst_base_sink_activate_push): Make activation mode choosing work.
24149         Cleanups.
24150         (gst_base_sink_chain, gst_base_sink_loop): Assert activation mode
24151         is right. Make pull mode work. Post an eos before pausing in pull
24152         mode.
24153         (gst_base_sink_change_state): Pay attention to the core's
24154         change_state() return val.
24155         
24156         * gst/base/gstbasesrc.c (GstBaseSrc): Remove has-loop,
24157         has-getrange properties. Cleanups.
24158         
24159         * gst/base/gstbasesrc.h (GstBaseSrc): Remove has_loop,
24160         has_getrange and replace with can_activate_pull and
24161         can_activate_push.
24162
24163         * gst/base/gstbasesink.h (GstBaseSink): Rearrange fields, add
24164         locking comments. Remove has_loop, has_chain and replace with
24165         can_activate_pull and can_activate_push.
24166
24167 2005-08-26  Jan Schmidt  <thaytan@mad.scientist.com>
24168
24169         * configure.ac:
24170         * examples/Makefile.am:
24171         * examples/metadata/Makefile.am:
24172         * examples/metadata/read-metadata.c: (message_loop),
24173         (have_pad_handler), (make_pipeline), (print_tag), (main):
24174           Add metadata reading example that loops over a list of filenames,
24175           dumping any tags found.
24176
24177         * gst/gstbus.c: (gst_bus_dispose):
24178         * gst/gstelement.c: (gst_element_dispose):
24179           Release a few potentially-held references in dispose.
24180
24181 2005-08-26  Stefan Kost  <ensonic@users.sf.net>
24182
24183         * docs/gst/tmpl/gstminiobject.sgml:
24184           do *not* add tmpl/*.sgml files to CVS!
24185
24186 2005-08-26  Stefan Kost  <ensonic@users.sf.net>
24187
24188         * libs/gst/bytestream/.cvsignore:
24189         * libs/gst/bytestream/Makefile.am:
24190         * libs/gst/bytestream/adapter.c:
24191         * libs/gst/bytestream/adapter.h:
24192         * libs/gst/bytestream/bytestream.c:
24193         * libs/gst/bytestream/bytestream.h:
24194         * libs/gst/bytestream/filepad.c:
24195         * libs/gst/bytestream/filepad.h:
24196           removing obsolete files
24197
24198 2005-08-26  Stefan Kost  <ensonic@users.sf.net>
24199
24200         * docs/gst/gstreamer-docs.sgml:
24201         * docs/libs/gstreamer-libs-docs.sgml:
24202           disabed additional index entries again, as this makes docs-gen just
24203           slow and they aren't useful yet
24204         * docs/libs/gstreamer-libs-sections.txt:
24205           little -section.txt cleanup for libs
24206
24207 2005-08-26  Thomas Vander Stichele  <thomas at apestaart dot org>
24208
24209         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
24210         * gst/base/gstbasetransform.c: (gst_base_transform_transform_size),
24211           fix up some debugging
24212         (gst_base_transform_get_unit_size),
24213         (gst_base_transform_buffer_alloc), (gst_base_transform_event),
24214         (gst_base_transform_handle_buffer):
24215         * gst/base/gstbasetransform.h:
24216           handle and store timed NEWSEGMENT events so that subclasses that
24217           calculate time by counting samples have a segment_start time they
24218           need to add to their timestamps - see audioresample
24219
24220 2005-08-26  Stefan Kost  <ensonic@users.sf.net>
24221
24222         * gst/gstbin.h:
24223           removed ';' from the end of macro defs
24224         * docs/gst/gstreamer-docs.sgml:
24225         * docs/gst/gstreamer-sections.txt:
24226         * docs/gst/tmpl/.cvsignore:
24227         * gst/gstbus.h:
24228         * gst/gstelement.c: (gst_element_class_init),
24229         (gst_element_set_state), (activate_pads),
24230         (gst_element_save_thyself):
24231         * gst/gstevent.c: (gst_event_new_newsegment):
24232         * gst/gstevent.h:
24233         * gst/gstiterator.c:
24234         * gst/gstiterator.h:
24235         * gst/gstpad.c:
24236         * gst/gstprobe.h:
24237         * gst/gstutils.c: (gst_pad_query_convert):
24238         * gst/gstutils.h:
24239           fixed parameter name mismatches between source, header and docs
24240           added some more docs, resolved the last batch of unused elements in
24241           docs (now someone needs to doc them)
24242
24243 2005-08-25  Thomas Vander Stichele  <thomas at apestaart dot org>
24244
24245         * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_rebuild):
24246         * gst/registries/gstxmlregistry.c: (gst_xml_registry_rebuild):
24247           don't walk through the plugins backwards.  Where is all this
24248           reversed logic coming from ?
24249
24250 2005-08-25  Wim Taymans  <wim@fluendo.com>
24251
24252         * gst/base/gstbasetransform.c: (gst_base_transform_init),
24253         (gst_base_transform_transform_size),
24254         (gst_base_transform_configure_caps),
24255         (gst_base_transform_get_unit_size),
24256         (gst_base_transform_buffer_alloc),
24257         (gst_base_transform_change_state):
24258         * gst/base/gstbasetransform.h:
24259         Cache caps unit_size.
24260         Make sure we cannot negotiate up and downstream at the
24261         same time.
24262
24263 2005-08-25  Thomas Vander Stichele  <thomas at apestaart dot org>
24264
24265         * gst/gst.c: (init_pre), (init_post):
24266           register the installed plugin path after the env var
24267         * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_save):
24268         * gst/registries/gstxmlregistry.c: (gst_xml_registry_save):
24269           don't reverse order of paths; conserve the order of GST_PLUGIN_PATH
24270           directories, so the tests can prefer uninstalled over installed
24271
24272 2005-08-25  Thomas Vander Stichele  <thomas at apestaart dot org>
24273
24274         * gst/base/gstbasetransform.h:
24275           comment
24276         * gst/gstpad.c:
24277           add to docs
24278
24279 2005-08-25  Wim Taymans  <wim@fluendo.com>
24280
24281         * gst/gstbin.c: (bin_bus_handler):
24282         Be a bit more conservative about the posted message.
24283         
24284         * gst/gstbus.c: (gst_bus_post):
24285         Some cleanups, warn wrong return values.
24286
24287 2005-08-25  Jan Schmidt  <thaytan@mad.scientist.com>
24288
24289         * check/gst/gstbin.c: (GST_START_TEST):
24290         * gst/gstbin.c: (bin_bus_handler):
24291         * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
24292         (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
24293         (gst_message_new_warning), (gst_message_new_tag),
24294         (gst_message_new_state_changed), (gst_message_new_segment_start),
24295         (gst_message_new_segment_done), (gst_message_new_custom):
24296         * gst/gstmessage.h:
24297         * tools/gst-launch.c: (event_loop):
24298         * tools/gst-md5sum.c: (event_loop):
24299           Revert unpopular change for GST_MESSAGE_SRC to GObject.
24300
24301 2005-08-25  Wim Taymans  <wim@fluendo.com>
24302
24303         * check/generic/states.c: (GST_START_TEST):
24304         Cleanup can be done at the end.
24305
24306         * gst/gsttask.c: (gst_task_get_type), (gst_task_finalize),
24307         (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
24308         (gst_task_get_state), (gst_task_start), (gst_task_pause):
24309         Oh boy.. Thanks for finding this, Thomas. 
24310
24311 2005-08-25  Stefan Kost  <ensonic@users.sf.net>
24312
24313         * docs/gst/gstreamer.types:
24314           added missing types
24315
24316 2005-08-25  Stefan Kost  <ensonic@users.sf.net>
24317
24318         * docs/gst/gstreamer-docs.sgml:
24319         * docs/gst/gstreamer-sections.txt:
24320         * docs/gst/tmpl/.cvsignore:
24321         * gst/gstbin.c:
24322         * gst/gstiterator.c:
24323         * gst/gstutils.c:
24324         * gst/registries/gstxmlregistry.h:
24325           added missing classes and symbols (123 more to go)
24326           removed removed symbols from section file
24327           fixed many doc-comments
24328
24329 2005-08-24  Wim Taymans  <wim@fluendo.com>
24330
24331         * check/generic/states.c: (GST_START_TEST):
24332         Make sure all tasks are stopped.
24333
24334         * check/gst/gstbin.c: (GST_START_TEST):
24335         Unref after usage for proper valgrinding.
24336
24337         * gst/gstpad.c: (gst_pad_finalize), (gst_pad_stop_task):
24338         Really wait for the task to stop before destroying the
24339         mutex.
24340
24341         * gst/gstqueue.c: (gst_queue_sink_activate_push),
24342         (gst_queue_src_activate_push):
24343         Small cleanups. Don't stop the task when we did not start
24344         it.
24345
24346         * gst/gsttask.c: (gst_task_get_type), (gst_task_init),
24347         (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
24348         (gst_task_get_state), (gst_task_start), (gst_task_pause),
24349         (gst_task_join):
24350         * gst/gsttask.h:
24351         Protect the stream lock with the object lock.
24352         Disallow setting the stream lock when running.
24353         Add cleanup_all to wait for the threadpool to finish.
24354         Remove code to autoallocate a mutex if none was provided.
24355         Add _join() to wait for a task to stop.
24356         Protect the thread pool with a global lock.
24357
24358 2005-08-24  Wim Taymans  <wim@fluendo.com>
24359
24360         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
24361         (gst_base_sink_get_times), (gst_base_sink_do_sync),
24362         (gst_base_sink_handle_buffer), (gst_base_sink_change_state):
24363         * gst/base/gstbasesink.h:
24364         Handle newsegment events correctly.
24365         Drop buffers out of the segment range.
24366
24367 2005-08-22  Andy Wingo  <wingo@pobox.com>
24368
24369         * gst/gstutils.h (GST_BOILERPLATE_WITH_INTERFACE): New ghetto
24370         macro, implements an interface and gstimplementsinterface for a
24371         new type.
24372
24373 2005-08-24  Thomas Vander Stichele  <thomas at apestaart dot org>
24374
24375         * check/Makefile.am:
24376         * check/generic/states.c: (GST_START_TEST), (states_suite), (main):
24377           add a test that does a bunch of state changes on elements
24378           needs some fixing for valgrind
24379         * check/states/sinks.c: (gst_object_suite):
24380           whitespace
24381         * gst/gstcaps.h:
24382           add prototype for gst_caps_is_equal_fixed
24383         * gst/gstplugin.c:
24384         * gst/gstregistrypool.c:
24385           doc fixes
24386
24387 2005-08-24  Andy Wingo  <wingo@pobox.com>
24388
24389         * gst/gstquery.c (gst_query_new_convert): Spew if we try to
24390         convert a negative value. Doesn't make much sense. Mostly this is
24391         here to force callers to ensure -1 maps to -1.
24392
24393 2005-08-24  Jan Schmidt  <thaytan@mad.scientist.com>
24394
24395         * docs/pwg/advanced-types.xml:
24396           Well done to Michael for catching my deliberate introduction
24397           of this spelling mistake. 
24398         * gst/gstbin.c: (gst_bin_remove_func), (bin_bus_handler):
24399         * gst/gstelement.h:
24400           Add GST_ELEMENT_UNPARENTING to prevent races so that we can
24401           unlink pads before removing the element from the bin.
24402
24403 2005-08-24  Andy Wingo  <wingo@pobox.com>
24404
24405         * gst/gst.c (parse_debug_list): Accept e.g. GST_DEBUG=4 to mean
24406         the same thing as GST_DEBUG=*:4.
24407         (parse_debug_level, parse_debug_category): New helper parsers.
24408
24409 2005-08-24  Thomas Vander Stichele  <thomas at apestaart dot org>
24410
24411         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
24412         (gst_base_transform_transform_size), (gst_base_transform_getcaps),
24413         (gst_base_transform_setcaps), (gst_base_transform_get_unit_size),
24414         (gst_base_transform_buffer_alloc),
24415         (gst_base_transform_handle_buffer):
24416           use gboolean return values and pointers to size so we can use the
24417           full GST_BUFFER_SIZE range (guint) for buffer sizes
24418           use GstPadDirection for transform_caps
24419         * gst/base/gstbasetransform.h:
24420           rename get_size to get_unit_size since that's what it is
24421         * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_caps):
24422           use GstPadDirection for transform_caps
24423         * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
24424         * gst/gstutils.h:
24425           cleanup and debugging
24426
24427 2005-08-24  Stefan Kost  <ensonic@users.sf.net>
24428
24429         * gst/gstelement.c: (gst_element_class_init),
24430         (gst_element_set_state), (activate_pads),
24431         (gst_element_save_thyself):
24432         * tools/gst-compprep.c: (main):
24433         * tools/gst-inspect.c: (print_element_properties_info):
24434         * tools/gst-xmlinspect.c: (print_element_properties):
24435           Fixed long standing mem-leak
24436
24437 2005-08-24  Jan Schmidt  <thaytan@mad.scientist.com>
24438
24439         * check/gst/gstbin.c: (GST_START_TEST):
24440         * gst/gstbin.c: (bin_bus_handler):
24441         * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
24442         (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
24443         (gst_message_new_warning), (gst_message_new_tag),
24444         (gst_message_new_state_changed), (gst_message_new_segment_start),
24445         (gst_message_new_segment_done), (gst_message_new_custom):
24446         * gst/gstmessage.h:
24447         * tools/gst-launch.c: (event_loop):
24448         * tools/gst-md5sum.c: (event_loop):
24449           Change GST_MESSAGE_SRC to be a GObject rather than a GstObject, so
24450           that applications can sensibly post custom messages with references
24451           to their own objects.
24452
24453 2005-08-24  Andy Wingo  <wingo@pobox.com>
24454
24455         * gst/gstpad.c (gst_pad_fixate_caps): Check if the caps is fixed
24456         already.
24457
24458 2005-08-24  Wim Taymans  <wim@fluendo.com>
24459
24460         * gst/base/gstbasetransform.c: (gst_base_transform_init),
24461         (gst_base_transform_transform_caps),
24462         (gst_base_transform_transform_size),
24463         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
24464         (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
24465         (gst_base_transform_handle_buffer):
24466         * gst/base/gstbasetransform.h:
24467         Many fixes and new features added by Thomas. Can now also do
24468         transforms with variable sizes and a custom fixate_caps function.
24469
24470 2005-08-24  Wim Taymans  <wim@fluendo.com>
24471
24472         * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
24473         Some debugging.
24474
24475         * gst/gstclock.h:
24476         Cast to ClockTime before formatting to time.
24477
24478         * gst/gstutils.h:
24479         Cleanups.
24480
24481 2005-08-24  Stefan Kost  <ensonic@users.sf.net>
24482
24483         * check/gst-libs/controller.c: (GST_START_TEST),
24484         (gst_controller_suite):
24485         * docs/gst/tmpl/gstcaps.sgml:
24486         * docs/gst/tmpl/gstghostpad.sgml:
24487         * docs/gst/tmpl/gstquery.sgml:
24488         * docs/gst/tmpl/gstutils.sgml:
24489         * libs/gst/controller/gst-helper.c: (gst_object_set_controller),
24490         (gst_object_sink_values), (gst_object_get_value_arrays),
24491         (gst_object_get_value_array):
24492           gracefully handle helper method calls to objects that are not beeing
24493           controlled, added test case for that          
24494
24495 2005-08-23  Wim Taymans  <wim@fluendo.com>
24496
24497         * gst/gstevent.c: (_gst_event_copy), (gst_event_new_custom),
24498         (gst_event_new_newsegment), (gst_event_parse_newsegment),
24499         (gst_event_new_tag), (gst_event_parse_tag), (gst_event_new_qos),
24500         (gst_event_parse_qos), (gst_event_new_seek),
24501         (gst_event_parse_seek):
24502         * gst/gstevent.h:
24503         Some more debugging output and doc cleanups.
24504
24505         * gst/gstqueue.c: (gst_queue_handle_sink_event):
24506         Fix possible deadlock.
24507
24508 2005-08-23  Stefan Kost  <ensonic@users.sf.net>
24509
24510         * docs/gst/gstreamer-docs.sgml:
24511         * docs/gst/gstreamer-sections.txt:
24512         * docs/gst/gstreamer.types:
24513         * docs/gst/tmpl/.cvsignore:
24514         * gst/gstbin.h:
24515         * gst/gstbus.c:
24516         * gst/gstelement.c:
24517         * gst/gstevent.h:
24518           added 100 symbols from gstreamer-unused.txt to the right sections
24519           fixed more broken comments
24520           added GstBus to docs
24521
24522 2005-08-23  Stefan Kost  <ensonic@users.sf.net>
24523
24524         * docs/gst/gstreamer-sections.txt:
24525         * docs/gst/tmpl/.cvsignore:
24526         * docs/gst/tmpl/gstbin.sgml:
24527         * docs/gst/tmpl/gstbuffer.sgml:
24528         * gst/base/gstbasesrc.c:
24529         * gst/gstbin.c: (gst_bin_get_type), (gst_bin_class_init):
24530         * gst/gstbuffer.c:
24531         * gst/gstbuffer.h:
24532         * tools/gst-launch.1.in:
24533           inlined more doc comments, added missing comments and fixed comments
24534           fixed typos
24535
24536 2005-08-23  Thomas Vander Stichele  <thomas at apestaart dot org>
24537
24538         * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
24539           some debugging
24540         * gst/gstcaps.h:
24541           whitespace fixes
24542         * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_alloc_buffer):
24543           more debugging
24544         * gst/gststructure.c: (gst_caps_structure_fixate_field_boolean):
24545         * gst/gststructure.h:
24546           add a fixate function for booleans; add a FIXME that these func
24547           names should probably be gst_structure_fixate_*
24548
24549 2005-08-23  Stefan Kost  <ensonic@users.sf.net>
24550
24551         * docs/gst/gstreamer-docs.sgml:
24552         * docs/gst/gstreamer-sections.txt:
24553         * gst/Makefile.am:
24554         * gst/gstbin.c: (gst_bin_get_type),
24555         (gst_bin_child_proxy_get_child_by_index),
24556         (gst_bin_child_proxy_get_children_count),
24557         (gst_bin_child_proxy_init):
24558         * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
24559         (gst_child_proxy_get_child_by_index),
24560         (gst_child_proxy_get_children_count), (gst_child_proxy_lookup),
24561         (gst_child_proxy_get_property), (gst_child_proxy_get_valist),
24562         (gst_child_proxy_get), (gst_child_proxy_set_property),
24563         (gst_child_proxy_set_valist), (gst_child_proxy_set),
24564         (gst_child_proxy_child_added), (gst_child_proxy_child_removed),
24565         (gst_child_proxy_base_init), (gst_child_proxy_get_type):
24566         * gst/gstchildproxy.h:
24567         * gst/parse/grammar.y:
24568         * tools/gst-inspect.c: (print_interfaces),
24569         (print_element_properties_info), (print_element_info):
24570           ported gstchildproxy over from 0.8
24571           ported gst-inspect fixes and enhancements over from 0.8
24572
24573 2005-08-22  Wim Taymans  <wim@fluendo.com>
24574
24575         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
24576         (gst_base_transform_handle_buffer):
24577         Also call the transform function if we have ANY caps.
24578
24579         * gst/gstpipeline.c: (gst_pipeline_set_new_stream_time):
24580         Fix debug info.
24581
24582 2005-08-22  Jan Schmidt  <thaytan@mad.scientist.com>
24583
24584         * gst/base/gstbasesrc.c: (gst_base_src_event_handler)
24585           Don't pretend to handle seek events if the source is not seekable
24586
24587 2005-08-22  Jan Schmidt  <thaytan@mad.scientist.com>
24588
24589         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
24590           Remove extra parameter to debug output
24591
24592         * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
24593         (gst_base_src_do_seek), (gst_base_src_activate_push):
24594           Fix seek event handling.
24595
24596         * gst/gstpipeline.c: (gst_pipeline_change_state):
24597         * gst/gstqueue.c: (gst_queue_handle_sink_event),
24598         (gst_queue_src_activate_push):
24599           Don't start the src pad task on FLUSH_STOP if the pad
24600           isn't linked.
24601           Debug changes.
24602
24603 2005-08-22  Wim Taymans  <wim@fluendo.com>
24604
24605         * check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
24606         Added check for gst_static_caps_get() refcounting.
24607
24608 2005-08-22  Wim Taymans  <wim@fluendo.com>
24609
24610         * gst/gstcaps.c: (gst_static_caps_get), (gst_caps_to_string):
24611         Make _static_caps_get() refcounting sane.
24612         
24613         * gst/gstelement.c: (gst_element_set_state):
24614         Add g_return_val_if_fail() to protect against segfaults.
24615
24616 2005-08-22  Stefan Kost  <ensonic@users.sf.net>
24617
24618         * docs/gst/tmpl/gstevent.sgml:
24619         * gst/gstevent.c:
24620         * gst/gstevent.h:
24621           inlined remaining docs, added missing doc comments
24622
24623 2005-08-22  Thomas Vander Stichele  <thomas at apestaart dot org>
24624
24625         * check/gst/gstbin.c: (GST_START_TEST):
24626           since we don't know when preroll is done, use refcount range
24627           check for the sink
24628         * gst/check/gstcheck.h:
24629           add macro for checking refcount range
24630
24631 2005-08-21  Thomas Vander Stichele  <thomas at apestaart dot org>
24632
24633         * check/Makefile.am:
24634           clean up environment for when registry gets built versus
24635           when actual tests are run; valgrind seems to not report
24636           leaks if GST_PLUGIN_PATH is set to some specific values
24637         * check/gst/gstbin.c: (GST_START_TEST):
24638           add more refcounting checks; maybe this exposes a
24639           preroll lock bug ?
24640         * common/check.mak:
24641         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
24642         * gst/check/gstcheck.h:
24643         * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_get_state),
24644         (gst_bin_change_state):
24645         * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_chain):
24646           add/fix debugging/whitespace
24647
24648 2005-08-21  Jan Schmidt  <thaytan@mad.scientist.com>
24649
24650         * check/gst/gstevent.c: (event_probe), (test_event),
24651         (GST_START_TEST):
24652          Er, don't call gst_bin_watch_for_state_change you idiot.
24653
24654 2005-08-21  Jan Schmidt  <thaytan@mad.scientist.com>
24655
24656         * check/Makefile.am:
24657           Use CHECK_CFLAGS and CHECK_LIBS
24658         * check/gst/gstevent.c: (event_probe), (test_event),
24659         (GST_START_TEST):
24660           Don't leak events.
24661         * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
24662         (gst_base_src_start), (gst_base_src_stop),
24663         (gst_base_src_activate_push), (gst_base_src_activate_pull),
24664         (gst_base_src_change_state):
24665           Sprinkle gst_base_src_stop liberally around error paths to fix
24666           problems reusing a source after failed state changes.
24667         * gst/base/gsttypefindhelper.c: (helper_find_peek),
24668         (helper_find_suggest), (gst_type_find_helper):
24669           Extra debug output. Don't segfault on GST_PAD_GETRANGEFUNC = NULL
24670         * gst/gstevent.h:
24671         * docs/gst/tmpl/gstevent.sgml:
24672           Migrate part of the docs from the SGML file. Wait for ensonic to
24673           tell me how I did it wrong ;)
24674         * tools/gst-typefind.c: (main):
24675           Extra robustness to state changes between files.
24676
24677 2005-08-21  Thomas Vander Stichele  <thomas at apestaart dot org>
24678
24679         * check/Makefile.am:
24680           don't valgrind the controller test - it's leaking - Stefan, HELP
24681         * gst/check/gstcheck.c: (gst_check_message_error),
24682         (gst_check_chain_func), (gst_check_setup_element),
24683         (gst_check_teardown_element), (gst_check_setup_src_pad),
24684         (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
24685         (gst_check_teardown_sink_pad):
24686         * gst/check/gstcheck.h:
24687           add a bunch of methods to set up elements, and src and sink pads
24688         * check/elements/fakesrc.c: (setup_fakesrc), (cleanup_fakesrc):
24689         * check/elements/identity.c: (setup_identity), (cleanup_identity),
24690         (GST_START_TEST):
24691           use them
24692         * gst/gstmessage.c:
24693         * gst/gsttag.h:
24694           whitespace/doc fixes
24695
24696 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
24697
24698         * gst/gstelement.h:
24699           make GST_ELEMENT_ERROR not do GST_ERROR_OBJECT - these errors should
24700           be handled by the application and not always printed as well
24701
24702 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
24703
24704         * check/Makefile.am:
24705           set GST_TOOLS_DIR
24706         * gst/check/gstcheck.c: (gst_check_message_error):
24707         * gst/check/gstcheck.h:
24708           add a fail_unless_equals_int
24709           add fail_unless for error messages
24710
24711 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
24712
24713         * check/Makefile.am:
24714         * check/gst.supp:
24715         * common/Makefile.am:
24716         * common/check.mak:
24717         * common/gst.supp:
24718           factor out some of the common stuff so we can use it
24719
24720 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
24721
24722         * check/Makefile.am:
24723         * check/gst/gstiterator.c: (GST_START_TEST):
24724         * check/gst/gstsystemclock.c: (GST_START_TEST),
24725         (gst_systemclock_suite):
24726         * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
24727         * gst/gstclock.c:
24728           valgrind more tests
24729
24730 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
24731
24732         * check/elements/.cvsignore:
24733         * check/elements/gstfakesrc.c:
24734           rename to name of element
24735         * check/elements/identity.c: (chain_func), (event_func),
24736         (setup_identity), (cleanup_identity), (GST_START_TEST),
24737         (identity_suite), (main):
24738           add a test for identity
24739         * check/Makefile.am:
24740         * pkgconfig/Makefile.am:
24741         * pkgconfig/gstreamer-check.pc.in:
24742         * pkgconfig/gstreamer-check-uninstalled.pc.in:
24743         * gst/check:
24744         * gst/Makefile.am:
24745         * configure.ac:
24746           move the check stuff to a library that gets installed
24747         * check/gst-libs/controller.c: (GST_START_TEST):
24748         * check/gst-libs/gdp.c:
24749         * check/gst/gst.c: (GST_START_TEST):
24750         * check/gst/gstbin.c:
24751         * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
24752         * check/gst/gstbus.c:
24753         * check/gst/gstcaps.c: (GST_START_TEST):
24754         * check/gst/gstelement.c:
24755         * check/gst/gstghostpad.c:
24756         * check/gst/gstiterator.c:
24757         * check/gst/gstmessage.c:
24758         * check/gst/gstminiobject.c: (thread_ref), (GST_START_TEST):
24759         * check/gst/gstobject.c:
24760         * check/gst/gstpad.c: (GST_START_TEST):
24761         * check/gst/gststructure.c: (GST_START_TEST):
24762         * check/gst/gstsystemclock.c: (GST_START_TEST),
24763         (gst_systemclock_suite):
24764         * check/gst/gsttag.c: (gst_tag_suite):
24765         * check/gst/gstvalue.c:
24766         * check/pipelines/cleanup.c:
24767         * check/pipelines/simple_launch_lines.c:
24768         * check/states/sinks.c:
24769           change include statement
24770
24771         * docs/gst/gstreamer-sections.txt:
24772         * docs/gst/tmpl/gstpad.sgml:
24773           document more pad stuff
24774         * gst/gstminiobject.c: (gst_mini_object_ref),
24775         (gst_mini_object_unref):
24776           debug refcounting
24777
24778 2005-08-19  Stefan Kost  <ensonic@users.sf.net>
24779
24780         * docs/gst/tmpl/gst.sgml:
24781         * gst/gst.c:
24782           eliminate another tmpl file, fix spelling in the long-description
24783
24784 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
24785
24786         * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
24787         (test_event), (timediff), (gstevents_suite):
24788           Should fix build on 64-bit arch's
24789
24790 2005-08-18  Andy Wingo  <wingo@pobox.com>
24791
24792         Make sure that when a pipeline goes to PLAYING, that data has
24793         actually hit the sink.
24794
24795         * check/states/sinks.c (test_sink): A sink that doesn't get any
24796         data shouldn't return SUCCESS for going to either PLAYING or
24797         PAUSED. Test also the return values on the way back down.
24798
24799         * gst/gstelement.c (gst_element_set_state): When changing the
24800         state of an element currently changing state asynchronously, go to
24801         lost-state after commiting the pending state. Makes future calls
24802         to get_state continue to return ASYNC.
24803
24804         * gst/base/gstbasesink.c (gst_base_sink_change_state): Return
24805         ASYNC when going to PLAYING if we still don't have preroll, as can
24806         happen with live sources.
24807
24808 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
24809
24810         * docs/pwg/advanced-types.xml:
24811           Hack long paragraph into 2 chunks as a workaround for buggy
24812           jadetex version in sid and breezy that loops infinitely and
24813           eats all RAM.
24814
24815 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
24816
24817         * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
24818         (test_event), (timediff), (gstevents_suite):
24819           Provide more error margin in clock measurements to allow for 
24820           g_get_current_time inaccuracies.
24821
24822 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
24823
24824         * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
24825         (test_event), (timediff), (gstevents_suite):
24826            Fix error message output so I might be able to tell why the
24827            test works here but fails on the build farm.
24828
24829 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
24830
24831         * check/Makefile.am:
24832         * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
24833         (test_event), (timediff), (gstevents_suite), (main):
24834           I wrote a test!
24835
24836         * docs/design/part-seeking.txt:
24837           Spelling correction
24838
24839         * docs/gst/tmpl/gstevent.sgml:
24840         * docs/gst/tmpl/gstfakesrc.sgml:
24841           Docs updates.
24842
24843         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
24844           Treat a buffer-without-newsegment the same as a receiving 
24845           a newsegment not in time format, and disable syncing to the clock
24846           with a warning.
24847
24848         * gst/gstbus.c: (gst_bus_set_sync_handler):
24849           Assert if anyone tries to replace the existing sync_handler for bus, 
24850           as only the owner should be setting it.
24851
24852         * gst/gstevent.h:
24853           Have a fixed set of custom event enums with events identified by
24854           their structure name (as in 0.8), rather than a free-for-all
24855           allowing collisions between enum values from different plugins.
24856
24857         * gst/gstpad.c: (gst_pad_class_init):
24858           Docs change.
24859           
24860         * gst/gstqueue.c: (gst_queue_handle_sink_event):
24861           Handle out-of-band downstream events from the sending thread.
24862
24863 2005-08-17  Andy Wingo  <wingo@pobox.com>
24864
24865         * gst/gstpipeline.c (gst_pipeline_change_state): Interpret
24866         play-timeout==0 to mean no timeout at all. In that case, don't
24867         bother with a get_state or a warning, just return directly, even
24868         if it's ASYNC.
24869
24870         * gst/base/gstbasetransform.c: Debug changes.
24871
24872         * gst/gstutils.h:
24873         * gst/gstutils.c (gst_bin_watch_for_state_change): Add function to
24874         ensure bins post state change messages. A bit of a hack but I can't
24875         think of a way to avoid it.
24876
24877         * check/gst/gstbin.c (test_watch_for_state_change): Added test.
24878
24879 2005-08-16  Andy Wingo  <wingo@pobox.com>
24880
24881         * gst/base/gstadapter.h:
24882         * gst/base/gstadapter.c (gst_adapter_take): New function, like
24883         peek() but you own the data. Not terribly efficient atm.
24884
24885 2005-08-16  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
24886
24887         * gst/gstutils.c: (gst_element_found_tags_for_pad), (push_and_ref),
24888         (gst_element_found_tags):
24889         * gst/gstutils.h:
24890           Add two utility functions for tag handling.
24891
24892 2005-08-16  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
24893
24894         * docs/manual/advanced-dataaccess.xml:
24895         * docs/manual/basics-helloworld.xml:
24896           Fix docs to use _bin_add() before _link(), which fixes the examples
24897           with recent core versions (reported by Madhan Raj M
24898           <raj_madan@rediffmail.com>, #313199).
24899
24900 2005-08-16  Wim Taymans  <wim@fluendo.com>
24901
24902         * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
24903         Added subtract checks.
24904
24905         * docs/design/part-events.txt:
24906         Some more docs about newsegment
24907
24908         * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
24909         Fix FIXME
24910
24911         * gst/gstcaps.c: (gst_caps_to_string):
24912         Add comments, cleanups.
24913         
24914         * gst/gstelement.c: (gst_element_save_thyself):
24915         cleanups
24916         
24917         * gst/gstvalue.c: (gst_value_collect_int_range),
24918         (gst_string_unwrap), (gst_value_union_int_int_range),
24919         (gst_value_union_int_range_int_range),
24920         (gst_value_intersect_int_int_range),
24921         (gst_value_intersect_int_range_int_range),
24922         (gst_value_intersect_double_double_range),
24923         (gst_value_intersect_double_range_double_range),
24924         (gst_value_intersect_list), (gst_value_subtract_int_int_range),
24925         (gst_value_subtract_int_range_int),
24926         (gst_value_subtract_double_range_double),
24927         (gst_value_subtract_double_range_double_range),
24928         (gst_value_subtract_from_list), (gst_value_subtract_list),
24929         (gst_value_can_compare), (gst_value_compare_fraction):
24930         Cleanups, add comments, remove unneeded asserts.
24931
24932 2005-08-15  Thomas Vander Stichele  <thomas at apestaart dot org>
24933
24934         * tools/gst-launch.c: (event_loop):
24935           don't convert NULL structures to strings
24936
24937 2005-08-15  Stefan Kost  <ensonic@users.sf.net>
24938
24939         * docs/gst/gstreamer-sections.txt:
24940           made some defines private
24941         * docs/gst/tmpl/gstconfig.sgml:
24942         * docs/gst/tmpl/gstqueue.sgml:
24943         * docs/gst/tmpl/gsttaglist.sgml:
24944         * docs/gst/tmpl/gsttypes.sgml:
24945         * docs/gst/tmpl/gstutils.sgml:
24946         * docs/pwg/appendix-porting.xml:
24947         * gst/base/gstbasesink.h:
24948         * gst/base/gstbasesrc.c:
24949         * gst/base/gstbasesrc.h:
24950         * gst/elements/gstfakesink.c: (gst_fake_sink_class_init):
24951         * gst/elements/gstfakesrc.c: (gst_fake_src_class_init):
24952         * gst/gstelement.c: (gst_element_class_init):
24953         * gst/gstpad.c: (gst_pad_class_init):
24954         * gst/gstqueue.c: (gst_queue_class_init):
24955         * gst/gstxml.c: (gst_xml_class_init):
24956           documented all undocumented signal inline
24957         * libs/gst/controller/gst-controller.h:
24958           added padding
24959
24960 2005-08-15  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
24961
24962         * docs/pwg/appendix-porting.xml:
24963           Document _set_link_function -> _set_setcaps_function.
24964
24965 2005-08-15  Thomas Vander Stichele  <thomas at apestaart dot org>
24966
24967         * check/Makefile.am:
24968           add a .check target for running the check
24969         * check/gst-libs/controller.c: (GST_START_TEST):
24970           cosmetic fixups
24971         * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
24972           complete checks for gstbuffer; would be nice if I could get the
24973           gcov stuff to work so I can see if I actually completed gstbuffer.c
24974         * check/gstcheck.h:
24975           add ASSERT_BUFFER_REFCOUNT
24976
24977 2005-08-13  Tim-Philipp Müller  <tim at centricular dot net>
24978
24979         * docs/gst/gstreamer-sections.txt:
24980         * gst/gsttag.c: (_gst_tag_initialize), (gst_tag_register):
24981         * gst/gsttag.h:
24982           Add GST_TAG_LANGUAGE_CODE as we have in 0.8, and don't
24983           spew out a warning if a tag that is already registered
24984           is re-registered, unless it is re-registered with a 
24985           different type (#308438).
24986
24987 2005-08-12  Tim-Philipp Müller  <tim at centricular dot net>
24988
24989         * docs/pwg/appendix-porting.xml:
24990         * docs/pwg/building-state.xml:
24991           Add some paragraphs about state changes in 0.9 to the PWG
24992           and the porting guide, in particular about the new meaning
24993           of GST_STATE_PAUSED and how to write state change functions
24994           with concurrent access by multiple threads in mind.
24995
24996 2005-08-11  Stefan Kost  <ensonic@users.sf.net>
24997
24998         * docs/gst/gstreamer-docs.sgml:
24999         * docs/libs/gstreamer-libs-docs.sgml:
25000           added deprecation and since indexes
25001         * libs/gst/controller/gst-controller.c:
25002         * libs/gst/controller/gst-helper.c:
25003           added since tags
25004
25005
25006 2005-08-11  Wim Taymans  <wim@fluendo.com>
25007
25008         * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked),
25009         (gst_proxy_pad_set_target), (gst_proxy_pad_get_target),
25010         (gst_proxy_pad_dispose), (gst_ghost_pad_do_activate_push),
25011         (gst_ghost_pad_do_link), (gst_ghost_pad_set_internal),
25012         (gst_ghost_pad_new_notarget), (gst_ghost_pad_get_target),
25013         (gst_ghost_pad_set_target):
25014         Actually implement (re)setting the target on a ghostpad
25015         as described in the docs.
25016
25017 2005-08-10  Tim-Philipp Müller  <tim at centricular dot net>
25018
25019         * gst/gst.c: (gst_init_check_with_popt_table), (init_pre):
25020           Check whether GST_DEBUG_NO_COLOR environment variable is
25021           set and disable coloured debug output if that is the case.
25022
25023 2005-08-10  Tim-Philipp Müller  <tim at centricular dot net>
25024
25025         * gst/base/gsttypefindhelper.c: (helper_find_peek),
25026         (gst_type_find_helper):
25027           The memory returned by gst_type_find_peek() needs to
25028           stay valid until the end of a typefind function, and
25029           typefind functions may keep results from different 
25030           offsets around, so we can't just unref the buffer from
25031           the previous _peek(), but have to save all buffers 
25032           returned by _peek() until typefinding is done and only
25033           free them then.
25034
25035 2005-08-09  Tim-Philipp Müller  <tim at centricular dot net>
25036
25037         * docs/gst/gstreamer-sections.txt:
25038         * gst/gstutils.h:
25039           New macros: GST_ROUND_UP_2() through GST_ROUND_UP_64().
25040
25041 2005-08-08  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
25042
25043         * gst/base/gstbasetransform.c: (gst_base_transform_buffer_alloc):
25044           Fix a pretty good memleak.
25045
25046 2005-08-08  Tim-Philipp Müller  <tim at centricular dot net>
25047
25048         * gst/gstiterator.h:
25049           Fix wrong include and 'make distcheck'.
25050
25051 2005-08-08  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
25052
25053         * gst/gstbin.c: (bin_bus_handler):
25054           Use gst_element_post_message() instead.
25055
25056 2005-08-08  Tim-Philipp Müller  <tim at centricular dot net>
25057
25058         * gst/base/gstadapter.h:
25059         * gst/base/gstbasesink.h:
25060         * gst/base/gstbasesrc.h:
25061         * gst/base/gstbasetransform.h:
25062         * gst/base/gstcollectpads.h:
25063         * gst/base/gstpushsrc.h:
25064         * gst/gstiterator.h:
25065           Add padding to our base elements' class and instance structs and
25066           to GstIterator (you will need to rebuild all plugins and apps!)
25067
25068 2005-08-08  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
25069
25070         * gst/gstbin.c: (bin_bus_handler):
25071           Make default message forwarding from child->bus to bin->bus
25072           threadsafe and make it not emit warnings if the parent has no bus.
25073
25074 2005-08-08  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
25075
25076         * gst/gstelement.c: (activate_pads):
25077           On paused->ready, set pad->caps to NULL, as is the documented
25078           behaviour in this state change. Fixes playback of series of
25079           media files when visualization is enabled in Totem.
25080
25081 2005-08-07  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
25082
25083         * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
25084           Allow NULL as filter-caps (which means "any").
25085
25086 2005-08-05  Stefan Kost  <ensonic@users.sf.net>
25087
25088         * docs/libs/gstreamer-libs-sections.txt:
25089         * libs/gst/controller/gst-controller.c:
25090         * libs/gst/controller/gst-controller.h:
25091         * libs/gst/controller/gst-helper.c:
25092           adding more entries to the docs and fix small doc-bugs
25093
25094 2005-08-05  Stefan Kost  <ensonic@users.sf.net>
25095
25096         * docs/gst/gstreamer-docs.sgml:
25097         * docs/gst/gstreamer-sections.txt:
25098         * docs/gst/gstreamer.types:
25099         * docs/gst/tmpl/gstbasesink.sgml:
25100         * docs/gst/tmpl/gstbasesrc.sgml:
25101         * docs/gst/tmpl/gstbasetransform.sgml:
25102         * docs/gst/tmpl/gstfakesrc.sgml:
25103         * gst/base/gstcollectpads.c:
25104         * gst/base/gstcollectpads.h:
25105         * libs/gst/controller/gst-controller.c:
25106         * libs/gst/controller/gst-controller.h:
25107         * libs/gst/controller/gst-helper.c:
25108         * libs/gst/controller/gst-interpolation.c:
25109         * libs/gst/controller/lib.c:
25110           added long/short desc for controller docs
25111           added collectpads base class docs
25112           added correct includes to base-class docs
25113
25114 2005-08-05  Stefan Kost  <ensonic@users.sf.net>
25115
25116         * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
25117         (gst_test_mono_source_set_property),
25118         (gst_test_mono_source_class_init), (GST_START_TEST),
25119         (gst_controller_suite):
25120         * docs/gst/gstreamer-docs.sgml:
25121         * docs/gst/gstreamer-sections.txt:
25122         * docs/gst/gstreamer.types:
25123         * docs/libs/gstreamer-libs-docs.sgml:
25124         * docs/libs/gstreamer-libs-sections.txt:
25125         * gst/base/gstadapter.c:
25126         * libs/gst/controller/gst-controller.c:
25127         (gst_controlled_property_new), (gst_controlled_property_free),
25128         (gst_controller_new_valist),
25129         (gst_controller_remove_properties_valist),
25130         (gst_controller_sink_values), (_gst_controller_finalize):
25131         * libs/gst/controller/gst-controller.h:
25132         * libs/gst/controller/gst-helper.c:
25133         (gst_object_control_properties), (gst_object_uncontrol_properties),
25134         (gst_object_get_controller), (gst_object_set_controller),
25135         (gst_object_sink_values), (gst_object_get_value_arrays),
25136         (gst_object_get_value_array):
25137           more tests (and fixes) for the controller
25138           more docs for the controller
25139           integrated companies docs for the adapter 
25140
25141 2005-08-05  Thomas Vander Stichele  <thomas at apestaart dot org>
25142
25143         * check/elements/gstfakesrc.c: (setup_fakesrc), (cleanup_fakesrc),
25144         (GST_START_TEST), (fakesrc_suite):
25145           add tests for sizetype
25146
25147 2005-08-04  Andy Wingo  <wingo@pobox.com>
25148
25149         * gst/elements/gstcapsfilter.c: Reimplement using basetransform,
25150         fixes buffer_alloc proxying among other things.
25151
25152         * gst/base/gstbasetransform.c:
25153         * gst/base/gstbasetransform.h:
25154         Revert patch to gstbasetransform from 7-28 removing
25155         delay_configure.
25156
25157         * gst/base/gstbasetransform.h (GstBaseTransformClass.get_size):
25158         * gst/base/gstbasetransform.c (gst_base_transform_get_size):
25159         Semantics changed, should return not the size of the output buffer
25160         but the byte size of a buffer with a given caps.
25161
25162         * gst/base/gstbasetransform.c (gst_base_transform_getcaps): Better
25163         debug object.
25164         (gst_base_transform_configure_caps): Don't set out_size here: (in,
25165         out) are not the pad caps until setcaps finishes.
25166         (gst_base_transform_buffer_alloc): Proxy the buffer_alloc for the
25167         not-in-place case as well. Deal with changing from in-place to
25168         not-in-place within calling pad_alloc_buffer. Still a bit
25169         concerned about the overhead here...
25170
25171 2005-08-03  Andy Wingo  <wingo@pobox.com>
25172
25173         * gst/base/gstbasetransform.c (gst_base_transform_setcaps): Not
25174         fixating is an error.
25175
25176 2005-08-04  Edward Hervey  <edward@fluendo.com>
25177
25178         * gst/base/gstadapter.h: 
25179         Added gst_adapter_get_type() to the header
25180
25181 2005-08-03  Stefan Kost  <ensonic@users.sf.net>
25182
25183         * check/Makefile.am:
25184         * check/gst-libs/controller.c:
25185         * libs/gst/controller/gst-controller.c:
25186         (gst_controller_new_valist):
25187           added check test suite for the controller
25188         * gst/base/gstpushsrc.c:
25189           fixed a doc typo
25190
25191 2005-08-03  Stefan Kost  <ensonic@users.sf.net>
25192
25193         * docs/gst/Makefile.am:
25194         * docs/gst/gstreamer-docs.sgml:
25195         * docs/gst/gstreamer-sections.txt:
25196         * docs/gst/gstreamer.types:
25197         * docs/gst/tmpl/gstfakesrc.sgml:
25198         * gst/base/README:
25199         * gst/base/gstbasesink.c:
25200         * gst/base/gstbasesink.h:
25201         * gst/base/gstbasesrc.c:
25202         * gst/base/gstbasesrc.h:
25203         * gst/base/gstbasetransform.c:
25204         * gst/base/gstpushsrc.c:
25205         * gst/base/gstpushsrc.h:
25206           add short/long description docs to base classes
25207           add pushsrc to the docs
25208           remove consolidated doc fragments
25209
25210 2005-08-03  Stefan Kost  <ensonic@users.sf.net>
25211
25212         * configure.ac:
25213         * docs/libs/Makefile.am:
25214         * docs/libs/gstreamer-libs-docs.sgml:
25215         * docs/libs/gstreamer-libs-sections.txt:
25216         * docs/libs/gstreamer-libs.types:
25217         * examples/Makefile.am:
25218         * examples/controller/.cvsignore:
25219         * examples/controller/Makefile.am:
25220         * examples/controller/audio-example.c: (main):
25221         * libs/gst/Makefile.am:
25222         * libs/gst/controller/.cvsignore:
25223         * libs/gst/controller/Makefile.am:
25224         * libs/gst/controller/gst-controller.c:
25225         (on_object_controlled_property_changed), (gst_timed_value_compare),
25226         (gst_timed_value_find),
25227         (gst_controlled_property_set_interpolation_mode),
25228         (gst_controlled_property_new), (gst_controlled_property_free),
25229         (gst_controller_find_controlled_property),
25230         (gst_controller_new_valist), (gst_controller_new),
25231         (gst_controller_remove_properties_valist),
25232         (gst_controller_remove_properties), (gst_controller_set),
25233         (gst_controller_set_from_list), (gst_controller_unset),
25234         (gst_controller_get), (gst_controller_get_all),
25235         (gst_controller_sink_values), (gst_controller_get_value_arrays),
25236         (gst_controller_get_value_array),
25237         (gst_controller_set_interpolation_mode),
25238         (_gst_controller_finalize), (_gst_controller_init),
25239         (_gst_controller_class_init), (gst_controller_get_type):
25240         * libs/gst/controller/gst-controller.h:
25241         * libs/gst/controller/gst-helper.c: (g_object_control_properties),
25242         (g_object_uncontrol_properties), (g_object_get_controller),
25243         (g_object_set_controller), (g_object_sink_values),
25244         (g_object_get_value_arrays), (g_object_get_value_array):
25245         * libs/gst/controller/gst-interpolation.c:
25246         (gst_controlled_property_find_timed_value_node),
25247         (interpolate_none_get), (interpolate_trigger_get),
25248         (interpolate_trigger_get_value_array):
25249         * libs/gst/controller/lib.c: (gst_controller_init):
25250         * pkgconfig/Makefile.am:
25251         * pkgconfig/gstreamer-control-uninstalled.pc.in:
25252         * pkgconfig/gstreamer-control.pc.in:
25253         * testsuite/Makefile.am:
25254         * testsuite/controller/.cvsignore:
25255         * testsuite/controller/Makefile.am:
25256         * testsuite/controller/interpolator.c: (main):
25257           added controller code
25258           removed dparam pc files
25259
25260 2005-08-01  Jan Schmidt  <thaytan@mad.scientist.com>
25261         * gst/base/gstcollectpads.c: (gst_collectpads_finalize),
25262         (gst_collectpads_stop):
25263           Broadcast the condition when shutting down, to make sure we wake all
25264           threads up. Shut down pads on finalize, for safety.
25265
25266 2005-08-01  Jan Schmidt  <thaytan@mad.scientist.com>
25267         * gst/base/gstbasetransform.c: (gst_base_transform_init),
25268         (gst_base_transform_handle_buffer),
25269         (gst_base_transform_change_state):
25270           Handle PAUSED->READY->PAUSED transition after negotiation
25271           occurred already.
25272         * gst/gstmessage.c: (gst_message_init):
25273           Extra piece of debug for new messages.
25274
25275 2005-08-01  Stefan Kost  <ensonic@users.sf.net>
25276
25277         * configure.ac:
25278         * docs/gst/tmpl/gstbasesrc.sgml:
25279         * docs/gst/tmpl/gstelement.sgml:
25280         * docs/gst/tmpl/gstevent.sgml:
25281         * docs/gst/tmpl/gstfakesrc.sgml:
25282         * docs/gst/tmpl/gstformat.sgml:
25283         * docs/gst/tmpl/gstghostpad.sgml:
25284         * docs/gst/tmpl/gstpad.sgml:
25285         * docs/gst/tmpl/gstquery.sgml:
25286         * docs/gst/tmpl/gststructure.sgml:
25287         * docs/gst/tmpl/gsttaglist.sgml:
25288         * docs/gst/tmpl/gstvalue.sgml:
25289         * docs/libs/gstreamer-libs-docs.sgml:
25290         * docs/libs/gstreamer-libs-sections.txt:
25291         * docs/libs/gstreamer-libs.types:
25292         * libs/gst/Makefile.am:
25293         * libs/gst/control/.cvsignore:
25294         * libs/gst/control/Makefile.am:
25295         * libs/gst/control/control.c:
25296         * libs/gst/control/control.h:
25297         * libs/gst/control/dparam.c:
25298         * libs/gst/control/dparam.h:
25299         * libs/gst/control/dparam_smooth.c:
25300         * libs/gst/control/dparam_smooth.h:
25301         * libs/gst/control/dparamcommon.h:
25302         * libs/gst/control/dparammanager.c:
25303         * libs/gst/control/dparammanager.h:
25304         * libs/gst/control/dplinearinterp.c:
25305         * libs/gst/control/dplinearinterp.h:
25306         * libs/gst/control/unitconvert.c:
25307         * libs/gst/control/unitconvert.h:
25308         * testsuite/Makefile.am:
25309         * testsuite/dynparams/.cvsignore:
25310         * testsuite/dynparams/Makefile.am:
25311         * testsuite/dynparams/dparamstest.c:
25312         * tools/Makefile.am:
25313         * tools/gst-inspect.c: (print_element_info), (main):
25314         * tools/gst-xmlinspect.c: (print_element_info), (main):
25315           deactivate and remove dparams (libgstcontrol)
25316
25317 2005-08-01  Tim-Philipp Müller  <tim at centricular dot net>
25318
25319         * gst/elements/gsttypefindelement.c:
25320         (gst_type_find_element_have_type), (gst_type_find_element_init),
25321         (stop_typefinding), (gst_type_find_element_handle_event),
25322         (gst_type_find_element_chain), (gst_type_find_element_getrange):
25323         * gst/elements/gsttypefindelement.h:
25324           Set caps on all outgoing buffers, not just the first one.
25325
25326 2005-08-01  Tim-Philipp Müller  <tim at centricular dot net>
25327
25328         * gst/elements/gsttypefindelement.c:
25329         (gst_type_find_element_have_type),
25330         (gst_type_find_element_check_set_buffer_caps),
25331         (gst_type_find_element_init), (stop_typefinding),
25332         (gst_type_find_element_handle_event),
25333         (gst_type_find_element_chain), (gst_type_find_element_getrange):
25334         * gst/elements/gsttypefindelement.h:
25335           Set caps on first outgoing buffer when we've found the type.
25336
25337 2005-08-01  Tim-Philipp Müller  <tim at centricular dot net>
25338
25339         * docs/gst/gstreamer-docs.sgml:
25340         * docs/gst/gstreamer-sections.txt:
25341         * docs/gst/tmpl/gstscheduler.sgml:
25342         * docs/gst/tmpl/gstschedulerfactory.sgml:
25343           Remove some old cruft from docs.
25344
25345 2005-07-31  Tim-Philipp Müller  <tim at centricular dot net>
25346
25347         * gst/gstpad.h:
25348           Fix inline docs for GstPadLinkReturn.
25349           
25350         * gst/gststructure.c: (gst_structure_has_name):
25351         * gst/gststructure.h:
25352         * docs/gst/gstreamer-sections.txt:
25353           New API: gst_structure_has_name().
25354
25355 2005-07-30  Tim-Philipp Müller  <tim at centricular dot net>
25356
25357         * configure.ac:
25358           Use AC_SYS_LARGEFILE, which will set _FILE_OFFSET_BITS=64
25359           and _LARGEFILE_SOURCE in config.h as required. Do not 
25360           export those flags in our .pc files any longer (#142209).
25361
25362           Remove unused GST_DISABLE_OMEGA_COTHREADS stuff.
25363
25364         * gst/elements/gstfilesink.c: (gst_file_sink_class_init),
25365         (gst_file_sink_do_seek), (gst_file_sink_event),
25366         (gst_file_sink_get_current_offset), (gst_file_sink_render):
25367           Redo seek/tell calls with large file support in mind; add some
25368           debugging messages; add log message that tells us when large
25369           file support is unavailable or not enabled for some reason.
25370
25371         * gst/elements/gstfilesrc.c: (gst_file_src_class_init):
25372           Add log message that tells us when large file support 
25373           is unavailable or not enabled for some reason.
25374
25375 2005-07-29  Wim Taymans  <wim@fluendo.com>
25376
25377         * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
25378         Added test for removing an element with ghostpad from a bin.
25379         Fixed test as current implementation does the right thing.
25380
25381         * gst/gstghostpad.c: (gst_proxy_pad_class_init),
25382         (gst_proxy_pad_do_query_type), (gst_proxy_pad_do_event),
25383         (gst_proxy_pad_do_query), (gst_proxy_pad_do_internal_link),
25384         (gst_proxy_pad_do_bufferalloc), (gst_proxy_pad_do_activate),
25385         (gst_proxy_pad_do_activatepull), (gst_proxy_pad_do_activatepush),
25386         (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange),
25387         (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_getcaps),
25388         (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
25389         (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target),
25390         (gst_proxy_pad_get_target), (gst_proxy_pad_init),
25391         (gst_proxy_pad_dispose), (gst_proxy_pad_finalize),
25392         (gst_ghost_pad_class_init), (gst_ghost_pad_do_activate_push),
25393         (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
25394         (gst_ghost_pad_set_internal), (gst_ghost_pad_dispose),
25395         (gst_ghost_pad_new_notarget), (gst_ghost_pad_new),
25396         (gst_ghost_pad_get_target), (gst_ghost_pad_set_target):
25397         * gst/gstghostpad.h:
25398         Clean up ghostpads, remove properties for internal stuff.
25399         Make threadsafe.
25400         Fix refcounting.
25401         Prepare for switching targets, not all use cases work yet.
25402
25403 2005-07-29  Wim Taymans  <wim@fluendo.com>
25404
25405         * docs/design/part-gstghostpad.txt:
25406         Small update.
25407
25408         * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
25409         (gst_bin_remove_func):
25410         Unlinking pads while holding the bin LOCK is not a good
25411         idea.
25412
25413         * gst/gstpad.c: (gst_pad_class_init),
25414         (gst_pad_link_check_hierarchy), (gst_pad_get_caps_unlocked),
25415         (gst_pad_accept_caps), (gst_pad_set_caps), (gst_pad_send_event):
25416         No prob setting template after creating the pad.
25417
25418 2005-07-29  Jan Schmidt  <thaytan@mad.scientist.com>
25419
25420         * gst/gstbus.c: (gst_bus_set_flushing), (gst_bus_pop),
25421         (gst_bus_peek), (gst_bus_source_dispatch),
25422         (gst_bus_add_watch_full), (poll_handler), (poll_timeout),
25423         (poll_destroy), (poll_destroy_timeout), (gst_bus_poll):
25424           gst_bus_poll may be called from other threads. Handle
25425           this nicely by not making poll_data disappear off the
25426           stack once gst_bus_poll returns.
25427           gst_bus_peek now increments the refcount on the returned
25428           message.
25429
25430 2005-07-29  Wim Taymans  <wim@fluendo.com>
25431
25432         * docs/design/part-gstghostpad.txt:
25433         Overview of current GhostPad datastructures and use
25434         cases for changing the target.
25435
25436 2005-07-28  Wim Taymans  <wim@fluendo.com>
25437
25438         * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
25439         Added checks for hierarchy consistency whan adding linked
25440         elements to bins.
25441
25442         * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
25443         Added check to test element scheduling without bin/pipeline.
25444
25445         * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
25446         First add elements to bin, then link.
25447         
25448         * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
25449         (gst_bin_remove_func):
25450         Unlink pads from elements added/removed from bin to maintain
25451         hierarchy consistency.
25452
25453 2005-07-28  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
25454
25455         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
25456         (gst_base_transform_handle_buffer):
25457         * gst/base/gstbasetransform.h:
25458           Remove broken delay_configure (fixes renegotiation of software
25459           scaling pipelines); remove some leftover printf()s.
25460
25461 2005-07-28  Wim Taymans  <wim@fluendo.com>
25462
25463         * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
25464         Added some more tests for wrong hierarchy
25465
25466         * docs/design/part-overview.txt:
25467         Some updates.
25468
25469         * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_dispose):
25470         Cleanups.
25471
25472         * gst/gstelement.c: (gst_element_remove_pad), (gst_element_seek),
25473         (gst_element_dispose):
25474         Some more cleanups.
25475
25476         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
25477         (gst_pad_link_check_hierarchy), (gst_pad_link_prepare),
25478         (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
25479         (gst_pad_set_caps), (gst_pad_send_event):
25480         Check for correct hierarchy when linking pads. Moving to
25481         strict requirement for ghostpads when linking elements in
25482         different bins.
25483
25484         * gst/gstpad.h:
25485         Clean ups. Added WRONG_HIERARCHY return value.
25486
25487 2005-07-28  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
25488
25489         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
25490           Better debug if no transform is possible.
25491
25492 2005-07-27  Wim Taymans  <wim@fluendo.com>
25493
25494         * docs/random/wtay/network-transp:
25495         Some old doc I had.
25496
25497 2005-07-27  Wim Taymans  <wim@fluendo.com>
25498
25499         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
25500         (gst_dp_event_from_packet):
25501         Fix serialization of seek events.
25502
25503 2005-07-27  Wim Taymans  <wim@fluendo.com>
25504
25505         * check/gst-libs/gdp.c: (GST_START_TEST):
25506         * gst/elements/gstfakesink.c: (gst_fake_sink_event):
25507         Fix compilation and fix event serialization.
25508
25509 2005-07-27  Wim Taymans  <wim@fluendo.com>
25510
25511         * CHANGES-0.9:
25512         * docs/design/part-TODO.txt:
25513         * docs/design/part-events.txt:
25514         Some docs updates
25515
25516         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
25517         (gst_base_sink_event), (gst_base_sink_do_sync),
25518         (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
25519         * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
25520         (gst_base_src_do_seek), (gst_base_src_event_handler),
25521         (gst_base_src_loop):
25522         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
25523         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
25524         (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
25525         (gst_base_transform_event), (gst_base_transform_handle_buffer),
25526         (gst_base_transform_set_passthrough),
25527         (gst_base_transform_is_passthrough):
25528         * gst/elements/gstfakesink.c: (gst_fake_sink_event):
25529         * gst/elements/gstfilesink.c: (gst_file_sink_event):
25530         Event updates.
25531
25532         * gst/gstbuffer.h:
25533         Use faster casts.
25534
25535         * gst/gstelement.c: (gst_element_seek):
25536         * gst/gstelement.h:
25537         Update gst_element_seek.
25538
25539         * gst/gstevent.c: (gst_event_finalize), (_gst_event_copy),
25540         (gst_event_new), (gst_event_new_custom), (gst_event_get_structure),
25541         (gst_event_new_flush_start), (gst_event_new_flush_stop),
25542         (gst_event_new_eos), (gst_event_new_newsegment),
25543         (gst_event_parse_newsegment), (gst_event_new_tag),
25544         (gst_event_parse_tag), (gst_event_new_filler), (gst_event_new_qos),
25545         (gst_event_parse_qos), (gst_event_new_seek),
25546         (gst_event_parse_seek), (gst_event_new_navigation):
25547         * gst/gstevent.h:
25548         Make GstEvent use GstStructure. Add parsing code, make sure the
25549         API is sufficiently generic.
25550         Mark possible directions of events and serialization.
25551
25552         * gst/gstmessage.c: (gst_message_init), (gst_message_finalize),
25553         (_gst_message_copy), (gst_message_new_segment_start),
25554         (gst_message_new_segment_done), (gst_message_new_custom),
25555         (gst_message_parse_segment_start),
25556         (gst_message_parse_segment_done):
25557         Small cleanups.
25558
25559         * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
25560         (gst_pad_set_caps), (gst_pad_send_event):
25561         Update for new events. 
25562         Catch events sent in wrong directions.
25563
25564         * gst/gstqueue.c: (gst_queue_link_src),
25565         (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
25566         (gst_queue_handle_src_query):
25567         Event updates.
25568
25569         * gst/gsttag.c:
25570         * gst/gsttag.h:
25571         Remove event code from this file.
25572
25573         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
25574         (gst_dp_event_from_packet):
25575         Event updates.
25576
25577 2005-07-27  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
25578
25579         * gst/base/gstbasetransform.c: (gst_base_transform_getcaps),
25580         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
25581         (gst_base_transform_get_size), (gst_base_transform_handle_buffer):
25582           Make debugging actually useful.
25583
25584 2005-07-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
25585
25586         * gst/gstpad.c: (fixate_value), (gst_pad_default_fixate),
25587         (gst_pad_fixate_caps):
25588           Implement default fixation once again, so that gst_pad_fixate()
25589           actually does anything at all. This probably needs to be some
25590           sort of a last resort, and use profile-based fixation first, but
25591           since that doesn't exist yet, this is the best we have. Fixes
25592           visualization in Totem.
25593
25594 2005-07-22  Wim Taymans  <wim@fluendo.com>
25595
25596         * docs/design/part-events.txt:
25597         Small update.
25598
25599         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
25600         (gst_base_sink_do_sync), (gst_base_sink_activate_push),
25601         (gst_base_sink_activate_pull):
25602         Some more comments.
25603
25604         * gst/elements/gstfakesrc.c: (gst_fake_src_class_init),
25605         (gst_fake_src_create):
25606         Fix handoff marshall.
25607
25608         * gst/elements/gstidentity.c: (gst_identity_class_init),
25609         (gst_identity_transform_ip):
25610         We're a real inplace element.
25611
25612         * gst/gstbus.c: (gst_bus_post):
25613         Added some comments.
25614
25615         * tests/lat.c: (fakesrc), (fakesink), (simple), (queue), (main):
25616         * tests/muxing/case1.c: (main):
25617         * tests/sched/dynamic-pipeline.c: (main):
25618         * tests/sched/interrupt1.c: (main):
25619         * tests/sched/interrupt2.c: (main):
25620         * tests/sched/interrupt3.c: (main):
25621         * tests/sched/runxml.c: (main):
25622         * tests/sched/sched-stress.c: (main):
25623         * tests/seeking/seeking1.c: (event_received), (main):
25624         * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
25625         (main):
25626         * tests/threadstate/threadstate3.c: (main):
25627         * tests/threadstate/threadstate4.c: (main):
25628         * tests/threadstate/threadstate5.c: (main):
25629         Fix the tests.
25630
25631 2005-07-21  Wim Taymans  <wim@fluendo.com>
25632
25633         * docs/design/part-seeking.txt:
25634         Some small additions.
25635
25636         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
25637         (gst_base_sink_get_times), (gst_base_sink_do_sync),
25638         (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
25639         * gst/base/gstbasesink.h:
25640         discont values are gint64, handle the math correctly.
25641
25642         * gst/base/gstbasesrc.c: (gst_base_src_loop):
25643         Make the basesrc report error if the source pad is not linked.
25644
25645         * gst/gstqueue.c: (gst_queue_link_src), (gst_queue_chain),
25646         (gst_queue_loop), (gst_queue_handle_src_query),
25647         (gst_queue_src_activate_push):
25648         Make queue collect data even if the srcpad is not linked.
25649         Start pushing out data as soon as it is linked.
25650
25651         * gst/gstutils.c: (gst_element_unlink), (gst_flow_get_name):
25652         * gst/gstutils.h:
25653         Added gst_flow_get_name() to ease error reporting.
25654
25655 2005-07-20  Wim Taymans  <wim@fluendo.com>
25656
25657         * gst/gstmessage.c: (gst_message_new_segment_start),
25658         (gst_message_new_segment_done), (gst_message_parse_segment_start),
25659         (gst_message_parse_segment_done):
25660         * gst/gstmessage.h:
25661         Added a bunch of messages for advanced seeking.
25662
25663         * gst/parse/grammar.y:
25664         * libs/gst/control/dparammanager.c: (gst_dpman_set_parent),
25665         (gst_dpman_state_changed):
25666         Fix some new-pad -> pad-added signals
25667
25668 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
25669
25670         * docs/manual/appendix-porting.xml:
25671         * docs/pwg/appendix-porting.xml:
25672           Document new-pad/state-change signal renames and the FixedList
25673           type rename.
25674
25675 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
25676
25677         * docs/manual/advanced-autoplugging.xml:
25678         * docs/manual/basics-helloworld.xml:
25679         * docs/manual/basics-pads.xml:
25680         * docs/random/ds/0.9-suggested-changes:
25681         * gst/gstelement.c: (gst_element_class_init), (gst_element_seek):
25682         * gst/gstelement.h:
25683         * gst/gstevent.h:
25684         * gst/gstformat.h:
25685         * gst/gstquery.h:
25686         * gst/gststructure.c: (gst_structure_value_get_generic_type),
25687         (gst_structure_parse_array), (gst_structure_parse_value):
25688         * gst/gstvalue.c: (gst_type_is_fixed),
25689         (gst_value_list_prepend_value), (gst_value_list_append_value),
25690         (gst_value_list_get_size), (gst_value_list_get_value),
25691         (gst_value_transform_array_string), (gst_value_serialize_array),
25692         (gst_value_deserialize_array), (gst_value_intersect_array),
25693         (gst_value_is_fixed), (_gst_value_initialize):
25694         * gst/gstvalue.h:
25695           GstElement::new-pad -> pad-added, GstElement::state-change ->
25696           state-changed, GstValueFixedList -> GstValueArray, add format and
25697           flags as their own arguments in gst_element_seek() (should improve
25698           "bindeability"), remove function generators since they don't work
25699           under a whole bunch of compilers (they were deprecated already
25700           anyway).
25701
25702 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
25703
25704         * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
25705         (_gst_debug_register_funcptr):
25706         * gst/gstinfo.h:
25707           Fix illegal cast on some platforms (#309253).
25708
25709 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
25710
25711         * gst/gstmessage.c: (gst_message_new_custom):
25712         * gst/gstmessage.h:
25713           Add _new_custom, make _new_application a macro to _new_custom.
25714
25715 2005-07-20  Wim Taymans  <wim@fluendo.com>
25716
25717         * gst/base/gstbasesrc.c: (gst_base_src_init),
25718         (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start):
25719         * gst/base/gstbasesrc.h:
25720         Add a gboolean to decide when to push out a discont.
25721
25722         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
25723         (gst_queue_loop), (gst_queue_handle_src_query),
25724         (gst_queue_sink_activate_push), (gst_queue_src_activate_push),
25725         (gst_queue_set_property), (gst_queue_get_property):
25726         Some cleanups.
25727
25728         * tests/threadstate/threadstate1.c: (main):
25729         Make a thread test compile and run... very silly..
25730
25731
25732 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
25733
25734         * docs/manual/appendix-porting.xml:
25735           Mention removal of libgstgconf-0.9.la and existence of gconf
25736           elements.
25737
25738 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
25739
25740         * docs/pwg/advanced-clock.xml:
25741         * docs/pwg/appendix-porting.xml:
25742         * docs/pwg/intro-preface.xml:
25743         * docs/pwg/other-base.xml:
25744         * docs/pwg/other-manager.xml:
25745         * docs/pwg/other-nton.xml:
25746         * docs/pwg/other-ntoone.xml:
25747         * docs/pwg/other-oneton.xml:
25748         * docs/pwg/pwg.xml:
25749           Document base classes, update sections of n-to-1 and 1-to-n (muxer,
25750           demuxer), remove n-to-n (was never written), fix some code examples
25751           and links and update the porting section to include all this.
25752
25753 2005-07-19  Wim Taymans  <wim@fluendo.com>
25754
25755         * gst/gstqueue.c: (gst_queue_init), (gst_queue_handle_sink_event),
25756         (gst_queue_chain), (gst_queue_loop), (gst_queue_handle_src_event),
25757         (gst_queue_handle_src_query), (gst_queue_sink_activate_push),
25758         (gst_queue_src_activate_push), (gst_queue_change_state),
25759         (gst_queue_get_property):
25760         * gst/gstqueue.h:
25761         Propagate GstFlowReturn more intelligently upstream and output
25762         an ERROR/EOS when streaming stopped due to fatal error.
25763
25764 2005-07-19  Wim Taymans  <wim@fluendo.com>
25765
25766         * tools/gst-launch.c: (check_intr), (event_loop), (main):
25767         Don't block forever for the state change to complete, the
25768         pipeline already did with a sensible timeout.
25769
25770 2005-07-19  Wim Taymans  <wim@fluendo.com>
25771
25772         * gst/base/gstbasesrc.c: (gst_base_src_get_range):
25773         Make sure we never call the create function is we
25774         got deactivated.
25775
25776 2005-07-19  Andy Wingo  <wingo@pobox.com>
25777
25778         * gst/parse/parse.l: Attempt to solve bug #172815.
25779
25780 2005-07-19  Wim Taymans  <wim@fluendo.com>
25781
25782         * docs/design/part-clocks.txt:
25783         * docs/design/part-events.txt:
25784         * gst/base/gstbasesrc.c: (gst_base_src_do_seek):
25785         Small docs updates.
25786         Only update the seeking values when we are not
25787         busy streaming.
25788
25789 2005-07-19  Jan Schmidt  <thaytan@mad.scientist.com>
25790
25791         * gst/base/gstbasesrc.c: (gst_base_src_loop):
25792           Oops, ignore the result of gst_pad_push_event here.
25793
25794 2005-07-19  Jan Schmidt  <thaytan@mad.scientist.com>
25795
25796         * gst/base/gstbasesrc.c: (gst_base_src_loop),
25797         (gst_base_src_activate_push):
25798           Send discont event from the loop function, as pads
25799           aren't activated yet in the activate_push handler.
25800
25801         * gst/gstbin.c: (bin_bus_handler):
25802           Don't leak element name.
25803
25804 2005-07-18  Andy Wingo  <wingo@pobox.com>
25805
25806         * configure.ac: Use AS_LIBTOOL_TAGS.
25807
25808 2005-07-18  Wim Taymans  <wim@fluendo.com>
25809
25810         * docs/gst/gstreamer.types:
25811         Remove deleted types.
25812
25813 2005-07-18  Wim Taymans  <wim@fluendo.com>
25814
25815         * check/elements/gstfakesrc.c: (GST_START_TEST):
25816         * configure.ac:
25817         * gst/Makefile.am:
25818         * gst/gst.c: (gst_init_get_popt_table), (init_pre), (init_post),
25819         (init_popt_callback):
25820         * gst/gst.h:
25821         * gst/gst_private.h:
25822         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_add_func),
25823         (gst_bin_remove_func), (gst_bin_get_state), (gst_bin_change_state):
25824         * gst/gstbin.h:
25825         * gst/gstbus.h:
25826         * gst/gstconfig.h.in:
25827         * gst/gstelement.c: (gst_element_class_init),
25828         (gst_element_set_base_time), (gst_element_get_base_time),
25829         (iterator_fold_with_resync), (gst_element_change_state),
25830         (gst_element_dispose), (gst_element_get_bus):
25831         * gst/gstelement.h:
25832         * gst/gstelementfactory.h:
25833         * gst/gsterror.c: (_gst_core_errors_init):
25834         * gst/gsterror.h:
25835         * gst/gstevent.h:
25836         * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
25837         * gst/gstindex.c:
25838         * gst/gstinfo.c: (_gst_debug_init):
25839         * gst/gstmessage.c: (_gst_message_copy):
25840         * gst/gstmessage.h:
25841         * gst/gstminiobject.h:
25842         * gst/gstobject.c:
25843         * gst/gstobject.h:
25844         * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
25845         (gst_pad_set_caps), (gst_pad_start_task), (gst_pad_stop_task):
25846         * gst/gstpad.h:
25847         * gst/gstparse.h:
25848         * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
25849         (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
25850         (gst_pipeline_get_last_stream_time):
25851         * gst/gstpipeline.h:
25852         * gst/gstpluginfeature.h:
25853         * gst/gstquery.h:
25854         * gst/gstscheduler.c:
25855         * gst/gstscheduler.h:
25856         * gst/gststructure.h:
25857         * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
25858         (gst_task_finalize), (gst_task_func), (gst_task_create),
25859         (gst_task_set_lock), (gst_task_get_state), (gst_task_start),
25860         (gst_task_stop), (gst_task_pause):
25861         * gst/gsttask.h:
25862         * gst/gsttypefind.h:
25863         * gst/gsttypes.h:
25864         * gst/registries/gstlibxmlregistry.c: (load_feature),
25865         (gst_xml_registry_load), (gst_xml_registry_save_feature):
25866         * gst/registries/gstxmlregistry.c:
25867         (gst_xml_registry_start_element), (gst_xml_registry_save_feature):
25868         * gst/schedulers/threadscheduler.c:
25869         * libs/gst/control/dparammanager.h:
25870         * tools/gst-inspect.c: (print_element_list),
25871         (print_plugin_features), (print_element_features):
25872         * tools/gst-xmlinspect.c: (print_element_list),
25873         (print_plugin_info), (main):
25874         Removed plugable schedulers.
25875         Removed Scheduler/Manager from elements.
25876         Removed gsttypes.h, rearranged includes.
25877         Removed dependency pad<->element, element<>pipeline, and
25878         various others,  fix includes.
25879         implement gst_pad_get_parent() with gst_object_get_parent()
25880         Make GstTask sefcontained.
25881         Fix _get_state() on GstBin, it did not return ASYNC with a 0
25882         timeout.
25883         Fix endless loop in iterator_fold_with_resync.
25884
25885
25886 2005-07-18  Wim Taymans  <wim@fluendo.com>
25887
25888         * gst/Makefile.am:
25889         * gst/gstarch.h:
25890         Remove old file.
25891
25892 2005-07-18  Wim Taymans  <wim@fluendo.com>
25893
25894         * gst/Makefile.am:
25895         No more cothreads.h
25896
25897 2005-07-18  Wim Taymans  <wim@fluendo.com>
25898
25899         * gst/cothreads.c:
25900         * gst/cothreads.h:
25901         Let's remove these.
25902
25903 2005-07-18  Wim Taymans  <wim@fluendo.com>
25904
25905         * docs/design/part-dynamic.txt:
25906         * docs/design/part-events.txt:
25907         * docs/design/part-seeking.txt:
25908         Some more docs in the works.
25909
25910         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
25911         (gst_base_transform_getcaps), (gst_base_transform_configure_caps),
25912         (gst_base_transform_setcaps), (gst_base_transform_get_size),
25913         (gst_base_transform_buffer_alloc), (gst_base_transform_event),
25914         (gst_base_transform_handle_buffer),
25915         (gst_base_transform_sink_activate_push),
25916         (gst_base_transform_src_activate_pull),
25917         (gst_base_transform_set_passthrough),
25918         (gst_base_transform_is_passthrough):
25919         Refcounting fixes.
25920
25921         * gst/gstbus.c: (gst_bus_source_dispatch), (gst_bus_poll):
25922         Cleanups.
25923
25924         * gst/gstevent.c: (gst_event_finalize):
25925         Set SRC to NULL.
25926
25927         * gst/gstutils.c: (gst_element_unlink),
25928         (gst_pad_get_parent_element), (gst_pad_proxy_getcaps),
25929         (gst_pad_proxy_setcaps):
25930         * gst/gstutils.h:
25931         Add _get_parent_element() to get a pads parent as an element.
25932
25933 2005-07-18  Wim Taymans  <wim@fluendo.com>
25934
25935         * check/gst/gstbin.c: (GST_START_TEST):
25936         Remove bogus test.
25937
25938 2005-07-18  Wim Taymans  <wim@fluendo.com>
25939
25940         * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
25941         (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
25942         (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
25943         (gst_base_sink_event), (gst_base_sink_do_sync),
25944         (gst_base_sink_chain), (gst_base_sink_loop),
25945         (gst_base_sink_deactivate), (gst_base_sink_activate_push),
25946         (gst_base_sink_activate_pull), (gst_base_sink_change_state):
25947         Refcounting fixes.
25948         Fix logic for returning ASYNC when not prerolled.
25949
25950 2005-07-18  Wim Taymans  <wim@fluendo.com>
25951
25952         * gst/gstqueue.c: (gst_queue_handle_sink_event):
25953         Fix nasty refcount bug.
25954
25955 2005-07-16 Philippe Khalaf <burger@speedy.org>
25956
25957         * gst/elements/gstfdsrc.c:
25958         * gst/elements/gstfdsrc.h:
25959         * gst/elements/gstelements.c:
25960         * gst/elements/Makefile.am:
25961         Ported fdsrc to 0.9.
25962
25963 2005-07-16  Wim Taymans  <wim@fluendo.com>
25964
25965         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
25966         (gst_base_sink_do_sync):
25967         Fix compile error.
25968
25969 2005-07-16  Wim Taymans  <wim@fluendo.com>
25970
25971         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
25972         (gst_base_sink_event), (gst_base_sink_get_times),
25973         (gst_base_sink_do_sync), (gst_base_sink_change_state):
25974         * gst/base/gstbasesink.h:
25975         Store and use discont values when syncing buffers as described
25976         in design docs.
25977         
25978         * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
25979         (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start),
25980         (gst_base_src_activate_push):
25981         Push discont event when starting.
25982
25983         * gst/elements/gstidentity.c: (gst_identity_transform):
25984         Small cleanups.
25985
25986         * gst/gstbin.c: (gst_bin_change_state):
25987         Small cleanups in base_time  distribution.
25988
25989         * gst/gstelement.c: (gst_element_set_base_time),
25990         (gst_element_get_base_time), (gst_element_change_state):
25991         * gst/gstelement.h:
25992         Added methods for the base_time of the element.
25993         Some MT fixes.
25994
25995         * gst/gstpipeline.c: (gst_pipeline_send_event),
25996         (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
25997         (gst_pipeline_get_last_stream_time):
25998         * gst/gstpipeline.h:
25999         MT fixes.
26000         Handle seeking as described in design doc, remove stream_time
26001         hack.
26002         Cleanups clock and stream_time selection code. Added accessors
26003         for the stream_time.
26004         
26005
26006 2005-07-16  Andy Wingo  <wingo@pobox.com>
26007
26008         * gst/gsterror.c (_gst_core_errors_init): Use the magic word
26009         (#305291).
26010
26011 2005-07-16  Wim Taymans  <wim@fluendo.com>
26012
26013         * check/gst/gstbin.c: (GST_START_TEST):
26014         Make elements silent as the deep_notify refs the
26015         parent, which might make the test fail.
26016
26017         * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
26018         Don't hold the lock for too long.
26019
26020 2005-07-16  Tim-Philipp Müller  <tim at centricular dot net>
26021
26022         * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
26023           Don't unref the caps we passed to gst_caps_make_writable() after
26024           passing them. gst_caps_make_writable() will do that for us.
26025
26026 2005-07-15  Andy Wingo  <wingo@pobox.com>
26027
26028         * gst/gstcaps.h (gst_caps_is_simple): Removed deprecated macro
26029         (#157311).
26030
26031         * gst/elements/gstidentity.c (marshal_VOID__MINIOBJECT): Write our
26032         own marshalling function for the handoff signal. Properly type the
26033         buffer as a buffer. Fixes some warnings. Should do a more general
26034         solution.
26035         (gst_identity_class_init): Plug into the right marshaller.
26036
26037 2005-07-15  Wim Taymans  <wim@fluendo.com>
26038
26039         * docs/design/part-TODO.txt:
26040         * docs/design/part-clocks.txt:
26041         * docs/design/part-element-sink.txt:
26042         * docs/design/part-events.txt:
26043         * docs/design/part-gstpipeline.txt:
26044         Updated docs, mostly DISCONT related.
26045
26046 2005-07-15  Tim-Philipp Müller  <tim at centricular dot net>
26047
26048         * docs/pwg/building-pads.xml:
26049           s/GST_PAD_LINK_REFUSED/FALSE/ in gst_my_filter_setcaps()
26050
26051 2005-07-15  Andy Wingo  <wingo@pobox.com>
26052
26053         * tools/gst-typefind.c: Update, add copyright block.
26054
26055         * gst/base/gstbasesrc.c (gst_base_src_default_negotiate):
26056         Normalize and truncate caps before fixation.
26057
26058         * gst/gstcaps.h:
26059         * gst/gstcaps.c (gst_caps_truncate): New function, destructively
26060         discards all but the first structure from its argument.
26061
26062 2005-07-15  Wim Taymans  <wim@fluendo.com>
26063
26064         * gst/base/gstbasetransform.c: (gst_base_transform_init),
26065         (gst_base_transform_transform_caps), (gst_base_transform_getcaps),
26066         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
26067         (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
26068         (gst_base_transform_handle_buffer), (gst_base_transform_getrange),
26069         (gst_base_transform_chain), (gst_base_transform_change_state),
26070         (gst_base_transform_set_passthrough),
26071         (gst_base_transform_is_passthrough):
26072         * gst/base/gstbasetransform.h:
26073         Make passthrough work using the bufferpools.
26074         Changed API a bit, subclasses have to write into a buffer
26075         provided by the base class.
26076         More debug info in nego functions.
26077         
26078         * gst/elements/gstidentity.c: (gst_identity_init),
26079         (gst_identity_transform):
26080         Port to new base class.
26081
26082 2005-07-15  Wim Taymans  <wim@fluendo.com>
26083
26084         * gst/gstmessage.c: (gst_message_new_state_changed):
26085         * tools/gst-launch.c: (event_loop), (main):
26086         Totally dump messages in -launch with the -m option.
26087         Fix message name for State messages,
26088
26089 2005-07-14  Wim Taymans  <wim@fluendo.com>
26090
26091         * gst/base/gstbasesrc.c: (gst_base_src_loop):
26092         Post error messages on errors.
26093
26094 2005-07-14  Wim Taymans  <wim@fluendo.com>
26095
26096         * gst/gstcaps.c: (gst_caps_do_simplify):
26097         Remove debug info.
26098
26099         * gst/gsterror.h:
26100         Define error for stream stopped.
26101
26102         * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
26103         (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange):
26104         Do proper return values.
26105
26106         * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
26107         (gst_pad_set_caps), (gst_pad_chain), (gst_pad_push),
26108         (gst_pad_get_range):
26109         Better return values.
26110
26111         * gst/gstpad.h:
26112         Reorganise return values, add macro to check for fatal errors.
26113
26114         * gst/gstqueue.c: (gst_queue_chain):
26115         Return proper GstFlowReturn values,
26116
26117 2005-07-14  Thomas Vander Stichele  <thomas at apestaart dot org>
26118
26119         * docs/gst/gstreamer-sections.txt:
26120         * docs/gst/gstreamer.types:
26121         * docs/gst/tmpl/gst.sgml:
26122         * docs/gst/tmpl/gstbasesink.sgml:
26123         * docs/gst/tmpl/gstbasesrc.sgml:
26124         * docs/gst/tmpl/gstbasetransform.sgml:
26125         * docs/gst/tmpl/gstbin.sgml:
26126         * docs/gst/tmpl/gstbuffer.sgml:
26127         * docs/gst/tmpl/gstcaps.sgml:
26128         * docs/gst/tmpl/gstclock.sgml:
26129         * docs/gst/tmpl/gstcompat.sgml:
26130         * docs/gst/tmpl/gstconfig.sgml:
26131         * docs/gst/tmpl/gstelement.sgml:
26132         * docs/gst/tmpl/gstelementdetails.sgml:
26133         * docs/gst/tmpl/gstelementfactory.sgml:
26134         * docs/gst/tmpl/gstenumtypes.sgml:
26135         * docs/gst/tmpl/gsterror.sgml:
26136         * docs/gst/tmpl/gstevent.sgml:
26137         * docs/gst/tmpl/gstfakesink.sgml:
26138         * docs/gst/tmpl/gstfakesrc.sgml:
26139         * docs/gst/tmpl/gstfilesink.sgml:
26140         * docs/gst/tmpl/gstfilesrc.sgml:
26141         * docs/gst/tmpl/gstfilter.sgml:
26142         * docs/gst/tmpl/gstformat.sgml:
26143         * docs/gst/tmpl/gstghostpad.sgml:
26144         * docs/gst/tmpl/gstimplementsinterface.sgml:
26145         * docs/gst/tmpl/gstindex.sgml:
26146         * docs/gst/tmpl/gstindexfactory.sgml:
26147         * docs/gst/tmpl/gstinfo.sgml:
26148         * docs/gst/tmpl/gstiterator.sgml:
26149         * docs/gst/tmpl/gstmacros.sgml:
26150         * docs/gst/tmpl/gstmemchunk.sgml:
26151         * docs/gst/tmpl/gstminiobject.sgml:
26152         * docs/gst/tmpl/gstobject.sgml:
26153         * docs/gst/tmpl/gstpad.sgml:
26154         * docs/gst/tmpl/gstpadtemplate.sgml:
26155         * docs/gst/tmpl/gstparse.sgml:
26156         * docs/gst/tmpl/gstpipeline.sgml:
26157         * docs/gst/tmpl/gstplugin.sgml:
26158         * docs/gst/tmpl/gstpluginfeature.sgml:
26159         * docs/gst/tmpl/gstquery.sgml:
26160         * docs/gst/tmpl/gstqueue.sgml:
26161         * docs/gst/tmpl/gstregistry.sgml:
26162         * docs/gst/tmpl/gstregistrypool.sgml:
26163         * docs/gst/tmpl/gstscheduler.sgml:
26164         * docs/gst/tmpl/gstschedulerfactory.sgml:
26165         * docs/gst/tmpl/gststructure.sgml:
26166         * docs/gst/tmpl/gstsystemclock.sgml:
26167         * docs/gst/tmpl/gsttaglist.sgml:
26168         * docs/gst/tmpl/gsttagsetter.sgml:
26169         * docs/gst/tmpl/gsttrace.sgml:
26170         * docs/gst/tmpl/gsttrashstack.sgml:
26171         * docs/gst/tmpl/gsttypefind.sgml:
26172         * docs/gst/tmpl/gsttypefindfactory.sgml:
26173         * docs/gst/tmpl/gsttypes.sgml:
26174         * docs/gst/tmpl/gsturihandler.sgml:
26175         * docs/gst/tmpl/gsturitype.sgml:
26176         * docs/gst/tmpl/gstutils.sgml:
26177         * docs/gst/tmpl/gstvalue.sgml:
26178         * docs/gst/tmpl/gstversion.sgml:
26179         * docs/gst/tmpl/gstxml.sgml:
26180         * docs/libs/tmpl/gstcontrol.sgml:
26181         * docs/libs/tmpl/gstdataprotocol.sgml:
26182         * docs/libs/tmpl/gstdparam.sgml:
26183         * docs/libs/tmpl/gstdplinint.sgml:
26184         * docs/libs/tmpl/gstdpman.sgml:
26185         * docs/libs/tmpl/gstdpsmooth.sgml:
26186         * docs/libs/tmpl/gstgetbits.sgml:
26187         * docs/libs/tmpl/gstunitconvert.sgml:
26188         * gst/base/gstpushsrc.c: (gst_push_src_get_type),
26189         (gst_push_src_base_init), (gst_push_src_class_init),
26190         (gst_push_src_init), (gst_push_src_create):
26191         * gst/base/gstpushsrc.h:
26192         * gst/elements/gstelements.c:
26193         * gst/elements/gstfakesink.c: (gst_fake_sink_state_error_get_type),
26194         (gst_fake_sink_base_init), (gst_fake_sink_class_init),
26195         (gst_fake_sink_init), (gst_fake_sink_set_property),
26196         (gst_fake_sink_get_property), (gst_fake_sink_get_times),
26197         (gst_fake_sink_event), (gst_fake_sink_preroll),
26198         (gst_fake_sink_render), (gst_fake_sink_change_state):
26199         * gst/elements/gstfakesink.h:
26200         * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
26201         (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type),
26202         (gst_fake_src_base_init), (gst_fake_src_class_init),
26203         (gst_fake_src_init), (gst_fake_src_event_handler),
26204         (gst_fake_src_alloc_parent), (gst_fake_src_set_property),
26205         (gst_fake_src_get_property), (gst_fake_src_prepare_buffer),
26206         (gst_fake_src_alloc_buffer), (gst_fake_src_get_size),
26207         (gst_fake_src_create_buffer), (gst_fake_src_create),
26208         (gst_fake_src_start), (gst_fake_src_stop):
26209         * gst/elements/gstfakesrc.h:
26210         * gst/elements/gstfilesink.c: (_do_init),
26211         (gst_file_sink_base_init), (gst_file_sink_class_init),
26212         (gst_file_sink_init), (gst_file_sink_dispose),
26213         (gst_file_sink_set_location), (gst_file_sink_set_property),
26214         (gst_file_sink_get_property), (gst_file_sink_open_file),
26215         (gst_file_sink_close_file), (gst_file_sink_query),
26216         (gst_file_sink_event), (gst_file_sink_render),
26217         (gst_file_sink_change_state), (gst_file_sink_uri_get_type),
26218         (gst_file_sink_uri_get_protocols), (gst_file_sink_uri_get_uri),
26219         (gst_file_sink_uri_set_uri), (gst_file_sink_uri_handler_init):
26220         * gst/elements/gstfilesink.h:
26221         * gst/elements/gstfilesrc.c: (_do_init), (gst_file_src_base_init),
26222         (gst_file_src_class_init), (gst_file_src_init),
26223         (gst_file_src_finalize), (gst_file_src_set_location),
26224         (gst_file_src_set_property), (gst_file_src_get_property),
26225         (gst_file_src_map_region), (gst_file_src_map_small_region),
26226         (gst_file_src_create_mmap), (gst_file_src_create_read),
26227         (gst_file_src_create), (gst_file_src_is_seekable),
26228         (gst_file_src_get_size), (gst_file_src_start), (gst_file_src_stop),
26229         (gst_file_src_uri_get_type), (gst_file_src_uri_get_protocols),
26230         (gst_file_src_uri_get_uri), (gst_file_src_uri_set_uri),
26231         (gst_file_src_uri_handler_init):
26232         * gst/elements/gstfilesrc.h:
26233           more autistic cleanliness in functions/names/defines
26234
26235 2005-07-13  Andy Wingo  <wingo@pobox.com>
26236
26237         * gst/base/gstbasesrc.c (gst_base_src_start): Post an error if the
26238         source couldn't negotiate.
26239
26240         * gst/parse/grammar.y: Revert 1.54->1.55, so we now do filtered
26241         connections again.
26242
26243         * gst/gstutils.h:
26244         * gst/gstutils.c (gst_element_link_pads_filtered): New old
26245         function. I am channeling Hades. Put your boots on suckers!!!
26246
26247 2005-07-13  Thomas Vander Stichele  <thomas at apestaart dot org>
26248
26249         * testsuite/caps/Makefile.am:
26250         * testsuite/caps/value_compare.c:
26251         * testsuite/caps/value_intersect.c:
26252         * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
26253           move two testsuite apps over to the check dir
26254
26255 2005-07-12  Wim Taymans  <wim@fluendo.com>
26256
26257         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
26258         Added more debug info in the negotiate process.
26259
26260         * gst/gstmessage.h:
26261         Prepare for segment playback.
26262
26263         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps):
26264         Better debugging.
26265
26266         * gst/gstutils.c:
26267         Some more docs.
26268
26269         * tools/gst-launch.c: (main):
26270         NULL pipeline on errors.
26271
26272 2005-07-12  Andy Wingo  <wingo@pobox.com>
26273
26274         * gst/gstbuffer.c (_gst_buffer_copy): Copy the buffer whether or
26275         not it comes from a malloc region. Make sure our copy gets freed.
26276
26277 2005-07-12  Thomas Vander Stichele  <thomas at apestaart dot org>
26278
26279         * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
26280         * check/gst/gstmessage.c: (GST_START_TEST):
26281         * check/gst/gststructure.c: (GST_START_TEST),
26282         (gst_structure_suite), (main):
26283           more testing
26284         * gst/gstelement.c: (gst_element_message_full):
26285           clean up GError and debug string now that they get copied
26286         * gst/gstmessage.c: (gst_message_new_error),
26287         (gst_message_new_warning), (gst_message_parse_error),
26288         (gst_message_parse_warning):
26289           use GST_TYPE_G_ERROR for structure_new, and take copies of
26290           arguments, so that we don't mess up refcounting
26291
26292 2005-07-12  Thomas Vander Stichele  <thomas at apestaart dot org>
26293
26294         * check/Makefile.am:
26295           add per-test valgrind targets
26296         * check/gst-libs/gdp.c: (GST_START_TEST),
26297         (gst_data_protocol_suite), (main):
26298           clean up
26299
26300 2005-07-12  Thomas Vander Stichele  <thomas at apestaart dot org>
26301
26302         * check/Makefile.am:
26303           instate more valgrindable tests
26304         * check/elements/gstfakesrc.c: (chain_func), (event_func),
26305         (GST_START_TEST), (fakesrc_suite):
26306         * check/gst/gstpad.c: (GST_START_TEST):
26307         * check/gst/gststructure.c: (GST_START_TEST):
26308           fix test leaks
26309         * docs/gst/tmpl/gstminiobject.sgml:
26310         * gst/gstpad.c: (gst_pad_finalize):
26311           fix the static mutex leak
26312
26313 2005-07-11  Thomas Vander Stichele  <thomas at apestaart dot org>
26314
26315         * check/Makefile.am:
26316           add two more tests for valgrinding
26317         * check/gst/gstvalue.c: (GST_START_TEST):
26318           test refcount of deserialized buffer, found a leak
26319         * docs/gst/gstreamer-docs.sgml:
26320         * docs/gst/gstreamer-sections.txt:
26321         * docs/gst/gstreamer.types:
26322         * docs/gst/tmpl/gstminiobject.sgml:
26323           add miniobject to docs
26324         * gst/gstminiobject.c:
26325           add some docs
26326         * gst/gstvalue.c: (gst_value_deserialize_buffer),
26327         (gst_string_unwrap):
26328           fix a hard-to-find invalid write for one of the tests
26329           fix a leak for deserialized buffers
26330
26331 2005-07-11  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
26332
26333         * docs/pwg/advanced-events.xml:
26334         * docs/pwg/advanced-request.xml:
26335         * docs/pwg/advanced-scheduling.xml:
26336         * docs/pwg/appendix-porting.xml:
26337         * docs/pwg/building-boiler.xml:
26338         * docs/pwg/intro-preface.xml:
26339         * docs/pwg/other-ntoone.xml:
26340           Rewrite scheduling-chapter for scheduling model in 0.9. Add lots
26341           of example code and explanation for pad activation, loop() and
26342           getrange() functions and a bit more. Remove old comments pointing
26343           to loop-functions.
26344         * examples/pwg/Makefile.am:
26345           Add loop/getrange examples.
26346
26347 2005-07-11  Thomas Vander Stichele  <thomas at apestaart dot org>
26348
26349         * configure.ac:
26350           check for valgrind binary + some fixes
26351         * check/gst.supp:
26352           valgrind suppressions for the tests
26353         * check/Makefile.am:
26354           add a valgrind: target that valgrinds the unit tests
26355         * check/gst/gst.c: (GST_START_TEST), (gst_suite):
26356         * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
26357         * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
26358         * check/gst/gstghostpad.c:
26359           added some cleanup
26360         * check/gst/gstdata.c:
26361           removed
26362         * check/gst/gstminiobject.c: (GST_START_TEST), (thread_ref),
26363         (thread_unref), (gst_mini_object_suite), (main):
26364           added
26365         * gst/gst.c: (gst_deinit):
26366         * gst/gst.h:
26367           add a method to clean up.
26368         * gst/gstsystemclock.c: (gst_system_clock_dispose),
26369         (gst_system_clock_obtain):
26370           allow for disposing the system clock.
26371         * tools/gst-launch.c: (main):
26372           deinit
26373
26374 2005-07-11  Thomas Vander Stichele  <thomas at apestaart dot org>
26375
26376         * docs/gst/tmpl/gstbasesrc.sgml:
26377         * docs/gst/tmpl/gstfakesrc.sgml:
26378         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
26379         (gst_base_src_init), (gst_base_src_set_property),
26380         (gst_base_src_get_property), (gst_base_src_get_range),
26381         (gst_base_src_start):
26382         * gst/base/gstbasesrc.h:
26383           add num-buffers property
26384         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
26385         (gst_fakesrc_init), (gst_fakesrc_set_property),
26386         (gst_fakesrc_get_property), (gst_fakesrc_create),
26387         (gst_fakesrc_start):
26388           remove num-buffers property
26389
26390 2005-07-10  Thomas Vander Stichele  <thomas at apestaart dot org>
26391
26392         * docs/gst/gstreamer-sections.txt:
26393         * docs/gst/tmpl/gstbasesink.sgml:
26394         * docs/gst/tmpl/gstbasesrc.sgml:
26395         * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
26396         (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
26397         (gst_base_sink_finalize), (gst_base_sink_set_clock),
26398         (gst_base_sink_set_property), (gst_base_sink_get_property),
26399         (gst_base_sink_handle_object), (gst_base_sink_event),
26400         (gst_base_sink_do_sync), (gst_base_sink_handle_event),
26401         (gst_base_sink_handle_buffer), (gst_base_sink_chain),
26402         (gst_base_sink_loop), (gst_base_sink_deactivate),
26403         (gst_base_sink_activate_push), (gst_base_sink_activate_pull),
26404         (gst_base_sink_change_state):
26405         * gst/base/gstbasesink.h:
26406         * gst/base/gstbasesrc.h:
26407         * gst/elements/gstfakesink.c: (gst_fakesink_get_times):
26408         * gst/elements/gstfilesink.c: (gst_filesink_class_init),
26409         (gst_filesink_init):
26410           more macro splitting
26411
26412 2005-07-10  Thomas Vander Stichele  <thomas at apestaart dot org>
26413
26414         * gst/gstelement.c: (gst_element_get_bus):
26415           add debug
26416         * tools/gst-launch.c: (check_intr), (event_loop):
26417           fix bus leaks
26418
26419 2005-07-10  Thomas Vander Stichele  <thomas at apestaart dot org>
26420
26421         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked):
26422           fix a caps leak
26423
26424 2005-07-10  Thomas Vander Stichele  <thomas at apestaart dot org>
26425
26426         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
26427         (gst_base_src_finalize):
26428           add finalize method and clean up properly
26429         * gst/gstpipeline.c: (gst_pipeline_dispose):
26430           add debug
26431
26432 2005-07-09  Thomas Vander Stichele  <thomas at apestaart dot org>
26433
26434         * check/gst/gstbin.c: (pop_messages), (GST_START_TEST),
26435         (gst_bin_suite):
26436           add more things to check
26437         * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
26438         * gst/gstelement.c:
26439           more debug
26440
26441 2005-07-09  Thomas Vander Stichele  <thomas at apestaart dot org>
26442
26443         * check/elements/gstfakesrc.c: (chain_func), (event_func),
26444         (GST_START_TEST), (fakesrc_suite):
26445         * check/gst-libs/gdp.c: (GST_START_TEST):
26446         * check/gst/gst.c: (GST_START_TEST):
26447         * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
26448         * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
26449         * check/gst/gstbus.c: (GST_START_TEST):
26450         * check/gst/gstcaps.c: (GST_START_TEST):
26451         * check/gst/gstdata.c: (GST_START_TEST):
26452         * check/gst/gstelement.c: (GST_START_TEST):
26453         * check/gst/gstghostpad.c: (GST_START_TEST):
26454         * check/gst/gstiterator.c: (GST_START_TEST):
26455         * check/gst/gstmessage.c: (GST_START_TEST):
26456         * check/gst/gstobject.c: (GST_START_TEST):
26457         * check/gst/gstpad.c: (GST_START_TEST):
26458         * check/gst/gststructure.c: (GST_START_TEST):
26459         * check/gst/gstsystemclock.c: (GST_START_TEST),
26460         (gst_systemclock_suite):
26461         * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
26462         * check/gst/gstvalue.c: (GST_START_TEST):
26463         * check/pipelines/cleanup.c: (GST_START_TEST):
26464         * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
26465         * check/states/sinks.c: (GST_START_TEST):
26466         * check/gstcheck.c: (gst_check_init):
26467         * check/gstcheck.h:
26468           add debugging category
26469           use GST_START_TEST now, so we add a debug line
26470
26471 2005-07-09  Thomas Vander Stichele  <thomas at apestaart dot org>
26472
26473         * check/gst/gstbin.c: (START_TEST), (gst_bin_suite):
26474           add test for state change message on a bin
26475         * check/gst/gstelement.c: (START_TEST), (gst_element_suite):
26476           add another test
26477         * gst/gstbin.c: (gst_bin_init):
26478         * gst/gstbus.c: (gst_bus_init), (gst_bus_post):
26479         * gst/gstelement.c: (gst_element_post_message),
26480         (gst_element_set_state):
26481         * gst/gstelementfactory.c: (gst_element_factory_create):
26482         * gst/gstmessage.c: (gst_message_new):
26483         * gst/gstscheduler.c:
26484           various debugging additions and cleanups
26485
26486 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
26487
26488         * check/Makefile.am:
26489         * check/gst/gstelement.c: (START_TEST), (gst_element_suite),
26490         (main):
26491           adding tests for elements
26492         * gst/gstelement.c: (gst_element_dispose):
26493
26494 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
26495
26496         * gst/registries/gstlibxmlregistry.c: (load_feature):
26497           plug more leaks.  A simple gst_init() now is leakfree, yay.
26498
26499 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
26500
26501         * gst/registries/gstlibxmlregistry.c: (read_string), (load_paths),
26502         (gst_xml_registry_load):
26503           plug another memleak
26504
26505 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
26506
26507         * configure.ac:
26508           use GST_SET_ERROR_CFLAGS
26509         * docs/faq/cvs.xml:
26510           change to ERROR_CFLAGS
26511
26512 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
26513
26514         * configure.ac:
26515           make GST_ERROR_CFLAGS overridable and re-enable Werror
26516         * docs/faq/cvs.xml:
26517           add a note about error CFLAGS
26518         * docs/gst/tmpl/gstfakesrc.sgml:
26519         * gst/elements/gstfakesrc.c:
26520           comment out some unused code
26521         * gst/gst.c: (split_and_iterate):
26522         * gst/registries/gstlibxmlregistry.c: (load_pad_template),
26523         (load_feature):
26524           plug some memleaks
26525
26526 2005-07-07  Thomas Vander Stichele  <thomas at apestaart dot org>
26527
26528         * common/Makefile.am:
26529         * common/gtk-doc.mak:
26530         * docs/gst/Makefile.am:
26531           factor out gtk-doc.mak
26532
26533 2005-07-07  Wim Taymans  <wim@fluendo.com>
26534
26535         * gst/schedulers/threadscheduler.c: (gst_thread_scheduler_func),
26536         (gst_thread_scheduler_dispose):
26537         Unlock the STREAM_LOCK completely.
26538
26539 2005-07-07  Thomas Vander Stichele  <thomas at apestaart dot org>
26540
26541         * check/Makefile.am:
26542         * check/elements/.cvsignore:
26543         * check/elements/gstfakesrc.c: (chain_func), (event_func),
26544         (START_TEST), (fakesrc_suite), (main):
26545         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
26546         (gst_fakesrc_set_property), (gst_fakesrc_get_property),
26547         (gst_fakesrc_create), (gst_fakesrc_start):
26548         * gst/elements/gstfakesrc.h:
26549           adding a first element test
26550
26551 2005-07-07  Andy Wingo  <wingo@pobox.com>
26552
26553         * gst/gstbus.c (gst_bus_have_pending): Remove intensely irritating
26554         debug message.
26555
26556 2005-07-07  Wim Taymans  <wim@fluendo.com>
26557
26558         * gst/gstquery.c:
26559         * gst/gstquery.h:
26560         Remove old types
26561
26562 2005-07-07  Wim Taymans  <wim@fluendo.com>
26563
26564         * gst/base/gstbasesrc.c: (gst_base_src_get_range),
26565         (gst_base_src_default_negotiate), (gst_base_src_negotiate):
26566         Allow subclasses to implement their own negotiation.
26567
26568 2005-07-07  Jan Schmidt  <thaytan@mad.scientist.com>
26569
26570         * docs/design/part-gstbin.txt:
26571         * docs/design/part-gstpipeline.txt:
26572           Update design notes to reflect the movement of
26573           responsibility for bus handling from GstPipeline to
26574           GstBin
26575
26576 2005-07-07  Jan Schmidt  <thaytan@mad.scientist.com>
26577
26578         * configure.ac:
26579           Remove unnecessary queue2/3/4 examples.
26580
26581 2005-07-07  Jan Schmidt  <thaytan@mad.scientist.com>
26582
26583         * examples/Makefile.am:
26584         * examples/helloworld/helloworld.c: (event_loop), (main):
26585         * examples/queue/queue.c: (event_loop), (main):
26586         * examples/queue2/queue2.c: (main):
26587           Update a couple of the examples to work again.
26588
26589         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
26590         (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_event):
26591          Spelling corrections and extra debug.
26592         
26593         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init), (is_eos),
26594         (gst_bin_add_func), (bin_element_is_sink), (gst_bin_get_state),
26595         (gst_bin_change_state), (gst_bin_dispose), (bin_bus_handler):
26596         * gst/gstbin.h:
26597         * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
26598         (gst_pipeline_change_state):
26599         * gst/gstpipeline.h:
26600           Move the bus handler for children to the GstBin, and create a
26601           separate bus for receiving messages from children to the one the
26602           bus sends 'upwards' on.
26603
26604 2005-07-06  Wim Taymans  <wim@fluendo.com>
26605
26606         * gst/base/README:
26607         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
26608         (gst_base_sink_handle_object), (gst_base_sink_loop),
26609         (gst_base_sink_change_state):
26610         * gst/base/gstbasesink.h:
26611         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
26612         (gst_base_src_init), (gst_base_src_setcaps),
26613         (gst_base_src_getcaps), (gst_base_src_loop),
26614         (gst_base_src_default_negotiate), (gst_base_src_negotiate),
26615         (gst_base_src_start), (gst_base_src_change_state):
26616         * gst/base/gstbasesrc.h:
26617         Make basesrc negotiate.
26618         Handle the case where preroll fails in basesink.
26619         Update README.
26620
26621 2005-07-06  Wim Taymans  <wim@fluendo.com>
26622
26623         * gst/gstpad.c: (gst_pad_fixate_caps), (gst_pad_accept_caps):
26624         Implement the fixate function.
26625         Clean up acceptcaps.
26626
26627 2005-07-06  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
26628
26629         * docs/pwg/building-filterfactory.xml:
26630         * docs/pwg/pwg.xml:
26631           Remove never-written filter-factory chapter; I'll add the various
26632           base classes to part 4 ("other element types") later on.
26633
26634 2005-07-06  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
26635
26636         * docs/pwg/advanced-negotiation.xml:
26637         * docs/pwg/building-boiler.xml:
26638         * docs/pwg/building-pads.xml:
26639         * docs/pwg/pwg.xml:
26640         * examples/pwg/Makefile.am:
26641           Add a chapter on caps negotiation, simplify the original code
26642           samples a bit w.r.t. caps negotiation, add link to the advanced
26643           section. Add a bunch of examples showing different use cases of
26644           different types of caps negotiation. Upstream renegotiation isn't
26645           fully documented yet since nobody knows how that works.
26646
26647 2005-07-06  Thomas Vander Stichele  <thomas at apestaart dot org>
26648
26649         * check/gst/gstpad.c:
26650         * check/gstcheck.c:
26651         * gst/gstpad.c: (gst_pad_get_internal_links_default):
26652           if pad has no parent, return NULL as list of internal links
26653
26654 2005-07-05  Andy Wingo  <wingo@pobox.com>
26655
26656         * gst/elements/gstfilesrc.c:
26657         * gst/elements/gstfakesrc.c: 
26658         * gst/base/gstpushsrc.c:
26659         * gst/base/gstbasesrc.h: 
26660         * gst/base/gstbasesrc.c: s/BASESRC/BASE_SRC/g.
26661         
26662 2005-07-05  Stefan Kost  <ensonic@users.sf.net>
26663
26664         * Makefile.am:
26665           better report generation target (lcov needs a patch)
26666
26667 2005-07-05  Andy Wingo  <wingo@pobox.com>
26668
26669         * gst/elements, testsuite: Null if we got it...
26670
26671 2005-07-05  Wim Taymans  <wim@fluendo.com>
26672
26673         * configure.ac:
26674         * libs/gst/dataprotocol/Makefile.am:
26675         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_validate_packet):
26676         * libs/gst/dataprotocol/dataprotocol.h:
26677         * pkgconfig/Makefile.am:
26678         * pkgconfig/gstreamer-dataprotocol-uninstalled.pc.in:
26679         * pkgconfig/gstreamer-dataprotocol.pc.in:
26680         Ported dataprotol to 0.9. 
26681         Added pkgconfig files.
26682
26683 2005-07-05  Andy Wingo  <wingo@pobox.com>
26684
26685         * gst/base/gstbasetransform.c (gst_base_transform_setcaps):
26686         Default to returning TRUE for the case when tranform_caps returns
26687         a fixed caps, like for identity or volume.
26688
26689         * check/gst/gstbus.c (pound_bus_with_messages): 
26690         * check/gst/gstmessage.c (START_TEST): 
26691         * check/pipelines/simple_launch_lines.c (got_handoff): Application
26692         message API change.
26693
26694         * gst/base/gstbasetransform.c (gst_base_transform_setcaps): More
26695         logic weaks here: always run transform_caps, trying passthrough
26696         operation only if the original caps intersects with the transform.
26697
26698         * gst/gstpad.c (gst_pad_link_check_compatible_unlocked): Debug
26699         source and sink caps.
26700
26701         * gst/base/gstbasetransform.c (gst_base_transform_getcaps):
26702         Intersect the peer caps with the pad template before going into
26703         transform_caps.
26704         (gst_base_transform_transform_caps): More debugging.
26705
26706         * gst/gstmessage.h (gst_message_new_application): Take a GstObject
26707         src argument.
26708
26709 2005-07-04  Edward Hervey  <edward@fluendo.com>
26710
26711         * gst/gstutils.c:
26712         * gst/gstutils.h:
26713         (gst_pad_add_*_probe): now returns the signal id for better wrapping
26714         in bindings.
26715
26716 2005-07-04  Andy Wingo  <wingo@pobox.com>
26717
26718         * check/gst/gstpad.c: Only set explicit caps on pads.
26719
26720 2005-07-01  Andy Wingo  <wingo@pobox.com>
26721
26722         * tests/network-clock.scm: Commentary update.
26723
26724         * gst/elements/gstidentity.c (PROP_DUPLICATE): Gone daddy gone.
26725         Didn't really make sense, not implementable with basetransform,
26726         etc.
26727         (gst_identity_transform): Unref inbuf via make_writable. Feeble
26728         attempt at implementing the sync property, needs an unlock method.
26729
26730         * gst/base/gstbasetransform.c (gst_base_transform_transform_caps):
26731         New func, by default returns the same caps (the identity
26732         transformation).
26733         (gst_base_transform_getcaps): Uses transform_caps to return
26734         something sensible.
26735         (gst_base_transform_setcaps): Complicated logic to get caps on
26736         both pads, even if they are different, and to call set_caps once
26737         for every time both pads get their caps set.
26738         (gst_base_transform_handle_buffer): Give the ref to the transform
26739         function. Allows in-place modification of the buffer.
26740
26741         * gst/base/gstbasetransform.h (transform_caps): New class method.
26742         Given caps on one side, what can I do on the other.
26743         (set_caps): Take two caps, one for each side of the element.
26744
26745         * gst/gstpad.h:
26746         * gst/gstpad.c (gst_pad_fixate_caps): Change prototype to modify
26747         caps in place. This is safe because we can check the mutability of
26748         the caps, and a good idea because fixate functions are just called
26749         as a matter of last resort. (Not actually implemented.)
26750         (gst_pad_set_caps): If the caps we're setting is actually the same
26751         as the existing pad caps, just update the pointer without calling
26752         setcaps. Assert that caps is either NULL or fixed, as per the
26753         docs.
26754
26755         * gst/gstghostpad.c: Update for fixate changes.
26756
26757 2005-07-02  Andy Wingo  <wingo@pobox.com>
26758
26759         * gst/gstcaps.c:
26760         * gst/gstcaps.h (gst_static_caps_get): Not const return, having
26761         two refcounts makes it immutable, which is enough. Doc more.
26762
26763 2005-07-02  Jan Schmidt  <thaytan@mad.scientist.com>
26764
26765         * gst/gstpad.c: (gst_pad_emit_have_data_signal):
26766           Put the mini_object into GValue as a mini_object,
26767           not a gpointer, since that's how we declared
26768           the signal.
26769
26770 2005-07-01  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
26771
26772         * examples/pwg/Makefile.am:
26773           Fix buildbot again.
26774
26775 2005-07-01  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
26776
26777         * docs/pwg/building-testapp.xml:
26778           Add extra check.
26779         * examples/pwg/Makefile.am:
26780           Fix buildbot.
26781
26782 2005-07-01  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
26783
26784         * configure.ac:
26785         * examples/Makefile.am:
26786         * examples/pwg/Makefile.am:
26787         * examples/pwg/extract.pl:
26788           Enable building the PWG examples.
26789         * docs/pwg/advanced-interfaces.xml:
26790           Add URI interface stub.
26791         * docs/pwg/advanced-types.xml:
26792         * docs/pwg/other-autoplugger.xml:
26793         * docs/pwg/appendix-porting.xml:
26794         * docs/pwg/pwg.xml:
26795           Add porting guide (mostly stubs), remove autoplugging (see ADM).
26796         * docs/pwg/building-boiler.xml:
26797         * docs/pwg/building-chainfn.xml:
26798         * docs/pwg/building-pads.xml:
26799         * docs/pwg/building-props.xml:
26800         * docs/pwg/building-state.xml:
26801         * docs/pwg/building-testapp.xml:
26802           Update the building-*.xml parts for 0.9 changes. All examples
26803           code blocks compile in examples/pwg/*.
26804
26805 2005-06-30  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
26806
26807         * docs/manual/advanced-autoplugging.xml:
26808         * docs/manual/appendix-checklist.xml:
26809         * docs/manual/appendix-integration.xml:
26810         * docs/manual/highlevel-components.xml:
26811           Fix playbin/decodebin examples, update docs a bit, mention bus
26812           instead of signals in various places, mention kmplayer and
26813           kaffeine since they have a working GStreamer backend in the KDE
26814           section.
26815
26816 2005-06-30  Wim Taymans  <wim@fluendo.com>
26817
26818         * CHANGES-0.9:
26819         * docs/design/draft-ghostpads.txt:
26820         * docs/design/draft-push-pull.txt:
26821         * docs/design/draft-query.txt:
26822         * docs/design/part-TODO.txt:
26823         * docs/design/part-query.txt:
26824         Added CHANGES-0.9 doc, updated status of other docs.
26825         
26826         * gst/gstquery.h:
26827         Remove "hmm" macro
26828
26829 2005-06-30  Wim Taymans  <wim@fluendo.com>
26830
26831         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
26832         (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
26833         (gst_base_sink_change_state):
26834         * gst/base/gstbasesink.h:
26835         Some tweaks, only EOS and a buffer complete a preroll.
26836
26837 2005-06-30  Andy Wingo  <wingo@pobox.com>
26838
26839         * gst/gstghostpad.c (gst_ghost_pad_do_activate_push): Proxy
26840         activate_push down to the internal pad as well.
26841
26842 2005-06-30  Torsten Schoenfeld  <kaffeetisch@gmx.de>
26843
26844         Reviewed by:  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
26845
26846         * gst/gsttaginterface.c:
26847           Some documentation fixes (#307394 and #307397).
26848
26849 2005-06-30  Antoine Tremblay  <hexa00@gmail.com>
26850
26851         Reviewed by:  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
26852
26853         * gst/gstvalue.c: (gst_value_intersect_list):
26854           Fix memleak (#309125).
26855
26856 2005-06-30  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
26857
26858         * docs/manual/advanced-dataaccess.xml:
26859           Fix fakesrc example to compile; doesn't work, bug somewhere...?
26860         * docs/manual/basics-pads.xml:
26861           Add reference for filtered caps to above chapter.
26862
26863 2005-06-30  Wim Taymans  <wim@fluendo.com>
26864
26865         * gst/gstbin.c: (clear_queue), (remove_all_from_queue),
26866         (gst_bin_change_state):
26867         Probes are gone.
26868         Lame attempt at making the state change function a bit
26869         more readable.
26870
26871 2005-06-30  Wim Taymans  <wim@fluendo.com>
26872
26873         * docs/design/part-clocks.txt:
26874         * docs/design/part-element-sink.txt:
26875         * docs/design/part-events.txt:
26876         * docs/design/part-preroll.txt:
26877         * docs/design/part-states.txt:
26878         Some more tweeks and additions to the docs.
26879
26880 2005-06-30  Wim Taymans  <wim@fluendo.com>
26881
26882         * gst/gstpad.c: (_gst_do_pass_data_accumulator),
26883         (default_have_data), (gst_pad_class_init), (gst_pad_init),
26884         (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
26885         (gst_pad_check_pull_range), (gst_pad_get_range),
26886         (gst_pad_pull_range), (gst_pad_push_event), (gst_pad_send_event):
26887         * gst/gstpad.h:
26888         * gst/gstutils.c: (gst_atomic_int_set), (gst_pad_add_data_probe),
26889         (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
26890         (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
26891         (gst_pad_remove_buffer_probe):
26892         Removed atomic operations, use existing LOCK.
26893         Move exception handling out of main code path.
26894
26895 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
26896
26897         * gst/gstpad.c: (_gst_do_pass_data_accumulator),
26898         (silly_return_true_function), (gst_pad_class_init),
26899         (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
26900         (gst_pad_get_range), (gst_pad_pull_range), (gst_pad_push_event),
26901         (gst_pad_send_event):
26902           Fix accumulator, add default value by using _emitv() instead
26903           of _emit() for signal emission.
26904
26905 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
26906
26907         * docs/manual/advanced-dataaccess.xml:
26908         * examples/manual/Makefile.am:
26909           Add probe example.
26910         * gst/gstpad.c: (_gst_do_pass_data_accumulator):
26911           Make work (??).
26912
26913 2005-06-29  Tim-Philipp Müller  <tim at centricular dot net>
26914
26915         * gst/elements/gstfilesink.c: (gst_filesink_render):
26916           Simplify code so that we don't have to handle short
26917           writes and return GST_FLOW_ERROR if an error occured.
26918
26919 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
26920
26921         * docs/gst/gstreamer-docs.sgml:
26922           Remove probes more.
26923
26924 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
26925
26926         * docs/gst/gstreamer-sections.txt:
26927         * docs/gst/tmpl/gstpad.sgml:
26928         * docs/gst/tmpl/gstprobe.sgml:
26929         * gst/Makefile.am:
26930         * gst/gstpad.c: (_gst_do_pass_data_accumulator),
26931         (gst_pad_class_init), (gst_pad_init), (gst_pad_chain),
26932         (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
26933         (gst_pad_push_event), (gst_pad_send_event):
26934         * gst/gstpad.h:
26935         * gst/gstutils.c: (gst_pad_add_data_probe),
26936         (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
26937         (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
26938         (gst_pad_remove_buffer_probe):
26939         * gst/gstutils.h:
26940           Remove old probes, add new g-signal-based probes and some utility
26941           functions.
26942
26943 2005-06-29  Edward Hervey  <edward@fluendo.com>
26944
26945         * gst/gstelementfactory.c:
26946         * gst/gstutils.h:
26947         * gst/gstutils.c:
26948         Moved gst_element_factory_can_[sink|src]_caps() to gstutils and added
26949         the definition to the header file.
26950
26951 2005-06-29  Andy Wingo  <wingo@pobox.com>
26952
26953         * docs/gst/Makefile.am (scan-build.stamp): Totally only check
26954         plugins from the source directory.
26955
26956 2005-06-29  Wim Taymans  <wim@fluendo.com>
26957
26958         * docs/gst/tmpl/gstbuffer.sgml:
26959         * docs/gst/tmpl/gstclock.sgml:
26960         Some fixings for blantently wrong text.
26961
26962 2005-06-29  Thomas Vander Stichele  <thomas at apestaart dot org>
26963
26964         * check/Makefile.am:
26965         * gst/gst.c: (add_path_func), (init_pre):
26966         * gst/gstregistry.c: (gst_registry_add_path):
26967           add A GST_PLUGIN_PATH_ONLY env var; if it is set, it will
26968           only scan the GST_PLUGIN_PATH locations, and not add
26969           system locations
26970
26971 2005-06-29  Thomas Vander Stichele  <thomas at apestaart dot org>
26972
26973         * docs/gst/gstreamer-sections.txt:
26974         * docs/gst/tmpl/gstbasesrc.sgml:
26975         * gst/gstelement.c:
26976         * gst/gstelement.h:
26977         * gst/gstevent.c:
26978         * gst/gstutils.c:
26979           doc fixes
26980
26981 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
26982
26983         * docs/manual/advanced-autoplugging.xml:
26984           Fix autoplugging example.
26985
26986 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
26987
26988         * docs/manual/advanced-autoplugging.xml:
26989         * docs/manual/mime-world.fig:
26990           Try to get autoplugging working, fix type detection. Fix text
26991           in hello-world image.
26992
26993 2005-06-29  Wim Taymans  <wim@fluendo.com>
26994
26995         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
26996         (gst_base_sink_change_state):
26997         Small debug line.
26998
26999         * gst/gstclock.h:
27000         map SIGNAL and BROADCAST to the right function.
27001
27002         * gst/gstobject.h:
27003         Remove redundant braces.
27004
27005         * gst/gstpad.c: (gst_pad_set_caps):
27006         Don't call setcaps function when reseting caps to NULL.
27007
27008         * gst/gstsystemclock.c: (gst_system_clock_dispose),
27009         (gst_system_clock_async_thread), (gst_system_clock_id_wait_async),
27010         (gst_system_clock_id_unschedule):
27011         Use BROADCAST as this is what we do.
27012
27013 2005-06-29  Wim Taymans  <wim@fluendo.com>
27014
27015         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
27016         We are actually prerolling before commiting the state
27017         change. 
27018
27019 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
27020
27021         * docs/manual/advanced-clocks.xml:
27022         * docs/manual/advanced-interfaces.xml:
27023         * docs/manual/advanced-metadata.xml:
27024         * docs/manual/advanced-position.xml:
27025         * docs/manual/advanced-schedulers.xml:
27026         * docs/manual/advanced-threads.xml:
27027         * docs/manual/appendix-porting.xml:
27028         * docs/manual/basics-bins.xml:
27029         * docs/manual/basics-bus.xml:
27030         * docs/manual/basics-elements.xml:
27031         * docs/manual/basics-helloworld.xml:
27032         * docs/manual/basics-pads.xml:
27033         * docs/manual/highlevel-components.xml:
27034         * docs/manual/manual.xml:
27035         * docs/manual/thread.fig:
27036           Update (until threads/scheduling) Application Development Manual;
27037           remove GstThread, add GstBus, add simple porting checklist, add
27038           documentation for tag writing, clocks, make all examples until this
27039           part compile and run.
27040         * examples/manual/Makefile.am:
27041           Update from changes to Application Development Manual; add bus
27042           example, remove thread example.
27043
27044 2005-06-28  Wim Taymans  <wim@fluendo.com>
27045
27046         * gst/gstbus.c: (gst_bus_post), (gst_bus_have_pending),
27047         (gst_bus_set_flushing), (gst_bus_pop), (gst_bus_peek),
27048         (gst_bus_source_dispatch):
27049         Add debugging messages.
27050         Make internal methods static.
27051         Handle the case where the bus is flushed in the handler.
27052         
27053         * gst/gstelement.c: (gst_element_get_bus):
27054         Fix refcount in _get_bus();
27055
27056         * gst/gstpipeline.c: (gst_pipeline_change_state),
27057         (gst_pipeline_get_clock_func):
27058         Clock refcounting fixes.
27059         Handle the case where preroll timed out more gracefully.
27060         
27061         * gst/gstsystemclock.c: (gst_system_clock_dispose):
27062         Clean up the internal thread in dispose. This is needed
27063         for subclasses that actually get disposed.
27064         
27065         * gst/schedulers/threadscheduler.c:
27066         (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
27067         (gst_thread_scheduler_dispose):
27068         Free thread pool in dispose.
27069
27070 2005-06-28  Andy Wingo  <wingo@pobox.com>
27071
27072         * tests/network-clock-utils.scm (debug, print-event): New utils.
27073
27074         * tests/network-clock.scm (*debug*, *with-graph*): New parameters.
27075         (*packet-loss*): Unified loss probability.
27076         (network-time): Report out-of-band events.
27077
27078         * tests/plot-data: Add support for out-of-band events. Hack it
27079         into this script instead of passing it down the pipe; should fix
27080         this later.
27081
27082 2005-06-28  Wim Taymans  <wim@fluendo.com>
27083
27084         * docs/gst/gstreamer.types:
27085         * docs/gst/tmpl/gstbasesrc.sgml:
27086         * docs/gst/tmpl/gstpad.sgml:
27087         Docs fixes.
27088
27089 2005-06-28  Wim Taymans  <wim@fluendo.com>
27090
27091         * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
27092         (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_acceptcaps),
27093         (gst_proxy_pad_do_fixatecaps):
27094         Correctly proxy the check_pull_range function.
27095
27096 2005-06-28  Andy Wingo  <wingo@pobox.com>
27097
27098         * tests/network-clock.scm: Removed need for slib.
27099         
27100 2005-06-28  Wim Taymans  <wim@fluendo.com>
27101
27102         * gst/base/gstbasesink.c: (gst_basesink_set_pad_functions),
27103         (gst_basesink_preroll_queue_flush):
27104         * gst/base/gstbasesrc.c: (gst_basesrc_set_dataflow_funcs):
27105         * gst/elements/gsttee.c: (gst_tee_update_pad_functions):
27106         * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
27107         (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
27108         (gst_proxy_pad_set_property):
27109         * gst/gstpad.c:
27110         * gst/gstpad.h:
27111         * gst/gstqueue.c: (gst_queue_init):
27112         The deprecated pad loop function is removed now.
27113
27114 2005-06-28  Andy Wingo  <wingo@pobox.com>
27115
27116         * tests/network-clock.scm (*timeout*, *send-loss*, *recv-loss*):
27117         New parameters, simulate network packet loss.
27118
27119         * tests/network-clock-utils.scm: Initialize the RNG.
27120
27121 2005-06-28  Wim Taymans  <wim@fluendo.com>
27122
27123         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_flush),
27124         (gst_basesink_event), (gst_basesink_deactivate):
27125         Flushing the preroll queue always needs to unlock the waiters.
27126
27127 2005-06-28  Edward Hervey  <edward@fluendo.com>
27128
27129         * gst/gstpipeline.c: (gst_pipeline_send_event): 
27130         Wheen a seek was successful on a pipeline, set the stream_time to the
27131         seek offset in order to have a synchronized stream_time.
27132
27133 2005-06-28  Wim Taymans  <wim@fluendo.com>
27134
27135         * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
27136         (gst_proxy_pad_do_getrange), (gst_proxy_pad_do_checkgetrange),
27137         (gst_proxy_pad_do_getcaps), (gst_proxy_pad_do_acceptcaps),
27138         (gst_proxy_pad_do_fixatecaps):
27139         Call wrapper function instead of just calling the function
27140         pointers. This takes care of any locking and whatmore.
27141
27142 2005-06-28  Wim Taymans  <wim@fluendo.com>
27143
27144         * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push),
27145         (gst_pad_pull_range):
27146         * gst/gstpad.h:
27147         CONNECTED -> LINKED.
27148
27149 2005-06-28  Andy Wingo  <wingo@pobox.com>
27150
27151         * *.c: Don't cast to GST_OBJECT when reffing or unreffing. Large
27152         source-munging commit!!!
27153
27154         * gst/gstobject.c (gst_object_unref, gst_object_ref) 
27155         (gst_object_sink): Take gpointer arguments, not GstObject --
27156         avoids casts. Like GLib.
27157
27158         * gst/gstghostpad.c (gst_proxy_pad_do_activate): Don't proxy
27159         activate.
27160
27161 2005-06-27  Andy Wingo  <wingo@pobox.com>
27162
27163         * gst/base/gsttypefindhelper.c (gst_type_find_helper): Unref any
27164         remaining buffer.
27165
27166         * gst/gsttrace.c (gst_alloc_trace_list_sorted): New helper,
27167         returns a sorted copy of the trace list.
27168         (gst_alloc_trace_print_live): New API, only prints traces with
27169         live objects. Sort the list.
27170         (gst_alloc_trace_print_all): Sort the list.
27171         (gst_alloc_trace_print): Align columns.
27172
27173         * gst/elements/gstttypefindelement.c:
27174         * gst/elements/gsttee.c:
27175         * gst/base/gstbasesrc.c:
27176         * gst/base/gstbasesink.c:
27177         * gst/base/gstbasetransform.c:
27178         * gst/gstqueue.c: Adapt for pad activation changes.
27179
27180         * gst/gstpipeline.c (gst_pipeline_init): Unref after parenting
27181         sched.
27182         (gst_pipeline_dispose): Drop ref on sched.
27183
27184         * gst/gstpad.c (gst_pad_init): Set the default activate func.
27185         (gst_pad_activate_default): Push mode by default.
27186         (pre_activate_switch, post_activate_switch): New stubs, things to
27187         do before and after switching activation modes on pads.
27188         (gst_pad_set_active): Take a boolean and not a mode, dispatch to
27189         the pad's activate function to choose which mode to activate.
27190         Shortcut on deactivation and call the right function directly.
27191         (gst_pad_activate_pull): New API, (de)activates a pad in pull
27192         mode.
27193         (gst_pad_activate_push): New API, same for push mode.
27194         (gst_pad_set_activate_function) 
27195         (gst_pad_set_activatepull_function) 
27196         (gst_pad_set_activatepush_function): Setters for new API.
27197
27198         * gst/gstminiobject.c (gst_mini_object_new, gst_mini_object_free):
27199         Trace all miniobjects.
27200         (gst_mini_object_make_writable): Unref the arg if we copy, like
27201         gst_caps_make_writable.
27202
27203         * gst/gstmessage.c (_gst_message_initialize): No trace init.
27204
27205         * gst/gstghostpad.c (gst_proxy_pad_do_activate) 
27206         (gst_proxy_pad_do_activatepull, gst_proxy_pad_do_activatepush):
27207         Adapt for new pad API.
27208
27209         * gst/gstevent.c (_gst_event_initialize): Don't initialize trace.
27210
27211         * gst/gstelement.h:
27212         * gst/gstelement.c (gst_element_iterate_src_pads) 
27213         (gst_element_iterate_sink_pads): New API functions.
27214         
27215         * gst/gstelement.c (iterator_fold_with_resync): New utility,
27216         should fold into gstiterator.c in some form.
27217         (gst_element_pads_activate): Simplified via use of fold and
27218         delegation of decisions to gstpad->activate.
27219
27220         * gst/gstbus.c (gst_bus_source_finalize): Set the bus to NULL,
27221         help in debugging.
27222
27223         * gst/gstbuffer.c (_gst_buffer_initialize): Ref the buffer type
27224         class once in init, like gstmessage. Didn't run into this issue
27225         but it seems correct. Don't initialize a trace, gstminiobject does
27226         that.
27227
27228         * check/pipelines/simple_launch_lines.c (test_stop_from_app): New
27229         test, runs fakesrc ! fakesink, stopping on ::handoff via a message
27230         to the bus.
27231         (assert_live_count): New util function, uses alloc traces to check
27232         cleanup.
27233
27234         * check/gst/gstghostpad.c (test_ghost_pads): More refcount checks.
27235         To be modified when unlink drops the internal pad.
27236
27237 2005-06-27  Wim Taymans  <wim@fluendo.com>
27238
27239         * gst/gstbin.c: (gst_bin_get_state), (gst_bin_iterate_state_order),
27240         (gst_bin_change_state):
27241         Cleanup the get_state() function a little, make sure it
27242         iterates the same set of elements.
27243         Added stub iterate_state_order().
27244
27245 2005-06-27  Thomas Vander Stichele  <thomas at apestaart dot org>
27246
27247         * docs/gst/gstreamer-docs.sgml:
27248         * docs/gst/gstreamer-sections.txt:
27249         * docs/gst/gstreamer.types:
27250         * docs/gst/tmpl/gstbasesink.sgml:
27251         * docs/gst/tmpl/gstbasesrc.sgml:
27252         * docs/gst/tmpl/gstbasetransform.sgml:
27253         * docs/gst/tmpl/gstelement.sgml:
27254         * docs/gst/tmpl/gstiterator.sgml:
27255         * gst/base/gstbasesrc.c:
27256         * gst/base/gstbasesrc.h:
27257         * gst/base/gstbasetransform.h:
27258         * gst/gstelement.c:
27259         * gst/gstiterator.h:
27260           adding basetransform and iterator docs
27261
27262 2005-06-27  Andy Wingo  <wingo@pobox.com>
27263
27264         * docs/design/part-activation.txt: Notes on how activation should
27265         work -- not quite implemented yet.
27266
27267 2005-06-25  Wim Taymans  <wim@fluendo.com>
27268
27269         * gst/gstghostpad.c: (gst_proxy_pad_do_chain):
27270         At least get the chain function correct, needs more
27271         fixing.
27272
27273 2005-06-25  Wim Taymans  <wim@fluendo.com>
27274
27275         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
27276         (gst_basesink_handle_object), (gst_basesink_event),
27277         (gst_basesink_do_sync), (gst_basesink_handle_event),
27278         (gst_basesink_change_state):
27279         * gst/gsttask.h:
27280         Right, two problems here: ghostpads don't take locks and
27281         glib _rec_mutex_lock_full() with depth==0 still locks.
27282         Catch illegal locking and g_warn them.
27283
27284 2005-06-25  Wim Taymans  <wim@fluendo.com>
27285
27286         * check/states/sinks.c: (START_TEST), (gst_object_suite):
27287         Have to check for completion now...
27288
27289 2005-06-25  Wim Taymans  <wim@fluendo.com>
27290
27291         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
27292         (gst_basesink_handle_object), (gst_basesink_event),
27293         (gst_basesink_do_sync), (gst_basesink_handle_event),
27294         (gst_basesink_change_state):
27295         * gst/gstpad.h:
27296         Unlock STREAM_LOCK whatever the recursion was.
27297
27298 2005-06-25  Wim Taymans  <wim@fluendo.com>
27299
27300         * gst/base/gstbasesink.c: (gst_basesink_set_property),
27301         (gst_basesink_preroll_queue_empty),
27302         (gst_basesink_preroll_queue_flush), (gst_basesink_handle_object),
27303         (gst_basesink_event), (gst_basesink_do_sync),
27304         (gst_basesink_handle_event), (gst_basesink_handle_buffer),
27305         (gst_basesink_chain), (gst_basesink_loop), (gst_basesink_activate),
27306         (gst_basesink_change_state):
27307         Reworked the base sink, handle event and buffer serialisation
27308         correctly and removed possible deadlock.
27309         Handle EOS correctly.
27310
27311 2005-06-25  Wim Taymans  <wim@fluendo.com>
27312
27313         * gst/gstpipeline.c: (is_eos), (pipeline_bus_handler),
27314         (gst_pipeline_change_state):
27315         * tools/gst-launch.c: (check_intr), (event_loop), (main):
27316         Allow elements to post EOS in the state change function.
27317         Fix up -launch, make it exit the poll loop when the
27318         pipeline actually changed state.
27319         Fix up warning parsing in -launch.
27320
27321 2005-06-25  Wim Taymans  <wim@fluendo.com>
27322
27323         * gst/elements/gsttee.c: (gst_tee_chain), (gst_tee_loop),
27324         (gst_tee_sink_activate):
27325         Core takes STREAM_LOCK for us now.
27326
27327 2005-06-25  Wim Taymans  <wim@fluendo.com>
27328
27329         * gst/gstelement.c: (gst_element_get_state_func),
27330         (gst_element_set_state):
27331         * gst/gstelement.h:
27332         * gst/gstmessage.c: (gst_message_parse_error),
27333         (gst_message_parse_warning):
27334         Keep track of current target state while performing a state
27335         change so that subclasses can do something interesting.
27336         Fix parsing of warning/error messages when GError is NULL.
27337
27338 2005-06-24  Thomas Vander Stichele  <thomas at apestaart dot org>
27339
27340         * docs/gst/Makefile.am:
27341         * docs/gst/gstreamer-docs.sgml:
27342         * docs/gst/gstreamer-sections.txt:
27343         * docs/gst/gstreamer.types:
27344         * docs/gst/tmpl/gstbasesink.sgml:
27345         * docs/gst/tmpl/gstbasesrc.sgml:
27346         * docs/gst/tmpl/gstbin.sgml:
27347         * docs/gst/tmpl/gstcompat.sgml:
27348         * docs/gst/tmpl/gstfakesink.sgml:
27349         * docs/gst/tmpl/gstfakesrc.sgml:
27350         * docs/gst/tmpl/gstfilesink.sgml:
27351         * docs/gst/tmpl/gstfilesrc.sgml:
27352         * docs/gst/tmpl/gstindex.sgml:
27353         * docs/manual/appendix-quotes.xml:
27354         * gst/base/gstbasesrc.h:
27355         * gst/elements/gstfakesrc.h:
27356         * gst/gstmessage.h:
27357           start pulling in base classes and elements in our docs
27358
27359 2005-06-24  Stefan Kost  <ensonic@users.sf.net>
27360
27361         * docs/gst/Makefile.am:
27362         * docs/libs/Makefile.am:
27363           fixed make distcheck with gtk-doc 1.3
27364
27365 2005-06-23  Wim Taymans  <wim@fluendo.com>
27366
27367         * gst/gstelement.c: (gst_element_get_state_func),
27368         (gst_element_set_state), (gst_element_change_state):
27369         When the state did not change, also report NO_PREROLL
27370         when it matters.
27371
27372 2005-06-23  Wim Taymans  <wim@fluendo.com>
27373
27374         * gst/gstpad.c: (gst_pad_event_default):
27375         * gst/gstqueue.c: (gst_queue_loop):
27376         No unsafe task pausing please.
27377
27378 2005-06-23  Wim Taymans  <wim@fluendo.com>
27379
27380         * gst/schedulers/threadscheduler.c:
27381         (gst_thread_scheduler_task_start),
27382         (gst_thread_scheduler_task_pause), (gst_thread_scheduler_func):
27383         Ref the task before pushing it on the threadpool. This
27384         makes sure that we have a ref when the threadfunction is
27385         actually called.
27386
27387 2005-06-23  Andy Wingo  <wingo@pobox.com>
27388
27389         * gst/base/gstbasesrc.c (gst_basesrc_get_range): Check if the
27390         offset is greater than the file's size.
27391
27392         * gst/gstobject.h (GST_CLASS_LOCK, GST_CLASS_TRYLOCK) 
27393         (GST_CLASS_UNLOCK, GST_CLASS_GET_LOCK, GstObjectClass)
27394         * gst/gstobject.c (gst_object_class_init): Make the class lock
27395         recursive. Wim won't let me drop deep_notify. Decodebin works
27396         again, whoopdy doo.
27397
27398         * gst/gstghostpad.c (on_int_notify): Catches notify::caps on the
27399         internal pad, and hacks accordingly. Doesn't do it on the target
27400         pad because we change its caps. Probably catches all cases of
27401         interest tho.
27402         (gst_ghost_pad_set_property): Connect to notify::caps as
27403         appropritate.
27404
27405         * tests/network-clock.scm (plot-simulation): Pipe data to the
27406         elite python skript.
27407
27408         * tests/network-clock-utils.scm (define-parameter): New macro,
27409         defines a parameter that can be set via the command line.
27410         (set-parameter!, parse-parameter-arguments): Command line args
27411         parser.
27412
27413         * tests/plot-data: Simple matplotlib-based plotter, takes input on
27414         stdin.
27415
27416 2005-06-23  Jan Schmidt  <thaytan@mad.scientist.com>
27417
27418         * gst/elements/gsttypefindelement.c:
27419         (gst_type_find_element_handle_event):
27420           Don't restart typefinding on a discont.
27421         * gst/gstelement.c: (gst_element_set_state):
27422           Debug spelling fix.
27423         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_send_event):
27424           Allow changing mode of an active pad.
27425           Debug output fixes.
27426         * gst/registries/gstlibxmlregistry.c: (load_feature):
27427           Don't cast a static pad template to a normal pad template.
27428
27429 2005-06-23  Thomas Vander Stichele  <thomas at apestaart dot org>
27430
27431         * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
27432         * gst/gstvalue.c: (gst_value_deserialize_int_helper):
27433           remove gst_strtoll completely, since it didn't actually do
27434           anything more than what g_ascii_strtoull already does.
27435           check for range errors when deserializing
27436           do a cast for the unsigned cases; but further fixing needs
27437           a decision on what the interpretation of "(int)" and
27438           deserialization should be for values that fall outside the
27439           type's boundaries (ie, refuse, or interpret as casting)
27440
27441 2005-06-23  Wim Taymans  <wim@fluendo.com>
27442
27443         * check/Makefile.am:
27444         * check/states/sinks.c: (START_TEST), (gst_object_suite), (main):
27445         * docs/design/part-live-source.txt:
27446         * docs/design/part-states.txt:
27447         * gst/base/gstbasesrc.c: (gst_basesrc_init),
27448         (gst_basesrc_set_live), (gst_basesrc_is_live),
27449         (gst_basesrc_get_range), (gst_basesrc_activate),
27450         (gst_basesrc_change_state):
27451         * gst/base/gstbasesrc.h:
27452         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
27453         (gst_fakesrc_set_property), (gst_fakesrc_get_property):
27454         * gst/gstbin.c: (gst_bin_get_state), (gst_bin_change_state):
27455         * gst/gstelement.c: (gst_element_get_state_func),
27456         (gst_element_set_state):
27457         * gst/gstelement.h:
27458         * gst/gsttypes.h:
27459         * tools/gst-launch.c: (event_loop), (main):
27460         Added support for live sources and other elements that
27461         cannot do preroll.
27462         Updated design docs, added live-source design doc.
27463         Implemented live source functionality in basesrc
27464         Fix error condition in _bin_get_state()
27465         Implement live source handling in -launch.
27466         Added check for live sources.
27467         Fixed case in GstBin where elements were changed state
27468         multiple times.
27469
27470
27471 2005-06-23  Andy Wingo  <wingo@pobox.com>
27472
27473         * check/gst/gstpad.c (test_get_allowed_caps, test_refcount): Fix
27474         borken refcounting.
27475
27476         * gst/gstpad.c (gst_pad_set_caps): Remove needless refs,
27477         gst_caps_replace takes care of this for us.
27478
27479         * gst/gstghostpad.c (gst_proxy_pad_do_setcaps): Call the full
27480         gst_pad_set_caps on the target, not just its setcaps() function.
27481
27482         * tests/network-clock.scm: 
27483         * tests/network-clock-utils.scm: A network clock simulator.
27484         Something of an algorithmic testbed before doing something in C.
27485
27486 2005-06-22  Thomas Vander Stichele  <thomas at apestaart dot org>
27487
27488         * check/Makefile.am:
27489         * check/gst/capslist.h:
27490           copy over from 0.8, and add two with bitmasks specified with
27491           (int) 0xFF...
27492         * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
27493           add test to parse everything from capslist.h
27494         * check/gst/gststructure.c: (START_TEST), (gst_value_suite),
27495         (main):
27496           add test for structure deserialization
27497         * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
27498           add tests for deserialization of strings to int types
27499         * gst/gststructure.c: (gst_structure_nth_field_name):
27500         * gst/gststructure.h:
27501           add a way to get the name of a field referenced by index
27502         * gst/gstvalue.c: (gst_value_deserialize_int_helper):
27503           instead of checking if the resulting long long lies between
27504           min and max, we check if the long long would fit into
27505           a number of bytes for the final type.
27506           This fixes cases where a string represents 2^32 - 1, which
27507           when cast to int would be the (valid) -1, but is bigger than
27508           G_MAXINT
27509
27510 2005-06-22  Thomas Vander Stichele  <thomas at apestaart dot org>
27511
27512         * gst/parse/grammar.y:
27513           add a log line for type deserialization
27514
27515 2005-06-22  Thomas Vander Stichele  <thomas at apestaart dot org>
27516
27517         * check/gst/gstvalue.c: (START_TEST):
27518         * gst/gstvalue.c: (gst_value_deserialize):
27519           return long long, not int, so gint64 deserialization actually
27520           works.  Is there any flag that makes the compiler check this ?
27521           Fixes #308559
27522
27523 2005-06-22  Wim Taymans  <wim@fluendo.com>
27524
27525         * gst/gstbuffer.h:
27526         Added convenience macros for setting buffers in GValue.
27527
27528 2005-06-21  Thomas Vander Stichele  <thomas at apestaart dot org>
27529
27530         * check/gst/.cvsignore:
27531         * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
27532           add a test deserializing int64, and comment part out because
27533           it fails, yay !
27534
27535 2005-06-21  Thomas Vander Stichele  <thomas at apestaart dot org>
27536
27537         * check/Makefile.am:
27538         * check/gst/gstvalue.c: (START_TEST), (gst_value_suite), (main):
27539         * testsuite/Makefile.am:
27540         * testsuite/caps/Makefile.am:
27541         * testsuite/caps/value_serialize.c:
27542         * testsuite/test_gst_init.c:
27543           move a value_serialize test over
27544
27545 2005-06-20  Wim Taymans  <wim@fluendo.com>
27546
27547         * gst/gstpad.c:
27548         Small doc updates.
27549         
27550         * gst/gstvalue.c: (gst_value_compare_buffer),
27551         (gst_value_serialize_buffer), (gst_value_deserialize_buffer),
27552         (gst_value_compare_flags), (gst_value_serialize_flags),
27553         (gst_value_deserialize_flags), (_gst_value_initialize):
27554         Fix serialisation of buffers, they are not boxed types anymore
27555
27556 2005-06-20  Wim Taymans  <wim@fluendo.com>
27557
27558         * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
27559         Testcase to show error in buffer-on-caps serialisation.
27560
27561 2005-06-20  Andy Wingo  <wingo@pobox.com>
27562
27563         * docs/random/wingo/porting-plugins-to-0.9: A pitiful document I
27564         will be adding to later.
27565
27566         * gst/gstsystemclock.c (gst_system_clock_init): Unlock the clock
27567         if its socks fill with rocks.
27568         (gst_system_clock_obtain): Set the name on object construction.
27569         Avoid double-checked locking.
27570
27571 2005-06-20  Tim-Philipp Müller  <tim at centricular dot net>
27572
27573         * gst/gsturi.c: (gst_element_make_from_uri):
27574           Fix potential endless loop.
27575
27576 2005-06-19  Thomas Vander Stichele  <thomas at apestaart dot org>
27577
27578         * check/Makefile.am:
27579           add gsttag
27580         * check/gst/gsttag.c: (check_tags), (START_TEST), (gst_tag_suite),
27581         (main):
27582           move over from testsuite dir and clean up
27583         * configure.ac:
27584         * gst/gsttag.c:
27585         * testsuite/Makefile.am:
27586         * testsuite/tags/.cvsignore:
27587         * testsuite/tags/Makefile.am:
27588         * testsuite/tags/merge.c:
27589           remove testsuite/tags
27590
27591 2005-06-19  Thomas Vander Stichele  <thomas at apestaart dot org>
27592
27593         * docs/gst/gstreamer-sections.txt:
27594         * docs/gst/tmpl/gstenumtypes.sgml:
27595         * win32/gstenumtypes.c:
27596           clean up documentation build a little
27597
27598 2005-06-19  Thomas Vander Stichele  <thomas at apestaart dot org>
27599
27600         * check/gstcheck.h:
27601           add macros for checking refcounts on objects and caps
27602         * check/gst/gstpad.c: (START_TEST), (gst_pad_suite):
27603           add some more unit tests
27604         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
27605         (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_allowed_caps):
27606           fix leaked refcounts (I hope :)) so unittest works
27607         * gst/gstpad.h:
27608           whitespace removal
27609
27610 2005-06-19  Thomas Vander Stichele  <thomas at apestaart dot org>
27611
27612         * configure.ac: back to HEAD
27613
27614 === release 0.9.1 ===
27615
27616 2005-06-17  Thomas Vander Stichele  <thomas at apestaart dot org>
27617
27618         * NEWS:
27619         * RELEASE:
27620           updated
27621
27622 2005-06-17  Andy Wingo  <wingo@pobox.com>
27623
27624         * gst/base/gstbasesink.c (gst_basesink_chain): Remove bogus
27625         assert; it's always possible that the pad gets deactivated in
27626         between the checks in gstpad.c and the implementation. Rely on
27627         finish_preroll() to return a FLUSHING or similar instead of on the
27628         assert.
27629         
27630         * gst/base/gstbasesink.c (gst_basesink_event): Only wait for the
27631         clock and post an EOS message if we come out of finish_preroll in
27632         the playing state.
27633
27634 2005-06-16  David Schleef  <ds@schleef.org>
27635
27636         * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
27637         (gst_capsfilter_set_property): Allow NULL as possible value
27638         for filter_caps property, indicating GST_CAPS_ANY.
27639
27640 2005-06-09  Thomas Vander Stichele  <thomas at apestaart dot org>
27641
27642         * gst/elements/gstfakesrc.c: (gst_fakesrc_create):
27643           fix debug output
27644         * gst/schedulers/Makefile.am:
27645           use libgst prefix
27646         * gstreamer.spec.in:
27647           fix spec for it
27648
27649 2005-06-09  Thomas Vander Stichele  <thomas at apestaart dot org>
27650
27651         * gstreamer.spec.in:
27652           clean up
27653
27654 2005-06-08  Andy Wingo  <wingo@pobox.com>
27655
27656         * gst/gstutils.c: RPAD fixes all around.
27657         (gst_element_link_pads): Refcounting fixes.
27658
27659         * tools/gst-inspect.c:
27660         * tools/gst-xmlinspect.c:
27661         * parse/grammar.y:
27662         * gst/base/gsttypefindhelper.c:
27663         * gst/base/gstbasesink.c:
27664         * gst/gstqueue.c: RPAD fixes.
27665
27666         * gst/gstghostpad.h:
27667         * gst/gstghostpad.c: New ghost pad implementation as full proxy
27668         pads. The tricky thing is they provide both source and sink
27669         interfaces, since they proxy the internal pad for the external
27670         pad, and vice versa. Implement with lower-level ProxyPad objects,
27671         with the interior proxy pad as a child of the exterior ghost pad.
27672         Should write a doc on this.
27673         
27674         * gst/gstpad.h: s/RPAD/PAD/, s/RealPad/Pad/.
27675         (gst_pad_set_name, gst_pad_set_parent): Macros removed, use
27676         gst_object API.
27677         
27678         * gst/gstpad.c: Big changes. No more stub base GstPad, now all
27679         pads are real pads. No ghost pads in this file. Not documenting
27680         the myriad s/RPAD/PAD/ and REALIZE fixes.
27681         (gst_pad_class_init): Add properties for "direction" and
27682         "template". Both are construct-only, so they can't change during
27683         the life of the pad. Fixes properly deriving from GstPad.
27684         (gst_pad_custom_new, gst_pad_custom_new_from_template): Gone. For
27685         derived objects, just set properties when creating the objects via
27686         g_object_new.
27687         (gst_pad_get_parent): Implement as a function, return NULL if the
27688         parent is not an element.
27689         (gst_pad_get_real_parent, gst_pad_add_ghost_pad)
27690         (gst_pad_remove_ghost_pad, gst_pad_realize): Removed.
27691         
27692         * gst/gstobject.c (gst_object_class_init): Make name a construct
27693         property. Don't set it in the object init.
27694
27695         * gst/gstelement.c (gst_element_add_pad): Don't allow adding pads
27696         with UNKNOWN direction.
27697         (gst_element_add_ghost_pad): Remove non-orthogonal API. Replace
27698         with gst_element_add_pad (e, gst_ghost_pad_new (name, pad)).
27699         (gst_element_remove_pad): Remove ghost-pad special cases.
27700         (gst_element_pads_activate): Remove rpad cruft.
27701
27702         * gst/gstbin.c (gst_bin_change_state): Use gst_pad_get_parent to
27703         catch the pad's-parent-not-an-element case.
27704
27705         * gst/gst.h: Include gstghostpad.h.
27706
27707         * gst/gst.c (init_post): No more real, ghost pads.
27708
27709         * gst/Makefile.am: Add gstghostpad.[ch].
27710
27711         * check/Makefile.am:
27712         * check/gst/gstbin.c:
27713         * check/gst/gstghostpad.c (test_ghost_pads): Check that linking
27714         into a bin creates ghost pads, and that the refcounts are right.
27715         Partly moved from gstbin.c.
27716
27717 2005-06-08  Thomas Vander Stichele  <thomas at apestaart dot org>
27718
27719         * check/gst-libs/.cvsignore:
27720         * check/gst/.cvsignore:
27721         * check/pipelines/.cvsignore:
27722           ignore more
27723         * check/pipelines/cleanup.c: (setup_pipeline), (run_pipeline),
27724         (START_TEST), (cleanup_suite), (main):
27725           add some tests related to cleanup after running pipelines
27726
27727 2005-06-08  Thomas Vander Stichele  <thomas at apestaart dot org>
27728
27729         * check/gst/gstbuffer.c: (START_TEST), (gst_test_suite), (main):
27730           add a testsuite for GstBuffer
27731
27732 2005-06-08  Thomas Vander Stichele  <thomas at apestaart dot org>
27733
27734         * gst/gstminiobject.h:
27735           add defines for accessing the refcount
27736
27737 2005-06-03  Stefan Kost  <ensonic@users.sf.net>
27738
27739         * Makefile.am: added support for html unit test coverage reports
27740
27741 2005-06-03  Jan Schmidt  <thaytan@mad.scientist.com>
27742
27743         * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
27744           Free existing caps if the capsfilter changes. Add a FIXME about
27745           setting those caps on the pads.
27746
27747         * gst/gstutils.c: (gst_element_get_compatible_pad), (ghost_up):
27748           Before adding a ghost pad to a parent bin, check that there isn't
27749           already one for the element on the bin. Prevents infinite recursion
27750           when using decodebin in parse pipelines. Andy says he'll rewrite the
27751           way this works anyway, so ignore the hack.
27752
27753 2005-06-02  Andy Wingo  <wingo@pobox.com>
27754
27755         * gst/elements/gsttypefindelement.c (do_pull_typefind): Query the
27756         file size, pass it on to the type find helper.
27757
27758         * gst/base/gstbasesrc.c (gst_basesrc_do_seek): Set the
27759         segment_start and segment_end properly according to the seek
27760         method. Segment_end is still a bit flaky because offset can be
27761         negative for CUR and END cases, but it takes -1 as an "unset"
27762         value.
27763
27764 2005-06-02  Wim Taymans  <wim@fluendo.com>
27765
27766         * gst/base/gstbasesink.c: (gst_basesink_pad_buffer_alloc),
27767         (gst_base_sink_buffer_alloc), (gst_basesink_preroll_queue_push),
27768         (gst_basesink_activate):
27769         * gst/base/gstbasesink.h:
27770         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
27771         (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
27772         (gst_pad_query), (gst_pad_start_task):
27773         * gst/gstpad.h:
27774         * gst/gstqueue.c: (gst_queue_bufferalloc),
27775         (gst_queue_handle_sink_event), (gst_queue_chain):
27776         Bufferalloc: return GstFlowReturn to more accuratly report
27777         why allocation failed.
27778
27779 2005-06-02  Wim Taymans  <wim@fluendo.com>
27780
27781         * gst/gstpipeline.c: (gst_pipeline_send_event):
27782         Take snapshot of state without blocking.
27783
27784 2005-06-02  Wim Taymans  <wim@fluendo.com>
27785
27786         * docs/design/part-TODO.txt:
27787         * docs/design/part-caps.txt:
27788         * docs/design/part-clocks.txt:
27789         * docs/design/part-negotiation.txt:
27790         * docs/design/part-preroll.txt:
27791         Small doc updates 
27792
27793 2005-05-30  Wim Taymans  <wim@fluendo.com>
27794
27795         * gst/elements/gstidentity.c: (gst_identity_event),
27796         (gst_identity_transform), (gst_identity_get_property):
27797         Protect last_message property as it is accessed from
27798         multiple threads.
27799
27800 2005-05-30  Wim Taymans  <wim@fluendo.com>
27801
27802         * gst/gstelement.c: (gst_element_init),
27803         (gst_element_pads_activate), (gst_element_change_state):
27804         Slicker pad activation code.
27805
27806 2005-05-30  Wim Taymans  <wim@fluendo.com>
27807
27808         * gst/Makefile.am:
27809         * gst/gstelement.h:
27810         * gst/gstelementfactory.h:
27811         * gst/gsttypes.h:
27812         Move elementfactory methods to separate .h file.
27813
27814 2005-05-30  Wim Taymans  <wim@fluendo.com>
27815
27816         * docs/design/part-overview.txt:
27817         * gst/gstsystemclock.h:
27818         Small typo fixes, doc updates.
27819
27820 2005-05-30  Wim Taymans  <wim@fluendo.com>
27821
27822         * gst/gst.c: (gst_init_get_popt_table), (init_post),
27823         (init_popt_callback):
27824         Remove cpu-opt flag.
27825
27826 2005-05-30  Wim Taymans  <wim@fluendo.com>
27827
27828         * gst/gstbuffer.c: (gst_subbuffer_finalize),
27829         (gst_buffer_create_sub), (gst_buffer_is_span_fast):
27830         * gst/gstbuffer.h:
27831         Avoid typechecking in places where not needed.
27832         Added accessor for malloc_data.
27833
27834 2005-05-30  Wim Taymans  <wim@fluendo.com>
27835
27836         * gst/gstpad.c: (gst_real_pad_init), (gst_pad_set_active),
27837         (gst_pad_link_prepare), (gst_pad_link), (gst_pad_accept_caps),
27838         (gst_pad_configure_sink), (gst_pad_configure_src),
27839         (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_send_event),
27840         (gst_pad_start_task):
27841         Propagate errors from _set_caps() in configure_src/sink
27842         functions instead of returning TRUE.
27843         FLUSH events can travel up and downstream
27844
27845
27846 2005-05-30  Wim Taymans  <wim@fluendo.com>
27847
27848         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
27849         (gst_basesink_activate):
27850         Handle EOS in preroll.
27851
27852 2005-05-30  Wim Taymans  <wim@fluendo.com>
27853
27854         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
27855         (gst_queue_loop), (gst_queue_handle_src_event):
27856         Remove old pieces of code
27857         Flushing the queue in an upstream event is a very bad idea.
27858
27859 2005-05-26  Andy Wingo  <wingo@pobox.com>
27860
27861         * gst/gstminiobject.c (gst_value_mini_object_collect): Use
27862         gst_value_set_mini_object so as to add a ref on the object (which
27863         will be removed when the value is unset).
27864
27865         * gst/elements/gstfakesink.c (gst_fakesink_class_init): Fix signal
27866         arg type in ::handoff.
27867
27868         * gst/gstelement.c (gst_element_change_state): Also deactivate
27869         pads in READY->NULL, just in case the element didn't make it to
27870         PAUSED. Wingo tested, Wim approved.
27871
27872 2005-05-26  Wim Taymans  <wim@fluendo.com>
27873
27874         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
27875         (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
27876         (gst_pad_query), (gst_pad_send_event), (gst_pad_start_task):
27877         A flushing pad cannot be used to alloc_buffer from.
27878
27879 2005-05-26  Wim Taymans  <wim@fluendo.com>
27880
27881         * gst/gstbus.c: (gst_bus_init), (gst_bus_dispose), (gst_bus_post),
27882         (gst_bus_pop), (gst_bus_source_prepare), (gst_bus_source_check),
27883         (gst_bus_source_dispatch), (gst_bus_source_finalize),
27884         (gst_bus_create_watch), (gst_bus_add_watch_full):
27885         * gst/gstbus.h:
27886         Implement a real GSource and use g_main_context_wakeup() to
27887         signal new messages instead of the socketpair.
27888
27889 2005-05-25  Wim Taymans  <wim@fluendo.com>
27890
27891         * gst/gstbin.c: (bin_element_is_sink), (has_ancestor),
27892         (bin_element_is_semi_sink), (append_child), (gst_bin_change_state):
27893         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
27894         (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
27895         (gst_pad_send_event), (gst_pad_start_task):
27896         * gst/gstqueue.c: (gst_queue_init), (gst_queue_locked_flush),
27897         (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
27898         (gst_queue_sink_activate), (gst_queue_src_activate),
27899         (gst_queue_change_state):
27900         * gst/gstqueue.h:
27901         Fix state changes for non sinks. We now change sinks, then elements
27902         with unconnected srcpads, then the rest.
27903         More efficient queue unlocking in flush and state changes.
27904         Set the pad activate mode even if it does not have an activate
27905         function.
27906
27907 2005-05-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
27908
27909         * gst/base/gstbasesrc.c: (gst_basesrc_activate):
27910           Don't go in pull mode for non-seekable sources.
27911         * gst/elements/gsttypefindelement.h:
27912         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
27913         (gst_type_find_element_dispose), (gst_type_find_handle_src_query),
27914         (free_entry), (stop_typefinding),
27915         (gst_type_find_element_handle_event), (find_peek),
27916         (gst_type_find_element_chain), (do_pull_typefind),
27917         (gst_type_find_element_change_state):
27918           Allow typefinding (w/o seeking) in push-mode, simplified version
27919           of what was in 0.8.
27920         * gst/gstutils.c: (gst_buffer_join):
27921         * gst/gstutils.h:
27922           gst_buffer_join() from 0.8.
27923
27924 2005-05-25  Wim Taymans  <wim@fluendo.com>
27925
27926         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
27927         (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
27928         (gst_pad_send_event), (gst_pad_start_task):
27929         Disable attempt at mode switching until it is figured out.
27930
27931 2005-05-25  Wim Taymans  <wim@fluendo.com>
27932
27933         * gst/base/gstadapter.c: (gst_adapter_peek), (gst_adapter_flush):
27934         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
27935         (gst_basesink_finish_preroll), (gst_basesink_chain),
27936         (gst_basesink_loop), (gst_basesink_activate),
27937         (gst_basesink_change_state):
27938         * gst/base/gstbasesrc.c: (gst_basesrc_do_seek),
27939         (gst_basesrc_get_range), (gst_basesrc_loop),
27940         (gst_basesrc_activate):
27941         * gst/elements/gsttee.c: (gst_tee_sink_activate):
27942         * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
27943         (gst_real_pad_init), (gst_real_pad_set_property),
27944         (gst_real_pad_get_property), (gst_pad_set_active),
27945         (gst_pad_is_active), (gst_pad_get_query_types), (gst_pad_unlink),
27946         (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_real_parent),
27947         (gst_real_pad_get_caps_unlocked), (gst_pad_peer_get_caps),
27948         (gst_pad_accept_caps), (gst_pad_get_peer), (gst_pad_realize),
27949         (gst_pad_event_default_dispatch), (gst_pad_event_default),
27950         (gst_pad_dispatcher), (gst_pad_query), (gst_real_pad_dispose),
27951         (gst_pad_save_thyself), (handle_pad_block), (gst_pad_chain),
27952         (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
27953         (gst_pad_send_event), (gst_pad_start_task), (gst_pad_pause_task),
27954         (gst_pad_stop_task):
27955         * gst/gstpad.h:
27956         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
27957         (gst_queue_loop), (gst_queue_src_activate):
27958         * gst/gsttask.c: (gst_task_init), (gst_task_set_lock),
27959         (gst_task_get_state):
27960         * gst/gsttask.h:
27961         * gst/schedulers/threadscheduler.c:
27962         (gst_thread_scheduler_task_start), (gst_thread_scheduler_func):
27963         Implement gst_pad_pause/start/stop_task(), take STREAM lock
27964         in task function.
27965         Remove ACTIVE pad flag, use FLUSHING everywhere
27966         Added _pad_chain(), _pad_get_range() to call chain/getrange 
27967         functions.
27968         Add locks around IS_FLUSHING when reading.
27969         Take STREAM lock in chain(), get_range() functions so plugins
27970         don't need to take it anymore.
27971         
27972
27973
27974 2005-05-25  Wim Taymans  <wim@fluendo.com>
27975
27976         * tools/gst-launch.c: (event_loop):
27977         Unref message after using its contents instead of
27978         before.
27979
27980 2005-05-24  Wim Taymans  <wim@fluendo.com>
27981
27982         * docs/design/draft-ghostpads.txt:
27983         * docs/design/draft-push-pull.txt:
27984         * docs/design/draft-query.txt:
27985         * docs/design/part-overview.txt:
27986         Docs updates, added general overview doc.
27987
27988 2005-05-21  David Schleef  <ds@schleef.org>
27989
27990         * docs/gst/tmpl/old/GstBin.sgml:
27991         * docs/gst/tmpl/old/GstBuffer.sgml:
27992         * docs/gst/tmpl/old/GstCaps.sgml:
27993         * docs/gst/tmpl/old/GstClock.sgml:
27994         * docs/gst/tmpl/old/GstCompat.sgml:
27995         * docs/gst/tmpl/old/GstData.sgml:
27996         * docs/gst/tmpl/old/GstElement.sgml:
27997         * docs/gst/tmpl/old/GstEvent.sgml:
27998         * docs/gst/tmpl/old/GstIndex.sgml:
27999         * docs/gst/tmpl/old/GstStructure.sgml:
28000         * docs/gst/tmpl/old/GstTag.sgml:
28001         * docs/gst/tmpl/old/cothreads.sgml:
28002         * docs/gst/tmpl/old/cothreads_compat.sgml:
28003         * docs/gst/tmpl/old/gettext.sgml:
28004         * docs/gst/tmpl/old/gobject2gtk.sgml:
28005         * docs/gst/tmpl/old/grammar.tab.sgml:
28006         * docs/gst/tmpl/old/gst-i18n-app.sgml:
28007         * docs/gst/tmpl/old/gst-i18n-lib.sgml:
28008         * docs/gst/tmpl/old/gst_private.sgml:
28009         * docs/gst/tmpl/old/gstaggregator.sgml:
28010         * docs/gst/tmpl/old/gstarch.sgml:
28011         * docs/gst/tmpl/old/gstatomic_impl.sgml:
28012         * docs/gst/tmpl/old/gstbufferstore.sgml:
28013         * docs/gst/tmpl/old/gstdata_private.sgml:
28014         * docs/gst/tmpl/old/gstdisksink.sgml:
28015         * docs/gst/tmpl/old/gstdisksrc.sgml:
28016         * docs/gst/tmpl/old/gstelementfactory.sgml:
28017         * docs/gst/tmpl/old/gstextratypes.sgml:
28018         * docs/gst/tmpl/old/gstfakesink.sgml:
28019         * docs/gst/tmpl/old/gstfakesrc.sgml:
28020         * docs/gst/tmpl/old/gstfdsink.sgml:
28021         * docs/gst/tmpl/old/gstfdsrc.sgml:
28022         * docs/gst/tmpl/old/gstfilesink.sgml:
28023         * docs/gst/tmpl/old/gstfilesrc.sgml:
28024         * docs/gst/tmpl/old/gsthttpsrc.sgml:
28025         * docs/gst/tmpl/old/gstidentity.sgml:
28026         * docs/gst/tmpl/old/gstindexfactory.sgml:
28027         * docs/gst/tmpl/old/gstmarshal.sgml:
28028         * docs/gst/tmpl/old/gstmd5sink.sgml:
28029         * docs/gst/tmpl/old/gstmultidisksrc.sgml:
28030         * docs/gst/tmpl/old/gstmultifilesrc.sgml:
28031         * docs/gst/tmpl/old/gstpadtemplate.sgml:
28032         * docs/gst/tmpl/old/gstpipefilter.sgml:
28033         * docs/gst/tmpl/old/gstschedulerfactory.sgml:
28034         * docs/gst/tmpl/old/gstsearchfuncs.sgml:
28035         * docs/gst/tmpl/old/gstshaper.sgml:
28036         * docs/gst/tmpl/old/gstspider.sgml:
28037         * docs/gst/tmpl/old/gstspideridentity.sgml:
28038         * docs/gst/tmpl/old/gststatistics.sgml:
28039         * docs/gst/tmpl/old/gsttee.sgml:
28040         * docs/gst/tmpl/old/gsttimecache.sgml:
28041         * docs/gst/tmpl/old/gsttypefindfactory.sgml:
28042         * docs/gst/tmpl/old/gstxmlregistry.sgml:
28043         * docs/gst/tmpl/old/gthread-cothreads.sgml:
28044         * docs/gst/tmpl/old/types.sgml:
28045           I didn't intend to add these or check them in.
28046
28047 2005-05-19  David Schleef  <ds@schleef.org>
28048
28049         * configure.ac: Use -no-common everywhere.  In a sane world, it
28050           would be the default in libtool, because without it, you can't
28051           build DLLs on Windows.
28052         * docs/gst/gstreamer-docs.sgml: Remove GstCpu, GstData, GstThread
28053         * docs/gst/gstreamer-sections.txt:
28054         * docs/gst/tmpl/gstcpu.sgml:
28055         * docs/gst/tmpl/gstdata.sgml:
28056         * docs/gst/tmpl/gstthread.sgml:
28057
28058 2005-05-19  David Schleef  <ds@schleef.org>
28059
28060         * gst/gstminiobject.c: (gst_value_set_mini_object),
28061         (gst_value_take_mini_object), (gst_value_get_mini_object):
28062         * gst/gstminiobject.h: Add GValue set/get functions.
28063
28064 2005-05-19  Wim Taymans  <wim@fluendo.com>
28065
28066         * gst/gstbuffer.c: (gst_buffer_init), (gst_subbuffer_get_type),
28067         (gst_subbuffer_class_init), (gst_subbuffer_finalize),
28068         (gst_subbuffer_init), (gst_buffer_is_span_fast):
28069         * gst/gstbuffer.h:
28070         * gst/gstbus.c: (gst_bus_post):
28071         * gst/gstelement.c: (gst_element_get_random_pad):
28072         * gst/gstmessage.c: (gst_message_init), (gst_message_finalize):
28073         Make subbufer unref the parent in finalize.
28074         some more debugging info.
28075
28076
28077 2005-05-19  Wim Taymans  <wim@fluendo.com>
28078
28079         * gst/base/gstbasesink.c: (gst_basesink_class_init),
28080         (gst_basesink_init), (gst_basesink_finalize),
28081         (gst_basesink_activate), (gst_basesink_change_state):
28082         Don't free preroll queue too early.
28083
28084 2005-05-19  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
28085
28086         * gst/Makefile.am:
28087         * gst/ROADMAP:
28088           Hi, I'm outdated. Please shoot me.
28089
28090 2005-05-19  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
28091
28092         * gst/gstpipeline.c: (gst_pipeline_send_event):
28093           Do not access variables after they have been deleted.
28094
28095 2005-05-19  Wim Taymans  <wim@fluendo.com>
28096
28097         * tools/gst-inspect.c: (print_plugin_features):
28098         A plugin feature does unfortunatly not use the
28099         object name yet...
28100
28101 2005-05-18  Wim Taymans  <wim@fluendo.com>
28102
28103         * gst/gstbuffer.c: (gst_buffer_is_span_fast), (gst_buffer_span):
28104         Port _span() functions to new subbuffers.
28105
28106 2005-05-18  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
28107
28108         * gst/gstbin.c: (gst_bin_add_func):
28109           Fix clock settery in bins when adding kids after the clock has
28110           been selected.
28111
28112 2005-05-18  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
28113
28114         * gst/elements/gstidentity.c: (gst_identity_class_init):
28115           Workaround until signals support GstMiniObject.
28116
28117 2005-05-18  Jan Schmidt  <thaytan@mad.scientist.com>
28118
28119         * gst/gstbuffer.c:
28120         Oops, fix a typo GST_TYPE_BUFFER -> GST_TYPE_SUBBUFFER.
28121
28122 2005-05-18  Wim Taymans  <wim@fluendo.com>
28123
28124         * gst/base/Makefile.am:
28125         * gst/base/gstadapter.c: (gst_adapter_base_init),
28126         (gst_adapter_class_init), (gst_adapter_init),
28127         (gst_adapter_dispose), (gst_adapter_finalize), (gst_adapter_new),
28128         (gst_adapter_clear), (gst_adapter_push), (gst_adapter_peek),
28129         (gst_adapter_flush), (gst_adapter_available),
28130         (gst_adapter_available_fast):
28131         * gst/base/gstadapter.h:
28132         Ported and added adapter to the base classes.
28133
28134 2005-05-17  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
28135
28136         * gst/gst.c:
28137         * gst/gstmessage.c:
28138           Make sure the class is reffed/unreffed once before threads can be
28139           used.  Fixes #304551.
28140
28141 2005-05-17  Wim Taymans  <wim@fluendo.com>
28142
28143         * gst/base/gstbasesink.c: (gst_basesink_finish_preroll),
28144         (gst_basesink_chain_unlocked), (gst_basesink_activate):
28145         * gst/gstminiobject.c: (gst_mini_object_get_type),
28146         (gst_mini_object_free):
28147         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query),
28148         (gst_pad_push), (gst_pad_push_event):
28149         * gst/gstqueue.c: (gst_queue_change_state):
28150         Don't queue buffers in basesink when we are flushing.
28151         Unref buffer when flushing in basesink.
28152         Flush queue when going to READY
28153         Unref buffer when _push() returns an error.
28154         Don't free MiniObject instance when refcount is incremented
28155         in _finalize() so that we can recover objects.
28156
28157 2005-05-17  Thomas Vander Stichele  <thomas at apestaart dot org>
28158
28159         * docs/manual/advanced-schedulers.xml:
28160         * docs/manual/appendix-checklist.xml:
28161         * docs/pwg/advanced-clock.xml:
28162         * docs/pwg/advanced-interfaces.xml:
28163         * docs/pwg/advanced-request.xml:
28164         * docs/pwg/advanced-types.xml:
28165         * docs/pwg/intro-preface.xml:
28166         * examples/plugins/example.c: (gst_example_get_type),
28167         (gst_example_class_init), (gst_example_chain),
28168         (gst_example_set_property), (gst_example_get_property),
28169         (gst_example_change_state), (plugin_init):
28170         * examples/plugins/example.h:
28171           small doc fixes
28172
28173 2005-05-17  Wim Taymans  <wim@fluendo.com>
28174
28175         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps),
28176         (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_push):
28177         * gst/gstqueue.c: (gst_queue_change_state):
28178         Clear queue when going to READY.
28179         Remove IN_SETCAPS flag too.
28180
28181 2005-05-17  Tim-Philipp Müller  <tim at centricular dot net>
28182
28183         * gst/base/gstbasesrc.c: (gst_basesrc_change_state):
28184           Remove implicit cast from gboolean to GstElementStateReturn;
28185           make sure we still return failure in paused => ready case if
28186           the parent class fails to change state and our own stop 
28187           vfunc succeeds.
28188
28189 2005-05-17  Wim Taymans  <wim@fluendo.com>
28190
28191         * tools/gst-launch.c: (event_loop):
28192         Message was unreffed too soon.
28193
28194 2005-05-16  Andy Wingo  <wingo@pobox.com>
28195
28196         * gst/gstbin.c (sink_iterator_filter): Err... um...
28197
28198         * check/gst/gstbin.c (test_ghost_pads): New test for the
28199         ghosting-if-elements-not-in-same-bin behavior.
28200
28201 2005-05-16  David Schleef  <ds@schleef.org>
28202
28203         * gst/gstminiobject.c: Use g_atomic_int_get() instead of
28204         accessing refcount directly.
28205
28206 2005-05-15  David Schleef  <ds@schleef.org>
28207
28208         * check/Makefile.am: remove GstData checks
28209         * check/gst-libs/gdp.c: (START_TEST): fix for API changes
28210         * gst/Makefile.am: add miniobject, remove data
28211         * gst/gst.h: add miniobject, remove data
28212         * gst/gstdata.c: remove
28213         * gst/gstdata.h: remove
28214         * gst/gstdata_private.h: remove
28215         * gst/gsttypes.h: remove GstEvent and GstMessage
28216         * gst/gstelement.c: (gst_element_post_message): fix for API changes
28217         * gst/gstmarshal.list: change BOXED -> OBJECT
28218
28219         Implement GstMiniObject.
28220         * gst/gstminiobject.c:
28221         * gst/gstminiobject.h:
28222
28223         Modify to be subclasses of GstMiniObject.
28224         * gst/gstbuffer.c: (_gst_buffer_initialize), (gst_buffer_get_type),
28225         (gst_buffer_class_init), (gst_buffer_finalize), (_gst_buffer_copy),
28226         (gst_buffer_init), (gst_buffer_new), (gst_buffer_new_and_alloc),
28227         (gst_subbuffer_get_type), (gst_subbuffer_init),
28228         (gst_buffer_create_sub), (gst_buffer_is_span_fast),
28229         (gst_buffer_span):
28230         * gst/gstbuffer.h:
28231         * gst/gstevent.c: (_gst_event_initialize), (gst_event_get_type),
28232         (gst_event_class_init), (gst_event_init), (gst_event_finalize),
28233         (_gst_event_copy), (gst_event_new):
28234         * gst/gstevent.h:
28235         * gst/gstmessage.c: (_gst_message_initialize),
28236         (gst_message_get_type), (gst_message_class_init),
28237         (gst_message_init), (gst_message_finalize), (_gst_message_copy),
28238         (gst_message_new), (gst_message_new_error),
28239         (gst_message_new_warning), (gst_message_new_tag),
28240         (gst_message_new_state_changed), (gst_message_new_application):
28241         * gst/gstmessage.h:
28242         * gst/gstprobe.c: (gst_probe_perform),
28243         (gst_probe_dispatcher_dispatch):
28244         * gst/gstprobe.h:
28245         * gst/gstquery.c: (_gst_query_initialize), (gst_query_get_type),
28246         (gst_query_class_init), (gst_query_finalize), (gst_query_init),
28247         (_gst_query_copy), (gst_query_new):
28248
28249         Update elements for GstData -> GstMiniObject changes
28250         * gst/gstquery.h:
28251         * gst/gstqueue.c: (gst_queue_finalize), (gst_queue_locked_flush),
28252         (gst_queue_chain), (gst_queue_loop):
28253         * gst/elements/gstbufferstore.c:
28254         (gst_buffer_store_add_buffer_func),
28255         (gst_buffer_store_cleared_func), (gst_buffer_store_get_buffer):
28256         * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
28257         (gst_fakesink_render):
28258         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
28259         * gst/elements/gstfilesrc.c: (gst_mmap_buffer_get_type),
28260         (gst_mmap_buffer_class_init), (gst_mmap_buffer_init),
28261         (gst_mmap_buffer_finalize), (gst_filesrc_map_region),
28262         (gst_filesrc_create_read):
28263         * gst/elements/gstidentity.c: (gst_identity_class_init):
28264         * gst/elements/gsttypefindelement.c:
28265         (gst_type_find_element_src_event), (free_entry_buffers),
28266         (gst_type_find_element_handle_event):
28267         * libs/gst/dataprotocol/dataprotocol.c:
28268         (gst_dp_header_from_buffer):
28269         * libs/gst/dataprotocol/dataprotocol.h:
28270         * libs/gst/dataprotocol/dp-private.h:
28271
28272 2005-05-15  David Schleef  <ds@schleef.org>
28273
28274         * gst/elements/gstelements.c: Don't include headers that were
28275         just removed.
28276
28277 2005-05-15  David Schleef  <ds@schleef.org>
28278
28279         * gst/elements/Makefile.am: Remove some elements that don't
28280         need to be in the core (or even exist at all).
28281         * gst/elements/gstaggregator.c:
28282         * gst/elements/gstaggregator.h:
28283         * gst/elements/gstmd5sink.c:
28284         * gst/elements/gstmd5sink.h:
28285         * gst/elements/gstmultifilesrc.c:
28286         * gst/elements/gstmultifilesrc.h:
28287         * gst/elements/gstpipefilter.c:
28288         * gst/elements/gstpipefilter.h:
28289         * gst/elements/gstshaper.c:
28290         * gst/elements/gstshaper.h:
28291         * gst/elements/gststatistics.c:
28292         * gst/elements/gststatistics.h:
28293         * po/POTFILES.in: Remove above files.
28294
28295 2005-05-14  Andy Wingo  <wingo@pobox.com>
28296
28297         * gst/gstbin.c (gst_bin_iterate_sinks): Use sink_iterator_filter
28298         so as to get the refs right.
28299         (sink_iterator_filter): New function, wraps bin_element_is_sink,
28300         unreffing objects that don't pass the filter.
28301
28302         * gst/gstpipeline.c (gst_pipeline_init): Drop ref on bus after
28303         gst_element_set_bus.
28304         (gst_pipeline_dispose): Set the bus on the pipeline to NULL. In
28305         normal cases, this will destroy the bus.
28306
28307         * gst/gstutils.c (prepare_link_maybe_ghosting): Drop ref on root
28308         object.
28309
28310         * gst/gstbin.c (gst_bin_change_state): Fix state changes if a bin
28311         has no sinks.
28312
28313 2005-05-13  Andy Wingo  <wingo@pobox.com>
28314
28315         * gst/gstutils.c (gst_element_link_pads): Instead of calling
28316         gst_pad_link, call pad_link_maybe_ghosting,
28317         (pad_link_maybe_ghosting): Links pads, making sure that the
28318         elements being linked are in the same bin.
28319         (find_common_root, object_has_ancestor, ghost_up, remove_pad):
28320         Helpers for pad_link_maybe_ghosting.
28321
28322 2005-05-13  Tim-Philipp Müller  <tim at centricular dot net>
28323
28324         * configure.ac:
28325           Require GLib >= 2.4.0 (for the g_atomic_* funcs)
28326
28327 2005-05-13  Tim-Philipp Müller  <tim at centricular dot net>
28328
28329         * docs/design/part-element-source.txt:
28330           Mention GstPushSrc
28331
28332 2005-05-12  Wim Taymans  <wim@fluendo.com>
28333
28334         * gst/base/gstbasesink.c: (gst_basesink_init),
28335         (gst_basesink_activate):
28336         * gst/base/gstbasesrc.c: (gst_basesrc_unlock),
28337         (gst_basesrc_is_seekable):
28338         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
28339         (bin_element_is_sink), (gst_bin_change_state):
28340         * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
28341         * gst/gstelement.h:
28342         Identify sinks by their flag to avoid overly complicated
28343         checks (fow now).
28344         Do state changes even for elements not reachable from the
28345         sinks.
28346         BaseSink is a sink now :)
28347         Some more debugging info in the basesrc.
28348
28349
28350 2005-05-12  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
28351
28352         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_query):
28353           Implement _query on a bin, similar to _send_event.
28354
28355 2005-05-12  Tim-Philipp Müller  <tim at centricular dot net>
28356
28357         * gst/base/gstbasesrc.c: (gst_basesrc_do_seek):
28358           Discont event offset format should be GST_FORMAT_BYTES,
28359           not GST_FORMAT_TIME.
28360
28361 2005-05-12  Wim Taymans  <wim@fluendo.com>
28362
28363         * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_get_state):
28364         Same fix as Ronald's but without the signal. 
28365
28366 2005-05-12  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
28367
28368         * gst/gstutils.c: (gst_element_query_position):
28369           No, an element is not a pad.
28370
28371 2005-05-12  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
28372
28373         * gst/gstbin.c: (gst_bin_add_func), (cb_parent_unset),
28374         (gst_bin_get_state):
28375           If a child is removed from a bin while we remove the child from
28376           the bin and while we're retrieving its state, signal this to the
28377           get_state function so we abort the wait (instead of waiting for
28378           a timeout) and can immediately re-iterate over all other elements.
28379
28380 2005-05-12  Wim Taymans  <wim@fluendo.com>
28381
28382         * gst/base/Makefile.am:
28383         * gst/base/gstbasesrc.c: (gst_basesrc_is_seekable),
28384         (gst_basesrc_start):
28385         * gst/base/gstbasesrc.h:
28386         * gst/base/gstpushsrc.c: (gst_pushsrc_get_type),
28387         (gst_pushsrc_base_init), (gst_pushsrc_class_init),
28388         (gst_pushsrc_init), (gst_pushsrc_create):
28389         * gst/base/gstpushsrc.h:
28390         Added is_seekable to BaseSrc
28391         Added simple PushSrc.
28392
28393 2005-05-11  Wim Taymans  <wim@fluendo.com>
28394
28395         * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
28396         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
28397         (gst_element_link_pads), (gst_element_query_position),
28398         (gst_element_query_convert), (intersect_caps_func),
28399         (gst_pad_query_position), (gst_pad_query_convert):
28400         Fix refcounting in utils function.
28401         No point in trying to activate a pad when it's added, it could
28402         be added from the state change function and then we deadlock, the
28403         element has to decide what to do.
28404
28405 2005-05-10  Andy Wingo  <wingo@pobox.com>
28406
28407         * gst/elements/gstfakesink.c (gst_fakesink_render): Er, emit with
28408         *all* the arguments.
28409
28410         * gst/base/gstbasetransform.c (gst_base_transform_event): Grab the
28411         stream lock if it's a FLUSH_DONE; normal flushes don't get the
28412         lock (according to the docs -- if this is wrong change the docs).
28413
28414         * gst/gstpipeline.c (gst_pipeline_change_state): Set the bus to
28415         flush messages in the NULL state.
28416
28417         * gst/gstbus.c (gst_bus_post): If a bus is flushing, unref the
28418         message immediately and return.
28419         (gst_bus_set_flushing): New function. If a bus is flushing, it
28420         flushes out any queued messages and immediately unrefs new
28421         messages. This is so when an element goes to NULL, all of the
28422         unhandled messages coming from it can be freed, and their
28423         references to the element dropped. In other words: message source
28424         ref considered harmful :P
28425
28426         * gst/gstbin.c (gst_bin_change_state): Unref peer element when
28427         we're finished with it.
28428
28429         * gst/gstmessage.c (gst_message_new_state_changed): 
28430
28431 2005-05-10  Wim Taymans  <wim@fluendo.com>
28432
28433         * gst/gstvalue.c: (gst_value_compare_flags),
28434         (gst_value_serialize_flags), (gst_value_deserialize_flags),
28435         (_gst_value_initialize):
28436         Added flags serialize/deserialize/compare code.
28437
28438 2005-05-09  Andy Wingo  <wingo@pobox.com>
28439
28440         * gst/base/gstbasetransform.c (gst_base_transform_proxy_getcaps):
28441         Intersect the peer's caps with our caps.
28442
28443 2005-05-09  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
28444
28445         * gst/base/gsttypefindhelper.c: (helper_find_peek):
28446         * gst/elements/gsttypefindelement.c: (find_peek):
28447           Handle negative offsets better. Fixes decodebin.
28448
28449 2005-05-09  Wim Taymans  <wim@fluendo.com>
28450
28451         * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps),
28452         (gst_base_transform_event):
28453         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query):
28454         Implement accept_caps.
28455         Fix silly lock/unlock mismatch in base class.
28456
28457 2005-05-09  Wim Taymans  <wim@fluendo.com>
28458
28459         * docs/design/draft-push-pull.txt:
28460         * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_query):
28461         * gst/elements/gstfilesink.c: (gst_filesink_init),
28462         (gst_filesink_query):
28463         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
28464         (gst_type_find_handle_src_query), (find_element_get_length):
28465         * gst/gstelement.c: (gst_element_seek), (gst_element_query):
28466         * gst/gstelement.h:
28467         * gst/gstmessage.c:
28468         * gst/gstmessage.h:
28469         * gst/gstpad.c: (gst_real_pad_init), (gst_pad_get_query_types),
28470         (gst_real_pad_get_caps_unlocked),
28471         (gst_pad_get_internal_links_default), (gst_pad_get_internal_links),
28472         (gst_pad_event_default_dispatch), (gst_pad_event_default),
28473         (gst_pad_dispatcher), (gst_pad_query), (gst_pad_query_default),
28474         (gst_real_pad_dispose), (gst_real_pad_finalize),
28475         (gst_pad_load_and_link), (gst_pad_save_thyself),
28476         (gst_ghost_pad_save_thyself), (handle_pad_block), (gst_pad_push),
28477         (gst_pad_check_pull_range), (gst_pad_pull_range),
28478         (gst_pad_template_get_type), (gst_pad_template_class_init),
28479         (gst_pad_template_init), (gst_pad_template_dispose),
28480         (name_is_valid), (gst_static_pad_template_get),
28481         (gst_pad_template_new), (gst_static_pad_template_get_caps),
28482         (gst_pad_template_get_caps), (gst_pad_set_element_private),
28483         (gst_pad_get_element_private), (gst_pad_start_task),
28484         (gst_pad_pause_task), (gst_pad_stop_task),
28485         (gst_ghost_pad_get_type), (gst_ghost_pad_class_init),
28486         (gst_ghost_pad_init), (gst_ghost_pad_dispose),
28487         (gst_ghost_pad_set_property), (gst_ghost_pad_get_property),
28488         (gst_ghost_pad_new):
28489         * gst/gstpad.h:
28490         * gst/gstquery.c: (_gst_query_initialize), (gst_query_new),
28491         (gst_query_new_position), (gst_query_set_position),
28492         (gst_query_parse_position), (gst_query_new_convert),
28493         (gst_query_set_convert), (gst_query_parse_convert):
28494         * gst/gstquery.h:
28495         * gst/gstqueryutils.c:
28496         * gst/gstqueryutils.h:
28497         * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
28498         (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
28499         (gst_queue_handle_src_query):
28500         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
28501         (gst_element_query_position), (gst_element_query_convert),
28502         (intersect_caps_func), (gst_pad_query_position),
28503         (gst_pad_query_convert):
28504         * gst/gstutils.h:
28505         * tools/gst-inspect.c: (print_pad_info):
28506         * tools/gst-xmlinspect.c: (print_element_info):
28507         Remove old query functions. Ported old code.
28508         Added position/convert helper functions to gstutils.
28509         Reordered gstpad.c code, grouping relevant things.
28510         Remove gst_message_new(), always need to speficy a specific
28511         message.
28512
28513
28514 2005-05-09  Andy Wingo  <wingo@pobox.com>
28515
28516         * gst/gstiterator.h: Add some includes.
28517
28518         * gst/gstqueryutils.h: Include more headers.
28519
28520         * gst/gstpad.h:
28521         * gst/gstpad.c (gst_pad_query_position): New routine, replaces
28522         some uses of gst_pad_query.
28523
28524         * gst/gstqueryutils.c: Build fixes. Make parse functions ignore
28525         NULL out parameters.
28526         (gst_query_new_position): New proc, allocates a new position
28527         query.
28528
28529         * gst/Makefile.am (libgstreamer_@GST_MAJORMINOR@_la_SOURCES): Add
28530         gstqueryutils.c to the build.
28531
28532         * gst/gststructure.c (gst_structure_set_valist): Implement with
28533         the generic G_VALUE_COLLECT.
28534         
28535 2005-05-08  Edward Hervey  <bilboed@bilboed.com>
28536
28537         * gst/Makefile.am: (gst_headers):
28538         Added gstqueryutils.h to the list of headers to install, that was
28539         a 'nachty' move wingo :)
28540
28541 2005-05-06  Andy Wingo  <wingo@pobox.com>
28542
28543         * gst/gstquery.h
28544         * gst/gstquery.c (_gst_query_initialize): Extend GstQuery from
28545         GstData, init a memchunk.
28546         (standard_definitions): Add a few query types, deprecate a few.
28547         (gst_query_get_type): New proc.
28548         (_gst_query_copy, _gst_query_free, gst_query_new): GstData
28549         implementation.
28550         (gst_query_new_application, gst_query_get_structure): New public
28551         procs.
28552
28553         * docs/design/draft-query.txt: Removed LINKS from the query types,
28554         because all the rest can be dispatched to other pads -- seemed
28555         ugly to have a query that couldn't be dispatched. internal_links
28556         is fine as a pad method.
28557
28558         * gst/gstpad.h: Add query2 as a pad method, add the new functions
28559         in gstpad.c, but maintain binary compatibility for the moment.
28560         Will fix before 0.9 is out.
28561
28562         * gst/gstqueryutils.c: 
28563         * gst/gstqueryutils.h: New files, implement 3 methods for each
28564         query type: parse_query, parse_response, and set. Probably need an
28565         allocator as well.
28566
28567         * gst/gst.h: Add gstquery.h and gstqueryutils.h to the list.
28568
28569         * gst/elements/gstfilesink.c (gst_filesink_query2):
28570         * gst/base/gstbasesrc.c (gst_basesrc_query2): Replace old query,
28571         query_types, and formats methods.
28572
28573         * gst/gstpad.c (gst_pad_query2, gst_pad_query2_default)
28574         (gst_pad_set_query2_function): New functions.
28575         (gst_real_pad_init): Set query2_default as the default query2
28576         function. Basically just dispatches to internally linked pads.
28577
28578         Needs review!
28579         
28580         * gst/gstdata_private.h (_GST_DATA_INIT): Set data->refcount to 1
28581         without using the atomic operations. Only one thread can possibly
28582         be accessing the data at this point. Changed so as to avoid
28583         gst_atomic operations.
28584
28585 2005-05-06  Wim Taymans  <wim@fluendo.com>
28586
28587         * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push):
28588         Also set caps if we use the fallback buffer alloc.
28589
28590 2005-05-06  Tim-Philipp Müller  <tim at centricular dot net>
28591
28592         * docs/gst/Makefile.am:
28593         * docs/gst/gstreamer-docs.sgml:
28594         * docs/gst/gstreamer-sections.txt:
28595         * docs/gst/tmpl/gstatomic.sgml:
28596         * docs/gst/tmpl/gstmemchunk.sgml:
28597         * testsuite/elements/struct_i386.h:
28598         * win32/GStreamer.vcproj:
28599         * win32/Makefile:
28600           Purge GstAtomic stuff from docs and win32 makefiles as well
28601
28602 2005-05-06  Wim Taymans  <wim@fluendo.com>
28603
28604         * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps):
28605         * gst/elements/gstcapsfilter.c: (gst_capsfilter_getcaps):
28606         * gst/gstpad.c: (gst_pad_peer_get_caps):
28607         * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
28608         (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
28609         (gst_queue_src_activate), (gst_queue_change_state):
28610         * gst/gstqueue.h:
28611         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
28612         (intersect_caps_func):
28613         Fix gst_pad_peer_get_caps(), make it return NULL if no peer.
28614         Always take QUEUE_LOCK after STREAM_LOCK or we might deadlock.
28615         Some fixes for the peer_get_caps() change.
28616
28617 2005-05-06  Wim Taymans  <wim@fluendo.com>
28618
28619         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
28620         (gst_basesink_handle_buffer), (gst_basesink_chain_unlocked),
28621         (gst_basesink_activate):
28622         Actually do something with error codes returned from the push
28623         functions.
28624
28625 2005-05-06  Wim Taymans  <wim@fluendo.com>
28626
28627         * docs/design/part-element-sink.txt:
28628         * docs/design/part-element-source.txt:
28629         * gst/base/gstbasesink.c: (gst_basesink_class_init),
28630         (gst_basesink_event), (gst_basesink_activate):
28631         * gst/base/gstbasesink.h:
28632         * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_unlock),
28633         (gst_basesrc_activate):
28634         * gst/base/gstbasesrc.h:
28635         * gst/gstelement.c: (gst_element_pads_activate):
28636         Some more documentation.
28637         Fixed scheduling decision in _pads_activate().
28638
28639 2005-05-05  Andy Wingo  <wingo@pobox.com>
28640
28641         * check/pipelines/simple_launch_lines.c (test_2_elements): "Fix"
28642         the test suite.
28643
28644 2005-05-05  Wim Taymans  <wim@fluendo.com>
28645
28646         * gst/base/Makefile.am:
28647         * gst/base/gstbasesink.h:
28648         * gst/base/gstbasesrc.c: (gst_basesrc_init),
28649         (gst_basesrc_set_dataflow_funcs), (gst_basesrc_query):
28650         * gst/base/gstcollectpads.c: (gst_collectpads_get_type),
28651         (gst_collectpads_class_init), (gst_collectpads_init),
28652         (gst_collectpads_finalize), (gst_collectpads_new),
28653         (gst_collectpads_set_function), (gst_collectpads_add_pad),
28654         (find_pad), (gst_collectpads_remove_pad),
28655         (gst_collectpads_is_active), (gst_collectpads_collect),
28656         (gst_collectpads_collect_range), (gst_collectpads_start),
28657         (gst_collectpads_stop), (gst_collectpads_peek),
28658         (gst_collectpads_pop), (gst_collectpads_available),
28659         (gst_collectpads_read), (gst_collectpads_flush),
28660         (gst_collectpads_chain):
28661         * gst/base/gstcollectpads.h:
28662         * gst/elements/Makefile.am:
28663         * gst/elements/gstelements.c:
28664         * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
28665         (gst_fakesink_get_times), (gst_fakesink_event),
28666         (gst_fakesink_preroll), (gst_fakesink_render):
28667         * gst/elements/gstfilesink.c: (gst_filesink_class_init),
28668         (gst_filesink_init), (gst_filesink_set_location),
28669         (gst_filesink_open_file), (gst_filesink_close_file),
28670         (gst_filesink_pad_query), (gst_filesink_event),
28671         (gst_filesink_render), (gst_filesink_change_state):
28672         * gst/elements/gstfilesink.h:
28673         Added object to help in making collect pad based elements.
28674         Ported filesink.
28675         Make event function in sink baseclass return gboolean.
28676
28677 2005-05-05  Wim Taymans  <wim@fluendo.com>
28678
28679         * gst/gstbin.c: (gst_bin_send_event), (compare_name),
28680         (gst_bin_get_by_name):
28681         * gst/gstbuffer.h:
28682         * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_class_init),
28683         (gst_clock_finalize):
28684         * gst/gstdata.c: (gst_data_replace):
28685         * gst/gstdata.h:
28686         * gst/gstelement.c: (gst_element_request_pad),
28687         (gst_element_pads_activate):
28688         * gst/gstobject.c: (gst_object_init), (gst_object_ref),
28689         (gst_object_unref):
28690         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
28691         (gst_pad_set_checkgetrange_function),
28692         (gst_pad_link_check_compatible_unlocked), (gst_pad_set_caps),
28693         (gst_pad_check_pull_range), (gst_pad_pull_range),
28694         (gst_static_pad_template_get_caps), (gst_pad_start_task),
28695         (gst_pad_pause_task), (gst_pad_stop_task):
28696         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
28697         (gst_element_request_pad), (gst_pad_proxy_getcaps):
28698         Fix name lookup in GstBin.
28699         Added _data_replace() function and _buffer_replace()
28700         Use finalize method to clean up clock.
28701         Fix refcounting on request pads.
28702         Fix pad schedule mode error.
28703         Some more object refcounting debug info,
28704
28705
28706 2005-05-04  Andy Wingo <wingo@pobox.com>
28707
28708         * check/Makefile.am:
28709         * docs/gst/tmpl/gstatomic.sgml:
28710         * docs/gst/tmpl/gstplugin.sgml:
28711         * gst/base/gstbasesink.c: (gst_basesink_activate):
28712         * gst/base/gstbasesrc.c: (gst_basesrc_class_init),
28713         (gst_basesrc_init), (gst_basesrc_set_dataflow_funcs),
28714         (gst_basesrc_query), (gst_basesrc_set_property),
28715         (gst_basesrc_get_property), (gst_basesrc_check_get_range),
28716         (gst_basesrc_activate):
28717         * gst/base/gstbasesrc.h:
28718         * gst/base/gstbasetransform.c: (gst_base_transform_sink_activate),
28719         (gst_base_transform_src_activate):
28720         * gst/elements/gstelements.c:
28721         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
28722         (gst_fakesrc_set_property), (gst_fakesrc_get_property):
28723         * gst/elements/gsttee.c: (gst_tee_sink_activate):
28724         * gst/elements/gsttypefindelement.c: (find_element_get_length),
28725         (gst_type_find_element_checkgetrange),
28726         (gst_type_find_element_activate):
28727         * gst/gstbin.c: (gst_bin_save_thyself), (gst_bin_restore_thyself):
28728         * gst/gstcaps.c: (gst_caps_do_simplify), (gst_caps_save_thyself),
28729         (gst_caps_load_thyself):
28730         * gst/gstelement.c: (gst_element_pads_activate),
28731         (gst_element_save_thyself), (gst_element_restore_thyself):
28732         * gst/gstpad.c: (gst_pad_load_and_link), (gst_pad_save_thyself),
28733         (gst_ghost_pad_save_thyself), (gst_pad_check_pull_range):
28734         * gst/gstpad.h:
28735         * gst/gstxml.c: (gst_xml_write), (gst_xml_parse_doc),
28736         (gst_xml_parse_file), (gst_xml_parse_memory),
28737         (gst_xml_get_element), (gst_xml_make_element):
28738         * gst/indexers/gstfileindex.c: (gst_file_index_load),
28739         (_file_index_id_save_xml), (gst_file_index_commit):
28740         * gst/registries/gstlibxmlregistry.c: (read_string), (read_uint),
28741         (read_enum), (load_pad_template), (load_feature), (load_plugin),
28742         (load_paths):
28743         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_caps),
28744         (gst_dp_packet_from_event), (gst_dp_caps_from_packet):
28745         * tools/gst-complete.c: (main):
28746         * tools/gst-compprep.c: (main):
28747         * tools/gst-inspect.c: (print_element_properties_info):
28748         * tools/gst-launch.c: (xmllaunch_parse_cmdline):
28749         * tools/gst-xmlinspect.c: (print_element_properties):
28750         GCC 4 fixen.
28751         
28752 2005-05-03  Thomas Vander Stichele  <thomas at apestaart dot org>
28753
28754         * gst/gstplugin.c: (gst_plugin_check_module),
28755         (gst_plugin_check_file), (gst_plugin_load_file):
28756             apply patch from #172526 to make register work on MacOSX
28757
28758 2005-05-02  Thomas Vander Stichele  <thomas at apestaart dot org>
28759
28760         * docs/gst/tmpl/gstconfig.sgml:
28761         * gst/gstconfig.h.in:
28762           move documentation for some symbols.  Add doc for GST_PTR_FORMAT
28763         * testsuite/debug/printf_extension.c: (main):
28764           Do not use GST_PTR_FORMAT on pointers to types with
28765           sizeof < sizeof(gpointer).  Fixes test on 64-bit
28766         * testsuite/elements/property.h:
28767           use correct printf format
28768
28769 2005-05-02  Wim Taymans  <wim@fluendo.com>
28770
28771         * docs/design/draft-push-pull.txt:
28772         * docs/design/draft-query.txt:
28773         * gst/base/gstbasesrc.c: (gst_basesrc_get_range_unlocked),
28774         (gst_basesrc_start):
28775         Added draft for new query API.
28776         Added draft for better selecting scheduling methods.
28777         Make basesrc ignore length if the subclass does not support
28778         it.
28779
28780 2005-05-02  Thomas Vander Stichele  <thomas at apestaart dot org>
28781
28782         * gst/Makefile.am:
28783           possible fixes for automake-1.5 - _LIBADD is reserved
28784
28785 2005-05-02  Thomas Vander Stichele  <thomas at apestaart dot org>
28786
28787         * docs/faq/Makefile.am:
28788         * docs/manual/Makefile.am:
28789         * docs/manuals.mak:
28790         * docs/pwg/Makefile.am:
28791         * gst/Makefile.am:
28792           possible fixes for automake-1.5
28793
28794 2005-04-28  Wim Taymans  <wim@fluendo.com>
28795
28796         * gst/base/gstbasesink.c: (gst_basesink_base_init),
28797         (gst_basesink_pad_getcaps), (gst_basesink_init),
28798         (gst_basesink_do_sync):
28799         * gst/gstclock.c: (gst_clock_entry_new):
28800         * gst/gstevent.c: (gst_event_discont_get_value):
28801         * gst/gstpipeline.c: (pipeline_bus_handler),
28802         (gst_pipeline_change_state):
28803         * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
28804         Better debugging of clocking info.
28805         Allow NULL values when getting discont values.
28806
28807 2005-04-27  Wim Taymans  <wim@fluendo.com>
28808
28809         * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
28810         * check/gst/gstpad.c: (gst_pad_suite):
28811         Increase timeout for checks.
28812
28813 2005-04-27  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
28814
28815         * check/Makefile.am:
28816           fix the broken rule for cleanup.  Apparently this rule is
28817           only needed on FC2, so maybe this warrants further autotool
28818           inspection.
28819
28820 2005-04-26  Wim Taymans  <wim@fluendo.com>
28821
28822         * gst/gsttrashstack.h:
28823         Ooohh. a nasty one! After having a failed pop() from the stack,
28824         it's possible that the stack is empty. In that case, don't
28825         follow the NULL pointer.
28826
28827 2005-04-25  Wim Taymans  <wim@fluendo.com>
28828
28829         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
28830         (gst_pad_set_checkgetrange_function),
28831         (gst_pad_link_check_compatible_unlocked), (gst_pad_link_prepare),
28832         (gst_pad_check_pull_range), (gst_pad_pull_range),
28833         (gst_static_pad_template_get_caps), (gst_pad_start_task),
28834         (gst_pad_pause_task), (gst_pad_stop_task):
28835         * gst/gstplugin.c: (gst_plugin_load):
28836         * gst/gstplugin.h:
28837         Remove gst_library_load as it does more harm than good with
28838         the new g_module flags.
28839         Revert bogus caps template check in pad linking, pad caps
28840         are important when linking not the template, which is more
28841         general than the current caps.
28842
28843 2005-04-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
28844
28845         * gst/autoplug/.cvsignore:
28846         * gst/autoplug/Makefile.am:
28847         * gst/autoplug/gstsearchfuncs.c:
28848         * gst/autoplug/gstsearchfuncs.h:
28849         * gst/autoplug/gstspider.c:
28850         * gst/autoplug/gstspider.h:
28851         * gst/autoplug/gstspideridentity.c:
28852         * gst/autoplug/gstspideridentity.h:
28853         * gst/autoplug/spidertest.c:
28854           Die, spider, die.
28855
28856 2005-04-25  Wim Taymans  <wim@fluendo.com>
28857
28858         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
28859         (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
28860         (gst_pad_pull_range), (gst_static_pad_template_get_caps),
28861         (gst_pad_start_task), (gst_pad_pause_task), (gst_pad_stop_task):
28862         * gst/gstpad.h:
28863         Added stubs for unimplemented functions. 
28864
28865 2005-04-24  David Schleef  <ds@schleef.org>
28866
28867         * gst/gstpad.h: Disable some unimplemented functions.  Wim,
28868         please fix.
28869
28870 2005-04-24  David Schleef  <ds@schleef.org>
28871
28872         Convert everything from GstAtomicInt to g_atomic_int_*, and
28873         remove gstatomic.
28874         * gst/Makefile.am:
28875         * gst/gstatomic.c:
28876         * gst/gstatomic.h:
28877         * gst/gstatomic_impl.h:
28878         * gst/gstbuffer.c:
28879         * gst/gstcaps.c:
28880         * gst/gstcaps.h:
28881         * gst/gstclock.c:
28882         * gst/gstclock.h:
28883         * gst/gstdata.c:
28884         * gst/gstdata.h:
28885         * gst/gstdata_private.h:
28886         * gst/gstevent.c:
28887         * gst/gstinfo.c:
28888         * gst/gstinfo.h:
28889         * gst/gstmessage.c:
28890         * gst/gstobject.c:
28891         * gst/gstobject.h:
28892         * gst/gststructure.c:
28893         * gst/gststructure.h:
28894         * gst/gstutils.c: Add gst_atomic_int_set() compaitibility function.
28895         * gst/gstutils.h:
28896
28897 2005-04-24  David Schleef  <ds@schleef.org>
28898
28899         * check/gst/gstpad.c: (START_TEST): Oh yeah, it's always nice to
28900         make the regressions tests work.  Remove some code that is no
28901         longer true.
28902         * gst/gstpad.c: (gst_pad_link_check_templates_compatible_unlocked):
28903         Disable warning for pads without templates.
28904
28905 2005-04-24  David Schleef  <ds@schleef.org>
28906
28907         * gst/gstpad.c: Remove handling of filtered caps.  Fix/merge
28908         functions that handle filtered links.
28909         * gst/gstpad.h: Remove 'appfilter' field and prototypes of
28910         removed functions.
28911         * gst/gstutils.c: Fix/remove utility functions that handle
28912         filtered caps.
28913         * gst/gstutils.h:
28914         * gst/gstvalue.c: Add serialization/deserialization of caps
28915         * gst/parse/grammar.y: Ignore filtered caps when linking.  This
28916         requires fixing so that the filter caps notation creates
28917         a capsfilter element and sets the filter_caps property.  I
28918         think everyone probably wants to keep the shorthand notation.
28919         * docs/gst/tmpl/gstelement.sgml: updates for API changes.
28920         * docs/gst/tmpl/gstpad.sgml:
28921
28922         * gst/elements/gstelements.c: Register capsfilter element.
28923         * gst/Makefile.am: fix spacing
28924         * docs/random/ds/0.9-suggested-changes: random
28925
28926 2005-04-23  David Schleef  <ds@schleef.org>
28927
28928         * gst/elements/Makefile.am:
28929         * gst/elements/gstcapsfilter.c: New element that acts like an
28930         identity, but filters caps.  Will eventually replace filtered
28931         caps in pad linking.
28932         * gst/gstutils.c: (gst_element_create_all_pads): New function
28933         to create all the ALWAYS pads that are registered with an
28934         element class.  This functionality should eventually be
28935         merged in with GstElement initialization.
28936         * gst/gstutils.h:
28937         * testsuite/trigger/README: part of trigger test code that should
28938         have been checked in a long time ago.
28939
28940 2005-04-23  David Schleef  <ds@schleef.org>
28941
28942         * gst/Makefile.am: Remove as-libtool stuff.  It's likely not
28943         needed with new versions of libtool (nobody will confirm this),
28944         and hard to carry around.
28945         * gst/autoplug/Makefile.am:
28946         * gst/base/Makefile.am:
28947         * gst/elements/Makefile.am:
28948         * gst/indexers/Makefile.am:
28949         * gst/schedulers/Makefile.am:
28950         * libs/gst/bytestream/Makefile.am:
28951         * libs/gst/control/Makefile.am:
28952         * libs/gst/dataprotocol/Makefile.am:
28953         * libs/gst/getbits/Makefile.am:
28954
28955 2005-04-21  Wim Taymans  <wim@fluendo.com>
28956
28957         * docs/design/draft-push-pull.txt:
28958         * docs/design/part-MT-refcounting.txt:
28959         * docs/design/part-TODO.txt:
28960         * docs/design/part-caps.txt:
28961         * docs/design/part-events.txt:
28962         * docs/design/part-gstbus.txt:
28963         * docs/design/part-gstpipeline.txt:
28964         * docs/design/part-messages.txt:
28965         * docs/design/part-push-pull.txt:
28966         * docs/design/part-query.txt:
28967         Some more docs.
28968
28969 2005-04-21  Wim Taymans  <wim@fluendo.com>
28970
28971         * gst/gstmessage.c: (_gst_message_copy), (_gst_message_free),
28972         (gst_message_new), (gst_message_new_error),
28973         (gst_message_new_warning), (gst_message_new_tag),
28974         (gst_message_new_state_changed), (gst_message_new_application),
28975         (gst_message_get_structure):
28976         * gst/gstmessage.h:
28977         * gst/gststructure.c: (gst_structure_set_parent_refcount),
28978         (gst_structure_copy_conditional):
28979         Use parent refcount in GstMessage to ensure GstStructure
28980         consistency.
28981         Cleaned up headers a bit.
28982         
28983
28984 2005-04-20  Wim Taymans  <wim@fluendo.com>
28985
28986         * gst/base/gstbasesink.c: (gst_basesink_base_init),
28987         (gst_basesink_pad_getcaps), (gst_basesink_init),
28988         (gst_basesink_chain_unlocked):
28989         * gst/base/gsttypefindhelper.c: (helper_find_suggest),
28990         (gst_type_find_helper):
28991         * gst/elements/gsttypefindelement.c:
28992         (gst_type_find_element_have_type), (gst_type_find_element_init),
28993         (stop_typefinding), (gst_type_find_element_handle_event),
28994         (find_suggest), (gst_type_find_element_chain),
28995         (gst_type_find_element_checkgetrange),
28996         (gst_type_find_element_getrange), (do_typefind),
28997         (gst_type_find_element_activate):
28998         * gst/gstbuffer.c: (_gst_buffer_sub_free),
28999         (gst_buffer_default_free), (gst_buffer_default_copy),
29000         (gst_buffer_set_caps):
29001         * gst/gstcaps.c: (gst_caps_ref), (gst_caps_unref),
29002         (gst_caps_replace):
29003         * gst/gstmessage.c: (gst_message_new),
29004         (gst_message_new_state_changed):
29005         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
29006         (gst_pad_set_checkgetrange_function),
29007         (gst_pad_link_prepare_filtered), (gst_pad_relink_filtered),
29008         (gst_pad_set_caps), (gst_pad_check_pull_range),
29009         (gst_pad_pull_range), (gst_static_pad_template_get_caps):
29010         * gst/gstpad.h:
29011         * gst/gsttypefind.c: (gst_type_find_register):
29012         Make gst_caps_replace() work like other _replace() functions.
29013         Use _caps_replace() where possible.
29014         Make sure _message_new() initialises its field.
29015         Add gst_static_pad_template_get_caps()
29016
29017
29018 2005-04-18  Andy Wingo  <wingo@pobox.com>
29019
29020         * gst/gstelement.c (gst_element_pads_activate): Check pull_range
29021         on the peer, not the pad. I think that was a typo. Pass an extra
29022         arg to see if random access is possible. Activate the pads as
29023         PULL_RANGE if possible.
29024
29025         * gst/elements/gstfakesrc.c: s/ARG_/PROP_/.
29026
29027         * gst/base/gstbasesrc.c (gst_basesrc_set_property) 
29028         (gst_basesrc_get_property): BLOCKSIZE is a ULONG. Rename ARG_...
29029         to PROP_....
29030
29031 2005-04-14  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
29032
29033         * docs/faq/using.xml:
29034           Add note on gstreamer-properties (#154996).
29035
29036 2005-04-13  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
29037
29038         * docs/random/bbb/optional-properties:
29039           Some analysis on optional properties.
29040
29041 2005-04-12  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
29042
29043         * docs/gst/tmpl/gstelementfactory.sgml:
29044         * gst/gstelement.h:
29045         * gst/gstelementfactory.c: (gst_element_factory_init),
29046         (gst_element_factory_cleanup), (gst_element_register),
29047         (__gst_element_factory_add_static_pad_template),
29048         (gst_element_factory_get_static_pad_templates),
29049         (gst_element_factory_can_src_caps),
29050         (gst_element_factory_can_sink_caps):
29051         * gst/registries/Makefile.am:
29052         * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_get_type),
29053         (gst_xml_registry_class_init), (gst_xml_registry_init),
29054         (gst_xml_registry_new), (gst_xml_registry_set_property),
29055         (gst_xml_registry_get_property), (get_time), (make_dir),
29056         (gst_xml_registry_get_perms_func),
29057         (plugin_times_older_than_recurse), (plugin_times_older_than),
29058         (gst_xml_registry_open_func), (gst_xml_registry_load_func),
29059         (gst_xml_registry_save_func), (gst_xml_registry_close_func),
29060         (add_to_char_array), (read_string), (read_uint), (read_enum),
29061         (load_pad_template), (load_feature), (load_plugin), (load_paths),
29062         (gst_xml_registry_load), (gst_xml_registry_load_plugin),
29063         (gst_xml_registry_save_caps), (gst_xml_registry_save_pad_template),
29064         (gst_xml_registry_save_feature), (gst_xml_registry_save_plugin),
29065         (gst_xml_registry_save), (gst_xml_registry_rebuild_recurse),
29066         (gst_xml_registry_rebuild):
29067         * gst/registries/gstlibxmlregistry.h:
29068         * tools/gst-compprep.c: (main):
29069         * tools/gst-inspect.c: (print_pad_templates_info):
29070         * tools/gst-xmlinspect.c: (print_element_info):
29071           Use libxml2 for registry parsing, use staticpadtemplates in
29072           elementfactories. Makes gst_init() +/- 10x faster.
29073
29074 2005-04-12  Wim Taymans  <wim@fluendo.com>
29075
29076         * gst/base/Makefile.am:
29077         * gst/base/gstbasesink.c: (gst_basesink_base_init),
29078         (gst_basesink_pad_getcaps), (gst_basesink_init),
29079         (gst_basesink_event), (gst_basesink_change_state):
29080         * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
29081         (gst_basesrc_init), (gst_basesrc_query),
29082         (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
29083         (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
29084         (gst_basesrc_check_get_range), (gst_basesrc_loop),
29085         (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
29086         (gst_basesrc_stop), (gst_basesrc_activate),
29087         (gst_basesrc_change_state):
29088         * gst/base/gsttypefindhelper.c: (helper_find_peek),
29089         (helper_find_suggest), (gst_type_find_helper):
29090         * gst/base/gsttypefindhelper.h:
29091         * gst/elements/Makefile.am:
29092         * gst/elements/gstelements.c:
29093         * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
29094         (gst_fakesink_get_times), (gst_fakesink_event),
29095         (gst_fakesink_preroll), (gst_fakesink_render):
29096         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
29097         (gst_fakesrc_init), (gst_fakesrc_event_handler),
29098         (gst_fakesrc_get_property), (gst_fakesrc_create),
29099         (gst_fakesrc_start), (gst_fakesrc_stop):
29100         * gst/elements/gstfakesrc.h:
29101         * gst/elements/gstfilesrc.c: (gst_filesrc_class_init),
29102         (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
29103         (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
29104         (gst_filesrc_create_read), (gst_filesrc_create),
29105         (gst_filesrc_is_seekable), (gst_filesrc_get_size),
29106         (gst_filesrc_start):
29107         * gst/elements/gsttypefindelement.c:
29108         (gst_type_find_element_have_type), (gst_type_find_element_init),
29109         (start_typefinding), (stop_typefinding), (push_buffer_store),
29110         (gst_type_find_element_handle_event),
29111         (gst_type_find_element_chain),
29112         (gst_type_find_element_checkgetrange),
29113         (gst_type_find_element_getrange), (do_typefind),
29114         (gst_type_find_element_activate),
29115         (gst_type_find_element_change_state):
29116         * gst/elements/gsttypefindelement.h:
29117         * gst/gstpipeline.c: (pipeline_bus_handler):
29118         Added typefind helper.
29119         Small preroll fix in the base sink.
29120         Disable typefind code in basesrc.
29121         Crude port of typefindelement.
29122         Fakesrc cleanups.
29123
29124
29125 2005-04-11  Wim Taymans  <wim@fluendo.com>
29126
29127         * check/gst/gstbus.c: (gstbus_suite):
29128         * check/gst/gstdata.c: (thread_ref), (gst_data_suite):
29129         * check/gstcheck.h:
29130           Fix up the timeout so that the test does not fail.
29131
29132 2005-04-06  Wim Taymans  <wim@fluendo.com>
29133
29134         * gst/base/README:
29135         * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
29136         (gst_basesrc_init), (gst_basesrc_get_formats), (gst_basesrc_query),
29137         (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
29138         (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
29139         (gst_basesrc_check_get_range), (gst_basesrc_loop),
29140         (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
29141         (gst_basesrc_stop), (gst_basesrc_activate),
29142         (gst_basesrc_change_state), (basesrc_find_peek),
29143         (basesrc_find_suggest), (gst_basesrc_type_find):
29144         * gst/base/gstbasesrc.h:
29145         * gst/elements/gstfilesrc.c: (gst_filesrc_base_init),
29146         (gst_filesrc_class_init), (gst_filesrc_init),
29147         (gst_filesrc_finalize), (gst_filesrc_set_location),
29148         (gst_filesrc_set_property), (gst_filesrc_get_property),
29149         (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
29150         (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
29151         (gst_filesrc_create_read), (gst_filesrc_create),
29152         (gst_filesrc_get_size), (gst_filesrc_start), (gst_filesrc_stop):
29153         * gst/elements/gstfilesrc.h:
29154         * gst/gstelement.c: (gst_element_get_state_func),
29155         (gst_element_lost_state), (gst_element_pads_activate):
29156         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
29157         (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
29158         (gst_pad_pull_range):
29159         * gst/gstpad.h:
29160         More work on the generic source base class, implement seeking,
29161         query.
29162         Make filesrc extend the base source class.
29163         Added gst_pad_set_checkgetrange_function to GstPad.
29164
29165 2005-04-06  Andy Wingo  <wingo@pobox.com>
29166
29167         * pkgconfig/gstreamer-base.pc.in:
29168         * pkgconfig/gstreamer-base-uninstalled.pc.in: New files.
29169
29170         * pkgconfig/Makefile.am:
29171         * configure.ac (AC_OUTPUT): Add gstreamer-base pkgconfig files.
29172
29173 2005-04-04  Wim Taymans  <wim@fluendo.com>
29174
29175         * gst/base/Makefile.am:
29176         * gst/base/README:
29177         * gst/base/gstbasesink.c: (gst_basesink_base_init),
29178         (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
29179         (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
29180         (gst_basesink_do_sync), (gst_basesink_chain_unlocked):
29181         * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
29182         (gst_basesrc_base_init), (gst_basesrc_class_init),
29183         (gst_basesrc_init), (gst_basesrc_get_formats),
29184         (gst_basesrc_get_query_types), (gst_basesrc_query),
29185         (gst_basesrc_get_event_mask), (gst_basesrc_event_handler),
29186         (gst_basesrc_set_property), (gst_basesrc_get_property),
29187         (gst_basesrc_get_range_unlocked), (gst_basesrc_get_range),
29188         (gst_basesrc_loop), (gst_basesrc_activate),
29189         (gst_basesrc_change_state):
29190         * gst/base/gstbasesrc.h:
29191         * gst/elements/gstfakesrc.c: (gst_fakesrc_base_init),
29192         (gst_fakesrc_class_init), (gst_fakesrc_init),
29193         (gst_fakesrc_event_handler), (gst_fakesrc_set_property),
29194         (gst_fakesrc_get_property), (gst_fakesrc_create):
29195         * gst/elements/gstfakesrc.h:
29196         * gst/elements/gstfilesrc.c: (gst_filesrc_getrange),
29197         (gst_filesrc_open_file), (gst_filesrc_loop),
29198         (gst_filesrc_activate), (filesrc_find_peek),
29199         (gst_filesrc_type_find):
29200         Made base source class, make fakesrc extend it.
29201         Add comments to basesink class.
29202         Some filesrc cleanup.
29203
29204 2005-03-31  David Schleef  <ds@schleef.org>
29205
29206         * gst/gstplugin.c: (gst_plugin_check_file), (gst_plugin_load_file):
29207         Switch to using G_MODULE_BIND_LOCAL, which means plugins are now
29208         expected to link against libgstreamer.
29209         * gst/base/Makefile.am: link against libgstreamer
29210         * gst/elements/Makefile.am: same
29211
29212 2005-03-31  Andy Wingo  <wingo@pobox.com>
29213
29214         * tests/instantiate/Makefile.am:
29215         * tests/instantiate/caps.c: Add test to test speed of caps copy
29216         and free.
29217
29218         * tests/memchunk/gmemchunktest.c (main): Use alloc only on the
29219         GMemChunk to be fair.
29220
29221         * gst/gsttrashstack.h: Remove warning about using the fallback
29222         trash stack implementation, it's still faster than malloc.
29223
29224 2005-03-30  Andy Wingo  <wingo@pobox.com>
29225
29226         * tests/complexity.c: Add a copyright.
29227
29228 2005-03-31  Wim Taymans  <wim@fluendo.com>
29229
29230         * gst/base/gstbasetransform.c: (gst_base_transform_base_init),
29231         (gst_base_transform_class_init), (gst_base_transform_init),
29232         (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
29233         (gst_base_transform_get_property),
29234         (gst_base_transform_sink_activate),
29235         (gst_base_transform_src_activate),
29236         (gst_base_transform_change_state):
29237         * gst/base/gstbasetransform.h:
29238         * gst/elements/gstidentity.c: (gst_identity_class_init),
29239         (gst_identity_event), (gst_identity_check_perfect),
29240         (gst_identity_transform), (gst_identity_start),
29241         (gst_identity_stop):
29242         Added start/stop methods to transform base class so subclasses 
29243         don't need to deal with state changes even.
29244
29245 2005-03-31  Wim Taymans  <wim@fluendo.com>
29246
29247         * gst/gstevent.c: (gst_event_new_discontinuous_valist),
29248         (gst_event_new_discontinuous), (gst_event_discont_get_value):
29249         * gst/gstevent.h:
29250         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
29251         (gst_pad_pull_range):
29252         Added rate to the discont event to prepare for variable speed
29253         and reverse playback.
29254
29255 2005-03-29  David Schleef  <ds@schleef.org>
29256
29257         * configure.ac:
29258         * testsuite/trigger/Makefile.am:
29259         * testsuite/trigger/trigger.c: A little example program to show
29260         how trigger-based elements can work.
29261
29262 2005-03-29  Wim Taymans  <wim@fluendo.com>
29263
29264         * gst/base/Makefile.am:
29265         * gst/base/README:
29266         * gst/base/gstbasesink.c: (gst_basesink_get_type),
29267         (gst_basesink_base_init), (gst_basesink_class_init),
29268         (gst_basesink_pad_getcaps), (gst_basesink_init),
29269         (gst_basesink_activate), (gst_basesink_change_state):
29270         * gst/base/gstbasesink.h:
29271         * gst/base/gstbasetransform.c: (gst_base_transform_get_type),
29272         (gst_base_transform_base_init), (gst_base_transform_finalize),
29273         (gst_base_transform_class_init), (gst_base_transform_init),
29274         (gst_base_transform_proxy_getcaps), (gst_base_transform_setcaps),
29275         (gst_base_transform_event), (gst_base_transform_getrange),
29276         (gst_base_transform_chain), (gst_base_transform_handle_buffer),
29277         (gst_base_transform_set_property),
29278         (gst_base_transform_get_property),
29279         (gst_base_transform_sink_activate),
29280         (gst_base_transform_src_activate),
29281         (gst_base_transform_change_state):
29282         * gst/base/gstbasetransform.h:
29283         * gst/elements/gstidentity.c: (gst_identity_finalize),
29284         (gst_identity_class_init), (gst_identity_init),
29285         (gst_identity_event), (gst_identity_check_perfect),
29286         (gst_identity_transform), (gst_identity_set_property),
29287         (gst_identity_get_property), (gst_identity_change_state):
29288         * gst/elements/gstidentity.h:
29289         * gst/gstelement.c: (gst_element_get_state_func),
29290         (gst_element_lost_state), (gst_element_pads_activate):
29291         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
29292         (gst_pad_check_pull_range), (gst_pad_pull_range):
29293         * gst/gstpad.h:
29294         Simplify pad activation.
29295         Added function to check if pull_range can be performed.
29296         Error out when pulling inactive or flushing pads.
29297         Removed const from refcounted types as it does not make sense.
29298         Simplify pad templates in basesink
29299         Added base class for simple 1-to-1 transforms.
29300         Make identity subclass the base transform.
29301
29302 2005-03-29  Andy Wingo  <wingo@pobox.com>
29303
29304         * docs/libs/gstreamer-libs-overrides.txt: 
29305         * docs/gst/gstreamer-overrides.txt: Add these files to CVS. Now I
29306         really don't understand what's going on, but like whatever. I want
29307         green buildbot!
29308
29309         * docs/gst/Makefile.am:
29310         * docs/libs/Makefile.am: Dist the overrides files.
29311
29312         * check/Makefile.am (clean-local): Remove .libs directories.
29313
29314         * gst/elements/Makefile.am (EXTRA_DIST): Add all the attic
29315         elements to EXTRA_DIST, so po/ files are happy.
29316
29317         * po/POTFILES.in: Er, remove it here.
29318
29319         * po/POTFILES: Remove gstspider.c.
29320
29321         * configure.ac (AC_OUTPUT): Add missing testsuite makefiles.
29322
29323         * docs/libs/gstreamer-libs-docs.sgml: 
29324         * docs/libs/gstreamer-libs-sections.txt: Remove the section on
29325         bytestream.
29326
29327         * tests/complexity.c (main): Set the length of the preroll queue
29328         on the sinks to prevent a lockup.
29329
29330         * libs/gst/dataprotocol/Makefile.am: 
29331         * libs/gst/dataprotocol/dataprotocol-test.c: Remove test, it's
29332         the same as the one in check/gst-libs/gdp.c.
29333
29334         * po/, docs/gst/: Commit automatic changes to docs and po files.
29335
29336         * gst/elements/Makefile.am (libgstelements_la_LDFLAGS): Link to
29337         the versioned libgstbase.
29338
29339         * check/Makefile.am: Depend on an unversioned gst-register, seems
29340         to make autoconf happier.
29341
29342         * gst/base/Makefile.am: Make libgstbase a versioned lib.
29343
29344 2005-03-28  Wim Taymans  <wim@fluendo.com>
29345
29346         * configure.ac:
29347         * docs/design/part-gstelement.txt:
29348         * docs/design/part-negotiation.txt:
29349         * docs/design/part-preroll.txt:
29350         * docs/design/part-scheduling.txt:
29351         * docs/design/part-states.txt:
29352         * gst/Makefile.am:
29353         * gst/base/Makefile.am:
29354         * gst/base/README:
29355         * gst/base/gstbasesink.c: (gst_basesink_get_template),
29356         (gst_basesink_base_init), (gst_basesink_class_init),
29357         (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
29358         (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
29359         (gst_basesink_set_pad_functions),
29360         (gst_basesink_set_all_pad_functions), (gst_basesink_set_clock),
29361         (gst_basesink_set_property), (gst_basesink_get_property),
29362         (gst_base_sink_get_template), (gst_base_sink_get_caps),
29363         (gst_base_sink_set_caps), (gst_base_sink_buffer_alloc),
29364         (gst_basesink_preroll_queue_push),
29365         (gst_basesink_preroll_queue_empty),
29366         (gst_basesink_preroll_queue_flush), (gst_basesink_finish_preroll),
29367         (gst_basesink_event), (gst_basesink_get_times),
29368         (gst_basesink_do_sync), (gst_basesink_handle_buffer),
29369         (gst_basesink_chain_unlocked), (gst_basesink_chain),
29370         (gst_basesink_loop), (gst_basesink_activate),
29371         (gst_basesink_change_state):
29372         * gst/base/gstbasesink.h:
29373         * gst/elements/Makefile.am:
29374         * gst/elements/gstfakesink.c: (gst_fakesink_base_init),
29375         (gst_fakesink_class_init), (gst_fakesink_init),
29376         (gst_fakesink_set_property), (gst_fakesink_get_property),
29377         (gst_fakesink_get_times), (gst_fakesink_event),
29378         (gst_fakesink_preroll), (gst_fakesink_render),
29379         (gst_fakesink_change_state):
29380         * gst/elements/gstfakesink.h:
29381         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
29382         (gst_bin_get_state), (gst_bin_change_state), (gst_bin_send_event):
29383         * gst/gstelement.c: (gst_element_add_pad),
29384         (gst_element_get_state_func), (gst_element_abort_state),
29385         (gst_element_commit_state), (gst_element_lost_state),
29386         (gst_element_set_state), (gst_element_pads_activate):
29387         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_event_default):
29388         * gst/gstpipeline.c: (gst_pipeline_send_event),
29389         (gst_pipeline_change_state):
29390         Added state change code.
29391         Added/updated docs.
29392         Added sink base class, make fakesink extend the base class.
29393         Small cleanups in GstPipeline.
29394
29395 2005-03-26  David Schleef  <ds@schleef.org>
29396
29397         * gst/Makefile.am: remove gstcpu.[ch].  The gst_cpu functionality
29398         is broken and should be implemented in a different library.
29399         * gst/gst.c: (init_post): don't call _gst_cpu_initialize()
29400         * gst/gst.h: remove gstcpu.h
29401         * gst/gstcpu.c: remove
29402         * gst/gstcpu.h: remove
29403         * gst/Makefile.am.future: Remove this file.  It's ancient.
29404
29405 2005-03-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
29406
29407         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
29408         (gst_bin_send_event):
29409           Add default event/set_manager handlers. The set_manager handler
29410           takes care that the manager is distributed over kids that were
29411           already in the bin before the manager was set. The event handler
29412           is a utility virtual function that sends the event over all sinks,
29413           so that gst_element_send_event (bin, event); has the expected
29414           behaviour.
29415         * gst/gstpad.c: (gst_pad_event_default):
29416           Re-install default event handling for discontinuities, so that
29417           seeking works without requiring hacks in applications or extra
29418           code in sinks.
29419         * gst/gstpipeline.c: (gst_pipeline_class_init),
29420         (gst_pipeline_send_event):
29421           Half hack, half utility: set a pipeline to PAUSED for seek events,
29422           since that is the only way we can guarantee a/v sync. Means that
29423           you can do gst_element_seek (pipeline, method, pos); on a pipeline
29424           and it "just works".
29425
29426 2005-03-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
29427
29428         * gst/gstpipeline.c: (gst_pipeline_use_clock):
29429           Lock/unlock mismatch.
29430
29431 2005-03-25  Thomas Vander Stichele  <thomas at apestaart dot org>
29432
29433         * docs/faq/gst-uninstalled:
29434           add gst-plugins-base
29435         * docs/gst/Makefile.am:
29436           don't error out until docs are fixed
29437         * docs/gst/gstreamer.types:
29438           remove thread
29439
29440 2005-03-22  Wim Taymans  <wim@fluendo.com>
29441
29442         * check/Makefile.am:
29443         * check/gst/gstmessage.c: (START_TEST), (gst_data_suite), (main):
29444         * gst/gststructure.c: (gst_structure_set_valist),
29445         (gst_structure_copy_conditional):
29446         Activated more tests.
29447         Added message test.
29448         Added G_TYPE_POINTER to GstStructure.
29449         
29450
29451 2005-03-22  Wim Taymans  <wim@fluendo.com>
29452
29453         * docs/design/part-TODO.txt:
29454         * docs/design/part-events.txt:
29455         * docs/design/part-gstbin.txt:
29456         * docs/design/part-gstbus.txt:
29457         * docs/design/part-gstpipeline.txt:
29458         * docs/design/part-messages.txt:
29459         * gst/gstbus.c:
29460         * gst/gstmessage.c:
29461         Docs updates
29462
29463 2005-03-21  Wim Taymans  <wim@fluendo.com>
29464
29465         * gst/gstbus.c: (gst_bus_post):
29466         Fix copy-and-paste error.
29467
29468 2005-03-21  Wim Taymans  <wim@fluendo.com>
29469
29470         * check/Makefile.am:
29471         * gst/Makefile.am:
29472         * gst/elements/Makefile.am:
29473         * gst/elements/gstelements.c:
29474         * gst/elements/gstfakesink.c: (gst_fakesink_init),
29475         (gst_fakesink_event), (gst_fakesink_chain):
29476         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
29477         (gst_fakesrc_init), (gst_fakesrc_get_event_mask),
29478         (gst_fakesrc_event_handler), (gst_fakesrc_set_pad_functions),
29479         (gst_fakesrc_set_all_pad_functions), (gst_fakesrc_request_new_pad),
29480         (gst_fakesrc_set_property), (gst_fakesrc_get_property),
29481         (gst_fakesrc_get_range_unlocked), (gst_fakesrc_get_range),
29482         (gst_fakesrc_loop), (gst_fakesrc_activate),
29483         (gst_fakesrc_change_state):
29484         * gst/elements/gstfakesrc.h:
29485         * gst/elements/gstfilesrc.c: (gst_filesrc_init),
29486         (gst_filesrc_get_read), (gst_filesrc_getrange), (gst_filesrc_get),
29487         (gst_filesrc_open_file), (gst_filesrc_loop),
29488         (gst_filesrc_activate), (gst_filesrc_change_state),
29489         (filesrc_find_peek), (filesrc_find_suggest),
29490         (gst_filesrc_type_find):
29491         * gst/elements/gstidentity.c: (gst_identity_finalize),
29492         (gst_identity_class_init), (gst_identity_init),
29493         (gst_identity_proxy_getcaps), (identity_queue_push),
29494         (identity_queue_pop), (identity_queue_flush), (gst_identity_event),
29495         (gst_identity_getrange), (gst_identity_chain),
29496         (gst_identity_sink_loop), (gst_identity_src_loop),
29497         (gst_identity_handle_buffer), (gst_identity_set_dataflow_funcs),
29498         (gst_identity_set_property), (gst_identity_get_property),
29499         (gst_identity_change_state):
29500         * gst/elements/gstidentity.h:
29501         * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_init),
29502         (gst_tee_update_pad_functions), (gst_tee_request_new_pad),
29503         (gst_tee_set_property), (gst_tee_get_property), (gst_tee_do_push),
29504         (gst_tee_handle_buffer), (gst_tee_chain), (gst_tee_loop),
29505         (gst_tee_sink_activate):
29506         * gst/elements/gsttee.h:
29507         * gst/gst.c: (gst_register_core_elements), (init_post):
29508         * gst/gst.h:
29509         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_bus),
29510         (gst_bin_set_scheduler), (gst_bin_add_func), (gst_bin_add),
29511         (gst_bin_remove_func), (gst_bin_remove), (gst_bin_get_state),
29512         (gst_bin_change_state):
29513         * gst/gstbin.h:
29514         * gst/gstbus.c: (gst_bus_get_type), (gst_bus_class_init),
29515         (gst_bus_init), (gst_bus_dispose), (gst_bus_set_property),
29516         (gst_bus_get_property), (gst_bus_new), (gst_bus_post),
29517         (gst_bus_have_pending), (gst_bus_pop), (gst_bus_peek),
29518         (gst_bus_set_sync_handler), (gst_bus_create_watch),
29519         (bus_watch_callback), (bus_watch_destroy),
29520         (gst_bus_add_watch_full), (gst_bus_add_watch), (poll_handler),
29521         (poll_timeout), (gst_bus_poll):
29522         * gst/gstbus.h:
29523         * gst/gstcaps.h:
29524         * gst/gstdata.h:
29525         * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
29526         (gst_element_post_message), (gst_element_message_full),
29527         (gst_element_get_state_func), (gst_element_get_state),
29528         (gst_element_abort_state), (gst_element_commit_state),
29529         (gst_element_lost_state), (gst_element_set_state),
29530         (gst_element_pads_activate), (gst_element_change_state),
29531         (gst_element_dispose), (gst_element_set_manager_func),
29532         (gst_element_set_bus_func), (gst_element_set_scheduler_func),
29533         (gst_element_set_manager), (gst_element_get_manager),
29534         (gst_element_set_bus), (gst_element_get_bus),
29535         (gst_element_set_scheduler), (gst_element_get_scheduler):
29536         * gst/gstelement.h:
29537         * gst/gstevent.c: (gst_event_new_segment_seek),
29538         (gst_event_new_flush):
29539         * gst/gstevent.h:
29540         * gst/gstmessage.c: (_gst_message_initialize), (_gst_message_copy),
29541         (_gst_message_free), (gst_message_get_type), (gst_message_new),
29542         (gst_message_new_eos), (gst_message_new_error),
29543         (gst_message_new_warning), (gst_message_new_tag),
29544         (gst_message_new_state_changed), (gst_message_new_application),
29545         (gst_message_get_structure), (gst_message_parse_tag),
29546         (gst_message_parse_state_changed), (gst_message_parse_error),
29547         (gst_message_parse_warning):
29548         * gst/gstmessage.h:
29549         * gst/gstpad.c: (gst_real_pad_class_init), (gst_real_pad_init),
29550         (gst_real_pad_set_property), (gst_pad_set_active),
29551         (gst_pad_is_active), (gst_pad_set_blocked_async),
29552         (gst_pad_set_blocked), (gst_pad_is_blocked),
29553         (gst_pad_set_activate_function), (gst_pad_set_loop_function),
29554         (gst_pad_set_getrange_function), (gst_pad_set_acceptcaps_function),
29555         (gst_pad_set_fixatecaps_function), (gst_pad_set_setcaps_function),
29556         (gst_pad_unlink), (gst_pad_link_prepare_filtered),
29557         (gst_pad_link_filtered), (gst_pad_relink_filtered),
29558         (gst_real_pad_get_caps_unlocked), (gst_pad_get_caps),
29559         (gst_pad_peer_get_caps), (gst_pad_fixate_caps),
29560         (gst_pad_accept_caps), (gst_pad_peer_accept_caps),
29561         (gst_pad_set_caps), (gst_pad_configure_sink),
29562         (gst_pad_configure_src), (gst_pad_get_negotiated_caps),
29563         (gst_pad_get_filter_caps), (gst_pad_alloc_buffer),
29564         (gst_real_pad_dispose), (gst_real_pad_finalize),
29565         (handle_pad_block), (gst_pad_push), (gst_pad_pull_range),
29566         (gst_pad_event_default_dispatch), (gst_pad_event_default),
29567         (gst_pad_push_event), (gst_pad_send_event), (gst_pad_get_formats):
29568         * gst/gstpad.h:
29569         * gst/gstpipeline.c: (gst_pipeline_init), (is_eos),
29570         (pipeline_bus_handler), (gst_pipeline_change_state),
29571         (gst_pipeline_get_scheduler), (gst_pipeline_get_bus):
29572         * gst/gstpipeline.h:
29573         * gst/gstprobe.h:
29574         * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
29575         (gst_queue_finalize), (gst_queue_getcaps), (gst_queue_link_sink),
29576         (gst_queue_link_src), (gst_queue_bufferalloc),
29577         (gst_queue_locked_flush), (gst_queue_handle_sink_event),
29578         (gst_queue_is_empty), (gst_queue_is_filled), (gst_queue_chain),
29579         (gst_queue_loop), (gst_queue_handle_src_event),
29580         (gst_queue_handle_src_query), (gst_queue_src_activate),
29581         (gst_queue_change_state):
29582         * gst/gstqueue.h:
29583         * gst/gstscheduler.c: (gst_scheduler_init),
29584         (gst_scheduler_dispose), (gst_scheduler_create_task),
29585         (gst_scheduler_factory_create):
29586         * gst/gstscheduler.h:
29587         * gst/gststructure.c: (gst_structure_get_type),
29588         (gst_structure_copy_conditional):
29589         * gst/gststructure.h:
29590         * gst/gsttaginterface.h:
29591         * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
29592         (gst_task_init), (gst_task_dispose), (gst_task_create),
29593         (gst_task_get_state), (gst_task_start), (gst_task_stop),
29594         (gst_task_pause):
29595         * gst/gsttask.h:
29596         * gst/gstthread.c:
29597         * gst/gstthread.h:
29598         * gst/gsttypes.h:
29599         * gst/schedulers/Makefile.am:
29600         * gst/schedulers/cothreads_compat.h:
29601         * gst/schedulers/entryscheduler.c:
29602         * gst/schedulers/faircothreads.c:
29603         * gst/schedulers/faircothreads.h:
29604         * gst/schedulers/fairscheduler.c:
29605         * gst/schedulers/gstbasicscheduler.c:
29606         * gst/schedulers/gstoptimalscheduler.c:
29607         * gst/schedulers/gthread-cothreads.h:
29608         * gst/schedulers/threadscheduler.c:
29609         (gst_thread_scheduler_task_get_type),
29610         (gst_thread_scheduler_task_class_init),
29611         (gst_thread_scheduler_task_init),
29612         (gst_thread_scheduler_task_start),
29613         (gst_thread_scheduler_task_stop),
29614         (gst_thread_scheduler_task_pause), (gst_thread_scheduler_get_type),
29615         (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
29616         (gst_thread_scheduler_init), (gst_thread_scheduler_create_task),
29617         (gst_thread_scheduler_setup), (gst_thread_scheduler_reset),
29618         (plugin_init):
29619         * libs/gst/Makefile.am:
29620         * libs/gst/bytestream/bytestream.c: (gst_bytestream_get_next_buf):
29621         * libs/gst/bytestream/filepad.c: (gst_file_pad_init),
29622         (gst_file_pad_parent_set):
29623         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
29624         (gst_dp_event_from_packet):
29625         * tests/complexity.c: (main):
29626         * tests/mass_elements.c: (main):
29627         * testsuite/states/locked.c: (message_received), (main):
29628         * testsuite/states/parent.c: (main):
29629         * tools/gst-inspect.c: (print_element_flag_info),
29630         (print_implementation_info), (print_pad_info):
29631         * tools/gst-launch.c: (check_intr), (play_handler), (event_loop),
29632         (main):
29633         * tools/gst-md5sum.c: (event_loop), (main):
29634         * tools/gst-typefind.c: (main):
29635         * tools/gst-xmlinspect.c: (print_element_info):
29636         Next big merge.
29637         Added GstBus for mainloop integration.
29638         Added GstMessage for sending notifications on the bus.
29639         Added GstTask as an abstraction for pipeline entry points.
29640         Removed GstThread.
29641         Removed Schedulers.
29642         Simplified GstQueue for multithreaded core.
29643         Made _link threadsafe, removed old capsnego.
29644         Added STREAM_LOCK and PREROLL_LOCK in GstPad.
29645         Added pad blocking functions.
29646         Reworked scheduling functions in GstPad to prepare for
29647         scheduling updates soon.
29648         Moved events out of data stream.
29649         Simplified GstEvent types.
29650         Added return values to push/pull.
29651         Removed clocking from GstElement.
29652         Added prototypes for state change function for next merge.
29653         Removed iterate from bins and state change management.
29654         Fixed some elements, disabled others for now.
29655         Fixed -inspect and -launch.
29656         Added check for GstBus.
29657
29658 2005-03-10  Wim Taymans  <wim@fluendo.com>
29659
29660         * docs/design/part-MT-refcounting.txt:
29661         * docs/design/part-clocks.txt:
29662         * docs/design/part-gstelement.txt:
29663         * docs/design/part-gstobject.txt:
29664         * docs/design/part-standards.txt:
29665         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
29666         (gst_bin_remove_func), (gst_bin_remove):
29667         * gst/gstbin.h:
29668         * gst/gstbuffer.c:
29669         * gst/gstcaps.h:
29670         * testsuite/clock/clock1.c: (main):
29671         * testsuite/clock/clock2.c: (gst_clock_debug), (element_wait),
29672         (main):
29673         * testsuite/dlopen/loadgst.c: (do_test):
29674         * testsuite/refcounting/bin.c: (add_remove_test1),
29675         (add_remove_test2), (main):
29676         * testsuite/refcounting/element.c: (main):
29677         * testsuite/refcounting/element_pad.c: (main):
29678         * testsuite/refcounting/pad.c: (main):
29679         * tools/gst-launch.c: (sigint_handler_sighandler):
29680         * tools/gst-typefind.c: (main):
29681         Doc updates.
29682         Added doc about clock.
29683         removed gst_bin_iterate_recurse_up(), marked methods
29684         for removal.
29685         Fix more testsuites.
29686
29687 2005-03-09  Wim Taymans  <wim@fluendo.com>
29688
29689         * gst/gstpad.c: (gst_pad_get_direction),
29690         (_gst_pad_default_fixate_foreach), (gst_pad_collectv),
29691         (gst_pad_collect_valist):
29692         * testsuite/bins/interface.c: (main):
29693         * testsuite/caps/audioscale.c: (test_caps):
29694         * testsuite/caps/caps.c: (test1), (test2), (test3):
29695         * testsuite/caps/deserialize.c: (main):
29696         * testsuite/caps/enumcaps.c: (main):
29697         * testsuite/caps/filtercaps.c: (main):
29698         * testsuite/caps/intersect2.c: (main):
29699         * testsuite/caps/random.c: (main):
29700         * testsuite/caps/renegotiate.c: (my_fixate), (main):
29701         * testsuite/caps/sets.c: (check_caps):
29702         * testsuite/caps/simplify.c: (check_caps), (main):
29703         * testsuite/caps/subtract.c: (check_caps):
29704         Fix _pad_get_direction wrt ghostpads.
29705         Fix caps testsuite.
29706
29707 2005-03-09  Wim Taymans  <wim@fluendo.com>
29708
29709         * check/Makefile.am:
29710         * check/gst/gstbin.c: (START_TEST), (gst_bin_suite), (main):
29711         * check/gst/gstsystemclock.c: (START_TEST), (gst_clock_debug),
29712         (ok_callback), (error_callback), (gst_systemclock_suite), (main):
29713         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_index_func),
29714         (gst_bin_set_clock_func), (gst_bin_get_clock_func),
29715         (gst_bin_add_func), (gst_bin_add), (gst_bin_remove_func),
29716         (gst_bin_remove), (gst_bin_iterate_recurse_up),
29717         (bin_element_is_sink), (gst_bin_iterate_sinks),
29718         (gst_bin_iterate_all_by_interface):
29719         * gst/gstbin.h:
29720         * gst/gstelement.c: (gst_element_init), (gst_element_error_full),
29721         (gst_element_change_state), (gst_element_dispose),
29722         (gst_element_finalize), (gst_element_set_loop_function):
29723         * gst/gstelement.h:
29724         * gst/gstiterator.c: (find_custom_fold_func):
29725         * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
29726         (gst_pad_collectv), (gst_pad_collect_valist),
29727         (gst_pad_template_new):
29728         * gst/gstpipeline.c: (gst_pipeline_class_init),
29729         (gst_pipeline_dispose), (gst_pipeline_set_property),
29730         (gst_pipeline_get_property), (gst_pipeline_get_clock_func),
29731         (gst_pipeline_get_clock), (gst_pipeline_use_clock),
29732         (gst_pipeline_set_clock), (gst_pipeline_auto_clock):
29733         * gst/gstutils.h:
29734         * gst/schedulers/entryscheduler.c:
29735         * gst/schedulers/gstbasicscheduler.c:
29736         (gst_basic_scheduler_cothreaded_chain),
29737         (gst_basic_scheduler_chain_add_element):
29738         * testsuite/bins/interface.c: (main):
29739         Added GstBin test.
29740         Added GstSystemClock test.
29741         Implemented clock distribution code in GstBin.
29742         Implemented iterate sinks method for future use.
29743         Rearranged gstelement.h
29744         Fix GstIterator comparison bug.
29745         Moved some code to GstPipeline, mostly clocking related.
29746
29747 2005-03-09  Wim Taymans  <wim@fluendo.com>
29748
29749         * configure.ac:
29750         * gst/gst_private.h:
29751         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
29752         (gst_bin_remove_func), (gst_bin_remove),
29753         (gst_bin_get_by_name_recurse_up):
29754         * gst/gstclock.c: (gst_clock_id_ref), (gst_clock_id_unref),
29755         (gst_clock_id_compare_func), (gst_clock_id_wait),
29756         (gst_clock_id_wait_async), (gst_clock_init),
29757         (gst_clock_adjust_unlocked), (gst_clock_get_time):
29758         * gst/gstelement.h:
29759         * gst/gstinfo.c: (_gst_debug_init):
29760         * gst/gstobject.h:
29761         * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
29762         (gst_pad_collectv), (gst_pad_collect_valist), (gst_pad_query):
29763         * gst/gstpad.h:
29764         Bump version number, we're now 0.9.0
29765         Add future debugging category.
29766         Fix NULL _unref() in _get_by_name_recurse_up
29767         Rearrange gstpad.h.
29768         Update some docs.
29769
29770 2005-03-08  Wim Taymans  <wim@fluendo.com>
29771
29772         * gst/elements/gstaggregator.c: (gst_aggregator_class_init):
29773         * gst/elements/gstfakesink.c: (gst_fakesink_class_init):
29774         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
29775         * gst/elements/gstfdsink.c: (gst_fdsink_class_init):
29776         * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init):
29777         * gst/elements/gstfilesink.c: (gst_filesink_class_init):
29778         * gst/elements/gstfilesrc.c: (gst_filesrc_class_init):
29779         * gst/elements/gstidentity.c: (gst_identity_class_init):
29780         * gst/elements/gstmd5sink.c: (gst_md5sink_class_init):
29781         * gst/elements/gstmultifilesrc.c: (gst_multifilesrc_class_init):
29782         * gst/elements/gstshaper.c: (gst_shaper_class_init):
29783         * gst/elements/gststatistics.c: (gst_statistics_class_init):
29784         * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_getcaps),
29785         (gst_tee_link):
29786         * gst/gstelement.c: (gst_element_class_init),
29787         (gst_element_base_class_init), (gst_element_init),
29788         (gst_element_get_random_pad), (gst_element_wait_state_change),
29789         (gst_element_change_state), (gst_element_dispose),
29790         (gst_element_finalize), (gst_element_set_loop_function):
29791         * gst/gstelement.h:
29792         * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_link_src):
29793         * gst/gstthread.c: (gst_thread_class_init),
29794         (gst_thread_release_children_locks), (gst_thread_change_state):
29795         * gst/schedulers/gstbasicscheduler.c:
29796         (gst_basic_scheduler_loopfunc_wrapper),
29797         (gst_basic_scheduler_chain_wrapper),
29798         (gst_basic_scheduler_src_wrapper),
29799         (gst_basic_scheduler_remove_element):
29800         * gst/schedulers/gstoptimalscheduler.c: (schedule_group):
29801         Remove threadsafe properties. Fix elements because GObject
29802         complains when installing a property before declaring a
29803         set/get_property handler.
29804         Rearrange gstelement.h file, use STATE macros for state locks.
29805         Free mutexes in the finalize method instead of dispose.
29806
29807 2005-03-08  Wim Taymans  <wim@fluendo.com>
29808
29809         * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
29810         * gst/gstthread.c: (gst_thread_release_children_locks):
29811         Added parentage check.
29812         Fix build og GstThread again.
29813
29814 2005-03-08  Wim Taymans  <wim@fluendo.com>
29815
29816         * docs/design/part-MT-refcounting.txt:
29817         * docs/design/part-conventions.txt:
29818         * docs/design/part-gstobject.txt:
29819         * docs/design/part-relations.txt:
29820         * docs/design/part-standards.txt:
29821         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
29822         (gst_bin_remove_func), (gst_bin_remove), (gst_bin_iterate_recurse),
29823         (gst_bin_get_by_name), (gst_bin_get_by_interface),
29824         (gst_bin_iterate_all_by_interface):
29825         * gst/gstbuffer.h:
29826         * gst/gstclock.h:
29827         * gst/gstelement.c: (gst_element_class_init),
29828         (gst_element_change_state), (gst_element_set_loop_function):
29829         * gst/gstelement.h:
29830         * gst/gstiterator.c:
29831         * gst/gstobject.c: (gst_object_class_init), (gst_object_ref),
29832         (gst_object_unref), (gst_object_sink), (gst_object_dispose),
29833         (gst_object_dispatch_properties_changed), (gst_object_set_name),
29834         (gst_object_set_parent), (gst_object_unparent),
29835         (gst_object_check_uniqueness):
29836         * gst/gstobject.h:
29837         Docs updates, clean up some headers.
29838
29839 2005-03-07  Wim Taymans  <wim@fluendo.com>
29840
29841         * check/.cvsignore:
29842         * check/Makefile.am:
29843         * check/gst-libs/.cvsignore:
29844         * check/gst-libs/gdp.c: (START_TEST), (gst_object_suite), (main):
29845         * check/gst/.cvsignore:
29846         * check/gst/gstbus.c: (pound_bus_with_messages), (pull_messages),
29847         (START_TEST), (gstbus_suite), (main):
29848         * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite), (main):
29849         * check/gst/gstdata.c: (START_TEST), (thread_ref), (thread_unref),
29850         (gst_data_suite), (main):
29851         * check/gst/gstiterator.c: (make_list_of_ints), (START_TEST),
29852         (add_fold_func), (gstiterator_suite), (main):
29853         * check/gst/gstobject.c: (gst_fake_object_get_type), (START_TEST),
29854         (thread_name_object), (thread_name_object_default),
29855         (gst_object_name_compare), (gst_object_suite), (main):
29856         * check/gst/gstpad.c: (START_TEST), (thread_link_unlink),
29857         (gst_pad_suite), (main):
29858         * check/gstcheck.c: (gst_check_log_message_func),
29859         (gst_check_log_critical_func), (gst_check_init):
29860         * check/gstcheck.h:
29861         * check/pipelines/simple_launch_lines.c: (setup_pipeline),
29862         (run_pipeline), (START_TEST), (simple_launch_lines_suite), (main):
29863         Added checks.
29864
29865 2005-03-07  Wim Taymans  <wim@fluendo.com>
29866
29867         * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
29868         (gst_list_iterator_next), (gst_list_iterator_resync),
29869         (gst_list_iterator_free), (gst_iterator_new_list),
29870         (gst_iterator_pop), (gst_iterator_next), (gst_iterator_resync),
29871         (gst_iterator_free), (gst_iterator_push), (filter_next),
29872         (filter_resync), (filter_uninit), (filter_free),
29873         (gst_iterator_filter), (gst_iterator_fold), (foreach_fold_func),
29874         (gst_iterator_foreach), (find_custom_fold_func),
29875         (gst_iterator_find_custom):
29876         * gst/gstiterator.h:
29877         Added missing files.
29878
29879 2005-03-07  Wim Taymans  <wim@fluendo.com>
29880
29881         * Makefile.am:
29882         * configure.ac:
29883         * docs/design/part-MT-refcounting.txt:
29884         * docs/design/part-conventions.txt:
29885         * docs/design/part-gstobject.txt:
29886         * docs/design/part-relations.txt:
29887         * examples/mixer/mixer.c: (main):
29888         * examples/thread/thread.c: (eos), (main):
29889         * gst/Makefile.am:
29890         * gst/autoplug/gstsearchfuncs.c: (gst_autoplug_caps_intersect):
29891         * gst/autoplug/gstspider.c: (gst_spider_identity_plug),
29892         (gst_spider_plug_from_srcpad):
29893         * gst/autoplug/gstspideridentity.c: (gst_spider_identity_getcaps),
29894         (gst_spider_identity_change_state),
29895         (gst_spider_identity_sink_loop_type_finding):
29896         * gst/elements/gstfakesrc.c: (gst_fakesrc_loop):
29897         * gst/elements/gstidentity.c: (gst_identity_init):
29898         * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_getcaps),
29899         (gst_tee_link), (gst_tee_request_new_pad), (gst_tee_chain):
29900         * gst/elements/gsttypefindelement.c: (free_entry):
29901         * gst/gst.c:
29902         * gst/gst.h:
29903         * gst/gstbin.c: (gst_bin_init), (gst_bin_get_clock_func),
29904         (gst_bin_set_clock_func), (gst_bin_auto_clock),
29905         (gst_bin_set_index), (gst_bin_set_element_sched),
29906         (gst_bin_unset_element_sched), (gst_bin_add_func), (gst_bin_add),
29907         (gst_bin_remove_func), (gst_bin_remove), (iterate_child),
29908         (gst_bin_iterate_elements), (iterate_child_recurse),
29909         (gst_bin_iterate_recurse), (gst_bin_dispose), (compare_name),
29910         (gst_bin_get_by_name), (gst_bin_get_by_name_recurse_up),
29911         (compare_interface), (gst_bin_get_by_interface),
29912         (gst_bin_iterate_all_by_interface), (gst_bin_iterate_func):
29913         * gst/gstbin.h:
29914         * gst/gstbuffer.c: (gst_buffer_get_type), (_gst_buffer_sub_free),
29915         (gst_buffer_default_free), (gst_buffer_default_copy),
29916         (gst_buffer_new), (gst_buffer_get_caps), (gst_buffer_set_caps),
29917         (gst_buffer_create_sub):
29918         * gst/gstbuffer.h:
29919         * gst/gstcaps.c: (gst_caps_get_type), (gst_caps_new_empty),
29920         (_gst_caps_free), (gst_caps_make_writable), (gst_caps_ref),
29921         (gst_caps_unref), (gst_static_caps_get),
29922         (gst_caps_remove_and_get_structure), (gst_caps_append),
29923         (gst_caps_append_structure), (gst_caps_remove_structure),
29924         (gst_caps_copy_nth), (gst_caps_set_simple),
29925         (gst_caps_set_simple_valist), (gst_caps_is_fixed_foreach),
29926         (gst_structure_is_equal_foreach), (gst_caps_is_subset),
29927         (gst_caps_structure_intersect_field), (gst_caps_intersect),
29928         (gst_caps_structure_subtract_field), (gst_caps_subtract),
29929         (gst_caps_normalize_foreach), (gst_caps_compare_structures),
29930         (gst_caps_structure_figure_out_union),
29931         (gst_caps_switch_structures), (gst_caps_do_simplify),
29932         (gst_caps_replace), (gst_caps_from_string),
29933         (gst_caps_copy_conditional):
29934         * gst/gstcaps.h:
29935         * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_id_ref),
29936         (_gst_clock_id_free), (gst_clock_id_unref),
29937         (gst_clock_id_compare_func), (gst_clock_id_wait),
29938         (gst_clock_id_wait_async), (gst_clock_class_init),
29939         (gst_clock_init), (gst_clock_dispose), (gst_clock_adjust_unlocked),
29940         (gst_clock_get_time), (gst_clock_set_time_adjust),
29941         (gst_clock_set_property), (gst_clock_get_property):
29942         * gst/gstclock.h:
29943         * gst/gstcompat.h:
29944         * gst/gstcpu.c: (_gst_cpu_initialize_i386), (gst_cpu_get_flags):
29945         * gst/gstdata.c: (gst_data_is_writable), (gst_data_copy_on_write):
29946         * gst/gstdata.h:
29947         * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
29948         (gst_element_requires_clock), (gst_element_provides_clock),
29949         (gst_element_set_clock), (gst_element_clock_wait),
29950         (gst_element_wait), (gst_element_set_time_delay),
29951         (gst_element_is_indexable), (gst_element_add_pad),
29952         (gst_element_add_ghost_pad), (gst_element_remove_pad),
29953         (pad_compare_name), (gst_element_get_static_pad),
29954         (gst_element_request_pad), (gst_element_get_request_pad),
29955         (gst_element_get_pad), (iterate_pad), (gst_element_iterate_pads),
29956         (gst_element_class_get_pad_template_list),
29957         (gst_element_class_get_pad_template), (gst_element_error_func),
29958         (gst_element_get_random_pad), (gst_element_get_event_masks),
29959         (gst_element_send_event), (gst_element_seek),
29960         (gst_element_get_query_types), (gst_element_query),
29961         (gst_element_get_formats), (gst_element_convert),
29962         (gst_element_is_locked_state), (gst_element_set_locked_state),
29963         (gst_element_sync_state_with_parent), (gst_element_change_state),
29964         (gst_element_finalize), (gst_element_yield),
29965         (gst_element_interrupt), (gst_element_set_scheduler),
29966         (gst_element_get_scheduler), (gst_element_set_loop_function):
29967         * gst/gstelement.h:
29968         * gst/gstevent.h:
29969         * gst/gstformat.c: (_gst_format_initialize), (gst_format_register),
29970         (gst_format_get_by_nick), (gst_format_get_details),
29971         (gst_format_iterate_definitions):
29972         * gst/gstformat.h:
29973         * gst/gstindex.c: (gst_index_gtype_resolver):
29974         * gst/gstinfo.c:
29975         * gst/gstinfo.h:
29976         * gst/gstmemchunk.c: (gst_mem_chunk_alloc), (gst_mem_chunk_alloc0),
29977         (gst_mem_chunk_free):
29978         * gst/gstobject.c: (gst_object_class_init), (gst_object_init),
29979         (gst_object_ref), (gst_object_unref), (gst_object_sink),
29980         (gst_object_replace), (gst_object_dispose), (gst_object_finalize),
29981         (gst_object_dispatch_properties_changed),
29982         (gst_object_set_name_default), (gst_object_set_name),
29983         (gst_object_get_name), (gst_object_set_name_prefix),
29984         (gst_object_get_name_prefix), (gst_object_set_parent),
29985         (gst_object_get_parent), (gst_object_unparent),
29986         (gst_object_check_uniqueness), (gst_object_save_thyself),
29987         (gst_object_restore_thyself), (gst_object_real_restore_thyself),
29988         (gst_object_set_property), (gst_object_get_property),
29989         (gst_object_get_path_string):
29990         * gst/gstobject.h:
29991         * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
29992         (gst_real_pad_init), (gst_real_pad_get_property),
29993         (gst_pad_custom_new), (gst_pad_get_direction),
29994         (gst_pad_set_active), (gst_pad_is_active),
29995         (gst_pad_set_event_function), (gst_pad_is_linked),
29996         (gst_pad_link_free), (gst_pad_link_intersect),
29997         (gst_pad_link_fixate), (gst_pad_set_caps),
29998         (gst_pad_try_set_caps_nonfixed), (gst_pad_set_pad_template),
29999         (gst_pad_get_real_parent), (gst_pad_add_ghost_pad),
30000         (gst_pad_remove_ghost_pad), (_gst_pad_default_fixate_foreach),
30001         (gst_pad_link_unnegotiate), (gst_pad_proxy_fixate),
30002         (gst_pad_get_caps), (gst_pad_peer_get_caps),
30003         (gst_pad_get_pad_template_caps), (gst_pad_get_peer),
30004         (gst_pad_realize), (gst_pad_get_allowed_caps),
30005         (gst_real_pad_dispose), (gst_real_pad_finalize),
30006         (gst_pad_collectv), (gst_pad_collect_valist),
30007         (gst_pad_template_dispose), (gst_pad_template_new),
30008         (gst_pad_get_internal_links):
30009         * gst/gstpad.h:
30010         * gst/gstpipeline.c: (gst_pipeline_dispose),
30011         (gst_pipeline_change_state):
30012         * gst/gstpipeline.h:
30013         * gst/gstplugin.c:
30014         * gst/gstpluginfeature.c: (gst_plugin_feature_get_name),
30015         (gst_plugin_feature_set_rank), (gst_plugin_feature_get_rank):
30016         * gst/gstpluginfeature.h:
30017         * gst/gstprobe.c: (gst_probe_dispatcher_dispatch):
30018         * gst/gstquery.c: (_gst_query_type_initialize),
30019         (gst_query_type_register), (gst_query_type_get_by_nick),
30020         (gst_query_type_get_details), (gst_query_type_iterate_definitions):
30021         * gst/gstquery.h:
30022         * gst/gstqueue.c: (gst_queue_link_sink), (gst_queue_link_src):
30023         * gst/gstscheduler.c: (gst_scheduler_add_element),
30024         (gst_scheduler_factory_create):
30025         * gst/gststructure.c: (gst_structure_set_parent_refcount),
30026         (gst_structure_free), (gst_structure_set_name),
30027         (gst_structure_id_set_value), (gst_structure_set_value),
30028         (gst_structure_set_valist), (gst_structure_remove_field),
30029         (gst_structure_remove_fields),
30030         (gst_structure_remove_fields_valist),
30031         (gst_structure_remove_all_fields), (gst_structure_foreach),
30032         (gst_structure_map_in_place),
30033         (gst_caps_structure_fixate_field_nearest_int),
30034         (gst_caps_structure_fixate_field_nearest_double):
30035         * gst/gststructure.h:
30036         * gst/gstsystemclock.c: (gst_system_clock_class_init),
30037         (gst_system_clock_init), (gst_system_clock_dispose),
30038         (gst_system_clock_async_thread),
30039         (gst_system_clock_id_wait_unlocked), (gst_system_clock_id_wait),
30040         (gst_system_clock_id_wait_async), (gst_system_clock_id_unschedule):
30041         * gst/gstsystemclock.h:
30042         * gst/gsttag.c: (gst_tag_list_add_value_internal),
30043         (gst_tag_list_copy_foreach), (structure_foreach_wrapper):
30044         * gst/gsttaginterface.c:
30045         * gst/gstthread.c: (gst_thread_dispose),
30046         (gst_thread_release_children_locks), (gst_thread_change_state),
30047         (gst_thread_main_loop):
30048         * gst/gsttrashstack.h:
30049         * gst/gsttypefind.c: (gst_type_find_factory_dispose):
30050         * gst/gsttypes.h:
30051         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
30052         (gst_element_request_pad), (gst_element_get_pad_from_template),
30053         (gst_element_request_compatible_pad),
30054         (gst_element_get_compatible_pad_filtered),
30055         (gst_element_get_compatible_pad), (gst_element_state_get_name),
30056         (gst_element_link_pads_filtered), (gst_element_link_filtered),
30057         (gst_element_link_many), (gst_element_link),
30058         (gst_element_link_pads), (gst_element_unlink_pads),
30059         (gst_element_unlink_many), (gst_element_unlink),
30060         (gst_pad_can_link_filtered), (gst_pad_can_link),
30061         (gst_pad_use_fixed_caps), (gst_pad_get_fixed_caps_func),
30062         (gst_object_default_error), (gst_bin_add_many),
30063         (gst_bin_remove_many), (gst_element_populate_std_props),
30064         (gst_element_class_install_std_props), (gst_buffer_merge),
30065         (gst_buffer_stamp), (intersect_caps_func), (gst_pad_proxy_getcaps),
30066         (link_fold_func), (gst_pad_proxy_setcaps):
30067         * gst/gstutils.h:
30068         * gst/gstvalue.c: (gst_value_deserialize_string):
30069         * gst/parse/grammar.y:
30070         * gst/schedulers/gstbasicscheduler.c:
30071         (gst_basic_scheduler_cothreaded_chain),
30072         (gst_basic_scheduler_chain_recursive_add),
30073         (gst_basic_scheduler_pad_link):
30074         * gst/schedulers/gstoptimalscheduler.c:
30075         (get_group_schedule_function),
30076         (gst_opt_scheduler_state_transition),
30077         (gst_opt_scheduler_add_element), (element_get_reachables_func):
30078         * libs/gst/bytestream/bytestream.c:
30079         * libs/gst/dataprotocol/dataprotocol.c:
30080         (gst_dp_header_from_buffer):
30081         * po/nb.po:
30082         * po/ru.po:
30083         * tests/threadstate/threadstate2.c: (eos):
30084         * tools/gst-compprep.c: (main):
30085         * tools/gst-inspect.c: (print_field), (print_element_flag_info),
30086         (print_pad_info), (print_children_info):
30087         * tools/gst-launch.c: (idle_func), (main):
30088         * tools/gst-md5sum.c: (idle_func), (main):
30089         * tools/gst-xmlinspect.c: (print_element_info):
30090         First THREADED backport attempt, focusing on adding locks and
30091         making sure the API is threadsafe. Needs more work. More docs
30092         follow this week.
30093
30094 2005-02-24  Andy Wingo  <wingo@pobox.com>
30095
30096         * tests/bench-complexity.scm:
30097         * tests/complexity.gnuplot: New files, good for running complexity
30098         benchmarks.
30099
30100         * tests/Makefile.am:
30101         * tests/complexity.c: New test, sets up N elements, at each level
30102         teeing into M streams per element. Eeeenteresting.
30103
30104         * tests/mass_elements.gnuplot: gnuplot file for the mass_elements
30105         benchmark. Run as gnuplot mass_elements.gnuplot > foo.ps, after
30106         running bench-mass_elements.scm.
30107
30108         * tests/bench-mass_elements.scm: New script, runs mass_elements
30109         for various numbers of identities, outputting the results to a
30110         file. Requires guile 1.6. Just for testing.
30111
30112 2005-02-23  Thomas Vander Stichele  <thomas at apestaart dot org>
30113
30114         * gst/schedulers/fairscheduler.c:
30115           compile with debug disabled
30116
30117 2005-02-22  Thomas Vander Stichele  <thomas at apestaart dot org>
30118
30119         * configure.ac:
30120           hunting season on 0.9 is now OPEN