win32/common/libgstbase.def: Sort alphabetically so make check-exports doesn't barf.
[platform/upstream/gstreamer.git] / ChangeLog
1 2008-07-01  Tim-Philipp Müller  <tim.muller at collabora co uk>
2
3         * win32/common/libgstbase.def::
4           Sort alphabetically so make check-exports doesn't barf.
5
6 2008-07-01  Stefan Kost  <ensonic@users.sf.net>
7
8         * gst/gstevent.c:
9           Use gst_format_get_name() to improve debug output.
10
11         * gst/gstpreset.c:
12           Remove #ifdef'ed code. Add TODO comment.
13
14         * gst/gstsegment.c:
15           Add debug output to ease spotting format != segment.format assertions.
16
17 2008-06-30  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
18
19         * tests/check/libs/gdp.c: (gst_dp_suite):
20         Also enable the GDP unit test again on PPC now that the bug
21         is fixed.
22
23 2008-06-30  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
24
25         * libs/gst/dataprotocol/dataprotocol.c:
26         Don't write to the same region of memory as a uint64 and uint16
27         as this breaks strict aliasing rules and apparantly breaks on PPC
28         and s390. Thanks to Sjoerd Simons for analysing. Fixes bug #348114.
29
30 2008-06-29  Stefan Kost  <ensonic@users.sf.net>
31
32         * libs/gst/controller/gstinterpolationcontrolsource.c:
33           Optimize list handling. Use own find function. Exploit that fact that
34           the list is sorted. Also pass back the node before, so that we can
35           insert quickly. Have a fast path for append.
36
37 2008-06-29  Stefan Kost  <ensonic@users.sf.net>
38
39         * docs/design/draft-framestep.txt:
40         * docs/design/part-negotiation.txt:
41           Fix two typos.
42
43 2008-06-27  Stefan Kost  <ensonic@users.sf.net>
44
45         * configure.ac:
46           Show configuration sumary after configure run. Based on patch by
47           Luc Pionchon <luc.pionchon@nokia.com>. Fixes: #540134
48
49 2008-06-27  Stefan Kost  <ensonic@users.sf.net>
50
51         patch by: Luc Pionchon  <luc.pionchon@nokia.com>
52
53         * docs/manual/advanced-autoplugging.xml:
54         * docs/manual/advanced-threads.xml:
55         * docs/manual/basics-bins.xml:
56         * docs/manual/basics-elements.xml:
57         * docs/manual/basics-helloworld.xml:
58         * docs/manual/basics-pads.xml:
59           Add scale factor for pdf output.
60
61         * docs/manual/intro-basics.xml:
62           Switched sections "pads" and "bins" and added a pipeline diagram.
63
64         * docs/manual/intro-gstreamer.xml:
65           Added more info on gstreamer.
66
67         * docs/manual/intro-motivation.xml:
68           Commented out the whole section "current problem", which sounds
69           historical and somehow osolete; it could be turned in a positive
70           way and reused to improve the design principles.
71
72         * docs/manual/intro-preface.xml:
73           - Update URLs to library.gnome.org. 
74           - Do not mention GTK+ in preliminary reading (irrelevant). 
75           - Mention Plugin Writer's Manual and further reading only in the
76             previous section.
77           - Added a list of most relevant GObject/glib topics.
78
79         * docs/manual/Makefile.am:
80         * docs/manual/bin-element-ghost.fig:
81         * docs/manual/bin-element-ghost.png:
82         * docs/manual/bin-element-noghost.fig:
83         * docs/manual/bin-element-noghost.png:
84         * docs/manual/bin-element.fig:
85         * docs/manual/bin-element.png:
86         * docs/manual/filter-element-multi.fig:
87         * docs/manual/filter-element-multi.png:
88         * docs/manual/filter-element.fig:
89         * docs/manual/filter-element.png:
90         * docs/manual/gstreamer-overview.png:
91         * docs/manual/hello-world.fig:
92         * docs/manual/hello-world.png:
93         * docs/manual/linked-elements.fig:
94         * docs/manual/linked-elements.png:
95         * docs/manual/mime-world.fig:
96         * docs/manual/mime-world.png:
97         * docs/manual/queue.fig:
98         * docs/manual/queue.png:
99         * docs/manual/simple-player.png:
100         * docs/manual/sink-element.fig:
101         * docs/manual/sink-element.png:
102         * docs/manual/src-element.fig:
103         * docs/manual/src-element.png:
104         * docs/manual/diagrams-general.svg:
105         * docs/manual/diagrams-pipelines.svg:
106           Removed .fig, added .png counterpart.
107           
108           Fixes: #539137
109
110 2008-06-26  Thijs Vermeir  <thijsvermeir@gmail.com>
111
112         * plugins/elements/gstmultiqueue.c:
113         * plugins/elements/gstmultiqueue.h:
114         revert extra-size-buffers stuff, caused some race conditions
115         and extra-size-buffers is not used anymore. Docs needs some updates
116
117 2008-06-26  Tim-Philipp Müller  <tim.muller at collabora co uk>
118
119         * win32/common/config.h:
120         * win32/common/gstenumtypes.c:
121         * win32/common/gstenumtypes.h:
122         * win32/common/gstversion.h:
123           Update win32 files.
124
125 2008-06-26  Tim-Philipp Müller  <tim.muller at collabora co uk>
126
127         * gst/gstdebugutils.h: (GstDebugGraphDetails),
128           (GST_DEBUG_BIN_TO_DOT_FILE):
129           Add missing Since' markers to gtk-doc blurbs.
130
131 2008-06-26  Wim Taymans  <wim.taymans@collabora.co.uk>
132
133         * tests/check/libs/transform1.c: (buffer_alloc_pt1),
134         (set_caps_pt1), (GST_START_TEST), (set_caps_pt2), (transform_ip_1),
135         (set_caps_1), (set_caps_ct1), (transform_ct1),
136         (transform_caps_ct1), (transform_size_ct1), (buffer_alloc_ct1),
137         (set_caps_ct2), (transform_ct2), (transform_caps_ct2),
138         (transform_size_ct2), (buffer_alloc_ct2):
139         Add some more tests with switching caps in buffer_alloc.
140
141 2008-06-25  Wim Taymans  <wim.taymans@collabora.co.uk>
142
143         * tests/check/libs/test_transform.c: (gst_test_trans_base_init),
144         (gst_test_trans_class_init), (result_sink_chain),
145         (result_buffer_alloc), (gst_test_trans_new), (gst_test_trans_free),
146         (gst_test_trans_push), (gst_test_trans_pop):
147         * tests/check/libs/transform1.c: (buffer_alloc_pt1),
148         (set_caps_pt1), (GST_START_TEST), (set_caps_pt2), (transform_ip_1),
149         (set_caps_1), (set_caps_ct1), (transform_ct1),
150         (transform_caps_ct1), (transform_size_ct1), (buffer_alloc_ct1),
151         (set_caps_ct2), (transform_ct2), (transform_caps_ct2),
152         (transform_size_ct2), (buffer_alloc_ct2),
153         (gst_basetransform_suite):
154         More tests, prepare for tests with switching caps in buffer_alloc.
155
156 2008-06-25  Thijs Vermeir  <thijsvermeir@gmail.com>
157
158         * plugins/elements/gstmultiqueue.c:
159         * plugins/elements/gstmultiqueue.h:
160         Fix dead-lock in underrun_cb
161
162 2008-06-25  Wim Taymans  <wim.taymans@collabora.co.uk>
163
164         * docs/design/part-states.txt:
165         Fix device open/close docs.
166
167 2008-06-25  Stefan Kost  <ensonic@users.sf.net>
168
169         * ChangeLog:
170           Mention bugnumber for last commit.
171
172 2008-06-25  Stefan Kost  <ensonic@users.sf.net>
173
174         patch by: Luc Pionchon  <luc.pionchon@nokia.com>
175
176         * docs/manual/manual.xml:
177         - Reorganised the previous "introduction" bundle into Foreword,
178         Introduction, and About GStreamer. The two first are <preface>
179         docbook elements. The later is the first part of the book.
180         - added intro-gstreamer.xml (content partially from
181         intro-preface.xml)
182         - moved appendix-win32.xml into appendix-integration.xml
183
184         * docs/manual/intro-preface.xml: gstreamer section moved...
185         * docs/manual/intro-gstreamer.xml: ...here. new file.
186
187         * docs/manual/appendix-win32.xml: removed file. Content moved...
188         * docs/manual/appendix-integration.xml: ...here.
189         
190         * docs/manual/highlevel-components.xml: section about GstEditor moved...
191         * docs/manual/appendix-checklist.xml: ...here.
192         
193         Fixes: 538764
194
195 2008-06-25  Stefan Kost  <ensonic@users.sf.net>
196
197         patch by: Luc Pionchon  <luc.pionchon@nokia.com>
198
199         * docs/manual/basics-helloworld.xml:
200         * docs/manual/hello-world.fig:
201           - Explicitely include glib.h.
202           - Do not use global variables.
203           - Use g_printerr() instead of g_print().
204           - Minor formating/renaming to increase readibility.
205           - Renamed new_pad() to on_pad_added()
206           - Improved explenatory comments.
207           - renamed ogg parser to ogg demuxer
208           - Use "autoaudiosink" instead of "alsasink".
209           Fixes: #538619
210
211 2008-06-25  Stefan Kost  <ensonic@users.sf.net>
212
213         * ChangeLog:
214           Remove cvs conflict marker.
215
216 2008-06-25  Stefan Kost  <ensonic@users.sf.net>
217
218         * docs/README:
219           Document that for plgin-docs we extraxt he short-desc from the element
220           details.
221
222         * docs/design/part-states.txt:
223           Tell that devices should be closed in PAUSED -> READY.
224
225         * docs/manual/README:
226           Document how tests in the manual are handled.
227
228         * docs/manuals.mak:
229           Typo in comment.
230
231 2008-06-25  Wim Taymans  <wim.taymans@collabora.co.uk>
232
233         * gst/gstbin.c: (bin_query_latency_fold):
234         Only care about latency min and max when the sink is actually a live
235         sink.
236
237 2008-06-25  Wim Taymans  <wim.taymans@collabora.co.uk>
238
239         * docs/design/part-block.txt:
240         Fix typo.
241
242         * docs/design/part-element-transform.txt:
243         Add notes about why transform needs to know input/output sizes.
244         Add some issues that need to be solved.
245         Add some more use cases.
246
247         * tests/check/libs/test_transform.c: (gst_test_trans_base_init),
248         (gst_test_trans_class_init), (result_sink_chain),
249         (result_buffer_alloc), (gst_test_trans_new), (gst_test_trans_free),
250         (gst_test_trans_push), (gst_test_trans_pop):
251         * tests/check/libs/transform1.c: (buffer_alloc_pt1),
252         (set_caps_pt1), (GST_START_TEST), (set_caps_pt2), (transform_ip_1),
253         (set_caps_1), (set_caps_ct1), (transform_ct1),
254         (transform_caps_ct1), (transform_size_ct1), (buffer_alloc_ct1),
255         (gst_basetransform_suite):
256         Add suport for different pad templates and buffer-alloc.
257         Add more checks for caps and buffer-alloc.
258         Add checks for proxy buffer alloc.
259         Add unit test for copy transform.
260
261 2008-06-24  Tim-Philipp Müller  <tim.muller at collabora co uk>
262
263         Patch by: Luc Pionchon  <luc.pionchon@nokia.com>
264
265         * docs/manual/appendix-integration.xml:
266         * docs/manual/appendix-licensing.xml:
267         * docs/manual/basics-elements.xml:
268         * docs/manual/basics-helloworld.xml:
269         * docs/manual/basics-pads.xml:
270         * docs/manual/highlevel-components.xml:
271         * docs/manual/highlevel-xml.xml:
272         * docs/manual/intro-basics.xml:
273         * docs/manual/intro-preface.xml:
274           Typo and formatting fixes (#538594).
275
276 2008-06-24  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
277
278         * tests/check/gst/gstghostpad.c: (GST_START_TEST):
279         Fix some memory leaks and uses of object instances that we don't
280         actually own.
281
282 2008-06-22  Thijs Vermeir  <thijsvermeir@gmail.com>
283
284         * plugins/elements/gstmultiqueue.c:
285         Add functionality to extra-size-buffers property.
286
287 2008-06-22  Thijs Vermeir  <thijsvermeir@gmail.com>
288
289         * plugins/elements/gstmultiqueue.c:
290         Don't update the cur_time on GST_CLOCK_TIME_NONE (#537804) and don't
291         activate the pads if they are added in STATE_NULL.
292
293 2008-06-21  Thijs Vermeir  <thijsvermeir@gmail.com>
294
295         * docs/libs/gstreamer-libs-sections.txt:
296         Add new API to doc
297         * libs/gst/check/gstcheck.c:
298         * libs/gst/check/gstcheck.h:
299         API: gst_check_teardown_pad_by_name
300
301 2008-06-21  Thijs Vermeir  <thijsvermeir@gmail.com>
302
303         * libs/gst/check/gstcheck.c:
304         * libs/gst/check/gstcheck.h:
305         Also setup request pads and allow setup pads by name (#537812)
306         API: gst_check_setup_src_pad_by_name
307         API: gst_check_setup_sink_pad_by_name
308
309 2008-06-20  Thomas Vander Stichele  <thomas at apestaart dot org>
310
311         * tests/check/gst/gstbuffer.c:
312         * tests/check/pipelines/parse-launch.c:
313           Use HAVE_VALGRIND_H some more.
314
315 2008-06-20  Thomas Vander Stichele  <thomas at apestaart dot org>
316
317         * scripts/cvs-update.sh:
318           Pass arguments to make.
319           Run autoregen.sh if Makefile is not there.
320
321 2008-06-20  Thomas Vander Stichele  <thomas at apestaart dot org>
322
323         * configure.ac:
324         * gst/gstinfo.c:
325           Don't assume that <valgrind/valgrind.h> exists just because
326           the binary is there.
327
328 2008-06-20  Wim Taymans  <wim.taymans@collabora.co.uk>
329
330         * tests/check/Makefile.am:
331         * tests/check/libs/test_transform.c: (gst_test_trans_base_init),
332         (gst_test_trans_class_init), (gst_test_trans_init),
333         (gst_test_trans_set_data), (result_sink_chain),
334         (gst_test_trans_new), (gst_test_trans_free), (gst_test_trans_push),
335         (gst_test_trans_pop):
336         * tests/check/libs/transform1.c: (GST_START_TEST),
337         (transform_ip_1), (set_caps_1), (gst_basetransform_suite):
338         Add some test basetransform element and the beginnings of various
339         unit tests for it.
340
341 2008-06-20  Wim Taymans  <wim.taymans@collabora.co.uk>
342
343         * libs/gst/base/gsttypefindhelper.c: (helper_find_peek):
344         Increase code readability.
345         Don't try to compare buffer offsets when ther are invalid.
346
347 2008-06-20  Tim-Philipp Müller  <tim.muller at collabora co uk>
348
349         * docs/design/Makefile.am:
350           Dist some more design docs.
351
352         * docs/random/moving-plugins:
353           Small addition: good plugins mustn't have functional code
354           within assertion macros.
355
356 2008-06-20  Wim Taymans  <wim.taymans@collabora.co.uk>
357
358         * docs/design/draft-framestep.txt:
359         Some ideas about a framestep API
360
361         * docs/design/part-element-transform.txt:
362         Start design and use cases for basetransform in order to get it
363         fixed soon.
364
365 2008-06-20  Tim-Philipp Müller  <tim.muller at collabora co uk>
366
367         * gst/gsttaglist.h:
368           In GST_TAG_ATTACHEMENT docs, mention that the file name needs to
369           be in UTF-8 encoding.
370
371 2008-06-20  Tim-Philipp Müller  <tim.muller at collabora co uk>
372
373         * gst/gstbus.c:
374           Make it known that gst_bus_poll() is pure evil (fixes #538810).
375
376 2008-06-20  Stefan Kost  <ensonic@users.sf.net>
377
378         * plugins/elements/gstcapsfilter.c:
379         * plugins/elements/gstfakesink.c:
380         * plugins/elements/gstfakesrc.c:
381         * plugins/elements/gstfdsink.c:
382         * plugins/elements/gstfdsrc.c:
383         * plugins/elements/gstfilesink.c:
384         * plugins/elements/gstfilesrc.c:
385         * plugins/elements/gstidentity.c:
386         * plugins/elements/gstmultiqueue.c:
387         * plugins/elements/gstqueue.c:
388         * plugins/elements/gsttee.c:
389         * plugins/elements/gsttypefindelement.c:
390           Remove short_description. Add basic docs for gsttypefindelement.
391           Simplify markup for fakesrc/fdsrc.
392
393 2008-06-20  Wim Taymans  <wim.taymans@collabora.co.uk>
394
395         * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init):
396         Added Since doc.
397
398 2008-06-20  Wim Taymans  <wim.taymans@collabora.co.uk>
399
400         Patch by: joel larsson <tilljoel at gmail dot com>
401
402         * docs/plugins/gstreamer-plugins.args:
403         * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init),
404         (gst_fd_src_init), (gst_fd_src_update_fd),
405         (gst_fd_src_set_property), (gst_fd_src_get_property),
406         (gst_fd_src_create):
407         * plugins/elements/gstfdsrc.h:
408         Add timeout property like udpsrc. Fixes #538628.
409         Add some more docs and example pipelines.
410
411 2008-06-20  Wim Taymans  <wim.taymans@collabora.co.uk>
412
413         * docs/libs/gstreamer-libs-sections.txt:
414         * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
415         (gst_base_sink_query_latency), (gst_base_sink_set_render_delay),
416         (gst_base_sink_get_render_delay), (gst_base_sink_wait_eos),
417         (gst_base_sink_do_sync):
418         * libs/gst/base/gstbasesink.h:
419         * win32/common/libgstbase.def:
420         Add method to allow sinks to specify additional delay between the sync
421         times and the actual rendering of the data.
422         API: gst_base_sink_set_render_delay()
423         API: gst_base_sink_get_render_delay()
424
425 2008-06-20  Jan Schmidt  <jan.schmidt@sun.com>
426
427         * configure.ac:
428         Bump version number back to dev -> 0.10.20.1
429
430 2008-06-20  Sebastian Dröge  <slomo@circular-chaos.org>
431
432         * docs/gst/gstreamer-sections.txt:
433         * gst/gsttaglist.c: (_gst_tag_initialize):
434         * gst/gsttaglist.h:
435         API: Add GST_TAG_ATTACHMENT for generic file attachments to streams.
436         Fixes bug #538568.
437
438 2008-06-20  Stefan Kost  <ensonic@users.sf.net>
439
440         * libs/gst/controller/gstcontroller.c:
441           Revert one change, that make ret value possible uninitialized.
442
443 2008-06-20  Stefan Kost  <ensonic@users.sf.net>
444
445         * libs/gst/controller/gstcontroller.c:
446           Use freeze/thaw notify to sync notify emission a bit (its also more
447           efficient). Move debug output to LOG (is called a lot in a loop).
448           Always unset g_values if the have been initialized.
449
450 2008-06-20  Wim Taymans  <wim.taymans@collabora.co.uk>
451
452         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
453         (gst_base_sink_wait_eos), (gst_base_sink_event):
454         If we have not seen a buffer before EOS, use the segment values to
455         report the current position instead of invalid positions.
456
457 2008-06-20  Stefan Kost  <ensonic@users.sf.net>
458
459         * docs/plugins/tmpl/.cvsignore:
460         * tests/check/gst/.cvsignore:
461           Ignore more.
462
463 2008-06-20  Stefan Kost  <ensonic@users.sf.net>
464
465         * libs/gst/controller/gstinterpolation.c:
466         * libs/gst/controller/gstinterpolationcontrolsource.c:
467         * tests/check/libs/controller.c:
468           Rewrite handling of default values. Fix overflow with unsigned types
469           in linear interpolation. Remove now obsolete _first_value() function.
470           Add more tests. Fixes #538201.
471
472 2008-06-20  Wim Taymans  <wim.taymans@collabora.co.uk>
473
474         * libs/gst/base/gstbasetransform.c:
475         (gst_base_transform_class_init), (gst_base_transform_init),
476         (gst_base_transform_transform_caps),
477         (gst_base_transform_prepare_output_buffer):
478         Add debug info.
479         When a buffer is writable, its metadata is also writable so we don't
480         need to subbuffer (which then makes the buffer not-writable anymore).
481
482 === release 0.10.20 ===
483
484 2008-06-18  Jan Schmidt <jan.schmidt@sun.com>
485
486         * configure.ac:
487           releasing 0.10.20, "You Crazy Diamond"
488
489 2008-06-11  Jan Schmidt  <jan.schmidt@sun.com>
490
491         * configure.ac:
492         0.10.19.3 pre-release
493
494 2008-06-11  Jan Schmidt  <jan.schmidt@sun.com>
495
496         * configure.ac:
497         * gst/gstpreset.c:
498         Rename DATADIR to GST_DATADIR to avoid build problems
499         on win32. Patch By: David Schleef <ds@schleef.org>
500         Fixes: #536857
501
502 2008-06-05  Sebastian Dröge  <slomo@circular-chaos.org>
503
504         * configure.ac:
505         Explicitely link with -ldl if dladdr() is found there. Before it was
506         implicitely linked by the gmodule pkgconfig file but in glib 2.17.0
507         -ldl has moved from Libs to Libs.private. Fixes bug #536744.
508
509 2008-06-05  Tim-Philipp Müller  <tim.muller at collabora co uk>
510
511         * gst/gsterror.c: (_gst_stream_errors_init):
512           Fix typo (spotted by Fabricio Godoy, #536723).
513
514 2008-06-05  Jan Schmidt  <jan.schmidt@sun.com>
515
516         * configure.ac:
517         0.10.19.2 pre-release
518
519 2008-06-04  Wim Taymans  <wim.taymans@collabora.co.uk>
520
521         * libs/gst/base/gstbasesink.c: (gst_base_sink_set_async_enabled),
522         (gst_base_sink_set_ts_offset), (gst_base_sink_perform_qos):
523         Add some debug.
524         Make sure we don't generate invalid QoS messages.
525
526 2008-06-04  Wim Taymans  <wim.taymans@collabora.co.uk>
527
528         * gst/gstevent.c: (gst_event_new_qos):
529         Add some assert and docs for invalid input to the qos function.
530
531 2008-05-30  Wim Taymans  <wim.taymans@collabora.co.uk>
532
533         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
534         (gst_base_sink_get_position):
535         The reported position must always be smaller than the last seen
536         timestamps (or timestamp + duration for reverse).
537
538 2008-05-30  Sebastian Dröge  <slomo@circular-chaos.org>
539
540         Patch by: Rob Bradford <rob at robster dot org dot uk>
541
542         * gst/gstregistry.c: (gst_registry_scan_path_level):
543         Don't recurse into .debug directories as some distros install
544         the debugging symbols next to the plugins in .debug directories
545         and dlopen() crashes on them sometimes. Fixes bug #508070.
546
547         Add FIXME for 0.11 to not recurse into directories at all because
548         it's very inconsistent to the behaviour of other PATH environment
549         variables.
550
551 2008-05-29  Wim Taymans  <wim.taymans@collabora.co.uk>
552
553         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
554         (gst_base_sink_get_position_last), (gst_base_sink_get_position):
555         Fix position query range checks in reverse playback.
556
557 2008-05-29  Sebastian Dröge  <slomo@circular-chaos.org>
558
559         * gst/gstelement.c:
560         * gst/gstelement.h:
561         Deprecated gst_element_get_pad() as it can't be used sanely. It's not
562         clear of the reference to the resulting pad must be released later
563         or not, resulting in possible leaks. Fixes bug #533865.
564
565 2008-05-28  Wim Taymans  <wim.taymans@collabora.co.uk>
566
567         Patch by: José Alburquerque <jaalburqu at svn dot gnome dot org>
568
569         * gst/gstelementfactory.c:
570         Small doc fix. Fixes #535285.
571
572 2008-05-28  Wim Taymans  <wim.taymans@collabora.co.uk>
573
574         Based on patch by: Bjarne Rosengren <bjarne at axis dot com>
575
576         * libs/gst/base/gstbasesrc.c: (gst_base_src_send_event),
577         (gst_base_src_get_range), (gst_base_src_pad_get_range),
578         (gst_base_src_loop), (gst_base_src_set_flushing),
579         (gst_base_src_change_state):
580         Make sending an EOS event to the basesrc non-blocking even if the
581         implementation does blocking waits in the create function. This is done
582         by unlocking the create function when EOS is sent.
583         Fixes #535218.
584
585 2008-05-28  Sebastian Dröge  <slomo@circular-chaos.org>
586
587         * tools/gst-inspect.c: (print_element_properties_info):
588         If possible print the element type of GValueArray properties.
589
590 2008-05-28  Sebastian Dröge  <slomo@circular-chaos.org>
591
592         * gst/gstiterator.c:
593         Remove an unused field from the private GstListIterator struct.
594
595 2008-05-27  Stefan Kost  <ensonic@users.sf.net>
596
597         * libs/gst/controller/gstcontroller.c:
598           Add parameter guards.
599
600 2008-05-27  Stefan Kost  <ensonic@users.sf.net>
601
602         * tests/check/gst/gstpipeline.c:
603           Revert test change and add comment why it should not work.
604
605 2008-05-27  Stefan Kost  <ensonic@users.sf.net>
606
607         * tests/check/gst/gstpipeline.c:
608           Extending the test a little to verify that we also get the NULL state-
609           change message.
610
611 2008-05-27  Tim-Philipp Müller  <tim.muller at collabora co uk>
612
613         * gst/gstpreset.c: (gst_preset_default_get_meta),
614           (gst_preset_get_preset_names), (gst_preset_get_property_names),
615           (gst_preset_load_preset), (gst_preset_save_preset),
616           (gst_preset_rename_preset), (gst_preset_delete_preset),
617           (gst_preset_set_meta):
618           Add Since: markers to docs blurbs.
619
620         * win32/common/libgstreamer.def:
621           Add recently-added API.
622
623 2008-05-27  Wim Taymans  <wim.taymans@collabora.co.uk>
624
625         Patch by: Stefan Kost  <ensonic@users.sf.net>
626
627         * configure.ac:
628         Add DATADIR for storing presets.
629
630         * docs/gst/gstreamer-docs.sgml:
631         * docs/gst/gstreamer-sections.txt:
632         * docs/gst/gstreamer.types.in:
633         Add GstPreset to docs.
634
635         * gst/Makefile.am:
636         * gst/gst.h:
637         * gst/gstpreset.c: (preset_get_paths), (preset_skip_property),
638         (preset_open_and_parse_header), (preset_parse_version),
639         (preset_merge), (preset_get_keyfile),
640         (gst_preset_default_get_preset_names),
641         (gst_preset_default_get_property_names),
642         (gst_preset_default_load_preset),
643         (gst_preset_default_save_presets_file),
644         (gst_preset_default_save_preset),
645         (gst_preset_default_rename_preset),
646         (gst_preset_default_delete_preset), (gst_preset_default_set_meta),
647         (gst_preset_default_get_meta), (gst_preset_default_randomize),
648         (gst_preset_default_reset), (gst_preset_get_preset_names),
649         (gst_preset_get_property_names), (gst_preset_load_preset),
650         (gst_preset_save_preset), (gst_preset_rename_preset),
651         (gst_preset_delete_preset), (gst_preset_set_meta),
652         (gst_preset_get_meta), (gst_preset_class_init),
653         (gst_preset_base_init), (gst_preset_get_type):
654         * gst/gstpreset.h:
655         Add GstPreset to core. Fixes #396779
656
657         * tests/check/Makefile.am:
658         * tests/check/gst/gstpreset.c: (gst_preset_test_get_property),
659         (gst_preset_test_set_property), (gst_preset_test_class_init),
660         (gst_preset_test_base_init), (gst_preset_test_get_type),
661         (gst_preset_test_plugin_init), (GST_START_TEST),
662         (remove_preset_file), (test_setup), (test_teardown),
663         (gst_preset_suite):
664         Add GstPreset unit tests.
665
666 2008-05-27  Wim Taymans  <wim.taymans@collabora.co.uk>
667
668         * gst/gstpad.c: (gst_pad_event_default_dispatch):
669         The default event function on a sinkpad should return TRUE when
670         there are no internal links but should collect the return values from
671         the internal links otherwise.
672
673 2008-05-27  Wim Taymans  <wim.taymans@collabora.co.uk>
674
675         * plugins/elements/gsttypefindelement.c:
676         (gst_type_find_element_src_event),
677         (gst_type_find_element_handle_event):
678         Use faster and safer _pad_push_event().
679
680 2008-05-27  Tim-Philipp Müller  <tim.muller at collabora co uk>
681
682         * docs/gst/gstreamer-sections.txt:
683         * gst/gstutils.c: (element_find_unlinked_pad),
684           (gst_bin_find_unlinked_pad), (gst_bin_find_unconnected_pad),
685         * gst/gstutils.h:
686           API: add gst_bin_find_unlinked_pad()
687           API: deprecate gst_bin_find_unconnected_pad() (#401456)
688
689 2008-05-26  Peter Kjellerstedt  <pkj@axis.com>
690
691         * gst/gstclock.c:
692         * gst/gstclock.h:
693         * gst/gsttask.c:
694         * gst/gsttask.h:
695         Fixed a bunch of typos.
696
697 2008-05-25  Tim-Philipp Müller  <tim.muller at collabora co uk>
698
699         * gst/gstpad.h:
700         * gst/gstutils.c: (gst_element_unlink), (element_find_unlinked_pad),
701           (gst_bin_find_unconnected_pad), (gst_parse_bin_from_description),
702           (gst_parse_bin_from_description_full):
703         * gst/gstutils.h:
704           'unconnected pad' -> 'unlinked pad' for consistency (#401456).
705
706 2008-05-25  Tim-Philipp Müller  <tim.muller at collabora co uk>
707
708         * docs/pwg/advanced-tagging.xml:
709           Small docs update, can't be bothered to rewrite the nonsensical
710           examples right now.
711
712 2008-05-25  Tim-Philipp Müller  <tim.muller at collabora co uk>
713
714         * gst/gstevent.h:
715           Clarify docs for GST_SEEK_TYPE_CUR (#534505).
716
717 2008-05-25  Tim-Philipp Müller  <tim.muller at collabora co uk>
718
719         * gst/parse/grammar.y:
720           Remove unneeded casts.
721
722 2008-05-25  Tim-Philipp Müller  <tim.muller at collabora co uk>
723
724         * gst/parse/grammar.y:
725         * tests/check/pipelines/parse-launch.c:
726           Get all missing elements from a parse launch string if possible
727           (ie. if the FATAL_ERRORS flag has been specified). Fixes #528178.
728
729 2008-05-24  Tim-Philipp Müller  <tim.muller at collabora co uk>
730
731         * tests/check/Makefile.am:
732         * tests/check/pipelines/parse-launch.c:
733           Add some unit tests for the new gst_parse_launch*_full() API.
734           (Exposes a previously-existing memory leak in the error code
735           path, so adding to VALGRIND_TO_FIX for now).
736
737 2008-05-24  Tim-Philipp Müller  <tim.muller at collabora co uk>
738
739         * docs/gst/gstreamer-sections.txt:
740         * gst/gst.c: (init_post):
741         * gst/gst_private.h: (_GstParseContext):
742         * gst/gstparse.c: (gst_parse_error_quark), (gst_parse_context_new),
743           (gst_parse_context_free), (gst_parse_context_get_missing_elements),
744           (gst_parse_launchv), (gst_parse_launchv_full), (gst_parse_launch),
745           (gst_parse_launch_full):
746         * gst/gstparse.h: (GST_PARSE_FLAG_NONE), (GST_PARSE_FLAG_FATAL_ERRORS),
747           (GstParseFlags), (GstParseContext):
748         * gst/gstutils.c: (gst_parse_bin_from_description),
749           (gst_parse_bin_from_description_full):
750         * gst/gstutils.h:
751         * gst/parse/grammar.y:
752         * gst/parse/types.h:
753         * win32/common/libgstreamer.def:
754           Add new gst_parse_*_full API (#528178):
755           API: gst_parse_launch_full()
756           API: gst_parse_launchv_full()
757           API: gst_parse_bin_from_description_full()
758           API: gst_parse_context_new()
759           API: gst_parse_context_free()
760           API: gst_parse_context_get_missing_elements()
761
762 2008-05-23  Stefan Kost  <ensonic@users.sf.net>
763
764         patch by: Suresh Kumar P <sureshkumar.pp@gmail.com>
765
766         * docs/faq/gst-uninstalled:
767           Also support ffmpeg in gst-uninstalled.
768
769 2008-05-22  Sebastian Dröge  <slomo@circular-chaos.org>
770
771         * configure.ac:
772         After discussion on IRC use the binary registry as default
773         but allow to disable it with --disable-binary-registry.
774
775         * win32/common/libgstreamer.def:
776         Add the two new symbols for the binary registry.
777
778 2008-05-22  Tim-Philipp Müller  <tim.muller at collabora co uk>
779
780         * gst/gstparse.c: (_gst_parse_escape), (gst_parse_launchv):
781         * gst/gstutils.c: (gst_parse_bin_from_description):
782         * gst/parse/grammar.y: (graph):
783           More guards against bad input; typo fix; some minor clean-ups.
784
785 2008-05-22  Sebastian Dröge  <slomo@circular-chaos.org>
786
787         Patch by: Sjoerd Simons <sjoerd at luon dot net>
788
789         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
790         If nothing else can be used, use the last buffer's start time as
791         the segment's last stop. Fixes bug #534258.
792
793 2008-05-21  Tim-Philipp Müller  <tim.muller at collabora co uk>
794
795         * gst/gstpad.c: (gst_pad_alloc_buffer_full):
796           Move size sanity check to the right place: downstream may return
797           a buffer with a smaller size if the buffer caps are different than
798           the requested ones, as may happen when doing reverse negotiation.
799
800 2008-05-21  Wim Taymans  <wim.taymans@collabora.co.uk>
801
802         * plugins/elements/gstfilesink.c: (gst_file_sink_set_location),
803         (gst_file_sink_render):
804         * plugins/elements/gstfilesrc.c: (gst_file_src_set_location),
805         (gst_file_src_start):
806         Small cleanups. Add note adbout g_fopen() on windows and why we don't
807         use it yet.
808
809 2008-05-21  Wim Taymans  <wim.taymans@collabora.co.uk>
810
811         * gst/gstpad.c: (gst_pad_load_and_link):
812         * gst/gstutils.c: (gst_element_link_pads),
813         (gst_element_unlink_pads):
814         * libs/gst/check/gstcheck.c: (gst_check_setup_src_pad),
815         (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
816         (gst_check_teardown_sink_pad),
817         (gst_check_element_push_buffer_list):
818         * tests/check/elements/fakesink.c: (GST_START_TEST):
819         * tests/check/elements/filesink.c:
820         * tests/check/elements/filesrc.c: (GST_START_TEST):
821         * tests/check/elements/multiqueue.c: (setup_multiqueue),
822         (mq_sinkpad_to_srcpad):
823         * tests/check/elements/tee.c: (GST_START_TEST):
824         * tests/check/generic/sinks.c: (GST_START_TEST):
825         * tests/check/gst/gstbin.c: (GST_START_TEST):
826         * tests/check/gst/gstevent.c: (GST_START_TEST):
827         * tests/check/gst/gstghostpad.c: (GST_START_TEST):
828         * tests/check/gst/gstpipeline.c: (GST_START_TEST):
829         * tests/check/gst/gstquery.c: (GST_START_TEST):
830         * tests/check/gst/gstutils.c: (GST_START_TEST):
831         * tests/check/libs/basesrc.c: (GST_START_TEST):
832         * tests/check/pipelines/parse-launch.c: (run_delayed_test),
833         (gst_parse_test_element_change_state):
834         Don't use gst_element_get_pad().
835
836 2008-05-21  Felipe Contreras  <felipe.contreras@gmail.com>
837
838         * docs/Makefile.am:
839         Fix installing plugin documentation when gtk-doc is disabled.
840
841 2008-05-21  Wim Taymans  <wim.taymans@collabora.co.uk>
842
843         * docs/manual/advanced-autoplugging.xml:
844         * docs/manual/basics-helloworld.xml:
845         * docs/manual/basics-pads.xml:
846         * docs/manual/highlevel-components.xml:
847         Avoid using a bad function in the example code.
848
849 2008-05-21  Wim Taymans  <wim.taymans@collabora.co.uk>
850
851         * gst/gstclock.c: (gst_clock_set_calibration):
852         Fix debug of the new clock rate.
853
854 2008-05-21  Sebastian Dröge  <slomo@circular-chaos.org>
855
856         * win32/common/libgstbase.def:
857         Add gst_base_sink_wait_clock() to the exported symbols.
858
859 2008-05-20  Sebastian Dröge  <slomo@circular-chaos.org>
860
861         Patch by: Tim-Philipp Müller  <tim.muller at collabora co uk>
862
863         * libs/gst/base/gstbasetransform.c:
864         (gst_base_transform_sink_event):
865         Unref events that the GstBaseTransform::event vfunc didn't want to
866         have forwarded by the base class. Closes a leak in identity.
867         Fixes bug #446763.
868
869 2008-05-19  Wim Taymans  <wim.taymans@collabora.co.uk>
870
871         * docs/libs/gstreamer-libs-sections.txt:
872         * libs/gst/base/gstbasesink.c: (gst_base_sink_wait_clock):
873         * libs/gst/base/gstbasesink.h:
874         Expose a method that was previously used internally to synchronize
875         against the clock because it can be useful for subclasses too.
876         API: GstBaseSink::gst_base_sink_wait_clock()
877
878 2008-05-19  Tim-Philipp Müller  <tim.muller at collabora co uk>
879
880         * gst/gstpad.c: (gst_pad_buffer_alloc_unchecked):
881           Add sanity check to make sure we don't get smaller buffers
882           than requested (and fallback to normal buffer alloc if we do).
883
884 2008-05-19  Wim Taymans  <wim.taymans@collabora.co.uk>
885
886         * libs/gst/base/gstbasesink.c: (gst_base_sink_adjust_time),
887         (gst_base_sink_wait_clock), (gst_base_sink_wait_eos),
888         (gst_base_sink_do_sync), (gst_base_sink_chain_unlocked):
889         Refactor adjusting the running_time with latency and offset into a
890         separate method.
891         When doing clipping, we still want to use the subclass get_times method,
892         just in case the DURATION or TIMESTAMP are not set.
893
894 2008-05-19  Tim-Philipp Müller  <tim.muller at collabora co uk>
895
896         * docs/gst/gstreamer-sections.txt:
897         * gst/gsttypefind.c: (gst_type_find_suggest_simple):
898         * gst/gsttypefind.h:
899         * win32/common/libgstreamer.def:
900           API: add gst_type_find_suggest_simple(), #533740.
901
902 2008-05-19  Tim-Philipp Müller  <tim.muller at collabora co uk>
903
904         * libs/gst/base/gstbasesrc.c: (gst_base_src_start):
905           Use right error code when typefinding fails, so we can use
906           the default (translated) error messages.
907
908 2008-05-19  Wim Taymans  <wim.taymans@collabora.co.uk>
909
910         * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range),
911         (gst_base_src_start):
912         When the subclass did not set caps on outgoing buffers, configure the
913         caps we negotiated on the source pad.
914         When the typefind helper does not find caps, error out properly instead
915         of doing things with NULL caps.
916
917 2008-05-18  Tim-Philipp Müller  <tim.muller at collabora co uk>
918
919         * gst/gsttypefind.h:
920           Tabs to spaces, oh yes!
921
922 2008-05-18  Tim-Philipp Müller  <tim.muller at collabora co uk>
923
924         * tests/check/gst/gstcaps.c: (test_intersect2), (gst_caps_suite):
925           Add David's and Benjamin's tests for array intersection to the
926           unit test suite (#147931).
927
928 2008-05-18  Tim-Philipp Müller  <tim.muller at collabora co uk>
929
930         * gst/gstevent.c:
931           Document that gst_event_new_tag() and gst_event_new_navigation()
932           take ownership of the taglist/structure passed to them. (#533635).
933
934 2008-05-17  Jan Schmidt  <jan.schmidt@sun.com>
935
936         * docs/Makefile.am:
937         Don't descend into the plugins dir if plugin docs building
938         is disabled.
939
940         * docs/README:
941         Add a note about the new type:GTypeName syntax for the plugin
942         documentation .types file.
943
944 2008-05-17  Sebastian Dröge  <slomo@circular-chaos.org>
945
946         * gst/gstmessage.c: (gst_message_new_error),
947         (gst_message_new_warning), (gst_message_new_info):
948         * gst/gstmessage.h:
949         Mark the debug string parameters as const. Fixes bug #533490.
950
951 2008-05-16  Sebastian Dröge  <slomo@circular-chaos.org>
952
953         * libs/gst/base/gsttypefindhelper.c: (helper_find_peek):
954         Sort buffer cache list by end offsets. This makes sure that we don't
955         stop to search for a cached buffer that contains the requested data
956         too early.
957         Also read a minimum of 4k bytes instead of 512 bytes as this is a bit
958         more efficient. Fixes bug #459862.
959
960 2008-05-14  Stefan Kost  <ensonic@users.sf.net>
961
962         * gst/gstinfo.c:
963           Explain why we copy the list.
964
965         * gst/gstpipeline.c:
966           Improve docs.
967
968         * gst/gstutils.c:
969           Add one debug-log statement to help tracing probelms with linking pads.
970
971 2008-05-12  Stefan Kost  <ensonic@users.sf.net>
972
973         * tests/check/gst/gstinfo.c:
974         Add a test for removing the default log handler. Seems to fail under
975         windows.
976
977 2008-05-14  Wim Taymans  <wim.taymans@collabora.co.uk>
978
979         * gst/gstpad.c: (gst_pad_peer_accept_caps):
980         Release pad lock before calling out to avoid a possible deadlock.
981
982 2008-05-14  Wim Taymans  <wim.taymans@collabora.co.uk>
983
984         * gst/parse/grammar.y:
985         Remove unneeded value unset.
986
987         * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
988         Add unit test for de/serialization of caps.
989
990 2008-05-13  Sebastian Dröge  <slomo@circular-chaos.org>
991
992         * plugins/elements/gstfakesink.c:
993         (marshal_VOID__MINIOBJECT_OBJECT), (gst_fake_sink_class_init):
994         * plugins/elements/gstfakesrc.c: (marshal_VOID__MINIOBJECT_OBJECT),
995         (gst_fake_src_class_init):
996         Use custom marshalers that take GstMiniObject as first parameter.
997         Using OBJECT as parameter while a GstMiniObject is given will lead
998         to assertions if built with G_ENABLE_DEBUG. Fixes bug #525532.
999
1000 2008-05-13  Sebastian Dröge  <slomo@circular-chaos.org>
1001
1002         * plugins/elements/gsttypefindelement.c:
1003         (gst_type_find_element_handle_event),
1004         (gst_type_find_element_send_cached_events),
1005         (gst_type_find_element_change_state):
1006         Clean up on FLUSH_STOP and not FLUSH_START. Forward both events
1007         immediately.
1008
1009 2008-05-13  Sebastian Dröge  <slomo@circular-chaos.org>
1010
1011         * plugins/elements/gsttypefindelement.c:
1012         (gst_type_find_handle_src_query), (stop_typefinding),
1013         (gst_type_find_element_handle_event),
1014         (gst_type_find_element_send_cached_events),
1015         (gst_type_find_element_change_state):
1016         Forward FLUSH_START events immediately and clean up instead of
1017         caching them.
1018
1019 2008-05-13  Sebastian Dröge  <slomo@circular-chaos.org>
1020
1021         Patch by: Sjoerd Simons <sjoerd at luon dot net>
1022
1023         * libs/gst/base/gstbasetransform.c:
1024         (gst_base_transform_buffer_alloc):
1025         Check the caps of the buffer returned by gst_pad_alloc_buffer() and
1026         fall back to default negotiation in the chain function if the caps
1027         are different from what was requested. Fixes bug #526768.
1028
1029 2008-05-09  Tim-Philipp Müller  <tim.muller at collabora co uk>
1030
1031         * gst/gstsegment.c:
1032         * tests/check/gst/gstsegment.c:
1033           No, let's not use g_slice_{dup|copy} here, since they only exist
1034           since GLib 2.14 and we still depend only on >= 2.12. Also add
1035           unit test for gst_segment_copy().
1036
1037 2008-05-09  Tim-Philipp Müller  <tim.muller at collabora co uk>
1038
1039         * gst/gstutils.h: (GST_BOILERPLATE_FULL):
1040           Try to fix 'dereferencing type-punned pointer will break strict
1041           aliasing rules' warnings with C++ compilers and GLib >= 2.14.0: GLib
1042           changed the default GType typedef from gulong to gsize at some point,
1043           but kept GType typedef'ed to gulong for C++ for ABI reasons; the
1044           g_once_* functions all take a gsize * though, so work around the type
1045           mismatch for C++ by doing everything in gsize and casting to GType
1046           later.
1047
1048 2008-05-09  Jan Schmidt  <jan.schmidt@sun.com>
1049
1050         * plugins/elements/gstmultiqueue.c:
1051         Add documentation for the signals to push our core plugin docs
1052         coverage back up to 100%.
1053
1054 2008-05-08  Ole André Vadla Ravnås  <ole.andre.ravnas at tandberg com>
1055
1056         * gst/gstinfo.h (GST_FUNCTION):
1057           Reverted GST_FUNCTION to the old version as we don't want the
1058           full signature in C++ code. Also added support for MSVC.
1059
1060 2008-05-08  Sebastian Dröge  <slomo@circular-chaos.org>
1061
1062         * gst/gstutils.h:
1063         Intern the type name string, similar to what G_DEFINE_TYPE does.
1064
1065 2008-05-08  Sebastian Dröge  <slomo@circular-chaos.org>
1066
1067         * gst/gstutils.h:
1068         Make GST_BOILERPLATE thread-safe if building with GLib 2.14 or newer.
1069
1070 2008-05-08  Sebastian Dröge  <slomo@circular-chaos.org>
1071
1072         Based on a patch by: Sjoerd Simons <sjoerd at luon dot net>
1073
1074         * libs/gst/base/gstbasetransform.c:
1075         (gst_base_transform_buffer_alloc):
1076         Don't passthrough buffer allocation too easily if the caps change.
1077         This breaks when working in passthrough mode and upstream changes
1078         it's caps. Fixes bug #526768.
1079
1080 2008-05-07  Ole André Vadla Ravnås  <ole.andre.ravnas at tandberg com>
1081
1082         * gst/gstinfo.c (gst_debug_log_valist):
1083           Improved the __FILE__ part of debug output for MSVC.
1084
1085 2008-05-07  Ole André Vadla Ravnås  <ole.andre.ravnas at tandberg com>
1086
1087         * libs/gst/base/gstbasesrc.c (gst_base_src_default_query):
1088           Declaration after statement fix for compilers like MSVC.
1089
1090 2008-05-07  Ole André Vadla Ravnås  <ole.andre.ravnas at tandberg com>
1091
1092         * win32/common/config.h.in:
1093           Don't define GST_FUNCTION, if GLib supports MSVC we'd much rather
1094           use the real thing than having "???" unconditionally.
1095
1096 2008-05-07  Ole André Vadla Ravnås  <ole.andre.ravnas at tandberg com>
1097
1098         * gst/gstinfo.h (GST_FUNCTION):
1099           Made GST_FUNCTION an alias for G_STRFUNC to avoid duplication.
1100
1101 2008-05-07  Wim Taymans  <wim.taymans@collabora.co.uk>
1102
1103         * libs/gst/base/gstadapter.c: (gst_adapter_available_fast):
1104         Small code cleanup.
1105
1106         * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency),
1107         (gst_base_sink_set_flushing):
1108         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek):
1109         Fix some comments.
1110
1111 2008-05-07  Wim Taymans  <wim.taymans@collabora.co.uk>
1112
1113         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
1114         (gst_fake_src_init), (gst_fake_src_set_property),
1115         (gst_fake_src_get_property), (gst_fake_src_start):
1116         * plugins/elements/gstfakesrc.h:
1117         Added format property to control the format of the newsegment events.
1118         API: GstFakeSrc:format
1119
1120 2008-05-06  Sebastian Dröge  <slomo@circular-chaos.org>
1121
1122         * win32/common/libgstreamer.def:
1123         Add gst_pad_has_name() to the exported symbols.
1124
1125 2008-05-06  Sebastian Dröge  <slomo@circular-chaos.org>
1126
1127         * gst/gstpad.c: (gst_pad_alloc_buffer_full):
1128         * libs/gst/base/gstbasetransform.c:
1129         (gst_base_transform_prepare_output_buffer):
1130         Don't allow negative sizes when allocating new buffers.
1131         Fixes bug #461253.
1132
1133 2008-05-05  Tim-Philipp Müller  <tim.muller at collabora co uk>
1134
1135         Patch by: Sjoerd Simons <sjoerd at luon net>
1136
1137         * gst/gstbus.c: (gst_bus_source_dispatch):
1138           Don't print a warning if the queue is empty when we try to pop
1139           here. That could happen if another thread or callback set the
1140           bus to flushing between the source's check/prepare and the
1141           dispatch being called (#531538).
1142
1143 2008-05-05  Tim-Philipp Müller  <tim.muller at collabora co uk>
1144
1145         * plugins/elements/gstmultiqueue.c:
1146           Small docs fix.
1147         
1148 2008-05-05  Sebastian Dröge  <slomo@circular-chaos.org>
1149
1150         * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
1151         Add unit test for deserializing uint64s and check some really large
1152         numbers in the int64 test.
1153
1154 2008-05-04  Sebastian Dröge  <slomo@circular-chaos.org>
1155
1156         * tools/gst-inspect.c: (n_print), (print_hierarchy),
1157         (print_interfaces), (print_element_properties_info),
1158         (print_signal_info):
1159         Use "%s" as format string instead of printing strings directly.
1160
1161 2008-05-04  Sebastian Dröge  <slomo@circular-chaos.org>
1162
1163         * gst/gstclock.c: (gst_clock_set_calibration):
1164         Make some checks actually useful.
1165
1166         * gst/gstregistrybinary.c: (gst_registry_binary_load_plugin):
1167         Remove some unused code. Unsigned integers tend to be >= 0.
1168
1169 2008-05-03  Tim-Philipp Müller  <tim.muller at collabora co uk>
1170
1171         * gst/gstminiobject.c: (gst_value_get_mini_object):
1172           Fix 'Since:' version in gst_value_dup_mini_object() docs blurb: this
1173           function was not in the unscheduled 0.10.19 release.
1174
1175 2008-05-03  Tim-Philipp Müller  <tim.muller at collabora co uk>
1176
1177         * gst/gstregistry.c: (gst_registry_scan_path_level):
1178           Only print one log message per non-plugin file.
1179
1180 2008-05-03  Tim-Philipp Müller  <tim.muller at collabora co uk>
1181
1182         * gst/gstinfo.c: (gst_debug_log_default):
1183           Fix alignment of debug log columns on 64-bit.
1184
1185 2008-05-03  Tim-Philipp Müller  <tim.muller at collabora co uk>
1186
1187         * docs/libs/Makefile.am:
1188         * docs/libs/gstreamer-libs-sections.txt:
1189           Ignore private controller headers for docs.
1190
1191 2008-05-03  Sebastian Dröge  <slomo@circular-chaos.org>
1192
1193         * libs/gst/controller/gstcontrollerprivate.h:
1194         * libs/gst/controller/gsthelper.c:
1195         * libs/gst/controller/gstinterpolation.c:
1196         * libs/gst/controller/gstinterpolationcontrolsource.c:
1197         (gst_interpolation_control_source_set_interpolation_mode):
1198         * libs/gst/controller/gstinterpolationcontrolsourceprivate.h:
1199         * libs/gst/controller/lib.c:
1200         Move some private declarations into private headers.
1201
1202 2008-05-02  Sebastian Dröge  <slomo@circular-chaos.org>
1203
1204         * gst/gstdebugutils.c: (debug_dump_element_pad):
1205         Remove some code that is unused after Stefan's refactoring and uses
1206         uninitialized variables now, resulting in a compiler warning.
1207
1208 2008-05-01  Tim-Philipp Müller  <tim.muller at collabora co uk>
1209
1210         * gst/gstregistry.c: (gst_registry_scan_path_level):
1211           Run g_str_has_suffix() only on the file name, not the
1212           entire file path.
1213
1214 2008-04-30  Tim-Philipp Müller  <tim.muller at collabora co uk>
1215
1216         * plugins/elements/gstqueue.c: (gst_queue_leak_downstream):
1217           Since we're not called only from the chain function any longer,
1218           we can't assume that there's always data in the queue, so move
1219           the is_full check to the beginning of the loop (otherwise we'd
1220           hit the assert when changing the limit properties while the
1221           queue is empty or not running yet).
1222           Also, only set a discont if items were actually removed from
1223           the queue.
1224
1225         * tests/check/elements/queue.c: (test_leaky_downstream):
1226           Test case for the above.
1227
1228 2008-04-30  Wim Taymans  <wim.taymans@collabora.co.uk>
1229
1230         Patch by: Jonas Holmberg <jonas dot holmberg at axis dot com>
1231
1232         * plugins/elements/gstqueue.c: (gst_queue_leak_downstream),
1233         (gst_queue_chain), (queue_capacity_change),
1234         (gst_queue_set_property):
1235         When changing thr max capacity of a leaky queue, immediatly drop buffers
1236         instead of waiting for a push on the sinkpad. Fixes #530637.
1237
1238 2008-04-30  Stefan Kost  <ensonic@users.sf.net>
1239
1240         * gst/gstdebugutils.c:
1241           Refactor code and fix handling of ghostpads and their proxypads.
1242
1243 2008-04-29  Wim Taymans  <wim.taymans@collabora.co.uk>
1244
1245         * docs/gst/gstreamer-sections.txt:
1246         * gst/gstevent.c: (gst_event_has_name):
1247         * gst/gstevent.h:
1248         * tests/check/gst/gstevent.c: (GST_START_TEST):
1249         Add method to conveniently check the name of a custom event with
1250         gst_event_has_name().
1251         Reformat the event docs so that related methods are put together instead
1252         of the default alphabetical sort.
1253         Update unit test with new method.
1254         API: GstEvent::gst_event_has_name()
1255
1256 2008-04-28  Michael Smith <msmith@songbirdnest.com>
1257
1258         * libs/gst/check/Makefile.am:
1259           Don't add an explicit link to libgstreamer-0.10.la; it's already
1260           included in GST_OBJ_LIBS.
1261
1262 2008-04-28  Sebastian Dröge  <slomo@circular-chaos.org>
1263
1264         * gst/gst.c:
1265         Register GstClock type from a type-safe context. Fixes bug #530317.
1266
1267 2008-04-25  Michael Smith <msmith@songbirdnest.com>
1268
1269         Patch by Edward Hervey <edward.hervey@collabora.co.uk>
1270         * tools/gst-run.c:
1271           Include <unistd.h> conditionally on HAVE_UNISTD_H as elsewhere.
1272
1273 2008-04-25  Wim Taymans  <wim.taymans@collabora.co.uk>
1274
1275         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
1276         (gst_bin_dispose):
1277         Use the GLib stuff to create a private structure.
1278         Add some locking around some dispose methods to make them a little
1279         safer, see #529723. Patch by: Antoine Tremblay <hexa00 at gmail dot com>
1280
1281 2008-04-25  Stefan Kost  <ensonic@users.sf.net>
1282
1283         * libs/gst/base/gstbasesink.h:
1284         * libs/gst/base/gstbasesrc.h:
1285         * libs/gst/base/gstbasetransform.h:
1286         * libs/gst/base/gstcollectpads.h:
1287           Fix doc typos and unify caps a bit.
1288
1289 2008-04-25  Stefan Kost  <ensonic@users.sf.net>
1290
1291         * tools/gst-launch.1.in:
1292           Forgot to also add the envvar docs here.
1293
1294 2008-04-25  Tim-Philipp Müller  <tim at centricular dot net>
1295
1296         * gst/gst.c: (init_post), (gst_deinit):
1297         * tests/check/gst/gstpipeline.c: (GST_START_TEST), (pipeline_thread),
1298           (test_concurrent_create), (gst_pipeline_suite):
1299           Ref some more classes in gst_init() to work around thread-safety
1300           issues in pre-2.16 GLibs, and add basic unit test.
1301
1302 2008-04-25  Wim Taymans  <wim.taymans@collabora.co.uk>
1303
1304         * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency),
1305         (gst_base_sink_send_event):
1306         Rearrange the latency query code. We always want to do the upstream
1307         query, even if we are not live so that the upstream elements can get the
1308         latency results too. If we fail doing the query and we are live, we
1309         return TRUE afterwards.
1310
1311 2008-04-24  Stefan Kost  <ensonic@users.sf.net>
1312
1313         patch by: Jason Zhao <e3423c@motorola.com>
1314
1315         * docs/gst/running.xml:
1316         * gst/gst.c:
1317           Enable/disable scan_and_update_registry() based on commandline switch
1318           or environment variable. Fixes #520468.
1319           
1320         * ChangeLog:
1321           Fix typo in my previous commit.
1322
1323 2008-04-24  Stefan Kost  <ensonic@users.sf.net>
1324
1325         * gst/gstregistrybinary.c:
1326           Add a warning if we hit unhandled factories when saving.
1327           More debug logging detail, but move to LOG category.
1328
1329 2008-04-24  Stefan Kost  <ensonic@users.sf.net>
1330
1331         * gst/gstregistry.c:
1332           Tell the *truth* when improving the documentation.
1333
1334 2008-04-23  Sebastian Dröge  <slomo@circular-chaos.org>
1335
1336         * gst/gstelementfactory.c: (gst_element_factory_make):
1337         Unref the factory after it was used the last time, not before.
1338
1339         * gst/gstindexfactory.c: (gst_index_factory_make):
1340         Improve debugging a bit and don't leak a ref to the index factory with
1341         each call.
1342
1343 2008-04-23  Stefan Kost  <ensonic@users.sf.net>
1344
1345         * gst/gstregistry.c:
1346           Improve the documentation.
1347
1348 2008-04-23  Stefan Kost  <ensonic@users.sf.net>
1349
1350         * gst/gstsegment.c:
1351           The glib macro seems to be borked. Use g_slice_copy directly and cast
1352           in the hope that this fixes the warning on 64bit.
1353
1354 2008-04-23  Stefan Kost  <ensonic@users.sf.net>
1355
1356         * gst/gstsegment.c:
1357           Document the new function. Use g_slice_dup() (no need for
1358           gst_segment_init()).    
1359
1360 2008-04-23  Stefan Kost  <ensonic@users.sf.net>
1361
1362         * docs/gst/gstreamer-sections.txt:
1363           Move GParamSepc macros to standart section.
1364   
1365         * gst/gstbin.c:
1366           Dn't document _get_type - its in private section in docs anyway and
1367           this doc-blob was incomplete.
1368
1369         * gst/gstclock.h:
1370           Fix wrong symbol names in docs.
1371
1372         * gst/gstmacros.h:
1373           Add once doc sentence.
1374
1375         * tests/check/gst/.cvsignore:
1376           Ignore more.
1377
1378 2008-04-21  Stefan Kost  <ensonic@users.sf.net>
1379
1380         * docs/gst/Makefile.am:
1381           And remove those libs here.
1382
1383 2008-04-21  Tim-Philipp Müller  <tim at centricular dot net>
1384
1385         * docs/libs/Makefile.am:
1386           Fix docs build again by adding libgstnet-0.10.so to SCANOBJ_DEPS.
1387
1388 2008-04-21  Wim Taymans  <wim.taymans@collabora.co.uk>
1389
1390         Patch by: Olivier Crete <tester at tester dot ca>
1391
1392         * plugins/elements/gstqueue.c: (gst_queue_handle_src_query):
1393         Add the min-threshold to the min latency if possible. Fixes #529148.
1394
1395 2008-04-21  Stefan Kost  <ensonic@users.sf.net>
1396
1397         * docs/gst/gstreamer.types.in:
1398           Stupid editor, I removed that line as it should go in yet.
1399
1400 2008-04-21  Stefan Kost  <ensonic@users.sf.net>
1401
1402         * docs/gst/gstreamer.types.in:
1403         * docs/libs/gstreamer-libs.types:
1404           Remove library types fro core docs and have them in libs docs.
1405           Reformat and cleanup. Add comment for miniobject types.
1406
1407 2008-04-20  Tim-Philipp Müller  <tim at centricular dot net>
1408
1409         * gst/gsturi.c: (gst_uri_get_protocol):
1410           Fix leak: g_strdown operates on the string in place, while
1411           g_ascii_strdown() returns a newly-allocated string.
1412
1413 2008-04-20  Sebastian Dröge  <slomo@circular-chaos.org>
1414
1415         * tools/gst-inspect.c: (print_uri_handler_info),
1416         (print_element_info):
1417         Print the URI protocols and the URI type supported by the element.
1418
1419 2008-04-19  Sebastian Dröge  <slomo@circular-chaos.org>
1420
1421         * gst/gsttaglist.c: (gst_tag_merge_strings_with_comma):
1422         Use g_value_take_string() instead of the deprecated
1423         g_value_set_string_take_ownership().
1424
1425 2008-04-19  Sebastian Dröge  <slomo@circular-chaos.org>
1426
1427         * gst/gstregistrybinary.c: (_gst_crc32):
1428         Return the old CRC instead of 0 if we give a NULL buffer
1429         or a buffer with a length of 0.
1430
1431 2008-04-19  Sebastian Dröge  <slomo@circular-chaos.org>
1432
1433         * gst/gsturi.c: (gst_uri_protocol_check_internal),
1434         (gst_uri_get_protocol), (gst_uri_has_protocol),
1435         (gst_uri_construct), (gst_uri_handler_set_uri):
1436         A valid URI scheme can also include '+', '-' and '.' additional
1437         to alphanumeric characters as per RFC 3986 Section 3.1.
1438
1439         Handle URI schemes case insensitive in all places and convert
1440         to lower-case when constructing an URI or setting an URI with
1441         the GstURIHandler interface. Fixes bug #528868.
1442         All elements can still assume (as before) that they will
1443         get passed URIs with a lower-case URI scheme by the GstURIHandler
1444         interface.
1445
1446 2008-04-17  Tim-Philipp Müller  <tim at centricular dot net>
1447
1448         * gst/gstcaps.c: (gst_static_caps_get):
1449         * gst/gstclock.c: (gst_clock_entry_new):
1450           Don't use g_atomic_set_int where it's not needed.
1451
1452 2008-04-17  Wim Taymans  <wim.taymans@collabora.co.uk>
1453
1454         * gst/gstvalue.c: (gst_value_deserialize_caps):
1455         * gst/parse/grammar.y:
1456         Fix 2 caps leaks.
1457
1458 2008-04-17  Sebastian Dröge  <slomo@circular-chaos.org>
1459
1460         * gst/gstutils.c: (gst_atomic_int_set):
1461         Use g_atomic_int_set() here too instead of assignment +
1462         g_atomic_int_get().
1463
1464 2008-04-17  Sebastian Dröge  <slomo@circular-chaos.org>
1465         
1466         * gst/gstutils.c:
1467         * gst/gstutils.h:
1468         API: Deprecate gst_atomic_int_set(), g_atomic_int_set() should be used
1469         now that we depend on new enough GLib.
1470
1471         * gst/gstcaps.c: (gst_static_caps_get):
1472         * gst/gstclock.c: (gst_clock_entry_new):
1473         * gst/gstinfo.c: (_gst_debug_init), (gst_debug_set_colored),
1474         (gst_debug_set_default_threshold), (_gst_debug_category_new),
1475         (gst_debug_category_set_threshold):
1476         * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
1477         (gst_base_sink_set_qos_enabled):
1478         * libs/gst/net/gstnettimeprovider.c:
1479         (gst_net_time_provider_set_property):
1480         Use g_atomic_int_set() instead of gst_atomic_int_set().
1481
1482 2008-04-16  Stefan Kost  <ensonic@users.sf.net>
1483
1484         * gst/gstquery.c:
1485           Also use G_GINT64_CONSTANT for the queries.
1486
1487 2008-04-16  Stefan Kost  <ensonic@users.sf.net>
1488
1489         * gst/gstmessage.c:
1490           Use G_GINT64_CONSTANT in varargs function.
1491
1492 2008-04-16  Sebastian Dröge  <slomo@circular-chaos.org>
1493
1494         * gst/gstregistrybinary.c: (gst_registry_binary_initialize_magic):
1495         Initialize the registry magic with zeroes.
1496
1497 2008-04-16  Sebastian Dröge  <slomo@circular-chaos.org>
1498
1499         * gst/gstregistrybinary.c: (_gst_crc32),
1500         (gst_registry_binary_write),
1501         (gst_registry_binary_initialize_magic),
1502         (gst_registry_binary_write_cache),
1503         (gst_registry_binary_check_magic),
1504         (gst_registry_binary_read_cache):
1505         * gst/gstregistrybinary.h:
1506         Add crc32 checksum to the binary registry file and check this before
1507         accepting a registry file.
1508
1509         Also free the data list when writing to the registry file fails.
1510
1511 2008-04-16  Sebastian Dröge  <slomo@circular-chaos.org>
1512
1513         * gst/gstregistrybinary.c: (gst_registry_binary_save_feature),
1514         (gst_registry_binary_load_feature),
1515         (gst_registry_binary_load_plugin):
1516         If an element supports the Uri interface, returns a valid pointer
1517         to the supported URI protocols but this pointer contains nothing
1518         don't try to save that as it will corrupt the registry.
1519
1520         Don't unref the plugin if we added it to the registry already but
1521         fail to load a feature as gst_registry_add_plugin() takes ownership
1522         of the plugin.
1523
1524         Improve debugging a bit.
1525
1526 2008-04-16  Stefan Kost  <ensonic@users.sf.net>
1527
1528         * gst/gsttaglist.h:
1529           Clarify some tag item docs after discussion on irc.
1530
1531 2008-04-15  Stefan Kost  <ensonic@users.sf.net>
1532
1533         * docs/gst/gstreamer-docs.sgml:
1534           Remove commented out plugins (they have their own docs). Update
1535           comments.
1536
1537 2008-04-15  Stefan Kost  <ensonic@users.sf.net>
1538
1539         * docs/gst/gstreamer-docs.sgml:
1540         * docs/gst/gstreamer-sections.txt:
1541         * gst/gstparamspecs.c:
1542         * gst/gstparamspecs.h:
1543           Add GST_PARAM_CONTROLLABLE and GST_PARAM_USER_SHIFT. Move paramspec
1544           docs to own section.
1545
1546         * gst/gstvalue.c:
1547           This now only documents GValue.
1548           
1549         * docs/libs/gstreamer-libs-sections.txt:
1550         * libs/gst/controller/gstcontroller.h:
1551           Remove GST_PARAM_CONTROLLABLE.
1552
1553 2008-04-15  Stefan Kost  <ensonic@users.sf.net>
1554
1555         * docs/README:
1556           Correct file path. Tell about how to use -overrides.txt.
1557         * docs/design/draft-tagreading.txt:
1558           Small design update.
1559
1560 2008-04-14  Sebastian Dröge  <slomo@circular-chaos.org>
1561
1562         * gst/gstregistrybinary.c: (gst_registry_binary_load_feature),
1563         (gst_registry_binary_load_plugin):
1564         Fix a typo in a debug message and revert change from yesterday as
1565         gst_registry_add_plugin() will only fail if something is really wrong
1566         already and we can't survive it anyway.
1567
1568 2008-04-14  Tim-Philipp Müller  <tim at centricular dot net>
1569
1570         * gst/gst.c: (init_post), (gst_deinit):
1571           Pre-register GstGError GType from a thread-safe context
1572           (fixes #527967); unref enum type classes in deinit.
1573
1574 2008-04-13  Tim-Philipp Müller  <tim at centricular dot net>
1575
1576         Patch by: Rene Stadler <mail at renestadler de>
1577
1578         * gst/gsttagsetter.c: (gst_tag_setter_merge_tags):
1579           Merging an empty list with another list in KEEP_ALL mode should
1580           yield an empty list as result and not the second list (#512578).
1581
1582         * tests/check/gst/gsttagsetter.c:
1583           Add unit test for tag merge modes and the aforementioned bug.
1584
1585 2008-04-13  Tim-Philipp Müller  <tim at centricular dot net>
1586
1587         Patch by: Rene Stadler <mail at renestadler de>
1588
1589         * gst/gsttaglist.h:
1590           Fix description to match the order in the table (#512577).
1591   
1592 2008-04-13  Tim-Philipp Müller  <tim at centricular dot net>
1593
1594         Patch by: Kwang Yul Seo  <kwangyul.seo gmail com>
1595
1596         * libs/gst/net/gstnettimepacket.h:
1597         * docs/libs/gstreamer-libs-sections.txt:
1598           Define socklen_t as int if it's not defined yet. Fixes compilation
1599           with MSVC6 and other versions where socklen_t is not defined in
1600           the windows headers (#518022).
1601
1602 2008-04-13  Sebastian Dröge  <slomo@circular-chaos.org>
1603
1604         * gst/gstregistrybinary.c: (gst_registry_binary_load_plugin):
1605         If gst_registry_add_plugin() fails our reference to the plugin is
1606         invalid so don't try to use it anymore and instead error out.
1607
1608 2008-04-12  Tim-Philipp Müller  <tim at centricular dot net>
1609
1610         * tools/gst-xmlinspect.c: (print_element_info), (main):
1611           De-cruft a bit. If no argument is specified, print all elements in
1612           XML syntax rather than a freestyle list of elements like gst-inspect.
1613           Also, don't print XML header chunk unless we actually have something
1614           to print (ie. don't print it before an error message); print error
1615           message to stderr not stdout. Remove support for printing plugin
1616           info (it would just output something freestyle along the lines of
1617           gst-inspect so far), which fixes #514507. Also add license header.
1618
1619 2008-04-11  Julien Moutte  <julien@fluendo.com>
1620
1621         Mac OS X love...
1622         * configure.ac: Merge platform specific defines, introduce a new
1623         define on OS X to remember that forking when updating registry is
1624         unsafe.
1625         * docs/faq/gst-uninstalled: Updated to include gst-libs in the bad
1626         module.
1627         * gst/gst.c: Don't fork when updating registry if GST_HAVE_UNSAFE_FORK
1628         is defined.
1629         * gst/gstregistry.c: (gst_registry_scan_path_level): Fixed a bogus
1630         condition that leads to absolutely no plugins being registered on
1631         OS X.
1632
1633 2008-04-10  Tim-Philipp Müller  <tim at centricular dot net>
1634
1635         Based on patch by: José Alburquerque <jaalburqu at svn dot gnome dot org>
1636
1637         * gst/gstutils.c: (gst_pad_add_data_probe),
1638           (gst_pad_add_data_probe_full), (gst_pad_add_event_probe),
1639           (gst_pad_add_event_probe_full), (gst_pad_add_buffer_probe),
1640           (gst_pad_add_buffer_probe_full):
1641         * gst/gstutils.h:
1642         * docs/gst/gstreamer-sections.txt:
1643         * win32/common/libgstreamer.def:
1644           Add gst_pad_add_*_probe_full() functions with a notify callback that
1645           lets the caller free the data it passes to the probe functions. This
1646           is useful for bindings such as gst-python or gstreamermm (#526814).
1647           API: gst_pad_add_data_probe_full
1648           API: gst_pad_add_buffer_probe_full
1649           API: gst_pad_add_event_probe_full
1650
1651         * tests/check/gst/gstutils.c:
1652           Add minimal unit test to make sure freeing the data actually works
1653           as expected.
1654
1655         * tests/benchmarks/.cvsignore:
1656           Random cvsignore addendum.
1657
1658 2008-04-10  Tim-Philipp Müller  <tim at centricular dot net>
1659
1660         * gst/gstdebugutils.h: (GST_DEBUG_BIN_TO_DOT_FILE_WITH_TS),
1661           (GST_DEBUG_BIN_TO_DOT_FILE):
1662           Mention GstDebugGraphDetails enum type in doc blurb so we get a link
1663           to it in the docs (since these are macros the types of the arguments
1664           won't be shown in the docs otherwise).
1665
1666 2008-04-10  Stefan Kost  <ensonic@users.sf.net>
1667
1668         * gst/gstpad.c:
1669           Do not abort on out of memory for pad_alloc_buffer.
1670
1671 2008-04-10  Stefan Kost  <ensonic@users.sf.net>
1672
1673         * libs/gst/check/gstcheck.c:
1674           Remove blank line between symbol name ad parameters to fix gtkdoc
1675           warning.
1676
1677 2008-04-09  Tim-Philipp Müller  <tim at centricular dot net>
1678
1679         Patch by:  José Alburquerque <jaalburqu at svn dot gnome dot org>
1680
1681         * docs/gst/gstreamer-sections.txt:
1682         * gst/gstsegment.c:
1683         * gst/gstsegment.h:
1684         * win32/common/libgstreamer.def:
1685           Expose gst_segment_copy() to make things easier for the c++ bindings.
1686           Fixes #518932.
1687           API: gst_segment_copy()
1688
1689 2008-04-09  Tim-Philipp Müller  <tim at centricular dot net>
1690
1691         * gst/gst.c: (gst_init_get_option_group), (init_post):
1692           Fix const position; ref GType classes for enum types to work
1693           around thread-safety issues in GLib versions < 2.16.
1694
1695 2008-04-09  Wim Taymans  <wim.taymans@collabora.co.uk>
1696
1697         * docs/design/part-buffering.txt:
1698         Fix some typos and set the estimated total for push mode to -1.
1699
1700         * gst/gstquery.c: (gst_query_new_buffering):
1701         Set buffering-left to 0 as we're not buffering by default.
1702
1703         * libs/gst/base/gstbasesrc.c: (gst_base_src_default_query):
1704         Implement BUFFERING query.
1705
1706 2008-04-09  Tim-Philipp Müller  <tim at centricular dot net>
1707
1708         Based on patch by: Milosz Derezynski <internalerror gmail com>
1709
1710         * gst/gsterror.c: (_gst_stream_errors_init):
1711         * gst/gsterror.h:
1712           Add two new error codes for encrypted content. Fixes #524659.
1713           API: GST_STREAM_ERROR_DECRYPT
1714           API: GST_STREAM_ERROR_DECRYPT_NOKEY
1715
1716 2008-04-09  Tim-Philipp Müller  <tim at centricular dot net>
1717
1718         * gst/gstquery.h:
1719           Fix typo.
1720
1721         * win32/common/libgstreamer.def:
1722           Add new functions.
1723
1724 2008-04-09  Sebastian Dröge  <slomo@circular-chaos.org>
1725
1726         * plugins/elements/gstidentity.c: (gst_identity_event),
1727         (gst_identity_start):
1728         Fix imperfect timestamp/offset checks when we get another NEWSEGMENT
1729         event after processing some data. Fixes bug #526042.
1730
1731 2008-04-08  Wim Taymans  <wim.taymans@collabora.co.uk>
1732
1733         * docs/gst/gstreamer-sections.txt:
1734         * gst/gstquery.c: (gst_query_parse_latency),
1735         (gst_query_set_buffering_percent),
1736         (gst_query_parse_buffering_percent),
1737         (gst_query_set_buffering_range), (gst_query_parse_buffering_range):
1738         * gst/gstquery.h:
1739         Rename _avail -> _range
1740         API: gst_query_set_buffering_range
1741         API: gst_query_parse_buffering_range
1742
1743 2008-04-08  Wim Taymans  <wim.taymans@collabora.co.uk>
1744
1745         * docs/design/part-buffering.txt:
1746         * gst/gstquark.c:
1747         * gst/gstquark.h:
1748         * gst/gstquery.c: (gst_query_parse_latency),
1749         (gst_query_new_buffering), (gst_query_set_buffering_percent),
1750         (gst_query_parse_buffering_percent):
1751         * gst/gstquery.h:
1752         Add busy field and quark for the buffering query so that the app can
1753         only use the query to see if buffering is in progress.
1754
1755 2008-04-08  Wim Taymans  <wim.taymans@collabora.co.uk>
1756
1757         * docs/gst/gstreamer-sections.txt:
1758         * gst/gstmessage.c: (gst_message_set_buffering_stats),
1759         (gst_message_parse_buffering_stats):
1760         * gst/gstmessage.h:
1761         * gst/gstquery.c: (gst_query_new_latency), (gst_query_set_latency),
1762         (gst_query_parse_latency), (gst_query_new_buffering),
1763         (gst_query_set_buffering_percent),
1764         (gst_query_parse_buffering_percent),
1765         (gst_query_set_buffering_stats), (gst_query_parse_buffering_stats),
1766         (gst_query_set_buffering_avail), (gst_query_parse_buffering_avail):
1767         * gst/gstquery.h:
1768         Reorder the message docs and headers for clarity.
1769         Add aditional buffering stats API for messages.
1770         Add buffering query.
1771         Convert some leftover queries to use GstQuark.
1772         API: gst_message_set_buffering_stats
1773         API: gst_message_parse_buffering_stats
1774         API: GST_QUERY_BUFFERING
1775         API: GstBufferingMode
1776         API: gst_query_new_buffering
1777         API: gst_query_set_buffering_percent
1778         API: gst_query_parse_buffering_percent
1779         API: gst_query_set_buffering_stats
1780         API: gst_query_parse_buffering_stats
1781
1782 2008-04-08  Wim Taymans  <wim.taymans@collabora.co.uk>
1783
1784         * gst/gstmessage.c: (gst_message_new_error),
1785         (gst_message_new_warning), (gst_message_new_info),
1786         (gst_message_new_buffering), (gst_message_new_state_changed),
1787         (gst_message_new_clock_provide), (gst_message_new_clock_lost),
1788         (gst_message_new_new_clock), (gst_message_new_segment_start),
1789         (gst_message_new_segment_done), (gst_message_new_duration),
1790         (gst_message_new_async_start), (gst_message_parse_buffering),
1791         (gst_message_parse_state_changed),
1792         (gst_message_parse_clock_provide), (gst_message_parse_clock_lost),
1793         (gst_message_parse_new_clock), (gst_message_parse_error),
1794         (gst_message_parse_warning), (gst_message_parse_info),
1795         (gst_message_parse_segment_start),
1796         (gst_message_parse_segment_done), (gst_message_parse_duration),
1797         (gst_message_parse_async_start):
1798         Use GstQuark for messages.
1799
1800 2008-04-08  Wim Taymans  <wim.taymans@collabora.co.uk>
1801
1802         * gst/gstquark.c: (_priv_gst_quarks_initialize):
1803         * gst/gstquark.h:
1804         Add some more quarks needed for messages and queries.
1805
1806 2008-04-08  Wim Taymans  <wim.taymans@collabora.co.uk>
1807
1808         * docs/design/part-buffering.txt:
1809         Remove the "none" buffering mode, STREAM is a good default.
1810         Move estimated-time to the avail query, that's when it will be needed.
1811         Other small typo fixes and updates.
1812
1813 2008-04-07  Tim-Philipp Müller  <tim at centricular dot net>
1814
1815         * gst/gstindex.c: (gst_index_resolver_get_type):
1816           Don't put descriptions into the nick field of a GEnumValue: it's not
1817           meant for that and some language bindings rely on the nick field to
1818           construct constants and the like. Fixes #526705.
1819
1820 2008-04-07  Tim-Philipp Müller  <tim at centricular dot net>
1821
1822         * NEWS:
1823         * RELEASE:
1824         * gstreamer.doap:
1825           Merge other changes from 0.10.19 release branch.
1826
1827 2008-04-06  Sebastian Dröge  <slomo@circular-chaos.org>
1828
1829         Patch by: Damien Lespiau <damien dot lespiau at gmail dot com>
1830
1831         * configure.ac:
1832         Actually build dlls when cross-compiling with mingw32.
1833         Fixes bug #526247.
1834
1835 2008-04-05  Sebastian Dröge  <slomo@circular-chaos.org>
1836
1837         Patch by: Damien Lespiau <damien dot lespiau at gmail dot com>
1838
1839         * gst/gstpoll.c:
1840         Fix compilation of GstPoll with mingw32. Fixes bug #526236.
1841
1842 2008-04-04  Wim Taymans  <wim.taymans@collabora.co.uk>
1843
1844         * docs/design/draft-latency.txt:
1845         Fix typo.
1846
1847         * docs/design/part-buffering.txt:
1848         Update design docs with more buffering ideas.
1849
1850 2008-04-03  Tim-Philipp Müller  <tim at centricular dot net>
1851
1852         * configure.ac:
1853           Bump version to 0.10.19.1 after the unscheduled 0.10.19 release.
1854
1855 2008-04-03  Stefan Kost  <ensonic@users.sf.net>
1856
1857         * configure.ac:
1858           Revert part that belongs to the preset patch.
1859
1860 2008-04-03  Stefan Kost  <ensonic@users.sf.net>
1861
1862         * configure.ac:
1863           Add qoutes to the define. Fixes # 525961.
1864
1865 2008-04-03  Sebastian Dröge  <slomo@circular-chaos.org>
1866
1867         * plugins/indexers/gstfileindex.c: (_file_index_id_free),
1868         (gst_file_index_load), (gst_file_index_add_id),
1869         (gst_file_index_get_assoc_entry):
1870         * plugins/indexers/gstmemindex.c: (gst_mem_index_free_format),
1871         (gst_mem_index_free_id), (gst_mem_index_add_id),
1872         (gst_mem_index_index_format):
1873         Use GSlice when possible.
1874
1875 2008-04-02  Sebastian Dröge  <slomo@circular-chaos.org>
1876
1877         * libs/gst/controller/gstinterpolationcontrolsource.c:
1878         (gst_control_point_free),
1879         (gst_interpolation_control_source_set_internal):
1880         Use GSlice for allocating the control points.
1881
1882 2008-04-02  Wim Taymans  <wim.taymans@collabora.co.uk>
1883
1884         * plugins/elements/gsttypefindelement.c:
1885         (gst_type_find_element_class_init),
1886         (gst_type_find_element_set_property),
1887         (gst_type_find_element_get_property),
1888         (gst_type_find_element_activate):
1889         * plugins/elements/gsttypefindelement.h:
1890         Cleanup properties.
1891         Fix pad leak when peer query fails.
1892         We can still typefind when the peer returns -1.
1893         Add property to force caps and bypass typefinding. This will be used in
1894         uridecodebin.
1895         API::force-caps
1896
1897 2008-04-01  Sebastian Dröge  <slomo@circular-chaos.org>
1898
1899         * configure.ac:
1900         Require GLib 2.12.
1901
1902         * gst/glib-compat-private.h:
1903         * gst/gstcaps.c: (gst_caps_new_empty), (_gst_caps_free):
1904         * gst/gstclock.c: (gst_clock_entry_new), (_gst_clock_id_free):
1905         Unconditionally use GSlice for allocation.
1906
1907         * gst/gstpoll.c: (gst_poll_new), (gst_poll_free):
1908         * gst/gstsegment.c: (gst_segment_new), (gst_segment_free):
1909         * gst/gststructure.c: (gst_structure_id_empty_new_with_size),
1910         (gst_structure_free):
1911         Use GSlice for allocation.
1912
1913 2008-04-01  Sebastian Dröge  <slomo@circular-chaos.org>
1914
1915         * gst/parse/Makefile.am:
1916         * gst/parse/grammar.tab.pre.c:
1917         * gst/parse/grammar.tab.pre.h:
1918         * gst/parse/lex._gst_parse_yy.pre.c:
1919         Require a new enough flex and bison and remove the parser hacks to use
1920         a pre-regenerated version.
1921
1922 2008-04-01  Julien Moutte  <julien@fluendo.com>
1923
1924         patch by: Jason Zhao <E3423C@motorola.com>
1925
1926         * configure.ac: Add a configure switch to disable option parsing
1927         in gst_init.
1928         Fixes #522882.
1929
1930 2008-03-31  Stefan Kost  <ensonic@users.sf.net>
1931
1932         * configure.ac:
1933         * gst/gstregistry.c:
1934           MacOS has plugins under .so or under .dylib. Add detection for MacOS
1935           and handle this case.
1936
1937         * gst/gst.c:
1938           Add a comment here describing, why we stat each plugin and not try to
1939           be smart.
1940
1941 2008-03-31  Sebastian Dröge  <slomo@circular-chaos.org>
1942
1943         * libs/gst/base/gstbasetransform.c:
1944         (gst_base_transform_prepare_output_buffer):
1945         Also unset the GAP flag on buffers if we're working inplace but
1946         the element is not GAP-aware.
1947
1948         Mark a comment as FIXME 0.11.
1949
1950 2008-03-31  Stefan Kost  <ensonic@users.sf.net>
1951
1952         * gst/gst.c:
1953           Fix type in log message and add one to ease seeing how long registry
1954           cache verification takes.
1955
1956         * gst/gstregistry.c:
1957           Only test plugin filenames against G_MODULE_SUFFIX.
1958
1959 2008-03-31  Stefan Kost  <ensonic@users.sf.net>
1960
1961         * gst/gstdebugutils.c:
1962           Improve handling ghost/proxy pads.
1963
1964 2008-03-27  Stefan Kost  <ensonic@users.sf.net>
1965
1966         * docs/gst/gstreamer-sections.txt:
1967         * gst/gstpad.c:
1968         * gst/gstpad.h:
1969           Expose macro to docs and fix link to it.
1970
1971 2008-03-27  Michael Smith <msmith@fluendo.com>
1972
1973         * libs/gst/dataprotocol/dataprotocol.c:
1974         (gst_dp_packet_from_event_1_0):
1975           When calculating GDP body CRC, use the correct pointer. 
1976           Fixes part of #522401.
1977
1978 2008-03-24  Wim Taymans  <wim.taymans@collabora.co.uk>
1979
1980         Patch by: Mark Nauwelaerts <manauw at skynet be>
1981
1982         * plugins/elements/gstidentity.c: (gst_identity_class_init),
1983         (gst_identity_init), (gst_identity_prepare_output_buffer):
1984         Identity is not always a passthrough element, it can modify the buffer
1985         timestamps when it has a datarate and operates in single-segment mode.
1986         We therefore make it an in_place filter with a custom buffer prepare
1987         function that conditionally makes the input buffer metadata writable
1988         when needed.  Fixes #523985.
1989
1990 2008-03-24  Wim Taymans  <wim.taymans@collabora.co.uk>
1991
1992         Patch by: Mark Nauwelaerts <manauw at skynet be>
1993
1994         * gst/gstclock.h:
1995         * libs/gst/base/gstbasesrc.h:
1996         * libs/gst/base/gstbasetransform.c:
1997         * libs/gst/check/gstcheck.c:
1998         Small documentation fixes. Fixes #523978.
1999
2000 2008-03-24  Wim Taymans  <wim.taymans@collabora.co.uk>
2001
2002         * plugins/elements/gstfdsink.c: (gst_fd_sink_render):
2003         * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
2004         Also retry our poll_wait when we get EAGAIN. Fixes #524041.
2005
2006 2008-03-24  Wim Taymans  <wim.taymans@collabora.co.uk>
2007
2008         * plugins/elements/gstmultiqueue.c: (single_queue_overrun_cb),
2009         (single_queue_underrun_cb):
2010         When trying to make room in the queue, bump the max allowed buffers
2011         bigger than the current amount of buffers in the queue. this fixes some
2012         nasty deadlocks in multiqueue when dynamically changing the limits of
2013         the queue.
2014
2015 2008-03-24  Wim Taymans  <wim.taymans@collabora.co.uk>
2016
2017         Patch by:  José Alburquerque <jaalburqu at svn dot gnome dot org>
2018
2019         * gst/gstcaps.c: (gst_caps_set_simple),
2020         (gst_caps_set_simple_valist), (gst_caps_intersect):
2021         * gst/gstcaps.h:
2022         Constify the field gchar * params in set_simple and friends.
2023         Fixes #522326.
2024
2025 2008-03-24  Wim Taymans  <wim.taymans@collabora.co.uk>
2026
2027         * gst/gstvalue.c: (gst_value_transform_object_string):
2028         Transform a GstObject to a more meaningfull string that includes the
2029         object type in addition to its name.
2030
2031 2008-03-23  Stefan Kost  <ensonic@users.sf.net>
2032
2033         * ChangeLog:
2034           ChangeLog surgery to add bugnumber to commit.
2035
2036 2008-03-23  Rene Stadler  <mail@renestadler.de>
2037
2038         * libs/gst/base/gstbasetransform.c:
2039         (gst_base_transform_set_gap_aware): Fix confusing documentation.
2040
2041 2008-03-23  Sebastian Dröge  <slomo@circular-chaos.org>
2042
2043         * gst/gstregistrybinary.c: (gst_registry_binary_write):
2044         Rename constant everywhere and don't forget one occurence.
2045
2046 2008-03-23  Sebastian Dröge  <slomo@circular-chaos.org>
2047
2048         * gst/gstregistrybinary.c: (gst_registry_binary_write):
2049         Align memory to the pointer size even if the architecture allows
2050         unaligned memory access. Unaligned memory access usually comes with
2051         performance penality.
2052
2053 2008-03-23  Sebastian Dröge  <slomo@circular-chaos.org>
2054
2055         * gst/gstregistrybinary.c: (gst_registry_binary_write),
2056         (gst_registry_binary_check_magic),
2057         (gst_registry_binary_load_pad_template),
2058         (gst_registry_binary_load_feature),
2059         (gst_registry_binary_load_plugin):
2060         Align memory to the pointer size instead of always 32 bit. Fixes
2061         unaligned memory accesses on ia64 and friends.
2062
2063         * gst/gstregistrybinary.h:
2064         Bump binary registry format version for this as it changes the
2065         format on those architectures that don't have unaligned access
2066         and 64 bit pointers.
2067
2068 2008-03-22  Sebastian Dröge  <slomo@circular-chaos.org>
2069
2070         * docs/pwg/advanced-dparams.xml:
2071         * docs/pwg/building-props.xml:
2072         * docs/pwg/other-source.xml:
2073         * gst/glib-compat.h:
2074         * gst/gstbin.c: (gst_bin_class_init):
2075         * gst/gstclock.c: (gst_clock_class_init):
2076         * gst/gstindex.c: (gst_index_class_init):
2077         * gst/gstobject.c: (gst_object_class_init):
2078         * gst/gstpad.c: (gst_pad_class_init):
2079         * gst/gstpipeline.c: (gst_pipeline_class_init):
2080         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
2081         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init):
2082         * libs/gst/base/gstbasetransform.c:
2083         (gst_base_transform_class_init):
2084         * libs/gst/base/gstdataqueue.c: (gst_data_queue_class_init):
2085         * libs/gst/check/gstcheck.c: (_gst_check_fault_handler_restore),
2086         (_gst_check_fault_handler_sighandler),
2087         (_gst_check_fault_handler_setup), (gst_check_init):
2088         * libs/gst/controller/gstcontroller.c:
2089         (_gst_controller_class_init):
2090         * libs/gst/controller/gstlfocontrolsource.c:
2091         (gst_lfo_control_source_class_init):
2092         * libs/gst/net/gstnetclientclock.c:
2093         (gst_net_client_clock_class_init):
2094         * libs/gst/net/gstnettimeprovider.c:
2095         (gst_net_time_provider_class_init):
2096         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_class_init):
2097         * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init):
2098         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init):
2099         * plugins/elements/gstfdsink.c: (gst_fd_sink_class_init):
2100         * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init):
2101         * plugins/elements/gstfilesink.c: (gst_file_sink_class_init):
2102         * plugins/elements/gstfilesrc.c: (gst_file_src_class_init):
2103         * plugins/elements/gstidentity.c: (gst_identity_class_init):
2104         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_class_init):
2105         * plugins/elements/gstqueue.c: (gst_queue_class_init):
2106         * plugins/elements/gsttee.c: (gst_tee_class_init):
2107         * plugins/elements/gsttypefindelement.c:
2108         (gst_type_find_element_class_init):
2109         * plugins/indexers/gstfileindex.c: (gst_file_index_class_init):
2110         Define G_PARAM_STATIC_STRINGS if it's undefined (GLib < 2.13.0) and
2111         use it everywhere for GParamSpecs that use static strings (i.e. all).
2112         This gives us less memory usage, fewer allocations and thus less
2113         memory defragmentation. Fixes bug #523806.
2114
2115 2008-03-22  Sebastian Dröge  <slomo@circular-chaos.org>
2116
2117         * gst/gstminiobject.c: (gst_value_dup_mini_object),
2118         (gst_param_spec_mini_object):
2119         * gst/gstminiobject.h:
2120         * win32/common/libgstreamer.def:
2121         * docs/gst/gstreamer-sections.txt:
2122         API: Add GST_IS_PARAM_SPEC_MINI_OBJECT, GST_PARAM_SPEC_MINI_OBJECT
2123         GST_TYPE_PARAM_MINI_OBJECT and gst_value_dup_mini_object. Also move
2124         GstParamSpecMiniObject into a public header for this.
2125
2126         This make GstMiniObject a bit more consistent with GObject and makes
2127         it possible to extend the param specs.
2128
2129         gst_value_dup_mini_object is mainly useful for set_property methods.
2130
2131         Fixes bug #523798.
2132
2133         * tools/gst-inspect.c: (print_element_properties_info):
2134         Print something useful for GstMiniObject properties and not just
2135         "unknown type".
2136
2137 2008-03-21  Sebastian Dröge  <slomo@circular-chaos.org>
2138
2139         * docs/gst/gstreamer-sections.txt:
2140         * gst/gstregistrybinary.c: (gst_registry_binary_initialize_magic),
2141         (gst_registry_binary_check_magic):
2142         * gst/gstregistrybinary.h:
2143         Call the version GST_MAGIC_BINARY_VERSION_STR to be more consistent
2144         and add it to the (private part) of the docs to fix the build.
2145
2146 2008-03-21  Sebastian Dröge  <slomo@circular-chaos.org>
2147
2148         * gst/gstregistrybinary.c: (gst_registry_binary_initialize_magic),
2149         (gst_registry_binary_check_magic),
2150         (gst_registry_binary_read_cache):
2151         * gst/gstregistrybinary.h:
2152         Don't use GST_MAJORMINOR for the binary registry version. Instead
2153         hardcode a value that must be changed whenever the format changes
2154         in an incompatible way.
2155         Also don't GST_ERROR when there is a version mismatch, just
2156         regenerate the registry silently.
2157
2158 2008-03-21  Jan Schmidt  <jan.schmidt@sun.com>
2159
2160         * configure.ac:
2161         Back to development - 0.10.18.1
2162
2163 === release 0.10.18 ===
2164
2165 2008-03-20  Jan Schmidt <jan.schmidt@sun.com>
2166
2167         * configure.ac:
2168           releasing 0.10.18, "So far away"
2169
2170 2008-03-18  Jan Schmidt  <jan.schmidt@sun.com>
2171
2172         * configure.ac:
2173         * win32/common/config.h:
2174         0.10.17.4 pre-release
2175
2176 2008-03-18  Wim Taymans  <wim.taymans@collabora.co.uk>
2177
2178         Patch by: Ole André Vadla Ravnås
2179             <ole dot andre dot ravnas at tandberg dot com>
2180
2181         * docs/gst/gstreamer-sections.txt:
2182         * gst/gstpoll.c: (gst_poll_winsock_error_to_errno),
2183         (gst_poll_update_winsock_event_mask),
2184         (gst_poll_prepare_winsock_active_sets),
2185         (gst_poll_collect_winsock_events), (gst_poll_new), (gst_poll_free),
2186         (gst_poll_add_fd_unlocked), (gst_poll_fd_ctl_write),
2187         (gst_poll_fd_ctl_read_unlocked), (gst_poll_fd_ignored),
2188         (gst_poll_fd_has_error), (gst_poll_fd_can_read_unlocked),
2189         (gst_poll_check_ctrl_commands), (gst_poll_wait):
2190         * gst/gstpoll.h:
2191         * win32/common/libgstreamer.def:
2192         Add new function gst_poll_fd_ignored() for improved Windows
2193         compatibility.
2194         Various minor fixes and cleanups. See #520808.
2195
2196 2008-03-17  Tim-Philipp Müller  <tim at centricular dot net>
2197
2198         * gst/gstindex.c: (gst_index_entry_free):
2199         * gst/gstindex.h:
2200           Don't free key strings which we don't own. Fixes crash in
2201           gst_index_entry_free() (#522741).
2202
2203         * tests/check/Makefile.am:
2204         * tests/check/gst/.cvsignore:
2205         * tests/check/gst/gstindex.c: (test_index_entries),
2206           (gst_index_suite), (gst_index):
2207           Add unit test for the above.
2208
2209 2008-03-11  Sebastian Dröge  <slomo@circular-chaos.org>
2210
2211         * win32/common/libgstreamer.def:
2212         Remove symbols that were removed recently. Fixes bug #521740.
2213
2214 2008-03-11  Jan Schmidt  <jan.schmidt@sun.com>
2215
2216         * configure.ac:
2217         * win32/common/config.h:
2218         0.10.17.3 pre-release
2219
2220 2008-03-07  Wim Taymans  <wim.taymans@collabora.co.uk>
2221
2222         Patch by: Ole André Vadla Ravnås
2223             <ole dot andre dot ravnas at tandberg dot com>
2224
2225         * docs/gst/gstreamer-sections.txt:
2226         * gst/gstpoll.c: (find_index), (gst_poll_free_winsock_event),
2227         (gst_poll_update_winsock_event_mask), (gst_poll_new),
2228         (gst_poll_free), (gst_poll_fd_init), (gst_poll_add_fd_unlocked),
2229         (gst_poll_remove_fd), (gst_poll_fd_ctl_write),
2230         (gst_poll_fd_ctl_read_unlocked), (gst_poll_fd_has_closed),
2231         (gst_poll_fd_has_error), (gst_poll_fd_can_read_unlocked),
2232         (gst_poll_fd_can_write), (gst_poll_wait),
2233         (gst_poll_set_controllable), (gst_poll_restart),
2234         (gst_poll_set_flushing):
2235         * gst/gstpoll.h:
2236         * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_new):
2237         * libs/gst/net/gstnettimeprovider.c: (gst_net_time_provider_start),
2238         (gst_net_time_provider_new):
2239         * plugins/elements/gstfdsink.c: (gst_fd_sink_start):
2240         * plugins/elements/gstfdsrc.c: (gst_fd_src_start):
2241         * tests/benchmarks/gstpollstress.c: (main):
2242         * tests/check/gst/gstpoll.c: (GST_START_TEST), (gst_poll_suite):
2243         Remove GstPollMode from the API, it does not make sense to let the
2244         application control this.
2245         Add support for Win32.
2246         Fix the testsuite. Fixes #520671.
2247
2248 2008-03-07  Sebastian Dröge  <slomo@circular-chaos.org>
2249
2250         Patch by: Ole André Vadla Ravnås
2251             <ole dot andre dot ravnas at tandberg dot com>
2252
2253         * gst/gstregistrybinary.c:
2254         Include io.h for write() and close() when building with MSVC. Fixes
2255         bug #520877.
2256
2257 2008-03-07  Stefan Kost  <ensonic@users.sf.net>
2258
2259         * configure.ac:
2260         * gst/gst_private.h:
2261         * gst/gstconfig.h.in:
2262         * gst/gstregistry.h:
2263         * gst/gstregistrybinary.c:
2264         * win32/common/gstconfig.h:
2265           Move registry backend API to private headers where we can. Add
2266           fixme-0.11 comments for the others. Add stubs for the xml backend when
2267           using the binary to ensure they functions exists (they should not be
2268           used though). Fixes #520756.
2269
2270 2008-03-04  Jan Schmidt  <jan.schmidt@sun.com>
2271
2272         * configure.ac:
2273         * win32/common/config.h:
2274         0.10.17.2 prelease
2275
2276 2008-03-03  Edward Hervey  <edward.hervey@collabora.co.uk>
2277
2278         * gst/gstregistrybinary.c: (gst_registry_binary_write),
2279         (gst_registry_binary_read_cache):
2280         * gst/gstregistryxml.c: (gst_registry_save):
2281         * gst/gsturi.c: (unescape_string), (gst_uri_has_protocol):
2282         * plugins/elements/gstfilesink.c: (gst_file_sink_open_file):
2283         * plugins/elements/gstfilesrc.c: (gst_file_src_map_region),
2284         (gst_file_src_map_small_region), (gst_file_src_create_mmap):
2285         Switch to using portabl gsize/gssize instead of size_t/ssize_t
2286         Fixes #520152
2287
2288 2008-03-03  Edward Hervey  <edward.hervey@collabora.co.uk>
2289
2290         * gst/gstminiobject.c:
2291         Import gst_private.h before any other header that might include other
2292         glib headers. This fixes the build on windows using native compilers.
2293
2294 2008-03-03  Tim-Philipp Müller  <tim at centricular dot net>
2295
2296         * win32/common/gstconfig.h:
2297           Add here too, just for completeness.
2298
2299 2008-03-03  Tim-Philipp Müller  <tim at centricular dot net>
2300
2301         * configure.ac:
2302         * gst/gstconfig.h.in:
2303         * gst/gstregistry.h:
2304           Fix broken use of config.h-defined preprocessor directive in a public
2305           header file. Add a corresponding define to gstconfig.h, since we can't
2306           really remove those function declarations from the header file now
2307           (or can we? and why are they there in the first place?).
2308
2309 2008-03-03  Andy Wingo  <wingo@pobox.com>
2310
2311         * tests/check/gst/gststructure.c (GST_START_TEST): Add a check for
2312         the new warning.
2313
2314         * gst/gststructure.c (gst_structure_from_string): Warn if
2315         structure_from_string didn't consume the whole string, but the
2316         caller did not provide an end pointer.
2317
2318 2008-03-01  Tim-Philipp Müller  <tim at centricular dot net>
2319
2320         Patch by: Fabrizio Gennari <fabrizio.ge at tiscali it>
2321
2322         * gst/gstregistryxml.c: (read_string), (load_feature):
2323           Strings allocated by libxml2 should be freed with xmlFree(), not
2324           with g_free(). Fixes issues on windows in certain contexts (#519698).
2325
2326 2008-02-29  Tim-Philipp Müller  <tim at centricular dot net>
2327
2328         * gst/gstinterface.c: (gst_element_implements_interface):
2329           Don't crash if the element supports the interface queried, but does
2330           not implement GstImplementsInterface. Fixes #519584.
2331
2332         * tests/check/Makefile.am:
2333         * tests/check/gst/.cvsignore:
2334         * tests/check/gst/gstinterface.c:
2335           Add unit test for the above.
2336
2337 2008-02-29  Wim Taymans  <wim.taymans@collabora.co.uk>
2338
2339         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
2340         Small doc update.
2341
2342 2008-02-29  Wim Taymans  <wim.taymans@collabora.co.uk>
2343
2344         * gst/gstsegment.c: (gst_segment_set_seek),
2345         (gst_segment_to_stream_time):
2346         Improve some comment.
2347         Update variables where it makes more sense.
2348
2349 2008-02-29  Rene Stadler  <mail@renestadler.de>
2350
2351         * gst/gsturi.c: (gst_uri_handler_get_protocols):
2352         Use the get_protocols_full vfunc if get_protocols is NULL.  Fixes
2353         URIHandlers implemented using language bindings.
2354
2355 2008-02-29  Sebastian Dröge  <slomo@circular-chaos.org>
2356
2357         * gst/gstelementfactory.h:
2358         * tests/check/elements/fakesink.c:
2359         * tests/check/elements/fakesrc.c: (setup_fakesrc):
2360         * tests/check/elements/fdsrc.c: (setup_fdsrc):
2361         * tests/check/elements/filesink.c: (setup_filesink):
2362         * tests/check/elements/filesrc.c: (setup_filesrc):
2363         * tests/check/elements/identity.c: (setup_identity):
2364         * tests/check/elements/tee.c:
2365         * tests/check/generic/sinks.c:
2366         * tests/check/generic/states.c: (setup), (teardown):
2367         * tests/check/gst/gst.c:
2368         * tests/check/gst/gstabi.c:
2369         * tests/check/gst/gstbin.c:
2370         * tests/check/gst/gstbus.c: (pull_messages):
2371         * tests/check/gst/gstcaps.c:
2372         * tests/check/gst/gstelement.c:
2373         * tests/check/gst/gstevent.c:
2374         * tests/check/gst/gstghostpad.c:
2375         * tests/check/gst/gstiterator.c:
2376         * tests/check/gst/gstmessage.c:
2377         * tests/check/gst/gstminiobject.c: (my_foo_init):
2378         * tests/check/gst/gstobject.c: (thread_name_object),
2379         (gst_object_suite):
2380         * tests/check/gst/gstpad.c:
2381         * tests/check/gst/gstplugin.c:
2382         * tests/check/gst/gstpoll.c:
2383         * tests/check/gst/gstquery.c:
2384         * tests/check/gst/gstsegment.c:
2385         * tests/check/gst/gststructure.c:
2386         * tests/check/gst/gstsystemclock.c:
2387         * tests/check/gst/gsttask.c:
2388         * tests/check/gst/gstutils.c:
2389         * tests/check/gst/gstvalue.c:
2390         * tests/check/gst/struct_hppa.h:
2391         * tests/check/gst/struct_i386.h:
2392         * tests/check/gst/struct_ppc32.h:
2393         * tests/check/gst/struct_ppc64.h:
2394         * tests/check/gst/struct_x86_64.h:
2395         * tests/check/libs/adapter.c: (create_and_fill_adapter):
2396         * tests/check/libs/basesrc.c:
2397         * tests/check/libs/controller.c: (GST_START_TEST):
2398         * tests/check/libs/gdp.c:
2399         * tests/check/libs/gstnetclientclock.c:
2400         * tests/check/libs/gstnettimeprovider.c:
2401         * tests/check/libs/libsabi.c:
2402         * tests/check/libs/struct_hppa.h:
2403         * tests/check/libs/struct_i386.h:
2404         * tests/check/libs/struct_ppc32.h:
2405         * tests/check/libs/struct_ppc64.h:
2406         * tests/check/libs/struct_x86_64.h:
2407         * tests/check/pipelines/cleanup.c:
2408         * tests/check/pipelines/simple-launch-lines.c:
2409         * tests/check/pipelines/stress.c:
2410         And correct even more valid sparse warnings.
2411
2412         * win32/common/libgstreamer.def:
2413         Add gst_poll_fd_init to the list of symbols.
2414
2415 2008-02-29  Sebastian Dröge  <slomo@circular-chaos.org>
2416
2417         * gst/gstconfig.h.in:
2418         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_read_buffer):
2419         * libs/gst/check/gstcheck.c: (gst_check_log_message_func),
2420         (gst_check_log_critical_func), (gst_check_drop_buffers),
2421         (gst_check_element_push_buffer_list):
2422         * libs/gst/controller/gstcontroller.c: (gst_controller_get),
2423         (gst_controller_get_type):
2424         * libs/gst/controller/gsthelper.c: (gst_object_control_properties),
2425         (gst_object_get_controller), (gst_object_get_control_source):
2426         * libs/gst/controller/gstinterpolationcontrolsource.c:
2427         (gst_interpolation_control_source_new):
2428         * libs/gst/controller/gstlfocontrolsource.c:
2429         (gst_lfo_control_source_new):
2430         * libs/gst/dataprotocol/dataprotocol.c:
2431         (gst_dp_event_from_packet_0_2):
2432         * plugins/elements/gstfdsrc.c:
2433         * plugins/elements/gstmultiqueue.c:
2434         * plugins/elements/gsttee.c:
2435         * plugins/elements/gsttypefindelement.c:
2436         * plugins/indexers/gstfileindex.c: (_file_index_id_save_xml),
2437         (gst_file_index_add_association):
2438         * plugins/indexers/gstmemindex.c:
2439         * tests/benchmarks/gstpollstress.c: (mess_some_more):
2440         * tests/check/elements/queue.c: (setup_queue):
2441         * tests/check/gst/gstpipeline.c:
2442         * tests/check/libs/collectpads.c: (setup), (teardown),
2443         (gst_collect_pads_suite):
2444         * tests/examples/adapter/adapter_test.c:
2445         * tests/examples/metadata/read-metadata.c: (make_pipeline):
2446         * tests/examples/xml/createxml.c:
2447         * tests/examples/xml/runxml.c:
2448         * tools/gst-inspect.c:
2449         * tools/gst-run.c:
2450         Correct all relevant warnings found by the sparse semantic code
2451         analyzer. This include marking several symbols static, using
2452         NULL instead of 0 for pointers, not using variable sized arrays
2453         on the stack, moving variable declarations to the beginning of
2454         a block and using "foo (void)" instead of "foo ()" for declarations.
2455
2456 2008-02-29  Sebastian Dröge  <slomo@circular-chaos.org>
2457
2458         * plugins/elements/gstfdsink.c: (gst_fd_sink_update_fd):
2459         * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
2460         Don't reset GstPollFDs, this is not necessary at all.
2461
2462         * tests/check/gst/gstpoll.c: (test_poll_wait), (GST_START_TEST),
2463         (delayed_restart), (delayed_control):
2464         Use GST_POLL_FD_INIT.
2465
2466 2008-02-29  Wim Taymans  <wim.taymans@collabora.co.uk>
2467
2468         * gst/gstpoll.c: (gst_poll_fd_init):
2469         * gst/gstpoll.h:
2470         Added Since tags.
2471
2472         * plugins/elements/gstfdsink.c: (gst_fd_sink_update_fd):
2473         Use some more init macros.
2474
2475 2008-02-29  Wim Taymans  <wim.taymans@collabora.co.uk>
2476
2477         * plugins/elements/gstfdsink.c: (gst_fd_sink_start):
2478         * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
2479         Use init macros and functions.
2480
2481 2008-02-29  Wim Taymans  <wim.taymans@collabora.co.uk>
2482
2483         * docs/gst/gstreamer-sections.txt:
2484         * gst/gstpoll.c: (gst_poll_fd_init):
2485         * gst/gstpoll.h:
2486         Add INIT macro and _init method for initializing the GstPollFD.
2487
2488 2008-02-28  Sebastian Dröge  <slomo@circular-chaos.org>
2489
2490         * plugins/elements/gstfdsink.c: (gst_fd_sink_start),
2491         (gst_fd_sink_update_fd):
2492         * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
2493         * tests/check/gst/gstpoll.c: (test_poll_wait), (GST_START_TEST),
2494         (delayed_restart), (delayed_control):
2495         Initialize some uninitialized variables as spotted by valgrind.
2496
2497 2008-02-28  Wim Taymans  <wim.taymans@collabora.co.uk>
2498
2499         * tests/benchmarks/Makefile.am:
2500         * tests/benchmarks/gstpollstress.c: (mess_some_more), (run_test),
2501         (main):
2502         Add poll stress test.
2503
2504 2008-02-28  Wim Taymans  <wim.taymans@collabora.co.uk>
2505
2506         Patch by: Peter Kjellerstedt <pkj at axis dot com>
2507
2508         * plugins/elements/gstfdsink.c: (gst_fd_sink_render),
2509         (gst_fd_sink_start), (gst_fd_sink_stop), (gst_fd_sink_unlock),
2510         (gst_fd_sink_unlock_stop), (gst_fd_sink_update_fd):
2511         * plugins/elements/gstfdsink.h:
2512         * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd),
2513         (gst_fd_src_start), (gst_fd_src_stop), (gst_fd_src_unlock),
2514         (gst_fd_src_unlock_stop), (gst_fd_src_create),
2515         (gst_fd_src_uri_set_uri):
2516         * plugins/elements/gstfdsrc.h:
2517         Port to GstPoll. See #505417.
2518
2519 2008-02-27  Jan Schmidt  <jan.schmidt@sun.com>
2520
2521         * win32/common/libgstreamer.def:
2522         Add new gst_poll_ symbols to win32 defs.
2523
2524 2008-02-27  Wim Taymans  <wim.taymans@collabora.co.uk>
2525
2526         * docs/libs/gstreamer-libs-sections.txt:
2527         * libs/gst/net/gstnetclientclock.c:
2528         (gst_net_client_clock_class_init), (gst_net_client_clock_init),
2529         (gst_net_client_clock_finalize), (gst_net_client_clock_do_select),
2530         (gst_net_client_clock_thread), (gst_net_client_clock_start),
2531         (gst_net_client_clock_stop), (gst_net_client_clock_new):
2532         * libs/gst/net/gstnetclientclock.h:
2533         * libs/gst/net/gstnettimeprovider.c:
2534         (gst_net_time_provider_class_init), (gst_net_time_provider_init),
2535         (gst_net_time_provider_finalize), (gst_net_time_provider_thread),
2536         (gst_net_time_provider_start), (gst_net_time_provider_stop),
2537         (gst_net_time_provider_new):
2538         * libs/gst/net/gstnettimeprovider.h:
2539         Use a private stuct to not break ABI.
2540
2541 2008-02-27  Wim Taymans  <wim.taymans@collabora.co.uk>
2542
2543         Patch by: Peter Kjellerstedt <pkj at axis dot com>
2544
2545         * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_init),
2546         (gst_net_client_clock_finalize), (gst_net_client_clock_do_select),
2547         (gst_net_client_clock_thread), (gst_net_client_clock_start),
2548         (gst_net_client_clock_stop), (gst_net_client_clock_new):
2549         * libs/gst/net/gstnetclientclock.h:
2550         * libs/gst/net/gstnettimeprovider.c: (gst_net_time_provider_init),
2551         (gst_net_time_provider_finalize), (gst_net_time_provider_thread),
2552         (gst_net_time_provider_start), (gst_net_time_provider_stop),
2553         (gst_net_time_provider_new):
2554         * libs/gst/net/gstnettimeprovider.h:
2555         Massive code removal and cleanups because of GstPoll.
2556         Fixes #505417.
2557
2558 2008-02-27  Wim Taymans  <wim.taymans@collabora.co.uk>
2559
2560         * configure.ac:
2561         Add checks for poll, ppoll and pselect.
2562
2563         * docs/gst/gstreamer-docs.sgml:
2564         * docs/gst/gstreamer-sections.txt:
2565         Add docs for GstPoll.
2566
2567         * gst/Makefile.am:
2568         * gst/gst.h:
2569         * gst/gstpoll.c: (find_index), (selectable_fds),
2570         (pollable_timeout), (choose_mode), (pollfd_to_fd_set),
2571         (fd_set_to_pollfd), (gst_poll_new), (gst_poll_free),
2572         (gst_poll_set_mode), (gst_poll_get_mode),
2573         (gst_poll_add_fd_unlocked), (gst_poll_add_fd),
2574         (gst_poll_remove_fd), (gst_poll_fd_ctl_write),
2575         (gst_poll_fd_ctl_read_unlocked), (gst_poll_fd_ctl_read),
2576         (gst_poll_fd_has_closed), (gst_poll_fd_has_error),
2577         (gst_poll_fd_can_read_unlocked), (gst_poll_fd_can_read),
2578         (gst_poll_fd_can_write), (gst_poll_wait),
2579         (gst_poll_set_controllable), (gst_poll_restart),
2580         (gst_poll_set_flushing):
2581         * gst/gstpoll.h:
2582         Add generic poll abstraction. We ideally don't want to have this in core
2583         here but in glib intead...
2584         This code will be used in various network elements and ultimately for
2585         the nanosecond precision monotonic clock (that's why it's here in core).
2586         It'll allow us to implement cancelable socket operations for windows too.
2587
2588         * tests/check/Makefile.am:
2589         * tests/check/gst/gstpoll.c: (test_poll_wait), (GST_START_TEST),
2590         (delayed_stop), (delayed_restart), (delayed_flush),
2591         (delayed_control), (gst_poll_suite):
2592         Add GstPoll unit test.
2593
2594 2008-02-25  Tim-Philipp Müller  <tim at centricular dot net>
2595
2596         * gst/gstfilter.c:
2597           Improve documentation of gst_filter_run(). Fixes #518627.
2598
2599 2008-02-23  Tim-Philipp Müller  <tim at centricular dot net>
2600
2601         * docs/README:
2602           Add a few lines about the new 'check-inspected-versions' target.
2603
2604 2008-02-21  Stefan Kost  <ensonic@users.sf.net>
2605
2606         * tests/check/gst/gstevent.c:
2607           Add qos to the event test. Rename tcase/tsuite; is not only about
2608           custom events.
2609
2610 2008-02-21  Stefan Kost  <ensonic@users.sf.net>
2611
2612         * plugins/elements/gstqueue.c:
2613           Ensure that buffer metadata is writeable, before modifying. Spotted by
2614           Mike.
2615
2616 2008-02-20  Stefan Kost  <ensonic@users.sf.net>
2617
2618         * plugins/elements/gstqueue.c:
2619         * plugins/elements/gstqueue.h:
2620           When dropping buffers in leaky modes, mark next buffers we sent as
2621           DISCONT.
2622
2623 2008-02-20  Tim-Philipp Müller  <tim at centricular dot net>
2624
2625         * plugins/elements/gstfilesrc.c: (gst_file_src_map_region):
2626           Also, if mmap() fails that would be a READ error, not OPEN_READ.
2627
2628 2008-02-20  Tim-Philipp Müller  <tim at centricular dot net>
2629
2630         * plugins/elements/Makefile.am:
2631         * plugins/elements/gstbufferstore.c:
2632         * plugins/elements/gstbufferstore.h:
2633         * plugins/elements/gsttypefindelement.h:
2634           Remove GstBufferStore, no idea why we were still building it.
2635           It's not used anywhere and superseded by GstAdapter.
2636
2637         * plugins/elements/gstfilesrc.c: (gst_file_src_map_region),
2638           (gst_file_src_create_mmap):
2639         * plugins/indexers/gstfileindex.c: (gst_file_index_add_association):
2640           Printf format fixes for 64-bit integers.
2641
2642 2008-02-19  Sebastian Dröge  <slomo@circular-chaos.org>
2643
2644         * configure.ac:
2645         Don't set GST_CACHE_DIR and allow to set it by a configure parameter.
2646         We're not in 0.8 times anymore.
2647
2648 2008-02-19  Jan Schmidt  <Jan.Schmidt@sun.com>
2649
2650         * libs/gst/check/gstcheck.c: (gst_check_drop_buffers),
2651         (gst_check_element_push_buffer_list):
2652         * libs/gst/check/gstcheck.h:
2653         Make the declaration in the header for
2654         gst_check_element_push_buffer_list match the implementation.
2655
2656         Fix up spelling, grammar and wording of the documentation in a few
2657         places, and add the Since keyword to new API functions.
2658         Use g_list_delete_link instead of g_list_remove in
2659         gst_check_drop_buffers, since it's immeasurably more efficient.
2660
2661         * tests/check/elements/fakesrc.c: (GST_START_TEST):
2662         Use new gst_check_drop_buffers function where appropriate.
2663
2664         * win32/common/libgstbase.def:
2665         * win32/common/libgstreamer.def:
2666         Add new symbols gst_collect_pads_take_buffer, 
2667         gst_collect_pads_read_buffer, gst_index_set_resolver_full to the
2668         exports
2669
2670         Changelog surgery to add API keyword to new gst_check API.
2671
2672 2008-02-19  Sebastian Dröge  <slomo@circular-chaos.org>
2673
2674         * gst/parse/lex._gst_parse_yy.pre.c: (yy_get_next_buffer),
2675         (_gst_parse_yyensure_buffer_stack), (_gst_parse_yylex_init_extra):
2676         Update pre-generated flex files with flex 2.3.34.
2677
2678 2008-02-19  Sebastian Dröge  <slomo@circular-chaos.org>
2679
2680         * gst/gstminiobject.c:
2681           Add FIXME for 0.11 to make GstMiniObjectClass::copy() a bit more
2682           friendly to subclasses and not require them to know all internals
2683           of their parent class.
2684
2685 2008-02-15  Stefan Kost  <ensonic@users.sf.net>
2686
2687         * docs/libs/gstreamer-libs-sections.txt:
2688         * libs/gst/base/gstcollectpads.c:
2689         * libs/gst/base/gstcollectpads.h:
2690           Add sub-buffer functions to collectpads. Fixes #516187.
2691           API: gst_collect_pads_take_buffer(), gst_collect_pads_read_buffer()
2692
2693 2008-02-15  Stefan Kost  <ensonic@users.sf.net>
2694
2695         * gst/gstbuffer.c:
2696           Copy selected buffer-flags when creating subbuffers.
2697           Fixes #516395.
2698
2699 2008-02-12  Sebastian Dröge  <slomo@circular-chaos.org>
2700
2701         * gst/gstbuffer.c: (gst_buffer_class_init), (gst_buffer_finalize):
2702         * gst/gstevent.c: (gst_event_class_init), (gst_event_finalize):
2703         * gst/gstmessage.c: (gst_message_class_init),
2704         (gst_message_finalize):
2705         * gst/gstquery.c: (gst_query_class_init), (gst_query_finalize):
2706         * plugins/elements/gstfilesrc.c: (gst_mmap_buffer_class_init),
2707         (gst_mmap_buffer_finalize):
2708         Properly chain up finalize functions to the parent class.
2709
2710 2008-02-11  Wim Taymans  <wim.taymans@collabora.co.uk>
2711
2712         Patch by: Siavash Safi <siavash dot safi at gmail dot com>
2713
2714         * gst/gstindex.c: (gst_index_finalize), (gst_index_set_resolver),
2715         (gst_index_set_resolver_full):
2716         * gst/gstindex.h:
2717         Add new function with option to dispose of user_data in resolver.
2718         Actually call the dispose function when finalizing the object and not
2719         just when changing the resolver/filter.
2720         API: GstIndex::gst_index_set_resolver_full()
2721
2722         * docs/gst/gstreamer-sections.txt:
2723         Add new function to docs. Fixes #515469.
2724
2725 2008-02-11  Sebastian Dröge  <slomo@circular-chaos.org>
2726
2727         * gst/gstindex.c: (gst_index_finalize):
2728         Chain up finalize to the parent class. Fixes leaking the GstObject
2729         name and other things.
2730
2731 2008-02-08  Jan Schmidt  <jan.schmidt@sun.com>
2732
2733         * configure.ac:
2734         Make DISABLE_DEPRECATED defined *only* during CVS, not during
2735         pre-releases or releases.
2736
2737         * docs/faq/gst-uninstalled:
2738         Add gst-plugins-gl
2739
2740         * docs/random/release:
2741         Change one of the steps - we only upload core & base to Gnome FTP
2742
2743 2008-02-06  Stefan Kost  <ensonic@users.sf.net>
2744
2745         * gst/gstconfig.h.in:
2746           Add 'id' for example.
2747
2748         * gst/gstpad.c:
2749         * gst/gstutils.c:
2750         * plugins/elements/gstfdsink.c:
2751           Link to signals. Doc and comment fixes.
2752
2753 2008-02-05  Tim-Philipp Müller  <tim at centricular dot net>
2754
2755         * gst/gstpad.h: (GST_PAD_LINK_SUCCESSFUL):
2756         * gst/gstpluginfeature.h: (GstPluginFeatureClass):
2757           Some minor docs fixes: fix typo, mention that GST_FLOW_RESEND is
2758           unused and unimplemented; finally, it is plugin features, not
2759           plugins, that have ranks.
2760           
2761 2008-02-05  Stefan Kost  <ensonic@users.sf.net>
2762
2763         * gst/gstpluginfeature.h:
2764           Clarify GstRank range docs.
2765
2766 2008-02-05  David Schleef  <ds@schleef.org>
2767
2768         * gst/gst.c: Add a separate gst_deinitialized that prevents
2769           gst_init() from being called after gst_deinit().  Fixes #509559
2770
2771 2008-02-05  Sebastian Dröge  <slomo@circular-chaos.org>
2772
2773         * gst/gstbin.c: (gst_bin_get_type), (gst_bin_base_init),
2774         (gst_bin_class_init):
2775         * gst/gstelement.c: (gst_element_base_class_init),
2776         (gst_element_class_add_pad_template):
2777         * gst/gstpadtemplate.c: (gst_pad_template_init):
2778         * gst/gstpipeline.c: (gst_pipeline_get_type),
2779         (gst_pipeline_base_init), (gst_pipeline_class_init):
2780         * libs/gst/base/gstbasesink.c:
2781         * libs/gst/base/gstbasesrc.c: (gst_base_src_get_type),
2782         (gst_base_src_base_init), (gst_base_src_class_init):
2783         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_base_init),
2784         (gst_capsfilter_class_init):
2785         * plugins/elements/gstfakesink.c: (gst_fake_sink_base_init),
2786         (gst_fake_sink_class_init):
2787         * plugins/elements/gstfakesrc.c: (gst_fake_src_base_init),
2788         (gst_fake_src_class_init):
2789         * plugins/elements/gstfdsink.c: (gst_fd_sink_base_init),
2790         (gst_fd_sink_class_init):
2791         * plugins/elements/gstfdsrc.c: (gst_fd_src_base_init),
2792         (gst_fd_src_class_init):
2793         * plugins/elements/gstfilesink.c: (gst_file_sink_base_init),
2794         (gst_file_sink_class_init):
2795         * plugins/elements/gstfilesrc.c: (gst_file_src_base_init),
2796         (gst_file_src_class_init):
2797         * plugins/elements/gstidentity.c: (gst_identity_base_init),
2798         (gst_identity_class_init):
2799         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_base_init),
2800         (gst_multi_queue_class_init):
2801         * plugins/elements/gstqueue.c: (gst_queue_base_init),
2802         (gst_queue_class_init):
2803         * plugins/elements/gsttee.c: (gst_tee_base_init),
2804         (gst_tee_class_init):
2805         * plugins/elements/gsttypefindelement.c:
2806         (gst_type_find_element_base_init),
2807         (gst_type_find_element_class_init):
2808         * tests/check/gst/gstelement.c: (gst_element_suite):
2809         Revert previous changes to the behaviour of GstPadTemplates, etc
2810         and the possiblity to call them in class_init as it breaks too
2811         many elements. Reopens bug #491501.
2812
2813         Should be applied again for 0.11, thus added a few FIXME 0.11 at
2814         several places.
2815
2816 2008-02-05  Stefan Kost  <ensonic@users.sf.net>
2817
2818         * tools/gst-launch.c:
2819         Dump one graph per pipeline state-change and state change name
2820         (if GST_DEBUG_DUMP_DOT_DIR is set).
2821
2822 2008-02-04  Thijs Vermeir  <thijsvermeir@gmail.com>
2823
2824         * gst/gstpad.c:
2825         * tests/check/gst/gstpad.c:
2826         Be sure that we have a new copy of the caps and not
2827         reffed caps from a template
2828
2829 2008-02-03  Sebastian Dröge  <slomo@circular-chaos.org>
2830
2831         * gst/gstbin.c: (gst_bin_get_type), (gst_bin_class_init):
2832         * gst/gstpipeline.c: (gst_pipeline_get_type),
2833         (gst_pipeline_class_init):
2834         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_type),
2835         (gst_base_sink_class_init):
2836         * libs/gst/base/gstbasesrc.c: (gst_base_src_get_type),
2837         (gst_base_src_class_init):
2838         * libs/gst/base/gstbasetransform.c: (gst_base_transform_get_type),
2839         (gst_base_transform_class_init):
2840         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
2841         (gst_collect_pads_class_init):
2842         * libs/gst/base/gstdataqueue.c: (gst_data_queue_get_type):
2843         * libs/gst/net/gstnettimeprovider.c:
2844         (gst_net_time_provider_base_init),
2845         (gst_net_time_provider_class_init):
2846         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_base_init),
2847         (gst_capsfilter_class_init):
2848         * plugins/elements/gstfakesink.c: (gst_fake_sink_base_init),
2849         (gst_fake_sink_class_init):
2850         * plugins/elements/gstfakesrc.c: (gst_fake_src_base_init),
2851         (gst_fake_src_class_init):
2852         * plugins/elements/gstfdsink.c: (gst_fd_sink_base_init),
2853         (gst_fd_sink_class_init):
2854         * plugins/elements/gstfdsrc.c: (gst_fd_src_base_init),
2855         (gst_fd_src_class_init):
2856         * plugins/elements/gstfilesink.c: (gst_file_sink_base_init),
2857         (gst_file_sink_class_init):
2858         * plugins/elements/gstfilesrc.c: (gst_file_src_base_init),
2859         (gst_file_src_class_init):
2860         * plugins/elements/gstidentity.c: (gst_identity_base_init),
2861         (gst_identity_class_init):
2862         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_base_init),
2863         (gst_multi_queue_class_init):
2864         * plugins/elements/gstqueue.c: (gst_queue_base_init),
2865         (gst_queue_class_init):
2866         * plugins/elements/gsttee.c: (gst_tee_base_init),
2867         (gst_tee_class_init):
2868         * plugins/elements/gsttypefindelement.c:
2869         (gst_type_find_element_base_init),
2870         (gst_type_find_element_class_init):
2871         Don't use base_init where not absolutely necessary. For example it's
2872         not necessary anymore for adding pad templates or setting element
2873         details.
2874
2875         Leave empty base_init functions in several places as GST_BOILERPLATE
2876         still defines and uses them.
2877
2878 2008-02-03  Sebastian Dröge  <slomo@circular-chaos.org>
2879
2880         * gst/gstelement.c: (gst_element_base_class_init),
2881         (gst_element_class_add_pad_template):
2882         * gst/gstpadtemplate.c:
2883         Make it possible (and recommended) to set element details and add
2884         pad templates in the class_init functions by copying the details/pad
2885         templates in GstElement's base_init.
2886
2887         Also make it possible to replace existing pad templates by adding
2888         a new one with the same name. This was done in a hackish fashion
2889         in same elements before already.
2890
2891         Don't reference pad templates that are added a second time. A
2892         new pad template has a refcount of one and is not floating anymore
2893         and to be owned by the element's class. Make this more explicit by
2894         mentioning it in the docs of gst_element_class_add_pad_template().
2895
2896         These changes are backwards compatible. Fixes bug #491501.
2897
2898         * tests/check/gst/gstelement.c:
2899         Add unit test for setting element details, adding pad templates and
2900         replacing them in a subclass.
2901
2902 2008-02-02  Sebastian Dröge  <slomo@circular-chaos.org>
2903
2904         * tools/gst-inspect.c: (print_interfaces),
2905         (print_element_properties_info), (print_pad_info),
2906         (print_signal_info), (print_element_info):
2907         Fix a few memory leaks.
2908
2909 2008-02-01  Thijs Vermeir  <thijsvermeir@gmail.com>
2910
2911         * docs/libs/gstreamer-libs-sections.txt:
2912         * libs/gst/check/gstcheck.c:
2913         * libs/gst/check/gstcheck.h:
2914         Add more functions for unit testing: gst_check_drop_buffers,
2915         gst_check_caps_equal, gst_check_element_push_buffer_list,
2916         gst_check_element_push_buffer
2917         API: gst_check_drop_buffers
2918         API: gst_check_caps_equal
2919         API: gst_check_element_push_buffer_list
2920         API: gst_check_element_push_buffer
2921
2922 2008-02-01  Julien Moutte  <julien@fluendo.com>
2923
2924         * docs/gst/gstreamer-sections.txt: Add GST_CHECK_VERSION to the docs
2925         * gst/gstindex.c: (gst_index_class_init), (gst_index_free_writer),
2926         (gst_index_finalize), (gst_index_entry_free),
2927         (gst_index_add_association): Fix memory leaks.
2928         * gst/gstversion.h.in: Add GST_CHECK_VERSION macro.
2929         * plugins/indexers/gstmemindex.c: (gst_mem_index_class_init),
2930         (gst_mem_index_free_format), (gst_mem_index_free_id),
2931         (gst_mem_index_finalize): Fix memory leaks.
2932         * win32/common/config.h: Updated to CVS HEAD.
2933
2934 2008-02-01  Stefan Kost  <ensonic@users.sf.net>
2935
2936         * docs/README:
2937           Some more details about how the plugin docs works.
2938
2939         * docs/plugins/gstreamer-plugins-sections.txt:
2940           Whitespace cleanup.
2941
2942 2008-02-01  Stefan Kost  <ensonic@users.sf.net>
2943
2944         * gst/parse/grammar.tab.pre.c:
2945         * gst/parse/grammar.tab.pre.h:
2946         * gst/parse/grammar.y:
2947         * gst/parse/lex._gst_parse_yy.pre.c:
2948           Add delayed set-property. This allows to set properties on dynamicaly
2949           created objects (pads in videomxer). Fixes #509391.
2950
2951 2008-02-01  Thijs Vermeir  <thijsvermeir@gmail.com>
2952
2953         * gst/gstutils.c:
2954         Check if caps are not NULL (fix bug #510194)
2955
2956 2008-02-01  Wim Taymans  <wim.taymans@collabora.co.uk>
2957
2958         * libs/gst/base/gstbasesink.c: (gst_base_sink_loop),
2959         (gst_base_sink_get_position_paused):
2960         Add fixme regarding EOS in pull mode.
2961         Fix position reporting in PAUSED for negative rates.
2962
2963 2008-02-01  Wim Taymans  <wim.taymans@collabora.co.uk>
2964
2965         * gst/gstminiobject.c: (gst_mini_object_replace):
2966         When replacing a miniobject, do a quick equality check first so that we
2967         can avoid a ref/unref pair.
2968
2969 2008-02-01  Wim Taymans  <wim.taymans@collabora.co.uk>
2970
2971         * docs/design/part-synchronisation.txt:
2972         Update some docs.
2973
2974         * docs/plugins/Makefile.am:
2975         * docs/plugins/gstreamer-plugins-docs.sgml:
2976         * docs/plugins/gstreamer-plugins-sections.txt:
2977         * plugins/elements/gstmultiqueue.c:
2978         Add multiqueue to the docs.
2979
2980 2008-01-30  Jan Schmidt  <jan.schmidt@sun.com>
2981
2982         * configure.ac:
2983           Back to CVS
2984
2985 === release 0.10.17 ===
2986
2987 2008-01-30  Jan Schmidt <jan.schmidt@sun.com>
2988
2989         * configure.ac:
2990           releasing 0.10.17, "Due Negligence"
2991
2992 2008-01-30  Jan Schmidt  <jan.schmidt@sun.com>
2993
2994         * gst/gstutils.c:
2995         Revert caps != NULL check temporarily for 0.10.17 release.
2996
2997 2008-01-30  Thijs Vermeir  <thijsvermeir@gmail.com>
2998
2999         * gst/gstutils.c:
3000         Check if caps are not NULL (fix bug #510194)
3001
3002 2008-01-30  Jan Schmidt  <jan.schmidt@sun.com>
3003
3004         * gst/gstutils.c:
3005         Fix compilation on systems that have posix timers but no
3006         monotonic clock.
3007         Fixes: #512715
3008         Patch By: Cygwin Ports maintainer <yselkowitz at users dot sourceforge
3009         dot net>
3010
3011 2008-01-30  Jan Schmidt  <jan.schmidt@sun.com>
3012
3013         * tools/gst-inspect.c:
3014         Revert previous commit in preparation for an impromptu 0.10.17 release
3015
3016 2008-01-29  Sebastian Dröge  <slomo@circular-chaos.org>
3017
3018         * tools/gst-inspect.c: (print_interfaces),
3019         (print_element_properties_info), (print_pad_info),
3020         (print_signal_info), (print_element_info):
3021         Fix a few memory leaks.
3022
3023 2008-01-28  Jan Schmidt  <jan.schmidt@sun.com>
3024
3025         * configure.ac:
3026         Back to CVS
3027
3028 === release 0.10.16 ===
3029
3030 2008-01-28  Jan Schmidt <thaytan@noraisin.net>
3031
3032         * configure.ac:
3033           releasing 0.10.16, "Special Dispensation"
3034
3035 2008-01-24  Tim-Philipp Müller  <tim at centricular dot net>
3036
3037         * configure.ac:
3038           Use AC_TRY_COMPILE instead of AC_TRY_RUN to check for
3039           _POSIX_TIMER, _POSIX_MONOTONIC_CLOCK, etc. Makes configure
3040           not fail when trying to crosscompile on OpenEmbedded (#511750).
3041
3042 2008-01-20  Sebastian Dröge  <slomo@circular-chaos.org>
3043
3044         * docs/manuals.mak:
3045         Use $(MAKE) instead of make to fix the build if GNU make is
3046         called different. Fixes bug #510747.
3047
3048 2008-01-20  Tim-Philipp Müller  <tim at centricular dot net>
3049
3050         * gst/gstplugin.c: (_gst_plugin_initialize):
3051           Fix old-style static plugins via GST_PLUGIN_DEFINE_STATIC
3052           again, which I broke two commits ago when changing the API
3053           of gst_plugin_register_static(): the g_list_foreach() in
3054           _gst_plugin_register_static still assumed the old function
3055           signature and would therefore fail (re-fixes #510187).
3056
3057         * gst/gstplugin.c: (_num_static_plugins), (_static_plugins),
3058           (_gst_plugin_register_static), (gst_plugin_register_static):
3059           Revert the (technically correct) change to call g_thread_init() from
3060           the pre-main() constructor. This will break programs which call
3061           g_thread_init() without an if (!g_thread_supported()) guard in their
3062           main function. We could just blame it on GLib or the application, but
3063           it's probably best to just avoid this altogether and simply not use
3064           any GLib functions here and use plain old malloc() with a simple
3065           array to store the plugins to register later when gst_init() is
3066           finally called (re-fixes #510187).
3067
3068         * tests/check/gst/gstplugin.c: (GST_GNUC_CONSTRUCTOR_DEFINED),
3069           (GST_GNUC_CONSTRUCTOR_DEFINED), (plugin_init_counter),
3070           (plugin1_init), (plugin2_init), (plugin3_init), (GST_START_TEST),
3071           (GST_START_TEST), (gst_plugin_suite):
3072           Dumb unit test to make sure the old GST_PLUGIN_DEFINE_STATIC still
3073           works.
3074
3075 2008-01-17  Tim-Philipp Müller  <tim at centricular dot net>
3076
3077         * gst/gstplugin.h: (GST_PLUGIN_DEFINE_STATIC):
3078           Remove deprecation guards around GST_PLUGIN_DEFINE_STATIC.
3079           This makes gtk-doc complain, but results in slightly better
3080           compiler errors. The old _gst_plugin_register_static() is
3081           still guarded, so there'll be a compiler warning about that
3082           instead. Fixes #510187 too.
3083
3084 2008-01-17  Tim-Philipp Müller  <tim at centricular dot net>
3085
3086         * gst/gst.c: (init_post):
3087         * gst/gstplugin.c: (_gst_plugin_register_static),
3088           (gst_plugin_register_static), (_gst_plugin_initialize):
3089         * gst/gstplugin.h: (GstPluginFilter):
3090           Change API of gst_plugin_register_static() to not take
3091           a GstPluginDesc, but rather just take all the arguments
3092           in a GstPluginDesc directly. This is more intuitive and
3093           avoids certain mistakes when porting code from
3094           GST_PLUGIN_DEFINE_STATIC to gst_plugin_register_static().
3095           Fixes #510187.
3096
3097         * tests/check/gst/gstplugin.c:
3098           Fix up for changed API.
3099
3100 2008-01-17  Thomas Vander Stichele  <thomas at apestaart dot org>
3101
3102         * docs/faq/legal.xml:
3103           Update FAQ, Totem actually has an exception these days.
3104
3105 2008-01-14  Jan Schmidt  <jan.schmidt@sun.com>
3106
3107         * win32/common/libgstreamer.def:
3108         Add new API declarations
3109
3110 2008-01-14  Stefan Kost  <ensonic@users.sf.net>
3111
3112         * gst/gstminiobject.c:
3113           Spelling fixes for the API docs.
3114
3115 2008-01-14  Stefan Kost  <ensonic@users.sf.net>
3116
3117         * libs/gst/base/gstbasetransform.c:
3118           Fix long property description for QoS.
3119
3120 2008-01-12  Jan Schmidt  <Jan.Schmidt@sun.com>
3121
3122         * gst/gst.c:
3123         _gst_trace_on is already provided by gsttrace.h, no need to declare
3124         it ourselves.
3125
3126         * docs/libs/gstreamer-libs-sections.txt:
3127         Add 'buffers', 'check_cond' and 'check_mutex' from libgstcheck
3128         and remove strange tcase_add_test which is outputting a warning.
3129
3130         * libs/gst/check/gstcheck.c:
3131         * libs/gst/check/gstcheck.h:
3132         Properly declare 'buffers', 'check_cond', 'check_mutex' extern
3133         and define them in gstcheck.c instead of having every .c file whcih
3134         includes gstcheck.h be defining its own copy and relying on symbol
3135         interposing to marry them all, which doesn't work on Solaris.
3136
3137         * tests/check/elements/identity.c: (GST_START_TEST):
3138         Don't define 'buffers' locally, it comes from libgstcheck.
3139
3140         * tests/check/generic/sinks.c: (send_buffer):
3141         Fix type of variable (GstFlowReturn, not GstStateChangeReturn)
3142
3143         * tests/check/gst/gststructure.c: (GST_START_TEST):
3144         * tests/check/gst/gstsystemclock.c: (GST_START_TEST):
3145         * tests/check/gst/gstutils.c: (GST_START_TEST):
3146         * tests/check/gst/gstvalue.c: (GST_START_TEST):
3147         Add a bunch of casts to make various constants fit the types
3148         they're being assigned to.
3149
3150 2008-01-10  Stefan Kost  <ensonic@users.sf.net>
3151
3152         * gst/gstchildproxy.c:
3153           Improve docs and add some ideas for making this more general-purpose.
3154
3155 2008-01-10  Tim-Philipp Müller  <tim at centricular dot net>
3156
3157         * gst/gst_private.h: (GST_CAT_TYPES):
3158           Add GST_CAT_TYPES, for consistency, and so that the other
3159           debug categories don't make fun of it. Spotted by Saur on IRC.
3160
3161 2008-01-10  Sebastian Dröge  <slomo@circular-chaos.org>
3162
3163         * gst/parse/Makefile.am:
3164           Move types.h from EXTRA_DIST to noinst_HEADERS.
3165
3166 2008-01-10  Sebastian Dröge  <slomo@circular-chaos.org>
3167
3168         * autogen.sh:
3169           Add -Wno-portability to the automake parameters to stop warnings
3170           about GNU make extensions being used. We require GNU make in almost
3171           every Makefile anyway.
3172
3173         * configure.ac:
3174           Use AM_PROG_CC_C_O as a compiler that accepts both -c and -o
3175           at the same time is required for per target flags.
3176
3177 2008-01-09  Tim-Philipp Müller  <tim at centricular dot net>
3178
3179         * gst/gstmacros.h:
3180           Include glib/gmacros.h for G_BEGIN_DECLS. Check if
3181           __GNUC__ is defined before using it.
3182
3183 2008-01-09  Tim-Philipp Müller  <tim at centricular dot net>
3184
3185         * docs/gst/gstreamer-sections.txt:
3186         * gst/gst.c: (init_post):
3187         * gst/gstplugin.c: (_gst_plugin_register_static),
3188           (gst_plugin_register_static), (_gst_plugin_initialize),
3189           (gst_plugin_register_func):
3190         * gst/gstplugin.h: (GST_PLUGIN_DEFINE_STATIC):
3191           API: add gst_plugin_register_static() and deprecate
3192           GST_PLUGIN_DEFINE_STATIC, since it's not portable
3193           (#498924).
3194           Also, in _gst_plugin_register_static(), make sure to call
3195           g_thread_init() before calling GLib functions such as
3196           g_list_append() if we're not initialised yet, since that
3197           may lead to random crashes with older GSlice/GLib versions.
3198
3199         * tests/check/gst/gstplugin.c:
3200           Adapt unit test to above changes.
3201
3202 2008-01-09  Tim-Philipp Müller  <tim at centricular dot net>
3203
3204         * gst/gst_private.h: (STRUCTURE_ESTIMATED_STRING_LEN):
3205         * gst/gstcaps.c: (gst_caps_to_string):
3206         * gst/gststructure.c: (GST_ASCII_IS_STRING),
3207           (priv_gst_structure_append_to_gstring), (gst_structure_to_string):
3208           Yet another gratuitous GString micro-optimisation: add a (private)
3209           function that serialises a structure appending to an existing
3210           GString, so that when we serialise caps we don't need to alloc+free
3211           a throwaway GString for each structure (each of which also entailing
3212           multiple reallocs on the way); also use g_string_sized_new() in
3213           various places with an approximate string length to avoid reallocs
3214           within GString. See #500143.
3215
3216 2008-01-09  Tim-Philipp Müller  <tim at centricular dot net>
3217
3218         * gst/gststructure.c: (gst_structure_id_set_value):
3219           Always check UTF-8 conformance of structure strings and not only
3220           if the debugging system is enabled; reasoning: the behaviour of
3221           the actual code shouldn't really change depending on whether the
3222           debugging system is enabled or not (#508291).
3223
3224 2008-01-09  Stefan Kost  <ensonic@users.sf.net>
3225
3226         * Makefile.am:
3227           Remove old coverage target in favour of "make lcov".
3228
3229 2008-01-09  Wim Taymans  <wim.taymans@collabora.co.uk>
3230
3231         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
3232         (gst_base_src_loop):
3233         The start segment for reverse playback goes from start to last_stop.
3234
3235 2008-01-09  Wim Taymans  <wim.taymans@collabora.co.uk>
3236
3237         Patch by: Peter Kjellerstedt <pkj axis com>
3238
3239         * gst/gstclock.h:
3240         Cast the results from the timeval/spec_to_time macros to what the
3241         docs say it casts to, a GstClockTime. fixes #508175.
3242
3243 2008-01-09  Wim Taymans  <wim.taymans@collabora.co.uk>
3244
3245         * gst/gstbuffer.c:
3246         Update some comments.
3247
3248         * tools/gst-inspect.c: (print_element_properties_info):
3249         Improve printing of flags.
3250
3251 2008-01-08  Tim-Philipp Müller  <tim at centricular dot net>
3252
3253         * libs/gst/base/gstbasetransform.c:
3254           (gst_base_transform_transform_size):
3255           Print element name with g_warning() if there's a problem
3256           with the unit size.
3257
3258 2008-01-07  David Schleef  <ds@schleef.org>
3259
3260         Patch by: Damien Lespiau <damien.lespiau@gmail.com>
3261
3262         * libs/gst/controller/gstcontroller.h:
3263         * libs/gst/controller/gstcontrolsource.h:
3264         * libs/gst/controller/gstinterpolationcontrolsource.h:
3265         * libs/gst/controller/gstlfocontrolsource.h:
3266         * libs/gst/dataprotocol/dataprotocol.h:
3267           Fix empty prototypes.  Fixes bug #507957.
3268
3269 2008-01-07  David Schleef  <ds@schleef.org>
3270
3271         * docs/faq/dependencies.xml: Fix typo.
3272
3273 2008-01-07  Wim Taymans  <wim.taymans@collabora.co.uk>
3274
3275         * libs/gst/base/gstbasesrc.c: (gst_base_src_default_do_seek),
3276         (gst_base_src_loop):
3277         Don't update the last_stop position in do_seek, that's the position we
3278         did a seek to.
3279         Read backwards when we have a negative rate.
3280
3281         * tests/check/elements/filesrc.c: (event_func), (wait_eos),
3282         (setup_filesrc), (cleanup_filesrc), (GST_START_TEST),
3283         (filesrc_suite):
3284         Add check for reverse reading.
3285
3286 2008-01-07  Tim-Philipp Müller  <tim at centricular dot net>
3287
3288         Patch by: Alexis Ballier <aballier at gentoo org>
3289
3290         * tests/check/gst/gstabi.c:
3291         * tests/check/gst/struct_ppc64.h:
3292         * tests/check/libs/libsabi.c:
3293         * tests/check/libs/struct_ppc64.h:
3294           Decide which header to include based on the userland ABI target
3295           and not the kernel/cpu. Fix up structure sizes of ppc64 header
3296           for 64-bit userland (#503590).  Might need something similar for
3297           x86 too.
3298
3299 2008-01-05  Tim-Philipp Müller  <tim at centricular dot net>
3300
3301         * gst/gstdebugutils.c: (_gst_debug_bin_to_dot_file):
3302           Log the reason why fopen fails in addition to the fact that it failed.
3303           
3304 2008-01-04  Sebastian Dröge  <slomo@circular-chaos.org>
3305
3306         * gst/parse/parse.l:
3307         Use "%option never-interactive" to prevent useless calls to isatty()
3308         on every input when parsing. Also use "%option noinput" to not define
3309         the static input/yyinput functions which we don't use anyway. This
3310         removes a compiler warning with gcc 4.3 and saves some bytes in the
3311         library.
3312         
3313         * gst/parse/lex._gst_parse_yy.pre.c:
3314         Regenerated for the above change.
3315
3316 2008-01-04  Wim Taymans  <wim.taymans@collabora.co.uk>
3317
3318         * gst/gstpad.c: (fixate_value):
3319         Don't crash when trying to fixate and empty list.
3320         Fixes #506643.
3321
3322 2008-01-03  Sebastian Dröge  <slomo@circular-chaos.org>
3323
3324         * docs/faq/gst-uninstalled:
3325         Clarify the comments to make the usage of this script and what it
3326         does easier to understand.
3327
3328 2008-01-01  Thijs Vermeir  <thijsvermeir@gmail.com>
3329
3330         * tools/gst-plot-timeline.py:
3331         Add more options to gst-plot-timeline
3332
3333 2007-12-31  Wim Taymans  <wim.taymans@collabora.co.uk>
3334
3335         * docs/design/part-synchronisation.txt:
3336         Some more info on how the stream_time in GstBaseSink is done.
3337
3338 2007-12-30  Tim-Philipp Müller  <tim at centricular dot net>
3339
3340         * tests/check/generic/sinks.c: (gst_sinks_suite):
3341           Put back the tcase_set_timeout(), apparently it's needed after
3342           all; fix it up in a way that makes things work with valgrind too.
3343
3344 2007-12-30  Thijs Vermeir  <thijsvermeir@gmail.com>
3345
3346         * gst/gstdebugutils.c:
3347           Add warning when failed to open file for writing.
3348
3349 2007-12-28  Tim-Philipp Müller  <tim at centricular dot net>
3350
3351         Based on patch by: Laurent Glayal  <spglegle yahoo fr>
3352
3353         * gst/gstvalue.c: (gst_value_is_fixed):
3354           Optimisation: bail out of the loop as early as possible (#500143).
3355
3356 2007-12-28  Tim-Philipp Müller  <tim at centricular dot net>
3357
3358         * gst/gstcaps.c: (gst_caps_to_string):
3359         * gst/gstinfo.c: (gst_debug_construct_term_color):
3360         * gst/gstparse.c: (gst_parse_launchv):
3361         * gst/gstutils.c: (gst_util_dump_mem):
3362         * gst/gstvalue.c: (gst_value_serialize_any_list),
3363           (gst_value_transform_any_list_string):
3364           Bunch of gratuitous nano-optimisations.
3365
3366 2007-12-28  Tim-Philipp Müller  <tim at centricular dot net>
3367
3368         * tests/check/generic/sinks.c: (async_done_func),
3369           (async_done_eos_func):
3370           Fix leak in unit test (bus sync handler must unref the message
3371           if it returns GST_BUS_DROP). Don't fiddle with the default test
3372           timeout, this is smaller than the current preconfigured value
3373           via CK_DEFAULT_TIMEOUT, and also breaks things with valgrind
3374           because it overrides the value specified in CK_DEFAULT_TIMEOUT.
3375
3376 2007-12-24  Wim Taymans  <wim.taymans@collabora.co.uk>
3377
3378         Based on Patch by: Laurent Glayal <spglegle at yahoo dot fr>
3379
3380         * configure.ac:
3381         Check for stdio_ext.h for the filesink changes.
3382
3383         * plugins/elements/gstfilesink.c: (buffer_mode_get_type),
3384         (gst_file_sink_class_init), (gst_file_sink_init),
3385         (gst_file_sink_dispose), (gst_file_sink_set_property),
3386         (gst_file_sink_get_property), (gst_file_sink_open_file),
3387         (gst_file_sink_close_file):
3388         * plugins/elements/gstfilesink.h:
3389         Add two properties to control the buffering mode and size.
3390         API: GstFileSink::buffer-mode
3391         API: GstFileSink::buffer-size
3392         Fixes #500150.
3393
3394 2007-12-24  Wim Taymans  <wim.taymans@collabora.co.uk>
3395
3396         * gst/gstsystemclock.c: (gst_system_clock_id_wait_jitter_unlocked):
3397         Add some more docs to explain why a FIXME was wrongly added. 
3398
3399 2007-12-22  Sebastian Dröge  <slomo@circular-chaos.org>
3400
3401         * gst/gstobject.c:
3402           Fix typo in the gst_object_{ref,unref} documentation.
3403
3404 2007-12-21  Tim-Philipp Müller  <tim at centricular dot net>
3405
3406         * tests/check/libs/controller.c:
3407         * tests/check/libs/typefindhelper.c:
3408         * tests/check/pipelines/parse-launch.c:
3409           Don't use GST_PLUGIN_DEFINE_STATIC, it is not portable and is
3410           going to be deprecated (see #498924).
3411
3412 2007-12-21  Tim-Philipp Müller  <tim at centricular dot net>
3413
3414         * gst/gsttypefind.c: (gst_type_find_register):
3415           Make gst_type_find_register work for static typefind functions,
3416           ie. allow passing plugin == NULL (prerequisite for #498924).
3417
3418         * gst/gstelementfactory.c: (gst_element_register):
3419           Small docs addition.
3420
3421 2007-12-21  Wim Taymans  <wim.taymans@collabora.co.uk>
3422
3423         * gst/gstpad.c: (gst_pad_dispose):
3424         Really unlink the peer pad instead of setting the peer pointer to NULL
3425         when we dispose the pad.
3426         This correctly calls the unlink functions and makes sure that the peer
3427         does not have a handle to invalid memory. See #504671.
3428
3429         * tests/check/gst/gstpad.c: (GST_START_TEST), (gst_pad_suite):
3430         Add testsuite for above case.
3431
3432 2007-12-20  Tim-Philipp Müller  <tim at centricular dot net>
3433
3434         Patch by: Peter Kjellerstedt <pkj axis com>
3435
3436         * libs/gst/check/gstcheck.h:
3437           Fix detection of the check version we're compiling against (would
3438           otherwise break if check goes v0.10.0); correctly report the
3439           name of the failed test again in case of failure, instead of
3440           just 'tf' (fixes #504499).
3441
3442 2007-12-19  Wim Taymans  <wim.taymans@collabora.co.uk>
3443
3444         * libs/gst/base/gstbasesrc.c: (gst_base_src_send_event),
3445         (gst_base_src_get_range), (gst_base_src_pad_get_range),
3446         (gst_base_src_loop), (gst_base_src_set_flushing),
3447         (gst_base_src_change_state):
3448         Allow sending EOS to the source to make it send out an EOS event from
3449         the streaming thread.
3450         Update docs and deprecate the old NULL/READY shutdown method.
3451
3452         * tests/check/libs/basesrc.c: (GST_START_TEST),
3453         (gst_basesrc_suite):
3454         Add unit test for controlled shutdown.
3455
3456 2007-12-19  Wim Taymans  <wim.taymans@collabora.co.uk>
3457
3458         * docs/design/part-synchronisation.txt:
3459         Small updates.
3460
3461         * gst/gstsegment.c: (gst_segment_set_seek),
3462         (gst_segment_set_newsegment_full), (gst_segment_to_stream_time),
3463         (gst_segment_to_running_time):
3464         The seek format can be different from the segment format when the start
3465         and stop values are not to be updated, when we only do a rate change for
3466         example.
3467
3468         * tests/check/gst/gstsegment.c: (GST_START_TEST),
3469         (gst_segment_suite):
3470         Add a testcase for the rate-only seeks, checking that the format is
3471         correctly ignored when start and stop are not updated.
3472
3473 2007-12-18  Sebastian Dröge  <slomo@circular-chaos.org>
3474
3475         Patch by: Matthias Bolte <photon at mail dot upb dot de>
3476
3477         * win32/vs8/grammar.vcproj:
3478         * win32/vs8/libgstcontroller.vcproj:
3479         * win32/vs8/libgstreamer.vcproj:
3480         Fix compilation with VS8 and include some missing files.
3481
3482 2007-12-18  Tim-Philipp Müller  <tim at centricular dot net>
3483
3484         * gst/gsttaglist.c:
3485           Small docs addition: mention that the strings returned by
3486           gst_tag_list_get_string*() are in UTF-8 encoding.
3487
3488 2007-12-17  Tim-Philipp Müller  <tim at centricular dot net>
3489
3490         * Makefile.am:
3491           The check-exports stuff moved to common/win32.mak, so include that.
3492
3493 2007-12-17  Wim Taymans  <wim.taymans@collabora.co.uk>
3494
3495         * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
3496         (gst_base_src_perform_seek), (gst_base_src_get_range),
3497         (gst_base_src_set_playing), (gst_base_src_change_state):
3498         Make _wait_playing() not check any variables so that we can call this
3499         function from subclasses. Move the checks elsewhere similar to
3500         _wait_preroll() in basesink.
3501         Add some debugging.
3502         Only signal the LIVE cond when we are going back to PLAYING.
3503
3504 2007-12-16  Tim-Philipp Müller  <tim at centricular dot net>
3505
3506         * gst/gstregistrybinary.c: (gst_registry_binary_write_cache):
3507           Use g_remove() and g_rename(). Check result of g_rename(), and
3508           don't leak the open file descriptor if we error out when writing.
3509
3510         * gst/gstregistryxml.c: (load_plugin), (gst_registry_xml_write_cache):
3511           Must check the return value of close() after writing out the new
3512           registry file.  Sometimes write problems such as out-of-diskspace
3513           are only reported when the file is closed and not already during
3514           the write.  This may have caused partial/broken registry files in
3515           some rare circumstances. Should fix #503675.
3516
3517 2007-12-16  Edward Hervey  <edward.hervey@collabora.co.uk>
3518
3519         * docs/gst/.cvsignore:
3520         * docs/libs/.cvsignore:
3521         * docs/plugins/.cvsignore:
3522         Ignore files generated by new common/* modifications
3523
3524 2007-12-15  Stefan Kost  <ensonic@users.sf.net>
3525
3526         * win32/common/libgstbase.def:
3527           Yes, you can also have a <TAB> if you want.
3528
3529 2007-12-15  Stefan Kost  <ensonic@users.sf.net>
3530
3531         * win32/common/libgstbase.def:
3532           Add new basetransform API to win export file.
3533
3534 2007-12-15  Stefan Kost  <ensonic@users.sf.net>
3535
3536         * tests/check/gst/gstbin.c:
3537           Adjust the test to the refcount change two days ago.
3538
3539 2007-12-14  David Schleef  <ds@schleef.org>
3540
3541         * docs/faq/getting.xml: Fix typo.
3542
3543 2007-12-14  Sebastian Dröge  <slomo@circular-chaos.org>
3544
3545         * docs/libs/gstreamer-libs-sections.txt:
3546         * libs/gst/base/gstbasetransform.c: (gst_base_transform_init),
3547           (gst_base_transform_prepare_output_buffer),
3548           (gst_base_transform_set_gap_aware):
3549         * libs/gst/base/gstbasetransform.h:
3550           API: Add gst_base_transform_set_gap_aware() to control whether
3551           the element correctly handles GST_BUFFER_FLAG_GAP or shouldn't
3552           get buffers with this flag at all. Fixes #503231.
3553
3554 2007-12-13  Stefan Kost  <ensonic@users.sf.net>
3555
3556         * libs/gst/base/gstbasesink.c:
3557         * libs/gst/base/gstbasesrc.c:
3558         * libs/gst/base/gstbasetransform.c:
3559           Replace gst_pad_get_parent by GST_OBJECT_PARENT inside streaming
3560           thread. Correct log message in gstbasesrc.c.
3561
3562 2007-12-13  Tim-Philipp Müller  <tim at centricular dot net>
3563
3564         * gst/gstutils.c: (element_find_unconnected_pad):
3565           Fix possible compiler warning (#503417).
3566
3567 2007-12-13  Tim-Philipp Müller  <tim at centricular dot net>
3568
3569         * gst/gstobject.c: (gst_object_dispatch_properties_changed):
3570           Don't use GST_CAT_EVENT here for logging, it makes no sense.
3571
3572 2007-12-13  Sebastian Dröge  <slomo@circular-chaos.org>
3573
3574         * tools/gst-inspect.c: (print_element_properties_info):
3575           Add support for GstFraction properties.
3576
3577 2007-12-12  Tim-Philipp Müller  <tim at centricular dot net>
3578
3579         * Makefile.am:
3580           Add check-exports target and run it as part of 'make check'
3581           (see #499140 and #493983).
3582
3583         * gst/gst_private.h:
3584         * gst/gstelementfactory.h:
3585         * gst/gstghostpad.c: (gst_proxy_pad_class_init):
3586         * gst/gstinfo.c: (_priv_gst_in_valgrind), (_gst_debug_init),
3587           (_priv_gst_in_valgrind):
3588         * gst/gstinfo.h: (GstLogFunction):
3589         * gst/gsttypefind.c: (type_find_debug), (GST_CAT_DEFAULT),
3590           (gst_type_find_register):
3591         * gst/gsttypefindfactory.c: (type_find_debug), (GST_CAT_DEFAULT),
3592           (gst_type_find_factory_get_type):
3593         * libs/gst/controller/gstcontroller.c: (GST_CAT_DEFAULT),
3594           (GST_CAT_DEFAULT), (parent_class), (priv_gst_controller_key),
3595           (gst_controller_new_valist), (gst_controller_new_list),
3596           (_gst_controller_dispose), (_gst_controller_class_init):
3597         * libs/gst/controller/gstcontrolsource.c: (GST_CAT_DEFAULT):
3598         * libs/gst/controller/gsthelper.c: (GST_CAT_DEFAULT),
3599           (GST_CAT_DEFAULT), (gst_object_uncontrol_properties),
3600           (gst_object_get_controller), (gst_object_set_controller),
3601           (gst_object_suggest_next_sync), (gst_object_sync_values),
3602           (gst_object_set_control_source), (gst_object_get_control_source),
3603           (gst_object_get_value_arrays), (gst_object_get_value_array),
3604           (gst_object_get_control_rate), (gst_object_set_control_rate):
3605         * libs/gst/controller/gstinterpolation.c: (GST_CAT_DEFAULT):
3606         * libs/gst/controller/lib.c: (GST_CAT_DEFAULT):
3607           Make some functions that should be static static; rename some
3608           private symbols so that they don't get exported; add some FIXME
3609           comments so we can move accidentally exported functions into
3610           our private section in 0.11.
3611
3612         * win32/common/libgstreamer.def:
3613           Add gst_utils_get_timestamp().
3614
3615 2007-12-12  Stefan Kost  <ensonic@users.sf.net>
3616
3617         * gst/gstvalue.c:
3618         * gst/gstvalue.h:
3619           Add more missing "Since:" tags to docs.
3620
3621 2007-12-12  Stefan Kost  <ensonic@users.sf.net>
3622
3623         * gst/gstutils.c:
3624           Add mising "Since:" to docs.
3625
3626 2007-12-11  Stefan Kost  <ensonic@users.sf.net>
3627
3628         * gst/gstplugin.c:
3629           Include "glib-compat-private.h" to fix the build on system with
3630           glib < 2.10. Fixes #503131.
3631
3632 2007-12-11  Stefan Kost  <ensonic@users.sf.net>
3633
3634         * gst/gstutils.c:
3635         * gst/gstutils.h:
3636           Actually its not PURE as it gets the time from elsewhere.
3637
3638 2007-12-11  Stefan Kost  <ensonic@users.sf.net>
3639
3640         * docs/gst/gstreamer-sections.txt:
3641         * gst/gstclock.h:
3642         * gst/gstdebugutils.c:
3643         * gst/gstinfo.c:
3644         * gst/gstutils.c:
3645         * gst/gstutils.h:
3646         * libs/gst/base/gstbasesink.c:
3647         * tools/gst-launch.c:
3648           Change GST_GET_TIMESTAMP into gst_util_get_timestamp and replace all
3649           uses as we don't have HAVE_POSIX_TIMERS in public headers.
3650           Thanks Tim for spotting.
3651           API: gst_util_get_timestamp
3652
3653 2007-12-09  Sebastian Dröge  <slomo@circular-chaos.org>
3654
3655         * configure.ac:
3656           Don't define GST_DISABLE_DEPRECATED for releases. Fixes #498181.
3657
3658 2007-12-08  Tim-Philipp Müller  <tim at centricular dot net>
3659
3660         * gst/gststructure.c: (gst_structure_validate_name),
3661           (gst_structure_new_valist), (gst_structure_parse_value),
3662           (gst_structure_from_string):
3663           Don't crash in _from_string() if the structure name is not valid
3664           (fixes #501560).  Allow structure names to start with a number
3665           again (this apparently broke the ubuntu codec installer).
3666
3667         * tests/check/gst/gststructure.c: (GST_START_TEST), (GST_START_TEST),
3668           (GST_START_TEST):
3669           Add unit test for the crash; update unit tests for new behaviour.
3670
3671 2007-12-03  Wim Taymans  <wim.taymans@gmail.com>
3672
3673         * gst/gstutils.c:
3674         Clarify gst_element_get_compatible_pad() documentation.
3675         Fixes #500919.
3676
3677 2007-12-02  Sebastian Dröge  <slomo@circular-chaos.org>
3678
3679         * tests/check/Makefile.am:
3680           Don't forget to dist {gst,libs}/struct_hppa.h.
3681
3682 2007-11-28  Stefan Kost  <ensonic@users.sf.net>
3683
3684         * libs/gst/base/gstbasesink.c:
3685           Use new API to get elapsed time.
3686
3687 2007-11-28  Stefan Kost  <ensonic@users.sf.net>
3688
3689         * gst/gstdebugutils.c:
3690         * gst/gstinfo.c:
3691           Fix wrong order of args in GST_CLOCK_DIFF() usage.
3692
3693         * tools/gst-launch.c:
3694           Use new API to get elapsed time.
3695
3696 2007-11-28  Stefan Kost  <ensonic@users.sf.net>
3697
3698         * docs/gst/gstreamer-sections.txt:
3699         * gst/gstclock.h:
3700         * gst/gstdebugutils.c:
3701         * gst/gstinfo.c:
3702           Rename new API + ChangeLog surgery to remove old name from last entry..
3703
3704 2007-11-28  Stefan Kost  <ensonic@users.sf.net>
3705
3706         * docs/gst/gstreamer-sections.txt:
3707         * gst/gstclock.h:
3708         * gst/gstdebugutils.c:
3709         * gst/gstinfo.c:
3710           Now hide the different clock stuff behind a macro.
3711
3712 2007-11-28  Stefan Kost  <ensonic@users.sf.net>
3713
3714         * configure.ac:
3715         * gst/gstdebugutils.c:
3716         * gst/gstinfo.c:
3717           Apply the posix-timer check from #361155. Conditionally use the posix
3718           timer for logging. This gives better timestamp precission, less
3719           overhead and no ntp jitter.
3720
3721 2007-11-28  Sebastian Dröge  <slomo@circular-chaos.org>
3722
3723         * gst/gstminiobject.c: (gst_mini_object_get_type),
3724         (gst_mini_object_class_init), (gst_mini_object_copy_default),
3725         (gst_mini_object_finalize), (gst_mini_object_copy),
3726         (gst_mini_object_is_writable), (gst_mini_object_make_writable),
3727         (gst_mini_object_replace), (param_mini_object_validate),
3728         (gst_param_spec_mini_object_get_type):
3729         Some cleanup and checking against invalid function parameters.
3730
3731 2007-11-28  Wim Taymans  <wim.taymans@gmail.com>
3732
3733         * docs/gst/gstreamer-sections.txt:
3734         * gst/gstclock.h:
3735         * tests/check/gst/gstsystemclock.c: (GST_START_TEST),
3736         (gst_systemclock_suite):
3737         Start merging in the easy bits of #361155, the monotonic clock patch.
3738         This one adds a few handy macros with docs and a testsuite.
3739
3740 2007-11-27  Wim Taymans  <wim.taymans@gmail.com>
3741
3742         * plugins/elements/gstfilesink.c: (gst_file_sink_event):
3743         Be a bit smarter when seeking, like, don't try to do a seek when it's
3744         not needed. This avoids errors when the file is not seekable.
3745         Fixes #499771.
3746
3747 2007-11-26  Stefan Kost  <ensonic@users.sf.net>
3748
3749         * docs/gst/gstreamer-docs.sgml:
3750         * docs/gst/gstreamer-sections.txt:
3751         * docs/gst/gstreamer.types.in:
3752         * gst/Makefile.am:
3753         * gst/gst.h:
3754         * gst/gstpreset.c:
3755         * gst/gstpreset.h:
3756         * plugins/elements/gstqueue.c:
3757           Due to popular request remove preset interface again. :-(.
3758
3759 2007-11-22  Stefan Kost  <ensonic@users.sf.net>
3760
3761         * tools/gst-inspect.c:
3762           Print 'default value' for enums and flags too.
3763
3764 2007-11-22  Stefan Kost  <ensonic@users.sf.net>
3765
3766         * docs/random/ensonic/profiling.txt:
3767           More ideas.
3768
3769         * gst/gstbin.c:
3770           Fix typo and give better log output.
3771
3772         * gst/gstdebugutils.c:
3773         * gst/gstdebugutils.h:
3774           More ideas, make graphs a bit smaller and fix param name in macro.
3775
3776 2007-11-22  Stefan Kost  <ensonic@users.sf.net>
3777
3778         * gst/gstpreset.c:
3779           Try harder to use the return value from fgets().
3780
3781 2007-11-21  Stefan Kost  <ensonic@users.sf.net>
3782
3783         * gst/gstpreset.c:
3784           For theses two fgets we handle the error below.
3785
3786 2007-11-21  Wim Taymans  <wim.taymans@gmail.com>
3787
3788         * libs/gst/base/gstbasesink.c: (gst_base_sink_send_event):
3789         Only send upstream events upstream. Fixes #498746.
3790
3791 2007-11-21  Wim Taymans  <wim.taymans@gmail.com>
3792
3793         Patch by: Laurent Glayal <spglegle at yahoo dot fr>
3794
3795         * plugins/elements/gstidentity.c: (gst_identity_class_init),
3796         (gst_identity_init), (gst_identity_transform_ip),
3797         (gst_identity_set_property), (gst_identity_get_property):
3798         * plugins/elements/gstidentity.h:
3799         Add property to disable handoff signal emission. Fixes #498694.
3800         API: GstIdentity::signal-handoffs
3801
3802 2007-11-21  Julien Moutte  <julien@fluendo.com>
3803
3804         * docs/faq/gst-uninstalled: Yet another missing library for the
3805         uninstalled script (fft)
3806
3807 2007-11-21  Jan Schmidt  <jan.schmidt@sun.com>
3808
3809         * docs/faq/developing.xml:
3810         Add a question about how to submit new translations.
3811
3812         * docs/random/release:
3813         Update the contact email address for the Translation Project
3814
3815         * plugins/elements/gstfdsrc.c:
3816         The parent_class for fdsrc is pushsrc, not GstElement.
3817
3818 2007-11-20  Stefan Kost  <ensonic@users.sf.net>
3819
3820         * gst/gstpreset.c:
3821           Plug a leak and fix saving.
3822
3823 2007-11-20  Sebastian Dröge  <slomo@circular-chaos.org>
3824
3825         * docs/gst/gstreamer-sections.txt:
3826         Add new gst_preset__get_property_names() function to the docs
3827         to fix the build.
3828
3829 2007-11-20  Stefan Kost  <ensonic@users.sf.net>
3830
3831         * gst/gstpreset.c:
3832         * gst/gstpreset.h:
3833           Change _get_preset_names API to return a strv with copies. Add
3834           _get_property_names to allow implementations to filter and provide
3835           good default implementation.
3836
3837 2007-11-20  Julien MOUTTE  <julien@moutte.net>
3838
3839         * docs/faq/gst-uninstalled: Add another library to the uninstalled
3840         script (sdp).
3841
3842 2007-11-19  Stefan Kost  <ensonic@users.sf.net>
3843
3844         * gst/gstpreset.c:
3845           More cleanups, docs, and TODOs from comments that now slowly come in.
3846
3847 2007-11-19  Julien MOUTTE  <julien@moutte.net>
3848
3849         * docs/faq/gst-uninstalled: Add new base libraries in the LD 
3850         search path.
3851
3852 2007-11-19  Stefan Kost  <ensonic@users.sf.net>
3853
3854         * gst/gstpreset.c:
3855           Fix bogus warning and make the property type specific code more
3856           similar.
3857
3858 2007-11-19  Julien MOUTTE  <julien@moutte.net>
3859
3860         * gst/gstpreset.c: (gst_preset_default_create_preset): Make
3861         it build on OS X.
3862
3863 2007-11-19  Wim Taymans  <wim.taymans@gmail.com>
3864
3865         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
3866         (gst_bin_add_func), (gst_bin_remove_func),
3867         (gst_bin_change_state_func), (gst_bin_continue_func):
3868         Change email, cleanups add some more debug and comments.
3869         Also set bus and clock on new elements when the pipeline was in error.
3870
3871 2007-11-18  Stefan Kost  <ensonic@users.sf.net>
3872
3873         * gst/gstbin.c:
3874         * gst/gstdebugutils.c:
3875           Fix build with --disable-gst-debug. Fixes #497859.
3876           Spotted by Sameer Naik.
3877
3878 2007-11-17  Stefan Kost  <ensonic@users.sf.net>
3879
3880         * gst/gstevent.c:
3881           Little documentation improvment.
3882
3883         * gst/gstpreset.c:
3884           More TODO cleanups. Remove c++ comments.
3885
3886         * libs/gst/controller/gstcontroller.c:
3887           Add TODO and use quark from static string.
3888
3889         * tests/check/gst/gstmessage.c:
3890         * tests/check/gst/gststructure.c:
3891           Use quark from static string.
3892
3893 2007-11-17  Stefan Kost  <ensonic@users.sf.net>
3894
3895         * gst/gstpreset.c:
3896           Add some comments and TODOs.
3897
3898         * gst/gstpreset.h:
3899           Add padding for future changes.
3900
3901         * plugins/elements/gstqueue.c:
3902           Implement the iface.    
3903
3904 2007-11-17  Stefan Kost  <ensonic@users.sf.net>
3905
3906         * docs/gst/gstreamer-docs.sgml:
3907         * docs/gst/gstreamer-sections.txt:
3908         * docs/gst/gstreamer.types.in:
3909         * gst/Makefile.am:
3910         * gst/gst.h:
3911         * gst/gstpreset.c:
3912         * gst/gstpreset.h:
3913           Add the preset interface (Fixes #396779). Do some doc cleanups along.
3914
3915 2007-11-16  Jan Schmidt  <jan.schmidt@sun.com>
3916
3917         * configure.ac:
3918
3919         Back to CVS
3920
3921 === release 0.10.15 ===
3922
3923 2007-11-15  Jan Schmidt <jan.schmidt@sun.com>
3924
3925         * configure.ac:
3926           releasing 0.10.15, "October"
3927
3928 2007-11-14  Jan Schmidt  <jan.schmidt@sun.com>
3929
3930         * win32/vs6/libgstreamer.dsp:
3931         Convert line endings back to DOS.
3932
3933 2007-11-13  Stefan Kost  <ensonic@users.sf.net>
3934
3935         * docs/design/draft-tagreading.txt:
3936         * docs/random/ensonic/profiling.txt:
3937         Update fast tagreading draft and performance profiling ideas.
3938
3939 2007-11-09  Wim Taymans  <wim.taymans@gmail.com>
3940
3941         * libs/gst/base/gstbasesink.c: (gst_base_sink_set_last_buffer):
3942         Don't hold the object lock when unreffing a buffer because it could
3943         cause a deadlock when the finalize function wants to grab the object
3944         lock too. Fixes #495133.
3945
3946 2007-11-09  Wim Taymans  <wim.taymans@gmail.com>
3947
3948         * gst/gstsegment.c: (gst_segment_set_newsegment_full),
3949         (gst_segment_to_stream_time), (gst_segment_to_running_time):
3950         Also accumulate time correctly when doing reverse playback. Fixes
3951         #488201,
3952         When converting to running and stream time, use default values for
3953         start/stop/time/accum when comparing different formats. Fixes #494245.
3954
3955         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
3956         Do running/stream time in TIME format.
3957
3958         * tests/check/gst/gstsegment.c: (GST_START_TEST),
3959         (gst_segment_suite):
3960         2 new unit tests for segment accumulation.
3961
3962 2007-11-07  Tim-Philipp Müller  <tim at centricular dot net>
3963
3964         * gst/gst.c: (init_pre):
3965         * gst/gstdebugutils.c: (priv_gst_dump_dot_dir), (debug_dump_element),
3966           (_gst_debug_bin_to_dot_file):
3967           Move getenv() back into gst_init, so everyone can live happily
3968           ever after. Make sure the symbol isn't exported though.
3969
3970 2007-11-06  Tim-Philipp Müller  <tim at centricular dot net>
3971
3972         Patch by: Sebastien Moutte  <sebastien moutte net>
3973
3974         * win32/common/gstenumtypes.c:
3975         * win32/common/gstenumtypes.h:
3976           Update enum types.
3977
3978         * win32/vs6/libgstreamer.dsp:
3979           Update vs6 project files (#494343).
3980
3981 2007-11-06  Wim Taymans  <wim.taymans@gmail.com>
3982
3983         * libs/gst/base/gstbasesrc.c: (gst_base_src_default_query),
3984         (gst_base_src_perform_seek), (gst_base_src_default_event),
3985         (gst_base_src_set_flushing), (gst_base_src_activate_push),
3986         (gst_base_src_activate_pull):
3987         Unify flushing code, remove some old unlock code that is no longer used.
3988         Take the streaming lock when seeking to avoid races. Fixes #492729.
3989         Added some more comments.
3990
3991 2007-11-06  Tim-Philipp Müller  <tim at centricular dot net>
3992
3993         * gst/gst.c: (_gst_disable_segtrap):
3994           Make  _gst_disable_segtrap static, it's only used in gstplugin.c and
3995           we can use gst_segtrap_is_enabled() there now that we have that API.
3996           Move _gst_debug_dump_dot_dir into gstdebugutils.c, there's no reason
3997           to do the getenv here (and export the variable).
3998
3999         * gst/gstdebugutils.c: (debug_dump_element),
4000           (_gst_debug_bin_to_dot_file), (_gst_debug_bin_to_dot_file_with_ts):
4001           Don't use VLAs which is a C99ism and throws off MSVC (#493983).
4002
4003         * gst/gstinfo.c: (_priv_gst_info_start_time), (_gst_debug_init),
4004           (gst_debug_log_default):
4005           Rename _gst_info_start_time to priv_gst_info_start_time so it
4006           doesn't get exported (was never in any header).
4007
4008         * gst/gstplugin.c: (_gst_plugin_fault_handler_setup),
4009           (gst_plugin_loading_mutex):
4010           Make static mutex gst_plugin_loading_mutex really static (was never
4011           in any header), and use gst_segtrap_is_enabled() instead of
4012           _gst_disable_segtrap.
4013
4014         * gst/gsttrace.c: (_gst_trace_default):
4015           Make local _gst_trace_default static (was never in any header).
4016
4017 2007-11-06  Tim-Philipp Müller  <tim at centricular dot net>
4018
4019         Patch by: Ole André Vadla Ravnås  <ole.andre.ravnas@tandberg.com>
4020
4021         * win32/common/libgstbase.def:
4022         * win32/common/libgstcontroller.def:
4023         * win32/common/libgstdataprotocol.def:
4024         * win32/common/libgstnet.def:
4025         * win32/common/libgstreamer.def:
4026           Add more missing symbols, remove some duplicates, and sort
4027           as the 'sort' command sorts it (partially fixes #493983).
4028
4029 2007-11-06  Wim Taymans  <wim.taymans@gmail.com>
4030
4031         * gst/gstelement.c: (gst_element_set_state_func):
4032         Only change the state cookie if a different state was set on the
4033         element. See #492729.
4034
4035 2007-11-06  Tim-Philipp Müller  <tim at centricular dot net>
4036
4037         * gst/gstvalue.c:
4038           Remove unused and uninitialised type variables that were still
4039           exported for some reason (they were never in any header files
4040           though).
4041
4042 2007-11-06  Wim Taymans  <wim.taymans@gmail.com>
4043
4044         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
4045         (gst_base_sink_do_sync), (gst_base_sink_preroll_object),
4046         (gst_base_sink_event), (gst_base_sink_get_position_last),
4047         (gst_base_sink_get_position_paused), (gst_base_sink_get_position),
4048         (gst_base_sink_change_state):
4049         Don't try to report a 0 position when we don't know, return -1 and FALSE
4050         instead. This mostly happens when we are prerolling.
4051         Make sure we can report the right position before we post the ASYNC_DONE
4052         message so that a message handler can query position without races.
4053
4054         * tests/check/generic/sinks.c: (send_eos), (GST_START_TEST),
4055         (async_done_handoff), (async_done_func), (send_buffer),
4056         (async_done_eos_func), (gst_sinks_suite):
4057         Add two tests for the above.
4058
4059 2007-11-06  Wim Taymans  <wim.taymans@gmail.com>
4060
4061         * MAINTAINERS:
4062         Update with new email address.
4063
4064         * docs/design/part-TODO.txt:
4065         Add some more info about future pad-block and negotiation changes.
4066
4067         * docs/design/part-buffering.txt:
4068         Add some ideas about buffering reporting.
4069
4070 2007-11-06  Jan Schmidt  <jan.schmidt@sun.com>
4071
4072         * tests/check/gst/gstobject.c:
4073         Disable silly racy test that always fails on this combination of CPU
4074         and kernel.
4075
4076 2007-11-03  Tim-Philipp Müller  <tim at centricular dot net>
4077
4078         Patch by: Murray Cumming  <murrayc@murrayc.com>
4079
4080         * gst/gstobject.c:
4081           Corrected the registration of the parent-set and parent-unset
4082           signals: The parameter is a GstObject, not a GObject (#493134).
4083
4084 2007-11-02  Tim-Philipp Müller  <tim at centricular dot net>
4085
4086         * gst/gst_private.h:
4087         * gst/gstbuffer.h:
4088         * gst/gstevent.h:
4089         * gst/gstformat.h:
4090         * gst/gstmessage.h:
4091         * gst/gstplugin.h:
4092         * gst/gstquery.h:
4093         * gst/gsttaglist.h:
4094         * gst/gstvalue.h:
4095           Move declaration of private _gst_foo_initialize() functions into
4096           our private header file where they should have been all along.
4097
4098 2007-11-02  Tim-Philipp Müller  <tim at centricular dot net>
4099
4100         * docs/plugins/gstreamer-plugins-sections.txt:
4101         * gst/gstdebugutils.h:
4102         * gst/gstxml.h:
4103         * plugins/elements/gstqueue.c:
4104           gtk-doc fixes; trailing-comma-in-enum fix.
4105
4106 2007-11-02  Tim-Philipp Müller  <tim at centricular dot net>
4107
4108         * gst/gst.c: (gst_deinit):
4109           Clean up on deinit (not the external ones though, doesn't seem to be
4110           needed for some reason).
4111
4112 2007-11-01  Tim-Philipp Müller  <tim at centricular dot net>
4113
4114         * gst/gstinfo.h: (GST_DEBUG_CATEGORY_EXTERN):
4115           Remove __declspec(dllimport) for MSVC that was copied over into core
4116           from a plugin, obviously without ever having been tested (note the
4117           single underscore in _declspec in the initial commit), and that doesn't
4118           really make sense.  See #492077.
4119
4120 2007-11-01  Tim-Philipp Müller  <tim at centricular dot net>
4121
4122         * gst/gst.c: (init_post):
4123         * gst/gstevent.c: (_gst_event_initialize):
4124         * gst/gstquery.c: (_gst_query_initialize):
4125         * libs/gst/dataprotocol/dataprotocol.c (gst_dp_init):
4126           g_type_class_ref() other types as well, see #349410 and #64764.
4127
4128         * gst/gstbuffer.c: (_gst_buffer_initialize):
4129         * gst/gstmessage.c: (_gst_message_initialize):
4130           Simplify existing g_type_class_ref().
4131
4132 2007-11-01  Tim-Philipp Müller  <tim at centricular dot net>
4133
4134         * gst/gstformat.c: (_gst_format_initialize):
4135           g_type_class_ref() our GstFormat type to make sure we avoid the
4136           thread-unsafe bits of the GObject/GType system, ie. bug #349410 and
4137           bug #64764. Should fix intermittent tee unit test failures (#474823).
4138
4139 2007-11-01  Tim-Philipp Müller  <tim at centricular dot net>
4140
4141         * tests/check/elements/tee.c: (test_num_buffers):
4142           Simplify, simplify, simplify - or not.  Rewrite unit test
4143           not to use gst_parse_launch(); allow N sub-streams. Increasing
4144           the number of sub-streams seems to reproduce #474823 more easily.
4145
4146 2007-10-31  Tim-Philipp Müller  <tim at centricular dot net>
4147
4148         Patch by: Ole André Vadla Ravnås  <ole.andre.ravnas@tandberg.com>
4149
4150         * gst/gsttrace.c:
4151         * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_new):
4152         * libs/gst/net/gstnettimepacket.c: (gst_net_time_packet_send):
4153         * libs/gst/net/gstnettimeprovider.c: (gst_net_time_provider_new):
4154           Fix a couple of missing includes for MSVC2005 and a C99 issue. Also,
4155           starting with 2.14.0, GLib won't provide a pipe() macro any longer,
4156           so use _pipe() directly (#492077).
4157
4158         * win32/common/dirent.c: (_treaddir):
4159           Add a couple of casts to make it build without warnings with MSVC.
4160
4161         * win32/common/libgstreamer.def:
4162           Add some more symbols that need to be exported.
4163
4164 2007-10-31  Tim-Philipp Müller  <tim at centricular dot net>
4165
4166         * tests/examples/metadata/read-metadata.c: (message_loop):
4167           Use _KEEP as merge mode rather than _KEEP_ALL, so tags
4168           arriving in a second or third tag message are added to
4169           the tag list as well.
4170
4171 2007-10-31  Stefan Kost  <ensonic@users.sf.net>
4172
4173         * libs/gst/base/gstbasesrc.c:
4174           Its "Since:" and not "@Since:". And remove an superflous cast.
4175
4176 2007-10-30  Wim Taymans  <wim.taymans@gmail.com>
4177
4178         * docs/libs/gstreamer-libs-sections.txt:
4179         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
4180         (gst_base_sink_get_last_buffer), (gst_base_sink_set_last_buffer),
4181         (gst_base_sink_get_property), (gst_base_sink_render_object),
4182         (gst_base_sink_preroll_object),
4183         (gst_base_sink_queue_object_unlocked), (gst_base_sink_event),
4184         (gst_base_sink_change_state):
4185         * libs/gst/base/gstbasesink.h:
4186         Add a new last-buffer property that contains the last buffer used in
4187         basesink for preroll or rendering. useful for making snapshots.
4188         API: gst_base_sink_get_last_buffer()
4189         API: GstBaseSink::last-buffer
4190
4191 2007-10-29  Stefan Kost  <ensonic@users.sf.net>
4192
4193         * docs/gst/running.xml:
4194         * gst/gst.c:
4195         * gst/gstdebugutils.c:
4196         * gst/gstdebugutils.h:
4197         * tools/gst-launch.c:
4198           Improve bin graph dumping, by using the envvar to specify a path.
4199           Rename the envvar to GST_DEBUG_DUMP_DOT_DIR.
4200
4201 2007-10-29  Tim-Philipp Müller  <tim at centricular dot net>
4202
4203         * plugins/elements/gsttypefindelement.c:
4204           (gst_type_find_element_handle_event),
4205           (gst_type_find_element_activate):
4206           Post special error message if we can't determine the type of a stream
4207           because it's empty.
4208
4209 2007-10-29  Stefan Kost  <ensonic@users.sf.net>
4210
4211         * docs/gst/running.xml:
4212         * gst/gstdebugutils.c:
4213           Document new env-var. Add one log-line after dumpng a graph.
4214
4215 2007-10-26  Tim-Philipp Müller  <tim at centricular dot net>
4216
4217         * configure.ac:
4218           Ugly hack to put the (recently removed and non-portable, apparently)
4219           -Wl,--export-dynamic back into libgstcheck's LDFLAGS when we're using
4220           GNU ld, because without that 'make check' fails miserably on my debian
4221           stable box.  Someone with more knowledge of linker intricacies and
4222           portability issues than me fix this properly please.
4223
4224 2007-10-25  Wim Taymans  <wim.taymans@gmail.com>
4225
4226         * libs/gst/base/gstbasesink.c: (gst_base_sink_event):
4227         Reset last seen position after flushing so that we don't report the old
4228         position anymore.
4229
4230 2007-10-25  Jan Schmidt  <Jan.Schmidt@sun.com>
4231
4232         * gst/gstelementfactory.c: (gst_element_register):
4233         * gst/gsturi.h:
4234         Patch from Alessandro Decina adding get_type_full and
4235         get_protocols_full private vfuncs to the URIHandler interface
4236         to allow bindings to support creating URI handlers. 
4237         Partially fixes: #339279
4238         API: GstURIHandlerInterface::get_type_full
4239         API: GstURIHandlerInterface::get_protocols_full
4240
4241 2007-10-25  Jan Schmidt  <Jan.Schmidt@sun.com>
4242
4243         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_set_property),
4244         (gst_multi_queue_request_new_pad), (gst_single_queue_flush),
4245         (gst_multi_queue_loop), (gst_multi_queue_sink_activate_push):
4246         Make it so that pads are considered linked until a buffer is pushed
4247         and discovered otherwise. This avoids problems with decodebin2 hanging
4248         after a seek in the filesrc ! decodebin2 name=d ! fakesink d. ! fakesink
4249         case.
4250
4251         Make sure we lock the multiqueue when updating the max-size properties.
4252         
4253         Fix a crash on Solaris in a debug statement in get_request_pad that
4254         passes a NULL string to GST_DEBUG. 
4255
4256         * tests/check/elements/multiqueue.c: (mq_dummypad_chain),
4257         (run_output_order_test):
4258         Fix the test to allow the first buffer on not-linked pads to come out
4259         of sequence while multiqueue discovers that they are not-linked.
4260
4261 2007-10-25  Jan Schmidt  <Jan.Schmidt@sun.com>
4262
4263         * configure.ac:
4264         * libs/gst/check/Makefile.am:
4265         Use a custom export symbol regex for libgstcheck, as it needs
4266         to export symbols that don't match the standard GStreamer gst_*
4267         pattern, and  --export-dynamic is not portable (only works on 
4268         GNU ld)
4269
4270         * libs/gst/check/gstcheck.c: (gst_check_setup_src_pad),
4271         (gst_check_setup_sink_pad):
4272         Make sure to pass a message parameter to the fail_* macros.
4273
4274         * tests/check/gst/gstinfo.c: (GST_START_TEST):
4275         Fix some compiler warnings.
4276
4277 2007-10-25  Tim-Philipp Müller  <tim at centricular dot net>
4278
4279         * tests/check/gst/gststructure.c: (test_to_string):
4280           Disable test that checks that white spaces are not allowed
4281           in structure names or field names, since we need to
4282           support that for now for backwards compatibility reasons.
4283
4284 2007-10-24  Tim-Philipp Müller  <tim at centricular dot net>
4285
4286         * docs/gst/gstreamer-sections.txt:
4287         * gst/gsttaglist.c:
4288         * gst/gsttaglist.h:
4289           API: add GST_TAG_ARTIST_SORTNAME
4290           API: add GST_TAG_ALBUM_SORTNAME
4291           API: add GST_TAG_TITLE_SORTNAME
4292           Add tag variants for sorting (#414539).
4293
4294 2007-10-24  Tim-Philipp Müller  <tim at centricular dot net>
4295
4296         * gst/gststructure.c:
4297           Also allow white space for names so we don't break
4298           backwards compatibility.
4299
4300 2007-10-22  Wim Taymans  <wim.taymans@gmail.com>
4301
4302         * docs/design/part-TODO.txt:
4303         * docs/design/part-segments.txt:
4304         * docs/design/part-streams.txt:
4305         Small updates.
4306
4307 2007-10-22  Edgard Lima  <edgard.lima@indt.org.br>
4308
4309         * docs/gst/gstreamer-sections.txt:
4310          Fixed documentation from my previous commit (added new API add
4311          gst_value_set_structure(), add gst_value_get_structure() and
4312          GST_VALUE_HOLDS_STRUCTURE).
4313
4314 2007-10-22  Stefan Kost  <ensonic@users.sf.net>
4315
4316         * gst/gstdebugutils.c:
4317           Reflow code to fix uninitialized variable warning.
4318
4319 2007-10-22  Edgard Lima  <edgard.lima@indt.org.br>
4320
4321         * gst/gstcaps.c: (gst_caps_to_string),
4322         (gst_caps_from_string_inplace):
4323         * gst/gststructure.c: (gst_structure_get_abbrs),
4324         (gst_structure_to_string), (gst_structure_from_string):
4325         * gst/gstvalue.c: (gst_value_set_structure),
4326         (gst_value_get_structure), (gst_value_serialize_structure),
4327         (gst_value_deserialize_structure), (_gst_value_initialize):
4328         * gst/gstvalue.h:
4329         * tests/check/gst/gststructure.c: (GST_START_TEST),
4330         (gst_structure_suite):
4331         * tests/check/gst/gstvalue.c: (GST_START_TEST):
4332          Added GstStructure to gst_value_table and its related functions.
4333          Changed gst_structure_to_string to print ';' in the end.
4334          Changed gst_caps_to_string to not print ';' beteween its
4335          fields (structures) anymore and remove the lastes ';' from latest
4336          structure. Now it is possible to have nested structures.
4337          In addition, backward compatibilty is assured by accepting '\0' as
4338          end delimiter. Fixes: #487969.
4339          API: add gst_value_set_structure()
4340          API: add gst_value_get_structure()
4341          API: add GST_VALUE_HOLDS_STRUCTURE
4342
4343 2007-10-19  Tim-Philipp Müller  <tim at centricular dot net>
4344
4345         * gst/gstbus.c:
4346           When no GSource callback has been set up, tell developer
4347           to use a function that actually exists.
4348
4349 2007-10-17  Stefan Kost  <ensonic@users.sf.net>
4350
4351         * docs/gst/gstreamer-sections.txt:
4352         * gst/Makefile.am:
4353         * gst/gst.c:
4354         * gst/gst.h:
4355         * gst/gstdebugutils.c:
4356         * gst/gstdebugutils.h:
4357         * gst/gstinfo.c:
4358         * gst/gstinfo.h:
4359         * tools/gst-launch.c:
4360           Allow dumping pipelines as dot graphs. Fixes #456573.
4361
4362 2007-10-16  Tim-Philipp Müller  <tim at centricular dot net>
4363
4364         * gst/gststructure.c:
4365           Allow '+' as well, it can be part of media or mime types
4366           such as image/svg+xml.
4367
4368 2007-10-16  Tim-Philipp Müller  <tim at centricular dot net>
4369
4370         * docs/gst/gstreamer-sections.txt:
4371         * gst/gstbus.c:
4372         * gst/gstbus.h:
4373           API: add gst_bus_pop_filtered
4374           API: add gst_bus_timed_pop_filtered
4375           Two new functions for waiting for specific message types on the
4376           bus for a specified amount of time without iterating any main
4377           loops or main contexts.
4378
4379         * tests/check/gst/gstbus.c:
4380           Some tests for the new functions.
4381
4382 2007-10-16  Tim-Philipp Müller  <tim at centricular dot net>
4383
4384         * docs/libs/gstreamer-libs-sections.txt:
4385           Make gtk-doc ignore stuff it should ignore.
4386
4387 2007-10-16  Tim-Philipp Müller  <tim at centricular dot net>
4388
4389         * libs/gst/check/gstcheck.c:
4390         * libs/gst/check/gstcheck.h:
4391           Allow runtime selection of unit tests to run via the GST_CHECKS
4392           environment variable (test case function names, comma-separated).
4393
4394 2007-10-16  Stefan Kost  <ensonic@users.sf.net>
4395
4396         * gst/gststructure.c:
4397         * tests/check/gst/gststructure.c:
4398           Revert serialisation change and constrain structure-names after
4399           consensus on irc. Update api documentation to reflect the change.
4400
4401 2007-10-16  Stefan Kost  <ensonic@users.sf.net>
4402
4403         * gst/gststructure.c:
4404           Improve serialization and fix tests.
4405
4406         * tests/check/gst/gststructure.c:
4407           Add another test that covers why I actually did the previous structure
4408           change.
4409
4410 2007-10-15  Wim Taymans  <wim.taymans@gmail.com>
4411
4412         * tools/gst-inspect.c: (print_element_info):
4413         Don't crash when inspecting an element.
4414
4415 2007-10-15  Tim-Philipp Müller  <tim at centricular dot net>
4416
4417         * tests/check/gst/gststructure.c:
4418           Add unit test for escaping of structure name when serialising
4419           and deserialising to/from strings.
4420
4421 2007-10-15  Wim Taymans  <wim.taymans@gmail.com>
4422
4423         * plugins/elements/gstmultiqueue.c: (gst_single_queue_push_one),
4424         (gst_single_queue_new):
4425         * plugins/elements/gstqueue.c: (gst_queue_init),
4426         (gst_queue_push_one):
4427         Fix queue negotiation. If acceptcaps unconditionally returns TRUE,
4428         upstream is tricked into thinking it can suggest a format downstream
4429         while downstream does not support that format. The real problem is that
4430         core calls acceptcaps when pushing a buffer with new caps, for which we
4431         do a little workaround by setting the caps on the srcpad ourselves
4432         before pushing the buffer (until this is figured out). Fixes #486758.
4433
4434 2007-10-15  Stefan Kost  <ensonic@users.sf.net>
4435
4436         * gst/gststructure.c:
4437         * gst/gstvalue.c:
4438           Add some more comments and debug output. Quote structure name to fix
4439           deserialisation of some strings.
4440
4441 2007-10-15  Stefan Kost  <ensonic@users.sf.net>
4442
4443         * gst/gstbuffer.h:
4444           Define GST_BUFFER_FLAG_GAP more strictly to enable optimizations based
4445           on it. Fix docs for GST_BUFFER_MALLOCDATA and GstBuffer.malloc_data.
4446
4447 2007-10-15  Stefan Kost  <ensonic@users.sf.net>
4448
4449         * tools/gst-inspect.c:
4450           Save approx. 400 1 byte allocs when printing. Use API to acces element
4451           details.
4452
4453         * tools/gst-run.c:
4454           Avoid a strdup.
4455
4456         * tools/gst-xmlinspect.c:
4457           Use API to acces element details.
4458
4459 2007-10-15  Stefan Kost  <ensonic@users.sf.net>
4460
4461         * gst/gstinfo.c:
4462           Fix some spelling errors.
4463
4464 2007-10-14  Wim Taymans  <wim.taymans@gmail.com>
4465
4466         * gst/gstbin.c: (bin_handle_async_done):
4467         Correctly set the next state if all of our async children commited their
4468         state. This makes sure we can actually cancel the state change in
4469         progress. Fixes a regression in Rhythmbox when seeking.
4470
4471 2007-10-13  Tim-Philipp Müller  <tim at centricular dot net>
4472
4473         * gst/gstbin.c:
4474           Don't shadow local variable.
4475
4476         * gst/gstinfo.c:
4477           Don't shadow global function name.
4478
4479 2007-10-13  Tim-Philipp Müller  <tim at centricular dot net>
4480
4481         * gst/gstelementfactory.c:
4482         * gst/gstpluginfeature.c:
4483         * gst/gstpluginfeature.h:
4484         * gst/gstregistrybinary.c:
4485         * gst/gstregistryxml.c:
4486         * gst/gsttypefind.c:
4487           Use already-interned string for the private GstPluginFeature
4488           plugin_name field.
4489
4490 2007-10-10  Tim-Philipp Müller  <tim at centricular dot net>
4491
4492         * docs/libs/gstreamer-libs-sections.txt:
4493           Add new API to docs; fixes the build.
4494
4495 2007-10-10  Wim Taymans  <wim.taymans@gmail.com>
4496         
4497         Patch inspired by: Benoit Fouet <benoit dot fouet at purplelabs dot com>
4498
4499         * libs/gst/base/gstbasesink.c: (gst_base_sink_wait_eos),
4500         (gst_base_sink_event):
4501         * libs/gst/base/gstbasesink.h:
4502         Add function to wait for EOS, subclasses can use this to correctly wait
4503         for devices to drain before performing the EOS logic. Fixes #485343.
4504         API: gst_base_sink_wait_eos()
4505
4506 2007-10-10  Tim-Philipp Müller  <tim at centricular dot net>
4507
4508         * gst/gstplugin.h:
4509           Cast description string constants in GST_PLUGIN_DEFINE macros
4510           to a (gchar*) to make C++ code using these macros compile
4511           without warning with g++-4.2 (see #462737).  Even if slightly
4512           ugly, this seems preferable to putting the description strings
4513           into the GLib quark table or making the structure member a
4514           const gchar * and doing casts in core code that allocs and
4515           frees these strings, or requiring a cast in the C++ code.
4516
4517 2007-10-09  Tim-Philipp Müller  <tim at centricular dot net>
4518
4519         * gst/gstinfo.h:
4520           Use __FUNCTION__ instead of __PRETTY_FUNCTION__, it's silly
4521           to print the entire class/function signature into the log
4522           file for C++ code.  This only affects C++ code, for C code
4523           everything remains the same.
4524
4525 2007-10-09  Wim Taymans  <wim.taymans@gmail.com>
4526
4527         * gst/gstbin.c: (remove_from_queue):
4528         Work around a problem with pipelines containing (semi)loops until a
4529         proper, more complicated solution is ready. See #475455.
4530
4531 2007-10-09  Tim-Philipp Müller  <tim at centricular dot net>
4532
4533         * gst/gstplugin.c:
4534         * gst/gstplugin.h:
4535         * gst/gstregistrybinary.c:
4536         * gst/gstregistryxml.c:
4537           Put more strings into the GLib quark table. No need to keep
4538           a hundred-something copies of identical version strings,
4539           license strings, package name strings and package origin
4540           strings around. 
4541
4542 2007-10-09  Tim-Philipp Müller  <tim at centricular dot net>
4543
4544         * docs/manual/advanced-dataaccess.xml:
4545           Don't imply that it's okay to unconditionally change
4546           buffer data or buffer metadata in a pad probe callback,
4547           and a bunch of other comments. Fixes #430031.
4548
4549 2007-10-08  Tim-Philipp Müller  <tim at centricular dot net>
4550
4551         * win32/common/gstenumtypes.c:
4552         * win32/common/gstenumtypes.h:
4553         * win32/common/gstversion.h:
4554           Update generated files.
4555
4556 2007-10-08  Tim-Philipp Müller  <tim at centricular dot net>
4557
4558         * docs/manual/advanced-autoplugging.xml:
4559           Prefix section with broken code with a warning (see #342432).
4560
4561 2007-10-08  Tim-Philipp Müller  <tim at centricular dot net>
4562
4563         * docs/manual/appendix-integration.xml:
4564         * docs/manual/basics-init.xml:
4565           Call g_thread_init() before g_option_context_new() to
4566           avoid warnings. Spotted by Ritesh Khadgaray. Fixes #484225.
4567
4568 2007-10-08  Wim Taymans  <wim.taymans@gmail.com>
4569
4570         * libs/gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
4571         (gst_base_sink_queue_object_unlocked),
4572         (gst_base_sink_queue_object), (gst_base_sink_event),
4573         (gst_base_sink_needs_preroll), (gst_base_sink_chain_unlocked):
4574         When we received EOS and are waiting for when to post the EOS message,
4575         our state is prerolled and we should not return ASYNC.
4576         Reorganize some code paths to implement this behavior.
4577
4578         * tests/check/generic/sinks.c: (send_eos), (GST_START_TEST),
4579         (gst_sinks_suite):
4580         Add unit test to verify above EOS fix.
4581
4582 2007-10-08  Wim Taymans  <wim.taymans@gmail.com>
4583
4584         * plugins/elements/gsttypefindelement.c:
4585         (gst_type_find_element_have_type), (gst_type_find_element_init),
4586         (gst_type_find_element_setcaps), (gst_type_find_element_chain):
4587         Move detecting the input caps of the sinkpad to the setcaps function.
4588         This allows us to update the output caps when we receive new input caps
4589         instead of always using the first detected caps.
4590
4591 2007-10-08  Wim Taymans  <wim.taymans@gmail.com>
4592
4593         * libs/gst/base/gstbasesink.c: (gst_base_sink_event),
4594         (gst_base_sink_get_position):
4595         Don't try to preroll non-async elements after a flush.
4596         Subtract latency form clock times when reporting position.
4597
4598 2007-10-05  Wim Taymans  <wim.taymans@gmail.com>
4599
4600         * gst/gstpad.c: (gst_pad_pause_task):
4601         * gst/gstutils.c:
4602         Small comment and documentation update.
4603
4604 2007-10-05  Wim Taymans  <wim.taymans@gmail.com>
4605
4606         * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
4607         (gst_base_src_set_live), (gst_base_src_is_live),
4608         (gst_base_src_query_latency), (gst_base_src_perform_seek),
4609         (gst_base_src_default_event), (gst_base_src_wait),
4610         (gst_base_src_do_sync), (gst_base_src_get_range),
4611         (gst_base_src_pad_get_range), (gst_base_src_loop),
4612         (gst_base_src_unlock), (gst_base_src_unlock_stop),
4613         (gst_base_src_set_flushing), (gst_base_src_set_playing),
4614         (gst_base_src_activate_push), (gst_base_src_activate_pull),
4615         (gst_base_src_change_state):
4616         Rework the locking of basesrc in a similar fashion to basesink. We
4617         basically have one lock (LIVE_LOCK) protecting the dataflow. This allows
4618         us to handle live sources and semi live ones much better.
4619         Simplify flushing.
4620         Fix unlocking when seeking, shutting down and pausing in live sources.
4621
4622 2007-10-05  Wim Taymans  <wim.taymans@gmail.com>
4623
4624         * tests/check/pipelines/simple-launch-lines.c: (run_pipeline):
4625         Fix compilation again.
4626
4627 2007-10-03  Stefan Kost  <ensonic@users.sf.net>
4628
4629         * gst/gstelement.c:
4630           Use meaningful categories for the logs to clean the default one.
4631
4632 2007-10-03  Stefan Kost  <ensonic@users.sf.net>
4633
4634         * tests/check/pipelines/cleanup.c:
4635           Print message name and not just number.
4636
4637 2007-10-03  Stefan Kost  <ensonic@users.sf.net>
4638
4639         * docs/design/draft-tagreading.txt:
4640           Add some more thoughts.
4641
4642 2007-10-03  Stefan Kost  <ensonic@users.sf.net>
4643
4644         * tests/check/pipelines/simple-launch-lines.c:
4645           Print message name and not just number.
4646
4647 2007-10-03  Stefan Kost  <ensonic@users.sf.net>
4648
4649         * libs/gst/base/gsttypefindhelper.c:
4650           Speedup typefinding. This is work in progress (see #459862).
4651
4652 2007-10-03  Stefan Kost  <ensonic@users.sf.net>
4653
4654         * gst/gstplugin.c:
4655           Fix docs that mention 'plugin_desc' instead of 'gst_plugin_desc'.
4656           Spotted by Josep Torra Valles <josep@fluendo.com>.
4657
4658 2007-10-03  Tim-Philipp Müller  <tim at centricular dot net>
4659
4660         * gst/gstclock.h:
4661           Fix up broken GST_CLOCK_FLAGS macro and GstClock docs. The flags
4662           field has moved to GstObject.
4663
4664 2007-10-02  Wim Taymans  <wim.taymans@gmail.com>
4665
4666         * libs/gst/base/gstbasesrc.c: (gst_base_src_do_sync),
4667         (gst_base_src_get_range), (gst_base_src_change_state):
4668         Call unlock for live sources so that they can't get stuck in _create and
4669         produce a buffer before they are set back to PLAYING.
4670
4671 2007-10-02  Edward Hervey  <bilboed@bilboed.com>
4672
4673         * plugins/elements/gstqueue.c: (gst_queue_locked_enqueue),
4674         (gst_queue_locked_dequeue):
4675         Comment the segment-related code... in the PROPER function.
4676         See #482147 and my commit from yesterday.
4677
4678 2007-10-01  Wim Taymans  <wim.taymans@gmail.com>
4679
4680         * libs/gst/base/gstbasesrc.c: (gst_base_src_change_state):
4681         Also initialize the counter that calculates the first timestamp on a
4682         buffer correctly for non-live sources.
4683
4684 2007-10-01  Edward Hervey  <bilboed@bilboed.com>
4685
4686         * plugins/elements/gstqueue.c: (gst_queue_locked_dequeue):
4687         Disable code that's breaking the current-time-level reporting.
4688         See #482147
4689
4690 2007-09-30  Sebastian Dröge  <slomo@circular-chaos.org>
4691
4692         * docs/gst/gstreamer-sections.txt:
4693         Add M_PI and IMPORT_SYMBOL to the private part of the GstInfo section
4694         as they shouldn't show up. Fixes the docs build.
4695
4696 2007-09-29  Sebastien Moutte  <sebastien@moutte.net>
4697         
4698         * gst/gstinfo.h:
4699         Add an explicit variable importation needed on VS6 (only for MSC_VER)
4700         Define M_PI which is used in files which are including gstinfo.h. 
4701         VS6 includes doesn't define it.
4702         * win32/common/libgstbase.def:
4703         * win32/common/libgstcontroller.def:
4704         * win32/common/libgstreamer.def:
4705         Add new exported functions and variables.
4706         * win32/vs6/libgstcontroller.dsp:
4707         * win32/vs6/libgstreamer.dsp:
4708         Update the list of files to build.
4709         
4710 2007-09-28  Wim Taymans  <wim.taymans@gmail.com>
4711
4712         Patch by: Felipe Contreras <felipe dot contreras at gmail dot com>
4713
4714         * plugins/elements/gstqueue.c: (update_time_level), (apply_buffer),
4715         (gst_queue_locked_dequeue), (gst_queue_handle_sink_event),
4716         (gst_queue_chain), (gst_queue_loop), (gst_queue_src_activate_push):
4717         Improve debugging. Fixes #480858.
4718
4719 2007-09-28  Wim Taymans  <wim.taymans@gmail.com>
4720
4721         Patch by: Felipe Contreras <felipe dot contreras at gmail dot com>
4722
4723         * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event):
4724         First patch of code cleanups, use the macros and right arguments in the
4725         macros to signal and lock the queue. See #480858.
4726
4727 2007-09-26  Wim Taymans  <wim.taymans@gmail.com>
4728
4729         * gst/gstbus.c: (poll_func):
4730         Improve debugging when dealing with _poll().
4731
4732 2007-09-26  Tim-Philipp Müller  <tim at centricular dot net>
4733
4734         * gst/gstregistryxml.c:
4735           Fix memory leak I introduced a few days ago.
4736
4737 2007-09-26  Michael Smith <msmith@fluendo.com>
4738
4739         * gst/gstbuffer.c: (gst_buffer_finalize):
4740           Make it once again possible to free GstBuffers in the default
4741           build.
4742           The poisoning scribbles on parts of the miniobject we need in
4743           order to free it.
4744           Fixes #480341
4745
4746 2007-09-25  Tim-Philipp Müller  <tim at centricular dot net>
4747
4748         * docs/gst/gstreamer-sections.txt:
4749         * gst/gsttaglist.c:
4750         * gst/gsttaglist.h:
4751         API: add GST_TAG_COMPOSER, fixes #459809.
4752
4753 2007-09-24  Sebastian Dröge  <slomo@circular-chaos.org>
4754
4755         * gst/gstplugin.c:
4756         * gst/gstplugin.h:
4757         Add the 3-clause BSD license and the MIT/X11 license to the license
4758         list. Fixes #479784.
4759
4760 2007-09-24  Tim-Philipp Müller  <tim at centricular dot net>
4761
4762         * docs/faq/getting.xml:
4763           Add Q+A about different GStreamer versions (#364056).
4764
4765 2007-09-24  Wim Taymans  <wim.taymans@gmail.com>
4766
4767         * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency),
4768         (gst_base_sink_event), (gst_base_sink_change_state):
4769         Return correct gboolean from query function.
4770
4771 2007-09-24  Wim Taymans  <wim.taymans@gmail.com>
4772
4773         * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency),
4774         (gst_base_sink_event), (gst_base_sink_query),
4775         (gst_base_sink_change_state):
4776         Simplify latency query.
4777         When not synchronizing, we can report latency without querying the peer
4778         element.
4779
4780 2007-09-24  Wim Taymans  <wim.taymans@gmail.com>
4781
4782         * gst/gstobject.h:
4783         * gst/gstvalue.c:
4784         Fix small typos in the docs.
4785
4786 2007-09-24  Wim Taymans  <wim.taymans@gmail.com>
4787
4788         * docs/design/draft-latency.txt:
4789         * docs/design/draft-push-pull.txt:
4790         * docs/design/draft-tagreading.txt:
4791         * docs/design/part-MT-refcounting.txt:
4792         * docs/design/part-activation.txt:
4793         * docs/design/part-block.txt:
4794         * docs/design/part-element-source.txt:
4795         * docs/design/part-events.txt:
4796         * docs/design/part-gstbin.txt:
4797         * docs/design/part-gstelement.txt:
4798         * docs/design/part-gstobject.txt:
4799         * docs/design/part-gstpipeline.txt:
4800         * docs/design/part-messages.txt:
4801         * docs/design/part-preroll.txt:
4802         * docs/design/part-push-pull.txt:
4803         * docs/design/part-qos.txt:
4804         * docs/design/part-query.txt:
4805         * docs/design/part-scheduling.txt:
4806         * docs/design/part-seeking.txt:
4807         * docs/design/part-segments.txt:
4808         * docs/design/part-states.txt:
4809         Documentation updates and typo fixes.
4810
4811 2007-09-23  Tim-Philipp Müller  <tim at centricular dot net>
4812
4813         * plugins/elements/gstfakesink.c:
4814           Add some debug text to error message to indicate that
4815           we errored out on request.
4816
4817         * tools/gst-launch.c:
4818           When the state change to PLAYING fails, check for an
4819           error message on the bus and print it.
4820
4821 2007-09-22  Thomas Vander Stichele  <thomas at apestaart dot org>
4822
4823         translated by: Jorge González González <aloriel@gmail.com>
4824
4825         * po/LINGUAS:
4826         * po/es.po:
4827           Added Spanish translation.
4828
4829 2007-09-21  Wim Taymans  <wim.taymans@gmail.com>
4830
4831         * plugins/elements/gstqueue.c: (gst_queue_push_one):
4832         Fix printf arguments.
4833
4834 2007-09-20  Stefan Kost  <ensonic@users.sf.net>
4835
4836         * tests/check/generic/states.c:
4837           Improved state change unit test.
4838
4839 2007-09-20  Stefan Kost  <ensonic@users.sf.net>
4840
4841         * gst/gstbin.h:
4842           Move priv to the right place.
4843
4844         * gst/gstsystemclock.c:
4845           Add FIXME: and improve log.
4846
4847         * tests/check/Makefile.am:
4848         * tests/examples/manual/Makefile.am:
4849           Work with all types of registries.
4850
4851 2007-09-19  Wim Taymans  <wim.taymans@gmail.com>
4852
4853         * libs/gst/base/gstbasesrc.c: (gst_base_src_send_event):
4854         Don't unref the event after pushing it. Fixes #478401.
4855
4856 2007-09-19  Stefan Kost  <ensonic@users.sf.net>
4857
4858         * .cvsignore:
4859         * tests/examples/manual/.cvsignore:
4860           Ignore registries in any format.
4861
4862 2007-09-19  Tim-Philipp Müller  <tim at centricular dot net>
4863
4864         * gst/glib-compat-private.h:
4865           Add compatibility macro for g_intern_string() for
4866           GLib-2.8 (any reason we can't just bump the
4867           requirement to at least 2.10?)
4868
4869         * gst/gstpadtemplate.h:
4870         * gst/gstelementfactory.c:
4871         * gst/gstregistryxml.c:
4872         * gst/gstregistrybinary.c:
4873           Make GstStaticPadTemplate's templ_name field a const gchar * and fix
4874           up the internal code accordingly.  This shouldn't be a problem, since
4875           there is no reason external code could ever assume the string in such
4876           a structure is dynamically allocated unless it did that itself;  the
4877           use of g_strdup() is private to element factories.  The new code also
4878           saves some memory by putting pad template name strings into the GLib
4879           quark table instead of allocating them dynamically.
4880           Declaring this field constant fixes warnings with g++-4.2 when using
4881           the GST_STATIC_PAD_TEMPLATE macro in c++ code (#478092).
4882
4883 2007-09-19  Stefan Kost  <ensonic@users.sf.net>
4884
4885         * gst/gstelementfactory.c:
4886           Release static caps. Fixes #475723.
4887
4888 2007-09-18  Tim-Philipp Müller  <tim at centricular dot net>
4889
4890         * gst/gstinfo.c:
4891         * gst/gstinfo.h:
4892           Make some internal API take const gchar * instead of just
4893           gchar * to avoid compiler warnings with g++-4.2.2 when
4894           passing string constants (partially fixes #478092).
4895
4896 2007-09-17  Wim Taymans  <wim.taymans@gmail.com>
4897
4898         * gst/gstbin.c: (bin_query_latency_fold), (gst_bin_query):
4899         A latency query fails when one of the sinks fail.
4900
4901         * gst/gstelement.c: (gst_element_set_base_time):
4902         Improve debugging.
4903
4904 2007-09-17  Jan Schmidt - Sun Microsystems <jan.schmidt@sun.com>
4905
4906         * gst/gstbin.c: (gst_bin_continue_func):
4907         * libs/gst/base/gstbasesrc.c: (gst_base_src_do_sync):
4908         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_add_pad_full):
4909         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_loop):
4910
4911         Fix minor compilation warnings shown with Forte.
4912
4913 2007-09-17  Wim Taymans  <wim.taymans@gmail.com>
4914
4915         * plugins/elements/gstqueue.c: (apply_buffer),
4916         (gst_queue_locked_enqueue), (gst_queue_locked_dequeue):
4917         Measure queue level based on the diff between head and tail timestamps
4918         even when pushing the first buffer.
4919
4920 2007-09-14  Wim Taymans  <wim.taymans@gmail.com>
4921
4922         * libs/gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
4923         (gst_base_sink_event), (gst_base_sink_change_state):
4924         Sinks that don't preroll can always be queried for the latency.
4925         Don't post ASYNC start when we are not async.
4926
4927 2007-09-14  Wim Taymans  <wim.taymans@gmail.com>
4928
4929         * plugins/elements/gstqueue.c: (gst_queue_locked_enqueue),
4930         (gst_queue_handle_sink_event), (gst_queue_chain),
4931         (gst_queue_push_one), (gst_queue_handle_src_query),
4932         (gst_queue_sink_activate_push), (gst_queue_src_activate_push):
4933         * plugins/elements/gstqueue.h:
4934         When downstream returns UNEXPECTED from pushing a buffer, don't try to
4935         push more buffers but allow pushing of EOS and NEWSEGMENT.
4936         Add some more debug info here and there. Fixes #476514.
4937
4938 2007-09-14  Wim Taymans  <wim.taymans@gmail.com>
4939
4940         * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
4941         (gst_base_sink_preroll_queue_flush), (gst_base_sink_commit_state),
4942         (gst_base_sink_wait_preroll), (gst_base_sink_needs_preroll),
4943         (gst_base_sink_set_flushing), (gst_base_sink_query),
4944         (gst_base_sink_change_state):
4945         Latency query is allowed after we are prerolled. Introduce a new flag
4946         for this and stop abusing other variables.
4947
4948 2007-09-13  Wim Taymans  <wim.taymans@gmail.com>
4949
4950         * libs/gst/base/gstbasesrc.c: (gst_base_src_send_event):
4951         Push OOB events downstream when we get them in send_event. This allows
4952         the application to insert events in the pipeline.
4953         Add some more comments.
4954
4955 2007-09-13  Wim Taymans  <wim.taymans@gmail.com>
4956
4957         * gst/gstbin.c: (gst_bin_class_init), (clear_queue),
4958         (do_bin_latency), (gst_bin_change_state_func):
4959         * gst/gstpipeline.c: (gst_pipeline_change_state):
4960         Move latency query from GstPipeline to GstBin so that we can also
4961         use it when async-handling is enabled on bins.
4962
4963 2007-09-13  Wim Taymans  <wim.taymans@gmail.com>
4964
4965         * libs/gst/base/gstbasesrc.c: (gst_base_src_query_latency),
4966         (gst_base_src_do_sync), (gst_base_src_change_state):
4967         Update docs.
4968         Clean up the timestamping and syncing code for pseudo live sources.
4969
4970 2007-09-13  Tim-Philipp Müller  <tim at centricular dot net>
4971
4972         Patch by: Steve Fink  <sphink gmail com>
4973
4974         * docs/manual/appendix-checklist.xml:
4975           Mention less -R switch in the section about debug output (#474055).
4976
4977 2007-09-13  Wim Taymans  <wim.taymans@gmail.com>
4978
4979         * plugins/elements/gstqueue.c: (gst_queue_handle_src_query):
4980         Queue can latency to the pipeline up to the configured max size in time.
4981         Report this fact in the latency query.
4982
4983 2007-09-13  Sebastian Dröge  <slomo@circular-chaos.org>
4984
4985         Patch by: Sebastien Moutte <sebastien at moutte dot net>
4986
4987         * libs/gst/controller/gstinterpolation.c:
4988         * libs/gst/controller/gstlfocontrolsource.c:
4989         Use gst_guint64_to_gdouble() when converting from a uint64 or
4990         GstClockTime to double to fix the build on win32. Fixes #474371.
4991
4992 2007-09-13  Sebastian Dröge  <slomo@circular-chaos.org>
4993
4994         * gst/gstbuffer.c: (gst_buffer_finalize):
4995         Implement poisoning for GstBuffer if --enable-poisoning is specified.
4996         When finalizing a buffer the complete struct is filled with 0xff,
4997         thus making a use of the buffer after the final unref impossible.
4998
4999 2007-09-13  Sebastian Dröge  <slomo@circular-chaos.org>
5000
5001         * tests/check/libs/controller.c: (GST_START_TEST):
5002         Use fail_unless_equals_int(a, b) instead of
5003         fail_unless_equals (a == b) to get better output on failures.
5004
5005 2007-09-12  Tim-Philipp Müller  <tim at centricular dot net>
5006
5007         * tests/check/gst/gsturi.c:
5008           Also check for the other file URI variant on win32.
5009
5010 2007-09-12  Tim-Philipp Müller  <tim at centricular dot net>
5011
5012         * gst/gsturi.c: (gst_uri_get_location):
5013           If there's no hostname, we want to return 'c:/foo/bar.txt'
5014           and not '/c:/foo/bar.txt' on Windows. Fixes #469402.
5015
5016         * tests/check/gst/gsturi.c:
5017           Unit test for the above and a few more things.
5018
5019 2007-09-11  Wim Taymans  <wim.taymans@gmail.com>
5020
5021         * docs/design/part-live-source.txt:
5022         Add docs on how live sources should timestamp.
5023
5024         * libs/gst/base/gstbasesrc.c: (gst_base_src_do_sync):
5025         Add some more debug info.
5026         For subclasses that are live and like to sync, add aditional startup
5027         latency to sync time and timestamps so that we timstamp according to the
5028         design doc.
5029
5030 2007-09-11  Tim-Philipp Müller  <tim at centricular dot net>
5031
5032         * gst/gstbuffer.c:
5033           Also do a g_type_class_ref() for the subbuffer type in
5034           the init function.
5035
5036 2007-09-11  Wim Taymans  <wim.taymans@gmail.com>
5037
5038         * docs/gst/gstreamer-sections.txt:
5039         * gst/gstpad.c: (gst_pad_peer_query):
5040         * gst/gstpad.h:
5041         Add function to perform a query on the peer of a pad.
5042         API: gst_pad_peer_query()
5043
5044 2007-09-11  Stefan Kost  <ensonic@users.sf.net>
5045
5046         * tests/check/gst/gstsystemclock.c:
5047           Cleanup the test a little (use gst-logging and not g_message). Improve
5048           test to check if a wait reached the target.
5049
5050 2007-09-11  Tim-Philipp Müller  <tim at centricular dot net>
5051
5052         * docs/libs/gstreamer-libs-sections.txt:
5053           Add new API to docs and fix the build.
5054
5055 2007-09-10  Wim Taymans  <wim.taymans@gmail.com>
5056
5057         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
5058         (gst_base_src_init), (gst_base_src_set_do_timestamp),
5059         (gst_base_src_get_do_timestamp), (gst_base_src_set_property),
5060         (gst_base_src_get_property), (gst_base_src_do_sync):
5061         * libs/gst/base/gstbasesrc.h:
5062         Add property to make the basesrc timestamp buffers based on the current
5063         running time.
5064         API: GstBaseSrc::do-timestamp
5065         API: gst_base_src_set_do_timestamp()
5066         API: gst_base_src_get_do_timestamp()
5067
5068 2007-09-08  Tim-Philipp Müller  <tim at centricular dot net>
5069
5070         * docs/random/release:
5071           Really make sure translations are up-to-date before
5072           a release (#465010).
5073
5074 2007-09-07  Sebastian Dröge  <slomo@circular-chaos.org>
5075
5076         * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
5077         Always destroy the timer, also in error cases.
5078
5079 2007-09-05  Wim Taymans  <wim.taymans@gmail.com>
5080
5081         * docs/manual/highlevel-xml.xml:
5082         Fix XML example code. Fixes #472714.
5083
5084 2007-09-05  Wim Taymans  <wim.taymans@gmail.com>
5085
5086         * libs/gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
5087         (gst_base_sink_wait_preroll), (gst_base_sink_needs_preroll),
5088         (gst_base_sink_query):
5089         Protect eos and have_preroll with the OBJECT lock so we don't need to
5090         take the PREROLL lock when querying the latency. Fixes #473846.
5091
5092 2007-09-05  Stefan Kost  <ensonic@users.sf.net>
5093
5094         * gst/gstelement.c:
5095           Give some log-messages a category.
5096
5097 2007-09-04  Wim Taymans  <wim.taymans@gmail.com>
5098
5099         * gst/gststructure.c:
5100         (gst_structure_fixate_field_nearest_fraction):
5101         Fix fraction list fixation code. Take the fraction with the smallest
5102         difference with the target instead of the first one in the list.
5103
5104         * tests/check/gst/gststructure.c: (GST_START_TEST),
5105         (gst_structure_suite):
5106         Added test to verify correct fraction list fixation behaviour.
5107
5108 2007-09-02  Tim-Philipp Müller  <tim at centricular dot net>
5109
5110         * win32/common/libgstreamer.def:
5111           Export gst_bus_add_signal_watch too.
5112
5113 2007-08-30  Wim Taymans  <wim.taymans@gmail.com>
5114
5115         * docs/libs/gstreamer-libs-sections.txt:
5116         Add new methods to docs.
5117
5118         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
5119         (gst_base_sink_init), (gst_base_sink_set_ts_offset),
5120         (gst_base_sink_get_ts_offset), (gst_base_sink_set_property),
5121         (gst_base_sink_get_property), (gst_base_sink_wait_clock):
5122         * libs/gst/base/gstbasesink.h:
5123         Add ts-offset property to fine-tune the synchronisation.
5124         API: GstBaseSink::ts-offset property
5125         API: gst_base_sink_set_ts_offset()
5126         API: gst_base_sink_get_ts_offset()
5127
5128 2007-08-29  Wim Taymans  <wim.taymans@gmail.com>
5129
5130         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
5131         (gst_base_sink_init), (gst_base_sink_set_sync),
5132         (gst_base_sink_get_sync), (gst_base_sink_set_max_lateness),
5133         (gst_base_sink_get_max_lateness), (gst_base_sink_set_qos_enabled),
5134         (gst_base_sink_is_qos_enabled), (gst_base_sink_set_async_enabled),
5135         (gst_base_sink_is_async_enabled), (gst_base_sink_set_property),
5136         (gst_base_sink_get_property), (gst_base_sink_change_state):
5137         * libs/gst/base/gstbasesink.h:
5138         Add async property to instruct the sink never to inform the parent about
5139         ASYNC state changes, update docs.
5140         Check argument with g_return_* for the public functions.
5141         API: GstBaseSink::async property
5142         API: gst_base_sink_set_async_enabled()
5143         API: gst_base_sink_is_async_enabled()
5144
5145 2007-08-28  Wim Taymans  <wim.taymans@gmail.com>
5146
5147         * libs/gst/base/gstbasesink.c: (gst_base_sink_loop):
5148         Improve debugging.
5149
5150         * libs/gst/base/gstbasesrc.c: (gst_base_src_query_latency),
5151         (gst_base_src_default_query), (gst_base_src_wait),
5152         (gst_base_src_do_sync), (gst_base_src_change_state):
5153         Rearrange some code so that we can add support for measuring the 
5154         startup latency.
5155
5156 2007-08-27  Stefan Kost  <ensonic@users.sf.net>
5157
5158         * docs/random/ensonic/dynlink.txt:
5159           More thoughs on this.
5160
5161         * plugins/elements/gstcapsfilter.c:
5162           Add bugzilla ticket number to FIXME comment.
5163
5164 2007-08-24  Wim Taymans  <wim.taymans@gmail.com>
5165
5166         * docs/design/part-TODO.txt:
5167         * docs/design/part-block.txt:
5168         Update some docs.
5169
5170 2007-08-24  Jan Schmidt  <thaytan@mad.scientist.com>
5171
5172         * gst/Makefile.am:
5173           Revert patch which uses $(gst_headers) instead of $^ because it
5174           breaks make dist.
5175
5176 2007-08-24  Jan Schmidt  <thaytan@mad.scientist.com>
5177
5178         * tests/check/gst/gstbin.c: (GST_START_TEST):
5179           Fix leaks in the new unit test.
5180
5181 2007-08-23  Tim-Philipp Müller  <tim at centricular dot net>
5182
5183         * gst/gst.c:
5184           Don't use GST_INFO before the debug system is actually initialised
5185           (shouldn't do any harm, but won't print anything either, so we can
5186           just as well remove it).
5187
5188         * gst/gstinfo.h:
5189           GST_CAT_LEVEL_LOG_valist(), which is our inline helper function for
5190           compilers that don't support variadic macros (such as MSVC), should
5191           check for debug_level <= __gst_debug_min as well, since that's the
5192           function called from all the level-specific GST_CAT_*_LOG_OBJECT()
5193           inline helper functions. Should improve performance a bit, but also
5194           makes sure uses of GST_INFO et.al are ignored if the debugging
5195           system isn't initialised yet (instead of printing an assertion
5196           failure).
5197
5198 2007-08-23  Stefan Kost  <ensonic@users.sf.net>
5199
5200         patch by: David Nečas <yeti@physics.muni.cz>
5201
5202         * gst/Makefile.am:
5203           Replace some non portable makefile constructs.
5204
5205 2007-08-21  Stefan Kost  <ensonic@users.sf.net>
5206
5207         * common/gtk-doc-plugins.mak:
5208           Grrrrr. Don't remove the types file on make clean.
5209
5210 2007-08-20  Wim Taymans  <wim.taymans@gmail.com>
5211
5212         * tools/gst-launch.1.in:
5213         Add colorspace to example pipeline. Fixes #458274.
5214
5215 2007-08-20  Tim-Philipp Müller  <tim at centricular dot net>
5216
5217         * docs/random/release:
5218           The release manager should run 'make download-po' before making a
5219           release to make sure translations are up-to-date.
5220
5221         * po/LINGUAS:
5222         * po/be.po:
5223         * po/pl.po:
5224         * po/rw.po:
5225           Add some new translations.
5226
5227 2007-08-17  Wim Taymans  <wim.taymans@gmail.com>
5228
5229         * tools/gst-launch.c: (event_loop), (main):
5230         Don´t try to do any state management when a live pipeline posts
5231         buffering messages.
5232         Also make the buffering string translatable.
5233
5234 2007-08-16  Wim Taymans  <wim.taymans@gmail.com>
5235
5236         * gst/gstbin.c: (is_eos), (gst_bin_add_func),
5237         (bin_handle_async_start), (gst_bin_handle_message_func):
5238         Improve debugging.
5239         When adding elements, insert messages into the bus of the newly added
5240         element and make sure the element is the source of the message. This
5241         allows the parent bin to intercept the message and do the
5242         right thing. It also avoids us posting ASYNC_START and CLOCK_PROVIDE
5243         messages to the app (which is not allowed).
5244         Update some docs.
5245
5246         * tests/check/gst/gstghostpad.c: (GST_START_TEST):
5247         Fix testsuite so that is does not work around messages that should not
5248         have been posted in the first place.
5249
5250 2007-08-16  Wim Taymans  <wim.taymans@gmail.com>
5251
5252         * gst/gstbin.c: (add_to_queue), (remove_from_queue), (clear_queue),
5253         (update_degree), (gst_bin_sort_iterator_next):
5254         Fix annoying bug in the sorted iterator where a sink that is not really
5255         a sink (when it has downstream links) screwed up the iterator.
5256
5257         * tests/check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
5258         Unit test to verify the fix.
5259
5260 2007-08-16  Wim Taymans  <wim.taymans@gmail.com>
5261
5262         * gst/gstmessage.h:
5263         Add some more docs for the messages.
5264
5265         * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
5266         (gst_base_sink_query):
5267         Add some more debugging.
5268
5269         * tools/gst-launch.c: (event_loop):
5270         When interrupting, don't try to set pipeline to PAUSED twice.
5271
5272 2007-08-14  Wim Taymans  <wim.taymans@gmail.com>
5273
5274         
5275         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_element_set_state),
5276         (bin_handle_async_start), (gst_bin_handle_message_func):
5277         Move ASYNC_START message posting to where it belongs, similar to
5278         async_done. 
5279         Don't post ASYNC_START when we are in error. 
5280         Post ASYNC_START when we added an async element to a bin.
5281
5282 2007-08-14  Julien MOUTTE  <julien@moutte.net>
5283
5284         * gst/gstindex.c: (gst_index_add_association): Fix index entry
5285         generation from vargs. Fixes #466595.
5286
5287 2007-08-14  Wim Taymans  <wim.taymans@gmail.com>
5288
5289         * gst/gstbin.c: (gst_bin_element_set_state):
5290         Always change the state of a NO_PREROLL element even if it has ASYNC
5291         elements inside (in case of a bin).
5292
5293         * tests/check/generic/sinks.c: (GST_START_TEST), (gst_sinks_suite):
5294         Unit test for this case.
5295
5296 2007-08-13  Stefan Kost  <ensonic@users.sf.net>
5297
5298         * libs/gst/check/gstbufferstraw.c:
5299         * libs/gst/check/gstcheck.h:
5300         * libs/gst/controller/gstcontroller.c:
5301         * libs/gst/controller/gstcontrolsource.h:
5302         * libs/gst/controller/gstlfocontrolsource.h:
5303         * plugins/elements/gstcapsfilter.h:
5304         * plugins/elements/gstfdsink.h:
5305         * plugins/elements/gstfdsrc.h:
5306           Add more missing docs.
5307
5308 2007-08-12  Wim Taymans  <wim.taymans@gmail.com>
5309
5310         * gst/gststructure.c:
5311         Add Since tag to docs.
5312
5313 2007-08-12  Wim Taymans  <wim.taymans@gmail.com>
5314
5315         * docs/gst/gstreamer-sections.txt:
5316         * gst/gststructure.c: (gst_structure_get_uint):
5317         * gst/gststructure.h:
5318         Add function to get uint from a structure.
5319         API: gst_structure_get_uint()
5320
5321 2007-08-12  Wim Taymans  <wim.taymans@gmail.com>
5322
5323         * gst/gstcaps.c: (gst_caps_set_simple_valist),
5324         (gst_caps_intersect):
5325         Fix proper check for simple caps.
5326
5327 2007-08-10  Stefan Kost  <ensonic@users.sf.net>
5328
5329         * docs/gst/Makefile.am:
5330         * docs/libs/Makefile.am:
5331           Remove cruft and do some cleanups.
5332
5333         * docs/gst/gstreamer-docs.sgml:
5334         * docs/libs/gstreamer-libs-docs.sgml:
5335           Prepare for comming gtkdoc features (rebase against online docs).
5336
5337 2007-08-10  Michael Smith <msmith@fluendo.com>
5338
5339         * docs/gst/gstreamer-sections.txt:
5340           Add gst_registry_add_path to docs.
5341
5342 2007-08-10  Michael Smith <msmith@fluendo.com>
5343
5344         * gst/gstregistry.h:
5345           Add gst_registry_add_path, which was missing from this header.
5346
5347 2007-08-10  Tim-Philipp Müller  <tim at centricular dot net>
5348
5349         * libs/gst/controller/gstlfocontrolsource.c:
5350           Printf format fix.
5351
5352 2007-08-09  Philippe Kalaf <philippe.kalaf@collabora.co.uk>
5353
5354         * libs/gst/base/gstbasesink.c:
5355           Don't send an async_start message during downwards state change if 
5356           target state is less than READY
5357
5358 2007-08-09  Thomas Vander Stichele  <thomas at apestaart dot org>
5359
5360         translated by: Gabor Kelemen <kelemeng@gnome.hu>
5361
5362         * po/LINGUAS:
5363         * po/hu.po:
5364           Added Hungarian translation.
5365
5366 2007-08-09  Thomas Vander Stichele  <thomas at apestaart dot org>
5367
5368         * po/fi.po:
5369         * po/it.po:
5370         * po/nl.po:
5371         * po/sv.po:
5372         * po/uk.po:
5373           Updated translations.
5374
5375 2007-08-07  Jan Schmidt  <thaytan@mad.scientist.com>
5376
5377         * libs/gst/controller/Makefile.am:
5378         Dist gstlfocontrolsourceprivate.h
5379
5380 2007-08-07  Jan Schmidt  <thaytan@mad.scientist.com>
5381
5382         * docs/libs/gstreamer-libs.types:
5383         Don't register the enum type gst_lfo_waveform_get_type() in the
5384         .types file - only GObject derived types belong.
5385
5386 2007-08-07  Wim Taymans  <wim.taymans@gmail.com>
5387
5388         Patch by: <arenevier at fdn dot fr>
5389
5390         * gst/gstbuffer.h:
5391         Remove comma from last element in enum to avoid compile errors when
5392         using -pendantic. Fixes #464366.
5393
5394 2007-08-07  Wim Taymans  <wim.taymans@gmail.com>
5395
5396         * docs/design/part-TODO.txt:
5397         Add some more TODO items
5398
5399         * gst/gstbin.c: (find_message), (gst_bin_change_state_func):
5400         Improve debugging.
5401
5402         * gst/gstcaps.c: (gst_caps_intersect):
5403         Optimize trivial intersection case between identical caps pointers.
5404
5405         * gst/gstelement.c: (gst_element_continue_state),
5406         (gst_element_set_state_func):
5407         * gst/gstpad.c:
5408         Fix spelling and grammar mistakes.
5409
5410 2007-08-05  Stefan Kost  <ensonic@users.sf.net>
5411
5412         * po/POTFILES.in:
5413         * po/POTFILES.skip:
5414           Update POTFILES. Fixes #461599.
5415
5416 2007-08-03  Sebastian Dröge  <slomo@circular-chaos.org>
5417
5418         * gst/gst.c:
5419         Fix confusing typo in debug output.
5420
5421 2007-08-03  Sebastian Dröge  <slomo@circular-chaos.org>
5422
5423         reviewed by: Stefan Kost <ensonic@users.sf.net>
5424
5425         * libs/gst/controller/Makefile.am:
5426         * libs/gst/controller/gstlfocontrolsource.c: (_calculate_pos),
5427         (gst_lfo_waveform_get_type), (gst_lfo_control_source_reset),
5428         (gst_lfo_control_source_new),
5429         (gst_lfo_control_source_set_waveform),
5430         (gst_lfo_control_source_bind), (gst_lfo_control_source_init),
5431         (gst_lfo_control_source_finalize),
5432         (gst_lfo_control_source_dispose),
5433         (gst_lfo_control_source_set_property),
5434         (gst_lfo_control_source_get_property),
5435         (gst_lfo_control_source_class_init):
5436         * libs/gst/controller/gstlfocontrolsource.h:
5437         * libs/gst/controller/gstlfocontrolsourceprivate.h:
5438         API: Add GstLFOControlSource, a control source that gives values
5439         for specific timestamps based on several periodic waveforms.
5440         Fixes #459717.
5441
5442         * tests/check/libs/controller.c: (GST_START_TEST),
5443         (gst_controller_suite):
5444         * docs/libs/gstreamer-libs-docs.sgml:
5445         * docs/libs/gstreamer-libs-sections.txt:
5446         * docs/libs/gstreamer-libs.types:
5447         Add documentation and unit tests for GstLFOControlSource.
5448
5449 2007-08-03  Jan Schmidt  <thaytan@mad.scientist.com>
5450
5451         * configure.ac:
5452         Back to CVS
5453
5454 === release 0.10.14 ===
5455
5456 2007-08-03  Jan Schmidt <thaytan@mad.scientist.com>
5457
5458         * configure.ac:
5459           releasing 0.10.14, "Breathing Vacuum"
5460
5461 2007-08-02  Tim-Philipp Müller  <tim at centricular dot net>
5462
5463         * gst/gstelement.c: (gst_element_class_set_details_simple):
5464         * gst/gstelement.h:
5465           Make strings passed to gst_element_class_set_details_simple()
5466           constant, as they should be (#462752).
5467
5468 2007-08-02  Wim Taymans  <wim.taymans@gmail.com>
5469
5470         * gst/gstbin.c: (gst_bin_change_state_func),
5471         (bin_handle_async_done), (gst_bin_handle_message_func):
5472         Don't forget about the fact that some element went ASYNC even after a
5473         resync. This makes us post the ASYNC_DONE message correctly.
5474         Fixes #462558.
5475
5476 2007-07-31  Jan Schmidt  <thaytan@mad.scientist.com>
5477
5478         * gst/gstregistry.c: (gst_registry_add_feature):
5479         When replacing an existing feature in the registry, make sure to
5480         continue holding a reference until we've replaced the name string
5481         within our feature hash table. Make sure to use g_hash_table_replace
5482         instead of g_hash_table_insert to ensure the new name string is used
5483         as a key instead of the old one that we're about to free.
5484         Fixes: #462085
5485
5486 2007-07-31  Jan Schmidt  <thaytan@mad.scientist.com>
5487
5488         * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
5489         (gst_plugin_feature_set_name):
5490         Revert patch from #459466 until after the release and we can work
5491         out exactly what the problem is (if any).
5492
5493 2007-07-26  Tim-Philipp Müller  <tim at centricular dot net>
5494
5495         * docs/gst/gstreamer-sections.txt:
5496         * gst/gsttaglist.c:
5497         * gst/gsttaglist.h:
5498           API: add GST_TAG_LICENSE_URI and GST_TAG_COPYRIGHT_URI (#451939).
5499
5500 2007-07-26  Jan Schmidt  <thaytan@mad.scientist.com>
5501
5502         * docs/libs/Makefile.am:
5503         Include our build-prefix libs and includes before the generic ones to
5504         avoid linking against the installed libs when we want the build-tree
5505         ones.
5506
5507 2007-07-26  Tim-Philipp Müller  <tim at centricular dot net>
5508
5509         Patch by: Steve Fink  <sphink gmail com>
5510
5511         * docs/pwg/building-testapp.xml:
5512           Mention that GST_PLUGIN_PATH or --gst-plugin-path might be needed
5513           if people try to build or install the example from the plugin
5514           template against a GStreamer from package using the configure
5515           defaults.
5516
5517 2007-07-25  Tim-Philipp Müller  <tim at centricular dot net>
5518
5519         Patch by: Steve Fink  <sphink gmail com>
5520
5521         * tools/gst-inspect.1.in:
5522           Document --print-all and --print-plugin-auto-install-info command
5523           line options in man page.
5524
5525 2007-07-25  Wim Taymans  <wim.taymans@gmail.com>
5526
5527         * docs/gst/gstreamer-sections.txt:
5528         Add docs for new api function.
5529
5530 2007-07-25  Wim Taymans  <wim.taymans@gmail.com>
5531
5532         * gst/gstelementfactory.c: (gst_element_factory_has_interface):
5533         * gst/gstelementfactory.h:
5534         API: gst_element_factory_has_interface()
5535         Added method to check if an element factory implements a named
5536         interface.
5537
5538 2007-07-25  Stefan Kost  <ensonic@users.sf.net>
5539
5540         * configure.ac:
5541         * docs/gst/gstreamer.types.in:
5542           Another conditional doc check.
5543
5544         * gst/gstmessage.c:
5545         * gst/gstparamspecs.h:
5546         * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
5547         * gst/gstvalue.c:
5548         * gst/gstxml.h:
5549           API-doc fixes.
5550
5551 2007-07-24  Stefan Kost  <ensonic@users.sf.net>
5552
5553         * gst/gstregistrybinary.c: (gst_registry_binary_check_magic),
5554         (gst_registry_binary_load_feature),
5555         (gst_registry_binary_load_plugin),
5556         (gst_registry_binary_read_cache):
5557           Print error just once and with additional info.
5558
5559 2007-07-24  Stefan Kost  <ensonic@users.sf.net>
5560
5561         * libs/gst/base/gsttypefindhelper.c: (helper_find_peek),
5562         (helper_find_suggest), (helper_find_get_length),
5563         (gst_type_find_helper_get_range), (buf_helper_find_suggest),
5564         (gst_type_find_helper_for_buffer):
5565           Cleanup the typefindhelper code and add private doc comments.
5566
5567 2007-07-24  Edward Hervey  <bilboed@bilboed.com>
5568
5569         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
5570         (gst_capsfilter_transform_size), (gst_capsfilter_prepare_buf):
5571         Fix capsfilter for cases where the caps set on capsfilter will provide
5572         additional information.
5573         Fixes #449197
5574
5575 2007-07-24  Stefan Kost  <ensonic@users.sf.net>
5576
5577         * gst/gsttypefindfactory.c:
5578           Fix docs that recommened wrong function to use.
5579
5580 2007-07-23  Stefan Kost  <ensonic@users.sf.net>
5581
5582         * tools/gst-inspect.c: (print_plugin_features):
5583           Also give media-type for typefinders in element output.
5584
5585 2007-07-23  Stefan Kost  <ensonic@users.sf.net>
5586
5587         * gst/gstregistry.c: (gst_registry_init), (gst_registry_finalize),
5588         (gst_registry_remove_features_for_plugin_unlocked),
5589         (gst_registry_add_feature), (gst_registry_remove_feature),
5590         (gst_registry_lookup_feature_locked):
5591         * gst/gstregistry.h:
5592           Speed up gst_registry_lookup_feature_locked() by using a hashmap.
5593           Fixes #459501.
5594
5595 2007-07-23  Stefan Kost  <ensonic@users.sf.net>
5596
5597         * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
5598         (gst_plugin_feature_set_name):
5599           Avoid double memory usage for pluginfeature names. Fixes #459466.
5600
5601 2007-07-22  Tim-Philipp Müller  <tim at centricular dot net>
5602
5603         * gst/gstpad.h:
5604           Small addition to GST_FLOW_IS_FATAL() docs: mention that elements
5605           driving the pipeline may need to explicitly check for NOT_LINKED as
5606           well, since IS_FATAL doesn't cover that.
5607
5608 2007-07-22  Tim-Philipp Müller  <tim at centricular dot net>
5609
5610         * docs/pwg/advanced-types.xml:
5611           Fix typo and duplicate entry in video formats list.
5612
5613 2007-07-22  Sebastian Dröge  <slomo@circular-chaos.org>
5614
5615         * libs/gst/controller/gstinterpolation.c:
5616         Also round to the nearest int when using cubic interpolation.
5617
5618 2007-07-19  Jan Schmidt  <thaytan@noraisin.net>
5619
5620         * libs/gst/controller/gstinterpolation.c:
5621         When linearly interpolating integer types, round to the nearest int
5622         by adding 0.5. Don't do it for float/double types.
5623         Fixes the failing controller test on my machine, which is somehow
5624         rounding differently than on the buildbots.
5625
5626 2007-07-20  Stefan Kost  <ensonic@users.sf.net>
5627
5628         * tools/gst-plot-timeline.py:
5629           Better log parsing (categories can have -). Adjust text vs. lines, so
5630           that they span the same y-range.        
5631
5632 2007-07-20  Stefan Kost  <ensonic@users.sf.net>
5633
5634         * docs/random/ensonic/audiobaseclasses.txt:
5635         * docs/random/ensonic/dynlink.txt:
5636         * docs/random/ensonic/profiling.txt:
5637           Save my thoughts.
5638
5639         * docs/random/moving-plugins:
5640           Add note to use g_assert type macros.
5641
5642 2007-07-20  Stefan Kost  <ensonic@users.sf.net>
5643
5644         * configure.ac:
5645         * libs/gst/check/Makefile.am:
5646           Add libm check as we use in for plugins.
5647
5648 2007-07-18  Jan Schmidt  <thaytan@noraisin.net>
5649
5650         * gst/gstbin.c: (gst_bin_continue_func):
5651         Check that the state_cookie hasn't changed since the continue_func
5652         was scheduled. Avoids problems where the state changes back to
5653         something it shouldn't be because it was changed in the meantime.
5654
5655 2007-07-17  Stefan Kost  <ensonic@users.sf.net>
5656
5657         * gst/gstregistrybinary.c: (gst_registry_binary_save_const_string),
5658         (gst_registry_binary_save_string),
5659         (gst_registry_binary_save_pad_template),
5660         (gst_registry_binary_save_feature),
5661         (gst_registry_binary_save_plugin),
5662         (gst_registry_binary_load_feature),
5663         (gst_registry_binary_load_plugin),
5664         (gst_registry_binary_read_cache):
5665           Fix memory leak. Be less verbose in the log.
5666
5667 2007-07-16  Jan Schmidt  <thaytan@mad.scientist.com>
5668
5669         * tests/check/elements/.cvsignore:
5670         Add file to cvsignore as commanded.
5671
5672 2007-07-16  Jan Schmidt  <thaytan@mad.scientist.com>
5673
5674         * tests/check/elements/multiqueue.c: (mq_dummypad_chain),
5675         (mq_dummypad_event), (run_output_order_test):
5676         Use a GStaticMutex to protect all cases where libcheck
5677         fail_if/fail_unless macros might be called from multiple threads
5678         simultaneously to avoid errors like:
5679           "check_pack.c:107: :-1081725400:Bad message type arg"
5680
5681 2007-07-16  Jan Schmidt  <thaytan@mad.scientist.com>
5682
5683         * tests/check/pipelines/stress.c: (GST_START_TEST):
5684         Make sure we set the pipeline back to the NULL state before
5685         dropping our final reference.
5686
5687 2007-07-16  Jan Schmidt  <thaytan@mad.scientist.com>
5688
5689         * tests/check/elements/tee.c: (GST_START_TEST):
5690         Make the tee stress-test a little less stressful so it doesn't just
5691         time out on slow-machines, and remove a small race when it's starting 
5692         up by adding a get_state() call.
5693
5694 2007-07-16  Stefan Kost  <ensonic@users.sf.net>
5695
5696         * gst/gst.c:
5697           Avoid reading registry twice on startup. Fixes #457322.
5698
5699 2007-07-13  Jan Schmidt  <thaytan@mad.scientist.com>
5700
5701         * pkgconfig/gstreamer-check-uninstalled.pc.in:
5702         * pkgconfig/gstreamer-check.pc.in:
5703         Substitute the CFLAGS for libcheck into our .pc file too so that
5704         dependent modules will pick it up properly if libcheck is installed
5705         into some other prefix.
5706
5707 2007-07-13  Jan Schmidt  <thaytan@mad.scientist.com>
5708
5709         * configure.ac:
5710         Revert the pkg-config check for libcheck, since it pulls in the
5711         wrong non-PIC libcheck.a on Ubuntu and probably Fedora too. We need
5712         a proper solution, either from the check project, or something else.
5713
5714 2007-07-12  Stefan Kost  <ensonic@users.sf.net>
5715
5716         * configure.ac:
5717           Use pkg-config to locate check.
5718
5719 2007-07-10  Stefan Kost  <ensonic@users.sf.net>
5720
5721         * gst/gsttaglist.c:
5722           Fix doc syntax.
5723
5724         * gst/gstutils.c:
5725         * gst/gstutils.h:
5726           Add deprecation guards.
5727
5728         * libs/gst/base/gstcollectpads.h:
5729           Don't document object (this is implicitly private).
5730
5731 2007-07-08  Tim-Philipp Müller  <tim at centricular dot net>
5732
5733         * gst/gststructure.c: (gst_structure_parse_value):
5734           When deserialising foo=bar without a type cast, check if it's a
5735           boolean before falling back to a string type, otherwise things like
5736           audiotestsrc ! audio/x-raw-int,signed=true ! fakesink won't work,
5737           because the filtercaps end up having a signed=(string)true field,
5738           which causes problems later when intersection caps.
5739
5740         * tests/check/gst/gststructure.c: (GST_START_TEST):
5741           Add a unit test for this.
5742
5743 2007-07-06  Sebastian Dröge  <slomo@circular-chaos.org>
5744
5745         Reviewed by: Stefan Kost <ensonic@users.sf.net>
5746
5747         * libs/gst/controller/Makefile.am:
5748         * libs/gst/controller/gstcontroller.c:
5749         (gst_controlled_property_add_interpolation_control_source),
5750         (gst_controlled_property_new), (gst_controlled_property_free),
5751         (gst_controller_find_controlled_property),
5752         (gst_controller_new_valist), (gst_controller_new_list),
5753         (gst_controller_new), (gst_controller_remove_properties_valist),
5754         (gst_controller_remove_properties_list),
5755         (gst_controller_remove_properties),
5756         (gst_controller_set_property_disabled),
5757         (gst_controller_set_disabled), (gst_controller_set_control_source),
5758         (gst_controller_get_control_source), (gst_controller_get),
5759         (gst_controller_sync_values), (gst_controller_get_value_array),
5760         (_gst_controller_dispose), (gst_controller_get_type),
5761         (gst_controlled_property_set_interpolation_mode),
5762         (gst_controller_set), (gst_controller_set_from_list),
5763         (gst_controller_unset), (gst_controller_unset_all),
5764         (gst_controller_get_all), (gst_controller_set_interpolation_mode):
5765         * libs/gst/controller/gstcontroller.h:
5766         * libs/gst/controller/gstcontrollerprivate.h:
5767         * libs/gst/controller/gstcontrolsource.c:
5768         (gst_control_source_class_init), (gst_control_source_init),
5769         (gst_control_source_get_value),
5770         (gst_control_source_get_value_array), (gst_control_source_bind):
5771         * libs/gst/controller/gstcontrolsource.h:
5772         * libs/gst/controller/gsthelper.c: (gst_object_set_control_source),
5773         (gst_object_get_control_source):
5774         * libs/gst/controller/gstinterpolation.c:
5775         (gst_interpolation_control_source_find_control_point_node),
5776         (gst_interpolation_control_source_get_first_value),
5777         (_interpolate_none_get), (interpolate_none_get),
5778         (interpolate_none_get_boolean_value_array),
5779         (interpolate_none_get_enum_value_array),
5780         (interpolate_none_get_string_value_array),
5781         (_interpolate_trigger_get), (interpolate_trigger_get),
5782         (interpolate_trigger_get_boolean_value_array),
5783         (interpolate_trigger_get_enum_value_array),
5784         (interpolate_trigger_get_string_value_array):
5785         * libs/gst/controller/gstinterpolationcontrolsource.c:
5786         (gst_control_point_free), (gst_interpolation_control_source_reset),
5787         (gst_interpolation_control_source_new),
5788         (gst_interpolation_control_source_set_interpolation_mode),
5789         (gst_interpolation_control_source_bind),
5790         (gst_control_point_compare), (gst_control_point_find),
5791         (gst_interpolation_control_source_set_internal),
5792         (gst_interpolation_control_source_set),
5793         (gst_interpolation_control_source_set_from_list),
5794         (gst_interpolation_control_source_unset),
5795         (gst_interpolation_control_source_unset_all),
5796         (gst_interpolation_control_source_get_all),
5797         (gst_interpolation_control_source_get_count),
5798         (gst_interpolation_control_source_init),
5799         (gst_interpolation_control_source_finalize),
5800         (gst_interpolation_control_source_dispose),
5801         (gst_interpolation_control_source_class_init):
5802         * libs/gst/controller/gstinterpolationcontrolsource.h:
5803         * libs/gst/controller/gstinterpolationcontrolsourceprivate.h:
5804         API: Refactor GstController into the core controller which can take
5805         a GstControlSource for providing actual values for timestamps.
5806         Implement a interpolation control source and use this for backward
5807         compatibility, deprecate a bunch of functions that are now handled
5808         by GstControlSource or GstInterpolationControlSource.
5809         Make it possible to disable the controller completely or only for
5810         specific properties. Fixes #450711.
5811         * docs/libs/gstreamer-libs-docs.sgml:
5812         * docs/libs/gstreamer-libs-sections.txt:
5813         * docs/libs/gstreamer-libs.types:
5814         Add new functions and classes to the docs.
5815         * tests/check/libs/controller.c: (GST_START_TEST),
5816         (gst_controller_suite):
5817         * tests/examples/controller/audio-example.c: (main):
5818         Port unit test and example to the new API and add some new
5819         unit tests.
5820
5821 2007-07-05  Wim Taymans  <wim.taymans@gmail.com>
5822
5823         Patch by: Mark Nauwelaerts <manauw at skynet be>
5824
5825         * plugins/elements/gstmultiqueue.c:
5826         (gst_multi_queue_get_internal_links), (apply_buffer),
5827         (single_queue_overrun_cb), (gst_single_queue_new):
5828         Implement non-default GstPadIntLinkFunction for multiqueue pads so that
5829         the pipeline layout can be tracked correctly. Fixes #453732.
5830
5831 2007-07-05  Stefan Kost  <ensonic@users.sf.net>
5832
5833         * docs/gst/Makefile.am:
5834         * docs/libs/Makefile.am:
5835         * docs/plugins/Makefile.am:
5836           Simplify --extra-dir as gtkdoc scans recursively.
5837
5838 2007-07-03  Wim Taymans  <wim.taymans@gmail.com>
5839
5840         * tools/gst-launch.c: (main):
5841         When we got an error, there is no point in waiting for preroll when
5842         shutting down.
5843
5844 2007-07-03  Wim Taymans  <wim.taymans@gmail.com>
5845
5846         * plugins/elements/gsttee.c: (gst_tee_base_init),
5847         (gst_tee_request_new_pad), (gst_tee_release_pad),
5848         (gst_tee_find_buffer_alloc), (gst_tee_buffer_alloc),
5849         (gst_tee_do_push), (clear_pads), (gst_tee_handle_buffer),
5850         (gst_tee_chain):
5851         Be a lot smarter when deciding what srcpad to use for proxying
5852         the buffer_alloc. Also handle pad added/removed when doing so.
5853         Fixes #357959.
5854         Keep track of what pads we already pushed on in case we have pads
5855         added/removed while pushing. Fixes #374639 
5856
5857         * tests/check/Makefile.am:
5858         * tests/check/elements/tee.c: (handoff), (GST_START_TEST),
5859         (tee_suite):
5860         Added unit test for pad resync.
5861
5862 2007-07-01  Thomas Vander Stichele  <thomas at apestaart dot org>
5863
5864         * po/nl.po:
5865         * po/sv.po:
5866           Updated translations.
5867
5868 2007-07-01  Thomas Vander Stichele  <thomas at apestaart dot org>
5869
5870         translation by: Tommi Vainikainen <Tommi.Vainikainen@iki.fi>
5871
5872         * po/LINGUAS:
5873         * po/fi.po:
5874           Added new Finnish translation.
5875
5876 2007-06-28  Wim Taymans  <wim@fluendo.com>
5877
5878         * plugins/elements/gstmultiqueue.c: (apply_buffer),
5879         (single_queue_overrun_cb):
5880         When figuring out when a queue is filled, use our internal time estimate
5881         based on segments, just like check_full does.
5882
5883 2007-06-27  Stefan Kost  <ensonic@users.sf.net>
5884
5885         * gst/gstminiobject.c: (gst_mini_object_get_type):
5886           Remove 3 do-nothing methods.
5887
5888 2007-06-27  Wim Taymans  <wim@fluendo.com>
5889
5890         Patch by: Tim Angus <tim at ngus dot net>
5891
5892         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
5893         (gst_capsfilter_set_property):
5894         Take a reference instead of a copy when setting "caps".
5895         Fix documentation to clarify this behaviour. Fixes #449414.
5896
5897 2007-06-27  Stefan Kost  <ensonic@users.sf.net>
5898
5899         * gst/gstindexfactory.c: (gst_index_factory_get_type):
5900         * gst/gstplugin.c: (gst_plugin_init):
5901         * gst/gstpluginfeature.c: (gst_plugin_feature_init):
5902         * gst/gstquery.c: (gst_query_get_type):
5903         * gst/gstregistry.c: (gst_registry_init):
5904         * gst/gsturi.c: (gst_uri_handler_base_init):
5905           Remove empty instance_init() functions to save relocs and lessen the
5906           noise. Remove some of the function prototypes that are doubled by
5907           G_DEFINE_TYPE.
5908           
5909 2007-06-27  Wim Taymans  <wim@fluendo.com>
5910
5911         Patch by: Étienne Noreau-Hébert <etienne at deepunder dot org>
5912
5913         * gst/gstghostpad.c: (gst_proxy_pad_save_thyself):
5914         Add peer and direction in the XML serialisation of ghostpads.
5915         Fixes #449226.
5916
5917 2007-06-26  Stefan Kost  <ensonic@users.sf.net>
5918
5919         * configure.ac:
5920           Preserve useful information, thanks Tim.
5921
5922 2007-06-26  Jan Schmidt  <thaytan@noraisin.net>
5923
5924         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_init),
5925         (gst_single_queue_flush), (apply_segment), (apply_buffer),
5926         (gst_single_queue_push_one), (gst_multi_queue_loop),
5927         (gst_multi_queue_sink_activate_push), (gst_multi_queue_sink_event),
5928         (gst_multi_queue_src_activate_push), (wake_up_next_non_linked),
5929         (compute_high_id), (gst_single_queue_new):
5930         * plugins/elements/gstmultiqueue.h:
5931         Take the multiqueue lock when updating the fill level so we don't get
5932         confused. 
5933
5934         After applying a buffer or event on the src pad segment, make sure to
5935         call gst_data_queue_limits_changed() to get the data queue to unblock
5936         and check the filled state again.
5937         
5938         Rework the not-linked pad handling so the logic is that not-linked 
5939         pads can push as fast as they like, but only so they never get 
5940         ahead of any linked pads.
5941
5942         * tests/check/elements/multiqueue.c: (mq_sinkpad_to_srcpad),
5943         (mq_dummypad_getcaps), (mq_dummypad_chain), (mq_dummypad_event),
5944         (run_output_order_test), (GST_START_TEST), (multiqueue_suite):
5945
5946         Add a test to check that not-linked pads always stay behind
5947         linked pads.
5948
5949         Fixes: #430682
5950
5951 2007-06-26  Jan Schmidt  <thaytan@mad.scientist.com>
5952
5953         * docs/random/release:
5954           Some updates to the release procedure.
5955
5956 2007-06-26  Stefan Kost  <ensonic@users.sf.net>
5957
5958         * gst/gstelementfactory.c: (__gst_element_details_clear):
5959           Microoptimization that saves stunning 80 bytes.
5960
5961 2007-06-25  Stefan Kost  <ensonic@users.sf.net>
5962
5963         * docs/plugins/gstreamer-plugins.args:
5964         * docs/plugins/inspect/plugin-coreelements.xml:
5965         * docs/plugins/inspect/plugin-coreindexers.xml:
5966           Update docs with caps info.
5967
5968 2007-06-24  Thomas Vander Stichele  <thomas at apestaart dot org>
5969
5970         * po/it.po:
5971           Updated Italian translation.
5972
5973 2007-06-23  Thomas Vander Stichele  <thomas at apestaart dot org>
5974
5975         * ChangeLog:
5976         * po/vi.po:
5977           Update Vietnamese translations.
5978
5979 2007-06-21  Tim-Philipp Müller  <tim at centricular dot net>
5980
5981         * libs/gst/base/gstbasesink.c:
5982           Remove unused signal enum.
5983
5984 2007-06-21  Jan Schmidt  <thaytan@mad.scientist.com>
5985
5986         * docs/gst/gstreamer-sections.txt:
5987         * gst/gstelement.c:
5988         * gst/gstutils.c: (gst_type_register_static_full):
5989         Beef up and include the docs for gst_type_register_static_full and
5990         gst_element_class_set_details_simple and add the API keyword
5991         in the ChangeLog.
5992
5993 2007-06-21  Jan Schmidt  <thaytan@mad.scientist.com>
5994
5995         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_set_property),
5996         (update_time_level), (gst_single_queue_push_one),
5997         (gst_multi_queue_chain), (gst_multi_queue_sink_event),
5998         (single_queue_overrun_cb), (single_queue_underrun_cb),
5999         (single_queue_check_full):
6000         Fix setting max-* properties after adding queues.
6001         Use IS_FILLED for checking visible items.
6002         Signal overrun if multiple queues overrun.
6003         Add extra debug output.
6004         Patch by: Wim Taymans <wim@fluendo.com>
6005
6006 2007-06-21  Stefan Kost  <ensonic@users.sf.net>
6007
6008         * gst/gstelement.c: (gst_element_class_set_details_simple):
6009         * gst/gstelement.h:
6010         * gst/gstutils.c: (gst_type_register_static_full):
6011         * gst/gstutils.h:
6012         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_base_init):
6013         * plugins/elements/gstfakesink.c: (gst_fake_sink_base_init):
6014         * plugins/elements/gstfakesrc.c: (gst_fake_src_base_init):
6015         * plugins/elements/gstfdsink.c: (gst_fd_sink_base_init):
6016         * plugins/elements/gstfdsrc.c: (gst_fd_src_base_init):
6017         * plugins/elements/gstfilesink.c: (gst_file_sink_base_init):
6018         * plugins/elements/gstfilesrc.c: (gst_file_src_base_init):
6019         * plugins/elements/gstidentity.c: (gst_identity_base_init):
6020         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_base_init):
6021         * plugins/elements/gstqueue.c: (gst_queue_base_init),
6022         (apply_buffer), (gst_queue_chain):
6023         * plugins/elements/gsttee.c: (gst_tee_base_init):
6024         * plugins/elements/gsttypefindelement.c:
6025         (gst_type_find_element_base_init),
6026         (gst_type_find_element_class_init):
6027           Saving relocations for GTypeInfo and GstElementDetails. Fixes #437457.
6028           API: add gst_type_register_static_full
6029           API: add gst_element_class_set_details_simple
6030
6031 2007-06-21  Tim-Philipp Müller  <tim at centricular dot net>
6032
6033         * docs/pwg/advanced-types.xml:
6034           Fix typo in iana.org URI.
6035
6036 2007-06-19  Andy Wingo  <wingo@pobox.com>
6037
6038         * tests/check/pipelines/simple-launch-lines.c
6039         (test_state_change_returns): Enable pull-mode tests now that
6040         basesink has been fixed.
6041
6042         * libs/gst/base/gstbasesink.c (gst_base_sink_needs_preroll):
6043         Changed from gst_base_sink_is_prerolled, reversing the sense of
6044         the return value. Returns FALSE also if the sink is in pull mode,
6045         in which case it needs no preroll.
6046         (gst_base_sink_query, gst_base_sink_change_state): Update for
6047         needs_preroll change.
6048         (gst_base_sink_change_state): Add a case for READY_TO_PAUSED after
6049         chaining up, in which we return SUCCESS directly if we activated
6050         in pull mode instead of ASYNC. Involves countering an async_start
6051         message sent before chaining up; not sure if this is correct, in
6052         an ideal world we only send async-start when activating in push
6053         mode.
6054
6055         * tests/check/pipelines/simple-launch-lines.c
6056         (test_state_change_returns): New test, partially disabled until
6057         basesink is fixed.
6058
6059 2007-06-19  Wim Taymans  <wim@fluendo.com>
6060
6061         * plugins/elements/gstmultiqueue.c: (apply_buffer),
6062         (gst_multi_queue_sink_event):
6063         Fix event leak.
6064
6065 2007-06-19  Wim Taymans  <wim@fluendo.com>
6066
6067         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
6068         (gst_bin_change_state_func), (bin_push_state_continue),
6069         (bin_handle_async_start), (bin_handle_async_done),
6070         (gst_bin_handle_message_func):
6071         Move the common code for posting state-change messages into
6072         one function.
6073         Broadcast the state signal after we posted the messages.
6074         Mark the bin as busy when it's doing a state-change.
6075         Make sure async-start/done messages don't interfere with the bin's
6076         state when it's busy.
6077         After the state change, let the bin check which elements completed the
6078         state change while it was busy so that it can update its state.
6079
6080 2007-06-19  Jan Schmidt  <thaytan@mad.scientist.com>
6081
6082         * docs/random/release:
6083         Add a note about updating the doap file to the release checklist
6084
6085 2007-06-18  Wim Taymans  <wim@fluendo.com>
6086
6087         * plugins/elements/gstmultiqueue.c: (apply_buffer),
6088         (gst_single_queue_push_one), (gst_multi_queue_chain),
6089         (gst_multi_queue_sink_event):
6090         Make sure we don't reference the buffer/event after we have given away
6091         ownership in the queue.
6092
6093 2007-06-18  Wim Taymans  <wim@fluendo.com>
6094
6095         * plugins/elements/gstmultiqueue.c: (gst_single_queue_flush),
6096         (gst_multi_queue_chain), (gst_multi_queue_sink_event):
6097         Update queue state _after_ adding the item in the queue because else we
6098         could end up being full without the element added yet.
6099
6100 2007-06-18  Wim Taymans  <wim@fluendo.com>
6101
6102         * gst/gstbin.c: (gst_bin_init), (gst_bin_add_func),
6103         (gst_bin_remove_func), (gst_bin_get_state_func),
6104         (gst_bin_element_set_state), (gst_bin_continue_func),
6105         (bin_push_state_continue), (bin_handle_async_start),
6106         (bin_handle_async_done), (gst_bin_handle_message_func):
6107         * gst/gstbin.h:
6108         Immediatly commit the toplevel bin state when receiving an async-done
6109         message. This enables us to avoid spawning a thread to commit the state
6110         in some common cases and it also avoids some races.
6111         Avoid spawning a state thread when adding/removing async elements to a
6112         toplevel bin. Instead we immediatly update the bin state.
6113         Get rid of iterating all the children when getting the state in the bin
6114         because it is now always up-to-date.
6115         Fix bug where locked elements would always return _SUCCESS even it they
6116         returned NO_PREROLL before being locked.
6117         Fix the order of the state_change, async-start/done messages that was
6118         sometimes incorrect.
6119         Mark the state_dirty field as deprecated, we don't need it anymore as we
6120         are always up-to-date.
6121
6122         * gst/gstelement.c: (gst_element_get_state_func),
6123         (gst_element_continue_state):
6124         Small debug inprovements.
6125         Return the previous element state return when nothing is pending instead
6126         of blindly returning SUCCESS.
6127
6128         * tests/check/generic/sinks.c: (GST_START_TEST), (pad_blocked_cb),
6129         (gst_sinks_suite):
6130         Add a whole bunch of new testcases.
6131
6132 2007-06-17  Thomas Vander Stichele  <thomas at apestaart dot org>
6133
6134         * po/uk.po:
6135         * po/vi.po:
6136           Update translations.
6137
6138 2007-06-15  Jan Schmidt  <thaytan@mad.scientist.com>
6139
6140         * gst/gstpad.c:
6141         Fix typo in the docs.
6142
6143 2007-06-15  Wim Taymans  <wim@fluendo.com>
6144
6145         * docs/libs/gstreamer-libs-sections.txt:
6146         Add docs for new methods.
6147
6148 2007-06-15  Wim Taymans  <wim@fluendo.com>
6149
6150         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_item_destroy),
6151         (gst_multi_queue_item_new):
6152         Don't use GSlice because we don't depend on >= 2.10 yet.
6153
6154 2007-06-15  Wim Taymans  <wim@fluendo.com>
6155
6156         * plugins/elements/gstmultiqueue.c: (gst_single_queue_flush),
6157         (update_time_level), (apply_segment), (apply_buffer),
6158         (gst_single_queue_push_one), (gst_multi_queue_item_new),
6159         (gst_multi_queue_loop), (gst_multi_queue_sink_activate_push),
6160         (gst_multi_queue_sink_event), (single_queue_overrun_cb),
6161         (single_queue_underrun_cb), (single_queue_check_full):
6162         Remove debug printf.
6163
6164 2007-06-15  Wim Taymans  <wim@fluendo.com>
6165
6166         * libs/gst/base/gstdataqueue.c: (gst_data_queue_cleanup),
6167         (gst_data_queue_finalize), (gst_data_queue_locked_is_empty),
6168         (gst_data_queue_set_flushing), (gst_data_queue_push),
6169         (gst_data_queue_pop), (gst_data_queue_drop_head),
6170         (gst_data_queue_limits_changed), (gst_data_queue_get_level):
6171         * libs/gst/base/gstdataqueue.h:
6172         Various cleanups.
6173         Added methods to get the current levels and to inform the queue that the
6174         'full' limits changed.
6175
6176         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_init),
6177         (gst_multi_queue_finalize), (gst_multi_queue_set_property),
6178         (gst_single_queue_flush), (update_time_level), (apply_segment),
6179         (apply_buffer), (gst_single_queue_push_one),
6180         (gst_multi_queue_item_steal_object),
6181         (gst_multi_queue_item_destroy), (gst_multi_queue_item_new),
6182         (gst_multi_queue_loop), (gst_multi_queue_chain),
6183         (gst_multi_queue_sink_activate_push), (gst_multi_queue_sink_event),
6184         (gst_multi_queue_getcaps), (gst_multi_queue_src_activate_push),
6185         (gst_multi_queue_src_query), (single_queue_overrun_cb),
6186         (single_queue_underrun_cb), (single_queue_check_full),
6187         (gst_single_queue_new):
6188         Keep track of time in the queue by measuring the difference between
6189         running_time on input and output. This gives more accurate results and
6190         can compensate for segments correctly.
6191         Make a queue by default only 5 buffers deep. We will now increase the
6192         buffer size depending on the filledness of the other queues.
6193         Factor out commong flush code.
6194         Make sure we don't add additional refcounts to buffers when we can avoid
6195         it.
6196         Propagate GstFlowReturn differently.
6197         Use GSlice for intermediate GstMultiQueueItems.
6198         Keep track of EOS.
6199         Resize queues on over and underruns based on filled level of other
6200         queues.
6201         When checking if the queue is filled, prefer to measure in time if we
6202         can and fall back to bytes when no time is known.
6203
6204         * plugins/elements/gstqueue.c:
6205         Fix return value.
6206
6207 2007-06-15  Wim Taymans  <wim@fluendo.com>
6208
6209         * libs/gst/base/gstbasetransform.c:
6210         (gst_base_transform_sink_event):
6211         Work around the brokenness of the event vmethod in basetransform. Prefer
6212         to return TRUE when the subclass returned FALSE (meaning don't forward
6213         the event). 
6214
6215         * libs/gst/base/gstbasetransform.h:
6216         Clarify the docs.
6217
6218 2007-06-15  Wim Taymans  <wim@fluendo.com>
6219
6220         * gst/gstpad.c: (gst_pad_push_event), (gst_pad_send_event):
6221         * libs/gst/base/gstbasesrc.c: (gst_base_src_query_latency),
6222         (gst_base_src_default_query), (gst_base_src_get_range),
6223         (gst_base_src_start):
6224         * tests/check/pipelines/parse-launch.c: (setup_pipeline):
6225         Improve debugging.
6226
6227 2007-06-15  Stefan Kost  <ensonic@users.sf.net>
6228
6229         * docs/pwg/advanced-types.xml:
6230           Added more formats to caps table.
6231
6232 2007-06-15  Stefan Kost  <ensonic@users.sf.net>
6233
6234         * tools/gst-launch.c: (main):
6235           Remove crufy code. GOption does not need this workaround.
6236
6237 2007-06-14  Stefan Kost  <ensonic@users.sf.net>
6238
6239         * libs/gst/controller/gstcontroller.c:
6240         (gst_controlled_property_set_interpolation_mode):
6241           Fix wrong getter for enums in controller.
6242
6243 2007-06-14  Tim-Philipp Müller  <tim at centricular dot net>
6244
6245         * libs/gst/check/gstcheck.c: (gst_check_init):
6246           Intercept criticals and warnings in the Gst-Phonon log domain, so
6247           ASSERT_CRITICAL() etc. can be used in gst-phonon's unit tests as
6248           well.
6249         
6250 2007-06-14  Edward Hervey  <edward@fluendo.com>
6251
6252         * gst/gstparamspecs.c: (_gst_param_fraction_validate):
6253         Since this file doesn't include "gst.h" it will not go through the
6254         macros that disable GST_LOG if debugging was disabled.
6255
6256 2007-06-14  Tim-Philipp Müller  <tim at centricular dot net>
6257
6258         * libs/gst/check/Makefile.am:
6259         * libs/gst/check/gstcheck.h:
6260         * pkgconfig/gstreamer-check-uninstalled.pc.in:
6261         * pkgconfig/gstreamer-check.pc.in:
6262           Ugly 'fix' for the controller unit test on the p5 bot: in
6263           fail_unless_equals_float() check whether the values are 'almost
6264           equal' by allowing a small absolute error, which should be good
6265           enough for our use cases (normal numbers and values close to 0).
6266           Proper fixage left to floating point arithmetic aficionados.
6267
6268 2007-06-14  Stefan Kost  <ensonic@users.sf.net>
6269
6270         * libs/gst/base/gstbasesink.c: (gst_base_sink_reset_qos),
6271         (gst_base_sink_render_object), (gst_base_sink_get_position):
6272           Add two breaks thats where missing.
6273
6274 2007-06-14  Tim-Philipp Müller  <tim at centricular dot net>
6275
6276         * docs/libs/gstreamer-libs-sections.txt:
6277         * libs/gst/check/gstcheck.h:
6278           API: add fail_unless_equals_float() and assert_equals_float().
6279           Add documentation for some of the macros.
6280
6281         * tests/check/libs/controller.c: (GST_START_TEST):
6282           Use newly-added asserts.
6283
6284 2007-06-14  Stefan Kost  <ensonic@users.sf.net>
6285
6286         * gst/gstpad.c: (gst_pad_alloc_buffer_full), (gst_pad_push):
6287           Show the caps change in the log to help spotting the case of not
6288           exactly matching caps.
6289
6290 2007-06-14  Tim-Philipp Müller  <tim at centricular dot net>
6291
6292         * docs/pwg/building-boiler.xml:
6293           Fix typos, spotted by Thijs Vermeir (#447190).
6294
6295 2007-06-13  Jan Schmidt  <thaytan@mad.scientist.com>
6296
6297         * docs/plugins/tmpl/.cvsignore:
6298         Ignore file to keep the buildbots happy
6299
6300 2007-06-13  Jan Schmidt  <thaytan@mad.scientist.com>
6301
6302         * docs/plugins/Makefile.am:
6303         * docs/plugins/gstreamer-plugins-docs.sgml:
6304         * docs/plugins/gstreamer-plugins-sections.txt:
6305         Pull fdsink into the docs too.
6306
6307 2007-06-11  Sebastian Dröge  <slomo@circular-chaos.org>
6308
6309         * libs/gst/controller/gstinterpolation.c:
6310         Actually use the new functions with min/max checks for the trigger and
6311         none interpolation modes for get() and get_value_array() instead of
6312         just the latter.
6313
6314 2007-06-10  Sebastian Dröge  <slomo@circular-chaos.org>
6315
6316         * libs/gst/controller/gstcontroller.c:
6317         (gst_controlled_property_free):
6318         Unset the minimum and maximum GValues when freeing the corresponding
6319         GstControllerProperty struct.
6320
6321 2007-06-09  Sebastian Dröge  <slomo@circular-chaos.org>
6322
6323         * libs/gst/controller/gstcontroller.c:
6324         (gst_controlled_property_new):
6325         * libs/gst/controller/gstcontrollerprivate.h:
6326         * libs/gst/controller/gstinterpolation.c:
6327         (gst_controlled_property_find_control_point_node),
6328         (interpolate_none_get), (interpolate_none_get_enum_value_array),
6329         (interpolate_none_get_string_value_array),
6330         (interpolate_trigger_get),
6331         (interpolate_trigger_get_enum_value_array),
6332         (interpolate_trigger_get_string_value_array):
6333         Protect against values larger or smaller than the minimum or maximum
6334         allowed value for the property when using values that can be compared.
6335
6336         Optimize trigger interpolator a bit by taking the last requested value
6337         into account instead of always looping through the complete list.
6338
6339         Fix coding style a bit, everywhere else we use "return foo" instead
6340         of "return (foo)".
6341         
6342         * tests/check/libs/controller.c: (GST_START_TEST),
6343         (gst_controller_suite):
6344         Add unit test for the protection against too large or too small
6345         values.
6346
6347 2007-06-08  Sebastian Dröge  <slomo@circular-chaos.org>
6348
6349         * docs/random/slomo/controller.txt:
6350         Add some thoughts about the future of the controller.
6351
6352 2007-06-08  Wim Taymans  <wim@fluendo.com>
6353
6354         * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
6355         Don't overflow in retimestamping code.
6356
6357 2007-06-07  Sebastien Moutte  <sebastien@moutte.net>
6358
6359         * libs/gst/controller/gstinterpolation.c: (DEFINE_CUBIC_GET):
6360         Use gst_util_guint64_to_gdouble for conversions.
6361         * win32/common/libgstreamer.def:
6362         Add new exported functions.
6363
6364 2007-06-07  Tim-Philipp Müller  <tim at centricular dot net>
6365
6366         * gst/gstutils.c:
6367           Small docs addition.
6368
6369 2007-06-07  Stefan Kost  <ensonic@users.sf.net>
6370
6371         * README:
6372           Remove that test line again.
6373
6374 2007-06-07  Stefan Kost  <ensonic@users.sf.net>
6375
6376         * README:
6377           Test commit mail sending.
6378
6379 2007-06-07  Stefan Kost  <ensonic@users.sf.net>
6380
6381         * configure.ac:
6382           Fix typo and test commit mail sending.
6383
6384 2007-06-07  Stefan Kost  <ensonic@users.sf.net>
6385
6386         * tests/examples/controller/audio-example.c:
6387           Improve comment and test commit mail sending.
6388
6389 2007-06-07  Wim Taymans  <wim@fluendo.com>
6390
6391         * gst/gstbin.c: (find_message), (bin_replace_message), (is_eos),
6392         (gst_bin_remove_func), (gst_bin_element_set_state),
6393         (bin_handle_async_start), (bin_handle_async_done),
6394         (gst_bin_handle_message_func):
6395         Add helper function to find messages.
6396         Generate the async-done messages together with the state change
6397         messages.
6398         Small cleanups in handling toplevel bins.
6399
6400 2007-06-06  Tim-Philipp Müller  <tim at centricular dot net>
6401
6402         * libs/gst/base/gstdataqueue.c:
6403         * libs/gst/base/gstdataqueue.h:
6404         * plugins/elements/gstmultiqueue.c: (gst_single_queue_push_one),
6405         (gst_multi_queue_item_new), (gst_multi_queue_chain),
6406         (gst_multi_queue_sink_event):
6407         * tests/check/elements/multiqueue.c: (multiqueue_suite):
6408           Fix multiqueue leaking buffers and events when downstream or the
6409           queue are flushing. Make refcounting assumptions explicit and
6410           document them (shouldn't break existing code that uses it other than
6411           maybe leak miniobjects, but that already happens anyway). Add unit
6412           test for the most common flushing case. Fixes #423700.
6413           
6414 2007-06-06  Sebastian Dröge  <slomo@circular-chaos.org>
6415
6416         * libs/gst/controller/gstcontroller.c:
6417         Clarify docs: The get_all, get_value_array(s) functions
6418         don't modify the GObject properties.
6419
6420 2007-06-06  Sebastian Dröge  <slomo@circular-chaos.org>
6421
6422         * libs/gst/controller/gstcontroller.c:
6423         (gst_controlled_property_set_interpolation_mode),
6424         (gst_controlled_property_prepend_default),
6425         (gst_controlled_property_new), (gst_controller_set_unlocked),
6426         (gst_controller_set), (gst_controller_set_from_list),
6427         (gst_controller_unset), (gst_controller_unset_all):
6428         * libs/gst/controller/gstcontrollerprivate.h:
6429         * libs/gst/controller/gstinterpolation.c:
6430         Factor out the 'set' logic into gst_controller_set_unlocked for the
6431         gst_controller_set and gst_controller_set_from_list functions.
6432
6433         To make life of the interpolators easier always add a control point
6434         at timestamp zero with the default value.
6435
6436         In the linear interpolator make things more obvious by better variable
6437         naming (slope).
6438
6439         Implement cubic interpolation mode (by using a natural cubic spline)
6440         and map the quadratic interpolation mode to this too (as quadratic
6441         doesn't make much sense, see discussion on the list).
6442
6443         * tests/check/libs/controller.c: (GST_START_TEST),
6444         (gst_controller_suite):
6445         Add unit test for the cubic interpolation mode and check everywhere
6446         if the interpolation mode could be set as expected.
6447
6448 2007-06-06  Tim-Philipp Müller  <tim at centricular dot net>
6449
6450         * gst/gstparamspecs.c: (gst_param_spec_fraction_get_type):
6451           Don't use GLib-2.10 functions, we still depend on
6452           GLib-how-old-is-it-again-2.8.
6453
6454 2007-06-06  Tim-Philipp Müller  <tim at centricular dot net>
6455
6456         * docs/gst/gstreamer-sections.txt:
6457         * gst/Makefile.am:
6458         * gst/gst.c:
6459         * gst/gst.h:
6460         * gst/gstparamspecs.c: (_gst_param_fraction_init),
6461         (_gst_param_fraction_set_default), (_gst_param_fraction_validate),
6462         (_gst_param_fraction_values_cmp),
6463         (gst_param_spec_fraction_get_type), (gst_param_spec_fraction):
6464         * gst/gstparamspecs.h:
6465         * gst/gstvalue.c:
6466         * tests/check/Makefile.am:
6467         * tests/check/gst/.cvsignore:
6468         * tests/check/gst/gstparamspecs.c: (gst_dummy_obj_base_init),
6469         (gst_dummy_obj_class_init), (gst_dummy_obj_init),
6470         (gst_dummy_obj_set_property), (gst_dummy_obj_get_property),
6471         (GST_START_TEST), (gst_param_spec_suite):
6472           API: add GstParamSpecFraction, so elements can have fraction
6473           properties without lots of painful string parsing (#444648).
6474
6475 2007-06-05  Wim Taymans  <wim@fluendo.com>
6476
6477         * gst/gstobject.c: (gst_object_class_init):
6478         Fix signal signature.
6479
6480         * gst/gstsegment.c:
6481         Add small clarification in the api docs.
6482
6483         * plugins/elements/gstfilesrc.c: (gst_file_src_set_location):
6484         States are protected with object lock.
6485
6486 2007-06-05  Jan Schmidt  <thaytan@mad.scientist.com>
6487
6488         * AUTHORS:
6489         I should probably be listed as an author by now.
6490
6491         * docs/random/release:
6492         Update the release doc
6493
6494 2007-06-05  Tim-Philipp Müller  <tim at centricular dot net>
6495
6496         * gst/gstvalue.c:
6497           Make docs for gst_value_compare() mention return enums that
6498           actually exist.
6499
6500 2007-06-05  Jan Schmidt  <thaytan@mad.scientist.com>
6501
6502         * configure.ac:
6503           Back to CVS
6504
6505 === release 0.10.13 ===
6506
6507 2007-06-05  Jan Schmidt <thaytan@mad.scientist.com>
6508
6509         * configure.ac:
6510           releasing 0.10.13, "With or without you"
6511
6512 2007-05-25  Wim Taymans  <wim@fluendo.com>
6513
6514         * gst/gstbin.c: (bin_handle_async_done):
6515         Make sure that the child bin stops after completing the async state
6516         change so that the parent can continue the state change to PLAYING.
6517         Fixes #441159.
6518
6519 2007-05-25  Wim Taymans  <wim@fluendo.com>
6520
6521         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
6522         (unref_data), (gst_collect_pads_remove_pad),
6523         (gst_collect_pads_check_pads):
6524         Use additional refcounting to avoid crashes when dynamically adding and
6525         removing pads. Fixes #420206.
6526
6527 2007-05-24  Wim Taymans  <wim@fluendo.com>
6528
6529         * tools/gst-launch.c: (event_loop):
6530         When buffering goes from a two digit to a single digit number, make sure
6531         to remove the old second digit by writing a blank over it.
6532
6533 2007-05-24  Tim-Philipp Müller  <tim at centricular dot net>
6534
6535         * libs/gst/base/gstdataqueue.c:
6536           Eliminate tabs and trailing comma in enum list; fix some typos.
6537
6538 2007-05-24  Wim Taymans  <wim@fluendo.com>
6539
6540         * tests/check/gst/gstbin.c: (GST_START_TEST):
6541         Allow refcount of 3 and 4 because some state thread might still be busy
6542         with it.
6543
6544 2007-05-24  Tim-Philipp Müller  <tim at centricular dot net>
6545
6546         * plugins/elements/Makefile.am:
6547         * plugins/elements/gstmultiqueue.h:
6548         * plugins/elements/gstqueue.h:
6549           These are not installed headers, no need for padding.
6550
6551 2007-05-24  Wim Taymans  <wim@fluendo.com>
6552
6553         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_get_state_func),
6554         (gst_bin_continue_func):
6555         Enable latency for next release.
6556         Restore STATE_LOCK around recalc_state that was left out during the
6557         rewrite and could result in racy behaviour when _get_state and
6558         recalc_state are run concurrently. See #440463.
6559
6560 2007-05-23  Wim Taymans  <wim@fluendo.com>
6561
6562         * tests/check/gst/gstsystemclock.c: (store_callback),
6563         (GST_START_TEST):
6564         Improve test_async_order to also work when both timers are already
6565         expired when we get scheduled to check it.
6566
6567 2007-05-22  Tim-Philipp Müller  <tim at centricular dot net>
6568
6569         * gst/gstbin.c: (gst_bin_init), (gst_bin_dispose),
6570         (gst_bin_set_property), (gst_bin_get_property),
6571         (gst_bin_remove_func), (gst_bin_handle_message_func):
6572         * gst/gstbin.h:
6573           'private' is a c++ keyword, let's not use that in header files,
6574           otherwise c++ compilers will throw a tantrum.
6575
6576 2007-05-22  Tim-Philipp Müller  <tim at centricular dot net>
6577
6578         * plugins/elements/gstelements.c:
6579         * plugins/elements/gstfilesink.c: (gst_file_sink_do_seek),
6580         (gst_file_sink_get_current_offset):
6581         * plugins/indexers/gstindexers.c: (plugin_init):
6582           Use #ifdef for HAVE_XYZ for consistency.
6583
6584         * tests/check/Makefile.am:
6585         * tests/check/elements/.cvsignore:
6586         * tests/check/elements/filesink.c: (setup_filesink),
6587         (cleanup_filesink), (GST_START_TEST), (filesink_suite):
6588           Add some unit tests for filesink.
6589
6590 2007-05-22  Tim-Philipp Müller  <tim at centricular dot net>
6591
6592         Patch by: Mark Nauwelaerts <manauw at skynet be>
6593
6594         * plugins/elements/gstfilesink.c: (gst_file_sink_open_file),
6595         (gst_file_sink_query), (gst_file_sink_do_seek),
6596         (gst_file_sink_get_current_offset), (gst_file_sink_render):
6597         * plugins/elements/gstfilesink.h:
6598           Fix position reporting; rename data_written member to current_pos to
6599           reflect its real meaning (fixes #412648).
6600
6601 2007-05-22  Edward Hervey  <edward@fluendo.com>
6602
6603         * docs/gst/gstreamer-sections.txt:
6604         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
6605         (gst_bin_dispose), (gst_bin_set_property), (gst_bin_get_property),
6606         (gst_bin_remove_func), (gst_bin_handle_message_func):
6607         * gst/gstbin.h:
6608         Add a property for bins that handle the state change of their childs.
6609         Fixes #435880
6610
6611 2007-05-22  Sebastian Dröge  <slomo@circular-chaos.org>
6612
6613         * libs/gst/controller/gstinterpolation.c:
6614         Use an array of the correct type when using _get_value_array with
6615         linear interpolation.
6616
6617 2007-05-22  Stefan Kost  <ensonic@users.sf.net>
6618
6619         * gst/gstelement.c (gst_element_requires_clock,
6620           gst_element_provides_clock, gst_element_request_pad,
6621           gst_element_class_set_details, gst_element_class_set_details_simple,
6622           gst_element_default_send_event, gst_element_abort_state,
6623           gst_element_continue_state, gst_element_set_state,
6624           gst_element_set_state_func, iterator_activate_fold_with_resync):
6625         * gst/gstpad.c (gst_pad_activate_pull, gst_pad_set_getcaps_function,
6626           gst_pad_fixate_caps, gst_pad_configure_sink, gst_pad_configure_src,
6627           gst_pad_query, gst_pad_save_thyself, handle_pad_block, gst_pad_push,
6628           gst_pad_get_range, gst_pad_pull_range):
6629         * gst/gstpad.h (GST_PAD_LINK_SUCCESSFUL, GST_FLOW_CUSTOM_SUCCESS,
6630           GST_FLOW_NOT_SUPPORTED, GST_FLOW_IS_FATAL, GstPadActivateFunction,
6631           GstPadActivateModeFunction, GstPadChainFunction,
6632           GstPadGetCapsFunction, GstPadAcceptCapsFunction,
6633           GstPadFixateCapsFunction, GstPadTemplate):
6634         * gst/gstpipeline.c (gst_pipeline_change_state,
6635           gst_pipeline_set_new_stream_time, gst_pipeline_use_clock,
6636           gst_pipeline_set_clock, gst_pipeline_auto_clock,
6637           gst_pipeline_get_delay):
6638           Whitespace and docs fixes.
6639
6640 2007-05-21  Sebastian Dröge  <slomo@circular-chaos.org>
6641
6642         * libs/gst/controller/gstinterpolation.c:
6643         (interpolate_trigger_get_enum_value_array),
6644         (interpolate_trigger_get_string_value_array):
6645         Add support for retrieving value arrays when using the trigger
6646         interpolation mode. 
6647
6648 2007-05-21  Sebastian Dröge  <slomo@circular-chaos.org>
6649
6650         * libs/gst/controller/gstcontroller.c:
6651         (gst_controller_get_value_array):
6652         * libs/gst/controller/gstcontroller.h:
6653         Clarify the docs of gst_controller_get_value_array(): The array where
6654         the values should be written to must be allocated as there seems to be
6655         no way to get the size of a random GType. This doesn't change any
6656         behaviour. Also fix some typos all over the place and remove an unused,
6657         commented function that is not necessary as g_object_set() could be
6658         used instead.
6659         * tests/check/libs/controller.c: (GST_START_TEST),
6660         (gst_controller_suite):
6661         Add unit test for gst_controller_get_value_array().
6662
6663 2007-05-21  Jan Schmidt  <thaytan@mad.scientist.com>
6664
6665         * tests/check/gst/gstbuffer.c: (GST_START_TEST):
6666
6667         Disable part of the gst_buffer_try_new_and_alloc test, because
6668         it can happily succeed on 64-bit systems where there's more address
6669         space available.
6670
6671 2007-05-21  Sebastian Dröge  <slomo@circular-chaos.org>
6672
6673         * tests/check/gst/gstpad.c: (GST_START_TEST), (gst_pad_suite):
6674         Add unit test for the improved caps checking from bug #421543.
6675
6676 2007-05-21  Wim Taymans  <wim@fluendo.com>
6677
6678         * docs/design/part-synchronisation.txt:
6679         Small addition.
6680
6681         * gst/gstbin.c: (gst_bin_query):
6682         * plugins/elements/gstqueue.c: (apply_segment):
6683         Improve debugging.
6684
6685         * gst/gstmessage.h:
6686         Improve docs.
6687
6688 2007-05-21  Wim Taymans  <wim@fluendo.com>
6689
6690         * gst/gstpad.c: (gst_pad_get_caps_unlocked),
6691         (gst_pad_acceptcaps_default), (gst_pad_configure_sink),
6692         (gst_pad_configure_src):
6693         Added simple version of improved caps checking. It was previously
6694         assumed that a setcaps function would check the validity of the caps but
6695         people prefer us to check caps against the template automatically. 
6696         Fixes #421543.
6697
6698 2007-05-21  Wim Taymans  <wim@fluendo.com>
6699
6700         * libs/gst/base/gstbasetransform.h:
6701         Fix macro for locking/unlocking the transform lock.
6702
6703 2007-05-19  Tim-Philipp Müller  <tim at centricular dot net>
6704
6705         * docs/plugins/tmpl/.cvsignore:
6706           Ignore more.
6707
6708 2007-05-18  Edward Hervey  <edward@fluendo.com>
6709
6710         * plugins/elements/gstqueue.c: (gst_queue_loop):
6711         Hello, I am Mr Taymans' personal debugger. Today I will introduce a fix
6712         for the subtle art of warning a potentially blocking thread that it
6713         should check the source pad return value, and relay the information
6714         upstream.
6715
6716 2007-05-18  Edward Hervey  <edward@fluendo.com>
6717
6718         * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event):
6719         Release the queue lock !
6720
6721 2007-05-17  Sebastian Dröge  <slomo@circular-chaos.org>
6722
6723         * docs/libs/gstreamer-libs-sections.txt:
6724         Add the two new controller functions to the appropiate places.
6725
6726 2007-05-17  Sebastian Dröge  <slomo@circular-chaos.org>
6727
6728         reviewed by: Stefan Kost <ensonic@users.sf.net>
6729
6730         * libs/gst/controller/gstcontroller.c:
6731         (gst_controller_suggest_next_sync), (gst_controller_sync_values),
6732         (_gst_controller_get_property), (_gst_controller_set_property),
6733         (_gst_controller_init), (_gst_controller_class_init):
6734         * libs/gst/controller/gstcontroller.h:
6735         * libs/gst/controller/gsthelper.c: (gst_object_suggest_next_sync),
6736         (gst_object_get_control_rate), (gst_object_set_control_rate):
6737         API: gst_controller_suggest_next_sync(), gst_object_suggest_next_sync()
6738         Add API that provides sync suggestion timestamps for elements that
6739         call gst_object_sync_values() from which those elements can subdivide
6740         their processing loop to get the best results for the controlled
6741         properties. For now it just suggests last_sync + control_rate as
6742         new timestamp but this will be improved in the future.
6743
6744         While doing that change the control-rate property to a GstClockTime
6745         from guint and change it's meaning from samples to nanoseconds as
6746         the GstController doesn't know anything about sampling rate. Strictly
6747         speaking this breaks ABI but as the control-rate property didn't do
6748         anything in the past and as such couldn't be used this should be no
6749         problem.        
6750
6751 2007-05-17  Sebastian Dröge  <slomo@circular-chaos.org>
6752
6753         reviewed by: Stefan Kost <ensonic@users.sf.net>
6754
6755         * libs/gst/controller/gstcontroller.c: (gst_controller_unset),
6756         (gst_controller_unset_all):
6757         * libs/gst/controller/gstcontrollerprivate.h:
6758         * libs/gst/controller/gstinterpolation.c:
6759         (gst_controlled_property_find_control_point_node):
6760         Save last synced value from the list to continue searching from there
6761         in future syncs. This speeds everything up a bit.
6762         
6763 2007-05-17  Sebastian Dröge  <slomo@circular-chaos.org>
6764
6765         reviewed by: Stefan Kost <ensonic@users.sf.net>
6766
6767         * libs/gst/controller/gstcontroller.c: (gst_control_point_compare),
6768         (gst_control_point_find), (gst_controlled_property_new),
6769         (gst_control_point_free), (gst_controlled_property_free),
6770         (gst_controller_set), (gst_controller_set_from_list),
6771         (gst_controller_unset), (gst_controller_unset_all),
6772         (gst_controller_sync_values):
6773         * libs/gst/controller/gstcontroller.h:
6774         * libs/gst/controller/gstcontrollerprivate.h:
6775         * libs/gst/controller/gstinterpolation.c:
6776         (gst_controlled_property_find_control_point_node),
6777         (interpolate_none_get), (interpolate_trigger_get):
6778         Add a new private GstControlPoint struct which "inherits" from
6779         GstTimedValue to allow different interpolators to store internal
6780         values next to each control point. From the outside everything is
6781         still a GstControlPoint so we don't loose binary compatibility.
6782         Also fixup all the GValue handling to not leak GValues or list nodes.
6783         * tests/check/libs/controller.c: (GST_START_TEST):
6784         Free the list nodes and GValues in the controller_misc test.
6785
6786 2007-05-17  Edward Hervey  <edward@fluendo.com>
6787
6788         * gst/gstsegment.c:
6789         Small doc fix.
6790
6791 2007-05-16  Tim-Philipp Müller  <tim at centricular dot net>
6792
6793         * gst/gstplugin.c: (gst_plugin_load_file):
6794           If we fail to load a plugin because of unresolved symbols or missing
6795           libraries and spew a warning to stderr, we may just as well mention
6796           which plugin it was that failed to load.
6797
6798 2007-05-13  David Schleef  <ds@schleef.org>
6799
6800         * docs/Makefile.am: the gtk-doc makefile snippet correctly
6801           handles the case when ENABLE_GTK_DOC is false, and installs
6802           the prebuilt documentation.  So gtk-doc subdirs are 
6803           unconditionally enabled.  Fixes: #349099.
6804
6805 2007-05-13  David Schleef  <ds@schleef.org>
6806
6807         * gst/gstutils.h: Reword some documentation.
6808
6809 2007-05-12  David Schleef  <ds@schleef.org>
6810
6811         * gst/gstplugin.c: gst_plugin_register_func() doesn't actually
6812           do anything with the passed "module" parameter, so remove it.
6813           Allows removal of additional vestigal code.
6814
6815 2007-05-12  David Schleef  <ds@schleef.org>
6816
6817         * gst/gstplugin.c:
6818           Using sigaction should depend on HAVE_SIGACTION, not HAVE_WIN32.
6819           Switch to using g_stat() because it's more portable.
6820
6821 2007-05-12  David Schleef  <ds@schleef.org>
6822
6823         * gst/gst.c:
6824           Add GST_DISABLE_OPTION_PARSING, in order to disable option
6825           parsing for embedded systems.
6826         * gst/gstelementfactory.c:
6827           Allow gst_element_register() to be called with plugin==NULL.
6828           Did nobody notice that static elements were broken?
6829
6830 2007-05-12  Wim Taymans  <wim@fluendo.com>
6831
6832         * tools/gst-launch.c: (event_loop):
6833         Give more interesting info when buffering starts and stops.
6834         Fix case where buffering starts but we fail to update the buffering flag
6835         because the target state is not PLAYING.
6836
6837 2007-05-12  Wim Taymans  <wim@fluendo.com>
6838
6839         * plugins/elements/gstqueue.c: (gst_queue_init),
6840         (gst_queue_finalize), (update_time_level), (apply_segment),
6841         (apply_buffer), (gst_queue_locked_flush),
6842         (gst_queue_locked_enqueue), (gst_queue_locked_dequeue),
6843         (gst_queue_handle_sink_event), (gst_queue_chain),
6844         (gst_queue_push_one), (gst_queue_loop):
6845         * plugins/elements/gstqueue.h:
6846         Refactor an cleanup queue a bit.
6847         Do better time level calculations that also work when the srcpad is not
6848         yet running.
6849         Remove some unneeded debug lines.
6850
6851         * tests/check/elements/queue.c: (GST_START_TEST), (queue_suite):
6852         Added testcase for time level measurement.
6853         Try to make some stuff more racefree.
6854
6855 2007-05-11  Tim-Philipp Müller  <tim at centricular dot net>
6856
6857         * gst/gsturi.c: (gst_element_make_from_uri):
6858           Don't leak plugin feature.
6859
6860         * tests/check/Makefile.am:
6861         * tests/check/gst/.cvsignore:
6862         * tests/check/gst/gsturi.c: (GST_START_TEST), (gst_uri_suite):
6863           Add brain-dead unit test.
6864
6865 2007-05-11  Tim-Philipp Müller  <tim at centricular dot net>
6866
6867         Patch by: Jeroen Wouters <woutersj at gmail com>
6868
6869         * gst/gsturi.c: (gst_uri_get_protocol), (search_by_entry):
6870           Treat protocol strings in a case-insensitive way (#437563).
6871
6872 2007-05-11  Michael Smith <msmith@fluendo.com>
6873
6874         * gst/gstplugin.c: (gst_plugin_load_file):
6875         * gst/gstregistry.c: (gst_registry_scan_path_level):
6876           Don't print a g_warning for any failure to load a shared object.
6877           Instead, push this down into gstplugin.c, and warn _only_ if we
6878           failed to open the module (i.e. failure to link).
6879           Avoids warnings on normal, working, non-plugin .so files.
6880
6881 2007-05-11  Stefan Kost  <ensonic@users.sf.net>
6882
6883         * gst/gstplugin.c (gst_plugin_load_file):
6884         * gst/gstregistry.c (GST_CAT_DEFAULT,
6885           gst_registry_lookup_feature_locked, gst_registry_scan_path_level):
6886           Print a g_warning if there was an error when loading a plugins during
6887           registry scan. The shuld help beginners starting with gst-plugin
6888           template.
6889
6890 2007-05-10  Wim Taymans  <wim@fluendo.com>
6891
6892         * plugins/elements/gstqueue.c: (gst_queue_class_init),
6893         (update_time_level), (gst_queue_locked_flush),
6894         (gst_queue_handle_sink_event), (gst_queue_chain),
6895         (gst_queue_push_one), (gst_queue_loop):
6896         * plugins/elements/gstqueue.h:
6897         Be smarter when calculating the current amount of data in the queue by
6898         measuring the difference between start and end timestamps (in running
6899         time) inside the queue. Fixes #432876.
6900         API: GstQueue::pushing to notify elements that we are pushing data again
6901         since the running signal is rather broken for this purpose.
6902
6903 2007-05-10  Stefan Kost  <ensonic@users.sf.net>
6904
6905         * plugins/elements/gstqueue.c (_do_init, gst_queue_signals,
6906           gst_queue_base_init, gst_queue_init):
6907           use GST_BOILERPLATE
6908
6909 2007-05-09  Sebastien Moutte  <sebastien@moutte.net>
6910
6911         * win32/common/libgstreamer.def:
6912         Add new exported functions.
6913         * win32/vs6/grammar.dsp:
6914         Use grammar pre-generated files.
6915
6916 2007-05-09  Tim-Philipp Müller  <tim at centricular dot net>
6917
6918         Based on patch by: Peter Kjellerstedt  <pkj at axis com>
6919
6920         * gst/Makefile.am:
6921         * gst/gstparse.c: (gst_parse_launchv), (gst_parse_launch):
6922         * gst/gstparse.h:
6923         * gst/gstutils.c: (gst_parse_bin_from_description):
6924         * gst/gstutils.h:
6925           Maintain API and ABI when --disable-parse is used. Now that
6926           we have an appropriate error code, we can just return NULL and the
6927           appropriate error when gst_parse_launch() is used despite it having
6928           been disabled (#342564).
6929
6930         * tests/check/Makefile.am:
6931         * tests/check/pipelines/.cvsignore:
6932         * tests/check/pipelines/parse-disabled.c:
6933           Make sure these functions exist and return NULL plus a GError when
6934           --disable-parse is used.
6935
6936 2007-05-09  Tim-Philipp Müller  <tim at centricular dot net>
6937
6938         * tests/benchmarks/complexity.c: (main):
6939         * tests/benchmarks/mass-elements.c: (main):
6940           Set a good example and don't leak messages.
6941
6942 2007-05-06  Stefan Kost  <ensonic@users.sf.net>
6943
6944         * docs/gst/Makefile.am:
6945         * docs/libs/Makefile.am:
6946           Correct fixxrefs options.
6947
6948         * docs/plugins/Makefile.am:
6949         * docs/plugins/gstreamer-plugins-docs.sgml:
6950         * docs/plugins/gstreamer-plugins-sections.txt:
6951         * plugins/elements/Makefile.am:
6952         * plugins/elements/gstcapsfilter.c (gst_capsfilter_details):
6953         * plugins/elements/gstcapsfilter.h (__GST_CAPSFILTER_H__,
6954           GST_TYPE_CAPSFILTER, GST_CAPSFILTER, GST_CAPSFILTER_CLASS,
6955           GST_IS_CAPSFILTER, GST_IS_CAPSFILTER_CLASS, GstCapsFilter,
6956           GstCapsFilterClass, _GstCapsFilter, trans, filter_caps,
6957           _GstCapsFilterClass, trans_class):
6958         * plugins/elements/gstelements.c (name, rank, type, _elements):
6959         * plugins/elements/gstidentity.c
6960           (gst_identity_check_imperfect_timestamp,
6961           gst_identity_check_imperfect_offset):
6962           Document capsfilter and add doc-blurb to identity.
6963
6964 2007-05-04  Tim-Philipp Müller  <tim at centricular dot net>
6965
6966         * libs/gst/controller/gstcontroller.c:
6967         (gst_controlled_property_set_interpolation_mode):
6968         * libs/gst/controller/gstinterpolation.c:
6969           Don't crash if someone tries to set an interpolation mode that
6970           is invalid or that isn't supported yet. Fixes #422295.
6971
6972         * tests/check/libs/controller.c: (GST_START_TEST),
6973         (gst_controller_suite):
6974           Add a test case for the above.
6975
6976 2007-05-03  Edward Hervey  <edward@fluendo.com>
6977
6978         * libs/gst/base/gstbasetransform.c: (gst_base_transform_chain):
6979         Properly set the last_stop position on GstSegment. This will only happen
6980         if there is a buffer to push out.
6981
6982 2007-05-03  Wim Taymans  <wim@fluendo.com>
6983
6984         * libs/gst/base/gstbasetransform.c:
6985         (gst_base_transform_buffer_alloc):
6986         always_in_place does not mean that the sink and source caps are the
6987         same! Make sure we don't blindly proxy the buffer_alloc in this case.
6988
6989 2007-05-03  Wim Taymans  <wim@fluendo.com>
6990
6991         * docs/libs/gstreamer-libs-sections.txt:
6992         * libs/gst/base/gstbasesrc.c: (gst_base_src_query_latency),
6993         (gst_base_src_default_query), (gst_base_src_get_range):
6994         * libs/gst/base/gstbasesrc.h:
6995         API: gst_base_src_query_latency(). Added method so that subclasses can
6996         easily get the latency values of the base source class.
6997
6998 2007-05-02  Zaheer Abbas Merali  <<zaheerabbas at merali dot org>>
6999
7000         * tools/gst-inspect.c (print_implementation_info):
7001         Remove 0.8 cruft.
7002
7003 2007-05-02  Tim-Philipp Müller  <tim at centricular dot net>
7004
7005         * tools/Makefile.am:
7006         * tools/gst-launch.1.in:
7007           Don't create a customised man page based on the host architecture,
7008           describe the default registry path generically. That way the man
7009           page is the same for all architectures and packagers have one
7010           multilib issue less to deal with. Fixes #434926.
7011
7012 2007-05-02  Wim Taymans  <wim@fluendo.com>
7013
7014         * gst/gstpad.c:
7015         Fix documentation as spotted by rg on IRC. 
7016
7017 2007-04-29  Stefan Kost  <ensonic@users.sf.net>
7018
7019         * gst/gstutils.c:
7020           Improve docs for gst_element_{link,unlink}.
7021
7022 2007-04-28  Tim-Philipp Müller  <tim at centricular dot net>
7023
7024         * docs/design/part-events.txt:
7025         * docs/design/part-overview.txt:
7026         * gst/gstevent.c:
7027         * gst/gsturi.c:
7028         * gst/gsturi.h:
7029         * libs/gst/base/gstbasesink.c:
7030           Typo fixes; minor docs addition.
7031
7032 2007-04-27  Sebastian Dröge  <slomo@circular-chaos.org>
7033
7034         * docs/gst/gstreamer-sections.txt:
7035         * gst/gsturi.c: (get_element_factories_from_uri_protocol),
7036         (gst_uri_protocol_is_supported), (gst_element_make_from_uri):
7037         * gst/gsturi.h:
7038         API: Add gst_uri_protocol_is_supported(), which checks if a sink
7039         or src that supports a given URI protocol exists.
7040
7041 2007-04-27  Sebastian Dröge  <slomo@circular-chaos.org>
7042
7043         * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
7044         * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
7045         Set the location to NULL if "file://" is set as URI. Otherwise
7046         some random previous URI would still be set if "file://" is
7047         set on an already used filesink/filesrc.
7048
7049 2007-04-27  Sebastian Dröge  <slomo@circular-chaos.org>
7050
7051         * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
7052         * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
7053         Special case the "file://" URI as as this is used by some
7054         applications to test with gst_element_make_from_uri if there's
7055         an element that supports the URI protocol.
7056         Also move the g_path_is_absolute() check for the location part
7057         of the URI to also check this for "file://localhost/bla" URIs.
7058
7059 2007-04-26  Tim-Philipp Müller  <tim at centricular dot net>
7060
7061         * docs/gst/gstreamer-sections.txt:
7062         * gst/gstbuffer.c: (gst_buffer_try_new_and_alloc):
7063         * gst/gstbuffer.h:
7064         * tests/check/gst/gstbuffer.c: (GST_START_TEST),
7065         (gst_buffer_suite):
7066           API: add gst_buffer_try_new_and_alloc() plus unit test (#431940).
7067
7068 2007-04-26  Stefan Kost  <ensonic@users.sf.net>
7069
7070         * gst/gstregistrybinary.c: (gst_registry_binary_write_cache),
7071         (gst_registry_binary_load_pad_template),
7072         (gst_registry_binary_load_plugin),
7073         (gst_registry_binary_read_cache):
7074         * gst/gstregistrybinary.h:
7075           Implement no-mmap alternative for registry reading. Do code cleanups.
7076           Add more comments about avoiding strdups for all text data. Comments
7077           welcome.
7078
7079 2007-04-25  Stefan Kost  <ensonic@users.sf.net>
7080
7081         * gst/gstregistrybinary.h (GstBinaryPluginElement,
7082           GstBinaryPluginFeature, _GstBinaryElementFactory, plugin_feature,
7083           GstBinaryElementFactory, _GstBinaryTypeFindFactory, plugin_feature):
7084           Comment structs and reformat to fix the build (that stuff should go
7085           into a priv. header).
7086
7087 2007-04-25  Stefan Kost  <ensonic@users.sf.net>
7088
7089         * gst/gstregistrybinary.c: (gst_registry_binary_save_feature),
7090         (gst_registry_binary_load_feature):
7091         * gst/gstregistrybinary.h:
7092           Refactor so that we can implement multiple features. Add support for
7093           TypeFindFactory features.
7094
7095 2007-04-24  Stefan Kost  <ensonic@users.sf.net>
7096
7097         Patch by: Peter Kjellerstedt <Peter.Kjellerstedt@axis.com>
7098
7099         * configure.ac:
7100           Fix AM_CONDITIONAL(GST_DISABLE_GST_DEBUG,...) and update comment.
7101
7102 2007-04-23  Stefan Kost  <ensonic@users.sf.net>
7103
7104         * gst/gstbin.c: (gst_bin_element_set_state),
7105         (iterator_activate_fold_with_resync), (gst_bin_continue_func),
7106         (bin_handle_async_done), (gst_bin_handle_message_func):
7107           Fix build with --gst-disable-gst-debug
7108
7109 2007-04-21  Tim-Philipp Müller  <tim at centricular dot net>
7110
7111         * libs/gst/base/gstbasetransform.c: (gst_base_transform_activate):
7112           Make sure streaming has finished before calling the ::stop() vfunc,
7113           since that vfunc might clear state which is being used in the
7114           streaming thread. This fixes a race that caused crashes in
7115           audioresample when shutting down a pipeline (#420106).
7116
7117 2007-04-20  Stefan Kost  <ensonic@users.sf.net>
7118
7119         * docs/gst/gstreamer-sections.txt:
7120           That was one byte missing.
7121
7122 2007-04-20  Stefan Kost  <ensonic@users.sf.net>
7123
7124         * configure.ac:
7125         * docs/gst/gstreamer-sections.txt:
7126         * gst/Makefile.am:
7127         * gst/gstconfig.h.in:
7128         * gst/gstobject.c: (gst_object_class_init),
7129         (gst_signal_object_class_init):
7130         * gst/gstobject.h:
7131           2nd attempt to have a xml-less build as a joined effort of #413123
7132           and #421480.
7133
7134 2007-04-20  Stefan Kost  <ensonic@users.sf.net>
7135
7136         * docs/design/draft-tagreading.txt:
7137           Added open issues/thoughts to draft.
7138
7139 2007-04-19  Sebastian Dröge  <slomo@circular-chaos.org>
7140
7141         * gst/parse/grammar.tab.pre.c:
7142         * gst/parse/grammar.tab.pre.h:
7143         * gst/parse/lex._gst_parse_yy.pre.c:
7144         Update the prebuild parser sources.
7145
7146 2007-04-19  Sebastian Dröge  <slomo@circular-chaos.org>
7147
7148         * gst/parse/Makefile.am:
7149         And now fix the building of the flex sources. Now everything should
7150         work as expected.
7151
7152 2007-04-19  Sebastian Dröge  <slomo@circular-chaos.org>
7153
7154         * gst/parse/Makefile.am:
7155         Now hopefully fix the build failures by setting proper rule
7156         dependencies and moving instead of copying.
7157
7158 2007-04-19  Stefan Kost  <ensonic@users.sf.net>
7159
7160         * tests/benchmarks/complexity.gnuplot:
7161         * tests/benchmarks/complexity.scm:
7162         * tests/benchmarks/mass-elements.gnuplot:
7163         * tests/benchmarks/mass-elements.scm:
7164           Total licensification.
7165
7166 2007-04-19  Stefan Kost  <ensonic@users.sf.net>
7167
7168         * gst/parse/Makefile.am:
7169           Fix the build by correcting the rule that gave wrong files to flex.
7170
7171 2007-04-19  Stefan Kost  <ensonic@users.sf.net>
7172
7173         * tests/benchmarks/complexity.c:
7174         * tests/benchmarks/mass-elements.c:
7175           Change licence to LGPL as granted by Benjamin and Andy.
7176
7177 2007-04-19  Sebastian Dröge  <slomo@circular-chaos.org>
7178
7179         * gst/parse/Makefile.am:
7180         Add correct grammar.tab.h dependency if compiling without new enough
7181         flex. Fixes #431150.
7182
7183 2007-04-18  Sebastian Dröge  <slomo@circular-chaos.org>
7184
7185         * gst/parse/Makefile.am:
7186         Fix typo and use outdated sources if the flex/bison sources are newer
7187         than the pregenerated ones but flex is too old. Print a warning in
7188         that case. This should fix the build on the build bot.
7189
7190 2007-04-18  Sebastian Dröge  <slomo@circular-chaos.org>
7191
7192         Patch by: Marc-Andre Lureau <marcandre dot lureau at gmail dot com>
7193         * gst/parse/Makefile.am:
7194         * gst/parse/grammar.y:
7195         * gst/parse/parse.l:
7196         Make the parser reentrant and recursively callable. This requires flex
7197         >= 2.5.31, for older versions pregenerated sources are used as we
7198         can't bump the build dependency. Finally fixes #349180.
7199
7200         * gst/gstparse.c: (gst_parse_launch):
7201         Drop the HAVE_MT_SAVE_FLEX #ifdefs as we always use a new enough flex
7202         now anyway.
7203
7204         * docs/gst/Makefile.am:
7205         * docs/gst/Makefile.am:
7206         * gst/parse/grammar.tab.pre.c: (__gst_parse_strdup),
7207         (__gst_parse_strfree), (__gst_parse_link_new),
7208         (__gst_parse_link_free), (__gst_parse_chain_new),
7209         (__gst_parse_chain_free), (SET_ERROR), (YYPRINTF),
7210         (gst_parse_element_set), (gst_parse_free_link),
7211         (gst_parse_found_pad), (gst_parse_perform_delayed_link),
7212         (gst_parse_perform_link), (yytnamerr), (yysyntax_error), (yyerror),
7213         (_gst_parse_launch):
7214         * gst/parse/grammar.tab.pre.h:
7215         * gst/parse/lex._gst_parse_yy.pre.c: (PRINT), (yy_get_next_buffer),
7216         (yy_get_previous_state), (yy_try_NUL_trans), (input),
7217         (_gst_parse_yyrestart), (_gst_parse_yy_switch_to_buffer),
7218         (_gst_parse_yy_load_buffer_state), (_gst_parse_yy_create_buffer),
7219         (_gst_parse_yy_delete_buffer), (_gst_parse_yy_init_buffer),
7220         (_gst_parse_yy_flush_buffer), (_gst_parse_yypush_buffer_state),
7221         (_gst_parse_yypop_buffer_state),
7222         (_gst_parse_yyensure_buffer_stack), (_gst_parse_yy_scan_buffer),
7223         (_gst_parse_yy_scan_string), (_gst_parse_yy_scan_bytes),
7224         (yy_fatal_error), (_gst_parse_yyget_extra),
7225         (_gst_parse_yyget_lineno), (_gst_parse_yyget_column),
7226         (_gst_parse_yyget_in), (_gst_parse_yyget_out),
7227         (_gst_parse_yyget_leng), (_gst_parse_yyget_text),
7228         (_gst_parse_yyset_extra), (_gst_parse_yyset_lineno),
7229         (_gst_parse_yyset_column), (_gst_parse_yyset_in),
7230         (_gst_parse_yyset_out), (_gst_parse_yyget_debug),
7231         (_gst_parse_yyset_debug), (_gst_parse_yyget_lval),
7232         (_gst_parse_yyset_lval), (_gst_parse_yylex_init),
7233         (yy_init_globals), (_gst_parse_yylex_destroy), (yy_flex_strncpy),
7234         (yy_flex_strlen), (_gst_parse_yyalloc), (_gst_parse_yyrealloc),
7235         (_gst_parse_yyfree):
7236         If the installed flex version is too old use pre-generated parser
7237         sources. These pre-generated parser sources are always updated when
7238         the actual flex/bison sources change but require everybody who wants
7239         to change something in the parser to have flex >= 2.5.31 installed.
7240
7241 2007-04-18  Stefan Kost  <ensonic@users.sf.net>
7242
7243         * common/m4/gst-gettext.m4:
7244         * gst/gst-i18n-lib.h:
7245           Make --disable-nls to work
7246
7247 2007-04-17  Wim Taymans  <wim@fluendo.com>
7248
7249         * gst/gstconfig.h.in:
7250         Revert previous change that broke the build.
7251
7252 2007-04-17  Stefan Kost  <ensonic@users.sf.net>
7253
7254         * configure.ac:
7255         * gst/Makefile.am:
7256         * gst/gstconfig.h.in:
7257           Drop libxml2 dependency when building with 
7258           --enable-binary-registry --disable-loadsave
7259
7260 2007-04-16  Tim-Philipp Müller  <tim at centricular dot net>
7261
7262         * gst/gstregistrybinary.c: (gst_registry_binary_write_cache),
7263         (gst_registry_binary_read_cache):
7264         * gst/gstregistrybinary.h:
7265           Remove unnecessary <sys/mman.h> include which broke the win32 build
7266           with MingW; move includes from header file to .c file, even if the
7267           header file isn't installed; use g_strerror() where UTF-8 strings
7268           are expected, such as in GST_DEBUG messages.
7269
7270 2007-04-13  Jan Schmidt  <thaytan@mad.scientist.com>
7271
7272         * docs/libs/gstreamer-libs-sections.txt:
7273         Remove bogus addition for API I didn't end up keeping.
7274
7275         * libs/gst/base/gstbasesrc.h:
7276         Mention Since: 0.10.13 in the documentation.
7277
7278         Add the API keyword to the previous ChangeLog entry.
7279
7280 2007-04-13  Jan Schmidt  <thaytan@mad.scientist.com>
7281
7282         * docs/libs/gstreamer-libs-sections.txt:
7283         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
7284         (gst_base_src_default_prepare_seek_segment),
7285         (gst_base_src_prepare_seek_segment), (gst_base_src_perform_seek):
7286         * libs/gst/base/gstbasesrc.h:
7287         Allow basesrc derived classes to execute seeks in other formats
7288         by providing a prepare_seek_segment vmethod. Sub-classes can choose
7289         to prepare the GstSegment in any format that their perform_seek method
7290         will be able to understand. The default implementation provides the
7291         old behaviour of attempting to convert the seek offsets to the 
7292         configured native format.
7293
7294         API: basesrc::prepare_seek_segment vmethod.
7295
7296 2007-04-13  Jan Schmidt  <thaytan@mad.scientist.com>
7297
7298         * gst/gstelement.c: (gst_element_get_state_func):
7299         Don't output the same debug statement twice.
7300
7301         * libs/gst/base/gstadapter.c: (gst_adapter_try_to_merge_up),
7302         (gst_adapter_peek), (gst_adapter_take_buffer):
7303         Optimise the case where we have buffers at the head of the queue that
7304         can be joined quickly (because they're contiguous sub-buffers) by
7305         merging them together rather than copying data out into new memory.
7306
7307         * gst/parse/grammar.y:
7308         * tests/check/pipelines/parse-launch.c:
7309         Fix a leak in an error path for parse_launch, and add a check 
7310         for it to the testsuite.
7311
7312 2007-04-13  Jan Schmidt  <thaytan@mad.scientist.com>
7313
7314         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_release_pad):
7315           Don't deadlock when releasing a pad - gst_pad_set_active may try
7316           and take the multiqueue lock too.
7317
7318 2007-04-12  Tim-Philipp Müller  <tim at centricular dot net>
7319
7320         * gst/gsterror.c: (_gst_core_errors_init):
7321         * gst/gsterror.h:
7322           API: add GST_CORE_ERROR_DISABLED (#392804).
7323
7324 2007-04-12  Thomas Vander Stichele  <thomas at apestaart dot org>
7325
7326         * docs/faq/gst-uninstalled:
7327           don't get empty paths on the PATH variables
7328         * gst/gstpad.c (gst_pad_is_active, gst_pad_set_blocked_async):
7329           Don't format for the uncommon terminal width of 84 characters.
7330
7331 2007-04-06  Wim Taymans  <wim@fluendo.com>
7332
7333         * gst/gstpipeline.c: (reset_stream_time),
7334         (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time):
7335         Only try to select a different pipeline clock when we went back to
7336         PAUSED and not when we merely got flushed.
7337
7338 2007-04-05  Michael Smith  <msmith@fluendo.com>
7339
7340         * tools/gst-launch.1.in:
7341           fractions are better supported in gstreamer than ractions, so
7342           suggest using those.
7343
7344 2007-04-05  Thomas Vander Stichele  <thomas at apestaart dot org>
7345
7346         Submitted by: Mogens Jaeger <mogens@jaeger.tf>
7347
7348         * po/LINGUAS:
7349         * po/da.po:
7350           Added Danish translation.
7351
7352 2007-04-05  Wim Taymans  <wim@fluendo.com>
7353
7354         * libs/gst/base/gstbasesink.c:
7355         (gst_base_sink_queue_object_unlocked), (gst_base_sink_event):
7356         Fix leak caused when refusing newsegment after EOS.
7357
7358         * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init),
7359         (gst_fake_sink_init), (gst_fake_sink_set_property),
7360         (gst_fake_sink_get_property), (gst_fake_sink_preroll),
7361         (gst_fake_sink_render), (gst_fake_sink_change_state):
7362         * plugins/elements/gstfakesink.h:
7363         Add num-buffers property to make the element generate EOS after a
7364         configurable amount of buffers.
7365         API: fakesink::num-buffers property.
7366
7367         * tests/check/elements/fakesink.c: (GST_START_TEST),
7368         (fakesink_suite):
7369         Fix GstBus leak in test.
7370         Test for fakesink num-buffers.
7371
7372 2007-04-05  Wim Taymans  <wim@fluendo.com>
7373
7374         * libs/gst/base/gstbasesink.c:
7375         (gst_base_sink_queue_object_unlocked), (gst_base_sink_event),
7376         (gst_base_sink_change_state):
7377         Don't accept anything after an EOS, return UNEXPECTED instead.
7378
7379         * tests/check/elements/fakesink.c: (GST_START_TEST),
7380         (fakesink_suite):
7381         Unit test for new EOS behaviour.
7382
7383 2007-04-05  Wim Taymans  <wim@fluendo.com>
7384
7385         * gst/gstelement.c: (gst_element_get_request_pad):
7386         Make padtemplates also work when they don't contain %s or %d.
7387
7388 2007-04-05  Wim Taymans  <wim@fluendo.com>
7389
7390         * docs/gst/gstreamer-sections.txt:
7391         * gst/gstclock.c: (gst_clock_adjust_unlocked),
7392         (gst_clock_unadjust_unlocked), (gst_clock_set_calibration):
7393         * gst/gstclock.h:
7394         Improve _adjust_unlocked() so that it overflows less.
7395         Add gst_clock_unadjust_unlocked to convert from external time to
7396         internal time based on calibration.
7397         Add some more debug.
7398         API: GstClock::gst_clock_unadjust_unlocked()
7399
7400 2007-04-03  Wim Taymans  <wim@fluendo.com>
7401
7402         Patch by: Tommi Myöhänen <ext-tommi dot myohanen at nokia dot com>
7403
7404         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_release_pad):
7405         Deactivate pads and free GstSingleQueue with gst_single_queue_free()
7406         when releasing sink pad. Fixes #425400.
7407
7408 2007-04-02  Stefan Kost  <ensonic@users.sf.net>
7409
7410         * docs/random/ensonic/dynlink.txt:
7411           More work on proposal for new core api.
7412
7413         * docs/libs/gstreamer-libs-sections.txt:
7414         * libs/gst/base/gstbasetransform.h:
7415           API: GST_BASE_TRANSFORM_LOCK/UNLOCK added
7416           
7417         * libs/gst/controller/gstcontroller.c:
7418         (on_object_controlled_property_changed),
7419         (gst_controller_sync_values),
7420         (gst_controller_set_interpolation_mode):
7421         * libs/gst/controller/gstcontroller.h:
7422           Less verbose logging add docs for unimplemented parts and correctly
7423           return when using unavailable parts.
7424
7425 2007-03-29  Jan Schmidt  <thaytan@mad.scientist.com>
7426
7427         * gst/gstclock.c: (gst_clock_set_master), (do_linear_regression):
7428         Move all the debug to the CLOCK category, and associate it with
7429         the clock object.
7430
7431 2007-03-29  Jan Schmidt  <thaytan@mad.scientist.com>
7432
7433         * libs/gst/base/gstadapter.c: (gst_adapter_take_buffer):
7434         Make take_buffer a bit quicker by removing redundant checks
7435         caused by calling gst_adapter_take.
7436
7437 2007-03-28  Tim-Philipp Müller  <tim at centricular dot net>
7438
7439         * plugins/elements/gstmultiqueue.c: (gst_single_queue_free):
7440           Don't leak GCond.
7441
7442         * tests/check/Makefile.am:
7443         * tests/check/elements/.cvsignore:
7444         * tests/check/elements/multiqueue.c: (setup_multiqueue),
7445         (GST_START_TEST), (multiqueue_suite):
7446           Add some dead simple unit tests for the 'multiqueue' element
7447           (some bits don't work yet and are disabled for now).
7448
7449 2007-03-28  Tim-Philipp Müller  <tim at centricular dot net>
7450
7451         * gst/gstelement.c: (gst_element_get_request_pad),
7452         (gst_element_class_get_request_pad_template):
7453           Make gst_element_get_request_pad() create request pads only for
7454           request pad templates and not for, say, sometimes pad templates.
7455
7456 2007-03-28  Stefan Kost  <ensonic@users.sf.net>
7457
7458         * docs/design/draft-klass.txt:
7459           Add example that needs more thinking.
7460         
7461         * docs/design/draft-missing-plugins.txt:
7462           More thoughts about wrapper plugins.
7463         
7464         * docs/random/ensonic/embedded.txt:
7465         * docs/random/ensonic/profiling.txt:
7466           More design work.
7467
7468 2007-03-25  Wim Taymans  <wim@fluendo.com>
7469
7470         * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range),
7471         (gst_base_src_loop):
7472         Only push the segment events in the PLAYING state for live sources.
7473
7474 2007-03-23  Jan Schmidt  <thaytan@mad.scientist.com>
7475
7476         * gst/gstpipeline.c: (gst_pipeline_change_state):
7477         Modify the clock distribution path in PAUSED->PLAYING so that we 
7478         never attempt to choose a new clock unless we're actually leaving
7479         the PAUSED state for the first time. This prevents choosing a
7480         different clock when the state_change gets called for a 2nd time due
7481         to some element doing an async state change.
7482
7483 2007-03-22  Sebastian Dröge  <slomo@circular-chaos.org>
7484
7485         * gst/gstpad.c: (gst_pad_set_caps), (gst_pad_configure_sink),
7486         (gst_pad_configure_src), (gst_pad_alloc_buffer_full),
7487         (gst_pad_chain_unchecked), (gst_pad_push):
7488         Revert last commit. This needs some more thoughts.
7489
7490 2007-03-22  Sebastian Dröge  <slomo@circular-chaos.org>
7491
7492         * gst/gstpad.c: (gst_pad_set_caps), (gst_pad_alloc_buffer_full),
7493         (gst_pad_chain_unchecked), (gst_pad_push):
7494         Check in set_caps if the caps are compatible with the pad and remove
7495         two functions that are redundant now. Fixes #421543.
7496
7497 2007-03-22  Wim Taymans  <wim@fluendo.com>
7498
7499         * tests/check/gst/gstsystemclock.c: (GST_START_TEST),
7500         (mixed_thread), (mixed_async_cb), (gst_systemclock_suite):
7501         Unref some more to make valgrind happy.
7502
7503 2007-03-22  Wim Taymans  <wim@fluendo.com>
7504
7505         * gst/gstsystemclock.c: (gst_system_clock_id_wait_jitter_unlocked),
7506         (gst_system_clock_id_wait_jitter),
7507         (gst_system_clock_id_wait_async), (gst_system_clock_id_unschedule):
7508         Fix anoying regression that survived a few releases. When adding an
7509         async entry while blocking on a sync entry, the sync entry will unblock
7510         but still be busy, so it should continue to wait instead of returning
7511         _BUSY to the app.
7512         Add some comments here and there.
7513
7514         * tests/check/gst/gstsystemclock.c: (mixed_thread),
7515         (mixed_async_cb), (GST_START_TEST), (gst_systemclock_suite):
7516         Add testcase for this.
7517
7518 2007-03-22  Wim Taymans  <wim@fluendo.com>
7519
7520         * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range):
7521         Handle errors from the clock sync better, only UNSCHEDULED indicates a
7522         WRONG_STATE and can silently pause the task. All other cases should
7523         error out.
7524
7525 2007-03-22  Wim Taymans  <wim@fluendo.com>
7526
7527         Patch by: Ville Syrjala <syrjala at sci dot fi>
7528
7529         * gst/gstpad.c: (gst_pad_alloc_buffer_full), (gst_pad_send_event):
7530         Fix possible deadlock if pad eventfunc is not specified.  Fixes #421177.
7531         Improve debugging.
7532
7533 2007-03-21  Michael Smith  <msmith@fluendo.com>
7534
7535         * docs/pwg/advanced-types.xml:
7536           Fix some errors in the typefinding docs pointed out on irc.
7537
7538 2007-03-21  Jan Schmidt  <thaytan@mad.scientist.com>
7539
7540         * libs/gst/base/gstbasesrc.c:
7541         Clarify FIXME comment in the face of having added unlock_stop()
7542
7543 2007-03-21  Wim Taymans  <wim@fluendo.com>
7544
7545         * gst/gstbin.c: (gst_bin_get_type), (gst_bin_element_set_state):
7546         Prepare for release where we warn against possible app breakage in the
7547         case of live pipelines along with an env var to enable/disable live
7548         preroll mode (GST_COMPAT=[no-]live-preroll).
7549
7550 2007-03-20  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
7551
7552         * plugins/elements/gstidentity.c (gst_identity_check_imperfect_offset):
7553         So we should use correct constants for checking for None offset.
7554
7555 2007-03-20  Wim Taymans  <wim@fluendo.com>
7556
7557         * docs/design/part-block.txt:
7558         Mention the fact that the newly switched element should be set to at
7559         least PAUSED.
7560
7561 2007-03-20  Wim Taymans  <wim@fluendo.com>
7562
7563         * gst/gst.c:
7564         Fix compilation with registry disabled as spotted by Saur.
7565
7566 2007-03-20  Wim Taymans  <wim@fluendo.com>
7567
7568         Patch by: Olivier Crete <tester at tester dot ca>
7569
7570         * gst/gstelement.c: (gst_element_sync_state_with_parent):
7571         Look at the pending state too when syncing the element state to the
7572         parent. Fixes #420133.
7573
7574 2007-03-19  Jan Schmidt  <thaytan@mad.scientist.com>
7575
7576         * libs/gst/base/gstbasesink.c: (gst_base_sink_set_flushing),
7577         (gst_base_sink_change_state):
7578         * libs/gst/base/gstbasesink.h:
7579         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
7580         (gst_base_src_default_event), (gst_base_src_unlock_stop),
7581         (gst_base_src_deactivate):
7582         * libs/gst/base/gstbasesrc.h:
7583         Add ::unlock_stop to basesrc and basesink. This allows an opportunity
7584         for sub-classes to correctly clear any state they set trying to
7585         unlock, such as clearing out unlock commands from a command fd.
7586         API: basesrc::unlock_stop
7587         API: basesink::unlock_stop
7588
7589         * plugins/elements/gstfdsink.c: (gst_fd_sink_class_init),
7590         (gst_fd_sink_render), (gst_fd_sink_unlock),
7591         (gst_fd_sink_unlock_stop):
7592         * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init),
7593         (gst_fd_src_init), (gst_fd_src_unlock), (gst_fd_src_unlock_stop),
7594         (gst_fd_src_create), (gst_fd_src_get_size), (gst_fd_src_do_seek):
7595
7596         Implement unlock_stop in fdsrc and fdsink.
7597         Implement seeking in fdsrc when a seekable fd is passed, as in
7598         gst-launch-0.10 fdsrc ! ... ! xvimagesink < /path/to/file
7599
7600 2007-03-19  Wim Taymans  <wim@fluendo.com>
7601
7602         Patch by: Evan Nemerson <evan at coeus dash group dot com>
7603
7604         * gst/gstelement.c: (gst_element_class_init):
7605         Fix pad-added and pad-removed signal signatures so that the pad type is
7606         stated as GST_TYPE_PAD instead of G_TYPE_OBJECT. Fixes #419851.
7607
7608 2007-03-19  Wim Taymans  <wim@fluendo.com>
7609
7610         * docs/gst/gstreamer-sections.txt:
7611         Add new element field and method.
7612
7613         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
7614         (bin_remove_messages), (gst_bin_add_func), (gst_bin_remove_func),
7615         (gst_bin_recalc_state), (gst_bin_get_state_func),
7616         (gst_bin_element_set_state), (gst_bin_change_state_func),
7617         (gst_bin_continue_func), (bin_bus_handler),
7618         (bin_push_state_continue), (bin_handle_async_start),
7619         (bin_handle_async_done), (gst_bin_handle_message_func):
7620         Make async state changes a bit smarter by using new ASYNC_START and
7621         ASYNC_DONE messages. This reduces the number of times we run the state
7622         recalculation thread.
7623         Don't change state of element with a pending ASYNC_START message.
7624         Deprecate STATE_DIRTY messages.
7625         
7626         * gst/gstelement.c: (gst_element_init), (gst_element_send_event),
7627         (gst_element_get_state_func), (gst_element_continue_state),
7628         (gst_element_lost_state), (gst_element_set_state_func),
7629         (gst_element_change_state):
7630         * gst/gstelement.h:
7631         Keep the state that was last set by the app in a new element field.
7632         Don't allow state changes when handling an element event.
7633         Post ASYNC_START and ASYNC_DONE messages.
7634         Change lost_state so that we go to PAUSED and wait for the parent to set
7635         us to PLAYING again (so latency calculation can be performed)
7636         Export gst_element_change_state() method so that subclasses can use it.
7637         API: gst_element_change_state()
7638         API: GST_STATE_TARGET
7639
7640         * gst/gstpipeline.c: (gst_pipeline_class_init),
7641         (reset_stream_time), (gst_pipeline_change_state),
7642         (gst_pipeline_handle_message), (gst_pipeline_set_new_stream_time):
7643         Using the new ASYNC_START message we can reset the base_time when
7644         needed. This can then be used to implement base_time redistribution in
7645         flushing seeks so that we can remove the explicit seek handling.
7646         Perform latency query and configuration when going to PLAYING.
7647
7648         * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
7649         (gst_base_sink_query), (gst_base_sink_change_state):
7650         Post new ASYNC_START/ASYNC_DONE messages.
7651
7652         * tests/check/generic/sinks.c: (GST_START_TEST):
7653         Fix test because the bin will not set the async element to PLAYING right
7654         away.
7655
7656         * tests/check/gst/gstbin.c: (pop_async_done), (GST_START_TEST):
7657         Make the message check a little stronger.
7658         Handle ASYNC messages.
7659
7660         * tests/check/pipelines/cleanup.c: (GST_START_TEST):
7661         * tests/check/pipelines/simple-launch-lines.c: (GST_START_TEST):
7662         Expect ASYNC_DONE messages.
7663
7664 2007-03-19  Wim Taymans  <wim@fluendo.com>
7665
7666         * docs/gst/gstreamer-sections.txt:
7667         * gst/gstmessage.c: (gst_message_new_async_start),
7668         (gst_message_new_async_done), (gst_message_parse_info),
7669         (gst_message_parse_async_start):
7670         * gst/gstmessage.h:
7671         Add ASYNC_START and ASYNC_DONE messages to prepare for latency
7672         support.
7673
7674 2007-03-15  Tim-Philipp Müller  <tim at centricular dot net>
7675
7676         * tools/gst-inspect.c:
7677         (print_plugin_automatic_install_info_codecs):
7678           Now that we don't check for the 'Codec' keyword any longer in the
7679           klass, we shouldn't spew a warning if the klass isn't a decoder or
7680           encoder (since it might be a Source/Network, for example).
7681
7682 2007-03-14  Tim-Philipp Müller  <tim at centricular dot net>
7683
7684         * tools/gst-inspect.c:
7685         (print_plugin_automatic_install_info_codecs):
7686           Don't require decoder/demuxer/depayloader elements or
7687           encoder/muxer/paylader elements to have 'Codec' as part of their
7688           factory class string when introspecting a plugin's capabilities.
7689           draft-klass.txt mentions that it might be removed in future, and
7690           flump3dec doesn't have it as part of its class string, so chances
7691           are others might also not have it.
7692
7693 2007-03-14  Thomas Vander Stichele  <thomas at apestaart dot org>
7694
7695         * po/af.po:
7696         * po/az.po:
7697         * po/bg.po:
7698         * po/ca.po:
7699         * po/cs.po:
7700         * po/de.po:
7701         * po/en_GB.po:
7702         * po/fr.po:
7703         * po/it.po:
7704         * po/nb.po:
7705         * po/nl.po:
7706         * po/ru.po:
7707         * po/sq.po:
7708         * po/sr.po:
7709         * po/sv.po:
7710         * po/tr.po:
7711         * po/uk.po:
7712         * po/vi.po:
7713         * po/zh_CN.po:
7714         * po/zh_TW.po:
7715           Update translations from translation project
7716
7717 2007-03-14  Stefan Kost  <ensonic@users.sf.net>
7718
7719         * gst/gstchildproxy.c: (gst_child_proxy_get_property),
7720         (gst_child_proxy_set_property):
7721           Invert precondition check to be alike the ones in the mimiced gobject
7722           api.
7723
7724 2007-03-13  Stefan Kost  <ensonic@users.sf.net>
7725
7726         * docs/design/draft-tagreading.txt:
7727         * docs/random/ensonic/audiobaseclasses.txt:
7728           Do some Architect work.
7729
7730         * gst/gstobject.c: (gst_object_set_name):
7731           Add a WARNING.
7732
7733         * gst/gstpad.c:
7734           Add docs that point from gst_pad_get_range to gst_pad_pull_range
7735
7736 2007-03-12  Jan Schmidt  <thaytan@mad.scientist.com>
7737
7738         * gst/gstsystemclock.c: (gst_system_clock_init),
7739         (gst_system_clock_start_async), (gst_system_clock_id_wait_async):
7740         Defer starting the async system clock thread until the first async
7741         wait is scheduled. Fixes #414986.
7742
7743 2007-03-12  Tim-Philipp Müller  <tim at centricular dot net>
7744
7745         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_finalize),
7746         (gst_single_queue_free):
7747           Fix small leak (free GstSingleQueue structure too, not only contents).
7748
7749 2007-03-10  Sebastien Moutte  <sebastien@moutte.net>
7750
7751         * gst/gstbin.c:(gst_bin_add):
7752         Use GST_STR_NULL to prevent NULL pointer to be passed to GST_CAT_DEBUG.
7753         * win32/common/libgstbase.def:
7754         * win32/common/libgstreamer.def:
7755         Add new exported functions.
7756
7757 2007-03-09  Wim Taymans  <wim@fluendo.com>
7758
7759         * docs/plugins/gstreamer-plugins-sections.txt:
7760         Fix GstTee docs.
7761
7762 2007-03-09  Wim Taymans  <wim@fluendo.com>
7763
7764         * docs/gst/gstreamer-sections.txt:
7765         * gst/gstbuffer.c: (gst_buffer_copy_metadata), (_gst_buffer_copy):
7766         * gst/gstbuffer.h:
7767         Add metadata copy functions. Fixes #393099.
7768         API: gst_buffer_copy_metadata()
7769
7770         * gst/gstutils.c: (gst_buffer_stamp):
7771         * libs/gst/base/gstbasetransform.c:
7772         (gst_base_transform_prepare_output_buffer):
7773         Use new metadata copy functions.
7774
7775 2007-03-09  Thomas Vander Stichele  <thomas at apestaart dot org>
7776
7777         * plugins/elements/gstidentity.c: (gst_identity_class_init),
7778         (gst_identity_init), (gst_identity_check_perfect),
7779         (gst_identity_check_imperfect_timestamp),
7780         (gst_identity_check_imperfect_offset), (gst_identity_transform_ip),
7781         (gst_identity_set_property), (gst_identity_get_property):
7782         * plugins/elements/gstidentity.h:
7783         Separate out check-imperfect-timestamp and check-imperfect-offset.
7784         Put back check-perfect as it was to keep compatibility.
7785
7786 2007-03-09  Jan Schmidt  <thaytan@mad.scientist.com>
7787
7788         * gst/gstelement.c: (gst_element_dispose):
7789         There's no need to warn if VOID_PENDING is not NONE here, as
7790         long as the state is NULL it's ok, and that's checked immediately
7791         above.
7792
7793 2007-03-08  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
7794
7795         * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
7796         Fix check for perfect stream to ignore buffers with -1 
7797         offsets/offset ends when checking data contiguity.
7798
7799 2007-03-08  Wim Taymans  <wim@fluendo.com>
7800
7801         * tools/gst-launch.c: (event_loop):
7802         Print INFO messages.
7803
7804 2007-03-08  Wim Taymans  <wim@fluendo.com>
7805
7806         * libs/gst/base/gstbasetransform.c:
7807         (gst_base_transform_sink_eventfunc),
7808         (gst_base_transform_handle_buffer), (gst_base_transform_chain),
7809         (gst_base_transform_activate):
7810         * libs/gst/base/gstbasetransform.h:
7811         Add support for dropping buffers with custom GstFlowReturn.
7812         Set DISCONT flags on outgoing buffers based on QoS, incomming DISCONT
7813         buffers or dropped buffers.
7814
7815         * docs/libs/gstreamer-libs-sections.txt:
7816         docs for new custom return code.
7817
7818         * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
7819         Use drop support in base class to implement drop-probability.
7820
7821 2007-03-07  Tim-Philipp Müller  <tim at centricular dot net>
7822
7823         * gst/gst.c: (load_plugin_func):
7824         * gst/gstplugin.c: (gst_plugin_load_by_name), (gst_plugin_load):
7825         * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
7826         * gst/gsttrace.c: (gst_trace_new), (gst_alloc_trace_set_flags_all):
7827           Remove newlines at end of debug log strings.
7828
7829 2007-03-07  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
7830
7831         * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
7832         Only post bus message at max, once per buffer received.
7833
7834 2007-03-07  Wim Taymans  <wim@fluendo.com>
7835
7836         * docs/design/Makefile.am:
7837         * docs/design/part-synchronisation.txt:
7838         Add doc about synchronisation
7839
7840         * docs/design/draft-latency.txt:
7841         * docs/design/part-TODO.txt:
7842         * docs/design/part-clocks.txt:
7843         * docs/design/part-events.txt:
7844         * docs/design/part-gstbus.txt:
7845         * docs/design/part-gstpipeline.txt:
7846         * docs/design/part-live-source.txt:
7847         * docs/design/part-messages.txt:
7848         * docs/design/part-overview.txt:
7849         * docs/design/part-streams.txt:
7850         * docs/design/part-trickmodes.txt:
7851         Documentation updates.
7852
7853 2007-03-07  Jan Schmidt  <thaytan@mad.scientist.com>
7854
7855         * gstreamer.doap:
7856         Update the doap file.
7857
7858 2007-03-07  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
7859
7860         * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
7861         Rename non-perfect to imperfect for Mike and for the sanctity of the
7862         language.
7863         Also make sure bus message gets emitted for data-incontiguities.
7864
7865 2007-03-07  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
7866
7867         * plugins/elements/gstidentity.c: (gst_identity_check_perfect),
7868         (gst_identity_start):
7869         * plugins/elements/gstidentity.h:
7870         Emit bus message if check-perfect is true and we encounter a
7871         non-perfect stream between 2 consecutive buffers.
7872         Fixes #415394.
7873
7874 2007-03-07  Jan Schmidt  <thaytan@mad.scientist.com>
7875
7876         * configure.ac:
7877         Back to CVS
7878
7879 === release 0.10.12 ===
7880
7881 2007-03-07  Jan Schmidt <thaytan@mad.scientist.com>
7882
7883         * configure.ac:
7884           releasing 0.10.12, "Inevitable Demise"
7885
7886 2007-03-01  Jan Schmidt  <thaytan@mad.scientist.com>
7887
7888         * configure.ac:
7889          Version 0.10.11.2 (0.10.12 pre-release)
7890          Bump libtool versioning.
7891
7892 2007-03-01  Stefan Kost  <ensonic@users.sf.net>
7893
7894         * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
7895           Log flow-names and not numbers.
7896
7897 2007-02-28  Thomas Vander Stichele  <thomas at apestaart dot org>
7898
7899         * configure.ac:
7900           Convert to new AG_GST style.
7901
7902 2007-02-28  Wim Taymans  <wim@fluendo.com>
7903
7904         * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency):
7905         Don't unref query twice.
7906
7907 2007-02-28  Wim Taymans  <wim@fluendo.com>
7908
7909         * gst/gstvalue.c: (gst_value_transform_object_string),
7910         (_gst_value_initialize):
7911         Implement GstObject -> string transform so we print object names
7912         when serializing GValues containing GstObjects.
7913
7914 2007-02-28  Wim Taymans  <wim@fluendo.com>
7915
7916         * docs/gst/gstreamer-sections.txt:
7917         Add new stuff to docs.
7918
7919 2007-02-28  Wim Taymans  <wim@fluendo.com>
7920
7921         * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency),
7922         (gst_base_sink_queue_object_unlocked), (gst_base_sink_send_event),
7923         (gst_base_sink_change_state):
7924         Improve latency query code.
7925         Don't leak latency events.
7926
7927         * tests/check/gst/gstbin.c: (GST_START_TEST):
7928         Improve debugging.
7929
7930 2007-02-28  Wim Taymans  <wim@fluendo.com>
7931
7932         * gst/gstelement.c: (gst_element_message_full),
7933         (gst_element_get_state_func):
7934         * gst/gstelement.h:
7935         Improve docs a little. Added Since: for new macro.
7936
7937         * gst/gstobject.c: (gst_object_sink):
7938         * gst/gstpipeline.c: (gst_pipeline_change_state),
7939         (gst_pipeline_set_new_stream_time):
7940         * gst/gstpipeline.h:
7941         Improve debugging and docs.
7942
7943         * gst/gstutils.c: (gst_element_state_change_return_get_name):
7944         Improve debugging.
7945
7946 2007-02-28  Wim Taymans  <wim@fluendo.com>
7947
7948         * gst/gstelement.c: (gst_element_message_full),
7949         (gst_element_set_locked_state), (gst_element_get_state_func),
7950         (gst_element_change_state):
7951         Handle INFO messages from the GST_ELEMENT_INFO macro as well.
7952         Documentation updates.
7953         Small code cleanups.
7954
7955         * gst/gstmessage.c: (gst_message_new_info),
7956         (gst_message_parse_info):
7957         * gst/gstmessage.h:
7958         API: gst_message_new_info()
7959         API: gst_message_parse_info()
7960         Add INFO message create and parse code.
7961
7962 2007-02-28  Wim Taymans  <wim@fluendo.com>
7963
7964         * gst/gstbin.c: (bin_query_min_max_init), (bin_query_latency_fold),
7965         (bin_query_latency_done):
7966         Also report the live parameter of a latency query.
7967
7968 2007-02-28  Thomas Vander Stichele  <thomas at apestaart dot org>
7969
7970         * tests/check/generic/states.c: (GST_START_TEST), (states_suite):
7971           Copy the current generic/states example from -base and adapt so
7972           we can use the exact same code everywhere.
7973           Check a STATES_IGNORE_ELEMENTS env var which can be used
7974           to ignore certain element factories for this test, which is
7975           what is being done in -base
7976         * tests/check/Makefile.am:
7977           Mention this environment variable.
7978
7979 2007-02-27  Wim Taymans  <wim@fluendo.com>
7980
7981         * docs/gst/gstreamer-sections.txt:
7982         * gst/gstbus.c: (gst_bus_init), (gst_bus_dispose), (gst_bus_post),
7983         (gst_bus_timed_pop), (gst_bus_pop):
7984         * gst/gstbus.h:
7985         API: gst_bus_timed_pop()
7986         Implement gst_bus_timed_pop() to do a blocking timed wait for a
7987         message to arrive on the bus.
7988
7989         * tests/check/gst/gstbus.c: (GST_START_TEST), (pop_thread),
7990         (gst_bus_suite):
7991         Two unit tests for new _timed_pop() function.
7992
7993 2007-02-23  Wim Taymans  <wim@fluendo.com>
7994
7995         * gst/gstpipeline.c: (gst_pipeline_change_state),
7996         (gst_pipeline_provide_clock_func), (gst_pipeline_set_delay):
7997         Don't ref a NULL clock in _provide_clock_func().
7998         Don't allow an INVALID delay.
7999         Don't try to calculate base_time with an invalid start_time.
8000         Also distribute and notify a NULL clock when it was selected.
8001
8002         * tools/gst-launch.c: (event_loop):
8003         Don't crash when a NULL clock was selected in the pipeline.
8004
8005 2007-02-23  Tim-Philipp Müller  <tim at centricular dot net>
8006
8007         * docs/design/Makefile.am:
8008         * docs/design/draft-missing-plugins.txt:
8009         * docs/random/draft-missing-plugins.txt:
8010           Some small updates: update plugin system identifier prefix
8011           ('gstreamer.net' to 'gstreamer'), mention our new install
8012           API in libgstbaseutils rather than libgimme-codec, add
8013           reference to the online docs.
8014
8015 2007-02-21  Thomas Vander Stichele  <thomas at apestaart dot org>
8016
8017         * win32/common/config.h:
8018           Pretty sure Bill never made a powerpc version.  Powerpc hackers,
8019           use moap cl ci to only check in what is mentioned in the ChangeLog.
8020
8021 2007-02-21  Thomas Vander Stichele  <thomas at apestaart dot org>
8022
8023         * docs/gst/gstreamer-sections.txt:
8024         * gst/gstelement.h:
8025           Fix up documentation to link to the correct GstGError section.
8026           Add GST_ELEMENT_INFO macro since someone else added a Info message.
8027
8028 2007-02-21  Thomas Vander Stichele  <thomas at apestaart dot org>
8029
8030         * tools/gst-launch.c: (event_loop):
8031           Make sure that we actually show the important message part of a
8032           warning message.
8033           No need to check if the gerror is not NULL to free; first of all
8034           g_free accepts NULL; and second the default error handler would
8035           segfault if gerror was NULL.
8036
8037 2007-02-21  Wim Taymans  <wim@fluendo.com>
8038
8039         * docs/gst/gstreamer-sections.txt:
8040         Removed docs as well.
8041
8042 2007-02-21  Wim Taymans  <wim@fluendo.com>
8043
8044         * gst/gstmessage.c: (gst_message_parse_duration):
8045         * gst/gstmessage.h:
8046         Remove new messages for release.
8047
8048 2007-02-20  Wim Taymans  <wim@fluendo.com>
8049
8050         * docs/design/part-gstghostpad.txt:
8051         * gst/gstghostpad.c: (gst_ghost_pad_dispose),
8052         (gst_ghost_pad_new_full):
8053         Make the ghostpad a parent of the internal pad again for better backward
8054         compatibility. Don't write code that relies on this however.
8055
8056         * gst/gstpad.c: (gst_pad_activate_pull), (gst_pad_activate_push),
8057         (gst_pad_link_check_hierarchy):
8058         Require that parents should be GstElements in the hierarchy check.
8059
8060 2007-02-20  Wim Taymans  <wim@fluendo.com>
8061
8062         * gst/gstbin.c: (bin_replace_message), (gst_bin_add_func),
8063         (gst_bin_change_state_func), (bin_query_min_max_init),
8064         (bin_query_latency_fold), (bin_query_latency_done),
8065         (gst_bin_query):
8066         Improve debug info.
8067         Implement latency query.
8068
8069 2007-02-20  Wim Taymans  <wim@fluendo.com>
8070
8071         * docs/design/part-gstghostpad.txt:
8072         * gst/gstghostpad.c: (gst_ghost_pad_class_init),
8073         (gst_ghost_pad_internal_do_activate_push),
8074         (gst_ghost_pad_internal_do_activate_pull),
8075         (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
8076         (gst_ghost_pad_do_link), (gst_ghost_pad_dispose),
8077         (gst_ghost_pad_new_full), (gst_ghost_pad_set_target):
8078         Do not set the internal pad as a parent anymore so we can avoid
8079         hierarchy linking errors when the ghostpad has no parent yet. This also
8080         fixes failed activation because of unlinked internal pads, which in
8081         turn fixes the impossible case where you have to activate a pad before
8082         you can add it to a running element.
8083         Also fix the docs.
8084
8085         * gst/gstpad.c: (pre_activate), (post_activate),
8086         (gst_pad_set_active), (gst_pad_activate_pull),
8087         (gst_pad_activate_push), (gst_pad_check_pull_range):
8088         Add some more debug info.
8089         Mark activation mode in pre_activate so that we don't try to activate in
8090         endless loops. Fixes #385084.
8091
8092 2007-02-19  Wim Taymans  <wim@fluendo.com>
8093
8094         * libs/gst/base/gstbasetransform.c: (gst_base_transform_init),
8095         (gst_base_transform_check_get_range):
8096         Implement a checkgetrange function instead of relying on the default
8097         core behaviour that assumes we can operate in pull mode if we have a
8098         getrange function. First step at fixing #385084.
8099
8100 2007-02-15  Stefan Kost  <ensonic@users.sf.net>
8101
8102         * gst/gstchildproxy.h:
8103         * libs/gst/base/gstbasesink.h:
8104         * libs/gst/base/gstbasesrc.h:
8105         * libs/gst/base/gstbasetransform.h:
8106         More docs coverage and some ChangeLog surgery (add missing names)
8107
8108 2007-02-15  Wim Taymans  <wim@fluendo.com>
8109
8110         * docs/design/part-TODO.txt:
8111         * docs/design/part-activation.txt:
8112         * docs/design/part-block.txt:
8113         * docs/design/part-buffering.txt:
8114         * docs/design/part-clocks.txt:
8115         * docs/design/part-element-source.txt:
8116         * docs/design/part-events.txt:
8117         * docs/design/part-gstbin.txt:
8118         * docs/design/part-gstbus.txt:
8119         * docs/design/part-gstpipeline.txt:
8120         * docs/design/part-live-source.txt:
8121         * docs/design/part-messages.txt:
8122         * docs/design/part-overview.txt:
8123         * docs/design/part-qos.txt:
8124         * docs/design/part-query.txt:
8125         * docs/design/part-states.txt:
8126         * docs/design/part-trickmodes.txt:
8127         Some doc updates. Start renaming from stream_time to running_time where
8128         it was used wrongly.
8129
8130 2007-02-15  Wim Taymans  <wim@fluendo.com>
8131
8132         * libs/gst/base/gstbasesrc.c: (gst_base_src_default_query):
8133         Answer LATENCY query.
8134
8135 2007-02-15  Wim Taymans  <wim@fluendo.com>
8136
8137         * tests/check/gst/gstevent.c: (event_probe), (test_event),
8138         (GST_START_TEST):
8139         Improve debugging.
8140
8141 2007-02-15  Wim Taymans  <wim@fluendo.com>
8142
8143         * gst/gstpad.c: (gst_pad_get_internal_links_default),
8144         (gst_pad_dispatcher):
8145         Improve debugging of default pad dispatcher and query functions.
8146
8147 2007-02-15  Wim Taymans  <wim@fluendo.com>
8148
8149         * docs/gst/gstreamer-sections.txt:
8150         Remove old unused method.
8151
8152 2007-02-13  Wim Taymans  <wim@fluendo.com>
8153
8154         * tests/check/gst/gstsegment.c: (GST_START_TEST):
8155         Fix check
8156
8157 2007-02-13  Wim Taymans  <wim@fluendo.com>
8158
8159         * docs/design/part-seeking.txt:
8160         Some small update.
8161
8162         * gst/gstsegment.c: (gst_segment_set_seek):
8163         Revert old bogus change that should make seeking work again.
8164
8165 2007-02-13  Stefan Kost  <ensonic@users.sf.net>
8166
8167         * docs/random/ensonic/dynlink.txt:
8168         * docs/random/ensonic/interfaces.txt:
8169         * docs/random/ensonic/receipies.txt:
8170           Possible dynamic reconnection api, plus some type fixes the other two
8171           docs.
8172
8173 2007-02-13  Sebastian Dröge  <slomo@circular-chaos.org>
8174
8175         * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
8176         * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
8177         Also check for an absolute path following file:// in the filesrc
8178         element. Remove redundant check and call g_path_is_absolute() on the
8179         unescaped location.
8180
8181 2007-02-13  Stefan Kost  <ensonic@users.sf.net>
8182
8183         * docs/design/draft-klass.txt:
8184           Add existing category analysis.
8185           
8186         * gst/gstcaps.c:
8187           Fix doc example, framerate is a fraction.
8188
8189 2007-02-12  Stefan Kost  <ensonic@users.sf.net>
8190
8191         * configure.ac:
8192         * docs/gst/Makefile.am:
8193         * docs/gst/gstreamer-sections.txt:
8194         * docs/libs/Makefile.am:
8195           Erm, forgot a bunch of --extra-dir.
8196
8197 2007-02-12  Stefan Kost  <ensonic@users.sf.net>
8198
8199         * configure.ac:
8200         * docs/gst/Makefile.am:
8201         * docs/libs/Makefile.am:
8202         * docs/plugins/Makefile.am:
8203           Add crossreferences to glib/gobject docs.
8204
8205 2007-02-12  Wim Taymans  <wim@fluendo.com>
8206
8207         * docs/design/draft-latency.txt:
8208         Small update.
8209
8210         * docs/libs/gstreamer-libs-sections.txt:
8211         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
8212         (gst_base_sink_get_latency), (gst_base_sink_query_latency),
8213         (gst_base_sink_wait_clock), (gst_base_sink_send_qos),
8214         (gst_base_sink_perform_qos), (gst_base_sink_queue_object_unlocked),
8215         (gst_base_sink_chain_unlocked), (gst_base_sink_send_event),
8216         (gst_base_sink_get_position), (gst_base_sink_query),
8217         (gst_base_sink_change_state):
8218         * libs/gst/base/gstbasesink.h:
8219         API: gst_base_sink_query_latency() to let subclasses query the upstream
8220         latency.
8221         API: gst_base_sink_get_latency() to let subclasses query the configured
8222         latency in the sink.
8223         Implement query and set latency.
8224         Update some docs.
8225         As spotted by Will Newton <will dot newton at gmail dot com>: Make sure we
8226         don't continue preroll when we are flushing. Fixes #405284.
8227
8228         * tests/check/pipelines/stress.c: (change_state_timeout),
8229         (quit_timeout), (GST_START_TEST), (stress_suite):
8230         Test for #405284.
8231
8232 2007-02-09  Tim-Philipp Müller  <tim at centricular dot net>
8233
8234         Patch by: René Stadler <mail at renestadler de>
8235
8236         * docs/gst/gstreamer-sections.txt:
8237         * gst/gsttaglist.c: (_gst_tag_initialize):
8238         * gst/gsttaglist.h:
8239           API: add GST_TAG_REFERENCE_LEVEL (#403597).
8240
8241 2007-02-11  Stefan Kost  <ensonic@users.sf.net>
8242
8243         * docs/libs/Makefile.am:
8244           Fix path to core docs.
8245
8246         * gst/gstbin.c: (gst_bin_get_by_interface),
8247         (gst_bin_iterate_all_by_interface):
8248           Refix docs by also renaming 'interface' to 'iface' in implementation.
8249
8250         * docs/gst/gstreamer-sections.txt:
8251         * gst/gstcaps.c:
8252         * gst/gstchildproxy.c: (gst_child_proxy_base_init):
8253         * gst/gstchildproxy.h:
8254         * gst/gstelementfactory.c:
8255         * gst/gstpadtemplate.h:
8256         * libs/gst/controller/gstcontroller.c:
8257         (gst_controlled_property_new):
8258           Document more.
8259
8260 2007-02-10  Sébastien Moutte  <sebastien@moutte.net>
8261
8262         * gst/gstbin.h:(gst_bin_get_by_interface),
8263         (gst_bin_iterate_all_by_interface):
8264         Replace interface parameter name by iface as interface is 
8265         a reserved keyword in Visual Studio for C++ projects so it removes
8266         a build error for application developpers using VS.
8267         * plugins/elements/gstfilesrc.c:(gst_file_src_uri_set_uri):
8268         Fix a bug on Windows in uri format check. Now the prefix checked
8269         is file:// and next we check if the path after file:// is absolute.
8270         * win32/common/libgstbase.def:
8271         * win32/common/libgstdataprotocol.def:
8272         * win32/common/libgstgstreamer.def:
8273         Add new exported functions.
8274
8275 2007-02-09  Andy Wingo  <wingo@pobox.com>
8276
8277         * tests/check/pipelines/simple-launch-lines.c
8278         (simple_launch_lines_suite, test_tee): Disable tee test until I
8279         have time to fix it :-(
8280
8281         * tests/check/Makefile.am (noinst_HEADERS): 
8282         * tests/check/libs/libsabi.c: 
8283         * tests/check/libs/struct_ppc32.h: Add ABI checks for PPC32.
8284         * tests/check/gst/gstabi.c: 
8285         * tests/check/gst/struct_ppc32.h: Add ABI checks for PPC32.
8286
8287         * tests/check/pipelines/simple-launch-lines.c (test_tee): Add
8288         tests for push and pull tee behavior.
8289
8290         * plugins/elements/gsttee.h: 
8291         * plugins/elements/gsttee.c: Describe has-sink-loop better, and
8292         mark as deprecated as well as unimplemented. It was a crack idea.
8293         Add support for tee operating in pull mode, off by default.
8294
8295         * gst/gstregistryxml.c (load_feature, load_plugin): Drop some
8296         normal-case logs down to LOG, raise errors to WARNING.
8297         (gst_registry_xml_read_cache): Don't log before calling a function
8298         that logs.
8299
8300         * gst/gstregistry.c (gst_registry_finalize): Less debug on program
8301         exit (registry finalize).
8302         (gst_registry_add_plugin, gst_registry_add_feature): No need for a
8303         DEBUG log when we emit signals that people don't even have the
8304         chance to connect to.
8305         (gst_registry_scan_path_level): Less logging in the normal case.
8306
8307 2007-02-05  Sebastian Dröge  <slomo@circular-chaos.org>
8308
8309         Patch by: Michal Benes <michal dot benes at itonis dot tv>
8310
8311         * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
8312         Correctly generate EOS for non-seekable files. We don't have a total
8313         length for them and would get an unexpected end of file if we only
8314         special-cased for regular files. (Fixes: #404569)
8315
8316 2007-02-05  Sebastian Dröge  <slomo@circular-chaos.org>
8317
8318         * tests/check/elements/filesrc.c: (GST_START_TEST),
8319         (filesrc_suite):
8320         Add unit test for the GstURIHandler interface in filesrc. This also
8321         tests the newly added file://localhost/foo/bar support.
8322
8323 2007-02-04  Tim-Philipp Müller  <tim at centricular dot net>
8324
8325         * gst/gstelementfactory.h:
8326           The klass string is not a hierarchy. Add reference to the design doc
8327           for more information and common types.
8328
8329 2007-02-02  Wim Taymans  <wim@fluendo.com>
8330
8331         * gst/gstquery.c: (gst_query_new_latency):
8332         Remove old structure field.
8333
8334 2007-02-02  Stefan Kost  <ensonic@users.sf.net>
8335
8336         * tools/gst-launch.1.in:
8337           Give example for network streaming (#351998)
8338
8339 2007-02-02  Wim Taymans  <wim@fluendo.com>
8340
8341         * docs/gst/gstreamer-sections.txt:
8342         Add docs for new methods.
8343
8344         * gst/gstevent.c: (gst_event_new_latency),
8345         (gst_event_parse_latency):
8346         * gst/gstevent.h:
8347         Add new LATENCY event to configure latency in a pipeline.
8348         API: gst_event_new_latency
8349         API: gst_event_parse_latency
8350
8351         * gst/gstmessage.c: (gst_message_new_buffering),
8352         (gst_message_new_lost_preroll), (gst_message_new_prerolled),
8353         (gst_message_new_latency), (gst_message_parse_buffering),
8354         (gst_message_parse_lost_preroll):
8355         * gst/gstmessage.h:
8356         Added messages used in draft-latency.
8357         API: gst_message_new_lost_preroll
8358         API: gst_message_parse_lost_preroll
8359         API: gst_message_new_prerolled
8360         API: gst_message_new_latency
8361
8362         * gst/gstquery.c: (gst_query_new_latency), (gst_query_set_latency),
8363         (gst_query_parse_latency):
8364         * gst/gstquery.h:
8365         Implemented new latency query as in design doc.
8366         API: gst_query_new_latency
8367         API: gst_query_set_latency
8368         API: gst_query_parse_latency
8369
8370 2007-02-02  Wim Taymans  <wim@fluendo.com>
8371
8372         * docs/design/draft-latency.txt:
8373         Slight redesign to allow for dynamic latency adjustments.
8374
8375         * docs/design/part-negotiation.txt:
8376         Fix some typos.
8377
8378 2007-02-02  Sebastian Dröge  <slomo@circular-chaos.org>
8379
8380         reviewed by: Wim Taymans <wim@fluendo.com>
8381
8382         * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
8383         * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
8384         Allow file://localhost/foo/bar URLs and correctly fail for every other
8385         hostname that one sets. This was gnomevfssrc is linked for those if
8386         installed as it can handle it (#403172)
8387
8388 2007-02-01  Sebastian Dröge  <slomo@circular-chaos.org>
8389
8390         reviewed by: Tim-Philipp Müller <tim at centricular dot net>
8391
8392         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
8393         (unref_data), (gst_collect_pads_add_pad_full):
8394         * libs/gst/base/gstcollectpads.h:
8395         Don't put the previously added destroy notify in the GstCollectData
8396         struct as all it's padding is already used and we don't want to break
8397         ABI. Instead put in the pad's GObject data for now. This should be
8398         cleaned up for 0.11 (#402393).
8399
8400 2007-02-01  Sebastian Dröge  <slomo@circular-chaos.org>
8401
8402         reviewed by: Wim Taymans <wim@fluendo.com>
8403
8404         * docs/libs/gstreamer-libs-sections.txt:
8405         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
8406         (unref_data), (gst_collect_pads_add_pad),
8407         (gst_collect_pads_add_pad_full):
8408         * libs/gst/base/gstcollectpads.h:
8409         API: Add function to specify a destroy notification for custom
8410         GstCollectData when adding new pads in GstCollectPads (#402393).
8411
8412 2007-02-01  Tim-Philipp Müller  <tim at centricular dot net>
8413
8414         * po/sv.po:
8415           Update Swedish translation (#378255).
8416
8417 2007-01-31  Stefan Kost  <ensonic@users.sf.net>
8418
8419         * docs/design/draft-klass.txt:
8420           Fix the previous change, this is a list of categories and not a hierarchy.
8421
8422 2007-01-31  Stefan Kost  <ensonic@users.sf.net>
8423
8424         * docs/design/draft-klass.txt:
8425           Add info about how to get a list of used classes.
8426
8427 2007-01-30  Tim-Philipp Müller  <tim at centricular dot net>
8428
8429         * plugins/elements/gsttypefindelement.c:
8430         (gst_type_find_element_chain_do_typefinding),
8431         (gst_type_find_element_change_state):
8432           Don't leak found caps in chain function (no idea why that never
8433           showed up as a leak anywhere).
8434
8435 2007-01-30  Stefan Kost  <ensonic@users.sf.net>
8436
8437         * gst/gstplugin.h:
8438           Fix and expand GstPluginDesc API docs.
8439
8440 2007-01-29  Stefan Kost  <ensonic@users.sf.net>
8441
8442         * gst/gstcaps.c:
8443         * gst/gstelementfactory.c:
8444         * gst/gstpadtemplate.h:
8445           api doc fixes
8446
8447         * libs/gst/controller/gstcontroller.c:
8448         (gst_controlled_property_new):
8449         * tests/examples/controller/audio-example.c:
8450           comment fixes
8451
8452 2007-01-29  Stefan Kost  <ensonic@users.sf.net>
8453
8454         * configure.ac:
8455           comment about refining the xml deps
8456
8457         * docs/manuals.mak:
8458           comments about moving away from jade for docs
8459         
8460         * gst/gst.c:
8461           recommit the ifdefs to use the binary registry
8462         
8463         * gst/gstbin.c: (gst_bin_change_state_func):
8464           this break is obsolete
8465
8466         * gst/gstelementfactory.h:
8467           better GST_ELEMENT_DETAILS docs, add comment about translation
8468
8469         * gst/gstinfo.h:
8470           remove eol slash
8471
8472         * gst/gstobject.c: (gst_signal_object_get_type):
8473           add G_UNLIKELY as usual
8474
8475         * gst/gstpad.c: (gst_pad_event_default):
8476           add fall trhu comment
8477
8478         * gst/gstregistrybinary.c: (gst_registry_binary_write),
8479         (gst_registry_binary_initialize_magic),
8480         (gst_registry_binary_save_string),
8481         (gst_registry_binary_save_pad_template),
8482         (gst_registry_binary_save_feature),
8483         (gst_registry_binary_save_plugin),
8484         (gst_registry_binary_write_cache),
8485         (gst_registry_binary_check_magic),
8486         (gst_registry_binary_load_pad_template),
8487         (gst_registry_binary_load_feature),
8488         (gst_registry_binary_load_plugin),
8489         (gst_registry_binary_read_cache):
8490           comment typo and formatting
8491
8492         * gst/gstutils.c: (gst_element_state_get_name),
8493         (gst_element_state_change_return_get_name):
8494           remove obsolete breaks
8495
8496         * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
8497           add FIXME 0.11 and remove cpp comment
8498
8499 2007-01-29  Edward Hervey  <edward@fluendo.com>
8500
8501         * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
8502         Fix print statement in an even more portable way.
8503
8504 2007-01-29  Tim-Philipp Müller  <tim at centricular dot net>
8505
8506         * docs/gst/gstreamer-sections.txt:
8507         * gst/gstutils.h:
8508           API: add GST_ROUND_DOWN_* macros (#401781).
8509
8510 2007-01-27  Tim-Philipp Müller  <tim at centricular dot net>
8511
8512         * docs/gst/gstreamer.types.in:
8513         * gst/gstregistry.c: (gst_registry_class_init):
8514           Document registry signals and make gtk-doc pick them up (#401381).
8515
8516 2007-01-26  Tim-Philipp Müller  <tim at centricular dot net>
8517
8518         * docs/pwg/building-testapp.xml:
8519           Add some audioconverts and audioresample to the pipeline, and some
8520           more comments and error handling.
8521
8522 2007-01-26  Tim-Philipp Müller  <tim at centricular dot net>
8523
8524         * docs/manual/manual.xml:
8525         * docs/pwg/pwg.xml:
8526           Fix typo (#400987).
8527
8528 2007-01-26  Wim Taymans  <wim@fluendo.com>
8529
8530         * gst/gstcaps.c: (gst_static_caps_get):
8531         Init caps flags too.
8532
8533 2007-01-25  Sebastian Dröge  <slomo@circular-chaos.org>
8534
8535         Patch by: Jindrich Makovicka <jindrich.makovick at itonis dot tv>
8536
8537         * plugins/elements/gstfilesrc.c: (gst_file_src_start):
8538         If not using mmap'ed files try to seek to the end instead of the
8539         start to determine whether we can seek at all. This fixes the case
8540         of 2GB+ files over NFS, where seeks in the first 2GB can succeed but
8541         seeks for everything afterwards fail. Fixes #400656
8542
8543 2007-01-25  Wim Taymans  <wim@fluendo.com>
8544
8545         * gst/gstcaps.c: (_gst_caps_free), (gst_static_caps_get):
8546         Add some refcount debugging.
8547         Make gst_static_caps_get threadsafe, which is needed when autoplugging
8548         in multiple streaming threads.
8549
8550 2007-01-25  Wim Taymans  <wim@fluendo.com>
8551
8552         Patch by: David Schleef <ds at schleef dot org>
8553
8554         * docs/libs/gstreamer-libs-sections.txt:
8555         * libs/gst/base/gstadapter.c: (gst_adapter_copy):
8556         * libs/gst/base/gstadapter.h:
8557         API: gst_adapter_copy() that can reduce the amount of memcpy when
8558         getting data from the adapter. Fixes #388201.
8559
8560 2007-01-25  Edward Hervey  <edward@fluendo.com>
8561
8562         * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
8563         In print statements, "%x" is for guint. Fixes build on macosx.
8564
8565 2007-01-24  Edward Hervey  <edward@fluendo.com>
8566
8567         * plugins/elements/gstmultiqueue.c:
8568         (gst_multi_queue_loop):
8569         Small fix.
8570         (single_queue_overrun_cb), (single_queue_underrun_cb),
8571         (single_queue_check_full), (gst_single_queue_new):
8572         Implement single queue growth system.
8573         This uses the extra-size properties, and will grow single queues by
8574         that much if one goes full whereas there are others empty. This is
8575         called extra-mode in the code.
8576         When a single queue's levels go back below the initial max-size
8577         limits, it is no longer in extra-mode. This is to ensure we don't
8578         consume too much memory.
8579         Fixes #399875
8580
8581 2007-01-23  Tim-Philipp Müller  <tim at centricular dot net>
8582
8583         * gst/gst.c: (gst_init_get_option_group):
8584           Make warning about late g_thread_init() calls a bit more explicit,
8585           so that it's more obvious to application developers what they need
8586           to do if a user files a bug against their application.
8587
8588 2007-01-22  Edward Hervey  <edward@fluendo.com>
8589
8590         * plugins/elements/gstmultiqueue.c:
8591         (gst_multi_queue_src_activate_push), (gst_single_queue_new):
8592         Remove previous hack of unsetting the flushing flag for the source pad
8593         instead of activating it. Instead, fix the source pad activate function
8594         so that it no longer depends on having a parent set or not.
8595
8596 2007-01-22  Tim-Philipp Müller  <tim at centricular dot net>
8597
8598         Patch by: Carlos Sanmartin Dominguez <csanmartin@igalia.com>
8599
8600         * docs/manual/basics-bus.xml:
8601           Fix example code, gst_element_unref() doesn't exist any longer.
8602
8603 2007-01-21  Tim-Philipp Müller  <tim at centricular dot net>
8604
8605         Patch by: Mark Nauwelaerts <manauw at skynet be>
8606
8607         * gst/gstpad.c:
8608           Fix two docs typoes (#399094).
8609
8610 2007-01-19  Edward Hervey  <edward@fluendo.com>
8611
8612         * docs/faq/gst-uninstalled:
8613         Add gst-plugins-base/gst/utils/ to LD_LIBRARY_PATH so that plugins
8614         depending on libgstbaseutils can work in uninstalled environment.
8615
8616 2007-01-18  Stefan Kost  <ensonic@users.sf.net>
8617
8618         * gst/gsttaglist.h:
8619         * gst/gsttagsetter.c:
8620         Add more docs regarding tag merge-modes and when to send tags. Fix 'since'
8621         statement for new tag.
8622
8623 2007-01-17  Edward Hervey  <edward@fluendo.com>
8624
8625         * plugins/elements/gstmultiqueue.c: (gst_single_queue_new):
8626         When dynamically creating single queues, activate sinkpad before adding
8627         it.
8628         We should be doing the same thing for the source pad, but we can't
8629         since it would call a method which needs the parent to be set in order
8630         to work propertly. Instead of activating the source pad, we just unset
8631         the flushing flag, which is the minimal requirement for adding a pad
8632         to an element in a state greater than READY.
8633
8634 2007-01-17  Edward Hervey  <edward@fluendo.com>
8635
8636         * docs/faq/gst-uninstalled:
8637         Add DYLD_LIBRARY_PATH declarations so we can also use this script on
8638         Mac OS X.
8639
8640 2007-01-17  Tim-Philipp Müller  <tim at centricular dot net>
8641
8642         * tests/check/gst/gstabi.c:
8643         * tests/check/gst/struct_hppa.h:
8644         * tests/check/libs/libsabi.c:
8645         * tests/check/libs/struct_hppa.h:
8646           Add ABI structs for HPPA (see #393796).
8647
8648 2007-01-16  Tim-Philipp Müller  <tim at centricular dot net>
8649
8650         * libs/gst/check/gstcheck.c: (gst_check_abi_list):
8651           Actually write ABI structs to the file specified in the GST_ABI
8652           environment variable, as the message we print claims we would.
8653
8654 2007-01-15  Stefan Kost  <ensonic@users.sf.net>
8655
8656         * tests/check/gst/gsttask.c:
8657           Fix header comment.
8658
8659 2007-01-15  Stefan Kost  <ensonic@users.sf.net>
8660
8661         * gst/gsttaglist.c: (_gst_tag_initialize):
8662           Change tag type from STRING to DOUBLE. Apply ChangeLog surgery for my
8663           previous two entries.
8664
8665 2007-01-15  Stefan Kost  <ensonic@users.sf.net>
8666
8667         * docs/gst/gstreamer-sections.txt:
8668         * gst/gsttaglist.c: (_gst_tag_initialize):
8669         * gst/gsttaglist.h:
8670           Add tag support for beat-per-minute.
8671
8672 2007-01-15  Stefan Kost  <ensonic@users.sf.net>
8673
8674         * gst/gstregistrybinary.c: (gst_registry_binary_write),
8675         (gst_registry_binary_initialize_magic),
8676         (gst_registry_binary_save_string), (gst_registry_binary_make_data),
8677         (gst_registry_binary_save_pad_template),
8678         (gst_registry_binary_save_feature),
8679         (gst_registry_binary_save_plugin),
8680         (gst_registry_binary_write_cache),
8681         (gst_registry_binary_check_magic),
8682         (gst_registry_binary_load_pad_template),
8683         (gst_registry_binary_load_feature),
8684         (gst_registry_binary_load_plugin),
8685         (gst_registry_binary_read_cache):
8686         * gst/gstregistrybinary.h:
8687           Use glib types, cleanup comments, impement interfaces and uri-types.
8688
8689 2007-01-13  Andy Wingo  <wingo@pobox.com>
8690
8691         * gst/gstpad.c (gst_pad_get_range, gst_pad_pull_range): Allow
8692         getrange() to return buffers with other caps, while we fix
8693         demuxers and typefind, or otherwise change part-negotiation.txt.
8694
8695 2007-01-12  Andy Wingo  <wingo@pobox.com>
8696
8697         * libs/gst/base/gstbasetransform.c (gst_base_transform_activate):
8698         Factor start/stop into this private function instead of partially
8699         in activate functions and partially in the change_state function.
8700         Fixes setup before the element has changed from READY->PAUSED, as
8701         is the case in pull-mode pipelines.
8702         (gst_base_transform_sink_activate_push)
8703         (gst_base_transform_src_activate_pull): Refactor to use
8704         gst_base_transform_activate().
8705         (gst_base_transform_change_state): Removed, not needed any more.
8706
8707         * libs/gst/base/gstbasesink.c (gst_base_sink_negotiate_pull):
8708         Truncate before fixating.
8709         
8710         * libs/gst/base/gstbasesink.c (gst_base_sink_negotiate_pull):
8711         Don't set_caps() if the result of fixating is ANY, as it's not
8712         supported, and not necessary in the case of a link with no
8713         template caps on either side. Fixes tests/check/libs/basesrc in
8714         some pull-mode tests.
8715
8716         * libs/gst/base/gstbasetransform.c (_GstBaseTransformPrivate):
8717         (gst_base_transform_init, gst_base_transform_sink_activate_push)
8718         (gst_base_transform_src_activate_pull): 
8719         Track the activation mode.
8720         (gst_base_transform_setcaps): In pull mode, when activating the
8721         src pad, after activating the sink pad, activate the sink pad's
8722         peer, as discussed in part-negotiation.txt.
8723
8724         * libs/gst/base/gstbasesrc.h: 
8725         * libs/gst/base/gstbasesrc.c (gst_base_src_fixate): Add fixate
8726         vmethod, as in basesink.
8727
8728         * libs/gst/base/gstbasesink.h: Reformat docs, add fixate vmethod.
8729
8730         * libs/gst/base/gstbasesink.c (gst_base_sink_pad_setcaps): In pull
8731         mode, first proxy the setcaps to the peer pad.
8732         (gst_base_sink_pad_fixate): Add a fixate function that calls the
8733         new fixate vmethod.
8734         (gst_base_sink_default_activate_pull): Rename from
8735         gst_base_sink_activate_pull.
8736         (gst_base_sink_negotiate_pull): New function, performs negotiation
8737         in pull mode before calling ::activate_pull().
8738         (gst_base_sink_pad_activate_pull): Actually call the activate_pull
8739         vmethod instead of the default implementation. I have no idea how
8740         this worked before. Negotiate before calling activate_pull.
8741
8742         * gst/gstpad.c (gst_pad_activate_pull): Refuse to activate unlinked
8743         sink pads in pull mode. In addition to being correct, fixes
8744         filesrc ! decodebin ! identity ! fakesink.
8745         (gst_pad_get_range, gst_pad_pull_range): Don't call
8746         gst_pad_set_caps() if the caps changes; instead error out with
8747         GST_FLOW_NOT_NEGOTIATED, as discussed in part-negotiation.txt.
8748
8749 2007-01-12  Andy Wingo  <wingo@pobox.com>
8750
8751         * docs/design/part-negotiation.txt: Update with more policy.
8752
8753 2007-01-12  Tim-Philipp Müller  <tim at centricular dot net>
8754
8755         * libs/gst/check/gstbufferstraw.h:
8756         * libs/gst/check/gstcheck.h:
8757           Add G_BEGIN_DECLS and G_END_DECLS. Move GST_CHECK_MAIN where it
8758           belongs.
8759
8760 2007-01-12  Tim-Philipp Müller  <tim at centricular dot net>
8761
8762         * tests/check/Makefile.am:
8763         * tests/check/gst/.cvsignore:
8764         * tests/check/gst/gsttagsetter.c: (gst_dummy_enc_add_interfaces),
8765         (gst_dummy_enc_base_init), (gst_dummy_enc_class_init),
8766         (gst_dummy_enc_init), (tag_list_foreach), (tag_setter_list_length),
8767         (GST_START_TEST), (gst_tag_setter_suite):
8768           Add minimal unit test for beforementioned GstTagSetter bug.
8769
8770 2007-01-12  Tim-Philipp Müller  <tim at centricular dot net>
8771
8772         Patch by: René Stadler <mail at renestadler dot de>
8773
8774         * gst/gsttagsetter.c: (gst_tag_setter_merge_tags):
8775           gst_tag_list_merge() returns a new list, so it's not the best idea
8776           to ingore its return value. Effectively meant that tags could only
8777           be merged on a GstTagSetter once using _merge_tags(). Fixes #395554.
8778           Also add function guard to require a non-NULL taglist as input (has
8779           always been so due to gst_tag_list_copy(), just making it explicit).
8780
8781 2007-01-11  Tim-Philipp Müller  <tim at centricular dot net>
8782
8783         * docs/random/draft-missing-plugins.txt:
8784           Some additions: mention new API that is supposed to be used at the
8785           various stages; short blob about new gst-inspect introspection
8786           option; mention potential future problem with plugins that have
8787           a dynamic list of elements (such as ladspa, pitfdll, libvisual).
8788
8789 2007-01-11  Tim-Philipp Müller  <tim at centricular dot net>
8790
8791         * tools/gst-inspect.c:
8792         (print_plugin_automatic_install_info_codecs),
8793         (print_plugin_automatic_install_info_protocols),
8794         (print_plugin_automatic_install_info), (main):
8795         Add --print-plugin-auto-install-info option to gst-inspect, so we can
8796         introspect plugin files and get machine-parsable output that corresponds
8797         to the last bit of the missing-plugin installer string (small gotcha:
8798         doesn't take into account ranks).
8799
8800 2007-01-11  Stefan Kost  <ensonic@users.sf.net>
8801
8802         * configure.ac:
8803         * docs/gst/gstreamer-sections.txt:
8804         * gst/Makefile.am:
8805         * gst/gstregistry.c: (gst_registry_lookup_feature_locked),
8806         (gst_registry_lookup_locked):
8807         * gst/gstregistry.h:
8808         * gst/gstregistrybinary.c: (gst_registry_binary_write),
8809         (gst_registry_binary_initialize_magic),
8810         (gst_registry_binary_save_string),
8811         (gst_registry_binary_save_pad_template),
8812         (gst_registry_binary_save_feature),
8813         (gst_registry_binary_save_plugin),
8814         (gst_registry_binary_write_cache),
8815         (gst_registry_binary_check_magic),
8816         (gst_registry_binary_load_pad_template),
8817         (gst_registry_binary_load_feature),
8818         (gst_registry_binary_load_plugin),
8819         (gst_registry_binary_read_cache):
8820         * gst/gstregistrybinary.h:
8821         * gst/gstregistryxml.c: (load_feature),
8822         (gst_registry_xml_read_cache):
8823           commit binary registry (disabled by default, see #359653)
8824
8825 2007-01-11  Tim-Philipp Müller  <tim at centricular dot net>
8826
8827         * tests/check/gst/gstpad.c: (test_get_allowed_caps):
8828           Fix 'make check' too.
8829
8830 2007-01-10  Andy Wingo  <wingo@pobox.com>
8831
8832         * docs/design/part-negotiation.txt: Fix a typo, add a couple
8833         notes.
8834         
8835         * docs/design/part-negotiation.txt: Update with, um, one way that
8836         pull-mode negotiation might work?
8837
8838         * gst/gstpad.h: 
8839         * gst/gstpad.c (gst_pad_get_allowed_caps): Remove the restriction
8840         that the pad must be a src pad; makes sense to call it the other
8841         way in pull mode, and the logic is symmetric anyway.
8842
8843 2007-01-10  Tim-Philipp Müller  <tim at centricular dot net>
8844
8845         * plugins/elements/gstfilesink.c:
8846           Include <stdio.h> for fseeko().
8847
8848 2007-01-10  Wim Taymans  <wim@fluendo.com>
8849
8850         * gst/gstevent.c:
8851         * gst/gstevent.h:
8852         Reserve LATENCY event.
8853
8854 2007-01-09  Wim Taymans  <wim@fluendo.com>
8855
8856         * docs/design/draft-latency.txt:
8857         Updates.
8858
8859 2007-01-09  Wim Taymans  <wim@fluendo.com>
8860
8861         * docs/design/draft-latency.txt:
8862         Updates.
8863
8864         * gst/gstelement.h:
8865         * gst/gststructure.c:
8866         * gst/gsttrace.c:
8867         Small typo fixes.
8868
8869 2007-01-09  Tim-Philipp Müller  <tim at centricular dot net>
8870
8871         * tests/check/.cvsignore:
8872           Ignore test-registry.xml as well.
8873
8874 2007-01-09  Wim Taymans  <wim@fluendo.com>
8875
8876         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad):
8877         unref data at the end when we are done with the pad.
8878
8879 2007-01-08  Tim-Philipp Müller  <tim at centricular dot net>
8880
8881         * docs/gst/gstreamer-sections.txt:
8882         * gst/gst.c: (load_plugin_func), (scan_and_update_registry),
8883         (init_post), (gst_deinit), (gst_update_registry):
8884         * gst/gst.h:
8885           API: add gst_update_registry() (#391296).
8886
8887         * tests/check/Makefile.am:
8888         * tests/check/gst/gstregistry.c:
8889         * tests/check/gst/.cvsignore:
8890           Simple unit test for the above.
8891
8892 2007-01-08  Tim-Philipp Müller  <tim at centricular dot net>
8893
8894         * gst/gstregistry.c: (gst_registry_scan_path_level):
8895           Plugin extension on HP-UX is .sl, add that to the list of approved
8896           plugin extensions (see #393796).
8897
8898         * tests/check/gst/gstpad.c: (GST_START_TEST):
8899           ulong => gulong. Fixes compilation with HP-UX compiler.
8900
8901         * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
8902           Fix compilation if valgrind headers are not available.
8903
8904 2007-01-07  Sébastien Moutte  <sebastien@moutte.net>
8905
8906         * win32/common/libgstreamer.def: 
8907           Add new exported function.
8908         * win32/vs6/libgstbase.dsp: 
8909           Add gstdataqueue.c to the build.
8910         * win32/vs6/libgstcoreelements.dsp:
8911           Add gstmultiqueue.c to the build.
8912         
8913 2007-01-06  Andy Wingo  <wingo@pobox.com>
8914
8915         * libs/gst/base/gstbasesink.h: New GstBaseSinkClass vmethod,
8916         activate_pull(), providing for a way to specialize the process of
8917         spawning a thread to pull on the sink pad. There is a default
8918         implementation.
8919
8920         * libs/gst/base/gstbasesink.c (gst_base_sink_pad_activate_pull)
8921         (gst_base_sink_pad_activate_push, gst_base_sink_pad_activate)
8922         (gst_base_sink_init): Renamed pad activation functions (inserting
8923         "_pad" in their names). Refactor to use the new activate_pull
8924         vmethod, as appropriate.
8925         (gst_base_sink_class_init, gst_base_sink_activate_pull): Set the
8926         default activate_pull function to start a task pulling from the
8927         sink pad, as before.
8928
8929         * gst/gstpad.c (gst_pad_get_range, gst_pad_pull_range): Set caps
8930         on the pads if necessary, as in push()/chain(). Update docs.
8931         Shouldn't affect existing pull() usage as it is currently only
8932         being used on buffers without caps.
8933
8934 2007-01-05  Tim-Philipp Müller  <tim at centricular dot net>
8935
8936         * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
8937         (init_pre):
8938           Call g_thread_init() first thing in gst_init() / gst_check_init().
8939           When initialisation is done via gst_init_get_option_group() and
8940           GOption parsing, issue a warning if the GLib thread system has not
8941           been initialised yet by the time gst_init_get_option_group() is
8942           called, as it's quite likely other GLib functions such as
8943           g_option_context_new() have been called already then, and
8944           g_thread_init() must be called before any other GLib function. The
8945           application in question must be fixed in that case, since memory
8946           corruption might happen otherwise.
8947           We issue the warning because even if the GLib folks decide to work
8948           around the problem on their end in future, this is still an issue
8949           with all GLib versions >= 2.10.0, so we should warn until we depend
8950           on a GLib version we know to be safe.
8951           Update documentation as well.
8952           Closes bug #391278.
8953
8954 2007-01-05  Tim-Philipp Müller  <tim at centricular dot net>
8955
8956         * tools/gst-inspect.c: (main):
8957         * tools/gst-launch.c: (main):
8958         * tools/gst-typefind.c: (main):
8959         * tools/gst-xmlinspect.c: (main):
8960           Call g_thread_init() really really early, before any other GLib
8961           function (see #342564 and recent discussion on gtk-devel-list).
8962
8963 2007-01-05  Tim-Philipp Müller  <tim at centricular dot net>
8964
8965         Patch by: Vincent Torri  <vtorri at univ-evry dot fr>
8966
8967         * gst/gst_private.h:
8968         * gst/gstconfig.h.in:
8969         * gst/gstinfo.h:
8970           On win32, all the __declspec stuff for symbol exporting is
8971           apparently only needed with MSVC, but doesn't work with MingW.
8972           Fixes compilation with MingW and #391909.
8973
8974 2007-01-05  Tim-Philipp Müller  <tim at centricular dot net>
8975
8976         * libs/gst/base/gstbasesrc.c: (gst_base_src_activate_push):
8977           Change some GST_ERROR_OBJECT that aren't really errors to
8978           GST_WARNING_OBJECT in order to reduce terminal spam.
8979
8980 2007-01-04  Stefan Kost  <ensonic@users.sf.net>
8981
8982         * tests/check/Makefile.am:
8983           disable test again, as there seem to be still race problems
8984
8985 2007-01-04  Stefan Kost  <ensonic@users.sf.net>
8986
8987         * tests/check/Makefile.am:
8988         * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
8989         (GST_START_TEST), (queue_suite):
8990           enable queue test again, add tests for the leaky behaviour
8991
8992 2007-01-02  Tim-Philipp Müller  <tim at centricular dot net>
8993
8994         * configure.ac:
8995         * tests/examples/Makefile.am:
8996           Compile adapter test/example only if the required headers are
8997           available (fixes #391915).
8998
8999 2007-01-01  David Schleef  <ds@schleef.org>
9000
9001         * gst/gstplugin.c:
9002           Restore the previous signal handler for SIGSEGV instead of
9003           setting to default, since we may have stolen it away from
9004           someone.  (i.e., Mono)
9005
9006 2006-12-26  Tim-Philipp Müller  <tim at centricular dot net>
9007
9008         * docs/random/draft-missing-plugins.txt:
9009           Some small additions and clarifications.
9010
9011 2006-12-26  Tim-Philipp Müller  <tim at centricular dot net>
9012
9013         * gst/gstregistryxml.c: (gst_registry_save_escaped):
9014           Make sure we don't pass non-UTF-8 strings to g_markup_escape(),
9015           since that can lead to random memory corruptions and crashes
9016           (may or may not be related to #383244, #386711, and #386711).
9017
9018 2006-12-21  Stefan Kost  <ensonic@users.sf.net>
9019
9020         * tests/check/.cvsignore:
9021         * tests/check/Makefile.am:
9022           sync .cvsignome and CLEANFILES
9023
9024 2006-12-21  Stefan Kost  <ensonic@users.sf.net>
9025
9026         * tests/check/Makefile.am:
9027           fix distcheck
9028
9029 2006-12-21  Stefan Kost  <ensonic@users.sf.net>
9030
9031         * docs/design/part-states.txt:
9032           two tiny additional comments
9033         
9034         * gst/gststructure.c:
9035           doc fixing
9036
9037         * tests/check/Makefile.am:
9038         * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
9039         (GST_START_TEST):
9040           disable test for now, unless it gets fixed
9041
9042 2006-12-21  Stefan Kost  <ensonic@users.sf.net>
9043
9044         * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
9045         (GST_START_TEST):
9046           fix race in underrun test
9047
9048 2006-12-21  Stefan Kost  <ensonic@users.sf.net>
9049
9050         * tests/check/elements/.cvsignore:
9051           ignore more
9052
9053         * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
9054         (GST_START_TEST):
9055           try to narrow test failure
9056
9057 2006-12-21  David Schleef  <ds@schleef.org>
9058
9059         * plugins/elements/gstfakesrc.c:
9060           Use g_random_int_range(), since it produces better random
9061           numbers in a range than almost-correct floating point code.
9062
9063 2006-12-21  Stefan Kost  <ensonic@users.sf.net>
9064
9065         * libs/gst/check/gstcheck.c: (gst_check_setup_src_pad),
9066         (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
9067         (gst_check_teardown_sink_pad):
9068           do not automatically (de)activate pads
9069
9070         * tests/check/Makefile.am:
9071         * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
9072         (setup_queue), (cleanup_queue), (GST_START_TEST), (queue_suite):
9073           add new, yet simple tests for queue
9074
9075         * tests/check/elements/fakesrc.c: (cleanup_fakesrc):
9076         * tests/check/elements/fdsrc.c: (cleanup_fdsrc):
9077         * tests/check/elements/filesrc.c: (cleanup_filesrc),
9078         (GST_START_TEST):
9079         * tests/check/elements/identity.c: (cleanup_identity):
9080           consistent pad (de)activation
9081
9082 2006-12-20  Tim-Philipp Müller  <tim at centricular dot net>
9083
9084         Patch by: Sebastian Dröge  <slomo ubuntu com>
9085
9086         * libs/gst/base/gstcollectpads.c:
9087           Fix two doc typos (#387866).
9088
9089 2006-12-19  Tim-Philipp Müller  <tim at centricular dot net>
9090
9091         * docs/manual/advanced-dparams.xml:
9092           Fix typo (g_object_control_properties() doesn't exist).
9093
9094 2006-12-19  Edward Hervey  <edward@fluendo.com>
9095
9096         * gst/gstsegment.c: (gst_segment_set_seek):
9097         Fine tune the cases where the segment start/stop values are really
9098         updated.
9099         * tests/check/gst/gstsegment.c: (GST_START_TEST):
9100         Add tests for the return values of gst_segment_set_seek().
9101
9102 2006-12-19  Tim-Philipp Müller  <tim at centricular dot net>
9103
9104         * gst/gst.c:
9105           Docs typo fix.
9106
9107         * plugins/elements/gstqueue.c: (gst_queue_class_init),
9108         (gst_queue_init):
9109           Fix incorrect documentation and flesh it out a bit more.
9110           Set default values for the max properties on the GParamSpec as well,
9111           so it shows up correctly in gst-inspect.
9112
9113 2006-12-18  Stefan Kost  <ensonic@users.sf.net>
9114
9115         * plugins/elements/gstqueue.c: (queue_leaky_get_type):
9116           Correct docs of queue, add more detail and crosslink it more.
9117
9118 2006-12-16  Tim-Philipp Müller  <tim at centricular dot net>
9119
9120         * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
9121           Print additional debug info when the stream isn't perfectly
9122           timestamped; don't try to use invalid durations.
9123
9124 2006-12-16  Tim-Philipp Müller  <tim at centricular dot net>
9125
9126         * docs/design/Makefile.am:
9127           Dist new design docs.
9128
9129 2006-12-16  Wim Taymans  <wim@fluendo.com>
9130
9131         Patch by: Sjoerd Simons <sjoerd at luon dot net>
9132
9133         * libs/gst/base/gstcollectpads.c: (ref_data), (unref_data),
9134         (gst_collect_pads_add_pad), (gst_collect_pads_remove_pad),
9135         (gst_collect_pads_stop), (gst_collect_pads_event),
9136         (gst_collect_pads_chain):
9137         * libs/gst/base/gstcollectpads.h:
9138         Add refcounting to the collectpads data so we can track when it's safe
9139         to free the data. Fixes #383382.
9140
9141 2006-12-15  Wim Taymans  <wim@fluendo.com>
9142
9143         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
9144         (gst_collect_pads_remove_pad):
9145         Automatically activate/deactivate pads when they are added to a
9146         started/stoped collectpads.
9147
9148 2006-12-15  Wim Taymans  <wim@fluendo.com>
9149
9150         * gst/gstelement.c: (gst_element_add_pad):
9151         * gst/gstghostpad.c: (gst_ghost_pad_new_full):
9152         * gst/gstpad.c: (gst_pad_init):
9153         Set pads to FLUSHING when they are created. Check, warn and fix when a
9154         demuxer adds an inactive pad to itself when running. Fixes #339326.
9155
9156 2006-12-15  Wim Taymans  <wim@fluendo.com>
9157
9158         * gst/gstelement.c: (gst_element_class_init),
9159         (gst_element_default_send_event), (gst_element_send_event),
9160         (gst_element_default_query), (gst_element_query):
9161         Expose default element send_event and query handling as vmethods that
9162         subclasses can chain up to.
9163
9164 2006-12-15  Wim Taymans  <wim@fluendo.com>
9165
9166         * gst/gstelement.c: (gst_element_set_state_func):
9167         Small documentation fixes.
9168
9169 2006-12-15  Wim Taymans  <wim@fluendo.com>
9170
9171         * docs/design/draft-latency.txt:
9172         Checked in draft for handling latency in pipelines.
9173
9174 2006-12-15  Thomas Vander Stichele  <thomas at apestaart dot org>
9175
9176         * Makefile.am:
9177         * gstreamer.doap:
9178         * gstreamer.spec.in:
9179           adding .doap file
9180
9181 2006-12-14  Tim-Philipp Müller  <tim at centricular dot net>
9182
9183         * gst/gst.c: (init_pre), (init_post):
9184           init_pre() and init_post() might be called via our GOptionGroup or
9185           from gst_init(), and we should skip both of them if we've already
9186           been initialised, otherwise we will init some things twice or add
9187           two default log functions.
9188
9189 2006-12-13  Edward Hervey  <edward@fluendo.com>
9190
9191         * docs/manual/basics-bus.xml:
9192         No, gst_main_loop does not exist. Its g_main_loop.
9193         Discovered by somebody who abused the copy-paste technique of coding :)
9194
9195 2006-12-13  Tim-Philipp Müller  <tim at centricular dot net>
9196
9197         * gst/gstghostpad.c:
9198           Log ghostpad debug stuff to the GST_PADS category as well rather
9199           than just to the default category.
9200
9201 2006-12-12  Tim-Philipp Müller  <tim at centricular dot net>
9202
9203         * configure.ac:
9204         * gst/gst.c: (init_pre):
9205           Add some basic system details such as OS and architecture
9206           to the debug output if possible, courtesy of uname().
9207
9208 2006-12-11  Tim-Philipp Müller  <tim at centricular dot net>
9209
9210         * docs/gst/running.xml:
9211           Document GST_REGISTRY_FORK and GST_DEBUG_NO_COLOR
9212           environment variables.
9213
9214 2006-12-09  Jan Schmidt  <thaytan@mad.scientist.com>
9215
9216         * tests/check/gst/gstbin.c: (GST_START_TEST):
9217         It is acceptable to have a refcount of 2 or 3 at this point in the
9218         test, because the pipeline might be just posting its state_change
9219         message. The next line then waits for that message to appear using
9220         bus_poll, so that should be fine too.
9221
9222 2006-12-09  Jan Schmidt  <thaytan@mad.scientist.com>
9223
9224         * gst/gst.c: (ensure_current_registry_forking):
9225         Ignore EINTR when reading from the child registry pipe.
9226         Explicitly ignore the return value from close, since it makes no
9227         difference.
9228
9229         * gst/gstminiobject.c: (gst_mini_object_ref),
9230         (gst_mini_object_unref):
9231         When debugging refcounts, check GST_IS_MINI_OBJECT and warn.
9232
9233         * gst/gstregistry.c: (_priv_gst_registry_remove_cache_plugins):
9234         When removing cached plugins, remove their features too, so they're
9235         not visible after they've disappeared.
9236
9237         * gst/gstutils.c: (prepare_link_maybe_ghosting):
9238         In the unlikely case that we are linking pads with no parents, don't
9239         crash trying to get the non-existent parent bin.
9240
9241         * gst/parse/grammar.y:
9242         Output debug in the PIPELINE category
9243
9244 2005-03-08  Wim Taymans  <wim@fluendo.com>
9245
9246         Patch by: René Stadler <mail at renestadler dot de>
9247
9248         * gst/gstclock.c: (gst_clock_new_periodic_id):
9249         Reject invalid clock times for interval of periodic ids.
9250         Fixes ##383506.
9251
9252 2006-12-07  Jan Schmidt  <thaytan@mad.scientist.com>
9253
9254         * gst/gstelementfactory.c: (gst_element_factory_create):
9255         * gst/gstpluginfeature.c: (gst_plugin_feature_load):
9256         * gst/gsttypefindfactory.c: (gst_type_find_factory_call_function):
9257         * tools/gst-inspect.c: (print_element_info):
9258         Fix refcounting of gst_plugin_feature_load to match the docs. 
9259         Fixes: #380129
9260
9261 2006-12-07  Wim Taymans  <wim@fluendo.com>
9262
9263         * libs/gst/base/gstbasesink.c: (gst_base_sink_event),
9264         (gst_base_sink_get_position):
9265         Improve debugging of events.
9266
9267 2006-12-07  Wim Taymans  <wim@fluendo.com>
9268
9269         Patch by: René Stadler <mail at renestadler dot de>
9270
9271         * gst/gstclock.c: (gst_clock_id_wait):
9272         Make period ids add the interval to the origial requested time instead
9273         of the possibly updated time which can be wrong when there are multiple
9274         waiters for the same id. Fixes #382592.
9275
9276         * gst/gstsystemclock.c: (gst_system_clock_async_thread),
9277         (gst_system_clock_id_wait_jitter_unlocked),
9278         (gst_system_clock_id_wait_jitter):
9279         Fix restart in the async notify thread when an async entry is added to
9280         the front of the list. Fixes #381492. 
9281
9282         * tests/check/gst/gstsystemclock.c: (store_callback),
9283         (notify_callback), (GST_START_TEST), (gst_systemclock_suite):
9284         Added test for multiple async waits.
9285         Added test for async wait order.
9286
9287 2006-12-07  Wim Taymans  <wim@fluendo.com>
9288
9289         * gst/gstbin.c: (gst_bin_query):
9290         Add some more docs about the POSITION query.
9291
9292 2006-12-07  Jan Schmidt  <thaytan@mad.scientist.com>
9293
9294         * configure.ac:
9295         Bump version nano - back to CVS.
9296
9297 === release 0.10.11 ===
9298
9299 2006-12-06  Jan Schmidt <thaytan@mad.scientist.com>
9300
9301         * configure.ac:
9302           releasing 0.10.11, "Love never runs on time"
9303
9304 2006-12-01  Jan Schmidt  <thaytan@mad.scientist.com>
9305
9306         * win32/common/libgstbase.def:
9307         * win32/common/libgstreamer.def:
9308         * win32/vs8/libgstbase.vcproj:
9309         * win32/vs8/libgstcoreelements.vcproj:
9310         * win32/vs8/libgstreamer.vcproj:
9311         Fix compilation on win32 under VS8
9312         Patch by: Sergey Scobich <sergey dot scobich at gmail dot com>
9313         Partially fixes #381175
9314
9315 2006-11-29  Jan Schmidt  <thaytan@mad.scientist.com>
9316
9317         * gst/gstvalue.c: (gst_value_compare_fraction):
9318         If someone is foolish enough to compare 2 fractions with denominator =
9319         0, return UNORDERED rather than aborting.
9320
9321 2006-11-28  Edward Hervey  <edward@fluendo.com>
9322
9323         * libs/gst/base/Makefile.am:
9324         * libs/gst/base/gstdataqueue.c: (gst_data_queue_get_type),
9325         (gst_data_queue_base_init), (gst_data_queue_class_init),
9326         (gst_data_queue_init), (gst_data_queue_new),
9327         (gst_data_queue_cleanup), (gst_data_queue_finalize),
9328         (gst_data_queue_locked_flush), (gst_data_queue_locked_is_empty),
9329         (gst_data_queue_locked_is_full), (gst_data_queue_flush),
9330         (gst_data_queue_is_empty), (gst_data_queue_is_full),
9331         (gst_data_queue_set_flushing), (gst_data_queue_push),
9332         (gst_data_queue_pop), (gst_data_queue_drop_head),
9333         (gst_data_queue_set_property), (gst_data_queue_get_property):
9334         * libs/gst/base/gstdataqueue.h:
9335         New GstDataQueue object for threadsafe queueing. Most useful for
9336         elements that need some queueing functionnality.
9337         * docs/libs/gstreamer-libs-docs.sgml:
9338         * docs/libs/gstreamer-libs-sections.txt:
9339         Insert documentation for GstDataQueue
9340         * plugins/elements/Makefile.am:
9341         * plugins/elements/gstelements.c:
9342         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_base_init),
9343         (gst_multi_queue_class_init), (gst_multi_queue_init),
9344         (gst_multi_queue_finalize), (gst_multi_queue_set_property),
9345         (gst_multi_queue_get_property), (gst_multi_queue_request_new_pad),
9346         (gst_multi_queue_release_pad), (gst_single_queue_push_one),
9347         (gst_multi_queue_item_destroy), (gst_multi_queue_item_new),
9348         (gst_multi_queue_loop), (gst_multi_queue_chain),
9349         (gst_multi_queue_sink_activate_push), (gst_multi_queue_sink_event),
9350         (gst_multi_queue_getcaps), (gst_multi_queue_bufferalloc),
9351         (gst_multi_queue_src_activate_push), (gst_multi_queue_acceptcaps),
9352         (gst_multi_queue_src_event), (gst_multi_queue_src_query),
9353         (wake_up_next_non_linked), (compute_next_non_linked),
9354         (single_queue_overrun_cb), (single_queue_underrun_cb),
9355         (single_queue_check_full), (gst_single_queue_new):
9356         * plugins/elements/gstmultiqueue.h:
9357         New multiqueue element, using GstDataQueue. Used for queuing multiple
9358         streams.
9359         Closes #344639 and #347785
9360
9361 2006-11-22  Stefan Kost  <ensonic@users.sf.net>
9362
9363         * docs/pwg/advanced-types.xml:
9364           add more missing type details
9365
9366         * tools/gst-run.c: (main):
9367           remove unused variable
9368
9369 2006-11-21  Stefan Kost  <ensonic@users.sf.net>
9370
9371         * docs/libs/Makefile.am:
9372         * docs/libs/gstreamer-libs.types:
9373           add types of base classes to enable gobject specific stuff in the docs
9374
9375         * docs/random/ensonic/embedded.txt:
9376           more ideas about isolating platform specific things
9377
9378 2006-11-20  Wim Taymans  <wim@fluendo.com>
9379
9380         Patch by: Sebastian Dröge <slomo at ubuntu dot com>
9381
9382         * libs/gst/check/gstcheck.h:
9383         Fix compilation and running against 0.9.4. Fixes #377332.
9384
9385 2006-11-20  Wim Taymans  <wim@fluendo.com>
9386
9387         * gst/gstsegment.c: (gst_segment_set_seek),
9388         (gst_segment_set_newsegment_full), (gst_segment_to_stream_time),
9389         (gst_segment_to_running_time):
9390         Fix boundary checking in to_running_time() and to_stream_time().
9391         Fixes #377183.
9392
9393         * tests/check/gst/gstsegment.c: (GST_START_TEST):
9394         stream and running time can now be calculated for the complete
9395         clipped segment.
9396
9397 2006-11-15  Tim-Philipp Müller  <tim at centricular dot net>
9398
9399         * gst/gstpad.c: (gst_pad_push_event):
9400           Can't access event structure after giving away ownership of
9401           the event.
9402
9403 2006-11-15  Stefan Kost  <ensonic@users.sf.net>
9404
9405         * docs/random/ensonic/embedded.txt:
9406         * docs/random/ensonic/profiling.txt:
9407         * docs/random/ensonic/receipies.txt:
9408           more thinking
9409
9410 2006-11-13  Wim Taymans  <wim@fluendo.com>
9411
9412         Patch by: Mark Nauwelaerts <manauw at skynet dot be>
9413
9414         * gst/gstpad.c:
9415         Fix documentation for gst_pad_dispatcher. Fixes #374475.
9416
9417 2006-11-13  Wim Taymans  <wim@fluendo.com>
9418
9419         Patch by: Jonathan Matthew <jonathan at kaolin dot wh9 dot net>
9420
9421         * libs/gst/base/gstbasesrc.c: (gst_base_src_update_length):
9422         Store new length in segment duration so we don't keep on calling the
9423         potentially expensize get_size() call. Fixes #370865.
9424
9425 2006-11-10  Tim-Philipp Müller  <tim at centricular dot net>
9426
9427         Patch by: Sergey Scobich  <sergey.scobich at gmail com>
9428
9429         * win32/common/libgstreamer.def:
9430           Add two missing symbols (#366492).
9431
9432 2006-11-10  Jan Schmidt  <thaytan@mad.scientist.com>
9433
9434         * libs/gst/base/gstadapter.c: (gst_adapter_flush),
9435         (gst_adapter_take_buffer):
9436         Fix format string to use all its arguments.
9437         Remove useless >= check on a guint
9438
9439 2006-11-09  Jan Schmidt  <thaytan@mad.scientist.com>
9440
9441         * tests/examples/adapter/.cvsignore:
9442         Ignore build file as commanded by the build-bot
9443
9444 2006-11-09  Jan Schmidt  <thaytan@mad.scientist.com>
9445
9446         * tests/examples/adapter/Makefile.am:
9447         * tests/examples/adapter/adapter_test.c: (run_test_take),
9448         (run_test_take_buffer), (run_tests), (main):
9449
9450         Add new files from the previous commit
9451
9452 2006-11-09  Jan Schmidt  <thaytan@mad.scientist.com>
9453
9454         * Makefile.am:
9455         * configure.ac:
9456         * libs/gst/base/gstadapter.c: (gst_adapter_clear),
9457         (gst_adapter_push), (gst_adapter_peek_into), (gst_adapter_peek),
9458         (gst_adapter_flush), (gst_adapter_take), (gst_adapter_take_buffer):
9459         * libs/gst/base/gstadapter.h:
9460         * tests/check/libs/adapter.c: (create_and_fill_adapter),
9461         (GST_START_TEST), (gst_adapter_suite):
9462         * tests/examples/Makefile.am:
9463         Do some optimisation work in GstAdapter to avoid copies in more cases.
9464         It could still do slightly better by merging buffers when
9465         gst_buffer_is_span_fast is true, but is already faster. 
9466
9467         Also, avoid traversing a single-linked list to append each incoming 
9468         buffer inside the adapter.
9469
9470         Add simple test app that times the adapter behaviour in different
9471         situations, and extend the unit test to check that bytes enter and
9472         exit the adapter in their original order.
9473
9474 2006-11-08  Tim-Philipp Müller  <tim at centricular dot net>
9475
9476         * docs/random/draft-missing-plugins.txt:
9477           Update: use element message instead of adding a new message
9478           type to the core; don't provide GStreamer API to initiate the
9479           plugin download, just provide API to compose the strings needed
9480           and let an external libgimmestuff handle the rest.
9481
9482 2006-11-08  Jan Schmidt  <thaytan@mad.scientist.com>
9483
9484         * tools/gst-inspect.c: (print_element_properties_info):
9485         Print a string instead of 'unknown type' for GValueArray properties
9486
9487 2006-11-08  Christian F.K. Schaller  <christian@fluendo.com>
9488
9489         * docs/random/draft-missing-plugins.txt:
9490         More small fixes.
9491
9492 2006-11-07  Tim-Philipp Müller  <tim at centricular dot net>
9493
9494         * tests/examples/typefind/typefind.c: (type_found), (main):
9495           Make typefind element example work again (#371894); add a
9496           license header.
9497
9498 2006-11-07  Tim-Philipp Müller  <tim at centricular dot net>
9499
9500         * docs/random/draft-missing-plugins.txt:
9501           Commit initial draft about how to deal with missing plugins,
9502           needs work (API too).
9503
9504 2006-11-07  Stefan Kost  <ensonic@users.sf.net>
9505
9506         * docs/pwg/advanced-types.xml:
9507           documents the new caps elements (see #363118)
9508
9509 2006-11-06  Tim-Philipp Müller  <tim at centricular dot net>
9510
9511         * gst/gstplugin.c: (gst_plugin_load_file):
9512         * plugins/elements/gstfilesrc.c: (gst_mmap_buffer_finalize),
9513         (gst_file_src_map_region), (gst_file_src_start):
9514         * plugins/indexers/gstfileindex.c: (gst_file_index_load),
9515         (gst_file_index_commit):
9516           Use g_strerror() instead of strerror() - we want UTF-8.
9517
9518 2006-11-06  Tim-Philipp Müller  <tim at centricular dot net>
9519
9520         Patch by: Peter Kjellerstedt <pkj at axis com>
9521
9522         * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
9523           Another printf fix (#371493).
9524
9525 2006-11-06  Stefan Kost  <ensonic@users.sf.net>
9526
9527         * tests/check/gst/gsttag.c:
9528           relicence (okay with author=company)
9529
9530 2006-11-06  Stefan Kost  <ensonic@users.sf.net>
9531
9532         * gst/gstpad.c: (gst_pad_event_default_dispatch),
9533         (gst_pad_push_event):
9534           Enhance debug and improve docs
9535         
9536         * gst/gsturi.c:
9537           Fix docs
9538
9539 2006-11-06  Stefan Kost  <ensonic@users.sf.net>
9540
9541         * docs/random/ensonic/distributed.txt:
9542         * docs/random/ensonic/profiling.txt:
9543           more ideas
9544
9545 2006-11-06  Stefan Kost  <ensonic@users.sf.net>
9546
9547         * docs/gst/gstreamer-sections.txt:
9548           add new API and fix the build
9549           
9550         * gst/gstbin.c: (gst_bin_recalc_state):
9551         * gst/gstelement.c: (gst_element_message_full),
9552         (gst_element_get_state_func), (gst_element_set_state_func):
9553           use new API and improve logging
9554         
9555         * gst/gstutils.c: (gst_element_state_change_return_get_name):
9556         * gst/gstutils.h:
9557           API: add function to get StateChangereturn names to improve logs 
9558
9559 2006-11-04  Thomas Vander Stichele  <thomas at apestaart dot org>
9560
9561         * plugins/elements/gstfilesrc.c: (gst_file_src_start):
9562           I'm considering shooting the next person to put strerror stuff
9563           in the translateable part of the message.
9564
9565 2006-11-03  Wim Taymans  <wim@fluendo.com>
9566
9567         * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
9568         Get the type and printf conversion specifiers right.
9569
9570 2006-11-03  Wim Taymans  <wim@fluendo.com>
9571
9572         Patch by: Mark Nauwelaerts <manauw at skynet dot be>
9573
9574         * gst/gstpad.c: (gst_pad_init), (pre_activate),
9575         (gst_pad_set_blocked_async), (gst_pad_acceptcaps_default),
9576         (gst_pad_accept_caps), (handle_pad_block), (gst_pad_push_event):
9577         Some small cleanups. Improve debugging.
9578         * gst/gstpad.h:
9579         Signal all waiting threads with a broadcast instead of just one.
9580         Fixes #369942.
9581
9582 2006-11-03  Wim Taymans  <wim@fluendo.com>
9583
9584         * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd),
9585         (gst_fd_src_create):
9586         Add some debugging. 
9587         Only update fd when it's different from the old.
9588
9589 2006-11-02  Tim-Philipp Müller  <tim at centricular dot net>
9590
9591         * plugins/elements/gstfilesrc.c: (gst_file_src_create_mmap):
9592           Printf fixes for PPC/OSX, take two (#369366).
9593
9594 2006-11-02  Tim-Philipp Müller  <tim at centricular dot net>
9595
9596         Based on patch by: Jan David Mol  <j.j.d.mol at tudelft nl>
9597
9598         * plugins/elements/gstfilesink.c: (gst_file_sink_class_init):
9599         * plugins/elements/gstfilesrc.c: (gst_file_src_class_init),
9600         (gst_file_src_map_small_region), (gst_file_src_create_mmap):
9601           Printf fixes for gsize parameters on PPC/OSX (#369366). Also,
9602           don't cast to long long for portability reasons, but use
9603           GLib's types instead.
9604
9605 2006-10-30  Michael Smith  <msmith@fluendo.com>
9606
9607         * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
9608           Get the arguments to lseek() the right way around.
9609           Fixes 367677.
9610
9611 2006-10-30  Wim Taymans  <wim@fluendo.com>
9612
9613         Patch by: gorshkov <gorshkov at oghma dot on dot ca>
9614
9615         * gst/gstinfo.h:
9616         _declspec should be __declspec (two underscores, not one). Fixes 366572.
9617
9618 2006-10-28  Tim-Philipp Müller  <tim at centricular dot net>
9619
9620         Patch by: Kjartan Maraas  <kmaraas at gnome org>
9621
9622         * docs/design/part-MT-refcounting.txt:
9623         * docs/random/wtay/capsnego2-docs:
9624         * gst/gstclock.c:
9625         * gst/gstxml.c:
9626           Typo fixes (#366212).
9627
9628 2006-10-28  Wim Taymans  <wim@fluendo.com>
9629
9630         Patch by: Sergey Scobich <sergey dot scobich at gmail dot com>
9631
9632         * gst/gst.c:
9633         * win32/common/libgstbase.def:
9634         * win32/common/libgstreamer.def:
9635         * win32/vs8/libgstbase.vcproj:
9636         * win32/vs8/libgstcontroller.vcproj:
9637         Add needed entries in .def files.
9638         Use HAVE_UNISTD_H.
9639         Rearrange def files in vs8 solutions. Fixes #366286.
9640
9641 2006-10-28  Tim-Philipp Müller  <tim at centricular dot net>
9642
9643         * win32/common/gstconfig.h:
9644           Add GST_SEGMENT_FORMAT and GST_USING_PRINTF_EXTENSION to the
9645           hand-made win32 gstconfig.h. Fixes #366321.
9646
9647 2006-10-27  Wim Taymans  <wim@fluendo.com>
9648
9649         * gst/gstghostpad.c: (gst_proxy_pad_do_acceptcaps),
9650         (gst_ghost_pad_new_full):
9651         Make acceptcaps return TRUE when we don't have a target, just like
9652         setcaps does.
9653
9654 2006-10-27  Wim Taymans  <wim@fluendo.com>
9655
9656         * libs/gst/base/gstbasetransform.c: (gst_base_transform_chain):
9657         Revert previous commit, 0 sized buffers are allowed. Reopens #363095.
9658
9659 2006-10-26  Tim-Philipp Müller  <tim at centricular dot net>
9660
9661         * gst/gststructure.c: (gst_structure_id_set_value):
9662           If someone tries to set a non-UTF8 string field on a structure,
9663           don't just print a warning, but also ignore the request and do
9664           not change/add that field to the structure.
9665
9666         * tests/check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
9667           Test for the above.
9668
9669 2006-10-25  David Schleef  <ds@schleef.org>
9670
9671         * gst/gstinfo.c:
9672           g_hash_table_insert() needs a cast to a non-const pointer duh.
9673
9674 2006-10-25  David Schleef  <ds@schleef.org>
9675
9676         * gst/gstinfo.c:
9677         * gst/gstinfo.h:
9678           Change name parameter of _gst_debug_register_funcptr to const
9679           to reflect the constness of its use in the function as well
9680           as to quiet a gcc warning.
9681
9682 2006-10-25  Edward Hervey  <edward@fluendo.com>
9683
9684         * libs/gst/base/gstbasetransform.c: (gst_base_transform_chain):
9685         Don't push the buffer if it's empty.
9686         Closes #363095
9687
9688 2006-10-24  Wim Taymans  <wim@fluendo.com>
9689
9690         * gst/gstevent.h:
9691         Add small comment.
9692
9693         * libs/gst/base/gstbasetransform.c:
9694         (gst_base_transform_sink_eventfunc):
9695         Debug segment values *after* updating them as this is more
9696         interesting.
9697
9698 2006-10-23  Wim Taymans  <wim@fluendo.com>
9699
9700         * docs/design/part-events.txt:
9701         Update some docs.
9702
9703         * docs/design/part-block.txt:
9704         * gst/gstpad.c: (gst_pad_is_blocking), (handle_pad_block),
9705         (gst_pad_push_event):
9706         Revert BLOCKING patch, it tries to be smart without really having a
9707         clear idea what or how. So, now we discard all FLUSHING events again on
9708         a blocking pad. Should fix gnonlin again.
9709
9710 2006-10-23  Wim Taymans  <wim@fluendo.com>
9711
9712         Patch by: Sergey Scobich <sergey dot scobich at gmail dot com>
9713
9714         * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
9715         (gst_base_src_start), (gst_base_src_activate_push):
9716         Make sure size is always initialized. Fixes #364388.
9717
9718 2006-10-20  Stefan Kost  <ensonic@users.sf.net>
9719
9720         * docs/random/ensonic/distributed.txt:
9721           add some ideas about doing distributed processing
9722
9723         * docs/random/ensonic/profiling.txt:
9724           get_rusage look promising
9725
9726 2006-10-18  Stefan Kost  <ensonic@users.sf.net>
9727
9728         * docs/manual/basics-helloworld.xml:
9729           Add a cast in example to fix compile warning
9730
9731 2006-10-18  Wim Taymans  <wim@fluendo.com>
9732
9733         * gst/gstsegment.c: (gst_segment_set_last_stop),
9734         (gst_segment_set_seek), (gst_segment_set_newsegment_full):
9735         Relax arg checking again, -1 is allowed.
9736
9737 2006-10-18  Wim Taymans  <wim@fluendo.com>
9738
9739         * gst/gstsegment.c: (gst_segment_set_last_stop),
9740         (gst_segment_set_seek), (gst_segment_set_newsegment_full):
9741         _set_last_stop() must be with a value != -1
9742         A _TYPE_SET to -1 means seek to 0.
9743         Calc last_stop correctly for negative rates.
9744         Make sure we work with positive durations when updating a segment.
9745
9746 2006-10-18  Wim Taymans  <wim@fluendo.com>
9747
9748         * docs/design/part-live-source.txt:
9749         * gst/gstclock.h:
9750         Small docs fixes.
9751
9752 2006-10-18  Tim-Philipp Müller  <tim at centricular dot net>
9753
9754         * gst/gstbuffer.h:
9755           Add an explicit cast to GstBuffer** to keep old code that added an
9756           explicit cast to GstMiniObject** for gst_mini_object_replace()
9757           compiling without warning.
9758
9759 2006-10-18  Stefan Kost  <ensonic@users.sf.net>
9760
9761         * gst/gstvalue.c: (gst_value_set_date), (gst_date_copy):
9762           check for validity of dates
9763
9764 2006-10-17  Tim-Philipp Müller  <tim at centricular dot net>
9765
9766         * docs/gst/gstreamer-sections.txt:
9767           Forgot this one, makes gtk-doc shut up.
9768
9769 2006-10-17  Tim-Philipp Müller  <tim at centricular dot net>
9770
9771         Patch by: Peter Kjellerstedt <pkj at axis com>
9772
9773         * gst/gstobject.h:
9774           Don't define xmlNodePtr to gpointer if the core was built with
9775           --disable-loadsave and --disable-registry, this will break
9776           applications that want to use libxml2 but are buildling against a
9777           core that doesn't use libxml2. Use an intermediary type GstXmlNodePtr
9778           instead so we don't have to mess with the libxml2 namespace
9779           (#361675).
9780
9781 2006-10-17  Tim-Philipp Müller  <tim at centricular dot net>
9782
9783         * gst/gstbuffer.h:
9784           Fix gst_buffer_replace() macro to avoid gst_mini_object_replace()-related
9785           type-punned pointer warnings.
9786
9787 2006-10-16  Tim-Philipp Müller  <tim at centricular dot net>
9788
9789         * gst/gstelement.h:
9790           Add casts to the correct return type to state <=> state transition
9791           macros.
9792
9793 2006-10-16  Stefan Kost  <ensonic@users.sf.net>
9794
9795         * docs/design/part-live-source.txt:
9796           describe howto handle latency
9797         
9798         * docs/random/ensonic/profiling.txt:
9799           more ideas
9800
9801         * tools/gst-plot-timeline.py:
9802           fix log parsing for solaris, remove unused function
9803
9804 2006-10-16  Wim Taymans  <wim@fluendo.com>
9805
9806         * docs/design/part-trickmodes.txt:
9807         * gst/gstevent.c:
9808         Update some docs regarding reverse playback.
9809
9810 2006-10-15  Tim-Philipp Müller  <tim at centricular dot net>
9811
9812         Patch by: Marcus Granado  <mrc dot gran at gmail com>
9813
9814         * win32/vs8/grammar.vcproj:
9815           Error out with a warning if glib-genmarshal.exe is not in path,
9816           instead of creating bogus gstmarshal.[ch] files. Fixes #361720.
9817
9818 2006-10-13  Wim Taymans  <wim@fluendo.com>
9819
9820         * gst/gstsegment.c: (gst_segment_set_seek):
9821         When seeking to stop -1, set last_stop (current position) to the
9822         duration of the segment.
9823
9824 2006-10-13  Wim Taymans  <wim@fluendo.com>
9825
9826         * gst/gstelement.h:
9827         Clarify _NO_PREROLL a bit more.
9828
9829         * gst/gstevent.c:
9830         Fix docs.
9831
9832         * gst/gstpad.c: (gst_pad_link_check_hierarchy),
9833         (gst_pad_get_caps_unlocked), (gst_pad_save_thyself),
9834         (handle_pad_block), (gst_pad_push_event), (gst_pad_send_event):
9835         Patch by: Yves Lefebvre <ivanohe at abacom dot com> Fix possible deadlock
9836         due to wrong locking order. Fixes #361769.
9837         Remove some redundant/misplaced checks in pad_block.
9838
9839         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
9840         For negative rates, count backwards from the duration.
9841
9842 2006-10-13  Tim-Philipp Müller  <tim at centricular dot net>
9843
9844         * gst/gsterror.c: (_gst_library_errors_init):
9845           Fix error message for GST_LIBRARY_ERROR_SETTINGS (feel free to come
9846           up with something better).
9847
9848 2006-10-12  Tim-Philipp Müller  <tim at centricular dot net>
9849
9850         * win32/vs6/libgstreamer.dsp:
9851         * win32/vs7/libgstreamer.vcproj:
9852         * win32/vs8/libgstreamer.vcproj:
9853           Don't reference glib-compat.c which is currently not used and not
9854           disted; add gstquark.c which was recently added. Fixes #361730.
9855
9856 2006-10-12  Tim-Philipp Müller  <tim at centricular dot net>
9857
9858         * win32/common/libgstbase.def:
9859         * win32/common/libgstcontroller.def:
9860         * win32/common/libgstreamer.def:
9861           Add gst_caps_merge() and a bunch of other recently-added functions.
9862           Fixes #361732.
9863
9864 2006-10-11  Wim Taymans  <wim@fluendo.com>
9865
9866         * docs/plugins/gstreamer-plugins.args:
9867         * docs/plugins/inspect/plugin-coreelements.xml:
9868         * docs/plugins/inspect/plugin-coreindexers.xml:
9869         Update element args.
9870
9871         * gst/gstsystemclock.c:
9872         Small comment update.
9873
9874         * plugins/elements/gsttee.c: (gst_tee_class_init), (gst_tee_init),
9875         (gst_tee_request_new_pad), (gst_tee_release_pad),
9876         (gst_tee_buffer_alloc), (gst_tee_sink_activate_push),
9877         (gst_tee_sink_activate_pull):
9878         * plugins/elements/gsttee.h:
9879         Some tee loving:
9880         Add default property defines.
9881         Implement release pad function.
9882         Give properties better blubs etc.
9883         Activate pads before adding them to a running tee.
9884         Do simple buffer_alloc on the first requested pad.
9885         Post error when activation fails.
9886
9887 2006-10-11  Tim-Philipp Müller  <tim at centricular dot net>
9888
9889         * gst/gst.c: (ensure_current_registry_forking):
9890           Check return value of write() to make compiler happy.
9891
9892 2006-10-11  Wim Taymans  <wim@fluendo.com>
9893
9894         Patch by: Sjoerd Simons <sjoerd at luon dot net>
9895
9896         * plugins/elements/gstqueue.c: (gst_queue_chain):
9897         Recheck queue filledness after signalling the overrun when we're about
9898         to leak downstream because we released the lock when emitting the signal
9899         and the queue could be empty again. Fixes #352345.
9900
9901 2006-10-11  Tim-Philipp Müller  <tim at centricular dot net>
9902
9903         * libs/gst/controller/gstcontroller.c: (gst_controller_new_list):
9904           Fix refcounting here too, just like we did for _new_valist() a few
9905           days ago (#357180) (thanks to René Stadler). Also remove all those
9906           'Since: 0.9' from the gtk-doc blobs.
9907
9908         * tests/check/libs/controller.c: (controller_refcount_new_list),
9909         (gst_controller_suite):
9910           Unit test for the above.
9911
9912 2006-10-10  Wim Taymans  <wim@fluendo.com>
9913
9914         Patch by: Sebastien Cote <sebas642 at yahoo dot ca>
9915
9916         * gst/gstpad.c: (gst_pad_get_caps_unlocked),
9917         (gst_pad_save_thyself):
9918         Update some docs.
9919         Write pad direction in XML output. Fixes #345496.
9920
9921 2006-10-10  Wim Taymans  <wim@fluendo.com>
9922
9923         Patch by: René Stadler <mail at renestadler dot de>
9924
9925         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
9926         (gst_controller_new_list), (_gst_controller_dispose),
9927         (_gst_controller_finalize), (_gst_controller_class_init):
9928         Take ref to controlled object so that it cannot disappear. 
9929         Fixes #357432.
9930
9931 2006-10-10  Wim Taymans  <wim@fluendo.com>
9932
9933         * libs/gst/check/gstcheck.c: (gst_check_setup_src_pad),
9934         (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
9935         (gst_check_teardown_sink_pad):
9936         Activate/deactivate pads in setup/teardown respectively.
9937
9938 2006-10-10  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
9939
9940         Patch by: Josep Torra Valles <josep@fluendo.com>
9941
9942         * gst/Makefile.am:
9943         Cast values when making gstenumtypes.h.  This pacifies Forte
9944         so it doesn't warn about the ~0 as GST_MESSAGE_ANY not fitting
9945         in the enumeration.
9946
9947 2006-10-09  Wim Taymans  <wim@fluendo.com>
9948
9949         * gst/gstevent.c: (gst_event_new_seek), (gst_event_parse_seek):
9950         Rename some more @cur to @start to fix docs. 
9951
9952         * gst/gstsegment.c: (gst_segment_set_seek):
9953         Fix typo.
9954         time and start must always stay in sync as defined in design doc.
9955
9956         * gst/gsttaglist.c: (gst_tag_list_is_empty):
9957         Rename param to fix docs.
9958
9959         * tests/check/gst/gstsegment.c: (GST_START_TEST):
9960         Check that start and time are in sync.
9961
9962         * tests/check/pipelines/parse-launch.c:
9963         (gst_parse_test_element_change_state):
9964         Activate pad before adding to the element.
9965
9966 2006-10-09  Wim Taymans  <wim@fluendo.com>
9967
9968         * docs/design/part-qos.txt:
9969         Fix typo.
9970
9971         * gst/gstevent.c:
9972         * gst/gstevent.h:
9973         Update seek event docs regarding negative rates.
9974         Rename @cur to @start. 
9975
9976         * gst/gstsegment.c: (gst_segment_set_seek):
9977         * gst/gstsegment.h:
9978         Update set_seek docs regarding negative rates.
9979         Correctly update last_stop to @stop when dealing with negative
9980         rates.
9981         Rename @cur to @start. 
9982
9983         * tests/check/gst/gstpad.c: (GST_START_TEST):
9984         Activate pads before trying to use them.
9985
9986         * tests/check/gst/gstsegment.c: (GST_START_TEST),
9987         (gst_segment_suite):
9988         Add simple check for segments and negative rates.
9989
9990 2006-10-09  Tim-Philipp Müller  <tim at centricular dot net>
9991
9992         * gst/gsttaglist.c: (gst_tag_list_is_empty):
9993         * gst/gsttaglist.h:
9994         * docs/gst/gstreamer-sections.txt:
9995           API: add gst_tag_list_is_empty() (#360467).
9996
9997         * tests/check/gst/gsttag.c: (GST_START_TEST):
9998           And a test case.
9999
10000 2006-10-09  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
10001
10002         * gst/gstmessage.h:
10003         Revert change from earlier wrt GST_MESSAGE_TYPE_ANY having
10004         a value that doesn't fit on enumeration.
10005
10006 2006-10-09  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
10007
10008         * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
10009         Remove local debugging system and use Gstreamer's instead.
10010
10011 2006-10-09  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
10012
10013         Patch by: Josep Torra Valles <josep@fluendo.com>
10014
10015         * common/m4/gst-error.m4:
10016         Disable warning of statement not reached on Forte.
10017         * gst/gstmessage.h:
10018         Fix warning on Forte (value doesn't fit on enumeration).
10019         * libs/gst/base/gstbasesink.c: (gst_base_sink_chain_unlocked):
10020         Fix warning on Forte (value doesn't fit on enumeration).
10021         * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
10022         DEBUG macro says it takes minimum of 2 args and so Forte
10023         complains about the use with just 1 arg.
10024         * plugins/elements/gstfdsink.c:
10025         * plugins/elements/gstfdsrc.c:
10026         * plugins/elements/gstfilesink.c:
10027         * plugins/elements/gstfilesrc.c:
10028         Use correct return type for the uri handler implementations.
10029
10030         All these fix warnings in Forte.  Fixes bug #360860.
10031
10032 2006-10-08  Tim-Philipp Müller  <tim at centricular dot net>
10033
10034         * gst/gstelement.h:
10035           gcc versions prior to gcc 3.3 apparently complain about a NULL printf
10036           format string, so don't use G_GNUC_PRINTF for those versions.
10037
10038 2006-10-07  Tim-Philipp Müller  <tim at centricular dot net>
10039
10040         * gst/gsttaglist.c: (gst_is_tag_list):
10041         * gst/gsttaglist.h:
10042           Minor fixes to GST_IS_TAG_LIST and gst_is_tag_list().
10043
10044         * tests/check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
10045           Small test for the above.
10046
10047 2006-10-07  Tim-Philipp Müller  <tim at centricular dot net>
10048
10049         * gst/gsttaglist.h:
10050           Less tabs, more spaces.
10051
10052 2006-10-06  Tim-Philipp Müller  <tim at centricular dot net>
10053
10054         * gst/gstinfo.h:
10055           Those two function declarations do actually belong there, revert
10056           commit from yesterday that turned them intro macros.
10057
10058 2006-10-06  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
10059
10060         Patch by: Josep Torra Valles <josep@fluendo.com>
10061
10062         * gst/gst.c: (gst_init_get_option_group):
10063         Fix empty declaration and type mismatch.
10064         * gst/gstbin.c: (gst_bin_change_state_func):
10065         Fix type mismatch.
10066         * gst/gstelement.c: (gst_element_continue_state),
10067         (gst_element_set_state_func), (gst_element_change_state),
10068         (gst_element_change_state_func):
10069         Fix type mismatches.
10070         * gst/gstinfo.c: (gst_debug_compare_log_function_by_func),
10071         (gst_debug_remove_log_function), (_gst_debug_nameof_funcptr):
10072         Cast as appropriate.
10073         * gst/gstobject.c: (gst_class_signal_connect):
10074         Cast as appropriate.  The function pointer parameter really
10075         has the wrong type but would break API if we change it.
10076         * gst/gstquery.c:
10077         Fix redefinition of _FILE_OFFSET_BITS caused on Solaris wrt
10078         order of including string.h.
10079         * gst/gstutils.c: (gst_element_state_get_name):
10080         Remove unreachable line.
10081         * gst/gstxml.c: (gst_xml_parse_doc):
10082         Fix type mismatch.
10083         All these caught by Forte.
10084
10085 2006-10-06  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
10086
10087         Patch by: Josep Torra Valles <josep@fluendo.com>
10088
10089         * common/m4/gst-error.m4:
10090         Fixed bug #360151.
10091         We need to disable warnings on Forte for empty declarations
10092         due to gst-indent adding ;s to lines that just use macros
10093         where the macro actually doesn't need a ; at end to end
10094         statement.
10095
10096 2006-10-06  Wim Taymans  <wim@fluendo.com>
10097
10098         * plugins/elements/gstfilesink.c: (gst_file_sink_open_file),
10099         (gst_file_sink_close_file), (gst_file_sink_event),
10100         (gst_file_sink_render):
10101         Add some FIXME for the NEWSEGMENT handling.
10102
10103 2006-10-05  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
10104
10105         * gst/parse/grammar.y:
10106         Remove static function gst_parse_element_lock as all it does
10107         is return.  Looks like cruft from 0.8.
10108
10109 2006-10-05  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
10110
10111         Patch by: Josep Torra Valles <josep@fluendo.com>
10112
10113         * common/m4/gst-error.m4:
10114         * configure.ac:
10115         * libs/gst/net/Makefile.am:
10116         Fix a compilation issue with Forte on Solaris.  inet_aton is in
10117         libresolv.
10118
10119 2006-10-05  Tim-Philipp Müller  <tim at centricular dot net>
10120
10121         * gst/gstpad.c: (pre_activate):
10122         * gst/gstregistry.c: (gst_registry_scan_path_level):
10123         * gst/gstregistryxml.c: (load_plugin):
10124         * libs/gst/controller/gstcontroller.c:
10125         (gst_controlled_property_set_interpolation_mode):
10126         * libs/gst/dataprotocol/dataprotocol.c:
10127         (gst_dp_packet_from_event_1_0):
10128         * libs/gst/net/gstnetclientclock.c:
10129         (gst_net_client_clock_observe_times):
10130         * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
10131           Printf fixes.
10132
10133 2006-10-05  Tim-Philipp Müller  <tim at centricular dot net>
10134
10135         * configure.ac:
10136         * docs/gst/gstreamer-sections.txt:
10137         * gst/gstconfig.h.in:
10138         * gst/gstelement.h:
10139         * gst/gstinfo.h:
10140           Add GST_USING_PRINTF_EXTENSION to gstconfig.h so that we know
10141           whether we can use G_GNUC_PRINTF in other header files and at
10142           least check the printf format/arguments of debug messages and
10143           GST_ELEMENT_ERROR messages when the printf extension is not
10144           being used.
10145           Replace more tabs with spaces in gstinfo.h and remove two spurious
10146           function declarations in GST_DISABLE_DEBUG part with macros.
10147
10148 2006-10-03  Tim-Philipp Müller  <tim at centricular dot net>
10149
10150         * gst/gstbus.c: (gst_bus_class_init), (gst_bus_post):
10151           More docs for the sync-message signal (mention that it is not
10152           emitted by default); log message structures of messages posted on
10153           the bus as well.
10154
10155 2006-10-03  Jan Schmidt  <thaytan@mad.scientist.com>
10156
10157         * gst/gst.c: (ensure_current_registry_forking):
10158         Use a pipe pair to receive status results from the forked child, and
10159         ignore the result from waitpid. Fixes #355499
10160
10161 2006-10-02  Wim Taymans  <wim@fluendo.com>
10162
10163         * tests/check/gst/gstghostpad.c: (GST_START_TEST),
10164         (gst_ghost_pad_suite):
10165         Fix leak in check.
10166
10167 2006-10-02  Tim-Philipp Müller  <tim at centricular dot net>
10168
10169         * gst/gstpad.c:
10170           Add 'Since: 0.10.11' to gst_pad_is_blocking() gtk-doc blurb.
10171
10172 2006-10-02  Edward Hervey  <edward@fluendo.com>
10173
10174         * docs/design/part-block.txt:
10175         Further explain the use of flushing on blocked pads.
10176         * docs/gst/gstreamer-sections.txt:
10177         * gst/gstpad.c: (gst_pad_is_blocking), (handle_pad_block),
10178         (gst_pad_push_event):
10179         * gst/gstpad.h:
10180         Added new GstPadFlag : GST_PAD_BLOCKING.
10181         Adds the notion of pads really blocking, which enables to properly
10182         handle FLUSH_START/FLUSH_STOP events on blocked pads.
10183         Fixes #358999
10184         API: gst_pad_is_blocking()
10185         API: GST_PAD_IS_BLOCKING() macro
10186         API: GST_PAD_BLOCKING GstPadFlag
10187         
10188 2006-10-02  Wim Taymans  <wim@fluendo.com>
10189
10190         Patch by: mrcgran <mrc.gran at gmail dot com>
10191
10192         * gst/gstghostpad.c: (gst_proxy_pad_do_getcaps):
10193         Filter the proxied caps against the padtemplate if we have one.
10194
10195         * gst/gstquery.c: (gst_query_new_segment):
10196         Add include for gstinfo.h so that compilation with
10197         -DGST_DISABLE_GST_DEBUG works again. Fixes #358436.
10198
10199 2006-10-02  Wim Taymans  <wim@fluendo.com>
10200
10201         Patch by: Alessandro Decina  <alessandro at nnva org>
10202
10203         * plugins/elements/gstfilesink.c: (gst_file_sink_init),
10204         (gst_file_sink_set_location), (gst_file_sink_open_file),
10205         (gst_file_sink_close_file), (gst_file_sink_event),
10206         (gst_file_sink_render):
10207         Set file to NULL when closing filesink so that we can set a new filename
10208         in READY. Fixes #358613.
10209
10210 2006-10-02  Tim-Philipp Müller  <tim at centricular dot net>
10211
10212         Patch by: Alessandro Decina  <alessandro at nnva org>
10213
10214         * gst/gstevent.c: (_gst_event_copy):
10215           Fix gst_mini_object_make_writable() and gst_event_copy() for events
10216           with event structures by setting the parent refcount address of the
10217           copied structure to the address of the refcount member of the newly
10218           copied event rather than the address of the refcount member of the
10219           original event. Fixes #358737.
10220
10221         * tests/check/gst/gstevent.c: (GST_START_TEST):
10222           Unit test for the above.
10223
10224 2006-09-29  Stefan Kost  <ensonic@users.sf.net>
10225
10226         * docs/design/Makefile.am:
10227           Dist some more files.
10228
10229 2006-09-29  Tim-Philipp Müller  <tim at centricular dot net>
10230
10231         * tests/check/libs/controller.c: (GST_START_TEST),
10232         (gst_controller_suite):
10233           Add test for the previous fix; add some more tests
10234           for correct refcounting behaviour; fix a few leaks
10235           in test cases; call gst_controller_init() at start
10236           of all tests.
10237
10238 2006-09-29  Tim-Philipp Müller  <tim at centricular dot net>
10239
10240         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
10241         (gst_controller_set_from_list):
10242           Don't g_return_val_if_fail() on timed values with invalid timestamps
10243           inside a critical section without unlocking the mutex. Spotted by
10244           René Stadler. (#357617)
10245           Also, fix up refcounting properly: when returning an existing
10246           controller, we should increase the reference only once and not
10247           once per property and when trying to control a property again
10248           we should also increase the refcount.
10249
10250 2006-09-29  Wim Taymans  <wim@fluendo.com>
10251
10252         * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
10253         * libs/gst/net/gstnettimeprovider.c:
10254         (gst_net_time_provider_thread):
10255         Stop reading commands when EOF as well.
10256
10257         * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init):
10258         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init):
10259         * plugins/elements/gstidentity.c: (gst_identity_class_init):
10260         Unify description of the dump property.
10261
10262 2006-09-28  Jan Schmidt  <thaytan@mad.scientist.com>
10263
10264         * tests/examples/manual/.cvsignore:
10265         OK, so it's actually cvsignore that needs changing. Stop laughing.
10266
10267 2006-09-28  Jan Schmidt  <thaytan@mad.scientist.com>
10268
10269         * tests/examples/manual/Makefile.am:
10270         Gah, declare vars *before* using them
10271
10272 2006-09-28  Jan Schmidt  <thaytan@mad.scientist.com>
10273
10274         * gst/gst.c: (init_pre), (scan_and_update_registry),
10275         (ensure_current_registry_nonforking),
10276         (ensure_current_registry_forking), (ensure_current_registry),
10277         (init_post), (gst_debug_help), (gst_deinit):
10278         * gst/gst_private.h:
10279         * gst/gstregistry.c: (gst_registry_finalize),
10280         (gst_registry_remove_features_for_plugin_unlocked),
10281         (gst_registry_remove_plugin), (gst_registry_scan_path_level),
10282         (gst_registry_scan_path),
10283         (_priv_gst_registry_remove_cache_plugins),
10284         (_priv_gst_registry_cleanup):
10285         * gst/gstregistry.h:
10286         Re-commit the registry changes, along with an extra fix:
10287           When a cached plugin is encountered at a different file path,
10288           update the stored path in the registry cache so that the parent
10289           process knows where it actually is now when it re-reads the registry
10290           cache. Fixes the thing that broke distcheck with the previous commit.
10291
10292         * tests/check/Makefile.am:
10293         Clean up files named 'core' too when running make clean.
10294
10295         * tests/examples/manual/Makefile.am:
10296         Set up a registry path for running these tests, and clean it properly
10297         for distcheck.
10298
10299 2006-09-28  Jan Schmidt  <thaytan@mad.scientist.com>
10300
10301         * configure.ac:
10302         Don't pull in gmodule-2.0.pc as a dependency in our .pc files - we
10303         want gmodule-no-export-2.0.pc instead so that we don't drag in
10304         --export-dynamic on every project that links to GStreamer.
10305
10306         Also, make our export regex only match the start of symbols, rather 
10307         than any symbol that contains '_gst' somewhere.
10308
10309         * libs/gst/check/Makefile.am:
10310         The libgstcheck we build does however need export-dynamic, as it
10311         produces some symbols that don't match our _gst... style regex.
10312         Fixes: #318031
10313
10314 2006-09-27  Jan Schmidt  <thaytan@mad.scientist.com>
10315
10316         * gst/gst.c: (init_pre), (scan_and_update_registry),
10317         (ensure_current_registry_nonforking),
10318         (ensure_current_registry_forking), (ensure_current_registry),
10319         (init_post), (gst_debug_help), (gst_deinit):
10320         * gst/gst_private.h:
10321         * gst/gstregistry.c: (gst_registry_finalize),
10322         (gst_registry_remove_plugin), (gst_registry_scan_path_level),
10323         (gst_registry_scan_path), (_gst_registry_remove_cache_plugins),
10324         (_gst_registry_cleanup):
10325         * gst/gstregistry.h:
10326           Revert previous change until I figure out why it breaks distcheck.
10327
10328 2006-09-27  Jan Schmidt  <thaytan@mad.scientist.com>
10329
10330         * gst/gst.c: (init_pre), (scan_and_update_registry),
10331         (ensure_current_registry_nonforking),
10332         (ensure_current_registry_forking), (ensure_current_registry),
10333         (init_post), (gst_debug_help), (gst_deinit):
10334
10335           Make init_pre and init_post take the full complement of GOptionFunc
10336           args so they can return useful GErrors. Make the registry updating
10337           functions do so.
10338
10339           Call _priv_gst_registry_remove_cache_plugins after scanning files to
10340           ensure that the registry we're about to write out doesn't contain
10341           stale information about old-deleted plugin files.
10342
10343           Make _priv_gst_registry_remove_cache_plugins return a boolean so
10344           that deletion of plugin files is considered a registry change.
10345
10346         * gst/gst_private.h:
10347         * gst/gstregistry.c: (gst_registry_finalize),
10348         (gst_registry_remove_features_for_plugin_unlocked),
10349         (gst_registry_remove_plugin), (gst_registry_scan_path_level),
10350         (gst_registry_scan_path),
10351         (_priv_gst_registry_remove_cache_plugins),
10352         (_priv_gst_registry_cleanup):
10353         * gst/gstregistry.h:
10354         Rename _gst_registry_remove_cache_plugins and _gst_registry_cleanup
10355         by adding _priv prefix, so that they won't appear in the global
10356         symbol table. They still do atm though because of #318031. Move the
10357         prototypes to gst_private.h
10358
10359         When removing a plugin, remove all features for that plugin too. 
10360         Fixes #340878.
10361
10362 2006-09-27  Wim Taymans  <wim@fluendo.com>
10363
10364         * docs/random/moving-plugins:
10365         Make it clear that the "compiled-in descriptions" really mean
10366         the element details.
10367
10368         * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
10369         (gst_base_sink_wait_preroll):
10370         Update docs.
10371
10372         * docs/libs/gstreamer-libs-sections.txt:
10373         * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
10374         (gst_base_src_get_range), (gst_base_src_activate_push):
10375         * libs/gst/base/gstbasesrc.h:
10376         Added function to block while waiting for PLAYING, this function
10377         is used by live sources that block on the clock.
10378         API: gst_base_src_wait_playing()
10379
10380 2006-09-27  Tim-Philipp Müller  <tim at centricular dot net>
10381
10382         Patch by: Peter Kjellerstedt <pkj at axis com>
10383
10384         * Makefile.am:
10385           gst-element-check.m4 is generated and should therefore be
10386           copied from the build dir rather than the source dir (#357593).
10387           'make distcheck' hasn't noticed this because we were disting
10388           the file as well, so stop doing that.
10389
10390 2006-09-27  Tim-Philipp Müller  <tim at centricular dot net>
10391
10392         * tests/check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
10393           Add some tests for gst_caps_intersect().
10394
10395         * tools/gst-launch.c: (event_loop):
10396           Print all buffering percentages we get, even the 100% one.
10397
10398 2006-09-26  Wim Taymans  <wim@fluendo.com>
10399
10400         * tools/gst-inspect.c: (print_element_properties_info),
10401         (print_signal_info):
10402         Fix printing of flags to match the look of enums.
10403
10404 2006-09-25  Tim-Philipp Müller  <tim at centricular dot net>
10405
10406         * gst/gstelementfactory.c:
10407           Fix typo in docs blurb.
10408
10409 2006-09-25  Tim-Philipp Müller  <tim at centricular dot net>
10410
10411         * gst/gsturi.c: (search_by_entry):
10412           Don't assert/crash here if a uri handler doesn't return any
10413           supported protocols. The list of protocols could be generated
10414           dynamically at runtime or at plugin registration, and an error
10415           in the underlying library shouldn't be fatal (#353301).
10416
10417 2006-09-25  Tim-Philipp Müller  <tim at centricular dot net>
10418
10419         * gst/gstinfo.c:
10420           Fix warning if HAVE_PRINTF_EXTENSION is undefined
10421           (spotted by Peter Kjellerstedt).
10422
10423 2006-09-23  Wim Taymans  <wim@fluendo.com>
10424
10425         Based on patch by: Antoine Tremblay <hexa00 at gmail dot com>
10426
10427         * libs/gst/base/gstbasesrc.c:
10428         (gst_base_src_default_check_get_range), (gst_base_src_start),
10429         (gst_base_src_activate_push), (gst_base_src_activate_pull),
10430         (gst_base_src_change_state):
10431         Match _start/_stop calls in the activate functions. Remove redundant
10432         _stop call from the state change function. Fixes #356910.
10433         Turn failure DEBUG into ERROR. 
10434
10435 2006-09-22  Wim Taymans  <wim@fluendo.com>
10436
10437         * docs/design/part-buffering.txt:
10438         * gst/gstmessage.c: (gst_message_new_buffering),
10439         (gst_message_parse_buffering):
10440         Update docs about buffering.
10441
10442         * docs/design/part-trickmodes.txt:
10443         Fix typo.
10444
10445 2006-09-22  Stefan Kost  <ensonic@users.sf.net>
10446
10447         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
10448         (gst_controller_new_list):
10449           Ref instances when returning them again (fixes #357180)
10450
10451 2006-09-22  Tim-Philipp Müller  <tim at centricular dot net>
10452
10453         * gst/gstghostpad.c: (gst_ghost_pad_set_target):
10454           Don't forget to release proxy lock when there's an error.
10455
10456 2006-09-20  Jan Schmidt  <thaytan@mad.scientist.com>
10457
10458         * gst/gstcaps.h:
10459           Add extra initialisers for Caps things, to fix some plugin warnings
10460           when using -Wextra
10461
10462 2006-09-18  Wim Taymans  <wim@fluendo.com>
10463
10464         * gst/gstghostpad.c: (gst_ghost_pad_new_full):
10465           Also set template on the internal pad so that a getcaps from the 
10466           target pad returns the template caps.
10467
10468 2006-09-18  Wim Taymans  <wim@fluendo.com>
10469
10470         * gst/gstelement.c: (gst_element_post_message),
10471         (gst_element_dispose):
10472         Use _DEBUG_OBJECT some more.
10473
10474         * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
10475         Avoid typechecks.
10476
10477         * tools/gst-launch.c: (main):
10478         If the toplevel element is not a GstPipeline, it must be put in a
10479         pipeline so that a bus and clock is selected.
10480
10481 2006-09-17  Tim-Philipp Müller  <tim at centricular dot net>
10482
10483         * libs/gst/base/gstbasesrc.c: (gst_base_src_default_query):
10484           JITTER, RATE, and LATENCY query should be handled by the
10485           default case and not by the CONVERT query code.
10486
10487 2006-09-17  Tim-Philipp Müller  <tim at centricular dot net>
10488
10489         * gst/gstformat.c: (gst_format_register):
10490           Fix locking order (must take lock before using n_values).
10491
10492         * gst/gstvalue.c: (gst_value_serialize_enum),
10493         (gst_value_deserialize_enum_iter_cmp),
10494         (gst_value_deserialize_enum):
10495           Fix serialisation/deserialisation of custom registered GstFormats.
10496
10497         * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
10498           Unit test for custom format serialisation/deserialisation.
10499
10500 2006-09-17  Stefan Kost  <ensonic@users.sf.net>
10501
10502         * docs/pwg/building-boiler.xml:
10503         * plugins/elements/gstcapsfilter.c:
10504         More G_OBJECT macro fixing. Also Fix some details on the plugin-stamp
10505         section.
10506
10507 2006-09-16  Edward Hervey  <edward@fluendo.com>
10508
10509         * libs/gst/base/gstbasetransform.c:
10510         (gst_base_transform_buffer_alloc):
10511         Check if requested caps are the same as the sinks caps IF
10512         ->have_same_caps is TRUE. If they are not, act as if have_same_caps
10513         is FALSE.
10514         This fixes the renegotiation issues stated in #352827.
10515
10516 2006-09-16  Thomas Vander Stichele  <thomas at apestaart dot org>
10517
10518         * configure.ac:
10519         * docs/manual/advanced-autoplugging.xml:
10520         * tests/examples/Makefile.am:
10521         * tests/examples/manual/.cvsignore:
10522         * tests/examples/manual/Makefile.am:
10523         * tests/examples/manual/extract.pl:
10524           Extract the manual examples again like we used to do.
10525           Fix one of them.
10526
10527 2006-09-16  Thomas Vander Stichele  <thomas at apestaart dot org>
10528
10529         * win32/common/config.h:
10530           update for version
10531
10532 2006-09-16  Stefan Kost  <ensonic@users.sf.net>
10533
10534         * gst/gsterror.c:
10535           Documents how to receive errors.
10536
10537 2006-09-15  Wim Taymans  <wim@fluendo.com>
10538
10539         * tools/gst-launch.c: (sigint_handler_sighandler), (check_intr),
10540         (event_loop), (main):
10541         Added some comments here and there.
10542         Post an application message when an interrupt is caught instead of doing
10543         an uncontrolled state change.
10544         Clean up the event loop.
10545         Handle buffering messages, pause/resume the pipeline.
10546         Make shutdown because of an interrupt more reliable.
10547
10548 2006-09-15  Wim Taymans  <wim@fluendo.com>
10549
10550         * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
10551         (gst_base_sink_wait_preroll), (gst_base_sink_do_sync),
10552         (gst_base_sink_preroll_object):
10553         Make sure that our internal state is correct when we commit our state
10554         asynchronously. This solves a race where a state change to PLAYING
10555         could cause the sink to remain blocked in preroll in some situations.
10556
10557 2006-09-15  Wim Taymans  <wim@fluendo.com>
10558
10559         * tools/gst-inspect.c: (print_element_properties_info),
10560         (print_signal_info):
10561         List flags as hex so it's easier to deal with.
10562
10563 2006-09-15  Wim Taymans  <wim@fluendo.com>
10564
10565         * docs/libs/gstreamer-libs-sections.txt:
10566         * libs/gst/base/gstbasesink.c: (gst_base_sink_wait_preroll),
10567         (gst_base_sink_do_sync):
10568         * libs/gst/base/gstbasesink.h:
10569         Expose logic to wait for preroll so that subclasses such as audiosink
10570         can also use this method.
10571         API: gst_base_sink_wait_preroll()
10572
10573 2006-09-15  Wim Taymans  <wim@fluendo.com>
10574
10575         * gst/gstobject.c: (gst_object_set_parent):
10576         * gst/gstpipeline.c: (do_pipeline_seek):
10577         Small cleanups in docs and code.
10578
10579         * gst/gstsegment.c: (gst_segment_clip):
10580         * tests/check/gst/gstsegment.c: (GST_START_TEST):
10581         if stop == start and start is in the segment, no clipping should be
10582         done. Also add a test for this.
10583
10584 2006-09-15  Wim Taymans  <wim@fluendo.com>
10585
10586         * docs/design/part-buffering.txt:
10587         * docs/gst/gstreamer-sections.txt:
10588         * gst/gstmessage.c: (gst_message_new_buffering),
10589         (gst_message_parse_buffering):
10590         * gst/gstmessage.h:
10591         Added methods to create and parse BUFFERING messages.
10592         Added preliminary docs about buffering.
10593         API: gst_message_new_buffering
10594         API: gst_message_parse_buffering
10595
10596 2006-09-06  Wim Taymans  <wim@fluendo.com>
10597
10598         * gst/gstbin.c:
10599         Update documentation.
10600
10601         * gst/gstelement.c: (gst_element_class_init),
10602         (gst_element_release_request_pad), (gst_element_set_clock),
10603         (gst_element_get_index), (gst_element_add_pad),
10604         (gst_element_remove_pad), (gst_element_get_random_pad),
10605         (gst_element_send_event), (gst_element_get_query_types),
10606         (gst_element_query), (gst_element_post_message),
10607         (gst_element_message_full), (gst_element_continue_state),
10608         (gst_element_lost_state), (gst_element_save_thyself),
10609         (gst_element_restore_thyself):
10610         Documentation updates.
10611         Rename last bit of the new-pad -> pad-added signal rename.
10612         Fix the case where an element query would only work if the source
10613         pad was linked.
10614         Avoid some useless type checking in message handling.
10615
10616         * gst/gstevent.c:
10617         * gst/gstevent.h:
10618         * gst/gstutils.c:
10619         Documentation updates.
10620
10621 2006-09-14  Thomas Vander Stichele  <thomas at apestaart dot org>
10622
10623         * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
10624           add an INFO line for when we actually update the fd
10625
10626 2006-09-14  Thomas Vander Stichele  <thomas at apestaart dot org>
10627
10628         * configure.ac:
10629           back to TRUNK
10630
10631 === release 0.10.10 ===
10632
10633 2006-09-14  Thomas Vander Stichele <thomas at apestaart dot org>
10634
10635         * configure.ac:
10636           releasing 0.10.10, "Pais"
10637
10638 2006-09-05  Tim-Philipp Müller  <tim at centricular dot net>
10639
10640         * docs/manual/advanced-position.xml:
10641           Fix typo in sample code.
10642
10643 2006-09-05  Wim Taymans  <wim@fluendo.com>
10644
10645         * libs/gst/net/gstnetclientclock.c: (inet_aton),
10646         (gst_net_client_clock_init), (gst_net_client_clock_finalize),
10647         (gst_net_client_clock_do_select), (gst_net_client_clock_new):
10648         * libs/gst/net/gstnetclientclock.h:
10649         * libs/gst/net/gstnettimepacket.c: (gst_net_time_packet_send):
10650         * libs/gst/net/gstnettimepacket.h:
10651         * libs/gst/net/gstnettimeprovider.c: (inet_aton),
10652         (gst_net_time_provider_init), (gst_net_time_provider_finalize),
10653         (gst_net_time_provider_thread), (gst_net_time_provider_new):
10654         * libs/gst/net/gstnettimeprovider.h:
10655         Make stuff compile on windows. Fixes #345295.
10656
10657 2006-09-03  Tim-Philipp Müller  <tim at centricular dot net>
10658
10659         * gst/gst.c: (ensure_current_registry_forking):
10660           Print better details when child was terminated by signal.
10661
10662 2006-09-03  Tim-Philipp Müller  <tim at centricular dot net>
10663
10664         * gst/gstregistryxml.c: (gst_registry_xml_save_feature):
10665           Print a warning rather than g_assert() if a plugin feature
10666           is a URI handler but returns no protocols (#353976).
10667
10668 2006-09-02  Stefan Kost  <ensonic@users.sf.net>
10669
10670         * docs/random/moving-plugins:
10671         Fix two typos.         
10672
10673 2006-09-01  Tim-Philipp Müller  <tim at centricular dot net>
10674
10675         * gst/gstinfo.c: (_gst_debug_nameof_funcptr):
10676           Fix locking order, handle NULL function values properly.
10677
10678         * gst/gstinfo.h:
10679           Fix docs.
10680
10681         * gst/gstpad.c: (gst_pad_buffer_alloc_unchecked):
10682           Initialise variable before using it and fix debug statement to
10683           print the address of the function rather than the address of the
10684           variable on the stack holding the address of the function.
10685
10686 2006-09-01  Wim Taymans  <wim@fluendo.com>
10687
10688         * gst/gstghostpad.c: (gst_proxy_pad_do_event),
10689         (gst_proxy_pad_do_bufferalloc), (gst_proxy_pad_do_chain),
10690         (gst_proxy_pad_do_getrange), (gst_proxy_pad_do_checkgetrange),
10691         (gst_proxy_pad_set_target_unlocked), (gst_ghost_pad_parent_set),
10692         (gst_ghost_pad_parent_unset),
10693         (gst_ghost_pad_internal_do_activate_push),
10694         (gst_ghost_pad_internal_do_activate_pull),
10695         (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
10696         (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
10697         (gst_ghost_pad_init), (gst_ghost_pad_dispose),
10698         (gst_ghost_pad_new_full), (gst_ghost_pad_new_no_target),
10699         (gst_ghost_pad_new), (gst_ghost_pad_new_from_template),
10700         (gst_ghost_pad_new_no_target_from_template),
10701         (gst_ghost_pad_get_target), (gst_ghost_pad_set_target):
10702         More cleanups.
10703         Avoid needless typechecking in macros.
10704         Since the internal pad is always present and never changes, there is
10705         no need to locking or ref when retrieving it.
10706         Improve debugging a bit.
10707         Handle link errors when setting the target. Fixes #341029.
10708
10709 2006-09-01  Wim Taymans  <wim@fluendo.com>
10710
10711         * docs/libs/gstreamer-libs-sections.txt:
10712         * docs/plugins/gstreamer-plugins-sections.txt:
10713         Fix docs some more.
10714
10715         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad),
10716         (gst_collect_pads_event):
10717         * libs/gst/base/gstcollectpads.h:
10718         Documentation updates.
10719         Free queued buffer when removing a pad.
10720
10721 2006-08-31  Michael Smith  <msmith@fluendo.com>
10722
10723         * gst/gstutils.c: (gst_element_link_pads),
10724         (gst_element_link_pads_filtered):
10725           Ensure that we set a capsfilter to NULL if we failed to link it
10726           when doing filtered linking, to avoid criticals.
10727
10728           No need to check for unreffing srcpad, which is explicly NULLed
10729           above (a trivial code cleanup).
10730
10731 2006-08-31  Wim Taymans  <wim@fluendo.com>
10732
10733         * docs/design/part-gstghostpad.txt:
10734         Update ascii art in documentation.
10735
10736         * gst/gstghostpad.c: (gst_proxy_pad_do_internal_link),
10737         (gst_proxy_pad_set_target_unlocked), (gst_proxy_pad_init),
10738         (gst_ghost_pad_parent_set), (gst_ghost_pad_parent_unset),
10739         (gst_ghost_pad_internal_do_activate_push),
10740         (gst_ghost_pad_internal_do_activate_pull),
10741         (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
10742         (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
10743         (gst_ghost_pad_dispose), (gst_ghost_pad_new_full),
10744         (gst_ghost_pad_set_target):
10745         Small cleanups and leak fixes.
10746         Remove some checks now that the internal pad is never NULL.
10747         Fix the case where linking pads without a target would create nasty
10748         criticals. Fixes #341029.
10749         Don't assign a GstPadLinkReturn to a gboolean and mess up the return
10750         value of _set_target().
10751
10752         * tests/check/gst/gstghostpad.c: (GST_START_TEST),
10753         (gst_ghost_pad_suite):
10754         Some more tests for creating and linking untargeted ghostpads.
10755
10756 2006-08-31  Edward Hervey  <edward@fluendo.com>
10757
10758         * docs/gst/gstreamer-sections.txt:
10759         * gst/gstghostpad.c: (gst_proxy_pad_do_getcaps),
10760         (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target_unlocked),
10761         (gst_proxy_pad_dispose), (gst_ghost_pad_new_full),
10762         (gst_ghost_pad_new_no_target), (gst_ghost_pad_new),
10763         (gst_ghost_pad_new_from_template),
10764         (gst_ghost_pad_new_no_target_from_template):
10765         * gst/gstghostpad.h:
10766         Refactored *_new() functions.
10767         Templates are now used as a g_object_new() parameter.
10768         Use template in _do_getcaps() if we don't have a target.
10769         Small documentation cleanups.
10770         Added two new constructors:
10771         gst_ghost_pad_new_from_template()
10772         gst_ghost_pad_new_no_target_from_template()
10773         * tests/check/gst/gstghostpad.c: (GST_START_TEST),
10774         (gst_ghost_pad_suite):
10775         Added tests for new ghostpad instanciation functions.
10776
10777         API additions: gst_ghost_pad_new_from_template,
10778         gst_ghost_pad_new_no_target_from_template
10779
10780 2006-08-30  Stefan Kost  <ensonic@users.sf.net>
10781
10782         * docs/random/ensonic/profiling.txt:
10783           Ideas about qos profiling.
10784
10785 2006-08-29  Wim Taymans  <wim@fluendo.com>
10786
10787         * gst/gstcaps.c: (gst_caps_structure_is_subset_field):
10788         Code cleanups.
10789         Fix memleak.
10790
10791 2006-08-29  Tim-Philipp Müller  <tim at centricular dot net>
10792
10793         * gst/gstxml.c:
10794           Improve and detypofy docs.
10795
10796         * tests/check/Makefile.am:
10797         * tests/check/gst/.cvsignore:
10798         * tests/check/gst/gstxml.c: (GST_START_TEST), (gst_xml_suite):
10799           Add a basic test suite for GstXML.
10800
10801 2006-08-29  Wim Taymans  <wim@fluendo.com>
10802
10803         * gst/gstelement.c: (activate_pads), (clear_caps),
10804         (iterator_activate_fold_with_resync), (gst_element_pads_activate):
10805         Clear the pad caps when the element shut down all of the pads and
10806         is not streaming data that could modify the caps. 
10807         Fixes #352958.
10808
10809 2006-08-28  Michael Smith  <msmith@fluendo.com>
10810
10811         * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
10812           Revert previous change; I misunderstood single-segment mode.
10813
10814 2006-08-28  Michael Smith  <msmith@fluendo.com>
10815
10816         * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
10817           Unset DISCONT on buffers when using single-segment mode.
10818
10819 2006-08-28  Wim Taymans  <wim@fluendo.com>
10820
10821         * gst/gstcaps.c: (gst_caps_merge_structure):
10822         * gst/gstcaps.h:
10823         Fix docs and indentation again.
10824
10825         * tests/check/gst/gstquery.c: (GST_START_TEST):
10826         Fix leak in tests and add some more tests.
10827
10828 2006-08-28  Edward Hervey  <edward@fluendo.com>
10829
10830         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
10831         Inform GstSegment of the last stop position in order for the current
10832         segment to have a proper duration if it doesn't have a specific stop
10833         position from which a duration could be calculated.
10834         This bug was noticeable when a non-flushing, non-update new segment was
10835         followed by another segment (all buffers from the new segment were being
10836         dropped).
10837
10838 2006-08-28  Wim Taymans  <wim@fluendo.com>
10839
10840         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek):
10841         Small comment update.
10842
10843         * plugins/elements/gstidentity.c: (gst_identity_class_init),
10844         (gst_identity_transform_ip):
10845         Drop-probability is broken, mention this in the code with a 
10846         FIXME and also in the property description.
10847         Make silent also be silent about the drop messages.
10848
10849 2006-08-28  Tim-Philipp Müller  <tim at centricular dot net>
10850
10851         * docs/manual/appendix-win32.xml:
10852           Remove mention of popt, we don't depend on that any
10853           longer (#353136). Add some comments pointing out that
10854           this section is slightly outdated.
10855
10856 2006-08-28  Wim Taymans  <wim@fluendo.com>
10857
10858         Patch by: Torsten Schoenfeld <kaffeetisch at gmx dot de>
10859
10860         * gst/gstquery.c: (gst_query_new_segment):
10861         * tests/check/gst/gstquery.c: (GST_START_TEST):
10862         Initialize variables when creating a new segment query.
10863         Fixes #353121.
10864
10865 2006-08-28  Wim Taymans  <wim@fluendo.com>
10866
10867         Patch by: Torsten Schoenfeld <kaffeetisch at gmx dot de>
10868
10869         * gst/gstelement.c: (gst_element_get_bus):
10870         * tests/check/gst/gstelement.c: (GST_START_TEST):
10871         Check for NULL before _reffing the bus. Fixes #353122.
10872
10873 2006-08-25  Tim-Philipp Müller  <tim at centricular dot net>
10874
10875         * docs/manual/basics-bus.xml:
10876           Docs update: fix wrong callback return value explanation; add
10877           some lines about the implicit relationship between main loop
10878           and main context; remove duplicate main loop variable declaration.
10879
10880 2006-08-24  Tim-Philipp Müller  <tim at centricular dot net>
10881
10882         * tests/check/gst/gstcaps.c: (GST_START_TEST):
10883           Don't leak caps in unit test; add a few more simple
10884           checks. 
10885
10886 2006-08-24  Stefan Kost  <ensonic@users.sf.net>
10887
10888         * docs/gst/gstreamer-sections.txt:
10889         * gst/gstcaps.c: (gst_caps_structure_is_subset_field),
10890         (gst_caps_structure_is_subset), (gst_caps_merge),
10891         (gst_caps_merge_structure):
10892         * gst/gstcaps.h:
10893         * libs/gst/base/gstbasetransform.c:
10894         (gst_base_transform_transform_caps):
10895         * tests/check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
10896           implement caps merging (fixes #352580)
10897
10898 2006-08-23  Stefan Kost  <ensonic@users.sf.net>
10899
10900         * tools/Makefile.am:
10901         * tools/gst-plot-timeline.py:
10902           add debug-log plotting developer tool (#340674)
10903
10904 2006-08-23  Wim Taymans  <wim@fluendo.com>
10905
10906         * gst/gstpad.c: (gst_pad_start_task), (gst_pad_pause_task),
10907         (gst_pad_stop_task):
10908         Improve debugging for task functions.
10909
10910         * gst/gsttask.c: (gst_task_func), (gst_task_set_lock),
10911         (gst_task_start), (gst_task_pause), (gst_task_join):
10912         Make sure that the task function started and finished after a 
10913         join(). 
10914         Don't try to push the task function on the threadpool multiple
10915         times.
10916         Improve the g_warning message with some useful suggestions
10917         about how to fix the problem. 
10918
10919 2006-08-23  Wim Taymans  <wim@fluendo.com>
10920
10921         * gst/gstutils.c: (gst_pad_proxy_getcaps):
10922         Handle RESYNC correctly in _proxy_getcaps.
10923
10924 2006-08-21  Tim-Philipp Müller  <tim at centricular dot net>
10925
10926         * gst/gstxml.c: (gst_xml_dispose), (gst_xml_parse_file),
10927         (gst_xml_parse_memory), (gst_xml_get_element):
10928           Chain up to parent class in dispose function and also
10929           unref the elements in the toplevel_elements GList.
10930           Don't leak XmlDocPtr in _parse_file() and _parse_memory().
10931           Always return a reference in gst_xml_get_element() rather
10932           than only sometimes.
10933
10934         * tools/gst-launch.c: (xmllaunch_parse_cmdline):
10935           Don't leak GstXml object.
10936
10937 2006-08-21  Stefan Kost  <ensonic@users.sf.net>
10938
10939         * docs/gst/gstreamer-sections.txt:
10940         * gst/gstcaps.c: (gst_structure_is_equal_foreach),
10941         (gst_caps_merge):
10942         * gst/gstcaps.h:
10943         * libs/gst/base/gstbasetransform.c:
10944         (gst_base_transform_transform_caps):
10945           API: Add gst_caps_merge() and use it in basetransform, fixes #345444
10946           in a better way
10947
10948 2006-08-21  Edward Hervey  <edward@fluendo.com>
10949
10950         * gst/gstxml.c: (gst_xml_class_init), (gst_xml_dispose):
10951         Implement GObject::dispose virtual method in GstXML so we can free the
10952         top_elements GList.
10953
10954 2006-08-21  Wim Taymans  <wim@fluendo.com>
10955
10956         * gst/gstbuffer.c: (gst_buffer_make_metadata_writable),
10957         (gst_buffer_create_sub):
10958         Copy duration/offset_end/caps when creating a subbuffer of the
10959         complete parent.
10960         Make the subbuffer read-only when we make the metadata writable for
10961         now. Fixes #351768.
10962
10963         * tests/check/gst/gstbuffer.c: (GST_START_TEST):
10964         Added check for metadata copy when creating subbuffers.
10965
10966 2006-08-21  Edward Hervey  <edward@fluendo.com>
10967
10968         * libs/gst/base/gstbasetransform.c:
10969         (gst_base_transform_buffer_alloc):
10970         Only call downstream buffer_alloc if transform element is passthrough
10971         or always_in_place. Closes #350449.
10972
10973 2006-08-20  Stefan Kost  <ensonic@users.sf.net>
10974
10975         * ChangeLog:
10976           ChangeLog surgery to add comments to previous changes
10977
10978 2006-08-20  Stefan Kost  <ensonic@users.sf.net>
10979
10980         * gst/gst.c:
10981           Add comments
10982
10983         * gst/gstpad.c: (gst_pad_set_active):
10984           Be more verbose in the log
10985
10986         * libs/gst/base/gstbasetransform.c:
10987         (gst_base_transform_transform_caps):
10988           Simplify caps to get rid of duplicates, fixes #345444
10989
10990 2006-08-20  Stefan Kost  <ensonic@users.sf.net>
10991
10992         * gst/gstvalue.c:
10993         * gst/gstvalue.h:
10994           Use these optimizations only internally.
10995
10996 2006-08-20  Stefan Kost  <ensonic@users.sf.net>
10997
10998         * gst/gstvalue.c: (gst_value_compare_list),
10999         (gst_value_compare_fraction_range),
11000         (gst_value_intersect_fraction_fraction_range),
11001         (gst_value_intersect_fraction_range_fraction_range),
11002         (gst_value_subtract_fraction_fraction_range),
11003         (gst_value_subtract_fraction_range_fraction_range),
11004         (gst_value_get_compare_func), (gst_value_compare),
11005         (gst_value_compare_with_func):
11006         * gst/gstvalue.h:
11007           Saves the expensive lookup of the compare function in many cases
11008          (#345444)
11009
11010 2006-08-18  Edward Hervey  <edward@fluendo.com>
11011
11012         * tests/check/gst/gstinfo.c: (gst_info_suite):
11013         Disable test that require gstdebug if it wasn't built in core.
11014
11015 2006-08-18  Stefan Kost  <ensonic@users.sf.net>
11016
11017         * docs/random/ensonic/logging.txt:
11018           update ideas
11019           
11020         * gst/gstinfo.c: (gst_debug_log_default):
11021           reorder fields, save some columns, add optional color codes for log
11022           levels
11023
11024 2006-08-18  Stefan Kost  <ensonic@users.sf.net>
11025
11026         * docs/random/ensonic/logging.txt:
11027           add ideas about making the logs a bit more useful
11028
11029 2006-08-17  Tim-Philipp Müller  <tim at centricular dot net>
11030
11031         * docs/pwg/advanced-events.xml:
11032         * docs/pwg/titlepage.xml:
11033           Update for 0.10 API (#340627). Add myself
11034           to authors list.
11035
11036 2006-08-17  Tim-Philipp Müller  <tim at centricular dot net>
11037
11038         * docs/libs/gstreamer-libs-docs.sgml:
11039         * docs/libs/gstreamer-libs-sections.txt:
11040         * libs/gst/check/gstbufferstraw.c:
11041           Make gstcheck stuff show up in docs (still needs to
11042           be documented properly though).
11043
11044 2006-08-16  Jan Schmidt  <thaytan@mad.scientist.com>
11045
11046         * docs/gst/gstreamer-sections.txt:
11047         * gst/Makefile.am:
11048         * gst/gst.c: (init_post):
11049         * gst/gst_private.h:
11050         * gst/gstquark.c: (_priv_gst_quarks_initialize):
11051         * gst/gstquark.h:
11052         * gst/gstquery.c: (gst_query_new_position),
11053         (gst_query_set_position), (gst_query_parse_position),
11054         (gst_query_new_duration), (gst_query_set_duration),
11055         (gst_query_parse_duration), (gst_query_new_convert),
11056         (gst_query_set_convert), (gst_query_parse_convert),
11057         (gst_query_new_segment), (gst_query_set_segment),
11058         (gst_query_parse_segment), (gst_query_new_seeking),
11059         (gst_query_set_seeking), (gst_query_parse_seeking):
11060         Add internal helpers for pre-registering quarks from static strings
11061         and using the quark values directly instead of looking them up when
11062         creating and parsing queries. Can be used for event construction too.
11063         Closes #350432.
11064
11065 2006-08-16  Wim Taymans  <wim@fluendo.com>
11066
11067         * gst/gstbin.c:
11068         Fix bogus docs.
11069
11070 2006-08-15  Tim-Philipp Müller  <tim at centricular dot net>
11071
11072         * gst/gstutils.c: (gst_util_set_value_from_string):
11073           Fix memleak (#351502).
11074
11075         * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
11076           Add unit test for most of gst_util_set_value_from_string()
11077           (not that one would want to encourage use of this function).
11078
11079 2006-08-15  Tim-Philipp Müller  <tim at centricular dot net>
11080
11081         * libs/gst/check/gstcheck.h:
11082           Use const gchar * variables in fail_unless_equals_string
11083           macro to avoid compiler warnings (and don't use tabs for
11084           indenting).
11085
11086 2006-08-15  Tim-Philipp Müller  <tim at centricular dot net>
11087
11088         * tools/gst-launch.c: (print_tag):
11089           More space on the left for the tag names, to cater
11090           for the 'extended comment' tag (not touching the
11091           string for the first line since it's translated).
11092
11093 2006-08-15  Tim-Philipp Müller  <tim at centricular dot net>
11094
11095         * libs/gst/check/gstcheck.h:
11096           Fix ASSERT_CRITICAL and ASSERT_WARNING macros to actually
11097           print something when they fail.
11098
11099 2006-08-14  Tim-Philipp Müller  <tim at centricular dot net>
11100
11101         * docs/gst/gstreamer-sections.txt:
11102         * gst/gsttaglist.c: (_gst_tag_initialize):
11103         * gst/gsttaglist.h:
11104           API: add GST_TAG_EXTENDED_COMMENT (#350935).
11105           Also change merge function for GST_TAG_COMMENT to
11106           use_first.
11107
11108 2006-08-14  Tim-Philipp Müller  <tim at centricular dot net>
11109
11110         * gst/gstinfo.c: (gst_debug_print_object):
11111           Make GST_PTR_FORMAT print messages as well.
11112
11113         * tests/check/gst/gstinfo.c: (printf_extension_log_func),
11114         (GST_START_TEST), (gst_info_suite):
11115           More tests.
11116
11117 2006-08-14  Edward Hervey  <edward@fluendo.com>
11118
11119         * gst/gstelementfactory.c: (gst_element_register):
11120         If the GstElementClass doesn't have a GstElementDetails with all fields
11121         filled up correctly (longname, description AND author), then error out
11122         nicely instead of crashing.
11123
11124 2006-08-14  Tim-Philipp Müller  <tim at centricular dot net>
11125
11126         * gst/gststructure.c:
11127           Fix typo in docs and re-wrap docs blurb to not exceed 80 chars/line.
11128
11129         * gst/gstvalue.h:
11130           Expand on the difference between arrays and lists as we use them.
11131           
11132 2006-08-14  Wim Taymans  <wim@fluendo.com>
11133
11134         * libs/gst/base/gstbasesrc.c: (gst_base_src_change_state):
11135         If the parent state change function failed, don't assume we can safely
11136         stop the source, this will be done when the pads are deactivated.
11137
11138 2006-08-14  Wim Taymans  <wim@fluendo.com>
11139
11140         * gst/gstbuffer.c:
11141         * gst/gsttask.c: (gst_task_join):
11142         Small doc updates.
11143
11144         * gst/gstpad.c: (gst_pad_activate_pull), (gst_pad_activate_push),
11145         (gst_pad_stop_task):
11146         When pad (de)activation failed for some reason, restore the old
11147         activation mode and set the pad to flushing instead of assuming the
11148         pad is deactivated.
11149         If the _task_join() failed, reinstall the task on the pad so that it can
11150         be stopped later and return an error.
11151
11152 2006-08-11  Andy Wingo  <wingo@pobox.com>
11153
11154         * configure.ac:
11155         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packetizer_new):
11156         * tests/check/libs/gdp.c: (gst_dp_suite): GST_DISABLE_DEPRECATED
11157         is only for users of API that don't want to see deprecated
11158         functions in the headers; people that want to compile out
11159         deprecated code should pass -DGST_REMOVE_DEPRECATED into the
11160         CFLAGS. Fixes the build of multifdsink, or will soon..
11161
11162 2006-08-11  Wim Taymans  <wim@fluendo.com>
11163
11164         * docs/gst/gstreamer-sections.txt:
11165         Add GstClockClass vmethod docs.
11166
11167         * gst/gstcaps.h:
11168         Mark #endif with comment for associated #if
11169
11170         * gst/gstclock.c: (gst_clock_id_wait):
11171         * gst/gstclock.h:
11172         Add vmethod wait_jitter to avoid an unneeded _get_time() for
11173         most clock implementations.
11174         Document vmethods.
11175         Flesh out docs about resolution methods.
11176         API: GstClockClass::wait_jitter
11177
11178         * gst/gstsystemclock.c: (gst_system_clock_class_init),
11179         (gst_system_clock_async_thread),
11180         (gst_system_clock_id_wait_jitter_unlocked),
11181         (gst_system_clock_id_wait_jitter):
11182         Use base class wait_jitter variant for improved performance
11183         due to less clock polling.
11184
11185 2006-08-11  Edward Hervey  <edward@fluendo.com>
11186
11187         * gst/gst.c: (gst_init_check), (init_post):
11188         Set gst as being initialized before scanning/updating the registry,
11189         since there might be my python plugin loader that calls gst_init() and
11190         we don't want to loop back in.
11191         Closes #350879
11192
11193 2006-08-11  Wim Taymans  <wim@fluendo.com>
11194
11195         * docs/design/part-qos.txt:
11196         Bring docs in line with the code. Mostly the sign of the jitter was
11197         wrong in the docs. Fixes #349943.
11198
11199         * gst/gstclock.c:
11200         Fix the docs for the jitter.
11201
11202         * gst/gstevent.c: (gst_event_new_custom), (gst_event_new_tag),
11203         (gst_event_parse_tag), (gst_event_new_buffer_size),
11204         (gst_event_parse_buffer_size), (gst_event_parse_qos),
11205         (gst_event_new_seek), (gst_event_parse_seek),
11206         (gst_event_new_navigation):
11207         Make sure the GstStructure has no parent when creating custom
11208         events.
11209         Add some more argument checking so that we avoid 0.0 rates.
11210         Flesh out the docs for the QoS event some more.
11211
11212 2006-08-11  Wim Taymans  <wim@fluendo.com>
11213
11214         * docs/gst/gstreamer-sections.txt:
11215         * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
11216         (ensure_current_registry_forking), (ensure_current_registry),
11217         (parse_one_option), (parse_goption_arg), (gst_deinit),
11218         (gst_registry_fork_is_enabled), (gst_registry_fork_set_enabled):
11219         * gst/gst.h:
11220         Doc updates.
11221         Added API and command line option to disable registry forking in
11222         addition to the environment variable.
11223         Constify some static arrays.
11224         Added some more debug.
11225         Don't deinit twice.
11226         API: gst_registry_fork_is_enabled()
11227         API: gst_registry_fork_set_enabled()
11228         API: --gst-disable-registry-fork command line option
11229         Fixes #348918.
11230
11231 2006-08-11  Tim-Philipp Müller  <tim at centricular dot net>
11232
11233         * gst/gst.c: (gst_init):
11234           Fix typo in error message.
11235
11236 2006-08-10  Stefan Kost  <ensonic@users.sf.net>
11237
11238         * libs/gst/controller/gstcontroller.h:
11239           fix ABI size-correction
11240
11241         * tests/check/libs/gdp.c: (gst_dp_suite):
11242           make tests that use deprecated API conditional
11243
11244 2006-08-10  Stefan Kost  <ensonic@users.sf.net>
11245
11246         * docs/libs/gstreamer-libs-sections.txt:
11247         * libs/gst/controller/gstcontroller.c:
11248         (_gst_controller_get_property), (_gst_controller_set_property),
11249         (_gst_controller_init), (_gst_controller_class_init):
11250         * libs/gst/controller/gstcontroller.h:
11251         * libs/gst/controller/gsthelper.c: (gst_object_get_control_rate),
11252         (gst_object_set_control_rate):
11253           API: add gst_object_{s,g}et_control_rate(), add private data section,
11254           fix docs
11255
11256         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packetizer_new):
11257         * libs/gst/dataprotocol/dataprotocol.h:
11258           add deprecation guards to make gtk-doc happy and allow disabling cruft
11259
11260 2006-08-09  Tim-Philipp Müller  <tim at centricular dot net>
11261
11262         * tests/check/Makefile.am:
11263         * tests/check/gst/.cvsignore:
11264           Let's enable the new unit test as well.
11265
11266 2006-08-08  Tim-Philipp Müller  <tim at centricular dot net>
11267
11268         * configure.ac:
11269         * docs/gst/gstreamer-sections.txt:
11270         * gst/gstconfig.h.in:
11271         * gst/gstinfo.c: (_gst_debug_init), (gst_debug_print_segment),
11272         (_gst_info_printf_extension_ptr),
11273         (_gst_info_printf_extension_segment):
11274           API: add GST_SEGMENT_FORMAT, which is a printf extension we
11275           register that lets us easily dump GstSegments into debug
11276           logs (#350419).
11277
11278         * tests/check/gst/gstinfo.c: (segment_printf_extension_log_func),
11279         (info_segment_format_printf_extension), (gst_info_suite):
11280           Add simple unit test that logs a bunch of different segments (not
11281           valgrinded at the moment because of leaks in
11282           gst_debug_add_log_function).
11283
11284 2006-08-09  Edward Hervey  <edward@fluendo.com>
11285
11286         * libs/gst/base/gstbasetransform.c:
11287         (gst_base_transform_buffer_alloc):
11288         Even if we can't figure out the proper format to request downstream,
11289         call buffer_alloc() downstream with the input parameters without setting
11290         the caps on the srcpad. This will force negotiation in the chain
11291         function.
11292         Closes #350449
11293
11294 2006-08-08  Edward Hervey  <edward@fluendo.com>
11295
11296         * gst/gstghostpad.c: (gst_ghost_pad_do_unlink):
11297         Unlinking from a pad without a target is now a perfectly valid case
11298         which should NOT raise an assertion.
11299         This case would happen if a linked ghostpad its target set to NULL after
11300         it was previously linked.
11301
11302 2006-08-08  Edward Hervey  <edward@fluendo.com>
11303
11304         * tests/check/libs/gdp.c:
11305         Also comment out the test (see below).
11306
11307 2006-08-08  Edward Hervey  <edward@fluendo.com>
11308
11309         * tests/check/libs/gdp.c: (gst_dp_suite):
11310         Use the architecture information from config.h and not gcc macros
11311         in order to properly disable a test that fails on PPC64.
11312
11313 2006-08-04  Tim-Philipp Müller  <tim at centricular dot net>
11314
11315         * gst/gstelement.c: (gst_element_remove_pad):
11316           Don't crash printing the warning if the pad has no parent.
11317
11318 2006-08-02  Wim Taymans  <wim@fluendo.com>
11319
11320         * libs/gst/dataprotocol/dataprotocol.c:
11321         (gst_dp_header_from_buffer_any), (gst_dp_packet_from_caps_any),
11322         (gst_dp_crc), (gst_dp_header_payload_length),
11323         (gst_dp_header_payload_type), (gst_dp_packet_from_event),
11324         (gst_dp_packet_from_event_1_0), (gst_dp_buffer_from_header),
11325         (gst_dp_caps_from_packet), (gst_dp_event_from_packet_0_2),
11326         (gst_dp_event_from_packet), (gst_dp_validate_header),
11327         (gst_dp_validate_payload):
11328         Make debug category static
11329         Constify the crc table.
11330         Do some more arg checking in public functions.
11331         Fix some docs and do some small cleanups.
11332
11333         * tests/check/libs/gdp.c: (GST_START_TEST), (gst_dp_suite):
11334         Add some more checks to see if GDP deals with bogus input.
11335
11336 2006-07-31  Wim Taymans  <wim@fluendo.com>
11337
11338         * gst/gstvalue.c: (gst_value_compare_list):
11339         Fix GstValueList comparison code. Fixes #347293.
11340
11341         * tests/check/gst/gstvalue.c: (GST_START_TEST):
11342         Check to test GstValueList comparison.
11343
11344 2006-07-31  Jan Schmidt  <thaytan@mad.scientist.com>
11345
11346         * gst/gstelementfactory.c: (gst_element_factory_create):
11347         Remove unnecessary ref/unref pair
11348
11349         * gst/parse/grammar.y:
11350         Make sure to free the parse buffer on all code paths.
11351         Move a g_free up to the error handler where it's easier to see.
11352
11353         * tests/check/gst/gstevent.c: (test_event):
11354         Extending timeout for downstream travelling events to 10 seconds to
11355         hopefully avoid intermittent failure on the buildbots.
11356
11357         * tests/check/pipelines/parse-launch.c: (run_delayed_test):
11358         Don't manually set the state of the src element - it will happen as a
11359         natural consequence of the pipeline changing state, and that way it
11360         will do it in the right order too.
11361
11362 2006-07-31  Wim Taymans  <wim@fluendo.com>
11363
11364         * libs/gst/base/gstbasetransform.c:
11365         (gst_base_transform_buffer_alloc):
11366         Use OBJECT_LOCK and refcounting to get the pad caps in the
11367         buffer_alloc function because the caps could change while we are
11368         busy with them. Fixes #349105
11369
11370 2006-07-31  Wim Taymans  <wim@fluendo.com>
11371
11372         * gst/gstutils.c: (gst_pad_get_fixed_caps_func):
11373         Protect _PAD_CAPS with OBJECT_LOCK.
11374
11375 2006-07-31  Wim Taymans  <wim@fluendo.com>
11376
11377         * gst/gstpad.c: (gst_pad_class_init), (gst_pad_dispose),
11378         (gst_pad_get_property), (gst_pad_activate_pull),
11379         (gst_pad_activate_push), (gst_pad_set_blocked_async),
11380         (gst_pad_set_activate_function),
11381         (gst_pad_set_activatepull_function),
11382         (gst_pad_set_activatepush_function), (gst_pad_set_chain_function),
11383         (gst_pad_set_getrange_function),
11384         (gst_pad_set_checkgetrange_function), (gst_pad_set_event_function),
11385         (gst_pad_set_query_function), (gst_pad_set_query_type_function),
11386         (gst_pad_set_internal_link_function), (gst_pad_set_link_function),
11387         (gst_pad_set_unlink_function), (gst_pad_set_getcaps_function),
11388         (gst_pad_set_acceptcaps_function),
11389         (gst_pad_set_fixatecaps_function), (gst_pad_set_setcaps_function),
11390         (gst_pad_set_bufferalloc_function), (gst_pad_link_check_hierarchy),
11391         (gst_pad_get_caps_unlocked), (gst_pad_get_caps),
11392         (gst_pad_peer_get_caps), (gst_pad_accept_caps),
11393         (gst_pad_peer_accept_caps), (gst_pad_set_caps),
11394         (gst_pad_configure_sink), (gst_pad_configure_src),
11395         (gst_pad_get_allowed_caps), (gst_pad_get_negotiated_caps),
11396         (gst_pad_buffer_alloc_unchecked), (gst_pad_alloc_buffer_full),
11397         (gst_pad_query), (gst_pad_load_and_link), (handle_pad_block),
11398         (gst_pad_chain_unchecked), (gst_pad_push), (gst_pad_get_range),
11399         (gst_pad_send_event):
11400         Use _DEBUG_OBJECT when it makes sense.
11401         Protect GST_PAD_CAPS with the OBJECT_LOCK.
11402         Small cleanups and code reflows.
11403         Avoid caps refcounting in _accept_caps.
11404         Refactor alloc_buffer so that the code performed on the peer is in a
11405         separate function. Also if the pad does not implement a buffer alloc
11406         function, we should still check if the pad is flushing before falling
11407         back to the default allocator.
11408
11409 2006-07-31  Jan Schmidt  <thaytan@mad.scientist.com>
11410
11411         * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
11412         Make all uses of identity and fakesink have silent=true to avoid
11413         serialising every passing data structure, which is breaking tests
11414         on FC4 for some unknown reason.
11415
11416 2006-07-30  Stefan Kost  <ensonic@users.sf.net>
11417
11418         * gst/parse/Makefile.am:
11419         * gst/parse/grammar.y:
11420         * gst/parse/parse.l:
11421           Reverted previous patch as it required to bump the flex dependency to
11422           2.5.31, where fc4/5 seem to ship only the ancient 2.5.4a :(
11423
11424 2006-07-30  Stefan Kost  <ensonic@users.sf.net>
11425
11426         Patch by: Marc-Andre Lureau <marcandre.lureau@gmail.com>
11427
11428         * gst/parse/Makefile.am:
11429         * gst/parse/grammar.y:
11430         * gst/parse/parse.l:
11431           push & pop the state of the lexer for reentrant use case
11432           Fixes #349180
11433
11434 2006-07-29  Tim-Philipp Müller  <tim at centricular dot net>
11435
11436         * libs/gst/base/gstbasesrc.h:
11437           Note in the docs that the ::newsegment vfunc is not actually used by
11438           GstBaseSrc.
11439
11440 2006-07-28  Wim Taymans  <wim@fluendo.com>
11441
11442         * libs/gst/base/gstcollectpads.c:
11443         (gst_collect_pads_set_flushing_unlocked), (gst_collect_pads_pop),
11444         (gst_collect_pads_clear), (gst_collect_pads_flush),
11445         (gst_collect_pads_event), (gst_collect_pads_chain):
11446         When flushing a pad, also clear the queued buffer so that we don't
11447         accidentally use it when we shouldn't.
11448         Fix leaks by inreffing incomming buffer.
11449         Flush out queued buffers in case of errors.
11450         Fixes #347452.
11451
11452 2006-07-28  Wim Taymans  <wim@fluendo.com>
11453
11454         * docs/random/phonon-gst:
11455         Random notes about a Phonon backend.
11456
11457 2006-07-27  Jan Schmidt  <thaytan@mad.scientist.com>
11458
11459         * libs/gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
11460         Extra debug output
11461         * tests/check/libs/gdp.c: (gst_dp_suite):
11462         Take a whack at fixing the ppc compile using a different define to
11463         disable the broken test.
11464
11465         * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
11466         Remove excess g_print()
11467
11468 2006-07-27  Jan Schmidt <thaytan@mad.scientist.com>
11469
11470         * tests/check/pipelines/parse-launch.c: (expected_fail_pipe):
11471         Oops, meant to uncomment this line too to dampen the noise a bit.
11472
11473 2006-07-27  Jan Schmidt <thaytan@mad.scientist.com>
11474
11475         * gst/parse/grammar.y:
11476         * gst/parse/parse.l:
11477         * tests/check/pipelines/parse-launch.c: (expected_fail_pipe),
11478         (GST_START_TEST), (parse_suite):
11479         Fix some of the leaks exposed by extending the parse-launch testsuite,
11480         and move the 3 I can't figure out into a separate test that won't run
11481         the pipelines unless the appropriate line is uncommented.
11482
11483 2006-07-27  Tim-Philipp Müller  <tim at centricular dot net>
11484
11485         * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
11486           Requesting 0 bytes before the end of the file should result in
11487           FLOW_OK and an empty buffer, not FLOW_UNEXPECTED. Thank you
11488           unit test.
11489
11490 2006-07-27  Wim Taymans  <wim@fluendo.com>
11491
11492         * gst/gstcaps.c: (gst_static_caps_get), (gst_caps_get_structure):
11493         Fix useless assert, a uint is always positive.
11494
11495         * gst/gststructure.c: (gst_structure_nth_field_name),
11496         (gst_structure_foreach), (gst_structure_map_in_place):
11497         Check input arguments for public functions to avoid obvious crashes.
11498
11499         * plugins/elements/gstfakesink.c: (gst_fake_sink_render):
11500         * plugins/elements/gstfakesink.h:
11501         Do less useless typechecking.
11502
11503 2006-07-27  Tim-Philipp Müller  <tim at centricular dot net>
11504
11505         * plugins/elements/gstfilesrc.c: (gst_file_src_class_init):
11506           Do not use mmap() by default since there are a number of error
11507           conditions that we would like to handle in a non-fatal way that
11508           will result in a SIGBUS if we use mmap(). Examples: external
11509           devices (USB harddrive, portable music player) being unplugged
11510           while in use; file on mounted CD/DVD that can't be read because
11511           the medium is partly damaged. Fixes #348455 and #348475.
11512
11513 2006-07-27  Jan Schmidt  <thaytan@mad.scientist.com>
11514
11515         * gst/gstquery.h:
11516         Delete unused and misleading define of GST_QUERY_TYPE_RATE_DEN -
11517         rates are a gdouble
11518
11519 2006-07-26  Stefan Kost  <ensonic@users.sf.net>
11520
11521         * gst/gstregistry.c:
11522           Move big documentation comment into class section header, so that it
11523           appears in the API docs.
11524
11525 2006-07-26  Jan Schmidt  <thaytan@mad.scientist.com>
11526
11527         * docs/gst/gstreamer-sections.txt:
11528         Oops. Commit the docs additions too for new API.
11529         Also, remove the mention of the non-existent GST_QUERY_TYPE_RATE_DEN
11530
11531 2006-07-26  Jan Schmidt  <thaytan@mad.scientist.com>
11532
11533         * gst/gststructure.c: (gst_structure_id_set),
11534         (gst_structure_id_set_valist):
11535         * gst/gststructure.h:
11536         Add API for setting values into structures without performing
11537         a quark lookup, if the appropriate quark is already known.
11538
11539         API: gst_structure_id_set
11540         API: gst_structure_id_set_valist
11541
11542         * gst/parse/grammar.y:
11543         * gst/parse/parse.l:
11544         Remove some dead code shown by the coverage information.
11545         Don't throw a critical g_warning when encountering a syntax error,
11546         just warn and let the normal error path handle it.
11547
11548         * plugins/elements/gstelements.c:
11549         Bump the rank of filesink up to PRIMARY so that it is preferred over
11550         gnomevfssink for file:// sink uri's
11551
11552         * tests/check/pipelines/parse-launch.c: (expected_fail_pipe),
11553         (GST_START_TEST), (run_delayed_test),
11554         (gst_parse_test_element_base_init),
11555         (gst_parse_test_element_class_init), (gst_parse_test_element_init),
11556         (gst_parse_test_element_change_state),
11557         (gst_register_parse_element), (parse_suite):
11558         Beef up the tests for parse syntax to check that more error cases
11559         fail as they are supposed to. Increases the test coverage a bit.
11560
11561 2006-07-26  Tim-Philipp Müller  <tim at centricular dot net>
11562
11563         * docs/manual/basics-elements.xml:
11564           Fix gst_element_link() example.
11565
11566         * gst/gstutils.c:
11567           Mention in API docs that one should usually gst_bin_add()
11568           elements to a bin or pipeline before doing the linking.
11569           
11570 2006-07-26  Wim Taymans  <wim@fluendo.com>
11571
11572         * gst/gstbuffer.c: (gst_buffer_get_type), (gst_buffer_new),
11573         (gst_subbuffer_get_type), (gst_buffer_create_sub):
11574         Avoid function call for known types by keeping the buffer and
11575         subbuffer GType global.
11576
11577         * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
11578         Random silly optimisations in read() path.
11579
11580 2006-07-26  Jan Schmidt  <thaytan@mad.scientist.com>
11581
11582         * tools/gst-launch.c: (main):
11583           If the top-level of the parse is a normal bin, it doesn't do the
11584           right logic to run as a top-level element, so place it inside a
11585           pipeline.
11586
11587 2006-07-25  Tim-Philipp Müller  <tim at centricular dot net>
11588
11589         * plugins/elements/gstfilesrc.c: (gst_file_src_set_property):
11590           Remove superfluous g_object_notify() calls, GObject does
11591           that for us automatically.
11592
11593 2006-07-25  Stefan Kost  <ensonic@users.sf.net>
11594
11595         * gst/gstinfo.h:
11596           on Win32, use dllspec to export the debug category symbols
11597
11598 2006-07-24  Tim-Philipp Müller  <tim at centricular dot net>
11599
11600         * gst/gsttaglist.c: (_gst_tag_initialize):
11601           Allow more than one GST_TAG_IMAGE per taglist.
11602
11603 2006-07-24  Thomas Vander Stichele  <thomas at apestaart dot org>
11604
11605         * gst/gstminiobject.c:
11606           update docs
11607         * plugins/elements/gstfdsrc.c: (gst_fd_src_set_property),
11608         (gst_fd_src_create):
11609           log recurring events at LOG level
11610           add more debug for when the fd gets set
11611
11612 2006-07-21  Stefan Kost  <ensonic@users.sf.net>
11613
11614         * gst/gstparse.c: (gst_parse_launch):
11615           Also remove reentrance checks if flex is MT safe (#348179)
11616          Fix my empty ChangeLog entry below
11617
11618 2006-07-21  Andy Wingo  <wingo@pobox.com>
11619
11620         * docs/libs/gstreamer-libs-sections.txt: Attempt to pacify buildbot.
11621
11622         * libs/gst/check/Makefile.am
11623         (libgstcheck_@GST_MAJORMINOR@include_HEADERS)
11624         (libgstcheck_@GST_MAJORMINOR@_la_SOURCES): 
11625         * libs/gst/check/gstbufferstraw.h:
11626         * libs/gst/check/gstbufferstraw.c: Add some new hype testing
11627         functions, thus proving I am still a GStreamer haxor. OK I wrote
11628         them a long time ago, but anyways.
11629
11630 2006-07-21  Stefan Kost  <ensonic@users.sf.net>
11631
11632         * configure.ac:
11633         * gst/gstparse.c: (gst_parse_launch):
11634           Check for flex version and omit mutex if we have a MT save flex
11635           (fixes #348179)
11636
11637 2006-07-21  Wim Taymans  <wim@fluendo.com>
11638
11639         * gst/gstparse.c: (gst_parse_launch):
11640         Protect recursive calls to _parse with a recursive mutex
11641         and busy flag.
11642
11643 2006-07-21  Wim Taymans  <wim@fluendo.com>
11644
11645         * tests/check/gst/gstpad.c: (GST_START_TEST):
11646         Fix leak in test.
11647
11648 2006-07-20  Stefan Kost  <ensonic@users.sf.net>
11649
11650         * gst/gstparse.c: (gst_parse_launch):
11651           Do not hang on recursive usage of gst_parse_launch()
11652
11653 2006-07-20  Tim-Philipp Müller  <tim at centricular dot net>
11654
11655         * gst/gsttaglist.c:
11656           Add some more docs, comments and FIXME 0.11s here and there
11657           and also fix some typos.
11658
11659 2006-07-20  Tim-Philipp Müller  <tim at centricular dot net>
11660
11661         * gst/gstsegment.h:
11662           Convert tabs to spaces for better readability. 
11663
11664 2006-07-20  Edward Hervey  <edward@fluendo.com>
11665
11666         * tests/check/libs/gdp.c: (gst_dp_suite):
11667         the test_buffer test fails at line 140 on ppc64 at the following
11668         check:
11669         fail_unless (GST_BUFFER_FLAG_IS_SET (newbuffer,
11670                 GST_BUFFER_FLAG_IN_CAPS),
11671                 "GST_BUFFER_IN_CAPS flag should have been copied !");
11672         See bug #348114 for more details.
11673
11674 2006-07-19  Tim-Philipp Müller  <tim at centricular dot net>
11675
11676         * docs/pwg/advanced-scheduling.xml:
11677         * gst/gstpad.c:
11678           Fix typos (#348000).
11679
11680 2006-07-18  Tim-Philipp Müller  <tim at centricular dot net>
11681
11682         * docs/pwg/intro-basics.xml:
11683           Fix wrong links (#347927).
11684
11685 2006-07-18  Stefan Kost  <ensonic@users.sf.net>
11686
11687         * gst/gstregistry.h:
11688         * gst/gstregistryxml.c: (load_feature),
11689         (gst_registry_xml_read_cache), (gst_registry_xml_save_feature):
11690         * win32/common/config.h:
11691           make --disable-index work (#342564)
11692
11693 2006-07-18  Wim Taymans  <wim@fluendo.com>
11694
11695         Patch by: Peter Kjellerstedt <pkj at axis dot com>
11696
11697         * gst/Makefile.am:
11698         * gst/gsttrace.h:
11699         The attached patch adds two missing defines to gsttrace.h when tracing
11700         is disabled.  It also corrects one existing define.
11701         Fixes #347756.
11702
11703 2006-07-17  Wim Taymans  <wim@fluendo.com>
11704
11705         * docs/gst/gstreamer-sections.txt:
11706         * gst/gst.c: (gst_segtrap_is_enabled), (gst_segtrap_set_enabled):
11707         * gst/gst.h:
11708         * gst/gstplugin.c: (_gst_plugin_fault_handler_restore):
11709         Add two functions to check and change the SIGSEGV behaviour
11710         when loading plugins.
11711         Don't mess with the SIGSEGV handler when we were told not to.
11712         Fixes #347794.
11713         API: gst_segtrap_is_enabled
11714         API: gst_segtrap_set_enabled
11715
11716 2006-07-14  Wim Taymans  <wim@fluendo.com>
11717
11718         * libs/gst/base/gstbasesrc.c: (gst_base_src_update_length):
11719         * tests/check/elements/filesrc.c: (GST_START_TEST):
11720         Revert fix for regression in #347408 after release.
11721
11722 2006-07-14  Tim-Philipp Müller  <tim at centricular dot net>
11723
11724         Patch by: Antoine Tremblay <hexa00 at gmail com>
11725
11726         * gst/gstutils.c: (gst_element_unlink):
11727           Free iterator when done (#347311).
11728
11729         * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
11730           And add a test case for this.
11731
11732 2006-07-14  Jan Schmidt  <thaytan@mad.scientist.com>
11733
11734         * configure.ac:
11735         Bump nano back to CVS
11736
11737 === release 0.10.9 ===
11738
11739 2006-07-13  Jan Schmidt <thaytan@mad.scientist.com>
11740
11741         * configure.ac:
11742           releasing 0.10.9, "On the road again"
11743
11744 2006-07-13  Wim Taymans  <wim@fluendo.com>
11745
11746         * libs/gst/base/gstbasesrc.c: (gst_base_src_update_length):
11747         * tests/check/elements/filesrc.c: (GST_START_TEST):
11748         Revert pull-0 fix for release. Disable check. Fixes #347408.
11749
11750 2006-07-13  Thomas Vander Stichele  <thomas at apestaart dot org>
11751
11752         * libs/gst/dataprotocol/dataprotocol.c:
11753         (gst_dp_event_from_packet_1_0):
11754           Fixes #347337: failure to deserialize event packets with
11755           empty payload (only event type)
11756
11757 2006-07-13  Thomas Vander Stichele  <thomas at apestaart dot org>
11758
11759         * gst/Makefile.am:
11760           do not install a .c file in the header directory
11761
11762 2006-07-13  Edward Hervey  <edward@fluendo.com>
11763
11764         * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked):
11765         GhostPad no longer implicitely use the padtemplates of the targets.
11766         Fixes #347384
11767
11768 2006-07-11  Jan Schmidt  <thaytan@mad.scientist.com>
11769
11770         * gst/gstvalue.c: (gst_value_compare_list),
11771         (gst_value_compare_array), (_gst_value_initialize):
11772         * tests/check/gst/gstvalue.c: (GST_START_TEST):
11773         Make GstValueArray comparison be order dependent as designed.
11774         Add checks for value lists and value array comparisons.
11775         Fixes #347221
11776
11777 2006-07-11  Edward Hervey  <edward@fluendo.com>
11778
11779         * gst/gstbin.c: (activate_pads),
11780         (iterator_activate_fold_with_resync), (gst_bin_src_pads_activate),
11781         (gst_bin_change_state_func):
11782         (de)activate src pads before calling state_change on the childs.
11783         This is to avoid the case where a src ghostpad is blocked (holding the
11784         stream lock), which would block the deactivation of the ghostpad's
11785         target pad.
11786         * gst/gstghostpad.c: (gst_proxy_pad_do_query_type),
11787         (gst_proxy_pad_do_event), (gst_proxy_pad_do_query),
11788         (gst_proxy_pad_do_internal_link), (gst_proxy_pad_do_bufferalloc),
11789         (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange),
11790         (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_getcaps),
11791         (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
11792         (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target_unlocked),
11793         (gst_proxy_pad_set_target), (gst_proxy_pad_get_internal),
11794         (gst_proxy_pad_dispose), (gst_proxy_pad_init),
11795         (gst_ghost_pad_parent_set), (gst_ghost_pad_parent_unset),
11796         (gst_ghost_pad_class_init),
11797         (gst_ghost_pad_internal_do_activate_push),
11798         (gst_ghost_pad_internal_do_activate_pull),
11799         (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
11800         (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
11801         (gst_ghost_pad_dispose), (gst_ghost_pad_new_no_target),
11802         (gst_ghost_pad_new), (gst_ghost_pad_set_target):
11803         GhostPads now create their internal GstProxyPad at creation (and not
11804         when they're linked, as it was being done previously).
11805         The internal and target pads are linked straight away.
11806         The data will also travel through the other pad in order to make
11807         pad blocking and probes non-hackish (the probe/block now really happens
11808         on the GhostPad and not on the target).
11809         * gst/gstpad.c: (gst_pad_set_blocked_async),
11810         (gst_pad_link_prepare), (gst_pad_push_event):
11811         Remove previous ghostpad cruft.
11812         * gst/gstutils.c: (gst_pad_add_data_probe),
11813         (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
11814         (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
11815         (gst_pad_remove_buffer_probe):
11816         Remove previous ghost pad cruft.
11817         Added more detailed debug statements.
11818         * tests/check/gst/gstghostpad.c: (GST_START_TEST):
11819         Fix the testsuite for refcounting changes.
11820         The comments about who has references were correct, but the refcount
11821         being checked wasn't the same (!?!).
11822
11823         Fixes #341029
11824
11825 2006-07-10  Stefan Kost  <ensonic@users.sf.net>
11826
11827         * docs/gst/gstreamer-sections.txt:
11828         * gst/gstconfig.h.in:
11829         More docs for configuration options, add docs to gtk-doc.
11830
11831 2006-07-10  Stefan Kost  <ensonic@users.sf.net>
11832
11833         * gst/Makefile.am:
11834         * gst/gstconfig.h.in:
11835         * win32/common/config.h:
11836         Fix build when disabling tracing (fixes #344016). Also start to document
11837         the defines that disable the sub-systems.
11838
11839 2006-07-10  Edward Hervey  <edward@fluendo.com>
11840
11841         * gst/gst.c: (ensure_current_registry_forking):
11842         let's make valgrind happy...
11843
11844 2006-07-09  Wim Taymans  <wim@fluendo.com>
11845
11846         * gst/gstelement.c: (activate_pads),
11847         (iterator_activate_fold_with_resync), (gst_element_pads_activate):
11848         Better pad activation code: Reset the collect value too on resync.
11849         Add some comments.
11850
11851 2006-07-09  Wim Taymans  <wim@fluendo.com>
11852
11853         * gst/gstpad.c: (gst_pad_init), (gst_pad_activate_pull),
11854         (gst_pad_activate_push):
11855         Use some more macros where it makes sense.
11856         Allow pad mode switching instead of asserting. When a pad
11857         is activated in one mode and we activate it in another, 
11858         deactivate it first before activating it in a different mode.
11859         Fixes #329198.
11860
11861 2006-07-08  Andy Wingo  <wingo@pobox.com>
11862
11863         * tools/gst-launch.c (main): Handle err == NULL.
11864
11865         * gst/gst.c (init_post, ensure_current_registry)
11866         (ensure_current_registry_forking)
11867         (ensure_current_registry_nonforking): Reduce #ifdef ratnest by
11868         factoring out the registry scanning into separate functions. Don't
11869         fork for the rescan is GST_REGISTRY_FORK=no; useful in debugging.
11870         Better environment var name/interface suggestions accepted.
11871
11872 2006-07-07  Tim-Philipp Müller  <tim at centricular dot net>
11873
11874         * gst/gstobject.c: (gst_object_set_name_default),
11875         (gst_object_set_name):
11876           Random micro-optimisation: don't use a hash table
11877           with strings as keys and the usual strdup/strcmp
11878           involved, but rather just use the GQuark of the
11879           type name as key, since it needs to be looked up
11880           anyway to get the type name string.
11881
11882         * tests/check/gst/gstobject.c: (GST_START_TEST):
11883           Fix various leaks.
11884
11885 2006-07-07  Tim-Philipp Müller  <tim at centricular dot net>
11886
11887         * gst/gstbin.c: (compare_interface), (gst_bin_get_by_interface),
11888         (gst_bin_iterate_all_by_interface):
11889           Can't use GPOINTER_TO_INT and GINT_TO_POINTER with GTypes.
11890           GTypes are gulongs and thus the top 4 bytes might be cut
11891           off on some platforms when doing GPOINTER_TO_INT, leading
11892           to invalid GTypes and bad things happening (see RH bug #179654).
11893           Also add a check to make sure the type passed in is really
11894           an interface type.
11895
11896 2006-07-07  Tim-Philipp Müller  <tim at centricular dot net>
11897
11898         * .cvsignore:
11899           Ignore more.
11900
11901 2006-07-07  Tim-Philipp Müller  <tim at centricular dot net>
11902
11903         * Makefile.am:
11904         * configure.ac:
11905         * gst-element-check.m4:
11906         * gst-element-check.m4.in:
11907           Make gst-element-check-$VERSION.m4 call gst-inspect-$VERSION
11908           instead of the unversioned gst-inspect (#324176, #168659).
11909
11910 2006-07-06  Wim Taymans  <wim@fluendo.com>
11911
11912         * gst/gstmessage.h:
11913         Use a valid int for the _MESSAGE_ANY enum value to avoid compiler
11914         warnings.
11915
11916 2006-07-06  Wim Taymans  <wim@fluendo.com>
11917
11918         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
11919         (gst_base_src_wait), (gst_base_src_update_length),
11920         (gst_base_src_get_range), (gst_base_src_default_check_get_range),
11921         (gst_base_src_check_get_range), (gst_base_src_pad_check_get_range),
11922         (gst_base_src_loop), (gst_base_src_start),
11923         (gst_base_src_activate_pull):
11924         Update docs.
11925         blocksize == 0 now means the default blocksize when working in push
11926         based mode.
11927         Remove some pointless asserts in _wait function.
11928         Fix offset/length calculations and EOS handling. We can now pull 0
11929         bytes as well, which is allowed.
11930         use _check_get_range() to decide if we can operate in _pull based
11931         mode.
11932         Fix refcounting leak when check_get_range function was not 
11933         implemented.
11934         API GstBaseSrc::blocksize range can be 0 too now (default)
11935
11936         * tests/check/elements/filesrc.c: (GST_START_TEST),
11937         (filesrc_suite):
11938         Added check to test _get_range() behaviour.
11939
11940 2006-07-06  Wim Taymans  <wim@fluendo.com>
11941
11942         * gst/gstpad.c: (gst_pad_chain_unchecked), (gst_pad_chain),
11943         (gst_pad_push), (gst_pad_check_pull_range), (gst_pad_get_range),
11944         (gst_pad_pull_range):
11945         * gst/gstpad.h:
11946         Lots of comments and docs added to the pad functions.
11947         Flesh out the expected behaviour of the get_range() functions.
11948
11949 2006-07-06  Wim Taymans  <wim@fluendo.com>
11950
11951         * gst/gstbus.h:
11952         * gst/gstclock.h:
11953         * gst/gstevent.h:
11954         * gst/gstiterator.h:
11955         * gst/gstpad.h:
11956         * gst/gstplugin.h:
11957         * gst/gsttask.h:
11958         Remove comma at end of enumerator list. 
11959
11960 2006-07-05  Sebastien Moutte  <sebastien@moutte.net>
11961
11962         * win32/common/libgstbase.def:
11963         * win32/common/libgstdataprotocol.def:
11964         * win32/common/libsgtreamer.def:
11965         Add new exported functions.
11966
11967 2006-07-05  Wim Taymans  <wim@fluendo.com>
11968
11969         * libs/gst/base/gstpushsrc.c: (gst_push_src_check_get_range):
11970         Add some more docs here and there.
11971
11972 2006-07-05  Wim Taymans  <wim@fluendo.com>
11973
11974         * libs/gst/base/gstbasesink.c: (gst_base_sink_preroll_object),
11975         (gst_base_sink_loop), (gst_base_sink_get_position):
11976         When operating in pull mode update the offset so that we
11977         read sequentially.
11978
11979 2006-07-05  Wim Taymans  <wim@fluendo.com>
11980
11981         * gst/gstregistryxml.c: (read_string):
11982         Avoid strdup. (will happen in libxml, but hey!)
11983
11984         * gst/gsturi.c:
11985         Add some more docs.
11986
11987 2006-07-05  Wim Taymans  <wim@fluendo.com>
11988
11989         * gst/gstbuffer.c: (_gst_buffer_copy), (gst_buffer_create_sub):
11990         * tests/check/gst/gstbuffer.c: (GST_START_TEST),
11991         (gst_buffer_suite):
11992         No point in checking if the size of the subbuffer > 0, the
11993         code handles it correclty as demonstrated by unit test.
11994         Also add a unit test for the zero sized _new_and_alloc and
11995         _copy. Fixes #346663.
11996
11997 2006-07-05  Wim Taymans  <wim@fluendo.com>
11998
11999         * libs/gst/base/gstbasetransform.c:
12000         (gst_base_transform_prepare_output_buffer),
12001         (gst_base_transform_buffer_alloc),
12002         (gst_base_transform_handle_buffer):
12003         Make sure the buffer we pass to transform_ip has a refcount of
12004         1 and thus is writable. Fixes #343196
12005
12006 2006-07-04  Jan Schmidt  <thaytan@mad.scientist.com>
12007
12008         * plugins/elements/gstfilesrc.c: (gst_file_src_class_init),
12009         (gst_file_src_init), (gst_file_src_set_property),
12010         (gst_file_src_get_property), (gst_file_src_map_region):
12011         * plugins/elements/gstfilesrc.h:
12012         Add "sequential" property, off by default, to use madvise and hint
12013         to the kernel that sequential access is desired.
12014         Touch all retrieved pages by default to ensure they are pulled
12015         into memory. (Closes #345720)
12016
12017 2006-07-03  Wim Taymans  <wim@fluendo.com>
12018
12019         * docs/design/part-block.txt:
12020         * docs/design/part-dynamic.txt:
12021         Small docs updates.
12022
12023 2006-07-03  Wim Taymans  <wim@fluendo.com>
12024
12025         * gst/gstcaps.c: (gst_caps_new_empty), (_gst_caps_free),
12026         (gst_caps_unref), (gst_static_caps_get),
12027         (gst_caps_append_structure):
12028         * gst/gstclock.c: (gst_clock_entry_new), (_gst_clock_id_free):
12029         Use GSlice when the glib we build against is >= 2.10
12030
12031 2006-07-03  Wim Taymans  <wim@fluendo.com>
12032
12033         * gst/gstelement.c: (gst_element_pads_activate):
12034         Small cleanup in pad activation code.
12035
12036 2006-07-03  Wim Taymans  <wim@fluendo.com>
12037
12038         Patch by: Peter Kjellerstedt <pkj at axis dot com>
12039
12040         * gst/gst-i18n-app.h:
12041         * gst/gst-i18n-lib.h:
12042         * tools/gst-inspect.c: (print_signal_info):
12043         The attached patch will make the inclusion of gettext.h unconditional in
12044         gst/gst-i18n-app.h and gst/gst-i18n-lib.h, and it will remove the inclusion of
12045         libintl.h in tools/gst-inspect.c.
12046         This allows use of --disable-nls again and fixes #344642.
12047
12048 2006-07-03  Edward Hervey  <edward@fluendo.com>
12049
12050         * gst/gstpad.c: (handle_pad_block), (gst_pad_push_event):
12051         Implement pad blocking on events according to part-block.txt.
12052         More comments on behaviour.
12053         * tests/check/gst/gstevent.c: (test_event):
12054         Send event to peer pad of blocked pad (else it will block).
12055
12056 2006-07-03  Thomas Vander Stichele  <thomas at apestaart dot org>
12057
12058         * libs/gst/check/gstcheck.c: (gst_check_message_error),
12059         (gst_check_run_suite):
12060           if we get the wrong message, give us the types as string
12061         * plugins/elements/gstfilesrc.c: (gst_file_src_start):
12062           Fix a translatable
12063         * tests/check/elements/filesrc.c: (GST_START_TEST):
12064           add a test for trying to open a non-existing file
12065
12066 2006-07-03  Thomas Vander Stichele  <thomas at apestaart dot org>
12067
12068         * tests/check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
12069           add a test for adding self
12070
12071 2006-07-03  Thomas Vander Stichele  <thomas at apestaart dot org>
12072
12073         * libs/gst/check/gstcheck.h:
12074           add some assert_ as alias for fail_unless_*
12075         * tests/check/gst/gst.c: (GST_START_TEST), (gst_suite):
12076           increase test coverage
12077
12078 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
12079
12080         * Makefile.am:
12081           include lcov.mak for lcov coverage generation
12082         * tools/Makefile.am:
12083           add to CLEANFILES
12084
12085 2006-07-02  Edward Hervey  <edward@fluendo.com>
12086
12087         * tests/check/elements/.cvsignore:
12088         moaping
12089
12090 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
12091
12092         * configure.ac:
12093           don't set CFLAGS and friends for gcov, done from GST_GCOV now
12094         * tests/check/Makefile.am:
12095           clean up gcov files
12096
12097 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
12098
12099         * gst/gstcaps.c: (gst_caps_remove_and_get_structure):
12100           remove gst_caps_simplify; it was not declared and not used
12101           and deprecated in 0.8
12102
12103 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
12104
12105         * docs/faq/gst-uninstalled:
12106           don't put empty paths on PYTHONPATH
12107         * docs/gst/gstreamer-sections.txt:
12108           remove some symbols that are not there
12109
12110 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
12111
12112         * gst/gstcaps.c: (gst_caps_compare_structures):
12113           whitespace fixes
12114         * tests/check/gst/gstbuffer.c: (GST_START_TEST):
12115         * tests/check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
12116           add more tests
12117
12118 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
12119
12120         * libs/gst/dataprotocol/Makefile.am:
12121           build dataprotocol test by linking to the lib, instead of
12122           compiling the source, so we get coverage
12123         * tests/check/Makefile.am:
12124         * tests/check/elements/filesrc.c: (event_func), (setup_filesrc),
12125         (cleanup_filesrc), (GST_START_TEST), (filesrc_suite):
12126           add a test for filesrc
12127
12128 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
12129
12130         * tests/check/gst/gststructure.c: (GST_START_TEST),
12131         (gst_structure_suite):
12132           Push coverage from 59.04% to 70.00%
12133
12134 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
12135
12136         * tests/check/Makefile.am:
12137           gst-inspect every element; this makes sure that we also get
12138           coverage on element's get/set functions
12139
12140 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
12141
12142         * configure.ac:
12143           set CFLAGS and friends to -O0 if gcov is being used
12144           add GCOV LIBS
12145         * gst/Makefile.am:
12146         * libs/gst/base/Makefile.am:
12147         * libs/gst/check/Makefile.am:
12148         * libs/gst/controller/Makefile.am:
12149         * libs/gst/dataprotocol/Makefile.am:
12150         * libs/gst/net/Makefile.am:
12151         * plugins/elements/Makefile.am:
12152         * plugins/indexers/Makefile.am:
12153           add makefile rules to generate gcov data and clean up
12154         * tests/check/Makefile.am:
12155           add a coverage target that generates an html overview
12156           of coverage data
12157
12158 2006-07-01  Thomas Vander Stichele  <thomas at apestaart dot org>
12159
12160         * tests/check/elements/fakesink.c:
12161         * tests/check/elements/fakesrc.c:
12162         * tests/check/elements/fdsrc.c:
12163         * tests/check/elements/identity.c:
12164         * tests/check/generic/sinks.c: (gst_sinks_suite):
12165         * tests/check/generic/states.c:
12166         * tests/check/gst/gst.c:
12167         * tests/check/gst/gstabi.c:
12168         * tests/check/gst/gstbin.c:
12169         * tests/check/gst/gstbuffer.c: (gst_buffer_suite):
12170         * tests/check/gst/gstbus.c: (gst_bus_suite):
12171         * tests/check/gst/gstcaps.c: (GST_START_TEST):
12172         * tests/check/gst/gstelement.c:
12173         * tests/check/gst/gstevent.c: (gst_event_suite):
12174         * tests/check/gst/gstghostpad.c:
12175         * tests/check/gst/gstiterator.c: (gst_iterator_suite):
12176         * tests/check/gst/gstmessage.c: (gst_message_suite):
12177         * tests/check/gst/gstminiobject.c:
12178         * tests/check/gst/gstobject.c:
12179         * tests/check/gst/gstpad.c:
12180         * tests/check/gst/gstpipeline.c:
12181         * tests/check/gst/gstplugin.c:
12182         * tests/check/gst/gstquery.c: (gst_query_suite):
12183         * tests/check/gst/gstsegment.c: (gst_segment_suite):
12184         * tests/check/gst/gststructure.c:
12185         * tests/check/gst/gstsystemclock.c:
12186         * tests/check/gst/gsttag.c:
12187         * tests/check/gst/gsttask.c: (gst_task_suite):
12188         * tests/check/gst/gstutils.c:
12189         * tests/check/gst/gstvalue.c:
12190         * tests/check/libs/adapter.c:
12191         * tests/check/libs/basesrc.c:
12192         * tests/check/libs/collectpads.c:
12193         * tests/check/libs/controller.c:
12194         * tests/check/libs/gdp.c: (gst_dp_suite):
12195         * tests/check/libs/gstnetclientclock.c:
12196         * tests/check/libs/gstnettimeprovider.c:
12197         * tests/check/libs/libsabi.c: (libsabi_suite):
12198         * tests/check/libs/typefindhelper.c:
12199         * tests/check/pipelines/cleanup.c:
12200         * tests/check/pipelines/parse-launch.c:
12201         * tests/check/pipelines/simple-launch-lines.c:
12202         * tests/check/pipelines/stress.c: (stress_suite):
12203           use the new macro
12204
12205 2006-07-01  Thomas Vander Stichele  <thomas at apestaart dot org>
12206
12207         * libs/gst/check/gstcheck.c: (gst_check_run_suite):
12208         * libs/gst/check/gstcheck.h:
12209           create a macro and function so that the simple unit test
12210           case can be just one macro to create main()
12211
12212 2006-06-30  Tim-Philipp Müller  <tim at centricular dot net>
12213
12214         * gst/gstbin.c: (gst_bin_restore_thyself):
12215         * gst/gstxml.c: (gst_xml_make_element):
12216           Fix deserialisation from XML. Set parent manually
12217           instead of using gst_bin_add(), since gst_bin_add()
12218           will unlink all pads of the element being added.
12219           Fixes #341667.
12220
12221 2006-06-28  Tim-Philipp Müller  <tim at centricular dot net>
12222
12223         Patch by: Peter Kjellerstedt <pkj at axis com>
12224
12225         * gst/gst.c: (prepare_for_load_plugin_func), (split_and_iterate):
12226           Fix missing g_strdup() and double free when using the
12227           --gst-plugin-load command line option (#346097).
12228
12229 2006-06-23  Tim-Philipp Müller  <tim at centricular dot net>
12230
12231         * gst/gstinfo.c:
12232           Promote GST_DEBUG_CATEGORY_STATIC in example in docs.
12233
12234         * libs/gst/net/gstnetclientclock.c:
12235         * libs/gst/net/gstnettimeprovider.c:
12236           Use GST_DEBUG_CATEGORY_STATIC here too (#342503).
12237
12238 2006-06-23  Tim-Philipp Müller  <tim at centricular dot net>
12239
12240         * docs/manual/advanced-dataaccess.xml:
12241           Fix buffer probe example compilation in
12242           ADM (#345708).
12243         
12244 2006-06-22  Edward Hervey  <edward@fluendo.com>
12245
12246         * gst/gstelement.c: (gst_element_pads_activate):
12247         We need to deactivate src pads first and then sink pads.
12248         The reason is the src pads might be blocking while holding the streaming
12249         lock, so we need to deactivate them first so that deactivating the sink
12250         pads doesn't block (since it will require the streaming lock).
12251
12252 2006-06-22  Wim Taymans  <wim@fluendo.com>
12253
12254         * libs/gst/base/gstbasetransform.c:
12255         (gst_base_transform_buffer_alloc):
12256         Forgot to remove two unneeded unrefs.
12257         Simplify a check _is_equal allready checks the obvious case.
12258
12259 2006-06-22  Wim Taymans  <wim@fluendo.com>
12260
12261         * docs/design/part-block.txt:
12262         Some docs about what pad_block should do.
12263
12264 2006-06-22  Wim Taymans  <wim@fluendo.com>
12265
12266         * gst/gstcaps.c: (gst_caps_replace):
12267         Fix crasher when passed NULL. Doc clarification.
12268         Optimize for the trivial case.
12269
12270         * gst/gstpipeline.c: (gst_pipeline_change_state):
12271         Small cleanups.
12272
12273         * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
12274         Small documentation cleanup.
12275
12276         * libs/gst/base/gstbasetransform.c:
12277         (gst_base_transform_buffer_alloc):
12278         Don't use silly gst_pad_get_negotiated_caps, GST_PAD_CAPS
12279         is what we need and it avoids a whole lot of redundant 
12280         refcount operations.
12281
12282 2006-06-22  Tim-Philipp Müller  <tim at centricular dot net>
12283
12284         Patch by: Philip Jägenstedt  <philip at lysator liu se>
12285
12286         * docs/manual/advanced-dataaccess.xml:
12287           Fix 'Embedding static elements' section to use
12288           GST_PLUGIN_DEFINE_STATIC (#345607).
12289
12290 2006-06-21  Tim-Philipp Müller  <tim at centricular dot net>
12291
12292         * tests/check/pipelines/simple-launch-lines.c: (test_stop_from_app):
12293           Attempt to 'fix' spuriously failing test case: it seems like the
12294           timeout of half a second is simply too small when the system is under
12295           load otherwise, and the timeout doesn't really seem to serve any
12296           particular purpose here. Give the pipeline a few seconds to preroll
12297           first, and then give it another half a second to go from PAUSED to
12298           PLAYING and marshal the message into the main thread.
12299
12300 2006-06-21  Tim-Philipp Müller  <tim at centricular dot net>
12301
12302         * tools/gst-feedback-m.m:
12303           Don't only use unversioned tools, try versioned tools as well
12304           (#345086).
12305
12306 2006-06-21  Tim-Philipp Müller  <tim at centricular dot net>
12307
12308         * gst/gstbus.c: (gst_bus_class_init):
12309           Fix some typos, make docs more explicit.
12310
12311 2006-06-20  Wim Taymans  <wim@fluendo.com>
12312
12313         * tests/check/gst/gstghostpad.c: (block_callback),
12314         (GST_START_TEST), (gst_ghost_pad_suite):
12315         Added some more ghostpad tests, mainly blocking
12316         and probes.
12317
12318 2006-06-16  Wim Taymans  <wim@fluendo.com>
12319
12320         * plugins/elements/gstfilesink.c: (gst_file_sink_open_file),
12321         (gst_file_sink_close_file), (gst_file_sink_do_seek),
12322         (gst_file_sink_event), (gst_file_sink_render):
12323         * plugins/elements/gstfilesink.h:
12324         Check if we can seek in the file instead of assuming
12325         we always can. Post an error when we are asked to seek in a
12326         non-seekable file (like a fifo). Fixes #343312.
12327         Some cleanups.
12328
12329 2006-06-16  Tim-Philipp Müller  <tim at centricular dot net>
12330
12331         * tools/gst-launch.1.in:
12332           Un-garble (fourcc) bit in filtered caps section.
12333
12334 2006-06-16  Tim-Philipp Müller  <tim at centricular dot net>
12335
12336         * docs/manual/advanced-autoplugging.xml:
12337         * docs/manual/basics-helloworld.xml:
12338         * docs/manual/highlevel-components.xml:
12339           Don't leak bus reference in sample code.
12340
12341 2006-06-15  Tim-Philipp Müller  <tim at centricular dot net>
12342
12343         * autogen.sh:
12344           Add default for new --enable-plugin-docs switch.
12345
12346         * configure.ac:
12347           Use new GST_PLUGIN_DOCS macro to check for pyxml etc.
12348           Fixes #344039.
12349
12350         * docs/Makefile.am:
12351           Use new ENABLE_PLUGIN_DOCS conditional.
12352
12353 2006-06-14  Wim Taymans  <wim@fluendo.com>
12354
12355         * gst/gstbin.c: (bin_query_duration_done), (gst_bin_query):
12356         Make it clear with a FIXME and a real define what the #if 0
12357         previously disabled.
12358
12359 2006-06-14  Wim Taymans  <wim@fluendo.com>
12360
12361         * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment),
12362         (gst_base_sink_preroll_object), (gst_base_sink_get_position):
12363         * libs/gst/base/gstbasetransform.c:
12364         (gst_base_transform_sink_eventfunc):
12365         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_event):
12366         Don't randomly and silently reset a segment when the format 
12367         changes as this is a bug somewhere upstream. Fixes #330379.
12368
12369 2006-06-14  Tim-Philipp Müller  <tim at centricular dot net>
12370
12371         Patch by: Wouter Paesen  <wouter at kangaroot net>
12372
12373         * libs/gst/controller/gstcontroller.c:
12374         (gst_controlled_property_new):
12375           Fix controlling of float properties (#344849).
12376
12377         * tests/check/libs/controller.c:
12378         (gst_test_mono_source_get_property),
12379         (gst_test_mono_source_set_property),
12380         (gst_test_mono_source_class_init), (GST_START_TEST):
12381           While we're at it, add some float stuff to unit test.
12382
12383 2006-06-13  Thomas Vander Stichele  <thomas at apestaart dot org>
12384
12385         * docs/README:
12386         * docs/images/gdp-header.svg:
12387           add a gdp image
12388         * docs/libs/Makefile.am:
12389         * docs/libs/gdp-header.png:
12390         * libs/gst/dataprotocol/dataprotocol.c:
12391           add it to the API docs
12392         * docs/manual/intro-motivation.xml:
12393           fix typo
12394
12395 2006-06-13  Tim-Philipp Müller  <tim at centricular dot net>
12396
12397         * gst/gst.c: (scan_and_update_registry), (init_post):
12398           If the fork()'ed child process can't write the updated registry cache
12399           file to disk for some reason, make it exit with a failure exit code,
12400           so that the parent can then re-scan the plugins itself and update the
12401           registry structures in memory and work with that (rather than failing
12402           when creating elements because seemingly no plugins are available).
12403           Refactor registry scanning code into separate function for this and
12404           also separate fork() and non-fork() code paths. Fixes #344748.
12405
12406 2006-06-13  Wim Taymans  <wim@fluendo.com>
12407
12408         * docs/manual/advanced-dataaccess.xml:
12409         Fix wrong PluginDesc. Fixes #344755.
12410
12411 2006-06-13  Tim-Philipp Müller  <tim at centricular dot net>
12412
12413         * gst/gstregistryxml.c: (gst_registry_xml_write_cache):
12414           Fix silly bug that prevented us from creating
12415           ~/.gstreamer-0.10 and writing the registry in one
12416           go (the first call to g_mkstemp() would overwrite the
12417           placeholder in the template string, so the second call
12418           to g_mkstemp() after creating the missing directory
12419           would then error out with 'invalid argument').
12420
12421 2006-06-13  Edward Hervey  <edward@fluendo.com>
12422
12423         * gst/gst.c: (init_post):
12424         Free string.
12425
12426 2006-06-13  Thomas Vander Stichele  <thomas at apestaart dot org>
12427
12428         * gst/glib-compat-private.h:
12429         * gst/glib-compat.c:
12430         * gst/glib-compat.h:
12431         * gst/gstvalue.c: (gst_value_serialize_flags):
12432           remove GLib 2.6 compatibility code
12433
12434 2006-06-12  Tim-Philipp Müller  <tim at centricular dot net>
12435
12436         * gst/parse/Makefile.am:
12437           Fix build with 'make -j N' even more (#340016).
12438
12439 2006-06-12  Wim Taymans  <wim@fluendo.com>
12440
12441         * docs/gst/gstreamer-sections.txt:
12442         Fix docs.
12443
12444 2006-06-12  Wim Taymans  <wim@fluendo.com>
12445
12446         * gst/gstsegment.c: (gst_segment_set_duration),
12447         (gst_segment_set_last_stop), (gst_segment_set_seek),
12448         (gst_segment_set_newsegment_full), (gst_segment_to_stream_time),
12449         (gst_segment_to_running_time), (gst_segment_clip):
12450         Use G_UNLIKELY to help the compiler a bit.
12451
12452 2006-06-12  Wim Taymans  <wim@fluendo.com>
12453
12454         Patch by: Stefan Kost <ensonic at sonicpulse dot de>
12455
12456         * gst/gstevent.c: (gst_event_get_type):
12457         * gst/gstmessage.c:
12458         * gst/gstpad.c: (gst_pad_chain_unchecked), (gst_pad_chain),
12459         (gst_pad_push):
12460         constify quark registration strings. Fixes #344115
12461         Avoid unneeded type checking is _pad_push() by internally
12462         calling gst_pad_chain_unchecked().
12463
12464 2006-06-12  Wim Taymans  <wim@fluendo.com>
12465
12466         * gst/gstbuffer.c: (gst_buffer_get_type), (gst_buffer_finalize),
12467         (_gst_buffer_copy), (gst_buffer_is_metadata_writable),
12468         (gst_subbuffer_finalize), (gst_buffer_create_sub),
12469         (gst_buffer_is_span_fast), (gst_buffer_span):
12470         Init _type for consistency.
12471         Use _FLAGS macro to avoid type check.
12472         Avoid unneeded type checks in subbufer code.
12473
12474 2006-06-12  Wim Taymans  <wim@fluendo.com>
12475
12476         * gst/gst.c: (gst_debug_help):
12477         * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_list_free):
12478         * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
12479         (gst_plugin_feature_list_free):
12480         * gst/gstregistry.c: (gst_registry_add_plugin),
12481         (gst_registry_add_feature), (gst_registry_plugin_filter),
12482         (gst_registry_feature_filter), (gst_registry_find_plugin),
12483         (gst_registry_find_feature), (gst_registry_get_plugin_list),
12484         (gst_registry_lookup_feature_locked), (gst_registry_lookup_locked):
12485         * gst/gstregistryxml.c: (load_feature),
12486         (gst_registry_xml_read_cache), (gst_registry_xml_write_cache):
12487         * gst/gstminiobject.c: (gst_mini_object_unref),
12488         (gst_mini_object_replace), (gst_value_mini_object_free),
12489         (gst_value_mini_object_copy):
12490         Use _CAST macros to avoid unneeded type checking.
12491         Added some more G_UNLIKELY.
12492
12493 2006-06-12  Wim Taymans  <wim@fluendo.com>
12494
12495         * gst/gstbuffer.h:
12496         Avoid unneeded type checking.
12497         API: GST_BUFFER_IS_DISCONT
12498
12499         * gst/gstminiobject.h:
12500         Avoid type check in flag accessor.
12501
12502         * gst/gstelementfactory.h:
12503         * gst/gstplugin.h:
12504         * gst/gstpluginfeature.h:
12505         Add _CAST macros.
12506         API: GST_ELEMENT_FACTORY_CAST
12507         API: GST_PLUGIN_CAST
12508         API: GST_PLUGIN_FEATURE_CAST
12509
12510 2006-06-12  Wim Taymans  <wim@fluendo.com>
12511
12512         * gst/gstobject.c: (gst_object_get_type), (gst_object_ref),
12513         (gst_object_unref):
12514         Add G_UNLIKELY in type registration.
12515         Avoid type check in _ref/_unref since that is also
12516         done in glib.
12517
12518 2006-06-12  Wim Taymans  <wim@fluendo.com>
12519
12520         * gst/gsterror.c: (gst_g_error_get_type):
12521         * gst/gstpadtemplate.c: (gst_pad_template_get_type),
12522         (gst_static_pad_template_get_type):
12523         * gst/gsttaglist.c: (gst_tag_list_get_type):
12524         * gst/gsttagsetter.c: (gst_tag_setter_get_type):
12525         * gst/gsttypefindfactory.c: (gst_type_find_factory_get_type):
12526         * gst/gsturi.c: (gst_uri_handler_get_type):
12527         * gst/gstvalue.c: (gst_date_get_type):
12528         * gst/gstxml.c: (gst_xml_get_type):
12529         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_type),
12530         (gst_base_sink_preroll_object), (gst_base_sink_get_position):
12531         * libs/gst/base/gstbasesrc.c: (gst_base_src_get_type):
12532         Add G_UNLIKELY in type registration.
12533
12534 2006-06-12  Wim Taymans  <wim@fluendo.com>
12535
12536         * tools/gst-inspect.c: (print_signal_info):
12537         Properly print enum values.
12538
12539 2006-06-12  Wim Taymans  <wim@fluendo.com>
12540
12541         * gst/gstinfo.c: (gst_debug_set_active),
12542         (gst_debug_category_set_threshold), (_gst_debug_nameof_funcptr):
12543         * gst/gstinfo.h:
12544         Add some G_[UN]LIKELY.
12545         Maintain __gst_debug_min to avoid formatting the arguments of
12546         debug messages that will be dropped anyway to avoid a lot of 
12547         overhead from the debugging system.
12548
12549 2006-06-11  Stefan Kost  <ensonic@users.sf.net>
12550
12551         * po/POTFILES.in:
12552         * po/POTFILES.skip:
12553           add missing files containing translatable strings, tell intltool about
12554           one exception
12555
12556 2006-06-11  Stefan Kost  <ensonic@users.sf.net>
12557
12558         * tests/check/libs/.cvsignore:
12559         add test-binary to ignore list
12560
12561 2006-06-11  Stefan Kost  <ensonic@users.sf.net>
12562
12563         * docs/libs/gstreamer-libs-docs.sgml:
12564         reorder (put dp into a chapter) and indent
12565
12566 2006-06-10  Thomas Vander Stichele  <thomas at apestaart dot org>
12567
12568         * configure.ac:
12569           back to HEAD
12570
12571 === release 0.10.8 ===
12572
12573 2006-06-10  Thomas Vander Stichele <thomas at apestaart dot org>
12574
12575         * configure.ac:
12576           releasing 0.10.8, "Soepeke, ik zie ou nog altijd nie"
12577
12578 2006-06-10  Thomas Vander Stichele  <thomas at apestaart dot org>
12579
12580         * gst/gst.c: (init_post):
12581           move pid declaration to declaration block
12582
12583 2006-06-10  Thomas Vander Stichele  <thomas at apestaart dot org>
12584
12585         * gst/gst.c: (init_post):
12586           use _exit() instead of exit() in our forked child; this ensures
12587           that none of the registered exit handlers from whatever is using
12588           GStreamer get executed.  This fixes gnome-mixer-applet failing
12589           to load, because ORBit would shut down.
12590           Spotted by: Edward Hervey  <edward@fluendo.com>
12591           Fix suggested by: Tim-Philipp Müller  <tim at centricular dot net>
12592           Fixes #344474
12593
12594 2006-06-09  Thomas Vander Stichele  <thomas at apestaart dot org>
12595
12596         * configure.ac:
12597           back to TRUNK
12598
12599 === release 0.10.7 ===
12600
12601 2006-06-09  Thomas Vander Stichele <thomas at apestaart dot org>
12602
12603         * configure.ac:
12604           releasing 0.10.7, "Soepeke, ik zie ou"
12605
12606 2006-06-07  Thomas Vander Stichele  <thomas at apestaart dot org>
12607
12608         * configure.ac:
12609         * po/af.po:
12610         * po/az.po:
12611         * po/bg.po:
12612         * po/ca.po:
12613         * po/cs.po:
12614         * po/de.po:
12615         * po/en_GB.po:
12616         * po/fr.po:
12617         * po/it.po:
12618         * po/nb.po:
12619         * po/nl.po:
12620         * po/ru.po:
12621         * po/sq.po:
12622         * po/sr.po:
12623         * po/sv.po:
12624         * po/tr.po:
12625         * po/uk.po:
12626         * po/vi.po:
12627         * po/zh_CN.po:
12628         * po/zh_TW.po:
12629         * win32/common/config.h:
12630           0.10.6.2 prerelease
12631
12632 2006-06-07  Wim Taymans  <wim@fluendo.com>
12633
12634         * gst/gstindex.c: (gst_index_gtype_resolver):
12635         * tools/gst-xmlinspect.c: (print_plugin_info):
12636         Fix leak spotted by coverity checker. Fixes #343827
12637         Fix another other leak found by paolo borelli.
12638
12639 2006-06-06  Thomas Vander Stichele  <thomas at apestaart dot org>
12640
12641         * libs/gst/dataprotocol/dataprotocol.c:
12642         (gst_dp_header_from_buffer_any), (gst_dp_packet_from_caps_any),
12643         (gst_dp_version_get_type), (gst_dp_init),
12644         (gst_dp_header_from_buffer), (gst_dp_header_from_buffer_1_0),
12645         (gst_dp_packet_from_caps), (gst_dp_packet_from_caps_1_0),
12646         (gst_dp_packet_from_event), (gst_dp_packet_from_event_1_0),
12647         (gst_dp_event_from_packet_0_2), (gst_dp_event_from_packet_1_0),
12648         (gst_dp_event_from_packet), (gst_dp_packetizer_new),
12649         (gst_dp_packetizer_free):
12650         * libs/gst/dataprotocol/dataprotocol.h:
12651           API: add a GstDPPacketizer object, and create/free functions
12652           API: add GstDPVersion enum
12653           Add 1.0 event function that uses the string serialization
12654           Serialize more useful buffer flags
12655           Fixes #343988
12656
12657 2006-06-06  Thomas Vander Stichele  <thomas at apestaart dot org>
12658
12659         * tests/check/Makefile.am:
12660         * tests/check/gst/gstabi.c:
12661         * tests/check/gst/struct_ppc64.h:
12662         * tests/check/libs/libsabi.c:
12663         * tests/check/libs/struct_ppc64.h:
12664           add ppc64 structure sizes
12665
12666 2006-06-06  Thomas Vander Stichele  <thomas at apestaart dot org>
12667
12668         * tests/check/Makefile.am:
12669         * tests/check/gst/gstabi.c:
12670         * tests/check/gst/struct_x86_64.h:
12671         * tests/check/libs/libsabi.c:
12672         * tests/check/libs/struct_x86_64.h:
12673           generate and add structure size lists for x86_64
12674
12675 2006-06-06  Thomas Vander Stichele  <thomas at apestaart dot org>
12676
12677         * libs/gst/check/gstcheck.c: (gst_check_abi_list):
12678         * libs/gst/check/gstcheck.h:
12679           factor out the method from tests that checks size of structures,
12680           and add code to generate the header containing these sizes
12681         * tests/check/gst/gstabi.c: (GST_START_TEST):
12682         * tests/check/gst/struct_i386.h:
12683         * tests/check/libs/libsabi.c: (GST_START_TEST):
12684         * tests/check/libs/struct_i386.h:
12685           use it
12686
12687 2006-06-06  Michael Smith  <msmith@fluendo.com>
12688
12689         * gst/gstsegment.h:
12690           Don't use c++-style comments, fixes #343929
12691
12692 2006-06-05  Edward Hervey  <edward@fluendo.com>
12693
12694         * gst/gst.c:
12695         plugin_paths is not used if we build without registry support.
12696
12697         * gst/gstsegment.c: (gst_segment_copy): 
12698         _copy() was always returning NULL...
12699
12700 2006-06-02  Thomas Vander Stichele  <thomas at apestaart dot org>
12701
12702         * libs/gst/dataprotocol/dataprotocol.c:
12703         (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
12704         (gst_dp_packet_from_event):
12705           factor out CRC code
12706
12707 2006-06-02  Thomas Vander Stichele  <thomas at apestaart dot org>
12708
12709         * libs/gst/check/gstcheck.c: (gst_check_teardown_src_pad):
12710           make sure we unset caps
12711
12712 2006-06-02  Michael Smith  <msmith@fluendo.com>
12713
12714         * libs/gst/check/gstcheck.c: (gst_check_init),
12715         (gst_check_chain_func):
12716         * libs/gst/check/gstcheck.h:
12717           Add a cond/mutex to the check support lib, signal this whenever we
12718           add to the buffers list. This will allow tests to not busy-wait on
12719           the buffer-list.
12720
12721 2006-06-02  Thomas Vander Stichele  <thomas at apestaart dot org>
12722
12723         * libs/gst/dataprotocol/dataprotocol.c:
12724         (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
12725         (gst_dp_packet_from_event):
12726           factor out some common header init code
12727
12728 2006-06-02  Thomas Vander Stichele  <thomas at apestaart dot org>
12729
12730         * docs/libs/gstreamer-libs-sections.txt:
12731         * docs/libs/tmpl/gstdataprotocol.sgml:
12732         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_crc):
12733         * libs/gst/dataprotocol/dataprotocol.h:
12734           API: make gst_dp_crc() public
12735
12736 2006-06-01  Stefan Kost  <ensonic@users.sf.net>
12737
12738         * plugins/indexers/gstindexers.c: (plugin_init):
12739         conditionally register fileindexer (fixes #343598)
12740
12741 2006-06-01  Stefan Kost  <ensonic@users.sf.net>
12742
12743         * gst/gsttagsetter.h:
12744         Can't cast ifaces to a class
12745
12746         * libs/gst/net/gstnetclientclock.h:
12747         * libs/gst/net/gstnettimeprovider.h:
12748         * plugins/elements/gstfakesink.h:
12749         * plugins/elements/gstfakesrc.h:
12750         * plugins/elements/gstfdsink.h:
12751         * plugins/elements/gstfdsrc.h:
12752         * plugins/elements/gstfilesink.h:
12753         * plugins/elements/gstfilesrc.h:
12754         * plugins/elements/gstidentity.h:
12755         * plugins/elements/gstqueue.h:
12756         * plugins/elements/gsttee.h:
12757         * plugins/indexers/gstfileindex.c:
12758         * plugins/indexers/gstmemindex.c:
12759         * tests/old/examples/plugins/example.h:
12760         Fix more gobject macros: obj<->klass, GstXXX<->GstXXXClass
12761
12762 2006-06-01  Thomas Vander Stichele  <thomas at apestaart dot org>
12763
12764         * libs/gst/dataprotocol/dataprotocol.c:
12765         (gst_dp_header_from_buffer):
12766           make sure we zero the whole ABI-compatible area
12767
12768 2006-06-01  Wim Taymans  <wim@fluendo.com>
12769
12770         Patch by: Alessandro Decina <alessandro at nnva dot org>
12771
12772         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_stop):
12773         Make sure the EOS flag is cleared from pads after a flush
12774         or stop. Fixes #343538.
12775
12776         * tests/check/libs/collectpads.c: (GST_START_TEST),
12777         (gst_collect_pads_suite):
12778         Added test for collectpads reusage after EOS.
12779
12780 2006-05-30  Sebastien Moutte  <sebastien@moutte.net>
12781
12782         * gst/gst.c:
12783          set #include <sys/wait.h> in a #ifdef #ifdef HAVE_FORK
12784         * win32/common/libgstbase.def:
12785          export gst_collect_pads_set_flushing
12786         * win32/common/libgstreamer.def:
12787          export gst_pad_set_acceptcaps_function, gst_structure_empty_new,
12788          gst_value_fraction_multiply
12789         * win32/vs6/gst_inspect.dsp:
12790          add a link to intl.lib
12791
12792 2006-05-30  Wim Taymans  <wim@fluendo.com>
12793
12794         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad),
12795         (gst_collect_pads_chain):
12796         Handle the case where a pad is removed from the collection
12797         that could cause the other pads to become collectable.
12798
12799 2006-05-30  Wim Taymans  <wim@fluendo.com>
12800
12801         * gst/gstelement.c:
12802         Clarify the use of _release_request_pad() and
12803         _get_request_pad() a bit better.
12804
12805         * libs/gst/base/gstadapter.c: (gst_adapter_peek),
12806         (gst_adapter_take_buffer):
12807         Fix some doc and comment typos.
12808
12809 2006-05-30  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
12810
12811         * docs/gst/gstreamer-sections.txt:
12812         * docs/libs/gstreamer-libs-sections.txt:
12813           add declared symbols
12814
12815 2006-05-30  Jan Schmidt  <thaytan@mad.scientist.com>
12816
12817         * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
12818         Add debug that can be enabled using a #define at the top of the file,
12819         for dumping stats about how late/early we were when waking up from
12820         waiting on the clock.
12821
12822 2006-05-30  Wim Taymans  <wim@fluendo.com>
12823
12824         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_check_pads):
12825         When rebuilding the pad list, don't leak the previous list.
12826
12827 2006-05-30  Wim Taymans  <wim@fluendo.com>
12828
12829         Patch by: Lutz Mueller <lutz at topfrose dot de>
12830
12831         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
12832         (gst_base_src_get_query_types), (gst_base_src_update_length):
12833         Publish supported query types.
12834         Update last_stop field in get_range mode so the position
12835         query works. Fixes #342321.
12836
12837 2006-05-30  Tim-Philipp Müller  <tim at centricular dot net>
12838
12839         * docs/gst/gstreamer-sections.txt:
12840         * gst/gsttaglist.c: (_gst_tag_initialize):
12841         * gst/gsttaglist.h:
12842           API: add GST_TAG_PREVIEW_IMAGE (#343341).
12843
12844 2006-05-30  Wim Taymans  <wim@fluendo.com>
12845
12846         Patch by: Alessandro Decina <alessandro at nnva dot org>
12847
12848         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad):
12849         Unlock mutex when removing an unknown pad.
12850         Fixes #343334.
12851
12852         * tests/check/Makefile.am:
12853         * tests/check/libs/collectpads.c: (collected_cb), (push_buffer),
12854         (push_event), (setup), (teardown), (GST_START_TEST),
12855         (gst_collect_pads_suite), (main):
12856         Added collecpads check, disabled for now as check crashes for
12857         some reason.
12858
12859 2006-05-29  Wim Taymans  <wim@fluendo.com>
12860
12861         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize):
12862         Don't leak pads lists.
12863
12864 2006-05-29  Wim Taymans  <wim@fluendo.com>
12865
12866         * docs/libs/gstreamer-libs-sections.txt:
12867         * libs/gst/base/gstcollectpads.c:
12868         (gst_collect_pads_set_flushing_unlocked),
12869         (gst_collect_pads_set_flushing), (gst_collect_pads_start),
12870         (gst_collect_pads_stop):
12871         * libs/gst/base/gstcollectpads.h:
12872         API: gst_collect_pads_set_flushing()
12873         Added api to set the pads to flushing, useful for seeking
12874         code in elements using collectpads.
12875         Clear segment when receiving a flush.
12876
12877 2006-05-29  Tim-Philipp Müller  <tim at centricular dot net>
12878
12879         * gst/gst.c: (add_path_func), (init_post):
12880           Don't scan registry paths passed via --gst-plugin-path immediately
12881           (will crash, because absolutely nothing is set up and no types are
12882           registered etc.); do this later in init_post(). Fixes #343057.
12883
12884 2006-05-28  Thomas Vander Stichele  <thomas at apestaart dot org>
12885
12886         * gst/gst.c: (init_post):
12887           if we have fork, fork while reading/rebuilding the registry
12888           so the parent doesn't take the hit of having all plugins loaded
12889           in memory.  Fixes #342777.
12890         * configure.ac:
12891           Check if we have fork()
12892         * win32/common/config.h.in:
12893           no fork() on win32
12894
12895 2006-05-26  Jan Schmidt  <thaytan@mad.scientist.com>
12896
12897         * plugins/elements/gstelements.c:
12898         * plugins/elements/gstfilesrc.c: (gst_file_src_class_init),
12899         (gst_file_src_init), (gst_file_src_set_property),
12900         (gst_file_src_get_property), (gst_file_src_start):
12901         * plugins/elements/gstfilesrc.h:
12902           API: GstFileSrc::use-mmap
12903
12904         Add a use-mmap property to enable easier testing of all code paths.
12905         Bump rank to PRIMARY, so filesrc is the preferred file reader and used
12906         in the absence of gnomevfssrc. (Closes #340501)
12907
12908 2006-05-26  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
12909
12910         * tools/gst-inspect.c:
12911         Add missing include, removes warning of ngettext not being defined on
12912         some arches.
12913
12914 2006-05-26  Jan Schmidt  <thaytan@mad.scientist.com>
12915
12916         * gst/gstvalue.c: (gst_value_deserialize_fraction):
12917         Handle NULL input and output pointers silently as a failed conversion,
12918         rather than g_warnings.
12919
12920 2006-05-25  Wim Taymans  <wim@fluendo.com>
12921
12922         * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_start):
12923         Initialize variable before using. Fixes #342820.
12924
12925 2006-05-24  Tim-Philipp Müller  <tim at centricular dot net>
12926
12927         * libs/gst/base/gsttypefindhelper.c: (buf_helper_find_peek):
12928           Fix off-by-one bug that would only allow peeks of N-1 bytes
12929           from the start even if the buffer to typefind on contains
12930           in fact N bytes of data (makes vorbis typefinding from a
12931           vorbis identification header buffer work).
12932
12933         * tests/check/Makefile.am:
12934         * tests/check/libs/.cvsignore:
12935         * tests/check/libs/typefindhelper.c: (GST_START_TEST),
12936         (gst_typefindhelper_suite), (main), (foobar_typefind),
12937         (plugin_init):
12938           Add very basic unit test for gst_type_find_helper_for_buffer()
12939           that checks for the problem fixed above.
12940
12941 2006-05-24  Thomas Vander Stichele  <thomas at apestaart dot org>
12942
12943         * tools/gst-inspect.c: (print_interfaces),
12944         (print_element_properties_info), (print_element_list), (main):
12945           add more translatable strings
12946
12947 2006-05-23  Tim-Philipp Müller  <tim at centricular dot net>
12948
12949         Patch by: Julien Moutte  <julien at moutte net>
12950
12951         * docs/gst/gstreamer-sections.txt:
12952           Make new GST_FLOW_IS_SUCCESS macro visible in docs.
12953           
12954         * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init),
12955         (gst_fake_sink_preroll):
12956         * plugins/elements/gstfakesink.h:
12957           API: Add new GstFakeSink::preroll-handoff signal (#337100).
12958
12959 2006-05-23  Wim Taymans  <wim@fluendo.com>
12960
12961         * gst/gstpad.c: (gst_flow_get_name), (gst_flow_to_quark):
12962         * gst/gstpad.h:
12963         Added _CUSTOM error and success GstFlowReturn that can be
12964         used be elements internally. 
12965         Added macro to check for SUCCESS flowreturns.
12966         API: GST_FLOW_CUSTOM_SUCCESS
12967         API: GST_FLOW_CUSTOM_ERROR
12968         API: GST_FLOW_IS_SUCCESS
12969
12970         * tests/check/gst/gstpad.c: (GST_START_TEST), (gst_pad_suite):
12971         Added check for GstFlowReturn sanity.
12972
12973 2006-05-23  Wim Taymans  <wim@fluendo.com>
12974
12975         Patch by: Mark Nauwelaerts <manauw at skynet dot be>
12976
12977         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad),
12978         (gst_collect_pads_event):
12979         clear/reset segment info in FLUSH_STOP.
12980         Fixes #336929.
12981
12982 2006-05-22  Stefan Kost  <ensonic@users.sf.net>
12983
12984         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_stop),
12985         (gst_collect_pads_check_collected):
12986         Flush queued buffer on _stop(), fixes playing again (#342454)
12987
12988 2006-05-22  Thomas Vander Stichele  <thomas at apestaart dot org>
12989
12990         * tests/check/gst/gststructure.c: (GST_START_TEST),
12991         (gst_structure_suite):
12992           add a test for a complete structure
12993
12994 2006-05-19  Tim-Philipp Müller  <tim at centricular dot net>
12995
12996         * docs/faq/developing.xml:
12997         * docs/faq/faq.xml:
12998         * docs/faq/troubleshooting.xml:
12999         * docs/faq/using.xml:
13000           Some minor FAQ updates that won't change the fact that
13001           our FAQ is badly structured, full of information hardly
13002           anyone new to GStreamer needs to know and lacking lots
13003           of information people constantly ask for.
13004           
13005 2006-05-19  Jan Schmidt  <thaytan@mad.scientist.com>
13006
13007         * gst/gstpad.c: (gst_pad_set_caps):
13008           Short-circuit gst_pad_set_caps if setting the existing
13009           caps pointer again, and avoid printing debug and 
13010           reffing/unreffing the caps.
13011
13012         * plugins/elements/gstqueue.c: (gst_queue_push_one):
13013           There's actually no need to set the caps before pushing -
13014           the acceptcaps method will handle it anyway.
13015
13016 2006-05-19  Tim-Philipp Müller  <tim at centricular dot net>
13017
13018         * docs/gst/gstreamer-sections.txt:
13019         * win32/common/libgstreamer.def:
13020         * gst/gstutils.c: (gst_element_seek_simple):
13021         * gst/gstutils.h:
13022           API: add gst_element_seek_simple() (#342238).
13023
13024 2006-05-18  Edward Hervey  <edward@fluendo.com>
13025
13026         * gst/gsttypefind.c: (gst_type_find_get_type):
13027         * gst/gsttypefind.h:
13028         Added GST_TYPE_TYPE_FIND and gst_type_find_get_type() so a GType gets
13029         registered for GstTypeFind pointers. This allows wrapping the structure
13030         in bindings (i.e. gst-python).
13031
13032 2006-05-18  Tim-Philipp Müller  <tim at centricular dot net>
13033
13034         * gst/gsttagsetter.c:
13035           Docs additions and fixes (see #339918).
13036
13037 2006-05-18  Jan Schmidt  <thaytan@mad.scientist.com>
13038
13039         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
13040         The caps intersection algorithm can produce multiple copies of the
13041         caps. Until that is fixed, we need to simplify the result to be
13042         sure whether the allowed caps are fixed or not.
13043
13044         * plugins/elements/gstqueue.c: (gst_queue_init),
13045         (gst_queue_bufferalloc), (gst_queue_acceptcaps),
13046         (gst_queue_push_one):
13047         Proxied buffer alloc should not set the caps on the source pad.
13048         When pushing buffers, we always accept the caps change that triggers.
13049         This prevents negotiation errors caused by caps changing mid-stream 
13050         and then being refused on our source pad (because upstream is now
13051         refusing those caps).
13052
13053 2006-05-18  Tim-Philipp Müller  <tim at centricular dot net>
13054
13055         * tests/examples/helloworld/helloworld.c: (main):
13056           Must plug audioconvert and audioresample between decoder
13057           and audio sink.
13058
13059 2006-05-17  Jan Schmidt  <thaytan@mad.scientist.com>
13060
13061         * gst/gstregistryxml.c: (read_string), (load_pad_template),
13062         (load_feature), (load_plugin):
13063         Allow empty strings for some of the plugin fields so we don't 
13064         drop valid plugin entries that were written out correctly
13065         (Fixes #341479)
13066
13067 2006-05-17  Sebastien Moutte  <sebastien@moutte.net>
13068         
13069         * gst/gstregistryxml.c: (gst_registry_xml_write_cache):
13070           Use g_remove and g_rename instead of remove and rename that don't 
13071           handle utf8 characters. rename was failing for users who had specific
13072           characters in their name then the registry was built at each 
13073           gstreamer init.
13074         * win32/vs6/gst_inspect.dsp:
13075         * win32/vs6/gst_launch.dsp:
13076         * win32/vs6/libgstbase.dsp:
13077         * win32/vs6/libgstcoreelements.dsp:
13078         * win32/vs6/libgstreamer.dsp:
13079           Use a debug version of libxml2 (libxml2D.lib,libxml2D.dll) for DEBUG 
13080           build of libgstreamer and clean unused libraries in projects link 
13081           settings.
13082
13083 2006-05-17  Edward Hervey  <edward@fluendo.com>
13084
13085         * plugins/elements/gstqueue.c: (gst_queue_push_one):
13086         The queue is not responsible for pushing an EOS when receiving a fatal
13087         flow error. It's up to the real element driving the pipeline to do that.
13088
13089 2006-05-16  Edward Hervey  <edward@fluendo.com>
13090
13091         * plugins/elements/gstqueue.c: (gst_queue_push_one):
13092         The queue was posting a non-needed GST_MESSAGE_ERROR when pushing a
13093         buffer returned a fatal error. It should just send an EOS and stop
13094         its task.
13095         Upstream elements will then properly receive the GST_FLOW_UNEXPECTED
13096         when pushing buffers on the queue and will be able to handle the event.
13097
13098 2006-05-16  Tim-Philipp Müller  <tim at centricular dot net>
13099
13100         * docs/manual/basics-bins.xml:
13101         * docs/manual/basics-init.xml:
13102           Fix typos and minor errors in sample code (#341856).
13103
13104 2006-05-16  Wim Taymans  <wim@fluendo.com>
13105
13106         * docs/design/part-qos.txt:
13107         Fix indexes in formulas to make more sense.
13108
13109 2006-05-15  Wim Taymans  <wim@fluendo.com>
13110
13111         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
13112         Don't report POSITION based on clock time if sync is
13113         disabled in a sink.
13114
13115 2006-05-15  Tim-Philipp Müller  <tim at centricular dot net>
13116
13117         * gst/gstobject.h:
13118           Add cast to make compiler happy - refcount variable was a gint
13119           in GstObject but is a guint in GObject and g_atomic_int_get()
13120           wants a gint *.
13121
13122 2006-05-15  Thomas Vander Stichele  <thomas at apestaart dot org>
13123
13124         * gst/parse/Makefile.am:
13125           chain commands using &&, which also makes parallel make work
13126
13127 2006-05-14  Tim-Philipp Müller  <tim at centricular dot net>
13128
13129         * docs/gst/gstreamer-sections.txt:
13130         * gst/gstevent.c:
13131         * gst/gstevent.h:
13132         * gst/gstmessage.h:
13133           Minor docs fixes.
13134
13135 === release 0.10.6 ===
13136
13137 2006-05-14  Jan Schmidt <thaytan@mad.scientist.com>
13138
13139         * configure.ac:
13140           releasing 0.10.6, "Take the cannoli"
13141
13142 2006-05-13  Tim-Philipp Müller  <tim at centricular dot net>
13143
13144         * tools/gst-launch.c: (print_tag):
13145           Fix use of uninitialized variable in the hypothetical
13146           case that some broken plugin creates a GST_TAG_IMAGE
13147           tag containing a NULL buffer (#341667).
13148
13149 2006-05-12  Tim-Philipp Müller  <tim at centricular dot net>
13150
13151         * tools/gst-launch.c: (print_tag):
13152           Print something more intelligible for image tags when
13153           using the -t switch (#341556).
13154
13155 2006-05-12  Thomas Vander Stichele  <thomas at apestaart dot org>
13156
13157         * Makefile.am:
13158           updates for win32
13159         * configure.ac:
13160           define GST_MAJORMINOR so we have it available in win32/common/config.h
13161           Possibly remove it from our Makefile.am files later
13162         * win32/common/config.h:
13163         * win32/common/config.h.in:
13164           added GST_MAJORMINOR
13165         * win32/common/gstenumtypes.c: (register_gst_resource_error):
13166         * win32/common/gstversion.h:
13167           updated
13168
13169 2006-05-12  Sebastien Moutte  <sebastien@moutte.net>
13170
13171         * win32/MANIFEST:
13172           Update win32 files listing.
13173         * win32/common/gstversion.h:
13174           Add GST_MAJORMINOR definition.
13175         * win32/common/libgstreamer.def:
13176           Add new exported functions.
13177           
13178 2006-05-12  Michael Smith  <msmith@fluendo.com>
13179
13180         * gst/gstplugin.c: (gst_plugin_load_file):
13181           If an so file has no plugin entry point, unload the module.
13182
13183 2006-05-11  Wim Taymans  <wim@fluendo.com>
13184
13185         * plugins/elements/gstqueue.c: (gst_queue_chain), (gst_queue_loop),
13186         (gst_queue_set_property):
13187         Don't forget to signal the _chain or _loop function 
13188         when the queue size or thresholds change since that might
13189         cause them to make progres again.
13190
13191 2006-05-11  Stefan Kost  <ensonic@users.sf.net>
13192
13193         * gst/gstclock.c: (gst_clock_class_init):
13194         * gst/gstindex.c: (gst_index_class_init):
13195         * gst/gstobject.c: (gst_object_class_init):
13196         * gst/gstpad.c: (gst_pad_class_init):
13197         * gst/gstpipeline.c: (gst_pipeline_class_init):
13198         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
13199         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init):
13200         * libs/gst/base/gstbasetransform.c:
13201         (gst_base_transform_class_init):
13202         * libs/gst/net/gstnetclientclock.c:
13203         (gst_net_client_clock_class_init):
13204         * libs/gst/net/gstnettimeprovider.c:
13205         (gst_net_time_provider_class_init):
13206         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_class_init):
13207         * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init):
13208         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init):
13209         * plugins/elements/gstfdsink.c: (gst_fd_sink_class_init):
13210         * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init):
13211         * plugins/elements/gstfilesink.c: (gst_file_sink_class_init):
13212         * plugins/elements/gstfilesrc.c: (gst_file_src_class_init):
13213         * plugins/elements/gstidentity.c: (gst_identity_class_init):
13214         * plugins/elements/gsttee.c: (gst_tee_class_init):
13215         * tests/old/examples/plugins/example.c: (gst_example_class_init):
13216         * tests/old/testsuite/threads/signals.c: (gst_test_class_init):
13217           G_OBJECT_CLASS macro usage batch cleanup, fixes #337747 for core
13218
13219 2006-05-11  Wim Taymans  <wim@fluendo.com>
13220
13221         * gst/gstbuffer.c: (_gst_buffer_initialize):
13222         Register subbufer along with the buffer type so that
13223         it does not accidentally gets registered from N
13224         different streaming threads in a non threadsafe way.
13225
13226 2006-05-10  Tim-Philipp Müller  <tim at centricular dot net>
13227
13228         * gst/gstbuffer.h:
13229         * gst/gstevent.h:
13230         * gst/gstmessage.h:
13231           Make gtk-doc generate docs for our inlined gst_buffer_ref(),
13232           gst_event_ref() and gst_message_ref() functions again
13233           (ugly hack, please do fix if there's a better way besides
13234           overrides.txt, which doesn't seem to work).
13235
13236 2006-05-10  Thomas Vander Stichele  <thomas at apestaart dot org>
13237
13238         * libs/gst/check/gstcheck.h:
13239           add an assert for setting state to avoid lots of repetitive code
13240           in the future
13241
13242 2006-05-10  Thomas Vander Stichele  <thomas at apestaart dot org>
13243
13244         * gst/gstvalue.c: (gst_value_serialize_flags):
13245           fix a leak if no flags are set
13246         * tests/check/gst/gstvalue.c: (GST_START_TEST):
13247           fix leak in tests
13248
13249 2006-05-10  Tim-Philipp Müller  <tim at centricular dot net>
13250
13251         * docs/manual/basics-pads.xml:
13252           Expand a bit on caps and filtered links and update
13253           examples that were still using the no longer existing
13254           gst_pad_link_filtered() (#338206).
13255
13256 2006-05-10  Wim Taymans  <wim@fluendo.com>
13257
13258         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
13259         (gst_collect_pads_add_pad), (gst_collect_pads_remove_pad),
13260         (gst_collect_pads_set_flushing), (gst_collect_pads_start),
13261         (gst_collect_pads_stop):
13262         * libs/gst/base/gstcollectpads.h:
13263         No need to call _stop in _finalize.
13264         Iterate the main pad list in _finalize.
13265         Added some more debug.
13266         Free lists and data in the right order.
13267         Also free data whem doing _remove_pad when stopped for
13268         backward compatibility protect ::started with PAD_LOCK as
13269         well.
13270
13271 2006-05-10  Thomas Vander Stichele  <thomas at apestaart dot org>
13272
13273         * gst/gststructure.c: (gst_structure_gtype_from_abbr),
13274         (gst_structure_parse_value):
13275           add some comments
13276           rename a method so that it actually says what it does better
13277
13278 2006-05-10  Thomas Vander Stichele  <thomas at apestaart dot org>
13279
13280         * gst/gstevent.c: (_gst_event_initialize):
13281         * gst/gstformat.c: (_gst_format_initialize):
13282           make sure some essential types used by events are registered
13283           as part of gst_init()
13284         * gst/gstvalue.c: (gst_value_serialize_flags):
13285           if no flags are set, serialize them to a value that represents NONE
13286           so that deserializing them works
13287         * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
13288           add tests for serialization and deserialization of flags
13289
13290 2006-05-10  Wim Taymans  <wim@fluendo.com>
13291
13292         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_collect),
13293         (gst_collect_pads_collect_range), (gst_collect_pads_available),
13294         (gst_collect_pads_check_pads), (gst_collect_pads_check_collected),
13295         (gst_collect_pads_event), (gst_collect_pads_chain):
13296         Update docs.
13297         Better debug info.
13298         Catch and return errors from the collect function
13299         Refuse data on eos pads.
13300
13301 2006-05-10  Edward Hervey  <edward@fluendo.com>
13302
13303         * gst/gstinterface.h:
13304         GST_IMPLEMENTS_INTERFACE and GST_IS_IMPLEMENTS_INTERFACE use the normal
13305         GInterface type checking.
13306         They were previously using non-defined macros.
13307
13308 2006-05-09  Wim Taymans  <wim@fluendo.com>
13309
13310         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_init),
13311         (gst_collect_pads_finalize), (gst_collect_pads_add_pad),
13312         (gst_collect_pads_remove_pad), (gst_collect_pads_set_flushing),
13313         (gst_collect_pads_start), (gst_collect_pads_stop),
13314         (gst_collect_pads_peek), (gst_collect_pads_pop),
13315         (gst_collect_pads_available), (gst_collect_pads_read),
13316         (gst_collect_pads_flush), (gst_collect_pads_check_pads),
13317         (gst_collect_pads_is_collected), (gst_collect_pads_event),
13318         (gst_collect_pads_chain):
13319         * libs/gst/base/gstcollectpads.h:
13320         Clean up the mess that is collectpads, add comments and
13321         FIXMEs where needed.
13322         Maintain a separate pad list so we can add pads while
13323         collecting the other ones. For this we need a new separate 
13324         lock (see comics).
13325         Fix memory leak in finalize.
13326         Refactor some weird code to set/unset pad flushing flags, mark
13327         with comments.
13328         Don't crash in _available, _read, _flush when we're EOS.
13329
13330         * tests/check/libs/.cvsignore:
13331         Ignore adapter check binary.
13332
13333 2006-05-09  Tim-Philipp Müller  <tim at centricular dot net>
13334
13335         * gst/gstindex.c: (gst_index_resolver_get_type):
13336         * plugins/elements/gstfakesink.c:
13337         (gst_fake_sink_state_error_get_type):
13338         * plugins/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
13339         (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type):
13340         * plugins/elements/gstqueue.c: (queue_leaky_get_type):
13341           Const-ify GEnumValue arrays.
13342
13343 2006-05-09  Tim-Philipp Müller  <tim at centricular dot net>
13344
13345         * tests/check/gst/gstbuffer.c: (GST_START_TEST):
13346           Add test case for flags + gst_buffer_make_metadata_writable().
13347
13348 2006-05-09  Tim-Philipp Müller  <tim at centricular dot net>
13349
13350         * gst/gstbuffer.c: (gst_buffer_make_metadata_writable):
13351           gst_buffer_make_metadata_writable() should maintain the
13352           buffer flags (those that make sense at least) (see #340859).
13353
13354 2006-05-09  Tim-Philipp Müller  <tim at centricular dot net>
13355
13356         * tools/gst-inspect.c:
13357         * tools/gst-launch.c:
13358         * tools/gst-typefind.c:
13359         * tools/gst-xmlinspect.c:
13360         * tools/tools.h:
13361           Fix up includes: need to include stdlib.h in tools.h for exit().
13362
13363 2006-05-09  Tim-Philipp Müller  <tim at centricular dot net>
13364
13365         * gst/gsttaglist.c: (_gst_tag_initialize):
13366         * gst/gsttaglist.h:
13367           API: add GST_TAG_IMAGE tag (#340721).
13368
13369 2006-05-08  Wim Taymans  <wim@fluendo.com>
13370
13371         * gst/gstquery.c:
13372         Added some docs for the segment query.
13373
13374 2006-05-08  Wim Taymans  <wim@fluendo.com>
13375
13376         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
13377         (gst_base_src_loop), (gst_base_src_change_state):
13378         Always push non-flushing serialized events in the streaming 
13379         thread.
13380
13381 2006-05-08  Thomas Vander Stichele  <thomas at apestaart dot org>
13382
13383         * gst/gsterror.c: (_gst_stream_errors_init):
13384           Add a missing error string.
13385
13386 2006-05-08  Jan Schmidt  <thaytan@mad.scientist.com>
13387
13388         * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment):
13389         Add applied_rate to the debug
13390
13391         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek):
13392         Copy applied_rate into the outgoing NEWSEGMENT event
13393
13394 2006-05-08  Wim Taymans  <wim@fluendo.com>
13395
13396         Patch by: Philippe Rouquier <philippero at libertysurf dot fr>
13397
13398         * libs/gst/base/gstbasesink.c: (gst_base_sink_set_flushing),
13399         (gst_base_sink_change_state):
13400         call ::unlock before taking the PREROLL_LOCK so we can safely
13401         handle elements that lock in ::render.
13402         Fixes #340174.
13403
13404 2006-05-08  Edward Hervey  <edward@fluendo.com>
13405
13406         * autogen.sh: (CONFIGURE_DEF_OPT): 
13407         Darwin's libtoolize is in fact called glibtoolize.
13408         Adding glibtoolize to the list of accepted names for libtoolize.
13409
13410 2006-05-08  Wim Taymans  <wim@fluendo.com>
13411
13412         * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
13413         Unify error handling, don't post an error message
13414         when a push() returns EOS but perform our normal EOS
13415         handling code. Fixes #340772.
13416
13417 2006-05-08  Wim Taymans  <wim@fluendo.com>
13418
13419         * docs/design/part-overview.txt:
13420         Make upsteam/downstream concepts more clear.
13421         Give an example of serialized/non-serialized events.
13422
13423         * docs/design/part-events.txt:
13424         * docs/design/part-streams.txt:
13425         Mention applied_rate.
13426
13427         * docs/design/part-trickmodes.txt:
13428         Mention applied rate, flesh out some more use cases.
13429
13430         * gst/gstevent.c: (gst_event_new_new_segment),
13431         (gst_event_parse_new_segment), (gst_event_new_new_segment_full),
13432         (gst_event_parse_new_segment_full), (gst_event_new_tag),
13433         (gst_event_parse_tag), (gst_event_new_buffer_size),
13434         (gst_event_parse_buffer_size), (gst_event_new_qos),
13435         (gst_event_parse_qos), (gst_event_parse_seek),
13436         (gst_event_new_navigation):
13437         * gst/gstevent.h:
13438         Add applied_rate field to NEWSEGMENT event.
13439         API: gst_event_new_new_segment_full()
13440         API: gst_event_parse_new_segment_full()
13441
13442         * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_seek),
13443         (gst_segment_set_newsegment), (gst_segment_set_newsegment_full),
13444         (gst_segment_to_stream_time), (gst_segment_to_running_time):
13445         * gst/gstsegment.h:
13446         Add applied_rate to GstSegment structure.
13447         Make calculation of stream_time and running_time more correct
13448         wrt rate/applied_rate.
13449         Add some more docs.
13450         API: GstSegment::applied_rate field
13451         API: gst_segment_set_newsegment_full();
13452
13453         * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment),
13454         (gst_base_sink_get_sync_times), (gst_base_sink_get_position):
13455         * libs/gst/base/gstbasetransform.c:
13456         (gst_base_transform_sink_eventfunc),
13457         (gst_base_transform_handle_buffer):
13458         Parse and use applied_rate in the GstSegment field.
13459
13460         * tests/check/gst/gstevent.c: (GST_START_TEST):
13461         Add check for applied_rate field.
13462
13463         * tests/check/gst/gstsegment.c: (GST_START_TEST),
13464         (gstsegments_suite):
13465         Add more checks for various GstSegment operations.
13466
13467 2006-05-08  Wim Taymans  <wim@fluendo.com>
13468
13469         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
13470         (gst_base_sink_do_sync), (gst_base_sink_chain_unlocked),
13471         (gst_base_sink_get_position), (gst_base_sink_change_state):
13472         Store the sync time of the buffer end position separatly in a
13473         new variable eos_rtime so we can properly sync the EOS event.
13474         Fixes #340697.
13475         Fix the docs for gst_base_sink_set_qos_enabled().
13476         Don't set segment start to invalid value when we receive a 
13477         non TIME newsegment.
13478         get closer to handling position reporting for negative rates 
13479         correctly.
13480
13481 2006-05-07  Stefan Kost  <ensonic@users.sf.net>
13482
13483         * gst/gstcaps.c:
13484         Docs about how to print caps for debug purposes.
13485
13486         * gst/gstpadtemplate.c: (gst_static_pad_template_get):
13487         use gst_caps_make_writable instead of gst_caps_copy, Fixes #340608
13488
13489 2006-05-07  Stefan Kost  <ensonic@users.sf.net>
13490
13491         * gst/gstelement.c:
13492           use full enum names and preprend a '%' in docs strings to make recent 
13493           gtk-doc turn that into a link
13494
13495 2006-05-05  Tim-Philipp Müller  <tim at centricular dot net>
13496
13497         * docs/manual/basics-bins.xml:
13498         * docs/manual/basics-bus.xml:
13499         * docs/manual/basics-pads.xml:
13500           Some typo fixes, some additions, some clarifications. 
13501
13502 2006-05-05  Tim-Philipp Müller  <tim at centricular dot net>
13503
13504         * tools/gst-inspect.c: (main):
13505         * tools/gst-launch.c: (main):
13506         * tools/gst-run.c: (main):
13507         * tools/gst-typefind.c: (main):
13508         * tools/gst-xmlinspect.c: (main):
13509           Use the string passed to g_option_context_new() for
13510           what it's intended for - the program name is already
13511           printed elsewhere.
13512
13513 2006-05-05  Tim-Philipp Müller  <tim at centricular dot net>
13514
13515         * tools/Makefile.am:
13516         * tools/gst-inspect.c: (main):
13517         * tools/gst-launch.c: (main):
13518         * tools/gst-xmlinspect.c: (main):
13519         * tools/tools.h:
13520           Add back --version command line option (#340460).
13521
13522         * tools/gst-typefind.c: (have_type_handler), (typefind_file), (main):
13523           Add --version option and use GOption for argument parsing; refactor a
13524           bit; accept directories as arguments and recurse into them; lastly,
13525           print a decent error message when things go wrong.
13526
13527 2006-05-05  Maciej Katafiasz  <mathrick@freedesktop.org>
13528
13529         * docs/manual/basics-bins.xml:
13530         Don't mention GstThread (#340611)
13531         * docs/manual/basics-elements.xml:
13532         Update link to GObject tutorial (#340607)
13533         
13534 2006-05-05  Wim Taymans  <wim@fluendo.com>
13535
13536         * gst/gstbuffer.h:
13537         * gst/gstminiobject.c:
13538         Add note about refcounting and miniobject/buffer writeability
13539         to docs. Fixes #340604
13540
13541         * gst/gstelementfactory.h:
13542         Added some explanation about @klass.
13543
13544 2006-05-05  Maciej Katafiasz  <mathrick@freedesktop.org>
13545
13546         * docs/manual/intro-motivation.xml:
13547         * docs/manual/manual.xml:
13548         Avoid CORBA & Bonobo references (#340598)
13549
13550 2006-05-05  Maciej Katafiasz  <mathrick@freedesktop.org>
13551
13552         * docs/manual/basics-bus.xml:
13553         * docs/manual/basics-pads.xml:
13554         Fix up some inaccuracies and omissions (#340609)
13555         
13556 2006-05-05  Maciej Katafiasz  <mathrick@freedesktop.org>
13557
13558         * gst/gstghostpad.c:
13559           Small typo in docs (#340625)
13560
13561 2006-05-05  Tim-Philipp Müller  <tim at centricular dot net>
13562
13563         * gst/parse/Makefile.am:
13564           Make 'make -j' proof (see #340698).
13565
13566 2006-05-05  Tim-Philipp Müller  <tim at centricular dot net>
13567
13568         * configure.ac:
13569           Require GLib-2.8 here as well.
13570
13571 2006-05-05  Wim Taymans  <wim@fluendo.com>
13572
13573         * gst/glib-compat.c:
13574         * gst/gst.c: (init_pre):
13575         * gst/gstobject.c: (gst_object_init), (gst_object_ref),
13576         (gst_object_unref), (gst_object_replace), (gst_object_dispose),
13577         (gst_object_dispatch_properties_changed):
13578         * gst/gstobject.h:
13579         * gst/gstregistryxml.c: (gst_registry_xml_read_cache):
13580         * gst/gststructure.c: (gst_structure_set_valist):
13581         * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
13582         Remove pre glib2.8 compatibility, fixes #340508
13583
13584 2006-05-04  Tim-Philipp Müller  <tim at centricular dot net>
13585
13586         * gst/gsttaglist.h:
13587           Mention type of tags in doc blurbs.
13588
13589 2006-05-04  Jan Schmidt  <thaytan@mad.scientist.com>
13590
13591         * gst/gstpad.c: (gst_pad_init), (gst_pad_configure_sink),
13592         (gst_pad_configure_src), (gst_pad_push):
13593         Restore acceptcaps checking behaviour now that good plugins have
13594         been released.
13595
13596 2006-05-04  Tim-Philipp Müller  <tim at centricular dot net>
13597
13598         Patch by: James Andrewartha <trs80 at tartarus uwa edu au>
13599
13600         * gst/gst.c:
13601         * gst/gstbus.c:
13602         * gst/gstclock.c:
13603         * gst/gstevent.c:
13604         * gst/gstformat.c:
13605         * gst/gstmessage.c:
13606         * gst/gstparse.c:
13607         * gst/gstquery.c:
13608         * gst/gstutils.c:
13609         * gst/parse/Makefile.am:
13610         * libs/gst/base/gstadapter.c:
13611         * libs/gst/base/gstbasesrc.c:
13612         * libs/gst/base/gstpushsrc.c:
13613         * libs/gst/base/gsttypefindhelper.c:
13614         * plugins/elements/gstfakesrc.c:
13615         * plugins/elements/gstidentity.c:
13616           Make sure gstprivate.h and/or config.h are
13617           always included first, otherwise some of our
13618           defines (like _FILE_OFFSET_BITS) might be
13619           redefined in the system headers. Fixes build
13620           on opensolaris (#340016).
13621
13622 2006-05-04  Wim Taymans  <wim@fluendo.com>
13623
13624         * docs/libs/gstreamer-libs-sections.txt:
13625         API: addition: gst_adapter_take_buffer()
13626         
13627         * libs/gst/base/gstadapter.c: (gst_adapter_push),
13628         (gst_adapter_peek), (gst_adapter_take), (gst_adapter_take_buffer),
13629         (gst_adapter_available_fast):
13630         * libs/gst/base/gstadapter.h:
13631         Prepare for optimizing the hell out of this hugely inefficient
13632         piece of code. 
13633         Added gst_adapter_take_buffer() so we can at least start thinking
13634         about subbuffering and merging.
13635         Added some comments.
13636
13637         * tests/check/Makefile.am:
13638         * tests/check/libs/adapter.c: (GST_START_TEST),
13639         (gst_adapter_suite), (main):
13640         Added GstAdapter check.
13641
13642 2006-05-04  Wim Taymans  <wim@fluendo.com>
13643
13644         * docs/design/part-overview.txt:
13645         Fix some typos, add blurb about buffer flags.
13646
13647 2006-05-03  Thomas Vander Stichele  <thomas at apestaart dot org>
13648
13649         * docs/libs/gstreamer-libs-sections.txt:
13650           make sure GstBaseTransformClass shows up in the docs
13651         * libs/gst/base/gstbasetransform.c:
13652         * libs/gst/base/gstbasetransform.h:
13653           move docs so gtk-doc picks it up now
13654
13655 2006-05-02  Stefan Kost  <ensonic@users.sf.net>
13656
13657         * docs/libs/gstreamer-libs-sections.txt:
13658           add missing symbols to docs
13659
13660 2006-05-02  Stefan Kost  <ensonic@users.sf.net>
13661
13662         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_event):
13663           back out the newsegment handling change, see #340060 for ongoing
13664           discussion
13665
13666 2006-04-30  Tim-Philipp Müller  <tim at centricular dot net>
13667
13668         * tools/gst-run.c: (get_candidates), (main):
13669           Fix wrong g_file_test() usage (see glib docs for why it doesn't
13670           work); fix typo in error message. Fixes #340079.
13671
13672 2006-04-29  Thomas Vander Stichele  <thomas at apestaart dot org>
13673
13674         * common/Makefile.am:
13675         * docs/Makefile.am:
13676         * docs/faq/Makefile.am:
13677         * docs/gst/Makefile.am:
13678         * docs/libs/Makefile.am:
13679         * docs/manual/Makefile.am:
13680         * docs/plugins/Makefile.am:
13681         * docs/pwg/Makefile.am:
13682         * docs/slides/Makefile.am:
13683         * docs/upload.mak:
13684         * common/upload.mak:
13685           move upload.mak to common
13686
13687 2006-04-29  Thomas Vander Stichele  <thomas at apestaart dot org>
13688
13689         * tests/check/gst/gstghostpad.c: (GST_START_TEST):
13690           add more asserts on refcounts
13691           do more cleanup at end of tests
13692           fix test leaks showing in FC5
13693
13694 2006-04-29  Stefan Kost  <ensonic@users.sf.net>
13695
13696         * plugins/elements/gsttypefindelement.c:
13697         (gst_type_find_element_handle_event):
13698         reverted wrong change and reflowed code to avoid others falling into
13699         this trap
13700
13701 2006-04-28  Stefan Kost  <ensonic@users.sf.net>
13702
13703         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_event):
13704           fix changelog entry about last collectpads change,
13705           add notes about proper fix
13706
13707 2006-04-28  Stefan Kost  <ensonic@users.sf.net>
13708
13709         * gst/gst.c:
13710         * gst/gstregistry.c: (gst_registry_scan_path_level),
13711         (gst_registry_scan_path):
13712         * gst/gstregistry.h:
13713           only write out registry if it has changed, fixes #338339
13714
13715 2006-04-28  Stefan Kost  <ensonic@users.sf.net>
13716
13717         * gst/gstbin.c:
13718         * gst/gstpipeline.c:
13719         * plugins/elements/gstcapsfilter.c:
13720         * plugins/elements/gstfakesink.c:
13721         * plugins/elements/gstfakesrc.c:
13722         * plugins/elements/gstfdsink.c:
13723         * plugins/elements/gstfdsrc.c:
13724         * plugins/elements/gstfilesink.c:
13725         * plugins/elements/gstfilesrc.c:
13726         * plugins/elements/gstidentity.c:
13727         * plugins/elements/gstqueue.c:
13728         * plugins/elements/gsttee.c:
13729         * plugins/elements/gsttypefindelement.c:
13730         (gst_type_find_element_handle_event):
13731           make GstElementDetails const
13732
13733 2006-04-28  Stefan Kost  <ensonic@users.sf.net>
13734
13735         * libs/gst/base/gstbasesink.c: (gst_base_sink_event):
13736         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
13737         (gst_collect_pads_is_collected), (gst_collect_pads_event):
13738           more detailed debug and formatting cleanup,
13739           forward newsegments to src-pad (so that e.g. adder not eats them)
13740
13741 2006-04-28  Stefan Kost  <ensonic@users.sf.net>
13742
13743         * gst/gstutils.c: (gst_element_link_pads):
13744           cleanup double code
13745
13746 2006-04-28  Stefan Kost  <ensonic@users.sf.net>
13747
13748         * libs/gst/controller/gstcontroller.c:
13749         (gst_controller_sync_values):
13750           some little tuning
13751         * tests/check/libs/controller.c: (GST_START_TEST),
13752         (gst_controller_suite):
13753           a new test for live value handling
13754
13755 2006-04-28  Wim Taymans  <wim@fluendo.com>
13756
13757         * gst/gstutils.c: (push_and_ref):
13758         Added some more docs.
13759         Fix refcount issue whith gst_element_found_tags() helper 
13760         function. Fixes #338335
13761
13762         * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
13763         Added testsuite for gst_element_found_tags().
13764
13765 2006-04-28  Michael Smith  <msmith@fluendo.com>
13766
13767         * gst/gstvalue.c: (gst_value_serialize_flags):
13768           Avoid NULL dereference when trying to serialize flags containing
13769           invalid values.
13770
13771 2006-04-28  Michael Smith  <msmith@fluendo.com>
13772
13773         * plugins/elements/gsttypefindelement.c:
13774         (gst_type_find_element_handle_event):
13775           If we get EOS before any data is accumulated, don't use
13776           uninitialised local variables.
13777
13778 2006-04-28  Michael Smith  <msmith@fluendo.com>
13779
13780         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
13781         (gst_dp_event_from_packet):
13782           Fixes in reading/writing events over GDP (not currently used?) - 
13783           dereferencing NULL events for unknown/invalid event types, memory
13784           leak, and change g_warning to GST_WARNING.
13785
13786 2006-04-28  Wim Taymans  <wim@fluendo.com>
13787
13788         * libs/gst/base/gstbasesink.c: (gst_base_sink_is_too_late),
13789         (gst_base_sink_do_render_stats), (gst_base_sink_render_object),
13790         (gst_base_sink_get_position), (gst_base_sink_change_state):
13791         When frame dropping is enabled, we should not ignore frames
13792         without a duration.
13793         Update some documentation.
13794
13795 2006-04-28  Wim Taymans  <wim@fluendo.com>
13796
13797         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
13798         (gst_base_src_send_event), (gst_base_src_change_state):
13799         Documentation updates.
13800
13801 2006-04-28  Wim Taymans  <wim@fluendo.com>
13802
13803         * plugins/elements/gstfdsink.c: (gst_fd_sink_render),
13804         (gst_fd_sink_check_fd), (gst_fd_sink_update_fd):
13805         handle EAGAIN, EINTR and short writes correctly. Also clean
13806         up some error cases, avoid a deadlock on bad file descriptors and
13807         use GST_DEBUG_OBJECT.
13808         Fixes #339843
13809
13810 2006-04-28  Wim Taymans  <wim@fluendo.com>
13811
13812         * gst/gstvalue.c: (gst_value_serialize_buffer),
13813         (gst_value_deserialize_buffer):
13814         Don't try to serialize a GValue with a NULL buffer. 
13815         Fixes #339821.
13816
13817         * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
13818         Added check for serialisation of NULL buffers.
13819
13820 2006-04-28  Wim Taymans  <wim@fluendo.com>
13821
13822         * gst/gstminiobject.c: (gst_value_take_mini_object):
13823         Taking a NULL miniobject is valid, fix the case where
13824         we try to unref the NULL miniobject.
13825
13826 2006-04-28  Wim Taymans  <wim@fluendo.com>
13827
13828         Patch by: Stefan Kost <ensonic at sonicpulse dot de>
13829
13830         * gst/gstbin.c: (gst_bin_handle_message_func):
13831         Update docs.
13832         Don't leak bin refcount when a state recalc is
13833         in progress and we delay another one #339808.
13834
13835 2006-04-28  Wim Taymans  <wim@fluendo.com>
13836
13837         * docs/design/part-TODO.txt:
13838         Mention QoS as an ongoing work item.
13839
13840         * docs/design/part-buffering.txt:
13841         New doc about buffering that needs to be fleshed out
13842         at some point.
13843
13844         * docs/design/part-qos.txt:
13845         More QoS policy for decoders/demuxers/transforms
13846
13847         * docs/design/part-trickmodes.txt:
13848         Small update.
13849
13850 2006-04-28  Thomas Vander Stichele  <thomas at apestaart dot org>
13851
13852         * configure.ac:
13853           back to HEAD
13854
13855 === release 0.10.5 ===
13856
13857 2006-04-28  Thomas Vander Stichele <thomas at apestaart dot org>
13858
13859         * configure.ac:
13860           releasing 0.10.5, "Fogo"
13861
13862 2006-04-22  Thomas Vander Stichele  <thomas at apestaart dot org>
13863
13864         patch by: Wim Taymans
13865
13866         * gst/gstpad.c: (gst_pad_init), (gst_pad_configure_sink),
13867         (gst_pad_configure_src), (gst_pad_push):
13868         * gst/gstpipeline.c: (gst_pipeline_init):
13869           Fix internal data flow errors.  Fixes #338711.
13870
13871 2006-04-12  Wim Taymans  <wim@fluendo.com>
13872
13873         * tests/check/gst/gstelement.c: (GST_START_TEST):
13874         Don't leak the factory.
13875
13876 2006-04-12  Thomas Vander Stichele  <thomas at apestaart dot org>
13877
13878         * configure.ac:
13879         * win32/common/config.h:
13880           prerelease
13881
13882 2006-04-12  Tim-Philipp Müller  <tim at centricular dot net>
13883
13884         * libs/gst/controller/gstcontroller.c: (gst_controller_unset),
13885         (gst_controller_unset_all):
13886           Free allocated GstTimedValues when freeing list nodes.
13887           Should fix leaks 'make check-valgrind' complains about.
13888
13889         * win32/common/libgstcontroller.def:
13890           Add gst_controller_unset_all.
13891
13892 2006-04-11  Stefan Kost  <ensonic@users.sf.net>
13893
13894         * docs/libs/gstreamer-libs-sections.txt:
13895         * libs/gst/controller/gstcontroller.c: (gst_controller_unset),
13896         (gst_controller_unset_all):
13897         * libs/gst/controller/gstcontroller.h:
13898         API: Added new method gst_controller_unset_all()
13899         fixed gst_controller_unset()
13900         * tests/check/libs/controller.c: (GST_START_TEST),
13901         (gst_controller_suite):
13902         Added two testcases for new and fixed method
13903
13904 2006-04-11  Tim-Philipp Müller  <tim at centricular dot net>
13905
13906         * libs/gst/net/gstnettimepacket.c: (gst_net_time_packet_send):
13907           MSG_DONTWAIT is not defined on Cygwin, so work
13908           around that (fixes #317048).
13909           
13910 2006-04-11  Wim Taymans  <wim@fluendo.com>
13911
13912         * gst/gstelementfactory.c: (gst_element_register),
13913         (gst_element_factory_create), (gst_element_factory_make):
13914         Some cleanups.
13915         Fixed a FIXME.
13916         Updated docs (Fixes #131079)
13917
13918         * gst/gstpluginfeature.c: (gst_plugin_feature_load):
13919         Small cleanups.
13920
13921         * tests/check/gst/gstelement.c: (GST_START_TEST),
13922         (gst_element_suite):
13923         Added testcase for elementfactory class field.
13924
13925 2006-04-10  Wim Taymans  <wim@fluendo.com>
13926
13927         * gst/gstsegment.c:
13928         Added some more docs.
13929
13930         * libs/gst/base/gstbasesink.c: (gst_base_sink_perform_qos),
13931         (gst_base_sink_reset_qos):
13932         Calculate more accurate rate values.
13933
13934 2006-04-09  Sebastien Moutte  <sebastien@moutte.net>
13935
13936         * gst/gst_private.h:
13937           add a new #ifdef to use __declspec(dllimport) only for
13938           other modules and not for gstreamer core
13939         * gst/gstbasesink.c: (gst_base_sink_perform_qos):
13940           use gst_guint64_to_gdouble for conversion
13941         * win32/common/libgstreamer.def:
13942           add new exported functions
13943         * win32/vs6/gst_inspect.dsp:
13944         * win32/vs6/gst_launch.dsp:
13945         * win32/vs6/libgstbase.dsp:
13946         * win32/vs6/libgstcontroller.dsp:
13947         * win32/vs6/libgstcoreelements.dsp:
13948         * win32/vs6/libgstdataprotocol.dsp:
13949         * win32/vs6/libgstnet.dsp:
13950           update project files
13951
13952 2006-04-08  Stefan Kost  <ensonic@users.sf.net>
13953
13954         * gst/gstbuffer.c: (gst_subbuffer_class_init):
13955         * gst/gstclock.c: (gst_clock_class_init):
13956         * gst/gstelement.c: (gst_element_class_init):
13957         * gst/gstindex.c: (gst_index_class_init):
13958         * gst/gstindexfactory.c: (gst_index_factory_class_init):
13959         * gst/gstobject.c: (gst_object_class_init),
13960         (gst_signal_object_class_init):
13961         * gst/gstpad.c: (gst_pad_class_init):
13962         * gst/gstpadtemplate.c: (gst_pad_template_class_init):
13963         * gst/gstpluginfeature.c: (gst_plugin_feature_class_init):
13964         * gst/gstregistry.c: (gst_registry_class_init):
13965         * gst/gstsystemclock.c: (gst_system_clock_class_init):
13966         * gst/gsttask.c: (gst_task_class_init):
13967         * gst/gstxml.c: (gst_xml_class_init):
13968         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
13969         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
13970         (gst_base_src_loop):
13971         * libs/gst/controller/gstcontroller.c:/
13972         (_gst_controller_class_init):
13973         * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init):
13974         * plugins/indexers/gstfileindex.c: (gst_file_index_class_init):
13975         * plugins/indexers/gstmemindex.c: (gst_mem_index_class_init):
13976         * tests/old/examples/plugins/example.c: (gst_example_class_init):
13977         * tests/old/testsuite/threads/signals.c: (gst_test_class_init):
13978         Fix #337365 (g_type_class_ref <-> g_type_class_peek_parent)
13979
13980 2006-04-08  Tim-Philipp Müller  <tim at centricular dot net>
13981
13982         * gst/gstpad.c: (gst_pad_link):
13983           Must set peer pads before calling the link function, otherwise
13984           a task started from a link function might get a flow-not-linked
13985           result when trying to push because the other thread where the
13986           linking happens hasn't had a chance to set the peers yet. This
13987           might happen for example when a queue gets linked to a downstream
13988           element, as queue starts a streaming task when its source pad
13989           gets linked. Happens in real life when playing back flac/musepack
13990           files in playbin (#332390).
13991           
13992 2006-04-08  Stefan Kost  <ensonic@users.sf.net>
13993
13994         * gst/gstindex.h:
13995         * gst/gstxml.h:
13996         * libs/gst/base/gstadapter.h:
13997         * libs/gst/base/gstbasesink.h:
13998         * libs/gst/base/gstbasesrc.h:
13999         * libs/gst/base/gstbasetransform.h:
14000         * libs/gst/base/gstcollectpads.h:
14001         * libs/gst/base/gstpushsrc.h:
14002         Fix broken GObject macros
14003
14004 2006-04-07  Wim Taymans  <wim@fluendo.com>
14005
14006         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
14007         Initialize start and stop times, thanks valgrind.
14008
14009 2006-04-07  Wim Taymans  <wim@fluendo.com>
14010
14011         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
14012         Be a bit nicer to badly behaving upstream elements that expect
14013         us to deal with non TIME segments and timestamps (such as fakesrc
14014         in the testsuite).
14015
14016 2006-04-07  Wim Taymans  <wim@fluendo.com>
14017
14018         * gst/gstbus.c:
14019         Small documentation clarification about the signal watch.
14020
14021         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
14022         (gst_base_sink_wait_clock), (gst_base_sink_do_sync),
14023         (gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
14024         (gst_base_sink_do_render_stats), (gst_base_sink_render_object),
14025         (gst_base_sink_get_position_last),
14026         (gst_base_sink_get_position_paused), (gst_base_sink_change_state):
14027         Convert and store timestamps in stream time and running time, the
14028         raw timestamps are not useful, also document this better.
14029         Use different window sizes for good and bad QoS observations so
14030         we react to badness a little quicker.
14031         Keep track of the amount of rendered and dropped buffers.
14032         Send QoS timestamps in running time.
14033
14034         * libs/gst/base/gstbasetransform.c:
14035         (gst_base_transform_sink_eventfunc),
14036         (gst_base_transform_handle_buffer):
14037         Compare QoS timestamps against running time.
14038
14039 2006-04-06  Tim-Philipp Müller  <tim at centricular dot net>
14040
14041         * gst/gstpad.c:
14042           Typo fixes in docs.
14043
14044 2006-04-06  Michael Smith  <msmith@fluendo.com>
14045
14046         * gst/gstpad.c: (gst_pad_set_property):
14047           Use g_value_get_object() instead of g_value_dup_gst_object(),
14048           to avoid double-reffing the pad template (which we then sink,
14049           so this worked previously if (and only if) the pad template
14050           was floating.
14051
14052         * gst/gstpadtemplate.c: (gst_pad_template_init),
14053         (gst_pad_template_pad_created):
14054           Never return floating references to pad templates, create
14055           them as initially-sunken.
14056
14057           Document an extra function (and make this stop sinking our
14058           pad template, since that is now guaranteed to do nothing,
14059           since we created it sunken).
14060
14061         * gst/gstghostpad.c:
14062           Fix docs typo.
14063
14064 2006-04-06  Tim-Philipp Müller  <tim at centricular dot net>
14065
14066         * gst/gstinfo.c: (__gst_in_valgrind):
14067           Add some newlines.
14068
14069         * plugins/elements/gsttypefindelement.c:
14070         (gst_type_find_element_chain):
14071           Don't leak buffer caps.
14072
14073 2006-04-06  Michael Smith  <msmith@fluendo.com>
14074
14075         * gst/parse/grammar.y:
14076           Fix a leak in parse-launch for any source-or-sink named element 
14077           references used.
14078
14079         * tests/check/pipelines/parse-launch.c: (expected_fail_pipe):
14080           Unref the pipeline if it exists after we've failed parsing.
14081
14082 2006-04-05  Michael Smith  <msmith@fluendo.com>
14083
14084         * gst/gstpipeline.c: (gst_pipeline_init):
14085           When we create a pipeline bus, initially create it in flushing mode.
14086           Fixes leaks in at least one test, and makes a new pipeline work the
14087           same as one that has gone to READY and then back to NULL.
14088
14089         * gst/gstelement.c:
14090           Typo fix in docs.
14091
14092 2006-04-05  Michael Smith  <msmith@fluendo.com>
14093
14094         * tests/check/gst/gstghostpad.c: (GST_START_TEST):
14095           Unref a pad we reffed.
14096         * tests/check/gst/gstutils.c: (GST_START_TEST):
14097           Unref bins
14098
14099 2006-04-05  Michael Smith  <msmith@fluendo.com>
14100
14101         * gst/gstquery.c: (gst_query_set_formats),
14102         (gst_query_set_formatsv):
14103           Fix leaking GValues in queries, as shown by valgrind/testsuite.
14104
14105 2006-04-05  Michael Smith  <msmith@fluendo.com>
14106
14107         * tests/check/generic/sinks.c: (GST_START_TEST):
14108           Fix a variety of memleaks in sinks check, which are only sometimes 
14109           shown by running the tests under valgrind (weird?).
14110
14111 2006-04-05  Jan Schmidt  <thaytan@mad.scientist.com>
14112
14113         * docs/version.entities.in:
14114           Fix the substituted entity name after thomas' changes on the
14115           weekend.
14116
14117 2006-04-05  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
14118
14119         * gst/gstinfo.c: (__gst_in_valgrind): Use printf instead of
14120         VALGRIND_PRINTF
14121         
14122 2006-04-05  Andy Wingo  <wingo@pobox.com>
14123
14124         * gst/gstpad.c (gst_pad_set_blocked_async): More debug.
14125
14126         * libs/gst/base/gstbasetransform.c
14127         (gst_base_transform_sink_eventfunc): When resetting our segment on
14128         FLUSH_STOP, also update the flag saying we haven't seen a
14129         newsegment.
14130
14131 2006-04-04  Tim-Philipp Müller  <tim at centricular dot net>
14132
14133         Patch by: Paolo Borelli  <pborelli at katamail dot com>
14134
14135         * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_class_init),
14136         (gst_plugin_check_license):
14137           minor clean-ups: G_DEFINE_TYPE already takes care of the
14138           parent_class stuff, no need to do it twice. Mark array of
14139           license strings as constant. (#337103)
14140           
14141 2006-04-04  Michael Smith  <msmith@fluendo.com>
14142
14143         * tools/gst-inspect.c: (print_element_list):
14144           Free the right plugin list; fixes a memory leak.
14145
14146 2006-04-04  Tim-Philipp Müller  <tim at centricular dot net>
14147
14148         Patch by: Mark Nauwelaerts  <manauw at skynet dot be>
14149
14150         * plugins/elements/gstfilesink.c: (gst_file_sink_render):
14151           Don't error out on empty buffers (#336945).
14152           
14153 2006-04-04  Jan Schmidt  <thaytan@mad.scientist.com>
14154
14155         * docs/libs/gstreamer-libs-sections.txt:
14156         * gst/gsttaglist.c:
14157         * libs/gst/base/gstbasesink.c:
14158         * libs/gst/base/gstbasesink.h:
14159         * libs/gst/base/gstbasesrc.c:
14160         * libs/gst/base/gstbasesrc.h:
14161           Documentation updates. Make BaseSink and BaseSrc docs contain the
14162           class structure so that people can actually see the prototypes for
14163           virtual functions they're supposed to be overriding.
14164
14165 2006-04-04  Tim-Philipp Müller  <tim at centricular dot net>
14166
14167         * plugins/elements/gsttypefindelement.c:
14168         (gst_type_find_element_chain):
14169           More debug info; when skipping typefinding, send cached
14170           events in all cases.
14171
14172 2006-04-01  Thomas Vander Stichele  <thomas at apestaart dot org>
14173
14174         * configure.ac:
14175           use new AS_VERSION and AS_NANO macros
14176         * gst/gst-i18n-lib.h:
14177         * gst/gst.c:
14178         * gst/gsterror.c:
14179         * gst/gstversion.h.in:
14180         * win32/common/config.h:
14181         * win32/common/config.h.in:
14182           update accordingly
14183
14184 2006-03-31  Michael Smith  <msmith@fluendo.com>
14185
14186         * plugins/elements/gsttypefindelement.c:
14187         (gst_type_find_element_chain):
14188           Do not typefind content if the buffers already have caps.
14189           Neccesary for icydemux (#333657), and the right thing to do anyway.
14190
14191 2006-03-30  Wim Taymans  <wim@fluendo.com>
14192
14193         * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
14194         (gst_base_sink_finalize), (gst_base_sink_set_qos_enabled),
14195         (gst_base_sink_is_qos_enabled), (gst_base_sink_do_sync),
14196         (gst_base_sink_record_qos_observation),
14197         (gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
14198         (gst_base_sink_is_too_late), (gst_base_sink_render_object),
14199         (gst_base_sink_change_state):
14200         More QoS measurements as described in the design doc.
14201         Get rid of ringbuffer with observations, running average is
14202         more simple and equally good.
14203         Calculates valid proportion now.
14204         Added beginning of flood measurement.
14205
14206 2006-03-29  Wim Taymans  <wim@fluendo.com>
14207
14208         * docs/design/part-qos.txt:
14209         * gst/gstclock.c:
14210         Small documentation updates and additions.
14211
14212 2006-03-29  Wim Taymans  <wim@fluendo.com>
14213
14214         * libs/gst/base/gstbasesrc.c: (gst_base_src_finalize),
14215         (gst_base_src_send_event), (gst_base_src_loop),
14216         (gst_base_src_change_state):
14217         Perform the EOS logic when we reach the segment stop position.
14218         Fix compilation on gcc4.1
14219
14220 2006-03-29  Wim Taymans  <wim@fluendo.com>
14221
14222         Patch by: Tommi Myöhänen <ext-tommi dot myohanen at nokia dot com>
14223
14224         * plugins/elements/gstqueue.c: (gst_queue_init),
14225         (gst_queue_locked_flush), (gst_queue_handle_sink_event),
14226         (gst_queue_set_property):
14227         * plugins/elements/gstqueue.h:
14228         In queue, when EOS is received, if minimum threshold > max_size -
14229         current_level, there is chance that queue blocks forever in conditional
14230         item del wait. This is because the queue is not emptied completely due
14231         to minimum threshold.  Here is another approach. Instead of setting
14232         cur_levels to max in EOS, just zero all minimum threshold levels. This
14233         should make sure that queue gives out all data. When going to READY
14234         (stop) state, just reset the original minimum threshold levels.
14235         Fixes #336336.
14236
14237 2006-03-29  Tim-Philipp Müller  <tim at centricular dot net>
14238
14239         * plugins/elements/gsttypefindelement.c: (stop_typefinding),
14240         (gst_type_find_element_handle_event),
14241         (gst_type_find_element_send_cached_events),
14242         (gst_type_find_element_change_state):
14243         * plugins/elements/gsttypefindelement.h:
14244           When typefinding is done in push mode, we should cache
14245           events we receive during typefinding instead of just
14246           dropping them (e.g. newsegment, custom events from
14247           dvdreadsrc etc.) and then send them out once we've
14248           determined the type of the stream (and decodebin
14249           has had a chance to plug in a decoder/demuxer).
14250           
14251 2006-03-27  Wim Taymans  <wim@fluendo.com>
14252
14253         * docs/design/part-qos.txt:
14254         First QoS ideas.
14255
14256 2006-03-27  Wim Taymans  <wim@fluendo.com>
14257
14258         Inspired by a patch of: Lutz Mueller <lutz at topfrose dot de>
14259
14260         * libs/gst/base/gstbasesrc.c: (gst_base_src_finalize),
14261         (gst_base_src_send_event), (gst_base_src_change_state):
14262         Handle element seek correctly when we are streaming.
14263         Fixes #326998.
14264
14265 2006-03-24  Michael Smith  <msmith@fluendo.com>
14266
14267         * docs/faq/gst-uninstalled:
14268           Set up LD_LIBRARY_PATH to point at all the gstreamer libs. This will
14269           allow you to correctly run intalled applications built against old 
14270           core, using plugins that require updated core (e.g. running
14271           installed totem against a full uninstalled gstreamer stack)
14272
14273 2006-03-24  Stefan Kost  <ensonic@users.sf.net>
14274
14275         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_is_collected):
14276         more debug details
14277
14278 2006-03-24  Wim Taymans  <wim@fluendo.com>
14279
14280         * docs/gst/gstreamer-sections.txt:
14281         Rearrange the order of the methods so that related methods
14282         are grouped together in sections.
14283
14284 2006-03-24  Stefan Kost  <ensonic@users.sf.net>
14285
14286         * gst/gstelement.c:
14287           Little clarification in the docs
14288
14289 2006-03-24  Stefan Kost  <ensonic@users.sf.net>
14290
14291         * docs/README:
14292         formatting fix
14293         * plugins/elements/gstidentity.c:
14294         * plugins/elements/gstqueue.c:
14295         * plugins/elements/gsttee.c:
14296         * plugins/elements/gsttypefindelement.c:
14297         GST_ELEMENT_DETAILS formatting
14298
14299 2006-03-24  Wim Taymans  <wim@fluendo.com>
14300
14301         * libs/gst/base/gstbasesink.h:
14302         Only add fields, not insert or we break ABI.
14303
14304 2006-03-23  Tim-Philipp Müller  <tim at centricular dot net>
14305
14306         * win32/common/libgstbase.def:
14307         * win32/common/libgstreamer.def:
14308           Update, add recently added functions.
14309
14310 2006-03-23  Tim-Philipp Müller  <tim at centricular dot net>
14311
14312         * docs/gst/gstreamer-sections.txt:
14313         * gst/gstutils.c: (gst_pad_query_peer_position),
14314         (gst_pad_query_peer_duration), (gst_pad_query_peer_convert):
14315         * gst/gstutils.h:
14316           API: add some new utility functions:
14317            - gst_pad_query_peer_position()
14318            - gst_pad_query_peer_duration()
14319            - gst_pad_query_peer_convert()
14320           
14321 2006-03-23  Wim Taymans  <wim@fluendo.com>
14322
14323         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
14324         (gst_base_sink_init), (gst_base_sink_finalize),
14325         (gst_base_sink_set_qos_enabled), (gst_base_sink_is_qos_enabled),
14326         (gst_base_sink_set_property), (gst_base_sink_get_property),
14327         (gst_base_sink_commit_state), (gst_base_sink_get_sync_times),
14328         (gst_base_sink_wait_clock), (gst_base_sink_do_sync),
14329         (gst_base_sink_add_qos_observation), (gst_base_sink_send_qos),
14330         (gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
14331         (gst_base_sink_is_too_late), (gst_base_sink_render_object),
14332         (gst_base_sink_preroll_object), (gst_base_sink_event),
14333         (gst_base_sink_chain_unlocked), (gst_base_sink_get_position_last),
14334         (gst_base_sink_get_position_paused), (gst_base_sink_get_position),
14335         (gst_base_sink_query), (gst_base_sink_change_state):
14336         Decouple max-lateness and the fact that QoS messages are generated
14337         with a new property (qos).
14338         added API: GstBaseSink::async_play()
14339         Add vmethod so subclasses can be notified of ASYNC playing
14340         state changes.
14341         Collect timestamp start and stop to report better current
14342         position in EOS/PLAYING/PAUSED/READY/NULL.
14343         Refactor QoS/frame dropping and other measurements.
14344         API: GstBaseSrc::qos
14345         Fixes #326311
14346
14347         * libs/gst/base/gstbasesink.h:
14348         Added Private struct.
14349         API: gst_base_sink_set_qos_enabled()
14350         API: gst_base_sink_is_qos_enabled()
14351
14352 2006-03-23  Tim-Philipp Müller  <tim at centricular dot net>
14353
14354         * gst/gstregistryxml.c: (gst_registry_xml_read_cache):
14355           If compiling against GLib-2.8 or newer, try to read the
14356           registry file using GMappedFile first before falling back
14357           to fopen() + fread() (#332151).
14358
14359 2006-03-22  Wim Taymans  <wim@fluendo.com>
14360
14361         * gst/gstinfo.c: (gst_debug_set_active),
14362         (gst_debug_category_set_threshold):
14363         Disable debugging unless explicitly activated.
14364         Fixes #335480.
14365
14366 2006-03-22  Wim Taymans  <wim@fluendo.com>
14367
14368         * gst/gstelement.c: (gst_element_set_locked_state),
14369         (gst_element_dispose):
14370         Cleanup the error case.
14371
14372         * gst/gstobject.c: (gst_object_dispose):
14373         print a critical when some object was disposed with
14374         a parent, also revive the object since it might
14375         crash the parent.
14376
14377 2006-03-22  Tim-Philipp Müller  <tim at centricular dot net>
14378
14379         * tools/gst-launch.1.in:
14380           Fix another typo.
14381
14382 2006-03-21  Thomas Vander Stichele  <thomas at apestaart dot org>
14383
14384         * configure.ac:
14385         * tests/check/Makefile.am:
14386           disable some tests when we don't have a registry
14387         * tests/check/gst/gstutils.c: (gst_utils_suite):
14388           don't build the part that needs parsing
14389
14390 2006-03-21  Thomas Vander Stichele  <thomas at apestaart dot org>
14391
14392         * gst/Makefile.am
14393         * tests/examples/Makefile.am:
14394           fix --disable-parse build
14395
14396 2006-03-21  Tim-Philipp Müller  <tim at centricular dot net>
14397
14398         * tools/gst-feedback.1.in:
14399           Fix typo: s/feeback/feedback/ (#133494).
14400
14401 2006-03-21  Tim-Philipp Müller  <tim at centricular dot net>
14402
14403         * tools/Makefile.am:
14404         * tools/gst-launch.1.in:
14405           Add FILES section and correct entry about GST_REGISTRY_PATH
14406           environment variable (#133495; #133494).
14407
14408 2006-03-21  Tim-Philipp Müller  <tim at centricular dot net>
14409
14410         * tools/Makefile.am:
14411         * tools/gst-md5sum.1.in:
14412         * tools/gst-md5sum.c:
14413           Remove gst-md5sum and man page (the md5sink element
14414           required was removed ages ago)
14415
14416 2006-03-21  Tim-Philipp Müller  <tim at centricular dot net>
14417
14418         * gst/gststructure.c: (gst_structure_id_set_value):
14419           Make sure that string fields in structures/taglists
14420           contain valid UTF-8 - we don't want to pass rubbish to
14421           applications because of a buggy plugin (cp. #334167).
14422
14423 2006-03-21  Edward Hervey  <edward@fluendo.com>
14424
14425         * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
14426         (gst_bin_handle_message_func):
14427         * gst/gstclock.c: (gst_clock_dispose), (gst_clock_set_master):
14428         * gst/gstelement.c: (gst_element_set_clock), (gst_element_dispose),
14429         (gst_element_set_bus_func):
14430         * gst/gstghostpad.c: (gst_proxy_pad_dispose):
14431         * gst/gstminiobject.c: (gst_value_set_mini_object),
14432         (gst_value_take_mini_object):
14433         * gst/gstpad.c: (gst_pad_set_pad_template):
14434         * gst/gstpipeline.c: (gst_pipeline_dispose),
14435         (gst_pipeline_use_clock), (gst_pipeline_auto_clock):
14436         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_pop),
14437         (gst_collect_pads_chain):
14438         * libs/gst/net/gstnettimeprovider.c:
14439         (gst_net_time_provider_set_property):
14440         Series of fixes for dereferenced pointers that gcc 4.1 complains about.
14441         It's in fact all issues with gst_*object_replace().
14442
14443 2006-03-21  Tim-Philipp Müller  <tim at centricular dot net>
14444
14445         Patch by: Loïc Minier  <lool + gnome at via dot ecp dot fr>
14446         
14447         * pkgconfig/gstreamer-check-uninstalled.pc.in:
14448         * pkgconfig/gstreamer-check.pc.in:
14449           Use @CHECK_LIBS@ here instead of hard-coding -lcheck (#334109).
14450
14451 2006-03-21  Edward Hervey  <edward@fluendo.com>
14452
14453         * gst/gstbuffer.h:
14454         * gst/gstevent.h:
14455         * gst/gstmessage.h:
14456         gst_[buffer|event|message]_ref() macros are replaced by a static
14457         inline functions because gcc-4.1 will about if the return value
14458         isn't used.
14459         * tests/check/gst/gstevent.c: (event_probe):
14460         gst_event_ref now has to be given a GstEvent* , fix check accordingly.
14461
14462 2006-03-20  Jan Schmidt  <thaytan@mad.scientist.com>
14463
14464         * gst/gstutils.h:
14465         Add G_UNLIKELY to our boilerplate to optimise the 'already registered
14466         the type' case. (Closes: #335195 for now). In the future, when we
14467         depend on GLib 2.10, we could also intern the type name using
14468         g_intern_static_string()
14469
14470 2006-03-20  Wim Taymans  <wim@fluendo.com>
14471
14472         * gst/gstbin.c: (gst_bin_handle_message_func),
14473         (bin_query_max_init), (bin_query_position_fold),
14474         (bin_query_position_done), (gst_bin_query):
14475         Position query should also take max of all streams.
14476
14477 2006-03-20  Wim Taymans  <wim@fluendo.com>
14478
14479         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
14480         (gst_fake_src_finalize):
14481         Fix leaks in fakesrc.
14482
14483         * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
14484         Fix leaks in the testcase.
14485
14486 2006-03-19  Sebastien Moutte  <sebastien@moutte.net>
14487
14488         * gst/gst_private.h:
14489           add win32 specific import decoration(__declspec(dllimport)) 
14490           for all extern GstDebugCategory * variables
14491         * win32/common/libgstbase.def:
14492         * win32/common/libgstcontroller.def:
14493         * win32/common/libgstreamer.def:
14494           Add some exports, remove empty lines
14495         * win32/common/libgstdataprotocol.def:
14496         * win32/common/libgstdataprotocol.dsp:
14497         * win32/common/libgstnet.def:
14498         * win32/common/libgstnet.dsp:
14499           new project files and exportation files added
14500         
14501 2006-03-19  Wim Taymans  <wim@fluendo.com>
14502
14503         * tests/check/libs/basesrc.c: (eos_event_counter):
14504         Use proper return value for probe.
14505
14506 2006-03-17  Wim Taymans  <wim@fluendo.com>
14507
14508         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_alloc_buffer_full),
14509         (gst_pad_push):
14510         Don't leak buffers, caps and pads on negotiation errors.
14511
14512 2006-03-16  Stefan Kost  <ensonic@users.sf.net>
14513
14514         * docs/faq/cvs.xml:
14515         * docs/faq/dependencies.xml:
14516         * docs/faq/developing.xml:
14517         * docs/faq/faq.xml:
14518         * docs/faq/general.xml:
14519         * docs/faq/getting.xml:
14520         * docs/faq/legal.xml:
14521         * docs/faq/troubleshooting.xml:
14522         * docs/faq/using.xml:
14523         Faq review and update.
14524
14525 2006-03-16  Jan Schmidt  <thaytan@mad.scientist.com>
14526
14527         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_alloc_buffer_full),
14528         (gst_pad_push):
14529         Don't pound the cpu to pieces by checking get_caps when accept_caps
14530         is called with the same caps as the pad already has.
14531         Use GST_DEBUG_OBJECT when outputting caps change information.
14532
14533 2006-03-15  Wim Taymans  <wim@fluendo.com>
14534
14535         * gst/gstclock.c: (gst_clock_class_init):
14536         Fix docs.
14537
14538 2006-03-15  Jan Schmidt  <thaytan@mad.scientist.com>
14539
14540         * gst/gstbuffer.h:
14541         Documentation fix.
14542
14543         * gst/gstpad.c: (gst_pad_init), (gst_pad_acceptcaps_default),
14544         (gst_pad_accept_caps), (gst_pad_configure_sink),
14545         (gst_pad_configure_src), (gst_pad_chain), (gst_pad_push):
14546         Make the default acceptcaps behaviour be to check the requested 
14547         caps against the gst_pad_get_caps output. 
14548
14549         Ensure that gst_pad_accept_caps is used to check caps when a pad
14550         doesn't have a setcaps function, so that pads automatically refuse 
14551         caps that they don't allow in their pad template. (Fixes #332986)
14552
14553         When a buffer with attached caps is pushed, ensure that the source 
14554         pad receives those caps even if the element didn't call
14555         gst_pad_set_caps first.
14556
14557 2006-03-15  Wim Taymans  <wim@fluendo.com>
14558
14559         * libs/gst/base/gstadapter.c:
14560         Add some docs.
14561
14562 2006-03-15  Tim-Philipp Müller  <tim at centricular dot net>
14563
14564         * win32/common/libgstbase.def:
14565         * win32/common/libgstcontroller.def:
14566         * win32/common/libgstreamer.def:
14567           Add a whole bunch of missing functions (#334434).
14568
14569 2006-03-14  Wim Taymans  <wim@fluendo.com>
14570
14571         * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment),
14572         (gst_base_sink_get_sync_times), (gst_base_sink_wait_clock),
14573         (gst_base_sink_do_sync), (gst_base_sink_do_qos):
14574         Better debug info when we receive a segment event.
14575         Reorganize a bit so we can pass the get_times() results around.
14576         Use the segment format when calculating the running time.
14577         Don't do QoS is sync is disabled or we have no clock or the
14578         element does not want us to sync to the clock.
14579         Don't drop buffers if QoS is disabled for now.
14580
14581 2006-03-14  Wim Taymans  <wim@fluendo.com>
14582
14583         * gst/gstclock.c: (gst_clock_class_init), (do_linear_regression):
14584         Marked the stats property as unimplemented so people don't get
14585         wild ideas.
14586         Add debug message when regression goes wrong.
14587         Added some more docs.
14588
14589 2006-03-14  Wim Taymans  <wim@fluendo.com>
14590
14591         * gst/gstsegment.c: (gst_segment_to_stream_time):
14592         Return correct return type in case of errors.
14593
14594 2006-03-14  Wim Taymans  <wim@fluendo.com>
14595
14596         * gst/gstformat.c: (gst_format_get_name), (gst_format_to_quark):
14597           Don't segfault on invalid formats.
14598
14599 2006-03-14  Tim-Philipp Müller  <tim at centricular dot net>
14600
14601         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
14602           Can't use gst_segment_to_running_time() when the segment
14603           is not in GST_TIME_FORMAT (like with filesink, for example).
14604           Stops flac encoding pipelines from spewing critical warnings
14605           at EOS (#331248).
14606           
14607 2006-03-14  Tim-Philipp Müller  <tim at centricular dot net>
14608
14609         * gst/gstpipeline.c: (gst_pipeline_class_init):
14610           Add 'Since: 0.10.5' to gtk-doc blurb for added property.
14611
14612         * plugins/elements/gsttypefindelement.c:
14613         (gst_type_find_element_handle_event):
14614           Don't try to typefind empty streams.
14615
14616 2006-03-14  Wim Taymans  <wim@fluendo.com>
14617
14618         * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync),
14619         (gst_base_sink_do_qos):
14620         Separate QoS calculation.
14621         Only drop buffers when lateness is bigger than the 
14622         duration of the buffer.
14623
14624 2006-03-13  Wim Taymans  <wim@fluendo.com>
14625
14626         * gst/gstpipeline.c: (gst_pipeline_set_property),
14627         (gst_pipeline_get_property), (do_pipeline_seek),
14628         (gst_pipeline_change_state), (gst_pipeline_set_delay),
14629         (gst_pipeline_get_delay):
14630         Don't deadlock when reading properties.
14631
14632 2006-03-13  Wim Taymans  <wim@fluendo.com>
14633
14634         * libs/gst/base/gstbasetransform.c:
14635         (gst_base_transform_class_init), (gst_base_transform_init),
14636         (gst_base_transform_sink_event),
14637         (gst_base_transform_sink_eventfunc),
14638         (gst_base_transform_src_event), (gst_base_transform_src_eventfunc),
14639         (gst_base_transform_handle_buffer), (gst_base_transform_chain),
14640         (gst_base_transform_set_property),
14641         (gst_base_transform_get_property),
14642         (gst_base_transform_change_state), (gst_base_transform_update_qos),
14643         (gst_base_transform_set_qos_enabled),
14644         (gst_base_transform_is_qos_enabled):
14645         * libs/gst/base/gstbasetransform.h:
14646         Make basetransform virtual method for src events too.
14647         Handle QOS in basetransform.
14648         API: gst_base_transform_update_qos()
14649         API: gst_base_transform_set_qos_enabled()
14650         API: gst_base_transform_is_qos_enabled()
14651
14652 2006-03-13  Wim Taymans  <wim@fluendo.com>
14653
14654         * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
14655         (gst_base_sink_do_sync):
14656         Small cleanups.
14657         Use QOS debug category.
14658
14659 2006-03-13  Wim Taymans  <wim@fluendo.com>
14660
14661         * plugins/elements/gstqueue.c:
14662         Very small doc update.
14663
14664 2006-03-13  Wim Taymans  <wim@fluendo.com>
14665
14666         * gst/gst_private.h:
14667         * gst/gstinfo.c: (_gst_debug_init):
14668         Added QOS debug category
14669
14670 2006-03-13  Wim Taymans  <wim@fluendo.com>
14671
14672         * docs/gst/gstreamer-sections.txt:
14673         * gst/gstbin.c: (bin_bus_handler), (gst_bin_handle_message_func):
14674         * gst/gstbin.h:
14675         * gst/gstbus.c: (gst_bus_class_init):
14676         * gst/gstbus.h:
14677         * gst/gstclock.c:
14678         * gst/gstelement.c: (gst_element_set_locked_state):
14679         * gst/gstsegment.c:
14680         Documentation updates.
14681
14682         * gst/gstpipeline.c: (gst_pipeline_get_type),
14683         (gst_pipeline_class_init), (gst_pipeline_init),
14684         (gst_pipeline_dispose), (gst_pipeline_set_property),
14685         (gst_pipeline_get_property), (do_pipeline_seek),
14686         (gst_pipeline_send_event), (gst_pipeline_change_state),
14687         (gst_pipeline_provide_clock_func), (gst_pipeline_set_delay),
14688         (gst_pipeline_get_delay):
14689         * gst/gstpipeline.h:
14690         Added methods for setting the delay.
14691         API: gst_pipeline_set_delay()
14692         API: gst_pipeline_get_delay()
14693         Add pipeline debug category
14694         Various cleanups.
14695         Updated docs.
14696         Don't reset stream time when seek failed.
14697
14698 2006-03-13  Wim Taymans  <wim@fluendo.com>
14699
14700         * docs/design/draft-klass.txt:
14701         * docs/design/part-clocks.txt:
14702         * docs/design/part-events.txt:
14703         * docs/design/part-gstbin.txt:
14704         * docs/design/part-gstpipeline.txt:
14705         * docs/design/part-messages.txt:
14706         * docs/design/part-negotiation.txt:
14707         * docs/design/part-overview.txt:
14708         * docs/design/part-preroll.txt:
14709         * docs/design/part-seeking.txt:
14710         * docs/design/part-states.txt:
14711         * docs/design/part-streams.txt:
14712         Documentation updates.
14713
14714 2006-03-12  Julien MOUTTE  <julien@moutte.net>
14715
14716         * gst/gsttaglist.c: Fix rubbish docs that are encouraging
14717         us to leak strings...
14718
14719 2006-03-12  Thomas Vander Stichele  <thomas at apestaart dot org>
14720
14721         * libs/gst/net/gstnettimeprovider.c:
14722           fix docs
14723         * win32/common/config.h:
14724           update
14725
14726 2006-03-12  Tim-Philipp Müller  <tim at centricular dot net>
14727
14728         Patch by: Julio M. Merino Vidal <jmmv at netbsd org>
14729
14730         * configure.ac:
14731           Don't check for libgnomeui (leftover from old examples
14732           that aren't built or disted any longer) (#334303).
14733           
14734 2006-03-11  Tim-Philipp Müller  <tim at centricular dot net>
14735
14736         * plugins/elements/gstfdsink.c: (gst_fd_sink_render):
14737         * plugins/elements/gstfilesink.c: (gst_file_sink_render):
14738           Emit RESOURCE_NO_SPACE_LEFT error here as well when
14739           there's no space left on the device.
14740
14741 2006-03-10  Tim-Philipp Müller  <tim at centricular dot net>
14742
14743         * gst/gstclock.h:
14744           Fix GST_CLOCK_TIME_IS_VALID signedness issues - we need
14745           to cast the input to GstClockTime before comparing with
14746           another GstClockTime value.
14747
14748 2006-03-10  Thomas Vander Stichele  <thomas at apestaart dot org>
14749
14750         * configure.ac:
14751           back to trunk
14752
14753 === release 0.10.4 ===
14754
14755 2006-03-10  Thomas Vander Stichele <thomas at apestaart dot org>
14756
14757         * configure.ac:
14758           releasing 0.10.4, "Light"
14759
14760 2006-03-10  Michael Smith  <msmith@fluendo.com>
14761
14762         * libs/gst/dataprotocol/dataprotocol.c:
14763           Fix docs for dataprocotol to not get the return types completely
14764           wrong for a few functions.
14765
14766 2006-03-09  Tim-Philipp Müller  <tim at centricular dot net>
14767
14768         * docs/gst/gstreamer-sections.txt:
14769         * gst/gstpipeline.c: (gst_pipeline_class_init),
14770         (gst_pipeline_init), (gst_pipeline_set_property),
14771         (gst_pipeline_get_property), (gst_pipeline_change_state),
14772         (gst_pipeline_set_auto_flush_bus),
14773         (gst_pipeline_get_auto_flush_bus):
14774         * gst/gstpipeline.h:
14775           Add new API: gst_pipeline_set_auto_flush_bus() and
14776           gst_pipeline_get_auto_flush_bus() to disable automatic
14777           flushing of the pipeline's GstBus when going from READY
14778           to NULL state (#332045).
14779
14780 2006-03-09  Tim-Philipp Müller  <tim at centricular dot net>
14781
14782         * docs/gst/gstreamer-sections.txt:
14783         * gst/gsturi.c: (gst_uri_has_protocol):
14784         * gst/gsturi.h:
14785            Add new API: gst_uri_has_protocol() (#333779).
14786
14787 2006-03-09  Wim Taymans  <wim@fluendo.com>
14788
14789         * gst/gstclock.c: (gst_clock_entry_new),
14790         (gst_clock_id_compare_func), (gst_clock_id_wait),
14791         (gst_clock_id_wait_async), (gst_clock_id_unschedule),
14792         (gst_clock_init), (gst_clock_get_internal_time),
14793         (gst_clock_set_master), (do_linear_regression),
14794         (gst_clock_add_observation), (gst_clock_set_property):
14795         * gst/gstclock.h:
14796         Review docs.
14797         Small cleanups.
14798         Fix a possible segfault when the window-size is made smaller.
14799         Calculate jitter before performing the clock wait. Ideally
14800         the clock implementation should calculate jitter but we need
14801         API breakage for that.
14802
14803         * gst/gstsystemclock.c: (gst_system_clock_init):
14804         Docs review.
14805         
14806         * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync):
14807         Remove leftover else
14808
14809         * tests/check/gst/gstsystemclock.c: (GST_START_TEST),
14810         (gst_systemclock_suite):
14811         Added check to test GST_CLOCK_DIFF.
14812
14813 2006-03-09  Tim-Philipp Müller  <tim at centricular dot net>
14814
14815         * libs/gst/base/gsttypefindhelper.c: (helper_find_get_length),
14816         (gst_type_find_helper_get_range):
14817           If we are provided with the size, we should implement
14818           GstTypeFind::get_length, so that typefind functions who
14819           want to can actually peek at the middle of a file.
14820
14821 2006-03-08  Tim-Philipp Müller  <tim at centricular dot net>
14822
14823         * docs/manual/advanced-dataaccess.xml:
14824           Add some very very basic error checking.
14825
14826         * docs/pwg/appendix-checklist.xml:
14827           Some updates to the list of things to check when writing an element.
14828
14829 2006-03-08  Wim Taymans  <wim@fluendo.com>
14830
14831         * docs/design/part-element-transform.txt:
14832         Added some docs about the design of tranform elements.
14833
14834         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
14835         (gst_base_src_loop), (gst_base_src_change_state):
14836         Mark buffers with the DISCONT flag.
14837
14838 2006-03-08  Michael Smith  <msmith@fluendo.com>
14839
14840         * gst/gstregistry.h:
14841         * gst/gstregistryxml.c: (gst_registry_save),
14842         (gst_registry_save_escaped), (gst_registry_xml_save_caps),
14843         (gst_registry_xml_save_pad_template),
14844         (gst_registry_xml_save_feature), (gst_registry_xml_save_plugin),
14845         (gst_registry_xml_write_cache):
14846           Rewrite registry-saving to avoid race conditions and check for
14847           failed writes.
14848
14849 2006-03-08  Wim Taymans  <wim@fluendo.com>
14850
14851         * libs/gst/base/gstbasetransform.c:
14852         (gst_base_transform_transform_caps),
14853         (gst_base_transform_transform_size),
14854         (gst_base_transform_prepare_output_buffer),
14855         (gst_base_transform_get_unit_size),
14856         (gst_base_transform_buffer_alloc),
14857         (gst_base_transform_handle_buffer),
14858         (gst_base_transform_change_state):
14859         Cleanups, separate normal flow from errors, add sensible
14860         DEBUG lines.
14861         Don't try to renegotiate when allocating an output buffer.
14862         Also copy DISCONT buffer flag when copying a buffer.
14863         Reset the transform after we finish streaming, not during.
14864
14865 2006-03-08  Wim Taymans  <wim@fluendo.com>
14866
14867         * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync):
14868         Use last buffer timestamp in qos message.
14869
14870 2006-03-07  Wim Taymans  <wim@fluendo.com>
14871
14872         Patch by: Christophe Fergeau
14873
14874         * docs/pwg/advanced-tagging.xml:
14875         * docs/pwg/building-pads.xml:
14876           fixes #333416
14877
14878 2006-03-07  Wim Taymans  <wim@fluendo.com>
14879
14880         * docs/libs/gstreamer-libs-sections.txt:
14881         Added basesink new methods.
14882
14883         * gst/gstevent.c:
14884         * gst/gstevent.h:
14885         Docs updates. Flesh out the QoS docs.
14886
14887         * libs/gst/base/gstadapter.c:
14888         Small doc clarification about ownership and flushing.
14889
14890         * libs/gst/base/gstbasesink.c: (gst_base_sink_set_sync),
14891         (gst_base_sink_get_sync), (gst_base_sink_set_max_lateness),
14892         (gst_base_sink_get_max_lateness), (gst_base_sink_set_property),
14893         (gst_base_sink_get_property), (gst_base_sink_do_sync):
14894         * libs/gst/base/gstbasesink.h:
14895         API additions: 
14896         Added new methods to allow subclass to control max-lateness 
14897         and sync.
14898         Generate very basic QoS events based on last sync observation.
14899         Updated docs, fix typo, added some QoS blurb.
14900
14901         * libs/gst/base/gstbasesrc.c:
14902         Remove obsolete _get_state() calls from docs.
14903
14904 2006-03-07  Wim Taymans  <wim@fluendo.com>
14905
14906         * docs/libs/gstreamer-libs-sections.txt:
14907         * libs/gst/base/gstbasetransform.h:
14908         API addition: Fix #333669, Add pad accessor defines for GstBaseTransform
14909         Fix docs for GstBaseSrc.
14910
14911 2006-03-07  Wim Taymans  <wim@fluendo.com>
14912
14913         * docs/gst/gstreamer-sections.txt:
14914         * gst/gstbuffer.h:
14915         * gst/gstvalue.c:
14916         * libs/gst/base/gstbasetransform.h:
14917         Small documentation fixes.
14918
14919 2006-03-07  Tim-Philipp Müller  <tim at centricular dot net>
14920
14921         * gst/gstvalue.c:
14922           Document thread-unsafety of gst_value_register_foo_func()
14923           when used at the same time as gst_value_foo() (#322628).
14924
14925 2006-03-07  Tim-Philipp Müller  <tim at centricular dot net>
14926
14927         * libs/gst/base/gstpushsrc.c: (gst_push_src_class_init),
14928         (gst_push_src_check_get_range):
14929           Push sources don't support pull mode by default.
14930
14931 2006-03-06  Tim-Philipp Müller  <tim at centricular dot net>
14932
14933         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
14934         (gst_base_src_init), (gst_base_src_pad_check_get_range),
14935         (gst_base_src_default_check_get_range):
14936         * libs/gst/base/gstbasesrc.h:
14937           API addition:  Add ::check_get_range() vfunc to GstBaseSrc (#332611),
14938           provide default implementation, and rename
14939           gst_base_src_check_get_range() to
14940           gst_base_src_pad_check_get_range() for clarity.
14941
14942 2006-03-06  Wim Taymans  <wim@fluendo.com>
14943
14944         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
14945         Make property overridable.
14946
14947 2006-03-06  Wim Taymans  <wim@fluendo.com>
14948
14949         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
14950         (gst_base_sink_init), (gst_base_sink_set_property),
14951         (gst_base_sink_get_property), (gst_base_sink_do_sync):
14952         * libs/gst/base/gstbasesink.h:
14953         API addition: Make max-lateness a property.
14954
14955 2006-03-06  Wim Taymans  <wim@fluendo.com>
14956
14957         * libs/gst/base/gstbasesink.c: (gst_base_sink_wait_clock),
14958         (gst_base_sink_do_sync), (gst_base_sink_render_object):
14959         Don't ever draw a frame that is >10ms late.
14960
14961 2006-03-06  Michael Smith  <msmith@fluendo.com>
14962
14963         * gst/gstmessage.c: (_gst_message_copy):
14964           When copying a message, set the parent_refcount of the enclosed
14965           structure to point at the copy, not the original message.
14966
14967 2006-03-06  Tim-Philipp Müller  <tim at centricular dot net>
14968
14969         Patch by: Christophe Fergeau
14970
14971         * gst/gstutils.h:
14972           Do proper cast here to make GST_BOILERPLATE_WITH_INTERFACE
14973           usable in c++ code (#333417)
14974
14975 2006-03-06  Thomas Vander Stichele  <thomas at apestaart dot org>
14976
14977         * gst/gstclock.h:
14978           Show GST_CLOCK_TIME_NONE as 99:99:99.999999999
14979
14980 2006-03-05  Tim-Philipp Müller  <tim at centricular dot net>
14981
14982         * libs/gst/base/gstbasetransform.c:
14983         (gst_base_transform_transform_caps):
14984           Make sure caps are writable before passing them to
14985           gst_caps_append().
14986
14987 2006-03-04  Tim-Philipp Müller  <tim at centricular dot net>
14988
14989         * gst/gsterror.h:
14990           Fix some minor docs errors.
14991
14992 2006-03-04  Tim-Philipp Müller  <tim at centricular dot net>
14993
14994           Patch by: Ross Burton <ross at burtonini dot com>
14995
14996         * gst/gsterror.c: (_gst_resource_errors_init):
14997         * gst/gsterror.h:
14998           Add GST_RESOURCE_ERROR_NO_SPACE_LEFT (for #333352;
14999
15000 2006-03-03  Jan Schmidt  <thaytan@mad.scientist.com>
15001
15002         * gst/gst.c:
15003         Add a check and output a g_warning when GStreamer is built
15004         against GLib 2.6 but running against 2.8 or higher, and vice 
15005         versa. (Closes: #323542)
15006
15007 2006-03-03  Jan Schmidt  <thaytan@mad.scientist.com>
15008
15009         * gst/parse/parse.l:
15010           Commit patch for parse_launch syntax from #331255. Removes 
15011           support for quoted strings and mimetypes when writing filtered 
15012           caps. See the bug report for more details - I'm pretty sure this
15013           obscure feature is not in use by _anyone_ anywhere.
15014
15015           With this simple change, the size of the gstreamer.so here 
15016           drops from 2193KB to 1565KB.
15017
15018 2006-03-03  Tim-Philipp Müller  <tim at centricular dot net>
15019
15020         * plugins/elements/gsttypefindelement.h:
15021         * plugins/elements/gsttypefindelement.c:
15022         (gst_type_find_element_src_event), (start_typefinding),
15023         (stop_typefinding), (gst_type_find_element_handle_event),
15024         (gst_type_find_element_chain),
15025         (gst_type_find_element_chain_do_typefinding):
15026           Use gst_type_find_helper_for_buffer() for chain-based
15027           typefinding.
15028
15029 2006-03-03  Tim-Philipp Müller  <tim at centricular dot net>
15030
15031         * plugins/elements/gsttypefindelement.c:
15032         (gst_type_find_element_class_init),
15033         (gst_type_find_element_set_property),
15034         (gst_type_find_element_get_property):
15035           Deprecate "maximum" property (not only was it only taken into
15036           account for typefinding in push-mode anyway, it also was never
15037           actually possible to set it in the first place because the
15038           property was registered with the numeric property ID for the
15039           "minimum" property). Register "maximum" property correctly,
15040           for the sake of future copy'n'pasters. Remove some cruft
15041           from property get/set functions.
15042
15043 2006-03-03  Tim-Philipp Müller  <tim at centricular dot net>
15044
15045         * plugins/elements/gsttypefindelement.c:
15046         (gst_type_find_element_activate):
15047           Use gst_type_find_helper_get_range() here, so we
15048           can honour the "minimum" property and also emit
15049           the signal with the correct probability of the found caps.
15050
15051 2006-03-02  Tim-Philipp Müller  <tim at centricular dot net>
15052
15053         * docs/libs/gstreamer-libs-sections.txt:
15054         * libs/gst/base/gsttypefindhelper.c: (helper_find_peek),
15055         (helper_find_suggest), (gst_type_find_helper_get_range),
15056         (gst_type_find_helper):
15057         * libs/gst/base/gsttypefindhelper.h:
15058           New API: gst_type_find_helper_get_range() (#333042).
15059
15060 2006-03-02  Michael Smith  <msmith@fluendo.com>
15061
15062         * gst/gstregistryxml.c: (load_feature):
15063           Asserting on a failure to read part of the registry is Not Cool.
15064           Just log a warning and return NULL (which is already handled)
15065
15066 2006-02-28  Sebastien Moutte  <sebastien@moutte.net>
15067
15068         * win32/common/libgstbase.def:
15069           added export of gst_type_find_helper_for_buffer
15070         * win32/common/libgstbase.def:
15071           added some exports : gst_bin_iterate_elements, gst_iterator_resync,
15072           gst_ghost_pad_get_target
15073
15074 2006-02-28  Wim Taymans  <wim@fluendo.com>
15075
15076         * docs/design/draft-klass.txt:
15077         We use Filter now.
15078         Added Connector to mark elements that are only used to
15079         allow pipeline connections.
15080         Moved Debug to extra feature since most of them are 
15081         functionally something else.
15082
15083 2006-02-28  Wim Taymans  <wim@fluendo.com>
15084
15085         * docs/design/draft-klass.txt:
15086         Some updates and clarifications.
15087
15088 2006-02-28  Wim Taymans  <wim@fluendo.com>
15089
15090         * docs/design/draft-klass.txt:
15091         Proposal for klass field values.
15092
15093         * docs/design/part-streams.txt:
15094         Start of a doc describing stream anatomy.
15095
15096 2006-02-28  Wim Taymans  <wim@fluendo.com>
15097
15098         * gst/gstbin.c: (gst_bin_get_type), (gst_bin_handle_message_func):
15099         Help the compiler a bit with type registration.
15100         Use existing forward cod path instead of duplicating it when 
15101         handling a message.
15102         
15103         * gst/gstbus.c: (gst_bus_get_type):
15104         * gst/gstcaps.c: (gst_caps_get_type), (gst_static_caps_get_type):
15105         * gst/gstchildproxy.c: (gst_child_proxy_get_type):
15106         * gst/gstclock.c: (gst_clock_get_type):
15107         * gst/gstelement.c: (gst_element_get_type),
15108         * gst/gstelementfactory.c: (gst_element_factory_get_type):
15109         * gst/gstindexfactory.c: (gst_index_factory_get_type):
15110         * gst/gstminiobject.c: (gst_mini_object_get_type):
15111         * gst/gstpad.c: (gst_pad_get_type):
15112         * gst/gstsegment.c: (gst_segment_get_type):
15113         * gst/gststructure.c: (gst_structure_get_type):
15114         * gst/gstsystemclock.c: (gst_system_clock_get_type):
15115         * gst/gsttask.c: (gst_task_get_type), (gst_task_join):
15116         * gst/gstvalue.c:
15117         Help compiler with type registration.
15118
15119         * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event):
15120         Small doc update.
15121
15122 2006-02-27  Tim-Philipp Müller  <tim at centricular dot net>
15123
15124         * plugins/elements/gsttypefindelement.c:
15125         (gst_type_find_element_handle_event):
15126           When we get an EOS event and have not found a type yet
15127           (most likely because we had not yet accumulated
15128           TYPE_FIND_MIN_SIZE of data yet), try to determine the
15129           type given the data we have so far. Fixes typefinding
15130           for very short streams again, most notably quicktime
15131           redirections as used on Apple's trailer site (#331701).
15132
15133 2006-02-27  Tim-Philipp Müller  <tim at centricular dot net>
15134
15135         * libs/gst/base/gsttypefindhelper.c: (type_find_factory_rank_cmp),
15136         (gst_type_find_helper):
15137           Try typefinding factories with the highest rank first.
15138
15139 2006-02-27  Tim-Philipp Müller  <tim at centricular dot net>
15140
15141         * docs/libs/gstreamer-libs-docs.sgml:
15142         * docs/libs/gstreamer-libs-sections.txt:
15143         * libs/gst/base/gsttypefindhelper.c:
15144           Add section for typefind helper and add documentation
15145           for the old and the new function.
15146
15147 2006-02-27  Tim-Philipp Müller  <tim at centricular dot net>
15148
15149         * libs/gst/base/gsttypefindhelper.c: (buf_helper_find_peek),
15150         (buf_helper_find_suggest), (type_find_factory_rank_cmp),
15151         (gst_type_find_helper_for_buffer):
15152         * libs/gst/base/gsttypefindhelper.h:
15153           New API: gst_type_find_helper_for_buffer() (#332723).
15154           
15155 2006-02-27  Michael Smith  <msmith@fluendo.com>
15156
15157         Patch by: Loïc Minier
15158
15159         * configure.ac:
15160         * docs/Makefile.am:
15161         * docs/slides/Makefile.am:
15162           prevent CVS directories getting disted.
15163
15164 2006-02-27  Tim-Philipp Müller  <tim at centricular dot net>
15165
15166         * gst/gstcaps.c: (gst_caps_ref), (gst_caps_unref):
15167           Use the REFCOUNTING category for caps refcounting.
15168           
15169 2006-02-26  Tim-Philipp Müller  <tim at centricular dot net>
15170
15171         * plugins/elements/gsttypefindelement.c: (stop_typefinding):
15172           This should be 0 not GST_CLOCK_TIME_NONE (see #331701).
15173
15174 2006-02-26  Tim-Philipp Müller  <tim at centricular dot net>
15175
15176         * plugins/elements/gsttypefindelement.c:
15177         (gst_type_find_element_activate):
15178           Use gst_pad_check_pull_range() before _activate_pull()
15179           to avoid unnecessary open/close (see #331690).
15180
15181 2006-02-24  Tim-Philipp Müller  <tim at centricular dot net>
15182
15183         * gst/gstutils.c:
15184           Docs enhancement: make it crystal clear what the
15185           gst_pad_add_*_probe() callbacks should look like.
15186
15187 2006-02-24  Tim-Philipp Müller  <tim at centricular dot net>
15188
15189         * libs/gst/base/gstbasesrc.c:
15190           Document how applications can stop recording from
15191           live sources (see #330996).
15192
15193 2006-02-23  Tim-Philipp Müller  <tim at centricular dot net>
15194
15195         * tests/check/Makefile.am:
15196         * tests/check/libs/basesrc.c: (eos_event_counter),
15197         (basesrc_eos_events_pull), (basesrc_eos_events_push),
15198         (basesrc_eos_events_push_live_op), (basesrc_eos_events_pull_live_op),
15199         (gst_basesrc_suite), (main):
15200           ... and add some tests for the base source EOS stuff.
15201
15202 2006-02-23  Tim-Philipp Müller  <tim at centricular dot net>
15203
15204         * tests/check/gst/gstutils.c: (test_buffer_probe_n_times):
15205           Test case originally showed the problem fixed below,
15206           but was then amended. Add checks back at the place
15207           where they used to be.
15208
15209 2006-02-23  Tim-Philipp Müller  <tim at centricular dot net>
15210
15211         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
15212         (gst_base_src_init), (gst_base_src_loop),
15213         (gst_base_src_activate_push), (gst_base_src_activate_pull),
15214         (gst_base_src_change_state):
15215         * libs/gst/base/gstbasesrc.h:
15216           Don't unconditionally send EOS when going from PAUSED to
15217           READY state, esp. make sure we don't send two EOS events
15218           in some cases (e.g. one when reaching EOS and one when
15219           going from PAUSED to READY). Also, we don't want to send
15220           EOS events when operating in pull mode. However, we do
15221           want to send an EOS event when shutting down a live
15222           source explicitly, for example (fixes #330996).
15223           
15224 2006-02-23  Tim-Philipp Müller  <tim at centricular dot net>
15225
15226         * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
15227           Update src->read_position after a seek when not using mmap.
15228           Fixes #332277, patch by: Renchi Raju <renchi gmail com>
15229
15230 2006-02-21  Jan Schmidt  <thaytan@mad.scientist.com>
15231
15232         * gst/Makefile.am:
15233         * gst/gstparse.h:
15234         * gst/gstutils.c:
15235         * gst/gstutils.h:
15236         Make things work with --disable-parse as they do with 
15237         --disable-load-save - the symbols involved disappear, but the
15238         header is still installed and GST_DISABLE_PARSE is included via
15239         gstconfig.h
15240
15241 2006-02-20  Julien MOUTTE  <julien@moutte.net>
15242
15243         * libs/gst/base/gstbasetransform.c:
15244         (gst_base_transform_change_state): Fix a stupid bug. I was 
15245         sure I compiled that.
15246
15247 2006-02-20  Julien MOUTTE  <julien@moutte.net>
15248
15249         * gst/gstpad.c: (gst_pad_set_blocked_async):
15250         * gst/gstutils.c: (gst_pad_add_data_probe),
15251         (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
15252         (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
15253         (gst_pad_remove_buffer_probe): Make those function act on the
15254         ghostpad target when it's a ghostpad. (Closes #331727)
15255
15256 2006-02-20  Julien MOUTTE  <julien@moutte.net>
15257
15258         * libs/gst/base/gstbasetransform.c:
15259         (gst_base_transform_change_state): Make basetransform reusable.
15260         (Closes #331898)
15261
15262 2006-02-20  Jan Schmidt  <thaytan@mad.scientist.com>
15263
15264         * docs/random/release:
15265         Move the current documentation of how to do a release to the top
15266         of the file.
15267
15268         * gst/gstbin.c: (gst_bin_class_init),
15269         (gst_bin_handle_message_func):
15270         Allow multiple state-recalculation threads. (Closes #328873)
15271
15272 2006-02-19  Julien MOUTTE  <julien@moutte.net>
15273
15274         * gst/gstinfo.h: Add GST_STR_NULL to the second string.
15275         * gst/gstpad.c: (gst_pad_set_event_function),
15276         (gst_pad_set_query_function), (gst_pad_set_query_type_function),
15277         (gst_pad_set_getcaps_function): GST_DEBUG_PAD_NAME evaluates to
15278         2 strings. You can't use the STR_NULL macro on that.
15279
15280 2006-02-19  Sebastien Moutte <sebastien@moutte.net>
15281
15282         * gst/gstpad.c: (gst_pad_set_event_function),
15283         (gst_pad_set_query_function), (gst_pad_set_query_type_function),
15284         (gst_pad_set_getcaps_function)
15285         * gst/parse/grammar.y: (gst_parse_found_pad), (gst_parse_perform_delayed_link)
15286           Fixed NULL pointer used in GST_CAT_DEBUG using GST_STR_NULL macro
15287           So now, we can use --gst-debug-level=5 on Windows
15288         * win32/common/libgstcontroller.def:
15289           Added export of gst_controller_init
15290         * win32/vs6/libgstcontroller.dsp:
15291           Fixed Release post build configuration
15292
15293 2006-02-17  Wim Taymans  <wim@fluendo.com>
15294
15295         * tests/check/gst/gstquery.c: (GST_START_TEST):
15296         Added another check.
15297
15298 2006-02-15  Tim-Philipp Müller  <tim at centricular dot net>
15299
15300         * plugins/elements/gsttypefindelement.c: (find_peek):
15301           We can do peeks at non-zero offsets, as long as they
15302           fall within the buffer we have.
15303
15304 2006-02-15  Jan Schmidt  <thaytan@mad.scientist.com>
15305
15306         * tests/check/Makefile.am:
15307         * tests/check/pipelines/parse-launch.c: (setup_pipeline),
15308         (expected_fail_pipe), (check_pipeline_runs), (GST_START_TEST),
15309         (parse_suite), (main):
15310           Add testsuite for parse launch syntax
15311
15312 2006-02-14  Tim-Philipp Müller  <tim at centricular dot net>
15313
15314         * plugins/elements/gsttypefindelement.c:
15315         (gst_type_find_element_chain):
15316           When typefinding is unsuccessful in the chain function, don't
15317           error out immediately. Only error out with NO_CAPS_FOUND if
15318           the amount of data is at least MAX_TYPEFIND_SIZE bytes,
15319           otherwise simply wait for more data so we can try typefinding
15320           again with more data later. Also, don't attempt to typefind
15321           if we have less than MIN_TYPEFIND_SIZE data available. Overall,
15322           this should improve typefinding from network sources where the
15323           size of the first buffer can be somewhat random.
15324
15325 2006-02-14  Wim Taymans  <wim@fluendo.com>
15326
15327         * docs/gst/gstreamer-sections.txt:
15328         * gst/gstpadtemplate.c:
15329         * gst/gstpadtemplate.h:
15330         Fix padtemplate docs, fixes #328805.
15331
15332 2006-02-14  Wim Taymans  <wim@fluendo.com>
15333
15334         * tools/gst-launch.c: (main):
15335         NO_PREROLL is not an ERROR so don't send confusing messages
15336         to the user.
15337
15338 2006-02-14  Wim Taymans  <wim@fluendo.com>
15339
15340         Patch by: Torsten Schoenfeld
15341
15342         * gst/gstregistry.c: (gst_registry_get_default),
15343         (_gst_registry_cleanup):
15344         Protect default registry with lock and ref/sink it.
15345         Fixes #324818
15346
15347 2006-02-14  Wim Taymans  <wim@fluendo.com>
15348
15349         * gst/gstbuffer.c:
15350         * gst/gstquery.c: (gst_query_list_add_format),
15351         (gst_query_set_formatsv), (gst_query_parse_formats_length),
15352         (gst_query_parse_formats_nth):
15353         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
15354         Docs fixes.
15355
15356 2006-02-14  Wim Taymans  <wim@fluendo.com>
15357
15358         * docs/gst/gstreamer-sections.txt:
15359         Reworked query docs.
15360
15361         * gst/gstquery.c: (gst_query_new_formats),
15362         (gst_query_list_add_format), (gst_query_set_formats),
15363         (gst_query_set_formatsv), (gst_query_parse_formats_length),
15364         (gst_query_parse_formats_nth):
15365         * gst/gstquery.h:
15366         Flesh out formats query, added some new methods.
15367         Fix part of #324398.
15368
15369         * tests/check/gst/gstquery.c: (GST_START_TEST), (gstquery_suite):
15370         Added query creation tests.
15371
15372 2006-02-14  Jan Schmidt  <thaytan@mad.scientist.com>
15373
15374         * gst/gstpad.c: (fixate_value):
15375         Add a default fixation for fraction lists.
15376
15377 2006-02-13  Wim Taymans  <wim@fluendo.com>
15378
15379         * gst/gsttask.c: (gst_task_init), (gst_task_func),
15380         (gst_task_set_lock), (gst_task_start), (gst_task_pause),
15381         (gst_task_join):
15382         * gst/gsttask.h:
15383         Detect and warn for obvious deadlocks. fixes #320340
15384         Fix error case where lock was not released.
15385
15386         * tests/check/Makefile.am:
15387         * tests/check/gst/gsttask.c: (task_func2), (GST_START_TEST),
15388         (task_func), (gst_element_suite), (main):
15389         Add task check.
15390
15391 2006-02-13  Wim Taymans  <wim@fluendo.com>
15392
15393         * docs/gst/gstreamer-sections.txt:
15394         * gst/gstbus.c:
15395         Add new functions to docs.
15396
15397 2006-02-13  Wim Taymans  <wim@fluendo.com>
15398
15399         * docs/design/part-TODO.txt:
15400         Updated TODO list, basesrc supports seeking to non-bytes
15401         formats.
15402
15403         * docs/design/part-element-sink.txt:
15404         Update docs.
15405
15406         * gst/gstbin.c: (bin_replace_message),
15407         (gst_bin_handle_message_func):
15408         * gst/gstbus.c: (gst_bus_post), (gst_bus_pop):
15409         * gst/gstevent.c: (gst_event_finalize):
15410         * gst/gstpad.c: (gst_pad_event_default_dispatch),
15411         (gst_pad_send_event):
15412         Use shiny new _TYPE_NAME macros.
15413
15414         * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range):
15415         Move debug statement up.
15416
15417         * gst/gstelement.c: (gst_element_set_locked_state):
15418         Add some debugging.
15419
15420 2006-02-13  Tim-Philipp Müller  <tim at centricular dot net>
15421
15422         * docs/gst/gstreamer-sections.txt:
15423         * gst/gstmessage.h:
15424         * gst/gstquery.h:
15425           New API: add GST_MESSAGE_TYPE_NAME and GST_QUERY_TYPE_NAME
15426           macros (#330906). Also, document the already existing
15427           GST_QUERY_TYPE macro.
15428
15429 2006-02-13  Wim Taymans  <wim@fluendo.com>
15430
15431         * tests/check/gst/gstutils.c: (data_probe), (buffer_probe),
15432         (event_probe), (GST_START_TEST):
15433         Only events up to the pipeline EOS are counted, there are
15434         some more when going to NULL currently which we don't care
15435         about for now.
15436
15437 2006-02-13  Wim Taymans  <wim@fluendo.com>
15438
15439         * gst/gstpad.c: (gst_pad_send_event):
15440         Correctly check flushing and emit probes. fixes #330125
15441
15442 2006-02-10  Andy Wingo  <wingo@pobox.com>
15443
15444         * gst/gstbus.c (gst_bus_class_init): Declare our private data
15445         structure.
15446         (gst_bus_init): Cache the location of the private data in the
15447         instance structure.
15448         (gst_bus_enable_sync_message_emission) 
15449         (gst_bus_disable_sync_message_emission): Implement new public
15450         functions.
15451         (gst_bus_post): Emit the sync-message signal if the user asked for
15452         it. Fixes #330684.
15453
15454         * gst/gstbus.h (GstBus): Use a padding pointer to cache the
15455         location of the bus-private structure.
15456         (gst_bus_enable_sync_message_emission)
15457         (gst_bus_disable_sync_message_emission): API addition
15458
15459 2006-02-10  Jan Schmidt  <thaytan@mad.scientist.com>
15460
15461         Patch by: Vincent Torri
15462
15463         * docs/pwg/building-boiler.xml:
15464         PWG patch from #326800
15465
15466 2006-02-09  Tim-Philipp Müller  <tim at centricular dot net>
15467
15468         * configure.ac:
15469         * docs/Makefile.am:
15470         * docs/design/Makefile.am:
15471           Dist design docs.
15472
15473 2006-02-08  Jan Schmidt  <thaytan@mad.scientist.com>
15474
15475         * configure.ac:
15476           back to CVS
15477
15478 === release 0.10.3 ===
15479
15480 2006-02-08  Jan Schmidt <thaytan@mad.scientist.com>
15481
15482         * configure.ac:
15483           releasing 0.10.3, "Like a virgin"
15484
15485 2006-02-08  Jan Schmidt  <thaytan@mad.scientist.com>
15486
15487         * configure.ac:
15488           2nd prerelease of 0.10.3
15489           Bump libtool versioning.
15490
15491 2006-02-07  Andy Wingo  <wingo@pobox.com>
15492
15493         * libs/gst/base/gstcollectpads.c (gst_collect_pads_chain): Only
15494         update last_stop if we're in TIME format and the timestamp is
15495         valid.
15496
15497         * libs/gst/base/gstcollectpads.c (gst_collect_pads_event) 
15498         * libs/gst/base/gstbasetransform.c (gst_base_transform_eventfunc): 
15499         * libs/gst/base/gstbasesink.c (gst_base_sink_configure_segment):
15500         If we get a new newsegment with a different format, adapt
15501         accordingly.
15502
15503         * gst/gstclock.c (gst_clock_set_calibration): Accept a numerator
15504         of 0. Not a problem, really.
15505
15506         * libs/gst/base/gstbasesink.c (gst_base_sink_chain_unlocked): Only
15507         warn if sync=true.
15508
15509 2006-02-06  Jan Schmidt  <thaytan@mad.scientist.com>
15510
15511         * configure.ac:
15512           Prelease of 0.10.3
15513
15514 2006-02-06  Sebastien Moutte  <sebastien@moutte.net>
15515
15516         * win32/vs7:
15517           project files updated to the default vs7 configuration
15518         * win32/common/libgstbase.def:
15519         * win32/common/libgstreamer.def:
15520           added new symbols,
15521           removed empty lines,
15522           sorted all exported symbols alphabetically
15523         * win32/common/dirent.c:
15524         * win32/common/dirent.h:
15525         * win32/common/gchar.h:
15526           use windows line end.
15527           
15528 2006-02-06  Tim-Philipp Müller  <tim at centricular dot net>
15529
15530         * libs/gst/base/gstbasesrc.c: (gst_base_src_change_state):
15531           Send EOS event when stopping.
15532
15533 2006-02-06  Tim-Philipp Müller  <tim at centricular dot net>
15534
15535         * docs/README:
15536           Tell folks what to do if the plugin-foobar.xml file
15537           hasn't been generated for a newly-added plugin.
15538
15539 2006-02-05  Julien MOUTTE  <julien@moutte.net>
15540
15541         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
15542         (gst_collect_pads_add_pad), (gst_collect_pads_remove_pad),
15543         (gst_collect_pads_start), (gst_collect_pads_stop),
15544         (gst_collect_pads_event): Collectpads now holds a reference
15545         to the GstPad that was added. Indeed we don't want to look
15546         at pads that might just go away with no warning...
15547
15548 2006-02-05  Julien MOUTTE  <julien@moutte.net>
15549
15550         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
15551         (gst_collect_pads_start), (gst_collect_pads_stop),
15552         (gst_collect_pads_event), (gst_collect_pads_chain):
15553         * libs/gst/base/gstcollectpads.h: Handle flush. Adapted from
15554         Mark Nauwelaerts's patch on bug #328491.
15555
15556 2006-02-04  Tim-Philipp Müller  <tim at centricular dot net>
15557
15558         * tests/check/gst/gstutils.c: (test_parse_bin_from_description),
15559         (gst_utils_suite):
15560           Add some simple tests for gst_parse_bin_from_description() and
15561           gst_bin_find_unconnected_pad() (#329069).
15562
15563 2006-02-04  Tim-Philipp Müller  <tim at centricular dot net>
15564
15565         * tools/gst-launch.c: (event_loop), (main):
15566           Catch errors during preroll (#320084).
15567
15568 2006-02-03  Tim-Philipp Müller  <tim at centricular dot net>
15569
15570         * plugins/elements/gsttypefindelement.c:
15571         (gst_type_find_element_activate):
15572           Post TYPE_NOT_FOUND error message when typefinding
15573           is unsuccessful in the activate function as well.
15574
15575 2006-02-02  Wim Taymans  <wim@fluendo.com>
15576
15577         * docs/design/part-element-sink.txt:
15578         Updated doc.
15579
15580 2006-02-02  Wim Taymans  <wim@fluendo.com>
15581
15582         * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync),
15583         (gst_base_sink_render_object),
15584         (gst_base_sink_queue_object_unlocked):
15585         Only keep track of prerollable items when we are 
15586         prerolling.
15587         Before rendering after preroll, always check if we
15588         have queued items.
15589         Added some more debugging.
15590
15591 2006-02-02  Wim Taymans  <wim@fluendo.com>
15592
15593         * gst/gstelement.c: (gst_element_continue_state),
15594         (gst_element_set_state_func), (gst_element_change_state):
15595         Fixed #326576, been running this for quite some time with
15596         no regressions at all.
15597
15598 2006-02-02  Wim Taymans  <wim@fluendo.com>
15599
15600         * common/gst.supp:
15601         Added more suppressions
15602
15603 2006-02-02  Wim Taymans  <wim@fluendo.com>
15604
15605         * docs/design/part-element-sink.txt:
15606         Updated document.
15607
15608         * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
15609         (gst_base_sink_finalize), (gst_base_sink_preroll_queue_flush),
15610         (gst_base_sink_configure_segment), (gst_base_sink_commit_state),
15611         (gst_base_sink_get_sync_times), (gst_base_sink_wait_clock),
15612         (gst_base_sink_do_sync), (gst_base_sink_render_object),
15613         (gst_base_sink_preroll_object),
15614         (gst_base_sink_queue_object_unlocked),
15615         (gst_base_sink_queue_object), (gst_base_sink_event),
15616         (gst_base_sink_chain_unlocked), (gst_base_sink_chain),
15617         (gst_base_sink_loop), (gst_base_sink_activate_pull),
15618         (gst_base_sink_get_position), (gst_base_sink_change_state):
15619         * libs/gst/base/gstbasesink.h:
15620         Totally refactored matching the design doc.
15621         Use two segments, one to clip incomming buffers and another to
15622         perform sync.
15623         Handle queueing correctly, bypass the queue when playing.
15624         Make EOS cancelable.
15625         Handle errors correctly when operating in pull based mode.
15626
15627         * tests/check/elements/fakesink.c: (GST_START_TEST),
15628         (fakesink_suite):
15629         Added new check for sinks.
15630
15631 2006-02-02  Wim Taymans  <wim@fluendo.com>
15632
15633         * gst/gstsegment.c: (gst_segment_clip):
15634         No reason to refuse to clip when start == -1
15635
15636 2006-02-02  Stefan Kost  <ensonic@users.sf.net>
15637
15638         * docs/README:
15639         * docs/manual/intro-basics.xml:
15640         * docs/manual/intro-preface.xml:
15641         * docs/manual/manual.xml:
15642         * docs/pwg/advanced-dparams.xml:
15643         * docs/pwg/intro-basics.xml:
15644         * docs/pwg/intro-preface.xml:
15645         * docs/pwg/pwg.xml:
15646           describe dparams (controller) for plugins
15647           unify docs a little more
15648
15649 2006-02-02  Tim-Philipp Müller  <tim at centricular dot net>
15650
15651         * docs/gst/gstreamer-sections.txt:
15652         * gst/gstutils.c: (element_find_unconnected_pad),
15653         (gst_bin_find_unconnected_pad), (gst_parse_bin_from_description):
15654         * gst/gstutils.h:
15655           Add new API: gst_parse_bin_from_description() and
15656           gst_bin_find_unconnected_pad() (#329069).
15657
15658 2006-02-01  Stefan Kost  <ensonic@users.sf.net>
15659
15660         * docs/manual/README:
15661           uncover a nasty detail of the docs build
15662
15663 2006-01-31  Wim Taymans  <wim@fluendo.com>
15664
15665         * gst/gstbin.c: (bin_remove_messages), (bin_query_duration_done):
15666         Don't cache duration messages if we're not going to use or
15667         free them.
15668
15669 2006-01-31  Stefan Kost  <ensonic@users.sf.net>
15670
15671         * docs/manual/advanced-dparams.xml:
15672         * docs/pwg/advanced-dparams.xml:
15673           more dparam docs
15674         * gst/gstindex.c:
15675           fix docs
15676         * libs/gst/controller/lib.c: (gst_controller_init):
15677           init just once
15678
15679 2006-01-31  Thomas Vander Stichele  <thomas at apestaart dot org>
15680
15681         * gst/gstelement.c: (gst_element_message_full):
15682           also show file/line/func if no additional debug was given
15683
15684 2006-01-31  Sebastien Moutte  <sebastien@moutte.net>
15685         
15686         * win32/vs7/grammar.vcproj:
15687           activate copy of autogenerated files for Release mode
15688
15689 2006-01-30  Sebastien Moutte  <sebastien@moutte.net>
15690         
15691         * win32/common/libgstreamer.def:
15692           export gst_value_compare
15693
15694 2006-01-30  Jan Schmidt  <thaytan@mad.scientist.com>
15695
15696         * plugins/elements/Makefile.am:
15697         * plugins/elements/gstelements.c:
15698         * plugins/elements/gstfdsink.c: (_do_init),
15699         (gst_fd_sink_base_init), (gst_fd_sink_class_init),
15700         (gst_fd_sink_init), (gst_fd_sink_dispose), (gst_fd_sink_query),
15701         (gst_fd_sink_render), (gst_fd_sink_check_fd), (gst_fd_sink_start),
15702         (gst_fd_sink_stop), (gst_fd_sink_unlock), (gst_fd_sink_update_fd),
15703         (gst_fd_sink_set_property), (gst_fd_sink_uri_get_type),
15704         (gst_fd_sink_uri_get_protocols), (gst_fd_sink_uri_get_uri),
15705         (gst_fd_sink_uri_set_uri), (gst_fd_sink_uri_handler_init):
15706         * plugins/elements/gstfdsink.h:
15707         Port fdsink to 0.10 (patch by Philippe Rouquier) (Fixes #325490)
15708
15709 2006-01-30  Stefan Kost  <ensonic@users.sf.net>
15710
15711         * docs/manual/advanced-dparams.xml:
15712           describe controller
15713         * docs/manual/advanced-position.xml:
15714         * docs/manual/basics-init.xml:
15715         * docs/manual/manual.xml:
15716         * docs/manual/titlepage.xml:
15717         * docs/pwg/pwg.xml:
15718         * docs/pwg/titlepage.xml:
15719           cleanup xml (more to come)
15720         * libs/gst/controller/gstcontroller.c:
15721           fix typo
15722
15723 2006-01-30  Sebastien Moutte  <sebastien@moutte.net>
15724         
15725         * win32/vs6/grammar.dsp:
15726           add autogen of gstmarshal.c,h for Release mode
15727                 
15728 2006-01-30  Wim Taymans  <wim@fluendo.com>
15729
15730         * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
15731         (gst_base_sink_preroll_queue_empty), (gst_base_sink_commit_state),
15732         (gst_base_sink_handle_object), (gst_base_sink_event),
15733         (gst_base_sink_is_prerolled), (gst_base_sink_wait),
15734         (gst_base_sink_do_sync), (gst_base_sink_handle_event),
15735         (gst_base_sink_handle_buffer), (gst_base_sink_set_flushing),
15736         (gst_base_sink_deactivate), (gst_base_sink_activate),
15737         (gst_base_sink_activate_pull), (gst_base_sink_get_position),
15738         (gst_base_sink_query), (gst_base_sink_change_state):
15739         Basesink cleanups, remove some old code.
15740         Handle the case where a subclass can preroll in the render
15741         method (mostly audiosinks).
15742         Handle more events.
15743         Remove some locks around variables that are now protected
15744         with the PREROLL_LOCK (clock_id, flushing, ..).
15745         Optimize position query some more, do correct locking.
15746         Remove old code to push queue in state change, this is not
15747         needed anymore since preroll blocks on all prerollable items 
15748         now.
15749         Almost implemented as described in design doc.
15750
15751 2006-01-30  Wim Taymans  <wim@fluendo.com>
15752
15753         * tests/check/gst/gstbin.c: (GST_START_TEST):
15754         Wait for refcount to settle down before checking.
15755
15756 2006-01-30  Wim Taymans  <wim@fluendo.com>
15757
15758         * docs/design/part-element-sink.txt:
15759         Pseudo code overview of desired sink behaviour regarding
15760         preroll.
15761
15762 2006-01-29  Sebastien Moutte  <sebastien@moutte.net>
15763         * win32/vs6/grammar.dsp:
15764           fix some bugs in Release mode for autogenerated files
15765                 
15766 2006-01-29  Sebastien Moutte  <sebastien@moutte.net>
15767         * win32/common/libgstbase.def:
15768         * win32/common/libgstreamer.def:
15769           export some new symbols: gst_base_src_set_format,
15770           gst_iterator_next, gst_structure_set_valist
15771
15772 2006-01-29  Julien MOUTTE  <julien@moutte.net>
15773
15774         * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked):
15775         Set pad functions unconditionally. Fixes #329105.
15776
15777 2006-01-29  Sebastien Moutte  <sebastien@moutte.net>
15778         * win32/vs8:
15779           add vs8 project files created by Sergey Scobich
15780
15781 2006-01-28  Jan Schmidt  <thaytan@mad.scientist.com>
15782
15783         * gst/gstutils.c: (gst_element_unlink_pads):
15784         Don't leak pad references.
15785
15786         * tests/check/elements/fakesink.c: (GST_START_TEST):
15787         * tests/check/generic/sinks.c: (GST_START_TEST):
15788         * tests/check/generic/states.c: (GST_START_TEST):
15789         * tests/check/gst/gstbin.c: (GST_START_TEST):
15790         * tests/check/gst/gstcaps.c: (GST_START_TEST):
15791         * tests/check/gst/gstelement.c: (GST_START_TEST):
15792         * tests/check/gst/gstghostpad.c: (GST_START_TEST):
15793         * tests/check/gst/gstiterator.c: (GST_START_TEST):
15794         * tests/check/gst/gstvalue.c: (GST_START_TEST):
15795         Fix a bunch of leaks. Make generic/sinks.c
15796         use a bit less cpu by slowing the buffer rate
15797         between fakesrc and fakesink.
15798         
15799 2006-01-27  Stefan Kost  <ensonic@users.sf.net>
15800         * gst/gstcaps.c:
15801         * gst/gstelement.c: (gst_element_send_event):
15802         * gst/gstevent.c:
15803         * gst/gstinfo.c:
15804         * gst/gstiterator.c:
15805         * gst/gstiterator.h:
15806         * gst/gstpad.c: (gst_pad_send_event):
15807         * gst/gststructure.c:
15808         * gst/gsturi.c:
15809         * gst/gstutils.c:
15810         * gst/gstvalue.c:
15811         * libs/gst/base/gstadapter.c:
15812           doc fixes, to link to function, just write gst_cool_function(), don't
15813           prefix with '#'
15814
15815 2006-01-27  Jan Schmidt  <thaytan@mad.scientist.com>
15816
15817         * plugins/elements/gsttee.c: (gst_tee_do_push),
15818         (gst_tee_handle_buffer):
15819         Always prefer an actual return value from a src
15820         pad in place of NOT_LINKED. This means we return
15821         WRONG_STATE when all src pads are WRONG_STATE
15822         instead of NOT_LINKED.
15823
15824         Lock when replacing the last message to prevent
15825         racing with the get_property method.
15826
15827         Add debug output
15828
15829 2006-01-27  Jan Schmidt  <thaytan@mad.scientist.com>
15830
15831         * tests/check/Makefile.am:
15832         * tests/check/gst/gstquery.c: (GST_START_TEST), (gstquery_suite),
15833         (main):
15834         Add a very simple check that should have caught the memleak I fixed
15835         last night (if not for the slice allocator hiding it)
15836
15837 2006-01-27  Jan Schmidt  <thaytan@mad.scientist.com>
15838
15839         * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
15840         (gst_bin_remove_func), (gst_bin_handle_message_func),
15841         (bin_query_duration_fold), (bin_query_generic_fold):
15842         Clean up references to the clock provider when disposed or when
15843         handling a clock-lost message from it.
15844
15845         Unref sinks when performing a query via gst_iterator_fold, as the
15846         gst_bin_iterate_sinks iterator refs each item. (Fixes #323874)
15847
15848         * gst/gstclock.c: (gst_clock_class_init), (gst_clock_dispose),
15849         (gst_clock_set_master):
15850         Drop our reference to the master clock, if any, when we are disposed.
15851
15852         * gst/gsttypefindfactory.c: (gst_type_find_factory_dispose):
15853         Chain up in dispose. 
15854
15855 2006-01-26  Wim Taymans  <wim@fluendo.com>
15856
15857         * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range):
15858         Add some debugging.
15859
15860 2006-01-26  Julien MOUTTE  <julien@moutte.net>
15861
15862         * plugins/elements/gsttee.c: (gst_tee_do_push),
15863         (gst_tee_handle_buffer): Apply patch from #328715. Tee now
15864         handles pad being NOT_LINKED or in WRONG_STATE.
15865
15866 2006-01-26  Stefan Kost  <ensonic@users.sf.net>
15867
15868         * win32/MANIFEST:
15869           more updating
15870
15871 2006-01-26  Stefan Kost  <ensonic@users.sf.net>
15872
15873         * win32/MANIFEST:
15874           remove obsolete entry
15875
15876 2006-01-26  Stefan Kost  <ensonic@users.sf.net>
15877
15878         * docs/gst/gstreamer-sections.txt:
15879         * gst/gstbin.c: (bin_element_is_src), (src_iterator_filter),
15880         (gst_bin_iterate_sources), (gst_bin_send_event):
15881         * gst/gstbin.h:
15882         * gst/gstelement.c: (gst_element_send_event):
15883         * gst/gstevent.c:
15884         * gst/gstpad.c: (gst_pad_send_event):
15885           added code for downstream events, reviewed docs in gstevent.c
15886
15887 2006-01-25  Julien MOUTTE  <julien@moutte.net>
15888
15889         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
15890         We only query position using the clock in the playing state.
15891         Query peer in the other cases.
15892         * win32/common/config.h: Updates.
15893
15894 2006-01-24  Wim Taymans  <wim@fluendo.com>
15895
15896         * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
15897         A clock entry that is scheduled for the exact time of the
15898         clock is still in time.
15899
15900         * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
15901         (gst_base_sink_do_sync):
15902         Add some more debug info.
15903
15904 2006-01-23  Sebastien Moutte  <sebastien@moutte.net>
15905
15906         * win32/vs7:
15907           Add new vs7 project files and solution.
15908
15909 2006-01-23  Sebastien Moutte  <sebastien@moutte.net>
15910
15911         * win32/vs7:
15912           all files removed as they were out-dated.
15913
15914 2006-01-20  Thomas Vander Stichele  <thomas at apestaart dot org>
15915
15916         * docs/random/release:
15917           update notes
15918         * gst/gstbin.c: (gst_bin_init):
15919         * gst/gstbus.c: (gst_bus_new):
15920         * gst/gstbus.h:
15921         * gst/gstpipeline.c: (gst_pipeline_init):
15922           use gst_bus_new(), improve logging, fix docs
15923         * win32/common/config.h:
15924           update for cvs build
15925
15926 2006-01-20  Thomas Vander Stichele  <thomas at apestaart dot org>
15927
15928         * autogen.sh:
15929           up required version of automake to 1.7
15930
15931 2006-01-20  Sebastien Moutte  <sebastien@moutte.net>
15932
15933         * win32/common/libgstreamer.def:
15934           export gst_buffer_is_metadata_writable
15935
15936 2006-01-20  Tim-Philipp Müller  <tim at centricular dot net>
15937
15938         * docs/gst/gstreamer-sections.txt:
15939         * gst/gstevent.h:
15940           Add gst_event_replace() (#327001)
15941
15942 2006-01-20  Wim Taymans  <wim@fluendo.com>
15943
15944         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked):
15945         Make it actually compile too..
15946
15947 2006-01-20  Wim Taymans  <wim@fluendo.com>
15948
15949         * gst/gstcaps.c:
15950         Clarify behaviour of _is_equal() when passing NULL parameters.
15951
15952         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
15953         (gst_pad_set_caps):
15954         Cleanups. Don't unref NULL caps.
15955         When setting the same caps, protect caps of the pad with
15956         proper lock.
15957         Use full functionality of _is_equal() when comparing caps.
15958
15959 2006-01-20  Jan Schmidt  <thaytan@mad.scientist.com>
15960
15961         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_is_collected):
15962         Don't loop infinitely if there are no buffers to present. Partially
15963         fixes #327197, but collectpads is just broken for reusing elements
15964         to do multiple encodes atm.
15965
15966 2006-01-20  Jan Schmidt  <thaytan@mad.scientist.com>
15967
15968         * tools/gst-inspect.c: (print_element_features):
15969         * tools/gst-xmlinspect.c: (main):
15970         URL_HANDLER is not a plugin feature we can search for in
15971         the registry.
15972
15973 2006-01-19  Edward Hervey  <edward@fluendo.com>
15974
15975         * gst/gstelement.c: (gst_element_pads_activate): 
15976         When activating, do src pads first, then sink pads.
15977         When de-activating, do sink pads first, then src pads.
15978
15979 2006-01-19  Jan Schmidt  <thaytan@mad.scientist.com>
15980
15981         * docs/gst/gstreamer-sections.txt:
15982         Add gst_index_add_associationv to the docs
15983
15984 2006-01-19  Jan Schmidt  <thaytan@mad.scientist.com>
15985
15986         * gst/gstevent.c:
15987           Fix docs typo
15988
15989         * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event),
15990         (gst_queue_chain), (gst_queue_push_one), (gst_queue_loop):
15991           Do some refactoring. Doesn't actually change functionality,
15992           but makes landing the DRAIN event easier later.
15993
15994 2006-01-19  Tim-Philipp Müller  <tim at centricular dot net>
15995
15996         * docs/pwg/advanced-scheduling.xml:
15997           Update from 0.9.x to 0.10 API and make example a bit
15998           clearer.
15999
16000 2006-01-19  Jan Schmidt  <thaytan@mad.scientist.com>
16001
16002         * docs/gst/gstreamer-sections.txt:
16003         Add gst_buffer_(is|make)_metadata_writable methods.
16004
16005 2006-01-19  Jan Schmidt  <thaytan@mad.scientist.com>
16006
16007         * docs/design/part-sparsestreams.txt:
16008         Update sparse streams doc, hopefully for greater clarity
16009
16010 2006-01-18  Jan Schmidt  <thaytan@mad.scientist.com>
16011
16012         * docs/design/part-events.txt:
16013         Remove mention of FILLER events.
16014         Add DRAIN event.
16015
16016         * docs/design/part-sparsestreams.txt:
16017         Write some things about using NEWSEGMENT to keep sparse streams
16018         flowing.
16019
16020 2006-01-18  Tim-Philipp Müller  <tim at centricular dot net>
16021
16022         * gst/gstbin.c: (gst_bin_dispose):
16023           Guard gst_object_unref call against a NULL object (dispose
16024           can theoretically be called multiple times).
16025           
16026 2006-01-18  Wim Taymans  <wim@fluendo.com>
16027
16028         * gst/gstbin.c: (gst_bin_element_set_state):
16029         * gst/gstclock.c: (gst_clock_id_wait):
16030         Added some more debug info.
16031
16032         * libs/gst/base/gstadapter.c:
16033         Added more docs.
16034
16035         * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
16036         (gst_base_sink_do_sync), (gst_base_sink_chain):
16037         Added some comments.
16038
16039 2006-01-18  Wim Taymans  <wim@fluendo.com>
16040
16041         * tests/check/Makefile.am:
16042         * tests/check/elements/fakesink.c: (chain_async_buffer),
16043         (chain_async), (chain_async_return), (GST_START_TEST),
16044         (fakesink_suite), (main):
16045         Added fakesink test that checks prerolling and clipping
16046         behaviour.
16047
16048         * tests/check/gst/gstutils.c: (GST_START_TEST):
16049         Make check run faster so that buildbots don't timeout.
16050
16051 2006-01-18  Wim Taymans  <wim@fluendo.com>
16052
16053         * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
16054         (gst_base_sink_do_sync):
16055         Some cleanups.
16056         When the sink finishes blocking on the preroll buffer, it can
16057         immediatly render it instead of rendering when the next buffer
16058         arrives.
16059
16060 2006-01-18  Wim Taymans  <wim@fluendo.com>
16061
16062         * libs/gst/base/gstbasesink.c: (gst_base_sink_set_property),
16063         (gst_base_sink_get_property), (gst_base_sink_do_sync),
16064         (gst_base_sink_chain):
16065         Small cleanups.
16066         GST_ELEMENT_CLOCK and sync are protected with LOCK.
16067         Don't store _last_stop if the buffer is dropped.
16068
16069 2006-01-18  Tim-Philipp Müller  <tim at centricular dot net>
16070
16071         * plugins/elements/gsttypefindelement.c:
16072         (gst_type_find_element_class_init):
16073           'have-type' signal needs to be G_SIGNAL_RUN_FIRST, as it is the
16074           object method handler that sets the caps on the pad and we want
16075           that to happen before we emit the signal (fixes e.g. feeding a
16076           plain text file to decodebin).
16077
16078 2006-01-18  Christian Schaller  <Christian@fluendo.com>
16079
16080         * gst/gstplugin.c: Add MPL and Proprietary as license options
16081
16082 2006-01-18  Andy Wingo  <wingo@pobox.com>
16083
16084         * gst/gstindex.h (gst_index_add_associationv): Add to header. The
16085         symbol was exported before, it appears this was just an oversight.
16086         Fixes #168703.
16087         Patch by: Torsten Schoenfeld <kaffeetisch at gmx.de>
16088
16089         * gst/gstindex.c (gst_index_add_associationv): Changed int in
16090         prototype to gint. OK since this prototype was not in the header.
16091
16092 2006-01-17  Andy Wingo  <wingo@pobox.com>
16093
16094         * gst/gstregistry.c (_gst_registry_remove_cache_plugins): Lock the
16095         registry while we remove plugins.
16096
16097         * tools/gst-inspect.c (print_element_info): Don't unref the
16098         factory arg, that should be the responsibility of whatever code
16099         received the ref. Fixes a double-free when called from
16100         print_element_list via gst-inspect-0.10 -a. Fixes #327324.
16101         (main): Unref the factory if we have one.
16102         (print_element_list): No change -- relies on the
16103         plugin_feature_list_free to free the list of features.
16104
16105 2006-01-17  Jan Schmidt  <thaytan@mad.scientist.com>
16106
16107         * gst/gstbuffer.c: (gst_buffer_is_metadata_writable),
16108         (gst_buffer_make_metadata_writable):
16109         * gst/gstbuffer.h:
16110         * libs/gst/base/gstbasetransform.c:
16111         (gst_base_transform_prepare_output_buf):
16112         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
16113         * tests/check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
16114           Replace gst_buffer_(make|is)_metadata_writable patch now
16115           that the release is out.
16116
16117 2006-01-17  Andy Wingo  <wingo@pobox.com>
16118
16119         * gst/gstregistry.c: Reflow design comment. Update so as to speak
16120         in the present tense without reference to versions.
16121
16122         * gst/gstregistry.c (gst_registry_add_plugin)
16123         (gst_registry_remove_plugin, gst_registry_remove_feature)
16124         (gst_registry_find_feature, gst_registry_get_feature_list)
16125         (gst_registry_get_plugin_list, gst_registry_lookup_feature)
16126         (gst_registry_lookup, gst_registry_scan_path)
16127         (_gst_registry_remove_cache_plugins)
16128         (gst_registry_get_feature_list_by_plugin): Add argument
16129         validation.
16130
16131 === release 0.10.2 ===
16132
16133 2006-01-16  Thomas Vander Stichele <thomas at apestaart dot org>
16134
16135         * configure.ac:
16136           releasing 0.10.2, "If man is five"
16137
16138 2006-01-16  Jan Schmidt  <thaytan@mad.scientist.com>
16139
16140         * gst/gstbuffer.c:
16141         * gst/gstbuffer.h:
16142         * libs/gst/base/gstbasetransform.c:
16143         (gst_base_transform_prepare_output_buf):
16144         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
16145         * tests/check/gst/gstbuffer.c: (gst_test_suite):
16146           Back out patch until after the release.
16147
16148 2006-01-16  Jan Schmidt  <thaytan@mad.scientist.com>
16149
16150         * gst/gstminiobject.c:
16151           Spelling fix in docs.
16152         * ChangeLog - remove conflict indicator
16153
16154 2006-01-16  Jan Schmidt  <thaytan@mad.scientist.com>
16155
16156         Reviewed By: Andy Wingo
16157
16158         * gst/gstbuffer.c: (gst_buffer_is_metadata_writable),
16159         (gst_buffer_make_metadata_writable):
16160         * gst/gstbuffer.h:
16161           Add gst_buffer_(is|make)_metadata_writable as analogues of
16162           gst_buffer_(is|make)_writable.
16163
16164         * libs/gst/base/gstbasetransform.c:
16165         (gst_base_transform_prepare_output_buf):
16166         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
16167           Use name gst_buffer_(is|make)_metadata_writable functions.
16168
16169         * tests/check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
16170           Test gst_buffer_(is|make)_metadata_writable
16171         
16172           (Closes: #324162)
16173
16174 2006-01-14  Thomas Vander Stichele  <thomas at apestaart dot org>
16175
16176         * docs/manual/Makefile.am:
16177           don't do parallel make
16178         * configure.ac:
16179           AC_SUBST HOST_CPU
16180         * win32/common/config.h.in:
16181           add generations for HOST_CPU and GST_MAJORMINOR
16182         * win32/common/config.h:
16183           commit generated result
16184
16185 2006-01-13  Tim-Philipp Müller  <tim at centricular dot net>
16186
16187         * docs/manual/appendix-integration.xml:
16188           Update GNOME integration section to use gst_init_get_option_group()
16189           instead of the old popt stuff (#322911). Also, GNOME applications
16190           should  now use gconf*sink and gconf*src instead of the old gconf
16191           helper lib we had.
16192
16193 2006-01-13  Stefan Kost  <ensonic@users.sf.net>
16194
16195
16196         * docs/gst/gstreamer-docs.sgml:
16197         * docs/gst/gstreamer-sections.txt:
16198         * docs/libs/gstreamer-libs-sections.txt:
16199           add new API entries to the docs
16200         * libs/gst/controller/Makefile.am:
16201         * libs/gst/controller/gstcontroller.c:
16202         * libs/gst/controller/gstcontroller.h:
16203         * libs/gst/controller/gstcontrollerprivate.h:
16204         * libs/gst/controller/gsthelper.c:
16205         * libs/gst/controller/gstinterpolation.c:
16206           move private structs to private header
16207         * po/README:
16208           gstreamer-0.7 -> gstreamer-0.10
16209         * tests/check/libs/struct_i386.h:
16210           remove private structs
16211
16212 2006-01-13  Thomas Vander Stichele  <thomas at apestaart dot org>
16213
16214         * plugins/indexers/Makefile.am:
16215           Fixes as part of #317048
16216
16217 2006-01-13  Thomas Vander Stichele  <thomas at apestaart dot org>
16218
16219         * plugins/indexers/Makefile.am:
16220           fix #316086 - compilation when mmap is missing
16221
16222 2006-01-12  Sebastien Moutte  <sebastien@moutte.net>
16223
16224         * libs/gst/base/gstbasesink.c:
16225           *cur = (now - base) * basesink->segment.abs_rate + time; replaced by 
16226           *cur = gst_guint64_to_gdouble(now - base) * basesink->segment.abs_rate + time; for vs6
16227         * win32/common/config.h:
16228           added some defines GST_MAJORMINOR and HOST_CPU
16229         * win32/common/libgstbase.def:
16230         * win32/common/libgstreamer.def:
16231           added some exported functions.
16232
16233 2006-01-12  Stefan Kost  <ensonic@users.sf.net>
16234
16235         * libs/gst/controller/gstcontroller.c:
16236         (gst_controlled_property_set_interpolation_mode),
16237         (gst_controlled_property_new):
16238         * libs/gst/controller/gstcontroller.h:
16239         * libs/gst/controller/gstinterpolation.c:
16240         (interpolate_none_get_string_value_array):
16241           make G_TYPE_STRING controlable
16242
16243 2006-01-12  Stefan Kost  <ensonic@users.sf.net>
16244
16245         * tools/README:
16246         * tools/gst-feedback.1.in:
16247         * tools/gst-inspect.1.in:
16248         * tools/gst-launch.1.in:
16249         * tools/gst-md5sum.1.in:
16250         * tools/gst-typefind.1.in:
16251         * tools/gst-xmlinspect.1.in:
16252         * tools/gst-xmllaunch.1.in:
16253           cleanup man-pages, remove reference to gst-register, document env-vars
16254
16255 2006-01-12  Jan Schmidt  <thaytan@mad.scientist.com>
16256
16257         * gst/gstbuffer.c: (gst_buffer_span):
16258           gst_buffer_span should copy the timestamp of the first buffer
16259           if they were both originally overlapping subbuffers of the 
16260           same parent, using the same logic as the 'slow copy' case.
16261
16262 2006-01-11  Jan Schmidt  <thaytan@mad.scientist.com>
16263
16264         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_pop):
16265           Need to awaken ALL the pads when we pop a buffer, otherwise
16266           collectpads only works when there is 2 input streams.
16267
16268 2006-01-11  Stefan Kost  <ensonic@users.sf.net>
16269
16270         * docs/random/ensonic/media-device-daemon.txt:
16271           more ideas (dbus)
16272         * gst/gstbuffer.c:
16273           fix doc example, add clarification
16274         * tools/gst-launch.1.in:
16275           add initial info about GST_PLUGIN_PATH, needs more work
16276
16277 2006-01-11  Tim-Philipp Müller  <tim at centricular dot net>
16278
16279         * docs/manual/basics-bins.xml:
16280         * docs/manual/basics-elements.xml:
16281         * docs/manual/intro-basics.xml:
16282           Some more minor docs additions and updates.
16283
16284 2006-01-11  Wim Taymans  <wim@fluendo.com>
16285
16286         * docs/manual/basics-bins.xml:
16287         * docs/manual/basics-elements.xml:
16288         Some small fixes as pointed out by Ser-ver on IRC.
16289
16290 2006-01-10  Edward Hervey  <edward@fluendo.com>
16291
16292         * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
16293         Set the buffer offset/offset_end to GST_CLOCK_TIME_NONE when using
16294         the single-segment mode.
16295
16296 2006-01-10  Brian Cameron  <brian dot cameron at sun dot com>
16297
16298         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
16299
16300         * libs/gst/base/gstbasesrc.c: (gst_base_src_init),
16301         (gst_base_src_perform_seek), (gst_base_src_send_event),
16302         (gst_base_src_set_property), (gst_base_src_get_property),
16303         (gst_base_src_loop), (gst_base_src_start),
16304         (gst_base_src_activate_push):
16305         * libs/gst/base/gstbasesrc.h:
16306           Name (private) union; makes Sun's Forte compiler happy (#324900).
16307
16308 2006-01-09  Tim-Philipp Müller  <tim at centricular dot net>
16309
16310         * README:
16311           gst-register is gone.
16312
16313 2006-01-07  Thomas Vander Stichele  <thomas at apestaart dot org>
16314
16315         * gst/gstvalue.c: (_gst_value_initialize):
16316           make the G_TYPE_DATE instantiation work if debug is disabled
16317
16318 2006-01-06  Tim-Philipp Müller  <tim at centricular dot net>
16319
16320         * gst/gstmessage.c: (gst_message_parse_tag),
16321         (gst_message_parse_error), (gst_message_parse_warning):
16322           Don't crash when return location for error/warning debug
16323           string is NULL; add fact that return locations can be
16324           NULL to docs where appropriate.
16325
16326 2006-01-05  Wim Taymans  <wim@fluendo.com>
16327
16328         * gst/gstplugin.c: (gst_plugin_load_file):
16329         Replace strdup by g_strdup.
16330
16331 2006-01-05  Thomas Vander Stichele  <thomas at apestaart dot org>
16332
16333         * docs/pwg/advanced-types.xml:
16334           fix doc borkage
16335
16336 2006-01-05  Thomas Vander Stichele  <thomas at apestaart dot org>
16337
16338         submitted by: Abel Cheung
16339
16340         * po/LINGUAS:
16341         * po/zh_TW.po:
16342           Added Chinese (traditional) translation
16343
16344 2006-01-04  Wim Taymans  <wim@fluendo.com>
16345
16346         * docs/manual/basics-pads.xml:
16347         * docs/plugins/Makefile.am:
16348         * docs/plugins/gstreamer-plugins-docs.sgml:
16349         * docs/plugins/gstreamer-plugins-sections.txt:
16350         * docs/pwg/advanced-clock.xml:
16351         * docs/pwg/advanced-scheduling.xml:
16352         * docs/pwg/advanced-types.xml:
16353         * plugins/elements/gstfdsink.c:
16354         * plugins/elements/gstfdsrc.c:
16355         * plugins/elements/gstfdsrc.h:
16356         * plugins/elements/gstidentity.c: (gst_identity_class_init):
16357         * plugins/elements/gstidentity.h:
16358         * plugins/elements/gstqueue.h:
16359         * plugins/elements/gsttee.c:
16360         * plugins/elements/gsttee.h:
16361         * plugins/elements/gsttypefindelement.c:
16362         (gst_type_find_element_class_init):
16363         * plugins/elements/gsttypefindelement.h:
16364         Small updates to various docs.
16365         Added core plugins to docs.
16366
16367 2006-01-03  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
16368
16369         * common/gst.supp:
16370           add a suppression for liboil's uninitialized variable
16371
16372 2006-01-02  James Livingston  <jrl at ids dot org dot au>
16373
16374         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
16375
16376         * gst/gstutils.h:
16377           Add prototype for _get_type() function to GST_BOILERPLATE_FULL
16378           macro, so that gcc doesn't complain if the -Wmissing-prototypes
16379           compiler switch is being used (#325429).
16380
16381 2005-12-29  Tim-Philipp Müller  <tim at centricular dot net>
16382
16383         * gst/gstbin.c: (gst_bin_query):
16384           Disable duration query caching in bins until it gets
16385           fixed (see #324807).
16386
16387 2005-12-27  Tim-Philipp Müller  <tim at centricular dot net>
16388
16389         * tools/gst-inspect.c: (print_element_properties_info):
16390           Handle properties of POINTER and BOXED type.
16391
16392 2005-12-27  Tim-Philipp Müller  <tim at centricular dot net>
16393
16394         * gst/gst.c: (init_post):
16395           Init tags stuff and some other things before loading
16396           any static plugins (there may be other static plugins
16397           than just the GStreamer ones, and they may want to
16398           register their own tags or formats or whatever, and
16399           preferably without segfaulting).
16400
16401         * plugins/elements/gstqueue.c: (gst_queue_handle_src_query):
16402           Print at least a warning in the debug logs if we drop a
16403           query just because we don't know how to adjust the value
16404           in the particular format.
16405
16406 2005-12-24  David Schleef  <ds@schleef.org>
16407
16408         * tools/gstreamer-completion:
16409           Replacement for gst-complete written in sh and sed.  Only
16410           completes names of features, but that's 90% of what I want
16411           it for.  Properties are not available in registry.xml.  (Maybe
16412           they should be...)
16413
16414 === release 0.10.1 ===
16415
16416 2005-12-23  Thomas Vander Stichele <thomas at apestaart dot org>
16417
16418         * configure.ac:
16419           releasing 0.10.1, "Nollaig chridheil"
16420
16421 2005-12-22  Tim-Philipp Müller  <tim at centricular dot net>
16422
16423         * docs/faq/cvs.xml:
16424           Add missing quote, should be make ERROR_CFLAGS="".
16425
16426 2005-12-20  Wim Taymans  <wim@fluendo.com>
16427
16428         * docs/design/part-trickmodes.txt:
16429         More documentation on trickmodes.
16430
16431 2005-12-20  Edward Hervey  <edward@fluendo.com>
16432
16433         * gst/gstcaps.c: (gst_static_caps_get_type):
16434         * gst/gstcaps.h:
16435           API addition: GST_TYPE_STATIC_CAPS
16436         Added gpointer GType for GstStaticCaps so we can wrap them in bindings.
16437         * gst/gstpadtemplate.c: (gst_static_pad_template_get_type):
16438         * gst/gstpadtemplate.h:
16439           API addition: GST_TYPE_STATIC_PAD_TEMPLATE
16440         Added gpointer GType for GstStaticPadTemplate so we can wrap them in
16441         bindings.
16442
16443 2005-12-18  Wim Taymans  <wim@fluendo.com>
16444
16445         * libs/gst/base/gstadapter.c:
16446         * libs/gst/base/gstadapter.h:
16447         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
16448         (gst_base_sink_get_position):
16449         * libs/gst/base/gstbasesink.h:
16450         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
16451         (gst_base_src_default_query), (gst_base_src_default_do_seek),
16452         (gst_base_src_do_seek), (gst_base_src_perform_seek),
16453         (gst_base_src_send_event), (gst_base_src_update_length),
16454         (gst_base_src_get_range), (gst_base_src_loop),
16455         (gst_base_src_start):
16456         * libs/gst/base/gstbasesrc.h:
16457         * libs/gst/base/gstbasetransform.h:
16458         * libs/gst/base/gstcollectpads.h:
16459         * libs/gst/base/gstpushsrc.c:
16460         * libs/gst/base/gstpushsrc.h:
16461         * libs/gst/dataprotocol/dataprotocol.c:
16462         * libs/gst/dataprotocol/dataprotocol.h:
16463         * libs/gst/net/gstnetclientclock.h:
16464         * libs/gst/net/gstnettimeprovider.h:
16465         Documentation updates.
16466
16467 2005-12-18  Tim-Philipp Müller  <tim at centricular dot net>
16468
16469         * docs/manual/basics-helloworld.xml:
16470           Remove superfluous closing bracket in helloworld example.
16471
16472 2005-12-17  Tim-Philipp Müller  <tim at centricular dot net>
16473
16474         * tools/gst-launch.1.in:
16475           Update gst-launch man page; add a section with useful
16476           environment variables. Fixes #323882.
16477
16478 2005-12-16  Stefan Kost  <ensonic@users.sf.net>
16479
16480         * gst/gst.c:
16481         * gst/gst_private.h:
16482           change some char* into char[]
16483
16484 2005-12-16  Wim Taymans  <wim@fluendo.com>
16485
16486         * gst/gstregistryxml.c: (load_feature):
16487         Cleanups.
16488         Don't use g_object_unref on GstObjects so that we avoid
16489         leaks on unsafe glibs.
16490
16491 2005-12-16  Wim Taymans  <wim@fluendo.com>
16492
16493         * gst/gstbin.c: (gst_bin_recalc_state):
16494         Small doc updates.
16495
16496 2005-12-16  Wim Taymans  <wim@fluendo.com>
16497
16498         * common/check.mak:
16499         Added make forever target for check.
16500
16501 2005-12-16  Thomas Vander Stichele  <thomas at apestaart dot org>
16502
16503         * gst/gst.c: (init_post):
16504           make the registry cache file HOST_CPU-dependent
16505
16506 2005-12-16  Andy Wingo  <wingo@pobox.com>
16507
16508         * plugins/elements/gstbufferstore.c
16509         (gst_buffer_store_cleared_func): Pay attention to g_list_append
16510         return value.
16511
16512         * tests/check/gst/gstobject.c
16513         (test_fake_object_name_threaded_unique): Pay attention to
16514         g_list_sort return value.
16515
16516 2005-12-16  Tim-Philipp Müller  <tim at centricular dot net>
16517
16518         * tools/gst-feedback-m.m:
16519           Update for 0.9/0.10 (fixes #323870).
16520
16521 2005-12-15  Tim-Philipp Müller  <tim at centricular dot net>
16522
16523         * gst/gstminiobject.c: (gst_value_mini_object_lcopy):
16524           Fix lcopy for mini objects, the mini object needs to be ref'ed.
16525           
16526         * tests/check/gst/gstminiobject.c: (my_foo_init),
16527         (my_foo_get_property), (my_foo_set_property), (my_foo_class_init),
16528         (test_value_collection), (gst_mini_object_suite):
16529           Add test to ensure refcounts end up as expected when passing
16530           GstMiniObjects through g_object_get() and g_object_set().
16531
16532 2005-12-14  Julien MOUTTE  <julien@moutte.net>
16533
16534         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
16535         (gst_collect_pads_remove_pad), (gst_collect_pads_is_collected),
16536         (gst_collect_pads_event), (gst_collect_pads_chain): Refactoring
16537         of collectpads. This version removes a lot of races without
16538         touching API/ABI. Yay !
16539
16540 2005-12-14  Jan Schmidt  <thaytan@mad.scientist.com>
16541
16542         * gst/gstpad.c: (gst_pad_activate_pull), (gst_pad_link_prepare):
16543           Don't allow activation of a srcpad in pull_range if it has no
16544           getrange function.
16545           Change some debug statements to be a little clearer
16546
16547         * plugins/elements/gsttypefindelement.c:
16548         (gst_type_find_handle_src_query):
16549           Check that we have a peer before executing queries thereupon.
16550
16551         * tests/examples/metadata/read-metadata.c: (message_loop):
16552           Use gst_bus_pop instead of gst_bus_poll when we just want it to
16553           immediately return us any available message with 0 timeout.
16554
16555 2005-12-12  Michael Smith  <msmith@fluendo.com>
16556
16557         * gst/gsttypefindfactory.c: (gst_type_find_factory_call_function):
16558           Don't unref factories after calling them.
16559         * libs/gst/base/gsttypefindhelper.c: (gst_type_find_helper):
16560         * plugins/elements/gsttypefindelement.c:
16561         (gst_type_find_element_chain):
16562           Free lists of factories after using them. Fixing typefinding memory
16563           leaks.
16564
16565 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
16566
16567         * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
16568         (gst_plugin_feature_load):
16569           more meaningful debug output
16570         * configure.ac:
16571         * tests/Makefile.am:
16572         * tests/old/examples/Makefile.am:
16573           make make distcheck happy again
16574
16575 2005-12-12  Tim-Philipp Müller  <tim at centricular dot net>
16576
16577         * plugins/elements/gsttypefindelement.c: (stop_typefinding):
16578           Catch the special case where we are operating chain-based,
16579           but the downstream peer pad has no chain function. Emit a
16580           custom error message in this case instead of letting the
16581           core generate one implying that this is some sort of core
16582           bug. It's not, it just means that whatever got plugged
16583           into the pipeline downstream when we announced the type
16584           can only operate pull-based, while our source can only
16585           operate push-based (e.g. http://foo/bar.mov ! qtdemux ! ...)
16586           Error string has not been marked for translation yet, as
16587           it probably needs some more work first.
16588
16589         (gst_type_find_element_get_best_possibility):
16590           Add helper function to find the best of all available
16591           found possibilities that qualify given the min. threshold.
16592
16593         (gst_type_find_element_handle_event):
16594           Fix the case where we get an EOS while still in TYPEFIND
16595           mode (we want to chose the best of all possible types,
16596           not just the first type that happens to be in our unsorted
16597           list of possible types).
16598
16599         (gst_type_find_element_chain):
16600           Make sure we return GST_FLOW_ERROR when we errored out
16601           in stop_typefinding(); also, don't just find the best of
16602           all found type entries and then use the last examined
16603           type entry, but actually use the best entry.
16604
16605 2005-12-12  Tim-Philipp Müller  <tim at centricular dot net>
16606
16607         * tests/examples/typefind/typefind.c: (type_found):
16608         * tests/examples/xml/runxml.c: (xml_loaded):
16609           More gcc4 fixes and a mem leak fix.
16610
16611 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
16612
16613         * tests/examples/xml/createxml.c: (object_saved):
16614           gcc 4 fixes
16615
16616 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
16617
16618         * tests/Makefile.am:
16619           enable the examples even more
16620
16621 2005-12-12  Andy Wingo  <wingo@pobox.com>
16622
16623         * libs/gst/net/gstnettimeprovider.c
16624         (gst_net_time_provider_class_init, gst_net_time_provider_init)
16625         (gst_net_time_provider_set_property)
16626         (gst_net_time_provider_get_property):
16627         API addition: Export "active" as a GObject property.
16628         (gst_net_time_provider_thread): Only respond to time queries if
16629         the time provider is active.
16630
16631         * libs/gst/net/gstnettimeprovider.h: Add an "active" boolean to
16632         NetTimeProvider, preserving binary compat.
16633
16634 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
16635
16636         * tests/examples/controller/audio-example.c: (main):
16637         * tests/examples/launch/Makefile.am:
16638           convert comments again
16639
16640 2005-12-12  Wim Taymans  <wim@fluendo.com>
16641
16642         * libs/gst/base/gstpushsrc.c:
16643         Fix typo.
16644
16645 2005-12-12  Wim Taymans  <wim@fluendo.com>
16646
16647         * docs/libs/gstreamer-libs-sections.txt:
16648         Added new symbol to docs.
16649
16650         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
16651         (gst_base_src_init), (gst_base_src_set_format),
16652         (gst_base_src_default_query), (gst_base_src_query),
16653         (gst_base_src_default_do_seek), (gst_base_src_do_seek),
16654         (gst_base_src_perform_seek), (gst_base_src_send_event),
16655         (gst_base_src_default_event), (gst_base_src_event_handler),
16656         (gst_base_src_set_property), (gst_base_src_get_property),
16657         (gst_base_src_wait), (gst_base_src_do_sync),
16658         (gst_base_src_update_length), (gst_base_src_get_range),
16659         (gst_base_src_check_get_range), (gst_base_src_loop),
16660         (gst_base_src_default_negotiate), (gst_base_src_start),
16661         (gst_base_src_activate_push), (gst_base_src_activate_pull),
16662         (gst_base_src_change_state):
16663         * libs/gst/base/gstbasesrc.h:
16664         Implement seeking to other formats than _BYTES.
16665         Implement more seeking methods correctly.
16666         Doc updates.
16667         Added query vmethod.
16668         Added do_seek vmethod to make life easier for subclasses
16669         when seeking.
16670         API addition: gst_base_src_set_format()
16671
16672 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
16673
16674         * tests/examples/Makefile.am:
16675           added that too
16676
16677 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
16678
16679         * configure.ac:
16680         * docs/random/ensonic/media-device-daemon.txt:
16681         * tests/examples/controller/.cvsignore:
16682         * tests/examples/controller/Makefile.am:
16683         * tests/examples/controller/audio-example.c: (main):
16684         * tests/examples/helloworld/.cvsignore:
16685         * tests/examples/helloworld/Makefile.am:
16686         * tests/examples/helloworld/helloworld.c: (event_loop), (main):
16687         * tests/examples/launch/.cvsignore:
16688         * tests/examples/launch/Makefile.am:
16689         * tests/examples/launch/mp3parselaunch.c: (event_loop), (main):
16690         * tests/examples/metadata/.cvsignore:
16691         * tests/examples/metadata/Makefile.am:
16692         * tests/examples/metadata/read-metadata.c: (message_loop),
16693         (make_pipeline), (print_tag), (main):
16694         * tests/examples/queue/.cvsignore:
16695         * tests/examples/queue/Makefile.am:
16696         * tests/examples/queue/queue.c: (event_loop), (main):
16697         * tests/examples/typefind/.cvsignore:
16698         * tests/examples/typefind/Makefile.am:
16699         * tests/examples/typefind/typefind.c: (type_found), (event_loop),
16700         (main):
16701         * tests/examples/xml/.cvsignore:
16702         * tests/examples/xml/Makefile.am:
16703         * tests/examples/xml/createxml.c: (object_saved), (main):
16704         * tests/examples/xml/runxml.c: (xml_loaded), (event_loop), (main):
16705         * tests/old/examples/Makefile.am:
16706         * tests/old/examples/TODO:
16707         * tests/old/examples/controller/.cvsignore:
16708         * tests/old/examples/controller/Makefile.am:
16709         * tests/old/examples/controller/audio-example.c:
16710         * tests/old/examples/helloworld/.cvsignore:
16711         * tests/old/examples/helloworld/Makefile.am:
16712         * tests/old/examples/helloworld/helloworld.c:
16713         * tests/old/examples/launch/.cvsignore:
16714         * tests/old/examples/launch/Makefile.am:
16715         * tests/old/examples/launch/mp3parselaunch.c:
16716         * tests/old/examples/launch/mp3play:
16717         * tests/old/examples/manual/Makefile.am:
16718         * tests/old/examples/metadata/Makefile.am:
16719         * tests/old/examples/metadata/read-metadata.c:
16720         * tests/old/examples/queue/.cvsignore:
16721         * tests/old/examples/queue/Makefile.am:
16722         * tests/old/examples/queue/queue.c:
16723         * tests/old/examples/typefind/.cvsignore:
16724         * tests/old/examples/typefind/Makefile.am:
16725         * tests/old/examples/typefind/typefind.c:
16726         * tests/old/examples/xml/.cvsignore:
16727         * tests/old/examples/xml/Makefile.am:
16728         * tests/old/examples/xml/createxml.c:
16729         * tests/old/examples/xml/runxml.c:
16730           applied some simple fixing to some examples
16731           re-enabled the working examples
16732
16733 2005-12-12  Wim Taymans  <wim@fluendo.com>
16734
16735         * gst/gstsegment.c: (gst_segment_init),
16736         (gst_segment_set_last_stop), (gst_segment_set_seek),
16737         (gst_segment_set_newsegment), (gst_segment_to_stream_time),
16738         (gst_segment_to_running_time):
16739         Added more documentation.
16740         Make sure the last_pos value is updated properly.
16741         Make sure to_stream_time and to_running_time don't
16742         operate on wrong values.
16743
16744         * tests/check/gst/gstsegment.c: (GST_START_TEST):
16745         Update check.
16746
16747 2005-12-12  Michael Smith  <msmith@fluendo.com>
16748
16749         * plugins/elements/gsttypefindelement.c: (free_entry),
16750         (gst_type_find_element_chain):
16751           Now that we're not leaking factories, make sure we keep references
16752           to them while we need them.
16753
16754 2005-12-12  Thomas Vander Stichele  <thomas at apestaart dot org>
16755
16756         * tests/check/gst/struct_i386.h:
16757           ifdef out the XML structs
16758
16759 2005-12-12  Thomas Vander Stichele  <thomas at apestaart dot org>
16760
16761         * gst/gstvalue.c: (gst_value_transform_double_fraction):
16762           floor is not needed, F is always positive; this obviates the
16763           need for adding -lm when building without libxml
16764
16765 2005-12-12  Wim Taymans  <wim@fluendo.com>
16766
16767         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
16768         Take current playback rate into account when reporting
16769         the position.
16770
16771 2005-12-11  Tim-Philipp Müller  <tim at centricular dot net>
16772
16773         * docs/manual/mime-world.fig:
16774           Let's try this again, this time with a file that is
16775           actually in XFig format.
16776
16777 2005-12-11  Tim-Philipp Müller  <tim at centricular dot net>
16778
16779         * docs/manual/mime-world.fig:
16780           Add audioconvert element to diagram so that it
16781           matches the text and the code (fixes #319526).
16782
16783 2005-12-11  Tim-Philipp Müller  <tim at centricular dot net>
16784
16785         * docs/pwg/building-chainfn.xml:
16786         * docs/pwg/building-pads.xml:
16787         * docs/pwg/building-state.xml:
16788         * docs/pwg/other-source.xml:
16789           Update state change stuff for 0.10 (fixes #322969).
16790
16791 2005-12-11  Tim-Philipp Müller  <tim at centricular dot net>
16792
16793         * docs/manual/advanced-dataaccess.xml:
16794         * docs/manual/appendix-checklist.xml:
16795         * docs/manual/appendix-programs.xml:
16796         * docs/manual/basics-pads.xml:
16797         * docs/manual/highlevel-components.xml:
16798         * docs/manual/manual.xml:
16799           Update for 0.10: s/0.9/0.10/; s/audioscale/audiorsample/;
16800           add converters in front of pipelines; remove curly
16801           brackets for threads stuff, they no longer exist; use
16802           GST_TYPE_FRACTION for framerates; update some pieces of
16803           code to 0.10, but there's plenty more to do.
16804
16805         * docs/manual/appendix-porting.xml:
16806           Expand on asynchroneous state changes; s/0.9/0.10/;
16807           mention disappearance of gst_init_get_popt_table()
16808           (fixes #322916).
16809
16810 2005-12-11  Tim-Philipp Müller  <tim at centricular dot net>
16811
16812         * docs/faq/using.xml:
16813           Spider no longer exists, and neither does gst-launch-ext.
16814           Update examples to use decodebin and playbin and put
16815           converters in front of sinks (fixes #323726).
16816
16817 2005-12-09  Michael Smith  <msmith@fluendo.com>
16818
16819         * plugins/elements/gsttypefindelement.c: (find_peek),
16820         (gst_type_find_element_chain):
16821           Fix leaking element factories in typefinding.
16822           Fix problem where we forgot about a probable type on non-seekable
16823           files, and thus later mis-typefound it.
16824
16825 2005-12-09  Michael Smith  <msmith@fluendo.com>
16826
16827         * common/m4/gst-makecontext.m4:
16828         * common/m4/gst-mcsc.m4:
16829         * configure.ac:
16830         * win32/common/config.h:
16831         * win32/common/config.h.in:
16832           Remove makecontext stuff; not used in 0.10 and causes problems on
16833           HPUX according to bug #322441
16834
16835 2005-12-07  Wim Taymans  <wim@fluendo.com>
16836
16837         * tests/check/Makefile.am:
16838         * tests/check/libs/libsabi.c: (GST_START_TEST), (gstabi_suite),
16839         (main):
16840         * tests/check/libs/struct_i386.h:
16841         Added ABI check for libs
16842
16843 2005-12-07  Wim Taymans  <wim@fluendo.com>
16844
16845         * tests/check/Makefile.am:
16846         And add the struct_i386.h to dist.
16847
16848 2005-12-07  Wim Taymans  <wim@fluendo.com>
16849
16850         * tests/check/Makefile.am:
16851         * tests/check/gst/.cvsignore:
16852         * tests/check/gst/gstabi.c: (GST_START_TEST), (gstabi_suite),
16853         (main):
16854         * tests/check/gst/struct_i386.h:
16855         Added check for ABI compatibility.
16856
16857 2005-12-07  Wim Taymans  <wim@fluendo.com>
16858
16859         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
16860         (gst_fake_src_get_times), (gst_fake_src_create):
16861         Fix broken sync option, fixes #323259
16862
16863 2005-12-07  Wim Taymans  <wim@fluendo.com>
16864
16865         * gst/gstbuffer.c:
16866         Small docs update.
16867
16868         * gst/gstcaps.c: (gst_caps_is_equal):
16869         Don't assert on NULL <--> X. Fixes #323260
16870
16871         * gst/gstminiobject.c: (gst_mini_object_replace):
16872         If we're doing atomic operations, we might just as well use
16873         the proper way to get an atomic pointer.
16874
16875         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
16876         Clean up debugging.
16877
16878 2005-12-07  Michael Smith  <msmith@fluendo.com>
16879
16880         * gst/parse/grammar.y:
16881           Remove handling of { } for threads.
16882
16883 2005-12-06  David Schleef  <ds@schleef.org>
16884
16885         * libs/gst/base/gstbasetransform.c: speling fix.
16886
16887 2005-12-06  Thomas Vander Stichele  <thomas at apestaart dot org>
16888
16889         * docs/libs/tmpl/gstdataprotocol.sgml:
16890         * docs/random/omega/testing/gstobject.c:
16891         * gst/gst.c:
16892         * gst/gstclock.c:
16893         * gst/gstelement.c:
16894         * gst/gstelementfactory.c:
16895         * gst/gsterror.c:
16896         * gst/gstevent.c:
16897         * gst/gstghostpad.c:
16898         * gst/gstinfo.c:
16899         * gst/gstpadtemplate.c:
16900         * gst/gstregistryxml.c:
16901         * gst/gsttaglist.c:
16902         * gst/gsttagsetter.c:
16903         * gst/gsttypefind.c:
16904         * gst/gstvalue.c:
16905         * libs/gst/base/gstbasesrc.c:
16906         * libs/gst/net/gstnetclientclock.c:
16907         * libs/gst/net/gstnettimeprovider.c:
16908         * plugins/elements/gstfakesrc.c:
16909         * plugins/elements/gstfdsrc.c:
16910         * plugins/elements/gstfilesrc.c:
16911         * plugins/elements/gstidentity.c:
16912         * plugins/elements/gstqueue.c:
16913         * plugins/elements/gsttypefindelement.c:
16914         * plugins/indexers/gstfileindex.c:
16915         * plugins/indexers/gstmemindex.c:
16916         * tests/check/gst/gsttag.c:
16917         * tests/old/examples/cutter/cutter.c:
16918         * tests/old/examples/mixer/mixer.c:
16919         * tests/old/examples/xml/runxml.c: (main):
16920         * tests/old/testsuite/caps/normalisation.c:
16921         * tests/old/testsuite/debug/global.c:
16922         * tests/old/testsuite/parse/parse1.c:
16923         * tools/gst-xmlinspect.c:
16924         * win32/common/dirent.c:
16925           expand tabs
16926
16927 === release 0.10.0 ===
16928
16929 2005-12-05  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
16930
16931         * configure.ac:
16932           releasing 0.10.0, "Maroilles"
16933
16934 2005-12-05  Thomas Vander Stichele  <thomas at apestaart dot org>
16935
16936         submitted by: Funda Wang <fundawang@linux.net.cn>
16937
16938         * po/LINGUAS:
16939         * po/zh_CN.po:
16940           added Chinese (Traditional) translation
16941
16942 2005-12-05  Thomas Vander Stichele  <thomas at apestaart dot org>
16943
16944         * docs/gst/gstreamer-sections.txt:
16945         * docs/libs/tmpl/gstdataprotocol.sgml:
16946         * docs/random/thomasvs/TODO:
16947         * gst/gstutils.c:
16948         * gst/gstutils.h:
16949           fix docs
16950
16951 2005-12-05  Andy Wingo  <wingo@pobox.com>
16952
16953         patch by: Wim Taymans <wim@fluendo.com>
16954
16955         * libs/gst/base/gstbasetransform.c
16956         (gst_base_transform_prepare_output_buf)
16957         (gst_base_transform_buffer_alloc):
16958         * plugins/elements/gstqueue.c (gst_queue_bufferalloc): Call
16959         alloc_buffer_and_set_caps.
16960
16961         * gst/gstpad.c (gst_pad_alloc_buffer): Changed to not call
16962         set_caps on the source pad.
16963         (gst_pad_alloc_buffer_and_set_caps): New function, does what
16964         alloc_buffer used to do. Fixes #322874.
16965
16966         * docs/gst/gstreamer-sections.txt: 
16967         * docs/design/part-negotiation.txt: 
16968         * docs/pwg/advanced-negotiation.xml: Update for the alloc_buffer
16969         changes.
16970
16971 2005-12-05  Thomas Vander Stichele  <thomas at apestaart dot org>
16972
16973         patch by: Sebastien Moutte
16974
16975         * win32/MANIFEST:
16976         * win32/common/config.h.in:
16977         * win32/vs6/libgstcontroller.dsp:
16978           win32 build fixes
16979
16980 2005-12-05  Wim Taymans  <wim@fluendo.com>
16981
16982         * gst/gstcaps.c: (gst_caps_is_equal):
16983         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
16984         (gst_fake_src_create):
16985         Back out previous code changes, leave doc updates, file bugs 
16986         instead. 
16987
16988 2005-12-05  Wim Taymans  <wim@fluendo.com>
16989
16990         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
16991         (gst_fake_src_get_times), (gst_fake_src_create):
16992         * plugins/elements/gstfakesrc.h:
16993         Fix broken sync code.
16994
16995 2005-12-05  Wim Taymans  <wim@fluendo.com>
16996
16997         * gst/gstcaps.c: (gst_caps_is_equal):
16998         Comparing NULL against !NULL yields different caps, not a
16999         failure.
17000
17001 2005-12-05  Wim Taymans  <wim@fluendo.com>
17002
17003         * gst/gstpipeline.c:
17004         Fix small typo in docs.
17005
17006 2005-12-05  Andy Wingo  <wingo@pobox.com>
17007
17008         patch by: Thomas Vander Stichele  <thomas at apestaart dot org>
17009
17010         * gst/gst.c (init_post): remove hard-coded 0.9 location for
17011         registries/plugins with a MAJORMINOR one.
17012         (plugin_desc): Rename library from gstcoreleements to
17013         staticelements. Fixes #323222.
17014
17015 2005-12-05  Tim-Philipp Müller  <tim at centricular dot net>
17016
17017         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init):
17018           Change debug category to 'collectpads' from 'collect_pads'
17019           (fixes #323250).
17020
17021 2005-12-04  Thomas Vander Stichele  <thomas at apestaart dot org>
17022
17023         patch by: Sebastien Moutte
17024
17025         * libs/gst/controller/gstinterpolation.c:
17026           use convert function for uint64/double
17027         * win32/vs6/libgstcontroller.dsp:
17028           link to GLib
17029
17030 2005-12-04  Thomas Vander Stichele  <thomas at apestaart dot org>
17031
17032         * gst/gstutils.c: (gst_util_guint64_to_gdouble),
17033         (gst_util_gdouble_to_guint64), (gst_util_uint64_scale_int64):
17034         * gst/gstutils.h:
17035         * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
17036           add tests that seem to show that the guint64/gdouble conversions
17037           are correct.
17038
17039 2005-12-02  Wim Taymans  <wim@fluendo.com>
17040
17041         * gst/gstregistry.c: (gst_registry_add_path):
17042         * gst/gstregistry.h:
17043         * gst/gstregistryxml.c:
17044         Fix docs again.
17045
17046 2005-12-02  Wim Taymans  <wim@fluendo.com>
17047
17048         * gst/gstutils.c: (gst_util_uint64_scale_int64),
17049         (gst_util_uint64_scale_int):
17050         Small cleanup.
17051
17052         * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object):
17053         Add debug log line.
17054
17055         * libs/gst/base/gstbasetransform.c: (gst_base_transform_event):
17056         Add FIXME.
17057
17058 2005-12-02  Thomas Vander Stichele  <thomas at apestaart dot org>
17059
17060         * win32/MANIFEST:
17061         * win32/common/config.h:
17062         * win32/vs6/gstreamer.dsw:
17063         * win32/vs6/libgstcoreelements.dsp:
17064         * win32/vs6/libgstelements.dsp:
17065           renamed core elements plugin
17066
17067 2005-12-02  Thomas Vander Stichele  <thomas at apestaart dot org>
17068
17069         * tools/gst-run.c: (compare_major_minor), (find_highest_version),
17070         (get_candidates):
17071           do piece-wise major/minor comparison so 0.9 < 0.10
17072           also allow .exe extensions for tools
17073
17074 2005-12-02  Michael Smith  <msmith@fluendo.com>
17075
17076         * gst/gst.c:
17077           Escape a % to make gtkdoc happier; bug 322958.
17078
17079 === release 0.9.7 ===
17080
17081 2005-12-01  Thomas Vander Stichele <thomas (at) apestaart (dot) org>
17082
17083         * configure.ac:
17084           releasing 0.9.7, "My Dog Has No Nose"
17085
17086 2005-12-01  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
17087
17088         * common/gst-xmlinspect.py:
17089         * configure.ac:
17090         * docs/libs/tmpl/gstdataprotocol.sgml:
17091         * docs/random/release:
17092         * po/af.po:
17093         * po/az.po:
17094         * po/bg.po:
17095         * po/ca.po:
17096         * po/cs.po:
17097         * po/de.po:
17098         * po/en_GB.po:
17099         * po/fr.po:
17100         * po/it.po:
17101         * po/nb.po:
17102         * po/nl.po:
17103         * po/ru.po:
17104         * po/sq.po:
17105         * po/sr.po:
17106         * po/sv.po:
17107         * po/tr.po:
17108         * po/uk.po:
17109         * po/vi.po:
17110         * win32/common/config.h:
17111         * win32/common/config.h.in:
17112         * win32/vs6/gst_inspect.dsp:
17113         * win32/vs6/gst_launch.dsp:
17114         * win32/vs6/libgstbase.dsp:
17115         * win32/vs6/libgstelements.dsp:
17116         * win32/vs6/libgstreamer.dsp:
17117         * win32/vs7/GStreamer.vcproj:
17118         * win32/vs7/gst-inspect.vcproj:
17119         * win32/vs7/gst-launch.vcproj:
17120         * win32/vs7/libgstbase.vcproj:
17121           bump GST_MAJORMINOR to 0.10
17122           reset libtool version
17123
17124 2005-12-01  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
17125
17126         * po/LINGUAS:
17127         * po/bg.po:
17128           Added Bulgarian translation by (Alexander Shopov)
17129
17130 2005-12-01  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
17131
17132         * tests/check/gst/gstplugin.c:
17133           fix test
17134
17135 2005-12-01  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
17136
17137         * common/gst-xmlinspect.py:
17138         * common/gtk-doc-plugins.mak:
17139         * configure.ac:
17140         * docs/Makefile.am:
17141         * docs/gst/Makefile.am:
17142         * docs/gst/gstreamer-docs.sgml:
17143         * docs/gst/gstreamer-sections.txt:
17144         * docs/gst/gstreamer.types:
17145         * docs/gst/gstreamer.types.in:
17146         * docs/plugins/Makefile.am:
17147         * docs/plugins/gstreamer-plugins-docs.sgml:
17148         * docs/plugins/gstreamer-plugins-sections.txt:
17149         * docs/plugins/gstreamer-plugins.types:
17150         * docs/plugins/inspect.stamp:
17151         * docs/plugins/inspect/plugin-coreelements.xml:
17152         * docs/plugins/inspect/plugin-coreindexers.xml:
17153         * docs/plugins/scanobj-build.stamp:
17154         * gstreamer.spec.in:
17155         * plugins/elements/Makefile.am:
17156         * plugins/elements/gstelements.c:
17157         * plugins/elements/gstfakesink.c:
17158         * plugins/elements/gstfakesrc.c:
17159         * plugins/elements/gstfilesink.c:
17160         * plugins/elements/gstfilesrc.c:
17161         * plugins/elements/gstqueue.c:
17162         * plugins/indexers/Makefile.am:
17163         * plugins/indexers/gstindexers.c:
17164           document core plugins in a separate document just like all the
17165           others
17166           rename these plugins to something starting with core
17167
17168 2005-12-01  Andy Wingo  <wingo@pobox.com>
17169
17170         * gst/gstevent.h (struct _GstEvent): Meant to remove the extra
17171         padding here before, but it missed the commit.
17172
17173 2005-12-01  Thomas Vander Stichele  <thomas at apestaart dot org>
17174
17175         * libs/gst/controller/gstinterpolation.c:
17176           whitespace prices have crashed, we should feel free to use some now
17177           use gst_guint64_to_gdouble
17178
17179 2005-12-01  Thomas Vander Stichele  <thomas at apestaart dot org>
17180
17181         * libs/gst/controller/gstcontroller.c:
17182         * libs/gst/controller/gsthelper.c:
17183         * libs/gst/controller/gstinterpolation.c:
17184         * libs/gst/controller/lib.c:
17185           wrap config.h include
17186
17187 2005-12-01  Thomas Vander Stichele  <thomas at apestaart dot org>
17188
17189         * docs/gst/gstreamer-sections.txt:
17190           update docs
17191
17192 2005-12-01  Thomas Vander Stichele  <thomas at apestaart dot org>
17193
17194         * plugins/elements/gstelements.c:
17195         * plugins/elements/gstfdsink.c: (gst_fd_sink__base_init),
17196         (gst_fd_sink__class_init), (gst_fd_sink__init),
17197         (gst_fd_sink__chain), (gst_fd_sink__set_property),
17198         (gst_fd_sink__get_property):
17199         * plugins/elements/gstfdsink.h:
17200         * plugins/elements/gstfdsrc.c: (_do_init), (gst_fd_src_base_init),
17201         (gst_fd_src_class_init), (gst_fd_src_init), (gst_fd_src_dispose),
17202         (gst_fd_src_update_fd), (gst_fd_src_start), (gst_fd_src_stop),
17203         (gst_fd_src_unlock), (gst_fd_src_set_property),
17204         (gst_fd_src_get_property), (gst_fd_src_create),
17205         (gst_fd_src_is_seekable), (gst_fd_src_get_size),
17206         (gst_fd_src_uri_get_type), (gst_fd_src_uri_get_protocols),
17207         (gst_fd_src_uri_get_uri), (gst_fd_src_uri_set_uri),
17208         (gst_fd_src_uri_handler_init):
17209         * plugins/elements/gstfdsrc.h:
17210         * plugins/elements/gstqueue.c: (gst_queue_get_type):
17211           more anal cleanup
17212
17213 2005-11-30  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
17214
17215         * docs/gst/Makefile.am:
17216         * docs/gst/gstreamer.types.in:
17217         * gst/Makefile.am:
17218           fix the docs build
17219
17220 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
17221
17222         * configure.ac:
17223         * gst/Makefile.am:
17224         * gst/gst.c:
17225         * gst/gstplugin.h:
17226         * gst/gstregistry.h:
17227         * tests/benchmarks/complexity.c:
17228         * tests/benchmarks/mass-elements.c:
17229         * tests/check/Makefile.am:
17230         * tools/Makefile.am:
17231         * tools/gst-inspect.c:
17232         * tools/gst-xmlinspect.c:
17233           various fixes to make
17234           --disable-nls --disable-registry --disable-loadsave
17235           --disable-parse --disable-gst-debug
17236           work and get the core .so down to 360444 bytes after stripping
17237
17238 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
17239
17240         * Makefile.am:
17241         * configure.ac:
17242           descend into tests
17243         * docs/random/thomasvs/TODO:
17244         * tests/Makefile.am:
17245         * tests/README:
17246           add a README
17247
17248 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
17249
17250         * win32/GStreamer.vcproj:
17251         * win32/MANIFEST:
17252         * win32/Makefile:
17253         * win32/Makefile.inspect:
17254         * win32/Makefile.launch:
17255         * win32/Makefile.register:
17256         * win32/README.txt:
17257         * win32/gst-inspect.vcproj:
17258         * win32/gst-launch.vcproj:
17259         * win32/gst-register.vcproj:
17260         * win32/gstelements.vcproj:
17261         * win32/gstgetbits.def:
17262         * win32/gstgetbits.vcproj:
17263         * win32/gstreamer-dbg.def:
17264         * win32/gstreamer.def:
17265         * win32/libgstbase.def:
17266         * win32/libgstbase.vcproj:
17267         * win32/link_oldruntime.c:
17268         * win32/mman.c:
17269         * win32/mman.h:
17270         * win32/mman.inl:
17271         * win32/msvc71.sln:
17272           move even more stuff, win32/ is nice and clean now
17273
17274 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
17275
17276         * libs/gst/control/.cvsignore:
17277         * win32/MANIFEST:
17278         * win32/config.h:
17279         * win32/dirent.c:
17280         * win32/dirent.h:
17281         * win32/gstbytestream.def:
17282         * win32/gstbytestream.vcproj:
17283         * win32/gstconfig.h:
17284         * win32/gstenumtypes.c:
17285         * win32/gstenumtypes.h:
17286         * win32/gstoptimalscheduler.vcproj:
17287         * win32/gstversion.h:
17288         * win32/gtchar.h:
17289         * win32/testsuite/bins.vcproj:
17290         * win32/testsuite/bytestream.vcproj:
17291         * win32/testsuite/caps.vcproj:
17292         * win32/testsuite/cleanup.vcproj:
17293         * win32/testsuite/clock.vcproj:
17294         * win32/testsuite/debug.vcproj:
17295         * win32/testsuite/dlopen.vcproj:
17296         * win32/testsuite/dynparams.vcproj:
17297         * win32/testsuite/elements.vcproj:
17298         * win32/testsuite/ghostpads.vcproj:
17299         * win32/testsuite/indexers.vcproj:
17300         * win32/testsuite/negotiation.vcproj:
17301         * win32/testsuite/parse.vcproj:
17302         * win32/testsuite/plugin.vcproj:
17303         * win32/testsuite/refcounting.vcproj:
17304         * win32/testsuite/schedulers.vcproj:
17305         * win32/testsuite/states.vcproj:
17306         * win32/testsuite/tags.vcproj:
17307         * win32/testsuite/threads.vcproj:
17308           remove old win32 stuff that isn't maintained and should be
17309           reorganized
17310
17311 2005-11-30  Andy Wingo  <wingo@pobox.com>
17312
17313         * configure.ac (GST_PKG_DEPS): Revert previous patch, makes
17314         loading the gst.interfaces python module bork.
17315
17316         * configure.ac (GST_PKG_DEPS): Use gmodule-no-export-2.0.pc,
17317         available since GLib 2.2. Fixes #318031.
17318
17319 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
17320
17321         * Makefile.am:
17322         * check/.cvsignore:
17323         * check/Makefile.am:
17324         * check/elements/.cvsignore:
17325         * check/elements/fakesrc.c:
17326         * check/elements/fdsrc.c:
17327         * check/elements/identity.c:
17328         * check/generic/.cvsignore:
17329         * check/generic/states.c:
17330         * check/gst-libs/.cvsignore:
17331         * check/gst-libs/controller.c:
17332         * check/gst-libs/gdp.c:
17333         * check/gst/.cvsignore:
17334         * check/gst/capslist.h:
17335         * check/gst/gst.c:
17336         * check/gst/gstbin.c:
17337         * check/gst/gstbuffer.c:
17338         * check/gst/gstbus.c:
17339         * check/gst/gstcaps.c:
17340         * check/gst/gstelement.c:
17341         * check/gst/gstevent.c:
17342         * check/gst/gstghostpad.c:
17343         * check/gst/gstiterator.c:
17344         * check/gst/gstmessage.c:
17345         * check/gst/gstminiobject.c:
17346         * check/gst/gstobject.c:
17347         * check/gst/gstpad.c:
17348         * check/gst/gstpipeline.c:
17349         * check/gst/gstplugin.c:
17350         * check/gst/gstsegment.c:
17351         * check/gst/gststructure.c:
17352         * check/gst/gstsystemclock.c:
17353         * check/gst/gsttag.c:
17354         * check/gst/gstutils.c:
17355         * check/gst/gstvalue.c:
17356         * check/net/.cvsignore:
17357         * check/net/gstnetclientclock.c:
17358         * check/net/gstnettimeprovider.c:
17359         * check/pipelines/.cvsignore:
17360         * check/pipelines/cleanup.c:
17361         * check/pipelines/simple_launch_lines.c:
17362         * check/pipelines/stress.c:
17363         * check/states/.cvsignore:
17364         * check/states/sinks.c:
17365         * configure.ac:
17366         * examples/Makefile.am:
17367         * examples/appreader/.cvsignore:
17368         * examples/appreader/Makefile.am:
17369         * examples/appreader/appreader.c:
17370         * examples/controller/.cvsignore:
17371         * examples/controller/Makefile.am:
17372         * examples/controller/audio-example.c:
17373         * examples/cutter/.cvsignore:
17374         * examples/cutter/Makefile.am:
17375         * examples/cutter/cutter.c:
17376         * examples/cutter/cutter.h:
17377         * examples/events/Makefile.am:
17378         * examples/events/seek.c:
17379         * examples/helloworld/.cvsignore:
17380         * examples/helloworld/Makefile.am:
17381         * examples/helloworld/helloworld.c:
17382         * examples/helloworld2/.cvsignore:
17383         * examples/helloworld2/Makefile.am:
17384         * examples/helloworld2/helloworld2.c:
17385         * examples/launch/.cvsignore:
17386         * examples/launch/Makefile.am:
17387         * examples/launch/mp3parselaunch.c:
17388         * examples/launch/mp3play:
17389         * examples/manual/.cvsignore:
17390         * examples/manual/Makefile.am:
17391         * examples/manual/extract.pl:
17392         * examples/metadata/Makefile.am:
17393         * examples/metadata/read-metadata.c:
17394         * examples/mixer/.cvsignore:
17395         * examples/mixer/Makefile.am:
17396         * examples/mixer/mixer.c:
17397         * examples/mixer/mixer.h:
17398         * examples/pingpong/.cvsignore:
17399         * examples/pingpong/Makefile.am:
17400         * examples/pingpong/pingpong.c:
17401         * examples/plugins/.cvsignore:
17402         * examples/plugins/Makefile.am:
17403         * examples/plugins/example.c:
17404         * examples/plugins/example.h:
17405         * examples/pwg/.cvsignore:
17406         * examples/pwg/Makefile.am:
17407         * examples/pwg/extract.pl:
17408         * examples/queue/.cvsignore:
17409         * examples/queue/Makefile.am:
17410         * examples/queue/queue.c:
17411         * examples/queue2/.cvsignore:
17412         * examples/queue2/Makefile.am:
17413         * examples/queue2/queue2.c:
17414         * examples/queue3/.cvsignore:
17415         * examples/queue3/Makefile.am:
17416         * examples/queue3/queue3.c:
17417         * examples/queue4/.cvsignore:
17418         * examples/queue4/Makefile.am:
17419         * examples/queue4/queue4.c:
17420         * examples/retag/.cvsignore:
17421         * examples/retag/Makefile.am:
17422         * examples/retag/retag.c:
17423         * examples/retag/transcode.c:
17424         * examples/thread/.cvsignore:
17425         * examples/thread/Makefile.am:
17426         * examples/thread/thread.c:
17427         * examples/typefind/.cvsignore:
17428         * examples/typefind/Makefile.am:
17429         * examples/typefind/typefind.c:
17430         * examples/xml/.cvsignore:
17431         * examples/xml/Makefile.am:
17432         * examples/xml/createxml.c:
17433         * examples/xml/runxml.c:
17434         * tests/Makefile.am:
17435         * tests/check/Makefile.am:
17436         * testsuite/.cvsignore:
17437         * testsuite/Makefile.am:
17438         * testsuite/Rules:
17439         * testsuite/caps/.cvsignore:
17440         * testsuite/caps/Makefile.am:
17441         * testsuite/caps/app_fixate.c:
17442         * testsuite/caps/audioscale.c:
17443         * testsuite/caps/caps.c:
17444         * testsuite/caps/caps.h:
17445         * testsuite/caps/caps_strings:
17446         * testsuite/caps/compatibility.c:
17447         * testsuite/caps/deserialize.c:
17448         * testsuite/caps/enumcaps.c:
17449         * testsuite/caps/eratosthenes.c:
17450         * testsuite/caps/filtercaps.c:
17451         * testsuite/caps/fixed.c:
17452         * testsuite/caps/fraction-convert.c:
17453         * testsuite/caps/fraction-multiply-and-zero.c:
17454         * testsuite/caps/intersect2.c:
17455         * testsuite/caps/intersection.c:
17456         * testsuite/caps/normalisation.c:
17457         * testsuite/caps/random.c:
17458         * testsuite/caps/renegotiate.c:
17459         * testsuite/caps/sets.c:
17460         * testsuite/caps/simplify.c:
17461         * testsuite/caps/string-conversions.c:
17462         * testsuite/caps/structure.c:
17463         * testsuite/caps/subtract.c:
17464         * testsuite/caps/union.c:
17465         * testsuite/debug/.cvsignore:
17466         * testsuite/debug/Makefile.am:
17467         * testsuite/debug/category.c:
17468         * testsuite/debug/commandline.c:
17469         * testsuite/debug/global.c:
17470         * testsuite/debug/output.c:
17471         * testsuite/debug/printf_extension.c:
17472         * testsuite/dlopen/.cvsignore:
17473         * testsuite/dlopen/Makefile.am:
17474         * testsuite/dlopen/dlopen_gst.c:
17475         * testsuite/dlopen/loadgst.c:
17476         * testsuite/elements/.cvsignore:
17477         * testsuite/elements/Makefile.am:
17478         * testsuite/elements/gst-inspect-check.in:
17479         * testsuite/elements/struct_i386.h:
17480         * testsuite/elements/struct_size.c:
17481         * testsuite/indexers/.cvsignore:
17482         * testsuite/indexers/Makefile.am:
17483         * testsuite/indexers/cache1.c:
17484         * testsuite/indexers/indexdump.c:
17485         * testsuite/parse/.cvsignore:
17486         * testsuite/parse/Makefile.am:
17487         * testsuite/parse/parse1.c:
17488         * testsuite/parse/parse2.c:
17489         * testsuite/plugin/.cvsignore:
17490         * testsuite/plugin/Makefile.am:
17491         * testsuite/plugin/README:
17492         * testsuite/plugin/dynamic.c:
17493         * testsuite/plugin/linked.c:
17494         * testsuite/plugin/loading.c:
17495         * testsuite/plugin/registry.c:
17496         * testsuite/plugin/static.c:
17497         * testsuite/plugin/static2.c:
17498         * testsuite/plugin/testplugin.c:
17499         * testsuite/plugin/testplugin2.c:
17500         * testsuite/plugin/testplugin2_s.c:
17501         * testsuite/plugin/testplugin_s.c:
17502         * testsuite/refcounting/.cvsignore:
17503         * testsuite/refcounting/Makefile.am:
17504         * testsuite/refcounting/bin.c:
17505         * testsuite/refcounting/element.c:
17506         * testsuite/refcounting/element_pad.c:
17507         * testsuite/refcounting/mainloop.c:
17508         * testsuite/refcounting/mem.c:
17509         * testsuite/refcounting/mem.h:
17510         * testsuite/refcounting/object.c:
17511         * testsuite/refcounting/pad.c:
17512         * testsuite/refcounting/sched.c:
17513         * testsuite/refcounting/thread.c:
17514         * testsuite/states/.cvsignore:
17515         * testsuite/states/Makefile.am:
17516         * testsuite/states/bin.c:
17517         * testsuite/states/locked.c:
17518         * testsuite/states/parent.c:
17519         * testsuite/threads/.cvsignore:
17520         * testsuite/threads/159566.c:
17521         * testsuite/threads/159852.c:
17522         * testsuite/threads/Makefile.am:
17523         * testsuite/threads/queue.c:
17524         * testsuite/threads/signals.c:
17525         * testsuite/threads/staticrec.c:
17526         * testsuite/threads/thread.c:
17527         * testsuite/threads/threadb.c:
17528         * testsuite/threads/threadc.c:
17529         * testsuite/threads/threadd.c:
17530         * testsuite/threads/threade.c:
17531         * testsuite/threads/threadf.c:
17532         * testsuite/threads/threadg.c:
17533         * testsuite/threads/threadh.c:
17534         * testsuite/threads/threadi.c:
17535           move all of these under tests
17536
17537 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
17538
17539         * configure.ac:
17540         * tests/Makefile.am:
17541           fix distcheck
17542
17543 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
17544
17545         * docs/gst/gstreamer-sections.txt:
17546         * tests/sched/.cvsignore:
17547         * tests/sched/Makefile.am:
17548         * tests/sched/cases/(fs-fs).xml:
17549         * tests/sched/cases/(fs-i-fs).xml:
17550         * tests/sched/cases/(fs-i-i-fs).xml:
17551         * tests/sched/cases/(fs-i-q[i-fs]).xml:
17552         * tests/sched/dynamic-pipeline.c:
17553         * tests/sched/interrupt1.c:
17554         * tests/sched/interrupt2.c:
17555         * tests/sched/interrupt3.c:
17556         * tests/sched/runtestcases:
17557         * tests/sched/runxml.c:
17558         * tests/sched/sched-stress.c:
17559         * tests/sched/sort.c:
17560         * tests/sched/testcases:
17561         * tests/sched/testcases1.tc:
17562         * tests/seeking/.cvsignore:
17563         * tests/seeking/Makefile.am:
17564         * tests/seeking/seeking1.c:
17565         * tests/threadstate/.cvsignore:
17566         * tests/threadstate/Makefile.am:
17567         * tests/threadstate/test1.c:
17568         * tests/threadstate/test2.c:
17569         * tests/threadstate/threadstate1.c:
17570         * tests/threadstate/threadstate2.c:
17571         * tests/threadstate/threadstate3.c:
17572         * tests/threadstate/threadstate4.c:
17573         * tests/threadstate/threadstate5.c:
17574           remove obsolete tests
17575         * configure.ac:
17576         * tests/bench-complexity.scm:
17577         * tests/bench-mass_elements.scm:
17578         * tests/complexity.c:
17579         * tests/complexity.gnuplot:
17580         * tests/instantiate/.cvsignore:
17581         * tests/instantiate/Makefile.am:
17582         * tests/instantiate/caps.c:
17583         * tests/mass_elements.c:
17584         * tests/network-clock-utils.scm:
17585         * tests/network-clock.scm:
17586         * tests/plot-data:
17587         First pass at cleaning up tests/ dir before moving the rest
17588         Combined with CVS surgery
17589
17590 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
17591
17592         * po/POTFILES.in:
17593           queue has moved, update
17594
17595 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
17596
17597         * docs/gst/gstreamer-sections.txt:
17598           remove double entries from the docs
17599         * gst/gst_private.h:
17600         * gst/gstinfo.c: (_gst_debug_init):
17601           remove the THREAD debug category
17602         * gst/Makefile.am:
17603         * gst/gstqueue.c:
17604         * gst/gstqueue.h:
17605         * docs/gst/gstreamer.types:
17606         * plugins/elements/gstqueue.c: (gst_queue_get_type),
17607         (gst_queue_init), (gst_queue_finalize), (gst_queue_change_state):
17608           completely move queue and fix up debugging categories
17609
17610 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
17611
17612         * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
17613           make initialization portable, using LL is not
17614
17615 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
17616
17617         * win32/common/gstconfig.h:
17618           add large padding
17619
17620 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
17621
17622         * win32/common/libgstreamer.def:
17623           rename symbols; sort base section
17624
17625 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
17626
17627         * gst/gstclock.c: (do_linear_regression):
17628           remove crack non-portable handrolled DEBUG macro
17629
17630 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
17631
17632         * docs/random/release:
17633           update notes
17634         * win32/common/gstenumtypes.c: (register_gst_object_flags),
17635         (gst_object_flags_get_type), (register_gst_bin_flags),
17636         (gst_bin_flags_get_type), (register_gst_buffer_flag),
17637         (gst_buffer_flag_get_type), (register_gst_bus_flags),
17638         (gst_bus_flags_get_type), (register_gst_bus_sync_reply),
17639         (gst_bus_sync_reply_get_type), (register_gst_caps_flags),
17640         (gst_caps_flags_get_type), (register_gst_clock_return),
17641         (gst_clock_return_get_type), (register_gst_clock_entry_type),
17642         (gst_clock_entry_type_get_type), (register_gst_clock_flags),
17643         (gst_clock_flags_get_type), (register_gst_state),
17644         (gst_state_get_type), (register_gst_state_change_return),
17645         (gst_state_change_return_get_type), (register_gst_state_change),
17646         (gst_state_change_get_type), (register_gst_element_flags),
17647         (gst_element_flags_get_type), (register_gst_core_error),
17648         (gst_core_error_get_type), (register_gst_library_error),
17649         (gst_library_error_get_type), (register_gst_resource_error),
17650         (gst_resource_error_get_type), (register_gst_stream_error),
17651         (gst_stream_error_get_type), (register_gst_event_type_flags),
17652         (gst_event_type_flags_get_type), (register_gst_event_type),
17653         (gst_event_type_get_type), (register_gst_seek_type),
17654         (gst_seek_type_get_type), (register_gst_seek_flags),
17655         (gst_seek_flags_get_type), (register_gst_format),
17656         (gst_format_get_type), (register_gst_index_certainty),
17657         (gst_index_certainty_get_type), (register_gst_index_entry_type),
17658         (gst_index_entry_type_get_type),
17659         (register_gst_index_lookup_method),
17660         (gst_index_lookup_method_get_type), (register_gst_assoc_flags),
17661         (gst_assoc_flags_get_type), (register_gst_index_resolver_method),
17662         (gst_index_resolver_method_get_type), (register_gst_index_flags),
17663         (gst_index_flags_get_type), (register_gst_debug_level),
17664         (gst_debug_level_get_type), (register_gst_debug_color_flags),
17665         (gst_debug_color_flags_get_type), (register_gst_iterator_result),
17666         (gst_iterator_result_get_type), (register_gst_iterator_item),
17667         (gst_iterator_item_get_type), (register_gst_message_type),
17668         (gst_message_type_get_type), (register_gst_mini_object_flags),
17669         (gst_mini_object_flags_get_type), (register_gst_pad_link_return),
17670         (gst_pad_link_return_get_type), (register_gst_flow_return),
17671         (gst_flow_return_get_type), (register_gst_activate_mode),
17672         (gst_activate_mode_get_type), (register_gst_pad_direction),
17673         (gst_pad_direction_get_type), (register_gst_pad_flags),
17674         (gst_pad_flags_get_type), (register_gst_pad_presence),
17675         (gst_pad_presence_get_type), (register_gst_pad_template_flags),
17676         (gst_pad_template_flags_get_type), (register_gst_pipeline_flags),
17677         (gst_pipeline_flags_get_type), (register_gst_plugin_error),
17678         (gst_plugin_error_get_type), (register_gst_plugin_flags),
17679         (gst_plugin_flags_get_type), (register_gst_rank),
17680         (gst_rank_get_type), (register_gst_query_type),
17681         (gst_query_type_get_type), (register_gst_tag_merge_mode),
17682         (gst_tag_merge_mode_get_type), (register_gst_tag_flag),
17683         (gst_tag_flag_get_type), (register_gst_task_state),
17684         (gst_task_state_get_type), (register_gst_alloc_trace_flags),
17685         (gst_alloc_trace_flags_get_type),
17686         (register_gst_type_find_probability),
17687         (gst_type_find_probability_get_type), (register_gst_uri_type),
17688         (gst_uri_type_get_type), (register_gst_parse_error),
17689         (gst_parse_error_get_type):
17690         * win32/common/gstenumtypes.h:
17691         * win32/common/gstversion.h:
17692           update visual studio generated files
17693
17694 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
17695
17696         * win32/vs6/libgstbase.dsp:
17697         * win32/vs6/libgstelements.dsp:
17698           update project files for new locations
17699
17700 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
17701
17702         * Makefile.am:
17703           remove some files
17704         * README:
17705           reinstate and update
17706         * DEVEL:
17707         * REQUIREMENTS:
17708           removed
17709         * LICENSE:
17710         * docs/random/LICENSE:
17711           moved to random
17712
17713 2005-11-30  Edward Hervey  <edward@fluendo.com>
17714
17715         * gst/gsttypefind.c: (gst_type_find_register):
17716         * gst/gsttypefind.h:
17717         * gst/gsttypefindfactory.c: (gst_type_find_factory_init),
17718         (gst_type_find_factory_dispose):
17719         * gst/gsttypefindfactory.h:
17720         Fix memory leak in GstTypeFindFactory.
17721
17722 2005-11-29  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
17723
17724         * gst/gst.c:
17725         * plugins/elements/Makefile.am:
17726         * plugins/elements/gstelements.c:
17727         * plugins/elements/gstqueue.c:
17728           move queue from core to the elements plugin
17729
17730 2005-11-29  Andy Wingo  <wingo@pobox.com>
17731
17732         * libs/gst/base/gstbasetransform.h: 
17733         * libs/gst/base/gstbasesrc.h: 
17734         * libs/gst/base/gstbasesink.h: en-LARGE the padding.
17735
17736         * gst/gstconfig.h.in (GST_PADDING_LARGE): New define, the number
17737         of pointers by which to pad very extensible base classes (like the
17738         ones in libs/gst/base).
17739
17740 2005-11-29  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
17741
17742         * docs/gst/gstreamer-docs.sgml:
17743         * docs/gst/gstreamer-sections.txt:
17744         * docs/libs/gstreamer-libs-docs.sgml:
17745         * docs/libs/gstreamer-libs-sections.txt:
17746           moving documentation from core to lib
17747
17748 2005-11-29  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
17749
17750         * check/Makefile.am:
17751         * configure.ac:
17752         * docs/gst/Makefile.am:
17753         * gst/Makefile.am:
17754         * gst/base/.cvsignore:
17755         * gst/base/Makefile.am:
17756         * gst/base/README:
17757         * gst/base/gstadapter.c:
17758         * gst/base/gstadapter.h:
17759         * gst/base/gstbasesink.c:
17760         * gst/base/gstbasesink.h:
17761         * gst/base/gstbasesrc.c:
17762         * gst/base/gstbasesrc.h:
17763         * gst/base/gstbasetransform.c:
17764         * gst/base/gstbasetransform.h:
17765         * gst/base/gstcollectpads.c:
17766         * gst/base/gstcollectpads.h:
17767         * gst/base/gstpushsrc.c:
17768         * gst/base/gstpushsrc.h:
17769         * gst/base/gsttypefindhelper.c:
17770         * gst/base/gsttypefindhelper.h:
17771         * gst/check/Makefile.am:
17772         * gst/check/gstcheck.c:
17773         * gst/check/gstcheck.h:
17774         * gst/net/Makefile.am:
17775         * gst/net/gstnet.h:
17776         * gst/net/gstnetclientclock.c:
17777         * gst/net/gstnetclientclock.h:
17778         * gst/net/gstnettimepacket.c:
17779         * gst/net/gstnettimepacket.h:
17780         * gst/net/gstnettimeprovider.c:
17781         * gst/net/gstnettimeprovider.h:
17782         * libs/gst/Makefile.am:
17783         * libs/gst/base/Makefile.am:
17784         * libs/gst/base/gstbasetransform.c:
17785         * libs/gst/check/Makefile.am:
17786         * plugins/elements/Makefile.am:
17787         * po/POTFILES.in:
17788           CVS surgery + support to move base, check, and net out of gst
17789           and into libs/gst
17790
17791 2005-11-29  Andy Wingo  <wingo@pobox.com>
17792
17793         * gst/gstevent.h (struct _GstEvent): Only one pointer of padding.
17794
17795         * gst/gststructure.h (struct _GstStructure): Only one pointer of
17796         padding.
17797
17798         * gst/gstquery.h (struct _GstQuery): Only one pointer of padding.
17799
17800         * gst/gstpluginfeature.h: Remove a comment in PluginFeature.
17801
17802         * gst/gstplugin.h (struct _GstPluginClass): Add some padding.
17803
17804         * gst/gstobject.h: (struct _GstObject): Only one pointer of
17805         padding; reduces object size by about 30%. We don't expect
17806         anything else to go into gstobject.
17807
17808         * gst/gstminiobject.h (struct _GstMiniObject)
17809         (struct _GstMiniObjectClass): Only one pointer of padding; the
17810         payload is only a pointer and two ints anyway. For the class there
17811         are only two methods as well.
17812         
17813         * gst/gstelement.h (struct _GstElementClass): Removed
17814         the state_changed signal callback, it is not used.
17815
17816 2005-11-29  Thomas Vander Stichele  <thomas at apestaart dot org>
17817
17818         * docs/gst/gstreamer.types:
17819           fix includes, though they are a little dinky
17820
17821 2005-11-29  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
17822
17823         * check/Makefile.am:
17824           look in the right place for elements, a lot more chance of
17825           success
17826         * gst/Makefile.am:
17827           remove indexers and elements subdirs
17828         * plugins/Makefile.am:
17829           make indexers conditional
17830
17831 2005-11-29  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
17832
17833         * Makefile.am:
17834         * configure.ac:
17835         * plugins/elements/Makefile.am:
17836         * plugins/elements/gstcapsfilter.c:
17837         * plugins/elements/gstfilesink.c:
17838         * plugins/elements/gstfilesrc.c:
17839         * plugins/elements/gstidentity.c:
17840         * plugins/indexers/Makefile.am:
17841           do CVS surgery and related build fixery to move elements
17842           and indexers in a new gstreamer/plugins directory, out of the
17843           gst/ directory
17844
17845 2005-11-29  Andy Wingo  <wingo@pobox.com>
17846
17847         * check/Makefile.am:
17848         * pkgconfig/gstreamer-net-uninstalled.pc.in:
17849         * pkgconfig/gstreamer-net.pc.in:
17850         * gst/net/Makefile.am: Rename gstnet-tempname to gstnet. Fixes
17851         #322257.
17852
17853 2005-11-29  Thomas Vander Stichele  <thomas at apestaart dot org>
17854
17855         * tools/Makefile.am:
17856         * tools/gst-complete.1.in:
17857         * tools/gst-complete.c:
17858         * tools/gst-compprep.1.in:
17859         * tools/gst-compprep.c:
17860           removing -compprep and -complete
17861
17862 2005-11-29  Thomas Vander Stichele  <thomas at apestaart dot org>
17863
17864         * gst/gstevent.c: (gst_event_new_new_segment),
17865         (gst_event_parse_new_segment):
17866         * gst/gstevent.h:
17867           fix #320529 - clean up new_segment API and structure.
17868           Let's hope everyone was using the methods, and not the structure.
17869
17870 2005-11-29  Edward Hervey  <edward@fluendo.com>
17871
17872         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
17873         (gst_base_sink_event), (gst_base_sink_do_sync),
17874         (gst_base_sink_activate_pull), (gst_base_sink_change_state):
17875         Properly handle non GST_FORMAT_TIME segment
17876         * gst/elements/gstidentity.c: (gst_identity_transform_ip):
17877         Properly handle non GST_FORMAT_TIME segment
17878         * gst/gstsegment.c:
17879         This function is valid if the accumulator is 0 and the format
17880         is different from the requested format.
17881         
17882 2005-11-29  Jan Schmidt  <thaytan@mad.scientist.com>
17883
17884         * docs/gst/gstreamer-sections.txt:
17885         Add gst_query_new_seeking and gst_query_parse_seeking to the
17886         docs.
17887
17888 2005-11-29  Jan Schmidt  <thaytan@mad.scientist.com>
17889
17890         * gst/base/gstbasetransform.c: (gst_base_transform_buffer_alloc):
17891           Treat a pad alloc with new caps the same as if we were not
17892           negotiated, in order to allow a changing upstream output
17893           to produce a new format of data.
17894
17895 2005-11-29  Edward Hervey  <edward@fluendo.com>
17896
17897         * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
17898         (gst_base_transform_event), (gst_base_transform_eventfunc):
17899         The event virtual method is now properly implemented, with a default
17900         handler
17901         Sub classes should call the parent_class event method. They should
17902         return FALSE if they had a problem handling the given event, or don't
17903         want GstBaseTransform to send that even downstream
17904         * gst/elements/gstidentity.c: (gst_identity_class_init),
17905         (gst_identity_init), (gst_identity_event),
17906         (gst_identity_transform_ip), (gst_identity_set_property),
17907         (gst_identity_get_property):
17908         * gst/elements/gstidentity.h:
17909         Added the single-segment boolean property.
17910         If set to TRUE, it will output a single segment of data, starting from
17911         0, will eat up all incoming newsegment, and modify the timestamp of the
17912         buffers accordingly
17913
17914 2005-11-29  Tim-Philipp Müller  <tim at centricular dot net>
17915
17916         * gst/gstghostpad.c: (gst_proxy_pad_get_target):
17917           Don't ref NULL target pad (#322751). Improve docs.
17918
17919 2005-11-29  Michael Smith  <msmith@fluendo.com>
17920
17921         * gst/gstregistryxml.c: (load_plugin):
17922           Don't crash if we failed to load a feature from a plugin. 
17923
17924 2005-11-28  Thomas Vander Stichele  <thomas at apestaart dot org>
17925
17926         * check/pipelines/simple_launch_lines.c: (setup_pipeline),
17927         (GST_START_TEST):
17928           use more check API and less GLib API
17929
17930 2005-11-28  Thomas Vander Stichele  <thomas at apestaart dot org>
17931
17932         * Makefile.am:
17933           don't run checks if we don't have check
17934         * common/check.mak:
17935           remove the registry when running make torture
17936         * docs/gst/gstreamer-sections.txt:
17937           remove second multiply
17938         * gst/gstqueue.c: (gst_queue_loop):
17939           fix a compile warning when disabling debug
17940
17941 2005-11-28  Jan Schmidt  <thaytan@mad.scientist.com>
17942
17943         * gst/gstinfo.h:
17944         Hey! Let's print the pad name if the pointer != NULL instead
17945         of when it == NULL :-)
17946
17947 2005-11-28  Wim Taymans  <wim@fluendo.com>
17948
17949         * check/gst/gstutils.c: (GST_START_TEST):
17950         Updated check, add some scaling accuracy checking code.
17951
17952         * gst/gstutils.c: (gst_util_div128_64),
17953         (gst_util_uint64_scale_int64), (gst_util_uint64_scale),
17954         (gst_util_uint64_scale_int):
17955         Fix 6 times faster division code. Optimize for common 
17956         1/1 and less common X/1 cases.
17957
17958 2005-11-28  Wim Taymans  <wim@fluendo.com>
17959
17960         * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
17961         More checks.
17962
17963         * gst/gstclock.c: (gst_clock_finalize), (gst_clock_set_master),
17964         (do_linear_regression), (gst_clock_add_observation):
17965         Cleanups.
17966         Release lock when the clock cannot be slaved.
17967         Catch the case where the regression returned an invalid denominator.
17968
17969         * gst/gstutils.c: (gst_util_div128_64_iterate),
17970         (gst_util_div128_64), (gst_util_uint64_scale_int64),
17971         (gst_util_uint64_scale), (gst_util_uint64_scale_int):
17972         Add protentially more performant non-iterative 128/64 divide function
17973         that unfortunatly does not work yet.
17974         Shortcut the trivial 0/X = 0 case.
17975         Remove the warnings on overflow.
17976
17977 2005-11-28  Thomas Vander Stichele  <thomas at apestaart dot org>
17978
17979         * gst/gstplugin.c: (gst_plugin_register_func):
17980           everything causing a plugin not to load should be at least a WARNING
17981
17982 2005-11-28  Stefan Kost  <ensonic@users.sf.net>
17983
17984         * docs/random/ensonic/dparams.txt:
17985           some TODOs for the next dev cycle
17986         * libs/gst/controller/gstcontroller.c:
17987         (gst_controlled_property_set_interpolation_mode),
17988         (gst_controlled_property_new):
17989         * libs/gst/controller/gstcontroller.h:
17990           use base type to assign acccessor functions
17991
17992 2005-11-28  Jan Schmidt  <thaytan@mad.scientist.com>
17993
17994         * check/Makefile.am:
17995         Oops, that should have been top_srcdir
17996
17997 2005-11-28  Jan Schmidt  <thaytan@mad.scientist.com>
17998
17999         * check/Makefile.am:
18000         * check/elements/fdsrc.c: (GST_START_TEST):
18001         Use a cmdline define to specify the location of a file to use for
18002         testing, to avoid breaking distcheck.
18003
18004 2005-11-28  Andy Wingo  <wingo@pobox.com>
18005
18006         * gst/gstpad.c (fixate_value): Use array functions for arrays.
18007
18008 2005-11-28  Edward Hervey  <edward@fluendo.com>
18009
18010         * tools/gst-launch.c: (main):
18011         Clarify the output strings, makes it easier to translate.
18012         Fixes #322626
18013
18014 2005-11-28  Thomas Vander Stichele  <thomas at apestaart dot org>
18015
18016         * gst/Makefile.am:
18017           don't try and build net if we don't even have <sys/socket.h>
18018
18019 2005-11-27  Jan Schmidt  <thaytan@mad.scientist.com>
18020
18021         * check/Makefile.am:
18022         * check/elements/fdsrc.c: (event_func), (setup_fdsrc),
18023         (cleanup_fdsrc), (GST_START_TEST), (fdsrc_suite), (main):
18024           Add tests for fdsrc seekability
18025
18026         * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init),
18027         (gst_fdsrc_init), (gst_fdsrc_update_fd), (gst_fdsrc_start),
18028         (gst_fdsrc_set_property), (gst_fdsrc_is_seekable),
18029         (gst_fdsrc_get_size), (gst_fdsrc_uri_set_uri):
18030         * gst/elements/gstfdsrc.h:
18031           fdsrc should not be a 'live' source.
18032           Implement seeking on seekable fd's.
18033
18034         * gst/gstquery.c: (gst_query_new_seeking),
18035         (gst_query_parse_seeking):
18036         * gst/gstquery.h:
18037           Implement SEEKING query functions: 
18038             *_new_seeking and *_parse_seeking
18039
18040 2005-11-27  Stefan Kost  <ensonic@users.sf.net>
18041
18042         * gst/gstelement.c: (gst_element_dispose):
18043           don't loop forever
18044
18045         * gst/gstiterator.c:
18046         * gst/gststructure.c:
18047           doc fixes
18048
18049         * libs/gst/controller/gstcontroller.c:
18050         (gst_controlled_property_set_interpolation_mode):
18051         * libs/gst/controller/gstcontroller.h:
18052         * libs/gst/controller/gstinterpolation.c:
18053         (interpolate_none_get_enum_value_array):
18054           support controlling enums
18055
18056 2005-11-27  Tim-Philipp Müller  <tim at centricular dot net>
18057
18058         * gst/gstvalue.c:
18059           Improve documentation for gst_value_union().
18060
18061         * gst/gstvalue.h:
18062           Change return value for union, intersect and subtract functions
18063           from gint to gboolean.
18064
18065 2005-11-27  Tim-Philipp Müller  <tim at centricular dot net>
18066
18067         * gst/gstvalue.c: (gst_value_serialize_any_list),
18068         (gst_value_transform_any_list_string),
18069         (gst_value_deserialize_list), (gst_value_deserialize_array),
18070         (gst_value_set_int_range), (gst_value_deserialize_int_range),
18071         (gst_value_set_double_range), (gst_value_deserialize_double_range),
18072         (gst_value_set_fraction_range_full),
18073         (gst_value_deserialize_fraction_range),
18074         (gst_value_deserialize_caps), (gst_value_deserialize_buffer),
18075         (gst_value_deserialize_boolean),
18076         (gst_value_deserialize_int_helper), (gst_value_deserialize_double),
18077         (gst_value_serialize_float), (gst_value_deserialize_float),
18078         (gst_string_wrap), (gst_value_deserialize_string),
18079         (gst_value_deserialize_enum), (gst_value_deserialize_flags),
18080         (gst_value_union_int_range_int_range),
18081         (gst_value_intersect_int_range_int_range),
18082         (gst_value_intersect_double_range_double_range),
18083         (gst_value_create_new_range), (gst_value_subtract_int_range_int),
18084         (gst_value_subtract_int_range_int_range),
18085         (gst_value_subtract_double_double_range),
18086         (gst_value_subtract_double_range_double_range),
18087         (gst_value_deserialize_fraction):
18088         * gst/gstvalue.h:
18089           Use gint, gdouble and gchar in our API instead of int, double and
18090           char (and make usage in gstvalue.c more consistent).
18091
18092 2005-11-27  Thomas Vander Stichele  <thomas at apestaart dot org>
18093
18094         * check/Makefile.am:
18095         * libs/gst/controller/Makefile.am:
18096         * libs/gst/dataprotocol/Makefile.am:
18097           fix up Makefile.am and remove GST_ENABLE_NEW
18098
18099 2005-11-27  Thomas Vander Stichele  <thomas at apestaart dot org>
18100
18101         * configure.ac:
18102         * gst/Makefile.am:
18103         * gst/base/Makefile.am:
18104         * gst/check/Makefile.am:
18105         * gst/elements/Makefile.am:
18106         * gst/net/Makefile.am:
18107           update LDFLAGS use some more
18108
18109 2005-11-27  Thomas Vander Stichele  <thomas at apestaart dot org>
18110
18111         * common/m4/gst-doc.m4:
18112           Fixes #312589
18113
18114 2005-11-26  Edward Hervey  <edward@fluendo.com>
18115
18116         * gst/gstpluginfeature.c: (gst_plugin_feature_load):
18117         This shouldn't issue a g_warning since it returns NULL if it
18118         couldn't find the plugin, and all functions using this behave
18119         properly on a NULL return. Switching to a GST_WARNING.
18120
18121 2005-11-25  Jan Schmidt  <thaytan@mad.scientist.com>
18122
18123         * gst/gstbin.c: (gst_bin_handle_message_func):
18124         Don't leak clock messages.
18125
18126 2005-11-25  Wim Taymans  <wim@fluendo.com>
18127
18128         * gst/gstutils.c: (gst_util_uint64_scale_int64),
18129         (gst_util_uint64_scale_int):
18130         Optimisations, remove unneeded vars.
18131
18132 2005-11-25  Wim Taymans  <wim@fluendo.com>
18133
18134         * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
18135         Added more checks for the high precision uint64 cases.
18136
18137         * gst/gstutils.c: (gst_util_uint64_scale_int64),
18138         (gst_util_uint64_scale), (gst_util_uint64_scale_int):
18139         Implement high precision (guint64 * guint64) / guint64.
18140
18141 2005-11-24  Wim Taymans  <wim@fluendo.com>
18142
18143         * gst/base/gstbasesrc.c: (gst_base_src_query):
18144         Fix wrong percentage query.
18145
18146         * gst/gstutils.c: (gst_util_uint64_scale),
18147         (gst_util_uint64_scale_int):
18148         Add some more common cases that can be handled 
18149         efficiently to _scale.
18150
18151 2005-11-24  Thomas Vander Stichele  <thomas at apestaart dot org>
18152
18153         * check/gst/gstminiobject.c: (thread_ref), (GST_START_TEST),
18154         (gst_mini_object_suite):
18155           don't use check calls from threads; check probably isn't
18156           threadsafe and using a lock to make it threadsafe would
18157           defeat the purpose of this check
18158         * gst/check/gstcheck.c:
18159         * gst/check/gstcheck.h:
18160           use GST_DEBUG some more
18161
18162 2005-11-24  Wim Taymans  <wim@fluendo.com>
18163
18164         * gst/gstutils.c: (gst_util_uint64_scale),
18165         (gst_util_uint64_scale_int):
18166         Chain trivial case to _scale_int.
18167
18168 2005-11-24  Wim Taymans  <wim@fluendo.com>
18169
18170         * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
18171         Added test for scaling.
18172
18173         * gst/gstclock.h:
18174         Small doc fix.
18175
18176         * gst/gstutils.c: (gst_util_uint64_scale_int):
18177         Implemented high precision scaling code.
18178
18179 2005-11-24  Stefan Kost  <ensonic@users.sf.net>
18180
18181         * gst/gstinfo.h:
18182           do not crash on pad==NULL
18183
18184 2005-11-24  Thomas Vander Stichele  <thomas at apestaart dot org>
18185
18186         Patch by: Stefan Kost
18187
18188         * common/gtk-doc.mak:
18189         * docs/gst/Makefile.am:
18190         * docs/libs/Makefile.am:
18191           Fix distcheck issues for the libraries docs build
18192           Closes #319599.
18193
18194 2005-11-24  Michael Smith <msmith@fluendo.com>
18195
18196         * docs/manual/basics-helloworld.xml:
18197           Fix bug #315027: memory leak in example code in docs.
18198
18199 2005-11-24  Michael Smith <msmith@fluendo.com>
18200
18201         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
18202           Unlock the PREROLL_LOCK in a failure case.
18203
18204 2005-11-24  Wim Taymans  <wim@fluendo.com>
18205
18206         * docs/gst/gstreamer-sections.txt:
18207         * gst/base/gstadapter.h:
18208         * gst/base/gstbasesink.h:
18209         * gst/base/gstbasesrc.h:
18210         * gst/base/gstbasetransform.h:
18211         * gst/base/gstpushsrc.h:
18212         * gst/elements/gstfakesink.h:
18213         * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type):
18214         * gst/elements/gstfakesrc.h:
18215         * gst/elements/gstfilesink.h:
18216         * gst/elements/gstfilesrc.h:
18217         * gst/gst.c:
18218         * gst/gstbin.c:
18219         * gst/gstbuffer.c: (_gst_buffer_copy):
18220         * gst/gstbus.h:
18221         * gst/gstcaps.c:
18222         * gst/gstchildproxy.c:
18223         * gst/gstclock.c:
18224         * gst/gstelement.c:
18225         * gst/gstelementfactory.c:
18226         * gst/gstelementfactory.h:
18227         * gst/gstevent.c:
18228         * gst/gstghostpad.h:
18229         * gst/gstindex.h:
18230         * gst/gstinterface.h:
18231         * gst/gstminiobject.c:
18232         * gst/gstminiobject.h:
18233         * gst/gstpad.c:
18234         * gst/gstpad.h:
18235         * gst/gstpadtemplate.h:
18236         * gst/gstpipeline.h:
18237         * gst/gstpluginfeature.h:
18238         * gst/gstquery.h:
18239         * gst/gstqueue.h:
18240         * gst/gsttaglist.c:
18241         * gst/gsttaglist.h:
18242         * gst/gsttagsetter.c:
18243         * gst/gsttagsetter.h:
18244         * gst/gsttrace.c:
18245         * gst/gsttrace.h:
18246         * gst/gsttypefind.h:
18247         * gst/gsturi.h:
18248         * gst/gstvalue.c:
18249         * gst/net/gstnetclientclock.c:
18250         * gst/net/gstnetclientclock.h:
18251         * gst/net/gstnettimepacket.c:
18252         * gst/net/gstnettimeprovider.c:
18253         * gst/net/gstnettimeprovider.h:
18254         Doc fixes.
18255
18256 2005-11-23  Thomas Vander Stichele  <thomas at apestaart dot org>
18257
18258         * configure.ac: back to HEAD
18259
18260 === release 0.9.6 ===
18261
18262 2005-11-23  Thomas Vander Stichele <thomas at apestaart dot org>
18263
18264         * configure.ac:
18265           releasing 0.9.6, "Always On Time"
18266
18267 2005-11-23  Wim Taymans  <wim@fluendo.com>
18268
18269         * docs/gst/gstreamer-sections.txt:
18270         * gst/glib-compat.c:
18271         * gst/gsttagsetter.c:
18272         * gst/gstvalue.c:
18273         * gst/net/gstnetclientclock.c:
18274         * gst/net/gstnettimepacket.h:
18275         Doc updates.
18276
18277 2005-11-23  Thomas Vander Stichele  <thomas at apestaart dot org>
18278
18279         * docs/faq/using.xml:
18280         * docs/libs/tmpl/gstcontrol.sgml:
18281         * docs/manual/advanced-dparams.xml:
18282         * docs/manual/appendix-checklist.xml:
18283         * docs/manual/basics-elements.xml:
18284         * docs/pwg/other-source.xml:
18285         * docs/random/moving-plugins:
18286         * gst/gstpad.c:
18287         * tools/gst-launch.1.in:
18288           remove mentions of sinesrc
18289
18290 2005-11-23  Michael Smith <msmith@fluendo.com>
18291
18292         * docs/gst/gstreamer-sections.txt:
18293           Update for new API and API changes.
18294         * gst/gstobject.h:
18295           Documentation fix: GST_TRYLOCK -> GST_OBJECT_TRYLOCK
18296         * gst/gstvalue.c:
18297           Documentation typo fix.
18298         * gst/net/gstnettimepacket.c:
18299           Documentation fixes for arguments.
18300
18301 2005-11-23  Jan Schmidt  <thaytan@mad.scientist.com>
18302
18303         * gst/gststructure.c: (gst_structure_get_fraction),
18304         (gst_structure_parse_value),
18305         (gst_structure_fixate_field_nearest_fraction):
18306         * gst/gststructure.h:
18307         * gst/gstutils.c: (gst_util_uint64_scale_int):
18308         * gst/gstutils.h:
18309         * scripts/update-funcnames:
18310         API Changes. 
18311         Rename gst_util_clock_time_scale to gst_util_uint64_scale_int
18312         Make gst_structure_fixate_field_nearest_fraction take a numerator
18313         and denominator argument instead of a GValue
18314         add gst_structure_get_fraction helper function.
18315
18316 2005-11-23  Wim Taymans  <wim@fluendo.com>
18317
18318         * docs/design/part-TODO.txt:
18319         Update TODO.
18320
18321         * gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
18322         * gst/net/gstnetclientclock.h:
18323         Use parent fields for timeout and window_size.
18324
18325 2005-11-23  Andy Wingo  <wingo@pobox.com>
18326
18327         * check/net/gstnetclientclock.c (test_functioning): Adjust to
18328         rate_num/rate_denom change.
18329
18330         * gst/net/gstnetclientclock.c
18331         (gst_net_client_clock_observe_times): Take the SLAVE_LOCK not the
18332         OBJECT_LOCK. Don't call add_observation with the lock.
18333
18334         * gst/gstclock.c (gst_clock_init): Initialize the rate as a
18335         fraction.
18336         (gst_clock_adjust_unlocked): Adjust using uint64_scale and the
18337         rate fraction.
18338         (gst_clock_set_calibration, gst_clock_get_calibration): Change to
18339         deal with rate as a fraction whose numerator and denominator are
18340         GstClockTime values.
18341         (gst_clock_set_master): Only use the OBJECT_LOCK to set the
18342         master; the other fields are protected by the SLAVE_LOCK.
18343         (do_linear_regression): Note that this must be called with the
18344         SLAVE_LOCK.
18345         (gst_clock_add_observation): Take the SLAVE_LOCK, not the
18346         OBJECT_LOCK. Call set_calibration instead of touching the
18347         variables directly.
18348         (gst_clock_set_property, gst_clock_get_property): Protect
18349         master/slave parameters with the SLAVE_LOCK.
18350
18351         * gst/gstclock.h (GstClock): Remove rate, add rate_numerator and
18352         rate_denominator. PR3C1S3. Add a new lock, the SLAVE_LOCK, and
18353         note that all of the instance variables that add_observation and
18354         the set_master functions use are protected by that lock and not
18355         the OBJECT_LOCK.
18356         (GST_CLOCK_SLAVE_LOCK, GST_CLOCK_SLAVE_UNLOCK): New macros.
18357
18358         * gst/gstclock.c (gst_clock_add_observation): No longer requires
18359         the caller to take the object lock.
18360
18361 2005-11-23  Wim Taymans  <wim@fluendo.com>
18362
18363         * gst/gsterror.c: (_gst_core_errors_init):
18364         * gst/gsterror.h:
18365         Add error for clock stuff.
18366
18367         * gst/gstpipeline.c: (gst_pipeline_change_state),
18368         (gst_pipeline_set_clock):
18369         Post clock error when clock cannot be used in a pipeline.
18370
18371 2005-11-23  Stefan Kost  <ensonic@users.sf.net>
18372
18373         * docs/gst/gstreamer-sections.txt:
18374           make two symbols from gstinfo private for the docs
18375         * gst/base/gstcollectpads.h:
18376         * gst/gstutils.c:
18377           fix doc typos, update docs
18378
18379 2005-11-22  Wim Taymans  <wim@fluendo.com>
18380
18381         * gst/base/gstbasesink.c: (gst_base_sink_class_init),
18382         (gst_base_sink_wait), (gst_base_sink_do_sync),
18383         (gst_base_sink_handle_event):
18384         * gst/base/gstbasesink.h:
18385         No need to store the clock, the parent element class already
18386         has it.
18387
18388         * gst/gstbin.c: (gst_bin_set_clock_func), (gst_bin_add_func):
18389         Updates for clock_set returning a gboolean
18390
18391         * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_id_wait),
18392         (gst_clock_id_wait_async), (gst_clock_class_init),
18393         (gst_clock_init), (gst_clock_finalize),
18394         (gst_clock_get_internal_time), (gst_clock_get_time),
18395         (gst_clock_slave_callback), (gst_clock_set_master),
18396         (gst_clock_get_master), (do_linear_regression),
18397         (gst_clock_add_observation), (gst_clock_set_property),
18398         (gst_clock_get_property):
18399         * gst/gstclock.h:
18400         Implement master/slave. When setting a clock as a slave, a
18401         periodic timeout is scheduled to sample master and slave times.
18402         Then the slave clock is recalibrated to match offset and rate
18403         of the master clock.
18404         Update logging a bit.
18405         Add flag so that a clock can state that is cannot be slaved to
18406         another clock.
18407
18408         * gst/gstelement.c: (gst_element_set_clock):
18409         * gst/gstelement.h:
18410         The set clock returns a gboolean for when an element cannot
18411         deal with the selected clock in the pipeline. 
18412
18413         * gst/gstpipeline.c: (gst_pipeline_change_state),
18414         (gst_pipeline_set_clock):
18415         * gst/gstpipeline.h:
18416         Handle the case where the selected clock cannot be set on
18417         the pipeline.
18418
18419         * gst/net/gstnetclientclock.c: (gst_net_client_clock_class_init),
18420         (gst_net_client_clock_init), (gst_net_client_clock_finalize),
18421         (gst_net_client_clock_set_property),
18422         (gst_net_client_clock_get_property),
18423         (gst_net_client_clock_observe_times):
18424         * gst/net/gstnetclientclock.h:
18425         Use regression code in GstClock parent, remove duplicated
18426         functionality.
18427
18428 2005-11-22  Michael Smith <msmith@fluendo.com>
18429
18430         * gst/gstutils.c: (gst_util_clock_time_scale):
18431         * gst/gstutils.h:
18432         * docs/gst/gstreamer-sections.txt:
18433           Rename method to have extra underscore.
18434
18435 2005-11-22  Thomas Vander Stichele  <thomas at apestaart dot org>
18436
18437         * gst/elements/Makefile.am:
18438         * gst/elements/gstfakesink.c: (gst_fake_sink_state_error_get_type):
18439         * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
18440         (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type),
18441         (gst_fake_src_init), (gst_fake_src_prepare_buffer),
18442         (gst_fake_src_alloc_buffer), (gst_fake_src_get_size):
18443         * gst/elements/gstfakesrc.h:
18444         * gst/gstqueue.c: (queue_leaky_get_type):
18445           correctly fix GEnumValues so that nick is the short lowercase
18446           dashed tag
18447         * tools/gst-inspect.c: (print_element_properties_info):
18448           also show the nick, since it's useful to use from parse_launch
18449           syntax
18450           Fixes #322139
18451
18452 2005-11-22  Michael Smith <msmith@fluendo.com>
18453
18454         * gst/gstutils.c: (gst_util_clocktime_scale):
18455         * gst/gstutils.h:
18456         * docs/gst/gstreamer-sections.txt:
18457           Add util method for scaling a clocktime by a fraction. Useful 
18458           implementation is left as an exercise for the reader.
18459
18460 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
18461
18462         * gst/gstvalue.c: (gst_value_collect_fraction_range):
18463         If needed, allocate storage in the destination value during
18464         collection.
18465
18466 2005-11-22  Edward Hervey  <edward@fluendo.com>
18467
18468         * docs/gst/gstreamer-sections.txt:
18469         * gst/Makefile.am:
18470         * gst/gst.h:
18471         * gst/gsturitype.c:
18472         * gst/gsturitype.h:
18473         * gst/gstutils.c: (gst_util_set_object_arg):
18474         * tools/gst-compprep.c: (main):
18475         * tools/gst-inspect.c: (print_element_properties_info):
18476         Removed GstURI, closes bug #321061
18477
18478 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
18479
18480         * check/gst/gststructure.c: (GST_START_TEST):
18481         * gst/gststructure.c: (gst_structure_parse_value):
18482           Oops, broke automatic string type parsing.
18483           Add a test to catch it in future.
18484
18485 2005-11-22  Andy Wingo  <wingo@pobox.com>
18486
18487         * gst/gsttagsetter.c (gst_tag_setter_get_tag_merge_mode) 
18488         (gst_tag_setter_set_tag_merge_mode, gst_tag_setter_get_tag_list):
18489         Actually rename the function implementations. Grr.
18490
18491 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
18492
18493         * check/gst/capslist.h:
18494           Comment test cases
18495         * check/gst/gststructure.c: (GST_START_TEST),
18496         (gst_structure_suite):
18497           Test automatic value type detection in gst_structure_from_string.
18498         * gst/gststructure.c: (gst_structure_parse_value):
18499           Add fraction as a type we try and guess automatically in
18500           caps/structure strings.
18501
18502 2005-11-22  Andy Wingo  <wingo@pobox.com>
18503
18504         patch by: Torsten Schoenfeld <kaffeetisch gmx de>
18505
18506         * gst/gsttagsetter.h:
18507         * gst/gsttagsetter.c: (gst_tag_setter_merge_tags)
18508         (gst_tag_setter_add_tags, gst_tag_setter_add_tag_values)
18509         (gst_tag_setter_add_tag_valist)
18510         (gst_tag_setter_add_tag_valist_values): Renamed from _merge, _add,
18511         _add_values, _add_valist, and _add_valist_values. Since this is an
18512         interface the function suffixes should be more explicit so
18513         language binding don't end up with element.add_valist ->
18514         gst_tag_setter_add_valist, for example. Fixes #322069.
18515
18516 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
18517
18518         * check/gst/gstcaps.c: (GST_START_TEST):
18519           Extend caps string tests to check that a caps to string
18520           conversion is reversible and produces the same caps.
18521
18522         * gst/gststructure.c: (gst_structure_value_get_generic_type):
18523           Output "fraction" as the generic type fraction range, so caps
18524           serialisation and deserialisation works.
18525         * check/gst/capslist.h:
18526         * gst/gstvalue.c: (gst_value_deserialize_fraction):
18527           Support 'MIN' and 'MAX' for deserialising fractions.
18528
18529 2005-11-22  Andy Wingo  <wingo@pobox.com>
18530
18531         * gst/gstevent.h (gst_event_new_new_segment)
18532         (gst_event_parse_new_segment, gst_event_new_buffer_size)
18533         (gst_event_parse_buffer_size, gst_ghost_pad_new_no_target):
18534         Renamed from *_newsegment, *_buffersize, *_notarget.
18535
18536         * scripts/update-funcnames: New script, performs the changes
18537         listed above.
18538
18539 2005-11-22  Wim Taymans  <wim@fluendo.com>
18540
18541         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
18542         Make sure the GstFlowReturn is returned.
18543
18544         * gst/gstbus.c: (gst_bus_add_signal_watch_full),
18545         (gst_bus_add_signal_watch):
18546         * gst/gstbus.h:
18547         add gst_bus_add_signal_watch_full.
18548
18549         * gst/gstplugin.c: (gst_plugin_load_file):
18550         Small style cleanup.
18551
18552 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
18553
18554         * check/gst/gstevent.c: (test_event), (GST_START_TEST):
18555           Block the fakesrc srcpad when we send an event, to avoid
18556           contention on the stream_lock causing random test failures.
18557
18558 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
18559
18560         * check/gst/gstvalue.c: (GST_START_TEST):
18561         * gst/gstvalue.c: (gst_value_fraction_subtract):
18562           Fix subtraction.
18563
18564 2005-11-22  Stefan Kost  <ensonic@users.sf.net>
18565
18566         * gst/gst.h:
18567           include "gstchildproxy.h"
18568         * gst/gstchildproxy.h:
18569         * libs/gst/controller/gstcontroller.h:
18570           use G_GNUC_NULL_TERMINATED
18571
18572 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
18573
18574         * check/gst/capslist.h:
18575         * check/gst/gstcaps.c: (GST_START_TEST):
18576         * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
18577         * gst/gststructure.c: (gst_structure_parse_range),
18578         (gst_structure_fixate_field_nearest_fraction):
18579         * gst/gststructure.h:
18580         * gst/gstvalue.c: (gst_value_init_fraction_range),
18581         (gst_value_free_fraction_range), (gst_value_copy_fraction_range),
18582         (gst_value_collect_fraction_range),
18583         (gst_value_lcopy_fraction_range), (gst_value_set_fraction_range),
18584         (gst_value_set_fraction_range_full),
18585         (gst_value_get_fraction_range_min),
18586         (gst_value_get_fraction_range_max),
18587         (gst_value_serialize_fraction_range),
18588         (gst_value_transform_fraction_range_string),
18589         (gst_value_compare_fraction_range),
18590         (gst_value_deserialize_fraction_range),
18591         (gst_value_intersect_fraction_fraction_range),
18592         (gst_value_intersect_fraction_range_fraction_range),
18593         (gst_value_subtract_fraction_fraction_range),
18594         (gst_value_subtract_fraction_range_fraction),
18595         (gst_value_subtract_fraction_range_fraction_range),
18596         (gst_value_collect_fraction), (gst_value_fraction_multiply),
18597         (gst_value_fraction_subtract), (gst_value_deserialize_fraction),
18598         (gst_value_transform_string_fraction), (_gst_value_initialize):
18599         * gst/gstvalue.h:
18600           Implement fraction ranges and extend GstFraction to support
18601           arithmetic subtraction, as well as deserialization from integer
18602           strings such as "100"
18603           Add a testsuite as for int and double range set operations
18604
18605 2005-11-21  Andy Wingo  <wingo@pobox.com>
18606
18607         * gst/gsttaglist.h: 
18608         * gst/gstcaps.h: 
18609         * gst/gststructure.h: Add glib-compat.h.
18610
18611 2005-11-21  Wim Taymans  <wim@fluendo.com>
18612
18613         * gst/gstbin.c: (gst_bin_change_state_func):
18614         Fix for #321595
18615
18616 2005-11-21  Wim Taymans  <wim@fluendo.com>
18617
18618         * gst/gstsegment.h:
18619         And add a nice define too.
18620
18621 2005-11-21  Wim Taymans  <wim@fluendo.com>
18622
18623         * gst/gstsegment.c: (gst_segment_copy), (gst_segment_get_type),
18624         (gst_segment_new), (gst_segment_free), (gst_segment_init),
18625         (gst_segment_set_duration), (gst_segment_set_last_stop),
18626         (gst_segment_set_seek), (gst_segment_set_newsegment),
18627         (gst_segment_to_stream_time), (gst_segment_to_running_time),
18628         (gst_segment_clip):
18629         * gst/gstsegment.h:
18630         Make binding friendly.
18631
18632 2005-11-21  Andy Wingo  <wingo@pobox.com>
18633
18634         * gst/gsttagsetter.h: 
18635         * gst/gsttaglist.h: 
18636         * gst/gststructure.h: 
18637         * gst/gstcaps.h: 
18638         * gst/gstutils.h: Sprinkle NULL_TERMINATED to taste. Fixes
18639         #319940.
18640
18641         * gst/gsterror.c (_gst_core_errors_init):
18642         * gst/gsterror.h (GST_CORE_ERROR_MISSING_PLUGIN): New error
18643         category.
18644
18645         * gst/Makefile.am (gst_headers): Add glib-compat.h.
18646         (noinst_HEADERS): noinst the -private.
18647
18648 2005-11-21  Michael Smith <msmith@fluendo.com>
18649
18650         * gst/gstplugin.h:
18651         * gst/gstregistry.h:
18652           Remove unimplemented declarations for which we can see no sensible
18653           use.
18654
18655 2005-11-21  Andy Wingo  <wingo@pobox.com>
18656
18657         * gst/gst.h: Include glib-compat.h.
18658
18659         * gst/glib-compat.h: Add G_GNUC_NULL_TERMINATED.
18660
18661         * gst/glib-compat.c: Include the public and the private header.
18662
18663         * gst/glib-compat-private.h: Copied here from glib-compat.h.
18664
18665         * gst/gstvalue.c: 
18666         * gst/gstpad.c: 
18667         * gst/gstregistryxml.c: s/glib-compat/glib-compat-private/.
18668
18669         * check/gst/gstevent.c (create_custom_events): Check that
18670         FLUSH_STOP is serialized.
18671
18672         * check/elements/identity.c (event_func): 
18673         * check/elements/fakesrc.c (event_func): No stream lock, the core
18674         takes it.
18675
18676         * gst/base/gstbasetransform.c (gst_base_transform_event): No more
18677         stream lock taking, yay.
18678
18679         * gst/gstevent.h (GST_EVENT_FLUSH_STOP): Marked as serialized to
18680         ensure that core takes the stream lock.
18681
18682         * gst/base/gstbasesrc.c (gst_base_src_do_seek): Update for stream
18683         lock name change.
18684
18685         * gst/base/gstbasesink.c (gst_base_sink_event): No need to take
18686         the stream lock for EOS, NEWSEGMENT, or FLUSH_STOP, the core does
18687         it already. For the flush start we do take it though so we get the
18688         right preroll state change messages.
18689
18690         * gst/gstqueue.c (gst_queue_sink_activate_push): No need to take
18691         the stream lock here, the core does it for us.
18692
18693         * gst/gstpad.h (GST_PAD_GET_STREAM_LOCK): Renamed from
18694         GST_STREAM_GET_LOCK.
18695         (GST_PAD_STREAM_LOCK, GST_PAD_STREAM_TRYLOCK) 
18696         (GST_PAD_STREAM_UNLOCK, GST_PAD_STREAM_UNLOCK_FULL) 
18697         (GST_PAD_STREAM_LOCK_FULL): Renamed from GST_STREAM_*.
18698         (GST_PAD_GET_PREROLL_LOCK): Renamed from GST_PREROLL_GET_LOCK.
18699         (GST_PAD_PREROLL_LOCK, GST_PAD_PREROLL_TRYLOCK) 
18700         (GST_PAD_PREROLL_UNLOCK): Renamed from GST_PREROLL_*.
18701
18702         * gst/gstpad.c: Update for stream lock name change.
18703
18704         * gst/base/gstbasesink.c: Update for preroll lock name change.
18705
18706 2005-11-21  Wim Taymans  <wim@fluendo.com>
18707
18708         * gst/gstclock.c: (gst_clock_init), (gst_clock_set_master),
18709         (gst_clock_get_master):
18710         * gst/gstclock.h:
18711         * gst/gstsystemclock.c: (gst_system_clock_init):
18712         Convert Clock flags to object flags.
18713         Added methods to manage master/slave clocks.
18714
18715 2005-11-21  Wim Taymans  <wim@fluendo.com>
18716
18717         * check/gst/gstsegment.c: (GST_START_TEST):
18718         * docs/design/part-TODO.txt:
18719         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
18720         (gst_base_sink_event), (gst_base_sink_do_sync),
18721         (gst_base_sink_activate_pull), (gst_base_sink_get_position),
18722         (gst_base_sink_query), (gst_base_sink_change_state):
18723         * gst/base/gstbasesink.h:
18724         * gst/base/gstbasesrc.c: (gst_base_src_init), (gst_base_src_query),
18725         (gst_base_src_default_newsegment),
18726         (gst_base_src_configure_segment), (gst_base_src_do_seek),
18727         (gst_base_src_get_range), (gst_base_src_loop),
18728         (gst_base_src_change_state):
18729         * gst/base/gstbasesrc.h:
18730         * gst/base/gstbasetransform.c:
18731         (gst_base_transform_prepare_output_buf),
18732         (gst_base_transform_event), (gst_base_transform_change_state):
18733         * gst/base/gstbasetransform.h:
18734         * gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
18735         (gst_collect_pads_event):
18736         * gst/base/gstcollectpads.h:
18737         * gst/elements/gstfakesrc.c: (gst_fake_src_init),
18738         (gst_fake_src_create):
18739         * gst/elements/gstfakesrc.h:
18740         * gst/elements/gstidentity.c: (gst_identity_transform_ip):
18741         * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_duration),
18742         (gst_segment_set_last_stop), (gst_segment_set_seek),
18743         (gst_segment_set_newsegment), (gst_segment_to_stream_time),
18744         (gst_segment_to_running_time), (gst_segment_clip):
18745         * gst/gstsegment.h:
18746         More segment updates, replace code in plugins with segment
18747         helper functions.
18748
18749 2005-11-21  Jan Schmidt  <thaytan@mad.scientist.com>
18750
18751         * gst/elements/gstfdsrc.c: (gst_fdsrc_uri_set_uri):
18752         Don't ignore sscanf results
18753
18754 2005-11-21  Andy Wingo  <wingo@pobox.com>
18755
18756         * gst/gstpad.h (GST_IS_PAD_FAST): Removed.
18757
18758         * *.h:
18759         * *.c: Ran scripts/update-macros. Oh yes.
18760
18761         * gst/gstobject.h (GST_OBJECT_GET_LOCK, GST_OBJECT_LOCK)
18762         (GST_OBJECT_TRYLOCK, GST_OBJECT_UNLOCK): Renamed from
18763         GST_GET_LOCK, etc.
18764
18765         * scripts/update-macros: New script. Run it on your files to
18766         change GST_LOCK to GST_OBJECT_LOCK, and the same for UNLOCK as
18767         well.
18768
18769 2005-11-21  Stefan Kost  <ensonic@users.sf.net>
18770
18771         * docs/gst/Makefile.am:
18772         * docs/gst/gstreamer-docs.sgml:
18773         * docs/gst/gstreamer-sections.txt:
18774         * docs/gst/gstreamer.types:
18775         * gst/gstinfo.h:
18776           more docs fixes, add new api to the docs
18777
18778 2005-11-21  Andy Wingo  <wingo@pobox.com>
18779
18780         * gst/gstbin.c (gst_bin_remove_func): Wim claims I can remove this
18781         state_broadcast call.
18782
18783         * gst/gstsegment.c (gst_segment_init): Initialize abs_rate.
18784
18785 2005-11-21  Julien MOUTTE  <julien@moutte.net>
18786
18787         * gst/gstvalue.c: (gst_value_intersect_array): Fix wrong
18788         function calls for arrays.
18789
18790 2005-11-21  Stefan Kost  <ensonic@users.sf.net>
18791
18792         * docs/random/ensonic/media-device-daemon.txt:
18793           wild idea, can this be done?
18794         * docs/gst/gstreamer-sections.txt:
18795         * gst/gsterror.h:
18796         * gst/gstfilter.c:
18797         * gst/gstfilter.h:
18798         * gst/gstplugin.h:
18799         * gst/gstpluginfeature.c:
18800         * gst/gsttrace.c:
18801         * gst/gstvalue.c:
18802         * gst/gstvalue.h:
18803           doc fixes and additions
18804
18805 2005-11-21  Andy Wingo  <wingo@pobox.com>
18806
18807         * gst/base/gstbasesrc.c (GST_LIVE_BROADCAST, GST_LIVE_SIGNAL) 
18808         (GST_LIVE_TIMED_WAIT, GST_LIVE_WAIT, GST_LIVE_GET_COND) 
18809         (GST_LIVE_UNLOCK, GST_LIVE_TRYLOCK, GST_LIVE_LOCK) 
18810         (GST_LIVE_GET_LOCK): Moved here from gstbasesrc.h. They are
18811         private to the basesrc implementation.
18812
18813         * gst/gstpad.c (gst_pad_send_event): Doc more. Take stream lock on
18814         behalf of event function if necessary. It should no longer be
18815         necessary to take the stream lock in pad's event functions. Fixes
18816         #320299.
18817
18818 2005-11-21  Jan Schmidt  <thaytan@mad.scientist.com>
18819         * docs/gst/gstreamer-sections.txt:
18820         * gst/gststructure.c: (gst_structure_fixate_field_nearest_int),
18821         (gst_structure_fixate_field_nearest_double),
18822         (gst_structure_fixate_field_boolean):
18823         * gst/gststructure.h:
18824         * win32/common/libgstreamer.def:
18825         * win32/gstreamer.def:
18826
18827         Rename gst_caps_structure_fixate_* to gst_structure_fixate_*
18828         (#322027)
18829
18830 2005-11-21  Jan Schmidt  <thaytan@mad.scientist.com>
18831
18832         * gst/elements/gstfdsrc.c: (_do_init), (gst_fdsrc_class_init),
18833         (gst_fdsrc_init), (gst_fdsrc_dispose), (gst_fdsrc_set_property),
18834         (gst_fdsrc_uri_get_type), (gst_fdsrc_uri_get_protocols),
18835         (gst_fdsrc_uri_get_uri), (gst_fdsrc_uri_set_uri),
18836         (gst_fdsrc_uri_handler_init):
18837         * gst/elements/gstfdsrc.h:
18838           Port fd:// URI handler from 0.8 to fdsrc
18839
18840 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
18841
18842         * gst/gstvalue.c: (gst_value_transform_fourcc_string),
18843         (gst_value_serialize_fourcc):
18844         * gst/gstvalue.h:
18845           Drop leading '%' from GST_FOURCC_FORMAT, thus making it
18846           consistent with our other format defines (#320324).
18847
18848 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
18849
18850         * gst/gstvalue.c: (gst_value_is_fixed):
18851           Revert previous commit. Value lists are by definition
18852           not fixed, as they are a list of possible values.
18853
18854 2005-11-21  Andy Wingo  <wingo@pobox.com>
18855
18856         * gst/gstevent.h (GST_EVENT_FILLER): Removed. Can be added back
18857         during the stable series if we need it. Fixes #319178.
18858
18859         * gst/gstevent.c (gst_event_new_filler): Removed.
18860
18861         * check/gst/gstevent.c: Update comment about filler events.
18862
18863 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
18864
18865         * gst/gstvalue.c: (gst_value_is_fixed):
18866           Should handle both value arrays and value lists.
18867
18868 2005-11-21  Andy Wingo  <wingo@pobox.com>
18869
18870         patch by: Alessandro Dessina <alessandro nnva org>
18871
18872         * gst/gstvalue.c (gst_value_is_fixed): Use gst_value_array
18873         functions to access arrays. Fixes #321962.
18874
18875 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
18876
18877         * docs/gst/gstreamer.types:
18878           gst_collectpads_get_type => gst_collect_pads_get_type.
18879           
18880         * gst/base/gstbasetransform.c:
18881           Remove unused SIGNAL_HANDOFF enum.
18882
18883 2005-11-21  Andy Wingo  <wingo@pobox.com>
18884
18885         * gst/gstevent.h (GstEventTypeFlags): New data type, the flags of
18886         the event type (upstream, downstream, serialized). Renamed
18887         GST_EVDIR_* and GST_EVSER to GST_EVENT_TYPE_*.
18888         (GstEventType): Use GstEventTypeFlags. Rename CUSTOM_UP to
18889         CUSTOM_UPSTREAM, CUSTOM_DS to CUSTOM_DOWNSTREAM, etc.
18890
18891         * gst/gstevent.c: Update for new CUSTOM event names.
18892
18893         * check/gst/gstevent.c: Update check for new CUSTOM event names.
18894
18895         * gst/gstevent.h:
18896         * gst/gstevent.c (gst_event_type_get_flags): New function. Fixes
18897         bug #319392.
18898
18899 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
18900
18901         * docs/gst/gstreamer-sections.txt:
18902         * win32/common/libgstbase.def:
18903         * win32/libgstbase.def:
18904         * gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
18905         (gst_collect_pads_class_init), (gst_collect_pads_init),
18906         (gst_collect_pads_finalize), (gst_collect_pads_new),
18907         (gst_collect_pads_set_function), (gst_collect_pads_add_pad),
18908         (gst_collect_pads_remove_pad), (gst_collect_pads_is_active),
18909         (gst_collect_pads_collect), (gst_collect_pads_collect_range),
18910         (gst_collect_pads_start), (gst_collect_pads_stop),
18911         (gst_collect_pads_peek), (gst_collect_pads_pop),
18912         (gst_collect_pads_available), (gst_collect_pads_read),
18913         (gst_collect_pads_flush), (gst_collect_pads_event),
18914         (gst_collect_pads_chain):
18915         * gst/base/gstcollectpads.h:
18916           Rename gst_collecpads_foo() => gst_collect_pads_foo(). Document
18917           unimplemented functions as unimplemented. Add padding to
18918           GstCollectData. (#320766, #320423)
18919
18920 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
18921
18922         * gst/gstmessage.c:
18923           Improve docs for DURATION message (usage of duration parameter)
18924           (#320113)
18925
18926 2005-11-20  Wim Taymans  <wim@fluendo.com>
18927
18928         * check/Makefile.am:
18929         * check/gst/gstsegment.c: (GST_START_TEST), (gstevents_suite),
18930         (main):
18931         * gst/Makefile.am:
18932         * gst/gst.h:
18933         * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_duration),
18934         (gst_segment_set_seek), (gst_segment_set_newsegment),
18935         (gst_segment_to_stream_time), (gst_segment_to_running_time),
18936         (gst_segment_clip):
18937         * gst/gstsegment.h:
18938         Added segment helper structure and methods. Not fully implemented
18939         yet.
18940         Added segment check.
18941
18942 2005-11-20  Jan Schmidt  <thaytan@mad.scientist.com>
18943
18944         * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
18945           Add a deserialisation test for fractions
18946         * examples/metadata/read-metadata.c: (message_loop),
18947         (make_pipeline), (main):
18948           Fix up metadata reading sample.
18949         * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
18950           Debug format fix
18951         * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
18952           Don't try and fixate empty caps
18953         * gst/gst_private.h:
18954           Wrap in G_BEGIN_DECLS/G_END_DECLS
18955         * gst/gstvalue.c: (gst_value_collect_fraction),
18956         (gst_value_set_fraction), (gst_value_get_fraction_denominator),
18957         (gst_value_transform_string_fraction),
18958         (gst_value_compare_fraction):
18959           Add some extra guards to ensure that we don't end up 
18960           with an invalid denominator of 0 in a gstfraction and
18961           that fractions always get reduced.
18962
18963 2005-11-20  Wim Taymans  <wim@fluendo.com>
18964
18965         * docs/gst/gstreamer-sections.txt:
18966         * gst/gstbuffer.h:
18967         * gst/gstelement.c:
18968         * gst/gstformat.c:
18969         * gst/gstformat.h:
18970         * gst/gstindex.h:
18971         * gst/gstquery.c:
18972         * gst/gstquery.h:
18973         * gst/gstvalue.c:
18974         Doc fixes.
18975
18976 2005-11-20  Wim Taymans  <wim@fluendo.com>
18977
18978         * docs/design/part-TODO.txt:
18979         * gst/gstcaps.h:
18980         Make a proper enum of the flag.
18981
18982 2005-11-19  Wim Taymans  <wim@fluendo.com>
18983
18984         * docs/design/part-TODO.txt:
18985         * gst/gstformat.c: (_gst_format_initialize), (gst_format_get_name),
18986         (gst_format_to_quark), (gst_format_register):
18987         * gst/gstformat.h:
18988         * gst/gstquery.c: (_gst_query_initialize),
18989         (gst_query_type_get_name), (gst_query_type_to_quark),
18990         (gst_query_type_register):
18991         * gst/gstquery.h:
18992         Add type to quark and type to string conversions.
18993
18994 2005-11-19  Andy Wingo  <wingo@pobox.com>
18995
18996         * gst/gstbuffer.h (GST_BUFFER_FLAG_ORIGINAL): Removed. Fixes
18997         #320097.
18998
18999 2005-11-19  Wim Taymans  <wim@fluendo.com>
19000
19001         * docs/design/part-TODO.txt:
19002         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_provide_clock_func),
19003         (gst_bin_add_func), (gst_bin_remove_func), (bin_bus_handler),
19004         (gst_bin_handle_message_func):
19005         * gst/gstbin.h:
19006         Make message handling overridable.
19007
19008 2005-11-19  Andy Wingo  <wingo@pobox.com>
19009
19010         * gst/gstpad.h (GST_PAD_IS_USABLE): Removed. Fixes #321235.
19011
19012         * gst/gstclock.h:
19013         * gst/gstclock.c (GstClock, GstClockClass): Change resolution to
19014         be a GstClockTime.
19015         (gst_clock_set_resolution, gst_clock_get_resolution): Resolution
19016         is a GstClockTime. Fixes #321710.
19017
19018         * gst/gstclock.h (GstClock): Remove offset property. Add
19019         internal_calibration and external_calibration. Fix padding. Pad
19020         also by GstClockTime so we don't run into problems.
19021
19022         * gst/gstclock.c (gst_clock_set_rate_offset): Remove.
19023         (gst_clock_get_rate_offset): Remove.
19024         (gst_clock_set_time_adjust): Remove. Fixes #321712.
19025
19026         * gst/gstutils.h:
19027         * gst/gstutils.c (g_static_rec_cond_wait)
19028         (g_static_rec_cond_timed_wait): Removed, no longer needed.
19029
19030         * gst/gstbin.c: Remove terrible continue_state prototype.
19031
19032         * gst/gstelement.h (gst_element_continue_state): Make public.
19033
19034         * gst/gstelement.h:
19035         * gst/gstelement.c (gst_element_commit_state): Removed, replaced
19036         by continue_state. Fixes #319389.
19037
19038         * gst/gstindex.h (GstIndexFilter): Actually pass on the user_data.
19039         Really fixes #168438. However I don't see anywhere where the
19040         filter function is called... stupid GStreamer...
19041         
19042         * gst/gstindex.h (GstIndex): Add field for user_data_destroy. We
19043         don't have a dispose function, so it won't get called when the
19044         object is unreffed, but oh well!
19045
19046         * gst/gstindex.c (gst_index_set_filter_full): New API function,
19047         allows a destroy function to be set so user_data can be freed.
19048         Fixes #168438.
19049         (gst_index_set_filter): Call gst_index_set_filter_full.
19050
19051         * check/gst/gstvalue.c (test_string): Add test for bug #165650.
19052
19053         * gst/gstvalue.c (gst_string_wrap): Trying to serialize a NULL
19054         string should produce an error, given the lack of a way to
19055         represent NULL strings. Fixes #165650.
19056         
19057         * gst/gstvalue.h: 
19058         * gst/gstvalue.c (gst_value_array_append_value) 
19059         (gst_value_array_prepend_value, gst_value_array_get_size) 
19060         (gst_value_array_get_value): New API, copied from
19061         gst_value_list_*, only operates on arrays.
19062         (gst_value_list_append_value, gst_value_list_prepend_value) 
19063         (gst_value_list_concat, gst_value_list_get_size) 
19064         (gst_value_list_get_value): Only operate on lists. Fixes #156633.
19065
19066         * gst/gstvalue.c (gst_value_init_list_or_array): Renamed from
19067         init_list, because it works on both.
19068         (copy_garray_of_gstvalue): Renamed from gst_value_list_copy_array.
19069         (gst_value_copy_list_or_array): Renamed from copy_list.
19070         (gst_value_free_list_or_array): Renamed from free_list.
19071         (gst_value_collect_list_or_array): Renamed from collect_list.
19072         (gst_value_lcopy_list_or_array): Renamed from lcopy_list.
19073         (gst_value_list_or_array_peek_pointer): Renamed from
19074         list_peek_pointer.
19075         (_gst_value_array_value_table, _gst_value_list_value_table):
19076         Update value table functions.
19077         (gst_value_compare_list_or_array): Renamed from compare_list.
19078
19079         * gsttaglist.h: Whoops, foreach function returns void. Also fix
19080         some constness.
19081
19082         * gst/gsttaglist.c:
19083         * gst/gsttaglist.h (gst_tag_list_foreach): Operates on a const
19084         GstTagList*. Fixes #143472.
19085
19086         * gst/gststructure.h: Clarify what the foreach/map functions can
19087         or can't do to their arguments.
19088
19089 2005-11-18  Wim Taymans  <wim@fluendo.com>
19090
19091         * gst/gstclock.c: (gst_clock_set_calibration),
19092         (gst_clock_get_calibration):
19093         Doc and API fixes.
19094         Calibration can be set with internal time equal to current
19095         internal time too.
19096
19097 2005-11-18  Thomas Vander Stichele  <thomas at apestaart dot org>
19098
19099         * gst/gsterror.c:
19100         * gst/gsterror.h:
19101           document
19102
19103 2005-11-18  Andy Wingo  <wingo@pobox.com>
19104
19105         * configure.ac: 
19106         * pkgconfig/gstreamer-net.pc.in:
19107         * pkgconfig/gstreamer-net-uninstalled.pc.in:
19108         * pkgconfig/Makefile.am: Add net pkgconfig files.
19109
19110 2005-11-18  Stefan Kost  <ensonic@users.sf.net>
19111
19112         * gst/gstcaps.c:
19113         * gst/gstghostpad.c:
19114         * gst/gsttrace.c:
19115         * gst/gstvalue.c:
19116         * gst/gstvalue.h:
19117           docs fixes
19118
19119 2005-11-18  Andy Wingo  <wingo@pobox.com>
19120
19121         * gst/net/gstnetclientclock.c: Turn off debugging.
19122
19123         * check/net/gstnetclientclock.c (test_functioning): Assert that the
19124         times connverge somewhat. Can't make a real test.
19125
19126         * gst/net/gstnetclientclock.c (do_linear_regression): Use all
19127         integer arithmetic. Return the minimum of the domain, which can be
19128         set as "internal" for gst_clock_set_calibration.
19129         (gst_net_client_clock_observe_times): Call _set_calibration.
19130         (gst_net_client_clock_new): Call _set_calibration instead of
19131         rate_offset.
19132
19133         * check/net/gstnetclientclock.c (test_functioning): Use the right
19134         adjustment api.
19135
19136         * gst/gstclock.h:
19137         * gst/gstclock.c (gst_clock_get_calibration) 
19138         (gst_clock_set_calibration): New functions, obsolete the ones I
19139         added yesterday. Doh. Precision issues mean we have to extrapolate
19140         from a point in the more recent past than 1970.
19141         (gst_clock_get_rate_offset, gst_clock_set_rate_offset): Mark as
19142         obsolete.
19143         (gst_clock_adjust_unlocked): Use the right calibration data.
19144
19145 2005-11-18  Edward Hervey  <edward@fluendo.com>
19146
19147         * gst/base/gstbasesink.c: (gst_base_sink_change_state): 
19148         Also reset the ->current_* values in READY->PAUSED
19149
19150 2005-11-18  Andy Wingo  <wingo@pobox.com>
19151
19152         * gst/net/gstnetclientclock.c (gst_net_client_clock_thread):
19153         Whoops, check the right fd. Also add some debugging.
19154         (gst_net_client_clock_observe_times): Adjust for int64 offset.
19155         (do_linear_regression): Add a crapload of debugging. Subtract off
19156         the minimum values from the input series to discard unneeded bits.
19157         Use only int arithmetic. There is still double arithmetic when
19158         calculating the intercept that needs fixing. Return boolean to
19159         indicate success; FALSE would mean the domain or range is too
19160         great. Still needs fixes.
19161
19162 2005-11-18  Wim Taymans  <wim@fluendo.com>
19163
19164         * gst/base/gstbasesink.c: (gst_base_sink_get_position):
19165         For the current position in stream time, we need to subtract
19166         accumulated time.
19167         
19168         * gst/gstsystemclock.c: (gst_system_clock_async_thread):
19169         Release lock before calling the callback function of async
19170         entries.
19171
19172 2005-11-18  Andy Wingo  <wingo@pobox.com>
19173
19174         * gst/net/gstnetclientclock.c (gst_net_client_clock_class_init):
19175         Port goes all the way to MAXUINT16.
19176
19177         * gst/net/gstnettimeprovider.c: Make the port range the same as
19178         for the kernel: 0 assigns, otherwise ports are less than
19179         MAXUINT16.
19180
19181         * check/net/gstnettimeprovider.c: Adapt for 0 == kernel assigns
19182         port change.
19183
19184         * check/net/gstnetclientclock.c (test_functioning): Add the start
19185         of another test. 
19186
19187 2005-11-18  Wim Taymans  <wim@fluendo.com>
19188
19189         * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
19190         (gst_bin_remove_func), (bin_bus_handler):
19191         * gst/gstbin.h:
19192         Removing a clock provider from a bin, triggers a clock lost message
19193         so that a new clock will be selected.
19194         Adding a clock to a bin triggers a clock provider message.
19195         Make sure we reselect a clock when we received a clock lost message.
19196         Keep a reference to the element that provided the clock.
19197
19198 2005-11-18  Andy Wingo  <wingo@pobox.com>
19199
19200         * gst/net/gstnetclientclock.c (gst_net_client_clock_new): Adjust
19201         the clock initially so it produces values around the base time.
19202         (gst_net_client_clock_class_init): Typo fix.
19203         (gst_net_client_clock_thread): Add note on when the socket gets
19204         closed.
19205
19206 2005-11-17  Wim Taymans  <wim@fluendo.com>
19207
19208         * gst/net/gstnetclientclock.c: (gst_net_client_clock_finalize):
19209         Free remote and local time arrays.
19210
19211 2005-11-17  Wim Taymans  <wim@fluendo.com>
19212
19213         * gst/net/gstnetclientclock.c: (do_linear_regression),
19214         (gst_net_client_clock_do_select), (gst_net_client_clock_thread):
19215         Fix compilation, uninitialized vars and a forgotten continue.
19216
19217 2005-11-17  Andy Wingo  <wingo@pobox.com>
19218
19219         * check/Makefile.am (check_PROGRAMS): 
19220         * check/net/gstnetclientclock.c: Add a most minimal test for the
19221         net client clock. More to come later.
19222
19223         * gst/net/gstnet.h: 
19224         * gst/net/Makefile.am: Add netclientclock.
19225
19226         * gst/net/gstnetclientclock.h:
19227         * gst/net/gstnetclientclock.c: New files, implement an untested
19228         GstClock that takes its time from a network time provider.
19229         Implements the algorithm in network-clock.scm.
19230
19231         * tests/network-clock.scm (*window-size*): Rename from
19232         *queue-length*.
19233         * tests/network-clock.scm (network-time): 
19234         * tests/network-clock-utils.scm (q-push): Update callers.
19235
19236 2005-11-17  Wim Taymans  <wim@fluendo.com>
19237
19238         * gst/gstbin.c: (gst_bin_provide_clock_func),
19239         (gst_bin_sort_iterator_new):
19240         And unref the child too..
19241
19242 2005-11-17  Wim Taymans  <wim@fluendo.com>
19243
19244         * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
19245         (gst_bin_sort_iterator_new), (gst_bin_iterate_sorted):
19246         Refactor the sort iterator so it can be used while holding the
19247         LOCK too.
19248         Make clock selection select a clock closest to the source.
19249
19250 2005-11-17  Michael Smith <msmith@fluendo.com>
19251
19252         * gst/gstclock.c: (gst_clock_init), (gst_clock_adjust_unlocked),
19253         (gst_clock_set_rate_offset), (gst_clock_get_rate_offset):
19254         * gst/gstclock.h:
19255           Anonymous structs are a gcc (and some other compilers) extension, so
19256           don't use them. Since this is only for ABI-compatibility, and our
19257           API/ABI freeze is over in a few days, this whole thing will only
19258           last a few days, so don't bother trying to think up a meaningful
19259           name for the struct.
19260
19261 2005-11-17  Andy Wingo  <wingo@pobox.com>
19262
19263         * gst/gstclock.h (GstClock): Add rate and offset properties,
19264         preserving ABI stability. Add rate/offset accessors. Will file bug
19265         for the freeze break.
19266
19267         * gst/gstclock.c (gst_clock_adjust_unlocked): Implement using rate
19268         and offset, trying to keep precision and avoiding
19269         underflow/overflow.
19270         (gst_clock_set_rate_offset, gst_clock_get_rate_offset): New
19271         functions. Make gst_clock_set_time_adjust obsolete.
19272         (gst_clock_set_time_adjust): Note that this function is obsolete.
19273         Will file bug soon.
19274
19275         * gst/base/gstbasetransform.h: Make the ABI-stability hack
19276         greppable by using GST_PADDING-1+1.
19277
19278 2005-11-17  Torsten Schoenfeld  <kaffeetisch at gmx dot net>
19279
19280         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
19281
19282         * gst/gstmessage.c: (gst_message_parse_clock_lost):
19283           Assertion should check for CLOCK_LOST, not NEW_CLOCK (#321648).
19284
19285         * gst/gstpadtemplate.h:
19286         * gst/gstpluginfeature.h:
19287           Don't use c++ style comments in headers (#321638).
19288
19289 2005-11-16  Andy Wingo  <wingo@pobox.com>
19290
19291         * gst/net/gstnettimepacket.c (gst_net_time_packet_send): Free
19292         buffer.
19293
19294         * check/net/gstnettimeprovider.c: Check to see that the time
19295         provider actually provides times. Works, yo!
19296
19297 2005-11-16  Wim Taymans  <wim@fluendo.com>
19298
19299         * check/Makefile.am:
19300         Enable more tests.
19301
19302         * check/elements/fakesrc.c: (GST_START_TEST):
19303         Set element to NULL before disposing it.
19304
19305 2005-11-16  Andy Wingo  <wingo@pobox.com>
19306
19307         * gst/net/Makefile.am:
19308         * gst/net/gstnet.h:
19309         * gst/net/gstnettimeprovider.c: 
19310         * gst/net/gstnettimeprovider.h: Use the timepacket stuff in the
19311         provider, include it from gstnet.h, and add it to the build.
19312
19313         * gst/net/gstnettimepacket.h: 
19314         * gst/net/gstnettimepacket.c: New files, abstracts out the packet
19315         sending and receiving.
19316
19317 2005-11-16  Wim Taymans  <wim@fluendo.com>
19318
19319         * check/Makefile.am:
19320         Enable valgrind check.
19321
19322         * gst/elements/gstfakesrc.c: (gst_fake_src_alloc_parent),
19323         (gst_fake_src_alloc_buffer):
19324         Fix memleak.
19325
19326 2005-11-16  Wim Taymans  <wim@fluendo.com>
19327
19328         * gst/net/gstnettimeprovider.c: (gst_net_time_provider_finalize):
19329         Call parent finalize too.
19330
19331 2005-11-16  Wim Taymans  <wim@fluendo.com>
19332
19333         * check/Makefile.am:
19334         Enable valgrind check that should work fine now.
19335
19336         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
19337         * gst/gstqueue.c: (gst_queue_init):
19338         Fix memleaks in pad allocation.
19339
19340 2005-11-16  Andy Wingo  <wingo@pobox.com>
19341
19342         * gst/net/Makefile.am:
19343         * gst/net/gstnet.h: New part of core to hold network elements and
19344         objects. Put in core because it exposes API that applications want
19345         to use. The library is named libgstnet-tempname right now because
19346         of the existing libgstnet in gst-plugins-base. Solution is
19347         probably to rename the one in plugins-base; will file a bug for
19348         the freeze break.
19349
19350         * gst/net/gstnettimeprovider.c: 
19351         * gst/net/gstnettimeprovider.h: New object to export a GstClock's
19352         get_time call over the network.
19353
19354         * configure.ac: 
19355         * gst/Makefile.am (lib_LTLIBRARIES): Add gstnet to the build.
19356
19357         * check/Makefile.am:
19358         * check/net/gstnettimeprovider.c: A most minimal test suite. Will
19359         get additions shortly.
19360
19361 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
19362
19363         * gst/gstpad.c: (gst_pad_new_from_static_template):
19364         * gst/gstpad.h:
19365           add gst_pad_new_from_static_template functions
19366         * gst/check/gstcheck.c: (gst_check_setup_src_pad),
19367         (gst_check_setup_sink_pad):
19368         * gst/elements/gsttee.c: (gst_tee_init):
19369           and use them
19370
19371 2005-11-16  Wim Taymans  <wim@fluendo.com>
19372
19373         * gst/gstpad.c: (gst_pad_pause_task):
19374         Removed warning, it's not really an error either.
19375
19376 2005-11-16  Wim Taymans  <wim@fluendo.com>
19377
19378         * gst/base/gstbasetransform.c:
19379         (gst_base_transform_prepare_output_buf),
19380         (gst_base_transform_event):
19381         Check if the caps are NULL, this can happen if the element
19382         is shutting down and the pad caps are set to NULL.
19383
19384 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
19385
19386         * gst/elements/gsttee.c: (gst_tee_init):
19387           fix pad template leak in tee
19388
19389 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
19390
19391         * gst/glib-compat.c: (g_value_dup_gst_object):
19392         * gst/glib-compat.h:
19393         * gst/gstpad.c: (gst_pad_set_property):
19394           use gst_object_ref when setting the pad template; this will
19395           trigger the pad template leaks on GLib 2.6 and the slaves
19396
19397 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
19398
19399         * gst/glib-compat.c: (gst_flags_get_first_value):
19400         * gst/glib-compat.h:
19401         * gst/gstregistryxml.c:
19402           remove functions copied from GLib 2.6
19403
19404 2005-11-16  Michael Smith <msmith@fluendo.com>
19405
19406         * gst/Makefile.am:
19407           Don't link against VALGRIND_LIBS. That was always the wrong thing to
19408           do, but only breaks with newer valgrind versions. We're not a
19409           valgrind tool, we have no link-time dependencies on libcoregrind.
19410
19411 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
19412
19413         * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
19414           some debug changes
19415         * gst/gstmessage.h:
19416           typo fixes
19417
19418 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
19419
19420         * gst/base/gstbasesrc.c: (gst_base_src_init):
19421         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
19422         * gst/gstqueue.c: (gst_queue_init):
19423         * gst/gstregistryxml.c: (load_feature):
19424           Revert all these unrefs, they don't even pass make check !
19425
19426 2005-11-15  Johan Dahlin  <johan@gnome.org>
19427
19428         * gst/base/gstbasesrc.c: (gst_base_src_init):
19429         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
19430         * gst/gstqueue.c: (gst_queue_init): 
19431         Free pad templates, fixes a couple of leaks.
19432
19433 2005-11-15  Daniel Fischer  <dan at f3c dot com>
19434
19435         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
19436
19437         * gst/gstpad.c: (gst_pad_get_property):
19438           GST_PAD_PAD_TEMPLATE(pad) gets the pad template, while
19439           GST_PAD_TEMPLATE(pad) does a cast. We want the former here.
19440           (#321452)
19441
19442 2005-11-15  Wim Taymans  <wim@fluendo.com>
19443
19444         * gst/gstevent.c:
19445         Small doc update.
19446
19447 2005-11-15  Andy Wingo  <wingo@pobox.com>
19448
19449         * gst/gstelement.c (gst_element_set_base_time): Add debugging.
19450
19451         * gst/gstpipeline.c (gst_pipeline_set_new_stream_time): Document
19452         using GST_CLOCK_TIME_NONE to disable base time management.
19453         (do_pipeline_seek, gst_pipeline_change_state): Don't reset stream
19454         time if it was NONE before.
19455         (gst_pipeline_change_state): Only munge the base time if
19456         stream_time != GST_CLOCK_TIME_NONE.
19457
19458         * check/gst/gstpipeline.c (test_base_time): Punt around the
19459         problem of the probe not being called, because that's not the
19460         issue I'm looking at. Add a check that setting stream_time to NONE
19461         disables base time management.
19462         
19463 2005-11-15  Wim Taymans  <wim@fluendo.com>
19464
19465         * gst/base/gstbasesink.c: (gst_base_sink_change_state):
19466         segment_stop == -1 at startup.
19467
19468         * gst/base/gstbasetransform.c: (gst_base_transform_event),
19469         (gst_base_transform_change_state):
19470         Init segment values at start.
19471
19472 2005-11-15  Wim Taymans  <wim@fluendo.com>
19473
19474         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
19475         0 segment values are 0 in any format.
19476
19477         * gst/base/gstbasetransform.c: (gst_base_transform_event):
19478         * gst/base/gstbasetransform.h:
19479         Parse newsegment correctly in basetransform
19480
19481         * gst/elements/gstidentity.c: (gst_identity_transform_ip):
19482         Sync to clock using updated segment values.
19483
19484 2005-11-15  Andy Wingo  <wingo@pobox.com>
19485
19486         * check/gst/gstpipeline.c (test_base_time): Add check that the
19487         base time and stream time are reset correctly.
19488
19489 2005-11-15  Wim Taymans  <wim@fluendo.com>
19490
19491         * docs/design/part-TODO.txt:
19492         Some more TODO items.
19493
19494 2005-11-15  Andy Wingo  <wingo@pobox.com>
19495
19496         * gst/elements/gstfakesrc.c (gst_fake_src_create): It's not an
19497         error if the user selected "no clock" as the clocking method.
19498
19499         * check/gst/gstpipeline.c (test_base_time): New test for buffer
19500         timestamps with live capture.
19501
19502         * gst/elements/gstfakesrc.c (gst_fake_src_create): If the datarate
19503         is 0 but we are a live source, timestamp the buffers using the
19504         element's clock.
19505
19506 2005-11-14  Stefan Kost  <ensonic@users.sf.net>
19507
19508         * docs/gst/gstreamer-sections.txt:
19509         * gst/gsterror.c:
19510         * gst/gstghostpad.c:
19511         * gst/gstobject.h:
19512         * gst/gstxml.c:
19513           more section docs
19514
19515 2005-11-14  Wim Taymans  <wim@fluendo.com>
19516
19517         * common/gst.supp:
19518           add suppressions from Wim's Debian machine
19519
19520 2005-11-14  Thomas Vander Stichele  <thomas at apestaart dot org>
19521
19522         * common/gst.supp:
19523           add suppressions from Andy's AMD64 Ubuntu machine
19524
19525 2005-11-14  Andy Wingo  <wingo@pobox.com>
19526
19527         * gst/gstpad.c (gst_pad_set_active): Change docs; parent's
19528         STATE_LOCK not necessary. Fixes #311489.
19529
19530         * gst/gsterror.c (FILE_A_BUG): Be polite *and* helpful. Fixes
19531         #305291.
19532
19533         * gst/gstindex.c (gst_index_add_object): Note in the docs that
19534         this function is not implemented.
19535
19536 2005-11-14  Julien MOUTTE  <julien@moutte.net>
19537
19538         * gst/base/gstbasetransform.c:
19539         (gst_base_transform_prepare_output_buf):
19540         Ref the source pad caps while we need them.
19541         Fixes (#321386)
19542
19543 2005-11-11  Wim Taymans  <wim@fluendo.com>
19544
19545         * docs/gst/gstreamer-sections.txt:
19546         Added some docs for GstCollectData.
19547
19548         * gst/base/gstadapter.c:
19549         Some small code example fix.
19550
19551         * gst/base/gstcollectpads.c:
19552         * gst/base/gstcollectpads.h:
19553         Document some more.
19554
19555 2005-11-11  Thomas Vander Stichele  <thomas at apestaart dot org>
19556
19557         * configure.ac: back to HEAD
19558
19559 === release 0.9.5 ===
19560
19561 2005-11-11  Thomas Vander Stichele <thomas at apestaart dot org>
19562
19563         * configure.ac:
19564           releasing 0.9.5, "Bike Lunch Day"
19565
19566 2005-11-11  Wim Taymans  <wim@fluendo.com>
19567
19568         * gst/gstbuffer.c: (_gst_buffer_copy):
19569         Copy more flags.
19570
19571         * gst/gstcaps.c: (gst_caps_is_equal):
19572         Fix some docs.
19573         Make _is_equal fast in the trivial cases.
19574
19575         * gst/gstminiobject.c:
19576         * gst/gstminiobject.h:
19577         More docs. Spifify .h file.
19578
19579         * gst/gstutils.c:
19580         Small doc update.
19581
19582 2005-11-11  Wim Taymans  <wim@fluendo.com>
19583
19584         * gst/base/gstbasetransform.c:
19585         (gst_base_transform_prepare_output_buf),
19586         (gst_base_transform_handle_buffer):
19587         Small cleanups.
19588         If we're processing a buffer and need to allocate an output
19589         buffer, we cannot accept a format change. If we did get a 
19590         format change, we have to alloc a buffer ourselves of the 
19591         right size.
19592
19593 2005-11-11  Wim Taymans  <wim@fluendo.com>
19594
19595         * gst/gstpad.c: (gst_pad_get_caps), (gst_pad_peer_get_caps):
19596         While checking the flag for reentrancy in the gstcaps function
19597         is nice to detect recursive invocations, it also makes it 
19598         impossible to call getcaps from multiple threads, which must be
19599         possible. So, checking for recursive calls has to go.
19600
19601 2005-11-11  Michael Smith <msmith@fluendo.com>
19602
19603         * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
19604           Don't sync on buffers that fall partially outside our current
19605           segment. Prevents an assertion failure/abort playing some files.
19606
19607 2005-11-10  Andy Wingo  <wingo@pobox.com>
19608
19609         * check/gst/gstbin.c (test_message_state_changed_children): Style
19610         fix..
19611
19612         * gst/gstbus.c (poll_destroy, poll_func, gst_bus_poll): Implement
19613         gst_bus_poll with the signal watch. Ensures that poll and a signal
19614         watch see the same messages.
19615
19616         * check/gst/gstbus.c (test_watch_with_poll): New test, checks that
19617         a poll and a watch at the same time get the same messages.
19618
19619 2005-11-10  Thomas Vander Stichele  <thomas at apestaart dot org>
19620
19621         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps):
19622         * gst/gstcaps.c: (gst_caps_intersect):
19623           Don't call gst_caps_do_simplify - it doesn't respect order of caps
19624           and it's not needed.
19625
19626 2005-11-10  Wim Taymans  <wim@fluendo.com>
19627
19628         * docs/design/part-TODO.txt:
19629         Updated todo.
19630
19631 2005-11-10  Wim Taymans  <wim@fluendo.com>
19632
19633         * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
19634         * gst/base/gstbasesrc.c: (gst_base_src_wait),
19635         (gst_base_src_do_sync), (gst_base_src_get_range):
19636         Implement clock sync in base class.
19637
19638 2005-11-10  Thomas Vander Stichele  <thomas at apestaart dot org>
19639
19640         patch by: Tim-Philipp Müller <tim at centricular dot net>
19641
19642         * gst/gststructure.c: (gst_structure_parse_field),
19643         (gst_structure_from_string):
19644           Forward-port a 0.8 patch to handle escaped spaces in structure string,
19645           so that gst_parse_launch() can deal with spaces in filtered link
19646           caps (fixes #164479)
19647         * check/gst/capslist.h:
19648         * check/gst/gststructure.c: (GST_START_TEST):
19649           add unit tests for this change
19650
19651 2005-11-10  Wim Taymans  <wim@fluendo.com>
19652
19653         * docs/gst/gstreamer-sections.txt:
19654         * gst/gstelement.c:
19655         * gst/gstelement.h:
19656         Fix docs, move some STATE macros to private.
19657
19658 2005-11-10  Wim Taymans  <wim@fluendo.com>
19659
19660         * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
19661         Added check for bug #317341
19662
19663         * gst/gstbuffer.c:
19664         * gst/gstbuffer.h:
19665         Some more spiffifying.
19666
19667         * gst/gstghostpad.c: (gst_ghost_pad_do_link):
19668         Call peer linkfunction if we are a source pad. Totally fixes
19669         #317341
19670
19671         * gst/gstpad.c:
19672         Update docs, source pads should call the peer linkfunction
19673         so they can atomically perform the pad link.
19674
19675 2005-11-09  Wim Taymans  <wim@fluendo.com>
19676
19677         * gst/gstbuffer.c:
19678         * gst/gstbuffer.h:
19679         Uber-spiffy-spiffify some more.
19680
19681 2005-11-09  Tim-Philipp Müller  <tim at centricular dot net>
19682
19683         * gst/base/gstcollectpads.c: (gst_collectpads_add_pad):
19684         * gst/elements/gstfilesink.c: (gst_file_sink_init):
19685         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
19686         * gst/gstghostpad.c: (gst_ghost_pad_set_internal),
19687         (gst_ghost_pad_init), (gst_ghost_pad_new_notarget):
19688         * gst/gstpad.c: (gst_pad_init):
19689           Use GST_DEBUG_FUNCPTR() more extensively.
19690
19691 2005-11-09  Wim Taymans  <wim@fluendo.com>
19692
19693         * gst/gstobject.c: (gst_object_class_init):
19694         * gst/gstobject.h:
19695         Documentation fixes.
19696
19697 2005-11-09  Edward Hervey  <edward@fluendo.com>
19698
19699         * gst/gsttypefindfactory.c:
19700         Fix docs.
19701         
19702 2005-11-09  Edward Hervey  <edward@fluendo.com>
19703
19704         * gst/base/gsttypefindhelper.c:
19705         * gst/gsttypefind.c:
19706         * gst/gsttypefind.h:
19707         Fix docs.
19708
19709 2005-11-09  Wim Taymans  <wim@fluendo.com>
19710
19711         * gst/gstiterator.c:
19712         Fix revision data.
19713
19714         * gst/gsttask.c:
19715         * gst/gsttask.h:
19716         Fix docs.
19717
19718 2005-11-09  Wim Taymans  <wim@fluendo.com>
19719
19720         * gst/gstevent.h:
19721         * gst/gsturi.h:
19722         Fix docs.
19723
19724 2005-11-09  Wim Taymans  <wim@fluendo.com>
19725
19726         * docs/gst/gstreamer-sections.txt:
19727         Moved the message async delivery private lock and cond
19728         to the private section.
19729
19730         * gst/gstmessage.c:
19731         * gst/gstmessage.h:
19732         Fixed docs.
19733
19734 2005-11-09  Edward Hervey  <edward@fluendo.com>
19735
19736         * docs/gst/gstreamer-sections.txt:
19737         * gst/gsturi.c:
19738         * gst/gsturi.h:
19739         Document GstURIHandler
19740
19741 2005-11-09  Wim Taymans  <wim@fluendo.com>
19742
19743         * gst/gstiterator.c: (gst_iterator_fold), (gst_iterator_foreach),
19744         (gst_iterator_find_custom):
19745         * gst/gstiterator.h:
19746         Fix iterator docs.
19747
19748 2005-11-09  Wim Taymans  <wim@fluendo.com>
19749
19750         * gst/gstbin.h:
19751         Document another field.
19752
19753         * gst/gststructure.c:
19754         * gst/gststructure.h:
19755         Document.
19756
19757 2005-11-09  Wim Taymans  <wim@fluendo.com>
19758
19759         * gst/gstbin.h:
19760         Documented structs.
19761
19762 2005-11-09  Wim Taymans  <wim@fluendo.com>
19763
19764         * docs/gst/gstreamer-sections.txt:
19765         Added some new macros.
19766
19767         * gst/gstclock.c:
19768         * gst/gstclock.h:
19769         * gst/gstobject.h:
19770         Docs updates.
19771
19772 2005-11-09  Wim Taymans  <wim@fluendo.com>
19773
19774         * docs/design/part-TODO.txt:
19775         Some more items for the TODO
19776
19777         * gst/gstcaps.c:
19778         * gst/gstcaps.h:
19779         Document GstCaps.
19780
19781 2005-11-09  Andy Wingo  <wingo@pobox.com>
19782
19783         * gst/base/gstbasesink.c: Add the beginning of docs here -- have
19784         to work on something else now tho...
19785
19786         * gst/base/gstadapter.c: More adapter docs.
19787
19788         * gst/elements/gstfilesink.c (gst_file_sink_start) 
19789         (gst_file_sink_stop): New functions, replace the state change
19790         handler.
19791         (gst_file_sink_class_init): Hook up the start and stop functions.
19792         (gst_file_sink_base_init): Don't set the state change handler any
19793         more. It was a bit ugly too, being set from here...
19794         (gst_file_sink_get_property, gst_file_sink_set_property):
19795         Cleanups...
19796         (gst_file_sink_set_location): More robust check that doesn't call
19797         GST_STATE. Ugggggg.
19798
19799 2005-11-08  Tim-Philipp Müller  <tim at centricular dot net>
19800
19801         * gst/base/gstbasetransform.c: (gst_base_transform_event):
19802           Hold STREAM_LOCK while pushing newsegment or tag events as well.
19803
19804 2005-11-08  Wim Taymans  <wim@fluendo.com>
19805
19806         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
19807         (gst_base_sink_do_sync), (gst_base_sink_handle_event),
19808         (gst_base_sink_chain), (gst_base_sink_change_state):
19809         * gst/base/gstbasesink.h:
19810         * gst/base/gstbasesrc.h:
19811         * gst/gstelement.h:
19812         * gst/gstevent.h:
19813         Avoid excessive typechecking in macros.
19814
19815         * gst/gstminiobject.c: (gst_mini_object_get_type),
19816         (gst_mini_object_init), (gst_mini_object_new),
19817         (gst_mini_object_free):
19818         * gst/gstobject.c: (gst_object_class_init), (gst_object_init),
19819         (gst_object_finalize):
19820         Remove cruft code, optimize alloc_trace.
19821
19822 2005-11-07  Thomas Vander Stichele  <thomas at apestaart dot org>
19823
19824         * docs/faq/gst-uninstalled:
19825           fix up PS1 for systems that try to reset it
19826
19827 2005-11-07  Wim Taymans  <wim@fluendo.com>
19828
19829         * gst/base/gstbasesrc.c: (gst_base_src_init),
19830         (gst_base_src_get_range):
19831         Set the segment_end to -1 initially. Fixed typefind.
19832
19833 2005-11-07  Tim-Philipp Müller  <tim at centricular dot net>
19834
19835         * gst/base/gstadapter.c:
19836           Debug category should be 'adapter', not 'GstAdapter'.
19837           
19838         * gst/base/gstcollectpads.c: (gst_collectpads_base_init),
19839         (gst_collectpads_class_init), (gst_collectpads_init),
19840         (gst_collectpads_peek), (gst_collectpads_pop),
19841         (gst_collectpads_event), (gst_collectpads_chain):
19842           Add debug category and some debugging output. Use boilerplate
19843           macros. Remove some extraneous words from docs.
19844
19845 2005-11-05  Andy Wingo  <wingo@pobox.com>
19846
19847         * gst/base/gstpushsrc.c: Shorten by 30% via use of boilerplate
19848         macro.
19849
19850 2005-11-04  Stefan Kost  <ensonic@users.sf.net>
19851
19852         * docs/gst/gstreamer-sections.txt:
19853         * gst/gstcaps.h:
19854         * gst/gstinfo.c:
19855         * gst/gstminiobject.h:
19856         * gst/gstobject.h:
19857         * gst/gstutils.h:
19858           more docs added
19859
19860 2005-11-04  Wim Taymans  <wim@fluendo.com>
19861
19862         * gst/base/gstbasesrc.c: (gst_base_src_get_range):
19863         Small update to stop at the configured segment_end
19864         position.
19865
19866 2005-11-04  Stefan Kost  <ensonic@users.sf.net>
19867
19868         * gst/gstregistry.c:
19869         * gst/gstregistry.h:
19870           added missing docs
19871
19872 2005-11-04  Edward Hervey  <edward@fluendo.com>
19873
19874         * gst/base/gstbasesrc.c: (gst_base_src_get_range):
19875         Check if we are doing a segment seek and have arrived at the
19876         end of that segment.
19877
19878 2005-11-04  Wim Taymans  <wim@fluendo.com>
19879
19880         * gst/gstbus.c: (gst_bus_post), (gst_bus_set_sync_handler):
19881         Don't leak a mutex unlock in case of an error.
19882
19883         * gst/gstbus.h:
19884         Doc fixes.
19885
19886 2005-11-04  Wim Taymans  <wim@fluendo.com>
19887
19888         * gst/gstbus.c: (gst_bus_class_init), (gst_bus_init),
19889         (gst_bus_post):
19890         Get the context to wake up only once.
19891
19892 2005-11-03  Wim Taymans  <wim@fluendo.com>
19893
19894         * check/states/sinks.c: (GST_START_TEST):
19895         Uncomment fixed check.
19896
19897         * docs/design/part-TODO.txt:
19898         Updated TODO.
19899
19900         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
19901         (gst_base_sink_handle_object), (gst_base_sink_do_sync),
19902         (gst_base_sink_get_position):
19903         If we are going to PLAYING, post the right pending state
19904         when we post the intermediate paused message.
19905
19906         * gst/gstelement.c: (gst_element_continue_state),
19907         (gst_element_set_state_func), (gst_element_change_state):
19908         Don't post state changes that were between the same state
19909         and were not ASYNC.
19910
19911 2005-11-03  Stefan Kost  <ensonic@users.sf.net>
19912
19913         * docs/gst/gstreamer-sections.txt:
19914         * gst/gstcaps.h:
19915         * gst/gstinfo.c:
19916         * gst/gstminiobject.h:
19917         * gst/gstobject.h:
19918         * gst/gstutils.h:
19919           more docs and doc style fixes
19920
19921 2005-11-03  Stefan Kost  <ensonic@users.sf.net>
19922
19923         * docs/gst/gstreamer-sections.txt:
19924         * gst/gstelement.c:
19925         * gst/gstminiobject.c:
19926         doc fixes
19927
19928 2005-11-03  Andy Wingo  <wingo@pobox.com>
19929
19930         * check/states/sinks.c (test_livesrc_sink): Add checks that the
19931         state-changed messages actually have the right order and the right
19932         values.
19933
19934 2005-11-03  Wim Taymans  <wim@fluendo.com>
19935
19936         * check/states/sinks.c: (GST_START_TEST), (gst_object_suite):
19937         Added some more checks. Specifically the case where NO_PREROLL
19938         elements are in the pipeline.
19939
19940         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
19941         (gst_base_sink_handle_object), (gst_base_sink_do_sync),
19942         (gst_base_sink_get_position):
19943         Post READY->PAUSED state change messages too.
19944         Fix bug where VOID was posted as pending state...
19945
19946         * gst/gstbin.c: (gst_bin_recalc_state):
19947         use _element_continue_state() to continue the state change.
19948
19949         * gst/gstelement.c: (gst_element_continue_state),
19950         (gst_element_commit_state), (gst_element_set_state_func),
19951         (gst_element_change_state), (gst_element_change_state_func):
19952         Lots of state change cleanups, assign the STATE_RETURN in
19953         a new continue_state() function that also propagates the
19954         last return value from a state change to the app.
19955         Update some debug statements with proper category.
19956
19957 2005-11-03  Wim Taymans  <wim@fluendo.com>
19958
19959         * docs/design/part-events.txt:
19960         * docs/design/part-gstpipeline.txt:
19961         * docs/design/part-messages.txt:
19962         * docs/design/part-overview.txt:
19963         * docs/design/part-seeking.txt:
19964         * docs/design/part-states.txt:
19965         * docs/design/part-trickmodes.txt:
19966         * docs/manual/advanced-position.xml:
19967         Small docs updates.
19968
19969         * gst/gstobject.h:
19970         People think !! is ugly, this looks better.
19971
19972         * gst/gstpad.c: (gst_pad_set_blocked_async):
19973         Remove !! since it's fixed elsewhere now.
19974
19975 2005-11-03  Tim-Philipp Müller  <tim at centricular dot net>
19976
19977         * gst/gstminiobject.h:
19978         * gst/gstobject.h:
19979           Add !! to _FLAG_IS_SET macros to make the result boolean.
19980
19981 2005-11-03  Edward Hervey  <edward@fluendo.com>
19982
19983         * gst/gstpad.c: (gst_pad_set_blocked_async):
19984         comparing a flag and a gboolean rarely returns coherent results...
19985         Added two characters (!!) to make that work correctly.
19986         
19987 2005-11-03  Tim-Philipp Müller  <tim at centricular dot net>
19988
19989         * gst/gstbus.c: (gst_bus_class_init):
19990           Fix some typos.
19991           
19992         * gst/gstqueue.c: (gst_queue_loop):
19993           Don't assume a miniobject that isn't a buffer is an
19994           event (it could be that there is a refcounting
19995           problem somewhere and the pointer is stale and
19996           refers to an already destroyed miniobject).
19997
19998 2005-11-03  Julien MOUTTE  <julien@moutte.net>
19999
20000         * gst/gstpad.c: (gst_pad_alloc_buffer): Fix some typos.
20001
20002 2005-11-03  Tim-Philipp Müller  <tim at centricular dot net>
20003
20004         * docs/manual/advanced-position.xml:
20005           Update seek example and explanations to current 0.9 API.
20006
20007         * gst/elements/gsttypefindelement.c:
20008         (gst_type_find_element_activate):
20009           Remove FIXME comment now that the found caps
20010           are unreffed.
20011
20012 2005-11-03  Thomas Vander Stichele  <thomas at apestaart dot org>
20013
20014         * gst/gstregistryxml.c: (load_feature):
20015           Add another GST_STR_NULL instance
20016
20017 2005-11-02  Edward Hervey  <edward@fluendo.com>
20018
20019         * gst/gstpad.c: (handle_pad_block):
20020         Follow-up to Wim's patch, solves deadlock for blocked and flushing pads
20021         
20022 2005-11-02  Wim Taymans  <wim@fluendo.com>
20023
20024         * gst/gstbin.c:
20025         Fix typo in docs.
20026
20027         * gst/gstelement.c: (gst_element_commit_state):
20028         Remove unused value.
20029
20030         * gst/gstiterator.c:
20031         Mention that the returned element is reffed in the docs.
20032
20033 2005-11-02  Wim Taymans  <wim@fluendo.com>
20034
20035         * gst/gstpad.c: (gst_pad_alloc_buffer), (handle_pad_block),
20036         (gst_pad_push), (gst_pad_push_event):
20037         Unlock blocked pads when they are flushed.
20038
20039 2005-11-02  Thomas Vander Stichele  <thomas at apestaart dot org>
20040
20041         * docs/README:
20042         * docs/gst/gstreamer-sections.txt:
20043         * gst/gstbin.c:
20044           doc updates
20045         * gst/gstregistry.c: (gst_registry_scan_path_level):
20046           fix for a nasty little missed situation where an installed plug-in
20047           which was in the cache did not get overridden by an uninstalled one
20048           which was earlier in the plugin path because the newly created plugin
20049           for the uninstalled one (not in the registry) didn't get its
20050           ->registered set to TRUE
20051
20052 2005-11-02  Tim-Philipp Müller  <tim at centricular dot net>
20053
20054         * gst/base/gstcollectpads.c: (gst_collectpads_set_function),
20055         (gst_collectpads_add_pad), (gst_collectpads_remove_pad),
20056         (gst_collectpads_is_active), (gst_collectpads_collect),
20057         (gst_collectpads_collect_range), (gst_collectpads_start),
20058         (gst_collectpads_stop), (gst_collectpads_peek),
20059         (gst_collectpads_pop), (gst_collectpads_available),
20060         (gst_collectpads_read), (gst_collectpads_flush):
20061           Guard public API with assertions.
20062         
20063         * gst/gstpad.c:
20064           Fix docs for gst_pad_set_link_function().
20065
20066 2005-11-02  Johan Dahlin  <johan@gnome.org>
20067
20068         * gst/elements/gsttypefindelement.c (gst_type_find_element_activate): 
20069         Unref found_caps after we used it.
20070
20071 2005-11-02  Tim-Philipp Müller  <tim at centricular dot net>
20072
20073         * gst/base/gstcollectpads.c: (gst_collectpads_peek):
20074           Don't try to ref NULL.
20075
20076 2005-11-02  Thomas Vander Stichele  <thomas at apestaart dot org>
20077
20078         * win32/common/config.h.in:
20079           provide a GST_FUNCTION that just gives a string for now
20080
20081 2005-11-02  Thomas Vander Stichele  <thomas at apestaart dot org>
20082
20083         * win32/common/gstenumtypes.c: (register_gst_object_flags),
20084         (gst_object_flags_get_type), (register_gst_bin_flags),
20085         (gst_bin_flags_get_type), (register_gst_buffer_flag),
20086         (gst_buffer_flag_get_type), (register_gst_bus_flags),
20087         (gst_bus_flags_get_type), (register_gst_bus_sync_reply),
20088         (gst_bus_sync_reply_get_type), (register_gst_clock_return),
20089         (gst_clock_return_get_type), (register_gst_clock_entry_type),
20090         (gst_clock_entry_type_get_type), (register_gst_clock_flags),
20091         (gst_clock_flags_get_type), (register_gst_state),
20092         (gst_state_get_type), (register_gst_state_change_return),
20093         (gst_state_change_return_get_type), (register_gst_state_change),
20094         (gst_state_change_get_type), (register_gst_element_flags),
20095         (gst_element_flags_get_type), (register_gst_core_error),
20096         (gst_core_error_get_type), (register_gst_library_error),
20097         (gst_library_error_get_type), (register_gst_resource_error),
20098         (gst_resource_error_get_type), (register_gst_stream_error),
20099         (gst_stream_error_get_type), (register_gst_event_type),
20100         (gst_event_type_get_type), (register_gst_seek_type),
20101         (gst_seek_type_get_type), (register_gst_seek_flags),
20102         (gst_seek_flags_get_type), (register_gst_format),
20103         (gst_format_get_type), (register_gst_index_certainty),
20104         (gst_index_certainty_get_type), (register_gst_index_entry_type),
20105         (gst_index_entry_type_get_type),
20106         (register_gst_index_lookup_method),
20107         (gst_index_lookup_method_get_type), (register_gst_assoc_flags),
20108         (gst_assoc_flags_get_type), (register_gst_index_resolver_method),
20109         (gst_index_resolver_method_get_type), (register_gst_index_flags),
20110         (gst_index_flags_get_type), (register_gst_debug_level),
20111         (gst_debug_level_get_type), (register_gst_debug_color_flags),
20112         (gst_debug_color_flags_get_type), (register_gst_iterator_result),
20113         (gst_iterator_result_get_type), (register_gst_iterator_item),
20114         (gst_iterator_item_get_type), (register_gst_message_type),
20115         (gst_message_type_get_type), (register_gst_mini_object_flags),
20116         (gst_mini_object_flags_get_type), (register_gst_pad_link_return),
20117         (gst_pad_link_return_get_type), (register_gst_flow_return),
20118         (gst_flow_return_get_type), (register_gst_activate_mode),
20119         (gst_activate_mode_get_type), (register_gst_pad_direction),
20120         (gst_pad_direction_get_type), (register_gst_pad_flags),
20121         (gst_pad_flags_get_type), (register_gst_pad_presence),
20122         (gst_pad_presence_get_type), (register_gst_pad_template_flags),
20123         (gst_pad_template_flags_get_type), (register_gst_pipeline_flags),
20124         (gst_pipeline_flags_get_type), (register_gst_plugin_error),
20125         (gst_plugin_error_get_type), (register_gst_plugin_flags),
20126         (gst_plugin_flags_get_type), (register_gst_rank),
20127         (gst_rank_get_type), (register_gst_query_type),
20128         (gst_query_type_get_type), (register_gst_tag_merge_mode),
20129         (gst_tag_merge_mode_get_type), (register_gst_tag_flag),
20130         (gst_tag_flag_get_type), (register_gst_task_state),
20131         (gst_task_state_get_type), (register_gst_alloc_trace_flags),
20132         (gst_alloc_trace_flags_get_type),
20133         (register_gst_type_find_probability),
20134         (gst_type_find_probability_get_type), (register_gst_uri_type),
20135         (gst_uri_type_get_type), (register_gst_parse_error),
20136         (gst_parse_error_get_type):
20137         * win32/common/gstversion.h:
20138           update win32 copies
20139
20140 2005-11-01  Luca Ognibene  <luogni@tin.it>
20141
20142         * gst/gst.c:
20143           fix docs. popt is dead, long live GOption.
20144
20145 2005-10-31  Wim Taymans  <wim@fluendo.com>
20146
20147         * gst/gstbuffer.h:
20148         Small doc fix.
20149
20150 2005-10-31  Andy Wingo  <wingo@pobox.com>
20151
20152         * Boo!
20153
20154         * gst/gstqueue.c (gst_queue_chain): Fix downstream leaky mode.
20155
20156         * gst/gstobject.c (gst_object_dispatch_properties_changed): No
20157         need to serialize property notifications on GLib 2.8. GLib 2.6 has
20158         the possibility of deadlocks here if code calling notify() or
20159         set() has a lock that can be taken in another notify handler (ABBA
20160         with class lock and e.g. python GIL state lock).
20161
20162 2005-10-28  Julien MOUTTE  <julien@moutte.net>
20163
20164         * gst/gstbus.c: Doc updates.
20165
20166 2005-10-28  Wim Taymans  <wim@fluendo.com>
20167
20168         * docs/design/part-TODO.txt:
20169         * gst/gstiterator.c:
20170         * gst/gstsystemclock.c:
20171         * gst/gstsystemclock.h:
20172         Doc updates.
20173
20174 2005-10-28  Edward Hervey  <edward@fluendo.com>
20175
20176         * docs/gst/gstreamer-docs.sgml:
20177         * docs/gst/gstreamer-sections.txt:
20178         the GstURIType documentation page is private, it only defines GstURIType
20179         which should be defined in the GstURIHandler page
20180         
20181 2005-10-28  Thomas Vander Stichele  <thomas at apestaart dot org>
20182
20183         * gst/gstbin.c: (gst_bin_class_init):
20184         * gst/gstbin.h:
20185         * gst/gstutils.c:
20186         Documentation updates.
20187
20188 2005-10-28  Wim Taymans  <wim@fluendo.com>
20189
20190         * docs/gst/gstreamer-sections.txt:
20191         * gst/gstclock.c:
20192         * gst/gstclock.h:
20193         Documented the clocks.
20194
20195 2005-10-28  Stefan Kost  <ensonic@users.sf.net>
20196
20197         * docs/gst/gstreamer-sections.txt:
20198           move some macros to private sections
20199         * gst/gstminiobject.c:
20200         * gst/gstminiobject.h:
20201           add descriptions provided by ds and some more
20202         * gst/gstpad.h:
20203           mark macro as to be removed
20204
20205 2005-10-28  Wim Taymans  <wim@fluendo.com>
20206
20207         * docs/design/part-TODO.txt:
20208         Add an item to TODO.
20209
20210         * gst/gstiterator.c: (gst_iterator_fold),
20211         (gst_iterator_find_custom):
20212         * gst/gstiterator.h:
20213         Add iterator docs.
20214
20215 2005-10-28  Wim Taymans  <wim@fluendo.com>
20216
20217         * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
20218         (gst_base_transform_init):
20219         Don't leak class.
20220
20221         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_loop):
20222         An EOS event marks the queue as completely filled.
20223
20224 2005-10-27  Wim Taymans  <wim@fluendo.com>
20225
20226         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
20227         (gst_base_sink_do_sync), (gst_base_sink_get_position):
20228         Some more debugging.
20229
20230         * gst/base/gstbasetransform.c: (gst_base_transform_finalize),
20231         (gst_base_transform_init), (gst_base_transform_buffer_alloc),
20232         (gst_base_transform_event), (gst_base_transform_getrange),
20233         (gst_base_transform_chain):
20234         * gst/base/gstbasetransform.h:
20235         Fix debugging,
20236         Protect transform and concurrent buffer alloc with a new lock.
20237         Try not to break ABI/API.
20238
20239 2005-10-27  Wim Taymans  <wim@fluendo.com>
20240
20241         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
20242         (gst_base_src_init), (gst_base_src_query),
20243         (gst_base_src_default_newsegment),
20244         (gst_base_src_configure_segment), (gst_base_src_do_seek),
20245         (gst_base_src_send_event), (gst_base_src_event_handler),
20246         (gst_base_src_pad_get_range), (gst_base_src_loop),
20247         (gst_base_src_unlock), (gst_base_src_default_negotiate),
20248         (gst_base_src_start), (gst_base_src_deactivate),
20249         (gst_base_src_activate_push), (gst_base_src_change_state):
20250         Move some stuff around and cleanup things.
20251
20252 2005-10-27  Tim-Philipp Müller  <tim at centricular dot net>
20253
20254         * gst/base/gstbasesrc.c: (gst_base_src_query):
20255           Add missing break statements.
20256
20257 2005-10-27  Wim Taymans  <wim@fluendo.com>
20258
20259         * check/gst/gstbin.c: (GST_START_TEST):
20260         An extra refcount is taken in basesrc.
20261
20262         * gst/base/gstbasesrc.c: (gst_base_src_init), (gst_base_src_query),
20263         (gst_base_src_get_range), (gst_base_src_pad_get_range),
20264         (gst_base_src_loop):
20265         Small cleanups, check for flushing after being unlocked from the 
20266         LIVE_LOCK. take refcounts correctly (not yet everywhere).
20267         Don't send out EOS when going to READY.
20268
20269 2005-10-27  Wim Taymans  <wim@fluendo.com>
20270
20271         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
20272         (gst_base_sink_get_position):
20273         Some more debug.
20274
20275         * gst/gstbin.c: (message_check), (bin_replace_message),
20276         (bin_remove_messages), (is_eos), (gst_bin_add_func),
20277         (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
20278         (bin_query_duration_init), (bin_query_duration_fold),
20279         (bin_query_duration_done), (bin_query_generic_fold),
20280         (gst_bin_query):
20281         * tools/gst-launch.c: (main):
20282         Remove old option.
20283
20284 2005-10-26  Stefan Kost  <ensonic@users.sf.net>
20285
20286         * examples/controller/audio-example.c: (main):
20287         * examples/queue/queue.c: (event_loop):
20288         * gst/base/gstbasetransform.h:
20289         * gst/gstelement.c: (gst_element_send_event):
20290         * gst/gstevent.h:
20291         * gst/gstpad.c: (gst_pad_send_event):
20292           fixing examples
20293           fixing docs typos
20294           changing log priority in error situations
20295
20296 2005-10-25  Wim Taymans  <wim@fluendo.com>
20297
20298         * gst/gstbin.c: (message_check), (bin_replace_message),
20299         (bin_remove_messages), (is_eos), (gst_bin_add_func),
20300         (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
20301         (bin_query_duration_init), (bin_query_duration_fold),
20302         (bin_query_duration_done), (bin_query_generic_fold),
20303         (gst_bin_query):
20304         Some doc and debug updates.
20305         Cache previously requested query DURATION for speed. invalidate
20306         cached duration if element posts a DURATION message.
20307
20308 2005-10-25  Wim Taymans  <wim@fluendo.com>
20309
20310         * docs/design/part-TODO.txt:
20311         Update TODO.
20312
20313         * gst/gstbin.c: (message_check), (bin_replace_message),
20314         (bin_remove_messages), (is_eos), (gst_bin_add_func),
20315         (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
20316         (bin_query_duration_init), (bin_query_duration_fold),
20317         (bin_query_duration_done), (bin_query_generic_fold),
20318         (gst_bin_query):
20319         Handle SEGMENT_START/DONE messages correctly.
20320         More evolved query algorithm that handles duration queries
20321         correctly.
20322
20323         * gst/gstelement.c: (gst_element_send_event), (gst_element_query),
20324         (gst_element_get_state_func), (gst_element_abort_state),
20325         (gst_element_commit_state), (gst_element_lost_state):
20326         Some more debugging.
20327
20328         * gst/gstmessage.h:
20329         Added doc.
20330
20331 2005-10-25  Wim Taymans  <wim@fluendo.com>
20332
20333         * gst/base/gstbasesink.c: (gst_base_sink_get_position):
20334         Don't use invalid stream_time.
20335
20336         * gst/gstevent.c: (gst_event_new_newsegment):
20337         stream_time in newsegment cannot be undefined.
20338
20339 2005-10-24  Wim Taymans  <wim@fluendo.com>
20340
20341         * gst/gstbus.c:
20342         Doc fix.
20343
20344         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
20345         (gst_queue_loop):
20346         Fix potential deadlock when QUEUE_LOCK is taken before STREAM_LOCK.
20347
20348 2005-10-24  Stefan Kost  <ensonic@users.sf.net>
20349
20350         * docs/libs/tmpl/gstdparam.sgml:
20351         * docs/libs/tmpl/gstdplinint.sgml:
20352         * docs/libs/tmpl/gstdpman.sgml:
20353         * docs/libs/tmpl/gstdpsmooth.sgml:
20354         * docs/libs/tmpl/gstunitconvert.sgml:
20355           these are obsolete
20356
20357 2005-10-24  Thomas Vander Stichele  <thomas at apestaart dot org>
20358
20359         * configure.ac:
20360           back to HEAD
20361
20362 === release 0.9.4 ===
20363
20364 2005-10-23  Thomas Vander Stichele  <thomas at apestaart dot org>
20365
20366         * configure.ac:
20367           releasing 0.9.4, "Tyrannosaurus Rex"
20368
20369 2005-10-23  Tim-Philipp Müller  <tim at centricular dot net>
20370
20371         * gst/elements/gstfilesink.c: (gst_file_sink_do_seek),
20372         (gst_file_sink_get_current_offset):
20373           Use fseeko() and ftello() if available. When falling back on
20374           lseek() to get the current offset, fflush() first to make sure
20375           everything is up-to-date and we get the right offset.
20376
20377 2005-10-23  Thomas Vander Stichele  <thomas at apestaart dot org>
20378
20379         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
20380         * gst/base/gstbasesrc.c: (gst_base_src_loop):
20381         * gst/gsterror.c: (_gst_stream_errors_init):
20382         * gst/gsterror.h:
20383         * gst/gstqueue.c: (gst_queue_loop):
20384         * po/POTFILES.in:
20385           remove prematurely added error category and clean up the instances
20386
20387 2005-10-21  Wim Taymans  <wim@fluendo.com>
20388
20389         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
20390         (gst_base_sink_get_position), (gst_base_sink_query),
20391         (gst_base_sink_change_state):
20392         Simply set the right flag when going to playing, that's all
20393         we need to do instead of calling a function inside the object
20394         lock (that could take the lock as well and deadlock)
20395
20396 2005-10-21  Wim Taymans  <wim@fluendo.com>
20397
20398         * gst/base/gstbasesrc.c: (gst_base_src_do_seek),
20399         (gst_base_src_loop):
20400         Don't warn, the peer element knows what to do best when
20401         the seek failed, it might try something else.
20402
20403 2005-10-21  Wim Taymans  <wim@fluendo.com>
20404
20405         * gst/base/gstbasesrc.c: (gst_base_src_init),
20406         (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start):
20407         Fix seeking.
20408
20409 2005-10-21  Wim Taymans  <wim@fluendo.com>
20410
20411         * docs/design/part-segments.txt:
20412         More docs.
20413
20414         * gst/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
20415         Correctly set caps, even on the subbufer.
20416
20417 2005-10-21  Wim Taymans  <wim@fluendo.com>
20418
20419         * docs/gst/gstreamer-docs.sgml:
20420         * docs/gst/gstreamer-sections.txt:
20421         * gst/gstelement.h:
20422         * gst/gstevent.c:
20423         * gst/gstevent.h:
20424         * gst/gstmessage.h:
20425         * gst/gstpad.h:
20426         * gst/gstparse.h:
20427         * gst/gsttask.c: (gst_task_finalize), (gst_task_func):
20428         * gst/gsttask.h:
20429         * gst/gstutils.c:
20430         * gst/gstutils.h:
20431         And 2% more doc coverage.
20432
20433 2005-10-21  Andy Wingo  <wingo@pobox.com>
20434
20435         * gst/base/gstbasesrc.c (gst_base_src_query): Clean up percent
20436         position reporting.
20437
20438 2005-10-20  Wim Taymans  <wim@fluendo.com>
20439
20440         * gst/gsterror.c: (gst_error_get_message):
20441         * gst/gstparse.h:
20442         * gst/gstquery.h:
20443         * gst/gststructure.c:
20444         * gst/gsttrace.c:
20445         * gst/gstutils.c:
20446         More docs.
20447
20448 2005-10-20  Wim Taymans  <wim@fluendo.com>
20449
20450         * gst/gstbuffer.h:
20451         * gst/gstpad.c:
20452         * gst/gstparse.c:
20453         Another 1% more coverage.
20454
20455 2005-10-20  Wim Taymans  <wim@fluendo.com>
20456
20457         * docs/gst/gstreamer-sections.txt:
20458         * gst/gstelement.c: (gst_element_get_state_func),
20459         (gst_element_abort_state), (gst_element_commit_state),
20460         (gst_element_lost_state):
20461         * gst/gstevent.h:
20462         * gst/gstquery.c: (gst_query_set_position),
20463         (gst_query_parse_position), (gst_query_set_duration),
20464         (gst_query_parse_duration), (gst_query_new_convert):
20465         * gst/gstutils.c:
20466         Yay! 1% more docs coverage.
20467
20468 2005-10-20  Wim Taymans  <wim@fluendo.com>
20469
20470         * gst/gstpad.h:
20471         * gst/gstquery.c: (gst_query_set_position),
20472         (gst_query_parse_position), (gst_query_set_duration),
20473         (gst_query_parse_duration), (gst_query_new_convert):
20474         * gst/gstquery.h:
20475         * gst/gstutils.c: (gst_element_query_convert):
20476         * gst/gstutils.h:
20477         Docs and consistency fixes.
20478
20479 2005-10-20  Wim Taymans  <wim@fluendo.com>
20480
20481         * gst/gsttask.c:
20482         * gst/gsttask.h:
20483         More docs.
20484
20485 2005-10-20  Wim Taymans  <wim@fluendo.com>
20486
20487         * gst/gstbin.c: (message_check), (bin_replace_message),
20488         (bin_remove_messages), (is_eos), (gst_bin_add_func),
20489         (update_degree), (gst_bin_sort_iterator_next),
20490         (gst_bin_change_state_func), (gst_bin_dispose), (bin_bus_handler):
20491         Reworked the message handling a bit, cache the messages instead of
20492         only the senders. alows us to do more in the future.
20493
20494 2005-10-20  Wim Taymans  <wim@fluendo.com>
20495
20496         * docs/design/part-TODO.txt:
20497         Update TODO
20498
20499         * gst/base/gstbasesink.c: (gst_base_sink_get_position),
20500         (gst_base_sink_query):
20501         Don't use clock time to report position when in EOS.
20502
20503 2005-10-20  Tim-Philipp Müller  <tim at centricular dot net>
20504
20505         * tools/gst-inspect.c: (print_interfaces),
20506         (print_element_properties_info), (print_element_info):
20507           Fix interface output with gst-inspect -a; don't print
20508           newlines after double/float properties.
20509
20510 2005-10-20  Wim Taymans  <wim@fluendo.com>
20511
20512         * gst/base/gstbasesink.c: (gst_base_sink_get_position),
20513         (gst_base_sink_query):
20514         Speed up current position calculation.
20515
20516         * gst/base/gstbasesrc.c: (gst_base_src_query),
20517         (gst_base_src_default_newsegment):
20518         Correctly set stream position in newsegment.
20519
20520         * gst/gstbin.c: (gst_bin_add_func), (add_to_queue),
20521         (update_degree), (gst_bin_sort_iterator_next),
20522         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free):
20523         * gst/gstmessage.c: (gst_message_new_custom):
20524         Clean up debugging info
20525
20526         * gst/gstqueue.c: (gst_queue_link_src), (gst_queue_chain),
20527         (gst_queue_loop), (gst_queue_handle_src_query):
20528         Pause task faster.
20529
20530 2005-10-19  Wim Taymans  <wim@fluendo.com>
20531
20532         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
20533         (gst_base_sink_handle_object), (gst_base_sink_query), (do_playing):
20534         Fix query handling again.
20535
20536 2005-10-19  Wim Taymans  <wim@fluendo.com>
20537
20538         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
20539         (gst_base_sink_handle_object), (gst_base_sink_query), (do_playing):
20540         * gst/base/gstbasesrc.c: (gst_base_src_query):
20541         * gst/elements/gstfilesink.c: (gst_file_sink_query):
20542         * gst/elements/gsttypefindelement.c:
20543         (gst_type_find_handle_src_query), (find_element_get_length),
20544         (gst_type_find_element_activate):
20545         API change fix.
20546
20547         * gst/gstquery.c: (gst_query_new_position),
20548         (gst_query_set_position), (gst_query_parse_position),
20549         (gst_query_new_duration), (gst_query_set_duration),
20550         (gst_query_parse_duration), (gst_query_set_segment),
20551         (gst_query_parse_segment):
20552         * gst/gstquery.h:
20553         Bundling query position/duration is not a good idea since duration
20554         does not change much and we don't want to recalculate it for every
20555         position query, so they are separated again..
20556         Base value in segment query is not needed.
20557
20558         * gst/gstqueue.c: (gst_queue_handle_src_query):
20559         * gst/gstutils.c: (gst_element_query_position),
20560         (gst_element_query_duration), (gst_pad_query_position),
20561         (gst_pad_query_duration):
20562         * gst/gstutils.h:
20563         Updates for query API change.
20564         Added some docs here and there.
20565
20566 2005-10-19  Thomas Vander Stichele  <thomas at apestaart dot org>
20567
20568         * check/gst/gstbin.c: (GST_START_TEST):
20569         * check/gst/gstghostpad.c: (GST_START_TEST):
20570         * check/pipelines/cleanup.c: (GST_START_TEST):
20571           wait on thread to die so we can check refcount correctly
20572
20573 2005-10-18  Wim Taymans  <wim@fluendo.com>
20574
20575         * check/pipelines/stress.c: (GST_START_TEST):
20576         Make check a little more time consuming.
20577
20578 2005-10-18  Wim Taymans  <wim@fluendo.com>
20579
20580         * check/Makefile.am:
20581         * check/pipelines/stress.c: (GST_START_TEST),
20582         (simple_launch_lines_suite), (main):
20583         Small state change torture test.
20584
20585         * docs/design/part-states.txt:
20586         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
20587         (gst_base_sink_handle_object), (gst_base_sink_event), (do_playing),
20588         (gst_base_sink_change_state):
20589         Never take state lock from streaming thread, clean up ugly
20590         hacks. Unfortunatly core does not yet support nice ways to
20591         async commit state.
20592         
20593         * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_recalc_state),
20594         (bin_bus_handler):
20595         Start state recalc if a STATE_DIRTY message is posted, but only
20596         on the toplevel bin.
20597
20598         * gst/gstelement.c: (gst_element_sync_state_with_parent),
20599         (gst_element_get_state_func), (gst_element_abort_state),
20600         (gst_element_commit_state), (gst_element_lost_state),
20601         (gst_element_set_state_func), (gst_element_change_state):
20602         * gst/gstelement.h:
20603         State variables are now protected with the LOCK, the state
20604         lock is only used to serialize _set_state().
20605
20606 2005-10-18  Wim Taymans  <wim@fluendo.com>
20607
20608         * check/gst/gstbin.c: (GST_START_TEST):
20609         * check/gst/gstmessage.c: (GST_START_TEST):
20610         * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
20611         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_recalc_func),
20612         (bin_bus_handler):
20613         * gst/gstelement.c: (gst_element_abort_state),
20614         (gst_element_commit_state), (gst_element_lost_state):
20615         * gst/gstmessage.c: (gst_message_new_state_changed),
20616         (gst_message_new_state_dirty), (gst_message_new_segment_start),
20617         (gst_message_new_segment_done), (gst_message_new_duration),
20618         (gst_message_parse_state_changed),
20619         (gst_message_parse_segment_start),
20620         (gst_message_parse_segment_done), (gst_message_parse_duration):
20621         * gst/gstmessage.h:
20622         * tools/gst-launch.c: (event_loop):
20623         Seriously, this is better than a previous commit as we only need
20624         to notify the fact that an element changed state in a streaming
20625         thread, marking the state of the parents dirty, hence the 
20626         STATE_DIRTY message instead of abusing a boolean in a STATE_CHANGE
20627         message.
20628
20629 2005-10-18  Wim Taymans  <wim@fluendo.com>
20630
20631         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_get_state_func),
20632         (gst_bin_recalc_func):
20633         * gst/gstelement.c: (gst_element_set_clock),
20634         (gst_element_abort_state), (gst_element_lost_state):
20635         Cleanups, prepare for state change fixes.
20636
20637 2005-10-18  Wim Taymans  <wim@fluendo.com>
20638
20639         * gst/gstbin.h:
20640         * gst/gstelement.c: (gst_element_class_init),
20641         (gst_element_set_state), (gst_element_set_state_func):
20642         * gst/gstelement.h:
20643         Pending ABI changes.
20644         GThreadPool in GstBinClass to monitor async state changes.
20645         state_cookie in GstElement to detect concurrent gst/set state.
20646         set_state is now virtual too in case a very complicated element
20647         has to be constructed.
20648
20649 2005-10-18  Wim Taymans  <wim@fluendo.com>
20650
20651         * check/gst/gstbin.c: (GST_START_TEST):
20652         * check/gst/gstmessage.c: (GST_START_TEST):
20653         * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
20654         * gst/gstbin.c: (bin_bus_handler):
20655         * gst/gstelement.c: (gst_element_commit_state),
20656         (gst_element_lost_state):
20657         * gst/gstmessage.c: (gst_message_new_state_changed),
20658         (gst_message_new_segment_start), (gst_message_new_segment_done),
20659         (gst_message_new_duration), (gst_message_parse_state_changed),
20660         (gst_message_parse_segment_start),
20661         (gst_message_parse_segment_done), (gst_message_parse_duration):
20662         * gst/gstmessage.h:
20663         * tools/gst-launch.c: (event_loop):
20664         Make messages future proof.
20665         state-change gets a flag if it was a message comming from the
20666         streaming thread.
20667         segment-start/stop can also be specified in other formats.
20668         A message to notify an app that a pipeline changed playback 
20669         duration.
20670         Also fix a GstMessage leak in -launch
20671
20672 2005-10-18  Andy Wingo  <wingo@pobox.com>
20673
20674         * gst/gstelement.c (gst_element_dispose): More helpful message.
20675
20676 2005-10-18  Thomas Vander Stichele  <thomas at apestaart dot org>
20677
20678         reviewed by: <delete if not using a buddy>
20679
20680         * common/gtk-doc.mak:
20681
20682 2005-10-18  Thomas Vander Stichele  <thomas at apestaart dot org>
20683
20684         * gst/gstregistry.c: (gst_registry_scan_path_level):
20685           unref a plug-in we get that was already initialized
20686
20687 2005-10-18  Stefan Kost  <ensonic@users.sf.net>
20688
20689         * docs/gst/gstreamer-sections.txt:
20690         * docs/libs/gstreamer-libs-sections.txt:
20691         * gst/gstelement.h:
20692           add new api entries
20693           hide internal macro
20694
20695 2005-10-17  Andy Wingo  <wingo@pobox.com>
20696
20697         * gst/base/gstcollectpads.c (gst_collectpads_chain): Slight
20698         cleanup.
20699
20700         * gst/Makefile.am (gstenumtypes.c): Threadsafe now.
20701
20702         * gst/gstevent.c (gst_event_new, gst_event_finalize): LOG.
20703
20704         * gst/gstelement.c (gst_element_get_state_func): s/INFO/DEBUG/.
20705         (gst_element_get_state_func): Better debug message.
20706         (gst_element_commit_state): s/INFO/DEBUG/.
20707         (gst_element_lost_state, gst_element_change_state): 
20708
20709         * gst/gstmessage.c (gst_message_init): s/INFO/LOG/.
20710         (gst_message_new_custom): s/INFO/LOG/.
20711
20712 2005-10-17  Michael Smith <msmith@fluendo.com>
20713
20714         * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
20715           Check if end time is valid using end time, not start time.
20716
20717 2005-10-17  Stefan Kost  <ensonic@users.sf.net>
20718
20719         * check/gst-libs/controller.c: (GST_START_TEST),
20720         (gst_controller_suite):
20721         * libs/gst/controller/gstcontroller.c:
20722         (gst_controlled_property_set_interpolation_mode):
20723         * libs/gst/controller/gstcontroller.h:
20724         * libs/gst/controller/gstinterpolation.c:
20725         * testsuite/controller/.cvsignore:
20726         * testsuite/controller/Makefile.am:
20727         * testsuite/controller/interpolator.c:
20728           merge controller testsuites
20729           fix broken tests
20730           remove mem-chunk from docs
20731
20732 2005-10-17  Thomas Vander Stichele  <thomas at apestaart dot org>
20733
20734         * gst/gstmemchunk.c:
20735         * gst/gstmemchunk.h:
20736         * gst/gsttrashstack.c:
20737         * gst/gsttrashstack.h:
20738           out.  get out.  you're fired.  to the Attic !
20739
20740 2005-10-17  Thomas Vander Stichele  <thomas at apestaart dot org>
20741
20742         * gst/gstcaps.c: (gst_caps_intersect):
20743           fix signedness issues in a (hopefully) correct way
20744         * gst/gstelement.c: (gst_element_pads_activate):
20745           some debugging
20746         * gst/gstobject.c: (gst_object_set_parent):
20747           some debugging
20748
20749 2005-10-17  Julien MOUTTE  <julien@moutte.net>
20750
20751         * gst/gstvalue.h: Fix prototypes.
20752
20753 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
20754
20755         * docs/gst/gstreamer-sections.txt:
20756         * gst/gst.c: (gst_version_string):
20757         * gst/gst.h:
20758         * gst/gstversion.h.in:
20759         * win32/common/libgstreamer.def:
20760           add gst_version_string ()
20761
20762 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
20763
20764         * configure.ac:
20765           clean up further
20766         * gst/gst.c: (init_post):
20767         * win32/common/config.h.in:
20768           it's PLUGINDIR now
20769         * gst/gstcaps.c: (gst_caps_intersect):
20770           use gint64, the range could be bigger than a guint
20771
20772 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
20773
20774         * gst/gstclock.h:
20775           document potential problem in 2038
20776
20777 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
20778
20779         * gst/gstcaps.c: (gst_caps_intersect):
20780           Fix guint j diving under 0
20781
20782 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
20783
20784         * configure.ac:
20785         * win32/common/config.h:
20786         * win32/common/config.h.in:
20787           check for process.h, declares getpid() on Windows
20788         * gst/gstinfo.c:
20789           include process.h if we have it
20790         * gst/gstmemchunk.c: (populate), (gst_mem_chunk_new):
20791         * gst/gstmemchunk.h:
20792           fix signedness issues
20793         * win32/common/libgstreamer.def:
20794           fix get_type's
20795
20796 2005-10-16  Julien MOUTTE  <julien@moutte.net>
20797
20798         * gst/gstcaps.c: (gst_caps_intersect): Fix a bad bug with a simple
20799         fix. Because of unsigned ints, caps intersection was going nuts and
20800         trying to access structures with G_MAXUINT index. That fixes
20801         videotestsrc ! ffmpegcolorspace ! fakesink
20802         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked): logs
20803         consistency.
20804
20805 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
20806
20807         * configure.ac:
20808           use the gettext macro
20809         * gst/elements/gstelements.c:
20810         * gst/gst.c:
20811         * gst/indexers/gstindexers.c:
20812           update for GST_PACKAGE_NAME, GST_PACKAGE_ORIGIN
20813         * win32/common/config.h:
20814           updated config.h
20815         * win32/common/config.h.in:
20816           add the template to generate config.h
20817         * win32/common/gstenumtypes.c:
20818         * win32/common/gstversion.h:
20819           updated copies
20820
20821 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
20822
20823         * gst/gst.c: (gst_version):
20824         * gst/gstversion.h.in:
20825           add the nano
20826
20827 2005-10-15  Tim-Philipp Müller  <tim at centricular dot net>
20828
20829         * gst/gstevent.h:
20830           Oops, add missing closing bracket.
20831
20832 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
20833
20834         * configure.ac:
20835           use common m4's for argument checking
20836
20837 2005-10-15  Tim-Philipp Müller  <tim at centricular dot net>
20838
20839         * docs/gst/gstreamer-sections.txt:
20840         * gst/gstevent.h:
20841           Add GST_EVENT_TYPE_NAME() macro.
20842
20843 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
20844
20845         * gst/gstinfo.c:
20846         * gst/gstpluginfeature.c:
20847         * gst/gsttask.c:
20848           privatize more symbols
20849
20850 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
20851
20852         * configure.ac:
20853           add srcdir, builddir includes to GST_ALL_CFLAGS, since
20854           everything that uses GStreamer API should have the includes
20855
20856 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
20857
20858         * docs/gst/gstreamer-sections.txt:
20859         * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
20860         * gst/gstvalue.h:
20861           give each value a _get_type, removes the DATA exports
20862
20863 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
20864
20865         * gst/gst.c:
20866         * gst/gst.h:
20867           remove _gst_registry_auto_load, not used anymore
20868         * gst/gstbin.c: (gst_bin_get_type):
20869         * gst/gstbin.h:
20870         * gst/gstelement.c: (gst_element_get_type):
20871         * gst/gstelement.h:
20872         * gst/gstobject.c: (gst_object_get_type):
20873         * gst/gstobject.h:
20874         * gst/gstpad.c: (gst_pad_get_type):
20875         * gst/gstpad.h:
20876           make _get_type functions similar, fixes data export from library
20877
20878 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
20879
20880         * configure.ac:
20881           correctly make conditionals
20882         * gst/elements/Makefile.am:
20883         * gst/elements/gstelements.c:
20884           fix typo causing fdsrc not to build
20885
20886 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
20887
20888         * testsuite/Makefile.am:
20889         * testsuite/bytestream/.cvsignore:
20890         * testsuite/bytestream/Makefile.am:
20891         * testsuite/bytestream/filepadsink.c:
20892         * testsuite/bytestream/gstbstest.c:
20893         * testsuite/bytestream/test1.c:
20894         * testsuite/bytestream/testfile1:
20895         * testsuite/caps/normalisation.c:
20896         * testsuite/caps/random.c: (main):
20897         * testsuite/cleanup/.cvsignore:
20898         * testsuite/cleanup/Makefile.am:
20899         * testsuite/cleanup/cleanup1.c:
20900         * testsuite/cleanup/cleanup2.c:
20901         * testsuite/cleanup/cleanup3.c:
20902         * testsuite/cleanup/cleanup4.c:
20903         * testsuite/cleanup/cleanup5.c:
20904         * testsuite/controller/interpolator.c:
20905         * testsuite/debug/printf_extension.c: (main):
20906         * testsuite/elements/tee.c:
20907         * testsuite/negotiation/.cvsignore:
20908         * testsuite/negotiation/Makefile.am:
20909         * testsuite/negotiation/pad_link.c:
20910         * testsuite/pad/Makefile.am:
20911         * testsuite/pad/chainnopull.c:
20912         * testsuite/pad/getnopush.c:
20913         * testsuite/pad/link.c:
20914         * testsuite/refcounting/sched.c: (create_pipeline):
20915         * testsuite/registry/Makefile.am:
20916         * testsuite/registry/gst-print-formats.c:
20917         * testsuite/schedulers/.cvsignore:
20918         * testsuite/schedulers/142183-2.c:
20919         * testsuite/schedulers/142183.c:
20920         * testsuite/schedulers/143777-2.c:
20921         * testsuite/schedulers/143777.c:
20922         * testsuite/schedulers/147713.c:
20923         * testsuite/schedulers/147819.c:
20924         * testsuite/schedulers/147894-2.c:
20925         * testsuite/schedulers/147894.c:
20926         * testsuite/schedulers/Makefile.am:
20927         * testsuite/schedulers/group_link.c:
20928         * testsuite/schedulers/queue_link.c:
20929         * testsuite/schedulers/relink.c:
20930         * testsuite/schedulers/unlink.c:
20931         * testsuite/schedulers/unref.c:
20932         * testsuite/schedulers/useless_iteration.c:
20933         * testsuite/states/bin.c:
20934           clean out/remove some stuff from the testsuite directories
20935
20936 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
20937
20938         * configure.ac:
20939           check for some headers
20940         * gst/elements/Makefile.am:
20941         * gst/elements/gstelements.c:
20942           don't compile fdsrc without sys/socket.h
20943         * gst/indexers/Makefile.am:
20944         * gst/indexers/gstindexers.c: (plugin_init):
20945           don't compile fileindex without mmap
20946
20947 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
20948
20949         * configure.ac:
20950           reorganize
20951           clean up
20952           document more
20953           remove cruft
20954         * check/Makefile.am:
20955         * docs/gst/Makefile.am:
20956         * examples/helloworld/Makefile.am:
20957         * gst/Makefile.am:
20958         * gst/base/Makefile.am:
20959         * gst/check/Makefile.am:
20960         * gst/elements/Makefile.am:
20961         * gst/indexers/Makefile.am:
20962         * gst/parse/Makefile.am:
20963         * libs/gst/controller/Makefile.am:
20964         * libs/gst/dataprotocol/Makefile.am:
20965         * examples/helloworld/helloworld.c: (event_loop):
20966           compile fixes, though it's not being compiled currently
20967
20968 2005-10-14  Tim-Philipp Müller  <tim at centricular dot net>
20969
20970         * check/gst/gsttag.c: (test_date_tags), (gst_tag_suite):
20971           Add some simple tests for the new taglist date API.
20972
20973 2005-10-14  Tim-Philipp Müller  <tim at centricular dot net>
20974
20975         * gst/elements/gstfakesink.c: (gst_fake_sink_render):
20976         * gst/elements/gstfakesrc.c: (gst_fake_src_create):
20977           Beautify 'last-message' output: print 'none' for buffer timestamps
20978           and durations if none is set; improve alignment with next messages.
20979
20980 2005-10-14  Tim-Philipp Müller  <tim at centricular dot net>
20981
20982         * gst/gstpluginfeature.c: (gst_plugin_feature_check_version):
20983         * gst/gstpluginfeature.h:
20984         * gst/gstregistry.c: (gst_default_registry_check_feature_version):
20985         * gst/gstregistry.h:
20986         * docs/gst/gstreamer-sections.txt:
20987           Add new API to check plugin feature version requirements.
20988
20989         * check/gst/gstplugin.c: (test_version_checks), (gst_plugin_suite):
20990           Some basic tests for the above.         
20991
20992 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
20993
20994         * gst/gststructure.c: (gst_structure_to_string):
20995           guard against NULL printf - happens when for example
20996           a message structure with GstClock gets serialized
20997
20998 2005-10-13  Tim-Philipp Müller  <tim at centricular dot net>
20999
21000         * gst/base/gstcollectpads.c: (gst_collectpads_event):
21001           Fix presumable copy'n'pasto.
21002
21003 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
21004
21005         * gst/elements/gstfakesrc.h:
21006         * gst/elements/gstfilesrc.c: (gst_file_src_create_read):
21007         * gst/elements/gsttypefindelement.c:
21008           fix some signedness
21009         * gst/elements/gstfilesink.c: (gst_file_sink_render):
21010           I wonder if this could actually write +2GB files before
21011
21012 2005-10-13  Andy Wingo  <wingo@pobox.com>
21013
21014         * libs/gst/dataprotocol/dataprotocol.c (gst_dp_packet_from_caps):
21015         Fix Timmeke Waymans bug.
21016         (gst_dp_caps_from_packet): Make sure we pass a NUL-terminated
21017         string of the proper length to gst_caps_from_string. There's a
21018         potential for, before this fix, that this could cause someone
21019         connecting over the network to cause a segfault if the payload is
21020         not NUL-terminated.
21021
21022 2005-10-13  Stefan Kost  <ensonic@users.sf.net>
21023
21024         * docs/design/draft-push-pull.txt:
21025         * docs/design/part-overview.txt:
21026         * docs/random/TODO-pre-0.9:
21027         * docs/random/old/ChangeLog.gstreamer:
21028         * gst/base/gstpushsrc.c:
21029         * gst/gstclock.c:
21030           fixed typos
21031
21032 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
21033
21034         * gst/glib-compat.c: (gst_flags_get_first_value):
21035         * gst/glib-compat.h:
21036         * gst/gstvalue.c: (gst_value_deserialize_int_helper),
21037         (gst_value_compare_double), (gst_value_serialize_flags):
21038           GLib 2.6 g_flags_get_first_value has a bug that triggers an
21039           infinite loop
21040
21041 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
21042
21043         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
21044         * gst/base/gstbasesrc.c: (gst_base_src_get_range):
21045           fix up debugging
21046         * tools/gst-launch.c: (event_loop):
21047           print out clock nicely
21048
21049 2005-10-13  Tim-Philipp Müller  <tim at centricular dot net>
21050
21051         * docs/gst/gstreamer-sections.txt:
21052         * gst/gsttaglist.h:
21053         * gst/gsttaglist.c: (_gst_tag_initialize), (gst_tag_list_get_date),
21054         (gst_tag_list_get_date_index):
21055           Added gst_tag_list_get_date() and gst_tag_list_get_date_index().
21056           GST_TAG_DATE now has a tag type of GST_TYPE_DATE (#170777).
21057
21058 2005-10-13  Julien MOUTTE  <julien@moutte.net>
21059
21060         * gst/base/gstcollectpads.c: (gst_collectpads_event),
21061         (gst_collectpads_chain):
21062         * gst/base/gstcollectpads.h: Handle newsegment and store informations
21063         in CollectData.
21064
21065 2005-10-13  Stefan Kost  <ensonic@users.sf.net>
21066
21067         * docs/gst/gstreamer-sections.txt:
21068         * gst/gst.c:
21069         * gst/gsterror.h:
21070         * tools/gst-inspect.c: (main):
21071         * tools/gst-launch.c: (main):
21072         * tools/gst-run.c: (main):
21073         * tools/gst-xmlinspect.c: (main):
21074           fix GOption context leaks
21075           doc fixes
21076
21077 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
21078
21079         * gst/gstbus.c:
21080           use HAVE_UNISTD_H
21081         * win32/common/config.h:
21082           update config
21083         * win32/vs6/grammar.dsp:
21084         * win32/vs6/libgstelements.dsp:
21085         * win32/vs6/libgstreamer.dsp:
21086           update vs6 files
21087
21088 2005-10-12  Thomas Vander Stichele  <thomas at apestaart dot org>
21089
21090         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
21091         * gst/base/gstbasesrc.c: (gst_base_src_query):
21092           fix more guint64<->gdouble conversions
21093
21094 2005-10-12  Thomas Vander Stichele  <thomas at apestaart dot org>
21095
21096         * Makefile.am:
21097           add win32-update target
21098         * win32/common/gstconfig.h:
21099         * win32/common/gstenumtypes.c:
21100         * win32/common/gstenumtypes.h:
21101         * win32/common/gstversion.h:
21102           add files that visual studio can't generate
21103
21104 2005-10-12  Thomas Vander Stichele  <thomas at apestaart dot org>
21105
21106         * Makefile.am:
21107           add a win32-update target
21108         * configure.ac:
21109
21110 2005-10-12  Wim Taymans  <wim@fluendo.com>
21111
21112         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
21113         (reset_degree), (gst_bin_dispose), (bin_bus_handler):
21114         * gst/gstelement.c: (gst_element_commit_state),
21115         (gst_element_set_state):
21116         Protect flags with proper lock.
21117         unref provided cached clock in dispose.
21118
21119 2005-10-12  Stefan Kost  <ensonic@users.sf.net>
21120
21121         * gst/gst.c:
21122         * gst/gstminiobject.h:
21123         * gst/gstpad.h:
21124         * win32/gstenumtypes.c: (gst_mini_object_flags_get_type):
21125           removed unused flags from miniobject
21126           doc fixes
21127
21128 2005-10-12  Wim Taymans  <wim@fluendo.com>
21129
21130         * gst/elements/gstfilesink.c: (gst_file_sink_do_seek),
21131         (gst_file_sink_event), (gst_file_sink_render):
21132         Flush before seeking.
21133
21134 2005-10-12  Andy Wingo  <wingo@pobox.com>
21135
21136         * gst/gst.c (gst_init_check): Ignore unknown options, as has
21137         always been the case.
21138
21139 2005-10-12  Stefan Kost  <ensonic@users.sf.net>
21140
21141         * check/gst/gstbin.c: (GST_START_TEST):
21142         * docs/gst/gstreamer-sections.txt:
21143         * gst/base/gstbasesink.c: (gst_base_sink_init):
21144         * gst/base/gstbasesrc.c: (gst_base_src_init),
21145         (gst_base_src_get_range), (gst_base_src_check_get_range),
21146         (gst_base_src_start), (gst_base_src_stop):
21147         * gst/base/gstbasesrc.h:
21148         * gst/elements/gstfakesrc.c: (gst_fake_src_set_property):
21149         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
21150         (bin_element_is_sink), (reset_degree), (gst_bin_element_set_state),
21151         (bin_bus_handler):
21152         * gst/gstbin.h:
21153         * gst/gstbuffer.h:
21154         * gst/gstbus.c: (gst_bus_post), (gst_bus_set_flushing):
21155         * gst/gstbus.h:
21156         * gst/gstelement.c: (gst_element_is_locked_state),
21157         (gst_element_set_locked_state), (gst_element_commit_state),
21158         (gst_element_set_state):
21159         * gst/gstelement.h:
21160         * gst/gstindex.c: (gst_index_init):
21161         * gst/gstindex.h:
21162         * gst/gstminiobject.h:
21163         * gst/gstobject.c: (gst_object_init), (gst_object_sink),
21164         (gst_object_set_parent):
21165         * gst/gstobject.h:
21166         * gst/gstpad.c: (gst_pad_set_blocked_async), (gst_pad_is_blocked),
21167         (gst_pad_get_caps_unlocked), (gst_pad_set_caps):
21168         * gst/gstpad.h:
21169         * gst/gstpadtemplate.h:
21170         * gst/gstpipeline.c: (gst_pipeline_provide_clock_func),
21171         (gst_pipeline_use_clock), (gst_pipeline_auto_clock):
21172         * gst/gstpipeline.h:
21173         * gst/indexers/gstfileindex.c: (gst_file_index_load),
21174         (gst_file_index_commit):
21175         * testsuite/bytestream/filepadsink.c: (gst_fp_sink_init):
21176         * testsuite/pad/link.c: (gst_test_src_init),
21177         (gst_test_filter_init), (gst_test_sink_init):
21178         * testsuite/states/locked.c: (main):
21179           renamed GST_FLAGS macros to GST_OBJECT_FLAGS
21180           moved bitshift from macro to enum definition
21181
21182 2005-10-12  Wim Taymans  <wim@fluendo.com>
21183
21184         * gst/base/gstbasesink.c: (gst_base_sink_handle_buffer):
21185         * gst/elements/gstfilesink.c: (gst_file_sink_event),
21186         (gst_file_sink_render):
21187         Some more debugging info.
21188
21189 2005-10-12  Wim Taymans  <wim@fluendo.com>
21190
21191         * docs/design/part-states.txt:
21192         * tools/gst-launch.c: (main):
21193         Some doc updates.
21194         Revert non-intentional change.
21195
21196 2005-10-12  Wim Taymans  <wim@fluendo.com>
21197
21198         * check/gst/gstbin.c: (GST_START_TEST):
21199         * check/gst/gstelement.c: (GST_START_TEST):
21200         * check/gst/gstevent.c: (GST_START_TEST), (test_event):
21201         * check/gst/gstghostpad.c: (GST_START_TEST):
21202         * check/gst/gstpipeline.c: (GST_START_TEST):
21203         * check/pipelines/simple_launch_lines.c: (run_pipeline):
21204         * check/states/sinks.c: (GST_START_TEST):
21205         * gst/elements/gsttypefindelement.c: (stop_typefinding):
21206         * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
21207         (gst_bin_remove_func), (gst_bin_get_state_func),
21208         (gst_bin_recalc_state), (gst_bin_change_state_func),
21209         (bin_bus_handler):
21210         * gst/gstelement.c: (gst_element_get_state_func),
21211         (gst_element_get_state), (gst_element_abort_state),
21212         (gst_element_commit_state), (gst_element_set_state),
21213         (gst_element_change_state), (gst_element_change_state_func):
21214         * gst/gstelement.h:
21215         * gst/gstpipeline.c: (gst_pipeline_class_init), (do_pipeline_seek),
21216         (gst_pipeline_provide_clock_func):
21217         * gst/gstutils.c: (gst_element_link_pads_filtered):
21218         * tools/gst-launch.c: (main):
21219         * tools/gst-typefind.c: (main):
21220         Use GstClockTime in _get_state() instead of GTimeVal.
21221         Remove old code in gstutils.c
21222
21223 2005-10-12  Andy Wingo  <wingo@pobox.com>
21224
21225         * gst/gstregistry.h (gst_registry_scan_paths): Not implemented, so
21226         removed.
21227
21228         * gst/gstpad.c (gst_pad_pause_task): Actually return FALSE if
21229         there is no task. Shouldn't affect any code, as nothing in our
21230         plugins checks this return value.
21231         (gst_pad_stop_task): Also take the stream lock if the pad has no
21232         task. Docs updated.
21233
21234 2005-10-12  Wim Taymans  <wim@fluendo.com>
21235
21236         * gst/gstpad.c: (pre_activate), (post_activate),
21237         (gst_pad_activate_pull), (gst_pad_activate_push):
21238         Cleanup activation code. Reset old state if
21239         activation failed.
21240
21241 2005-10-12  Wim Taymans  <wim@fluendo.com>
21242
21243         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
21244         (gst_base_sink_change_state):
21245         No need to prerol after receiving EOS.
21246
21247         * gst/elements/gstfakesink.c: (gst_fake_sink_event):
21248         * gst/elements/gstfakesrc.c: (gst_fake_src_event_handler):
21249         * gst/elements/gstidentity.c: (gst_identity_event):
21250         Print events more verbosely.
21251
21252 2005-10-12  Wim Taymans  <wim@fluendo.com>
21253
21254         * check/Makefile.am:
21255         * check/states/sinks.c: (GST_START_TEST), (gst_object_suite):
21256         * check/states/sinks2.c:
21257         Moved sinks2 testcode in sinks check.
21258
21259         * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
21260         (gst_bin_remove_func), (gst_bin_recalc_state),
21261         (gst_bin_change_state_func), (bin_bus_handler):
21262         Fix potential race condition when _get_state() iterated over an
21263         ASYNC element right before it posted a state completion.
21264
21265         * gst/gstclock.h:
21266         Do proper cast here.
21267
21268         * gst/gstevent.c: (gst_event_new_newsegment),
21269         (gst_event_parse_newsegment):
21270         A playback rate of 0.0 is not allowed.
21271
21272 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
21273
21274         * win32/common/config.h:
21275         * win32/common/dirent.c: (_topendir), (_treaddir), (_tclosedir),
21276         (_trewinddir), (_ttelldir), (_tseekdir):
21277         * win32/common/dirent.h:
21278         * win32/common/gtchar.h:
21279         * win32/common/libgstbase.def:
21280         * win32/common/libgstreamer.def:
21281         * win32/vs6/grammar.dsp:
21282         * win32/vs6/gst_inspect.dsp:
21283         * win32/vs6/gst_launch.dsp:
21284         * win32/vs6/gstreamer.dsw:
21285         * win32/vs6/libgstbase.dsp:
21286         * win32/vs6/libgstelements.dsp:
21287         * win32/vs6/libgstreamer.dsp:
21288           Visual Studio 6 project files, and a new common directory.
21289           Phear.
21290
21291 2005-10-11  Wim Taymans  <wim@fluendo.com>
21292
21293         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
21294         (gst_base_sink_do_sync), (gst_base_sink_query),
21295         (gst_base_sink_change_state):
21296         * gst/base/gstbasesink.h:
21297         Correctly parse newsegment info.
21298
21299 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
21300
21301         * gst/gst.c: (init_post):
21302           split plugin paths correctly
21303
21304 2005-10-11  Wim Taymans  <wim@fluendo.com>
21305
21306         * check/gst/gstevent.c: (GST_START_TEST):
21307         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
21308         (gst_base_sink_change_state):
21309         * gst/base/gstbasesrc.c: (gst_base_src_default_newsegment):
21310         * gst/base/gstbasetransform.c: (gst_base_transform_event):
21311         * gst/elements/gstfilesink.c: (gst_file_sink_event):
21312         * gst/gstevent.c: (gst_event_new_newsegment),
21313         (gst_event_parse_newsegment):
21314         * gst/gstevent.h:
21315         Added extra flag to newsegment for future API freeze.
21316         Updated check and base elements.
21317
21318 2005-10-11  Julien MOUTTE  <julien@moutte.net>
21319
21320         * gst/base/gstcollectpads.c: (gst_collectpads_init),
21321         (gst_collectpads_add_pad), (gst_collectpads_pop),
21322         (gst_collectpads_event), (gst_collectpads_chain):
21323         * gst/base/gstcollectpads.h: Handle EOS correctly.
21324
21325 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
21326
21327         * tools/gst-launch.c: (main):
21328           more null protecting
21329
21330 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
21331
21332         * gst/gst-i18n-lib.h:
21333           check for ENABLE_NLS, not GETTEXT_PACKAGE
21334         * gst/gstregistry.c: (gst_registry_add_plugin),
21335         (gst_registry_scan_path_level),
21336         (_gst_registry_remove_cache_plugins):
21337           protect possibly NULL strings
21338         * gst/parse/types.h:
21339           config.h already included before
21340         * tools/gst-inspect.c: (main):
21341           sys/wait.h also doesn�t exist on mingw, so change the ifdef check
21342           check for ENABLE_NLS, not GETTEXT_PACKAGE
21343         * tools/gst-launch.c: (main):
21344           check for ENABLE_NLS, not GETTEXT_PACKAGE
21345
21346 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
21347
21348         * configure.ac:
21349           if we don't have glib, fail before testing 2.8
21350         * gst/base/gstbasetransform.c: (gst_base_transform_change_state):
21351           fix a leak, should fix plugins-base testsuite
21352
21353 2005-10-11  Andy Wingo  <wingo@pobox.com>
21354
21355         * gst/gstpad.c (pre_activate): Renamed from pre_activate_switch,
21356         take the mode we're going to as an arg. Go head and set the mode
21357         and flushing flags now, so that if the activate function starts a
21358         thread all the flags will be in the right state.
21359         (post_activate): Renamed also. Just handle making sure streaming
21360         finishes for the deactivation case, and setting the deactivated
21361         mode.
21362         (gst_pad_set_active): Complain loudly if deactivation fails.
21363         (gst_pad_activate_pull): Adapt to pre/post_activate changes.
21364         (gst_pad_activate_push): Adapt to pre/post_activate changes,
21365         remove the terrible hack.
21366
21367 2005-10-11  Wim Taymans  <wim@fluendo.com>
21368
21369         * gst/gstbin.c: (gst_bin_init), (gst_bin_provide_clock_func),
21370         (is_eos), (gst_bin_add_func), (gst_bin_remove_func),
21371         (gst_bin_recalc_state), (gst_bin_change_state_func),
21372         (gst_bin_dispose), (bin_bus_handler):
21373         * gst/gstbin.h:
21374         Prepare to make current EOS message queue more generic.
21375         Fix some typos.
21376
21377         * gst/gstevent.c: (gst_event_new_newsegment),
21378         (gst_event_parse_newsegment):
21379         * gst/gstevent.h:
21380         Rename base to stream_time.
21381
21382         * gst/gstmessage.h:
21383         Fix typo in docs.
21384
21385 2005-10-11  Wim Taymans  <wim@fluendo.com>
21386
21387         * gst/gstbin.c: (gst_bin_init), (gst_bin_provide_clock_func),
21388         (gst_bin_add_func), (gst_bin_remove_func), (gst_bin_recalc_state),
21389         (gst_bin_change_state_func), (bin_bus_handler):
21390         * gst/gstbin.h:
21391         Work on proper clock selection.
21392
21393 2005-10-11  Edward Hervey  <edward@fluendo.com>
21394
21395         * libs/gst/controller/gstcontroller.c: (gst_controller_remove_properties_list): 
21396         * libs/gst/controller/gstcontroller.h:
21397         Added GList* version of _remove_properties() in order to be able to wrap
21398         it in bindings.
21399
21400 2005-10-11  Wim Taymans  <wim@fluendo.com>
21401
21402         * docs/design/part-states.txt:
21403         Some more docs.
21404
21405         * gst/gstbin.c: (gst_bin_set_clock_func), (gst_bin_recalc_state),
21406         (gst_bin_change_state_func), (bin_bus_handler):
21407         Doc updates. Don't distribute the same clock over and over again.
21408
21409         * gst/gstclock.c:
21410         * gst/gstclock.h:
21411         Doc updates.
21412
21413         * gst/gstpad.c: (gst_flow_get_name), (gst_flow_to_quark),
21414         (gst_pad_get_type), (gst_pad_push), (gst_pad_push_event),
21415         (gst_pad_send_event):
21416         * gst/gstpad.h:
21417         Make probe emission threadsafe again.
21418         Register quarks and move _get_name() from utils.
21419         Doc updates.
21420
21421         * gst/gstpipeline.c: (gst_pipeline_class_init),
21422         (gst_pipeline_change_state), (gst_pipeline_provide_clock_func):
21423         Only redistribute the clock of it changed.
21424
21425         * gst/gstsystemclock.h:
21426         Doc updates. 
21427
21428         * gst/gstutils.c:
21429         * gst/gstutils.h:
21430         Moved the _flow_get_name() to GstPad.
21431
21432 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
21433
21434         * check/gst-libs/gdp.c: (GST_START_TEST):
21435         * check/gst/gstcaps.c: (GST_START_TEST):
21436         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_crc),
21437         (gst_dp_dump_byte_array), (gst_dp_header_from_buffer),
21438         (gst_dp_packet_from_caps):
21439           fix more valgrind warnings before turning up the heat
21440
21441 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
21442
21443         * gst/parse/grammar.y:
21444           some cleanup before the hacking
21445
21446 2005-10-10  Thomas Vander Stichele  <thomas at apestaart dot org>
21447
21448         * gst/base/gstbasesrc.c: (gst_base_src_query):
21449           use conversions
21450         * gst/gstutils.c: (gst_guint64_to_gdouble),
21451         (gst_gdouble_to_guint64), (gst_util_uint64_scale):
21452         * gst/gstutils.h:
21453           externalize, basesrc uses it
21454           obviously the implementation needs testing
21455
21456 2005-10-10  Wim Taymans  <wim@fluendo.com>
21457
21458         * tests/sched/Makefile.am:
21459         * tests/sched/sort.c: (make_pipeline1), (make_pipeline2),
21460         (make_pipeline3), (make_pipeline4), (print_elem), (main):
21461
21462 2005-10-10  Thomas Vander Stichele  <thomas at apestaart dot org>
21463
21464         * gst/gstutils.c: (guint64_to_gdouble), (gst_util_uint64_scale):
21465           apparently converting from guint64 to double is not implemented
21466           on MSVC
21467
21468 2005-10-10  Wim Taymans  <wim@fluendo.com>
21469
21470         * check/Makefile.am:
21471         * check/generic/states.c: (GST_START_TEST):
21472         * check/gst/gstbin.c: (GST_START_TEST):
21473         * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
21474         * check/states/sinks.c: (GST_START_TEST):
21475         * check/states/sinks2.c: (GST_START_TEST), (gst_object_suite),
21476         (main):
21477         Check fixes, use API as stated in design docs, remove hacks.
21478
21479         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
21480         (gst_base_sink_change_state):
21481         Catch stopping our task while we're shutting down.
21482
21483         * gst/gstbin.c: (gst_bin_init), (gst_bin_add_func),
21484         (gst_bin_remove_func), (gst_bin_get_state_func),
21485         (gst_bin_recalc_state), (gst_bin_change_state_func),
21486         (bin_bus_handler):
21487         * gst/gstbin.h:
21488         * gst/gstelement.c: (gst_element_init),
21489         (gst_element_get_state_func), (gst_element_abort_state),
21490         (gst_element_commit_state), (gst_element_lost_state),
21491         (gst_element_set_state), (gst_element_change_state),
21492         (gst_element_change_state_func):
21493         * gst/gstelement.h:
21494         New state change algorithm (see #318116)
21495
21496         * gst/gstpipeline.c: (gst_pipeline_class_init),
21497         (gst_pipeline_init), (gst_pipeline_set_property),
21498         (gst_pipeline_get_property), (do_pipeline_seek),
21499         (gst_pipeline_change_state), (gst_pipeline_provide_clock_func):
21500         * gst/gstpipeline.h:
21501         Remove crude state change hacks.
21502
21503         * gst/gstutils.h:
21504         Remove crude hacks.
21505
21506         * tools/gst-launch.c: (main):
21507         Fixes for state change. Needs some more work to fully use the
21508         new stuff.
21509
21510 2005-10-10  Andy Wingo  <wingo@pobox.com>
21511
21512         * tests/Makefile.am (noinst_PROGRAMS): No more init.c.
21513
21514         * gst/gst.c (G_OPTION_FLAG_NO_ARG): Apparently GLib 2.8 requires
21515         this flag, but it's not even in GLib 2.6. Odd. Hack around the
21516         issue.
21517
21518 2005-10-10  Tim-Philipp Müller  <tim at centricular dot net>
21519
21520         * gst/gstiterator.c: (gst_iterator_new):
21521           Fix my previous commit: GTypes passed to gst_iterator_new()
21522           can be fundamental types.
21523
21524 2005-10-10  Wim Taymans  <wim@fluendo.com>
21525
21526         * gst/gstelement.c: (gst_element_iterate_pad_list),
21527         (gst_element_iterate_pads), (gst_element_iterate_src_pads),
21528         (gst_element_iterate_sink_pads):
21529         Use src/sink pads lists for the respective iterators instead
21530         of filtering.
21531
21532 2005-10-10  Andy Wingo  <wingo@pobox.com>
21533
21534         Merged in popt removal + GOption addition patch from Ronald, bug
21535         #169772.
21536
21537         * docs/gst/gstreamer-sections.txt: Add STATE_(UN)LOCK_FULL, move
21538         GstElement macros around, remove popt-related symbols, add goption
21539         stuff.
21540
21541         * configure.ac: Remove popt checks, require GLib 2.6 for GOption.
21542         
21543         * docs/gst/Makefile.am:
21544         * docs/libs/Makefile.am: No POPT_CFLAGS.
21545         
21546         * examples/manual/Makefile.am:
21547         * docs/manual/basics-init.xml: Doc updates with an example.
21548         
21549         * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
21550         (gst_init), (parse_one_option), (parse_goption_arg):
21551         * gst/gst.h: Removed gst_init_with_popt_table and friends. Took a
21552         bit of hand merging and debugging to get the GOption stuff working
21553         tho.
21554         
21555         * tests/Makefile.am:
21556         * tools/Makefile.am:
21557         * tools/gst-inspect.c: (main):
21558         * tools/gst-launch.c: (main):
21559         * tools/gst-run.c: (main):
21560         * tools/gst-xmlinspect.c: (main): Thanks Ronald!
21561
21562 2005-10-10  Tim-Philipp Müller  <tim at centricular dot net>
21563
21564         * gst/gstiterator.c: (gst_iterator_new):
21565           Add assertions to make sure passed GType is likely to really
21566           be a GType (as the compiler won't catch it if the size and
21567           GType arguments get mixed up, see #318447).
21568
21569 2005-10-10  Josef Zlomek  <josef dot zlomek at xeris dot cz>
21570
21571         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
21572
21573         * gst/gstbin.c: (gst_bin_iterate_sorted):
21574           Pass GType and size arguments to gst_iterator_new() in the right
21575           order (maybe we should make _new() take the GType as first argument
21576           just like _new_list()?) (#318447).
21577           
21578
21579 2005-10-10  Wim Taymans  <wim@fluendo.com>
21580
21581         * gst/gstelement.c: (gst_element_finalize):
21582         And free the GStaticRecMutex too
21583
21584 2005-10-10  Andy Wingo  <wingo@pobox.com>
21585
21586         * gst/gstelement.c (gst_element_init, gst_element_finalize):
21587         Allocate and free the mutex properly.
21588
21589         * gst/gstelement.h (GST_STATE_UNLOCK_FULL, GST_STATE_LOCK_FULL):
21590         New macros.
21591         (GstElement): The state_lock is now recursive. Rebuild your
21592         plugins, suckers. Old macros adapted.
21593
21594         * docs/gst/gstreamer-sections.txt: Doc updates.
21595
21596         * gst/gstutils.h:
21597         * gst/gstutils.c (g_static_rec_cond_timed_wait) 
21598         (g_static_rec_cond_wait): Ported from state changes patch, while
21599         we wait on bug #317802 to be solved in a well-distributed GLib.
21600
21601         * gst/gstelement.c (gst_element_change_state_func): Renamed from
21602         gst_element_change_state, variable name changes.
21603         (gst_element_change_state): Split out of gst_element_set_state in
21604         preparation for the state change merge. Doesn't pay attention to
21605         the 'transition' argument.
21606         (gst_element_set_state): Updates, hopefully purely cosmetic.
21607         (gst_element_sync_state_with_parent): MT-safety. Ported from the
21608         state change patch.
21609         (gst_element_get_state_func): Renamed from get_state, cosmetic
21610         changes.
21611
21612 2005-10-10  Thomas Vander Stichele  <thomas at apestaart dot org>
21613
21614         * gst/elements/gstelements.c:
21615         * win32/GStreamer.vcproj:
21616         * win32/config.h:
21617         * win32/dirent.c: (_tseekdir):
21618         * win32/gst-inspect.vcproj:
21619         * win32/gst-launch.vcproj:
21620         * win32/gstconfig.h:
21621         * win32/gstelements.vcproj:
21622         * win32/gstenumtypes.c: (gst_object_flags_get_type):
21623         * win32/gstreamer.def:
21624         * win32/msvc71.sln:
21625           updates for the win32 build (patch from Sebastien Moutte)
21626
21627 2005-10-10  Andy Wingo  <wingo@pobox.com>
21628
21629         * gst/gstbin.c (gst_bin_get_state_func): Renamed from
21630         gst_bin_get_state, cleaned up (but no logic changes).
21631         (bin_element_is_sink): Comment updates.
21632         (sink_iterator_filter): Remove needless cast.
21633         (gst_bin_iterate_sinks): Doc update.
21634         (gst_bin_change_state_func): Renamed from gst_bin_change_state,
21635         cleaned up (but no logic changes).
21636
21637         * check/states/sinks.c (test_src_sink): Cleanups from the state
21638         change patch.
21639         (test_livesrc_sink): Sync on the state.
21640
21641         * check/pipelines/simple_launch_lines.c (run_pipeline): Merge from
21642         the state change patch.
21643
21644         * check/gst/gstghostpad.c (test_ghost_pads): Merge from the state
21645         change patch.
21646
21647         * check/gst/gstbin.c: Merge in some style fixes and additional
21648         checks from Wim's state change patch.
21649
21650 2005-10-10  Tim-Philipp Müller  <tim at centricular dot net>
21651
21652         * gst/base/gsttypefindhelper.c: (helper_find_peek),
21653         (gst_type_find_helper):
21654           Check whether we have the requested data already in our list of
21655           cached buffers before pulling a new buffer; also make the buffer
21656           list a GSList. Speeds up typefinding by ca. 5-10% altogether.
21657
21658 2005-10-10  Thomas Vander Stichele  <thomas at apestaart dot org>
21659
21660         * gst/gstcaps.c:
21661         * gst/gstevent.c:
21662           doc updates
21663         * gst/gstvalue.c: (gst_value_deserialize_int_helper):
21664           don't use long long, it's not portable.  Replacing with
21665           gint64 seems to work; let's hope no skeletons fall out of the closet.
21666
21667 2005-10-10  Andy Wingo  <wingo@pobox.com>
21668
21669         * autogen.sh (CONFIGURE_DEF_OPT): No more --plugin-buiddir, yay
21670
21671 2005-10-09  Stefan Kost  <ensonic@users.sf.net>
21672
21673         * docs/gst/gstreamer-sections.txt:
21674         * gst/gstevent.c:
21675         * gst/gstevent.h:
21676         * gst/gstinfo.c:
21677         * gst/gstinfo.h:
21678         * gst/gstmessage.c: (gst_message_parse_state_changed):
21679         * gst/gstpad.c:
21680         * gst/gstpad.h:
21681           more docs, fix compilation
21682
21683 2005-10-09  Philippe Khalaf <burger@speedy.org>
21684         * gst/gstmessage.c:
21685           Fixed a few forgotten variables on previous commit
21686
21687 2005-10-09  Tim-Philipp Müller  <tim at centricular dot net>
21688
21689         * gst/base/gsttypefindhelper.c: (helper_find_peek):
21690           Fix evil typefind crasher: getrange() might return a short
21691           buffer at the end of a file, but gst_type_find_peek() must
21692           either return the full data as requested or NULL, but
21693           never a short buffer.
21694
21695 2005-10-09  Thomas Vander Stichele  <thomas at apestaart dot org>
21696
21697         * gst/gstmessage.c: (gst_message_new_state_changed),
21698         (gst_message_parse_state_changed):
21699         * gst/gstmessage.h:
21700           don't use "new", it's a C++ keyword
21701
21702 2005-10-08  Wim Taymans  <wim@fluendo.com>
21703
21704         * gst/gstbin.c: (is_eos), (update_degree), (gst_bin_query):
21705         * gst/gstelement.c: (gst_element_post_message):
21706         * gst/gstpipeline.c: (gst_pipeline_change_state):
21707         Small docs and debug updates.
21708
21709 2005-10-08  Stefan Kost  <ensonic@users.sf.net>
21710
21711         * docs/gst/gstreamer-sections.txt:
21712         * gst/gstelementfactory.c:
21713         * gst/gstevent.c:
21714         * gst/gsttaglist.c:
21715           more docs
21716
21717 2005-10-08  Wim Taymans  <wim@fluendo.com>
21718
21719         * gst/gstbin.c: (is_eos), (update_degree), (gst_bin_change_state),
21720         (gst_bin_dispose), (bin_bus_handler):
21721         Fix typos, add comments.
21722         Clear EOS list when going to PAUSED from any direction and do it
21723         in a threadsafe way.
21724         Get base time in a threadsafe way too.
21725         Fix confusing debug in the change_state function.
21726         Various other small cleanups.
21727         
21728         * gst/gstelement.c: (gst_element_post_message):
21729         Fix very verbose bus posting code.
21730
21731         * gst/gstpipeline.c: (gst_pipeline_class_init),
21732         (gst_pipeline_set_property), (gst_pipeline_get_property),
21733         (gst_pipeline_change_state):
21734         Small ARG_ -> PROP_ cleanup
21735
21736 2005-10-08  Wim Taymans  <wim@fluendo.com>
21737
21738         * gst/gstbin.c: (is_eos), (bin_bus_handler):
21739         Do a less CPU demanding EOS check because we can.
21740
21741 2005-10-08  Wim Taymans  <wim@fluendo.com>
21742
21743         * libs/gst/dataprotocol/dataprotocol.c:
21744         (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
21745         (gst_dp_packet_from_event):
21746         * libs/gst/dataprotocol/dataprotocol.h:
21747         * libs/gst/dataprotocol/dp-private.h:
21748         It's about time we bump the version number.
21749         Since event types don't fit in the guint8 anymore describing
21750         the payload type, make payload type 16 bits wide.
21751
21752 2005-10-08  Wim Taymans  <wim@fluendo.com>
21753
21754         * docs/design/part-TODO.txt:
21755         * docs/design/part-clocks.txt:
21756         * docs/design/part-events.txt:
21757         * docs/design/part-gstbin.txt:
21758         * docs/design/part-gstelement.txt:
21759         * docs/design/part-gstpipeline.txt:
21760         * docs/design/part-live-source.txt:
21761         * docs/design/part-messages.txt:
21762         * docs/design/part-overview.txt:
21763         * docs/design/part-states.txt:
21764         Many doc updates.
21765
21766 2005-10-08  Wim Taymans  <wim@fluendo.com>
21767
21768         * gst/gstevent.c:
21769         * gst/gstevent.h:
21770         Fix event quark registration.
21771         Add some space between events so we can insert them in the
21772         right groups.
21773
21774 2005-10-08  Wim Taymans  <wim@fluendo.com>
21775
21776         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
21777         (gst_base_sink_handle_buffer):
21778         Better log message.
21779
21780         * gst/gstbus.h:
21781         * gst/gstelement.h:
21782         More docs.
21783
21784         * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
21785         (gst_queue_set_property), (gst_queue_get_property):
21786         * gst/gstqueue.h:
21787         Remove old unused properties.
21788
21789 2005-10-08  Stefan Kost  <ensonic@users.sf.net>
21790         * docs/gst/gstreamer-sections.txt:
21791         * gst/gstmessage.c:
21792         * gst/gstmessage.h:
21793         * gst/gstminiobject.c:
21794         * gst/gstminiobject.h:
21795         * gst/gstobject.h:
21796         * gst/gstpad.h:
21797         * gst/gstutils.h:
21798           lots of new docs and doc fixes
21799
21800 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
21801
21802         * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_load_file):
21803         * gst/gstplugin.h:
21804         * gst/gstregistry.c: (gst_registry_lookup_locked),
21805         (gst_registry_scan_path_level):
21806         * gst/gstregistryxml.c: (load_plugin):
21807           Only ever load one plugin for a given plugin basename.
21808           This ensures correct overriding of GST_PLUGIN_PATH over
21809           GST_PLUGIN_SYSTEM_PATH and of home dir plugins over
21810           system installed plugins.
21811
21812 2005-10-08  Wim Taymans  <wim@fluendo.com>
21813
21814         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
21815         (gst_base_sink_do_sync), (gst_base_sink_handle_buffer):
21816         Prepare for doing QOS.
21817
21818 2005-10-08  Wim Taymans  <wim@fluendo.com>
21819
21820         * check/gst/gstbin.c: (GST_START_TEST):
21821         * check/pipelines/cleanup.c: (GST_START_TEST):
21822         * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
21823         Allow new clock message too.
21824
21825 2005-10-08  Wim Taymans  <wim@fluendo.com>
21826
21827         * gst/gstmessage.c: (gst_message_new_error),
21828         (gst_message_new_warning), (gst_message_new_tag),
21829         (gst_message_new_state_changed), (gst_message_new_clock_provide),
21830         (gst_message_new_clock_lost), (gst_message_new_new_clock),
21831         (gst_message_new_segment_start), (gst_message_new_segment_done),
21832         (gst_message_parse_state_changed),
21833         (gst_message_parse_clock_provide), (gst_message_parse_clock_lost),
21834         (gst_message_parse_new_clock):
21835         * gst/gstmessage.h:
21836         Also carry the clock in question.
21837
21838 2005-10-08  Wim Taymans  <wim@fluendo.com>
21839
21840         * gst/gstmessage.c: (gst_message_new_custom),
21841         (gst_message_new_eos), (gst_message_new_error),
21842         (gst_message_new_warning), (gst_message_new_tag),
21843         (gst_message_new_state_changed), (gst_message_new_clock_provide),
21844         (gst_message_new_new_clock), (gst_message_new_segment_start),
21845         (gst_message_new_segment_done), (gst_message_parse_state_changed),
21846         (gst_message_parse_clock_provide), (gst_message_parse_new_clock):
21847         * gst/gstmessage.h:
21848         Clean up.
21849         Added clock related messages.
21850
21851         * gst/gstpipeline.c: (gst_pipeline_change_state):
21852         Post message when the clock changed.
21853
21854         * tools/gst-launch.c: (event_loop):
21855         Print new clock.
21856
21857 2005-10-08  Tim-Philipp Müller  <tim at centricular dot net>
21858
21859         * tools/gst-inspect.c: (print_element_properties_info):
21860           Can't pass NULL strings to g_print() on windows.
21861
21862 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
21863
21864         * docs/Makefile.am:
21865         * docs/gst/Makefile.am:
21866         * docs/gst/gstreamer-docs.sgml:
21867         * docs/gst/running.xml:
21868         * docs/version.entities.in:
21869           add a chapter on running GStreamer.
21870           document GST_DEBUG and GST_PLUGIN* env vars
21871
21872 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
21873
21874         * Makefile.am:
21875           remove include dir
21876         * configure.ac:
21877           remove PLUGINS_BUILDDIR stuff
21878         * gst/gst.c: (init_post):
21879           reorder parsing of GST_PLUGIN_PATH and GST_PLUGIN_SYSTEM_PATH
21880         * idiottest.mak:
21881           remove, it was condescending and not needed
21882
21883 2005-10-08  Wim Taymans  <wim@fluendo.com>
21884
21885         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
21886         (gst_base_sink_handle_object), (gst_base_sink_event),
21887         (gst_base_sink_wait), (gst_base_sink_handle_event),
21888         (gst_base_sink_change_state):
21889         * gst/base/gstbasesink.h:
21890         Repost EOS message while going to PLAYING if still EOS.
21891         Make sure that when receiving a FLUSH_START we don't attempt
21892         to sync on the clock anymore.
21893
21894 2005-10-08  Wim Taymans  <wim@fluendo.com>
21895
21896         * tools/gst-launch.c: (event_loop):
21897         Better message printout.
21898
21899 2005-10-08  Wim Taymans  <wim@fluendo.com>
21900
21901         * gst/gstbin.c: (gst_bin_child_proxy_get_child_by_index),
21902         (gst_bin_child_proxy_get_children_count):
21903         * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
21904         (gst_child_proxy_lookup), (gst_child_proxy_get_property),
21905         (gst_child_proxy_get_valist), (gst_child_proxy_set_property),
21906         (gst_child_proxy_set_valist):
21907         * gst/parse/grammar.y:
21908         Make ChildProxy threadsafe and fix mem leaks.
21909
21910 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
21911
21912         * gst/gst.c: (init_post):
21913           debug the GST_PLUGIN_ env vars
21914
21915 2005-10-08  Wim Taymans  <wim@fluendo.com>
21916
21917         * check/gst/gstbin.c: (GST_START_TEST):
21918         * check/gst/gstmessage.c: (GST_START_TEST):
21919         * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
21920         * gst/gstelement.c: (gst_element_commit_state),
21921         (gst_element_lost_state):
21922         * gst/gstmessage.c: (gst_message_new_state_changed),
21923         (gst_message_parse_state_changed):
21924         * gst/gstmessage.h:
21925         * tools/gst-launch.c: (event_loop):
21926         Added extra field to STATE_CHANGE message with the pending
21927         state, which will be different from the new state soon.
21928
21929 2005-10-08  Wim Taymans  <wim@fluendo.com>
21930
21931         * gst/gstbus.c: (gst_bus_pop):
21932         * gst/gstclock.c:
21933         * gst/gstsystemclock.c: (gst_system_clock_async_thread):
21934         Small cleanups and doc updates.
21935
21936 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
21937
21938         * gst/gst.c: (init_pre):
21939         * gst/gstbin.c: (gst_bin_add_func):
21940           log distributing clocks and base time
21941         * gst/gstregistry.c: (gst_registry_add_plugin),
21942         (gst_registry_scan_path_level), (gst_registry_scan_path):
21943           clean up the debugging output a little
21944         * gst/gstutils.c: (gst_element_state_get_name):
21945           warn about a memleak (I've actually seen this be used, though
21946           it was probably a bug)
21947
21948 2005-10-07  Wim Taymans  <wim@fluendo.com>
21949
21950         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
21951         (gst_base_src_init), (gst_base_src_default_newsegment),
21952         (gst_base_src_newsegment), (gst_base_src_do_seek),
21953         (gst_base_src_loop), (gst_base_src_start):
21954         * gst/base/gstbasesrc.h:
21955         Make the newsegment event customizable by subclasses.
21956
21957 2005-10-07  Wim Taymans  <wim@fluendo.com>
21958
21959         * gst/gstevent.c: (gst_event_new_buffersize),
21960         (gst_event_parse_buffersize):
21961         * gst/gstevent.h:
21962         New event for future idea.
21963
21964 2005-10-07  Andy Wingo  <wingo@pobox.com>
21965
21966         * gst/gstelement.c (gst_element_post_message): Doc update.
21967
21968         * docs/gst/gstreamer-sections.txt: Update.
21969
21970         * gst/gstmessage.c (gst_message_new_application): Made into a
21971         function like honest API calls.
21972         (gst_message_new_element): New message type.
21973
21974         * gst/gstmessage.h (enum): Add GST_MESSAGE_ELEMENT type.
21975
21976         * check/elements/fakesrc.c (test_no_preroll): New check, checks
21977         that setting a live fakesrc to PAUSED returns NO_PREROLL both
21978         times.
21979
21980         * gst/base/gstbasesrc.c (gst_base_src_change_state): Allow a
21981         NO_PREROLL from gst_element_change_state to fall through.
21982
21983 2005-10-07  Wim Taymans  <wim@fluendo.com>
21984
21985         * gst/gstghostpad.c: (gst_ghost_pad_get_internal),
21986         (gst_ghost_pad_do_activate_push):
21987         Activating a ghostpad with no internal pad in push mode
21988         is ok.
21989
21990 2005-10-07  Thomas Vander Stichele  <thomas at apestaart dot org>
21991
21992         * gst/gstobject.h:
21993           there's no point in wrapping FLAG_SET/_UNSET in STMT macros.
21994           Fixes compilation on Windows.
21995
21996 2005-10-07  Michael Smith <msmith@fluendo.com>
21997
21998         * tools/gst-inspect.c:
21999           Print out feature and plugin count at the end when printing out
22000           all features.
22001
22002 2005-10-04  Michael Smith <msmith@fluendo.com>
22003
22004         * gst/gsterror.c: (_gst_stream_errors_init):
22005           Add another error string used in a few existing plugins.
22006
22007         * gst/gstplugin.c:
22008         * gst/gstpluginfeature.c: (gst_plugin_feature_load):
22009         * tools/gst-inspect.c: (print_element_info):
22010           When a feature disappears from a plugin (and the feature exists in
22011           the cached registry file), things went horribly wrong. This isn't a
22012           complete fix, we should actually be removing the 'missing' features
22013           from the features list when we load the actual plugin. That's not
22014           yet implemented. 
22015
22016 2005-10-04  Johan Dahlin  <johan@gnome.org>
22017
22018         * check/gst/gstiterator.c: (GST_START_TEST):
22019         * gst/gstbin.c: (gst_bin_iterate_elements),
22020         (gst_bin_iterate_recurse), (gst_bin_iterate_sorted):
22021         * gst/gstelement.c: (gst_element_iterate_pads):
22022         * gst/gstformat.c: (gst_format_iterate_definitions):
22023         * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
22024         (gst_iterator_new_list), (gst_iterator_filter):
22025         * gst/gstiterator.h:
22026         * gst/gstquery.c: (gst_query_type_iterate_definitions):
22027         Add a GType to GstIterator, update callsites and tests.
22028
22029 2005-10-06  Thomas Vander Stichele  <thomas at apestaart dot org>
22030
22031         * gst/gstpad.c: (gst_pad_event_default_dispatch):
22032           give events a chance to be handled by event probes when the pad
22033           is not linked
22034
22035 2005-10-06  Thomas Vander Stichele  <thomas at apestaart dot org>
22036
22037         * gst/gstevent.c: (gst_event_type_get_name),
22038         (gst_event_type_to_quark), (gst_event_finalize), (gst_event_new):
22039         * gst/gstevent.h:
22040           add string representations for event types
22041
22042 2005-10-06  Wim Taymans  <wim@fluendo.com>
22043
22044         * gst/elements/gstfilesink.c: (gst_file_sink_close_file):
22045         Don't use NULL pointers.
22046
22047 2005-10-06  Thomas Vander Stichele  <thomas at apestaart dot org>
22048
22049         * gst/gst_private.h:
22050         * gst/gstbus.c:
22051         * gst/gstelement.c:
22052         * gst/gstinfo.c:
22053         * gst/gstpluginfeature.c:
22054           widen the debug category in output to fit the biggest one we have
22055           add a bus category and use it
22056           play with the colors
22057           fix up some categories
22058
22059 2005-10-06  Thomas Vander Stichele  <thomas at apestaart dot org>
22060
22061         * gst/gstghostpad.c: (gst_ghost_pad_internal_do_activate_push):
22062           add push activation of sink ghost pads.
22063           Andye, please verify
22064
22065 2005-10-05  Thomas Vander Stichele  <thomas at apestaart dot org>
22066
22067         * gst/gstutils.c: (gst_element_link_pads):
22068           fix a bug in the case where neither element has a pad
22069         * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
22070           add a test for that case
22071
22072 2005-10-05  Thomas Vander Stichele  <thomas at apestaart dot org>
22073
22074         * gst/gstpad.c: (gst_pad_push), (gst_pad_push_event):
22075           emit have-data before checking for peers.  This allows
22076           for probe handlers to connect elements.  This helps autopluggers.
22077         * check/gst/gstpad.c: (GST_START_TEST), (_probe_handler),
22078         (gst_pad_suite):
22079           add six checks, linked/unlinked with no/true/false probe
22080
22081 2005-10-04  Wim Taymans  <wim@fluendo.com>
22082
22083         * gst/elements/gstfakesink.c: (gst_fake_sink_get_property),
22084         (gst_fake_sink_event), (gst_fake_sink_preroll),
22085         (gst_fake_sink_render), (gst_fake_sink_change_state):
22086         * gst/elements/gstfakesrc.c: (gst_fake_src_event_handler),
22087         (gst_fake_src_get_property), (gst_fake_src_create),
22088         (gst_fake_src_stop):
22089         * gst/elements/gstidentity.c: (gst_identity_stop):
22090         Protect last_message with lock.
22091
22092 2005-10-04  Edward Hervey  <edward@fluendo.com>
22093
22094         * gst/gstformat.h: 
22095         Added precision in the comments for GST_FORMAT_DEFAULT
22096
22097 2005-10-04  Tim-Philipp Müller  <tim at centricular dot net>
22098
22099         * tools/gst-launch.c: (main):
22100           Don't try to run erroneous pipelines.
22101
22102 2005-10-04  Julien MOUTTE  <julien@moutte.net>
22103
22104         * gst/gstbus.c: We don't need this header.
22105
22106 2005-10-03  Thomas Vander Stichele  <thomas at apestaart dot org>
22107
22108         * configure.ac:
22109           back to development
22110
22111 === release 0.9.3 ===
22112
22113 2005-10-03  Thomas Vander Stichele  <thomas at apestaart dot org>
22114
22115         * README:
22116         * configure.ac:
22117           Releasing 0.9.3, "Unregistered"
22118
22119 2005-10-03  Andy Wingo  <wingo@pobox.com>
22120
22121         * gst/gstpad.c (gst_pad_activate_push): There is a race condition
22122         whereby calling a pad's activatepush() function can start a thread
22123         that starts to push or pull before the pad gets the FLUSHING flag
22124         unset. Hack around it by holding the stream lock until the flag is
22125         set. Need to replace this with a proper solution. Together with
22126         the ghost pad fixes, this fixes mp3 playing/tagreading.
22127
22128         * docs/design/part-gstghostpad.txt: Add a note about activation of
22129         proxy pads outside of ghost pads.
22130
22131         * gst/gstghostpad.c: Implement the ghost pad activation design.
22132
22133 2005-10-02  Andy Wingo  <wingo@pobox.com>
22134
22135         * gst/gstobject.h (GST_OBJECT_REFCOUNT_VALUE): Just use the int.
22136         It is volatile, after all.
22137
22138         * docs/design/part-gstghostpad.txt: Flesh out activation with
22139         ghost pads.
22140
22141         * gst/base/gstbasesrc.c (gst_base_src_init): Use
22142         GST_DEBUG_FUNCPTR.
22143
22144 2005-10-02  Tim-Philipp Müller  <tim at centricular dot net>
22145
22146         * configure.ac:
22147           Fix (unused) AM_CONDITIONAL tests.
22148
22149 2005-10-01  Alessandro Decina  <alessandro at nnva dot org>
22150
22151         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
22152
22153         * gst/gstutils.c: (gst_pad_query_convert):
22154           Add assertion that makes sure src_val is >=0, just like
22155           gst_query_new_convert() has. (#315895)
22156
22157 2005-09-30  Edward Hervey  <edward@fluendo.com>
22158
22159         * gst/elements/gsttee.c: (gst_tee_do_push), (gst_tee_handle_buffer):
22160         Let's not iterate pads we're not interested in, it avoids getting 
22161         sky-high refcounts on sinkpad.
22162
22163 2005-09-30  Wim Taymans  <wim@fluendo.com>
22164
22165         * gst/gstelement.c: (gst_element_set_state),
22166         (gst_element_change_state):
22167         Small tweak, element in ASYNC remains ASYNC.
22168
22169 2005-09-30  Wim Taymans  <wim@fluendo.com>
22170
22171         * gst/base/gstbasesink.c: (gst_base_sink_change_state):
22172         Only error is an error.
22173
22174         * gst/gstbin.c: (gst_bin_change_state):
22175         Better debugging.
22176
22177         * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_chain):
22178         Also call pad_block in pad alloc.
22179
22180         * gst/gstutils.c: (gst_flow_get_name):
22181         Better debugging.
22182
22183 2005-09-29  Tim-Philipp Müller  <tim at centricular dot net>
22184
22185         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
22186         (gst_base_src_get_range):
22187           Fix documentation typos. Add some more debug info.
22188
22189 2005-09-29  David Schleef  <ds@schleef.org>
22190
22191         * gst/gstplugin.c: (gst_plugin_load_file): Make some error messages
22192           more end-user friendly.
22193         * tools/gst-inspect.c: (main): Check if command-line argument is
22194           a file and attempt to load that file as a plugin.
22195
22196 2005-09-29  Thomas Vander Stichele  <thomas at apestaart dot org>
22197
22198         * check/gst/gstbin.c:
22199         * check/states/sinks.c:
22200           fix tests for the new warning
22201         * check/gst/gstpipeline.c:
22202           add a test for pipeline and bus interaction
22203         * gst/gstelement.c:
22204           elements should be NULL if they get disposed; add a warning if not
22205
22206 2005-09-29  Thomas Vander Stichele  <thomas at apestaart dot org>
22207
22208         * gst/gstobject.c:
22209           for 2.6 refcounting, make debug log more correct by printing
22210           the actual refcounts at the time of swap (Wim)
22211
22212 2005-09-29  Andy Wingo  <wingo@pobox.com>
22213
22214         * gst/gstbus.c (gst_bus_remove_signal_watch): New function,
22215         removes signal watches previously added via
22216         gst_bus_add_signal_watch.
22217         (gst_bus_add_signal_watch): Don't return the source id, just store
22218         it on the bus if there wasn't an id already.
22219
22220         * gst/gstbus.h (GstBus): Add a couple new fields. API changes for
22221         add_signal_watch and remove_signal_watch.
22222
22223 2005-09-29  Edward Hervey  <edward@fluendo.com>
22224
22225         * libs/gst/controller/gstcontroller.c: (gst_controller_new_list): 
22226         Better if we actually iterate the list :)
22227
22228 2005-09-29  Wim Taymans  <wim@fluendo.com>
22229
22230         * check/gst/gstbin.c: (GST_START_TEST):
22231         Change for new bus API.
22232
22233         * check/gst/gstbus.c: (message_func_eos), (message_func_app),
22234         (send_messages), (GST_START_TEST), (gstbus_suite):
22235         Change for new bus signal API.
22236
22237         * gst/gstbus.c: (gst_bus_class_init), (gst_bus_have_pending),
22238         (gst_bus_source_prepare), (gst_bus_source_check),
22239         (gst_bus_create_watch), (gst_bus_add_watch_full),
22240         (gst_bus_add_watch), (gst_bus_poll), (gst_bus_async_signal_func),
22241         (gst_bus_sync_signal_handler), (gst_bus_add_signal_watch):
22242         * gst/gstbus.h:
22243         Remove support for multiple GSources operating on different
22244         message types as it is too complex and unneeded when using
22245         signals.
22246         Added support for receiving signals from the bus.
22247
22248 2005-09-29  Thomas Vander Stichele  <thomas at apestaart dot org>
22249
22250         * docs/libs/tmpl/gstdataprotocol.sgml:
22251         * docs/manual/advanced-dataaccess.xml:
22252         * gst/elements/gstcapsfilter.c:
22253         * gst/gstutils.c:
22254           rename filter-caps to caps property
22255
22256 2005-09-29  Tim-Philipp Müller  <tim at centricular dot net>
22257
22258         * gst/gstvalue.c: (gst_value_deserialize_fraction):
22259           More robust fraction string parsing.
22260
22261         * docs/pwg/appendix-porting.xml:
22262           Mention gst_pad_use_explicit_caps() => gst_pad_use_fixed_caps()
22263
22264 2005-09-29  Tim-Philipp Müller  <tim at centricular dot net>
22265
22266         * gst/gstcaps.c: (gst_caps_do_simplify):
22267           Thou shalt not free a structure and then continue using it
22268           in the next loop iteration.
22269
22270         * check/gst/gstcaps.c: (check_fourcc_list), (test_simplify),
22271         (gst_caps_suite):
22272           Add test case for caps simplification.
22273
22274 2005-09-29  Wim Taymans  <wim@fluendo.com>
22275
22276         * check/gst/gstbin.c: (GST_START_TEST):
22277         Oops.
22278
22279 2005-09-29  Wim Taymans  <wim@fluendo.com>
22280
22281         * check/gst/gstbin.c: (GST_START_TEST):
22282         Add bus to bin.
22283
22284         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
22285         (add_to_queue), (clear_queue), (reset_degree), (update_degree),
22286         (find_element), (gst_bin_sort_iterator_next),
22287         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
22288         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
22289         (gst_bin_change_state), (gst_bin_dispose):
22290         A bin does not have a bus, it gets the bus from the parent.
22291
22292         * gst/gstelement.c: (gst_element_requires_clock),
22293         (gst_element_provides_clock), (gst_element_is_indexable),
22294         (gst_element_is_locked_state), (gst_element_change_state),
22295         (gst_element_set_bus_func):
22296         Small cleanups.
22297
22298         * gst/gstpipeline.c: (gst_pipeline_class_init),
22299         (gst_pipeline_init), (gst_pipeline_provide_clock_func):
22300         The pipeline provides a bus.
22301
22302 2005-09-28  Johan Dahlin  <johan@gnome.org>
22303
22304         * gst/gstmessage.c (gst_message_parse_state_changed): Use
22305         gst_structure_get_enum instead of gst_structure_get_int
22306
22307         * gst/gststructure.c (gst_structure_get_enum): Impl.
22308
22309         * gst/gststructure.h (gst_structure_get_enum): Add
22310
22311         * docs/gst/gstreamer-sections.txt: Ditto
22312
22313         * gst/gstmessage.c (gst_message_new_state_changed): Use
22314         GST_TYPE_STATE instead of G_TYPE_INT, mainly for language bindings
22315         which does introspection.
22316         Reviewed by Christian Schaller
22317
22318 2005-09-28  Stefan Kost  <ensonic@users.sf.net>
22319
22320         * gst/gstinfo.c: (gst_debug_log_default):
22321           don't do dummy g_strdup()s
22322         * libs/gst/controller/gstcontroller.c:
22323         (on_object_controlled_property_changed),
22324         (gst_controlled_property_new), (gst_controller_new_valist),
22325         (gst_controller_new_list),
22326         (gst_controller_remove_properties_valist), (gst_controller_set),
22327         (gst_controller_get), (gst_controller_sync_values),
22328         (gst_controller_get_value_array), (_gst_controller_class_init),
22329         (gst_controller_get_type):
22330         * libs/gst/controller/gstcontroller.h:
22331         * libs/gst/controller/gstinterpolation.c:
22332         (gst_controlled_property_find_timed_value_node):
22333           convert // to /**/ comments
22334
22335 2005-09-28  Wim Taymans  <wim@fluendo.com>
22336
22337         * gst/gstbus.c: (marshal_VOID__MINIOBJECT), (gst_bus_class_init),
22338         (gst_bus_post), (poll_func), (gst_bus_async_signal_func),
22339         (gst_bus_sync_signal_handler):
22340         * gst/gstbus.h:
22341         Added async-message and sync-message signals to the bus.
22342         Added helper BusFunc to emit signals for all posted messages.
22343
22344         * gst/gstmessage.c: (gst_message_type_get_name),
22345         (gst_message_type_to_quark), (gst_message_get_type):
22346         * gst/gstmessage.h:
22347         Register quarks for message names.
22348
22349 2005-09-28  Stefan Kost  <ensonic@users.sf.net>
22350
22351         * docs/libs/gstreamer-libs-sections.txt:
22352         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
22353         (gst_controller_new_list):
22354         * libs/gst/controller/gstcontroller.h:
22355           added another constructor for language bindings
22356
22357 2005-09-28  Thomas Vander Stichele  <thomas at apestaart dot org>
22358
22359         * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
22360           add another check
22361         * gst/gstbus.c:
22362           add some doc
22363         * gst/gstinfo.c: (_gst_debug_init):
22364           slightly more readable color for refcount debugging
22365
22366 2005-09-28  Wim Taymans  <wim@fluendo.com>
22367
22368         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_provide_clock_func),
22369         (add_to_queue), (clear_queue), (reset_degree), (update_degree),
22370         (find_element), (gst_bin_sort_iterator_next),
22371         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
22372         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
22373         (gst_bin_change_state), (gst_bin_dispose):
22374         Small doc fixes. get_clock -> provide_clock.
22375
22376         * gst/gstelement.c: (gst_element_class_init),
22377         (gst_element_provides_clock), (gst_element_provide_clock),
22378         (gst_element_get_clock), (gst_element_commit_state),
22379         (gst_element_lost_state):
22380         * gst/gstelement.h:
22381         Make get/set_clock() symetric. Add provide_clock vmethod since
22382         that is actually what this function does.
22383
22384         * gst/gstpipeline.c: (gst_pipeline_class_init),
22385         (gst_pipeline_change_state), (gst_pipeline_provide_clock_func),
22386         (gst_pipeline_get_clock):
22387         get_clock -> provide_clock.
22388
22389 2005-09-28  Andy Wingo  <wingo@pobox.com>
22390
22391         * gst/base/gstbasesrc.c (gst_base_src_unlock): Comment a bit in
22392         lieu of real docs...
22393
22394         * gst/elements/gstfdsrc.c: Cleaned up a bit.
22395
22396 2005-09-28  Tim-Philipp Müller  <tim at centricular dot net>
22397
22398         * gst/elements/gstcapsfilter.c:
22399         * gst/elements/gstfakesink.c:
22400         * gst/elements/gstfakesrc.c:
22401         * gst/elements/gstfdsink.c:
22402         * gst/elements/gstfdsrc.c:
22403         * gst/elements/gstfilesink.c:
22404         * gst/elements/gstfilesrc.c:
22405         * gst/elements/gstidentity.c:
22406         * gst/elements/gsttee.c:
22407         * gst/elements/gsttypefindelement.c:
22408           Make element details static.
22409
22410 2005-09-28  Wim Taymans  <wim@fluendo.com>
22411
22412         * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
22413         (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
22414         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
22415         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
22416         (gst_bin_change_state), (gst_bin_dispose):
22417         Some documentation updates.
22418         Clean up dispose handlers.
22419
22420         * gst/gstobject.c: (gst_object_ref), (gst_object_unref):
22421         * gst/gstpad.c: (gst_pad_dispose):
22422         Clean up dispose handler.
22423
22424         * gst/gstpipeline.c: (gst_pipeline_change_state):
22425         Removed spurious UNLOCK.
22426
22427 2005-09-27  Stefan Kost  <ensonic@users.sf.net>
22428
22429         * docs/gst/gstreamer-sections.txt:
22430         * gst/base/gstbasesrc.h:
22431         * gst/gstelement.h:
22432         * gst/gstevent.h:
22433         * gst/gstobject.h:
22434         * gst/gstpad.h:
22435         * gst/gstpipeline.c:
22436         * gst/gstpipeline.h:
22437         * gst/gstutils.h:
22438         * gst/gstxml.h:
22439           added two new functions to the docs
22440                 documents all undocumented GstXXXFlags
22441                 completed some incomplete docs 
22442
22443 2005-09-27  Thomas Vander Stichele  <thomas at apestaart dot org>
22444
22445         * gst/gstbin.c: (gst_bin_dispose):
22446         * gst/gstelement.c: (gst_element_dispose):
22447           remove now useless and leaky resurrection code in dispose
22448         * gst/base/gstbasesrc.c: (gst_base_src_init):
22449         * gst/gstelementfactory.c: (gst_element_factory_create):
22450         * gst/gstobject.c: (gst_object_set_parent):
22451           add some debugging
22452
22453 2005-09-27  Wim Taymans  <wim@fluendo.com>
22454
22455         * docs/design/part-TODO.txt:
22456         Update TODO.
22457
22458         * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
22459         (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
22460         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
22461         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
22462         (gst_bin_change_state):
22463         * gst/gstelement.h:
22464         Remove element variable, we keep element info in the iterator now.
22465
22466 2005-09-27  Andy Wingo  <wingo@pobox.com>
22467
22468         * libs/gst/dataprotocol/dataprotocol.c: Fix error-checking return
22469         values.
22470
22471 2005-09-27  Wim Taymans  <wim@fluendo.com>
22472
22473         * check/gst/gstbin.c: (GST_START_TEST):
22474         Enable check that works now.
22475
22476         * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
22477         (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
22478         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
22479         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
22480         (gst_bin_change_state):
22481         * gst/gstbin.h:
22482         Redid the state change algorithm using a topological sort algo.
22483         Handles all cases correctly.
22484         Exposed iterator for state change order.
22485
22486         * gst/gstelement.h:
22487         Temp storage for state changes. Need to get rid of this soon.
22488
22489 2005-09-27  Wim Taymans  <wim@fluendo.com>
22490
22491         * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_do_push):
22492         * gst/gstutils.c: (intersect_caps_func), (gst_pad_proxy_getcaps),
22493         (link_fold_func), (gst_pad_proxy_setcaps):
22494         Leak fixes, the fold functions need to unref the passed object and
22495         _get_parent_*() returns ref to parent.
22496
22497 2005-09-27  Tim-Philipp Müller  <tim at centricular dot net>
22498
22499         * check/gst/gstbuffer.c: (test_make_writable):
22500           Plug leak in test case and fix 'make check-valgrind'
22501
22502 2005-09-27  Tim-Philipp Müller  <tim at centricular dot net>
22503
22504         * gst/gstbuffer.c: (gst_subbuffer_init):
22505           Set READONLY flag on subbuffers, so that gst_buffer_make_writable()
22506           works correctly in all circumstances (we could have just copied
22507           the parent buffer's readonly flag, but conceptually it seems
22508           cleaner to mark all subbuffers as read-only). (based on patch
22509           by Alessandro Decina, #314710).
22510         
22511         * check/gst/gstbuffer.c: (create_read_only_buffer),
22512         (test_make_writable), (test_subbuffer_make_writable),
22513         (gst_test_suite):
22514           Add some tests for gst_buffer_make_writable().
22515
22516 2005-09-27  Wim Taymans  <wim@fluendo.com>
22517
22518         * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_change_state):
22519         use gst_object_has_ancestor().
22520
22521         * gst/gstobject.c: (gst_object_has_ancestor):
22522         * gst/gstobject.h:
22523         gst_object_has_ancestor() copied from gstbin.c as it is a
22524         useful function.
22525
22526         * tests/instantiate/create.c: (create_all_elements):
22527         * tests/lat.c: (handoff_src), (handoff_sink):
22528         * tests/sched/runxml.c: (main):
22529         * tests/seeking/seeking1.c: (main):
22530         * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
22531         (main):
22532         Fix compilation of some tests.
22533
22534 2005-09-27  Tim-Philipp Müller  <tim at centricular dot net>
22535
22536         * gst/gsterror.h:
22537           Remove comment. GST_TYPE_G_ERROR is here to stay,
22538           G_TYPE_ERROR has been WONTFIX'ed by the GLib folks
22539           (#316961, #300610).
22540
22541 2005-09-26  Wim Taymans  <wim@fluendo.com>
22542
22543         * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
22544         Added check that shows error in state change order.
22545
22546 2005-09-26  Wim Taymans  <wim@fluendo.com>
22547
22548         * gst/gstbin.c: (gst_bin_change_state):
22549         Make state change function use 3 queues again, we were
22550         adding elements in the wrong order.
22551
22552         * gst/gstghostpad.c: (gst_ghost_pad_do_unlink):
22553         Some debug info,
22554
22555         * gst/gstpad.c: (gst_pad_dispose):
22556         Added some debug info first.
22557
22558 2005-09-26  Tim-Philipp Müller  <tim at centricular dot net>
22559
22560         * docs/design/draft-push-pull.txt:
22561         * docs/design/part-events.txt:
22562         * docs/design/part-overview.txt:
22563         * docs/design/part-scheduling.txt:
22564           Replace all _pull_region() with _pull_range()
22565           
22566 2005-09-26  Andy Wingo  <wingo@pobox.com>
22567
22568         * gst/gstvalue.c (_gst_value_initialize): Better fakeout.
22569
22570         * check/gst-libs/controller.c: Update for controller api change.
22571
22572         * configure.ac: 
22573         * tests/Makefile.am:
22574         * tests/memchunk: Remove memchunk benchmark stuff, this is taken
22575         over by GLib bug 118439.
22576         
22577         * gst/base/gstbasesink.c (gst_base_sink_wait): Factor out the wait
22578         routines to a function.
22579
22580         * docs/libs/gstreamer-libs-sections.txt: I am a good person today.
22581
22582         * libs/gst/controller/gsthelper.c:
22583         * libs/gst/controller/gstcontroller.h (gst_controller_sync_values)
22584         (gst_object_sync_values): Renamed from sink_values. Ugh.
22585
22586         * libs/gst/controller/gsthelper.c: Update for __gst_controller_key.
22587
22588         * libs/gst/controller/gstcontroller.c (__gst_controller_key):
22589         Renamed from controller_key, as it is exported.
22590
22591         * gst/gstvalue.c (_gst_value_initialize): Fake out the compiler.
22592
22593 2005-09-26  Thomas Vander Stichele  <thomas at apestaart dot org>
22594
22595         * gst/Makefile.am:
22596         * gst/gst.h:
22597         * gst/gstpad.h:
22598         * gst/gstpadtemplate.h:
22599         * gst/gstquery.c:
22600         * gst/gstquery.h:
22601         * gst/gstqueryutils.c:
22602         * gst/gstqueryutils.h:
22603           remove queryutils headers after moving the two used functions
22604           to gstquery.  also fixes build problem for gstsiddec
22605
22606 2005-09-26  Michael Smith <msmith@fluendo.com>
22607
22608         * tools/gst-launch.1.in:
22609         Correct documentation in manpage of debug syntax
22610
22611 2005-09-26  Wim Taymans  <wim@fluendo.com>
22612
22613         * gst/base/gstbasesrc.c: (gst_base_src_get_range),
22614         (gst_base_src_is_seekable), (gst_base_src_change_state):
22615         Some more debugging info.
22616
22617 2005-09-25  Stefan Kost  <ensonic@users.sf.net>
22618
22619         * docs/gst/gstreamer-sections.txt:
22620         * gst/base/gstbasetransform.h:
22621         * gst/gstindex.h:
22622           added more docs
22623
22624 2005-09-25  Stefan Kost  <ensonic@users.sf.net>
22625
22626         * docs/gst/.cvsignore:
22627         * docs/gst/tmpl/.cvsignore:
22628         * docs/gst/tmpl/gstpipeline.sgml:
22629         * docs/gst/tmpl/gstplugin.sgml:
22630         * gst/gstpipeline.c:
22631         * gst/gstplugin.c:
22632         * gst/gstplugin.h:
22633           inlined the last two docs files
22634           removed the tmpl directory from cvs (no more conflicts here!)
22635
22636 2005-09-25  Stefan Kost  <ensonic@users.sf.net>
22637
22638         * docs/gst/gstreamer-sections.txt:
22639         * docs/gst/tmpl/.cvsignore:
22640         * docs/gst/tmpl/gstpad.sgml:
22641         * docs/gst/tmpl/gstpadtemplate.sgml:
22642         * gst/Makefile.am:
22643         * gst/gstpad.c: (gst_pad_class_init), (gst_pad_dispose),
22644         (gst_pad_finalize), (gst_pad_set_pad_template):
22645         * gst/gstpad.h:
22646         * gst/gstpadtemplate.c: (gst_pad_template_get_type),
22647         (gst_pad_template_class_init), (gst_pad_template_init),
22648         (gst_pad_template_dispose), (name_is_valid),
22649         (gst_static_pad_template_get), (gst_pad_template_new),
22650         (gst_static_pad_template_get_caps), (gst_pad_template_get_caps),
22651         (gst_pad_template_pad_created):
22652         * gst/gstpadtemplate.h:
22653           inlined two more docs
22654           factored gstpadtemplate out of gstpad
22655
22656 2005-09-24  Tim-Philipp Müller  <tim at centricular dot net>
22657
22658         * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
22659         (test_children_state_change_order_semi_sink):
22660           Fix test case: we can't rely on a fixed state change order when
22661           going from READY => PAUSED because the sink might commit its 
22662           new state first when the first buffer created by the source 
22663           reaches the sink before the source has finished its change state.
22664           (Test case still fails at times, see #316856, comment 5 onwards)
22665
22666 2005-09-24  Wim Taymans  <wim@fluendo.com>
22667
22668         * docs/design/part-events.txt:
22669         * docs/design/part-gstbus.txt:
22670         * docs/design/part-gstpipeline.txt:
22671         * docs/design/part-messages.txt:
22672         * docs/design/part-overview.txt:
22673         * docs/design/part-segments.txt:
22674         * gst/gstbin.c:
22675         * gst/gstbuffer.c:
22676         * gst/gstclock.c:
22677         * gst/gstelement.c:
22678         * gst/gstevent.c:
22679         * gst/gstfilter.c:
22680         * gst/gstiterator.c:
22681         Various documentation updates.
22682
22683 2005-09-24  Thomas Vander Stichele  <thomas at apestaart dot org>
22684
22685         * gst/gstclock.h:
22686           Well, that's embarassing.  Luckily we weren't using
22687           GST_CLOCK_DIFF anywhere.
22688
22689 2005-09-23  Thomas Vander Stichele  <thomas at apestaart dot org>
22690
22691         * common/gtk-doc.mak:
22692           don't fail on building XML, FC4 slave shows a bunch of doc
22693           missing bits that I don't get
22694         * gst/gstpad.c:
22695         * gst/gstpipeline.c:
22696         * gst/gststructure.c:
22697           some doc updates
22698
22699 2005-09-23  Tim-Philipp Müller  <tim at centricular dot net>
22700
22701         * docs/design/part-gstbin.txt:
22702         * docs/design/part-gstbus.txt:
22703         * gst/gstbus.c:
22704           Add blurb about how the bus goes into flushing mode and
22705           drops all messages when its bin goes from READY into NULL 
22706           state.
22707
22708 2005-09-23  Thomas Vander Stichele  <thomas at apestaart dot org>
22709
22710         * docs/gst/gstreamer-sections.txt:
22711         * gst/gststructure.c: (gst_structure_get_clock_time):
22712         * gst/gststructure.h:
22713           add a method to get a GstClockTime out of a structure
22714
22715 2005-09-23  Tim-Philipp Müller  <tim at centricular dot net>
22716
22717         * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
22718         (test_children_state_change_order_semi_sink), (gst_bin_suite):
22719           Added test to check state change order in bins (can still be made
22720           to fail here under heavy disk load; bails out with 'Push on pad
22721           fakesink:sink0, but it was not activated in push mode').
22722
22723         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_change_state):
22724           Fix state change order when there is only a semi sink (#316856)
22725
22726         * gst/gstbus.c: (gst_bus_class_init):
22727           Use _class_peek_parent(), not _class_ref(); fix docs to say
22728           'default main context' instead of 'mainloop' where that is
22729           what's meant.
22730
22731         * gst/gstelement.c: (gst_element_commit_state),
22732         (gst_element_set_state):
22733           Fix typos in debug messages
22734
22735 2005-09-23  Thomas Vander Stichele  <thomas at apestaart dot org>
22736
22737         * docs/README:
22738         * gst/gstpad.c: (gst_pad_class_init), (gst_pad_chain):
22739         * gst/gstpluginfeature.c:
22740         * gst/gstutils.c:
22741           various doc updates
22742         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
22743           change an assert into an error until it gets fixed properly
22744
22745 2005-09-23  Stefan Kost  <ensonic@users.sf.net>
22746
22747         * docs/gst/gstreamer-sections.txt:
22748         * docs/gst/tmpl/.cvsignore:
22749         * docs/gst/tmpl/gstelement.sgml:
22750         * docs/gst/tmpl/gstinfo.sgml:
22751         * docs/gst/tmpl/gstobject.sgml:
22752         * gst/gstelement.c:
22753         * gst/gstelement.h:
22754         * gst/gstinfo.c:
22755         * gst/gstinfo.h:
22756         * gst/gstobject.c: (gst_object_class_init):
22757         * gst/gstobject.h:
22758           inlined 3 more biiiig doc files and added some missing docs on the fly
22759
22760 2005-09-23  Thomas Vander Stichele  <thomas at apestaart dot org>
22761
22762         * check/gst/.cvsignore:
22763         * check/gst/gstplugin.c: (GST_START_TEST), (gst_plugin_suite):
22764         * gst/gstregistryxml.c: (load_plugin),
22765         (gst_registry_xml_save_plugin):
22766           put back source in registry.  add checks for find_plugin.
22767         * testsuite/states/bin.c: (assert_state), (empty_bin),
22768         (test_adding_one_element), (main):
22769         * testsuite/states/locked.c: (main):
22770           some compile/run fixes
22771
22772 2005-09-22  Thomas Vander Stichele  <thomas at apestaart dot org>
22773
22774         * check/gst/gstvalue.c: (GST_START_TEST):
22775           fix leaks in the test itself
22776
22777 2005-09-22  Wim Taymans  <wim@fluendo.com>
22778
22779         * gst/base/gstbasesink.c: (gst_base_sink_class_init),
22780         (gst_base_sink_send_event), (gst_base_sink_peer_query),
22781         (gst_base_sink_query):
22782         Prepare for more accurate position reporting and query
22783         handling.
22784
22785         * gst/gstelement.c: (gst_element_send_event),
22786         (gst_element_set_state):
22787         Add some comment.
22788
22789 2005-09-22  Wim Taymans  <wim@fluendo.com>
22790
22791         * gst/gstquery.c: (gst_query_new_segment), (gst_query_set_segment),
22792         (gst_query_parse_segment):
22793         * gst/gstquery.h:
22794         More documentation.
22795         Add segment query for future use.
22796
22797 2005-09-22  Wim Taymans  <wim@fluendo.com>
22798
22799         * gst/gstbin.c: (gst_bin_add_func):
22800         Some more debug info.
22801
22802         * gst/gstelement.c: (gst_element_send_event):
22803         Simplify send_event
22804
22805         * gst/gstelement.h:
22806         Don't know how flags got broken.
22807
22808         * gst/gstquery.h:
22809         Added new query.
22810
22811 2005-09-22  Tim-Philipp Müller  <tim at centricular dot net>
22812
22813         * check/gst/gstvalue.c: (test_date), (gst_value_suite):
22814           Add simplistic test suite for GST_TYPE_DATE serialisation and
22815           deserialisation.
22816
22817 2005-09-22  Tim-Philipp Müller  <tim at centricular dot net>
22818
22819         * docs/gst/gstreamer-sections.txt:
22820         * gst/gststructure.c: (gst_structure_set_valist),
22821         (gst_structure_get_date):
22822         * gst/gststructure.h:
22823         * gst/gstvalue.c: (gst_value_set_date), (gst_value_get_date),
22824         (gst_date_copy), (gst_value_compare_date),
22825         (gst_value_serialize_date), (gst_value_deserialize_date),
22826         (gst_value_transform_date_string),
22827         (gst_value_transform_string_date), (_gst_value_initialize):
22828         * gst/gstvalue.h:
22829           Add GST_TYPE_DATE, a boxed type that wraps GDate, and the usual
22830           bunch of utility functions along with a hack that checks that
22831           developers don't accidentally use G_TYPE_DATE where GST_TYPE_DATE
22832           is required. Part of the grand scheme in #170777.
22833
22834 2005-09-22  Andy Wingo  <wingo@pobox.com>
22835
22836         * gst/gstconfig.h.in: Psych out gtk-doc.
22837
22838         * docs/gst/gstreamer-sections.txt: Add GST_HAVE_GLIB_2_8.
22839
22840         * check/Makefile.am (check_PROGRAMS): Add gstplugin to the tests.
22841
22842         * tools/gst-inspect.c (print_element_list): Plug some
22843         inconsequential leaks.
22844
22845         * gst/gstregistry.c (gst_registry_get_default): Doc.
22846
22847         * check/gst/gstplugin.c: 
22848         * gst/gsttypefindfactory.c (gst_type_find_factory_call_function):
22849         * gst/gstelementfactory.c (gst_element_factory_create): 
22850         * gst/gstindexfactory.c (gst_index_factory_create): Update for
22851         refcount changes.
22852
22853         * gst/gstpluginfeature.c (gst_plugin_feature_list_free): Doc.
22854         (gst_plugin_feature_load): Doc, don't eat refs.
22855
22856         * gst/gstplugin.c (gst_plugin_load): Doc, don't eat refs.
22857         (gst_plugin_list_free): Doc.
22858         (gst_plugin_load_file): Doc updates.
22859
22860         * gst/gstbuffer.c (gst_buffer_get_caps): Like all our _get
22861         accessors returning refcounted objects, return a ref.
22862
22863         * check/gst/gstbuffer.c (GST_START_TEST): Use refcount-idempotent
22864         accessor for caps. IDEMPOTENCE. Oh yes.
22865
22866 2005-09-21  Francis Labonte  <francis_labonte at hotmail dot com>
22867
22868         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
22869
22870         * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
22871         (_gst_debug_register_funcptr):
22872           Add mutex to serialise access to the hash table with
22873           the function pointer => function name string mapping;
22874           make that hash table static scope (#316809).
22875
22876         * gst/registries/.cvsignore:
22877           Remove left-over file.
22878
22879 2005-09-21  Tim-Philipp Müller  <tim at centricular dot net>
22880
22881         * docs/pwg/appendix-porting.xml:
22882           And something about newsegment events and caps-on-buffers to
22883           the porting guide (feel free to improve).
22884
22885 2005-09-21  Andy Wingo  <wingo@pobox.com>
22886
22887         * check/gst/gstutils.c (test_buffer_probe_n_times): Add tests for
22888         data and event probes on the same pad.
22889         (test_buffer_probe_once): Test that removing probes from within
22890         the probe functions works.
22891
22892 2005-09-21  Andy Wingo  <wingo@pobox.com>
22893
22894         * check/gst/gstutils.c: New file.
22895         (test_buffer_probe_n_times): A simple buffer probe test. More to
22896         come, foolios.
22897
22898         * gst/gstutils.c (gst_pad_add_buffer_probe): Connect to
22899         have-data::buffer, not have-data.
22900         (gst_pad_add_event_probe): Likewise for have-data::event.
22901         (gst_pad_add_data_probe): More docs. The part about 'resolving the
22902         peer' isn't quite right yet though.
22903         (gst_pad_remove_buffer_probe, gst_pad_remove_event_probe) 
22904         (gst_pad_remove_data_probe): Change to take the guint handler_id
22905         as their arg, not the function+data, which is more glib-like.
22906
22907         * gst/gstpad.c (gst_pad_emit_have_data_signal): Add a detail to
22908         the signal emission to indicate if the data is a buffer or an
22909         event.
22910         (gst_pad_get_type): Initialize buffer and event quarks.
22911         (gst_pad_class_init): have-data is now a detailed signal, yes it
22912         is.
22913
22914 2005-09-21  Tim-Philipp Müller  <tim at centricular dot net>
22915
22916         * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
22917         * gst/gstutils.c: (gst_util_set_value_from_string),
22918         (gst_util_set_object_arg):
22919           Don't put functional code in g_return_if_fail() or
22920           g_return_val_if_fail() statements, otherwise things will 
22921           break when G_DISABLE_CHECKS is defined during compilation.
22922
22923 2005-09-21  Stefan Kost  <ensonic@users.sf.net>
22924
22925         * docs/gst/tmpl/.cvsignore:
22926         * docs/gst/tmpl/gstvalue.sgml:
22927         * gst/gstvalue.c:
22928         * gst/gstvalue.h:
22929           inlied another one and added  some obvious docs
22930
22931 2005-09-21  Wim Taymans  <wim@fluendo.com>
22932
22933         * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init),
22934         (gst_fdsrc_init), (gst_fdsrc_start), (gst_fdsrc_stop),
22935         (gst_fdsrc_unlock), (gst_fdsrc_set_property),
22936         (gst_fdsrc_get_property), (gst_fdsrc_create):
22937         * gst/elements/gstfdsrc.h:
22938         Properly implement fdsrc. Removed signal and timeout,
22939         better implemented somewhere else.
22940
22941 2005-09-21  Stefan Kost  <ensonic@users.sf.net>
22942
22943         * docs/gst/tmpl/.cvsignore:
22944         * docs/gst/tmpl/gstimplementsinterface.sgml:
22945         * gst/gstinterface.c:
22946           inlined more docs
22947
22948 2005-09-21  Stefan Kost  <ensonic@users.sf.net>
22949
22950         * docs/gst/gstreamer-sections.txt:
22951         * docs/gst/tmpl/.cvsignore:
22952         * docs/gst/tmpl/gstenumtypes.sgml:
22953           remove obsolete doc file
22954
22955 2005-09-21  David Schleef  <ds@schleef.org>
22956
22957         * gst/gstelementfactory.c: (gst_element_factory_make): Drink a
22958         little beer, fix a little leak.
22959
22960 2005-09-21  Stefan Kost  <ensonic@users.sf.net>
22961
22962         * docs/gst/gstreamer-docs.sgml:
22963         * docs/gst/gstreamer-sections.txt:
22964         * docs/gst/tmpl/.cvsignore:
22965         * gst/Makefile.am:
22966         * gst/gst.h:
22967         * gst/gstbin.c:
22968         * gst/gstelement.h:
22969         * gst/gstindex.c: (gst_index_class_init):
22970         * gst/gstindex.h:
22971         * gst/gstindexfactory.c: (gst_index_factory_get_type),
22972         (gst_index_factory_class_init), (gst_index_factory_init),
22973         (gst_index_factory_finalize), (gst_index_factory_new),
22974         (gst_index_factory_destroy), (gst_index_factory_find),
22975         (gst_index_factory_create), (gst_index_factory_make):
22976         * gst/gstindexfactory.h:
22977         * gst/gstpluginfeature.c:
22978         * gst/gstpluginfeature.h:
22979         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
22980           more docs inlined, splitted gstindex.{c,h}
22981
22982 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
22983
22984         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
22985           fix a leak
22986
22987 2005-09-20  Tim-Philipp Müller  <tim at centricular dot net>
22988
22989         * gst/elements/gstfilesink.c: (gst_file_sink_init):
22990           Set sync to FALSE by default.
22991
22992 2005-09-20  Wim Taymans  <wim@fluendo.com>
22993
22994         * gst/base/gstbasesink.c: (gst_base_sink_class_init),
22995         (gst_base_sink_init):
22996         Make sync property settable from subclass.
22997
22998         * gst/elements/gstfakesink.c: (gst_fake_sink_init),
22999         (gst_fake_sink_change_state):
23000         Set sync to FALSE by default.
23001
23002 2005-09-20  Wim Taymans  <wim@fluendo.com>
23003
23004         * gst/gstbus.c: (poll_func), (poll_timeout), (gst_bus_poll):
23005         * tools/gst-launch.c: (main):
23006         The timeout handler should have lower priority than the source
23007         so we don't timeout before popping a message with 0 timeout.
23008         Dump error messages after failed state change.
23009
23010 2005-09-20  Tim-Philipp Müller  <tim at centricular dot net>
23011
23012         * tools/gst-inspect.c: (print_element_properties_info):
23013           Fix two typos.
23014
23015 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
23016
23017         * check/gst/gstevent.c:
23018         * gst/elements/gstfakesink.c:
23019         * gst/elements/gstfakesink.h:
23020           remove the sync property from fakesink.
23021           has the side effect of setting sync TRUE
23022           for fakesink, which is a change.  Anyone who knows how
23023           to fix this nicely in a GObject-y way, feel free.
23024
23025 2005-09-20  Stefan Kost  <ensonic@users.sf.net>
23026
23027         * docs/gst/gstreamer-docs.sgml:
23028           remove probe refsection
23029
23030 2005-09-20  Stefan Kost  <ensonic@users.sf.net>
23031
23032         * check/Makefile.am:
23033           disable valgrinding the controller test again
23034         * docs/gst/gstreamer-sections.txt:
23035           update for api-changes
23036
23037 2005-09-20  Wim Taymans  <wim@fluendo.com>
23038
23039         * gst/base/gstbasesink.c: (gst_base_sink_class_init),
23040         (gst_base_sink_set_property), (gst_base_sink_get_property),
23041         (gst_base_sink_do_sync):
23042         * gst/base/gstbasesink.h:
23043         Added sync property to basesink to disable clock sync.
23044
23045 2005-09-20  Andy Wingo  <wingo@pobox.com>
23046
23047         * gst/gstelementfactory.c (gst_element_factory_create): Avoid
23048         eating the caller's refcount.
23049
23050         * gst/gstobject.h (GST_OBJECT_REFCOUNT) 
23051         (GST_OBJECT_REFCOUNT_VALUE): Conditionally fondle the right
23052         refcount.
23053
23054         * gst/gstconfig.h.in (GST_HAVE_GLIB_2_8):
23055         * configure.ac (GST_HAVE_GLIB_2_8_DEFINE): Make the availability
23056         of GLib 2.8 public, so we can know which refcount to check in
23057         tests.
23058
23059         * gst/gstobject.c: Use the GST_HAVE_GLIB_2_8 define.
23060         (gst_object_init): Only set the gst refcount if we're going ahead
23061         with the refcount hack.
23062
23063 2005-09-20  Stefan Kost  <ensonic@users.sf.net>
23064
23065         * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
23066         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
23067           more leaks plumbed, added more debug-logging
23068         * gst/gstmacros.h:
23069           whitespace fix
23070
23071 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
23072
23073         * gst/gstmessage.c:
23074           remove include of gstmemchunk.h
23075
23076 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
23077
23078         * gst/gstclock.c: (_gst_clock_id_free):
23079           Commit from the Political Party For More Atomic CVS Commits,
23080           so that people don't waste too much of their day fishing
23081           out obvious leaks out of massive commits.
23082           Oh, and fix a pretty damn obvious leak in the memchunk
23083           removal code.
23084
23085 2005-09-20  Stefan Kost  <ensonic@users.sf.net>
23086
23087         * check/Makefile.am:
23088         * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
23089           plug mem-leak, re-add to valgrindable tests
23090
23091 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
23092
23093         * gst/gstplugin.h:
23094           unbreak the build for those who have chronic arthritis
23095           and typing "make check" is just too taxing on the hands
23096
23097 2005-09-20  Andy Wingo  <wingo@pobox.com>
23098
23099         * gst/gst.h: Re-add marshal to gst.h's include list -- if we
23100         really want it out, you should fix plugins at the same time.
23101
23102 2005-09-19  Stefan Kost  <ensonic@users.sf.net>
23103
23104         * configure.ac:
23105         * docs/gst/gstreamer-sections.txt:
23106         * gst/gstobject.c:
23107           added missing symbols to api docs
23108           disable ref-count hack if we have glib >= 2.8
23109
23110 2005-09-19  David Schleef  <ds@schleef.org>
23111
23112         * docs/gst/Makefile.am: Ignore a few more internal headers
23113         * docs/gst/gstreamer-docs.sgml: Remove old sections
23114         * docs/gst/gstreamer-sections.txt: Remove old sections
23115         * docs/gst/tmpl/gstobject.sgml: update
23116         * docs/gst/tmpl/gstplugin.sgml: update
23117         * docs/gst/tmpl/gstpluginfeature.sgml: update
23118         * docs/random/ds/0.9-suggested-changes: update.
23119         * gst/Makefile.am: remove memchunk and trashstack, since they're
23120           not used.
23121         * gst/gst.c: (gst_deinit): rename gst_registry_deinit to _cleanup
23122         * gst/gst.h: don't include some headers
23123         * gst/gstchildproxy.c: add gstmarshal.h
23124         * gst/gstclock.c: Don't use memchunks
23125         * gst/gstminiobject.c: Add some docs
23126         * gst/gstobject.c: remove DESTROYED flag, since it's redundant
23127         * gst/gstobject.h: same
23128         * gst/gstplugin.c: include gstmacros.h
23129         * gst/gstplugin.h: don't include gstmacros.h, since it's private
23130         * gst/gstquery.c: don't use memchunks
23131         * gst/gstregistry.c: rename gst_registry_deinit()
23132         * gst/gstregistry.h: same
23133
23134 2005-09-19  David Schleef  <ds@schleef.org>
23135
23136         * docs/libs/gstreamer-libs-docs.sgml: Remove docs for getbits
23137         * docs/libs/gstreamer-libs-sections.txt:
23138         * docs/libs/tmpl/gstgetbits.sgml:
23139         * docs/libs/tmpl/gstputbits.sgml:
23140
23141 2005-09-19  Tim-Philipp Müller  <tim at centricular dot net>
23142
23143         * win32/gstenumtypes.c:
23144         * win32/gstenumtypes.h:
23145           Update.
23146
23147 2005-09-19  Wim Taymans  <wim@fluendo.com>
23148
23149         * gst/gstpipeline.c: (do_pipeline_seek), (gst_pipeline_send_event):
23150         Automatically PAUSE and RESUME a pipeline when a flushing seek
23151         is performed.
23152
23153 2005-09-19  Andy Wingo  <wingo@pobox.com>
23154
23155         * gst/gstregistry.h: Spacing fixen.
23156
23157 2005-09-19  Wim Taymans  <wim@fluendo.com>
23158
23159         * gst/base/gstbasesrc.c: (gst_base_src_change_state):
23160         Handle state change failure more correctly.
23161
23162 2005-09-19  Thomas Vander Stichele  <thomas at apestaart dot org>
23163
23164         * check/Makefile.am:
23165         * check/pipelines/cleanup.c: (run_pipeline):
23166         * check/pipelines/simple_launch_lines.c: (run_pipeline),
23167         (GST_START_TEST):
23168           enable cleanup again after fixing the leak
23169         * docs/README:
23170           some more info on docs
23171
23172 2005-09-19  Thomas Vander Stichele  <thomas at apestaart dot org>
23173
23174         * check/Makefile.am:
23175           re-enable tests now that leaks are plugged
23176         * check/gst/gst.c:
23177         * check/gst/gstbin.c:
23178         * check/gst/gstpipeline.c:
23179           add some more tests while fixing leaks
23180         * common/check.mak:
23181           make sure binaries are uptodate when valgrinding/gdbing
23182         * gst/gst.c:
23183         * gst/gstelementfactory.c:
23184           remove a ref too many, and add a FIXME for when we get
23185           round to disposing of classes
23186         * gst/gstplugin.c:
23187           fix the refcounting when loading a plugin from a file and
23188           the code pretends that the pointer is the same even though
23189           of course it can change
23190         * gst/gstpluginfeature.c:
23191           unref plugins marked cached (a bit confusing as a name)
23192           as the docs state should be done
23193           various doc additions to explain refcounting
23194         * gst/gstregistry.c:
23195         * gst/gstregistryxml.c:
23196           debugging
23197
23198 2005-09-19  Wim Taymans  <wim@fluendo.com>
23199
23200         * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
23201         * check/gst/gstbus.c: (message_func_eos), (message_func_app),
23202         (send_messages), (GST_START_TEST), (gstbus_suite):
23203         * check/gst/gstpipeline.c: (GST_START_TEST):
23204         * check/pipelines/cleanup.c: (run_pipeline):
23205         * check/pipelines/simple_launch_lines.c: (run_pipeline),
23206         (GST_START_TEST):
23207         * gst/gstbus.c: (gst_bus_have_pending), (gst_bus_source_prepare),
23208         (gst_bus_source_check), (gst_bus_source_dispatch),
23209         (gst_bus_create_watch), (gst_bus_add_watch_full),
23210         (gst_bus_add_watch), (poll_func), (poll_timeout), (gst_bus_poll):
23211         * gst/gstbus.h:
23212         * tools/gst-launch.c: (event_loop):
23213         * tools/gst-md5sum.c: (event_loop):
23214         GstBusHandler -> GstBusFunc, return value has the same meaning as
23215         any other GSource (FALSE == remove source).
23216         _add_watch() and _add_watch_full() now take a MessageType mask to
23217         only handle specific types of messages.
23218         _poll() returns the GstMessage instead of the message type to avoid
23219         race conditions.
23220         _have_pending() takes a MessageType mask now too.
23221         Added testsuite for multiple bus watches.
23222         Fix testsuites and applications for new bus API.
23223
23224 2005-09-19  Thomas Vander Stichele  <thomas at apestaart dot org>
23225
23226         * check/Makefile.am:
23227           mark a bunch of the tests as to fix until we fix them
23228
23229 2005-09-18  Thomas Vander Stichele  <thomas at apestaart dot org>
23230
23231         * common/check.mak:
23232           use GST_PLUGIN settings for valgrind tests as well, so we're
23233           valgrinding the correct thing
23234         * gst/gst.c: (init_post):
23235           plug another leak
23236
23237 2005-09-18  Thomas Vander Stichele  <thomas at apestaart dot org>
23238
23239         * gst/gst.c: (init_post), (gst_deinit):
23240         * gst/gstelementfactory.c: (gst_element_factory_class_init),
23241         (gst_element_factory_finalize), (gst_element_factory_cleanup):
23242         * gst/gstindex.c: (gst_index_factory_class_init),
23243         (gst_index_factory_finalize):
23244         * gst/gstobject.c: (gst_object_dispose):
23245         * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_class_init),
23246         (gst_plugin_load_file), (gst_plugin_desc_free):
23247         * gst/gstpluginfeature.c: (gst_plugin_feature_class_init),
23248         (gst_plugin_feature_finalize):
23249         * gst/gstregistry.c: (gst_registry_class_init),
23250         (gst_registry_init), (gst_registry_finalize),
23251         (gst_registry_get_default), (gst_registry_deinit):
23252         * gst/gstregistry.h:
23253         * gst/gstregistryxml.c: (load_feature), (load_plugin):
23254           various cleanups and memleak plugging.  make valgrind is happy now.
23255
23256 2005-09-18  Thomas Vander Stichele  <thomas at apestaart dot org>
23257
23258         * common/check.mak:
23259           add a check-valgrind target
23260
23261 2005-09-18  David Schleef  <ds@schleef.org>
23262
23263         * tools/gst-inspect.c: Revert the GOption code.
23264
23265 2005-09-17  David Schleef  <ds@schleef.org>
23266
23267         * check/Makefile.am: Fix environment variables.
23268         * check/gst/gstplugin.c: Fix for API changes.
23269         * tools/gst-inspect.c: Fix for API changes.
23270         * tools/gst-xmlinspect.c: Fix for API changes.
23271         * gst/gstelementfactory.c:
23272         * gst/gstplugin.c:
23273         * gst/gstplugin.h:
23274         * gst/gstpluginfeature.c:
23275         * gst/gstpluginfeature.h:
23276         * gst/gstregistry.c:
23277         * gst/gstregistry.h:
23278         * gst/gstregistryxml.c:
23279         * gst/gsttypefind.c:
23280         * gst/gsttypefindfactory.c:
23281         * gst/indexers/gstfileindex.c:
23282         * gst/indexers/gstmemindex.c:
23283         * gst/schedulers/Makefile.am:
23284           Change registry to keep track of both plugins and features,
23285           removing the feature tracking from plugins themselves.
23286
23287 2005-09-16  Thomas Vander Stichele  <thomas at apestaart dot org>
23288
23289         * check/Makefile.am:
23290         * tools/gst-register.1.in:
23291           remove gst-register
23292
23293 2005-09-15  David Schleef  <ds@schleef.org>
23294
23295         * check/gst/gstplugin.c:
23296         * gst/gstelementfactory.c:
23297         * gst/gstplugin.c:
23298         * gst/gstpluginfeature.c:
23299         * gst/gstregistry.c:
23300           Getting tired of debugging.  Disabled all the unreffing of
23301           plugins and features, which fixes the segfaults, but of
23302           course leaks like crazy.  At least playbin works.
23303
23304 2005-09-15  David Schleef  <ds@schleef.org>
23305
23306         * check/gst/gstplugin.c: (register_check_elements),
23307         (GST_START_TEST), (peek), (suggest), (gst_plugin_suite):
23308         More testing
23309         * gst/elements/gsttypefindelement.c: Fix refcounting.
23310         * gst/gsttypefind.c:
23311         * gst/gsttypefindfactory.c:
23312         * gst/gsttypefindfactory.h:
23313
23314 2005-09-15  David Schleef  <ds@schleef.org>
23315
23316         * gst/gstindex.c: get refcounting correct.
23317         * gst/gstregistry.c: Handle the case where a feature/plugin is
23318           not found.
23319
23320 2005-09-15  David Schleef  <ds@schleef.org>
23321
23322         * check/Makefile.am:
23323         * check/gst/gstplugin.c: Add test
23324         * gst/gstplugin.c: Fix problems noticed by testsuite
23325         * gst/gstplugin.h:
23326         * gst/gstregistry.c: 
23327         * gst/gstregistry.h:
23328
23329 2005-09-15  David Schleef  <ds@schleef.org>
23330
23331         * gst/gstplugin.c: Implement semi-decent recounting and locking
23332           in plugins and plugin features.
23333         * gst/gstplugin.h:
23334         * gst/gstpluginfeature.c:
23335         * gst/gstpluginfeature.h:
23336         * gst/gstregistry.c:
23337
23338 2005-09-15  Michael Smith <msmith@fluendo.com>
23339
23340         * gst/gstregistry.c: (gst_registry_get_feature_list):
23341           Implement this. Makes oggdemux work; decodebin still broken.
23342
23343 2005-09-14  David Schleef  <ds@schleef.org>
23344
23345         * configure.ac: Add -no-undefined to GST_PLUGIN_LDFLAGS (bug
23346           #316076)
23347         * gst/base/Makefile.am: Add -no-undefined to LDFLAGS for libs
23348         * gst/check/Makefile.am:
23349         * libs/gst/controller/Makefile.am:
23350         * libs/gst/dataprotocol/Makefile.am:
23351
23352 2005-09-14  David Schleef  <ds@schleef.org>
23353
23354         * configure.ac: Remove getbits library.  Nothing uses it, and
23355           it should be in something like liboil if someone did want
23356           to use it.
23357         * libs/gst/Makefile.am:
23358         * libs/gst/getbits/Makefile.am:
23359         * libs/gst/getbits/gbtest.c:
23360         * libs/gst/getbits/getbits.c:
23361         * libs/gst/getbits/getbits.h:
23362         * libs/gst/getbits/gstgetbits_generic.c:
23363         * libs/gst/getbits/gstgetbits_i386.s:
23364         * libs/gst/getbits/gstgetbits_inl.h:
23365
23366 2005-09-14  David Schleef  <ds@schleef.org>
23367
23368         * gst/Makefile.am: Dist glib-compat.h
23369
23370 2005-09-14  David Schleef  <ds@schleef.org>
23371
23372         * configure.ac: Remove gst/registries, since it's no longer used.
23373         * gst/registries/Makefile.am:
23374         * gst/registries/gstlibxmlregistry.c:
23375         * gst/registries/gstlibxmlregistry.h:
23376         * gst/registries/gstxmlregistry.c:
23377         * gst/registries/gstxmlregistry.h:
23378         * gst/registries/registrytest.c:
23379
23380 2005-09-14  David Schleef  <ds@schleef.org>
23381
23382         * gst/glib-compat.h:
23383         * gst/gstregistryxml.c:
23384           Convergence is near.  Seriously.
23385
23386 2005-09-14  David Schleef  <ds@schleef.org>
23387
23388         * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
23389         * gst/glib-compat.h:
23390           Attempt #4 to appease the buildbots.
23391
23392 2005-09-14  David Schleef  <ds@schleef.org>
23393
23394         * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
23395           Attempt #3.
23396
23397 2005-09-14  David Schleef  <ds@schleef.org>
23398
23399         * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
23400         Attempt #2.
23401
23402 2005-09-14  David Schleef  <ds@schleef.org>
23403
23404         * gst/Makefile.am: Oh yeah, libgstreamer.so needs to contain
23405           the new functions.
23406
23407 2005-09-14  David Schleef  <ds@schleef.org>
23408
23409         * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
23410         * gst/glib-compat.h: Add some functions that are in newer versions
23411           of glib than we care to require.
23412         * gst/gstregistryxml.c: Use them.
23413
23414 2005-09-14  David Schleef  <ds@schleef.org>
23415
23416         * po/POTFILES.in: remove gst-register.c
23417
23418 2005-09-14  David Schleef  <ds@schleef.org>
23419
23420         * docs/gst/gstreamer-docs.sgml:
23421         * docs/gst/gstreamer-sections.txt:
23422         * docs/gst/gstreamer.types:
23423         * docs/gst/tmpl/gstelement.sgml:
23424         * docs/gst/tmpl/gstplugin.sgml:
23425         * docs/gst/tmpl/gstpluginfeature.sgml:
23426           Documentation updates for registry changes.
23427
23428 2005-09-14  David Schleef  <ds@schleef.org>
23429
23430         * gst/gstregistryxml.c: Copy g_mkdir_with_parent() from glib,
23431           because we don't require glib-2.8.
23432
23433 2005-09-14  David Schleef  <ds@schleef.org>
23434
23435         * gst/gstregistryxml.c: Added.  Essentially moved out of the
23436           registries directory.
23437
23438 2005-09-14  David Schleef  <ds@schleef.org>
23439
23440         * check/Makefile.am:
23441         * check/generic/states.c:
23442         * gst/Makefile.am:
23443         * gst/gst.c:
23444         * gst/gst.h:
23445         * gst/gst_private.h:
23446         * gst/gstelementfactory.c:
23447         * gst/gstindex.c:
23448         * gst/gstinfo.c:
23449         * gst/gstplugin.c:
23450         * gst/gstplugin.h:
23451         * gst/gstpluginfeature.c:
23452         * gst/gstpluginfeature.h:
23453         * gst/gstregistry.c:
23454         * gst/gstregistry.h:
23455         * gst/gstregistrypool.c: remove
23456         * gst/gstregistrypool.h: remove
23457         * gst/gsttypefind.c:
23458         * gst/gsttypefindfactory.c:
23459         * gst/gsturi.c:
23460         * tools/Makefile.am:
23461         * tools/gst-compprep.c:
23462         * tools/gst-inspect.c:
23463         * tools/gst-register.c: remove
23464         * tools/gst-xmlinspect.c:
23465           Registry rewrite.  Changes registry from being a file created
23466           by a tool into a simple cache file created automatically by 
23467           libgstreamer.  Removed gst-register (because it's no longer
23468           needed).  Remove registry pools, because we only have one
23469           registry implementation (XML).  Fix up other subsystems as
23470           necessary.
23471
23472 2005-09-13  Michael Smith <msmith@fluendo.com>
23473
23474         * gst/gstconfig.h.in:
23475           Don't Use windows linking attributes for MinGW. Fixes #316157
23476
23477 2005-09-13  Thomas Vander Stichele  <thomas at apestaart dot org>
23478
23479         * gst/gstutils.c: (set_state_async_thread_func),
23480         (gst_element_set_state_async):
23481           Apparently people think it's better if this function doesn't
23482           try to set the state to whatever state was asked for on the first
23483           call to this function for any object.  Seriously.
23484
23485 2005-09-12  Thomas Vander Stichele  <thomas at apestaart dot org>
23486
23487         * check/gst/gstpipeline.c: (GST_START_TEST):
23488         * docs/gst/gstreamer-sections.txt:
23489         * gst/gstutils.c: (set_state_async_thread_func),
23490         (gst_element_set_state_async):
23491         * gst/gstutils.h:
23492           add a "gst_element_set_state_async" method that
23493           sets the state and starts a thread to make sure the state
23494           change completes as best as it can
23495
23496 2005-09-12  Thomas Vander Stichele  <thomas at apestaart dot org>
23497
23498         * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
23499           codify design+behaviour in testsuite after discussion
23500
23501 2005-09-12  Thomas Vander Stichele  <thomas at apestaart dot org>
23502
23503         * docs/gst/tmpl/gstelement.sgml:
23504         * docs/manual/appendix-quotes.xml:
23505           add a quote
23506         * gst/gstelement.c: (gst_element_set_state):
23507           add some debug
23508
23509 2005-09-12  Jan Schmidt  <thaytan@mad.scientist.com>
23510
23511         * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
23512         (gst_base_transform_prepare_output_buf),
23513         (gst_base_transform_handle_buffer):
23514         * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip),
23515         (gst_capsfilter_prepare_buf):
23516           Remove the requirement for sub-classes to call the parent
23517           implementation of prepare_output_buffer with a wrapper function.
23518           
23519         * gst/gsttaglist.h:
23520         * gst/gsttagsetter.h:
23521           Fix #define wrapper
23522
23523 2005-09-11  Stefan Kost  <ensonic@users.sf.net>
23524
23525         * docs/gst/gstreamer-sections.txt:
23526           more doc cleanups
23527
23528 2005-09-11  Thomas Vander Stichele  <thomas at apestaart dot org>
23529
23530         * docs/gst/gstreamer-sections.txt:
23531         * docs/gst/tmpl/gstelement.sgml:
23532         * docs/gst/tmpl/gstplugin.sgml:
23533         * gst/gstminiobject.c:
23534         * gst/gstvalue.h:
23535           docs now stop throwing warnings
23536
23537 2005-09-11  Thomas Vander Stichele  <thomas at apestaart dot org>
23538
23539         * docs/gst/gstreamer-sections.txt:
23540         * docs/gst/gstreamer.types:
23541         * docs/gst/tmpl/gstpad.sgml:
23542         * docs/gst/tmpl/gsttypes.sgml:
23543         * gst/base/gstadapter.h:
23544         * gst/base/gstbasesink.h:
23545         * gst/base/gstbasesrc.h:
23546         * gst/gstbin.h:
23547         * gst/gstbuffer.h:
23548         * gst/gstbus.h:
23549         * gst/gstcaps.h:
23550         * gst/gstclock.h:
23551         * gst/gstelement.h:
23552         * gst/gstevent.h:
23553         * gst/gstmessage.h:
23554         * gst/gstpad.h:
23555         * gst/gststructure.c:
23556         * gst/registries/gstlibxmlregistry.h:
23557           various documentation fixes
23558
23559 2005-09-11  Thomas Vander Stichele  <thomas at apestaart dot org>
23560
23561         * docs/gst/gstreamer-sections.txt:
23562         * docs/gst/tmpl/gstvalue.sgml:
23563           rearrange gstvalue section
23564         * gst/gstutils.c: (gst_element_state_get_name):
23565           NONE -> VOID
23566         * gst/gstvalue.c: (_gst_value_initialize):
23567         * gst/gstvalue.h:
23568           doc updates
23569
23570 2005-09-10  Jan Schmidt  <thaytan@mad.scientist.com>
23571
23572         * check/gst-libs/controller.c:
23573           Header include fix.
23574         * gst/base/gstbasetransform.c:
23575         (gst_base_transform_default_prepare_buf),
23576         (gst_base_transform_handle_buffer):
23577         * gst/base/gstbasetransform.h:
23578           Some more basetransform changes and fixes to enable sub-classes
23579           that modify buffer metadata only.
23580         * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
23581         (gst_capsfilter_init), (gst_capsfilter_transform_ip),
23582         (gst_capsfilter_prepare_buf):
23583           If the output pad has fixed allowed caps and input buffers 
23584           don't have any, set the fixed caps on outgoing buffers.
23585
23586 2005-09-09  Jan Schmidt  <thaytan@mad.scientist.com>
23587         * check/elements/identity.c: (GST_START_TEST):
23588           Make the error a little clearer when the test fails because
23589           identity made a copy of the buffer.
23590         * docs/gst/gstreamer-sections.txt:
23591           New symbols in gstbasetransform.h
23592         * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
23593         (gst_base_transform_init), (gst_base_transform_transform_size),
23594         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
23595         (gst_base_transform_default_prepare_buf),
23596         (gst_base_transform_get_unit_size),
23597         (gst_base_transform_buffer_alloc),
23598         (gst_base_transform_handle_buffer), (gst_base_transform_chain),
23599         (gst_base_transform_change_state),
23600         (gst_base_transform_set_passthrough),
23601         (gst_base_transform_set_in_place),
23602         (gst_base_transform_is_in_place):
23603         * gst/base/gstbasetransform.h:
23604           Change BaseTransform to separate in_place operate from same_caps
23605           output. in_place implies that the element can perform the transform
23606           on incoming buffers in-place, even if the caps on the output are
23607           different.
23608           Sub-class elements can now implement special buffer allocation
23609           methods for outgoing buffers if they wish to.
23610           Big documentation addition.
23611         * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip):
23612         * gst/elements/gstelements.c:
23613           Changes for basetransform modifications.
23614         * gst/elements/Makefile.am:
23615         * gst/elements/gstfdsrc.c: (gst_fdsrc_init), (gst_fdsrc_create):
23616           Compile fix. Extra debug output.
23617
23618 2005-09-09  Thomas Vander Stichele  <thomas at apestaart dot org>
23619
23620         * check/gst/gstpad.c: (GST_START_TEST), (name_is_valid),
23621         (gst_pad_suite):
23622           add tests for valid pad naming
23623         * gst/check/gstcheck.c: (gst_check_log_message_func),
23624         (gst_check_log_critical_func):
23625           add ASSERT_WARNING
23626           remove printing of code, it is fragile when the code contains
23627           % and the line number is enough info
23628         * gst/check/gstcheck.h:
23629         * gst/gstpad.c: (gst_pad_template_new):
23630           fix memleaks
23631
23632 2005-09-09  Thomas Vander Stichele  <thomas at apestaart dot org>
23633
23634         * configure.ac:
23635           say what CHECK flags we use
23636         * docs/libs/gstreamer-libs.types:
23637         * libs/gst/controller/Makefile.am:
23638         * libs/gst/controller/gst-controller.c:
23639         * libs/gst/controller/gst-controller.h:
23640         * libs/gst/controller/gst-helper.c:
23641         * libs/gst/controller/gst-interpolation.c:
23642         * libs/gst/controller/gstcontroller.c:
23643         * libs/gst/controller/gsthelper.c:
23644         * libs/gst/controller/gstinterpolation.c:
23645         * tools/gst-inspect.c: (print_plugin_info):
23646           we don't use dashes in header names
23647
23648 2005-09-09  Thomas Vander Stichele  <thomas at apestaart dot org>
23649
23650         * check/Makefile.am:
23651         * check/gst/.cvsignore:
23652         * check/gst/gstpipeline.c: (pop_messages), (GST_START_TEST),
23653         (gst_pipeline_suite), (main):
23654           adding a test for pipelines and state changes
23655         * gst/gstutils.c: (get_state_func):
23656           add some debugging
23657         * gstreamer.spec.in:
23658           fix up spec file
23659
23660 2005-09-08  Michael Smith <msmith@fluendo.com>
23661
23662         * gst/elements/gstfilesrc.c: (gst_file_src_map_region),
23663         (gst_file_src_map_small_region), (gst_file_src_create_mmap),
23664         (gst_file_src_is_seekable), (gst_file_src_get_size),
23665         (gst_file_src_start):
23666         * gst/elements/gstfilesrc.h:
23667           Various fixes for unseekable, unmmapable, and non-normal files, so
23668           that fallback to read() rather than mmap() works.
23669         * gst/gstevent.c: (gst_event_new_newsegment):
23670           Allow newsegment events with segment_start == segment_end, as will
23671           correctly happen if you use filesrc on a zero-size file, for
23672           example.
23673
23674 2005-09-07  Jan Schmidt  <thaytan@mad.scientist.com>
23675
23676         * gst/gstplugin.c: (gst_plugin_load_file):
23677           Call g_module_close when we don't load the module
23678
23679         * gst/registries/gstlibxmlregistry.c:
23680         (gst_xml_registry_get_property):
23681           Port leak fix from 0.8
23682
23683 2005-09-07  Stefan Kost  <ensonic@users.sf.net>
23684
23685         * docs/gst/gstreamer-docs.sgml:
23686         * docs/gst/tmpl/.cvsignore:
23687         * docs/gst/tmpl/gsttrace.sgml:
23688         * docs/gst/tmpl/gsttrashstack.sgml:
23689         * gst/Makefile.am:
23690         * gst/gst.h:
23691         * gst/gstelement.h:
23692         * gst/gstevent.h:
23693         * gst/gstmessage.c:
23694         * gst/gstmessage.h:
23695         * gst/gsttag.c:
23696         * gst/gsttag.h:
23697         * gst/gsttaginterface.c:
23698         * gst/gsttaginterface.h:
23699         * gst/gsttaglist.c:
23700         * gst/gsttaglist.h:
23701         * gst/gsttagsetter.c:
23702         * gst/gsttagsetter.h:
23703         * gst/gsttrace.c:
23704         * gst/gsttrace.h:
23705         * gst/gsttrashstack.c:
23706           renamed gsttag -> gsttaglist, gsttaginterface -> gsttagsetter
23707           inlined docs for gsttrace, gsttrashstack
23708
23709 2005-09-07  Stefan Kost  <ensonic@users.sf.net>
23710
23711         * gst/Makefile.am:
23712         * gst/elements/gstbufferstore.h:
23713         * gst/elements/gsttypefindelement.c:
23714         * gst/elements/gsttypefindelement.h:
23715         * gst/gst.h:
23716         * gst/gsttypefind.c:
23717         * gst/gsttypefind.h:
23718         * gst/gsttypefindfactory.c: (gst_type_find_factory_get_type),
23719         (gst_type_find_factory_class_init), (gst_type_find_factory_init),
23720         (gst_type_find_factory_dispose),
23721         (gst_type_find_factory_unload_thyself),
23722         (gst_type_find_load_plugin), (gst_type_find_factory_get_list),
23723         (gst_type_find_factory_get_caps),
23724         (gst_type_find_factory_get_extensions),
23725         (gst_type_find_factory_call_function):
23726         * gst/gsttypefindfactory.h:
23727         * gst/registries/gstlibxmlregistry.c:
23728         * gst/registries/gstxmlregistry.c:
23729           splitted gsttypefind into gsttypefind, gsttypefindfactory
23730
23731 2005-09-07  Andy Wingo  <wingo@pobox.com>
23732
23733         * gst/base/gstbasesink.c (gst_base_sink_activate_pull): Fix a race
23734         condition whereby the pad's task function is entered before the
23735         pad_mode variable was set.
23736
23737 2005-09-07  Jan Schmidt  <thaytan@mad.scientist.com>
23738
23739         * gst/gstpad.c: (gst_pad_alloc_buffer):
23740           Catch misbehaving pad_alloc functions that don't
23741           set up caps and do it for them.
23742
23743 2005-09-07  Stefan Kost  <ensonic@users.sf.net>
23744
23745         * check/pipelines/simple_launch_lines.c: (run_pipeline):
23746           test for pipe!=NULL
23747         * docs/gst/tmpl/.cvsignore:
23748         * docs/gst/tmpl/gstmemchunk.sgml:
23749         * docs/gst/tmpl/gstparse.sgml:
23750         * docs/gst/tmpl/gsttaglist.sgml:
23751         * docs/gst/tmpl/gsttagsetter.sgml:
23752         * docs/gst/tmpl/gsttypefind.sgml:
23753         * docs/gst/tmpl/gsttypefindfactory.sgml:
23754         * gst/gstmemchunk.c:
23755         * gst/gstparse.c:
23756         * gst/gsttag.c:
23757         * gst/gsttaginterface.c:
23758         * gst/gsttypefind.c:
23759         * gst/gsttypefind.h:
23760           inlined more docs
23761
23762 === release 0.9.2 ===
23763
23764 2005-09-06  Thomas Vander Stichele  <thomas at apestaart dot org>
23765
23766         * NEWS:
23767         * RELEASE:
23768         * configure.ac:
23769           releasing 0.9.2, "South"
23770
23771 2005-09-05  Andy Wingo  <wingo@pobox.com>
23772
23773         * gst/registries/gstxmlregistry.h:
23774         * gst/registries/gstxmlregistry.c: Um... resurrect...
23775         
23776         * gst/registries/gstxmlregistry.h:
23777         * gst/registries/gstxmlregistry.c: and update to newer API.
23778         Incidentally they should be a bit faster now that they don't have
23779         to parse the caps.
23780         
23781 2005-09-05  Andy Wingo  <wingo@pobox.com>
23782
23783         * gst/registries/gstxmlregistry.h:
23784         * gst/registries/gstxmlregistry.c: Remove from CVS, they were
23785         replaced by the libxml registry a while back
23786
23787 2005-09-03  Thomas Vander Stichele  <thomas at apestaart dot org>
23788
23789         * docs/gst/tmpl/gstplugin.sgml:
23790         * gst/elements/gstelements.c:
23791         * gst/gst.c:
23792         * gst/gstplugin.c: (gst_plugin_register_func),
23793         (gst_plugin_desc_copy), (gst_plugin_desc_free),
23794         (gst_plugin_get_source):
23795         * gst/gstplugin.h:
23796         * gst/registries/gstlibxmlregistry.c: (load_plugin),
23797         (gst_xml_registry_save_plugin):
23798         * gst/registries/gstxmlregistry.c: (gst_xml_registry_parse_plugin),
23799         (gst_xml_registry_save_plugin):
23800         * tools/gst-inspect.c: (print_plugin_info):
23801           add a "source" plugin description field, to represent the source
23802           module this plugin is a part of.  By default GST_PLUGIN_DEFINE
23803           will set it to PACKAGE, which is automake's idea of the name of
23804           the source project.
23805
23806 2005-09-03  Thomas Vander Stichele  <thomas at apestaart dot org>
23807
23808         * Makefile.am:
23809         * autogen.sh:
23810         * configure.ac:
23811         * docs/Makefile.am:
23812         * docs/faq/Makefile.am:
23813         * docs/gst/tmpl/gstelement.sgml:
23814         * docs/gst/tmpl/gsttypes.sgml:
23815         * docs/htmlinstall.mak:
23816         * docs/manual/Makefile.am:
23817         * docs/pwg/Makefile.am:
23818           reorganize doc build a little
23819           split out docbook and gtk-doc stuff
23820           have two separate --enable's and enable them through autogen
23821           but disable by default in configure (to be similar to other
23822           projects)
23823         * gstreamer.spec.in:
23824           clean up docs install
23825         * po/af.po:
23826         * po/az.po:
23827         * po/ca.po:
23828         * po/cs.po:
23829         * po/de.po:
23830         * po/en_GB.po:
23831         * po/fr.po:
23832         * po/it.po:
23833         * po/nb.po:
23834         * po/nl.po:
23835         * po/ru.po:
23836         * po/sq.po:
23837         * po/sr.po:
23838         * po/sv.po:
23839         * po/tr.po:
23840         * po/uk.po:
23841         * po/vi.po:
23842           translation updates
23843
23844 2005-09-03  Tim-Philipp Müller  <tim at centricular dot net>
23845
23846         * gst/base/gstbasesink.c: (gst_base_sink_pad_buffer_alloc):
23847           Add comment.
23848           
23849         * gst/elements/gstfakesink.c: (gst_fake_sink_init),
23850         (gst_fake_sink_change_state):
23851           Make state change function thread-safe.
23852           
23853         * gst/gstpad.c: (gst_pad_alloc_buffer):
23854           Set offset on generic buffer allocated by fallback.
23855
23856 2005-09-03  Stefan Kost  <ensonic@users.sf.net>
23857
23858         * docs/gst/gstreamer-sections.txt:
23859         * docs/gst/tmpl/gstelement.sgml:
23860         * gst/gstpad.c:
23861         * libs/gst/controller/gst-controller.c:
23862         (gst_controlled_property_set_interpolation_mode),
23863         (gst_controlled_property_new),
23864         (gst_controller_find_controlled_property):
23865          run the wingo-magic script against the docs
23866
23867 2005-09-02  Stefan Kost  <ensonic@users.sf.net>
23868
23869         * docs/gst/gstreamer-docs.sgml:
23870         * docs/gst/gstreamer-sections.txt:
23871         * docs/gst/tmpl/.cvsignore:
23872         * docs/gst/tmpl/gstelementdetails.sgml:
23873         * docs/gst/tmpl/gstelementfactory.sgml:
23874         * gst/gst.c:
23875         * gst/gstbus.c:
23876         * gst/gstelementfactory.c:
23877         * gst/gstelementfactory.h:
23878           merged elementdetails docs into elementfactory docs
23879           inlined both
23880
23881 2005-09-02  Andy Wingo  <wingo@pobox.com>
23882
23883         * gst/gstelement.h: Add magical pixie dust to make glib-mkenums
23884         consider this enum an enum and not a flags.
23885
23886 2005-09-02  Stefan Kost  <ensonic@users.sf.net>
23887
23888         * docs/gst/gstreamer-docs.sgml:
23889         * docs/gst/tmpl/.cvsignore:
23890         * docs/gst/tmpl/gstghostpad.sgml:
23891         * docs/gst/tmpl/gstiterator.sgml:
23892         * docs/gst/tmpl/gstmacros.sgml:
23893         * docs/gst/tmpl/gstrealpad.sgml:
23894         * docs/gst/tmpl/gstregistry.sgml:
23895         * docs/gst/tmpl/gstregistrypool.sgml:
23896         * docs/gst/tmpl/gststructure.sgml:
23897         * docs/gst/tmpl/gstsystemclock.sgml:
23898         * docs/gst/tmpl/gsttrace.sgml:
23899         * gst/gstghostpad.c:
23900         * gst/gstmacros.h:
23901         * gst/gstmemchunk.c:
23902         * gst/gstmemchunk.h:
23903         * gst/gstqueue.c:
23904         * gst/gstregistry.c:
23905         * gst/gstregistrypool.c:
23906         * gst/gststructure.c:
23907         * gst/gstsystemclock.c:
23908           more docs inlined
23909
23910 2005-09-02  Andy Wingo  <wingo@pobox.com>
23911
23912         * gst/gstelement.h (GstState): Renamed from GstElementState,
23913         changed to be a normal enum instead of flags.
23914         (GstStateChangeReturn): Renamed from GstElementStateReturn, names
23915         munged to be GST_STATE_CHANGE_*.
23916         (GST_STATE_CHANGE): Renamed from GST_STATE_TRANSITION, updated to
23917         work with the new state representation.
23918         (GstStateChange): New enumeration of possible state transitions.
23919         Replaces GST_STATE_FOO_TO_BAR with GST_STATE_CHANGE_FOO_TO_BAR.
23920         (GstElementClass::change_state): Pass the GstStateChange along as
23921         an argument. Helps language bindings, so they don't have to use
23922         tricky lock-needing macros like GST_STATE_CHANGE ().
23923
23924         * scripts/update-states (file): New script. Run it on a file to
23925         update it for state naming and API changes. Updates files in
23926         place.
23927
23928         * All files updated for the new API.
23929
23930 2005-09-02  Thomas Vander Stichele  <thomas at apestaart dot org>
23931
23932         * gst/gsttrace.c: (gst_trace_flush), (gst_trace_text_flush):
23933         * gst/gstutils.c: (gst_util_set_value_from_string),
23934         (gst_util_set_object_arg):
23935           fix a bunch of unchecked return values
23936         * tools/gst-complete.c: (main):
23937         * gstreamer.spec.in:
23938           clean up a little
23939
23940 2005-09-01  Wim Taymans  <wim@fluendo.com>
23941
23942         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
23943         (gst_base_sink_event), (gst_base_sink_do_sync),
23944         (gst_base_sink_handle_event):
23945         * gst/base/gstbasesink.h:
23946         Handle newsegments more correctly.
23947
23948         * gst/gstbus.c:
23949         Fix docs.
23950
23951         * gst/gstevent.c: (gst_event_new_newsegment):
23952         A newsegment cannot have a start_time of -1
23953
23954 2005-09-01  Tim-Philipp Müller  <tim at centricular dot net>
23955
23956         * win32/gstenumtypes.c:
23957         * win32/gstenumtypes.h:
23958           Update
23959
23960 2005-08-31  Stefan Kost  <ensonic@users.sf.net>
23961
23962         * libs/gst/controller/gst-controller.c:
23963         (gst_controlled_property_set_interpolation_mode),
23964         (gst_controlled_property_new):
23965          fixed boolean again
23966
23967 2005-08-31  Thomas Vander Stichele  <thomas at apestaart dot org>
23968
23969         * docs/faq/gst-uninstalled:
23970           add -good
23971         * gst/gstevent.c:
23972         * gst/gstevent.h:
23973           remove wrong docs
23974         * gst/gstutils.c: (gst_element_link_filtered):
23975         * gst/gstutils.h:
23976           add gst_element_link_filtered
23977
23978 2005-08-31  Stefan Kost  <ensonic@users.sf.net>
23979
23980         * docs/gst/gstreamer-docs.sgml:
23981         * docs/gst/gstreamer-sections.txt:
23982         * docs/gst/tmpl/.cvsignore:
23983         * docs/gst/tmpl/gsterror.sgml:
23984         * docs/gst/tmpl/gstfilter.sgml:
23985         * docs/gst/tmpl/gsturihandler.sgml:
23986         * docs/gst/tmpl/gsturitype.sgml:
23987         * docs/gst/tmpl/gstutils.sgml:
23988         * docs/gst/tmpl/gstxml.sgml:
23989         * gst/gsterror.c:
23990         * gst/gsterror.h:
23991         * gst/gstfilter.c:
23992         * gst/gsturi.c:
23993         * gst/gsturitype.c:
23994         * gst/gstutils.c:
23995         * gst/gstxml.c:
23996           inlined more docs, fixed double id-ref
23997
23998 2005-08-31  Wim Taymans  <wim@fluendo.com>
23999
24000         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
24001         (gst_base_transform_handle_buffer):
24002         Passthrough elements don't need the caps as they don't care.
24003
24004 2005-08-31  Wim Taymans  <wim@fluendo.com>
24005
24006         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
24007         (gst_base_transform_handle_buffer), (gst_base_transform_chain):
24008         Don't leak refcounts on buffers.
24009
24010 2005-08-31  Wim Taymans  <wim@fluendo.com>
24011
24012         * gst/base/gstbasetransform.c: (gst_base_transform_configure_caps),
24013         (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
24014         (gst_base_transform_chain), (gst_base_transform_change_state):
24015         * gst/base/gstbasetransform.h:
24016         Handle the case where we are not negotiated more gracefully.
24017
24018 2005-08-31  Tim-Philipp Müller  <tim at centricular dot net>
24019
24020         * gst/elements/gstfilesrc.c: (gst_mmap_buffer_init),
24021         (gst_file_src_map_region):
24022           Set READONLY flag on mmap'ed buffers, otherwise
24023           gst_buffer_make_writable() won't work properly (#314708).
24024
24025 2005-08-31  Wim Taymans  <wim@fluendo.com>
24026
24027         * gst/base/gstbasetransform.c: (gst_base_transform_handle_buffer):
24028         passthrough elements can even do inplace on non writable
24029         buffers (as they don't touch them).
24030
24031 2005-08-31  Stefan Kost  <ensonic@users.sf.net>
24032
24033         * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
24034         (gst_test_mono_source_set_property),
24035         (gst_test_mono_source_class_init), (GST_START_TEST),
24036         (gst_controller_suite):
24037           more tests (hehe I have the most)
24038         * gst/gstbus.c:
24039           describe popping messages whenusing mulltiple sources
24040         * libs/gst/controller/gst-controller.c:
24041         (gst_controlled_property_set_interpolation_mode),
24042         (gst_controlled_property_new):
24043         * libs/gst/controller/gst-controller.h:
24044         * libs/gst/controller/gst-interpolation.c:
24045           implement boolean properties
24046
24047 2005-08-31  Wim Taymans  <wim@fluendo.com>
24048
24049         * gst/gstminiobject.c: (gst_mini_object_ref):
24050         Cannot assert that the refcount has to be positive
24051         since a disposed object can be resurrected.
24052
24053 2005-08-31  Wim Taymans  <wim@fluendo.com>
24054
24055         * gst/gstpad.c: (gst_pad_init):
24056         Revert change, need to first fix badly behaving 
24057         apps.
24058
24059 2005-08-30  Wim Taymans  <wim@fluendo.com>
24060
24061         * check/elements/fakesrc.c: (setup_fakesrc):
24062         * check/elements/identity.c: (setup_identity):
24063         Activate pads before using them.
24064
24065 2005-08-30  Wim Taymans  <wim@fluendo.com>
24066
24067         * gst/base/gstadapter.c: (gst_adapter_flush):
24068         Flushing out 0 bytes is ok for this function.
24069
24070         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
24071         no newsegment gives a warning and sets the start/stop to 
24072         invalid.
24073
24074         * gst/base/gstbasetransform.c: (gst_base_transform_change_state),
24075         (gst_base_transform_set_passthrough):
24076         Some debug info.
24077
24078         * gst/gstminiobject.c: (gst_mini_object_ref):
24079         Check refcount here too.
24080
24081         * gst/gstpad.c: (gst_pad_init):
24082         Pads are initially flushing and refusing data.
24083
24084         * gst/gstutils.c: (gst_element_link_pads_filtered):
24085         When adding a capsfilter element make sure it has the
24086         same state as the parent bin.
24087
24088 2005-08-30  Stefan Kost  <ensonic@users.sf.net>
24089
24090         * docs/gst/tmpl/.cvsignore:
24091         * docs/gst/tmpl/gstformat.sgml:
24092         * docs/gst/tmpl/gstversion.sgml:
24093         * gst/gstbus.h:
24094         * gst/gstformat.c:
24095         * gst/gstformat.h:
24096         * gst/gstversion.h.in:
24097           more docs and two more inlined
24098
24099 2005-08-30  Wim Taymans  <wim@fluendo.com>
24100
24101         * gst/elements/gstfilesink.c: (gst_file_sink_class_init):
24102         Don't sync to clock.
24103
24104 2005-08-30  Stefan Kost  <ensonic@users.sf.net>
24105
24106         * docs/gst/gstreamer-sections.txt:
24107           ultral33t func10ns deserve to appear in the docs actually
24108         * docs/gst/tmpl/.cvsignore:
24109         * docs/gst/tmpl/gstcompat.sgml:
24110         * docs/gst/tmpl/gstconfig.sgml:
24111         * gst/check/gstcheck.c:
24112         * gst/gstcompat.h:
24113         * gst/gstconfig.h.in:
24114           inlined more docs
24115
24116 2005-08-30  Stefan Kost  <ensonic@users.sf.net>
24117
24118         * docs/gst/tmpl/.cvsignore:
24119         * docs/gst/tmpl/gstquery.sgml:
24120         * docs/gst/tmpl/gstutils.sgml:
24121         * gst/gstquery.c:
24122         * gst/gstquery.h:
24123           inlined and extended docs
24124
24125 2005-08-30  Stefan Kost  <ensonic@users.sf.net>
24126
24127         * check/gst-libs/controller.c: (GST_START_TEST),
24128         (gst_controller_suite):
24129           more tests
24130         * docs/gst/tmpl/gstutils.sgml:
24131         * docs/libs/gstreamer-libs-sections.txt:
24132         * docs/libs/tmpl/gstdataprotocol.sgml:
24133           include path fixes
24134         * examples/controller/audio-example.c: (main):
24135           controller example works now
24136         * gst/gstclock.h:
24137           doc fixes
24138         * tools/gst-inspect.c: (print_element_properties_info):
24139           show param spec flags
24140
24141 2005-08-29  Andy Wingo  <wingo@pobox.com>
24142
24143         * gst/gstutils.c (gst_util_uint64_scale): New 3733t funct10n.
24144
24145 2005-08-28  Andy Wingo  <wingo@pobox.com>
24146
24147         * gst/gstutils.h (GST_BOILERPLATE_FULL): Prototype instance_init
24148         as having two arguments instead of just one. Allows superclasses
24149         to access information on subclasses -- see the terrible for() loop
24150         in gtype.c:g_type_create_instance for the reason why. All callers
24151         changed.
24152
24153 2005-08-27  Stefan Kost  <ensonic@users.sf.net>
24154
24155         * docs/design/part-messages.txt:
24156           update info
24157         * docs/gst/tmpl/.cvsignore:
24158         * docs/gst/tmpl/gstcaps.sgml:
24159         * docs/gst/tmpl/gstclock.sgml:
24160         * gst/gstbus.c:
24161         * gst/gstcaps.c:
24162         * gst/gstcaps.h:
24163         * gst/gstclock.c:
24164         * gst/gstclock.h:
24165         * gst/gstmessage.c:
24166           added descriptions for bus and message
24167           inline caps and clock docs
24168
24169 2005-08-27  Stefan Kost  <ensonic@users.sf.net>
24170
24171         * gst/gstmessage.c:
24172         * gst/gstmessage.h:
24173           doc fixes
24174
24175 2005-08-27  Stefan Kost  <ensonic@users.sf.net>
24176
24177         * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
24178           fix div-by-zero
24179
24180 2005-08-26  Andy Wingo  <wingo@pobox.com>
24181
24182         * check/pipelines/simple_launch_lines.c (run_pipeline): Check
24183         element_set_state's return val.
24184         (test_2_elements): Add test that's been disabled for months.
24185
24186         * gst/elements/gstfakesink.c: Cleanups. Add can-activate-push and
24187         can-activate-pull properties.
24188
24189         * gst/elements/gstfakesrc.c: Cleanups. Add can-activate-push and
24190         can-activate-pull properties. Implement is_seekable so fakesrc can
24191         operate in pull mode.
24192
24193         * gst/base/gstbasesink.c (GstBaseSink): Remove has-loop, has-chain
24194         properties.
24195         (gst_base_sink_activate, gst_base_sink_activate_pull)
24196         (gst_base_sink_activate_push): Make activation mode choosing work.
24197         Cleanups.
24198         (gst_base_sink_chain, gst_base_sink_loop): Assert activation mode
24199         is right. Make pull mode work. Post an eos before pausing in pull
24200         mode.
24201         (gst_base_sink_change_state): Pay attention to the core's
24202         change_state() return val.
24203         
24204         * gst/base/gstbasesrc.c (GstBaseSrc): Remove has-loop,
24205         has-getrange properties. Cleanups.
24206         
24207         * gst/base/gstbasesrc.h (GstBaseSrc): Remove has_loop,
24208         has_getrange and replace with can_activate_pull and
24209         can_activate_push.
24210
24211         * gst/base/gstbasesink.h (GstBaseSink): Rearrange fields, add
24212         locking comments. Remove has_loop, has_chain and replace with
24213         can_activate_pull and can_activate_push.
24214
24215 2005-08-26  Jan Schmidt  <thaytan@mad.scientist.com>
24216
24217         * configure.ac:
24218         * examples/Makefile.am:
24219         * examples/metadata/Makefile.am:
24220         * examples/metadata/read-metadata.c: (message_loop),
24221         (have_pad_handler), (make_pipeline), (print_tag), (main):
24222           Add metadata reading example that loops over a list of filenames,
24223           dumping any tags found.
24224
24225         * gst/gstbus.c: (gst_bus_dispose):
24226         * gst/gstelement.c: (gst_element_dispose):
24227           Release a few potentially-held references in dispose.
24228
24229 2005-08-26  Stefan Kost  <ensonic@users.sf.net>
24230
24231         * docs/gst/tmpl/gstminiobject.sgml:
24232           do *not* add tmpl/*.sgml files to CVS!
24233
24234 2005-08-26  Stefan Kost  <ensonic@users.sf.net>
24235
24236         * libs/gst/bytestream/.cvsignore:
24237         * libs/gst/bytestream/Makefile.am:
24238         * libs/gst/bytestream/adapter.c:
24239         * libs/gst/bytestream/adapter.h:
24240         * libs/gst/bytestream/bytestream.c:
24241         * libs/gst/bytestream/bytestream.h:
24242         * libs/gst/bytestream/filepad.c:
24243         * libs/gst/bytestream/filepad.h:
24244           removing obsolete files
24245
24246 2005-08-26  Stefan Kost  <ensonic@users.sf.net>
24247
24248         * docs/gst/gstreamer-docs.sgml:
24249         * docs/libs/gstreamer-libs-docs.sgml:
24250           disabed additional index entries again, as this makes docs-gen just
24251           slow and they aren't useful yet
24252         * docs/libs/gstreamer-libs-sections.txt:
24253           little -section.txt cleanup for libs
24254
24255 2005-08-26  Thomas Vander Stichele  <thomas at apestaart dot org>
24256
24257         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
24258         * gst/base/gstbasetransform.c: (gst_base_transform_transform_size),
24259           fix up some debugging
24260         (gst_base_transform_get_unit_size),
24261         (gst_base_transform_buffer_alloc), (gst_base_transform_event),
24262         (gst_base_transform_handle_buffer):
24263         * gst/base/gstbasetransform.h:
24264           handle and store timed NEWSEGMENT events so that subclasses that
24265           calculate time by counting samples have a segment_start time they
24266           need to add to their timestamps - see audioresample
24267
24268 2005-08-26  Stefan Kost  <ensonic@users.sf.net>
24269
24270         * gst/gstbin.h:
24271           removed ';' from the end of macro defs
24272         * docs/gst/gstreamer-docs.sgml:
24273         * docs/gst/gstreamer-sections.txt:
24274         * docs/gst/tmpl/.cvsignore:
24275         * gst/gstbus.h:
24276         * gst/gstelement.c: (gst_element_class_init),
24277         (gst_element_set_state), (activate_pads),
24278         (gst_element_save_thyself):
24279         * gst/gstevent.c: (gst_event_new_newsegment):
24280         * gst/gstevent.h:
24281         * gst/gstiterator.c:
24282         * gst/gstiterator.h:
24283         * gst/gstpad.c:
24284         * gst/gstprobe.h:
24285         * gst/gstutils.c: (gst_pad_query_convert):
24286         * gst/gstutils.h:
24287           fixed parameter name mismatches between source, header and docs
24288           added some more docs, resolved the last batch of unused elements in
24289           docs (now someone needs to doc them)
24290
24291 2005-08-25  Thomas Vander Stichele  <thomas at apestaart dot org>
24292
24293         * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_rebuild):
24294         * gst/registries/gstxmlregistry.c: (gst_xml_registry_rebuild):
24295           don't walk through the plugins backwards.  Where is all this
24296           reversed logic coming from ?
24297
24298 2005-08-25  Wim Taymans  <wim@fluendo.com>
24299
24300         * gst/base/gstbasetransform.c: (gst_base_transform_init),
24301         (gst_base_transform_transform_size),
24302         (gst_base_transform_configure_caps),
24303         (gst_base_transform_get_unit_size),
24304         (gst_base_transform_buffer_alloc),
24305         (gst_base_transform_change_state):
24306         * gst/base/gstbasetransform.h:
24307         Cache caps unit_size.
24308         Make sure we cannot negotiate up and downstream at the
24309         same time.
24310
24311 2005-08-25  Thomas Vander Stichele  <thomas at apestaart dot org>
24312
24313         * gst/gst.c: (init_pre), (init_post):
24314           register the installed plugin path after the env var
24315         * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_save):
24316         * gst/registries/gstxmlregistry.c: (gst_xml_registry_save):
24317           don't reverse order of paths; conserve the order of GST_PLUGIN_PATH
24318           directories, so the tests can prefer uninstalled over installed
24319
24320 2005-08-25  Thomas Vander Stichele  <thomas at apestaart dot org>
24321
24322         * gst/base/gstbasetransform.h:
24323           comment
24324         * gst/gstpad.c:
24325           add to docs
24326
24327 2005-08-25  Wim Taymans  <wim@fluendo.com>
24328
24329         * gst/gstbin.c: (bin_bus_handler):
24330         Be a bit more conservative about the posted message.
24331         
24332         * gst/gstbus.c: (gst_bus_post):
24333         Some cleanups, warn wrong return values.
24334
24335 2005-08-25  Jan Schmidt  <thaytan@mad.scientist.com>
24336
24337         * check/gst/gstbin.c: (GST_START_TEST):
24338         * gst/gstbin.c: (bin_bus_handler):
24339         * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
24340         (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
24341         (gst_message_new_warning), (gst_message_new_tag),
24342         (gst_message_new_state_changed), (gst_message_new_segment_start),
24343         (gst_message_new_segment_done), (gst_message_new_custom):
24344         * gst/gstmessage.h:
24345         * tools/gst-launch.c: (event_loop):
24346         * tools/gst-md5sum.c: (event_loop):
24347           Revert unpopular change for GST_MESSAGE_SRC to GObject.
24348
24349 2005-08-25  Wim Taymans  <wim@fluendo.com>
24350
24351         * check/generic/states.c: (GST_START_TEST):
24352         Cleanup can be done at the end.
24353
24354         * gst/gsttask.c: (gst_task_get_type), (gst_task_finalize),
24355         (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
24356         (gst_task_get_state), (gst_task_start), (gst_task_pause):
24357         Oh boy.. Thanks for finding this, Thomas. 
24358
24359 2005-08-25  Stefan Kost  <ensonic@users.sf.net>
24360
24361         * docs/gst/gstreamer.types:
24362           added missing types
24363
24364 2005-08-25  Stefan Kost  <ensonic@users.sf.net>
24365
24366         * docs/gst/gstreamer-docs.sgml:
24367         * docs/gst/gstreamer-sections.txt:
24368         * docs/gst/tmpl/.cvsignore:
24369         * gst/gstbin.c:
24370         * gst/gstiterator.c:
24371         * gst/gstutils.c:
24372         * gst/registries/gstxmlregistry.h:
24373           added missing classes and symbols (123 more to go)
24374           removed removed symbols from section file
24375           fixed many doc-comments
24376
24377 2005-08-24  Wim Taymans  <wim@fluendo.com>
24378
24379         * check/generic/states.c: (GST_START_TEST):
24380         Make sure all tasks are stopped.
24381
24382         * check/gst/gstbin.c: (GST_START_TEST):
24383         Unref after usage for proper valgrinding.
24384
24385         * gst/gstpad.c: (gst_pad_finalize), (gst_pad_stop_task):
24386         Really wait for the task to stop before destroying the
24387         mutex.
24388
24389         * gst/gstqueue.c: (gst_queue_sink_activate_push),
24390         (gst_queue_src_activate_push):
24391         Small cleanups. Don't stop the task when we did not start
24392         it.
24393
24394         * gst/gsttask.c: (gst_task_get_type), (gst_task_init),
24395         (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
24396         (gst_task_get_state), (gst_task_start), (gst_task_pause),
24397         (gst_task_join):
24398         * gst/gsttask.h:
24399         Protect the stream lock with the object lock.
24400         Disallow setting the stream lock when running.
24401         Add cleanup_all to wait for the threadpool to finish.
24402         Remove code to autoallocate a mutex if none was provided.
24403         Add _join() to wait for a task to stop.
24404         Protect the thread pool with a global lock.
24405
24406 2005-08-24  Wim Taymans  <wim@fluendo.com>
24407
24408         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
24409         (gst_base_sink_get_times), (gst_base_sink_do_sync),
24410         (gst_base_sink_handle_buffer), (gst_base_sink_change_state):
24411         * gst/base/gstbasesink.h:
24412         Handle newsegment events correctly.
24413         Drop buffers out of the segment range.
24414
24415 2005-08-22  Andy Wingo  <wingo@pobox.com>
24416
24417         * gst/gstutils.h (GST_BOILERPLATE_WITH_INTERFACE): New ghetto
24418         macro, implements an interface and gstimplementsinterface for a
24419         new type.
24420
24421 2005-08-24  Thomas Vander Stichele  <thomas at apestaart dot org>
24422
24423         * check/Makefile.am:
24424         * check/generic/states.c: (GST_START_TEST), (states_suite), (main):
24425           add a test that does a bunch of state changes on elements
24426           needs some fixing for valgrind
24427         * check/states/sinks.c: (gst_object_suite):
24428           whitespace
24429         * gst/gstcaps.h:
24430           add prototype for gst_caps_is_equal_fixed
24431         * gst/gstplugin.c:
24432         * gst/gstregistrypool.c:
24433           doc fixes
24434
24435 2005-08-24  Andy Wingo  <wingo@pobox.com>
24436
24437         * gst/gstquery.c (gst_query_new_convert): Spew if we try to
24438         convert a negative value. Doesn't make much sense. Mostly this is
24439         here to force callers to ensure -1 maps to -1.
24440
24441 2005-08-24  Jan Schmidt  <thaytan@mad.scientist.com>
24442
24443         * docs/pwg/advanced-types.xml:
24444           Well done to Michael for catching my deliberate introduction
24445           of this spelling mistake. 
24446         * gst/gstbin.c: (gst_bin_remove_func), (bin_bus_handler):
24447         * gst/gstelement.h:
24448           Add GST_ELEMENT_UNPARENTING to prevent races so that we can
24449           unlink pads before removing the element from the bin.
24450
24451 2005-08-24  Andy Wingo  <wingo@pobox.com>
24452
24453         * gst/gst.c (parse_debug_list): Accept e.g. GST_DEBUG=4 to mean
24454         the same thing as GST_DEBUG=*:4.
24455         (parse_debug_level, parse_debug_category): New helper parsers.
24456
24457 2005-08-24  Thomas Vander Stichele  <thomas at apestaart dot org>
24458
24459         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
24460         (gst_base_transform_transform_size), (gst_base_transform_getcaps),
24461         (gst_base_transform_setcaps), (gst_base_transform_get_unit_size),
24462         (gst_base_transform_buffer_alloc),
24463         (gst_base_transform_handle_buffer):
24464           use gboolean return values and pointers to size so we can use the
24465           full GST_BUFFER_SIZE range (guint) for buffer sizes
24466           use GstPadDirection for transform_caps
24467         * gst/base/gstbasetransform.h:
24468           rename get_size to get_unit_size since that's what it is
24469         * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_caps):
24470           use GstPadDirection for transform_caps
24471         * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
24472         * gst/gstutils.h:
24473           cleanup and debugging
24474
24475 2005-08-24  Stefan Kost  <ensonic@users.sf.net>
24476
24477         * gst/gstelement.c: (gst_element_class_init),
24478         (gst_element_set_state), (activate_pads),
24479         (gst_element_save_thyself):
24480         * tools/gst-compprep.c: (main):
24481         * tools/gst-inspect.c: (print_element_properties_info):
24482         * tools/gst-xmlinspect.c: (print_element_properties):
24483           Fixed long standing mem-leak
24484
24485 2005-08-24  Jan Schmidt  <thaytan@mad.scientist.com>
24486
24487         * check/gst/gstbin.c: (GST_START_TEST):
24488         * gst/gstbin.c: (bin_bus_handler):
24489         * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
24490         (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
24491         (gst_message_new_warning), (gst_message_new_tag),
24492         (gst_message_new_state_changed), (gst_message_new_segment_start),
24493         (gst_message_new_segment_done), (gst_message_new_custom):
24494         * gst/gstmessage.h:
24495         * tools/gst-launch.c: (event_loop):
24496         * tools/gst-md5sum.c: (event_loop):
24497           Change GST_MESSAGE_SRC to be a GObject rather than a GstObject, so
24498           that applications can sensibly post custom messages with references
24499           to their own objects.
24500
24501 2005-08-24  Andy Wingo  <wingo@pobox.com>
24502
24503         * gst/gstpad.c (gst_pad_fixate_caps): Check if the caps is fixed
24504         already.
24505
24506 2005-08-24  Wim Taymans  <wim@fluendo.com>
24507
24508         * gst/base/gstbasetransform.c: (gst_base_transform_init),
24509         (gst_base_transform_transform_caps),
24510         (gst_base_transform_transform_size),
24511         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
24512         (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
24513         (gst_base_transform_handle_buffer):
24514         * gst/base/gstbasetransform.h:
24515         Many fixes and new features added by Thomas. Can now also do
24516         transforms with variable sizes and a custom fixate_caps function.
24517
24518 2005-08-24  Wim Taymans  <wim@fluendo.com>
24519
24520         * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
24521         Some debugging.
24522
24523         * gst/gstclock.h:
24524         Cast to ClockTime before formatting to time.
24525
24526         * gst/gstutils.h:
24527         Cleanups.
24528
24529 2005-08-24  Stefan Kost  <ensonic@users.sf.net>
24530
24531         * check/gst-libs/controller.c: (GST_START_TEST),
24532         (gst_controller_suite):
24533         * docs/gst/tmpl/gstcaps.sgml:
24534         * docs/gst/tmpl/gstghostpad.sgml:
24535         * docs/gst/tmpl/gstquery.sgml:
24536         * docs/gst/tmpl/gstutils.sgml:
24537         * libs/gst/controller/gst-helper.c: (gst_object_set_controller),
24538         (gst_object_sink_values), (gst_object_get_value_arrays),
24539         (gst_object_get_value_array):
24540           gracefully handle helper method calls to objects that are not beeing
24541           controlled, added test case for that          
24542
24543 2005-08-23  Wim Taymans  <wim@fluendo.com>
24544
24545         * gst/gstevent.c: (_gst_event_copy), (gst_event_new_custom),
24546         (gst_event_new_newsegment), (gst_event_parse_newsegment),
24547         (gst_event_new_tag), (gst_event_parse_tag), (gst_event_new_qos),
24548         (gst_event_parse_qos), (gst_event_new_seek),
24549         (gst_event_parse_seek):
24550         * gst/gstevent.h:
24551         Some more debugging output and doc cleanups.
24552
24553         * gst/gstqueue.c: (gst_queue_handle_sink_event):
24554         Fix possible deadlock.
24555
24556 2005-08-23  Stefan Kost  <ensonic@users.sf.net>
24557
24558         * docs/gst/gstreamer-docs.sgml:
24559         * docs/gst/gstreamer-sections.txt:
24560         * docs/gst/gstreamer.types:
24561         * docs/gst/tmpl/.cvsignore:
24562         * gst/gstbin.h:
24563         * gst/gstbus.c:
24564         * gst/gstelement.c:
24565         * gst/gstevent.h:
24566           added 100 symbols from gstreamer-unused.txt to the right sections
24567           fixed more broken comments
24568           added GstBus to docs
24569
24570 2005-08-23  Stefan Kost  <ensonic@users.sf.net>
24571
24572         * docs/gst/gstreamer-sections.txt:
24573         * docs/gst/tmpl/.cvsignore:
24574         * docs/gst/tmpl/gstbin.sgml:
24575         * docs/gst/tmpl/gstbuffer.sgml:
24576         * gst/base/gstbasesrc.c:
24577         * gst/gstbin.c: (gst_bin_get_type), (gst_bin_class_init):
24578         * gst/gstbuffer.c:
24579         * gst/gstbuffer.h:
24580         * tools/gst-launch.1.in:
24581           inlined more doc comments, added missing comments and fixed comments
24582           fixed typos
24583
24584 2005-08-23  Thomas Vander Stichele  <thomas at apestaart dot org>
24585
24586         * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
24587           some debugging
24588         * gst/gstcaps.h:
24589           whitespace fixes
24590         * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_alloc_buffer):
24591           more debugging
24592         * gst/gststructure.c: (gst_caps_structure_fixate_field_boolean):
24593         * gst/gststructure.h:
24594           add a fixate function for booleans; add a FIXME that these func
24595           names should probably be gst_structure_fixate_*
24596
24597 2005-08-23  Stefan Kost  <ensonic@users.sf.net>
24598
24599         * docs/gst/gstreamer-docs.sgml:
24600         * docs/gst/gstreamer-sections.txt:
24601         * gst/Makefile.am:
24602         * gst/gstbin.c: (gst_bin_get_type),
24603         (gst_bin_child_proxy_get_child_by_index),
24604         (gst_bin_child_proxy_get_children_count),
24605         (gst_bin_child_proxy_init):
24606         * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
24607         (gst_child_proxy_get_child_by_index),
24608         (gst_child_proxy_get_children_count), (gst_child_proxy_lookup),
24609         (gst_child_proxy_get_property), (gst_child_proxy_get_valist),
24610         (gst_child_proxy_get), (gst_child_proxy_set_property),
24611         (gst_child_proxy_set_valist), (gst_child_proxy_set),
24612         (gst_child_proxy_child_added), (gst_child_proxy_child_removed),
24613         (gst_child_proxy_base_init), (gst_child_proxy_get_type):
24614         * gst/gstchildproxy.h:
24615         * gst/parse/grammar.y:
24616         * tools/gst-inspect.c: (print_interfaces),
24617         (print_element_properties_info), (print_element_info):
24618           ported gstchildproxy over from 0.8
24619           ported gst-inspect fixes and enhancements over from 0.8
24620
24621 2005-08-22  Wim Taymans  <wim@fluendo.com>
24622
24623         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
24624         (gst_base_transform_handle_buffer):
24625         Also call the transform function if we have ANY caps.
24626
24627         * gst/gstpipeline.c: (gst_pipeline_set_new_stream_time):
24628         Fix debug info.
24629
24630 2005-08-22  Jan Schmidt  <thaytan@mad.scientist.com>
24631
24632         * gst/base/gstbasesrc.c: (gst_base_src_event_handler)
24633           Don't pretend to handle seek events if the source is not seekable
24634
24635 2005-08-22  Jan Schmidt  <thaytan@mad.scientist.com>
24636
24637         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
24638           Remove extra parameter to debug output
24639
24640         * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
24641         (gst_base_src_do_seek), (gst_base_src_activate_push):
24642           Fix seek event handling.
24643
24644         * gst/gstpipeline.c: (gst_pipeline_change_state):
24645         * gst/gstqueue.c: (gst_queue_handle_sink_event),
24646         (gst_queue_src_activate_push):
24647           Don't start the src pad task on FLUSH_STOP if the pad
24648           isn't linked.
24649           Debug changes.
24650
24651 2005-08-22  Wim Taymans  <wim@fluendo.com>
24652
24653         * check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
24654         Added check for gst_static_caps_get() refcounting.
24655
24656 2005-08-22  Wim Taymans  <wim@fluendo.com>
24657
24658         * gst/gstcaps.c: (gst_static_caps_get), (gst_caps_to_string):
24659         Make _static_caps_get() refcounting sane.
24660         
24661         * gst/gstelement.c: (gst_element_set_state):
24662         Add g_return_val_if_fail() to protect against segfaults.
24663
24664 2005-08-22  Stefan Kost  <ensonic@users.sf.net>
24665
24666         * docs/gst/tmpl/gstevent.sgml:
24667         * gst/gstevent.c:
24668         * gst/gstevent.h:
24669           inlined remaining docs, added missing doc comments
24670
24671 2005-08-22  Thomas Vander Stichele  <thomas at apestaart dot org>
24672
24673         * check/gst/gstbin.c: (GST_START_TEST):
24674           since we don't know when preroll is done, use refcount range
24675           check for the sink
24676         * gst/check/gstcheck.h:
24677           add macro for checking refcount range
24678
24679 2005-08-21  Thomas Vander Stichele  <thomas at apestaart dot org>
24680
24681         * check/Makefile.am:
24682           clean up environment for when registry gets built versus
24683           when actual tests are run; valgrind seems to not report
24684           leaks if GST_PLUGIN_PATH is set to some specific values
24685         * check/gst/gstbin.c: (GST_START_TEST):
24686           add more refcounting checks; maybe this exposes a
24687           preroll lock bug ?
24688         * common/check.mak:
24689         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
24690         * gst/check/gstcheck.h:
24691         * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_get_state),
24692         (gst_bin_change_state):
24693         * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_chain):
24694           add/fix debugging/whitespace
24695
24696 2005-08-21  Jan Schmidt  <thaytan@mad.scientist.com>
24697
24698         * check/gst/gstevent.c: (event_probe), (test_event),
24699         (GST_START_TEST):
24700          Er, don't call gst_bin_watch_for_state_change you idiot.
24701
24702 2005-08-21  Jan Schmidt  <thaytan@mad.scientist.com>
24703
24704         * check/Makefile.am:
24705           Use CHECK_CFLAGS and CHECK_LIBS
24706         * check/gst/gstevent.c: (event_probe), (test_event),
24707         (GST_START_TEST):
24708           Don't leak events.
24709         * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
24710         (gst_base_src_start), (gst_base_src_stop),
24711         (gst_base_src_activate_push), (gst_base_src_activate_pull),
24712         (gst_base_src_change_state):
24713           Sprinkle gst_base_src_stop liberally around error paths to fix
24714           problems reusing a source after failed state changes.
24715         * gst/base/gsttypefindhelper.c: (helper_find_peek),
24716         (helper_find_suggest), (gst_type_find_helper):
24717           Extra debug output. Don't segfault on GST_PAD_GETRANGEFUNC = NULL
24718         * gst/gstevent.h:
24719         * docs/gst/tmpl/gstevent.sgml:
24720           Migrate part of the docs from the SGML file. Wait for ensonic to
24721           tell me how I did it wrong ;)
24722         * tools/gst-typefind.c: (main):
24723           Extra robustness to state changes between files.
24724
24725 2005-08-21  Thomas Vander Stichele  <thomas at apestaart dot org>
24726
24727         * check/Makefile.am:
24728           don't valgrind the controller test - it's leaking - Stefan, HELP
24729         * gst/check/gstcheck.c: (gst_check_message_error),
24730         (gst_check_chain_func), (gst_check_setup_element),
24731         (gst_check_teardown_element), (gst_check_setup_src_pad),
24732         (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
24733         (gst_check_teardown_sink_pad):
24734         * gst/check/gstcheck.h:
24735           add a bunch of methods to set up elements, and src and sink pads
24736         * check/elements/fakesrc.c: (setup_fakesrc), (cleanup_fakesrc):
24737         * check/elements/identity.c: (setup_identity), (cleanup_identity),
24738         (GST_START_TEST):
24739           use them
24740         * gst/gstmessage.c:
24741         * gst/gsttag.h:
24742           whitespace/doc fixes
24743
24744 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
24745
24746         * gst/gstelement.h:
24747           make GST_ELEMENT_ERROR not do GST_ERROR_OBJECT - these errors should
24748           be handled by the application and not always printed as well
24749
24750 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
24751
24752         * check/Makefile.am:
24753           set GST_TOOLS_DIR
24754         * gst/check/gstcheck.c: (gst_check_message_error):
24755         * gst/check/gstcheck.h:
24756           add a fail_unless_equals_int
24757           add fail_unless for error messages
24758
24759 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
24760
24761         * check/Makefile.am:
24762         * check/gst.supp:
24763         * common/Makefile.am:
24764         * common/check.mak:
24765         * common/gst.supp:
24766           factor out some of the common stuff so we can use it
24767
24768 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
24769
24770         * check/Makefile.am:
24771         * check/gst/gstiterator.c: (GST_START_TEST):
24772         * check/gst/gstsystemclock.c: (GST_START_TEST),
24773         (gst_systemclock_suite):
24774         * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
24775         * gst/gstclock.c:
24776           valgrind more tests
24777
24778 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
24779
24780         * check/elements/.cvsignore:
24781         * check/elements/gstfakesrc.c:
24782           rename to name of element
24783         * check/elements/identity.c: (chain_func), (event_func),
24784         (setup_identity), (cleanup_identity), (GST_START_TEST),
24785         (identity_suite), (main):
24786           add a test for identity
24787         * check/Makefile.am:
24788         * pkgconfig/Makefile.am:
24789         * pkgconfig/gstreamer-check.pc.in:
24790         * pkgconfig/gstreamer-check-uninstalled.pc.in:
24791         * gst/check:
24792         * gst/Makefile.am:
24793         * configure.ac:
24794           move the check stuff to a library that gets installed
24795         * check/gst-libs/controller.c: (GST_START_TEST):
24796         * check/gst-libs/gdp.c:
24797         * check/gst/gst.c: (GST_START_TEST):
24798         * check/gst/gstbin.c:
24799         * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
24800         * check/gst/gstbus.c:
24801         * check/gst/gstcaps.c: (GST_START_TEST):
24802         * check/gst/gstelement.c:
24803         * check/gst/gstghostpad.c:
24804         * check/gst/gstiterator.c:
24805         * check/gst/gstmessage.c:
24806         * check/gst/gstminiobject.c: (thread_ref), (GST_START_TEST):
24807         * check/gst/gstobject.c:
24808         * check/gst/gstpad.c: (GST_START_TEST):
24809         * check/gst/gststructure.c: (GST_START_TEST):
24810         * check/gst/gstsystemclock.c: (GST_START_TEST),
24811         (gst_systemclock_suite):
24812         * check/gst/gsttag.c: (gst_tag_suite):
24813         * check/gst/gstvalue.c:
24814         * check/pipelines/cleanup.c:
24815         * check/pipelines/simple_launch_lines.c:
24816         * check/states/sinks.c:
24817           change include statement
24818
24819         * docs/gst/gstreamer-sections.txt:
24820         * docs/gst/tmpl/gstpad.sgml:
24821           document more pad stuff
24822         * gst/gstminiobject.c: (gst_mini_object_ref),
24823         (gst_mini_object_unref):
24824           debug refcounting
24825
24826 2005-08-19  Stefan Kost  <ensonic@users.sf.net>
24827
24828         * docs/gst/tmpl/gst.sgml:
24829         * gst/gst.c:
24830           eliminate another tmpl file, fix spelling in the long-description
24831
24832 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
24833
24834         * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
24835         (test_event), (timediff), (gstevents_suite):
24836           Should fix build on 64-bit arch's
24837
24838 2005-08-18  Andy Wingo  <wingo@pobox.com>
24839
24840         Make sure that when a pipeline goes to PLAYING, that data has
24841         actually hit the sink.
24842
24843         * check/states/sinks.c (test_sink): A sink that doesn't get any
24844         data shouldn't return SUCCESS for going to either PLAYING or
24845         PAUSED. Test also the return values on the way back down.
24846
24847         * gst/gstelement.c (gst_element_set_state): When changing the
24848         state of an element currently changing state asynchronously, go to
24849         lost-state after commiting the pending state. Makes future calls
24850         to get_state continue to return ASYNC.
24851
24852         * gst/base/gstbasesink.c (gst_base_sink_change_state): Return
24853         ASYNC when going to PLAYING if we still don't have preroll, as can
24854         happen with live sources.
24855
24856 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
24857
24858         * docs/pwg/advanced-types.xml:
24859           Hack long paragraph into 2 chunks as a workaround for buggy
24860           jadetex version in sid and breezy that loops infinitely and
24861           eats all RAM.
24862
24863 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
24864
24865         * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
24866         (test_event), (timediff), (gstevents_suite):
24867           Provide more error margin in clock measurements to allow for 
24868           g_get_current_time inaccuracies.
24869
24870 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
24871
24872         * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
24873         (test_event), (timediff), (gstevents_suite):
24874            Fix error message output so I might be able to tell why the
24875            test works here but fails on the build farm.
24876
24877 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
24878
24879         * check/Makefile.am:
24880         * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
24881         (test_event), (timediff), (gstevents_suite), (main):
24882           I wrote a test!
24883
24884         * docs/design/part-seeking.txt:
24885           Spelling correction
24886
24887         * docs/gst/tmpl/gstevent.sgml:
24888         * docs/gst/tmpl/gstfakesrc.sgml:
24889           Docs updates.
24890
24891         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
24892           Treat a buffer-without-newsegment the same as a receiving 
24893           a newsegment not in time format, and disable syncing to the clock
24894           with a warning.
24895
24896         * gst/gstbus.c: (gst_bus_set_sync_handler):
24897           Assert if anyone tries to replace the existing sync_handler for bus, 
24898           as only the owner should be setting it.
24899
24900         * gst/gstevent.h:
24901           Have a fixed set of custom event enums with events identified by
24902           their structure name (as in 0.8), rather than a free-for-all
24903           allowing collisions between enum values from different plugins.
24904
24905         * gst/gstpad.c: (gst_pad_class_init):
24906           Docs change.
24907           
24908         * gst/gstqueue.c: (gst_queue_handle_sink_event):
24909           Handle out-of-band downstream events from the sending thread.
24910
24911 2005-08-17  Andy Wingo  <wingo@pobox.com>
24912
24913         * gst/gstpipeline.c (gst_pipeline_change_state): Interpret
24914         play-timeout==0 to mean no timeout at all. In that case, don't
24915         bother with a get_state or a warning, just return directly, even
24916         if it's ASYNC.
24917
24918         * gst/base/gstbasetransform.c: Debug changes.
24919
24920         * gst/gstutils.h:
24921         * gst/gstutils.c (gst_bin_watch_for_state_change): Add function to
24922         ensure bins post state change messages. A bit of a hack but I can't
24923         think of a way to avoid it.
24924
24925         * check/gst/gstbin.c (test_watch_for_state_change): Added test.
24926
24927 2005-08-16  Andy Wingo  <wingo@pobox.com>
24928
24929         * gst/base/gstadapter.h:
24930         * gst/base/gstadapter.c (gst_adapter_take): New function, like
24931         peek() but you own the data. Not terribly efficient atm.
24932
24933 2005-08-16  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
24934
24935         * gst/gstutils.c: (gst_element_found_tags_for_pad), (push_and_ref),
24936         (gst_element_found_tags):
24937         * gst/gstutils.h:
24938           Add two utility functions for tag handling.
24939
24940 2005-08-16  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
24941
24942         * docs/manual/advanced-dataaccess.xml:
24943         * docs/manual/basics-helloworld.xml:
24944           Fix docs to use _bin_add() before _link(), which fixes the examples
24945           with recent core versions (reported by Madhan Raj M
24946           <raj_madan@rediffmail.com>, #313199).
24947
24948 2005-08-16  Wim Taymans  <wim@fluendo.com>
24949
24950         * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
24951         Added subtract checks.
24952
24953         * docs/design/part-events.txt:
24954         Some more docs about newsegment
24955
24956         * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
24957         Fix FIXME
24958
24959         * gst/gstcaps.c: (gst_caps_to_string):
24960         Add comments, cleanups.
24961         
24962         * gst/gstelement.c: (gst_element_save_thyself):
24963         cleanups
24964         
24965         * gst/gstvalue.c: (gst_value_collect_int_range),
24966         (gst_string_unwrap), (gst_value_union_int_int_range),
24967         (gst_value_union_int_range_int_range),
24968         (gst_value_intersect_int_int_range),
24969         (gst_value_intersect_int_range_int_range),
24970         (gst_value_intersect_double_double_range),
24971         (gst_value_intersect_double_range_double_range),
24972         (gst_value_intersect_list), (gst_value_subtract_int_int_range),
24973         (gst_value_subtract_int_range_int),
24974         (gst_value_subtract_double_range_double),
24975         (gst_value_subtract_double_range_double_range),
24976         (gst_value_subtract_from_list), (gst_value_subtract_list),
24977         (gst_value_can_compare), (gst_value_compare_fraction):
24978         Cleanups, add comments, remove unneeded asserts.
24979
24980 2005-08-15  Thomas Vander Stichele  <thomas at apestaart dot org>
24981
24982         * tools/gst-launch.c: (event_loop):
24983           don't convert NULL structures to strings
24984
24985 2005-08-15  Stefan Kost  <ensonic@users.sf.net>
24986
24987         * docs/gst/gstreamer-sections.txt:
24988           made some defines private
24989         * docs/gst/tmpl/gstconfig.sgml:
24990         * docs/gst/tmpl/gstqueue.sgml:
24991         * docs/gst/tmpl/gsttaglist.sgml:
24992         * docs/gst/tmpl/gsttypes.sgml:
24993         * docs/gst/tmpl/gstutils.sgml:
24994         * docs/pwg/appendix-porting.xml:
24995         * gst/base/gstbasesink.h:
24996         * gst/base/gstbasesrc.c:
24997         * gst/base/gstbasesrc.h:
24998         * gst/elements/gstfakesink.c: (gst_fake_sink_class_init):
24999         * gst/elements/gstfakesrc.c: (gst_fake_src_class_init):
25000         * gst/gstelement.c: (gst_element_class_init):
25001         * gst/gstpad.c: (gst_pad_class_init):
25002         * gst/gstqueue.c: (gst_queue_class_init):
25003         * gst/gstxml.c: (gst_xml_class_init):
25004           documented all undocumented signal inline
25005         * libs/gst/controller/gst-controller.h:
25006           added padding
25007
25008 2005-08-15  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
25009
25010         * docs/pwg/appendix-porting.xml:
25011           Document _set_link_function -> _set_setcaps_function.
25012
25013 2005-08-15  Thomas Vander Stichele  <thomas at apestaart dot org>
25014
25015         * check/Makefile.am:
25016           add a .check target for running the check
25017         * check/gst-libs/controller.c: (GST_START_TEST):
25018           cosmetic fixups
25019         * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
25020           complete checks for gstbuffer; would be nice if I could get the
25021           gcov stuff to work so I can see if I actually completed gstbuffer.c
25022         * check/gstcheck.h:
25023           add ASSERT_BUFFER_REFCOUNT
25024
25025 2005-08-13  Tim-Philipp Müller  <tim at centricular dot net>
25026
25027         * docs/gst/gstreamer-sections.txt:
25028         * gst/gsttag.c: (_gst_tag_initialize), (gst_tag_register):
25029         * gst/gsttag.h:
25030           Add GST_TAG_LANGUAGE_CODE as we have in 0.8, and don't
25031           spew out a warning if a tag that is already registered
25032           is re-registered, unless it is re-registered with a 
25033           different type (#308438).
25034
25035 2005-08-12  Tim-Philipp Müller  <tim at centricular dot net>
25036
25037         * docs/pwg/appendix-porting.xml:
25038         * docs/pwg/building-state.xml:
25039           Add some paragraphs about state changes in 0.9 to the PWG
25040           and the porting guide, in particular about the new meaning
25041           of GST_STATE_PAUSED and how to write state change functions
25042           with concurrent access by multiple threads in mind.
25043
25044 2005-08-11  Stefan Kost  <ensonic@users.sf.net>
25045
25046         * docs/gst/gstreamer-docs.sgml:
25047         * docs/libs/gstreamer-libs-docs.sgml:
25048           added deprecation and since indexes
25049         * libs/gst/controller/gst-controller.c:
25050         * libs/gst/controller/gst-helper.c:
25051           added since tags
25052
25053
25054 2005-08-11  Wim Taymans  <wim@fluendo.com>
25055
25056         * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked),
25057         (gst_proxy_pad_set_target), (gst_proxy_pad_get_target),
25058         (gst_proxy_pad_dispose), (gst_ghost_pad_do_activate_push),
25059         (gst_ghost_pad_do_link), (gst_ghost_pad_set_internal),
25060         (gst_ghost_pad_new_notarget), (gst_ghost_pad_get_target),
25061         (gst_ghost_pad_set_target):
25062         Actually implement (re)setting the target on a ghostpad
25063         as described in the docs.
25064
25065 2005-08-10  Tim-Philipp Müller  <tim at centricular dot net>
25066
25067         * gst/gst.c: (gst_init_check_with_popt_table), (init_pre):
25068           Check whether GST_DEBUG_NO_COLOR environment variable is
25069           set and disable coloured debug output if that is the case.
25070
25071 2005-08-10  Tim-Philipp Müller  <tim at centricular dot net>
25072
25073         * gst/base/gsttypefindhelper.c: (helper_find_peek),
25074         (gst_type_find_helper):
25075           The memory returned by gst_type_find_peek() needs to
25076           stay valid until the end of a typefind function, and
25077           typefind functions may keep results from different 
25078           offsets around, so we can't just unref the buffer from
25079           the previous _peek(), but have to save all buffers 
25080           returned by _peek() until typefinding is done and only
25081           free them then.
25082
25083 2005-08-09  Tim-Philipp Müller  <tim at centricular dot net>
25084
25085         * docs/gst/gstreamer-sections.txt:
25086         * gst/gstutils.h:
25087           New macros: GST_ROUND_UP_2() through GST_ROUND_UP_64().
25088
25089 2005-08-08  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
25090
25091         * gst/base/gstbasetransform.c: (gst_base_transform_buffer_alloc):
25092           Fix a pretty good memleak.
25093
25094 2005-08-08  Tim-Philipp Müller  <tim at centricular dot net>
25095
25096         * gst/gstiterator.h:
25097           Fix wrong include and 'make distcheck'.
25098
25099 2005-08-08  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
25100
25101         * gst/gstbin.c: (bin_bus_handler):
25102           Use gst_element_post_message() instead.
25103
25104 2005-08-08  Tim-Philipp Müller  <tim at centricular dot net>
25105
25106         * gst/base/gstadapter.h:
25107         * gst/base/gstbasesink.h:
25108         * gst/base/gstbasesrc.h:
25109         * gst/base/gstbasetransform.h:
25110         * gst/base/gstcollectpads.h:
25111         * gst/base/gstpushsrc.h:
25112         * gst/gstiterator.h:
25113           Add padding to our base elements' class and instance structs and
25114           to GstIterator (you will need to rebuild all plugins and apps!)
25115
25116 2005-08-08  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
25117
25118         * gst/gstbin.c: (bin_bus_handler):
25119           Make default message forwarding from child->bus to bin->bus
25120           threadsafe and make it not emit warnings if the parent has no bus.
25121
25122 2005-08-08  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
25123
25124         * gst/gstelement.c: (activate_pads):
25125           On paused->ready, set pad->caps to NULL, as is the documented
25126           behaviour in this state change. Fixes playback of series of
25127           media files when visualization is enabled in Totem.
25128
25129 2005-08-07  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
25130
25131         * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
25132           Allow NULL as filter-caps (which means "any").
25133
25134 2005-08-05  Stefan Kost  <ensonic@users.sf.net>
25135
25136         * docs/libs/gstreamer-libs-sections.txt:
25137         * libs/gst/controller/gst-controller.c:
25138         * libs/gst/controller/gst-controller.h:
25139         * libs/gst/controller/gst-helper.c:
25140           adding more entries to the docs and fix small doc-bugs
25141
25142 2005-08-05  Stefan Kost  <ensonic@users.sf.net>
25143
25144         * docs/gst/gstreamer-docs.sgml:
25145         * docs/gst/gstreamer-sections.txt:
25146         * docs/gst/gstreamer.types:
25147         * docs/gst/tmpl/gstbasesink.sgml:
25148         * docs/gst/tmpl/gstbasesrc.sgml:
25149         * docs/gst/tmpl/gstbasetransform.sgml:
25150         * docs/gst/tmpl/gstfakesrc.sgml:
25151         * gst/base/gstcollectpads.c:
25152         * gst/base/gstcollectpads.h:
25153         * libs/gst/controller/gst-controller.c:
25154         * libs/gst/controller/gst-controller.h:
25155         * libs/gst/controller/gst-helper.c:
25156         * libs/gst/controller/gst-interpolation.c:
25157         * libs/gst/controller/lib.c:
25158           added long/short desc for controller docs
25159           added collectpads base class docs
25160           added correct includes to base-class docs
25161
25162 2005-08-05  Stefan Kost  <ensonic@users.sf.net>
25163
25164         * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
25165         (gst_test_mono_source_set_property),
25166         (gst_test_mono_source_class_init), (GST_START_TEST),
25167         (gst_controller_suite):
25168         * docs/gst/gstreamer-docs.sgml:
25169         * docs/gst/gstreamer-sections.txt:
25170         * docs/gst/gstreamer.types:
25171         * docs/libs/gstreamer-libs-docs.sgml:
25172         * docs/libs/gstreamer-libs-sections.txt:
25173         * gst/base/gstadapter.c:
25174         * libs/gst/controller/gst-controller.c:
25175         (gst_controlled_property_new), (gst_controlled_property_free),
25176         (gst_controller_new_valist),
25177         (gst_controller_remove_properties_valist),
25178         (gst_controller_sink_values), (_gst_controller_finalize):
25179         * libs/gst/controller/gst-controller.h:
25180         * libs/gst/controller/gst-helper.c:
25181         (gst_object_control_properties), (gst_object_uncontrol_properties),
25182         (gst_object_get_controller), (gst_object_set_controller),
25183         (gst_object_sink_values), (gst_object_get_value_arrays),
25184         (gst_object_get_value_array):
25185           more tests (and fixes) for the controller
25186           more docs for the controller
25187           integrated companies docs for the adapter 
25188
25189 2005-08-05  Thomas Vander Stichele  <thomas at apestaart dot org>
25190
25191         * check/elements/gstfakesrc.c: (setup_fakesrc), (cleanup_fakesrc),
25192         (GST_START_TEST), (fakesrc_suite):
25193           add tests for sizetype
25194
25195 2005-08-04  Andy Wingo  <wingo@pobox.com>
25196
25197         * gst/elements/gstcapsfilter.c: Reimplement using basetransform,
25198         fixes buffer_alloc proxying among other things.
25199
25200         * gst/base/gstbasetransform.c:
25201         * gst/base/gstbasetransform.h:
25202         Revert patch to gstbasetransform from 7-28 removing
25203         delay_configure.
25204
25205         * gst/base/gstbasetransform.h (GstBaseTransformClass.get_size):
25206         * gst/base/gstbasetransform.c (gst_base_transform_get_size):
25207         Semantics changed, should return not the size of the output buffer
25208         but the byte size of a buffer with a given caps.
25209
25210         * gst/base/gstbasetransform.c (gst_base_transform_getcaps): Better
25211         debug object.
25212         (gst_base_transform_configure_caps): Don't set out_size here: (in,
25213         out) are not the pad caps until setcaps finishes.
25214         (gst_base_transform_buffer_alloc): Proxy the buffer_alloc for the
25215         not-in-place case as well. Deal with changing from in-place to
25216         not-in-place within calling pad_alloc_buffer. Still a bit
25217         concerned about the overhead here...
25218
25219 2005-08-03  Andy Wingo  <wingo@pobox.com>
25220
25221         * gst/base/gstbasetransform.c (gst_base_transform_setcaps): Not
25222         fixating is an error.
25223
25224 2005-08-04  Edward Hervey  <edward@fluendo.com>
25225
25226         * gst/base/gstadapter.h: 
25227         Added gst_adapter_get_type() to the header
25228
25229 2005-08-03  Stefan Kost  <ensonic@users.sf.net>
25230
25231         * check/Makefile.am:
25232         * check/gst-libs/controller.c:
25233         * libs/gst/controller/gst-controller.c:
25234         (gst_controller_new_valist):
25235           added check test suite for the controller
25236         * gst/base/gstpushsrc.c:
25237           fixed a doc typo
25238
25239 2005-08-03  Stefan Kost  <ensonic@users.sf.net>
25240
25241         * docs/gst/Makefile.am:
25242         * docs/gst/gstreamer-docs.sgml:
25243         * docs/gst/gstreamer-sections.txt:
25244         * docs/gst/gstreamer.types:
25245         * docs/gst/tmpl/gstfakesrc.sgml:
25246         * gst/base/README:
25247         * gst/base/gstbasesink.c:
25248         * gst/base/gstbasesink.h:
25249         * gst/base/gstbasesrc.c:
25250         * gst/base/gstbasesrc.h:
25251         * gst/base/gstbasetransform.c:
25252         * gst/base/gstpushsrc.c:
25253         * gst/base/gstpushsrc.h:
25254           add short/long description docs to base classes
25255           add pushsrc to the docs
25256           remove consolidated doc fragments
25257
25258 2005-08-03  Stefan Kost  <ensonic@users.sf.net>
25259
25260         * configure.ac:
25261         * docs/libs/Makefile.am:
25262         * docs/libs/gstreamer-libs-docs.sgml:
25263         * docs/libs/gstreamer-libs-sections.txt:
25264         * docs/libs/gstreamer-libs.types:
25265         * examples/Makefile.am:
25266         * examples/controller/.cvsignore:
25267         * examples/controller/Makefile.am:
25268         * examples/controller/audio-example.c: (main):
25269         * libs/gst/Makefile.am:
25270         * libs/gst/controller/.cvsignore:
25271         * libs/gst/controller/Makefile.am:
25272         * libs/gst/controller/gst-controller.c:
25273         (on_object_controlled_property_changed), (gst_timed_value_compare),
25274         (gst_timed_value_find),
25275         (gst_controlled_property_set_interpolation_mode),
25276         (gst_controlled_property_new), (gst_controlled_property_free),
25277         (gst_controller_find_controlled_property),
25278         (gst_controller_new_valist), (gst_controller_new),
25279         (gst_controller_remove_properties_valist),
25280         (gst_controller_remove_properties), (gst_controller_set),
25281         (gst_controller_set_from_list), (gst_controller_unset),
25282         (gst_controller_get), (gst_controller_get_all),
25283         (gst_controller_sink_values), (gst_controller_get_value_arrays),
25284         (gst_controller_get_value_array),
25285         (gst_controller_set_interpolation_mode),
25286         (_gst_controller_finalize), (_gst_controller_init),
25287         (_gst_controller_class_init), (gst_controller_get_type):
25288         * libs/gst/controller/gst-controller.h:
25289         * libs/gst/controller/gst-helper.c: (g_object_control_properties),
25290         (g_object_uncontrol_properties), (g_object_get_controller),
25291         (g_object_set_controller), (g_object_sink_values),
25292         (g_object_get_value_arrays), (g_object_get_value_array):
25293         * libs/gst/controller/gst-interpolation.c:
25294         (gst_controlled_property_find_timed_value_node),
25295         (interpolate_none_get), (interpolate_trigger_get),
25296         (interpolate_trigger_get_value_array):
25297         * libs/gst/controller/lib.c: (gst_controller_init):
25298         * pkgconfig/Makefile.am:
25299         * pkgconfig/gstreamer-control-uninstalled.pc.in:
25300         * pkgconfig/gstreamer-control.pc.in:
25301         * testsuite/Makefile.am:
25302         * testsuite/controller/.cvsignore:
25303         * testsuite/controller/Makefile.am:
25304         * testsuite/controller/interpolator.c: (main):
25305           added controller code
25306           removed dparam pc files
25307
25308 2005-08-01  Jan Schmidt  <thaytan@mad.scientist.com>
25309         * gst/base/gstcollectpads.c: (gst_collectpads_finalize),
25310         (gst_collectpads_stop):
25311           Broadcast the condition when shutting down, to make sure we wake all
25312           threads up. Shut down pads on finalize, for safety.
25313
25314 2005-08-01  Jan Schmidt  <thaytan@mad.scientist.com>
25315         * gst/base/gstbasetransform.c: (gst_base_transform_init),
25316         (gst_base_transform_handle_buffer),
25317         (gst_base_transform_change_state):
25318           Handle PAUSED->READY->PAUSED transition after negotiation
25319           occurred already.
25320         * gst/gstmessage.c: (gst_message_init):
25321           Extra piece of debug for new messages.
25322
25323 2005-08-01  Stefan Kost  <ensonic@users.sf.net>
25324
25325         * configure.ac:
25326         * docs/gst/tmpl/gstbasesrc.sgml:
25327         * docs/gst/tmpl/gstelement.sgml:
25328         * docs/gst/tmpl/gstevent.sgml:
25329         * docs/gst/tmpl/gstfakesrc.sgml:
25330         * docs/gst/tmpl/gstformat.sgml:
25331         * docs/gst/tmpl/gstghostpad.sgml:
25332         * docs/gst/tmpl/gstpad.sgml:
25333         * docs/gst/tmpl/gstquery.sgml:
25334         * docs/gst/tmpl/gststructure.sgml:
25335         * docs/gst/tmpl/gsttaglist.sgml:
25336         * docs/gst/tmpl/gstvalue.sgml:
25337         * docs/libs/gstreamer-libs-docs.sgml:
25338         * docs/libs/gstreamer-libs-sections.txt:
25339         * docs/libs/gstreamer-libs.types:
25340         * libs/gst/Makefile.am:
25341         * libs/gst/control/.cvsignore:
25342         * libs/gst/control/Makefile.am:
25343         * libs/gst/control/control.c:
25344         * libs/gst/control/control.h:
25345         * libs/gst/control/dparam.c:
25346         * libs/gst/control/dparam.h:
25347         * libs/gst/control/dparam_smooth.c:
25348         * libs/gst/control/dparam_smooth.h:
25349         * libs/gst/control/dparamcommon.h:
25350         * libs/gst/control/dparammanager.c:
25351         * libs/gst/control/dparammanager.h:
25352         * libs/gst/control/dplinearinterp.c:
25353         * libs/gst/control/dplinearinterp.h:
25354         * libs/gst/control/unitconvert.c:
25355         * libs/gst/control/unitconvert.h:
25356         * testsuite/Makefile.am:
25357         * testsuite/dynparams/.cvsignore:
25358         * testsuite/dynparams/Makefile.am:
25359         * testsuite/dynparams/dparamstest.c:
25360         * tools/Makefile.am:
25361         * tools/gst-inspect.c: (print_element_info), (main):
25362         * tools/gst-xmlinspect.c: (print_element_info), (main):
25363           deactivate and remove dparams (libgstcontrol)
25364
25365 2005-08-01  Tim-Philipp Müller  <tim at centricular dot net>
25366
25367         * gst/elements/gsttypefindelement.c:
25368         (gst_type_find_element_have_type), (gst_type_find_element_init),
25369         (stop_typefinding), (gst_type_find_element_handle_event),
25370         (gst_type_find_element_chain), (gst_type_find_element_getrange):
25371         * gst/elements/gsttypefindelement.h:
25372           Set caps on all outgoing buffers, not just the first one.
25373
25374 2005-08-01  Tim-Philipp Müller  <tim at centricular dot net>
25375
25376         * gst/elements/gsttypefindelement.c:
25377         (gst_type_find_element_have_type),
25378         (gst_type_find_element_check_set_buffer_caps),
25379         (gst_type_find_element_init), (stop_typefinding),
25380         (gst_type_find_element_handle_event),
25381         (gst_type_find_element_chain), (gst_type_find_element_getrange):
25382         * gst/elements/gsttypefindelement.h:
25383           Set caps on first outgoing buffer when we've found the type.
25384
25385 2005-08-01  Tim-Philipp Müller  <tim at centricular dot net>
25386
25387         * docs/gst/gstreamer-docs.sgml:
25388         * docs/gst/gstreamer-sections.txt:
25389         * docs/gst/tmpl/gstscheduler.sgml:
25390         * docs/gst/tmpl/gstschedulerfactory.sgml:
25391           Remove some old cruft from docs.
25392
25393 2005-07-31  Tim-Philipp Müller  <tim at centricular dot net>
25394
25395         * gst/gstpad.h:
25396           Fix inline docs for GstPadLinkReturn.
25397           
25398         * gst/gststructure.c: (gst_structure_has_name):
25399         * gst/gststructure.h:
25400         * docs/gst/gstreamer-sections.txt:
25401           New API: gst_structure_has_name().
25402
25403 2005-07-30  Tim-Philipp Müller  <tim at centricular dot net>
25404
25405         * configure.ac:
25406           Use AC_SYS_LARGEFILE, which will set _FILE_OFFSET_BITS=64
25407           and _LARGEFILE_SOURCE in config.h as required. Do not 
25408           export those flags in our .pc files any longer (#142209).
25409
25410           Remove unused GST_DISABLE_OMEGA_COTHREADS stuff.
25411
25412         * gst/elements/gstfilesink.c: (gst_file_sink_class_init),
25413         (gst_file_sink_do_seek), (gst_file_sink_event),
25414         (gst_file_sink_get_current_offset), (gst_file_sink_render):
25415           Redo seek/tell calls with large file support in mind; add some
25416           debugging messages; add log message that tells us when large
25417           file support is unavailable or not enabled for some reason.
25418
25419         * gst/elements/gstfilesrc.c: (gst_file_src_class_init):
25420           Add log message that tells us when large file support 
25421           is unavailable or not enabled for some reason.
25422
25423 2005-07-29  Wim Taymans  <wim@fluendo.com>
25424
25425         * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
25426         Added test for removing an element with ghostpad from a bin.
25427         Fixed test as current implementation does the right thing.
25428
25429         * gst/gstghostpad.c: (gst_proxy_pad_class_init),
25430         (gst_proxy_pad_do_query_type), (gst_proxy_pad_do_event),
25431         (gst_proxy_pad_do_query), (gst_proxy_pad_do_internal_link),
25432         (gst_proxy_pad_do_bufferalloc), (gst_proxy_pad_do_activate),
25433         (gst_proxy_pad_do_activatepull), (gst_proxy_pad_do_activatepush),
25434         (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange),
25435         (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_getcaps),
25436         (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
25437         (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target),
25438         (gst_proxy_pad_get_target), (gst_proxy_pad_init),
25439         (gst_proxy_pad_dispose), (gst_proxy_pad_finalize),
25440         (gst_ghost_pad_class_init), (gst_ghost_pad_do_activate_push),
25441         (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
25442         (gst_ghost_pad_set_internal), (gst_ghost_pad_dispose),
25443         (gst_ghost_pad_new_notarget), (gst_ghost_pad_new),
25444         (gst_ghost_pad_get_target), (gst_ghost_pad_set_target):
25445         * gst/gstghostpad.h:
25446         Clean up ghostpads, remove properties for internal stuff.
25447         Make threadsafe.
25448         Fix refcounting.
25449         Prepare for switching targets, not all use cases work yet.
25450
25451 2005-07-29  Wim Taymans  <wim@fluendo.com>
25452
25453         * docs/design/part-gstghostpad.txt:
25454         Small update.
25455
25456         * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
25457         (gst_bin_remove_func):
25458         Unlinking pads while holding the bin LOCK is not a good
25459         idea.
25460
25461         * gst/gstpad.c: (gst_pad_class_init),
25462         (gst_pad_link_check_hierarchy), (gst_pad_get_caps_unlocked),
25463         (gst_pad_accept_caps), (gst_pad_set_caps), (gst_pad_send_event):
25464         No prob setting template after creating the pad.
25465
25466 2005-07-29  Jan Schmidt  <thaytan@mad.scientist.com>
25467
25468         * gst/gstbus.c: (gst_bus_set_flushing), (gst_bus_pop),
25469         (gst_bus_peek), (gst_bus_source_dispatch),
25470         (gst_bus_add_watch_full), (poll_handler), (poll_timeout),
25471         (poll_destroy), (poll_destroy_timeout), (gst_bus_poll):
25472           gst_bus_poll may be called from other threads. Handle
25473           this nicely by not making poll_data disappear off the
25474           stack once gst_bus_poll returns.
25475           gst_bus_peek now increments the refcount on the returned
25476           message.
25477
25478 2005-07-29  Wim Taymans  <wim@fluendo.com>
25479
25480         * docs/design/part-gstghostpad.txt:
25481         Overview of current GhostPad datastructures and use
25482         cases for changing the target.
25483
25484 2005-07-28  Wim Taymans  <wim@fluendo.com>
25485
25486         * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
25487         Added checks for hierarchy consistency whan adding linked
25488         elements to bins.
25489
25490         * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
25491         Added check to test element scheduling without bin/pipeline.
25492
25493         * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
25494         First add elements to bin, then link.
25495         
25496         * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
25497         (gst_bin_remove_func):
25498         Unlink pads from elements added/removed from bin to maintain
25499         hierarchy consistency.
25500
25501 2005-07-28  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
25502
25503         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
25504         (gst_base_transform_handle_buffer):
25505         * gst/base/gstbasetransform.h:
25506           Remove broken delay_configure (fixes renegotiation of software
25507           scaling pipelines); remove some leftover printf()s.
25508
25509 2005-07-28  Wim Taymans  <wim@fluendo.com>
25510
25511         * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
25512         Added some more tests for wrong hierarchy
25513
25514         * docs/design/part-overview.txt:
25515         Some updates.
25516
25517         * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_dispose):
25518         Cleanups.
25519
25520         * gst/gstelement.c: (gst_element_remove_pad), (gst_element_seek),
25521         (gst_element_dispose):
25522         Some more cleanups.
25523
25524         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
25525         (gst_pad_link_check_hierarchy), (gst_pad_link_prepare),
25526         (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
25527         (gst_pad_set_caps), (gst_pad_send_event):
25528         Check for correct hierarchy when linking pads. Moving to
25529         strict requirement for ghostpads when linking elements in
25530         different bins.
25531
25532         * gst/gstpad.h:
25533         Clean ups. Added WRONG_HIERARCHY return value.
25534
25535 2005-07-28  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
25536
25537         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
25538           Better debug if no transform is possible.
25539
25540 2005-07-27  Wim Taymans  <wim@fluendo.com>
25541
25542         * docs/random/wtay/network-transp:
25543         Some old doc I had.
25544
25545 2005-07-27  Wim Taymans  <wim@fluendo.com>
25546
25547         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
25548         (gst_dp_event_from_packet):
25549         Fix serialization of seek events.
25550
25551 2005-07-27  Wim Taymans  <wim@fluendo.com>
25552
25553         * check/gst-libs/gdp.c: (GST_START_TEST):
25554         * gst/elements/gstfakesink.c: (gst_fake_sink_event):
25555         Fix compilation and fix event serialization.
25556
25557 2005-07-27  Wim Taymans  <wim@fluendo.com>
25558
25559         * CHANGES-0.9:
25560         * docs/design/part-TODO.txt:
25561         * docs/design/part-events.txt:
25562         Some docs updates
25563
25564         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
25565         (gst_base_sink_event), (gst_base_sink_do_sync),
25566         (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
25567         * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
25568         (gst_base_src_do_seek), (gst_base_src_event_handler),
25569         (gst_base_src_loop):
25570         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
25571         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
25572         (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
25573         (gst_base_transform_event), (gst_base_transform_handle_buffer),
25574         (gst_base_transform_set_passthrough),
25575         (gst_base_transform_is_passthrough):
25576         * gst/elements/gstfakesink.c: (gst_fake_sink_event):
25577         * gst/elements/gstfilesink.c: (gst_file_sink_event):
25578         Event updates.
25579
25580         * gst/gstbuffer.h:
25581         Use faster casts.
25582
25583         * gst/gstelement.c: (gst_element_seek):
25584         * gst/gstelement.h:
25585         Update gst_element_seek.
25586
25587         * gst/gstevent.c: (gst_event_finalize), (_gst_event_copy),
25588         (gst_event_new), (gst_event_new_custom), (gst_event_get_structure),
25589         (gst_event_new_flush_start), (gst_event_new_flush_stop),
25590         (gst_event_new_eos), (gst_event_new_newsegment),
25591         (gst_event_parse_newsegment), (gst_event_new_tag),
25592         (gst_event_parse_tag), (gst_event_new_filler), (gst_event_new_qos),
25593         (gst_event_parse_qos), (gst_event_new_seek),
25594         (gst_event_parse_seek), (gst_event_new_navigation):
25595         * gst/gstevent.h:
25596         Make GstEvent use GstStructure. Add parsing code, make sure the
25597         API is sufficiently generic.
25598         Mark possible directions of events and serialization.
25599
25600         * gst/gstmessage.c: (gst_message_init), (gst_message_finalize),
25601         (_gst_message_copy), (gst_message_new_segment_start),
25602         (gst_message_new_segment_done), (gst_message_new_custom),
25603         (gst_message_parse_segment_start),
25604         (gst_message_parse_segment_done):
25605         Small cleanups.
25606
25607         * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
25608         (gst_pad_set_caps), (gst_pad_send_event):
25609         Update for new events. 
25610         Catch events sent in wrong directions.
25611
25612         * gst/gstqueue.c: (gst_queue_link_src),
25613         (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
25614         (gst_queue_handle_src_query):
25615         Event updates.
25616
25617         * gst/gsttag.c:
25618         * gst/gsttag.h:
25619         Remove event code from this file.
25620
25621         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
25622         (gst_dp_event_from_packet):
25623         Event updates.
25624
25625 2005-07-27  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
25626
25627         * gst/base/gstbasetransform.c: (gst_base_transform_getcaps),
25628         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
25629         (gst_base_transform_get_size), (gst_base_transform_handle_buffer):
25630           Make debugging actually useful.
25631
25632 2005-07-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
25633
25634         * gst/gstpad.c: (fixate_value), (gst_pad_default_fixate),
25635         (gst_pad_fixate_caps):
25636           Implement default fixation once again, so that gst_pad_fixate()
25637           actually does anything at all. This probably needs to be some
25638           sort of a last resort, and use profile-based fixation first, but
25639           since that doesn't exist yet, this is the best we have. Fixes
25640           visualization in Totem.
25641
25642 2005-07-22  Wim Taymans  <wim@fluendo.com>
25643
25644         * docs/design/part-events.txt:
25645         Small update.
25646
25647         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
25648         (gst_base_sink_do_sync), (gst_base_sink_activate_push),
25649         (gst_base_sink_activate_pull):
25650         Some more comments.
25651
25652         * gst/elements/gstfakesrc.c: (gst_fake_src_class_init),
25653         (gst_fake_src_create):
25654         Fix handoff marshall.
25655
25656         * gst/elements/gstidentity.c: (gst_identity_class_init),
25657         (gst_identity_transform_ip):
25658         We're a real inplace element.
25659
25660         * gst/gstbus.c: (gst_bus_post):
25661         Added some comments.
25662
25663         * tests/lat.c: (fakesrc), (fakesink), (simple), (queue), (main):
25664         * tests/muxing/case1.c: (main):
25665         * tests/sched/dynamic-pipeline.c: (main):
25666         * tests/sched/interrupt1.c: (main):
25667         * tests/sched/interrupt2.c: (main):
25668         * tests/sched/interrupt3.c: (main):
25669         * tests/sched/runxml.c: (main):
25670         * tests/sched/sched-stress.c: (main):
25671         * tests/seeking/seeking1.c: (event_received), (main):
25672         * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
25673         (main):
25674         * tests/threadstate/threadstate3.c: (main):
25675         * tests/threadstate/threadstate4.c: (main):
25676         * tests/threadstate/threadstate5.c: (main):
25677         Fix the tests.
25678
25679 2005-07-21  Wim Taymans  <wim@fluendo.com>
25680
25681         * docs/design/part-seeking.txt:
25682         Some small additions.
25683
25684         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
25685         (gst_base_sink_get_times), (gst_base_sink_do_sync),
25686         (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
25687         * gst/base/gstbasesink.h:
25688         discont values are gint64, handle the math correctly.
25689
25690         * gst/base/gstbasesrc.c: (gst_base_src_loop):
25691         Make the basesrc report error if the source pad is not linked.
25692
25693         * gst/gstqueue.c: (gst_queue_link_src), (gst_queue_chain),
25694         (gst_queue_loop), (gst_queue_handle_src_query),
25695         (gst_queue_src_activate_push):
25696         Make queue collect data even if the srcpad is not linked.
25697         Start pushing out data as soon as it is linked.
25698
25699         * gst/gstutils.c: (gst_element_unlink), (gst_flow_get_name):
25700         * gst/gstutils.h:
25701         Added gst_flow_get_name() to ease error reporting.
25702
25703 2005-07-20  Wim Taymans  <wim@fluendo.com>
25704
25705         * gst/gstmessage.c: (gst_message_new_segment_start),
25706         (gst_message_new_segment_done), (gst_message_parse_segment_start),
25707         (gst_message_parse_segment_done):
25708         * gst/gstmessage.h:
25709         Added a bunch of messages for advanced seeking.
25710
25711         * gst/parse/grammar.y:
25712         * libs/gst/control/dparammanager.c: (gst_dpman_set_parent),
25713         (gst_dpman_state_changed):
25714         Fix some new-pad -> pad-added signals
25715
25716 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
25717
25718         * docs/manual/appendix-porting.xml:
25719         * docs/pwg/appendix-porting.xml:
25720           Document new-pad/state-change signal renames and the FixedList
25721           type rename.
25722
25723 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
25724
25725         * docs/manual/advanced-autoplugging.xml:
25726         * docs/manual/basics-helloworld.xml:
25727         * docs/manual/basics-pads.xml:
25728         * docs/random/ds/0.9-suggested-changes:
25729         * gst/gstelement.c: (gst_element_class_init), (gst_element_seek):
25730         * gst/gstelement.h:
25731         * gst/gstevent.h:
25732         * gst/gstformat.h:
25733         * gst/gstquery.h:
25734         * gst/gststructure.c: (gst_structure_value_get_generic_type),
25735         (gst_structure_parse_array), (gst_structure_parse_value):
25736         * gst/gstvalue.c: (gst_type_is_fixed),
25737         (gst_value_list_prepend_value), (gst_value_list_append_value),
25738         (gst_value_list_get_size), (gst_value_list_get_value),
25739         (gst_value_transform_array_string), (gst_value_serialize_array),
25740         (gst_value_deserialize_array), (gst_value_intersect_array),
25741         (gst_value_is_fixed), (_gst_value_initialize):
25742         * gst/gstvalue.h:
25743           GstElement::new-pad -> pad-added, GstElement::state-change ->
25744           state-changed, GstValueFixedList -> GstValueArray, add format and
25745           flags as their own arguments in gst_element_seek() (should improve
25746           "bindeability"), remove function generators since they don't work
25747           under a whole bunch of compilers (they were deprecated already
25748           anyway).
25749
25750 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
25751
25752         * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
25753         (_gst_debug_register_funcptr):
25754         * gst/gstinfo.h:
25755           Fix illegal cast on some platforms (#309253).
25756
25757 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
25758
25759         * gst/gstmessage.c: (gst_message_new_custom):
25760         * gst/gstmessage.h:
25761           Add _new_custom, make _new_application a macro to _new_custom.
25762
25763 2005-07-20  Wim Taymans  <wim@fluendo.com>
25764
25765         * gst/base/gstbasesrc.c: (gst_base_src_init),
25766         (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start):
25767         * gst/base/gstbasesrc.h:
25768         Add a gboolean to decide when to push out a discont.
25769
25770         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
25771         (gst_queue_loop), (gst_queue_handle_src_query),
25772         (gst_queue_sink_activate_push), (gst_queue_src_activate_push),
25773         (gst_queue_set_property), (gst_queue_get_property):
25774         Some cleanups.
25775
25776         * tests/threadstate/threadstate1.c: (main):
25777         Make a thread test compile and run... very silly..
25778
25779
25780 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
25781
25782         * docs/manual/appendix-porting.xml:
25783           Mention removal of libgstgconf-0.9.la and existence of gconf
25784           elements.
25785
25786 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
25787
25788         * docs/pwg/advanced-clock.xml:
25789         * docs/pwg/appendix-porting.xml:
25790         * docs/pwg/intro-preface.xml:
25791         * docs/pwg/other-base.xml:
25792         * docs/pwg/other-manager.xml:
25793         * docs/pwg/other-nton.xml:
25794         * docs/pwg/other-ntoone.xml:
25795         * docs/pwg/other-oneton.xml:
25796         * docs/pwg/pwg.xml:
25797           Document base classes, update sections of n-to-1 and 1-to-n (muxer,
25798           demuxer), remove n-to-n (was never written), fix some code examples
25799           and links and update the porting section to include all this.
25800
25801 2005-07-19  Wim Taymans  <wim@fluendo.com>
25802
25803         * gst/gstqueue.c: (gst_queue_init), (gst_queue_handle_sink_event),
25804         (gst_queue_chain), (gst_queue_loop), (gst_queue_handle_src_event),
25805         (gst_queue_handle_src_query), (gst_queue_sink_activate_push),
25806         (gst_queue_src_activate_push), (gst_queue_change_state),
25807         (gst_queue_get_property):
25808         * gst/gstqueue.h:
25809         Propagate GstFlowReturn more intelligently upstream and output
25810         an ERROR/EOS when streaming stopped due to fatal error.
25811
25812 2005-07-19  Wim Taymans  <wim@fluendo.com>
25813
25814         * tools/gst-launch.c: (check_intr), (event_loop), (main):
25815         Don't block forever for the state change to complete, the
25816         pipeline already did with a sensible timeout.
25817
25818 2005-07-19  Wim Taymans  <wim@fluendo.com>
25819
25820         * gst/base/gstbasesrc.c: (gst_base_src_get_range):
25821         Make sure we never call the create function is we
25822         got deactivated.
25823
25824 2005-07-19  Andy Wingo  <wingo@pobox.com>
25825
25826         * gst/parse/parse.l: Attempt to solve bug #172815.
25827
25828 2005-07-19  Wim Taymans  <wim@fluendo.com>
25829
25830         * docs/design/part-clocks.txt:
25831         * docs/design/part-events.txt:
25832         * gst/base/gstbasesrc.c: (gst_base_src_do_seek):
25833         Small docs updates.
25834         Only update the seeking values when we are not
25835         busy streaming.
25836
25837 2005-07-19  Jan Schmidt  <thaytan@mad.scientist.com>
25838
25839         * gst/base/gstbasesrc.c: (gst_base_src_loop):
25840           Oops, ignore the result of gst_pad_push_event here.
25841
25842 2005-07-19  Jan Schmidt  <thaytan@mad.scientist.com>
25843
25844         * gst/base/gstbasesrc.c: (gst_base_src_loop),
25845         (gst_base_src_activate_push):
25846           Send discont event from the loop function, as pads
25847           aren't activated yet in the activate_push handler.
25848
25849         * gst/gstbin.c: (bin_bus_handler):
25850           Don't leak element name.
25851
25852 2005-07-18  Andy Wingo  <wingo@pobox.com>
25853
25854         * configure.ac: Use AS_LIBTOOL_TAGS.
25855
25856 2005-07-18  Wim Taymans  <wim@fluendo.com>
25857
25858         * docs/gst/gstreamer.types:
25859         Remove deleted types.
25860
25861 2005-07-18  Wim Taymans  <wim@fluendo.com>
25862
25863         * check/elements/gstfakesrc.c: (GST_START_TEST):
25864         * configure.ac:
25865         * gst/Makefile.am:
25866         * gst/gst.c: (gst_init_get_popt_table), (init_pre), (init_post),
25867         (init_popt_callback):
25868         * gst/gst.h:
25869         * gst/gst_private.h:
25870         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_add_func),
25871         (gst_bin_remove_func), (gst_bin_get_state), (gst_bin_change_state):
25872         * gst/gstbin.h:
25873         * gst/gstbus.h:
25874         * gst/gstconfig.h.in:
25875         * gst/gstelement.c: (gst_element_class_init),
25876         (gst_element_set_base_time), (gst_element_get_base_time),
25877         (iterator_fold_with_resync), (gst_element_change_state),
25878         (gst_element_dispose), (gst_element_get_bus):
25879         * gst/gstelement.h:
25880         * gst/gstelementfactory.h:
25881         * gst/gsterror.c: (_gst_core_errors_init):
25882         * gst/gsterror.h:
25883         * gst/gstevent.h:
25884         * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
25885         * gst/gstindex.c:
25886         * gst/gstinfo.c: (_gst_debug_init):
25887         * gst/gstmessage.c: (_gst_message_copy):
25888         * gst/gstmessage.h:
25889         * gst/gstminiobject.h:
25890         * gst/gstobject.c:
25891         * gst/gstobject.h:
25892         * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
25893         (gst_pad_set_caps), (gst_pad_start_task), (gst_pad_stop_task):
25894         * gst/gstpad.h:
25895         * gst/gstparse.h:
25896         * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
25897         (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
25898         (gst_pipeline_get_last_stream_time):
25899         * gst/gstpipeline.h:
25900         * gst/gstpluginfeature.h:
25901         * gst/gstquery.h:
25902         * gst/gstscheduler.c:
25903         * gst/gstscheduler.h:
25904         * gst/gststructure.h:
25905         * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
25906         (gst_task_finalize), (gst_task_func), (gst_task_create),
25907         (gst_task_set_lock), (gst_task_get_state), (gst_task_start),
25908         (gst_task_stop), (gst_task_pause):
25909         * gst/gsttask.h:
25910         * gst/gsttypefind.h:
25911         * gst/gsttypes.h:
25912         * gst/registries/gstlibxmlregistry.c: (load_feature),
25913         (gst_xml_registry_load), (gst_xml_registry_save_feature):
25914         * gst/registries/gstxmlregistry.c:
25915         (gst_xml_registry_start_element), (gst_xml_registry_save_feature):
25916         * gst/schedulers/threadscheduler.c:
25917         * libs/gst/control/dparammanager.h:
25918         * tools/gst-inspect.c: (print_element_list),
25919         (print_plugin_features), (print_element_features):
25920         * tools/gst-xmlinspect.c: (print_element_list),
25921         (print_plugin_info), (main):
25922         Removed plugable schedulers.
25923         Removed Scheduler/Manager from elements.
25924         Removed gsttypes.h, rearranged includes.
25925         Removed dependency pad<->element, element<>pipeline, and
25926         various others,  fix includes.
25927         implement gst_pad_get_parent() with gst_object_get_parent()
25928         Make GstTask sefcontained.
25929         Fix _get_state() on GstBin, it did not return ASYNC with a 0
25930         timeout.
25931         Fix endless loop in iterator_fold_with_resync.
25932
25933
25934 2005-07-18  Wim Taymans  <wim@fluendo.com>
25935
25936         * gst/Makefile.am:
25937         * gst/gstarch.h:
25938         Remove old file.
25939
25940 2005-07-18  Wim Taymans  <wim@fluendo.com>
25941
25942         * gst/Makefile.am:
25943         No more cothreads.h
25944
25945 2005-07-18  Wim Taymans  <wim@fluendo.com>
25946
25947         * gst/cothreads.c:
25948         * gst/cothreads.h:
25949         Let's remove these.
25950
25951 2005-07-18  Wim Taymans  <wim@fluendo.com>
25952
25953         * docs/design/part-dynamic.txt:
25954         * docs/design/part-events.txt:
25955         * docs/design/part-seeking.txt:
25956         Some more docs in the works.
25957
25958         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
25959         (gst_base_transform_getcaps), (gst_base_transform_configure_caps),
25960         (gst_base_transform_setcaps), (gst_base_transform_get_size),
25961         (gst_base_transform_buffer_alloc), (gst_base_transform_event),
25962         (gst_base_transform_handle_buffer),
25963         (gst_base_transform_sink_activate_push),
25964         (gst_base_transform_src_activate_pull),
25965         (gst_base_transform_set_passthrough),
25966         (gst_base_transform_is_passthrough):
25967         Refcounting fixes.
25968
25969         * gst/gstbus.c: (gst_bus_source_dispatch), (gst_bus_poll):
25970         Cleanups.
25971
25972         * gst/gstevent.c: (gst_event_finalize):
25973         Set SRC to NULL.
25974
25975         * gst/gstutils.c: (gst_element_unlink),
25976         (gst_pad_get_parent_element), (gst_pad_proxy_getcaps),
25977         (gst_pad_proxy_setcaps):
25978         * gst/gstutils.h:
25979         Add _get_parent_element() to get a pads parent as an element.
25980
25981 2005-07-18  Wim Taymans  <wim@fluendo.com>
25982
25983         * check/gst/gstbin.c: (GST_START_TEST):
25984         Remove bogus test.
25985
25986 2005-07-18  Wim Taymans  <wim@fluendo.com>
25987
25988         * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
25989         (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
25990         (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
25991         (gst_base_sink_event), (gst_base_sink_do_sync),
25992         (gst_base_sink_chain), (gst_base_sink_loop),
25993         (gst_base_sink_deactivate), (gst_base_sink_activate_push),
25994         (gst_base_sink_activate_pull), (gst_base_sink_change_state):
25995         Refcounting fixes.
25996         Fix logic for returning ASYNC when not prerolled.
25997
25998 2005-07-18  Wim Taymans  <wim@fluendo.com>
25999
26000         * gst/gstqueue.c: (gst_queue_handle_sink_event):
26001         Fix nasty refcount bug.
26002
26003 2005-07-16 Philippe Khalaf <burger@speedy.org>
26004
26005         * gst/elements/gstfdsrc.c:
26006         * gst/elements/gstfdsrc.h:
26007         * gst/elements/gstelements.c:
26008         * gst/elements/Makefile.am:
26009         Ported fdsrc to 0.9.
26010
26011 2005-07-16  Wim Taymans  <wim@fluendo.com>
26012
26013         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
26014         (gst_base_sink_do_sync):
26015         Fix compile error.
26016
26017 2005-07-16  Wim Taymans  <wim@fluendo.com>
26018
26019         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
26020         (gst_base_sink_event), (gst_base_sink_get_times),
26021         (gst_base_sink_do_sync), (gst_base_sink_change_state):
26022         * gst/base/gstbasesink.h:
26023         Store and use discont values when syncing buffers as described
26024         in design docs.
26025         
26026         * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
26027         (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start),
26028         (gst_base_src_activate_push):
26029         Push discont event when starting.
26030
26031         * gst/elements/gstidentity.c: (gst_identity_transform):
26032         Small cleanups.
26033
26034         * gst/gstbin.c: (gst_bin_change_state):
26035         Small cleanups in base_time  distribution.
26036
26037         * gst/gstelement.c: (gst_element_set_base_time),
26038         (gst_element_get_base_time), (gst_element_change_state):
26039         * gst/gstelement.h:
26040         Added methods for the base_time of the element.
26041         Some MT fixes.
26042
26043         * gst/gstpipeline.c: (gst_pipeline_send_event),
26044         (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
26045         (gst_pipeline_get_last_stream_time):
26046         * gst/gstpipeline.h:
26047         MT fixes.
26048         Handle seeking as described in design doc, remove stream_time
26049         hack.
26050         Cleanups clock and stream_time selection code. Added accessors
26051         for the stream_time.
26052         
26053
26054 2005-07-16  Andy Wingo  <wingo@pobox.com>
26055
26056         * gst/gsterror.c (_gst_core_errors_init): Use the magic word
26057         (#305291).
26058
26059 2005-07-16  Wim Taymans  <wim@fluendo.com>
26060
26061         * check/gst/gstbin.c: (GST_START_TEST):
26062         Make elements silent as the deep_notify refs the
26063         parent, which might make the test fail.
26064
26065         * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
26066         Don't hold the lock for too long.
26067
26068 2005-07-16  Tim-Philipp Müller  <tim at centricular dot net>
26069
26070         * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
26071           Don't unref the caps we passed to gst_caps_make_writable() after
26072           passing them. gst_caps_make_writable() will do that for us.
26073
26074 2005-07-15  Andy Wingo  <wingo@pobox.com>
26075
26076         * gst/gstcaps.h (gst_caps_is_simple): Removed deprecated macro
26077         (#157311).
26078
26079         * gst/elements/gstidentity.c (marshal_VOID__MINIOBJECT): Write our
26080         own marshalling function for the handoff signal. Properly type the
26081         buffer as a buffer. Fixes some warnings. Should do a more general
26082         solution.
26083         (gst_identity_class_init): Plug into the right marshaller.
26084
26085 2005-07-15  Wim Taymans  <wim@fluendo.com>
26086
26087         * docs/design/part-TODO.txt:
26088         * docs/design/part-clocks.txt:
26089         * docs/design/part-element-sink.txt:
26090         * docs/design/part-events.txt:
26091         * docs/design/part-gstpipeline.txt:
26092         Updated docs, mostly DISCONT related.
26093
26094 2005-07-15  Tim-Philipp Müller  <tim at centricular dot net>
26095
26096         * docs/pwg/building-pads.xml:
26097           s/GST_PAD_LINK_REFUSED/FALSE/ in gst_my_filter_setcaps()
26098
26099 2005-07-15  Andy Wingo  <wingo@pobox.com>
26100
26101         * tools/gst-typefind.c: Update, add copyright block.
26102
26103         * gst/base/gstbasesrc.c (gst_base_src_default_negotiate):
26104         Normalize and truncate caps before fixation.
26105
26106         * gst/gstcaps.h:
26107         * gst/gstcaps.c (gst_caps_truncate): New function, destructively
26108         discards all but the first structure from its argument.
26109
26110 2005-07-15  Wim Taymans  <wim@fluendo.com>
26111
26112         * gst/base/gstbasetransform.c: (gst_base_transform_init),
26113         (gst_base_transform_transform_caps), (gst_base_transform_getcaps),
26114         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
26115         (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
26116         (gst_base_transform_handle_buffer), (gst_base_transform_getrange),
26117         (gst_base_transform_chain), (gst_base_transform_change_state),
26118         (gst_base_transform_set_passthrough),
26119         (gst_base_transform_is_passthrough):
26120         * gst/base/gstbasetransform.h:
26121         Make passthrough work using the bufferpools.
26122         Changed API a bit, subclasses have to write into a buffer
26123         provided by the base class.
26124         More debug info in nego functions.
26125         
26126         * gst/elements/gstidentity.c: (gst_identity_init),
26127         (gst_identity_transform):
26128         Port to new base class.
26129
26130 2005-07-15  Wim Taymans  <wim@fluendo.com>
26131
26132         * gst/gstmessage.c: (gst_message_new_state_changed):
26133         * tools/gst-launch.c: (event_loop), (main):
26134         Totally dump messages in -launch with the -m option.
26135         Fix message name for State messages,
26136
26137 2005-07-14  Wim Taymans  <wim@fluendo.com>
26138
26139         * gst/base/gstbasesrc.c: (gst_base_src_loop):
26140         Post error messages on errors.
26141
26142 2005-07-14  Wim Taymans  <wim@fluendo.com>
26143
26144         * gst/gstcaps.c: (gst_caps_do_simplify):
26145         Remove debug info.
26146
26147         * gst/gsterror.h:
26148         Define error for stream stopped.
26149
26150         * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
26151         (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange):
26152         Do proper return values.
26153
26154         * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
26155         (gst_pad_set_caps), (gst_pad_chain), (gst_pad_push),
26156         (gst_pad_get_range):
26157         Better return values.
26158
26159         * gst/gstpad.h:
26160         Reorganise return values, add macro to check for fatal errors.
26161
26162         * gst/gstqueue.c: (gst_queue_chain):
26163         Return proper GstFlowReturn values,
26164
26165 2005-07-14  Thomas Vander Stichele  <thomas at apestaart dot org>
26166
26167         * docs/gst/gstreamer-sections.txt:
26168         * docs/gst/gstreamer.types:
26169         * docs/gst/tmpl/gst.sgml:
26170         * docs/gst/tmpl/gstbasesink.sgml:
26171         * docs/gst/tmpl/gstbasesrc.sgml:
26172         * docs/gst/tmpl/gstbasetransform.sgml:
26173         * docs/gst/tmpl/gstbin.sgml:
26174         * docs/gst/tmpl/gstbuffer.sgml:
26175         * docs/gst/tmpl/gstcaps.sgml:
26176         * docs/gst/tmpl/gstclock.sgml:
26177         * docs/gst/tmpl/gstcompat.sgml:
26178         * docs/gst/tmpl/gstconfig.sgml:
26179         * docs/gst/tmpl/gstelement.sgml:
26180         * docs/gst/tmpl/gstelementdetails.sgml:
26181         * docs/gst/tmpl/gstelementfactory.sgml:
26182         * docs/gst/tmpl/gstenumtypes.sgml:
26183         * docs/gst/tmpl/gsterror.sgml:
26184         * docs/gst/tmpl/gstevent.sgml:
26185         * docs/gst/tmpl/gstfakesink.sgml:
26186         * docs/gst/tmpl/gstfakesrc.sgml:
26187         * docs/gst/tmpl/gstfilesink.sgml:
26188         * docs/gst/tmpl/gstfilesrc.sgml:
26189         * docs/gst/tmpl/gstfilter.sgml:
26190         * docs/gst/tmpl/gstformat.sgml:
26191         * docs/gst/tmpl/gstghostpad.sgml:
26192         * docs/gst/tmpl/gstimplementsinterface.sgml:
26193         * docs/gst/tmpl/gstindex.sgml:
26194         * docs/gst/tmpl/gstindexfactory.sgml:
26195         * docs/gst/tmpl/gstinfo.sgml:
26196         * docs/gst/tmpl/gstiterator.sgml:
26197         * docs/gst/tmpl/gstmacros.sgml:
26198         * docs/gst/tmpl/gstmemchunk.sgml:
26199         * docs/gst/tmpl/gstminiobject.sgml:
26200         * docs/gst/tmpl/gstobject.sgml:
26201         * docs/gst/tmpl/gstpad.sgml:
26202         * docs/gst/tmpl/gstpadtemplate.sgml:
26203         * docs/gst/tmpl/gstparse.sgml:
26204         * docs/gst/tmpl/gstpipeline.sgml:
26205         * docs/gst/tmpl/gstplugin.sgml:
26206         * docs/gst/tmpl/gstpluginfeature.sgml:
26207         * docs/gst/tmpl/gstquery.sgml:
26208         * docs/gst/tmpl/gstqueue.sgml:
26209         * docs/gst/tmpl/gstregistry.sgml:
26210         * docs/gst/tmpl/gstregistrypool.sgml:
26211         * docs/gst/tmpl/gstscheduler.sgml:
26212         * docs/gst/tmpl/gstschedulerfactory.sgml:
26213         * docs/gst/tmpl/gststructure.sgml:
26214         * docs/gst/tmpl/gstsystemclock.sgml:
26215         * docs/gst/tmpl/gsttaglist.sgml:
26216         * docs/gst/tmpl/gsttagsetter.sgml:
26217         * docs/gst/tmpl/gsttrace.sgml:
26218         * docs/gst/tmpl/gsttrashstack.sgml:
26219         * docs/gst/tmpl/gsttypefind.sgml:
26220         * docs/gst/tmpl/gsttypefindfactory.sgml:
26221         * docs/gst/tmpl/gsttypes.sgml:
26222         * docs/gst/tmpl/gsturihandler.sgml:
26223         * docs/gst/tmpl/gsturitype.sgml:
26224         * docs/gst/tmpl/gstutils.sgml:
26225         * docs/gst/tmpl/gstvalue.sgml:
26226         * docs/gst/tmpl/gstversion.sgml:
26227         * docs/gst/tmpl/gstxml.sgml:
26228         * docs/libs/tmpl/gstcontrol.sgml:
26229         * docs/libs/tmpl/gstdataprotocol.sgml:
26230         * docs/libs/tmpl/gstdparam.sgml:
26231         * docs/libs/tmpl/gstdplinint.sgml:
26232         * docs/libs/tmpl/gstdpman.sgml:
26233         * docs/libs/tmpl/gstdpsmooth.sgml:
26234         * docs/libs/tmpl/gstgetbits.sgml:
26235         * docs/libs/tmpl/gstunitconvert.sgml:
26236         * gst/base/gstpushsrc.c: (gst_push_src_get_type),
26237         (gst_push_src_base_init), (gst_push_src_class_init),
26238         (gst_push_src_init), (gst_push_src_create):
26239         * gst/base/gstpushsrc.h:
26240         * gst/elements/gstelements.c:
26241         * gst/elements/gstfakesink.c: (gst_fake_sink_state_error_get_type),
26242         (gst_fake_sink_base_init), (gst_fake_sink_class_init),
26243         (gst_fake_sink_init), (gst_fake_sink_set_property),
26244         (gst_fake_sink_get_property), (gst_fake_sink_get_times),
26245         (gst_fake_sink_event), (gst_fake_sink_preroll),
26246         (gst_fake_sink_render), (gst_fake_sink_change_state):
26247         * gst/elements/gstfakesink.h:
26248         * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
26249         (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type),
26250         (gst_fake_src_base_init), (gst_fake_src_class_init),
26251         (gst_fake_src_init), (gst_fake_src_event_handler),
26252         (gst_fake_src_alloc_parent), (gst_fake_src_set_property),
26253         (gst_fake_src_get_property), (gst_fake_src_prepare_buffer),
26254         (gst_fake_src_alloc_buffer), (gst_fake_src_get_size),
26255         (gst_fake_src_create_buffer), (gst_fake_src_create),
26256         (gst_fake_src_start), (gst_fake_src_stop):
26257         * gst/elements/gstfakesrc.h:
26258         * gst/elements/gstfilesink.c: (_do_init),
26259         (gst_file_sink_base_init), (gst_file_sink_class_init),
26260         (gst_file_sink_init), (gst_file_sink_dispose),
26261         (gst_file_sink_set_location), (gst_file_sink_set_property),
26262         (gst_file_sink_get_property), (gst_file_sink_open_file),
26263         (gst_file_sink_close_file), (gst_file_sink_query),
26264         (gst_file_sink_event), (gst_file_sink_render),
26265         (gst_file_sink_change_state), (gst_file_sink_uri_get_type),
26266         (gst_file_sink_uri_get_protocols), (gst_file_sink_uri_get_uri),
26267         (gst_file_sink_uri_set_uri), (gst_file_sink_uri_handler_init):
26268         * gst/elements/gstfilesink.h:
26269         * gst/elements/gstfilesrc.c: (_do_init), (gst_file_src_base_init),
26270         (gst_file_src_class_init), (gst_file_src_init),
26271         (gst_file_src_finalize), (gst_file_src_set_location),
26272         (gst_file_src_set_property), (gst_file_src_get_property),
26273         (gst_file_src_map_region), (gst_file_src_map_small_region),
26274         (gst_file_src_create_mmap), (gst_file_src_create_read),
26275         (gst_file_src_create), (gst_file_src_is_seekable),
26276         (gst_file_src_get_size), (gst_file_src_start), (gst_file_src_stop),
26277         (gst_file_src_uri_get_type), (gst_file_src_uri_get_protocols),
26278         (gst_file_src_uri_get_uri), (gst_file_src_uri_set_uri),
26279         (gst_file_src_uri_handler_init):
26280         * gst/elements/gstfilesrc.h:
26281           more autistic cleanliness in functions/names/defines
26282
26283 2005-07-13  Andy Wingo  <wingo@pobox.com>
26284
26285         * gst/base/gstbasesrc.c (gst_base_src_start): Post an error if the
26286         source couldn't negotiate.
26287
26288         * gst/parse/grammar.y: Revert 1.54->1.55, so we now do filtered
26289         connections again.
26290
26291         * gst/gstutils.h:
26292         * gst/gstutils.c (gst_element_link_pads_filtered): New old
26293         function. I am channeling Hades. Put your boots on suckers!!!
26294
26295 2005-07-13  Thomas Vander Stichele  <thomas at apestaart dot org>
26296
26297         * testsuite/caps/Makefile.am:
26298         * testsuite/caps/value_compare.c:
26299         * testsuite/caps/value_intersect.c:
26300         * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
26301           move two testsuite apps over to the check dir
26302
26303 2005-07-12  Wim Taymans  <wim@fluendo.com>
26304
26305         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
26306         Added more debug info in the negotiate process.
26307
26308         * gst/gstmessage.h:
26309         Prepare for segment playback.
26310
26311         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps):
26312         Better debugging.
26313
26314         * gst/gstutils.c:
26315         Some more docs.
26316
26317         * tools/gst-launch.c: (main):
26318         NULL pipeline on errors.
26319
26320 2005-07-12  Andy Wingo  <wingo@pobox.com>
26321
26322         * gst/gstbuffer.c (_gst_buffer_copy): Copy the buffer whether or
26323         not it comes from a malloc region. Make sure our copy gets freed.
26324
26325 2005-07-12  Thomas Vander Stichele  <thomas at apestaart dot org>
26326
26327         * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
26328         * check/gst/gstmessage.c: (GST_START_TEST):
26329         * check/gst/gststructure.c: (GST_START_TEST),
26330         (gst_structure_suite), (main):
26331           more testing
26332         * gst/gstelement.c: (gst_element_message_full):
26333           clean up GError and debug string now that they get copied
26334         * gst/gstmessage.c: (gst_message_new_error),
26335         (gst_message_new_warning), (gst_message_parse_error),
26336         (gst_message_parse_warning):
26337           use GST_TYPE_G_ERROR for structure_new, and take copies of
26338           arguments, so that we don't mess up refcounting
26339
26340 2005-07-12  Thomas Vander Stichele  <thomas at apestaart dot org>
26341
26342         * check/Makefile.am:
26343           add per-test valgrind targets
26344         * check/gst-libs/gdp.c: (GST_START_TEST),
26345         (gst_data_protocol_suite), (main):
26346           clean up
26347
26348 2005-07-12  Thomas Vander Stichele  <thomas at apestaart dot org>
26349
26350         * check/Makefile.am:
26351           instate more valgrindable tests
26352         * check/elements/gstfakesrc.c: (chain_func), (event_func),
26353         (GST_START_TEST), (fakesrc_suite):
26354         * check/gst/gstpad.c: (GST_START_TEST):
26355         * check/gst/gststructure.c: (GST_START_TEST):
26356           fix test leaks
26357         * docs/gst/tmpl/gstminiobject.sgml:
26358         * gst/gstpad.c: (gst_pad_finalize):
26359           fix the static mutex leak
26360
26361 2005-07-11  Thomas Vander Stichele  <thomas at apestaart dot org>
26362
26363         * check/Makefile.am:
26364           add two more tests for valgrinding
26365         * check/gst/gstvalue.c: (GST_START_TEST):
26366           test refcount of deserialized buffer, found a leak
26367         * docs/gst/gstreamer-docs.sgml:
26368         * docs/gst/gstreamer-sections.txt:
26369         * docs/gst/gstreamer.types:
26370         * docs/gst/tmpl/gstminiobject.sgml:
26371           add miniobject to docs
26372         * gst/gstminiobject.c:
26373           add some docs
26374         * gst/gstvalue.c: (gst_value_deserialize_buffer),
26375         (gst_string_unwrap):
26376           fix a hard-to-find invalid write for one of the tests
26377           fix a leak for deserialized buffers
26378
26379 2005-07-11  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
26380
26381         * docs/pwg/advanced-events.xml:
26382         * docs/pwg/advanced-request.xml:
26383         * docs/pwg/advanced-scheduling.xml:
26384         * docs/pwg/appendix-porting.xml:
26385         * docs/pwg/building-boiler.xml:
26386         * docs/pwg/intro-preface.xml:
26387         * docs/pwg/other-ntoone.xml:
26388           Rewrite scheduling-chapter for scheduling model in 0.9. Add lots
26389           of example code and explanation for pad activation, loop() and
26390           getrange() functions and a bit more. Remove old comments pointing
26391           to loop-functions.
26392         * examples/pwg/Makefile.am:
26393           Add loop/getrange examples.
26394
26395 2005-07-11  Thomas Vander Stichele  <thomas at apestaart dot org>
26396
26397         * configure.ac:
26398           check for valgrind binary + some fixes
26399         * check/gst.supp:
26400           valgrind suppressions for the tests
26401         * check/Makefile.am:
26402           add a valgrind: target that valgrinds the unit tests
26403         * check/gst/gst.c: (GST_START_TEST), (gst_suite):
26404         * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
26405         * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
26406         * check/gst/gstghostpad.c:
26407           added some cleanup
26408         * check/gst/gstdata.c:
26409           removed
26410         * check/gst/gstminiobject.c: (GST_START_TEST), (thread_ref),
26411         (thread_unref), (gst_mini_object_suite), (main):
26412           added
26413         * gst/gst.c: (gst_deinit):
26414         * gst/gst.h:
26415           add a method to clean up.
26416         * gst/gstsystemclock.c: (gst_system_clock_dispose),
26417         (gst_system_clock_obtain):
26418           allow for disposing the system clock.
26419         * tools/gst-launch.c: (main):
26420           deinit
26421
26422 2005-07-11  Thomas Vander Stichele  <thomas at apestaart dot org>
26423
26424         * docs/gst/tmpl/gstbasesrc.sgml:
26425         * docs/gst/tmpl/gstfakesrc.sgml:
26426         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
26427         (gst_base_src_init), (gst_base_src_set_property),
26428         (gst_base_src_get_property), (gst_base_src_get_range),
26429         (gst_base_src_start):
26430         * gst/base/gstbasesrc.h:
26431           add num-buffers property
26432         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
26433         (gst_fakesrc_init), (gst_fakesrc_set_property),
26434         (gst_fakesrc_get_property), (gst_fakesrc_create),
26435         (gst_fakesrc_start):
26436           remove num-buffers property
26437
26438 2005-07-10  Thomas Vander Stichele  <thomas at apestaart dot org>
26439
26440         * docs/gst/gstreamer-sections.txt:
26441         * docs/gst/tmpl/gstbasesink.sgml:
26442         * docs/gst/tmpl/gstbasesrc.sgml:
26443         * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
26444         (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
26445         (gst_base_sink_finalize), (gst_base_sink_set_clock),
26446         (gst_base_sink_set_property), (gst_base_sink_get_property),
26447         (gst_base_sink_handle_object), (gst_base_sink_event),
26448         (gst_base_sink_do_sync), (gst_base_sink_handle_event),
26449         (gst_base_sink_handle_buffer), (gst_base_sink_chain),
26450         (gst_base_sink_loop), (gst_base_sink_deactivate),
26451         (gst_base_sink_activate_push), (gst_base_sink_activate_pull),
26452         (gst_base_sink_change_state):
26453         * gst/base/gstbasesink.h:
26454         * gst/base/gstbasesrc.h:
26455         * gst/elements/gstfakesink.c: (gst_fakesink_get_times):
26456         * gst/elements/gstfilesink.c: (gst_filesink_class_init),
26457         (gst_filesink_init):
26458           more macro splitting
26459
26460 2005-07-10  Thomas Vander Stichele  <thomas at apestaart dot org>
26461
26462         * gst/gstelement.c: (gst_element_get_bus):
26463           add debug
26464         * tools/gst-launch.c: (check_intr), (event_loop):
26465           fix bus leaks
26466
26467 2005-07-10  Thomas Vander Stichele  <thomas at apestaart dot org>
26468
26469         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked):
26470           fix a caps leak
26471
26472 2005-07-10  Thomas Vander Stichele  <thomas at apestaart dot org>
26473
26474         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
26475         (gst_base_src_finalize):
26476           add finalize method and clean up properly
26477         * gst/gstpipeline.c: (gst_pipeline_dispose):
26478           add debug
26479
26480 2005-07-09  Thomas Vander Stichele  <thomas at apestaart dot org>
26481
26482         * check/gst/gstbin.c: (pop_messages), (GST_START_TEST),
26483         (gst_bin_suite):
26484           add more things to check
26485         * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
26486         * gst/gstelement.c:
26487           more debug
26488
26489 2005-07-09  Thomas Vander Stichele  <thomas at apestaart dot org>
26490
26491         * check/elements/gstfakesrc.c: (chain_func), (event_func),
26492         (GST_START_TEST), (fakesrc_suite):
26493         * check/gst-libs/gdp.c: (GST_START_TEST):
26494         * check/gst/gst.c: (GST_START_TEST):
26495         * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
26496         * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
26497         * check/gst/gstbus.c: (GST_START_TEST):
26498         * check/gst/gstcaps.c: (GST_START_TEST):
26499         * check/gst/gstdata.c: (GST_START_TEST):
26500         * check/gst/gstelement.c: (GST_START_TEST):
26501         * check/gst/gstghostpad.c: (GST_START_TEST):
26502         * check/gst/gstiterator.c: (GST_START_TEST):
26503         * check/gst/gstmessage.c: (GST_START_TEST):
26504         * check/gst/gstobject.c: (GST_START_TEST):
26505         * check/gst/gstpad.c: (GST_START_TEST):
26506         * check/gst/gststructure.c: (GST_START_TEST):
26507         * check/gst/gstsystemclock.c: (GST_START_TEST),
26508         (gst_systemclock_suite):
26509         * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
26510         * check/gst/gstvalue.c: (GST_START_TEST):
26511         * check/pipelines/cleanup.c: (GST_START_TEST):
26512         * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
26513         * check/states/sinks.c: (GST_START_TEST):
26514         * check/gstcheck.c: (gst_check_init):
26515         * check/gstcheck.h:
26516           add debugging category
26517           use GST_START_TEST now, so we add a debug line
26518
26519 2005-07-09  Thomas Vander Stichele  <thomas at apestaart dot org>
26520
26521         * check/gst/gstbin.c: (START_TEST), (gst_bin_suite):
26522           add test for state change message on a bin
26523         * check/gst/gstelement.c: (START_TEST), (gst_element_suite):
26524           add another test
26525         * gst/gstbin.c: (gst_bin_init):
26526         * gst/gstbus.c: (gst_bus_init), (gst_bus_post):
26527         * gst/gstelement.c: (gst_element_post_message),
26528         (gst_element_set_state):
26529         * gst/gstelementfactory.c: (gst_element_factory_create):
26530         * gst/gstmessage.c: (gst_message_new):
26531         * gst/gstscheduler.c:
26532           various debugging additions and cleanups
26533
26534 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
26535
26536         * check/Makefile.am:
26537         * check/gst/gstelement.c: (START_TEST), (gst_element_suite),
26538         (main):
26539           adding tests for elements
26540         * gst/gstelement.c: (gst_element_dispose):
26541
26542 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
26543
26544         * gst/registries/gstlibxmlregistry.c: (load_feature):
26545           plug more leaks.  A simple gst_init() now is leakfree, yay.
26546
26547 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
26548
26549         * gst/registries/gstlibxmlregistry.c: (read_string), (load_paths),
26550         (gst_xml_registry_load):
26551           plug another memleak
26552
26553 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
26554
26555         * configure.ac:
26556           use GST_SET_ERROR_CFLAGS
26557         * docs/faq/cvs.xml:
26558           change to ERROR_CFLAGS
26559
26560 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
26561
26562         * configure.ac:
26563           make GST_ERROR_CFLAGS overridable and re-enable Werror
26564         * docs/faq/cvs.xml:
26565           add a note about error CFLAGS
26566         * docs/gst/tmpl/gstfakesrc.sgml:
26567         * gst/elements/gstfakesrc.c:
26568           comment out some unused code
26569         * gst/gst.c: (split_and_iterate):
26570         * gst/registries/gstlibxmlregistry.c: (load_pad_template),
26571         (load_feature):
26572           plug some memleaks
26573
26574 2005-07-07  Thomas Vander Stichele  <thomas at apestaart dot org>
26575
26576         * common/Makefile.am:
26577         * common/gtk-doc.mak:
26578         * docs/gst/Makefile.am:
26579           factor out gtk-doc.mak
26580
26581 2005-07-07  Wim Taymans  <wim@fluendo.com>
26582
26583         * gst/schedulers/threadscheduler.c: (gst_thread_scheduler_func),
26584         (gst_thread_scheduler_dispose):
26585         Unlock the STREAM_LOCK completely.
26586
26587 2005-07-07  Thomas Vander Stichele  <thomas at apestaart dot org>
26588
26589         * check/Makefile.am:
26590         * check/elements/.cvsignore:
26591         * check/elements/gstfakesrc.c: (chain_func), (event_func),
26592         (START_TEST), (fakesrc_suite), (main):
26593         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
26594         (gst_fakesrc_set_property), (gst_fakesrc_get_property),
26595         (gst_fakesrc_create), (gst_fakesrc_start):
26596         * gst/elements/gstfakesrc.h:
26597           adding a first element test
26598
26599 2005-07-07  Andy Wingo  <wingo@pobox.com>
26600
26601         * gst/gstbus.c (gst_bus_have_pending): Remove intensely irritating
26602         debug message.
26603
26604 2005-07-07  Wim Taymans  <wim@fluendo.com>
26605
26606         * gst/gstquery.c:
26607         * gst/gstquery.h:
26608         Remove old types
26609
26610 2005-07-07  Wim Taymans  <wim@fluendo.com>
26611
26612         * gst/base/gstbasesrc.c: (gst_base_src_get_range),
26613         (gst_base_src_default_negotiate), (gst_base_src_negotiate):
26614         Allow subclasses to implement their own negotiation.
26615
26616 2005-07-07  Jan Schmidt  <thaytan@mad.scientist.com>
26617
26618         * docs/design/part-gstbin.txt:
26619         * docs/design/part-gstpipeline.txt:
26620           Update design notes to reflect the movement of
26621           responsibility for bus handling from GstPipeline to
26622           GstBin
26623
26624 2005-07-07  Jan Schmidt  <thaytan@mad.scientist.com>
26625
26626         * configure.ac:
26627           Remove unnecessary queue2/3/4 examples.
26628
26629 2005-07-07  Jan Schmidt  <thaytan@mad.scientist.com>
26630
26631         * examples/Makefile.am:
26632         * examples/helloworld/helloworld.c: (event_loop), (main):
26633         * examples/queue/queue.c: (event_loop), (main):
26634         * examples/queue2/queue2.c: (main):
26635           Update a couple of the examples to work again.
26636
26637         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
26638         (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_event):
26639          Spelling corrections and extra debug.
26640         
26641         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init), (is_eos),
26642         (gst_bin_add_func), (bin_element_is_sink), (gst_bin_get_state),
26643         (gst_bin_change_state), (gst_bin_dispose), (bin_bus_handler):
26644         * gst/gstbin.h:
26645         * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
26646         (gst_pipeline_change_state):
26647         * gst/gstpipeline.h:
26648           Move the bus handler for children to the GstBin, and create a
26649           separate bus for receiving messages from children to the one the
26650           bus sends 'upwards' on.
26651
26652 2005-07-06  Wim Taymans  <wim@fluendo.com>
26653
26654         * gst/base/README:
26655         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
26656         (gst_base_sink_handle_object), (gst_base_sink_loop),
26657         (gst_base_sink_change_state):
26658         * gst/base/gstbasesink.h:
26659         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
26660         (gst_base_src_init), (gst_base_src_setcaps),
26661         (gst_base_src_getcaps), (gst_base_src_loop),
26662         (gst_base_src_default_negotiate), (gst_base_src_negotiate),
26663         (gst_base_src_start), (gst_base_src_change_state):
26664         * gst/base/gstbasesrc.h:
26665         Make basesrc negotiate.
26666         Handle the case where preroll fails in basesink.
26667         Update README.
26668
26669 2005-07-06  Wim Taymans  <wim@fluendo.com>
26670
26671         * gst/gstpad.c: (gst_pad_fixate_caps), (gst_pad_accept_caps):
26672         Implement the fixate function.
26673         Clean up acceptcaps.
26674
26675 2005-07-06  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
26676
26677         * docs/pwg/building-filterfactory.xml:
26678         * docs/pwg/pwg.xml:
26679           Remove never-written filter-factory chapter; I'll add the various
26680           base classes to part 4 ("other element types") later on.
26681
26682 2005-07-06  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
26683
26684         * docs/pwg/advanced-negotiation.xml:
26685         * docs/pwg/building-boiler.xml:
26686         * docs/pwg/building-pads.xml:
26687         * docs/pwg/pwg.xml:
26688         * examples/pwg/Makefile.am:
26689           Add a chapter on caps negotiation, simplify the original code
26690           samples a bit w.r.t. caps negotiation, add link to the advanced
26691           section. Add a bunch of examples showing different use cases of
26692           different types of caps negotiation. Upstream renegotiation isn't
26693           fully documented yet since nobody knows how that works.
26694
26695 2005-07-06  Thomas Vander Stichele  <thomas at apestaart dot org>
26696
26697         * check/gst/gstpad.c:
26698         * check/gstcheck.c:
26699         * gst/gstpad.c: (gst_pad_get_internal_links_default):
26700           if pad has no parent, return NULL as list of internal links
26701
26702 2005-07-05  Andy Wingo  <wingo@pobox.com>
26703
26704         * gst/elements/gstfilesrc.c:
26705         * gst/elements/gstfakesrc.c: 
26706         * gst/base/gstpushsrc.c:
26707         * gst/base/gstbasesrc.h: 
26708         * gst/base/gstbasesrc.c: s/BASESRC/BASE_SRC/g.
26709         
26710 2005-07-05  Stefan Kost  <ensonic@users.sf.net>
26711
26712         * Makefile.am:
26713           better report generation target (lcov needs a patch)
26714
26715 2005-07-05  Andy Wingo  <wingo@pobox.com>
26716
26717         * gst/elements, testsuite: Null if we got it...
26718
26719 2005-07-05  Wim Taymans  <wim@fluendo.com>
26720
26721         * configure.ac:
26722         * libs/gst/dataprotocol/Makefile.am:
26723         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_validate_packet):
26724         * libs/gst/dataprotocol/dataprotocol.h:
26725         * pkgconfig/Makefile.am:
26726         * pkgconfig/gstreamer-dataprotocol-uninstalled.pc.in:
26727         * pkgconfig/gstreamer-dataprotocol.pc.in:
26728         Ported dataprotol to 0.9. 
26729         Added pkgconfig files.
26730
26731 2005-07-05  Andy Wingo  <wingo@pobox.com>
26732
26733         * gst/base/gstbasetransform.c (gst_base_transform_setcaps):
26734         Default to returning TRUE for the case when tranform_caps returns
26735         a fixed caps, like for identity or volume.
26736
26737         * check/gst/gstbus.c (pound_bus_with_messages): 
26738         * check/gst/gstmessage.c (START_TEST): 
26739         * check/pipelines/simple_launch_lines.c (got_handoff): Application
26740         message API change.
26741
26742         * gst/base/gstbasetransform.c (gst_base_transform_setcaps): More
26743         logic weaks here: always run transform_caps, trying passthrough
26744         operation only if the original caps intersects with the transform.
26745
26746         * gst/gstpad.c (gst_pad_link_check_compatible_unlocked): Debug
26747         source and sink caps.
26748
26749         * gst/base/gstbasetransform.c (gst_base_transform_getcaps):
26750         Intersect the peer caps with the pad template before going into
26751         transform_caps.
26752         (gst_base_transform_transform_caps): More debugging.
26753
26754         * gst/gstmessage.h (gst_message_new_application): Take a GstObject
26755         src argument.
26756
26757 2005-07-04  Edward Hervey  <edward@fluendo.com>
26758
26759         * gst/gstutils.c:
26760         * gst/gstutils.h:
26761         (gst_pad_add_*_probe): now returns the signal id for better wrapping
26762         in bindings.
26763
26764 2005-07-04  Andy Wingo  <wingo@pobox.com>
26765
26766         * check/gst/gstpad.c: Only set explicit caps on pads.
26767
26768 2005-07-01  Andy Wingo  <wingo@pobox.com>
26769
26770         * tests/network-clock.scm: Commentary update.
26771
26772         * gst/elements/gstidentity.c (PROP_DUPLICATE): Gone daddy gone.
26773         Didn't really make sense, not implementable with basetransform,
26774         etc.
26775         (gst_identity_transform): Unref inbuf via make_writable. Feeble
26776         attempt at implementing the sync property, needs an unlock method.
26777
26778         * gst/base/gstbasetransform.c (gst_base_transform_transform_caps):
26779         New func, by default returns the same caps (the identity
26780         transformation).
26781         (gst_base_transform_getcaps): Uses transform_caps to return
26782         something sensible.
26783         (gst_base_transform_setcaps): Complicated logic to get caps on
26784         both pads, even if they are different, and to call set_caps once
26785         for every time both pads get their caps set.
26786         (gst_base_transform_handle_buffer): Give the ref to the transform
26787         function. Allows in-place modification of the buffer.
26788
26789         * gst/base/gstbasetransform.h (transform_caps): New class method.
26790         Given caps on one side, what can I do on the other.
26791         (set_caps): Take two caps, one for each side of the element.
26792
26793         * gst/gstpad.h:
26794         * gst/gstpad.c (gst_pad_fixate_caps): Change prototype to modify
26795         caps in place. This is safe because we can check the mutability of
26796         the caps, and a good idea because fixate functions are just called
26797         as a matter of last resort. (Not actually implemented.)
26798         (gst_pad_set_caps): If the caps we're setting is actually the same
26799         as the existing pad caps, just update the pointer without calling
26800         setcaps. Assert that caps is either NULL or fixed, as per the
26801         docs.
26802
26803         * gst/gstghostpad.c: Update for fixate changes.
26804
26805 2005-07-02  Andy Wingo  <wingo@pobox.com>
26806
26807         * gst/gstcaps.c:
26808         * gst/gstcaps.h (gst_static_caps_get): Not const return, having
26809         two refcounts makes it immutable, which is enough. Doc more.
26810
26811 2005-07-02  Jan Schmidt  <thaytan@mad.scientist.com>
26812
26813         * gst/gstpad.c: (gst_pad_emit_have_data_signal):
26814           Put the mini_object into GValue as a mini_object,
26815           not a gpointer, since that's how we declared
26816           the signal.
26817
26818 2005-07-01  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
26819
26820         * examples/pwg/Makefile.am:
26821           Fix buildbot again.
26822
26823 2005-07-01  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
26824
26825         * docs/pwg/building-testapp.xml:
26826           Add extra check.
26827         * examples/pwg/Makefile.am:
26828           Fix buildbot.
26829
26830 2005-07-01  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
26831
26832         * configure.ac:
26833         * examples/Makefile.am:
26834         * examples/pwg/Makefile.am:
26835         * examples/pwg/extract.pl:
26836           Enable building the PWG examples.
26837         * docs/pwg/advanced-interfaces.xml:
26838           Add URI interface stub.
26839         * docs/pwg/advanced-types.xml:
26840         * docs/pwg/other-autoplugger.xml:
26841         * docs/pwg/appendix-porting.xml:
26842         * docs/pwg/pwg.xml:
26843           Add porting guide (mostly stubs), remove autoplugging (see ADM).
26844         * docs/pwg/building-boiler.xml:
26845         * docs/pwg/building-chainfn.xml:
26846         * docs/pwg/building-pads.xml:
26847         * docs/pwg/building-props.xml:
26848         * docs/pwg/building-state.xml:
26849         * docs/pwg/building-testapp.xml:
26850           Update the building-*.xml parts for 0.9 changes. All examples
26851           code blocks compile in examples/pwg/*.
26852
26853 2005-06-30  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
26854
26855         * docs/manual/advanced-autoplugging.xml:
26856         * docs/manual/appendix-checklist.xml:
26857         * docs/manual/appendix-integration.xml:
26858         * docs/manual/highlevel-components.xml:
26859           Fix playbin/decodebin examples, update docs a bit, mention bus
26860           instead of signals in various places, mention kmplayer and
26861           kaffeine since they have a working GStreamer backend in the KDE
26862           section.
26863
26864 2005-06-30  Wim Taymans  <wim@fluendo.com>
26865
26866         * CHANGES-0.9:
26867         * docs/design/draft-ghostpads.txt:
26868         * docs/design/draft-push-pull.txt:
26869         * docs/design/draft-query.txt:
26870         * docs/design/part-TODO.txt:
26871         * docs/design/part-query.txt:
26872         Added CHANGES-0.9 doc, updated status of other docs.
26873         
26874         * gst/gstquery.h:
26875         Remove "hmm" macro
26876
26877 2005-06-30  Wim Taymans  <wim@fluendo.com>
26878
26879         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
26880         (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
26881         (gst_base_sink_change_state):
26882         * gst/base/gstbasesink.h:
26883         Some tweaks, only EOS and a buffer complete a preroll.
26884
26885 2005-06-30  Andy Wingo  <wingo@pobox.com>
26886
26887         * gst/gstghostpad.c (gst_ghost_pad_do_activate_push): Proxy
26888         activate_push down to the internal pad as well.
26889
26890 2005-06-30  Torsten Schoenfeld  <kaffeetisch@gmx.de>
26891
26892         Reviewed by:  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
26893
26894         * gst/gsttaginterface.c:
26895           Some documentation fixes (#307394 and #307397).
26896
26897 2005-06-30  Antoine Tremblay  <hexa00@gmail.com>
26898
26899         Reviewed by:  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
26900
26901         * gst/gstvalue.c: (gst_value_intersect_list):
26902           Fix memleak (#309125).
26903
26904 2005-06-30  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
26905
26906         * docs/manual/advanced-dataaccess.xml:
26907           Fix fakesrc example to compile; doesn't work, bug somewhere...?
26908         * docs/manual/basics-pads.xml:
26909           Add reference for filtered caps to above chapter.
26910
26911 2005-06-30  Wim Taymans  <wim@fluendo.com>
26912
26913         * gst/gstbin.c: (clear_queue), (remove_all_from_queue),
26914         (gst_bin_change_state):
26915         Probes are gone.
26916         Lame attempt at making the state change function a bit
26917         more readable.
26918
26919 2005-06-30  Wim Taymans  <wim@fluendo.com>
26920
26921         * docs/design/part-clocks.txt:
26922         * docs/design/part-element-sink.txt:
26923         * docs/design/part-events.txt:
26924         * docs/design/part-preroll.txt:
26925         * docs/design/part-states.txt:
26926         Some more tweeks and additions to the docs.
26927
26928 2005-06-30  Wim Taymans  <wim@fluendo.com>
26929
26930         * gst/gstpad.c: (_gst_do_pass_data_accumulator),
26931         (default_have_data), (gst_pad_class_init), (gst_pad_init),
26932         (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
26933         (gst_pad_check_pull_range), (gst_pad_get_range),
26934         (gst_pad_pull_range), (gst_pad_push_event), (gst_pad_send_event):
26935         * gst/gstpad.h:
26936         * gst/gstutils.c: (gst_atomic_int_set), (gst_pad_add_data_probe),
26937         (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
26938         (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
26939         (gst_pad_remove_buffer_probe):
26940         Removed atomic operations, use existing LOCK.
26941         Move exception handling out of main code path.
26942
26943 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
26944
26945         * gst/gstpad.c: (_gst_do_pass_data_accumulator),
26946         (silly_return_true_function), (gst_pad_class_init),
26947         (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
26948         (gst_pad_get_range), (gst_pad_pull_range), (gst_pad_push_event),
26949         (gst_pad_send_event):
26950           Fix accumulator, add default value by using _emitv() instead
26951           of _emit() for signal emission.
26952
26953 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
26954
26955         * docs/manual/advanced-dataaccess.xml:
26956         * examples/manual/Makefile.am:
26957           Add probe example.
26958         * gst/gstpad.c: (_gst_do_pass_data_accumulator):
26959           Make work (??).
26960
26961 2005-06-29  Tim-Philipp Müller  <tim at centricular dot net>
26962
26963         * gst/elements/gstfilesink.c: (gst_filesink_render):
26964           Simplify code so that we don't have to handle short
26965           writes and return GST_FLOW_ERROR if an error occured.
26966
26967 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
26968
26969         * docs/gst/gstreamer-docs.sgml:
26970           Remove probes more.
26971
26972 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
26973
26974         * docs/gst/gstreamer-sections.txt:
26975         * docs/gst/tmpl/gstpad.sgml:
26976         * docs/gst/tmpl/gstprobe.sgml:
26977         * gst/Makefile.am:
26978         * gst/gstpad.c: (_gst_do_pass_data_accumulator),
26979         (gst_pad_class_init), (gst_pad_init), (gst_pad_chain),
26980         (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
26981         (gst_pad_push_event), (gst_pad_send_event):
26982         * gst/gstpad.h:
26983         * gst/gstutils.c: (gst_pad_add_data_probe),
26984         (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
26985         (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
26986         (gst_pad_remove_buffer_probe):
26987         * gst/gstutils.h:
26988           Remove old probes, add new g-signal-based probes and some utility
26989           functions.
26990
26991 2005-06-29  Edward Hervey  <edward@fluendo.com>
26992
26993         * gst/gstelementfactory.c:
26994         * gst/gstutils.h:
26995         * gst/gstutils.c:
26996         Moved gst_element_factory_can_[sink|src]_caps() to gstutils and added
26997         the definition to the header file.
26998
26999 2005-06-29  Andy Wingo  <wingo@pobox.com>
27000
27001         * docs/gst/Makefile.am (scan-build.stamp): Totally only check
27002         plugins from the source directory.
27003
27004 2005-06-29  Wim Taymans  <wim@fluendo.com>
27005
27006         * docs/gst/tmpl/gstbuffer.sgml:
27007         * docs/gst/tmpl/gstclock.sgml:
27008         Some fixings for blantently wrong text.
27009
27010 2005-06-29  Thomas Vander Stichele  <thomas at apestaart dot org>
27011
27012         * check/Makefile.am:
27013         * gst/gst.c: (add_path_func), (init_pre):
27014         * gst/gstregistry.c: (gst_registry_add_path):
27015           add A GST_PLUGIN_PATH_ONLY env var; if it is set, it will
27016           only scan the GST_PLUGIN_PATH locations, and not add
27017           system locations
27018
27019 2005-06-29  Thomas Vander Stichele  <thomas at apestaart dot org>
27020
27021         * docs/gst/gstreamer-sections.txt:
27022         * docs/gst/tmpl/gstbasesrc.sgml:
27023         * gst/gstelement.c:
27024         * gst/gstelement.h:
27025         * gst/gstevent.c:
27026         * gst/gstutils.c:
27027           doc fixes
27028
27029 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
27030
27031         * docs/manual/advanced-autoplugging.xml:
27032           Fix autoplugging example.
27033
27034 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
27035
27036         * docs/manual/advanced-autoplugging.xml:
27037         * docs/manual/mime-world.fig:
27038           Try to get autoplugging working, fix type detection. Fix text
27039           in hello-world image.
27040
27041 2005-06-29  Wim Taymans  <wim@fluendo.com>
27042
27043         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
27044         (gst_base_sink_change_state):
27045         Small debug line.
27046
27047         * gst/gstclock.h:
27048         map SIGNAL and BROADCAST to the right function.
27049
27050         * gst/gstobject.h:
27051         Remove redundant braces.
27052
27053         * gst/gstpad.c: (gst_pad_set_caps):
27054         Don't call setcaps function when reseting caps to NULL.
27055
27056         * gst/gstsystemclock.c: (gst_system_clock_dispose),
27057         (gst_system_clock_async_thread), (gst_system_clock_id_wait_async),
27058         (gst_system_clock_id_unschedule):
27059         Use BROADCAST as this is what we do.
27060
27061 2005-06-29  Wim Taymans  <wim@fluendo.com>
27062
27063         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
27064         We are actually prerolling before commiting the state
27065         change. 
27066
27067 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
27068
27069         * docs/manual/advanced-clocks.xml:
27070         * docs/manual/advanced-interfaces.xml:
27071         * docs/manual/advanced-metadata.xml:
27072         * docs/manual/advanced-position.xml:
27073         * docs/manual/advanced-schedulers.xml:
27074         * docs/manual/advanced-threads.xml:
27075         * docs/manual/appendix-porting.xml:
27076         * docs/manual/basics-bins.xml:
27077         * docs/manual/basics-bus.xml:
27078         * docs/manual/basics-elements.xml:
27079         * docs/manual/basics-helloworld.xml:
27080         * docs/manual/basics-pads.xml:
27081         * docs/manual/highlevel-components.xml:
27082         * docs/manual/manual.xml:
27083         * docs/manual/thread.fig:
27084           Update (until threads/scheduling) Application Development Manual;
27085           remove GstThread, add GstBus, add simple porting checklist, add
27086           documentation for tag writing, clocks, make all examples until this
27087           part compile and run.
27088         * examples/manual/Makefile.am:
27089           Update from changes to Application Development Manual; add bus
27090           example, remove thread example.
27091
27092 2005-06-28  Wim Taymans  <wim@fluendo.com>
27093
27094         * gst/gstbus.c: (gst_bus_post), (gst_bus_have_pending),
27095         (gst_bus_set_flushing), (gst_bus_pop), (gst_bus_peek),
27096         (gst_bus_source_dispatch):
27097         Add debugging messages.
27098         Make internal methods static.
27099         Handle the case where the bus is flushed in the handler.
27100         
27101         * gst/gstelement.c: (gst_element_get_bus):
27102         Fix refcount in _get_bus();
27103
27104         * gst/gstpipeline.c: (gst_pipeline_change_state),
27105         (gst_pipeline_get_clock_func):
27106         Clock refcounting fixes.
27107         Handle the case where preroll timed out more gracefully.
27108         
27109         * gst/gstsystemclock.c: (gst_system_clock_dispose):
27110         Clean up the internal thread in dispose. This is needed
27111         for subclasses that actually get disposed.
27112         
27113         * gst/schedulers/threadscheduler.c:
27114         (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
27115         (gst_thread_scheduler_dispose):
27116         Free thread pool in dispose.
27117
27118 2005-06-28  Andy Wingo  <wingo@pobox.com>
27119
27120         * tests/network-clock-utils.scm (debug, print-event): New utils.
27121
27122         * tests/network-clock.scm (*debug*, *with-graph*): New parameters.
27123         (*packet-loss*): Unified loss probability.
27124         (network-time): Report out-of-band events.
27125
27126         * tests/plot-data: Add support for out-of-band events. Hack it
27127         into this script instead of passing it down the pipe; should fix
27128         this later.
27129
27130 2005-06-28  Wim Taymans  <wim@fluendo.com>
27131
27132         * docs/gst/gstreamer.types:
27133         * docs/gst/tmpl/gstbasesrc.sgml:
27134         * docs/gst/tmpl/gstpad.sgml:
27135         Docs fixes.
27136
27137 2005-06-28  Wim Taymans  <wim@fluendo.com>
27138
27139         * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
27140         (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_acceptcaps),
27141         (gst_proxy_pad_do_fixatecaps):
27142         Correctly proxy the check_pull_range function.
27143
27144 2005-06-28  Andy Wingo  <wingo@pobox.com>
27145
27146         * tests/network-clock.scm: Removed need for slib.
27147         
27148 2005-06-28  Wim Taymans  <wim@fluendo.com>
27149
27150         * gst/base/gstbasesink.c: (gst_basesink_set_pad_functions),
27151         (gst_basesink_preroll_queue_flush):
27152         * gst/base/gstbasesrc.c: (gst_basesrc_set_dataflow_funcs):
27153         * gst/elements/gsttee.c: (gst_tee_update_pad_functions):
27154         * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
27155         (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
27156         (gst_proxy_pad_set_property):
27157         * gst/gstpad.c:
27158         * gst/gstpad.h:
27159         * gst/gstqueue.c: (gst_queue_init):
27160         The deprecated pad loop function is removed now.
27161
27162 2005-06-28  Andy Wingo  <wingo@pobox.com>
27163
27164         * tests/network-clock.scm (*timeout*, *send-loss*, *recv-loss*):
27165         New parameters, simulate network packet loss.
27166
27167         * tests/network-clock-utils.scm: Initialize the RNG.
27168
27169 2005-06-28  Wim Taymans  <wim@fluendo.com>
27170
27171         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_flush),
27172         (gst_basesink_event), (gst_basesink_deactivate):
27173         Flushing the preroll queue always needs to unlock the waiters.
27174
27175 2005-06-28  Edward Hervey  <edward@fluendo.com>
27176
27177         * gst/gstpipeline.c: (gst_pipeline_send_event): 
27178         Wheen a seek was successful on a pipeline, set the stream_time to the
27179         seek offset in order to have a synchronized stream_time.
27180
27181 2005-06-28  Wim Taymans  <wim@fluendo.com>
27182
27183         * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
27184         (gst_proxy_pad_do_getrange), (gst_proxy_pad_do_checkgetrange),
27185         (gst_proxy_pad_do_getcaps), (gst_proxy_pad_do_acceptcaps),
27186         (gst_proxy_pad_do_fixatecaps):
27187         Call wrapper function instead of just calling the function
27188         pointers. This takes care of any locking and whatmore.
27189
27190 2005-06-28  Wim Taymans  <wim@fluendo.com>
27191
27192         * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push),
27193         (gst_pad_pull_range):
27194         * gst/gstpad.h:
27195         CONNECTED -> LINKED.
27196
27197 2005-06-28  Andy Wingo  <wingo@pobox.com>
27198
27199         * *.c: Don't cast to GST_OBJECT when reffing or unreffing. Large
27200         source-munging commit!!!
27201
27202         * gst/gstobject.c (gst_object_unref, gst_object_ref) 
27203         (gst_object_sink): Take gpointer arguments, not GstObject --
27204         avoids casts. Like GLib.
27205
27206         * gst/gstghostpad.c (gst_proxy_pad_do_activate): Don't proxy
27207         activate.
27208
27209 2005-06-27  Andy Wingo  <wingo@pobox.com>
27210
27211         * gst/base/gsttypefindhelper.c (gst_type_find_helper): Unref any
27212         remaining buffer.
27213
27214         * gst/gsttrace.c (gst_alloc_trace_list_sorted): New helper,
27215         returns a sorted copy of the trace list.
27216         (gst_alloc_trace_print_live): New API, only prints traces with
27217         live objects. Sort the list.
27218         (gst_alloc_trace_print_all): Sort the list.
27219         (gst_alloc_trace_print): Align columns.
27220
27221         * gst/elements/gstttypefindelement.c:
27222         * gst/elements/gsttee.c:
27223         * gst/base/gstbasesrc.c:
27224         * gst/base/gstbasesink.c:
27225         * gst/base/gstbasetransform.c:
27226         * gst/gstqueue.c: Adapt for pad activation changes.
27227
27228         * gst/gstpipeline.c (gst_pipeline_init): Unref after parenting
27229         sched.
27230         (gst_pipeline_dispose): Drop ref on sched.
27231
27232         * gst/gstpad.c (gst_pad_init): Set the default activate func.
27233         (gst_pad_activate_default): Push mode by default.
27234         (pre_activate_switch, post_activate_switch): New stubs, things to
27235         do before and after switching activation modes on pads.
27236         (gst_pad_set_active): Take a boolean and not a mode, dispatch to
27237         the pad's activate function to choose which mode to activate.
27238         Shortcut on deactivation and call the right function directly.
27239         (gst_pad_activate_pull): New API, (de)activates a pad in pull
27240         mode.
27241         (gst_pad_activate_push): New API, same for push mode.
27242         (gst_pad_set_activate_function) 
27243         (gst_pad_set_activatepull_function) 
27244         (gst_pad_set_activatepush_function): Setters for new API.
27245
27246         * gst/gstminiobject.c (gst_mini_object_new, gst_mini_object_free):
27247         Trace all miniobjects.
27248         (gst_mini_object_make_writable): Unref the arg if we copy, like
27249         gst_caps_make_writable.
27250
27251         * gst/gstmessage.c (_gst_message_initialize): No trace init.
27252
27253         * gst/gstghostpad.c (gst_proxy_pad_do_activate) 
27254         (gst_proxy_pad_do_activatepull, gst_proxy_pad_do_activatepush):
27255         Adapt for new pad API.
27256
27257         * gst/gstevent.c (_gst_event_initialize): Don't initialize trace.
27258
27259         * gst/gstelement.h:
27260         * gst/gstelement.c (gst_element_iterate_src_pads) 
27261         (gst_element_iterate_sink_pads): New API functions.
27262         
27263         * gst/gstelement.c (iterator_fold_with_resync): New utility,
27264         should fold into gstiterator.c in some form.
27265         (gst_element_pads_activate): Simplified via use of fold and
27266         delegation of decisions to gstpad->activate.
27267
27268         * gst/gstbus.c (gst_bus_source_finalize): Set the bus to NULL,
27269         help in debugging.
27270
27271         * gst/gstbuffer.c (_gst_buffer_initialize): Ref the buffer type
27272         class once in init, like gstmessage. Didn't run into this issue
27273         but it seems correct. Don't initialize a trace, gstminiobject does
27274         that.
27275
27276         * check/pipelines/simple_launch_lines.c (test_stop_from_app): New
27277         test, runs fakesrc ! fakesink, stopping on ::handoff via a message
27278         to the bus.
27279         (assert_live_count): New util function, uses alloc traces to check
27280         cleanup.
27281
27282         * check/gst/gstghostpad.c (test_ghost_pads): More refcount checks.
27283         To be modified when unlink drops the internal pad.
27284
27285 2005-06-27  Wim Taymans  <wim@fluendo.com>
27286
27287         * gst/gstbin.c: (gst_bin_get_state), (gst_bin_iterate_state_order),
27288         (gst_bin_change_state):
27289         Cleanup the get_state() function a little, make sure it
27290         iterates the same set of elements.
27291         Added stub iterate_state_order().
27292
27293 2005-06-27  Thomas Vander Stichele  <thomas at apestaart dot org>
27294
27295         * docs/gst/gstreamer-docs.sgml:
27296         * docs/gst/gstreamer-sections.txt:
27297         * docs/gst/gstreamer.types:
27298         * docs/gst/tmpl/gstbasesink.sgml:
27299         * docs/gst/tmpl/gstbasesrc.sgml:
27300         * docs/gst/tmpl/gstbasetransform.sgml:
27301         * docs/gst/tmpl/gstelement.sgml:
27302         * docs/gst/tmpl/gstiterator.sgml:
27303         * gst/base/gstbasesrc.c:
27304         * gst/base/gstbasesrc.h:
27305         * gst/base/gstbasetransform.h:
27306         * gst/gstelement.c:
27307         * gst/gstiterator.h:
27308           adding basetransform and iterator docs
27309
27310 2005-06-27  Andy Wingo  <wingo@pobox.com>
27311
27312         * docs/design/part-activation.txt: Notes on how activation should
27313         work -- not quite implemented yet.
27314
27315 2005-06-25  Wim Taymans  <wim@fluendo.com>
27316
27317         * gst/gstghostpad.c: (gst_proxy_pad_do_chain):
27318         At least get the chain function correct, needs more
27319         fixing.
27320
27321 2005-06-25  Wim Taymans  <wim@fluendo.com>
27322
27323         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
27324         (gst_basesink_handle_object), (gst_basesink_event),
27325         (gst_basesink_do_sync), (gst_basesink_handle_event),
27326         (gst_basesink_change_state):
27327         * gst/gsttask.h:
27328         Right, two problems here: ghostpads don't take locks and
27329         glib _rec_mutex_lock_full() with depth==0 still locks.
27330         Catch illegal locking and g_warn them.
27331
27332 2005-06-25  Wim Taymans  <wim@fluendo.com>
27333
27334         * check/states/sinks.c: (START_TEST), (gst_object_suite):
27335         Have to check for completion now...
27336
27337 2005-06-25  Wim Taymans  <wim@fluendo.com>
27338
27339         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
27340         (gst_basesink_handle_object), (gst_basesink_event),
27341         (gst_basesink_do_sync), (gst_basesink_handle_event),
27342         (gst_basesink_change_state):
27343         * gst/gstpad.h:
27344         Unlock STREAM_LOCK whatever the recursion was.
27345
27346 2005-06-25  Wim Taymans  <wim@fluendo.com>
27347
27348         * gst/base/gstbasesink.c: (gst_basesink_set_property),
27349         (gst_basesink_preroll_queue_empty),
27350         (gst_basesink_preroll_queue_flush), (gst_basesink_handle_object),
27351         (gst_basesink_event), (gst_basesink_do_sync),
27352         (gst_basesink_handle_event), (gst_basesink_handle_buffer),
27353         (gst_basesink_chain), (gst_basesink_loop), (gst_basesink_activate),
27354         (gst_basesink_change_state):
27355         Reworked the base sink, handle event and buffer serialisation
27356         correctly and removed possible deadlock.
27357         Handle EOS correctly.
27358
27359 2005-06-25  Wim Taymans  <wim@fluendo.com>
27360
27361         * gst/gstpipeline.c: (is_eos), (pipeline_bus_handler),
27362         (gst_pipeline_change_state):
27363         * tools/gst-launch.c: (check_intr), (event_loop), (main):
27364         Allow elements to post EOS in the state change function.
27365         Fix up -launch, make it exit the poll loop when the
27366         pipeline actually changed state.
27367         Fix up warning parsing in -launch.
27368
27369 2005-06-25  Wim Taymans  <wim@fluendo.com>
27370
27371         * gst/elements/gsttee.c: (gst_tee_chain), (gst_tee_loop),
27372         (gst_tee_sink_activate):
27373         Core takes STREAM_LOCK for us now.
27374
27375 2005-06-25  Wim Taymans  <wim@fluendo.com>
27376
27377         * gst/gstelement.c: (gst_element_get_state_func),
27378         (gst_element_set_state):
27379         * gst/gstelement.h:
27380         * gst/gstmessage.c: (gst_message_parse_error),
27381         (gst_message_parse_warning):
27382         Keep track of current target state while performing a state
27383         change so that subclasses can do something interesting.
27384         Fix parsing of warning/error messages when GError is NULL.
27385
27386 2005-06-24  Thomas Vander Stichele  <thomas at apestaart dot org>
27387
27388         * docs/gst/Makefile.am:
27389         * docs/gst/gstreamer-docs.sgml:
27390         * docs/gst/gstreamer-sections.txt:
27391         * docs/gst/gstreamer.types:
27392         * docs/gst/tmpl/gstbasesink.sgml:
27393         * docs/gst/tmpl/gstbasesrc.sgml:
27394         * docs/gst/tmpl/gstbin.sgml:
27395         * docs/gst/tmpl/gstcompat.sgml:
27396         * docs/gst/tmpl/gstfakesink.sgml:
27397         * docs/gst/tmpl/gstfakesrc.sgml:
27398         * docs/gst/tmpl/gstfilesink.sgml:
27399         * docs/gst/tmpl/gstfilesrc.sgml:
27400         * docs/gst/tmpl/gstindex.sgml:
27401         * docs/manual/appendix-quotes.xml:
27402         * gst/base/gstbasesrc.h:
27403         * gst/elements/gstfakesrc.h:
27404         * gst/gstmessage.h:
27405           start pulling in base classes and elements in our docs
27406
27407 2005-06-24  Stefan Kost  <ensonic@users.sf.net>
27408
27409         * docs/gst/Makefile.am:
27410         * docs/libs/Makefile.am:
27411           fixed make distcheck with gtk-doc 1.3
27412
27413 2005-06-23  Wim Taymans  <wim@fluendo.com>
27414
27415         * gst/gstelement.c: (gst_element_get_state_func),
27416         (gst_element_set_state), (gst_element_change_state):
27417         When the state did not change, also report NO_PREROLL
27418         when it matters.
27419
27420 2005-06-23  Wim Taymans  <wim@fluendo.com>
27421
27422         * gst/gstpad.c: (gst_pad_event_default):
27423         * gst/gstqueue.c: (gst_queue_loop):
27424         No unsafe task pausing please.
27425
27426 2005-06-23  Wim Taymans  <wim@fluendo.com>
27427
27428         * gst/schedulers/threadscheduler.c:
27429         (gst_thread_scheduler_task_start),
27430         (gst_thread_scheduler_task_pause), (gst_thread_scheduler_func):
27431         Ref the task before pushing it on the threadpool. This
27432         makes sure that we have a ref when the threadfunction is
27433         actually called.
27434
27435 2005-06-23  Andy Wingo  <wingo@pobox.com>
27436
27437         * gst/base/gstbasesrc.c (gst_basesrc_get_range): Check if the
27438         offset is greater than the file's size.
27439
27440         * gst/gstobject.h (GST_CLASS_LOCK, GST_CLASS_TRYLOCK) 
27441         (GST_CLASS_UNLOCK, GST_CLASS_GET_LOCK, GstObjectClass)
27442         * gst/gstobject.c (gst_object_class_init): Make the class lock
27443         recursive. Wim won't let me drop deep_notify. Decodebin works
27444         again, whoopdy doo.
27445
27446         * gst/gstghostpad.c (on_int_notify): Catches notify::caps on the
27447         internal pad, and hacks accordingly. Doesn't do it on the target
27448         pad because we change its caps. Probably catches all cases of
27449         interest tho.
27450         (gst_ghost_pad_set_property): Connect to notify::caps as
27451         appropritate.
27452
27453         * tests/network-clock.scm (plot-simulation): Pipe data to the
27454         elite python skript.
27455
27456         * tests/network-clock-utils.scm (define-parameter): New macro,
27457         defines a parameter that can be set via the command line.
27458         (set-parameter!, parse-parameter-arguments): Command line args
27459         parser.
27460
27461         * tests/plot-data: Simple matplotlib-based plotter, takes input on
27462         stdin.
27463
27464 2005-06-23  Jan Schmidt  <thaytan@mad.scientist.com>
27465
27466         * gst/elements/gsttypefindelement.c:
27467         (gst_type_find_element_handle_event):
27468           Don't restart typefinding on a discont.
27469         * gst/gstelement.c: (gst_element_set_state):
27470           Debug spelling fix.
27471         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_send_event):
27472           Allow changing mode of an active pad.
27473           Debug output fixes.
27474         * gst/registries/gstlibxmlregistry.c: (load_feature):
27475           Don't cast a static pad template to a normal pad template.
27476
27477 2005-06-23  Thomas Vander Stichele  <thomas at apestaart dot org>
27478
27479         * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
27480         * gst/gstvalue.c: (gst_value_deserialize_int_helper):
27481           remove gst_strtoll completely, since it didn't actually do
27482           anything more than what g_ascii_strtoull already does.
27483           check for range errors when deserializing
27484           do a cast for the unsigned cases; but further fixing needs
27485           a decision on what the interpretation of "(int)" and
27486           deserialization should be for values that fall outside the
27487           type's boundaries (ie, refuse, or interpret as casting)
27488
27489 2005-06-23  Wim Taymans  <wim@fluendo.com>
27490
27491         * check/Makefile.am:
27492         * check/states/sinks.c: (START_TEST), (gst_object_suite), (main):
27493         * docs/design/part-live-source.txt:
27494         * docs/design/part-states.txt:
27495         * gst/base/gstbasesrc.c: (gst_basesrc_init),
27496         (gst_basesrc_set_live), (gst_basesrc_is_live),
27497         (gst_basesrc_get_range), (gst_basesrc_activate),
27498         (gst_basesrc_change_state):
27499         * gst/base/gstbasesrc.h:
27500         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
27501         (gst_fakesrc_set_property), (gst_fakesrc_get_property):
27502         * gst/gstbin.c: (gst_bin_get_state), (gst_bin_change_state):
27503         * gst/gstelement.c: (gst_element_get_state_func),
27504         (gst_element_set_state):
27505         * gst/gstelement.h:
27506         * gst/gsttypes.h:
27507         * tools/gst-launch.c: (event_loop), (main):
27508         Added support for live sources and other elements that
27509         cannot do preroll.
27510         Updated design docs, added live-source design doc.
27511         Implemented live source functionality in basesrc
27512         Fix error condition in _bin_get_state()
27513         Implement live source handling in -launch.
27514         Added check for live sources.
27515         Fixed case in GstBin where elements were changed state
27516         multiple times.
27517
27518
27519 2005-06-23  Andy Wingo  <wingo@pobox.com>
27520
27521         * check/gst/gstpad.c (test_get_allowed_caps, test_refcount): Fix
27522         borken refcounting.
27523
27524         * gst/gstpad.c (gst_pad_set_caps): Remove needless refs,
27525         gst_caps_replace takes care of this for us.
27526
27527         * gst/gstghostpad.c (gst_proxy_pad_do_setcaps): Call the full
27528         gst_pad_set_caps on the target, not just its setcaps() function.
27529
27530         * tests/network-clock.scm: 
27531         * tests/network-clock-utils.scm: A network clock simulator.
27532         Something of an algorithmic testbed before doing something in C.
27533
27534 2005-06-22  Thomas Vander Stichele  <thomas at apestaart dot org>
27535
27536         * check/Makefile.am:
27537         * check/gst/capslist.h:
27538           copy over from 0.8, and add two with bitmasks specified with
27539           (int) 0xFF...
27540         * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
27541           add test to parse everything from capslist.h
27542         * check/gst/gststructure.c: (START_TEST), (gst_value_suite),
27543         (main):
27544           add test for structure deserialization
27545         * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
27546           add tests for deserialization of strings to int types
27547         * gst/gststructure.c: (gst_structure_nth_field_name):
27548         * gst/gststructure.h:
27549           add a way to get the name of a field referenced by index
27550         * gst/gstvalue.c: (gst_value_deserialize_int_helper):
27551           instead of checking if the resulting long long lies between
27552           min and max, we check if the long long would fit into
27553           a number of bytes for the final type.
27554           This fixes cases where a string represents 2^32 - 1, which
27555           when cast to int would be the (valid) -1, but is bigger than
27556           G_MAXINT
27557
27558 2005-06-22  Thomas Vander Stichele  <thomas at apestaart dot org>
27559
27560         * gst/parse/grammar.y:
27561           add a log line for type deserialization
27562
27563 2005-06-22  Thomas Vander Stichele  <thomas at apestaart dot org>
27564
27565         * check/gst/gstvalue.c: (START_TEST):
27566         * gst/gstvalue.c: (gst_value_deserialize):
27567           return long long, not int, so gint64 deserialization actually
27568           works.  Is there any flag that makes the compiler check this ?
27569           Fixes #308559
27570
27571 2005-06-22  Wim Taymans  <wim@fluendo.com>
27572
27573         * gst/gstbuffer.h:
27574         Added convenience macros for setting buffers in GValue.
27575
27576 2005-06-21  Thomas Vander Stichele  <thomas at apestaart dot org>
27577
27578         * check/gst/.cvsignore:
27579         * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
27580           add a test deserializing int64, and comment part out because
27581           it fails, yay !
27582
27583 2005-06-21  Thomas Vander Stichele  <thomas at apestaart dot org>
27584
27585         * check/Makefile.am:
27586         * check/gst/gstvalue.c: (START_TEST), (gst_value_suite), (main):
27587         * testsuite/Makefile.am:
27588         * testsuite/caps/Makefile.am:
27589         * testsuite/caps/value_serialize.c:
27590         * testsuite/test_gst_init.c:
27591           move a value_serialize test over
27592
27593 2005-06-20  Wim Taymans  <wim@fluendo.com>
27594
27595         * gst/gstpad.c:
27596         Small doc updates.
27597         
27598         * gst/gstvalue.c: (gst_value_compare_buffer),
27599         (gst_value_serialize_buffer), (gst_value_deserialize_buffer),
27600         (gst_value_compare_flags), (gst_value_serialize_flags),
27601         (gst_value_deserialize_flags), (_gst_value_initialize):
27602         Fix serialisation of buffers, they are not boxed types anymore
27603
27604 2005-06-20  Wim Taymans  <wim@fluendo.com>
27605
27606         * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
27607         Testcase to show error in buffer-on-caps serialisation.
27608
27609 2005-06-20  Andy Wingo  <wingo@pobox.com>
27610
27611         * docs/random/wingo/porting-plugins-to-0.9: A pitiful document I
27612         will be adding to later.
27613
27614         * gst/gstsystemclock.c (gst_system_clock_init): Unlock the clock
27615         if its socks fill with rocks.
27616         (gst_system_clock_obtain): Set the name on object construction.
27617         Avoid double-checked locking.
27618
27619 2005-06-20  Tim-Philipp Müller  <tim at centricular dot net>
27620
27621         * gst/gsturi.c: (gst_element_make_from_uri):
27622           Fix potential endless loop.
27623
27624 2005-06-19  Thomas Vander Stichele  <thomas at apestaart dot org>
27625
27626         * check/Makefile.am:
27627           add gsttag
27628         * check/gst/gsttag.c: (check_tags), (START_TEST), (gst_tag_suite),
27629         (main):
27630           move over from testsuite dir and clean up
27631         * configure.ac:
27632         * gst/gsttag.c:
27633         * testsuite/Makefile.am:
27634         * testsuite/tags/.cvsignore:
27635         * testsuite/tags/Makefile.am:
27636         * testsuite/tags/merge.c:
27637           remove testsuite/tags
27638
27639 2005-06-19  Thomas Vander Stichele  <thomas at apestaart dot org>
27640
27641         * docs/gst/gstreamer-sections.txt:
27642         * docs/gst/tmpl/gstenumtypes.sgml:
27643         * win32/gstenumtypes.c:
27644           clean up documentation build a little
27645
27646 2005-06-19  Thomas Vander Stichele  <thomas at apestaart dot org>
27647
27648         * check/gstcheck.h:
27649           add macros for checking refcounts on objects and caps
27650         * check/gst/gstpad.c: (START_TEST), (gst_pad_suite):
27651           add some more unit tests
27652         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
27653         (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_allowed_caps):
27654           fix leaked refcounts (I hope :)) so unittest works
27655         * gst/gstpad.h:
27656           whitespace removal
27657
27658 2005-06-19  Thomas Vander Stichele  <thomas at apestaart dot org>
27659
27660         * configure.ac: back to HEAD
27661
27662 === release 0.9.1 ===
27663
27664 2005-06-17  Thomas Vander Stichele  <thomas at apestaart dot org>
27665
27666         * NEWS:
27667         * RELEASE:
27668           updated
27669
27670 2005-06-17  Andy Wingo  <wingo@pobox.com>
27671
27672         * gst/base/gstbasesink.c (gst_basesink_chain): Remove bogus
27673         assert; it's always possible that the pad gets deactivated in
27674         between the checks in gstpad.c and the implementation. Rely on
27675         finish_preroll() to return a FLUSHING or similar instead of on the
27676         assert.
27677         
27678         * gst/base/gstbasesink.c (gst_basesink_event): Only wait for the
27679         clock and post an EOS message if we come out of finish_preroll in
27680         the playing state.
27681
27682 2005-06-16  David Schleef  <ds@schleef.org>
27683
27684         * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
27685         (gst_capsfilter_set_property): Allow NULL as possible value
27686         for filter_caps property, indicating GST_CAPS_ANY.
27687
27688 2005-06-09  Thomas Vander Stichele  <thomas at apestaart dot org>
27689
27690         * gst/elements/gstfakesrc.c: (gst_fakesrc_create):
27691           fix debug output
27692         * gst/schedulers/Makefile.am:
27693           use libgst prefix
27694         * gstreamer.spec.in:
27695           fix spec for it
27696
27697 2005-06-09  Thomas Vander Stichele  <thomas at apestaart dot org>
27698
27699         * gstreamer.spec.in:
27700           clean up
27701
27702 2005-06-08  Andy Wingo  <wingo@pobox.com>
27703
27704         * gst/gstutils.c: RPAD fixes all around.
27705         (gst_element_link_pads): Refcounting fixes.
27706
27707         * tools/gst-inspect.c:
27708         * tools/gst-xmlinspect.c:
27709         * parse/grammar.y:
27710         * gst/base/gsttypefindhelper.c:
27711         * gst/base/gstbasesink.c:
27712         * gst/gstqueue.c: RPAD fixes.
27713
27714         * gst/gstghostpad.h:
27715         * gst/gstghostpad.c: New ghost pad implementation as full proxy
27716         pads. The tricky thing is they provide both source and sink
27717         interfaces, since they proxy the internal pad for the external
27718         pad, and vice versa. Implement with lower-level ProxyPad objects,
27719         with the interior proxy pad as a child of the exterior ghost pad.
27720         Should write a doc on this.
27721         
27722         * gst/gstpad.h: s/RPAD/PAD/, s/RealPad/Pad/.
27723         (gst_pad_set_name, gst_pad_set_parent): Macros removed, use
27724         gst_object API.
27725         
27726         * gst/gstpad.c: Big changes. No more stub base GstPad, now all
27727         pads are real pads. No ghost pads in this file. Not documenting
27728         the myriad s/RPAD/PAD/ and REALIZE fixes.
27729         (gst_pad_class_init): Add properties for "direction" and
27730         "template". Both are construct-only, so they can't change during
27731         the life of the pad. Fixes properly deriving from GstPad.
27732         (gst_pad_custom_new, gst_pad_custom_new_from_template): Gone. For
27733         derived objects, just set properties when creating the objects via
27734         g_object_new.
27735         (gst_pad_get_parent): Implement as a function, return NULL if the
27736         parent is not an element.
27737         (gst_pad_get_real_parent, gst_pad_add_ghost_pad)
27738         (gst_pad_remove_ghost_pad, gst_pad_realize): Removed.
27739         
27740         * gst/gstobject.c (gst_object_class_init): Make name a construct
27741         property. Don't set it in the object init.
27742
27743         * gst/gstelement.c (gst_element_add_pad): Don't allow adding pads
27744         with UNKNOWN direction.
27745         (gst_element_add_ghost_pad): Remove non-orthogonal API. Replace
27746         with gst_element_add_pad (e, gst_ghost_pad_new (name, pad)).
27747         (gst_element_remove_pad): Remove ghost-pad special cases.
27748         (gst_element_pads_activate): Remove rpad cruft.
27749
27750         * gst/gstbin.c (gst_bin_change_state): Use gst_pad_get_parent to
27751         catch the pad's-parent-not-an-element case.
27752
27753         * gst/gst.h: Include gstghostpad.h.
27754
27755         * gst/gst.c (init_post): No more real, ghost pads.
27756
27757         * gst/Makefile.am: Add gstghostpad.[ch].
27758
27759         * check/Makefile.am:
27760         * check/gst/gstbin.c:
27761         * check/gst/gstghostpad.c (test_ghost_pads): Check that linking
27762         into a bin creates ghost pads, and that the refcounts are right.
27763         Partly moved from gstbin.c.
27764
27765 2005-06-08  Thomas Vander Stichele  <thomas at apestaart dot org>
27766
27767         * check/gst-libs/.cvsignore:
27768         * check/gst/.cvsignore:
27769         * check/pipelines/.cvsignore:
27770           ignore more
27771         * check/pipelines/cleanup.c: (setup_pipeline), (run_pipeline),
27772         (START_TEST), (cleanup_suite), (main):
27773           add some tests related to cleanup after running pipelines
27774
27775 2005-06-08  Thomas Vander Stichele  <thomas at apestaart dot org>
27776
27777         * check/gst/gstbuffer.c: (START_TEST), (gst_test_suite), (main):
27778           add a testsuite for GstBuffer
27779
27780 2005-06-08  Thomas Vander Stichele  <thomas at apestaart dot org>
27781
27782         * gst/gstminiobject.h:
27783           add defines for accessing the refcount
27784
27785 2005-06-03  Stefan Kost  <ensonic@users.sf.net>
27786
27787         * Makefile.am: added support for html unit test coverage reports
27788
27789 2005-06-03  Jan Schmidt  <thaytan@mad.scientist.com>
27790
27791         * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
27792           Free existing caps if the capsfilter changes. Add a FIXME about
27793           setting those caps on the pads.
27794
27795         * gst/gstutils.c: (gst_element_get_compatible_pad), (ghost_up):
27796           Before adding a ghost pad to a parent bin, check that there isn't
27797           already one for the element on the bin. Prevents infinite recursion
27798           when using decodebin in parse pipelines. Andy says he'll rewrite the
27799           way this works anyway, so ignore the hack.
27800
27801 2005-06-02  Andy Wingo  <wingo@pobox.com>
27802
27803         * gst/elements/gsttypefindelement.c (do_pull_typefind): Query the
27804         file size, pass it on to the type find helper.
27805
27806         * gst/base/gstbasesrc.c (gst_basesrc_do_seek): Set the
27807         segment_start and segment_end properly according to the seek
27808         method. Segment_end is still a bit flaky because offset can be
27809         negative for CUR and END cases, but it takes -1 as an "unset"
27810         value.
27811
27812 2005-06-02  Wim Taymans  <wim@fluendo.com>
27813
27814         * gst/base/gstbasesink.c: (gst_basesink_pad_buffer_alloc),
27815         (gst_base_sink_buffer_alloc), (gst_basesink_preroll_queue_push),
27816         (gst_basesink_activate):
27817         * gst/base/gstbasesink.h:
27818         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
27819         (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
27820         (gst_pad_query), (gst_pad_start_task):
27821         * gst/gstpad.h:
27822         * gst/gstqueue.c: (gst_queue_bufferalloc),
27823         (gst_queue_handle_sink_event), (gst_queue_chain):
27824         Bufferalloc: return GstFlowReturn to more accuratly report
27825         why allocation failed.
27826
27827 2005-06-02  Wim Taymans  <wim@fluendo.com>
27828
27829         * gst/gstpipeline.c: (gst_pipeline_send_event):
27830         Take snapshot of state without blocking.
27831
27832 2005-06-02  Wim Taymans  <wim@fluendo.com>
27833
27834         * docs/design/part-TODO.txt:
27835         * docs/design/part-caps.txt:
27836         * docs/design/part-clocks.txt:
27837         * docs/design/part-negotiation.txt:
27838         * docs/design/part-preroll.txt:
27839         Small doc updates 
27840
27841 2005-05-30  Wim Taymans  <wim@fluendo.com>
27842
27843         * gst/elements/gstidentity.c: (gst_identity_event),
27844         (gst_identity_transform), (gst_identity_get_property):
27845         Protect last_message property as it is accessed from
27846         multiple threads.
27847
27848 2005-05-30  Wim Taymans  <wim@fluendo.com>
27849
27850         * gst/gstelement.c: (gst_element_init),
27851         (gst_element_pads_activate), (gst_element_change_state):
27852         Slicker pad activation code.
27853
27854 2005-05-30  Wim Taymans  <wim@fluendo.com>
27855
27856         * gst/Makefile.am:
27857         * gst/gstelement.h:
27858         * gst/gstelementfactory.h:
27859         * gst/gsttypes.h:
27860         Move elementfactory methods to separate .h file.
27861
27862 2005-05-30  Wim Taymans  <wim@fluendo.com>
27863
27864         * docs/design/part-overview.txt:
27865         * gst/gstsystemclock.h:
27866         Small typo fixes, doc updates.
27867
27868 2005-05-30  Wim Taymans  <wim@fluendo.com>
27869
27870         * gst/gst.c: (gst_init_get_popt_table), (init_post),
27871         (init_popt_callback):
27872         Remove cpu-opt flag.
27873
27874 2005-05-30  Wim Taymans  <wim@fluendo.com>
27875
27876         * gst/gstbuffer.c: (gst_subbuffer_finalize),
27877         (gst_buffer_create_sub), (gst_buffer_is_span_fast):
27878         * gst/gstbuffer.h:
27879         Avoid typechecking in places where not needed.
27880         Added accessor for malloc_data.
27881
27882 2005-05-30  Wim Taymans  <wim@fluendo.com>
27883
27884         * gst/gstpad.c: (gst_real_pad_init), (gst_pad_set_active),
27885         (gst_pad_link_prepare), (gst_pad_link), (gst_pad_accept_caps),
27886         (gst_pad_configure_sink), (gst_pad_configure_src),
27887         (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_send_event),
27888         (gst_pad_start_task):
27889         Propagate errors from _set_caps() in configure_src/sink
27890         functions instead of returning TRUE.
27891         FLUSH events can travel up and downstream
27892
27893
27894 2005-05-30  Wim Taymans  <wim@fluendo.com>
27895
27896         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
27897         (gst_basesink_activate):
27898         Handle EOS in preroll.
27899
27900 2005-05-30  Wim Taymans  <wim@fluendo.com>
27901
27902         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
27903         (gst_queue_loop), (gst_queue_handle_src_event):
27904         Remove old pieces of code
27905         Flushing the queue in an upstream event is a very bad idea.
27906
27907 2005-05-26  Andy Wingo  <wingo@pobox.com>
27908
27909         * gst/gstminiobject.c (gst_value_mini_object_collect): Use
27910         gst_value_set_mini_object so as to add a ref on the object (which
27911         will be removed when the value is unset).
27912
27913         * gst/elements/gstfakesink.c (gst_fakesink_class_init): Fix signal
27914         arg type in ::handoff.
27915
27916         * gst/gstelement.c (gst_element_change_state): Also deactivate
27917         pads in READY->NULL, just in case the element didn't make it to
27918         PAUSED. Wingo tested, Wim approved.
27919
27920 2005-05-26  Wim Taymans  <wim@fluendo.com>
27921
27922         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
27923         (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
27924         (gst_pad_query), (gst_pad_send_event), (gst_pad_start_task):
27925         A flushing pad cannot be used to alloc_buffer from.
27926
27927 2005-05-26  Wim Taymans  <wim@fluendo.com>
27928
27929         * gst/gstbus.c: (gst_bus_init), (gst_bus_dispose), (gst_bus_post),
27930         (gst_bus_pop), (gst_bus_source_prepare), (gst_bus_source_check),
27931         (gst_bus_source_dispatch), (gst_bus_source_finalize),
27932         (gst_bus_create_watch), (gst_bus_add_watch_full):
27933         * gst/gstbus.h:
27934         Implement a real GSource and use g_main_context_wakeup() to
27935         signal new messages instead of the socketpair.
27936
27937 2005-05-25  Wim Taymans  <wim@fluendo.com>
27938
27939         * gst/gstbin.c: (bin_element_is_sink), (has_ancestor),
27940         (bin_element_is_semi_sink), (append_child), (gst_bin_change_state):
27941         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
27942         (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
27943         (gst_pad_send_event), (gst_pad_start_task):
27944         * gst/gstqueue.c: (gst_queue_init), (gst_queue_locked_flush),
27945         (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
27946         (gst_queue_sink_activate), (gst_queue_src_activate),
27947         (gst_queue_change_state):
27948         * gst/gstqueue.h:
27949         Fix state changes for non sinks. We now change sinks, then elements
27950         with unconnected srcpads, then the rest.
27951         More efficient queue unlocking in flush and state changes.
27952         Set the pad activate mode even if it does not have an activate
27953         function.
27954
27955 2005-05-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
27956
27957         * gst/base/gstbasesrc.c: (gst_basesrc_activate):
27958           Don't go in pull mode for non-seekable sources.
27959         * gst/elements/gsttypefindelement.h:
27960         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
27961         (gst_type_find_element_dispose), (gst_type_find_handle_src_query),
27962         (free_entry), (stop_typefinding),
27963         (gst_type_find_element_handle_event), (find_peek),
27964         (gst_type_find_element_chain), (do_pull_typefind),
27965         (gst_type_find_element_change_state):
27966           Allow typefinding (w/o seeking) in push-mode, simplified version
27967           of what was in 0.8.
27968         * gst/gstutils.c: (gst_buffer_join):
27969         * gst/gstutils.h:
27970           gst_buffer_join() from 0.8.
27971
27972 2005-05-25  Wim Taymans  <wim@fluendo.com>
27973
27974         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
27975         (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
27976         (gst_pad_send_event), (gst_pad_start_task):
27977         Disable attempt at mode switching until it is figured out.
27978
27979 2005-05-25  Wim Taymans  <wim@fluendo.com>
27980
27981         * gst/base/gstadapter.c: (gst_adapter_peek), (gst_adapter_flush):
27982         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
27983         (gst_basesink_finish_preroll), (gst_basesink_chain),
27984         (gst_basesink_loop), (gst_basesink_activate),
27985         (gst_basesink_change_state):
27986         * gst/base/gstbasesrc.c: (gst_basesrc_do_seek),
27987         (gst_basesrc_get_range), (gst_basesrc_loop),
27988         (gst_basesrc_activate):
27989         * gst/elements/gsttee.c: (gst_tee_sink_activate):
27990         * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
27991         (gst_real_pad_init), (gst_real_pad_set_property),
27992         (gst_real_pad_get_property), (gst_pad_set_active),
27993         (gst_pad_is_active), (gst_pad_get_query_types), (gst_pad_unlink),
27994         (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_real_parent),
27995         (gst_real_pad_get_caps_unlocked), (gst_pad_peer_get_caps),
27996         (gst_pad_accept_caps), (gst_pad_get_peer), (gst_pad_realize),
27997         (gst_pad_event_default_dispatch), (gst_pad_event_default),
27998         (gst_pad_dispatcher), (gst_pad_query), (gst_real_pad_dispose),
27999         (gst_pad_save_thyself), (handle_pad_block), (gst_pad_chain),
28000         (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
28001         (gst_pad_send_event), (gst_pad_start_task), (gst_pad_pause_task),
28002         (gst_pad_stop_task):
28003         * gst/gstpad.h:
28004         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
28005         (gst_queue_loop), (gst_queue_src_activate):
28006         * gst/gsttask.c: (gst_task_init), (gst_task_set_lock),
28007         (gst_task_get_state):
28008         * gst/gsttask.h:
28009         * gst/schedulers/threadscheduler.c:
28010         (gst_thread_scheduler_task_start), (gst_thread_scheduler_func):
28011         Implement gst_pad_pause/start/stop_task(), take STREAM lock
28012         in task function.
28013         Remove ACTIVE pad flag, use FLUSHING everywhere
28014         Added _pad_chain(), _pad_get_range() to call chain/getrange 
28015         functions.
28016         Add locks around IS_FLUSHING when reading.
28017         Take STREAM lock in chain(), get_range() functions so plugins
28018         don't need to take it anymore.
28019         
28020
28021
28022 2005-05-25  Wim Taymans  <wim@fluendo.com>
28023
28024         * tools/gst-launch.c: (event_loop):
28025         Unref message after using its contents instead of
28026         before.
28027
28028 2005-05-24  Wim Taymans  <wim@fluendo.com>
28029
28030         * docs/design/draft-ghostpads.txt:
28031         * docs/design/draft-push-pull.txt:
28032         * docs/design/draft-query.txt:
28033         * docs/design/part-overview.txt:
28034         Docs updates, added general overview doc.
28035
28036 2005-05-21  David Schleef  <ds@schleef.org>
28037
28038         * docs/gst/tmpl/old/GstBin.sgml:
28039         * docs/gst/tmpl/old/GstBuffer.sgml:
28040         * docs/gst/tmpl/old/GstCaps.sgml:
28041         * docs/gst/tmpl/old/GstClock.sgml:
28042         * docs/gst/tmpl/old/GstCompat.sgml:
28043         * docs/gst/tmpl/old/GstData.sgml:
28044         * docs/gst/tmpl/old/GstElement.sgml:
28045         * docs/gst/tmpl/old/GstEvent.sgml:
28046         * docs/gst/tmpl/old/GstIndex.sgml:
28047         * docs/gst/tmpl/old/GstStructure.sgml:
28048         * docs/gst/tmpl/old/GstTag.sgml:
28049         * docs/gst/tmpl/old/cothreads.sgml:
28050         * docs/gst/tmpl/old/cothreads_compat.sgml:
28051         * docs/gst/tmpl/old/gettext.sgml:
28052         * docs/gst/tmpl/old/gobject2gtk.sgml:
28053         * docs/gst/tmpl/old/grammar.tab.sgml:
28054         * docs/gst/tmpl/old/gst-i18n-app.sgml:
28055         * docs/gst/tmpl/old/gst-i18n-lib.sgml:
28056         * docs/gst/tmpl/old/gst_private.sgml:
28057         * docs/gst/tmpl/old/gstaggregator.sgml:
28058         * docs/gst/tmpl/old/gstarch.sgml:
28059         * docs/gst/tmpl/old/gstatomic_impl.sgml:
28060         * docs/gst/tmpl/old/gstbufferstore.sgml:
28061         * docs/gst/tmpl/old/gstdata_private.sgml:
28062         * docs/gst/tmpl/old/gstdisksink.sgml:
28063         * docs/gst/tmpl/old/gstdisksrc.sgml:
28064         * docs/gst/tmpl/old/gstelementfactory.sgml:
28065         * docs/gst/tmpl/old/gstextratypes.sgml:
28066         * docs/gst/tmpl/old/gstfakesink.sgml:
28067         * docs/gst/tmpl/old/gstfakesrc.sgml:
28068         * docs/gst/tmpl/old/gstfdsink.sgml:
28069         * docs/gst/tmpl/old/gstfdsrc.sgml:
28070         * docs/gst/tmpl/old/gstfilesink.sgml:
28071         * docs/gst/tmpl/old/gstfilesrc.sgml:
28072         * docs/gst/tmpl/old/gsthttpsrc.sgml:
28073         * docs/gst/tmpl/old/gstidentity.sgml:
28074         * docs/gst/tmpl/old/gstindexfactory.sgml:
28075         * docs/gst/tmpl/old/gstmarshal.sgml:
28076         * docs/gst/tmpl/old/gstmd5sink.sgml:
28077         * docs/gst/tmpl/old/gstmultidisksrc.sgml:
28078         * docs/gst/tmpl/old/gstmultifilesrc.sgml:
28079         * docs/gst/tmpl/old/gstpadtemplate.sgml:
28080         * docs/gst/tmpl/old/gstpipefilter.sgml:
28081         * docs/gst/tmpl/old/gstschedulerfactory.sgml:
28082         * docs/gst/tmpl/old/gstsearchfuncs.sgml:
28083         * docs/gst/tmpl/old/gstshaper.sgml:
28084         * docs/gst/tmpl/old/gstspider.sgml:
28085         * docs/gst/tmpl/old/gstspideridentity.sgml:
28086         * docs/gst/tmpl/old/gststatistics.sgml:
28087         * docs/gst/tmpl/old/gsttee.sgml:
28088         * docs/gst/tmpl/old/gsttimecache.sgml:
28089         * docs/gst/tmpl/old/gsttypefindfactory.sgml:
28090         * docs/gst/tmpl/old/gstxmlregistry.sgml:
28091         * docs/gst/tmpl/old/gthread-cothreads.sgml:
28092         * docs/gst/tmpl/old/types.sgml:
28093           I didn't intend to add these or check them in.
28094
28095 2005-05-19  David Schleef  <ds@schleef.org>
28096
28097         * configure.ac: Use -no-common everywhere.  In a sane world, it
28098           would be the default in libtool, because without it, you can't
28099           build DLLs on Windows.
28100         * docs/gst/gstreamer-docs.sgml: Remove GstCpu, GstData, GstThread
28101         * docs/gst/gstreamer-sections.txt:
28102         * docs/gst/tmpl/gstcpu.sgml:
28103         * docs/gst/tmpl/gstdata.sgml:
28104         * docs/gst/tmpl/gstthread.sgml:
28105
28106 2005-05-19  David Schleef  <ds@schleef.org>
28107
28108         * gst/gstminiobject.c: (gst_value_set_mini_object),
28109         (gst_value_take_mini_object), (gst_value_get_mini_object):
28110         * gst/gstminiobject.h: Add GValue set/get functions.
28111
28112 2005-05-19  Wim Taymans  <wim@fluendo.com>
28113
28114         * gst/gstbuffer.c: (gst_buffer_init), (gst_subbuffer_get_type),
28115         (gst_subbuffer_class_init), (gst_subbuffer_finalize),
28116         (gst_subbuffer_init), (gst_buffer_is_span_fast):
28117         * gst/gstbuffer.h:
28118         * gst/gstbus.c: (gst_bus_post):
28119         * gst/gstelement.c: (gst_element_get_random_pad):
28120         * gst/gstmessage.c: (gst_message_init), (gst_message_finalize):
28121         Make subbufer unref the parent in finalize.
28122         some more debugging info.
28123
28124
28125 2005-05-19  Wim Taymans  <wim@fluendo.com>
28126
28127         * gst/base/gstbasesink.c: (gst_basesink_class_init),
28128         (gst_basesink_init), (gst_basesink_finalize),
28129         (gst_basesink_activate), (gst_basesink_change_state):
28130         Don't free preroll queue too early.
28131
28132 2005-05-19  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
28133
28134         * gst/Makefile.am:
28135         * gst/ROADMAP:
28136           Hi, I'm outdated. Please shoot me.
28137
28138 2005-05-19  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
28139
28140         * gst/gstpipeline.c: (gst_pipeline_send_event):
28141           Do not access variables after they have been deleted.
28142
28143 2005-05-19  Wim Taymans  <wim@fluendo.com>
28144
28145         * tools/gst-inspect.c: (print_plugin_features):
28146         A plugin feature does unfortunatly not use the
28147         object name yet...
28148
28149 2005-05-18  Wim Taymans  <wim@fluendo.com>
28150
28151         * gst/gstbuffer.c: (gst_buffer_is_span_fast), (gst_buffer_span):
28152         Port _span() functions to new subbuffers.
28153
28154 2005-05-18  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
28155
28156         * gst/gstbin.c: (gst_bin_add_func):
28157           Fix clock settery in bins when adding kids after the clock has
28158           been selected.
28159
28160 2005-05-18  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
28161
28162         * gst/elements/gstidentity.c: (gst_identity_class_init):
28163           Workaround until signals support GstMiniObject.
28164
28165 2005-05-18  Jan Schmidt  <thaytan@mad.scientist.com>
28166
28167         * gst/gstbuffer.c:
28168         Oops, fix a typo GST_TYPE_BUFFER -> GST_TYPE_SUBBUFFER.
28169
28170 2005-05-18  Wim Taymans  <wim@fluendo.com>
28171
28172         * gst/base/Makefile.am:
28173         * gst/base/gstadapter.c: (gst_adapter_base_init),
28174         (gst_adapter_class_init), (gst_adapter_init),
28175         (gst_adapter_dispose), (gst_adapter_finalize), (gst_adapter_new),
28176         (gst_adapter_clear), (gst_adapter_push), (gst_adapter_peek),
28177         (gst_adapter_flush), (gst_adapter_available),
28178         (gst_adapter_available_fast):
28179         * gst/base/gstadapter.h:
28180         Ported and added adapter to the base classes.
28181
28182 2005-05-17  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
28183
28184         * gst/gst.c:
28185         * gst/gstmessage.c:
28186           Make sure the class is reffed/unreffed once before threads can be
28187           used.  Fixes #304551.
28188
28189 2005-05-17  Wim Taymans  <wim@fluendo.com>
28190
28191         * gst/base/gstbasesink.c: (gst_basesink_finish_preroll),
28192         (gst_basesink_chain_unlocked), (gst_basesink_activate):
28193         * gst/gstminiobject.c: (gst_mini_object_get_type),
28194         (gst_mini_object_free):
28195         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query),
28196         (gst_pad_push), (gst_pad_push_event):
28197         * gst/gstqueue.c: (gst_queue_change_state):
28198         Don't queue buffers in basesink when we are flushing.
28199         Unref buffer when flushing in basesink.
28200         Flush queue when going to READY
28201         Unref buffer when _push() returns an error.
28202         Don't free MiniObject instance when refcount is incremented
28203         in _finalize() so that we can recover objects.
28204
28205 2005-05-17  Thomas Vander Stichele  <thomas at apestaart dot org>
28206
28207         * docs/manual/advanced-schedulers.xml:
28208         * docs/manual/appendix-checklist.xml:
28209         * docs/pwg/advanced-clock.xml:
28210         * docs/pwg/advanced-interfaces.xml:
28211         * docs/pwg/advanced-request.xml:
28212         * docs/pwg/advanced-types.xml:
28213         * docs/pwg/intro-preface.xml:
28214         * examples/plugins/example.c: (gst_example_get_type),
28215         (gst_example_class_init), (gst_example_chain),
28216         (gst_example_set_property), (gst_example_get_property),
28217         (gst_example_change_state), (plugin_init):
28218         * examples/plugins/example.h:
28219           small doc fixes
28220
28221 2005-05-17  Wim Taymans  <wim@fluendo.com>
28222
28223         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps),
28224         (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_push):
28225         * gst/gstqueue.c: (gst_queue_change_state):
28226         Clear queue when going to READY.
28227         Remove IN_SETCAPS flag too.
28228
28229 2005-05-17  Tim-Philipp Müller  <tim at centricular dot net>
28230
28231         * gst/base/gstbasesrc.c: (gst_basesrc_change_state):
28232           Remove implicit cast from gboolean to GstElementStateReturn;
28233           make sure we still return failure in paused => ready case if
28234           the parent class fails to change state and our own stop 
28235           vfunc succeeds.
28236
28237 2005-05-17  Wim Taymans  <wim@fluendo.com>
28238
28239         * tools/gst-launch.c: (event_loop):
28240         Message was unreffed too soon.
28241
28242 2005-05-16  Andy Wingo  <wingo@pobox.com>
28243
28244         * gst/gstbin.c (sink_iterator_filter): Err... um...
28245
28246         * check/gst/gstbin.c (test_ghost_pads): New test for the
28247         ghosting-if-elements-not-in-same-bin behavior.
28248
28249 2005-05-16  David Schleef  <ds@schleef.org>
28250
28251         * gst/gstminiobject.c: Use g_atomic_int_get() instead of
28252         accessing refcount directly.
28253
28254 2005-05-15  David Schleef  <ds@schleef.org>
28255
28256         * check/Makefile.am: remove GstData checks
28257         * check/gst-libs/gdp.c: (START_TEST): fix for API changes
28258         * gst/Makefile.am: add miniobject, remove data
28259         * gst/gst.h: add miniobject, remove data
28260         * gst/gstdata.c: remove
28261         * gst/gstdata.h: remove
28262         * gst/gstdata_private.h: remove
28263         * gst/gsttypes.h: remove GstEvent and GstMessage
28264         * gst/gstelement.c: (gst_element_post_message): fix for API changes
28265         * gst/gstmarshal.list: change BOXED -> OBJECT
28266
28267         Implement GstMiniObject.
28268         * gst/gstminiobject.c:
28269         * gst/gstminiobject.h:
28270
28271         Modify to be subclasses of GstMiniObject.
28272         * gst/gstbuffer.c: (_gst_buffer_initialize), (gst_buffer_get_type),
28273         (gst_buffer_class_init), (gst_buffer_finalize), (_gst_buffer_copy),
28274         (gst_buffer_init), (gst_buffer_new), (gst_buffer_new_and_alloc),
28275         (gst_subbuffer_get_type), (gst_subbuffer_init),
28276         (gst_buffer_create_sub), (gst_buffer_is_span_fast),
28277         (gst_buffer_span):
28278         * gst/gstbuffer.h:
28279         * gst/gstevent.c: (_gst_event_initialize), (gst_event_get_type),
28280         (gst_event_class_init), (gst_event_init), (gst_event_finalize),
28281         (_gst_event_copy), (gst_event_new):
28282         * gst/gstevent.h:
28283         * gst/gstmessage.c: (_gst_message_initialize),
28284         (gst_message_get_type), (gst_message_class_init),
28285         (gst_message_init), (gst_message_finalize), (_gst_message_copy),
28286         (gst_message_new), (gst_message_new_error),
28287         (gst_message_new_warning), (gst_message_new_tag),
28288         (gst_message_new_state_changed), (gst_message_new_application):
28289         * gst/gstmessage.h:
28290         * gst/gstprobe.c: (gst_probe_perform),
28291         (gst_probe_dispatcher_dispatch):
28292         * gst/gstprobe.h:
28293         * gst/gstquery.c: (_gst_query_initialize), (gst_query_get_type),
28294         (gst_query_class_init), (gst_query_finalize), (gst_query_init),
28295         (_gst_query_copy), (gst_query_new):
28296
28297         Update elements for GstData -> GstMiniObject changes
28298         * gst/gstquery.h:
28299         * gst/gstqueue.c: (gst_queue_finalize), (gst_queue_locked_flush),
28300         (gst_queue_chain), (gst_queue_loop):
28301         * gst/elements/gstbufferstore.c:
28302         (gst_buffer_store_add_buffer_func),
28303         (gst_buffer_store_cleared_func), (gst_buffer_store_get_buffer):
28304         * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
28305         (gst_fakesink_render):
28306         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
28307         * gst/elements/gstfilesrc.c: (gst_mmap_buffer_get_type),
28308         (gst_mmap_buffer_class_init), (gst_mmap_buffer_init),
28309         (gst_mmap_buffer_finalize), (gst_filesrc_map_region),
28310         (gst_filesrc_create_read):
28311         * gst/elements/gstidentity.c: (gst_identity_class_init):
28312         * gst/elements/gsttypefindelement.c:
28313         (gst_type_find_element_src_event), (free_entry_buffers),
28314         (gst_type_find_element_handle_event):
28315         * libs/gst/dataprotocol/dataprotocol.c:
28316         (gst_dp_header_from_buffer):
28317         * libs/gst/dataprotocol/dataprotocol.h:
28318         * libs/gst/dataprotocol/dp-private.h:
28319
28320 2005-05-15  David Schleef  <ds@schleef.org>
28321
28322         * gst/elements/gstelements.c: Don't include headers that were
28323         just removed.
28324
28325 2005-05-15  David Schleef  <ds@schleef.org>
28326
28327         * gst/elements/Makefile.am: Remove some elements that don't
28328         need to be in the core (or even exist at all).
28329         * gst/elements/gstaggregator.c:
28330         * gst/elements/gstaggregator.h:
28331         * gst/elements/gstmd5sink.c:
28332         * gst/elements/gstmd5sink.h:
28333         * gst/elements/gstmultifilesrc.c:
28334         * gst/elements/gstmultifilesrc.h:
28335         * gst/elements/gstpipefilter.c:
28336         * gst/elements/gstpipefilter.h:
28337         * gst/elements/gstshaper.c:
28338         * gst/elements/gstshaper.h:
28339         * gst/elements/gststatistics.c:
28340         * gst/elements/gststatistics.h:
28341         * po/POTFILES.in: Remove above files.
28342
28343 2005-05-14  Andy Wingo  <wingo@pobox.com>
28344
28345         * gst/gstbin.c (gst_bin_iterate_sinks): Use sink_iterator_filter
28346         so as to get the refs right.
28347         (sink_iterator_filter): New function, wraps bin_element_is_sink,
28348         unreffing objects that don't pass the filter.
28349
28350         * gst/gstpipeline.c (gst_pipeline_init): Drop ref on bus after
28351         gst_element_set_bus.
28352         (gst_pipeline_dispose): Set the bus on the pipeline to NULL. In
28353         normal cases, this will destroy the bus.
28354
28355         * gst/gstutils.c (prepare_link_maybe_ghosting): Drop ref on root
28356         object.
28357
28358         * gst/gstbin.c (gst_bin_change_state): Fix state changes if a bin
28359         has no sinks.
28360
28361 2005-05-13  Andy Wingo  <wingo@pobox.com>
28362
28363         * gst/gstutils.c (gst_element_link_pads): Instead of calling
28364         gst_pad_link, call pad_link_maybe_ghosting,
28365         (pad_link_maybe_ghosting): Links pads, making sure that the
28366         elements being linked are in the same bin.
28367         (find_common_root, object_has_ancestor, ghost_up, remove_pad):
28368         Helpers for pad_link_maybe_ghosting.
28369
28370 2005-05-13  Tim-Philipp Müller  <tim at centricular dot net>
28371
28372         * configure.ac:
28373           Require GLib >= 2.4.0 (for the g_atomic_* funcs)
28374
28375 2005-05-13  Tim-Philipp Müller  <tim at centricular dot net>
28376
28377         * docs/design/part-element-source.txt:
28378           Mention GstPushSrc
28379
28380 2005-05-12  Wim Taymans  <wim@fluendo.com>
28381
28382         * gst/base/gstbasesink.c: (gst_basesink_init),
28383         (gst_basesink_activate):
28384         * gst/base/gstbasesrc.c: (gst_basesrc_unlock),
28385         (gst_basesrc_is_seekable):
28386         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
28387         (bin_element_is_sink), (gst_bin_change_state):
28388         * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
28389         * gst/gstelement.h:
28390         Identify sinks by their flag to avoid overly complicated
28391         checks (fow now).
28392         Do state changes even for elements not reachable from the
28393         sinks.
28394         BaseSink is a sink now :)
28395         Some more debugging info in the basesrc.
28396
28397
28398 2005-05-12  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
28399
28400         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_query):
28401           Implement _query on a bin, similar to _send_event.
28402
28403 2005-05-12  Tim-Philipp Müller  <tim at centricular dot net>
28404
28405         * gst/base/gstbasesrc.c: (gst_basesrc_do_seek):
28406           Discont event offset format should be GST_FORMAT_BYTES,
28407           not GST_FORMAT_TIME.
28408
28409 2005-05-12  Wim Taymans  <wim@fluendo.com>
28410
28411         * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_get_state):
28412         Same fix as Ronald's but without the signal. 
28413
28414 2005-05-12  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
28415
28416         * gst/gstutils.c: (gst_element_query_position):
28417           No, an element is not a pad.
28418
28419 2005-05-12  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
28420
28421         * gst/gstbin.c: (gst_bin_add_func), (cb_parent_unset),
28422         (gst_bin_get_state):
28423           If a child is removed from a bin while we remove the child from
28424           the bin and while we're retrieving its state, signal this to the
28425           get_state function so we abort the wait (instead of waiting for
28426           a timeout) and can immediately re-iterate over all other elements.
28427
28428 2005-05-12  Wim Taymans  <wim@fluendo.com>
28429
28430         * gst/base/Makefile.am:
28431         * gst/base/gstbasesrc.c: (gst_basesrc_is_seekable),
28432         (gst_basesrc_start):
28433         * gst/base/gstbasesrc.h:
28434         * gst/base/gstpushsrc.c: (gst_pushsrc_get_type),
28435         (gst_pushsrc_base_init), (gst_pushsrc_class_init),
28436         (gst_pushsrc_init), (gst_pushsrc_create):
28437         * gst/base/gstpushsrc.h:
28438         Added is_seekable to BaseSrc
28439         Added simple PushSrc.
28440
28441 2005-05-11  Wim Taymans  <wim@fluendo.com>
28442
28443         * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
28444         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
28445         (gst_element_link_pads), (gst_element_query_position),
28446         (gst_element_query_convert), (intersect_caps_func),
28447         (gst_pad_query_position), (gst_pad_query_convert):
28448         Fix refcounting in utils function.
28449         No point in trying to activate a pad when it's added, it could
28450         be added from the state change function and then we deadlock, the
28451         element has to decide what to do.
28452
28453 2005-05-10  Andy Wingo  <wingo@pobox.com>
28454
28455         * gst/elements/gstfakesink.c (gst_fakesink_render): Er, emit with
28456         *all* the arguments.
28457
28458         * gst/base/gstbasetransform.c (gst_base_transform_event): Grab the
28459         stream lock if it's a FLUSH_DONE; normal flushes don't get the
28460         lock (according to the docs -- if this is wrong change the docs).
28461
28462         * gst/gstpipeline.c (gst_pipeline_change_state): Set the bus to
28463         flush messages in the NULL state.
28464
28465         * gst/gstbus.c (gst_bus_post): If a bus is flushing, unref the
28466         message immediately and return.
28467         (gst_bus_set_flushing): New function. If a bus is flushing, it
28468         flushes out any queued messages and immediately unrefs new
28469         messages. This is so when an element goes to NULL, all of the
28470         unhandled messages coming from it can be freed, and their
28471         references to the element dropped. In other words: message source
28472         ref considered harmful :P
28473
28474         * gst/gstbin.c (gst_bin_change_state): Unref peer element when
28475         we're finished with it.
28476
28477         * gst/gstmessage.c (gst_message_new_state_changed): 
28478
28479 2005-05-10  Wim Taymans  <wim@fluendo.com>
28480
28481         * gst/gstvalue.c: (gst_value_compare_flags),
28482         (gst_value_serialize_flags), (gst_value_deserialize_flags),
28483         (_gst_value_initialize):
28484         Added flags serialize/deserialize/compare code.
28485
28486 2005-05-09  Andy Wingo  <wingo@pobox.com>
28487
28488         * gst/base/gstbasetransform.c (gst_base_transform_proxy_getcaps):
28489         Intersect the peer's caps with our caps.
28490
28491 2005-05-09  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
28492
28493         * gst/base/gsttypefindhelper.c: (helper_find_peek):
28494         * gst/elements/gsttypefindelement.c: (find_peek):
28495           Handle negative offsets better. Fixes decodebin.
28496
28497 2005-05-09  Wim Taymans  <wim@fluendo.com>
28498
28499         * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps),
28500         (gst_base_transform_event):
28501         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query):
28502         Implement accept_caps.
28503         Fix silly lock/unlock mismatch in base class.
28504
28505 2005-05-09  Wim Taymans  <wim@fluendo.com>
28506
28507         * docs/design/draft-push-pull.txt:
28508         * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_query):
28509         * gst/elements/gstfilesink.c: (gst_filesink_init),
28510         (gst_filesink_query):
28511         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
28512         (gst_type_find_handle_src_query), (find_element_get_length):
28513         * gst/gstelement.c: (gst_element_seek), (gst_element_query):
28514         * gst/gstelement.h:
28515         * gst/gstmessage.c:
28516         * gst/gstmessage.h:
28517         * gst/gstpad.c: (gst_real_pad_init), (gst_pad_get_query_types),
28518         (gst_real_pad_get_caps_unlocked),
28519         (gst_pad_get_internal_links_default), (gst_pad_get_internal_links),
28520         (gst_pad_event_default_dispatch), (gst_pad_event_default),
28521         (gst_pad_dispatcher), (gst_pad_query), (gst_pad_query_default),
28522         (gst_real_pad_dispose), (gst_real_pad_finalize),
28523         (gst_pad_load_and_link), (gst_pad_save_thyself),
28524         (gst_ghost_pad_save_thyself), (handle_pad_block), (gst_pad_push),
28525         (gst_pad_check_pull_range), (gst_pad_pull_range),
28526         (gst_pad_template_get_type), (gst_pad_template_class_init),
28527         (gst_pad_template_init), (gst_pad_template_dispose),
28528         (name_is_valid), (gst_static_pad_template_get),
28529         (gst_pad_template_new), (gst_static_pad_template_get_caps),
28530         (gst_pad_template_get_caps), (gst_pad_set_element_private),
28531         (gst_pad_get_element_private), (gst_pad_start_task),
28532         (gst_pad_pause_task), (gst_pad_stop_task),
28533         (gst_ghost_pad_get_type), (gst_ghost_pad_class_init),
28534         (gst_ghost_pad_init), (gst_ghost_pad_dispose),
28535         (gst_ghost_pad_set_property), (gst_ghost_pad_get_property),
28536         (gst_ghost_pad_new):
28537         * gst/gstpad.h:
28538         * gst/gstquery.c: (_gst_query_initialize), (gst_query_new),
28539         (gst_query_new_position), (gst_query_set_position),
28540         (gst_query_parse_position), (gst_query_new_convert),
28541         (gst_query_set_convert), (gst_query_parse_convert):
28542         * gst/gstquery.h:
28543         * gst/gstqueryutils.c:
28544         * gst/gstqueryutils.h:
28545         * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
28546         (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
28547         (gst_queue_handle_src_query):
28548         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
28549         (gst_element_query_position), (gst_element_query_convert),
28550         (intersect_caps_func), (gst_pad_query_position),
28551         (gst_pad_query_convert):
28552         * gst/gstutils.h:
28553         * tools/gst-inspect.c: (print_pad_info):
28554         * tools/gst-xmlinspect.c: (print_element_info):
28555         Remove old query functions. Ported old code.
28556         Added position/convert helper functions to gstutils.
28557         Reordered gstpad.c code, grouping relevant things.
28558         Remove gst_message_new(), always need to speficy a specific
28559         message.
28560
28561
28562 2005-05-09  Andy Wingo  <wingo@pobox.com>
28563
28564         * gst/gstiterator.h: Add some includes.
28565
28566         * gst/gstqueryutils.h: Include more headers.
28567
28568         * gst/gstpad.h:
28569         * gst/gstpad.c (gst_pad_query_position): New routine, replaces
28570         some uses of gst_pad_query.
28571
28572         * gst/gstqueryutils.c: Build fixes. Make parse functions ignore
28573         NULL out parameters.
28574         (gst_query_new_position): New proc, allocates a new position
28575         query.
28576
28577         * gst/Makefile.am (libgstreamer_@GST_MAJORMINOR@_la_SOURCES): Add
28578         gstqueryutils.c to the build.
28579
28580         * gst/gststructure.c (gst_structure_set_valist): Implement with
28581         the generic G_VALUE_COLLECT.
28582         
28583 2005-05-08  Edward Hervey  <bilboed@bilboed.com>
28584
28585         * gst/Makefile.am: (gst_headers):
28586         Added gstqueryutils.h to the list of headers to install, that was
28587         a 'nachty' move wingo :)
28588
28589 2005-05-06  Andy Wingo  <wingo@pobox.com>
28590
28591         * gst/gstquery.h
28592         * gst/gstquery.c (_gst_query_initialize): Extend GstQuery from
28593         GstData, init a memchunk.
28594         (standard_definitions): Add a few query types, deprecate a few.
28595         (gst_query_get_type): New proc.
28596         (_gst_query_copy, _gst_query_free, gst_query_new): GstData
28597         implementation.
28598         (gst_query_new_application, gst_query_get_structure): New public
28599         procs.
28600
28601         * docs/design/draft-query.txt: Removed LINKS from the query types,
28602         because all the rest can be dispatched to other pads -- seemed
28603         ugly to have a query that couldn't be dispatched. internal_links
28604         is fine as a pad method.
28605
28606         * gst/gstpad.h: Add query2 as a pad method, add the new functions
28607         in gstpad.c, but maintain binary compatibility for the moment.
28608         Will fix before 0.9 is out.
28609
28610         * gst/gstqueryutils.c: 
28611         * gst/gstqueryutils.h: New files, implement 3 methods for each
28612         query type: parse_query, parse_response, and set. Probably need an
28613         allocator as well.
28614
28615         * gst/gst.h: Add gstquery.h and gstqueryutils.h to the list.
28616
28617         * gst/elements/gstfilesink.c (gst_filesink_query2):
28618         * gst/base/gstbasesrc.c (gst_basesrc_query2): Replace old query,
28619         query_types, and formats methods.
28620
28621         * gst/gstpad.c (gst_pad_query2, gst_pad_query2_default)
28622         (gst_pad_set_query2_function): New functions.
28623         (gst_real_pad_init): Set query2_default as the default query2
28624         function. Basically just dispatches to internally linked pads.
28625
28626         Needs review!
28627         
28628         * gst/gstdata_private.h (_GST_DATA_INIT): Set data->refcount to 1
28629         without using the atomic operations. Only one thread can possibly
28630         be accessing the data at this point. Changed so as to avoid
28631         gst_atomic operations.
28632
28633 2005-05-06  Wim Taymans  <wim@fluendo.com>
28634
28635         * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push):
28636         Also set caps if we use the fallback buffer alloc.
28637
28638 2005-05-06  Tim-Philipp Müller  <tim at centricular dot net>
28639
28640         * docs/gst/Makefile.am:
28641         * docs/gst/gstreamer-docs.sgml:
28642         * docs/gst/gstreamer-sections.txt:
28643         * docs/gst/tmpl/gstatomic.sgml:
28644         * docs/gst/tmpl/gstmemchunk.sgml:
28645         * testsuite/elements/struct_i386.h:
28646         * win32/GStreamer.vcproj:
28647         * win32/Makefile:
28648           Purge GstAtomic stuff from docs and win32 makefiles as well
28649
28650 2005-05-06  Wim Taymans  <wim@fluendo.com>
28651
28652         * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps):
28653         * gst/elements/gstcapsfilter.c: (gst_capsfilter_getcaps):
28654         * gst/gstpad.c: (gst_pad_peer_get_caps):
28655         * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
28656         (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
28657         (gst_queue_src_activate), (gst_queue_change_state):
28658         * gst/gstqueue.h:
28659         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
28660         (intersect_caps_func):
28661         Fix gst_pad_peer_get_caps(), make it return NULL if no peer.
28662         Always take QUEUE_LOCK after STREAM_LOCK or we might deadlock.
28663         Some fixes for the peer_get_caps() change.
28664
28665 2005-05-06  Wim Taymans  <wim@fluendo.com>
28666
28667         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
28668         (gst_basesink_handle_buffer), (gst_basesink_chain_unlocked),
28669         (gst_basesink_activate):
28670         Actually do something with error codes returned from the push
28671         functions.
28672
28673 2005-05-06  Wim Taymans  <wim@fluendo.com>
28674
28675         * docs/design/part-element-sink.txt:
28676         * docs/design/part-element-source.txt:
28677         * gst/base/gstbasesink.c: (gst_basesink_class_init),
28678         (gst_basesink_event), (gst_basesink_activate):
28679         * gst/base/gstbasesink.h:
28680         * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_unlock),
28681         (gst_basesrc_activate):
28682         * gst/base/gstbasesrc.h:
28683         * gst/gstelement.c: (gst_element_pads_activate):
28684         Some more documentation.
28685         Fixed scheduling decision in _pads_activate().
28686
28687 2005-05-05  Andy Wingo  <wingo@pobox.com>
28688
28689         * check/pipelines/simple_launch_lines.c (test_2_elements): "Fix"
28690         the test suite.
28691
28692 2005-05-05  Wim Taymans  <wim@fluendo.com>
28693
28694         * gst/base/Makefile.am:
28695         * gst/base/gstbasesink.h:
28696         * gst/base/gstbasesrc.c: (gst_basesrc_init),
28697         (gst_basesrc_set_dataflow_funcs), (gst_basesrc_query):
28698         * gst/base/gstcollectpads.c: (gst_collectpads_get_type),
28699         (gst_collectpads_class_init), (gst_collectpads_init),
28700         (gst_collectpads_finalize), (gst_collectpads_new),
28701         (gst_collectpads_set_function), (gst_collectpads_add_pad),
28702         (find_pad), (gst_collectpads_remove_pad),
28703         (gst_collectpads_is_active), (gst_collectpads_collect),
28704         (gst_collectpads_collect_range), (gst_collectpads_start),
28705         (gst_collectpads_stop), (gst_collectpads_peek),
28706         (gst_collectpads_pop), (gst_collectpads_available),
28707         (gst_collectpads_read), (gst_collectpads_flush),
28708         (gst_collectpads_chain):
28709         * gst/base/gstcollectpads.h:
28710         * gst/elements/Makefile.am:
28711         * gst/elements/gstelements.c:
28712         * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
28713         (gst_fakesink_get_times), (gst_fakesink_event),
28714         (gst_fakesink_preroll), (gst_fakesink_render):
28715         * gst/elements/gstfilesink.c: (gst_filesink_class_init),
28716         (gst_filesink_init), (gst_filesink_set_location),
28717         (gst_filesink_open_file), (gst_filesink_close_file),
28718         (gst_filesink_pad_query), (gst_filesink_event),
28719         (gst_filesink_render), (gst_filesink_change_state):
28720         * gst/elements/gstfilesink.h:
28721         Added object to help in making collect pad based elements.
28722         Ported filesink.
28723         Make event function in sink baseclass return gboolean.
28724
28725 2005-05-05  Wim Taymans  <wim@fluendo.com>
28726
28727         * gst/gstbin.c: (gst_bin_send_event), (compare_name),
28728         (gst_bin_get_by_name):
28729         * gst/gstbuffer.h:
28730         * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_class_init),
28731         (gst_clock_finalize):
28732         * gst/gstdata.c: (gst_data_replace):
28733         * gst/gstdata.h:
28734         * gst/gstelement.c: (gst_element_request_pad),
28735         (gst_element_pads_activate):
28736         * gst/gstobject.c: (gst_object_init), (gst_object_ref),
28737         (gst_object_unref):
28738         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
28739         (gst_pad_set_checkgetrange_function),
28740         (gst_pad_link_check_compatible_unlocked), (gst_pad_set_caps),
28741         (gst_pad_check_pull_range), (gst_pad_pull_range),
28742         (gst_static_pad_template_get_caps), (gst_pad_start_task),
28743         (gst_pad_pause_task), (gst_pad_stop_task):
28744         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
28745         (gst_element_request_pad), (gst_pad_proxy_getcaps):
28746         Fix name lookup in GstBin.
28747         Added _data_replace() function and _buffer_replace()
28748         Use finalize method to clean up clock.
28749         Fix refcounting on request pads.
28750         Fix pad schedule mode error.
28751         Some more object refcounting debug info,
28752
28753
28754 2005-05-04  Andy Wingo <wingo@pobox.com>
28755
28756         * check/Makefile.am:
28757         * docs/gst/tmpl/gstatomic.sgml:
28758         * docs/gst/tmpl/gstplugin.sgml:
28759         * gst/base/gstbasesink.c: (gst_basesink_activate):
28760         * gst/base/gstbasesrc.c: (gst_basesrc_class_init),
28761         (gst_basesrc_init), (gst_basesrc_set_dataflow_funcs),
28762         (gst_basesrc_query), (gst_basesrc_set_property),
28763         (gst_basesrc_get_property), (gst_basesrc_check_get_range),
28764         (gst_basesrc_activate):
28765         * gst/base/gstbasesrc.h:
28766         * gst/base/gstbasetransform.c: (gst_base_transform_sink_activate),
28767         (gst_base_transform_src_activate):
28768         * gst/elements/gstelements.c:
28769         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
28770         (gst_fakesrc_set_property), (gst_fakesrc_get_property):
28771         * gst/elements/gsttee.c: (gst_tee_sink_activate):
28772         * gst/elements/gsttypefindelement.c: (find_element_get_length),
28773         (gst_type_find_element_checkgetrange),
28774         (gst_type_find_element_activate):
28775         * gst/gstbin.c: (gst_bin_save_thyself), (gst_bin_restore_thyself):
28776         * gst/gstcaps.c: (gst_caps_do_simplify), (gst_caps_save_thyself),
28777         (gst_caps_load_thyself):
28778         * gst/gstelement.c: (gst_element_pads_activate),
28779         (gst_element_save_thyself), (gst_element_restore_thyself):
28780         * gst/gstpad.c: (gst_pad_load_and_link), (gst_pad_save_thyself),
28781         (gst_ghost_pad_save_thyself), (gst_pad_check_pull_range):
28782         * gst/gstpad.h:
28783         * gst/gstxml.c: (gst_xml_write), (gst_xml_parse_doc),
28784         (gst_xml_parse_file), (gst_xml_parse_memory),
28785         (gst_xml_get_element), (gst_xml_make_element):
28786         * gst/indexers/gstfileindex.c: (gst_file_index_load),
28787         (_file_index_id_save_xml), (gst_file_index_commit):
28788         * gst/registries/gstlibxmlregistry.c: (read_string), (read_uint),
28789         (read_enum), (load_pad_template), (load_feature), (load_plugin),
28790         (load_paths):
28791         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_caps),
28792         (gst_dp_packet_from_event), (gst_dp_caps_from_packet):
28793         * tools/gst-complete.c: (main):
28794         * tools/gst-compprep.c: (main):
28795         * tools/gst-inspect.c: (print_element_properties_info):
28796         * tools/gst-launch.c: (xmllaunch_parse_cmdline):
28797         * tools/gst-xmlinspect.c: (print_element_properties):
28798         GCC 4 fixen.
28799         
28800 2005-05-03  Thomas Vander Stichele  <thomas at apestaart dot org>
28801
28802         * gst/gstplugin.c: (gst_plugin_check_module),
28803         (gst_plugin_check_file), (gst_plugin_load_file):
28804             apply patch from #172526 to make register work on MacOSX
28805
28806 2005-05-02  Thomas Vander Stichele  <thomas at apestaart dot org>
28807
28808         * docs/gst/tmpl/gstconfig.sgml:
28809         * gst/gstconfig.h.in:
28810           move documentation for some symbols.  Add doc for GST_PTR_FORMAT
28811         * testsuite/debug/printf_extension.c: (main):
28812           Do not use GST_PTR_FORMAT on pointers to types with
28813           sizeof < sizeof(gpointer).  Fixes test on 64-bit
28814         * testsuite/elements/property.h:
28815           use correct printf format
28816
28817 2005-05-02  Wim Taymans  <wim@fluendo.com>
28818
28819         * docs/design/draft-push-pull.txt:
28820         * docs/design/draft-query.txt:
28821         * gst/base/gstbasesrc.c: (gst_basesrc_get_range_unlocked),
28822         (gst_basesrc_start):
28823         Added draft for new query API.
28824         Added draft for better selecting scheduling methods.
28825         Make basesrc ignore length if the subclass does not support
28826         it.
28827
28828 2005-05-02  Thomas Vander Stichele  <thomas at apestaart dot org>
28829
28830         * gst/Makefile.am:
28831           possible fixes for automake-1.5 - _LIBADD is reserved
28832
28833 2005-05-02  Thomas Vander Stichele  <thomas at apestaart dot org>
28834
28835         * docs/faq/Makefile.am:
28836         * docs/manual/Makefile.am:
28837         * docs/manuals.mak:
28838         * docs/pwg/Makefile.am:
28839         * gst/Makefile.am:
28840           possible fixes for automake-1.5
28841
28842 2005-04-28  Wim Taymans  <wim@fluendo.com>
28843
28844         * gst/base/gstbasesink.c: (gst_basesink_base_init),
28845         (gst_basesink_pad_getcaps), (gst_basesink_init),
28846         (gst_basesink_do_sync):
28847         * gst/gstclock.c: (gst_clock_entry_new):
28848         * gst/gstevent.c: (gst_event_discont_get_value):
28849         * gst/gstpipeline.c: (pipeline_bus_handler),
28850         (gst_pipeline_change_state):
28851         * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
28852         Better debugging of clocking info.
28853         Allow NULL values when getting discont values.
28854
28855 2005-04-27  Wim Taymans  <wim@fluendo.com>
28856
28857         * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
28858         * check/gst/gstpad.c: (gst_pad_suite):
28859         Increase timeout for checks.
28860
28861 2005-04-27  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
28862
28863         * check/Makefile.am:
28864           fix the broken rule for cleanup.  Apparently this rule is
28865           only needed on FC2, so maybe this warrants further autotool
28866           inspection.
28867
28868 2005-04-26  Wim Taymans  <wim@fluendo.com>
28869
28870         * gst/gsttrashstack.h:
28871         Ooohh. a nasty one! After having a failed pop() from the stack,
28872         it's possible that the stack is empty. In that case, don't
28873         follow the NULL pointer.
28874
28875 2005-04-25  Wim Taymans  <wim@fluendo.com>
28876
28877         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
28878         (gst_pad_set_checkgetrange_function),
28879         (gst_pad_link_check_compatible_unlocked), (gst_pad_link_prepare),
28880         (gst_pad_check_pull_range), (gst_pad_pull_range),
28881         (gst_static_pad_template_get_caps), (gst_pad_start_task),
28882         (gst_pad_pause_task), (gst_pad_stop_task):
28883         * gst/gstplugin.c: (gst_plugin_load):
28884         * gst/gstplugin.h:
28885         Remove gst_library_load as it does more harm than good with
28886         the new g_module flags.
28887         Revert bogus caps template check in pad linking, pad caps
28888         are important when linking not the template, which is more
28889         general than the current caps.
28890
28891 2005-04-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
28892
28893         * gst/autoplug/.cvsignore:
28894         * gst/autoplug/Makefile.am:
28895         * gst/autoplug/gstsearchfuncs.c:
28896         * gst/autoplug/gstsearchfuncs.h:
28897         * gst/autoplug/gstspider.c:
28898         * gst/autoplug/gstspider.h:
28899         * gst/autoplug/gstspideridentity.c:
28900         * gst/autoplug/gstspideridentity.h:
28901         * gst/autoplug/spidertest.c:
28902           Die, spider, die.
28903
28904 2005-04-25  Wim Taymans  <wim@fluendo.com>
28905
28906         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
28907         (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
28908         (gst_pad_pull_range), (gst_static_pad_template_get_caps),
28909         (gst_pad_start_task), (gst_pad_pause_task), (gst_pad_stop_task):
28910         * gst/gstpad.h:
28911         Added stubs for unimplemented functions. 
28912
28913 2005-04-24  David Schleef  <ds@schleef.org>
28914
28915         * gst/gstpad.h: Disable some unimplemented functions.  Wim,
28916         please fix.
28917
28918 2005-04-24  David Schleef  <ds@schleef.org>
28919
28920         Convert everything from GstAtomicInt to g_atomic_int_*, and
28921         remove gstatomic.
28922         * gst/Makefile.am:
28923         * gst/gstatomic.c:
28924         * gst/gstatomic.h:
28925         * gst/gstatomic_impl.h:
28926         * gst/gstbuffer.c:
28927         * gst/gstcaps.c:
28928         * gst/gstcaps.h:
28929         * gst/gstclock.c:
28930         * gst/gstclock.h:
28931         * gst/gstdata.c:
28932         * gst/gstdata.h:
28933         * gst/gstdata_private.h:
28934         * gst/gstevent.c:
28935         * gst/gstinfo.c:
28936         * gst/gstinfo.h:
28937         * gst/gstmessage.c:
28938         * gst/gstobject.c:
28939         * gst/gstobject.h:
28940         * gst/gststructure.c:
28941         * gst/gststructure.h:
28942         * gst/gstutils.c: Add gst_atomic_int_set() compaitibility function.
28943         * gst/gstutils.h:
28944
28945 2005-04-24  David Schleef  <ds@schleef.org>
28946
28947         * check/gst/gstpad.c: (START_TEST): Oh yeah, it's always nice to
28948         make the regressions tests work.  Remove some code that is no
28949         longer true.
28950         * gst/gstpad.c: (gst_pad_link_check_templates_compatible_unlocked):
28951         Disable warning for pads without templates.
28952
28953 2005-04-24  David Schleef  <ds@schleef.org>
28954
28955         * gst/gstpad.c: Remove handling of filtered caps.  Fix/merge
28956         functions that handle filtered links.
28957         * gst/gstpad.h: Remove 'appfilter' field and prototypes of
28958         removed functions.
28959         * gst/gstutils.c: Fix/remove utility functions that handle
28960         filtered caps.
28961         * gst/gstutils.h:
28962         * gst/gstvalue.c: Add serialization/deserialization of caps
28963         * gst/parse/grammar.y: Ignore filtered caps when linking.  This
28964         requires fixing so that the filter caps notation creates
28965         a capsfilter element and sets the filter_caps property.  I
28966         think everyone probably wants to keep the shorthand notation.
28967         * docs/gst/tmpl/gstelement.sgml: updates for API changes.
28968         * docs/gst/tmpl/gstpad.sgml:
28969
28970         * gst/elements/gstelements.c: Register capsfilter element.
28971         * gst/Makefile.am: fix spacing
28972         * docs/random/ds/0.9-suggested-changes: random
28973
28974 2005-04-23  David Schleef  <ds@schleef.org>
28975
28976         * gst/elements/Makefile.am:
28977         * gst/elements/gstcapsfilter.c: New element that acts like an
28978         identity, but filters caps.  Will eventually replace filtered
28979         caps in pad linking.
28980         * gst/gstutils.c: (gst_element_create_all_pads): New function
28981         to create all the ALWAYS pads that are registered with an
28982         element class.  This functionality should eventually be
28983         merged in with GstElement initialization.
28984         * gst/gstutils.h:
28985         * testsuite/trigger/README: part of trigger test code that should
28986         have been checked in a long time ago.
28987
28988 2005-04-23  David Schleef  <ds@schleef.org>
28989
28990         * gst/Makefile.am: Remove as-libtool stuff.  It's likely not
28991         needed with new versions of libtool (nobody will confirm this),
28992         and hard to carry around.
28993         * gst/autoplug/Makefile.am:
28994         * gst/base/Makefile.am:
28995         * gst/elements/Makefile.am:
28996         * gst/indexers/Makefile.am:
28997         * gst/schedulers/Makefile.am:
28998         * libs/gst/bytestream/Makefile.am:
28999         * libs/gst/control/Makefile.am:
29000         * libs/gst/dataprotocol/Makefile.am:
29001         * libs/gst/getbits/Makefile.am:
29002
29003 2005-04-21  Wim Taymans  <wim@fluendo.com>
29004
29005         * docs/design/draft-push-pull.txt:
29006         * docs/design/part-MT-refcounting.txt:
29007         * docs/design/part-TODO.txt:
29008         * docs/design/part-caps.txt:
29009         * docs/design/part-events.txt:
29010         * docs/design/part-gstbus.txt:
29011         * docs/design/part-gstpipeline.txt:
29012         * docs/design/part-messages.txt:
29013         * docs/design/part-push-pull.txt:
29014         * docs/design/part-query.txt:
29015         Some more docs.
29016
29017 2005-04-21  Wim Taymans  <wim@fluendo.com>
29018
29019         * gst/gstmessage.c: (_gst_message_copy), (_gst_message_free),
29020         (gst_message_new), (gst_message_new_error),
29021         (gst_message_new_warning), (gst_message_new_tag),
29022         (gst_message_new_state_changed), (gst_message_new_application),
29023         (gst_message_get_structure):
29024         * gst/gstmessage.h:
29025         * gst/gststructure.c: (gst_structure_set_parent_refcount),
29026         (gst_structure_copy_conditional):
29027         Use parent refcount in GstMessage to ensure GstStructure
29028         consistency.
29029         Cleaned up headers a bit.
29030         
29031
29032 2005-04-20  Wim Taymans  <wim@fluendo.com>
29033
29034         * gst/base/gstbasesink.c: (gst_basesink_base_init),
29035         (gst_basesink_pad_getcaps), (gst_basesink_init),
29036         (gst_basesink_chain_unlocked):
29037         * gst/base/gsttypefindhelper.c: (helper_find_suggest),
29038         (gst_type_find_helper):
29039         * gst/elements/gsttypefindelement.c:
29040         (gst_type_find_element_have_type), (gst_type_find_element_init),
29041         (stop_typefinding), (gst_type_find_element_handle_event),
29042         (find_suggest), (gst_type_find_element_chain),
29043         (gst_type_find_element_checkgetrange),
29044         (gst_type_find_element_getrange), (do_typefind),
29045         (gst_type_find_element_activate):
29046         * gst/gstbuffer.c: (_gst_buffer_sub_free),
29047         (gst_buffer_default_free), (gst_buffer_default_copy),
29048         (gst_buffer_set_caps):
29049         * gst/gstcaps.c: (gst_caps_ref), (gst_caps_unref),
29050         (gst_caps_replace):
29051         * gst/gstmessage.c: (gst_message_new),
29052         (gst_message_new_state_changed):
29053         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
29054         (gst_pad_set_checkgetrange_function),
29055         (gst_pad_link_prepare_filtered), (gst_pad_relink_filtered),
29056         (gst_pad_set_caps), (gst_pad_check_pull_range),
29057         (gst_pad_pull_range), (gst_static_pad_template_get_caps):
29058         * gst/gstpad.h:
29059         * gst/gsttypefind.c: (gst_type_find_register):
29060         Make gst_caps_replace() work like other _replace() functions.
29061         Use _caps_replace() where possible.
29062         Make sure _message_new() initialises its field.
29063         Add gst_static_pad_template_get_caps()
29064
29065
29066 2005-04-18  Andy Wingo  <wingo@pobox.com>
29067
29068         * gst/gstelement.c (gst_element_pads_activate): Check pull_range
29069         on the peer, not the pad. I think that was a typo. Pass an extra
29070         arg to see if random access is possible. Activate the pads as
29071         PULL_RANGE if possible.
29072
29073         * gst/elements/gstfakesrc.c: s/ARG_/PROP_/.
29074
29075         * gst/base/gstbasesrc.c (gst_basesrc_set_property) 
29076         (gst_basesrc_get_property): BLOCKSIZE is a ULONG. Rename ARG_...
29077         to PROP_....
29078
29079 2005-04-14  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
29080
29081         * docs/faq/using.xml:
29082           Add note on gstreamer-properties (#154996).
29083
29084 2005-04-13  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
29085
29086         * docs/random/bbb/optional-properties:
29087           Some analysis on optional properties.
29088
29089 2005-04-12  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
29090
29091         * docs/gst/tmpl/gstelementfactory.sgml:
29092         * gst/gstelement.h:
29093         * gst/gstelementfactory.c: (gst_element_factory_init),
29094         (gst_element_factory_cleanup), (gst_element_register),
29095         (__gst_element_factory_add_static_pad_template),
29096         (gst_element_factory_get_static_pad_templates),
29097         (gst_element_factory_can_src_caps),
29098         (gst_element_factory_can_sink_caps):
29099         * gst/registries/Makefile.am:
29100         * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_get_type),
29101         (gst_xml_registry_class_init), (gst_xml_registry_init),
29102         (gst_xml_registry_new), (gst_xml_registry_set_property),
29103         (gst_xml_registry_get_property), (get_time), (make_dir),
29104         (gst_xml_registry_get_perms_func),
29105         (plugin_times_older_than_recurse), (plugin_times_older_than),
29106         (gst_xml_registry_open_func), (gst_xml_registry_load_func),
29107         (gst_xml_registry_save_func), (gst_xml_registry_close_func),
29108         (add_to_char_array), (read_string), (read_uint), (read_enum),
29109         (load_pad_template), (load_feature), (load_plugin), (load_paths),
29110         (gst_xml_registry_load), (gst_xml_registry_load_plugin),
29111         (gst_xml_registry_save_caps), (gst_xml_registry_save_pad_template),
29112         (gst_xml_registry_save_feature), (gst_xml_registry_save_plugin),
29113         (gst_xml_registry_save), (gst_xml_registry_rebuild_recurse),
29114         (gst_xml_registry_rebuild):
29115         * gst/registries/gstlibxmlregistry.h:
29116         * tools/gst-compprep.c: (main):
29117         * tools/gst-inspect.c: (print_pad_templates_info):
29118         * tools/gst-xmlinspect.c: (print_element_info):
29119           Use libxml2 for registry parsing, use staticpadtemplates in
29120           elementfactories. Makes gst_init() +/- 10x faster.
29121
29122 2005-04-12  Wim Taymans  <wim@fluendo.com>
29123
29124         * gst/base/Makefile.am:
29125         * gst/base/gstbasesink.c: (gst_basesink_base_init),
29126         (gst_basesink_pad_getcaps), (gst_basesink_init),
29127         (gst_basesink_event), (gst_basesink_change_state):
29128         * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
29129         (gst_basesrc_init), (gst_basesrc_query),
29130         (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
29131         (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
29132         (gst_basesrc_check_get_range), (gst_basesrc_loop),
29133         (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
29134         (gst_basesrc_stop), (gst_basesrc_activate),
29135         (gst_basesrc_change_state):
29136         * gst/base/gsttypefindhelper.c: (helper_find_peek),
29137         (helper_find_suggest), (gst_type_find_helper):
29138         * gst/base/gsttypefindhelper.h:
29139         * gst/elements/Makefile.am:
29140         * gst/elements/gstelements.c:
29141         * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
29142         (gst_fakesink_get_times), (gst_fakesink_event),
29143         (gst_fakesink_preroll), (gst_fakesink_render):
29144         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
29145         (gst_fakesrc_init), (gst_fakesrc_event_handler),
29146         (gst_fakesrc_get_property), (gst_fakesrc_create),
29147         (gst_fakesrc_start), (gst_fakesrc_stop):
29148         * gst/elements/gstfakesrc.h:
29149         * gst/elements/gstfilesrc.c: (gst_filesrc_class_init),
29150         (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
29151         (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
29152         (gst_filesrc_create_read), (gst_filesrc_create),
29153         (gst_filesrc_is_seekable), (gst_filesrc_get_size),
29154         (gst_filesrc_start):
29155         * gst/elements/gsttypefindelement.c:
29156         (gst_type_find_element_have_type), (gst_type_find_element_init),
29157         (start_typefinding), (stop_typefinding), (push_buffer_store),
29158         (gst_type_find_element_handle_event),
29159         (gst_type_find_element_chain),
29160         (gst_type_find_element_checkgetrange),
29161         (gst_type_find_element_getrange), (do_typefind),
29162         (gst_type_find_element_activate),
29163         (gst_type_find_element_change_state):
29164         * gst/elements/gsttypefindelement.h:
29165         * gst/gstpipeline.c: (pipeline_bus_handler):
29166         Added typefind helper.
29167         Small preroll fix in the base sink.
29168         Disable typefind code in basesrc.
29169         Crude port of typefindelement.
29170         Fakesrc cleanups.
29171
29172
29173 2005-04-11  Wim Taymans  <wim@fluendo.com>
29174
29175         * check/gst/gstbus.c: (gstbus_suite):
29176         * check/gst/gstdata.c: (thread_ref), (gst_data_suite):
29177         * check/gstcheck.h:
29178           Fix up the timeout so that the test does not fail.
29179
29180 2005-04-06  Wim Taymans  <wim@fluendo.com>
29181
29182         * gst/base/README:
29183         * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
29184         (gst_basesrc_init), (gst_basesrc_get_formats), (gst_basesrc_query),
29185         (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
29186         (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
29187         (gst_basesrc_check_get_range), (gst_basesrc_loop),
29188         (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
29189         (gst_basesrc_stop), (gst_basesrc_activate),
29190         (gst_basesrc_change_state), (basesrc_find_peek),
29191         (basesrc_find_suggest), (gst_basesrc_type_find):
29192         * gst/base/gstbasesrc.h:
29193         * gst/elements/gstfilesrc.c: (gst_filesrc_base_init),
29194         (gst_filesrc_class_init), (gst_filesrc_init),
29195         (gst_filesrc_finalize), (gst_filesrc_set_location),
29196         (gst_filesrc_set_property), (gst_filesrc_get_property),
29197         (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
29198         (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
29199         (gst_filesrc_create_read), (gst_filesrc_create),
29200         (gst_filesrc_get_size), (gst_filesrc_start), (gst_filesrc_stop):
29201         * gst/elements/gstfilesrc.h:
29202         * gst/gstelement.c: (gst_element_get_state_func),
29203         (gst_element_lost_state), (gst_element_pads_activate):
29204         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
29205         (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
29206         (gst_pad_pull_range):
29207         * gst/gstpad.h:
29208         More work on the generic source base class, implement seeking,
29209         query.
29210         Make filesrc extend the base source class.
29211         Added gst_pad_set_checkgetrange_function to GstPad.
29212
29213 2005-04-06  Andy Wingo  <wingo@pobox.com>
29214
29215         * pkgconfig/gstreamer-base.pc.in:
29216         * pkgconfig/gstreamer-base-uninstalled.pc.in: New files.
29217
29218         * pkgconfig/Makefile.am:
29219         * configure.ac (AC_OUTPUT): Add gstreamer-base pkgconfig files.
29220
29221 2005-04-04  Wim Taymans  <wim@fluendo.com>
29222
29223         * gst/base/Makefile.am:
29224         * gst/base/README:
29225         * gst/base/gstbasesink.c: (gst_basesink_base_init),
29226         (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
29227         (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
29228         (gst_basesink_do_sync), (gst_basesink_chain_unlocked):
29229         * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
29230         (gst_basesrc_base_init), (gst_basesrc_class_init),
29231         (gst_basesrc_init), (gst_basesrc_get_formats),
29232         (gst_basesrc_get_query_types), (gst_basesrc_query),
29233         (gst_basesrc_get_event_mask), (gst_basesrc_event_handler),
29234         (gst_basesrc_set_property), (gst_basesrc_get_property),
29235         (gst_basesrc_get_range_unlocked), (gst_basesrc_get_range),
29236         (gst_basesrc_loop), (gst_basesrc_activate),
29237         (gst_basesrc_change_state):
29238         * gst/base/gstbasesrc.h:
29239         * gst/elements/gstfakesrc.c: (gst_fakesrc_base_init),
29240         (gst_fakesrc_class_init), (gst_fakesrc_init),
29241         (gst_fakesrc_event_handler), (gst_fakesrc_set_property),
29242         (gst_fakesrc_get_property), (gst_fakesrc_create):
29243         * gst/elements/gstfakesrc.h:
29244         * gst/elements/gstfilesrc.c: (gst_filesrc_getrange),
29245         (gst_filesrc_open_file), (gst_filesrc_loop),
29246         (gst_filesrc_activate), (filesrc_find_peek),
29247         (gst_filesrc_type_find):
29248         Made base source class, make fakesrc extend it.
29249         Add comments to basesink class.
29250         Some filesrc cleanup.
29251
29252 2005-03-31  David Schleef  <ds@schleef.org>
29253
29254         * gst/gstplugin.c: (gst_plugin_check_file), (gst_plugin_load_file):
29255         Switch to using G_MODULE_BIND_LOCAL, which means plugins are now
29256         expected to link against libgstreamer.
29257         * gst/base/Makefile.am: link against libgstreamer
29258         * gst/elements/Makefile.am: same
29259
29260 2005-03-31  Andy Wingo  <wingo@pobox.com>
29261
29262         * tests/instantiate/Makefile.am:
29263         * tests/instantiate/caps.c: Add test to test speed of caps copy
29264         and free.
29265
29266         * tests/memchunk/gmemchunktest.c (main): Use alloc only on the
29267         GMemChunk to be fair.
29268
29269         * gst/gsttrashstack.h: Remove warning about using the fallback
29270         trash stack implementation, it's still faster than malloc.
29271
29272 2005-03-30  Andy Wingo  <wingo@pobox.com>
29273
29274         * tests/complexity.c: Add a copyright.
29275
29276 2005-03-31  Wim Taymans  <wim@fluendo.com>
29277
29278         * gst/base/gstbasetransform.c: (gst_base_transform_base_init),
29279         (gst_base_transform_class_init), (gst_base_transform_init),
29280         (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
29281         (gst_base_transform_get_property),
29282         (gst_base_transform_sink_activate),
29283         (gst_base_transform_src_activate),
29284         (gst_base_transform_change_state):
29285         * gst/base/gstbasetransform.h:
29286         * gst/elements/gstidentity.c: (gst_identity_class_init),
29287         (gst_identity_event), (gst_identity_check_perfect),
29288         (gst_identity_transform), (gst_identity_start),
29289         (gst_identity_stop):
29290         Added start/stop methods to transform base class so subclasses 
29291         don't need to deal with state changes even.
29292
29293 2005-03-31  Wim Taymans  <wim@fluendo.com>
29294
29295         * gst/gstevent.c: (gst_event_new_discontinuous_valist),
29296         (gst_event_new_discontinuous), (gst_event_discont_get_value):
29297         * gst/gstevent.h:
29298         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
29299         (gst_pad_pull_range):
29300         Added rate to the discont event to prepare for variable speed
29301         and reverse playback.
29302
29303 2005-03-29  David Schleef  <ds@schleef.org>
29304
29305         * configure.ac:
29306         * testsuite/trigger/Makefile.am:
29307         * testsuite/trigger/trigger.c: A little example program to show
29308         how trigger-based elements can work.
29309
29310 2005-03-29  Wim Taymans  <wim@fluendo.com>
29311
29312         * gst/base/Makefile.am:
29313         * gst/base/README:
29314         * gst/base/gstbasesink.c: (gst_basesink_get_type),
29315         (gst_basesink_base_init), (gst_basesink_class_init),
29316         (gst_basesink_pad_getcaps), (gst_basesink_init),
29317         (gst_basesink_activate), (gst_basesink_change_state):
29318         * gst/base/gstbasesink.h:
29319         * gst/base/gstbasetransform.c: (gst_base_transform_get_type),
29320         (gst_base_transform_base_init), (gst_base_transform_finalize),
29321         (gst_base_transform_class_init), (gst_base_transform_init),
29322         (gst_base_transform_proxy_getcaps), (gst_base_transform_setcaps),
29323         (gst_base_transform_event), (gst_base_transform_getrange),
29324         (gst_base_transform_chain), (gst_base_transform_handle_buffer),
29325         (gst_base_transform_set_property),
29326         (gst_base_transform_get_property),
29327         (gst_base_transform_sink_activate),
29328         (gst_base_transform_src_activate),
29329         (gst_base_transform_change_state):
29330         * gst/base/gstbasetransform.h:
29331         * gst/elements/gstidentity.c: (gst_identity_finalize),
29332         (gst_identity_class_init), (gst_identity_init),
29333         (gst_identity_event), (gst_identity_check_perfect),
29334         (gst_identity_transform), (gst_identity_set_property),
29335         (gst_identity_get_property), (gst_identity_change_state):
29336         * gst/elements/gstidentity.h:
29337         * gst/gstelement.c: (gst_element_get_state_func),
29338         (gst_element_lost_state), (gst_element_pads_activate):
29339         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
29340         (gst_pad_check_pull_range), (gst_pad_pull_range):
29341         * gst/gstpad.h:
29342         Simplify pad activation.
29343         Added function to check if pull_range can be performed.
29344         Error out when pulling inactive or flushing pads.
29345         Removed const from refcounted types as it does not make sense.
29346         Simplify pad templates in basesink
29347         Added base class for simple 1-to-1 transforms.
29348         Make identity subclass the base transform.
29349
29350 2005-03-29  Andy Wingo  <wingo@pobox.com>
29351
29352         * docs/libs/gstreamer-libs-overrides.txt: 
29353         * docs/gst/gstreamer-overrides.txt: Add these files to CVS. Now I
29354         really don't understand what's going on, but like whatever. I want
29355         green buildbot!
29356
29357         * docs/gst/Makefile.am:
29358         * docs/libs/Makefile.am: Dist the overrides files.
29359
29360         * check/Makefile.am (clean-local): Remove .libs directories.
29361
29362         * gst/elements/Makefile.am (EXTRA_DIST): Add all the attic
29363         elements to EXTRA_DIST, so po/ files are happy.
29364
29365         * po/POTFILES.in: Er, remove it here.
29366
29367         * po/POTFILES: Remove gstspider.c.
29368
29369         * configure.ac (AC_OUTPUT): Add missing testsuite makefiles.
29370
29371         * docs/libs/gstreamer-libs-docs.sgml: 
29372         * docs/libs/gstreamer-libs-sections.txt: Remove the section on
29373         bytestream.
29374
29375         * tests/complexity.c (main): Set the length of the preroll queue
29376         on the sinks to prevent a lockup.
29377
29378         * libs/gst/dataprotocol/Makefile.am: 
29379         * libs/gst/dataprotocol/dataprotocol-test.c: Remove test, it's
29380         the same as the one in check/gst-libs/gdp.c.
29381
29382         * po/, docs/gst/: Commit automatic changes to docs and po files.
29383
29384         * gst/elements/Makefile.am (libgstelements_la_LDFLAGS): Link to
29385         the versioned libgstbase.
29386
29387         * check/Makefile.am: Depend on an unversioned gst-register, seems
29388         to make autoconf happier.
29389
29390         * gst/base/Makefile.am: Make libgstbase a versioned lib.
29391
29392 2005-03-28  Wim Taymans  <wim@fluendo.com>
29393
29394         * configure.ac:
29395         * docs/design/part-gstelement.txt:
29396         * docs/design/part-negotiation.txt:
29397         * docs/design/part-preroll.txt:
29398         * docs/design/part-scheduling.txt:
29399         * docs/design/part-states.txt:
29400         * gst/Makefile.am:
29401         * gst/base/Makefile.am:
29402         * gst/base/README:
29403         * gst/base/gstbasesink.c: (gst_basesink_get_template),
29404         (gst_basesink_base_init), (gst_basesink_class_init),
29405         (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
29406         (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
29407         (gst_basesink_set_pad_functions),
29408         (gst_basesink_set_all_pad_functions), (gst_basesink_set_clock),
29409         (gst_basesink_set_property), (gst_basesink_get_property),
29410         (gst_base_sink_get_template), (gst_base_sink_get_caps),
29411         (gst_base_sink_set_caps), (gst_base_sink_buffer_alloc),
29412         (gst_basesink_preroll_queue_push),
29413         (gst_basesink_preroll_queue_empty),
29414         (gst_basesink_preroll_queue_flush), (gst_basesink_finish_preroll),
29415         (gst_basesink_event), (gst_basesink_get_times),
29416         (gst_basesink_do_sync), (gst_basesink_handle_buffer),
29417         (gst_basesink_chain_unlocked), (gst_basesink_chain),
29418         (gst_basesink_loop), (gst_basesink_activate),
29419         (gst_basesink_change_state):
29420         * gst/base/gstbasesink.h:
29421         * gst/elements/Makefile.am:
29422         * gst/elements/gstfakesink.c: (gst_fakesink_base_init),
29423         (gst_fakesink_class_init), (gst_fakesink_init),
29424         (gst_fakesink_set_property), (gst_fakesink_get_property),
29425         (gst_fakesink_get_times), (gst_fakesink_event),
29426         (gst_fakesink_preroll), (gst_fakesink_render),
29427         (gst_fakesink_change_state):
29428         * gst/elements/gstfakesink.h:
29429         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
29430         (gst_bin_get_state), (gst_bin_change_state), (gst_bin_send_event):
29431         * gst/gstelement.c: (gst_element_add_pad),
29432         (gst_element_get_state_func), (gst_element_abort_state),
29433         (gst_element_commit_state), (gst_element_lost_state),
29434         (gst_element_set_state), (gst_element_pads_activate):
29435         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_event_default):
29436         * gst/gstpipeline.c: (gst_pipeline_send_event),
29437         (gst_pipeline_change_state):
29438         Added state change code.
29439         Added/updated docs.
29440         Added sink base class, make fakesink extend the base class.
29441         Small cleanups in GstPipeline.
29442
29443 2005-03-26  David Schleef  <ds@schleef.org>
29444
29445         * gst/Makefile.am: remove gstcpu.[ch].  The gst_cpu functionality
29446         is broken and should be implemented in a different library.
29447         * gst/gst.c: (init_post): don't call _gst_cpu_initialize()
29448         * gst/gst.h: remove gstcpu.h
29449         * gst/gstcpu.c: remove
29450         * gst/gstcpu.h: remove
29451         * gst/Makefile.am.future: Remove this file.  It's ancient.
29452
29453 2005-03-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
29454
29455         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
29456         (gst_bin_send_event):
29457           Add default event/set_manager handlers. The set_manager handler
29458           takes care that the manager is distributed over kids that were
29459           already in the bin before the manager was set. The event handler
29460           is a utility virtual function that sends the event over all sinks,
29461           so that gst_element_send_event (bin, event); has the expected
29462           behaviour.
29463         * gst/gstpad.c: (gst_pad_event_default):
29464           Re-install default event handling for discontinuities, so that
29465           seeking works without requiring hacks in applications or extra
29466           code in sinks.
29467         * gst/gstpipeline.c: (gst_pipeline_class_init),
29468         (gst_pipeline_send_event):
29469           Half hack, half utility: set a pipeline to PAUSED for seek events,
29470           since that is the only way we can guarantee a/v sync. Means that
29471           you can do gst_element_seek (pipeline, method, pos); on a pipeline
29472           and it "just works".
29473
29474 2005-03-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
29475
29476         * gst/gstpipeline.c: (gst_pipeline_use_clock):
29477           Lock/unlock mismatch.
29478
29479 2005-03-25  Thomas Vander Stichele  <thomas at apestaart dot org>
29480
29481         * docs/faq/gst-uninstalled:
29482           add gst-plugins-base
29483         * docs/gst/Makefile.am:
29484           don't error out until docs are fixed
29485         * docs/gst/gstreamer.types:
29486           remove thread
29487
29488 2005-03-22  Wim Taymans  <wim@fluendo.com>
29489
29490         * check/Makefile.am:
29491         * check/gst/gstmessage.c: (START_TEST), (gst_data_suite), (main):
29492         * gst/gststructure.c: (gst_structure_set_valist),
29493         (gst_structure_copy_conditional):
29494         Activated more tests.
29495         Added message test.
29496         Added G_TYPE_POINTER to GstStructure.
29497         
29498
29499 2005-03-22  Wim Taymans  <wim@fluendo.com>
29500
29501         * docs/design/part-TODO.txt:
29502         * docs/design/part-events.txt:
29503         * docs/design/part-gstbin.txt:
29504         * docs/design/part-gstbus.txt:
29505         * docs/design/part-gstpipeline.txt:
29506         * docs/design/part-messages.txt:
29507         * gst/gstbus.c:
29508         * gst/gstmessage.c:
29509         Docs updates
29510
29511 2005-03-21  Wim Taymans  <wim@fluendo.com>
29512
29513         * gst/gstbus.c: (gst_bus_post):
29514         Fix copy-and-paste error.
29515
29516 2005-03-21  Wim Taymans  <wim@fluendo.com>
29517
29518         * check/Makefile.am:
29519         * gst/Makefile.am:
29520         * gst/elements/Makefile.am:
29521         * gst/elements/gstelements.c:
29522         * gst/elements/gstfakesink.c: (gst_fakesink_init),
29523         (gst_fakesink_event), (gst_fakesink_chain):
29524         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
29525         (gst_fakesrc_init), (gst_fakesrc_get_event_mask),
29526         (gst_fakesrc_event_handler), (gst_fakesrc_set_pad_functions),
29527         (gst_fakesrc_set_all_pad_functions), (gst_fakesrc_request_new_pad),
29528         (gst_fakesrc_set_property), (gst_fakesrc_get_property),
29529         (gst_fakesrc_get_range_unlocked), (gst_fakesrc_get_range),
29530         (gst_fakesrc_loop), (gst_fakesrc_activate),
29531         (gst_fakesrc_change_state):
29532         * gst/elements/gstfakesrc.h:
29533         * gst/elements/gstfilesrc.c: (gst_filesrc_init),
29534         (gst_filesrc_get_read), (gst_filesrc_getrange), (gst_filesrc_get),
29535         (gst_filesrc_open_file), (gst_filesrc_loop),
29536         (gst_filesrc_activate), (gst_filesrc_change_state),
29537         (filesrc_find_peek), (filesrc_find_suggest),
29538         (gst_filesrc_type_find):
29539         * gst/elements/gstidentity.c: (gst_identity_finalize),
29540         (gst_identity_class_init), (gst_identity_init),
29541         (gst_identity_proxy_getcaps), (identity_queue_push),
29542         (identity_queue_pop), (identity_queue_flush), (gst_identity_event),
29543         (gst_identity_getrange), (gst_identity_chain),
29544         (gst_identity_sink_loop), (gst_identity_src_loop),
29545         (gst_identity_handle_buffer), (gst_identity_set_dataflow_funcs),
29546         (gst_identity_set_property), (gst_identity_get_property),
29547         (gst_identity_change_state):
29548         * gst/elements/gstidentity.h:
29549         * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_init),
29550         (gst_tee_update_pad_functions), (gst_tee_request_new_pad),
29551         (gst_tee_set_property), (gst_tee_get_property), (gst_tee_do_push),
29552         (gst_tee_handle_buffer), (gst_tee_chain), (gst_tee_loop),
29553         (gst_tee_sink_activate):
29554         * gst/elements/gsttee.h:
29555         * gst/gst.c: (gst_register_core_elements), (init_post):
29556         * gst/gst.h:
29557         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_bus),
29558         (gst_bin_set_scheduler), (gst_bin_add_func), (gst_bin_add),
29559         (gst_bin_remove_func), (gst_bin_remove), (gst_bin_get_state),
29560         (gst_bin_change_state):
29561         * gst/gstbin.h:
29562         * gst/gstbus.c: (gst_bus_get_type), (gst_bus_class_init),
29563         (gst_bus_init), (gst_bus_dispose), (gst_bus_set_property),
29564         (gst_bus_get_property), (gst_bus_new), (gst_bus_post),
29565         (gst_bus_have_pending), (gst_bus_pop), (gst_bus_peek),
29566         (gst_bus_set_sync_handler), (gst_bus_create_watch),
29567         (bus_watch_callback), (bus_watch_destroy),
29568         (gst_bus_add_watch_full), (gst_bus_add_watch), (poll_handler),
29569         (poll_timeout), (gst_bus_poll):
29570         * gst/gstbus.h:
29571         * gst/gstcaps.h:
29572         * gst/gstdata.h:
29573         * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
29574         (gst_element_post_message), (gst_element_message_full),
29575         (gst_element_get_state_func), (gst_element_get_state),
29576         (gst_element_abort_state), (gst_element_commit_state),
29577         (gst_element_lost_state), (gst_element_set_state),
29578         (gst_element_pads_activate), (gst_element_change_state),
29579         (gst_element_dispose), (gst_element_set_manager_func),
29580         (gst_element_set_bus_func), (gst_element_set_scheduler_func),
29581         (gst_element_set_manager), (gst_element_get_manager),
29582         (gst_element_set_bus), (gst_element_get_bus),
29583         (gst_element_set_scheduler), (gst_element_get_scheduler):
29584         * gst/gstelement.h:
29585         * gst/gstevent.c: (gst_event_new_segment_seek),
29586         (gst_event_new_flush):
29587         * gst/gstevent.h:
29588         * gst/gstmessage.c: (_gst_message_initialize), (_gst_message_copy),
29589         (_gst_message_free), (gst_message_get_type), (gst_message_new),
29590         (gst_message_new_eos), (gst_message_new_error),
29591         (gst_message_new_warning), (gst_message_new_tag),
29592         (gst_message_new_state_changed), (gst_message_new_application),
29593         (gst_message_get_structure), (gst_message_parse_tag),
29594         (gst_message_parse_state_changed), (gst_message_parse_error),
29595         (gst_message_parse_warning):
29596         * gst/gstmessage.h:
29597         * gst/gstpad.c: (gst_real_pad_class_init), (gst_real_pad_init),
29598         (gst_real_pad_set_property), (gst_pad_set_active),
29599         (gst_pad_is_active), (gst_pad_set_blocked_async),
29600         (gst_pad_set_blocked), (gst_pad_is_blocked),
29601         (gst_pad_set_activate_function), (gst_pad_set_loop_function),
29602         (gst_pad_set_getrange_function), (gst_pad_set_acceptcaps_function),
29603         (gst_pad_set_fixatecaps_function), (gst_pad_set_setcaps_function),
29604         (gst_pad_unlink), (gst_pad_link_prepare_filtered),
29605         (gst_pad_link_filtered), (gst_pad_relink_filtered),
29606         (gst_real_pad_get_caps_unlocked), (gst_pad_get_caps),
29607         (gst_pad_peer_get_caps), (gst_pad_fixate_caps),
29608         (gst_pad_accept_caps), (gst_pad_peer_accept_caps),
29609         (gst_pad_set_caps), (gst_pad_configure_sink),
29610         (gst_pad_configure_src), (gst_pad_get_negotiated_caps),
29611         (gst_pad_get_filter_caps), (gst_pad_alloc_buffer),
29612         (gst_real_pad_dispose), (gst_real_pad_finalize),
29613         (handle_pad_block), (gst_pad_push), (gst_pad_pull_range),
29614         (gst_pad_event_default_dispatch), (gst_pad_event_default),
29615         (gst_pad_push_event), (gst_pad_send_event), (gst_pad_get_formats):
29616         * gst/gstpad.h:
29617         * gst/gstpipeline.c: (gst_pipeline_init), (is_eos),
29618         (pipeline_bus_handler), (gst_pipeline_change_state),
29619         (gst_pipeline_get_scheduler), (gst_pipeline_get_bus):
29620         * gst/gstpipeline.h:
29621         * gst/gstprobe.h:
29622         * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
29623         (gst_queue_finalize), (gst_queue_getcaps), (gst_queue_link_sink),
29624         (gst_queue_link_src), (gst_queue_bufferalloc),
29625         (gst_queue_locked_flush), (gst_queue_handle_sink_event),
29626         (gst_queue_is_empty), (gst_queue_is_filled), (gst_queue_chain),
29627         (gst_queue_loop), (gst_queue_handle_src_event),
29628         (gst_queue_handle_src_query), (gst_queue_src_activate),
29629         (gst_queue_change_state):
29630         * gst/gstqueue.h:
29631         * gst/gstscheduler.c: (gst_scheduler_init),
29632         (gst_scheduler_dispose), (gst_scheduler_create_task),
29633         (gst_scheduler_factory_create):
29634         * gst/gstscheduler.h:
29635         * gst/gststructure.c: (gst_structure_get_type),
29636         (gst_structure_copy_conditional):
29637         * gst/gststructure.h:
29638         * gst/gsttaginterface.h:
29639         * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
29640         (gst_task_init), (gst_task_dispose), (gst_task_create),
29641         (gst_task_get_state), (gst_task_start), (gst_task_stop),
29642         (gst_task_pause):
29643         * gst/gsttask.h:
29644         * gst/gstthread.c:
29645         * gst/gstthread.h:
29646         * gst/gsttypes.h:
29647         * gst/schedulers/Makefile.am:
29648         * gst/schedulers/cothreads_compat.h:
29649         * gst/schedulers/entryscheduler.c:
29650         * gst/schedulers/faircothreads.c:
29651         * gst/schedulers/faircothreads.h:
29652         * gst/schedulers/fairscheduler.c:
29653         * gst/schedulers/gstbasicscheduler.c:
29654         * gst/schedulers/gstoptimalscheduler.c:
29655         * gst/schedulers/gthread-cothreads.h:
29656         * gst/schedulers/threadscheduler.c:
29657         (gst_thread_scheduler_task_get_type),
29658         (gst_thread_scheduler_task_class_init),
29659         (gst_thread_scheduler_task_init),
29660         (gst_thread_scheduler_task_start),
29661         (gst_thread_scheduler_task_stop),
29662         (gst_thread_scheduler_task_pause), (gst_thread_scheduler_get_type),
29663         (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
29664         (gst_thread_scheduler_init), (gst_thread_scheduler_create_task),
29665         (gst_thread_scheduler_setup), (gst_thread_scheduler_reset),
29666         (plugin_init):
29667         * libs/gst/Makefile.am:
29668         * libs/gst/bytestream/bytestream.c: (gst_bytestream_get_next_buf):
29669         * libs/gst/bytestream/filepad.c: (gst_file_pad_init),
29670         (gst_file_pad_parent_set):
29671         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
29672         (gst_dp_event_from_packet):
29673         * tests/complexity.c: (main):
29674         * tests/mass_elements.c: (main):
29675         * testsuite/states/locked.c: (message_received), (main):
29676         * testsuite/states/parent.c: (main):
29677         * tools/gst-inspect.c: (print_element_flag_info),
29678         (print_implementation_info), (print_pad_info):
29679         * tools/gst-launch.c: (check_intr), (play_handler), (event_loop),
29680         (main):
29681         * tools/gst-md5sum.c: (event_loop), (main):
29682         * tools/gst-typefind.c: (main):
29683         * tools/gst-xmlinspect.c: (print_element_info):
29684         Next big merge.
29685         Added GstBus for mainloop integration.
29686         Added GstMessage for sending notifications on the bus.
29687         Added GstTask as an abstraction for pipeline entry points.
29688         Removed GstThread.
29689         Removed Schedulers.
29690         Simplified GstQueue for multithreaded core.
29691         Made _link threadsafe, removed old capsnego.
29692         Added STREAM_LOCK and PREROLL_LOCK in GstPad.
29693         Added pad blocking functions.
29694         Reworked scheduling functions in GstPad to prepare for
29695         scheduling updates soon.
29696         Moved events out of data stream.
29697         Simplified GstEvent types.
29698         Added return values to push/pull.
29699         Removed clocking from GstElement.
29700         Added prototypes for state change function for next merge.
29701         Removed iterate from bins and state change management.
29702         Fixed some elements, disabled others for now.
29703         Fixed -inspect and -launch.
29704         Added check for GstBus.
29705
29706 2005-03-10  Wim Taymans  <wim@fluendo.com>
29707
29708         * docs/design/part-MT-refcounting.txt:
29709         * docs/design/part-clocks.txt:
29710         * docs/design/part-gstelement.txt:
29711         * docs/design/part-gstobject.txt:
29712         * docs/design/part-standards.txt:
29713         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
29714         (gst_bin_remove_func), (gst_bin_remove):
29715         * gst/gstbin.h:
29716         * gst/gstbuffer.c:
29717         * gst/gstcaps.h:
29718         * testsuite/clock/clock1.c: (main):
29719         * testsuite/clock/clock2.c: (gst_clock_debug), (element_wait),
29720         (main):
29721         * testsuite/dlopen/loadgst.c: (do_test):
29722         * testsuite/refcounting/bin.c: (add_remove_test1),
29723         (add_remove_test2), (main):
29724         * testsuite/refcounting/element.c: (main):
29725         * testsuite/refcounting/element_pad.c: (main):
29726         * testsuite/refcounting/pad.c: (main):
29727         * tools/gst-launch.c: (sigint_handler_sighandler):
29728         * tools/gst-typefind.c: (main):
29729         Doc updates.
29730         Added doc about clock.
29731         removed gst_bin_iterate_recurse_up(), marked methods
29732         for removal.
29733         Fix more testsuites.
29734
29735 2005-03-09  Wim Taymans  <wim@fluendo.com>
29736
29737         * gst/gstpad.c: (gst_pad_get_direction),
29738         (_gst_pad_default_fixate_foreach), (gst_pad_collectv),
29739         (gst_pad_collect_valist):
29740         * testsuite/bins/interface.c: (main):
29741         * testsuite/caps/audioscale.c: (test_caps):
29742         * testsuite/caps/caps.c: (test1), (test2), (test3):
29743         * testsuite/caps/deserialize.c: (main):
29744         * testsuite/caps/enumcaps.c: (main):
29745         * testsuite/caps/filtercaps.c: (main):
29746         * testsuite/caps/intersect2.c: (main):
29747         * testsuite/caps/random.c: (main):
29748         * testsuite/caps/renegotiate.c: (my_fixate), (main):
29749         * testsuite/caps/sets.c: (check_caps):
29750         * testsuite/caps/simplify.c: (check_caps), (main):
29751         * testsuite/caps/subtract.c: (check_caps):
29752         Fix _pad_get_direction wrt ghostpads.
29753         Fix caps testsuite.
29754
29755 2005-03-09  Wim Taymans  <wim@fluendo.com>
29756
29757         * check/Makefile.am:
29758         * check/gst/gstbin.c: (START_TEST), (gst_bin_suite), (main):
29759         * check/gst/gstsystemclock.c: (START_TEST), (gst_clock_debug),
29760         (ok_callback), (error_callback), (gst_systemclock_suite), (main):
29761         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_index_func),
29762         (gst_bin_set_clock_func), (gst_bin_get_clock_func),
29763         (gst_bin_add_func), (gst_bin_add), (gst_bin_remove_func),
29764         (gst_bin_remove), (gst_bin_iterate_recurse_up),
29765         (bin_element_is_sink), (gst_bin_iterate_sinks),
29766         (gst_bin_iterate_all_by_interface):
29767         * gst/gstbin.h:
29768         * gst/gstelement.c: (gst_element_init), (gst_element_error_full),
29769         (gst_element_change_state), (gst_element_dispose),
29770         (gst_element_finalize), (gst_element_set_loop_function):
29771         * gst/gstelement.h:
29772         * gst/gstiterator.c: (find_custom_fold_func):
29773         * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
29774         (gst_pad_collectv), (gst_pad_collect_valist),
29775         (gst_pad_template_new):
29776         * gst/gstpipeline.c: (gst_pipeline_class_init),
29777         (gst_pipeline_dispose), (gst_pipeline_set_property),
29778         (gst_pipeline_get_property), (gst_pipeline_get_clock_func),
29779         (gst_pipeline_get_clock), (gst_pipeline_use_clock),
29780         (gst_pipeline_set_clock), (gst_pipeline_auto_clock):
29781         * gst/gstutils.h:
29782         * gst/schedulers/entryscheduler.c:
29783         * gst/schedulers/gstbasicscheduler.c:
29784         (gst_basic_scheduler_cothreaded_chain),
29785         (gst_basic_scheduler_chain_add_element):
29786         * testsuite/bins/interface.c: (main):
29787         Added GstBin test.
29788         Added GstSystemClock test.
29789         Implemented clock distribution code in GstBin.
29790         Implemented iterate sinks method for future use.
29791         Rearranged gstelement.h
29792         Fix GstIterator comparison bug.
29793         Moved some code to GstPipeline, mostly clocking related.
29794
29795 2005-03-09  Wim Taymans  <wim@fluendo.com>
29796
29797         * configure.ac:
29798         * gst/gst_private.h:
29799         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
29800         (gst_bin_remove_func), (gst_bin_remove),
29801         (gst_bin_get_by_name_recurse_up):
29802         * gst/gstclock.c: (gst_clock_id_ref), (gst_clock_id_unref),
29803         (gst_clock_id_compare_func), (gst_clock_id_wait),
29804         (gst_clock_id_wait_async), (gst_clock_init),
29805         (gst_clock_adjust_unlocked), (gst_clock_get_time):
29806         * gst/gstelement.h:
29807         * gst/gstinfo.c: (_gst_debug_init):
29808         * gst/gstobject.h:
29809         * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
29810         (gst_pad_collectv), (gst_pad_collect_valist), (gst_pad_query):
29811         * gst/gstpad.h:
29812         Bump version number, we're now 0.9.0
29813         Add future debugging category.
29814         Fix NULL _unref() in _get_by_name_recurse_up
29815         Rearrange gstpad.h.
29816         Update some docs.
29817
29818 2005-03-08  Wim Taymans  <wim@fluendo.com>
29819
29820         * gst/elements/gstaggregator.c: (gst_aggregator_class_init):
29821         * gst/elements/gstfakesink.c: (gst_fakesink_class_init):
29822         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
29823         * gst/elements/gstfdsink.c: (gst_fdsink_class_init):
29824         * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init):
29825         * gst/elements/gstfilesink.c: (gst_filesink_class_init):
29826         * gst/elements/gstfilesrc.c: (gst_filesrc_class_init):
29827         * gst/elements/gstidentity.c: (gst_identity_class_init):
29828         * gst/elements/gstmd5sink.c: (gst_md5sink_class_init):
29829         * gst/elements/gstmultifilesrc.c: (gst_multifilesrc_class_init):
29830         * gst/elements/gstshaper.c: (gst_shaper_class_init):
29831         * gst/elements/gststatistics.c: (gst_statistics_class_init):
29832         * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_getcaps),
29833         (gst_tee_link):
29834         * gst/gstelement.c: (gst_element_class_init),
29835         (gst_element_base_class_init), (gst_element_init),
29836         (gst_element_get_random_pad), (gst_element_wait_state_change),
29837         (gst_element_change_state), (gst_element_dispose),
29838         (gst_element_finalize), (gst_element_set_loop_function):
29839         * gst/gstelement.h:
29840         * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_link_src):
29841         * gst/gstthread.c: (gst_thread_class_init),
29842         (gst_thread_release_children_locks), (gst_thread_change_state):
29843         * gst/schedulers/gstbasicscheduler.c:
29844         (gst_basic_scheduler_loopfunc_wrapper),
29845         (gst_basic_scheduler_chain_wrapper),
29846         (gst_basic_scheduler_src_wrapper),
29847         (gst_basic_scheduler_remove_element):
29848         * gst/schedulers/gstoptimalscheduler.c: (schedule_group):
29849         Remove threadsafe properties. Fix elements because GObject
29850         complains when installing a property before declaring a
29851         set/get_property handler.
29852         Rearrange gstelement.h file, use STATE macros for state locks.
29853         Free mutexes in the finalize method instead of dispose.
29854
29855 2005-03-08  Wim Taymans  <wim@fluendo.com>
29856
29857         * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
29858         * gst/gstthread.c: (gst_thread_release_children_locks):
29859         Added parentage check.
29860         Fix build og GstThread again.
29861
29862 2005-03-08  Wim Taymans  <wim@fluendo.com>
29863
29864         * docs/design/part-MT-refcounting.txt:
29865         * docs/design/part-conventions.txt:
29866         * docs/design/part-gstobject.txt:
29867         * docs/design/part-relations.txt:
29868         * docs/design/part-standards.txt:
29869         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
29870         (gst_bin_remove_func), (gst_bin_remove), (gst_bin_iterate_recurse),
29871         (gst_bin_get_by_name), (gst_bin_get_by_interface),
29872         (gst_bin_iterate_all_by_interface):
29873         * gst/gstbuffer.h:
29874         * gst/gstclock.h:
29875         * gst/gstelement.c: (gst_element_class_init),
29876         (gst_element_change_state), (gst_element_set_loop_function):
29877         * gst/gstelement.h:
29878         * gst/gstiterator.c:
29879         * gst/gstobject.c: (gst_object_class_init), (gst_object_ref),
29880         (gst_object_unref), (gst_object_sink), (gst_object_dispose),
29881         (gst_object_dispatch_properties_changed), (gst_object_set_name),
29882         (gst_object_set_parent), (gst_object_unparent),
29883         (gst_object_check_uniqueness):
29884         * gst/gstobject.h:
29885         Docs updates, clean up some headers.
29886
29887 2005-03-07  Wim Taymans  <wim@fluendo.com>
29888
29889         * check/.cvsignore:
29890         * check/Makefile.am:
29891         * check/gst-libs/.cvsignore:
29892         * check/gst-libs/gdp.c: (START_TEST), (gst_object_suite), (main):
29893         * check/gst/.cvsignore:
29894         * check/gst/gstbus.c: (pound_bus_with_messages), (pull_messages),
29895         (START_TEST), (gstbus_suite), (main):
29896         * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite), (main):
29897         * check/gst/gstdata.c: (START_TEST), (thread_ref), (thread_unref),
29898         (gst_data_suite), (main):
29899         * check/gst/gstiterator.c: (make_list_of_ints), (START_TEST),
29900         (add_fold_func), (gstiterator_suite), (main):
29901         * check/gst/gstobject.c: (gst_fake_object_get_type), (START_TEST),
29902         (thread_name_object), (thread_name_object_default),
29903         (gst_object_name_compare), (gst_object_suite), (main):
29904         * check/gst/gstpad.c: (START_TEST), (thread_link_unlink),
29905         (gst_pad_suite), (main):
29906         * check/gstcheck.c: (gst_check_log_message_func),
29907         (gst_check_log_critical_func), (gst_check_init):
29908         * check/gstcheck.h:
29909         * check/pipelines/simple_launch_lines.c: (setup_pipeline),
29910         (run_pipeline), (START_TEST), (simple_launch_lines_suite), (main):
29911         Added checks.
29912
29913 2005-03-07  Wim Taymans  <wim@fluendo.com>
29914
29915         * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
29916         (gst_list_iterator_next), (gst_list_iterator_resync),
29917         (gst_list_iterator_free), (gst_iterator_new_list),
29918         (gst_iterator_pop), (gst_iterator_next), (gst_iterator_resync),
29919         (gst_iterator_free), (gst_iterator_push), (filter_next),
29920         (filter_resync), (filter_uninit), (filter_free),
29921         (gst_iterator_filter), (gst_iterator_fold), (foreach_fold_func),
29922         (gst_iterator_foreach), (find_custom_fold_func),
29923         (gst_iterator_find_custom):
29924         * gst/gstiterator.h:
29925         Added missing files.
29926
29927 2005-03-07  Wim Taymans  <wim@fluendo.com>
29928
29929         * Makefile.am:
29930         * configure.ac:
29931         * docs/design/part-MT-refcounting.txt:
29932         * docs/design/part-conventions.txt:
29933         * docs/design/part-gstobject.txt:
29934         * docs/design/part-relations.txt:
29935         * examples/mixer/mixer.c: (main):
29936         * examples/thread/thread.c: (eos), (main):
29937         * gst/Makefile.am:
29938         * gst/autoplug/gstsearchfuncs.c: (gst_autoplug_caps_intersect):
29939         * gst/autoplug/gstspider.c: (gst_spider_identity_plug),
29940         (gst_spider_plug_from_srcpad):
29941         * gst/autoplug/gstspideridentity.c: (gst_spider_identity_getcaps),
29942         (gst_spider_identity_change_state),
29943         (gst_spider_identity_sink_loop_type_finding):
29944         * gst/elements/gstfakesrc.c: (gst_fakesrc_loop):
29945         * gst/elements/gstidentity.c: (gst_identity_init):
29946         * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_getcaps),
29947         (gst_tee_link), (gst_tee_request_new_pad), (gst_tee_chain):
29948         * gst/elements/gsttypefindelement.c: (free_entry):
29949         * gst/gst.c:
29950         * gst/gst.h:
29951         * gst/gstbin.c: (gst_bin_init), (gst_bin_get_clock_func),
29952         (gst_bin_set_clock_func), (gst_bin_auto_clock),
29953         (gst_bin_set_index), (gst_bin_set_element_sched),
29954         (gst_bin_unset_element_sched), (gst_bin_add_func), (gst_bin_add),
29955         (gst_bin_remove_func), (gst_bin_remove), (iterate_child),
29956         (gst_bin_iterate_elements), (iterate_child_recurse),
29957         (gst_bin_iterate_recurse), (gst_bin_dispose), (compare_name),
29958         (gst_bin_get_by_name), (gst_bin_get_by_name_recurse_up),
29959         (compare_interface), (gst_bin_get_by_interface),
29960         (gst_bin_iterate_all_by_interface), (gst_bin_iterate_func):
29961         * gst/gstbin.h:
29962         * gst/gstbuffer.c: (gst_buffer_get_type), (_gst_buffer_sub_free),
29963         (gst_buffer_default_free), (gst_buffer_default_copy),
29964         (gst_buffer_new), (gst_buffer_get_caps), (gst_buffer_set_caps),
29965         (gst_buffer_create_sub):
29966         * gst/gstbuffer.h:
29967         * gst/gstcaps.c: (gst_caps_get_type), (gst_caps_new_empty),
29968         (_gst_caps_free), (gst_caps_make_writable), (gst_caps_ref),
29969         (gst_caps_unref), (gst_static_caps_get),
29970         (gst_caps_remove_and_get_structure), (gst_caps_append),
29971         (gst_caps_append_structure), (gst_caps_remove_structure),
29972         (gst_caps_copy_nth), (gst_caps_set_simple),
29973         (gst_caps_set_simple_valist), (gst_caps_is_fixed_foreach),
29974         (gst_structure_is_equal_foreach), (gst_caps_is_subset),
29975         (gst_caps_structure_intersect_field), (gst_caps_intersect),
29976         (gst_caps_structure_subtract_field), (gst_caps_subtract),
29977         (gst_caps_normalize_foreach), (gst_caps_compare_structures),
29978         (gst_caps_structure_figure_out_union),
29979         (gst_caps_switch_structures), (gst_caps_do_simplify),
29980         (gst_caps_replace), (gst_caps_from_string),
29981         (gst_caps_copy_conditional):
29982         * gst/gstcaps.h:
29983         * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_id_ref),
29984         (_gst_clock_id_free), (gst_clock_id_unref),
29985         (gst_clock_id_compare_func), (gst_clock_id_wait),
29986         (gst_clock_id_wait_async), (gst_clock_class_init),
29987         (gst_clock_init), (gst_clock_dispose), (gst_clock_adjust_unlocked),
29988         (gst_clock_get_time), (gst_clock_set_time_adjust),
29989         (gst_clock_set_property), (gst_clock_get_property):
29990         * gst/gstclock.h:
29991         * gst/gstcompat.h:
29992         * gst/gstcpu.c: (_gst_cpu_initialize_i386), (gst_cpu_get_flags):
29993         * gst/gstdata.c: (gst_data_is_writable), (gst_data_copy_on_write):
29994         * gst/gstdata.h:
29995         * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
29996         (gst_element_requires_clock), (gst_element_provides_clock),
29997         (gst_element_set_clock), (gst_element_clock_wait),
29998         (gst_element_wait), (gst_element_set_time_delay),
29999         (gst_element_is_indexable), (gst_element_add_pad),
30000         (gst_element_add_ghost_pad), (gst_element_remove_pad),
30001         (pad_compare_name), (gst_element_get_static_pad),
30002         (gst_element_request_pad), (gst_element_get_request_pad),
30003         (gst_element_get_pad), (iterate_pad), (gst_element_iterate_pads),
30004         (gst_element_class_get_pad_template_list),
30005         (gst_element_class_get_pad_template), (gst_element_error_func),
30006         (gst_element_get_random_pad), (gst_element_get_event_masks),
30007         (gst_element_send_event), (gst_element_seek),
30008         (gst_element_get_query_types), (gst_element_query),
30009         (gst_element_get_formats), (gst_element_convert),
30010         (gst_element_is_locked_state), (gst_element_set_locked_state),
30011         (gst_element_sync_state_with_parent), (gst_element_change_state),
30012         (gst_element_finalize), (gst_element_yield),
30013         (gst_element_interrupt), (gst_element_set_scheduler),
30014         (gst_element_get_scheduler), (gst_element_set_loop_function):
30015         * gst/gstelement.h:
30016         * gst/gstevent.h:
30017         * gst/gstformat.c: (_gst_format_initialize), (gst_format_register),
30018         (gst_format_get_by_nick), (gst_format_get_details),
30019         (gst_format_iterate_definitions):
30020         * gst/gstformat.h:
30021         * gst/gstindex.c: (gst_index_gtype_resolver):
30022         * gst/gstinfo.c:
30023         * gst/gstinfo.h:
30024         * gst/gstmemchunk.c: (gst_mem_chunk_alloc), (gst_mem_chunk_alloc0),
30025         (gst_mem_chunk_free):
30026         * gst/gstobject.c: (gst_object_class_init), (gst_object_init),
30027         (gst_object_ref), (gst_object_unref), (gst_object_sink),
30028         (gst_object_replace), (gst_object_dispose), (gst_object_finalize),
30029         (gst_object_dispatch_properties_changed),
30030         (gst_object_set_name_default), (gst_object_set_name),
30031         (gst_object_get_name), (gst_object_set_name_prefix),
30032         (gst_object_get_name_prefix), (gst_object_set_parent),
30033         (gst_object_get_parent), (gst_object_unparent),
30034         (gst_object_check_uniqueness), (gst_object_save_thyself),
30035         (gst_object_restore_thyself), (gst_object_real_restore_thyself),
30036         (gst_object_set_property), (gst_object_get_property),
30037         (gst_object_get_path_string):
30038         * gst/gstobject.h:
30039         * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
30040         (gst_real_pad_init), (gst_real_pad_get_property),
30041         (gst_pad_custom_new), (gst_pad_get_direction),
30042         (gst_pad_set_active), (gst_pad_is_active),
30043         (gst_pad_set_event_function), (gst_pad_is_linked),
30044         (gst_pad_link_free), (gst_pad_link_intersect),
30045         (gst_pad_link_fixate), (gst_pad_set_caps),
30046         (gst_pad_try_set_caps_nonfixed), (gst_pad_set_pad_template),
30047         (gst_pad_get_real_parent), (gst_pad_add_ghost_pad),
30048         (gst_pad_remove_ghost_pad), (_gst_pad_default_fixate_foreach),
30049         (gst_pad_link_unnegotiate), (gst_pad_proxy_fixate),
30050         (gst_pad_get_caps), (gst_pad_peer_get_caps),
30051         (gst_pad_get_pad_template_caps), (gst_pad_get_peer),
30052         (gst_pad_realize), (gst_pad_get_allowed_caps),
30053         (gst_real_pad_dispose), (gst_real_pad_finalize),
30054         (gst_pad_collectv), (gst_pad_collect_valist),
30055         (gst_pad_template_dispose), (gst_pad_template_new),
30056         (gst_pad_get_internal_links):
30057         * gst/gstpad.h:
30058         * gst/gstpipeline.c: (gst_pipeline_dispose),
30059         (gst_pipeline_change_state):
30060         * gst/gstpipeline.h:
30061         * gst/gstplugin.c:
30062         * gst/gstpluginfeature.c: (gst_plugin_feature_get_name),
30063         (gst_plugin_feature_set_rank), (gst_plugin_feature_get_rank):
30064         * gst/gstpluginfeature.h:
30065         * gst/gstprobe.c: (gst_probe_dispatcher_dispatch):
30066         * gst/gstquery.c: (_gst_query_type_initialize),
30067         (gst_query_type_register), (gst_query_type_get_by_nick),
30068         (gst_query_type_get_details), (gst_query_type_iterate_definitions):
30069         * gst/gstquery.h:
30070         * gst/gstqueue.c: (gst_queue_link_sink), (gst_queue_link_src):
30071         * gst/gstscheduler.c: (gst_scheduler_add_element),
30072         (gst_scheduler_factory_create):
30073         * gst/gststructure.c: (gst_structure_set_parent_refcount),
30074         (gst_structure_free), (gst_structure_set_name),
30075         (gst_structure_id_set_value), (gst_structure_set_value),
30076         (gst_structure_set_valist), (gst_structure_remove_field),
30077         (gst_structure_remove_fields),
30078         (gst_structure_remove_fields_valist),
30079         (gst_structure_remove_all_fields), (gst_structure_foreach),
30080         (gst_structure_map_in_place),
30081         (gst_caps_structure_fixate_field_nearest_int),
30082         (gst_caps_structure_fixate_field_nearest_double):
30083         * gst/gststructure.h:
30084         * gst/gstsystemclock.c: (gst_system_clock_class_init),
30085         (gst_system_clock_init), (gst_system_clock_dispose),
30086         (gst_system_clock_async_thread),
30087         (gst_system_clock_id_wait_unlocked), (gst_system_clock_id_wait),
30088         (gst_system_clock_id_wait_async), (gst_system_clock_id_unschedule):
30089         * gst/gstsystemclock.h:
30090         * gst/gsttag.c: (gst_tag_list_add_value_internal),
30091         (gst_tag_list_copy_foreach), (structure_foreach_wrapper):
30092         * gst/gsttaginterface.c:
30093         * gst/gstthread.c: (gst_thread_dispose),
30094         (gst_thread_release_children_locks), (gst_thread_change_state),
30095         (gst_thread_main_loop):
30096         * gst/gsttrashstack.h:
30097         * gst/gsttypefind.c: (gst_type_find_factory_dispose):
30098         * gst/gsttypes.h:
30099         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
30100         (gst_element_request_pad), (gst_element_get_pad_from_template),
30101         (gst_element_request_compatible_pad),
30102         (gst_element_get_compatible_pad_filtered),
30103         (gst_element_get_compatible_pad), (gst_element_state_get_name),
30104         (gst_element_link_pads_filtered), (gst_element_link_filtered),
30105         (gst_element_link_many), (gst_element_link),
30106         (gst_element_link_pads), (gst_element_unlink_pads),
30107         (gst_element_unlink_many), (gst_element_unlink),
30108         (gst_pad_can_link_filtered), (gst_pad_can_link),
30109         (gst_pad_use_fixed_caps), (gst_pad_get_fixed_caps_func),
30110         (gst_object_default_error), (gst_bin_add_many),
30111         (gst_bin_remove_many), (gst_element_populate_std_props),
30112         (gst_element_class_install_std_props), (gst_buffer_merge),
30113         (gst_buffer_stamp), (intersect_caps_func), (gst_pad_proxy_getcaps),
30114         (link_fold_func), (gst_pad_proxy_setcaps):
30115         * gst/gstutils.h:
30116         * gst/gstvalue.c: (gst_value_deserialize_string):
30117         * gst/parse/grammar.y:
30118         * gst/schedulers/gstbasicscheduler.c:
30119         (gst_basic_scheduler_cothreaded_chain),
30120         (gst_basic_scheduler_chain_recursive_add),
30121         (gst_basic_scheduler_pad_link):
30122         * gst/schedulers/gstoptimalscheduler.c:
30123         (get_group_schedule_function),
30124         (gst_opt_scheduler_state_transition),
30125         (gst_opt_scheduler_add_element), (element_get_reachables_func):
30126         * libs/gst/bytestream/bytestream.c:
30127         * libs/gst/dataprotocol/dataprotocol.c:
30128         (gst_dp_header_from_buffer):
30129         * po/nb.po:
30130         * po/ru.po:
30131         * tests/threadstate/threadstate2.c: (eos):
30132         * tools/gst-compprep.c: (main):
30133         * tools/gst-inspect.c: (print_field), (print_element_flag_info),
30134         (print_pad_info), (print_children_info):
30135         * tools/gst-launch.c: (idle_func), (main):
30136         * tools/gst-md5sum.c: (idle_func), (main):
30137         * tools/gst-xmlinspect.c: (print_element_info):
30138         First THREADED backport attempt, focusing on adding locks and
30139         making sure the API is threadsafe. Needs more work. More docs
30140         follow this week.
30141
30142 2005-02-24  Andy Wingo  <wingo@pobox.com>
30143
30144         * tests/bench-complexity.scm:
30145         * tests/complexity.gnuplot: New files, good for running complexity
30146         benchmarks.
30147
30148         * tests/Makefile.am:
30149         * tests/complexity.c: New test, sets up N elements, at each level
30150         teeing into M streams per element. Eeeenteresting.
30151
30152         * tests/mass_elements.gnuplot: gnuplot file for the mass_elements
30153         benchmark. Run as gnuplot mass_elements.gnuplot > foo.ps, after
30154         running bench-mass_elements.scm.
30155
30156         * tests/bench-mass_elements.scm: New script, runs mass_elements
30157         for various numbers of identities, outputting the results to a
30158         file. Requires guile 1.6. Just for testing.
30159
30160 2005-02-23  Thomas Vander Stichele  <thomas at apestaart dot org>
30161
30162         * gst/schedulers/fairscheduler.c:
30163           compile with debug disabled
30164
30165 2005-02-22  Thomas Vander Stichele  <thomas at apestaart dot org>
30166
30167         * configure.ac:
30168           hunting season on 0.9 is now OPEN