docs/design/: Fix two typos.
[platform/upstream/gstreamer.git] / ChangeLog
1 2008-06-29  Stefan Kost  <ensonic@users.sf.net>
2
3         * docs/design/draft-framestep.txt:
4         * docs/design/part-negotiation.txt:
5           Fix two typos.
6
7 2008-06-27  Stefan Kost  <ensonic@users.sf.net>
8
9         * configure.ac:
10           Show configuration sumary after configure run. Based on patch by
11           Luc Pionchon <luc.pionchon@nokia.com>. Fixes: #540134
12
13 2008-06-27  Stefan Kost  <ensonic@users.sf.net>
14
15         patch by: Luc Pionchon  <luc.pionchon@nokia.com>
16
17         * docs/manual/advanced-autoplugging.xml:
18         * docs/manual/advanced-threads.xml:
19         * docs/manual/basics-bins.xml:
20         * docs/manual/basics-elements.xml:
21         * docs/manual/basics-helloworld.xml:
22         * docs/manual/basics-pads.xml:
23           Add scale factor for pdf output.
24
25         * docs/manual/intro-basics.xml:
26           Switched sections "pads" and "bins" and added a pipeline diagram.
27
28         * docs/manual/intro-gstreamer.xml:
29           Added more info on gstreamer.
30
31         * docs/manual/intro-motivation.xml:
32           Commented out the whole section "current problem", which sounds
33           historical and somehow osolete; it could be turned in a positive
34           way and reused to improve the design principles.
35
36         * docs/manual/intro-preface.xml:
37           - Update URLs to library.gnome.org. 
38           - Do not mention GTK+ in preliminary reading (irrelevant). 
39           - Mention Plugin Writer's Manual and further reading only in the
40             previous section.
41           - Added a list of most relevant GObject/glib topics.
42
43         * docs/manual/Makefile.am:
44         * docs/manual/bin-element-ghost.fig:
45         * docs/manual/bin-element-ghost.png:
46         * docs/manual/bin-element-noghost.fig:
47         * docs/manual/bin-element-noghost.png:
48         * docs/manual/bin-element.fig:
49         * docs/manual/bin-element.png:
50         * docs/manual/filter-element-multi.fig:
51         * docs/manual/filter-element-multi.png:
52         * docs/manual/filter-element.fig:
53         * docs/manual/filter-element.png:
54         * docs/manual/gstreamer-overview.png:
55         * docs/manual/hello-world.fig:
56         * docs/manual/hello-world.png:
57         * docs/manual/linked-elements.fig:
58         * docs/manual/linked-elements.png:
59         * docs/manual/mime-world.fig:
60         * docs/manual/mime-world.png:
61         * docs/manual/queue.fig:
62         * docs/manual/queue.png:
63         * docs/manual/simple-player.png:
64         * docs/manual/sink-element.fig:
65         * docs/manual/sink-element.png:
66         * docs/manual/src-element.fig:
67         * docs/manual/src-element.png:
68         * docs/manual/diagrams-general.svg:
69         * docs/manual/diagrams-pipelines.svg:
70           Removed .fig, added .png counterpart.
71           
72           Fixes: #539137
73
74 2008-06-26  Thijs Vermeir  <thijsvermeir@gmail.com>
75
76         * plugins/elements/gstmultiqueue.c:
77         * plugins/elements/gstmultiqueue.h:
78         revert extra-size-buffers stuff, caused some race conditions
79         and extra-size-buffers is not used anymore. Docs needs some updates
80
81 2008-06-26  Tim-Philipp Müller  <tim.muller at collabora co uk>
82
83         * win32/common/config.h:
84         * win32/common/gstenumtypes.c:
85         * win32/common/gstenumtypes.h:
86         * win32/common/gstversion.h:
87           Update win32 files.
88
89 2008-06-26  Tim-Philipp Müller  <tim.muller at collabora co uk>
90
91         * gst/gstdebugutils.h: (GstDebugGraphDetails),
92           (GST_DEBUG_BIN_TO_DOT_FILE):
93           Add missing Since' markers to gtk-doc blurbs.
94
95 2008-06-26  Wim Taymans  <wim.taymans@collabora.co.uk>
96
97         * tests/check/libs/transform1.c: (buffer_alloc_pt1),
98         (set_caps_pt1), (GST_START_TEST), (set_caps_pt2), (transform_ip_1),
99         (set_caps_1), (set_caps_ct1), (transform_ct1),
100         (transform_caps_ct1), (transform_size_ct1), (buffer_alloc_ct1),
101         (set_caps_ct2), (transform_ct2), (transform_caps_ct2),
102         (transform_size_ct2), (buffer_alloc_ct2):
103         Add some more tests with switching caps in buffer_alloc.
104
105 2008-06-25  Wim Taymans  <wim.taymans@collabora.co.uk>
106
107         * tests/check/libs/test_transform.c: (gst_test_trans_base_init),
108         (gst_test_trans_class_init), (result_sink_chain),
109         (result_buffer_alloc), (gst_test_trans_new), (gst_test_trans_free),
110         (gst_test_trans_push), (gst_test_trans_pop):
111         * tests/check/libs/transform1.c: (buffer_alloc_pt1),
112         (set_caps_pt1), (GST_START_TEST), (set_caps_pt2), (transform_ip_1),
113         (set_caps_1), (set_caps_ct1), (transform_ct1),
114         (transform_caps_ct1), (transform_size_ct1), (buffer_alloc_ct1),
115         (set_caps_ct2), (transform_ct2), (transform_caps_ct2),
116         (transform_size_ct2), (buffer_alloc_ct2),
117         (gst_basetransform_suite):
118         More tests, prepare for tests with switching caps in buffer_alloc.
119
120 2008-06-25  Thijs Vermeir  <thijsvermeir@gmail.com>
121
122         * plugins/elements/gstmultiqueue.c:
123         * plugins/elements/gstmultiqueue.h:
124         Fix dead-lock in underrun_cb
125
126 2008-06-25  Wim Taymans  <wim.taymans@collabora.co.uk>
127
128         * docs/design/part-states.txt:
129         Fix device open/close docs.
130
131 2008-06-25  Stefan Kost  <ensonic@users.sf.net>
132
133         * ChangeLog:
134           Mention bugnumber for last commit.
135
136 2008-06-25  Stefan Kost  <ensonic@users.sf.net>
137
138         patch by: Luc Pionchon  <luc.pionchon@nokia.com>
139
140         * docs/manual/manual.xml:
141         - Reorganised the previous "introduction" bundle into Foreword,
142         Introduction, and About GStreamer. The two first are <preface>
143         docbook elements. The later is the first part of the book.
144         - added intro-gstreamer.xml (content partially from
145         intro-preface.xml)
146         - moved appendix-win32.xml into appendix-integration.xml
147
148         * docs/manual/intro-preface.xml: gstreamer section moved...
149         * docs/manual/intro-gstreamer.xml: ...here. new file.
150
151         * docs/manual/appendix-win32.xml: removed file. Content moved...
152         * docs/manual/appendix-integration.xml: ...here.
153         
154         * docs/manual/highlevel-components.xml: section about GstEditor moved...
155         * docs/manual/appendix-checklist.xml: ...here.
156         
157         Fixes: 538764
158
159 2008-06-25  Stefan Kost  <ensonic@users.sf.net>
160
161         patch by: Luc Pionchon  <luc.pionchon@nokia.com>
162
163         * docs/manual/basics-helloworld.xml:
164         * docs/manual/hello-world.fig:
165           - Explicitely include glib.h.
166           - Do not use global variables.
167           - Use g_printerr() instead of g_print().
168           - Minor formating/renaming to increase readibility.
169           - Renamed new_pad() to on_pad_added()
170           - Improved explenatory comments.
171           - renamed ogg parser to ogg demuxer
172           - Use "autoaudiosink" instead of "alsasink".
173           Fixes: #538619
174
175 2008-06-25  Stefan Kost  <ensonic@users.sf.net>
176
177         * ChangeLog:
178           Remove cvs conflict marker.
179
180 2008-06-25  Stefan Kost  <ensonic@users.sf.net>
181
182         * docs/README:
183           Document that for plgin-docs we extraxt he short-desc from the element
184           details.
185
186         * docs/design/part-states.txt:
187           Tell that devices should be closed in PAUSED -> READY.
188
189         * docs/manual/README:
190           Document how tests in the manual are handled.
191
192         * docs/manuals.mak:
193           Typo in comment.
194
195 2008-06-25  Wim Taymans  <wim.taymans@collabora.co.uk>
196
197         * gst/gstbin.c: (bin_query_latency_fold):
198         Only care about latency min and max when the sink is actually a live
199         sink.
200
201 2008-06-25  Wim Taymans  <wim.taymans@collabora.co.uk>
202
203         * docs/design/part-block.txt:
204         Fix typo.
205
206         * docs/design/part-element-transform.txt:
207         Add notes about why transform needs to know input/output sizes.
208         Add some issues that need to be solved.
209         Add some more use cases.
210
211         * tests/check/libs/test_transform.c: (gst_test_trans_base_init),
212         (gst_test_trans_class_init), (result_sink_chain),
213         (result_buffer_alloc), (gst_test_trans_new), (gst_test_trans_free),
214         (gst_test_trans_push), (gst_test_trans_pop):
215         * tests/check/libs/transform1.c: (buffer_alloc_pt1),
216         (set_caps_pt1), (GST_START_TEST), (set_caps_pt2), (transform_ip_1),
217         (set_caps_1), (set_caps_ct1), (transform_ct1),
218         (transform_caps_ct1), (transform_size_ct1), (buffer_alloc_ct1),
219         (gst_basetransform_suite):
220         Add suport for different pad templates and buffer-alloc.
221         Add more checks for caps and buffer-alloc.
222         Add checks for proxy buffer alloc.
223         Add unit test for copy transform.
224
225 2008-06-24  Tim-Philipp Müller  <tim.muller at collabora co uk>
226
227         Patch by: Luc Pionchon  <luc.pionchon@nokia.com>
228
229         * docs/manual/appendix-integration.xml:
230         * docs/manual/appendix-licensing.xml:
231         * docs/manual/basics-elements.xml:
232         * docs/manual/basics-helloworld.xml:
233         * docs/manual/basics-pads.xml:
234         * docs/manual/highlevel-components.xml:
235         * docs/manual/highlevel-xml.xml:
236         * docs/manual/intro-basics.xml:
237         * docs/manual/intro-preface.xml:
238           Typo and formatting fixes (#538594).
239
240 2008-06-24  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
241
242         * tests/check/gst/gstghostpad.c: (GST_START_TEST):
243         Fix some memory leaks and uses of object instances that we don't
244         actually own.
245
246 2008-06-22  Thijs Vermeir  <thijsvermeir@gmail.com>
247
248         * plugins/elements/gstmultiqueue.c:
249         Add functionality to extra-size-buffers property.
250
251 2008-06-22  Thijs Vermeir  <thijsvermeir@gmail.com>
252
253         * plugins/elements/gstmultiqueue.c:
254         Don't update the cur_time on GST_CLOCK_TIME_NONE (#537804) and don't
255         activate the pads if they are added in STATE_NULL.
256
257 2008-06-21  Thijs Vermeir  <thijsvermeir@gmail.com>
258
259         * docs/libs/gstreamer-libs-sections.txt:
260         Add new API to doc
261         * libs/gst/check/gstcheck.c:
262         * libs/gst/check/gstcheck.h:
263         API: gst_check_teardown_pad_by_name
264
265 2008-06-21  Thijs Vermeir  <thijsvermeir@gmail.com>
266
267         * libs/gst/check/gstcheck.c:
268         * libs/gst/check/gstcheck.h:
269         Also setup request pads and allow setup pads by name (#537812)
270         API: gst_check_setup_src_pad_by_name
271         API: gst_check_setup_sink_pad_by_name
272
273 2008-06-20  Thomas Vander Stichele  <thomas at apestaart dot org>
274
275         * tests/check/gst/gstbuffer.c:
276         * tests/check/pipelines/parse-launch.c:
277           Use HAVE_VALGRIND_H some more.
278
279 2008-06-20  Thomas Vander Stichele  <thomas at apestaart dot org>
280
281         * scripts/cvs-update.sh:
282           Pass arguments to make.
283           Run autoregen.sh if Makefile is not there.
284
285 2008-06-20  Thomas Vander Stichele  <thomas at apestaart dot org>
286
287         * configure.ac:
288         * gst/gstinfo.c:
289           Don't assume that <valgrind/valgrind.h> exists just because
290           the binary is there.
291
292 2008-06-20  Wim Taymans  <wim.taymans@collabora.co.uk>
293
294         * tests/check/Makefile.am:
295         * tests/check/libs/test_transform.c: (gst_test_trans_base_init),
296         (gst_test_trans_class_init), (gst_test_trans_init),
297         (gst_test_trans_set_data), (result_sink_chain),
298         (gst_test_trans_new), (gst_test_trans_free), (gst_test_trans_push),
299         (gst_test_trans_pop):
300         * tests/check/libs/transform1.c: (GST_START_TEST),
301         (transform_ip_1), (set_caps_1), (gst_basetransform_suite):
302         Add some test basetransform element and the beginnings of various
303         unit tests for it.
304
305 2008-06-20  Wim Taymans  <wim.taymans@collabora.co.uk>
306
307         * libs/gst/base/gsttypefindhelper.c: (helper_find_peek):
308         Increase code readability.
309         Don't try to compare buffer offsets when ther are invalid.
310
311 2008-06-20  Tim-Philipp Müller  <tim.muller at collabora co uk>
312
313         * docs/design/Makefile.am:
314           Dist some more design docs.
315
316         * docs/random/moving-plugins:
317           Small addition: good plugins mustn't have functional code
318           within assertion macros.
319
320 2008-06-20  Wim Taymans  <wim.taymans@collabora.co.uk>
321
322         * docs/design/draft-framestep.txt:
323         Some ideas about a framestep API
324
325         * docs/design/part-element-transform.txt:
326         Start design and use cases for basetransform in order to get it
327         fixed soon.
328
329 2008-06-20  Tim-Philipp Müller  <tim.muller at collabora co uk>
330
331         * gst/gsttaglist.h:
332           In GST_TAG_ATTACHEMENT docs, mention that the file name needs to
333           be in UTF-8 encoding.
334
335 2008-06-20  Tim-Philipp Müller  <tim.muller at collabora co uk>
336
337         * gst/gstbus.c:
338           Make it known that gst_bus_poll() is pure evil (fixes #538810).
339
340 2008-06-20  Stefan Kost  <ensonic@users.sf.net>
341
342         * plugins/elements/gstcapsfilter.c:
343         * plugins/elements/gstfakesink.c:
344         * plugins/elements/gstfakesrc.c:
345         * plugins/elements/gstfdsink.c:
346         * plugins/elements/gstfdsrc.c:
347         * plugins/elements/gstfilesink.c:
348         * plugins/elements/gstfilesrc.c:
349         * plugins/elements/gstidentity.c:
350         * plugins/elements/gstmultiqueue.c:
351         * plugins/elements/gstqueue.c:
352         * plugins/elements/gsttee.c:
353         * plugins/elements/gsttypefindelement.c:
354           Remove short_description. Add basic docs for gsttypefindelement.
355           Simplify markup for fakesrc/fdsrc.
356
357 2008-06-20  Wim Taymans  <wim.taymans@collabora.co.uk>
358
359         * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init):
360         Added Since doc.
361
362 2008-06-20  Wim Taymans  <wim.taymans@collabora.co.uk>
363
364         Patch by: joel larsson <tilljoel at gmail dot com>
365
366         * docs/plugins/gstreamer-plugins.args:
367         * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init),
368         (gst_fd_src_init), (gst_fd_src_update_fd),
369         (gst_fd_src_set_property), (gst_fd_src_get_property),
370         (gst_fd_src_create):
371         * plugins/elements/gstfdsrc.h:
372         Add timeout property like udpsrc. Fixes #538628.
373         Add some more docs and example pipelines.
374
375 2008-06-20  Wim Taymans  <wim.taymans@collabora.co.uk>
376
377         * docs/libs/gstreamer-libs-sections.txt:
378         * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
379         (gst_base_sink_query_latency), (gst_base_sink_set_render_delay),
380         (gst_base_sink_get_render_delay), (gst_base_sink_wait_eos),
381         (gst_base_sink_do_sync):
382         * libs/gst/base/gstbasesink.h:
383         * win32/common/libgstbase.def:
384         Add method to allow sinks to specify additional delay between the sync
385         times and the actual rendering of the data.
386         API: gst_base_sink_set_render_delay()
387         API: gst_base_sink_get_render_delay()
388
389 2008-06-20  Jan Schmidt  <jan.schmidt@sun.com>
390
391         * configure.ac:
392         Bump version number back to dev -> 0.10.20.1
393
394 2008-06-20  Sebastian Dröge  <slomo@circular-chaos.org>
395
396         * docs/gst/gstreamer-sections.txt:
397         * gst/gsttaglist.c: (_gst_tag_initialize):
398         * gst/gsttaglist.h:
399         API: Add GST_TAG_ATTACHMENT for generic file attachments to streams.
400         Fixes bug #538568.
401
402 2008-06-20  Stefan Kost  <ensonic@users.sf.net>
403
404         * libs/gst/controller/gstcontroller.c:
405           Revert one change, that make ret value possible uninitialized.
406
407 2008-06-20  Stefan Kost  <ensonic@users.sf.net>
408
409         * libs/gst/controller/gstcontroller.c:
410           Use freeze/thaw notify to sync notify emission a bit (its also more
411           efficient). Move debug output to LOG (is called a lot in a loop).
412           Always unset g_values if the have been initialized.
413
414 2008-06-20  Wim Taymans  <wim.taymans@collabora.co.uk>
415
416         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
417         (gst_base_sink_wait_eos), (gst_base_sink_event):
418         If we have not seen a buffer before EOS, use the segment values to
419         report the current position instead of invalid positions.
420
421 2008-06-20  Stefan Kost  <ensonic@users.sf.net>
422
423         * docs/plugins/tmpl/.cvsignore:
424         * tests/check/gst/.cvsignore:
425           Ignore more.
426
427 2008-06-20  Stefan Kost  <ensonic@users.sf.net>
428
429         * libs/gst/controller/gstinterpolation.c:
430         * libs/gst/controller/gstinterpolationcontrolsource.c:
431         * tests/check/libs/controller.c:
432           Rewrite handling of default values. Fix overflow with unsigned types
433           in linear interpolation. Remove now obsolete _first_value() function.
434           Add more tests. Fixes #538201.
435
436 2008-06-20  Wim Taymans  <wim.taymans@collabora.co.uk>
437
438         * libs/gst/base/gstbasetransform.c:
439         (gst_base_transform_class_init), (gst_base_transform_init),
440         (gst_base_transform_transform_caps),
441         (gst_base_transform_prepare_output_buffer):
442         Add debug info.
443         When a buffer is writable, its metadata is also writable so we don't
444         need to subbuffer (which then makes the buffer not-writable anymore).
445
446 === release 0.10.20 ===
447
448 2008-06-18  Jan Schmidt <jan.schmidt@sun.com>
449
450         * configure.ac:
451           releasing 0.10.20, "You Crazy Diamond"
452
453 2008-06-11  Jan Schmidt  <jan.schmidt@sun.com>
454
455         * configure.ac:
456         0.10.19.3 pre-release
457
458 2008-06-11  Jan Schmidt  <jan.schmidt@sun.com>
459
460         * configure.ac:
461         * gst/gstpreset.c:
462         Rename DATADIR to GST_DATADIR to avoid build problems
463         on win32. Patch By: David Schleef <ds@schleef.org>
464         Fixes: #536857
465
466 2008-06-05  Sebastian Dröge  <slomo@circular-chaos.org>
467
468         * configure.ac:
469         Explicitely link with -ldl if dladdr() is found there. Before it was
470         implicitely linked by the gmodule pkgconfig file but in glib 2.17.0
471         -ldl has moved from Libs to Libs.private. Fixes bug #536744.
472
473 2008-06-05  Tim-Philipp Müller  <tim.muller at collabora co uk>
474
475         * gst/gsterror.c: (_gst_stream_errors_init):
476           Fix typo (spotted by Fabricio Godoy, #536723).
477
478 2008-06-05  Jan Schmidt  <jan.schmidt@sun.com>
479
480         * configure.ac:
481         0.10.19.2 pre-release
482
483 2008-06-04  Wim Taymans  <wim.taymans@collabora.co.uk>
484
485         * libs/gst/base/gstbasesink.c: (gst_base_sink_set_async_enabled),
486         (gst_base_sink_set_ts_offset), (gst_base_sink_perform_qos):
487         Add some debug.
488         Make sure we don't generate invalid QoS messages.
489
490 2008-06-04  Wim Taymans  <wim.taymans@collabora.co.uk>
491
492         * gst/gstevent.c: (gst_event_new_qos):
493         Add some assert and docs for invalid input to the qos function.
494
495 2008-05-30  Wim Taymans  <wim.taymans@collabora.co.uk>
496
497         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
498         (gst_base_sink_get_position):
499         The reported position must always be smaller than the last seen
500         timestamps (or timestamp + duration for reverse).
501
502 2008-05-30  Sebastian Dröge  <slomo@circular-chaos.org>
503
504         Patch by: Rob Bradford <rob at robster dot org dot uk>
505
506         * gst/gstregistry.c: (gst_registry_scan_path_level):
507         Don't recurse into .debug directories as some distros install
508         the debugging symbols next to the plugins in .debug directories
509         and dlopen() crashes on them sometimes. Fixes bug #508070.
510
511         Add FIXME for 0.11 to not recurse into directories at all because
512         it's very inconsistent to the behaviour of other PATH environment
513         variables.
514
515 2008-05-29  Wim Taymans  <wim.taymans@collabora.co.uk>
516
517         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
518         (gst_base_sink_get_position_last), (gst_base_sink_get_position):
519         Fix position query range checks in reverse playback.
520
521 2008-05-29  Sebastian Dröge  <slomo@circular-chaos.org>
522
523         * gst/gstelement.c:
524         * gst/gstelement.h:
525         Deprecated gst_element_get_pad() as it can't be used sanely. It's not
526         clear of the reference to the resulting pad must be released later
527         or not, resulting in possible leaks. Fixes bug #533865.
528
529 2008-05-28  Wim Taymans  <wim.taymans@collabora.co.uk>
530
531         Patch by: José Alburquerque <jaalburqu at svn dot gnome dot org>
532
533         * gst/gstelementfactory.c:
534         Small doc fix. Fixes #535285.
535
536 2008-05-28  Wim Taymans  <wim.taymans@collabora.co.uk>
537
538         Based on patch by: Bjarne Rosengren <bjarne at axis dot com>
539
540         * libs/gst/base/gstbasesrc.c: (gst_base_src_send_event),
541         (gst_base_src_get_range), (gst_base_src_pad_get_range),
542         (gst_base_src_loop), (gst_base_src_set_flushing),
543         (gst_base_src_change_state):
544         Make sending an EOS event to the basesrc non-blocking even if the
545         implementation does blocking waits in the create function. This is done
546         by unlocking the create function when EOS is sent.
547         Fixes #535218.
548
549 2008-05-28  Sebastian Dröge  <slomo@circular-chaos.org>
550
551         * tools/gst-inspect.c: (print_element_properties_info):
552         If possible print the element type of GValueArray properties.
553
554 2008-05-28  Sebastian Dröge  <slomo@circular-chaos.org>
555
556         * gst/gstiterator.c:
557         Remove an unused field from the private GstListIterator struct.
558
559 2008-05-27  Stefan Kost  <ensonic@users.sf.net>
560
561         * libs/gst/controller/gstcontroller.c:
562           Add parameter guards.
563
564 2008-05-27  Stefan Kost  <ensonic@users.sf.net>
565
566         * tests/check/gst/gstpipeline.c:
567           Revert test change and add comment why it should not work.
568
569 2008-05-27  Stefan Kost  <ensonic@users.sf.net>
570
571         * tests/check/gst/gstpipeline.c:
572           Extending the test a little to verify that we also get the NULL state-
573           change message.
574
575 2008-05-27  Tim-Philipp Müller  <tim.muller at collabora co uk>
576
577         * gst/gstpreset.c: (gst_preset_default_get_meta),
578           (gst_preset_get_preset_names), (gst_preset_get_property_names),
579           (gst_preset_load_preset), (gst_preset_save_preset),
580           (gst_preset_rename_preset), (gst_preset_delete_preset),
581           (gst_preset_set_meta):
582           Add Since: markers to docs blurbs.
583
584         * win32/common/libgstreamer.def:
585           Add recently-added API.
586
587 2008-05-27  Wim Taymans  <wim.taymans@collabora.co.uk>
588
589         Patch by: Stefan Kost  <ensonic@users.sf.net>
590
591         * configure.ac:
592         Add DATADIR for storing presets.
593
594         * docs/gst/gstreamer-docs.sgml:
595         * docs/gst/gstreamer-sections.txt:
596         * docs/gst/gstreamer.types.in:
597         Add GstPreset to docs.
598
599         * gst/Makefile.am:
600         * gst/gst.h:
601         * gst/gstpreset.c: (preset_get_paths), (preset_skip_property),
602         (preset_open_and_parse_header), (preset_parse_version),
603         (preset_merge), (preset_get_keyfile),
604         (gst_preset_default_get_preset_names),
605         (gst_preset_default_get_property_names),
606         (gst_preset_default_load_preset),
607         (gst_preset_default_save_presets_file),
608         (gst_preset_default_save_preset),
609         (gst_preset_default_rename_preset),
610         (gst_preset_default_delete_preset), (gst_preset_default_set_meta),
611         (gst_preset_default_get_meta), (gst_preset_default_randomize),
612         (gst_preset_default_reset), (gst_preset_get_preset_names),
613         (gst_preset_get_property_names), (gst_preset_load_preset),
614         (gst_preset_save_preset), (gst_preset_rename_preset),
615         (gst_preset_delete_preset), (gst_preset_set_meta),
616         (gst_preset_get_meta), (gst_preset_class_init),
617         (gst_preset_base_init), (gst_preset_get_type):
618         * gst/gstpreset.h:
619         Add GstPreset to core. Fixes #396779
620
621         * tests/check/Makefile.am:
622         * tests/check/gst/gstpreset.c: (gst_preset_test_get_property),
623         (gst_preset_test_set_property), (gst_preset_test_class_init),
624         (gst_preset_test_base_init), (gst_preset_test_get_type),
625         (gst_preset_test_plugin_init), (GST_START_TEST),
626         (remove_preset_file), (test_setup), (test_teardown),
627         (gst_preset_suite):
628         Add GstPreset unit tests.
629
630 2008-05-27  Wim Taymans  <wim.taymans@collabora.co.uk>
631
632         * gst/gstpad.c: (gst_pad_event_default_dispatch):
633         The default event function on a sinkpad should return TRUE when
634         there are no internal links but should collect the return values from
635         the internal links otherwise.
636
637 2008-05-27  Wim Taymans  <wim.taymans@collabora.co.uk>
638
639         * plugins/elements/gsttypefindelement.c:
640         (gst_type_find_element_src_event),
641         (gst_type_find_element_handle_event):
642         Use faster and safer _pad_push_event().
643
644 2008-05-27  Tim-Philipp Müller  <tim.muller at collabora co uk>
645
646         * docs/gst/gstreamer-sections.txt:
647         * gst/gstutils.c: (element_find_unlinked_pad),
648           (gst_bin_find_unlinked_pad), (gst_bin_find_unconnected_pad),
649         * gst/gstutils.h:
650           API: add gst_bin_find_unlinked_pad()
651           API: deprecate gst_bin_find_unconnected_pad() (#401456)
652
653 2008-05-26  Peter Kjellerstedt  <pkj@axis.com>
654
655         * gst/gstclock.c:
656         * gst/gstclock.h:
657         * gst/gsttask.c:
658         * gst/gsttask.h:
659         Fixed a bunch of typos.
660
661 2008-05-25  Tim-Philipp Müller  <tim.muller at collabora co uk>
662
663         * gst/gstpad.h:
664         * gst/gstutils.c: (gst_element_unlink), (element_find_unlinked_pad),
665           (gst_bin_find_unconnected_pad), (gst_parse_bin_from_description),
666           (gst_parse_bin_from_description_full):
667         * gst/gstutils.h:
668           'unconnected pad' -> 'unlinked pad' for consistency (#401456).
669
670 2008-05-25  Tim-Philipp Müller  <tim.muller at collabora co uk>
671
672         * docs/pwg/advanced-tagging.xml:
673           Small docs update, can't be bothered to rewrite the nonsensical
674           examples right now.
675
676 2008-05-25  Tim-Philipp Müller  <tim.muller at collabora co uk>
677
678         * gst/gstevent.h:
679           Clarify docs for GST_SEEK_TYPE_CUR (#534505).
680
681 2008-05-25  Tim-Philipp Müller  <tim.muller at collabora co uk>
682
683         * gst/parse/grammar.y:
684           Remove unneeded casts.
685
686 2008-05-25  Tim-Philipp Müller  <tim.muller at collabora co uk>
687
688         * gst/parse/grammar.y:
689         * tests/check/pipelines/parse-launch.c:
690           Get all missing elements from a parse launch string if possible
691           (ie. if the FATAL_ERRORS flag has been specified). Fixes #528178.
692
693 2008-05-24  Tim-Philipp Müller  <tim.muller at collabora co uk>
694
695         * tests/check/Makefile.am:
696         * tests/check/pipelines/parse-launch.c:
697           Add some unit tests for the new gst_parse_launch*_full() API.
698           (Exposes a previously-existing memory leak in the error code
699           path, so adding to VALGRIND_TO_FIX for now).
700
701 2008-05-24  Tim-Philipp Müller  <tim.muller at collabora co uk>
702
703         * docs/gst/gstreamer-sections.txt:
704         * gst/gst.c: (init_post):
705         * gst/gst_private.h: (_GstParseContext):
706         * gst/gstparse.c: (gst_parse_error_quark), (gst_parse_context_new),
707           (gst_parse_context_free), (gst_parse_context_get_missing_elements),
708           (gst_parse_launchv), (gst_parse_launchv_full), (gst_parse_launch),
709           (gst_parse_launch_full):
710         * gst/gstparse.h: (GST_PARSE_FLAG_NONE), (GST_PARSE_FLAG_FATAL_ERRORS),
711           (GstParseFlags), (GstParseContext):
712         * gst/gstutils.c: (gst_parse_bin_from_description),
713           (gst_parse_bin_from_description_full):
714         * gst/gstutils.h:
715         * gst/parse/grammar.y:
716         * gst/parse/types.h:
717         * win32/common/libgstreamer.def:
718           Add new gst_parse_*_full API (#528178):
719           API: gst_parse_launch_full()
720           API: gst_parse_launchv_full()
721           API: gst_parse_bin_from_description_full()
722           API: gst_parse_context_new()
723           API: gst_parse_context_free()
724           API: gst_parse_context_get_missing_elements()
725
726 2008-05-23  Stefan Kost  <ensonic@users.sf.net>
727
728         patch by: Suresh Kumar P <sureshkumar.pp@gmail.com>
729
730         * docs/faq/gst-uninstalled:
731           Also support ffmpeg in gst-uninstalled.
732
733 2008-05-22  Sebastian Dröge  <slomo@circular-chaos.org>
734
735         * configure.ac:
736         After discussion on IRC use the binary registry as default
737         but allow to disable it with --disable-binary-registry.
738
739         * win32/common/libgstreamer.def:
740         Add the two new symbols for the binary registry.
741
742 2008-05-22  Tim-Philipp Müller  <tim.muller at collabora co uk>
743
744         * gst/gstparse.c: (_gst_parse_escape), (gst_parse_launchv):
745         * gst/gstutils.c: (gst_parse_bin_from_description):
746         * gst/parse/grammar.y: (graph):
747           More guards against bad input; typo fix; some minor clean-ups.
748
749 2008-05-22  Sebastian Dröge  <slomo@circular-chaos.org>
750
751         Patch by: Sjoerd Simons <sjoerd at luon dot net>
752
753         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
754         If nothing else can be used, use the last buffer's start time as
755         the segment's last stop. Fixes bug #534258.
756
757 2008-05-21  Tim-Philipp Müller  <tim.muller at collabora co uk>
758
759         * gst/gstpad.c: (gst_pad_alloc_buffer_full):
760           Move size sanity check to the right place: downstream may return
761           a buffer with a smaller size if the buffer caps are different than
762           the requested ones, as may happen when doing reverse negotiation.
763
764 2008-05-21  Wim Taymans  <wim.taymans@collabora.co.uk>
765
766         * plugins/elements/gstfilesink.c: (gst_file_sink_set_location),
767         (gst_file_sink_render):
768         * plugins/elements/gstfilesrc.c: (gst_file_src_set_location),
769         (gst_file_src_start):
770         Small cleanups. Add note adbout g_fopen() on windows and why we don't
771         use it yet.
772
773 2008-05-21  Wim Taymans  <wim.taymans@collabora.co.uk>
774
775         * gst/gstpad.c: (gst_pad_load_and_link):
776         * gst/gstutils.c: (gst_element_link_pads),
777         (gst_element_unlink_pads):
778         * libs/gst/check/gstcheck.c: (gst_check_setup_src_pad),
779         (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
780         (gst_check_teardown_sink_pad),
781         (gst_check_element_push_buffer_list):
782         * tests/check/elements/fakesink.c: (GST_START_TEST):
783         * tests/check/elements/filesink.c:
784         * tests/check/elements/filesrc.c: (GST_START_TEST):
785         * tests/check/elements/multiqueue.c: (setup_multiqueue),
786         (mq_sinkpad_to_srcpad):
787         * tests/check/elements/tee.c: (GST_START_TEST):
788         * tests/check/generic/sinks.c: (GST_START_TEST):
789         * tests/check/gst/gstbin.c: (GST_START_TEST):
790         * tests/check/gst/gstevent.c: (GST_START_TEST):
791         * tests/check/gst/gstghostpad.c: (GST_START_TEST):
792         * tests/check/gst/gstpipeline.c: (GST_START_TEST):
793         * tests/check/gst/gstquery.c: (GST_START_TEST):
794         * tests/check/gst/gstutils.c: (GST_START_TEST):
795         * tests/check/libs/basesrc.c: (GST_START_TEST):
796         * tests/check/pipelines/parse-launch.c: (run_delayed_test),
797         (gst_parse_test_element_change_state):
798         Don't use gst_element_get_pad().
799
800 2008-05-21  Felipe Contreras  <felipe.contreras@gmail.com>
801
802         * docs/Makefile.am:
803         Fix installing plugin documentation when gtk-doc is disabled.
804
805 2008-05-21  Wim Taymans  <wim.taymans@collabora.co.uk>
806
807         * docs/manual/advanced-autoplugging.xml:
808         * docs/manual/basics-helloworld.xml:
809         * docs/manual/basics-pads.xml:
810         * docs/manual/highlevel-components.xml:
811         Avoid using a bad function in the example code.
812
813 2008-05-21  Wim Taymans  <wim.taymans@collabora.co.uk>
814
815         * gst/gstclock.c: (gst_clock_set_calibration):
816         Fix debug of the new clock rate.
817
818 2008-05-21  Sebastian Dröge  <slomo@circular-chaos.org>
819
820         * win32/common/libgstbase.def:
821         Add gst_base_sink_wait_clock() to the exported symbols.
822
823 2008-05-20  Sebastian Dröge  <slomo@circular-chaos.org>
824
825         Patch by: Tim-Philipp Müller  <tim.muller at collabora co uk>
826
827         * libs/gst/base/gstbasetransform.c:
828         (gst_base_transform_sink_event):
829         Unref events that the GstBaseTransform::event vfunc didn't want to
830         have forwarded by the base class. Closes a leak in identity.
831         Fixes bug #446763.
832
833 2008-05-19  Wim Taymans  <wim.taymans@collabora.co.uk>
834
835         * docs/libs/gstreamer-libs-sections.txt:
836         * libs/gst/base/gstbasesink.c: (gst_base_sink_wait_clock):
837         * libs/gst/base/gstbasesink.h:
838         Expose a method that was previously used internally to synchronize
839         against the clock because it can be useful for subclasses too.
840         API: GstBaseSink::gst_base_sink_wait_clock()
841
842 2008-05-19  Tim-Philipp Müller  <tim.muller at collabora co uk>
843
844         * gst/gstpad.c: (gst_pad_buffer_alloc_unchecked):
845           Add sanity check to make sure we don't get smaller buffers
846           than requested (and fallback to normal buffer alloc if we do).
847
848 2008-05-19  Wim Taymans  <wim.taymans@collabora.co.uk>
849
850         * libs/gst/base/gstbasesink.c: (gst_base_sink_adjust_time),
851         (gst_base_sink_wait_clock), (gst_base_sink_wait_eos),
852         (gst_base_sink_do_sync), (gst_base_sink_chain_unlocked):
853         Refactor adjusting the running_time with latency and offset into a
854         separate method.
855         When doing clipping, we still want to use the subclass get_times method,
856         just in case the DURATION or TIMESTAMP are not set.
857
858 2008-05-19  Tim-Philipp Müller  <tim.muller at collabora co uk>
859
860         * docs/gst/gstreamer-sections.txt:
861         * gst/gsttypefind.c: (gst_type_find_suggest_simple):
862         * gst/gsttypefind.h:
863         * win32/common/libgstreamer.def:
864           API: add gst_type_find_suggest_simple(), #533740.
865
866 2008-05-19  Tim-Philipp Müller  <tim.muller at collabora co uk>
867
868         * libs/gst/base/gstbasesrc.c: (gst_base_src_start):
869           Use right error code when typefinding fails, so we can use
870           the default (translated) error messages.
871
872 2008-05-19  Wim Taymans  <wim.taymans@collabora.co.uk>
873
874         * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range),
875         (gst_base_src_start):
876         When the subclass did not set caps on outgoing buffers, configure the
877         caps we negotiated on the source pad.
878         When the typefind helper does not find caps, error out properly instead
879         of doing things with NULL caps.
880
881 2008-05-18  Tim-Philipp Müller  <tim.muller at collabora co uk>
882
883         * gst/gsttypefind.h:
884           Tabs to spaces, oh yes!
885
886 2008-05-18  Tim-Philipp Müller  <tim.muller at collabora co uk>
887
888         * tests/check/gst/gstcaps.c: (test_intersect2), (gst_caps_suite):
889           Add David's and Benjamin's tests for array intersection to the
890           unit test suite (#147931).
891
892 2008-05-18  Tim-Philipp Müller  <tim.muller at collabora co uk>
893
894         * gst/gstevent.c:
895           Document that gst_event_new_tag() and gst_event_new_navigation()
896           take ownership of the taglist/structure passed to them. (#533635).
897
898 2008-05-17  Jan Schmidt  <jan.schmidt@sun.com>
899
900         * docs/Makefile.am:
901         Don't descend into the plugins dir if plugin docs building
902         is disabled.
903
904         * docs/README:
905         Add a note about the new type:GTypeName syntax for the plugin
906         documentation .types file.
907
908 2008-05-17  Sebastian Dröge  <slomo@circular-chaos.org>
909
910         * gst/gstmessage.c: (gst_message_new_error),
911         (gst_message_new_warning), (gst_message_new_info):
912         * gst/gstmessage.h:
913         Mark the debug string parameters as const. Fixes bug #533490.
914
915 2008-05-16  Sebastian Dröge  <slomo@circular-chaos.org>
916
917         * libs/gst/base/gsttypefindhelper.c: (helper_find_peek):
918         Sort buffer cache list by end offsets. This makes sure that we don't
919         stop to search for a cached buffer that contains the requested data
920         too early.
921         Also read a minimum of 4k bytes instead of 512 bytes as this is a bit
922         more efficient. Fixes bug #459862.
923
924 2008-05-14  Stefan Kost  <ensonic@users.sf.net>
925
926         * gst/gstinfo.c:
927           Explain why we copy the list.
928
929         * gst/gstpipeline.c:
930           Improve docs.
931
932         * gst/gstutils.c:
933           Add one debug-log statement to help tracing probelms with linking pads.
934
935 2008-05-12  Stefan Kost  <ensonic@users.sf.net>
936
937         * tests/check/gst/gstinfo.c:
938         Add a test for removing the default log handler. Seems to fail under
939         windows.
940
941 2008-05-14  Wim Taymans  <wim.taymans@collabora.co.uk>
942
943         * gst/gstpad.c: (gst_pad_peer_accept_caps):
944         Release pad lock before calling out to avoid a possible deadlock.
945
946 2008-05-14  Wim Taymans  <wim.taymans@collabora.co.uk>
947
948         * gst/parse/grammar.y:
949         Remove unneeded value unset.
950
951         * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
952         Add unit test for de/serialization of caps.
953
954 2008-05-13  Sebastian Dröge  <slomo@circular-chaos.org>
955
956         * plugins/elements/gstfakesink.c:
957         (marshal_VOID__MINIOBJECT_OBJECT), (gst_fake_sink_class_init):
958         * plugins/elements/gstfakesrc.c: (marshal_VOID__MINIOBJECT_OBJECT),
959         (gst_fake_src_class_init):
960         Use custom marshalers that take GstMiniObject as first parameter.
961         Using OBJECT as parameter while a GstMiniObject is given will lead
962         to assertions if built with G_ENABLE_DEBUG. Fixes bug #525532.
963
964 2008-05-13  Sebastian Dröge  <slomo@circular-chaos.org>
965
966         * plugins/elements/gsttypefindelement.c:
967         (gst_type_find_element_handle_event),
968         (gst_type_find_element_send_cached_events),
969         (gst_type_find_element_change_state):
970         Clean up on FLUSH_STOP and not FLUSH_START. Forward both events
971         immediately.
972
973 2008-05-13  Sebastian Dröge  <slomo@circular-chaos.org>
974
975         * plugins/elements/gsttypefindelement.c:
976         (gst_type_find_handle_src_query), (stop_typefinding),
977         (gst_type_find_element_handle_event),
978         (gst_type_find_element_send_cached_events),
979         (gst_type_find_element_change_state):
980         Forward FLUSH_START events immediately and clean up instead of
981         caching them.
982
983 2008-05-13  Sebastian Dröge  <slomo@circular-chaos.org>
984
985         Patch by: Sjoerd Simons <sjoerd at luon dot net>
986
987         * libs/gst/base/gstbasetransform.c:
988         (gst_base_transform_buffer_alloc):
989         Check the caps of the buffer returned by gst_pad_alloc_buffer() and
990         fall back to default negotiation in the chain function if the caps
991         are different from what was requested. Fixes bug #526768.
992
993 2008-05-09  Tim-Philipp Müller  <tim.muller at collabora co uk>
994
995         * gst/gstsegment.c:
996         * tests/check/gst/gstsegment.c:
997           No, let's not use g_slice_{dup|copy} here, since they only exist
998           since GLib 2.14 and we still depend only on >= 2.12. Also add
999           unit test for gst_segment_copy().
1000
1001 2008-05-09  Tim-Philipp Müller  <tim.muller at collabora co uk>
1002
1003         * gst/gstutils.h: (GST_BOILERPLATE_FULL):
1004           Try to fix 'dereferencing type-punned pointer will break strict
1005           aliasing rules' warnings with C++ compilers and GLib >= 2.14.0: GLib
1006           changed the default GType typedef from gulong to gsize at some point,
1007           but kept GType typedef'ed to gulong for C++ for ABI reasons; the
1008           g_once_* functions all take a gsize * though, so work around the type
1009           mismatch for C++ by doing everything in gsize and casting to GType
1010           later.
1011
1012 2008-05-09  Jan Schmidt  <jan.schmidt@sun.com>
1013
1014         * plugins/elements/gstmultiqueue.c:
1015         Add documentation for the signals to push our core plugin docs
1016         coverage back up to 100%.
1017
1018 2008-05-08  Ole André Vadla Ravnås  <ole.andre.ravnas at tandberg com>
1019
1020         * gst/gstinfo.h (GST_FUNCTION):
1021           Reverted GST_FUNCTION to the old version as we don't want the
1022           full signature in C++ code. Also added support for MSVC.
1023
1024 2008-05-08  Sebastian Dröge  <slomo@circular-chaos.org>
1025
1026         * gst/gstutils.h:
1027         Intern the type name string, similar to what G_DEFINE_TYPE does.
1028
1029 2008-05-08  Sebastian Dröge  <slomo@circular-chaos.org>
1030
1031         * gst/gstutils.h:
1032         Make GST_BOILERPLATE thread-safe if building with GLib 2.14 or newer.
1033
1034 2008-05-08  Sebastian Dröge  <slomo@circular-chaos.org>
1035
1036         Based on a patch by: Sjoerd Simons <sjoerd at luon dot net>
1037
1038         * libs/gst/base/gstbasetransform.c:
1039         (gst_base_transform_buffer_alloc):
1040         Don't passthrough buffer allocation too easily if the caps change.
1041         This breaks when working in passthrough mode and upstream changes
1042         it's caps. Fixes bug #526768.
1043
1044 2008-05-07  Ole André Vadla Ravnås  <ole.andre.ravnas at tandberg com>
1045
1046         * gst/gstinfo.c (gst_debug_log_valist):
1047           Improved the __FILE__ part of debug output for MSVC.
1048
1049 2008-05-07  Ole André Vadla Ravnås  <ole.andre.ravnas at tandberg com>
1050
1051         * libs/gst/base/gstbasesrc.c (gst_base_src_default_query):
1052           Declaration after statement fix for compilers like MSVC.
1053
1054 2008-05-07  Ole André Vadla Ravnås  <ole.andre.ravnas at tandberg com>
1055
1056         * win32/common/config.h.in:
1057           Don't define GST_FUNCTION, if GLib supports MSVC we'd much rather
1058           use the real thing than having "???" unconditionally.
1059
1060 2008-05-07  Ole André Vadla Ravnås  <ole.andre.ravnas at tandberg com>
1061
1062         * gst/gstinfo.h (GST_FUNCTION):
1063           Made GST_FUNCTION an alias for G_STRFUNC to avoid duplication.
1064
1065 2008-05-07  Wim Taymans  <wim.taymans@collabora.co.uk>
1066
1067         * libs/gst/base/gstadapter.c: (gst_adapter_available_fast):
1068         Small code cleanup.
1069
1070         * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency),
1071         (gst_base_sink_set_flushing):
1072         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek):
1073         Fix some comments.
1074
1075 2008-05-07  Wim Taymans  <wim.taymans@collabora.co.uk>
1076
1077         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
1078         (gst_fake_src_init), (gst_fake_src_set_property),
1079         (gst_fake_src_get_property), (gst_fake_src_start):
1080         * plugins/elements/gstfakesrc.h:
1081         Added format property to control the format of the newsegment events.
1082         API: GstFakeSrc:format
1083
1084 2008-05-06  Sebastian Dröge  <slomo@circular-chaos.org>
1085
1086         * win32/common/libgstreamer.def:
1087         Add gst_pad_has_name() to the exported symbols.
1088
1089 2008-05-06  Sebastian Dröge  <slomo@circular-chaos.org>
1090
1091         * gst/gstpad.c: (gst_pad_alloc_buffer_full):
1092         * libs/gst/base/gstbasetransform.c:
1093         (gst_base_transform_prepare_output_buffer):
1094         Don't allow negative sizes when allocating new buffers.
1095         Fixes bug #461253.
1096
1097 2008-05-05  Tim-Philipp Müller  <tim.muller at collabora co uk>
1098
1099         Patch by: Sjoerd Simons <sjoerd at luon net>
1100
1101         * gst/gstbus.c: (gst_bus_source_dispatch):
1102           Don't print a warning if the queue is empty when we try to pop
1103           here. That could happen if another thread or callback set the
1104           bus to flushing between the source's check/prepare and the
1105           dispatch being called (#531538).
1106
1107 2008-05-05  Tim-Philipp Müller  <tim.muller at collabora co uk>
1108
1109         * plugins/elements/gstmultiqueue.c:
1110           Small docs fix.
1111         
1112 2008-05-05  Sebastian Dröge  <slomo@circular-chaos.org>
1113
1114         * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
1115         Add unit test for deserializing uint64s and check some really large
1116         numbers in the int64 test.
1117
1118 2008-05-04  Sebastian Dröge  <slomo@circular-chaos.org>
1119
1120         * tools/gst-inspect.c: (n_print), (print_hierarchy),
1121         (print_interfaces), (print_element_properties_info),
1122         (print_signal_info):
1123         Use "%s" as format string instead of printing strings directly.
1124
1125 2008-05-04  Sebastian Dröge  <slomo@circular-chaos.org>
1126
1127         * gst/gstclock.c: (gst_clock_set_calibration):
1128         Make some checks actually useful.
1129
1130         * gst/gstregistrybinary.c: (gst_registry_binary_load_plugin):
1131         Remove some unused code. Unsigned integers tend to be >= 0.
1132
1133 2008-05-03  Tim-Philipp Müller  <tim.muller at collabora co uk>
1134
1135         * gst/gstminiobject.c: (gst_value_get_mini_object):
1136           Fix 'Since:' version in gst_value_dup_mini_object() docs blurb: this
1137           function was not in the unscheduled 0.10.19 release.
1138
1139 2008-05-03  Tim-Philipp Müller  <tim.muller at collabora co uk>
1140
1141         * gst/gstregistry.c: (gst_registry_scan_path_level):
1142           Only print one log message per non-plugin file.
1143
1144 2008-05-03  Tim-Philipp Müller  <tim.muller at collabora co uk>
1145
1146         * gst/gstinfo.c: (gst_debug_log_default):
1147           Fix alignment of debug log columns on 64-bit.
1148
1149 2008-05-03  Tim-Philipp Müller  <tim.muller at collabora co uk>
1150
1151         * docs/libs/Makefile.am:
1152         * docs/libs/gstreamer-libs-sections.txt:
1153           Ignore private controller headers for docs.
1154
1155 2008-05-03  Sebastian Dröge  <slomo@circular-chaos.org>
1156
1157         * libs/gst/controller/gstcontrollerprivate.h:
1158         * libs/gst/controller/gsthelper.c:
1159         * libs/gst/controller/gstinterpolation.c:
1160         * libs/gst/controller/gstinterpolationcontrolsource.c:
1161         (gst_interpolation_control_source_set_interpolation_mode):
1162         * libs/gst/controller/gstinterpolationcontrolsourceprivate.h:
1163         * libs/gst/controller/lib.c:
1164         Move some private declarations into private headers.
1165
1166 2008-05-02  Sebastian Dröge  <slomo@circular-chaos.org>
1167
1168         * gst/gstdebugutils.c: (debug_dump_element_pad):
1169         Remove some code that is unused after Stefan's refactoring and uses
1170         uninitialized variables now, resulting in a compiler warning.
1171
1172 2008-05-01  Tim-Philipp Müller  <tim.muller at collabora co uk>
1173
1174         * gst/gstregistry.c: (gst_registry_scan_path_level):
1175           Run g_str_has_suffix() only on the file name, not the
1176           entire file path.
1177
1178 2008-04-30  Tim-Philipp Müller  <tim.muller at collabora co uk>
1179
1180         * plugins/elements/gstqueue.c: (gst_queue_leak_downstream):
1181           Since we're not called only from the chain function any longer,
1182           we can't assume that there's always data in the queue, so move
1183           the is_full check to the beginning of the loop (otherwise we'd
1184           hit the assert when changing the limit properties while the
1185           queue is empty or not running yet).
1186           Also, only set a discont if items were actually removed from
1187           the queue.
1188
1189         * tests/check/elements/queue.c: (test_leaky_downstream):
1190           Test case for the above.
1191
1192 2008-04-30  Wim Taymans  <wim.taymans@collabora.co.uk>
1193
1194         Patch by: Jonas Holmberg <jonas dot holmberg at axis dot com>
1195
1196         * plugins/elements/gstqueue.c: (gst_queue_leak_downstream),
1197         (gst_queue_chain), (queue_capacity_change),
1198         (gst_queue_set_property):
1199         When changing thr max capacity of a leaky queue, immediatly drop buffers
1200         instead of waiting for a push on the sinkpad. Fixes #530637.
1201
1202 2008-04-30  Stefan Kost  <ensonic@users.sf.net>
1203
1204         * gst/gstdebugutils.c:
1205           Refactor code and fix handling of ghostpads and their proxypads.
1206
1207 2008-04-29  Wim Taymans  <wim.taymans@collabora.co.uk>
1208
1209         * docs/gst/gstreamer-sections.txt:
1210         * gst/gstevent.c: (gst_event_has_name):
1211         * gst/gstevent.h:
1212         * tests/check/gst/gstevent.c: (GST_START_TEST):
1213         Add method to conveniently check the name of a custom event with
1214         gst_event_has_name().
1215         Reformat the event docs so that related methods are put together instead
1216         of the default alphabetical sort.
1217         Update unit test with new method.
1218         API: GstEvent::gst_event_has_name()
1219
1220 2008-04-28  Michael Smith <msmith@songbirdnest.com>
1221
1222         * libs/gst/check/Makefile.am:
1223           Don't add an explicit link to libgstreamer-0.10.la; it's already
1224           included in GST_OBJ_LIBS.
1225
1226 2008-04-28  Sebastian Dröge  <slomo@circular-chaos.org>
1227
1228         * gst/gst.c:
1229         Register GstClock type from a type-safe context. Fixes bug #530317.
1230
1231 2008-04-25  Michael Smith <msmith@songbirdnest.com>
1232
1233         Patch by Edward Hervey <edward.hervey@collabora.co.uk>
1234         * tools/gst-run.c:
1235           Include <unistd.h> conditionally on HAVE_UNISTD_H as elsewhere.
1236
1237 2008-04-25  Wim Taymans  <wim.taymans@collabora.co.uk>
1238
1239         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
1240         (gst_bin_dispose):
1241         Use the GLib stuff to create a private structure.
1242         Add some locking around some dispose methods to make them a little
1243         safer, see #529723. Patch by: Antoine Tremblay <hexa00 at gmail dot com>
1244
1245 2008-04-25  Stefan Kost  <ensonic@users.sf.net>
1246
1247         * libs/gst/base/gstbasesink.h:
1248         * libs/gst/base/gstbasesrc.h:
1249         * libs/gst/base/gstbasetransform.h:
1250         * libs/gst/base/gstcollectpads.h:
1251           Fix doc typos and unify caps a bit.
1252
1253 2008-04-25  Stefan Kost  <ensonic@users.sf.net>
1254
1255         * tools/gst-launch.1.in:
1256           Forgot to also add the envvar docs here.
1257
1258 2008-04-25  Tim-Philipp Müller  <tim at centricular dot net>
1259
1260         * gst/gst.c: (init_post), (gst_deinit):
1261         * tests/check/gst/gstpipeline.c: (GST_START_TEST), (pipeline_thread),
1262           (test_concurrent_create), (gst_pipeline_suite):
1263           Ref some more classes in gst_init() to work around thread-safety
1264           issues in pre-2.16 GLibs, and add basic unit test.
1265
1266 2008-04-25  Wim Taymans  <wim.taymans@collabora.co.uk>
1267
1268         * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency),
1269         (gst_base_sink_send_event):
1270         Rearrange the latency query code. We always want to do the upstream
1271         query, even if we are not live so that the upstream elements can get the
1272         latency results too. If we fail doing the query and we are live, we
1273         return TRUE afterwards.
1274
1275 2008-04-24  Stefan Kost  <ensonic@users.sf.net>
1276
1277         patch by: Jason Zhao <e3423c@motorola.com>
1278
1279         * docs/gst/running.xml:
1280         * gst/gst.c:
1281           Enable/disable scan_and_update_registry() based on commandline switch
1282           or environment variable. Fixes #520468.
1283           
1284         * ChangeLog:
1285           Fix typo in my previous commit.
1286
1287 2008-04-24  Stefan Kost  <ensonic@users.sf.net>
1288
1289         * gst/gstregistrybinary.c:
1290           Add a warning if we hit unhandled factories when saving.
1291           More debug logging detail, but move to LOG category.
1292
1293 2008-04-24  Stefan Kost  <ensonic@users.sf.net>
1294
1295         * gst/gstregistry.c:
1296           Tell the *truth* when improving the documentation.
1297
1298 2008-04-23  Sebastian Dröge  <slomo@circular-chaos.org>
1299
1300         * gst/gstelementfactory.c: (gst_element_factory_make):
1301         Unref the factory after it was used the last time, not before.
1302
1303         * gst/gstindexfactory.c: (gst_index_factory_make):
1304         Improve debugging a bit and don't leak a ref to the index factory with
1305         each call.
1306
1307 2008-04-23  Stefan Kost  <ensonic@users.sf.net>
1308
1309         * gst/gstregistry.c:
1310           Improve the documentation.
1311
1312 2008-04-23  Stefan Kost  <ensonic@users.sf.net>
1313
1314         * gst/gstsegment.c:
1315           The glib macro seems to be borked. Use g_slice_copy directly and cast
1316           in the hope that this fixes the warning on 64bit.
1317
1318 2008-04-23  Stefan Kost  <ensonic@users.sf.net>
1319
1320         * gst/gstsegment.c:
1321           Document the new function. Use g_slice_dup() (no need for
1322           gst_segment_init()).    
1323
1324 2008-04-23  Stefan Kost  <ensonic@users.sf.net>
1325
1326         * docs/gst/gstreamer-sections.txt:
1327           Move GParamSepc macros to standart section.
1328   
1329         * gst/gstbin.c:
1330           Dn't document _get_type - its in private section in docs anyway and
1331           this doc-blob was incomplete.
1332
1333         * gst/gstclock.h:
1334           Fix wrong symbol names in docs.
1335
1336         * gst/gstmacros.h:
1337           Add once doc sentence.
1338
1339         * tests/check/gst/.cvsignore:
1340           Ignore more.
1341
1342 2008-04-21  Stefan Kost  <ensonic@users.sf.net>
1343
1344         * docs/gst/Makefile.am:
1345           And remove those libs here.
1346
1347 2008-04-21  Tim-Philipp Müller  <tim at centricular dot net>
1348
1349         * docs/libs/Makefile.am:
1350           Fix docs build again by adding libgstnet-0.10.so to SCANOBJ_DEPS.
1351
1352 2008-04-21  Wim Taymans  <wim.taymans@collabora.co.uk>
1353
1354         Patch by: Olivier Crete <tester at tester dot ca>
1355
1356         * plugins/elements/gstqueue.c: (gst_queue_handle_src_query):
1357         Add the min-threshold to the min latency if possible. Fixes #529148.
1358
1359 2008-04-21  Stefan Kost  <ensonic@users.sf.net>
1360
1361         * docs/gst/gstreamer.types.in:
1362           Stupid editor, I removed that line as it should go in yet.
1363
1364 2008-04-21  Stefan Kost  <ensonic@users.sf.net>
1365
1366         * docs/gst/gstreamer.types.in:
1367         * docs/libs/gstreamer-libs.types:
1368           Remove library types fro core docs and have them in libs docs.
1369           Reformat and cleanup. Add comment for miniobject types.
1370
1371 2008-04-20  Tim-Philipp Müller  <tim at centricular dot net>
1372
1373         * gst/gsturi.c: (gst_uri_get_protocol):
1374           Fix leak: g_strdown operates on the string in place, while
1375           g_ascii_strdown() returns a newly-allocated string.
1376
1377 2008-04-20  Sebastian Dröge  <slomo@circular-chaos.org>
1378
1379         * tools/gst-inspect.c: (print_uri_handler_info),
1380         (print_element_info):
1381         Print the URI protocols and the URI type supported by the element.
1382
1383 2008-04-19  Sebastian Dröge  <slomo@circular-chaos.org>
1384
1385         * gst/gsttaglist.c: (gst_tag_merge_strings_with_comma):
1386         Use g_value_take_string() instead of the deprecated
1387         g_value_set_string_take_ownership().
1388
1389 2008-04-19  Sebastian Dröge  <slomo@circular-chaos.org>
1390
1391         * gst/gstregistrybinary.c: (_gst_crc32):
1392         Return the old CRC instead of 0 if we give a NULL buffer
1393         or a buffer with a length of 0.
1394
1395 2008-04-19  Sebastian Dröge  <slomo@circular-chaos.org>
1396
1397         * gst/gsturi.c: (gst_uri_protocol_check_internal),
1398         (gst_uri_get_protocol), (gst_uri_has_protocol),
1399         (gst_uri_construct), (gst_uri_handler_set_uri):
1400         A valid URI scheme can also include '+', '-' and '.' additional
1401         to alphanumeric characters as per RFC 3986 Section 3.1.
1402
1403         Handle URI schemes case insensitive in all places and convert
1404         to lower-case when constructing an URI or setting an URI with
1405         the GstURIHandler interface. Fixes bug #528868.
1406         All elements can still assume (as before) that they will
1407         get passed URIs with a lower-case URI scheme by the GstURIHandler
1408         interface.
1409
1410 2008-04-17  Tim-Philipp Müller  <tim at centricular dot net>
1411
1412         * gst/gstcaps.c: (gst_static_caps_get):
1413         * gst/gstclock.c: (gst_clock_entry_new):
1414           Don't use g_atomic_set_int where it's not needed.
1415
1416 2008-04-17  Wim Taymans  <wim.taymans@collabora.co.uk>
1417
1418         * gst/gstvalue.c: (gst_value_deserialize_caps):
1419         * gst/parse/grammar.y:
1420         Fix 2 caps leaks.
1421
1422 2008-04-17  Sebastian Dröge  <slomo@circular-chaos.org>
1423
1424         * gst/gstutils.c: (gst_atomic_int_set):
1425         Use g_atomic_int_set() here too instead of assignment +
1426         g_atomic_int_get().
1427
1428 2008-04-17  Sebastian Dröge  <slomo@circular-chaos.org>
1429         
1430         * gst/gstutils.c:
1431         * gst/gstutils.h:
1432         API: Deprecate gst_atomic_int_set(), g_atomic_int_set() should be used
1433         now that we depend on new enough GLib.
1434
1435         * gst/gstcaps.c: (gst_static_caps_get):
1436         * gst/gstclock.c: (gst_clock_entry_new):
1437         * gst/gstinfo.c: (_gst_debug_init), (gst_debug_set_colored),
1438         (gst_debug_set_default_threshold), (_gst_debug_category_new),
1439         (gst_debug_category_set_threshold):
1440         * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
1441         (gst_base_sink_set_qos_enabled):
1442         * libs/gst/net/gstnettimeprovider.c:
1443         (gst_net_time_provider_set_property):
1444         Use g_atomic_int_set() instead of gst_atomic_int_set().
1445
1446 2008-04-16  Stefan Kost  <ensonic@users.sf.net>
1447
1448         * gst/gstquery.c:
1449           Also use G_GINT64_CONSTANT for the queries.
1450
1451 2008-04-16  Stefan Kost  <ensonic@users.sf.net>
1452
1453         * gst/gstmessage.c:
1454           Use G_GINT64_CONSTANT in varargs function.
1455
1456 2008-04-16  Sebastian Dröge  <slomo@circular-chaos.org>
1457
1458         * gst/gstregistrybinary.c: (gst_registry_binary_initialize_magic):
1459         Initialize the registry magic with zeroes.
1460
1461 2008-04-16  Sebastian Dröge  <slomo@circular-chaos.org>
1462
1463         * gst/gstregistrybinary.c: (_gst_crc32),
1464         (gst_registry_binary_write),
1465         (gst_registry_binary_initialize_magic),
1466         (gst_registry_binary_write_cache),
1467         (gst_registry_binary_check_magic),
1468         (gst_registry_binary_read_cache):
1469         * gst/gstregistrybinary.h:
1470         Add crc32 checksum to the binary registry file and check this before
1471         accepting a registry file.
1472
1473         Also free the data list when writing to the registry file fails.
1474
1475 2008-04-16  Sebastian Dröge  <slomo@circular-chaos.org>
1476
1477         * gst/gstregistrybinary.c: (gst_registry_binary_save_feature),
1478         (gst_registry_binary_load_feature),
1479         (gst_registry_binary_load_plugin):
1480         If an element supports the Uri interface, returns a valid pointer
1481         to the supported URI protocols but this pointer contains nothing
1482         don't try to save that as it will corrupt the registry.
1483
1484         Don't unref the plugin if we added it to the registry already but
1485         fail to load a feature as gst_registry_add_plugin() takes ownership
1486         of the plugin.
1487
1488         Improve debugging a bit.
1489
1490 2008-04-16  Stefan Kost  <ensonic@users.sf.net>
1491
1492         * gst/gsttaglist.h:
1493           Clarify some tag item docs after discussion on irc.
1494
1495 2008-04-15  Stefan Kost  <ensonic@users.sf.net>
1496
1497         * docs/gst/gstreamer-docs.sgml:
1498           Remove commented out plugins (they have their own docs). Update
1499           comments.
1500
1501 2008-04-15  Stefan Kost  <ensonic@users.sf.net>
1502
1503         * docs/gst/gstreamer-docs.sgml:
1504         * docs/gst/gstreamer-sections.txt:
1505         * gst/gstparamspecs.c:
1506         * gst/gstparamspecs.h:
1507           Add GST_PARAM_CONTROLLABLE and GST_PARAM_USER_SHIFT. Move paramspec
1508           docs to own section.
1509
1510         * gst/gstvalue.c:
1511           This now only documents GValue.
1512           
1513         * docs/libs/gstreamer-libs-sections.txt:
1514         * libs/gst/controller/gstcontroller.h:
1515           Remove GST_PARAM_CONTROLLABLE.
1516
1517 2008-04-15  Stefan Kost  <ensonic@users.sf.net>
1518
1519         * docs/README:
1520           Correct file path. Tell about how to use -overrides.txt.
1521         * docs/design/draft-tagreading.txt:
1522           Small design update.
1523
1524 2008-04-14  Sebastian Dröge  <slomo@circular-chaos.org>
1525
1526         * gst/gstregistrybinary.c: (gst_registry_binary_load_feature),
1527         (gst_registry_binary_load_plugin):
1528         Fix a typo in a debug message and revert change from yesterday as
1529         gst_registry_add_plugin() will only fail if something is really wrong
1530         already and we can't survive it anyway.
1531
1532 2008-04-14  Tim-Philipp Müller  <tim at centricular dot net>
1533
1534         * gst/gst.c: (init_post), (gst_deinit):
1535           Pre-register GstGError GType from a thread-safe context
1536           (fixes #527967); unref enum type classes in deinit.
1537
1538 2008-04-13  Tim-Philipp Müller  <tim at centricular dot net>
1539
1540         Patch by: Rene Stadler <mail at renestadler de>
1541
1542         * gst/gsttagsetter.c: (gst_tag_setter_merge_tags):
1543           Merging an empty list with another list in KEEP_ALL mode should
1544           yield an empty list as result and not the second list (#512578).
1545
1546         * tests/check/gst/gsttagsetter.c:
1547           Add unit test for tag merge modes and the aforementioned bug.
1548
1549 2008-04-13  Tim-Philipp Müller  <tim at centricular dot net>
1550
1551         Patch by: Rene Stadler <mail at renestadler de>
1552
1553         * gst/gsttaglist.h:
1554           Fix description to match the order in the table (#512577).
1555   
1556 2008-04-13  Tim-Philipp Müller  <tim at centricular dot net>
1557
1558         Patch by: Kwang Yul Seo  <kwangyul.seo gmail com>
1559
1560         * libs/gst/net/gstnettimepacket.h:
1561         * docs/libs/gstreamer-libs-sections.txt:
1562           Define socklen_t as int if it's not defined yet. Fixes compilation
1563           with MSVC6 and other versions where socklen_t is not defined in
1564           the windows headers (#518022).
1565
1566 2008-04-13  Sebastian Dröge  <slomo@circular-chaos.org>
1567
1568         * gst/gstregistrybinary.c: (gst_registry_binary_load_plugin):
1569         If gst_registry_add_plugin() fails our reference to the plugin is
1570         invalid so don't try to use it anymore and instead error out.
1571
1572 2008-04-12  Tim-Philipp Müller  <tim at centricular dot net>
1573
1574         * tools/gst-xmlinspect.c: (print_element_info), (main):
1575           De-cruft a bit. If no argument is specified, print all elements in
1576           XML syntax rather than a freestyle list of elements like gst-inspect.
1577           Also, don't print XML header chunk unless we actually have something
1578           to print (ie. don't print it before an error message); print error
1579           message to stderr not stdout. Remove support for printing plugin
1580           info (it would just output something freestyle along the lines of
1581           gst-inspect so far), which fixes #514507. Also add license header.
1582
1583 2008-04-11  Julien Moutte  <julien@fluendo.com>
1584
1585         Mac OS X love...
1586         * configure.ac: Merge platform specific defines, introduce a new
1587         define on OS X to remember that forking when updating registry is
1588         unsafe.
1589         * docs/faq/gst-uninstalled: Updated to include gst-libs in the bad
1590         module.
1591         * gst/gst.c: Don't fork when updating registry if GST_HAVE_UNSAFE_FORK
1592         is defined.
1593         * gst/gstregistry.c: (gst_registry_scan_path_level): Fixed a bogus
1594         condition that leads to absolutely no plugins being registered on
1595         OS X.
1596
1597 2008-04-10  Tim-Philipp Müller  <tim at centricular dot net>
1598
1599         Based on patch by: José Alburquerque <jaalburqu at svn dot gnome dot org>
1600
1601         * gst/gstutils.c: (gst_pad_add_data_probe),
1602           (gst_pad_add_data_probe_full), (gst_pad_add_event_probe),
1603           (gst_pad_add_event_probe_full), (gst_pad_add_buffer_probe),
1604           (gst_pad_add_buffer_probe_full):
1605         * gst/gstutils.h:
1606         * docs/gst/gstreamer-sections.txt:
1607         * win32/common/libgstreamer.def:
1608           Add gst_pad_add_*_probe_full() functions with a notify callback that
1609           lets the caller free the data it passes to the probe functions. This
1610           is useful for bindings such as gst-python or gstreamermm (#526814).
1611           API: gst_pad_add_data_probe_full
1612           API: gst_pad_add_buffer_probe_full
1613           API: gst_pad_add_event_probe_full
1614
1615         * tests/check/gst/gstutils.c:
1616           Add minimal unit test to make sure freeing the data actually works
1617           as expected.
1618
1619         * tests/benchmarks/.cvsignore:
1620           Random cvsignore addendum.
1621
1622 2008-04-10  Tim-Philipp Müller  <tim at centricular dot net>
1623
1624         * gst/gstdebugutils.h: (GST_DEBUG_BIN_TO_DOT_FILE_WITH_TS),
1625           (GST_DEBUG_BIN_TO_DOT_FILE):
1626           Mention GstDebugGraphDetails enum type in doc blurb so we get a link
1627           to it in the docs (since these are macros the types of the arguments
1628           won't be shown in the docs otherwise).
1629
1630 2008-04-10  Stefan Kost  <ensonic@users.sf.net>
1631
1632         * gst/gstpad.c:
1633           Do not abort on out of memory for pad_alloc_buffer.
1634
1635 2008-04-10  Stefan Kost  <ensonic@users.sf.net>
1636
1637         * libs/gst/check/gstcheck.c:
1638           Remove blank line between symbol name ad parameters to fix gtkdoc
1639           warning.
1640
1641 2008-04-09  Tim-Philipp Müller  <tim at centricular dot net>
1642
1643         Patch by:  José Alburquerque <jaalburqu at svn dot gnome dot org>
1644
1645         * docs/gst/gstreamer-sections.txt:
1646         * gst/gstsegment.c:
1647         * gst/gstsegment.h:
1648         * win32/common/libgstreamer.def:
1649           Expose gst_segment_copy() to make things easier for the c++ bindings.
1650           Fixes #518932.
1651           API: gst_segment_copy()
1652
1653 2008-04-09  Tim-Philipp Müller  <tim at centricular dot net>
1654
1655         * gst/gst.c: (gst_init_get_option_group), (init_post):
1656           Fix const position; ref GType classes for enum types to work
1657           around thread-safety issues in GLib versions < 2.16.
1658
1659 2008-04-09  Wim Taymans  <wim.taymans@collabora.co.uk>
1660
1661         * docs/design/part-buffering.txt:
1662         Fix some typos and set the estimated total for push mode to -1.
1663
1664         * gst/gstquery.c: (gst_query_new_buffering):
1665         Set buffering-left to 0 as we're not buffering by default.
1666
1667         * libs/gst/base/gstbasesrc.c: (gst_base_src_default_query):
1668         Implement BUFFERING query.
1669
1670 2008-04-09  Tim-Philipp Müller  <tim at centricular dot net>
1671
1672         Based on patch by: Milosz Derezynski <internalerror gmail com>
1673
1674         * gst/gsterror.c: (_gst_stream_errors_init):
1675         * gst/gsterror.h:
1676           Add two new error codes for encrypted content. Fixes #524659.
1677           API: GST_STREAM_ERROR_DECRYPT
1678           API: GST_STREAM_ERROR_DECRYPT_NOKEY
1679
1680 2008-04-09  Tim-Philipp Müller  <tim at centricular dot net>
1681
1682         * gst/gstquery.h:
1683           Fix typo.
1684
1685         * win32/common/libgstreamer.def:
1686           Add new functions.
1687
1688 2008-04-09  Sebastian Dröge  <slomo@circular-chaos.org>
1689
1690         * plugins/elements/gstidentity.c: (gst_identity_event),
1691         (gst_identity_start):
1692         Fix imperfect timestamp/offset checks when we get another NEWSEGMENT
1693         event after processing some data. Fixes bug #526042.
1694
1695 2008-04-08  Wim Taymans  <wim.taymans@collabora.co.uk>
1696
1697         * docs/gst/gstreamer-sections.txt:
1698         * gst/gstquery.c: (gst_query_parse_latency),
1699         (gst_query_set_buffering_percent),
1700         (gst_query_parse_buffering_percent),
1701         (gst_query_set_buffering_range), (gst_query_parse_buffering_range):
1702         * gst/gstquery.h:
1703         Rename _avail -> _range
1704         API: gst_query_set_buffering_range
1705         API: gst_query_parse_buffering_range
1706
1707 2008-04-08  Wim Taymans  <wim.taymans@collabora.co.uk>
1708
1709         * docs/design/part-buffering.txt:
1710         * gst/gstquark.c:
1711         * gst/gstquark.h:
1712         * gst/gstquery.c: (gst_query_parse_latency),
1713         (gst_query_new_buffering), (gst_query_set_buffering_percent),
1714         (gst_query_parse_buffering_percent):
1715         * gst/gstquery.h:
1716         Add busy field and quark for the buffering query so that the app can
1717         only use the query to see if buffering is in progress.
1718
1719 2008-04-08  Wim Taymans  <wim.taymans@collabora.co.uk>
1720
1721         * docs/gst/gstreamer-sections.txt:
1722         * gst/gstmessage.c: (gst_message_set_buffering_stats),
1723         (gst_message_parse_buffering_stats):
1724         * gst/gstmessage.h:
1725         * gst/gstquery.c: (gst_query_new_latency), (gst_query_set_latency),
1726         (gst_query_parse_latency), (gst_query_new_buffering),
1727         (gst_query_set_buffering_percent),
1728         (gst_query_parse_buffering_percent),
1729         (gst_query_set_buffering_stats), (gst_query_parse_buffering_stats),
1730         (gst_query_set_buffering_avail), (gst_query_parse_buffering_avail):
1731         * gst/gstquery.h:
1732         Reorder the message docs and headers for clarity.
1733         Add aditional buffering stats API for messages.
1734         Add buffering query.
1735         Convert some leftover queries to use GstQuark.
1736         API: gst_message_set_buffering_stats
1737         API: gst_message_parse_buffering_stats
1738         API: GST_QUERY_BUFFERING
1739         API: GstBufferingMode
1740         API: gst_query_new_buffering
1741         API: gst_query_set_buffering_percent
1742         API: gst_query_parse_buffering_percent
1743         API: gst_query_set_buffering_stats
1744         API: gst_query_parse_buffering_stats
1745
1746 2008-04-08  Wim Taymans  <wim.taymans@collabora.co.uk>
1747
1748         * gst/gstmessage.c: (gst_message_new_error),
1749         (gst_message_new_warning), (gst_message_new_info),
1750         (gst_message_new_buffering), (gst_message_new_state_changed),
1751         (gst_message_new_clock_provide), (gst_message_new_clock_lost),
1752         (gst_message_new_new_clock), (gst_message_new_segment_start),
1753         (gst_message_new_segment_done), (gst_message_new_duration),
1754         (gst_message_new_async_start), (gst_message_parse_buffering),
1755         (gst_message_parse_state_changed),
1756         (gst_message_parse_clock_provide), (gst_message_parse_clock_lost),
1757         (gst_message_parse_new_clock), (gst_message_parse_error),
1758         (gst_message_parse_warning), (gst_message_parse_info),
1759         (gst_message_parse_segment_start),
1760         (gst_message_parse_segment_done), (gst_message_parse_duration),
1761         (gst_message_parse_async_start):
1762         Use GstQuark for messages.
1763
1764 2008-04-08  Wim Taymans  <wim.taymans@collabora.co.uk>
1765
1766         * gst/gstquark.c: (_priv_gst_quarks_initialize):
1767         * gst/gstquark.h:
1768         Add some more quarks needed for messages and queries.
1769
1770 2008-04-08  Wim Taymans  <wim.taymans@collabora.co.uk>
1771
1772         * docs/design/part-buffering.txt:
1773         Remove the "none" buffering mode, STREAM is a good default.
1774         Move estimated-time to the avail query, that's when it will be needed.
1775         Other small typo fixes and updates.
1776
1777 2008-04-07  Tim-Philipp Müller  <tim at centricular dot net>
1778
1779         * gst/gstindex.c: (gst_index_resolver_get_type):
1780           Don't put descriptions into the nick field of a GEnumValue: it's not
1781           meant for that and some language bindings rely on the nick field to
1782           construct constants and the like. Fixes #526705.
1783
1784 2008-04-07  Tim-Philipp Müller  <tim at centricular dot net>
1785
1786         * NEWS:
1787         * RELEASE:
1788         * gstreamer.doap:
1789           Merge other changes from 0.10.19 release branch.
1790
1791 2008-04-06  Sebastian Dröge  <slomo@circular-chaos.org>
1792
1793         Patch by: Damien Lespiau <damien dot lespiau at gmail dot com>
1794
1795         * configure.ac:
1796         Actually build dlls when cross-compiling with mingw32.
1797         Fixes bug #526247.
1798
1799 2008-04-05  Sebastian Dröge  <slomo@circular-chaos.org>
1800
1801         Patch by: Damien Lespiau <damien dot lespiau at gmail dot com>
1802
1803         * gst/gstpoll.c:
1804         Fix compilation of GstPoll with mingw32. Fixes bug #526236.
1805
1806 2008-04-04  Wim Taymans  <wim.taymans@collabora.co.uk>
1807
1808         * docs/design/draft-latency.txt:
1809         Fix typo.
1810
1811         * docs/design/part-buffering.txt:
1812         Update design docs with more buffering ideas.
1813
1814 2008-04-03  Tim-Philipp Müller  <tim at centricular dot net>
1815
1816         * configure.ac:
1817           Bump version to 0.10.19.1 after the unscheduled 0.10.19 release.
1818
1819 2008-04-03  Stefan Kost  <ensonic@users.sf.net>
1820
1821         * configure.ac:
1822           Revert part that belongs to the preset patch.
1823
1824 2008-04-03  Stefan Kost  <ensonic@users.sf.net>
1825
1826         * configure.ac:
1827           Add qoutes to the define. Fixes # 525961.
1828
1829 2008-04-03  Sebastian Dröge  <slomo@circular-chaos.org>
1830
1831         * plugins/indexers/gstfileindex.c: (_file_index_id_free),
1832         (gst_file_index_load), (gst_file_index_add_id),
1833         (gst_file_index_get_assoc_entry):
1834         * plugins/indexers/gstmemindex.c: (gst_mem_index_free_format),
1835         (gst_mem_index_free_id), (gst_mem_index_add_id),
1836         (gst_mem_index_index_format):
1837         Use GSlice when possible.
1838
1839 2008-04-02  Sebastian Dröge  <slomo@circular-chaos.org>
1840
1841         * libs/gst/controller/gstinterpolationcontrolsource.c:
1842         (gst_control_point_free),
1843         (gst_interpolation_control_source_set_internal):
1844         Use GSlice for allocating the control points.
1845
1846 2008-04-02  Wim Taymans  <wim.taymans@collabora.co.uk>
1847
1848         * plugins/elements/gsttypefindelement.c:
1849         (gst_type_find_element_class_init),
1850         (gst_type_find_element_set_property),
1851         (gst_type_find_element_get_property),
1852         (gst_type_find_element_activate):
1853         * plugins/elements/gsttypefindelement.h:
1854         Cleanup properties.
1855         Fix pad leak when peer query fails.
1856         We can still typefind when the peer returns -1.
1857         Add property to force caps and bypass typefinding. This will be used in
1858         uridecodebin.
1859         API::force-caps
1860
1861 2008-04-01  Sebastian Dröge  <slomo@circular-chaos.org>
1862
1863         * configure.ac:
1864         Require GLib 2.12.
1865
1866         * gst/glib-compat-private.h:
1867         * gst/gstcaps.c: (gst_caps_new_empty), (_gst_caps_free):
1868         * gst/gstclock.c: (gst_clock_entry_new), (_gst_clock_id_free):
1869         Unconditionally use GSlice for allocation.
1870
1871         * gst/gstpoll.c: (gst_poll_new), (gst_poll_free):
1872         * gst/gstsegment.c: (gst_segment_new), (gst_segment_free):
1873         * gst/gststructure.c: (gst_structure_id_empty_new_with_size),
1874         (gst_structure_free):
1875         Use GSlice for allocation.
1876
1877 2008-04-01  Sebastian Dröge  <slomo@circular-chaos.org>
1878
1879         * gst/parse/Makefile.am:
1880         * gst/parse/grammar.tab.pre.c:
1881         * gst/parse/grammar.tab.pre.h:
1882         * gst/parse/lex._gst_parse_yy.pre.c:
1883         Require a new enough flex and bison and remove the parser hacks to use
1884         a pre-regenerated version.
1885
1886 2008-04-01  Julien Moutte  <julien@fluendo.com>
1887
1888         patch by: Jason Zhao <E3423C@motorola.com>
1889
1890         * configure.ac: Add a configure switch to disable option parsing
1891         in gst_init.
1892         Fixes #522882.
1893
1894 2008-03-31  Stefan Kost  <ensonic@users.sf.net>
1895
1896         * configure.ac:
1897         * gst/gstregistry.c:
1898           MacOS has plugins under .so or under .dylib. Add detection for MacOS
1899           and handle this case.
1900
1901         * gst/gst.c:
1902           Add a comment here describing, why we stat each plugin and not try to
1903           be smart.
1904
1905 2008-03-31  Sebastian Dröge  <slomo@circular-chaos.org>
1906
1907         * libs/gst/base/gstbasetransform.c:
1908         (gst_base_transform_prepare_output_buffer):
1909         Also unset the GAP flag on buffers if we're working inplace but
1910         the element is not GAP-aware.
1911
1912         Mark a comment as FIXME 0.11.
1913
1914 2008-03-31  Stefan Kost  <ensonic@users.sf.net>
1915
1916         * gst/gst.c:
1917           Fix type in log message and add one to ease seeing how long registry
1918           cache verification takes.
1919
1920         * gst/gstregistry.c:
1921           Only test plugin filenames against G_MODULE_SUFFIX.
1922
1923 2008-03-31  Stefan Kost  <ensonic@users.sf.net>
1924
1925         * gst/gstdebugutils.c:
1926           Improve handling ghost/proxy pads.
1927
1928 2008-03-27  Stefan Kost  <ensonic@users.sf.net>
1929
1930         * docs/gst/gstreamer-sections.txt:
1931         * gst/gstpad.c:
1932         * gst/gstpad.h:
1933           Expose macro to docs and fix link to it.
1934
1935 2008-03-27  Michael Smith <msmith@fluendo.com>
1936
1937         * libs/gst/dataprotocol/dataprotocol.c:
1938         (gst_dp_packet_from_event_1_0):
1939           When calculating GDP body CRC, use the correct pointer. 
1940           Fixes part of #522401.
1941
1942 2008-03-24  Wim Taymans  <wim.taymans@collabora.co.uk>
1943
1944         Patch by: Mark Nauwelaerts <manauw at skynet be>
1945
1946         * plugins/elements/gstidentity.c: (gst_identity_class_init),
1947         (gst_identity_init), (gst_identity_prepare_output_buffer):
1948         Identity is not always a passthrough element, it can modify the buffer
1949         timestamps when it has a datarate and operates in single-segment mode.
1950         We therefore make it an in_place filter with a custom buffer prepare
1951         function that conditionally makes the input buffer metadata writable
1952         when needed.  Fixes #523985.
1953
1954 2008-03-24  Wim Taymans  <wim.taymans@collabora.co.uk>
1955
1956         Patch by: Mark Nauwelaerts <manauw at skynet be>
1957
1958         * gst/gstclock.h:
1959         * libs/gst/base/gstbasesrc.h:
1960         * libs/gst/base/gstbasetransform.c:
1961         * libs/gst/check/gstcheck.c:
1962         Small documentation fixes. Fixes #523978.
1963
1964 2008-03-24  Wim Taymans  <wim.taymans@collabora.co.uk>
1965
1966         * plugins/elements/gstfdsink.c: (gst_fd_sink_render):
1967         * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
1968         Also retry our poll_wait when we get EAGAIN. Fixes #524041.
1969
1970 2008-03-24  Wim Taymans  <wim.taymans@collabora.co.uk>
1971
1972         * plugins/elements/gstmultiqueue.c: (single_queue_overrun_cb),
1973         (single_queue_underrun_cb):
1974         When trying to make room in the queue, bump the max allowed buffers
1975         bigger than the current amount of buffers in the queue. this fixes some
1976         nasty deadlocks in multiqueue when dynamically changing the limits of
1977         the queue.
1978
1979 2008-03-24  Wim Taymans  <wim.taymans@collabora.co.uk>
1980
1981         Patch by:  José Alburquerque <jaalburqu at svn dot gnome dot org>
1982
1983         * gst/gstcaps.c: (gst_caps_set_simple),
1984         (gst_caps_set_simple_valist), (gst_caps_intersect):
1985         * gst/gstcaps.h:
1986         Constify the field gchar * params in set_simple and friends.
1987         Fixes #522326.
1988
1989 2008-03-24  Wim Taymans  <wim.taymans@collabora.co.uk>
1990
1991         * gst/gstvalue.c: (gst_value_transform_object_string):
1992         Transform a GstObject to a more meaningfull string that includes the
1993         object type in addition to its name.
1994
1995 2008-03-23  Stefan Kost  <ensonic@users.sf.net>
1996
1997         * ChangeLog:
1998           ChangeLog surgery to add bugnumber to commit.
1999
2000 2008-03-23  Rene Stadler  <mail@renestadler.de>
2001
2002         * libs/gst/base/gstbasetransform.c:
2003         (gst_base_transform_set_gap_aware): Fix confusing documentation.
2004
2005 2008-03-23  Sebastian Dröge  <slomo@circular-chaos.org>
2006
2007         * gst/gstregistrybinary.c: (gst_registry_binary_write):
2008         Rename constant everywhere and don't forget one occurence.
2009
2010 2008-03-23  Sebastian Dröge  <slomo@circular-chaos.org>
2011
2012         * gst/gstregistrybinary.c: (gst_registry_binary_write):
2013         Align memory to the pointer size even if the architecture allows
2014         unaligned memory access. Unaligned memory access usually comes with
2015         performance penality.
2016
2017 2008-03-23  Sebastian Dröge  <slomo@circular-chaos.org>
2018
2019         * gst/gstregistrybinary.c: (gst_registry_binary_write),
2020         (gst_registry_binary_check_magic),
2021         (gst_registry_binary_load_pad_template),
2022         (gst_registry_binary_load_feature),
2023         (gst_registry_binary_load_plugin):
2024         Align memory to the pointer size instead of always 32 bit. Fixes
2025         unaligned memory accesses on ia64 and friends.
2026
2027         * gst/gstregistrybinary.h:
2028         Bump binary registry format version for this as it changes the
2029         format on those architectures that don't have unaligned access
2030         and 64 bit pointers.
2031
2032 2008-03-22  Sebastian Dröge  <slomo@circular-chaos.org>
2033
2034         * docs/pwg/advanced-dparams.xml:
2035         * docs/pwg/building-props.xml:
2036         * docs/pwg/other-source.xml:
2037         * gst/glib-compat.h:
2038         * gst/gstbin.c: (gst_bin_class_init):
2039         * gst/gstclock.c: (gst_clock_class_init):
2040         * gst/gstindex.c: (gst_index_class_init):
2041         * gst/gstobject.c: (gst_object_class_init):
2042         * gst/gstpad.c: (gst_pad_class_init):
2043         * gst/gstpipeline.c: (gst_pipeline_class_init):
2044         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
2045         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init):
2046         * libs/gst/base/gstbasetransform.c:
2047         (gst_base_transform_class_init):
2048         * libs/gst/base/gstdataqueue.c: (gst_data_queue_class_init):
2049         * libs/gst/check/gstcheck.c: (_gst_check_fault_handler_restore),
2050         (_gst_check_fault_handler_sighandler),
2051         (_gst_check_fault_handler_setup), (gst_check_init):
2052         * libs/gst/controller/gstcontroller.c:
2053         (_gst_controller_class_init):
2054         * libs/gst/controller/gstlfocontrolsource.c:
2055         (gst_lfo_control_source_class_init):
2056         * libs/gst/net/gstnetclientclock.c:
2057         (gst_net_client_clock_class_init):
2058         * libs/gst/net/gstnettimeprovider.c:
2059         (gst_net_time_provider_class_init):
2060         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_class_init):
2061         * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init):
2062         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init):
2063         * plugins/elements/gstfdsink.c: (gst_fd_sink_class_init):
2064         * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init):
2065         * plugins/elements/gstfilesink.c: (gst_file_sink_class_init):
2066         * plugins/elements/gstfilesrc.c: (gst_file_src_class_init):
2067         * plugins/elements/gstidentity.c: (gst_identity_class_init):
2068         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_class_init):
2069         * plugins/elements/gstqueue.c: (gst_queue_class_init):
2070         * plugins/elements/gsttee.c: (gst_tee_class_init):
2071         * plugins/elements/gsttypefindelement.c:
2072         (gst_type_find_element_class_init):
2073         * plugins/indexers/gstfileindex.c: (gst_file_index_class_init):
2074         Define G_PARAM_STATIC_STRINGS if it's undefined (GLib < 2.13.0) and
2075         use it everywhere for GParamSpecs that use static strings (i.e. all).
2076         This gives us less memory usage, fewer allocations and thus less
2077         memory defragmentation. Fixes bug #523806.
2078
2079 2008-03-22  Sebastian Dröge  <slomo@circular-chaos.org>
2080
2081         * gst/gstminiobject.c: (gst_value_dup_mini_object),
2082         (gst_param_spec_mini_object):
2083         * gst/gstminiobject.h:
2084         * win32/common/libgstreamer.def:
2085         * docs/gst/gstreamer-sections.txt:
2086         API: Add GST_IS_PARAM_SPEC_MINI_OBJECT, GST_PARAM_SPEC_MINI_OBJECT
2087         GST_TYPE_PARAM_MINI_OBJECT and gst_value_dup_mini_object. Also move
2088         GstParamSpecMiniObject into a public header for this.
2089
2090         This make GstMiniObject a bit more consistent with GObject and makes
2091         it possible to extend the param specs.
2092
2093         gst_value_dup_mini_object is mainly useful for set_property methods.
2094
2095         Fixes bug #523798.
2096
2097         * tools/gst-inspect.c: (print_element_properties_info):
2098         Print something useful for GstMiniObject properties and not just
2099         "unknown type".
2100
2101 2008-03-21  Sebastian Dröge  <slomo@circular-chaos.org>
2102
2103         * docs/gst/gstreamer-sections.txt:
2104         * gst/gstregistrybinary.c: (gst_registry_binary_initialize_magic),
2105         (gst_registry_binary_check_magic):
2106         * gst/gstregistrybinary.h:
2107         Call the version GST_MAGIC_BINARY_VERSION_STR to be more consistent
2108         and add it to the (private part) of the docs to fix the build.
2109
2110 2008-03-21  Sebastian Dröge  <slomo@circular-chaos.org>
2111
2112         * gst/gstregistrybinary.c: (gst_registry_binary_initialize_magic),
2113         (gst_registry_binary_check_magic),
2114         (gst_registry_binary_read_cache):
2115         * gst/gstregistrybinary.h:
2116         Don't use GST_MAJORMINOR for the binary registry version. Instead
2117         hardcode a value that must be changed whenever the format changes
2118         in an incompatible way.
2119         Also don't GST_ERROR when there is a version mismatch, just
2120         regenerate the registry silently.
2121
2122 2008-03-21  Jan Schmidt  <jan.schmidt@sun.com>
2123
2124         * configure.ac:
2125         Back to development - 0.10.18.1
2126
2127 === release 0.10.18 ===
2128
2129 2008-03-20  Jan Schmidt <jan.schmidt@sun.com>
2130
2131         * configure.ac:
2132           releasing 0.10.18, "So far away"
2133
2134 2008-03-18  Jan Schmidt  <jan.schmidt@sun.com>
2135
2136         * configure.ac:
2137         * win32/common/config.h:
2138         0.10.17.4 pre-release
2139
2140 2008-03-18  Wim Taymans  <wim.taymans@collabora.co.uk>
2141
2142         Patch by: Ole André Vadla Ravnås
2143             <ole dot andre dot ravnas at tandberg dot com>
2144
2145         * docs/gst/gstreamer-sections.txt:
2146         * gst/gstpoll.c: (gst_poll_winsock_error_to_errno),
2147         (gst_poll_update_winsock_event_mask),
2148         (gst_poll_prepare_winsock_active_sets),
2149         (gst_poll_collect_winsock_events), (gst_poll_new), (gst_poll_free),
2150         (gst_poll_add_fd_unlocked), (gst_poll_fd_ctl_write),
2151         (gst_poll_fd_ctl_read_unlocked), (gst_poll_fd_ignored),
2152         (gst_poll_fd_has_error), (gst_poll_fd_can_read_unlocked),
2153         (gst_poll_check_ctrl_commands), (gst_poll_wait):
2154         * gst/gstpoll.h:
2155         * win32/common/libgstreamer.def:
2156         Add new function gst_poll_fd_ignored() for improved Windows
2157         compatibility.
2158         Various minor fixes and cleanups. See #520808.
2159
2160 2008-03-17  Tim-Philipp Müller  <tim at centricular dot net>
2161
2162         * gst/gstindex.c: (gst_index_entry_free):
2163         * gst/gstindex.h:
2164           Don't free key strings which we don't own. Fixes crash in
2165           gst_index_entry_free() (#522741).
2166
2167         * tests/check/Makefile.am:
2168         * tests/check/gst/.cvsignore:
2169         * tests/check/gst/gstindex.c: (test_index_entries),
2170           (gst_index_suite), (gst_index):
2171           Add unit test for the above.
2172
2173 2008-03-11  Sebastian Dröge  <slomo@circular-chaos.org>
2174
2175         * win32/common/libgstreamer.def:
2176         Remove symbols that were removed recently. Fixes bug #521740.
2177
2178 2008-03-11  Jan Schmidt  <jan.schmidt@sun.com>
2179
2180         * configure.ac:
2181         * win32/common/config.h:
2182         0.10.17.3 pre-release
2183
2184 2008-03-07  Wim Taymans  <wim.taymans@collabora.co.uk>
2185
2186         Patch by: Ole André Vadla Ravnås
2187             <ole dot andre dot ravnas at tandberg dot com>
2188
2189         * docs/gst/gstreamer-sections.txt:
2190         * gst/gstpoll.c: (find_index), (gst_poll_free_winsock_event),
2191         (gst_poll_update_winsock_event_mask), (gst_poll_new),
2192         (gst_poll_free), (gst_poll_fd_init), (gst_poll_add_fd_unlocked),
2193         (gst_poll_remove_fd), (gst_poll_fd_ctl_write),
2194         (gst_poll_fd_ctl_read_unlocked), (gst_poll_fd_has_closed),
2195         (gst_poll_fd_has_error), (gst_poll_fd_can_read_unlocked),
2196         (gst_poll_fd_can_write), (gst_poll_wait),
2197         (gst_poll_set_controllable), (gst_poll_restart),
2198         (gst_poll_set_flushing):
2199         * gst/gstpoll.h:
2200         * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_new):
2201         * libs/gst/net/gstnettimeprovider.c: (gst_net_time_provider_start),
2202         (gst_net_time_provider_new):
2203         * plugins/elements/gstfdsink.c: (gst_fd_sink_start):
2204         * plugins/elements/gstfdsrc.c: (gst_fd_src_start):
2205         * tests/benchmarks/gstpollstress.c: (main):
2206         * tests/check/gst/gstpoll.c: (GST_START_TEST), (gst_poll_suite):
2207         Remove GstPollMode from the API, it does not make sense to let the
2208         application control this.
2209         Add support for Win32.
2210         Fix the testsuite. Fixes #520671.
2211
2212 2008-03-07  Sebastian Dröge  <slomo@circular-chaos.org>
2213
2214         Patch by: Ole André Vadla Ravnås
2215             <ole dot andre dot ravnas at tandberg dot com>
2216
2217         * gst/gstregistrybinary.c:
2218         Include io.h for write() and close() when building with MSVC. Fixes
2219         bug #520877.
2220
2221 2008-03-07  Stefan Kost  <ensonic@users.sf.net>
2222
2223         * configure.ac:
2224         * gst/gst_private.h:
2225         * gst/gstconfig.h.in:
2226         * gst/gstregistry.h:
2227         * gst/gstregistrybinary.c:
2228         * win32/common/gstconfig.h:
2229           Move registry backend API to private headers where we can. Add
2230           fixme-0.11 comments for the others. Add stubs for the xml backend when
2231           using the binary to ensure they functions exists (they should not be
2232           used though). Fixes #520756.
2233
2234 2008-03-04  Jan Schmidt  <jan.schmidt@sun.com>
2235
2236         * configure.ac:
2237         * win32/common/config.h:
2238         0.10.17.2 prelease
2239
2240 2008-03-03  Edward Hervey  <edward.hervey@collabora.co.uk>
2241
2242         * gst/gstregistrybinary.c: (gst_registry_binary_write),
2243         (gst_registry_binary_read_cache):
2244         * gst/gstregistryxml.c: (gst_registry_save):
2245         * gst/gsturi.c: (unescape_string), (gst_uri_has_protocol):
2246         * plugins/elements/gstfilesink.c: (gst_file_sink_open_file):
2247         * plugins/elements/gstfilesrc.c: (gst_file_src_map_region),
2248         (gst_file_src_map_small_region), (gst_file_src_create_mmap):
2249         Switch to using portabl gsize/gssize instead of size_t/ssize_t
2250         Fixes #520152
2251
2252 2008-03-03  Edward Hervey  <edward.hervey@collabora.co.uk>
2253
2254         * gst/gstminiobject.c:
2255         Import gst_private.h before any other header that might include other
2256         glib headers. This fixes the build on windows using native compilers.
2257
2258 2008-03-03  Tim-Philipp Müller  <tim at centricular dot net>
2259
2260         * win32/common/gstconfig.h:
2261           Add here too, just for completeness.
2262
2263 2008-03-03  Tim-Philipp Müller  <tim at centricular dot net>
2264
2265         * configure.ac:
2266         * gst/gstconfig.h.in:
2267         * gst/gstregistry.h:
2268           Fix broken use of config.h-defined preprocessor directive in a public
2269           header file. Add a corresponding define to gstconfig.h, since we can't
2270           really remove those function declarations from the header file now
2271           (or can we? and why are they there in the first place?).
2272
2273 2008-03-03  Andy Wingo  <wingo@pobox.com>
2274
2275         * tests/check/gst/gststructure.c (GST_START_TEST): Add a check for
2276         the new warning.
2277
2278         * gst/gststructure.c (gst_structure_from_string): Warn if
2279         structure_from_string didn't consume the whole string, but the
2280         caller did not provide an end pointer.
2281
2282 2008-03-01  Tim-Philipp Müller  <tim at centricular dot net>
2283
2284         Patch by: Fabrizio Gennari <fabrizio.ge at tiscali it>
2285
2286         * gst/gstregistryxml.c: (read_string), (load_feature):
2287           Strings allocated by libxml2 should be freed with xmlFree(), not
2288           with g_free(). Fixes issues on windows in certain contexts (#519698).
2289
2290 2008-02-29  Tim-Philipp Müller  <tim at centricular dot net>
2291
2292         * gst/gstinterface.c: (gst_element_implements_interface):
2293           Don't crash if the element supports the interface queried, but does
2294           not implement GstImplementsInterface. Fixes #519584.
2295
2296         * tests/check/Makefile.am:
2297         * tests/check/gst/.cvsignore:
2298         * tests/check/gst/gstinterface.c:
2299           Add unit test for the above.
2300
2301 2008-02-29  Wim Taymans  <wim.taymans@collabora.co.uk>
2302
2303         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
2304         Small doc update.
2305
2306 2008-02-29  Wim Taymans  <wim.taymans@collabora.co.uk>
2307
2308         * gst/gstsegment.c: (gst_segment_set_seek),
2309         (gst_segment_to_stream_time):
2310         Improve some comment.
2311         Update variables where it makes more sense.
2312
2313 2008-02-29  Rene Stadler  <mail@renestadler.de>
2314
2315         * gst/gsturi.c: (gst_uri_handler_get_protocols):
2316         Use the get_protocols_full vfunc if get_protocols is NULL.  Fixes
2317         URIHandlers implemented using language bindings.
2318
2319 2008-02-29  Sebastian Dröge  <slomo@circular-chaos.org>
2320
2321         * gst/gstelementfactory.h:
2322         * tests/check/elements/fakesink.c:
2323         * tests/check/elements/fakesrc.c: (setup_fakesrc):
2324         * tests/check/elements/fdsrc.c: (setup_fdsrc):
2325         * tests/check/elements/filesink.c: (setup_filesink):
2326         * tests/check/elements/filesrc.c: (setup_filesrc):
2327         * tests/check/elements/identity.c: (setup_identity):
2328         * tests/check/elements/tee.c:
2329         * tests/check/generic/sinks.c:
2330         * tests/check/generic/states.c: (setup), (teardown):
2331         * tests/check/gst/gst.c:
2332         * tests/check/gst/gstabi.c:
2333         * tests/check/gst/gstbin.c:
2334         * tests/check/gst/gstbus.c: (pull_messages):
2335         * tests/check/gst/gstcaps.c:
2336         * tests/check/gst/gstelement.c:
2337         * tests/check/gst/gstevent.c:
2338         * tests/check/gst/gstghostpad.c:
2339         * tests/check/gst/gstiterator.c:
2340         * tests/check/gst/gstmessage.c:
2341         * tests/check/gst/gstminiobject.c: (my_foo_init):
2342         * tests/check/gst/gstobject.c: (thread_name_object),
2343         (gst_object_suite):
2344         * tests/check/gst/gstpad.c:
2345         * tests/check/gst/gstplugin.c:
2346         * tests/check/gst/gstpoll.c:
2347         * tests/check/gst/gstquery.c:
2348         * tests/check/gst/gstsegment.c:
2349         * tests/check/gst/gststructure.c:
2350         * tests/check/gst/gstsystemclock.c:
2351         * tests/check/gst/gsttask.c:
2352         * tests/check/gst/gstutils.c:
2353         * tests/check/gst/gstvalue.c:
2354         * tests/check/gst/struct_hppa.h:
2355         * tests/check/gst/struct_i386.h:
2356         * tests/check/gst/struct_ppc32.h:
2357         * tests/check/gst/struct_ppc64.h:
2358         * tests/check/gst/struct_x86_64.h:
2359         * tests/check/libs/adapter.c: (create_and_fill_adapter):
2360         * tests/check/libs/basesrc.c:
2361         * tests/check/libs/controller.c: (GST_START_TEST):
2362         * tests/check/libs/gdp.c:
2363         * tests/check/libs/gstnetclientclock.c:
2364         * tests/check/libs/gstnettimeprovider.c:
2365         * tests/check/libs/libsabi.c:
2366         * tests/check/libs/struct_hppa.h:
2367         * tests/check/libs/struct_i386.h:
2368         * tests/check/libs/struct_ppc32.h:
2369         * tests/check/libs/struct_ppc64.h:
2370         * tests/check/libs/struct_x86_64.h:
2371         * tests/check/pipelines/cleanup.c:
2372         * tests/check/pipelines/simple-launch-lines.c:
2373         * tests/check/pipelines/stress.c:
2374         And correct even more valid sparse warnings.
2375
2376         * win32/common/libgstreamer.def:
2377         Add gst_poll_fd_init to the list of symbols.
2378
2379 2008-02-29  Sebastian Dröge  <slomo@circular-chaos.org>
2380
2381         * gst/gstconfig.h.in:
2382         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_read_buffer):
2383         * libs/gst/check/gstcheck.c: (gst_check_log_message_func),
2384         (gst_check_log_critical_func), (gst_check_drop_buffers),
2385         (gst_check_element_push_buffer_list):
2386         * libs/gst/controller/gstcontroller.c: (gst_controller_get),
2387         (gst_controller_get_type):
2388         * libs/gst/controller/gsthelper.c: (gst_object_control_properties),
2389         (gst_object_get_controller), (gst_object_get_control_source):
2390         * libs/gst/controller/gstinterpolationcontrolsource.c:
2391         (gst_interpolation_control_source_new):
2392         * libs/gst/controller/gstlfocontrolsource.c:
2393         (gst_lfo_control_source_new):
2394         * libs/gst/dataprotocol/dataprotocol.c:
2395         (gst_dp_event_from_packet_0_2):
2396         * plugins/elements/gstfdsrc.c:
2397         * plugins/elements/gstmultiqueue.c:
2398         * plugins/elements/gsttee.c:
2399         * plugins/elements/gsttypefindelement.c:
2400         * plugins/indexers/gstfileindex.c: (_file_index_id_save_xml),
2401         (gst_file_index_add_association):
2402         * plugins/indexers/gstmemindex.c:
2403         * tests/benchmarks/gstpollstress.c: (mess_some_more):
2404         * tests/check/elements/queue.c: (setup_queue):
2405         * tests/check/gst/gstpipeline.c:
2406         * tests/check/libs/collectpads.c: (setup), (teardown),
2407         (gst_collect_pads_suite):
2408         * tests/examples/adapter/adapter_test.c:
2409         * tests/examples/metadata/read-metadata.c: (make_pipeline):
2410         * tests/examples/xml/createxml.c:
2411         * tests/examples/xml/runxml.c:
2412         * tools/gst-inspect.c:
2413         * tools/gst-run.c:
2414         Correct all relevant warnings found by the sparse semantic code
2415         analyzer. This include marking several symbols static, using
2416         NULL instead of 0 for pointers, not using variable sized arrays
2417         on the stack, moving variable declarations to the beginning of
2418         a block and using "foo (void)" instead of "foo ()" for declarations.
2419
2420 2008-02-29  Sebastian Dröge  <slomo@circular-chaos.org>
2421
2422         * plugins/elements/gstfdsink.c: (gst_fd_sink_update_fd):
2423         * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
2424         Don't reset GstPollFDs, this is not necessary at all.
2425
2426         * tests/check/gst/gstpoll.c: (test_poll_wait), (GST_START_TEST),
2427         (delayed_restart), (delayed_control):
2428         Use GST_POLL_FD_INIT.
2429
2430 2008-02-29  Wim Taymans  <wim.taymans@collabora.co.uk>
2431
2432         * gst/gstpoll.c: (gst_poll_fd_init):
2433         * gst/gstpoll.h:
2434         Added Since tags.
2435
2436         * plugins/elements/gstfdsink.c: (gst_fd_sink_update_fd):
2437         Use some more init macros.
2438
2439 2008-02-29  Wim Taymans  <wim.taymans@collabora.co.uk>
2440
2441         * plugins/elements/gstfdsink.c: (gst_fd_sink_start):
2442         * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
2443         Use init macros and functions.
2444
2445 2008-02-29  Wim Taymans  <wim.taymans@collabora.co.uk>
2446
2447         * docs/gst/gstreamer-sections.txt:
2448         * gst/gstpoll.c: (gst_poll_fd_init):
2449         * gst/gstpoll.h:
2450         Add INIT macro and _init method for initializing the GstPollFD.
2451
2452 2008-02-28  Sebastian Dröge  <slomo@circular-chaos.org>
2453
2454         * plugins/elements/gstfdsink.c: (gst_fd_sink_start),
2455         (gst_fd_sink_update_fd):
2456         * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
2457         * tests/check/gst/gstpoll.c: (test_poll_wait), (GST_START_TEST),
2458         (delayed_restart), (delayed_control):
2459         Initialize some uninitialized variables as spotted by valgrind.
2460
2461 2008-02-28  Wim Taymans  <wim.taymans@collabora.co.uk>
2462
2463         * tests/benchmarks/Makefile.am:
2464         * tests/benchmarks/gstpollstress.c: (mess_some_more), (run_test),
2465         (main):
2466         Add poll stress test.
2467
2468 2008-02-28  Wim Taymans  <wim.taymans@collabora.co.uk>
2469
2470         Patch by: Peter Kjellerstedt <pkj at axis dot com>
2471
2472         * plugins/elements/gstfdsink.c: (gst_fd_sink_render),
2473         (gst_fd_sink_start), (gst_fd_sink_stop), (gst_fd_sink_unlock),
2474         (gst_fd_sink_unlock_stop), (gst_fd_sink_update_fd):
2475         * plugins/elements/gstfdsink.h:
2476         * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd),
2477         (gst_fd_src_start), (gst_fd_src_stop), (gst_fd_src_unlock),
2478         (gst_fd_src_unlock_stop), (gst_fd_src_create),
2479         (gst_fd_src_uri_set_uri):
2480         * plugins/elements/gstfdsrc.h:
2481         Port to GstPoll. See #505417.
2482
2483 2008-02-27  Jan Schmidt  <jan.schmidt@sun.com>
2484
2485         * win32/common/libgstreamer.def:
2486         Add new gst_poll_ symbols to win32 defs.
2487
2488 2008-02-27  Wim Taymans  <wim.taymans@collabora.co.uk>
2489
2490         * docs/libs/gstreamer-libs-sections.txt:
2491         * libs/gst/net/gstnetclientclock.c:
2492         (gst_net_client_clock_class_init), (gst_net_client_clock_init),
2493         (gst_net_client_clock_finalize), (gst_net_client_clock_do_select),
2494         (gst_net_client_clock_thread), (gst_net_client_clock_start),
2495         (gst_net_client_clock_stop), (gst_net_client_clock_new):
2496         * libs/gst/net/gstnetclientclock.h:
2497         * libs/gst/net/gstnettimeprovider.c:
2498         (gst_net_time_provider_class_init), (gst_net_time_provider_init),
2499         (gst_net_time_provider_finalize), (gst_net_time_provider_thread),
2500         (gst_net_time_provider_start), (gst_net_time_provider_stop),
2501         (gst_net_time_provider_new):
2502         * libs/gst/net/gstnettimeprovider.h:
2503         Use a private stuct to not break ABI.
2504
2505 2008-02-27  Wim Taymans  <wim.taymans@collabora.co.uk>
2506
2507         Patch by: Peter Kjellerstedt <pkj at axis dot com>
2508
2509         * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_init),
2510         (gst_net_client_clock_finalize), (gst_net_client_clock_do_select),
2511         (gst_net_client_clock_thread), (gst_net_client_clock_start),
2512         (gst_net_client_clock_stop), (gst_net_client_clock_new):
2513         * libs/gst/net/gstnetclientclock.h:
2514         * libs/gst/net/gstnettimeprovider.c: (gst_net_time_provider_init),
2515         (gst_net_time_provider_finalize), (gst_net_time_provider_thread),
2516         (gst_net_time_provider_start), (gst_net_time_provider_stop),
2517         (gst_net_time_provider_new):
2518         * libs/gst/net/gstnettimeprovider.h:
2519         Massive code removal and cleanups because of GstPoll.
2520         Fixes #505417.
2521
2522 2008-02-27  Wim Taymans  <wim.taymans@collabora.co.uk>
2523
2524         * configure.ac:
2525         Add checks for poll, ppoll and pselect.
2526
2527         * docs/gst/gstreamer-docs.sgml:
2528         * docs/gst/gstreamer-sections.txt:
2529         Add docs for GstPoll.
2530
2531         * gst/Makefile.am:
2532         * gst/gst.h:
2533         * gst/gstpoll.c: (find_index), (selectable_fds),
2534         (pollable_timeout), (choose_mode), (pollfd_to_fd_set),
2535         (fd_set_to_pollfd), (gst_poll_new), (gst_poll_free),
2536         (gst_poll_set_mode), (gst_poll_get_mode),
2537         (gst_poll_add_fd_unlocked), (gst_poll_add_fd),
2538         (gst_poll_remove_fd), (gst_poll_fd_ctl_write),
2539         (gst_poll_fd_ctl_read_unlocked), (gst_poll_fd_ctl_read),
2540         (gst_poll_fd_has_closed), (gst_poll_fd_has_error),
2541         (gst_poll_fd_can_read_unlocked), (gst_poll_fd_can_read),
2542         (gst_poll_fd_can_write), (gst_poll_wait),
2543         (gst_poll_set_controllable), (gst_poll_restart),
2544         (gst_poll_set_flushing):
2545         * gst/gstpoll.h:
2546         Add generic poll abstraction. We ideally don't want to have this in core
2547         here but in glib intead...
2548         This code will be used in various network elements and ultimately for
2549         the nanosecond precision monotonic clock (that's why it's here in core).
2550         It'll allow us to implement cancelable socket operations for windows too.
2551
2552         * tests/check/Makefile.am:
2553         * tests/check/gst/gstpoll.c: (test_poll_wait), (GST_START_TEST),
2554         (delayed_stop), (delayed_restart), (delayed_flush),
2555         (delayed_control), (gst_poll_suite):
2556         Add GstPoll unit test.
2557
2558 2008-02-25  Tim-Philipp Müller  <tim at centricular dot net>
2559
2560         * gst/gstfilter.c:
2561           Improve documentation of gst_filter_run(). Fixes #518627.
2562
2563 2008-02-23  Tim-Philipp Müller  <tim at centricular dot net>
2564
2565         * docs/README:
2566           Add a few lines about the new 'check-inspected-versions' target.
2567
2568 2008-02-21  Stefan Kost  <ensonic@users.sf.net>
2569
2570         * tests/check/gst/gstevent.c:
2571           Add qos to the event test. Rename tcase/tsuite; is not only about
2572           custom events.
2573
2574 2008-02-21  Stefan Kost  <ensonic@users.sf.net>
2575
2576         * plugins/elements/gstqueue.c:
2577           Ensure that buffer metadata is writeable, before modifying. Spotted by
2578           Mike.
2579
2580 2008-02-20  Stefan Kost  <ensonic@users.sf.net>
2581
2582         * plugins/elements/gstqueue.c:
2583         * plugins/elements/gstqueue.h:
2584           When dropping buffers in leaky modes, mark next buffers we sent as
2585           DISCONT.
2586
2587 2008-02-20  Tim-Philipp Müller  <tim at centricular dot net>
2588
2589         * plugins/elements/gstfilesrc.c: (gst_file_src_map_region):
2590           Also, if mmap() fails that would be a READ error, not OPEN_READ.
2591
2592 2008-02-20  Tim-Philipp Müller  <tim at centricular dot net>
2593
2594         * plugins/elements/Makefile.am:
2595         * plugins/elements/gstbufferstore.c:
2596         * plugins/elements/gstbufferstore.h:
2597         * plugins/elements/gsttypefindelement.h:
2598           Remove GstBufferStore, no idea why we were still building it.
2599           It's not used anywhere and superseded by GstAdapter.
2600
2601         * plugins/elements/gstfilesrc.c: (gst_file_src_map_region),
2602           (gst_file_src_create_mmap):
2603         * plugins/indexers/gstfileindex.c: (gst_file_index_add_association):
2604           Printf format fixes for 64-bit integers.
2605
2606 2008-02-19  Sebastian Dröge  <slomo@circular-chaos.org>
2607
2608         * configure.ac:
2609         Don't set GST_CACHE_DIR and allow to set it by a configure parameter.
2610         We're not in 0.8 times anymore.
2611
2612 2008-02-19  Jan Schmidt  <Jan.Schmidt@sun.com>
2613
2614         * libs/gst/check/gstcheck.c: (gst_check_drop_buffers),
2615         (gst_check_element_push_buffer_list):
2616         * libs/gst/check/gstcheck.h:
2617         Make the declaration in the header for
2618         gst_check_element_push_buffer_list match the implementation.
2619
2620         Fix up spelling, grammar and wording of the documentation in a few
2621         places, and add the Since keyword to new API functions.
2622         Use g_list_delete_link instead of g_list_remove in
2623         gst_check_drop_buffers, since it's immeasurably more efficient.
2624
2625         * tests/check/elements/fakesrc.c: (GST_START_TEST):
2626         Use new gst_check_drop_buffers function where appropriate.
2627
2628         * win32/common/libgstbase.def:
2629         * win32/common/libgstreamer.def:
2630         Add new symbols gst_collect_pads_take_buffer, 
2631         gst_collect_pads_read_buffer, gst_index_set_resolver_full to the
2632         exports
2633
2634         Changelog surgery to add API keyword to new gst_check API.
2635
2636 2008-02-19  Sebastian Dröge  <slomo@circular-chaos.org>
2637
2638         * gst/parse/lex._gst_parse_yy.pre.c: (yy_get_next_buffer),
2639         (_gst_parse_yyensure_buffer_stack), (_gst_parse_yylex_init_extra):
2640         Update pre-generated flex files with flex 2.3.34.
2641
2642 2008-02-19  Sebastian Dröge  <slomo@circular-chaos.org>
2643
2644         * gst/gstminiobject.c:
2645           Add FIXME for 0.11 to make GstMiniObjectClass::copy() a bit more
2646           friendly to subclasses and not require them to know all internals
2647           of their parent class.
2648
2649 2008-02-15  Stefan Kost  <ensonic@users.sf.net>
2650
2651         * docs/libs/gstreamer-libs-sections.txt:
2652         * libs/gst/base/gstcollectpads.c:
2653         * libs/gst/base/gstcollectpads.h:
2654           Add sub-buffer functions to collectpads. Fixes #516187.
2655           API: gst_collect_pads_take_buffer(), gst_collect_pads_read_buffer()
2656
2657 2008-02-15  Stefan Kost  <ensonic@users.sf.net>
2658
2659         * gst/gstbuffer.c:
2660           Copy selected buffer-flags when creating subbuffers.
2661           Fixes #516395.
2662
2663 2008-02-12  Sebastian Dröge  <slomo@circular-chaos.org>
2664
2665         * gst/gstbuffer.c: (gst_buffer_class_init), (gst_buffer_finalize):
2666         * gst/gstevent.c: (gst_event_class_init), (gst_event_finalize):
2667         * gst/gstmessage.c: (gst_message_class_init),
2668         (gst_message_finalize):
2669         * gst/gstquery.c: (gst_query_class_init), (gst_query_finalize):
2670         * plugins/elements/gstfilesrc.c: (gst_mmap_buffer_class_init),
2671         (gst_mmap_buffer_finalize):
2672         Properly chain up finalize functions to the parent class.
2673
2674 2008-02-11  Wim Taymans  <wim.taymans@collabora.co.uk>
2675
2676         Patch by: Siavash Safi <siavash dot safi at gmail dot com>
2677
2678         * gst/gstindex.c: (gst_index_finalize), (gst_index_set_resolver),
2679         (gst_index_set_resolver_full):
2680         * gst/gstindex.h:
2681         Add new function with option to dispose of user_data in resolver.
2682         Actually call the dispose function when finalizing the object and not
2683         just when changing the resolver/filter.
2684         API: GstIndex::gst_index_set_resolver_full()
2685
2686         * docs/gst/gstreamer-sections.txt:
2687         Add new function to docs. Fixes #515469.
2688
2689 2008-02-11  Sebastian Dröge  <slomo@circular-chaos.org>
2690
2691         * gst/gstindex.c: (gst_index_finalize):
2692         Chain up finalize to the parent class. Fixes leaking the GstObject
2693         name and other things.
2694
2695 2008-02-08  Jan Schmidt  <jan.schmidt@sun.com>
2696
2697         * configure.ac:
2698         Make DISABLE_DEPRECATED defined *only* during CVS, not during
2699         pre-releases or releases.
2700
2701         * docs/faq/gst-uninstalled:
2702         Add gst-plugins-gl
2703
2704         * docs/random/release:
2705         Change one of the steps - we only upload core & base to Gnome FTP
2706
2707 2008-02-06  Stefan Kost  <ensonic@users.sf.net>
2708
2709         * gst/gstconfig.h.in:
2710           Add 'id' for example.
2711
2712         * gst/gstpad.c:
2713         * gst/gstutils.c:
2714         * plugins/elements/gstfdsink.c:
2715           Link to signals. Doc and comment fixes.
2716
2717 2008-02-05  Tim-Philipp Müller  <tim at centricular dot net>
2718
2719         * gst/gstpad.h: (GST_PAD_LINK_SUCCESSFUL):
2720         * gst/gstpluginfeature.h: (GstPluginFeatureClass):
2721           Some minor docs fixes: fix typo, mention that GST_FLOW_RESEND is
2722           unused and unimplemented; finally, it is plugin features, not
2723           plugins, that have ranks.
2724           
2725 2008-02-05  Stefan Kost  <ensonic@users.sf.net>
2726
2727         * gst/gstpluginfeature.h:
2728           Clarify GstRank range docs.
2729
2730 2008-02-05  David Schleef  <ds@schleef.org>
2731
2732         * gst/gst.c: Add a separate gst_deinitialized that prevents
2733           gst_init() from being called after gst_deinit().  Fixes #509559
2734
2735 2008-02-05  Sebastian Dröge  <slomo@circular-chaos.org>
2736
2737         * gst/gstbin.c: (gst_bin_get_type), (gst_bin_base_init),
2738         (gst_bin_class_init):
2739         * gst/gstelement.c: (gst_element_base_class_init),
2740         (gst_element_class_add_pad_template):
2741         * gst/gstpadtemplate.c: (gst_pad_template_init):
2742         * gst/gstpipeline.c: (gst_pipeline_get_type),
2743         (gst_pipeline_base_init), (gst_pipeline_class_init):
2744         * libs/gst/base/gstbasesink.c:
2745         * libs/gst/base/gstbasesrc.c: (gst_base_src_get_type),
2746         (gst_base_src_base_init), (gst_base_src_class_init):
2747         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_base_init),
2748         (gst_capsfilter_class_init):
2749         * plugins/elements/gstfakesink.c: (gst_fake_sink_base_init),
2750         (gst_fake_sink_class_init):
2751         * plugins/elements/gstfakesrc.c: (gst_fake_src_base_init),
2752         (gst_fake_src_class_init):
2753         * plugins/elements/gstfdsink.c: (gst_fd_sink_base_init),
2754         (gst_fd_sink_class_init):
2755         * plugins/elements/gstfdsrc.c: (gst_fd_src_base_init),
2756         (gst_fd_src_class_init):
2757         * plugins/elements/gstfilesink.c: (gst_file_sink_base_init),
2758         (gst_file_sink_class_init):
2759         * plugins/elements/gstfilesrc.c: (gst_file_src_base_init),
2760         (gst_file_src_class_init):
2761         * plugins/elements/gstidentity.c: (gst_identity_base_init),
2762         (gst_identity_class_init):
2763         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_base_init),
2764         (gst_multi_queue_class_init):
2765         * plugins/elements/gstqueue.c: (gst_queue_base_init),
2766         (gst_queue_class_init):
2767         * plugins/elements/gsttee.c: (gst_tee_base_init),
2768         (gst_tee_class_init):
2769         * plugins/elements/gsttypefindelement.c:
2770         (gst_type_find_element_base_init),
2771         (gst_type_find_element_class_init):
2772         * tests/check/gst/gstelement.c: (gst_element_suite):
2773         Revert previous changes to the behaviour of GstPadTemplates, etc
2774         and the possiblity to call them in class_init as it breaks too
2775         many elements. Reopens bug #491501.
2776
2777         Should be applied again for 0.11, thus added a few FIXME 0.11 at
2778         several places.
2779
2780 2008-02-05  Stefan Kost  <ensonic@users.sf.net>
2781
2782         * tools/gst-launch.c:
2783         Dump one graph per pipeline state-change and state change name
2784         (if GST_DEBUG_DUMP_DOT_DIR is set).
2785
2786 2008-02-04  Thijs Vermeir  <thijsvermeir@gmail.com>
2787
2788         * gst/gstpad.c:
2789         * tests/check/gst/gstpad.c:
2790         Be sure that we have a new copy of the caps and not
2791         reffed caps from a template
2792
2793 2008-02-03  Sebastian Dröge  <slomo@circular-chaos.org>
2794
2795         * gst/gstbin.c: (gst_bin_get_type), (gst_bin_class_init):
2796         * gst/gstpipeline.c: (gst_pipeline_get_type),
2797         (gst_pipeline_class_init):
2798         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_type),
2799         (gst_base_sink_class_init):
2800         * libs/gst/base/gstbasesrc.c: (gst_base_src_get_type),
2801         (gst_base_src_class_init):
2802         * libs/gst/base/gstbasetransform.c: (gst_base_transform_get_type),
2803         (gst_base_transform_class_init):
2804         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
2805         (gst_collect_pads_class_init):
2806         * libs/gst/base/gstdataqueue.c: (gst_data_queue_get_type):
2807         * libs/gst/net/gstnettimeprovider.c:
2808         (gst_net_time_provider_base_init),
2809         (gst_net_time_provider_class_init):
2810         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_base_init),
2811         (gst_capsfilter_class_init):
2812         * plugins/elements/gstfakesink.c: (gst_fake_sink_base_init),
2813         (gst_fake_sink_class_init):
2814         * plugins/elements/gstfakesrc.c: (gst_fake_src_base_init),
2815         (gst_fake_src_class_init):
2816         * plugins/elements/gstfdsink.c: (gst_fd_sink_base_init),
2817         (gst_fd_sink_class_init):
2818         * plugins/elements/gstfdsrc.c: (gst_fd_src_base_init),
2819         (gst_fd_src_class_init):
2820         * plugins/elements/gstfilesink.c: (gst_file_sink_base_init),
2821         (gst_file_sink_class_init):
2822         * plugins/elements/gstfilesrc.c: (gst_file_src_base_init),
2823         (gst_file_src_class_init):
2824         * plugins/elements/gstidentity.c: (gst_identity_base_init),
2825         (gst_identity_class_init):
2826         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_base_init),
2827         (gst_multi_queue_class_init):
2828         * plugins/elements/gstqueue.c: (gst_queue_base_init),
2829         (gst_queue_class_init):
2830         * plugins/elements/gsttee.c: (gst_tee_base_init),
2831         (gst_tee_class_init):
2832         * plugins/elements/gsttypefindelement.c:
2833         (gst_type_find_element_base_init),
2834         (gst_type_find_element_class_init):
2835         Don't use base_init where not absolutely necessary. For example it's
2836         not necessary anymore for adding pad templates or setting element
2837         details.
2838
2839         Leave empty base_init functions in several places as GST_BOILERPLATE
2840         still defines and uses them.
2841
2842 2008-02-03  Sebastian Dröge  <slomo@circular-chaos.org>
2843
2844         * gst/gstelement.c: (gst_element_base_class_init),
2845         (gst_element_class_add_pad_template):
2846         * gst/gstpadtemplate.c:
2847         Make it possible (and recommended) to set element details and add
2848         pad templates in the class_init functions by copying the details/pad
2849         templates in GstElement's base_init.
2850
2851         Also make it possible to replace existing pad templates by adding
2852         a new one with the same name. This was done in a hackish fashion
2853         in same elements before already.
2854
2855         Don't reference pad templates that are added a second time. A
2856         new pad template has a refcount of one and is not floating anymore
2857         and to be owned by the element's class. Make this more explicit by
2858         mentioning it in the docs of gst_element_class_add_pad_template().
2859
2860         These changes are backwards compatible. Fixes bug #491501.
2861
2862         * tests/check/gst/gstelement.c:
2863         Add unit test for setting element details, adding pad templates and
2864         replacing them in a subclass.
2865
2866 2008-02-02  Sebastian Dröge  <slomo@circular-chaos.org>
2867
2868         * tools/gst-inspect.c: (print_interfaces),
2869         (print_element_properties_info), (print_pad_info),
2870         (print_signal_info), (print_element_info):
2871         Fix a few memory leaks.
2872
2873 2008-02-01  Thijs Vermeir  <thijsvermeir@gmail.com>
2874
2875         * docs/libs/gstreamer-libs-sections.txt:
2876         * libs/gst/check/gstcheck.c:
2877         * libs/gst/check/gstcheck.h:
2878         Add more functions for unit testing: gst_check_drop_buffers,
2879         gst_check_caps_equal, gst_check_element_push_buffer_list,
2880         gst_check_element_push_buffer
2881         API: gst_check_drop_buffers
2882         API: gst_check_caps_equal
2883         API: gst_check_element_push_buffer_list
2884         API: gst_check_element_push_buffer
2885
2886 2008-02-01  Julien Moutte  <julien@fluendo.com>
2887
2888         * docs/gst/gstreamer-sections.txt: Add GST_CHECK_VERSION to the docs
2889         * gst/gstindex.c: (gst_index_class_init), (gst_index_free_writer),
2890         (gst_index_finalize), (gst_index_entry_free),
2891         (gst_index_add_association): Fix memory leaks.
2892         * gst/gstversion.h.in: Add GST_CHECK_VERSION macro.
2893         * plugins/indexers/gstmemindex.c: (gst_mem_index_class_init),
2894         (gst_mem_index_free_format), (gst_mem_index_free_id),
2895         (gst_mem_index_finalize): Fix memory leaks.
2896         * win32/common/config.h: Updated to CVS HEAD.
2897
2898 2008-02-01  Stefan Kost  <ensonic@users.sf.net>
2899
2900         * docs/README:
2901           Some more details about how the plugin docs works.
2902
2903         * docs/plugins/gstreamer-plugins-sections.txt:
2904           Whitespace cleanup.
2905
2906 2008-02-01  Stefan Kost  <ensonic@users.sf.net>
2907
2908         * gst/parse/grammar.tab.pre.c:
2909         * gst/parse/grammar.tab.pre.h:
2910         * gst/parse/grammar.y:
2911         * gst/parse/lex._gst_parse_yy.pre.c:
2912           Add delayed set-property. This allows to set properties on dynamicaly
2913           created objects (pads in videomxer). Fixes #509391.
2914
2915 2008-02-01  Thijs Vermeir  <thijsvermeir@gmail.com>
2916
2917         * gst/gstutils.c:
2918         Check if caps are not NULL (fix bug #510194)
2919
2920 2008-02-01  Wim Taymans  <wim.taymans@collabora.co.uk>
2921
2922         * libs/gst/base/gstbasesink.c: (gst_base_sink_loop),
2923         (gst_base_sink_get_position_paused):
2924         Add fixme regarding EOS in pull mode.
2925         Fix position reporting in PAUSED for negative rates.
2926
2927 2008-02-01  Wim Taymans  <wim.taymans@collabora.co.uk>
2928
2929         * gst/gstminiobject.c: (gst_mini_object_replace):
2930         When replacing a miniobject, do a quick equality check first so that we
2931         can avoid a ref/unref pair.
2932
2933 2008-02-01  Wim Taymans  <wim.taymans@collabora.co.uk>
2934
2935         * docs/design/part-synchronisation.txt:
2936         Update some docs.
2937
2938         * docs/plugins/Makefile.am:
2939         * docs/plugins/gstreamer-plugins-docs.sgml:
2940         * docs/plugins/gstreamer-plugins-sections.txt:
2941         * plugins/elements/gstmultiqueue.c:
2942         Add multiqueue to the docs.
2943
2944 2008-01-30  Jan Schmidt  <jan.schmidt@sun.com>
2945
2946         * configure.ac:
2947           Back to CVS
2948
2949 === release 0.10.17 ===
2950
2951 2008-01-30  Jan Schmidt <jan.schmidt@sun.com>
2952
2953         * configure.ac:
2954           releasing 0.10.17, "Due Negligence"
2955
2956 2008-01-30  Jan Schmidt  <jan.schmidt@sun.com>
2957
2958         * gst/gstutils.c:
2959         Revert caps != NULL check temporarily for 0.10.17 release.
2960
2961 2008-01-30  Thijs Vermeir  <thijsvermeir@gmail.com>
2962
2963         * gst/gstutils.c:
2964         Check if caps are not NULL (fix bug #510194)
2965
2966 2008-01-30  Jan Schmidt  <jan.schmidt@sun.com>
2967
2968         * gst/gstutils.c:
2969         Fix compilation on systems that have posix timers but no
2970         monotonic clock.
2971         Fixes: #512715
2972         Patch By: Cygwin Ports maintainer <yselkowitz at users dot sourceforge
2973         dot net>
2974
2975 2008-01-30  Jan Schmidt  <jan.schmidt@sun.com>
2976
2977         * tools/gst-inspect.c:
2978         Revert previous commit in preparation for an impromptu 0.10.17 release
2979
2980 2008-01-29  Sebastian Dröge  <slomo@circular-chaos.org>
2981
2982         * tools/gst-inspect.c: (print_interfaces),
2983         (print_element_properties_info), (print_pad_info),
2984         (print_signal_info), (print_element_info):
2985         Fix a few memory leaks.
2986
2987 2008-01-28  Jan Schmidt  <jan.schmidt@sun.com>
2988
2989         * configure.ac:
2990         Back to CVS
2991
2992 === release 0.10.16 ===
2993
2994 2008-01-28  Jan Schmidt <thaytan@noraisin.net>
2995
2996         * configure.ac:
2997           releasing 0.10.16, "Special Dispensation"
2998
2999 2008-01-24  Tim-Philipp Müller  <tim at centricular dot net>
3000
3001         * configure.ac:
3002           Use AC_TRY_COMPILE instead of AC_TRY_RUN to check for
3003           _POSIX_TIMER, _POSIX_MONOTONIC_CLOCK, etc. Makes configure
3004           not fail when trying to crosscompile on OpenEmbedded (#511750).
3005
3006 2008-01-20  Sebastian Dröge  <slomo@circular-chaos.org>
3007
3008         * docs/manuals.mak:
3009         Use $(MAKE) instead of make to fix the build if GNU make is
3010         called different. Fixes bug #510747.
3011
3012 2008-01-20  Tim-Philipp Müller  <tim at centricular dot net>
3013
3014         * gst/gstplugin.c: (_gst_plugin_initialize):
3015           Fix old-style static plugins via GST_PLUGIN_DEFINE_STATIC
3016           again, which I broke two commits ago when changing the API
3017           of gst_plugin_register_static(): the g_list_foreach() in
3018           _gst_plugin_register_static still assumed the old function
3019           signature and would therefore fail (re-fixes #510187).
3020
3021         * gst/gstplugin.c: (_num_static_plugins), (_static_plugins),
3022           (_gst_plugin_register_static), (gst_plugin_register_static):
3023           Revert the (technically correct) change to call g_thread_init() from
3024           the pre-main() constructor. This will break programs which call
3025           g_thread_init() without an if (!g_thread_supported()) guard in their
3026           main function. We could just blame it on GLib or the application, but
3027           it's probably best to just avoid this altogether and simply not use
3028           any GLib functions here and use plain old malloc() with a simple
3029           array to store the plugins to register later when gst_init() is
3030           finally called (re-fixes #510187).
3031
3032         * tests/check/gst/gstplugin.c: (GST_GNUC_CONSTRUCTOR_DEFINED),
3033           (GST_GNUC_CONSTRUCTOR_DEFINED), (plugin_init_counter),
3034           (plugin1_init), (plugin2_init), (plugin3_init), (GST_START_TEST),
3035           (GST_START_TEST), (gst_plugin_suite):
3036           Dumb unit test to make sure the old GST_PLUGIN_DEFINE_STATIC still
3037           works.
3038
3039 2008-01-17  Tim-Philipp Müller  <tim at centricular dot net>
3040
3041         * gst/gstplugin.h: (GST_PLUGIN_DEFINE_STATIC):
3042           Remove deprecation guards around GST_PLUGIN_DEFINE_STATIC.
3043           This makes gtk-doc complain, but results in slightly better
3044           compiler errors. The old _gst_plugin_register_static() is
3045           still guarded, so there'll be a compiler warning about that
3046           instead. Fixes #510187 too.
3047
3048 2008-01-17  Tim-Philipp Müller  <tim at centricular dot net>
3049
3050         * gst/gst.c: (init_post):
3051         * gst/gstplugin.c: (_gst_plugin_register_static),
3052           (gst_plugin_register_static), (_gst_plugin_initialize):
3053         * gst/gstplugin.h: (GstPluginFilter):
3054           Change API of gst_plugin_register_static() to not take
3055           a GstPluginDesc, but rather just take all the arguments
3056           in a GstPluginDesc directly. This is more intuitive and
3057           avoids certain mistakes when porting code from
3058           GST_PLUGIN_DEFINE_STATIC to gst_plugin_register_static().
3059           Fixes #510187.
3060
3061         * tests/check/gst/gstplugin.c:
3062           Fix up for changed API.
3063
3064 2008-01-17  Thomas Vander Stichele  <thomas at apestaart dot org>
3065
3066         * docs/faq/legal.xml:
3067           Update FAQ, Totem actually has an exception these days.
3068
3069 2008-01-14  Jan Schmidt  <jan.schmidt@sun.com>
3070
3071         * win32/common/libgstreamer.def:
3072         Add new API declarations
3073
3074 2008-01-14  Stefan Kost  <ensonic@users.sf.net>
3075
3076         * gst/gstminiobject.c:
3077           Spelling fixes for the API docs.
3078
3079 2008-01-14  Stefan Kost  <ensonic@users.sf.net>
3080
3081         * libs/gst/base/gstbasetransform.c:
3082           Fix long property description for QoS.
3083
3084 2008-01-12  Jan Schmidt  <Jan.Schmidt@sun.com>
3085
3086         * gst/gst.c:
3087         _gst_trace_on is already provided by gsttrace.h, no need to declare
3088         it ourselves.
3089
3090         * docs/libs/gstreamer-libs-sections.txt:
3091         Add 'buffers', 'check_cond' and 'check_mutex' from libgstcheck
3092         and remove strange tcase_add_test which is outputting a warning.
3093
3094         * libs/gst/check/gstcheck.c:
3095         * libs/gst/check/gstcheck.h:
3096         Properly declare 'buffers', 'check_cond', 'check_mutex' extern
3097         and define them in gstcheck.c instead of having every .c file whcih
3098         includes gstcheck.h be defining its own copy and relying on symbol
3099         interposing to marry them all, which doesn't work on Solaris.
3100
3101         * tests/check/elements/identity.c: (GST_START_TEST):
3102         Don't define 'buffers' locally, it comes from libgstcheck.
3103
3104         * tests/check/generic/sinks.c: (send_buffer):
3105         Fix type of variable (GstFlowReturn, not GstStateChangeReturn)
3106
3107         * tests/check/gst/gststructure.c: (GST_START_TEST):
3108         * tests/check/gst/gstsystemclock.c: (GST_START_TEST):
3109         * tests/check/gst/gstutils.c: (GST_START_TEST):
3110         * tests/check/gst/gstvalue.c: (GST_START_TEST):
3111         Add a bunch of casts to make various constants fit the types
3112         they're being assigned to.
3113
3114 2008-01-10  Stefan Kost  <ensonic@users.sf.net>
3115
3116         * gst/gstchildproxy.c:
3117           Improve docs and add some ideas for making this more general-purpose.
3118
3119 2008-01-10  Tim-Philipp Müller  <tim at centricular dot net>
3120
3121         * gst/gst_private.h: (GST_CAT_TYPES):
3122           Add GST_CAT_TYPES, for consistency, and so that the other
3123           debug categories don't make fun of it. Spotted by Saur on IRC.
3124
3125 2008-01-10  Sebastian Dröge  <slomo@circular-chaos.org>
3126
3127         * gst/parse/Makefile.am:
3128           Move types.h from EXTRA_DIST to noinst_HEADERS.
3129
3130 2008-01-10  Sebastian Dröge  <slomo@circular-chaos.org>
3131
3132         * autogen.sh:
3133           Add -Wno-portability to the automake parameters to stop warnings
3134           about GNU make extensions being used. We require GNU make in almost
3135           every Makefile anyway.
3136
3137         * configure.ac:
3138           Use AM_PROG_CC_C_O as a compiler that accepts both -c and -o
3139           at the same time is required for per target flags.
3140
3141 2008-01-09  Tim-Philipp Müller  <tim at centricular dot net>
3142
3143         * gst/gstmacros.h:
3144           Include glib/gmacros.h for G_BEGIN_DECLS. Check if
3145           __GNUC__ is defined before using it.
3146
3147 2008-01-09  Tim-Philipp Müller  <tim at centricular dot net>
3148
3149         * docs/gst/gstreamer-sections.txt:
3150         * gst/gst.c: (init_post):
3151         * gst/gstplugin.c: (_gst_plugin_register_static),
3152           (gst_plugin_register_static), (_gst_plugin_initialize),
3153           (gst_plugin_register_func):
3154         * gst/gstplugin.h: (GST_PLUGIN_DEFINE_STATIC):
3155           API: add gst_plugin_register_static() and deprecate
3156           GST_PLUGIN_DEFINE_STATIC, since it's not portable
3157           (#498924).
3158           Also, in _gst_plugin_register_static(), make sure to call
3159           g_thread_init() before calling GLib functions such as
3160           g_list_append() if we're not initialised yet, since that
3161           may lead to random crashes with older GSlice/GLib versions.
3162
3163         * tests/check/gst/gstplugin.c:
3164           Adapt unit test to above changes.
3165
3166 2008-01-09  Tim-Philipp Müller  <tim at centricular dot net>
3167
3168         * gst/gst_private.h: (STRUCTURE_ESTIMATED_STRING_LEN):
3169         * gst/gstcaps.c: (gst_caps_to_string):
3170         * gst/gststructure.c: (GST_ASCII_IS_STRING),
3171           (priv_gst_structure_append_to_gstring), (gst_structure_to_string):
3172           Yet another gratuitous GString micro-optimisation: add a (private)
3173           function that serialises a structure appending to an existing
3174           GString, so that when we serialise caps we don't need to alloc+free
3175           a throwaway GString for each structure (each of which also entailing
3176           multiple reallocs on the way); also use g_string_sized_new() in
3177           various places with an approximate string length to avoid reallocs
3178           within GString. See #500143.
3179
3180 2008-01-09  Tim-Philipp Müller  <tim at centricular dot net>
3181
3182         * gst/gststructure.c: (gst_structure_id_set_value):
3183           Always check UTF-8 conformance of structure strings and not only
3184           if the debugging system is enabled; reasoning: the behaviour of
3185           the actual code shouldn't really change depending on whether the
3186           debugging system is enabled or not (#508291).
3187
3188 2008-01-09  Stefan Kost  <ensonic@users.sf.net>
3189
3190         * Makefile.am:
3191           Remove old coverage target in favour of "make lcov".
3192
3193 2008-01-09  Wim Taymans  <wim.taymans@collabora.co.uk>
3194
3195         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
3196         (gst_base_src_loop):
3197         The start segment for reverse playback goes from start to last_stop.
3198
3199 2008-01-09  Wim Taymans  <wim.taymans@collabora.co.uk>
3200
3201         Patch by: Peter Kjellerstedt <pkj axis com>
3202
3203         * gst/gstclock.h:
3204         Cast the results from the timeval/spec_to_time macros to what the
3205         docs say it casts to, a GstClockTime. fixes #508175.
3206
3207 2008-01-09  Wim Taymans  <wim.taymans@collabora.co.uk>
3208
3209         * gst/gstbuffer.c:
3210         Update some comments.
3211
3212         * tools/gst-inspect.c: (print_element_properties_info):
3213         Improve printing of flags.
3214
3215 2008-01-08  Tim-Philipp Müller  <tim at centricular dot net>
3216
3217         * libs/gst/base/gstbasetransform.c:
3218           (gst_base_transform_transform_size):
3219           Print element name with g_warning() if there's a problem
3220           with the unit size.
3221
3222 2008-01-07  David Schleef  <ds@schleef.org>
3223
3224         Patch by: Damien Lespiau <damien.lespiau@gmail.com>
3225
3226         * libs/gst/controller/gstcontroller.h:
3227         * libs/gst/controller/gstcontrolsource.h:
3228         * libs/gst/controller/gstinterpolationcontrolsource.h:
3229         * libs/gst/controller/gstlfocontrolsource.h:
3230         * libs/gst/dataprotocol/dataprotocol.h:
3231           Fix empty prototypes.  Fixes bug #507957.
3232
3233 2008-01-07  David Schleef  <ds@schleef.org>
3234
3235         * docs/faq/dependencies.xml: Fix typo.
3236
3237 2008-01-07  Wim Taymans  <wim.taymans@collabora.co.uk>
3238
3239         * libs/gst/base/gstbasesrc.c: (gst_base_src_default_do_seek),
3240         (gst_base_src_loop):
3241         Don't update the last_stop position in do_seek, that's the position we
3242         did a seek to.
3243         Read backwards when we have a negative rate.
3244
3245         * tests/check/elements/filesrc.c: (event_func), (wait_eos),
3246         (setup_filesrc), (cleanup_filesrc), (GST_START_TEST),
3247         (filesrc_suite):
3248         Add check for reverse reading.
3249
3250 2008-01-07  Tim-Philipp Müller  <tim at centricular dot net>
3251
3252         Patch by: Alexis Ballier <aballier at gentoo org>
3253
3254         * tests/check/gst/gstabi.c:
3255         * tests/check/gst/struct_ppc64.h:
3256         * tests/check/libs/libsabi.c:
3257         * tests/check/libs/struct_ppc64.h:
3258           Decide which header to include based on the userland ABI target
3259           and not the kernel/cpu. Fix up structure sizes of ppc64 header
3260           for 64-bit userland (#503590).  Might need something similar for
3261           x86 too.
3262
3263 2008-01-05  Tim-Philipp Müller  <tim at centricular dot net>
3264
3265         * gst/gstdebugutils.c: (_gst_debug_bin_to_dot_file):
3266           Log the reason why fopen fails in addition to the fact that it failed.
3267           
3268 2008-01-04  Sebastian Dröge  <slomo@circular-chaos.org>
3269
3270         * gst/parse/parse.l:
3271         Use "%option never-interactive" to prevent useless calls to isatty()
3272         on every input when parsing. Also use "%option noinput" to not define
3273         the static input/yyinput functions which we don't use anyway. This
3274         removes a compiler warning with gcc 4.3 and saves some bytes in the
3275         library.
3276         
3277         * gst/parse/lex._gst_parse_yy.pre.c:
3278         Regenerated for the above change.
3279
3280 2008-01-04  Wim Taymans  <wim.taymans@collabora.co.uk>
3281
3282         * gst/gstpad.c: (fixate_value):
3283         Don't crash when trying to fixate and empty list.
3284         Fixes #506643.
3285
3286 2008-01-03  Sebastian Dröge  <slomo@circular-chaos.org>
3287
3288         * docs/faq/gst-uninstalled:
3289         Clarify the comments to make the usage of this script and what it
3290         does easier to understand.
3291
3292 2008-01-01  Thijs Vermeir  <thijsvermeir@gmail.com>
3293
3294         * tools/gst-plot-timeline.py:
3295         Add more options to gst-plot-timeline
3296
3297 2007-12-31  Wim Taymans  <wim.taymans@collabora.co.uk>
3298
3299         * docs/design/part-synchronisation.txt:
3300         Some more info on how the stream_time in GstBaseSink is done.
3301
3302 2007-12-30  Tim-Philipp Müller  <tim at centricular dot net>
3303
3304         * tests/check/generic/sinks.c: (gst_sinks_suite):
3305           Put back the tcase_set_timeout(), apparently it's needed after
3306           all; fix it up in a way that makes things work with valgrind too.
3307
3308 2007-12-30  Thijs Vermeir  <thijsvermeir@gmail.com>
3309
3310         * gst/gstdebugutils.c:
3311           Add warning when failed to open file for writing.
3312
3313 2007-12-28  Tim-Philipp Müller  <tim at centricular dot net>
3314
3315         Based on patch by: Laurent Glayal  <spglegle yahoo fr>
3316
3317         * gst/gstvalue.c: (gst_value_is_fixed):
3318           Optimisation: bail out of the loop as early as possible (#500143).
3319
3320 2007-12-28  Tim-Philipp Müller  <tim at centricular dot net>
3321
3322         * gst/gstcaps.c: (gst_caps_to_string):
3323         * gst/gstinfo.c: (gst_debug_construct_term_color):
3324         * gst/gstparse.c: (gst_parse_launchv):
3325         * gst/gstutils.c: (gst_util_dump_mem):
3326         * gst/gstvalue.c: (gst_value_serialize_any_list),
3327           (gst_value_transform_any_list_string):
3328           Bunch of gratuitous nano-optimisations.
3329
3330 2007-12-28  Tim-Philipp Müller  <tim at centricular dot net>
3331
3332         * tests/check/generic/sinks.c: (async_done_func),
3333           (async_done_eos_func):
3334           Fix leak in unit test (bus sync handler must unref the message
3335           if it returns GST_BUS_DROP). Don't fiddle with the default test
3336           timeout, this is smaller than the current preconfigured value
3337           via CK_DEFAULT_TIMEOUT, and also breaks things with valgrind
3338           because it overrides the value specified in CK_DEFAULT_TIMEOUT.
3339
3340 2007-12-24  Wim Taymans  <wim.taymans@collabora.co.uk>
3341
3342         Based on Patch by: Laurent Glayal <spglegle at yahoo dot fr>
3343
3344         * configure.ac:
3345         Check for stdio_ext.h for the filesink changes.
3346
3347         * plugins/elements/gstfilesink.c: (buffer_mode_get_type),
3348         (gst_file_sink_class_init), (gst_file_sink_init),
3349         (gst_file_sink_dispose), (gst_file_sink_set_property),
3350         (gst_file_sink_get_property), (gst_file_sink_open_file),
3351         (gst_file_sink_close_file):
3352         * plugins/elements/gstfilesink.h:
3353         Add two properties to control the buffering mode and size.
3354         API: GstFileSink::buffer-mode
3355         API: GstFileSink::buffer-size
3356         Fixes #500150.
3357
3358 2007-12-24  Wim Taymans  <wim.taymans@collabora.co.uk>
3359
3360         * gst/gstsystemclock.c: (gst_system_clock_id_wait_jitter_unlocked):
3361         Add some more docs to explain why a FIXME was wrongly added. 
3362
3363 2007-12-22  Sebastian Dröge  <slomo@circular-chaos.org>
3364
3365         * gst/gstobject.c:
3366           Fix typo in the gst_object_{ref,unref} documentation.
3367
3368 2007-12-21  Tim-Philipp Müller  <tim at centricular dot net>
3369
3370         * tests/check/libs/controller.c:
3371         * tests/check/libs/typefindhelper.c:
3372         * tests/check/pipelines/parse-launch.c:
3373           Don't use GST_PLUGIN_DEFINE_STATIC, it is not portable and is
3374           going to be deprecated (see #498924).
3375
3376 2007-12-21  Tim-Philipp Müller  <tim at centricular dot net>
3377
3378         * gst/gsttypefind.c: (gst_type_find_register):
3379           Make gst_type_find_register work for static typefind functions,
3380           ie. allow passing plugin == NULL (prerequisite for #498924).
3381
3382         * gst/gstelementfactory.c: (gst_element_register):
3383           Small docs addition.
3384
3385 2007-12-21  Wim Taymans  <wim.taymans@collabora.co.uk>
3386
3387         * gst/gstpad.c: (gst_pad_dispose):
3388         Really unlink the peer pad instead of setting the peer pointer to NULL
3389         when we dispose the pad.
3390         This correctly calls the unlink functions and makes sure that the peer
3391         does not have a handle to invalid memory. See #504671.
3392
3393         * tests/check/gst/gstpad.c: (GST_START_TEST), (gst_pad_suite):
3394         Add testsuite for above case.
3395
3396 2007-12-20  Tim-Philipp Müller  <tim at centricular dot net>
3397
3398         Patch by: Peter Kjellerstedt <pkj axis com>
3399
3400         * libs/gst/check/gstcheck.h:
3401           Fix detection of the check version we're compiling against (would
3402           otherwise break if check goes v0.10.0); correctly report the
3403           name of the failed test again in case of failure, instead of
3404           just 'tf' (fixes #504499).
3405
3406 2007-12-19  Wim Taymans  <wim.taymans@collabora.co.uk>
3407
3408         * libs/gst/base/gstbasesrc.c: (gst_base_src_send_event),
3409         (gst_base_src_get_range), (gst_base_src_pad_get_range),
3410         (gst_base_src_loop), (gst_base_src_set_flushing),
3411         (gst_base_src_change_state):
3412         Allow sending EOS to the source to make it send out an EOS event from
3413         the streaming thread.
3414         Update docs and deprecate the old NULL/READY shutdown method.
3415
3416         * tests/check/libs/basesrc.c: (GST_START_TEST),
3417         (gst_basesrc_suite):
3418         Add unit test for controlled shutdown.
3419
3420 2007-12-19  Wim Taymans  <wim.taymans@collabora.co.uk>
3421
3422         * docs/design/part-synchronisation.txt:
3423         Small updates.
3424
3425         * gst/gstsegment.c: (gst_segment_set_seek),
3426         (gst_segment_set_newsegment_full), (gst_segment_to_stream_time),
3427         (gst_segment_to_running_time):
3428         The seek format can be different from the segment format when the start
3429         and stop values are not to be updated, when we only do a rate change for
3430         example.
3431
3432         * tests/check/gst/gstsegment.c: (GST_START_TEST),
3433         (gst_segment_suite):
3434         Add a testcase for the rate-only seeks, checking that the format is
3435         correctly ignored when start and stop are not updated.
3436
3437 2007-12-18  Sebastian Dröge  <slomo@circular-chaos.org>
3438
3439         Patch by: Matthias Bolte <photon at mail dot upb dot de>
3440
3441         * win32/vs8/grammar.vcproj:
3442         * win32/vs8/libgstcontroller.vcproj:
3443         * win32/vs8/libgstreamer.vcproj:
3444         Fix compilation with VS8 and include some missing files.
3445
3446 2007-12-18  Tim-Philipp Müller  <tim at centricular dot net>
3447
3448         * gst/gsttaglist.c:
3449           Small docs addition: mention that the strings returned by
3450           gst_tag_list_get_string*() are in UTF-8 encoding.
3451
3452 2007-12-17  Tim-Philipp Müller  <tim at centricular dot net>
3453
3454         * Makefile.am:
3455           The check-exports stuff moved to common/win32.mak, so include that.
3456
3457 2007-12-17  Wim Taymans  <wim.taymans@collabora.co.uk>
3458
3459         * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
3460         (gst_base_src_perform_seek), (gst_base_src_get_range),
3461         (gst_base_src_set_playing), (gst_base_src_change_state):
3462         Make _wait_playing() not check any variables so that we can call this
3463         function from subclasses. Move the checks elsewhere similar to
3464         _wait_preroll() in basesink.
3465         Add some debugging.
3466         Only signal the LIVE cond when we are going back to PLAYING.
3467
3468 2007-12-16  Tim-Philipp Müller  <tim at centricular dot net>
3469
3470         * gst/gstregistrybinary.c: (gst_registry_binary_write_cache):
3471           Use g_remove() and g_rename(). Check result of g_rename(), and
3472           don't leak the open file descriptor if we error out when writing.
3473
3474         * gst/gstregistryxml.c: (load_plugin), (gst_registry_xml_write_cache):
3475           Must check the return value of close() after writing out the new
3476           registry file.  Sometimes write problems such as out-of-diskspace
3477           are only reported when the file is closed and not already during
3478           the write.  This may have caused partial/broken registry files in
3479           some rare circumstances. Should fix #503675.
3480
3481 2007-12-16  Edward Hervey  <edward.hervey@collabora.co.uk>
3482
3483         * docs/gst/.cvsignore:
3484         * docs/libs/.cvsignore:
3485         * docs/plugins/.cvsignore:
3486         Ignore files generated by new common/* modifications
3487
3488 2007-12-15  Stefan Kost  <ensonic@users.sf.net>
3489
3490         * win32/common/libgstbase.def:
3491           Yes, you can also have a <TAB> if you want.
3492
3493 2007-12-15  Stefan Kost  <ensonic@users.sf.net>
3494
3495         * win32/common/libgstbase.def:
3496           Add new basetransform API to win export file.
3497
3498 2007-12-15  Stefan Kost  <ensonic@users.sf.net>
3499
3500         * tests/check/gst/gstbin.c:
3501           Adjust the test to the refcount change two days ago.
3502
3503 2007-12-14  David Schleef  <ds@schleef.org>
3504
3505         * docs/faq/getting.xml: Fix typo.
3506
3507 2007-12-14  Sebastian Dröge  <slomo@circular-chaos.org>
3508
3509         * docs/libs/gstreamer-libs-sections.txt:
3510         * libs/gst/base/gstbasetransform.c: (gst_base_transform_init),
3511           (gst_base_transform_prepare_output_buffer),
3512           (gst_base_transform_set_gap_aware):
3513         * libs/gst/base/gstbasetransform.h:
3514           API: Add gst_base_transform_set_gap_aware() to control whether
3515           the element correctly handles GST_BUFFER_FLAG_GAP or shouldn't
3516           get buffers with this flag at all. Fixes #503231.
3517
3518 2007-12-13  Stefan Kost  <ensonic@users.sf.net>
3519
3520         * libs/gst/base/gstbasesink.c:
3521         * libs/gst/base/gstbasesrc.c:
3522         * libs/gst/base/gstbasetransform.c:
3523           Replace gst_pad_get_parent by GST_OBJECT_PARENT inside streaming
3524           thread. Correct log message in gstbasesrc.c.
3525
3526 2007-12-13  Tim-Philipp Müller  <tim at centricular dot net>
3527
3528         * gst/gstutils.c: (element_find_unconnected_pad):
3529           Fix possible compiler warning (#503417).
3530
3531 2007-12-13  Tim-Philipp Müller  <tim at centricular dot net>
3532
3533         * gst/gstobject.c: (gst_object_dispatch_properties_changed):
3534           Don't use GST_CAT_EVENT here for logging, it makes no sense.
3535
3536 2007-12-13  Sebastian Dröge  <slomo@circular-chaos.org>
3537
3538         * tools/gst-inspect.c: (print_element_properties_info):
3539           Add support for GstFraction properties.
3540
3541 2007-12-12  Tim-Philipp Müller  <tim at centricular dot net>
3542
3543         * Makefile.am:
3544           Add check-exports target and run it as part of 'make check'
3545           (see #499140 and #493983).
3546
3547         * gst/gst_private.h:
3548         * gst/gstelementfactory.h:
3549         * gst/gstghostpad.c: (gst_proxy_pad_class_init):
3550         * gst/gstinfo.c: (_priv_gst_in_valgrind), (_gst_debug_init),
3551           (_priv_gst_in_valgrind):
3552         * gst/gstinfo.h: (GstLogFunction):
3553         * gst/gsttypefind.c: (type_find_debug), (GST_CAT_DEFAULT),
3554           (gst_type_find_register):
3555         * gst/gsttypefindfactory.c: (type_find_debug), (GST_CAT_DEFAULT),
3556           (gst_type_find_factory_get_type):
3557         * libs/gst/controller/gstcontroller.c: (GST_CAT_DEFAULT),
3558           (GST_CAT_DEFAULT), (parent_class), (priv_gst_controller_key),
3559           (gst_controller_new_valist), (gst_controller_new_list),
3560           (_gst_controller_dispose), (_gst_controller_class_init):
3561         * libs/gst/controller/gstcontrolsource.c: (GST_CAT_DEFAULT):
3562         * libs/gst/controller/gsthelper.c: (GST_CAT_DEFAULT),
3563           (GST_CAT_DEFAULT), (gst_object_uncontrol_properties),
3564           (gst_object_get_controller), (gst_object_set_controller),
3565           (gst_object_suggest_next_sync), (gst_object_sync_values),
3566           (gst_object_set_control_source), (gst_object_get_control_source),
3567           (gst_object_get_value_arrays), (gst_object_get_value_array),
3568           (gst_object_get_control_rate), (gst_object_set_control_rate):
3569         * libs/gst/controller/gstinterpolation.c: (GST_CAT_DEFAULT):
3570         * libs/gst/controller/lib.c: (GST_CAT_DEFAULT):
3571           Make some functions that should be static static; rename some
3572           private symbols so that they don't get exported; add some FIXME
3573           comments so we can move accidentally exported functions into
3574           our private section in 0.11.
3575
3576         * win32/common/libgstreamer.def:
3577           Add gst_utils_get_timestamp().
3578
3579 2007-12-12  Stefan Kost  <ensonic@users.sf.net>
3580
3581         * gst/gstvalue.c:
3582         * gst/gstvalue.h:
3583           Add more missing "Since:" tags to docs.
3584
3585 2007-12-12  Stefan Kost  <ensonic@users.sf.net>
3586
3587         * gst/gstutils.c:
3588           Add mising "Since:" to docs.
3589
3590 2007-12-11  Stefan Kost  <ensonic@users.sf.net>
3591
3592         * gst/gstplugin.c:
3593           Include "glib-compat-private.h" to fix the build on system with
3594           glib < 2.10. Fixes #503131.
3595
3596 2007-12-11  Stefan Kost  <ensonic@users.sf.net>
3597
3598         * gst/gstutils.c:
3599         * gst/gstutils.h:
3600           Actually its not PURE as it gets the time from elsewhere.
3601
3602 2007-12-11  Stefan Kost  <ensonic@users.sf.net>
3603
3604         * docs/gst/gstreamer-sections.txt:
3605         * gst/gstclock.h:
3606         * gst/gstdebugutils.c:
3607         * gst/gstinfo.c:
3608         * gst/gstutils.c:
3609         * gst/gstutils.h:
3610         * libs/gst/base/gstbasesink.c:
3611         * tools/gst-launch.c:
3612           Change GST_GET_TIMESTAMP into gst_util_get_timestamp and replace all
3613           uses as we don't have HAVE_POSIX_TIMERS in public headers.
3614           Thanks Tim for spotting.
3615           API: gst_util_get_timestamp
3616
3617 2007-12-09  Sebastian Dröge  <slomo@circular-chaos.org>
3618
3619         * configure.ac:
3620           Don't define GST_DISABLE_DEPRECATED for releases. Fixes #498181.
3621
3622 2007-12-08  Tim-Philipp Müller  <tim at centricular dot net>
3623
3624         * gst/gststructure.c: (gst_structure_validate_name),
3625           (gst_structure_new_valist), (gst_structure_parse_value),
3626           (gst_structure_from_string):
3627           Don't crash in _from_string() if the structure name is not valid
3628           (fixes #501560).  Allow structure names to start with a number
3629           again (this apparently broke the ubuntu codec installer).
3630
3631         * tests/check/gst/gststructure.c: (GST_START_TEST), (GST_START_TEST),
3632           (GST_START_TEST):
3633           Add unit test for the crash; update unit tests for new behaviour.
3634
3635 2007-12-03  Wim Taymans  <wim.taymans@gmail.com>
3636
3637         * gst/gstutils.c:
3638         Clarify gst_element_get_compatible_pad() documentation.
3639         Fixes #500919.
3640
3641 2007-12-02  Sebastian Dröge  <slomo@circular-chaos.org>
3642
3643         * tests/check/Makefile.am:
3644           Don't forget to dist {gst,libs}/struct_hppa.h.
3645
3646 2007-11-28  Stefan Kost  <ensonic@users.sf.net>
3647
3648         * libs/gst/base/gstbasesink.c:
3649           Use new API to get elapsed time.
3650
3651 2007-11-28  Stefan Kost  <ensonic@users.sf.net>
3652
3653         * gst/gstdebugutils.c:
3654         * gst/gstinfo.c:
3655           Fix wrong order of args in GST_CLOCK_DIFF() usage.
3656
3657         * tools/gst-launch.c:
3658           Use new API to get elapsed time.
3659
3660 2007-11-28  Stefan Kost  <ensonic@users.sf.net>
3661
3662         * docs/gst/gstreamer-sections.txt:
3663         * gst/gstclock.h:
3664         * gst/gstdebugutils.c:
3665         * gst/gstinfo.c:
3666           Rename new API + ChangeLog surgery to remove old name from last entry..
3667
3668 2007-11-28  Stefan Kost  <ensonic@users.sf.net>
3669
3670         * docs/gst/gstreamer-sections.txt:
3671         * gst/gstclock.h:
3672         * gst/gstdebugutils.c:
3673         * gst/gstinfo.c:
3674           Now hide the different clock stuff behind a macro.
3675
3676 2007-11-28  Stefan Kost  <ensonic@users.sf.net>
3677
3678         * configure.ac:
3679         * gst/gstdebugutils.c:
3680         * gst/gstinfo.c:
3681           Apply the posix-timer check from #361155. Conditionally use the posix
3682           timer for logging. This gives better timestamp precission, less
3683           overhead and no ntp jitter.
3684
3685 2007-11-28  Sebastian Dröge  <slomo@circular-chaos.org>
3686
3687         * gst/gstminiobject.c: (gst_mini_object_get_type),
3688         (gst_mini_object_class_init), (gst_mini_object_copy_default),
3689         (gst_mini_object_finalize), (gst_mini_object_copy),
3690         (gst_mini_object_is_writable), (gst_mini_object_make_writable),
3691         (gst_mini_object_replace), (param_mini_object_validate),
3692         (gst_param_spec_mini_object_get_type):
3693         Some cleanup and checking against invalid function parameters.
3694
3695 2007-11-28  Wim Taymans  <wim.taymans@gmail.com>
3696
3697         * docs/gst/gstreamer-sections.txt:
3698         * gst/gstclock.h:
3699         * tests/check/gst/gstsystemclock.c: (GST_START_TEST),
3700         (gst_systemclock_suite):
3701         Start merging in the easy bits of #361155, the monotonic clock patch.
3702         This one adds a few handy macros with docs and a testsuite.
3703
3704 2007-11-27  Wim Taymans  <wim.taymans@gmail.com>
3705
3706         * plugins/elements/gstfilesink.c: (gst_file_sink_event):
3707         Be a bit smarter when seeking, like, don't try to do a seek when it's
3708         not needed. This avoids errors when the file is not seekable.
3709         Fixes #499771.
3710
3711 2007-11-26  Stefan Kost  <ensonic@users.sf.net>
3712
3713         * docs/gst/gstreamer-docs.sgml:
3714         * docs/gst/gstreamer-sections.txt:
3715         * docs/gst/gstreamer.types.in:
3716         * gst/Makefile.am:
3717         * gst/gst.h:
3718         * gst/gstpreset.c:
3719         * gst/gstpreset.h:
3720         * plugins/elements/gstqueue.c:
3721           Due to popular request remove preset interface again. :-(.
3722
3723 2007-11-22  Stefan Kost  <ensonic@users.sf.net>
3724
3725         * tools/gst-inspect.c:
3726           Print 'default value' for enums and flags too.
3727
3728 2007-11-22  Stefan Kost  <ensonic@users.sf.net>
3729
3730         * docs/random/ensonic/profiling.txt:
3731           More ideas.
3732
3733         * gst/gstbin.c:
3734           Fix typo and give better log output.
3735
3736         * gst/gstdebugutils.c:
3737         * gst/gstdebugutils.h:
3738           More ideas, make graphs a bit smaller and fix param name in macro.
3739
3740 2007-11-22  Stefan Kost  <ensonic@users.sf.net>
3741
3742         * gst/gstpreset.c:
3743           Try harder to use the return value from fgets().
3744
3745 2007-11-21  Stefan Kost  <ensonic@users.sf.net>
3746
3747         * gst/gstpreset.c:
3748           For theses two fgets we handle the error below.
3749
3750 2007-11-21  Wim Taymans  <wim.taymans@gmail.com>
3751
3752         * libs/gst/base/gstbasesink.c: (gst_base_sink_send_event):
3753         Only send upstream events upstream. Fixes #498746.
3754
3755 2007-11-21  Wim Taymans  <wim.taymans@gmail.com>
3756
3757         Patch by: Laurent Glayal <spglegle at yahoo dot fr>
3758
3759         * plugins/elements/gstidentity.c: (gst_identity_class_init),
3760         (gst_identity_init), (gst_identity_transform_ip),
3761         (gst_identity_set_property), (gst_identity_get_property):
3762         * plugins/elements/gstidentity.h:
3763         Add property to disable handoff signal emission. Fixes #498694.
3764         API: GstIdentity::signal-handoffs
3765
3766 2007-11-21  Julien Moutte  <julien@fluendo.com>
3767
3768         * docs/faq/gst-uninstalled: Yet another missing library for the
3769         uninstalled script (fft)
3770
3771 2007-11-21  Jan Schmidt  <jan.schmidt@sun.com>
3772
3773         * docs/faq/developing.xml:
3774         Add a question about how to submit new translations.
3775
3776         * docs/random/release:
3777         Update the contact email address for the Translation Project
3778
3779         * plugins/elements/gstfdsrc.c:
3780         The parent_class for fdsrc is pushsrc, not GstElement.
3781
3782 2007-11-20  Stefan Kost  <ensonic@users.sf.net>
3783
3784         * gst/gstpreset.c:
3785           Plug a leak and fix saving.
3786
3787 2007-11-20  Sebastian Dröge  <slomo@circular-chaos.org>
3788
3789         * docs/gst/gstreamer-sections.txt:
3790         Add new gst_preset__get_property_names() function to the docs
3791         to fix the build.
3792
3793 2007-11-20  Stefan Kost  <ensonic@users.sf.net>
3794
3795         * gst/gstpreset.c:
3796         * gst/gstpreset.h:
3797           Change _get_preset_names API to return a strv with copies. Add
3798           _get_property_names to allow implementations to filter and provide
3799           good default implementation.
3800
3801 2007-11-20  Julien MOUTTE  <julien@moutte.net>
3802
3803         * docs/faq/gst-uninstalled: Add another library to the uninstalled
3804         script (sdp).
3805
3806 2007-11-19  Stefan Kost  <ensonic@users.sf.net>
3807
3808         * gst/gstpreset.c:
3809           More cleanups, docs, and TODOs from comments that now slowly come in.
3810
3811 2007-11-19  Julien MOUTTE  <julien@moutte.net>
3812
3813         * docs/faq/gst-uninstalled: Add new base libraries in the LD 
3814         search path.
3815
3816 2007-11-19  Stefan Kost  <ensonic@users.sf.net>
3817
3818         * gst/gstpreset.c:
3819           Fix bogus warning and make the property type specific code more
3820           similar.
3821
3822 2007-11-19  Julien MOUTTE  <julien@moutte.net>
3823
3824         * gst/gstpreset.c: (gst_preset_default_create_preset): Make
3825         it build on OS X.
3826
3827 2007-11-19  Wim Taymans  <wim.taymans@gmail.com>
3828
3829         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
3830         (gst_bin_add_func), (gst_bin_remove_func),
3831         (gst_bin_change_state_func), (gst_bin_continue_func):
3832         Change email, cleanups add some more debug and comments.
3833         Also set bus and clock on new elements when the pipeline was in error.
3834
3835 2007-11-18  Stefan Kost  <ensonic@users.sf.net>
3836
3837         * gst/gstbin.c:
3838         * gst/gstdebugutils.c:
3839           Fix build with --disable-gst-debug. Fixes #497859.
3840           Spotted by Sameer Naik.
3841
3842 2007-11-17  Stefan Kost  <ensonic@users.sf.net>
3843
3844         * gst/gstevent.c:
3845           Little documentation improvment.
3846
3847         * gst/gstpreset.c:
3848           More TODO cleanups. Remove c++ comments.
3849
3850         * libs/gst/controller/gstcontroller.c:
3851           Add TODO and use quark from static string.
3852
3853         * tests/check/gst/gstmessage.c:
3854         * tests/check/gst/gststructure.c:
3855           Use quark from static string.
3856
3857 2007-11-17  Stefan Kost  <ensonic@users.sf.net>
3858
3859         * gst/gstpreset.c:
3860           Add some comments and TODOs.
3861
3862         * gst/gstpreset.h:
3863           Add padding for future changes.
3864
3865         * plugins/elements/gstqueue.c:
3866           Implement the iface.    
3867
3868 2007-11-17  Stefan Kost  <ensonic@users.sf.net>
3869
3870         * docs/gst/gstreamer-docs.sgml:
3871         * docs/gst/gstreamer-sections.txt:
3872         * docs/gst/gstreamer.types.in:
3873         * gst/Makefile.am:
3874         * gst/gst.h:
3875         * gst/gstpreset.c:
3876         * gst/gstpreset.h:
3877           Add the preset interface (Fixes #396779). Do some doc cleanups along.
3878
3879 2007-11-16  Jan Schmidt  <jan.schmidt@sun.com>
3880
3881         * configure.ac:
3882
3883         Back to CVS
3884
3885 === release 0.10.15 ===
3886
3887 2007-11-15  Jan Schmidt <jan.schmidt@sun.com>
3888
3889         * configure.ac:
3890           releasing 0.10.15, "October"
3891
3892 2007-11-14  Jan Schmidt  <jan.schmidt@sun.com>
3893
3894         * win32/vs6/libgstreamer.dsp:
3895         Convert line endings back to DOS.
3896
3897 2007-11-13  Stefan Kost  <ensonic@users.sf.net>
3898
3899         * docs/design/draft-tagreading.txt:
3900         * docs/random/ensonic/profiling.txt:
3901         Update fast tagreading draft and performance profiling ideas.
3902
3903 2007-11-09  Wim Taymans  <wim.taymans@gmail.com>
3904
3905         * libs/gst/base/gstbasesink.c: (gst_base_sink_set_last_buffer):
3906         Don't hold the object lock when unreffing a buffer because it could
3907         cause a deadlock when the finalize function wants to grab the object
3908         lock too. Fixes #495133.
3909
3910 2007-11-09  Wim Taymans  <wim.taymans@gmail.com>
3911
3912         * gst/gstsegment.c: (gst_segment_set_newsegment_full),
3913         (gst_segment_to_stream_time), (gst_segment_to_running_time):
3914         Also accumulate time correctly when doing reverse playback. Fixes
3915         #488201,
3916         When converting to running and stream time, use default values for
3917         start/stop/time/accum when comparing different formats. Fixes #494245.
3918
3919         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
3920         Do running/stream time in TIME format.
3921
3922         * tests/check/gst/gstsegment.c: (GST_START_TEST),
3923         (gst_segment_suite):
3924         2 new unit tests for segment accumulation.
3925
3926 2007-11-07  Tim-Philipp Müller  <tim at centricular dot net>
3927
3928         * gst/gst.c: (init_pre):
3929         * gst/gstdebugutils.c: (priv_gst_dump_dot_dir), (debug_dump_element),
3930           (_gst_debug_bin_to_dot_file):
3931           Move getenv() back into gst_init, so everyone can live happily
3932           ever after. Make sure the symbol isn't exported though.
3933
3934 2007-11-06  Tim-Philipp Müller  <tim at centricular dot net>
3935
3936         Patch by: Sebastien Moutte  <sebastien moutte net>
3937
3938         * win32/common/gstenumtypes.c:
3939         * win32/common/gstenumtypes.h:
3940           Update enum types.
3941
3942         * win32/vs6/libgstreamer.dsp:
3943           Update vs6 project files (#494343).
3944
3945 2007-11-06  Wim Taymans  <wim.taymans@gmail.com>
3946
3947         * libs/gst/base/gstbasesrc.c: (gst_base_src_default_query),
3948         (gst_base_src_perform_seek), (gst_base_src_default_event),
3949         (gst_base_src_set_flushing), (gst_base_src_activate_push),
3950         (gst_base_src_activate_pull):
3951         Unify flushing code, remove some old unlock code that is no longer used.
3952         Take the streaming lock when seeking to avoid races. Fixes #492729.
3953         Added some more comments.
3954
3955 2007-11-06  Tim-Philipp Müller  <tim at centricular dot net>
3956
3957         * gst/gst.c: (_gst_disable_segtrap):
3958           Make  _gst_disable_segtrap static, it's only used in gstplugin.c and
3959           we can use gst_segtrap_is_enabled() there now that we have that API.
3960           Move _gst_debug_dump_dot_dir into gstdebugutils.c, there's no reason
3961           to do the getenv here (and export the variable).
3962
3963         * gst/gstdebugutils.c: (debug_dump_element),
3964           (_gst_debug_bin_to_dot_file), (_gst_debug_bin_to_dot_file_with_ts):
3965           Don't use VLAs which is a C99ism and throws off MSVC (#493983).
3966
3967         * gst/gstinfo.c: (_priv_gst_info_start_time), (_gst_debug_init),
3968           (gst_debug_log_default):
3969           Rename _gst_info_start_time to priv_gst_info_start_time so it
3970           doesn't get exported (was never in any header).
3971
3972         * gst/gstplugin.c: (_gst_plugin_fault_handler_setup),
3973           (gst_plugin_loading_mutex):
3974           Make static mutex gst_plugin_loading_mutex really static (was never
3975           in any header), and use gst_segtrap_is_enabled() instead of
3976           _gst_disable_segtrap.
3977
3978         * gst/gsttrace.c: (_gst_trace_default):
3979           Make local _gst_trace_default static (was never in any header).
3980
3981 2007-11-06  Tim-Philipp Müller  <tim at centricular dot net>
3982
3983         Patch by: Ole André Vadla Ravnås  <ole.andre.ravnas@tandberg.com>
3984
3985         * win32/common/libgstbase.def:
3986         * win32/common/libgstcontroller.def:
3987         * win32/common/libgstdataprotocol.def:
3988         * win32/common/libgstnet.def:
3989         * win32/common/libgstreamer.def:
3990           Add more missing symbols, remove some duplicates, and sort
3991           as the 'sort' command sorts it (partially fixes #493983).
3992
3993 2007-11-06  Wim Taymans  <wim.taymans@gmail.com>
3994
3995         * gst/gstelement.c: (gst_element_set_state_func):
3996         Only change the state cookie if a different state was set on the
3997         element. See #492729.
3998
3999 2007-11-06  Tim-Philipp Müller  <tim at centricular dot net>
4000
4001         * gst/gstvalue.c:
4002           Remove unused and uninitialised type variables that were still
4003           exported for some reason (they were never in any header files
4004           though).
4005
4006 2007-11-06  Wim Taymans  <wim.taymans@gmail.com>
4007
4008         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
4009         (gst_base_sink_do_sync), (gst_base_sink_preroll_object),
4010         (gst_base_sink_event), (gst_base_sink_get_position_last),
4011         (gst_base_sink_get_position_paused), (gst_base_sink_get_position),
4012         (gst_base_sink_change_state):
4013         Don't try to report a 0 position when we don't know, return -1 and FALSE
4014         instead. This mostly happens when we are prerolling.
4015         Make sure we can report the right position before we post the ASYNC_DONE
4016         message so that a message handler can query position without races.
4017
4018         * tests/check/generic/sinks.c: (send_eos), (GST_START_TEST),
4019         (async_done_handoff), (async_done_func), (send_buffer),
4020         (async_done_eos_func), (gst_sinks_suite):
4021         Add two tests for the above.
4022
4023 2007-11-06  Wim Taymans  <wim.taymans@gmail.com>
4024
4025         * MAINTAINERS:
4026         Update with new email address.
4027
4028         * docs/design/part-TODO.txt:
4029         Add some more info about future pad-block and negotiation changes.
4030
4031         * docs/design/part-buffering.txt:
4032         Add some ideas about buffering reporting.
4033
4034 2007-11-06  Jan Schmidt  <jan.schmidt@sun.com>
4035
4036         * tests/check/gst/gstobject.c:
4037         Disable silly racy test that always fails on this combination of CPU
4038         and kernel.
4039
4040 2007-11-03  Tim-Philipp Müller  <tim at centricular dot net>
4041
4042         Patch by: Murray Cumming  <murrayc@murrayc.com>
4043
4044         * gst/gstobject.c:
4045           Corrected the registration of the parent-set and parent-unset
4046           signals: The parameter is a GstObject, not a GObject (#493134).
4047
4048 2007-11-02  Tim-Philipp Müller  <tim at centricular dot net>
4049
4050         * gst/gst_private.h:
4051         * gst/gstbuffer.h:
4052         * gst/gstevent.h:
4053         * gst/gstformat.h:
4054         * gst/gstmessage.h:
4055         * gst/gstplugin.h:
4056         * gst/gstquery.h:
4057         * gst/gsttaglist.h:
4058         * gst/gstvalue.h:
4059           Move declaration of private _gst_foo_initialize() functions into
4060           our private header file where they should have been all along.
4061
4062 2007-11-02  Tim-Philipp Müller  <tim at centricular dot net>
4063
4064         * docs/plugins/gstreamer-plugins-sections.txt:
4065         * gst/gstdebugutils.h:
4066         * gst/gstxml.h:
4067         * plugins/elements/gstqueue.c:
4068           gtk-doc fixes; trailing-comma-in-enum fix.
4069
4070 2007-11-02  Tim-Philipp Müller  <tim at centricular dot net>
4071
4072         * gst/gst.c: (gst_deinit):
4073           Clean up on deinit (not the external ones though, doesn't seem to be
4074           needed for some reason).
4075
4076 2007-11-01  Tim-Philipp Müller  <tim at centricular dot net>
4077
4078         * gst/gstinfo.h: (GST_DEBUG_CATEGORY_EXTERN):
4079           Remove __declspec(dllimport) for MSVC that was copied over into core
4080           from a plugin, obviously without ever having been tested (note the
4081           single underscore in _declspec in the initial commit), and that doesn't
4082           really make sense.  See #492077.
4083
4084 2007-11-01  Tim-Philipp Müller  <tim at centricular dot net>
4085
4086         * gst/gst.c: (init_post):
4087         * gst/gstevent.c: (_gst_event_initialize):
4088         * gst/gstquery.c: (_gst_query_initialize):
4089         * libs/gst/dataprotocol/dataprotocol.c (gst_dp_init):
4090           g_type_class_ref() other types as well, see #349410 and #64764.
4091
4092         * gst/gstbuffer.c: (_gst_buffer_initialize):
4093         * gst/gstmessage.c: (_gst_message_initialize):
4094           Simplify existing g_type_class_ref().
4095
4096 2007-11-01  Tim-Philipp Müller  <tim at centricular dot net>
4097
4098         * gst/gstformat.c: (_gst_format_initialize):
4099           g_type_class_ref() our GstFormat type to make sure we avoid the
4100           thread-unsafe bits of the GObject/GType system, ie. bug #349410 and
4101           bug #64764. Should fix intermittent tee unit test failures (#474823).
4102
4103 2007-11-01  Tim-Philipp Müller  <tim at centricular dot net>
4104
4105         * tests/check/elements/tee.c: (test_num_buffers):
4106           Simplify, simplify, simplify - or not.  Rewrite unit test
4107           not to use gst_parse_launch(); allow N sub-streams. Increasing
4108           the number of sub-streams seems to reproduce #474823 more easily.
4109
4110 2007-10-31  Tim-Philipp Müller  <tim at centricular dot net>
4111
4112         Patch by: Ole André Vadla Ravnås  <ole.andre.ravnas@tandberg.com>
4113
4114         * gst/gsttrace.c:
4115         * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_new):
4116         * libs/gst/net/gstnettimepacket.c: (gst_net_time_packet_send):
4117         * libs/gst/net/gstnettimeprovider.c: (gst_net_time_provider_new):
4118           Fix a couple of missing includes for MSVC2005 and a C99 issue. Also,
4119           starting with 2.14.0, GLib won't provide a pipe() macro any longer,
4120           so use _pipe() directly (#492077).
4121
4122         * win32/common/dirent.c: (_treaddir):
4123           Add a couple of casts to make it build without warnings with MSVC.
4124
4125         * win32/common/libgstreamer.def:
4126           Add some more symbols that need to be exported.
4127
4128 2007-10-31  Tim-Philipp Müller  <tim at centricular dot net>
4129
4130         * tests/examples/metadata/read-metadata.c: (message_loop):
4131           Use _KEEP as merge mode rather than _KEEP_ALL, so tags
4132           arriving in a second or third tag message are added to
4133           the tag list as well.
4134
4135 2007-10-31  Stefan Kost  <ensonic@users.sf.net>
4136
4137         * libs/gst/base/gstbasesrc.c:
4138           Its "Since:" and not "@Since:". And remove an superflous cast.
4139
4140 2007-10-30  Wim Taymans  <wim.taymans@gmail.com>
4141
4142         * docs/libs/gstreamer-libs-sections.txt:
4143         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
4144         (gst_base_sink_get_last_buffer), (gst_base_sink_set_last_buffer),
4145         (gst_base_sink_get_property), (gst_base_sink_render_object),
4146         (gst_base_sink_preroll_object),
4147         (gst_base_sink_queue_object_unlocked), (gst_base_sink_event),
4148         (gst_base_sink_change_state):
4149         * libs/gst/base/gstbasesink.h:
4150         Add a new last-buffer property that contains the last buffer used in
4151         basesink for preroll or rendering. useful for making snapshots.
4152         API: gst_base_sink_get_last_buffer()
4153         API: GstBaseSink::last-buffer
4154
4155 2007-10-29  Stefan Kost  <ensonic@users.sf.net>
4156
4157         * docs/gst/running.xml:
4158         * gst/gst.c:
4159         * gst/gstdebugutils.c:
4160         * gst/gstdebugutils.h:
4161         * tools/gst-launch.c:
4162           Improve bin graph dumping, by using the envvar to specify a path.
4163           Rename the envvar to GST_DEBUG_DUMP_DOT_DIR.
4164
4165 2007-10-29  Tim-Philipp Müller  <tim at centricular dot net>
4166
4167         * plugins/elements/gsttypefindelement.c:
4168           (gst_type_find_element_handle_event),
4169           (gst_type_find_element_activate):
4170           Post special error message if we can't determine the type of a stream
4171           because it's empty.
4172
4173 2007-10-29  Stefan Kost  <ensonic@users.sf.net>
4174
4175         * docs/gst/running.xml:
4176         * gst/gstdebugutils.c:
4177           Document new env-var. Add one log-line after dumpng a graph.
4178
4179 2007-10-26  Tim-Philipp Müller  <tim at centricular dot net>
4180
4181         * configure.ac:
4182           Ugly hack to put the (recently removed and non-portable, apparently)
4183           -Wl,--export-dynamic back into libgstcheck's LDFLAGS when we're using
4184           GNU ld, because without that 'make check' fails miserably on my debian
4185           stable box.  Someone with more knowledge of linker intricacies and
4186           portability issues than me fix this properly please.
4187
4188 2007-10-25  Wim Taymans  <wim.taymans@gmail.com>
4189
4190         * libs/gst/base/gstbasesink.c: (gst_base_sink_event):
4191         Reset last seen position after flushing so that we don't report the old
4192         position anymore.
4193
4194 2007-10-25  Jan Schmidt  <Jan.Schmidt@sun.com>
4195
4196         * gst/gstelementfactory.c: (gst_element_register):
4197         * gst/gsturi.h:
4198         Patch from Alessandro Decina adding get_type_full and
4199         get_protocols_full private vfuncs to the URIHandler interface
4200         to allow bindings to support creating URI handlers. 
4201         Partially fixes: #339279
4202         API: GstURIHandlerInterface::get_type_full
4203         API: GstURIHandlerInterface::get_protocols_full
4204
4205 2007-10-25  Jan Schmidt  <Jan.Schmidt@sun.com>
4206
4207         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_set_property),
4208         (gst_multi_queue_request_new_pad), (gst_single_queue_flush),
4209         (gst_multi_queue_loop), (gst_multi_queue_sink_activate_push):
4210         Make it so that pads are considered linked until a buffer is pushed
4211         and discovered otherwise. This avoids problems with decodebin2 hanging
4212         after a seek in the filesrc ! decodebin2 name=d ! fakesink d. ! fakesink
4213         case.
4214
4215         Make sure we lock the multiqueue when updating the max-size properties.
4216         
4217         Fix a crash on Solaris in a debug statement in get_request_pad that
4218         passes a NULL string to GST_DEBUG. 
4219
4220         * tests/check/elements/multiqueue.c: (mq_dummypad_chain),
4221         (run_output_order_test):
4222         Fix the test to allow the first buffer on not-linked pads to come out
4223         of sequence while multiqueue discovers that they are not-linked.
4224
4225 2007-10-25  Jan Schmidt  <Jan.Schmidt@sun.com>
4226
4227         * configure.ac:
4228         * libs/gst/check/Makefile.am:
4229         Use a custom export symbol regex for libgstcheck, as it needs
4230         to export symbols that don't match the standard GStreamer gst_*
4231         pattern, and  --export-dynamic is not portable (only works on 
4232         GNU ld)
4233
4234         * libs/gst/check/gstcheck.c: (gst_check_setup_src_pad),
4235         (gst_check_setup_sink_pad):
4236         Make sure to pass a message parameter to the fail_* macros.
4237
4238         * tests/check/gst/gstinfo.c: (GST_START_TEST):
4239         Fix some compiler warnings.
4240
4241 2007-10-25  Tim-Philipp Müller  <tim at centricular dot net>
4242
4243         * tests/check/gst/gststructure.c: (test_to_string):
4244           Disable test that checks that white spaces are not allowed
4245           in structure names or field names, since we need to
4246           support that for now for backwards compatibility reasons.
4247
4248 2007-10-24  Tim-Philipp Müller  <tim at centricular dot net>
4249
4250         * docs/gst/gstreamer-sections.txt:
4251         * gst/gsttaglist.c:
4252         * gst/gsttaglist.h:
4253           API: add GST_TAG_ARTIST_SORTNAME
4254           API: add GST_TAG_ALBUM_SORTNAME
4255           API: add GST_TAG_TITLE_SORTNAME
4256           Add tag variants for sorting (#414539).
4257
4258 2007-10-24  Tim-Philipp Müller  <tim at centricular dot net>
4259
4260         * gst/gststructure.c:
4261           Also allow white space for names so we don't break
4262           backwards compatibility.
4263
4264 2007-10-22  Wim Taymans  <wim.taymans@gmail.com>
4265
4266         * docs/design/part-TODO.txt:
4267         * docs/design/part-segments.txt:
4268         * docs/design/part-streams.txt:
4269         Small updates.
4270
4271 2007-10-22  Edgard Lima  <edgard.lima@indt.org.br>
4272
4273         * docs/gst/gstreamer-sections.txt:
4274          Fixed documentation from my previous commit (added new API add
4275          gst_value_set_structure(), add gst_value_get_structure() and
4276          GST_VALUE_HOLDS_STRUCTURE).
4277
4278 2007-10-22  Stefan Kost  <ensonic@users.sf.net>
4279
4280         * gst/gstdebugutils.c:
4281           Reflow code to fix uninitialized variable warning.
4282
4283 2007-10-22  Edgard Lima  <edgard.lima@indt.org.br>
4284
4285         * gst/gstcaps.c: (gst_caps_to_string),
4286         (gst_caps_from_string_inplace):
4287         * gst/gststructure.c: (gst_structure_get_abbrs),
4288         (gst_structure_to_string), (gst_structure_from_string):
4289         * gst/gstvalue.c: (gst_value_set_structure),
4290         (gst_value_get_structure), (gst_value_serialize_structure),
4291         (gst_value_deserialize_structure), (_gst_value_initialize):
4292         * gst/gstvalue.h:
4293         * tests/check/gst/gststructure.c: (GST_START_TEST),
4294         (gst_structure_suite):
4295         * tests/check/gst/gstvalue.c: (GST_START_TEST):
4296          Added GstStructure to gst_value_table and its related functions.
4297          Changed gst_structure_to_string to print ';' in the end.
4298          Changed gst_caps_to_string to not print ';' beteween its
4299          fields (structures) anymore and remove the lastes ';' from latest
4300          structure. Now it is possible to have nested structures.
4301          In addition, backward compatibilty is assured by accepting '\0' as
4302          end delimiter. Fixes: #487969.
4303          API: add gst_value_set_structure()
4304          API: add gst_value_get_structure()
4305          API: add GST_VALUE_HOLDS_STRUCTURE
4306
4307 2007-10-19  Tim-Philipp Müller  <tim at centricular dot net>
4308
4309         * gst/gstbus.c:
4310           When no GSource callback has been set up, tell developer
4311           to use a function that actually exists.
4312
4313 2007-10-17  Stefan Kost  <ensonic@users.sf.net>
4314
4315         * docs/gst/gstreamer-sections.txt:
4316         * gst/Makefile.am:
4317         * gst/gst.c:
4318         * gst/gst.h:
4319         * gst/gstdebugutils.c:
4320         * gst/gstdebugutils.h:
4321         * gst/gstinfo.c:
4322         * gst/gstinfo.h:
4323         * tools/gst-launch.c:
4324           Allow dumping pipelines as dot graphs. Fixes #456573.
4325
4326 2007-10-16  Tim-Philipp Müller  <tim at centricular dot net>
4327
4328         * gst/gststructure.c:
4329           Allow '+' as well, it can be part of media or mime types
4330           such as image/svg+xml.
4331
4332 2007-10-16  Tim-Philipp Müller  <tim at centricular dot net>
4333
4334         * docs/gst/gstreamer-sections.txt:
4335         * gst/gstbus.c:
4336         * gst/gstbus.h:
4337           API: add gst_bus_pop_filtered
4338           API: add gst_bus_timed_pop_filtered
4339           Two new functions for waiting for specific message types on the
4340           bus for a specified amount of time without iterating any main
4341           loops or main contexts.
4342
4343         * tests/check/gst/gstbus.c:
4344           Some tests for the new functions.
4345
4346 2007-10-16  Tim-Philipp Müller  <tim at centricular dot net>
4347
4348         * docs/libs/gstreamer-libs-sections.txt:
4349           Make gtk-doc ignore stuff it should ignore.
4350
4351 2007-10-16  Tim-Philipp Müller  <tim at centricular dot net>
4352
4353         * libs/gst/check/gstcheck.c:
4354         * libs/gst/check/gstcheck.h:
4355           Allow runtime selection of unit tests to run via the GST_CHECKS
4356           environment variable (test case function names, comma-separated).
4357
4358 2007-10-16  Stefan Kost  <ensonic@users.sf.net>
4359
4360         * gst/gststructure.c:
4361         * tests/check/gst/gststructure.c:
4362           Revert serialisation change and constrain structure-names after
4363           consensus on irc. Update api documentation to reflect the change.
4364
4365 2007-10-16  Stefan Kost  <ensonic@users.sf.net>
4366
4367         * gst/gststructure.c:
4368           Improve serialization and fix tests.
4369
4370         * tests/check/gst/gststructure.c:
4371           Add another test that covers why I actually did the previous structure
4372           change.
4373
4374 2007-10-15  Wim Taymans  <wim.taymans@gmail.com>
4375
4376         * tools/gst-inspect.c: (print_element_info):
4377         Don't crash when inspecting an element.
4378
4379 2007-10-15  Tim-Philipp Müller  <tim at centricular dot net>
4380
4381         * tests/check/gst/gststructure.c:
4382           Add unit test for escaping of structure name when serialising
4383           and deserialising to/from strings.
4384
4385 2007-10-15  Wim Taymans  <wim.taymans@gmail.com>
4386
4387         * plugins/elements/gstmultiqueue.c: (gst_single_queue_push_one),
4388         (gst_single_queue_new):
4389         * plugins/elements/gstqueue.c: (gst_queue_init),
4390         (gst_queue_push_one):
4391         Fix queue negotiation. If acceptcaps unconditionally returns TRUE,
4392         upstream is tricked into thinking it can suggest a format downstream
4393         while downstream does not support that format. The real problem is that
4394         core calls acceptcaps when pushing a buffer with new caps, for which we
4395         do a little workaround by setting the caps on the srcpad ourselves
4396         before pushing the buffer (until this is figured out). Fixes #486758.
4397
4398 2007-10-15  Stefan Kost  <ensonic@users.sf.net>
4399
4400         * gst/gststructure.c:
4401         * gst/gstvalue.c:
4402           Add some more comments and debug output. Quote structure name to fix
4403           deserialisation of some strings.
4404
4405 2007-10-15  Stefan Kost  <ensonic@users.sf.net>
4406
4407         * gst/gstbuffer.h:
4408           Define GST_BUFFER_FLAG_GAP more strictly to enable optimizations based
4409           on it. Fix docs for GST_BUFFER_MALLOCDATA and GstBuffer.malloc_data.
4410
4411 2007-10-15  Stefan Kost  <ensonic@users.sf.net>
4412
4413         * tools/gst-inspect.c:
4414           Save approx. 400 1 byte allocs when printing. Use API to acces element
4415           details.
4416
4417         * tools/gst-run.c:
4418           Avoid a strdup.
4419
4420         * tools/gst-xmlinspect.c:
4421           Use API to acces element details.
4422
4423 2007-10-15  Stefan Kost  <ensonic@users.sf.net>
4424
4425         * gst/gstinfo.c:
4426           Fix some spelling errors.
4427
4428 2007-10-14  Wim Taymans  <wim.taymans@gmail.com>
4429
4430         * gst/gstbin.c: (bin_handle_async_done):
4431         Correctly set the next state if all of our async children commited their
4432         state. This makes sure we can actually cancel the state change in
4433         progress. Fixes a regression in Rhythmbox when seeking.
4434
4435 2007-10-13  Tim-Philipp Müller  <tim at centricular dot net>
4436
4437         * gst/gstbin.c:
4438           Don't shadow local variable.
4439
4440         * gst/gstinfo.c:
4441           Don't shadow global function name.
4442
4443 2007-10-13  Tim-Philipp Müller  <tim at centricular dot net>
4444
4445         * gst/gstelementfactory.c:
4446         * gst/gstpluginfeature.c:
4447         * gst/gstpluginfeature.h:
4448         * gst/gstregistrybinary.c:
4449         * gst/gstregistryxml.c:
4450         * gst/gsttypefind.c:
4451           Use already-interned string for the private GstPluginFeature
4452           plugin_name field.
4453
4454 2007-10-10  Tim-Philipp Müller  <tim at centricular dot net>
4455
4456         * docs/libs/gstreamer-libs-sections.txt:
4457           Add new API to docs; fixes the build.
4458
4459 2007-10-10  Wim Taymans  <wim.taymans@gmail.com>
4460         
4461         Patch inspired by: Benoit Fouet <benoit dot fouet at purplelabs dot com>
4462
4463         * libs/gst/base/gstbasesink.c: (gst_base_sink_wait_eos),
4464         (gst_base_sink_event):
4465         * libs/gst/base/gstbasesink.h:
4466         Add function to wait for EOS, subclasses can use this to correctly wait
4467         for devices to drain before performing the EOS logic. Fixes #485343.
4468         API: gst_base_sink_wait_eos()
4469
4470 2007-10-10  Tim-Philipp Müller  <tim at centricular dot net>
4471
4472         * gst/gstplugin.h:
4473           Cast description string constants in GST_PLUGIN_DEFINE macros
4474           to a (gchar*) to make C++ code using these macros compile
4475           without warning with g++-4.2 (see #462737).  Even if slightly
4476           ugly, this seems preferable to putting the description strings
4477           into the GLib quark table or making the structure member a
4478           const gchar * and doing casts in core code that allocs and
4479           frees these strings, or requiring a cast in the C++ code.
4480
4481 2007-10-09  Tim-Philipp Müller  <tim at centricular dot net>
4482
4483         * gst/gstinfo.h:
4484           Use __FUNCTION__ instead of __PRETTY_FUNCTION__, it's silly
4485           to print the entire class/function signature into the log
4486           file for C++ code.  This only affects C++ code, for C code
4487           everything remains the same.
4488
4489 2007-10-09  Wim Taymans  <wim.taymans@gmail.com>
4490
4491         * gst/gstbin.c: (remove_from_queue):
4492         Work around a problem with pipelines containing (semi)loops until a
4493         proper, more complicated solution is ready. See #475455.
4494
4495 2007-10-09  Tim-Philipp Müller  <tim at centricular dot net>
4496
4497         * gst/gstplugin.c:
4498         * gst/gstplugin.h:
4499         * gst/gstregistrybinary.c:
4500         * gst/gstregistryxml.c:
4501           Put more strings into the GLib quark table. No need to keep
4502           a hundred-something copies of identical version strings,
4503           license strings, package name strings and package origin
4504           strings around. 
4505
4506 2007-10-09  Tim-Philipp Müller  <tim at centricular dot net>
4507
4508         * docs/manual/advanced-dataaccess.xml:
4509           Don't imply that it's okay to unconditionally change
4510           buffer data or buffer metadata in a pad probe callback,
4511           and a bunch of other comments. Fixes #430031.
4512
4513 2007-10-08  Tim-Philipp Müller  <tim at centricular dot net>
4514
4515         * win32/common/gstenumtypes.c:
4516         * win32/common/gstenumtypes.h:
4517         * win32/common/gstversion.h:
4518           Update generated files.
4519
4520 2007-10-08  Tim-Philipp Müller  <tim at centricular dot net>
4521
4522         * docs/manual/advanced-autoplugging.xml:
4523           Prefix section with broken code with a warning (see #342432).
4524
4525 2007-10-08  Tim-Philipp Müller  <tim at centricular dot net>
4526
4527         * docs/manual/appendix-integration.xml:
4528         * docs/manual/basics-init.xml:
4529           Call g_thread_init() before g_option_context_new() to
4530           avoid warnings. Spotted by Ritesh Khadgaray. Fixes #484225.
4531
4532 2007-10-08  Wim Taymans  <wim.taymans@gmail.com>
4533
4534         * libs/gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
4535         (gst_base_sink_queue_object_unlocked),
4536         (gst_base_sink_queue_object), (gst_base_sink_event),
4537         (gst_base_sink_needs_preroll), (gst_base_sink_chain_unlocked):
4538         When we received EOS and are waiting for when to post the EOS message,
4539         our state is prerolled and we should not return ASYNC.
4540         Reorganize some code paths to implement this behavior.
4541
4542         * tests/check/generic/sinks.c: (send_eos), (GST_START_TEST),
4543         (gst_sinks_suite):
4544         Add unit test to verify above EOS fix.
4545
4546 2007-10-08  Wim Taymans  <wim.taymans@gmail.com>
4547
4548         * plugins/elements/gsttypefindelement.c:
4549         (gst_type_find_element_have_type), (gst_type_find_element_init),
4550         (gst_type_find_element_setcaps), (gst_type_find_element_chain):
4551         Move detecting the input caps of the sinkpad to the setcaps function.
4552         This allows us to update the output caps when we receive new input caps
4553         instead of always using the first detected caps.
4554
4555 2007-10-08  Wim Taymans  <wim.taymans@gmail.com>
4556
4557         * libs/gst/base/gstbasesink.c: (gst_base_sink_event),
4558         (gst_base_sink_get_position):
4559         Don't try to preroll non-async elements after a flush.
4560         Subtract latency form clock times when reporting position.
4561
4562 2007-10-05  Wim Taymans  <wim.taymans@gmail.com>
4563
4564         * gst/gstpad.c: (gst_pad_pause_task):
4565         * gst/gstutils.c:
4566         Small comment and documentation update.
4567
4568 2007-10-05  Wim Taymans  <wim.taymans@gmail.com>
4569
4570         * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
4571         (gst_base_src_set_live), (gst_base_src_is_live),
4572         (gst_base_src_query_latency), (gst_base_src_perform_seek),
4573         (gst_base_src_default_event), (gst_base_src_wait),
4574         (gst_base_src_do_sync), (gst_base_src_get_range),
4575         (gst_base_src_pad_get_range), (gst_base_src_loop),
4576         (gst_base_src_unlock), (gst_base_src_unlock_stop),
4577         (gst_base_src_set_flushing), (gst_base_src_set_playing),
4578         (gst_base_src_activate_push), (gst_base_src_activate_pull),
4579         (gst_base_src_change_state):
4580         Rework the locking of basesrc in a similar fashion to basesink. We
4581         basically have one lock (LIVE_LOCK) protecting the dataflow. This allows
4582         us to handle live sources and semi live ones much better.
4583         Simplify flushing.
4584         Fix unlocking when seeking, shutting down and pausing in live sources.
4585
4586 2007-10-05  Wim Taymans  <wim.taymans@gmail.com>
4587
4588         * tests/check/pipelines/simple-launch-lines.c: (run_pipeline):
4589         Fix compilation again.
4590
4591 2007-10-03  Stefan Kost  <ensonic@users.sf.net>
4592
4593         * gst/gstelement.c:
4594           Use meaningful categories for the logs to clean the default one.
4595
4596 2007-10-03  Stefan Kost  <ensonic@users.sf.net>
4597
4598         * tests/check/pipelines/cleanup.c:
4599           Print message name and not just number.
4600
4601 2007-10-03  Stefan Kost  <ensonic@users.sf.net>
4602
4603         * docs/design/draft-tagreading.txt:
4604           Add some more thoughts.
4605
4606 2007-10-03  Stefan Kost  <ensonic@users.sf.net>
4607
4608         * tests/check/pipelines/simple-launch-lines.c:
4609           Print message name and not just number.
4610
4611 2007-10-03  Stefan Kost  <ensonic@users.sf.net>
4612
4613         * libs/gst/base/gsttypefindhelper.c:
4614           Speedup typefinding. This is work in progress (see #459862).
4615
4616 2007-10-03  Stefan Kost  <ensonic@users.sf.net>
4617
4618         * gst/gstplugin.c:
4619           Fix docs that mention 'plugin_desc' instead of 'gst_plugin_desc'.
4620           Spotted by Josep Torra Valles <josep@fluendo.com>.
4621
4622 2007-10-03  Tim-Philipp Müller  <tim at centricular dot net>
4623
4624         * gst/gstclock.h:
4625           Fix up broken GST_CLOCK_FLAGS macro and GstClock docs. The flags
4626           field has moved to GstObject.
4627
4628 2007-10-02  Wim Taymans  <wim.taymans@gmail.com>
4629
4630         * libs/gst/base/gstbasesrc.c: (gst_base_src_do_sync),
4631         (gst_base_src_get_range), (gst_base_src_change_state):
4632         Call unlock for live sources so that they can't get stuck in _create and
4633         produce a buffer before they are set back to PLAYING.
4634
4635 2007-10-02  Edward Hervey  <bilboed@bilboed.com>
4636
4637         * plugins/elements/gstqueue.c: (gst_queue_locked_enqueue),
4638         (gst_queue_locked_dequeue):
4639         Comment the segment-related code... in the PROPER function.
4640         See #482147 and my commit from yesterday.
4641
4642 2007-10-01  Wim Taymans  <wim.taymans@gmail.com>
4643
4644         * libs/gst/base/gstbasesrc.c: (gst_base_src_change_state):
4645         Also initialize the counter that calculates the first timestamp on a
4646         buffer correctly for non-live sources.
4647
4648 2007-10-01  Edward Hervey  <bilboed@bilboed.com>
4649
4650         * plugins/elements/gstqueue.c: (gst_queue_locked_dequeue):
4651         Disable code that's breaking the current-time-level reporting.
4652         See #482147
4653
4654 2007-09-30  Sebastian Dröge  <slomo@circular-chaos.org>
4655
4656         * docs/gst/gstreamer-sections.txt:
4657         Add M_PI and IMPORT_SYMBOL to the private part of the GstInfo section
4658         as they shouldn't show up. Fixes the docs build.
4659
4660 2007-09-29  Sebastien Moutte  <sebastien@moutte.net>
4661         
4662         * gst/gstinfo.h:
4663         Add an explicit variable importation needed on VS6 (only for MSC_VER)
4664         Define M_PI which is used in files which are including gstinfo.h. 
4665         VS6 includes doesn't define it.
4666         * win32/common/libgstbase.def:
4667         * win32/common/libgstcontroller.def:
4668         * win32/common/libgstreamer.def:
4669         Add new exported functions and variables.
4670         * win32/vs6/libgstcontroller.dsp:
4671         * win32/vs6/libgstreamer.dsp:
4672         Update the list of files to build.
4673         
4674 2007-09-28  Wim Taymans  <wim.taymans@gmail.com>
4675
4676         Patch by: Felipe Contreras <felipe dot contreras at gmail dot com>
4677
4678         * plugins/elements/gstqueue.c: (update_time_level), (apply_buffer),
4679         (gst_queue_locked_dequeue), (gst_queue_handle_sink_event),
4680         (gst_queue_chain), (gst_queue_loop), (gst_queue_src_activate_push):
4681         Improve debugging. Fixes #480858.
4682
4683 2007-09-28  Wim Taymans  <wim.taymans@gmail.com>
4684
4685         Patch by: Felipe Contreras <felipe dot contreras at gmail dot com>
4686
4687         * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event):
4688         First patch of code cleanups, use the macros and right arguments in the
4689         macros to signal and lock the queue. See #480858.
4690
4691 2007-09-26  Wim Taymans  <wim.taymans@gmail.com>
4692
4693         * gst/gstbus.c: (poll_func):
4694         Improve debugging when dealing with _poll().
4695
4696 2007-09-26  Tim-Philipp Müller  <tim at centricular dot net>
4697
4698         * gst/gstregistryxml.c:
4699           Fix memory leak I introduced a few days ago.
4700
4701 2007-09-26  Michael Smith <msmith@fluendo.com>
4702
4703         * gst/gstbuffer.c: (gst_buffer_finalize):
4704           Make it once again possible to free GstBuffers in the default
4705           build.
4706           The poisoning scribbles on parts of the miniobject we need in
4707           order to free it.
4708           Fixes #480341
4709
4710 2007-09-25  Tim-Philipp Müller  <tim at centricular dot net>
4711
4712         * docs/gst/gstreamer-sections.txt:
4713         * gst/gsttaglist.c:
4714         * gst/gsttaglist.h:
4715         API: add GST_TAG_COMPOSER, fixes #459809.
4716
4717 2007-09-24  Sebastian Dröge  <slomo@circular-chaos.org>
4718
4719         * gst/gstplugin.c:
4720         * gst/gstplugin.h:
4721         Add the 3-clause BSD license and the MIT/X11 license to the license
4722         list. Fixes #479784.
4723
4724 2007-09-24  Tim-Philipp Müller  <tim at centricular dot net>
4725
4726         * docs/faq/getting.xml:
4727           Add Q+A about different GStreamer versions (#364056).
4728
4729 2007-09-24  Wim Taymans  <wim.taymans@gmail.com>
4730
4731         * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency),
4732         (gst_base_sink_event), (gst_base_sink_change_state):
4733         Return correct gboolean from query function.
4734
4735 2007-09-24  Wim Taymans  <wim.taymans@gmail.com>
4736
4737         * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency),
4738         (gst_base_sink_event), (gst_base_sink_query),
4739         (gst_base_sink_change_state):
4740         Simplify latency query.
4741         When not synchronizing, we can report latency without querying the peer
4742         element.
4743
4744 2007-09-24  Wim Taymans  <wim.taymans@gmail.com>
4745
4746         * gst/gstobject.h:
4747         * gst/gstvalue.c:
4748         Fix small typos in the docs.
4749
4750 2007-09-24  Wim Taymans  <wim.taymans@gmail.com>
4751
4752         * docs/design/draft-latency.txt:
4753         * docs/design/draft-push-pull.txt:
4754         * docs/design/draft-tagreading.txt:
4755         * docs/design/part-MT-refcounting.txt:
4756         * docs/design/part-activation.txt:
4757         * docs/design/part-block.txt:
4758         * docs/design/part-element-source.txt:
4759         * docs/design/part-events.txt:
4760         * docs/design/part-gstbin.txt:
4761         * docs/design/part-gstelement.txt:
4762         * docs/design/part-gstobject.txt:
4763         * docs/design/part-gstpipeline.txt:
4764         * docs/design/part-messages.txt:
4765         * docs/design/part-preroll.txt:
4766         * docs/design/part-push-pull.txt:
4767         * docs/design/part-qos.txt:
4768         * docs/design/part-query.txt:
4769         * docs/design/part-scheduling.txt:
4770         * docs/design/part-seeking.txt:
4771         * docs/design/part-segments.txt:
4772         * docs/design/part-states.txt:
4773         Documentation updates and typo fixes.
4774
4775 2007-09-23  Tim-Philipp Müller  <tim at centricular dot net>
4776
4777         * plugins/elements/gstfakesink.c:
4778           Add some debug text to error message to indicate that
4779           we errored out on request.
4780
4781         * tools/gst-launch.c:
4782           When the state change to PLAYING fails, check for an
4783           error message on the bus and print it.
4784
4785 2007-09-22  Thomas Vander Stichele  <thomas at apestaart dot org>
4786
4787         translated by: Jorge González González <aloriel@gmail.com>
4788
4789         * po/LINGUAS:
4790         * po/es.po:
4791           Added Spanish translation.
4792
4793 2007-09-21  Wim Taymans  <wim.taymans@gmail.com>
4794
4795         * plugins/elements/gstqueue.c: (gst_queue_push_one):
4796         Fix printf arguments.
4797
4798 2007-09-20  Stefan Kost  <ensonic@users.sf.net>
4799
4800         * tests/check/generic/states.c:
4801           Improved state change unit test.
4802
4803 2007-09-20  Stefan Kost  <ensonic@users.sf.net>
4804
4805         * gst/gstbin.h:
4806           Move priv to the right place.
4807
4808         * gst/gstsystemclock.c:
4809           Add FIXME: and improve log.
4810
4811         * tests/check/Makefile.am:
4812         * tests/examples/manual/Makefile.am:
4813           Work with all types of registries.
4814
4815 2007-09-19  Wim Taymans  <wim.taymans@gmail.com>
4816
4817         * libs/gst/base/gstbasesrc.c: (gst_base_src_send_event):
4818         Don't unref the event after pushing it. Fixes #478401.
4819
4820 2007-09-19  Stefan Kost  <ensonic@users.sf.net>
4821
4822         * .cvsignore:
4823         * tests/examples/manual/.cvsignore:
4824           Ignore registries in any format.
4825
4826 2007-09-19  Tim-Philipp Müller  <tim at centricular dot net>
4827
4828         * gst/glib-compat-private.h:
4829           Add compatibility macro for g_intern_string() for
4830           GLib-2.8 (any reason we can't just bump the
4831           requirement to at least 2.10?)
4832
4833         * gst/gstpadtemplate.h:
4834         * gst/gstelementfactory.c:
4835         * gst/gstregistryxml.c:
4836         * gst/gstregistrybinary.c:
4837           Make GstStaticPadTemplate's templ_name field a const gchar * and fix
4838           up the internal code accordingly.  This shouldn't be a problem, since
4839           there is no reason external code could ever assume the string in such
4840           a structure is dynamically allocated unless it did that itself;  the
4841           use of g_strdup() is private to element factories.  The new code also
4842           saves some memory by putting pad template name strings into the GLib
4843           quark table instead of allocating them dynamically.
4844           Declaring this field constant fixes warnings with g++-4.2 when using
4845           the GST_STATIC_PAD_TEMPLATE macro in c++ code (#478092).
4846
4847 2007-09-19  Stefan Kost  <ensonic@users.sf.net>
4848
4849         * gst/gstelementfactory.c:
4850           Release static caps. Fixes #475723.
4851
4852 2007-09-18  Tim-Philipp Müller  <tim at centricular dot net>
4853
4854         * gst/gstinfo.c:
4855         * gst/gstinfo.h:
4856           Make some internal API take const gchar * instead of just
4857           gchar * to avoid compiler warnings with g++-4.2.2 when
4858           passing string constants (partially fixes #478092).
4859
4860 2007-09-17  Wim Taymans  <wim.taymans@gmail.com>
4861
4862         * gst/gstbin.c: (bin_query_latency_fold), (gst_bin_query):
4863         A latency query fails when one of the sinks fail.
4864
4865         * gst/gstelement.c: (gst_element_set_base_time):
4866         Improve debugging.
4867
4868 2007-09-17  Jan Schmidt - Sun Microsystems <jan.schmidt@sun.com>
4869
4870         * gst/gstbin.c: (gst_bin_continue_func):
4871         * libs/gst/base/gstbasesrc.c: (gst_base_src_do_sync):
4872         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_add_pad_full):
4873         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_loop):
4874
4875         Fix minor compilation warnings shown with Forte.
4876
4877 2007-09-17  Wim Taymans  <wim.taymans@gmail.com>
4878
4879         * plugins/elements/gstqueue.c: (apply_buffer),
4880         (gst_queue_locked_enqueue), (gst_queue_locked_dequeue):
4881         Measure queue level based on the diff between head and tail timestamps
4882         even when pushing the first buffer.
4883
4884 2007-09-14  Wim Taymans  <wim.taymans@gmail.com>
4885
4886         * libs/gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
4887         (gst_base_sink_event), (gst_base_sink_change_state):
4888         Sinks that don't preroll can always be queried for the latency.
4889         Don't post ASYNC start when we are not async.
4890
4891 2007-09-14  Wim Taymans  <wim.taymans@gmail.com>
4892
4893         * plugins/elements/gstqueue.c: (gst_queue_locked_enqueue),
4894         (gst_queue_handle_sink_event), (gst_queue_chain),
4895         (gst_queue_push_one), (gst_queue_handle_src_query),
4896         (gst_queue_sink_activate_push), (gst_queue_src_activate_push):
4897         * plugins/elements/gstqueue.h:
4898         When downstream returns UNEXPECTED from pushing a buffer, don't try to
4899         push more buffers but allow pushing of EOS and NEWSEGMENT.
4900         Add some more debug info here and there. Fixes #476514.
4901
4902 2007-09-14  Wim Taymans  <wim.taymans@gmail.com>
4903
4904         * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
4905         (gst_base_sink_preroll_queue_flush), (gst_base_sink_commit_state),
4906         (gst_base_sink_wait_preroll), (gst_base_sink_needs_preroll),
4907         (gst_base_sink_set_flushing), (gst_base_sink_query),
4908         (gst_base_sink_change_state):
4909         Latency query is allowed after we are prerolled. Introduce a new flag
4910         for this and stop abusing other variables.
4911
4912 2007-09-13  Wim Taymans  <wim.taymans@gmail.com>
4913
4914         * libs/gst/base/gstbasesrc.c: (gst_base_src_send_event):
4915         Push OOB events downstream when we get them in send_event. This allows
4916         the application to insert events in the pipeline.
4917         Add some more comments.
4918
4919 2007-09-13  Wim Taymans  <wim.taymans@gmail.com>
4920
4921         * gst/gstbin.c: (gst_bin_class_init), (clear_queue),
4922         (do_bin_latency), (gst_bin_change_state_func):
4923         * gst/gstpipeline.c: (gst_pipeline_change_state):
4924         Move latency query from GstPipeline to GstBin so that we can also
4925         use it when async-handling is enabled on bins.
4926
4927 2007-09-13  Wim Taymans  <wim.taymans@gmail.com>
4928
4929         * libs/gst/base/gstbasesrc.c: (gst_base_src_query_latency),
4930         (gst_base_src_do_sync), (gst_base_src_change_state):
4931         Update docs.
4932         Clean up the timestamping and syncing code for pseudo live sources.
4933
4934 2007-09-13  Tim-Philipp Müller  <tim at centricular dot net>
4935
4936         Patch by: Steve Fink  <sphink gmail com>
4937
4938         * docs/manual/appendix-checklist.xml:
4939           Mention less -R switch in the section about debug output (#474055).
4940
4941 2007-09-13  Wim Taymans  <wim.taymans@gmail.com>
4942
4943         * plugins/elements/gstqueue.c: (gst_queue_handle_src_query):
4944         Queue can latency to the pipeline up to the configured max size in time.
4945         Report this fact in the latency query.
4946
4947 2007-09-13  Sebastian Dröge  <slomo@circular-chaos.org>
4948
4949         Patch by: Sebastien Moutte <sebastien at moutte dot net>
4950
4951         * libs/gst/controller/gstinterpolation.c:
4952         * libs/gst/controller/gstlfocontrolsource.c:
4953         Use gst_guint64_to_gdouble() when converting from a uint64 or
4954         GstClockTime to double to fix the build on win32. Fixes #474371.
4955
4956 2007-09-13  Sebastian Dröge  <slomo@circular-chaos.org>
4957
4958         * gst/gstbuffer.c: (gst_buffer_finalize):
4959         Implement poisoning for GstBuffer if --enable-poisoning is specified.
4960         When finalizing a buffer the complete struct is filled with 0xff,
4961         thus making a use of the buffer after the final unref impossible.
4962
4963 2007-09-13  Sebastian Dröge  <slomo@circular-chaos.org>
4964
4965         * tests/check/libs/controller.c: (GST_START_TEST):
4966         Use fail_unless_equals_int(a, b) instead of
4967         fail_unless_equals (a == b) to get better output on failures.
4968
4969 2007-09-12  Tim-Philipp Müller  <tim at centricular dot net>
4970
4971         * tests/check/gst/gsturi.c:
4972           Also check for the other file URI variant on win32.
4973
4974 2007-09-12  Tim-Philipp Müller  <tim at centricular dot net>
4975
4976         * gst/gsturi.c: (gst_uri_get_location):
4977           If there's no hostname, we want to return 'c:/foo/bar.txt'
4978           and not '/c:/foo/bar.txt' on Windows. Fixes #469402.
4979
4980         * tests/check/gst/gsturi.c:
4981           Unit test for the above and a few more things.
4982
4983 2007-09-11  Wim Taymans  <wim.taymans@gmail.com>
4984
4985         * docs/design/part-live-source.txt:
4986         Add docs on how live sources should timestamp.
4987
4988         * libs/gst/base/gstbasesrc.c: (gst_base_src_do_sync):
4989         Add some more debug info.
4990         For subclasses that are live and like to sync, add aditional startup
4991         latency to sync time and timestamps so that we timstamp according to the
4992         design doc.
4993
4994 2007-09-11  Tim-Philipp Müller  <tim at centricular dot net>
4995
4996         * gst/gstbuffer.c:
4997           Also do a g_type_class_ref() for the subbuffer type in
4998           the init function.
4999
5000 2007-09-11  Wim Taymans  <wim.taymans@gmail.com>
5001
5002         * docs/gst/gstreamer-sections.txt:
5003         * gst/gstpad.c: (gst_pad_peer_query):
5004         * gst/gstpad.h:
5005         Add function to perform a query on the peer of a pad.
5006         API: gst_pad_peer_query()
5007
5008 2007-09-11  Stefan Kost  <ensonic@users.sf.net>
5009
5010         * tests/check/gst/gstsystemclock.c:
5011           Cleanup the test a little (use gst-logging and not g_message). Improve
5012           test to check if a wait reached the target.
5013
5014 2007-09-11  Tim-Philipp Müller  <tim at centricular dot net>
5015
5016         * docs/libs/gstreamer-libs-sections.txt:
5017           Add new API to docs and fix the build.
5018
5019 2007-09-10  Wim Taymans  <wim.taymans@gmail.com>
5020
5021         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
5022         (gst_base_src_init), (gst_base_src_set_do_timestamp),
5023         (gst_base_src_get_do_timestamp), (gst_base_src_set_property),
5024         (gst_base_src_get_property), (gst_base_src_do_sync):
5025         * libs/gst/base/gstbasesrc.h:
5026         Add property to make the basesrc timestamp buffers based on the current
5027         running time.
5028         API: GstBaseSrc::do-timestamp
5029         API: gst_base_src_set_do_timestamp()
5030         API: gst_base_src_get_do_timestamp()
5031
5032 2007-09-08  Tim-Philipp Müller  <tim at centricular dot net>
5033
5034         * docs/random/release:
5035           Really make sure translations are up-to-date before
5036           a release (#465010).
5037
5038 2007-09-07  Sebastian Dröge  <slomo@circular-chaos.org>
5039
5040         * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
5041         Always destroy the timer, also in error cases.
5042
5043 2007-09-05  Wim Taymans  <wim.taymans@gmail.com>
5044
5045         * docs/manual/highlevel-xml.xml:
5046         Fix XML example code. Fixes #472714.
5047
5048 2007-09-05  Wim Taymans  <wim.taymans@gmail.com>
5049
5050         * libs/gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
5051         (gst_base_sink_wait_preroll), (gst_base_sink_needs_preroll),
5052         (gst_base_sink_query):
5053         Protect eos and have_preroll with the OBJECT lock so we don't need to
5054         take the PREROLL lock when querying the latency. Fixes #473846.
5055
5056 2007-09-05  Stefan Kost  <ensonic@users.sf.net>
5057
5058         * gst/gstelement.c:
5059           Give some log-messages a category.
5060
5061 2007-09-04  Wim Taymans  <wim.taymans@gmail.com>
5062
5063         * gst/gststructure.c:
5064         (gst_structure_fixate_field_nearest_fraction):
5065         Fix fraction list fixation code. Take the fraction with the smallest
5066         difference with the target instead of the first one in the list.
5067
5068         * tests/check/gst/gststructure.c: (GST_START_TEST),
5069         (gst_structure_suite):
5070         Added test to verify correct fraction list fixation behaviour.
5071
5072 2007-09-02  Tim-Philipp Müller  <tim at centricular dot net>
5073
5074         * win32/common/libgstreamer.def:
5075           Export gst_bus_add_signal_watch too.
5076
5077 2007-08-30  Wim Taymans  <wim.taymans@gmail.com>
5078
5079         * docs/libs/gstreamer-libs-sections.txt:
5080         Add new methods to docs.
5081
5082         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
5083         (gst_base_sink_init), (gst_base_sink_set_ts_offset),
5084         (gst_base_sink_get_ts_offset), (gst_base_sink_set_property),
5085         (gst_base_sink_get_property), (gst_base_sink_wait_clock):
5086         * libs/gst/base/gstbasesink.h:
5087         Add ts-offset property to fine-tune the synchronisation.
5088         API: GstBaseSink::ts-offset property
5089         API: gst_base_sink_set_ts_offset()
5090         API: gst_base_sink_get_ts_offset()
5091
5092 2007-08-29  Wim Taymans  <wim.taymans@gmail.com>
5093
5094         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
5095         (gst_base_sink_init), (gst_base_sink_set_sync),
5096         (gst_base_sink_get_sync), (gst_base_sink_set_max_lateness),
5097         (gst_base_sink_get_max_lateness), (gst_base_sink_set_qos_enabled),
5098         (gst_base_sink_is_qos_enabled), (gst_base_sink_set_async_enabled),
5099         (gst_base_sink_is_async_enabled), (gst_base_sink_set_property),
5100         (gst_base_sink_get_property), (gst_base_sink_change_state):
5101         * libs/gst/base/gstbasesink.h:
5102         Add async property to instruct the sink never to inform the parent about
5103         ASYNC state changes, update docs.
5104         Check argument with g_return_* for the public functions.
5105         API: GstBaseSink::async property
5106         API: gst_base_sink_set_async_enabled()
5107         API: gst_base_sink_is_async_enabled()
5108
5109 2007-08-28  Wim Taymans  <wim.taymans@gmail.com>
5110
5111         * libs/gst/base/gstbasesink.c: (gst_base_sink_loop):
5112         Improve debugging.
5113
5114         * libs/gst/base/gstbasesrc.c: (gst_base_src_query_latency),
5115         (gst_base_src_default_query), (gst_base_src_wait),
5116         (gst_base_src_do_sync), (gst_base_src_change_state):
5117         Rearrange some code so that we can add support for measuring the 
5118         startup latency.
5119
5120 2007-08-27  Stefan Kost  <ensonic@users.sf.net>
5121
5122         * docs/random/ensonic/dynlink.txt:
5123           More thoughs on this.
5124
5125         * plugins/elements/gstcapsfilter.c:
5126           Add bugzilla ticket number to FIXME comment.
5127
5128 2007-08-24  Wim Taymans  <wim.taymans@gmail.com>
5129
5130         * docs/design/part-TODO.txt:
5131         * docs/design/part-block.txt:
5132         Update some docs.
5133
5134 2007-08-24  Jan Schmidt  <thaytan@mad.scientist.com>
5135
5136         * gst/Makefile.am:
5137           Revert patch which uses $(gst_headers) instead of $^ because it
5138           breaks make dist.
5139
5140 2007-08-24  Jan Schmidt  <thaytan@mad.scientist.com>
5141
5142         * tests/check/gst/gstbin.c: (GST_START_TEST):
5143           Fix leaks in the new unit test.
5144
5145 2007-08-23  Tim-Philipp Müller  <tim at centricular dot net>
5146
5147         * gst/gst.c:
5148           Don't use GST_INFO before the debug system is actually initialised
5149           (shouldn't do any harm, but won't print anything either, so we can
5150           just as well remove it).
5151
5152         * gst/gstinfo.h:
5153           GST_CAT_LEVEL_LOG_valist(), which is our inline helper function for
5154           compilers that don't support variadic macros (such as MSVC), should
5155           check for debug_level <= __gst_debug_min as well, since that's the
5156           function called from all the level-specific GST_CAT_*_LOG_OBJECT()
5157           inline helper functions. Should improve performance a bit, but also
5158           makes sure uses of GST_INFO et.al are ignored if the debugging
5159           system isn't initialised yet (instead of printing an assertion
5160           failure).
5161
5162 2007-08-23  Stefan Kost  <ensonic@users.sf.net>
5163
5164         patch by: David Nečas <yeti@physics.muni.cz>
5165
5166         * gst/Makefile.am:
5167           Replace some non portable makefile constructs.
5168
5169 2007-08-21  Stefan Kost  <ensonic@users.sf.net>
5170
5171         * common/gtk-doc-plugins.mak:
5172           Grrrrr. Don't remove the types file on make clean.
5173
5174 2007-08-20  Wim Taymans  <wim.taymans@gmail.com>
5175
5176         * tools/gst-launch.1.in:
5177         Add colorspace to example pipeline. Fixes #458274.
5178
5179 2007-08-20  Tim-Philipp Müller  <tim at centricular dot net>
5180
5181         * docs/random/release:
5182           The release manager should run 'make download-po' before making a
5183           release to make sure translations are up-to-date.
5184
5185         * po/LINGUAS:
5186         * po/be.po:
5187         * po/pl.po:
5188         * po/rw.po:
5189           Add some new translations.
5190
5191 2007-08-17  Wim Taymans  <wim.taymans@gmail.com>
5192
5193         * tools/gst-launch.c: (event_loop), (main):
5194         Don´t try to do any state management when a live pipeline posts
5195         buffering messages.
5196         Also make the buffering string translatable.
5197
5198 2007-08-16  Wim Taymans  <wim.taymans@gmail.com>
5199
5200         * gst/gstbin.c: (is_eos), (gst_bin_add_func),
5201         (bin_handle_async_start), (gst_bin_handle_message_func):
5202         Improve debugging.
5203         When adding elements, insert messages into the bus of the newly added
5204         element and make sure the element is the source of the message. This
5205         allows the parent bin to intercept the message and do the
5206         right thing. It also avoids us posting ASYNC_START and CLOCK_PROVIDE
5207         messages to the app (which is not allowed).
5208         Update some docs.
5209
5210         * tests/check/gst/gstghostpad.c: (GST_START_TEST):
5211         Fix testsuite so that is does not work around messages that should not
5212         have been posted in the first place.
5213
5214 2007-08-16  Wim Taymans  <wim.taymans@gmail.com>
5215
5216         * gst/gstbin.c: (add_to_queue), (remove_from_queue), (clear_queue),
5217         (update_degree), (gst_bin_sort_iterator_next):
5218         Fix annoying bug in the sorted iterator where a sink that is not really
5219         a sink (when it has downstream links) screwed up the iterator.
5220
5221         * tests/check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
5222         Unit test to verify the fix.
5223
5224 2007-08-16  Wim Taymans  <wim.taymans@gmail.com>
5225
5226         * gst/gstmessage.h:
5227         Add some more docs for the messages.
5228
5229         * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
5230         (gst_base_sink_query):
5231         Add some more debugging.
5232
5233         * tools/gst-launch.c: (event_loop):
5234         When interrupting, don't try to set pipeline to PAUSED twice.
5235
5236 2007-08-14  Wim Taymans  <wim.taymans@gmail.com>
5237
5238         
5239         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_element_set_state),
5240         (bin_handle_async_start), (gst_bin_handle_message_func):
5241         Move ASYNC_START message posting to where it belongs, similar to
5242         async_done. 
5243         Don't post ASYNC_START when we are in error. 
5244         Post ASYNC_START when we added an async element to a bin.
5245
5246 2007-08-14  Julien MOUTTE  <julien@moutte.net>
5247
5248         * gst/gstindex.c: (gst_index_add_association): Fix index entry
5249         generation from vargs. Fixes #466595.
5250
5251 2007-08-14  Wim Taymans  <wim.taymans@gmail.com>
5252
5253         * gst/gstbin.c: (gst_bin_element_set_state):
5254         Always change the state of a NO_PREROLL element even if it has ASYNC
5255         elements inside (in case of a bin).
5256
5257         * tests/check/generic/sinks.c: (GST_START_TEST), (gst_sinks_suite):
5258         Unit test for this case.
5259
5260 2007-08-13  Stefan Kost  <ensonic@users.sf.net>
5261
5262         * libs/gst/check/gstbufferstraw.c:
5263         * libs/gst/check/gstcheck.h:
5264         * libs/gst/controller/gstcontroller.c:
5265         * libs/gst/controller/gstcontrolsource.h:
5266         * libs/gst/controller/gstlfocontrolsource.h:
5267         * plugins/elements/gstcapsfilter.h:
5268         * plugins/elements/gstfdsink.h:
5269         * plugins/elements/gstfdsrc.h:
5270           Add more missing docs.
5271
5272 2007-08-12  Wim Taymans  <wim.taymans@gmail.com>
5273
5274         * gst/gststructure.c:
5275         Add Since tag to docs.
5276
5277 2007-08-12  Wim Taymans  <wim.taymans@gmail.com>
5278
5279         * docs/gst/gstreamer-sections.txt:
5280         * gst/gststructure.c: (gst_structure_get_uint):
5281         * gst/gststructure.h:
5282         Add function to get uint from a structure.
5283         API: gst_structure_get_uint()
5284
5285 2007-08-12  Wim Taymans  <wim.taymans@gmail.com>
5286
5287         * gst/gstcaps.c: (gst_caps_set_simple_valist),
5288         (gst_caps_intersect):
5289         Fix proper check for simple caps.
5290
5291 2007-08-10  Stefan Kost  <ensonic@users.sf.net>
5292
5293         * docs/gst/Makefile.am:
5294         * docs/libs/Makefile.am:
5295           Remove cruft and do some cleanups.
5296
5297         * docs/gst/gstreamer-docs.sgml:
5298         * docs/libs/gstreamer-libs-docs.sgml:
5299           Prepare for comming gtkdoc features (rebase against online docs).
5300
5301 2007-08-10  Michael Smith <msmith@fluendo.com>
5302
5303         * docs/gst/gstreamer-sections.txt:
5304           Add gst_registry_add_path to docs.
5305
5306 2007-08-10  Michael Smith <msmith@fluendo.com>
5307
5308         * gst/gstregistry.h:
5309           Add gst_registry_add_path, which was missing from this header.
5310
5311 2007-08-10  Tim-Philipp Müller  <tim at centricular dot net>
5312
5313         * libs/gst/controller/gstlfocontrolsource.c:
5314           Printf format fix.
5315
5316 2007-08-09  Philippe Kalaf <philippe.kalaf@collabora.co.uk>
5317
5318         * libs/gst/base/gstbasesink.c:
5319           Don't send an async_start message during downwards state change if 
5320           target state is less than READY
5321
5322 2007-08-09  Thomas Vander Stichele  <thomas at apestaart dot org>
5323
5324         translated by: Gabor Kelemen <kelemeng@gnome.hu>
5325
5326         * po/LINGUAS:
5327         * po/hu.po:
5328           Added Hungarian translation.
5329
5330 2007-08-09  Thomas Vander Stichele  <thomas at apestaart dot org>
5331
5332         * po/fi.po:
5333         * po/it.po:
5334         * po/nl.po:
5335         * po/sv.po:
5336         * po/uk.po:
5337           Updated translations.
5338
5339 2007-08-07  Jan Schmidt  <thaytan@mad.scientist.com>
5340
5341         * libs/gst/controller/Makefile.am:
5342         Dist gstlfocontrolsourceprivate.h
5343
5344 2007-08-07  Jan Schmidt  <thaytan@mad.scientist.com>
5345
5346         * docs/libs/gstreamer-libs.types:
5347         Don't register the enum type gst_lfo_waveform_get_type() in the
5348         .types file - only GObject derived types belong.
5349
5350 2007-08-07  Wim Taymans  <wim.taymans@gmail.com>
5351
5352         Patch by: <arenevier at fdn dot fr>
5353
5354         * gst/gstbuffer.h:
5355         Remove comma from last element in enum to avoid compile errors when
5356         using -pendantic. Fixes #464366.
5357
5358 2007-08-07  Wim Taymans  <wim.taymans@gmail.com>
5359
5360         * docs/design/part-TODO.txt:
5361         Add some more TODO items
5362
5363         * gst/gstbin.c: (find_message), (gst_bin_change_state_func):
5364         Improve debugging.
5365
5366         * gst/gstcaps.c: (gst_caps_intersect):
5367         Optimize trivial intersection case between identical caps pointers.
5368
5369         * gst/gstelement.c: (gst_element_continue_state),
5370         (gst_element_set_state_func):
5371         * gst/gstpad.c:
5372         Fix spelling and grammar mistakes.
5373
5374 2007-08-05  Stefan Kost  <ensonic@users.sf.net>
5375
5376         * po/POTFILES.in:
5377         * po/POTFILES.skip:
5378           Update POTFILES. Fixes #461599.
5379
5380 2007-08-03  Sebastian Dröge  <slomo@circular-chaos.org>
5381
5382         * gst/gst.c:
5383         Fix confusing typo in debug output.
5384
5385 2007-08-03  Sebastian Dröge  <slomo@circular-chaos.org>
5386
5387         reviewed by: Stefan Kost <ensonic@users.sf.net>
5388
5389         * libs/gst/controller/Makefile.am:
5390         * libs/gst/controller/gstlfocontrolsource.c: (_calculate_pos),
5391         (gst_lfo_waveform_get_type), (gst_lfo_control_source_reset),
5392         (gst_lfo_control_source_new),
5393         (gst_lfo_control_source_set_waveform),
5394         (gst_lfo_control_source_bind), (gst_lfo_control_source_init),
5395         (gst_lfo_control_source_finalize),
5396         (gst_lfo_control_source_dispose),
5397         (gst_lfo_control_source_set_property),
5398         (gst_lfo_control_source_get_property),
5399         (gst_lfo_control_source_class_init):
5400         * libs/gst/controller/gstlfocontrolsource.h:
5401         * libs/gst/controller/gstlfocontrolsourceprivate.h:
5402         API: Add GstLFOControlSource, a control source that gives values
5403         for specific timestamps based on several periodic waveforms.
5404         Fixes #459717.
5405
5406         * tests/check/libs/controller.c: (GST_START_TEST),
5407         (gst_controller_suite):
5408         * docs/libs/gstreamer-libs-docs.sgml:
5409         * docs/libs/gstreamer-libs-sections.txt:
5410         * docs/libs/gstreamer-libs.types:
5411         Add documentation and unit tests for GstLFOControlSource.
5412
5413 2007-08-03  Jan Schmidt  <thaytan@mad.scientist.com>
5414
5415         * configure.ac:
5416         Back to CVS
5417
5418 === release 0.10.14 ===
5419
5420 2007-08-03  Jan Schmidt <thaytan@mad.scientist.com>
5421
5422         * configure.ac:
5423           releasing 0.10.14, "Breathing Vacuum"
5424
5425 2007-08-02  Tim-Philipp Müller  <tim at centricular dot net>
5426
5427         * gst/gstelement.c: (gst_element_class_set_details_simple):
5428         * gst/gstelement.h:
5429           Make strings passed to gst_element_class_set_details_simple()
5430           constant, as they should be (#462752).
5431
5432 2007-08-02  Wim Taymans  <wim.taymans@gmail.com>
5433
5434         * gst/gstbin.c: (gst_bin_change_state_func),
5435         (bin_handle_async_done), (gst_bin_handle_message_func):
5436         Don't forget about the fact that some element went ASYNC even after a
5437         resync. This makes us post the ASYNC_DONE message correctly.
5438         Fixes #462558.
5439
5440 2007-07-31  Jan Schmidt  <thaytan@mad.scientist.com>
5441
5442         * gst/gstregistry.c: (gst_registry_add_feature):
5443         When replacing an existing feature in the registry, make sure to
5444         continue holding a reference until we've replaced the name string
5445         within our feature hash table. Make sure to use g_hash_table_replace
5446         instead of g_hash_table_insert to ensure the new name string is used
5447         as a key instead of the old one that we're about to free.
5448         Fixes: #462085
5449
5450 2007-07-31  Jan Schmidt  <thaytan@mad.scientist.com>
5451
5452         * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
5453         (gst_plugin_feature_set_name):
5454         Revert patch from #459466 until after the release and we can work
5455         out exactly what the problem is (if any).
5456
5457 2007-07-26  Tim-Philipp Müller  <tim at centricular dot net>
5458
5459         * docs/gst/gstreamer-sections.txt:
5460         * gst/gsttaglist.c:
5461         * gst/gsttaglist.h:
5462           API: add GST_TAG_LICENSE_URI and GST_TAG_COPYRIGHT_URI (#451939).
5463
5464 2007-07-26  Jan Schmidt  <thaytan@mad.scientist.com>
5465
5466         * docs/libs/Makefile.am:
5467         Include our build-prefix libs and includes before the generic ones to
5468         avoid linking against the installed libs when we want the build-tree
5469         ones.
5470
5471 2007-07-26  Tim-Philipp Müller  <tim at centricular dot net>
5472
5473         Patch by: Steve Fink  <sphink gmail com>
5474
5475         * docs/pwg/building-testapp.xml:
5476           Mention that GST_PLUGIN_PATH or --gst-plugin-path might be needed
5477           if people try to build or install the example from the plugin
5478           template against a GStreamer from package using the configure
5479           defaults.
5480
5481 2007-07-25  Tim-Philipp Müller  <tim at centricular dot net>
5482
5483         Patch by: Steve Fink  <sphink gmail com>
5484
5485         * tools/gst-inspect.1.in:
5486           Document --print-all and --print-plugin-auto-install-info command
5487           line options in man page.
5488
5489 2007-07-25  Wim Taymans  <wim.taymans@gmail.com>
5490
5491         * docs/gst/gstreamer-sections.txt:
5492         Add docs for new api function.
5493
5494 2007-07-25  Wim Taymans  <wim.taymans@gmail.com>
5495
5496         * gst/gstelementfactory.c: (gst_element_factory_has_interface):
5497         * gst/gstelementfactory.h:
5498         API: gst_element_factory_has_interface()
5499         Added method to check if an element factory implements a named
5500         interface.
5501
5502 2007-07-25  Stefan Kost  <ensonic@users.sf.net>
5503
5504         * configure.ac:
5505         * docs/gst/gstreamer.types.in:
5506           Another conditional doc check.
5507
5508         * gst/gstmessage.c:
5509         * gst/gstparamspecs.h:
5510         * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
5511         * gst/gstvalue.c:
5512         * gst/gstxml.h:
5513           API-doc fixes.
5514
5515 2007-07-24  Stefan Kost  <ensonic@users.sf.net>
5516
5517         * gst/gstregistrybinary.c: (gst_registry_binary_check_magic),
5518         (gst_registry_binary_load_feature),
5519         (gst_registry_binary_load_plugin),
5520         (gst_registry_binary_read_cache):
5521           Print error just once and with additional info.
5522
5523 2007-07-24  Stefan Kost  <ensonic@users.sf.net>
5524
5525         * libs/gst/base/gsttypefindhelper.c: (helper_find_peek),
5526         (helper_find_suggest), (helper_find_get_length),
5527         (gst_type_find_helper_get_range), (buf_helper_find_suggest),
5528         (gst_type_find_helper_for_buffer):
5529           Cleanup the typefindhelper code and add private doc comments.
5530
5531 2007-07-24  Edward Hervey  <bilboed@bilboed.com>
5532
5533         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
5534         (gst_capsfilter_transform_size), (gst_capsfilter_prepare_buf):
5535         Fix capsfilter for cases where the caps set on capsfilter will provide
5536         additional information.
5537         Fixes #449197
5538
5539 2007-07-24  Stefan Kost  <ensonic@users.sf.net>
5540
5541         * gst/gsttypefindfactory.c:
5542           Fix docs that recommened wrong function to use.
5543
5544 2007-07-23  Stefan Kost  <ensonic@users.sf.net>
5545
5546         * tools/gst-inspect.c: (print_plugin_features):
5547           Also give media-type for typefinders in element output.
5548
5549 2007-07-23  Stefan Kost  <ensonic@users.sf.net>
5550
5551         * gst/gstregistry.c: (gst_registry_init), (gst_registry_finalize),
5552         (gst_registry_remove_features_for_plugin_unlocked),
5553         (gst_registry_add_feature), (gst_registry_remove_feature),
5554         (gst_registry_lookup_feature_locked):
5555         * gst/gstregistry.h:
5556           Speed up gst_registry_lookup_feature_locked() by using a hashmap.
5557           Fixes #459501.
5558
5559 2007-07-23  Stefan Kost  <ensonic@users.sf.net>
5560
5561         * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
5562         (gst_plugin_feature_set_name):
5563           Avoid double memory usage for pluginfeature names. Fixes #459466.
5564
5565 2007-07-22  Tim-Philipp Müller  <tim at centricular dot net>
5566
5567         * gst/gstpad.h:
5568           Small addition to GST_FLOW_IS_FATAL() docs: mention that elements
5569           driving the pipeline may need to explicitly check for NOT_LINKED as
5570           well, since IS_FATAL doesn't cover that.
5571
5572 2007-07-22  Tim-Philipp Müller  <tim at centricular dot net>
5573
5574         * docs/pwg/advanced-types.xml:
5575           Fix typo and duplicate entry in video formats list.
5576
5577 2007-07-22  Sebastian Dröge  <slomo@circular-chaos.org>
5578
5579         * libs/gst/controller/gstinterpolation.c:
5580         Also round to the nearest int when using cubic interpolation.
5581
5582 2007-07-19  Jan Schmidt  <thaytan@noraisin.net>
5583
5584         * libs/gst/controller/gstinterpolation.c:
5585         When linearly interpolating integer types, round to the nearest int
5586         by adding 0.5. Don't do it for float/double types.
5587         Fixes the failing controller test on my machine, which is somehow
5588         rounding differently than on the buildbots.
5589
5590 2007-07-20  Stefan Kost  <ensonic@users.sf.net>
5591
5592         * tools/gst-plot-timeline.py:
5593           Better log parsing (categories can have -). Adjust text vs. lines, so
5594           that they span the same y-range.        
5595
5596 2007-07-20  Stefan Kost  <ensonic@users.sf.net>
5597
5598         * docs/random/ensonic/audiobaseclasses.txt:
5599         * docs/random/ensonic/dynlink.txt:
5600         * docs/random/ensonic/profiling.txt:
5601           Save my thoughts.
5602
5603         * docs/random/moving-plugins:
5604           Add note to use g_assert type macros.
5605
5606 2007-07-20  Stefan Kost  <ensonic@users.sf.net>
5607
5608         * configure.ac:
5609         * libs/gst/check/Makefile.am:
5610           Add libm check as we use in for plugins.
5611
5612 2007-07-18  Jan Schmidt  <thaytan@noraisin.net>
5613
5614         * gst/gstbin.c: (gst_bin_continue_func):
5615         Check that the state_cookie hasn't changed since the continue_func
5616         was scheduled. Avoids problems where the state changes back to
5617         something it shouldn't be because it was changed in the meantime.
5618
5619 2007-07-17  Stefan Kost  <ensonic@users.sf.net>
5620
5621         * gst/gstregistrybinary.c: (gst_registry_binary_save_const_string),
5622         (gst_registry_binary_save_string),
5623         (gst_registry_binary_save_pad_template),
5624         (gst_registry_binary_save_feature),
5625         (gst_registry_binary_save_plugin),
5626         (gst_registry_binary_load_feature),
5627         (gst_registry_binary_load_plugin),
5628         (gst_registry_binary_read_cache):
5629           Fix memory leak. Be less verbose in the log.
5630
5631 2007-07-16  Jan Schmidt  <thaytan@mad.scientist.com>
5632
5633         * tests/check/elements/.cvsignore:
5634         Add file to cvsignore as commanded.
5635
5636 2007-07-16  Jan Schmidt  <thaytan@mad.scientist.com>
5637
5638         * tests/check/elements/multiqueue.c: (mq_dummypad_chain),
5639         (mq_dummypad_event), (run_output_order_test):
5640         Use a GStaticMutex to protect all cases where libcheck
5641         fail_if/fail_unless macros might be called from multiple threads
5642         simultaneously to avoid errors like:
5643           "check_pack.c:107: :-1081725400:Bad message type arg"
5644
5645 2007-07-16  Jan Schmidt  <thaytan@mad.scientist.com>
5646
5647         * tests/check/pipelines/stress.c: (GST_START_TEST):
5648         Make sure we set the pipeline back to the NULL state before
5649         dropping our final reference.
5650
5651 2007-07-16  Jan Schmidt  <thaytan@mad.scientist.com>
5652
5653         * tests/check/elements/tee.c: (GST_START_TEST):
5654         Make the tee stress-test a little less stressful so it doesn't just
5655         time out on slow-machines, and remove a small race when it's starting 
5656         up by adding a get_state() call.
5657
5658 2007-07-16  Stefan Kost  <ensonic@users.sf.net>
5659
5660         * gst/gst.c:
5661           Avoid reading registry twice on startup. Fixes #457322.
5662
5663 2007-07-13  Jan Schmidt  <thaytan@mad.scientist.com>
5664
5665         * pkgconfig/gstreamer-check-uninstalled.pc.in:
5666         * pkgconfig/gstreamer-check.pc.in:
5667         Substitute the CFLAGS for libcheck into our .pc file too so that
5668         dependent modules will pick it up properly if libcheck is installed
5669         into some other prefix.
5670
5671 2007-07-13  Jan Schmidt  <thaytan@mad.scientist.com>
5672
5673         * configure.ac:
5674         Revert the pkg-config check for libcheck, since it pulls in the
5675         wrong non-PIC libcheck.a on Ubuntu and probably Fedora too. We need
5676         a proper solution, either from the check project, or something else.
5677
5678 2007-07-12  Stefan Kost  <ensonic@users.sf.net>
5679
5680         * configure.ac:
5681           Use pkg-config to locate check.
5682
5683 2007-07-10  Stefan Kost  <ensonic@users.sf.net>
5684
5685         * gst/gsttaglist.c:
5686           Fix doc syntax.
5687
5688         * gst/gstutils.c:
5689         * gst/gstutils.h:
5690           Add deprecation guards.
5691
5692         * libs/gst/base/gstcollectpads.h:
5693           Don't document object (this is implicitly private).
5694
5695 2007-07-08  Tim-Philipp Müller  <tim at centricular dot net>
5696
5697         * gst/gststructure.c: (gst_structure_parse_value):
5698           When deserialising foo=bar without a type cast, check if it's a
5699           boolean before falling back to a string type, otherwise things like
5700           audiotestsrc ! audio/x-raw-int,signed=true ! fakesink won't work,
5701           because the filtercaps end up having a signed=(string)true field,
5702           which causes problems later when intersection caps.
5703
5704         * tests/check/gst/gststructure.c: (GST_START_TEST):
5705           Add a unit test for this.
5706
5707 2007-07-06  Sebastian Dröge  <slomo@circular-chaos.org>
5708
5709         Reviewed by: Stefan Kost <ensonic@users.sf.net>
5710
5711         * libs/gst/controller/Makefile.am:
5712         * libs/gst/controller/gstcontroller.c:
5713         (gst_controlled_property_add_interpolation_control_source),
5714         (gst_controlled_property_new), (gst_controlled_property_free),
5715         (gst_controller_find_controlled_property),
5716         (gst_controller_new_valist), (gst_controller_new_list),
5717         (gst_controller_new), (gst_controller_remove_properties_valist),
5718         (gst_controller_remove_properties_list),
5719         (gst_controller_remove_properties),
5720         (gst_controller_set_property_disabled),
5721         (gst_controller_set_disabled), (gst_controller_set_control_source),
5722         (gst_controller_get_control_source), (gst_controller_get),
5723         (gst_controller_sync_values), (gst_controller_get_value_array),
5724         (_gst_controller_dispose), (gst_controller_get_type),
5725         (gst_controlled_property_set_interpolation_mode),
5726         (gst_controller_set), (gst_controller_set_from_list),
5727         (gst_controller_unset), (gst_controller_unset_all),
5728         (gst_controller_get_all), (gst_controller_set_interpolation_mode):
5729         * libs/gst/controller/gstcontroller.h:
5730         * libs/gst/controller/gstcontrollerprivate.h:
5731         * libs/gst/controller/gstcontrolsource.c:
5732         (gst_control_source_class_init), (gst_control_source_init),
5733         (gst_control_source_get_value),
5734         (gst_control_source_get_value_array), (gst_control_source_bind):
5735         * libs/gst/controller/gstcontrolsource.h:
5736         * libs/gst/controller/gsthelper.c: (gst_object_set_control_source),
5737         (gst_object_get_control_source):
5738         * libs/gst/controller/gstinterpolation.c:
5739         (gst_interpolation_control_source_find_control_point_node),
5740         (gst_interpolation_control_source_get_first_value),
5741         (_interpolate_none_get), (interpolate_none_get),
5742         (interpolate_none_get_boolean_value_array),
5743         (interpolate_none_get_enum_value_array),
5744         (interpolate_none_get_string_value_array),
5745         (_interpolate_trigger_get), (interpolate_trigger_get),
5746         (interpolate_trigger_get_boolean_value_array),
5747         (interpolate_trigger_get_enum_value_array),
5748         (interpolate_trigger_get_string_value_array):
5749         * libs/gst/controller/gstinterpolationcontrolsource.c:
5750         (gst_control_point_free), (gst_interpolation_control_source_reset),
5751         (gst_interpolation_control_source_new),
5752         (gst_interpolation_control_source_set_interpolation_mode),
5753         (gst_interpolation_control_source_bind),
5754         (gst_control_point_compare), (gst_control_point_find),
5755         (gst_interpolation_control_source_set_internal),
5756         (gst_interpolation_control_source_set),
5757         (gst_interpolation_control_source_set_from_list),
5758         (gst_interpolation_control_source_unset),
5759         (gst_interpolation_control_source_unset_all),
5760         (gst_interpolation_control_source_get_all),
5761         (gst_interpolation_control_source_get_count),
5762         (gst_interpolation_control_source_init),
5763         (gst_interpolation_control_source_finalize),
5764         (gst_interpolation_control_source_dispose),
5765         (gst_interpolation_control_source_class_init):
5766         * libs/gst/controller/gstinterpolationcontrolsource.h:
5767         * libs/gst/controller/gstinterpolationcontrolsourceprivate.h:
5768         API: Refactor GstController into the core controller which can take
5769         a GstControlSource for providing actual values for timestamps.
5770         Implement a interpolation control source and use this for backward
5771         compatibility, deprecate a bunch of functions that are now handled
5772         by GstControlSource or GstInterpolationControlSource.
5773         Make it possible to disable the controller completely or only for
5774         specific properties. Fixes #450711.
5775         * docs/libs/gstreamer-libs-docs.sgml:
5776         * docs/libs/gstreamer-libs-sections.txt:
5777         * docs/libs/gstreamer-libs.types:
5778         Add new functions and classes to the docs.
5779         * tests/check/libs/controller.c: (GST_START_TEST),
5780         (gst_controller_suite):
5781         * tests/examples/controller/audio-example.c: (main):
5782         Port unit test and example to the new API and add some new
5783         unit tests.
5784
5785 2007-07-05  Wim Taymans  <wim.taymans@gmail.com>
5786
5787         Patch by: Mark Nauwelaerts <manauw at skynet be>
5788
5789         * plugins/elements/gstmultiqueue.c:
5790         (gst_multi_queue_get_internal_links), (apply_buffer),
5791         (single_queue_overrun_cb), (gst_single_queue_new):
5792         Implement non-default GstPadIntLinkFunction for multiqueue pads so that
5793         the pipeline layout can be tracked correctly. Fixes #453732.
5794
5795 2007-07-05  Stefan Kost  <ensonic@users.sf.net>
5796
5797         * docs/gst/Makefile.am:
5798         * docs/libs/Makefile.am:
5799         * docs/plugins/Makefile.am:
5800           Simplify --extra-dir as gtkdoc scans recursively.
5801
5802 2007-07-03  Wim Taymans  <wim.taymans@gmail.com>
5803
5804         * tools/gst-launch.c: (main):
5805         When we got an error, there is no point in waiting for preroll when
5806         shutting down.
5807
5808 2007-07-03  Wim Taymans  <wim.taymans@gmail.com>
5809
5810         * plugins/elements/gsttee.c: (gst_tee_base_init),
5811         (gst_tee_request_new_pad), (gst_tee_release_pad),
5812         (gst_tee_find_buffer_alloc), (gst_tee_buffer_alloc),
5813         (gst_tee_do_push), (clear_pads), (gst_tee_handle_buffer),
5814         (gst_tee_chain):
5815         Be a lot smarter when deciding what srcpad to use for proxying
5816         the buffer_alloc. Also handle pad added/removed when doing so.
5817         Fixes #357959.
5818         Keep track of what pads we already pushed on in case we have pads
5819         added/removed while pushing. Fixes #374639 
5820
5821         * tests/check/Makefile.am:
5822         * tests/check/elements/tee.c: (handoff), (GST_START_TEST),
5823         (tee_suite):
5824         Added unit test for pad resync.
5825
5826 2007-07-01  Thomas Vander Stichele  <thomas at apestaart dot org>
5827
5828         * po/nl.po:
5829         * po/sv.po:
5830           Updated translations.
5831
5832 2007-07-01  Thomas Vander Stichele  <thomas at apestaart dot org>
5833
5834         translation by: Tommi Vainikainen <Tommi.Vainikainen@iki.fi>
5835
5836         * po/LINGUAS:
5837         * po/fi.po:
5838           Added new Finnish translation.
5839
5840 2007-06-28  Wim Taymans  <wim@fluendo.com>
5841
5842         * plugins/elements/gstmultiqueue.c: (apply_buffer),
5843         (single_queue_overrun_cb):
5844         When figuring out when a queue is filled, use our internal time estimate
5845         based on segments, just like check_full does.
5846
5847 2007-06-27  Stefan Kost  <ensonic@users.sf.net>
5848
5849         * gst/gstminiobject.c: (gst_mini_object_get_type):
5850           Remove 3 do-nothing methods.
5851
5852 2007-06-27  Wim Taymans  <wim@fluendo.com>
5853
5854         Patch by: Tim Angus <tim at ngus dot net>
5855
5856         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
5857         (gst_capsfilter_set_property):
5858         Take a reference instead of a copy when setting "caps".
5859         Fix documentation to clarify this behaviour. Fixes #449414.
5860
5861 2007-06-27  Stefan Kost  <ensonic@users.sf.net>
5862
5863         * gst/gstindexfactory.c: (gst_index_factory_get_type):
5864         * gst/gstplugin.c: (gst_plugin_init):
5865         * gst/gstpluginfeature.c: (gst_plugin_feature_init):
5866         * gst/gstquery.c: (gst_query_get_type):
5867         * gst/gstregistry.c: (gst_registry_init):
5868         * gst/gsturi.c: (gst_uri_handler_base_init):
5869           Remove empty instance_init() functions to save relocs and lessen the
5870           noise. Remove some of the function prototypes that are doubled by
5871           G_DEFINE_TYPE.
5872           
5873 2007-06-27  Wim Taymans  <wim@fluendo.com>
5874
5875         Patch by: Étienne Noreau-Hébert <etienne at deepunder dot org>
5876
5877         * gst/gstghostpad.c: (gst_proxy_pad_save_thyself):
5878         Add peer and direction in the XML serialisation of ghostpads.
5879         Fixes #449226.
5880
5881 2007-06-26  Stefan Kost  <ensonic@users.sf.net>
5882
5883         * configure.ac:
5884           Preserve useful information, thanks Tim.
5885
5886 2007-06-26  Jan Schmidt  <thaytan@noraisin.net>
5887
5888         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_init),
5889         (gst_single_queue_flush), (apply_segment), (apply_buffer),
5890         (gst_single_queue_push_one), (gst_multi_queue_loop),
5891         (gst_multi_queue_sink_activate_push), (gst_multi_queue_sink_event),
5892         (gst_multi_queue_src_activate_push), (wake_up_next_non_linked),
5893         (compute_high_id), (gst_single_queue_new):
5894         * plugins/elements/gstmultiqueue.h:
5895         Take the multiqueue lock when updating the fill level so we don't get
5896         confused. 
5897
5898         After applying a buffer or event on the src pad segment, make sure to
5899         call gst_data_queue_limits_changed() to get the data queue to unblock
5900         and check the filled state again.
5901         
5902         Rework the not-linked pad handling so the logic is that not-linked 
5903         pads can push as fast as they like, but only so they never get 
5904         ahead of any linked pads.
5905
5906         * tests/check/elements/multiqueue.c: (mq_sinkpad_to_srcpad),
5907         (mq_dummypad_getcaps), (mq_dummypad_chain), (mq_dummypad_event),
5908         (run_output_order_test), (GST_START_TEST), (multiqueue_suite):
5909
5910         Add a test to check that not-linked pads always stay behind
5911         linked pads.
5912
5913         Fixes: #430682
5914
5915 2007-06-26  Jan Schmidt  <thaytan@mad.scientist.com>
5916
5917         * docs/random/release:
5918           Some updates to the release procedure.
5919
5920 2007-06-26  Stefan Kost  <ensonic@users.sf.net>
5921
5922         * gst/gstelementfactory.c: (__gst_element_details_clear):
5923           Microoptimization that saves stunning 80 bytes.
5924
5925 2007-06-25  Stefan Kost  <ensonic@users.sf.net>
5926
5927         * docs/plugins/gstreamer-plugins.args:
5928         * docs/plugins/inspect/plugin-coreelements.xml:
5929         * docs/plugins/inspect/plugin-coreindexers.xml:
5930           Update docs with caps info.
5931
5932 2007-06-24  Thomas Vander Stichele  <thomas at apestaart dot org>
5933
5934         * po/it.po:
5935           Updated Italian translation.
5936
5937 2007-06-23  Thomas Vander Stichele  <thomas at apestaart dot org>
5938
5939         * ChangeLog:
5940         * po/vi.po:
5941           Update Vietnamese translations.
5942
5943 2007-06-21  Tim-Philipp Müller  <tim at centricular dot net>
5944
5945         * libs/gst/base/gstbasesink.c:
5946           Remove unused signal enum.
5947
5948 2007-06-21  Jan Schmidt  <thaytan@mad.scientist.com>
5949
5950         * docs/gst/gstreamer-sections.txt:
5951         * gst/gstelement.c:
5952         * gst/gstutils.c: (gst_type_register_static_full):
5953         Beef up and include the docs for gst_type_register_static_full and
5954         gst_element_class_set_details_simple and add the API keyword
5955         in the ChangeLog.
5956
5957 2007-06-21  Jan Schmidt  <thaytan@mad.scientist.com>
5958
5959         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_set_property),
5960         (update_time_level), (gst_single_queue_push_one),
5961         (gst_multi_queue_chain), (gst_multi_queue_sink_event),
5962         (single_queue_overrun_cb), (single_queue_underrun_cb),
5963         (single_queue_check_full):
5964         Fix setting max-* properties after adding queues.
5965         Use IS_FILLED for checking visible items.
5966         Signal overrun if multiple queues overrun.
5967         Add extra debug output.
5968         Patch by: Wim Taymans <wim@fluendo.com>
5969
5970 2007-06-21  Stefan Kost  <ensonic@users.sf.net>
5971
5972         * gst/gstelement.c: (gst_element_class_set_details_simple):
5973         * gst/gstelement.h:
5974         * gst/gstutils.c: (gst_type_register_static_full):
5975         * gst/gstutils.h:
5976         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_base_init):
5977         * plugins/elements/gstfakesink.c: (gst_fake_sink_base_init):
5978         * plugins/elements/gstfakesrc.c: (gst_fake_src_base_init):
5979         * plugins/elements/gstfdsink.c: (gst_fd_sink_base_init):
5980         * plugins/elements/gstfdsrc.c: (gst_fd_src_base_init):
5981         * plugins/elements/gstfilesink.c: (gst_file_sink_base_init):
5982         * plugins/elements/gstfilesrc.c: (gst_file_src_base_init):
5983         * plugins/elements/gstidentity.c: (gst_identity_base_init):
5984         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_base_init):
5985         * plugins/elements/gstqueue.c: (gst_queue_base_init),
5986         (apply_buffer), (gst_queue_chain):
5987         * plugins/elements/gsttee.c: (gst_tee_base_init):
5988         * plugins/elements/gsttypefindelement.c:
5989         (gst_type_find_element_base_init),
5990         (gst_type_find_element_class_init):
5991           Saving relocations for GTypeInfo and GstElementDetails. Fixes #437457.
5992           API: add gst_type_register_static_full
5993           API: add gst_element_class_set_details_simple
5994
5995 2007-06-21  Tim-Philipp Müller  <tim at centricular dot net>
5996
5997         * docs/pwg/advanced-types.xml:
5998           Fix typo in iana.org URI.
5999
6000 2007-06-19  Andy Wingo  <wingo@pobox.com>
6001
6002         * tests/check/pipelines/simple-launch-lines.c
6003         (test_state_change_returns): Enable pull-mode tests now that
6004         basesink has been fixed.
6005
6006         * libs/gst/base/gstbasesink.c (gst_base_sink_needs_preroll):
6007         Changed from gst_base_sink_is_prerolled, reversing the sense of
6008         the return value. Returns FALSE also if the sink is in pull mode,
6009         in which case it needs no preroll.
6010         (gst_base_sink_query, gst_base_sink_change_state): Update for
6011         needs_preroll change.
6012         (gst_base_sink_change_state): Add a case for READY_TO_PAUSED after
6013         chaining up, in which we return SUCCESS directly if we activated
6014         in pull mode instead of ASYNC. Involves countering an async_start
6015         message sent before chaining up; not sure if this is correct, in
6016         an ideal world we only send async-start when activating in push
6017         mode.
6018
6019         * tests/check/pipelines/simple-launch-lines.c
6020         (test_state_change_returns): New test, partially disabled until
6021         basesink is fixed.
6022
6023 2007-06-19  Wim Taymans  <wim@fluendo.com>
6024
6025         * plugins/elements/gstmultiqueue.c: (apply_buffer),
6026         (gst_multi_queue_sink_event):
6027         Fix event leak.
6028
6029 2007-06-19  Wim Taymans  <wim@fluendo.com>
6030
6031         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
6032         (gst_bin_change_state_func), (bin_push_state_continue),
6033         (bin_handle_async_start), (bin_handle_async_done),
6034         (gst_bin_handle_message_func):
6035         Move the common code for posting state-change messages into
6036         one function.
6037         Broadcast the state signal after we posted the messages.
6038         Mark the bin as busy when it's doing a state-change.
6039         Make sure async-start/done messages don't interfere with the bin's
6040         state when it's busy.
6041         After the state change, let the bin check which elements completed the
6042         state change while it was busy so that it can update its state.
6043
6044 2007-06-19  Jan Schmidt  <thaytan@mad.scientist.com>
6045
6046         * docs/random/release:
6047         Add a note about updating the doap file to the release checklist
6048
6049 2007-06-18  Wim Taymans  <wim@fluendo.com>
6050
6051         * plugins/elements/gstmultiqueue.c: (apply_buffer),
6052         (gst_single_queue_push_one), (gst_multi_queue_chain),
6053         (gst_multi_queue_sink_event):
6054         Make sure we don't reference the buffer/event after we have given away
6055         ownership in the queue.
6056
6057 2007-06-18  Wim Taymans  <wim@fluendo.com>
6058
6059         * plugins/elements/gstmultiqueue.c: (gst_single_queue_flush),
6060         (gst_multi_queue_chain), (gst_multi_queue_sink_event):
6061         Update queue state _after_ adding the item in the queue because else we
6062         could end up being full without the element added yet.
6063
6064 2007-06-18  Wim Taymans  <wim@fluendo.com>
6065
6066         * gst/gstbin.c: (gst_bin_init), (gst_bin_add_func),
6067         (gst_bin_remove_func), (gst_bin_get_state_func),
6068         (gst_bin_element_set_state), (gst_bin_continue_func),
6069         (bin_push_state_continue), (bin_handle_async_start),
6070         (bin_handle_async_done), (gst_bin_handle_message_func):
6071         * gst/gstbin.h:
6072         Immediatly commit the toplevel bin state when receiving an async-done
6073         message. This enables us to avoid spawning a thread to commit the state
6074         in some common cases and it also avoids some races.
6075         Avoid spawning a state thread when adding/removing async elements to a
6076         toplevel bin. Instead we immediatly update the bin state.
6077         Get rid of iterating all the children when getting the state in the bin
6078         because it is now always up-to-date.
6079         Fix bug where locked elements would always return _SUCCESS even it they
6080         returned NO_PREROLL before being locked.
6081         Fix the order of the state_change, async-start/done messages that was
6082         sometimes incorrect.
6083         Mark the state_dirty field as deprecated, we don't need it anymore as we
6084         are always up-to-date.
6085
6086         * gst/gstelement.c: (gst_element_get_state_func),
6087         (gst_element_continue_state):
6088         Small debug inprovements.
6089         Return the previous element state return when nothing is pending instead
6090         of blindly returning SUCCESS.
6091
6092         * tests/check/generic/sinks.c: (GST_START_TEST), (pad_blocked_cb),
6093         (gst_sinks_suite):
6094         Add a whole bunch of new testcases.
6095
6096 2007-06-17  Thomas Vander Stichele  <thomas at apestaart dot org>
6097
6098         * po/uk.po:
6099         * po/vi.po:
6100           Update translations.
6101
6102 2007-06-15  Jan Schmidt  <thaytan@mad.scientist.com>
6103
6104         * gst/gstpad.c:
6105         Fix typo in the docs.
6106
6107 2007-06-15  Wim Taymans  <wim@fluendo.com>
6108
6109         * docs/libs/gstreamer-libs-sections.txt:
6110         Add docs for new methods.
6111
6112 2007-06-15  Wim Taymans  <wim@fluendo.com>
6113
6114         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_item_destroy),
6115         (gst_multi_queue_item_new):
6116         Don't use GSlice because we don't depend on >= 2.10 yet.
6117
6118 2007-06-15  Wim Taymans  <wim@fluendo.com>
6119
6120         * plugins/elements/gstmultiqueue.c: (gst_single_queue_flush),
6121         (update_time_level), (apply_segment), (apply_buffer),
6122         (gst_single_queue_push_one), (gst_multi_queue_item_new),
6123         (gst_multi_queue_loop), (gst_multi_queue_sink_activate_push),
6124         (gst_multi_queue_sink_event), (single_queue_overrun_cb),
6125         (single_queue_underrun_cb), (single_queue_check_full):
6126         Remove debug printf.
6127
6128 2007-06-15  Wim Taymans  <wim@fluendo.com>
6129
6130         * libs/gst/base/gstdataqueue.c: (gst_data_queue_cleanup),
6131         (gst_data_queue_finalize), (gst_data_queue_locked_is_empty),
6132         (gst_data_queue_set_flushing), (gst_data_queue_push),
6133         (gst_data_queue_pop), (gst_data_queue_drop_head),
6134         (gst_data_queue_limits_changed), (gst_data_queue_get_level):
6135         * libs/gst/base/gstdataqueue.h:
6136         Various cleanups.
6137         Added methods to get the current levels and to inform the queue that the
6138         'full' limits changed.
6139
6140         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_init),
6141         (gst_multi_queue_finalize), (gst_multi_queue_set_property),
6142         (gst_single_queue_flush), (update_time_level), (apply_segment),
6143         (apply_buffer), (gst_single_queue_push_one),
6144         (gst_multi_queue_item_steal_object),
6145         (gst_multi_queue_item_destroy), (gst_multi_queue_item_new),
6146         (gst_multi_queue_loop), (gst_multi_queue_chain),
6147         (gst_multi_queue_sink_activate_push), (gst_multi_queue_sink_event),
6148         (gst_multi_queue_getcaps), (gst_multi_queue_src_activate_push),
6149         (gst_multi_queue_src_query), (single_queue_overrun_cb),
6150         (single_queue_underrun_cb), (single_queue_check_full),
6151         (gst_single_queue_new):
6152         Keep track of time in the queue by measuring the difference between
6153         running_time on input and output. This gives more accurate results and
6154         can compensate for segments correctly.
6155         Make a queue by default only 5 buffers deep. We will now increase the
6156         buffer size depending on the filledness of the other queues.
6157         Factor out commong flush code.
6158         Make sure we don't add additional refcounts to buffers when we can avoid
6159         it.
6160         Propagate GstFlowReturn differently.
6161         Use GSlice for intermediate GstMultiQueueItems.
6162         Keep track of EOS.
6163         Resize queues on over and underruns based on filled level of other
6164         queues.
6165         When checking if the queue is filled, prefer to measure in time if we
6166         can and fall back to bytes when no time is known.
6167
6168         * plugins/elements/gstqueue.c:
6169         Fix return value.
6170
6171 2007-06-15  Wim Taymans  <wim@fluendo.com>
6172
6173         * libs/gst/base/gstbasetransform.c:
6174         (gst_base_transform_sink_event):
6175         Work around the brokenness of the event vmethod in basetransform. Prefer
6176         to return TRUE when the subclass returned FALSE (meaning don't forward
6177         the event). 
6178
6179         * libs/gst/base/gstbasetransform.h:
6180         Clarify the docs.
6181
6182 2007-06-15  Wim Taymans  <wim@fluendo.com>
6183
6184         * gst/gstpad.c: (gst_pad_push_event), (gst_pad_send_event):
6185         * libs/gst/base/gstbasesrc.c: (gst_base_src_query_latency),
6186         (gst_base_src_default_query), (gst_base_src_get_range),
6187         (gst_base_src_start):
6188         * tests/check/pipelines/parse-launch.c: (setup_pipeline):
6189         Improve debugging.
6190
6191 2007-06-15  Stefan Kost  <ensonic@users.sf.net>
6192
6193         * docs/pwg/advanced-types.xml:
6194           Added more formats to caps table.
6195
6196 2007-06-15  Stefan Kost  <ensonic@users.sf.net>
6197
6198         * tools/gst-launch.c: (main):
6199           Remove crufy code. GOption does not need this workaround.
6200
6201 2007-06-14  Stefan Kost  <ensonic@users.sf.net>
6202
6203         * libs/gst/controller/gstcontroller.c:
6204         (gst_controlled_property_set_interpolation_mode):
6205           Fix wrong getter for enums in controller.
6206
6207 2007-06-14  Tim-Philipp Müller  <tim at centricular dot net>
6208
6209         * libs/gst/check/gstcheck.c: (gst_check_init):
6210           Intercept criticals and warnings in the Gst-Phonon log domain, so
6211           ASSERT_CRITICAL() etc. can be used in gst-phonon's unit tests as
6212           well.
6213         
6214 2007-06-14  Edward Hervey  <edward@fluendo.com>
6215
6216         * gst/gstparamspecs.c: (_gst_param_fraction_validate):
6217         Since this file doesn't include "gst.h" it will not go through the
6218         macros that disable GST_LOG if debugging was disabled.
6219
6220 2007-06-14  Tim-Philipp Müller  <tim at centricular dot net>
6221
6222         * libs/gst/check/Makefile.am:
6223         * libs/gst/check/gstcheck.h:
6224         * pkgconfig/gstreamer-check-uninstalled.pc.in:
6225         * pkgconfig/gstreamer-check.pc.in:
6226           Ugly 'fix' for the controller unit test on the p5 bot: in
6227           fail_unless_equals_float() check whether the values are 'almost
6228           equal' by allowing a small absolute error, which should be good
6229           enough for our use cases (normal numbers and values close to 0).
6230           Proper fixage left to floating point arithmetic aficionados.
6231
6232 2007-06-14  Stefan Kost  <ensonic@users.sf.net>
6233
6234         * libs/gst/base/gstbasesink.c: (gst_base_sink_reset_qos),
6235         (gst_base_sink_render_object), (gst_base_sink_get_position):
6236           Add two breaks thats where missing.
6237
6238 2007-06-14  Tim-Philipp Müller  <tim at centricular dot net>
6239
6240         * docs/libs/gstreamer-libs-sections.txt:
6241         * libs/gst/check/gstcheck.h:
6242           API: add fail_unless_equals_float() and assert_equals_float().
6243           Add documentation for some of the macros.
6244
6245         * tests/check/libs/controller.c: (GST_START_TEST):
6246           Use newly-added asserts.
6247
6248 2007-06-14  Stefan Kost  <ensonic@users.sf.net>
6249
6250         * gst/gstpad.c: (gst_pad_alloc_buffer_full), (gst_pad_push):
6251           Show the caps change in the log to help spotting the case of not
6252           exactly matching caps.
6253
6254 2007-06-14  Tim-Philipp Müller  <tim at centricular dot net>
6255
6256         * docs/pwg/building-boiler.xml:
6257           Fix typos, spotted by Thijs Vermeir (#447190).
6258
6259 2007-06-13  Jan Schmidt  <thaytan@mad.scientist.com>
6260
6261         * docs/plugins/tmpl/.cvsignore:
6262         Ignore file to keep the buildbots happy
6263
6264 2007-06-13  Jan Schmidt  <thaytan@mad.scientist.com>
6265
6266         * docs/plugins/Makefile.am:
6267         * docs/plugins/gstreamer-plugins-docs.sgml:
6268         * docs/plugins/gstreamer-plugins-sections.txt:
6269         Pull fdsink into the docs too.
6270
6271 2007-06-11  Sebastian Dröge  <slomo@circular-chaos.org>
6272
6273         * libs/gst/controller/gstinterpolation.c:
6274         Actually use the new functions with min/max checks for the trigger and
6275         none interpolation modes for get() and get_value_array() instead of
6276         just the latter.
6277
6278 2007-06-10  Sebastian Dröge  <slomo@circular-chaos.org>
6279
6280         * libs/gst/controller/gstcontroller.c:
6281         (gst_controlled_property_free):
6282         Unset the minimum and maximum GValues when freeing the corresponding
6283         GstControllerProperty struct.
6284
6285 2007-06-09  Sebastian Dröge  <slomo@circular-chaos.org>
6286
6287         * libs/gst/controller/gstcontroller.c:
6288         (gst_controlled_property_new):
6289         * libs/gst/controller/gstcontrollerprivate.h:
6290         * libs/gst/controller/gstinterpolation.c:
6291         (gst_controlled_property_find_control_point_node),
6292         (interpolate_none_get), (interpolate_none_get_enum_value_array),
6293         (interpolate_none_get_string_value_array),
6294         (interpolate_trigger_get),
6295         (interpolate_trigger_get_enum_value_array),
6296         (interpolate_trigger_get_string_value_array):
6297         Protect against values larger or smaller than the minimum or maximum
6298         allowed value for the property when using values that can be compared.
6299
6300         Optimize trigger interpolator a bit by taking the last requested value
6301         into account instead of always looping through the complete list.
6302
6303         Fix coding style a bit, everywhere else we use "return foo" instead
6304         of "return (foo)".
6305         
6306         * tests/check/libs/controller.c: (GST_START_TEST),
6307         (gst_controller_suite):
6308         Add unit test for the protection against too large or too small
6309         values.
6310
6311 2007-06-08  Sebastian Dröge  <slomo@circular-chaos.org>
6312
6313         * docs/random/slomo/controller.txt:
6314         Add some thoughts about the future of the controller.
6315
6316 2007-06-08  Wim Taymans  <wim@fluendo.com>
6317
6318         * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
6319         Don't overflow in retimestamping code.
6320
6321 2007-06-07  Sebastien Moutte  <sebastien@moutte.net>
6322
6323         * libs/gst/controller/gstinterpolation.c: (DEFINE_CUBIC_GET):
6324         Use gst_util_guint64_to_gdouble for conversions.
6325         * win32/common/libgstreamer.def:
6326         Add new exported functions.
6327
6328 2007-06-07  Tim-Philipp Müller  <tim at centricular dot net>
6329
6330         * gst/gstutils.c:
6331           Small docs addition.
6332
6333 2007-06-07  Stefan Kost  <ensonic@users.sf.net>
6334
6335         * README:
6336           Remove that test line again.
6337
6338 2007-06-07  Stefan Kost  <ensonic@users.sf.net>
6339
6340         * README:
6341           Test commit mail sending.
6342
6343 2007-06-07  Stefan Kost  <ensonic@users.sf.net>
6344
6345         * configure.ac:
6346           Fix typo and test commit mail sending.
6347
6348 2007-06-07  Stefan Kost  <ensonic@users.sf.net>
6349
6350         * tests/examples/controller/audio-example.c:
6351           Improve comment and test commit mail sending.
6352
6353 2007-06-07  Wim Taymans  <wim@fluendo.com>
6354
6355         * gst/gstbin.c: (find_message), (bin_replace_message), (is_eos),
6356         (gst_bin_remove_func), (gst_bin_element_set_state),
6357         (bin_handle_async_start), (bin_handle_async_done),
6358         (gst_bin_handle_message_func):
6359         Add helper function to find messages.
6360         Generate the async-done messages together with the state change
6361         messages.
6362         Small cleanups in handling toplevel bins.
6363
6364 2007-06-06  Tim-Philipp Müller  <tim at centricular dot net>
6365
6366         * libs/gst/base/gstdataqueue.c:
6367         * libs/gst/base/gstdataqueue.h:
6368         * plugins/elements/gstmultiqueue.c: (gst_single_queue_push_one),
6369         (gst_multi_queue_item_new), (gst_multi_queue_chain),
6370         (gst_multi_queue_sink_event):
6371         * tests/check/elements/multiqueue.c: (multiqueue_suite):
6372           Fix multiqueue leaking buffers and events when downstream or the
6373           queue are flushing. Make refcounting assumptions explicit and
6374           document them (shouldn't break existing code that uses it other than
6375           maybe leak miniobjects, but that already happens anyway). Add unit
6376           test for the most common flushing case. Fixes #423700.
6377           
6378 2007-06-06  Sebastian Dröge  <slomo@circular-chaos.org>
6379
6380         * libs/gst/controller/gstcontroller.c:
6381         Clarify docs: The get_all, get_value_array(s) functions
6382         don't modify the GObject properties.
6383
6384 2007-06-06  Sebastian Dröge  <slomo@circular-chaos.org>
6385
6386         * libs/gst/controller/gstcontroller.c:
6387         (gst_controlled_property_set_interpolation_mode),
6388         (gst_controlled_property_prepend_default),
6389         (gst_controlled_property_new), (gst_controller_set_unlocked),
6390         (gst_controller_set), (gst_controller_set_from_list),
6391         (gst_controller_unset), (gst_controller_unset_all):
6392         * libs/gst/controller/gstcontrollerprivate.h:
6393         * libs/gst/controller/gstinterpolation.c:
6394         Factor out the 'set' logic into gst_controller_set_unlocked for the
6395         gst_controller_set and gst_controller_set_from_list functions.
6396
6397         To make life of the interpolators easier always add a control point
6398         at timestamp zero with the default value.
6399
6400         In the linear interpolator make things more obvious by better variable
6401         naming (slope).
6402
6403         Implement cubic interpolation mode (by using a natural cubic spline)
6404         and map the quadratic interpolation mode to this too (as quadratic
6405         doesn't make much sense, see discussion on the list).
6406
6407         * tests/check/libs/controller.c: (GST_START_TEST),
6408         (gst_controller_suite):
6409         Add unit test for the cubic interpolation mode and check everywhere
6410         if the interpolation mode could be set as expected.
6411
6412 2007-06-06  Tim-Philipp Müller  <tim at centricular dot net>
6413
6414         * gst/gstparamspecs.c: (gst_param_spec_fraction_get_type):
6415           Don't use GLib-2.10 functions, we still depend on
6416           GLib-how-old-is-it-again-2.8.
6417
6418 2007-06-06  Tim-Philipp Müller  <tim at centricular dot net>
6419
6420         * docs/gst/gstreamer-sections.txt:
6421         * gst/Makefile.am:
6422         * gst/gst.c:
6423         * gst/gst.h:
6424         * gst/gstparamspecs.c: (_gst_param_fraction_init),
6425         (_gst_param_fraction_set_default), (_gst_param_fraction_validate),
6426         (_gst_param_fraction_values_cmp),
6427         (gst_param_spec_fraction_get_type), (gst_param_spec_fraction):
6428         * gst/gstparamspecs.h:
6429         * gst/gstvalue.c:
6430         * tests/check/Makefile.am:
6431         * tests/check/gst/.cvsignore:
6432         * tests/check/gst/gstparamspecs.c: (gst_dummy_obj_base_init),
6433         (gst_dummy_obj_class_init), (gst_dummy_obj_init),
6434         (gst_dummy_obj_set_property), (gst_dummy_obj_get_property),
6435         (GST_START_TEST), (gst_param_spec_suite):
6436           API: add GstParamSpecFraction, so elements can have fraction
6437           properties without lots of painful string parsing (#444648).
6438
6439 2007-06-05  Wim Taymans  <wim@fluendo.com>
6440
6441         * gst/gstobject.c: (gst_object_class_init):
6442         Fix signal signature.
6443
6444         * gst/gstsegment.c:
6445         Add small clarification in the api docs.
6446
6447         * plugins/elements/gstfilesrc.c: (gst_file_src_set_location):
6448         States are protected with object lock.
6449
6450 2007-06-05  Jan Schmidt  <thaytan@mad.scientist.com>
6451
6452         * AUTHORS:
6453         I should probably be listed as an author by now.
6454
6455         * docs/random/release:
6456         Update the release doc
6457
6458 2007-06-05  Tim-Philipp Müller  <tim at centricular dot net>
6459
6460         * gst/gstvalue.c:
6461           Make docs for gst_value_compare() mention return enums that
6462           actually exist.
6463
6464 2007-06-05  Jan Schmidt  <thaytan@mad.scientist.com>
6465
6466         * configure.ac:
6467           Back to CVS
6468
6469 === release 0.10.13 ===
6470
6471 2007-06-05  Jan Schmidt <thaytan@mad.scientist.com>
6472
6473         * configure.ac:
6474           releasing 0.10.13, "With or without you"
6475
6476 2007-05-25  Wim Taymans  <wim@fluendo.com>
6477
6478         * gst/gstbin.c: (bin_handle_async_done):
6479         Make sure that the child bin stops after completing the async state
6480         change so that the parent can continue the state change to PLAYING.
6481         Fixes #441159.
6482
6483 2007-05-25  Wim Taymans  <wim@fluendo.com>
6484
6485         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
6486         (unref_data), (gst_collect_pads_remove_pad),
6487         (gst_collect_pads_check_pads):
6488         Use additional refcounting to avoid crashes when dynamically adding and
6489         removing pads. Fixes #420206.
6490
6491 2007-05-24  Wim Taymans  <wim@fluendo.com>
6492
6493         * tools/gst-launch.c: (event_loop):
6494         When buffering goes from a two digit to a single digit number, make sure
6495         to remove the old second digit by writing a blank over it.
6496
6497 2007-05-24  Tim-Philipp Müller  <tim at centricular dot net>
6498
6499         * libs/gst/base/gstdataqueue.c:
6500           Eliminate tabs and trailing comma in enum list; fix some typos.
6501
6502 2007-05-24  Wim Taymans  <wim@fluendo.com>
6503
6504         * tests/check/gst/gstbin.c: (GST_START_TEST):
6505         Allow refcount of 3 and 4 because some state thread might still be busy
6506         with it.
6507
6508 2007-05-24  Tim-Philipp Müller  <tim at centricular dot net>
6509
6510         * plugins/elements/Makefile.am:
6511         * plugins/elements/gstmultiqueue.h:
6512         * plugins/elements/gstqueue.h:
6513           These are not installed headers, no need for padding.
6514
6515 2007-05-24  Wim Taymans  <wim@fluendo.com>
6516
6517         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_get_state_func),
6518         (gst_bin_continue_func):
6519         Enable latency for next release.
6520         Restore STATE_LOCK around recalc_state that was left out during the
6521         rewrite and could result in racy behaviour when _get_state and
6522         recalc_state are run concurrently. See #440463.
6523
6524 2007-05-23  Wim Taymans  <wim@fluendo.com>
6525
6526         * tests/check/gst/gstsystemclock.c: (store_callback),
6527         (GST_START_TEST):
6528         Improve test_async_order to also work when both timers are already
6529         expired when we get scheduled to check it.
6530
6531 2007-05-22  Tim-Philipp Müller  <tim at centricular dot net>
6532
6533         * gst/gstbin.c: (gst_bin_init), (gst_bin_dispose),
6534         (gst_bin_set_property), (gst_bin_get_property),
6535         (gst_bin_remove_func), (gst_bin_handle_message_func):
6536         * gst/gstbin.h:
6537           'private' is a c++ keyword, let's not use that in header files,
6538           otherwise c++ compilers will throw a tantrum.
6539
6540 2007-05-22  Tim-Philipp Müller  <tim at centricular dot net>
6541
6542         * plugins/elements/gstelements.c:
6543         * plugins/elements/gstfilesink.c: (gst_file_sink_do_seek),
6544         (gst_file_sink_get_current_offset):
6545         * plugins/indexers/gstindexers.c: (plugin_init):
6546           Use #ifdef for HAVE_XYZ for consistency.
6547
6548         * tests/check/Makefile.am:
6549         * tests/check/elements/.cvsignore:
6550         * tests/check/elements/filesink.c: (setup_filesink),
6551         (cleanup_filesink), (GST_START_TEST), (filesink_suite):
6552           Add some unit tests for filesink.
6553
6554 2007-05-22  Tim-Philipp Müller  <tim at centricular dot net>
6555
6556         Patch by: Mark Nauwelaerts <manauw at skynet be>
6557
6558         * plugins/elements/gstfilesink.c: (gst_file_sink_open_file),
6559         (gst_file_sink_query), (gst_file_sink_do_seek),
6560         (gst_file_sink_get_current_offset), (gst_file_sink_render):
6561         * plugins/elements/gstfilesink.h:
6562           Fix position reporting; rename data_written member to current_pos to
6563           reflect its real meaning (fixes #412648).
6564
6565 2007-05-22  Edward Hervey  <edward@fluendo.com>
6566
6567         * docs/gst/gstreamer-sections.txt:
6568         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
6569         (gst_bin_dispose), (gst_bin_set_property), (gst_bin_get_property),
6570         (gst_bin_remove_func), (gst_bin_handle_message_func):
6571         * gst/gstbin.h:
6572         Add a property for bins that handle the state change of their childs.
6573         Fixes #435880
6574
6575 2007-05-22  Sebastian Dröge  <slomo@circular-chaos.org>
6576
6577         * libs/gst/controller/gstinterpolation.c:
6578         Use an array of the correct type when using _get_value_array with
6579         linear interpolation.
6580
6581 2007-05-22  Stefan Kost  <ensonic@users.sf.net>
6582
6583         * gst/gstelement.c (gst_element_requires_clock,
6584           gst_element_provides_clock, gst_element_request_pad,
6585           gst_element_class_set_details, gst_element_class_set_details_simple,
6586           gst_element_default_send_event, gst_element_abort_state,
6587           gst_element_continue_state, gst_element_set_state,
6588           gst_element_set_state_func, iterator_activate_fold_with_resync):
6589         * gst/gstpad.c (gst_pad_activate_pull, gst_pad_set_getcaps_function,
6590           gst_pad_fixate_caps, gst_pad_configure_sink, gst_pad_configure_src,
6591           gst_pad_query, gst_pad_save_thyself, handle_pad_block, gst_pad_push,
6592           gst_pad_get_range, gst_pad_pull_range):
6593         * gst/gstpad.h (GST_PAD_LINK_SUCCESSFUL, GST_FLOW_CUSTOM_SUCCESS,
6594           GST_FLOW_NOT_SUPPORTED, GST_FLOW_IS_FATAL, GstPadActivateFunction,
6595           GstPadActivateModeFunction, GstPadChainFunction,
6596           GstPadGetCapsFunction, GstPadAcceptCapsFunction,
6597           GstPadFixateCapsFunction, GstPadTemplate):
6598         * gst/gstpipeline.c (gst_pipeline_change_state,
6599           gst_pipeline_set_new_stream_time, gst_pipeline_use_clock,
6600           gst_pipeline_set_clock, gst_pipeline_auto_clock,
6601           gst_pipeline_get_delay):
6602           Whitespace and docs fixes.
6603
6604 2007-05-21  Sebastian Dröge  <slomo@circular-chaos.org>
6605
6606         * libs/gst/controller/gstinterpolation.c:
6607         (interpolate_trigger_get_enum_value_array),
6608         (interpolate_trigger_get_string_value_array):
6609         Add support for retrieving value arrays when using the trigger
6610         interpolation mode. 
6611
6612 2007-05-21  Sebastian Dröge  <slomo@circular-chaos.org>
6613
6614         * libs/gst/controller/gstcontroller.c:
6615         (gst_controller_get_value_array):
6616         * libs/gst/controller/gstcontroller.h:
6617         Clarify the docs of gst_controller_get_value_array(): The array where
6618         the values should be written to must be allocated as there seems to be
6619         no way to get the size of a random GType. This doesn't change any
6620         behaviour. Also fix some typos all over the place and remove an unused,
6621         commented function that is not necessary as g_object_set() could be
6622         used instead.
6623         * tests/check/libs/controller.c: (GST_START_TEST),
6624         (gst_controller_suite):
6625         Add unit test for gst_controller_get_value_array().
6626
6627 2007-05-21  Jan Schmidt  <thaytan@mad.scientist.com>
6628
6629         * tests/check/gst/gstbuffer.c: (GST_START_TEST):
6630
6631         Disable part of the gst_buffer_try_new_and_alloc test, because
6632         it can happily succeed on 64-bit systems where there's more address
6633         space available.
6634
6635 2007-05-21  Sebastian Dröge  <slomo@circular-chaos.org>
6636
6637         * tests/check/gst/gstpad.c: (GST_START_TEST), (gst_pad_suite):
6638         Add unit test for the improved caps checking from bug #421543.
6639
6640 2007-05-21  Wim Taymans  <wim@fluendo.com>
6641
6642         * docs/design/part-synchronisation.txt:
6643         Small addition.
6644
6645         * gst/gstbin.c: (gst_bin_query):
6646         * plugins/elements/gstqueue.c: (apply_segment):
6647         Improve debugging.
6648
6649         * gst/gstmessage.h:
6650         Improve docs.
6651
6652 2007-05-21  Wim Taymans  <wim@fluendo.com>
6653
6654         * gst/gstpad.c: (gst_pad_get_caps_unlocked),
6655         (gst_pad_acceptcaps_default), (gst_pad_configure_sink),
6656         (gst_pad_configure_src):
6657         Added simple version of improved caps checking. It was previously
6658         assumed that a setcaps function would check the validity of the caps but
6659         people prefer us to check caps against the template automatically. 
6660         Fixes #421543.
6661
6662 2007-05-21  Wim Taymans  <wim@fluendo.com>
6663
6664         * libs/gst/base/gstbasetransform.h:
6665         Fix macro for locking/unlocking the transform lock.
6666
6667 2007-05-19  Tim-Philipp Müller  <tim at centricular dot net>
6668
6669         * docs/plugins/tmpl/.cvsignore:
6670           Ignore more.
6671
6672 2007-05-18  Edward Hervey  <edward@fluendo.com>
6673
6674         * plugins/elements/gstqueue.c: (gst_queue_loop):
6675         Hello, I am Mr Taymans' personal debugger. Today I will introduce a fix
6676         for the subtle art of warning a potentially blocking thread that it
6677         should check the source pad return value, and relay the information
6678         upstream.
6679
6680 2007-05-18  Edward Hervey  <edward@fluendo.com>
6681
6682         * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event):
6683         Release the queue lock !
6684
6685 2007-05-17  Sebastian Dröge  <slomo@circular-chaos.org>
6686
6687         * docs/libs/gstreamer-libs-sections.txt:
6688         Add the two new controller functions to the appropiate places.
6689
6690 2007-05-17  Sebastian Dröge  <slomo@circular-chaos.org>
6691
6692         reviewed by: Stefan Kost <ensonic@users.sf.net>
6693
6694         * libs/gst/controller/gstcontroller.c:
6695         (gst_controller_suggest_next_sync), (gst_controller_sync_values),
6696         (_gst_controller_get_property), (_gst_controller_set_property),
6697         (_gst_controller_init), (_gst_controller_class_init):
6698         * libs/gst/controller/gstcontroller.h:
6699         * libs/gst/controller/gsthelper.c: (gst_object_suggest_next_sync),
6700         (gst_object_get_control_rate), (gst_object_set_control_rate):
6701         API: gst_controller_suggest_next_sync(), gst_object_suggest_next_sync()
6702         Add API that provides sync suggestion timestamps for elements that
6703         call gst_object_sync_values() from which those elements can subdivide
6704         their processing loop to get the best results for the controlled
6705         properties. For now it just suggests last_sync + control_rate as
6706         new timestamp but this will be improved in the future.
6707
6708         While doing that change the control-rate property to a GstClockTime
6709         from guint and change it's meaning from samples to nanoseconds as
6710         the GstController doesn't know anything about sampling rate. Strictly
6711         speaking this breaks ABI but as the control-rate property didn't do
6712         anything in the past and as such couldn't be used this should be no
6713         problem.        
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_controller_unset),
6720         (gst_controller_unset_all):
6721         * libs/gst/controller/gstcontrollerprivate.h:
6722         * libs/gst/controller/gstinterpolation.c:
6723         (gst_controlled_property_find_control_point_node):
6724         Save last synced value from the list to continue searching from there
6725         in future syncs. This speeds everything up a bit.
6726         
6727 2007-05-17  Sebastian Dröge  <slomo@circular-chaos.org>
6728
6729         reviewed by: Stefan Kost <ensonic@users.sf.net>
6730
6731         * libs/gst/controller/gstcontroller.c: (gst_control_point_compare),
6732         (gst_control_point_find), (gst_controlled_property_new),
6733         (gst_control_point_free), (gst_controlled_property_free),
6734         (gst_controller_set), (gst_controller_set_from_list),
6735         (gst_controller_unset), (gst_controller_unset_all),
6736         (gst_controller_sync_values):
6737         * libs/gst/controller/gstcontroller.h:
6738         * libs/gst/controller/gstcontrollerprivate.h:
6739         * libs/gst/controller/gstinterpolation.c:
6740         (gst_controlled_property_find_control_point_node),
6741         (interpolate_none_get), (interpolate_trigger_get):
6742         Add a new private GstControlPoint struct which "inherits" from
6743         GstTimedValue to allow different interpolators to store internal
6744         values next to each control point. From the outside everything is
6745         still a GstControlPoint so we don't loose binary compatibility.
6746         Also fixup all the GValue handling to not leak GValues or list nodes.
6747         * tests/check/libs/controller.c: (GST_START_TEST):
6748         Free the list nodes and GValues in the controller_misc test.
6749
6750 2007-05-17  Edward Hervey  <edward@fluendo.com>
6751
6752         * gst/gstsegment.c:
6753         Small doc fix.
6754
6755 2007-05-16  Tim-Philipp Müller  <tim at centricular dot net>
6756
6757         * gst/gstplugin.c: (gst_plugin_load_file):
6758           If we fail to load a plugin because of unresolved symbols or missing
6759           libraries and spew a warning to stderr, we may just as well mention
6760           which plugin it was that failed to load.
6761
6762 2007-05-13  David Schleef  <ds@schleef.org>
6763
6764         * docs/Makefile.am: the gtk-doc makefile snippet correctly
6765           handles the case when ENABLE_GTK_DOC is false, and installs
6766           the prebuilt documentation.  So gtk-doc subdirs are 
6767           unconditionally enabled.  Fixes: #349099.
6768
6769 2007-05-13  David Schleef  <ds@schleef.org>
6770
6771         * gst/gstutils.h: Reword some documentation.
6772
6773 2007-05-12  David Schleef  <ds@schleef.org>
6774
6775         * gst/gstplugin.c: gst_plugin_register_func() doesn't actually
6776           do anything with the passed "module" parameter, so remove it.
6777           Allows removal of additional vestigal code.
6778
6779 2007-05-12  David Schleef  <ds@schleef.org>
6780
6781         * gst/gstplugin.c:
6782           Using sigaction should depend on HAVE_SIGACTION, not HAVE_WIN32.
6783           Switch to using g_stat() because it's more portable.
6784
6785 2007-05-12  David Schleef  <ds@schleef.org>
6786
6787         * gst/gst.c:
6788           Add GST_DISABLE_OPTION_PARSING, in order to disable option
6789           parsing for embedded systems.
6790         * gst/gstelementfactory.c:
6791           Allow gst_element_register() to be called with plugin==NULL.
6792           Did nobody notice that static elements were broken?
6793
6794 2007-05-12  Wim Taymans  <wim@fluendo.com>
6795
6796         * tools/gst-launch.c: (event_loop):
6797         Give more interesting info when buffering starts and stops.
6798         Fix case where buffering starts but we fail to update the buffering flag
6799         because the target state is not PLAYING.
6800
6801 2007-05-12  Wim Taymans  <wim@fluendo.com>
6802
6803         * plugins/elements/gstqueue.c: (gst_queue_init),
6804         (gst_queue_finalize), (update_time_level), (apply_segment),
6805         (apply_buffer), (gst_queue_locked_flush),
6806         (gst_queue_locked_enqueue), (gst_queue_locked_dequeue),
6807         (gst_queue_handle_sink_event), (gst_queue_chain),
6808         (gst_queue_push_one), (gst_queue_loop):
6809         * plugins/elements/gstqueue.h:
6810         Refactor an cleanup queue a bit.
6811         Do better time level calculations that also work when the srcpad is not
6812         yet running.
6813         Remove some unneeded debug lines.
6814
6815         * tests/check/elements/queue.c: (GST_START_TEST), (queue_suite):
6816         Added testcase for time level measurement.
6817         Try to make some stuff more racefree.
6818
6819 2007-05-11  Tim-Philipp Müller  <tim at centricular dot net>
6820
6821         * gst/gsturi.c: (gst_element_make_from_uri):
6822           Don't leak plugin feature.
6823
6824         * tests/check/Makefile.am:
6825         * tests/check/gst/.cvsignore:
6826         * tests/check/gst/gsturi.c: (GST_START_TEST), (gst_uri_suite):
6827           Add brain-dead unit test.
6828
6829 2007-05-11  Tim-Philipp Müller  <tim at centricular dot net>
6830
6831         Patch by: Jeroen Wouters <woutersj at gmail com>
6832
6833         * gst/gsturi.c: (gst_uri_get_protocol), (search_by_entry):
6834           Treat protocol strings in a case-insensitive way (#437563).
6835
6836 2007-05-11  Michael Smith <msmith@fluendo.com>
6837
6838         * gst/gstplugin.c: (gst_plugin_load_file):
6839         * gst/gstregistry.c: (gst_registry_scan_path_level):
6840           Don't print a g_warning for any failure to load a shared object.
6841           Instead, push this down into gstplugin.c, and warn _only_ if we
6842           failed to open the module (i.e. failure to link).
6843           Avoids warnings on normal, working, non-plugin .so files.
6844
6845 2007-05-11  Stefan Kost  <ensonic@users.sf.net>
6846
6847         * gst/gstplugin.c (gst_plugin_load_file):
6848         * gst/gstregistry.c (GST_CAT_DEFAULT,
6849           gst_registry_lookup_feature_locked, gst_registry_scan_path_level):
6850           Print a g_warning if there was an error when loading a plugins during
6851           registry scan. The shuld help beginners starting with gst-plugin
6852           template.
6853
6854 2007-05-10  Wim Taymans  <wim@fluendo.com>
6855
6856         * plugins/elements/gstqueue.c: (gst_queue_class_init),
6857         (update_time_level), (gst_queue_locked_flush),
6858         (gst_queue_handle_sink_event), (gst_queue_chain),
6859         (gst_queue_push_one), (gst_queue_loop):
6860         * plugins/elements/gstqueue.h:
6861         Be smarter when calculating the current amount of data in the queue by
6862         measuring the difference between start and end timestamps (in running
6863         time) inside the queue. Fixes #432876.
6864         API: GstQueue::pushing to notify elements that we are pushing data again
6865         since the running signal is rather broken for this purpose.
6866
6867 2007-05-10  Stefan Kost  <ensonic@users.sf.net>
6868
6869         * plugins/elements/gstqueue.c (_do_init, gst_queue_signals,
6870           gst_queue_base_init, gst_queue_init):
6871           use GST_BOILERPLATE
6872
6873 2007-05-09  Sebastien Moutte  <sebastien@moutte.net>
6874
6875         * win32/common/libgstreamer.def:
6876         Add new exported functions.
6877         * win32/vs6/grammar.dsp:
6878         Use grammar pre-generated files.
6879
6880 2007-05-09  Tim-Philipp Müller  <tim at centricular dot net>
6881
6882         Based on patch by: Peter Kjellerstedt  <pkj at axis com>
6883
6884         * gst/Makefile.am:
6885         * gst/gstparse.c: (gst_parse_launchv), (gst_parse_launch):
6886         * gst/gstparse.h:
6887         * gst/gstutils.c: (gst_parse_bin_from_description):
6888         * gst/gstutils.h:
6889           Maintain API and ABI when --disable-parse is used. Now that
6890           we have an appropriate error code, we can just return NULL and the
6891           appropriate error when gst_parse_launch() is used despite it having
6892           been disabled (#342564).
6893
6894         * tests/check/Makefile.am:
6895         * tests/check/pipelines/.cvsignore:
6896         * tests/check/pipelines/parse-disabled.c:
6897           Make sure these functions exist and return NULL plus a GError when
6898           --disable-parse is used.
6899
6900 2007-05-09  Tim-Philipp Müller  <tim at centricular dot net>
6901
6902         * tests/benchmarks/complexity.c: (main):
6903         * tests/benchmarks/mass-elements.c: (main):
6904           Set a good example and don't leak messages.
6905
6906 2007-05-06  Stefan Kost  <ensonic@users.sf.net>
6907
6908         * docs/gst/Makefile.am:
6909         * docs/libs/Makefile.am:
6910           Correct fixxrefs options.
6911
6912         * docs/plugins/Makefile.am:
6913         * docs/plugins/gstreamer-plugins-docs.sgml:
6914         * docs/plugins/gstreamer-plugins-sections.txt:
6915         * plugins/elements/Makefile.am:
6916         * plugins/elements/gstcapsfilter.c (gst_capsfilter_details):
6917         * plugins/elements/gstcapsfilter.h (__GST_CAPSFILTER_H__,
6918           GST_TYPE_CAPSFILTER, GST_CAPSFILTER, GST_CAPSFILTER_CLASS,
6919           GST_IS_CAPSFILTER, GST_IS_CAPSFILTER_CLASS, GstCapsFilter,
6920           GstCapsFilterClass, _GstCapsFilter, trans, filter_caps,
6921           _GstCapsFilterClass, trans_class):
6922         * plugins/elements/gstelements.c (name, rank, type, _elements):
6923         * plugins/elements/gstidentity.c
6924           (gst_identity_check_imperfect_timestamp,
6925           gst_identity_check_imperfect_offset):
6926           Document capsfilter and add doc-blurb to identity.
6927
6928 2007-05-04  Tim-Philipp Müller  <tim at centricular dot net>
6929
6930         * libs/gst/controller/gstcontroller.c:
6931         (gst_controlled_property_set_interpolation_mode):
6932         * libs/gst/controller/gstinterpolation.c:
6933           Don't crash if someone tries to set an interpolation mode that
6934           is invalid or that isn't supported yet. Fixes #422295.
6935
6936         * tests/check/libs/controller.c: (GST_START_TEST),
6937         (gst_controller_suite):
6938           Add a test case for the above.
6939
6940 2007-05-03  Edward Hervey  <edward@fluendo.com>
6941
6942         * libs/gst/base/gstbasetransform.c: (gst_base_transform_chain):
6943         Properly set the last_stop position on GstSegment. This will only happen
6944         if there is a buffer to push out.
6945
6946 2007-05-03  Wim Taymans  <wim@fluendo.com>
6947
6948         * libs/gst/base/gstbasetransform.c:
6949         (gst_base_transform_buffer_alloc):
6950         always_in_place does not mean that the sink and source caps are the
6951         same! Make sure we don't blindly proxy the buffer_alloc in this case.
6952
6953 2007-05-03  Wim Taymans  <wim@fluendo.com>
6954
6955         * docs/libs/gstreamer-libs-sections.txt:
6956         * libs/gst/base/gstbasesrc.c: (gst_base_src_query_latency),
6957         (gst_base_src_default_query), (gst_base_src_get_range):
6958         * libs/gst/base/gstbasesrc.h:
6959         API: gst_base_src_query_latency(). Added method so that subclasses can
6960         easily get the latency values of the base source class.
6961
6962 2007-05-02  Zaheer Abbas Merali  <<zaheerabbas at merali dot org>>
6963
6964         * tools/gst-inspect.c (print_implementation_info):
6965         Remove 0.8 cruft.
6966
6967 2007-05-02  Tim-Philipp Müller  <tim at centricular dot net>
6968
6969         * tools/Makefile.am:
6970         * tools/gst-launch.1.in:
6971           Don't create a customised man page based on the host architecture,
6972           describe the default registry path generically. That way the man
6973           page is the same for all architectures and packagers have one
6974           multilib issue less to deal with. Fixes #434926.
6975
6976 2007-05-02  Wim Taymans  <wim@fluendo.com>
6977
6978         * gst/gstpad.c:
6979         Fix documentation as spotted by rg on IRC. 
6980
6981 2007-04-29  Stefan Kost  <ensonic@users.sf.net>
6982
6983         * gst/gstutils.c:
6984           Improve docs for gst_element_{link,unlink}.
6985
6986 2007-04-28  Tim-Philipp Müller  <tim at centricular dot net>
6987
6988         * docs/design/part-events.txt:
6989         * docs/design/part-overview.txt:
6990         * gst/gstevent.c:
6991         * gst/gsturi.c:
6992         * gst/gsturi.h:
6993         * libs/gst/base/gstbasesink.c:
6994           Typo fixes; minor docs addition.
6995
6996 2007-04-27  Sebastian Dröge  <slomo@circular-chaos.org>
6997
6998         * docs/gst/gstreamer-sections.txt:
6999         * gst/gsturi.c: (get_element_factories_from_uri_protocol),
7000         (gst_uri_protocol_is_supported), (gst_element_make_from_uri):
7001         * gst/gsturi.h:
7002         API: Add gst_uri_protocol_is_supported(), which checks if a sink
7003         or src that supports a given URI protocol exists.
7004
7005 2007-04-27  Sebastian Dröge  <slomo@circular-chaos.org>
7006
7007         * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
7008         * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
7009         Set the location to NULL if "file://" is set as URI. Otherwise
7010         some random previous URI would still be set if "file://" is
7011         set on an already used filesink/filesrc.
7012
7013 2007-04-27  Sebastian Dröge  <slomo@circular-chaos.org>
7014
7015         * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
7016         * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
7017         Special case the "file://" URI as as this is used by some
7018         applications to test with gst_element_make_from_uri if there's
7019         an element that supports the URI protocol.
7020         Also move the g_path_is_absolute() check for the location part
7021         of the URI to also check this for "file://localhost/bla" URIs.
7022
7023 2007-04-26  Tim-Philipp Müller  <tim at centricular dot net>
7024
7025         * docs/gst/gstreamer-sections.txt:
7026         * gst/gstbuffer.c: (gst_buffer_try_new_and_alloc):
7027         * gst/gstbuffer.h:
7028         * tests/check/gst/gstbuffer.c: (GST_START_TEST),
7029         (gst_buffer_suite):
7030           API: add gst_buffer_try_new_and_alloc() plus unit test (#431940).
7031
7032 2007-04-26  Stefan Kost  <ensonic@users.sf.net>
7033
7034         * gst/gstregistrybinary.c: (gst_registry_binary_write_cache),
7035         (gst_registry_binary_load_pad_template),
7036         (gst_registry_binary_load_plugin),
7037         (gst_registry_binary_read_cache):
7038         * gst/gstregistrybinary.h:
7039           Implement no-mmap alternative for registry reading. Do code cleanups.
7040           Add more comments about avoiding strdups for all text data. Comments
7041           welcome.
7042
7043 2007-04-25  Stefan Kost  <ensonic@users.sf.net>
7044
7045         * gst/gstregistrybinary.h (GstBinaryPluginElement,
7046           GstBinaryPluginFeature, _GstBinaryElementFactory, plugin_feature,
7047           GstBinaryElementFactory, _GstBinaryTypeFindFactory, plugin_feature):
7048           Comment structs and reformat to fix the build (that stuff should go
7049           into a priv. header).
7050
7051 2007-04-25  Stefan Kost  <ensonic@users.sf.net>
7052
7053         * gst/gstregistrybinary.c: (gst_registry_binary_save_feature),
7054         (gst_registry_binary_load_feature):
7055         * gst/gstregistrybinary.h:
7056           Refactor so that we can implement multiple features. Add support for
7057           TypeFindFactory features.
7058
7059 2007-04-24  Stefan Kost  <ensonic@users.sf.net>
7060
7061         Patch by: Peter Kjellerstedt <Peter.Kjellerstedt@axis.com>
7062
7063         * configure.ac:
7064           Fix AM_CONDITIONAL(GST_DISABLE_GST_DEBUG,...) and update comment.
7065
7066 2007-04-23  Stefan Kost  <ensonic@users.sf.net>
7067
7068         * gst/gstbin.c: (gst_bin_element_set_state),
7069         (iterator_activate_fold_with_resync), (gst_bin_continue_func),
7070         (bin_handle_async_done), (gst_bin_handle_message_func):
7071           Fix build with --gst-disable-gst-debug
7072
7073 2007-04-21  Tim-Philipp Müller  <tim at centricular dot net>
7074
7075         * libs/gst/base/gstbasetransform.c: (gst_base_transform_activate):
7076           Make sure streaming has finished before calling the ::stop() vfunc,
7077           since that vfunc might clear state which is being used in the
7078           streaming thread. This fixes a race that caused crashes in
7079           audioresample when shutting down a pipeline (#420106).
7080
7081 2007-04-20  Stefan Kost  <ensonic@users.sf.net>
7082
7083         * docs/gst/gstreamer-sections.txt:
7084           That was one byte missing.
7085
7086 2007-04-20  Stefan Kost  <ensonic@users.sf.net>
7087
7088         * configure.ac:
7089         * docs/gst/gstreamer-sections.txt:
7090         * gst/Makefile.am:
7091         * gst/gstconfig.h.in:
7092         * gst/gstobject.c: (gst_object_class_init),
7093         (gst_signal_object_class_init):
7094         * gst/gstobject.h:
7095           2nd attempt to have a xml-less build as a joined effort of #413123
7096           and #421480.
7097
7098 2007-04-20  Stefan Kost  <ensonic@users.sf.net>
7099
7100         * docs/design/draft-tagreading.txt:
7101           Added open issues/thoughts to draft.
7102
7103 2007-04-19  Sebastian Dröge  <slomo@circular-chaos.org>
7104
7105         * gst/parse/grammar.tab.pre.c:
7106         * gst/parse/grammar.tab.pre.h:
7107         * gst/parse/lex._gst_parse_yy.pre.c:
7108         Update the prebuild parser sources.
7109
7110 2007-04-19  Sebastian Dröge  <slomo@circular-chaos.org>
7111
7112         * gst/parse/Makefile.am:
7113         And now fix the building of the flex sources. Now everything should
7114         work as expected.
7115
7116 2007-04-19  Sebastian Dröge  <slomo@circular-chaos.org>
7117
7118         * gst/parse/Makefile.am:
7119         Now hopefully fix the build failures by setting proper rule
7120         dependencies and moving instead of copying.
7121
7122 2007-04-19  Stefan Kost  <ensonic@users.sf.net>
7123
7124         * tests/benchmarks/complexity.gnuplot:
7125         * tests/benchmarks/complexity.scm:
7126         * tests/benchmarks/mass-elements.gnuplot:
7127         * tests/benchmarks/mass-elements.scm:
7128           Total licensification.
7129
7130 2007-04-19  Stefan Kost  <ensonic@users.sf.net>
7131
7132         * gst/parse/Makefile.am:
7133           Fix the build by correcting the rule that gave wrong files to flex.
7134
7135 2007-04-19  Stefan Kost  <ensonic@users.sf.net>
7136
7137         * tests/benchmarks/complexity.c:
7138         * tests/benchmarks/mass-elements.c:
7139           Change licence to LGPL as granted by Benjamin and Andy.
7140
7141 2007-04-19  Sebastian Dröge  <slomo@circular-chaos.org>
7142
7143         * gst/parse/Makefile.am:
7144         Add correct grammar.tab.h dependency if compiling without new enough
7145         flex. Fixes #431150.
7146
7147 2007-04-18  Sebastian Dröge  <slomo@circular-chaos.org>
7148
7149         * gst/parse/Makefile.am:
7150         Fix typo and use outdated sources if the flex/bison sources are newer
7151         than the pregenerated ones but flex is too old. Print a warning in
7152         that case. This should fix the build on the build bot.
7153
7154 2007-04-18  Sebastian Dröge  <slomo@circular-chaos.org>
7155
7156         Patch by: Marc-Andre Lureau <marcandre dot lureau at gmail dot com>
7157         * gst/parse/Makefile.am:
7158         * gst/parse/grammar.y:
7159         * gst/parse/parse.l:
7160         Make the parser reentrant and recursively callable. This requires flex
7161         >= 2.5.31, for older versions pregenerated sources are used as we
7162         can't bump the build dependency. Finally fixes #349180.
7163
7164         * gst/gstparse.c: (gst_parse_launch):
7165         Drop the HAVE_MT_SAVE_FLEX #ifdefs as we always use a new enough flex
7166         now anyway.
7167
7168         * docs/gst/Makefile.am:
7169         * docs/gst/Makefile.am:
7170         * gst/parse/grammar.tab.pre.c: (__gst_parse_strdup),
7171         (__gst_parse_strfree), (__gst_parse_link_new),
7172         (__gst_parse_link_free), (__gst_parse_chain_new),
7173         (__gst_parse_chain_free), (SET_ERROR), (YYPRINTF),
7174         (gst_parse_element_set), (gst_parse_free_link),
7175         (gst_parse_found_pad), (gst_parse_perform_delayed_link),
7176         (gst_parse_perform_link), (yytnamerr), (yysyntax_error), (yyerror),
7177         (_gst_parse_launch):
7178         * gst/parse/grammar.tab.pre.h:
7179         * gst/parse/lex._gst_parse_yy.pre.c: (PRINT), (yy_get_next_buffer),
7180         (yy_get_previous_state), (yy_try_NUL_trans), (input),
7181         (_gst_parse_yyrestart), (_gst_parse_yy_switch_to_buffer),
7182         (_gst_parse_yy_load_buffer_state), (_gst_parse_yy_create_buffer),
7183         (_gst_parse_yy_delete_buffer), (_gst_parse_yy_init_buffer),
7184         (_gst_parse_yy_flush_buffer), (_gst_parse_yypush_buffer_state),
7185         (_gst_parse_yypop_buffer_state),
7186         (_gst_parse_yyensure_buffer_stack), (_gst_parse_yy_scan_buffer),
7187         (_gst_parse_yy_scan_string), (_gst_parse_yy_scan_bytes),
7188         (yy_fatal_error), (_gst_parse_yyget_extra),
7189         (_gst_parse_yyget_lineno), (_gst_parse_yyget_column),
7190         (_gst_parse_yyget_in), (_gst_parse_yyget_out),
7191         (_gst_parse_yyget_leng), (_gst_parse_yyget_text),
7192         (_gst_parse_yyset_extra), (_gst_parse_yyset_lineno),
7193         (_gst_parse_yyset_column), (_gst_parse_yyset_in),
7194         (_gst_parse_yyset_out), (_gst_parse_yyget_debug),
7195         (_gst_parse_yyset_debug), (_gst_parse_yyget_lval),
7196         (_gst_parse_yyset_lval), (_gst_parse_yylex_init),
7197         (yy_init_globals), (_gst_parse_yylex_destroy), (yy_flex_strncpy),
7198         (yy_flex_strlen), (_gst_parse_yyalloc), (_gst_parse_yyrealloc),
7199         (_gst_parse_yyfree):
7200         If the installed flex version is too old use pre-generated parser
7201         sources. These pre-generated parser sources are always updated when
7202         the actual flex/bison sources change but require everybody who wants
7203         to change something in the parser to have flex >= 2.5.31 installed.
7204
7205 2007-04-18  Stefan Kost  <ensonic@users.sf.net>
7206
7207         * common/m4/gst-gettext.m4:
7208         * gst/gst-i18n-lib.h:
7209           Make --disable-nls to work
7210
7211 2007-04-17  Wim Taymans  <wim@fluendo.com>
7212
7213         * gst/gstconfig.h.in:
7214         Revert previous change that broke the build.
7215
7216 2007-04-17  Stefan Kost  <ensonic@users.sf.net>
7217
7218         * configure.ac:
7219         * gst/Makefile.am:
7220         * gst/gstconfig.h.in:
7221           Drop libxml2 dependency when building with 
7222           --enable-binary-registry --disable-loadsave
7223
7224 2007-04-16  Tim-Philipp Müller  <tim at centricular dot net>
7225
7226         * gst/gstregistrybinary.c: (gst_registry_binary_write_cache),
7227         (gst_registry_binary_read_cache):
7228         * gst/gstregistrybinary.h:
7229           Remove unnecessary <sys/mman.h> include which broke the win32 build
7230           with MingW; move includes from header file to .c file, even if the
7231           header file isn't installed; use g_strerror() where UTF-8 strings
7232           are expected, such as in GST_DEBUG messages.
7233
7234 2007-04-13  Jan Schmidt  <thaytan@mad.scientist.com>
7235
7236         * docs/libs/gstreamer-libs-sections.txt:
7237         Remove bogus addition for API I didn't end up keeping.
7238
7239         * libs/gst/base/gstbasesrc.h:
7240         Mention Since: 0.10.13 in the documentation.
7241
7242         Add the API keyword to the previous ChangeLog entry.
7243
7244 2007-04-13  Jan Schmidt  <thaytan@mad.scientist.com>
7245
7246         * docs/libs/gstreamer-libs-sections.txt:
7247         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
7248         (gst_base_src_default_prepare_seek_segment),
7249         (gst_base_src_prepare_seek_segment), (gst_base_src_perform_seek):
7250         * libs/gst/base/gstbasesrc.h:
7251         Allow basesrc derived classes to execute seeks in other formats
7252         by providing a prepare_seek_segment vmethod. Sub-classes can choose
7253         to prepare the GstSegment in any format that their perform_seek method
7254         will be able to understand. The default implementation provides the
7255         old behaviour of attempting to convert the seek offsets to the 
7256         configured native format.
7257
7258         API: basesrc::prepare_seek_segment vmethod.
7259
7260 2007-04-13  Jan Schmidt  <thaytan@mad.scientist.com>
7261
7262         * gst/gstelement.c: (gst_element_get_state_func):
7263         Don't output the same debug statement twice.
7264
7265         * libs/gst/base/gstadapter.c: (gst_adapter_try_to_merge_up),
7266         (gst_adapter_peek), (gst_adapter_take_buffer):
7267         Optimise the case where we have buffers at the head of the queue that
7268         can be joined quickly (because they're contiguous sub-buffers) by
7269         merging them together rather than copying data out into new memory.
7270
7271         * gst/parse/grammar.y:
7272         * tests/check/pipelines/parse-launch.c:
7273         Fix a leak in an error path for parse_launch, and add a check 
7274         for it to the testsuite.
7275
7276 2007-04-13  Jan Schmidt  <thaytan@mad.scientist.com>
7277
7278         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_release_pad):
7279           Don't deadlock when releasing a pad - gst_pad_set_active may try
7280           and take the multiqueue lock too.
7281
7282 2007-04-12  Tim-Philipp Müller  <tim at centricular dot net>
7283
7284         * gst/gsterror.c: (_gst_core_errors_init):
7285         * gst/gsterror.h:
7286           API: add GST_CORE_ERROR_DISABLED (#392804).
7287
7288 2007-04-12  Thomas Vander Stichele  <thomas at apestaart dot org>
7289
7290         * docs/faq/gst-uninstalled:
7291           don't get empty paths on the PATH variables
7292         * gst/gstpad.c (gst_pad_is_active, gst_pad_set_blocked_async):
7293           Don't format for the uncommon terminal width of 84 characters.
7294
7295 2007-04-06  Wim Taymans  <wim@fluendo.com>
7296
7297         * gst/gstpipeline.c: (reset_stream_time),
7298         (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time):
7299         Only try to select a different pipeline clock when we went back to
7300         PAUSED and not when we merely got flushed.
7301
7302 2007-04-05  Michael Smith  <msmith@fluendo.com>
7303
7304         * tools/gst-launch.1.in:
7305           fractions are better supported in gstreamer than ractions, so
7306           suggest using those.
7307
7308 2007-04-05  Thomas Vander Stichele  <thomas at apestaart dot org>
7309
7310         Submitted by: Mogens Jaeger <mogens@jaeger.tf>
7311
7312         * po/LINGUAS:
7313         * po/da.po:
7314           Added Danish translation.
7315
7316 2007-04-05  Wim Taymans  <wim@fluendo.com>
7317
7318         * libs/gst/base/gstbasesink.c:
7319         (gst_base_sink_queue_object_unlocked), (gst_base_sink_event):
7320         Fix leak caused when refusing newsegment after EOS.
7321
7322         * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init),
7323         (gst_fake_sink_init), (gst_fake_sink_set_property),
7324         (gst_fake_sink_get_property), (gst_fake_sink_preroll),
7325         (gst_fake_sink_render), (gst_fake_sink_change_state):
7326         * plugins/elements/gstfakesink.h:
7327         Add num-buffers property to make the element generate EOS after a
7328         configurable amount of buffers.
7329         API: fakesink::num-buffers property.
7330
7331         * tests/check/elements/fakesink.c: (GST_START_TEST),
7332         (fakesink_suite):
7333         Fix GstBus leak in test.
7334         Test for fakesink num-buffers.
7335
7336 2007-04-05  Wim Taymans  <wim@fluendo.com>
7337
7338         * libs/gst/base/gstbasesink.c:
7339         (gst_base_sink_queue_object_unlocked), (gst_base_sink_event),
7340         (gst_base_sink_change_state):
7341         Don't accept anything after an EOS, return UNEXPECTED instead.
7342
7343         * tests/check/elements/fakesink.c: (GST_START_TEST),
7344         (fakesink_suite):
7345         Unit test for new EOS behaviour.
7346
7347 2007-04-05  Wim Taymans  <wim@fluendo.com>
7348
7349         * gst/gstelement.c: (gst_element_get_request_pad):
7350         Make padtemplates also work when they don't contain %s or %d.
7351
7352 2007-04-05  Wim Taymans  <wim@fluendo.com>
7353
7354         * docs/gst/gstreamer-sections.txt:
7355         * gst/gstclock.c: (gst_clock_adjust_unlocked),
7356         (gst_clock_unadjust_unlocked), (gst_clock_set_calibration):
7357         * gst/gstclock.h:
7358         Improve _adjust_unlocked() so that it overflows less.
7359         Add gst_clock_unadjust_unlocked to convert from external time to
7360         internal time based on calibration.
7361         Add some more debug.
7362         API: GstClock::gst_clock_unadjust_unlocked()
7363
7364 2007-04-03  Wim Taymans  <wim@fluendo.com>
7365
7366         Patch by: Tommi Myöhänen <ext-tommi dot myohanen at nokia dot com>
7367
7368         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_release_pad):
7369         Deactivate pads and free GstSingleQueue with gst_single_queue_free()
7370         when releasing sink pad. Fixes #425400.
7371
7372 2007-04-02  Stefan Kost  <ensonic@users.sf.net>
7373
7374         * docs/random/ensonic/dynlink.txt:
7375           More work on proposal for new core api.
7376
7377         * docs/libs/gstreamer-libs-sections.txt:
7378         * libs/gst/base/gstbasetransform.h:
7379           API: GST_BASE_TRANSFORM_LOCK/UNLOCK added
7380           
7381         * libs/gst/controller/gstcontroller.c:
7382         (on_object_controlled_property_changed),
7383         (gst_controller_sync_values),
7384         (gst_controller_set_interpolation_mode):
7385         * libs/gst/controller/gstcontroller.h:
7386           Less verbose logging add docs for unimplemented parts and correctly
7387           return when using unavailable parts.
7388
7389 2007-03-29  Jan Schmidt  <thaytan@mad.scientist.com>
7390
7391         * gst/gstclock.c: (gst_clock_set_master), (do_linear_regression):
7392         Move all the debug to the CLOCK category, and associate it with
7393         the clock object.
7394
7395 2007-03-29  Jan Schmidt  <thaytan@mad.scientist.com>
7396
7397         * libs/gst/base/gstadapter.c: (gst_adapter_take_buffer):
7398         Make take_buffer a bit quicker by removing redundant checks
7399         caused by calling gst_adapter_take.
7400
7401 2007-03-28  Tim-Philipp Müller  <tim at centricular dot net>
7402
7403         * plugins/elements/gstmultiqueue.c: (gst_single_queue_free):
7404           Don't leak GCond.
7405
7406         * tests/check/Makefile.am:
7407         * tests/check/elements/.cvsignore:
7408         * tests/check/elements/multiqueue.c: (setup_multiqueue),
7409         (GST_START_TEST), (multiqueue_suite):
7410           Add some dead simple unit tests for the 'multiqueue' element
7411           (some bits don't work yet and are disabled for now).
7412
7413 2007-03-28  Tim-Philipp Müller  <tim at centricular dot net>
7414
7415         * gst/gstelement.c: (gst_element_get_request_pad),
7416         (gst_element_class_get_request_pad_template):
7417           Make gst_element_get_request_pad() create request pads only for
7418           request pad templates and not for, say, sometimes pad templates.
7419
7420 2007-03-28  Stefan Kost  <ensonic@users.sf.net>
7421
7422         * docs/design/draft-klass.txt:
7423           Add example that needs more thinking.
7424         
7425         * docs/design/draft-missing-plugins.txt:
7426           More thoughts about wrapper plugins.
7427         
7428         * docs/random/ensonic/embedded.txt:
7429         * docs/random/ensonic/profiling.txt:
7430           More design work.
7431
7432 2007-03-25  Wim Taymans  <wim@fluendo.com>
7433
7434         * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range),
7435         (gst_base_src_loop):
7436         Only push the segment events in the PLAYING state for live sources.
7437
7438 2007-03-23  Jan Schmidt  <thaytan@mad.scientist.com>
7439
7440         * gst/gstpipeline.c: (gst_pipeline_change_state):
7441         Modify the clock distribution path in PAUSED->PLAYING so that we 
7442         never attempt to choose a new clock unless we're actually leaving
7443         the PAUSED state for the first time. This prevents choosing a
7444         different clock when the state_change gets called for a 2nd time due
7445         to some element doing an async state change.
7446
7447 2007-03-22  Sebastian Dröge  <slomo@circular-chaos.org>
7448
7449         * gst/gstpad.c: (gst_pad_set_caps), (gst_pad_configure_sink),
7450         (gst_pad_configure_src), (gst_pad_alloc_buffer_full),
7451         (gst_pad_chain_unchecked), (gst_pad_push):
7452         Revert last commit. This needs some more thoughts.
7453
7454 2007-03-22  Sebastian Dröge  <slomo@circular-chaos.org>
7455
7456         * gst/gstpad.c: (gst_pad_set_caps), (gst_pad_alloc_buffer_full),
7457         (gst_pad_chain_unchecked), (gst_pad_push):
7458         Check in set_caps if the caps are compatible with the pad and remove
7459         two functions that are redundant now. Fixes #421543.
7460
7461 2007-03-22  Wim Taymans  <wim@fluendo.com>
7462
7463         * tests/check/gst/gstsystemclock.c: (GST_START_TEST),
7464         (mixed_thread), (mixed_async_cb), (gst_systemclock_suite):
7465         Unref some more to make valgrind happy.
7466
7467 2007-03-22  Wim Taymans  <wim@fluendo.com>
7468
7469         * gst/gstsystemclock.c: (gst_system_clock_id_wait_jitter_unlocked),
7470         (gst_system_clock_id_wait_jitter),
7471         (gst_system_clock_id_wait_async), (gst_system_clock_id_unschedule):
7472         Fix anoying regression that survived a few releases. When adding an
7473         async entry while blocking on a sync entry, the sync entry will unblock
7474         but still be busy, so it should continue to wait instead of returning
7475         _BUSY to the app.
7476         Add some comments here and there.
7477
7478         * tests/check/gst/gstsystemclock.c: (mixed_thread),
7479         (mixed_async_cb), (GST_START_TEST), (gst_systemclock_suite):
7480         Add testcase for this.
7481
7482 2007-03-22  Wim Taymans  <wim@fluendo.com>
7483
7484         * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range):
7485         Handle errors from the clock sync better, only UNSCHEDULED indicates a
7486         WRONG_STATE and can silently pause the task. All other cases should
7487         error out.
7488
7489 2007-03-22  Wim Taymans  <wim@fluendo.com>
7490
7491         Patch by: Ville Syrjala <syrjala at sci dot fi>
7492
7493         * gst/gstpad.c: (gst_pad_alloc_buffer_full), (gst_pad_send_event):
7494         Fix possible deadlock if pad eventfunc is not specified.  Fixes #421177.
7495         Improve debugging.
7496
7497 2007-03-21  Michael Smith  <msmith@fluendo.com>
7498
7499         * docs/pwg/advanced-types.xml:
7500           Fix some errors in the typefinding docs pointed out on irc.
7501
7502 2007-03-21  Jan Schmidt  <thaytan@mad.scientist.com>
7503
7504         * libs/gst/base/gstbasesrc.c:
7505         Clarify FIXME comment in the face of having added unlock_stop()
7506
7507 2007-03-21  Wim Taymans  <wim@fluendo.com>
7508
7509         * gst/gstbin.c: (gst_bin_get_type), (gst_bin_element_set_state):
7510         Prepare for release where we warn against possible app breakage in the
7511         case of live pipelines along with an env var to enable/disable live
7512         preroll mode (GST_COMPAT=[no-]live-preroll).
7513
7514 2007-03-20  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
7515
7516         * plugins/elements/gstidentity.c (gst_identity_check_imperfect_offset):
7517         So we should use correct constants for checking for None offset.
7518
7519 2007-03-20  Wim Taymans  <wim@fluendo.com>
7520
7521         * docs/design/part-block.txt:
7522         Mention the fact that the newly switched element should be set to at
7523         least PAUSED.
7524
7525 2007-03-20  Wim Taymans  <wim@fluendo.com>
7526
7527         * gst/gst.c:
7528         Fix compilation with registry disabled as spotted by Saur.
7529
7530 2007-03-20  Wim Taymans  <wim@fluendo.com>
7531
7532         Patch by: Olivier Crete <tester at tester dot ca>
7533
7534         * gst/gstelement.c: (gst_element_sync_state_with_parent):
7535         Look at the pending state too when syncing the element state to the
7536         parent. Fixes #420133.
7537
7538 2007-03-19  Jan Schmidt  <thaytan@mad.scientist.com>
7539
7540         * libs/gst/base/gstbasesink.c: (gst_base_sink_set_flushing),
7541         (gst_base_sink_change_state):
7542         * libs/gst/base/gstbasesink.h:
7543         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
7544         (gst_base_src_default_event), (gst_base_src_unlock_stop),
7545         (gst_base_src_deactivate):
7546         * libs/gst/base/gstbasesrc.h:
7547         Add ::unlock_stop to basesrc and basesink. This allows an opportunity
7548         for sub-classes to correctly clear any state they set trying to
7549         unlock, such as clearing out unlock commands from a command fd.
7550         API: basesrc::unlock_stop
7551         API: basesink::unlock_stop
7552
7553         * plugins/elements/gstfdsink.c: (gst_fd_sink_class_init),
7554         (gst_fd_sink_render), (gst_fd_sink_unlock),
7555         (gst_fd_sink_unlock_stop):
7556         * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init),
7557         (gst_fd_src_init), (gst_fd_src_unlock), (gst_fd_src_unlock_stop),
7558         (gst_fd_src_create), (gst_fd_src_get_size), (gst_fd_src_do_seek):
7559
7560         Implement unlock_stop in fdsrc and fdsink.
7561         Implement seeking in fdsrc when a seekable fd is passed, as in
7562         gst-launch-0.10 fdsrc ! ... ! xvimagesink < /path/to/file
7563
7564 2007-03-19  Wim Taymans  <wim@fluendo.com>
7565
7566         Patch by: Evan Nemerson <evan at coeus dash group dot com>
7567
7568         * gst/gstelement.c: (gst_element_class_init):
7569         Fix pad-added and pad-removed signal signatures so that the pad type is
7570         stated as GST_TYPE_PAD instead of G_TYPE_OBJECT. Fixes #419851.
7571
7572 2007-03-19  Wim Taymans  <wim@fluendo.com>
7573
7574         * docs/gst/gstreamer-sections.txt:
7575         Add new element field and method.
7576
7577         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
7578         (bin_remove_messages), (gst_bin_add_func), (gst_bin_remove_func),
7579         (gst_bin_recalc_state), (gst_bin_get_state_func),
7580         (gst_bin_element_set_state), (gst_bin_change_state_func),
7581         (gst_bin_continue_func), (bin_bus_handler),
7582         (bin_push_state_continue), (bin_handle_async_start),
7583         (bin_handle_async_done), (gst_bin_handle_message_func):
7584         Make async state changes a bit smarter by using new ASYNC_START and
7585         ASYNC_DONE messages. This reduces the number of times we run the state
7586         recalculation thread.
7587         Don't change state of element with a pending ASYNC_START message.
7588         Deprecate STATE_DIRTY messages.
7589         
7590         * gst/gstelement.c: (gst_element_init), (gst_element_send_event),
7591         (gst_element_get_state_func), (gst_element_continue_state),
7592         (gst_element_lost_state), (gst_element_set_state_func),
7593         (gst_element_change_state):
7594         * gst/gstelement.h:
7595         Keep the state that was last set by the app in a new element field.
7596         Don't allow state changes when handling an element event.
7597         Post ASYNC_START and ASYNC_DONE messages.
7598         Change lost_state so that we go to PAUSED and wait for the parent to set
7599         us to PLAYING again (so latency calculation can be performed)
7600         Export gst_element_change_state() method so that subclasses can use it.
7601         API: gst_element_change_state()
7602         API: GST_STATE_TARGET
7603
7604         * gst/gstpipeline.c: (gst_pipeline_class_init),
7605         (reset_stream_time), (gst_pipeline_change_state),
7606         (gst_pipeline_handle_message), (gst_pipeline_set_new_stream_time):
7607         Using the new ASYNC_START message we can reset the base_time when
7608         needed. This can then be used to implement base_time redistribution in
7609         flushing seeks so that we can remove the explicit seek handling.
7610         Perform latency query and configuration when going to PLAYING.
7611
7612         * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
7613         (gst_base_sink_query), (gst_base_sink_change_state):
7614         Post new ASYNC_START/ASYNC_DONE messages.
7615
7616         * tests/check/generic/sinks.c: (GST_START_TEST):
7617         Fix test because the bin will not set the async element to PLAYING right
7618         away.
7619
7620         * tests/check/gst/gstbin.c: (pop_async_done), (GST_START_TEST):
7621         Make the message check a little stronger.
7622         Handle ASYNC messages.
7623
7624         * tests/check/pipelines/cleanup.c: (GST_START_TEST):
7625         * tests/check/pipelines/simple-launch-lines.c: (GST_START_TEST):
7626         Expect ASYNC_DONE messages.
7627
7628 2007-03-19  Wim Taymans  <wim@fluendo.com>
7629
7630         * docs/gst/gstreamer-sections.txt:
7631         * gst/gstmessage.c: (gst_message_new_async_start),
7632         (gst_message_new_async_done), (gst_message_parse_info),
7633         (gst_message_parse_async_start):
7634         * gst/gstmessage.h:
7635         Add ASYNC_START and ASYNC_DONE messages to prepare for latency
7636         support.
7637
7638 2007-03-15  Tim-Philipp Müller  <tim at centricular dot net>
7639
7640         * tools/gst-inspect.c:
7641         (print_plugin_automatic_install_info_codecs):
7642           Now that we don't check for the 'Codec' keyword any longer in the
7643           klass, we shouldn't spew a warning if the klass isn't a decoder or
7644           encoder (since it might be a Source/Network, for example).
7645
7646 2007-03-14  Tim-Philipp Müller  <tim at centricular dot net>
7647
7648         * tools/gst-inspect.c:
7649         (print_plugin_automatic_install_info_codecs):
7650           Don't require decoder/demuxer/depayloader elements or
7651           encoder/muxer/paylader elements to have 'Codec' as part of their
7652           factory class string when introspecting a plugin's capabilities.
7653           draft-klass.txt mentions that it might be removed in future, and
7654           flump3dec doesn't have it as part of its class string, so chances
7655           are others might also not have it.
7656
7657 2007-03-14  Thomas Vander Stichele  <thomas at apestaart dot org>
7658
7659         * po/af.po:
7660         * po/az.po:
7661         * po/bg.po:
7662         * po/ca.po:
7663         * po/cs.po:
7664         * po/de.po:
7665         * po/en_GB.po:
7666         * po/fr.po:
7667         * po/it.po:
7668         * po/nb.po:
7669         * po/nl.po:
7670         * po/ru.po:
7671         * po/sq.po:
7672         * po/sr.po:
7673         * po/sv.po:
7674         * po/tr.po:
7675         * po/uk.po:
7676         * po/vi.po:
7677         * po/zh_CN.po:
7678         * po/zh_TW.po:
7679           Update translations from translation project
7680
7681 2007-03-14  Stefan Kost  <ensonic@users.sf.net>
7682
7683         * gst/gstchildproxy.c: (gst_child_proxy_get_property),
7684         (gst_child_proxy_set_property):
7685           Invert precondition check to be alike the ones in the mimiced gobject
7686           api.
7687
7688 2007-03-13  Stefan Kost  <ensonic@users.sf.net>
7689
7690         * docs/design/draft-tagreading.txt:
7691         * docs/random/ensonic/audiobaseclasses.txt:
7692           Do some Architect work.
7693
7694         * gst/gstobject.c: (gst_object_set_name):
7695           Add a WARNING.
7696
7697         * gst/gstpad.c:
7698           Add docs that point from gst_pad_get_range to gst_pad_pull_range
7699
7700 2007-03-12  Jan Schmidt  <thaytan@mad.scientist.com>
7701
7702         * gst/gstsystemclock.c: (gst_system_clock_init),
7703         (gst_system_clock_start_async), (gst_system_clock_id_wait_async):
7704         Defer starting the async system clock thread until the first async
7705         wait is scheduled. Fixes #414986.
7706
7707 2007-03-12  Tim-Philipp Müller  <tim at centricular dot net>
7708
7709         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_finalize),
7710         (gst_single_queue_free):
7711           Fix small leak (free GstSingleQueue structure too, not only contents).
7712
7713 2007-03-10  Sebastien Moutte  <sebastien@moutte.net>
7714
7715         * gst/gstbin.c:(gst_bin_add):
7716         Use GST_STR_NULL to prevent NULL pointer to be passed to GST_CAT_DEBUG.
7717         * win32/common/libgstbase.def:
7718         * win32/common/libgstreamer.def:
7719         Add new exported functions.
7720
7721 2007-03-09  Wim Taymans  <wim@fluendo.com>
7722
7723         * docs/plugins/gstreamer-plugins-sections.txt:
7724         Fix GstTee docs.
7725
7726 2007-03-09  Wim Taymans  <wim@fluendo.com>
7727
7728         * docs/gst/gstreamer-sections.txt:
7729         * gst/gstbuffer.c: (gst_buffer_copy_metadata), (_gst_buffer_copy):
7730         * gst/gstbuffer.h:
7731         Add metadata copy functions. Fixes #393099.
7732         API: gst_buffer_copy_metadata()
7733
7734         * gst/gstutils.c: (gst_buffer_stamp):
7735         * libs/gst/base/gstbasetransform.c:
7736         (gst_base_transform_prepare_output_buffer):
7737         Use new metadata copy functions.
7738
7739 2007-03-09  Thomas Vander Stichele  <thomas at apestaart dot org>
7740
7741         * plugins/elements/gstidentity.c: (gst_identity_class_init),
7742         (gst_identity_init), (gst_identity_check_perfect),
7743         (gst_identity_check_imperfect_timestamp),
7744         (gst_identity_check_imperfect_offset), (gst_identity_transform_ip),
7745         (gst_identity_set_property), (gst_identity_get_property):
7746         * plugins/elements/gstidentity.h:
7747         Separate out check-imperfect-timestamp and check-imperfect-offset.
7748         Put back check-perfect as it was to keep compatibility.
7749
7750 2007-03-09  Jan Schmidt  <thaytan@mad.scientist.com>
7751
7752         * gst/gstelement.c: (gst_element_dispose):
7753         There's no need to warn if VOID_PENDING is not NONE here, as
7754         long as the state is NULL it's ok, and that's checked immediately
7755         above.
7756
7757 2007-03-08  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
7758
7759         * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
7760         Fix check for perfect stream to ignore buffers with -1 
7761         offsets/offset ends when checking data contiguity.
7762
7763 2007-03-08  Wim Taymans  <wim@fluendo.com>
7764
7765         * tools/gst-launch.c: (event_loop):
7766         Print INFO messages.
7767
7768 2007-03-08  Wim Taymans  <wim@fluendo.com>
7769
7770         * libs/gst/base/gstbasetransform.c:
7771         (gst_base_transform_sink_eventfunc),
7772         (gst_base_transform_handle_buffer), (gst_base_transform_chain),
7773         (gst_base_transform_activate):
7774         * libs/gst/base/gstbasetransform.h:
7775         Add support for dropping buffers with custom GstFlowReturn.
7776         Set DISCONT flags on outgoing buffers based on QoS, incomming DISCONT
7777         buffers or dropped buffers.
7778
7779         * docs/libs/gstreamer-libs-sections.txt:
7780         docs for new custom return code.
7781
7782         * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
7783         Use drop support in base class to implement drop-probability.
7784
7785 2007-03-07  Tim-Philipp Müller  <tim at centricular dot net>
7786
7787         * gst/gst.c: (load_plugin_func):
7788         * gst/gstplugin.c: (gst_plugin_load_by_name), (gst_plugin_load):
7789         * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
7790         * gst/gsttrace.c: (gst_trace_new), (gst_alloc_trace_set_flags_all):
7791           Remove newlines at end of debug log strings.
7792
7793 2007-03-07  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
7794
7795         * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
7796         Only post bus message at max, once per buffer received.
7797
7798 2007-03-07  Wim Taymans  <wim@fluendo.com>
7799
7800         * docs/design/Makefile.am:
7801         * docs/design/part-synchronisation.txt:
7802         Add doc about synchronisation
7803
7804         * docs/design/draft-latency.txt:
7805         * docs/design/part-TODO.txt:
7806         * docs/design/part-clocks.txt:
7807         * docs/design/part-events.txt:
7808         * docs/design/part-gstbus.txt:
7809         * docs/design/part-gstpipeline.txt:
7810         * docs/design/part-live-source.txt:
7811         * docs/design/part-messages.txt:
7812         * docs/design/part-overview.txt:
7813         * docs/design/part-streams.txt:
7814         * docs/design/part-trickmodes.txt:
7815         Documentation updates.
7816
7817 2007-03-07  Jan Schmidt  <thaytan@mad.scientist.com>
7818
7819         * gstreamer.doap:
7820         Update the doap file.
7821
7822 2007-03-07  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
7823
7824         * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
7825         Rename non-perfect to imperfect for Mike and for the sanctity of the
7826         language.
7827         Also make sure bus message gets emitted for data-incontiguities.
7828
7829 2007-03-07  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
7830
7831         * plugins/elements/gstidentity.c: (gst_identity_check_perfect),
7832         (gst_identity_start):
7833         * plugins/elements/gstidentity.h:
7834         Emit bus message if check-perfect is true and we encounter a
7835         non-perfect stream between 2 consecutive buffers.
7836         Fixes #415394.
7837
7838 2007-03-07  Jan Schmidt  <thaytan@mad.scientist.com>
7839
7840         * configure.ac:
7841         Back to CVS
7842
7843 === release 0.10.12 ===
7844
7845 2007-03-07  Jan Schmidt <thaytan@mad.scientist.com>
7846
7847         * configure.ac:
7848           releasing 0.10.12, "Inevitable Demise"
7849
7850 2007-03-01  Jan Schmidt  <thaytan@mad.scientist.com>
7851
7852         * configure.ac:
7853          Version 0.10.11.2 (0.10.12 pre-release)
7854          Bump libtool versioning.
7855
7856 2007-03-01  Stefan Kost  <ensonic@users.sf.net>
7857
7858         * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
7859           Log flow-names and not numbers.
7860
7861 2007-02-28  Thomas Vander Stichele  <thomas at apestaart dot org>
7862
7863         * configure.ac:
7864           Convert to new AG_GST style.
7865
7866 2007-02-28  Wim Taymans  <wim@fluendo.com>
7867
7868         * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency):
7869         Don't unref query twice.
7870
7871 2007-02-28  Wim Taymans  <wim@fluendo.com>
7872
7873         * gst/gstvalue.c: (gst_value_transform_object_string),
7874         (_gst_value_initialize):
7875         Implement GstObject -> string transform so we print object names
7876         when serializing GValues containing GstObjects.
7877
7878 2007-02-28  Wim Taymans  <wim@fluendo.com>
7879
7880         * docs/gst/gstreamer-sections.txt:
7881         Add new stuff to docs.
7882
7883 2007-02-28  Wim Taymans  <wim@fluendo.com>
7884
7885         * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency),
7886         (gst_base_sink_queue_object_unlocked), (gst_base_sink_send_event),
7887         (gst_base_sink_change_state):
7888         Improve latency query code.
7889         Don't leak latency events.
7890
7891         * tests/check/gst/gstbin.c: (GST_START_TEST):
7892         Improve debugging.
7893
7894 2007-02-28  Wim Taymans  <wim@fluendo.com>
7895
7896         * gst/gstelement.c: (gst_element_message_full),
7897         (gst_element_get_state_func):
7898         * gst/gstelement.h:
7899         Improve docs a little. Added Since: for new macro.
7900
7901         * gst/gstobject.c: (gst_object_sink):
7902         * gst/gstpipeline.c: (gst_pipeline_change_state),
7903         (gst_pipeline_set_new_stream_time):
7904         * gst/gstpipeline.h:
7905         Improve debugging and docs.
7906
7907         * gst/gstutils.c: (gst_element_state_change_return_get_name):
7908         Improve debugging.
7909
7910 2007-02-28  Wim Taymans  <wim@fluendo.com>
7911
7912         * gst/gstelement.c: (gst_element_message_full),
7913         (gst_element_set_locked_state), (gst_element_get_state_func),
7914         (gst_element_change_state):
7915         Handle INFO messages from the GST_ELEMENT_INFO macro as well.
7916         Documentation updates.
7917         Small code cleanups.
7918
7919         * gst/gstmessage.c: (gst_message_new_info),
7920         (gst_message_parse_info):
7921         * gst/gstmessage.h:
7922         API: gst_message_new_info()
7923         API: gst_message_parse_info()
7924         Add INFO message create and parse code.
7925
7926 2007-02-28  Wim Taymans  <wim@fluendo.com>
7927
7928         * gst/gstbin.c: (bin_query_min_max_init), (bin_query_latency_fold),
7929         (bin_query_latency_done):
7930         Also report the live parameter of a latency query.
7931
7932 2007-02-28  Thomas Vander Stichele  <thomas at apestaart dot org>
7933
7934         * tests/check/generic/states.c: (GST_START_TEST), (states_suite):
7935           Copy the current generic/states example from -base and adapt so
7936           we can use the exact same code everywhere.
7937           Check a STATES_IGNORE_ELEMENTS env var which can be used
7938           to ignore certain element factories for this test, which is
7939           what is being done in -base
7940         * tests/check/Makefile.am:
7941           Mention this environment variable.
7942
7943 2007-02-27  Wim Taymans  <wim@fluendo.com>
7944
7945         * docs/gst/gstreamer-sections.txt:
7946         * gst/gstbus.c: (gst_bus_init), (gst_bus_dispose), (gst_bus_post),
7947         (gst_bus_timed_pop), (gst_bus_pop):
7948         * gst/gstbus.h:
7949         API: gst_bus_timed_pop()
7950         Implement gst_bus_timed_pop() to do a blocking timed wait for a
7951         message to arrive on the bus.
7952
7953         * tests/check/gst/gstbus.c: (GST_START_TEST), (pop_thread),
7954         (gst_bus_suite):
7955         Two unit tests for new _timed_pop() function.
7956
7957 2007-02-23  Wim Taymans  <wim@fluendo.com>
7958
7959         * gst/gstpipeline.c: (gst_pipeline_change_state),
7960         (gst_pipeline_provide_clock_func), (gst_pipeline_set_delay):
7961         Don't ref a NULL clock in _provide_clock_func().
7962         Don't allow an INVALID delay.
7963         Don't try to calculate base_time with an invalid start_time.
7964         Also distribute and notify a NULL clock when it was selected.
7965
7966         * tools/gst-launch.c: (event_loop):
7967         Don't crash when a NULL clock was selected in the pipeline.
7968
7969 2007-02-23  Tim-Philipp Müller  <tim at centricular dot net>
7970
7971         * docs/design/Makefile.am:
7972         * docs/design/draft-missing-plugins.txt:
7973         * docs/random/draft-missing-plugins.txt:
7974           Some small updates: update plugin system identifier prefix
7975           ('gstreamer.net' to 'gstreamer'), mention our new install
7976           API in libgstbaseutils rather than libgimme-codec, add
7977           reference to the online docs.
7978
7979 2007-02-21  Thomas Vander Stichele  <thomas at apestaart dot org>
7980
7981         * win32/common/config.h:
7982           Pretty sure Bill never made a powerpc version.  Powerpc hackers,
7983           use moap cl ci to only check in what is mentioned in the ChangeLog.
7984
7985 2007-02-21  Thomas Vander Stichele  <thomas at apestaart dot org>
7986
7987         * docs/gst/gstreamer-sections.txt:
7988         * gst/gstelement.h:
7989           Fix up documentation to link to the correct GstGError section.
7990           Add GST_ELEMENT_INFO macro since someone else added a Info message.
7991
7992 2007-02-21  Thomas Vander Stichele  <thomas at apestaart dot org>
7993
7994         * tools/gst-launch.c: (event_loop):
7995           Make sure that we actually show the important message part of a
7996           warning message.
7997           No need to check if the gerror is not NULL to free; first of all
7998           g_free accepts NULL; and second the default error handler would
7999           segfault if gerror was NULL.
8000
8001 2007-02-21  Wim Taymans  <wim@fluendo.com>
8002
8003         * docs/gst/gstreamer-sections.txt:
8004         Removed docs as well.
8005
8006 2007-02-21  Wim Taymans  <wim@fluendo.com>
8007
8008         * gst/gstmessage.c: (gst_message_parse_duration):
8009         * gst/gstmessage.h:
8010         Remove new messages for release.
8011
8012 2007-02-20  Wim Taymans  <wim@fluendo.com>
8013
8014         * docs/design/part-gstghostpad.txt:
8015         * gst/gstghostpad.c: (gst_ghost_pad_dispose),
8016         (gst_ghost_pad_new_full):
8017         Make the ghostpad a parent of the internal pad again for better backward
8018         compatibility. Don't write code that relies on this however.
8019
8020         * gst/gstpad.c: (gst_pad_activate_pull), (gst_pad_activate_push),
8021         (gst_pad_link_check_hierarchy):
8022         Require that parents should be GstElements in the hierarchy check.
8023
8024 2007-02-20  Wim Taymans  <wim@fluendo.com>
8025
8026         * gst/gstbin.c: (bin_replace_message), (gst_bin_add_func),
8027         (gst_bin_change_state_func), (bin_query_min_max_init),
8028         (bin_query_latency_fold), (bin_query_latency_done),
8029         (gst_bin_query):
8030         Improve debug info.
8031         Implement latency query.
8032
8033 2007-02-20  Wim Taymans  <wim@fluendo.com>
8034
8035         * docs/design/part-gstghostpad.txt:
8036         * gst/gstghostpad.c: (gst_ghost_pad_class_init),
8037         (gst_ghost_pad_internal_do_activate_push),
8038         (gst_ghost_pad_internal_do_activate_pull),
8039         (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
8040         (gst_ghost_pad_do_link), (gst_ghost_pad_dispose),
8041         (gst_ghost_pad_new_full), (gst_ghost_pad_set_target):
8042         Do not set the internal pad as a parent anymore so we can avoid
8043         hierarchy linking errors when the ghostpad has no parent yet. This also
8044         fixes failed activation because of unlinked internal pads, which in
8045         turn fixes the impossible case where you have to activate a pad before
8046         you can add it to a running element.
8047         Also fix the docs.
8048
8049         * gst/gstpad.c: (pre_activate), (post_activate),
8050         (gst_pad_set_active), (gst_pad_activate_pull),
8051         (gst_pad_activate_push), (gst_pad_check_pull_range):
8052         Add some more debug info.
8053         Mark activation mode in pre_activate so that we don't try to activate in
8054         endless loops. Fixes #385084.
8055
8056 2007-02-19  Wim Taymans  <wim@fluendo.com>
8057
8058         * libs/gst/base/gstbasetransform.c: (gst_base_transform_init),
8059         (gst_base_transform_check_get_range):
8060         Implement a checkgetrange function instead of relying on the default
8061         core behaviour that assumes we can operate in pull mode if we have a
8062         getrange function. First step at fixing #385084.
8063
8064 2007-02-15  Stefan Kost  <ensonic@users.sf.net>
8065
8066         * gst/gstchildproxy.h:
8067         * libs/gst/base/gstbasesink.h:
8068         * libs/gst/base/gstbasesrc.h:
8069         * libs/gst/base/gstbasetransform.h:
8070         More docs coverage and some ChangeLog surgery (add missing names)
8071
8072 2007-02-15  Wim Taymans  <wim@fluendo.com>
8073
8074         * docs/design/part-TODO.txt:
8075         * docs/design/part-activation.txt:
8076         * docs/design/part-block.txt:
8077         * docs/design/part-buffering.txt:
8078         * docs/design/part-clocks.txt:
8079         * docs/design/part-element-source.txt:
8080         * docs/design/part-events.txt:
8081         * docs/design/part-gstbin.txt:
8082         * docs/design/part-gstbus.txt:
8083         * docs/design/part-gstpipeline.txt:
8084         * docs/design/part-live-source.txt:
8085         * docs/design/part-messages.txt:
8086         * docs/design/part-overview.txt:
8087         * docs/design/part-qos.txt:
8088         * docs/design/part-query.txt:
8089         * docs/design/part-states.txt:
8090         * docs/design/part-trickmodes.txt:
8091         Some doc updates. Start renaming from stream_time to running_time where
8092         it was used wrongly.
8093
8094 2007-02-15  Wim Taymans  <wim@fluendo.com>
8095
8096         * libs/gst/base/gstbasesrc.c: (gst_base_src_default_query):
8097         Answer LATENCY query.
8098
8099 2007-02-15  Wim Taymans  <wim@fluendo.com>
8100
8101         * tests/check/gst/gstevent.c: (event_probe), (test_event),
8102         (GST_START_TEST):
8103         Improve debugging.
8104
8105 2007-02-15  Wim Taymans  <wim@fluendo.com>
8106
8107         * gst/gstpad.c: (gst_pad_get_internal_links_default),
8108         (gst_pad_dispatcher):
8109         Improve debugging of default pad dispatcher and query functions.
8110
8111 2007-02-15  Wim Taymans  <wim@fluendo.com>
8112
8113         * docs/gst/gstreamer-sections.txt:
8114         Remove old unused method.
8115
8116 2007-02-13  Wim Taymans  <wim@fluendo.com>
8117
8118         * tests/check/gst/gstsegment.c: (GST_START_TEST):
8119         Fix check
8120
8121 2007-02-13  Wim Taymans  <wim@fluendo.com>
8122
8123         * docs/design/part-seeking.txt:
8124         Some small update.
8125
8126         * gst/gstsegment.c: (gst_segment_set_seek):
8127         Revert old bogus change that should make seeking work again.
8128
8129 2007-02-13  Stefan Kost  <ensonic@users.sf.net>
8130
8131         * docs/random/ensonic/dynlink.txt:
8132         * docs/random/ensonic/interfaces.txt:
8133         * docs/random/ensonic/receipies.txt:
8134           Possible dynamic reconnection api, plus some type fixes the other two
8135           docs.
8136
8137 2007-02-13  Sebastian Dröge  <slomo@circular-chaos.org>
8138
8139         * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
8140         * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
8141         Also check for an absolute path following file:// in the filesrc
8142         element. Remove redundant check and call g_path_is_absolute() on the
8143         unescaped location.
8144
8145 2007-02-13  Stefan Kost  <ensonic@users.sf.net>
8146
8147         * docs/design/draft-klass.txt:
8148           Add existing category analysis.
8149           
8150         * gst/gstcaps.c:
8151           Fix doc example, framerate is a fraction.
8152
8153 2007-02-12  Stefan Kost  <ensonic@users.sf.net>
8154
8155         * configure.ac:
8156         * docs/gst/Makefile.am:
8157         * docs/gst/gstreamer-sections.txt:
8158         * docs/libs/Makefile.am:
8159           Erm, forgot a bunch of --extra-dir.
8160
8161 2007-02-12  Stefan Kost  <ensonic@users.sf.net>
8162
8163         * configure.ac:
8164         * docs/gst/Makefile.am:
8165         * docs/libs/Makefile.am:
8166         * docs/plugins/Makefile.am:
8167           Add crossreferences to glib/gobject docs.
8168
8169 2007-02-12  Wim Taymans  <wim@fluendo.com>
8170
8171         * docs/design/draft-latency.txt:
8172         Small update.
8173
8174         * docs/libs/gstreamer-libs-sections.txt:
8175         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
8176         (gst_base_sink_get_latency), (gst_base_sink_query_latency),
8177         (gst_base_sink_wait_clock), (gst_base_sink_send_qos),
8178         (gst_base_sink_perform_qos), (gst_base_sink_queue_object_unlocked),
8179         (gst_base_sink_chain_unlocked), (gst_base_sink_send_event),
8180         (gst_base_sink_get_position), (gst_base_sink_query),
8181         (gst_base_sink_change_state):
8182         * libs/gst/base/gstbasesink.h:
8183         API: gst_base_sink_query_latency() to let subclasses query the upstream
8184         latency.
8185         API: gst_base_sink_get_latency() to let subclasses query the configured
8186         latency in the sink.
8187         Implement query and set latency.
8188         Update some docs.
8189         As spotted by Will Newton <will dot newton at gmail dot com>: Make sure we
8190         don't continue preroll when we are flushing. Fixes #405284.
8191
8192         * tests/check/pipelines/stress.c: (change_state_timeout),
8193         (quit_timeout), (GST_START_TEST), (stress_suite):
8194         Test for #405284.
8195
8196 2007-02-09  Tim-Philipp Müller  <tim at centricular dot net>
8197
8198         Patch by: René Stadler <mail at renestadler de>
8199
8200         * docs/gst/gstreamer-sections.txt:
8201         * gst/gsttaglist.c: (_gst_tag_initialize):
8202         * gst/gsttaglist.h:
8203           API: add GST_TAG_REFERENCE_LEVEL (#403597).
8204
8205 2007-02-11  Stefan Kost  <ensonic@users.sf.net>
8206
8207         * docs/libs/Makefile.am:
8208           Fix path to core docs.
8209
8210         * gst/gstbin.c: (gst_bin_get_by_interface),
8211         (gst_bin_iterate_all_by_interface):
8212           Refix docs by also renaming 'interface' to 'iface' in implementation.
8213
8214         * docs/gst/gstreamer-sections.txt:
8215         * gst/gstcaps.c:
8216         * gst/gstchildproxy.c: (gst_child_proxy_base_init):
8217         * gst/gstchildproxy.h:
8218         * gst/gstelementfactory.c:
8219         * gst/gstpadtemplate.h:
8220         * libs/gst/controller/gstcontroller.c:
8221         (gst_controlled_property_new):
8222           Document more.
8223
8224 2007-02-10  Sébastien Moutte  <sebastien@moutte.net>
8225
8226         * gst/gstbin.h:(gst_bin_get_by_interface),
8227         (gst_bin_iterate_all_by_interface):
8228         Replace interface parameter name by iface as interface is 
8229         a reserved keyword in Visual Studio for C++ projects so it removes
8230         a build error for application developpers using VS.
8231         * plugins/elements/gstfilesrc.c:(gst_file_src_uri_set_uri):
8232         Fix a bug on Windows in uri format check. Now the prefix checked
8233         is file:// and next we check if the path after file:// is absolute.
8234         * win32/common/libgstbase.def:
8235         * win32/common/libgstdataprotocol.def:
8236         * win32/common/libgstgstreamer.def:
8237         Add new exported functions.
8238
8239 2007-02-09  Andy Wingo  <wingo@pobox.com>
8240
8241         * tests/check/pipelines/simple-launch-lines.c
8242         (simple_launch_lines_suite, test_tee): Disable tee test until I
8243         have time to fix it :-(
8244
8245         * tests/check/Makefile.am (noinst_HEADERS): 
8246         * tests/check/libs/libsabi.c: 
8247         * tests/check/libs/struct_ppc32.h: Add ABI checks for PPC32.
8248         * tests/check/gst/gstabi.c: 
8249         * tests/check/gst/struct_ppc32.h: Add ABI checks for PPC32.
8250
8251         * tests/check/pipelines/simple-launch-lines.c (test_tee): Add
8252         tests for push and pull tee behavior.
8253
8254         * plugins/elements/gsttee.h: 
8255         * plugins/elements/gsttee.c: Describe has-sink-loop better, and
8256         mark as deprecated as well as unimplemented. It was a crack idea.
8257         Add support for tee operating in pull mode, off by default.
8258
8259         * gst/gstregistryxml.c (load_feature, load_plugin): Drop some
8260         normal-case logs down to LOG, raise errors to WARNING.
8261         (gst_registry_xml_read_cache): Don't log before calling a function
8262         that logs.
8263
8264         * gst/gstregistry.c (gst_registry_finalize): Less debug on program
8265         exit (registry finalize).
8266         (gst_registry_add_plugin, gst_registry_add_feature): No need for a
8267         DEBUG log when we emit signals that people don't even have the
8268         chance to connect to.
8269         (gst_registry_scan_path_level): Less logging in the normal case.
8270
8271 2007-02-05  Sebastian Dröge  <slomo@circular-chaos.org>
8272
8273         Patch by: Michal Benes <michal dot benes at itonis dot tv>
8274
8275         * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
8276         Correctly generate EOS for non-seekable files. We don't have a total
8277         length for them and would get an unexpected end of file if we only
8278         special-cased for regular files. (Fixes: #404569)
8279
8280 2007-02-05  Sebastian Dröge  <slomo@circular-chaos.org>
8281
8282         * tests/check/elements/filesrc.c: (GST_START_TEST),
8283         (filesrc_suite):
8284         Add unit test for the GstURIHandler interface in filesrc. This also
8285         tests the newly added file://localhost/foo/bar support.
8286
8287 2007-02-04  Tim-Philipp Müller  <tim at centricular dot net>
8288
8289         * gst/gstelementfactory.h:
8290           The klass string is not a hierarchy. Add reference to the design doc
8291           for more information and common types.
8292
8293 2007-02-02  Wim Taymans  <wim@fluendo.com>
8294
8295         * gst/gstquery.c: (gst_query_new_latency):
8296         Remove old structure field.
8297
8298 2007-02-02  Stefan Kost  <ensonic@users.sf.net>
8299
8300         * tools/gst-launch.1.in:
8301           Give example for network streaming (#351998)
8302
8303 2007-02-02  Wim Taymans  <wim@fluendo.com>
8304
8305         * docs/gst/gstreamer-sections.txt:
8306         Add docs for new methods.
8307
8308         * gst/gstevent.c: (gst_event_new_latency),
8309         (gst_event_parse_latency):
8310         * gst/gstevent.h:
8311         Add new LATENCY event to configure latency in a pipeline.
8312         API: gst_event_new_latency
8313         API: gst_event_parse_latency
8314
8315         * gst/gstmessage.c: (gst_message_new_buffering),
8316         (gst_message_new_lost_preroll), (gst_message_new_prerolled),
8317         (gst_message_new_latency), (gst_message_parse_buffering),
8318         (gst_message_parse_lost_preroll):
8319         * gst/gstmessage.h:
8320         Added messages used in draft-latency.
8321         API: gst_message_new_lost_preroll
8322         API: gst_message_parse_lost_preroll
8323         API: gst_message_new_prerolled
8324         API: gst_message_new_latency
8325
8326         * gst/gstquery.c: (gst_query_new_latency), (gst_query_set_latency),
8327         (gst_query_parse_latency):
8328         * gst/gstquery.h:
8329         Implemented new latency query as in design doc.
8330         API: gst_query_new_latency
8331         API: gst_query_set_latency
8332         API: gst_query_parse_latency
8333
8334 2007-02-02  Wim Taymans  <wim@fluendo.com>
8335
8336         * docs/design/draft-latency.txt:
8337         Slight redesign to allow for dynamic latency adjustments.
8338
8339         * docs/design/part-negotiation.txt:
8340         Fix some typos.
8341
8342 2007-02-02  Sebastian Dröge  <slomo@circular-chaos.org>
8343
8344         reviewed by: Wim Taymans <wim@fluendo.com>
8345
8346         * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
8347         * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
8348         Allow file://localhost/foo/bar URLs and correctly fail for every other
8349         hostname that one sets. This was gnomevfssrc is linked for those if
8350         installed as it can handle it (#403172)
8351
8352 2007-02-01  Sebastian Dröge  <slomo@circular-chaos.org>
8353
8354         reviewed by: Tim-Philipp Müller <tim at centricular dot net>
8355
8356         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
8357         (unref_data), (gst_collect_pads_add_pad_full):
8358         * libs/gst/base/gstcollectpads.h:
8359         Don't put the previously added destroy notify in the GstCollectData
8360         struct as all it's padding is already used and we don't want to break
8361         ABI. Instead put in the pad's GObject data for now. This should be
8362         cleaned up for 0.11 (#402393).
8363
8364 2007-02-01  Sebastian Dröge  <slomo@circular-chaos.org>
8365
8366         reviewed by: Wim Taymans <wim@fluendo.com>
8367
8368         * docs/libs/gstreamer-libs-sections.txt:
8369         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
8370         (unref_data), (gst_collect_pads_add_pad),
8371         (gst_collect_pads_add_pad_full):
8372         * libs/gst/base/gstcollectpads.h:
8373         API: Add function to specify a destroy notification for custom
8374         GstCollectData when adding new pads in GstCollectPads (#402393).
8375
8376 2007-02-01  Tim-Philipp Müller  <tim at centricular dot net>
8377
8378         * po/sv.po:
8379           Update Swedish translation (#378255).
8380
8381 2007-01-31  Stefan Kost  <ensonic@users.sf.net>
8382
8383         * docs/design/draft-klass.txt:
8384           Fix the previous change, this is a list of categories and not a hierarchy.
8385
8386 2007-01-31  Stefan Kost  <ensonic@users.sf.net>
8387
8388         * docs/design/draft-klass.txt:
8389           Add info about how to get a list of used classes.
8390
8391 2007-01-30  Tim-Philipp Müller  <tim at centricular dot net>
8392
8393         * plugins/elements/gsttypefindelement.c:
8394         (gst_type_find_element_chain_do_typefinding),
8395         (gst_type_find_element_change_state):
8396           Don't leak found caps in chain function (no idea why that never
8397           showed up as a leak anywhere).
8398
8399 2007-01-30  Stefan Kost  <ensonic@users.sf.net>
8400
8401         * gst/gstplugin.h:
8402           Fix and expand GstPluginDesc API docs.
8403
8404 2007-01-29  Stefan Kost  <ensonic@users.sf.net>
8405
8406         * gst/gstcaps.c:
8407         * gst/gstelementfactory.c:
8408         * gst/gstpadtemplate.h:
8409           api doc fixes
8410
8411         * libs/gst/controller/gstcontroller.c:
8412         (gst_controlled_property_new):
8413         * tests/examples/controller/audio-example.c:
8414           comment fixes
8415
8416 2007-01-29  Stefan Kost  <ensonic@users.sf.net>
8417
8418         * configure.ac:
8419           comment about refining the xml deps
8420
8421         * docs/manuals.mak:
8422           comments about moving away from jade for docs
8423         
8424         * gst/gst.c:
8425           recommit the ifdefs to use the binary registry
8426         
8427         * gst/gstbin.c: (gst_bin_change_state_func):
8428           this break is obsolete
8429
8430         * gst/gstelementfactory.h:
8431           better GST_ELEMENT_DETAILS docs, add comment about translation
8432
8433         * gst/gstinfo.h:
8434           remove eol slash
8435
8436         * gst/gstobject.c: (gst_signal_object_get_type):
8437           add G_UNLIKELY as usual
8438
8439         * gst/gstpad.c: (gst_pad_event_default):
8440           add fall trhu comment
8441
8442         * gst/gstregistrybinary.c: (gst_registry_binary_write),
8443         (gst_registry_binary_initialize_magic),
8444         (gst_registry_binary_save_string),
8445         (gst_registry_binary_save_pad_template),
8446         (gst_registry_binary_save_feature),
8447         (gst_registry_binary_save_plugin),
8448         (gst_registry_binary_write_cache),
8449         (gst_registry_binary_check_magic),
8450         (gst_registry_binary_load_pad_template),
8451         (gst_registry_binary_load_feature),
8452         (gst_registry_binary_load_plugin),
8453         (gst_registry_binary_read_cache):
8454           comment typo and formatting
8455
8456         * gst/gstutils.c: (gst_element_state_get_name),
8457         (gst_element_state_change_return_get_name):
8458           remove obsolete breaks
8459
8460         * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
8461           add FIXME 0.11 and remove cpp comment
8462
8463 2007-01-29  Edward Hervey  <edward@fluendo.com>
8464
8465         * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
8466         Fix print statement in an even more portable way.
8467
8468 2007-01-29  Tim-Philipp Müller  <tim at centricular dot net>
8469
8470         * docs/gst/gstreamer-sections.txt:
8471         * gst/gstutils.h:
8472           API: add GST_ROUND_DOWN_* macros (#401781).
8473
8474 2007-01-27  Tim-Philipp Müller  <tim at centricular dot net>
8475
8476         * docs/gst/gstreamer.types.in:
8477         * gst/gstregistry.c: (gst_registry_class_init):
8478           Document registry signals and make gtk-doc pick them up (#401381).
8479
8480 2007-01-26  Tim-Philipp Müller  <tim at centricular dot net>
8481
8482         * docs/pwg/building-testapp.xml:
8483           Add some audioconverts and audioresample to the pipeline, and some
8484           more comments and error handling.
8485
8486 2007-01-26  Tim-Philipp Müller  <tim at centricular dot net>
8487
8488         * docs/manual/manual.xml:
8489         * docs/pwg/pwg.xml:
8490           Fix typo (#400987).
8491
8492 2007-01-26  Wim Taymans  <wim@fluendo.com>
8493
8494         * gst/gstcaps.c: (gst_static_caps_get):
8495         Init caps flags too.
8496
8497 2007-01-25  Sebastian Dröge  <slomo@circular-chaos.org>
8498
8499         Patch by: Jindrich Makovicka <jindrich.makovick at itonis dot tv>
8500
8501         * plugins/elements/gstfilesrc.c: (gst_file_src_start):
8502         If not using mmap'ed files try to seek to the end instead of the
8503         start to determine whether we can seek at all. This fixes the case
8504         of 2GB+ files over NFS, where seeks in the first 2GB can succeed but
8505         seeks for everything afterwards fail. Fixes #400656
8506
8507 2007-01-25  Wim Taymans  <wim@fluendo.com>
8508
8509         * gst/gstcaps.c: (_gst_caps_free), (gst_static_caps_get):
8510         Add some refcount debugging.
8511         Make gst_static_caps_get threadsafe, which is needed when autoplugging
8512         in multiple streaming threads.
8513
8514 2007-01-25  Wim Taymans  <wim@fluendo.com>
8515
8516         Patch by: David Schleef <ds at schleef dot org>
8517
8518         * docs/libs/gstreamer-libs-sections.txt:
8519         * libs/gst/base/gstadapter.c: (gst_adapter_copy):
8520         * libs/gst/base/gstadapter.h:
8521         API: gst_adapter_copy() that can reduce the amount of memcpy when
8522         getting data from the adapter. Fixes #388201.
8523
8524 2007-01-25  Edward Hervey  <edward@fluendo.com>
8525
8526         * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
8527         In print statements, "%x" is for guint. Fixes build on macosx.
8528
8529 2007-01-24  Edward Hervey  <edward@fluendo.com>
8530
8531         * plugins/elements/gstmultiqueue.c:
8532         (gst_multi_queue_loop):
8533         Small fix.
8534         (single_queue_overrun_cb), (single_queue_underrun_cb),
8535         (single_queue_check_full), (gst_single_queue_new):
8536         Implement single queue growth system.
8537         This uses the extra-size properties, and will grow single queues by
8538         that much if one goes full whereas there are others empty. This is
8539         called extra-mode in the code.
8540         When a single queue's levels go back below the initial max-size
8541         limits, it is no longer in extra-mode. This is to ensure we don't
8542         consume too much memory.
8543         Fixes #399875
8544
8545 2007-01-23  Tim-Philipp Müller  <tim at centricular dot net>
8546
8547         * gst/gst.c: (gst_init_get_option_group):
8548           Make warning about late g_thread_init() calls a bit more explicit,
8549           so that it's more obvious to application developers what they need
8550           to do if a user files a bug against their application.
8551
8552 2007-01-22  Edward Hervey  <edward@fluendo.com>
8553
8554         * plugins/elements/gstmultiqueue.c:
8555         (gst_multi_queue_src_activate_push), (gst_single_queue_new):
8556         Remove previous hack of unsetting the flushing flag for the source pad
8557         instead of activating it. Instead, fix the source pad activate function
8558         so that it no longer depends on having a parent set or not.
8559
8560 2007-01-22  Tim-Philipp Müller  <tim at centricular dot net>
8561
8562         Patch by: Carlos Sanmartin Dominguez <csanmartin@igalia.com>
8563
8564         * docs/manual/basics-bus.xml:
8565           Fix example code, gst_element_unref() doesn't exist any longer.
8566
8567 2007-01-21  Tim-Philipp Müller  <tim at centricular dot net>
8568
8569         Patch by: Mark Nauwelaerts <manauw at skynet be>
8570
8571         * gst/gstpad.c:
8572           Fix two docs typoes (#399094).
8573
8574 2007-01-19  Edward Hervey  <edward@fluendo.com>
8575
8576         * docs/faq/gst-uninstalled:
8577         Add gst-plugins-base/gst/utils/ to LD_LIBRARY_PATH so that plugins
8578         depending on libgstbaseutils can work in uninstalled environment.
8579
8580 2007-01-18  Stefan Kost  <ensonic@users.sf.net>
8581
8582         * gst/gsttaglist.h:
8583         * gst/gsttagsetter.c:
8584         Add more docs regarding tag merge-modes and when to send tags. Fix 'since'
8585         statement for new tag.
8586
8587 2007-01-17  Edward Hervey  <edward@fluendo.com>
8588
8589         * plugins/elements/gstmultiqueue.c: (gst_single_queue_new):
8590         When dynamically creating single queues, activate sinkpad before adding
8591         it.
8592         We should be doing the same thing for the source pad, but we can't
8593         since it would call a method which needs the parent to be set in order
8594         to work propertly. Instead of activating the source pad, we just unset
8595         the flushing flag, which is the minimal requirement for adding a pad
8596         to an element in a state greater than READY.
8597
8598 2007-01-17  Edward Hervey  <edward@fluendo.com>
8599
8600         * docs/faq/gst-uninstalled:
8601         Add DYLD_LIBRARY_PATH declarations so we can also use this script on
8602         Mac OS X.
8603
8604 2007-01-17  Tim-Philipp Müller  <tim at centricular dot net>
8605
8606         * tests/check/gst/gstabi.c:
8607         * tests/check/gst/struct_hppa.h:
8608         * tests/check/libs/libsabi.c:
8609         * tests/check/libs/struct_hppa.h:
8610           Add ABI structs for HPPA (see #393796).
8611
8612 2007-01-16  Tim-Philipp Müller  <tim at centricular dot net>
8613
8614         * libs/gst/check/gstcheck.c: (gst_check_abi_list):
8615           Actually write ABI structs to the file specified in the GST_ABI
8616           environment variable, as the message we print claims we would.
8617
8618 2007-01-15  Stefan Kost  <ensonic@users.sf.net>
8619
8620         * tests/check/gst/gsttask.c:
8621           Fix header comment.
8622
8623 2007-01-15  Stefan Kost  <ensonic@users.sf.net>
8624
8625         * gst/gsttaglist.c: (_gst_tag_initialize):
8626           Change tag type from STRING to DOUBLE. Apply ChangeLog surgery for my
8627           previous two entries.
8628
8629 2007-01-15  Stefan Kost  <ensonic@users.sf.net>
8630
8631         * docs/gst/gstreamer-sections.txt:
8632         * gst/gsttaglist.c: (_gst_tag_initialize):
8633         * gst/gsttaglist.h:
8634           Add tag support for beat-per-minute.
8635
8636 2007-01-15  Stefan Kost  <ensonic@users.sf.net>
8637
8638         * gst/gstregistrybinary.c: (gst_registry_binary_write),
8639         (gst_registry_binary_initialize_magic),
8640         (gst_registry_binary_save_string), (gst_registry_binary_make_data),
8641         (gst_registry_binary_save_pad_template),
8642         (gst_registry_binary_save_feature),
8643         (gst_registry_binary_save_plugin),
8644         (gst_registry_binary_write_cache),
8645         (gst_registry_binary_check_magic),
8646         (gst_registry_binary_load_pad_template),
8647         (gst_registry_binary_load_feature),
8648         (gst_registry_binary_load_plugin),
8649         (gst_registry_binary_read_cache):
8650         * gst/gstregistrybinary.h:
8651           Use glib types, cleanup comments, impement interfaces and uri-types.
8652
8653 2007-01-13  Andy Wingo  <wingo@pobox.com>
8654
8655         * gst/gstpad.c (gst_pad_get_range, gst_pad_pull_range): Allow
8656         getrange() to return buffers with other caps, while we fix
8657         demuxers and typefind, or otherwise change part-negotiation.txt.
8658
8659 2007-01-12  Andy Wingo  <wingo@pobox.com>
8660
8661         * libs/gst/base/gstbasetransform.c (gst_base_transform_activate):
8662         Factor start/stop into this private function instead of partially
8663         in activate functions and partially in the change_state function.
8664         Fixes setup before the element has changed from READY->PAUSED, as
8665         is the case in pull-mode pipelines.
8666         (gst_base_transform_sink_activate_push)
8667         (gst_base_transform_src_activate_pull): Refactor to use
8668         gst_base_transform_activate().
8669         (gst_base_transform_change_state): Removed, not needed any more.
8670
8671         * libs/gst/base/gstbasesink.c (gst_base_sink_negotiate_pull):
8672         Truncate before fixating.
8673         
8674         * libs/gst/base/gstbasesink.c (gst_base_sink_negotiate_pull):
8675         Don't set_caps() if the result of fixating is ANY, as it's not
8676         supported, and not necessary in the case of a link with no
8677         template caps on either side. Fixes tests/check/libs/basesrc in
8678         some pull-mode tests.
8679
8680         * libs/gst/base/gstbasetransform.c (_GstBaseTransformPrivate):
8681         (gst_base_transform_init, gst_base_transform_sink_activate_push)
8682         (gst_base_transform_src_activate_pull): 
8683         Track the activation mode.
8684         (gst_base_transform_setcaps): In pull mode, when activating the
8685         src pad, after activating the sink pad, activate the sink pad's
8686         peer, as discussed in part-negotiation.txt.
8687
8688         * libs/gst/base/gstbasesrc.h: 
8689         * libs/gst/base/gstbasesrc.c (gst_base_src_fixate): Add fixate
8690         vmethod, as in basesink.
8691
8692         * libs/gst/base/gstbasesink.h: Reformat docs, add fixate vmethod.
8693
8694         * libs/gst/base/gstbasesink.c (gst_base_sink_pad_setcaps): In pull
8695         mode, first proxy the setcaps to the peer pad.
8696         (gst_base_sink_pad_fixate): Add a fixate function that calls the
8697         new fixate vmethod.
8698         (gst_base_sink_default_activate_pull): Rename from
8699         gst_base_sink_activate_pull.
8700         (gst_base_sink_negotiate_pull): New function, performs negotiation
8701         in pull mode before calling ::activate_pull().
8702         (gst_base_sink_pad_activate_pull): Actually call the activate_pull
8703         vmethod instead of the default implementation. I have no idea how
8704         this worked before. Negotiate before calling activate_pull.
8705
8706         * gst/gstpad.c (gst_pad_activate_pull): Refuse to activate unlinked
8707         sink pads in pull mode. In addition to being correct, fixes
8708         filesrc ! decodebin ! identity ! fakesink.
8709         (gst_pad_get_range, gst_pad_pull_range): Don't call
8710         gst_pad_set_caps() if the caps changes; instead error out with
8711         GST_FLOW_NOT_NEGOTIATED, as discussed in part-negotiation.txt.
8712
8713 2007-01-12  Andy Wingo  <wingo@pobox.com>
8714
8715         * docs/design/part-negotiation.txt: Update with more policy.
8716
8717 2007-01-12  Tim-Philipp Müller  <tim at centricular dot net>
8718
8719         * libs/gst/check/gstbufferstraw.h:
8720         * libs/gst/check/gstcheck.h:
8721           Add G_BEGIN_DECLS and G_END_DECLS. Move GST_CHECK_MAIN where it
8722           belongs.
8723
8724 2007-01-12  Tim-Philipp Müller  <tim at centricular dot net>
8725
8726         * tests/check/Makefile.am:
8727         * tests/check/gst/.cvsignore:
8728         * tests/check/gst/gsttagsetter.c: (gst_dummy_enc_add_interfaces),
8729         (gst_dummy_enc_base_init), (gst_dummy_enc_class_init),
8730         (gst_dummy_enc_init), (tag_list_foreach), (tag_setter_list_length),
8731         (GST_START_TEST), (gst_tag_setter_suite):
8732           Add minimal unit test for beforementioned GstTagSetter bug.
8733
8734 2007-01-12  Tim-Philipp Müller  <tim at centricular dot net>
8735
8736         Patch by: René Stadler <mail at renestadler dot de>
8737
8738         * gst/gsttagsetter.c: (gst_tag_setter_merge_tags):
8739           gst_tag_list_merge() returns a new list, so it's not the best idea
8740           to ingore its return value. Effectively meant that tags could only
8741           be merged on a GstTagSetter once using _merge_tags(). Fixes #395554.
8742           Also add function guard to require a non-NULL taglist as input (has
8743           always been so due to gst_tag_list_copy(), just making it explicit).
8744
8745 2007-01-11  Tim-Philipp Müller  <tim at centricular dot net>
8746
8747         * docs/random/draft-missing-plugins.txt:
8748           Some additions: mention new API that is supposed to be used at the
8749           various stages; short blob about new gst-inspect introspection
8750           option; mention potential future problem with plugins that have
8751           a dynamic list of elements (such as ladspa, pitfdll, libvisual).
8752
8753 2007-01-11  Tim-Philipp Müller  <tim at centricular dot net>
8754
8755         * tools/gst-inspect.c:
8756         (print_plugin_automatic_install_info_codecs),
8757         (print_plugin_automatic_install_info_protocols),
8758         (print_plugin_automatic_install_info), (main):
8759         Add --print-plugin-auto-install-info option to gst-inspect, so we can
8760         introspect plugin files and get machine-parsable output that corresponds
8761         to the last bit of the missing-plugin installer string (small gotcha:
8762         doesn't take into account ranks).
8763
8764 2007-01-11  Stefan Kost  <ensonic@users.sf.net>
8765
8766         * configure.ac:
8767         * docs/gst/gstreamer-sections.txt:
8768         * gst/Makefile.am:
8769         * gst/gstregistry.c: (gst_registry_lookup_feature_locked),
8770         (gst_registry_lookup_locked):
8771         * gst/gstregistry.h:
8772         * gst/gstregistrybinary.c: (gst_registry_binary_write),
8773         (gst_registry_binary_initialize_magic),
8774         (gst_registry_binary_save_string),
8775         (gst_registry_binary_save_pad_template),
8776         (gst_registry_binary_save_feature),
8777         (gst_registry_binary_save_plugin),
8778         (gst_registry_binary_write_cache),
8779         (gst_registry_binary_check_magic),
8780         (gst_registry_binary_load_pad_template),
8781         (gst_registry_binary_load_feature),
8782         (gst_registry_binary_load_plugin),
8783         (gst_registry_binary_read_cache):
8784         * gst/gstregistrybinary.h:
8785         * gst/gstregistryxml.c: (load_feature),
8786         (gst_registry_xml_read_cache):
8787           commit binary registry (disabled by default, see #359653)
8788
8789 2007-01-11  Tim-Philipp Müller  <tim at centricular dot net>
8790
8791         * tests/check/gst/gstpad.c: (test_get_allowed_caps):
8792           Fix 'make check' too.
8793
8794 2007-01-10  Andy Wingo  <wingo@pobox.com>
8795
8796         * docs/design/part-negotiation.txt: Fix a typo, add a couple
8797         notes.
8798         
8799         * docs/design/part-negotiation.txt: Update with, um, one way that
8800         pull-mode negotiation might work?
8801
8802         * gst/gstpad.h: 
8803         * gst/gstpad.c (gst_pad_get_allowed_caps): Remove the restriction
8804         that the pad must be a src pad; makes sense to call it the other
8805         way in pull mode, and the logic is symmetric anyway.
8806
8807 2007-01-10  Tim-Philipp Müller  <tim at centricular dot net>
8808
8809         * plugins/elements/gstfilesink.c:
8810           Include <stdio.h> for fseeko().
8811
8812 2007-01-10  Wim Taymans  <wim@fluendo.com>
8813
8814         * gst/gstevent.c:
8815         * gst/gstevent.h:
8816         Reserve LATENCY event.
8817
8818 2007-01-09  Wim Taymans  <wim@fluendo.com>
8819
8820         * docs/design/draft-latency.txt:
8821         Updates.
8822
8823 2007-01-09  Wim Taymans  <wim@fluendo.com>
8824
8825         * docs/design/draft-latency.txt:
8826         Updates.
8827
8828         * gst/gstelement.h:
8829         * gst/gststructure.c:
8830         * gst/gsttrace.c:
8831         Small typo fixes.
8832
8833 2007-01-09  Tim-Philipp Müller  <tim at centricular dot net>
8834
8835         * tests/check/.cvsignore:
8836           Ignore test-registry.xml as well.
8837
8838 2007-01-09  Wim Taymans  <wim@fluendo.com>
8839
8840         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad):
8841         unref data at the end when we are done with the pad.
8842
8843 2007-01-08  Tim-Philipp Müller  <tim at centricular dot net>
8844
8845         * docs/gst/gstreamer-sections.txt:
8846         * gst/gst.c: (load_plugin_func), (scan_and_update_registry),
8847         (init_post), (gst_deinit), (gst_update_registry):
8848         * gst/gst.h:
8849           API: add gst_update_registry() (#391296).
8850
8851         * tests/check/Makefile.am:
8852         * tests/check/gst/gstregistry.c:
8853         * tests/check/gst/.cvsignore:
8854           Simple unit test for the above.
8855
8856 2007-01-08  Tim-Philipp Müller  <tim at centricular dot net>
8857
8858         * gst/gstregistry.c: (gst_registry_scan_path_level):
8859           Plugin extension on HP-UX is .sl, add that to the list of approved
8860           plugin extensions (see #393796).
8861
8862         * tests/check/gst/gstpad.c: (GST_START_TEST):
8863           ulong => gulong. Fixes compilation with HP-UX compiler.
8864
8865         * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
8866           Fix compilation if valgrind headers are not available.
8867
8868 2007-01-07  Sébastien Moutte  <sebastien@moutte.net>
8869
8870         * win32/common/libgstreamer.def: 
8871           Add new exported function.
8872         * win32/vs6/libgstbase.dsp: 
8873           Add gstdataqueue.c to the build.
8874         * win32/vs6/libgstcoreelements.dsp:
8875           Add gstmultiqueue.c to the build.
8876         
8877 2007-01-06  Andy Wingo  <wingo@pobox.com>
8878
8879         * libs/gst/base/gstbasesink.h: New GstBaseSinkClass vmethod,
8880         activate_pull(), providing for a way to specialize the process of
8881         spawning a thread to pull on the sink pad. There is a default
8882         implementation.
8883
8884         * libs/gst/base/gstbasesink.c (gst_base_sink_pad_activate_pull)
8885         (gst_base_sink_pad_activate_push, gst_base_sink_pad_activate)
8886         (gst_base_sink_init): Renamed pad activation functions (inserting
8887         "_pad" in their names). Refactor to use the new activate_pull
8888         vmethod, as appropriate.
8889         (gst_base_sink_class_init, gst_base_sink_activate_pull): Set the
8890         default activate_pull function to start a task pulling from the
8891         sink pad, as before.
8892
8893         * gst/gstpad.c (gst_pad_get_range, gst_pad_pull_range): Set caps
8894         on the pads if necessary, as in push()/chain(). Update docs.
8895         Shouldn't affect existing pull() usage as it is currently only
8896         being used on buffers without caps.
8897
8898 2007-01-05  Tim-Philipp Müller  <tim at centricular dot net>
8899
8900         * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
8901         (init_pre):
8902           Call g_thread_init() first thing in gst_init() / gst_check_init().
8903           When initialisation is done via gst_init_get_option_group() and
8904           GOption parsing, issue a warning if the GLib thread system has not
8905           been initialised yet by the time gst_init_get_option_group() is
8906           called, as it's quite likely other GLib functions such as
8907           g_option_context_new() have been called already then, and
8908           g_thread_init() must be called before any other GLib function. The
8909           application in question must be fixed in that case, since memory
8910           corruption might happen otherwise.
8911           We issue the warning because even if the GLib folks decide to work
8912           around the problem on their end in future, this is still an issue
8913           with all GLib versions >= 2.10.0, so we should warn until we depend
8914           on a GLib version we know to be safe.
8915           Update documentation as well.
8916           Closes bug #391278.
8917
8918 2007-01-05  Tim-Philipp Müller  <tim at centricular dot net>
8919
8920         * tools/gst-inspect.c: (main):
8921         * tools/gst-launch.c: (main):
8922         * tools/gst-typefind.c: (main):
8923         * tools/gst-xmlinspect.c: (main):
8924           Call g_thread_init() really really early, before any other GLib
8925           function (see #342564 and recent discussion on gtk-devel-list).
8926
8927 2007-01-05  Tim-Philipp Müller  <tim at centricular dot net>
8928
8929         Patch by: Vincent Torri  <vtorri at univ-evry dot fr>
8930
8931         * gst/gst_private.h:
8932         * gst/gstconfig.h.in:
8933         * gst/gstinfo.h:
8934           On win32, all the __declspec stuff for symbol exporting is
8935           apparently only needed with MSVC, but doesn't work with MingW.
8936           Fixes compilation with MingW and #391909.
8937
8938 2007-01-05  Tim-Philipp Müller  <tim at centricular dot net>
8939
8940         * libs/gst/base/gstbasesrc.c: (gst_base_src_activate_push):
8941           Change some GST_ERROR_OBJECT that aren't really errors to
8942           GST_WARNING_OBJECT in order to reduce terminal spam.
8943
8944 2007-01-04  Stefan Kost  <ensonic@users.sf.net>
8945
8946         * tests/check/Makefile.am:
8947           disable test again, as there seem to be still race problems
8948
8949 2007-01-04  Stefan Kost  <ensonic@users.sf.net>
8950
8951         * tests/check/Makefile.am:
8952         * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
8953         (GST_START_TEST), (queue_suite):
8954           enable queue test again, add tests for the leaky behaviour
8955
8956 2007-01-02  Tim-Philipp Müller  <tim at centricular dot net>
8957
8958         * configure.ac:
8959         * tests/examples/Makefile.am:
8960           Compile adapter test/example only if the required headers are
8961           available (fixes #391915).
8962
8963 2007-01-01  David Schleef  <ds@schleef.org>
8964
8965         * gst/gstplugin.c:
8966           Restore the previous signal handler for SIGSEGV instead of
8967           setting to default, since we may have stolen it away from
8968           someone.  (i.e., Mono)
8969
8970 2006-12-26  Tim-Philipp Müller  <tim at centricular dot net>
8971
8972         * docs/random/draft-missing-plugins.txt:
8973           Some small additions and clarifications.
8974
8975 2006-12-26  Tim-Philipp Müller  <tim at centricular dot net>
8976
8977         * gst/gstregistryxml.c: (gst_registry_save_escaped):
8978           Make sure we don't pass non-UTF-8 strings to g_markup_escape(),
8979           since that can lead to random memory corruptions and crashes
8980           (may or may not be related to #383244, #386711, and #386711).
8981
8982 2006-12-21  Stefan Kost  <ensonic@users.sf.net>
8983
8984         * tests/check/.cvsignore:
8985         * tests/check/Makefile.am:
8986           sync .cvsignome and CLEANFILES
8987
8988 2006-12-21  Stefan Kost  <ensonic@users.sf.net>
8989
8990         * tests/check/Makefile.am:
8991           fix distcheck
8992
8993 2006-12-21  Stefan Kost  <ensonic@users.sf.net>
8994
8995         * docs/design/part-states.txt:
8996           two tiny additional comments
8997         
8998         * gst/gststructure.c:
8999           doc fixing
9000
9001         * tests/check/Makefile.am:
9002         * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
9003         (GST_START_TEST):
9004           disable test for now, unless it gets fixed
9005
9006 2006-12-21  Stefan Kost  <ensonic@users.sf.net>
9007
9008         * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
9009         (GST_START_TEST):
9010           fix race in underrun test
9011
9012 2006-12-21  Stefan Kost  <ensonic@users.sf.net>
9013
9014         * tests/check/elements/.cvsignore:
9015           ignore more
9016
9017         * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
9018         (GST_START_TEST):
9019           try to narrow test failure
9020
9021 2006-12-21  David Schleef  <ds@schleef.org>
9022
9023         * plugins/elements/gstfakesrc.c:
9024           Use g_random_int_range(), since it produces better random
9025           numbers in a range than almost-correct floating point code.
9026
9027 2006-12-21  Stefan Kost  <ensonic@users.sf.net>
9028
9029         * libs/gst/check/gstcheck.c: (gst_check_setup_src_pad),
9030         (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
9031         (gst_check_teardown_sink_pad):
9032           do not automatically (de)activate pads
9033
9034         * tests/check/Makefile.am:
9035         * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
9036         (setup_queue), (cleanup_queue), (GST_START_TEST), (queue_suite):
9037           add new, yet simple tests for queue
9038
9039         * tests/check/elements/fakesrc.c: (cleanup_fakesrc):
9040         * tests/check/elements/fdsrc.c: (cleanup_fdsrc):
9041         * tests/check/elements/filesrc.c: (cleanup_filesrc),
9042         (GST_START_TEST):
9043         * tests/check/elements/identity.c: (cleanup_identity):
9044           consistent pad (de)activation
9045
9046 2006-12-20  Tim-Philipp Müller  <tim at centricular dot net>
9047
9048         Patch by: Sebastian Dröge  <slomo ubuntu com>
9049
9050         * libs/gst/base/gstcollectpads.c:
9051           Fix two doc typos (#387866).
9052
9053 2006-12-19  Tim-Philipp Müller  <tim at centricular dot net>
9054
9055         * docs/manual/advanced-dparams.xml:
9056           Fix typo (g_object_control_properties() doesn't exist).
9057
9058 2006-12-19  Edward Hervey  <edward@fluendo.com>
9059
9060         * gst/gstsegment.c: (gst_segment_set_seek):
9061         Fine tune the cases where the segment start/stop values are really
9062         updated.
9063         * tests/check/gst/gstsegment.c: (GST_START_TEST):
9064         Add tests for the return values of gst_segment_set_seek().
9065
9066 2006-12-19  Tim-Philipp Müller  <tim at centricular dot net>
9067
9068         * gst/gst.c:
9069           Docs typo fix.
9070
9071         * plugins/elements/gstqueue.c: (gst_queue_class_init),
9072         (gst_queue_init):
9073           Fix incorrect documentation and flesh it out a bit more.
9074           Set default values for the max properties on the GParamSpec as well,
9075           so it shows up correctly in gst-inspect.
9076
9077 2006-12-18  Stefan Kost  <ensonic@users.sf.net>
9078
9079         * plugins/elements/gstqueue.c: (queue_leaky_get_type):
9080           Correct docs of queue, add more detail and crosslink it more.
9081
9082 2006-12-16  Tim-Philipp Müller  <tim at centricular dot net>
9083
9084         * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
9085           Print additional debug info when the stream isn't perfectly
9086           timestamped; don't try to use invalid durations.
9087
9088 2006-12-16  Tim-Philipp Müller  <tim at centricular dot net>
9089
9090         * docs/design/Makefile.am:
9091           Dist new design docs.
9092
9093 2006-12-16  Wim Taymans  <wim@fluendo.com>
9094
9095         Patch by: Sjoerd Simons <sjoerd at luon dot net>
9096
9097         * libs/gst/base/gstcollectpads.c: (ref_data), (unref_data),
9098         (gst_collect_pads_add_pad), (gst_collect_pads_remove_pad),
9099         (gst_collect_pads_stop), (gst_collect_pads_event),
9100         (gst_collect_pads_chain):
9101         * libs/gst/base/gstcollectpads.h:
9102         Add refcounting to the collectpads data so we can track when it's safe
9103         to free the data. Fixes #383382.
9104
9105 2006-12-15  Wim Taymans  <wim@fluendo.com>
9106
9107         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
9108         (gst_collect_pads_remove_pad):
9109         Automatically activate/deactivate pads when they are added to a
9110         started/stoped collectpads.
9111
9112 2006-12-15  Wim Taymans  <wim@fluendo.com>
9113
9114         * gst/gstelement.c: (gst_element_add_pad):
9115         * gst/gstghostpad.c: (gst_ghost_pad_new_full):
9116         * gst/gstpad.c: (gst_pad_init):
9117         Set pads to FLUSHING when they are created. Check, warn and fix when a
9118         demuxer adds an inactive pad to itself when running. Fixes #339326.
9119
9120 2006-12-15  Wim Taymans  <wim@fluendo.com>
9121
9122         * gst/gstelement.c: (gst_element_class_init),
9123         (gst_element_default_send_event), (gst_element_send_event),
9124         (gst_element_default_query), (gst_element_query):
9125         Expose default element send_event and query handling as vmethods that
9126         subclasses can chain up to.
9127
9128 2006-12-15  Wim Taymans  <wim@fluendo.com>
9129
9130         * gst/gstelement.c: (gst_element_set_state_func):
9131         Small documentation fixes.
9132
9133 2006-12-15  Wim Taymans  <wim@fluendo.com>
9134
9135         * docs/design/draft-latency.txt:
9136         Checked in draft for handling latency in pipelines.
9137
9138 2006-12-15  Thomas Vander Stichele  <thomas at apestaart dot org>
9139
9140         * Makefile.am:
9141         * gstreamer.doap:
9142         * gstreamer.spec.in:
9143           adding .doap file
9144
9145 2006-12-14  Tim-Philipp Müller  <tim at centricular dot net>
9146
9147         * gst/gst.c: (init_pre), (init_post):
9148           init_pre() and init_post() might be called via our GOptionGroup or
9149           from gst_init(), and we should skip both of them if we've already
9150           been initialised, otherwise we will init some things twice or add
9151           two default log functions.
9152
9153 2006-12-13  Edward Hervey  <edward@fluendo.com>
9154
9155         * docs/manual/basics-bus.xml:
9156         No, gst_main_loop does not exist. Its g_main_loop.
9157         Discovered by somebody who abused the copy-paste technique of coding :)
9158
9159 2006-12-13  Tim-Philipp Müller  <tim at centricular dot net>
9160
9161         * gst/gstghostpad.c:
9162           Log ghostpad debug stuff to the GST_PADS category as well rather
9163           than just to the default category.
9164
9165 2006-12-12  Tim-Philipp Müller  <tim at centricular dot net>
9166
9167         * configure.ac:
9168         * gst/gst.c: (init_pre):
9169           Add some basic system details such as OS and architecture
9170           to the debug output if possible, courtesy of uname().
9171
9172 2006-12-11  Tim-Philipp Müller  <tim at centricular dot net>
9173
9174         * docs/gst/running.xml:
9175           Document GST_REGISTRY_FORK and GST_DEBUG_NO_COLOR
9176           environment variables.
9177
9178 2006-12-09  Jan Schmidt  <thaytan@mad.scientist.com>
9179
9180         * tests/check/gst/gstbin.c: (GST_START_TEST):
9181         It is acceptable to have a refcount of 2 or 3 at this point in the
9182         test, because the pipeline might be just posting its state_change
9183         message. The next line then waits for that message to appear using
9184         bus_poll, so that should be fine too.
9185
9186 2006-12-09  Jan Schmidt  <thaytan@mad.scientist.com>
9187
9188         * gst/gst.c: (ensure_current_registry_forking):
9189         Ignore EINTR when reading from the child registry pipe.
9190         Explicitly ignore the return value from close, since it makes no
9191         difference.
9192
9193         * gst/gstminiobject.c: (gst_mini_object_ref),
9194         (gst_mini_object_unref):
9195         When debugging refcounts, check GST_IS_MINI_OBJECT and warn.
9196
9197         * gst/gstregistry.c: (_priv_gst_registry_remove_cache_plugins):
9198         When removing cached plugins, remove their features too, so they're
9199         not visible after they've disappeared.
9200
9201         * gst/gstutils.c: (prepare_link_maybe_ghosting):
9202         In the unlikely case that we are linking pads with no parents, don't
9203         crash trying to get the non-existent parent bin.
9204
9205         * gst/parse/grammar.y:
9206         Output debug in the PIPELINE category
9207
9208 2005-03-08  Wim Taymans  <wim@fluendo.com>
9209
9210         Patch by: René Stadler <mail at renestadler dot de>
9211
9212         * gst/gstclock.c: (gst_clock_new_periodic_id):
9213         Reject invalid clock times for interval of periodic ids.
9214         Fixes ##383506.
9215
9216 2006-12-07  Jan Schmidt  <thaytan@mad.scientist.com>
9217
9218         * gst/gstelementfactory.c: (gst_element_factory_create):
9219         * gst/gstpluginfeature.c: (gst_plugin_feature_load):
9220         * gst/gsttypefindfactory.c: (gst_type_find_factory_call_function):
9221         * tools/gst-inspect.c: (print_element_info):
9222         Fix refcounting of gst_plugin_feature_load to match the docs. 
9223         Fixes: #380129
9224
9225 2006-12-07  Wim Taymans  <wim@fluendo.com>
9226
9227         * libs/gst/base/gstbasesink.c: (gst_base_sink_event),
9228         (gst_base_sink_get_position):
9229         Improve debugging of events.
9230
9231 2006-12-07  Wim Taymans  <wim@fluendo.com>
9232
9233         Patch by: René Stadler <mail at renestadler dot de>
9234
9235         * gst/gstclock.c: (gst_clock_id_wait):
9236         Make period ids add the interval to the origial requested time instead
9237         of the possibly updated time which can be wrong when there are multiple
9238         waiters for the same id. Fixes #382592.
9239
9240         * gst/gstsystemclock.c: (gst_system_clock_async_thread),
9241         (gst_system_clock_id_wait_jitter_unlocked),
9242         (gst_system_clock_id_wait_jitter):
9243         Fix restart in the async notify thread when an async entry is added to
9244         the front of the list. Fixes #381492. 
9245
9246         * tests/check/gst/gstsystemclock.c: (store_callback),
9247         (notify_callback), (GST_START_TEST), (gst_systemclock_suite):
9248         Added test for multiple async waits.
9249         Added test for async wait order.
9250
9251 2006-12-07  Wim Taymans  <wim@fluendo.com>
9252
9253         * gst/gstbin.c: (gst_bin_query):
9254         Add some more docs about the POSITION query.
9255
9256 2006-12-07  Jan Schmidt  <thaytan@mad.scientist.com>
9257
9258         * configure.ac:
9259         Bump version nano - back to CVS.
9260
9261 === release 0.10.11 ===
9262
9263 2006-12-06  Jan Schmidt <thaytan@mad.scientist.com>
9264
9265         * configure.ac:
9266           releasing 0.10.11, "Love never runs on time"
9267
9268 2006-12-01  Jan Schmidt  <thaytan@mad.scientist.com>
9269
9270         * win32/common/libgstbase.def:
9271         * win32/common/libgstreamer.def:
9272         * win32/vs8/libgstbase.vcproj:
9273         * win32/vs8/libgstcoreelements.vcproj:
9274         * win32/vs8/libgstreamer.vcproj:
9275         Fix compilation on win32 under VS8
9276         Patch by: Sergey Scobich <sergey dot scobich at gmail dot com>
9277         Partially fixes #381175
9278
9279 2006-11-29  Jan Schmidt  <thaytan@mad.scientist.com>
9280
9281         * gst/gstvalue.c: (gst_value_compare_fraction):
9282         If someone is foolish enough to compare 2 fractions with denominator =
9283         0, return UNORDERED rather than aborting.
9284
9285 2006-11-28  Edward Hervey  <edward@fluendo.com>
9286
9287         * libs/gst/base/Makefile.am:
9288         * libs/gst/base/gstdataqueue.c: (gst_data_queue_get_type),
9289         (gst_data_queue_base_init), (gst_data_queue_class_init),
9290         (gst_data_queue_init), (gst_data_queue_new),
9291         (gst_data_queue_cleanup), (gst_data_queue_finalize),
9292         (gst_data_queue_locked_flush), (gst_data_queue_locked_is_empty),
9293         (gst_data_queue_locked_is_full), (gst_data_queue_flush),
9294         (gst_data_queue_is_empty), (gst_data_queue_is_full),
9295         (gst_data_queue_set_flushing), (gst_data_queue_push),
9296         (gst_data_queue_pop), (gst_data_queue_drop_head),
9297         (gst_data_queue_set_property), (gst_data_queue_get_property):
9298         * libs/gst/base/gstdataqueue.h:
9299         New GstDataQueue object for threadsafe queueing. Most useful for
9300         elements that need some queueing functionnality.
9301         * docs/libs/gstreamer-libs-docs.sgml:
9302         * docs/libs/gstreamer-libs-sections.txt:
9303         Insert documentation for GstDataQueue
9304         * plugins/elements/Makefile.am:
9305         * plugins/elements/gstelements.c:
9306         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_base_init),
9307         (gst_multi_queue_class_init), (gst_multi_queue_init),
9308         (gst_multi_queue_finalize), (gst_multi_queue_set_property),
9309         (gst_multi_queue_get_property), (gst_multi_queue_request_new_pad),
9310         (gst_multi_queue_release_pad), (gst_single_queue_push_one),
9311         (gst_multi_queue_item_destroy), (gst_multi_queue_item_new),
9312         (gst_multi_queue_loop), (gst_multi_queue_chain),
9313         (gst_multi_queue_sink_activate_push), (gst_multi_queue_sink_event),
9314         (gst_multi_queue_getcaps), (gst_multi_queue_bufferalloc),
9315         (gst_multi_queue_src_activate_push), (gst_multi_queue_acceptcaps),
9316         (gst_multi_queue_src_event), (gst_multi_queue_src_query),
9317         (wake_up_next_non_linked), (compute_next_non_linked),
9318         (single_queue_overrun_cb), (single_queue_underrun_cb),
9319         (single_queue_check_full), (gst_single_queue_new):
9320         * plugins/elements/gstmultiqueue.h:
9321         New multiqueue element, using GstDataQueue. Used for queuing multiple
9322         streams.
9323         Closes #344639 and #347785
9324
9325 2006-11-22  Stefan Kost  <ensonic@users.sf.net>
9326
9327         * docs/pwg/advanced-types.xml:
9328           add more missing type details
9329
9330         * tools/gst-run.c: (main):
9331           remove unused variable
9332
9333 2006-11-21  Stefan Kost  <ensonic@users.sf.net>
9334
9335         * docs/libs/Makefile.am:
9336         * docs/libs/gstreamer-libs.types:
9337           add types of base classes to enable gobject specific stuff in the docs
9338
9339         * docs/random/ensonic/embedded.txt:
9340           more ideas about isolating platform specific things
9341
9342 2006-11-20  Wim Taymans  <wim@fluendo.com>
9343
9344         Patch by: Sebastian Dröge <slomo at ubuntu dot com>
9345
9346         * libs/gst/check/gstcheck.h:
9347         Fix compilation and running against 0.9.4. Fixes #377332.
9348
9349 2006-11-20  Wim Taymans  <wim@fluendo.com>
9350
9351         * gst/gstsegment.c: (gst_segment_set_seek),
9352         (gst_segment_set_newsegment_full), (gst_segment_to_stream_time),
9353         (gst_segment_to_running_time):
9354         Fix boundary checking in to_running_time() and to_stream_time().
9355         Fixes #377183.
9356
9357         * tests/check/gst/gstsegment.c: (GST_START_TEST):
9358         stream and running time can now be calculated for the complete
9359         clipped segment.
9360
9361 2006-11-15  Tim-Philipp Müller  <tim at centricular dot net>
9362
9363         * gst/gstpad.c: (gst_pad_push_event):
9364           Can't access event structure after giving away ownership of
9365           the event.
9366
9367 2006-11-15  Stefan Kost  <ensonic@users.sf.net>
9368
9369         * docs/random/ensonic/embedded.txt:
9370         * docs/random/ensonic/profiling.txt:
9371         * docs/random/ensonic/receipies.txt:
9372           more thinking
9373
9374 2006-11-13  Wim Taymans  <wim@fluendo.com>
9375
9376         Patch by: Mark Nauwelaerts <manauw at skynet dot be>
9377
9378         * gst/gstpad.c:
9379         Fix documentation for gst_pad_dispatcher. Fixes #374475.
9380
9381 2006-11-13  Wim Taymans  <wim@fluendo.com>
9382
9383         Patch by: Jonathan Matthew <jonathan at kaolin dot wh9 dot net>
9384
9385         * libs/gst/base/gstbasesrc.c: (gst_base_src_update_length):
9386         Store new length in segment duration so we don't keep on calling the
9387         potentially expensize get_size() call. Fixes #370865.
9388
9389 2006-11-10  Tim-Philipp Müller  <tim at centricular dot net>
9390
9391         Patch by: Sergey Scobich  <sergey.scobich at gmail com>
9392
9393         * win32/common/libgstreamer.def:
9394           Add two missing symbols (#366492).
9395
9396 2006-11-10  Jan Schmidt  <thaytan@mad.scientist.com>
9397
9398         * libs/gst/base/gstadapter.c: (gst_adapter_flush),
9399         (gst_adapter_take_buffer):
9400         Fix format string to use all its arguments.
9401         Remove useless >= check on a guint
9402
9403 2006-11-09  Jan Schmidt  <thaytan@mad.scientist.com>
9404
9405         * tests/examples/adapter/.cvsignore:
9406         Ignore build file as commanded by the build-bot
9407
9408 2006-11-09  Jan Schmidt  <thaytan@mad.scientist.com>
9409
9410         * tests/examples/adapter/Makefile.am:
9411         * tests/examples/adapter/adapter_test.c: (run_test_take),
9412         (run_test_take_buffer), (run_tests), (main):
9413
9414         Add new files from the previous commit
9415
9416 2006-11-09  Jan Schmidt  <thaytan@mad.scientist.com>
9417
9418         * Makefile.am:
9419         * configure.ac:
9420         * libs/gst/base/gstadapter.c: (gst_adapter_clear),
9421         (gst_adapter_push), (gst_adapter_peek_into), (gst_adapter_peek),
9422         (gst_adapter_flush), (gst_adapter_take), (gst_adapter_take_buffer):
9423         * libs/gst/base/gstadapter.h:
9424         * tests/check/libs/adapter.c: (create_and_fill_adapter),
9425         (GST_START_TEST), (gst_adapter_suite):
9426         * tests/examples/Makefile.am:
9427         Do some optimisation work in GstAdapter to avoid copies in more cases.
9428         It could still do slightly better by merging buffers when
9429         gst_buffer_is_span_fast is true, but is already faster. 
9430
9431         Also, avoid traversing a single-linked list to append each incoming 
9432         buffer inside the adapter.
9433
9434         Add simple test app that times the adapter behaviour in different
9435         situations, and extend the unit test to check that bytes enter and
9436         exit the adapter in their original order.
9437
9438 2006-11-08  Tim-Philipp Müller  <tim at centricular dot net>
9439
9440         * docs/random/draft-missing-plugins.txt:
9441           Update: use element message instead of adding a new message
9442           type to the core; don't provide GStreamer API to initiate the
9443           plugin download, just provide API to compose the strings needed
9444           and let an external libgimmestuff handle the rest.
9445
9446 2006-11-08  Jan Schmidt  <thaytan@mad.scientist.com>
9447
9448         * tools/gst-inspect.c: (print_element_properties_info):
9449         Print a string instead of 'unknown type' for GValueArray properties
9450
9451 2006-11-08  Christian F.K. Schaller  <christian@fluendo.com>
9452
9453         * docs/random/draft-missing-plugins.txt:
9454         More small fixes.
9455
9456 2006-11-07  Tim-Philipp Müller  <tim at centricular dot net>
9457
9458         * tests/examples/typefind/typefind.c: (type_found), (main):
9459           Make typefind element example work again (#371894); add a
9460           license header.
9461
9462 2006-11-07  Tim-Philipp Müller  <tim at centricular dot net>
9463
9464         * docs/random/draft-missing-plugins.txt:
9465           Commit initial draft about how to deal with missing plugins,
9466           needs work (API too).
9467
9468 2006-11-07  Stefan Kost  <ensonic@users.sf.net>
9469
9470         * docs/pwg/advanced-types.xml:
9471           documents the new caps elements (see #363118)
9472
9473 2006-11-06  Tim-Philipp Müller  <tim at centricular dot net>
9474
9475         * gst/gstplugin.c: (gst_plugin_load_file):
9476         * plugins/elements/gstfilesrc.c: (gst_mmap_buffer_finalize),
9477         (gst_file_src_map_region), (gst_file_src_start):
9478         * plugins/indexers/gstfileindex.c: (gst_file_index_load),
9479         (gst_file_index_commit):
9480           Use g_strerror() instead of strerror() - we want UTF-8.
9481
9482 2006-11-06  Tim-Philipp Müller  <tim at centricular dot net>
9483
9484         Patch by: Peter Kjellerstedt <pkj at axis com>
9485
9486         * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
9487           Another printf fix (#371493).
9488
9489 2006-11-06  Stefan Kost  <ensonic@users.sf.net>
9490
9491         * tests/check/gst/gsttag.c:
9492           relicence (okay with author=company)
9493
9494 2006-11-06  Stefan Kost  <ensonic@users.sf.net>
9495
9496         * gst/gstpad.c: (gst_pad_event_default_dispatch),
9497         (gst_pad_push_event):
9498           Enhance debug and improve docs
9499         
9500         * gst/gsturi.c:
9501           Fix docs
9502
9503 2006-11-06  Stefan Kost  <ensonic@users.sf.net>
9504
9505         * docs/random/ensonic/distributed.txt:
9506         * docs/random/ensonic/profiling.txt:
9507           more ideas
9508
9509 2006-11-06  Stefan Kost  <ensonic@users.sf.net>
9510
9511         * docs/gst/gstreamer-sections.txt:
9512           add new API and fix the build
9513           
9514         * gst/gstbin.c: (gst_bin_recalc_state):
9515         * gst/gstelement.c: (gst_element_message_full),
9516         (gst_element_get_state_func), (gst_element_set_state_func):
9517           use new API and improve logging
9518         
9519         * gst/gstutils.c: (gst_element_state_change_return_get_name):
9520         * gst/gstutils.h:
9521           API: add function to get StateChangereturn names to improve logs 
9522
9523 2006-11-04  Thomas Vander Stichele  <thomas at apestaart dot org>
9524
9525         * plugins/elements/gstfilesrc.c: (gst_file_src_start):
9526           I'm considering shooting the next person to put strerror stuff
9527           in the translateable part of the message.
9528
9529 2006-11-03  Wim Taymans  <wim@fluendo.com>
9530
9531         * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
9532         Get the type and printf conversion specifiers right.
9533
9534 2006-11-03  Wim Taymans  <wim@fluendo.com>
9535
9536         Patch by: Mark Nauwelaerts <manauw at skynet dot be>
9537
9538         * gst/gstpad.c: (gst_pad_init), (pre_activate),
9539         (gst_pad_set_blocked_async), (gst_pad_acceptcaps_default),
9540         (gst_pad_accept_caps), (handle_pad_block), (gst_pad_push_event):
9541         Some small cleanups. Improve debugging.
9542         * gst/gstpad.h:
9543         Signal all waiting threads with a broadcast instead of just one.
9544         Fixes #369942.
9545
9546 2006-11-03  Wim Taymans  <wim@fluendo.com>
9547
9548         * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd),
9549         (gst_fd_src_create):
9550         Add some debugging. 
9551         Only update fd when it's different from the old.
9552
9553 2006-11-02  Tim-Philipp Müller  <tim at centricular dot net>
9554
9555         * plugins/elements/gstfilesrc.c: (gst_file_src_create_mmap):
9556           Printf fixes for PPC/OSX, take two (#369366).
9557
9558 2006-11-02  Tim-Philipp Müller  <tim at centricular dot net>
9559
9560         Based on patch by: Jan David Mol  <j.j.d.mol at tudelft nl>
9561
9562         * plugins/elements/gstfilesink.c: (gst_file_sink_class_init):
9563         * plugins/elements/gstfilesrc.c: (gst_file_src_class_init),
9564         (gst_file_src_map_small_region), (gst_file_src_create_mmap):
9565           Printf fixes for gsize parameters on PPC/OSX (#369366). Also,
9566           don't cast to long long for portability reasons, but use
9567           GLib's types instead.
9568
9569 2006-10-30  Michael Smith  <msmith@fluendo.com>
9570
9571         * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
9572           Get the arguments to lseek() the right way around.
9573           Fixes 367677.
9574
9575 2006-10-30  Wim Taymans  <wim@fluendo.com>
9576
9577         Patch by: gorshkov <gorshkov at oghma dot on dot ca>
9578
9579         * gst/gstinfo.h:
9580         _declspec should be __declspec (two underscores, not one). Fixes 366572.
9581
9582 2006-10-28  Tim-Philipp Müller  <tim at centricular dot net>
9583
9584         Patch by: Kjartan Maraas  <kmaraas at gnome org>
9585
9586         * docs/design/part-MT-refcounting.txt:
9587         * docs/random/wtay/capsnego2-docs:
9588         * gst/gstclock.c:
9589         * gst/gstxml.c:
9590           Typo fixes (#366212).
9591
9592 2006-10-28  Wim Taymans  <wim@fluendo.com>
9593
9594         Patch by: Sergey Scobich <sergey dot scobich at gmail dot com>
9595
9596         * gst/gst.c:
9597         * win32/common/libgstbase.def:
9598         * win32/common/libgstreamer.def:
9599         * win32/vs8/libgstbase.vcproj:
9600         * win32/vs8/libgstcontroller.vcproj:
9601         Add needed entries in .def files.
9602         Use HAVE_UNISTD_H.
9603         Rearrange def files in vs8 solutions. Fixes #366286.
9604
9605 2006-10-28  Tim-Philipp Müller  <tim at centricular dot net>
9606
9607         * win32/common/gstconfig.h:
9608           Add GST_SEGMENT_FORMAT and GST_USING_PRINTF_EXTENSION to the
9609           hand-made win32 gstconfig.h. Fixes #366321.
9610
9611 2006-10-27  Wim Taymans  <wim@fluendo.com>
9612
9613         * gst/gstghostpad.c: (gst_proxy_pad_do_acceptcaps),
9614         (gst_ghost_pad_new_full):
9615         Make acceptcaps return TRUE when we don't have a target, just like
9616         setcaps does.
9617
9618 2006-10-27  Wim Taymans  <wim@fluendo.com>
9619
9620         * libs/gst/base/gstbasetransform.c: (gst_base_transform_chain):
9621         Revert previous commit, 0 sized buffers are allowed. Reopens #363095.
9622
9623 2006-10-26  Tim-Philipp Müller  <tim at centricular dot net>
9624
9625         * gst/gststructure.c: (gst_structure_id_set_value):
9626           If someone tries to set a non-UTF8 string field on a structure,
9627           don't just print a warning, but also ignore the request and do
9628           not change/add that field to the structure.
9629
9630         * tests/check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
9631           Test for the above.
9632
9633 2006-10-25  David Schleef  <ds@schleef.org>
9634
9635         * gst/gstinfo.c:
9636           g_hash_table_insert() needs a cast to a non-const pointer duh.
9637
9638 2006-10-25  David Schleef  <ds@schleef.org>
9639
9640         * gst/gstinfo.c:
9641         * gst/gstinfo.h:
9642           Change name parameter of _gst_debug_register_funcptr to const
9643           to reflect the constness of its use in the function as well
9644           as to quiet a gcc warning.
9645
9646 2006-10-25  Edward Hervey  <edward@fluendo.com>
9647
9648         * libs/gst/base/gstbasetransform.c: (gst_base_transform_chain):
9649         Don't push the buffer if it's empty.
9650         Closes #363095
9651
9652 2006-10-24  Wim Taymans  <wim@fluendo.com>
9653
9654         * gst/gstevent.h:
9655         Add small comment.
9656
9657         * libs/gst/base/gstbasetransform.c:
9658         (gst_base_transform_sink_eventfunc):
9659         Debug segment values *after* updating them as this is more
9660         interesting.
9661
9662 2006-10-23  Wim Taymans  <wim@fluendo.com>
9663
9664         * docs/design/part-events.txt:
9665         Update some docs.
9666
9667         * docs/design/part-block.txt:
9668         * gst/gstpad.c: (gst_pad_is_blocking), (handle_pad_block),
9669         (gst_pad_push_event):
9670         Revert BLOCKING patch, it tries to be smart without really having a
9671         clear idea what or how. So, now we discard all FLUSHING events again on
9672         a blocking pad. Should fix gnonlin again.
9673
9674 2006-10-23  Wim Taymans  <wim@fluendo.com>
9675
9676         Patch by: Sergey Scobich <sergey dot scobich at gmail dot com>
9677
9678         * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
9679         (gst_base_src_start), (gst_base_src_activate_push):
9680         Make sure size is always initialized. Fixes #364388.
9681
9682 2006-10-20  Stefan Kost  <ensonic@users.sf.net>
9683
9684         * docs/random/ensonic/distributed.txt:
9685           add some ideas about doing distributed processing
9686
9687         * docs/random/ensonic/profiling.txt:
9688           get_rusage look promising
9689
9690 2006-10-18  Stefan Kost  <ensonic@users.sf.net>
9691
9692         * docs/manual/basics-helloworld.xml:
9693           Add a cast in example to fix compile warning
9694
9695 2006-10-18  Wim Taymans  <wim@fluendo.com>
9696
9697         * gst/gstsegment.c: (gst_segment_set_last_stop),
9698         (gst_segment_set_seek), (gst_segment_set_newsegment_full):
9699         Relax arg checking again, -1 is allowed.
9700
9701 2006-10-18  Wim Taymans  <wim@fluendo.com>
9702
9703         * gst/gstsegment.c: (gst_segment_set_last_stop),
9704         (gst_segment_set_seek), (gst_segment_set_newsegment_full):
9705         _set_last_stop() must be with a value != -1
9706         A _TYPE_SET to -1 means seek to 0.
9707         Calc last_stop correctly for negative rates.
9708         Make sure we work with positive durations when updating a segment.
9709
9710 2006-10-18  Wim Taymans  <wim@fluendo.com>
9711
9712         * docs/design/part-live-source.txt:
9713         * gst/gstclock.h:
9714         Small docs fixes.
9715
9716 2006-10-18  Tim-Philipp Müller  <tim at centricular dot net>
9717
9718         * gst/gstbuffer.h:
9719           Add an explicit cast to GstBuffer** to keep old code that added an
9720           explicit cast to GstMiniObject** for gst_mini_object_replace()
9721           compiling without warning.
9722
9723 2006-10-18  Stefan Kost  <ensonic@users.sf.net>
9724
9725         * gst/gstvalue.c: (gst_value_set_date), (gst_date_copy):
9726           check for validity of dates
9727
9728 2006-10-17  Tim-Philipp Müller  <tim at centricular dot net>
9729
9730         * docs/gst/gstreamer-sections.txt:
9731           Forgot this one, makes gtk-doc shut up.
9732
9733 2006-10-17  Tim-Philipp Müller  <tim at centricular dot net>
9734
9735         Patch by: Peter Kjellerstedt <pkj at axis com>
9736
9737         * gst/gstobject.h:
9738           Don't define xmlNodePtr to gpointer if the core was built with
9739           --disable-loadsave and --disable-registry, this will break
9740           applications that want to use libxml2 but are buildling against a
9741           core that doesn't use libxml2. Use an intermediary type GstXmlNodePtr
9742           instead so we don't have to mess with the libxml2 namespace
9743           (#361675).
9744
9745 2006-10-17  Tim-Philipp Müller  <tim at centricular dot net>
9746
9747         * gst/gstbuffer.h:
9748           Fix gst_buffer_replace() macro to avoid gst_mini_object_replace()-related
9749           type-punned pointer warnings.
9750
9751 2006-10-16  Tim-Philipp Müller  <tim at centricular dot net>
9752
9753         * gst/gstelement.h:
9754           Add casts to the correct return type to state <=> state transition
9755           macros.
9756
9757 2006-10-16  Stefan Kost  <ensonic@users.sf.net>
9758
9759         * docs/design/part-live-source.txt:
9760           describe howto handle latency
9761         
9762         * docs/random/ensonic/profiling.txt:
9763           more ideas
9764
9765         * tools/gst-plot-timeline.py:
9766           fix log parsing for solaris, remove unused function
9767
9768 2006-10-16  Wim Taymans  <wim@fluendo.com>
9769
9770         * docs/design/part-trickmodes.txt:
9771         * gst/gstevent.c:
9772         Update some docs regarding reverse playback.
9773
9774 2006-10-15  Tim-Philipp Müller  <tim at centricular dot net>
9775
9776         Patch by: Marcus Granado  <mrc dot gran at gmail com>
9777
9778         * win32/vs8/grammar.vcproj:
9779           Error out with a warning if glib-genmarshal.exe is not in path,
9780           instead of creating bogus gstmarshal.[ch] files. Fixes #361720.
9781
9782 2006-10-13  Wim Taymans  <wim@fluendo.com>
9783
9784         * gst/gstsegment.c: (gst_segment_set_seek):
9785         When seeking to stop -1, set last_stop (current position) to the
9786         duration of the segment.
9787
9788 2006-10-13  Wim Taymans  <wim@fluendo.com>
9789
9790         * gst/gstelement.h:
9791         Clarify _NO_PREROLL a bit more.
9792
9793         * gst/gstevent.c:
9794         Fix docs.
9795
9796         * gst/gstpad.c: (gst_pad_link_check_hierarchy),
9797         (gst_pad_get_caps_unlocked), (gst_pad_save_thyself),
9798         (handle_pad_block), (gst_pad_push_event), (gst_pad_send_event):
9799         Patch by: Yves Lefebvre <ivanohe at abacom dot com> Fix possible deadlock
9800         due to wrong locking order. Fixes #361769.
9801         Remove some redundant/misplaced checks in pad_block.
9802
9803         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
9804         For negative rates, count backwards from the duration.
9805
9806 2006-10-13  Tim-Philipp Müller  <tim at centricular dot net>
9807
9808         * gst/gsterror.c: (_gst_library_errors_init):
9809           Fix error message for GST_LIBRARY_ERROR_SETTINGS (feel free to come
9810           up with something better).
9811
9812 2006-10-12  Tim-Philipp Müller  <tim at centricular dot net>
9813
9814         * win32/vs6/libgstreamer.dsp:
9815         * win32/vs7/libgstreamer.vcproj:
9816         * win32/vs8/libgstreamer.vcproj:
9817           Don't reference glib-compat.c which is currently not used and not
9818           disted; add gstquark.c which was recently added. Fixes #361730.
9819
9820 2006-10-12  Tim-Philipp Müller  <tim at centricular dot net>
9821
9822         * win32/common/libgstbase.def:
9823         * win32/common/libgstcontroller.def:
9824         * win32/common/libgstreamer.def:
9825           Add gst_caps_merge() and a bunch of other recently-added functions.
9826           Fixes #361732.
9827
9828 2006-10-11  Wim Taymans  <wim@fluendo.com>
9829
9830         * docs/plugins/gstreamer-plugins.args:
9831         * docs/plugins/inspect/plugin-coreelements.xml:
9832         * docs/plugins/inspect/plugin-coreindexers.xml:
9833         Update element args.
9834
9835         * gst/gstsystemclock.c:
9836         Small comment update.
9837
9838         * plugins/elements/gsttee.c: (gst_tee_class_init), (gst_tee_init),
9839         (gst_tee_request_new_pad), (gst_tee_release_pad),
9840         (gst_tee_buffer_alloc), (gst_tee_sink_activate_push),
9841         (gst_tee_sink_activate_pull):
9842         * plugins/elements/gsttee.h:
9843         Some tee loving:
9844         Add default property defines.
9845         Implement release pad function.
9846         Give properties better blubs etc.
9847         Activate pads before adding them to a running tee.
9848         Do simple buffer_alloc on the first requested pad.
9849         Post error when activation fails.
9850
9851 2006-10-11  Tim-Philipp Müller  <tim at centricular dot net>
9852
9853         * gst/gst.c: (ensure_current_registry_forking):
9854           Check return value of write() to make compiler happy.
9855
9856 2006-10-11  Wim Taymans  <wim@fluendo.com>
9857
9858         Patch by: Sjoerd Simons <sjoerd at luon dot net>
9859
9860         * plugins/elements/gstqueue.c: (gst_queue_chain):
9861         Recheck queue filledness after signalling the overrun when we're about
9862         to leak downstream because we released the lock when emitting the signal
9863         and the queue could be empty again. Fixes #352345.
9864
9865 2006-10-11  Tim-Philipp Müller  <tim at centricular dot net>
9866
9867         * libs/gst/controller/gstcontroller.c: (gst_controller_new_list):
9868           Fix refcounting here too, just like we did for _new_valist() a few
9869           days ago (#357180) (thanks to René Stadler). Also remove all those
9870           'Since: 0.9' from the gtk-doc blobs.
9871
9872         * tests/check/libs/controller.c: (controller_refcount_new_list),
9873         (gst_controller_suite):
9874           Unit test for the above.
9875
9876 2006-10-10  Wim Taymans  <wim@fluendo.com>
9877
9878         Patch by: Sebastien Cote <sebas642 at yahoo dot ca>
9879
9880         * gst/gstpad.c: (gst_pad_get_caps_unlocked),
9881         (gst_pad_save_thyself):
9882         Update some docs.
9883         Write pad direction in XML output. Fixes #345496.
9884
9885 2006-10-10  Wim Taymans  <wim@fluendo.com>
9886
9887         Patch by: René Stadler <mail at renestadler dot de>
9888
9889         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
9890         (gst_controller_new_list), (_gst_controller_dispose),
9891         (_gst_controller_finalize), (_gst_controller_class_init):
9892         Take ref to controlled object so that it cannot disappear. 
9893         Fixes #357432.
9894
9895 2006-10-10  Wim Taymans  <wim@fluendo.com>
9896
9897         * libs/gst/check/gstcheck.c: (gst_check_setup_src_pad),
9898         (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
9899         (gst_check_teardown_sink_pad):
9900         Activate/deactivate pads in setup/teardown respectively.
9901
9902 2006-10-10  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
9903
9904         Patch by: Josep Torra Valles <josep@fluendo.com>
9905
9906         * gst/Makefile.am:
9907         Cast values when making gstenumtypes.h.  This pacifies Forte
9908         so it doesn't warn about the ~0 as GST_MESSAGE_ANY not fitting
9909         in the enumeration.
9910
9911 2006-10-09  Wim Taymans  <wim@fluendo.com>
9912
9913         * gst/gstevent.c: (gst_event_new_seek), (gst_event_parse_seek):
9914         Rename some more @cur to @start to fix docs. 
9915
9916         * gst/gstsegment.c: (gst_segment_set_seek):
9917         Fix typo.
9918         time and start must always stay in sync as defined in design doc.
9919
9920         * gst/gsttaglist.c: (gst_tag_list_is_empty):
9921         Rename param to fix docs.
9922
9923         * tests/check/gst/gstsegment.c: (GST_START_TEST):
9924         Check that start and time are in sync.
9925
9926         * tests/check/pipelines/parse-launch.c:
9927         (gst_parse_test_element_change_state):
9928         Activate pad before adding to the element.
9929
9930 2006-10-09  Wim Taymans  <wim@fluendo.com>
9931
9932         * docs/design/part-qos.txt:
9933         Fix typo.
9934
9935         * gst/gstevent.c:
9936         * gst/gstevent.h:
9937         Update seek event docs regarding negative rates.
9938         Rename @cur to @start. 
9939
9940         * gst/gstsegment.c: (gst_segment_set_seek):
9941         * gst/gstsegment.h:
9942         Update set_seek docs regarding negative rates.
9943         Correctly update last_stop to @stop when dealing with negative
9944         rates.
9945         Rename @cur to @start. 
9946
9947         * tests/check/gst/gstpad.c: (GST_START_TEST):
9948         Activate pads before trying to use them.
9949
9950         * tests/check/gst/gstsegment.c: (GST_START_TEST),
9951         (gst_segment_suite):
9952         Add simple check for segments and negative rates.
9953
9954 2006-10-09  Tim-Philipp Müller  <tim at centricular dot net>
9955
9956         * gst/gsttaglist.c: (gst_tag_list_is_empty):
9957         * gst/gsttaglist.h:
9958         * docs/gst/gstreamer-sections.txt:
9959           API: add gst_tag_list_is_empty() (#360467).
9960
9961         * tests/check/gst/gsttag.c: (GST_START_TEST):
9962           And a test case.
9963
9964 2006-10-09  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
9965
9966         * gst/gstmessage.h:
9967         Revert change from earlier wrt GST_MESSAGE_TYPE_ANY having
9968         a value that doesn't fit on enumeration.
9969
9970 2006-10-09  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
9971
9972         * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
9973         Remove local debugging system and use Gstreamer's instead.
9974
9975 2006-10-09  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
9976
9977         Patch by: Josep Torra Valles <josep@fluendo.com>
9978
9979         * common/m4/gst-error.m4:
9980         Disable warning of statement not reached on Forte.
9981         * gst/gstmessage.h:
9982         Fix warning on Forte (value doesn't fit on enumeration).
9983         * libs/gst/base/gstbasesink.c: (gst_base_sink_chain_unlocked):
9984         Fix warning on Forte (value doesn't fit on enumeration).
9985         * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
9986         DEBUG macro says it takes minimum of 2 args and so Forte
9987         complains about the use with just 1 arg.
9988         * plugins/elements/gstfdsink.c:
9989         * plugins/elements/gstfdsrc.c:
9990         * plugins/elements/gstfilesink.c:
9991         * plugins/elements/gstfilesrc.c:
9992         Use correct return type for the uri handler implementations.
9993
9994         All these fix warnings in Forte.  Fixes bug #360860.
9995
9996 2006-10-08  Tim-Philipp Müller  <tim at centricular dot net>
9997
9998         * gst/gstelement.h:
9999           gcc versions prior to gcc 3.3 apparently complain about a NULL printf
10000           format string, so don't use G_GNUC_PRINTF for those versions.
10001
10002 2006-10-07  Tim-Philipp Müller  <tim at centricular dot net>
10003
10004         * gst/gsttaglist.c: (gst_is_tag_list):
10005         * gst/gsttaglist.h:
10006           Minor fixes to GST_IS_TAG_LIST and gst_is_tag_list().
10007
10008         * tests/check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
10009           Small test for the above.
10010
10011 2006-10-07  Tim-Philipp Müller  <tim at centricular dot net>
10012
10013         * gst/gsttaglist.h:
10014           Less tabs, more spaces.
10015
10016 2006-10-06  Tim-Philipp Müller  <tim at centricular dot net>
10017
10018         * gst/gstinfo.h:
10019           Those two function declarations do actually belong there, revert
10020           commit from yesterday that turned them intro macros.
10021
10022 2006-10-06  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
10023
10024         Patch by: Josep Torra Valles <josep@fluendo.com>
10025
10026         * gst/gst.c: (gst_init_get_option_group):
10027         Fix empty declaration and type mismatch.
10028         * gst/gstbin.c: (gst_bin_change_state_func):
10029         Fix type mismatch.
10030         * gst/gstelement.c: (gst_element_continue_state),
10031         (gst_element_set_state_func), (gst_element_change_state),
10032         (gst_element_change_state_func):
10033         Fix type mismatches.
10034         * gst/gstinfo.c: (gst_debug_compare_log_function_by_func),
10035         (gst_debug_remove_log_function), (_gst_debug_nameof_funcptr):
10036         Cast as appropriate.
10037         * gst/gstobject.c: (gst_class_signal_connect):
10038         Cast as appropriate.  The function pointer parameter really
10039         has the wrong type but would break API if we change it.
10040         * gst/gstquery.c:
10041         Fix redefinition of _FILE_OFFSET_BITS caused on Solaris wrt
10042         order of including string.h.
10043         * gst/gstutils.c: (gst_element_state_get_name):
10044         Remove unreachable line.
10045         * gst/gstxml.c: (gst_xml_parse_doc):
10046         Fix type mismatch.
10047         All these caught by Forte.
10048
10049 2006-10-06  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
10050
10051         Patch by: Josep Torra Valles <josep@fluendo.com>
10052
10053         * common/m4/gst-error.m4:
10054         Fixed bug #360151.
10055         We need to disable warnings on Forte for empty declarations
10056         due to gst-indent adding ;s to lines that just use macros
10057         where the macro actually doesn't need a ; at end to end
10058         statement.
10059
10060 2006-10-06  Wim Taymans  <wim@fluendo.com>
10061
10062         * plugins/elements/gstfilesink.c: (gst_file_sink_open_file),
10063         (gst_file_sink_close_file), (gst_file_sink_event),
10064         (gst_file_sink_render):
10065         Add some FIXME for the NEWSEGMENT handling.
10066
10067 2006-10-05  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
10068
10069         * gst/parse/grammar.y:
10070         Remove static function gst_parse_element_lock as all it does
10071         is return.  Looks like cruft from 0.8.
10072
10073 2006-10-05  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
10074
10075         Patch by: Josep Torra Valles <josep@fluendo.com>
10076
10077         * common/m4/gst-error.m4:
10078         * configure.ac:
10079         * libs/gst/net/Makefile.am:
10080         Fix a compilation issue with Forte on Solaris.  inet_aton is in
10081         libresolv.
10082
10083 2006-10-05  Tim-Philipp Müller  <tim at centricular dot net>
10084
10085         * gst/gstpad.c: (pre_activate):
10086         * gst/gstregistry.c: (gst_registry_scan_path_level):
10087         * gst/gstregistryxml.c: (load_plugin):
10088         * libs/gst/controller/gstcontroller.c:
10089         (gst_controlled_property_set_interpolation_mode):
10090         * libs/gst/dataprotocol/dataprotocol.c:
10091         (gst_dp_packet_from_event_1_0):
10092         * libs/gst/net/gstnetclientclock.c:
10093         (gst_net_client_clock_observe_times):
10094         * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
10095           Printf fixes.
10096
10097 2006-10-05  Tim-Philipp Müller  <tim at centricular dot net>
10098
10099         * configure.ac:
10100         * docs/gst/gstreamer-sections.txt:
10101         * gst/gstconfig.h.in:
10102         * gst/gstelement.h:
10103         * gst/gstinfo.h:
10104           Add GST_USING_PRINTF_EXTENSION to gstconfig.h so that we know
10105           whether we can use G_GNUC_PRINTF in other header files and at
10106           least check the printf format/arguments of debug messages and
10107           GST_ELEMENT_ERROR messages when the printf extension is not
10108           being used.
10109           Replace more tabs with spaces in gstinfo.h and remove two spurious
10110           function declarations in GST_DISABLE_DEBUG part with macros.
10111
10112 2006-10-03  Tim-Philipp Müller  <tim at centricular dot net>
10113
10114         * gst/gstbus.c: (gst_bus_class_init), (gst_bus_post):
10115           More docs for the sync-message signal (mention that it is not
10116           emitted by default); log message structures of messages posted on
10117           the bus as well.
10118
10119 2006-10-03  Jan Schmidt  <thaytan@mad.scientist.com>
10120
10121         * gst/gst.c: (ensure_current_registry_forking):
10122         Use a pipe pair to receive status results from the forked child, and
10123         ignore the result from waitpid. Fixes #355499
10124
10125 2006-10-02  Wim Taymans  <wim@fluendo.com>
10126
10127         * tests/check/gst/gstghostpad.c: (GST_START_TEST),
10128         (gst_ghost_pad_suite):
10129         Fix leak in check.
10130
10131 2006-10-02  Tim-Philipp Müller  <tim at centricular dot net>
10132
10133         * gst/gstpad.c:
10134           Add 'Since: 0.10.11' to gst_pad_is_blocking() gtk-doc blurb.
10135
10136 2006-10-02  Edward Hervey  <edward@fluendo.com>
10137
10138         * docs/design/part-block.txt:
10139         Further explain the use of flushing on blocked pads.
10140         * docs/gst/gstreamer-sections.txt:
10141         * gst/gstpad.c: (gst_pad_is_blocking), (handle_pad_block),
10142         (gst_pad_push_event):
10143         * gst/gstpad.h:
10144         Added new GstPadFlag : GST_PAD_BLOCKING.
10145         Adds the notion of pads really blocking, which enables to properly
10146         handle FLUSH_START/FLUSH_STOP events on blocked pads.
10147         Fixes #358999
10148         API: gst_pad_is_blocking()
10149         API: GST_PAD_IS_BLOCKING() macro
10150         API: GST_PAD_BLOCKING GstPadFlag
10151         
10152 2006-10-02  Wim Taymans  <wim@fluendo.com>
10153
10154         Patch by: mrcgran <mrc.gran at gmail dot com>
10155
10156         * gst/gstghostpad.c: (gst_proxy_pad_do_getcaps):
10157         Filter the proxied caps against the padtemplate if we have one.
10158
10159         * gst/gstquery.c: (gst_query_new_segment):
10160         Add include for gstinfo.h so that compilation with
10161         -DGST_DISABLE_GST_DEBUG works again. Fixes #358436.
10162
10163 2006-10-02  Wim Taymans  <wim@fluendo.com>
10164
10165         Patch by: Alessandro Decina  <alessandro at nnva org>
10166
10167         * plugins/elements/gstfilesink.c: (gst_file_sink_init),
10168         (gst_file_sink_set_location), (gst_file_sink_open_file),
10169         (gst_file_sink_close_file), (gst_file_sink_event),
10170         (gst_file_sink_render):
10171         Set file to NULL when closing filesink so that we can set a new filename
10172         in READY. Fixes #358613.
10173
10174 2006-10-02  Tim-Philipp Müller  <tim at centricular dot net>
10175
10176         Patch by: Alessandro Decina  <alessandro at nnva org>
10177
10178         * gst/gstevent.c: (_gst_event_copy):
10179           Fix gst_mini_object_make_writable() and gst_event_copy() for events
10180           with event structures by setting the parent refcount address of the
10181           copied structure to the address of the refcount member of the newly
10182           copied event rather than the address of the refcount member of the
10183           original event. Fixes #358737.
10184
10185         * tests/check/gst/gstevent.c: (GST_START_TEST):
10186           Unit test for the above.
10187
10188 2006-09-29  Stefan Kost  <ensonic@users.sf.net>
10189
10190         * docs/design/Makefile.am:
10191           Dist some more files.
10192
10193 2006-09-29  Tim-Philipp Müller  <tim at centricular dot net>
10194
10195         * tests/check/libs/controller.c: (GST_START_TEST),
10196         (gst_controller_suite):
10197           Add test for the previous fix; add some more tests
10198           for correct refcounting behaviour; fix a few leaks
10199           in test cases; call gst_controller_init() at start
10200           of all tests.
10201
10202 2006-09-29  Tim-Philipp Müller  <tim at centricular dot net>
10203
10204         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
10205         (gst_controller_set_from_list):
10206           Don't g_return_val_if_fail() on timed values with invalid timestamps
10207           inside a critical section without unlocking the mutex. Spotted by
10208           René Stadler. (#357617)
10209           Also, fix up refcounting properly: when returning an existing
10210           controller, we should increase the reference only once and not
10211           once per property and when trying to control a property again
10212           we should also increase the refcount.
10213
10214 2006-09-29  Wim Taymans  <wim@fluendo.com>
10215
10216         * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
10217         * libs/gst/net/gstnettimeprovider.c:
10218         (gst_net_time_provider_thread):
10219         Stop reading commands when EOF as well.
10220
10221         * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init):
10222         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init):
10223         * plugins/elements/gstidentity.c: (gst_identity_class_init):
10224         Unify description of the dump property.
10225
10226 2006-09-28  Jan Schmidt  <thaytan@mad.scientist.com>
10227
10228         * tests/examples/manual/.cvsignore:
10229         OK, so it's actually cvsignore that needs changing. Stop laughing.
10230
10231 2006-09-28  Jan Schmidt  <thaytan@mad.scientist.com>
10232
10233         * tests/examples/manual/Makefile.am:
10234         Gah, declare vars *before* using them
10235
10236 2006-09-28  Jan Schmidt  <thaytan@mad.scientist.com>
10237
10238         * gst/gst.c: (init_pre), (scan_and_update_registry),
10239         (ensure_current_registry_nonforking),
10240         (ensure_current_registry_forking), (ensure_current_registry),
10241         (init_post), (gst_debug_help), (gst_deinit):
10242         * gst/gst_private.h:
10243         * gst/gstregistry.c: (gst_registry_finalize),
10244         (gst_registry_remove_features_for_plugin_unlocked),
10245         (gst_registry_remove_plugin), (gst_registry_scan_path_level),
10246         (gst_registry_scan_path),
10247         (_priv_gst_registry_remove_cache_plugins),
10248         (_priv_gst_registry_cleanup):
10249         * gst/gstregistry.h:
10250         Re-commit the registry changes, along with an extra fix:
10251           When a cached plugin is encountered at a different file path,
10252           update the stored path in the registry cache so that the parent
10253           process knows where it actually is now when it re-reads the registry
10254           cache. Fixes the thing that broke distcheck with the previous commit.
10255
10256         * tests/check/Makefile.am:
10257         Clean up files named 'core' too when running make clean.
10258
10259         * tests/examples/manual/Makefile.am:
10260         Set up a registry path for running these tests, and clean it properly
10261         for distcheck.
10262
10263 2006-09-28  Jan Schmidt  <thaytan@mad.scientist.com>
10264
10265         * configure.ac:
10266         Don't pull in gmodule-2.0.pc as a dependency in our .pc files - we
10267         want gmodule-no-export-2.0.pc instead so that we don't drag in
10268         --export-dynamic on every project that links to GStreamer.
10269
10270         Also, make our export regex only match the start of symbols, rather 
10271         than any symbol that contains '_gst' somewhere.
10272
10273         * libs/gst/check/Makefile.am:
10274         The libgstcheck we build does however need export-dynamic, as it
10275         produces some symbols that don't match our _gst... style regex.
10276         Fixes: #318031
10277
10278 2006-09-27  Jan Schmidt  <thaytan@mad.scientist.com>
10279
10280         * gst/gst.c: (init_pre), (scan_and_update_registry),
10281         (ensure_current_registry_nonforking),
10282         (ensure_current_registry_forking), (ensure_current_registry),
10283         (init_post), (gst_debug_help), (gst_deinit):
10284         * gst/gst_private.h:
10285         * gst/gstregistry.c: (gst_registry_finalize),
10286         (gst_registry_remove_plugin), (gst_registry_scan_path_level),
10287         (gst_registry_scan_path), (_gst_registry_remove_cache_plugins),
10288         (_gst_registry_cleanup):
10289         * gst/gstregistry.h:
10290           Revert previous change until I figure out why it breaks distcheck.
10291
10292 2006-09-27  Jan Schmidt  <thaytan@mad.scientist.com>
10293
10294         * gst/gst.c: (init_pre), (scan_and_update_registry),
10295         (ensure_current_registry_nonforking),
10296         (ensure_current_registry_forking), (ensure_current_registry),
10297         (init_post), (gst_debug_help), (gst_deinit):
10298
10299           Make init_pre and init_post take the full complement of GOptionFunc
10300           args so they can return useful GErrors. Make the registry updating
10301           functions do so.
10302
10303           Call _priv_gst_registry_remove_cache_plugins after scanning files to
10304           ensure that the registry we're about to write out doesn't contain
10305           stale information about old-deleted plugin files.
10306
10307           Make _priv_gst_registry_remove_cache_plugins return a boolean so
10308           that deletion of plugin files is considered a registry change.
10309
10310         * gst/gst_private.h:
10311         * gst/gstregistry.c: (gst_registry_finalize),
10312         (gst_registry_remove_features_for_plugin_unlocked),
10313         (gst_registry_remove_plugin), (gst_registry_scan_path_level),
10314         (gst_registry_scan_path),
10315         (_priv_gst_registry_remove_cache_plugins),
10316         (_priv_gst_registry_cleanup):
10317         * gst/gstregistry.h:
10318         Rename _gst_registry_remove_cache_plugins and _gst_registry_cleanup
10319         by adding _priv prefix, so that they won't appear in the global
10320         symbol table. They still do atm though because of #318031. Move the
10321         prototypes to gst_private.h
10322
10323         When removing a plugin, remove all features for that plugin too. 
10324         Fixes #340878.
10325
10326 2006-09-27  Wim Taymans  <wim@fluendo.com>
10327
10328         * docs/random/moving-plugins:
10329         Make it clear that the "compiled-in descriptions" really mean
10330         the element details.
10331
10332         * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
10333         (gst_base_sink_wait_preroll):
10334         Update docs.
10335
10336         * docs/libs/gstreamer-libs-sections.txt:
10337         * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
10338         (gst_base_src_get_range), (gst_base_src_activate_push):
10339         * libs/gst/base/gstbasesrc.h:
10340         Added function to block while waiting for PLAYING, this function
10341         is used by live sources that block on the clock.
10342         API: gst_base_src_wait_playing()
10343
10344 2006-09-27  Tim-Philipp Müller  <tim at centricular dot net>
10345
10346         Patch by: Peter Kjellerstedt <pkj at axis com>
10347
10348         * Makefile.am:
10349           gst-element-check.m4 is generated and should therefore be
10350           copied from the build dir rather than the source dir (#357593).
10351           'make distcheck' hasn't noticed this because we were disting
10352           the file as well, so stop doing that.
10353
10354 2006-09-27  Tim-Philipp Müller  <tim at centricular dot net>
10355
10356         * tests/check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
10357           Add some tests for gst_caps_intersect().
10358
10359         * tools/gst-launch.c: (event_loop):
10360           Print all buffering percentages we get, even the 100% one.
10361
10362 2006-09-26  Wim Taymans  <wim@fluendo.com>
10363
10364         * tools/gst-inspect.c: (print_element_properties_info),
10365         (print_signal_info):
10366         Fix printing of flags to match the look of enums.
10367
10368 2006-09-25  Tim-Philipp Müller  <tim at centricular dot net>
10369
10370         * gst/gstelementfactory.c:
10371           Fix typo in docs blurb.
10372
10373 2006-09-25  Tim-Philipp Müller  <tim at centricular dot net>
10374
10375         * gst/gsturi.c: (search_by_entry):
10376           Don't assert/crash here if a uri handler doesn't return any
10377           supported protocols. The list of protocols could be generated
10378           dynamically at runtime or at plugin registration, and an error
10379           in the underlying library shouldn't be fatal (#353301).
10380
10381 2006-09-25  Tim-Philipp Müller  <tim at centricular dot net>
10382
10383         * gst/gstinfo.c:
10384           Fix warning if HAVE_PRINTF_EXTENSION is undefined
10385           (spotted by Peter Kjellerstedt).
10386
10387 2006-09-23  Wim Taymans  <wim@fluendo.com>
10388
10389         Based on patch by: Antoine Tremblay <hexa00 at gmail dot com>
10390
10391         * libs/gst/base/gstbasesrc.c:
10392         (gst_base_src_default_check_get_range), (gst_base_src_start),
10393         (gst_base_src_activate_push), (gst_base_src_activate_pull),
10394         (gst_base_src_change_state):
10395         Match _start/_stop calls in the activate functions. Remove redundant
10396         _stop call from the state change function. Fixes #356910.
10397         Turn failure DEBUG into ERROR. 
10398
10399 2006-09-22  Wim Taymans  <wim@fluendo.com>
10400
10401         * docs/design/part-buffering.txt:
10402         * gst/gstmessage.c: (gst_message_new_buffering),
10403         (gst_message_parse_buffering):
10404         Update docs about buffering.
10405
10406         * docs/design/part-trickmodes.txt:
10407         Fix typo.
10408
10409 2006-09-22  Stefan Kost  <ensonic@users.sf.net>
10410
10411         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
10412         (gst_controller_new_list):
10413           Ref instances when returning them again (fixes #357180)
10414
10415 2006-09-22  Tim-Philipp Müller  <tim at centricular dot net>
10416
10417         * gst/gstghostpad.c: (gst_ghost_pad_set_target):
10418           Don't forget to release proxy lock when there's an error.
10419
10420 2006-09-20  Jan Schmidt  <thaytan@mad.scientist.com>
10421
10422         * gst/gstcaps.h:
10423           Add extra initialisers for Caps things, to fix some plugin warnings
10424           when using -Wextra
10425
10426 2006-09-18  Wim Taymans  <wim@fluendo.com>
10427
10428         * gst/gstghostpad.c: (gst_ghost_pad_new_full):
10429           Also set template on the internal pad so that a getcaps from the 
10430           target pad returns the template caps.
10431
10432 2006-09-18  Wim Taymans  <wim@fluendo.com>
10433
10434         * gst/gstelement.c: (gst_element_post_message),
10435         (gst_element_dispose):
10436         Use _DEBUG_OBJECT some more.
10437
10438         * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
10439         Avoid typechecks.
10440
10441         * tools/gst-launch.c: (main):
10442         If the toplevel element is not a GstPipeline, it must be put in a
10443         pipeline so that a bus and clock is selected.
10444
10445 2006-09-17  Tim-Philipp Müller  <tim at centricular dot net>
10446
10447         * libs/gst/base/gstbasesrc.c: (gst_base_src_default_query):
10448           JITTER, RATE, and LATENCY query should be handled by the
10449           default case and not by the CONVERT query code.
10450
10451 2006-09-17  Tim-Philipp Müller  <tim at centricular dot net>
10452
10453         * gst/gstformat.c: (gst_format_register):
10454           Fix locking order (must take lock before using n_values).
10455
10456         * gst/gstvalue.c: (gst_value_serialize_enum),
10457         (gst_value_deserialize_enum_iter_cmp),
10458         (gst_value_deserialize_enum):
10459           Fix serialisation/deserialisation of custom registered GstFormats.
10460
10461         * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
10462           Unit test for custom format serialisation/deserialisation.
10463
10464 2006-09-17  Stefan Kost  <ensonic@users.sf.net>
10465
10466         * docs/pwg/building-boiler.xml:
10467         * plugins/elements/gstcapsfilter.c:
10468         More G_OBJECT macro fixing. Also Fix some details on the plugin-stamp
10469         section.
10470
10471 2006-09-16  Edward Hervey  <edward@fluendo.com>
10472
10473         * libs/gst/base/gstbasetransform.c:
10474         (gst_base_transform_buffer_alloc):
10475         Check if requested caps are the same as the sinks caps IF
10476         ->have_same_caps is TRUE. If they are not, act as if have_same_caps
10477         is FALSE.
10478         This fixes the renegotiation issues stated in #352827.
10479
10480 2006-09-16  Thomas Vander Stichele  <thomas at apestaart dot org>
10481
10482         * configure.ac:
10483         * docs/manual/advanced-autoplugging.xml:
10484         * tests/examples/Makefile.am:
10485         * tests/examples/manual/.cvsignore:
10486         * tests/examples/manual/Makefile.am:
10487         * tests/examples/manual/extract.pl:
10488           Extract the manual examples again like we used to do.
10489           Fix one of them.
10490
10491 2006-09-16  Thomas Vander Stichele  <thomas at apestaart dot org>
10492
10493         * win32/common/config.h:
10494           update for version
10495
10496 2006-09-16  Stefan Kost  <ensonic@users.sf.net>
10497
10498         * gst/gsterror.c:
10499           Documents how to receive errors.
10500
10501 2006-09-15  Wim Taymans  <wim@fluendo.com>
10502
10503         * tools/gst-launch.c: (sigint_handler_sighandler), (check_intr),
10504         (event_loop), (main):
10505         Added some comments here and there.
10506         Post an application message when an interrupt is caught instead of doing
10507         an uncontrolled state change.
10508         Clean up the event loop.
10509         Handle buffering messages, pause/resume the pipeline.
10510         Make shutdown because of an interrupt more reliable.
10511
10512 2006-09-15  Wim Taymans  <wim@fluendo.com>
10513
10514         * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
10515         (gst_base_sink_wait_preroll), (gst_base_sink_do_sync),
10516         (gst_base_sink_preroll_object):
10517         Make sure that our internal state is correct when we commit our state
10518         asynchronously. This solves a race where a state change to PLAYING
10519         could cause the sink to remain blocked in preroll in some situations.
10520
10521 2006-09-15  Wim Taymans  <wim@fluendo.com>
10522
10523         * tools/gst-inspect.c: (print_element_properties_info),
10524         (print_signal_info):
10525         List flags as hex so it's easier to deal with.
10526
10527 2006-09-15  Wim Taymans  <wim@fluendo.com>
10528
10529         * docs/libs/gstreamer-libs-sections.txt:
10530         * libs/gst/base/gstbasesink.c: (gst_base_sink_wait_preroll),
10531         (gst_base_sink_do_sync):
10532         * libs/gst/base/gstbasesink.h:
10533         Expose logic to wait for preroll so that subclasses such as audiosink
10534         can also use this method.
10535         API: gst_base_sink_wait_preroll()
10536
10537 2006-09-15  Wim Taymans  <wim@fluendo.com>
10538
10539         * gst/gstobject.c: (gst_object_set_parent):
10540         * gst/gstpipeline.c: (do_pipeline_seek):
10541         Small cleanups in docs and code.
10542
10543         * gst/gstsegment.c: (gst_segment_clip):
10544         * tests/check/gst/gstsegment.c: (GST_START_TEST):
10545         if stop == start and start is in the segment, no clipping should be
10546         done. Also add a test for this.
10547
10548 2006-09-15  Wim Taymans  <wim@fluendo.com>
10549
10550         * docs/design/part-buffering.txt:
10551         * docs/gst/gstreamer-sections.txt:
10552         * gst/gstmessage.c: (gst_message_new_buffering),
10553         (gst_message_parse_buffering):
10554         * gst/gstmessage.h:
10555         Added methods to create and parse BUFFERING messages.
10556         Added preliminary docs about buffering.
10557         API: gst_message_new_buffering
10558         API: gst_message_parse_buffering
10559
10560 2006-09-06  Wim Taymans  <wim@fluendo.com>
10561
10562         * gst/gstbin.c:
10563         Update documentation.
10564
10565         * gst/gstelement.c: (gst_element_class_init),
10566         (gst_element_release_request_pad), (gst_element_set_clock),
10567         (gst_element_get_index), (gst_element_add_pad),
10568         (gst_element_remove_pad), (gst_element_get_random_pad),
10569         (gst_element_send_event), (gst_element_get_query_types),
10570         (gst_element_query), (gst_element_post_message),
10571         (gst_element_message_full), (gst_element_continue_state),
10572         (gst_element_lost_state), (gst_element_save_thyself),
10573         (gst_element_restore_thyself):
10574         Documentation updates.
10575         Rename last bit of the new-pad -> pad-added signal rename.
10576         Fix the case where an element query would only work if the source
10577         pad was linked.
10578         Avoid some useless type checking in message handling.
10579
10580         * gst/gstevent.c:
10581         * gst/gstevent.h:
10582         * gst/gstutils.c:
10583         Documentation updates.
10584
10585 2006-09-14  Thomas Vander Stichele  <thomas at apestaart dot org>
10586
10587         * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
10588           add an INFO line for when we actually update the fd
10589
10590 2006-09-14  Thomas Vander Stichele  <thomas at apestaart dot org>
10591
10592         * configure.ac:
10593           back to TRUNK
10594
10595 === release 0.10.10 ===
10596
10597 2006-09-14  Thomas Vander Stichele <thomas at apestaart dot org>
10598
10599         * configure.ac:
10600           releasing 0.10.10, "Pais"
10601
10602 2006-09-05  Tim-Philipp Müller  <tim at centricular dot net>
10603
10604         * docs/manual/advanced-position.xml:
10605           Fix typo in sample code.
10606
10607 2006-09-05  Wim Taymans  <wim@fluendo.com>
10608
10609         * libs/gst/net/gstnetclientclock.c: (inet_aton),
10610         (gst_net_client_clock_init), (gst_net_client_clock_finalize),
10611         (gst_net_client_clock_do_select), (gst_net_client_clock_new):
10612         * libs/gst/net/gstnetclientclock.h:
10613         * libs/gst/net/gstnettimepacket.c: (gst_net_time_packet_send):
10614         * libs/gst/net/gstnettimepacket.h:
10615         * libs/gst/net/gstnettimeprovider.c: (inet_aton),
10616         (gst_net_time_provider_init), (gst_net_time_provider_finalize),
10617         (gst_net_time_provider_thread), (gst_net_time_provider_new):
10618         * libs/gst/net/gstnettimeprovider.h:
10619         Make stuff compile on windows. Fixes #345295.
10620
10621 2006-09-03  Tim-Philipp Müller  <tim at centricular dot net>
10622
10623         * gst/gst.c: (ensure_current_registry_forking):
10624           Print better details when child was terminated by signal.
10625
10626 2006-09-03  Tim-Philipp Müller  <tim at centricular dot net>
10627
10628         * gst/gstregistryxml.c: (gst_registry_xml_save_feature):
10629           Print a warning rather than g_assert() if a plugin feature
10630           is a URI handler but returns no protocols (#353976).
10631
10632 2006-09-02  Stefan Kost  <ensonic@users.sf.net>
10633
10634         * docs/random/moving-plugins:
10635         Fix two typos.         
10636
10637 2006-09-01  Tim-Philipp Müller  <tim at centricular dot net>
10638
10639         * gst/gstinfo.c: (_gst_debug_nameof_funcptr):
10640           Fix locking order, handle NULL function values properly.
10641
10642         * gst/gstinfo.h:
10643           Fix docs.
10644
10645         * gst/gstpad.c: (gst_pad_buffer_alloc_unchecked):
10646           Initialise variable before using it and fix debug statement to
10647           print the address of the function rather than the address of the
10648           variable on the stack holding the address of the function.
10649
10650 2006-09-01  Wim Taymans  <wim@fluendo.com>
10651
10652         * gst/gstghostpad.c: (gst_proxy_pad_do_event),
10653         (gst_proxy_pad_do_bufferalloc), (gst_proxy_pad_do_chain),
10654         (gst_proxy_pad_do_getrange), (gst_proxy_pad_do_checkgetrange),
10655         (gst_proxy_pad_set_target_unlocked), (gst_ghost_pad_parent_set),
10656         (gst_ghost_pad_parent_unset),
10657         (gst_ghost_pad_internal_do_activate_push),
10658         (gst_ghost_pad_internal_do_activate_pull),
10659         (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
10660         (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
10661         (gst_ghost_pad_init), (gst_ghost_pad_dispose),
10662         (gst_ghost_pad_new_full), (gst_ghost_pad_new_no_target),
10663         (gst_ghost_pad_new), (gst_ghost_pad_new_from_template),
10664         (gst_ghost_pad_new_no_target_from_template),
10665         (gst_ghost_pad_get_target), (gst_ghost_pad_set_target):
10666         More cleanups.
10667         Avoid needless typechecking in macros.
10668         Since the internal pad is always present and never changes, there is
10669         no need to locking or ref when retrieving it.
10670         Improve debugging a bit.
10671         Handle link errors when setting the target. Fixes #341029.
10672
10673 2006-09-01  Wim Taymans  <wim@fluendo.com>
10674
10675         * docs/libs/gstreamer-libs-sections.txt:
10676         * docs/plugins/gstreamer-plugins-sections.txt:
10677         Fix docs some more.
10678
10679         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad),
10680         (gst_collect_pads_event):
10681         * libs/gst/base/gstcollectpads.h:
10682         Documentation updates.
10683         Free queued buffer when removing a pad.
10684
10685 2006-08-31  Michael Smith  <msmith@fluendo.com>
10686
10687         * gst/gstutils.c: (gst_element_link_pads),
10688         (gst_element_link_pads_filtered):
10689           Ensure that we set a capsfilter to NULL if we failed to link it
10690           when doing filtered linking, to avoid criticals.
10691
10692           No need to check for unreffing srcpad, which is explicly NULLed
10693           above (a trivial code cleanup).
10694
10695 2006-08-31  Wim Taymans  <wim@fluendo.com>
10696
10697         * docs/design/part-gstghostpad.txt:
10698         Update ascii art in documentation.
10699
10700         * gst/gstghostpad.c: (gst_proxy_pad_do_internal_link),
10701         (gst_proxy_pad_set_target_unlocked), (gst_proxy_pad_init),
10702         (gst_ghost_pad_parent_set), (gst_ghost_pad_parent_unset),
10703         (gst_ghost_pad_internal_do_activate_push),
10704         (gst_ghost_pad_internal_do_activate_pull),
10705         (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
10706         (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
10707         (gst_ghost_pad_dispose), (gst_ghost_pad_new_full),
10708         (gst_ghost_pad_set_target):
10709         Small cleanups and leak fixes.
10710         Remove some checks now that the internal pad is never NULL.
10711         Fix the case where linking pads without a target would create nasty
10712         criticals. Fixes #341029.
10713         Don't assign a GstPadLinkReturn to a gboolean and mess up the return
10714         value of _set_target().
10715
10716         * tests/check/gst/gstghostpad.c: (GST_START_TEST),
10717         (gst_ghost_pad_suite):
10718         Some more tests for creating and linking untargeted ghostpads.
10719
10720 2006-08-31  Edward Hervey  <edward@fluendo.com>
10721
10722         * docs/gst/gstreamer-sections.txt:
10723         * gst/gstghostpad.c: (gst_proxy_pad_do_getcaps),
10724         (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target_unlocked),
10725         (gst_proxy_pad_dispose), (gst_ghost_pad_new_full),
10726         (gst_ghost_pad_new_no_target), (gst_ghost_pad_new),
10727         (gst_ghost_pad_new_from_template),
10728         (gst_ghost_pad_new_no_target_from_template):
10729         * gst/gstghostpad.h:
10730         Refactored *_new() functions.
10731         Templates are now used as a g_object_new() parameter.
10732         Use template in _do_getcaps() if we don't have a target.
10733         Small documentation cleanups.
10734         Added two new constructors:
10735         gst_ghost_pad_new_from_template()
10736         gst_ghost_pad_new_no_target_from_template()
10737         * tests/check/gst/gstghostpad.c: (GST_START_TEST),
10738         (gst_ghost_pad_suite):
10739         Added tests for new ghostpad instanciation functions.
10740
10741         API additions: gst_ghost_pad_new_from_template,
10742         gst_ghost_pad_new_no_target_from_template
10743
10744 2006-08-30  Stefan Kost  <ensonic@users.sf.net>
10745
10746         * docs/random/ensonic/profiling.txt:
10747           Ideas about qos profiling.
10748
10749 2006-08-29  Wim Taymans  <wim@fluendo.com>
10750
10751         * gst/gstcaps.c: (gst_caps_structure_is_subset_field):
10752         Code cleanups.
10753         Fix memleak.
10754
10755 2006-08-29  Tim-Philipp Müller  <tim at centricular dot net>
10756
10757         * gst/gstxml.c:
10758           Improve and detypofy docs.
10759
10760         * tests/check/Makefile.am:
10761         * tests/check/gst/.cvsignore:
10762         * tests/check/gst/gstxml.c: (GST_START_TEST), (gst_xml_suite):
10763           Add a basic test suite for GstXML.
10764
10765 2006-08-29  Wim Taymans  <wim@fluendo.com>
10766
10767         * gst/gstelement.c: (activate_pads), (clear_caps),
10768         (iterator_activate_fold_with_resync), (gst_element_pads_activate):
10769         Clear the pad caps when the element shut down all of the pads and
10770         is not streaming data that could modify the caps. 
10771         Fixes #352958.
10772
10773 2006-08-28  Michael Smith  <msmith@fluendo.com>
10774
10775         * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
10776           Revert previous change; I misunderstood single-segment mode.
10777
10778 2006-08-28  Michael Smith  <msmith@fluendo.com>
10779
10780         * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
10781           Unset DISCONT on buffers when using single-segment mode.
10782
10783 2006-08-28  Wim Taymans  <wim@fluendo.com>
10784
10785         * gst/gstcaps.c: (gst_caps_merge_structure):
10786         * gst/gstcaps.h:
10787         Fix docs and indentation again.
10788
10789         * tests/check/gst/gstquery.c: (GST_START_TEST):
10790         Fix leak in tests and add some more tests.
10791
10792 2006-08-28  Edward Hervey  <edward@fluendo.com>
10793
10794         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
10795         Inform GstSegment of the last stop position in order for the current
10796         segment to have a proper duration if it doesn't have a specific stop
10797         position from which a duration could be calculated.
10798         This bug was noticeable when a non-flushing, non-update new segment was
10799         followed by another segment (all buffers from the new segment were being
10800         dropped).
10801
10802 2006-08-28  Wim Taymans  <wim@fluendo.com>
10803
10804         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek):
10805         Small comment update.
10806
10807         * plugins/elements/gstidentity.c: (gst_identity_class_init),
10808         (gst_identity_transform_ip):
10809         Drop-probability is broken, mention this in the code with a 
10810         FIXME and also in the property description.
10811         Make silent also be silent about the drop messages.
10812
10813 2006-08-28  Tim-Philipp Müller  <tim at centricular dot net>
10814
10815         * docs/manual/appendix-win32.xml:
10816           Remove mention of popt, we don't depend on that any
10817           longer (#353136). Add some comments pointing out that
10818           this section is slightly outdated.
10819
10820 2006-08-28  Wim Taymans  <wim@fluendo.com>
10821
10822         Patch by: Torsten Schoenfeld <kaffeetisch at gmx dot de>
10823
10824         * gst/gstquery.c: (gst_query_new_segment):
10825         * tests/check/gst/gstquery.c: (GST_START_TEST):
10826         Initialize variables when creating a new segment query.
10827         Fixes #353121.
10828
10829 2006-08-28  Wim Taymans  <wim@fluendo.com>
10830
10831         Patch by: Torsten Schoenfeld <kaffeetisch at gmx dot de>
10832
10833         * gst/gstelement.c: (gst_element_get_bus):
10834         * tests/check/gst/gstelement.c: (GST_START_TEST):
10835         Check for NULL before _reffing the bus. Fixes #353122.
10836
10837 2006-08-25  Tim-Philipp Müller  <tim at centricular dot net>
10838
10839         * docs/manual/basics-bus.xml:
10840           Docs update: fix wrong callback return value explanation; add
10841           some lines about the implicit relationship between main loop
10842           and main context; remove duplicate main loop variable declaration.
10843
10844 2006-08-24  Tim-Philipp Müller  <tim at centricular dot net>
10845
10846         * tests/check/gst/gstcaps.c: (GST_START_TEST):
10847           Don't leak caps in unit test; add a few more simple
10848           checks. 
10849
10850 2006-08-24  Stefan Kost  <ensonic@users.sf.net>
10851
10852         * docs/gst/gstreamer-sections.txt:
10853         * gst/gstcaps.c: (gst_caps_structure_is_subset_field),
10854         (gst_caps_structure_is_subset), (gst_caps_merge),
10855         (gst_caps_merge_structure):
10856         * gst/gstcaps.h:
10857         * libs/gst/base/gstbasetransform.c:
10858         (gst_base_transform_transform_caps):
10859         * tests/check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
10860           implement caps merging (fixes #352580)
10861
10862 2006-08-23  Stefan Kost  <ensonic@users.sf.net>
10863
10864         * tools/Makefile.am:
10865         * tools/gst-plot-timeline.py:
10866           add debug-log plotting developer tool (#340674)
10867
10868 2006-08-23  Wim Taymans  <wim@fluendo.com>
10869
10870         * gst/gstpad.c: (gst_pad_start_task), (gst_pad_pause_task),
10871         (gst_pad_stop_task):
10872         Improve debugging for task functions.
10873
10874         * gst/gsttask.c: (gst_task_func), (gst_task_set_lock),
10875         (gst_task_start), (gst_task_pause), (gst_task_join):
10876         Make sure that the task function started and finished after a 
10877         join(). 
10878         Don't try to push the task function on the threadpool multiple
10879         times.
10880         Improve the g_warning message with some useful suggestions
10881         about how to fix the problem. 
10882
10883 2006-08-23  Wim Taymans  <wim@fluendo.com>
10884
10885         * gst/gstutils.c: (gst_pad_proxy_getcaps):
10886         Handle RESYNC correctly in _proxy_getcaps.
10887
10888 2006-08-21  Tim-Philipp Müller  <tim at centricular dot net>
10889
10890         * gst/gstxml.c: (gst_xml_dispose), (gst_xml_parse_file),
10891         (gst_xml_parse_memory), (gst_xml_get_element):
10892           Chain up to parent class in dispose function and also
10893           unref the elements in the toplevel_elements GList.
10894           Don't leak XmlDocPtr in _parse_file() and _parse_memory().
10895           Always return a reference in gst_xml_get_element() rather
10896           than only sometimes.
10897
10898         * tools/gst-launch.c: (xmllaunch_parse_cmdline):
10899           Don't leak GstXml object.
10900
10901 2006-08-21  Stefan Kost  <ensonic@users.sf.net>
10902
10903         * docs/gst/gstreamer-sections.txt:
10904         * gst/gstcaps.c: (gst_structure_is_equal_foreach),
10905         (gst_caps_merge):
10906         * gst/gstcaps.h:
10907         * libs/gst/base/gstbasetransform.c:
10908         (gst_base_transform_transform_caps):
10909           API: Add gst_caps_merge() and use it in basetransform, fixes #345444
10910           in a better way
10911
10912 2006-08-21  Edward Hervey  <edward@fluendo.com>
10913
10914         * gst/gstxml.c: (gst_xml_class_init), (gst_xml_dispose):
10915         Implement GObject::dispose virtual method in GstXML so we can free the
10916         top_elements GList.
10917
10918 2006-08-21  Wim Taymans  <wim@fluendo.com>
10919
10920         * gst/gstbuffer.c: (gst_buffer_make_metadata_writable),
10921         (gst_buffer_create_sub):
10922         Copy duration/offset_end/caps when creating a subbuffer of the
10923         complete parent.
10924         Make the subbuffer read-only when we make the metadata writable for
10925         now. Fixes #351768.
10926
10927         * tests/check/gst/gstbuffer.c: (GST_START_TEST):
10928         Added check for metadata copy when creating subbuffers.
10929
10930 2006-08-21  Edward Hervey  <edward@fluendo.com>
10931
10932         * libs/gst/base/gstbasetransform.c:
10933         (gst_base_transform_buffer_alloc):
10934         Only call downstream buffer_alloc if transform element is passthrough
10935         or always_in_place. Closes #350449.
10936
10937 2006-08-20  Stefan Kost  <ensonic@users.sf.net>
10938
10939         * ChangeLog:
10940           ChangeLog surgery to add comments to previous changes
10941
10942 2006-08-20  Stefan Kost  <ensonic@users.sf.net>
10943
10944         * gst/gst.c:
10945           Add comments
10946
10947         * gst/gstpad.c: (gst_pad_set_active):
10948           Be more verbose in the log
10949
10950         * libs/gst/base/gstbasetransform.c:
10951         (gst_base_transform_transform_caps):
10952           Simplify caps to get rid of duplicates, fixes #345444
10953
10954 2006-08-20  Stefan Kost  <ensonic@users.sf.net>
10955
10956         * gst/gstvalue.c:
10957         * gst/gstvalue.h:
10958           Use these optimizations only internally.
10959
10960 2006-08-20  Stefan Kost  <ensonic@users.sf.net>
10961
10962         * gst/gstvalue.c: (gst_value_compare_list),
10963         (gst_value_compare_fraction_range),
10964         (gst_value_intersect_fraction_fraction_range),
10965         (gst_value_intersect_fraction_range_fraction_range),
10966         (gst_value_subtract_fraction_fraction_range),
10967         (gst_value_subtract_fraction_range_fraction_range),
10968         (gst_value_get_compare_func), (gst_value_compare),
10969         (gst_value_compare_with_func):
10970         * gst/gstvalue.h:
10971           Saves the expensive lookup of the compare function in many cases
10972          (#345444)
10973
10974 2006-08-18  Edward Hervey  <edward@fluendo.com>
10975
10976         * tests/check/gst/gstinfo.c: (gst_info_suite):
10977         Disable test that require gstdebug if it wasn't built in core.
10978
10979 2006-08-18  Stefan Kost  <ensonic@users.sf.net>
10980
10981         * docs/random/ensonic/logging.txt:
10982           update ideas
10983           
10984         * gst/gstinfo.c: (gst_debug_log_default):
10985           reorder fields, save some columns, add optional color codes for log
10986           levels
10987
10988 2006-08-18  Stefan Kost  <ensonic@users.sf.net>
10989
10990         * docs/random/ensonic/logging.txt:
10991           add ideas about making the logs a bit more useful
10992
10993 2006-08-17  Tim-Philipp Müller  <tim at centricular dot net>
10994
10995         * docs/pwg/advanced-events.xml:
10996         * docs/pwg/titlepage.xml:
10997           Update for 0.10 API (#340627). Add myself
10998           to authors list.
10999
11000 2006-08-17  Tim-Philipp Müller  <tim at centricular dot net>
11001
11002         * docs/libs/gstreamer-libs-docs.sgml:
11003         * docs/libs/gstreamer-libs-sections.txt:
11004         * libs/gst/check/gstbufferstraw.c:
11005           Make gstcheck stuff show up in docs (still needs to
11006           be documented properly though).
11007
11008 2006-08-16  Jan Schmidt  <thaytan@mad.scientist.com>
11009
11010         * docs/gst/gstreamer-sections.txt:
11011         * gst/Makefile.am:
11012         * gst/gst.c: (init_post):
11013         * gst/gst_private.h:
11014         * gst/gstquark.c: (_priv_gst_quarks_initialize):
11015         * gst/gstquark.h:
11016         * gst/gstquery.c: (gst_query_new_position),
11017         (gst_query_set_position), (gst_query_parse_position),
11018         (gst_query_new_duration), (gst_query_set_duration),
11019         (gst_query_parse_duration), (gst_query_new_convert),
11020         (gst_query_set_convert), (gst_query_parse_convert),
11021         (gst_query_new_segment), (gst_query_set_segment),
11022         (gst_query_parse_segment), (gst_query_new_seeking),
11023         (gst_query_set_seeking), (gst_query_parse_seeking):
11024         Add internal helpers for pre-registering quarks from static strings
11025         and using the quark values directly instead of looking them up when
11026         creating and parsing queries. Can be used for event construction too.
11027         Closes #350432.
11028
11029 2006-08-16  Wim Taymans  <wim@fluendo.com>
11030
11031         * gst/gstbin.c:
11032         Fix bogus docs.
11033
11034 2006-08-15  Tim-Philipp Müller  <tim at centricular dot net>
11035
11036         * gst/gstutils.c: (gst_util_set_value_from_string):
11037           Fix memleak (#351502).
11038
11039         * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
11040           Add unit test for most of gst_util_set_value_from_string()
11041           (not that one would want to encourage use of this function).
11042
11043 2006-08-15  Tim-Philipp Müller  <tim at centricular dot net>
11044
11045         * libs/gst/check/gstcheck.h:
11046           Use const gchar * variables in fail_unless_equals_string
11047           macro to avoid compiler warnings (and don't use tabs for
11048           indenting).
11049
11050 2006-08-15  Tim-Philipp Müller  <tim at centricular dot net>
11051
11052         * tools/gst-launch.c: (print_tag):
11053           More space on the left for the tag names, to cater
11054           for the 'extended comment' tag (not touching the
11055           string for the first line since it's translated).
11056
11057 2006-08-15  Tim-Philipp Müller  <tim at centricular dot net>
11058
11059         * libs/gst/check/gstcheck.h:
11060           Fix ASSERT_CRITICAL and ASSERT_WARNING macros to actually
11061           print something when they fail.
11062
11063 2006-08-14  Tim-Philipp Müller  <tim at centricular dot net>
11064
11065         * docs/gst/gstreamer-sections.txt:
11066         * gst/gsttaglist.c: (_gst_tag_initialize):
11067         * gst/gsttaglist.h:
11068           API: add GST_TAG_EXTENDED_COMMENT (#350935).
11069           Also change merge function for GST_TAG_COMMENT to
11070           use_first.
11071
11072 2006-08-14  Tim-Philipp Müller  <tim at centricular dot net>
11073
11074         * gst/gstinfo.c: (gst_debug_print_object):
11075           Make GST_PTR_FORMAT print messages as well.
11076
11077         * tests/check/gst/gstinfo.c: (printf_extension_log_func),
11078         (GST_START_TEST), (gst_info_suite):
11079           More tests.
11080
11081 2006-08-14  Edward Hervey  <edward@fluendo.com>
11082
11083         * gst/gstelementfactory.c: (gst_element_register):
11084         If the GstElementClass doesn't have a GstElementDetails with all fields
11085         filled up correctly (longname, description AND author), then error out
11086         nicely instead of crashing.
11087
11088 2006-08-14  Tim-Philipp Müller  <tim at centricular dot net>
11089
11090         * gst/gststructure.c:
11091           Fix typo in docs and re-wrap docs blurb to not exceed 80 chars/line.
11092
11093         * gst/gstvalue.h:
11094           Expand on the difference between arrays and lists as we use them.
11095           
11096 2006-08-14  Wim Taymans  <wim@fluendo.com>
11097
11098         * libs/gst/base/gstbasesrc.c: (gst_base_src_change_state):
11099         If the parent state change function failed, don't assume we can safely
11100         stop the source, this will be done when the pads are deactivated.
11101
11102 2006-08-14  Wim Taymans  <wim@fluendo.com>
11103
11104         * gst/gstbuffer.c:
11105         * gst/gsttask.c: (gst_task_join):
11106         Small doc updates.
11107
11108         * gst/gstpad.c: (gst_pad_activate_pull), (gst_pad_activate_push),
11109         (gst_pad_stop_task):
11110         When pad (de)activation failed for some reason, restore the old
11111         activation mode and set the pad to flushing instead of assuming the
11112         pad is deactivated.
11113         If the _task_join() failed, reinstall the task on the pad so that it can
11114         be stopped later and return an error.
11115
11116 2006-08-11  Andy Wingo  <wingo@pobox.com>
11117
11118         * configure.ac:
11119         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packetizer_new):
11120         * tests/check/libs/gdp.c: (gst_dp_suite): GST_DISABLE_DEPRECATED
11121         is only for users of API that don't want to see deprecated
11122         functions in the headers; people that want to compile out
11123         deprecated code should pass -DGST_REMOVE_DEPRECATED into the
11124         CFLAGS. Fixes the build of multifdsink, or will soon..
11125
11126 2006-08-11  Wim Taymans  <wim@fluendo.com>
11127
11128         * docs/gst/gstreamer-sections.txt:
11129         Add GstClockClass vmethod docs.
11130
11131         * gst/gstcaps.h:
11132         Mark #endif with comment for associated #if
11133
11134         * gst/gstclock.c: (gst_clock_id_wait):
11135         * gst/gstclock.h:
11136         Add vmethod wait_jitter to avoid an unneeded _get_time() for
11137         most clock implementations.
11138         Document vmethods.
11139         Flesh out docs about resolution methods.
11140         API: GstClockClass::wait_jitter
11141
11142         * gst/gstsystemclock.c: (gst_system_clock_class_init),
11143         (gst_system_clock_async_thread),
11144         (gst_system_clock_id_wait_jitter_unlocked),
11145         (gst_system_clock_id_wait_jitter):
11146         Use base class wait_jitter variant for improved performance
11147         due to less clock polling.
11148
11149 2006-08-11  Edward Hervey  <edward@fluendo.com>
11150
11151         * gst/gst.c: (gst_init_check), (init_post):
11152         Set gst as being initialized before scanning/updating the registry,
11153         since there might be my python plugin loader that calls gst_init() and
11154         we don't want to loop back in.
11155         Closes #350879
11156
11157 2006-08-11  Wim Taymans  <wim@fluendo.com>
11158
11159         * docs/design/part-qos.txt:
11160         Bring docs in line with the code. Mostly the sign of the jitter was
11161         wrong in the docs. Fixes #349943.
11162
11163         * gst/gstclock.c:
11164         Fix the docs for the jitter.
11165
11166         * gst/gstevent.c: (gst_event_new_custom), (gst_event_new_tag),
11167         (gst_event_parse_tag), (gst_event_new_buffer_size),
11168         (gst_event_parse_buffer_size), (gst_event_parse_qos),
11169         (gst_event_new_seek), (gst_event_parse_seek),
11170         (gst_event_new_navigation):
11171         Make sure the GstStructure has no parent when creating custom
11172         events.
11173         Add some more argument checking so that we avoid 0.0 rates.
11174         Flesh out the docs for the QoS event some more.
11175
11176 2006-08-11  Wim Taymans  <wim@fluendo.com>
11177
11178         * docs/gst/gstreamer-sections.txt:
11179         * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
11180         (ensure_current_registry_forking), (ensure_current_registry),
11181         (parse_one_option), (parse_goption_arg), (gst_deinit),
11182         (gst_registry_fork_is_enabled), (gst_registry_fork_set_enabled):
11183         * gst/gst.h:
11184         Doc updates.
11185         Added API and command line option to disable registry forking in
11186         addition to the environment variable.
11187         Constify some static arrays.
11188         Added some more debug.
11189         Don't deinit twice.
11190         API: gst_registry_fork_is_enabled()
11191         API: gst_registry_fork_set_enabled()
11192         API: --gst-disable-registry-fork command line option
11193         Fixes #348918.
11194
11195 2006-08-11  Tim-Philipp Müller  <tim at centricular dot net>
11196
11197         * gst/gst.c: (gst_init):
11198           Fix typo in error message.
11199
11200 2006-08-10  Stefan Kost  <ensonic@users.sf.net>
11201
11202         * libs/gst/controller/gstcontroller.h:
11203           fix ABI size-correction
11204
11205         * tests/check/libs/gdp.c: (gst_dp_suite):
11206           make tests that use deprecated API conditional
11207
11208 2006-08-10  Stefan Kost  <ensonic@users.sf.net>
11209
11210         * docs/libs/gstreamer-libs-sections.txt:
11211         * libs/gst/controller/gstcontroller.c:
11212         (_gst_controller_get_property), (_gst_controller_set_property),
11213         (_gst_controller_init), (_gst_controller_class_init):
11214         * libs/gst/controller/gstcontroller.h:
11215         * libs/gst/controller/gsthelper.c: (gst_object_get_control_rate),
11216         (gst_object_set_control_rate):
11217           API: add gst_object_{s,g}et_control_rate(), add private data section,
11218           fix docs
11219
11220         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packetizer_new):
11221         * libs/gst/dataprotocol/dataprotocol.h:
11222           add deprecation guards to make gtk-doc happy and allow disabling cruft
11223
11224 2006-08-09  Tim-Philipp Müller  <tim at centricular dot net>
11225
11226         * tests/check/Makefile.am:
11227         * tests/check/gst/.cvsignore:
11228           Let's enable the new unit test as well.
11229
11230 2006-08-08  Tim-Philipp Müller  <tim at centricular dot net>
11231
11232         * configure.ac:
11233         * docs/gst/gstreamer-sections.txt:
11234         * gst/gstconfig.h.in:
11235         * gst/gstinfo.c: (_gst_debug_init), (gst_debug_print_segment),
11236         (_gst_info_printf_extension_ptr),
11237         (_gst_info_printf_extension_segment):
11238           API: add GST_SEGMENT_FORMAT, which is a printf extension we
11239           register that lets us easily dump GstSegments into debug
11240           logs (#350419).
11241
11242         * tests/check/gst/gstinfo.c: (segment_printf_extension_log_func),
11243         (info_segment_format_printf_extension), (gst_info_suite):
11244           Add simple unit test that logs a bunch of different segments (not
11245           valgrinded at the moment because of leaks in
11246           gst_debug_add_log_function).
11247
11248 2006-08-09  Edward Hervey  <edward@fluendo.com>
11249
11250         * libs/gst/base/gstbasetransform.c:
11251         (gst_base_transform_buffer_alloc):
11252         Even if we can't figure out the proper format to request downstream,
11253         call buffer_alloc() downstream with the input parameters without setting
11254         the caps on the srcpad. This will force negotiation in the chain
11255         function.
11256         Closes #350449
11257
11258 2006-08-08  Edward Hervey  <edward@fluendo.com>
11259
11260         * gst/gstghostpad.c: (gst_ghost_pad_do_unlink):
11261         Unlinking from a pad without a target is now a perfectly valid case
11262         which should NOT raise an assertion.
11263         This case would happen if a linked ghostpad its target set to NULL after
11264         it was previously linked.
11265
11266 2006-08-08  Edward Hervey  <edward@fluendo.com>
11267
11268         * tests/check/libs/gdp.c:
11269         Also comment out the test (see below).
11270
11271 2006-08-08  Edward Hervey  <edward@fluendo.com>
11272
11273         * tests/check/libs/gdp.c: (gst_dp_suite):
11274         Use the architecture information from config.h and not gcc macros
11275         in order to properly disable a test that fails on PPC64.
11276
11277 2006-08-04  Tim-Philipp Müller  <tim at centricular dot net>
11278
11279         * gst/gstelement.c: (gst_element_remove_pad):
11280           Don't crash printing the warning if the pad has no parent.
11281
11282 2006-08-02  Wim Taymans  <wim@fluendo.com>
11283
11284         * libs/gst/dataprotocol/dataprotocol.c:
11285         (gst_dp_header_from_buffer_any), (gst_dp_packet_from_caps_any),
11286         (gst_dp_crc), (gst_dp_header_payload_length),
11287         (gst_dp_header_payload_type), (gst_dp_packet_from_event),
11288         (gst_dp_packet_from_event_1_0), (gst_dp_buffer_from_header),
11289         (gst_dp_caps_from_packet), (gst_dp_event_from_packet_0_2),
11290         (gst_dp_event_from_packet), (gst_dp_validate_header),
11291         (gst_dp_validate_payload):
11292         Make debug category static
11293         Constify the crc table.
11294         Do some more arg checking in public functions.
11295         Fix some docs and do some small cleanups.
11296
11297         * tests/check/libs/gdp.c: (GST_START_TEST), (gst_dp_suite):
11298         Add some more checks to see if GDP deals with bogus input.
11299
11300 2006-07-31  Wim Taymans  <wim@fluendo.com>
11301
11302         * gst/gstvalue.c: (gst_value_compare_list):
11303         Fix GstValueList comparison code. Fixes #347293.
11304
11305         * tests/check/gst/gstvalue.c: (GST_START_TEST):
11306         Check to test GstValueList comparison.
11307
11308 2006-07-31  Jan Schmidt  <thaytan@mad.scientist.com>
11309
11310         * gst/gstelementfactory.c: (gst_element_factory_create):
11311         Remove unnecessary ref/unref pair
11312
11313         * gst/parse/grammar.y:
11314         Make sure to free the parse buffer on all code paths.
11315         Move a g_free up to the error handler where it's easier to see.
11316
11317         * tests/check/gst/gstevent.c: (test_event):
11318         Extending timeout for downstream travelling events to 10 seconds to
11319         hopefully avoid intermittent failure on the buildbots.
11320
11321         * tests/check/pipelines/parse-launch.c: (run_delayed_test):
11322         Don't manually set the state of the src element - it will happen as a
11323         natural consequence of the pipeline changing state, and that way it
11324         will do it in the right order too.
11325
11326 2006-07-31  Wim Taymans  <wim@fluendo.com>
11327
11328         * libs/gst/base/gstbasetransform.c:
11329         (gst_base_transform_buffer_alloc):
11330         Use OBJECT_LOCK and refcounting to get the pad caps in the
11331         buffer_alloc function because the caps could change while we are
11332         busy with them. Fixes #349105
11333
11334 2006-07-31  Wim Taymans  <wim@fluendo.com>
11335
11336         * gst/gstutils.c: (gst_pad_get_fixed_caps_func):
11337         Protect _PAD_CAPS with OBJECT_LOCK.
11338
11339 2006-07-31  Wim Taymans  <wim@fluendo.com>
11340
11341         * gst/gstpad.c: (gst_pad_class_init), (gst_pad_dispose),
11342         (gst_pad_get_property), (gst_pad_activate_pull),
11343         (gst_pad_activate_push), (gst_pad_set_blocked_async),
11344         (gst_pad_set_activate_function),
11345         (gst_pad_set_activatepull_function),
11346         (gst_pad_set_activatepush_function), (gst_pad_set_chain_function),
11347         (gst_pad_set_getrange_function),
11348         (gst_pad_set_checkgetrange_function), (gst_pad_set_event_function),
11349         (gst_pad_set_query_function), (gst_pad_set_query_type_function),
11350         (gst_pad_set_internal_link_function), (gst_pad_set_link_function),
11351         (gst_pad_set_unlink_function), (gst_pad_set_getcaps_function),
11352         (gst_pad_set_acceptcaps_function),
11353         (gst_pad_set_fixatecaps_function), (gst_pad_set_setcaps_function),
11354         (gst_pad_set_bufferalloc_function), (gst_pad_link_check_hierarchy),
11355         (gst_pad_get_caps_unlocked), (gst_pad_get_caps),
11356         (gst_pad_peer_get_caps), (gst_pad_accept_caps),
11357         (gst_pad_peer_accept_caps), (gst_pad_set_caps),
11358         (gst_pad_configure_sink), (gst_pad_configure_src),
11359         (gst_pad_get_allowed_caps), (gst_pad_get_negotiated_caps),
11360         (gst_pad_buffer_alloc_unchecked), (gst_pad_alloc_buffer_full),
11361         (gst_pad_query), (gst_pad_load_and_link), (handle_pad_block),
11362         (gst_pad_chain_unchecked), (gst_pad_push), (gst_pad_get_range),
11363         (gst_pad_send_event):
11364         Use _DEBUG_OBJECT when it makes sense.
11365         Protect GST_PAD_CAPS with the OBJECT_LOCK.
11366         Small cleanups and code reflows.
11367         Avoid caps refcounting in _accept_caps.
11368         Refactor alloc_buffer so that the code performed on the peer is in a
11369         separate function. Also if the pad does not implement a buffer alloc
11370         function, we should still check if the pad is flushing before falling
11371         back to the default allocator.
11372
11373 2006-07-31  Jan Schmidt  <thaytan@mad.scientist.com>
11374
11375         * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
11376         Make all uses of identity and fakesink have silent=true to avoid
11377         serialising every passing data structure, which is breaking tests
11378         on FC4 for some unknown reason.
11379
11380 2006-07-30  Stefan Kost  <ensonic@users.sf.net>
11381
11382         * gst/parse/Makefile.am:
11383         * gst/parse/grammar.y:
11384         * gst/parse/parse.l:
11385           Reverted previous patch as it required to bump the flex dependency to
11386           2.5.31, where fc4/5 seem to ship only the ancient 2.5.4a :(
11387
11388 2006-07-30  Stefan Kost  <ensonic@users.sf.net>
11389
11390         Patch by: Marc-Andre Lureau <marcandre.lureau@gmail.com>
11391
11392         * gst/parse/Makefile.am:
11393         * gst/parse/grammar.y:
11394         * gst/parse/parse.l:
11395           push & pop the state of the lexer for reentrant use case
11396           Fixes #349180
11397
11398 2006-07-29  Tim-Philipp Müller  <tim at centricular dot net>
11399
11400         * libs/gst/base/gstbasesrc.h:
11401           Note in the docs that the ::newsegment vfunc is not actually used by
11402           GstBaseSrc.
11403
11404 2006-07-28  Wim Taymans  <wim@fluendo.com>
11405
11406         * libs/gst/base/gstcollectpads.c:
11407         (gst_collect_pads_set_flushing_unlocked), (gst_collect_pads_pop),
11408         (gst_collect_pads_clear), (gst_collect_pads_flush),
11409         (gst_collect_pads_event), (gst_collect_pads_chain):
11410         When flushing a pad, also clear the queued buffer so that we don't
11411         accidentally use it when we shouldn't.
11412         Fix leaks by inreffing incomming buffer.
11413         Flush out queued buffers in case of errors.
11414         Fixes #347452.
11415
11416 2006-07-28  Wim Taymans  <wim@fluendo.com>
11417
11418         * docs/random/phonon-gst:
11419         Random notes about a Phonon backend.
11420
11421 2006-07-27  Jan Schmidt  <thaytan@mad.scientist.com>
11422
11423         * libs/gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
11424         Extra debug output
11425         * tests/check/libs/gdp.c: (gst_dp_suite):
11426         Take a whack at fixing the ppc compile using a different define to
11427         disable the broken test.
11428
11429         * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
11430         Remove excess g_print()
11431
11432 2006-07-27  Jan Schmidt <thaytan@mad.scientist.com>
11433
11434         * tests/check/pipelines/parse-launch.c: (expected_fail_pipe):
11435         Oops, meant to uncomment this line too to dampen the noise a bit.
11436
11437 2006-07-27  Jan Schmidt <thaytan@mad.scientist.com>
11438
11439         * gst/parse/grammar.y:
11440         * gst/parse/parse.l:
11441         * tests/check/pipelines/parse-launch.c: (expected_fail_pipe),
11442         (GST_START_TEST), (parse_suite):
11443         Fix some of the leaks exposed by extending the parse-launch testsuite,
11444         and move the 3 I can't figure out into a separate test that won't run
11445         the pipelines unless the appropriate line is uncommented.
11446
11447 2006-07-27  Tim-Philipp Müller  <tim at centricular dot net>
11448
11449         * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
11450           Requesting 0 bytes before the end of the file should result in
11451           FLOW_OK and an empty buffer, not FLOW_UNEXPECTED. Thank you
11452           unit test.
11453
11454 2006-07-27  Wim Taymans  <wim@fluendo.com>
11455
11456         * gst/gstcaps.c: (gst_static_caps_get), (gst_caps_get_structure):
11457         Fix useless assert, a uint is always positive.
11458
11459         * gst/gststructure.c: (gst_structure_nth_field_name),
11460         (gst_structure_foreach), (gst_structure_map_in_place):
11461         Check input arguments for public functions to avoid obvious crashes.
11462
11463         * plugins/elements/gstfakesink.c: (gst_fake_sink_render):
11464         * plugins/elements/gstfakesink.h:
11465         Do less useless typechecking.
11466
11467 2006-07-27  Tim-Philipp Müller  <tim at centricular dot net>
11468
11469         * plugins/elements/gstfilesrc.c: (gst_file_src_class_init):
11470           Do not use mmap() by default since there are a number of error
11471           conditions that we would like to handle in a non-fatal way that
11472           will result in a SIGBUS if we use mmap(). Examples: external
11473           devices (USB harddrive, portable music player) being unplugged
11474           while in use; file on mounted CD/DVD that can't be read because
11475           the medium is partly damaged. Fixes #348455 and #348475.
11476
11477 2006-07-27  Jan Schmidt  <thaytan@mad.scientist.com>
11478
11479         * gst/gstquery.h:
11480         Delete unused and misleading define of GST_QUERY_TYPE_RATE_DEN -
11481         rates are a gdouble
11482
11483 2006-07-26  Stefan Kost  <ensonic@users.sf.net>
11484
11485         * gst/gstregistry.c:
11486           Move big documentation comment into class section header, so that it
11487           appears in the API docs.
11488
11489 2006-07-26  Jan Schmidt  <thaytan@mad.scientist.com>
11490
11491         * docs/gst/gstreamer-sections.txt:
11492         Oops. Commit the docs additions too for new API.
11493         Also, remove the mention of the non-existent GST_QUERY_TYPE_RATE_DEN
11494
11495 2006-07-26  Jan Schmidt  <thaytan@mad.scientist.com>
11496
11497         * gst/gststructure.c: (gst_structure_id_set),
11498         (gst_structure_id_set_valist):
11499         * gst/gststructure.h:
11500         Add API for setting values into structures without performing
11501         a quark lookup, if the appropriate quark is already known.
11502
11503         API: gst_structure_id_set
11504         API: gst_structure_id_set_valist
11505
11506         * gst/parse/grammar.y:
11507         * gst/parse/parse.l:
11508         Remove some dead code shown by the coverage information.
11509         Don't throw a critical g_warning when encountering a syntax error,
11510         just warn and let the normal error path handle it.
11511
11512         * plugins/elements/gstelements.c:
11513         Bump the rank of filesink up to PRIMARY so that it is preferred over
11514         gnomevfssink for file:// sink uri's
11515
11516         * tests/check/pipelines/parse-launch.c: (expected_fail_pipe),
11517         (GST_START_TEST), (run_delayed_test),
11518         (gst_parse_test_element_base_init),
11519         (gst_parse_test_element_class_init), (gst_parse_test_element_init),
11520         (gst_parse_test_element_change_state),
11521         (gst_register_parse_element), (parse_suite):
11522         Beef up the tests for parse syntax to check that more error cases
11523         fail as they are supposed to. Increases the test coverage a bit.
11524
11525 2006-07-26  Tim-Philipp Müller  <tim at centricular dot net>
11526
11527         * docs/manual/basics-elements.xml:
11528           Fix gst_element_link() example.
11529
11530         * gst/gstutils.c:
11531           Mention in API docs that one should usually gst_bin_add()
11532           elements to a bin or pipeline before doing the linking.
11533           
11534 2006-07-26  Wim Taymans  <wim@fluendo.com>
11535
11536         * gst/gstbuffer.c: (gst_buffer_get_type), (gst_buffer_new),
11537         (gst_subbuffer_get_type), (gst_buffer_create_sub):
11538         Avoid function call for known types by keeping the buffer and
11539         subbuffer GType global.
11540
11541         * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
11542         Random silly optimisations in read() path.
11543
11544 2006-07-26  Jan Schmidt  <thaytan@mad.scientist.com>
11545
11546         * tools/gst-launch.c: (main):
11547           If the top-level of the parse is a normal bin, it doesn't do the
11548           right logic to run as a top-level element, so place it inside a
11549           pipeline.
11550
11551 2006-07-25  Tim-Philipp Müller  <tim at centricular dot net>
11552
11553         * plugins/elements/gstfilesrc.c: (gst_file_src_set_property):
11554           Remove superfluous g_object_notify() calls, GObject does
11555           that for us automatically.
11556
11557 2006-07-25  Stefan Kost  <ensonic@users.sf.net>
11558
11559         * gst/gstinfo.h:
11560           on Win32, use dllspec to export the debug category symbols
11561
11562 2006-07-24  Tim-Philipp Müller  <tim at centricular dot net>
11563
11564         * gst/gsttaglist.c: (_gst_tag_initialize):
11565           Allow more than one GST_TAG_IMAGE per taglist.
11566
11567 2006-07-24  Thomas Vander Stichele  <thomas at apestaart dot org>
11568
11569         * gst/gstminiobject.c:
11570           update docs
11571         * plugins/elements/gstfdsrc.c: (gst_fd_src_set_property),
11572         (gst_fd_src_create):
11573           log recurring events at LOG level
11574           add more debug for when the fd gets set
11575
11576 2006-07-21  Stefan Kost  <ensonic@users.sf.net>
11577
11578         * gst/gstparse.c: (gst_parse_launch):
11579           Also remove reentrance checks if flex is MT safe (#348179)
11580          Fix my empty ChangeLog entry below
11581
11582 2006-07-21  Andy Wingo  <wingo@pobox.com>
11583
11584         * docs/libs/gstreamer-libs-sections.txt: Attempt to pacify buildbot.
11585
11586         * libs/gst/check/Makefile.am
11587         (libgstcheck_@GST_MAJORMINOR@include_HEADERS)
11588         (libgstcheck_@GST_MAJORMINOR@_la_SOURCES): 
11589         * libs/gst/check/gstbufferstraw.h:
11590         * libs/gst/check/gstbufferstraw.c: Add some new hype testing
11591         functions, thus proving I am still a GStreamer haxor. OK I wrote
11592         them a long time ago, but anyways.
11593
11594 2006-07-21  Stefan Kost  <ensonic@users.sf.net>
11595
11596         * configure.ac:
11597         * gst/gstparse.c: (gst_parse_launch):
11598           Check for flex version and omit mutex if we have a MT save flex
11599           (fixes #348179)
11600
11601 2006-07-21  Wim Taymans  <wim@fluendo.com>
11602
11603         * gst/gstparse.c: (gst_parse_launch):
11604         Protect recursive calls to _parse with a recursive mutex
11605         and busy flag.
11606
11607 2006-07-21  Wim Taymans  <wim@fluendo.com>
11608
11609         * tests/check/gst/gstpad.c: (GST_START_TEST):
11610         Fix leak in test.
11611
11612 2006-07-20  Stefan Kost  <ensonic@users.sf.net>
11613
11614         * gst/gstparse.c: (gst_parse_launch):
11615           Do not hang on recursive usage of gst_parse_launch()
11616
11617 2006-07-20  Tim-Philipp Müller  <tim at centricular dot net>
11618
11619         * gst/gsttaglist.c:
11620           Add some more docs, comments and FIXME 0.11s here and there
11621           and also fix some typos.
11622
11623 2006-07-20  Tim-Philipp Müller  <tim at centricular dot net>
11624
11625         * gst/gstsegment.h:
11626           Convert tabs to spaces for better readability. 
11627
11628 2006-07-20  Edward Hervey  <edward@fluendo.com>
11629
11630         * tests/check/libs/gdp.c: (gst_dp_suite):
11631         the test_buffer test fails at line 140 on ppc64 at the following
11632         check:
11633         fail_unless (GST_BUFFER_FLAG_IS_SET (newbuffer,
11634                 GST_BUFFER_FLAG_IN_CAPS),
11635                 "GST_BUFFER_IN_CAPS flag should have been copied !");
11636         See bug #348114 for more details.
11637
11638 2006-07-19  Tim-Philipp Müller  <tim at centricular dot net>
11639
11640         * docs/pwg/advanced-scheduling.xml:
11641         * gst/gstpad.c:
11642           Fix typos (#348000).
11643
11644 2006-07-18  Tim-Philipp Müller  <tim at centricular dot net>
11645
11646         * docs/pwg/intro-basics.xml:
11647           Fix wrong links (#347927).
11648
11649 2006-07-18  Stefan Kost  <ensonic@users.sf.net>
11650
11651         * gst/gstregistry.h:
11652         * gst/gstregistryxml.c: (load_feature),
11653         (gst_registry_xml_read_cache), (gst_registry_xml_save_feature):
11654         * win32/common/config.h:
11655           make --disable-index work (#342564)
11656
11657 2006-07-18  Wim Taymans  <wim@fluendo.com>
11658
11659         Patch by: Peter Kjellerstedt <pkj at axis dot com>
11660
11661         * gst/Makefile.am:
11662         * gst/gsttrace.h:
11663         The attached patch adds two missing defines to gsttrace.h when tracing
11664         is disabled.  It also corrects one existing define.
11665         Fixes #347756.
11666
11667 2006-07-17  Wim Taymans  <wim@fluendo.com>
11668
11669         * docs/gst/gstreamer-sections.txt:
11670         * gst/gst.c: (gst_segtrap_is_enabled), (gst_segtrap_set_enabled):
11671         * gst/gst.h:
11672         * gst/gstplugin.c: (_gst_plugin_fault_handler_restore):
11673         Add two functions to check and change the SIGSEGV behaviour
11674         when loading plugins.
11675         Don't mess with the SIGSEGV handler when we were told not to.
11676         Fixes #347794.
11677         API: gst_segtrap_is_enabled
11678         API: gst_segtrap_set_enabled
11679
11680 2006-07-14  Wim Taymans  <wim@fluendo.com>
11681
11682         * libs/gst/base/gstbasesrc.c: (gst_base_src_update_length):
11683         * tests/check/elements/filesrc.c: (GST_START_TEST):
11684         Revert fix for regression in #347408 after release.
11685
11686 2006-07-14  Tim-Philipp Müller  <tim at centricular dot net>
11687
11688         Patch by: Antoine Tremblay <hexa00 at gmail com>
11689
11690         * gst/gstutils.c: (gst_element_unlink):
11691           Free iterator when done (#347311).
11692
11693         * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
11694           And add a test case for this.
11695
11696 2006-07-14  Jan Schmidt  <thaytan@mad.scientist.com>
11697
11698         * configure.ac:
11699         Bump nano back to CVS
11700
11701 === release 0.10.9 ===
11702
11703 2006-07-13  Jan Schmidt <thaytan@mad.scientist.com>
11704
11705         * configure.ac:
11706           releasing 0.10.9, "On the road again"
11707
11708 2006-07-13  Wim Taymans  <wim@fluendo.com>
11709
11710         * libs/gst/base/gstbasesrc.c: (gst_base_src_update_length):
11711         * tests/check/elements/filesrc.c: (GST_START_TEST):
11712         Revert pull-0 fix for release. Disable check. Fixes #347408.
11713
11714 2006-07-13  Thomas Vander Stichele  <thomas at apestaart dot org>
11715
11716         * libs/gst/dataprotocol/dataprotocol.c:
11717         (gst_dp_event_from_packet_1_0):
11718           Fixes #347337: failure to deserialize event packets with
11719           empty payload (only event type)
11720
11721 2006-07-13  Thomas Vander Stichele  <thomas at apestaart dot org>
11722
11723         * gst/Makefile.am:
11724           do not install a .c file in the header directory
11725
11726 2006-07-13  Edward Hervey  <edward@fluendo.com>
11727
11728         * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked):
11729         GhostPad no longer implicitely use the padtemplates of the targets.
11730         Fixes #347384
11731
11732 2006-07-11  Jan Schmidt  <thaytan@mad.scientist.com>
11733
11734         * gst/gstvalue.c: (gst_value_compare_list),
11735         (gst_value_compare_array), (_gst_value_initialize):
11736         * tests/check/gst/gstvalue.c: (GST_START_TEST):
11737         Make GstValueArray comparison be order dependent as designed.
11738         Add checks for value lists and value array comparisons.
11739         Fixes #347221
11740
11741 2006-07-11  Edward Hervey  <edward@fluendo.com>
11742
11743         * gst/gstbin.c: (activate_pads),
11744         (iterator_activate_fold_with_resync), (gst_bin_src_pads_activate),
11745         (gst_bin_change_state_func):
11746         (de)activate src pads before calling state_change on the childs.
11747         This is to avoid the case where a src ghostpad is blocked (holding the
11748         stream lock), which would block the deactivation of the ghostpad's
11749         target pad.
11750         * gst/gstghostpad.c: (gst_proxy_pad_do_query_type),
11751         (gst_proxy_pad_do_event), (gst_proxy_pad_do_query),
11752         (gst_proxy_pad_do_internal_link), (gst_proxy_pad_do_bufferalloc),
11753         (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange),
11754         (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_getcaps),
11755         (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
11756         (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target_unlocked),
11757         (gst_proxy_pad_set_target), (gst_proxy_pad_get_internal),
11758         (gst_proxy_pad_dispose), (gst_proxy_pad_init),
11759         (gst_ghost_pad_parent_set), (gst_ghost_pad_parent_unset),
11760         (gst_ghost_pad_class_init),
11761         (gst_ghost_pad_internal_do_activate_push),
11762         (gst_ghost_pad_internal_do_activate_pull),
11763         (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
11764         (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
11765         (gst_ghost_pad_dispose), (gst_ghost_pad_new_no_target),
11766         (gst_ghost_pad_new), (gst_ghost_pad_set_target):
11767         GhostPads now create their internal GstProxyPad at creation (and not
11768         when they're linked, as it was being done previously).
11769         The internal and target pads are linked straight away.
11770         The data will also travel through the other pad in order to make
11771         pad blocking and probes non-hackish (the probe/block now really happens
11772         on the GhostPad and not on the target).
11773         * gst/gstpad.c: (gst_pad_set_blocked_async),
11774         (gst_pad_link_prepare), (gst_pad_push_event):
11775         Remove previous ghostpad cruft.
11776         * gst/gstutils.c: (gst_pad_add_data_probe),
11777         (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
11778         (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
11779         (gst_pad_remove_buffer_probe):
11780         Remove previous ghost pad cruft.
11781         Added more detailed debug statements.
11782         * tests/check/gst/gstghostpad.c: (GST_START_TEST):
11783         Fix the testsuite for refcounting changes.
11784         The comments about who has references were correct, but the refcount
11785         being checked wasn't the same (!?!).
11786
11787         Fixes #341029
11788
11789 2006-07-10  Stefan Kost  <ensonic@users.sf.net>
11790
11791         * docs/gst/gstreamer-sections.txt:
11792         * gst/gstconfig.h.in:
11793         More docs for configuration options, add docs to gtk-doc.
11794
11795 2006-07-10  Stefan Kost  <ensonic@users.sf.net>
11796
11797         * gst/Makefile.am:
11798         * gst/gstconfig.h.in:
11799         * win32/common/config.h:
11800         Fix build when disabling tracing (fixes #344016). Also start to document
11801         the defines that disable the sub-systems.
11802
11803 2006-07-10  Edward Hervey  <edward@fluendo.com>
11804
11805         * gst/gst.c: (ensure_current_registry_forking):
11806         let's make valgrind happy...
11807
11808 2006-07-09  Wim Taymans  <wim@fluendo.com>
11809
11810         * gst/gstelement.c: (activate_pads),
11811         (iterator_activate_fold_with_resync), (gst_element_pads_activate):
11812         Better pad activation code: Reset the collect value too on resync.
11813         Add some comments.
11814
11815 2006-07-09  Wim Taymans  <wim@fluendo.com>
11816
11817         * gst/gstpad.c: (gst_pad_init), (gst_pad_activate_pull),
11818         (gst_pad_activate_push):
11819         Use some more macros where it makes sense.
11820         Allow pad mode switching instead of asserting. When a pad
11821         is activated in one mode and we activate it in another, 
11822         deactivate it first before activating it in a different mode.
11823         Fixes #329198.
11824
11825 2006-07-08  Andy Wingo  <wingo@pobox.com>
11826
11827         * tools/gst-launch.c (main): Handle err == NULL.
11828
11829         * gst/gst.c (init_post, ensure_current_registry)
11830         (ensure_current_registry_forking)
11831         (ensure_current_registry_nonforking): Reduce #ifdef ratnest by
11832         factoring out the registry scanning into separate functions. Don't
11833         fork for the rescan is GST_REGISTRY_FORK=no; useful in debugging.
11834         Better environment var name/interface suggestions accepted.
11835
11836 2006-07-07  Tim-Philipp Müller  <tim at centricular dot net>
11837
11838         * gst/gstobject.c: (gst_object_set_name_default),
11839         (gst_object_set_name):
11840           Random micro-optimisation: don't use a hash table
11841           with strings as keys and the usual strdup/strcmp
11842           involved, but rather just use the GQuark of the
11843           type name as key, since it needs to be looked up
11844           anyway to get the type name string.
11845
11846         * tests/check/gst/gstobject.c: (GST_START_TEST):
11847           Fix various leaks.
11848
11849 2006-07-07  Tim-Philipp Müller  <tim at centricular dot net>
11850
11851         * gst/gstbin.c: (compare_interface), (gst_bin_get_by_interface),
11852         (gst_bin_iterate_all_by_interface):
11853           Can't use GPOINTER_TO_INT and GINT_TO_POINTER with GTypes.
11854           GTypes are gulongs and thus the top 4 bytes might be cut
11855           off on some platforms when doing GPOINTER_TO_INT, leading
11856           to invalid GTypes and bad things happening (see RH bug #179654).
11857           Also add a check to make sure the type passed in is really
11858           an interface type.
11859
11860 2006-07-07  Tim-Philipp Müller  <tim at centricular dot net>
11861
11862         * .cvsignore:
11863           Ignore more.
11864
11865 2006-07-07  Tim-Philipp Müller  <tim at centricular dot net>
11866
11867         * Makefile.am:
11868         * configure.ac:
11869         * gst-element-check.m4:
11870         * gst-element-check.m4.in:
11871           Make gst-element-check-$VERSION.m4 call gst-inspect-$VERSION
11872           instead of the unversioned gst-inspect (#324176, #168659).
11873
11874 2006-07-06  Wim Taymans  <wim@fluendo.com>
11875
11876         * gst/gstmessage.h:
11877         Use a valid int for the _MESSAGE_ANY enum value to avoid compiler
11878         warnings.
11879
11880 2006-07-06  Wim Taymans  <wim@fluendo.com>
11881
11882         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
11883         (gst_base_src_wait), (gst_base_src_update_length),
11884         (gst_base_src_get_range), (gst_base_src_default_check_get_range),
11885         (gst_base_src_check_get_range), (gst_base_src_pad_check_get_range),
11886         (gst_base_src_loop), (gst_base_src_start),
11887         (gst_base_src_activate_pull):
11888         Update docs.
11889         blocksize == 0 now means the default blocksize when working in push
11890         based mode.
11891         Remove some pointless asserts in _wait function.
11892         Fix offset/length calculations and EOS handling. We can now pull 0
11893         bytes as well, which is allowed.
11894         use _check_get_range() to decide if we can operate in _pull based
11895         mode.
11896         Fix refcounting leak when check_get_range function was not 
11897         implemented.
11898         API GstBaseSrc::blocksize range can be 0 too now (default)
11899
11900         * tests/check/elements/filesrc.c: (GST_START_TEST),
11901         (filesrc_suite):
11902         Added check to test _get_range() behaviour.
11903
11904 2006-07-06  Wim Taymans  <wim@fluendo.com>
11905
11906         * gst/gstpad.c: (gst_pad_chain_unchecked), (gst_pad_chain),
11907         (gst_pad_push), (gst_pad_check_pull_range), (gst_pad_get_range),
11908         (gst_pad_pull_range):
11909         * gst/gstpad.h:
11910         Lots of comments and docs added to the pad functions.
11911         Flesh out the expected behaviour of the get_range() functions.
11912
11913 2006-07-06  Wim Taymans  <wim@fluendo.com>
11914
11915         * gst/gstbus.h:
11916         * gst/gstclock.h:
11917         * gst/gstevent.h:
11918         * gst/gstiterator.h:
11919         * gst/gstpad.h:
11920         * gst/gstplugin.h:
11921         * gst/gsttask.h:
11922         Remove comma at end of enumerator list. 
11923
11924 2006-07-05  Sebastien Moutte  <sebastien@moutte.net>
11925
11926         * win32/common/libgstbase.def:
11927         * win32/common/libgstdataprotocol.def:
11928         * win32/common/libsgtreamer.def:
11929         Add new exported functions.
11930
11931 2006-07-05  Wim Taymans  <wim@fluendo.com>
11932
11933         * libs/gst/base/gstpushsrc.c: (gst_push_src_check_get_range):
11934         Add some more docs here and there.
11935
11936 2006-07-05  Wim Taymans  <wim@fluendo.com>
11937
11938         * libs/gst/base/gstbasesink.c: (gst_base_sink_preroll_object),
11939         (gst_base_sink_loop), (gst_base_sink_get_position):
11940         When operating in pull mode update the offset so that we
11941         read sequentially.
11942
11943 2006-07-05  Wim Taymans  <wim@fluendo.com>
11944
11945         * gst/gstregistryxml.c: (read_string):
11946         Avoid strdup. (will happen in libxml, but hey!)
11947
11948         * gst/gsturi.c:
11949         Add some more docs.
11950
11951 2006-07-05  Wim Taymans  <wim@fluendo.com>
11952
11953         * gst/gstbuffer.c: (_gst_buffer_copy), (gst_buffer_create_sub):
11954         * tests/check/gst/gstbuffer.c: (GST_START_TEST),
11955         (gst_buffer_suite):
11956         No point in checking if the size of the subbuffer > 0, the
11957         code handles it correclty as demonstrated by unit test.
11958         Also add a unit test for the zero sized _new_and_alloc and
11959         _copy. Fixes #346663.
11960
11961 2006-07-05  Wim Taymans  <wim@fluendo.com>
11962
11963         * libs/gst/base/gstbasetransform.c:
11964         (gst_base_transform_prepare_output_buffer),
11965         (gst_base_transform_buffer_alloc),
11966         (gst_base_transform_handle_buffer):
11967         Make sure the buffer we pass to transform_ip has a refcount of
11968         1 and thus is writable. Fixes #343196
11969
11970 2006-07-04  Jan Schmidt  <thaytan@mad.scientist.com>
11971
11972         * plugins/elements/gstfilesrc.c: (gst_file_src_class_init),
11973         (gst_file_src_init), (gst_file_src_set_property),
11974         (gst_file_src_get_property), (gst_file_src_map_region):
11975         * plugins/elements/gstfilesrc.h:
11976         Add "sequential" property, off by default, to use madvise and hint
11977         to the kernel that sequential access is desired.
11978         Touch all retrieved pages by default to ensure they are pulled
11979         into memory. (Closes #345720)
11980
11981 2006-07-03  Wim Taymans  <wim@fluendo.com>
11982
11983         * docs/design/part-block.txt:
11984         * docs/design/part-dynamic.txt:
11985         Small docs updates.
11986
11987 2006-07-03  Wim Taymans  <wim@fluendo.com>
11988
11989         * gst/gstcaps.c: (gst_caps_new_empty), (_gst_caps_free),
11990         (gst_caps_unref), (gst_static_caps_get),
11991         (gst_caps_append_structure):
11992         * gst/gstclock.c: (gst_clock_entry_new), (_gst_clock_id_free):
11993         Use GSlice when the glib we build against is >= 2.10
11994
11995 2006-07-03  Wim Taymans  <wim@fluendo.com>
11996
11997         * gst/gstelement.c: (gst_element_pads_activate):
11998         Small cleanup in pad activation code.
11999
12000 2006-07-03  Wim Taymans  <wim@fluendo.com>
12001
12002         Patch by: Peter Kjellerstedt <pkj at axis dot com>
12003
12004         * gst/gst-i18n-app.h:
12005         * gst/gst-i18n-lib.h:
12006         * tools/gst-inspect.c: (print_signal_info):
12007         The attached patch will make the inclusion of gettext.h unconditional in
12008         gst/gst-i18n-app.h and gst/gst-i18n-lib.h, and it will remove the inclusion of
12009         libintl.h in tools/gst-inspect.c.
12010         This allows use of --disable-nls again and fixes #344642.
12011
12012 2006-07-03  Edward Hervey  <edward@fluendo.com>
12013
12014         * gst/gstpad.c: (handle_pad_block), (gst_pad_push_event):
12015         Implement pad blocking on events according to part-block.txt.
12016         More comments on behaviour.
12017         * tests/check/gst/gstevent.c: (test_event):
12018         Send event to peer pad of blocked pad (else it will block).
12019
12020 2006-07-03  Thomas Vander Stichele  <thomas at apestaart dot org>
12021
12022         * libs/gst/check/gstcheck.c: (gst_check_message_error),
12023         (gst_check_run_suite):
12024           if we get the wrong message, give us the types as string
12025         * plugins/elements/gstfilesrc.c: (gst_file_src_start):
12026           Fix a translatable
12027         * tests/check/elements/filesrc.c: (GST_START_TEST):
12028           add a test for trying to open a non-existing file
12029
12030 2006-07-03  Thomas Vander Stichele  <thomas at apestaart dot org>
12031
12032         * tests/check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
12033           add a test for adding self
12034
12035 2006-07-03  Thomas Vander Stichele  <thomas at apestaart dot org>
12036
12037         * libs/gst/check/gstcheck.h:
12038           add some assert_ as alias for fail_unless_*
12039         * tests/check/gst/gst.c: (GST_START_TEST), (gst_suite):
12040           increase test coverage
12041
12042 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
12043
12044         * Makefile.am:
12045           include lcov.mak for lcov coverage generation
12046         * tools/Makefile.am:
12047           add to CLEANFILES
12048
12049 2006-07-02  Edward Hervey  <edward@fluendo.com>
12050
12051         * tests/check/elements/.cvsignore:
12052         moaping
12053
12054 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
12055
12056         * configure.ac:
12057           don't set CFLAGS and friends for gcov, done from GST_GCOV now
12058         * tests/check/Makefile.am:
12059           clean up gcov files
12060
12061 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
12062
12063         * gst/gstcaps.c: (gst_caps_remove_and_get_structure):
12064           remove gst_caps_simplify; it was not declared and not used
12065           and deprecated in 0.8
12066
12067 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
12068
12069         * docs/faq/gst-uninstalled:
12070           don't put empty paths on PYTHONPATH
12071         * docs/gst/gstreamer-sections.txt:
12072           remove some symbols that are not there
12073
12074 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
12075
12076         * gst/gstcaps.c: (gst_caps_compare_structures):
12077           whitespace fixes
12078         * tests/check/gst/gstbuffer.c: (GST_START_TEST):
12079         * tests/check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
12080           add more tests
12081
12082 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
12083
12084         * libs/gst/dataprotocol/Makefile.am:
12085           build dataprotocol test by linking to the lib, instead of
12086           compiling the source, so we get coverage
12087         * tests/check/Makefile.am:
12088         * tests/check/elements/filesrc.c: (event_func), (setup_filesrc),
12089         (cleanup_filesrc), (GST_START_TEST), (filesrc_suite):
12090           add a test for filesrc
12091
12092 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
12093
12094         * tests/check/gst/gststructure.c: (GST_START_TEST),
12095         (gst_structure_suite):
12096           Push coverage from 59.04% to 70.00%
12097
12098 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
12099
12100         * tests/check/Makefile.am:
12101           gst-inspect every element; this makes sure that we also get
12102           coverage on element's get/set functions
12103
12104 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
12105
12106         * configure.ac:
12107           set CFLAGS and friends to -O0 if gcov is being used
12108           add GCOV LIBS
12109         * gst/Makefile.am:
12110         * libs/gst/base/Makefile.am:
12111         * libs/gst/check/Makefile.am:
12112         * libs/gst/controller/Makefile.am:
12113         * libs/gst/dataprotocol/Makefile.am:
12114         * libs/gst/net/Makefile.am:
12115         * plugins/elements/Makefile.am:
12116         * plugins/indexers/Makefile.am:
12117           add makefile rules to generate gcov data and clean up
12118         * tests/check/Makefile.am:
12119           add a coverage target that generates an html overview
12120           of coverage data
12121
12122 2006-07-01  Thomas Vander Stichele  <thomas at apestaart dot org>
12123
12124         * tests/check/elements/fakesink.c:
12125         * tests/check/elements/fakesrc.c:
12126         * tests/check/elements/fdsrc.c:
12127         * tests/check/elements/identity.c:
12128         * tests/check/generic/sinks.c: (gst_sinks_suite):
12129         * tests/check/generic/states.c:
12130         * tests/check/gst/gst.c:
12131         * tests/check/gst/gstabi.c:
12132         * tests/check/gst/gstbin.c:
12133         * tests/check/gst/gstbuffer.c: (gst_buffer_suite):
12134         * tests/check/gst/gstbus.c: (gst_bus_suite):
12135         * tests/check/gst/gstcaps.c: (GST_START_TEST):
12136         * tests/check/gst/gstelement.c:
12137         * tests/check/gst/gstevent.c: (gst_event_suite):
12138         * tests/check/gst/gstghostpad.c:
12139         * tests/check/gst/gstiterator.c: (gst_iterator_suite):
12140         * tests/check/gst/gstmessage.c: (gst_message_suite):
12141         * tests/check/gst/gstminiobject.c:
12142         * tests/check/gst/gstobject.c:
12143         * tests/check/gst/gstpad.c:
12144         * tests/check/gst/gstpipeline.c:
12145         * tests/check/gst/gstplugin.c:
12146         * tests/check/gst/gstquery.c: (gst_query_suite):
12147         * tests/check/gst/gstsegment.c: (gst_segment_suite):
12148         * tests/check/gst/gststructure.c:
12149         * tests/check/gst/gstsystemclock.c:
12150         * tests/check/gst/gsttag.c:
12151         * tests/check/gst/gsttask.c: (gst_task_suite):
12152         * tests/check/gst/gstutils.c:
12153         * tests/check/gst/gstvalue.c:
12154         * tests/check/libs/adapter.c:
12155         * tests/check/libs/basesrc.c:
12156         * tests/check/libs/collectpads.c:
12157         * tests/check/libs/controller.c:
12158         * tests/check/libs/gdp.c: (gst_dp_suite):
12159         * tests/check/libs/gstnetclientclock.c:
12160         * tests/check/libs/gstnettimeprovider.c:
12161         * tests/check/libs/libsabi.c: (libsabi_suite):
12162         * tests/check/libs/typefindhelper.c:
12163         * tests/check/pipelines/cleanup.c:
12164         * tests/check/pipelines/parse-launch.c:
12165         * tests/check/pipelines/simple-launch-lines.c:
12166         * tests/check/pipelines/stress.c: (stress_suite):
12167           use the new macro
12168
12169 2006-07-01  Thomas Vander Stichele  <thomas at apestaart dot org>
12170
12171         * libs/gst/check/gstcheck.c: (gst_check_run_suite):
12172         * libs/gst/check/gstcheck.h:
12173           create a macro and function so that the simple unit test
12174           case can be just one macro to create main()
12175
12176 2006-06-30  Tim-Philipp Müller  <tim at centricular dot net>
12177
12178         * gst/gstbin.c: (gst_bin_restore_thyself):
12179         * gst/gstxml.c: (gst_xml_make_element):
12180           Fix deserialisation from XML. Set parent manually
12181           instead of using gst_bin_add(), since gst_bin_add()
12182           will unlink all pads of the element being added.
12183           Fixes #341667.
12184
12185 2006-06-28  Tim-Philipp Müller  <tim at centricular dot net>
12186
12187         Patch by: Peter Kjellerstedt <pkj at axis com>
12188
12189         * gst/gst.c: (prepare_for_load_plugin_func), (split_and_iterate):
12190           Fix missing g_strdup() and double free when using the
12191           --gst-plugin-load command line option (#346097).
12192
12193 2006-06-23  Tim-Philipp Müller  <tim at centricular dot net>
12194
12195         * gst/gstinfo.c:
12196           Promote GST_DEBUG_CATEGORY_STATIC in example in docs.
12197
12198         * libs/gst/net/gstnetclientclock.c:
12199         * libs/gst/net/gstnettimeprovider.c:
12200           Use GST_DEBUG_CATEGORY_STATIC here too (#342503).
12201
12202 2006-06-23  Tim-Philipp Müller  <tim at centricular dot net>
12203
12204         * docs/manual/advanced-dataaccess.xml:
12205           Fix buffer probe example compilation in
12206           ADM (#345708).
12207         
12208 2006-06-22  Edward Hervey  <edward@fluendo.com>
12209
12210         * gst/gstelement.c: (gst_element_pads_activate):
12211         We need to deactivate src pads first and then sink pads.
12212         The reason is the src pads might be blocking while holding the streaming
12213         lock, so we need to deactivate them first so that deactivating the sink
12214         pads doesn't block (since it will require the streaming lock).
12215
12216 2006-06-22  Wim Taymans  <wim@fluendo.com>
12217
12218         * libs/gst/base/gstbasetransform.c:
12219         (gst_base_transform_buffer_alloc):
12220         Forgot to remove two unneeded unrefs.
12221         Simplify a check _is_equal allready checks the obvious case.
12222
12223 2006-06-22  Wim Taymans  <wim@fluendo.com>
12224
12225         * docs/design/part-block.txt:
12226         Some docs about what pad_block should do.
12227
12228 2006-06-22  Wim Taymans  <wim@fluendo.com>
12229
12230         * gst/gstcaps.c: (gst_caps_replace):
12231         Fix crasher when passed NULL. Doc clarification.
12232         Optimize for the trivial case.
12233
12234         * gst/gstpipeline.c: (gst_pipeline_change_state):
12235         Small cleanups.
12236
12237         * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
12238         Small documentation cleanup.
12239
12240         * libs/gst/base/gstbasetransform.c:
12241         (gst_base_transform_buffer_alloc):
12242         Don't use silly gst_pad_get_negotiated_caps, GST_PAD_CAPS
12243         is what we need and it avoids a whole lot of redundant 
12244         refcount operations.
12245
12246 2006-06-22  Tim-Philipp Müller  <tim at centricular dot net>
12247
12248         Patch by: Philip Jägenstedt  <philip at lysator liu se>
12249
12250         * docs/manual/advanced-dataaccess.xml:
12251           Fix 'Embedding static elements' section to use
12252           GST_PLUGIN_DEFINE_STATIC (#345607).
12253
12254 2006-06-21  Tim-Philipp Müller  <tim at centricular dot net>
12255
12256         * tests/check/pipelines/simple-launch-lines.c: (test_stop_from_app):
12257           Attempt to 'fix' spuriously failing test case: it seems like the
12258           timeout of half a second is simply too small when the system is under
12259           load otherwise, and the timeout doesn't really seem to serve any
12260           particular purpose here. Give the pipeline a few seconds to preroll
12261           first, and then give it another half a second to go from PAUSED to
12262           PLAYING and marshal the message into the main thread.
12263
12264 2006-06-21  Tim-Philipp Müller  <tim at centricular dot net>
12265
12266         * tools/gst-feedback-m.m:
12267           Don't only use unversioned tools, try versioned tools as well
12268           (#345086).
12269
12270 2006-06-21  Tim-Philipp Müller  <tim at centricular dot net>
12271
12272         * gst/gstbus.c: (gst_bus_class_init):
12273           Fix some typos, make docs more explicit.
12274
12275 2006-06-20  Wim Taymans  <wim@fluendo.com>
12276
12277         * tests/check/gst/gstghostpad.c: (block_callback),
12278         (GST_START_TEST), (gst_ghost_pad_suite):
12279         Added some more ghostpad tests, mainly blocking
12280         and probes.
12281
12282 2006-06-16  Wim Taymans  <wim@fluendo.com>
12283
12284         * plugins/elements/gstfilesink.c: (gst_file_sink_open_file),
12285         (gst_file_sink_close_file), (gst_file_sink_do_seek),
12286         (gst_file_sink_event), (gst_file_sink_render):
12287         * plugins/elements/gstfilesink.h:
12288         Check if we can seek in the file instead of assuming
12289         we always can. Post an error when we are asked to seek in a
12290         non-seekable file (like a fifo). Fixes #343312.
12291         Some cleanups.
12292
12293 2006-06-16  Tim-Philipp Müller  <tim at centricular dot net>
12294
12295         * tools/gst-launch.1.in:
12296           Un-garble (fourcc) bit in filtered caps section.
12297
12298 2006-06-16  Tim-Philipp Müller  <tim at centricular dot net>
12299
12300         * docs/manual/advanced-autoplugging.xml:
12301         * docs/manual/basics-helloworld.xml:
12302         * docs/manual/highlevel-components.xml:
12303           Don't leak bus reference in sample code.
12304
12305 2006-06-15  Tim-Philipp Müller  <tim at centricular dot net>
12306
12307         * autogen.sh:
12308           Add default for new --enable-plugin-docs switch.
12309
12310         * configure.ac:
12311           Use new GST_PLUGIN_DOCS macro to check for pyxml etc.
12312           Fixes #344039.
12313
12314         * docs/Makefile.am:
12315           Use new ENABLE_PLUGIN_DOCS conditional.
12316
12317 2006-06-14  Wim Taymans  <wim@fluendo.com>
12318
12319         * gst/gstbin.c: (bin_query_duration_done), (gst_bin_query):
12320         Make it clear with a FIXME and a real define what the #if 0
12321         previously disabled.
12322
12323 2006-06-14  Wim Taymans  <wim@fluendo.com>
12324
12325         * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment),
12326         (gst_base_sink_preroll_object), (gst_base_sink_get_position):
12327         * libs/gst/base/gstbasetransform.c:
12328         (gst_base_transform_sink_eventfunc):
12329         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_event):
12330         Don't randomly and silently reset a segment when the format 
12331         changes as this is a bug somewhere upstream. Fixes #330379.
12332
12333 2006-06-14  Tim-Philipp Müller  <tim at centricular dot net>
12334
12335         Patch by: Wouter Paesen  <wouter at kangaroot net>
12336
12337         * libs/gst/controller/gstcontroller.c:
12338         (gst_controlled_property_new):
12339           Fix controlling of float properties (#344849).
12340
12341         * tests/check/libs/controller.c:
12342         (gst_test_mono_source_get_property),
12343         (gst_test_mono_source_set_property),
12344         (gst_test_mono_source_class_init), (GST_START_TEST):
12345           While we're at it, add some float stuff to unit test.
12346
12347 2006-06-13  Thomas Vander Stichele  <thomas at apestaart dot org>
12348
12349         * docs/README:
12350         * docs/images/gdp-header.svg:
12351           add a gdp image
12352         * docs/libs/Makefile.am:
12353         * docs/libs/gdp-header.png:
12354         * libs/gst/dataprotocol/dataprotocol.c:
12355           add it to the API docs
12356         * docs/manual/intro-motivation.xml:
12357           fix typo
12358
12359 2006-06-13  Tim-Philipp Müller  <tim at centricular dot net>
12360
12361         * gst/gst.c: (scan_and_update_registry), (init_post):
12362           If the fork()'ed child process can't write the updated registry cache
12363           file to disk for some reason, make it exit with a failure exit code,
12364           so that the parent can then re-scan the plugins itself and update the
12365           registry structures in memory and work with that (rather than failing
12366           when creating elements because seemingly no plugins are available).
12367           Refactor registry scanning code into separate function for this and
12368           also separate fork() and non-fork() code paths. Fixes #344748.
12369
12370 2006-06-13  Wim Taymans  <wim@fluendo.com>
12371
12372         * docs/manual/advanced-dataaccess.xml:
12373         Fix wrong PluginDesc. Fixes #344755.
12374
12375 2006-06-13  Tim-Philipp Müller  <tim at centricular dot net>
12376
12377         * gst/gstregistryxml.c: (gst_registry_xml_write_cache):
12378           Fix silly bug that prevented us from creating
12379           ~/.gstreamer-0.10 and writing the registry in one
12380           go (the first call to g_mkstemp() would overwrite the
12381           placeholder in the template string, so the second call
12382           to g_mkstemp() after creating the missing directory
12383           would then error out with 'invalid argument').
12384
12385 2006-06-13  Edward Hervey  <edward@fluendo.com>
12386
12387         * gst/gst.c: (init_post):
12388         Free string.
12389
12390 2006-06-13  Thomas Vander Stichele  <thomas at apestaart dot org>
12391
12392         * gst/glib-compat-private.h:
12393         * gst/glib-compat.c:
12394         * gst/glib-compat.h:
12395         * gst/gstvalue.c: (gst_value_serialize_flags):
12396           remove GLib 2.6 compatibility code
12397
12398 2006-06-12  Tim-Philipp Müller  <tim at centricular dot net>
12399
12400         * gst/parse/Makefile.am:
12401           Fix build with 'make -j N' even more (#340016).
12402
12403 2006-06-12  Wim Taymans  <wim@fluendo.com>
12404
12405         * docs/gst/gstreamer-sections.txt:
12406         Fix docs.
12407
12408 2006-06-12  Wim Taymans  <wim@fluendo.com>
12409
12410         * gst/gstsegment.c: (gst_segment_set_duration),
12411         (gst_segment_set_last_stop), (gst_segment_set_seek),
12412         (gst_segment_set_newsegment_full), (gst_segment_to_stream_time),
12413         (gst_segment_to_running_time), (gst_segment_clip):
12414         Use G_UNLIKELY to help the compiler a bit.
12415
12416 2006-06-12  Wim Taymans  <wim@fluendo.com>
12417
12418         Patch by: Stefan Kost <ensonic at sonicpulse dot de>
12419
12420         * gst/gstevent.c: (gst_event_get_type):
12421         * gst/gstmessage.c:
12422         * gst/gstpad.c: (gst_pad_chain_unchecked), (gst_pad_chain),
12423         (gst_pad_push):
12424         constify quark registration strings. Fixes #344115
12425         Avoid unneeded type checking is _pad_push() by internally
12426         calling gst_pad_chain_unchecked().
12427
12428 2006-06-12  Wim Taymans  <wim@fluendo.com>
12429
12430         * gst/gstbuffer.c: (gst_buffer_get_type), (gst_buffer_finalize),
12431         (_gst_buffer_copy), (gst_buffer_is_metadata_writable),
12432         (gst_subbuffer_finalize), (gst_buffer_create_sub),
12433         (gst_buffer_is_span_fast), (gst_buffer_span):
12434         Init _type for consistency.
12435         Use _FLAGS macro to avoid type check.
12436         Avoid unneeded type checks in subbufer code.
12437
12438 2006-06-12  Wim Taymans  <wim@fluendo.com>
12439
12440         * gst/gst.c: (gst_debug_help):
12441         * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_list_free):
12442         * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
12443         (gst_plugin_feature_list_free):
12444         * gst/gstregistry.c: (gst_registry_add_plugin),
12445         (gst_registry_add_feature), (gst_registry_plugin_filter),
12446         (gst_registry_feature_filter), (gst_registry_find_plugin),
12447         (gst_registry_find_feature), (gst_registry_get_plugin_list),
12448         (gst_registry_lookup_feature_locked), (gst_registry_lookup_locked):
12449         * gst/gstregistryxml.c: (load_feature),
12450         (gst_registry_xml_read_cache), (gst_registry_xml_write_cache):
12451         * gst/gstminiobject.c: (gst_mini_object_unref),
12452         (gst_mini_object_replace), (gst_value_mini_object_free),
12453         (gst_value_mini_object_copy):
12454         Use _CAST macros to avoid unneeded type checking.
12455         Added some more G_UNLIKELY.
12456
12457 2006-06-12  Wim Taymans  <wim@fluendo.com>
12458
12459         * gst/gstbuffer.h:
12460         Avoid unneeded type checking.
12461         API: GST_BUFFER_IS_DISCONT
12462
12463         * gst/gstminiobject.h:
12464         Avoid type check in flag accessor.
12465
12466         * gst/gstelementfactory.h:
12467         * gst/gstplugin.h:
12468         * gst/gstpluginfeature.h:
12469         Add _CAST macros.
12470         API: GST_ELEMENT_FACTORY_CAST
12471         API: GST_PLUGIN_CAST
12472         API: GST_PLUGIN_FEATURE_CAST
12473
12474 2006-06-12  Wim Taymans  <wim@fluendo.com>
12475
12476         * gst/gstobject.c: (gst_object_get_type), (gst_object_ref),
12477         (gst_object_unref):
12478         Add G_UNLIKELY in type registration.
12479         Avoid type check in _ref/_unref since that is also
12480         done in glib.
12481
12482 2006-06-12  Wim Taymans  <wim@fluendo.com>
12483
12484         * gst/gsterror.c: (gst_g_error_get_type):
12485         * gst/gstpadtemplate.c: (gst_pad_template_get_type),
12486         (gst_static_pad_template_get_type):
12487         * gst/gsttaglist.c: (gst_tag_list_get_type):
12488         * gst/gsttagsetter.c: (gst_tag_setter_get_type):
12489         * gst/gsttypefindfactory.c: (gst_type_find_factory_get_type):
12490         * gst/gsturi.c: (gst_uri_handler_get_type):
12491         * gst/gstvalue.c: (gst_date_get_type):
12492         * gst/gstxml.c: (gst_xml_get_type):
12493         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_type),
12494         (gst_base_sink_preroll_object), (gst_base_sink_get_position):
12495         * libs/gst/base/gstbasesrc.c: (gst_base_src_get_type):
12496         Add G_UNLIKELY in type registration.
12497
12498 2006-06-12  Wim Taymans  <wim@fluendo.com>
12499
12500         * tools/gst-inspect.c: (print_signal_info):
12501         Properly print enum values.
12502
12503 2006-06-12  Wim Taymans  <wim@fluendo.com>
12504
12505         * gst/gstinfo.c: (gst_debug_set_active),
12506         (gst_debug_category_set_threshold), (_gst_debug_nameof_funcptr):
12507         * gst/gstinfo.h:
12508         Add some G_[UN]LIKELY.
12509         Maintain __gst_debug_min to avoid formatting the arguments of
12510         debug messages that will be dropped anyway to avoid a lot of 
12511         overhead from the debugging system.
12512
12513 2006-06-11  Stefan Kost  <ensonic@users.sf.net>
12514
12515         * po/POTFILES.in:
12516         * po/POTFILES.skip:
12517           add missing files containing translatable strings, tell intltool about
12518           one exception
12519
12520 2006-06-11  Stefan Kost  <ensonic@users.sf.net>
12521
12522         * tests/check/libs/.cvsignore:
12523         add test-binary to ignore list
12524
12525 2006-06-11  Stefan Kost  <ensonic@users.sf.net>
12526
12527         * docs/libs/gstreamer-libs-docs.sgml:
12528         reorder (put dp into a chapter) and indent
12529
12530 2006-06-10  Thomas Vander Stichele  <thomas at apestaart dot org>
12531
12532         * configure.ac:
12533           back to HEAD
12534
12535 === release 0.10.8 ===
12536
12537 2006-06-10  Thomas Vander Stichele <thomas at apestaart dot org>
12538
12539         * configure.ac:
12540           releasing 0.10.8, "Soepeke, ik zie ou nog altijd nie"
12541
12542 2006-06-10  Thomas Vander Stichele  <thomas at apestaart dot org>
12543
12544         * gst/gst.c: (init_post):
12545           move pid declaration to declaration block
12546
12547 2006-06-10  Thomas Vander Stichele  <thomas at apestaart dot org>
12548
12549         * gst/gst.c: (init_post):
12550           use _exit() instead of exit() in our forked child; this ensures
12551           that none of the registered exit handlers from whatever is using
12552           GStreamer get executed.  This fixes gnome-mixer-applet failing
12553           to load, because ORBit would shut down.
12554           Spotted by: Edward Hervey  <edward@fluendo.com>
12555           Fix suggested by: Tim-Philipp Müller  <tim at centricular dot net>
12556           Fixes #344474
12557
12558 2006-06-09  Thomas Vander Stichele  <thomas at apestaart dot org>
12559
12560         * configure.ac:
12561           back to TRUNK
12562
12563 === release 0.10.7 ===
12564
12565 2006-06-09  Thomas Vander Stichele <thomas at apestaart dot org>
12566
12567         * configure.ac:
12568           releasing 0.10.7, "Soepeke, ik zie ou"
12569
12570 2006-06-07  Thomas Vander Stichele  <thomas at apestaart dot org>
12571
12572         * configure.ac:
12573         * po/af.po:
12574         * po/az.po:
12575         * po/bg.po:
12576         * po/ca.po:
12577         * po/cs.po:
12578         * po/de.po:
12579         * po/en_GB.po:
12580         * po/fr.po:
12581         * po/it.po:
12582         * po/nb.po:
12583         * po/nl.po:
12584         * po/ru.po:
12585         * po/sq.po:
12586         * po/sr.po:
12587         * po/sv.po:
12588         * po/tr.po:
12589         * po/uk.po:
12590         * po/vi.po:
12591         * po/zh_CN.po:
12592         * po/zh_TW.po:
12593         * win32/common/config.h:
12594           0.10.6.2 prerelease
12595
12596 2006-06-07  Wim Taymans  <wim@fluendo.com>
12597
12598         * gst/gstindex.c: (gst_index_gtype_resolver):
12599         * tools/gst-xmlinspect.c: (print_plugin_info):
12600         Fix leak spotted by coverity checker. Fixes #343827
12601         Fix another other leak found by paolo borelli.
12602
12603 2006-06-06  Thomas Vander Stichele  <thomas at apestaart dot org>
12604
12605         * libs/gst/dataprotocol/dataprotocol.c:
12606         (gst_dp_header_from_buffer_any), (gst_dp_packet_from_caps_any),
12607         (gst_dp_version_get_type), (gst_dp_init),
12608         (gst_dp_header_from_buffer), (gst_dp_header_from_buffer_1_0),
12609         (gst_dp_packet_from_caps), (gst_dp_packet_from_caps_1_0),
12610         (gst_dp_packet_from_event), (gst_dp_packet_from_event_1_0),
12611         (gst_dp_event_from_packet_0_2), (gst_dp_event_from_packet_1_0),
12612         (gst_dp_event_from_packet), (gst_dp_packetizer_new),
12613         (gst_dp_packetizer_free):
12614         * libs/gst/dataprotocol/dataprotocol.h:
12615           API: add a GstDPPacketizer object, and create/free functions
12616           API: add GstDPVersion enum
12617           Add 1.0 event function that uses the string serialization
12618           Serialize more useful buffer flags
12619           Fixes #343988
12620
12621 2006-06-06  Thomas Vander Stichele  <thomas at apestaart dot org>
12622
12623         * tests/check/Makefile.am:
12624         * tests/check/gst/gstabi.c:
12625         * tests/check/gst/struct_ppc64.h:
12626         * tests/check/libs/libsabi.c:
12627         * tests/check/libs/struct_ppc64.h:
12628           add ppc64 structure sizes
12629
12630 2006-06-06  Thomas Vander Stichele  <thomas at apestaart dot org>
12631
12632         * tests/check/Makefile.am:
12633         * tests/check/gst/gstabi.c:
12634         * tests/check/gst/struct_x86_64.h:
12635         * tests/check/libs/libsabi.c:
12636         * tests/check/libs/struct_x86_64.h:
12637           generate and add structure size lists for x86_64
12638
12639 2006-06-06  Thomas Vander Stichele  <thomas at apestaart dot org>
12640
12641         * libs/gst/check/gstcheck.c: (gst_check_abi_list):
12642         * libs/gst/check/gstcheck.h:
12643           factor out the method from tests that checks size of structures,
12644           and add code to generate the header containing these sizes
12645         * tests/check/gst/gstabi.c: (GST_START_TEST):
12646         * tests/check/gst/struct_i386.h:
12647         * tests/check/libs/libsabi.c: (GST_START_TEST):
12648         * tests/check/libs/struct_i386.h:
12649           use it
12650
12651 2006-06-06  Michael Smith  <msmith@fluendo.com>
12652
12653         * gst/gstsegment.h:
12654           Don't use c++-style comments, fixes #343929
12655
12656 2006-06-05  Edward Hervey  <edward@fluendo.com>
12657
12658         * gst/gst.c:
12659         plugin_paths is not used if we build without registry support.
12660
12661         * gst/gstsegment.c: (gst_segment_copy): 
12662         _copy() was always returning NULL...
12663
12664 2006-06-02  Thomas Vander Stichele  <thomas at apestaart dot org>
12665
12666         * libs/gst/dataprotocol/dataprotocol.c:
12667         (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
12668         (gst_dp_packet_from_event):
12669           factor out CRC code
12670
12671 2006-06-02  Thomas Vander Stichele  <thomas at apestaart dot org>
12672
12673         * libs/gst/check/gstcheck.c: (gst_check_teardown_src_pad):
12674           make sure we unset caps
12675
12676 2006-06-02  Michael Smith  <msmith@fluendo.com>
12677
12678         * libs/gst/check/gstcheck.c: (gst_check_init),
12679         (gst_check_chain_func):
12680         * libs/gst/check/gstcheck.h:
12681           Add a cond/mutex to the check support lib, signal this whenever we
12682           add to the buffers list. This will allow tests to not busy-wait on
12683           the buffer-list.
12684
12685 2006-06-02  Thomas Vander Stichele  <thomas at apestaart dot org>
12686
12687         * libs/gst/dataprotocol/dataprotocol.c:
12688         (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
12689         (gst_dp_packet_from_event):
12690           factor out some common header init code
12691
12692 2006-06-02  Thomas Vander Stichele  <thomas at apestaart dot org>
12693
12694         * docs/libs/gstreamer-libs-sections.txt:
12695         * docs/libs/tmpl/gstdataprotocol.sgml:
12696         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_crc):
12697         * libs/gst/dataprotocol/dataprotocol.h:
12698           API: make gst_dp_crc() public
12699
12700 2006-06-01  Stefan Kost  <ensonic@users.sf.net>
12701
12702         * plugins/indexers/gstindexers.c: (plugin_init):
12703         conditionally register fileindexer (fixes #343598)
12704
12705 2006-06-01  Stefan Kost  <ensonic@users.sf.net>
12706
12707         * gst/gsttagsetter.h:
12708         Can't cast ifaces to a class
12709
12710         * libs/gst/net/gstnetclientclock.h:
12711         * libs/gst/net/gstnettimeprovider.h:
12712         * plugins/elements/gstfakesink.h:
12713         * plugins/elements/gstfakesrc.h:
12714         * plugins/elements/gstfdsink.h:
12715         * plugins/elements/gstfdsrc.h:
12716         * plugins/elements/gstfilesink.h:
12717         * plugins/elements/gstfilesrc.h:
12718         * plugins/elements/gstidentity.h:
12719         * plugins/elements/gstqueue.h:
12720         * plugins/elements/gsttee.h:
12721         * plugins/indexers/gstfileindex.c:
12722         * plugins/indexers/gstmemindex.c:
12723         * tests/old/examples/plugins/example.h:
12724         Fix more gobject macros: obj<->klass, GstXXX<->GstXXXClass
12725
12726 2006-06-01  Thomas Vander Stichele  <thomas at apestaart dot org>
12727
12728         * libs/gst/dataprotocol/dataprotocol.c:
12729         (gst_dp_header_from_buffer):
12730           make sure we zero the whole ABI-compatible area
12731
12732 2006-06-01  Wim Taymans  <wim@fluendo.com>
12733
12734         Patch by: Alessandro Decina <alessandro at nnva dot org>
12735
12736         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_stop):
12737         Make sure the EOS flag is cleared from pads after a flush
12738         or stop. Fixes #343538.
12739
12740         * tests/check/libs/collectpads.c: (GST_START_TEST),
12741         (gst_collect_pads_suite):
12742         Added test for collectpads reusage after EOS.
12743
12744 2006-05-30  Sebastien Moutte  <sebastien@moutte.net>
12745
12746         * gst/gst.c:
12747          set #include <sys/wait.h> in a #ifdef #ifdef HAVE_FORK
12748         * win32/common/libgstbase.def:
12749          export gst_collect_pads_set_flushing
12750         * win32/common/libgstreamer.def:
12751          export gst_pad_set_acceptcaps_function, gst_structure_empty_new,
12752          gst_value_fraction_multiply
12753         * win32/vs6/gst_inspect.dsp:
12754          add a link to intl.lib
12755
12756 2006-05-30  Wim Taymans  <wim@fluendo.com>
12757
12758         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad),
12759         (gst_collect_pads_chain):
12760         Handle the case where a pad is removed from the collection
12761         that could cause the other pads to become collectable.
12762
12763 2006-05-30  Wim Taymans  <wim@fluendo.com>
12764
12765         * gst/gstelement.c:
12766         Clarify the use of _release_request_pad() and
12767         _get_request_pad() a bit better.
12768
12769         * libs/gst/base/gstadapter.c: (gst_adapter_peek),
12770         (gst_adapter_take_buffer):
12771         Fix some doc and comment typos.
12772
12773 2006-05-30  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
12774
12775         * docs/gst/gstreamer-sections.txt:
12776         * docs/libs/gstreamer-libs-sections.txt:
12777           add declared symbols
12778
12779 2006-05-30  Jan Schmidt  <thaytan@mad.scientist.com>
12780
12781         * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
12782         Add debug that can be enabled using a #define at the top of the file,
12783         for dumping stats about how late/early we were when waking up from
12784         waiting on the clock.
12785
12786 2006-05-30  Wim Taymans  <wim@fluendo.com>
12787
12788         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_check_pads):
12789         When rebuilding the pad list, don't leak the previous list.
12790
12791 2006-05-30  Wim Taymans  <wim@fluendo.com>
12792
12793         Patch by: Lutz Mueller <lutz at topfrose dot de>
12794
12795         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
12796         (gst_base_src_get_query_types), (gst_base_src_update_length):
12797         Publish supported query types.
12798         Update last_stop field in get_range mode so the position
12799         query works. Fixes #342321.
12800
12801 2006-05-30  Tim-Philipp Müller  <tim at centricular dot net>
12802
12803         * docs/gst/gstreamer-sections.txt:
12804         * gst/gsttaglist.c: (_gst_tag_initialize):
12805         * gst/gsttaglist.h:
12806           API: add GST_TAG_PREVIEW_IMAGE (#343341).
12807
12808 2006-05-30  Wim Taymans  <wim@fluendo.com>
12809
12810         Patch by: Alessandro Decina <alessandro at nnva dot org>
12811
12812         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad):
12813         Unlock mutex when removing an unknown pad.
12814         Fixes #343334.
12815
12816         * tests/check/Makefile.am:
12817         * tests/check/libs/collectpads.c: (collected_cb), (push_buffer),
12818         (push_event), (setup), (teardown), (GST_START_TEST),
12819         (gst_collect_pads_suite), (main):
12820         Added collecpads check, disabled for now as check crashes for
12821         some reason.
12822
12823 2006-05-29  Wim Taymans  <wim@fluendo.com>
12824
12825         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize):
12826         Don't leak pads lists.
12827
12828 2006-05-29  Wim Taymans  <wim@fluendo.com>
12829
12830         * docs/libs/gstreamer-libs-sections.txt:
12831         * libs/gst/base/gstcollectpads.c:
12832         (gst_collect_pads_set_flushing_unlocked),
12833         (gst_collect_pads_set_flushing), (gst_collect_pads_start),
12834         (gst_collect_pads_stop):
12835         * libs/gst/base/gstcollectpads.h:
12836         API: gst_collect_pads_set_flushing()
12837         Added api to set the pads to flushing, useful for seeking
12838         code in elements using collectpads.
12839         Clear segment when receiving a flush.
12840
12841 2006-05-29  Tim-Philipp Müller  <tim at centricular dot net>
12842
12843         * gst/gst.c: (add_path_func), (init_post):
12844           Don't scan registry paths passed via --gst-plugin-path immediately
12845           (will crash, because absolutely nothing is set up and no types are
12846           registered etc.); do this later in init_post(). Fixes #343057.
12847
12848 2006-05-28  Thomas Vander Stichele  <thomas at apestaart dot org>
12849
12850         * gst/gst.c: (init_post):
12851           if we have fork, fork while reading/rebuilding the registry
12852           so the parent doesn't take the hit of having all plugins loaded
12853           in memory.  Fixes #342777.
12854         * configure.ac:
12855           Check if we have fork()
12856         * win32/common/config.h.in:
12857           no fork() on win32
12858
12859 2006-05-26  Jan Schmidt  <thaytan@mad.scientist.com>
12860
12861         * plugins/elements/gstelements.c:
12862         * plugins/elements/gstfilesrc.c: (gst_file_src_class_init),
12863         (gst_file_src_init), (gst_file_src_set_property),
12864         (gst_file_src_get_property), (gst_file_src_start):
12865         * plugins/elements/gstfilesrc.h:
12866           API: GstFileSrc::use-mmap
12867
12868         Add a use-mmap property to enable easier testing of all code paths.
12869         Bump rank to PRIMARY, so filesrc is the preferred file reader and used
12870         in the absence of gnomevfssrc. (Closes #340501)
12871
12872 2006-05-26  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
12873
12874         * tools/gst-inspect.c:
12875         Add missing include, removes warning of ngettext not being defined on
12876         some arches.
12877
12878 2006-05-26  Jan Schmidt  <thaytan@mad.scientist.com>
12879
12880         * gst/gstvalue.c: (gst_value_deserialize_fraction):
12881         Handle NULL input and output pointers silently as a failed conversion,
12882         rather than g_warnings.
12883
12884 2006-05-25  Wim Taymans  <wim@fluendo.com>
12885
12886         * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_start):
12887         Initialize variable before using. Fixes #342820.
12888
12889 2006-05-24  Tim-Philipp Müller  <tim at centricular dot net>
12890
12891         * libs/gst/base/gsttypefindhelper.c: (buf_helper_find_peek):
12892           Fix off-by-one bug that would only allow peeks of N-1 bytes
12893           from the start even if the buffer to typefind on contains
12894           in fact N bytes of data (makes vorbis typefinding from a
12895           vorbis identification header buffer work).
12896
12897         * tests/check/Makefile.am:
12898         * tests/check/libs/.cvsignore:
12899         * tests/check/libs/typefindhelper.c: (GST_START_TEST),
12900         (gst_typefindhelper_suite), (main), (foobar_typefind),
12901         (plugin_init):
12902           Add very basic unit test for gst_type_find_helper_for_buffer()
12903           that checks for the problem fixed above.
12904
12905 2006-05-24  Thomas Vander Stichele  <thomas at apestaart dot org>
12906
12907         * tools/gst-inspect.c: (print_interfaces),
12908         (print_element_properties_info), (print_element_list), (main):
12909           add more translatable strings
12910
12911 2006-05-23  Tim-Philipp Müller  <tim at centricular dot net>
12912
12913         Patch by: Julien Moutte  <julien at moutte net>
12914
12915         * docs/gst/gstreamer-sections.txt:
12916           Make new GST_FLOW_IS_SUCCESS macro visible in docs.
12917           
12918         * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init),
12919         (gst_fake_sink_preroll):
12920         * plugins/elements/gstfakesink.h:
12921           API: Add new GstFakeSink::preroll-handoff signal (#337100).
12922
12923 2006-05-23  Wim Taymans  <wim@fluendo.com>
12924
12925         * gst/gstpad.c: (gst_flow_get_name), (gst_flow_to_quark):
12926         * gst/gstpad.h:
12927         Added _CUSTOM error and success GstFlowReturn that can be
12928         used be elements internally. 
12929         Added macro to check for SUCCESS flowreturns.
12930         API: GST_FLOW_CUSTOM_SUCCESS
12931         API: GST_FLOW_CUSTOM_ERROR
12932         API: GST_FLOW_IS_SUCCESS
12933
12934         * tests/check/gst/gstpad.c: (GST_START_TEST), (gst_pad_suite):
12935         Added check for GstFlowReturn sanity.
12936
12937 2006-05-23  Wim Taymans  <wim@fluendo.com>
12938
12939         Patch by: Mark Nauwelaerts <manauw at skynet dot be>
12940
12941         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad),
12942         (gst_collect_pads_event):
12943         clear/reset segment info in FLUSH_STOP.
12944         Fixes #336929.
12945
12946 2006-05-22  Stefan Kost  <ensonic@users.sf.net>
12947
12948         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_stop),
12949         (gst_collect_pads_check_collected):
12950         Flush queued buffer on _stop(), fixes playing again (#342454)
12951
12952 2006-05-22  Thomas Vander Stichele  <thomas at apestaart dot org>
12953
12954         * tests/check/gst/gststructure.c: (GST_START_TEST),
12955         (gst_structure_suite):
12956           add a test for a complete structure
12957
12958 2006-05-19  Tim-Philipp Müller  <tim at centricular dot net>
12959
12960         * docs/faq/developing.xml:
12961         * docs/faq/faq.xml:
12962         * docs/faq/troubleshooting.xml:
12963         * docs/faq/using.xml:
12964           Some minor FAQ updates that won't change the fact that
12965           our FAQ is badly structured, full of information hardly
12966           anyone new to GStreamer needs to know and lacking lots
12967           of information people constantly ask for.
12968           
12969 2006-05-19  Jan Schmidt  <thaytan@mad.scientist.com>
12970
12971         * gst/gstpad.c: (gst_pad_set_caps):
12972           Short-circuit gst_pad_set_caps if setting the existing
12973           caps pointer again, and avoid printing debug and 
12974           reffing/unreffing the caps.
12975
12976         * plugins/elements/gstqueue.c: (gst_queue_push_one):
12977           There's actually no need to set the caps before pushing -
12978           the acceptcaps method will handle it anyway.
12979
12980 2006-05-19  Tim-Philipp Müller  <tim at centricular dot net>
12981
12982         * docs/gst/gstreamer-sections.txt:
12983         * win32/common/libgstreamer.def:
12984         * gst/gstutils.c: (gst_element_seek_simple):
12985         * gst/gstutils.h:
12986           API: add gst_element_seek_simple() (#342238).
12987
12988 2006-05-18  Edward Hervey  <edward@fluendo.com>
12989
12990         * gst/gsttypefind.c: (gst_type_find_get_type):
12991         * gst/gsttypefind.h:
12992         Added GST_TYPE_TYPE_FIND and gst_type_find_get_type() so a GType gets
12993         registered for GstTypeFind pointers. This allows wrapping the structure
12994         in bindings (i.e. gst-python).
12995
12996 2006-05-18  Tim-Philipp Müller  <tim at centricular dot net>
12997
12998         * gst/gsttagsetter.c:
12999           Docs additions and fixes (see #339918).
13000
13001 2006-05-18  Jan Schmidt  <thaytan@mad.scientist.com>
13002
13003         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
13004         The caps intersection algorithm can produce multiple copies of the
13005         caps. Until that is fixed, we need to simplify the result to be
13006         sure whether the allowed caps are fixed or not.
13007
13008         * plugins/elements/gstqueue.c: (gst_queue_init),
13009         (gst_queue_bufferalloc), (gst_queue_acceptcaps),
13010         (gst_queue_push_one):
13011         Proxied buffer alloc should not set the caps on the source pad.
13012         When pushing buffers, we always accept the caps change that triggers.
13013         This prevents negotiation errors caused by caps changing mid-stream 
13014         and then being refused on our source pad (because upstream is now
13015         refusing those caps).
13016
13017 2006-05-18  Tim-Philipp Müller  <tim at centricular dot net>
13018
13019         * tests/examples/helloworld/helloworld.c: (main):
13020           Must plug audioconvert and audioresample between decoder
13021           and audio sink.
13022
13023 2006-05-17  Jan Schmidt  <thaytan@mad.scientist.com>
13024
13025         * gst/gstregistryxml.c: (read_string), (load_pad_template),
13026         (load_feature), (load_plugin):
13027         Allow empty strings for some of the plugin fields so we don't 
13028         drop valid plugin entries that were written out correctly
13029         (Fixes #341479)
13030
13031 2006-05-17  Sebastien Moutte  <sebastien@moutte.net>
13032         
13033         * gst/gstregistryxml.c: (gst_registry_xml_write_cache):
13034           Use g_remove and g_rename instead of remove and rename that don't 
13035           handle utf8 characters. rename was failing for users who had specific
13036           characters in their name then the registry was built at each 
13037           gstreamer init.
13038         * win32/vs6/gst_inspect.dsp:
13039         * win32/vs6/gst_launch.dsp:
13040         * win32/vs6/libgstbase.dsp:
13041         * win32/vs6/libgstcoreelements.dsp:
13042         * win32/vs6/libgstreamer.dsp:
13043           Use a debug version of libxml2 (libxml2D.lib,libxml2D.dll) for DEBUG 
13044           build of libgstreamer and clean unused libraries in projects link 
13045           settings.
13046
13047 2006-05-17  Edward Hervey  <edward@fluendo.com>
13048
13049         * plugins/elements/gstqueue.c: (gst_queue_push_one):
13050         The queue is not responsible for pushing an EOS when receiving a fatal
13051         flow error. It's up to the real element driving the pipeline to do that.
13052
13053 2006-05-16  Edward Hervey  <edward@fluendo.com>
13054
13055         * plugins/elements/gstqueue.c: (gst_queue_push_one):
13056         The queue was posting a non-needed GST_MESSAGE_ERROR when pushing a
13057         buffer returned a fatal error. It should just send an EOS and stop
13058         its task.
13059         Upstream elements will then properly receive the GST_FLOW_UNEXPECTED
13060         when pushing buffers on the queue and will be able to handle the event.
13061
13062 2006-05-16  Tim-Philipp Müller  <tim at centricular dot net>
13063
13064         * docs/manual/basics-bins.xml:
13065         * docs/manual/basics-init.xml:
13066           Fix typos and minor errors in sample code (#341856).
13067
13068 2006-05-16  Wim Taymans  <wim@fluendo.com>
13069
13070         * docs/design/part-qos.txt:
13071         Fix indexes in formulas to make more sense.
13072
13073 2006-05-15  Wim Taymans  <wim@fluendo.com>
13074
13075         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
13076         Don't report POSITION based on clock time if sync is
13077         disabled in a sink.
13078
13079 2006-05-15  Tim-Philipp Müller  <tim at centricular dot net>
13080
13081         * gst/gstobject.h:
13082           Add cast to make compiler happy - refcount variable was a gint
13083           in GstObject but is a guint in GObject and g_atomic_int_get()
13084           wants a gint *.
13085
13086 2006-05-15  Thomas Vander Stichele  <thomas at apestaart dot org>
13087
13088         * gst/parse/Makefile.am:
13089           chain commands using &&, which also makes parallel make work
13090
13091 2006-05-14  Tim-Philipp Müller  <tim at centricular dot net>
13092
13093         * docs/gst/gstreamer-sections.txt:
13094         * gst/gstevent.c:
13095         * gst/gstevent.h:
13096         * gst/gstmessage.h:
13097           Minor docs fixes.
13098
13099 === release 0.10.6 ===
13100
13101 2006-05-14  Jan Schmidt <thaytan@mad.scientist.com>
13102
13103         * configure.ac:
13104           releasing 0.10.6, "Take the cannoli"
13105
13106 2006-05-13  Tim-Philipp Müller  <tim at centricular dot net>
13107
13108         * tools/gst-launch.c: (print_tag):
13109           Fix use of uninitialized variable in the hypothetical
13110           case that some broken plugin creates a GST_TAG_IMAGE
13111           tag containing a NULL buffer (#341667).
13112
13113 2006-05-12  Tim-Philipp Müller  <tim at centricular dot net>
13114
13115         * tools/gst-launch.c: (print_tag):
13116           Print something more intelligible for image tags when
13117           using the -t switch (#341556).
13118
13119 2006-05-12  Thomas Vander Stichele  <thomas at apestaart dot org>
13120
13121         * Makefile.am:
13122           updates for win32
13123         * configure.ac:
13124           define GST_MAJORMINOR so we have it available in win32/common/config.h
13125           Possibly remove it from our Makefile.am files later
13126         * win32/common/config.h:
13127         * win32/common/config.h.in:
13128           added GST_MAJORMINOR
13129         * win32/common/gstenumtypes.c: (register_gst_resource_error):
13130         * win32/common/gstversion.h:
13131           updated
13132
13133 2006-05-12  Sebastien Moutte  <sebastien@moutte.net>
13134
13135         * win32/MANIFEST:
13136           Update win32 files listing.
13137         * win32/common/gstversion.h:
13138           Add GST_MAJORMINOR definition.
13139         * win32/common/libgstreamer.def:
13140           Add new exported functions.
13141           
13142 2006-05-12  Michael Smith  <msmith@fluendo.com>
13143
13144         * gst/gstplugin.c: (gst_plugin_load_file):
13145           If an so file has no plugin entry point, unload the module.
13146
13147 2006-05-11  Wim Taymans  <wim@fluendo.com>
13148
13149         * plugins/elements/gstqueue.c: (gst_queue_chain), (gst_queue_loop),
13150         (gst_queue_set_property):
13151         Don't forget to signal the _chain or _loop function 
13152         when the queue size or thresholds change since that might
13153         cause them to make progres again.
13154
13155 2006-05-11  Stefan Kost  <ensonic@users.sf.net>
13156
13157         * gst/gstclock.c: (gst_clock_class_init):
13158         * gst/gstindex.c: (gst_index_class_init):
13159         * gst/gstobject.c: (gst_object_class_init):
13160         * gst/gstpad.c: (gst_pad_class_init):
13161         * gst/gstpipeline.c: (gst_pipeline_class_init):
13162         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
13163         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init):
13164         * libs/gst/base/gstbasetransform.c:
13165         (gst_base_transform_class_init):
13166         * libs/gst/net/gstnetclientclock.c:
13167         (gst_net_client_clock_class_init):
13168         * libs/gst/net/gstnettimeprovider.c:
13169         (gst_net_time_provider_class_init):
13170         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_class_init):
13171         * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init):
13172         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init):
13173         * plugins/elements/gstfdsink.c: (gst_fd_sink_class_init):
13174         * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init):
13175         * plugins/elements/gstfilesink.c: (gst_file_sink_class_init):
13176         * plugins/elements/gstfilesrc.c: (gst_file_src_class_init):
13177         * plugins/elements/gstidentity.c: (gst_identity_class_init):
13178         * plugins/elements/gsttee.c: (gst_tee_class_init):
13179         * tests/old/examples/plugins/example.c: (gst_example_class_init):
13180         * tests/old/testsuite/threads/signals.c: (gst_test_class_init):
13181           G_OBJECT_CLASS macro usage batch cleanup, fixes #337747 for core
13182
13183 2006-05-11  Wim Taymans  <wim@fluendo.com>
13184
13185         * gst/gstbuffer.c: (_gst_buffer_initialize):
13186         Register subbufer along with the buffer type so that
13187         it does not accidentally gets registered from N
13188         different streaming threads in a non threadsafe way.
13189
13190 2006-05-10  Tim-Philipp Müller  <tim at centricular dot net>
13191
13192         * gst/gstbuffer.h:
13193         * gst/gstevent.h:
13194         * gst/gstmessage.h:
13195           Make gtk-doc generate docs for our inlined gst_buffer_ref(),
13196           gst_event_ref() and gst_message_ref() functions again
13197           (ugly hack, please do fix if there's a better way besides
13198           overrides.txt, which doesn't seem to work).
13199
13200 2006-05-10  Thomas Vander Stichele  <thomas at apestaart dot org>
13201
13202         * libs/gst/check/gstcheck.h:
13203           add an assert for setting state to avoid lots of repetitive code
13204           in the future
13205
13206 2006-05-10  Thomas Vander Stichele  <thomas at apestaart dot org>
13207
13208         * gst/gstvalue.c: (gst_value_serialize_flags):
13209           fix a leak if no flags are set
13210         * tests/check/gst/gstvalue.c: (GST_START_TEST):
13211           fix leak in tests
13212
13213 2006-05-10  Tim-Philipp Müller  <tim at centricular dot net>
13214
13215         * docs/manual/basics-pads.xml:
13216           Expand a bit on caps and filtered links and update
13217           examples that were still using the no longer existing
13218           gst_pad_link_filtered() (#338206).
13219
13220 2006-05-10  Wim Taymans  <wim@fluendo.com>
13221
13222         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
13223         (gst_collect_pads_add_pad), (gst_collect_pads_remove_pad),
13224         (gst_collect_pads_set_flushing), (gst_collect_pads_start),
13225         (gst_collect_pads_stop):
13226         * libs/gst/base/gstcollectpads.h:
13227         No need to call _stop in _finalize.
13228         Iterate the main pad list in _finalize.
13229         Added some more debug.
13230         Free lists and data in the right order.
13231         Also free data whem doing _remove_pad when stopped for
13232         backward compatibility protect ::started with PAD_LOCK as
13233         well.
13234
13235 2006-05-10  Thomas Vander Stichele  <thomas at apestaart dot org>
13236
13237         * gst/gststructure.c: (gst_structure_gtype_from_abbr),
13238         (gst_structure_parse_value):
13239           add some comments
13240           rename a method so that it actually says what it does better
13241
13242 2006-05-10  Thomas Vander Stichele  <thomas at apestaart dot org>
13243
13244         * gst/gstevent.c: (_gst_event_initialize):
13245         * gst/gstformat.c: (_gst_format_initialize):
13246           make sure some essential types used by events are registered
13247           as part of gst_init()
13248         * gst/gstvalue.c: (gst_value_serialize_flags):
13249           if no flags are set, serialize them to a value that represents NONE
13250           so that deserializing them works
13251         * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
13252           add tests for serialization and deserialization of flags
13253
13254 2006-05-10  Wim Taymans  <wim@fluendo.com>
13255
13256         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_collect),
13257         (gst_collect_pads_collect_range), (gst_collect_pads_available),
13258         (gst_collect_pads_check_pads), (gst_collect_pads_check_collected),
13259         (gst_collect_pads_event), (gst_collect_pads_chain):
13260         Update docs.
13261         Better debug info.
13262         Catch and return errors from the collect function
13263         Refuse data on eos pads.
13264
13265 2006-05-10  Edward Hervey  <edward@fluendo.com>
13266
13267         * gst/gstinterface.h:
13268         GST_IMPLEMENTS_INTERFACE and GST_IS_IMPLEMENTS_INTERFACE use the normal
13269         GInterface type checking.
13270         They were previously using non-defined macros.
13271
13272 2006-05-09  Wim Taymans  <wim@fluendo.com>
13273
13274         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_init),
13275         (gst_collect_pads_finalize), (gst_collect_pads_add_pad),
13276         (gst_collect_pads_remove_pad), (gst_collect_pads_set_flushing),
13277         (gst_collect_pads_start), (gst_collect_pads_stop),
13278         (gst_collect_pads_peek), (gst_collect_pads_pop),
13279         (gst_collect_pads_available), (gst_collect_pads_read),
13280         (gst_collect_pads_flush), (gst_collect_pads_check_pads),
13281         (gst_collect_pads_is_collected), (gst_collect_pads_event),
13282         (gst_collect_pads_chain):
13283         * libs/gst/base/gstcollectpads.h:
13284         Clean up the mess that is collectpads, add comments and
13285         FIXMEs where needed.
13286         Maintain a separate pad list so we can add pads while
13287         collecting the other ones. For this we need a new separate 
13288         lock (see comics).
13289         Fix memory leak in finalize.
13290         Refactor some weird code to set/unset pad flushing flags, mark
13291         with comments.
13292         Don't crash in _available, _read, _flush when we're EOS.
13293
13294         * tests/check/libs/.cvsignore:
13295         Ignore adapter check binary.
13296
13297 2006-05-09  Tim-Philipp Müller  <tim at centricular dot net>
13298
13299         * gst/gstindex.c: (gst_index_resolver_get_type):
13300         * plugins/elements/gstfakesink.c:
13301         (gst_fake_sink_state_error_get_type):
13302         * plugins/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
13303         (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type):
13304         * plugins/elements/gstqueue.c: (queue_leaky_get_type):
13305           Const-ify GEnumValue arrays.
13306
13307 2006-05-09  Tim-Philipp Müller  <tim at centricular dot net>
13308
13309         * tests/check/gst/gstbuffer.c: (GST_START_TEST):
13310           Add test case for flags + gst_buffer_make_metadata_writable().
13311
13312 2006-05-09  Tim-Philipp Müller  <tim at centricular dot net>
13313
13314         * gst/gstbuffer.c: (gst_buffer_make_metadata_writable):
13315           gst_buffer_make_metadata_writable() should maintain the
13316           buffer flags (those that make sense at least) (see #340859).
13317
13318 2006-05-09  Tim-Philipp Müller  <tim at centricular dot net>
13319
13320         * tools/gst-inspect.c:
13321         * tools/gst-launch.c:
13322         * tools/gst-typefind.c:
13323         * tools/gst-xmlinspect.c:
13324         * tools/tools.h:
13325           Fix up includes: need to include stdlib.h in tools.h for exit().
13326
13327 2006-05-09  Tim-Philipp Müller  <tim at centricular dot net>
13328
13329         * gst/gsttaglist.c: (_gst_tag_initialize):
13330         * gst/gsttaglist.h:
13331           API: add GST_TAG_IMAGE tag (#340721).
13332
13333 2006-05-08  Wim Taymans  <wim@fluendo.com>
13334
13335         * gst/gstquery.c:
13336         Added some docs for the segment query.
13337
13338 2006-05-08  Wim Taymans  <wim@fluendo.com>
13339
13340         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
13341         (gst_base_src_loop), (gst_base_src_change_state):
13342         Always push non-flushing serialized events in the streaming 
13343         thread.
13344
13345 2006-05-08  Thomas Vander Stichele  <thomas at apestaart dot org>
13346
13347         * gst/gsterror.c: (_gst_stream_errors_init):
13348           Add a missing error string.
13349
13350 2006-05-08  Jan Schmidt  <thaytan@mad.scientist.com>
13351
13352         * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment):
13353         Add applied_rate to the debug
13354
13355         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek):
13356         Copy applied_rate into the outgoing NEWSEGMENT event
13357
13358 2006-05-08  Wim Taymans  <wim@fluendo.com>
13359
13360         Patch by: Philippe Rouquier <philippero at libertysurf dot fr>
13361
13362         * libs/gst/base/gstbasesink.c: (gst_base_sink_set_flushing),
13363         (gst_base_sink_change_state):
13364         call ::unlock before taking the PREROLL_LOCK so we can safely
13365         handle elements that lock in ::render.
13366         Fixes #340174.
13367
13368 2006-05-08  Edward Hervey  <edward@fluendo.com>
13369
13370         * autogen.sh: (CONFIGURE_DEF_OPT): 
13371         Darwin's libtoolize is in fact called glibtoolize.
13372         Adding glibtoolize to the list of accepted names for libtoolize.
13373
13374 2006-05-08  Wim Taymans  <wim@fluendo.com>
13375
13376         * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
13377         Unify error handling, don't post an error message
13378         when a push() returns EOS but perform our normal EOS
13379         handling code. Fixes #340772.
13380
13381 2006-05-08  Wim Taymans  <wim@fluendo.com>
13382
13383         * docs/design/part-overview.txt:
13384         Make upsteam/downstream concepts more clear.
13385         Give an example of serialized/non-serialized events.
13386
13387         * docs/design/part-events.txt:
13388         * docs/design/part-streams.txt:
13389         Mention applied_rate.
13390
13391         * docs/design/part-trickmodes.txt:
13392         Mention applied rate, flesh out some more use cases.
13393
13394         * gst/gstevent.c: (gst_event_new_new_segment),
13395         (gst_event_parse_new_segment), (gst_event_new_new_segment_full),
13396         (gst_event_parse_new_segment_full), (gst_event_new_tag),
13397         (gst_event_parse_tag), (gst_event_new_buffer_size),
13398         (gst_event_parse_buffer_size), (gst_event_new_qos),
13399         (gst_event_parse_qos), (gst_event_parse_seek),
13400         (gst_event_new_navigation):
13401         * gst/gstevent.h:
13402         Add applied_rate field to NEWSEGMENT event.
13403         API: gst_event_new_new_segment_full()
13404         API: gst_event_parse_new_segment_full()
13405
13406         * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_seek),
13407         (gst_segment_set_newsegment), (gst_segment_set_newsegment_full),
13408         (gst_segment_to_stream_time), (gst_segment_to_running_time):
13409         * gst/gstsegment.h:
13410         Add applied_rate to GstSegment structure.
13411         Make calculation of stream_time and running_time more correct
13412         wrt rate/applied_rate.
13413         Add some more docs.
13414         API: GstSegment::applied_rate field
13415         API: gst_segment_set_newsegment_full();
13416
13417         * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment),
13418         (gst_base_sink_get_sync_times), (gst_base_sink_get_position):
13419         * libs/gst/base/gstbasetransform.c:
13420         (gst_base_transform_sink_eventfunc),
13421         (gst_base_transform_handle_buffer):
13422         Parse and use applied_rate in the GstSegment field.
13423
13424         * tests/check/gst/gstevent.c: (GST_START_TEST):
13425         Add check for applied_rate field.
13426
13427         * tests/check/gst/gstsegment.c: (GST_START_TEST),
13428         (gstsegments_suite):
13429         Add more checks for various GstSegment operations.
13430
13431 2006-05-08  Wim Taymans  <wim@fluendo.com>
13432
13433         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
13434         (gst_base_sink_do_sync), (gst_base_sink_chain_unlocked),
13435         (gst_base_sink_get_position), (gst_base_sink_change_state):
13436         Store the sync time of the buffer end position separatly in a
13437         new variable eos_rtime so we can properly sync the EOS event.
13438         Fixes #340697.
13439         Fix the docs for gst_base_sink_set_qos_enabled().
13440         Don't set segment start to invalid value when we receive a 
13441         non TIME newsegment.
13442         get closer to handling position reporting for negative rates 
13443         correctly.
13444
13445 2006-05-07  Stefan Kost  <ensonic@users.sf.net>
13446
13447         * gst/gstcaps.c:
13448         Docs about how to print caps for debug purposes.
13449
13450         * gst/gstpadtemplate.c: (gst_static_pad_template_get):
13451         use gst_caps_make_writable instead of gst_caps_copy, Fixes #340608
13452
13453 2006-05-07  Stefan Kost  <ensonic@users.sf.net>
13454
13455         * gst/gstelement.c:
13456           use full enum names and preprend a '%' in docs strings to make recent 
13457           gtk-doc turn that into a link
13458
13459 2006-05-05  Tim-Philipp Müller  <tim at centricular dot net>
13460
13461         * docs/manual/basics-bins.xml:
13462         * docs/manual/basics-bus.xml:
13463         * docs/manual/basics-pads.xml:
13464           Some typo fixes, some additions, some clarifications. 
13465
13466 2006-05-05  Tim-Philipp Müller  <tim at centricular dot net>
13467
13468         * tools/gst-inspect.c: (main):
13469         * tools/gst-launch.c: (main):
13470         * tools/gst-run.c: (main):
13471         * tools/gst-typefind.c: (main):
13472         * tools/gst-xmlinspect.c: (main):
13473           Use the string passed to g_option_context_new() for
13474           what it's intended for - the program name is already
13475           printed elsewhere.
13476
13477 2006-05-05  Tim-Philipp Müller  <tim at centricular dot net>
13478
13479         * tools/Makefile.am:
13480         * tools/gst-inspect.c: (main):
13481         * tools/gst-launch.c: (main):
13482         * tools/gst-xmlinspect.c: (main):
13483         * tools/tools.h:
13484           Add back --version command line option (#340460).
13485
13486         * tools/gst-typefind.c: (have_type_handler), (typefind_file), (main):
13487           Add --version option and use GOption for argument parsing; refactor a
13488           bit; accept directories as arguments and recurse into them; lastly,
13489           print a decent error message when things go wrong.
13490
13491 2006-05-05  Maciej Katafiasz  <mathrick@freedesktop.org>
13492
13493         * docs/manual/basics-bins.xml:
13494         Don't mention GstThread (#340611)
13495         * docs/manual/basics-elements.xml:
13496         Update link to GObject tutorial (#340607)
13497         
13498 2006-05-05  Wim Taymans  <wim@fluendo.com>
13499
13500         * gst/gstbuffer.h:
13501         * gst/gstminiobject.c:
13502         Add note about refcounting and miniobject/buffer writeability
13503         to docs. Fixes #340604
13504
13505         * gst/gstelementfactory.h:
13506         Added some explanation about @klass.
13507
13508 2006-05-05  Maciej Katafiasz  <mathrick@freedesktop.org>
13509
13510         * docs/manual/intro-motivation.xml:
13511         * docs/manual/manual.xml:
13512         Avoid CORBA & Bonobo references (#340598)
13513
13514 2006-05-05  Maciej Katafiasz  <mathrick@freedesktop.org>
13515
13516         * docs/manual/basics-bus.xml:
13517         * docs/manual/basics-pads.xml:
13518         Fix up some inaccuracies and omissions (#340609)
13519         
13520 2006-05-05  Maciej Katafiasz  <mathrick@freedesktop.org>
13521
13522         * gst/gstghostpad.c:
13523           Small typo in docs (#340625)
13524
13525 2006-05-05  Tim-Philipp Müller  <tim at centricular dot net>
13526
13527         * gst/parse/Makefile.am:
13528           Make 'make -j' proof (see #340698).
13529
13530 2006-05-05  Tim-Philipp Müller  <tim at centricular dot net>
13531
13532         * configure.ac:
13533           Require GLib-2.8 here as well.
13534
13535 2006-05-05  Wim Taymans  <wim@fluendo.com>
13536
13537         * gst/glib-compat.c:
13538         * gst/gst.c: (init_pre):
13539         * gst/gstobject.c: (gst_object_init), (gst_object_ref),
13540         (gst_object_unref), (gst_object_replace), (gst_object_dispose),
13541         (gst_object_dispatch_properties_changed):
13542         * gst/gstobject.h:
13543         * gst/gstregistryxml.c: (gst_registry_xml_read_cache):
13544         * gst/gststructure.c: (gst_structure_set_valist):
13545         * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
13546         Remove pre glib2.8 compatibility, fixes #340508
13547
13548 2006-05-04  Tim-Philipp Müller  <tim at centricular dot net>
13549
13550         * gst/gsttaglist.h:
13551           Mention type of tags in doc blurbs.
13552
13553 2006-05-04  Jan Schmidt  <thaytan@mad.scientist.com>
13554
13555         * gst/gstpad.c: (gst_pad_init), (gst_pad_configure_sink),
13556         (gst_pad_configure_src), (gst_pad_push):
13557         Restore acceptcaps checking behaviour now that good plugins have
13558         been released.
13559
13560 2006-05-04  Tim-Philipp Müller  <tim at centricular dot net>
13561
13562         Patch by: James Andrewartha <trs80 at tartarus uwa edu au>
13563
13564         * gst/gst.c:
13565         * gst/gstbus.c:
13566         * gst/gstclock.c:
13567         * gst/gstevent.c:
13568         * gst/gstformat.c:
13569         * gst/gstmessage.c:
13570         * gst/gstparse.c:
13571         * gst/gstquery.c:
13572         * gst/gstutils.c:
13573         * gst/parse/Makefile.am:
13574         * libs/gst/base/gstadapter.c:
13575         * libs/gst/base/gstbasesrc.c:
13576         * libs/gst/base/gstpushsrc.c:
13577         * libs/gst/base/gsttypefindhelper.c:
13578         * plugins/elements/gstfakesrc.c:
13579         * plugins/elements/gstidentity.c:
13580           Make sure gstprivate.h and/or config.h are
13581           always included first, otherwise some of our
13582           defines (like _FILE_OFFSET_BITS) might be
13583           redefined in the system headers. Fixes build
13584           on opensolaris (#340016).
13585
13586 2006-05-04  Wim Taymans  <wim@fluendo.com>
13587
13588         * docs/libs/gstreamer-libs-sections.txt:
13589         API: addition: gst_adapter_take_buffer()
13590         
13591         * libs/gst/base/gstadapter.c: (gst_adapter_push),
13592         (gst_adapter_peek), (gst_adapter_take), (gst_adapter_take_buffer),
13593         (gst_adapter_available_fast):
13594         * libs/gst/base/gstadapter.h:
13595         Prepare for optimizing the hell out of this hugely inefficient
13596         piece of code. 
13597         Added gst_adapter_take_buffer() so we can at least start thinking
13598         about subbuffering and merging.
13599         Added some comments.
13600
13601         * tests/check/Makefile.am:
13602         * tests/check/libs/adapter.c: (GST_START_TEST),
13603         (gst_adapter_suite), (main):
13604         Added GstAdapter check.
13605
13606 2006-05-04  Wim Taymans  <wim@fluendo.com>
13607
13608         * docs/design/part-overview.txt:
13609         Fix some typos, add blurb about buffer flags.
13610
13611 2006-05-03  Thomas Vander Stichele  <thomas at apestaart dot org>
13612
13613         * docs/libs/gstreamer-libs-sections.txt:
13614           make sure GstBaseTransformClass shows up in the docs
13615         * libs/gst/base/gstbasetransform.c:
13616         * libs/gst/base/gstbasetransform.h:
13617           move docs so gtk-doc picks it up now
13618
13619 2006-05-02  Stefan Kost  <ensonic@users.sf.net>
13620
13621         * docs/libs/gstreamer-libs-sections.txt:
13622           add missing symbols to docs
13623
13624 2006-05-02  Stefan Kost  <ensonic@users.sf.net>
13625
13626         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_event):
13627           back out the newsegment handling change, see #340060 for ongoing
13628           discussion
13629
13630 2006-04-30  Tim-Philipp Müller  <tim at centricular dot net>
13631
13632         * tools/gst-run.c: (get_candidates), (main):
13633           Fix wrong g_file_test() usage (see glib docs for why it doesn't
13634           work); fix typo in error message. Fixes #340079.
13635
13636 2006-04-29  Thomas Vander Stichele  <thomas at apestaart dot org>
13637
13638         * common/Makefile.am:
13639         * docs/Makefile.am:
13640         * docs/faq/Makefile.am:
13641         * docs/gst/Makefile.am:
13642         * docs/libs/Makefile.am:
13643         * docs/manual/Makefile.am:
13644         * docs/plugins/Makefile.am:
13645         * docs/pwg/Makefile.am:
13646         * docs/slides/Makefile.am:
13647         * docs/upload.mak:
13648         * common/upload.mak:
13649           move upload.mak to common
13650
13651 2006-04-29  Thomas Vander Stichele  <thomas at apestaart dot org>
13652
13653         * tests/check/gst/gstghostpad.c: (GST_START_TEST):
13654           add more asserts on refcounts
13655           do more cleanup at end of tests
13656           fix test leaks showing in FC5
13657
13658 2006-04-29  Stefan Kost  <ensonic@users.sf.net>
13659
13660         * plugins/elements/gsttypefindelement.c:
13661         (gst_type_find_element_handle_event):
13662         reverted wrong change and reflowed code to avoid others falling into
13663         this trap
13664
13665 2006-04-28  Stefan Kost  <ensonic@users.sf.net>
13666
13667         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_event):
13668           fix changelog entry about last collectpads change,
13669           add notes about proper fix
13670
13671 2006-04-28  Stefan Kost  <ensonic@users.sf.net>
13672
13673         * gst/gst.c:
13674         * gst/gstregistry.c: (gst_registry_scan_path_level),
13675         (gst_registry_scan_path):
13676         * gst/gstregistry.h:
13677           only write out registry if it has changed, fixes #338339
13678
13679 2006-04-28  Stefan Kost  <ensonic@users.sf.net>
13680
13681         * gst/gstbin.c:
13682         * gst/gstpipeline.c:
13683         * plugins/elements/gstcapsfilter.c:
13684         * plugins/elements/gstfakesink.c:
13685         * plugins/elements/gstfakesrc.c:
13686         * plugins/elements/gstfdsink.c:
13687         * plugins/elements/gstfdsrc.c:
13688         * plugins/elements/gstfilesink.c:
13689         * plugins/elements/gstfilesrc.c:
13690         * plugins/elements/gstidentity.c:
13691         * plugins/elements/gstqueue.c:
13692         * plugins/elements/gsttee.c:
13693         * plugins/elements/gsttypefindelement.c:
13694         (gst_type_find_element_handle_event):
13695           make GstElementDetails const
13696
13697 2006-04-28  Stefan Kost  <ensonic@users.sf.net>
13698
13699         * libs/gst/base/gstbasesink.c: (gst_base_sink_event):
13700         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
13701         (gst_collect_pads_is_collected), (gst_collect_pads_event):
13702           more detailed debug and formatting cleanup,
13703           forward newsegments to src-pad (so that e.g. adder not eats them)
13704
13705 2006-04-28  Stefan Kost  <ensonic@users.sf.net>
13706
13707         * gst/gstutils.c: (gst_element_link_pads):
13708           cleanup double code
13709
13710 2006-04-28  Stefan Kost  <ensonic@users.sf.net>
13711
13712         * libs/gst/controller/gstcontroller.c:
13713         (gst_controller_sync_values):
13714           some little tuning
13715         * tests/check/libs/controller.c: (GST_START_TEST),
13716         (gst_controller_suite):
13717           a new test for live value handling
13718
13719 2006-04-28  Wim Taymans  <wim@fluendo.com>
13720
13721         * gst/gstutils.c: (push_and_ref):
13722         Added some more docs.
13723         Fix refcount issue whith gst_element_found_tags() helper 
13724         function. Fixes #338335
13725
13726         * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
13727         Added testsuite for gst_element_found_tags().
13728
13729 2006-04-28  Michael Smith  <msmith@fluendo.com>
13730
13731         * gst/gstvalue.c: (gst_value_serialize_flags):
13732           Avoid NULL dereference when trying to serialize flags containing
13733           invalid values.
13734
13735 2006-04-28  Michael Smith  <msmith@fluendo.com>
13736
13737         * plugins/elements/gsttypefindelement.c:
13738         (gst_type_find_element_handle_event):
13739           If we get EOS before any data is accumulated, don't use
13740           uninitialised local variables.
13741
13742 2006-04-28  Michael Smith  <msmith@fluendo.com>
13743
13744         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
13745         (gst_dp_event_from_packet):
13746           Fixes in reading/writing events over GDP (not currently used?) - 
13747           dereferencing NULL events for unknown/invalid event types, memory
13748           leak, and change g_warning to GST_WARNING.
13749
13750 2006-04-28  Wim Taymans  <wim@fluendo.com>
13751
13752         * libs/gst/base/gstbasesink.c: (gst_base_sink_is_too_late),
13753         (gst_base_sink_do_render_stats), (gst_base_sink_render_object),
13754         (gst_base_sink_get_position), (gst_base_sink_change_state):
13755         When frame dropping is enabled, we should not ignore frames
13756         without a duration.
13757         Update some documentation.
13758
13759 2006-04-28  Wim Taymans  <wim@fluendo.com>
13760
13761         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
13762         (gst_base_src_send_event), (gst_base_src_change_state):
13763         Documentation updates.
13764
13765 2006-04-28  Wim Taymans  <wim@fluendo.com>
13766
13767         * plugins/elements/gstfdsink.c: (gst_fd_sink_render),
13768         (gst_fd_sink_check_fd), (gst_fd_sink_update_fd):
13769         handle EAGAIN, EINTR and short writes correctly. Also clean
13770         up some error cases, avoid a deadlock on bad file descriptors and
13771         use GST_DEBUG_OBJECT.
13772         Fixes #339843
13773
13774 2006-04-28  Wim Taymans  <wim@fluendo.com>
13775
13776         * gst/gstvalue.c: (gst_value_serialize_buffer),
13777         (gst_value_deserialize_buffer):
13778         Don't try to serialize a GValue with a NULL buffer. 
13779         Fixes #339821.
13780
13781         * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
13782         Added check for serialisation of NULL buffers.
13783
13784 2006-04-28  Wim Taymans  <wim@fluendo.com>
13785
13786         * gst/gstminiobject.c: (gst_value_take_mini_object):
13787         Taking a NULL miniobject is valid, fix the case where
13788         we try to unref the NULL miniobject.
13789
13790 2006-04-28  Wim Taymans  <wim@fluendo.com>
13791
13792         Patch by: Stefan Kost <ensonic at sonicpulse dot de>
13793
13794         * gst/gstbin.c: (gst_bin_handle_message_func):
13795         Update docs.
13796         Don't leak bin refcount when a state recalc is
13797         in progress and we delay another one #339808.
13798
13799 2006-04-28  Wim Taymans  <wim@fluendo.com>
13800
13801         * docs/design/part-TODO.txt:
13802         Mention QoS as an ongoing work item.
13803
13804         * docs/design/part-buffering.txt:
13805         New doc about buffering that needs to be fleshed out
13806         at some point.
13807
13808         * docs/design/part-qos.txt:
13809         More QoS policy for decoders/demuxers/transforms
13810
13811         * docs/design/part-trickmodes.txt:
13812         Small update.
13813
13814 2006-04-28  Thomas Vander Stichele  <thomas at apestaart dot org>
13815
13816         * configure.ac:
13817           back to HEAD
13818
13819 === release 0.10.5 ===
13820
13821 2006-04-28  Thomas Vander Stichele <thomas at apestaart dot org>
13822
13823         * configure.ac:
13824           releasing 0.10.5, "Fogo"
13825
13826 2006-04-22  Thomas Vander Stichele  <thomas at apestaart dot org>
13827
13828         patch by: Wim Taymans
13829
13830         * gst/gstpad.c: (gst_pad_init), (gst_pad_configure_sink),
13831         (gst_pad_configure_src), (gst_pad_push):
13832         * gst/gstpipeline.c: (gst_pipeline_init):
13833           Fix internal data flow errors.  Fixes #338711.
13834
13835 2006-04-12  Wim Taymans  <wim@fluendo.com>
13836
13837         * tests/check/gst/gstelement.c: (GST_START_TEST):
13838         Don't leak the factory.
13839
13840 2006-04-12  Thomas Vander Stichele  <thomas at apestaart dot org>
13841
13842         * configure.ac:
13843         * win32/common/config.h:
13844           prerelease
13845
13846 2006-04-12  Tim-Philipp Müller  <tim at centricular dot net>
13847
13848         * libs/gst/controller/gstcontroller.c: (gst_controller_unset),
13849         (gst_controller_unset_all):
13850           Free allocated GstTimedValues when freeing list nodes.
13851           Should fix leaks 'make check-valgrind' complains about.
13852
13853         * win32/common/libgstcontroller.def:
13854           Add gst_controller_unset_all.
13855
13856 2006-04-11  Stefan Kost  <ensonic@users.sf.net>
13857
13858         * docs/libs/gstreamer-libs-sections.txt:
13859         * libs/gst/controller/gstcontroller.c: (gst_controller_unset),
13860         (gst_controller_unset_all):
13861         * libs/gst/controller/gstcontroller.h:
13862         API: Added new method gst_controller_unset_all()
13863         fixed gst_controller_unset()
13864         * tests/check/libs/controller.c: (GST_START_TEST),
13865         (gst_controller_suite):
13866         Added two testcases for new and fixed method
13867
13868 2006-04-11  Tim-Philipp Müller  <tim at centricular dot net>
13869
13870         * libs/gst/net/gstnettimepacket.c: (gst_net_time_packet_send):
13871           MSG_DONTWAIT is not defined on Cygwin, so work
13872           around that (fixes #317048).
13873           
13874 2006-04-11  Wim Taymans  <wim@fluendo.com>
13875
13876         * gst/gstelementfactory.c: (gst_element_register),
13877         (gst_element_factory_create), (gst_element_factory_make):
13878         Some cleanups.
13879         Fixed a FIXME.
13880         Updated docs (Fixes #131079)
13881
13882         * gst/gstpluginfeature.c: (gst_plugin_feature_load):
13883         Small cleanups.
13884
13885         * tests/check/gst/gstelement.c: (GST_START_TEST),
13886         (gst_element_suite):
13887         Added testcase for elementfactory class field.
13888
13889 2006-04-10  Wim Taymans  <wim@fluendo.com>
13890
13891         * gst/gstsegment.c:
13892         Added some more docs.
13893
13894         * libs/gst/base/gstbasesink.c: (gst_base_sink_perform_qos),
13895         (gst_base_sink_reset_qos):
13896         Calculate more accurate rate values.
13897
13898 2006-04-09  Sebastien Moutte  <sebastien@moutte.net>
13899
13900         * gst/gst_private.h:
13901           add a new #ifdef to use __declspec(dllimport) only for
13902           other modules and not for gstreamer core
13903         * gst/gstbasesink.c: (gst_base_sink_perform_qos):
13904           use gst_guint64_to_gdouble for conversion
13905         * win32/common/libgstreamer.def:
13906           add new exported functions
13907         * win32/vs6/gst_inspect.dsp:
13908         * win32/vs6/gst_launch.dsp:
13909         * win32/vs6/libgstbase.dsp:
13910         * win32/vs6/libgstcontroller.dsp:
13911         * win32/vs6/libgstcoreelements.dsp:
13912         * win32/vs6/libgstdataprotocol.dsp:
13913         * win32/vs6/libgstnet.dsp:
13914           update project files
13915
13916 2006-04-08  Stefan Kost  <ensonic@users.sf.net>
13917
13918         * gst/gstbuffer.c: (gst_subbuffer_class_init):
13919         * gst/gstclock.c: (gst_clock_class_init):
13920         * gst/gstelement.c: (gst_element_class_init):
13921         * gst/gstindex.c: (gst_index_class_init):
13922         * gst/gstindexfactory.c: (gst_index_factory_class_init):
13923         * gst/gstobject.c: (gst_object_class_init),
13924         (gst_signal_object_class_init):
13925         * gst/gstpad.c: (gst_pad_class_init):
13926         * gst/gstpadtemplate.c: (gst_pad_template_class_init):
13927         * gst/gstpluginfeature.c: (gst_plugin_feature_class_init):
13928         * gst/gstregistry.c: (gst_registry_class_init):
13929         * gst/gstsystemclock.c: (gst_system_clock_class_init):
13930         * gst/gsttask.c: (gst_task_class_init):
13931         * gst/gstxml.c: (gst_xml_class_init):
13932         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
13933         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
13934         (gst_base_src_loop):
13935         * libs/gst/controller/gstcontroller.c:/
13936         (_gst_controller_class_init):
13937         * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init):
13938         * plugins/indexers/gstfileindex.c: (gst_file_index_class_init):
13939         * plugins/indexers/gstmemindex.c: (gst_mem_index_class_init):
13940         * tests/old/examples/plugins/example.c: (gst_example_class_init):
13941         * tests/old/testsuite/threads/signals.c: (gst_test_class_init):
13942         Fix #337365 (g_type_class_ref <-> g_type_class_peek_parent)
13943
13944 2006-04-08  Tim-Philipp Müller  <tim at centricular dot net>
13945
13946         * gst/gstpad.c: (gst_pad_link):
13947           Must set peer pads before calling the link function, otherwise
13948           a task started from a link function might get a flow-not-linked
13949           result when trying to push because the other thread where the
13950           linking happens hasn't had a chance to set the peers yet. This
13951           might happen for example when a queue gets linked to a downstream
13952           element, as queue starts a streaming task when its source pad
13953           gets linked. Happens in real life when playing back flac/musepack
13954           files in playbin (#332390).
13955           
13956 2006-04-08  Stefan Kost  <ensonic@users.sf.net>
13957
13958         * gst/gstindex.h:
13959         * gst/gstxml.h:
13960         * libs/gst/base/gstadapter.h:
13961         * libs/gst/base/gstbasesink.h:
13962         * libs/gst/base/gstbasesrc.h:
13963         * libs/gst/base/gstbasetransform.h:
13964         * libs/gst/base/gstcollectpads.h:
13965         * libs/gst/base/gstpushsrc.h:
13966         Fix broken GObject macros
13967
13968 2006-04-07  Wim Taymans  <wim@fluendo.com>
13969
13970         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
13971         Initialize start and stop times, thanks valgrind.
13972
13973 2006-04-07  Wim Taymans  <wim@fluendo.com>
13974
13975         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
13976         Be a bit nicer to badly behaving upstream elements that expect
13977         us to deal with non TIME segments and timestamps (such as fakesrc
13978         in the testsuite).
13979
13980 2006-04-07  Wim Taymans  <wim@fluendo.com>
13981
13982         * gst/gstbus.c:
13983         Small documentation clarification about the signal watch.
13984
13985         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
13986         (gst_base_sink_wait_clock), (gst_base_sink_do_sync),
13987         (gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
13988         (gst_base_sink_do_render_stats), (gst_base_sink_render_object),
13989         (gst_base_sink_get_position_last),
13990         (gst_base_sink_get_position_paused), (gst_base_sink_change_state):
13991         Convert and store timestamps in stream time and running time, the
13992         raw timestamps are not useful, also document this better.
13993         Use different window sizes for good and bad QoS observations so
13994         we react to badness a little quicker.
13995         Keep track of the amount of rendered and dropped buffers.
13996         Send QoS timestamps in running time.
13997
13998         * libs/gst/base/gstbasetransform.c:
13999         (gst_base_transform_sink_eventfunc),
14000         (gst_base_transform_handle_buffer):
14001         Compare QoS timestamps against running time.
14002
14003 2006-04-06  Tim-Philipp Müller  <tim at centricular dot net>
14004
14005         * gst/gstpad.c:
14006           Typo fixes in docs.
14007
14008 2006-04-06  Michael Smith  <msmith@fluendo.com>
14009
14010         * gst/gstpad.c: (gst_pad_set_property):
14011           Use g_value_get_object() instead of g_value_dup_gst_object(),
14012           to avoid double-reffing the pad template (which we then sink,
14013           so this worked previously if (and only if) the pad template
14014           was floating.
14015
14016         * gst/gstpadtemplate.c: (gst_pad_template_init),
14017         (gst_pad_template_pad_created):
14018           Never return floating references to pad templates, create
14019           them as initially-sunken.
14020
14021           Document an extra function (and make this stop sinking our
14022           pad template, since that is now guaranteed to do nothing,
14023           since we created it sunken).
14024
14025         * gst/gstghostpad.c:
14026           Fix docs typo.
14027
14028 2006-04-06  Tim-Philipp Müller  <tim at centricular dot net>
14029
14030         * gst/gstinfo.c: (__gst_in_valgrind):
14031           Add some newlines.
14032
14033         * plugins/elements/gsttypefindelement.c:
14034         (gst_type_find_element_chain):
14035           Don't leak buffer caps.
14036
14037 2006-04-06  Michael Smith  <msmith@fluendo.com>
14038
14039         * gst/parse/grammar.y:
14040           Fix a leak in parse-launch for any source-or-sink named element 
14041           references used.
14042
14043         * tests/check/pipelines/parse-launch.c: (expected_fail_pipe):
14044           Unref the pipeline if it exists after we've failed parsing.
14045
14046 2006-04-05  Michael Smith  <msmith@fluendo.com>
14047
14048         * gst/gstpipeline.c: (gst_pipeline_init):
14049           When we create a pipeline bus, initially create it in flushing mode.
14050           Fixes leaks in at least one test, and makes a new pipeline work the
14051           same as one that has gone to READY and then back to NULL.
14052
14053         * gst/gstelement.c:
14054           Typo fix in docs.
14055
14056 2006-04-05  Michael Smith  <msmith@fluendo.com>
14057
14058         * tests/check/gst/gstghostpad.c: (GST_START_TEST):
14059           Unref a pad we reffed.
14060         * tests/check/gst/gstutils.c: (GST_START_TEST):
14061           Unref bins
14062
14063 2006-04-05  Michael Smith  <msmith@fluendo.com>
14064
14065         * gst/gstquery.c: (gst_query_set_formats),
14066         (gst_query_set_formatsv):
14067           Fix leaking GValues in queries, as shown by valgrind/testsuite.
14068
14069 2006-04-05  Michael Smith  <msmith@fluendo.com>
14070
14071         * tests/check/generic/sinks.c: (GST_START_TEST):
14072           Fix a variety of memleaks in sinks check, which are only sometimes 
14073           shown by running the tests under valgrind (weird?).
14074
14075 2006-04-05  Jan Schmidt  <thaytan@mad.scientist.com>
14076
14077         * docs/version.entities.in:
14078           Fix the substituted entity name after thomas' changes on the
14079           weekend.
14080
14081 2006-04-05  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
14082
14083         * gst/gstinfo.c: (__gst_in_valgrind): Use printf instead of
14084         VALGRIND_PRINTF
14085         
14086 2006-04-05  Andy Wingo  <wingo@pobox.com>
14087
14088         * gst/gstpad.c (gst_pad_set_blocked_async): More debug.
14089
14090         * libs/gst/base/gstbasetransform.c
14091         (gst_base_transform_sink_eventfunc): When resetting our segment on
14092         FLUSH_STOP, also update the flag saying we haven't seen a
14093         newsegment.
14094
14095 2006-04-04  Tim-Philipp Müller  <tim at centricular dot net>
14096
14097         Patch by: Paolo Borelli  <pborelli at katamail dot com>
14098
14099         * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_class_init),
14100         (gst_plugin_check_license):
14101           minor clean-ups: G_DEFINE_TYPE already takes care of the
14102           parent_class stuff, no need to do it twice. Mark array of
14103           license strings as constant. (#337103)
14104           
14105 2006-04-04  Michael Smith  <msmith@fluendo.com>
14106
14107         * tools/gst-inspect.c: (print_element_list):
14108           Free the right plugin list; fixes a memory leak.
14109
14110 2006-04-04  Tim-Philipp Müller  <tim at centricular dot net>
14111
14112         Patch by: Mark Nauwelaerts  <manauw at skynet dot be>
14113
14114         * plugins/elements/gstfilesink.c: (gst_file_sink_render):
14115           Don't error out on empty buffers (#336945).
14116           
14117 2006-04-04  Jan Schmidt  <thaytan@mad.scientist.com>
14118
14119         * docs/libs/gstreamer-libs-sections.txt:
14120         * gst/gsttaglist.c:
14121         * libs/gst/base/gstbasesink.c:
14122         * libs/gst/base/gstbasesink.h:
14123         * libs/gst/base/gstbasesrc.c:
14124         * libs/gst/base/gstbasesrc.h:
14125           Documentation updates. Make BaseSink and BaseSrc docs contain the
14126           class structure so that people can actually see the prototypes for
14127           virtual functions they're supposed to be overriding.
14128
14129 2006-04-04  Tim-Philipp Müller  <tim at centricular dot net>
14130
14131         * plugins/elements/gsttypefindelement.c:
14132         (gst_type_find_element_chain):
14133           More debug info; when skipping typefinding, send cached
14134           events in all cases.
14135
14136 2006-04-01  Thomas Vander Stichele  <thomas at apestaart dot org>
14137
14138         * configure.ac:
14139           use new AS_VERSION and AS_NANO macros
14140         * gst/gst-i18n-lib.h:
14141         * gst/gst.c:
14142         * gst/gsterror.c:
14143         * gst/gstversion.h.in:
14144         * win32/common/config.h:
14145         * win32/common/config.h.in:
14146           update accordingly
14147
14148 2006-03-31  Michael Smith  <msmith@fluendo.com>
14149
14150         * plugins/elements/gsttypefindelement.c:
14151         (gst_type_find_element_chain):
14152           Do not typefind content if the buffers already have caps.
14153           Neccesary for icydemux (#333657), and the right thing to do anyway.
14154
14155 2006-03-30  Wim Taymans  <wim@fluendo.com>
14156
14157         * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
14158         (gst_base_sink_finalize), (gst_base_sink_set_qos_enabled),
14159         (gst_base_sink_is_qos_enabled), (gst_base_sink_do_sync),
14160         (gst_base_sink_record_qos_observation),
14161         (gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
14162         (gst_base_sink_is_too_late), (gst_base_sink_render_object),
14163         (gst_base_sink_change_state):
14164         More QoS measurements as described in the design doc.
14165         Get rid of ringbuffer with observations, running average is
14166         more simple and equally good.
14167         Calculates valid proportion now.
14168         Added beginning of flood measurement.
14169
14170 2006-03-29  Wim Taymans  <wim@fluendo.com>
14171
14172         * docs/design/part-qos.txt:
14173         * gst/gstclock.c:
14174         Small documentation updates and additions.
14175
14176 2006-03-29  Wim Taymans  <wim@fluendo.com>
14177
14178         * libs/gst/base/gstbasesrc.c: (gst_base_src_finalize),
14179         (gst_base_src_send_event), (gst_base_src_loop),
14180         (gst_base_src_change_state):
14181         Perform the EOS logic when we reach the segment stop position.
14182         Fix compilation on gcc4.1
14183
14184 2006-03-29  Wim Taymans  <wim@fluendo.com>
14185
14186         Patch by: Tommi Myöhänen <ext-tommi dot myohanen at nokia dot com>
14187
14188         * plugins/elements/gstqueue.c: (gst_queue_init),
14189         (gst_queue_locked_flush), (gst_queue_handle_sink_event),
14190         (gst_queue_set_property):
14191         * plugins/elements/gstqueue.h:
14192         In queue, when EOS is received, if minimum threshold > max_size -
14193         current_level, there is chance that queue blocks forever in conditional
14194         item del wait. This is because the queue is not emptied completely due
14195         to minimum threshold.  Here is another approach. Instead of setting
14196         cur_levels to max in EOS, just zero all minimum threshold levels. This
14197         should make sure that queue gives out all data. When going to READY
14198         (stop) state, just reset the original minimum threshold levels.
14199         Fixes #336336.
14200
14201 2006-03-29  Tim-Philipp Müller  <tim at centricular dot net>
14202
14203         * plugins/elements/gsttypefindelement.c: (stop_typefinding),
14204         (gst_type_find_element_handle_event),
14205         (gst_type_find_element_send_cached_events),
14206         (gst_type_find_element_change_state):
14207         * plugins/elements/gsttypefindelement.h:
14208           When typefinding is done in push mode, we should cache
14209           events we receive during typefinding instead of just
14210           dropping them (e.g. newsegment, custom events from
14211           dvdreadsrc etc.) and then send them out once we've
14212           determined the type of the stream (and decodebin
14213           has had a chance to plug in a decoder/demuxer).
14214           
14215 2006-03-27  Wim Taymans  <wim@fluendo.com>
14216
14217         * docs/design/part-qos.txt:
14218         First QoS ideas.
14219
14220 2006-03-27  Wim Taymans  <wim@fluendo.com>
14221
14222         Inspired by a patch of: Lutz Mueller <lutz at topfrose dot de>
14223
14224         * libs/gst/base/gstbasesrc.c: (gst_base_src_finalize),
14225         (gst_base_src_send_event), (gst_base_src_change_state):
14226         Handle element seek correctly when we are streaming.
14227         Fixes #326998.
14228
14229 2006-03-24  Michael Smith  <msmith@fluendo.com>
14230
14231         * docs/faq/gst-uninstalled:
14232           Set up LD_LIBRARY_PATH to point at all the gstreamer libs. This will
14233           allow you to correctly run intalled applications built against old 
14234           core, using plugins that require updated core (e.g. running
14235           installed totem against a full uninstalled gstreamer stack)
14236
14237 2006-03-24  Stefan Kost  <ensonic@users.sf.net>
14238
14239         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_is_collected):
14240         more debug details
14241
14242 2006-03-24  Wim Taymans  <wim@fluendo.com>
14243
14244         * docs/gst/gstreamer-sections.txt:
14245         Rearrange the order of the methods so that related methods
14246         are grouped together in sections.
14247
14248 2006-03-24  Stefan Kost  <ensonic@users.sf.net>
14249
14250         * gst/gstelement.c:
14251           Little clarification in the docs
14252
14253 2006-03-24  Stefan Kost  <ensonic@users.sf.net>
14254
14255         * docs/README:
14256         formatting fix
14257         * plugins/elements/gstidentity.c:
14258         * plugins/elements/gstqueue.c:
14259         * plugins/elements/gsttee.c:
14260         * plugins/elements/gsttypefindelement.c:
14261         GST_ELEMENT_DETAILS formatting
14262
14263 2006-03-24  Wim Taymans  <wim@fluendo.com>
14264
14265         * libs/gst/base/gstbasesink.h:
14266         Only add fields, not insert or we break ABI.
14267
14268 2006-03-23  Tim-Philipp Müller  <tim at centricular dot net>
14269
14270         * win32/common/libgstbase.def:
14271         * win32/common/libgstreamer.def:
14272           Update, add recently added functions.
14273
14274 2006-03-23  Tim-Philipp Müller  <tim at centricular dot net>
14275
14276         * docs/gst/gstreamer-sections.txt:
14277         * gst/gstutils.c: (gst_pad_query_peer_position),
14278         (gst_pad_query_peer_duration), (gst_pad_query_peer_convert):
14279         * gst/gstutils.h:
14280           API: add some new utility functions:
14281            - gst_pad_query_peer_position()
14282            - gst_pad_query_peer_duration()
14283            - gst_pad_query_peer_convert()
14284           
14285 2006-03-23  Wim Taymans  <wim@fluendo.com>
14286
14287         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
14288         (gst_base_sink_init), (gst_base_sink_finalize),
14289         (gst_base_sink_set_qos_enabled), (gst_base_sink_is_qos_enabled),
14290         (gst_base_sink_set_property), (gst_base_sink_get_property),
14291         (gst_base_sink_commit_state), (gst_base_sink_get_sync_times),
14292         (gst_base_sink_wait_clock), (gst_base_sink_do_sync),
14293         (gst_base_sink_add_qos_observation), (gst_base_sink_send_qos),
14294         (gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
14295         (gst_base_sink_is_too_late), (gst_base_sink_render_object),
14296         (gst_base_sink_preroll_object), (gst_base_sink_event),
14297         (gst_base_sink_chain_unlocked), (gst_base_sink_get_position_last),
14298         (gst_base_sink_get_position_paused), (gst_base_sink_get_position),
14299         (gst_base_sink_query), (gst_base_sink_change_state):
14300         Decouple max-lateness and the fact that QoS messages are generated
14301         with a new property (qos).
14302         added API: GstBaseSink::async_play()
14303         Add vmethod so subclasses can be notified of ASYNC playing
14304         state changes.
14305         Collect timestamp start and stop to report better current
14306         position in EOS/PLAYING/PAUSED/READY/NULL.
14307         Refactor QoS/frame dropping and other measurements.
14308         API: GstBaseSrc::qos
14309         Fixes #326311
14310
14311         * libs/gst/base/gstbasesink.h:
14312         Added Private struct.
14313         API: gst_base_sink_set_qos_enabled()
14314         API: gst_base_sink_is_qos_enabled()
14315
14316 2006-03-23  Tim-Philipp Müller  <tim at centricular dot net>
14317
14318         * gst/gstregistryxml.c: (gst_registry_xml_read_cache):
14319           If compiling against GLib-2.8 or newer, try to read the
14320           registry file using GMappedFile first before falling back
14321           to fopen() + fread() (#332151).
14322
14323 2006-03-22  Wim Taymans  <wim@fluendo.com>
14324
14325         * gst/gstinfo.c: (gst_debug_set_active),
14326         (gst_debug_category_set_threshold):
14327         Disable debugging unless explicitly activated.
14328         Fixes #335480.
14329
14330 2006-03-22  Wim Taymans  <wim@fluendo.com>
14331
14332         * gst/gstelement.c: (gst_element_set_locked_state),
14333         (gst_element_dispose):
14334         Cleanup the error case.
14335
14336         * gst/gstobject.c: (gst_object_dispose):
14337         print a critical when some object was disposed with
14338         a parent, also revive the object since it might
14339         crash the parent.
14340
14341 2006-03-22  Tim-Philipp Müller  <tim at centricular dot net>
14342
14343         * tools/gst-launch.1.in:
14344           Fix another typo.
14345
14346 2006-03-21  Thomas Vander Stichele  <thomas at apestaart dot org>
14347
14348         * configure.ac:
14349         * tests/check/Makefile.am:
14350           disable some tests when we don't have a registry
14351         * tests/check/gst/gstutils.c: (gst_utils_suite):
14352           don't build the part that needs parsing
14353
14354 2006-03-21  Thomas Vander Stichele  <thomas at apestaart dot org>
14355
14356         * gst/Makefile.am
14357         * tests/examples/Makefile.am:
14358           fix --disable-parse build
14359
14360 2006-03-21  Tim-Philipp Müller  <tim at centricular dot net>
14361
14362         * tools/gst-feedback.1.in:
14363           Fix typo: s/feeback/feedback/ (#133494).
14364
14365 2006-03-21  Tim-Philipp Müller  <tim at centricular dot net>
14366
14367         * tools/Makefile.am:
14368         * tools/gst-launch.1.in:
14369           Add FILES section and correct entry about GST_REGISTRY_PATH
14370           environment variable (#133495; #133494).
14371
14372 2006-03-21  Tim-Philipp Müller  <tim at centricular dot net>
14373
14374         * tools/Makefile.am:
14375         * tools/gst-md5sum.1.in:
14376         * tools/gst-md5sum.c:
14377           Remove gst-md5sum and man page (the md5sink element
14378           required was removed ages ago)
14379
14380 2006-03-21  Tim-Philipp Müller  <tim at centricular dot net>
14381
14382         * gst/gststructure.c: (gst_structure_id_set_value):
14383           Make sure that string fields in structures/taglists
14384           contain valid UTF-8 - we don't want to pass rubbish to
14385           applications because of a buggy plugin (cp. #334167).
14386
14387 2006-03-21  Edward Hervey  <edward@fluendo.com>
14388
14389         * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
14390         (gst_bin_handle_message_func):
14391         * gst/gstclock.c: (gst_clock_dispose), (gst_clock_set_master):
14392         * gst/gstelement.c: (gst_element_set_clock), (gst_element_dispose),
14393         (gst_element_set_bus_func):
14394         * gst/gstghostpad.c: (gst_proxy_pad_dispose):
14395         * gst/gstminiobject.c: (gst_value_set_mini_object),
14396         (gst_value_take_mini_object):
14397         * gst/gstpad.c: (gst_pad_set_pad_template):
14398         * gst/gstpipeline.c: (gst_pipeline_dispose),
14399         (gst_pipeline_use_clock), (gst_pipeline_auto_clock):
14400         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_pop),
14401         (gst_collect_pads_chain):
14402         * libs/gst/net/gstnettimeprovider.c:
14403         (gst_net_time_provider_set_property):
14404         Series of fixes for dereferenced pointers that gcc 4.1 complains about.
14405         It's in fact all issues with gst_*object_replace().
14406
14407 2006-03-21  Tim-Philipp Müller  <tim at centricular dot net>
14408
14409         Patch by: Loïc Minier  <lool + gnome at via dot ecp dot fr>
14410         
14411         * pkgconfig/gstreamer-check-uninstalled.pc.in:
14412         * pkgconfig/gstreamer-check.pc.in:
14413           Use @CHECK_LIBS@ here instead of hard-coding -lcheck (#334109).
14414
14415 2006-03-21  Edward Hervey  <edward@fluendo.com>
14416
14417         * gst/gstbuffer.h:
14418         * gst/gstevent.h:
14419         * gst/gstmessage.h:
14420         gst_[buffer|event|message]_ref() macros are replaced by a static
14421         inline functions because gcc-4.1 will about if the return value
14422         isn't used.
14423         * tests/check/gst/gstevent.c: (event_probe):
14424         gst_event_ref now has to be given a GstEvent* , fix check accordingly.
14425
14426 2006-03-20  Jan Schmidt  <thaytan@mad.scientist.com>
14427
14428         * gst/gstutils.h:
14429         Add G_UNLIKELY to our boilerplate to optimise the 'already registered
14430         the type' case. (Closes: #335195 for now). In the future, when we
14431         depend on GLib 2.10, we could also intern the type name using
14432         g_intern_static_string()
14433
14434 2006-03-20  Wim Taymans  <wim@fluendo.com>
14435
14436         * gst/gstbin.c: (gst_bin_handle_message_func),
14437         (bin_query_max_init), (bin_query_position_fold),
14438         (bin_query_position_done), (gst_bin_query):
14439         Position query should also take max of all streams.
14440
14441 2006-03-20  Wim Taymans  <wim@fluendo.com>
14442
14443         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
14444         (gst_fake_src_finalize):
14445         Fix leaks in fakesrc.
14446
14447         * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
14448         Fix leaks in the testcase.
14449
14450 2006-03-19  Sebastien Moutte  <sebastien@moutte.net>
14451
14452         * gst/gst_private.h:
14453           add win32 specific import decoration(__declspec(dllimport)) 
14454           for all extern GstDebugCategory * variables
14455         * win32/common/libgstbase.def:
14456         * win32/common/libgstcontroller.def:
14457         * win32/common/libgstreamer.def:
14458           Add some exports, remove empty lines
14459         * win32/common/libgstdataprotocol.def:
14460         * win32/common/libgstdataprotocol.dsp:
14461         * win32/common/libgstnet.def:
14462         * win32/common/libgstnet.dsp:
14463           new project files and exportation files added
14464         
14465 2006-03-19  Wim Taymans  <wim@fluendo.com>
14466
14467         * tests/check/libs/basesrc.c: (eos_event_counter):
14468         Use proper return value for probe.
14469
14470 2006-03-17  Wim Taymans  <wim@fluendo.com>
14471
14472         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_alloc_buffer_full),
14473         (gst_pad_push):
14474         Don't leak buffers, caps and pads on negotiation errors.
14475
14476 2006-03-16  Stefan Kost  <ensonic@users.sf.net>
14477
14478         * docs/faq/cvs.xml:
14479         * docs/faq/dependencies.xml:
14480         * docs/faq/developing.xml:
14481         * docs/faq/faq.xml:
14482         * docs/faq/general.xml:
14483         * docs/faq/getting.xml:
14484         * docs/faq/legal.xml:
14485         * docs/faq/troubleshooting.xml:
14486         * docs/faq/using.xml:
14487         Faq review and update.
14488
14489 2006-03-16  Jan Schmidt  <thaytan@mad.scientist.com>
14490
14491         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_alloc_buffer_full),
14492         (gst_pad_push):
14493         Don't pound the cpu to pieces by checking get_caps when accept_caps
14494         is called with the same caps as the pad already has.
14495         Use GST_DEBUG_OBJECT when outputting caps change information.
14496
14497 2006-03-15  Wim Taymans  <wim@fluendo.com>
14498
14499         * gst/gstclock.c: (gst_clock_class_init):
14500         Fix docs.
14501
14502 2006-03-15  Jan Schmidt  <thaytan@mad.scientist.com>
14503
14504         * gst/gstbuffer.h:
14505         Documentation fix.
14506
14507         * gst/gstpad.c: (gst_pad_init), (gst_pad_acceptcaps_default),
14508         (gst_pad_accept_caps), (gst_pad_configure_sink),
14509         (gst_pad_configure_src), (gst_pad_chain), (gst_pad_push):
14510         Make the default acceptcaps behaviour be to check the requested 
14511         caps against the gst_pad_get_caps output. 
14512
14513         Ensure that gst_pad_accept_caps is used to check caps when a pad
14514         doesn't have a setcaps function, so that pads automatically refuse 
14515         caps that they don't allow in their pad template. (Fixes #332986)
14516
14517         When a buffer with attached caps is pushed, ensure that the source 
14518         pad receives those caps even if the element didn't call
14519         gst_pad_set_caps first.
14520
14521 2006-03-15  Wim Taymans  <wim@fluendo.com>
14522
14523         * libs/gst/base/gstadapter.c:
14524         Add some docs.
14525
14526 2006-03-15  Tim-Philipp Müller  <tim at centricular dot net>
14527
14528         * win32/common/libgstbase.def:
14529         * win32/common/libgstcontroller.def:
14530         * win32/common/libgstreamer.def:
14531           Add a whole bunch of missing functions (#334434).
14532
14533 2006-03-14  Wim Taymans  <wim@fluendo.com>
14534
14535         * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment),
14536         (gst_base_sink_get_sync_times), (gst_base_sink_wait_clock),
14537         (gst_base_sink_do_sync), (gst_base_sink_do_qos):
14538         Better debug info when we receive a segment event.
14539         Reorganize a bit so we can pass the get_times() results around.
14540         Use the segment format when calculating the running time.
14541         Don't do QoS is sync is disabled or we have no clock or the
14542         element does not want us to sync to the clock.
14543         Don't drop buffers if QoS is disabled for now.
14544
14545 2006-03-14  Wim Taymans  <wim@fluendo.com>
14546
14547         * gst/gstclock.c: (gst_clock_class_init), (do_linear_regression):
14548         Marked the stats property as unimplemented so people don't get
14549         wild ideas.
14550         Add debug message when regression goes wrong.
14551         Added some more docs.
14552
14553 2006-03-14  Wim Taymans  <wim@fluendo.com>
14554
14555         * gst/gstsegment.c: (gst_segment_to_stream_time):
14556         Return correct return type in case of errors.
14557
14558 2006-03-14  Wim Taymans  <wim@fluendo.com>
14559
14560         * gst/gstformat.c: (gst_format_get_name), (gst_format_to_quark):
14561           Don't segfault on invalid formats.
14562
14563 2006-03-14  Tim-Philipp Müller  <tim at centricular dot net>
14564
14565         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
14566           Can't use gst_segment_to_running_time() when the segment
14567           is not in GST_TIME_FORMAT (like with filesink, for example).
14568           Stops flac encoding pipelines from spewing critical warnings
14569           at EOS (#331248).
14570           
14571 2006-03-14  Tim-Philipp Müller  <tim at centricular dot net>
14572
14573         * gst/gstpipeline.c: (gst_pipeline_class_init):
14574           Add 'Since: 0.10.5' to gtk-doc blurb for added property.
14575
14576         * plugins/elements/gsttypefindelement.c:
14577         (gst_type_find_element_handle_event):
14578           Don't try to typefind empty streams.
14579
14580 2006-03-14  Wim Taymans  <wim@fluendo.com>
14581
14582         * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync),
14583         (gst_base_sink_do_qos):
14584         Separate QoS calculation.
14585         Only drop buffers when lateness is bigger than the 
14586         duration of the buffer.
14587
14588 2006-03-13  Wim Taymans  <wim@fluendo.com>
14589
14590         * gst/gstpipeline.c: (gst_pipeline_set_property),
14591         (gst_pipeline_get_property), (do_pipeline_seek),
14592         (gst_pipeline_change_state), (gst_pipeline_set_delay),
14593         (gst_pipeline_get_delay):
14594         Don't deadlock when reading properties.
14595
14596 2006-03-13  Wim Taymans  <wim@fluendo.com>
14597
14598         * libs/gst/base/gstbasetransform.c:
14599         (gst_base_transform_class_init), (gst_base_transform_init),
14600         (gst_base_transform_sink_event),
14601         (gst_base_transform_sink_eventfunc),
14602         (gst_base_transform_src_event), (gst_base_transform_src_eventfunc),
14603         (gst_base_transform_handle_buffer), (gst_base_transform_chain),
14604         (gst_base_transform_set_property),
14605         (gst_base_transform_get_property),
14606         (gst_base_transform_change_state), (gst_base_transform_update_qos),
14607         (gst_base_transform_set_qos_enabled),
14608         (gst_base_transform_is_qos_enabled):
14609         * libs/gst/base/gstbasetransform.h:
14610         Make basetransform virtual method for src events too.
14611         Handle QOS in basetransform.
14612         API: gst_base_transform_update_qos()
14613         API: gst_base_transform_set_qos_enabled()
14614         API: gst_base_transform_is_qos_enabled()
14615
14616 2006-03-13  Wim Taymans  <wim@fluendo.com>
14617
14618         * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
14619         (gst_base_sink_do_sync):
14620         Small cleanups.
14621         Use QOS debug category.
14622
14623 2006-03-13  Wim Taymans  <wim@fluendo.com>
14624
14625         * plugins/elements/gstqueue.c:
14626         Very small doc update.
14627
14628 2006-03-13  Wim Taymans  <wim@fluendo.com>
14629
14630         * gst/gst_private.h:
14631         * gst/gstinfo.c: (_gst_debug_init):
14632         Added QOS debug category
14633
14634 2006-03-13  Wim Taymans  <wim@fluendo.com>
14635
14636         * docs/gst/gstreamer-sections.txt:
14637         * gst/gstbin.c: (bin_bus_handler), (gst_bin_handle_message_func):
14638         * gst/gstbin.h:
14639         * gst/gstbus.c: (gst_bus_class_init):
14640         * gst/gstbus.h:
14641         * gst/gstclock.c:
14642         * gst/gstelement.c: (gst_element_set_locked_state):
14643         * gst/gstsegment.c:
14644         Documentation updates.
14645
14646         * gst/gstpipeline.c: (gst_pipeline_get_type),
14647         (gst_pipeline_class_init), (gst_pipeline_init),
14648         (gst_pipeline_dispose), (gst_pipeline_set_property),
14649         (gst_pipeline_get_property), (do_pipeline_seek),
14650         (gst_pipeline_send_event), (gst_pipeline_change_state),
14651         (gst_pipeline_provide_clock_func), (gst_pipeline_set_delay),
14652         (gst_pipeline_get_delay):
14653         * gst/gstpipeline.h:
14654         Added methods for setting the delay.
14655         API: gst_pipeline_set_delay()
14656         API: gst_pipeline_get_delay()
14657         Add pipeline debug category
14658         Various cleanups.
14659         Updated docs.
14660         Don't reset stream time when seek failed.
14661
14662 2006-03-13  Wim Taymans  <wim@fluendo.com>
14663
14664         * docs/design/draft-klass.txt:
14665         * docs/design/part-clocks.txt:
14666         * docs/design/part-events.txt:
14667         * docs/design/part-gstbin.txt:
14668         * docs/design/part-gstpipeline.txt:
14669         * docs/design/part-messages.txt:
14670         * docs/design/part-negotiation.txt:
14671         * docs/design/part-overview.txt:
14672         * docs/design/part-preroll.txt:
14673         * docs/design/part-seeking.txt:
14674         * docs/design/part-states.txt:
14675         * docs/design/part-streams.txt:
14676         Documentation updates.
14677
14678 2006-03-12  Julien MOUTTE  <julien@moutte.net>
14679
14680         * gst/gsttaglist.c: Fix rubbish docs that are encouraging
14681         us to leak strings...
14682
14683 2006-03-12  Thomas Vander Stichele  <thomas at apestaart dot org>
14684
14685         * libs/gst/net/gstnettimeprovider.c:
14686           fix docs
14687         * win32/common/config.h:
14688           update
14689
14690 2006-03-12  Tim-Philipp Müller  <tim at centricular dot net>
14691
14692         Patch by: Julio M. Merino Vidal <jmmv at netbsd org>
14693
14694         * configure.ac:
14695           Don't check for libgnomeui (leftover from old examples
14696           that aren't built or disted any longer) (#334303).
14697           
14698 2006-03-11  Tim-Philipp Müller  <tim at centricular dot net>
14699
14700         * plugins/elements/gstfdsink.c: (gst_fd_sink_render):
14701         * plugins/elements/gstfilesink.c: (gst_file_sink_render):
14702           Emit RESOURCE_NO_SPACE_LEFT error here as well when
14703           there's no space left on the device.
14704
14705 2006-03-10  Tim-Philipp Müller  <tim at centricular dot net>
14706
14707         * gst/gstclock.h:
14708           Fix GST_CLOCK_TIME_IS_VALID signedness issues - we need
14709           to cast the input to GstClockTime before comparing with
14710           another GstClockTime value.
14711
14712 2006-03-10  Thomas Vander Stichele  <thomas at apestaart dot org>
14713
14714         * configure.ac:
14715           back to trunk
14716
14717 === release 0.10.4 ===
14718
14719 2006-03-10  Thomas Vander Stichele <thomas at apestaart dot org>
14720
14721         * configure.ac:
14722           releasing 0.10.4, "Light"
14723
14724 2006-03-10  Michael Smith  <msmith@fluendo.com>
14725
14726         * libs/gst/dataprotocol/dataprotocol.c:
14727           Fix docs for dataprocotol to not get the return types completely
14728           wrong for a few functions.
14729
14730 2006-03-09  Tim-Philipp Müller  <tim at centricular dot net>
14731
14732         * docs/gst/gstreamer-sections.txt:
14733         * gst/gstpipeline.c: (gst_pipeline_class_init),
14734         (gst_pipeline_init), (gst_pipeline_set_property),
14735         (gst_pipeline_get_property), (gst_pipeline_change_state),
14736         (gst_pipeline_set_auto_flush_bus),
14737         (gst_pipeline_get_auto_flush_bus):
14738         * gst/gstpipeline.h:
14739           Add new API: gst_pipeline_set_auto_flush_bus() and
14740           gst_pipeline_get_auto_flush_bus() to disable automatic
14741           flushing of the pipeline's GstBus when going from READY
14742           to NULL state (#332045).
14743
14744 2006-03-09  Tim-Philipp Müller  <tim at centricular dot net>
14745
14746         * docs/gst/gstreamer-sections.txt:
14747         * gst/gsturi.c: (gst_uri_has_protocol):
14748         * gst/gsturi.h:
14749            Add new API: gst_uri_has_protocol() (#333779).
14750
14751 2006-03-09  Wim Taymans  <wim@fluendo.com>
14752
14753         * gst/gstclock.c: (gst_clock_entry_new),
14754         (gst_clock_id_compare_func), (gst_clock_id_wait),
14755         (gst_clock_id_wait_async), (gst_clock_id_unschedule),
14756         (gst_clock_init), (gst_clock_get_internal_time),
14757         (gst_clock_set_master), (do_linear_regression),
14758         (gst_clock_add_observation), (gst_clock_set_property):
14759         * gst/gstclock.h:
14760         Review docs.
14761         Small cleanups.
14762         Fix a possible segfault when the window-size is made smaller.
14763         Calculate jitter before performing the clock wait. Ideally
14764         the clock implementation should calculate jitter but we need
14765         API breakage for that.
14766
14767         * gst/gstsystemclock.c: (gst_system_clock_init):
14768         Docs review.
14769         
14770         * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync):
14771         Remove leftover else
14772
14773         * tests/check/gst/gstsystemclock.c: (GST_START_TEST),
14774         (gst_systemclock_suite):
14775         Added check to test GST_CLOCK_DIFF.
14776
14777 2006-03-09  Tim-Philipp Müller  <tim at centricular dot net>
14778
14779         * libs/gst/base/gsttypefindhelper.c: (helper_find_get_length),
14780         (gst_type_find_helper_get_range):
14781           If we are provided with the size, we should implement
14782           GstTypeFind::get_length, so that typefind functions who
14783           want to can actually peek at the middle of a file.
14784
14785 2006-03-08  Tim-Philipp Müller  <tim at centricular dot net>
14786
14787         * docs/manual/advanced-dataaccess.xml:
14788           Add some very very basic error checking.
14789
14790         * docs/pwg/appendix-checklist.xml:
14791           Some updates to the list of things to check when writing an element.
14792
14793 2006-03-08  Wim Taymans  <wim@fluendo.com>
14794
14795         * docs/design/part-element-transform.txt:
14796         Added some docs about the design of tranform elements.
14797
14798         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
14799         (gst_base_src_loop), (gst_base_src_change_state):
14800         Mark buffers with the DISCONT flag.
14801
14802 2006-03-08  Michael Smith  <msmith@fluendo.com>
14803
14804         * gst/gstregistry.h:
14805         * gst/gstregistryxml.c: (gst_registry_save),
14806         (gst_registry_save_escaped), (gst_registry_xml_save_caps),
14807         (gst_registry_xml_save_pad_template),
14808         (gst_registry_xml_save_feature), (gst_registry_xml_save_plugin),
14809         (gst_registry_xml_write_cache):
14810           Rewrite registry-saving to avoid race conditions and check for
14811           failed writes.
14812
14813 2006-03-08  Wim Taymans  <wim@fluendo.com>
14814
14815         * libs/gst/base/gstbasetransform.c:
14816         (gst_base_transform_transform_caps),
14817         (gst_base_transform_transform_size),
14818         (gst_base_transform_prepare_output_buffer),
14819         (gst_base_transform_get_unit_size),
14820         (gst_base_transform_buffer_alloc),
14821         (gst_base_transform_handle_buffer),
14822         (gst_base_transform_change_state):
14823         Cleanups, separate normal flow from errors, add sensible
14824         DEBUG lines.
14825         Don't try to renegotiate when allocating an output buffer.
14826         Also copy DISCONT buffer flag when copying a buffer.
14827         Reset the transform after we finish streaming, not during.
14828
14829 2006-03-08  Wim Taymans  <wim@fluendo.com>
14830
14831         * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync):
14832         Use last buffer timestamp in qos message.
14833
14834 2006-03-07  Wim Taymans  <wim@fluendo.com>
14835
14836         Patch by: Christophe Fergeau
14837
14838         * docs/pwg/advanced-tagging.xml:
14839         * docs/pwg/building-pads.xml:
14840           fixes #333416
14841
14842 2006-03-07  Wim Taymans  <wim@fluendo.com>
14843
14844         * docs/libs/gstreamer-libs-sections.txt:
14845         Added basesink new methods.
14846
14847         * gst/gstevent.c:
14848         * gst/gstevent.h:
14849         Docs updates. Flesh out the QoS docs.
14850
14851         * libs/gst/base/gstadapter.c:
14852         Small doc clarification about ownership and flushing.
14853
14854         * libs/gst/base/gstbasesink.c: (gst_base_sink_set_sync),
14855         (gst_base_sink_get_sync), (gst_base_sink_set_max_lateness),
14856         (gst_base_sink_get_max_lateness), (gst_base_sink_set_property),
14857         (gst_base_sink_get_property), (gst_base_sink_do_sync):
14858         * libs/gst/base/gstbasesink.h:
14859         API additions: 
14860         Added new methods to allow subclass to control max-lateness 
14861         and sync.
14862         Generate very basic QoS events based on last sync observation.
14863         Updated docs, fix typo, added some QoS blurb.
14864
14865         * libs/gst/base/gstbasesrc.c:
14866         Remove obsolete _get_state() calls from docs.
14867
14868 2006-03-07  Wim Taymans  <wim@fluendo.com>
14869
14870         * docs/libs/gstreamer-libs-sections.txt:
14871         * libs/gst/base/gstbasetransform.h:
14872         API addition: Fix #333669, Add pad accessor defines for GstBaseTransform
14873         Fix docs for GstBaseSrc.
14874
14875 2006-03-07  Wim Taymans  <wim@fluendo.com>
14876
14877         * docs/gst/gstreamer-sections.txt:
14878         * gst/gstbuffer.h:
14879         * gst/gstvalue.c:
14880         * libs/gst/base/gstbasetransform.h:
14881         Small documentation fixes.
14882
14883 2006-03-07  Tim-Philipp Müller  <tim at centricular dot net>
14884
14885         * gst/gstvalue.c:
14886           Document thread-unsafety of gst_value_register_foo_func()
14887           when used at the same time as gst_value_foo() (#322628).
14888
14889 2006-03-07  Tim-Philipp Müller  <tim at centricular dot net>
14890
14891         * libs/gst/base/gstpushsrc.c: (gst_push_src_class_init),
14892         (gst_push_src_check_get_range):
14893           Push sources don't support pull mode by default.
14894
14895 2006-03-06  Tim-Philipp Müller  <tim at centricular dot net>
14896
14897         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
14898         (gst_base_src_init), (gst_base_src_pad_check_get_range),
14899         (gst_base_src_default_check_get_range):
14900         * libs/gst/base/gstbasesrc.h:
14901           API addition:  Add ::check_get_range() vfunc to GstBaseSrc (#332611),
14902           provide default implementation, and rename
14903           gst_base_src_check_get_range() to
14904           gst_base_src_pad_check_get_range() for clarity.
14905
14906 2006-03-06  Wim Taymans  <wim@fluendo.com>
14907
14908         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
14909         Make property overridable.
14910
14911 2006-03-06  Wim Taymans  <wim@fluendo.com>
14912
14913         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
14914         (gst_base_sink_init), (gst_base_sink_set_property),
14915         (gst_base_sink_get_property), (gst_base_sink_do_sync):
14916         * libs/gst/base/gstbasesink.h:
14917         API addition: Make max-lateness a property.
14918
14919 2006-03-06  Wim Taymans  <wim@fluendo.com>
14920
14921         * libs/gst/base/gstbasesink.c: (gst_base_sink_wait_clock),
14922         (gst_base_sink_do_sync), (gst_base_sink_render_object):
14923         Don't ever draw a frame that is >10ms late.
14924
14925 2006-03-06  Michael Smith  <msmith@fluendo.com>
14926
14927         * gst/gstmessage.c: (_gst_message_copy):
14928           When copying a message, set the parent_refcount of the enclosed
14929           structure to point at the copy, not the original message.
14930
14931 2006-03-06  Tim-Philipp Müller  <tim at centricular dot net>
14932
14933         Patch by: Christophe Fergeau
14934
14935         * gst/gstutils.h:
14936           Do proper cast here to make GST_BOILERPLATE_WITH_INTERFACE
14937           usable in c++ code (#333417)
14938
14939 2006-03-06  Thomas Vander Stichele  <thomas at apestaart dot org>
14940
14941         * gst/gstclock.h:
14942           Show GST_CLOCK_TIME_NONE as 99:99:99.999999999
14943
14944 2006-03-05  Tim-Philipp Müller  <tim at centricular dot net>
14945
14946         * libs/gst/base/gstbasetransform.c:
14947         (gst_base_transform_transform_caps):
14948           Make sure caps are writable before passing them to
14949           gst_caps_append().
14950
14951 2006-03-04  Tim-Philipp Müller  <tim at centricular dot net>
14952
14953         * gst/gsterror.h:
14954           Fix some minor docs errors.
14955
14956 2006-03-04  Tim-Philipp Müller  <tim at centricular dot net>
14957
14958           Patch by: Ross Burton <ross at burtonini dot com>
14959
14960         * gst/gsterror.c: (_gst_resource_errors_init):
14961         * gst/gsterror.h:
14962           Add GST_RESOURCE_ERROR_NO_SPACE_LEFT (for #333352;
14963
14964 2006-03-03  Jan Schmidt  <thaytan@mad.scientist.com>
14965
14966         * gst/gst.c:
14967         Add a check and output a g_warning when GStreamer is built
14968         against GLib 2.6 but running against 2.8 or higher, and vice 
14969         versa. (Closes: #323542)
14970
14971 2006-03-03  Jan Schmidt  <thaytan@mad.scientist.com>
14972
14973         * gst/parse/parse.l:
14974           Commit patch for parse_launch syntax from #331255. Removes 
14975           support for quoted strings and mimetypes when writing filtered 
14976           caps. See the bug report for more details - I'm pretty sure this
14977           obscure feature is not in use by _anyone_ anywhere.
14978
14979           With this simple change, the size of the gstreamer.so here 
14980           drops from 2193KB to 1565KB.
14981
14982 2006-03-03  Tim-Philipp Müller  <tim at centricular dot net>
14983
14984         * plugins/elements/gsttypefindelement.h:
14985         * plugins/elements/gsttypefindelement.c:
14986         (gst_type_find_element_src_event), (start_typefinding),
14987         (stop_typefinding), (gst_type_find_element_handle_event),
14988         (gst_type_find_element_chain),
14989         (gst_type_find_element_chain_do_typefinding):
14990           Use gst_type_find_helper_for_buffer() for chain-based
14991           typefinding.
14992
14993 2006-03-03  Tim-Philipp Müller  <tim at centricular dot net>
14994
14995         * plugins/elements/gsttypefindelement.c:
14996         (gst_type_find_element_class_init),
14997         (gst_type_find_element_set_property),
14998         (gst_type_find_element_get_property):
14999           Deprecate "maximum" property (not only was it only taken into
15000           account for typefinding in push-mode anyway, it also was never
15001           actually possible to set it in the first place because the
15002           property was registered with the numeric property ID for the
15003           "minimum" property). Register "maximum" property correctly,
15004           for the sake of future copy'n'pasters. Remove some cruft
15005           from property get/set functions.
15006
15007 2006-03-03  Tim-Philipp Müller  <tim at centricular dot net>
15008
15009         * plugins/elements/gsttypefindelement.c:
15010         (gst_type_find_element_activate):
15011           Use gst_type_find_helper_get_range() here, so we
15012           can honour the "minimum" property and also emit
15013           the signal with the correct probability of the found caps.
15014
15015 2006-03-02  Tim-Philipp Müller  <tim at centricular dot net>
15016
15017         * docs/libs/gstreamer-libs-sections.txt:
15018         * libs/gst/base/gsttypefindhelper.c: (helper_find_peek),
15019         (helper_find_suggest), (gst_type_find_helper_get_range),
15020         (gst_type_find_helper):
15021         * libs/gst/base/gsttypefindhelper.h:
15022           New API: gst_type_find_helper_get_range() (#333042).
15023
15024 2006-03-02  Michael Smith  <msmith@fluendo.com>
15025
15026         * gst/gstregistryxml.c: (load_feature):
15027           Asserting on a failure to read part of the registry is Not Cool.
15028           Just log a warning and return NULL (which is already handled)
15029
15030 2006-02-28  Sebastien Moutte  <sebastien@moutte.net>
15031
15032         * win32/common/libgstbase.def:
15033           added export of gst_type_find_helper_for_buffer
15034         * win32/common/libgstbase.def:
15035           added some exports : gst_bin_iterate_elements, gst_iterator_resync,
15036           gst_ghost_pad_get_target
15037
15038 2006-02-28  Wim Taymans  <wim@fluendo.com>
15039
15040         * docs/design/draft-klass.txt:
15041         We use Filter now.
15042         Added Connector to mark elements that are only used to
15043         allow pipeline connections.
15044         Moved Debug to extra feature since most of them are 
15045         functionally something else.
15046
15047 2006-02-28  Wim Taymans  <wim@fluendo.com>
15048
15049         * docs/design/draft-klass.txt:
15050         Some updates and clarifications.
15051
15052 2006-02-28  Wim Taymans  <wim@fluendo.com>
15053
15054         * docs/design/draft-klass.txt:
15055         Proposal for klass field values.
15056
15057         * docs/design/part-streams.txt:
15058         Start of a doc describing stream anatomy.
15059
15060 2006-02-28  Wim Taymans  <wim@fluendo.com>
15061
15062         * gst/gstbin.c: (gst_bin_get_type), (gst_bin_handle_message_func):
15063         Help the compiler a bit with type registration.
15064         Use existing forward cod path instead of duplicating it when 
15065         handling a message.
15066         
15067         * gst/gstbus.c: (gst_bus_get_type):
15068         * gst/gstcaps.c: (gst_caps_get_type), (gst_static_caps_get_type):
15069         * gst/gstchildproxy.c: (gst_child_proxy_get_type):
15070         * gst/gstclock.c: (gst_clock_get_type):
15071         * gst/gstelement.c: (gst_element_get_type),
15072         * gst/gstelementfactory.c: (gst_element_factory_get_type):
15073         * gst/gstindexfactory.c: (gst_index_factory_get_type):
15074         * gst/gstminiobject.c: (gst_mini_object_get_type):
15075         * gst/gstpad.c: (gst_pad_get_type):
15076         * gst/gstsegment.c: (gst_segment_get_type):
15077         * gst/gststructure.c: (gst_structure_get_type):
15078         * gst/gstsystemclock.c: (gst_system_clock_get_type):
15079         * gst/gsttask.c: (gst_task_get_type), (gst_task_join):
15080         * gst/gstvalue.c:
15081         Help compiler with type registration.
15082
15083         * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event):
15084         Small doc update.
15085
15086 2006-02-27  Tim-Philipp Müller  <tim at centricular dot net>
15087
15088         * plugins/elements/gsttypefindelement.c:
15089         (gst_type_find_element_handle_event):
15090           When we get an EOS event and have not found a type yet
15091           (most likely because we had not yet accumulated
15092           TYPE_FIND_MIN_SIZE of data yet), try to determine the
15093           type given the data we have so far. Fixes typefinding
15094           for very short streams again, most notably quicktime
15095           redirections as used on Apple's trailer site (#331701).
15096
15097 2006-02-27  Tim-Philipp Müller  <tim at centricular dot net>
15098
15099         * libs/gst/base/gsttypefindhelper.c: (type_find_factory_rank_cmp),
15100         (gst_type_find_helper):
15101           Try typefinding factories with the highest rank first.
15102
15103 2006-02-27  Tim-Philipp Müller  <tim at centricular dot net>
15104
15105         * docs/libs/gstreamer-libs-docs.sgml:
15106         * docs/libs/gstreamer-libs-sections.txt:
15107         * libs/gst/base/gsttypefindhelper.c:
15108           Add section for typefind helper and add documentation
15109           for the old and the new function.
15110
15111 2006-02-27  Tim-Philipp Müller  <tim at centricular dot net>
15112
15113         * libs/gst/base/gsttypefindhelper.c: (buf_helper_find_peek),
15114         (buf_helper_find_suggest), (type_find_factory_rank_cmp),
15115         (gst_type_find_helper_for_buffer):
15116         * libs/gst/base/gsttypefindhelper.h:
15117           New API: gst_type_find_helper_for_buffer() (#332723).
15118           
15119 2006-02-27  Michael Smith  <msmith@fluendo.com>
15120
15121         Patch by: Loïc Minier
15122
15123         * configure.ac:
15124         * docs/Makefile.am:
15125         * docs/slides/Makefile.am:
15126           prevent CVS directories getting disted.
15127
15128 2006-02-27  Tim-Philipp Müller  <tim at centricular dot net>
15129
15130         * gst/gstcaps.c: (gst_caps_ref), (gst_caps_unref):
15131           Use the REFCOUNTING category for caps refcounting.
15132           
15133 2006-02-26  Tim-Philipp Müller  <tim at centricular dot net>
15134
15135         * plugins/elements/gsttypefindelement.c: (stop_typefinding):
15136           This should be 0 not GST_CLOCK_TIME_NONE (see #331701).
15137
15138 2006-02-26  Tim-Philipp Müller  <tim at centricular dot net>
15139
15140         * plugins/elements/gsttypefindelement.c:
15141         (gst_type_find_element_activate):
15142           Use gst_pad_check_pull_range() before _activate_pull()
15143           to avoid unnecessary open/close (see #331690).
15144
15145 2006-02-24  Tim-Philipp Müller  <tim at centricular dot net>
15146
15147         * gst/gstutils.c:
15148           Docs enhancement: make it crystal clear what the
15149           gst_pad_add_*_probe() callbacks should look like.
15150
15151 2006-02-24  Tim-Philipp Müller  <tim at centricular dot net>
15152
15153         * libs/gst/base/gstbasesrc.c:
15154           Document how applications can stop recording from
15155           live sources (see #330996).
15156
15157 2006-02-23  Tim-Philipp Müller  <tim at centricular dot net>
15158
15159         * tests/check/Makefile.am:
15160         * tests/check/libs/basesrc.c: (eos_event_counter),
15161         (basesrc_eos_events_pull), (basesrc_eos_events_push),
15162         (basesrc_eos_events_push_live_op), (basesrc_eos_events_pull_live_op),
15163         (gst_basesrc_suite), (main):
15164           ... and add some tests for the base source EOS stuff.
15165
15166 2006-02-23  Tim-Philipp Müller  <tim at centricular dot net>
15167
15168         * tests/check/gst/gstutils.c: (test_buffer_probe_n_times):
15169           Test case originally showed the problem fixed below,
15170           but was then amended. Add checks back at the place
15171           where they used to be.
15172
15173 2006-02-23  Tim-Philipp Müller  <tim at centricular dot net>
15174
15175         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
15176         (gst_base_src_init), (gst_base_src_loop),
15177         (gst_base_src_activate_push), (gst_base_src_activate_pull),
15178         (gst_base_src_change_state):
15179         * libs/gst/base/gstbasesrc.h:
15180           Don't unconditionally send EOS when going from PAUSED to
15181           READY state, esp. make sure we don't send two EOS events
15182           in some cases (e.g. one when reaching EOS and one when
15183           going from PAUSED to READY). Also, we don't want to send
15184           EOS events when operating in pull mode. However, we do
15185           want to send an EOS event when shutting down a live
15186           source explicitly, for example (fixes #330996).
15187           
15188 2006-02-23  Tim-Philipp Müller  <tim at centricular dot net>
15189
15190         * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
15191           Update src->read_position after a seek when not using mmap.
15192           Fixes #332277, patch by: Renchi Raju <renchi gmail com>
15193
15194 2006-02-21  Jan Schmidt  <thaytan@mad.scientist.com>
15195
15196         * gst/Makefile.am:
15197         * gst/gstparse.h:
15198         * gst/gstutils.c:
15199         * gst/gstutils.h:
15200         Make things work with --disable-parse as they do with 
15201         --disable-load-save - the symbols involved disappear, but the
15202         header is still installed and GST_DISABLE_PARSE is included via
15203         gstconfig.h
15204
15205 2006-02-20  Julien MOUTTE  <julien@moutte.net>
15206
15207         * libs/gst/base/gstbasetransform.c:
15208         (gst_base_transform_change_state): Fix a stupid bug. I was 
15209         sure I compiled that.
15210
15211 2006-02-20  Julien MOUTTE  <julien@moutte.net>
15212
15213         * gst/gstpad.c: (gst_pad_set_blocked_async):
15214         * gst/gstutils.c: (gst_pad_add_data_probe),
15215         (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
15216         (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
15217         (gst_pad_remove_buffer_probe): Make those function act on the
15218         ghostpad target when it's a ghostpad. (Closes #331727)
15219
15220 2006-02-20  Julien MOUTTE  <julien@moutte.net>
15221
15222         * libs/gst/base/gstbasetransform.c:
15223         (gst_base_transform_change_state): Make basetransform reusable.
15224         (Closes #331898)
15225
15226 2006-02-20  Jan Schmidt  <thaytan@mad.scientist.com>
15227
15228         * docs/random/release:
15229         Move the current documentation of how to do a release to the top
15230         of the file.
15231
15232         * gst/gstbin.c: (gst_bin_class_init),
15233         (gst_bin_handle_message_func):
15234         Allow multiple state-recalculation threads. (Closes #328873)
15235
15236 2006-02-19  Julien MOUTTE  <julien@moutte.net>
15237
15238         * gst/gstinfo.h: Add GST_STR_NULL to the second string.
15239         * gst/gstpad.c: (gst_pad_set_event_function),
15240         (gst_pad_set_query_function), (gst_pad_set_query_type_function),
15241         (gst_pad_set_getcaps_function): GST_DEBUG_PAD_NAME evaluates to
15242         2 strings. You can't use the STR_NULL macro on that.
15243
15244 2006-02-19  Sebastien Moutte <sebastien@moutte.net>
15245
15246         * gst/gstpad.c: (gst_pad_set_event_function),
15247         (gst_pad_set_query_function), (gst_pad_set_query_type_function),
15248         (gst_pad_set_getcaps_function)
15249         * gst/parse/grammar.y: (gst_parse_found_pad), (gst_parse_perform_delayed_link)
15250           Fixed NULL pointer used in GST_CAT_DEBUG using GST_STR_NULL macro
15251           So now, we can use --gst-debug-level=5 on Windows
15252         * win32/common/libgstcontroller.def:
15253           Added export of gst_controller_init
15254         * win32/vs6/libgstcontroller.dsp:
15255           Fixed Release post build configuration
15256
15257 2006-02-17  Wim Taymans  <wim@fluendo.com>
15258
15259         * tests/check/gst/gstquery.c: (GST_START_TEST):
15260         Added another check.
15261
15262 2006-02-15  Tim-Philipp Müller  <tim at centricular dot net>
15263
15264         * plugins/elements/gsttypefindelement.c: (find_peek):
15265           We can do peeks at non-zero offsets, as long as they
15266           fall within the buffer we have.
15267
15268 2006-02-15  Jan Schmidt  <thaytan@mad.scientist.com>
15269
15270         * tests/check/Makefile.am:
15271         * tests/check/pipelines/parse-launch.c: (setup_pipeline),
15272         (expected_fail_pipe), (check_pipeline_runs), (GST_START_TEST),
15273         (parse_suite), (main):
15274           Add testsuite for parse launch syntax
15275
15276 2006-02-14  Tim-Philipp Müller  <tim at centricular dot net>
15277
15278         * plugins/elements/gsttypefindelement.c:
15279         (gst_type_find_element_chain):
15280           When typefinding is unsuccessful in the chain function, don't
15281           error out immediately. Only error out with NO_CAPS_FOUND if
15282           the amount of data is at least MAX_TYPEFIND_SIZE bytes,
15283           otherwise simply wait for more data so we can try typefinding
15284           again with more data later. Also, don't attempt to typefind
15285           if we have less than MIN_TYPEFIND_SIZE data available. Overall,
15286           this should improve typefinding from network sources where the
15287           size of the first buffer can be somewhat random.
15288
15289 2006-02-14  Wim Taymans  <wim@fluendo.com>
15290
15291         * docs/gst/gstreamer-sections.txt:
15292         * gst/gstpadtemplate.c:
15293         * gst/gstpadtemplate.h:
15294         Fix padtemplate docs, fixes #328805.
15295
15296 2006-02-14  Wim Taymans  <wim@fluendo.com>
15297
15298         * tools/gst-launch.c: (main):
15299         NO_PREROLL is not an ERROR so don't send confusing messages
15300         to the user.
15301
15302 2006-02-14  Wim Taymans  <wim@fluendo.com>
15303
15304         Patch by: Torsten Schoenfeld
15305
15306         * gst/gstregistry.c: (gst_registry_get_default),
15307         (_gst_registry_cleanup):
15308         Protect default registry with lock and ref/sink it.
15309         Fixes #324818
15310
15311 2006-02-14  Wim Taymans  <wim@fluendo.com>
15312
15313         * gst/gstbuffer.c:
15314         * gst/gstquery.c: (gst_query_list_add_format),
15315         (gst_query_set_formatsv), (gst_query_parse_formats_length),
15316         (gst_query_parse_formats_nth):
15317         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
15318         Docs fixes.
15319
15320 2006-02-14  Wim Taymans  <wim@fluendo.com>
15321
15322         * docs/gst/gstreamer-sections.txt:
15323         Reworked query docs.
15324
15325         * gst/gstquery.c: (gst_query_new_formats),
15326         (gst_query_list_add_format), (gst_query_set_formats),
15327         (gst_query_set_formatsv), (gst_query_parse_formats_length),
15328         (gst_query_parse_formats_nth):
15329         * gst/gstquery.h:
15330         Flesh out formats query, added some new methods.
15331         Fix part of #324398.
15332
15333         * tests/check/gst/gstquery.c: (GST_START_TEST), (gstquery_suite):
15334         Added query creation tests.
15335
15336 2006-02-14  Jan Schmidt  <thaytan@mad.scientist.com>
15337
15338         * gst/gstpad.c: (fixate_value):
15339         Add a default fixation for fraction lists.
15340
15341 2006-02-13  Wim Taymans  <wim@fluendo.com>
15342
15343         * gst/gsttask.c: (gst_task_init), (gst_task_func),
15344         (gst_task_set_lock), (gst_task_start), (gst_task_pause),
15345         (gst_task_join):
15346         * gst/gsttask.h:
15347         Detect and warn for obvious deadlocks. fixes #320340
15348         Fix error case where lock was not released.
15349
15350         * tests/check/Makefile.am:
15351         * tests/check/gst/gsttask.c: (task_func2), (GST_START_TEST),
15352         (task_func), (gst_element_suite), (main):
15353         Add task check.
15354
15355 2006-02-13  Wim Taymans  <wim@fluendo.com>
15356
15357         * docs/gst/gstreamer-sections.txt:
15358         * gst/gstbus.c:
15359         Add new functions to docs.
15360
15361 2006-02-13  Wim Taymans  <wim@fluendo.com>
15362
15363         * docs/design/part-TODO.txt:
15364         Updated TODO list, basesrc supports seeking to non-bytes
15365         formats.
15366
15367         * docs/design/part-element-sink.txt:
15368         Update docs.
15369
15370         * gst/gstbin.c: (bin_replace_message),
15371         (gst_bin_handle_message_func):
15372         * gst/gstbus.c: (gst_bus_post), (gst_bus_pop):
15373         * gst/gstevent.c: (gst_event_finalize):
15374         * gst/gstpad.c: (gst_pad_event_default_dispatch),
15375         (gst_pad_send_event):
15376         Use shiny new _TYPE_NAME macros.
15377
15378         * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range):
15379         Move debug statement up.
15380
15381         * gst/gstelement.c: (gst_element_set_locked_state):
15382         Add some debugging.
15383
15384 2006-02-13  Tim-Philipp Müller  <tim at centricular dot net>
15385
15386         * docs/gst/gstreamer-sections.txt:
15387         * gst/gstmessage.h:
15388         * gst/gstquery.h:
15389           New API: add GST_MESSAGE_TYPE_NAME and GST_QUERY_TYPE_NAME
15390           macros (#330906). Also, document the already existing
15391           GST_QUERY_TYPE macro.
15392
15393 2006-02-13  Wim Taymans  <wim@fluendo.com>
15394
15395         * tests/check/gst/gstutils.c: (data_probe), (buffer_probe),
15396         (event_probe), (GST_START_TEST):
15397         Only events up to the pipeline EOS are counted, there are
15398         some more when going to NULL currently which we don't care
15399         about for now.
15400
15401 2006-02-13  Wim Taymans  <wim@fluendo.com>
15402
15403         * gst/gstpad.c: (gst_pad_send_event):
15404         Correctly check flushing and emit probes. fixes #330125
15405
15406 2006-02-10  Andy Wingo  <wingo@pobox.com>
15407
15408         * gst/gstbus.c (gst_bus_class_init): Declare our private data
15409         structure.
15410         (gst_bus_init): Cache the location of the private data in the
15411         instance structure.
15412         (gst_bus_enable_sync_message_emission) 
15413         (gst_bus_disable_sync_message_emission): Implement new public
15414         functions.
15415         (gst_bus_post): Emit the sync-message signal if the user asked for
15416         it. Fixes #330684.
15417
15418         * gst/gstbus.h (GstBus): Use a padding pointer to cache the
15419         location of the bus-private structure.
15420         (gst_bus_enable_sync_message_emission)
15421         (gst_bus_disable_sync_message_emission): API addition
15422
15423 2006-02-10  Jan Schmidt  <thaytan@mad.scientist.com>
15424
15425         Patch by: Vincent Torri
15426
15427         * docs/pwg/building-boiler.xml:
15428         PWG patch from #326800
15429
15430 2006-02-09  Tim-Philipp Müller  <tim at centricular dot net>
15431
15432         * configure.ac:
15433         * docs/Makefile.am:
15434         * docs/design/Makefile.am:
15435           Dist design docs.
15436
15437 2006-02-08  Jan Schmidt  <thaytan@mad.scientist.com>
15438
15439         * configure.ac:
15440           back to CVS
15441
15442 === release 0.10.3 ===
15443
15444 2006-02-08  Jan Schmidt <thaytan@mad.scientist.com>
15445
15446         * configure.ac:
15447           releasing 0.10.3, "Like a virgin"
15448
15449 2006-02-08  Jan Schmidt  <thaytan@mad.scientist.com>
15450
15451         * configure.ac:
15452           2nd prerelease of 0.10.3
15453           Bump libtool versioning.
15454
15455 2006-02-07  Andy Wingo  <wingo@pobox.com>
15456
15457         * libs/gst/base/gstcollectpads.c (gst_collect_pads_chain): Only
15458         update last_stop if we're in TIME format and the timestamp is
15459         valid.
15460
15461         * libs/gst/base/gstcollectpads.c (gst_collect_pads_event) 
15462         * libs/gst/base/gstbasetransform.c (gst_base_transform_eventfunc): 
15463         * libs/gst/base/gstbasesink.c (gst_base_sink_configure_segment):
15464         If we get a new newsegment with a different format, adapt
15465         accordingly.
15466
15467         * gst/gstclock.c (gst_clock_set_calibration): Accept a numerator
15468         of 0. Not a problem, really.
15469
15470         * libs/gst/base/gstbasesink.c (gst_base_sink_chain_unlocked): Only
15471         warn if sync=true.
15472
15473 2006-02-06  Jan Schmidt  <thaytan@mad.scientist.com>
15474
15475         * configure.ac:
15476           Prelease of 0.10.3
15477
15478 2006-02-06  Sebastien Moutte  <sebastien@moutte.net>
15479
15480         * win32/vs7:
15481           project files updated to the default vs7 configuration
15482         * win32/common/libgstbase.def:
15483         * win32/common/libgstreamer.def:
15484           added new symbols,
15485           removed empty lines,
15486           sorted all exported symbols alphabetically
15487         * win32/common/dirent.c:
15488         * win32/common/dirent.h:
15489         * win32/common/gchar.h:
15490           use windows line end.
15491           
15492 2006-02-06  Tim-Philipp Müller  <tim at centricular dot net>
15493
15494         * libs/gst/base/gstbasesrc.c: (gst_base_src_change_state):
15495           Send EOS event when stopping.
15496
15497 2006-02-06  Tim-Philipp Müller  <tim at centricular dot net>
15498
15499         * docs/README:
15500           Tell folks what to do if the plugin-foobar.xml file
15501           hasn't been generated for a newly-added plugin.
15502
15503 2006-02-05  Julien MOUTTE  <julien@moutte.net>
15504
15505         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
15506         (gst_collect_pads_add_pad), (gst_collect_pads_remove_pad),
15507         (gst_collect_pads_start), (gst_collect_pads_stop),
15508         (gst_collect_pads_event): Collectpads now holds a reference
15509         to the GstPad that was added. Indeed we don't want to look
15510         at pads that might just go away with no warning...
15511
15512 2006-02-05  Julien MOUTTE  <julien@moutte.net>
15513
15514         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
15515         (gst_collect_pads_start), (gst_collect_pads_stop),
15516         (gst_collect_pads_event), (gst_collect_pads_chain):
15517         * libs/gst/base/gstcollectpads.h: Handle flush. Adapted from
15518         Mark Nauwelaerts's patch on bug #328491.
15519
15520 2006-02-04  Tim-Philipp Müller  <tim at centricular dot net>
15521
15522         * tests/check/gst/gstutils.c: (test_parse_bin_from_description),
15523         (gst_utils_suite):
15524           Add some simple tests for gst_parse_bin_from_description() and
15525           gst_bin_find_unconnected_pad() (#329069).
15526
15527 2006-02-04  Tim-Philipp Müller  <tim at centricular dot net>
15528
15529         * tools/gst-launch.c: (event_loop), (main):
15530           Catch errors during preroll (#320084).
15531
15532 2006-02-03  Tim-Philipp Müller  <tim at centricular dot net>
15533
15534         * plugins/elements/gsttypefindelement.c:
15535         (gst_type_find_element_activate):
15536           Post TYPE_NOT_FOUND error message when typefinding
15537           is unsuccessful in the activate function as well.
15538
15539 2006-02-02  Wim Taymans  <wim@fluendo.com>
15540
15541         * docs/design/part-element-sink.txt:
15542         Updated doc.
15543
15544 2006-02-02  Wim Taymans  <wim@fluendo.com>
15545
15546         * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync),
15547         (gst_base_sink_render_object),
15548         (gst_base_sink_queue_object_unlocked):
15549         Only keep track of prerollable items when we are 
15550         prerolling.
15551         Before rendering after preroll, always check if we
15552         have queued items.
15553         Added some more debugging.
15554
15555 2006-02-02  Wim Taymans  <wim@fluendo.com>
15556
15557         * gst/gstelement.c: (gst_element_continue_state),
15558         (gst_element_set_state_func), (gst_element_change_state):
15559         Fixed #326576, been running this for quite some time with
15560         no regressions at all.
15561
15562 2006-02-02  Wim Taymans  <wim@fluendo.com>
15563
15564         * common/gst.supp:
15565         Added more suppressions
15566
15567 2006-02-02  Wim Taymans  <wim@fluendo.com>
15568
15569         * docs/design/part-element-sink.txt:
15570         Updated document.
15571
15572         * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
15573         (gst_base_sink_finalize), (gst_base_sink_preroll_queue_flush),
15574         (gst_base_sink_configure_segment), (gst_base_sink_commit_state),
15575         (gst_base_sink_get_sync_times), (gst_base_sink_wait_clock),
15576         (gst_base_sink_do_sync), (gst_base_sink_render_object),
15577         (gst_base_sink_preroll_object),
15578         (gst_base_sink_queue_object_unlocked),
15579         (gst_base_sink_queue_object), (gst_base_sink_event),
15580         (gst_base_sink_chain_unlocked), (gst_base_sink_chain),
15581         (gst_base_sink_loop), (gst_base_sink_activate_pull),
15582         (gst_base_sink_get_position), (gst_base_sink_change_state):
15583         * libs/gst/base/gstbasesink.h:
15584         Totally refactored matching the design doc.
15585         Use two segments, one to clip incomming buffers and another to
15586         perform sync.
15587         Handle queueing correctly, bypass the queue when playing.
15588         Make EOS cancelable.
15589         Handle errors correctly when operating in pull based mode.
15590
15591         * tests/check/elements/fakesink.c: (GST_START_TEST),
15592         (fakesink_suite):
15593         Added new check for sinks.
15594
15595 2006-02-02  Wim Taymans  <wim@fluendo.com>
15596
15597         * gst/gstsegment.c: (gst_segment_clip):
15598         No reason to refuse to clip when start == -1
15599
15600 2006-02-02  Stefan Kost  <ensonic@users.sf.net>
15601
15602         * docs/README:
15603         * docs/manual/intro-basics.xml:
15604         * docs/manual/intro-preface.xml:
15605         * docs/manual/manual.xml:
15606         * docs/pwg/advanced-dparams.xml:
15607         * docs/pwg/intro-basics.xml:
15608         * docs/pwg/intro-preface.xml:
15609         * docs/pwg/pwg.xml:
15610           describe dparams (controller) for plugins
15611           unify docs a little more
15612
15613 2006-02-02  Tim-Philipp Müller  <tim at centricular dot net>
15614
15615         * docs/gst/gstreamer-sections.txt:
15616         * gst/gstutils.c: (element_find_unconnected_pad),
15617         (gst_bin_find_unconnected_pad), (gst_parse_bin_from_description):
15618         * gst/gstutils.h:
15619           Add new API: gst_parse_bin_from_description() and
15620           gst_bin_find_unconnected_pad() (#329069).
15621
15622 2006-02-01  Stefan Kost  <ensonic@users.sf.net>
15623
15624         * docs/manual/README:
15625           uncover a nasty detail of the docs build
15626
15627 2006-01-31  Wim Taymans  <wim@fluendo.com>
15628
15629         * gst/gstbin.c: (bin_remove_messages), (bin_query_duration_done):
15630         Don't cache duration messages if we're not going to use or
15631         free them.
15632
15633 2006-01-31  Stefan Kost  <ensonic@users.sf.net>
15634
15635         * docs/manual/advanced-dparams.xml:
15636         * docs/pwg/advanced-dparams.xml:
15637           more dparam docs
15638         * gst/gstindex.c:
15639           fix docs
15640         * libs/gst/controller/lib.c: (gst_controller_init):
15641           init just once
15642
15643 2006-01-31  Thomas Vander Stichele  <thomas at apestaart dot org>
15644
15645         * gst/gstelement.c: (gst_element_message_full):
15646           also show file/line/func if no additional debug was given
15647
15648 2006-01-31  Sebastien Moutte  <sebastien@moutte.net>
15649         
15650         * win32/vs7/grammar.vcproj:
15651           activate copy of autogenerated files for Release mode
15652
15653 2006-01-30  Sebastien Moutte  <sebastien@moutte.net>
15654         
15655         * win32/common/libgstreamer.def:
15656           export gst_value_compare
15657
15658 2006-01-30  Jan Schmidt  <thaytan@mad.scientist.com>
15659
15660         * plugins/elements/Makefile.am:
15661         * plugins/elements/gstelements.c:
15662         * plugins/elements/gstfdsink.c: (_do_init),
15663         (gst_fd_sink_base_init), (gst_fd_sink_class_init),
15664         (gst_fd_sink_init), (gst_fd_sink_dispose), (gst_fd_sink_query),
15665         (gst_fd_sink_render), (gst_fd_sink_check_fd), (gst_fd_sink_start),
15666         (gst_fd_sink_stop), (gst_fd_sink_unlock), (gst_fd_sink_update_fd),
15667         (gst_fd_sink_set_property), (gst_fd_sink_uri_get_type),
15668         (gst_fd_sink_uri_get_protocols), (gst_fd_sink_uri_get_uri),
15669         (gst_fd_sink_uri_set_uri), (gst_fd_sink_uri_handler_init):
15670         * plugins/elements/gstfdsink.h:
15671         Port fdsink to 0.10 (patch by Philippe Rouquier) (Fixes #325490)
15672
15673 2006-01-30  Stefan Kost  <ensonic@users.sf.net>
15674
15675         * docs/manual/advanced-dparams.xml:
15676           describe controller
15677         * docs/manual/advanced-position.xml:
15678         * docs/manual/basics-init.xml:
15679         * docs/manual/manual.xml:
15680         * docs/manual/titlepage.xml:
15681         * docs/pwg/pwg.xml:
15682         * docs/pwg/titlepage.xml:
15683           cleanup xml (more to come)
15684         * libs/gst/controller/gstcontroller.c:
15685           fix typo
15686
15687 2006-01-30  Sebastien Moutte  <sebastien@moutte.net>
15688         
15689         * win32/vs6/grammar.dsp:
15690           add autogen of gstmarshal.c,h for Release mode
15691                 
15692 2006-01-30  Wim Taymans  <wim@fluendo.com>
15693
15694         * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
15695         (gst_base_sink_preroll_queue_empty), (gst_base_sink_commit_state),
15696         (gst_base_sink_handle_object), (gst_base_sink_event),
15697         (gst_base_sink_is_prerolled), (gst_base_sink_wait),
15698         (gst_base_sink_do_sync), (gst_base_sink_handle_event),
15699         (gst_base_sink_handle_buffer), (gst_base_sink_set_flushing),
15700         (gst_base_sink_deactivate), (gst_base_sink_activate),
15701         (gst_base_sink_activate_pull), (gst_base_sink_get_position),
15702         (gst_base_sink_query), (gst_base_sink_change_state):
15703         Basesink cleanups, remove some old code.
15704         Handle the case where a subclass can preroll in the render
15705         method (mostly audiosinks).
15706         Handle more events.
15707         Remove some locks around variables that are now protected
15708         with the PREROLL_LOCK (clock_id, flushing, ..).
15709         Optimize position query some more, do correct locking.
15710         Remove old code to push queue in state change, this is not
15711         needed anymore since preroll blocks on all prerollable items 
15712         now.
15713         Almost implemented as described in design doc.
15714
15715 2006-01-30  Wim Taymans  <wim@fluendo.com>
15716
15717         * tests/check/gst/gstbin.c: (GST_START_TEST):
15718         Wait for refcount to settle down before checking.
15719
15720 2006-01-30  Wim Taymans  <wim@fluendo.com>
15721
15722         * docs/design/part-element-sink.txt:
15723         Pseudo code overview of desired sink behaviour regarding
15724         preroll.
15725
15726 2006-01-29  Sebastien Moutte  <sebastien@moutte.net>
15727         * win32/vs6/grammar.dsp:
15728           fix some bugs in Release mode for autogenerated files
15729                 
15730 2006-01-29  Sebastien Moutte  <sebastien@moutte.net>
15731         * win32/common/libgstbase.def:
15732         * win32/common/libgstreamer.def:
15733           export some new symbols: gst_base_src_set_format,
15734           gst_iterator_next, gst_structure_set_valist
15735
15736 2006-01-29  Julien MOUTTE  <julien@moutte.net>
15737
15738         * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked):
15739         Set pad functions unconditionally. Fixes #329105.
15740
15741 2006-01-29  Sebastien Moutte  <sebastien@moutte.net>
15742         * win32/vs8:
15743           add vs8 project files created by Sergey Scobich
15744
15745 2006-01-28  Jan Schmidt  <thaytan@mad.scientist.com>
15746
15747         * gst/gstutils.c: (gst_element_unlink_pads):
15748         Don't leak pad references.
15749
15750         * tests/check/elements/fakesink.c: (GST_START_TEST):
15751         * tests/check/generic/sinks.c: (GST_START_TEST):
15752         * tests/check/generic/states.c: (GST_START_TEST):
15753         * tests/check/gst/gstbin.c: (GST_START_TEST):
15754         * tests/check/gst/gstcaps.c: (GST_START_TEST):
15755         * tests/check/gst/gstelement.c: (GST_START_TEST):
15756         * tests/check/gst/gstghostpad.c: (GST_START_TEST):
15757         * tests/check/gst/gstiterator.c: (GST_START_TEST):
15758         * tests/check/gst/gstvalue.c: (GST_START_TEST):
15759         Fix a bunch of leaks. Make generic/sinks.c
15760         use a bit less cpu by slowing the buffer rate
15761         between fakesrc and fakesink.
15762         
15763 2006-01-27  Stefan Kost  <ensonic@users.sf.net>
15764         * gst/gstcaps.c:
15765         * gst/gstelement.c: (gst_element_send_event):
15766         * gst/gstevent.c:
15767         * gst/gstinfo.c:
15768         * gst/gstiterator.c:
15769         * gst/gstiterator.h:
15770         * gst/gstpad.c: (gst_pad_send_event):
15771         * gst/gststructure.c:
15772         * gst/gsturi.c:
15773         * gst/gstutils.c:
15774         * gst/gstvalue.c:
15775         * libs/gst/base/gstadapter.c:
15776           doc fixes, to link to function, just write gst_cool_function(), don't
15777           prefix with '#'
15778
15779 2006-01-27  Jan Schmidt  <thaytan@mad.scientist.com>
15780
15781         * plugins/elements/gsttee.c: (gst_tee_do_push),
15782         (gst_tee_handle_buffer):
15783         Always prefer an actual return value from a src
15784         pad in place of NOT_LINKED. This means we return
15785         WRONG_STATE when all src pads are WRONG_STATE
15786         instead of NOT_LINKED.
15787
15788         Lock when replacing the last message to prevent
15789         racing with the get_property method.
15790
15791         Add debug output
15792
15793 2006-01-27  Jan Schmidt  <thaytan@mad.scientist.com>
15794
15795         * tests/check/Makefile.am:
15796         * tests/check/gst/gstquery.c: (GST_START_TEST), (gstquery_suite),
15797         (main):
15798         Add a very simple check that should have caught the memleak I fixed
15799         last night (if not for the slice allocator hiding it)
15800
15801 2006-01-27  Jan Schmidt  <thaytan@mad.scientist.com>
15802
15803         * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
15804         (gst_bin_remove_func), (gst_bin_handle_message_func),
15805         (bin_query_duration_fold), (bin_query_generic_fold):
15806         Clean up references to the clock provider when disposed or when
15807         handling a clock-lost message from it.
15808
15809         Unref sinks when performing a query via gst_iterator_fold, as the
15810         gst_bin_iterate_sinks iterator refs each item. (Fixes #323874)
15811
15812         * gst/gstclock.c: (gst_clock_class_init), (gst_clock_dispose),
15813         (gst_clock_set_master):
15814         Drop our reference to the master clock, if any, when we are disposed.
15815
15816         * gst/gsttypefindfactory.c: (gst_type_find_factory_dispose):
15817         Chain up in dispose. 
15818
15819 2006-01-26  Wim Taymans  <wim@fluendo.com>
15820
15821         * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range):
15822         Add some debugging.
15823
15824 2006-01-26  Julien MOUTTE  <julien@moutte.net>
15825
15826         * plugins/elements/gsttee.c: (gst_tee_do_push),
15827         (gst_tee_handle_buffer): Apply patch from #328715. Tee now
15828         handles pad being NOT_LINKED or in WRONG_STATE.
15829
15830 2006-01-26  Stefan Kost  <ensonic@users.sf.net>
15831
15832         * win32/MANIFEST:
15833           more updating
15834
15835 2006-01-26  Stefan Kost  <ensonic@users.sf.net>
15836
15837         * win32/MANIFEST:
15838           remove obsolete entry
15839
15840 2006-01-26  Stefan Kost  <ensonic@users.sf.net>
15841
15842         * docs/gst/gstreamer-sections.txt:
15843         * gst/gstbin.c: (bin_element_is_src), (src_iterator_filter),
15844         (gst_bin_iterate_sources), (gst_bin_send_event):
15845         * gst/gstbin.h:
15846         * gst/gstelement.c: (gst_element_send_event):
15847         * gst/gstevent.c:
15848         * gst/gstpad.c: (gst_pad_send_event):
15849           added code for downstream events, reviewed docs in gstevent.c
15850
15851 2006-01-25  Julien MOUTTE  <julien@moutte.net>
15852
15853         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
15854         We only query position using the clock in the playing state.
15855         Query peer in the other cases.
15856         * win32/common/config.h: Updates.
15857
15858 2006-01-24  Wim Taymans  <wim@fluendo.com>
15859
15860         * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
15861         A clock entry that is scheduled for the exact time of the
15862         clock is still in time.
15863
15864         * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
15865         (gst_base_sink_do_sync):
15866         Add some more debug info.
15867
15868 2006-01-23  Sebastien Moutte  <sebastien@moutte.net>
15869
15870         * win32/vs7:
15871           Add new vs7 project files and solution.
15872
15873 2006-01-23  Sebastien Moutte  <sebastien@moutte.net>
15874
15875         * win32/vs7:
15876           all files removed as they were out-dated.
15877
15878 2006-01-20  Thomas Vander Stichele  <thomas at apestaart dot org>
15879
15880         * docs/random/release:
15881           update notes
15882         * gst/gstbin.c: (gst_bin_init):
15883         * gst/gstbus.c: (gst_bus_new):
15884         * gst/gstbus.h:
15885         * gst/gstpipeline.c: (gst_pipeline_init):
15886           use gst_bus_new(), improve logging, fix docs
15887         * win32/common/config.h:
15888           update for cvs build
15889
15890 2006-01-20  Thomas Vander Stichele  <thomas at apestaart dot org>
15891
15892         * autogen.sh:
15893           up required version of automake to 1.7
15894
15895 2006-01-20  Sebastien Moutte  <sebastien@moutte.net>
15896
15897         * win32/common/libgstreamer.def:
15898           export gst_buffer_is_metadata_writable
15899
15900 2006-01-20  Tim-Philipp Müller  <tim at centricular dot net>
15901
15902         * docs/gst/gstreamer-sections.txt:
15903         * gst/gstevent.h:
15904           Add gst_event_replace() (#327001)
15905
15906 2006-01-20  Wim Taymans  <wim@fluendo.com>
15907
15908         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked):
15909         Make it actually compile too..
15910
15911 2006-01-20  Wim Taymans  <wim@fluendo.com>
15912
15913         * gst/gstcaps.c:
15914         Clarify behaviour of _is_equal() when passing NULL parameters.
15915
15916         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
15917         (gst_pad_set_caps):
15918         Cleanups. Don't unref NULL caps.
15919         When setting the same caps, protect caps of the pad with
15920         proper lock.
15921         Use full functionality of _is_equal() when comparing caps.
15922
15923 2006-01-20  Jan Schmidt  <thaytan@mad.scientist.com>
15924
15925         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_is_collected):
15926         Don't loop infinitely if there are no buffers to present. Partially
15927         fixes #327197, but collectpads is just broken for reusing elements
15928         to do multiple encodes atm.
15929
15930 2006-01-20  Jan Schmidt  <thaytan@mad.scientist.com>
15931
15932         * tools/gst-inspect.c: (print_element_features):
15933         * tools/gst-xmlinspect.c: (main):
15934         URL_HANDLER is not a plugin feature we can search for in
15935         the registry.
15936
15937 2006-01-19  Edward Hervey  <edward@fluendo.com>
15938
15939         * gst/gstelement.c: (gst_element_pads_activate): 
15940         When activating, do src pads first, then sink pads.
15941         When de-activating, do sink pads first, then src pads.
15942
15943 2006-01-19  Jan Schmidt  <thaytan@mad.scientist.com>
15944
15945         * docs/gst/gstreamer-sections.txt:
15946         Add gst_index_add_associationv to the docs
15947
15948 2006-01-19  Jan Schmidt  <thaytan@mad.scientist.com>
15949
15950         * gst/gstevent.c:
15951           Fix docs typo
15952
15953         * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event),
15954         (gst_queue_chain), (gst_queue_push_one), (gst_queue_loop):
15955           Do some refactoring. Doesn't actually change functionality,
15956           but makes landing the DRAIN event easier later.
15957
15958 2006-01-19  Tim-Philipp Müller  <tim at centricular dot net>
15959
15960         * docs/pwg/advanced-scheduling.xml:
15961           Update from 0.9.x to 0.10 API and make example a bit
15962           clearer.
15963
15964 2006-01-19  Jan Schmidt  <thaytan@mad.scientist.com>
15965
15966         * docs/gst/gstreamer-sections.txt:
15967         Add gst_buffer_(is|make)_metadata_writable methods.
15968
15969 2006-01-19  Jan Schmidt  <thaytan@mad.scientist.com>
15970
15971         * docs/design/part-sparsestreams.txt:
15972         Update sparse streams doc, hopefully for greater clarity
15973
15974 2006-01-18  Jan Schmidt  <thaytan@mad.scientist.com>
15975
15976         * docs/design/part-events.txt:
15977         Remove mention of FILLER events.
15978         Add DRAIN event.
15979
15980         * docs/design/part-sparsestreams.txt:
15981         Write some things about using NEWSEGMENT to keep sparse streams
15982         flowing.
15983
15984 2006-01-18  Tim-Philipp Müller  <tim at centricular dot net>
15985
15986         * gst/gstbin.c: (gst_bin_dispose):
15987           Guard gst_object_unref call against a NULL object (dispose
15988           can theoretically be called multiple times).
15989           
15990 2006-01-18  Wim Taymans  <wim@fluendo.com>
15991
15992         * gst/gstbin.c: (gst_bin_element_set_state):
15993         * gst/gstclock.c: (gst_clock_id_wait):
15994         Added some more debug info.
15995
15996         * libs/gst/base/gstadapter.c:
15997         Added more docs.
15998
15999         * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
16000         (gst_base_sink_do_sync), (gst_base_sink_chain):
16001         Added some comments.
16002
16003 2006-01-18  Wim Taymans  <wim@fluendo.com>
16004
16005         * tests/check/Makefile.am:
16006         * tests/check/elements/fakesink.c: (chain_async_buffer),
16007         (chain_async), (chain_async_return), (GST_START_TEST),
16008         (fakesink_suite), (main):
16009         Added fakesink test that checks prerolling and clipping
16010         behaviour.
16011
16012         * tests/check/gst/gstutils.c: (GST_START_TEST):
16013         Make check run faster so that buildbots don't timeout.
16014
16015 2006-01-18  Wim Taymans  <wim@fluendo.com>
16016
16017         * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
16018         (gst_base_sink_do_sync):
16019         Some cleanups.
16020         When the sink finishes blocking on the preroll buffer, it can
16021         immediatly render it instead of rendering when the next buffer
16022         arrives.
16023
16024 2006-01-18  Wim Taymans  <wim@fluendo.com>
16025
16026         * libs/gst/base/gstbasesink.c: (gst_base_sink_set_property),
16027         (gst_base_sink_get_property), (gst_base_sink_do_sync),
16028         (gst_base_sink_chain):
16029         Small cleanups.
16030         GST_ELEMENT_CLOCK and sync are protected with LOCK.
16031         Don't store _last_stop if the buffer is dropped.
16032
16033 2006-01-18  Tim-Philipp Müller  <tim at centricular dot net>
16034
16035         * plugins/elements/gsttypefindelement.c:
16036         (gst_type_find_element_class_init):
16037           'have-type' signal needs to be G_SIGNAL_RUN_FIRST, as it is the
16038           object method handler that sets the caps on the pad and we want
16039           that to happen before we emit the signal (fixes e.g. feeding a
16040           plain text file to decodebin).
16041
16042 2006-01-18  Christian Schaller  <Christian@fluendo.com>
16043
16044         * gst/gstplugin.c: Add MPL and Proprietary as license options
16045
16046 2006-01-18  Andy Wingo  <wingo@pobox.com>
16047
16048         * gst/gstindex.h (gst_index_add_associationv): Add to header. The
16049         symbol was exported before, it appears this was just an oversight.
16050         Fixes #168703.
16051         Patch by: Torsten Schoenfeld <kaffeetisch at gmx.de>
16052
16053         * gst/gstindex.c (gst_index_add_associationv): Changed int in
16054         prototype to gint. OK since this prototype was not in the header.
16055
16056 2006-01-17  Andy Wingo  <wingo@pobox.com>
16057
16058         * gst/gstregistry.c (_gst_registry_remove_cache_plugins): Lock the
16059         registry while we remove plugins.
16060
16061         * tools/gst-inspect.c (print_element_info): Don't unref the
16062         factory arg, that should be the responsibility of whatever code
16063         received the ref. Fixes a double-free when called from
16064         print_element_list via gst-inspect-0.10 -a. Fixes #327324.
16065         (main): Unref the factory if we have one.
16066         (print_element_list): No change -- relies on the
16067         plugin_feature_list_free to free the list of features.
16068
16069 2006-01-17  Jan Schmidt  <thaytan@mad.scientist.com>
16070
16071         * gst/gstbuffer.c: (gst_buffer_is_metadata_writable),
16072         (gst_buffer_make_metadata_writable):
16073         * gst/gstbuffer.h:
16074         * libs/gst/base/gstbasetransform.c:
16075         (gst_base_transform_prepare_output_buf):
16076         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
16077         * tests/check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
16078           Replace gst_buffer_(make|is)_metadata_writable patch now
16079           that the release is out.
16080
16081 2006-01-17  Andy Wingo  <wingo@pobox.com>
16082
16083         * gst/gstregistry.c: Reflow design comment. Update so as to speak
16084         in the present tense without reference to versions.
16085
16086         * gst/gstregistry.c (gst_registry_add_plugin)
16087         (gst_registry_remove_plugin, gst_registry_remove_feature)
16088         (gst_registry_find_feature, gst_registry_get_feature_list)
16089         (gst_registry_get_plugin_list, gst_registry_lookup_feature)
16090         (gst_registry_lookup, gst_registry_scan_path)
16091         (_gst_registry_remove_cache_plugins)
16092         (gst_registry_get_feature_list_by_plugin): Add argument
16093         validation.
16094
16095 === release 0.10.2 ===
16096
16097 2006-01-16  Thomas Vander Stichele <thomas at apestaart dot org>
16098
16099         * configure.ac:
16100           releasing 0.10.2, "If man is five"
16101
16102 2006-01-16  Jan Schmidt  <thaytan@mad.scientist.com>
16103
16104         * gst/gstbuffer.c:
16105         * gst/gstbuffer.h:
16106         * libs/gst/base/gstbasetransform.c:
16107         (gst_base_transform_prepare_output_buf):
16108         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
16109         * tests/check/gst/gstbuffer.c: (gst_test_suite):
16110           Back out patch until after the release.
16111
16112 2006-01-16  Jan Schmidt  <thaytan@mad.scientist.com>
16113
16114         * gst/gstminiobject.c:
16115           Spelling fix in docs.
16116         * ChangeLog - remove conflict indicator
16117
16118 2006-01-16  Jan Schmidt  <thaytan@mad.scientist.com>
16119
16120         Reviewed By: Andy Wingo
16121
16122         * gst/gstbuffer.c: (gst_buffer_is_metadata_writable),
16123         (gst_buffer_make_metadata_writable):
16124         * gst/gstbuffer.h:
16125           Add gst_buffer_(is|make)_metadata_writable as analogues of
16126           gst_buffer_(is|make)_writable.
16127
16128         * libs/gst/base/gstbasetransform.c:
16129         (gst_base_transform_prepare_output_buf):
16130         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
16131           Use name gst_buffer_(is|make)_metadata_writable functions.
16132
16133         * tests/check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
16134           Test gst_buffer_(is|make)_metadata_writable
16135         
16136           (Closes: #324162)
16137
16138 2006-01-14  Thomas Vander Stichele  <thomas at apestaart dot org>
16139
16140         * docs/manual/Makefile.am:
16141           don't do parallel make
16142         * configure.ac:
16143           AC_SUBST HOST_CPU
16144         * win32/common/config.h.in:
16145           add generations for HOST_CPU and GST_MAJORMINOR
16146         * win32/common/config.h:
16147           commit generated result
16148
16149 2006-01-13  Tim-Philipp Müller  <tim at centricular dot net>
16150
16151         * docs/manual/appendix-integration.xml:
16152           Update GNOME integration section to use gst_init_get_option_group()
16153           instead of the old popt stuff (#322911). Also, GNOME applications
16154           should  now use gconf*sink and gconf*src instead of the old gconf
16155           helper lib we had.
16156
16157 2006-01-13  Stefan Kost  <ensonic@users.sf.net>
16158
16159
16160         * docs/gst/gstreamer-docs.sgml:
16161         * docs/gst/gstreamer-sections.txt:
16162         * docs/libs/gstreamer-libs-sections.txt:
16163           add new API entries to the docs
16164         * libs/gst/controller/Makefile.am:
16165         * libs/gst/controller/gstcontroller.c:
16166         * libs/gst/controller/gstcontroller.h:
16167         * libs/gst/controller/gstcontrollerprivate.h:
16168         * libs/gst/controller/gsthelper.c:
16169         * libs/gst/controller/gstinterpolation.c:
16170           move private structs to private header
16171         * po/README:
16172           gstreamer-0.7 -> gstreamer-0.10
16173         * tests/check/libs/struct_i386.h:
16174           remove private structs
16175
16176 2006-01-13  Thomas Vander Stichele  <thomas at apestaart dot org>
16177
16178         * plugins/indexers/Makefile.am:
16179           Fixes as part of #317048
16180
16181 2006-01-13  Thomas Vander Stichele  <thomas at apestaart dot org>
16182
16183         * plugins/indexers/Makefile.am:
16184           fix #316086 - compilation when mmap is missing
16185
16186 2006-01-12  Sebastien Moutte  <sebastien@moutte.net>
16187
16188         * libs/gst/base/gstbasesink.c:
16189           *cur = (now - base) * basesink->segment.abs_rate + time; replaced by 
16190           *cur = gst_guint64_to_gdouble(now - base) * basesink->segment.abs_rate + time; for vs6
16191         * win32/common/config.h:
16192           added some defines GST_MAJORMINOR and HOST_CPU
16193         * win32/common/libgstbase.def:
16194         * win32/common/libgstreamer.def:
16195           added some exported functions.
16196
16197 2006-01-12  Stefan Kost  <ensonic@users.sf.net>
16198
16199         * libs/gst/controller/gstcontroller.c:
16200         (gst_controlled_property_set_interpolation_mode),
16201         (gst_controlled_property_new):
16202         * libs/gst/controller/gstcontroller.h:
16203         * libs/gst/controller/gstinterpolation.c:
16204         (interpolate_none_get_string_value_array):
16205           make G_TYPE_STRING controlable
16206
16207 2006-01-12  Stefan Kost  <ensonic@users.sf.net>
16208
16209         * tools/README:
16210         * tools/gst-feedback.1.in:
16211         * tools/gst-inspect.1.in:
16212         * tools/gst-launch.1.in:
16213         * tools/gst-md5sum.1.in:
16214         * tools/gst-typefind.1.in:
16215         * tools/gst-xmlinspect.1.in:
16216         * tools/gst-xmllaunch.1.in:
16217           cleanup man-pages, remove reference to gst-register, document env-vars
16218
16219 2006-01-12  Jan Schmidt  <thaytan@mad.scientist.com>
16220
16221         * gst/gstbuffer.c: (gst_buffer_span):
16222           gst_buffer_span should copy the timestamp of the first buffer
16223           if they were both originally overlapping subbuffers of the 
16224           same parent, using the same logic as the 'slow copy' case.
16225
16226 2006-01-11  Jan Schmidt  <thaytan@mad.scientist.com>
16227
16228         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_pop):
16229           Need to awaken ALL the pads when we pop a buffer, otherwise
16230           collectpads only works when there is 2 input streams.
16231
16232 2006-01-11  Stefan Kost  <ensonic@users.sf.net>
16233
16234         * docs/random/ensonic/media-device-daemon.txt:
16235           more ideas (dbus)
16236         * gst/gstbuffer.c:
16237           fix doc example, add clarification
16238         * tools/gst-launch.1.in:
16239           add initial info about GST_PLUGIN_PATH, needs more work
16240
16241 2006-01-11  Tim-Philipp Müller  <tim at centricular dot net>
16242
16243         * docs/manual/basics-bins.xml:
16244         * docs/manual/basics-elements.xml:
16245         * docs/manual/intro-basics.xml:
16246           Some more minor docs additions and updates.
16247
16248 2006-01-11  Wim Taymans  <wim@fluendo.com>
16249
16250         * docs/manual/basics-bins.xml:
16251         * docs/manual/basics-elements.xml:
16252         Some small fixes as pointed out by Ser-ver on IRC.
16253
16254 2006-01-10  Edward Hervey  <edward@fluendo.com>
16255
16256         * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
16257         Set the buffer offset/offset_end to GST_CLOCK_TIME_NONE when using
16258         the single-segment mode.
16259
16260 2006-01-10  Brian Cameron  <brian dot cameron at sun dot com>
16261
16262         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
16263
16264         * libs/gst/base/gstbasesrc.c: (gst_base_src_init),
16265         (gst_base_src_perform_seek), (gst_base_src_send_event),
16266         (gst_base_src_set_property), (gst_base_src_get_property),
16267         (gst_base_src_loop), (gst_base_src_start),
16268         (gst_base_src_activate_push):
16269         * libs/gst/base/gstbasesrc.h:
16270           Name (private) union; makes Sun's Forte compiler happy (#324900).
16271
16272 2006-01-09  Tim-Philipp Müller  <tim at centricular dot net>
16273
16274         * README:
16275           gst-register is gone.
16276
16277 2006-01-07  Thomas Vander Stichele  <thomas at apestaart dot org>
16278
16279         * gst/gstvalue.c: (_gst_value_initialize):
16280           make the G_TYPE_DATE instantiation work if debug is disabled
16281
16282 2006-01-06  Tim-Philipp Müller  <tim at centricular dot net>
16283
16284         * gst/gstmessage.c: (gst_message_parse_tag),
16285         (gst_message_parse_error), (gst_message_parse_warning):
16286           Don't crash when return location for error/warning debug
16287           string is NULL; add fact that return locations can be
16288           NULL to docs where appropriate.
16289
16290 2006-01-05  Wim Taymans  <wim@fluendo.com>
16291
16292         * gst/gstplugin.c: (gst_plugin_load_file):
16293         Replace strdup by g_strdup.
16294
16295 2006-01-05  Thomas Vander Stichele  <thomas at apestaart dot org>
16296
16297         * docs/pwg/advanced-types.xml:
16298           fix doc borkage
16299
16300 2006-01-05  Thomas Vander Stichele  <thomas at apestaart dot org>
16301
16302         submitted by: Abel Cheung
16303
16304         * po/LINGUAS:
16305         * po/zh_TW.po:
16306           Added Chinese (traditional) translation
16307
16308 2006-01-04  Wim Taymans  <wim@fluendo.com>
16309
16310         * docs/manual/basics-pads.xml:
16311         * docs/plugins/Makefile.am:
16312         * docs/plugins/gstreamer-plugins-docs.sgml:
16313         * docs/plugins/gstreamer-plugins-sections.txt:
16314         * docs/pwg/advanced-clock.xml:
16315         * docs/pwg/advanced-scheduling.xml:
16316         * docs/pwg/advanced-types.xml:
16317         * plugins/elements/gstfdsink.c:
16318         * plugins/elements/gstfdsrc.c:
16319         * plugins/elements/gstfdsrc.h:
16320         * plugins/elements/gstidentity.c: (gst_identity_class_init):
16321         * plugins/elements/gstidentity.h:
16322         * plugins/elements/gstqueue.h:
16323         * plugins/elements/gsttee.c:
16324         * plugins/elements/gsttee.h:
16325         * plugins/elements/gsttypefindelement.c:
16326         (gst_type_find_element_class_init):
16327         * plugins/elements/gsttypefindelement.h:
16328         Small updates to various docs.
16329         Added core plugins to docs.
16330
16331 2006-01-03  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
16332
16333         * common/gst.supp:
16334           add a suppression for liboil's uninitialized variable
16335
16336 2006-01-02  James Livingston  <jrl at ids dot org dot au>
16337
16338         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
16339
16340         * gst/gstutils.h:
16341           Add prototype for _get_type() function to GST_BOILERPLATE_FULL
16342           macro, so that gcc doesn't complain if the -Wmissing-prototypes
16343           compiler switch is being used (#325429).
16344
16345 2005-12-29  Tim-Philipp Müller  <tim at centricular dot net>
16346
16347         * gst/gstbin.c: (gst_bin_query):
16348           Disable duration query caching in bins until it gets
16349           fixed (see #324807).
16350
16351 2005-12-27  Tim-Philipp Müller  <tim at centricular dot net>
16352
16353         * tools/gst-inspect.c: (print_element_properties_info):
16354           Handle properties of POINTER and BOXED type.
16355
16356 2005-12-27  Tim-Philipp Müller  <tim at centricular dot net>
16357
16358         * gst/gst.c: (init_post):
16359           Init tags stuff and some other things before loading
16360           any static plugins (there may be other static plugins
16361           than just the GStreamer ones, and they may want to
16362           register their own tags or formats or whatever, and
16363           preferably without segfaulting).
16364
16365         * plugins/elements/gstqueue.c: (gst_queue_handle_src_query):
16366           Print at least a warning in the debug logs if we drop a
16367           query just because we don't know how to adjust the value
16368           in the particular format.
16369
16370 2005-12-24  David Schleef  <ds@schleef.org>
16371
16372         * tools/gstreamer-completion:
16373           Replacement for gst-complete written in sh and sed.  Only
16374           completes names of features, but that's 90% of what I want
16375           it for.  Properties are not available in registry.xml.  (Maybe
16376           they should be...)
16377
16378 === release 0.10.1 ===
16379
16380 2005-12-23  Thomas Vander Stichele <thomas at apestaart dot org>
16381
16382         * configure.ac:
16383           releasing 0.10.1, "Nollaig chridheil"
16384
16385 2005-12-22  Tim-Philipp Müller  <tim at centricular dot net>
16386
16387         * docs/faq/cvs.xml:
16388           Add missing quote, should be make ERROR_CFLAGS="".
16389
16390 2005-12-20  Wim Taymans  <wim@fluendo.com>
16391
16392         * docs/design/part-trickmodes.txt:
16393         More documentation on trickmodes.
16394
16395 2005-12-20  Edward Hervey  <edward@fluendo.com>
16396
16397         * gst/gstcaps.c: (gst_static_caps_get_type):
16398         * gst/gstcaps.h:
16399           API addition: GST_TYPE_STATIC_CAPS
16400         Added gpointer GType for GstStaticCaps so we can wrap them in bindings.
16401         * gst/gstpadtemplate.c: (gst_static_pad_template_get_type):
16402         * gst/gstpadtemplate.h:
16403           API addition: GST_TYPE_STATIC_PAD_TEMPLATE
16404         Added gpointer GType for GstStaticPadTemplate so we can wrap them in
16405         bindings.
16406
16407 2005-12-18  Wim Taymans  <wim@fluendo.com>
16408
16409         * libs/gst/base/gstadapter.c:
16410         * libs/gst/base/gstadapter.h:
16411         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
16412         (gst_base_sink_get_position):
16413         * libs/gst/base/gstbasesink.h:
16414         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
16415         (gst_base_src_default_query), (gst_base_src_default_do_seek),
16416         (gst_base_src_do_seek), (gst_base_src_perform_seek),
16417         (gst_base_src_send_event), (gst_base_src_update_length),
16418         (gst_base_src_get_range), (gst_base_src_loop),
16419         (gst_base_src_start):
16420         * libs/gst/base/gstbasesrc.h:
16421         * libs/gst/base/gstbasetransform.h:
16422         * libs/gst/base/gstcollectpads.h:
16423         * libs/gst/base/gstpushsrc.c:
16424         * libs/gst/base/gstpushsrc.h:
16425         * libs/gst/dataprotocol/dataprotocol.c:
16426         * libs/gst/dataprotocol/dataprotocol.h:
16427         * libs/gst/net/gstnetclientclock.h:
16428         * libs/gst/net/gstnettimeprovider.h:
16429         Documentation updates.
16430
16431 2005-12-18  Tim-Philipp Müller  <tim at centricular dot net>
16432
16433         * docs/manual/basics-helloworld.xml:
16434           Remove superfluous closing bracket in helloworld example.
16435
16436 2005-12-17  Tim-Philipp Müller  <tim at centricular dot net>
16437
16438         * tools/gst-launch.1.in:
16439           Update gst-launch man page; add a section with useful
16440           environment variables. Fixes #323882.
16441
16442 2005-12-16  Stefan Kost  <ensonic@users.sf.net>
16443
16444         * gst/gst.c:
16445         * gst/gst_private.h:
16446           change some char* into char[]
16447
16448 2005-12-16  Wim Taymans  <wim@fluendo.com>
16449
16450         * gst/gstregistryxml.c: (load_feature):
16451         Cleanups.
16452         Don't use g_object_unref on GstObjects so that we avoid
16453         leaks on unsafe glibs.
16454
16455 2005-12-16  Wim Taymans  <wim@fluendo.com>
16456
16457         * gst/gstbin.c: (gst_bin_recalc_state):
16458         Small doc updates.
16459
16460 2005-12-16  Wim Taymans  <wim@fluendo.com>
16461
16462         * common/check.mak:
16463         Added make forever target for check.
16464
16465 2005-12-16  Thomas Vander Stichele  <thomas at apestaart dot org>
16466
16467         * gst/gst.c: (init_post):
16468           make the registry cache file HOST_CPU-dependent
16469
16470 2005-12-16  Andy Wingo  <wingo@pobox.com>
16471
16472         * plugins/elements/gstbufferstore.c
16473         (gst_buffer_store_cleared_func): Pay attention to g_list_append
16474         return value.
16475
16476         * tests/check/gst/gstobject.c
16477         (test_fake_object_name_threaded_unique): Pay attention to
16478         g_list_sort return value.
16479
16480 2005-12-16  Tim-Philipp Müller  <tim at centricular dot net>
16481
16482         * tools/gst-feedback-m.m:
16483           Update for 0.9/0.10 (fixes #323870).
16484
16485 2005-12-15  Tim-Philipp Müller  <tim at centricular dot net>
16486
16487         * gst/gstminiobject.c: (gst_value_mini_object_lcopy):
16488           Fix lcopy for mini objects, the mini object needs to be ref'ed.
16489           
16490         * tests/check/gst/gstminiobject.c: (my_foo_init),
16491         (my_foo_get_property), (my_foo_set_property), (my_foo_class_init),
16492         (test_value_collection), (gst_mini_object_suite):
16493           Add test to ensure refcounts end up as expected when passing
16494           GstMiniObjects through g_object_get() and g_object_set().
16495
16496 2005-12-14  Julien MOUTTE  <julien@moutte.net>
16497
16498         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
16499         (gst_collect_pads_remove_pad), (gst_collect_pads_is_collected),
16500         (gst_collect_pads_event), (gst_collect_pads_chain): Refactoring
16501         of collectpads. This version removes a lot of races without
16502         touching API/ABI. Yay !
16503
16504 2005-12-14  Jan Schmidt  <thaytan@mad.scientist.com>
16505
16506         * gst/gstpad.c: (gst_pad_activate_pull), (gst_pad_link_prepare):
16507           Don't allow activation of a srcpad in pull_range if it has no
16508           getrange function.
16509           Change some debug statements to be a little clearer
16510
16511         * plugins/elements/gsttypefindelement.c:
16512         (gst_type_find_handle_src_query):
16513           Check that we have a peer before executing queries thereupon.
16514
16515         * tests/examples/metadata/read-metadata.c: (message_loop):
16516           Use gst_bus_pop instead of gst_bus_poll when we just want it to
16517           immediately return us any available message with 0 timeout.
16518
16519 2005-12-12  Michael Smith  <msmith@fluendo.com>
16520
16521         * gst/gsttypefindfactory.c: (gst_type_find_factory_call_function):
16522           Don't unref factories after calling them.
16523         * libs/gst/base/gsttypefindhelper.c: (gst_type_find_helper):
16524         * plugins/elements/gsttypefindelement.c:
16525         (gst_type_find_element_chain):
16526           Free lists of factories after using them. Fixing typefinding memory
16527           leaks.
16528
16529 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
16530
16531         * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
16532         (gst_plugin_feature_load):
16533           more meaningful debug output
16534         * configure.ac:
16535         * tests/Makefile.am:
16536         * tests/old/examples/Makefile.am:
16537           make make distcheck happy again
16538
16539 2005-12-12  Tim-Philipp Müller  <tim at centricular dot net>
16540
16541         * plugins/elements/gsttypefindelement.c: (stop_typefinding):
16542           Catch the special case where we are operating chain-based,
16543           but the downstream peer pad has no chain function. Emit a
16544           custom error message in this case instead of letting the
16545           core generate one implying that this is some sort of core
16546           bug. It's not, it just means that whatever got plugged
16547           into the pipeline downstream when we announced the type
16548           can only operate pull-based, while our source can only
16549           operate push-based (e.g. http://foo/bar.mov ! qtdemux ! ...)
16550           Error string has not been marked for translation yet, as
16551           it probably needs some more work first.
16552
16553         (gst_type_find_element_get_best_possibility):
16554           Add helper function to find the best of all available
16555           found possibilities that qualify given the min. threshold.
16556
16557         (gst_type_find_element_handle_event):
16558           Fix the case where we get an EOS while still in TYPEFIND
16559           mode (we want to chose the best of all possible types,
16560           not just the first type that happens to be in our unsorted
16561           list of possible types).
16562
16563         (gst_type_find_element_chain):
16564           Make sure we return GST_FLOW_ERROR when we errored out
16565           in stop_typefinding(); also, don't just find the best of
16566           all found type entries and then use the last examined
16567           type entry, but actually use the best entry.
16568
16569 2005-12-12  Tim-Philipp Müller  <tim at centricular dot net>
16570
16571         * tests/examples/typefind/typefind.c: (type_found):
16572         * tests/examples/xml/runxml.c: (xml_loaded):
16573           More gcc4 fixes and a mem leak fix.
16574
16575 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
16576
16577         * tests/examples/xml/createxml.c: (object_saved):
16578           gcc 4 fixes
16579
16580 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
16581
16582         * tests/Makefile.am:
16583           enable the examples even more
16584
16585 2005-12-12  Andy Wingo  <wingo@pobox.com>
16586
16587         * libs/gst/net/gstnettimeprovider.c
16588         (gst_net_time_provider_class_init, gst_net_time_provider_init)
16589         (gst_net_time_provider_set_property)
16590         (gst_net_time_provider_get_property):
16591         API addition: Export "active" as a GObject property.
16592         (gst_net_time_provider_thread): Only respond to time queries if
16593         the time provider is active.
16594
16595         * libs/gst/net/gstnettimeprovider.h: Add an "active" boolean to
16596         NetTimeProvider, preserving binary compat.
16597
16598 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
16599
16600         * tests/examples/controller/audio-example.c: (main):
16601         * tests/examples/launch/Makefile.am:
16602           convert comments again
16603
16604 2005-12-12  Wim Taymans  <wim@fluendo.com>
16605
16606         * libs/gst/base/gstpushsrc.c:
16607         Fix typo.
16608
16609 2005-12-12  Wim Taymans  <wim@fluendo.com>
16610
16611         * docs/libs/gstreamer-libs-sections.txt:
16612         Added new symbol to docs.
16613
16614         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
16615         (gst_base_src_init), (gst_base_src_set_format),
16616         (gst_base_src_default_query), (gst_base_src_query),
16617         (gst_base_src_default_do_seek), (gst_base_src_do_seek),
16618         (gst_base_src_perform_seek), (gst_base_src_send_event),
16619         (gst_base_src_default_event), (gst_base_src_event_handler),
16620         (gst_base_src_set_property), (gst_base_src_get_property),
16621         (gst_base_src_wait), (gst_base_src_do_sync),
16622         (gst_base_src_update_length), (gst_base_src_get_range),
16623         (gst_base_src_check_get_range), (gst_base_src_loop),
16624         (gst_base_src_default_negotiate), (gst_base_src_start),
16625         (gst_base_src_activate_push), (gst_base_src_activate_pull),
16626         (gst_base_src_change_state):
16627         * libs/gst/base/gstbasesrc.h:
16628         Implement seeking to other formats than _BYTES.
16629         Implement more seeking methods correctly.
16630         Doc updates.
16631         Added query vmethod.
16632         Added do_seek vmethod to make life easier for subclasses
16633         when seeking.
16634         API addition: gst_base_src_set_format()
16635
16636 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
16637
16638         * tests/examples/Makefile.am:
16639           added that too
16640
16641 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
16642
16643         * configure.ac:
16644         * docs/random/ensonic/media-device-daemon.txt:
16645         * tests/examples/controller/.cvsignore:
16646         * tests/examples/controller/Makefile.am:
16647         * tests/examples/controller/audio-example.c: (main):
16648         * tests/examples/helloworld/.cvsignore:
16649         * tests/examples/helloworld/Makefile.am:
16650         * tests/examples/helloworld/helloworld.c: (event_loop), (main):
16651         * tests/examples/launch/.cvsignore:
16652         * tests/examples/launch/Makefile.am:
16653         * tests/examples/launch/mp3parselaunch.c: (event_loop), (main):
16654         * tests/examples/metadata/.cvsignore:
16655         * tests/examples/metadata/Makefile.am:
16656         * tests/examples/metadata/read-metadata.c: (message_loop),
16657         (make_pipeline), (print_tag), (main):
16658         * tests/examples/queue/.cvsignore:
16659         * tests/examples/queue/Makefile.am:
16660         * tests/examples/queue/queue.c: (event_loop), (main):
16661         * tests/examples/typefind/.cvsignore:
16662         * tests/examples/typefind/Makefile.am:
16663         * tests/examples/typefind/typefind.c: (type_found), (event_loop),
16664         (main):
16665         * tests/examples/xml/.cvsignore:
16666         * tests/examples/xml/Makefile.am:
16667         * tests/examples/xml/createxml.c: (object_saved), (main):
16668         * tests/examples/xml/runxml.c: (xml_loaded), (event_loop), (main):
16669         * tests/old/examples/Makefile.am:
16670         * tests/old/examples/TODO:
16671         * tests/old/examples/controller/.cvsignore:
16672         * tests/old/examples/controller/Makefile.am:
16673         * tests/old/examples/controller/audio-example.c:
16674         * tests/old/examples/helloworld/.cvsignore:
16675         * tests/old/examples/helloworld/Makefile.am:
16676         * tests/old/examples/helloworld/helloworld.c:
16677         * tests/old/examples/launch/.cvsignore:
16678         * tests/old/examples/launch/Makefile.am:
16679         * tests/old/examples/launch/mp3parselaunch.c:
16680         * tests/old/examples/launch/mp3play:
16681         * tests/old/examples/manual/Makefile.am:
16682         * tests/old/examples/metadata/Makefile.am:
16683         * tests/old/examples/metadata/read-metadata.c:
16684         * tests/old/examples/queue/.cvsignore:
16685         * tests/old/examples/queue/Makefile.am:
16686         * tests/old/examples/queue/queue.c:
16687         * tests/old/examples/typefind/.cvsignore:
16688         * tests/old/examples/typefind/Makefile.am:
16689         * tests/old/examples/typefind/typefind.c:
16690         * tests/old/examples/xml/.cvsignore:
16691         * tests/old/examples/xml/Makefile.am:
16692         * tests/old/examples/xml/createxml.c:
16693         * tests/old/examples/xml/runxml.c:
16694           applied some simple fixing to some examples
16695           re-enabled the working examples
16696
16697 2005-12-12  Wim Taymans  <wim@fluendo.com>
16698
16699         * gst/gstsegment.c: (gst_segment_init),
16700         (gst_segment_set_last_stop), (gst_segment_set_seek),
16701         (gst_segment_set_newsegment), (gst_segment_to_stream_time),
16702         (gst_segment_to_running_time):
16703         Added more documentation.
16704         Make sure the last_pos value is updated properly.
16705         Make sure to_stream_time and to_running_time don't
16706         operate on wrong values.
16707
16708         * tests/check/gst/gstsegment.c: (GST_START_TEST):
16709         Update check.
16710
16711 2005-12-12  Michael Smith  <msmith@fluendo.com>
16712
16713         * plugins/elements/gsttypefindelement.c: (free_entry),
16714         (gst_type_find_element_chain):
16715           Now that we're not leaking factories, make sure we keep references
16716           to them while we need them.
16717
16718 2005-12-12  Thomas Vander Stichele  <thomas at apestaart dot org>
16719
16720         * tests/check/gst/struct_i386.h:
16721           ifdef out the XML structs
16722
16723 2005-12-12  Thomas Vander Stichele  <thomas at apestaart dot org>
16724
16725         * gst/gstvalue.c: (gst_value_transform_double_fraction):
16726           floor is not needed, F is always positive; this obviates the
16727           need for adding -lm when building without libxml
16728
16729 2005-12-12  Wim Taymans  <wim@fluendo.com>
16730
16731         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
16732         Take current playback rate into account when reporting
16733         the position.
16734
16735 2005-12-11  Tim-Philipp Müller  <tim at centricular dot net>
16736
16737         * docs/manual/mime-world.fig:
16738           Let's try this again, this time with a file that is
16739           actually in XFig format.
16740
16741 2005-12-11  Tim-Philipp Müller  <tim at centricular dot net>
16742
16743         * docs/manual/mime-world.fig:
16744           Add audioconvert element to diagram so that it
16745           matches the text and the code (fixes #319526).
16746
16747 2005-12-11  Tim-Philipp Müller  <tim at centricular dot net>
16748
16749         * docs/pwg/building-chainfn.xml:
16750         * docs/pwg/building-pads.xml:
16751         * docs/pwg/building-state.xml:
16752         * docs/pwg/other-source.xml:
16753           Update state change stuff for 0.10 (fixes #322969).
16754
16755 2005-12-11  Tim-Philipp Müller  <tim at centricular dot net>
16756
16757         * docs/manual/advanced-dataaccess.xml:
16758         * docs/manual/appendix-checklist.xml:
16759         * docs/manual/appendix-programs.xml:
16760         * docs/manual/basics-pads.xml:
16761         * docs/manual/highlevel-components.xml:
16762         * docs/manual/manual.xml:
16763           Update for 0.10: s/0.9/0.10/; s/audioscale/audiorsample/;
16764           add converters in front of pipelines; remove curly
16765           brackets for threads stuff, they no longer exist; use
16766           GST_TYPE_FRACTION for framerates; update some pieces of
16767           code to 0.10, but there's plenty more to do.
16768
16769         * docs/manual/appendix-porting.xml:
16770           Expand on asynchroneous state changes; s/0.9/0.10/;
16771           mention disappearance of gst_init_get_popt_table()
16772           (fixes #322916).
16773
16774 2005-12-11  Tim-Philipp Müller  <tim at centricular dot net>
16775
16776         * docs/faq/using.xml:
16777           Spider no longer exists, and neither does gst-launch-ext.
16778           Update examples to use decodebin and playbin and put
16779           converters in front of sinks (fixes #323726).
16780
16781 2005-12-09  Michael Smith  <msmith@fluendo.com>
16782
16783         * plugins/elements/gsttypefindelement.c: (find_peek),
16784         (gst_type_find_element_chain):
16785           Fix leaking element factories in typefinding.
16786           Fix problem where we forgot about a probable type on non-seekable
16787           files, and thus later mis-typefound it.
16788
16789 2005-12-09  Michael Smith  <msmith@fluendo.com>
16790
16791         * common/m4/gst-makecontext.m4:
16792         * common/m4/gst-mcsc.m4:
16793         * configure.ac:
16794         * win32/common/config.h:
16795         * win32/common/config.h.in:
16796           Remove makecontext stuff; not used in 0.10 and causes problems on
16797           HPUX according to bug #322441
16798
16799 2005-12-07  Wim Taymans  <wim@fluendo.com>
16800
16801         * tests/check/Makefile.am:
16802         * tests/check/libs/libsabi.c: (GST_START_TEST), (gstabi_suite),
16803         (main):
16804         * tests/check/libs/struct_i386.h:
16805         Added ABI check for libs
16806
16807 2005-12-07  Wim Taymans  <wim@fluendo.com>
16808
16809         * tests/check/Makefile.am:
16810         And add the struct_i386.h to dist.
16811
16812 2005-12-07  Wim Taymans  <wim@fluendo.com>
16813
16814         * tests/check/Makefile.am:
16815         * tests/check/gst/.cvsignore:
16816         * tests/check/gst/gstabi.c: (GST_START_TEST), (gstabi_suite),
16817         (main):
16818         * tests/check/gst/struct_i386.h:
16819         Added check for ABI compatibility.
16820
16821 2005-12-07  Wim Taymans  <wim@fluendo.com>
16822
16823         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
16824         (gst_fake_src_get_times), (gst_fake_src_create):
16825         Fix broken sync option, fixes #323259
16826
16827 2005-12-07  Wim Taymans  <wim@fluendo.com>
16828
16829         * gst/gstbuffer.c:
16830         Small docs update.
16831
16832         * gst/gstcaps.c: (gst_caps_is_equal):
16833         Don't assert on NULL <--> X. Fixes #323260
16834
16835         * gst/gstminiobject.c: (gst_mini_object_replace):
16836         If we're doing atomic operations, we might just as well use
16837         the proper way to get an atomic pointer.
16838
16839         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
16840         Clean up debugging.
16841
16842 2005-12-07  Michael Smith  <msmith@fluendo.com>
16843
16844         * gst/parse/grammar.y:
16845           Remove handling of { } for threads.
16846
16847 2005-12-06  David Schleef  <ds@schleef.org>
16848
16849         * libs/gst/base/gstbasetransform.c: speling fix.
16850
16851 2005-12-06  Thomas Vander Stichele  <thomas at apestaart dot org>
16852
16853         * docs/libs/tmpl/gstdataprotocol.sgml:
16854         * docs/random/omega/testing/gstobject.c:
16855         * gst/gst.c:
16856         * gst/gstclock.c:
16857         * gst/gstelement.c:
16858         * gst/gstelementfactory.c:
16859         * gst/gsterror.c:
16860         * gst/gstevent.c:
16861         * gst/gstghostpad.c:
16862         * gst/gstinfo.c:
16863         * gst/gstpadtemplate.c:
16864         * gst/gstregistryxml.c:
16865         * gst/gsttaglist.c:
16866         * gst/gsttagsetter.c:
16867         * gst/gsttypefind.c:
16868         * gst/gstvalue.c:
16869         * libs/gst/base/gstbasesrc.c:
16870         * libs/gst/net/gstnetclientclock.c:
16871         * libs/gst/net/gstnettimeprovider.c:
16872         * plugins/elements/gstfakesrc.c:
16873         * plugins/elements/gstfdsrc.c:
16874         * plugins/elements/gstfilesrc.c:
16875         * plugins/elements/gstidentity.c:
16876         * plugins/elements/gstqueue.c:
16877         * plugins/elements/gsttypefindelement.c:
16878         * plugins/indexers/gstfileindex.c:
16879         * plugins/indexers/gstmemindex.c:
16880         * tests/check/gst/gsttag.c:
16881         * tests/old/examples/cutter/cutter.c:
16882         * tests/old/examples/mixer/mixer.c:
16883         * tests/old/examples/xml/runxml.c: (main):
16884         * tests/old/testsuite/caps/normalisation.c:
16885         * tests/old/testsuite/debug/global.c:
16886         * tests/old/testsuite/parse/parse1.c:
16887         * tools/gst-xmlinspect.c:
16888         * win32/common/dirent.c:
16889           expand tabs
16890
16891 === release 0.10.0 ===
16892
16893 2005-12-05  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
16894
16895         * configure.ac:
16896           releasing 0.10.0, "Maroilles"
16897
16898 2005-12-05  Thomas Vander Stichele  <thomas at apestaart dot org>
16899
16900         submitted by: Funda Wang <fundawang@linux.net.cn>
16901
16902         * po/LINGUAS:
16903         * po/zh_CN.po:
16904           added Chinese (Traditional) translation
16905
16906 2005-12-05  Thomas Vander Stichele  <thomas at apestaart dot org>
16907
16908         * docs/gst/gstreamer-sections.txt:
16909         * docs/libs/tmpl/gstdataprotocol.sgml:
16910         * docs/random/thomasvs/TODO:
16911         * gst/gstutils.c:
16912         * gst/gstutils.h:
16913           fix docs
16914
16915 2005-12-05  Andy Wingo  <wingo@pobox.com>
16916
16917         patch by: Wim Taymans <wim@fluendo.com>
16918
16919         * libs/gst/base/gstbasetransform.c
16920         (gst_base_transform_prepare_output_buf)
16921         (gst_base_transform_buffer_alloc):
16922         * plugins/elements/gstqueue.c (gst_queue_bufferalloc): Call
16923         alloc_buffer_and_set_caps.
16924
16925         * gst/gstpad.c (gst_pad_alloc_buffer): Changed to not call
16926         set_caps on the source pad.
16927         (gst_pad_alloc_buffer_and_set_caps): New function, does what
16928         alloc_buffer used to do. Fixes #322874.
16929
16930         * docs/gst/gstreamer-sections.txt: 
16931         * docs/design/part-negotiation.txt: 
16932         * docs/pwg/advanced-negotiation.xml: Update for the alloc_buffer
16933         changes.
16934
16935 2005-12-05  Thomas Vander Stichele  <thomas at apestaart dot org>
16936
16937         patch by: Sebastien Moutte
16938
16939         * win32/MANIFEST:
16940         * win32/common/config.h.in:
16941         * win32/vs6/libgstcontroller.dsp:
16942           win32 build fixes
16943
16944 2005-12-05  Wim Taymans  <wim@fluendo.com>
16945
16946         * gst/gstcaps.c: (gst_caps_is_equal):
16947         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
16948         (gst_fake_src_create):
16949         Back out previous code changes, leave doc updates, file bugs 
16950         instead. 
16951
16952 2005-12-05  Wim Taymans  <wim@fluendo.com>
16953
16954         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
16955         (gst_fake_src_get_times), (gst_fake_src_create):
16956         * plugins/elements/gstfakesrc.h:
16957         Fix broken sync code.
16958
16959 2005-12-05  Wim Taymans  <wim@fluendo.com>
16960
16961         * gst/gstcaps.c: (gst_caps_is_equal):
16962         Comparing NULL against !NULL yields different caps, not a
16963         failure.
16964
16965 2005-12-05  Wim Taymans  <wim@fluendo.com>
16966
16967         * gst/gstpipeline.c:
16968         Fix small typo in docs.
16969
16970 2005-12-05  Andy Wingo  <wingo@pobox.com>
16971
16972         patch by: Thomas Vander Stichele  <thomas at apestaart dot org>
16973
16974         * gst/gst.c (init_post): remove hard-coded 0.9 location for
16975         registries/plugins with a MAJORMINOR one.
16976         (plugin_desc): Rename library from gstcoreleements to
16977         staticelements. Fixes #323222.
16978
16979 2005-12-05  Tim-Philipp Müller  <tim at centricular dot net>
16980
16981         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init):
16982           Change debug category to 'collectpads' from 'collect_pads'
16983           (fixes #323250).
16984
16985 2005-12-04  Thomas Vander Stichele  <thomas at apestaart dot org>
16986
16987         patch by: Sebastien Moutte
16988
16989         * libs/gst/controller/gstinterpolation.c:
16990           use convert function for uint64/double
16991         * win32/vs6/libgstcontroller.dsp:
16992           link to GLib
16993
16994 2005-12-04  Thomas Vander Stichele  <thomas at apestaart dot org>
16995
16996         * gst/gstutils.c: (gst_util_guint64_to_gdouble),
16997         (gst_util_gdouble_to_guint64), (gst_util_uint64_scale_int64):
16998         * gst/gstutils.h:
16999         * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
17000           add tests that seem to show that the guint64/gdouble conversions
17001           are correct.
17002
17003 2005-12-02  Wim Taymans  <wim@fluendo.com>
17004
17005         * gst/gstregistry.c: (gst_registry_add_path):
17006         * gst/gstregistry.h:
17007         * gst/gstregistryxml.c:
17008         Fix docs again.
17009
17010 2005-12-02  Wim Taymans  <wim@fluendo.com>
17011
17012         * gst/gstutils.c: (gst_util_uint64_scale_int64),
17013         (gst_util_uint64_scale_int):
17014         Small cleanup.
17015
17016         * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object):
17017         Add debug log line.
17018
17019         * libs/gst/base/gstbasetransform.c: (gst_base_transform_event):
17020         Add FIXME.
17021
17022 2005-12-02  Thomas Vander Stichele  <thomas at apestaart dot org>
17023
17024         * win32/MANIFEST:
17025         * win32/common/config.h:
17026         * win32/vs6/gstreamer.dsw:
17027         * win32/vs6/libgstcoreelements.dsp:
17028         * win32/vs6/libgstelements.dsp:
17029           renamed core elements plugin
17030
17031 2005-12-02  Thomas Vander Stichele  <thomas at apestaart dot org>
17032
17033         * tools/gst-run.c: (compare_major_minor), (find_highest_version),
17034         (get_candidates):
17035           do piece-wise major/minor comparison so 0.9 < 0.10
17036           also allow .exe extensions for tools
17037
17038 2005-12-02  Michael Smith  <msmith@fluendo.com>
17039
17040         * gst/gst.c:
17041           Escape a % to make gtkdoc happier; bug 322958.
17042
17043 === release 0.9.7 ===
17044
17045 2005-12-01  Thomas Vander Stichele <thomas (at) apestaart (dot) org>
17046
17047         * configure.ac:
17048           releasing 0.9.7, "My Dog Has No Nose"
17049
17050 2005-12-01  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
17051
17052         * common/gst-xmlinspect.py:
17053         * configure.ac:
17054         * docs/libs/tmpl/gstdataprotocol.sgml:
17055         * docs/random/release:
17056         * po/af.po:
17057         * po/az.po:
17058         * po/bg.po:
17059         * po/ca.po:
17060         * po/cs.po:
17061         * po/de.po:
17062         * po/en_GB.po:
17063         * po/fr.po:
17064         * po/it.po:
17065         * po/nb.po:
17066         * po/nl.po:
17067         * po/ru.po:
17068         * po/sq.po:
17069         * po/sr.po:
17070         * po/sv.po:
17071         * po/tr.po:
17072         * po/uk.po:
17073         * po/vi.po:
17074         * win32/common/config.h:
17075         * win32/common/config.h.in:
17076         * win32/vs6/gst_inspect.dsp:
17077         * win32/vs6/gst_launch.dsp:
17078         * win32/vs6/libgstbase.dsp:
17079         * win32/vs6/libgstelements.dsp:
17080         * win32/vs6/libgstreamer.dsp:
17081         * win32/vs7/GStreamer.vcproj:
17082         * win32/vs7/gst-inspect.vcproj:
17083         * win32/vs7/gst-launch.vcproj:
17084         * win32/vs7/libgstbase.vcproj:
17085           bump GST_MAJORMINOR to 0.10
17086           reset libtool version
17087
17088 2005-12-01  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
17089
17090         * po/LINGUAS:
17091         * po/bg.po:
17092           Added Bulgarian translation by (Alexander Shopov)
17093
17094 2005-12-01  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
17095
17096         * tests/check/gst/gstplugin.c:
17097           fix test
17098
17099 2005-12-01  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
17100
17101         * common/gst-xmlinspect.py:
17102         * common/gtk-doc-plugins.mak:
17103         * configure.ac:
17104         * docs/Makefile.am:
17105         * docs/gst/Makefile.am:
17106         * docs/gst/gstreamer-docs.sgml:
17107         * docs/gst/gstreamer-sections.txt:
17108         * docs/gst/gstreamer.types:
17109         * docs/gst/gstreamer.types.in:
17110         * docs/plugins/Makefile.am:
17111         * docs/plugins/gstreamer-plugins-docs.sgml:
17112         * docs/plugins/gstreamer-plugins-sections.txt:
17113         * docs/plugins/gstreamer-plugins.types:
17114         * docs/plugins/inspect.stamp:
17115         * docs/plugins/inspect/plugin-coreelements.xml:
17116         * docs/plugins/inspect/plugin-coreindexers.xml:
17117         * docs/plugins/scanobj-build.stamp:
17118         * gstreamer.spec.in:
17119         * plugins/elements/Makefile.am:
17120         * plugins/elements/gstelements.c:
17121         * plugins/elements/gstfakesink.c:
17122         * plugins/elements/gstfakesrc.c:
17123         * plugins/elements/gstfilesink.c:
17124         * plugins/elements/gstfilesrc.c:
17125         * plugins/elements/gstqueue.c:
17126         * plugins/indexers/Makefile.am:
17127         * plugins/indexers/gstindexers.c:
17128           document core plugins in a separate document just like all the
17129           others
17130           rename these plugins to something starting with core
17131
17132 2005-12-01  Andy Wingo  <wingo@pobox.com>
17133
17134         * gst/gstevent.h (struct _GstEvent): Meant to remove the extra
17135         padding here before, but it missed the commit.
17136
17137 2005-12-01  Thomas Vander Stichele  <thomas at apestaart dot org>
17138
17139         * libs/gst/controller/gstinterpolation.c:
17140           whitespace prices have crashed, we should feel free to use some now
17141           use gst_guint64_to_gdouble
17142
17143 2005-12-01  Thomas Vander Stichele  <thomas at apestaart dot org>
17144
17145         * libs/gst/controller/gstcontroller.c:
17146         * libs/gst/controller/gsthelper.c:
17147         * libs/gst/controller/gstinterpolation.c:
17148         * libs/gst/controller/lib.c:
17149           wrap config.h include
17150
17151 2005-12-01  Thomas Vander Stichele  <thomas at apestaart dot org>
17152
17153         * docs/gst/gstreamer-sections.txt:
17154           update docs
17155
17156 2005-12-01  Thomas Vander Stichele  <thomas at apestaart dot org>
17157
17158         * plugins/elements/gstelements.c:
17159         * plugins/elements/gstfdsink.c: (gst_fd_sink__base_init),
17160         (gst_fd_sink__class_init), (gst_fd_sink__init),
17161         (gst_fd_sink__chain), (gst_fd_sink__set_property),
17162         (gst_fd_sink__get_property):
17163         * plugins/elements/gstfdsink.h:
17164         * plugins/elements/gstfdsrc.c: (_do_init), (gst_fd_src_base_init),
17165         (gst_fd_src_class_init), (gst_fd_src_init), (gst_fd_src_dispose),
17166         (gst_fd_src_update_fd), (gst_fd_src_start), (gst_fd_src_stop),
17167         (gst_fd_src_unlock), (gst_fd_src_set_property),
17168         (gst_fd_src_get_property), (gst_fd_src_create),
17169         (gst_fd_src_is_seekable), (gst_fd_src_get_size),
17170         (gst_fd_src_uri_get_type), (gst_fd_src_uri_get_protocols),
17171         (gst_fd_src_uri_get_uri), (gst_fd_src_uri_set_uri),
17172         (gst_fd_src_uri_handler_init):
17173         * plugins/elements/gstfdsrc.h:
17174         * plugins/elements/gstqueue.c: (gst_queue_get_type):
17175           more anal cleanup
17176
17177 2005-11-30  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
17178
17179         * docs/gst/Makefile.am:
17180         * docs/gst/gstreamer.types.in:
17181         * gst/Makefile.am:
17182           fix the docs build
17183
17184 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
17185
17186         * configure.ac:
17187         * gst/Makefile.am:
17188         * gst/gst.c:
17189         * gst/gstplugin.h:
17190         * gst/gstregistry.h:
17191         * tests/benchmarks/complexity.c:
17192         * tests/benchmarks/mass-elements.c:
17193         * tests/check/Makefile.am:
17194         * tools/Makefile.am:
17195         * tools/gst-inspect.c:
17196         * tools/gst-xmlinspect.c:
17197           various fixes to make
17198           --disable-nls --disable-registry --disable-loadsave
17199           --disable-parse --disable-gst-debug
17200           work and get the core .so down to 360444 bytes after stripping
17201
17202 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
17203
17204         * Makefile.am:
17205         * configure.ac:
17206           descend into tests
17207         * docs/random/thomasvs/TODO:
17208         * tests/Makefile.am:
17209         * tests/README:
17210           add a README
17211
17212 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
17213
17214         * win32/GStreamer.vcproj:
17215         * win32/MANIFEST:
17216         * win32/Makefile:
17217         * win32/Makefile.inspect:
17218         * win32/Makefile.launch:
17219         * win32/Makefile.register:
17220         * win32/README.txt:
17221         * win32/gst-inspect.vcproj:
17222         * win32/gst-launch.vcproj:
17223         * win32/gst-register.vcproj:
17224         * win32/gstelements.vcproj:
17225         * win32/gstgetbits.def:
17226         * win32/gstgetbits.vcproj:
17227         * win32/gstreamer-dbg.def:
17228         * win32/gstreamer.def:
17229         * win32/libgstbase.def:
17230         * win32/libgstbase.vcproj:
17231         * win32/link_oldruntime.c:
17232         * win32/mman.c:
17233         * win32/mman.h:
17234         * win32/mman.inl:
17235         * win32/msvc71.sln:
17236           move even more stuff, win32/ is nice and clean now
17237
17238 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
17239
17240         * libs/gst/control/.cvsignore:
17241         * win32/MANIFEST:
17242         * win32/config.h:
17243         * win32/dirent.c:
17244         * win32/dirent.h:
17245         * win32/gstbytestream.def:
17246         * win32/gstbytestream.vcproj:
17247         * win32/gstconfig.h:
17248         * win32/gstenumtypes.c:
17249         * win32/gstenumtypes.h:
17250         * win32/gstoptimalscheduler.vcproj:
17251         * win32/gstversion.h:
17252         * win32/gtchar.h:
17253         * win32/testsuite/bins.vcproj:
17254         * win32/testsuite/bytestream.vcproj:
17255         * win32/testsuite/caps.vcproj:
17256         * win32/testsuite/cleanup.vcproj:
17257         * win32/testsuite/clock.vcproj:
17258         * win32/testsuite/debug.vcproj:
17259         * win32/testsuite/dlopen.vcproj:
17260         * win32/testsuite/dynparams.vcproj:
17261         * win32/testsuite/elements.vcproj:
17262         * win32/testsuite/ghostpads.vcproj:
17263         * win32/testsuite/indexers.vcproj:
17264         * win32/testsuite/negotiation.vcproj:
17265         * win32/testsuite/parse.vcproj:
17266         * win32/testsuite/plugin.vcproj:
17267         * win32/testsuite/refcounting.vcproj:
17268         * win32/testsuite/schedulers.vcproj:
17269         * win32/testsuite/states.vcproj:
17270         * win32/testsuite/tags.vcproj:
17271         * win32/testsuite/threads.vcproj:
17272           remove old win32 stuff that isn't maintained and should be
17273           reorganized
17274
17275 2005-11-30  Andy Wingo  <wingo@pobox.com>
17276
17277         * configure.ac (GST_PKG_DEPS): Revert previous patch, makes
17278         loading the gst.interfaces python module bork.
17279
17280         * configure.ac (GST_PKG_DEPS): Use gmodule-no-export-2.0.pc,
17281         available since GLib 2.2. Fixes #318031.
17282
17283 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
17284
17285         * Makefile.am:
17286         * check/.cvsignore:
17287         * check/Makefile.am:
17288         * check/elements/.cvsignore:
17289         * check/elements/fakesrc.c:
17290         * check/elements/fdsrc.c:
17291         * check/elements/identity.c:
17292         * check/generic/.cvsignore:
17293         * check/generic/states.c:
17294         * check/gst-libs/.cvsignore:
17295         * check/gst-libs/controller.c:
17296         * check/gst-libs/gdp.c:
17297         * check/gst/.cvsignore:
17298         * check/gst/capslist.h:
17299         * check/gst/gst.c:
17300         * check/gst/gstbin.c:
17301         * check/gst/gstbuffer.c:
17302         * check/gst/gstbus.c:
17303         * check/gst/gstcaps.c:
17304         * check/gst/gstelement.c:
17305         * check/gst/gstevent.c:
17306         * check/gst/gstghostpad.c:
17307         * check/gst/gstiterator.c:
17308         * check/gst/gstmessage.c:
17309         * check/gst/gstminiobject.c:
17310         * check/gst/gstobject.c:
17311         * check/gst/gstpad.c:
17312         * check/gst/gstpipeline.c:
17313         * check/gst/gstplugin.c:
17314         * check/gst/gstsegment.c:
17315         * check/gst/gststructure.c:
17316         * check/gst/gstsystemclock.c:
17317         * check/gst/gsttag.c:
17318         * check/gst/gstutils.c:
17319         * check/gst/gstvalue.c:
17320         * check/net/.cvsignore:
17321         * check/net/gstnetclientclock.c:
17322         * check/net/gstnettimeprovider.c:
17323         * check/pipelines/.cvsignore:
17324         * check/pipelines/cleanup.c:
17325         * check/pipelines/simple_launch_lines.c:
17326         * check/pipelines/stress.c:
17327         * check/states/.cvsignore:
17328         * check/states/sinks.c:
17329         * configure.ac:
17330         * examples/Makefile.am:
17331         * examples/appreader/.cvsignore:
17332         * examples/appreader/Makefile.am:
17333         * examples/appreader/appreader.c:
17334         * examples/controller/.cvsignore:
17335         * examples/controller/Makefile.am:
17336         * examples/controller/audio-example.c:
17337         * examples/cutter/.cvsignore:
17338         * examples/cutter/Makefile.am:
17339         * examples/cutter/cutter.c:
17340         * examples/cutter/cutter.h:
17341         * examples/events/Makefile.am:
17342         * examples/events/seek.c:
17343         * examples/helloworld/.cvsignore:
17344         * examples/helloworld/Makefile.am:
17345         * examples/helloworld/helloworld.c:
17346         * examples/helloworld2/.cvsignore:
17347         * examples/helloworld2/Makefile.am:
17348         * examples/helloworld2/helloworld2.c:
17349         * examples/launch/.cvsignore:
17350         * examples/launch/Makefile.am:
17351         * examples/launch/mp3parselaunch.c:
17352         * examples/launch/mp3play:
17353         * examples/manual/.cvsignore:
17354         * examples/manual/Makefile.am:
17355         * examples/manual/extract.pl:
17356         * examples/metadata/Makefile.am:
17357         * examples/metadata/read-metadata.c:
17358         * examples/mixer/.cvsignore:
17359         * examples/mixer/Makefile.am:
17360         * examples/mixer/mixer.c:
17361         * examples/mixer/mixer.h:
17362         * examples/pingpong/.cvsignore:
17363         * examples/pingpong/Makefile.am:
17364         * examples/pingpong/pingpong.c:
17365         * examples/plugins/.cvsignore:
17366         * examples/plugins/Makefile.am:
17367         * examples/plugins/example.c:
17368         * examples/plugins/example.h:
17369         * examples/pwg/.cvsignore:
17370         * examples/pwg/Makefile.am:
17371         * examples/pwg/extract.pl:
17372         * examples/queue/.cvsignore:
17373         * examples/queue/Makefile.am:
17374         * examples/queue/queue.c:
17375         * examples/queue2/.cvsignore:
17376         * examples/queue2/Makefile.am:
17377         * examples/queue2/queue2.c:
17378         * examples/queue3/.cvsignore:
17379         * examples/queue3/Makefile.am:
17380         * examples/queue3/queue3.c:
17381         * examples/queue4/.cvsignore:
17382         * examples/queue4/Makefile.am:
17383         * examples/queue4/queue4.c:
17384         * examples/retag/.cvsignore:
17385         * examples/retag/Makefile.am:
17386         * examples/retag/retag.c:
17387         * examples/retag/transcode.c:
17388         * examples/thread/.cvsignore:
17389         * examples/thread/Makefile.am:
17390         * examples/thread/thread.c:
17391         * examples/typefind/.cvsignore:
17392         * examples/typefind/Makefile.am:
17393         * examples/typefind/typefind.c:
17394         * examples/xml/.cvsignore:
17395         * examples/xml/Makefile.am:
17396         * examples/xml/createxml.c:
17397         * examples/xml/runxml.c:
17398         * tests/Makefile.am:
17399         * tests/check/Makefile.am:
17400         * testsuite/.cvsignore:
17401         * testsuite/Makefile.am:
17402         * testsuite/Rules:
17403         * testsuite/caps/.cvsignore:
17404         * testsuite/caps/Makefile.am:
17405         * testsuite/caps/app_fixate.c:
17406         * testsuite/caps/audioscale.c:
17407         * testsuite/caps/caps.c:
17408         * testsuite/caps/caps.h:
17409         * testsuite/caps/caps_strings:
17410         * testsuite/caps/compatibility.c:
17411         * testsuite/caps/deserialize.c:
17412         * testsuite/caps/enumcaps.c:
17413         * testsuite/caps/eratosthenes.c:
17414         * testsuite/caps/filtercaps.c:
17415         * testsuite/caps/fixed.c:
17416         * testsuite/caps/fraction-convert.c:
17417         * testsuite/caps/fraction-multiply-and-zero.c:
17418         * testsuite/caps/intersect2.c:
17419         * testsuite/caps/intersection.c:
17420         * testsuite/caps/normalisation.c:
17421         * testsuite/caps/random.c:
17422         * testsuite/caps/renegotiate.c:
17423         * testsuite/caps/sets.c:
17424         * testsuite/caps/simplify.c:
17425         * testsuite/caps/string-conversions.c:
17426         * testsuite/caps/structure.c:
17427         * testsuite/caps/subtract.c:
17428         * testsuite/caps/union.c:
17429         * testsuite/debug/.cvsignore:
17430         * testsuite/debug/Makefile.am:
17431         * testsuite/debug/category.c:
17432         * testsuite/debug/commandline.c:
17433         * testsuite/debug/global.c:
17434         * testsuite/debug/output.c:
17435         * testsuite/debug/printf_extension.c:
17436         * testsuite/dlopen/.cvsignore:
17437         * testsuite/dlopen/Makefile.am:
17438         * testsuite/dlopen/dlopen_gst.c:
17439         * testsuite/dlopen/loadgst.c:
17440         * testsuite/elements/.cvsignore:
17441         * testsuite/elements/Makefile.am:
17442         * testsuite/elements/gst-inspect-check.in:
17443         * testsuite/elements/struct_i386.h:
17444         * testsuite/elements/struct_size.c:
17445         * testsuite/indexers/.cvsignore:
17446         * testsuite/indexers/Makefile.am:
17447         * testsuite/indexers/cache1.c:
17448         * testsuite/indexers/indexdump.c:
17449         * testsuite/parse/.cvsignore:
17450         * testsuite/parse/Makefile.am:
17451         * testsuite/parse/parse1.c:
17452         * testsuite/parse/parse2.c:
17453         * testsuite/plugin/.cvsignore:
17454         * testsuite/plugin/Makefile.am:
17455         * testsuite/plugin/README:
17456         * testsuite/plugin/dynamic.c:
17457         * testsuite/plugin/linked.c:
17458         * testsuite/plugin/loading.c:
17459         * testsuite/plugin/registry.c:
17460         * testsuite/plugin/static.c:
17461         * testsuite/plugin/static2.c:
17462         * testsuite/plugin/testplugin.c:
17463         * testsuite/plugin/testplugin2.c:
17464         * testsuite/plugin/testplugin2_s.c:
17465         * testsuite/plugin/testplugin_s.c:
17466         * testsuite/refcounting/.cvsignore:
17467         * testsuite/refcounting/Makefile.am:
17468         * testsuite/refcounting/bin.c:
17469         * testsuite/refcounting/element.c:
17470         * testsuite/refcounting/element_pad.c:
17471         * testsuite/refcounting/mainloop.c:
17472         * testsuite/refcounting/mem.c:
17473         * testsuite/refcounting/mem.h:
17474         * testsuite/refcounting/object.c:
17475         * testsuite/refcounting/pad.c:
17476         * testsuite/refcounting/sched.c:
17477         * testsuite/refcounting/thread.c:
17478         * testsuite/states/.cvsignore:
17479         * testsuite/states/Makefile.am:
17480         * testsuite/states/bin.c:
17481         * testsuite/states/locked.c:
17482         * testsuite/states/parent.c:
17483         * testsuite/threads/.cvsignore:
17484         * testsuite/threads/159566.c:
17485         * testsuite/threads/159852.c:
17486         * testsuite/threads/Makefile.am:
17487         * testsuite/threads/queue.c:
17488         * testsuite/threads/signals.c:
17489         * testsuite/threads/staticrec.c:
17490         * testsuite/threads/thread.c:
17491         * testsuite/threads/threadb.c:
17492         * testsuite/threads/threadc.c:
17493         * testsuite/threads/threadd.c:
17494         * testsuite/threads/threade.c:
17495         * testsuite/threads/threadf.c:
17496         * testsuite/threads/threadg.c:
17497         * testsuite/threads/threadh.c:
17498         * testsuite/threads/threadi.c:
17499           move all of these under tests
17500
17501 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
17502
17503         * configure.ac:
17504         * tests/Makefile.am:
17505           fix distcheck
17506
17507 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
17508
17509         * docs/gst/gstreamer-sections.txt:
17510         * tests/sched/.cvsignore:
17511         * tests/sched/Makefile.am:
17512         * tests/sched/cases/(fs-fs).xml:
17513         * tests/sched/cases/(fs-i-fs).xml:
17514         * tests/sched/cases/(fs-i-i-fs).xml:
17515         * tests/sched/cases/(fs-i-q[i-fs]).xml:
17516         * tests/sched/dynamic-pipeline.c:
17517         * tests/sched/interrupt1.c:
17518         * tests/sched/interrupt2.c:
17519         * tests/sched/interrupt3.c:
17520         * tests/sched/runtestcases:
17521         * tests/sched/runxml.c:
17522         * tests/sched/sched-stress.c:
17523         * tests/sched/sort.c:
17524         * tests/sched/testcases:
17525         * tests/sched/testcases1.tc:
17526         * tests/seeking/.cvsignore:
17527         * tests/seeking/Makefile.am:
17528         * tests/seeking/seeking1.c:
17529         * tests/threadstate/.cvsignore:
17530         * tests/threadstate/Makefile.am:
17531         * tests/threadstate/test1.c:
17532         * tests/threadstate/test2.c:
17533         * tests/threadstate/threadstate1.c:
17534         * tests/threadstate/threadstate2.c:
17535         * tests/threadstate/threadstate3.c:
17536         * tests/threadstate/threadstate4.c:
17537         * tests/threadstate/threadstate5.c:
17538           remove obsolete tests
17539         * configure.ac:
17540         * tests/bench-complexity.scm:
17541         * tests/bench-mass_elements.scm:
17542         * tests/complexity.c:
17543         * tests/complexity.gnuplot:
17544         * tests/instantiate/.cvsignore:
17545         * tests/instantiate/Makefile.am:
17546         * tests/instantiate/caps.c:
17547         * tests/mass_elements.c:
17548         * tests/network-clock-utils.scm:
17549         * tests/network-clock.scm:
17550         * tests/plot-data:
17551         First pass at cleaning up tests/ dir before moving the rest
17552         Combined with CVS surgery
17553
17554 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
17555
17556         * po/POTFILES.in:
17557           queue has moved, update
17558
17559 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
17560
17561         * docs/gst/gstreamer-sections.txt:
17562           remove double entries from the docs
17563         * gst/gst_private.h:
17564         * gst/gstinfo.c: (_gst_debug_init):
17565           remove the THREAD debug category
17566         * gst/Makefile.am:
17567         * gst/gstqueue.c:
17568         * gst/gstqueue.h:
17569         * docs/gst/gstreamer.types:
17570         * plugins/elements/gstqueue.c: (gst_queue_get_type),
17571         (gst_queue_init), (gst_queue_finalize), (gst_queue_change_state):
17572           completely move queue and fix up debugging categories
17573
17574 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
17575
17576         * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
17577           make initialization portable, using LL is not
17578
17579 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
17580
17581         * win32/common/gstconfig.h:
17582           add large padding
17583
17584 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
17585
17586         * win32/common/libgstreamer.def:
17587           rename symbols; sort base section
17588
17589 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
17590
17591         * gst/gstclock.c: (do_linear_regression):
17592           remove crack non-portable handrolled DEBUG macro
17593
17594 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
17595
17596         * docs/random/release:
17597           update notes
17598         * win32/common/gstenumtypes.c: (register_gst_object_flags),
17599         (gst_object_flags_get_type), (register_gst_bin_flags),
17600         (gst_bin_flags_get_type), (register_gst_buffer_flag),
17601         (gst_buffer_flag_get_type), (register_gst_bus_flags),
17602         (gst_bus_flags_get_type), (register_gst_bus_sync_reply),
17603         (gst_bus_sync_reply_get_type), (register_gst_caps_flags),
17604         (gst_caps_flags_get_type), (register_gst_clock_return),
17605         (gst_clock_return_get_type), (register_gst_clock_entry_type),
17606         (gst_clock_entry_type_get_type), (register_gst_clock_flags),
17607         (gst_clock_flags_get_type), (register_gst_state),
17608         (gst_state_get_type), (register_gst_state_change_return),
17609         (gst_state_change_return_get_type), (register_gst_state_change),
17610         (gst_state_change_get_type), (register_gst_element_flags),
17611         (gst_element_flags_get_type), (register_gst_core_error),
17612         (gst_core_error_get_type), (register_gst_library_error),
17613         (gst_library_error_get_type), (register_gst_resource_error),
17614         (gst_resource_error_get_type), (register_gst_stream_error),
17615         (gst_stream_error_get_type), (register_gst_event_type_flags),
17616         (gst_event_type_flags_get_type), (register_gst_event_type),
17617         (gst_event_type_get_type), (register_gst_seek_type),
17618         (gst_seek_type_get_type), (register_gst_seek_flags),
17619         (gst_seek_flags_get_type), (register_gst_format),
17620         (gst_format_get_type), (register_gst_index_certainty),
17621         (gst_index_certainty_get_type), (register_gst_index_entry_type),
17622         (gst_index_entry_type_get_type),
17623         (register_gst_index_lookup_method),
17624         (gst_index_lookup_method_get_type), (register_gst_assoc_flags),
17625         (gst_assoc_flags_get_type), (register_gst_index_resolver_method),
17626         (gst_index_resolver_method_get_type), (register_gst_index_flags),
17627         (gst_index_flags_get_type), (register_gst_debug_level),
17628         (gst_debug_level_get_type), (register_gst_debug_color_flags),
17629         (gst_debug_color_flags_get_type), (register_gst_iterator_result),
17630         (gst_iterator_result_get_type), (register_gst_iterator_item),
17631         (gst_iterator_item_get_type), (register_gst_message_type),
17632         (gst_message_type_get_type), (register_gst_mini_object_flags),
17633         (gst_mini_object_flags_get_type), (register_gst_pad_link_return),
17634         (gst_pad_link_return_get_type), (register_gst_flow_return),
17635         (gst_flow_return_get_type), (register_gst_activate_mode),
17636         (gst_activate_mode_get_type), (register_gst_pad_direction),
17637         (gst_pad_direction_get_type), (register_gst_pad_flags),
17638         (gst_pad_flags_get_type), (register_gst_pad_presence),
17639         (gst_pad_presence_get_type), (register_gst_pad_template_flags),
17640         (gst_pad_template_flags_get_type), (register_gst_pipeline_flags),
17641         (gst_pipeline_flags_get_type), (register_gst_plugin_error),
17642         (gst_plugin_error_get_type), (register_gst_plugin_flags),
17643         (gst_plugin_flags_get_type), (register_gst_rank),
17644         (gst_rank_get_type), (register_gst_query_type),
17645         (gst_query_type_get_type), (register_gst_tag_merge_mode),
17646         (gst_tag_merge_mode_get_type), (register_gst_tag_flag),
17647         (gst_tag_flag_get_type), (register_gst_task_state),
17648         (gst_task_state_get_type), (register_gst_alloc_trace_flags),
17649         (gst_alloc_trace_flags_get_type),
17650         (register_gst_type_find_probability),
17651         (gst_type_find_probability_get_type), (register_gst_uri_type),
17652         (gst_uri_type_get_type), (register_gst_parse_error),
17653         (gst_parse_error_get_type):
17654         * win32/common/gstenumtypes.h:
17655         * win32/common/gstversion.h:
17656           update visual studio generated files
17657
17658 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
17659
17660         * win32/vs6/libgstbase.dsp:
17661         * win32/vs6/libgstelements.dsp:
17662           update project files for new locations
17663
17664 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
17665
17666         * Makefile.am:
17667           remove some files
17668         * README:
17669           reinstate and update
17670         * DEVEL:
17671         * REQUIREMENTS:
17672           removed
17673         * LICENSE:
17674         * docs/random/LICENSE:
17675           moved to random
17676
17677 2005-11-30  Edward Hervey  <edward@fluendo.com>
17678
17679         * gst/gsttypefind.c: (gst_type_find_register):
17680         * gst/gsttypefind.h:
17681         * gst/gsttypefindfactory.c: (gst_type_find_factory_init),
17682         (gst_type_find_factory_dispose):
17683         * gst/gsttypefindfactory.h:
17684         Fix memory leak in GstTypeFindFactory.
17685
17686 2005-11-29  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
17687
17688         * gst/gst.c:
17689         * plugins/elements/Makefile.am:
17690         * plugins/elements/gstelements.c:
17691         * plugins/elements/gstqueue.c:
17692           move queue from core to the elements plugin
17693
17694 2005-11-29  Andy Wingo  <wingo@pobox.com>
17695
17696         * libs/gst/base/gstbasetransform.h: 
17697         * libs/gst/base/gstbasesrc.h: 
17698         * libs/gst/base/gstbasesink.h: en-LARGE the padding.
17699
17700         * gst/gstconfig.h.in (GST_PADDING_LARGE): New define, the number
17701         of pointers by which to pad very extensible base classes (like the
17702         ones in libs/gst/base).
17703
17704 2005-11-29  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
17705
17706         * docs/gst/gstreamer-docs.sgml:
17707         * docs/gst/gstreamer-sections.txt:
17708         * docs/libs/gstreamer-libs-docs.sgml:
17709         * docs/libs/gstreamer-libs-sections.txt:
17710           moving documentation from core to lib
17711
17712 2005-11-29  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
17713
17714         * check/Makefile.am:
17715         * configure.ac:
17716         * docs/gst/Makefile.am:
17717         * gst/Makefile.am:
17718         * gst/base/.cvsignore:
17719         * gst/base/Makefile.am:
17720         * gst/base/README:
17721         * gst/base/gstadapter.c:
17722         * gst/base/gstadapter.h:
17723         * gst/base/gstbasesink.c:
17724         * gst/base/gstbasesink.h:
17725         * gst/base/gstbasesrc.c:
17726         * gst/base/gstbasesrc.h:
17727         * gst/base/gstbasetransform.c:
17728         * gst/base/gstbasetransform.h:
17729         * gst/base/gstcollectpads.c:
17730         * gst/base/gstcollectpads.h:
17731         * gst/base/gstpushsrc.c:
17732         * gst/base/gstpushsrc.h:
17733         * gst/base/gsttypefindhelper.c:
17734         * gst/base/gsttypefindhelper.h:
17735         * gst/check/Makefile.am:
17736         * gst/check/gstcheck.c:
17737         * gst/check/gstcheck.h:
17738         * gst/net/Makefile.am:
17739         * gst/net/gstnet.h:
17740         * gst/net/gstnetclientclock.c:
17741         * gst/net/gstnetclientclock.h:
17742         * gst/net/gstnettimepacket.c:
17743         * gst/net/gstnettimepacket.h:
17744         * gst/net/gstnettimeprovider.c:
17745         * gst/net/gstnettimeprovider.h:
17746         * libs/gst/Makefile.am:
17747         * libs/gst/base/Makefile.am:
17748         * libs/gst/base/gstbasetransform.c:
17749         * libs/gst/check/Makefile.am:
17750         * plugins/elements/Makefile.am:
17751         * po/POTFILES.in:
17752           CVS surgery + support to move base, check, and net out of gst
17753           and into libs/gst
17754
17755 2005-11-29  Andy Wingo  <wingo@pobox.com>
17756
17757         * gst/gstevent.h (struct _GstEvent): Only one pointer of padding.
17758
17759         * gst/gststructure.h (struct _GstStructure): Only one pointer of
17760         padding.
17761
17762         * gst/gstquery.h (struct _GstQuery): Only one pointer of padding.
17763
17764         * gst/gstpluginfeature.h: Remove a comment in PluginFeature.
17765
17766         * gst/gstplugin.h (struct _GstPluginClass): Add some padding.
17767
17768         * gst/gstobject.h: (struct _GstObject): Only one pointer of
17769         padding; reduces object size by about 30%. We don't expect
17770         anything else to go into gstobject.
17771
17772         * gst/gstminiobject.h (struct _GstMiniObject)
17773         (struct _GstMiniObjectClass): Only one pointer of padding; the
17774         payload is only a pointer and two ints anyway. For the class there
17775         are only two methods as well.
17776         
17777         * gst/gstelement.h (struct _GstElementClass): Removed
17778         the state_changed signal callback, it is not used.
17779
17780 2005-11-29  Thomas Vander Stichele  <thomas at apestaart dot org>
17781
17782         * docs/gst/gstreamer.types:
17783           fix includes, though they are a little dinky
17784
17785 2005-11-29  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
17786
17787         * check/Makefile.am:
17788           look in the right place for elements, a lot more chance of
17789           success
17790         * gst/Makefile.am:
17791           remove indexers and elements subdirs
17792         * plugins/Makefile.am:
17793           make indexers conditional
17794
17795 2005-11-29  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
17796
17797         * Makefile.am:
17798         * configure.ac:
17799         * plugins/elements/Makefile.am:
17800         * plugins/elements/gstcapsfilter.c:
17801         * plugins/elements/gstfilesink.c:
17802         * plugins/elements/gstfilesrc.c:
17803         * plugins/elements/gstidentity.c:
17804         * plugins/indexers/Makefile.am:
17805           do CVS surgery and related build fixery to move elements
17806           and indexers in a new gstreamer/plugins directory, out of the
17807           gst/ directory
17808
17809 2005-11-29  Andy Wingo  <wingo@pobox.com>
17810
17811         * check/Makefile.am:
17812         * pkgconfig/gstreamer-net-uninstalled.pc.in:
17813         * pkgconfig/gstreamer-net.pc.in:
17814         * gst/net/Makefile.am: Rename gstnet-tempname to gstnet. Fixes
17815         #322257.
17816
17817 2005-11-29  Thomas Vander Stichele  <thomas at apestaart dot org>
17818
17819         * tools/Makefile.am:
17820         * tools/gst-complete.1.in:
17821         * tools/gst-complete.c:
17822         * tools/gst-compprep.1.in:
17823         * tools/gst-compprep.c:
17824           removing -compprep and -complete
17825
17826 2005-11-29  Thomas Vander Stichele  <thomas at apestaart dot org>
17827
17828         * gst/gstevent.c: (gst_event_new_new_segment),
17829         (gst_event_parse_new_segment):
17830         * gst/gstevent.h:
17831           fix #320529 - clean up new_segment API and structure.
17832           Let's hope everyone was using the methods, and not the structure.
17833
17834 2005-11-29  Edward Hervey  <edward@fluendo.com>
17835
17836         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
17837         (gst_base_sink_event), (gst_base_sink_do_sync),
17838         (gst_base_sink_activate_pull), (gst_base_sink_change_state):
17839         Properly handle non GST_FORMAT_TIME segment
17840         * gst/elements/gstidentity.c: (gst_identity_transform_ip):
17841         Properly handle non GST_FORMAT_TIME segment
17842         * gst/gstsegment.c:
17843         This function is valid if the accumulator is 0 and the format
17844         is different from the requested format.
17845         
17846 2005-11-29  Jan Schmidt  <thaytan@mad.scientist.com>
17847
17848         * docs/gst/gstreamer-sections.txt:
17849         Add gst_query_new_seeking and gst_query_parse_seeking to the
17850         docs.
17851
17852 2005-11-29  Jan Schmidt  <thaytan@mad.scientist.com>
17853
17854         * gst/base/gstbasetransform.c: (gst_base_transform_buffer_alloc):
17855           Treat a pad alloc with new caps the same as if we were not
17856           negotiated, in order to allow a changing upstream output
17857           to produce a new format of data.
17858
17859 2005-11-29  Edward Hervey  <edward@fluendo.com>
17860
17861         * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
17862         (gst_base_transform_event), (gst_base_transform_eventfunc):
17863         The event virtual method is now properly implemented, with a default
17864         handler
17865         Sub classes should call the parent_class event method. They should
17866         return FALSE if they had a problem handling the given event, or don't
17867         want GstBaseTransform to send that even downstream
17868         * gst/elements/gstidentity.c: (gst_identity_class_init),
17869         (gst_identity_init), (gst_identity_event),
17870         (gst_identity_transform_ip), (gst_identity_set_property),
17871         (gst_identity_get_property):
17872         * gst/elements/gstidentity.h:
17873         Added the single-segment boolean property.
17874         If set to TRUE, it will output a single segment of data, starting from
17875         0, will eat up all incoming newsegment, and modify the timestamp of the
17876         buffers accordingly
17877
17878 2005-11-29  Tim-Philipp Müller  <tim at centricular dot net>
17879
17880         * gst/gstghostpad.c: (gst_proxy_pad_get_target):
17881           Don't ref NULL target pad (#322751). Improve docs.
17882
17883 2005-11-29  Michael Smith  <msmith@fluendo.com>
17884
17885         * gst/gstregistryxml.c: (load_plugin):
17886           Don't crash if we failed to load a feature from a plugin. 
17887
17888 2005-11-28  Thomas Vander Stichele  <thomas at apestaart dot org>
17889
17890         * check/pipelines/simple_launch_lines.c: (setup_pipeline),
17891         (GST_START_TEST):
17892           use more check API and less GLib API
17893
17894 2005-11-28  Thomas Vander Stichele  <thomas at apestaart dot org>
17895
17896         * Makefile.am:
17897           don't run checks if we don't have check
17898         * common/check.mak:
17899           remove the registry when running make torture
17900         * docs/gst/gstreamer-sections.txt:
17901           remove second multiply
17902         * gst/gstqueue.c: (gst_queue_loop):
17903           fix a compile warning when disabling debug
17904
17905 2005-11-28  Jan Schmidt  <thaytan@mad.scientist.com>
17906
17907         * gst/gstinfo.h:
17908         Hey! Let's print the pad name if the pointer != NULL instead
17909         of when it == NULL :-)
17910
17911 2005-11-28  Wim Taymans  <wim@fluendo.com>
17912
17913         * check/gst/gstutils.c: (GST_START_TEST):
17914         Updated check, add some scaling accuracy checking code.
17915
17916         * gst/gstutils.c: (gst_util_div128_64),
17917         (gst_util_uint64_scale_int64), (gst_util_uint64_scale),
17918         (gst_util_uint64_scale_int):
17919         Fix 6 times faster division code. Optimize for common 
17920         1/1 and less common X/1 cases.
17921
17922 2005-11-28  Wim Taymans  <wim@fluendo.com>
17923
17924         * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
17925         More checks.
17926
17927         * gst/gstclock.c: (gst_clock_finalize), (gst_clock_set_master),
17928         (do_linear_regression), (gst_clock_add_observation):
17929         Cleanups.
17930         Release lock when the clock cannot be slaved.
17931         Catch the case where the regression returned an invalid denominator.
17932
17933         * gst/gstutils.c: (gst_util_div128_64_iterate),
17934         (gst_util_div128_64), (gst_util_uint64_scale_int64),
17935         (gst_util_uint64_scale), (gst_util_uint64_scale_int):
17936         Add protentially more performant non-iterative 128/64 divide function
17937         that unfortunatly does not work yet.
17938         Shortcut the trivial 0/X = 0 case.
17939         Remove the warnings on overflow.
17940
17941 2005-11-28  Thomas Vander Stichele  <thomas at apestaart dot org>
17942
17943         * gst/gstplugin.c: (gst_plugin_register_func):
17944           everything causing a plugin not to load should be at least a WARNING
17945
17946 2005-11-28  Stefan Kost  <ensonic@users.sf.net>
17947
17948         * docs/random/ensonic/dparams.txt:
17949           some TODOs for the next dev cycle
17950         * libs/gst/controller/gstcontroller.c:
17951         (gst_controlled_property_set_interpolation_mode),
17952         (gst_controlled_property_new):
17953         * libs/gst/controller/gstcontroller.h:
17954           use base type to assign acccessor functions
17955
17956 2005-11-28  Jan Schmidt  <thaytan@mad.scientist.com>
17957
17958         * check/Makefile.am:
17959         Oops, that should have been top_srcdir
17960
17961 2005-11-28  Jan Schmidt  <thaytan@mad.scientist.com>
17962
17963         * check/Makefile.am:
17964         * check/elements/fdsrc.c: (GST_START_TEST):
17965         Use a cmdline define to specify the location of a file to use for
17966         testing, to avoid breaking distcheck.
17967
17968 2005-11-28  Andy Wingo  <wingo@pobox.com>
17969
17970         * gst/gstpad.c (fixate_value): Use array functions for arrays.
17971
17972 2005-11-28  Edward Hervey  <edward@fluendo.com>
17973
17974         * tools/gst-launch.c: (main):
17975         Clarify the output strings, makes it easier to translate.
17976         Fixes #322626
17977
17978 2005-11-28  Thomas Vander Stichele  <thomas at apestaart dot org>
17979
17980         * gst/Makefile.am:
17981           don't try and build net if we don't even have <sys/socket.h>
17982
17983 2005-11-27  Jan Schmidt  <thaytan@mad.scientist.com>
17984
17985         * check/Makefile.am:
17986         * check/elements/fdsrc.c: (event_func), (setup_fdsrc),
17987         (cleanup_fdsrc), (GST_START_TEST), (fdsrc_suite), (main):
17988           Add tests for fdsrc seekability
17989
17990         * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init),
17991         (gst_fdsrc_init), (gst_fdsrc_update_fd), (gst_fdsrc_start),
17992         (gst_fdsrc_set_property), (gst_fdsrc_is_seekable),
17993         (gst_fdsrc_get_size), (gst_fdsrc_uri_set_uri):
17994         * gst/elements/gstfdsrc.h:
17995           fdsrc should not be a 'live' source.
17996           Implement seeking on seekable fd's.
17997
17998         * gst/gstquery.c: (gst_query_new_seeking),
17999         (gst_query_parse_seeking):
18000         * gst/gstquery.h:
18001           Implement SEEKING query functions: 
18002             *_new_seeking and *_parse_seeking
18003
18004 2005-11-27  Stefan Kost  <ensonic@users.sf.net>
18005
18006         * gst/gstelement.c: (gst_element_dispose):
18007           don't loop forever
18008
18009         * gst/gstiterator.c:
18010         * gst/gststructure.c:
18011           doc fixes
18012
18013         * libs/gst/controller/gstcontroller.c:
18014         (gst_controlled_property_set_interpolation_mode):
18015         * libs/gst/controller/gstcontroller.h:
18016         * libs/gst/controller/gstinterpolation.c:
18017         (interpolate_none_get_enum_value_array):
18018           support controlling enums
18019
18020 2005-11-27  Tim-Philipp Müller  <tim at centricular dot net>
18021
18022         * gst/gstvalue.c:
18023           Improve documentation for gst_value_union().
18024
18025         * gst/gstvalue.h:
18026           Change return value for union, intersect and subtract functions
18027           from gint to gboolean.
18028
18029 2005-11-27  Tim-Philipp Müller  <tim at centricular dot net>
18030
18031         * gst/gstvalue.c: (gst_value_serialize_any_list),
18032         (gst_value_transform_any_list_string),
18033         (gst_value_deserialize_list), (gst_value_deserialize_array),
18034         (gst_value_set_int_range), (gst_value_deserialize_int_range),
18035         (gst_value_set_double_range), (gst_value_deserialize_double_range),
18036         (gst_value_set_fraction_range_full),
18037         (gst_value_deserialize_fraction_range),
18038         (gst_value_deserialize_caps), (gst_value_deserialize_buffer),
18039         (gst_value_deserialize_boolean),
18040         (gst_value_deserialize_int_helper), (gst_value_deserialize_double),
18041         (gst_value_serialize_float), (gst_value_deserialize_float),
18042         (gst_string_wrap), (gst_value_deserialize_string),
18043         (gst_value_deserialize_enum), (gst_value_deserialize_flags),
18044         (gst_value_union_int_range_int_range),
18045         (gst_value_intersect_int_range_int_range),
18046         (gst_value_intersect_double_range_double_range),
18047         (gst_value_create_new_range), (gst_value_subtract_int_range_int),
18048         (gst_value_subtract_int_range_int_range),
18049         (gst_value_subtract_double_double_range),
18050         (gst_value_subtract_double_range_double_range),
18051         (gst_value_deserialize_fraction):
18052         * gst/gstvalue.h:
18053           Use gint, gdouble and gchar in our API instead of int, double and
18054           char (and make usage in gstvalue.c more consistent).
18055
18056 2005-11-27  Thomas Vander Stichele  <thomas at apestaart dot org>
18057
18058         * check/Makefile.am:
18059         * libs/gst/controller/Makefile.am:
18060         * libs/gst/dataprotocol/Makefile.am:
18061           fix up Makefile.am and remove GST_ENABLE_NEW
18062
18063 2005-11-27  Thomas Vander Stichele  <thomas at apestaart dot org>
18064
18065         * configure.ac:
18066         * gst/Makefile.am:
18067         * gst/base/Makefile.am:
18068         * gst/check/Makefile.am:
18069         * gst/elements/Makefile.am:
18070         * gst/net/Makefile.am:
18071           update LDFLAGS use some more
18072
18073 2005-11-27  Thomas Vander Stichele  <thomas at apestaart dot org>
18074
18075         * common/m4/gst-doc.m4:
18076           Fixes #312589
18077
18078 2005-11-26  Edward Hervey  <edward@fluendo.com>
18079
18080         * gst/gstpluginfeature.c: (gst_plugin_feature_load):
18081         This shouldn't issue a g_warning since it returns NULL if it
18082         couldn't find the plugin, and all functions using this behave
18083         properly on a NULL return. Switching to a GST_WARNING.
18084
18085 2005-11-25  Jan Schmidt  <thaytan@mad.scientist.com>
18086
18087         * gst/gstbin.c: (gst_bin_handle_message_func):
18088         Don't leak clock messages.
18089
18090 2005-11-25  Wim Taymans  <wim@fluendo.com>
18091
18092         * gst/gstutils.c: (gst_util_uint64_scale_int64),
18093         (gst_util_uint64_scale_int):
18094         Optimisations, remove unneeded vars.
18095
18096 2005-11-25  Wim Taymans  <wim@fluendo.com>
18097
18098         * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
18099         Added more checks for the high precision uint64 cases.
18100
18101         * gst/gstutils.c: (gst_util_uint64_scale_int64),
18102         (gst_util_uint64_scale), (gst_util_uint64_scale_int):
18103         Implement high precision (guint64 * guint64) / guint64.
18104
18105 2005-11-24  Wim Taymans  <wim@fluendo.com>
18106
18107         * gst/base/gstbasesrc.c: (gst_base_src_query):
18108         Fix wrong percentage query.
18109
18110         * gst/gstutils.c: (gst_util_uint64_scale),
18111         (gst_util_uint64_scale_int):
18112         Add some more common cases that can be handled 
18113         efficiently to _scale.
18114
18115 2005-11-24  Thomas Vander Stichele  <thomas at apestaart dot org>
18116
18117         * check/gst/gstminiobject.c: (thread_ref), (GST_START_TEST),
18118         (gst_mini_object_suite):
18119           don't use check calls from threads; check probably isn't
18120           threadsafe and using a lock to make it threadsafe would
18121           defeat the purpose of this check
18122         * gst/check/gstcheck.c:
18123         * gst/check/gstcheck.h:
18124           use GST_DEBUG some more
18125
18126 2005-11-24  Wim Taymans  <wim@fluendo.com>
18127
18128         * gst/gstutils.c: (gst_util_uint64_scale),
18129         (gst_util_uint64_scale_int):
18130         Chain trivial case to _scale_int.
18131
18132 2005-11-24  Wim Taymans  <wim@fluendo.com>
18133
18134         * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
18135         Added test for scaling.
18136
18137         * gst/gstclock.h:
18138         Small doc fix.
18139
18140         * gst/gstutils.c: (gst_util_uint64_scale_int):
18141         Implemented high precision scaling code.
18142
18143 2005-11-24  Stefan Kost  <ensonic@users.sf.net>
18144
18145         * gst/gstinfo.h:
18146           do not crash on pad==NULL
18147
18148 2005-11-24  Thomas Vander Stichele  <thomas at apestaart dot org>
18149
18150         Patch by: Stefan Kost
18151
18152         * common/gtk-doc.mak:
18153         * docs/gst/Makefile.am:
18154         * docs/libs/Makefile.am:
18155           Fix distcheck issues for the libraries docs build
18156           Closes #319599.
18157
18158 2005-11-24  Michael Smith <msmith@fluendo.com>
18159
18160         * docs/manual/basics-helloworld.xml:
18161           Fix bug #315027: memory leak in example code in docs.
18162
18163 2005-11-24  Michael Smith <msmith@fluendo.com>
18164
18165         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
18166           Unlock the PREROLL_LOCK in a failure case.
18167
18168 2005-11-24  Wim Taymans  <wim@fluendo.com>
18169
18170         * docs/gst/gstreamer-sections.txt:
18171         * gst/base/gstadapter.h:
18172         * gst/base/gstbasesink.h:
18173         * gst/base/gstbasesrc.h:
18174         * gst/base/gstbasetransform.h:
18175         * gst/base/gstpushsrc.h:
18176         * gst/elements/gstfakesink.h:
18177         * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type):
18178         * gst/elements/gstfakesrc.h:
18179         * gst/elements/gstfilesink.h:
18180         * gst/elements/gstfilesrc.h:
18181         * gst/gst.c:
18182         * gst/gstbin.c:
18183         * gst/gstbuffer.c: (_gst_buffer_copy):
18184         * gst/gstbus.h:
18185         * gst/gstcaps.c:
18186         * gst/gstchildproxy.c:
18187         * gst/gstclock.c:
18188         * gst/gstelement.c:
18189         * gst/gstelementfactory.c:
18190         * gst/gstelementfactory.h:
18191         * gst/gstevent.c:
18192         * gst/gstghostpad.h:
18193         * gst/gstindex.h:
18194         * gst/gstinterface.h:
18195         * gst/gstminiobject.c:
18196         * gst/gstminiobject.h:
18197         * gst/gstpad.c:
18198         * gst/gstpad.h:
18199         * gst/gstpadtemplate.h:
18200         * gst/gstpipeline.h:
18201         * gst/gstpluginfeature.h:
18202         * gst/gstquery.h:
18203         * gst/gstqueue.h:
18204         * gst/gsttaglist.c:
18205         * gst/gsttaglist.h:
18206         * gst/gsttagsetter.c:
18207         * gst/gsttagsetter.h:
18208         * gst/gsttrace.c:
18209         * gst/gsttrace.h:
18210         * gst/gsttypefind.h:
18211         * gst/gsturi.h:
18212         * gst/gstvalue.c:
18213         * gst/net/gstnetclientclock.c:
18214         * gst/net/gstnetclientclock.h:
18215         * gst/net/gstnettimepacket.c:
18216         * gst/net/gstnettimeprovider.c:
18217         * gst/net/gstnettimeprovider.h:
18218         Doc fixes.
18219
18220 2005-11-23  Thomas Vander Stichele  <thomas at apestaart dot org>
18221
18222         * configure.ac: back to HEAD
18223
18224 === release 0.9.6 ===
18225
18226 2005-11-23  Thomas Vander Stichele <thomas at apestaart dot org>
18227
18228         * configure.ac:
18229           releasing 0.9.6, "Always On Time"
18230
18231 2005-11-23  Wim Taymans  <wim@fluendo.com>
18232
18233         * docs/gst/gstreamer-sections.txt:
18234         * gst/glib-compat.c:
18235         * gst/gsttagsetter.c:
18236         * gst/gstvalue.c:
18237         * gst/net/gstnetclientclock.c:
18238         * gst/net/gstnettimepacket.h:
18239         Doc updates.
18240
18241 2005-11-23  Thomas Vander Stichele  <thomas at apestaart dot org>
18242
18243         * docs/faq/using.xml:
18244         * docs/libs/tmpl/gstcontrol.sgml:
18245         * docs/manual/advanced-dparams.xml:
18246         * docs/manual/appendix-checklist.xml:
18247         * docs/manual/basics-elements.xml:
18248         * docs/pwg/other-source.xml:
18249         * docs/random/moving-plugins:
18250         * gst/gstpad.c:
18251         * tools/gst-launch.1.in:
18252           remove mentions of sinesrc
18253
18254 2005-11-23  Michael Smith <msmith@fluendo.com>
18255
18256         * docs/gst/gstreamer-sections.txt:
18257           Update for new API and API changes.
18258         * gst/gstobject.h:
18259           Documentation fix: GST_TRYLOCK -> GST_OBJECT_TRYLOCK
18260         * gst/gstvalue.c:
18261           Documentation typo fix.
18262         * gst/net/gstnettimepacket.c:
18263           Documentation fixes for arguments.
18264
18265 2005-11-23  Jan Schmidt  <thaytan@mad.scientist.com>
18266
18267         * gst/gststructure.c: (gst_structure_get_fraction),
18268         (gst_structure_parse_value),
18269         (gst_structure_fixate_field_nearest_fraction):
18270         * gst/gststructure.h:
18271         * gst/gstutils.c: (gst_util_uint64_scale_int):
18272         * gst/gstutils.h:
18273         * scripts/update-funcnames:
18274         API Changes. 
18275         Rename gst_util_clock_time_scale to gst_util_uint64_scale_int
18276         Make gst_structure_fixate_field_nearest_fraction take a numerator
18277         and denominator argument instead of a GValue
18278         add gst_structure_get_fraction helper function.
18279
18280 2005-11-23  Wim Taymans  <wim@fluendo.com>
18281
18282         * docs/design/part-TODO.txt:
18283         Update TODO.
18284
18285         * gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
18286         * gst/net/gstnetclientclock.h:
18287         Use parent fields for timeout and window_size.
18288
18289 2005-11-23  Andy Wingo  <wingo@pobox.com>
18290
18291         * check/net/gstnetclientclock.c (test_functioning): Adjust to
18292         rate_num/rate_denom change.
18293
18294         * gst/net/gstnetclientclock.c
18295         (gst_net_client_clock_observe_times): Take the SLAVE_LOCK not the
18296         OBJECT_LOCK. Don't call add_observation with the lock.
18297
18298         * gst/gstclock.c (gst_clock_init): Initialize the rate as a
18299         fraction.
18300         (gst_clock_adjust_unlocked): Adjust using uint64_scale and the
18301         rate fraction.
18302         (gst_clock_set_calibration, gst_clock_get_calibration): Change to
18303         deal with rate as a fraction whose numerator and denominator are
18304         GstClockTime values.
18305         (gst_clock_set_master): Only use the OBJECT_LOCK to set the
18306         master; the other fields are protected by the SLAVE_LOCK.
18307         (do_linear_regression): Note that this must be called with the
18308         SLAVE_LOCK.
18309         (gst_clock_add_observation): Take the SLAVE_LOCK, not the
18310         OBJECT_LOCK. Call set_calibration instead of touching the
18311         variables directly.
18312         (gst_clock_set_property, gst_clock_get_property): Protect
18313         master/slave parameters with the SLAVE_LOCK.
18314
18315         * gst/gstclock.h (GstClock): Remove rate, add rate_numerator and
18316         rate_denominator. PR3C1S3. Add a new lock, the SLAVE_LOCK, and
18317         note that all of the instance variables that add_observation and
18318         the set_master functions use are protected by that lock and not
18319         the OBJECT_LOCK.
18320         (GST_CLOCK_SLAVE_LOCK, GST_CLOCK_SLAVE_UNLOCK): New macros.
18321
18322         * gst/gstclock.c (gst_clock_add_observation): No longer requires
18323         the caller to take the object lock.
18324
18325 2005-11-23  Wim Taymans  <wim@fluendo.com>
18326
18327         * gst/gsterror.c: (_gst_core_errors_init):
18328         * gst/gsterror.h:
18329         Add error for clock stuff.
18330
18331         * gst/gstpipeline.c: (gst_pipeline_change_state),
18332         (gst_pipeline_set_clock):
18333         Post clock error when clock cannot be used in a pipeline.
18334
18335 2005-11-23  Stefan Kost  <ensonic@users.sf.net>
18336
18337         * docs/gst/gstreamer-sections.txt:
18338           make two symbols from gstinfo private for the docs
18339         * gst/base/gstcollectpads.h:
18340         * gst/gstutils.c:
18341           fix doc typos, update docs
18342
18343 2005-11-22  Wim Taymans  <wim@fluendo.com>
18344
18345         * gst/base/gstbasesink.c: (gst_base_sink_class_init),
18346         (gst_base_sink_wait), (gst_base_sink_do_sync),
18347         (gst_base_sink_handle_event):
18348         * gst/base/gstbasesink.h:
18349         No need to store the clock, the parent element class already
18350         has it.
18351
18352         * gst/gstbin.c: (gst_bin_set_clock_func), (gst_bin_add_func):
18353         Updates for clock_set returning a gboolean
18354
18355         * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_id_wait),
18356         (gst_clock_id_wait_async), (gst_clock_class_init),
18357         (gst_clock_init), (gst_clock_finalize),
18358         (gst_clock_get_internal_time), (gst_clock_get_time),
18359         (gst_clock_slave_callback), (gst_clock_set_master),
18360         (gst_clock_get_master), (do_linear_regression),
18361         (gst_clock_add_observation), (gst_clock_set_property),
18362         (gst_clock_get_property):
18363         * gst/gstclock.h:
18364         Implement master/slave. When setting a clock as a slave, a
18365         periodic timeout is scheduled to sample master and slave times.
18366         Then the slave clock is recalibrated to match offset and rate
18367         of the master clock.
18368         Update logging a bit.
18369         Add flag so that a clock can state that is cannot be slaved to
18370         another clock.
18371
18372         * gst/gstelement.c: (gst_element_set_clock):
18373         * gst/gstelement.h:
18374         The set clock returns a gboolean for when an element cannot
18375         deal with the selected clock in the pipeline. 
18376
18377         * gst/gstpipeline.c: (gst_pipeline_change_state),
18378         (gst_pipeline_set_clock):
18379         * gst/gstpipeline.h:
18380         Handle the case where the selected clock cannot be set on
18381         the pipeline.
18382
18383         * gst/net/gstnetclientclock.c: (gst_net_client_clock_class_init),
18384         (gst_net_client_clock_init), (gst_net_client_clock_finalize),
18385         (gst_net_client_clock_set_property),
18386         (gst_net_client_clock_get_property),
18387         (gst_net_client_clock_observe_times):
18388         * gst/net/gstnetclientclock.h:
18389         Use regression code in GstClock parent, remove duplicated
18390         functionality.
18391
18392 2005-11-22  Michael Smith <msmith@fluendo.com>
18393
18394         * gst/gstutils.c: (gst_util_clock_time_scale):
18395         * gst/gstutils.h:
18396         * docs/gst/gstreamer-sections.txt:
18397           Rename method to have extra underscore.
18398
18399 2005-11-22  Thomas Vander Stichele  <thomas at apestaart dot org>
18400
18401         * gst/elements/Makefile.am:
18402         * gst/elements/gstfakesink.c: (gst_fake_sink_state_error_get_type):
18403         * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
18404         (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type),
18405         (gst_fake_src_init), (gst_fake_src_prepare_buffer),
18406         (gst_fake_src_alloc_buffer), (gst_fake_src_get_size):
18407         * gst/elements/gstfakesrc.h:
18408         * gst/gstqueue.c: (queue_leaky_get_type):
18409           correctly fix GEnumValues so that nick is the short lowercase
18410           dashed tag
18411         * tools/gst-inspect.c: (print_element_properties_info):
18412           also show the nick, since it's useful to use from parse_launch
18413           syntax
18414           Fixes #322139
18415
18416 2005-11-22  Michael Smith <msmith@fluendo.com>
18417
18418         * gst/gstutils.c: (gst_util_clocktime_scale):
18419         * gst/gstutils.h:
18420         * docs/gst/gstreamer-sections.txt:
18421           Add util method for scaling a clocktime by a fraction. Useful 
18422           implementation is left as an exercise for the reader.
18423
18424 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
18425
18426         * gst/gstvalue.c: (gst_value_collect_fraction_range):
18427         If needed, allocate storage in the destination value during
18428         collection.
18429
18430 2005-11-22  Edward Hervey  <edward@fluendo.com>
18431
18432         * docs/gst/gstreamer-sections.txt:
18433         * gst/Makefile.am:
18434         * gst/gst.h:
18435         * gst/gsturitype.c:
18436         * gst/gsturitype.h:
18437         * gst/gstutils.c: (gst_util_set_object_arg):
18438         * tools/gst-compprep.c: (main):
18439         * tools/gst-inspect.c: (print_element_properties_info):
18440         Removed GstURI, closes bug #321061
18441
18442 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
18443
18444         * check/gst/gststructure.c: (GST_START_TEST):
18445         * gst/gststructure.c: (gst_structure_parse_value):
18446           Oops, broke automatic string type parsing.
18447           Add a test to catch it in future.
18448
18449 2005-11-22  Andy Wingo  <wingo@pobox.com>
18450
18451         * gst/gsttagsetter.c (gst_tag_setter_get_tag_merge_mode) 
18452         (gst_tag_setter_set_tag_merge_mode, gst_tag_setter_get_tag_list):
18453         Actually rename the function implementations. Grr.
18454
18455 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
18456
18457         * check/gst/capslist.h:
18458           Comment test cases
18459         * check/gst/gststructure.c: (GST_START_TEST),
18460         (gst_structure_suite):
18461           Test automatic value type detection in gst_structure_from_string.
18462         * gst/gststructure.c: (gst_structure_parse_value):
18463           Add fraction as a type we try and guess automatically in
18464           caps/structure strings.
18465
18466 2005-11-22  Andy Wingo  <wingo@pobox.com>
18467
18468         patch by: Torsten Schoenfeld <kaffeetisch gmx de>
18469
18470         * gst/gsttagsetter.h:
18471         * gst/gsttagsetter.c: (gst_tag_setter_merge_tags)
18472         (gst_tag_setter_add_tags, gst_tag_setter_add_tag_values)
18473         (gst_tag_setter_add_tag_valist)
18474         (gst_tag_setter_add_tag_valist_values): Renamed from _merge, _add,
18475         _add_values, _add_valist, and _add_valist_values. Since this is an
18476         interface the function suffixes should be more explicit so
18477         language binding don't end up with element.add_valist ->
18478         gst_tag_setter_add_valist, for example. Fixes #322069.
18479
18480 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
18481
18482         * check/gst/gstcaps.c: (GST_START_TEST):
18483           Extend caps string tests to check that a caps to string
18484           conversion is reversible and produces the same caps.
18485
18486         * gst/gststructure.c: (gst_structure_value_get_generic_type):
18487           Output "fraction" as the generic type fraction range, so caps
18488           serialisation and deserialisation works.
18489         * check/gst/capslist.h:
18490         * gst/gstvalue.c: (gst_value_deserialize_fraction):
18491           Support 'MIN' and 'MAX' for deserialising fractions.
18492
18493 2005-11-22  Andy Wingo  <wingo@pobox.com>
18494
18495         * gst/gstevent.h (gst_event_new_new_segment)
18496         (gst_event_parse_new_segment, gst_event_new_buffer_size)
18497         (gst_event_parse_buffer_size, gst_ghost_pad_new_no_target):
18498         Renamed from *_newsegment, *_buffersize, *_notarget.
18499
18500         * scripts/update-funcnames: New script, performs the changes
18501         listed above.
18502
18503 2005-11-22  Wim Taymans  <wim@fluendo.com>
18504
18505         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
18506         Make sure the GstFlowReturn is returned.
18507
18508         * gst/gstbus.c: (gst_bus_add_signal_watch_full),
18509         (gst_bus_add_signal_watch):
18510         * gst/gstbus.h:
18511         add gst_bus_add_signal_watch_full.
18512
18513         * gst/gstplugin.c: (gst_plugin_load_file):
18514         Small style cleanup.
18515
18516 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
18517
18518         * check/gst/gstevent.c: (test_event), (GST_START_TEST):
18519           Block the fakesrc srcpad when we send an event, to avoid
18520           contention on the stream_lock causing random test failures.
18521
18522 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
18523
18524         * check/gst/gstvalue.c: (GST_START_TEST):
18525         * gst/gstvalue.c: (gst_value_fraction_subtract):
18526           Fix subtraction.
18527
18528 2005-11-22  Stefan Kost  <ensonic@users.sf.net>
18529
18530         * gst/gst.h:
18531           include "gstchildproxy.h"
18532         * gst/gstchildproxy.h:
18533         * libs/gst/controller/gstcontroller.h:
18534           use G_GNUC_NULL_TERMINATED
18535
18536 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
18537
18538         * check/gst/capslist.h:
18539         * check/gst/gstcaps.c: (GST_START_TEST):
18540         * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
18541         * gst/gststructure.c: (gst_structure_parse_range),
18542         (gst_structure_fixate_field_nearest_fraction):
18543         * gst/gststructure.h:
18544         * gst/gstvalue.c: (gst_value_init_fraction_range),
18545         (gst_value_free_fraction_range), (gst_value_copy_fraction_range),
18546         (gst_value_collect_fraction_range),
18547         (gst_value_lcopy_fraction_range), (gst_value_set_fraction_range),
18548         (gst_value_set_fraction_range_full),
18549         (gst_value_get_fraction_range_min),
18550         (gst_value_get_fraction_range_max),
18551         (gst_value_serialize_fraction_range),
18552         (gst_value_transform_fraction_range_string),
18553         (gst_value_compare_fraction_range),
18554         (gst_value_deserialize_fraction_range),
18555         (gst_value_intersect_fraction_fraction_range),
18556         (gst_value_intersect_fraction_range_fraction_range),
18557         (gst_value_subtract_fraction_fraction_range),
18558         (gst_value_subtract_fraction_range_fraction),
18559         (gst_value_subtract_fraction_range_fraction_range),
18560         (gst_value_collect_fraction), (gst_value_fraction_multiply),
18561         (gst_value_fraction_subtract), (gst_value_deserialize_fraction),
18562         (gst_value_transform_string_fraction), (_gst_value_initialize):
18563         * gst/gstvalue.h:
18564           Implement fraction ranges and extend GstFraction to support
18565           arithmetic subtraction, as well as deserialization from integer
18566           strings such as "100"
18567           Add a testsuite as for int and double range set operations
18568
18569 2005-11-21  Andy Wingo  <wingo@pobox.com>
18570
18571         * gst/gsttaglist.h: 
18572         * gst/gstcaps.h: 
18573         * gst/gststructure.h: Add glib-compat.h.
18574
18575 2005-11-21  Wim Taymans  <wim@fluendo.com>
18576
18577         * gst/gstbin.c: (gst_bin_change_state_func):
18578         Fix for #321595
18579
18580 2005-11-21  Wim Taymans  <wim@fluendo.com>
18581
18582         * gst/gstsegment.h:
18583         And add a nice define too.
18584
18585 2005-11-21  Wim Taymans  <wim@fluendo.com>
18586
18587         * gst/gstsegment.c: (gst_segment_copy), (gst_segment_get_type),
18588         (gst_segment_new), (gst_segment_free), (gst_segment_init),
18589         (gst_segment_set_duration), (gst_segment_set_last_stop),
18590         (gst_segment_set_seek), (gst_segment_set_newsegment),
18591         (gst_segment_to_stream_time), (gst_segment_to_running_time),
18592         (gst_segment_clip):
18593         * gst/gstsegment.h:
18594         Make binding friendly.
18595
18596 2005-11-21  Andy Wingo  <wingo@pobox.com>
18597
18598         * gst/gsttagsetter.h: 
18599         * gst/gsttaglist.h: 
18600         * gst/gststructure.h: 
18601         * gst/gstcaps.h: 
18602         * gst/gstutils.h: Sprinkle NULL_TERMINATED to taste. Fixes
18603         #319940.
18604
18605         * gst/gsterror.c (_gst_core_errors_init):
18606         * gst/gsterror.h (GST_CORE_ERROR_MISSING_PLUGIN): New error
18607         category.
18608
18609         * gst/Makefile.am (gst_headers): Add glib-compat.h.
18610         (noinst_HEADERS): noinst the -private.
18611
18612 2005-11-21  Michael Smith <msmith@fluendo.com>
18613
18614         * gst/gstplugin.h:
18615         * gst/gstregistry.h:
18616           Remove unimplemented declarations for which we can see no sensible
18617           use.
18618
18619 2005-11-21  Andy Wingo  <wingo@pobox.com>
18620
18621         * gst/gst.h: Include glib-compat.h.
18622
18623         * gst/glib-compat.h: Add G_GNUC_NULL_TERMINATED.
18624
18625         * gst/glib-compat.c: Include the public and the private header.
18626
18627         * gst/glib-compat-private.h: Copied here from glib-compat.h.
18628
18629         * gst/gstvalue.c: 
18630         * gst/gstpad.c: 
18631         * gst/gstregistryxml.c: s/glib-compat/glib-compat-private/.
18632
18633         * check/gst/gstevent.c (create_custom_events): Check that
18634         FLUSH_STOP is serialized.
18635
18636         * check/elements/identity.c (event_func): 
18637         * check/elements/fakesrc.c (event_func): No stream lock, the core
18638         takes it.
18639
18640         * gst/base/gstbasetransform.c (gst_base_transform_event): No more
18641         stream lock taking, yay.
18642
18643         * gst/gstevent.h (GST_EVENT_FLUSH_STOP): Marked as serialized to
18644         ensure that core takes the stream lock.
18645
18646         * gst/base/gstbasesrc.c (gst_base_src_do_seek): Update for stream
18647         lock name change.
18648
18649         * gst/base/gstbasesink.c (gst_base_sink_event): No need to take
18650         the stream lock for EOS, NEWSEGMENT, or FLUSH_STOP, the core does
18651         it already. For the flush start we do take it though so we get the
18652         right preroll state change messages.
18653
18654         * gst/gstqueue.c (gst_queue_sink_activate_push): No need to take
18655         the stream lock here, the core does it for us.
18656
18657         * gst/gstpad.h (GST_PAD_GET_STREAM_LOCK): Renamed from
18658         GST_STREAM_GET_LOCK.
18659         (GST_PAD_STREAM_LOCK, GST_PAD_STREAM_TRYLOCK) 
18660         (GST_PAD_STREAM_UNLOCK, GST_PAD_STREAM_UNLOCK_FULL) 
18661         (GST_PAD_STREAM_LOCK_FULL): Renamed from GST_STREAM_*.
18662         (GST_PAD_GET_PREROLL_LOCK): Renamed from GST_PREROLL_GET_LOCK.
18663         (GST_PAD_PREROLL_LOCK, GST_PAD_PREROLL_TRYLOCK) 
18664         (GST_PAD_PREROLL_UNLOCK): Renamed from GST_PREROLL_*.
18665
18666         * gst/gstpad.c: Update for stream lock name change.
18667
18668         * gst/base/gstbasesink.c: Update for preroll lock name change.
18669
18670 2005-11-21  Wim Taymans  <wim@fluendo.com>
18671
18672         * gst/gstclock.c: (gst_clock_init), (gst_clock_set_master),
18673         (gst_clock_get_master):
18674         * gst/gstclock.h:
18675         * gst/gstsystemclock.c: (gst_system_clock_init):
18676         Convert Clock flags to object flags.
18677         Added methods to manage master/slave clocks.
18678
18679 2005-11-21  Wim Taymans  <wim@fluendo.com>
18680
18681         * check/gst/gstsegment.c: (GST_START_TEST):
18682         * docs/design/part-TODO.txt:
18683         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
18684         (gst_base_sink_event), (gst_base_sink_do_sync),
18685         (gst_base_sink_activate_pull), (gst_base_sink_get_position),
18686         (gst_base_sink_query), (gst_base_sink_change_state):
18687         * gst/base/gstbasesink.h:
18688         * gst/base/gstbasesrc.c: (gst_base_src_init), (gst_base_src_query),
18689         (gst_base_src_default_newsegment),
18690         (gst_base_src_configure_segment), (gst_base_src_do_seek),
18691         (gst_base_src_get_range), (gst_base_src_loop),
18692         (gst_base_src_change_state):
18693         * gst/base/gstbasesrc.h:
18694         * gst/base/gstbasetransform.c:
18695         (gst_base_transform_prepare_output_buf),
18696         (gst_base_transform_event), (gst_base_transform_change_state):
18697         * gst/base/gstbasetransform.h:
18698         * gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
18699         (gst_collect_pads_event):
18700         * gst/base/gstcollectpads.h:
18701         * gst/elements/gstfakesrc.c: (gst_fake_src_init),
18702         (gst_fake_src_create):
18703         * gst/elements/gstfakesrc.h:
18704         * gst/elements/gstidentity.c: (gst_identity_transform_ip):
18705         * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_duration),
18706         (gst_segment_set_last_stop), (gst_segment_set_seek),
18707         (gst_segment_set_newsegment), (gst_segment_to_stream_time),
18708         (gst_segment_to_running_time), (gst_segment_clip):
18709         * gst/gstsegment.h:
18710         More segment updates, replace code in plugins with segment
18711         helper functions.
18712
18713 2005-11-21  Jan Schmidt  <thaytan@mad.scientist.com>
18714
18715         * gst/elements/gstfdsrc.c: (gst_fdsrc_uri_set_uri):
18716         Don't ignore sscanf results
18717
18718 2005-11-21  Andy Wingo  <wingo@pobox.com>
18719
18720         * gst/gstpad.h (GST_IS_PAD_FAST): Removed.
18721
18722         * *.h:
18723         * *.c: Ran scripts/update-macros. Oh yes.
18724
18725         * gst/gstobject.h (GST_OBJECT_GET_LOCK, GST_OBJECT_LOCK)
18726         (GST_OBJECT_TRYLOCK, GST_OBJECT_UNLOCK): Renamed from
18727         GST_GET_LOCK, etc.
18728
18729         * scripts/update-macros: New script. Run it on your files to
18730         change GST_LOCK to GST_OBJECT_LOCK, and the same for UNLOCK as
18731         well.
18732
18733 2005-11-21  Stefan Kost  <ensonic@users.sf.net>
18734
18735         * docs/gst/Makefile.am:
18736         * docs/gst/gstreamer-docs.sgml:
18737         * docs/gst/gstreamer-sections.txt:
18738         * docs/gst/gstreamer.types:
18739         * gst/gstinfo.h:
18740           more docs fixes, add new api to the docs
18741
18742 2005-11-21  Andy Wingo  <wingo@pobox.com>
18743
18744         * gst/gstbin.c (gst_bin_remove_func): Wim claims I can remove this
18745         state_broadcast call.
18746
18747         * gst/gstsegment.c (gst_segment_init): Initialize abs_rate.
18748
18749 2005-11-21  Julien MOUTTE  <julien@moutte.net>
18750
18751         * gst/gstvalue.c: (gst_value_intersect_array): Fix wrong
18752         function calls for arrays.
18753
18754 2005-11-21  Stefan Kost  <ensonic@users.sf.net>
18755
18756         * docs/random/ensonic/media-device-daemon.txt:
18757           wild idea, can this be done?
18758         * docs/gst/gstreamer-sections.txt:
18759         * gst/gsterror.h:
18760         * gst/gstfilter.c:
18761         * gst/gstfilter.h:
18762         * gst/gstplugin.h:
18763         * gst/gstpluginfeature.c:
18764         * gst/gsttrace.c:
18765         * gst/gstvalue.c:
18766         * gst/gstvalue.h:
18767           doc fixes and additions
18768
18769 2005-11-21  Andy Wingo  <wingo@pobox.com>
18770
18771         * gst/base/gstbasesrc.c (GST_LIVE_BROADCAST, GST_LIVE_SIGNAL) 
18772         (GST_LIVE_TIMED_WAIT, GST_LIVE_WAIT, GST_LIVE_GET_COND) 
18773         (GST_LIVE_UNLOCK, GST_LIVE_TRYLOCK, GST_LIVE_LOCK) 
18774         (GST_LIVE_GET_LOCK): Moved here from gstbasesrc.h. They are
18775         private to the basesrc implementation.
18776
18777         * gst/gstpad.c (gst_pad_send_event): Doc more. Take stream lock on
18778         behalf of event function if necessary. It should no longer be
18779         necessary to take the stream lock in pad's event functions. Fixes
18780         #320299.
18781
18782 2005-11-21  Jan Schmidt  <thaytan@mad.scientist.com>
18783         * docs/gst/gstreamer-sections.txt:
18784         * gst/gststructure.c: (gst_structure_fixate_field_nearest_int),
18785         (gst_structure_fixate_field_nearest_double),
18786         (gst_structure_fixate_field_boolean):
18787         * gst/gststructure.h:
18788         * win32/common/libgstreamer.def:
18789         * win32/gstreamer.def:
18790
18791         Rename gst_caps_structure_fixate_* to gst_structure_fixate_*
18792         (#322027)
18793
18794 2005-11-21  Jan Schmidt  <thaytan@mad.scientist.com>
18795
18796         * gst/elements/gstfdsrc.c: (_do_init), (gst_fdsrc_class_init),
18797         (gst_fdsrc_init), (gst_fdsrc_dispose), (gst_fdsrc_set_property),
18798         (gst_fdsrc_uri_get_type), (gst_fdsrc_uri_get_protocols),
18799         (gst_fdsrc_uri_get_uri), (gst_fdsrc_uri_set_uri),
18800         (gst_fdsrc_uri_handler_init):
18801         * gst/elements/gstfdsrc.h:
18802           Port fd:// URI handler from 0.8 to fdsrc
18803
18804 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
18805
18806         * gst/gstvalue.c: (gst_value_transform_fourcc_string),
18807         (gst_value_serialize_fourcc):
18808         * gst/gstvalue.h:
18809           Drop leading '%' from GST_FOURCC_FORMAT, thus making it
18810           consistent with our other format defines (#320324).
18811
18812 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
18813
18814         * gst/gstvalue.c: (gst_value_is_fixed):
18815           Revert previous commit. Value lists are by definition
18816           not fixed, as they are a list of possible values.
18817
18818 2005-11-21  Andy Wingo  <wingo@pobox.com>
18819
18820         * gst/gstevent.h (GST_EVENT_FILLER): Removed. Can be added back
18821         during the stable series if we need it. Fixes #319178.
18822
18823         * gst/gstevent.c (gst_event_new_filler): Removed.
18824
18825         * check/gst/gstevent.c: Update comment about filler events.
18826
18827 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
18828
18829         * gst/gstvalue.c: (gst_value_is_fixed):
18830           Should handle both value arrays and value lists.
18831
18832 2005-11-21  Andy Wingo  <wingo@pobox.com>
18833
18834         patch by: Alessandro Dessina <alessandro nnva org>
18835
18836         * gst/gstvalue.c (gst_value_is_fixed): Use gst_value_array
18837         functions to access arrays. Fixes #321962.
18838
18839 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
18840
18841         * docs/gst/gstreamer.types:
18842           gst_collectpads_get_type => gst_collect_pads_get_type.
18843           
18844         * gst/base/gstbasetransform.c:
18845           Remove unused SIGNAL_HANDOFF enum.
18846
18847 2005-11-21  Andy Wingo  <wingo@pobox.com>
18848
18849         * gst/gstevent.h (GstEventTypeFlags): New data type, the flags of
18850         the event type (upstream, downstream, serialized). Renamed
18851         GST_EVDIR_* and GST_EVSER to GST_EVENT_TYPE_*.
18852         (GstEventType): Use GstEventTypeFlags. Rename CUSTOM_UP to
18853         CUSTOM_UPSTREAM, CUSTOM_DS to CUSTOM_DOWNSTREAM, etc.
18854
18855         * gst/gstevent.c: Update for new CUSTOM event names.
18856
18857         * check/gst/gstevent.c: Update check for new CUSTOM event names.
18858
18859         * gst/gstevent.h:
18860         * gst/gstevent.c (gst_event_type_get_flags): New function. Fixes
18861         bug #319392.
18862
18863 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
18864
18865         * docs/gst/gstreamer-sections.txt:
18866         * win32/common/libgstbase.def:
18867         * win32/libgstbase.def:
18868         * gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
18869         (gst_collect_pads_class_init), (gst_collect_pads_init),
18870         (gst_collect_pads_finalize), (gst_collect_pads_new),
18871         (gst_collect_pads_set_function), (gst_collect_pads_add_pad),
18872         (gst_collect_pads_remove_pad), (gst_collect_pads_is_active),
18873         (gst_collect_pads_collect), (gst_collect_pads_collect_range),
18874         (gst_collect_pads_start), (gst_collect_pads_stop),
18875         (gst_collect_pads_peek), (gst_collect_pads_pop),
18876         (gst_collect_pads_available), (gst_collect_pads_read),
18877         (gst_collect_pads_flush), (gst_collect_pads_event),
18878         (gst_collect_pads_chain):
18879         * gst/base/gstcollectpads.h:
18880           Rename gst_collecpads_foo() => gst_collect_pads_foo(). Document
18881           unimplemented functions as unimplemented. Add padding to
18882           GstCollectData. (#320766, #320423)
18883
18884 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
18885
18886         * gst/gstmessage.c:
18887           Improve docs for DURATION message (usage of duration parameter)
18888           (#320113)
18889
18890 2005-11-20  Wim Taymans  <wim@fluendo.com>
18891
18892         * check/Makefile.am:
18893         * check/gst/gstsegment.c: (GST_START_TEST), (gstevents_suite),
18894         (main):
18895         * gst/Makefile.am:
18896         * gst/gst.h:
18897         * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_duration),
18898         (gst_segment_set_seek), (gst_segment_set_newsegment),
18899         (gst_segment_to_stream_time), (gst_segment_to_running_time),
18900         (gst_segment_clip):
18901         * gst/gstsegment.h:
18902         Added segment helper structure and methods. Not fully implemented
18903         yet.
18904         Added segment check.
18905
18906 2005-11-20  Jan Schmidt  <thaytan@mad.scientist.com>
18907
18908         * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
18909           Add a deserialisation test for fractions
18910         * examples/metadata/read-metadata.c: (message_loop),
18911         (make_pipeline), (main):
18912           Fix up metadata reading sample.
18913         * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
18914           Debug format fix
18915         * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
18916           Don't try and fixate empty caps
18917         * gst/gst_private.h:
18918           Wrap in G_BEGIN_DECLS/G_END_DECLS
18919         * gst/gstvalue.c: (gst_value_collect_fraction),
18920         (gst_value_set_fraction), (gst_value_get_fraction_denominator),
18921         (gst_value_transform_string_fraction),
18922         (gst_value_compare_fraction):
18923           Add some extra guards to ensure that we don't end up 
18924           with an invalid denominator of 0 in a gstfraction and
18925           that fractions always get reduced.
18926
18927 2005-11-20  Wim Taymans  <wim@fluendo.com>
18928
18929         * docs/gst/gstreamer-sections.txt:
18930         * gst/gstbuffer.h:
18931         * gst/gstelement.c:
18932         * gst/gstformat.c:
18933         * gst/gstformat.h:
18934         * gst/gstindex.h:
18935         * gst/gstquery.c:
18936         * gst/gstquery.h:
18937         * gst/gstvalue.c:
18938         Doc fixes.
18939
18940 2005-11-20  Wim Taymans  <wim@fluendo.com>
18941
18942         * docs/design/part-TODO.txt:
18943         * gst/gstcaps.h:
18944         Make a proper enum of the flag.
18945
18946 2005-11-19  Wim Taymans  <wim@fluendo.com>
18947
18948         * docs/design/part-TODO.txt:
18949         * gst/gstformat.c: (_gst_format_initialize), (gst_format_get_name),
18950         (gst_format_to_quark), (gst_format_register):
18951         * gst/gstformat.h:
18952         * gst/gstquery.c: (_gst_query_initialize),
18953         (gst_query_type_get_name), (gst_query_type_to_quark),
18954         (gst_query_type_register):
18955         * gst/gstquery.h:
18956         Add type to quark and type to string conversions.
18957
18958 2005-11-19  Andy Wingo  <wingo@pobox.com>
18959
18960         * gst/gstbuffer.h (GST_BUFFER_FLAG_ORIGINAL): Removed. Fixes
18961         #320097.
18962
18963 2005-11-19  Wim Taymans  <wim@fluendo.com>
18964
18965         * docs/design/part-TODO.txt:
18966         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_provide_clock_func),
18967         (gst_bin_add_func), (gst_bin_remove_func), (bin_bus_handler),
18968         (gst_bin_handle_message_func):
18969         * gst/gstbin.h:
18970         Make message handling overridable.
18971
18972 2005-11-19  Andy Wingo  <wingo@pobox.com>
18973
18974         * gst/gstpad.h (GST_PAD_IS_USABLE): Removed. Fixes #321235.
18975
18976         * gst/gstclock.h:
18977         * gst/gstclock.c (GstClock, GstClockClass): Change resolution to
18978         be a GstClockTime.
18979         (gst_clock_set_resolution, gst_clock_get_resolution): Resolution
18980         is a GstClockTime. Fixes #321710.
18981
18982         * gst/gstclock.h (GstClock): Remove offset property. Add
18983         internal_calibration and external_calibration. Fix padding. Pad
18984         also by GstClockTime so we don't run into problems.
18985
18986         * gst/gstclock.c (gst_clock_set_rate_offset): Remove.
18987         (gst_clock_get_rate_offset): Remove.
18988         (gst_clock_set_time_adjust): Remove. Fixes #321712.
18989
18990         * gst/gstutils.h:
18991         * gst/gstutils.c (g_static_rec_cond_wait)
18992         (g_static_rec_cond_timed_wait): Removed, no longer needed.
18993
18994         * gst/gstbin.c: Remove terrible continue_state prototype.
18995
18996         * gst/gstelement.h (gst_element_continue_state): Make public.
18997
18998         * gst/gstelement.h:
18999         * gst/gstelement.c (gst_element_commit_state): Removed, replaced
19000         by continue_state. Fixes #319389.
19001
19002         * gst/gstindex.h (GstIndexFilter): Actually pass on the user_data.
19003         Really fixes #168438. However I don't see anywhere where the
19004         filter function is called... stupid GStreamer...
19005         
19006         * gst/gstindex.h (GstIndex): Add field for user_data_destroy. We
19007         don't have a dispose function, so it won't get called when the
19008         object is unreffed, but oh well!
19009
19010         * gst/gstindex.c (gst_index_set_filter_full): New API function,
19011         allows a destroy function to be set so user_data can be freed.
19012         Fixes #168438.
19013         (gst_index_set_filter): Call gst_index_set_filter_full.
19014
19015         * check/gst/gstvalue.c (test_string): Add test for bug #165650.
19016
19017         * gst/gstvalue.c (gst_string_wrap): Trying to serialize a NULL
19018         string should produce an error, given the lack of a way to
19019         represent NULL strings. Fixes #165650.
19020         
19021         * gst/gstvalue.h: 
19022         * gst/gstvalue.c (gst_value_array_append_value) 
19023         (gst_value_array_prepend_value, gst_value_array_get_size) 
19024         (gst_value_array_get_value): New API, copied from
19025         gst_value_list_*, only operates on arrays.
19026         (gst_value_list_append_value, gst_value_list_prepend_value) 
19027         (gst_value_list_concat, gst_value_list_get_size) 
19028         (gst_value_list_get_value): Only operate on lists. Fixes #156633.
19029
19030         * gst/gstvalue.c (gst_value_init_list_or_array): Renamed from
19031         init_list, because it works on both.
19032         (copy_garray_of_gstvalue): Renamed from gst_value_list_copy_array.
19033         (gst_value_copy_list_or_array): Renamed from copy_list.
19034         (gst_value_free_list_or_array): Renamed from free_list.
19035         (gst_value_collect_list_or_array): Renamed from collect_list.
19036         (gst_value_lcopy_list_or_array): Renamed from lcopy_list.
19037         (gst_value_list_or_array_peek_pointer): Renamed from
19038         list_peek_pointer.
19039         (_gst_value_array_value_table, _gst_value_list_value_table):
19040         Update value table functions.
19041         (gst_value_compare_list_or_array): Renamed from compare_list.
19042
19043         * gsttaglist.h: Whoops, foreach function returns void. Also fix
19044         some constness.
19045
19046         * gst/gsttaglist.c:
19047         * gst/gsttaglist.h (gst_tag_list_foreach): Operates on a const
19048         GstTagList*. Fixes #143472.
19049
19050         * gst/gststructure.h: Clarify what the foreach/map functions can
19051         or can't do to their arguments.
19052
19053 2005-11-18  Wim Taymans  <wim@fluendo.com>
19054
19055         * gst/gstclock.c: (gst_clock_set_calibration),
19056         (gst_clock_get_calibration):
19057         Doc and API fixes.
19058         Calibration can be set with internal time equal to current
19059         internal time too.
19060
19061 2005-11-18  Thomas Vander Stichele  <thomas at apestaart dot org>
19062
19063         * gst/gsterror.c:
19064         * gst/gsterror.h:
19065           document
19066
19067 2005-11-18  Andy Wingo  <wingo@pobox.com>
19068
19069         * configure.ac: 
19070         * pkgconfig/gstreamer-net.pc.in:
19071         * pkgconfig/gstreamer-net-uninstalled.pc.in:
19072         * pkgconfig/Makefile.am: Add net pkgconfig files.
19073
19074 2005-11-18  Stefan Kost  <ensonic@users.sf.net>
19075
19076         * gst/gstcaps.c:
19077         * gst/gstghostpad.c:
19078         * gst/gsttrace.c:
19079         * gst/gstvalue.c:
19080         * gst/gstvalue.h:
19081           docs fixes
19082
19083 2005-11-18  Andy Wingo  <wingo@pobox.com>
19084
19085         * gst/net/gstnetclientclock.c: Turn off debugging.
19086
19087         * check/net/gstnetclientclock.c (test_functioning): Assert that the
19088         times connverge somewhat. Can't make a real test.
19089
19090         * gst/net/gstnetclientclock.c (do_linear_regression): Use all
19091         integer arithmetic. Return the minimum of the domain, which can be
19092         set as "internal" for gst_clock_set_calibration.
19093         (gst_net_client_clock_observe_times): Call _set_calibration.
19094         (gst_net_client_clock_new): Call _set_calibration instead of
19095         rate_offset.
19096
19097         * check/net/gstnetclientclock.c (test_functioning): Use the right
19098         adjustment api.
19099
19100         * gst/gstclock.h:
19101         * gst/gstclock.c (gst_clock_get_calibration) 
19102         (gst_clock_set_calibration): New functions, obsolete the ones I
19103         added yesterday. Doh. Precision issues mean we have to extrapolate
19104         from a point in the more recent past than 1970.
19105         (gst_clock_get_rate_offset, gst_clock_set_rate_offset): Mark as
19106         obsolete.
19107         (gst_clock_adjust_unlocked): Use the right calibration data.
19108
19109 2005-11-18  Edward Hervey  <edward@fluendo.com>
19110
19111         * gst/base/gstbasesink.c: (gst_base_sink_change_state): 
19112         Also reset the ->current_* values in READY->PAUSED
19113
19114 2005-11-18  Andy Wingo  <wingo@pobox.com>
19115
19116         * gst/net/gstnetclientclock.c (gst_net_client_clock_thread):
19117         Whoops, check the right fd. Also add some debugging.
19118         (gst_net_client_clock_observe_times): Adjust for int64 offset.
19119         (do_linear_regression): Add a crapload of debugging. Subtract off
19120         the minimum values from the input series to discard unneeded bits.
19121         Use only int arithmetic. There is still double arithmetic when
19122         calculating the intercept that needs fixing. Return boolean to
19123         indicate success; FALSE would mean the domain or range is too
19124         great. Still needs fixes.
19125
19126 2005-11-18  Wim Taymans  <wim@fluendo.com>
19127
19128         * gst/base/gstbasesink.c: (gst_base_sink_get_position):
19129         For the current position in stream time, we need to subtract
19130         accumulated time.
19131         
19132         * gst/gstsystemclock.c: (gst_system_clock_async_thread):
19133         Release lock before calling the callback function of async
19134         entries.
19135
19136 2005-11-18  Andy Wingo  <wingo@pobox.com>
19137
19138         * gst/net/gstnetclientclock.c (gst_net_client_clock_class_init):
19139         Port goes all the way to MAXUINT16.
19140
19141         * gst/net/gstnettimeprovider.c: Make the port range the same as
19142         for the kernel: 0 assigns, otherwise ports are less than
19143         MAXUINT16.
19144
19145         * check/net/gstnettimeprovider.c: Adapt for 0 == kernel assigns
19146         port change.
19147
19148         * check/net/gstnetclientclock.c (test_functioning): Add the start
19149         of another test. 
19150
19151 2005-11-18  Wim Taymans  <wim@fluendo.com>
19152
19153         * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
19154         (gst_bin_remove_func), (bin_bus_handler):
19155         * gst/gstbin.h:
19156         Removing a clock provider from a bin, triggers a clock lost message
19157         so that a new clock will be selected.
19158         Adding a clock to a bin triggers a clock provider message.
19159         Make sure we reselect a clock when we received a clock lost message.
19160         Keep a reference to the element that provided the clock.
19161
19162 2005-11-18  Andy Wingo  <wingo@pobox.com>
19163
19164         * gst/net/gstnetclientclock.c (gst_net_client_clock_new): Adjust
19165         the clock initially so it produces values around the base time.
19166         (gst_net_client_clock_class_init): Typo fix.
19167         (gst_net_client_clock_thread): Add note on when the socket gets
19168         closed.
19169
19170 2005-11-17  Wim Taymans  <wim@fluendo.com>
19171
19172         * gst/net/gstnetclientclock.c: (gst_net_client_clock_finalize):
19173         Free remote and local time arrays.
19174
19175 2005-11-17  Wim Taymans  <wim@fluendo.com>
19176
19177         * gst/net/gstnetclientclock.c: (do_linear_regression),
19178         (gst_net_client_clock_do_select), (gst_net_client_clock_thread):
19179         Fix compilation, uninitialized vars and a forgotten continue.
19180
19181 2005-11-17  Andy Wingo  <wingo@pobox.com>
19182
19183         * check/Makefile.am (check_PROGRAMS): 
19184         * check/net/gstnetclientclock.c: Add a most minimal test for the
19185         net client clock. More to come later.
19186
19187         * gst/net/gstnet.h: 
19188         * gst/net/Makefile.am: Add netclientclock.
19189
19190         * gst/net/gstnetclientclock.h:
19191         * gst/net/gstnetclientclock.c: New files, implement an untested
19192         GstClock that takes its time from a network time provider.
19193         Implements the algorithm in network-clock.scm.
19194
19195         * tests/network-clock.scm (*window-size*): Rename from
19196         *queue-length*.
19197         * tests/network-clock.scm (network-time): 
19198         * tests/network-clock-utils.scm (q-push): Update callers.
19199
19200 2005-11-17  Wim Taymans  <wim@fluendo.com>
19201
19202         * gst/gstbin.c: (gst_bin_provide_clock_func),
19203         (gst_bin_sort_iterator_new):
19204         And unref the child too..
19205
19206 2005-11-17  Wim Taymans  <wim@fluendo.com>
19207
19208         * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
19209         (gst_bin_sort_iterator_new), (gst_bin_iterate_sorted):
19210         Refactor the sort iterator so it can be used while holding the
19211         LOCK too.
19212         Make clock selection select a clock closest to the source.
19213
19214 2005-11-17  Michael Smith <msmith@fluendo.com>
19215
19216         * gst/gstclock.c: (gst_clock_init), (gst_clock_adjust_unlocked),
19217         (gst_clock_set_rate_offset), (gst_clock_get_rate_offset):
19218         * gst/gstclock.h:
19219           Anonymous structs are a gcc (and some other compilers) extension, so
19220           don't use them. Since this is only for ABI-compatibility, and our
19221           API/ABI freeze is over in a few days, this whole thing will only
19222           last a few days, so don't bother trying to think up a meaningful
19223           name for the struct.
19224
19225 2005-11-17  Andy Wingo  <wingo@pobox.com>
19226
19227         * gst/gstclock.h (GstClock): Add rate and offset properties,
19228         preserving ABI stability. Add rate/offset accessors. Will file bug
19229         for the freeze break.
19230
19231         * gst/gstclock.c (gst_clock_adjust_unlocked): Implement using rate
19232         and offset, trying to keep precision and avoiding
19233         underflow/overflow.
19234         (gst_clock_set_rate_offset, gst_clock_get_rate_offset): New
19235         functions. Make gst_clock_set_time_adjust obsolete.
19236         (gst_clock_set_time_adjust): Note that this function is obsolete.
19237         Will file bug soon.
19238
19239         * gst/base/gstbasetransform.h: Make the ABI-stability hack
19240         greppable by using GST_PADDING-1+1.
19241
19242 2005-11-17  Torsten Schoenfeld  <kaffeetisch at gmx dot net>
19243
19244         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
19245
19246         * gst/gstmessage.c: (gst_message_parse_clock_lost):
19247           Assertion should check for CLOCK_LOST, not NEW_CLOCK (#321648).
19248
19249         * gst/gstpadtemplate.h:
19250         * gst/gstpluginfeature.h:
19251           Don't use c++ style comments in headers (#321638).
19252
19253 2005-11-16  Andy Wingo  <wingo@pobox.com>
19254
19255         * gst/net/gstnettimepacket.c (gst_net_time_packet_send): Free
19256         buffer.
19257
19258         * check/net/gstnettimeprovider.c: Check to see that the time
19259         provider actually provides times. Works, yo!
19260
19261 2005-11-16  Wim Taymans  <wim@fluendo.com>
19262
19263         * check/Makefile.am:
19264         Enable more tests.
19265
19266         * check/elements/fakesrc.c: (GST_START_TEST):
19267         Set element to NULL before disposing it.
19268
19269 2005-11-16  Andy Wingo  <wingo@pobox.com>
19270
19271         * gst/net/Makefile.am:
19272         * gst/net/gstnet.h:
19273         * gst/net/gstnettimeprovider.c: 
19274         * gst/net/gstnettimeprovider.h: Use the timepacket stuff in the
19275         provider, include it from gstnet.h, and add it to the build.
19276
19277         * gst/net/gstnettimepacket.h: 
19278         * gst/net/gstnettimepacket.c: New files, abstracts out the packet
19279         sending and receiving.
19280
19281 2005-11-16  Wim Taymans  <wim@fluendo.com>
19282
19283         * check/Makefile.am:
19284         Enable valgrind check.
19285
19286         * gst/elements/gstfakesrc.c: (gst_fake_src_alloc_parent),
19287         (gst_fake_src_alloc_buffer):
19288         Fix memleak.
19289
19290 2005-11-16  Wim Taymans  <wim@fluendo.com>
19291
19292         * gst/net/gstnettimeprovider.c: (gst_net_time_provider_finalize):
19293         Call parent finalize too.
19294
19295 2005-11-16  Wim Taymans  <wim@fluendo.com>
19296
19297         * check/Makefile.am:
19298         Enable valgrind check that should work fine now.
19299
19300         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
19301         * gst/gstqueue.c: (gst_queue_init):
19302         Fix memleaks in pad allocation.
19303
19304 2005-11-16  Andy Wingo  <wingo@pobox.com>
19305
19306         * gst/net/Makefile.am:
19307         * gst/net/gstnet.h: New part of core to hold network elements and
19308         objects. Put in core because it exposes API that applications want
19309         to use. The library is named libgstnet-tempname right now because
19310         of the existing libgstnet in gst-plugins-base. Solution is
19311         probably to rename the one in plugins-base; will file a bug for
19312         the freeze break.
19313
19314         * gst/net/gstnettimeprovider.c: 
19315         * gst/net/gstnettimeprovider.h: New object to export a GstClock's
19316         get_time call over the network.
19317
19318         * configure.ac: 
19319         * gst/Makefile.am (lib_LTLIBRARIES): Add gstnet to the build.
19320
19321         * check/Makefile.am:
19322         * check/net/gstnettimeprovider.c: A most minimal test suite. Will
19323         get additions shortly.
19324
19325 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
19326
19327         * gst/gstpad.c: (gst_pad_new_from_static_template):
19328         * gst/gstpad.h:
19329           add gst_pad_new_from_static_template functions
19330         * gst/check/gstcheck.c: (gst_check_setup_src_pad),
19331         (gst_check_setup_sink_pad):
19332         * gst/elements/gsttee.c: (gst_tee_init):
19333           and use them
19334
19335 2005-11-16  Wim Taymans  <wim@fluendo.com>
19336
19337         * gst/gstpad.c: (gst_pad_pause_task):
19338         Removed warning, it's not really an error either.
19339
19340 2005-11-16  Wim Taymans  <wim@fluendo.com>
19341
19342         * gst/base/gstbasetransform.c:
19343         (gst_base_transform_prepare_output_buf),
19344         (gst_base_transform_event):
19345         Check if the caps are NULL, this can happen if the element
19346         is shutting down and the pad caps are set to NULL.
19347
19348 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
19349
19350         * gst/elements/gsttee.c: (gst_tee_init):
19351           fix pad template leak in tee
19352
19353 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
19354
19355         * gst/glib-compat.c: (g_value_dup_gst_object):
19356         * gst/glib-compat.h:
19357         * gst/gstpad.c: (gst_pad_set_property):
19358           use gst_object_ref when setting the pad template; this will
19359           trigger the pad template leaks on GLib 2.6 and the slaves
19360
19361 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
19362
19363         * gst/glib-compat.c: (gst_flags_get_first_value):
19364         * gst/glib-compat.h:
19365         * gst/gstregistryxml.c:
19366           remove functions copied from GLib 2.6
19367
19368 2005-11-16  Michael Smith <msmith@fluendo.com>
19369
19370         * gst/Makefile.am:
19371           Don't link against VALGRIND_LIBS. That was always the wrong thing to
19372           do, but only breaks with newer valgrind versions. We're not a
19373           valgrind tool, we have no link-time dependencies on libcoregrind.
19374
19375 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
19376
19377         * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
19378           some debug changes
19379         * gst/gstmessage.h:
19380           typo fixes
19381
19382 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
19383
19384         * gst/base/gstbasesrc.c: (gst_base_src_init):
19385         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
19386         * gst/gstqueue.c: (gst_queue_init):
19387         * gst/gstregistryxml.c: (load_feature):
19388           Revert all these unrefs, they don't even pass make check !
19389
19390 2005-11-15  Johan Dahlin  <johan@gnome.org>
19391
19392         * gst/base/gstbasesrc.c: (gst_base_src_init):
19393         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
19394         * gst/gstqueue.c: (gst_queue_init): 
19395         Free pad templates, fixes a couple of leaks.
19396
19397 2005-11-15  Daniel Fischer  <dan at f3c dot com>
19398
19399         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
19400
19401         * gst/gstpad.c: (gst_pad_get_property):
19402           GST_PAD_PAD_TEMPLATE(pad) gets the pad template, while
19403           GST_PAD_TEMPLATE(pad) does a cast. We want the former here.
19404           (#321452)
19405
19406 2005-11-15  Wim Taymans  <wim@fluendo.com>
19407
19408         * gst/gstevent.c:
19409         Small doc update.
19410
19411 2005-11-15  Andy Wingo  <wingo@pobox.com>
19412
19413         * gst/gstelement.c (gst_element_set_base_time): Add debugging.
19414
19415         * gst/gstpipeline.c (gst_pipeline_set_new_stream_time): Document
19416         using GST_CLOCK_TIME_NONE to disable base time management.
19417         (do_pipeline_seek, gst_pipeline_change_state): Don't reset stream
19418         time if it was NONE before.
19419         (gst_pipeline_change_state): Only munge the base time if
19420         stream_time != GST_CLOCK_TIME_NONE.
19421
19422         * check/gst/gstpipeline.c (test_base_time): Punt around the
19423         problem of the probe not being called, because that's not the
19424         issue I'm looking at. Add a check that setting stream_time to NONE
19425         disables base time management.
19426         
19427 2005-11-15  Wim Taymans  <wim@fluendo.com>
19428
19429         * gst/base/gstbasesink.c: (gst_base_sink_change_state):
19430         segment_stop == -1 at startup.
19431
19432         * gst/base/gstbasetransform.c: (gst_base_transform_event),
19433         (gst_base_transform_change_state):
19434         Init segment values at start.
19435
19436 2005-11-15  Wim Taymans  <wim@fluendo.com>
19437
19438         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
19439         0 segment values are 0 in any format.
19440
19441         * gst/base/gstbasetransform.c: (gst_base_transform_event):
19442         * gst/base/gstbasetransform.h:
19443         Parse newsegment correctly in basetransform
19444
19445         * gst/elements/gstidentity.c: (gst_identity_transform_ip):
19446         Sync to clock using updated segment values.
19447
19448 2005-11-15  Andy Wingo  <wingo@pobox.com>
19449
19450         * check/gst/gstpipeline.c (test_base_time): Add check that the
19451         base time and stream time are reset correctly.
19452
19453 2005-11-15  Wim Taymans  <wim@fluendo.com>
19454
19455         * docs/design/part-TODO.txt:
19456         Some more TODO items.
19457
19458 2005-11-15  Andy Wingo  <wingo@pobox.com>
19459
19460         * gst/elements/gstfakesrc.c (gst_fake_src_create): It's not an
19461         error if the user selected "no clock" as the clocking method.
19462
19463         * check/gst/gstpipeline.c (test_base_time): New test for buffer
19464         timestamps with live capture.
19465
19466         * gst/elements/gstfakesrc.c (gst_fake_src_create): If the datarate
19467         is 0 but we are a live source, timestamp the buffers using the
19468         element's clock.
19469
19470 2005-11-14  Stefan Kost  <ensonic@users.sf.net>
19471
19472         * docs/gst/gstreamer-sections.txt:
19473         * gst/gsterror.c:
19474         * gst/gstghostpad.c:
19475         * gst/gstobject.h:
19476         * gst/gstxml.c:
19477           more section docs
19478
19479 2005-11-14  Wim Taymans  <wim@fluendo.com>
19480
19481         * common/gst.supp:
19482           add suppressions from Wim's Debian machine
19483
19484 2005-11-14  Thomas Vander Stichele  <thomas at apestaart dot org>
19485
19486         * common/gst.supp:
19487           add suppressions from Andy's AMD64 Ubuntu machine
19488
19489 2005-11-14  Andy Wingo  <wingo@pobox.com>
19490
19491         * gst/gstpad.c (gst_pad_set_active): Change docs; parent's
19492         STATE_LOCK not necessary. Fixes #311489.
19493
19494         * gst/gsterror.c (FILE_A_BUG): Be polite *and* helpful. Fixes
19495         #305291.
19496
19497         * gst/gstindex.c (gst_index_add_object): Note in the docs that
19498         this function is not implemented.
19499
19500 2005-11-14  Julien MOUTTE  <julien@moutte.net>
19501
19502         * gst/base/gstbasetransform.c:
19503         (gst_base_transform_prepare_output_buf):
19504         Ref the source pad caps while we need them.
19505         Fixes (#321386)
19506
19507 2005-11-11  Wim Taymans  <wim@fluendo.com>
19508
19509         * docs/gst/gstreamer-sections.txt:
19510         Added some docs for GstCollectData.
19511
19512         * gst/base/gstadapter.c:
19513         Some small code example fix.
19514
19515         * gst/base/gstcollectpads.c:
19516         * gst/base/gstcollectpads.h:
19517         Document some more.
19518
19519 2005-11-11  Thomas Vander Stichele  <thomas at apestaart dot org>
19520
19521         * configure.ac: back to HEAD
19522
19523 === release 0.9.5 ===
19524
19525 2005-11-11  Thomas Vander Stichele <thomas at apestaart dot org>
19526
19527         * configure.ac:
19528           releasing 0.9.5, "Bike Lunch Day"
19529
19530 2005-11-11  Wim Taymans  <wim@fluendo.com>
19531
19532         * gst/gstbuffer.c: (_gst_buffer_copy):
19533         Copy more flags.
19534
19535         * gst/gstcaps.c: (gst_caps_is_equal):
19536         Fix some docs.
19537         Make _is_equal fast in the trivial cases.
19538
19539         * gst/gstminiobject.c:
19540         * gst/gstminiobject.h:
19541         More docs. Spifify .h file.
19542
19543         * gst/gstutils.c:
19544         Small doc update.
19545
19546 2005-11-11  Wim Taymans  <wim@fluendo.com>
19547
19548         * gst/base/gstbasetransform.c:
19549         (gst_base_transform_prepare_output_buf),
19550         (gst_base_transform_handle_buffer):
19551         Small cleanups.
19552         If we're processing a buffer and need to allocate an output
19553         buffer, we cannot accept a format change. If we did get a 
19554         format change, we have to alloc a buffer ourselves of the 
19555         right size.
19556
19557 2005-11-11  Wim Taymans  <wim@fluendo.com>
19558
19559         * gst/gstpad.c: (gst_pad_get_caps), (gst_pad_peer_get_caps):
19560         While checking the flag for reentrancy in the gstcaps function
19561         is nice to detect recursive invocations, it also makes it 
19562         impossible to call getcaps from multiple threads, which must be
19563         possible. So, checking for recursive calls has to go.
19564
19565 2005-11-11  Michael Smith <msmith@fluendo.com>
19566
19567         * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
19568           Don't sync on buffers that fall partially outside our current
19569           segment. Prevents an assertion failure/abort playing some files.
19570
19571 2005-11-10  Andy Wingo  <wingo@pobox.com>
19572
19573         * check/gst/gstbin.c (test_message_state_changed_children): Style
19574         fix..
19575
19576         * gst/gstbus.c (poll_destroy, poll_func, gst_bus_poll): Implement
19577         gst_bus_poll with the signal watch. Ensures that poll and a signal
19578         watch see the same messages.
19579
19580         * check/gst/gstbus.c (test_watch_with_poll): New test, checks that
19581         a poll and a watch at the same time get the same messages.
19582
19583 2005-11-10  Thomas Vander Stichele  <thomas at apestaart dot org>
19584
19585         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps):
19586         * gst/gstcaps.c: (gst_caps_intersect):
19587           Don't call gst_caps_do_simplify - it doesn't respect order of caps
19588           and it's not needed.
19589
19590 2005-11-10  Wim Taymans  <wim@fluendo.com>
19591
19592         * docs/design/part-TODO.txt:
19593         Updated todo.
19594
19595 2005-11-10  Wim Taymans  <wim@fluendo.com>
19596
19597         * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
19598         * gst/base/gstbasesrc.c: (gst_base_src_wait),
19599         (gst_base_src_do_sync), (gst_base_src_get_range):
19600         Implement clock sync in base class.
19601
19602 2005-11-10  Thomas Vander Stichele  <thomas at apestaart dot org>
19603
19604         patch by: Tim-Philipp Müller <tim at centricular dot net>
19605
19606         * gst/gststructure.c: (gst_structure_parse_field),
19607         (gst_structure_from_string):
19608           Forward-port a 0.8 patch to handle escaped spaces in structure string,
19609           so that gst_parse_launch() can deal with spaces in filtered link
19610           caps (fixes #164479)
19611         * check/gst/capslist.h:
19612         * check/gst/gststructure.c: (GST_START_TEST):
19613           add unit tests for this change
19614
19615 2005-11-10  Wim Taymans  <wim@fluendo.com>
19616
19617         * docs/gst/gstreamer-sections.txt:
19618         * gst/gstelement.c:
19619         * gst/gstelement.h:
19620         Fix docs, move some STATE macros to private.
19621
19622 2005-11-10  Wim Taymans  <wim@fluendo.com>
19623
19624         * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
19625         Added check for bug #317341
19626
19627         * gst/gstbuffer.c:
19628         * gst/gstbuffer.h:
19629         Some more spiffifying.
19630
19631         * gst/gstghostpad.c: (gst_ghost_pad_do_link):
19632         Call peer linkfunction if we are a source pad. Totally fixes
19633         #317341
19634
19635         * gst/gstpad.c:
19636         Update docs, source pads should call the peer linkfunction
19637         so they can atomically perform the pad link.
19638
19639 2005-11-09  Wim Taymans  <wim@fluendo.com>
19640
19641         * gst/gstbuffer.c:
19642         * gst/gstbuffer.h:
19643         Uber-spiffy-spiffify some more.
19644
19645 2005-11-09  Tim-Philipp Müller  <tim at centricular dot net>
19646
19647         * gst/base/gstcollectpads.c: (gst_collectpads_add_pad):
19648         * gst/elements/gstfilesink.c: (gst_file_sink_init):
19649         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
19650         * gst/gstghostpad.c: (gst_ghost_pad_set_internal),
19651         (gst_ghost_pad_init), (gst_ghost_pad_new_notarget):
19652         * gst/gstpad.c: (gst_pad_init):
19653           Use GST_DEBUG_FUNCPTR() more extensively.
19654
19655 2005-11-09  Wim Taymans  <wim@fluendo.com>
19656
19657         * gst/gstobject.c: (gst_object_class_init):
19658         * gst/gstobject.h:
19659         Documentation fixes.
19660
19661 2005-11-09  Edward Hervey  <edward@fluendo.com>
19662
19663         * gst/gsttypefindfactory.c:
19664         Fix docs.
19665         
19666 2005-11-09  Edward Hervey  <edward@fluendo.com>
19667
19668         * gst/base/gsttypefindhelper.c:
19669         * gst/gsttypefind.c:
19670         * gst/gsttypefind.h:
19671         Fix docs.
19672
19673 2005-11-09  Wim Taymans  <wim@fluendo.com>
19674
19675         * gst/gstiterator.c:
19676         Fix revision data.
19677
19678         * gst/gsttask.c:
19679         * gst/gsttask.h:
19680         Fix docs.
19681
19682 2005-11-09  Wim Taymans  <wim@fluendo.com>
19683
19684         * gst/gstevent.h:
19685         * gst/gsturi.h:
19686         Fix docs.
19687
19688 2005-11-09  Wim Taymans  <wim@fluendo.com>
19689
19690         * docs/gst/gstreamer-sections.txt:
19691         Moved the message async delivery private lock and cond
19692         to the private section.
19693
19694         * gst/gstmessage.c:
19695         * gst/gstmessage.h:
19696         Fixed docs.
19697
19698 2005-11-09  Edward Hervey  <edward@fluendo.com>
19699
19700         * docs/gst/gstreamer-sections.txt:
19701         * gst/gsturi.c:
19702         * gst/gsturi.h:
19703         Document GstURIHandler
19704
19705 2005-11-09  Wim Taymans  <wim@fluendo.com>
19706
19707         * gst/gstiterator.c: (gst_iterator_fold), (gst_iterator_foreach),
19708         (gst_iterator_find_custom):
19709         * gst/gstiterator.h:
19710         Fix iterator docs.
19711
19712 2005-11-09  Wim Taymans  <wim@fluendo.com>
19713
19714         * gst/gstbin.h:
19715         Document another field.
19716
19717         * gst/gststructure.c:
19718         * gst/gststructure.h:
19719         Document.
19720
19721 2005-11-09  Wim Taymans  <wim@fluendo.com>
19722
19723         * gst/gstbin.h:
19724         Documented structs.
19725
19726 2005-11-09  Wim Taymans  <wim@fluendo.com>
19727
19728         * docs/gst/gstreamer-sections.txt:
19729         Added some new macros.
19730
19731         * gst/gstclock.c:
19732         * gst/gstclock.h:
19733         * gst/gstobject.h:
19734         Docs updates.
19735
19736 2005-11-09  Wim Taymans  <wim@fluendo.com>
19737
19738         * docs/design/part-TODO.txt:
19739         Some more items for the TODO
19740
19741         * gst/gstcaps.c:
19742         * gst/gstcaps.h:
19743         Document GstCaps.
19744
19745 2005-11-09  Andy Wingo  <wingo@pobox.com>
19746
19747         * gst/base/gstbasesink.c: Add the beginning of docs here -- have
19748         to work on something else now tho...
19749
19750         * gst/base/gstadapter.c: More adapter docs.
19751
19752         * gst/elements/gstfilesink.c (gst_file_sink_start) 
19753         (gst_file_sink_stop): New functions, replace the state change
19754         handler.
19755         (gst_file_sink_class_init): Hook up the start and stop functions.
19756         (gst_file_sink_base_init): Don't set the state change handler any
19757         more. It was a bit ugly too, being set from here...
19758         (gst_file_sink_get_property, gst_file_sink_set_property):
19759         Cleanups...
19760         (gst_file_sink_set_location): More robust check that doesn't call
19761         GST_STATE. Ugggggg.
19762
19763 2005-11-08  Tim-Philipp Müller  <tim at centricular dot net>
19764
19765         * gst/base/gstbasetransform.c: (gst_base_transform_event):
19766           Hold STREAM_LOCK while pushing newsegment or tag events as well.
19767
19768 2005-11-08  Wim Taymans  <wim@fluendo.com>
19769
19770         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
19771         (gst_base_sink_do_sync), (gst_base_sink_handle_event),
19772         (gst_base_sink_chain), (gst_base_sink_change_state):
19773         * gst/base/gstbasesink.h:
19774         * gst/base/gstbasesrc.h:
19775         * gst/gstelement.h:
19776         * gst/gstevent.h:
19777         Avoid excessive typechecking in macros.
19778
19779         * gst/gstminiobject.c: (gst_mini_object_get_type),
19780         (gst_mini_object_init), (gst_mini_object_new),
19781         (gst_mini_object_free):
19782         * gst/gstobject.c: (gst_object_class_init), (gst_object_init),
19783         (gst_object_finalize):
19784         Remove cruft code, optimize alloc_trace.
19785
19786 2005-11-07  Thomas Vander Stichele  <thomas at apestaart dot org>
19787
19788         * docs/faq/gst-uninstalled:
19789           fix up PS1 for systems that try to reset it
19790
19791 2005-11-07  Wim Taymans  <wim@fluendo.com>
19792
19793         * gst/base/gstbasesrc.c: (gst_base_src_init),
19794         (gst_base_src_get_range):
19795         Set the segment_end to -1 initially. Fixed typefind.
19796
19797 2005-11-07  Tim-Philipp Müller  <tim at centricular dot net>
19798
19799         * gst/base/gstadapter.c:
19800           Debug category should be 'adapter', not 'GstAdapter'.
19801           
19802         * gst/base/gstcollectpads.c: (gst_collectpads_base_init),
19803         (gst_collectpads_class_init), (gst_collectpads_init),
19804         (gst_collectpads_peek), (gst_collectpads_pop),
19805         (gst_collectpads_event), (gst_collectpads_chain):
19806           Add debug category and some debugging output. Use boilerplate
19807           macros. Remove some extraneous words from docs.
19808
19809 2005-11-05  Andy Wingo  <wingo@pobox.com>
19810
19811         * gst/base/gstpushsrc.c: Shorten by 30% via use of boilerplate
19812         macro.
19813
19814 2005-11-04  Stefan Kost  <ensonic@users.sf.net>
19815
19816         * docs/gst/gstreamer-sections.txt:
19817         * gst/gstcaps.h:
19818         * gst/gstinfo.c:
19819         * gst/gstminiobject.h:
19820         * gst/gstobject.h:
19821         * gst/gstutils.h:
19822           more docs added
19823
19824 2005-11-04  Wim Taymans  <wim@fluendo.com>
19825
19826         * gst/base/gstbasesrc.c: (gst_base_src_get_range):
19827         Small update to stop at the configured segment_end
19828         position.
19829
19830 2005-11-04  Stefan Kost  <ensonic@users.sf.net>
19831
19832         * gst/gstregistry.c:
19833         * gst/gstregistry.h:
19834           added missing docs
19835
19836 2005-11-04  Edward Hervey  <edward@fluendo.com>
19837
19838         * gst/base/gstbasesrc.c: (gst_base_src_get_range):
19839         Check if we are doing a segment seek and have arrived at the
19840         end of that segment.
19841
19842 2005-11-04  Wim Taymans  <wim@fluendo.com>
19843
19844         * gst/gstbus.c: (gst_bus_post), (gst_bus_set_sync_handler):
19845         Don't leak a mutex unlock in case of an error.
19846
19847         * gst/gstbus.h:
19848         Doc fixes.
19849
19850 2005-11-04  Wim Taymans  <wim@fluendo.com>
19851
19852         * gst/gstbus.c: (gst_bus_class_init), (gst_bus_init),
19853         (gst_bus_post):
19854         Get the context to wake up only once.
19855
19856 2005-11-03  Wim Taymans  <wim@fluendo.com>
19857
19858         * check/states/sinks.c: (GST_START_TEST):
19859         Uncomment fixed check.
19860
19861         * docs/design/part-TODO.txt:
19862         Updated TODO.
19863
19864         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
19865         (gst_base_sink_handle_object), (gst_base_sink_do_sync),
19866         (gst_base_sink_get_position):
19867         If we are going to PLAYING, post the right pending state
19868         when we post the intermediate paused message.
19869
19870         * gst/gstelement.c: (gst_element_continue_state),
19871         (gst_element_set_state_func), (gst_element_change_state):
19872         Don't post state changes that were between the same state
19873         and were not ASYNC.
19874
19875 2005-11-03  Stefan Kost  <ensonic@users.sf.net>
19876
19877         * docs/gst/gstreamer-sections.txt:
19878         * gst/gstcaps.h:
19879         * gst/gstinfo.c:
19880         * gst/gstminiobject.h:
19881         * gst/gstobject.h:
19882         * gst/gstutils.h:
19883           more docs and doc style fixes
19884
19885 2005-11-03  Stefan Kost  <ensonic@users.sf.net>
19886
19887         * docs/gst/gstreamer-sections.txt:
19888         * gst/gstelement.c:
19889         * gst/gstminiobject.c:
19890         doc fixes
19891
19892 2005-11-03  Andy Wingo  <wingo@pobox.com>
19893
19894         * check/states/sinks.c (test_livesrc_sink): Add checks that the
19895         state-changed messages actually have the right order and the right
19896         values.
19897
19898 2005-11-03  Wim Taymans  <wim@fluendo.com>
19899
19900         * check/states/sinks.c: (GST_START_TEST), (gst_object_suite):
19901         Added some more checks. Specifically the case where NO_PREROLL
19902         elements are in the pipeline.
19903
19904         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
19905         (gst_base_sink_handle_object), (gst_base_sink_do_sync),
19906         (gst_base_sink_get_position):
19907         Post READY->PAUSED state change messages too.
19908         Fix bug where VOID was posted as pending state...
19909
19910         * gst/gstbin.c: (gst_bin_recalc_state):
19911         use _element_continue_state() to continue the state change.
19912
19913         * gst/gstelement.c: (gst_element_continue_state),
19914         (gst_element_commit_state), (gst_element_set_state_func),
19915         (gst_element_change_state), (gst_element_change_state_func):
19916         Lots of state change cleanups, assign the STATE_RETURN in
19917         a new continue_state() function that also propagates the
19918         last return value from a state change to the app.
19919         Update some debug statements with proper category.
19920
19921 2005-11-03  Wim Taymans  <wim@fluendo.com>
19922
19923         * docs/design/part-events.txt:
19924         * docs/design/part-gstpipeline.txt:
19925         * docs/design/part-messages.txt:
19926         * docs/design/part-overview.txt:
19927         * docs/design/part-seeking.txt:
19928         * docs/design/part-states.txt:
19929         * docs/design/part-trickmodes.txt:
19930         * docs/manual/advanced-position.xml:
19931         Small docs updates.
19932
19933         * gst/gstobject.h:
19934         People think !! is ugly, this looks better.
19935
19936         * gst/gstpad.c: (gst_pad_set_blocked_async):
19937         Remove !! since it's fixed elsewhere now.
19938
19939 2005-11-03  Tim-Philipp Müller  <tim at centricular dot net>
19940
19941         * gst/gstminiobject.h:
19942         * gst/gstobject.h:
19943           Add !! to _FLAG_IS_SET macros to make the result boolean.
19944
19945 2005-11-03  Edward Hervey  <edward@fluendo.com>
19946
19947         * gst/gstpad.c: (gst_pad_set_blocked_async):
19948         comparing a flag and a gboolean rarely returns coherent results...
19949         Added two characters (!!) to make that work correctly.
19950         
19951 2005-11-03  Tim-Philipp Müller  <tim at centricular dot net>
19952
19953         * gst/gstbus.c: (gst_bus_class_init):
19954           Fix some typos.
19955           
19956         * gst/gstqueue.c: (gst_queue_loop):
19957           Don't assume a miniobject that isn't a buffer is an
19958           event (it could be that there is a refcounting
19959           problem somewhere and the pointer is stale and
19960           refers to an already destroyed miniobject).
19961
19962 2005-11-03  Julien MOUTTE  <julien@moutte.net>
19963
19964         * gst/gstpad.c: (gst_pad_alloc_buffer): Fix some typos.
19965
19966 2005-11-03  Tim-Philipp Müller  <tim at centricular dot net>
19967
19968         * docs/manual/advanced-position.xml:
19969           Update seek example and explanations to current 0.9 API.
19970
19971         * gst/elements/gsttypefindelement.c:
19972         (gst_type_find_element_activate):
19973           Remove FIXME comment now that the found caps
19974           are unreffed.
19975
19976 2005-11-03  Thomas Vander Stichele  <thomas at apestaart dot org>
19977
19978         * gst/gstregistryxml.c: (load_feature):
19979           Add another GST_STR_NULL instance
19980
19981 2005-11-02  Edward Hervey  <edward@fluendo.com>
19982
19983         * gst/gstpad.c: (handle_pad_block):
19984         Follow-up to Wim's patch, solves deadlock for blocked and flushing pads
19985         
19986 2005-11-02  Wim Taymans  <wim@fluendo.com>
19987
19988         * gst/gstbin.c:
19989         Fix typo in docs.
19990
19991         * gst/gstelement.c: (gst_element_commit_state):
19992         Remove unused value.
19993
19994         * gst/gstiterator.c:
19995         Mention that the returned element is reffed in the docs.
19996
19997 2005-11-02  Wim Taymans  <wim@fluendo.com>
19998
19999         * gst/gstpad.c: (gst_pad_alloc_buffer), (handle_pad_block),
20000         (gst_pad_push), (gst_pad_push_event):
20001         Unlock blocked pads when they are flushed.
20002
20003 2005-11-02  Thomas Vander Stichele  <thomas at apestaart dot org>
20004
20005         * docs/README:
20006         * docs/gst/gstreamer-sections.txt:
20007         * gst/gstbin.c:
20008           doc updates
20009         * gst/gstregistry.c: (gst_registry_scan_path_level):
20010           fix for a nasty little missed situation where an installed plug-in
20011           which was in the cache did not get overridden by an uninstalled one
20012           which was earlier in the plugin path because the newly created plugin
20013           for the uninstalled one (not in the registry) didn't get its
20014           ->registered set to TRUE
20015
20016 2005-11-02  Tim-Philipp Müller  <tim at centricular dot net>
20017
20018         * gst/base/gstcollectpads.c: (gst_collectpads_set_function),
20019         (gst_collectpads_add_pad), (gst_collectpads_remove_pad),
20020         (gst_collectpads_is_active), (gst_collectpads_collect),
20021         (gst_collectpads_collect_range), (gst_collectpads_start),
20022         (gst_collectpads_stop), (gst_collectpads_peek),
20023         (gst_collectpads_pop), (gst_collectpads_available),
20024         (gst_collectpads_read), (gst_collectpads_flush):
20025           Guard public API with assertions.
20026         
20027         * gst/gstpad.c:
20028           Fix docs for gst_pad_set_link_function().
20029
20030 2005-11-02  Johan Dahlin  <johan@gnome.org>
20031
20032         * gst/elements/gsttypefindelement.c (gst_type_find_element_activate): 
20033         Unref found_caps after we used it.
20034
20035 2005-11-02  Tim-Philipp Müller  <tim at centricular dot net>
20036
20037         * gst/base/gstcollectpads.c: (gst_collectpads_peek):
20038           Don't try to ref NULL.
20039
20040 2005-11-02  Thomas Vander Stichele  <thomas at apestaart dot org>
20041
20042         * win32/common/config.h.in:
20043           provide a GST_FUNCTION that just gives a string for now
20044
20045 2005-11-02  Thomas Vander Stichele  <thomas at apestaart dot org>
20046
20047         * win32/common/gstenumtypes.c: (register_gst_object_flags),
20048         (gst_object_flags_get_type), (register_gst_bin_flags),
20049         (gst_bin_flags_get_type), (register_gst_buffer_flag),
20050         (gst_buffer_flag_get_type), (register_gst_bus_flags),
20051         (gst_bus_flags_get_type), (register_gst_bus_sync_reply),
20052         (gst_bus_sync_reply_get_type), (register_gst_clock_return),
20053         (gst_clock_return_get_type), (register_gst_clock_entry_type),
20054         (gst_clock_entry_type_get_type), (register_gst_clock_flags),
20055         (gst_clock_flags_get_type), (register_gst_state),
20056         (gst_state_get_type), (register_gst_state_change_return),
20057         (gst_state_change_return_get_type), (register_gst_state_change),
20058         (gst_state_change_get_type), (register_gst_element_flags),
20059         (gst_element_flags_get_type), (register_gst_core_error),
20060         (gst_core_error_get_type), (register_gst_library_error),
20061         (gst_library_error_get_type), (register_gst_resource_error),
20062         (gst_resource_error_get_type), (register_gst_stream_error),
20063         (gst_stream_error_get_type), (register_gst_event_type),
20064         (gst_event_type_get_type), (register_gst_seek_type),
20065         (gst_seek_type_get_type), (register_gst_seek_flags),
20066         (gst_seek_flags_get_type), (register_gst_format),
20067         (gst_format_get_type), (register_gst_index_certainty),
20068         (gst_index_certainty_get_type), (register_gst_index_entry_type),
20069         (gst_index_entry_type_get_type),
20070         (register_gst_index_lookup_method),
20071         (gst_index_lookup_method_get_type), (register_gst_assoc_flags),
20072         (gst_assoc_flags_get_type), (register_gst_index_resolver_method),
20073         (gst_index_resolver_method_get_type), (register_gst_index_flags),
20074         (gst_index_flags_get_type), (register_gst_debug_level),
20075         (gst_debug_level_get_type), (register_gst_debug_color_flags),
20076         (gst_debug_color_flags_get_type), (register_gst_iterator_result),
20077         (gst_iterator_result_get_type), (register_gst_iterator_item),
20078         (gst_iterator_item_get_type), (register_gst_message_type),
20079         (gst_message_type_get_type), (register_gst_mini_object_flags),
20080         (gst_mini_object_flags_get_type), (register_gst_pad_link_return),
20081         (gst_pad_link_return_get_type), (register_gst_flow_return),
20082         (gst_flow_return_get_type), (register_gst_activate_mode),
20083         (gst_activate_mode_get_type), (register_gst_pad_direction),
20084         (gst_pad_direction_get_type), (register_gst_pad_flags),
20085         (gst_pad_flags_get_type), (register_gst_pad_presence),
20086         (gst_pad_presence_get_type), (register_gst_pad_template_flags),
20087         (gst_pad_template_flags_get_type), (register_gst_pipeline_flags),
20088         (gst_pipeline_flags_get_type), (register_gst_plugin_error),
20089         (gst_plugin_error_get_type), (register_gst_plugin_flags),
20090         (gst_plugin_flags_get_type), (register_gst_rank),
20091         (gst_rank_get_type), (register_gst_query_type),
20092         (gst_query_type_get_type), (register_gst_tag_merge_mode),
20093         (gst_tag_merge_mode_get_type), (register_gst_tag_flag),
20094         (gst_tag_flag_get_type), (register_gst_task_state),
20095         (gst_task_state_get_type), (register_gst_alloc_trace_flags),
20096         (gst_alloc_trace_flags_get_type),
20097         (register_gst_type_find_probability),
20098         (gst_type_find_probability_get_type), (register_gst_uri_type),
20099         (gst_uri_type_get_type), (register_gst_parse_error),
20100         (gst_parse_error_get_type):
20101         * win32/common/gstversion.h:
20102           update win32 copies
20103
20104 2005-11-01  Luca Ognibene  <luogni@tin.it>
20105
20106         * gst/gst.c:
20107           fix docs. popt is dead, long live GOption.
20108
20109 2005-10-31  Wim Taymans  <wim@fluendo.com>
20110
20111         * gst/gstbuffer.h:
20112         Small doc fix.
20113
20114 2005-10-31  Andy Wingo  <wingo@pobox.com>
20115
20116         * Boo!
20117
20118         * gst/gstqueue.c (gst_queue_chain): Fix downstream leaky mode.
20119
20120         * gst/gstobject.c (gst_object_dispatch_properties_changed): No
20121         need to serialize property notifications on GLib 2.8. GLib 2.6 has
20122         the possibility of deadlocks here if code calling notify() or
20123         set() has a lock that can be taken in another notify handler (ABBA
20124         with class lock and e.g. python GIL state lock).
20125
20126 2005-10-28  Julien MOUTTE  <julien@moutte.net>
20127
20128         * gst/gstbus.c: Doc updates.
20129
20130 2005-10-28  Wim Taymans  <wim@fluendo.com>
20131
20132         * docs/design/part-TODO.txt:
20133         * gst/gstiterator.c:
20134         * gst/gstsystemclock.c:
20135         * gst/gstsystemclock.h:
20136         Doc updates.
20137
20138 2005-10-28  Edward Hervey  <edward@fluendo.com>
20139
20140         * docs/gst/gstreamer-docs.sgml:
20141         * docs/gst/gstreamer-sections.txt:
20142         the GstURIType documentation page is private, it only defines GstURIType
20143         which should be defined in the GstURIHandler page
20144         
20145 2005-10-28  Thomas Vander Stichele  <thomas at apestaart dot org>
20146
20147         * gst/gstbin.c: (gst_bin_class_init):
20148         * gst/gstbin.h:
20149         * gst/gstutils.c:
20150         Documentation updates.
20151
20152 2005-10-28  Wim Taymans  <wim@fluendo.com>
20153
20154         * docs/gst/gstreamer-sections.txt:
20155         * gst/gstclock.c:
20156         * gst/gstclock.h:
20157         Documented the clocks.
20158
20159 2005-10-28  Stefan Kost  <ensonic@users.sf.net>
20160
20161         * docs/gst/gstreamer-sections.txt:
20162           move some macros to private sections
20163         * gst/gstminiobject.c:
20164         * gst/gstminiobject.h:
20165           add descriptions provided by ds and some more
20166         * gst/gstpad.h:
20167           mark macro as to be removed
20168
20169 2005-10-28  Wim Taymans  <wim@fluendo.com>
20170
20171         * docs/design/part-TODO.txt:
20172         Add an item to TODO.
20173
20174         * gst/gstiterator.c: (gst_iterator_fold),
20175         (gst_iterator_find_custom):
20176         * gst/gstiterator.h:
20177         Add iterator docs.
20178
20179 2005-10-28  Wim Taymans  <wim@fluendo.com>
20180
20181         * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
20182         (gst_base_transform_init):
20183         Don't leak class.
20184
20185         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_loop):
20186         An EOS event marks the queue as completely filled.
20187
20188 2005-10-27  Wim Taymans  <wim@fluendo.com>
20189
20190         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
20191         (gst_base_sink_do_sync), (gst_base_sink_get_position):
20192         Some more debugging.
20193
20194         * gst/base/gstbasetransform.c: (gst_base_transform_finalize),
20195         (gst_base_transform_init), (gst_base_transform_buffer_alloc),
20196         (gst_base_transform_event), (gst_base_transform_getrange),
20197         (gst_base_transform_chain):
20198         * gst/base/gstbasetransform.h:
20199         Fix debugging,
20200         Protect transform and concurrent buffer alloc with a new lock.
20201         Try not to break ABI/API.
20202
20203 2005-10-27  Wim Taymans  <wim@fluendo.com>
20204
20205         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
20206         (gst_base_src_init), (gst_base_src_query),
20207         (gst_base_src_default_newsegment),
20208         (gst_base_src_configure_segment), (gst_base_src_do_seek),
20209         (gst_base_src_send_event), (gst_base_src_event_handler),
20210         (gst_base_src_pad_get_range), (gst_base_src_loop),
20211         (gst_base_src_unlock), (gst_base_src_default_negotiate),
20212         (gst_base_src_start), (gst_base_src_deactivate),
20213         (gst_base_src_activate_push), (gst_base_src_change_state):
20214         Move some stuff around and cleanup things.
20215
20216 2005-10-27  Tim-Philipp Müller  <tim at centricular dot net>
20217
20218         * gst/base/gstbasesrc.c: (gst_base_src_query):
20219           Add missing break statements.
20220
20221 2005-10-27  Wim Taymans  <wim@fluendo.com>
20222
20223         * check/gst/gstbin.c: (GST_START_TEST):
20224         An extra refcount is taken in basesrc.
20225
20226         * gst/base/gstbasesrc.c: (gst_base_src_init), (gst_base_src_query),
20227         (gst_base_src_get_range), (gst_base_src_pad_get_range),
20228         (gst_base_src_loop):
20229         Small cleanups, check for flushing after being unlocked from the 
20230         LIVE_LOCK. take refcounts correctly (not yet everywhere).
20231         Don't send out EOS when going to READY.
20232
20233 2005-10-27  Wim Taymans  <wim@fluendo.com>
20234
20235         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
20236         (gst_base_sink_get_position):
20237         Some more debug.
20238
20239         * gst/gstbin.c: (message_check), (bin_replace_message),
20240         (bin_remove_messages), (is_eos), (gst_bin_add_func),
20241         (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
20242         (bin_query_duration_init), (bin_query_duration_fold),
20243         (bin_query_duration_done), (bin_query_generic_fold),
20244         (gst_bin_query):
20245         * tools/gst-launch.c: (main):
20246         Remove old option.
20247
20248 2005-10-26  Stefan Kost  <ensonic@users.sf.net>
20249
20250         * examples/controller/audio-example.c: (main):
20251         * examples/queue/queue.c: (event_loop):
20252         * gst/base/gstbasetransform.h:
20253         * gst/gstelement.c: (gst_element_send_event):
20254         * gst/gstevent.h:
20255         * gst/gstpad.c: (gst_pad_send_event):
20256           fixing examples
20257           fixing docs typos
20258           changing log priority in error situations
20259
20260 2005-10-25  Wim Taymans  <wim@fluendo.com>
20261
20262         * gst/gstbin.c: (message_check), (bin_replace_message),
20263         (bin_remove_messages), (is_eos), (gst_bin_add_func),
20264         (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
20265         (bin_query_duration_init), (bin_query_duration_fold),
20266         (bin_query_duration_done), (bin_query_generic_fold),
20267         (gst_bin_query):
20268         Some doc and debug updates.
20269         Cache previously requested query DURATION for speed. invalidate
20270         cached duration if element posts a DURATION message.
20271
20272 2005-10-25  Wim Taymans  <wim@fluendo.com>
20273
20274         * docs/design/part-TODO.txt:
20275         Update TODO.
20276
20277         * gst/gstbin.c: (message_check), (bin_replace_message),
20278         (bin_remove_messages), (is_eos), (gst_bin_add_func),
20279         (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
20280         (bin_query_duration_init), (bin_query_duration_fold),
20281         (bin_query_duration_done), (bin_query_generic_fold),
20282         (gst_bin_query):
20283         Handle SEGMENT_START/DONE messages correctly.
20284         More evolved query algorithm that handles duration queries
20285         correctly.
20286
20287         * gst/gstelement.c: (gst_element_send_event), (gst_element_query),
20288         (gst_element_get_state_func), (gst_element_abort_state),
20289         (gst_element_commit_state), (gst_element_lost_state):
20290         Some more debugging.
20291
20292         * gst/gstmessage.h:
20293         Added doc.
20294
20295 2005-10-25  Wim Taymans  <wim@fluendo.com>
20296
20297         * gst/base/gstbasesink.c: (gst_base_sink_get_position):
20298         Don't use invalid stream_time.
20299
20300         * gst/gstevent.c: (gst_event_new_newsegment):
20301         stream_time in newsegment cannot be undefined.
20302
20303 2005-10-24  Wim Taymans  <wim@fluendo.com>
20304
20305         * gst/gstbus.c:
20306         Doc fix.
20307
20308         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
20309         (gst_queue_loop):
20310         Fix potential deadlock when QUEUE_LOCK is taken before STREAM_LOCK.
20311
20312 2005-10-24  Stefan Kost  <ensonic@users.sf.net>
20313
20314         * docs/libs/tmpl/gstdparam.sgml:
20315         * docs/libs/tmpl/gstdplinint.sgml:
20316         * docs/libs/tmpl/gstdpman.sgml:
20317         * docs/libs/tmpl/gstdpsmooth.sgml:
20318         * docs/libs/tmpl/gstunitconvert.sgml:
20319           these are obsolete
20320
20321 2005-10-24  Thomas Vander Stichele  <thomas at apestaart dot org>
20322
20323         * configure.ac:
20324           back to HEAD
20325
20326 === release 0.9.4 ===
20327
20328 2005-10-23  Thomas Vander Stichele  <thomas at apestaart dot org>
20329
20330         * configure.ac:
20331           releasing 0.9.4, "Tyrannosaurus Rex"
20332
20333 2005-10-23  Tim-Philipp Müller  <tim at centricular dot net>
20334
20335         * gst/elements/gstfilesink.c: (gst_file_sink_do_seek),
20336         (gst_file_sink_get_current_offset):
20337           Use fseeko() and ftello() if available. When falling back on
20338           lseek() to get the current offset, fflush() first to make sure
20339           everything is up-to-date and we get the right offset.
20340
20341 2005-10-23  Thomas Vander Stichele  <thomas at apestaart dot org>
20342
20343         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
20344         * gst/base/gstbasesrc.c: (gst_base_src_loop):
20345         * gst/gsterror.c: (_gst_stream_errors_init):
20346         * gst/gsterror.h:
20347         * gst/gstqueue.c: (gst_queue_loop):
20348         * po/POTFILES.in:
20349           remove prematurely added error category and clean up the instances
20350
20351 2005-10-21  Wim Taymans  <wim@fluendo.com>
20352
20353         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
20354         (gst_base_sink_get_position), (gst_base_sink_query),
20355         (gst_base_sink_change_state):
20356         Simply set the right flag when going to playing, that's all
20357         we need to do instead of calling a function inside the object
20358         lock (that could take the lock as well and deadlock)
20359
20360 2005-10-21  Wim Taymans  <wim@fluendo.com>
20361
20362         * gst/base/gstbasesrc.c: (gst_base_src_do_seek),
20363         (gst_base_src_loop):
20364         Don't warn, the peer element knows what to do best when
20365         the seek failed, it might try something else.
20366
20367 2005-10-21  Wim Taymans  <wim@fluendo.com>
20368
20369         * gst/base/gstbasesrc.c: (gst_base_src_init),
20370         (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start):
20371         Fix seeking.
20372
20373 2005-10-21  Wim Taymans  <wim@fluendo.com>
20374
20375         * docs/design/part-segments.txt:
20376         More docs.
20377
20378         * gst/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
20379         Correctly set caps, even on the subbufer.
20380
20381 2005-10-21  Wim Taymans  <wim@fluendo.com>
20382
20383         * docs/gst/gstreamer-docs.sgml:
20384         * docs/gst/gstreamer-sections.txt:
20385         * gst/gstelement.h:
20386         * gst/gstevent.c:
20387         * gst/gstevent.h:
20388         * gst/gstmessage.h:
20389         * gst/gstpad.h:
20390         * gst/gstparse.h:
20391         * gst/gsttask.c: (gst_task_finalize), (gst_task_func):
20392         * gst/gsttask.h:
20393         * gst/gstutils.c:
20394         * gst/gstutils.h:
20395         And 2% more doc coverage.
20396
20397 2005-10-21  Andy Wingo  <wingo@pobox.com>
20398
20399         * gst/base/gstbasesrc.c (gst_base_src_query): Clean up percent
20400         position reporting.
20401
20402 2005-10-20  Wim Taymans  <wim@fluendo.com>
20403
20404         * gst/gsterror.c: (gst_error_get_message):
20405         * gst/gstparse.h:
20406         * gst/gstquery.h:
20407         * gst/gststructure.c:
20408         * gst/gsttrace.c:
20409         * gst/gstutils.c:
20410         More docs.
20411
20412 2005-10-20  Wim Taymans  <wim@fluendo.com>
20413
20414         * gst/gstbuffer.h:
20415         * gst/gstpad.c:
20416         * gst/gstparse.c:
20417         Another 1% more coverage.
20418
20419 2005-10-20  Wim Taymans  <wim@fluendo.com>
20420
20421         * docs/gst/gstreamer-sections.txt:
20422         * gst/gstelement.c: (gst_element_get_state_func),
20423         (gst_element_abort_state), (gst_element_commit_state),
20424         (gst_element_lost_state):
20425         * gst/gstevent.h:
20426         * gst/gstquery.c: (gst_query_set_position),
20427         (gst_query_parse_position), (gst_query_set_duration),
20428         (gst_query_parse_duration), (gst_query_new_convert):
20429         * gst/gstutils.c:
20430         Yay! 1% more docs coverage.
20431
20432 2005-10-20  Wim Taymans  <wim@fluendo.com>
20433
20434         * gst/gstpad.h:
20435         * gst/gstquery.c: (gst_query_set_position),
20436         (gst_query_parse_position), (gst_query_set_duration),
20437         (gst_query_parse_duration), (gst_query_new_convert):
20438         * gst/gstquery.h:
20439         * gst/gstutils.c: (gst_element_query_convert):
20440         * gst/gstutils.h:
20441         Docs and consistency fixes.
20442
20443 2005-10-20  Wim Taymans  <wim@fluendo.com>
20444
20445         * gst/gsttask.c:
20446         * gst/gsttask.h:
20447         More docs.
20448
20449 2005-10-20  Wim Taymans  <wim@fluendo.com>
20450
20451         * gst/gstbin.c: (message_check), (bin_replace_message),
20452         (bin_remove_messages), (is_eos), (gst_bin_add_func),
20453         (update_degree), (gst_bin_sort_iterator_next),
20454         (gst_bin_change_state_func), (gst_bin_dispose), (bin_bus_handler):
20455         Reworked the message handling a bit, cache the messages instead of
20456         only the senders. alows us to do more in the future.
20457
20458 2005-10-20  Wim Taymans  <wim@fluendo.com>
20459
20460         * docs/design/part-TODO.txt:
20461         Update TODO
20462
20463         * gst/base/gstbasesink.c: (gst_base_sink_get_position),
20464         (gst_base_sink_query):
20465         Don't use clock time to report position when in EOS.
20466
20467 2005-10-20  Tim-Philipp Müller  <tim at centricular dot net>
20468
20469         * tools/gst-inspect.c: (print_interfaces),
20470         (print_element_properties_info), (print_element_info):
20471           Fix interface output with gst-inspect -a; don't print
20472           newlines after double/float properties.
20473
20474 2005-10-20  Wim Taymans  <wim@fluendo.com>
20475
20476         * gst/base/gstbasesink.c: (gst_base_sink_get_position),
20477         (gst_base_sink_query):
20478         Speed up current position calculation.
20479
20480         * gst/base/gstbasesrc.c: (gst_base_src_query),
20481         (gst_base_src_default_newsegment):
20482         Correctly set stream position in newsegment.
20483
20484         * gst/gstbin.c: (gst_bin_add_func), (add_to_queue),
20485         (update_degree), (gst_bin_sort_iterator_next),
20486         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free):
20487         * gst/gstmessage.c: (gst_message_new_custom):
20488         Clean up debugging info
20489
20490         * gst/gstqueue.c: (gst_queue_link_src), (gst_queue_chain),
20491         (gst_queue_loop), (gst_queue_handle_src_query):
20492         Pause task faster.
20493
20494 2005-10-19  Wim Taymans  <wim@fluendo.com>
20495
20496         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
20497         (gst_base_sink_handle_object), (gst_base_sink_query), (do_playing):
20498         Fix query handling again.
20499
20500 2005-10-19  Wim Taymans  <wim@fluendo.com>
20501
20502         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
20503         (gst_base_sink_handle_object), (gst_base_sink_query), (do_playing):
20504         * gst/base/gstbasesrc.c: (gst_base_src_query):
20505         * gst/elements/gstfilesink.c: (gst_file_sink_query):
20506         * gst/elements/gsttypefindelement.c:
20507         (gst_type_find_handle_src_query), (find_element_get_length),
20508         (gst_type_find_element_activate):
20509         API change fix.
20510
20511         * gst/gstquery.c: (gst_query_new_position),
20512         (gst_query_set_position), (gst_query_parse_position),
20513         (gst_query_new_duration), (gst_query_set_duration),
20514         (gst_query_parse_duration), (gst_query_set_segment),
20515         (gst_query_parse_segment):
20516         * gst/gstquery.h:
20517         Bundling query position/duration is not a good idea since duration
20518         does not change much and we don't want to recalculate it for every
20519         position query, so they are separated again..
20520         Base value in segment query is not needed.
20521
20522         * gst/gstqueue.c: (gst_queue_handle_src_query):
20523         * gst/gstutils.c: (gst_element_query_position),
20524         (gst_element_query_duration), (gst_pad_query_position),
20525         (gst_pad_query_duration):
20526         * gst/gstutils.h:
20527         Updates for query API change.
20528         Added some docs here and there.
20529
20530 2005-10-19  Thomas Vander Stichele  <thomas at apestaart dot org>
20531
20532         * check/gst/gstbin.c: (GST_START_TEST):
20533         * check/gst/gstghostpad.c: (GST_START_TEST):
20534         * check/pipelines/cleanup.c: (GST_START_TEST):
20535           wait on thread to die so we can check refcount correctly
20536
20537 2005-10-18  Wim Taymans  <wim@fluendo.com>
20538
20539         * check/pipelines/stress.c: (GST_START_TEST):
20540         Make check a little more time consuming.
20541
20542 2005-10-18  Wim Taymans  <wim@fluendo.com>
20543
20544         * check/Makefile.am:
20545         * check/pipelines/stress.c: (GST_START_TEST),
20546         (simple_launch_lines_suite), (main):
20547         Small state change torture test.
20548
20549         * docs/design/part-states.txt:
20550         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
20551         (gst_base_sink_handle_object), (gst_base_sink_event), (do_playing),
20552         (gst_base_sink_change_state):
20553         Never take state lock from streaming thread, clean up ugly
20554         hacks. Unfortunatly core does not yet support nice ways to
20555         async commit state.
20556         
20557         * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_recalc_state),
20558         (bin_bus_handler):
20559         Start state recalc if a STATE_DIRTY message is posted, but only
20560         on the toplevel bin.
20561
20562         * gst/gstelement.c: (gst_element_sync_state_with_parent),
20563         (gst_element_get_state_func), (gst_element_abort_state),
20564         (gst_element_commit_state), (gst_element_lost_state),
20565         (gst_element_set_state_func), (gst_element_change_state):
20566         * gst/gstelement.h:
20567         State variables are now protected with the LOCK, the state
20568         lock is only used to serialize _set_state().
20569
20570 2005-10-18  Wim Taymans  <wim@fluendo.com>
20571
20572         * check/gst/gstbin.c: (GST_START_TEST):
20573         * check/gst/gstmessage.c: (GST_START_TEST):
20574         * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
20575         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_recalc_func),
20576         (bin_bus_handler):
20577         * gst/gstelement.c: (gst_element_abort_state),
20578         (gst_element_commit_state), (gst_element_lost_state):
20579         * gst/gstmessage.c: (gst_message_new_state_changed),
20580         (gst_message_new_state_dirty), (gst_message_new_segment_start),
20581         (gst_message_new_segment_done), (gst_message_new_duration),
20582         (gst_message_parse_state_changed),
20583         (gst_message_parse_segment_start),
20584         (gst_message_parse_segment_done), (gst_message_parse_duration):
20585         * gst/gstmessage.h:
20586         * tools/gst-launch.c: (event_loop):
20587         Seriously, this is better than a previous commit as we only need
20588         to notify the fact that an element changed state in a streaming
20589         thread, marking the state of the parents dirty, hence the 
20590         STATE_DIRTY message instead of abusing a boolean in a STATE_CHANGE
20591         message.
20592
20593 2005-10-18  Wim Taymans  <wim@fluendo.com>
20594
20595         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_get_state_func),
20596         (gst_bin_recalc_func):
20597         * gst/gstelement.c: (gst_element_set_clock),
20598         (gst_element_abort_state), (gst_element_lost_state):
20599         Cleanups, prepare for state change fixes.
20600
20601 2005-10-18  Wim Taymans  <wim@fluendo.com>
20602
20603         * gst/gstbin.h:
20604         * gst/gstelement.c: (gst_element_class_init),
20605         (gst_element_set_state), (gst_element_set_state_func):
20606         * gst/gstelement.h:
20607         Pending ABI changes.
20608         GThreadPool in GstBinClass to monitor async state changes.
20609         state_cookie in GstElement to detect concurrent gst/set state.
20610         set_state is now virtual too in case a very complicated element
20611         has to be constructed.
20612
20613 2005-10-18  Wim Taymans  <wim@fluendo.com>
20614
20615         * check/gst/gstbin.c: (GST_START_TEST):
20616         * check/gst/gstmessage.c: (GST_START_TEST):
20617         * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
20618         * gst/gstbin.c: (bin_bus_handler):
20619         * gst/gstelement.c: (gst_element_commit_state),
20620         (gst_element_lost_state):
20621         * gst/gstmessage.c: (gst_message_new_state_changed),
20622         (gst_message_new_segment_start), (gst_message_new_segment_done),
20623         (gst_message_new_duration), (gst_message_parse_state_changed),
20624         (gst_message_parse_segment_start),
20625         (gst_message_parse_segment_done), (gst_message_parse_duration):
20626         * gst/gstmessage.h:
20627         * tools/gst-launch.c: (event_loop):
20628         Make messages future proof.
20629         state-change gets a flag if it was a message comming from the
20630         streaming thread.
20631         segment-start/stop can also be specified in other formats.
20632         A message to notify an app that a pipeline changed playback 
20633         duration.
20634         Also fix a GstMessage leak in -launch
20635
20636 2005-10-18  Andy Wingo  <wingo@pobox.com>
20637
20638         * gst/gstelement.c (gst_element_dispose): More helpful message.
20639
20640 2005-10-18  Thomas Vander Stichele  <thomas at apestaart dot org>
20641
20642         reviewed by: <delete if not using a buddy>
20643
20644         * common/gtk-doc.mak:
20645
20646 2005-10-18  Thomas Vander Stichele  <thomas at apestaart dot org>
20647
20648         * gst/gstregistry.c: (gst_registry_scan_path_level):
20649           unref a plug-in we get that was already initialized
20650
20651 2005-10-18  Stefan Kost  <ensonic@users.sf.net>
20652
20653         * docs/gst/gstreamer-sections.txt:
20654         * docs/libs/gstreamer-libs-sections.txt:
20655         * gst/gstelement.h:
20656           add new api entries
20657           hide internal macro
20658
20659 2005-10-17  Andy Wingo  <wingo@pobox.com>
20660
20661         * gst/base/gstcollectpads.c (gst_collectpads_chain): Slight
20662         cleanup.
20663
20664         * gst/Makefile.am (gstenumtypes.c): Threadsafe now.
20665
20666         * gst/gstevent.c (gst_event_new, gst_event_finalize): LOG.
20667
20668         * gst/gstelement.c (gst_element_get_state_func): s/INFO/DEBUG/.
20669         (gst_element_get_state_func): Better debug message.
20670         (gst_element_commit_state): s/INFO/DEBUG/.
20671         (gst_element_lost_state, gst_element_change_state): 
20672
20673         * gst/gstmessage.c (gst_message_init): s/INFO/LOG/.
20674         (gst_message_new_custom): s/INFO/LOG/.
20675
20676 2005-10-17  Michael Smith <msmith@fluendo.com>
20677
20678         * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
20679           Check if end time is valid using end time, not start time.
20680
20681 2005-10-17  Stefan Kost  <ensonic@users.sf.net>
20682
20683         * check/gst-libs/controller.c: (GST_START_TEST),
20684         (gst_controller_suite):
20685         * libs/gst/controller/gstcontroller.c:
20686         (gst_controlled_property_set_interpolation_mode):
20687         * libs/gst/controller/gstcontroller.h:
20688         * libs/gst/controller/gstinterpolation.c:
20689         * testsuite/controller/.cvsignore:
20690         * testsuite/controller/Makefile.am:
20691         * testsuite/controller/interpolator.c:
20692           merge controller testsuites
20693           fix broken tests
20694           remove mem-chunk from docs
20695
20696 2005-10-17  Thomas Vander Stichele  <thomas at apestaart dot org>
20697
20698         * gst/gstmemchunk.c:
20699         * gst/gstmemchunk.h:
20700         * gst/gsttrashstack.c:
20701         * gst/gsttrashstack.h:
20702           out.  get out.  you're fired.  to the Attic !
20703
20704 2005-10-17  Thomas Vander Stichele  <thomas at apestaart dot org>
20705
20706         * gst/gstcaps.c: (gst_caps_intersect):
20707           fix signedness issues in a (hopefully) correct way
20708         * gst/gstelement.c: (gst_element_pads_activate):
20709           some debugging
20710         * gst/gstobject.c: (gst_object_set_parent):
20711           some debugging
20712
20713 2005-10-17  Julien MOUTTE  <julien@moutte.net>
20714
20715         * gst/gstvalue.h: Fix prototypes.
20716
20717 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
20718
20719         * docs/gst/gstreamer-sections.txt:
20720         * gst/gst.c: (gst_version_string):
20721         * gst/gst.h:
20722         * gst/gstversion.h.in:
20723         * win32/common/libgstreamer.def:
20724           add gst_version_string ()
20725
20726 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
20727
20728         * configure.ac:
20729           clean up further
20730         * gst/gst.c: (init_post):
20731         * win32/common/config.h.in:
20732           it's PLUGINDIR now
20733         * gst/gstcaps.c: (gst_caps_intersect):
20734           use gint64, the range could be bigger than a guint
20735
20736 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
20737
20738         * gst/gstclock.h:
20739           document potential problem in 2038
20740
20741 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
20742
20743         * gst/gstcaps.c: (gst_caps_intersect):
20744           Fix guint j diving under 0
20745
20746 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
20747
20748         * configure.ac:
20749         * win32/common/config.h:
20750         * win32/common/config.h.in:
20751           check for process.h, declares getpid() on Windows
20752         * gst/gstinfo.c:
20753           include process.h if we have it
20754         * gst/gstmemchunk.c: (populate), (gst_mem_chunk_new):
20755         * gst/gstmemchunk.h:
20756           fix signedness issues
20757         * win32/common/libgstreamer.def:
20758           fix get_type's
20759
20760 2005-10-16  Julien MOUTTE  <julien@moutte.net>
20761
20762         * gst/gstcaps.c: (gst_caps_intersect): Fix a bad bug with a simple
20763         fix. Because of unsigned ints, caps intersection was going nuts and
20764         trying to access structures with G_MAXUINT index. That fixes
20765         videotestsrc ! ffmpegcolorspace ! fakesink
20766         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked): logs
20767         consistency.
20768
20769 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
20770
20771         * configure.ac:
20772           use the gettext macro
20773         * gst/elements/gstelements.c:
20774         * gst/gst.c:
20775         * gst/indexers/gstindexers.c:
20776           update for GST_PACKAGE_NAME, GST_PACKAGE_ORIGIN
20777         * win32/common/config.h:
20778           updated config.h
20779         * win32/common/config.h.in:
20780           add the template to generate config.h
20781         * win32/common/gstenumtypes.c:
20782         * win32/common/gstversion.h:
20783           updated copies
20784
20785 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
20786
20787         * gst/gst.c: (gst_version):
20788         * gst/gstversion.h.in:
20789           add the nano
20790
20791 2005-10-15  Tim-Philipp Müller  <tim at centricular dot net>
20792
20793         * gst/gstevent.h:
20794           Oops, add missing closing bracket.
20795
20796 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
20797
20798         * configure.ac:
20799           use common m4's for argument checking
20800
20801 2005-10-15  Tim-Philipp Müller  <tim at centricular dot net>
20802
20803         * docs/gst/gstreamer-sections.txt:
20804         * gst/gstevent.h:
20805           Add GST_EVENT_TYPE_NAME() macro.
20806
20807 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
20808
20809         * gst/gstinfo.c:
20810         * gst/gstpluginfeature.c:
20811         * gst/gsttask.c:
20812           privatize more symbols
20813
20814 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
20815
20816         * configure.ac:
20817           add srcdir, builddir includes to GST_ALL_CFLAGS, since
20818           everything that uses GStreamer API should have the includes
20819
20820 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
20821
20822         * docs/gst/gstreamer-sections.txt:
20823         * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
20824         * gst/gstvalue.h:
20825           give each value a _get_type, removes the DATA exports
20826
20827 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
20828
20829         * gst/gst.c:
20830         * gst/gst.h:
20831           remove _gst_registry_auto_load, not used anymore
20832         * gst/gstbin.c: (gst_bin_get_type):
20833         * gst/gstbin.h:
20834         * gst/gstelement.c: (gst_element_get_type):
20835         * gst/gstelement.h:
20836         * gst/gstobject.c: (gst_object_get_type):
20837         * gst/gstobject.h:
20838         * gst/gstpad.c: (gst_pad_get_type):
20839         * gst/gstpad.h:
20840           make _get_type functions similar, fixes data export from library
20841
20842 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
20843
20844         * configure.ac:
20845           correctly make conditionals
20846         * gst/elements/Makefile.am:
20847         * gst/elements/gstelements.c:
20848           fix typo causing fdsrc not to build
20849
20850 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
20851
20852         * testsuite/Makefile.am:
20853         * testsuite/bytestream/.cvsignore:
20854         * testsuite/bytestream/Makefile.am:
20855         * testsuite/bytestream/filepadsink.c:
20856         * testsuite/bytestream/gstbstest.c:
20857         * testsuite/bytestream/test1.c:
20858         * testsuite/bytestream/testfile1:
20859         * testsuite/caps/normalisation.c:
20860         * testsuite/caps/random.c: (main):
20861         * testsuite/cleanup/.cvsignore:
20862         * testsuite/cleanup/Makefile.am:
20863         * testsuite/cleanup/cleanup1.c:
20864         * testsuite/cleanup/cleanup2.c:
20865         * testsuite/cleanup/cleanup3.c:
20866         * testsuite/cleanup/cleanup4.c:
20867         * testsuite/cleanup/cleanup5.c:
20868         * testsuite/controller/interpolator.c:
20869         * testsuite/debug/printf_extension.c: (main):
20870         * testsuite/elements/tee.c:
20871         * testsuite/negotiation/.cvsignore:
20872         * testsuite/negotiation/Makefile.am:
20873         * testsuite/negotiation/pad_link.c:
20874         * testsuite/pad/Makefile.am:
20875         * testsuite/pad/chainnopull.c:
20876         * testsuite/pad/getnopush.c:
20877         * testsuite/pad/link.c:
20878         * testsuite/refcounting/sched.c: (create_pipeline):
20879         * testsuite/registry/Makefile.am:
20880         * testsuite/registry/gst-print-formats.c:
20881         * testsuite/schedulers/.cvsignore:
20882         * testsuite/schedulers/142183-2.c:
20883         * testsuite/schedulers/142183.c:
20884         * testsuite/schedulers/143777-2.c:
20885         * testsuite/schedulers/143777.c:
20886         * testsuite/schedulers/147713.c:
20887         * testsuite/schedulers/147819.c:
20888         * testsuite/schedulers/147894-2.c:
20889         * testsuite/schedulers/147894.c:
20890         * testsuite/schedulers/Makefile.am:
20891         * testsuite/schedulers/group_link.c:
20892         * testsuite/schedulers/queue_link.c:
20893         * testsuite/schedulers/relink.c:
20894         * testsuite/schedulers/unlink.c:
20895         * testsuite/schedulers/unref.c:
20896         * testsuite/schedulers/useless_iteration.c:
20897         * testsuite/states/bin.c:
20898           clean out/remove some stuff from the testsuite directories
20899
20900 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
20901
20902         * configure.ac:
20903           check for some headers
20904         * gst/elements/Makefile.am:
20905         * gst/elements/gstelements.c:
20906           don't compile fdsrc without sys/socket.h
20907         * gst/indexers/Makefile.am:
20908         * gst/indexers/gstindexers.c: (plugin_init):
20909           don't compile fileindex without mmap
20910
20911 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
20912
20913         * configure.ac:
20914           reorganize
20915           clean up
20916           document more
20917           remove cruft
20918         * check/Makefile.am:
20919         * docs/gst/Makefile.am:
20920         * examples/helloworld/Makefile.am:
20921         * gst/Makefile.am:
20922         * gst/base/Makefile.am:
20923         * gst/check/Makefile.am:
20924         * gst/elements/Makefile.am:
20925         * gst/indexers/Makefile.am:
20926         * gst/parse/Makefile.am:
20927         * libs/gst/controller/Makefile.am:
20928         * libs/gst/dataprotocol/Makefile.am:
20929         * examples/helloworld/helloworld.c: (event_loop):
20930           compile fixes, though it's not being compiled currently
20931
20932 2005-10-14  Tim-Philipp Müller  <tim at centricular dot net>
20933
20934         * check/gst/gsttag.c: (test_date_tags), (gst_tag_suite):
20935           Add some simple tests for the new taglist date API.
20936
20937 2005-10-14  Tim-Philipp Müller  <tim at centricular dot net>
20938
20939         * gst/elements/gstfakesink.c: (gst_fake_sink_render):
20940         * gst/elements/gstfakesrc.c: (gst_fake_src_create):
20941           Beautify 'last-message' output: print 'none' for buffer timestamps
20942           and durations if none is set; improve alignment with next messages.
20943
20944 2005-10-14  Tim-Philipp Müller  <tim at centricular dot net>
20945
20946         * gst/gstpluginfeature.c: (gst_plugin_feature_check_version):
20947         * gst/gstpluginfeature.h:
20948         * gst/gstregistry.c: (gst_default_registry_check_feature_version):
20949         * gst/gstregistry.h:
20950         * docs/gst/gstreamer-sections.txt:
20951           Add new API to check plugin feature version requirements.
20952
20953         * check/gst/gstplugin.c: (test_version_checks), (gst_plugin_suite):
20954           Some basic tests for the above.         
20955
20956 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
20957
20958         * gst/gststructure.c: (gst_structure_to_string):
20959           guard against NULL printf - happens when for example
20960           a message structure with GstClock gets serialized
20961
20962 2005-10-13  Tim-Philipp Müller  <tim at centricular dot net>
20963
20964         * gst/base/gstcollectpads.c: (gst_collectpads_event):
20965           Fix presumable copy'n'pasto.
20966
20967 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
20968
20969         * gst/elements/gstfakesrc.h:
20970         * gst/elements/gstfilesrc.c: (gst_file_src_create_read):
20971         * gst/elements/gsttypefindelement.c:
20972           fix some signedness
20973         * gst/elements/gstfilesink.c: (gst_file_sink_render):
20974           I wonder if this could actually write +2GB files before
20975
20976 2005-10-13  Andy Wingo  <wingo@pobox.com>
20977
20978         * libs/gst/dataprotocol/dataprotocol.c (gst_dp_packet_from_caps):
20979         Fix Timmeke Waymans bug.
20980         (gst_dp_caps_from_packet): Make sure we pass a NUL-terminated
20981         string of the proper length to gst_caps_from_string. There's a
20982         potential for, before this fix, that this could cause someone
20983         connecting over the network to cause a segfault if the payload is
20984         not NUL-terminated.
20985
20986 2005-10-13  Stefan Kost  <ensonic@users.sf.net>
20987
20988         * docs/design/draft-push-pull.txt:
20989         * docs/design/part-overview.txt:
20990         * docs/random/TODO-pre-0.9:
20991         * docs/random/old/ChangeLog.gstreamer:
20992         * gst/base/gstpushsrc.c:
20993         * gst/gstclock.c:
20994           fixed typos
20995
20996 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
20997
20998         * gst/glib-compat.c: (gst_flags_get_first_value):
20999         * gst/glib-compat.h:
21000         * gst/gstvalue.c: (gst_value_deserialize_int_helper),
21001         (gst_value_compare_double), (gst_value_serialize_flags):
21002           GLib 2.6 g_flags_get_first_value has a bug that triggers an
21003           infinite loop
21004
21005 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
21006
21007         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
21008         * gst/base/gstbasesrc.c: (gst_base_src_get_range):
21009           fix up debugging
21010         * tools/gst-launch.c: (event_loop):
21011           print out clock nicely
21012
21013 2005-10-13  Tim-Philipp Müller  <tim at centricular dot net>
21014
21015         * docs/gst/gstreamer-sections.txt:
21016         * gst/gsttaglist.h:
21017         * gst/gsttaglist.c: (_gst_tag_initialize), (gst_tag_list_get_date),
21018         (gst_tag_list_get_date_index):
21019           Added gst_tag_list_get_date() and gst_tag_list_get_date_index().
21020           GST_TAG_DATE now has a tag type of GST_TYPE_DATE (#170777).
21021
21022 2005-10-13  Julien MOUTTE  <julien@moutte.net>
21023
21024         * gst/base/gstcollectpads.c: (gst_collectpads_event),
21025         (gst_collectpads_chain):
21026         * gst/base/gstcollectpads.h: Handle newsegment and store informations
21027         in CollectData.
21028
21029 2005-10-13  Stefan Kost  <ensonic@users.sf.net>
21030
21031         * docs/gst/gstreamer-sections.txt:
21032         * gst/gst.c:
21033         * gst/gsterror.h:
21034         * tools/gst-inspect.c: (main):
21035         * tools/gst-launch.c: (main):
21036         * tools/gst-run.c: (main):
21037         * tools/gst-xmlinspect.c: (main):
21038           fix GOption context leaks
21039           doc fixes
21040
21041 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
21042
21043         * gst/gstbus.c:
21044           use HAVE_UNISTD_H
21045         * win32/common/config.h:
21046           update config
21047         * win32/vs6/grammar.dsp:
21048         * win32/vs6/libgstelements.dsp:
21049         * win32/vs6/libgstreamer.dsp:
21050           update vs6 files
21051
21052 2005-10-12  Thomas Vander Stichele  <thomas at apestaart dot org>
21053
21054         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
21055         * gst/base/gstbasesrc.c: (gst_base_src_query):
21056           fix more guint64<->gdouble conversions
21057
21058 2005-10-12  Thomas Vander Stichele  <thomas at apestaart dot org>
21059
21060         * Makefile.am:
21061           add win32-update target
21062         * win32/common/gstconfig.h:
21063         * win32/common/gstenumtypes.c:
21064         * win32/common/gstenumtypes.h:
21065         * win32/common/gstversion.h:
21066           add files that visual studio can't generate
21067
21068 2005-10-12  Thomas Vander Stichele  <thomas at apestaart dot org>
21069
21070         * Makefile.am:
21071           add a win32-update target
21072         * configure.ac:
21073
21074 2005-10-12  Wim Taymans  <wim@fluendo.com>
21075
21076         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
21077         (reset_degree), (gst_bin_dispose), (bin_bus_handler):
21078         * gst/gstelement.c: (gst_element_commit_state),
21079         (gst_element_set_state):
21080         Protect flags with proper lock.
21081         unref provided cached clock in dispose.
21082
21083 2005-10-12  Stefan Kost  <ensonic@users.sf.net>
21084
21085         * gst/gst.c:
21086         * gst/gstminiobject.h:
21087         * gst/gstpad.h:
21088         * win32/gstenumtypes.c: (gst_mini_object_flags_get_type):
21089           removed unused flags from miniobject
21090           doc fixes
21091
21092 2005-10-12  Wim Taymans  <wim@fluendo.com>
21093
21094         * gst/elements/gstfilesink.c: (gst_file_sink_do_seek),
21095         (gst_file_sink_event), (gst_file_sink_render):
21096         Flush before seeking.
21097
21098 2005-10-12  Andy Wingo  <wingo@pobox.com>
21099
21100         * gst/gst.c (gst_init_check): Ignore unknown options, as has
21101         always been the case.
21102
21103 2005-10-12  Stefan Kost  <ensonic@users.sf.net>
21104
21105         * check/gst/gstbin.c: (GST_START_TEST):
21106         * docs/gst/gstreamer-sections.txt:
21107         * gst/base/gstbasesink.c: (gst_base_sink_init):
21108         * gst/base/gstbasesrc.c: (gst_base_src_init),
21109         (gst_base_src_get_range), (gst_base_src_check_get_range),
21110         (gst_base_src_start), (gst_base_src_stop):
21111         * gst/base/gstbasesrc.h:
21112         * gst/elements/gstfakesrc.c: (gst_fake_src_set_property):
21113         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
21114         (bin_element_is_sink), (reset_degree), (gst_bin_element_set_state),
21115         (bin_bus_handler):
21116         * gst/gstbin.h:
21117         * gst/gstbuffer.h:
21118         * gst/gstbus.c: (gst_bus_post), (gst_bus_set_flushing):
21119         * gst/gstbus.h:
21120         * gst/gstelement.c: (gst_element_is_locked_state),
21121         (gst_element_set_locked_state), (gst_element_commit_state),
21122         (gst_element_set_state):
21123         * gst/gstelement.h:
21124         * gst/gstindex.c: (gst_index_init):
21125         * gst/gstindex.h:
21126         * gst/gstminiobject.h:
21127         * gst/gstobject.c: (gst_object_init), (gst_object_sink),
21128         (gst_object_set_parent):
21129         * gst/gstobject.h:
21130         * gst/gstpad.c: (gst_pad_set_blocked_async), (gst_pad_is_blocked),
21131         (gst_pad_get_caps_unlocked), (gst_pad_set_caps):
21132         * gst/gstpad.h:
21133         * gst/gstpadtemplate.h:
21134         * gst/gstpipeline.c: (gst_pipeline_provide_clock_func),
21135         (gst_pipeline_use_clock), (gst_pipeline_auto_clock):
21136         * gst/gstpipeline.h:
21137         * gst/indexers/gstfileindex.c: (gst_file_index_load),
21138         (gst_file_index_commit):
21139         * testsuite/bytestream/filepadsink.c: (gst_fp_sink_init):
21140         * testsuite/pad/link.c: (gst_test_src_init),
21141         (gst_test_filter_init), (gst_test_sink_init):
21142         * testsuite/states/locked.c: (main):
21143           renamed GST_FLAGS macros to GST_OBJECT_FLAGS
21144           moved bitshift from macro to enum definition
21145
21146 2005-10-12  Wim Taymans  <wim@fluendo.com>
21147
21148         * gst/base/gstbasesink.c: (gst_base_sink_handle_buffer):
21149         * gst/elements/gstfilesink.c: (gst_file_sink_event),
21150         (gst_file_sink_render):
21151         Some more debugging info.
21152
21153 2005-10-12  Wim Taymans  <wim@fluendo.com>
21154
21155         * docs/design/part-states.txt:
21156         * tools/gst-launch.c: (main):
21157         Some doc updates.
21158         Revert non-intentional change.
21159
21160 2005-10-12  Wim Taymans  <wim@fluendo.com>
21161
21162         * check/gst/gstbin.c: (GST_START_TEST):
21163         * check/gst/gstelement.c: (GST_START_TEST):
21164         * check/gst/gstevent.c: (GST_START_TEST), (test_event):
21165         * check/gst/gstghostpad.c: (GST_START_TEST):
21166         * check/gst/gstpipeline.c: (GST_START_TEST):
21167         * check/pipelines/simple_launch_lines.c: (run_pipeline):
21168         * check/states/sinks.c: (GST_START_TEST):
21169         * gst/elements/gsttypefindelement.c: (stop_typefinding):
21170         * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
21171         (gst_bin_remove_func), (gst_bin_get_state_func),
21172         (gst_bin_recalc_state), (gst_bin_change_state_func),
21173         (bin_bus_handler):
21174         * gst/gstelement.c: (gst_element_get_state_func),
21175         (gst_element_get_state), (gst_element_abort_state),
21176         (gst_element_commit_state), (gst_element_set_state),
21177         (gst_element_change_state), (gst_element_change_state_func):
21178         * gst/gstelement.h:
21179         * gst/gstpipeline.c: (gst_pipeline_class_init), (do_pipeline_seek),
21180         (gst_pipeline_provide_clock_func):
21181         * gst/gstutils.c: (gst_element_link_pads_filtered):
21182         * tools/gst-launch.c: (main):
21183         * tools/gst-typefind.c: (main):
21184         Use GstClockTime in _get_state() instead of GTimeVal.
21185         Remove old code in gstutils.c
21186
21187 2005-10-12  Andy Wingo  <wingo@pobox.com>
21188
21189         * gst/gstregistry.h (gst_registry_scan_paths): Not implemented, so
21190         removed.
21191
21192         * gst/gstpad.c (gst_pad_pause_task): Actually return FALSE if
21193         there is no task. Shouldn't affect any code, as nothing in our
21194         plugins checks this return value.
21195         (gst_pad_stop_task): Also take the stream lock if the pad has no
21196         task. Docs updated.
21197
21198 2005-10-12  Wim Taymans  <wim@fluendo.com>
21199
21200         * gst/gstpad.c: (pre_activate), (post_activate),
21201         (gst_pad_activate_pull), (gst_pad_activate_push):
21202         Cleanup activation code. Reset old state if
21203         activation failed.
21204
21205 2005-10-12  Wim Taymans  <wim@fluendo.com>
21206
21207         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
21208         (gst_base_sink_change_state):
21209         No need to prerol after receiving EOS.
21210
21211         * gst/elements/gstfakesink.c: (gst_fake_sink_event):
21212         * gst/elements/gstfakesrc.c: (gst_fake_src_event_handler):
21213         * gst/elements/gstidentity.c: (gst_identity_event):
21214         Print events more verbosely.
21215
21216 2005-10-12  Wim Taymans  <wim@fluendo.com>
21217
21218         * check/Makefile.am:
21219         * check/states/sinks.c: (GST_START_TEST), (gst_object_suite):
21220         * check/states/sinks2.c:
21221         Moved sinks2 testcode in sinks check.
21222
21223         * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
21224         (gst_bin_remove_func), (gst_bin_recalc_state),
21225         (gst_bin_change_state_func), (bin_bus_handler):
21226         Fix potential race condition when _get_state() iterated over an
21227         ASYNC element right before it posted a state completion.
21228
21229         * gst/gstclock.h:
21230         Do proper cast here.
21231
21232         * gst/gstevent.c: (gst_event_new_newsegment),
21233         (gst_event_parse_newsegment):
21234         A playback rate of 0.0 is not allowed.
21235
21236 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
21237
21238         * win32/common/config.h:
21239         * win32/common/dirent.c: (_topendir), (_treaddir), (_tclosedir),
21240         (_trewinddir), (_ttelldir), (_tseekdir):
21241         * win32/common/dirent.h:
21242         * win32/common/gtchar.h:
21243         * win32/common/libgstbase.def:
21244         * win32/common/libgstreamer.def:
21245         * win32/vs6/grammar.dsp:
21246         * win32/vs6/gst_inspect.dsp:
21247         * win32/vs6/gst_launch.dsp:
21248         * win32/vs6/gstreamer.dsw:
21249         * win32/vs6/libgstbase.dsp:
21250         * win32/vs6/libgstelements.dsp:
21251         * win32/vs6/libgstreamer.dsp:
21252           Visual Studio 6 project files, and a new common directory.
21253           Phear.
21254
21255 2005-10-11  Wim Taymans  <wim@fluendo.com>
21256
21257         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
21258         (gst_base_sink_do_sync), (gst_base_sink_query),
21259         (gst_base_sink_change_state):
21260         * gst/base/gstbasesink.h:
21261         Correctly parse newsegment info.
21262
21263 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
21264
21265         * gst/gst.c: (init_post):
21266           split plugin paths correctly
21267
21268 2005-10-11  Wim Taymans  <wim@fluendo.com>
21269
21270         * check/gst/gstevent.c: (GST_START_TEST):
21271         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
21272         (gst_base_sink_change_state):
21273         * gst/base/gstbasesrc.c: (gst_base_src_default_newsegment):
21274         * gst/base/gstbasetransform.c: (gst_base_transform_event):
21275         * gst/elements/gstfilesink.c: (gst_file_sink_event):
21276         * gst/gstevent.c: (gst_event_new_newsegment),
21277         (gst_event_parse_newsegment):
21278         * gst/gstevent.h:
21279         Added extra flag to newsegment for future API freeze.
21280         Updated check and base elements.
21281
21282 2005-10-11  Julien MOUTTE  <julien@moutte.net>
21283
21284         * gst/base/gstcollectpads.c: (gst_collectpads_init),
21285         (gst_collectpads_add_pad), (gst_collectpads_pop),
21286         (gst_collectpads_event), (gst_collectpads_chain):
21287         * gst/base/gstcollectpads.h: Handle EOS correctly.
21288
21289 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
21290
21291         * tools/gst-launch.c: (main):
21292           more null protecting
21293
21294 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
21295
21296         * gst/gst-i18n-lib.h:
21297           check for ENABLE_NLS, not GETTEXT_PACKAGE
21298         * gst/gstregistry.c: (gst_registry_add_plugin),
21299         (gst_registry_scan_path_level),
21300         (_gst_registry_remove_cache_plugins):
21301           protect possibly NULL strings
21302         * gst/parse/types.h:
21303           config.h already included before
21304         * tools/gst-inspect.c: (main):
21305           sys/wait.h also doesn�t exist on mingw, so change the ifdef check
21306           check for ENABLE_NLS, not GETTEXT_PACKAGE
21307         * tools/gst-launch.c: (main):
21308           check for ENABLE_NLS, not GETTEXT_PACKAGE
21309
21310 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
21311
21312         * configure.ac:
21313           if we don't have glib, fail before testing 2.8
21314         * gst/base/gstbasetransform.c: (gst_base_transform_change_state):
21315           fix a leak, should fix plugins-base testsuite
21316
21317 2005-10-11  Andy Wingo  <wingo@pobox.com>
21318
21319         * gst/gstpad.c (pre_activate): Renamed from pre_activate_switch,
21320         take the mode we're going to as an arg. Go head and set the mode
21321         and flushing flags now, so that if the activate function starts a
21322         thread all the flags will be in the right state.
21323         (post_activate): Renamed also. Just handle making sure streaming
21324         finishes for the deactivation case, and setting the deactivated
21325         mode.
21326         (gst_pad_set_active): Complain loudly if deactivation fails.
21327         (gst_pad_activate_pull): Adapt to pre/post_activate changes.
21328         (gst_pad_activate_push): Adapt to pre/post_activate changes,
21329         remove the terrible hack.
21330
21331 2005-10-11  Wim Taymans  <wim@fluendo.com>
21332
21333         * gst/gstbin.c: (gst_bin_init), (gst_bin_provide_clock_func),
21334         (is_eos), (gst_bin_add_func), (gst_bin_remove_func),
21335         (gst_bin_recalc_state), (gst_bin_change_state_func),
21336         (gst_bin_dispose), (bin_bus_handler):
21337         * gst/gstbin.h:
21338         Prepare to make current EOS message queue more generic.
21339         Fix some typos.
21340
21341         * gst/gstevent.c: (gst_event_new_newsegment),
21342         (gst_event_parse_newsegment):
21343         * gst/gstevent.h:
21344         Rename base to stream_time.
21345
21346         * gst/gstmessage.h:
21347         Fix typo in docs.
21348
21349 2005-10-11  Wim Taymans  <wim@fluendo.com>
21350
21351         * gst/gstbin.c: (gst_bin_init), (gst_bin_provide_clock_func),
21352         (gst_bin_add_func), (gst_bin_remove_func), (gst_bin_recalc_state),
21353         (gst_bin_change_state_func), (bin_bus_handler):
21354         * gst/gstbin.h:
21355         Work on proper clock selection.
21356
21357 2005-10-11  Edward Hervey  <edward@fluendo.com>
21358
21359         * libs/gst/controller/gstcontroller.c: (gst_controller_remove_properties_list): 
21360         * libs/gst/controller/gstcontroller.h:
21361         Added GList* version of _remove_properties() in order to be able to wrap
21362         it in bindings.
21363
21364 2005-10-11  Wim Taymans  <wim@fluendo.com>
21365
21366         * docs/design/part-states.txt:
21367         Some more docs.
21368
21369         * gst/gstbin.c: (gst_bin_set_clock_func), (gst_bin_recalc_state),
21370         (gst_bin_change_state_func), (bin_bus_handler):
21371         Doc updates. Don't distribute the same clock over and over again.
21372
21373         * gst/gstclock.c:
21374         * gst/gstclock.h:
21375         Doc updates.
21376
21377         * gst/gstpad.c: (gst_flow_get_name), (gst_flow_to_quark),
21378         (gst_pad_get_type), (gst_pad_push), (gst_pad_push_event),
21379         (gst_pad_send_event):
21380         * gst/gstpad.h:
21381         Make probe emission threadsafe again.
21382         Register quarks and move _get_name() from utils.
21383         Doc updates.
21384
21385         * gst/gstpipeline.c: (gst_pipeline_class_init),
21386         (gst_pipeline_change_state), (gst_pipeline_provide_clock_func):
21387         Only redistribute the clock of it changed.
21388
21389         * gst/gstsystemclock.h:
21390         Doc updates. 
21391
21392         * gst/gstutils.c:
21393         * gst/gstutils.h:
21394         Moved the _flow_get_name() to GstPad.
21395
21396 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
21397
21398         * check/gst-libs/gdp.c: (GST_START_TEST):
21399         * check/gst/gstcaps.c: (GST_START_TEST):
21400         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_crc),
21401         (gst_dp_dump_byte_array), (gst_dp_header_from_buffer),
21402         (gst_dp_packet_from_caps):
21403           fix more valgrind warnings before turning up the heat
21404
21405 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
21406
21407         * gst/parse/grammar.y:
21408           some cleanup before the hacking
21409
21410 2005-10-10  Thomas Vander Stichele  <thomas at apestaart dot org>
21411
21412         * gst/base/gstbasesrc.c: (gst_base_src_query):
21413           use conversions
21414         * gst/gstutils.c: (gst_guint64_to_gdouble),
21415         (gst_gdouble_to_guint64), (gst_util_uint64_scale):
21416         * gst/gstutils.h:
21417           externalize, basesrc uses it
21418           obviously the implementation needs testing
21419
21420 2005-10-10  Wim Taymans  <wim@fluendo.com>
21421
21422         * tests/sched/Makefile.am:
21423         * tests/sched/sort.c: (make_pipeline1), (make_pipeline2),
21424         (make_pipeline3), (make_pipeline4), (print_elem), (main):
21425
21426 2005-10-10  Thomas Vander Stichele  <thomas at apestaart dot org>
21427
21428         * gst/gstutils.c: (guint64_to_gdouble), (gst_util_uint64_scale):
21429           apparently converting from guint64 to double is not implemented
21430           on MSVC
21431
21432 2005-10-10  Wim Taymans  <wim@fluendo.com>
21433
21434         * check/Makefile.am:
21435         * check/generic/states.c: (GST_START_TEST):
21436         * check/gst/gstbin.c: (GST_START_TEST):
21437         * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
21438         * check/states/sinks.c: (GST_START_TEST):
21439         * check/states/sinks2.c: (GST_START_TEST), (gst_object_suite),
21440         (main):
21441         Check fixes, use API as stated in design docs, remove hacks.
21442
21443         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
21444         (gst_base_sink_change_state):
21445         Catch stopping our task while we're shutting down.
21446
21447         * gst/gstbin.c: (gst_bin_init), (gst_bin_add_func),
21448         (gst_bin_remove_func), (gst_bin_get_state_func),
21449         (gst_bin_recalc_state), (gst_bin_change_state_func),
21450         (bin_bus_handler):
21451         * gst/gstbin.h:
21452         * gst/gstelement.c: (gst_element_init),
21453         (gst_element_get_state_func), (gst_element_abort_state),
21454         (gst_element_commit_state), (gst_element_lost_state),
21455         (gst_element_set_state), (gst_element_change_state),
21456         (gst_element_change_state_func):
21457         * gst/gstelement.h:
21458         New state change algorithm (see #318116)
21459
21460         * gst/gstpipeline.c: (gst_pipeline_class_init),
21461         (gst_pipeline_init), (gst_pipeline_set_property),
21462         (gst_pipeline_get_property), (do_pipeline_seek),
21463         (gst_pipeline_change_state), (gst_pipeline_provide_clock_func):
21464         * gst/gstpipeline.h:
21465         Remove crude state change hacks.
21466
21467         * gst/gstutils.h:
21468         Remove crude hacks.
21469
21470         * tools/gst-launch.c: (main):
21471         Fixes for state change. Needs some more work to fully use the
21472         new stuff.
21473
21474 2005-10-10  Andy Wingo  <wingo@pobox.com>
21475
21476         * tests/Makefile.am (noinst_PROGRAMS): No more init.c.
21477
21478         * gst/gst.c (G_OPTION_FLAG_NO_ARG): Apparently GLib 2.8 requires
21479         this flag, but it's not even in GLib 2.6. Odd. Hack around the
21480         issue.
21481
21482 2005-10-10  Tim-Philipp Müller  <tim at centricular dot net>
21483
21484         * gst/gstiterator.c: (gst_iterator_new):
21485           Fix my previous commit: GTypes passed to gst_iterator_new()
21486           can be fundamental types.
21487
21488 2005-10-10  Wim Taymans  <wim@fluendo.com>
21489
21490         * gst/gstelement.c: (gst_element_iterate_pad_list),
21491         (gst_element_iterate_pads), (gst_element_iterate_src_pads),
21492         (gst_element_iterate_sink_pads):
21493         Use src/sink pads lists for the respective iterators instead
21494         of filtering.
21495
21496 2005-10-10  Andy Wingo  <wingo@pobox.com>
21497
21498         Merged in popt removal + GOption addition patch from Ronald, bug
21499         #169772.
21500
21501         * docs/gst/gstreamer-sections.txt: Add STATE_(UN)LOCK_FULL, move
21502         GstElement macros around, remove popt-related symbols, add goption
21503         stuff.
21504
21505         * configure.ac: Remove popt checks, require GLib 2.6 for GOption.
21506         
21507         * docs/gst/Makefile.am:
21508         * docs/libs/Makefile.am: No POPT_CFLAGS.
21509         
21510         * examples/manual/Makefile.am:
21511         * docs/manual/basics-init.xml: Doc updates with an example.
21512         
21513         * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
21514         (gst_init), (parse_one_option), (parse_goption_arg):
21515         * gst/gst.h: Removed gst_init_with_popt_table and friends. Took a
21516         bit of hand merging and debugging to get the GOption stuff working
21517         tho.
21518         
21519         * tests/Makefile.am:
21520         * tools/Makefile.am:
21521         * tools/gst-inspect.c: (main):
21522         * tools/gst-launch.c: (main):
21523         * tools/gst-run.c: (main):
21524         * tools/gst-xmlinspect.c: (main): Thanks Ronald!
21525
21526 2005-10-10  Tim-Philipp Müller  <tim at centricular dot net>
21527
21528         * gst/gstiterator.c: (gst_iterator_new):
21529           Add assertions to make sure passed GType is likely to really
21530           be a GType (as the compiler won't catch it if the size and
21531           GType arguments get mixed up, see #318447).
21532
21533 2005-10-10  Josef Zlomek  <josef dot zlomek at xeris dot cz>
21534
21535         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
21536
21537         * gst/gstbin.c: (gst_bin_iterate_sorted):
21538           Pass GType and size arguments to gst_iterator_new() in the right
21539           order (maybe we should make _new() take the GType as first argument
21540           just like _new_list()?) (#318447).
21541           
21542
21543 2005-10-10  Wim Taymans  <wim@fluendo.com>
21544
21545         * gst/gstelement.c: (gst_element_finalize):
21546         And free the GStaticRecMutex too
21547
21548 2005-10-10  Andy Wingo  <wingo@pobox.com>
21549
21550         * gst/gstelement.c (gst_element_init, gst_element_finalize):
21551         Allocate and free the mutex properly.
21552
21553         * gst/gstelement.h (GST_STATE_UNLOCK_FULL, GST_STATE_LOCK_FULL):
21554         New macros.
21555         (GstElement): The state_lock is now recursive. Rebuild your
21556         plugins, suckers. Old macros adapted.
21557
21558         * docs/gst/gstreamer-sections.txt: Doc updates.
21559
21560         * gst/gstutils.h:
21561         * gst/gstutils.c (g_static_rec_cond_timed_wait) 
21562         (g_static_rec_cond_wait): Ported from state changes patch, while
21563         we wait on bug #317802 to be solved in a well-distributed GLib.
21564
21565         * gst/gstelement.c (gst_element_change_state_func): Renamed from
21566         gst_element_change_state, variable name changes.
21567         (gst_element_change_state): Split out of gst_element_set_state in
21568         preparation for the state change merge. Doesn't pay attention to
21569         the 'transition' argument.
21570         (gst_element_set_state): Updates, hopefully purely cosmetic.
21571         (gst_element_sync_state_with_parent): MT-safety. Ported from the
21572         state change patch.
21573         (gst_element_get_state_func): Renamed from get_state, cosmetic
21574         changes.
21575
21576 2005-10-10  Thomas Vander Stichele  <thomas at apestaart dot org>
21577
21578         * gst/elements/gstelements.c:
21579         * win32/GStreamer.vcproj:
21580         * win32/config.h:
21581         * win32/dirent.c: (_tseekdir):
21582         * win32/gst-inspect.vcproj:
21583         * win32/gst-launch.vcproj:
21584         * win32/gstconfig.h:
21585         * win32/gstelements.vcproj:
21586         * win32/gstenumtypes.c: (gst_object_flags_get_type):
21587         * win32/gstreamer.def:
21588         * win32/msvc71.sln:
21589           updates for the win32 build (patch from Sebastien Moutte)
21590
21591 2005-10-10  Andy Wingo  <wingo@pobox.com>
21592
21593         * gst/gstbin.c (gst_bin_get_state_func): Renamed from
21594         gst_bin_get_state, cleaned up (but no logic changes).
21595         (bin_element_is_sink): Comment updates.
21596         (sink_iterator_filter): Remove needless cast.
21597         (gst_bin_iterate_sinks): Doc update.
21598         (gst_bin_change_state_func): Renamed from gst_bin_change_state,
21599         cleaned up (but no logic changes).
21600
21601         * check/states/sinks.c (test_src_sink): Cleanups from the state
21602         change patch.
21603         (test_livesrc_sink): Sync on the state.
21604
21605         * check/pipelines/simple_launch_lines.c (run_pipeline): Merge from
21606         the state change patch.
21607
21608         * check/gst/gstghostpad.c (test_ghost_pads): Merge from the state
21609         change patch.
21610
21611         * check/gst/gstbin.c: Merge in some style fixes and additional
21612         checks from Wim's state change patch.
21613
21614 2005-10-10  Tim-Philipp Müller  <tim at centricular dot net>
21615
21616         * gst/base/gsttypefindhelper.c: (helper_find_peek),
21617         (gst_type_find_helper):
21618           Check whether we have the requested data already in our list of
21619           cached buffers before pulling a new buffer; also make the buffer
21620           list a GSList. Speeds up typefinding by ca. 5-10% altogether.
21621
21622 2005-10-10  Thomas Vander Stichele  <thomas at apestaart dot org>
21623
21624         * gst/gstcaps.c:
21625         * gst/gstevent.c:
21626           doc updates
21627         * gst/gstvalue.c: (gst_value_deserialize_int_helper):
21628           don't use long long, it's not portable.  Replacing with
21629           gint64 seems to work; let's hope no skeletons fall out of the closet.
21630
21631 2005-10-10  Andy Wingo  <wingo@pobox.com>
21632
21633         * autogen.sh (CONFIGURE_DEF_OPT): No more --plugin-buiddir, yay
21634
21635 2005-10-09  Stefan Kost  <ensonic@users.sf.net>
21636
21637         * docs/gst/gstreamer-sections.txt:
21638         * gst/gstevent.c:
21639         * gst/gstevent.h:
21640         * gst/gstinfo.c:
21641         * gst/gstinfo.h:
21642         * gst/gstmessage.c: (gst_message_parse_state_changed):
21643         * gst/gstpad.c:
21644         * gst/gstpad.h:
21645           more docs, fix compilation
21646
21647 2005-10-09  Philippe Khalaf <burger@speedy.org>
21648         * gst/gstmessage.c:
21649           Fixed a few forgotten variables on previous commit
21650
21651 2005-10-09  Tim-Philipp Müller  <tim at centricular dot net>
21652
21653         * gst/base/gsttypefindhelper.c: (helper_find_peek):
21654           Fix evil typefind crasher: getrange() might return a short
21655           buffer at the end of a file, but gst_type_find_peek() must
21656           either return the full data as requested or NULL, but
21657           never a short buffer.
21658
21659 2005-10-09  Thomas Vander Stichele  <thomas at apestaart dot org>
21660
21661         * gst/gstmessage.c: (gst_message_new_state_changed),
21662         (gst_message_parse_state_changed):
21663         * gst/gstmessage.h:
21664           don't use "new", it's a C++ keyword
21665
21666 2005-10-08  Wim Taymans  <wim@fluendo.com>
21667
21668         * gst/gstbin.c: (is_eos), (update_degree), (gst_bin_query):
21669         * gst/gstelement.c: (gst_element_post_message):
21670         * gst/gstpipeline.c: (gst_pipeline_change_state):
21671         Small docs and debug updates.
21672
21673 2005-10-08  Stefan Kost  <ensonic@users.sf.net>
21674
21675         * docs/gst/gstreamer-sections.txt:
21676         * gst/gstelementfactory.c:
21677         * gst/gstevent.c:
21678         * gst/gsttaglist.c:
21679           more docs
21680
21681 2005-10-08  Wim Taymans  <wim@fluendo.com>
21682
21683         * gst/gstbin.c: (is_eos), (update_degree), (gst_bin_change_state),
21684         (gst_bin_dispose), (bin_bus_handler):
21685         Fix typos, add comments.
21686         Clear EOS list when going to PAUSED from any direction and do it
21687         in a threadsafe way.
21688         Get base time in a threadsafe way too.
21689         Fix confusing debug in the change_state function.
21690         Various other small cleanups.
21691         
21692         * gst/gstelement.c: (gst_element_post_message):
21693         Fix very verbose bus posting code.
21694
21695         * gst/gstpipeline.c: (gst_pipeline_class_init),
21696         (gst_pipeline_set_property), (gst_pipeline_get_property),
21697         (gst_pipeline_change_state):
21698         Small ARG_ -> PROP_ cleanup
21699
21700 2005-10-08  Wim Taymans  <wim@fluendo.com>
21701
21702         * gst/gstbin.c: (is_eos), (bin_bus_handler):
21703         Do a less CPU demanding EOS check because we can.
21704
21705 2005-10-08  Wim Taymans  <wim@fluendo.com>
21706
21707         * libs/gst/dataprotocol/dataprotocol.c:
21708         (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
21709         (gst_dp_packet_from_event):
21710         * libs/gst/dataprotocol/dataprotocol.h:
21711         * libs/gst/dataprotocol/dp-private.h:
21712         It's about time we bump the version number.
21713         Since event types don't fit in the guint8 anymore describing
21714         the payload type, make payload type 16 bits wide.
21715
21716 2005-10-08  Wim Taymans  <wim@fluendo.com>
21717
21718         * docs/design/part-TODO.txt:
21719         * docs/design/part-clocks.txt:
21720         * docs/design/part-events.txt:
21721         * docs/design/part-gstbin.txt:
21722         * docs/design/part-gstelement.txt:
21723         * docs/design/part-gstpipeline.txt:
21724         * docs/design/part-live-source.txt:
21725         * docs/design/part-messages.txt:
21726         * docs/design/part-overview.txt:
21727         * docs/design/part-states.txt:
21728         Many doc updates.
21729
21730 2005-10-08  Wim Taymans  <wim@fluendo.com>
21731
21732         * gst/gstevent.c:
21733         * gst/gstevent.h:
21734         Fix event quark registration.
21735         Add some space between events so we can insert them in the
21736         right groups.
21737
21738 2005-10-08  Wim Taymans  <wim@fluendo.com>
21739
21740         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
21741         (gst_base_sink_handle_buffer):
21742         Better log message.
21743
21744         * gst/gstbus.h:
21745         * gst/gstelement.h:
21746         More docs.
21747
21748         * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
21749         (gst_queue_set_property), (gst_queue_get_property):
21750         * gst/gstqueue.h:
21751         Remove old unused properties.
21752
21753 2005-10-08  Stefan Kost  <ensonic@users.sf.net>
21754         * docs/gst/gstreamer-sections.txt:
21755         * gst/gstmessage.c:
21756         * gst/gstmessage.h:
21757         * gst/gstminiobject.c:
21758         * gst/gstminiobject.h:
21759         * gst/gstobject.h:
21760         * gst/gstpad.h:
21761         * gst/gstutils.h:
21762           lots of new docs and doc fixes
21763
21764 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
21765
21766         * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_load_file):
21767         * gst/gstplugin.h:
21768         * gst/gstregistry.c: (gst_registry_lookup_locked),
21769         (gst_registry_scan_path_level):
21770         * gst/gstregistryxml.c: (load_plugin):
21771           Only ever load one plugin for a given plugin basename.
21772           This ensures correct overriding of GST_PLUGIN_PATH over
21773           GST_PLUGIN_SYSTEM_PATH and of home dir plugins over
21774           system installed plugins.
21775
21776 2005-10-08  Wim Taymans  <wim@fluendo.com>
21777
21778         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
21779         (gst_base_sink_do_sync), (gst_base_sink_handle_buffer):
21780         Prepare for doing QOS.
21781
21782 2005-10-08  Wim Taymans  <wim@fluendo.com>
21783
21784         * check/gst/gstbin.c: (GST_START_TEST):
21785         * check/pipelines/cleanup.c: (GST_START_TEST):
21786         * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
21787         Allow new clock message too.
21788
21789 2005-10-08  Wim Taymans  <wim@fluendo.com>
21790
21791         * gst/gstmessage.c: (gst_message_new_error),
21792         (gst_message_new_warning), (gst_message_new_tag),
21793         (gst_message_new_state_changed), (gst_message_new_clock_provide),
21794         (gst_message_new_clock_lost), (gst_message_new_new_clock),
21795         (gst_message_new_segment_start), (gst_message_new_segment_done),
21796         (gst_message_parse_state_changed),
21797         (gst_message_parse_clock_provide), (gst_message_parse_clock_lost),
21798         (gst_message_parse_new_clock):
21799         * gst/gstmessage.h:
21800         Also carry the clock in question.
21801
21802 2005-10-08  Wim Taymans  <wim@fluendo.com>
21803
21804         * gst/gstmessage.c: (gst_message_new_custom),
21805         (gst_message_new_eos), (gst_message_new_error),
21806         (gst_message_new_warning), (gst_message_new_tag),
21807         (gst_message_new_state_changed), (gst_message_new_clock_provide),
21808         (gst_message_new_new_clock), (gst_message_new_segment_start),
21809         (gst_message_new_segment_done), (gst_message_parse_state_changed),
21810         (gst_message_parse_clock_provide), (gst_message_parse_new_clock):
21811         * gst/gstmessage.h:
21812         Clean up.
21813         Added clock related messages.
21814
21815         * gst/gstpipeline.c: (gst_pipeline_change_state):
21816         Post message when the clock changed.
21817
21818         * tools/gst-launch.c: (event_loop):
21819         Print new clock.
21820
21821 2005-10-08  Tim-Philipp Müller  <tim at centricular dot net>
21822
21823         * tools/gst-inspect.c: (print_element_properties_info):
21824           Can't pass NULL strings to g_print() on windows.
21825
21826 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
21827
21828         * docs/Makefile.am:
21829         * docs/gst/Makefile.am:
21830         * docs/gst/gstreamer-docs.sgml:
21831         * docs/gst/running.xml:
21832         * docs/version.entities.in:
21833           add a chapter on running GStreamer.
21834           document GST_DEBUG and GST_PLUGIN* env vars
21835
21836 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
21837
21838         * Makefile.am:
21839           remove include dir
21840         * configure.ac:
21841           remove PLUGINS_BUILDDIR stuff
21842         * gst/gst.c: (init_post):
21843           reorder parsing of GST_PLUGIN_PATH and GST_PLUGIN_SYSTEM_PATH
21844         * idiottest.mak:
21845           remove, it was condescending and not needed
21846
21847 2005-10-08  Wim Taymans  <wim@fluendo.com>
21848
21849         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
21850         (gst_base_sink_handle_object), (gst_base_sink_event),
21851         (gst_base_sink_wait), (gst_base_sink_handle_event),
21852         (gst_base_sink_change_state):
21853         * gst/base/gstbasesink.h:
21854         Repost EOS message while going to PLAYING if still EOS.
21855         Make sure that when receiving a FLUSH_START we don't attempt
21856         to sync on the clock anymore.
21857
21858 2005-10-08  Wim Taymans  <wim@fluendo.com>
21859
21860         * tools/gst-launch.c: (event_loop):
21861         Better message printout.
21862
21863 2005-10-08  Wim Taymans  <wim@fluendo.com>
21864
21865         * gst/gstbin.c: (gst_bin_child_proxy_get_child_by_index),
21866         (gst_bin_child_proxy_get_children_count):
21867         * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
21868         (gst_child_proxy_lookup), (gst_child_proxy_get_property),
21869         (gst_child_proxy_get_valist), (gst_child_proxy_set_property),
21870         (gst_child_proxy_set_valist):
21871         * gst/parse/grammar.y:
21872         Make ChildProxy threadsafe and fix mem leaks.
21873
21874 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
21875
21876         * gst/gst.c: (init_post):
21877           debug the GST_PLUGIN_ env vars
21878
21879 2005-10-08  Wim Taymans  <wim@fluendo.com>
21880
21881         * check/gst/gstbin.c: (GST_START_TEST):
21882         * check/gst/gstmessage.c: (GST_START_TEST):
21883         * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
21884         * gst/gstelement.c: (gst_element_commit_state),
21885         (gst_element_lost_state):
21886         * gst/gstmessage.c: (gst_message_new_state_changed),
21887         (gst_message_parse_state_changed):
21888         * gst/gstmessage.h:
21889         * tools/gst-launch.c: (event_loop):
21890         Added extra field to STATE_CHANGE message with the pending
21891         state, which will be different from the new state soon.
21892
21893 2005-10-08  Wim Taymans  <wim@fluendo.com>
21894
21895         * gst/gstbus.c: (gst_bus_pop):
21896         * gst/gstclock.c:
21897         * gst/gstsystemclock.c: (gst_system_clock_async_thread):
21898         Small cleanups and doc updates.
21899
21900 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
21901
21902         * gst/gst.c: (init_pre):
21903         * gst/gstbin.c: (gst_bin_add_func):
21904           log distributing clocks and base time
21905         * gst/gstregistry.c: (gst_registry_add_plugin),
21906         (gst_registry_scan_path_level), (gst_registry_scan_path):
21907           clean up the debugging output a little
21908         * gst/gstutils.c: (gst_element_state_get_name):
21909           warn about a memleak (I've actually seen this be used, though
21910           it was probably a bug)
21911
21912 2005-10-07  Wim Taymans  <wim@fluendo.com>
21913
21914         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
21915         (gst_base_src_init), (gst_base_src_default_newsegment),
21916         (gst_base_src_newsegment), (gst_base_src_do_seek),
21917         (gst_base_src_loop), (gst_base_src_start):
21918         * gst/base/gstbasesrc.h:
21919         Make the newsegment event customizable by subclasses.
21920
21921 2005-10-07  Wim Taymans  <wim@fluendo.com>
21922
21923         * gst/gstevent.c: (gst_event_new_buffersize),
21924         (gst_event_parse_buffersize):
21925         * gst/gstevent.h:
21926         New event for future idea.
21927
21928 2005-10-07  Andy Wingo  <wingo@pobox.com>
21929
21930         * gst/gstelement.c (gst_element_post_message): Doc update.
21931
21932         * docs/gst/gstreamer-sections.txt: Update.
21933
21934         * gst/gstmessage.c (gst_message_new_application): Made into a
21935         function like honest API calls.
21936         (gst_message_new_element): New message type.
21937
21938         * gst/gstmessage.h (enum): Add GST_MESSAGE_ELEMENT type.
21939
21940         * check/elements/fakesrc.c (test_no_preroll): New check, checks
21941         that setting a live fakesrc to PAUSED returns NO_PREROLL both
21942         times.
21943
21944         * gst/base/gstbasesrc.c (gst_base_src_change_state): Allow a
21945         NO_PREROLL from gst_element_change_state to fall through.
21946
21947 2005-10-07  Wim Taymans  <wim@fluendo.com>
21948
21949         * gst/gstghostpad.c: (gst_ghost_pad_get_internal),
21950         (gst_ghost_pad_do_activate_push):
21951         Activating a ghostpad with no internal pad in push mode
21952         is ok.
21953
21954 2005-10-07  Thomas Vander Stichele  <thomas at apestaart dot org>
21955
21956         * gst/gstobject.h:
21957           there's no point in wrapping FLAG_SET/_UNSET in STMT macros.
21958           Fixes compilation on Windows.
21959
21960 2005-10-07  Michael Smith <msmith@fluendo.com>
21961
21962         * tools/gst-inspect.c:
21963           Print out feature and plugin count at the end when printing out
21964           all features.
21965
21966 2005-10-04  Michael Smith <msmith@fluendo.com>
21967
21968         * gst/gsterror.c: (_gst_stream_errors_init):
21969           Add another error string used in a few existing plugins.
21970
21971         * gst/gstplugin.c:
21972         * gst/gstpluginfeature.c: (gst_plugin_feature_load):
21973         * tools/gst-inspect.c: (print_element_info):
21974           When a feature disappears from a plugin (and the feature exists in
21975           the cached registry file), things went horribly wrong. This isn't a
21976           complete fix, we should actually be removing the 'missing' features
21977           from the features list when we load the actual plugin. That's not
21978           yet implemented. 
21979
21980 2005-10-04  Johan Dahlin  <johan@gnome.org>
21981
21982         * check/gst/gstiterator.c: (GST_START_TEST):
21983         * gst/gstbin.c: (gst_bin_iterate_elements),
21984         (gst_bin_iterate_recurse), (gst_bin_iterate_sorted):
21985         * gst/gstelement.c: (gst_element_iterate_pads):
21986         * gst/gstformat.c: (gst_format_iterate_definitions):
21987         * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
21988         (gst_iterator_new_list), (gst_iterator_filter):
21989         * gst/gstiterator.h:
21990         * gst/gstquery.c: (gst_query_type_iterate_definitions):
21991         Add a GType to GstIterator, update callsites and tests.
21992
21993 2005-10-06  Thomas Vander Stichele  <thomas at apestaart dot org>
21994
21995         * gst/gstpad.c: (gst_pad_event_default_dispatch):
21996           give events a chance to be handled by event probes when the pad
21997           is not linked
21998
21999 2005-10-06  Thomas Vander Stichele  <thomas at apestaart dot org>
22000
22001         * gst/gstevent.c: (gst_event_type_get_name),
22002         (gst_event_type_to_quark), (gst_event_finalize), (gst_event_new):
22003         * gst/gstevent.h:
22004           add string representations for event types
22005
22006 2005-10-06  Wim Taymans  <wim@fluendo.com>
22007
22008         * gst/elements/gstfilesink.c: (gst_file_sink_close_file):
22009         Don't use NULL pointers.
22010
22011 2005-10-06  Thomas Vander Stichele  <thomas at apestaart dot org>
22012
22013         * gst/gst_private.h:
22014         * gst/gstbus.c:
22015         * gst/gstelement.c:
22016         * gst/gstinfo.c:
22017         * gst/gstpluginfeature.c:
22018           widen the debug category in output to fit the biggest one we have
22019           add a bus category and use it
22020           play with the colors
22021           fix up some categories
22022
22023 2005-10-06  Thomas Vander Stichele  <thomas at apestaart dot org>
22024
22025         * gst/gstghostpad.c: (gst_ghost_pad_internal_do_activate_push):
22026           add push activation of sink ghost pads.
22027           Andye, please verify
22028
22029 2005-10-05  Thomas Vander Stichele  <thomas at apestaart dot org>
22030
22031         * gst/gstutils.c: (gst_element_link_pads):
22032           fix a bug in the case where neither element has a pad
22033         * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
22034           add a test for that case
22035
22036 2005-10-05  Thomas Vander Stichele  <thomas at apestaart dot org>
22037
22038         * gst/gstpad.c: (gst_pad_push), (gst_pad_push_event):
22039           emit have-data before checking for peers.  This allows
22040           for probe handlers to connect elements.  This helps autopluggers.
22041         * check/gst/gstpad.c: (GST_START_TEST), (_probe_handler),
22042         (gst_pad_suite):
22043           add six checks, linked/unlinked with no/true/false probe
22044
22045 2005-10-04  Wim Taymans  <wim@fluendo.com>
22046
22047         * gst/elements/gstfakesink.c: (gst_fake_sink_get_property),
22048         (gst_fake_sink_event), (gst_fake_sink_preroll),
22049         (gst_fake_sink_render), (gst_fake_sink_change_state):
22050         * gst/elements/gstfakesrc.c: (gst_fake_src_event_handler),
22051         (gst_fake_src_get_property), (gst_fake_src_create),
22052         (gst_fake_src_stop):
22053         * gst/elements/gstidentity.c: (gst_identity_stop):
22054         Protect last_message with lock.
22055
22056 2005-10-04  Edward Hervey  <edward@fluendo.com>
22057
22058         * gst/gstformat.h: 
22059         Added precision in the comments for GST_FORMAT_DEFAULT
22060
22061 2005-10-04  Tim-Philipp Müller  <tim at centricular dot net>
22062
22063         * tools/gst-launch.c: (main):
22064           Don't try to run erroneous pipelines.
22065
22066 2005-10-04  Julien MOUTTE  <julien@moutte.net>
22067
22068         * gst/gstbus.c: We don't need this header.
22069
22070 2005-10-03  Thomas Vander Stichele  <thomas at apestaart dot org>
22071
22072         * configure.ac:
22073           back to development
22074
22075 === release 0.9.3 ===
22076
22077 2005-10-03  Thomas Vander Stichele  <thomas at apestaart dot org>
22078
22079         * README:
22080         * configure.ac:
22081           Releasing 0.9.3, "Unregistered"
22082
22083 2005-10-03  Andy Wingo  <wingo@pobox.com>
22084
22085         * gst/gstpad.c (gst_pad_activate_push): There is a race condition
22086         whereby calling a pad's activatepush() function can start a thread
22087         that starts to push or pull before the pad gets the FLUSHING flag
22088         unset. Hack around it by holding the stream lock until the flag is
22089         set. Need to replace this with a proper solution. Together with
22090         the ghost pad fixes, this fixes mp3 playing/tagreading.
22091
22092         * docs/design/part-gstghostpad.txt: Add a note about activation of
22093         proxy pads outside of ghost pads.
22094
22095         * gst/gstghostpad.c: Implement the ghost pad activation design.
22096
22097 2005-10-02  Andy Wingo  <wingo@pobox.com>
22098
22099         * gst/gstobject.h (GST_OBJECT_REFCOUNT_VALUE): Just use the int.
22100         It is volatile, after all.
22101
22102         * docs/design/part-gstghostpad.txt: Flesh out activation with
22103         ghost pads.
22104
22105         * gst/base/gstbasesrc.c (gst_base_src_init): Use
22106         GST_DEBUG_FUNCPTR.
22107
22108 2005-10-02  Tim-Philipp Müller  <tim at centricular dot net>
22109
22110         * configure.ac:
22111           Fix (unused) AM_CONDITIONAL tests.
22112
22113 2005-10-01  Alessandro Decina  <alessandro at nnva dot org>
22114
22115         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
22116
22117         * gst/gstutils.c: (gst_pad_query_convert):
22118           Add assertion that makes sure src_val is >=0, just like
22119           gst_query_new_convert() has. (#315895)
22120
22121 2005-09-30  Edward Hervey  <edward@fluendo.com>
22122
22123         * gst/elements/gsttee.c: (gst_tee_do_push), (gst_tee_handle_buffer):
22124         Let's not iterate pads we're not interested in, it avoids getting 
22125         sky-high refcounts on sinkpad.
22126
22127 2005-09-30  Wim Taymans  <wim@fluendo.com>
22128
22129         * gst/gstelement.c: (gst_element_set_state),
22130         (gst_element_change_state):
22131         Small tweak, element in ASYNC remains ASYNC.
22132
22133 2005-09-30  Wim Taymans  <wim@fluendo.com>
22134
22135         * gst/base/gstbasesink.c: (gst_base_sink_change_state):
22136         Only error is an error.
22137
22138         * gst/gstbin.c: (gst_bin_change_state):
22139         Better debugging.
22140
22141         * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_chain):
22142         Also call pad_block in pad alloc.
22143
22144         * gst/gstutils.c: (gst_flow_get_name):
22145         Better debugging.
22146
22147 2005-09-29  Tim-Philipp Müller  <tim at centricular dot net>
22148
22149         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
22150         (gst_base_src_get_range):
22151           Fix documentation typos. Add some more debug info.
22152
22153 2005-09-29  David Schleef  <ds@schleef.org>
22154
22155         * gst/gstplugin.c: (gst_plugin_load_file): Make some error messages
22156           more end-user friendly.
22157         * tools/gst-inspect.c: (main): Check if command-line argument is
22158           a file and attempt to load that file as a plugin.
22159
22160 2005-09-29  Thomas Vander Stichele  <thomas at apestaart dot org>
22161
22162         * check/gst/gstbin.c:
22163         * check/states/sinks.c:
22164           fix tests for the new warning
22165         * check/gst/gstpipeline.c:
22166           add a test for pipeline and bus interaction
22167         * gst/gstelement.c:
22168           elements should be NULL if they get disposed; add a warning if not
22169
22170 2005-09-29  Thomas Vander Stichele  <thomas at apestaart dot org>
22171
22172         * gst/gstobject.c:
22173           for 2.6 refcounting, make debug log more correct by printing
22174           the actual refcounts at the time of swap (Wim)
22175
22176 2005-09-29  Andy Wingo  <wingo@pobox.com>
22177
22178         * gst/gstbus.c (gst_bus_remove_signal_watch): New function,
22179         removes signal watches previously added via
22180         gst_bus_add_signal_watch.
22181         (gst_bus_add_signal_watch): Don't return the source id, just store
22182         it on the bus if there wasn't an id already.
22183
22184         * gst/gstbus.h (GstBus): Add a couple new fields. API changes for
22185         add_signal_watch and remove_signal_watch.
22186
22187 2005-09-29  Edward Hervey  <edward@fluendo.com>
22188
22189         * libs/gst/controller/gstcontroller.c: (gst_controller_new_list): 
22190         Better if we actually iterate the list :)
22191
22192 2005-09-29  Wim Taymans  <wim@fluendo.com>
22193
22194         * check/gst/gstbin.c: (GST_START_TEST):
22195         Change for new bus API.
22196
22197         * check/gst/gstbus.c: (message_func_eos), (message_func_app),
22198         (send_messages), (GST_START_TEST), (gstbus_suite):
22199         Change for new bus signal API.
22200
22201         * gst/gstbus.c: (gst_bus_class_init), (gst_bus_have_pending),
22202         (gst_bus_source_prepare), (gst_bus_source_check),
22203         (gst_bus_create_watch), (gst_bus_add_watch_full),
22204         (gst_bus_add_watch), (gst_bus_poll), (gst_bus_async_signal_func),
22205         (gst_bus_sync_signal_handler), (gst_bus_add_signal_watch):
22206         * gst/gstbus.h:
22207         Remove support for multiple GSources operating on different
22208         message types as it is too complex and unneeded when using
22209         signals.
22210         Added support for receiving signals from the bus.
22211
22212 2005-09-29  Thomas Vander Stichele  <thomas at apestaart dot org>
22213
22214         * docs/libs/tmpl/gstdataprotocol.sgml:
22215         * docs/manual/advanced-dataaccess.xml:
22216         * gst/elements/gstcapsfilter.c:
22217         * gst/gstutils.c:
22218           rename filter-caps to caps property
22219
22220 2005-09-29  Tim-Philipp Müller  <tim at centricular dot net>
22221
22222         * gst/gstvalue.c: (gst_value_deserialize_fraction):
22223           More robust fraction string parsing.
22224
22225         * docs/pwg/appendix-porting.xml:
22226           Mention gst_pad_use_explicit_caps() => gst_pad_use_fixed_caps()
22227
22228 2005-09-29  Tim-Philipp Müller  <tim at centricular dot net>
22229
22230         * gst/gstcaps.c: (gst_caps_do_simplify):
22231           Thou shalt not free a structure and then continue using it
22232           in the next loop iteration.
22233
22234         * check/gst/gstcaps.c: (check_fourcc_list), (test_simplify),
22235         (gst_caps_suite):
22236           Add test case for caps simplification.
22237
22238 2005-09-29  Wim Taymans  <wim@fluendo.com>
22239
22240         * check/gst/gstbin.c: (GST_START_TEST):
22241         Oops.
22242
22243 2005-09-29  Wim Taymans  <wim@fluendo.com>
22244
22245         * check/gst/gstbin.c: (GST_START_TEST):
22246         Add bus to bin.
22247
22248         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
22249         (add_to_queue), (clear_queue), (reset_degree), (update_degree),
22250         (find_element), (gst_bin_sort_iterator_next),
22251         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
22252         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
22253         (gst_bin_change_state), (gst_bin_dispose):
22254         A bin does not have a bus, it gets the bus from the parent.
22255
22256         * gst/gstelement.c: (gst_element_requires_clock),
22257         (gst_element_provides_clock), (gst_element_is_indexable),
22258         (gst_element_is_locked_state), (gst_element_change_state),
22259         (gst_element_set_bus_func):
22260         Small cleanups.
22261
22262         * gst/gstpipeline.c: (gst_pipeline_class_init),
22263         (gst_pipeline_init), (gst_pipeline_provide_clock_func):
22264         The pipeline provides a bus.
22265
22266 2005-09-28  Johan Dahlin  <johan@gnome.org>
22267
22268         * gst/gstmessage.c (gst_message_parse_state_changed): Use
22269         gst_structure_get_enum instead of gst_structure_get_int
22270
22271         * gst/gststructure.c (gst_structure_get_enum): Impl.
22272
22273         * gst/gststructure.h (gst_structure_get_enum): Add
22274
22275         * docs/gst/gstreamer-sections.txt: Ditto
22276
22277         * gst/gstmessage.c (gst_message_new_state_changed): Use
22278         GST_TYPE_STATE instead of G_TYPE_INT, mainly for language bindings
22279         which does introspection.
22280         Reviewed by Christian Schaller
22281
22282 2005-09-28  Stefan Kost  <ensonic@users.sf.net>
22283
22284         * gst/gstinfo.c: (gst_debug_log_default):
22285           don't do dummy g_strdup()s
22286         * libs/gst/controller/gstcontroller.c:
22287         (on_object_controlled_property_changed),
22288         (gst_controlled_property_new), (gst_controller_new_valist),
22289         (gst_controller_new_list),
22290         (gst_controller_remove_properties_valist), (gst_controller_set),
22291         (gst_controller_get), (gst_controller_sync_values),
22292         (gst_controller_get_value_array), (_gst_controller_class_init),
22293         (gst_controller_get_type):
22294         * libs/gst/controller/gstcontroller.h:
22295         * libs/gst/controller/gstinterpolation.c:
22296         (gst_controlled_property_find_timed_value_node):
22297           convert // to /**/ comments
22298
22299 2005-09-28  Wim Taymans  <wim@fluendo.com>
22300
22301         * gst/gstbus.c: (marshal_VOID__MINIOBJECT), (gst_bus_class_init),
22302         (gst_bus_post), (poll_func), (gst_bus_async_signal_func),
22303         (gst_bus_sync_signal_handler):
22304         * gst/gstbus.h:
22305         Added async-message and sync-message signals to the bus.
22306         Added helper BusFunc to emit signals for all posted messages.
22307
22308         * gst/gstmessage.c: (gst_message_type_get_name),
22309         (gst_message_type_to_quark), (gst_message_get_type):
22310         * gst/gstmessage.h:
22311         Register quarks for message names.
22312
22313 2005-09-28  Stefan Kost  <ensonic@users.sf.net>
22314
22315         * docs/libs/gstreamer-libs-sections.txt:
22316         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
22317         (gst_controller_new_list):
22318         * libs/gst/controller/gstcontroller.h:
22319           added another constructor for language bindings
22320
22321 2005-09-28  Thomas Vander Stichele  <thomas at apestaart dot org>
22322
22323         * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
22324           add another check
22325         * gst/gstbus.c:
22326           add some doc
22327         * gst/gstinfo.c: (_gst_debug_init):
22328           slightly more readable color for refcount debugging
22329
22330 2005-09-28  Wim Taymans  <wim@fluendo.com>
22331
22332         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_provide_clock_func),
22333         (add_to_queue), (clear_queue), (reset_degree), (update_degree),
22334         (find_element), (gst_bin_sort_iterator_next),
22335         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
22336         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
22337         (gst_bin_change_state), (gst_bin_dispose):
22338         Small doc fixes. get_clock -> provide_clock.
22339
22340         * gst/gstelement.c: (gst_element_class_init),
22341         (gst_element_provides_clock), (gst_element_provide_clock),
22342         (gst_element_get_clock), (gst_element_commit_state),
22343         (gst_element_lost_state):
22344         * gst/gstelement.h:
22345         Make get/set_clock() symetric. Add provide_clock vmethod since
22346         that is actually what this function does.
22347
22348         * gst/gstpipeline.c: (gst_pipeline_class_init),
22349         (gst_pipeline_change_state), (gst_pipeline_provide_clock_func),
22350         (gst_pipeline_get_clock):
22351         get_clock -> provide_clock.
22352
22353 2005-09-28  Andy Wingo  <wingo@pobox.com>
22354
22355         * gst/base/gstbasesrc.c (gst_base_src_unlock): Comment a bit in
22356         lieu of real docs...
22357
22358         * gst/elements/gstfdsrc.c: Cleaned up a bit.
22359
22360 2005-09-28  Tim-Philipp Müller  <tim at centricular dot net>
22361
22362         * gst/elements/gstcapsfilter.c:
22363         * gst/elements/gstfakesink.c:
22364         * gst/elements/gstfakesrc.c:
22365         * gst/elements/gstfdsink.c:
22366         * gst/elements/gstfdsrc.c:
22367         * gst/elements/gstfilesink.c:
22368         * gst/elements/gstfilesrc.c:
22369         * gst/elements/gstidentity.c:
22370         * gst/elements/gsttee.c:
22371         * gst/elements/gsttypefindelement.c:
22372           Make element details static.
22373
22374 2005-09-28  Wim Taymans  <wim@fluendo.com>
22375
22376         * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
22377         (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
22378         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
22379         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
22380         (gst_bin_change_state), (gst_bin_dispose):
22381         Some documentation updates.
22382         Clean up dispose handlers.
22383
22384         * gst/gstobject.c: (gst_object_ref), (gst_object_unref):
22385         * gst/gstpad.c: (gst_pad_dispose):
22386         Clean up dispose handler.
22387
22388         * gst/gstpipeline.c: (gst_pipeline_change_state):
22389         Removed spurious UNLOCK.
22390
22391 2005-09-27  Stefan Kost  <ensonic@users.sf.net>
22392
22393         * docs/gst/gstreamer-sections.txt:
22394         * gst/base/gstbasesrc.h:
22395         * gst/gstelement.h:
22396         * gst/gstevent.h:
22397         * gst/gstobject.h:
22398         * gst/gstpad.h:
22399         * gst/gstpipeline.c:
22400         * gst/gstpipeline.h:
22401         * gst/gstutils.h:
22402         * gst/gstxml.h:
22403           added two new functions to the docs
22404                 documents all undocumented GstXXXFlags
22405                 completed some incomplete docs 
22406
22407 2005-09-27  Thomas Vander Stichele  <thomas at apestaart dot org>
22408
22409         * gst/gstbin.c: (gst_bin_dispose):
22410         * gst/gstelement.c: (gst_element_dispose):
22411           remove now useless and leaky resurrection code in dispose
22412         * gst/base/gstbasesrc.c: (gst_base_src_init):
22413         * gst/gstelementfactory.c: (gst_element_factory_create):
22414         * gst/gstobject.c: (gst_object_set_parent):
22415           add some debugging
22416
22417 2005-09-27  Wim Taymans  <wim@fluendo.com>
22418
22419         * docs/design/part-TODO.txt:
22420         Update TODO.
22421
22422         * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
22423         (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
22424         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
22425         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
22426         (gst_bin_change_state):
22427         * gst/gstelement.h:
22428         Remove element variable, we keep element info in the iterator now.
22429
22430 2005-09-27  Andy Wingo  <wingo@pobox.com>
22431
22432         * libs/gst/dataprotocol/dataprotocol.c: Fix error-checking return
22433         values.
22434
22435 2005-09-27  Wim Taymans  <wim@fluendo.com>
22436
22437         * check/gst/gstbin.c: (GST_START_TEST):
22438         Enable check that works now.
22439
22440         * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
22441         (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
22442         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
22443         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
22444         (gst_bin_change_state):
22445         * gst/gstbin.h:
22446         Redid the state change algorithm using a topological sort algo.
22447         Handles all cases correctly.
22448         Exposed iterator for state change order.
22449
22450         * gst/gstelement.h:
22451         Temp storage for state changes. Need to get rid of this soon.
22452
22453 2005-09-27  Wim Taymans  <wim@fluendo.com>
22454
22455         * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_do_push):
22456         * gst/gstutils.c: (intersect_caps_func), (gst_pad_proxy_getcaps),
22457         (link_fold_func), (gst_pad_proxy_setcaps):
22458         Leak fixes, the fold functions need to unref the passed object and
22459         _get_parent_*() returns ref to parent.
22460
22461 2005-09-27  Tim-Philipp Müller  <tim at centricular dot net>
22462
22463         * check/gst/gstbuffer.c: (test_make_writable):
22464           Plug leak in test case and fix 'make check-valgrind'
22465
22466 2005-09-27  Tim-Philipp Müller  <tim at centricular dot net>
22467
22468         * gst/gstbuffer.c: (gst_subbuffer_init):
22469           Set READONLY flag on subbuffers, so that gst_buffer_make_writable()
22470           works correctly in all circumstances (we could have just copied
22471           the parent buffer's readonly flag, but conceptually it seems
22472           cleaner to mark all subbuffers as read-only). (based on patch
22473           by Alessandro Decina, #314710).
22474         
22475         * check/gst/gstbuffer.c: (create_read_only_buffer),
22476         (test_make_writable), (test_subbuffer_make_writable),
22477         (gst_test_suite):
22478           Add some tests for gst_buffer_make_writable().
22479
22480 2005-09-27  Wim Taymans  <wim@fluendo.com>
22481
22482         * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_change_state):
22483         use gst_object_has_ancestor().
22484
22485         * gst/gstobject.c: (gst_object_has_ancestor):
22486         * gst/gstobject.h:
22487         gst_object_has_ancestor() copied from gstbin.c as it is a
22488         useful function.
22489
22490         * tests/instantiate/create.c: (create_all_elements):
22491         * tests/lat.c: (handoff_src), (handoff_sink):
22492         * tests/sched/runxml.c: (main):
22493         * tests/seeking/seeking1.c: (main):
22494         * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
22495         (main):
22496         Fix compilation of some tests.
22497
22498 2005-09-27  Tim-Philipp Müller  <tim at centricular dot net>
22499
22500         * gst/gsterror.h:
22501           Remove comment. GST_TYPE_G_ERROR is here to stay,
22502           G_TYPE_ERROR has been WONTFIX'ed by the GLib folks
22503           (#316961, #300610).
22504
22505 2005-09-26  Wim Taymans  <wim@fluendo.com>
22506
22507         * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
22508         Added check that shows error in state change order.
22509
22510 2005-09-26  Wim Taymans  <wim@fluendo.com>
22511
22512         * gst/gstbin.c: (gst_bin_change_state):
22513         Make state change function use 3 queues again, we were
22514         adding elements in the wrong order.
22515
22516         * gst/gstghostpad.c: (gst_ghost_pad_do_unlink):
22517         Some debug info,
22518
22519         * gst/gstpad.c: (gst_pad_dispose):
22520         Added some debug info first.
22521
22522 2005-09-26  Tim-Philipp Müller  <tim at centricular dot net>
22523
22524         * docs/design/draft-push-pull.txt:
22525         * docs/design/part-events.txt:
22526         * docs/design/part-overview.txt:
22527         * docs/design/part-scheduling.txt:
22528           Replace all _pull_region() with _pull_range()
22529           
22530 2005-09-26  Andy Wingo  <wingo@pobox.com>
22531
22532         * gst/gstvalue.c (_gst_value_initialize): Better fakeout.
22533
22534         * check/gst-libs/controller.c: Update for controller api change.
22535
22536         * configure.ac: 
22537         * tests/Makefile.am:
22538         * tests/memchunk: Remove memchunk benchmark stuff, this is taken
22539         over by GLib bug 118439.
22540         
22541         * gst/base/gstbasesink.c (gst_base_sink_wait): Factor out the wait
22542         routines to a function.
22543
22544         * docs/libs/gstreamer-libs-sections.txt: I am a good person today.
22545
22546         * libs/gst/controller/gsthelper.c:
22547         * libs/gst/controller/gstcontroller.h (gst_controller_sync_values)
22548         (gst_object_sync_values): Renamed from sink_values. Ugh.
22549
22550         * libs/gst/controller/gsthelper.c: Update for __gst_controller_key.
22551
22552         * libs/gst/controller/gstcontroller.c (__gst_controller_key):
22553         Renamed from controller_key, as it is exported.
22554
22555         * gst/gstvalue.c (_gst_value_initialize): Fake out the compiler.
22556
22557 2005-09-26  Thomas Vander Stichele  <thomas at apestaart dot org>
22558
22559         * gst/Makefile.am:
22560         * gst/gst.h:
22561         * gst/gstpad.h:
22562         * gst/gstpadtemplate.h:
22563         * gst/gstquery.c:
22564         * gst/gstquery.h:
22565         * gst/gstqueryutils.c:
22566         * gst/gstqueryutils.h:
22567           remove queryutils headers after moving the two used functions
22568           to gstquery.  also fixes build problem for gstsiddec
22569
22570 2005-09-26  Michael Smith <msmith@fluendo.com>
22571
22572         * tools/gst-launch.1.in:
22573         Correct documentation in manpage of debug syntax
22574
22575 2005-09-26  Wim Taymans  <wim@fluendo.com>
22576
22577         * gst/base/gstbasesrc.c: (gst_base_src_get_range),
22578         (gst_base_src_is_seekable), (gst_base_src_change_state):
22579         Some more debugging info.
22580
22581 2005-09-25  Stefan Kost  <ensonic@users.sf.net>
22582
22583         * docs/gst/gstreamer-sections.txt:
22584         * gst/base/gstbasetransform.h:
22585         * gst/gstindex.h:
22586           added more docs
22587
22588 2005-09-25  Stefan Kost  <ensonic@users.sf.net>
22589
22590         * docs/gst/.cvsignore:
22591         * docs/gst/tmpl/.cvsignore:
22592         * docs/gst/tmpl/gstpipeline.sgml:
22593         * docs/gst/tmpl/gstplugin.sgml:
22594         * gst/gstpipeline.c:
22595         * gst/gstplugin.c:
22596         * gst/gstplugin.h:
22597           inlined the last two docs files
22598           removed the tmpl directory from cvs (no more conflicts here!)
22599
22600 2005-09-25  Stefan Kost  <ensonic@users.sf.net>
22601
22602         * docs/gst/gstreamer-sections.txt:
22603         * docs/gst/tmpl/.cvsignore:
22604         * docs/gst/tmpl/gstpad.sgml:
22605         * docs/gst/tmpl/gstpadtemplate.sgml:
22606         * gst/Makefile.am:
22607         * gst/gstpad.c: (gst_pad_class_init), (gst_pad_dispose),
22608         (gst_pad_finalize), (gst_pad_set_pad_template):
22609         * gst/gstpad.h:
22610         * gst/gstpadtemplate.c: (gst_pad_template_get_type),
22611         (gst_pad_template_class_init), (gst_pad_template_init),
22612         (gst_pad_template_dispose), (name_is_valid),
22613         (gst_static_pad_template_get), (gst_pad_template_new),
22614         (gst_static_pad_template_get_caps), (gst_pad_template_get_caps),
22615         (gst_pad_template_pad_created):
22616         * gst/gstpadtemplate.h:
22617           inlined two more docs
22618           factored gstpadtemplate out of gstpad
22619
22620 2005-09-24  Tim-Philipp Müller  <tim at centricular dot net>
22621
22622         * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
22623         (test_children_state_change_order_semi_sink):
22624           Fix test case: we can't rely on a fixed state change order when
22625           going from READY => PAUSED because the sink might commit its 
22626           new state first when the first buffer created by the source 
22627           reaches the sink before the source has finished its change state.
22628           (Test case still fails at times, see #316856, comment 5 onwards)
22629
22630 2005-09-24  Wim Taymans  <wim@fluendo.com>
22631
22632         * docs/design/part-events.txt:
22633         * docs/design/part-gstbus.txt:
22634         * docs/design/part-gstpipeline.txt:
22635         * docs/design/part-messages.txt:
22636         * docs/design/part-overview.txt:
22637         * docs/design/part-segments.txt:
22638         * gst/gstbin.c:
22639         * gst/gstbuffer.c:
22640         * gst/gstclock.c:
22641         * gst/gstelement.c:
22642         * gst/gstevent.c:
22643         * gst/gstfilter.c:
22644         * gst/gstiterator.c:
22645         Various documentation updates.
22646
22647 2005-09-24  Thomas Vander Stichele  <thomas at apestaart dot org>
22648
22649         * gst/gstclock.h:
22650           Well, that's embarassing.  Luckily we weren't using
22651           GST_CLOCK_DIFF anywhere.
22652
22653 2005-09-23  Thomas Vander Stichele  <thomas at apestaart dot org>
22654
22655         * common/gtk-doc.mak:
22656           don't fail on building XML, FC4 slave shows a bunch of doc
22657           missing bits that I don't get
22658         * gst/gstpad.c:
22659         * gst/gstpipeline.c:
22660         * gst/gststructure.c:
22661           some doc updates
22662
22663 2005-09-23  Tim-Philipp Müller  <tim at centricular dot net>
22664
22665         * docs/design/part-gstbin.txt:
22666         * docs/design/part-gstbus.txt:
22667         * gst/gstbus.c:
22668           Add blurb about how the bus goes into flushing mode and
22669           drops all messages when its bin goes from READY into NULL 
22670           state.
22671
22672 2005-09-23  Thomas Vander Stichele  <thomas at apestaart dot org>
22673
22674         * docs/gst/gstreamer-sections.txt:
22675         * gst/gststructure.c: (gst_structure_get_clock_time):
22676         * gst/gststructure.h:
22677           add a method to get a GstClockTime out of a structure
22678
22679 2005-09-23  Tim-Philipp Müller  <tim at centricular dot net>
22680
22681         * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
22682         (test_children_state_change_order_semi_sink), (gst_bin_suite):
22683           Added test to check state change order in bins (can still be made
22684           to fail here under heavy disk load; bails out with 'Push on pad
22685           fakesink:sink0, but it was not activated in push mode').
22686
22687         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_change_state):
22688           Fix state change order when there is only a semi sink (#316856)
22689
22690         * gst/gstbus.c: (gst_bus_class_init):
22691           Use _class_peek_parent(), not _class_ref(); fix docs to say
22692           'default main context' instead of 'mainloop' where that is
22693           what's meant.
22694
22695         * gst/gstelement.c: (gst_element_commit_state),
22696         (gst_element_set_state):
22697           Fix typos in debug messages
22698
22699 2005-09-23  Thomas Vander Stichele  <thomas at apestaart dot org>
22700
22701         * docs/README:
22702         * gst/gstpad.c: (gst_pad_class_init), (gst_pad_chain):
22703         * gst/gstpluginfeature.c:
22704         * gst/gstutils.c:
22705           various doc updates
22706         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
22707           change an assert into an error until it gets fixed properly
22708
22709 2005-09-23  Stefan Kost  <ensonic@users.sf.net>
22710
22711         * docs/gst/gstreamer-sections.txt:
22712         * docs/gst/tmpl/.cvsignore:
22713         * docs/gst/tmpl/gstelement.sgml:
22714         * docs/gst/tmpl/gstinfo.sgml:
22715         * docs/gst/tmpl/gstobject.sgml:
22716         * gst/gstelement.c:
22717         * gst/gstelement.h:
22718         * gst/gstinfo.c:
22719         * gst/gstinfo.h:
22720         * gst/gstobject.c: (gst_object_class_init):
22721         * gst/gstobject.h:
22722           inlined 3 more biiiig doc files and added some missing docs on the fly
22723
22724 2005-09-23  Thomas Vander Stichele  <thomas at apestaart dot org>
22725
22726         * check/gst/.cvsignore:
22727         * check/gst/gstplugin.c: (GST_START_TEST), (gst_plugin_suite):
22728         * gst/gstregistryxml.c: (load_plugin),
22729         (gst_registry_xml_save_plugin):
22730           put back source in registry.  add checks for find_plugin.
22731         * testsuite/states/bin.c: (assert_state), (empty_bin),
22732         (test_adding_one_element), (main):
22733         * testsuite/states/locked.c: (main):
22734           some compile/run fixes
22735
22736 2005-09-22  Thomas Vander Stichele  <thomas at apestaart dot org>
22737
22738         * check/gst/gstvalue.c: (GST_START_TEST):
22739           fix leaks in the test itself
22740
22741 2005-09-22  Wim Taymans  <wim@fluendo.com>
22742
22743         * gst/base/gstbasesink.c: (gst_base_sink_class_init),
22744         (gst_base_sink_send_event), (gst_base_sink_peer_query),
22745         (gst_base_sink_query):
22746         Prepare for more accurate position reporting and query
22747         handling.
22748
22749         * gst/gstelement.c: (gst_element_send_event),
22750         (gst_element_set_state):
22751         Add some comment.
22752
22753 2005-09-22  Wim Taymans  <wim@fluendo.com>
22754
22755         * gst/gstquery.c: (gst_query_new_segment), (gst_query_set_segment),
22756         (gst_query_parse_segment):
22757         * gst/gstquery.h:
22758         More documentation.
22759         Add segment query for future use.
22760
22761 2005-09-22  Wim Taymans  <wim@fluendo.com>
22762
22763         * gst/gstbin.c: (gst_bin_add_func):
22764         Some more debug info.
22765
22766         * gst/gstelement.c: (gst_element_send_event):
22767         Simplify send_event
22768
22769         * gst/gstelement.h:
22770         Don't know how flags got broken.
22771
22772         * gst/gstquery.h:
22773         Added new query.
22774
22775 2005-09-22  Tim-Philipp Müller  <tim at centricular dot net>
22776
22777         * check/gst/gstvalue.c: (test_date), (gst_value_suite):
22778           Add simplistic test suite for GST_TYPE_DATE serialisation and
22779           deserialisation.
22780
22781 2005-09-22  Tim-Philipp Müller  <tim at centricular dot net>
22782
22783         * docs/gst/gstreamer-sections.txt:
22784         * gst/gststructure.c: (gst_structure_set_valist),
22785         (gst_structure_get_date):
22786         * gst/gststructure.h:
22787         * gst/gstvalue.c: (gst_value_set_date), (gst_value_get_date),
22788         (gst_date_copy), (gst_value_compare_date),
22789         (gst_value_serialize_date), (gst_value_deserialize_date),
22790         (gst_value_transform_date_string),
22791         (gst_value_transform_string_date), (_gst_value_initialize):
22792         * gst/gstvalue.h:
22793           Add GST_TYPE_DATE, a boxed type that wraps GDate, and the usual
22794           bunch of utility functions along with a hack that checks that
22795           developers don't accidentally use G_TYPE_DATE where GST_TYPE_DATE
22796           is required. Part of the grand scheme in #170777.
22797
22798 2005-09-22  Andy Wingo  <wingo@pobox.com>
22799
22800         * gst/gstconfig.h.in: Psych out gtk-doc.
22801
22802         * docs/gst/gstreamer-sections.txt: Add GST_HAVE_GLIB_2_8.
22803
22804         * check/Makefile.am (check_PROGRAMS): Add gstplugin to the tests.
22805
22806         * tools/gst-inspect.c (print_element_list): Plug some
22807         inconsequential leaks.
22808
22809         * gst/gstregistry.c (gst_registry_get_default): Doc.
22810
22811         * check/gst/gstplugin.c: 
22812         * gst/gsttypefindfactory.c (gst_type_find_factory_call_function):
22813         * gst/gstelementfactory.c (gst_element_factory_create): 
22814         * gst/gstindexfactory.c (gst_index_factory_create): Update for
22815         refcount changes.
22816
22817         * gst/gstpluginfeature.c (gst_plugin_feature_list_free): Doc.
22818         (gst_plugin_feature_load): Doc, don't eat refs.
22819
22820         * gst/gstplugin.c (gst_plugin_load): Doc, don't eat refs.
22821         (gst_plugin_list_free): Doc.
22822         (gst_plugin_load_file): Doc updates.
22823
22824         * gst/gstbuffer.c (gst_buffer_get_caps): Like all our _get
22825         accessors returning refcounted objects, return a ref.
22826
22827         * check/gst/gstbuffer.c (GST_START_TEST): Use refcount-idempotent
22828         accessor for caps. IDEMPOTENCE. Oh yes.
22829
22830 2005-09-21  Francis Labonte  <francis_labonte at hotmail dot com>
22831
22832         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
22833
22834         * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
22835         (_gst_debug_register_funcptr):
22836           Add mutex to serialise access to the hash table with
22837           the function pointer => function name string mapping;
22838           make that hash table static scope (#316809).
22839
22840         * gst/registries/.cvsignore:
22841           Remove left-over file.
22842
22843 2005-09-21  Tim-Philipp Müller  <tim at centricular dot net>
22844
22845         * docs/pwg/appendix-porting.xml:
22846           And something about newsegment events and caps-on-buffers to
22847           the porting guide (feel free to improve).
22848
22849 2005-09-21  Andy Wingo  <wingo@pobox.com>
22850
22851         * check/gst/gstutils.c (test_buffer_probe_n_times): Add tests for
22852         data and event probes on the same pad.
22853         (test_buffer_probe_once): Test that removing probes from within
22854         the probe functions works.
22855
22856 2005-09-21  Andy Wingo  <wingo@pobox.com>
22857
22858         * check/gst/gstutils.c: New file.
22859         (test_buffer_probe_n_times): A simple buffer probe test. More to
22860         come, foolios.
22861
22862         * gst/gstutils.c (gst_pad_add_buffer_probe): Connect to
22863         have-data::buffer, not have-data.
22864         (gst_pad_add_event_probe): Likewise for have-data::event.
22865         (gst_pad_add_data_probe): More docs. The part about 'resolving the
22866         peer' isn't quite right yet though.
22867         (gst_pad_remove_buffer_probe, gst_pad_remove_event_probe) 
22868         (gst_pad_remove_data_probe): Change to take the guint handler_id
22869         as their arg, not the function+data, which is more glib-like.
22870
22871         * gst/gstpad.c (gst_pad_emit_have_data_signal): Add a detail to
22872         the signal emission to indicate if the data is a buffer or an
22873         event.
22874         (gst_pad_get_type): Initialize buffer and event quarks.
22875         (gst_pad_class_init): have-data is now a detailed signal, yes it
22876         is.
22877
22878 2005-09-21  Tim-Philipp Müller  <tim at centricular dot net>
22879
22880         * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
22881         * gst/gstutils.c: (gst_util_set_value_from_string),
22882         (gst_util_set_object_arg):
22883           Don't put functional code in g_return_if_fail() or
22884           g_return_val_if_fail() statements, otherwise things will 
22885           break when G_DISABLE_CHECKS is defined during compilation.
22886
22887 2005-09-21  Stefan Kost  <ensonic@users.sf.net>
22888
22889         * docs/gst/tmpl/.cvsignore:
22890         * docs/gst/tmpl/gstvalue.sgml:
22891         * gst/gstvalue.c:
22892         * gst/gstvalue.h:
22893           inlied another one and added  some obvious docs
22894
22895 2005-09-21  Wim Taymans  <wim@fluendo.com>
22896
22897         * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init),
22898         (gst_fdsrc_init), (gst_fdsrc_start), (gst_fdsrc_stop),
22899         (gst_fdsrc_unlock), (gst_fdsrc_set_property),
22900         (gst_fdsrc_get_property), (gst_fdsrc_create):
22901         * gst/elements/gstfdsrc.h:
22902         Properly implement fdsrc. Removed signal and timeout,
22903         better implemented somewhere else.
22904
22905 2005-09-21  Stefan Kost  <ensonic@users.sf.net>
22906
22907         * docs/gst/tmpl/.cvsignore:
22908         * docs/gst/tmpl/gstimplementsinterface.sgml:
22909         * gst/gstinterface.c:
22910           inlined more docs
22911
22912 2005-09-21  Stefan Kost  <ensonic@users.sf.net>
22913
22914         * docs/gst/gstreamer-sections.txt:
22915         * docs/gst/tmpl/.cvsignore:
22916         * docs/gst/tmpl/gstenumtypes.sgml:
22917           remove obsolete doc file
22918
22919 2005-09-21  David Schleef  <ds@schleef.org>
22920
22921         * gst/gstelementfactory.c: (gst_element_factory_make): Drink a
22922         little beer, fix a little leak.
22923
22924 2005-09-21  Stefan Kost  <ensonic@users.sf.net>
22925
22926         * docs/gst/gstreamer-docs.sgml:
22927         * docs/gst/gstreamer-sections.txt:
22928         * docs/gst/tmpl/.cvsignore:
22929         * gst/Makefile.am:
22930         * gst/gst.h:
22931         * gst/gstbin.c:
22932         * gst/gstelement.h:
22933         * gst/gstindex.c: (gst_index_class_init):
22934         * gst/gstindex.h:
22935         * gst/gstindexfactory.c: (gst_index_factory_get_type),
22936         (gst_index_factory_class_init), (gst_index_factory_init),
22937         (gst_index_factory_finalize), (gst_index_factory_new),
22938         (gst_index_factory_destroy), (gst_index_factory_find),
22939         (gst_index_factory_create), (gst_index_factory_make):
22940         * gst/gstindexfactory.h:
22941         * gst/gstpluginfeature.c:
22942         * gst/gstpluginfeature.h:
22943         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
22944           more docs inlined, splitted gstindex.{c,h}
22945
22946 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
22947
22948         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
22949           fix a leak
22950
22951 2005-09-20  Tim-Philipp Müller  <tim at centricular dot net>
22952
22953         * gst/elements/gstfilesink.c: (gst_file_sink_init):
22954           Set sync to FALSE by default.
22955
22956 2005-09-20  Wim Taymans  <wim@fluendo.com>
22957
22958         * gst/base/gstbasesink.c: (gst_base_sink_class_init),
22959         (gst_base_sink_init):
22960         Make sync property settable from subclass.
22961
22962         * gst/elements/gstfakesink.c: (gst_fake_sink_init),
22963         (gst_fake_sink_change_state):
22964         Set sync to FALSE by default.
22965
22966 2005-09-20  Wim Taymans  <wim@fluendo.com>
22967
22968         * gst/gstbus.c: (poll_func), (poll_timeout), (gst_bus_poll):
22969         * tools/gst-launch.c: (main):
22970         The timeout handler should have lower priority than the source
22971         so we don't timeout before popping a message with 0 timeout.
22972         Dump error messages after failed state change.
22973
22974 2005-09-20  Tim-Philipp Müller  <tim at centricular dot net>
22975
22976         * tools/gst-inspect.c: (print_element_properties_info):
22977           Fix two typos.
22978
22979 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
22980
22981         * check/gst/gstevent.c:
22982         * gst/elements/gstfakesink.c:
22983         * gst/elements/gstfakesink.h:
22984           remove the sync property from fakesink.
22985           has the side effect of setting sync TRUE
22986           for fakesink, which is a change.  Anyone who knows how
22987           to fix this nicely in a GObject-y way, feel free.
22988
22989 2005-09-20  Stefan Kost  <ensonic@users.sf.net>
22990
22991         * docs/gst/gstreamer-docs.sgml:
22992           remove probe refsection
22993
22994 2005-09-20  Stefan Kost  <ensonic@users.sf.net>
22995
22996         * check/Makefile.am:
22997           disable valgrinding the controller test again
22998         * docs/gst/gstreamer-sections.txt:
22999           update for api-changes
23000
23001 2005-09-20  Wim Taymans  <wim@fluendo.com>
23002
23003         * gst/base/gstbasesink.c: (gst_base_sink_class_init),
23004         (gst_base_sink_set_property), (gst_base_sink_get_property),
23005         (gst_base_sink_do_sync):
23006         * gst/base/gstbasesink.h:
23007         Added sync property to basesink to disable clock sync.
23008
23009 2005-09-20  Andy Wingo  <wingo@pobox.com>
23010
23011         * gst/gstelementfactory.c (gst_element_factory_create): Avoid
23012         eating the caller's refcount.
23013
23014         * gst/gstobject.h (GST_OBJECT_REFCOUNT) 
23015         (GST_OBJECT_REFCOUNT_VALUE): Conditionally fondle the right
23016         refcount.
23017
23018         * gst/gstconfig.h.in (GST_HAVE_GLIB_2_8):
23019         * configure.ac (GST_HAVE_GLIB_2_8_DEFINE): Make the availability
23020         of GLib 2.8 public, so we can know which refcount to check in
23021         tests.
23022
23023         * gst/gstobject.c: Use the GST_HAVE_GLIB_2_8 define.
23024         (gst_object_init): Only set the gst refcount if we're going ahead
23025         with the refcount hack.
23026
23027 2005-09-20  Stefan Kost  <ensonic@users.sf.net>
23028
23029         * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
23030         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
23031           more leaks plumbed, added more debug-logging
23032         * gst/gstmacros.h:
23033           whitespace fix
23034
23035 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
23036
23037         * gst/gstmessage.c:
23038           remove include of gstmemchunk.h
23039
23040 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
23041
23042         * gst/gstclock.c: (_gst_clock_id_free):
23043           Commit from the Political Party For More Atomic CVS Commits,
23044           so that people don't waste too much of their day fishing
23045           out obvious leaks out of massive commits.
23046           Oh, and fix a pretty damn obvious leak in the memchunk
23047           removal code.
23048
23049 2005-09-20  Stefan Kost  <ensonic@users.sf.net>
23050
23051         * check/Makefile.am:
23052         * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
23053           plug mem-leak, re-add to valgrindable tests
23054
23055 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
23056
23057         * gst/gstplugin.h:
23058           unbreak the build for those who have chronic arthritis
23059           and typing "make check" is just too taxing on the hands
23060
23061 2005-09-20  Andy Wingo  <wingo@pobox.com>
23062
23063         * gst/gst.h: Re-add marshal to gst.h's include list -- if we
23064         really want it out, you should fix plugins at the same time.
23065
23066 2005-09-19  Stefan Kost  <ensonic@users.sf.net>
23067
23068         * configure.ac:
23069         * docs/gst/gstreamer-sections.txt:
23070         * gst/gstobject.c:
23071           added missing symbols to api docs
23072           disable ref-count hack if we have glib >= 2.8
23073
23074 2005-09-19  David Schleef  <ds@schleef.org>
23075
23076         * docs/gst/Makefile.am: Ignore a few more internal headers
23077         * docs/gst/gstreamer-docs.sgml: Remove old sections
23078         * docs/gst/gstreamer-sections.txt: Remove old sections
23079         * docs/gst/tmpl/gstobject.sgml: update
23080         * docs/gst/tmpl/gstplugin.sgml: update
23081         * docs/gst/tmpl/gstpluginfeature.sgml: update
23082         * docs/random/ds/0.9-suggested-changes: update.
23083         * gst/Makefile.am: remove memchunk and trashstack, since they're
23084           not used.
23085         * gst/gst.c: (gst_deinit): rename gst_registry_deinit to _cleanup
23086         * gst/gst.h: don't include some headers
23087         * gst/gstchildproxy.c: add gstmarshal.h
23088         * gst/gstclock.c: Don't use memchunks
23089         * gst/gstminiobject.c: Add some docs
23090         * gst/gstobject.c: remove DESTROYED flag, since it's redundant
23091         * gst/gstobject.h: same
23092         * gst/gstplugin.c: include gstmacros.h
23093         * gst/gstplugin.h: don't include gstmacros.h, since it's private
23094         * gst/gstquery.c: don't use memchunks
23095         * gst/gstregistry.c: rename gst_registry_deinit()
23096         * gst/gstregistry.h: same
23097
23098 2005-09-19  David Schleef  <ds@schleef.org>
23099
23100         * docs/libs/gstreamer-libs-docs.sgml: Remove docs for getbits
23101         * docs/libs/gstreamer-libs-sections.txt:
23102         * docs/libs/tmpl/gstgetbits.sgml:
23103         * docs/libs/tmpl/gstputbits.sgml:
23104
23105 2005-09-19  Tim-Philipp Müller  <tim at centricular dot net>
23106
23107         * win32/gstenumtypes.c:
23108         * win32/gstenumtypes.h:
23109           Update.
23110
23111 2005-09-19  Wim Taymans  <wim@fluendo.com>
23112
23113         * gst/gstpipeline.c: (do_pipeline_seek), (gst_pipeline_send_event):
23114         Automatically PAUSE and RESUME a pipeline when a flushing seek
23115         is performed.
23116
23117 2005-09-19  Andy Wingo  <wingo@pobox.com>
23118
23119         * gst/gstregistry.h: Spacing fixen.
23120
23121 2005-09-19  Wim Taymans  <wim@fluendo.com>
23122
23123         * gst/base/gstbasesrc.c: (gst_base_src_change_state):
23124         Handle state change failure more correctly.
23125
23126 2005-09-19  Thomas Vander Stichele  <thomas at apestaart dot org>
23127
23128         * check/Makefile.am:
23129         * check/pipelines/cleanup.c: (run_pipeline):
23130         * check/pipelines/simple_launch_lines.c: (run_pipeline),
23131         (GST_START_TEST):
23132           enable cleanup again after fixing the leak
23133         * docs/README:
23134           some more info on docs
23135
23136 2005-09-19  Thomas Vander Stichele  <thomas at apestaart dot org>
23137
23138         * check/Makefile.am:
23139           re-enable tests now that leaks are plugged
23140         * check/gst/gst.c:
23141         * check/gst/gstbin.c:
23142         * check/gst/gstpipeline.c:
23143           add some more tests while fixing leaks
23144         * common/check.mak:
23145           make sure binaries are uptodate when valgrinding/gdbing
23146         * gst/gst.c:
23147         * gst/gstelementfactory.c:
23148           remove a ref too many, and add a FIXME for when we get
23149           round to disposing of classes
23150         * gst/gstplugin.c:
23151           fix the refcounting when loading a plugin from a file and
23152           the code pretends that the pointer is the same even though
23153           of course it can change
23154         * gst/gstpluginfeature.c:
23155           unref plugins marked cached (a bit confusing as a name)
23156           as the docs state should be done
23157           various doc additions to explain refcounting
23158         * gst/gstregistry.c:
23159         * gst/gstregistryxml.c:
23160           debugging
23161
23162 2005-09-19  Wim Taymans  <wim@fluendo.com>
23163
23164         * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
23165         * check/gst/gstbus.c: (message_func_eos), (message_func_app),
23166         (send_messages), (GST_START_TEST), (gstbus_suite):
23167         * check/gst/gstpipeline.c: (GST_START_TEST):
23168         * check/pipelines/cleanup.c: (run_pipeline):
23169         * check/pipelines/simple_launch_lines.c: (run_pipeline),
23170         (GST_START_TEST):
23171         * gst/gstbus.c: (gst_bus_have_pending), (gst_bus_source_prepare),
23172         (gst_bus_source_check), (gst_bus_source_dispatch),
23173         (gst_bus_create_watch), (gst_bus_add_watch_full),
23174         (gst_bus_add_watch), (poll_func), (poll_timeout), (gst_bus_poll):
23175         * gst/gstbus.h:
23176         * tools/gst-launch.c: (event_loop):
23177         * tools/gst-md5sum.c: (event_loop):
23178         GstBusHandler -> GstBusFunc, return value has the same meaning as
23179         any other GSource (FALSE == remove source).
23180         _add_watch() and _add_watch_full() now take a MessageType mask to
23181         only handle specific types of messages.
23182         _poll() returns the GstMessage instead of the message type to avoid
23183         race conditions.
23184         _have_pending() takes a MessageType mask now too.
23185         Added testsuite for multiple bus watches.
23186         Fix testsuites and applications for new bus API.
23187
23188 2005-09-19  Thomas Vander Stichele  <thomas at apestaart dot org>
23189
23190         * check/Makefile.am:
23191           mark a bunch of the tests as to fix until we fix them
23192
23193 2005-09-18  Thomas Vander Stichele  <thomas at apestaart dot org>
23194
23195         * common/check.mak:
23196           use GST_PLUGIN settings for valgrind tests as well, so we're
23197           valgrinding the correct thing
23198         * gst/gst.c: (init_post):
23199           plug another leak
23200
23201 2005-09-18  Thomas Vander Stichele  <thomas at apestaart dot org>
23202
23203         * gst/gst.c: (init_post), (gst_deinit):
23204         * gst/gstelementfactory.c: (gst_element_factory_class_init),
23205         (gst_element_factory_finalize), (gst_element_factory_cleanup):
23206         * gst/gstindex.c: (gst_index_factory_class_init),
23207         (gst_index_factory_finalize):
23208         * gst/gstobject.c: (gst_object_dispose):
23209         * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_class_init),
23210         (gst_plugin_load_file), (gst_plugin_desc_free):
23211         * gst/gstpluginfeature.c: (gst_plugin_feature_class_init),
23212         (gst_plugin_feature_finalize):
23213         * gst/gstregistry.c: (gst_registry_class_init),
23214         (gst_registry_init), (gst_registry_finalize),
23215         (gst_registry_get_default), (gst_registry_deinit):
23216         * gst/gstregistry.h:
23217         * gst/gstregistryxml.c: (load_feature), (load_plugin):
23218           various cleanups and memleak plugging.  make valgrind is happy now.
23219
23220 2005-09-18  Thomas Vander Stichele  <thomas at apestaart dot org>
23221
23222         * common/check.mak:
23223           add a check-valgrind target
23224
23225 2005-09-18  David Schleef  <ds@schleef.org>
23226
23227         * tools/gst-inspect.c: Revert the GOption code.
23228
23229 2005-09-17  David Schleef  <ds@schleef.org>
23230
23231         * check/Makefile.am: Fix environment variables.
23232         * check/gst/gstplugin.c: Fix for API changes.
23233         * tools/gst-inspect.c: Fix for API changes.
23234         * tools/gst-xmlinspect.c: Fix for API changes.
23235         * gst/gstelementfactory.c:
23236         * gst/gstplugin.c:
23237         * gst/gstplugin.h:
23238         * gst/gstpluginfeature.c:
23239         * gst/gstpluginfeature.h:
23240         * gst/gstregistry.c:
23241         * gst/gstregistry.h:
23242         * gst/gstregistryxml.c:
23243         * gst/gsttypefind.c:
23244         * gst/gsttypefindfactory.c:
23245         * gst/indexers/gstfileindex.c:
23246         * gst/indexers/gstmemindex.c:
23247         * gst/schedulers/Makefile.am:
23248           Change registry to keep track of both plugins and features,
23249           removing the feature tracking from plugins themselves.
23250
23251 2005-09-16  Thomas Vander Stichele  <thomas at apestaart dot org>
23252
23253         * check/Makefile.am:
23254         * tools/gst-register.1.in:
23255           remove gst-register
23256
23257 2005-09-15  David Schleef  <ds@schleef.org>
23258
23259         * check/gst/gstplugin.c:
23260         * gst/gstelementfactory.c:
23261         * gst/gstplugin.c:
23262         * gst/gstpluginfeature.c:
23263         * gst/gstregistry.c:
23264           Getting tired of debugging.  Disabled all the unreffing of
23265           plugins and features, which fixes the segfaults, but of
23266           course leaks like crazy.  At least playbin works.
23267
23268 2005-09-15  David Schleef  <ds@schleef.org>
23269
23270         * check/gst/gstplugin.c: (register_check_elements),
23271         (GST_START_TEST), (peek), (suggest), (gst_plugin_suite):
23272         More testing
23273         * gst/elements/gsttypefindelement.c: Fix refcounting.
23274         * gst/gsttypefind.c:
23275         * gst/gsttypefindfactory.c:
23276         * gst/gsttypefindfactory.h:
23277
23278 2005-09-15  David Schleef  <ds@schleef.org>
23279
23280         * gst/gstindex.c: get refcounting correct.
23281         * gst/gstregistry.c: Handle the case where a feature/plugin is
23282           not found.
23283
23284 2005-09-15  David Schleef  <ds@schleef.org>
23285
23286         * check/Makefile.am:
23287         * check/gst/gstplugin.c: Add test
23288         * gst/gstplugin.c: Fix problems noticed by testsuite
23289         * gst/gstplugin.h:
23290         * gst/gstregistry.c: 
23291         * gst/gstregistry.h:
23292
23293 2005-09-15  David Schleef  <ds@schleef.org>
23294
23295         * gst/gstplugin.c: Implement semi-decent recounting and locking
23296           in plugins and plugin features.
23297         * gst/gstplugin.h:
23298         * gst/gstpluginfeature.c:
23299         * gst/gstpluginfeature.h:
23300         * gst/gstregistry.c:
23301
23302 2005-09-15  Michael Smith <msmith@fluendo.com>
23303
23304         * gst/gstregistry.c: (gst_registry_get_feature_list):
23305           Implement this. Makes oggdemux work; decodebin still broken.
23306
23307 2005-09-14  David Schleef  <ds@schleef.org>
23308
23309         * configure.ac: Add -no-undefined to GST_PLUGIN_LDFLAGS (bug
23310           #316076)
23311         * gst/base/Makefile.am: Add -no-undefined to LDFLAGS for libs
23312         * gst/check/Makefile.am:
23313         * libs/gst/controller/Makefile.am:
23314         * libs/gst/dataprotocol/Makefile.am:
23315
23316 2005-09-14  David Schleef  <ds@schleef.org>
23317
23318         * configure.ac: Remove getbits library.  Nothing uses it, and
23319           it should be in something like liboil if someone did want
23320           to use it.
23321         * libs/gst/Makefile.am:
23322         * libs/gst/getbits/Makefile.am:
23323         * libs/gst/getbits/gbtest.c:
23324         * libs/gst/getbits/getbits.c:
23325         * libs/gst/getbits/getbits.h:
23326         * libs/gst/getbits/gstgetbits_generic.c:
23327         * libs/gst/getbits/gstgetbits_i386.s:
23328         * libs/gst/getbits/gstgetbits_inl.h:
23329
23330 2005-09-14  David Schleef  <ds@schleef.org>
23331
23332         * gst/Makefile.am: Dist glib-compat.h
23333
23334 2005-09-14  David Schleef  <ds@schleef.org>
23335
23336         * configure.ac: Remove gst/registries, since it's no longer used.
23337         * gst/registries/Makefile.am:
23338         * gst/registries/gstlibxmlregistry.c:
23339         * gst/registries/gstlibxmlregistry.h:
23340         * gst/registries/gstxmlregistry.c:
23341         * gst/registries/gstxmlregistry.h:
23342         * gst/registries/registrytest.c:
23343
23344 2005-09-14  David Schleef  <ds@schleef.org>
23345
23346         * gst/glib-compat.h:
23347         * gst/gstregistryxml.c:
23348           Convergence is near.  Seriously.
23349
23350 2005-09-14  David Schleef  <ds@schleef.org>
23351
23352         * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
23353         * gst/glib-compat.h:
23354           Attempt #4 to appease the buildbots.
23355
23356 2005-09-14  David Schleef  <ds@schleef.org>
23357
23358         * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
23359           Attempt #3.
23360
23361 2005-09-14  David Schleef  <ds@schleef.org>
23362
23363         * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
23364         Attempt #2.
23365
23366 2005-09-14  David Schleef  <ds@schleef.org>
23367
23368         * gst/Makefile.am: Oh yeah, libgstreamer.so needs to contain
23369           the new functions.
23370
23371 2005-09-14  David Schleef  <ds@schleef.org>
23372
23373         * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
23374         * gst/glib-compat.h: Add some functions that are in newer versions
23375           of glib than we care to require.
23376         * gst/gstregistryxml.c: Use them.
23377
23378 2005-09-14  David Schleef  <ds@schleef.org>
23379
23380         * po/POTFILES.in: remove gst-register.c
23381
23382 2005-09-14  David Schleef  <ds@schleef.org>
23383
23384         * docs/gst/gstreamer-docs.sgml:
23385         * docs/gst/gstreamer-sections.txt:
23386         * docs/gst/gstreamer.types:
23387         * docs/gst/tmpl/gstelement.sgml:
23388         * docs/gst/tmpl/gstplugin.sgml:
23389         * docs/gst/tmpl/gstpluginfeature.sgml:
23390           Documentation updates for registry changes.
23391
23392 2005-09-14  David Schleef  <ds@schleef.org>
23393
23394         * gst/gstregistryxml.c: Copy g_mkdir_with_parent() from glib,
23395           because we don't require glib-2.8.
23396
23397 2005-09-14  David Schleef  <ds@schleef.org>
23398
23399         * gst/gstregistryxml.c: Added.  Essentially moved out of the
23400           registries directory.
23401
23402 2005-09-14  David Schleef  <ds@schleef.org>
23403
23404         * check/Makefile.am:
23405         * check/generic/states.c:
23406         * gst/Makefile.am:
23407         * gst/gst.c:
23408         * gst/gst.h:
23409         * gst/gst_private.h:
23410         * gst/gstelementfactory.c:
23411         * gst/gstindex.c:
23412         * gst/gstinfo.c:
23413         * gst/gstplugin.c:
23414         * gst/gstplugin.h:
23415         * gst/gstpluginfeature.c:
23416         * gst/gstpluginfeature.h:
23417         * gst/gstregistry.c:
23418         * gst/gstregistry.h:
23419         * gst/gstregistrypool.c: remove
23420         * gst/gstregistrypool.h: remove
23421         * gst/gsttypefind.c:
23422         * gst/gsttypefindfactory.c:
23423         * gst/gsturi.c:
23424         * tools/Makefile.am:
23425         * tools/gst-compprep.c:
23426         * tools/gst-inspect.c:
23427         * tools/gst-register.c: remove
23428         * tools/gst-xmlinspect.c:
23429           Registry rewrite.  Changes registry from being a file created
23430           by a tool into a simple cache file created automatically by 
23431           libgstreamer.  Removed gst-register (because it's no longer
23432           needed).  Remove registry pools, because we only have one
23433           registry implementation (XML).  Fix up other subsystems as
23434           necessary.
23435
23436 2005-09-13  Michael Smith <msmith@fluendo.com>
23437
23438         * gst/gstconfig.h.in:
23439           Don't Use windows linking attributes for MinGW. Fixes #316157
23440
23441 2005-09-13  Thomas Vander Stichele  <thomas at apestaart dot org>
23442
23443         * gst/gstutils.c: (set_state_async_thread_func),
23444         (gst_element_set_state_async):
23445           Apparently people think it's better if this function doesn't
23446           try to set the state to whatever state was asked for on the first
23447           call to this function for any object.  Seriously.
23448
23449 2005-09-12  Thomas Vander Stichele  <thomas at apestaart dot org>
23450
23451         * check/gst/gstpipeline.c: (GST_START_TEST):
23452         * docs/gst/gstreamer-sections.txt:
23453         * gst/gstutils.c: (set_state_async_thread_func),
23454         (gst_element_set_state_async):
23455         * gst/gstutils.h:
23456           add a "gst_element_set_state_async" method that
23457           sets the state and starts a thread to make sure the state
23458           change completes as best as it can
23459
23460 2005-09-12  Thomas Vander Stichele  <thomas at apestaart dot org>
23461
23462         * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
23463           codify design+behaviour in testsuite after discussion
23464
23465 2005-09-12  Thomas Vander Stichele  <thomas at apestaart dot org>
23466
23467         * docs/gst/tmpl/gstelement.sgml:
23468         * docs/manual/appendix-quotes.xml:
23469           add a quote
23470         * gst/gstelement.c: (gst_element_set_state):
23471           add some debug
23472
23473 2005-09-12  Jan Schmidt  <thaytan@mad.scientist.com>
23474
23475         * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
23476         (gst_base_transform_prepare_output_buf),
23477         (gst_base_transform_handle_buffer):
23478         * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip),
23479         (gst_capsfilter_prepare_buf):
23480           Remove the requirement for sub-classes to call the parent
23481           implementation of prepare_output_buffer with a wrapper function.
23482           
23483         * gst/gsttaglist.h:
23484         * gst/gsttagsetter.h:
23485           Fix #define wrapper
23486
23487 2005-09-11  Stefan Kost  <ensonic@users.sf.net>
23488
23489         * docs/gst/gstreamer-sections.txt:
23490           more doc cleanups
23491
23492 2005-09-11  Thomas Vander Stichele  <thomas at apestaart dot org>
23493
23494         * docs/gst/gstreamer-sections.txt:
23495         * docs/gst/tmpl/gstelement.sgml:
23496         * docs/gst/tmpl/gstplugin.sgml:
23497         * gst/gstminiobject.c:
23498         * gst/gstvalue.h:
23499           docs now stop throwing warnings
23500
23501 2005-09-11  Thomas Vander Stichele  <thomas at apestaart dot org>
23502
23503         * docs/gst/gstreamer-sections.txt:
23504         * docs/gst/gstreamer.types:
23505         * docs/gst/tmpl/gstpad.sgml:
23506         * docs/gst/tmpl/gsttypes.sgml:
23507         * gst/base/gstadapter.h:
23508         * gst/base/gstbasesink.h:
23509         * gst/base/gstbasesrc.h:
23510         * gst/gstbin.h:
23511         * gst/gstbuffer.h:
23512         * gst/gstbus.h:
23513         * gst/gstcaps.h:
23514         * gst/gstclock.h:
23515         * gst/gstelement.h:
23516         * gst/gstevent.h:
23517         * gst/gstmessage.h:
23518         * gst/gstpad.h:
23519         * gst/gststructure.c:
23520         * gst/registries/gstlibxmlregistry.h:
23521           various documentation fixes
23522
23523 2005-09-11  Thomas Vander Stichele  <thomas at apestaart dot org>
23524
23525         * docs/gst/gstreamer-sections.txt:
23526         * docs/gst/tmpl/gstvalue.sgml:
23527           rearrange gstvalue section
23528         * gst/gstutils.c: (gst_element_state_get_name):
23529           NONE -> VOID
23530         * gst/gstvalue.c: (_gst_value_initialize):
23531         * gst/gstvalue.h:
23532           doc updates
23533
23534 2005-09-10  Jan Schmidt  <thaytan@mad.scientist.com>
23535
23536         * check/gst-libs/controller.c:
23537           Header include fix.
23538         * gst/base/gstbasetransform.c:
23539         (gst_base_transform_default_prepare_buf),
23540         (gst_base_transform_handle_buffer):
23541         * gst/base/gstbasetransform.h:
23542           Some more basetransform changes and fixes to enable sub-classes
23543           that modify buffer metadata only.
23544         * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
23545         (gst_capsfilter_init), (gst_capsfilter_transform_ip),
23546         (gst_capsfilter_prepare_buf):
23547           If the output pad has fixed allowed caps and input buffers 
23548           don't have any, set the fixed caps on outgoing buffers.
23549
23550 2005-09-09  Jan Schmidt  <thaytan@mad.scientist.com>
23551         * check/elements/identity.c: (GST_START_TEST):
23552           Make the error a little clearer when the test fails because
23553           identity made a copy of the buffer.
23554         * docs/gst/gstreamer-sections.txt:
23555           New symbols in gstbasetransform.h
23556         * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
23557         (gst_base_transform_init), (gst_base_transform_transform_size),
23558         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
23559         (gst_base_transform_default_prepare_buf),
23560         (gst_base_transform_get_unit_size),
23561         (gst_base_transform_buffer_alloc),
23562         (gst_base_transform_handle_buffer), (gst_base_transform_chain),
23563         (gst_base_transform_change_state),
23564         (gst_base_transform_set_passthrough),
23565         (gst_base_transform_set_in_place),
23566         (gst_base_transform_is_in_place):
23567         * gst/base/gstbasetransform.h:
23568           Change BaseTransform to separate in_place operate from same_caps
23569           output. in_place implies that the element can perform the transform
23570           on incoming buffers in-place, even if the caps on the output are
23571           different.
23572           Sub-class elements can now implement special buffer allocation
23573           methods for outgoing buffers if they wish to.
23574           Big documentation addition.
23575         * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip):
23576         * gst/elements/gstelements.c:
23577           Changes for basetransform modifications.
23578         * gst/elements/Makefile.am:
23579         * gst/elements/gstfdsrc.c: (gst_fdsrc_init), (gst_fdsrc_create):
23580           Compile fix. Extra debug output.
23581
23582 2005-09-09  Thomas Vander Stichele  <thomas at apestaart dot org>
23583
23584         * check/gst/gstpad.c: (GST_START_TEST), (name_is_valid),
23585         (gst_pad_suite):
23586           add tests for valid pad naming
23587         * gst/check/gstcheck.c: (gst_check_log_message_func),
23588         (gst_check_log_critical_func):
23589           add ASSERT_WARNING
23590           remove printing of code, it is fragile when the code contains
23591           % and the line number is enough info
23592         * gst/check/gstcheck.h:
23593         * gst/gstpad.c: (gst_pad_template_new):
23594           fix memleaks
23595
23596 2005-09-09  Thomas Vander Stichele  <thomas at apestaart dot org>
23597
23598         * configure.ac:
23599           say what CHECK flags we use
23600         * docs/libs/gstreamer-libs.types:
23601         * libs/gst/controller/Makefile.am:
23602         * libs/gst/controller/gst-controller.c:
23603         * libs/gst/controller/gst-controller.h:
23604         * libs/gst/controller/gst-helper.c:
23605         * libs/gst/controller/gst-interpolation.c:
23606         * libs/gst/controller/gstcontroller.c:
23607         * libs/gst/controller/gsthelper.c:
23608         * libs/gst/controller/gstinterpolation.c:
23609         * tools/gst-inspect.c: (print_plugin_info):
23610           we don't use dashes in header names
23611
23612 2005-09-09  Thomas Vander Stichele  <thomas at apestaart dot org>
23613
23614         * check/Makefile.am:
23615         * check/gst/.cvsignore:
23616         * check/gst/gstpipeline.c: (pop_messages), (GST_START_TEST),
23617         (gst_pipeline_suite), (main):
23618           adding a test for pipelines and state changes
23619         * gst/gstutils.c: (get_state_func):
23620           add some debugging
23621         * gstreamer.spec.in:
23622           fix up spec file
23623
23624 2005-09-08  Michael Smith <msmith@fluendo.com>
23625
23626         * gst/elements/gstfilesrc.c: (gst_file_src_map_region),
23627         (gst_file_src_map_small_region), (gst_file_src_create_mmap),
23628         (gst_file_src_is_seekable), (gst_file_src_get_size),
23629         (gst_file_src_start):
23630         * gst/elements/gstfilesrc.h:
23631           Various fixes for unseekable, unmmapable, and non-normal files, so
23632           that fallback to read() rather than mmap() works.
23633         * gst/gstevent.c: (gst_event_new_newsegment):
23634           Allow newsegment events with segment_start == segment_end, as will
23635           correctly happen if you use filesrc on a zero-size file, for
23636           example.
23637
23638 2005-09-07  Jan Schmidt  <thaytan@mad.scientist.com>
23639
23640         * gst/gstplugin.c: (gst_plugin_load_file):
23641           Call g_module_close when we don't load the module
23642
23643         * gst/registries/gstlibxmlregistry.c:
23644         (gst_xml_registry_get_property):
23645           Port leak fix from 0.8
23646
23647 2005-09-07  Stefan Kost  <ensonic@users.sf.net>
23648
23649         * docs/gst/gstreamer-docs.sgml:
23650         * docs/gst/tmpl/.cvsignore:
23651         * docs/gst/tmpl/gsttrace.sgml:
23652         * docs/gst/tmpl/gsttrashstack.sgml:
23653         * gst/Makefile.am:
23654         * gst/gst.h:
23655         * gst/gstelement.h:
23656         * gst/gstevent.h:
23657         * gst/gstmessage.c:
23658         * gst/gstmessage.h:
23659         * gst/gsttag.c:
23660         * gst/gsttag.h:
23661         * gst/gsttaginterface.c:
23662         * gst/gsttaginterface.h:
23663         * gst/gsttaglist.c:
23664         * gst/gsttaglist.h:
23665         * gst/gsttagsetter.c:
23666         * gst/gsttagsetter.h:
23667         * gst/gsttrace.c:
23668         * gst/gsttrace.h:
23669         * gst/gsttrashstack.c:
23670           renamed gsttag -> gsttaglist, gsttaginterface -> gsttagsetter
23671           inlined docs for gsttrace, gsttrashstack
23672
23673 2005-09-07  Stefan Kost  <ensonic@users.sf.net>
23674
23675         * gst/Makefile.am:
23676         * gst/elements/gstbufferstore.h:
23677         * gst/elements/gsttypefindelement.c:
23678         * gst/elements/gsttypefindelement.h:
23679         * gst/gst.h:
23680         * gst/gsttypefind.c:
23681         * gst/gsttypefind.h:
23682         * gst/gsttypefindfactory.c: (gst_type_find_factory_get_type),
23683         (gst_type_find_factory_class_init), (gst_type_find_factory_init),
23684         (gst_type_find_factory_dispose),
23685         (gst_type_find_factory_unload_thyself),
23686         (gst_type_find_load_plugin), (gst_type_find_factory_get_list),
23687         (gst_type_find_factory_get_caps),
23688         (gst_type_find_factory_get_extensions),
23689         (gst_type_find_factory_call_function):
23690         * gst/gsttypefindfactory.h:
23691         * gst/registries/gstlibxmlregistry.c:
23692         * gst/registries/gstxmlregistry.c:
23693           splitted gsttypefind into gsttypefind, gsttypefindfactory
23694
23695 2005-09-07  Andy Wingo  <wingo@pobox.com>
23696
23697         * gst/base/gstbasesink.c (gst_base_sink_activate_pull): Fix a race
23698         condition whereby the pad's task function is entered before the
23699         pad_mode variable was set.
23700
23701 2005-09-07  Jan Schmidt  <thaytan@mad.scientist.com>
23702
23703         * gst/gstpad.c: (gst_pad_alloc_buffer):
23704           Catch misbehaving pad_alloc functions that don't
23705           set up caps and do it for them.
23706
23707 2005-09-07  Stefan Kost  <ensonic@users.sf.net>
23708
23709         * check/pipelines/simple_launch_lines.c: (run_pipeline):
23710           test for pipe!=NULL
23711         * docs/gst/tmpl/.cvsignore:
23712         * docs/gst/tmpl/gstmemchunk.sgml:
23713         * docs/gst/tmpl/gstparse.sgml:
23714         * docs/gst/tmpl/gsttaglist.sgml:
23715         * docs/gst/tmpl/gsttagsetter.sgml:
23716         * docs/gst/tmpl/gsttypefind.sgml:
23717         * docs/gst/tmpl/gsttypefindfactory.sgml:
23718         * gst/gstmemchunk.c:
23719         * gst/gstparse.c:
23720         * gst/gsttag.c:
23721         * gst/gsttaginterface.c:
23722         * gst/gsttypefind.c:
23723         * gst/gsttypefind.h:
23724           inlined more docs
23725
23726 === release 0.9.2 ===
23727
23728 2005-09-06  Thomas Vander Stichele  <thomas at apestaart dot org>
23729
23730         * NEWS:
23731         * RELEASE:
23732         * configure.ac:
23733           releasing 0.9.2, "South"
23734
23735 2005-09-05  Andy Wingo  <wingo@pobox.com>
23736
23737         * gst/registries/gstxmlregistry.h:
23738         * gst/registries/gstxmlregistry.c: Um... resurrect...
23739         
23740         * gst/registries/gstxmlregistry.h:
23741         * gst/registries/gstxmlregistry.c: and update to newer API.
23742         Incidentally they should be a bit faster now that they don't have
23743         to parse the caps.
23744         
23745 2005-09-05  Andy Wingo  <wingo@pobox.com>
23746
23747         * gst/registries/gstxmlregistry.h:
23748         * gst/registries/gstxmlregistry.c: Remove from CVS, they were
23749         replaced by the libxml registry a while back
23750
23751 2005-09-03  Thomas Vander Stichele  <thomas at apestaart dot org>
23752
23753         * docs/gst/tmpl/gstplugin.sgml:
23754         * gst/elements/gstelements.c:
23755         * gst/gst.c:
23756         * gst/gstplugin.c: (gst_plugin_register_func),
23757         (gst_plugin_desc_copy), (gst_plugin_desc_free),
23758         (gst_plugin_get_source):
23759         * gst/gstplugin.h:
23760         * gst/registries/gstlibxmlregistry.c: (load_plugin),
23761         (gst_xml_registry_save_plugin):
23762         * gst/registries/gstxmlregistry.c: (gst_xml_registry_parse_plugin),
23763         (gst_xml_registry_save_plugin):
23764         * tools/gst-inspect.c: (print_plugin_info):
23765           add a "source" plugin description field, to represent the source
23766           module this plugin is a part of.  By default GST_PLUGIN_DEFINE
23767           will set it to PACKAGE, which is automake's idea of the name of
23768           the source project.
23769
23770 2005-09-03  Thomas Vander Stichele  <thomas at apestaart dot org>
23771
23772         * Makefile.am:
23773         * autogen.sh:
23774         * configure.ac:
23775         * docs/Makefile.am:
23776         * docs/faq/Makefile.am:
23777         * docs/gst/tmpl/gstelement.sgml:
23778         * docs/gst/tmpl/gsttypes.sgml:
23779         * docs/htmlinstall.mak:
23780         * docs/manual/Makefile.am:
23781         * docs/pwg/Makefile.am:
23782           reorganize doc build a little
23783           split out docbook and gtk-doc stuff
23784           have two separate --enable's and enable them through autogen
23785           but disable by default in configure (to be similar to other
23786           projects)
23787         * gstreamer.spec.in:
23788           clean up docs install
23789         * po/af.po:
23790         * po/az.po:
23791         * po/ca.po:
23792         * po/cs.po:
23793         * po/de.po:
23794         * po/en_GB.po:
23795         * po/fr.po:
23796         * po/it.po:
23797         * po/nb.po:
23798         * po/nl.po:
23799         * po/ru.po:
23800         * po/sq.po:
23801         * po/sr.po:
23802         * po/sv.po:
23803         * po/tr.po:
23804         * po/uk.po:
23805         * po/vi.po:
23806           translation updates
23807
23808 2005-09-03  Tim-Philipp Müller  <tim at centricular dot net>
23809
23810         * gst/base/gstbasesink.c: (gst_base_sink_pad_buffer_alloc):
23811           Add comment.
23812           
23813         * gst/elements/gstfakesink.c: (gst_fake_sink_init),
23814         (gst_fake_sink_change_state):
23815           Make state change function thread-safe.
23816           
23817         * gst/gstpad.c: (gst_pad_alloc_buffer):
23818           Set offset on generic buffer allocated by fallback.
23819
23820 2005-09-03  Stefan Kost  <ensonic@users.sf.net>
23821
23822         * docs/gst/gstreamer-sections.txt:
23823         * docs/gst/tmpl/gstelement.sgml:
23824         * gst/gstpad.c:
23825         * libs/gst/controller/gst-controller.c:
23826         (gst_controlled_property_set_interpolation_mode),
23827         (gst_controlled_property_new),
23828         (gst_controller_find_controlled_property):
23829          run the wingo-magic script against the docs
23830
23831 2005-09-02  Stefan Kost  <ensonic@users.sf.net>
23832
23833         * docs/gst/gstreamer-docs.sgml:
23834         * docs/gst/gstreamer-sections.txt:
23835         * docs/gst/tmpl/.cvsignore:
23836         * docs/gst/tmpl/gstelementdetails.sgml:
23837         * docs/gst/tmpl/gstelementfactory.sgml:
23838         * gst/gst.c:
23839         * gst/gstbus.c:
23840         * gst/gstelementfactory.c:
23841         * gst/gstelementfactory.h:
23842           merged elementdetails docs into elementfactory docs
23843           inlined both
23844
23845 2005-09-02  Andy Wingo  <wingo@pobox.com>
23846
23847         * gst/gstelement.h: Add magical pixie dust to make glib-mkenums
23848         consider this enum an enum and not a flags.
23849
23850 2005-09-02  Stefan Kost  <ensonic@users.sf.net>
23851
23852         * docs/gst/gstreamer-docs.sgml:
23853         * docs/gst/tmpl/.cvsignore:
23854         * docs/gst/tmpl/gstghostpad.sgml:
23855         * docs/gst/tmpl/gstiterator.sgml:
23856         * docs/gst/tmpl/gstmacros.sgml:
23857         * docs/gst/tmpl/gstrealpad.sgml:
23858         * docs/gst/tmpl/gstregistry.sgml:
23859         * docs/gst/tmpl/gstregistrypool.sgml:
23860         * docs/gst/tmpl/gststructure.sgml:
23861         * docs/gst/tmpl/gstsystemclock.sgml:
23862         * docs/gst/tmpl/gsttrace.sgml:
23863         * gst/gstghostpad.c:
23864         * gst/gstmacros.h:
23865         * gst/gstmemchunk.c:
23866         * gst/gstmemchunk.h:
23867         * gst/gstqueue.c:
23868         * gst/gstregistry.c:
23869         * gst/gstregistrypool.c:
23870         * gst/gststructure.c:
23871         * gst/gstsystemclock.c:
23872           more docs inlined
23873
23874 2005-09-02  Andy Wingo  <wingo@pobox.com>
23875
23876         * gst/gstelement.h (GstState): Renamed from GstElementState,
23877         changed to be a normal enum instead of flags.
23878         (GstStateChangeReturn): Renamed from GstElementStateReturn, names
23879         munged to be GST_STATE_CHANGE_*.
23880         (GST_STATE_CHANGE): Renamed from GST_STATE_TRANSITION, updated to
23881         work with the new state representation.
23882         (GstStateChange): New enumeration of possible state transitions.
23883         Replaces GST_STATE_FOO_TO_BAR with GST_STATE_CHANGE_FOO_TO_BAR.
23884         (GstElementClass::change_state): Pass the GstStateChange along as
23885         an argument. Helps language bindings, so they don't have to use
23886         tricky lock-needing macros like GST_STATE_CHANGE ().
23887
23888         * scripts/update-states (file): New script. Run it on a file to
23889         update it for state naming and API changes. Updates files in
23890         place.
23891
23892         * All files updated for the new API.
23893
23894 2005-09-02  Thomas Vander Stichele  <thomas at apestaart dot org>
23895
23896         * gst/gsttrace.c: (gst_trace_flush), (gst_trace_text_flush):
23897         * gst/gstutils.c: (gst_util_set_value_from_string),
23898         (gst_util_set_object_arg):
23899           fix a bunch of unchecked return values
23900         * tools/gst-complete.c: (main):
23901         * gstreamer.spec.in:
23902           clean up a little
23903
23904 2005-09-01  Wim Taymans  <wim@fluendo.com>
23905
23906         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
23907         (gst_base_sink_event), (gst_base_sink_do_sync),
23908         (gst_base_sink_handle_event):
23909         * gst/base/gstbasesink.h:
23910         Handle newsegments more correctly.
23911
23912         * gst/gstbus.c:
23913         Fix docs.
23914
23915         * gst/gstevent.c: (gst_event_new_newsegment):
23916         A newsegment cannot have a start_time of -1
23917
23918 2005-09-01  Tim-Philipp Müller  <tim at centricular dot net>
23919
23920         * win32/gstenumtypes.c:
23921         * win32/gstenumtypes.h:
23922           Update
23923
23924 2005-08-31  Stefan Kost  <ensonic@users.sf.net>
23925
23926         * libs/gst/controller/gst-controller.c:
23927         (gst_controlled_property_set_interpolation_mode),
23928         (gst_controlled_property_new):
23929          fixed boolean again
23930
23931 2005-08-31  Thomas Vander Stichele  <thomas at apestaart dot org>
23932
23933         * docs/faq/gst-uninstalled:
23934           add -good
23935         * gst/gstevent.c:
23936         * gst/gstevent.h:
23937           remove wrong docs
23938         * gst/gstutils.c: (gst_element_link_filtered):
23939         * gst/gstutils.h:
23940           add gst_element_link_filtered
23941
23942 2005-08-31  Stefan Kost  <ensonic@users.sf.net>
23943
23944         * docs/gst/gstreamer-docs.sgml:
23945         * docs/gst/gstreamer-sections.txt:
23946         * docs/gst/tmpl/.cvsignore:
23947         * docs/gst/tmpl/gsterror.sgml:
23948         * docs/gst/tmpl/gstfilter.sgml:
23949         * docs/gst/tmpl/gsturihandler.sgml:
23950         * docs/gst/tmpl/gsturitype.sgml:
23951         * docs/gst/tmpl/gstutils.sgml:
23952         * docs/gst/tmpl/gstxml.sgml:
23953         * gst/gsterror.c:
23954         * gst/gsterror.h:
23955         * gst/gstfilter.c:
23956         * gst/gsturi.c:
23957         * gst/gsturitype.c:
23958         * gst/gstutils.c:
23959         * gst/gstxml.c:
23960           inlined more docs, fixed double id-ref
23961
23962 2005-08-31  Wim Taymans  <wim@fluendo.com>
23963
23964         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
23965         (gst_base_transform_handle_buffer):
23966         Passthrough elements don't need the caps as they don't care.
23967
23968 2005-08-31  Wim Taymans  <wim@fluendo.com>
23969
23970         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
23971         (gst_base_transform_handle_buffer), (gst_base_transform_chain):
23972         Don't leak refcounts on buffers.
23973
23974 2005-08-31  Wim Taymans  <wim@fluendo.com>
23975
23976         * gst/base/gstbasetransform.c: (gst_base_transform_configure_caps),
23977         (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
23978         (gst_base_transform_chain), (gst_base_transform_change_state):
23979         * gst/base/gstbasetransform.h:
23980         Handle the case where we are not negotiated more gracefully.
23981
23982 2005-08-31  Tim-Philipp Müller  <tim at centricular dot net>
23983
23984         * gst/elements/gstfilesrc.c: (gst_mmap_buffer_init),
23985         (gst_file_src_map_region):
23986           Set READONLY flag on mmap'ed buffers, otherwise
23987           gst_buffer_make_writable() won't work properly (#314708).
23988
23989 2005-08-31  Wim Taymans  <wim@fluendo.com>
23990
23991         * gst/base/gstbasetransform.c: (gst_base_transform_handle_buffer):
23992         passthrough elements can even do inplace on non writable
23993         buffers (as they don't touch them).
23994
23995 2005-08-31  Stefan Kost  <ensonic@users.sf.net>
23996
23997         * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
23998         (gst_test_mono_source_set_property),
23999         (gst_test_mono_source_class_init), (GST_START_TEST),
24000         (gst_controller_suite):
24001           more tests (hehe I have the most)
24002         * gst/gstbus.c:
24003           describe popping messages whenusing mulltiple sources
24004         * libs/gst/controller/gst-controller.c:
24005         (gst_controlled_property_set_interpolation_mode),
24006         (gst_controlled_property_new):
24007         * libs/gst/controller/gst-controller.h:
24008         * libs/gst/controller/gst-interpolation.c:
24009           implement boolean properties
24010
24011 2005-08-31  Wim Taymans  <wim@fluendo.com>
24012
24013         * gst/gstminiobject.c: (gst_mini_object_ref):
24014         Cannot assert that the refcount has to be positive
24015         since a disposed object can be resurrected.
24016
24017 2005-08-31  Wim Taymans  <wim@fluendo.com>
24018
24019         * gst/gstpad.c: (gst_pad_init):
24020         Revert change, need to first fix badly behaving 
24021         apps.
24022
24023 2005-08-30  Wim Taymans  <wim@fluendo.com>
24024
24025         * check/elements/fakesrc.c: (setup_fakesrc):
24026         * check/elements/identity.c: (setup_identity):
24027         Activate pads before using them.
24028
24029 2005-08-30  Wim Taymans  <wim@fluendo.com>
24030
24031         * gst/base/gstadapter.c: (gst_adapter_flush):
24032         Flushing out 0 bytes is ok for this function.
24033
24034         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
24035         no newsegment gives a warning and sets the start/stop to 
24036         invalid.
24037
24038         * gst/base/gstbasetransform.c: (gst_base_transform_change_state),
24039         (gst_base_transform_set_passthrough):
24040         Some debug info.
24041
24042         * gst/gstminiobject.c: (gst_mini_object_ref):
24043         Check refcount here too.
24044
24045         * gst/gstpad.c: (gst_pad_init):
24046         Pads are initially flushing and refusing data.
24047
24048         * gst/gstutils.c: (gst_element_link_pads_filtered):
24049         When adding a capsfilter element make sure it has the
24050         same state as the parent bin.
24051
24052 2005-08-30  Stefan Kost  <ensonic@users.sf.net>
24053
24054         * docs/gst/tmpl/.cvsignore:
24055         * docs/gst/tmpl/gstformat.sgml:
24056         * docs/gst/tmpl/gstversion.sgml:
24057         * gst/gstbus.h:
24058         * gst/gstformat.c:
24059         * gst/gstformat.h:
24060         * gst/gstversion.h.in:
24061           more docs and two more inlined
24062
24063 2005-08-30  Wim Taymans  <wim@fluendo.com>
24064
24065         * gst/elements/gstfilesink.c: (gst_file_sink_class_init):
24066         Don't sync to clock.
24067
24068 2005-08-30  Stefan Kost  <ensonic@users.sf.net>
24069
24070         * docs/gst/gstreamer-sections.txt:
24071           ultral33t func10ns deserve to appear in the docs actually
24072         * docs/gst/tmpl/.cvsignore:
24073         * docs/gst/tmpl/gstcompat.sgml:
24074         * docs/gst/tmpl/gstconfig.sgml:
24075         * gst/check/gstcheck.c:
24076         * gst/gstcompat.h:
24077         * gst/gstconfig.h.in:
24078           inlined more docs
24079
24080 2005-08-30  Stefan Kost  <ensonic@users.sf.net>
24081
24082         * docs/gst/tmpl/.cvsignore:
24083         * docs/gst/tmpl/gstquery.sgml:
24084         * docs/gst/tmpl/gstutils.sgml:
24085         * gst/gstquery.c:
24086         * gst/gstquery.h:
24087           inlined and extended docs
24088
24089 2005-08-30  Stefan Kost  <ensonic@users.sf.net>
24090
24091         * check/gst-libs/controller.c: (GST_START_TEST),
24092         (gst_controller_suite):
24093           more tests
24094         * docs/gst/tmpl/gstutils.sgml:
24095         * docs/libs/gstreamer-libs-sections.txt:
24096         * docs/libs/tmpl/gstdataprotocol.sgml:
24097           include path fixes
24098         * examples/controller/audio-example.c: (main):
24099           controller example works now
24100         * gst/gstclock.h:
24101           doc fixes
24102         * tools/gst-inspect.c: (print_element_properties_info):
24103           show param spec flags
24104
24105 2005-08-29  Andy Wingo  <wingo@pobox.com>
24106
24107         * gst/gstutils.c (gst_util_uint64_scale): New 3733t funct10n.
24108
24109 2005-08-28  Andy Wingo  <wingo@pobox.com>
24110
24111         * gst/gstutils.h (GST_BOILERPLATE_FULL): Prototype instance_init
24112         as having two arguments instead of just one. Allows superclasses
24113         to access information on subclasses -- see the terrible for() loop
24114         in gtype.c:g_type_create_instance for the reason why. All callers
24115         changed.
24116
24117 2005-08-27  Stefan Kost  <ensonic@users.sf.net>
24118
24119         * docs/design/part-messages.txt:
24120           update info
24121         * docs/gst/tmpl/.cvsignore:
24122         * docs/gst/tmpl/gstcaps.sgml:
24123         * docs/gst/tmpl/gstclock.sgml:
24124         * gst/gstbus.c:
24125         * gst/gstcaps.c:
24126         * gst/gstcaps.h:
24127         * gst/gstclock.c:
24128         * gst/gstclock.h:
24129         * gst/gstmessage.c:
24130           added descriptions for bus and message
24131           inline caps and clock docs
24132
24133 2005-08-27  Stefan Kost  <ensonic@users.sf.net>
24134
24135         * gst/gstmessage.c:
24136         * gst/gstmessage.h:
24137           doc fixes
24138
24139 2005-08-27  Stefan Kost  <ensonic@users.sf.net>
24140
24141         * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
24142           fix div-by-zero
24143
24144 2005-08-26  Andy Wingo  <wingo@pobox.com>
24145
24146         * check/pipelines/simple_launch_lines.c (run_pipeline): Check
24147         element_set_state's return val.
24148         (test_2_elements): Add test that's been disabled for months.
24149
24150         * gst/elements/gstfakesink.c: Cleanups. Add can-activate-push and
24151         can-activate-pull properties.
24152
24153         * gst/elements/gstfakesrc.c: Cleanups. Add can-activate-push and
24154         can-activate-pull properties. Implement is_seekable so fakesrc can
24155         operate in pull mode.
24156
24157         * gst/base/gstbasesink.c (GstBaseSink): Remove has-loop, has-chain
24158         properties.
24159         (gst_base_sink_activate, gst_base_sink_activate_pull)
24160         (gst_base_sink_activate_push): Make activation mode choosing work.
24161         Cleanups.
24162         (gst_base_sink_chain, gst_base_sink_loop): Assert activation mode
24163         is right. Make pull mode work. Post an eos before pausing in pull
24164         mode.
24165         (gst_base_sink_change_state): Pay attention to the core's
24166         change_state() return val.
24167         
24168         * gst/base/gstbasesrc.c (GstBaseSrc): Remove has-loop,
24169         has-getrange properties. Cleanups.
24170         
24171         * gst/base/gstbasesrc.h (GstBaseSrc): Remove has_loop,
24172         has_getrange and replace with can_activate_pull and
24173         can_activate_push.
24174
24175         * gst/base/gstbasesink.h (GstBaseSink): Rearrange fields, add
24176         locking comments. Remove has_loop, has_chain and replace with
24177         can_activate_pull and can_activate_push.
24178
24179 2005-08-26  Jan Schmidt  <thaytan@mad.scientist.com>
24180
24181         * configure.ac:
24182         * examples/Makefile.am:
24183         * examples/metadata/Makefile.am:
24184         * examples/metadata/read-metadata.c: (message_loop),
24185         (have_pad_handler), (make_pipeline), (print_tag), (main):
24186           Add metadata reading example that loops over a list of filenames,
24187           dumping any tags found.
24188
24189         * gst/gstbus.c: (gst_bus_dispose):
24190         * gst/gstelement.c: (gst_element_dispose):
24191           Release a few potentially-held references in dispose.
24192
24193 2005-08-26  Stefan Kost  <ensonic@users.sf.net>
24194
24195         * docs/gst/tmpl/gstminiobject.sgml:
24196           do *not* add tmpl/*.sgml files to CVS!
24197
24198 2005-08-26  Stefan Kost  <ensonic@users.sf.net>
24199
24200         * libs/gst/bytestream/.cvsignore:
24201         * libs/gst/bytestream/Makefile.am:
24202         * libs/gst/bytestream/adapter.c:
24203         * libs/gst/bytestream/adapter.h:
24204         * libs/gst/bytestream/bytestream.c:
24205         * libs/gst/bytestream/bytestream.h:
24206         * libs/gst/bytestream/filepad.c:
24207         * libs/gst/bytestream/filepad.h:
24208           removing obsolete files
24209
24210 2005-08-26  Stefan Kost  <ensonic@users.sf.net>
24211
24212         * docs/gst/gstreamer-docs.sgml:
24213         * docs/libs/gstreamer-libs-docs.sgml:
24214           disabed additional index entries again, as this makes docs-gen just
24215           slow and they aren't useful yet
24216         * docs/libs/gstreamer-libs-sections.txt:
24217           little -section.txt cleanup for libs
24218
24219 2005-08-26  Thomas Vander Stichele  <thomas at apestaart dot org>
24220
24221         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
24222         * gst/base/gstbasetransform.c: (gst_base_transform_transform_size),
24223           fix up some debugging
24224         (gst_base_transform_get_unit_size),
24225         (gst_base_transform_buffer_alloc), (gst_base_transform_event),
24226         (gst_base_transform_handle_buffer):
24227         * gst/base/gstbasetransform.h:
24228           handle and store timed NEWSEGMENT events so that subclasses that
24229           calculate time by counting samples have a segment_start time they
24230           need to add to their timestamps - see audioresample
24231
24232 2005-08-26  Stefan Kost  <ensonic@users.sf.net>
24233
24234         * gst/gstbin.h:
24235           removed ';' from the end of macro defs
24236         * docs/gst/gstreamer-docs.sgml:
24237         * docs/gst/gstreamer-sections.txt:
24238         * docs/gst/tmpl/.cvsignore:
24239         * gst/gstbus.h:
24240         * gst/gstelement.c: (gst_element_class_init),
24241         (gst_element_set_state), (activate_pads),
24242         (gst_element_save_thyself):
24243         * gst/gstevent.c: (gst_event_new_newsegment):
24244         * gst/gstevent.h:
24245         * gst/gstiterator.c:
24246         * gst/gstiterator.h:
24247         * gst/gstpad.c:
24248         * gst/gstprobe.h:
24249         * gst/gstutils.c: (gst_pad_query_convert):
24250         * gst/gstutils.h:
24251           fixed parameter name mismatches between source, header and docs
24252           added some more docs, resolved the last batch of unused elements in
24253           docs (now someone needs to doc them)
24254
24255 2005-08-25  Thomas Vander Stichele  <thomas at apestaart dot org>
24256
24257         * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_rebuild):
24258         * gst/registries/gstxmlregistry.c: (gst_xml_registry_rebuild):
24259           don't walk through the plugins backwards.  Where is all this
24260           reversed logic coming from ?
24261
24262 2005-08-25  Wim Taymans  <wim@fluendo.com>
24263
24264         * gst/base/gstbasetransform.c: (gst_base_transform_init),
24265         (gst_base_transform_transform_size),
24266         (gst_base_transform_configure_caps),
24267         (gst_base_transform_get_unit_size),
24268         (gst_base_transform_buffer_alloc),
24269         (gst_base_transform_change_state):
24270         * gst/base/gstbasetransform.h:
24271         Cache caps unit_size.
24272         Make sure we cannot negotiate up and downstream at the
24273         same time.
24274
24275 2005-08-25  Thomas Vander Stichele  <thomas at apestaart dot org>
24276
24277         * gst/gst.c: (init_pre), (init_post):
24278           register the installed plugin path after the env var
24279         * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_save):
24280         * gst/registries/gstxmlregistry.c: (gst_xml_registry_save):
24281           don't reverse order of paths; conserve the order of GST_PLUGIN_PATH
24282           directories, so the tests can prefer uninstalled over installed
24283
24284 2005-08-25  Thomas Vander Stichele  <thomas at apestaart dot org>
24285
24286         * gst/base/gstbasetransform.h:
24287           comment
24288         * gst/gstpad.c:
24289           add to docs
24290
24291 2005-08-25  Wim Taymans  <wim@fluendo.com>
24292
24293         * gst/gstbin.c: (bin_bus_handler):
24294         Be a bit more conservative about the posted message.
24295         
24296         * gst/gstbus.c: (gst_bus_post):
24297         Some cleanups, warn wrong return values.
24298
24299 2005-08-25  Jan Schmidt  <thaytan@mad.scientist.com>
24300
24301         * check/gst/gstbin.c: (GST_START_TEST):
24302         * gst/gstbin.c: (bin_bus_handler):
24303         * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
24304         (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
24305         (gst_message_new_warning), (gst_message_new_tag),
24306         (gst_message_new_state_changed), (gst_message_new_segment_start),
24307         (gst_message_new_segment_done), (gst_message_new_custom):
24308         * gst/gstmessage.h:
24309         * tools/gst-launch.c: (event_loop):
24310         * tools/gst-md5sum.c: (event_loop):
24311           Revert unpopular change for GST_MESSAGE_SRC to GObject.
24312
24313 2005-08-25  Wim Taymans  <wim@fluendo.com>
24314
24315         * check/generic/states.c: (GST_START_TEST):
24316         Cleanup can be done at the end.
24317
24318         * gst/gsttask.c: (gst_task_get_type), (gst_task_finalize),
24319         (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
24320         (gst_task_get_state), (gst_task_start), (gst_task_pause):
24321         Oh boy.. Thanks for finding this, Thomas. 
24322
24323 2005-08-25  Stefan Kost  <ensonic@users.sf.net>
24324
24325         * docs/gst/gstreamer.types:
24326           added missing types
24327
24328 2005-08-25  Stefan Kost  <ensonic@users.sf.net>
24329
24330         * docs/gst/gstreamer-docs.sgml:
24331         * docs/gst/gstreamer-sections.txt:
24332         * docs/gst/tmpl/.cvsignore:
24333         * gst/gstbin.c:
24334         * gst/gstiterator.c:
24335         * gst/gstutils.c:
24336         * gst/registries/gstxmlregistry.h:
24337           added missing classes and symbols (123 more to go)
24338           removed removed symbols from section file
24339           fixed many doc-comments
24340
24341 2005-08-24  Wim Taymans  <wim@fluendo.com>
24342
24343         * check/generic/states.c: (GST_START_TEST):
24344         Make sure all tasks are stopped.
24345
24346         * check/gst/gstbin.c: (GST_START_TEST):
24347         Unref after usage for proper valgrinding.
24348
24349         * gst/gstpad.c: (gst_pad_finalize), (gst_pad_stop_task):
24350         Really wait for the task to stop before destroying the
24351         mutex.
24352
24353         * gst/gstqueue.c: (gst_queue_sink_activate_push),
24354         (gst_queue_src_activate_push):
24355         Small cleanups. Don't stop the task when we did not start
24356         it.
24357
24358         * gst/gsttask.c: (gst_task_get_type), (gst_task_init),
24359         (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
24360         (gst_task_get_state), (gst_task_start), (gst_task_pause),
24361         (gst_task_join):
24362         * gst/gsttask.h:
24363         Protect the stream lock with the object lock.
24364         Disallow setting the stream lock when running.
24365         Add cleanup_all to wait for the threadpool to finish.
24366         Remove code to autoallocate a mutex if none was provided.
24367         Add _join() to wait for a task to stop.
24368         Protect the thread pool with a global lock.
24369
24370 2005-08-24  Wim Taymans  <wim@fluendo.com>
24371
24372         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
24373         (gst_base_sink_get_times), (gst_base_sink_do_sync),
24374         (gst_base_sink_handle_buffer), (gst_base_sink_change_state):
24375         * gst/base/gstbasesink.h:
24376         Handle newsegment events correctly.
24377         Drop buffers out of the segment range.
24378
24379 2005-08-22  Andy Wingo  <wingo@pobox.com>
24380
24381         * gst/gstutils.h (GST_BOILERPLATE_WITH_INTERFACE): New ghetto
24382         macro, implements an interface and gstimplementsinterface for a
24383         new type.
24384
24385 2005-08-24  Thomas Vander Stichele  <thomas at apestaart dot org>
24386
24387         * check/Makefile.am:
24388         * check/generic/states.c: (GST_START_TEST), (states_suite), (main):
24389           add a test that does a bunch of state changes on elements
24390           needs some fixing for valgrind
24391         * check/states/sinks.c: (gst_object_suite):
24392           whitespace
24393         * gst/gstcaps.h:
24394           add prototype for gst_caps_is_equal_fixed
24395         * gst/gstplugin.c:
24396         * gst/gstregistrypool.c:
24397           doc fixes
24398
24399 2005-08-24  Andy Wingo  <wingo@pobox.com>
24400
24401         * gst/gstquery.c (gst_query_new_convert): Spew if we try to
24402         convert a negative value. Doesn't make much sense. Mostly this is
24403         here to force callers to ensure -1 maps to -1.
24404
24405 2005-08-24  Jan Schmidt  <thaytan@mad.scientist.com>
24406
24407         * docs/pwg/advanced-types.xml:
24408           Well done to Michael for catching my deliberate introduction
24409           of this spelling mistake. 
24410         * gst/gstbin.c: (gst_bin_remove_func), (bin_bus_handler):
24411         * gst/gstelement.h:
24412           Add GST_ELEMENT_UNPARENTING to prevent races so that we can
24413           unlink pads before removing the element from the bin.
24414
24415 2005-08-24  Andy Wingo  <wingo@pobox.com>
24416
24417         * gst/gst.c (parse_debug_list): Accept e.g. GST_DEBUG=4 to mean
24418         the same thing as GST_DEBUG=*:4.
24419         (parse_debug_level, parse_debug_category): New helper parsers.
24420
24421 2005-08-24  Thomas Vander Stichele  <thomas at apestaart dot org>
24422
24423         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
24424         (gst_base_transform_transform_size), (gst_base_transform_getcaps),
24425         (gst_base_transform_setcaps), (gst_base_transform_get_unit_size),
24426         (gst_base_transform_buffer_alloc),
24427         (gst_base_transform_handle_buffer):
24428           use gboolean return values and pointers to size so we can use the
24429           full GST_BUFFER_SIZE range (guint) for buffer sizes
24430           use GstPadDirection for transform_caps
24431         * gst/base/gstbasetransform.h:
24432           rename get_size to get_unit_size since that's what it is
24433         * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_caps):
24434           use GstPadDirection for transform_caps
24435         * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
24436         * gst/gstutils.h:
24437           cleanup and debugging
24438
24439 2005-08-24  Stefan Kost  <ensonic@users.sf.net>
24440
24441         * gst/gstelement.c: (gst_element_class_init),
24442         (gst_element_set_state), (activate_pads),
24443         (gst_element_save_thyself):
24444         * tools/gst-compprep.c: (main):
24445         * tools/gst-inspect.c: (print_element_properties_info):
24446         * tools/gst-xmlinspect.c: (print_element_properties):
24447           Fixed long standing mem-leak
24448
24449 2005-08-24  Jan Schmidt  <thaytan@mad.scientist.com>
24450
24451         * check/gst/gstbin.c: (GST_START_TEST):
24452         * gst/gstbin.c: (bin_bus_handler):
24453         * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
24454         (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
24455         (gst_message_new_warning), (gst_message_new_tag),
24456         (gst_message_new_state_changed), (gst_message_new_segment_start),
24457         (gst_message_new_segment_done), (gst_message_new_custom):
24458         * gst/gstmessage.h:
24459         * tools/gst-launch.c: (event_loop):
24460         * tools/gst-md5sum.c: (event_loop):
24461           Change GST_MESSAGE_SRC to be a GObject rather than a GstObject, so
24462           that applications can sensibly post custom messages with references
24463           to their own objects.
24464
24465 2005-08-24  Andy Wingo  <wingo@pobox.com>
24466
24467         * gst/gstpad.c (gst_pad_fixate_caps): Check if the caps is fixed
24468         already.
24469
24470 2005-08-24  Wim Taymans  <wim@fluendo.com>
24471
24472         * gst/base/gstbasetransform.c: (gst_base_transform_init),
24473         (gst_base_transform_transform_caps),
24474         (gst_base_transform_transform_size),
24475         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
24476         (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
24477         (gst_base_transform_handle_buffer):
24478         * gst/base/gstbasetransform.h:
24479         Many fixes and new features added by Thomas. Can now also do
24480         transforms with variable sizes and a custom fixate_caps function.
24481
24482 2005-08-24  Wim Taymans  <wim@fluendo.com>
24483
24484         * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
24485         Some debugging.
24486
24487         * gst/gstclock.h:
24488         Cast to ClockTime before formatting to time.
24489
24490         * gst/gstutils.h:
24491         Cleanups.
24492
24493 2005-08-24  Stefan Kost  <ensonic@users.sf.net>
24494
24495         * check/gst-libs/controller.c: (GST_START_TEST),
24496         (gst_controller_suite):
24497         * docs/gst/tmpl/gstcaps.sgml:
24498         * docs/gst/tmpl/gstghostpad.sgml:
24499         * docs/gst/tmpl/gstquery.sgml:
24500         * docs/gst/tmpl/gstutils.sgml:
24501         * libs/gst/controller/gst-helper.c: (gst_object_set_controller),
24502         (gst_object_sink_values), (gst_object_get_value_arrays),
24503         (gst_object_get_value_array):
24504           gracefully handle helper method calls to objects that are not beeing
24505           controlled, added test case for that          
24506
24507 2005-08-23  Wim Taymans  <wim@fluendo.com>
24508
24509         * gst/gstevent.c: (_gst_event_copy), (gst_event_new_custom),
24510         (gst_event_new_newsegment), (gst_event_parse_newsegment),
24511         (gst_event_new_tag), (gst_event_parse_tag), (gst_event_new_qos),
24512         (gst_event_parse_qos), (gst_event_new_seek),
24513         (gst_event_parse_seek):
24514         * gst/gstevent.h:
24515         Some more debugging output and doc cleanups.
24516
24517         * gst/gstqueue.c: (gst_queue_handle_sink_event):
24518         Fix possible deadlock.
24519
24520 2005-08-23  Stefan Kost  <ensonic@users.sf.net>
24521
24522         * docs/gst/gstreamer-docs.sgml:
24523         * docs/gst/gstreamer-sections.txt:
24524         * docs/gst/gstreamer.types:
24525         * docs/gst/tmpl/.cvsignore:
24526         * gst/gstbin.h:
24527         * gst/gstbus.c:
24528         * gst/gstelement.c:
24529         * gst/gstevent.h:
24530           added 100 symbols from gstreamer-unused.txt to the right sections
24531           fixed more broken comments
24532           added GstBus to docs
24533
24534 2005-08-23  Stefan Kost  <ensonic@users.sf.net>
24535
24536         * docs/gst/gstreamer-sections.txt:
24537         * docs/gst/tmpl/.cvsignore:
24538         * docs/gst/tmpl/gstbin.sgml:
24539         * docs/gst/tmpl/gstbuffer.sgml:
24540         * gst/base/gstbasesrc.c:
24541         * gst/gstbin.c: (gst_bin_get_type), (gst_bin_class_init):
24542         * gst/gstbuffer.c:
24543         * gst/gstbuffer.h:
24544         * tools/gst-launch.1.in:
24545           inlined more doc comments, added missing comments and fixed comments
24546           fixed typos
24547
24548 2005-08-23  Thomas Vander Stichele  <thomas at apestaart dot org>
24549
24550         * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
24551           some debugging
24552         * gst/gstcaps.h:
24553           whitespace fixes
24554         * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_alloc_buffer):
24555           more debugging
24556         * gst/gststructure.c: (gst_caps_structure_fixate_field_boolean):
24557         * gst/gststructure.h:
24558           add a fixate function for booleans; add a FIXME that these func
24559           names should probably be gst_structure_fixate_*
24560
24561 2005-08-23  Stefan Kost  <ensonic@users.sf.net>
24562
24563         * docs/gst/gstreamer-docs.sgml:
24564         * docs/gst/gstreamer-sections.txt:
24565         * gst/Makefile.am:
24566         * gst/gstbin.c: (gst_bin_get_type),
24567         (gst_bin_child_proxy_get_child_by_index),
24568         (gst_bin_child_proxy_get_children_count),
24569         (gst_bin_child_proxy_init):
24570         * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
24571         (gst_child_proxy_get_child_by_index),
24572         (gst_child_proxy_get_children_count), (gst_child_proxy_lookup),
24573         (gst_child_proxy_get_property), (gst_child_proxy_get_valist),
24574         (gst_child_proxy_get), (gst_child_proxy_set_property),
24575         (gst_child_proxy_set_valist), (gst_child_proxy_set),
24576         (gst_child_proxy_child_added), (gst_child_proxy_child_removed),
24577         (gst_child_proxy_base_init), (gst_child_proxy_get_type):
24578         * gst/gstchildproxy.h:
24579         * gst/parse/grammar.y:
24580         * tools/gst-inspect.c: (print_interfaces),
24581         (print_element_properties_info), (print_element_info):
24582           ported gstchildproxy over from 0.8
24583           ported gst-inspect fixes and enhancements over from 0.8
24584
24585 2005-08-22  Wim Taymans  <wim@fluendo.com>
24586
24587         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
24588         (gst_base_transform_handle_buffer):
24589         Also call the transform function if we have ANY caps.
24590
24591         * gst/gstpipeline.c: (gst_pipeline_set_new_stream_time):
24592         Fix debug info.
24593
24594 2005-08-22  Jan Schmidt  <thaytan@mad.scientist.com>
24595
24596         * gst/base/gstbasesrc.c: (gst_base_src_event_handler)
24597           Don't pretend to handle seek events if the source is not seekable
24598
24599 2005-08-22  Jan Schmidt  <thaytan@mad.scientist.com>
24600
24601         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
24602           Remove extra parameter to debug output
24603
24604         * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
24605         (gst_base_src_do_seek), (gst_base_src_activate_push):
24606           Fix seek event handling.
24607
24608         * gst/gstpipeline.c: (gst_pipeline_change_state):
24609         * gst/gstqueue.c: (gst_queue_handle_sink_event),
24610         (gst_queue_src_activate_push):
24611           Don't start the src pad task on FLUSH_STOP if the pad
24612           isn't linked.
24613           Debug changes.
24614
24615 2005-08-22  Wim Taymans  <wim@fluendo.com>
24616
24617         * check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
24618         Added check for gst_static_caps_get() refcounting.
24619
24620 2005-08-22  Wim Taymans  <wim@fluendo.com>
24621
24622         * gst/gstcaps.c: (gst_static_caps_get), (gst_caps_to_string):
24623         Make _static_caps_get() refcounting sane.
24624         
24625         * gst/gstelement.c: (gst_element_set_state):
24626         Add g_return_val_if_fail() to protect against segfaults.
24627
24628 2005-08-22  Stefan Kost  <ensonic@users.sf.net>
24629
24630         * docs/gst/tmpl/gstevent.sgml:
24631         * gst/gstevent.c:
24632         * gst/gstevent.h:
24633           inlined remaining docs, added missing doc comments
24634
24635 2005-08-22  Thomas Vander Stichele  <thomas at apestaart dot org>
24636
24637         * check/gst/gstbin.c: (GST_START_TEST):
24638           since we don't know when preroll is done, use refcount range
24639           check for the sink
24640         * gst/check/gstcheck.h:
24641           add macro for checking refcount range
24642
24643 2005-08-21  Thomas Vander Stichele  <thomas at apestaart dot org>
24644
24645         * check/Makefile.am:
24646           clean up environment for when registry gets built versus
24647           when actual tests are run; valgrind seems to not report
24648           leaks if GST_PLUGIN_PATH is set to some specific values
24649         * check/gst/gstbin.c: (GST_START_TEST):
24650           add more refcounting checks; maybe this exposes a
24651           preroll lock bug ?
24652         * common/check.mak:
24653         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
24654         * gst/check/gstcheck.h:
24655         * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_get_state),
24656         (gst_bin_change_state):
24657         * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_chain):
24658           add/fix debugging/whitespace
24659
24660 2005-08-21  Jan Schmidt  <thaytan@mad.scientist.com>
24661
24662         * check/gst/gstevent.c: (event_probe), (test_event),
24663         (GST_START_TEST):
24664          Er, don't call gst_bin_watch_for_state_change you idiot.
24665
24666 2005-08-21  Jan Schmidt  <thaytan@mad.scientist.com>
24667
24668         * check/Makefile.am:
24669           Use CHECK_CFLAGS and CHECK_LIBS
24670         * check/gst/gstevent.c: (event_probe), (test_event),
24671         (GST_START_TEST):
24672           Don't leak events.
24673         * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
24674         (gst_base_src_start), (gst_base_src_stop),
24675         (gst_base_src_activate_push), (gst_base_src_activate_pull),
24676         (gst_base_src_change_state):
24677           Sprinkle gst_base_src_stop liberally around error paths to fix
24678           problems reusing a source after failed state changes.
24679         * gst/base/gsttypefindhelper.c: (helper_find_peek),
24680         (helper_find_suggest), (gst_type_find_helper):
24681           Extra debug output. Don't segfault on GST_PAD_GETRANGEFUNC = NULL
24682         * gst/gstevent.h:
24683         * docs/gst/tmpl/gstevent.sgml:
24684           Migrate part of the docs from the SGML file. Wait for ensonic to
24685           tell me how I did it wrong ;)
24686         * tools/gst-typefind.c: (main):
24687           Extra robustness to state changes between files.
24688
24689 2005-08-21  Thomas Vander Stichele  <thomas at apestaart dot org>
24690
24691         * check/Makefile.am:
24692           don't valgrind the controller test - it's leaking - Stefan, HELP
24693         * gst/check/gstcheck.c: (gst_check_message_error),
24694         (gst_check_chain_func), (gst_check_setup_element),
24695         (gst_check_teardown_element), (gst_check_setup_src_pad),
24696         (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
24697         (gst_check_teardown_sink_pad):
24698         * gst/check/gstcheck.h:
24699           add a bunch of methods to set up elements, and src and sink pads
24700         * check/elements/fakesrc.c: (setup_fakesrc), (cleanup_fakesrc):
24701         * check/elements/identity.c: (setup_identity), (cleanup_identity),
24702         (GST_START_TEST):
24703           use them
24704         * gst/gstmessage.c:
24705         * gst/gsttag.h:
24706           whitespace/doc fixes
24707
24708 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
24709
24710         * gst/gstelement.h:
24711           make GST_ELEMENT_ERROR not do GST_ERROR_OBJECT - these errors should
24712           be handled by the application and not always printed as well
24713
24714 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
24715
24716         * check/Makefile.am:
24717           set GST_TOOLS_DIR
24718         * gst/check/gstcheck.c: (gst_check_message_error):
24719         * gst/check/gstcheck.h:
24720           add a fail_unless_equals_int
24721           add fail_unless for error messages
24722
24723 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
24724
24725         * check/Makefile.am:
24726         * check/gst.supp:
24727         * common/Makefile.am:
24728         * common/check.mak:
24729         * common/gst.supp:
24730           factor out some of the common stuff so we can use it
24731
24732 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
24733
24734         * check/Makefile.am:
24735         * check/gst/gstiterator.c: (GST_START_TEST):
24736         * check/gst/gstsystemclock.c: (GST_START_TEST),
24737         (gst_systemclock_suite):
24738         * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
24739         * gst/gstclock.c:
24740           valgrind more tests
24741
24742 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
24743
24744         * check/elements/.cvsignore:
24745         * check/elements/gstfakesrc.c:
24746           rename to name of element
24747         * check/elements/identity.c: (chain_func), (event_func),
24748         (setup_identity), (cleanup_identity), (GST_START_TEST),
24749         (identity_suite), (main):
24750           add a test for identity
24751         * check/Makefile.am:
24752         * pkgconfig/Makefile.am:
24753         * pkgconfig/gstreamer-check.pc.in:
24754         * pkgconfig/gstreamer-check-uninstalled.pc.in:
24755         * gst/check:
24756         * gst/Makefile.am:
24757         * configure.ac:
24758           move the check stuff to a library that gets installed
24759         * check/gst-libs/controller.c: (GST_START_TEST):
24760         * check/gst-libs/gdp.c:
24761         * check/gst/gst.c: (GST_START_TEST):
24762         * check/gst/gstbin.c:
24763         * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
24764         * check/gst/gstbus.c:
24765         * check/gst/gstcaps.c: (GST_START_TEST):
24766         * check/gst/gstelement.c:
24767         * check/gst/gstghostpad.c:
24768         * check/gst/gstiterator.c:
24769         * check/gst/gstmessage.c:
24770         * check/gst/gstminiobject.c: (thread_ref), (GST_START_TEST):
24771         * check/gst/gstobject.c:
24772         * check/gst/gstpad.c: (GST_START_TEST):
24773         * check/gst/gststructure.c: (GST_START_TEST):
24774         * check/gst/gstsystemclock.c: (GST_START_TEST),
24775         (gst_systemclock_suite):
24776         * check/gst/gsttag.c: (gst_tag_suite):
24777         * check/gst/gstvalue.c:
24778         * check/pipelines/cleanup.c:
24779         * check/pipelines/simple_launch_lines.c:
24780         * check/states/sinks.c:
24781           change include statement
24782
24783         * docs/gst/gstreamer-sections.txt:
24784         * docs/gst/tmpl/gstpad.sgml:
24785           document more pad stuff
24786         * gst/gstminiobject.c: (gst_mini_object_ref),
24787         (gst_mini_object_unref):
24788           debug refcounting
24789
24790 2005-08-19  Stefan Kost  <ensonic@users.sf.net>
24791
24792         * docs/gst/tmpl/gst.sgml:
24793         * gst/gst.c:
24794           eliminate another tmpl file, fix spelling in the long-description
24795
24796 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
24797
24798         * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
24799         (test_event), (timediff), (gstevents_suite):
24800           Should fix build on 64-bit arch's
24801
24802 2005-08-18  Andy Wingo  <wingo@pobox.com>
24803
24804         Make sure that when a pipeline goes to PLAYING, that data has
24805         actually hit the sink.
24806
24807         * check/states/sinks.c (test_sink): A sink that doesn't get any
24808         data shouldn't return SUCCESS for going to either PLAYING or
24809         PAUSED. Test also the return values on the way back down.
24810
24811         * gst/gstelement.c (gst_element_set_state): When changing the
24812         state of an element currently changing state asynchronously, go to
24813         lost-state after commiting the pending state. Makes future calls
24814         to get_state continue to return ASYNC.
24815
24816         * gst/base/gstbasesink.c (gst_base_sink_change_state): Return
24817         ASYNC when going to PLAYING if we still don't have preroll, as can
24818         happen with live sources.
24819
24820 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
24821
24822         * docs/pwg/advanced-types.xml:
24823           Hack long paragraph into 2 chunks as a workaround for buggy
24824           jadetex version in sid and breezy that loops infinitely and
24825           eats all RAM.
24826
24827 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
24828
24829         * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
24830         (test_event), (timediff), (gstevents_suite):
24831           Provide more error margin in clock measurements to allow for 
24832           g_get_current_time inaccuracies.
24833
24834 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
24835
24836         * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
24837         (test_event), (timediff), (gstevents_suite):
24838            Fix error message output so I might be able to tell why the
24839            test works here but fails on the build farm.
24840
24841 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
24842
24843         * check/Makefile.am:
24844         * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
24845         (test_event), (timediff), (gstevents_suite), (main):
24846           I wrote a test!
24847
24848         * docs/design/part-seeking.txt:
24849           Spelling correction
24850
24851         * docs/gst/tmpl/gstevent.sgml:
24852         * docs/gst/tmpl/gstfakesrc.sgml:
24853           Docs updates.
24854
24855         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
24856           Treat a buffer-without-newsegment the same as a receiving 
24857           a newsegment not in time format, and disable syncing to the clock
24858           with a warning.
24859
24860         * gst/gstbus.c: (gst_bus_set_sync_handler):
24861           Assert if anyone tries to replace the existing sync_handler for bus, 
24862           as only the owner should be setting it.
24863
24864         * gst/gstevent.h:
24865           Have a fixed set of custom event enums with events identified by
24866           their structure name (as in 0.8), rather than a free-for-all
24867           allowing collisions between enum values from different plugins.
24868
24869         * gst/gstpad.c: (gst_pad_class_init):
24870           Docs change.
24871           
24872         * gst/gstqueue.c: (gst_queue_handle_sink_event):
24873           Handle out-of-band downstream events from the sending thread.
24874
24875 2005-08-17  Andy Wingo  <wingo@pobox.com>
24876
24877         * gst/gstpipeline.c (gst_pipeline_change_state): Interpret
24878         play-timeout==0 to mean no timeout at all. In that case, don't
24879         bother with a get_state or a warning, just return directly, even
24880         if it's ASYNC.
24881
24882         * gst/base/gstbasetransform.c: Debug changes.
24883
24884         * gst/gstutils.h:
24885         * gst/gstutils.c (gst_bin_watch_for_state_change): Add function to
24886         ensure bins post state change messages. A bit of a hack but I can't
24887         think of a way to avoid it.
24888
24889         * check/gst/gstbin.c (test_watch_for_state_change): Added test.
24890
24891 2005-08-16  Andy Wingo  <wingo@pobox.com>
24892
24893         * gst/base/gstadapter.h:
24894         * gst/base/gstadapter.c (gst_adapter_take): New function, like
24895         peek() but you own the data. Not terribly efficient atm.
24896
24897 2005-08-16  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
24898
24899         * gst/gstutils.c: (gst_element_found_tags_for_pad), (push_and_ref),
24900         (gst_element_found_tags):
24901         * gst/gstutils.h:
24902           Add two utility functions for tag handling.
24903
24904 2005-08-16  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
24905
24906         * docs/manual/advanced-dataaccess.xml:
24907         * docs/manual/basics-helloworld.xml:
24908           Fix docs to use _bin_add() before _link(), which fixes the examples
24909           with recent core versions (reported by Madhan Raj M
24910           <raj_madan@rediffmail.com>, #313199).
24911
24912 2005-08-16  Wim Taymans  <wim@fluendo.com>
24913
24914         * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
24915         Added subtract checks.
24916
24917         * docs/design/part-events.txt:
24918         Some more docs about newsegment
24919
24920         * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
24921         Fix FIXME
24922
24923         * gst/gstcaps.c: (gst_caps_to_string):
24924         Add comments, cleanups.
24925         
24926         * gst/gstelement.c: (gst_element_save_thyself):
24927         cleanups
24928         
24929         * gst/gstvalue.c: (gst_value_collect_int_range),
24930         (gst_string_unwrap), (gst_value_union_int_int_range),
24931         (gst_value_union_int_range_int_range),
24932         (gst_value_intersect_int_int_range),
24933         (gst_value_intersect_int_range_int_range),
24934         (gst_value_intersect_double_double_range),
24935         (gst_value_intersect_double_range_double_range),
24936         (gst_value_intersect_list), (gst_value_subtract_int_int_range),
24937         (gst_value_subtract_int_range_int),
24938         (gst_value_subtract_double_range_double),
24939         (gst_value_subtract_double_range_double_range),
24940         (gst_value_subtract_from_list), (gst_value_subtract_list),
24941         (gst_value_can_compare), (gst_value_compare_fraction):
24942         Cleanups, add comments, remove unneeded asserts.
24943
24944 2005-08-15  Thomas Vander Stichele  <thomas at apestaart dot org>
24945
24946         * tools/gst-launch.c: (event_loop):
24947           don't convert NULL structures to strings
24948
24949 2005-08-15  Stefan Kost  <ensonic@users.sf.net>
24950
24951         * docs/gst/gstreamer-sections.txt:
24952           made some defines private
24953         * docs/gst/tmpl/gstconfig.sgml:
24954         * docs/gst/tmpl/gstqueue.sgml:
24955         * docs/gst/tmpl/gsttaglist.sgml:
24956         * docs/gst/tmpl/gsttypes.sgml:
24957         * docs/gst/tmpl/gstutils.sgml:
24958         * docs/pwg/appendix-porting.xml:
24959         * gst/base/gstbasesink.h:
24960         * gst/base/gstbasesrc.c:
24961         * gst/base/gstbasesrc.h:
24962         * gst/elements/gstfakesink.c: (gst_fake_sink_class_init):
24963         * gst/elements/gstfakesrc.c: (gst_fake_src_class_init):
24964         * gst/gstelement.c: (gst_element_class_init):
24965         * gst/gstpad.c: (gst_pad_class_init):
24966         * gst/gstqueue.c: (gst_queue_class_init):
24967         * gst/gstxml.c: (gst_xml_class_init):
24968           documented all undocumented signal inline
24969         * libs/gst/controller/gst-controller.h:
24970           added padding
24971
24972 2005-08-15  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
24973
24974         * docs/pwg/appendix-porting.xml:
24975           Document _set_link_function -> _set_setcaps_function.
24976
24977 2005-08-15  Thomas Vander Stichele  <thomas at apestaart dot org>
24978
24979         * check/Makefile.am:
24980           add a .check target for running the check
24981         * check/gst-libs/controller.c: (GST_START_TEST):
24982           cosmetic fixups
24983         * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
24984           complete checks for gstbuffer; would be nice if I could get the
24985           gcov stuff to work so I can see if I actually completed gstbuffer.c
24986         * check/gstcheck.h:
24987           add ASSERT_BUFFER_REFCOUNT
24988
24989 2005-08-13  Tim-Philipp Müller  <tim at centricular dot net>
24990
24991         * docs/gst/gstreamer-sections.txt:
24992         * gst/gsttag.c: (_gst_tag_initialize), (gst_tag_register):
24993         * gst/gsttag.h:
24994           Add GST_TAG_LANGUAGE_CODE as we have in 0.8, and don't
24995           spew out a warning if a tag that is already registered
24996           is re-registered, unless it is re-registered with a 
24997           different type (#308438).
24998
24999 2005-08-12  Tim-Philipp Müller  <tim at centricular dot net>
25000
25001         * docs/pwg/appendix-porting.xml:
25002         * docs/pwg/building-state.xml:
25003           Add some paragraphs about state changes in 0.9 to the PWG
25004           and the porting guide, in particular about the new meaning
25005           of GST_STATE_PAUSED and how to write state change functions
25006           with concurrent access by multiple threads in mind.
25007
25008 2005-08-11  Stefan Kost  <ensonic@users.sf.net>
25009
25010         * docs/gst/gstreamer-docs.sgml:
25011         * docs/libs/gstreamer-libs-docs.sgml:
25012           added deprecation and since indexes
25013         * libs/gst/controller/gst-controller.c:
25014         * libs/gst/controller/gst-helper.c:
25015           added since tags
25016
25017
25018 2005-08-11  Wim Taymans  <wim@fluendo.com>
25019
25020         * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked),
25021         (gst_proxy_pad_set_target), (gst_proxy_pad_get_target),
25022         (gst_proxy_pad_dispose), (gst_ghost_pad_do_activate_push),
25023         (gst_ghost_pad_do_link), (gst_ghost_pad_set_internal),
25024         (gst_ghost_pad_new_notarget), (gst_ghost_pad_get_target),
25025         (gst_ghost_pad_set_target):
25026         Actually implement (re)setting the target on a ghostpad
25027         as described in the docs.
25028
25029 2005-08-10  Tim-Philipp Müller  <tim at centricular dot net>
25030
25031         * gst/gst.c: (gst_init_check_with_popt_table), (init_pre):
25032           Check whether GST_DEBUG_NO_COLOR environment variable is
25033           set and disable coloured debug output if that is the case.
25034
25035 2005-08-10  Tim-Philipp Müller  <tim at centricular dot net>
25036
25037         * gst/base/gsttypefindhelper.c: (helper_find_peek),
25038         (gst_type_find_helper):
25039           The memory returned by gst_type_find_peek() needs to
25040           stay valid until the end of a typefind function, and
25041           typefind functions may keep results from different 
25042           offsets around, so we can't just unref the buffer from
25043           the previous _peek(), but have to save all buffers 
25044           returned by _peek() until typefinding is done and only
25045           free them then.
25046
25047 2005-08-09  Tim-Philipp Müller  <tim at centricular dot net>
25048
25049         * docs/gst/gstreamer-sections.txt:
25050         * gst/gstutils.h:
25051           New macros: GST_ROUND_UP_2() through GST_ROUND_UP_64().
25052
25053 2005-08-08  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
25054
25055         * gst/base/gstbasetransform.c: (gst_base_transform_buffer_alloc):
25056           Fix a pretty good memleak.
25057
25058 2005-08-08  Tim-Philipp Müller  <tim at centricular dot net>
25059
25060         * gst/gstiterator.h:
25061           Fix wrong include and 'make distcheck'.
25062
25063 2005-08-08  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
25064
25065         * gst/gstbin.c: (bin_bus_handler):
25066           Use gst_element_post_message() instead.
25067
25068 2005-08-08  Tim-Philipp Müller  <tim at centricular dot net>
25069
25070         * gst/base/gstadapter.h:
25071         * gst/base/gstbasesink.h:
25072         * gst/base/gstbasesrc.h:
25073         * gst/base/gstbasetransform.h:
25074         * gst/base/gstcollectpads.h:
25075         * gst/base/gstpushsrc.h:
25076         * gst/gstiterator.h:
25077           Add padding to our base elements' class and instance structs and
25078           to GstIterator (you will need to rebuild all plugins and apps!)
25079
25080 2005-08-08  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
25081
25082         * gst/gstbin.c: (bin_bus_handler):
25083           Make default message forwarding from child->bus to bin->bus
25084           threadsafe and make it not emit warnings if the parent has no bus.
25085
25086 2005-08-08  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
25087
25088         * gst/gstelement.c: (activate_pads):
25089           On paused->ready, set pad->caps to NULL, as is the documented
25090           behaviour in this state change. Fixes playback of series of
25091           media files when visualization is enabled in Totem.
25092
25093 2005-08-07  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
25094
25095         * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
25096           Allow NULL as filter-caps (which means "any").
25097
25098 2005-08-05  Stefan Kost  <ensonic@users.sf.net>
25099
25100         * docs/libs/gstreamer-libs-sections.txt:
25101         * libs/gst/controller/gst-controller.c:
25102         * libs/gst/controller/gst-controller.h:
25103         * libs/gst/controller/gst-helper.c:
25104           adding more entries to the docs and fix small doc-bugs
25105
25106 2005-08-05  Stefan Kost  <ensonic@users.sf.net>
25107
25108         * docs/gst/gstreamer-docs.sgml:
25109         * docs/gst/gstreamer-sections.txt:
25110         * docs/gst/gstreamer.types:
25111         * docs/gst/tmpl/gstbasesink.sgml:
25112         * docs/gst/tmpl/gstbasesrc.sgml:
25113         * docs/gst/tmpl/gstbasetransform.sgml:
25114         * docs/gst/tmpl/gstfakesrc.sgml:
25115         * gst/base/gstcollectpads.c:
25116         * gst/base/gstcollectpads.h:
25117         * libs/gst/controller/gst-controller.c:
25118         * libs/gst/controller/gst-controller.h:
25119         * libs/gst/controller/gst-helper.c:
25120         * libs/gst/controller/gst-interpolation.c:
25121         * libs/gst/controller/lib.c:
25122           added long/short desc for controller docs
25123           added collectpads base class docs
25124           added correct includes to base-class docs
25125
25126 2005-08-05  Stefan Kost  <ensonic@users.sf.net>
25127
25128         * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
25129         (gst_test_mono_source_set_property),
25130         (gst_test_mono_source_class_init), (GST_START_TEST),
25131         (gst_controller_suite):
25132         * docs/gst/gstreamer-docs.sgml:
25133         * docs/gst/gstreamer-sections.txt:
25134         * docs/gst/gstreamer.types:
25135         * docs/libs/gstreamer-libs-docs.sgml:
25136         * docs/libs/gstreamer-libs-sections.txt:
25137         * gst/base/gstadapter.c:
25138         * libs/gst/controller/gst-controller.c:
25139         (gst_controlled_property_new), (gst_controlled_property_free),
25140         (gst_controller_new_valist),
25141         (gst_controller_remove_properties_valist),
25142         (gst_controller_sink_values), (_gst_controller_finalize):
25143         * libs/gst/controller/gst-controller.h:
25144         * libs/gst/controller/gst-helper.c:
25145         (gst_object_control_properties), (gst_object_uncontrol_properties),
25146         (gst_object_get_controller), (gst_object_set_controller),
25147         (gst_object_sink_values), (gst_object_get_value_arrays),
25148         (gst_object_get_value_array):
25149           more tests (and fixes) for the controller
25150           more docs for the controller
25151           integrated companies docs for the adapter 
25152
25153 2005-08-05  Thomas Vander Stichele  <thomas at apestaart dot org>
25154
25155         * check/elements/gstfakesrc.c: (setup_fakesrc), (cleanup_fakesrc),
25156         (GST_START_TEST), (fakesrc_suite):
25157           add tests for sizetype
25158
25159 2005-08-04  Andy Wingo  <wingo@pobox.com>
25160
25161         * gst/elements/gstcapsfilter.c: Reimplement using basetransform,
25162         fixes buffer_alloc proxying among other things.
25163
25164         * gst/base/gstbasetransform.c:
25165         * gst/base/gstbasetransform.h:
25166         Revert patch to gstbasetransform from 7-28 removing
25167         delay_configure.
25168
25169         * gst/base/gstbasetransform.h (GstBaseTransformClass.get_size):
25170         * gst/base/gstbasetransform.c (gst_base_transform_get_size):
25171         Semantics changed, should return not the size of the output buffer
25172         but the byte size of a buffer with a given caps.
25173
25174         * gst/base/gstbasetransform.c (gst_base_transform_getcaps): Better
25175         debug object.
25176         (gst_base_transform_configure_caps): Don't set out_size here: (in,
25177         out) are not the pad caps until setcaps finishes.
25178         (gst_base_transform_buffer_alloc): Proxy the buffer_alloc for the
25179         not-in-place case as well. Deal with changing from in-place to
25180         not-in-place within calling pad_alloc_buffer. Still a bit
25181         concerned about the overhead here...
25182
25183 2005-08-03  Andy Wingo  <wingo@pobox.com>
25184
25185         * gst/base/gstbasetransform.c (gst_base_transform_setcaps): Not
25186         fixating is an error.
25187
25188 2005-08-04  Edward Hervey  <edward@fluendo.com>
25189
25190         * gst/base/gstadapter.h: 
25191         Added gst_adapter_get_type() to the header
25192
25193 2005-08-03  Stefan Kost  <ensonic@users.sf.net>
25194
25195         * check/Makefile.am:
25196         * check/gst-libs/controller.c:
25197         * libs/gst/controller/gst-controller.c:
25198         (gst_controller_new_valist):
25199           added check test suite for the controller
25200         * gst/base/gstpushsrc.c:
25201           fixed a doc typo
25202
25203 2005-08-03  Stefan Kost  <ensonic@users.sf.net>
25204
25205         * docs/gst/Makefile.am:
25206         * docs/gst/gstreamer-docs.sgml:
25207         * docs/gst/gstreamer-sections.txt:
25208         * docs/gst/gstreamer.types:
25209         * docs/gst/tmpl/gstfakesrc.sgml:
25210         * gst/base/README:
25211         * gst/base/gstbasesink.c:
25212         * gst/base/gstbasesink.h:
25213         * gst/base/gstbasesrc.c:
25214         * gst/base/gstbasesrc.h:
25215         * gst/base/gstbasetransform.c:
25216         * gst/base/gstpushsrc.c:
25217         * gst/base/gstpushsrc.h:
25218           add short/long description docs to base classes
25219           add pushsrc to the docs
25220           remove consolidated doc fragments
25221
25222 2005-08-03  Stefan Kost  <ensonic@users.sf.net>
25223
25224         * configure.ac:
25225         * docs/libs/Makefile.am:
25226         * docs/libs/gstreamer-libs-docs.sgml:
25227         * docs/libs/gstreamer-libs-sections.txt:
25228         * docs/libs/gstreamer-libs.types:
25229         * examples/Makefile.am:
25230         * examples/controller/.cvsignore:
25231         * examples/controller/Makefile.am:
25232         * examples/controller/audio-example.c: (main):
25233         * libs/gst/Makefile.am:
25234         * libs/gst/controller/.cvsignore:
25235         * libs/gst/controller/Makefile.am:
25236         * libs/gst/controller/gst-controller.c:
25237         (on_object_controlled_property_changed), (gst_timed_value_compare),
25238         (gst_timed_value_find),
25239         (gst_controlled_property_set_interpolation_mode),
25240         (gst_controlled_property_new), (gst_controlled_property_free),
25241         (gst_controller_find_controlled_property),
25242         (gst_controller_new_valist), (gst_controller_new),
25243         (gst_controller_remove_properties_valist),
25244         (gst_controller_remove_properties), (gst_controller_set),
25245         (gst_controller_set_from_list), (gst_controller_unset),
25246         (gst_controller_get), (gst_controller_get_all),
25247         (gst_controller_sink_values), (gst_controller_get_value_arrays),
25248         (gst_controller_get_value_array),
25249         (gst_controller_set_interpolation_mode),
25250         (_gst_controller_finalize), (_gst_controller_init),
25251         (_gst_controller_class_init), (gst_controller_get_type):
25252         * libs/gst/controller/gst-controller.h:
25253         * libs/gst/controller/gst-helper.c: (g_object_control_properties),
25254         (g_object_uncontrol_properties), (g_object_get_controller),
25255         (g_object_set_controller), (g_object_sink_values),
25256         (g_object_get_value_arrays), (g_object_get_value_array):
25257         * libs/gst/controller/gst-interpolation.c:
25258         (gst_controlled_property_find_timed_value_node),
25259         (interpolate_none_get), (interpolate_trigger_get),
25260         (interpolate_trigger_get_value_array):
25261         * libs/gst/controller/lib.c: (gst_controller_init):
25262         * pkgconfig/Makefile.am:
25263         * pkgconfig/gstreamer-control-uninstalled.pc.in:
25264         * pkgconfig/gstreamer-control.pc.in:
25265         * testsuite/Makefile.am:
25266         * testsuite/controller/.cvsignore:
25267         * testsuite/controller/Makefile.am:
25268         * testsuite/controller/interpolator.c: (main):
25269           added controller code
25270           removed dparam pc files
25271
25272 2005-08-01  Jan Schmidt  <thaytan@mad.scientist.com>
25273         * gst/base/gstcollectpads.c: (gst_collectpads_finalize),
25274         (gst_collectpads_stop):
25275           Broadcast the condition when shutting down, to make sure we wake all
25276           threads up. Shut down pads on finalize, for safety.
25277
25278 2005-08-01  Jan Schmidt  <thaytan@mad.scientist.com>
25279         * gst/base/gstbasetransform.c: (gst_base_transform_init),
25280         (gst_base_transform_handle_buffer),
25281         (gst_base_transform_change_state):
25282           Handle PAUSED->READY->PAUSED transition after negotiation
25283           occurred already.
25284         * gst/gstmessage.c: (gst_message_init):
25285           Extra piece of debug for new messages.
25286
25287 2005-08-01  Stefan Kost  <ensonic@users.sf.net>
25288
25289         * configure.ac:
25290         * docs/gst/tmpl/gstbasesrc.sgml:
25291         * docs/gst/tmpl/gstelement.sgml:
25292         * docs/gst/tmpl/gstevent.sgml:
25293         * docs/gst/tmpl/gstfakesrc.sgml:
25294         * docs/gst/tmpl/gstformat.sgml:
25295         * docs/gst/tmpl/gstghostpad.sgml:
25296         * docs/gst/tmpl/gstpad.sgml:
25297         * docs/gst/tmpl/gstquery.sgml:
25298         * docs/gst/tmpl/gststructure.sgml:
25299         * docs/gst/tmpl/gsttaglist.sgml:
25300         * docs/gst/tmpl/gstvalue.sgml:
25301         * docs/libs/gstreamer-libs-docs.sgml:
25302         * docs/libs/gstreamer-libs-sections.txt:
25303         * docs/libs/gstreamer-libs.types:
25304         * libs/gst/Makefile.am:
25305         * libs/gst/control/.cvsignore:
25306         * libs/gst/control/Makefile.am:
25307         * libs/gst/control/control.c:
25308         * libs/gst/control/control.h:
25309         * libs/gst/control/dparam.c:
25310         * libs/gst/control/dparam.h:
25311         * libs/gst/control/dparam_smooth.c:
25312         * libs/gst/control/dparam_smooth.h:
25313         * libs/gst/control/dparamcommon.h:
25314         * libs/gst/control/dparammanager.c:
25315         * libs/gst/control/dparammanager.h:
25316         * libs/gst/control/dplinearinterp.c:
25317         * libs/gst/control/dplinearinterp.h:
25318         * libs/gst/control/unitconvert.c:
25319         * libs/gst/control/unitconvert.h:
25320         * testsuite/Makefile.am:
25321         * testsuite/dynparams/.cvsignore:
25322         * testsuite/dynparams/Makefile.am:
25323         * testsuite/dynparams/dparamstest.c:
25324         * tools/Makefile.am:
25325         * tools/gst-inspect.c: (print_element_info), (main):
25326         * tools/gst-xmlinspect.c: (print_element_info), (main):
25327           deactivate and remove dparams (libgstcontrol)
25328
25329 2005-08-01  Tim-Philipp Müller  <tim at centricular dot net>
25330
25331         * gst/elements/gsttypefindelement.c:
25332         (gst_type_find_element_have_type), (gst_type_find_element_init),
25333         (stop_typefinding), (gst_type_find_element_handle_event),
25334         (gst_type_find_element_chain), (gst_type_find_element_getrange):
25335         * gst/elements/gsttypefindelement.h:
25336           Set caps on all outgoing buffers, not just the first one.
25337
25338 2005-08-01  Tim-Philipp Müller  <tim at centricular dot net>
25339
25340         * gst/elements/gsttypefindelement.c:
25341         (gst_type_find_element_have_type),
25342         (gst_type_find_element_check_set_buffer_caps),
25343         (gst_type_find_element_init), (stop_typefinding),
25344         (gst_type_find_element_handle_event),
25345         (gst_type_find_element_chain), (gst_type_find_element_getrange):
25346         * gst/elements/gsttypefindelement.h:
25347           Set caps on first outgoing buffer when we've found the type.
25348
25349 2005-08-01  Tim-Philipp Müller  <tim at centricular dot net>
25350
25351         * docs/gst/gstreamer-docs.sgml:
25352         * docs/gst/gstreamer-sections.txt:
25353         * docs/gst/tmpl/gstscheduler.sgml:
25354         * docs/gst/tmpl/gstschedulerfactory.sgml:
25355           Remove some old cruft from docs.
25356
25357 2005-07-31  Tim-Philipp Müller  <tim at centricular dot net>
25358
25359         * gst/gstpad.h:
25360           Fix inline docs for GstPadLinkReturn.
25361           
25362         * gst/gststructure.c: (gst_structure_has_name):
25363         * gst/gststructure.h:
25364         * docs/gst/gstreamer-sections.txt:
25365           New API: gst_structure_has_name().
25366
25367 2005-07-30  Tim-Philipp Müller  <tim at centricular dot net>
25368
25369         * configure.ac:
25370           Use AC_SYS_LARGEFILE, which will set _FILE_OFFSET_BITS=64
25371           and _LARGEFILE_SOURCE in config.h as required. Do not 
25372           export those flags in our .pc files any longer (#142209).
25373
25374           Remove unused GST_DISABLE_OMEGA_COTHREADS stuff.
25375
25376         * gst/elements/gstfilesink.c: (gst_file_sink_class_init),
25377         (gst_file_sink_do_seek), (gst_file_sink_event),
25378         (gst_file_sink_get_current_offset), (gst_file_sink_render):
25379           Redo seek/tell calls with large file support in mind; add some
25380           debugging messages; add log message that tells us when large
25381           file support is unavailable or not enabled for some reason.
25382
25383         * gst/elements/gstfilesrc.c: (gst_file_src_class_init):
25384           Add log message that tells us when large file support 
25385           is unavailable or not enabled for some reason.
25386
25387 2005-07-29  Wim Taymans  <wim@fluendo.com>
25388
25389         * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
25390         Added test for removing an element with ghostpad from a bin.
25391         Fixed test as current implementation does the right thing.
25392
25393         * gst/gstghostpad.c: (gst_proxy_pad_class_init),
25394         (gst_proxy_pad_do_query_type), (gst_proxy_pad_do_event),
25395         (gst_proxy_pad_do_query), (gst_proxy_pad_do_internal_link),
25396         (gst_proxy_pad_do_bufferalloc), (gst_proxy_pad_do_activate),
25397         (gst_proxy_pad_do_activatepull), (gst_proxy_pad_do_activatepush),
25398         (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange),
25399         (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_getcaps),
25400         (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
25401         (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target),
25402         (gst_proxy_pad_get_target), (gst_proxy_pad_init),
25403         (gst_proxy_pad_dispose), (gst_proxy_pad_finalize),
25404         (gst_ghost_pad_class_init), (gst_ghost_pad_do_activate_push),
25405         (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
25406         (gst_ghost_pad_set_internal), (gst_ghost_pad_dispose),
25407         (gst_ghost_pad_new_notarget), (gst_ghost_pad_new),
25408         (gst_ghost_pad_get_target), (gst_ghost_pad_set_target):
25409         * gst/gstghostpad.h:
25410         Clean up ghostpads, remove properties for internal stuff.
25411         Make threadsafe.
25412         Fix refcounting.
25413         Prepare for switching targets, not all use cases work yet.
25414
25415 2005-07-29  Wim Taymans  <wim@fluendo.com>
25416
25417         * docs/design/part-gstghostpad.txt:
25418         Small update.
25419
25420         * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
25421         (gst_bin_remove_func):
25422         Unlinking pads while holding the bin LOCK is not a good
25423         idea.
25424
25425         * gst/gstpad.c: (gst_pad_class_init),
25426         (gst_pad_link_check_hierarchy), (gst_pad_get_caps_unlocked),
25427         (gst_pad_accept_caps), (gst_pad_set_caps), (gst_pad_send_event):
25428         No prob setting template after creating the pad.
25429
25430 2005-07-29  Jan Schmidt  <thaytan@mad.scientist.com>
25431
25432         * gst/gstbus.c: (gst_bus_set_flushing), (gst_bus_pop),
25433         (gst_bus_peek), (gst_bus_source_dispatch),
25434         (gst_bus_add_watch_full), (poll_handler), (poll_timeout),
25435         (poll_destroy), (poll_destroy_timeout), (gst_bus_poll):
25436           gst_bus_poll may be called from other threads. Handle
25437           this nicely by not making poll_data disappear off the
25438           stack once gst_bus_poll returns.
25439           gst_bus_peek now increments the refcount on the returned
25440           message.
25441
25442 2005-07-29  Wim Taymans  <wim@fluendo.com>
25443
25444         * docs/design/part-gstghostpad.txt:
25445         Overview of current GhostPad datastructures and use
25446         cases for changing the target.
25447
25448 2005-07-28  Wim Taymans  <wim@fluendo.com>
25449
25450         * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
25451         Added checks for hierarchy consistency whan adding linked
25452         elements to bins.
25453
25454         * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
25455         Added check to test element scheduling without bin/pipeline.
25456
25457         * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
25458         First add elements to bin, then link.
25459         
25460         * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
25461         (gst_bin_remove_func):
25462         Unlink pads from elements added/removed from bin to maintain
25463         hierarchy consistency.
25464
25465 2005-07-28  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
25466
25467         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
25468         (gst_base_transform_handle_buffer):
25469         * gst/base/gstbasetransform.h:
25470           Remove broken delay_configure (fixes renegotiation of software
25471           scaling pipelines); remove some leftover printf()s.
25472
25473 2005-07-28  Wim Taymans  <wim@fluendo.com>
25474
25475         * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
25476         Added some more tests for wrong hierarchy
25477
25478         * docs/design/part-overview.txt:
25479         Some updates.
25480
25481         * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_dispose):
25482         Cleanups.
25483
25484         * gst/gstelement.c: (gst_element_remove_pad), (gst_element_seek),
25485         (gst_element_dispose):
25486         Some more cleanups.
25487
25488         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
25489         (gst_pad_link_check_hierarchy), (gst_pad_link_prepare),
25490         (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
25491         (gst_pad_set_caps), (gst_pad_send_event):
25492         Check for correct hierarchy when linking pads. Moving to
25493         strict requirement for ghostpads when linking elements in
25494         different bins.
25495
25496         * gst/gstpad.h:
25497         Clean ups. Added WRONG_HIERARCHY return value.
25498
25499 2005-07-28  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
25500
25501         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
25502           Better debug if no transform is possible.
25503
25504 2005-07-27  Wim Taymans  <wim@fluendo.com>
25505
25506         * docs/random/wtay/network-transp:
25507         Some old doc I had.
25508
25509 2005-07-27  Wim Taymans  <wim@fluendo.com>
25510
25511         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
25512         (gst_dp_event_from_packet):
25513         Fix serialization of seek events.
25514
25515 2005-07-27  Wim Taymans  <wim@fluendo.com>
25516
25517         * check/gst-libs/gdp.c: (GST_START_TEST):
25518         * gst/elements/gstfakesink.c: (gst_fake_sink_event):
25519         Fix compilation and fix event serialization.
25520
25521 2005-07-27  Wim Taymans  <wim@fluendo.com>
25522
25523         * CHANGES-0.9:
25524         * docs/design/part-TODO.txt:
25525         * docs/design/part-events.txt:
25526         Some docs updates
25527
25528         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
25529         (gst_base_sink_event), (gst_base_sink_do_sync),
25530         (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
25531         * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
25532         (gst_base_src_do_seek), (gst_base_src_event_handler),
25533         (gst_base_src_loop):
25534         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
25535         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
25536         (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
25537         (gst_base_transform_event), (gst_base_transform_handle_buffer),
25538         (gst_base_transform_set_passthrough),
25539         (gst_base_transform_is_passthrough):
25540         * gst/elements/gstfakesink.c: (gst_fake_sink_event):
25541         * gst/elements/gstfilesink.c: (gst_file_sink_event):
25542         Event updates.
25543
25544         * gst/gstbuffer.h:
25545         Use faster casts.
25546
25547         * gst/gstelement.c: (gst_element_seek):
25548         * gst/gstelement.h:
25549         Update gst_element_seek.
25550
25551         * gst/gstevent.c: (gst_event_finalize), (_gst_event_copy),
25552         (gst_event_new), (gst_event_new_custom), (gst_event_get_structure),
25553         (gst_event_new_flush_start), (gst_event_new_flush_stop),
25554         (gst_event_new_eos), (gst_event_new_newsegment),
25555         (gst_event_parse_newsegment), (gst_event_new_tag),
25556         (gst_event_parse_tag), (gst_event_new_filler), (gst_event_new_qos),
25557         (gst_event_parse_qos), (gst_event_new_seek),
25558         (gst_event_parse_seek), (gst_event_new_navigation):
25559         * gst/gstevent.h:
25560         Make GstEvent use GstStructure. Add parsing code, make sure the
25561         API is sufficiently generic.
25562         Mark possible directions of events and serialization.
25563
25564         * gst/gstmessage.c: (gst_message_init), (gst_message_finalize),
25565         (_gst_message_copy), (gst_message_new_segment_start),
25566         (gst_message_new_segment_done), (gst_message_new_custom),
25567         (gst_message_parse_segment_start),
25568         (gst_message_parse_segment_done):
25569         Small cleanups.
25570
25571         * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
25572         (gst_pad_set_caps), (gst_pad_send_event):
25573         Update for new events. 
25574         Catch events sent in wrong directions.
25575
25576         * gst/gstqueue.c: (gst_queue_link_src),
25577         (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
25578         (gst_queue_handle_src_query):
25579         Event updates.
25580
25581         * gst/gsttag.c:
25582         * gst/gsttag.h:
25583         Remove event code from this file.
25584
25585         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
25586         (gst_dp_event_from_packet):
25587         Event updates.
25588
25589 2005-07-27  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
25590
25591         * gst/base/gstbasetransform.c: (gst_base_transform_getcaps),
25592         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
25593         (gst_base_transform_get_size), (gst_base_transform_handle_buffer):
25594           Make debugging actually useful.
25595
25596 2005-07-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
25597
25598         * gst/gstpad.c: (fixate_value), (gst_pad_default_fixate),
25599         (gst_pad_fixate_caps):
25600           Implement default fixation once again, so that gst_pad_fixate()
25601           actually does anything at all. This probably needs to be some
25602           sort of a last resort, and use profile-based fixation first, but
25603           since that doesn't exist yet, this is the best we have. Fixes
25604           visualization in Totem.
25605
25606 2005-07-22  Wim Taymans  <wim@fluendo.com>
25607
25608         * docs/design/part-events.txt:
25609         Small update.
25610
25611         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
25612         (gst_base_sink_do_sync), (gst_base_sink_activate_push),
25613         (gst_base_sink_activate_pull):
25614         Some more comments.
25615
25616         * gst/elements/gstfakesrc.c: (gst_fake_src_class_init),
25617         (gst_fake_src_create):
25618         Fix handoff marshall.
25619
25620         * gst/elements/gstidentity.c: (gst_identity_class_init),
25621         (gst_identity_transform_ip):
25622         We're a real inplace element.
25623
25624         * gst/gstbus.c: (gst_bus_post):
25625         Added some comments.
25626
25627         * tests/lat.c: (fakesrc), (fakesink), (simple), (queue), (main):
25628         * tests/muxing/case1.c: (main):
25629         * tests/sched/dynamic-pipeline.c: (main):
25630         * tests/sched/interrupt1.c: (main):
25631         * tests/sched/interrupt2.c: (main):
25632         * tests/sched/interrupt3.c: (main):
25633         * tests/sched/runxml.c: (main):
25634         * tests/sched/sched-stress.c: (main):
25635         * tests/seeking/seeking1.c: (event_received), (main):
25636         * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
25637         (main):
25638         * tests/threadstate/threadstate3.c: (main):
25639         * tests/threadstate/threadstate4.c: (main):
25640         * tests/threadstate/threadstate5.c: (main):
25641         Fix the tests.
25642
25643 2005-07-21  Wim Taymans  <wim@fluendo.com>
25644
25645         * docs/design/part-seeking.txt:
25646         Some small additions.
25647
25648         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
25649         (gst_base_sink_get_times), (gst_base_sink_do_sync),
25650         (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
25651         * gst/base/gstbasesink.h:
25652         discont values are gint64, handle the math correctly.
25653
25654         * gst/base/gstbasesrc.c: (gst_base_src_loop):
25655         Make the basesrc report error if the source pad is not linked.
25656
25657         * gst/gstqueue.c: (gst_queue_link_src), (gst_queue_chain),
25658         (gst_queue_loop), (gst_queue_handle_src_query),
25659         (gst_queue_src_activate_push):
25660         Make queue collect data even if the srcpad is not linked.
25661         Start pushing out data as soon as it is linked.
25662
25663         * gst/gstutils.c: (gst_element_unlink), (gst_flow_get_name):
25664         * gst/gstutils.h:
25665         Added gst_flow_get_name() to ease error reporting.
25666
25667 2005-07-20  Wim Taymans  <wim@fluendo.com>
25668
25669         * gst/gstmessage.c: (gst_message_new_segment_start),
25670         (gst_message_new_segment_done), (gst_message_parse_segment_start),
25671         (gst_message_parse_segment_done):
25672         * gst/gstmessage.h:
25673         Added a bunch of messages for advanced seeking.
25674
25675         * gst/parse/grammar.y:
25676         * libs/gst/control/dparammanager.c: (gst_dpman_set_parent),
25677         (gst_dpman_state_changed):
25678         Fix some new-pad -> pad-added signals
25679
25680 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
25681
25682         * docs/manual/appendix-porting.xml:
25683         * docs/pwg/appendix-porting.xml:
25684           Document new-pad/state-change signal renames and the FixedList
25685           type rename.
25686
25687 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
25688
25689         * docs/manual/advanced-autoplugging.xml:
25690         * docs/manual/basics-helloworld.xml:
25691         * docs/manual/basics-pads.xml:
25692         * docs/random/ds/0.9-suggested-changes:
25693         * gst/gstelement.c: (gst_element_class_init), (gst_element_seek):
25694         * gst/gstelement.h:
25695         * gst/gstevent.h:
25696         * gst/gstformat.h:
25697         * gst/gstquery.h:
25698         * gst/gststructure.c: (gst_structure_value_get_generic_type),
25699         (gst_structure_parse_array), (gst_structure_parse_value):
25700         * gst/gstvalue.c: (gst_type_is_fixed),
25701         (gst_value_list_prepend_value), (gst_value_list_append_value),
25702         (gst_value_list_get_size), (gst_value_list_get_value),
25703         (gst_value_transform_array_string), (gst_value_serialize_array),
25704         (gst_value_deserialize_array), (gst_value_intersect_array),
25705         (gst_value_is_fixed), (_gst_value_initialize):
25706         * gst/gstvalue.h:
25707           GstElement::new-pad -> pad-added, GstElement::state-change ->
25708           state-changed, GstValueFixedList -> GstValueArray, add format and
25709           flags as their own arguments in gst_element_seek() (should improve
25710           "bindeability"), remove function generators since they don't work
25711           under a whole bunch of compilers (they were deprecated already
25712           anyway).
25713
25714 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
25715
25716         * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
25717         (_gst_debug_register_funcptr):
25718         * gst/gstinfo.h:
25719           Fix illegal cast on some platforms (#309253).
25720
25721 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
25722
25723         * gst/gstmessage.c: (gst_message_new_custom):
25724         * gst/gstmessage.h:
25725           Add _new_custom, make _new_application a macro to _new_custom.
25726
25727 2005-07-20  Wim Taymans  <wim@fluendo.com>
25728
25729         * gst/base/gstbasesrc.c: (gst_base_src_init),
25730         (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start):
25731         * gst/base/gstbasesrc.h:
25732         Add a gboolean to decide when to push out a discont.
25733
25734         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
25735         (gst_queue_loop), (gst_queue_handle_src_query),
25736         (gst_queue_sink_activate_push), (gst_queue_src_activate_push),
25737         (gst_queue_set_property), (gst_queue_get_property):
25738         Some cleanups.
25739
25740         * tests/threadstate/threadstate1.c: (main):
25741         Make a thread test compile and run... very silly..
25742
25743
25744 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
25745
25746         * docs/manual/appendix-porting.xml:
25747           Mention removal of libgstgconf-0.9.la and existence of gconf
25748           elements.
25749
25750 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
25751
25752         * docs/pwg/advanced-clock.xml:
25753         * docs/pwg/appendix-porting.xml:
25754         * docs/pwg/intro-preface.xml:
25755         * docs/pwg/other-base.xml:
25756         * docs/pwg/other-manager.xml:
25757         * docs/pwg/other-nton.xml:
25758         * docs/pwg/other-ntoone.xml:
25759         * docs/pwg/other-oneton.xml:
25760         * docs/pwg/pwg.xml:
25761           Document base classes, update sections of n-to-1 and 1-to-n (muxer,
25762           demuxer), remove n-to-n (was never written), fix some code examples
25763           and links and update the porting section to include all this.
25764
25765 2005-07-19  Wim Taymans  <wim@fluendo.com>
25766
25767         * gst/gstqueue.c: (gst_queue_init), (gst_queue_handle_sink_event),
25768         (gst_queue_chain), (gst_queue_loop), (gst_queue_handle_src_event),
25769         (gst_queue_handle_src_query), (gst_queue_sink_activate_push),
25770         (gst_queue_src_activate_push), (gst_queue_change_state),
25771         (gst_queue_get_property):
25772         * gst/gstqueue.h:
25773         Propagate GstFlowReturn more intelligently upstream and output
25774         an ERROR/EOS when streaming stopped due to fatal error.
25775
25776 2005-07-19  Wim Taymans  <wim@fluendo.com>
25777
25778         * tools/gst-launch.c: (check_intr), (event_loop), (main):
25779         Don't block forever for the state change to complete, the
25780         pipeline already did with a sensible timeout.
25781
25782 2005-07-19  Wim Taymans  <wim@fluendo.com>
25783
25784         * gst/base/gstbasesrc.c: (gst_base_src_get_range):
25785         Make sure we never call the create function is we
25786         got deactivated.
25787
25788 2005-07-19  Andy Wingo  <wingo@pobox.com>
25789
25790         * gst/parse/parse.l: Attempt to solve bug #172815.
25791
25792 2005-07-19  Wim Taymans  <wim@fluendo.com>
25793
25794         * docs/design/part-clocks.txt:
25795         * docs/design/part-events.txt:
25796         * gst/base/gstbasesrc.c: (gst_base_src_do_seek):
25797         Small docs updates.
25798         Only update the seeking values when we are not
25799         busy streaming.
25800
25801 2005-07-19  Jan Schmidt  <thaytan@mad.scientist.com>
25802
25803         * gst/base/gstbasesrc.c: (gst_base_src_loop):
25804           Oops, ignore the result of gst_pad_push_event here.
25805
25806 2005-07-19  Jan Schmidt  <thaytan@mad.scientist.com>
25807
25808         * gst/base/gstbasesrc.c: (gst_base_src_loop),
25809         (gst_base_src_activate_push):
25810           Send discont event from the loop function, as pads
25811           aren't activated yet in the activate_push handler.
25812
25813         * gst/gstbin.c: (bin_bus_handler):
25814           Don't leak element name.
25815
25816 2005-07-18  Andy Wingo  <wingo@pobox.com>
25817
25818         * configure.ac: Use AS_LIBTOOL_TAGS.
25819
25820 2005-07-18  Wim Taymans  <wim@fluendo.com>
25821
25822         * docs/gst/gstreamer.types:
25823         Remove deleted types.
25824
25825 2005-07-18  Wim Taymans  <wim@fluendo.com>
25826
25827         * check/elements/gstfakesrc.c: (GST_START_TEST):
25828         * configure.ac:
25829         * gst/Makefile.am:
25830         * gst/gst.c: (gst_init_get_popt_table), (init_pre), (init_post),
25831         (init_popt_callback):
25832         * gst/gst.h:
25833         * gst/gst_private.h:
25834         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_add_func),
25835         (gst_bin_remove_func), (gst_bin_get_state), (gst_bin_change_state):
25836         * gst/gstbin.h:
25837         * gst/gstbus.h:
25838         * gst/gstconfig.h.in:
25839         * gst/gstelement.c: (gst_element_class_init),
25840         (gst_element_set_base_time), (gst_element_get_base_time),
25841         (iterator_fold_with_resync), (gst_element_change_state),
25842         (gst_element_dispose), (gst_element_get_bus):
25843         * gst/gstelement.h:
25844         * gst/gstelementfactory.h:
25845         * gst/gsterror.c: (_gst_core_errors_init):
25846         * gst/gsterror.h:
25847         * gst/gstevent.h:
25848         * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
25849         * gst/gstindex.c:
25850         * gst/gstinfo.c: (_gst_debug_init):
25851         * gst/gstmessage.c: (_gst_message_copy):
25852         * gst/gstmessage.h:
25853         * gst/gstminiobject.h:
25854         * gst/gstobject.c:
25855         * gst/gstobject.h:
25856         * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
25857         (gst_pad_set_caps), (gst_pad_start_task), (gst_pad_stop_task):
25858         * gst/gstpad.h:
25859         * gst/gstparse.h:
25860         * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
25861         (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
25862         (gst_pipeline_get_last_stream_time):
25863         * gst/gstpipeline.h:
25864         * gst/gstpluginfeature.h:
25865         * gst/gstquery.h:
25866         * gst/gstscheduler.c:
25867         * gst/gstscheduler.h:
25868         * gst/gststructure.h:
25869         * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
25870         (gst_task_finalize), (gst_task_func), (gst_task_create),
25871         (gst_task_set_lock), (gst_task_get_state), (gst_task_start),
25872         (gst_task_stop), (gst_task_pause):
25873         * gst/gsttask.h:
25874         * gst/gsttypefind.h:
25875         * gst/gsttypes.h:
25876         * gst/registries/gstlibxmlregistry.c: (load_feature),
25877         (gst_xml_registry_load), (gst_xml_registry_save_feature):
25878         * gst/registries/gstxmlregistry.c:
25879         (gst_xml_registry_start_element), (gst_xml_registry_save_feature):
25880         * gst/schedulers/threadscheduler.c:
25881         * libs/gst/control/dparammanager.h:
25882         * tools/gst-inspect.c: (print_element_list),
25883         (print_plugin_features), (print_element_features):
25884         * tools/gst-xmlinspect.c: (print_element_list),
25885         (print_plugin_info), (main):
25886         Removed plugable schedulers.
25887         Removed Scheduler/Manager from elements.
25888         Removed gsttypes.h, rearranged includes.
25889         Removed dependency pad<->element, element<>pipeline, and
25890         various others,  fix includes.
25891         implement gst_pad_get_parent() with gst_object_get_parent()
25892         Make GstTask sefcontained.
25893         Fix _get_state() on GstBin, it did not return ASYNC with a 0
25894         timeout.
25895         Fix endless loop in iterator_fold_with_resync.
25896
25897
25898 2005-07-18  Wim Taymans  <wim@fluendo.com>
25899
25900         * gst/Makefile.am:
25901         * gst/gstarch.h:
25902         Remove old file.
25903
25904 2005-07-18  Wim Taymans  <wim@fluendo.com>
25905
25906         * gst/Makefile.am:
25907         No more cothreads.h
25908
25909 2005-07-18  Wim Taymans  <wim@fluendo.com>
25910
25911         * gst/cothreads.c:
25912         * gst/cothreads.h:
25913         Let's remove these.
25914
25915 2005-07-18  Wim Taymans  <wim@fluendo.com>
25916
25917         * docs/design/part-dynamic.txt:
25918         * docs/design/part-events.txt:
25919         * docs/design/part-seeking.txt:
25920         Some more docs in the works.
25921
25922         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
25923         (gst_base_transform_getcaps), (gst_base_transform_configure_caps),
25924         (gst_base_transform_setcaps), (gst_base_transform_get_size),
25925         (gst_base_transform_buffer_alloc), (gst_base_transform_event),
25926         (gst_base_transform_handle_buffer),
25927         (gst_base_transform_sink_activate_push),
25928         (gst_base_transform_src_activate_pull),
25929         (gst_base_transform_set_passthrough),
25930         (gst_base_transform_is_passthrough):
25931         Refcounting fixes.
25932
25933         * gst/gstbus.c: (gst_bus_source_dispatch), (gst_bus_poll):
25934         Cleanups.
25935
25936         * gst/gstevent.c: (gst_event_finalize):
25937         Set SRC to NULL.
25938
25939         * gst/gstutils.c: (gst_element_unlink),
25940         (gst_pad_get_parent_element), (gst_pad_proxy_getcaps),
25941         (gst_pad_proxy_setcaps):
25942         * gst/gstutils.h:
25943         Add _get_parent_element() to get a pads parent as an element.
25944
25945 2005-07-18  Wim Taymans  <wim@fluendo.com>
25946
25947         * check/gst/gstbin.c: (GST_START_TEST):
25948         Remove bogus test.
25949
25950 2005-07-18  Wim Taymans  <wim@fluendo.com>
25951
25952         * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
25953         (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
25954         (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
25955         (gst_base_sink_event), (gst_base_sink_do_sync),
25956         (gst_base_sink_chain), (gst_base_sink_loop),
25957         (gst_base_sink_deactivate), (gst_base_sink_activate_push),
25958         (gst_base_sink_activate_pull), (gst_base_sink_change_state):
25959         Refcounting fixes.
25960         Fix logic for returning ASYNC when not prerolled.
25961
25962 2005-07-18  Wim Taymans  <wim@fluendo.com>
25963
25964         * gst/gstqueue.c: (gst_queue_handle_sink_event):
25965         Fix nasty refcount bug.
25966
25967 2005-07-16 Philippe Khalaf <burger@speedy.org>
25968
25969         * gst/elements/gstfdsrc.c:
25970         * gst/elements/gstfdsrc.h:
25971         * gst/elements/gstelements.c:
25972         * gst/elements/Makefile.am:
25973         Ported fdsrc to 0.9.
25974
25975 2005-07-16  Wim Taymans  <wim@fluendo.com>
25976
25977         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
25978         (gst_base_sink_do_sync):
25979         Fix compile error.
25980
25981 2005-07-16  Wim Taymans  <wim@fluendo.com>
25982
25983         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
25984         (gst_base_sink_event), (gst_base_sink_get_times),
25985         (gst_base_sink_do_sync), (gst_base_sink_change_state):
25986         * gst/base/gstbasesink.h:
25987         Store and use discont values when syncing buffers as described
25988         in design docs.
25989         
25990         * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
25991         (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start),
25992         (gst_base_src_activate_push):
25993         Push discont event when starting.
25994
25995         * gst/elements/gstidentity.c: (gst_identity_transform):
25996         Small cleanups.
25997
25998         * gst/gstbin.c: (gst_bin_change_state):
25999         Small cleanups in base_time  distribution.
26000
26001         * gst/gstelement.c: (gst_element_set_base_time),
26002         (gst_element_get_base_time), (gst_element_change_state):
26003         * gst/gstelement.h:
26004         Added methods for the base_time of the element.
26005         Some MT fixes.
26006
26007         * gst/gstpipeline.c: (gst_pipeline_send_event),
26008         (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
26009         (gst_pipeline_get_last_stream_time):
26010         * gst/gstpipeline.h:
26011         MT fixes.
26012         Handle seeking as described in design doc, remove stream_time
26013         hack.
26014         Cleanups clock and stream_time selection code. Added accessors
26015         for the stream_time.
26016         
26017
26018 2005-07-16  Andy Wingo  <wingo@pobox.com>
26019
26020         * gst/gsterror.c (_gst_core_errors_init): Use the magic word
26021         (#305291).
26022
26023 2005-07-16  Wim Taymans  <wim@fluendo.com>
26024
26025         * check/gst/gstbin.c: (GST_START_TEST):
26026         Make elements silent as the deep_notify refs the
26027         parent, which might make the test fail.
26028
26029         * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
26030         Don't hold the lock for too long.
26031
26032 2005-07-16  Tim-Philipp Müller  <tim at centricular dot net>
26033
26034         * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
26035           Don't unref the caps we passed to gst_caps_make_writable() after
26036           passing them. gst_caps_make_writable() will do that for us.
26037
26038 2005-07-15  Andy Wingo  <wingo@pobox.com>
26039
26040         * gst/gstcaps.h (gst_caps_is_simple): Removed deprecated macro
26041         (#157311).
26042
26043         * gst/elements/gstidentity.c (marshal_VOID__MINIOBJECT): Write our
26044         own marshalling function for the handoff signal. Properly type the
26045         buffer as a buffer. Fixes some warnings. Should do a more general
26046         solution.
26047         (gst_identity_class_init): Plug into the right marshaller.
26048
26049 2005-07-15  Wim Taymans  <wim@fluendo.com>
26050
26051         * docs/design/part-TODO.txt:
26052         * docs/design/part-clocks.txt:
26053         * docs/design/part-element-sink.txt:
26054         * docs/design/part-events.txt:
26055         * docs/design/part-gstpipeline.txt:
26056         Updated docs, mostly DISCONT related.
26057
26058 2005-07-15  Tim-Philipp Müller  <tim at centricular dot net>
26059
26060         * docs/pwg/building-pads.xml:
26061           s/GST_PAD_LINK_REFUSED/FALSE/ in gst_my_filter_setcaps()
26062
26063 2005-07-15  Andy Wingo  <wingo@pobox.com>
26064
26065         * tools/gst-typefind.c: Update, add copyright block.
26066
26067         * gst/base/gstbasesrc.c (gst_base_src_default_negotiate):
26068         Normalize and truncate caps before fixation.
26069
26070         * gst/gstcaps.h:
26071         * gst/gstcaps.c (gst_caps_truncate): New function, destructively
26072         discards all but the first structure from its argument.
26073
26074 2005-07-15  Wim Taymans  <wim@fluendo.com>
26075
26076         * gst/base/gstbasetransform.c: (gst_base_transform_init),
26077         (gst_base_transform_transform_caps), (gst_base_transform_getcaps),
26078         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
26079         (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
26080         (gst_base_transform_handle_buffer), (gst_base_transform_getrange),
26081         (gst_base_transform_chain), (gst_base_transform_change_state),
26082         (gst_base_transform_set_passthrough),
26083         (gst_base_transform_is_passthrough):
26084         * gst/base/gstbasetransform.h:
26085         Make passthrough work using the bufferpools.
26086         Changed API a bit, subclasses have to write into a buffer
26087         provided by the base class.
26088         More debug info in nego functions.
26089         
26090         * gst/elements/gstidentity.c: (gst_identity_init),
26091         (gst_identity_transform):
26092         Port to new base class.
26093
26094 2005-07-15  Wim Taymans  <wim@fluendo.com>
26095
26096         * gst/gstmessage.c: (gst_message_new_state_changed):
26097         * tools/gst-launch.c: (event_loop), (main):
26098         Totally dump messages in -launch with the -m option.
26099         Fix message name for State messages,
26100
26101 2005-07-14  Wim Taymans  <wim@fluendo.com>
26102
26103         * gst/base/gstbasesrc.c: (gst_base_src_loop):
26104         Post error messages on errors.
26105
26106 2005-07-14  Wim Taymans  <wim@fluendo.com>
26107
26108         * gst/gstcaps.c: (gst_caps_do_simplify):
26109         Remove debug info.
26110
26111         * gst/gsterror.h:
26112         Define error for stream stopped.
26113
26114         * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
26115         (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange):
26116         Do proper return values.
26117
26118         * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
26119         (gst_pad_set_caps), (gst_pad_chain), (gst_pad_push),
26120         (gst_pad_get_range):
26121         Better return values.
26122
26123         * gst/gstpad.h:
26124         Reorganise return values, add macro to check for fatal errors.
26125
26126         * gst/gstqueue.c: (gst_queue_chain):
26127         Return proper GstFlowReturn values,
26128
26129 2005-07-14  Thomas Vander Stichele  <thomas at apestaart dot org>
26130
26131         * docs/gst/gstreamer-sections.txt:
26132         * docs/gst/gstreamer.types:
26133         * docs/gst/tmpl/gst.sgml:
26134         * docs/gst/tmpl/gstbasesink.sgml:
26135         * docs/gst/tmpl/gstbasesrc.sgml:
26136         * docs/gst/tmpl/gstbasetransform.sgml:
26137         * docs/gst/tmpl/gstbin.sgml:
26138         * docs/gst/tmpl/gstbuffer.sgml:
26139         * docs/gst/tmpl/gstcaps.sgml:
26140         * docs/gst/tmpl/gstclock.sgml:
26141         * docs/gst/tmpl/gstcompat.sgml:
26142         * docs/gst/tmpl/gstconfig.sgml:
26143         * docs/gst/tmpl/gstelement.sgml:
26144         * docs/gst/tmpl/gstelementdetails.sgml:
26145         * docs/gst/tmpl/gstelementfactory.sgml:
26146         * docs/gst/tmpl/gstenumtypes.sgml:
26147         * docs/gst/tmpl/gsterror.sgml:
26148         * docs/gst/tmpl/gstevent.sgml:
26149         * docs/gst/tmpl/gstfakesink.sgml:
26150         * docs/gst/tmpl/gstfakesrc.sgml:
26151         * docs/gst/tmpl/gstfilesink.sgml:
26152         * docs/gst/tmpl/gstfilesrc.sgml:
26153         * docs/gst/tmpl/gstfilter.sgml:
26154         * docs/gst/tmpl/gstformat.sgml:
26155         * docs/gst/tmpl/gstghostpad.sgml:
26156         * docs/gst/tmpl/gstimplementsinterface.sgml:
26157         * docs/gst/tmpl/gstindex.sgml:
26158         * docs/gst/tmpl/gstindexfactory.sgml:
26159         * docs/gst/tmpl/gstinfo.sgml:
26160         * docs/gst/tmpl/gstiterator.sgml:
26161         * docs/gst/tmpl/gstmacros.sgml:
26162         * docs/gst/tmpl/gstmemchunk.sgml:
26163         * docs/gst/tmpl/gstminiobject.sgml:
26164         * docs/gst/tmpl/gstobject.sgml:
26165         * docs/gst/tmpl/gstpad.sgml:
26166         * docs/gst/tmpl/gstpadtemplate.sgml:
26167         * docs/gst/tmpl/gstparse.sgml:
26168         * docs/gst/tmpl/gstpipeline.sgml:
26169         * docs/gst/tmpl/gstplugin.sgml:
26170         * docs/gst/tmpl/gstpluginfeature.sgml:
26171         * docs/gst/tmpl/gstquery.sgml:
26172         * docs/gst/tmpl/gstqueue.sgml:
26173         * docs/gst/tmpl/gstregistry.sgml:
26174         * docs/gst/tmpl/gstregistrypool.sgml:
26175         * docs/gst/tmpl/gstscheduler.sgml:
26176         * docs/gst/tmpl/gstschedulerfactory.sgml:
26177         * docs/gst/tmpl/gststructure.sgml:
26178         * docs/gst/tmpl/gstsystemclock.sgml:
26179         * docs/gst/tmpl/gsttaglist.sgml:
26180         * docs/gst/tmpl/gsttagsetter.sgml:
26181         * docs/gst/tmpl/gsttrace.sgml:
26182         * docs/gst/tmpl/gsttrashstack.sgml:
26183         * docs/gst/tmpl/gsttypefind.sgml:
26184         * docs/gst/tmpl/gsttypefindfactory.sgml:
26185         * docs/gst/tmpl/gsttypes.sgml:
26186         * docs/gst/tmpl/gsturihandler.sgml:
26187         * docs/gst/tmpl/gsturitype.sgml:
26188         * docs/gst/tmpl/gstutils.sgml:
26189         * docs/gst/tmpl/gstvalue.sgml:
26190         * docs/gst/tmpl/gstversion.sgml:
26191         * docs/gst/tmpl/gstxml.sgml:
26192         * docs/libs/tmpl/gstcontrol.sgml:
26193         * docs/libs/tmpl/gstdataprotocol.sgml:
26194         * docs/libs/tmpl/gstdparam.sgml:
26195         * docs/libs/tmpl/gstdplinint.sgml:
26196         * docs/libs/tmpl/gstdpman.sgml:
26197         * docs/libs/tmpl/gstdpsmooth.sgml:
26198         * docs/libs/tmpl/gstgetbits.sgml:
26199         * docs/libs/tmpl/gstunitconvert.sgml:
26200         * gst/base/gstpushsrc.c: (gst_push_src_get_type),
26201         (gst_push_src_base_init), (gst_push_src_class_init),
26202         (gst_push_src_init), (gst_push_src_create):
26203         * gst/base/gstpushsrc.h:
26204         * gst/elements/gstelements.c:
26205         * gst/elements/gstfakesink.c: (gst_fake_sink_state_error_get_type),
26206         (gst_fake_sink_base_init), (gst_fake_sink_class_init),
26207         (gst_fake_sink_init), (gst_fake_sink_set_property),
26208         (gst_fake_sink_get_property), (gst_fake_sink_get_times),
26209         (gst_fake_sink_event), (gst_fake_sink_preroll),
26210         (gst_fake_sink_render), (gst_fake_sink_change_state):
26211         * gst/elements/gstfakesink.h:
26212         * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
26213         (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type),
26214         (gst_fake_src_base_init), (gst_fake_src_class_init),
26215         (gst_fake_src_init), (gst_fake_src_event_handler),
26216         (gst_fake_src_alloc_parent), (gst_fake_src_set_property),
26217         (gst_fake_src_get_property), (gst_fake_src_prepare_buffer),
26218         (gst_fake_src_alloc_buffer), (gst_fake_src_get_size),
26219         (gst_fake_src_create_buffer), (gst_fake_src_create),
26220         (gst_fake_src_start), (gst_fake_src_stop):
26221         * gst/elements/gstfakesrc.h:
26222         * gst/elements/gstfilesink.c: (_do_init),
26223         (gst_file_sink_base_init), (gst_file_sink_class_init),
26224         (gst_file_sink_init), (gst_file_sink_dispose),
26225         (gst_file_sink_set_location), (gst_file_sink_set_property),
26226         (gst_file_sink_get_property), (gst_file_sink_open_file),
26227         (gst_file_sink_close_file), (gst_file_sink_query),
26228         (gst_file_sink_event), (gst_file_sink_render),
26229         (gst_file_sink_change_state), (gst_file_sink_uri_get_type),
26230         (gst_file_sink_uri_get_protocols), (gst_file_sink_uri_get_uri),
26231         (gst_file_sink_uri_set_uri), (gst_file_sink_uri_handler_init):
26232         * gst/elements/gstfilesink.h:
26233         * gst/elements/gstfilesrc.c: (_do_init), (gst_file_src_base_init),
26234         (gst_file_src_class_init), (gst_file_src_init),
26235         (gst_file_src_finalize), (gst_file_src_set_location),
26236         (gst_file_src_set_property), (gst_file_src_get_property),
26237         (gst_file_src_map_region), (gst_file_src_map_small_region),
26238         (gst_file_src_create_mmap), (gst_file_src_create_read),
26239         (gst_file_src_create), (gst_file_src_is_seekable),
26240         (gst_file_src_get_size), (gst_file_src_start), (gst_file_src_stop),
26241         (gst_file_src_uri_get_type), (gst_file_src_uri_get_protocols),
26242         (gst_file_src_uri_get_uri), (gst_file_src_uri_set_uri),
26243         (gst_file_src_uri_handler_init):
26244         * gst/elements/gstfilesrc.h:
26245           more autistic cleanliness in functions/names/defines
26246
26247 2005-07-13  Andy Wingo  <wingo@pobox.com>
26248
26249         * gst/base/gstbasesrc.c (gst_base_src_start): Post an error if the
26250         source couldn't negotiate.
26251
26252         * gst/parse/grammar.y: Revert 1.54->1.55, so we now do filtered
26253         connections again.
26254
26255         * gst/gstutils.h:
26256         * gst/gstutils.c (gst_element_link_pads_filtered): New old
26257         function. I am channeling Hades. Put your boots on suckers!!!
26258
26259 2005-07-13  Thomas Vander Stichele  <thomas at apestaart dot org>
26260
26261         * testsuite/caps/Makefile.am:
26262         * testsuite/caps/value_compare.c:
26263         * testsuite/caps/value_intersect.c:
26264         * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
26265           move two testsuite apps over to the check dir
26266
26267 2005-07-12  Wim Taymans  <wim@fluendo.com>
26268
26269         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
26270         Added more debug info in the negotiate process.
26271
26272         * gst/gstmessage.h:
26273         Prepare for segment playback.
26274
26275         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps):
26276         Better debugging.
26277
26278         * gst/gstutils.c:
26279         Some more docs.
26280
26281         * tools/gst-launch.c: (main):
26282         NULL pipeline on errors.
26283
26284 2005-07-12  Andy Wingo  <wingo@pobox.com>
26285
26286         * gst/gstbuffer.c (_gst_buffer_copy): Copy the buffer whether or
26287         not it comes from a malloc region. Make sure our copy gets freed.
26288
26289 2005-07-12  Thomas Vander Stichele  <thomas at apestaart dot org>
26290
26291         * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
26292         * check/gst/gstmessage.c: (GST_START_TEST):
26293         * check/gst/gststructure.c: (GST_START_TEST),
26294         (gst_structure_suite), (main):
26295           more testing
26296         * gst/gstelement.c: (gst_element_message_full):
26297           clean up GError and debug string now that they get copied
26298         * gst/gstmessage.c: (gst_message_new_error),
26299         (gst_message_new_warning), (gst_message_parse_error),
26300         (gst_message_parse_warning):
26301           use GST_TYPE_G_ERROR for structure_new, and take copies of
26302           arguments, so that we don't mess up refcounting
26303
26304 2005-07-12  Thomas Vander Stichele  <thomas at apestaart dot org>
26305
26306         * check/Makefile.am:
26307           add per-test valgrind targets
26308         * check/gst-libs/gdp.c: (GST_START_TEST),
26309         (gst_data_protocol_suite), (main):
26310           clean up
26311
26312 2005-07-12  Thomas Vander Stichele  <thomas at apestaart dot org>
26313
26314         * check/Makefile.am:
26315           instate more valgrindable tests
26316         * check/elements/gstfakesrc.c: (chain_func), (event_func),
26317         (GST_START_TEST), (fakesrc_suite):
26318         * check/gst/gstpad.c: (GST_START_TEST):
26319         * check/gst/gststructure.c: (GST_START_TEST):
26320           fix test leaks
26321         * docs/gst/tmpl/gstminiobject.sgml:
26322         * gst/gstpad.c: (gst_pad_finalize):
26323           fix the static mutex leak
26324
26325 2005-07-11  Thomas Vander Stichele  <thomas at apestaart dot org>
26326
26327         * check/Makefile.am:
26328           add two more tests for valgrinding
26329         * check/gst/gstvalue.c: (GST_START_TEST):
26330           test refcount of deserialized buffer, found a leak
26331         * docs/gst/gstreamer-docs.sgml:
26332         * docs/gst/gstreamer-sections.txt:
26333         * docs/gst/gstreamer.types:
26334         * docs/gst/tmpl/gstminiobject.sgml:
26335           add miniobject to docs
26336         * gst/gstminiobject.c:
26337           add some docs
26338         * gst/gstvalue.c: (gst_value_deserialize_buffer),
26339         (gst_string_unwrap):
26340           fix a hard-to-find invalid write for one of the tests
26341           fix a leak for deserialized buffers
26342
26343 2005-07-11  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
26344
26345         * docs/pwg/advanced-events.xml:
26346         * docs/pwg/advanced-request.xml:
26347         * docs/pwg/advanced-scheduling.xml:
26348         * docs/pwg/appendix-porting.xml:
26349         * docs/pwg/building-boiler.xml:
26350         * docs/pwg/intro-preface.xml:
26351         * docs/pwg/other-ntoone.xml:
26352           Rewrite scheduling-chapter for scheduling model in 0.9. Add lots
26353           of example code and explanation for pad activation, loop() and
26354           getrange() functions and a bit more. Remove old comments pointing
26355           to loop-functions.
26356         * examples/pwg/Makefile.am:
26357           Add loop/getrange examples.
26358
26359 2005-07-11  Thomas Vander Stichele  <thomas at apestaart dot org>
26360
26361         * configure.ac:
26362           check for valgrind binary + some fixes
26363         * check/gst.supp:
26364           valgrind suppressions for the tests
26365         * check/Makefile.am:
26366           add a valgrind: target that valgrinds the unit tests
26367         * check/gst/gst.c: (GST_START_TEST), (gst_suite):
26368         * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
26369         * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
26370         * check/gst/gstghostpad.c:
26371           added some cleanup
26372         * check/gst/gstdata.c:
26373           removed
26374         * check/gst/gstminiobject.c: (GST_START_TEST), (thread_ref),
26375         (thread_unref), (gst_mini_object_suite), (main):
26376           added
26377         * gst/gst.c: (gst_deinit):
26378         * gst/gst.h:
26379           add a method to clean up.
26380         * gst/gstsystemclock.c: (gst_system_clock_dispose),
26381         (gst_system_clock_obtain):
26382           allow for disposing the system clock.
26383         * tools/gst-launch.c: (main):
26384           deinit
26385
26386 2005-07-11  Thomas Vander Stichele  <thomas at apestaart dot org>
26387
26388         * docs/gst/tmpl/gstbasesrc.sgml:
26389         * docs/gst/tmpl/gstfakesrc.sgml:
26390         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
26391         (gst_base_src_init), (gst_base_src_set_property),
26392         (gst_base_src_get_property), (gst_base_src_get_range),
26393         (gst_base_src_start):
26394         * gst/base/gstbasesrc.h:
26395           add num-buffers property
26396         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
26397         (gst_fakesrc_init), (gst_fakesrc_set_property),
26398         (gst_fakesrc_get_property), (gst_fakesrc_create),
26399         (gst_fakesrc_start):
26400           remove num-buffers property
26401
26402 2005-07-10  Thomas Vander Stichele  <thomas at apestaart dot org>
26403
26404         * docs/gst/gstreamer-sections.txt:
26405         * docs/gst/tmpl/gstbasesink.sgml:
26406         * docs/gst/tmpl/gstbasesrc.sgml:
26407         * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
26408         (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
26409         (gst_base_sink_finalize), (gst_base_sink_set_clock),
26410         (gst_base_sink_set_property), (gst_base_sink_get_property),
26411         (gst_base_sink_handle_object), (gst_base_sink_event),
26412         (gst_base_sink_do_sync), (gst_base_sink_handle_event),
26413         (gst_base_sink_handle_buffer), (gst_base_sink_chain),
26414         (gst_base_sink_loop), (gst_base_sink_deactivate),
26415         (gst_base_sink_activate_push), (gst_base_sink_activate_pull),
26416         (gst_base_sink_change_state):
26417         * gst/base/gstbasesink.h:
26418         * gst/base/gstbasesrc.h:
26419         * gst/elements/gstfakesink.c: (gst_fakesink_get_times):
26420         * gst/elements/gstfilesink.c: (gst_filesink_class_init),
26421         (gst_filesink_init):
26422           more macro splitting
26423
26424 2005-07-10  Thomas Vander Stichele  <thomas at apestaart dot org>
26425
26426         * gst/gstelement.c: (gst_element_get_bus):
26427           add debug
26428         * tools/gst-launch.c: (check_intr), (event_loop):
26429           fix bus leaks
26430
26431 2005-07-10  Thomas Vander Stichele  <thomas at apestaart dot org>
26432
26433         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked):
26434           fix a caps leak
26435
26436 2005-07-10  Thomas Vander Stichele  <thomas at apestaart dot org>
26437
26438         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
26439         (gst_base_src_finalize):
26440           add finalize method and clean up properly
26441         * gst/gstpipeline.c: (gst_pipeline_dispose):
26442           add debug
26443
26444 2005-07-09  Thomas Vander Stichele  <thomas at apestaart dot org>
26445
26446         * check/gst/gstbin.c: (pop_messages), (GST_START_TEST),
26447         (gst_bin_suite):
26448           add more things to check
26449         * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
26450         * gst/gstelement.c:
26451           more debug
26452
26453 2005-07-09  Thomas Vander Stichele  <thomas at apestaart dot org>
26454
26455         * check/elements/gstfakesrc.c: (chain_func), (event_func),
26456         (GST_START_TEST), (fakesrc_suite):
26457         * check/gst-libs/gdp.c: (GST_START_TEST):
26458         * check/gst/gst.c: (GST_START_TEST):
26459         * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
26460         * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
26461         * check/gst/gstbus.c: (GST_START_TEST):
26462         * check/gst/gstcaps.c: (GST_START_TEST):
26463         * check/gst/gstdata.c: (GST_START_TEST):
26464         * check/gst/gstelement.c: (GST_START_TEST):
26465         * check/gst/gstghostpad.c: (GST_START_TEST):
26466         * check/gst/gstiterator.c: (GST_START_TEST):
26467         * check/gst/gstmessage.c: (GST_START_TEST):
26468         * check/gst/gstobject.c: (GST_START_TEST):
26469         * check/gst/gstpad.c: (GST_START_TEST):
26470         * check/gst/gststructure.c: (GST_START_TEST):
26471         * check/gst/gstsystemclock.c: (GST_START_TEST),
26472         (gst_systemclock_suite):
26473         * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
26474         * check/gst/gstvalue.c: (GST_START_TEST):
26475         * check/pipelines/cleanup.c: (GST_START_TEST):
26476         * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
26477         * check/states/sinks.c: (GST_START_TEST):
26478         * check/gstcheck.c: (gst_check_init):
26479         * check/gstcheck.h:
26480           add debugging category
26481           use GST_START_TEST now, so we add a debug line
26482
26483 2005-07-09  Thomas Vander Stichele  <thomas at apestaart dot org>
26484
26485         * check/gst/gstbin.c: (START_TEST), (gst_bin_suite):
26486           add test for state change message on a bin
26487         * check/gst/gstelement.c: (START_TEST), (gst_element_suite):
26488           add another test
26489         * gst/gstbin.c: (gst_bin_init):
26490         * gst/gstbus.c: (gst_bus_init), (gst_bus_post):
26491         * gst/gstelement.c: (gst_element_post_message),
26492         (gst_element_set_state):
26493         * gst/gstelementfactory.c: (gst_element_factory_create):
26494         * gst/gstmessage.c: (gst_message_new):
26495         * gst/gstscheduler.c:
26496           various debugging additions and cleanups
26497
26498 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
26499
26500         * check/Makefile.am:
26501         * check/gst/gstelement.c: (START_TEST), (gst_element_suite),
26502         (main):
26503           adding tests for elements
26504         * gst/gstelement.c: (gst_element_dispose):
26505
26506 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
26507
26508         * gst/registries/gstlibxmlregistry.c: (load_feature):
26509           plug more leaks.  A simple gst_init() now is leakfree, yay.
26510
26511 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
26512
26513         * gst/registries/gstlibxmlregistry.c: (read_string), (load_paths),
26514         (gst_xml_registry_load):
26515           plug another memleak
26516
26517 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
26518
26519         * configure.ac:
26520           use GST_SET_ERROR_CFLAGS
26521         * docs/faq/cvs.xml:
26522           change to ERROR_CFLAGS
26523
26524 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
26525
26526         * configure.ac:
26527           make GST_ERROR_CFLAGS overridable and re-enable Werror
26528         * docs/faq/cvs.xml:
26529           add a note about error CFLAGS
26530         * docs/gst/tmpl/gstfakesrc.sgml:
26531         * gst/elements/gstfakesrc.c:
26532           comment out some unused code
26533         * gst/gst.c: (split_and_iterate):
26534         * gst/registries/gstlibxmlregistry.c: (load_pad_template),
26535         (load_feature):
26536           plug some memleaks
26537
26538 2005-07-07  Thomas Vander Stichele  <thomas at apestaart dot org>
26539
26540         * common/Makefile.am:
26541         * common/gtk-doc.mak:
26542         * docs/gst/Makefile.am:
26543           factor out gtk-doc.mak
26544
26545 2005-07-07  Wim Taymans  <wim@fluendo.com>
26546
26547         * gst/schedulers/threadscheduler.c: (gst_thread_scheduler_func),
26548         (gst_thread_scheduler_dispose):
26549         Unlock the STREAM_LOCK completely.
26550
26551 2005-07-07  Thomas Vander Stichele  <thomas at apestaart dot org>
26552
26553         * check/Makefile.am:
26554         * check/elements/.cvsignore:
26555         * check/elements/gstfakesrc.c: (chain_func), (event_func),
26556         (START_TEST), (fakesrc_suite), (main):
26557         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
26558         (gst_fakesrc_set_property), (gst_fakesrc_get_property),
26559         (gst_fakesrc_create), (gst_fakesrc_start):
26560         * gst/elements/gstfakesrc.h:
26561           adding a first element test
26562
26563 2005-07-07  Andy Wingo  <wingo@pobox.com>
26564
26565         * gst/gstbus.c (gst_bus_have_pending): Remove intensely irritating
26566         debug message.
26567
26568 2005-07-07  Wim Taymans  <wim@fluendo.com>
26569
26570         * gst/gstquery.c:
26571         * gst/gstquery.h:
26572         Remove old types
26573
26574 2005-07-07  Wim Taymans  <wim@fluendo.com>
26575
26576         * gst/base/gstbasesrc.c: (gst_base_src_get_range),
26577         (gst_base_src_default_negotiate), (gst_base_src_negotiate):
26578         Allow subclasses to implement their own negotiation.
26579
26580 2005-07-07  Jan Schmidt  <thaytan@mad.scientist.com>
26581
26582         * docs/design/part-gstbin.txt:
26583         * docs/design/part-gstpipeline.txt:
26584           Update design notes to reflect the movement of
26585           responsibility for bus handling from GstPipeline to
26586           GstBin
26587
26588 2005-07-07  Jan Schmidt  <thaytan@mad.scientist.com>
26589
26590         * configure.ac:
26591           Remove unnecessary queue2/3/4 examples.
26592
26593 2005-07-07  Jan Schmidt  <thaytan@mad.scientist.com>
26594
26595         * examples/Makefile.am:
26596         * examples/helloworld/helloworld.c: (event_loop), (main):
26597         * examples/queue/queue.c: (event_loop), (main):
26598         * examples/queue2/queue2.c: (main):
26599           Update a couple of the examples to work again.
26600
26601         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
26602         (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_event):
26603          Spelling corrections and extra debug.
26604         
26605         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init), (is_eos),
26606         (gst_bin_add_func), (bin_element_is_sink), (gst_bin_get_state),
26607         (gst_bin_change_state), (gst_bin_dispose), (bin_bus_handler):
26608         * gst/gstbin.h:
26609         * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
26610         (gst_pipeline_change_state):
26611         * gst/gstpipeline.h:
26612           Move the bus handler for children to the GstBin, and create a
26613           separate bus for receiving messages from children to the one the
26614           bus sends 'upwards' on.
26615
26616 2005-07-06  Wim Taymans  <wim@fluendo.com>
26617
26618         * gst/base/README:
26619         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
26620         (gst_base_sink_handle_object), (gst_base_sink_loop),
26621         (gst_base_sink_change_state):
26622         * gst/base/gstbasesink.h:
26623         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
26624         (gst_base_src_init), (gst_base_src_setcaps),
26625         (gst_base_src_getcaps), (gst_base_src_loop),
26626         (gst_base_src_default_negotiate), (gst_base_src_negotiate),
26627         (gst_base_src_start), (gst_base_src_change_state):
26628         * gst/base/gstbasesrc.h:
26629         Make basesrc negotiate.
26630         Handle the case where preroll fails in basesink.
26631         Update README.
26632
26633 2005-07-06  Wim Taymans  <wim@fluendo.com>
26634
26635         * gst/gstpad.c: (gst_pad_fixate_caps), (gst_pad_accept_caps):
26636         Implement the fixate function.
26637         Clean up acceptcaps.
26638
26639 2005-07-06  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
26640
26641         * docs/pwg/building-filterfactory.xml:
26642         * docs/pwg/pwg.xml:
26643           Remove never-written filter-factory chapter; I'll add the various
26644           base classes to part 4 ("other element types") later on.
26645
26646 2005-07-06  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
26647
26648         * docs/pwg/advanced-negotiation.xml:
26649         * docs/pwg/building-boiler.xml:
26650         * docs/pwg/building-pads.xml:
26651         * docs/pwg/pwg.xml:
26652         * examples/pwg/Makefile.am:
26653           Add a chapter on caps negotiation, simplify the original code
26654           samples a bit w.r.t. caps negotiation, add link to the advanced
26655           section. Add a bunch of examples showing different use cases of
26656           different types of caps negotiation. Upstream renegotiation isn't
26657           fully documented yet since nobody knows how that works.
26658
26659 2005-07-06  Thomas Vander Stichele  <thomas at apestaart dot org>
26660
26661         * check/gst/gstpad.c:
26662         * check/gstcheck.c:
26663         * gst/gstpad.c: (gst_pad_get_internal_links_default):
26664           if pad has no parent, return NULL as list of internal links
26665
26666 2005-07-05  Andy Wingo  <wingo@pobox.com>
26667
26668         * gst/elements/gstfilesrc.c:
26669         * gst/elements/gstfakesrc.c: 
26670         * gst/base/gstpushsrc.c:
26671         * gst/base/gstbasesrc.h: 
26672         * gst/base/gstbasesrc.c: s/BASESRC/BASE_SRC/g.
26673         
26674 2005-07-05  Stefan Kost  <ensonic@users.sf.net>
26675
26676         * Makefile.am:
26677           better report generation target (lcov needs a patch)
26678
26679 2005-07-05  Andy Wingo  <wingo@pobox.com>
26680
26681         * gst/elements, testsuite: Null if we got it...
26682
26683 2005-07-05  Wim Taymans  <wim@fluendo.com>
26684
26685         * configure.ac:
26686         * libs/gst/dataprotocol/Makefile.am:
26687         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_validate_packet):
26688         * libs/gst/dataprotocol/dataprotocol.h:
26689         * pkgconfig/Makefile.am:
26690         * pkgconfig/gstreamer-dataprotocol-uninstalled.pc.in:
26691         * pkgconfig/gstreamer-dataprotocol.pc.in:
26692         Ported dataprotol to 0.9. 
26693         Added pkgconfig files.
26694
26695 2005-07-05  Andy Wingo  <wingo@pobox.com>
26696
26697         * gst/base/gstbasetransform.c (gst_base_transform_setcaps):
26698         Default to returning TRUE for the case when tranform_caps returns
26699         a fixed caps, like for identity or volume.
26700
26701         * check/gst/gstbus.c (pound_bus_with_messages): 
26702         * check/gst/gstmessage.c (START_TEST): 
26703         * check/pipelines/simple_launch_lines.c (got_handoff): Application
26704         message API change.
26705
26706         * gst/base/gstbasetransform.c (gst_base_transform_setcaps): More
26707         logic weaks here: always run transform_caps, trying passthrough
26708         operation only if the original caps intersects with the transform.
26709
26710         * gst/gstpad.c (gst_pad_link_check_compatible_unlocked): Debug
26711         source and sink caps.
26712
26713         * gst/base/gstbasetransform.c (gst_base_transform_getcaps):
26714         Intersect the peer caps with the pad template before going into
26715         transform_caps.
26716         (gst_base_transform_transform_caps): More debugging.
26717
26718         * gst/gstmessage.h (gst_message_new_application): Take a GstObject
26719         src argument.
26720
26721 2005-07-04  Edward Hervey  <edward@fluendo.com>
26722
26723         * gst/gstutils.c:
26724         * gst/gstutils.h:
26725         (gst_pad_add_*_probe): now returns the signal id for better wrapping
26726         in bindings.
26727
26728 2005-07-04  Andy Wingo  <wingo@pobox.com>
26729
26730         * check/gst/gstpad.c: Only set explicit caps on pads.
26731
26732 2005-07-01  Andy Wingo  <wingo@pobox.com>
26733
26734         * tests/network-clock.scm: Commentary update.
26735
26736         * gst/elements/gstidentity.c (PROP_DUPLICATE): Gone daddy gone.
26737         Didn't really make sense, not implementable with basetransform,
26738         etc.
26739         (gst_identity_transform): Unref inbuf via make_writable. Feeble
26740         attempt at implementing the sync property, needs an unlock method.
26741
26742         * gst/base/gstbasetransform.c (gst_base_transform_transform_caps):
26743         New func, by default returns the same caps (the identity
26744         transformation).
26745         (gst_base_transform_getcaps): Uses transform_caps to return
26746         something sensible.
26747         (gst_base_transform_setcaps): Complicated logic to get caps on
26748         both pads, even if they are different, and to call set_caps once
26749         for every time both pads get their caps set.
26750         (gst_base_transform_handle_buffer): Give the ref to the transform
26751         function. Allows in-place modification of the buffer.
26752
26753         * gst/base/gstbasetransform.h (transform_caps): New class method.
26754         Given caps on one side, what can I do on the other.
26755         (set_caps): Take two caps, one for each side of the element.
26756
26757         * gst/gstpad.h:
26758         * gst/gstpad.c (gst_pad_fixate_caps): Change prototype to modify
26759         caps in place. This is safe because we can check the mutability of
26760         the caps, and a good idea because fixate functions are just called
26761         as a matter of last resort. (Not actually implemented.)
26762         (gst_pad_set_caps): If the caps we're setting is actually the same
26763         as the existing pad caps, just update the pointer without calling
26764         setcaps. Assert that caps is either NULL or fixed, as per the
26765         docs.
26766
26767         * gst/gstghostpad.c: Update for fixate changes.
26768
26769 2005-07-02  Andy Wingo  <wingo@pobox.com>
26770
26771         * gst/gstcaps.c:
26772         * gst/gstcaps.h (gst_static_caps_get): Not const return, having
26773         two refcounts makes it immutable, which is enough. Doc more.
26774
26775 2005-07-02  Jan Schmidt  <thaytan@mad.scientist.com>
26776
26777         * gst/gstpad.c: (gst_pad_emit_have_data_signal):
26778           Put the mini_object into GValue as a mini_object,
26779           not a gpointer, since that's how we declared
26780           the signal.
26781
26782 2005-07-01  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
26783
26784         * examples/pwg/Makefile.am:
26785           Fix buildbot again.
26786
26787 2005-07-01  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
26788
26789         * docs/pwg/building-testapp.xml:
26790           Add extra check.
26791         * examples/pwg/Makefile.am:
26792           Fix buildbot.
26793
26794 2005-07-01  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
26795
26796         * configure.ac:
26797         * examples/Makefile.am:
26798         * examples/pwg/Makefile.am:
26799         * examples/pwg/extract.pl:
26800           Enable building the PWG examples.
26801         * docs/pwg/advanced-interfaces.xml:
26802           Add URI interface stub.
26803         * docs/pwg/advanced-types.xml:
26804         * docs/pwg/other-autoplugger.xml:
26805         * docs/pwg/appendix-porting.xml:
26806         * docs/pwg/pwg.xml:
26807           Add porting guide (mostly stubs), remove autoplugging (see ADM).
26808         * docs/pwg/building-boiler.xml:
26809         * docs/pwg/building-chainfn.xml:
26810         * docs/pwg/building-pads.xml:
26811         * docs/pwg/building-props.xml:
26812         * docs/pwg/building-state.xml:
26813         * docs/pwg/building-testapp.xml:
26814           Update the building-*.xml parts for 0.9 changes. All examples
26815           code blocks compile in examples/pwg/*.
26816
26817 2005-06-30  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
26818
26819         * docs/manual/advanced-autoplugging.xml:
26820         * docs/manual/appendix-checklist.xml:
26821         * docs/manual/appendix-integration.xml:
26822         * docs/manual/highlevel-components.xml:
26823           Fix playbin/decodebin examples, update docs a bit, mention bus
26824           instead of signals in various places, mention kmplayer and
26825           kaffeine since they have a working GStreamer backend in the KDE
26826           section.
26827
26828 2005-06-30  Wim Taymans  <wim@fluendo.com>
26829
26830         * CHANGES-0.9:
26831         * docs/design/draft-ghostpads.txt:
26832         * docs/design/draft-push-pull.txt:
26833         * docs/design/draft-query.txt:
26834         * docs/design/part-TODO.txt:
26835         * docs/design/part-query.txt:
26836         Added CHANGES-0.9 doc, updated status of other docs.
26837         
26838         * gst/gstquery.h:
26839         Remove "hmm" macro
26840
26841 2005-06-30  Wim Taymans  <wim@fluendo.com>
26842
26843         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
26844         (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
26845         (gst_base_sink_change_state):
26846         * gst/base/gstbasesink.h:
26847         Some tweaks, only EOS and a buffer complete a preroll.
26848
26849 2005-06-30  Andy Wingo  <wingo@pobox.com>
26850
26851         * gst/gstghostpad.c (gst_ghost_pad_do_activate_push): Proxy
26852         activate_push down to the internal pad as well.
26853
26854 2005-06-30  Torsten Schoenfeld  <kaffeetisch@gmx.de>
26855
26856         Reviewed by:  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
26857
26858         * gst/gsttaginterface.c:
26859           Some documentation fixes (#307394 and #307397).
26860
26861 2005-06-30  Antoine Tremblay  <hexa00@gmail.com>
26862
26863         Reviewed by:  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
26864
26865         * gst/gstvalue.c: (gst_value_intersect_list):
26866           Fix memleak (#309125).
26867
26868 2005-06-30  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
26869
26870         * docs/manual/advanced-dataaccess.xml:
26871           Fix fakesrc example to compile; doesn't work, bug somewhere...?
26872         * docs/manual/basics-pads.xml:
26873           Add reference for filtered caps to above chapter.
26874
26875 2005-06-30  Wim Taymans  <wim@fluendo.com>
26876
26877         * gst/gstbin.c: (clear_queue), (remove_all_from_queue),
26878         (gst_bin_change_state):
26879         Probes are gone.
26880         Lame attempt at making the state change function a bit
26881         more readable.
26882
26883 2005-06-30  Wim Taymans  <wim@fluendo.com>
26884
26885         * docs/design/part-clocks.txt:
26886         * docs/design/part-element-sink.txt:
26887         * docs/design/part-events.txt:
26888         * docs/design/part-preroll.txt:
26889         * docs/design/part-states.txt:
26890         Some more tweeks and additions to the docs.
26891
26892 2005-06-30  Wim Taymans  <wim@fluendo.com>
26893
26894         * gst/gstpad.c: (_gst_do_pass_data_accumulator),
26895         (default_have_data), (gst_pad_class_init), (gst_pad_init),
26896         (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
26897         (gst_pad_check_pull_range), (gst_pad_get_range),
26898         (gst_pad_pull_range), (gst_pad_push_event), (gst_pad_send_event):
26899         * gst/gstpad.h:
26900         * gst/gstutils.c: (gst_atomic_int_set), (gst_pad_add_data_probe),
26901         (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
26902         (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
26903         (gst_pad_remove_buffer_probe):
26904         Removed atomic operations, use existing LOCK.
26905         Move exception handling out of main code path.
26906
26907 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
26908
26909         * gst/gstpad.c: (_gst_do_pass_data_accumulator),
26910         (silly_return_true_function), (gst_pad_class_init),
26911         (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
26912         (gst_pad_get_range), (gst_pad_pull_range), (gst_pad_push_event),
26913         (gst_pad_send_event):
26914           Fix accumulator, add default value by using _emitv() instead
26915           of _emit() for signal emission.
26916
26917 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
26918
26919         * docs/manual/advanced-dataaccess.xml:
26920         * examples/manual/Makefile.am:
26921           Add probe example.
26922         * gst/gstpad.c: (_gst_do_pass_data_accumulator):
26923           Make work (??).
26924
26925 2005-06-29  Tim-Philipp Müller  <tim at centricular dot net>
26926
26927         * gst/elements/gstfilesink.c: (gst_filesink_render):
26928           Simplify code so that we don't have to handle short
26929           writes and return GST_FLOW_ERROR if an error occured.
26930
26931 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
26932
26933         * docs/gst/gstreamer-docs.sgml:
26934           Remove probes more.
26935
26936 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
26937
26938         * docs/gst/gstreamer-sections.txt:
26939         * docs/gst/tmpl/gstpad.sgml:
26940         * docs/gst/tmpl/gstprobe.sgml:
26941         * gst/Makefile.am:
26942         * gst/gstpad.c: (_gst_do_pass_data_accumulator),
26943         (gst_pad_class_init), (gst_pad_init), (gst_pad_chain),
26944         (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
26945         (gst_pad_push_event), (gst_pad_send_event):
26946         * gst/gstpad.h:
26947         * gst/gstutils.c: (gst_pad_add_data_probe),
26948         (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
26949         (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
26950         (gst_pad_remove_buffer_probe):
26951         * gst/gstutils.h:
26952           Remove old probes, add new g-signal-based probes and some utility
26953           functions.
26954
26955 2005-06-29  Edward Hervey  <edward@fluendo.com>
26956
26957         * gst/gstelementfactory.c:
26958         * gst/gstutils.h:
26959         * gst/gstutils.c:
26960         Moved gst_element_factory_can_[sink|src]_caps() to gstutils and added
26961         the definition to the header file.
26962
26963 2005-06-29  Andy Wingo  <wingo@pobox.com>
26964
26965         * docs/gst/Makefile.am (scan-build.stamp): Totally only check
26966         plugins from the source directory.
26967
26968 2005-06-29  Wim Taymans  <wim@fluendo.com>
26969
26970         * docs/gst/tmpl/gstbuffer.sgml:
26971         * docs/gst/tmpl/gstclock.sgml:
26972         Some fixings for blantently wrong text.
26973
26974 2005-06-29  Thomas Vander Stichele  <thomas at apestaart dot org>
26975
26976         * check/Makefile.am:
26977         * gst/gst.c: (add_path_func), (init_pre):
26978         * gst/gstregistry.c: (gst_registry_add_path):
26979           add A GST_PLUGIN_PATH_ONLY env var; if it is set, it will
26980           only scan the GST_PLUGIN_PATH locations, and not add
26981           system locations
26982
26983 2005-06-29  Thomas Vander Stichele  <thomas at apestaart dot org>
26984
26985         * docs/gst/gstreamer-sections.txt:
26986         * docs/gst/tmpl/gstbasesrc.sgml:
26987         * gst/gstelement.c:
26988         * gst/gstelement.h:
26989         * gst/gstevent.c:
26990         * gst/gstutils.c:
26991           doc fixes
26992
26993 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
26994
26995         * docs/manual/advanced-autoplugging.xml:
26996           Fix autoplugging example.
26997
26998 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
26999
27000         * docs/manual/advanced-autoplugging.xml:
27001         * docs/manual/mime-world.fig:
27002           Try to get autoplugging working, fix type detection. Fix text
27003           in hello-world image.
27004
27005 2005-06-29  Wim Taymans  <wim@fluendo.com>
27006
27007         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
27008         (gst_base_sink_change_state):
27009         Small debug line.
27010
27011         * gst/gstclock.h:
27012         map SIGNAL and BROADCAST to the right function.
27013
27014         * gst/gstobject.h:
27015         Remove redundant braces.
27016
27017         * gst/gstpad.c: (gst_pad_set_caps):
27018         Don't call setcaps function when reseting caps to NULL.
27019
27020         * gst/gstsystemclock.c: (gst_system_clock_dispose),
27021         (gst_system_clock_async_thread), (gst_system_clock_id_wait_async),
27022         (gst_system_clock_id_unschedule):
27023         Use BROADCAST as this is what we do.
27024
27025 2005-06-29  Wim Taymans  <wim@fluendo.com>
27026
27027         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
27028         We are actually prerolling before commiting the state
27029         change. 
27030
27031 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
27032
27033         * docs/manual/advanced-clocks.xml:
27034         * docs/manual/advanced-interfaces.xml:
27035         * docs/manual/advanced-metadata.xml:
27036         * docs/manual/advanced-position.xml:
27037         * docs/manual/advanced-schedulers.xml:
27038         * docs/manual/advanced-threads.xml:
27039         * docs/manual/appendix-porting.xml:
27040         * docs/manual/basics-bins.xml:
27041         * docs/manual/basics-bus.xml:
27042         * docs/manual/basics-elements.xml:
27043         * docs/manual/basics-helloworld.xml:
27044         * docs/manual/basics-pads.xml:
27045         * docs/manual/highlevel-components.xml:
27046         * docs/manual/manual.xml:
27047         * docs/manual/thread.fig:
27048           Update (until threads/scheduling) Application Development Manual;
27049           remove GstThread, add GstBus, add simple porting checklist, add
27050           documentation for tag writing, clocks, make all examples until this
27051           part compile and run.
27052         * examples/manual/Makefile.am:
27053           Update from changes to Application Development Manual; add bus
27054           example, remove thread example.
27055
27056 2005-06-28  Wim Taymans  <wim@fluendo.com>
27057
27058         * gst/gstbus.c: (gst_bus_post), (gst_bus_have_pending),
27059         (gst_bus_set_flushing), (gst_bus_pop), (gst_bus_peek),
27060         (gst_bus_source_dispatch):
27061         Add debugging messages.
27062         Make internal methods static.
27063         Handle the case where the bus is flushed in the handler.
27064         
27065         * gst/gstelement.c: (gst_element_get_bus):
27066         Fix refcount in _get_bus();
27067
27068         * gst/gstpipeline.c: (gst_pipeline_change_state),
27069         (gst_pipeline_get_clock_func):
27070         Clock refcounting fixes.
27071         Handle the case where preroll timed out more gracefully.
27072         
27073         * gst/gstsystemclock.c: (gst_system_clock_dispose):
27074         Clean up the internal thread in dispose. This is needed
27075         for subclasses that actually get disposed.
27076         
27077         * gst/schedulers/threadscheduler.c:
27078         (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
27079         (gst_thread_scheduler_dispose):
27080         Free thread pool in dispose.
27081
27082 2005-06-28  Andy Wingo  <wingo@pobox.com>
27083
27084         * tests/network-clock-utils.scm (debug, print-event): New utils.
27085
27086         * tests/network-clock.scm (*debug*, *with-graph*): New parameters.
27087         (*packet-loss*): Unified loss probability.
27088         (network-time): Report out-of-band events.
27089
27090         * tests/plot-data: Add support for out-of-band events. Hack it
27091         into this script instead of passing it down the pipe; should fix
27092         this later.
27093
27094 2005-06-28  Wim Taymans  <wim@fluendo.com>
27095
27096         * docs/gst/gstreamer.types:
27097         * docs/gst/tmpl/gstbasesrc.sgml:
27098         * docs/gst/tmpl/gstpad.sgml:
27099         Docs fixes.
27100
27101 2005-06-28  Wim Taymans  <wim@fluendo.com>
27102
27103         * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
27104         (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_acceptcaps),
27105         (gst_proxy_pad_do_fixatecaps):
27106         Correctly proxy the check_pull_range function.
27107
27108 2005-06-28  Andy Wingo  <wingo@pobox.com>
27109
27110         * tests/network-clock.scm: Removed need for slib.
27111         
27112 2005-06-28  Wim Taymans  <wim@fluendo.com>
27113
27114         * gst/base/gstbasesink.c: (gst_basesink_set_pad_functions),
27115         (gst_basesink_preroll_queue_flush):
27116         * gst/base/gstbasesrc.c: (gst_basesrc_set_dataflow_funcs):
27117         * gst/elements/gsttee.c: (gst_tee_update_pad_functions):
27118         * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
27119         (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
27120         (gst_proxy_pad_set_property):
27121         * gst/gstpad.c:
27122         * gst/gstpad.h:
27123         * gst/gstqueue.c: (gst_queue_init):
27124         The deprecated pad loop function is removed now.
27125
27126 2005-06-28  Andy Wingo  <wingo@pobox.com>
27127
27128         * tests/network-clock.scm (*timeout*, *send-loss*, *recv-loss*):
27129         New parameters, simulate network packet loss.
27130
27131         * tests/network-clock-utils.scm: Initialize the RNG.
27132
27133 2005-06-28  Wim Taymans  <wim@fluendo.com>
27134
27135         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_flush),
27136         (gst_basesink_event), (gst_basesink_deactivate):
27137         Flushing the preroll queue always needs to unlock the waiters.
27138
27139 2005-06-28  Edward Hervey  <edward@fluendo.com>
27140
27141         * gst/gstpipeline.c: (gst_pipeline_send_event): 
27142         Wheen a seek was successful on a pipeline, set the stream_time to the
27143         seek offset in order to have a synchronized stream_time.
27144
27145 2005-06-28  Wim Taymans  <wim@fluendo.com>
27146
27147         * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
27148         (gst_proxy_pad_do_getrange), (gst_proxy_pad_do_checkgetrange),
27149         (gst_proxy_pad_do_getcaps), (gst_proxy_pad_do_acceptcaps),
27150         (gst_proxy_pad_do_fixatecaps):
27151         Call wrapper function instead of just calling the function
27152         pointers. This takes care of any locking and whatmore.
27153
27154 2005-06-28  Wim Taymans  <wim@fluendo.com>
27155
27156         * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push),
27157         (gst_pad_pull_range):
27158         * gst/gstpad.h:
27159         CONNECTED -> LINKED.
27160
27161 2005-06-28  Andy Wingo  <wingo@pobox.com>
27162
27163         * *.c: Don't cast to GST_OBJECT when reffing or unreffing. Large
27164         source-munging commit!!!
27165
27166         * gst/gstobject.c (gst_object_unref, gst_object_ref) 
27167         (gst_object_sink): Take gpointer arguments, not GstObject --
27168         avoids casts. Like GLib.
27169
27170         * gst/gstghostpad.c (gst_proxy_pad_do_activate): Don't proxy
27171         activate.
27172
27173 2005-06-27  Andy Wingo  <wingo@pobox.com>
27174
27175         * gst/base/gsttypefindhelper.c (gst_type_find_helper): Unref any
27176         remaining buffer.
27177
27178         * gst/gsttrace.c (gst_alloc_trace_list_sorted): New helper,
27179         returns a sorted copy of the trace list.
27180         (gst_alloc_trace_print_live): New API, only prints traces with
27181         live objects. Sort the list.
27182         (gst_alloc_trace_print_all): Sort the list.
27183         (gst_alloc_trace_print): Align columns.
27184
27185         * gst/elements/gstttypefindelement.c:
27186         * gst/elements/gsttee.c:
27187         * gst/base/gstbasesrc.c:
27188         * gst/base/gstbasesink.c:
27189         * gst/base/gstbasetransform.c:
27190         * gst/gstqueue.c: Adapt for pad activation changes.
27191
27192         * gst/gstpipeline.c (gst_pipeline_init): Unref after parenting
27193         sched.
27194         (gst_pipeline_dispose): Drop ref on sched.
27195
27196         * gst/gstpad.c (gst_pad_init): Set the default activate func.
27197         (gst_pad_activate_default): Push mode by default.
27198         (pre_activate_switch, post_activate_switch): New stubs, things to
27199         do before and after switching activation modes on pads.
27200         (gst_pad_set_active): Take a boolean and not a mode, dispatch to
27201         the pad's activate function to choose which mode to activate.
27202         Shortcut on deactivation and call the right function directly.
27203         (gst_pad_activate_pull): New API, (de)activates a pad in pull
27204         mode.
27205         (gst_pad_activate_push): New API, same for push mode.
27206         (gst_pad_set_activate_function) 
27207         (gst_pad_set_activatepull_function) 
27208         (gst_pad_set_activatepush_function): Setters for new API.
27209
27210         * gst/gstminiobject.c (gst_mini_object_new, gst_mini_object_free):
27211         Trace all miniobjects.
27212         (gst_mini_object_make_writable): Unref the arg if we copy, like
27213         gst_caps_make_writable.
27214
27215         * gst/gstmessage.c (_gst_message_initialize): No trace init.
27216
27217         * gst/gstghostpad.c (gst_proxy_pad_do_activate) 
27218         (gst_proxy_pad_do_activatepull, gst_proxy_pad_do_activatepush):
27219         Adapt for new pad API.
27220
27221         * gst/gstevent.c (_gst_event_initialize): Don't initialize trace.
27222
27223         * gst/gstelement.h:
27224         * gst/gstelement.c (gst_element_iterate_src_pads) 
27225         (gst_element_iterate_sink_pads): New API functions.
27226         
27227         * gst/gstelement.c (iterator_fold_with_resync): New utility,
27228         should fold into gstiterator.c in some form.
27229         (gst_element_pads_activate): Simplified via use of fold and
27230         delegation of decisions to gstpad->activate.
27231
27232         * gst/gstbus.c (gst_bus_source_finalize): Set the bus to NULL,
27233         help in debugging.
27234
27235         * gst/gstbuffer.c (_gst_buffer_initialize): Ref the buffer type
27236         class once in init, like gstmessage. Didn't run into this issue
27237         but it seems correct. Don't initialize a trace, gstminiobject does
27238         that.
27239
27240         * check/pipelines/simple_launch_lines.c (test_stop_from_app): New
27241         test, runs fakesrc ! fakesink, stopping on ::handoff via a message
27242         to the bus.
27243         (assert_live_count): New util function, uses alloc traces to check
27244         cleanup.
27245
27246         * check/gst/gstghostpad.c (test_ghost_pads): More refcount checks.
27247         To be modified when unlink drops the internal pad.
27248
27249 2005-06-27  Wim Taymans  <wim@fluendo.com>
27250
27251         * gst/gstbin.c: (gst_bin_get_state), (gst_bin_iterate_state_order),
27252         (gst_bin_change_state):
27253         Cleanup the get_state() function a little, make sure it
27254         iterates the same set of elements.
27255         Added stub iterate_state_order().
27256
27257 2005-06-27  Thomas Vander Stichele  <thomas at apestaart dot org>
27258
27259         * docs/gst/gstreamer-docs.sgml:
27260         * docs/gst/gstreamer-sections.txt:
27261         * docs/gst/gstreamer.types:
27262         * docs/gst/tmpl/gstbasesink.sgml:
27263         * docs/gst/tmpl/gstbasesrc.sgml:
27264         * docs/gst/tmpl/gstbasetransform.sgml:
27265         * docs/gst/tmpl/gstelement.sgml:
27266         * docs/gst/tmpl/gstiterator.sgml:
27267         * gst/base/gstbasesrc.c:
27268         * gst/base/gstbasesrc.h:
27269         * gst/base/gstbasetransform.h:
27270         * gst/gstelement.c:
27271         * gst/gstiterator.h:
27272           adding basetransform and iterator docs
27273
27274 2005-06-27  Andy Wingo  <wingo@pobox.com>
27275
27276         * docs/design/part-activation.txt: Notes on how activation should
27277         work -- not quite implemented yet.
27278
27279 2005-06-25  Wim Taymans  <wim@fluendo.com>
27280
27281         * gst/gstghostpad.c: (gst_proxy_pad_do_chain):
27282         At least get the chain function correct, needs more
27283         fixing.
27284
27285 2005-06-25  Wim Taymans  <wim@fluendo.com>
27286
27287         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
27288         (gst_basesink_handle_object), (gst_basesink_event),
27289         (gst_basesink_do_sync), (gst_basesink_handle_event),
27290         (gst_basesink_change_state):
27291         * gst/gsttask.h:
27292         Right, two problems here: ghostpads don't take locks and
27293         glib _rec_mutex_lock_full() with depth==0 still locks.
27294         Catch illegal locking and g_warn them.
27295
27296 2005-06-25  Wim Taymans  <wim@fluendo.com>
27297
27298         * check/states/sinks.c: (START_TEST), (gst_object_suite):
27299         Have to check for completion now...
27300
27301 2005-06-25  Wim Taymans  <wim@fluendo.com>
27302
27303         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
27304         (gst_basesink_handle_object), (gst_basesink_event),
27305         (gst_basesink_do_sync), (gst_basesink_handle_event),
27306         (gst_basesink_change_state):
27307         * gst/gstpad.h:
27308         Unlock STREAM_LOCK whatever the recursion was.
27309
27310 2005-06-25  Wim Taymans  <wim@fluendo.com>
27311
27312         * gst/base/gstbasesink.c: (gst_basesink_set_property),
27313         (gst_basesink_preroll_queue_empty),
27314         (gst_basesink_preroll_queue_flush), (gst_basesink_handle_object),
27315         (gst_basesink_event), (gst_basesink_do_sync),
27316         (gst_basesink_handle_event), (gst_basesink_handle_buffer),
27317         (gst_basesink_chain), (gst_basesink_loop), (gst_basesink_activate),
27318         (gst_basesink_change_state):
27319         Reworked the base sink, handle event and buffer serialisation
27320         correctly and removed possible deadlock.
27321         Handle EOS correctly.
27322
27323 2005-06-25  Wim Taymans  <wim@fluendo.com>
27324
27325         * gst/gstpipeline.c: (is_eos), (pipeline_bus_handler),
27326         (gst_pipeline_change_state):
27327         * tools/gst-launch.c: (check_intr), (event_loop), (main):
27328         Allow elements to post EOS in the state change function.
27329         Fix up -launch, make it exit the poll loop when the
27330         pipeline actually changed state.
27331         Fix up warning parsing in -launch.
27332
27333 2005-06-25  Wim Taymans  <wim@fluendo.com>
27334
27335         * gst/elements/gsttee.c: (gst_tee_chain), (gst_tee_loop),
27336         (gst_tee_sink_activate):
27337         Core takes STREAM_LOCK for us now.
27338
27339 2005-06-25  Wim Taymans  <wim@fluendo.com>
27340
27341         * gst/gstelement.c: (gst_element_get_state_func),
27342         (gst_element_set_state):
27343         * gst/gstelement.h:
27344         * gst/gstmessage.c: (gst_message_parse_error),
27345         (gst_message_parse_warning):
27346         Keep track of current target state while performing a state
27347         change so that subclasses can do something interesting.
27348         Fix parsing of warning/error messages when GError is NULL.
27349
27350 2005-06-24  Thomas Vander Stichele  <thomas at apestaart dot org>
27351
27352         * docs/gst/Makefile.am:
27353         * docs/gst/gstreamer-docs.sgml:
27354         * docs/gst/gstreamer-sections.txt:
27355         * docs/gst/gstreamer.types:
27356         * docs/gst/tmpl/gstbasesink.sgml:
27357         * docs/gst/tmpl/gstbasesrc.sgml:
27358         * docs/gst/tmpl/gstbin.sgml:
27359         * docs/gst/tmpl/gstcompat.sgml:
27360         * docs/gst/tmpl/gstfakesink.sgml:
27361         * docs/gst/tmpl/gstfakesrc.sgml:
27362         * docs/gst/tmpl/gstfilesink.sgml:
27363         * docs/gst/tmpl/gstfilesrc.sgml:
27364         * docs/gst/tmpl/gstindex.sgml:
27365         * docs/manual/appendix-quotes.xml:
27366         * gst/base/gstbasesrc.h:
27367         * gst/elements/gstfakesrc.h:
27368         * gst/gstmessage.h:
27369           start pulling in base classes and elements in our docs
27370
27371 2005-06-24  Stefan Kost  <ensonic@users.sf.net>
27372
27373         * docs/gst/Makefile.am:
27374         * docs/libs/Makefile.am:
27375           fixed make distcheck with gtk-doc 1.3
27376
27377 2005-06-23  Wim Taymans  <wim@fluendo.com>
27378
27379         * gst/gstelement.c: (gst_element_get_state_func),
27380         (gst_element_set_state), (gst_element_change_state):
27381         When the state did not change, also report NO_PREROLL
27382         when it matters.
27383
27384 2005-06-23  Wim Taymans  <wim@fluendo.com>
27385
27386         * gst/gstpad.c: (gst_pad_event_default):
27387         * gst/gstqueue.c: (gst_queue_loop):
27388         No unsafe task pausing please.
27389
27390 2005-06-23  Wim Taymans  <wim@fluendo.com>
27391
27392         * gst/schedulers/threadscheduler.c:
27393         (gst_thread_scheduler_task_start),
27394         (gst_thread_scheduler_task_pause), (gst_thread_scheduler_func):
27395         Ref the task before pushing it on the threadpool. This
27396         makes sure that we have a ref when the threadfunction is
27397         actually called.
27398
27399 2005-06-23  Andy Wingo  <wingo@pobox.com>
27400
27401         * gst/base/gstbasesrc.c (gst_basesrc_get_range): Check if the
27402         offset is greater than the file's size.
27403
27404         * gst/gstobject.h (GST_CLASS_LOCK, GST_CLASS_TRYLOCK) 
27405         (GST_CLASS_UNLOCK, GST_CLASS_GET_LOCK, GstObjectClass)
27406         * gst/gstobject.c (gst_object_class_init): Make the class lock
27407         recursive. Wim won't let me drop deep_notify. Decodebin works
27408         again, whoopdy doo.
27409
27410         * gst/gstghostpad.c (on_int_notify): Catches notify::caps on the
27411         internal pad, and hacks accordingly. Doesn't do it on the target
27412         pad because we change its caps. Probably catches all cases of
27413         interest tho.
27414         (gst_ghost_pad_set_property): Connect to notify::caps as
27415         appropritate.
27416
27417         * tests/network-clock.scm (plot-simulation): Pipe data to the
27418         elite python skript.
27419
27420         * tests/network-clock-utils.scm (define-parameter): New macro,
27421         defines a parameter that can be set via the command line.
27422         (set-parameter!, parse-parameter-arguments): Command line args
27423         parser.
27424
27425         * tests/plot-data: Simple matplotlib-based plotter, takes input on
27426         stdin.
27427
27428 2005-06-23  Jan Schmidt  <thaytan@mad.scientist.com>
27429
27430         * gst/elements/gsttypefindelement.c:
27431         (gst_type_find_element_handle_event):
27432           Don't restart typefinding on a discont.
27433         * gst/gstelement.c: (gst_element_set_state):
27434           Debug spelling fix.
27435         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_send_event):
27436           Allow changing mode of an active pad.
27437           Debug output fixes.
27438         * gst/registries/gstlibxmlregistry.c: (load_feature):
27439           Don't cast a static pad template to a normal pad template.
27440
27441 2005-06-23  Thomas Vander Stichele  <thomas at apestaart dot org>
27442
27443         * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
27444         * gst/gstvalue.c: (gst_value_deserialize_int_helper):
27445           remove gst_strtoll completely, since it didn't actually do
27446           anything more than what g_ascii_strtoull already does.
27447           check for range errors when deserializing
27448           do a cast for the unsigned cases; but further fixing needs
27449           a decision on what the interpretation of "(int)" and
27450           deserialization should be for values that fall outside the
27451           type's boundaries (ie, refuse, or interpret as casting)
27452
27453 2005-06-23  Wim Taymans  <wim@fluendo.com>
27454
27455         * check/Makefile.am:
27456         * check/states/sinks.c: (START_TEST), (gst_object_suite), (main):
27457         * docs/design/part-live-source.txt:
27458         * docs/design/part-states.txt:
27459         * gst/base/gstbasesrc.c: (gst_basesrc_init),
27460         (gst_basesrc_set_live), (gst_basesrc_is_live),
27461         (gst_basesrc_get_range), (gst_basesrc_activate),
27462         (gst_basesrc_change_state):
27463         * gst/base/gstbasesrc.h:
27464         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
27465         (gst_fakesrc_set_property), (gst_fakesrc_get_property):
27466         * gst/gstbin.c: (gst_bin_get_state), (gst_bin_change_state):
27467         * gst/gstelement.c: (gst_element_get_state_func),
27468         (gst_element_set_state):
27469         * gst/gstelement.h:
27470         * gst/gsttypes.h:
27471         * tools/gst-launch.c: (event_loop), (main):
27472         Added support for live sources and other elements that
27473         cannot do preroll.
27474         Updated design docs, added live-source design doc.
27475         Implemented live source functionality in basesrc
27476         Fix error condition in _bin_get_state()
27477         Implement live source handling in -launch.
27478         Added check for live sources.
27479         Fixed case in GstBin where elements were changed state
27480         multiple times.
27481
27482
27483 2005-06-23  Andy Wingo  <wingo@pobox.com>
27484
27485         * check/gst/gstpad.c (test_get_allowed_caps, test_refcount): Fix
27486         borken refcounting.
27487
27488         * gst/gstpad.c (gst_pad_set_caps): Remove needless refs,
27489         gst_caps_replace takes care of this for us.
27490
27491         * gst/gstghostpad.c (gst_proxy_pad_do_setcaps): Call the full
27492         gst_pad_set_caps on the target, not just its setcaps() function.
27493
27494         * tests/network-clock.scm: 
27495         * tests/network-clock-utils.scm: A network clock simulator.
27496         Something of an algorithmic testbed before doing something in C.
27497
27498 2005-06-22  Thomas Vander Stichele  <thomas at apestaart dot org>
27499
27500         * check/Makefile.am:
27501         * check/gst/capslist.h:
27502           copy over from 0.8, and add two with bitmasks specified with
27503           (int) 0xFF...
27504         * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
27505           add test to parse everything from capslist.h
27506         * check/gst/gststructure.c: (START_TEST), (gst_value_suite),
27507         (main):
27508           add test for structure deserialization
27509         * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
27510           add tests for deserialization of strings to int types
27511         * gst/gststructure.c: (gst_structure_nth_field_name):
27512         * gst/gststructure.h:
27513           add a way to get the name of a field referenced by index
27514         * gst/gstvalue.c: (gst_value_deserialize_int_helper):
27515           instead of checking if the resulting long long lies between
27516           min and max, we check if the long long would fit into
27517           a number of bytes for the final type.
27518           This fixes cases where a string represents 2^32 - 1, which
27519           when cast to int would be the (valid) -1, but is bigger than
27520           G_MAXINT
27521
27522 2005-06-22  Thomas Vander Stichele  <thomas at apestaart dot org>
27523
27524         * gst/parse/grammar.y:
27525           add a log line for type deserialization
27526
27527 2005-06-22  Thomas Vander Stichele  <thomas at apestaart dot org>
27528
27529         * check/gst/gstvalue.c: (START_TEST):
27530         * gst/gstvalue.c: (gst_value_deserialize):
27531           return long long, not int, so gint64 deserialization actually
27532           works.  Is there any flag that makes the compiler check this ?
27533           Fixes #308559
27534
27535 2005-06-22  Wim Taymans  <wim@fluendo.com>
27536
27537         * gst/gstbuffer.h:
27538         Added convenience macros for setting buffers in GValue.
27539
27540 2005-06-21  Thomas Vander Stichele  <thomas at apestaart dot org>
27541
27542         * check/gst/.cvsignore:
27543         * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
27544           add a test deserializing int64, and comment part out because
27545           it fails, yay !
27546
27547 2005-06-21  Thomas Vander Stichele  <thomas at apestaart dot org>
27548
27549         * check/Makefile.am:
27550         * check/gst/gstvalue.c: (START_TEST), (gst_value_suite), (main):
27551         * testsuite/Makefile.am:
27552         * testsuite/caps/Makefile.am:
27553         * testsuite/caps/value_serialize.c:
27554         * testsuite/test_gst_init.c:
27555           move a value_serialize test over
27556
27557 2005-06-20  Wim Taymans  <wim@fluendo.com>
27558
27559         * gst/gstpad.c:
27560         Small doc updates.
27561         
27562         * gst/gstvalue.c: (gst_value_compare_buffer),
27563         (gst_value_serialize_buffer), (gst_value_deserialize_buffer),
27564         (gst_value_compare_flags), (gst_value_serialize_flags),
27565         (gst_value_deserialize_flags), (_gst_value_initialize):
27566         Fix serialisation of buffers, they are not boxed types anymore
27567
27568 2005-06-20  Wim Taymans  <wim@fluendo.com>
27569
27570         * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
27571         Testcase to show error in buffer-on-caps serialisation.
27572
27573 2005-06-20  Andy Wingo  <wingo@pobox.com>
27574
27575         * docs/random/wingo/porting-plugins-to-0.9: A pitiful document I
27576         will be adding to later.
27577
27578         * gst/gstsystemclock.c (gst_system_clock_init): Unlock the clock
27579         if its socks fill with rocks.
27580         (gst_system_clock_obtain): Set the name on object construction.
27581         Avoid double-checked locking.
27582
27583 2005-06-20  Tim-Philipp Müller  <tim at centricular dot net>
27584
27585         * gst/gsturi.c: (gst_element_make_from_uri):
27586           Fix potential endless loop.
27587
27588 2005-06-19  Thomas Vander Stichele  <thomas at apestaart dot org>
27589
27590         * check/Makefile.am:
27591           add gsttag
27592         * check/gst/gsttag.c: (check_tags), (START_TEST), (gst_tag_suite),
27593         (main):
27594           move over from testsuite dir and clean up
27595         * configure.ac:
27596         * gst/gsttag.c:
27597         * testsuite/Makefile.am:
27598         * testsuite/tags/.cvsignore:
27599         * testsuite/tags/Makefile.am:
27600         * testsuite/tags/merge.c:
27601           remove testsuite/tags
27602
27603 2005-06-19  Thomas Vander Stichele  <thomas at apestaart dot org>
27604
27605         * docs/gst/gstreamer-sections.txt:
27606         * docs/gst/tmpl/gstenumtypes.sgml:
27607         * win32/gstenumtypes.c:
27608           clean up documentation build a little
27609
27610 2005-06-19  Thomas Vander Stichele  <thomas at apestaart dot org>
27611
27612         * check/gstcheck.h:
27613           add macros for checking refcounts on objects and caps
27614         * check/gst/gstpad.c: (START_TEST), (gst_pad_suite):
27615           add some more unit tests
27616         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
27617         (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_allowed_caps):
27618           fix leaked refcounts (I hope :)) so unittest works
27619         * gst/gstpad.h:
27620           whitespace removal
27621
27622 2005-06-19  Thomas Vander Stichele  <thomas at apestaart dot org>
27623
27624         * configure.ac: back to HEAD
27625
27626 === release 0.9.1 ===
27627
27628 2005-06-17  Thomas Vander Stichele  <thomas at apestaart dot org>
27629
27630         * NEWS:
27631         * RELEASE:
27632           updated
27633
27634 2005-06-17  Andy Wingo  <wingo@pobox.com>
27635
27636         * gst/base/gstbasesink.c (gst_basesink_chain): Remove bogus
27637         assert; it's always possible that the pad gets deactivated in
27638         between the checks in gstpad.c and the implementation. Rely on
27639         finish_preroll() to return a FLUSHING or similar instead of on the
27640         assert.
27641         
27642         * gst/base/gstbasesink.c (gst_basesink_event): Only wait for the
27643         clock and post an EOS message if we come out of finish_preroll in
27644         the playing state.
27645
27646 2005-06-16  David Schleef  <ds@schleef.org>
27647
27648         * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
27649         (gst_capsfilter_set_property): Allow NULL as possible value
27650         for filter_caps property, indicating GST_CAPS_ANY.
27651
27652 2005-06-09  Thomas Vander Stichele  <thomas at apestaart dot org>
27653
27654         * gst/elements/gstfakesrc.c: (gst_fakesrc_create):
27655           fix debug output
27656         * gst/schedulers/Makefile.am:
27657           use libgst prefix
27658         * gstreamer.spec.in:
27659           fix spec for it
27660
27661 2005-06-09  Thomas Vander Stichele  <thomas at apestaart dot org>
27662
27663         * gstreamer.spec.in:
27664           clean up
27665
27666 2005-06-08  Andy Wingo  <wingo@pobox.com>
27667
27668         * gst/gstutils.c: RPAD fixes all around.
27669         (gst_element_link_pads): Refcounting fixes.
27670
27671         * tools/gst-inspect.c:
27672         * tools/gst-xmlinspect.c:
27673         * parse/grammar.y:
27674         * gst/base/gsttypefindhelper.c:
27675         * gst/base/gstbasesink.c:
27676         * gst/gstqueue.c: RPAD fixes.
27677
27678         * gst/gstghostpad.h:
27679         * gst/gstghostpad.c: New ghost pad implementation as full proxy
27680         pads. The tricky thing is they provide both source and sink
27681         interfaces, since they proxy the internal pad for the external
27682         pad, and vice versa. Implement with lower-level ProxyPad objects,
27683         with the interior proxy pad as a child of the exterior ghost pad.
27684         Should write a doc on this.
27685         
27686         * gst/gstpad.h: s/RPAD/PAD/, s/RealPad/Pad/.
27687         (gst_pad_set_name, gst_pad_set_parent): Macros removed, use
27688         gst_object API.
27689         
27690         * gst/gstpad.c: Big changes. No more stub base GstPad, now all
27691         pads are real pads. No ghost pads in this file. Not documenting
27692         the myriad s/RPAD/PAD/ and REALIZE fixes.
27693         (gst_pad_class_init): Add properties for "direction" and
27694         "template". Both are construct-only, so they can't change during
27695         the life of the pad. Fixes properly deriving from GstPad.
27696         (gst_pad_custom_new, gst_pad_custom_new_from_template): Gone. For
27697         derived objects, just set properties when creating the objects via
27698         g_object_new.
27699         (gst_pad_get_parent): Implement as a function, return NULL if the
27700         parent is not an element.
27701         (gst_pad_get_real_parent, gst_pad_add_ghost_pad)
27702         (gst_pad_remove_ghost_pad, gst_pad_realize): Removed.
27703         
27704         * gst/gstobject.c (gst_object_class_init): Make name a construct
27705         property. Don't set it in the object init.
27706
27707         * gst/gstelement.c (gst_element_add_pad): Don't allow adding pads
27708         with UNKNOWN direction.
27709         (gst_element_add_ghost_pad): Remove non-orthogonal API. Replace
27710         with gst_element_add_pad (e, gst_ghost_pad_new (name, pad)).
27711         (gst_element_remove_pad): Remove ghost-pad special cases.
27712         (gst_element_pads_activate): Remove rpad cruft.
27713
27714         * gst/gstbin.c (gst_bin_change_state): Use gst_pad_get_parent to
27715         catch the pad's-parent-not-an-element case.
27716
27717         * gst/gst.h: Include gstghostpad.h.
27718
27719         * gst/gst.c (init_post): No more real, ghost pads.
27720
27721         * gst/Makefile.am: Add gstghostpad.[ch].
27722
27723         * check/Makefile.am:
27724         * check/gst/gstbin.c:
27725         * check/gst/gstghostpad.c (test_ghost_pads): Check that linking
27726         into a bin creates ghost pads, and that the refcounts are right.
27727         Partly moved from gstbin.c.
27728
27729 2005-06-08  Thomas Vander Stichele  <thomas at apestaart dot org>
27730
27731         * check/gst-libs/.cvsignore:
27732         * check/gst/.cvsignore:
27733         * check/pipelines/.cvsignore:
27734           ignore more
27735         * check/pipelines/cleanup.c: (setup_pipeline), (run_pipeline),
27736         (START_TEST), (cleanup_suite), (main):
27737           add some tests related to cleanup after running pipelines
27738
27739 2005-06-08  Thomas Vander Stichele  <thomas at apestaart dot org>
27740
27741         * check/gst/gstbuffer.c: (START_TEST), (gst_test_suite), (main):
27742           add a testsuite for GstBuffer
27743
27744 2005-06-08  Thomas Vander Stichele  <thomas at apestaart dot org>
27745
27746         * gst/gstminiobject.h:
27747           add defines for accessing the refcount
27748
27749 2005-06-03  Stefan Kost  <ensonic@users.sf.net>
27750
27751         * Makefile.am: added support for html unit test coverage reports
27752
27753 2005-06-03  Jan Schmidt  <thaytan@mad.scientist.com>
27754
27755         * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
27756           Free existing caps if the capsfilter changes. Add a FIXME about
27757           setting those caps on the pads.
27758
27759         * gst/gstutils.c: (gst_element_get_compatible_pad), (ghost_up):
27760           Before adding a ghost pad to a parent bin, check that there isn't
27761           already one for the element on the bin. Prevents infinite recursion
27762           when using decodebin in parse pipelines. Andy says he'll rewrite the
27763           way this works anyway, so ignore the hack.
27764
27765 2005-06-02  Andy Wingo  <wingo@pobox.com>
27766
27767         * gst/elements/gsttypefindelement.c (do_pull_typefind): Query the
27768         file size, pass it on to the type find helper.
27769
27770         * gst/base/gstbasesrc.c (gst_basesrc_do_seek): Set the
27771         segment_start and segment_end properly according to the seek
27772         method. Segment_end is still a bit flaky because offset can be
27773         negative for CUR and END cases, but it takes -1 as an "unset"
27774         value.
27775
27776 2005-06-02  Wim Taymans  <wim@fluendo.com>
27777
27778         * gst/base/gstbasesink.c: (gst_basesink_pad_buffer_alloc),
27779         (gst_base_sink_buffer_alloc), (gst_basesink_preroll_queue_push),
27780         (gst_basesink_activate):
27781         * gst/base/gstbasesink.h:
27782         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
27783         (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
27784         (gst_pad_query), (gst_pad_start_task):
27785         * gst/gstpad.h:
27786         * gst/gstqueue.c: (gst_queue_bufferalloc),
27787         (gst_queue_handle_sink_event), (gst_queue_chain):
27788         Bufferalloc: return GstFlowReturn to more accuratly report
27789         why allocation failed.
27790
27791 2005-06-02  Wim Taymans  <wim@fluendo.com>
27792
27793         * gst/gstpipeline.c: (gst_pipeline_send_event):
27794         Take snapshot of state without blocking.
27795
27796 2005-06-02  Wim Taymans  <wim@fluendo.com>
27797
27798         * docs/design/part-TODO.txt:
27799         * docs/design/part-caps.txt:
27800         * docs/design/part-clocks.txt:
27801         * docs/design/part-negotiation.txt:
27802         * docs/design/part-preroll.txt:
27803         Small doc updates 
27804
27805 2005-05-30  Wim Taymans  <wim@fluendo.com>
27806
27807         * gst/elements/gstidentity.c: (gst_identity_event),
27808         (gst_identity_transform), (gst_identity_get_property):
27809         Protect last_message property as it is accessed from
27810         multiple threads.
27811
27812 2005-05-30  Wim Taymans  <wim@fluendo.com>
27813
27814         * gst/gstelement.c: (gst_element_init),
27815         (gst_element_pads_activate), (gst_element_change_state):
27816         Slicker pad activation code.
27817
27818 2005-05-30  Wim Taymans  <wim@fluendo.com>
27819
27820         * gst/Makefile.am:
27821         * gst/gstelement.h:
27822         * gst/gstelementfactory.h:
27823         * gst/gsttypes.h:
27824         Move elementfactory methods to separate .h file.
27825
27826 2005-05-30  Wim Taymans  <wim@fluendo.com>
27827
27828         * docs/design/part-overview.txt:
27829         * gst/gstsystemclock.h:
27830         Small typo fixes, doc updates.
27831
27832 2005-05-30  Wim Taymans  <wim@fluendo.com>
27833
27834         * gst/gst.c: (gst_init_get_popt_table), (init_post),
27835         (init_popt_callback):
27836         Remove cpu-opt flag.
27837
27838 2005-05-30  Wim Taymans  <wim@fluendo.com>
27839
27840         * gst/gstbuffer.c: (gst_subbuffer_finalize),
27841         (gst_buffer_create_sub), (gst_buffer_is_span_fast):
27842         * gst/gstbuffer.h:
27843         Avoid typechecking in places where not needed.
27844         Added accessor for malloc_data.
27845
27846 2005-05-30  Wim Taymans  <wim@fluendo.com>
27847
27848         * gst/gstpad.c: (gst_real_pad_init), (gst_pad_set_active),
27849         (gst_pad_link_prepare), (gst_pad_link), (gst_pad_accept_caps),
27850         (gst_pad_configure_sink), (gst_pad_configure_src),
27851         (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_send_event),
27852         (gst_pad_start_task):
27853         Propagate errors from _set_caps() in configure_src/sink
27854         functions instead of returning TRUE.
27855         FLUSH events can travel up and downstream
27856
27857
27858 2005-05-30  Wim Taymans  <wim@fluendo.com>
27859
27860         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
27861         (gst_basesink_activate):
27862         Handle EOS in preroll.
27863
27864 2005-05-30  Wim Taymans  <wim@fluendo.com>
27865
27866         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
27867         (gst_queue_loop), (gst_queue_handle_src_event):
27868         Remove old pieces of code
27869         Flushing the queue in an upstream event is a very bad idea.
27870
27871 2005-05-26  Andy Wingo  <wingo@pobox.com>
27872
27873         * gst/gstminiobject.c (gst_value_mini_object_collect): Use
27874         gst_value_set_mini_object so as to add a ref on the object (which
27875         will be removed when the value is unset).
27876
27877         * gst/elements/gstfakesink.c (gst_fakesink_class_init): Fix signal
27878         arg type in ::handoff.
27879
27880         * gst/gstelement.c (gst_element_change_state): Also deactivate
27881         pads in READY->NULL, just in case the element didn't make it to
27882         PAUSED. Wingo tested, Wim approved.
27883
27884 2005-05-26  Wim Taymans  <wim@fluendo.com>
27885
27886         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
27887         (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
27888         (gst_pad_query), (gst_pad_send_event), (gst_pad_start_task):
27889         A flushing pad cannot be used to alloc_buffer from.
27890
27891 2005-05-26  Wim Taymans  <wim@fluendo.com>
27892
27893         * gst/gstbus.c: (gst_bus_init), (gst_bus_dispose), (gst_bus_post),
27894         (gst_bus_pop), (gst_bus_source_prepare), (gst_bus_source_check),
27895         (gst_bus_source_dispatch), (gst_bus_source_finalize),
27896         (gst_bus_create_watch), (gst_bus_add_watch_full):
27897         * gst/gstbus.h:
27898         Implement a real GSource and use g_main_context_wakeup() to
27899         signal new messages instead of the socketpair.
27900
27901 2005-05-25  Wim Taymans  <wim@fluendo.com>
27902
27903         * gst/gstbin.c: (bin_element_is_sink), (has_ancestor),
27904         (bin_element_is_semi_sink), (append_child), (gst_bin_change_state):
27905         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
27906         (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
27907         (gst_pad_send_event), (gst_pad_start_task):
27908         * gst/gstqueue.c: (gst_queue_init), (gst_queue_locked_flush),
27909         (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
27910         (gst_queue_sink_activate), (gst_queue_src_activate),
27911         (gst_queue_change_state):
27912         * gst/gstqueue.h:
27913         Fix state changes for non sinks. We now change sinks, then elements
27914         with unconnected srcpads, then the rest.
27915         More efficient queue unlocking in flush and state changes.
27916         Set the pad activate mode even if it does not have an activate
27917         function.
27918
27919 2005-05-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
27920
27921         * gst/base/gstbasesrc.c: (gst_basesrc_activate):
27922           Don't go in pull mode for non-seekable sources.
27923         * gst/elements/gsttypefindelement.h:
27924         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
27925         (gst_type_find_element_dispose), (gst_type_find_handle_src_query),
27926         (free_entry), (stop_typefinding),
27927         (gst_type_find_element_handle_event), (find_peek),
27928         (gst_type_find_element_chain), (do_pull_typefind),
27929         (gst_type_find_element_change_state):
27930           Allow typefinding (w/o seeking) in push-mode, simplified version
27931           of what was in 0.8.
27932         * gst/gstutils.c: (gst_buffer_join):
27933         * gst/gstutils.h:
27934           gst_buffer_join() from 0.8.
27935
27936 2005-05-25  Wim Taymans  <wim@fluendo.com>
27937
27938         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
27939         (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
27940         (gst_pad_send_event), (gst_pad_start_task):
27941         Disable attempt at mode switching until it is figured out.
27942
27943 2005-05-25  Wim Taymans  <wim@fluendo.com>
27944
27945         * gst/base/gstadapter.c: (gst_adapter_peek), (gst_adapter_flush):
27946         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
27947         (gst_basesink_finish_preroll), (gst_basesink_chain),
27948         (gst_basesink_loop), (gst_basesink_activate),
27949         (gst_basesink_change_state):
27950         * gst/base/gstbasesrc.c: (gst_basesrc_do_seek),
27951         (gst_basesrc_get_range), (gst_basesrc_loop),
27952         (gst_basesrc_activate):
27953         * gst/elements/gsttee.c: (gst_tee_sink_activate):
27954         * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
27955         (gst_real_pad_init), (gst_real_pad_set_property),
27956         (gst_real_pad_get_property), (gst_pad_set_active),
27957         (gst_pad_is_active), (gst_pad_get_query_types), (gst_pad_unlink),
27958         (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_real_parent),
27959         (gst_real_pad_get_caps_unlocked), (gst_pad_peer_get_caps),
27960         (gst_pad_accept_caps), (gst_pad_get_peer), (gst_pad_realize),
27961         (gst_pad_event_default_dispatch), (gst_pad_event_default),
27962         (gst_pad_dispatcher), (gst_pad_query), (gst_real_pad_dispose),
27963         (gst_pad_save_thyself), (handle_pad_block), (gst_pad_chain),
27964         (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
27965         (gst_pad_send_event), (gst_pad_start_task), (gst_pad_pause_task),
27966         (gst_pad_stop_task):
27967         * gst/gstpad.h:
27968         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
27969         (gst_queue_loop), (gst_queue_src_activate):
27970         * gst/gsttask.c: (gst_task_init), (gst_task_set_lock),
27971         (gst_task_get_state):
27972         * gst/gsttask.h:
27973         * gst/schedulers/threadscheduler.c:
27974         (gst_thread_scheduler_task_start), (gst_thread_scheduler_func):
27975         Implement gst_pad_pause/start/stop_task(), take STREAM lock
27976         in task function.
27977         Remove ACTIVE pad flag, use FLUSHING everywhere
27978         Added _pad_chain(), _pad_get_range() to call chain/getrange 
27979         functions.
27980         Add locks around IS_FLUSHING when reading.
27981         Take STREAM lock in chain(), get_range() functions so plugins
27982         don't need to take it anymore.
27983         
27984
27985
27986 2005-05-25  Wim Taymans  <wim@fluendo.com>
27987
27988         * tools/gst-launch.c: (event_loop):
27989         Unref message after using its contents instead of
27990         before.
27991
27992 2005-05-24  Wim Taymans  <wim@fluendo.com>
27993
27994         * docs/design/draft-ghostpads.txt:
27995         * docs/design/draft-push-pull.txt:
27996         * docs/design/draft-query.txt:
27997         * docs/design/part-overview.txt:
27998         Docs updates, added general overview doc.
27999
28000 2005-05-21  David Schleef  <ds@schleef.org>
28001
28002         * docs/gst/tmpl/old/GstBin.sgml:
28003         * docs/gst/tmpl/old/GstBuffer.sgml:
28004         * docs/gst/tmpl/old/GstCaps.sgml:
28005         * docs/gst/tmpl/old/GstClock.sgml:
28006         * docs/gst/tmpl/old/GstCompat.sgml:
28007         * docs/gst/tmpl/old/GstData.sgml:
28008         * docs/gst/tmpl/old/GstElement.sgml:
28009         * docs/gst/tmpl/old/GstEvent.sgml:
28010         * docs/gst/tmpl/old/GstIndex.sgml:
28011         * docs/gst/tmpl/old/GstStructure.sgml:
28012         * docs/gst/tmpl/old/GstTag.sgml:
28013         * docs/gst/tmpl/old/cothreads.sgml:
28014         * docs/gst/tmpl/old/cothreads_compat.sgml:
28015         * docs/gst/tmpl/old/gettext.sgml:
28016         * docs/gst/tmpl/old/gobject2gtk.sgml:
28017         * docs/gst/tmpl/old/grammar.tab.sgml:
28018         * docs/gst/tmpl/old/gst-i18n-app.sgml:
28019         * docs/gst/tmpl/old/gst-i18n-lib.sgml:
28020         * docs/gst/tmpl/old/gst_private.sgml:
28021         * docs/gst/tmpl/old/gstaggregator.sgml:
28022         * docs/gst/tmpl/old/gstarch.sgml:
28023         * docs/gst/tmpl/old/gstatomic_impl.sgml:
28024         * docs/gst/tmpl/old/gstbufferstore.sgml:
28025         * docs/gst/tmpl/old/gstdata_private.sgml:
28026         * docs/gst/tmpl/old/gstdisksink.sgml:
28027         * docs/gst/tmpl/old/gstdisksrc.sgml:
28028         * docs/gst/tmpl/old/gstelementfactory.sgml:
28029         * docs/gst/tmpl/old/gstextratypes.sgml:
28030         * docs/gst/tmpl/old/gstfakesink.sgml:
28031         * docs/gst/tmpl/old/gstfakesrc.sgml:
28032         * docs/gst/tmpl/old/gstfdsink.sgml:
28033         * docs/gst/tmpl/old/gstfdsrc.sgml:
28034         * docs/gst/tmpl/old/gstfilesink.sgml:
28035         * docs/gst/tmpl/old/gstfilesrc.sgml:
28036         * docs/gst/tmpl/old/gsthttpsrc.sgml:
28037         * docs/gst/tmpl/old/gstidentity.sgml:
28038         * docs/gst/tmpl/old/gstindexfactory.sgml:
28039         * docs/gst/tmpl/old/gstmarshal.sgml:
28040         * docs/gst/tmpl/old/gstmd5sink.sgml:
28041         * docs/gst/tmpl/old/gstmultidisksrc.sgml:
28042         * docs/gst/tmpl/old/gstmultifilesrc.sgml:
28043         * docs/gst/tmpl/old/gstpadtemplate.sgml:
28044         * docs/gst/tmpl/old/gstpipefilter.sgml:
28045         * docs/gst/tmpl/old/gstschedulerfactory.sgml:
28046         * docs/gst/tmpl/old/gstsearchfuncs.sgml:
28047         * docs/gst/tmpl/old/gstshaper.sgml:
28048         * docs/gst/tmpl/old/gstspider.sgml:
28049         * docs/gst/tmpl/old/gstspideridentity.sgml:
28050         * docs/gst/tmpl/old/gststatistics.sgml:
28051         * docs/gst/tmpl/old/gsttee.sgml:
28052         * docs/gst/tmpl/old/gsttimecache.sgml:
28053         * docs/gst/tmpl/old/gsttypefindfactory.sgml:
28054         * docs/gst/tmpl/old/gstxmlregistry.sgml:
28055         * docs/gst/tmpl/old/gthread-cothreads.sgml:
28056         * docs/gst/tmpl/old/types.sgml:
28057           I didn't intend to add these or check them in.
28058
28059 2005-05-19  David Schleef  <ds@schleef.org>
28060
28061         * configure.ac: Use -no-common everywhere.  In a sane world, it
28062           would be the default in libtool, because without it, you can't
28063           build DLLs on Windows.
28064         * docs/gst/gstreamer-docs.sgml: Remove GstCpu, GstData, GstThread
28065         * docs/gst/gstreamer-sections.txt:
28066         * docs/gst/tmpl/gstcpu.sgml:
28067         * docs/gst/tmpl/gstdata.sgml:
28068         * docs/gst/tmpl/gstthread.sgml:
28069
28070 2005-05-19  David Schleef  <ds@schleef.org>
28071
28072         * gst/gstminiobject.c: (gst_value_set_mini_object),
28073         (gst_value_take_mini_object), (gst_value_get_mini_object):
28074         * gst/gstminiobject.h: Add GValue set/get functions.
28075
28076 2005-05-19  Wim Taymans  <wim@fluendo.com>
28077
28078         * gst/gstbuffer.c: (gst_buffer_init), (gst_subbuffer_get_type),
28079         (gst_subbuffer_class_init), (gst_subbuffer_finalize),
28080         (gst_subbuffer_init), (gst_buffer_is_span_fast):
28081         * gst/gstbuffer.h:
28082         * gst/gstbus.c: (gst_bus_post):
28083         * gst/gstelement.c: (gst_element_get_random_pad):
28084         * gst/gstmessage.c: (gst_message_init), (gst_message_finalize):
28085         Make subbufer unref the parent in finalize.
28086         some more debugging info.
28087
28088
28089 2005-05-19  Wim Taymans  <wim@fluendo.com>
28090
28091         * gst/base/gstbasesink.c: (gst_basesink_class_init),
28092         (gst_basesink_init), (gst_basesink_finalize),
28093         (gst_basesink_activate), (gst_basesink_change_state):
28094         Don't free preroll queue too early.
28095
28096 2005-05-19  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
28097
28098         * gst/Makefile.am:
28099         * gst/ROADMAP:
28100           Hi, I'm outdated. Please shoot me.
28101
28102 2005-05-19  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
28103
28104         * gst/gstpipeline.c: (gst_pipeline_send_event):
28105           Do not access variables after they have been deleted.
28106
28107 2005-05-19  Wim Taymans  <wim@fluendo.com>
28108
28109         * tools/gst-inspect.c: (print_plugin_features):
28110         A plugin feature does unfortunatly not use the
28111         object name yet...
28112
28113 2005-05-18  Wim Taymans  <wim@fluendo.com>
28114
28115         * gst/gstbuffer.c: (gst_buffer_is_span_fast), (gst_buffer_span):
28116         Port _span() functions to new subbuffers.
28117
28118 2005-05-18  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
28119
28120         * gst/gstbin.c: (gst_bin_add_func):
28121           Fix clock settery in bins when adding kids after the clock has
28122           been selected.
28123
28124 2005-05-18  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
28125
28126         * gst/elements/gstidentity.c: (gst_identity_class_init):
28127           Workaround until signals support GstMiniObject.
28128
28129 2005-05-18  Jan Schmidt  <thaytan@mad.scientist.com>
28130
28131         * gst/gstbuffer.c:
28132         Oops, fix a typo GST_TYPE_BUFFER -> GST_TYPE_SUBBUFFER.
28133
28134 2005-05-18  Wim Taymans  <wim@fluendo.com>
28135
28136         * gst/base/Makefile.am:
28137         * gst/base/gstadapter.c: (gst_adapter_base_init),
28138         (gst_adapter_class_init), (gst_adapter_init),
28139         (gst_adapter_dispose), (gst_adapter_finalize), (gst_adapter_new),
28140         (gst_adapter_clear), (gst_adapter_push), (gst_adapter_peek),
28141         (gst_adapter_flush), (gst_adapter_available),
28142         (gst_adapter_available_fast):
28143         * gst/base/gstadapter.h:
28144         Ported and added adapter to the base classes.
28145
28146 2005-05-17  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
28147
28148         * gst/gst.c:
28149         * gst/gstmessage.c:
28150           Make sure the class is reffed/unreffed once before threads can be
28151           used.  Fixes #304551.
28152
28153 2005-05-17  Wim Taymans  <wim@fluendo.com>
28154
28155         * gst/base/gstbasesink.c: (gst_basesink_finish_preroll),
28156         (gst_basesink_chain_unlocked), (gst_basesink_activate):
28157         * gst/gstminiobject.c: (gst_mini_object_get_type),
28158         (gst_mini_object_free):
28159         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query),
28160         (gst_pad_push), (gst_pad_push_event):
28161         * gst/gstqueue.c: (gst_queue_change_state):
28162         Don't queue buffers in basesink when we are flushing.
28163         Unref buffer when flushing in basesink.
28164         Flush queue when going to READY
28165         Unref buffer when _push() returns an error.
28166         Don't free MiniObject instance when refcount is incremented
28167         in _finalize() so that we can recover objects.
28168
28169 2005-05-17  Thomas Vander Stichele  <thomas at apestaart dot org>
28170
28171         * docs/manual/advanced-schedulers.xml:
28172         * docs/manual/appendix-checklist.xml:
28173         * docs/pwg/advanced-clock.xml:
28174         * docs/pwg/advanced-interfaces.xml:
28175         * docs/pwg/advanced-request.xml:
28176         * docs/pwg/advanced-types.xml:
28177         * docs/pwg/intro-preface.xml:
28178         * examples/plugins/example.c: (gst_example_get_type),
28179         (gst_example_class_init), (gst_example_chain),
28180         (gst_example_set_property), (gst_example_get_property),
28181         (gst_example_change_state), (plugin_init):
28182         * examples/plugins/example.h:
28183           small doc fixes
28184
28185 2005-05-17  Wim Taymans  <wim@fluendo.com>
28186
28187         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps),
28188         (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_push):
28189         * gst/gstqueue.c: (gst_queue_change_state):
28190         Clear queue when going to READY.
28191         Remove IN_SETCAPS flag too.
28192
28193 2005-05-17  Tim-Philipp Müller  <tim at centricular dot net>
28194
28195         * gst/base/gstbasesrc.c: (gst_basesrc_change_state):
28196           Remove implicit cast from gboolean to GstElementStateReturn;
28197           make sure we still return failure in paused => ready case if
28198           the parent class fails to change state and our own stop 
28199           vfunc succeeds.
28200
28201 2005-05-17  Wim Taymans  <wim@fluendo.com>
28202
28203         * tools/gst-launch.c: (event_loop):
28204         Message was unreffed too soon.
28205
28206 2005-05-16  Andy Wingo  <wingo@pobox.com>
28207
28208         * gst/gstbin.c (sink_iterator_filter): Err... um...
28209
28210         * check/gst/gstbin.c (test_ghost_pads): New test for the
28211         ghosting-if-elements-not-in-same-bin behavior.
28212
28213 2005-05-16  David Schleef  <ds@schleef.org>
28214
28215         * gst/gstminiobject.c: Use g_atomic_int_get() instead of
28216         accessing refcount directly.
28217
28218 2005-05-15  David Schleef  <ds@schleef.org>
28219
28220         * check/Makefile.am: remove GstData checks
28221         * check/gst-libs/gdp.c: (START_TEST): fix for API changes
28222         * gst/Makefile.am: add miniobject, remove data
28223         * gst/gst.h: add miniobject, remove data
28224         * gst/gstdata.c: remove
28225         * gst/gstdata.h: remove
28226         * gst/gstdata_private.h: remove
28227         * gst/gsttypes.h: remove GstEvent and GstMessage
28228         * gst/gstelement.c: (gst_element_post_message): fix for API changes
28229         * gst/gstmarshal.list: change BOXED -> OBJECT
28230
28231         Implement GstMiniObject.
28232         * gst/gstminiobject.c:
28233         * gst/gstminiobject.h:
28234
28235         Modify to be subclasses of GstMiniObject.
28236         * gst/gstbuffer.c: (_gst_buffer_initialize), (gst_buffer_get_type),
28237         (gst_buffer_class_init), (gst_buffer_finalize), (_gst_buffer_copy),
28238         (gst_buffer_init), (gst_buffer_new), (gst_buffer_new_and_alloc),
28239         (gst_subbuffer_get_type), (gst_subbuffer_init),
28240         (gst_buffer_create_sub), (gst_buffer_is_span_fast),
28241         (gst_buffer_span):
28242         * gst/gstbuffer.h:
28243         * gst/gstevent.c: (_gst_event_initialize), (gst_event_get_type),
28244         (gst_event_class_init), (gst_event_init), (gst_event_finalize),
28245         (_gst_event_copy), (gst_event_new):
28246         * gst/gstevent.h:
28247         * gst/gstmessage.c: (_gst_message_initialize),
28248         (gst_message_get_type), (gst_message_class_init),
28249         (gst_message_init), (gst_message_finalize), (_gst_message_copy),
28250         (gst_message_new), (gst_message_new_error),
28251         (gst_message_new_warning), (gst_message_new_tag),
28252         (gst_message_new_state_changed), (gst_message_new_application):
28253         * gst/gstmessage.h:
28254         * gst/gstprobe.c: (gst_probe_perform),
28255         (gst_probe_dispatcher_dispatch):
28256         * gst/gstprobe.h:
28257         * gst/gstquery.c: (_gst_query_initialize), (gst_query_get_type),
28258         (gst_query_class_init), (gst_query_finalize), (gst_query_init),
28259         (_gst_query_copy), (gst_query_new):
28260
28261         Update elements for GstData -> GstMiniObject changes
28262         * gst/gstquery.h:
28263         * gst/gstqueue.c: (gst_queue_finalize), (gst_queue_locked_flush),
28264         (gst_queue_chain), (gst_queue_loop):
28265         * gst/elements/gstbufferstore.c:
28266         (gst_buffer_store_add_buffer_func),
28267         (gst_buffer_store_cleared_func), (gst_buffer_store_get_buffer):
28268         * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
28269         (gst_fakesink_render):
28270         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
28271         * gst/elements/gstfilesrc.c: (gst_mmap_buffer_get_type),
28272         (gst_mmap_buffer_class_init), (gst_mmap_buffer_init),
28273         (gst_mmap_buffer_finalize), (gst_filesrc_map_region),
28274         (gst_filesrc_create_read):
28275         * gst/elements/gstidentity.c: (gst_identity_class_init):
28276         * gst/elements/gsttypefindelement.c:
28277         (gst_type_find_element_src_event), (free_entry_buffers),
28278         (gst_type_find_element_handle_event):
28279         * libs/gst/dataprotocol/dataprotocol.c:
28280         (gst_dp_header_from_buffer):
28281         * libs/gst/dataprotocol/dataprotocol.h:
28282         * libs/gst/dataprotocol/dp-private.h:
28283
28284 2005-05-15  David Schleef  <ds@schleef.org>
28285
28286         * gst/elements/gstelements.c: Don't include headers that were
28287         just removed.
28288
28289 2005-05-15  David Schleef  <ds@schleef.org>
28290
28291         * gst/elements/Makefile.am: Remove some elements that don't
28292         need to be in the core (or even exist at all).
28293         * gst/elements/gstaggregator.c:
28294         * gst/elements/gstaggregator.h:
28295         * gst/elements/gstmd5sink.c:
28296         * gst/elements/gstmd5sink.h:
28297         * gst/elements/gstmultifilesrc.c:
28298         * gst/elements/gstmultifilesrc.h:
28299         * gst/elements/gstpipefilter.c:
28300         * gst/elements/gstpipefilter.h:
28301         * gst/elements/gstshaper.c:
28302         * gst/elements/gstshaper.h:
28303         * gst/elements/gststatistics.c:
28304         * gst/elements/gststatistics.h:
28305         * po/POTFILES.in: Remove above files.
28306
28307 2005-05-14  Andy Wingo  <wingo@pobox.com>
28308
28309         * gst/gstbin.c (gst_bin_iterate_sinks): Use sink_iterator_filter
28310         so as to get the refs right.
28311         (sink_iterator_filter): New function, wraps bin_element_is_sink,
28312         unreffing objects that don't pass the filter.
28313
28314         * gst/gstpipeline.c (gst_pipeline_init): Drop ref on bus after
28315         gst_element_set_bus.
28316         (gst_pipeline_dispose): Set the bus on the pipeline to NULL. In
28317         normal cases, this will destroy the bus.
28318
28319         * gst/gstutils.c (prepare_link_maybe_ghosting): Drop ref on root
28320         object.
28321
28322         * gst/gstbin.c (gst_bin_change_state): Fix state changes if a bin
28323         has no sinks.
28324
28325 2005-05-13  Andy Wingo  <wingo@pobox.com>
28326
28327         * gst/gstutils.c (gst_element_link_pads): Instead of calling
28328         gst_pad_link, call pad_link_maybe_ghosting,
28329         (pad_link_maybe_ghosting): Links pads, making sure that the
28330         elements being linked are in the same bin.
28331         (find_common_root, object_has_ancestor, ghost_up, remove_pad):
28332         Helpers for pad_link_maybe_ghosting.
28333
28334 2005-05-13  Tim-Philipp Müller  <tim at centricular dot net>
28335
28336         * configure.ac:
28337           Require GLib >= 2.4.0 (for the g_atomic_* funcs)
28338
28339 2005-05-13  Tim-Philipp Müller  <tim at centricular dot net>
28340
28341         * docs/design/part-element-source.txt:
28342           Mention GstPushSrc
28343
28344 2005-05-12  Wim Taymans  <wim@fluendo.com>
28345
28346         * gst/base/gstbasesink.c: (gst_basesink_init),
28347         (gst_basesink_activate):
28348         * gst/base/gstbasesrc.c: (gst_basesrc_unlock),
28349         (gst_basesrc_is_seekable):
28350         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
28351         (bin_element_is_sink), (gst_bin_change_state):
28352         * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
28353         * gst/gstelement.h:
28354         Identify sinks by their flag to avoid overly complicated
28355         checks (fow now).
28356         Do state changes even for elements not reachable from the
28357         sinks.
28358         BaseSink is a sink now :)
28359         Some more debugging info in the basesrc.
28360
28361
28362 2005-05-12  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
28363
28364         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_query):
28365           Implement _query on a bin, similar to _send_event.
28366
28367 2005-05-12  Tim-Philipp Müller  <tim at centricular dot net>
28368
28369         * gst/base/gstbasesrc.c: (gst_basesrc_do_seek):
28370           Discont event offset format should be GST_FORMAT_BYTES,
28371           not GST_FORMAT_TIME.
28372
28373 2005-05-12  Wim Taymans  <wim@fluendo.com>
28374
28375         * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_get_state):
28376         Same fix as Ronald's but without the signal. 
28377
28378 2005-05-12  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
28379
28380         * gst/gstutils.c: (gst_element_query_position):
28381           No, an element is not a pad.
28382
28383 2005-05-12  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
28384
28385         * gst/gstbin.c: (gst_bin_add_func), (cb_parent_unset),
28386         (gst_bin_get_state):
28387           If a child is removed from a bin while we remove the child from
28388           the bin and while we're retrieving its state, signal this to the
28389           get_state function so we abort the wait (instead of waiting for
28390           a timeout) and can immediately re-iterate over all other elements.
28391
28392 2005-05-12  Wim Taymans  <wim@fluendo.com>
28393
28394         * gst/base/Makefile.am:
28395         * gst/base/gstbasesrc.c: (gst_basesrc_is_seekable),
28396         (gst_basesrc_start):
28397         * gst/base/gstbasesrc.h:
28398         * gst/base/gstpushsrc.c: (gst_pushsrc_get_type),
28399         (gst_pushsrc_base_init), (gst_pushsrc_class_init),
28400         (gst_pushsrc_init), (gst_pushsrc_create):
28401         * gst/base/gstpushsrc.h:
28402         Added is_seekable to BaseSrc
28403         Added simple PushSrc.
28404
28405 2005-05-11  Wim Taymans  <wim@fluendo.com>
28406
28407         * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
28408         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
28409         (gst_element_link_pads), (gst_element_query_position),
28410         (gst_element_query_convert), (intersect_caps_func),
28411         (gst_pad_query_position), (gst_pad_query_convert):
28412         Fix refcounting in utils function.
28413         No point in trying to activate a pad when it's added, it could
28414         be added from the state change function and then we deadlock, the
28415         element has to decide what to do.
28416
28417 2005-05-10  Andy Wingo  <wingo@pobox.com>
28418
28419         * gst/elements/gstfakesink.c (gst_fakesink_render): Er, emit with
28420         *all* the arguments.
28421
28422         * gst/base/gstbasetransform.c (gst_base_transform_event): Grab the
28423         stream lock if it's a FLUSH_DONE; normal flushes don't get the
28424         lock (according to the docs -- if this is wrong change the docs).
28425
28426         * gst/gstpipeline.c (gst_pipeline_change_state): Set the bus to
28427         flush messages in the NULL state.
28428
28429         * gst/gstbus.c (gst_bus_post): If a bus is flushing, unref the
28430         message immediately and return.
28431         (gst_bus_set_flushing): New function. If a bus is flushing, it
28432         flushes out any queued messages and immediately unrefs new
28433         messages. This is so when an element goes to NULL, all of the
28434         unhandled messages coming from it can be freed, and their
28435         references to the element dropped. In other words: message source
28436         ref considered harmful :P
28437
28438         * gst/gstbin.c (gst_bin_change_state): Unref peer element when
28439         we're finished with it.
28440
28441         * gst/gstmessage.c (gst_message_new_state_changed): 
28442
28443 2005-05-10  Wim Taymans  <wim@fluendo.com>
28444
28445         * gst/gstvalue.c: (gst_value_compare_flags),
28446         (gst_value_serialize_flags), (gst_value_deserialize_flags),
28447         (_gst_value_initialize):
28448         Added flags serialize/deserialize/compare code.
28449
28450 2005-05-09  Andy Wingo  <wingo@pobox.com>
28451
28452         * gst/base/gstbasetransform.c (gst_base_transform_proxy_getcaps):
28453         Intersect the peer's caps with our caps.
28454
28455 2005-05-09  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
28456
28457         * gst/base/gsttypefindhelper.c: (helper_find_peek):
28458         * gst/elements/gsttypefindelement.c: (find_peek):
28459           Handle negative offsets better. Fixes decodebin.
28460
28461 2005-05-09  Wim Taymans  <wim@fluendo.com>
28462
28463         * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps),
28464         (gst_base_transform_event):
28465         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query):
28466         Implement accept_caps.
28467         Fix silly lock/unlock mismatch in base class.
28468
28469 2005-05-09  Wim Taymans  <wim@fluendo.com>
28470
28471         * docs/design/draft-push-pull.txt:
28472         * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_query):
28473         * gst/elements/gstfilesink.c: (gst_filesink_init),
28474         (gst_filesink_query):
28475         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
28476         (gst_type_find_handle_src_query), (find_element_get_length):
28477         * gst/gstelement.c: (gst_element_seek), (gst_element_query):
28478         * gst/gstelement.h:
28479         * gst/gstmessage.c:
28480         * gst/gstmessage.h:
28481         * gst/gstpad.c: (gst_real_pad_init), (gst_pad_get_query_types),
28482         (gst_real_pad_get_caps_unlocked),
28483         (gst_pad_get_internal_links_default), (gst_pad_get_internal_links),
28484         (gst_pad_event_default_dispatch), (gst_pad_event_default),
28485         (gst_pad_dispatcher), (gst_pad_query), (gst_pad_query_default),
28486         (gst_real_pad_dispose), (gst_real_pad_finalize),
28487         (gst_pad_load_and_link), (gst_pad_save_thyself),
28488         (gst_ghost_pad_save_thyself), (handle_pad_block), (gst_pad_push),
28489         (gst_pad_check_pull_range), (gst_pad_pull_range),
28490         (gst_pad_template_get_type), (gst_pad_template_class_init),
28491         (gst_pad_template_init), (gst_pad_template_dispose),
28492         (name_is_valid), (gst_static_pad_template_get),
28493         (gst_pad_template_new), (gst_static_pad_template_get_caps),
28494         (gst_pad_template_get_caps), (gst_pad_set_element_private),
28495         (gst_pad_get_element_private), (gst_pad_start_task),
28496         (gst_pad_pause_task), (gst_pad_stop_task),
28497         (gst_ghost_pad_get_type), (gst_ghost_pad_class_init),
28498         (gst_ghost_pad_init), (gst_ghost_pad_dispose),
28499         (gst_ghost_pad_set_property), (gst_ghost_pad_get_property),
28500         (gst_ghost_pad_new):
28501         * gst/gstpad.h:
28502         * gst/gstquery.c: (_gst_query_initialize), (gst_query_new),
28503         (gst_query_new_position), (gst_query_set_position),
28504         (gst_query_parse_position), (gst_query_new_convert),
28505         (gst_query_set_convert), (gst_query_parse_convert):
28506         * gst/gstquery.h:
28507         * gst/gstqueryutils.c:
28508         * gst/gstqueryutils.h:
28509         * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
28510         (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
28511         (gst_queue_handle_src_query):
28512         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
28513         (gst_element_query_position), (gst_element_query_convert),
28514         (intersect_caps_func), (gst_pad_query_position),
28515         (gst_pad_query_convert):
28516         * gst/gstutils.h:
28517         * tools/gst-inspect.c: (print_pad_info):
28518         * tools/gst-xmlinspect.c: (print_element_info):
28519         Remove old query functions. Ported old code.
28520         Added position/convert helper functions to gstutils.
28521         Reordered gstpad.c code, grouping relevant things.
28522         Remove gst_message_new(), always need to speficy a specific
28523         message.
28524
28525
28526 2005-05-09  Andy Wingo  <wingo@pobox.com>
28527
28528         * gst/gstiterator.h: Add some includes.
28529
28530         * gst/gstqueryutils.h: Include more headers.
28531
28532         * gst/gstpad.h:
28533         * gst/gstpad.c (gst_pad_query_position): New routine, replaces
28534         some uses of gst_pad_query.
28535
28536         * gst/gstqueryutils.c: Build fixes. Make parse functions ignore
28537         NULL out parameters.
28538         (gst_query_new_position): New proc, allocates a new position
28539         query.
28540
28541         * gst/Makefile.am (libgstreamer_@GST_MAJORMINOR@_la_SOURCES): Add
28542         gstqueryutils.c to the build.
28543
28544         * gst/gststructure.c (gst_structure_set_valist): Implement with
28545         the generic G_VALUE_COLLECT.
28546         
28547 2005-05-08  Edward Hervey  <bilboed@bilboed.com>
28548
28549         * gst/Makefile.am: (gst_headers):
28550         Added gstqueryutils.h to the list of headers to install, that was
28551         a 'nachty' move wingo :)
28552
28553 2005-05-06  Andy Wingo  <wingo@pobox.com>
28554
28555         * gst/gstquery.h
28556         * gst/gstquery.c (_gst_query_initialize): Extend GstQuery from
28557         GstData, init a memchunk.
28558         (standard_definitions): Add a few query types, deprecate a few.
28559         (gst_query_get_type): New proc.
28560         (_gst_query_copy, _gst_query_free, gst_query_new): GstData
28561         implementation.
28562         (gst_query_new_application, gst_query_get_structure): New public
28563         procs.
28564
28565         * docs/design/draft-query.txt: Removed LINKS from the query types,
28566         because all the rest can be dispatched to other pads -- seemed
28567         ugly to have a query that couldn't be dispatched. internal_links
28568         is fine as a pad method.
28569
28570         * gst/gstpad.h: Add query2 as a pad method, add the new functions
28571         in gstpad.c, but maintain binary compatibility for the moment.
28572         Will fix before 0.9 is out.
28573
28574         * gst/gstqueryutils.c: 
28575         * gst/gstqueryutils.h: New files, implement 3 methods for each
28576         query type: parse_query, parse_response, and set. Probably need an
28577         allocator as well.
28578
28579         * gst/gst.h: Add gstquery.h and gstqueryutils.h to the list.
28580
28581         * gst/elements/gstfilesink.c (gst_filesink_query2):
28582         * gst/base/gstbasesrc.c (gst_basesrc_query2): Replace old query,
28583         query_types, and formats methods.
28584
28585         * gst/gstpad.c (gst_pad_query2, gst_pad_query2_default)
28586         (gst_pad_set_query2_function): New functions.
28587         (gst_real_pad_init): Set query2_default as the default query2
28588         function. Basically just dispatches to internally linked pads.
28589
28590         Needs review!
28591         
28592         * gst/gstdata_private.h (_GST_DATA_INIT): Set data->refcount to 1
28593         without using the atomic operations. Only one thread can possibly
28594         be accessing the data at this point. Changed so as to avoid
28595         gst_atomic operations.
28596
28597 2005-05-06  Wim Taymans  <wim@fluendo.com>
28598
28599         * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push):
28600         Also set caps if we use the fallback buffer alloc.
28601
28602 2005-05-06  Tim-Philipp Müller  <tim at centricular dot net>
28603
28604         * docs/gst/Makefile.am:
28605         * docs/gst/gstreamer-docs.sgml:
28606         * docs/gst/gstreamer-sections.txt:
28607         * docs/gst/tmpl/gstatomic.sgml:
28608         * docs/gst/tmpl/gstmemchunk.sgml:
28609         * testsuite/elements/struct_i386.h:
28610         * win32/GStreamer.vcproj:
28611         * win32/Makefile:
28612           Purge GstAtomic stuff from docs and win32 makefiles as well
28613
28614 2005-05-06  Wim Taymans  <wim@fluendo.com>
28615
28616         * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps):
28617         * gst/elements/gstcapsfilter.c: (gst_capsfilter_getcaps):
28618         * gst/gstpad.c: (gst_pad_peer_get_caps):
28619         * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
28620         (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
28621         (gst_queue_src_activate), (gst_queue_change_state):
28622         * gst/gstqueue.h:
28623         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
28624         (intersect_caps_func):
28625         Fix gst_pad_peer_get_caps(), make it return NULL if no peer.
28626         Always take QUEUE_LOCK after STREAM_LOCK or we might deadlock.
28627         Some fixes for the peer_get_caps() change.
28628
28629 2005-05-06  Wim Taymans  <wim@fluendo.com>
28630
28631         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
28632         (gst_basesink_handle_buffer), (gst_basesink_chain_unlocked),
28633         (gst_basesink_activate):
28634         Actually do something with error codes returned from the push
28635         functions.
28636
28637 2005-05-06  Wim Taymans  <wim@fluendo.com>
28638
28639         * docs/design/part-element-sink.txt:
28640         * docs/design/part-element-source.txt:
28641         * gst/base/gstbasesink.c: (gst_basesink_class_init),
28642         (gst_basesink_event), (gst_basesink_activate):
28643         * gst/base/gstbasesink.h:
28644         * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_unlock),
28645         (gst_basesrc_activate):
28646         * gst/base/gstbasesrc.h:
28647         * gst/gstelement.c: (gst_element_pads_activate):
28648         Some more documentation.
28649         Fixed scheduling decision in _pads_activate().
28650
28651 2005-05-05  Andy Wingo  <wingo@pobox.com>
28652
28653         * check/pipelines/simple_launch_lines.c (test_2_elements): "Fix"
28654         the test suite.
28655
28656 2005-05-05  Wim Taymans  <wim@fluendo.com>
28657
28658         * gst/base/Makefile.am:
28659         * gst/base/gstbasesink.h:
28660         * gst/base/gstbasesrc.c: (gst_basesrc_init),
28661         (gst_basesrc_set_dataflow_funcs), (gst_basesrc_query):
28662         * gst/base/gstcollectpads.c: (gst_collectpads_get_type),
28663         (gst_collectpads_class_init), (gst_collectpads_init),
28664         (gst_collectpads_finalize), (gst_collectpads_new),
28665         (gst_collectpads_set_function), (gst_collectpads_add_pad),
28666         (find_pad), (gst_collectpads_remove_pad),
28667         (gst_collectpads_is_active), (gst_collectpads_collect),
28668         (gst_collectpads_collect_range), (gst_collectpads_start),
28669         (gst_collectpads_stop), (gst_collectpads_peek),
28670         (gst_collectpads_pop), (gst_collectpads_available),
28671         (gst_collectpads_read), (gst_collectpads_flush),
28672         (gst_collectpads_chain):
28673         * gst/base/gstcollectpads.h:
28674         * gst/elements/Makefile.am:
28675         * gst/elements/gstelements.c:
28676         * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
28677         (gst_fakesink_get_times), (gst_fakesink_event),
28678         (gst_fakesink_preroll), (gst_fakesink_render):
28679         * gst/elements/gstfilesink.c: (gst_filesink_class_init),
28680         (gst_filesink_init), (gst_filesink_set_location),
28681         (gst_filesink_open_file), (gst_filesink_close_file),
28682         (gst_filesink_pad_query), (gst_filesink_event),
28683         (gst_filesink_render), (gst_filesink_change_state):
28684         * gst/elements/gstfilesink.h:
28685         Added object to help in making collect pad based elements.
28686         Ported filesink.
28687         Make event function in sink baseclass return gboolean.
28688
28689 2005-05-05  Wim Taymans  <wim@fluendo.com>
28690
28691         * gst/gstbin.c: (gst_bin_send_event), (compare_name),
28692         (gst_bin_get_by_name):
28693         * gst/gstbuffer.h:
28694         * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_class_init),
28695         (gst_clock_finalize):
28696         * gst/gstdata.c: (gst_data_replace):
28697         * gst/gstdata.h:
28698         * gst/gstelement.c: (gst_element_request_pad),
28699         (gst_element_pads_activate):
28700         * gst/gstobject.c: (gst_object_init), (gst_object_ref),
28701         (gst_object_unref):
28702         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
28703         (gst_pad_set_checkgetrange_function),
28704         (gst_pad_link_check_compatible_unlocked), (gst_pad_set_caps),
28705         (gst_pad_check_pull_range), (gst_pad_pull_range),
28706         (gst_static_pad_template_get_caps), (gst_pad_start_task),
28707         (gst_pad_pause_task), (gst_pad_stop_task):
28708         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
28709         (gst_element_request_pad), (gst_pad_proxy_getcaps):
28710         Fix name lookup in GstBin.
28711         Added _data_replace() function and _buffer_replace()
28712         Use finalize method to clean up clock.
28713         Fix refcounting on request pads.
28714         Fix pad schedule mode error.
28715         Some more object refcounting debug info,
28716
28717
28718 2005-05-04  Andy Wingo <wingo@pobox.com>
28719
28720         * check/Makefile.am:
28721         * docs/gst/tmpl/gstatomic.sgml:
28722         * docs/gst/tmpl/gstplugin.sgml:
28723         * gst/base/gstbasesink.c: (gst_basesink_activate):
28724         * gst/base/gstbasesrc.c: (gst_basesrc_class_init),
28725         (gst_basesrc_init), (gst_basesrc_set_dataflow_funcs),
28726         (gst_basesrc_query), (gst_basesrc_set_property),
28727         (gst_basesrc_get_property), (gst_basesrc_check_get_range),
28728         (gst_basesrc_activate):
28729         * gst/base/gstbasesrc.h:
28730         * gst/base/gstbasetransform.c: (gst_base_transform_sink_activate),
28731         (gst_base_transform_src_activate):
28732         * gst/elements/gstelements.c:
28733         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
28734         (gst_fakesrc_set_property), (gst_fakesrc_get_property):
28735         * gst/elements/gsttee.c: (gst_tee_sink_activate):
28736         * gst/elements/gsttypefindelement.c: (find_element_get_length),
28737         (gst_type_find_element_checkgetrange),
28738         (gst_type_find_element_activate):
28739         * gst/gstbin.c: (gst_bin_save_thyself), (gst_bin_restore_thyself):
28740         * gst/gstcaps.c: (gst_caps_do_simplify), (gst_caps_save_thyself),
28741         (gst_caps_load_thyself):
28742         * gst/gstelement.c: (gst_element_pads_activate),
28743         (gst_element_save_thyself), (gst_element_restore_thyself):
28744         * gst/gstpad.c: (gst_pad_load_and_link), (gst_pad_save_thyself),
28745         (gst_ghost_pad_save_thyself), (gst_pad_check_pull_range):
28746         * gst/gstpad.h:
28747         * gst/gstxml.c: (gst_xml_write), (gst_xml_parse_doc),
28748         (gst_xml_parse_file), (gst_xml_parse_memory),
28749         (gst_xml_get_element), (gst_xml_make_element):
28750         * gst/indexers/gstfileindex.c: (gst_file_index_load),
28751         (_file_index_id_save_xml), (gst_file_index_commit):
28752         * gst/registries/gstlibxmlregistry.c: (read_string), (read_uint),
28753         (read_enum), (load_pad_template), (load_feature), (load_plugin),
28754         (load_paths):
28755         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_caps),
28756         (gst_dp_packet_from_event), (gst_dp_caps_from_packet):
28757         * tools/gst-complete.c: (main):
28758         * tools/gst-compprep.c: (main):
28759         * tools/gst-inspect.c: (print_element_properties_info):
28760         * tools/gst-launch.c: (xmllaunch_parse_cmdline):
28761         * tools/gst-xmlinspect.c: (print_element_properties):
28762         GCC 4 fixen.
28763         
28764 2005-05-03  Thomas Vander Stichele  <thomas at apestaart dot org>
28765
28766         * gst/gstplugin.c: (gst_plugin_check_module),
28767         (gst_plugin_check_file), (gst_plugin_load_file):
28768             apply patch from #172526 to make register work on MacOSX
28769
28770 2005-05-02  Thomas Vander Stichele  <thomas at apestaart dot org>
28771
28772         * docs/gst/tmpl/gstconfig.sgml:
28773         * gst/gstconfig.h.in:
28774           move documentation for some symbols.  Add doc for GST_PTR_FORMAT
28775         * testsuite/debug/printf_extension.c: (main):
28776           Do not use GST_PTR_FORMAT on pointers to types with
28777           sizeof < sizeof(gpointer).  Fixes test on 64-bit
28778         * testsuite/elements/property.h:
28779           use correct printf format
28780
28781 2005-05-02  Wim Taymans  <wim@fluendo.com>
28782
28783         * docs/design/draft-push-pull.txt:
28784         * docs/design/draft-query.txt:
28785         * gst/base/gstbasesrc.c: (gst_basesrc_get_range_unlocked),
28786         (gst_basesrc_start):
28787         Added draft for new query API.
28788         Added draft for better selecting scheduling methods.
28789         Make basesrc ignore length if the subclass does not support
28790         it.
28791
28792 2005-05-02  Thomas Vander Stichele  <thomas at apestaart dot org>
28793
28794         * gst/Makefile.am:
28795           possible fixes for automake-1.5 - _LIBADD is reserved
28796
28797 2005-05-02  Thomas Vander Stichele  <thomas at apestaart dot org>
28798
28799         * docs/faq/Makefile.am:
28800         * docs/manual/Makefile.am:
28801         * docs/manuals.mak:
28802         * docs/pwg/Makefile.am:
28803         * gst/Makefile.am:
28804           possible fixes for automake-1.5
28805
28806 2005-04-28  Wim Taymans  <wim@fluendo.com>
28807
28808         * gst/base/gstbasesink.c: (gst_basesink_base_init),
28809         (gst_basesink_pad_getcaps), (gst_basesink_init),
28810         (gst_basesink_do_sync):
28811         * gst/gstclock.c: (gst_clock_entry_new):
28812         * gst/gstevent.c: (gst_event_discont_get_value):
28813         * gst/gstpipeline.c: (pipeline_bus_handler),
28814         (gst_pipeline_change_state):
28815         * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
28816         Better debugging of clocking info.
28817         Allow NULL values when getting discont values.
28818
28819 2005-04-27  Wim Taymans  <wim@fluendo.com>
28820
28821         * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
28822         * check/gst/gstpad.c: (gst_pad_suite):
28823         Increase timeout for checks.
28824
28825 2005-04-27  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
28826
28827         * check/Makefile.am:
28828           fix the broken rule for cleanup.  Apparently this rule is
28829           only needed on FC2, so maybe this warrants further autotool
28830           inspection.
28831
28832 2005-04-26  Wim Taymans  <wim@fluendo.com>
28833
28834         * gst/gsttrashstack.h:
28835         Ooohh. a nasty one! After having a failed pop() from the stack,
28836         it's possible that the stack is empty. In that case, don't
28837         follow the NULL pointer.
28838
28839 2005-04-25  Wim Taymans  <wim@fluendo.com>
28840
28841         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
28842         (gst_pad_set_checkgetrange_function),
28843         (gst_pad_link_check_compatible_unlocked), (gst_pad_link_prepare),
28844         (gst_pad_check_pull_range), (gst_pad_pull_range),
28845         (gst_static_pad_template_get_caps), (gst_pad_start_task),
28846         (gst_pad_pause_task), (gst_pad_stop_task):
28847         * gst/gstplugin.c: (gst_plugin_load):
28848         * gst/gstplugin.h:
28849         Remove gst_library_load as it does more harm than good with
28850         the new g_module flags.
28851         Revert bogus caps template check in pad linking, pad caps
28852         are important when linking not the template, which is more
28853         general than the current caps.
28854
28855 2005-04-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
28856
28857         * gst/autoplug/.cvsignore:
28858         * gst/autoplug/Makefile.am:
28859         * gst/autoplug/gstsearchfuncs.c:
28860         * gst/autoplug/gstsearchfuncs.h:
28861         * gst/autoplug/gstspider.c:
28862         * gst/autoplug/gstspider.h:
28863         * gst/autoplug/gstspideridentity.c:
28864         * gst/autoplug/gstspideridentity.h:
28865         * gst/autoplug/spidertest.c:
28866           Die, spider, die.
28867
28868 2005-04-25  Wim Taymans  <wim@fluendo.com>
28869
28870         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
28871         (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
28872         (gst_pad_pull_range), (gst_static_pad_template_get_caps),
28873         (gst_pad_start_task), (gst_pad_pause_task), (gst_pad_stop_task):
28874         * gst/gstpad.h:
28875         Added stubs for unimplemented functions. 
28876
28877 2005-04-24  David Schleef  <ds@schleef.org>
28878
28879         * gst/gstpad.h: Disable some unimplemented functions.  Wim,
28880         please fix.
28881
28882 2005-04-24  David Schleef  <ds@schleef.org>
28883
28884         Convert everything from GstAtomicInt to g_atomic_int_*, and
28885         remove gstatomic.
28886         * gst/Makefile.am:
28887         * gst/gstatomic.c:
28888         * gst/gstatomic.h:
28889         * gst/gstatomic_impl.h:
28890         * gst/gstbuffer.c:
28891         * gst/gstcaps.c:
28892         * gst/gstcaps.h:
28893         * gst/gstclock.c:
28894         * gst/gstclock.h:
28895         * gst/gstdata.c:
28896         * gst/gstdata.h:
28897         * gst/gstdata_private.h:
28898         * gst/gstevent.c:
28899         * gst/gstinfo.c:
28900         * gst/gstinfo.h:
28901         * gst/gstmessage.c:
28902         * gst/gstobject.c:
28903         * gst/gstobject.h:
28904         * gst/gststructure.c:
28905         * gst/gststructure.h:
28906         * gst/gstutils.c: Add gst_atomic_int_set() compaitibility function.
28907         * gst/gstutils.h:
28908
28909 2005-04-24  David Schleef  <ds@schleef.org>
28910
28911         * check/gst/gstpad.c: (START_TEST): Oh yeah, it's always nice to
28912         make the regressions tests work.  Remove some code that is no
28913         longer true.
28914         * gst/gstpad.c: (gst_pad_link_check_templates_compatible_unlocked):
28915         Disable warning for pads without templates.
28916
28917 2005-04-24  David Schleef  <ds@schleef.org>
28918
28919         * gst/gstpad.c: Remove handling of filtered caps.  Fix/merge
28920         functions that handle filtered links.
28921         * gst/gstpad.h: Remove 'appfilter' field and prototypes of
28922         removed functions.
28923         * gst/gstutils.c: Fix/remove utility functions that handle
28924         filtered caps.
28925         * gst/gstutils.h:
28926         * gst/gstvalue.c: Add serialization/deserialization of caps
28927         * gst/parse/grammar.y: Ignore filtered caps when linking.  This
28928         requires fixing so that the filter caps notation creates
28929         a capsfilter element and sets the filter_caps property.  I
28930         think everyone probably wants to keep the shorthand notation.
28931         * docs/gst/tmpl/gstelement.sgml: updates for API changes.
28932         * docs/gst/tmpl/gstpad.sgml:
28933
28934         * gst/elements/gstelements.c: Register capsfilter element.
28935         * gst/Makefile.am: fix spacing
28936         * docs/random/ds/0.9-suggested-changes: random
28937
28938 2005-04-23  David Schleef  <ds@schleef.org>
28939
28940         * gst/elements/Makefile.am:
28941         * gst/elements/gstcapsfilter.c: New element that acts like an
28942         identity, but filters caps.  Will eventually replace filtered
28943         caps in pad linking.
28944         * gst/gstutils.c: (gst_element_create_all_pads): New function
28945         to create all the ALWAYS pads that are registered with an
28946         element class.  This functionality should eventually be
28947         merged in with GstElement initialization.
28948         * gst/gstutils.h:
28949         * testsuite/trigger/README: part of trigger test code that should
28950         have been checked in a long time ago.
28951
28952 2005-04-23  David Schleef  <ds@schleef.org>
28953
28954         * gst/Makefile.am: Remove as-libtool stuff.  It's likely not
28955         needed with new versions of libtool (nobody will confirm this),
28956         and hard to carry around.
28957         * gst/autoplug/Makefile.am:
28958         * gst/base/Makefile.am:
28959         * gst/elements/Makefile.am:
28960         * gst/indexers/Makefile.am:
28961         * gst/schedulers/Makefile.am:
28962         * libs/gst/bytestream/Makefile.am:
28963         * libs/gst/control/Makefile.am:
28964         * libs/gst/dataprotocol/Makefile.am:
28965         * libs/gst/getbits/Makefile.am:
28966
28967 2005-04-21  Wim Taymans  <wim@fluendo.com>
28968
28969         * docs/design/draft-push-pull.txt:
28970         * docs/design/part-MT-refcounting.txt:
28971         * docs/design/part-TODO.txt:
28972         * docs/design/part-caps.txt:
28973         * docs/design/part-events.txt:
28974         * docs/design/part-gstbus.txt:
28975         * docs/design/part-gstpipeline.txt:
28976         * docs/design/part-messages.txt:
28977         * docs/design/part-push-pull.txt:
28978         * docs/design/part-query.txt:
28979         Some more docs.
28980
28981 2005-04-21  Wim Taymans  <wim@fluendo.com>
28982
28983         * gst/gstmessage.c: (_gst_message_copy), (_gst_message_free),
28984         (gst_message_new), (gst_message_new_error),
28985         (gst_message_new_warning), (gst_message_new_tag),
28986         (gst_message_new_state_changed), (gst_message_new_application),
28987         (gst_message_get_structure):
28988         * gst/gstmessage.h:
28989         * gst/gststructure.c: (gst_structure_set_parent_refcount),
28990         (gst_structure_copy_conditional):
28991         Use parent refcount in GstMessage to ensure GstStructure
28992         consistency.
28993         Cleaned up headers a bit.
28994         
28995
28996 2005-04-20  Wim Taymans  <wim@fluendo.com>
28997
28998         * gst/base/gstbasesink.c: (gst_basesink_base_init),
28999         (gst_basesink_pad_getcaps), (gst_basesink_init),
29000         (gst_basesink_chain_unlocked):
29001         * gst/base/gsttypefindhelper.c: (helper_find_suggest),
29002         (gst_type_find_helper):
29003         * gst/elements/gsttypefindelement.c:
29004         (gst_type_find_element_have_type), (gst_type_find_element_init),
29005         (stop_typefinding), (gst_type_find_element_handle_event),
29006         (find_suggest), (gst_type_find_element_chain),
29007         (gst_type_find_element_checkgetrange),
29008         (gst_type_find_element_getrange), (do_typefind),
29009         (gst_type_find_element_activate):
29010         * gst/gstbuffer.c: (_gst_buffer_sub_free),
29011         (gst_buffer_default_free), (gst_buffer_default_copy),
29012         (gst_buffer_set_caps):
29013         * gst/gstcaps.c: (gst_caps_ref), (gst_caps_unref),
29014         (gst_caps_replace):
29015         * gst/gstmessage.c: (gst_message_new),
29016         (gst_message_new_state_changed):
29017         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
29018         (gst_pad_set_checkgetrange_function),
29019         (gst_pad_link_prepare_filtered), (gst_pad_relink_filtered),
29020         (gst_pad_set_caps), (gst_pad_check_pull_range),
29021         (gst_pad_pull_range), (gst_static_pad_template_get_caps):
29022         * gst/gstpad.h:
29023         * gst/gsttypefind.c: (gst_type_find_register):
29024         Make gst_caps_replace() work like other _replace() functions.
29025         Use _caps_replace() where possible.
29026         Make sure _message_new() initialises its field.
29027         Add gst_static_pad_template_get_caps()
29028
29029
29030 2005-04-18  Andy Wingo  <wingo@pobox.com>
29031
29032         * gst/gstelement.c (gst_element_pads_activate): Check pull_range
29033         on the peer, not the pad. I think that was a typo. Pass an extra
29034         arg to see if random access is possible. Activate the pads as
29035         PULL_RANGE if possible.
29036
29037         * gst/elements/gstfakesrc.c: s/ARG_/PROP_/.
29038
29039         * gst/base/gstbasesrc.c (gst_basesrc_set_property) 
29040         (gst_basesrc_get_property): BLOCKSIZE is a ULONG. Rename ARG_...
29041         to PROP_....
29042
29043 2005-04-14  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
29044
29045         * docs/faq/using.xml:
29046           Add note on gstreamer-properties (#154996).
29047
29048 2005-04-13  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
29049
29050         * docs/random/bbb/optional-properties:
29051           Some analysis on optional properties.
29052
29053 2005-04-12  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
29054
29055         * docs/gst/tmpl/gstelementfactory.sgml:
29056         * gst/gstelement.h:
29057         * gst/gstelementfactory.c: (gst_element_factory_init),
29058         (gst_element_factory_cleanup), (gst_element_register),
29059         (__gst_element_factory_add_static_pad_template),
29060         (gst_element_factory_get_static_pad_templates),
29061         (gst_element_factory_can_src_caps),
29062         (gst_element_factory_can_sink_caps):
29063         * gst/registries/Makefile.am:
29064         * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_get_type),
29065         (gst_xml_registry_class_init), (gst_xml_registry_init),
29066         (gst_xml_registry_new), (gst_xml_registry_set_property),
29067         (gst_xml_registry_get_property), (get_time), (make_dir),
29068         (gst_xml_registry_get_perms_func),
29069         (plugin_times_older_than_recurse), (plugin_times_older_than),
29070         (gst_xml_registry_open_func), (gst_xml_registry_load_func),
29071         (gst_xml_registry_save_func), (gst_xml_registry_close_func),
29072         (add_to_char_array), (read_string), (read_uint), (read_enum),
29073         (load_pad_template), (load_feature), (load_plugin), (load_paths),
29074         (gst_xml_registry_load), (gst_xml_registry_load_plugin),
29075         (gst_xml_registry_save_caps), (gst_xml_registry_save_pad_template),
29076         (gst_xml_registry_save_feature), (gst_xml_registry_save_plugin),
29077         (gst_xml_registry_save), (gst_xml_registry_rebuild_recurse),
29078         (gst_xml_registry_rebuild):
29079         * gst/registries/gstlibxmlregistry.h:
29080         * tools/gst-compprep.c: (main):
29081         * tools/gst-inspect.c: (print_pad_templates_info):
29082         * tools/gst-xmlinspect.c: (print_element_info):
29083           Use libxml2 for registry parsing, use staticpadtemplates in
29084           elementfactories. Makes gst_init() +/- 10x faster.
29085
29086 2005-04-12  Wim Taymans  <wim@fluendo.com>
29087
29088         * gst/base/Makefile.am:
29089         * gst/base/gstbasesink.c: (gst_basesink_base_init),
29090         (gst_basesink_pad_getcaps), (gst_basesink_init),
29091         (gst_basesink_event), (gst_basesink_change_state):
29092         * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
29093         (gst_basesrc_init), (gst_basesrc_query),
29094         (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
29095         (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
29096         (gst_basesrc_check_get_range), (gst_basesrc_loop),
29097         (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
29098         (gst_basesrc_stop), (gst_basesrc_activate),
29099         (gst_basesrc_change_state):
29100         * gst/base/gsttypefindhelper.c: (helper_find_peek),
29101         (helper_find_suggest), (gst_type_find_helper):
29102         * gst/base/gsttypefindhelper.h:
29103         * gst/elements/Makefile.am:
29104         * gst/elements/gstelements.c:
29105         * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
29106         (gst_fakesink_get_times), (gst_fakesink_event),
29107         (gst_fakesink_preroll), (gst_fakesink_render):
29108         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
29109         (gst_fakesrc_init), (gst_fakesrc_event_handler),
29110         (gst_fakesrc_get_property), (gst_fakesrc_create),
29111         (gst_fakesrc_start), (gst_fakesrc_stop):
29112         * gst/elements/gstfakesrc.h:
29113         * gst/elements/gstfilesrc.c: (gst_filesrc_class_init),
29114         (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
29115         (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
29116         (gst_filesrc_create_read), (gst_filesrc_create),
29117         (gst_filesrc_is_seekable), (gst_filesrc_get_size),
29118         (gst_filesrc_start):
29119         * gst/elements/gsttypefindelement.c:
29120         (gst_type_find_element_have_type), (gst_type_find_element_init),
29121         (start_typefinding), (stop_typefinding), (push_buffer_store),
29122         (gst_type_find_element_handle_event),
29123         (gst_type_find_element_chain),
29124         (gst_type_find_element_checkgetrange),
29125         (gst_type_find_element_getrange), (do_typefind),
29126         (gst_type_find_element_activate),
29127         (gst_type_find_element_change_state):
29128         * gst/elements/gsttypefindelement.h:
29129         * gst/gstpipeline.c: (pipeline_bus_handler):
29130         Added typefind helper.
29131         Small preroll fix in the base sink.
29132         Disable typefind code in basesrc.
29133         Crude port of typefindelement.
29134         Fakesrc cleanups.
29135
29136
29137 2005-04-11  Wim Taymans  <wim@fluendo.com>
29138
29139         * check/gst/gstbus.c: (gstbus_suite):
29140         * check/gst/gstdata.c: (thread_ref), (gst_data_suite):
29141         * check/gstcheck.h:
29142           Fix up the timeout so that the test does not fail.
29143
29144 2005-04-06  Wim Taymans  <wim@fluendo.com>
29145
29146         * gst/base/README:
29147         * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
29148         (gst_basesrc_init), (gst_basesrc_get_formats), (gst_basesrc_query),
29149         (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
29150         (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
29151         (gst_basesrc_check_get_range), (gst_basesrc_loop),
29152         (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
29153         (gst_basesrc_stop), (gst_basesrc_activate),
29154         (gst_basesrc_change_state), (basesrc_find_peek),
29155         (basesrc_find_suggest), (gst_basesrc_type_find):
29156         * gst/base/gstbasesrc.h:
29157         * gst/elements/gstfilesrc.c: (gst_filesrc_base_init),
29158         (gst_filesrc_class_init), (gst_filesrc_init),
29159         (gst_filesrc_finalize), (gst_filesrc_set_location),
29160         (gst_filesrc_set_property), (gst_filesrc_get_property),
29161         (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
29162         (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
29163         (gst_filesrc_create_read), (gst_filesrc_create),
29164         (gst_filesrc_get_size), (gst_filesrc_start), (gst_filesrc_stop):
29165         * gst/elements/gstfilesrc.h:
29166         * gst/gstelement.c: (gst_element_get_state_func),
29167         (gst_element_lost_state), (gst_element_pads_activate):
29168         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
29169         (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
29170         (gst_pad_pull_range):
29171         * gst/gstpad.h:
29172         More work on the generic source base class, implement seeking,
29173         query.
29174         Make filesrc extend the base source class.
29175         Added gst_pad_set_checkgetrange_function to GstPad.
29176
29177 2005-04-06  Andy Wingo  <wingo@pobox.com>
29178
29179         * pkgconfig/gstreamer-base.pc.in:
29180         * pkgconfig/gstreamer-base-uninstalled.pc.in: New files.
29181
29182         * pkgconfig/Makefile.am:
29183         * configure.ac (AC_OUTPUT): Add gstreamer-base pkgconfig files.
29184
29185 2005-04-04  Wim Taymans  <wim@fluendo.com>
29186
29187         * gst/base/Makefile.am:
29188         * gst/base/README:
29189         * gst/base/gstbasesink.c: (gst_basesink_base_init),
29190         (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
29191         (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
29192         (gst_basesink_do_sync), (gst_basesink_chain_unlocked):
29193         * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
29194         (gst_basesrc_base_init), (gst_basesrc_class_init),
29195         (gst_basesrc_init), (gst_basesrc_get_formats),
29196         (gst_basesrc_get_query_types), (gst_basesrc_query),
29197         (gst_basesrc_get_event_mask), (gst_basesrc_event_handler),
29198         (gst_basesrc_set_property), (gst_basesrc_get_property),
29199         (gst_basesrc_get_range_unlocked), (gst_basesrc_get_range),
29200         (gst_basesrc_loop), (gst_basesrc_activate),
29201         (gst_basesrc_change_state):
29202         * gst/base/gstbasesrc.h:
29203         * gst/elements/gstfakesrc.c: (gst_fakesrc_base_init),
29204         (gst_fakesrc_class_init), (gst_fakesrc_init),
29205         (gst_fakesrc_event_handler), (gst_fakesrc_set_property),
29206         (gst_fakesrc_get_property), (gst_fakesrc_create):
29207         * gst/elements/gstfakesrc.h:
29208         * gst/elements/gstfilesrc.c: (gst_filesrc_getrange),
29209         (gst_filesrc_open_file), (gst_filesrc_loop),
29210         (gst_filesrc_activate), (filesrc_find_peek),
29211         (gst_filesrc_type_find):
29212         Made base source class, make fakesrc extend it.
29213         Add comments to basesink class.
29214         Some filesrc cleanup.
29215
29216 2005-03-31  David Schleef  <ds@schleef.org>
29217
29218         * gst/gstplugin.c: (gst_plugin_check_file), (gst_plugin_load_file):
29219         Switch to using G_MODULE_BIND_LOCAL, which means plugins are now
29220         expected to link against libgstreamer.
29221         * gst/base/Makefile.am: link against libgstreamer
29222         * gst/elements/Makefile.am: same
29223
29224 2005-03-31  Andy Wingo  <wingo@pobox.com>
29225
29226         * tests/instantiate/Makefile.am:
29227         * tests/instantiate/caps.c: Add test to test speed of caps copy
29228         and free.
29229
29230         * tests/memchunk/gmemchunktest.c (main): Use alloc only on the
29231         GMemChunk to be fair.
29232
29233         * gst/gsttrashstack.h: Remove warning about using the fallback
29234         trash stack implementation, it's still faster than malloc.
29235
29236 2005-03-30  Andy Wingo  <wingo@pobox.com>
29237
29238         * tests/complexity.c: Add a copyright.
29239
29240 2005-03-31  Wim Taymans  <wim@fluendo.com>
29241
29242         * gst/base/gstbasetransform.c: (gst_base_transform_base_init),
29243         (gst_base_transform_class_init), (gst_base_transform_init),
29244         (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
29245         (gst_base_transform_get_property),
29246         (gst_base_transform_sink_activate),
29247         (gst_base_transform_src_activate),
29248         (gst_base_transform_change_state):
29249         * gst/base/gstbasetransform.h:
29250         * gst/elements/gstidentity.c: (gst_identity_class_init),
29251         (gst_identity_event), (gst_identity_check_perfect),
29252         (gst_identity_transform), (gst_identity_start),
29253         (gst_identity_stop):
29254         Added start/stop methods to transform base class so subclasses 
29255         don't need to deal with state changes even.
29256
29257 2005-03-31  Wim Taymans  <wim@fluendo.com>
29258
29259         * gst/gstevent.c: (gst_event_new_discontinuous_valist),
29260         (gst_event_new_discontinuous), (gst_event_discont_get_value):
29261         * gst/gstevent.h:
29262         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
29263         (gst_pad_pull_range):
29264         Added rate to the discont event to prepare for variable speed
29265         and reverse playback.
29266
29267 2005-03-29  David Schleef  <ds@schleef.org>
29268
29269         * configure.ac:
29270         * testsuite/trigger/Makefile.am:
29271         * testsuite/trigger/trigger.c: A little example program to show
29272         how trigger-based elements can work.
29273
29274 2005-03-29  Wim Taymans  <wim@fluendo.com>
29275
29276         * gst/base/Makefile.am:
29277         * gst/base/README:
29278         * gst/base/gstbasesink.c: (gst_basesink_get_type),
29279         (gst_basesink_base_init), (gst_basesink_class_init),
29280         (gst_basesink_pad_getcaps), (gst_basesink_init),
29281         (gst_basesink_activate), (gst_basesink_change_state):
29282         * gst/base/gstbasesink.h:
29283         * gst/base/gstbasetransform.c: (gst_base_transform_get_type),
29284         (gst_base_transform_base_init), (gst_base_transform_finalize),
29285         (gst_base_transform_class_init), (gst_base_transform_init),
29286         (gst_base_transform_proxy_getcaps), (gst_base_transform_setcaps),
29287         (gst_base_transform_event), (gst_base_transform_getrange),
29288         (gst_base_transform_chain), (gst_base_transform_handle_buffer),
29289         (gst_base_transform_set_property),
29290         (gst_base_transform_get_property),
29291         (gst_base_transform_sink_activate),
29292         (gst_base_transform_src_activate),
29293         (gst_base_transform_change_state):
29294         * gst/base/gstbasetransform.h:
29295         * gst/elements/gstidentity.c: (gst_identity_finalize),
29296         (gst_identity_class_init), (gst_identity_init),
29297         (gst_identity_event), (gst_identity_check_perfect),
29298         (gst_identity_transform), (gst_identity_set_property),
29299         (gst_identity_get_property), (gst_identity_change_state):
29300         * gst/elements/gstidentity.h:
29301         * gst/gstelement.c: (gst_element_get_state_func),
29302         (gst_element_lost_state), (gst_element_pads_activate):
29303         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
29304         (gst_pad_check_pull_range), (gst_pad_pull_range):
29305         * gst/gstpad.h:
29306         Simplify pad activation.
29307         Added function to check if pull_range can be performed.
29308         Error out when pulling inactive or flushing pads.
29309         Removed const from refcounted types as it does not make sense.
29310         Simplify pad templates in basesink
29311         Added base class for simple 1-to-1 transforms.
29312         Make identity subclass the base transform.
29313
29314 2005-03-29  Andy Wingo  <wingo@pobox.com>
29315
29316         * docs/libs/gstreamer-libs-overrides.txt: 
29317         * docs/gst/gstreamer-overrides.txt: Add these files to CVS. Now I
29318         really don't understand what's going on, but like whatever. I want
29319         green buildbot!
29320
29321         * docs/gst/Makefile.am:
29322         * docs/libs/Makefile.am: Dist the overrides files.
29323
29324         * check/Makefile.am (clean-local): Remove .libs directories.
29325
29326         * gst/elements/Makefile.am (EXTRA_DIST): Add all the attic
29327         elements to EXTRA_DIST, so po/ files are happy.
29328
29329         * po/POTFILES.in: Er, remove it here.
29330
29331         * po/POTFILES: Remove gstspider.c.
29332
29333         * configure.ac (AC_OUTPUT): Add missing testsuite makefiles.
29334
29335         * docs/libs/gstreamer-libs-docs.sgml: 
29336         * docs/libs/gstreamer-libs-sections.txt: Remove the section on
29337         bytestream.
29338
29339         * tests/complexity.c (main): Set the length of the preroll queue
29340         on the sinks to prevent a lockup.
29341
29342         * libs/gst/dataprotocol/Makefile.am: 
29343         * libs/gst/dataprotocol/dataprotocol-test.c: Remove test, it's
29344         the same as the one in check/gst-libs/gdp.c.
29345
29346         * po/, docs/gst/: Commit automatic changes to docs and po files.
29347
29348         * gst/elements/Makefile.am (libgstelements_la_LDFLAGS): Link to
29349         the versioned libgstbase.
29350
29351         * check/Makefile.am: Depend on an unversioned gst-register, seems
29352         to make autoconf happier.
29353
29354         * gst/base/Makefile.am: Make libgstbase a versioned lib.
29355
29356 2005-03-28  Wim Taymans  <wim@fluendo.com>
29357
29358         * configure.ac:
29359         * docs/design/part-gstelement.txt:
29360         * docs/design/part-negotiation.txt:
29361         * docs/design/part-preroll.txt:
29362         * docs/design/part-scheduling.txt:
29363         * docs/design/part-states.txt:
29364         * gst/Makefile.am:
29365         * gst/base/Makefile.am:
29366         * gst/base/README:
29367         * gst/base/gstbasesink.c: (gst_basesink_get_template),
29368         (gst_basesink_base_init), (gst_basesink_class_init),
29369         (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
29370         (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
29371         (gst_basesink_set_pad_functions),
29372         (gst_basesink_set_all_pad_functions), (gst_basesink_set_clock),
29373         (gst_basesink_set_property), (gst_basesink_get_property),
29374         (gst_base_sink_get_template), (gst_base_sink_get_caps),
29375         (gst_base_sink_set_caps), (gst_base_sink_buffer_alloc),
29376         (gst_basesink_preroll_queue_push),
29377         (gst_basesink_preroll_queue_empty),
29378         (gst_basesink_preroll_queue_flush), (gst_basesink_finish_preroll),
29379         (gst_basesink_event), (gst_basesink_get_times),
29380         (gst_basesink_do_sync), (gst_basesink_handle_buffer),
29381         (gst_basesink_chain_unlocked), (gst_basesink_chain),
29382         (gst_basesink_loop), (gst_basesink_activate),
29383         (gst_basesink_change_state):
29384         * gst/base/gstbasesink.h:
29385         * gst/elements/Makefile.am:
29386         * gst/elements/gstfakesink.c: (gst_fakesink_base_init),
29387         (gst_fakesink_class_init), (gst_fakesink_init),
29388         (gst_fakesink_set_property), (gst_fakesink_get_property),
29389         (gst_fakesink_get_times), (gst_fakesink_event),
29390         (gst_fakesink_preroll), (gst_fakesink_render),
29391         (gst_fakesink_change_state):
29392         * gst/elements/gstfakesink.h:
29393         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
29394         (gst_bin_get_state), (gst_bin_change_state), (gst_bin_send_event):
29395         * gst/gstelement.c: (gst_element_add_pad),
29396         (gst_element_get_state_func), (gst_element_abort_state),
29397         (gst_element_commit_state), (gst_element_lost_state),
29398         (gst_element_set_state), (gst_element_pads_activate):
29399         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_event_default):
29400         * gst/gstpipeline.c: (gst_pipeline_send_event),
29401         (gst_pipeline_change_state):
29402         Added state change code.
29403         Added/updated docs.
29404         Added sink base class, make fakesink extend the base class.
29405         Small cleanups in GstPipeline.
29406
29407 2005-03-26  David Schleef  <ds@schleef.org>
29408
29409         * gst/Makefile.am: remove gstcpu.[ch].  The gst_cpu functionality
29410         is broken and should be implemented in a different library.
29411         * gst/gst.c: (init_post): don't call _gst_cpu_initialize()
29412         * gst/gst.h: remove gstcpu.h
29413         * gst/gstcpu.c: remove
29414         * gst/gstcpu.h: remove
29415         * gst/Makefile.am.future: Remove this file.  It's ancient.
29416
29417 2005-03-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
29418
29419         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
29420         (gst_bin_send_event):
29421           Add default event/set_manager handlers. The set_manager handler
29422           takes care that the manager is distributed over kids that were
29423           already in the bin before the manager was set. The event handler
29424           is a utility virtual function that sends the event over all sinks,
29425           so that gst_element_send_event (bin, event); has the expected
29426           behaviour.
29427         * gst/gstpad.c: (gst_pad_event_default):
29428           Re-install default event handling for discontinuities, so that
29429           seeking works without requiring hacks in applications or extra
29430           code in sinks.
29431         * gst/gstpipeline.c: (gst_pipeline_class_init),
29432         (gst_pipeline_send_event):
29433           Half hack, half utility: set a pipeline to PAUSED for seek events,
29434           since that is the only way we can guarantee a/v sync. Means that
29435           you can do gst_element_seek (pipeline, method, pos); on a pipeline
29436           and it "just works".
29437
29438 2005-03-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
29439
29440         * gst/gstpipeline.c: (gst_pipeline_use_clock):
29441           Lock/unlock mismatch.
29442
29443 2005-03-25  Thomas Vander Stichele  <thomas at apestaart dot org>
29444
29445         * docs/faq/gst-uninstalled:
29446           add gst-plugins-base
29447         * docs/gst/Makefile.am:
29448           don't error out until docs are fixed
29449         * docs/gst/gstreamer.types:
29450           remove thread
29451
29452 2005-03-22  Wim Taymans  <wim@fluendo.com>
29453
29454         * check/Makefile.am:
29455         * check/gst/gstmessage.c: (START_TEST), (gst_data_suite), (main):
29456         * gst/gststructure.c: (gst_structure_set_valist),
29457         (gst_structure_copy_conditional):
29458         Activated more tests.
29459         Added message test.
29460         Added G_TYPE_POINTER to GstStructure.
29461         
29462
29463 2005-03-22  Wim Taymans  <wim@fluendo.com>
29464
29465         * docs/design/part-TODO.txt:
29466         * docs/design/part-events.txt:
29467         * docs/design/part-gstbin.txt:
29468         * docs/design/part-gstbus.txt:
29469         * docs/design/part-gstpipeline.txt:
29470         * docs/design/part-messages.txt:
29471         * gst/gstbus.c:
29472         * gst/gstmessage.c:
29473         Docs updates
29474
29475 2005-03-21  Wim Taymans  <wim@fluendo.com>
29476
29477         * gst/gstbus.c: (gst_bus_post):
29478         Fix copy-and-paste error.
29479
29480 2005-03-21  Wim Taymans  <wim@fluendo.com>
29481
29482         * check/Makefile.am:
29483         * gst/Makefile.am:
29484         * gst/elements/Makefile.am:
29485         * gst/elements/gstelements.c:
29486         * gst/elements/gstfakesink.c: (gst_fakesink_init),
29487         (gst_fakesink_event), (gst_fakesink_chain):
29488         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
29489         (gst_fakesrc_init), (gst_fakesrc_get_event_mask),
29490         (gst_fakesrc_event_handler), (gst_fakesrc_set_pad_functions),
29491         (gst_fakesrc_set_all_pad_functions), (gst_fakesrc_request_new_pad),
29492         (gst_fakesrc_set_property), (gst_fakesrc_get_property),
29493         (gst_fakesrc_get_range_unlocked), (gst_fakesrc_get_range),
29494         (gst_fakesrc_loop), (gst_fakesrc_activate),
29495         (gst_fakesrc_change_state):
29496         * gst/elements/gstfakesrc.h:
29497         * gst/elements/gstfilesrc.c: (gst_filesrc_init),
29498         (gst_filesrc_get_read), (gst_filesrc_getrange), (gst_filesrc_get),
29499         (gst_filesrc_open_file), (gst_filesrc_loop),
29500         (gst_filesrc_activate), (gst_filesrc_change_state),
29501         (filesrc_find_peek), (filesrc_find_suggest),
29502         (gst_filesrc_type_find):
29503         * gst/elements/gstidentity.c: (gst_identity_finalize),
29504         (gst_identity_class_init), (gst_identity_init),
29505         (gst_identity_proxy_getcaps), (identity_queue_push),
29506         (identity_queue_pop), (identity_queue_flush), (gst_identity_event),
29507         (gst_identity_getrange), (gst_identity_chain),
29508         (gst_identity_sink_loop), (gst_identity_src_loop),
29509         (gst_identity_handle_buffer), (gst_identity_set_dataflow_funcs),
29510         (gst_identity_set_property), (gst_identity_get_property),
29511         (gst_identity_change_state):
29512         * gst/elements/gstidentity.h:
29513         * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_init),
29514         (gst_tee_update_pad_functions), (gst_tee_request_new_pad),
29515         (gst_tee_set_property), (gst_tee_get_property), (gst_tee_do_push),
29516         (gst_tee_handle_buffer), (gst_tee_chain), (gst_tee_loop),
29517         (gst_tee_sink_activate):
29518         * gst/elements/gsttee.h:
29519         * gst/gst.c: (gst_register_core_elements), (init_post):
29520         * gst/gst.h:
29521         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_bus),
29522         (gst_bin_set_scheduler), (gst_bin_add_func), (gst_bin_add),
29523         (gst_bin_remove_func), (gst_bin_remove), (gst_bin_get_state),
29524         (gst_bin_change_state):
29525         * gst/gstbin.h:
29526         * gst/gstbus.c: (gst_bus_get_type), (gst_bus_class_init),
29527         (gst_bus_init), (gst_bus_dispose), (gst_bus_set_property),
29528         (gst_bus_get_property), (gst_bus_new), (gst_bus_post),
29529         (gst_bus_have_pending), (gst_bus_pop), (gst_bus_peek),
29530         (gst_bus_set_sync_handler), (gst_bus_create_watch),
29531         (bus_watch_callback), (bus_watch_destroy),
29532         (gst_bus_add_watch_full), (gst_bus_add_watch), (poll_handler),
29533         (poll_timeout), (gst_bus_poll):
29534         * gst/gstbus.h:
29535         * gst/gstcaps.h:
29536         * gst/gstdata.h:
29537         * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
29538         (gst_element_post_message), (gst_element_message_full),
29539         (gst_element_get_state_func), (gst_element_get_state),
29540         (gst_element_abort_state), (gst_element_commit_state),
29541         (gst_element_lost_state), (gst_element_set_state),
29542         (gst_element_pads_activate), (gst_element_change_state),
29543         (gst_element_dispose), (gst_element_set_manager_func),
29544         (gst_element_set_bus_func), (gst_element_set_scheduler_func),
29545         (gst_element_set_manager), (gst_element_get_manager),
29546         (gst_element_set_bus), (gst_element_get_bus),
29547         (gst_element_set_scheduler), (gst_element_get_scheduler):
29548         * gst/gstelement.h:
29549         * gst/gstevent.c: (gst_event_new_segment_seek),
29550         (gst_event_new_flush):
29551         * gst/gstevent.h:
29552         * gst/gstmessage.c: (_gst_message_initialize), (_gst_message_copy),
29553         (_gst_message_free), (gst_message_get_type), (gst_message_new),
29554         (gst_message_new_eos), (gst_message_new_error),
29555         (gst_message_new_warning), (gst_message_new_tag),
29556         (gst_message_new_state_changed), (gst_message_new_application),
29557         (gst_message_get_structure), (gst_message_parse_tag),
29558         (gst_message_parse_state_changed), (gst_message_parse_error),
29559         (gst_message_parse_warning):
29560         * gst/gstmessage.h:
29561         * gst/gstpad.c: (gst_real_pad_class_init), (gst_real_pad_init),
29562         (gst_real_pad_set_property), (gst_pad_set_active),
29563         (gst_pad_is_active), (gst_pad_set_blocked_async),
29564         (gst_pad_set_blocked), (gst_pad_is_blocked),
29565         (gst_pad_set_activate_function), (gst_pad_set_loop_function),
29566         (gst_pad_set_getrange_function), (gst_pad_set_acceptcaps_function),
29567         (gst_pad_set_fixatecaps_function), (gst_pad_set_setcaps_function),
29568         (gst_pad_unlink), (gst_pad_link_prepare_filtered),
29569         (gst_pad_link_filtered), (gst_pad_relink_filtered),
29570         (gst_real_pad_get_caps_unlocked), (gst_pad_get_caps),
29571         (gst_pad_peer_get_caps), (gst_pad_fixate_caps),
29572         (gst_pad_accept_caps), (gst_pad_peer_accept_caps),
29573         (gst_pad_set_caps), (gst_pad_configure_sink),
29574         (gst_pad_configure_src), (gst_pad_get_negotiated_caps),
29575         (gst_pad_get_filter_caps), (gst_pad_alloc_buffer),
29576         (gst_real_pad_dispose), (gst_real_pad_finalize),
29577         (handle_pad_block), (gst_pad_push), (gst_pad_pull_range),
29578         (gst_pad_event_default_dispatch), (gst_pad_event_default),
29579         (gst_pad_push_event), (gst_pad_send_event), (gst_pad_get_formats):
29580         * gst/gstpad.h:
29581         * gst/gstpipeline.c: (gst_pipeline_init), (is_eos),
29582         (pipeline_bus_handler), (gst_pipeline_change_state),
29583         (gst_pipeline_get_scheduler), (gst_pipeline_get_bus):
29584         * gst/gstpipeline.h:
29585         * gst/gstprobe.h:
29586         * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
29587         (gst_queue_finalize), (gst_queue_getcaps), (gst_queue_link_sink),
29588         (gst_queue_link_src), (gst_queue_bufferalloc),
29589         (gst_queue_locked_flush), (gst_queue_handle_sink_event),
29590         (gst_queue_is_empty), (gst_queue_is_filled), (gst_queue_chain),
29591         (gst_queue_loop), (gst_queue_handle_src_event),
29592         (gst_queue_handle_src_query), (gst_queue_src_activate),
29593         (gst_queue_change_state):
29594         * gst/gstqueue.h:
29595         * gst/gstscheduler.c: (gst_scheduler_init),
29596         (gst_scheduler_dispose), (gst_scheduler_create_task),
29597         (gst_scheduler_factory_create):
29598         * gst/gstscheduler.h:
29599         * gst/gststructure.c: (gst_structure_get_type),
29600         (gst_structure_copy_conditional):
29601         * gst/gststructure.h:
29602         * gst/gsttaginterface.h:
29603         * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
29604         (gst_task_init), (gst_task_dispose), (gst_task_create),
29605         (gst_task_get_state), (gst_task_start), (gst_task_stop),
29606         (gst_task_pause):
29607         * gst/gsttask.h:
29608         * gst/gstthread.c:
29609         * gst/gstthread.h:
29610         * gst/gsttypes.h:
29611         * gst/schedulers/Makefile.am:
29612         * gst/schedulers/cothreads_compat.h:
29613         * gst/schedulers/entryscheduler.c:
29614         * gst/schedulers/faircothreads.c:
29615         * gst/schedulers/faircothreads.h:
29616         * gst/schedulers/fairscheduler.c:
29617         * gst/schedulers/gstbasicscheduler.c:
29618         * gst/schedulers/gstoptimalscheduler.c:
29619         * gst/schedulers/gthread-cothreads.h:
29620         * gst/schedulers/threadscheduler.c:
29621         (gst_thread_scheduler_task_get_type),
29622         (gst_thread_scheduler_task_class_init),
29623         (gst_thread_scheduler_task_init),
29624         (gst_thread_scheduler_task_start),
29625         (gst_thread_scheduler_task_stop),
29626         (gst_thread_scheduler_task_pause), (gst_thread_scheduler_get_type),
29627         (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
29628         (gst_thread_scheduler_init), (gst_thread_scheduler_create_task),
29629         (gst_thread_scheduler_setup), (gst_thread_scheduler_reset),
29630         (plugin_init):
29631         * libs/gst/Makefile.am:
29632         * libs/gst/bytestream/bytestream.c: (gst_bytestream_get_next_buf):
29633         * libs/gst/bytestream/filepad.c: (gst_file_pad_init),
29634         (gst_file_pad_parent_set):
29635         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
29636         (gst_dp_event_from_packet):
29637         * tests/complexity.c: (main):
29638         * tests/mass_elements.c: (main):
29639         * testsuite/states/locked.c: (message_received), (main):
29640         * testsuite/states/parent.c: (main):
29641         * tools/gst-inspect.c: (print_element_flag_info),
29642         (print_implementation_info), (print_pad_info):
29643         * tools/gst-launch.c: (check_intr), (play_handler), (event_loop),
29644         (main):
29645         * tools/gst-md5sum.c: (event_loop), (main):
29646         * tools/gst-typefind.c: (main):
29647         * tools/gst-xmlinspect.c: (print_element_info):
29648         Next big merge.
29649         Added GstBus for mainloop integration.
29650         Added GstMessage for sending notifications on the bus.
29651         Added GstTask as an abstraction for pipeline entry points.
29652         Removed GstThread.
29653         Removed Schedulers.
29654         Simplified GstQueue for multithreaded core.
29655         Made _link threadsafe, removed old capsnego.
29656         Added STREAM_LOCK and PREROLL_LOCK in GstPad.
29657         Added pad blocking functions.
29658         Reworked scheduling functions in GstPad to prepare for
29659         scheduling updates soon.
29660         Moved events out of data stream.
29661         Simplified GstEvent types.
29662         Added return values to push/pull.
29663         Removed clocking from GstElement.
29664         Added prototypes for state change function for next merge.
29665         Removed iterate from bins and state change management.
29666         Fixed some elements, disabled others for now.
29667         Fixed -inspect and -launch.
29668         Added check for GstBus.
29669
29670 2005-03-10  Wim Taymans  <wim@fluendo.com>
29671
29672         * docs/design/part-MT-refcounting.txt:
29673         * docs/design/part-clocks.txt:
29674         * docs/design/part-gstelement.txt:
29675         * docs/design/part-gstobject.txt:
29676         * docs/design/part-standards.txt:
29677         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
29678         (gst_bin_remove_func), (gst_bin_remove):
29679         * gst/gstbin.h:
29680         * gst/gstbuffer.c:
29681         * gst/gstcaps.h:
29682         * testsuite/clock/clock1.c: (main):
29683         * testsuite/clock/clock2.c: (gst_clock_debug), (element_wait),
29684         (main):
29685         * testsuite/dlopen/loadgst.c: (do_test):
29686         * testsuite/refcounting/bin.c: (add_remove_test1),
29687         (add_remove_test2), (main):
29688         * testsuite/refcounting/element.c: (main):
29689         * testsuite/refcounting/element_pad.c: (main):
29690         * testsuite/refcounting/pad.c: (main):
29691         * tools/gst-launch.c: (sigint_handler_sighandler):
29692         * tools/gst-typefind.c: (main):
29693         Doc updates.
29694         Added doc about clock.
29695         removed gst_bin_iterate_recurse_up(), marked methods
29696         for removal.
29697         Fix more testsuites.
29698
29699 2005-03-09  Wim Taymans  <wim@fluendo.com>
29700
29701         * gst/gstpad.c: (gst_pad_get_direction),
29702         (_gst_pad_default_fixate_foreach), (gst_pad_collectv),
29703         (gst_pad_collect_valist):
29704         * testsuite/bins/interface.c: (main):
29705         * testsuite/caps/audioscale.c: (test_caps):
29706         * testsuite/caps/caps.c: (test1), (test2), (test3):
29707         * testsuite/caps/deserialize.c: (main):
29708         * testsuite/caps/enumcaps.c: (main):
29709         * testsuite/caps/filtercaps.c: (main):
29710         * testsuite/caps/intersect2.c: (main):
29711         * testsuite/caps/random.c: (main):
29712         * testsuite/caps/renegotiate.c: (my_fixate), (main):
29713         * testsuite/caps/sets.c: (check_caps):
29714         * testsuite/caps/simplify.c: (check_caps), (main):
29715         * testsuite/caps/subtract.c: (check_caps):
29716         Fix _pad_get_direction wrt ghostpads.
29717         Fix caps testsuite.
29718
29719 2005-03-09  Wim Taymans  <wim@fluendo.com>
29720
29721         * check/Makefile.am:
29722         * check/gst/gstbin.c: (START_TEST), (gst_bin_suite), (main):
29723         * check/gst/gstsystemclock.c: (START_TEST), (gst_clock_debug),
29724         (ok_callback), (error_callback), (gst_systemclock_suite), (main):
29725         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_index_func),
29726         (gst_bin_set_clock_func), (gst_bin_get_clock_func),
29727         (gst_bin_add_func), (gst_bin_add), (gst_bin_remove_func),
29728         (gst_bin_remove), (gst_bin_iterate_recurse_up),
29729         (bin_element_is_sink), (gst_bin_iterate_sinks),
29730         (gst_bin_iterate_all_by_interface):
29731         * gst/gstbin.h:
29732         * gst/gstelement.c: (gst_element_init), (gst_element_error_full),
29733         (gst_element_change_state), (gst_element_dispose),
29734         (gst_element_finalize), (gst_element_set_loop_function):
29735         * gst/gstelement.h:
29736         * gst/gstiterator.c: (find_custom_fold_func):
29737         * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
29738         (gst_pad_collectv), (gst_pad_collect_valist),
29739         (gst_pad_template_new):
29740         * gst/gstpipeline.c: (gst_pipeline_class_init),
29741         (gst_pipeline_dispose), (gst_pipeline_set_property),
29742         (gst_pipeline_get_property), (gst_pipeline_get_clock_func),
29743         (gst_pipeline_get_clock), (gst_pipeline_use_clock),
29744         (gst_pipeline_set_clock), (gst_pipeline_auto_clock):
29745         * gst/gstutils.h:
29746         * gst/schedulers/entryscheduler.c:
29747         * gst/schedulers/gstbasicscheduler.c:
29748         (gst_basic_scheduler_cothreaded_chain),
29749         (gst_basic_scheduler_chain_add_element):
29750         * testsuite/bins/interface.c: (main):
29751         Added GstBin test.
29752         Added GstSystemClock test.
29753         Implemented clock distribution code in GstBin.
29754         Implemented iterate sinks method for future use.
29755         Rearranged gstelement.h
29756         Fix GstIterator comparison bug.
29757         Moved some code to GstPipeline, mostly clocking related.
29758
29759 2005-03-09  Wim Taymans  <wim@fluendo.com>
29760
29761         * configure.ac:
29762         * gst/gst_private.h:
29763         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
29764         (gst_bin_remove_func), (gst_bin_remove),
29765         (gst_bin_get_by_name_recurse_up):
29766         * gst/gstclock.c: (gst_clock_id_ref), (gst_clock_id_unref),
29767         (gst_clock_id_compare_func), (gst_clock_id_wait),
29768         (gst_clock_id_wait_async), (gst_clock_init),
29769         (gst_clock_adjust_unlocked), (gst_clock_get_time):
29770         * gst/gstelement.h:
29771         * gst/gstinfo.c: (_gst_debug_init):
29772         * gst/gstobject.h:
29773         * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
29774         (gst_pad_collectv), (gst_pad_collect_valist), (gst_pad_query):
29775         * gst/gstpad.h:
29776         Bump version number, we're now 0.9.0
29777         Add future debugging category.
29778         Fix NULL _unref() in _get_by_name_recurse_up
29779         Rearrange gstpad.h.
29780         Update some docs.
29781
29782 2005-03-08  Wim Taymans  <wim@fluendo.com>
29783
29784         * gst/elements/gstaggregator.c: (gst_aggregator_class_init):
29785         * gst/elements/gstfakesink.c: (gst_fakesink_class_init):
29786         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
29787         * gst/elements/gstfdsink.c: (gst_fdsink_class_init):
29788         * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init):
29789         * gst/elements/gstfilesink.c: (gst_filesink_class_init):
29790         * gst/elements/gstfilesrc.c: (gst_filesrc_class_init):
29791         * gst/elements/gstidentity.c: (gst_identity_class_init):
29792         * gst/elements/gstmd5sink.c: (gst_md5sink_class_init):
29793         * gst/elements/gstmultifilesrc.c: (gst_multifilesrc_class_init):
29794         * gst/elements/gstshaper.c: (gst_shaper_class_init):
29795         * gst/elements/gststatistics.c: (gst_statistics_class_init):
29796         * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_getcaps),
29797         (gst_tee_link):
29798         * gst/gstelement.c: (gst_element_class_init),
29799         (gst_element_base_class_init), (gst_element_init),
29800         (gst_element_get_random_pad), (gst_element_wait_state_change),
29801         (gst_element_change_state), (gst_element_dispose),
29802         (gst_element_finalize), (gst_element_set_loop_function):
29803         * gst/gstelement.h:
29804         * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_link_src):
29805         * gst/gstthread.c: (gst_thread_class_init),
29806         (gst_thread_release_children_locks), (gst_thread_change_state):
29807         * gst/schedulers/gstbasicscheduler.c:
29808         (gst_basic_scheduler_loopfunc_wrapper),
29809         (gst_basic_scheduler_chain_wrapper),
29810         (gst_basic_scheduler_src_wrapper),
29811         (gst_basic_scheduler_remove_element):
29812         * gst/schedulers/gstoptimalscheduler.c: (schedule_group):
29813         Remove threadsafe properties. Fix elements because GObject
29814         complains when installing a property before declaring a
29815         set/get_property handler.
29816         Rearrange gstelement.h file, use STATE macros for state locks.
29817         Free mutexes in the finalize method instead of dispose.
29818
29819 2005-03-08  Wim Taymans  <wim@fluendo.com>
29820
29821         * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
29822         * gst/gstthread.c: (gst_thread_release_children_locks):
29823         Added parentage check.
29824         Fix build og GstThread again.
29825
29826 2005-03-08  Wim Taymans  <wim@fluendo.com>
29827
29828         * docs/design/part-MT-refcounting.txt:
29829         * docs/design/part-conventions.txt:
29830         * docs/design/part-gstobject.txt:
29831         * docs/design/part-relations.txt:
29832         * docs/design/part-standards.txt:
29833         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
29834         (gst_bin_remove_func), (gst_bin_remove), (gst_bin_iterate_recurse),
29835         (gst_bin_get_by_name), (gst_bin_get_by_interface),
29836         (gst_bin_iterate_all_by_interface):
29837         * gst/gstbuffer.h:
29838         * gst/gstclock.h:
29839         * gst/gstelement.c: (gst_element_class_init),
29840         (gst_element_change_state), (gst_element_set_loop_function):
29841         * gst/gstelement.h:
29842         * gst/gstiterator.c:
29843         * gst/gstobject.c: (gst_object_class_init), (gst_object_ref),
29844         (gst_object_unref), (gst_object_sink), (gst_object_dispose),
29845         (gst_object_dispatch_properties_changed), (gst_object_set_name),
29846         (gst_object_set_parent), (gst_object_unparent),
29847         (gst_object_check_uniqueness):
29848         * gst/gstobject.h:
29849         Docs updates, clean up some headers.
29850
29851 2005-03-07  Wim Taymans  <wim@fluendo.com>
29852
29853         * check/.cvsignore:
29854         * check/Makefile.am:
29855         * check/gst-libs/.cvsignore:
29856         * check/gst-libs/gdp.c: (START_TEST), (gst_object_suite), (main):
29857         * check/gst/.cvsignore:
29858         * check/gst/gstbus.c: (pound_bus_with_messages), (pull_messages),
29859         (START_TEST), (gstbus_suite), (main):
29860         * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite), (main):
29861         * check/gst/gstdata.c: (START_TEST), (thread_ref), (thread_unref),
29862         (gst_data_suite), (main):
29863         * check/gst/gstiterator.c: (make_list_of_ints), (START_TEST),
29864         (add_fold_func), (gstiterator_suite), (main):
29865         * check/gst/gstobject.c: (gst_fake_object_get_type), (START_TEST),
29866         (thread_name_object), (thread_name_object_default),
29867         (gst_object_name_compare), (gst_object_suite), (main):
29868         * check/gst/gstpad.c: (START_TEST), (thread_link_unlink),
29869         (gst_pad_suite), (main):
29870         * check/gstcheck.c: (gst_check_log_message_func),
29871         (gst_check_log_critical_func), (gst_check_init):
29872         * check/gstcheck.h:
29873         * check/pipelines/simple_launch_lines.c: (setup_pipeline),
29874         (run_pipeline), (START_TEST), (simple_launch_lines_suite), (main):
29875         Added checks.
29876
29877 2005-03-07  Wim Taymans  <wim@fluendo.com>
29878
29879         * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
29880         (gst_list_iterator_next), (gst_list_iterator_resync),
29881         (gst_list_iterator_free), (gst_iterator_new_list),
29882         (gst_iterator_pop), (gst_iterator_next), (gst_iterator_resync),
29883         (gst_iterator_free), (gst_iterator_push), (filter_next),
29884         (filter_resync), (filter_uninit), (filter_free),
29885         (gst_iterator_filter), (gst_iterator_fold), (foreach_fold_func),
29886         (gst_iterator_foreach), (find_custom_fold_func),
29887         (gst_iterator_find_custom):
29888         * gst/gstiterator.h:
29889         Added missing files.
29890
29891 2005-03-07  Wim Taymans  <wim@fluendo.com>
29892
29893         * Makefile.am:
29894         * configure.ac:
29895         * docs/design/part-MT-refcounting.txt:
29896         * docs/design/part-conventions.txt:
29897         * docs/design/part-gstobject.txt:
29898         * docs/design/part-relations.txt:
29899         * examples/mixer/mixer.c: (main):
29900         * examples/thread/thread.c: (eos), (main):
29901         * gst/Makefile.am:
29902         * gst/autoplug/gstsearchfuncs.c: (gst_autoplug_caps_intersect):
29903         * gst/autoplug/gstspider.c: (gst_spider_identity_plug),
29904         (gst_spider_plug_from_srcpad):
29905         * gst/autoplug/gstspideridentity.c: (gst_spider_identity_getcaps),
29906         (gst_spider_identity_change_state),
29907         (gst_spider_identity_sink_loop_type_finding):
29908         * gst/elements/gstfakesrc.c: (gst_fakesrc_loop):
29909         * gst/elements/gstidentity.c: (gst_identity_init):
29910         * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_getcaps),
29911         (gst_tee_link), (gst_tee_request_new_pad), (gst_tee_chain):
29912         * gst/elements/gsttypefindelement.c: (free_entry):
29913         * gst/gst.c:
29914         * gst/gst.h:
29915         * gst/gstbin.c: (gst_bin_init), (gst_bin_get_clock_func),
29916         (gst_bin_set_clock_func), (gst_bin_auto_clock),
29917         (gst_bin_set_index), (gst_bin_set_element_sched),
29918         (gst_bin_unset_element_sched), (gst_bin_add_func), (gst_bin_add),
29919         (gst_bin_remove_func), (gst_bin_remove), (iterate_child),
29920         (gst_bin_iterate_elements), (iterate_child_recurse),
29921         (gst_bin_iterate_recurse), (gst_bin_dispose), (compare_name),
29922         (gst_bin_get_by_name), (gst_bin_get_by_name_recurse_up),
29923         (compare_interface), (gst_bin_get_by_interface),
29924         (gst_bin_iterate_all_by_interface), (gst_bin_iterate_func):
29925         * gst/gstbin.h:
29926         * gst/gstbuffer.c: (gst_buffer_get_type), (_gst_buffer_sub_free),
29927         (gst_buffer_default_free), (gst_buffer_default_copy),
29928         (gst_buffer_new), (gst_buffer_get_caps), (gst_buffer_set_caps),
29929         (gst_buffer_create_sub):
29930         * gst/gstbuffer.h:
29931         * gst/gstcaps.c: (gst_caps_get_type), (gst_caps_new_empty),
29932         (_gst_caps_free), (gst_caps_make_writable), (gst_caps_ref),
29933         (gst_caps_unref), (gst_static_caps_get),
29934         (gst_caps_remove_and_get_structure), (gst_caps_append),
29935         (gst_caps_append_structure), (gst_caps_remove_structure),
29936         (gst_caps_copy_nth), (gst_caps_set_simple),
29937         (gst_caps_set_simple_valist), (gst_caps_is_fixed_foreach),
29938         (gst_structure_is_equal_foreach), (gst_caps_is_subset),
29939         (gst_caps_structure_intersect_field), (gst_caps_intersect),
29940         (gst_caps_structure_subtract_field), (gst_caps_subtract),
29941         (gst_caps_normalize_foreach), (gst_caps_compare_structures),
29942         (gst_caps_structure_figure_out_union),
29943         (gst_caps_switch_structures), (gst_caps_do_simplify),
29944         (gst_caps_replace), (gst_caps_from_string),
29945         (gst_caps_copy_conditional):
29946         * gst/gstcaps.h:
29947         * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_id_ref),
29948         (_gst_clock_id_free), (gst_clock_id_unref),
29949         (gst_clock_id_compare_func), (gst_clock_id_wait),
29950         (gst_clock_id_wait_async), (gst_clock_class_init),
29951         (gst_clock_init), (gst_clock_dispose), (gst_clock_adjust_unlocked),
29952         (gst_clock_get_time), (gst_clock_set_time_adjust),
29953         (gst_clock_set_property), (gst_clock_get_property):
29954         * gst/gstclock.h:
29955         * gst/gstcompat.h:
29956         * gst/gstcpu.c: (_gst_cpu_initialize_i386), (gst_cpu_get_flags):
29957         * gst/gstdata.c: (gst_data_is_writable), (gst_data_copy_on_write):
29958         * gst/gstdata.h:
29959         * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
29960         (gst_element_requires_clock), (gst_element_provides_clock),
29961         (gst_element_set_clock), (gst_element_clock_wait),
29962         (gst_element_wait), (gst_element_set_time_delay),
29963         (gst_element_is_indexable), (gst_element_add_pad),
29964         (gst_element_add_ghost_pad), (gst_element_remove_pad),
29965         (pad_compare_name), (gst_element_get_static_pad),
29966         (gst_element_request_pad), (gst_element_get_request_pad),
29967         (gst_element_get_pad), (iterate_pad), (gst_element_iterate_pads),
29968         (gst_element_class_get_pad_template_list),
29969         (gst_element_class_get_pad_template), (gst_element_error_func),
29970         (gst_element_get_random_pad), (gst_element_get_event_masks),
29971         (gst_element_send_event), (gst_element_seek),
29972         (gst_element_get_query_types), (gst_element_query),
29973         (gst_element_get_formats), (gst_element_convert),
29974         (gst_element_is_locked_state), (gst_element_set_locked_state),
29975         (gst_element_sync_state_with_parent), (gst_element_change_state),
29976         (gst_element_finalize), (gst_element_yield),
29977         (gst_element_interrupt), (gst_element_set_scheduler),
29978         (gst_element_get_scheduler), (gst_element_set_loop_function):
29979         * gst/gstelement.h:
29980         * gst/gstevent.h:
29981         * gst/gstformat.c: (_gst_format_initialize), (gst_format_register),
29982         (gst_format_get_by_nick), (gst_format_get_details),
29983         (gst_format_iterate_definitions):
29984         * gst/gstformat.h:
29985         * gst/gstindex.c: (gst_index_gtype_resolver):
29986         * gst/gstinfo.c:
29987         * gst/gstinfo.h:
29988         * gst/gstmemchunk.c: (gst_mem_chunk_alloc), (gst_mem_chunk_alloc0),
29989         (gst_mem_chunk_free):
29990         * gst/gstobject.c: (gst_object_class_init), (gst_object_init),
29991         (gst_object_ref), (gst_object_unref), (gst_object_sink),
29992         (gst_object_replace), (gst_object_dispose), (gst_object_finalize),
29993         (gst_object_dispatch_properties_changed),
29994         (gst_object_set_name_default), (gst_object_set_name),
29995         (gst_object_get_name), (gst_object_set_name_prefix),
29996         (gst_object_get_name_prefix), (gst_object_set_parent),
29997         (gst_object_get_parent), (gst_object_unparent),
29998         (gst_object_check_uniqueness), (gst_object_save_thyself),
29999         (gst_object_restore_thyself), (gst_object_real_restore_thyself),
30000         (gst_object_set_property), (gst_object_get_property),
30001         (gst_object_get_path_string):
30002         * gst/gstobject.h:
30003         * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
30004         (gst_real_pad_init), (gst_real_pad_get_property),
30005         (gst_pad_custom_new), (gst_pad_get_direction),
30006         (gst_pad_set_active), (gst_pad_is_active),
30007         (gst_pad_set_event_function), (gst_pad_is_linked),
30008         (gst_pad_link_free), (gst_pad_link_intersect),
30009         (gst_pad_link_fixate), (gst_pad_set_caps),
30010         (gst_pad_try_set_caps_nonfixed), (gst_pad_set_pad_template),
30011         (gst_pad_get_real_parent), (gst_pad_add_ghost_pad),
30012         (gst_pad_remove_ghost_pad), (_gst_pad_default_fixate_foreach),
30013         (gst_pad_link_unnegotiate), (gst_pad_proxy_fixate),
30014         (gst_pad_get_caps), (gst_pad_peer_get_caps),
30015         (gst_pad_get_pad_template_caps), (gst_pad_get_peer),
30016         (gst_pad_realize), (gst_pad_get_allowed_caps),
30017         (gst_real_pad_dispose), (gst_real_pad_finalize),
30018         (gst_pad_collectv), (gst_pad_collect_valist),
30019         (gst_pad_template_dispose), (gst_pad_template_new),
30020         (gst_pad_get_internal_links):
30021         * gst/gstpad.h:
30022         * gst/gstpipeline.c: (gst_pipeline_dispose),
30023         (gst_pipeline_change_state):
30024         * gst/gstpipeline.h:
30025         * gst/gstplugin.c:
30026         * gst/gstpluginfeature.c: (gst_plugin_feature_get_name),
30027         (gst_plugin_feature_set_rank), (gst_plugin_feature_get_rank):
30028         * gst/gstpluginfeature.h:
30029         * gst/gstprobe.c: (gst_probe_dispatcher_dispatch):
30030         * gst/gstquery.c: (_gst_query_type_initialize),
30031         (gst_query_type_register), (gst_query_type_get_by_nick),
30032         (gst_query_type_get_details), (gst_query_type_iterate_definitions):
30033         * gst/gstquery.h:
30034         * gst/gstqueue.c: (gst_queue_link_sink), (gst_queue_link_src):
30035         * gst/gstscheduler.c: (gst_scheduler_add_element),
30036         (gst_scheduler_factory_create):
30037         * gst/gststructure.c: (gst_structure_set_parent_refcount),
30038         (gst_structure_free), (gst_structure_set_name),
30039         (gst_structure_id_set_value), (gst_structure_set_value),
30040         (gst_structure_set_valist), (gst_structure_remove_field),
30041         (gst_structure_remove_fields),
30042         (gst_structure_remove_fields_valist),
30043         (gst_structure_remove_all_fields), (gst_structure_foreach),
30044         (gst_structure_map_in_place),
30045         (gst_caps_structure_fixate_field_nearest_int),
30046         (gst_caps_structure_fixate_field_nearest_double):
30047         * gst/gststructure.h:
30048         * gst/gstsystemclock.c: (gst_system_clock_class_init),
30049         (gst_system_clock_init), (gst_system_clock_dispose),
30050         (gst_system_clock_async_thread),
30051         (gst_system_clock_id_wait_unlocked), (gst_system_clock_id_wait),
30052         (gst_system_clock_id_wait_async), (gst_system_clock_id_unschedule):
30053         * gst/gstsystemclock.h:
30054         * gst/gsttag.c: (gst_tag_list_add_value_internal),
30055         (gst_tag_list_copy_foreach), (structure_foreach_wrapper):
30056         * gst/gsttaginterface.c:
30057         * gst/gstthread.c: (gst_thread_dispose),
30058         (gst_thread_release_children_locks), (gst_thread_change_state),
30059         (gst_thread_main_loop):
30060         * gst/gsttrashstack.h:
30061         * gst/gsttypefind.c: (gst_type_find_factory_dispose):
30062         * gst/gsttypes.h:
30063         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
30064         (gst_element_request_pad), (gst_element_get_pad_from_template),
30065         (gst_element_request_compatible_pad),
30066         (gst_element_get_compatible_pad_filtered),
30067         (gst_element_get_compatible_pad), (gst_element_state_get_name),
30068         (gst_element_link_pads_filtered), (gst_element_link_filtered),
30069         (gst_element_link_many), (gst_element_link),
30070         (gst_element_link_pads), (gst_element_unlink_pads),
30071         (gst_element_unlink_many), (gst_element_unlink),
30072         (gst_pad_can_link_filtered), (gst_pad_can_link),
30073         (gst_pad_use_fixed_caps), (gst_pad_get_fixed_caps_func),
30074         (gst_object_default_error), (gst_bin_add_many),
30075         (gst_bin_remove_many), (gst_element_populate_std_props),
30076         (gst_element_class_install_std_props), (gst_buffer_merge),
30077         (gst_buffer_stamp), (intersect_caps_func), (gst_pad_proxy_getcaps),
30078         (link_fold_func), (gst_pad_proxy_setcaps):
30079         * gst/gstutils.h:
30080         * gst/gstvalue.c: (gst_value_deserialize_string):
30081         * gst/parse/grammar.y:
30082         * gst/schedulers/gstbasicscheduler.c:
30083         (gst_basic_scheduler_cothreaded_chain),
30084         (gst_basic_scheduler_chain_recursive_add),
30085         (gst_basic_scheduler_pad_link):
30086         * gst/schedulers/gstoptimalscheduler.c:
30087         (get_group_schedule_function),
30088         (gst_opt_scheduler_state_transition),
30089         (gst_opt_scheduler_add_element), (element_get_reachables_func):
30090         * libs/gst/bytestream/bytestream.c:
30091         * libs/gst/dataprotocol/dataprotocol.c:
30092         (gst_dp_header_from_buffer):
30093         * po/nb.po:
30094         * po/ru.po:
30095         * tests/threadstate/threadstate2.c: (eos):
30096         * tools/gst-compprep.c: (main):
30097         * tools/gst-inspect.c: (print_field), (print_element_flag_info),
30098         (print_pad_info), (print_children_info):
30099         * tools/gst-launch.c: (idle_func), (main):
30100         * tools/gst-md5sum.c: (idle_func), (main):
30101         * tools/gst-xmlinspect.c: (print_element_info):
30102         First THREADED backport attempt, focusing on adding locks and
30103         making sure the API is threadsafe. Needs more work. More docs
30104         follow this week.
30105
30106 2005-02-24  Andy Wingo  <wingo@pobox.com>
30107
30108         * tests/bench-complexity.scm:
30109         * tests/complexity.gnuplot: New files, good for running complexity
30110         benchmarks.
30111
30112         * tests/Makefile.am:
30113         * tests/complexity.c: New test, sets up N elements, at each level
30114         teeing into M streams per element. Eeeenteresting.
30115
30116         * tests/mass_elements.gnuplot: gnuplot file for the mass_elements
30117         benchmark. Run as gnuplot mass_elements.gnuplot > foo.ps, after
30118         running bench-mass_elements.scm.
30119
30120         * tests/bench-mass_elements.scm: New script, runs mass_elements
30121         for various numbers of identities, outputting the results to a
30122         file. Requires guile 1.6. Just for testing.
30123
30124 2005-02-23  Thomas Vander Stichele  <thomas at apestaart dot org>
30125
30126         * gst/schedulers/fairscheduler.c:
30127           compile with debug disabled
30128
30129 2005-02-22  Thomas Vander Stichele  <thomas at apestaart dot org>
30130
30131         * configure.ac:
30132           hunting season on 0.9 is now OPEN